diff --git a/README.md b/README.md index dd07f56..fcdf4ce 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ This project also received funding from the ## Web Interface -- [generic source code](./dynamic_site/) +- [wepps](https://github.com/Parallel-in-Time/wepps) - [current web apps](./web_apps/) You can run the website on your own computer : install the dependencies stated in the `requirements.txt` and then open a browser at `127.0.0.1:8000` after running diff --git a/blockops/webutils.py b/blockops/webutils.py index 54d9489..96005f1 100644 --- a/blockops/webutils.py +++ b/blockops/webutils.py @@ -1,7 +1,7 @@ from blockops.utils.params import Parameter as BlockParameter -from dynamic_site.stage.parameters import Parameter as WebParameter +from wepps.stage.parameters import Parameter as WebParameter -from dynamic_site.stage import parameters as web_params +from wepps.stage import parameters as web_params from blockops.utils import params as block_params # Note: M = nPoints diff --git a/dynamic_site/__init__.py b/dynamic_site/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/dynamic_site/app.py b/dynamic_site/app.py deleted file mode 100644 index 797a8a3..0000000 --- a/dynamic_site/app.py +++ /dev/null @@ -1,44 +0,0 @@ -from dynamic_site.stage.stages import DocsStage, SettingsStage, PlotsStage - -from typing import Any - - -class ResponseError(Exception): - pass - - -class ResponseStages: - - def __init__(self) -> None: - self.docs: list[DocsStage] = [] - self.settings: list[SettingsStage] = [] - self.plots: list[PlotsStage] = [] - - def add_docs_stage(self, docs_stage: DocsStage) -> None: - self.docs.append(docs_stage) - - def add_settings_stage(self, settings_stage: SettingsStage) -> None: - self.settings.append(settings_stage) - - def add_plot_stage(self, plots_stage: PlotsStage) -> None: - self.plots.append(plots_stage) - - def get_stages( - self - ) -> tuple[list[DocsStage], list[SettingsStage], list[PlotsStage]]: - return (self.docs, self.settings, self.plots) - - -class App: - - def __init__(self, title) -> None: - self.title = title - if self.title == '': - raise NotImplementedError('App has no title') - self.docs: list[DocsStage] = [] - self.settings: list[SettingsStage] = [] - self.plots: list[PlotsStage] = [] - - def compute(self, response_data: dict[str, Any] | None) -> ResponseStages: - # response is None on initial request - raise NotImplementedError('compute in App not implemented') diff --git a/dynamic_site/dev-documentation.md b/dynamic_site/dev-documentation.md deleted file mode 100644 index a98a8b4..0000000 --- a/dynamic_site/dev-documentation.md +++ /dev/null @@ -1,31 +0,0 @@ -# Web Development Documentation - -## Development - -The frontend is built using Typescript and uses vite as a build tool. -The backend uses by default the latest build of vite, i.e., the single Javascript file, if the `enforce_dev_mode` flag in `web.py` isn't set such as `Site(..., enforce_dev_mode=True)`. -To use the latest Typescript files (if anything was changed and wasn't build yet), one has to set the flag and start the vite development server. - -For this go into the `dynamic_site/frontend` folder and enter - -```sh -yarn -yarn dev -``` - -and start the backend from the base project directory in another terminal with - -``` -python web.py -``` - -## Building - -The project can be built inside the `dynamic_site/frontend` folder with - -```sh -yarn -yarn build -``` - -The files created this way will automatically be picked up by the frontend and are used by default. diff --git a/dynamic_site/frontend/.gitignore b/dynamic_site/frontend/.gitignore deleted file mode 100644 index c6bba59..0000000 --- a/dynamic_site/frontend/.gitignore +++ /dev/null @@ -1,130 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variable files -.env -.env.development.local -.env.test.local -.env.production.local -.env.local - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next -out - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# vuepress v2.x temp and cache directory -.temp -.cache - -# Docusaurus cache and generated files -.docusaurus - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# yarn v2 -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* diff --git a/dynamic_site/frontend/.yarnrc.yml b/dynamic_site/frontend/.yarnrc.yml deleted file mode 100644 index 3186f3f..0000000 --- a/dynamic_site/frontend/.yarnrc.yml +++ /dev/null @@ -1 +0,0 @@ -nodeLinker: node-modules diff --git a/dynamic_site/frontend/package.json b/dynamic_site/frontend/package.json deleted file mode 100644 index e4949bd..0000000 --- a/dynamic_site/frontend/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "react-dummy", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "tsc && vite build", - "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", - "preview": "vite preview" - }, - "dependencies": { - "@types/react-katex": "^3.0.0", - "@types/react-plotly.js": "^2.6.0", - "axios": "^1.4.0", - "buffer": "^6.0.3", - "plotly.js": "^2.22.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-latex-next": "^2.2.0", - "react-markdown": "^8.0.7", - "react-plotly.js": "^2.6.0", - "rehype-katex": "^6.0.3", - "remark-math": "^5.1.1", - "uikit": "^3.16.19" - }, - "devDependencies": { - "@types/react": "^18.0.28", - "@types/react-dom": "^18.0.11", - "@typescript-eslint/eslint-plugin": "^5.57.1", - "@typescript-eslint/parser": "^5.57.1", - "@vitejs/plugin-react-swc": "^3.0.0", - "eslint": "^8.38.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.3.4", - "typescript": "^5.0.2", - "vite": "^4.3.5" - } -} diff --git a/dynamic_site/frontend/src/App.tsx b/dynamic_site/frontend/src/App.tsx deleted file mode 100644 index f68fcaa..0000000 --- a/dynamic_site/frontend/src/App.tsx +++ /dev/null @@ -1,63 +0,0 @@ -import '../node_modules/uikit/dist/css/uikit.css'; -import '../node_modules/uikit/dist/js/uikit.min'; -import '../node_modules/uikit/dist/js/uikit-icons.min.js'; - -import axios from 'axios'; - -import Stages from './stages/Stages'; -import { - DocumentationButton, - DocumentationModal, -} from './StaticElements.js'; -import { useEffect, useState } from 'react'; - -function Title() { - return ( -
-

- {document.title} -

-
- ); -} - -function App() { - const [visibleModal, setVisibleModal] = useState(false); - const [documentation, setDocumentation] = useState(''); - - // Get the documentation text once - useEffect(() => { - axios.get(`${window.location.pathname}/documentation`).then((response) => { - setDocumentation(response.data.text); - }); - }, []); - - const modal = visibleModal ? ( - - ) : ( - <> - ); - - function toggleVisibility() { - setVisibleModal((m) => !m); - } - - return ( - <> - - {modal} -
-
- - - <Stages /> - </div> - </div> - </> - ); -} - -export default App; diff --git a/dynamic_site/frontend/src/StaticElements.tsx b/dynamic_site/frontend/src/StaticElements.tsx deleted file mode 100644 index 2d9f895..0000000 --- a/dynamic_site/frontend/src/StaticElements.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import ReactMarkdown from 'react-markdown'; -import remarkMath from 'remark-math'; -import rehypeKatex from 'rehype-katex'; - -function HomeButton() { - return ( - <div style={{ position: 'absolute', left: '5px', top: '5px' }}> - <a href='/'> - <span className='uk-margin-small-right' data-uk-icon='home'></span> - </a> - </div> - ); -} - -function DocumentationButton(props: { toggleVisibility: Function }) { - return ( - <div style={{ position: 'absolute', right: '5px', top: '5px' }}> - <a - onClick={() => { - props.toggleVisibility(); - }} - > - <span className='uk-margin-small-right' data-uk-icon='info'></span> - </a> - </div> - ); -} - -function DocumentationModal(props: { - text: string; - toggleVisibility: Function; -}) { - return ( - <div - style={{ - position: 'fixed', - top: '5%', - left: '5%', - right: '5%', - bottom: '5%', - zIndex: 10000, - overflow: 'auto', - boxShadow: '0 5px 15px rgba(0, 0, 0, 0.08)', - }} - className='uk-container uk-container-expand uk-background-default uk-padding-large' - > - <ReactMarkdown - children={props.text} - remarkPlugins={[remarkMath]} - rehypePlugins={[rehypeKatex]} - /> - - <p className='uk-text-center'> - <button - className='uk-button uk-button-primary uk-modal-close uk-width-4-5' - type='button' - onClick={() => props.toggleVisibility()} - > - Close - </button> - </p> - - <div style={{ position: 'absolute', right: '5px', top: '5px' }}> - <button - className='uk-button uk-button-default uk-modal-close' - type='button' - onClick={() => props.toggleVisibility()} - > - Close - </button> - </div> - </div> - ); -} - -export { HomeButton, DocumentationButton, DocumentationModal }; diff --git a/dynamic_site/frontend/src/infobar/InfoBar.tsx b/dynamic_site/frontend/src/infobar/InfoBar.tsx deleted file mode 100644 index 3f2b73d..0000000 --- a/dynamic_site/frontend/src/infobar/InfoBar.tsx +++ /dev/null @@ -1,80 +0,0 @@ -import { useMemo } from 'react'; -import 'katex/dist/katex.min.css'; -import Latex from 'react-latex-next'; - -interface Parameters { - [stage: string]: { - [id: string]: { - id: string; - name: string; - value: string; - isValid: boolean; - stage: string; - }; - }; -} - -function Error(props: { name: string }) { - return ( - <div className='uk-alert-danger uk-margin-small-right' data-uk-alert> - <p className='uk-text-bold'> - {' '} - <Latex>{props.name}</Latex> - </p> - </div> - ); -} - -function Info(props: { message: string }) { - return ( - <div className='uk-alert-success' data-uk-alert> - <p> - <Latex>{props.message}</Latex> - </p> - </div> - ); -} - -function InfoBar(props: { - invalidParameters: Array<string>; - parameters: Parameters; - computeCallback: Function; -}) { - const computeButton = useMemo( - () => ( - <button - className='uk-width-expand uk-button uk-button-large uk-button-primary' - onClick={() => props.computeCallback()} - disabled={props.invalidParameters.length !== 0} - > - Compute - </button> - ), - [props.invalidParameters, props.parameters] - ); - - const errors = useMemo(() => { - if (props.invalidParameters.length === 0) { - return <Info message='All required parameters set.' />; - } - - return props.invalidParameters.map((name, i) => ( - <Error name={name} key={i} /> - )); - }, [props.invalidParameters]); - - return ( - <div className='uk-width-1-1' data-uk-sticky> - <div - className='uk-grid-small uk-section uk-section-muted uk-padding-small' - data-uk-grid - > - <div className='uk-width-expand' data-uk-grid> - {errors} - </div> - <div className='uk-width-1-4'>{computeButton}</div> - </div> - </div> - ); -} -export default InfoBar; diff --git a/dynamic_site/frontend/src/main.tsx b/dynamic_site/frontend/src/main.tsx deleted file mode 100644 index a6ac0e2..0000000 --- a/dynamic_site/frontend/src/main.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom/client'; -import App from './App.tsx'; - -ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( - <React.StrictMode> - <App /> - </React.StrictMode> -); diff --git a/dynamic_site/frontend/src/stages/Docs.tsx b/dynamic_site/frontend/src/stages/Docs.tsx deleted file mode 100644 index 545877c..0000000 --- a/dynamic_site/frontend/src/stages/Docs.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import DocsComponent from './DocsComponent'; -import { DocsProp } from './Interfaces'; - -import { useMemo } from 'react'; - -function Docs(props: DocsProp) { - const components = useMemo( - () => - props.docs.map((element, i) => ( - <DocsComponent - title={element.title} - id={element.id} - text={element.text} - activated={element.activated} - dependency={element.dependency} - key={i} - /> - )), - [props.docs] - ); - - return ( - <div className='uk-card uk-card-body uk-card-default uk-card-hover'> - <div - style={{ - overflow: 'auto', - }} - > - <div className='uk-child uk-child-width-1-1' data-uk-grid> - {components} - </div> - </div> - </div> - ); -} -export default Docs; diff --git a/dynamic_site/frontend/src/stages/DocsComponent.tsx b/dynamic_site/frontend/src/stages/DocsComponent.tsx deleted file mode 100644 index 0b2bf04..0000000 --- a/dynamic_site/frontend/src/stages/DocsComponent.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import { DocsComponentsProps } from './Interfaces'; -import ReactMarkdown from 'react-markdown'; -import remarkMath from 'remark-math'; -import rehypeKatex from 'rehype-katex'; - -function DocsComponent(props: DocsComponentsProps) { - return ( - <> - <div className='uk-grid-small uk-child-width-1-1' data-uk-grid> - <div className='uk-heading-bullet uk-margin-small-top uk-text-bolder uk-first-column'> - {props.title} - </div> - <div> - <ReactMarkdown - children={props.text} - remarkPlugins={[remarkMath]} - rehypePlugins={[rehypeKatex]} - /> - </div> - </div> - </> - ); -} -export default DocsComponent; diff --git a/dynamic_site/frontend/src/stages/Interfaces.ts b/dynamic_site/frontend/src/stages/Interfaces.ts deleted file mode 100644 index 31f3277..0000000 --- a/dynamic_site/frontend/src/stages/Interfaces.ts +++ /dev/null @@ -1,63 +0,0 @@ -export interface DocsComponentsProps { - title: string; - id: string; - text: string; - activated: boolean; - dependency: string; -} - -export interface DocsProp { - docs: Array<DocsComponentsProps>; -} - -export interface SettingsStageProp { - title: string; - id: string; - folded: boolean; - parameters: Array<ParameterProp>; - updateParameter: Function; -} - -export interface SettingsProp { - settings: Array<SettingsStageProp>; - updateParameter: Function; -} - -export interface PlotsStageProp { - title: string; - caption: string; - plot: string; -} - -export interface PlotsProp { - plots: Array<PlotsStageProp>; -} - -export interface ParameterProp { - id: string; - name: string; - placeholder: string; - doc: string; - type: ParameterType; - choices: Array<string>; - value: string; - updateParameter: Function; -} - -export interface ParameterValue { - id: string; - name: string; - value: string; - isValid: boolean; -} - -export enum ParameterType { - Integer = 'Integer', - PositiveInteger = 'PositiveInteger', - StrictlyPositiveInteger = 'StrictlyPositiveInteger', - PositiveFloat = 'PositiveFloat', - Float = 'Float', - Enumeration = 'Enumeration', - FloatList = 'FloatList', - Boolean = 'Boolean', -} diff --git a/dynamic_site/frontend/src/stages/Plots.tsx b/dynamic_site/frontend/src/stages/Plots.tsx deleted file mode 100644 index d4c12f9..0000000 --- a/dynamic_site/frontend/src/stages/Plots.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import PlotsStage from './PlotsStage'; - -import { PlotsProp } from './Interfaces'; - -import { useMemo } from 'react'; - -function Plots(props: PlotsProp) { - const plots = useMemo( - () => - props.plots.map((element, i) => ( - <PlotsStage - title={element.title} - caption={element.caption} - plot={element.plot} - key={i} - /> - )), - [props.plots] - ); - - return ( - <div> - <div className='uk-card uk-card-body uk-card-default uk-card-hover'> - <div className='uk-child uk-child-width-1-1' data-uk-grid> - <div className='uk-grid-collapse uk-child-width-1-1' data-uk-grid> - {plots} - </div> - </div> - </div> - </div> - ); -} -export default Plots; diff --git a/dynamic_site/frontend/src/stages/PlotsStage.tsx b/dynamic_site/frontend/src/stages/PlotsStage.tsx deleted file mode 100644 index 837b4e5..0000000 --- a/dynamic_site/frontend/src/stages/PlotsStage.tsx +++ /dev/null @@ -1,167 +0,0 @@ -import { useState, useMemo } from 'react'; -import { PlotsStageProp } from './Interfaces'; - -import ReactMarkdown from 'react-markdown'; -import remarkMath from 'remark-math'; -import rehypeKatex from 'rehype-katex'; - -import Plot from 'react-plotly.js'; - -function PlotModal(props: { - plot: PlotsStageProp; - toggleVisibility: Function; -}) { - const plot = () => { - if (props.plot.plot != null) { - const p = JSON.parse(props.plot.plot); - return ( - <Plot - data={p.data} - layout={p.layout} - style={{ width: '100%', minHeight: '58vh' }} - config={{ responsive: true }} - /> - ); - } else { - return ( - <div> - <div className='uk-section uk-section-muted uk-text-center uk-text-muted'> - No plot computed - </div> - </div> - ); - } - }; - - return ( - <div - style={{ - position: 'fixed', - top: '5%', - left: '5%', - right: '5%', - bottom: '5%', - zIndex: 10000, - overflow: 'auto', - boxShadow: '0 5px 15px rgba(0, 0, 0, 0.08)', - }} - className='uk-container uk-container-expand uk-background-default' - > - <div className='uk-padding-small'> - <h2 className='uk-title uk-margin-left'>{props.plot.title}</h2> - - <div>{plot()}</div> - <div className='uk-section uk-section-xsmall uk-text-center'> - <ReactMarkdown - children={props.plot.caption} - remarkPlugins={[remarkMath]} - rehypePlugins={[rehypeKatex]} - /> - </div> - <p className='uk-text-center'> - <button - className='uk-button uk-button-primary uk-modal-close uk-width-4-5' - type='button' - onClick={() => props.toggleVisibility()} - > - Close - </button> - </p> - - <div style={{ position: 'absolute', right: '5px', top: '5px' }}> - <button - className='uk-button uk-button-default uk-modal-close' - type='button' - onClick={() => props.toggleVisibility()} - > - Close - </button> - </div> - </div> - </div> - ); -} - -function PlotsStage(props: PlotsStageProp) { - const [visibleModal, setVisibleModal] = useState(false); - - function toggleVisibility() { - setVisibleModal((m) => !m); - } - - function makePlot() { - if (props.plot != null) { - const p = JSON.parse(props.plot); - return ( - <> - <Plot - data={p.data} - layout={p.layout} - style={{ width: '100%', minHeight: '20vh' }} - config={{ responsive: true }} - /> - - <div className='uk-section uk-section-xsmall uk-text-center'> - <ReactMarkdown - children={props.caption} - remarkPlugins={[remarkMath]} - rehypePlugins={[rehypeKatex]} - /> - </div> - - <button - className='uk-button uk-button-default uk-width-1-1' - type='button' - onClick={() => { - toggleVisibility(); - }} - > - Full screen - </button> - </> - ); - } else if (props.caption) { - return ( - <div> - <ReactMarkdown - children={props.caption} - remarkPlugins={[remarkMath]} - rehypePlugins={[rehypeKatex]} - /> - </div> - ); - } else { - return ( - <div> - <div className='uk-section uk-section-muted uk-text-center uk-text-muted'> - No plot computed - </div> - </div> - ); - } - } - const plot = useMemo(() => { - return makePlot(); - }, [props.plot]); - - const modal = visibleModal ? ( - <PlotModal plot={props} toggleVisibility={toggleVisibility} /> - ) : ( - <></> - ); - - return ( - <> - <div>{modal}</div> - <div> - <div className='uk-heading-bullet uk-margin-small-top uk-text-bolder'> - {props.title} - </div> - {plot} - <hr /> - </div> - </> - ); -} - -export default PlotsStage; diff --git a/dynamic_site/frontend/src/stages/Settings.tsx b/dynamic_site/frontend/src/stages/Settings.tsx deleted file mode 100644 index 7da4505..0000000 --- a/dynamic_site/frontend/src/stages/Settings.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import SettingsStage from './SettingsStage'; -import { SettingsProp } from './Interfaces'; - -import { StageContext } from './StageContext'; - -import { useMemo } from 'react'; - -function Settings(props: SettingsProp) { - const components = useMemo( - () => - props.settings.map((element, i) => ( - <StageContext.Provider key={i} value={element.id}> - <SettingsStage - title={element.title} - id={element.id} - folded={element.folded} - parameters={element.parameters} - updateParameter={props.updateParameter} - key={i} - /> - </StageContext.Provider> - )), - [props.settings] - ); - - return ( - <div> - <div className='uk-card uk-card-body uk-card-default uk-card-hover'> - <div className='uk-child uk-child-width-1-1' data-uk-grid> - <div className='uk-grid-small uk-child-width-1-1' data-uk-grid> - <ul uk-accordion='multiple: true'>{components}</ul> - </div> - </div> - </div> - </div> - ); -} -export default Settings; diff --git a/dynamic_site/frontend/src/stages/SettingsStage.tsx b/dynamic_site/frontend/src/stages/SettingsStage.tsx deleted file mode 100644 index fb5ef05..0000000 --- a/dynamic_site/frontend/src/stages/SettingsStage.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { useMemo } from 'react'; -import { SettingsStageProp } from './Interfaces'; -import ParameterList from './parameters/ParameterList'; - -import 'katex/dist/katex.min.css'; -import Latex from 'react-latex-next'; - -function SettingsStage(props: SettingsStageProp) { - const parameterList = useMemo( - () => ( - <ParameterList - parameters={props.parameters} - updateParameter={props.updateParameter} - /> - ), - [props.parameters] - ); - - return ( - <li className={props.folded ? '' : 'uk-open'}> - <a className='uk-accordion-title uk-text-default' href='#'> - <div - className='uk-heading-bullet uk-margin-small-top uk-text-bolder' - style={{ color: '#666' }} - > - <Latex>{props.title}</Latex> - </div> - </a> - <div className='uk-accordion-content'>{parameterList}</div> - </li> - ); -} -export default SettingsStage; diff --git a/dynamic_site/frontend/src/stages/StageContext.tsx b/dynamic_site/frontend/src/stages/StageContext.tsx deleted file mode 100644 index 9ecb23c..0000000 --- a/dynamic_site/frontend/src/stages/StageContext.tsx +++ /dev/null @@ -1,3 +0,0 @@ -import { createContext } from 'react'; - -export const StageContext = createContext(''); diff --git a/dynamic_site/frontend/src/stages/Stages.tsx b/dynamic_site/frontend/src/stages/Stages.tsx deleted file mode 100644 index 7a08c11..0000000 --- a/dynamic_site/frontend/src/stages/Stages.tsx +++ /dev/null @@ -1,165 +0,0 @@ -import Docs from './Docs'; -import Plots from './Plots'; -import Settings from './Settings'; - -import InfoBar from '../infobar/InfoBar'; - -import axios from 'axios'; -import { useEffect, useState } from 'react'; -import { ParameterValue } from './Interfaces'; - -interface Parameters { - [stage: string]: { - [id: string]: { - id: string; - name: string; - value: string; - isValid: boolean; - stage: string; - }; - }; -} - -function Stages() { - // The received data which are only changed, whenever the compute request is sent - const [docsData, setDocsData] = useState([]); - const [settingsData, setSettingsData] = useState([]); - const [plotsData, setPlotsData] = useState([]); - - // The parameter values which are sent back to the server - const [parameters, setParameters] = useState<Parameters>({}); - - // The invalid parameters that define the errors in the info bar - const [invalidParameters, setInvalidParameters] = useState<string[]>([]); - - // Compute sends the data and sets the returned data into this stage - function computeCallback() { - // Pack up the paramters into a compact object that will be send - const data: { - [stage: string]: { [id: string]: string }; - } = {}; - Object.keys(parameters).forEach((stageKey) => { - const stage = parameters[stageKey]; - data[stageKey] = {}; - Object.keys(stage).forEach((parameterKey) => { - data[stageKey][parameterKey] = stage[parameterKey].value; - }); - }); - - // Add a computing spinner - // @ts-expect-error - let notification = null; - if (Object.keys(data).length > 0) { - // @ts-expect-error - notification = UIkit.notification({ - message: '<div uk-spinner></div>   Computing...', - pos: 'top-center', - timeout: 0, - }); - } - - axios - .post(`${window.location.pathname}/compute`, data) - .then((response) => { - // Remove the spinner if it exists - // @ts-expect-error - if (notification !== null) notification.close(); - - // Set all stages with the data - setDocsData(() => response.data.docs); - setSettingsData(() => response.data.settings); - setPlotsData(() => response.data.plots); - }) - .catch((error) => { - // Remove the spinner if it exists - // @ts-expect-error - if (notification !== null) notification.close(); - - if (error.response.status === 400) { - // @ts-expect-error - UIkit.notification(error.response.data, 'danger'); - } - }); - } - - // On startup, send one initial compute request - useEffect(() => computeCallback(), []); - - // The update parameter callback function that is passed down to the input fields - const updateParameter = (stage: string, parameter: ParameterValue) => { - // Set the parameters - setParameters((params: Parameters) => { - const param = { - id: parameter.id, - name: parameter.name, - value: parameter.value, - isValid: parameter.isValid, - stage: stage, - }; - - // Return the updated parameters - return { - ...params, - [stage]: { ...params[stage], [parameter.id]: param }, - }; - }); - }; - - useEffect(() => { - Object.keys(parameters).forEach((stageKey) => { - const stage = parameters[stageKey]; - Object.keys(stage).forEach((parameterKey) => { - const parameter = stage[parameterKey]; - - // Filter the correct stageTitle from the corresponding stage - const stageTitle = settingsData.filter((e) => e['id'] === stageKey)[0][ - 'title' - ]; - - const infoText = `${stageTitle}: ${parameter.name}`; - // Whenever the parametrs change, look out for the invalid parameters - // Check if its not included but invalid - const exists = invalidParameters.indexOf(infoText); - if (exists === -1 && !parameter.isValid) { - // Then add it - setInvalidParameters((p) => [...p, infoText]); - } else if ( - invalidParameters.indexOf(infoText) !== -1 && - parameter.isValid - ) { - // Check if this parameters is already included but is actually valid - // Then remove it - setInvalidParameters((p) => p.filter((e) => e !== infoText)); - } - }); - }); - }, [parameters]); - - return ( - <> - <InfoBar - invalidParameters={invalidParameters} - parameters={parameters} - computeCallback={computeCallback} - /> - - <div className='uk-width-1-1'> - <div className='uk-child-width-1-3@m uk-grid-column-small' data-uk-grid> - <div> - <Docs docs={docsData} /> - </div> - <div> - <Settings - settings={settingsData} - updateParameter={updateParameter} - /> - </div> - <div> - <Plots plots={plotsData} /> - </div> - </div> - </div> - </> - ); -} -export default Stages; diff --git a/dynamic_site/frontend/src/stages/parameters/Boolean.tsx b/dynamic_site/frontend/src/stages/parameters/Boolean.tsx deleted file mode 100644 index 1fabbd4..0000000 --- a/dynamic_site/frontend/src/stages/parameters/Boolean.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { useContext, useEffect, useState } from 'react'; -import { StageContext } from '../StageContext'; - -function Boolean(props: { - id: string; - name: string; - value: boolean; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - const initialValue = props.value != null ? props.value : false; - const [value, setValue] = useState(initialValue); - - const stage = useContext(StageContext); - - const onChangeCallback = (v: boolean) => { - setValue(v); - props.updateParameter(stage, { - id: props.id, - name: props.name, - value: v, - isValid: true, - }); - }; - - // Set the default value if it changed in the props - useEffect(() => { - if (props.value !== value) { - onChangeCallback(props.value); - } - }, [props.value]); - - useEffect(() => onChangeCallback(initialValue), []); - - return ( - <input - uk-tooltip={`title: ${props.doc}`} - className={`uk-checkbox uk-align-right`} - defaultChecked={value} - onChange={(e) => onChangeCallback(e.target.checked)} - placeholder={props.placeholder} - type='checkbox' - /> - ); -} - -export default Boolean; diff --git a/dynamic_site/frontend/src/stages/parameters/Enumeration.tsx b/dynamic_site/frontend/src/stages/parameters/Enumeration.tsx deleted file mode 100644 index ca71896..0000000 --- a/dynamic_site/frontend/src/stages/parameters/Enumeration.tsx +++ /dev/null @@ -1,51 +0,0 @@ -import { useContext, useEffect, useState } from 'react'; -import { StageContext } from '../StageContext'; - -function Enumeration(props: { - id: string; - name: string; - value: string; - placeholder: string; - choices: Array<string>; - doc: string; - updateParameter: Function; -}) { - const initialValue = props.value == null ? props.choices[0] : props.value; - const [value, setValue] = useState(initialValue); - - const stage = useContext(StageContext); - - const onChangeCallback = (v: string) => { - setValue(v); - props.updateParameter(stage, { - id: props.id, - name: props.name, - value: v, - isValid: true, - }); - }; - - useEffect(() => onChangeCallback(initialValue), []); - - const options = props.choices.map((choice, i) => { - return ( - <option value={choice} key={i}> - {choice} - </option> - ); - }); - - return ( - <select - id={`select-${props.id}`} - className='uk-select' - onChange={(e) => onChangeCallback(e.target.value)} - data-uk-tooltip={`title: ${props.doc}`} - value={value} - > - {options} - </select> - ); -} - -export default Enumeration; diff --git a/dynamic_site/frontend/src/stages/parameters/Float.tsx b/dynamic_site/frontend/src/stages/parameters/Float.tsx deleted file mode 100644 index 0d23257..0000000 --- a/dynamic_site/frontend/src/stages/parameters/Float.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import NumberField from './NumberField'; -function checkValidity(v: string) { - return v !== '' && !isNaN(+v); -} - -function Float(props: { - id: string; - name: string; - value: string; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - return ( - <NumberField - id={props.id} - name={props.name} - defaultValue={props.value} - placeholder={props.placeholder} - doc={props.doc} - scalar={true} - updateParameter={props.updateParameter} - checkValidity={checkValidity} - /> - ); -} - -export default Float; diff --git a/dynamic_site/frontend/src/stages/parameters/FloatList.tsx b/dynamic_site/frontend/src/stages/parameters/FloatList.tsx deleted file mode 100644 index cdcd4db..0000000 --- a/dynamic_site/frontend/src/stages/parameters/FloatList.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import NumberField from './NumberField'; - -function checkValidity(vl: string) { - const validity = vl - .split(',') - .map((v) => v.replace(/\s/g, '') !== '' && !isNaN(+v)); - return validity.every((v) => v === true); -} - -function FloatList(props: { - id: string; - name: string; - value: string; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - return ( - <NumberField - id={props.id} - name={props.name} - defaultValue={ - Array.isArray(props.value) ? String(props.value) : props.value - } - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - scalar={false} - checkValidity={checkValidity} - /> - ); -} - -export default FloatList; diff --git a/dynamic_site/frontend/src/stages/parameters/Integer.tsx b/dynamic_site/frontend/src/stages/parameters/Integer.tsx deleted file mode 100644 index d06c5e0..0000000 --- a/dynamic_site/frontend/src/stages/parameters/Integer.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import NumberField from './NumberField'; - -function checkValidity(v: string) { - // @ts-expect-error - return v !== '' && !isNaN(+v) && parseInt(v) == v; -} - -function Integer(props: { - id: string; - name: string; - value: string; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - return ( - <NumberField - id={props.id} - name={props.name} - defaultValue={props.value} - placeholder={props.placeholder} - doc={props.doc} - scalar={true} - updateParameter={props.updateParameter} - checkValidity={checkValidity} - /> - ); -} - -export default Integer; diff --git a/dynamic_site/frontend/src/stages/parameters/NumberField.tsx b/dynamic_site/frontend/src/stages/parameters/NumberField.tsx deleted file mode 100644 index ba3afb9..0000000 --- a/dynamic_site/frontend/src/stages/parameters/NumberField.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import { useContext, useEffect, useState } from 'react'; -import { StageContext } from '../StageContext'; - -function NumberField(props: { - id: string; - name: string; - defaultValue: string; - placeholder: string; - doc: string; - scalar: boolean; - updateParameter: Function; - checkValidity: Function; -}) { - const initialValue = props.defaultValue != null ? props.defaultValue : ''; - const [value, setValue] = useState(initialValue); - const [valid, setValid] = useState(props.checkValidity(initialValue)); - - const stage = useContext(StageContext); - - const onChangeCallback = (v: string) => { - setValue(v); - // Valid if not empty, a number - const isValid = props.checkValidity(v); - setValid(isValid); - props.updateParameter(stage, { - id: props.id, - name: props.name, - value: isValid ? v : '', - isValid: isValid, - }); - }; - - // Set the default value if it changed in the props - useEffect(() => { - if (props.defaultValue !== value) { - const v = props.defaultValue != null ? props.defaultValue : ''; - onChangeCallback(v); - } - }, [props.defaultValue]); - - useEffect(() => onChangeCallback(initialValue), []); - - return ( - <input - uk-tooltip={`title: ${props.doc}`} - className={`uk-input uk-align-right ${valid ? '' : 'uk-form-danger'}`} - type={props.scalar ? 'number' : ''} - value={value} - onChange={(e) => onChangeCallback(e.target.value)} - placeholder={props.placeholder} - /> - ); -} - -export default NumberField; diff --git a/dynamic_site/frontend/src/stages/parameters/Parameter.tsx b/dynamic_site/frontend/src/stages/parameters/Parameter.tsx deleted file mode 100644 index 7b036ce..0000000 --- a/dynamic_site/frontend/src/stages/parameters/Parameter.tsx +++ /dev/null @@ -1,129 +0,0 @@ -import { ParameterProp, ParameterType } from '../Interfaces'; - -import { useMemo } from 'react'; -import 'katex/dist/katex.min.css'; -import Latex from 'react-latex-next'; - -import Boolean from './Boolean'; -import Enumeration from './Enumeration'; -import Float from './Float'; -import FloatList from './FloatList'; -import Integer from './Integer'; -import PositiveFloat from './PositiveFloat'; -import PositiveInteger from './PositiveInteger'; -import StrictlyPositiveInteger from './StrictlyPositiveInteger'; - -function Parameter(props: ParameterProp) { - function getParameterType() { - switch (props.type) { - case ParameterType.Integer: - return ( - <Integer - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.PositiveInteger: - return ( - <PositiveInteger - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.StrictlyPositiveInteger: - return ( - <StrictlyPositiveInteger - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.PositiveFloat: - return ( - <PositiveFloat - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.Float: - return ( - <Float - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.Enumeration: - return ( - <Enumeration - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - choices={props.choices} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.FloatList: - return ( - <FloatList - id={props.id} - name={props.name} - value={props.value} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - case ParameterType.Boolean: - return ( - <Boolean - id={props.id} - name={props.name} - value={String(props.value) === 'true'} - placeholder={props.placeholder} - doc={props.doc} - updateParameter={props.updateParameter} - /> - ); - default: - console.log('nope, nope, nope, the parameter type is unkown.'); - return <div>Unknown parameter</div>; - } - } - - const parameter = useMemo(() => getParameterType(), [props]); - - return ( - <div className='uk-margin-small-left uk-padding-small-left' data-uk-grid> - <span className='uk-padding-remove-left uk-margin-small-right uk-margin-small-top'> - <Latex>{props.name}</Latex> - </span> - - <div className='uk-width-expand@m uk-padding-remove-left'> - {parameter} - </div> - </div> - ); -} - -export default Parameter; diff --git a/dynamic_site/frontend/src/stages/parameters/ParameterList.tsx b/dynamic_site/frontend/src/stages/parameters/ParameterList.tsx deleted file mode 100644 index eebe794..0000000 --- a/dynamic_site/frontend/src/stages/parameters/ParameterList.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import Parameter from './Parameter'; - -import { ParameterProp } from '../Interfaces'; -import { useMemo } from 'react'; - -function ParameterList(props: { - parameters: Array<ParameterProp>; - updateParameter: Function; -}) { - const parameters = useMemo( - () => - props.parameters.map((parameter, i) => ( - <Parameter - id={parameter.id} - name={parameter.name} - placeholder={parameter.placeholder} - doc={parameter.doc} - type={parameter.type} - choices={parameter.choices} - value={parameter.value} - updateParameter={props.updateParameter} - key={i} - /> - )), - [props.parameters] - ); - - return <>{parameters}</>; -} - -export default ParameterList; diff --git a/dynamic_site/frontend/src/stages/parameters/PositiveFloat.tsx b/dynamic_site/frontend/src/stages/parameters/PositiveFloat.tsx deleted file mode 100644 index a367611..0000000 --- a/dynamic_site/frontend/src/stages/parameters/PositiveFloat.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import NumberField from './NumberField'; - -function checkValidity(v: string) { - return v !== '' && !isNaN(+v) && +v >= 0; -} - -function PositiveFloat(props: { - id: string; - name: string; - value: string; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - return ( - <NumberField - id={props.id} - name={props.name} - defaultValue={props.value} - placeholder={props.placeholder} - doc={props.doc} - scalar={true} - updateParameter={props.updateParameter} - checkValidity={checkValidity} - /> - ); -} - -export default PositiveFloat; diff --git a/dynamic_site/frontend/src/stages/parameters/PositiveInteger.tsx b/dynamic_site/frontend/src/stages/parameters/PositiveInteger.tsx deleted file mode 100644 index f13e1ac..0000000 --- a/dynamic_site/frontend/src/stages/parameters/PositiveInteger.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import NumberField from './NumberField'; - -function checkValidity(v: string) { - // @ts-expect-error - return v !== '' && !isNaN(+v) && parseInt(v) == v && +v >= 0; -} - -function PositiveInteger(props: { - id: string; - name: string; - value: string; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - return ( - <NumberField - id={props.id} - name={props.name} - defaultValue={props.value} - placeholder={props.placeholder} - doc={props.doc} - scalar={true} - updateParameter={props.updateParameter} - checkValidity={checkValidity} - /> - ); -} - -export default PositiveInteger; diff --git a/dynamic_site/frontend/src/stages/parameters/StrictlyPositiveInteger.tsx b/dynamic_site/frontend/src/stages/parameters/StrictlyPositiveInteger.tsx deleted file mode 100644 index 98b5b45..0000000 --- a/dynamic_site/frontend/src/stages/parameters/StrictlyPositiveInteger.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import NumberField from './NumberField'; - -function checkValidity(v: string) { - // @ts-expect-error - return v !== '' && !isNaN(+v) && parseInt(v) == v && +v > 0; -} -function StrictlyPositiveInteger(props: { - id: string; - name: string; - value: string; - placeholder: string; - doc: string; - updateParameter: Function; -}) { - return ( - <NumberField - id={props.id} - name={props.name} - defaultValue={props.value} - placeholder={props.placeholder} - doc={props.doc} - scalar={true} - updateParameter={props.updateParameter} - checkValidity={checkValidity} - /> - ); -} - -export default StrictlyPositiveInteger; diff --git a/dynamic_site/frontend/src/vite-env.d.ts b/dynamic_site/frontend/src/vite-env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/dynamic_site/frontend/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// <reference types="vite/client" /> diff --git a/dynamic_site/frontend/tsconfig.json b/dynamic_site/frontend/tsconfig.json deleted file mode 100644 index c81ef9f..0000000 --- a/dynamic_site/frontend/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "lib": ["DOM", "DOM.Iterable", "ESNext"], - "module": "ESNext", - "skipLibCheck": true, - - /* Bundler mode */ - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "react-jsx", - - /* Linting */ - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true - }, - "include": ["src"], - "references": [{ "path": "./tsconfig.node.json" }] -} diff --git a/dynamic_site/frontend/tsconfig.node.json b/dynamic_site/frontend/tsconfig.node.json deleted file mode 100644 index 42872c5..0000000 --- a/dynamic_site/frontend/tsconfig.node.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "skipLibCheck": true, - "module": "ESNext", - "moduleResolution": "bundler", - "allowSyntheticDefaultImports": true - }, - "include": ["vite.config.ts"] -} diff --git a/dynamic_site/frontend/vite.config.ts b/dynamic_site/frontend/vite.config.ts deleted file mode 100644 index 03e516d..0000000 --- a/dynamic_site/frontend/vite.config.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { defineConfig } from 'vite'; -import react from '@vitejs/plugin-react-swc'; - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [react()], - server: { - origin: 'http://127.0.0.1:8000', - }, - - build: { - // generate manifest.json in outDir - manifest: true, - rollupOptions: { - // overwrite default .html entry - input: './src/main.tsx', - }, - // Output directory - outDir: '../static/', - }, - - // Include UIKit in the build - resolve: { - alias: { - '../../images/backgrounds': 'uikit/src/images/backgrounds', - '../../images/components': 'uikit/src/images/components', - '../../images/icons': 'uikit/src/images/icons', - }, - }, -}); diff --git a/dynamic_site/frontend/yarn.lock b/dynamic_site/frontend/yarn.lock deleted file mode 100644 index cac1f1e..0000000 --- a/dynamic_site/frontend/yarn.lock +++ /dev/null @@ -1,3781 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@aashutoshrathi/word-wrap@^1.2.3": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" - integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== - -"@choojs/findup@^0.2.0": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@choojs/findup/-/findup-0.2.1.tgz#ac13c59ae7be6e1da64de0779a0a7f03d75615a3" - integrity sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw== - dependencies: - commander "^2.15.1" - -"@esbuild/android-arm64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz#984b4f9c8d0377443cc2dfcef266d02244593622" - integrity sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ== - -"@esbuild/android-arm@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz#fedb265bc3a589c84cc11f810804f234947c3682" - integrity sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw== - -"@esbuild/android-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz#35cf419c4cfc8babe8893d296cd990e9e9f756f2" - integrity sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg== - -"@esbuild/darwin-arm64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz#08172cbeccf95fbc383399a7f39cfbddaeb0d7c1" - integrity sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA== - -"@esbuild/darwin-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz#d70d5790d8bf475556b67d0f8b7c5bdff053d85d" - integrity sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ== - -"@esbuild/freebsd-arm64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz#98755cd12707f93f210e2494d6a4b51b96977f54" - integrity sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw== - -"@esbuild/freebsd-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz#c1eb2bff03915f87c29cece4c1a7fa1f423b066e" - integrity sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ== - -"@esbuild/linux-arm64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz#bad4238bd8f4fc25b5a021280c770ab5fc3a02a0" - integrity sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA== - -"@esbuild/linux-arm@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz#3e617c61f33508a27150ee417543c8ab5acc73b0" - integrity sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg== - -"@esbuild/linux-ia32@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz#699391cccba9aee6019b7f9892eb99219f1570a7" - integrity sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA== - -"@esbuild/linux-loong64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz#e6fccb7aac178dd2ffb9860465ac89d7f23b977d" - integrity sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg== - -"@esbuild/linux-mips64el@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz#eeff3a937de9c2310de30622a957ad1bd9183231" - integrity sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ== - -"@esbuild/linux-ppc64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz#2f7156bde20b01527993e6881435ad79ba9599fb" - integrity sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA== - -"@esbuild/linux-riscv64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz#6628389f210123d8b4743045af8caa7d4ddfc7a6" - integrity sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A== - -"@esbuild/linux-s390x@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071" - integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ== - -"@esbuild/linux-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz#c7690b3417af318a9b6f96df3031a8865176d338" - integrity sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w== - -"@esbuild/netbsd-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz#30e8cd8a3dded63975e2df2438ca109601ebe0d1" - integrity sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A== - -"@esbuild/openbsd-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz#7812af31b205055874c8082ea9cf9ab0da6217ae" - integrity sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg== - -"@esbuild/sunos-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz#d5c275c3b4e73c9b0ecd38d1ca62c020f887ab9d" - integrity sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ== - -"@esbuild/win32-arm64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz#73bc7f5a9f8a77805f357fab97f290d0e4820ac9" - integrity sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg== - -"@esbuild/win32-ia32@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz#ec93cbf0ef1085cc12e71e0d661d20569ff42102" - integrity sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g== - -"@esbuild/win32-x64@0.18.20": - version "0.18.20" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz#786c5f41f043b07afb1af37683d7c33668858f6d" - integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ== - -"@eslint-community/eslint-utils@^4.2.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" - integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== - dependencies: - eslint-visitor-keys "^3.3.0" - -"@eslint-community/regexpp@^4.4.0", "@eslint-community/regexpp@^4.6.1": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.9.1.tgz#449dfa81a57a1d755b09aa58d826c1262e4283b4" - integrity sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA== - -"@eslint/eslintrc@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" - integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== - 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" - -"@eslint/js@8.51.0": - version "8.51.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.51.0.tgz#6d419c240cfb2b66da37df230f7e7eef801c32fa" - integrity sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg== - -"@humanwhocodes/config-array@^0.11.11": - version "0.11.11" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844" - integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA== - dependencies: - "@humanwhocodes/object-schema" "^1.2.1" - debug "^4.1.1" - minimatch "^3.0.5" - -"@humanwhocodes/module-importer@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" - integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== - -"@humanwhocodes/object-schema@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== - -"@mapbox/geojson-rewind@^0.5.0": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz#591a5d71a9cd1da1a0bf3420b3bea31b0fc7946a" - integrity sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA== - dependencies: - get-stream "^6.0.1" - minimist "^1.2.6" - -"@mapbox/geojson-types@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz#9aecf642cb00eab1080a57c4f949a65b4a5846d6" - integrity sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw== - -"@mapbox/jsonlint-lines-primitives@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234" - integrity sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ== - -"@mapbox/mapbox-gl-supported@^1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz#f60b6a55a5d8e5ee908347d2ce4250b15103dc8e" - integrity sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg== - -"@mapbox/point-geometry@0.1.0", "@mapbox/point-geometry@^0.1.0", "@mapbox/point-geometry@~0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz#8a83f9335c7860effa2eeeca254332aa0aeed8f2" - integrity sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ== - -"@mapbox/tiny-sdf@^1.1.1": - version "1.2.5" - resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz#424c620a96442b20402552be70a7f62a8407cc59" - integrity sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw== - -"@mapbox/unitbezier@^0.0.0": - version "0.0.0" - resolved "https://registry.yarnpkg.com/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz#15651bd553a67b8581fb398810c98ad86a34524e" - integrity sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA== - -"@mapbox/vector-tile@^1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz#d3a74c90402d06e89ec66de49ec817ff53409666" - integrity sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw== - dependencies: - "@mapbox/point-geometry" "~0.1.0" - -"@mapbox/whoots-js@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz#497c67a1cef50d1a2459ba60f315e448d2ad87fe" - integrity sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q== - -"@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== - dependencies: - "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== - -"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": - version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== - dependencies: - "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" - -"@plotly/d3-sankey-circular@0.33.1": - version "0.33.1" - resolved "https://registry.yarnpkg.com/@plotly/d3-sankey-circular/-/d3-sankey-circular-0.33.1.tgz#15d1e0337e0e4b1135bdf0e2195c88adacace1a7" - integrity sha512-FgBV1HEvCr3DV7RHhDsPXyryknucxtfnLwPtCKKxdolKyTFYoLX/ibEfX39iFYIL7DYbVeRtP43dbFcrHNE+KQ== - dependencies: - d3-array "^1.2.1" - d3-collection "^1.0.4" - d3-shape "^1.2.0" - elementary-circuits-directed-graph "^1.0.4" - -"@plotly/d3-sankey@0.7.2": - version "0.7.2" - resolved "https://registry.yarnpkg.com/@plotly/d3-sankey/-/d3-sankey-0.7.2.tgz#ddd5290d3b02c60037ced018a162644a2ccef33b" - integrity sha512-2jdVos1N3mMp3QW0k2q1ph7Gd6j5PY1YihBrwpkFnKqO+cqtZq3AdEYUeSGXMeLsBDQYiqTVcihYfk8vr5tqhw== - dependencies: - d3-array "1" - d3-collection "1" - d3-shape "^1.2.0" - -"@plotly/d3@3.8.1": - version "3.8.1" - resolved "https://registry.yarnpkg.com/@plotly/d3/-/d3-3.8.1.tgz#674bf19809ffcc359e0ab388a1051f2dac5e6877" - integrity sha512-x49ThEu1FRA00kTso4Jdfyf2byaCPLBGmLjAYQz5OzaPyLUhHesX3/Nfv2OHEhynhdy2UB39DLXq6thYe2L2kg== - -"@plotly/point-cluster@^3.1.9": - version "3.1.9" - resolved "https://registry.yarnpkg.com/@plotly/point-cluster/-/point-cluster-3.1.9.tgz#8ffec77fbf5041bf15401079e4fdf298220291c1" - integrity sha512-MwaI6g9scKf68Orpr1pHZ597pYx9uP8UEFXLPbsCmuw3a84obwz6pnMXGc90VhgDNeNiLEdlmuK7CPo+5PIxXw== - dependencies: - array-bounds "^1.0.1" - binary-search-bounds "^2.0.4" - clamp "^1.0.1" - defined "^1.0.0" - dtype "^2.0.0" - flatten-vertex-data "^1.0.2" - is-obj "^1.0.1" - math-log2 "^1.0.1" - parse-rect "^1.2.0" - pick-by-alias "^1.2.0" - -"@swc/core-darwin-arm64@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.93.tgz#aefd94625451988286bebccb1c072bae0a36bcdb" - integrity sha512-gEKgk7FVIgltnIfDO6GntyuQBBlAYg5imHpRgLxB1zSI27ijVVkksc6QwISzFZAhKYaBWIsFSVeL9AYSziAF7A== - -"@swc/core-darwin-x64@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.3.93.tgz#18409c6effdf508ddf1ebccfa77d35aaa6cd72f0" - integrity sha512-ZQPxm/fXdDQtn3yrYSL/gFfA8OfZ5jTi33yFQq6vcg/Y8talpZ+MgdSlYM0FkLrZdMTYYTNFiuBQuuvkA+av+Q== - -"@swc/core-linux-arm-gnueabihf@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.93.tgz#23a97bc94a8b2f23fb6cc4bc9d8936899e5eeff5" - integrity sha512-OYFMMI2yV+aNe3wMgYhODxHdqUB/jrK0SEMHHS44GZpk8MuBXEF+Mcz4qjkY5Q1EH7KVQqXb/gVWwdgTHpjM2A== - -"@swc/core-linux-arm64-gnu@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.93.tgz#7a17406a7cf76a959a617626d5ee2634ae9afa26" - integrity sha512-BT4dT78odKnJMNiq5HdjBsv29CiIdcCcImAPxeFqAeFw1LL6gh9nzI8E96oWc+0lVT5lfhoesCk4Qm7J6bty8w== - -"@swc/core-linux-arm64-musl@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.93.tgz#a30be7780090afefd3b8706398418cbe1d23db49" - integrity sha512-yH5fWEl1bktouC0mhh0Chuxp7HEO4uCtS/ly1Vmf18gs6wZ8DOOkgAEVv2dNKIryy+Na++ljx4Ym7C8tSJTrLw== - -"@swc/core-linux-x64-gnu@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.93.tgz#41e903fd82e059952d16051b442cbe65ee5b8cb3" - integrity sha512-OFUdx64qvrGJhXKEyxosHxgoUVgba2ztYh7BnMiU5hP8lbI8G13W40J0SN3CmFQwPP30+3oEbW7LWzhKEaYjlg== - -"@swc/core-linux-x64-musl@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.93.tgz#0866807545c44eac9b3254b374310ad5e1c573f9" - integrity sha512-4B8lSRwEq1XYm6xhxHhvHmKAS7pUp1Q7E33NQ2TlmFhfKvCOh86qvThcjAOo57x8DRwmpvEVrqvpXtYagMN6Ig== - -"@swc/core-win32-arm64-msvc@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.93.tgz#c72411dea2fd4f62a832f71a6e15424d849e7610" - integrity sha512-BHShlxtkven8ZjjvZ5QR6sC5fZCJ9bMujEkiha6W4cBUTY7ce7qGFyHmQd+iPC85d9kD/0cCiX/Xez8u0BhO7w== - -"@swc/core-win32-ia32-msvc@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.93.tgz#05c2b031b976af4ef81f5073ee114254678a5d5d" - integrity sha512-nEwNWnz4JzYAK6asVvb92yeylfxMYih7eMQOnT7ZVlZN5ba9WF29xJ6kcQKs9HRH6MvWhz9+wRgv3FcjlU6HYA== - -"@swc/core-win32-x64-msvc@1.3.93": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.93.tgz#f8748b3fd1879f13084b1b0814edf328c662935c" - integrity sha512-jibQ0zUr4kwJaQVwgmH+svS04bYTPnPw/ZkNInzxS+wFAtzINBYcU8s2PMWbDb2NGYiRSEeoSGyAvS9H+24JFA== - -"@swc/core@^1.3.85": - version "1.3.93" - resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.3.93.tgz#be4282aa44deffb0e5081a2613bac00335600630" - integrity sha512-690GRr1wUGmGYZHk7fUduX/JUwViMF2o74mnZYIWEcJaCcd9MQfkhsxPBtjeg6tF+h266/Cf3RPYhsFBzzxXcA== - dependencies: - "@swc/counter" "^0.1.1" - "@swc/types" "^0.1.5" - optionalDependencies: - "@swc/core-darwin-arm64" "1.3.93" - "@swc/core-darwin-x64" "1.3.93" - "@swc/core-linux-arm-gnueabihf" "1.3.93" - "@swc/core-linux-arm64-gnu" "1.3.93" - "@swc/core-linux-arm64-musl" "1.3.93" - "@swc/core-linux-x64-gnu" "1.3.93" - "@swc/core-linux-x64-musl" "1.3.93" - "@swc/core-win32-arm64-msvc" "1.3.93" - "@swc/core-win32-ia32-msvc" "1.3.93" - "@swc/core-win32-x64-msvc" "1.3.93" - -"@swc/counter@^0.1.1": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@swc/counter/-/counter-0.1.2.tgz#bf06d0770e47c6f1102270b744e17b934586985e" - integrity sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw== - -"@swc/types@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@swc/types/-/types-0.1.5.tgz#043b731d4f56a79b4897a3de1af35e75d56bc63a" - integrity sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw== - -"@turf/area@^6.4.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@turf/area/-/area-6.5.0.tgz#1d0d7aee01d8a4a3d4c91663ed35cc615f36ad56" - integrity sha512-xCZdiuojokLbQ+29qR6qoMD89hv+JAgWjLrwSEWL+3JV8IXKeNFl6XkEJz9HGkVpnXvQKJoRz4/liT+8ZZ5Jyg== - dependencies: - "@turf/helpers" "^6.5.0" - "@turf/meta" "^6.5.0" - -"@turf/bbox@^6.4.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@turf/bbox/-/bbox-6.5.0.tgz#bec30a744019eae420dac9ea46fb75caa44d8dc5" - integrity sha512-RBbLaao5hXTYyyg577iuMtDB8ehxMlUqHEJiMs8jT1GHkFhr6sYre3lmLsPeYEi/ZKj5TP5tt7fkzNdJ4GIVyw== - dependencies: - "@turf/helpers" "^6.5.0" - "@turf/meta" "^6.5.0" - -"@turf/centroid@^6.0.2": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@turf/centroid/-/centroid-6.5.0.tgz#ecaa365412e5a4d595bb448e7dcdacfb49eb0009" - integrity sha512-MwE1oq5E3isewPprEClbfU5pXljIK/GUOMbn22UM3IFPDJX0KeoyLNwghszkdmFp/qMGL/M13MMWvU+GNLXP/A== - dependencies: - "@turf/helpers" "^6.5.0" - "@turf/meta" "^6.5.0" - -"@turf/helpers@^6.5.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-6.5.0.tgz#f79af094bd6b8ce7ed2bd3e089a8493ee6cae82e" - integrity sha512-VbI1dV5bLFzohYYdgqwikdMVpe7pJ9X3E+dlr425wa2/sMJqYDhTO++ec38/pcPvPE6oD9WEEeU3Xu3gza+VPw== - -"@turf/meta@^6.5.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-6.5.0.tgz#b725c3653c9f432133eaa04d3421f7e51e0418ca" - integrity sha512-RrArvtsV0vdsCBegoBtOalgdSOfkBrTJ07VkpiCnq/491W67hnMWmDu7e6Ztw0C3WldRYTXkg3SumfdzZxLBHA== - dependencies: - "@turf/helpers" "^6.5.0" - -"@types/debug@^4.0.0": - version "4.1.9" - resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.9.tgz#906996938bc672aaf2fb8c0d3733ae1dda05b005" - integrity sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow== - dependencies: - "@types/ms" "*" - -"@types/hast@^2.0.0": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.6.tgz#bb8b05602112a26d22868acb70c4b20984ec7086" - integrity sha512-47rJE80oqPmFdVDCD7IheXBrVdwuBgsYwoczFvKmwfo2Mzsnt+V9OONsYauFmICb6lQPpCuXYJWejBNs4pDJRg== - dependencies: - "@types/unist" "^2" - -"@types/json-schema@^7.0.9": - version "7.0.13" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.13.tgz#02c24f4363176d2d18fc8b70b9f3c54aba178a85" - integrity sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ== - -"@types/katex@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@types/katex/-/katex-0.14.0.tgz#b84c0afc3218069a5ad64fe2a95321881021b5fe" - integrity sha512-+2FW2CcT0K3P+JMR8YG846bmDwplKUTsWgT2ENwdQ1UdVfRk3GQrh6Mi4sTopy30gI8Uau5CEqHTDZ6YvWIUPA== - -"@types/katex@^0.16.0": - version "0.16.3" - resolved "https://registry.yarnpkg.com/@types/katex/-/katex-0.16.3.tgz#a341c89705145b7dd8e2a133b282a133eabe6076" - integrity sha512-CeVMX9EhVUW8MWnei05eIRks4D5Wscw/W9Byz1s3PA+yJvcdvq9SaDjiUKvRvEgjpdTyJMjQA43ae4KTwsvOPg== - -"@types/mdast@^3.0.0": - version "3.0.13" - resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.13.tgz#b7ba6e52d0faeb9c493e32c205f3831022be4e1b" - integrity sha512-HjiGiWedR0DVFkeNljpa6Lv4/IZU1+30VY5d747K7lBudFc3R0Ibr6yJ9lN3BE28VnZyDfLF/VB1Ql1ZIbKrmg== - dependencies: - "@types/unist" "^2" - -"@types/ms@*": - version "0.7.32" - resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.32.tgz#f6cd08939ae3ad886fcc92ef7f0109dacddf61ab" - integrity sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g== - -"@types/plotly.js@*": - version "2.12.27" - resolved "https://registry.yarnpkg.com/@types/plotly.js/-/plotly.js-2.12.27.tgz#4f0a9ef660504670a5f0bf44d1b1f2911d79b0b7" - integrity sha512-Ah7XuePFNxu2XAHG79GeKN/Ky8dZ0k6hzy49da6AeZFrTqO5wDbtJovp3co3C+iRitp8tA6rIxkltiJ3cjsQWw== - -"@types/prop-types@*", "@types/prop-types@^15.0.0": - version "15.7.8" - resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.8.tgz#805eae6e8f41bd19e88917d2ea200dc992f405d3" - integrity sha512-kMpQpfZKSCBqltAJwskgePRaYRFukDkm1oItcAbC3gNELR20XIBcN9VRgg4+m8DKsTfkWeA4m4Imp4DDuWy7FQ== - -"@types/react-dom@^18.0.11": - version "18.2.13" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.13.tgz#89cd7f9ec8b28c8b6f0392b9591671fb4a9e96b7" - integrity sha512-eJIUv7rPP+EC45uNYp/ThhSpE16k22VJUknt5OLoH9tbXoi8bMhwLf5xRuWMywamNbWzhrSmU7IBJfPup1+3fw== - dependencies: - "@types/react" "*" - -"@types/react-katex@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/react-katex/-/react-katex-3.0.1.tgz#2d7a3bb65326ed92152ebd1774db126973b11c6b" - integrity sha512-bwkddhavQTRN6eBQgE/mbBde7r7gtqnYFrUQJ/W6S9mf40LjzEXfeb+9jZbm++3aXQUFDHOu9vYqdArtHxbqgg== - dependencies: - "@types/react" "*" - -"@types/react-plotly.js@^2.6.0": - version "2.6.1" - resolved "https://registry.yarnpkg.com/@types/react-plotly.js/-/react-plotly.js-2.6.1.tgz#243019c11f30c19179095df9080a70d35ec33af8" - integrity sha512-vFJZRCC2Pav0NdrFm0grPMm9+67ejGZZglDBWqo+J6VFbB4CAatjoNiowfardznuujaaoDNoZ4MSCFwYyVk4aA== - dependencies: - "@types/plotly.js" "*" - "@types/react" "*" - -"@types/react@*", "@types/react@^18.0.28": - version "18.2.28" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.28.tgz#86877465c0fcf751659a36c769ecedfcfacee332" - integrity sha512-ad4aa/RaaJS3hyGz0BGegdnSRXQBkd1CCYDCdNjBPg90UUpLgo+WlJqb9fMYUxtehmzF3PJaTWqRZjko6BRzBg== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - -"@types/scheduler@*": - version "0.16.4" - resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.4.tgz#fedc3e5b15c26dc18faae96bf1317487cb3658cf" - integrity sha512-2L9ifAGl7wmXwP4v3pN4p2FLhD0O1qsJpvKmNin5VA8+UvNVb447UDaAEV6UdrkA+m/Xs58U1RFps44x6TFsVQ== - -"@types/semver@^7.3.12": - version "7.5.3" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.3.tgz#9a726e116beb26c24f1ccd6850201e1246122e04" - integrity sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw== - -"@types/unist@^2", "@types/unist@^2.0.0": - version "2.0.8" - resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.8.tgz#bb197b9639aa1a04cf464a617fe800cccd92ad5c" - integrity sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw== - -"@typescript-eslint/eslint-plugin@^5.57.1": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" - integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== - dependencies: - "@eslint-community/regexpp" "^4.4.0" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/type-utils" "5.62.0" - "@typescript-eslint/utils" "5.62.0" - debug "^4.3.4" - graphemer "^1.4.0" - ignore "^5.2.0" - natural-compare-lite "^1.4.0" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/parser@^5.57.1": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" - integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== - dependencies: - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/typescript-estree" "5.62.0" - debug "^4.3.4" - -"@typescript-eslint/scope-manager@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" - integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - -"@typescript-eslint/type-utils@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" - integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew== - dependencies: - "@typescript-eslint/typescript-estree" "5.62.0" - "@typescript-eslint/utils" "5.62.0" - debug "^4.3.4" - tsutils "^3.21.0" - -"@typescript-eslint/types@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" - integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== - -"@typescript-eslint/typescript-estree@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" - integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/utils@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" - integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== - dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@types/json-schema" "^7.0.9" - "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/typescript-estree" "5.62.0" - eslint-scope "^5.1.1" - semver "^7.3.7" - -"@typescript-eslint/visitor-keys@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" - integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== - dependencies: - "@typescript-eslint/types" "5.62.0" - eslint-visitor-keys "^3.3.0" - -"@vitejs/plugin-react-swc@^3.0.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@vitejs/plugin-react-swc/-/plugin-react-swc-3.4.0.tgz#53ca6a07423abadec92f967e188d5ba49b350830" - integrity sha512-m7UaA4Uvz82N/0EOVpZL4XsFIakRqrFKeSNxa1FBLSXGvWrWRBwmZb4qxk+ZIVAZcW3c3dn5YosomDgx62XWcQ== - dependencies: - "@swc/core" "^1.3.85" - -abs-svg-path@^0.1.1, abs-svg-path@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/abs-svg-path/-/abs-svg-path-0.1.1.tgz#df601c8e8d2ba10d4a76d625e236a9a39c2723bf" - integrity sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA== - -acorn-jsx@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" - integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== - -acorn@^7.1.1: - version "7.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" - integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== - -acorn@^8.9.0: - version "8.10.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" - integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== - -ajv@^6.12.4: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - 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" - -almost-equal@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/almost-equal/-/almost-equal-1.1.0.tgz#f851c631138757994276aa2efbe8dfa3066cccdd" - integrity sha512-0V/PkoculFl5+0Lp47JoxUcO0xSxhIBvm+BxHdD/OgXNmdRpRHCFnKVuUoWyS9EzQP+otSGv0m9Lb4yVkQBn2A== - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - -array-bounds@^1.0.0, array-bounds@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-bounds/-/array-bounds-1.0.1.tgz#da11356b4e18e075a4f0c86e1f179a67b7d7ea31" - integrity sha512-8wdW3ZGk6UjMPJx/glyEt0sLzzwAE1bhToPsO1W2pbpR2gULyxe3BjSiuJFheP50T/GgODVPz2fuMUmIywt8cQ== - -array-find-index@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" - integrity sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw== - -array-normalize@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/array-normalize/-/array-normalize-1.1.4.tgz#d75cec57383358af38efdf6a78071aa36ae4174c" - integrity sha512-fCp0wKFLjvSPmCn4F5Tiw4M3lpMZoHlCjfcs7nNzuj3vqQQ1/a8cgB9DXcpDSn18c+coLnaW7rqfcYCvKbyJXg== - dependencies: - array-bounds "^1.0.0" - -array-range@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-range/-/array-range-1.0.1.tgz#f56e46591843611c6a56f77ef02eda7c50089bfc" - integrity sha512-shdaI1zT3CVNL2hnx9c0JMc0ZogGaxDs5e85akgHWKYa0yVbIyp06Ind3dVkTj/uuFrzaHBOyqFzo+VV6aXgtA== - -array-rearrange@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/array-rearrange/-/array-rearrange-2.2.2.tgz#fa1a2acf8d02e88dd0c9602aa0e06a79158b2283" - integrity sha512-UfobP5N12Qm4Qu4fwLDIi2v6+wZsSf6snYSxAMeKhrh37YGnNWZPRmVEKc/2wfms53TLQnzfpG8wCx2Y/6NG1w== - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -axios@^1.4.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.5.1.tgz#11fbaa11fc35f431193a9564109c88c1f27b585f" - integrity sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A== - dependencies: - follow-redirects "^1.15.0" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - -bail@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" - integrity sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw== - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -binary-search-bounds@^2.0.4: - version "2.0.5" - resolved "https://registry.yarnpkg.com/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz#125e5bd399882f71e6660d4bf1186384e989fba7" - integrity sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA== - -bit-twiddle@^1.0.0, bit-twiddle@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bit-twiddle/-/bit-twiddle-1.0.2.tgz#0c6c1fabe2b23d17173d9a61b7b7093eb9e1769e" - integrity sha512-B9UhK0DKFZhoTFcfvAzhqsjStvGJp9vYWf3+6SNTtdSQnvIgfkHbgHrg/e4+TH71N2GDu8tpmCVoyfrL1d7ntA== - -bitmap-sdf@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/bitmap-sdf/-/bitmap-sdf-1.0.4.tgz#e87b8b1d84ee846567cfbb29d60eedd34bca5b6f" - integrity sha512-1G3U4n5JE6RAiALMxu0p1XmeZkTeCwGKykzsLTCqVzfSDaN6S7fKnkIkfejogz+iwqBWc0UYAIKnKHNN7pSfDg== - -bl@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/bl/-/bl-2.2.1.tgz#8c11a7b730655c5d56898cdc871224f40fd901d5" - integrity sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" - integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.2.1" - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -canvas-fit@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/canvas-fit/-/canvas-fit-1.5.0.tgz#ae13be66ade42f5be0e487e345fce30a5e5b5e5f" - integrity sha512-onIcjRpz69/Hx5bB5HGbYKUF2uC6QT6Gp+pfpGm3A7mPfcluSLV5v4Zu+oflDUwLdUw0rLIBhUbi0v8hM4FJQQ== - dependencies: - element-size "^1.1.1" - -chalk@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -character-entities@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" - integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== - -clamp@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/clamp/-/clamp-1.0.1.tgz#66a0e64011816e37196828fdc8c8c147312c8634" - integrity sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA== - -color-alpha@1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/color-alpha/-/color-alpha-1.0.4.tgz#c141dc926e95fc3db647d0e14e5bc3651c29e040" - integrity sha512-lr8/t5NPozTSqli+duAN+x+no/2WaKTeWvxhHGN+aXT6AJ8vPlzLa7UriyjWak0pSC2jHol9JgjBYnnHsGha9A== - dependencies: - color-parse "^1.3.8" - -color-alpha@^1.0.4: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-alpha/-/color-alpha-1.1.3.tgz#71250189e9f02bba8261a94d5e7d5f5606d1749a" - integrity sha512-krPYBO1RSO5LH4AGb/b6z70O1Ip2o0F0+0cVFN5FN99jfQtZFT08rQyg+9oOBNJYAn3SRwJIFC8jUEOKz7PisA== - dependencies: - color-parse "^1.4.1" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-id@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/color-id/-/color-id-1.1.0.tgz#5e9159b99a73ac98f74820cb98a15fde3d7e034c" - integrity sha512-2iRtAn6dC/6/G7bBIo0uupVrIne1NsQJvJxZOBCzQOfk7jRq97feaDZ3RdzuHakRXXnHGNwglto3pqtRx1sX0g== - dependencies: - clamp "^1.0.1" - -color-name@^1.0.0, color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -color-normalize@1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/color-normalize/-/color-normalize-1.5.0.tgz#ee610af9acb15daf73e77a945a847b18e40772da" - integrity sha512-rUT/HDXMr6RFffrR53oX3HGWkDOP9goSAQGBkUaAYKjOE2JxozccdGyufageWDlInRAjm/jYPrf/Y38oa+7obw== - dependencies: - clamp "^1.0.1" - color-rgba "^2.1.1" - dtype "^2.0.0" - -color-normalize@^1.5.0: - version "1.5.2" - resolved "https://registry.yarnpkg.com/color-normalize/-/color-normalize-1.5.2.tgz#d6c8beb02966849548f91a6ac0274c6f19924509" - integrity sha512-yYMIoyFJmUoKbCK6sBShljBWfkt8DXVfaZJn9/zvRJkF9eQJDbZhcYC6LdOVy40p4tfVwYYb9cXl8oqpu7pzBw== - dependencies: - color-rgba "^2.2.0" - dtype "^2.0.0" - -color-parse@1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/color-parse/-/color-parse-1.3.8.tgz#eaf54cd385cb34c0681f18c218aca38478082fa3" - integrity sha512-1Y79qFv0n1xair3lNMTNeoFvmc3nirMVBij24zbs1f13+7fPpQClMg5b4AuKXLt3szj7BRlHMCXHplkce6XlmA== - dependencies: - color-name "^1.0.0" - defined "^1.0.0" - is-plain-obj "^1.1.0" - -color-parse@^1.3.8, color-parse@^1.4.1, color-parse@^1.4.2: - version "1.4.3" - resolved "https://registry.yarnpkg.com/color-parse/-/color-parse-1.4.3.tgz#6dadfb49128c554c60c49d63f3d025f2c5a7ff22" - integrity sha512-BADfVl/FHkQkyo8sRBwMYBqemqsgnu7JZAwUgvBvuwwuNUZAhSvLTbsEErS5bQXzOjDR0dWzJ4vXN2Q+QoPx0A== - dependencies: - color-name "^1.0.0" - -color-rgba@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/color-rgba/-/color-rgba-2.1.1.tgz#4633b83817c7406c90b3d7bf4d1acfa48dde5c83" - integrity sha512-VaX97wsqrMwLSOR6H7rU1Doa2zyVdmShabKrPEIFywLlHoibgD3QW9Dw6fSqM4+H/LfjprDNAUUW31qEQcGzNw== - dependencies: - clamp "^1.0.1" - color-parse "^1.3.8" - color-space "^1.14.6" - -color-rgba@^2.1.1, color-rgba@^2.2.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/color-rgba/-/color-rgba-2.4.0.tgz#ae85819c530262c29fc2da129fc7c8f9efc57015" - integrity sha512-Nti4qbzr/z2LbUWySr7H9dk3Rl7gZt7ihHAxlgT4Ho90EXWkjtkL1avTleu9yeGuqrt/chxTB6GKK8nZZ6V0+Q== - dependencies: - color-parse "^1.4.2" - color-space "^2.0.0" - -color-space@^1.14.6: - version "1.16.0" - resolved "https://registry.yarnpkg.com/color-space/-/color-space-1.16.0.tgz#611781bca41cd8582a1466fd9e28a7d3d89772a2" - integrity sha512-A6WMiFzunQ8KEPFmj02OnnoUnqhmSaHaZ/0LVFcPTdlvm8+3aMJ5x1HRHy3bDHPkovkf4sS0f4wsVvwk71fKkg== - dependencies: - hsluv "^0.0.3" - mumath "^3.3.4" - -color-space@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-space/-/color-space-2.0.1.tgz#da39871175baf4a5785ba519397df04b8d67e0fa" - integrity sha512-nKqUYlo0vZATVOFHY810BSYjmCARrG7e5R3UE3CQlyjJTvv5kSSmPG1kzm/oDyyqjehM+lW1RnEt9It9GNa5JA== - -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -comma-separated-tokens@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee" - integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg== - -commander@2, commander@^2.15.1: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@^8.0.0, commander@^8.3.0: - version "8.3.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" - integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -concat-stream@^1.5.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -country-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/country-regex/-/country-regex-1.1.0.tgz#51c333dcdf12927b7e5eeb9c10ac8112a6120896" - integrity sha512-iSPlClZP8vX7MC3/u6s3lrDuoQyhQukh5LyABJ3hvfzbQ3Yyayd4fp04zjLnfi267B/B2FkumcWWgrbban7sSA== - -cross-spawn@^7.0.2: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -css-font-size-keywords@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/css-font-size-keywords/-/css-font-size-keywords-1.0.0.tgz#854875ace9aca6a8d2ee0d345a44aae9bb6db6cb" - integrity sha512-Q+svMDbMlelgCfH/RVDKtTDaf5021O486ZThQPIpahnIjUkMUslC+WuOQSWTgGSrNCH08Y7tYNEmmy0hkfMI8Q== - -css-font-stretch-keywords@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/css-font-stretch-keywords/-/css-font-stretch-keywords-1.0.1.tgz#50cee9b9ba031fb5c952d4723139f1e107b54b10" - integrity sha512-KmugPO2BNqoyp9zmBIUGwt58UQSfyk1X5DbOlkb2pckDXFSAfjsD5wenb88fNrD6fvS+vu90a/tsPpb9vb0SLg== - -css-font-style-keywords@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/css-font-style-keywords/-/css-font-style-keywords-1.0.1.tgz#5c3532813f63b4a1de954d13cea86ab4333409e4" - integrity sha512-0Fn0aTpcDktnR1RzaBYorIxQily85M2KXRpzmxQPgh8pxUN9Fcn00I8u9I3grNr1QXVgCl9T5Imx0ZwKU973Vg== - -css-font-weight-keywords@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/css-font-weight-keywords/-/css-font-weight-keywords-1.0.0.tgz#9bc04671ac85bc724b574ef5d3ac96b0d604fd97" - integrity sha512-5So8/NH+oDD+EzsnF4iaG4ZFHQ3vaViePkL1ZbZ5iC/KrsCY+WHq/lvOgrtmuOQ9pBBZ1ADGpaf+A4lj1Z9eYA== - -css-font@^1.0.0, css-font@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/css-font/-/css-font-1.2.0.tgz#e73cbdc11fd87c8e6c928ad7098a9771c8c2b6e3" - integrity sha512-V4U4Wps4dPDACJ4WpgofJ2RT5Yqwe1lEH6wlOOaIxMi0gTjdIijsc5FmxQlZ7ZZyKQkkutqqvULOp07l9c7ssA== - dependencies: - css-font-size-keywords "^1.0.0" - css-font-stretch-keywords "^1.0.1" - css-font-style-keywords "^1.0.1" - css-font-weight-keywords "^1.0.0" - css-global-keywords "^1.0.1" - css-system-font-keywords "^1.0.0" - pick-by-alias "^1.2.0" - string-split-by "^1.0.0" - unquote "^1.1.0" - -css-global-keywords@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/css-global-keywords/-/css-global-keywords-1.0.1.tgz#72a9aea72796d019b1d2a3252de4e5aaa37e4a69" - integrity sha512-X1xgQhkZ9n94WDwntqst5D/FKkmiU0GlJSFZSV3kLvyJ1WC5VeyoXDOuleUD+SIuH9C7W05is++0Woh0CGfKjQ== - -css-system-font-keywords@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/css-system-font-keywords/-/css-system-font-keywords-1.0.0.tgz#85c6f086aba4eb32c571a3086affc434b84823ed" - integrity sha512-1umTtVd/fXS25ftfjB71eASCrYhilmEsvDEI6wG/QplnmlfmVM5HkZ/ZX46DT5K3eblFPgLUHt5BRCb0YXkSFA== - -csscolorparser@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/csscolorparser/-/csscolorparser-1.0.3.tgz#b34f391eea4da8f3e98231e2ccd8df9c041f171b" - integrity sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w== - -csstype@^3.0.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" - integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== - -d3-array@1, d3-array@^1.2.1: - version "1.2.4" - resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.4.tgz#635ce4d5eea759f6f605863dbcfc30edc737f71f" - integrity sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw== - -d3-collection@1, d3-collection@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e" - integrity sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A== - -"d3-color@1 - 3": - version "3.1.0" - resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2" - integrity sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA== - -d3-dispatch@1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/d3-dispatch/-/d3-dispatch-1.0.6.tgz#00d37bcee4dd8cd97729dd893a0ac29caaba5d58" - integrity sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA== - -d3-force@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/d3-force/-/d3-force-1.2.1.tgz#fd29a5d1ff181c9e7f0669e4bd72bdb0e914ec0b" - integrity sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg== - dependencies: - d3-collection "1" - d3-dispatch "1" - d3-quadtree "1" - d3-timer "1" - -d3-format@^1.4.5: - version "1.4.5" - resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.4.5.tgz#374f2ba1320e3717eb74a9356c67daee17a7edb4" - integrity sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ== - -d3-geo-projection@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/d3-geo-projection/-/d3-geo-projection-2.9.0.tgz#826db62f748e8ecd67cd00aced4c26a236ec030c" - integrity sha512-ZULvK/zBn87of5rWAfFMc9mJOipeSo57O+BBitsKIXmU4rTVAnX1kSsJkE0R+TxY8pGNoM1nbyRRE7GYHhdOEQ== - dependencies: - commander "2" - d3-array "1" - d3-geo "^1.12.0" - resolve "^1.1.10" - -d3-geo@^1.12.0, d3-geo@^1.12.1: - version "1.12.1" - resolved "https://registry.yarnpkg.com/d3-geo/-/d3-geo-1.12.1.tgz#7fc2ab7414b72e59fbcbd603e80d9adc029b035f" - integrity sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg== - dependencies: - d3-array "1" - -d3-hierarchy@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz#2f6bee24caaea43f8dc37545fa01628559647a83" - integrity sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ== - -d3-interpolate@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-3.0.1.tgz#3c47aa5b32c5b3dfb56ef3fd4342078a632b400d" - integrity sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g== - dependencies: - d3-color "1 - 3" - -d3-path@1: - version "1.0.9" - resolved "https://registry.yarnpkg.com/d3-path/-/d3-path-1.0.9.tgz#48c050bb1fe8c262493a8caf5524e3e9591701cf" - integrity sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg== - -d3-quadtree@1: - version "1.0.7" - resolved "https://registry.yarnpkg.com/d3-quadtree/-/d3-quadtree-1.0.7.tgz#ca8b84df7bb53763fe3c2f24bd435137f4e53135" - integrity sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA== - -d3-shape@^1.2.0: - version "1.3.7" - resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-1.3.7.tgz#df63801be07bc986bc54f63789b4fe502992b5d7" - integrity sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw== - dependencies: - d3-path "1" - -d3-time-format@^2.2.3: - version "2.3.0" - resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-2.3.0.tgz#107bdc028667788a8924ba040faf1fbccd5a7850" - integrity sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ== - dependencies: - d3-time "1" - -d3-time@1, d3-time@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-1.1.0.tgz#b1e19d307dae9c900b7e5b25ffc5dcc249a8a0f1" - integrity sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA== - -d3-timer@1: - version "1.0.10" - resolved "https://registry.yarnpkg.com/d3-timer/-/d3-timer-1.0.10.tgz#dfe76b8a91748831b13b6d9c793ffbd508dd9de5" - integrity sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw== - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - -debug@2: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@^3.2.6: - version "3.2.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" - integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== - dependencies: - ms "^2.1.1" - -debug@^4.0.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -decode-named-character-reference@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz#daabac9690874c394c81e4162a0304b35d824f0e" - integrity sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg== - dependencies: - character-entities "^2.0.0" - -deep-is@^0.1.3, deep-is@~0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" - integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== - -defined@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.1.tgz#c0b9db27bfaffd95d6f61399419b893df0f91ebf" - integrity sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q== - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -dequal@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" - integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== - -detect-kerning@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/detect-kerning/-/detect-kerning-2.1.2.tgz#4ecd548e4a5a3fc880fe2a50609312d000fa9fc2" - integrity sha512-I3JIbrnKPAntNLl1I6TpSQQdQ4AutYzv/sKMFKbepawV/hlH0GmYKhUoOEMd4xqaUHT+Bm0f4127lh5qs1m1tw== - -diff@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40" - integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw== - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - -draw-svg-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/draw-svg-path/-/draw-svg-path-1.0.0.tgz#6f116d962dd314b99ea534d6f58dd66cdbd69379" - integrity sha512-P8j3IHxcgRMcY6sDzr0QvJDLzBnJJqpTG33UZ2Pvp8rw0apCHhJCWqYprqrXjrgHnJ6tuhP1iTJSAodPDHxwkg== - dependencies: - abs-svg-path "~0.1.1" - normalize-svg-path "~0.1.0" - -dtype@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dtype/-/dtype-2.0.0.tgz#cd052323ce061444ecd2e8f5748f69a29be28434" - integrity sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg== - -dup@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dup/-/dup-1.0.0.tgz#51fc5ac685f8196469df0b905e934b20af5b4029" - integrity sha512-Bz5jxMMC0wgp23Zm15ip1x8IhYRqJvF3nFC0UInJUDkN1z4uNPk9jTnfCUJXbOGiQ1JbXLQsiV41Fb+HXcj5BA== - -duplexify@^3.4.5: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" - -earcut@^2.1.5, earcut@^2.2.2: - version "2.2.4" - resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.2.4.tgz#6d02fd4d68160c114825d06890a92ecaae60343a" - integrity sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ== - -element-size@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/element-size/-/element-size-1.1.1.tgz#64e5f159d97121631845bcbaecaf279c39b5e34e" - integrity sha512-eaN+GMOq/Q+BIWy0ybsgpcYImjGIdNLyjLFJU4XsLHXYQao5jCNb36GyN6C2qwmDDYSfIBmKpPpr4VnBdLCsPQ== - -elementary-circuits-directed-graph@^1.0.4: - version "1.3.1" - resolved "https://registry.yarnpkg.com/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.3.1.tgz#31c5a1c69517de833127247e5460472168e9e1c1" - integrity sha512-ZEiB5qkn2adYmpXGnJKkxT8uJHlW/mxmBpmeqawEHzPxh9HkLD4/1mFYX5l0On+f6rcPIt8/EWlRU2Vo3fX6dQ== - dependencies: - strongly-connected-components "^1.0.1" - -end-of-stream@^1.0.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -entities@^4.4.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" - integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== - -es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50: - version "0.10.62" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" - integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - -es6-weak-map@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" - integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== - dependencies: - d "1" - es5-ext "^0.10.46" - es6-iterator "^2.0.3" - es6-symbol "^3.1.1" - -esbuild@^0.18.10: - version "0.18.20" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.18.20.tgz#4709f5a34801b43b799ab7d6d82f7284a9b7a7a6" - integrity sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA== - optionalDependencies: - "@esbuild/android-arm" "0.18.20" - "@esbuild/android-arm64" "0.18.20" - "@esbuild/android-x64" "0.18.20" - "@esbuild/darwin-arm64" "0.18.20" - "@esbuild/darwin-x64" "0.18.20" - "@esbuild/freebsd-arm64" "0.18.20" - "@esbuild/freebsd-x64" "0.18.20" - "@esbuild/linux-arm" "0.18.20" - "@esbuild/linux-arm64" "0.18.20" - "@esbuild/linux-ia32" "0.18.20" - "@esbuild/linux-loong64" "0.18.20" - "@esbuild/linux-mips64el" "0.18.20" - "@esbuild/linux-ppc64" "0.18.20" - "@esbuild/linux-riscv64" "0.18.20" - "@esbuild/linux-s390x" "0.18.20" - "@esbuild/linux-x64" "0.18.20" - "@esbuild/netbsd-x64" "0.18.20" - "@esbuild/openbsd-x64" "0.18.20" - "@esbuild/sunos-x64" "0.18.20" - "@esbuild/win32-arm64" "0.18.20" - "@esbuild/win32-ia32" "0.18.20" - "@esbuild/win32-x64" "0.18.20" - -escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -escodegen@^1.11.1: - version "1.14.3" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" - integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== - dependencies: - esprima "^4.0.1" - estraverse "^4.2.0" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.6.1" - -eslint-plugin-react-hooks@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" - integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== - -eslint-plugin-react-refresh@^0.3.4: - version "0.3.5" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.3.5.tgz#0121e3f05f940250d3544bfaeff52e1c6adf4117" - integrity sha512-61qNIsc7fo9Pp/mju0J83kzvLm0Bsayu7OQSLEoJxLDCBjIIyb87bkzufoOvdDxLkSlMfkF7UxomC4+eztUBSA== - -eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -eslint-scope@^7.2.2: - version "7.2.2" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" - integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== - dependencies: - esrecurse "^4.3.0" - estraverse "^5.2.0" - -eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: - version "3.4.3" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" - integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== - -eslint@^8.38.0: - version "8.51.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.51.0.tgz#4a82dae60d209ac89a5cff1604fea978ba4950f3" - integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA== - dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.2" - "@eslint/js" "8.51.0" - "@humanwhocodes/config-array" "^0.11.11" - "@humanwhocodes/module-importer" "^1.0.1" - "@nodelib/fs.walk" "^1.2.8" - 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" - -espree@^9.6.0, espree@^9.6.1: - version "9.6.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" - integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== - dependencies: - acorn "^8.9.0" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.4.1" - -esprima@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esquery@^1.4.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" - integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== - dependencies: - estraverse "^5.1.0" - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1, estraverse@^4.2.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.1.0, estraverse@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -ext@^1.1.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" - integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== - dependencies: - type "^2.7.2" - -extend@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -falafel@^2.1.0: - version "2.2.5" - resolved "https://registry.yarnpkg.com/falafel/-/falafel-2.2.5.tgz#3ccb4970a09b094e9e54fead2deee64b4a589d56" - integrity sha512-HuC1qF9iTnHDnML9YZAdCDQwT0yKl/U55K4XSUXqGAA2GLoafFgWRqdAbhWJxXaYD4pyoVxAJ8wH670jMpI9DQ== - dependencies: - acorn "^7.1.1" - isarray "^2.0.1" - -fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-glob@^3.2.9: - version "3.3.1" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" - integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== - 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" - -fast-isnumeric@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/fast-isnumeric/-/fast-isnumeric-1.1.4.tgz#e165786ff471c439e9ace2b8c8e66cceb47e2ea4" - integrity sha512-1mM8qOr2LYz8zGaUdmiqRDiuue00Dxjgcb1NQR7TnhLVh6sQyngP9xvLo7Sl7LZpP/sk5eb+bcyWXw530NTBZw== - dependencies: - is-string-blank "^1.0.1" - -fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== - -fastq@^1.6.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" - integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== - dependencies: - reusify "^1.0.4" - -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" - integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== - dependencies: - flat-cache "^3.0.4" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -flat-cache@^3.0.4: - version "3.1.1" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b" - integrity sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q== - dependencies: - flatted "^3.2.9" - keyv "^4.5.3" - rimraf "^3.0.2" - -flatted@^3.2.9: - version "3.2.9" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" - integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== - -flatten-vertex-data@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz#889fd60bea506006ca33955ee1105175fb620219" - integrity sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw== - dependencies: - dtype "^2.0.0" - -follow-redirects@^1.15.0: - version "1.15.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" - integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== - -font-atlas@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/font-atlas/-/font-atlas-2.1.0.tgz#aa2d6dcf656a6c871d66abbd3dfbea2f77178348" - integrity sha512-kP3AmvX+HJpW4w3d+PiPR2X6E1yvsBXt2yhuCw+yReO9F1WYhvZwx3c95DGZGwg9xYzDGrgJYa885xmVA+28Cg== - dependencies: - css-font "^1.0.0" - -font-measure@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/font-measure/-/font-measure-1.2.2.tgz#41dbdac5d230dbf4db08865f54da28a475e83026" - integrity sha512-mRLEpdrWzKe9hbfaF3Qpr06TAjquuBVP5cHy4b3hyeNdjc9i0PO6HniGsX5vjL5OWv7+Bd++NiooNpT/s8BvIA== - dependencies: - css-font "^1.2.0" - -form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -from2@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - -geojson-vt@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.2.1.tgz#f8adb614d2c1d3f6ee7c4265cad4bbf3ad60c8b7" - integrity sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg== - -get-canvas-context@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/get-canvas-context/-/get-canvas-context-1.0.2.tgz#d6e7b50bc4e4c86357cd39f22647a84b73601e93" - integrity sha512-LnpfLf/TNzr9zVOGiIY6aKCz8EKuXmlYNV7CM2pUjBa/B+c2I15tS7KLySep75+FuerJdmArvJLcsAXWEy2H0A== - -get-stream@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -gl-mat4@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/gl-mat4/-/gl-mat4-1.2.0.tgz#49d8a7636b70aa00819216635f4a3fd3f4669b26" - integrity sha512-sT5C0pwB1/e9G9AvAoLsoaJtbMGjfd/jfxo8jMCKqYYEnjZuFvqV5rehqar0538EmssjdDeiEWnKyBSTw7quoA== - -gl-matrix@^3.2.1: - version "3.4.3" - resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-3.4.3.tgz#fc1191e8320009fd4d20e9339595c6041ddc22c9" - integrity sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA== - -gl-text@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/gl-text/-/gl-text-1.3.1.tgz#f36594464101b5b053178d6d219c3d08fb9144c8" - integrity sha512-/f5gcEMiZd+UTBJLTl3D+CkCB/0UFGTx3nflH8ZmyWcLkZhsZ1+Xx5YYkw2rgWAzgPeE35xCqBuHSoMKQVsR+w== - dependencies: - bit-twiddle "^1.0.2" - color-normalize "^1.5.0" - css-font "^1.2.0" - detect-kerning "^2.1.2" - es6-weak-map "^2.0.3" - flatten-vertex-data "^1.0.2" - font-atlas "^2.1.0" - font-measure "^1.2.2" - gl-util "^3.1.2" - is-plain-obj "^1.1.0" - object-assign "^4.1.1" - parse-rect "^1.2.0" - parse-unit "^1.0.1" - pick-by-alias "^1.2.0" - regl "^2.0.0" - to-px "^1.0.1" - typedarray-pool "^1.1.0" - -gl-util@^3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/gl-util/-/gl-util-3.1.3.tgz#1e9a724f844b802597c6e30565d4c1e928546861" - integrity sha512-dvRTggw5MSkJnCbh74jZzSoTOGnVYK+Bt+Ckqm39CVcl6+zSsxqWk4lr5NKhkqXHL6qvZAU9h17ZF8mIskY9mA== - dependencies: - is-browser "^2.0.1" - is-firefox "^1.0.3" - is-plain-obj "^1.1.0" - number-is-integer "^1.0.1" - object-assign "^4.1.0" - pick-by-alias "^1.2.0" - weak-map "^1.0.5" - -glob-parent@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -glob-parent@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" - integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== - dependencies: - is-glob "^4.0.3" - -glob@^7.1.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - 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" - -globals@^13.19.0: - version "13.23.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" - integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA== - dependencies: - type-fest "^0.20.2" - -globby@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -glsl-inject-defines@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/glsl-inject-defines/-/glsl-inject-defines-1.0.3.tgz#dd1aacc2c17fcb2bd3fc32411c6633d0d7b60fd4" - integrity sha512-W49jIhuDtF6w+7wCMcClk27a2hq8znvHtlGnrYkSWEr8tHe9eA2dcnohlcAmxLYBSpSSdzOkRdyPTrx9fw49+A== - dependencies: - glsl-token-inject-block "^1.0.0" - glsl-token-string "^1.0.1" - glsl-tokenizer "^2.0.2" - -glsl-resolve@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/glsl-resolve/-/glsl-resolve-0.0.1.tgz#894bef73910d792c81b5143180035d0a78af76d3" - integrity sha512-xxFNsfnhZTK9NBhzJjSBGX6IOqYpvBHxxmo+4vapiljyGNCY0Bekzn0firQkQrazK59c1hYxMDxYS8MDlhw4gA== - dependencies: - resolve "^0.6.1" - xtend "^2.1.2" - -glsl-token-assignments@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/glsl-token-assignments/-/glsl-token-assignments-2.0.2.tgz#a5d82ab78499c2e8a6b83cb69495e6e665ce019f" - integrity sha512-OwXrxixCyHzzA0U2g4btSNAyB2Dx8XrztY5aVUCjRSh4/D0WoJn8Qdps7Xub3sz6zE73W3szLrmWtQ7QMpeHEQ== - -glsl-token-defines@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/glsl-token-defines/-/glsl-token-defines-1.0.0.tgz#cb892aa959936231728470d4f74032489697fa9d" - integrity sha512-Vb5QMVeLjmOwvvOJuPNg3vnRlffscq2/qvIuTpMzuO/7s5kT+63iL6Dfo2FYLWbzuiycWpbC0/KV0biqFwHxaQ== - dependencies: - glsl-tokenizer "^2.0.0" - -glsl-token-depth@^1.1.0, glsl-token-depth@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/glsl-token-depth/-/glsl-token-depth-1.1.2.tgz#23c5e30ee2bd255884b4a28bc850b8f791e95d84" - integrity sha512-eQnIBLc7vFf8axF9aoi/xW37LSWd2hCQr/3sZui8aBJnksq9C7zMeUYHVJWMhFzXrBU7fgIqni4EhXVW4/krpg== - -glsl-token-descope@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/glsl-token-descope/-/glsl-token-descope-1.0.2.tgz#0fc90ab326186b82f597b2e77dc9e21efcd32076" - integrity sha512-kS2PTWkvi/YOeicVjXGgX5j7+8N7e56srNDEHDTVZ1dcESmbmpmgrnpjPcjxJjMxh56mSXYoFdZqb90gXkGjQw== - dependencies: - glsl-token-assignments "^2.0.0" - glsl-token-depth "^1.1.0" - glsl-token-properties "^1.0.0" - glsl-token-scope "^1.1.0" - -glsl-token-inject-block@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/glsl-token-inject-block/-/glsl-token-inject-block-1.1.0.tgz#e1015f5980c1091824adaa2625f1dfde8bd00034" - integrity sha512-q/m+ukdUBuHCOtLhSr0uFb/qYQr4/oKrPSdIK2C4TD+qLaJvqM9wfXIF/OOBjuSA3pUoYHurVRNao6LTVVUPWA== - -glsl-token-properties@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz#483dc3d839f0d4b5c6171d1591f249be53c28a9e" - integrity sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA== - -glsl-token-scope@^1.1.0, glsl-token-scope@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/glsl-token-scope/-/glsl-token-scope-1.1.2.tgz#a1728e78df24444f9cb93fd18ef0f75503a643b1" - integrity sha512-YKyOMk1B/tz9BwYUdfDoHvMIYTGtVv2vbDSLh94PT4+f87z21FVdou1KNKgF+nECBTo0fJ20dpm0B1vZB1Q03A== - -glsl-token-string@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/glsl-token-string/-/glsl-token-string-1.0.1.tgz#59441d2f857de7c3449c945666021ece358e48ec" - integrity sha512-1mtQ47Uxd47wrovl+T6RshKGkRRCYWhnELmkEcUAPALWGTFe2XZpH3r45XAwL2B6v+l0KNsCnoaZCSnhzKEksg== - -glsl-token-whitespace-trim@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/glsl-token-whitespace-trim/-/glsl-token-whitespace-trim-1.0.0.tgz#46d1dfe98c75bd7d504c05d7d11b1b3e9cc93b10" - integrity sha512-ZJtsPut/aDaUdLUNtmBYhaCmhIjpKNg7IgZSfX5wFReMc2vnj8zok+gB/3Quqs0TsBSX/fGnqUUYZDqyuc2xLQ== - -glsl-tokenizer@^2.0.0, glsl-tokenizer@^2.0.2: - version "2.1.5" - resolved "https://registry.yarnpkg.com/glsl-tokenizer/-/glsl-tokenizer-2.1.5.tgz#1c2e78c16589933c274ba278d0a63b370c5fee1a" - integrity sha512-XSZEJ/i4dmz3Pmbnpsy3cKh7cotvFlBiZnDOwnj/05EwNp2XrhQ4XKJxT7/pDt4kp4YcpRSKz8eTV7S+mwV6MA== - dependencies: - through2 "^0.6.3" - -glslify-bundle@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/glslify-bundle/-/glslify-bundle-5.1.1.tgz#30d2ddf2e6b935bf44d1299321e3b729782c409a" - integrity sha512-plaAOQPv62M1r3OsWf2UbjN0hUYAB7Aph5bfH58VxJZJhloRNbxOL9tl/7H71K7OLJoSJ2ZqWOKk3ttQ6wy24A== - dependencies: - glsl-inject-defines "^1.0.1" - glsl-token-defines "^1.0.0" - glsl-token-depth "^1.1.1" - glsl-token-descope "^1.0.2" - glsl-token-scope "^1.1.1" - glsl-token-string "^1.0.1" - glsl-token-whitespace-trim "^1.0.0" - glsl-tokenizer "^2.0.2" - murmurhash-js "^1.0.0" - shallow-copy "0.0.1" - -glslify-deps@^1.2.5: - version "1.3.2" - resolved "https://registry.yarnpkg.com/glslify-deps/-/glslify-deps-1.3.2.tgz#c09ee945352bfc07ac2d8a1cc9e3de776328c72b" - integrity sha512-7S7IkHWygJRjcawveXQjRXLO2FTjijPDYC7QfZyAQanY+yGLCFHYnPtsGT9bdyHiwPTw/5a1m1M9hamT2aBpag== - dependencies: - "@choojs/findup" "^0.2.0" - events "^3.2.0" - glsl-resolve "0.0.1" - glsl-tokenizer "^2.0.0" - graceful-fs "^4.1.2" - inherits "^2.0.1" - map-limit "0.0.1" - resolve "^1.0.0" - -glslify@^7.0.0, glslify@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/glslify/-/glslify-7.1.1.tgz#454d9172b410cb49864029c86d5613947fefd30b" - integrity sha512-bud98CJ6kGZcP9Yxcsi7Iz647wuDz3oN+IZsjCRi5X1PI7t/xPKeL0mOwXJjo+CRZMqvq0CkSJiywCcY7kVYog== - dependencies: - bl "^2.2.1" - concat-stream "^1.5.2" - duplexify "^3.4.5" - falafel "^2.1.0" - from2 "^2.3.0" - glsl-resolve "0.0.1" - glsl-token-whitespace-trim "^1.0.0" - glslify-bundle "^5.0.0" - glslify-deps "^1.2.5" - minimist "^1.2.5" - resolve "^1.1.5" - stack-trace "0.0.9" - static-eval "^2.0.5" - through2 "^2.0.1" - xtend "^4.0.0" - -graceful-fs@^4.1.2: - version "4.2.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" - integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== - -graphemer@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" - integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== - -grid-index@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/grid-index/-/grid-index-1.1.0.tgz#97f8221edec1026c8377b86446a7c71e79522ea7" - integrity sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-hover@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-hover/-/has-hover-1.0.1.tgz#3d97437aeb199c62b8ac08acbdc53d3bc52c17f7" - integrity sha512-0G6w7LnlcpyDzpeGUTuT0CEw05+QlMuGVk1IHNAlHrGJITGodjZu3x8BNDUMfKJSZXNB2ZAclqc1bvrd+uUpfg== - dependencies: - is-browser "^2.0.1" - -has-passive-events@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-passive-events/-/has-passive-events-1.0.0.tgz#75fc3dc6dada182c58f24ebbdc018276d1ea3515" - integrity sha512-2vSj6IeIsgvsRMyeQ0JaCX5Q3lX4zMn5HpoVc7MEhQ6pv8Iq9rsXjsp+E5ZwaT7T0xhMT0KmU8gtt1EFVdbJiw== - dependencies: - is-browser "^2.0.1" - -has@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.4.tgz#2eb2860e000011dae4f1406a86fe80e530fb2ec6" - integrity sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ== - -hast-util-from-dom@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/hast-util-from-dom/-/hast-util-from-dom-4.2.0.tgz#25836ddecc3cc0849d32749c2a7aec03e94b59a7" - integrity sha512-t1RJW/OpJbCAJQeKi3Qrj1cAOLA0+av/iPFori112+0X7R3wng+jxLA+kXec8K4szqPRGI8vPxbbpEYvvpwaeQ== - dependencies: - hastscript "^7.0.0" - web-namespaces "^2.0.0" - -hast-util-from-html-isomorphic@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-1.0.0.tgz#592b2bea880d476665b76ca1cf7d1a94925c80ec" - integrity sha512-Yu480AKeOEN/+l5LA674a+7BmIvtDj24GvOt7MtQWuhzUwlaaRWdEPXAh3Qm5vhuthpAipFb2vTetKXWOjmTvw== - dependencies: - "@types/hast" "^2.0.0" - hast-util-from-dom "^4.0.0" - hast-util-from-html "^1.0.0" - unist-util-remove-position "^4.0.0" - -hast-util-from-html@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/hast-util-from-html/-/hast-util-from-html-1.0.2.tgz#2482fd701b2d8270b912b3909d6fb645d4a346cf" - integrity sha512-LhrTA2gfCbLOGJq2u/asp4kwuG0y6NhWTXiPKP+n0qNukKy7hc10whqqCFfyvIA1Q5U5d0sp9HhNim9gglEH4A== - dependencies: - "@types/hast" "^2.0.0" - hast-util-from-parse5 "^7.0.0" - parse5 "^7.0.0" - vfile "^5.0.0" - vfile-message "^3.0.0" - -hast-util-from-parse5@^7.0.0: - version "7.1.2" - resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-7.1.2.tgz#aecfef73e3ceafdfa4550716443e4eb7b02e22b0" - integrity sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw== - dependencies: - "@types/hast" "^2.0.0" - "@types/unist" "^2.0.0" - hastscript "^7.0.0" - property-information "^6.0.0" - vfile "^5.0.0" - vfile-location "^4.0.0" - web-namespaces "^2.0.0" - -hast-util-is-element@^2.0.0: - version "2.1.3" - resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-2.1.3.tgz#cd3279cfefb70da6d45496068f020742256fc471" - integrity sha512-O1bKah6mhgEq2WtVMk+Ta5K7pPMqsBBlmzysLdcwKVrqzZQ0CHqUPiIVspNhAG1rvxpvJjtGee17XfauZYKqVA== - dependencies: - "@types/hast" "^2.0.0" - "@types/unist" "^2.0.0" - -hast-util-parse-selector@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz#25ab00ae9e75cbc62cf7a901f68a247eade659e2" - integrity sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA== - dependencies: - "@types/hast" "^2.0.0" - -hast-util-to-text@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/hast-util-to-text/-/hast-util-to-text-3.1.2.tgz#ecf30c47141f41e91a5d32d0b1e1859fd2ac04f2" - integrity sha512-tcllLfp23dJJ+ju5wCCZHVpzsQQ43+moJbqVX3jNWPB7z/KFC4FyZD6R7y94cHL6MQ33YtMZL8Z0aIXXI4XFTw== - dependencies: - "@types/hast" "^2.0.0" - "@types/unist" "^2.0.0" - hast-util-is-element "^2.0.0" - unist-util-find-after "^4.0.0" - -hast-util-whitespace@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz#0ec64e257e6fc216c7d14c8a1b74d27d650b4557" - integrity sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng== - -hastscript@^7.0.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-7.2.0.tgz#0eafb7afb153d047077fa2a833dc9b7ec604d10b" - integrity sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw== - dependencies: - "@types/hast" "^2.0.0" - comma-separated-tokens "^2.0.0" - hast-util-parse-selector "^3.0.0" - property-information "^6.0.0" - space-separated-tokens "^2.0.0" - -hsluv@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/hsluv/-/hsluv-0.0.3.tgz#829107dafb4a9f8b52a1809ed02e091eade6754c" - integrity sha512-08iL2VyCRbkQKBySkSh6m8zMUa3sADAxGVWs3Z1aPcUkTJeK0ETG4Fc27tEmQBGUAXZjIsXOZqBvacuVNSC/fQ== - -iconv-lite@^0.4.4: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -ieee754@^1.1.12, ieee754@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore@^5.2.0: - version "5.2.4" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" - integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== - -import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" - integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -inline-style-parser@0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz#ec8a3b429274e9c0a1f1c4ffa9453a7fef72cea1" - integrity sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q== - -is-browser@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-browser/-/is-browser-2.1.0.tgz#fc084d59a5fced307d6708c59356bad7007371a9" - integrity sha512-F5rTJxDQ2sW81fcfOR1GnCXT6sVJC104fCyfj+mjpwNEwaPYSn5fte5jiHmBg3DHsIoL/l8Kvw5VN5SsTRcRFQ== - -is-buffer@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" - integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== - -is-core-module@^2.13.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" - integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== - dependencies: - has "^1.0.3" - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-finite@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.1.0.tgz#904135c77fb42c0641d6aa1bcdbc4daa8da082f3" - integrity sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== - -is-firefox@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-firefox/-/is-firefox-1.0.3.tgz#2a2a1567783a417f6e158323108f3861b0918562" - integrity sha512-6Q9ITjvWIm0Xdqv+5U12wgOKEM2KoBw4Y926m0OFkvlCxnbG94HKAsVz8w3fWcfAS5YA2fJORXX1dLrkprCCxA== - -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-iexplorer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-iexplorer/-/is-iexplorer-1.0.0.tgz#1d72bc66d3fe22eaf6170dda8cf10943248cfc76" - integrity sha512-YeLzceuwg3K6O0MLM3UyUUjKAlyULetwryFp1mHy1I5PfArK0AEqlfa+MR4gkJjcbuJXoDJCvXbyqZVf5CR2Sg== - -is-mobile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-mobile/-/is-mobile-4.0.0.tgz#bba396eb9656e2739afde3053d7191da310fc758" - integrity sha512-mlcHZA84t1qLSuWkt2v0I2l61PYdyQDt4aG1mLIXF5FDMm4+haBCxCPYSr/uwqQNRk1MiTizn0ypEuRAOLRAew== - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-obj@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - integrity sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg== - -is-path-inside@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" - integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== - -is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== - -is-plain-obj@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0" - integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg== - -is-string-blank@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-string-blank/-/is-string-blank-1.0.1.tgz#866dca066d41d2894ebdfd2d8fe93e586e583a03" - integrity sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw== - -is-svg-path@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-svg-path/-/is-svg-path-1.0.2.tgz#77ab590c12b3d20348e5c7a13d0040c87784dda0" - integrity sha512-Lj4vePmqpPR1ZnRctHv8ltSh1OrSxHkhUkd7wi+VQdcdP15/KvQFyk7LhNuM7ZW0EVbJz8kZLVmL9quLrfq4Kg== - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== - -isarray@^2.0.1: - version "2.0.5" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" - integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== - -isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -"js-tokens@^3.0.0 || ^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - -json-buffer@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" - integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== - -katex@^0.13.0: - version "0.13.24" - resolved "https://registry.yarnpkg.com/katex/-/katex-0.13.24.tgz#fe55455eb455698cb24b911a353d16a3c855d905" - integrity sha512-jZxYuKCma3VS5UuxOx/rFV1QyGSl3Uy/i0kTJF3HgQ5xMinCQVF8Zd4bMY/9aI9b9A2pjIBOsjSSm68ykTAr8w== - dependencies: - commander "^8.0.0" - -katex@^0.16.0: - version "0.16.9" - resolved "https://registry.yarnpkg.com/katex/-/katex-0.16.9.tgz#bc62d8f7abfea6e181250f85a56e4ef292dcb1fa" - integrity sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ== - dependencies: - commander "^8.3.0" - -kdbush@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/kdbush/-/kdbush-3.0.0.tgz#f8484794d47004cc2d85ed3a79353dbe0abc2bf0" - integrity sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew== - -keyv@^4.5.3: - version "4.5.4" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" - integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== - dependencies: - json-buffer "3.0.1" - -kleur@^4.0.3: - version "4.1.5" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" - integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== - -levn@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" - integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== - dependencies: - prelude-ls "^1.2.1" - type-check "~0.4.0" - -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA== - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - -lodash.merge@^4.6.2: - version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - -longest-streak@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" - integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== - -loose-envify@^1.1.0, loose-envify@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - dependencies: - yallist "^4.0.0" - -map-limit@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/map-limit/-/map-limit-0.0.1.tgz#eb7961031c0f0e8d001bf2d56fab685d58822f38" - integrity sha512-pJpcfLPnIF/Sk3taPW21G/RQsEEirGaFpCW3oXRwH9dnFHPHNGjNyvh++rdmC2fNqEaTw2MhYJraoJWAHx8kEg== - dependencies: - once "~1.3.0" - -mapbox-gl@1.10.1: - version "1.10.1" - resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-1.10.1.tgz#7dbd53bdf2f78e45e125c1115e94dea286ef663c" - integrity sha512-0aHt+lFUpYfvh0kMIqXqNXqoYMuhuAsMlw87TbhWrw78Tx2zfuPI0Lx31/YPUgJ+Ire0tzQ4JnuBL7acDNXmMg== - dependencies: - "@mapbox/geojson-rewind" "^0.5.0" - "@mapbox/geojson-types" "^1.0.2" - "@mapbox/jsonlint-lines-primitives" "^2.0.2" - "@mapbox/mapbox-gl-supported" "^1.5.0" - "@mapbox/point-geometry" "^0.1.0" - "@mapbox/tiny-sdf" "^1.1.1" - "@mapbox/unitbezier" "^0.0.0" - "@mapbox/vector-tile" "^1.3.1" - "@mapbox/whoots-js" "^3.1.0" - csscolorparser "~1.0.3" - earcut "^2.2.2" - geojson-vt "^3.2.1" - gl-matrix "^3.2.1" - grid-index "^1.1.0" - minimist "^1.2.5" - murmurhash-js "^1.0.0" - pbf "^3.2.1" - potpack "^1.0.1" - quickselect "^2.0.0" - rw "^1.3.3" - supercluster "^7.0.0" - tinyqueue "^2.0.3" - vt-pbf "^3.1.1" - -math-log2@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/math-log2/-/math-log2-1.0.1.tgz#fb8941be5f5ebe8979e718e6273b178e58694565" - integrity sha512-9W0yGtkaMAkf74XGYVy4Dqw3YUMnTNB2eeiw9aQbUl4A3KmuCEHTt2DgAB07ENzOYAjsYSAYufkAq0Zd+jU7zA== - -mdast-util-definitions@^5.0.0: - version "5.1.2" - resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz#9910abb60ac5d7115d6819b57ae0bcef07a3f7a7" - integrity sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA== - dependencies: - "@types/mdast" "^3.0.0" - "@types/unist" "^2.0.0" - unist-util-visit "^4.0.0" - -mdast-util-from-markdown@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz#9421a5a247f10d31d2faed2a30df5ec89ceafcf0" - integrity sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww== - dependencies: - "@types/mdast" "^3.0.0" - "@types/unist" "^2.0.0" - decode-named-character-reference "^1.0.0" - mdast-util-to-string "^3.1.0" - micromark "^3.0.0" - micromark-util-decode-numeric-character-reference "^1.0.0" - micromark-util-decode-string "^1.0.0" - micromark-util-normalize-identifier "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - unist-util-stringify-position "^3.0.0" - uvu "^0.5.0" - -mdast-util-math@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/mdast-util-math/-/mdast-util-math-2.0.2.tgz#19a06a81f31643f48cc805e7c31edb7ce739242c" - integrity sha512-8gmkKVp9v6+Tgjtq6SYx9kGPpTf6FVYRa53/DLh479aldR9AyP48qeVOgNZ5X7QUK7nOy4yw7vg6mbiGcs9jWQ== - dependencies: - "@types/mdast" "^3.0.0" - longest-streak "^3.0.0" - mdast-util-to-markdown "^1.3.0" - -mdast-util-phrasing@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-3.0.1.tgz#c7c21d0d435d7fb90956038f02e8702781f95463" - integrity sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg== - dependencies: - "@types/mdast" "^3.0.0" - unist-util-is "^5.0.0" - -mdast-util-to-hast@^12.1.0: - version "12.3.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz#045d2825fb04374e59970f5b3f279b5700f6fb49" - integrity sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw== - dependencies: - "@types/hast" "^2.0.0" - "@types/mdast" "^3.0.0" - mdast-util-definitions "^5.0.0" - micromark-util-sanitize-uri "^1.1.0" - trim-lines "^3.0.0" - unist-util-generated "^2.0.0" - unist-util-position "^4.0.0" - unist-util-visit "^4.0.0" - -mdast-util-to-markdown@^1.3.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6" - integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A== - dependencies: - "@types/mdast" "^3.0.0" - "@types/unist" "^2.0.0" - longest-streak "^3.0.0" - mdast-util-phrasing "^3.0.0" - mdast-util-to-string "^3.0.0" - micromark-util-decode-string "^1.0.0" - unist-util-visit "^4.0.0" - zwitch "^2.0.0" - -mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.2.0.tgz#66f7bb6324756741c5f47a53557f0cbf16b6f789" - integrity sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg== - dependencies: - "@types/mdast" "^3.0.0" - -merge2@^1.3.0, merge2@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -micromark-core-commonmark@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-1.1.0.tgz#1386628df59946b2d39fb2edfd10f3e8e0a75bb8" - integrity sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-factory-destination "^1.0.0" - micromark-factory-label "^1.0.0" - micromark-factory-space "^1.0.0" - micromark-factory-title "^1.0.0" - micromark-factory-whitespace "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-chunked "^1.0.0" - micromark-util-classify-character "^1.0.0" - micromark-util-html-tag-name "^1.0.0" - micromark-util-normalize-identifier "^1.0.0" - micromark-util-resolve-all "^1.0.0" - micromark-util-subtokenize "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.1" - uvu "^0.5.0" - -micromark-extension-math@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/micromark-extension-math/-/micromark-extension-math-2.1.2.tgz#52c70cc8266cd20ada1ef5a479bfed9a19b789bf" - integrity sha512-es0CcOV89VNS9wFmyn+wyFTKweXGW4CEvdaAca6SWRWPyYCbBisnjaHLjWO4Nszuiud84jCpkHsqAJoa768Pvg== - dependencies: - "@types/katex" "^0.16.0" - katex "^0.16.0" - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - -micromark-factory-destination@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-1.1.0.tgz#eb815957d83e6d44479b3df640f010edad667b9f" - integrity sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-label@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-1.1.0.tgz#cc95d5478269085cfa2a7282b3de26eb2e2dec68" - integrity sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - -micromark-factory-space@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz#c8f40b0640a0150751d3345ed885a080b0d15faf" - integrity sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-title@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-1.1.0.tgz#dd0fe951d7a0ac71bdc5ee13e5d1465ad7f50ea1" - integrity sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ== - dependencies: - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-whitespace@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.1.0.tgz#798fb7489f4c8abafa7ca77eed6b5745853c9705" - integrity sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ== - dependencies: - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-character@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-1.2.0.tgz#4fedaa3646db249bc58caeb000eb3549a8ca5dcc" - integrity sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg== - dependencies: - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-chunked@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-1.1.0.tgz#37a24d33333c8c69a74ba12a14651fd9ea8a368b" - integrity sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ== - dependencies: - micromark-util-symbol "^1.0.0" - -micromark-util-classify-character@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-1.1.0.tgz#6a7f8c8838e8a120c8e3c4f2ae97a2bff9190e9d" - integrity sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-combine-extensions@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.1.0.tgz#192e2b3d6567660a85f735e54d8ea6e3952dbe84" - integrity sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA== - dependencies: - micromark-util-chunked "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-decode-numeric-character-reference@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.1.0.tgz#b1e6e17009b1f20bc652a521309c5f22c85eb1c6" - integrity sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw== - dependencies: - micromark-util-symbol "^1.0.0" - -micromark-util-decode-string@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-1.1.0.tgz#dc12b078cba7a3ff690d0203f95b5d5537f2809c" - integrity sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-decode-numeric-character-reference "^1.0.0" - micromark-util-symbol "^1.0.0" - -micromark-util-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-1.1.0.tgz#92e4f565fd4ccb19e0dcae1afab9a173bbeb19a5" - integrity sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw== - -micromark-util-html-tag-name@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.2.0.tgz#48fd7a25826f29d2f71479d3b4e83e94829b3588" - integrity sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q== - -micromark-util-normalize-identifier@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.1.0.tgz#7a73f824eb9f10d442b4d7f120fecb9b38ebf8b7" - integrity sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q== - dependencies: - micromark-util-symbol "^1.0.0" - -micromark-util-resolve-all@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.1.0.tgz#4652a591ee8c8fa06714c9b54cd6c8e693671188" - integrity sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA== - dependencies: - micromark-util-types "^1.0.0" - -micromark-util-sanitize-uri@^1.0.0, micromark-util-sanitize-uri@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.2.0.tgz#613f738e4400c6eedbc53590c67b197e30d7f90d" - integrity sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-encode "^1.0.0" - micromark-util-symbol "^1.0.0" - -micromark-util-subtokenize@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.1.0.tgz#941c74f93a93eaf687b9054aeb94642b0e92edb1" - integrity sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A== - dependencies: - micromark-util-chunked "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - -micromark-util-symbol@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-1.1.0.tgz#813cd17837bdb912d069a12ebe3a44b6f7063142" - integrity sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag== - -micromark-util-types@^1.0.0, micromark-util-types@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.1.0.tgz#e6676a8cae0bb86a2171c498167971886cb7e283" - integrity sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg== - -micromark@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.2.0.tgz#1af9fef3f995ea1ea4ac9c7e2f19c48fd5c006e9" - integrity sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA== - dependencies: - "@types/debug" "^4.0.0" - debug "^4.0.0" - decode-named-character-reference "^1.0.0" - micromark-core-commonmark "^1.0.1" - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-chunked "^1.0.0" - micromark-util-combine-extensions "^1.0.0" - micromark-util-decode-numeric-character-reference "^1.0.0" - micromark-util-encode "^1.0.0" - micromark-util-normalize-identifier "^1.0.0" - micromark-util-resolve-all "^1.0.0" - micromark-util-sanitize-uri "^1.0.0" - micromark-util-subtokenize "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.1" - uvu "^0.5.0" - -micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -minimist@^1.2.5, minimist@^1.2.6: - version "1.2.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -mouse-change@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/mouse-change/-/mouse-change-1.4.0.tgz#c2b77e5bfa34a43ce1445c8157a4e4dc9895c14f" - integrity sha512-vpN0s+zLL2ykyyUDh+fayu9Xkor5v/zRD9jhSqjRS1cJTGS0+oakVZzNm5n19JvvEj0you+MXlYTpNxUDQUjkQ== - dependencies: - mouse-event "^1.0.0" - -mouse-event-offset@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/mouse-event-offset/-/mouse-event-offset-3.0.2.tgz#dfd86a6e248c6ba8cad53b905d5037a2063e9984" - integrity sha512-s9sqOs5B1Ykox3Xo8b3Ss2IQju4UwlW6LSR+Q5FXWpprJ5fzMLefIIItr3PH8RwzfGy6gxs/4GAmiNuZScE25w== - -mouse-event@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/mouse-event/-/mouse-event-1.0.5.tgz#b3789edb7109997d5a932d1d01daa1543a501732" - integrity sha512-ItUxtL2IkeSKSp9cyaX2JLUuKk2uMoxBg4bbOWVd29+CskYJR9BGsUqtXenNzKbnDshvupjUewDIYVrOB6NmGw== - -mouse-wheel@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mouse-wheel/-/mouse-wheel-1.2.0.tgz#6d2903b1ea8fb48e61f1b53b9036773f042cdb5c" - integrity sha512-+OfYBiUOCTWcTECES49neZwL5AoGkXE+lFjIvzwNCnYRlso+EnfvovcBxGoyQ0yQt806eSPjS675K0EwWknXmw== - dependencies: - right-now "^1.0.0" - signum "^1.0.0" - to-px "^1.0.1" - -mri@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" - integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -ms@^2.1.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -mumath@^3.3.4: - version "3.3.4" - resolved "https://registry.yarnpkg.com/mumath/-/mumath-3.3.4.tgz#48d4a0f0fd8cad4e7b32096ee89b161a63d30bbf" - integrity sha512-VAFIOG6rsxoc7q/IaY3jdjmrsuX9f15KlRLYTHmixASBZkZEKC1IFqE2BC5CdhXmK6WLM1Re33z//AGmeRI6FA== - dependencies: - almost-equal "^1.1.0" - -murmurhash-js@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz#b06278e21fc6c37fa5313732b0412bcb6ae15f51" - integrity sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw== - -nanoid@^3.3.6: - version "3.3.6" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" - integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== - -native-promise-only@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/native-promise-only/-/native-promise-only-0.8.1.tgz#20a318c30cb45f71fe7adfbf7b21c99c1472ef11" - integrity sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg== - -natural-compare-lite@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" - integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - -needle@^2.5.2: - version "2.9.1" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.9.1.tgz#22d1dffbe3490c2b83e301f7709b6736cd8f2684" - integrity sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - -next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - -normalize-svg-path@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz#0e614eca23c39f0cffe821d6be6cd17e569a766c" - integrity sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg== - dependencies: - svg-arc-to-cubic-bezier "^3.0.0" - -normalize-svg-path@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/normalize-svg-path/-/normalize-svg-path-0.1.0.tgz#456360e60ece75fbef7b5d7e160480e7ffd16fe5" - integrity sha512-1/kmYej2iedi5+ROxkRESL/pI02pkg0OBnaR4hJkSIX6+ORzepwbuUXfrdZaPjysTsJInj0Rj5NuX027+dMBvA== - -number-is-integer@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-integer/-/number-is-integer-1.0.1.tgz#e59bca172ffed27318e79c7ceb6cb72c095b2152" - integrity sha512-Dq3iuiFBkrbmuQjGFFF3zckXNCQoSD37/SdSbgcBailUx6knDvDwb5CympBgcoWHy36sfS12u74MHYkXyHq6bg== - dependencies: - is-finite "^1.0.1" - -object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -once@^1.3.0, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -once@~1.3.0: - version "1.3.3" - resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" - integrity sha512-6vaNInhu+CHxtONf3zw3vq4SP2DOQhjBvIa3rNcG0+P7eKWlYH6Peu7rHizSloRU2EwMz6GraLieis9Ac9+p1w== - dependencies: - wrappy "1" - -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - -optionator@^0.9.3: - version "0.9.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" - integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== - 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" - -p-limit@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== - dependencies: - callsites "^3.0.0" - -parenthesis@^3.1.5: - version "3.1.8" - resolved "https://registry.yarnpkg.com/parenthesis/-/parenthesis-3.1.8.tgz#3457fccb8f05db27572b841dad9d2630b912f125" - integrity sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw== - -parse-rect@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/parse-rect/-/parse-rect-1.2.0.tgz#e0a5b0dbaaaee637a0a1eb9779969e19399d8dec" - integrity sha512-4QZ6KYbnE6RTwg9E0HpLchUM9EZt6DnDxajFZZDSV4p/12ZJEvPO702DZpGvRYEPo00yKDys7jASi+/w7aO8LA== - dependencies: - pick-by-alias "^1.2.0" - -parse-svg-path@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/parse-svg-path/-/parse-svg-path-0.1.2.tgz#7a7ec0d1eb06fa5325c7d3e009b859a09b5d49eb" - integrity sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ== - -parse-unit@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-unit/-/parse-unit-1.0.1.tgz#7e1bb6d5bef3874c28e392526a2541170291eecf" - integrity sha512-hrqldJHokR3Qj88EIlV/kAyAi/G5R2+R56TBANxNMy0uPlYcttx0jnMW6Yx5KsKPSbC3KddM/7qQm3+0wEXKxg== - -parse5@^7.0.0: - version "7.1.2" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" - integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw== - dependencies: - entities "^4.4.0" - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -pbf@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/pbf/-/pbf-3.2.1.tgz#b4c1b9e72af966cd82c6531691115cc0409ffe2a" - integrity sha512-ClrV7pNOn7rtmoQVF4TS1vyU0WhYRnP92fzbfF75jAIwpnzdJXf8iTd4CMEqO4yUenH6NDqLiwjqlh6QgZzgLQ== - dependencies: - ieee754 "^1.1.12" - resolve-protobuf-schema "^2.1.0" - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== - -pick-by-alias@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pick-by-alias/-/pick-by-alias-1.2.0.tgz#5f7cb2b1f21a6e1e884a0c87855aa4a37361107b" - integrity sha512-ESj2+eBxhGrcA1azgHs7lARG5+5iLakc/6nlfbpjcLl00HuuUOIuORhYXN4D1HfvMSKuVtFQjAlnwi1JHEeDIw== - -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - -picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -plotly.js@^2.22.0: - version "2.26.2" - resolved "https://registry.yarnpkg.com/plotly.js/-/plotly.js-2.26.2.tgz#b61f0e7c4b6beb2a86dde3f9b89478ac06731417" - integrity sha512-HJv4n1I1SFTmY1+kzkLzrRyqqWVJ6r0JekvPKP0XtxITr8jugMJNJBFiErlKiPvSz8hcDEMwys5QIdFsK57KYw== - dependencies: - "@plotly/d3" "3.8.1" - "@plotly/d3-sankey" "0.7.2" - "@plotly/d3-sankey-circular" "0.33.1" - "@turf/area" "^6.4.0" - "@turf/bbox" "^6.4.0" - "@turf/centroid" "^6.0.2" - canvas-fit "^1.5.0" - color-alpha "1.0.4" - color-normalize "1.5.0" - color-parse "1.3.8" - color-rgba "2.1.1" - country-regex "^1.1.0" - d3-force "^1.2.1" - d3-format "^1.4.5" - d3-geo "^1.12.1" - d3-geo-projection "^2.9.0" - d3-hierarchy "^1.1.9" - d3-interpolate "^3.0.1" - d3-time "^1.1.0" - d3-time-format "^2.2.3" - fast-isnumeric "^1.1.4" - gl-mat4 "^1.2.0" - gl-text "^1.3.1" - glslify "^7.1.1" - has-hover "^1.0.1" - has-passive-events "^1.0.0" - is-mobile "^4.0.0" - mapbox-gl "1.10.1" - mouse-change "^1.4.0" - mouse-event-offset "^3.0.2" - mouse-wheel "^1.2.0" - native-promise-only "^0.8.1" - parse-svg-path "^0.1.2" - point-in-polygon "^1.1.0" - polybooljs "^1.2.0" - probe-image-size "^7.2.3" - regl "npm:@plotly/regl@^2.1.2" - regl-error2d "^2.0.12" - regl-line2d "^3.1.2" - regl-scatter2d "^3.2.9" - regl-splom "^1.0.14" - strongly-connected-components "^1.0.1" - superscript-text "^1.0.0" - svg-path-sdf "^1.1.3" - tinycolor2 "^1.4.2" - to-px "1.0.1" - topojson-client "^3.1.0" - webgl-context "^2.2.0" - world-calendars "^1.0.3" - -point-in-polygon@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/point-in-polygon/-/point-in-polygon-1.1.0.tgz#b0af2616c01bdee341cbf2894df643387ca03357" - integrity sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw== - -polybooljs@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/polybooljs/-/polybooljs-1.2.0.tgz#b4390c2e079d4c262d3b2504c6288d95ba7a4758" - integrity sha512-mKjR5nolISvF+q2BtC1fi/llpxBPTQ3wLWN8+ldzdw2Hocpc8C72ZqnamCM4Z6z+68GVVjkeM01WJegQmZ8MEQ== - -postcss@^8.4.27: - version "8.4.31" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d" - integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ== - dependencies: - nanoid "^3.3.6" - picocolors "^1.0.0" - source-map-js "^1.0.2" - -potpack@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/potpack/-/potpack-1.0.2.tgz#23b99e64eb74f5741ffe7656b5b5c4ddce8dfc14" - integrity sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ== - -prelude-ls@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" - integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== - -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== - -probe-image-size@^7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/probe-image-size/-/probe-image-size-7.2.3.tgz#d49c64be540ec8edea538f6f585f65a9b3ab4309" - integrity sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w== - dependencies: - lodash.merge "^4.6.2" - needle "^2.5.2" - stream-parser "~0.3.1" - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -prop-types@^15.0.0, prop-types@^15.8.1: - version "15.8.1" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" - integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== - dependencies: - loose-envify "^1.4.0" - object-assign "^4.1.1" - react-is "^16.13.1" - -property-information@^6.0.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.3.0.tgz#ba4a06ec6b4e1e90577df9931286953cdf4282c3" - integrity sha512-gVNZ74nqhRMiIUYWGQdosYetaKc83x8oT41a0LlV3AAFCAZwCpg4vmGkq8t34+cUhp3cnM4XDiU/7xlgK7HGrg== - -protocol-buffers-schema@^3.3.1: - version "3.6.0" - resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz#77bc75a48b2ff142c1ad5b5b90c94cd0fa2efd03" - integrity sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw== - -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - -punycode@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== - -queue-microtask@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -quickselect@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-2.0.0.tgz#f19680a486a5eefb581303e023e98faaf25dd018" - integrity sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw== - -raf@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39" - integrity sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA== - dependencies: - performance-now "^2.1.0" - -react-dom@^18.2.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" - integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== - dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.0" - -react-is@^16.13.1: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - -react-is@^18.0.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== - -react-latex-next@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/react-latex-next/-/react-latex-next-2.2.0.tgz#8f4839adfebe3ba70c05ef66f2b94112e564a4fa" - integrity sha512-tQqIuC+OQBgiEYQObDZeHugVy+gtiWdLnAb3hWbo4jlchLF8FR0tIAErtJz7t4VA2VO03rRr8LwSZVTGu0cCxg== - dependencies: - katex "^0.13.0" - -react-markdown@^8.0.7: - version "8.0.7" - resolved "https://registry.yarnpkg.com/react-markdown/-/react-markdown-8.0.7.tgz#c8dbd1b9ba5f1c5e7e5f2a44de465a3caafdf89b" - integrity sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ== - dependencies: - "@types/hast" "^2.0.0" - "@types/prop-types" "^15.0.0" - "@types/unist" "^2.0.0" - comma-separated-tokens "^2.0.0" - hast-util-whitespace "^2.0.0" - prop-types "^15.0.0" - property-information "^6.0.0" - react-is "^18.0.0" - remark-parse "^10.0.0" - remark-rehype "^10.0.0" - space-separated-tokens "^2.0.0" - style-to-object "^0.4.0" - unified "^10.0.0" - unist-util-visit "^4.0.0" - vfile "^5.0.0" - -react-plotly.js@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/react-plotly.js/-/react-plotly.js-2.6.0.tgz#ad6b68ee64f1b5cfa142ee92c59687f9c2c09209" - integrity sha512-g93xcyhAVCSt9kV1svqG1clAEdL6k3U+jjuSzfTV7owaSU9Go6Ph8bl25J+jKfKvIGAEYpe4qj++WHJuc9IaeA== - dependencies: - prop-types "^15.8.1" - -react@^18.2.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" - integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== - dependencies: - loose-envify "^1.1.0" - -"readable-stream@>=1.0.33-1 <1.1.0-0": - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readable-stream@^2.0.0, readable-stream@^2.2.2, readable-stream@^2.3.5, readable-stream@~2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" - integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -regl-error2d@^2.0.12: - version "2.0.12" - resolved "https://registry.yarnpkg.com/regl-error2d/-/regl-error2d-2.0.12.tgz#3b976e13fe641d5242a154fcacc80aecfa0a9881" - integrity sha512-r7BUprZoPO9AbyqM5qlJesrSRkl+hZnVKWKsVp7YhOl/3RIpi4UDGASGJY0puQ96u5fBYw/OlqV24IGcgJ0McA== - dependencies: - array-bounds "^1.0.1" - color-normalize "^1.5.0" - flatten-vertex-data "^1.0.2" - object-assign "^4.1.1" - pick-by-alias "^1.2.0" - to-float32 "^1.1.0" - update-diff "^1.1.0" - -regl-line2d@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/regl-line2d/-/regl-line2d-3.1.2.tgz#2bedef7f44c1f7fae75c90f9918258723ca84c1c" - integrity sha512-nmT7WWS/WxmXAQMkgaMKWXaVmwJ65KCrjbqHGOUjjqQi6shfT96YbBOvelXwO9hG7/hjvbzjtQ2UO0L3e7YaXQ== - dependencies: - array-bounds "^1.0.1" - array-find-index "^1.0.2" - array-normalize "^1.1.4" - color-normalize "^1.5.0" - earcut "^2.1.5" - es6-weak-map "^2.0.3" - flatten-vertex-data "^1.0.2" - glslify "^7.0.0" - object-assign "^4.1.1" - parse-rect "^1.2.0" - pick-by-alias "^1.2.0" - to-float32 "^1.1.0" - -regl-scatter2d@^3.2.3, regl-scatter2d@^3.2.9: - version "3.2.9" - resolved "https://registry.yarnpkg.com/regl-scatter2d/-/regl-scatter2d-3.2.9.tgz#cd27b014c355e80d96fb2f273b563fd8f1b094f0" - integrity sha512-PNrXs+xaCClKpiB2b3HZ2j3qXQXhC5kcTh/Nfgx9rLO0EpEhab0BSQDqAsbdbpdf+pSHSJvbgitB7ulbGeQ+Fg== - dependencies: - "@plotly/point-cluster" "^3.1.9" - array-range "^1.0.1" - array-rearrange "^2.2.2" - clamp "^1.0.1" - color-id "^1.1.0" - color-normalize "^1.5.0" - color-rgba "^2.1.1" - flatten-vertex-data "^1.0.2" - glslify "^7.0.0" - is-iexplorer "^1.0.0" - object-assign "^4.1.1" - parse-rect "^1.2.0" - pick-by-alias "^1.2.0" - to-float32 "^1.1.0" - update-diff "^1.1.0" - -regl-splom@^1.0.14: - version "1.0.14" - resolved "https://registry.yarnpkg.com/regl-splom/-/regl-splom-1.0.14.tgz#58800b7bbd7576aa323499a1966868a6c9ea1456" - integrity sha512-OiLqjmPRYbd7kDlHC6/zDf6L8lxgDC65BhC8JirhP4ykrK4x22ZyS+BnY8EUinXKDeMgmpRwCvUmk7BK4Nweuw== - dependencies: - array-bounds "^1.0.1" - array-range "^1.0.1" - color-alpha "^1.0.4" - flatten-vertex-data "^1.0.2" - parse-rect "^1.2.0" - pick-by-alias "^1.2.0" - raf "^3.4.1" - regl-scatter2d "^3.2.3" - -regl@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/regl/-/regl-2.1.0.tgz#7dae71e9ff20f29c4f42f510c70cd92ebb6b657c" - integrity sha512-oWUce/aVoEvW5l2V0LK7O5KJMzUSKeiOwFuJehzpSFd43dO5spP9r+sSUfhKtsky4u6MCqWJaRL+abzExynfTg== - -"regl@npm:@plotly/regl@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@plotly/regl/-/regl-2.1.2.tgz#fd31e3e820ed8824d59a67ab5e766bb101b810b6" - integrity sha512-Mdk+vUACbQvjd0m/1JJjOOafmkp/EpmHjISsopEz5Av44CBq7rPC05HHNbYGKVyNUF2zmEoBS/TT0pd0SPFFyw== - -rehype-katex@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/rehype-katex/-/rehype-katex-6.0.3.tgz#83e5b929b0967978e9491c02117f55be3594d7e1" - integrity sha512-ByZlRwRUcWegNbF70CVRm2h/7xy7jQ3R9LaY4VVSvjnoVWwWVhNL60DiZsBpC5tSzYQOCvDbzncIpIjPZWodZA== - dependencies: - "@types/hast" "^2.0.0" - "@types/katex" "^0.14.0" - hast-util-from-html-isomorphic "^1.0.0" - hast-util-to-text "^3.1.0" - katex "^0.16.0" - unist-util-visit "^4.0.0" - -remark-math@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/remark-math/-/remark-math-5.1.1.tgz#459e798d978d4ca032e745af0bac81ddcdf94964" - integrity sha512-cE5T2R/xLVtfFI4cCePtiRn+e6jKMtFDR3P8V3qpv8wpKjwvHoBA4eJzvX+nVrnlNy0911bdGmuspCSwetfYHw== - dependencies: - "@types/mdast" "^3.0.0" - mdast-util-math "^2.0.0" - micromark-extension-math "^2.0.0" - unified "^10.0.0" - -remark-parse@^10.0.0: - version "10.0.2" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-10.0.2.tgz#ca241fde8751c2158933f031a4e3efbaeb8bc262" - integrity sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw== - dependencies: - "@types/mdast" "^3.0.0" - mdast-util-from-markdown "^1.0.0" - unified "^10.0.0" - -remark-rehype@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/remark-rehype/-/remark-rehype-10.1.0.tgz#32dc99d2034c27ecaf2e0150d22a6dcccd9a6279" - integrity sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw== - dependencies: - "@types/hast" "^2.0.0" - "@types/mdast" "^3.0.0" - mdast-util-to-hast "^12.1.0" - unified "^10.0.0" - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve-protobuf-schema@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz#9ca9a9e69cf192bbdaf1006ec1973948aa4a3758" - integrity sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ== - dependencies: - protocol-buffers-schema "^3.3.1" - -resolve@^0.6.1: - version "0.6.3" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-0.6.3.tgz#dd957982e7e736debdf53b58a4dd91754575dd46" - integrity sha512-UHBY3viPlJKf85YijDUcikKX6tmF4SokIDp518ZDVT92JNDcG5uKIthaT/owt3Sar0lwtOafsQuwrg22/v2Dwg== - -resolve@^1.0.0, resolve@^1.1.10, resolve@^1.1.5: - version "1.22.8" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" - integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== - dependencies: - is-core-module "^2.13.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -right-now@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/right-now/-/right-now-1.0.0.tgz#6e89609deebd7dcdaf8daecc9aea39cf585a0918" - integrity sha512-DA8+YS+sMIVpbsuKgy+Z67L9Lxb1p05mNxRpDPNksPDEFir4vmBlUtuN9jkTGn9YMMdlBuK7XQgFiz6ws+yhSg== - -rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rollup@^3.27.1: - version "3.29.4" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.29.4.tgz#4d70c0f9834146df8705bfb69a9a19c9e1109981" - integrity sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw== - optionalDependencies: - fsevents "~2.3.2" - -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== - dependencies: - queue-microtask "^1.2.2" - -rw@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4" - integrity sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ== - -sade@^1.7.3: - version "1.8.1" - resolved "https://registry.yarnpkg.com/sade/-/sade-1.8.1.tgz#0a78e81d658d394887be57d2a409bf703a3b2701" - integrity sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A== - dependencies: - mri "^1.1.0" - -safe-buffer@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -"safer-buffer@>= 2.1.2 < 3": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -sax@^1.2.4: - version "1.3.0" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.3.0.tgz#a5dbe77db3be05c9d1ee7785dbd3ea9de51593d0" - integrity sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA== - -scheduler@^0.23.0: - version "0.23.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" - integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== - dependencies: - loose-envify "^1.1.0" - -semver@^7.3.7: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - -shallow-copy@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/shallow-copy/-/shallow-copy-0.0.1.tgz#415f42702d73d810330292cc5ee86eae1a11a170" - integrity sha512-b6i4ZpVuUxB9h5gfCxPiusKYkqTMOjEbBs4wMaFbkfia4yFv92UKZ6Df8WXcKbn08JNL/abvg3FnMAOfakDvUw== - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -signum@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/signum/-/signum-1.0.0.tgz#74a7d2bf2a20b40eba16a92b152124f1d559fa77" - integrity sha512-yodFGwcyt59XRh7w5W3jPcIQb3Bwi21suEfT7MAWnBX3iCdklJpgDgvGT9o04UonglZN5SNMfJFkHIR/jO8GHw== - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -source-map-js@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" - integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== - -source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -space-separated-tokens@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" - integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== - -stack-trace@0.0.9: - version "0.0.9" - resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.9.tgz#a8f6eaeca90674c333e7c43953f275b451510695" - integrity sha512-vjUc6sfgtgY0dxCdnc40mK6Oftjo9+2K8H/NG81TMhgL392FtiPA9tn9RLyTxXmTLPJPjF3VyzFp6bsWFLisMQ== - -static-eval@^2.0.5: - version "2.1.0" - resolved "https://registry.yarnpkg.com/static-eval/-/static-eval-2.1.0.tgz#a16dbe54522d7fa5ef1389129d813fd47b148014" - integrity sha512-agtxZ/kWSsCkI5E4QifRwsaPs0P0JmZV6dkLz6ILYfFYQGn+5plctanRN+IC8dJRiFkyXHrwEE3W9Wmx67uDbw== - dependencies: - escodegen "^1.11.1" - -stream-parser@~0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/stream-parser/-/stream-parser-0.3.1.tgz#1618548694420021a1182ff0af1911c129761773" - integrity sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ== - dependencies: - debug "2" - -stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" - integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== - -string-split-by@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/string-split-by/-/string-split-by-1.0.0.tgz#53895fb3397ebc60adab1f1e3a131f5372586812" - integrity sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A== - dependencies: - parenthesis "^3.1.5" - -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ== - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -strongly-connected-components@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strongly-connected-components/-/strongly-connected-components-1.0.1.tgz#0920e2b4df67c8eaee96c6b6234fe29e873dba99" - integrity sha512-i0TFx4wPcO0FwX+4RkLJi1MxmcTv90jNZgxMu9XRnMXMeFUY1VJlIoXpZunPUvUUqbCT1pg5PEkFqqpcaElNaA== - -style-to-object@^0.4.0: - version "0.4.3" - resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.4.3.tgz#2c7386e0eac8c3a145be06c572b7c5422c2eaf04" - integrity sha512-RP9icVx0g3Pt0CyNiC2qvBkqMTHD5uBVC2XYcSr/ag8QWKApx/oXEh2ehMGSyzkjK0+ySkukMuO+mz+DNQq57Q== - dependencies: - inline-style-parser "0.1.1" - -supercluster@^7.0.0: - version "7.1.5" - resolved "https://registry.yarnpkg.com/supercluster/-/supercluster-7.1.5.tgz#65a6ce4a037a972767740614c19051b64b8be5a3" - integrity sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg== - dependencies: - kdbush "^3.0.0" - -superscript-text@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/superscript-text/-/superscript-text-1.0.0.tgz#e7cb2752567360df50beb0610ce8df3d71d8dfd8" - integrity sha512-gwu8l5MtRZ6koO0icVTlmN5pm7Dhh1+Xpe9O4x6ObMAsW+3jPbW14d1DsBq1F4wiI+WOFjXF35pslgec/G8yCQ== - -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -svg-arc-to-cubic-bezier@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz#390c450035ae1c4a0104d90650304c3bc814abe6" - integrity sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g== - -svg-path-bounds@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz#00312f672b08afc432a66ddfbd06db40cec8d0d0" - integrity sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ== - dependencies: - abs-svg-path "^0.1.1" - is-svg-path "^1.0.1" - normalize-svg-path "^1.0.0" - parse-svg-path "^0.1.2" - -svg-path-sdf@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/svg-path-sdf/-/svg-path-sdf-1.1.3.tgz#92957a31784c0eaf68945472c8dc6bf9e6d126fc" - integrity sha512-vJJjVq/R5lSr2KLfVXVAStktfcfa1pNFjFOgyJnzZFXlO/fDZ5DmM8FpnSKKzLPfEYTVeXuVBTHF296TpxuJVg== - dependencies: - bitmap-sdf "^1.0.0" - draw-svg-path "^1.0.0" - is-svg-path "^1.0.1" - parse-svg-path "^0.1.2" - svg-path-bounds "^1.0.1" - -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== - -through2@^0.6.3: - version "0.6.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48" - integrity sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg== - dependencies: - readable-stream ">=1.0.33-1 <1.1.0-0" - xtend ">=4.0.0 <4.1.0-0" - -through2@^2.0.1: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -tinycolor2@^1.4.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.6.0.tgz#f98007460169b0263b97072c5ae92484ce02d09e" - integrity sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw== - -tinyqueue@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-2.0.3.tgz#64d8492ebf39e7801d7bd34062e29b45b2035f08" - integrity sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA== - -to-float32@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/to-float32/-/to-float32-1.1.0.tgz#39bd3b11eadccd490c08f5f9171da5127b6f3946" - integrity sha512-keDnAusn/vc+R3iEiSDw8TOF7gPiTLdK1ArvWtYbJQiVfmRg6i/CAvbKq3uIS0vWroAC7ZecN3DjQKw3aSklUg== - -to-px@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-px/-/to-px-1.0.1.tgz#5bbaed5e5d4f76445bcc903c293a2307dd324646" - integrity sha512-2y3LjBeIZYL19e5gczp14/uRWFDtDUErJPVN3VU9a7SJO+RjGRtYR47aMN2bZgGlxvW4ZcEz2ddUPVHXcMfuXw== - dependencies: - parse-unit "^1.0.1" - -to-px@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/to-px/-/to-px-1.1.0.tgz#b6b269ed5db0cc9aefc15272a4c8bcb2ca1e99ca" - integrity sha512-bfg3GLYrGoEzrGoE05TAL/Uw+H/qrf2ptr9V3W7U0lkjjyYnIfgxmVLUfhQ1hZpIQwin81uxhDjvUkDYsC0xWw== - dependencies: - parse-unit "^1.0.1" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -topojson-client@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/topojson-client/-/topojson-client-3.1.0.tgz#22e8b1ed08a2b922feeb4af6f53b6ef09a467b99" - integrity sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw== - dependencies: - commander "2" - -trim-lines@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338" - integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg== - -trough@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876" - integrity sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g== - -tslib@^1.8.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - -type-check@^0.4.0, type-check@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" - integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== - dependencies: - prelude-ls "^1.2.1" - -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg== - dependencies: - prelude-ls "~1.1.2" - -type-fest@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" - integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== - -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== - -typedarray-pool@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/typedarray-pool/-/typedarray-pool-1.2.0.tgz#e7e90720144ba02b9ed660438af6f3aacfe33ac3" - integrity sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ== - dependencies: - bit-twiddle "^1.0.0" - dup "^1.0.0" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== - -typescript@^5.0.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" - integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== - -uikit@^3.16.19: - version "3.17.1" - resolved "https://registry.yarnpkg.com/uikit/-/uikit-3.17.1.tgz#3f388eb29b438aa679a375bc659e3c81505c8104" - integrity sha512-MfWXHxNRQ7NDsjXaRCvQV/nuL2YMCylmRE5ULlCTdFv/riyRp528uJGOxNG51KP1eW7a/FyGmT3DiAB+tvUYvA== - -unified@^10.0.0: - version "10.1.2" - resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.2.tgz#b1d64e55dafe1f0b98bb6c719881103ecf6c86df" - integrity sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q== - dependencies: - "@types/unist" "^2.0.0" - bail "^2.0.0" - extend "^3.0.0" - is-buffer "^2.0.0" - is-plain-obj "^4.0.0" - trough "^2.0.0" - vfile "^5.0.0" - -unist-util-find-after@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/unist-util-find-after/-/unist-util-find-after-4.0.1.tgz#80c69c92b0504033638ce11973f4135f2c822e2d" - integrity sha512-QO/PuPMm2ERxC6vFXEPtmAutOopy5PknD+Oq64gGwxKtk4xwo9Z97t9Av1obPmGU0IyTa6EKYUfTrK2QJS3Ozw== - dependencies: - "@types/unist" "^2.0.0" - unist-util-is "^5.0.0" - -unist-util-generated@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-2.0.1.tgz#e37c50af35d3ed185ac6ceacb6ca0afb28a85cae" - integrity sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A== - -unist-util-is@^5.0.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-5.2.1.tgz#b74960e145c18dcb6226bc57933597f5486deae9" - integrity sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-position@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-4.0.4.tgz#93f6d8c7d6b373d9b825844645877c127455f037" - integrity sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-remove-position@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-4.0.2.tgz#a89be6ea72e23b1a402350832b02a91f6a9afe51" - integrity sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ== - dependencies: - "@types/unist" "^2.0.0" - unist-util-visit "^4.0.0" - -unist-util-stringify-position@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz#03ad3348210c2d930772d64b489580c13a7db39d" - integrity sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-visit-parents@^5.1.1: - version "5.1.3" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz#b4520811b0ca34285633785045df7a8d6776cfeb" - integrity sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg== - dependencies: - "@types/unist" "^2.0.0" - unist-util-is "^5.0.0" - -unist-util-visit@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2" - integrity sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg== - dependencies: - "@types/unist" "^2.0.0" - unist-util-is "^5.0.0" - unist-util-visit-parents "^5.1.1" - -unquote@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544" - integrity sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg== - -update-diff@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/update-diff/-/update-diff-1.1.0.tgz#f510182d81ee819fb82c3a6b22b62bbdeda7808f" - integrity sha512-rCiBPiHxZwT4+sBhEbChzpO5hYHjm91kScWgdHf4Qeafs6Ba7MBl+d9GlGv72bcTZQO0sLmtQS1pHSWoCLtN/A== - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -uvu@^0.5.0: - version "0.5.6" - resolved "https://registry.yarnpkg.com/uvu/-/uvu-0.5.6.tgz#2754ca20bcb0bb59b64e9985e84d2e81058502df" - integrity sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA== - dependencies: - dequal "^2.0.0" - diff "^5.0.0" - kleur "^4.0.3" - sade "^1.7.3" - -vfile-location@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.1.0.tgz#69df82fb9ef0a38d0d02b90dd84620e120050dd0" - integrity sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw== - dependencies: - "@types/unist" "^2.0.0" - vfile "^5.0.0" - -vfile-message@^3.0.0: - version "3.1.4" - resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-3.1.4.tgz#15a50816ae7d7c2d1fa87090a7f9f96612b59dea" - integrity sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw== - dependencies: - "@types/unist" "^2.0.0" - unist-util-stringify-position "^3.0.0" - -vfile@^5.0.0: - version "5.3.7" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7" - integrity sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g== - dependencies: - "@types/unist" "^2.0.0" - is-buffer "^2.0.0" - unist-util-stringify-position "^3.0.0" - vfile-message "^3.0.0" - -vite@^4.3.5: - version "4.4.11" - resolved "https://registry.yarnpkg.com/vite/-/vite-4.4.11.tgz#babdb055b08c69cfc4c468072a2e6c9ca62102b0" - integrity sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A== - dependencies: - esbuild "^0.18.10" - postcss "^8.4.27" - rollup "^3.27.1" - optionalDependencies: - fsevents "~2.3.2" - -vt-pbf@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/vt-pbf/-/vt-pbf-3.1.3.tgz#68fd150756465e2edae1cc5c048e063916dcfaac" - integrity sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA== - dependencies: - "@mapbox/point-geometry" "0.1.0" - "@mapbox/vector-tile" "^1.3.1" - pbf "^3.2.1" - -weak-map@^1.0.5: - version "1.0.8" - resolved "https://registry.yarnpkg.com/weak-map/-/weak-map-1.0.8.tgz#394c18a9e8262e790544ed8b55c6a4ddad1cb1a3" - integrity sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw== - -web-namespaces@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-2.0.1.tgz#1010ff7c650eccb2592cebeeaf9a1b253fd40692" - integrity sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ== - -webgl-context@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/webgl-context/-/webgl-context-2.2.0.tgz#8f37d7257cf6df1cd0a49e6a7b1b721b94cc86a0" - integrity sha512-q/fGIivtqTT7PEoF07axFIlHNk/XCPaYpq64btnepopSWvKNFkoORlQYgqDigBIuGA1ExnFd/GnSUnBNEPQY7Q== - dependencies: - get-canvas-context "^1.0.1" - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -word-wrap@~1.2.3: - version "1.2.5" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" - integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== - -world-calendars@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/world-calendars/-/world-calendars-1.0.3.tgz#b25c5032ba24128ffc41d09faf4a5ec1b9c14335" - integrity sha512-sAjLZkBnsbHkHWVhrsCU5Sa/EVuf9QqgvrN8zyJ2L/F9FR9Oc6CvVK0674+PGAtmmmYQMH98tCUSO4QLQv3/TQ== - dependencies: - object-assign "^4.1.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -xtend@^2.1.2: - version "2.2.0" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-2.2.0.tgz#eef6b1f198c1c8deafad8b1765a04dad4a01c5a9" - integrity sha512-SLt5uylT+4aoXxXuwtQp5ZnMMzhDb1Xkg4pEqc00WUJCQifPfV9Ub1VrNhp9kXkrjZD2I2Hl8WnjP37jzZLPZw== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - -zwitch@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7" - integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A== diff --git a/dynamic_site/site.py b/dynamic_site/site.py deleted file mode 100644 index 14c85b1..0000000 --- a/dynamic_site/site.py +++ /dev/null @@ -1,231 +0,0 @@ -import importlib -import os -import pkgutil -import json -from inspect import getmembers, isclass -from typing import Any - -from flask import ( - Flask, - jsonify, - render_template, - abort, - request, - send_from_directory, - url_for, -) - -import dynamic_site -from dynamic_site.app import App, ResponseError - -import mistune -import emoji - - -def import_module(path): - package = importlib.import_module(path) - results = {} - for loader, module_name, _ in pkgutil.walk_packages(package.__path__): - module = loader.find_module(module_name).load_module(module_name) - results[module_name] = module - return results - - -class Site: - def __init__( - self, - apps_path: str, - application_root: str = "", - enforce_dev_mode: bool = False, - escape_html_in_md: bool = True, - verbose: bool = False, - ) -> None: - self.apps_path = apps_path - self.application_root = application_root - self.enforce_dev_mode = enforce_dev_mode - self.dynamic_site_path = os.path.dirname(dynamic_site.__file__) - self.render_md = mistune.create_markdown( - escape=escape_html_in_md, - ) - self.verbose = verbose - - self.generate_apps() - - # Initialize the index text from the readme once, it doesn't change - self.title, self.index_text = self.make_index_text("README.md") - - self.initialize_flask_server() - - def make_index_text(self, file: str, folder: str = "") -> tuple[str, str]: - # Note that this conversion isn't really clean... - if not os.path.exists(file): - raise FileNotFoundError(f"{file} file couldn't be found!") - - raw = open(file).read() - - lines = raw.split("\n") - title = lines[0][2:] # Remove the hashtag at front - - content = "\n".join(lines[1:]) - - # Convert relative links to webapps pages : - content = content.replace("web_apps/", "") - content = content.replace("/index.md", "") - content = content.replace("(./", f"(./{folder}") - if folder != "": - content = content.replace(".md)", ")") - - text = emoji.emojize(self.render_md(content)) - - return title, text - - def generate_apps(self) -> None: - modules = import_module(self.apps_path) - self.apps = {} - for name, module in modules.items(): - apps = [ - a - for a in getmembers(module) - # If its a class, then check if its a subclass, but not the actual App-Class - if isclass(a[1]) and issubclass(a[1], App) and a[1] != App - ] - if len(apps) == 1: - self.apps[name] = apps[0][1]() # Create an instance - elif len(apps) > 1: - raise RuntimeError( - f"In {name} are multiple apps defined! Only define one!" - ) - if self.verbose: - print(f"Found apps: {list(self.apps.keys())}") - - def initialize_flask_server(self) -> None: - STATIC_FOLDER = f"{self.dynamic_site_path}/static" - self.flask_app = Flask( - __name__, - static_folder=STATIC_FOLDER, - template_folder=f"{self.dynamic_site_path}/templates", - ) - - def url_for_root(route: str, **kwargs) -> str: - url = url_for(route, **kwargs) - if self.application_root: - url = f"{self.application_root}{url}" - return url - - self.flask_app.jinja_env.globals.update(url_for_root=url_for_root) - - @self.flask_app.route("/") - def index(): - return render_template("index.html", title=self.title, text=self.index_text) - - @self.flask_app.route("/favicon.ico") - def favicon(): - return send_from_directory( - os.path.join(self.flask_app.root_path, "static"), - "favicon.ico", - mimetype="image/vnd.microsoft.icon", - ) - - @self.flask_app.route("/assets/<file>") - def assets(file): - return send_from_directory( - os.path.join(self.flask_app.root_path, "static", "assets"), - file, - ) - - @self.flask_app.route("/doc/images/<file>") - def doc(file): - return send_from_directory( - os.path.join(self.flask_app.root_path, "static", "doc", "images"), - file, - ) - - # ----------- - # Subdirectory path apps - # ----------- - - @self.flask_app.route("/<app_path>") - @self.flask_app.route("/<path:app_path>") - def app_path_route(app_path): - app_name = app_path.replace("/", ".") - # First check if the app_path corresponds to an index file - try: - index_file_path = os.path.join(self.apps_path, app_path, "index.md") - title, text = self.make_index_text( - index_file_path, folder=app_path + "/" - ) - except FileNotFoundError: - pass - else: - return render_template("index.html", title=title, text=text) - - # Otherwise check if its an app - # If the app_name doesn't exist raise a 404 - if app_name not in self.apps.keys(): - abort(404) - - # Get the app title (raises an error if empty) - app_title = self.apps[app_name].title - - json_file = "" - css_file = "" - if not self.enforce_dev_mode and os.path.exists( - f"{STATIC_FOLDER}/manifest.json" - ): - manifest = json.load(open(f"{STATIC_FOLDER}/manifest.json", "r")) - json_file = os.path.basename(manifest["src/main.tsx"]["file"]) - css_file = os.path.basename(manifest["src/main.css"]["file"]) - if self.verbose: - print("Using built js/css files!") - - # Then render the template and inject the corresponding documentation - return render_template( - "app.html", title=app_title, json_file=json_file, css_file=css_file - ) - - @self.flask_app.route("/<path:app_path>/compute", methods=["POST"]) - def app_path_compute(app_path): - app_name = app_path.replace("/", ".") - # If the app_name doesn't exist raise a 404 - if app_name not in self.apps.keys(): - abort(404) - - # Otherwise get the correct app - request_json = request.json - if self.verbose: - print(request_json) - request_data = None if not request_json else request_json - try: - docs, settings, plots = ( - self.apps[app_name].compute(request_data).get_stages() - ) - except ResponseError as e: - return str(e), 400 - except Exception as e: - return f"<b>Internal Error</b><br>{str(e)}", 400 - - # Serialize them to objects - docs = [stage.serialize() for stage in docs] - settings = [stage.serialize() for stage in settings] - plots = [stage.serialize() for stage in plots] - return jsonify({"docs": docs, "settings": settings, "plots": plots}) - - @self.flask_app.route("/<path:app_path>/documentation", methods=["GET"]) - def app_path_documentation(app_path): - app_name = app_path.replace("/", ".") - # If the app_name doesn't exist raise a 404 - if app_name not in self.apps.keys(): - abort(404) - - documentation = ( - "Sorry, but it seems that there is no dedicated documentation." - ) - if os.path.exists(f"{self.apps_path}/{app_path}.md"): - documentation = open(f"{self.apps_path}/{app_path}.md").read() - return jsonify({"text": documentation}) - - def wsgi(self) -> Flask: - return self.flask_app - - def run(self) -> None: - self.flask_app.run(debug=True, host="0.0.0.0", port=8000) diff --git a/dynamic_site/stage/parameters.py b/dynamic_site/stage/parameters.py deleted file mode 100644 index 444a6fc..0000000 --- a/dynamic_site/stage/parameters.py +++ /dev/null @@ -1,282 +0,0 @@ -from typing import Any -from enum import Enum - -import blockops.utils.params as bp -from dynamic_site.stage.utils import slugify - - -class WebType(Enum): - Integer = "Integer" - PositiveInteger = "PositiveInteger" - StrictlyPositiveInteger = "StrictlyPositiveInteger" - PositiveFloat = "PositiveFloat" - Float = "Float" - Enumeration = "Enumeration" - FloatList = "FloatList" - Boolean = "Boolean" - - -class Parameter: - ids: list[str] = [] # Keep track of all ids to check for uniqueness. - - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - type: WebType, - optional: bool, - choices: list[str] | None, - value: int | float | list[float] | str | None, - ) -> None: - """Create a new parameter. - - Args: - unique_id (str): A unique and slugified id. - name (str): The name of this parameter that will be displayed. Might be LaTeX Math (r'`\lam`'). - placeholder (str): The placeholder inside the parameter field. - doc (str): The doc-string on hover. - type (WebType): The type of this parameter. - optional (bool): If the parameter is optional. - choices (list[str] | None): Only if the WebType == Enumeration otherwise None. - value (int | float | list[float] | str | None): If there exists a default value, then this value value should be set. - """ - self.id: str = unique_id - self.name: str = name - self.placeholder: str = placeholder - self.doc: str = doc - self.type: WebType = type - self.optional: bool = optional - self.choices: list[ - str - ] | None = choices # None if this is not an enumeration type - self.value: int | float | list[ - float - ] | str | None = value # None if no default value exists - - def serialize(self) -> dict[str, Any]: - return { - "id": self.id, - "name": self.name, - "placeholder": self.placeholder, - "doc": self.doc, - "type": self.type.value, - "optional": self.optional, - "choices": self.choices, - "value": self.value, - } - - def convert(self, value: str) -> Any: - """Converts the value to the python type of this parameter. - - Args: - value (str): The input value from the frontend as a string. - - Raises: - NotImplementedError: If subclass doesn't implement it. - - Returns: - Any: The python type of this parameter. - """ - - raise NotImplementedError("Conversion function not implemented!") - - -class Integer(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: int | None = None, - ) -> None: - super().__init__( - unique_id, name, placeholder, doc, WebType.Integer, optional, None, value - ) - - def convert(self, value: str) -> Any: - return int(value) - - -class PositiveInteger(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: int | None = None, - ) -> None: - super().__init__( - unique_id, - name, - placeholder, - doc, - WebType.PositiveInteger, - optional, - None, - value, - ) - - def convert(self, value: str) -> Any: - return int(value) - - -class StrictlyPositiveInteger(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: int | None = None, - ) -> None: - super().__init__( - unique_id, - name, - placeholder, - doc, - WebType.StrictlyPositiveInteger, - optional, - None, - value, - ) - - def convert(self, value: str) -> Any: - return int(value) - - -class PositiveFloat(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: float | None = None, - ) -> None: - super().__init__( - unique_id, - name, - placeholder, - doc, - WebType.PositiveFloat, - optional, - None, - value, - ) - - def convert(self, value: str) -> Any: - return float(value) - - -class Float(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: float | None = None, - ) -> None: - super().__init__( - unique_id, name, placeholder, doc, WebType.Float, optional, None, value - ) - - def convert(self, value: str) -> Any: - return float(value) - - -class Enumeration(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - choices: list[str], - value: str | None = None, - ) -> None: - super().__init__( - unique_id, - name, - placeholder, - doc, - WebType.Enumeration, - optional, - choices, - value, - ) - - def convert(self, value: str) -> Any: - return value - - -class FloatList(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: list[float] | None = None, - ) -> None: - super().__init__( - unique_id, name, placeholder, doc, WebType.FloatList, optional, None, value - ) - - def convert(self, value: str) -> Any: - return [float(v) for v in value.split(",") if v != ""] - - -class Boolean(Parameter): - def __init__( - self, - unique_id: str, - name: str, - placeholder: str, - doc: str, - optional: bool, - value: bool | None = None, - ) -> None: - super().__init__( - unique_id, name, placeholder, doc, WebType.Boolean, optional, None, value - ) - - def convert(self, value: str) -> Any: - return bool(value) - - -def getParam(name: str, param: bp.Parameter) -> Parameter: - if type(param) == bp.PositiveInteger: - return StrictlyPositiveInteger( - name, param.latexName, - param.docs, - param.docs, - False, - value=param.default) - elif type(param) == bp.MultipleChoices: - return Enumeration( - name, param.latexName, - param.docs, - param.docs, - False, - param.choices, - value=param.default) - elif type(param) == bp.Boolean: - return Boolean( - name, param.latexName, - param.docs, - param.docs, - False, - value=param.default) - raise NotImplementedError(f"type(param) = {type(param)}") \ No newline at end of file diff --git a/dynamic_site/stage/stages.py b/dynamic_site/stage/stages.py deleted file mode 100644 index 923f5ee..0000000 --- a/dynamic_site/stage/stages.py +++ /dev/null @@ -1,126 +0,0 @@ -from copy import deepcopy -from typing import Any - -from dynamic_site.stage.parameters import Parameter - - -class DocsStage: - def __init__( - self, - title: str, - text: str, - ) -> None: - self.title: str = title - self.text: str = text - - def copy(self): - """Returns a new DocsStage but as a copy. - - Returns: - DocsStage. A new docs stage. - """ - return DocsStage( - self.title, - self.text, - ) - - def serialize(self) -> dict[str, Any]: - return { - "title": self.title, - "text": self.text, - } - - -class SettingsStage: - def __init__( - self, - unique_name: str, - title: str, - parameters: list[Parameter], - folded: bool, - ) -> None: - self.unique_name: str = unique_name - self.title: str = title - self.parameters: list[Parameter] = parameters - self.folded: bool = folded - - def copy_from_response(self, response_data: dict[str, Any]): - """Returns a new SettingsStage with updated parameter values. - Used because of the stateless nature of the server. - - Args: - response_data (dict[str, Any]): The response directly fed in from the frontend. - - Raises: - KeyError: If there is no 'settings' key in the response_data - - Returns: - SettingsStage: A new SettingsStage. - """ - - # Copy all parameters and set new default values - parameters = deepcopy(self.parameters) - for parameter in self.parameters: - try: - # Might raise another KeyError - parameter.optional = response_data[parameter.id] - except KeyError: # If its from another - raise KeyError(f'"{parameter.id}" not in response settings data!') - - return SettingsStage(self.unique_name, self.title, parameters, self.folded) - - def convert_to_types(self, response_data: dict[str, Any]) -> dict[str, Any]: - result = {} - for parameter in self.parameters: - try: - result[parameter.id] = parameter.convert(response_data[parameter.id]) - except KeyError: # If for some reason this parameter doesn't exist - print( - f"The parameter {parameter.id} doesn't exist. This might be a development problem." - ) - except ValueError: # If for some reason the conversion doesn't work - print( - f"The parameter {parameter.id} = {response_data[parameter.id]} couldn't be converted. This might be a development problem." - ) - return result - - def serialize( - self, - ) -> dict[str, Any]: # Returns a dictionary to be sent to the frontend - return { - "id": self.unique_name, - "title": self.title, - "parameters": [parameter.serialize() for parameter in self.parameters], - "folded": self.folded, - } - - -class PlotsStage: - def __init__( - self, - title: str, - caption: str = "", - plot: Any | None = None, - ) -> None: - self.title: str = title - self.caption: str = caption - self.plot: Any | None = plot - - def copy(self): - """Returns a new PlotsStage but as a copy. - - Returns: - PlotsStage. A new plots stage. - """ - return PlotsStage( - self.title, - self.caption, - self.plot, - ) - - def serialize(self) -> dict[str, Any]: - return { - "title": self.title, - "caption": self.caption, - "plot": self.plot, - } diff --git a/dynamic_site/stage/utils.py b/dynamic_site/stage/utils.py deleted file mode 100644 index 81af388..0000000 --- a/dynamic_site/stage/utils.py +++ /dev/null @@ -1,12 +0,0 @@ -from unicodedata import normalize - - -def slugify(text: str): - clean_text = text.strip().replace(' ', '-').lower() - while '--' in clean_text: - clean_text = clean_text.replace('--', '-') - ascii_text = normalize('NFKD', clean_text).encode('ascii', 'ignore') - strict_text = map( - (lambda x: chr(x) - if x in b'abcdefghijklmnopqrstuvwxyz0123456789-' else ''), ascii_text) - return ''.join(strict_text) diff --git a/dynamic_site/static/assets/KaTeX_AMS-Regular-0cdd387c.woff2 b/dynamic_site/static/assets/KaTeX_AMS-Regular-0cdd387c.woff2 deleted file mode 100644 index 0acaaff..0000000 Binary files a/dynamic_site/static/assets/KaTeX_AMS-Regular-0cdd387c.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_AMS-Regular-30da91e8.woff b/dynamic_site/static/assets/KaTeX_AMS-Regular-30da91e8.woff deleted file mode 100644 index b804d7b..0000000 Binary files a/dynamic_site/static/assets/KaTeX_AMS-Regular-30da91e8.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_AMS-Regular-68534840.ttf b/dynamic_site/static/assets/KaTeX_AMS-Regular-68534840.ttf deleted file mode 100644 index c6f9a5e..0000000 Binary files a/dynamic_site/static/assets/KaTeX_AMS-Regular-68534840.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf b/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf deleted file mode 100644 index 9ff4a5e..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff b/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff deleted file mode 100644 index 9759710..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 b/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 deleted file mode 100644 index f390922..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-3398dd02.woff b/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-3398dd02.woff deleted file mode 100644 index 9bdd534..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-3398dd02.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 b/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 deleted file mode 100644 index 75344a1..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf b/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf deleted file mode 100644 index f522294..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Fraktur-Bold-74444efd.woff2 b/dynamic_site/static/assets/KaTeX_Fraktur-Bold-74444efd.woff2 deleted file mode 100644 index 395f28b..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Fraktur-Bold-74444efd.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Fraktur-Bold-9163df9c.ttf b/dynamic_site/static/assets/KaTeX_Fraktur-Bold-9163df9c.ttf deleted file mode 100644 index 4e98259..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Fraktur-Bold-9163df9c.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff b/dynamic_site/static/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff deleted file mode 100644 index e7730f6..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf b/dynamic_site/static/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf deleted file mode 100644 index b8461b2..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Fraktur-Regular-51814d27.woff2 b/dynamic_site/static/assets/KaTeX_Fraktur-Regular-51814d27.woff2 deleted file mode 100644 index 735f694..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Fraktur-Regular-51814d27.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Fraktur-Regular-5e28753b.woff b/dynamic_site/static/assets/KaTeX_Fraktur-Regular-5e28753b.woff deleted file mode 100644 index acab069..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Fraktur-Regular-5e28753b.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Bold-0f60d1b8.woff2 b/dynamic_site/static/assets/KaTeX_Main-Bold-0f60d1b8.woff2 deleted file mode 100644 index ab2ad21..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Bold-0f60d1b8.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Bold-138ac28d.ttf b/dynamic_site/static/assets/KaTeX_Main-Bold-138ac28d.ttf deleted file mode 100644 index 4060e62..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Bold-138ac28d.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Bold-c76c5d69.woff b/dynamic_site/static/assets/KaTeX_Main-Bold-c76c5d69.woff deleted file mode 100644 index f38136a..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Bold-c76c5d69.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf b/dynamic_site/static/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf deleted file mode 100644 index dc00797..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 b/dynamic_site/static/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 deleted file mode 100644 index 5931794..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff b/dynamic_site/static/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff deleted file mode 100644 index 67807b0..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Italic-0d85ae7c.ttf b/dynamic_site/static/assets/KaTeX_Main-Italic-0d85ae7c.ttf deleted file mode 100644 index 0e9b0f3..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Italic-0d85ae7c.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Italic-97479ca6.woff2 b/dynamic_site/static/assets/KaTeX_Main-Italic-97479ca6.woff2 deleted file mode 100644 index b50920e..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Italic-97479ca6.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Italic-f1d6ef86.woff b/dynamic_site/static/assets/KaTeX_Main-Italic-f1d6ef86.woff deleted file mode 100644 index 6f43b59..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Italic-f1d6ef86.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Regular-c2342cd8.woff2 b/dynamic_site/static/assets/KaTeX_Main-Regular-c2342cd8.woff2 deleted file mode 100644 index eb24a7b..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Regular-c2342cd8.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Regular-c6368d87.woff b/dynamic_site/static/assets/KaTeX_Main-Regular-c6368d87.woff deleted file mode 100644 index 21f5812..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Regular-c6368d87.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Main-Regular-d0332f52.ttf b/dynamic_site/static/assets/KaTeX_Main-Regular-d0332f52.ttf deleted file mode 100644 index dd45e1e..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Main-Regular-d0332f52.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Math-BoldItalic-850c0af5.woff b/dynamic_site/static/assets/KaTeX_Math-BoldItalic-850c0af5.woff deleted file mode 100644 index 0ae390d..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Math-BoldItalic-850c0af5.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 b/dynamic_site/static/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 deleted file mode 100644 index 2965702..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf b/dynamic_site/static/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf deleted file mode 100644 index 728ce7a..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Math-Italic-08ce98e5.ttf b/dynamic_site/static/assets/KaTeX_Math-Italic-08ce98e5.ttf deleted file mode 100644 index 70d559b..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Math-Italic-08ce98e5.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Math-Italic-7af58c5e.woff2 b/dynamic_site/static/assets/KaTeX_Math-Italic-7af58c5e.woff2 deleted file mode 100644 index 215c143..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Math-Italic-7af58c5e.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Math-Italic-8a8d2445.woff b/dynamic_site/static/assets/KaTeX_Math-Italic-8a8d2445.woff deleted file mode 100644 index eb5159d..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Math-Italic-8a8d2445.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf b/dynamic_site/static/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf deleted file mode 100644 index 2f65a8a..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 b/dynamic_site/static/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 deleted file mode 100644 index cfaa3bd..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Bold-ece03cfd.woff b/dynamic_site/static/assets/KaTeX_SansSerif-Bold-ece03cfd.woff deleted file mode 100644 index 8d47c02..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Bold-ece03cfd.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 b/dynamic_site/static/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 deleted file mode 100644 index 349c06d..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Italic-3931dd81.ttf b/dynamic_site/static/assets/KaTeX_SansSerif-Italic-3931dd81.ttf deleted file mode 100644 index d5850df..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Italic-3931dd81.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Italic-91ee6750.woff b/dynamic_site/static/assets/KaTeX_SansSerif-Italic-91ee6750.woff deleted file mode 100644 index 7e02df9..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Italic-91ee6750.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff b/dynamic_site/static/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff deleted file mode 100644 index 31b8482..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 b/dynamic_site/static/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 deleted file mode 100644 index a90eea8..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_SansSerif-Regular-f36ea897.ttf b/dynamic_site/static/assets/KaTeX_SansSerif-Regular-f36ea897.ttf deleted file mode 100644 index 537279f..0000000 Binary files a/dynamic_site/static/assets/KaTeX_SansSerif-Regular-f36ea897.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Script-Regular-036d4e95.woff2 b/dynamic_site/static/assets/KaTeX_Script-Regular-036d4e95.woff2 deleted file mode 100644 index b3048fc..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Script-Regular-036d4e95.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Script-Regular-1c67f068.ttf b/dynamic_site/static/assets/KaTeX_Script-Regular-1c67f068.ttf deleted file mode 100644 index fd679bf..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Script-Regular-1c67f068.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Script-Regular-d96cdf2b.woff b/dynamic_site/static/assets/KaTeX_Script-Regular-d96cdf2b.woff deleted file mode 100644 index 0e7da82..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Script-Regular-d96cdf2b.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size1-Regular-6b47c401.woff2 b/dynamic_site/static/assets/KaTeX_Size1-Regular-6b47c401.woff2 deleted file mode 100644 index c5a8462..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size1-Regular-6b47c401.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size1-Regular-95b6d2f1.ttf b/dynamic_site/static/assets/KaTeX_Size1-Regular-95b6d2f1.ttf deleted file mode 100644 index 871fd7d..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size1-Regular-95b6d2f1.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size1-Regular-c943cc98.woff b/dynamic_site/static/assets/KaTeX_Size1-Regular-c943cc98.woff deleted file mode 100644 index 7f292d9..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size1-Regular-c943cc98.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size2-Regular-2014c523.woff b/dynamic_site/static/assets/KaTeX_Size2-Regular-2014c523.woff deleted file mode 100644 index d241d9b..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size2-Regular-2014c523.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size2-Regular-a6b2099f.ttf b/dynamic_site/static/assets/KaTeX_Size2-Regular-a6b2099f.ttf deleted file mode 100644 index 7a212ca..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size2-Regular-a6b2099f.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size2-Regular-d04c5421.woff2 b/dynamic_site/static/assets/KaTeX_Size2-Regular-d04c5421.woff2 deleted file mode 100644 index e1bccfe..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size2-Regular-d04c5421.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size3-Regular-500e04d5.ttf b/dynamic_site/static/assets/KaTeX_Size3-Regular-500e04d5.ttf deleted file mode 100644 index 00bff34..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size3-Regular-500e04d5.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size3-Regular-6ab6b62e.woff b/dynamic_site/static/assets/KaTeX_Size3-Regular-6ab6b62e.woff deleted file mode 100644 index e6e9b65..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size3-Regular-6ab6b62e.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size4-Regular-99f9c675.woff b/dynamic_site/static/assets/KaTeX_Size4-Regular-99f9c675.woff deleted file mode 100644 index e1ec545..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size4-Regular-99f9c675.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size4-Regular-a4af7d41.woff2 b/dynamic_site/static/assets/KaTeX_Size4-Regular-a4af7d41.woff2 deleted file mode 100644 index 680c130..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size4-Regular-a4af7d41.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Size4-Regular-c647367d.ttf b/dynamic_site/static/assets/KaTeX_Size4-Regular-c647367d.ttf deleted file mode 100644 index 74f0892..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Size4-Regular-c647367d.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 b/dynamic_site/static/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 deleted file mode 100644 index 771f1af..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Typewriter-Regular-e14fed02.woff b/dynamic_site/static/assets/KaTeX_Typewriter-Regular-e14fed02.woff deleted file mode 100644 index 2432419..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Typewriter-Regular-e14fed02.woff and /dev/null differ diff --git a/dynamic_site/static/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf b/dynamic_site/static/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf deleted file mode 100644 index c83252c..0000000 Binary files a/dynamic_site/static/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf and /dev/null differ diff --git a/dynamic_site/static/assets/main-2558acf0.css b/dynamic_site/static/assets/main-2558acf0.css deleted file mode 100644 index 577680a..0000000 --- a/dynamic_site/static/assets/main-2558acf0.css +++ /dev/null @@ -1 +0,0 @@ -/*! UIkit 3.17.1 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:16px;font-weight:400;line-height:1.5;-webkit-text-size-adjust:100%;background:#fff;color:#666}body{margin:0}a,.uk-link{color:#1e87f0;text-decoration:none;cursor:pointer}a:hover,.uk-link:hover,.uk-link-toggle:hover .uk-link{color:#0f6ecd;text-decoration:underline}abbr[title]{text-decoration:underline dotted;-webkit-text-decoration-style:dotted}b,strong{font-weight:bolder}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-family:Consolas,monaco,monospace;font-size:.875rem;color:#f0506e;white-space:nowrap;padding:2px 6px;background:#f8f8f8}em{color:#f0506e}ins{background:#ffd;color:#666;text-decoration:none}mark{background:#ffd;color:#666}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}audio,canvas,iframe,img,svg,video{vertical-align:middle}canvas,img,svg,video{max-width:100%;height:auto;box-sizing:border-box}img:not([src]){visibility:hidden;min-width:1px}iframe{border:0}p,ul,ol,dl,pre,address,fieldset,figure{margin:0 0 20px}*+p,*+ul,*+ol,*+dl,*+pre,*+address,*+fieldset,*+figure{margin-top:20px}h1,.uk-h1,h2,.uk-h2,h3,.uk-h3,h4,.uk-h4,h5,.uk-h5,h6,.uk-h6,.uk-heading-small,.uk-heading-medium,.uk-heading-large,.uk-heading-xlarge,.uk-heading-2xlarge,.uk-heading-3xlarge{margin:0 0 20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-weight:400;color:#333;text-transform:none}*+h1,*+.uk-h1,*+h2,*+.uk-h2,*+h3,*+.uk-h3,*+h4,*+.uk-h4,*+h5,*+.uk-h5,*+h6,*+.uk-h6,*+.uk-heading-small,*+.uk-heading-medium,*+.uk-heading-large,*+.uk-heading-xlarge,*+.uk-heading-2xlarge,*+.uk-heading-3xlarge{margin-top:40px}h1,.uk-h1{font-size:2.23125rem;line-height:1.2}h2,.uk-h2{font-size:1.7rem;line-height:1.3}h3,.uk-h3{font-size:1.5rem;line-height:1.4}h4,.uk-h4{font-size:1.25rem;line-height:1.4}h5,.uk-h5{font-size:16px;line-height:1.4}h6,.uk-h6{font-size:.875rem;line-height:1.4}@media (min-width: 960px){h1,.uk-h1{font-size:2.625rem}h2,.uk-h2{font-size:2rem}}ul,ol{padding-left:30px}ul>li>ul,ul>li>ol,ol>li>ol,ol>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr,.uk-hr{overflow:visible;text-align:inherit;margin:0 0 20px;border:0;border-top:1px solid #e5e5e5}*+hr,*+.uk-hr{margin-top:20px}address{font-style:normal}blockquote{margin:0 0 20px;font-size:1.25rem;line-height:1.5;font-style:italic;color:#333}*+blockquote{margin-top:20px}blockquote p:last-of-type{margin-bottom:0}blockquote footer{margin-top:10px;font-size:.875rem;line-height:1.5;color:#666}blockquote footer:before{content:"— "}pre{font:.875rem/1.5 Consolas,monaco,monospace;color:#666;-moz-tab-size:4;tab-size:4;overflow:auto;padding:10px;border:1px solid #e5e5e5;border-radius:3px;background:#fff}pre code{font-family:Consolas,monaco,monospace}:focus{outline:none}:focus-visible{outline:2px dotted #333}::selection{background:#39f;color:#fff;text-shadow:none}details,main{display:block}summary{display:list-item}template{display:none}:root{--uk-breakpoint-s: 640px;--uk-breakpoint-m: 960px;--uk-breakpoint-l: 1200px;--uk-breakpoint-xl: 1600px}a.uk-link-muted,.uk-link-muted a,.uk-link-toggle .uk-link-muted{color:#999}a.uk-link-muted:hover,.uk-link-muted a:hover,.uk-link-toggle:hover .uk-link-muted{color:#666}a.uk-link-text,.uk-link-text a,.uk-link-toggle .uk-link-text{color:inherit}a.uk-link-text:hover,.uk-link-text a:hover,.uk-link-toggle:hover .uk-link-text{color:#999}a.uk-link-heading,.uk-link-heading a,.uk-link-toggle .uk-link-heading{color:inherit}a.uk-link-heading:hover,.uk-link-heading a:hover,.uk-link-toggle:hover .uk-link-heading{color:#1e87f0;text-decoration:none}a.uk-link-reset,.uk-link-reset a,.uk-link-toggle{color:inherit!important;text-decoration:none!important}.uk-heading-small{font-size:2.6rem;line-height:1.2}.uk-heading-medium{font-size:2.8875rem;line-height:1.1}.uk-heading-large{font-size:3.4rem;line-height:1.1}.uk-heading-xlarge{font-size:4rem;line-height:1}.uk-heading-2xlarge{font-size:6rem;line-height:1}.uk-heading-3xlarge{font-size:8rem;line-height:1}@media (min-width: 960px){.uk-heading-small{font-size:3.25rem}.uk-heading-medium{font-size:3.5rem}.uk-heading-large{font-size:4rem}.uk-heading-xlarge{font-size:6rem}.uk-heading-2xlarge{font-size:8rem}.uk-heading-3xlarge{font-size:11rem}}@media (min-width: 1200px){.uk-heading-medium{font-size:4rem}.uk-heading-large{font-size:6rem}.uk-heading-xlarge{font-size:8rem}.uk-heading-2xlarge{font-size:11rem}.uk-heading-3xlarge{font-size:15rem}}.uk-heading-divider{padding-bottom:calc(5px + .1em);border-bottom:calc(.2px + .05em) solid #e5e5e5}.uk-heading-bullet{position:relative}.uk-heading-bullet:before{content:"";display:inline-block;position:relative;top:-.1em;vertical-align:middle;height:calc(4px + .7em);margin-right:calc(5px + .2em);border-left:calc(5px + .1em) solid #e5e5e5}.uk-heading-line{overflow:hidden}.uk-heading-line>*{display:inline-block;position:relative}.uk-heading-line>:before,.uk-heading-line>:after{content:"";position:absolute;top:calc(50% - ((.2px + .05em)/2));width:2000px;border-bottom:calc(.2px + .05em) solid #e5e5e5}.uk-heading-line>:before{right:100%;margin-right:calc(5px + .3em)}.uk-heading-line>:after{left:100%;margin-left:calc(5px + .3em)}[class*=uk-divider]{border:none;margin-bottom:20px}*+[class*=uk-divider]{margin-top:20px}.uk-divider-icon{position:relative;height:20px;background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%23e5e5e5%22%20stroke-width%3D%222%22%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227%22%20%2F%3E%0A%3C%2Fsvg%3E%0A);background-repeat:no-repeat;background-position:50% 50%}.uk-divider-icon:before,.uk-divider-icon:after{content:"";position:absolute;top:50%;max-width:calc(50% - 25px);border-bottom:1px solid #e5e5e5}.uk-divider-icon:before{right:calc(50% + 25px);width:100%}.uk-divider-icon:after{left:calc(50% + 25px);width:100%}.uk-divider-small{line-height:0}.uk-divider-small:after{content:"";display:inline-block;width:100px;max-width:100%;border-top:1px solid #e5e5e5;vertical-align:top}.uk-divider-vertical{width:max-content;height:100px;margin-left:auto;margin-right:auto;border-left:1px solid #e5e5e5}.uk-list{padding:0;list-style:none}.uk-list>*{break-inside:avoid-column}.uk-list>*>:last-child{margin-bottom:0}.uk-list>:nth-child(n+2),.uk-list>*>ul{margin-top:10px}.uk-list-disc>*,.uk-list-circle>*,.uk-list-square>*,.uk-list-decimal>*,.uk-list-hyphen>*{padding-left:30px}.uk-list-decimal{counter-reset:decimal}.uk-list-decimal>*{counter-increment:decimal}.uk-list-disc>:before,.uk-list-circle>:before,.uk-list-square>:before,.uk-list-decimal>:before,.uk-list-hyphen>:before{content:"";position:relative;left:-30px;width:30px;height:1.5em;margin-bottom:-1.5em;display:list-item;list-style-position:inside;text-align:right}.uk-list-disc>:before{list-style-type:disc}.uk-list-circle>:before{list-style-type:circle}.uk-list-square>:before{list-style-type:square}.uk-list-decimal>:before{content:counter(decimal,decimal) " . "}.uk-list-hyphen>:before{content:"–  "}.uk-list-muted>:before{color:#999!important}.uk-list-emphasis>:before{color:#333!important}.uk-list-primary>:before{color:#1e87f0!important}.uk-list-secondary>:before{color:#222!important}.uk-list-bullet>*{padding-left:30px}.uk-list-bullet>:before{content:"";display:list-item;position:relative;left:-30px;width:30px;height:1.5em;margin-bottom:-1.5em;background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22%23666%22%20cx%3D%223%22%20cy%3D%223%22%20r%3D%223%22%20%2F%3E%0A%3C%2Fsvg%3E);background-repeat:no-repeat;background-position:50% 50%}.uk-list-divider>:nth-child(n+2){margin-top:10px;padding-top:10px;border-top:1px solid #e5e5e5}.uk-list-striped>*{padding:10px}.uk-list-striped>*:nth-of-type(odd){border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.uk-list-striped>:nth-of-type(odd){background:#f8f8f8}.uk-list-striped>:nth-child(n+2){margin-top:0}.uk-list-large>:nth-child(n+2),.uk-list-large>*>ul{margin-top:20px}.uk-list-collapse>:nth-child(n+2),.uk-list-collapse>*>ul{margin-top:0}.uk-list-large.uk-list-divider>:nth-child(n+2){margin-top:20px;padding-top:20px}.uk-list-collapse.uk-list-divider>:nth-child(n+2){margin-top:0;padding-top:0}.uk-list-large.uk-list-striped>*{padding:20px 10px}.uk-list-collapse.uk-list-striped>*{padding-top:0;padding-bottom:0}.uk-list-large.uk-list-striped>:nth-child(n+2),.uk-list-collapse.uk-list-striped>:nth-child(n+2){margin-top:0}.uk-description-list>dt{color:#333;font-size:.875rem;font-weight:400;text-transform:uppercase}.uk-description-list>dt:nth-child(n+2){margin-top:20px}.uk-description-list-divider>dt:nth-child(n+2){margin-top:20px;padding-top:20px;border-top:1px solid #e5e5e5}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:20px}*+.uk-table{margin-top:20px}.uk-table th{padding:16px 12px;text-align:left;vertical-align:bottom;font-size:.875rem;font-weight:400;color:#999;text-transform:uppercase}.uk-table td{padding:16px 12px;vertical-align:top}.uk-table td>:last-child{margin-bottom:0}.uk-table tfoot{font-size:.875rem}.uk-table caption{font-size:.875rem;text-align:left;color:#999}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-divider>tr:not(:first-child),.uk-table-divider>:not(:first-child)>tr,.uk-table-divider>:first-child>tr:not(:first-child){border-top:1px solid #e5e5e5}.uk-table-striped>tr:nth-of-type(odd),.uk-table-striped tbody tr:nth-of-type(odd){background:#f8f8f8;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.uk-table-hover>tr:hover,.uk-table-hover tbody tr:hover{background:#ffd}.uk-table>tr.uk-active,.uk-table tbody tr.uk-active{background:#ffd}.uk-table-small th,.uk-table-small td{padding:10px 12px}.uk-table-large th,.uk-table-large td{padding:22px 12px}.uk-table-justify th:first-child,.uk-table-justify td:first-child{padding-left:0}.uk-table-justify th:last-child,.uk-table-justify td:last-child{padding-right:0}.uk-table-shrink{width:1px}.uk-table-expand{min-width:150px}.uk-table-link{padding:0!important}.uk-table-link>a{display:block;padding:16px 12px}.uk-table-small .uk-table-link>a{padding:10px 12px}@media (max-width: 959px){.uk-table-responsive,.uk-table-responsive tbody,.uk-table-responsive th,.uk-table-responsive td,.uk-table-responsive tr{display:block}.uk-table-responsive thead{display:none}.uk-table-responsive th,.uk-table-responsive td{width:auto!important;max-width:none!important;min-width:0!important;overflow:visible!important;white-space:normal!important}.uk-table-responsive th:not(:first-child):not(.uk-table-link),.uk-table-responsive td:not(:first-child):not(.uk-table-link),.uk-table-responsive .uk-table-link:not(:first-child)>a{padding-top:5px!important}.uk-table-responsive th:not(:last-child):not(.uk-table-link),.uk-table-responsive td:not(:last-child):not(.uk-table-link),.uk-table-responsive .uk-table-link:not(:last-child)>a{padding-bottom:5px!important}.uk-table-justify.uk-table-responsive th,.uk-table-justify.uk-table-responsive td{padding-left:0;padding-right:0}}.uk-table tbody tr{transition:background-color .1s linear}.uk-table-striped>tr:nth-of-type(2n):last-child,.uk-table-striped tbody tr:nth-of-type(2n):last-child{border-bottom:1px solid #e5e5e5}.uk-icon{margin:0;border:none;border-radius:0;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background-color:transparent;display:inline-block;fill:currentcolor;line-height:0}button.uk-icon:not(:disabled){cursor:pointer}.uk-icon::-moz-focus-inner{border:0;padding:0}.uk-icon:not(.uk-preserve) [fill*="#"]:not(.uk-preserve){fill:currentcolor}.uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve){stroke:currentcolor}.uk-icon>*{transform:translate(0)}.uk-icon-image{width:20px;height:20px;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;object-fit:scale-down;max-width:none}.uk-icon-link{color:#999;text-decoration:none!important}.uk-icon-link:hover{color:#666}.uk-icon-link:active,.uk-active>.uk-icon-link{color:#595959}.uk-icon-button{box-sizing:border-box;width:36px;height:36px;border-radius:500px;background:#f8f8f8;color:#999;vertical-align:middle;display:inline-flex;justify-content:center;align-items:center;transition:.1s ease-in-out;transition-property:color,background-color}.uk-icon-button:hover{background-color:#ebebeb;color:#666}.uk-icon-button:active,.uk-active>.uk-icon-button{background-color:#dfdfdf;color:#666}.uk-range{-webkit-appearance:none;box-sizing:border-box;margin:0;vertical-align:middle;max-width:100%;width:100%;background:transparent}.uk-range:focus{outline:none}.uk-range::-moz-focus-outer{border:none}.uk-range:not(:disabled)::-webkit-slider-thumb{cursor:pointer}.uk-range:not(:disabled)::-moz-range-thumb{cursor:pointer}.uk-range::-webkit-slider-runnable-track{height:3px;background:#ebebeb;border-radius:500px}.uk-range:focus::-webkit-slider-runnable-track,.uk-range:active::-webkit-slider-runnable-track{background:#dedede}.uk-range::-moz-range-track{height:3px;background:#ebebeb;border-radius:500px}.uk-range:focus::-moz-range-track{background:#dedede}.uk-range::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-7px;height:15px;width:15px;border-radius:500px;background:#fff;border:1px solid #cccccc}.uk-range::-moz-range-thumb{border:none;height:15px;width:15px;margin-top:-7px;border-radius:500px;background:#fff;border:1px solid #cccccc}.uk-input,.uk-select,.uk-textarea,.uk-radio,.uk-checkbox{box-sizing:border-box;margin:0;border-radius:0;font:inherit}.uk-input{overflow:visible}.uk-select{text-transform:none}.uk-select optgroup{font:inherit;font-weight:700}.uk-textarea{overflow:auto}.uk-input[type=search]::-webkit-search-cancel-button,.uk-input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-input[type=number]::-webkit-inner-spin-button,.uk-input[type=number]::-webkit-outer-spin-button{height:auto}.uk-input::-moz-placeholder,.uk-textarea::-moz-placeholder{opacity:1}.uk-radio:not(:disabled),.uk-checkbox:not(:disabled){cursor:pointer}.uk-fieldset{border:none;margin:0;padding:0;min-width:0}.uk-input,.uk-textarea{-webkit-appearance:none}.uk-input,.uk-select,.uk-textarea{max-width:100%;width:100%;border:0 none;padding:0 10px;background:#fff;color:#666;border:1px solid #e5e5e5;transition:.2s ease-in-out;transition-property:color,background-color,border}.uk-input,.uk-select:not([multiple]):not([size]){height:40px;vertical-align:middle;display:inline-block}.uk-input:not(input),.uk-select:not(select){line-height:38px}.uk-select[multiple],.uk-select[size],.uk-textarea{padding-top:6px;padding-bottom:6px;vertical-align:top}.uk-select[multiple],.uk-select[size]{resize:vertical}.uk-input:focus,.uk-select:focus,.uk-textarea:focus{outline:none;background-color:#fff;color:#666;border-color:#1e87f0}.uk-input:disabled,.uk-select:disabled,.uk-textarea:disabled{background-color:#f8f8f8;color:#999;border-color:#e5e5e5}.uk-input::placeholder{color:#999}.uk-textarea::placeholder{color:#999}.uk-form-small{font-size:.875rem}.uk-form-small:not(textarea):not([multiple]):not([size]){height:30px;padding-left:8px;padding-right:8px}textarea.uk-form-small,[multiple].uk-form-small,[size].uk-form-small{padding:5px 8px}.uk-form-small:not(select):not(input):not(textarea){line-height:28px}.uk-form-large{font-size:1.25rem}.uk-form-large:not(textarea):not([multiple]):not([size]){height:55px;padding-left:12px;padding-right:12px}textarea.uk-form-large,[multiple].uk-form-large,[size].uk-form-large{padding:7px 12px}.uk-form-large:not(select):not(input):not(textarea){line-height:53px}.uk-form-danger,.uk-form-danger:focus{color:#f0506e;border-color:#f0506e}.uk-form-success,.uk-form-success:focus{color:#32d296;border-color:#32d296}.uk-form-blank{background:none;border-color:transparent}.uk-form-blank:focus{border-color:#e5e5e5;border-style:solid}input.uk-form-width-xsmall{width:50px}select.uk-form-width-xsmall{width:75px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-select:not([multiple]):not([size]){-webkit-appearance:none;-moz-appearance:none;padding-right:20px;background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A);background-repeat:no-repeat;background-position:100% 50%}.uk-select:not([multiple]):not([size]) option{color:#666}.uk-select:not([multiple]):not([size]):disabled{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23999%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23999%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-input[list]{padding-right:20px;background-repeat:no-repeat;background-position:100% 50%}.uk-input[list]:hover,.uk-input[list]:focus{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%2012%208%206%2016%206%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-input[list]::-webkit-calendar-picker-indicator{display:none!important}.uk-radio,.uk-checkbox{display:inline-block;height:16px;width:16px;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;background-color:transparent;background-repeat:no-repeat;background-position:50% 50%;border:1px solid #cccccc;transition:.2s ease-in-out;transition-property:background-color,border}.uk-radio{border-radius:50%}.uk-radio:focus,.uk-checkbox:focus{background-color:#0000;outline:none;border-color:#1e87f0}.uk-radio:checked,.uk-checkbox:checked,.uk-checkbox:indeterminate{background-color:#1e87f0;border-color:transparent}.uk-radio:checked:focus,.uk-checkbox:checked:focus,.uk-checkbox:indeterminate:focus{background-color:#0e6dcd}.uk-radio:checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22%23fff%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-checkbox:checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23fff%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-checkbox:indeterminate{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23fff%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-radio:disabled,.uk-checkbox:disabled{background-color:#f8f8f8;border-color:#e5e5e5}.uk-radio:disabled:checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22%23999%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-checkbox:disabled:checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23999%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-checkbox:disabled:indeterminate{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23999%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-legend{width:100%;color:inherit;padding:0;font-size:1.5rem;line-height:1.4}.uk-form-custom{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-form-custom select,.uk-form-custom input[type=file]{position:absolute;top:0;z-index:1;width:100%;height:100%;left:0;-webkit-appearance:none;opacity:0;cursor:pointer}.uk-form-custom input[type=file]{font-size:500px;overflow:hidden}.uk-form-label{color:#333;font-size:.875rem}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px}@media (max-width: 959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px}}@media (min-width: 960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:7px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:7px}}.uk-form-icon{position:absolute;top:0;bottom:0;left:0;width:40px;display:inline-flex;justify-content:center;align-items:center;color:#999}.uk-form-icon:hover{color:#666}.uk-form-icon:not(a):not(button):not(input){pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)~.uk-input{padding-left:40px!important}.uk-form-icon-flip{right:0;left:auto}.uk-form-icon-flip~.uk-input{padding-right:40px!important}.uk-button{margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;-webkit-appearance:none;border-radius:0;display:inline-block;box-sizing:border-box;padding:0 30px;vertical-align:middle;font-size:.875rem;line-height:38px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.1s ease-in-out;transition-property:color,background-color,border-color}.uk-button:not(:disabled){cursor:pointer}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button:hover{text-decoration:none}.uk-button-default{background-color:transparent;color:#333;border:1px solid #e5e5e5}.uk-button-default:hover{background-color:transparent;color:#333;border-color:#b2b2b2}.uk-button-default:active,.uk-button-default.uk-active{background-color:transparent;color:#333;border-color:#999}.uk-button-primary{background-color:#1e87f0;color:#fff;border:1px solid transparent}.uk-button-primary:hover{background-color:#0f7ae5;color:#fff}.uk-button-primary:active,.uk-button-primary.uk-active{background-color:#0e6dcd;color:#fff}.uk-button-secondary{background-color:#222;color:#fff;border:1px solid transparent}.uk-button-secondary:hover{background-color:#151515;color:#fff}.uk-button-secondary:active,.uk-button-secondary.uk-active{background-color:#080808;color:#fff}.uk-button-danger{background-color:#f0506e;color:#fff;border:1px solid transparent}.uk-button-danger:hover{background-color:#ee395b;color:#fff}.uk-button-danger:active,.uk-button-danger.uk-active{background-color:#ec2147;color:#fff}.uk-button-default:disabled,.uk-button-primary:disabled,.uk-button-secondary:disabled,.uk-button-danger:disabled{background-color:transparent;color:#999;border-color:#e5e5e5}.uk-button-small{padding:0 15px;line-height:28px;font-size:.875rem}.uk-button-large{padding:0 40px;line-height:53px;font-size:.875rem}.uk-button-text{padding:0;line-height:1.5;background:none;color:#333;position:relative}.uk-button-text:before{content:"";position:absolute;bottom:0;left:0;right:100%;border-bottom:1px solid currentColor;transition:right .3s ease-out}.uk-button-text:hover{color:#333}.uk-button-text:hover:before{right:0}.uk-button-text:disabled{color:#999}.uk-button-text:disabled:before{display:none}.uk-button-link{padding:0;line-height:1.5;background:none;color:#333}.uk-button-link:hover{color:#999;text-decoration:none}.uk-button-link:disabled{color:#999;text-decoration:none}.uk-button-group{display:inline-flex;vertical-align:middle;position:relative}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button:hover,.uk-button-group .uk-button:focus,.uk-button-group .uk-button:active,.uk-button-group .uk-button.uk-active{position:relative;z-index:1}.uk-progress{vertical-align:baseline;display:block;width:100%;border:0;background-color:#f8f8f8;margin-bottom:20px;height:15px;border-radius:500px;overflow:hidden}*+.uk-progress{margin-top:20px}.uk-progress::-webkit-progress-bar{background-color:transparent}.uk-progress::-webkit-progress-value{background-color:#1e87f0;transition:width .6s ease}.uk-progress::-moz-progress-bar{background-color:#1e87f0;transition:width .6s ease}.uk-section{display:flow-root;box-sizing:border-box;padding-top:40px;padding-bottom:40px}@media (min-width: 960px){.uk-section{padding-top:70px;padding-bottom:70px}}.uk-section>:last-child{margin-bottom:0}.uk-section-xsmall{padding-top:20px;padding-bottom:20px}.uk-section-small{padding-top:40px;padding-bottom:40px}.uk-section-large{padding-top:70px;padding-bottom:70px}@media (min-width: 960px){.uk-section-large{padding-top:140px;padding-bottom:140px}}.uk-section-xlarge{padding-top:140px;padding-bottom:140px}@media (min-width: 960px){.uk-section-xlarge{padding-top:210px;padding-bottom:210px}}.uk-section-default{background:#fff;--uk-navbar-color: dark}.uk-section-muted{background:#f8f8f8;--uk-navbar-color: dark}.uk-section-primary{background:#1e87f0;--uk-navbar-color: light}.uk-section-secondary{background:#222;--uk-navbar-color: light}.uk-container{display:flow-root;box-sizing:content-box;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}@media (min-width: 640px){.uk-container{padding-left:30px;padding-right:30px}}@media (min-width: 960px){.uk-container{padding-left:40px;padding-right:40px}}.uk-container>:last-child{margin-bottom:0}.uk-container .uk-container{padding-left:0;padding-right:0}.uk-container-xsmall{max-width:750px}.uk-container-small{max-width:900px}.uk-container-large{max-width:1400px}.uk-container-xlarge{max-width:1600px}.uk-container-expand{max-width:none}.uk-container-expand-left{margin-left:0}.uk-container-expand-right{margin-right:0}@media (min-width: 640px){.uk-container-expand-left.uk-container-xsmall,.uk-container-expand-right.uk-container-xsmall{max-width:calc(50% + 345px)}.uk-container-expand-left.uk-container-small,.uk-container-expand-right.uk-container-small{max-width:calc(50% + 420px)}}@media (min-width: 960px){.uk-container-expand-left,.uk-container-expand-right{max-width:calc(50% + 560px)}.uk-container-expand-left.uk-container-xsmall,.uk-container-expand-right.uk-container-xsmall{max-width:calc(50% + 335px)}.uk-container-expand-left.uk-container-small,.uk-container-expand-right.uk-container-small{max-width:calc(50% + 410px)}.uk-container-expand-left.uk-container-large,.uk-container-expand-right.uk-container-large{max-width:calc(50% + 660px)}.uk-container-expand-left.uk-container-xlarge,.uk-container-expand-right.uk-container-xlarge{max-width:calc(50% + 760px)}}.uk-container-item-padding-remove-left,.uk-container-item-padding-remove-right{width:calc(100% + 15px)}.uk-container-item-padding-remove-left{margin-left:-15px}.uk-container-item-padding-remove-right{margin-right:-15px}@media (min-width: 640px){.uk-container-item-padding-remove-left,.uk-container-item-padding-remove-right{width:calc(100% + 30px)}.uk-container-item-padding-remove-left{margin-left:-30px}.uk-container-item-padding-remove-right{margin-right:-30px}}@media (min-width: 960px){.uk-container-item-padding-remove-left,.uk-container-item-padding-remove-right{width:calc(100% + 40px)}.uk-container-item-padding-remove-left{margin-left:-40px}.uk-container-item-padding-remove-right{margin-right:-40px}}.uk-tile{display:flow-root;position:relative;box-sizing:border-box;padding:40px 15px}@media (min-width: 640px){.uk-tile{padding-left:30px;padding-right:30px}}@media (min-width: 960px){.uk-tile{padding:70px 40px}}.uk-tile>:last-child{margin-bottom:0}.uk-tile-xsmall{padding-top:20px;padding-bottom:20px}.uk-tile-small{padding-top:40px;padding-bottom:40px}.uk-tile-large{padding-top:70px;padding-bottom:70px}@media (min-width: 960px){.uk-tile-large{padding-top:140px;padding-bottom:140px}}.uk-tile-xlarge{padding-top:140px;padding-bottom:140px}@media (min-width: 960px){.uk-tile-xlarge{padding-top:210px;padding-bottom:210px}}.uk-tile-default{background-color:#fff}.uk-tile-muted{background-color:#f8f8f8}.uk-tile-primary{background-color:#1e87f0}.uk-tile-secondary{background-color:#222}.uk-card{position:relative;box-sizing:border-box;transition:box-shadow .1s ease-in-out}.uk-card-body{display:flow-root;padding:30px}.uk-card-header,.uk-card-footer{display:flow-root;padding:15px 30px}@media (min-width: 1200px){.uk-card-body{padding:40px}.uk-card-header,.uk-card-footer{padding:20px 40px}}.uk-card-body>:last-child,.uk-card-header>:last-child,.uk-card-footer>:last-child{margin-bottom:0}.uk-card-title{font-size:1.5rem;line-height:1.4}.uk-card-badge{position:absolute;top:15px;right:15px;z-index:1;height:22px;padding:0 10px;background:#1e87f0;color:#fff;font-size:.875rem;display:flex;justify-content:center;align-items:center;line-height:0;border-radius:2px;text-transform:uppercase}.uk-card-badge:first-child+*{margin-top:0}.uk-card-hover:not(.uk-card-default):not(.uk-card-primary):not(.uk-card-secondary):hover{background-color:#fff;box-shadow:0 14px 25px #00000029}.uk-card-default{background-color:#fff;color:#666;box-shadow:0 5px 15px #00000014}.uk-card-default .uk-card-title{color:#333}.uk-card-default.uk-card-hover:hover{background-color:#fff;box-shadow:0 14px 25px #00000029}.uk-card-default .uk-card-header{border-bottom:1px solid #e5e5e5}.uk-card-default .uk-card-footer{border-top:1px solid #e5e5e5}.uk-card-primary{background-color:#1e87f0;color:#fff;box-shadow:0 5px 15px #00000014}.uk-card-primary .uk-card-title{color:#fff}.uk-card-primary.uk-card-hover:hover{background-color:#1e87f0;box-shadow:0 14px 25px #00000029}.uk-card-secondary{background-color:#222;color:#fff;box-shadow:0 5px 15px #00000014}.uk-card-secondary .uk-card-title{color:#fff}.uk-card-secondary.uk-card-hover:hover{background-color:#222;box-shadow:0 14px 25px #00000029}.uk-card-small.uk-card-body,.uk-card-small .uk-card-body{padding:20px}.uk-card-small .uk-card-header,.uk-card-small .uk-card-footer{padding:13px 20px}@media (min-width: 1200px){.uk-card-large.uk-card-body,.uk-card-large .uk-card-body{padding:70px}.uk-card-large .uk-card-header,.uk-card-large .uk-card-footer{padding:35px 70px}}.uk-card-body>.uk-nav-default{margin-left:-30px;margin-right:-30px}.uk-card-body>.uk-nav-default:only-child{margin-top:-15px;margin-bottom:-15px}.uk-card-body>.uk-nav-default>li>a,.uk-card-body>.uk-nav-default .uk-nav-header,.uk-card-body>.uk-nav-default .uk-nav-divider{padding-left:30px;padding-right:30px}.uk-card-body>.uk-nav-default .uk-nav-sub{padding-left:45px}@media (min-width: 1200px){.uk-card-body>.uk-nav-default{margin-left:-40px;margin-right:-40px}.uk-card-body>.uk-nav-default:only-child{margin-top:-25px;margin-bottom:-25px}.uk-card-body>.uk-nav-default>li>a,.uk-card-body>.uk-nav-default .uk-nav-header,.uk-card-body>.uk-nav-default .uk-nav-divider{padding-left:40px;padding-right:40px}.uk-card-body>.uk-nav-default .uk-nav-sub{padding-left:55px}}.uk-card-small>.uk-nav-default{margin-left:-20px;margin-right:-20px}.uk-card-small>.uk-nav-default:only-child{margin-top:-5px;margin-bottom:-5px}.uk-card-small>.uk-nav-default>li>a,.uk-card-small>.uk-nav-default .uk-nav-header,.uk-card-small>.uk-nav-default .uk-nav-divider{padding-left:20px;padding-right:20px}.uk-card-small>.uk-nav-default .uk-nav-sub{padding-left:35px}@media (min-width: 1200px){.uk-card-large>.uk-nav-default{margin:0}.uk-card-large>.uk-nav-default:only-child{margin:0}.uk-card-large>.uk-nav-default>li>a,.uk-card-large>.uk-nav-default .uk-nav-header,.uk-card-large>.uk-nav-default .uk-nav-divider{padding-left:0;padding-right:0}.uk-card-large>.uk-nav-default .uk-nav-sub{padding-left:15px}}.uk-close{color:#999;transition:.1s ease-in-out;transition-property:color,opacity}.uk-close:hover{color:#666}.uk-spinner>*{animation:uk-spinner-rotate 1.4s linear infinite}@keyframes uk-spinner-rotate{0%{transform:rotate(0)}to{transform:rotate(270deg)}}.uk-spinner>*>*{stroke-dasharray:88px;stroke-dashoffset:0;transform-origin:center;animation:uk-spinner-dash 1.4s ease-in-out infinite;stroke-width:1;stroke-linecap:round}@keyframes uk-spinner-dash{0%{stroke-dashoffset:88px}50%{stroke-dashoffset:22px;transform:rotate(135deg)}to{stroke-dashoffset:88px;transform:rotate(450deg)}}.uk-totop{padding:5px;color:#999;transition:color .1s ease-in-out}.uk-totop:hover{color:#666}.uk-totop:active{color:#333}.uk-marker{padding:5px;background:#222;color:#fff;border-radius:500px}.uk-marker:hover{color:#fff}.uk-alert{position:relative;margin-bottom:20px;padding:15px 29px 15px 15px;background:#f8f8f8;color:#666}*+.uk-alert{margin-top:20px}.uk-alert>:last-child{margin-bottom:0}.uk-alert-close{position:absolute;top:20px;right:15px;color:inherit;opacity:.4}.uk-alert-close:first-child+*{margin-top:0}.uk-alert-close:hover{color:inherit;opacity:.8}.uk-alert-primary{background:#d8eafc;color:#1e87f0}.uk-alert-success{background:#edfbf6;color:#32d296}.uk-alert-warning{background:#fff6ee;color:#faa05a}.uk-alert-danger{background:#fef4f6;color:#f0506e}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert a:not([class]){color:inherit;text-decoration:underline}.uk-alert a:not([class]):hover{color:inherit;text-decoration:underline}.uk-placeholder{margin-bottom:20px;padding:30px;background:transparent;border:1px dashed #e5e5e5}*+.uk-placeholder{margin-top:20px}.uk-placeholder>:last-child{margin-bottom:0}.uk-badge{box-sizing:border-box;min-width:18px;height:18px;padding:0 5px;border-radius:500px;vertical-align:middle;background:#1e87f0;color:#fff!important;font-size:11px;display:inline-flex;justify-content:center;align-items:center;line-height:0}.uk-badge:hover{text-decoration:none}.uk-label{display:inline-block;padding:0 10px;background:#1e87f0;line-height:1.5;font-size:.875rem;color:#fff;vertical-align:middle;white-space:nowrap;border-radius:2px;text-transform:uppercase}.uk-label-success{background-color:#32d296;color:#fff}.uk-label-warning{background-color:#faa05a;color:#fff}.uk-label-danger{background-color:#f0506e;color:#fff}.uk-overlay{padding:30px}.uk-overlay>:last-child{margin-bottom:0}.uk-overlay-default{background:rgba(255,255,255,.8)}.uk-overlay-primary{background:rgba(34,34,34,.8)}.uk-article{display:flow-root}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:70px}.uk-article-title{font-size:2.23125rem;line-height:1.2}@media (min-width: 960px){.uk-article-title{font-size:2.625rem}}.uk-article-meta{font-size:.875rem;line-height:1.4;color:#999}.uk-article-meta a{color:#999}.uk-article-meta a:hover{color:#666;text-decoration:none}.uk-comment-body{display:flow-root;overflow-wrap:break-word;word-wrap:break-word}.uk-comment-header{display:flow-root;margin-bottom:20px}.uk-comment-body>:last-child,.uk-comment-header>:last-child{margin-bottom:0}.uk-comment-title{font-size:1.25rem;line-height:1.4}.uk-comment-meta{font-size:.875rem;line-height:1.4;color:#999}.uk-comment-list{padding:0;list-style:none}.uk-comment-list>:nth-child(n+2){margin-top:70px}.uk-comment-list .uk-comment~ul{margin:70px 0 0;padding-left:30px;list-style:none}@media (min-width: 960px){.uk-comment-list .uk-comment~ul{padding-left:100px}}.uk-comment-list .uk-comment~ul>:nth-child(n+2){margin-top:70px}.uk-comment-primary{padding:30px;background-color:#f8f8f8}.uk-search{display:inline-block;position:relative;max-width:100%;margin:0}.uk-search-input::-webkit-search-cancel-button,.uk-search-input::-webkit-search-decoration{-webkit-appearance:none}.uk-search-input::-moz-placeholder{opacity:1}.uk-search-input{box-sizing:border-box;margin:0;border-radius:0;font:inherit;overflow:visible;-webkit-appearance:none;vertical-align:middle;width:100%;border:none;color:#666}.uk-search-input:focus{outline:none}.uk-search-input::placeholder{color:#999}.uk-search .uk-search-icon{position:absolute;top:0;bottom:0;left:0;display:inline-flex;justify-content:center;align-items:center;color:#999}.uk-search .uk-search-icon:hover{color:#999}.uk-search .uk-search-icon:not(a):not(button):not(input){pointer-events:none}.uk-search .uk-search-icon-flip{right:0;left:auto}.uk-search-default{width:240px}.uk-search-default .uk-search-input{height:40px;padding-left:10px;padding-right:10px;background:transparent;border:1px solid #e5e5e5}.uk-search-default .uk-search-input:focus{background-color:#0000;border-color:#1e87f0}.uk-search-default .uk-search-icon{width:40px}.uk-search-default .uk-search-icon:not(.uk-search-icon-flip)~.uk-search-input{padding-left:40px}.uk-search-default .uk-search-icon-flip~.uk-search-input{padding-right:40px}.uk-search-navbar{width:400px}.uk-search-navbar .uk-search-input{height:40px;background:transparent;font-size:1.5rem}.uk-search-navbar .uk-search-icon{width:40px}.uk-search-navbar .uk-search-icon:not(.uk-search-icon-flip)~.uk-search-input{padding-left:40px}.uk-search-navbar .uk-search-icon-flip~.uk-search-input{padding-right:40px}.uk-search-large{width:500px}.uk-search-large .uk-search-input{height:80px;background:transparent;font-size:2.625rem}.uk-search-large .uk-search-icon{width:80px}.uk-search-large .uk-search-icon:not(.uk-search-icon-flip)~.uk-search-input{padding-left:80px}.uk-search-large .uk-search-icon-flip~.uk-search-input{padding-right:80px}.uk-search-toggle{color:#999}.uk-search-toggle:hover{color:#666}.uk-accordion{padding:0;list-style:none}.uk-accordion>:nth-child(n+2){margin-top:20px}.uk-accordion-title{display:block;font-size:1.25rem;line-height:1.4;color:#333;overflow:hidden}.uk-accordion-title:before{content:"";width:1.4em;height:1.4em;margin-left:10px;float:right;background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%221%22%20height%3D%2213%22%20x%3D%226%22%20y%3D%220%22%20%2F%3E%0A%3C%2Fsvg%3E);background-repeat:no-repeat;background-position:50% 50%}.uk-open>.uk-accordion-title:before{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-accordion-title:hover{color:#666;text-decoration:none}.uk-accordion-content{display:flow-root;margin-top:20px}.uk-accordion-content>:last-child{margin-bottom:0}.uk-drop{display:none;position:absolute;z-index:1020;--uk-position-offset: 20px;--uk-position-viewport-offset: 15px;box-sizing:border-box;width:300px}.uk-drop.uk-open{display:block}.uk-drop-stack .uk-drop-grid>*{width:100%!important}.uk-drop-parent-icon{margin-left:.25em;transition:transform .3s ease-out}[aria-expanded=true]>.uk-drop-parent-icon{transform:rotateX(180deg)}.uk-dropbar{--uk-position-offset: 0;--uk-position-shift-offset: 0;--uk-position-viewport-offset: 0;width:auto;padding:25px 15px;background:#fff;color:#666}.uk-dropbar>:last-child{margin-bottom:0}@media (min-width: 640px){.uk-dropbar{padding-left:30px;padding-right:30px}}@media (min-width: 960px){.uk-dropbar{padding-left:40px;padding-right:40px}}.uk-dropbar :focus-visible{outline-color:#333!important}.uk-dropbar-large{padding-top:40px;padding-bottom:40px}.uk-dropbar-top{box-shadow:0 12px 7px -6px #0000000d}.uk-dropbar-bottom{box-shadow:0 -12px 7px -6px #0000000d}.uk-dropbar-left{box-shadow:12px 0 7px -6px #0000000d}.uk-dropbar-right{box-shadow:-12px 0 7px -6px #0000000d}.uk-dropnav-dropbar{position:absolute;z-index:980;padding:0;left:0;right:0}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;padding:15px;background:rgba(0,0,0,.6);opacity:0;transition:opacity .15s linear}@media (min-width: 640px){.uk-modal{padding:50px 30px}}@media (min-width: 960px){.uk-modal{padding-left:40px;padding-right:40px}}.uk-modal.uk-open{opacity:1}.uk-modal-page{overflow:hidden}.uk-modal-dialog{position:relative;box-sizing:border-box;margin:0 auto;width:600px;max-width:100%!important;background:#fff;opacity:0;transform:translateY(-100px);transition:.3s linear;transition-property:opacity,transform}.uk-open>.uk-modal-dialog{opacity:1;transform:translateY(0)}.uk-modal-container .uk-modal-dialog{width:1200px}.uk-modal-full{padding:0;background:none}.uk-modal-full .uk-modal-dialog{margin:0;width:100%;max-width:100%;transform:translateY(0)}.uk-modal-body{display:flow-root;padding:20px}.uk-modal-header{display:flow-root;padding:10px 20px;background:#fff;border-bottom:1px solid #e5e5e5}.uk-modal-footer{display:flow-root;padding:10px 20px;background:#fff;border-top:1px solid #e5e5e5}@media (min-width: 640px){.uk-modal-body{padding:30px}.uk-modal-header,.uk-modal-footer{padding:15px 30px}}.uk-modal-body>:last-child,.uk-modal-header>:last-child,.uk-modal-footer>:last-child{margin-bottom:0}.uk-modal-title{font-size:2rem;line-height:1.3}[class*=uk-modal-close-]{position:absolute;z-index:1010;top:10px;right:10px;padding:5px}[class*=uk-modal-close-]:first-child+*{margin-top:0}.uk-modal-close-outside{top:0;right:-5px;transform:translateY(-100%);color:#fff}.uk-modal-close-outside:hover{color:#fff}@media (min-width: 960px){.uk-modal-close-outside{right:0;transform:translate(100%,-100%)}}.uk-modal-close-full{top:0;right:0;padding:10px;background:#fff}@media (min-width: 960px){.uk-modal-close-full{padding:20px}}.uk-slideshow{-webkit-tap-highlight-color:transparent}.uk-slideshow-items{position:relative;z-index:0;margin:0;padding:0;list-style:none;overflow:hidden;-webkit-touch-callout:none;touch-action:pan-y}.uk-slideshow-items>*{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;will-change:transform,opacity}.uk-slideshow-items>:not(.uk-active){display:none}.uk-slider{-webkit-tap-highlight-color:transparent}.uk-slider-container{overflow:hidden;overflow:clip}.uk-slider-container-offset{margin:-11px -25px -39px;padding:11px 25px 39px}.uk-slider-items{will-change:transform;position:relative;touch-action:pan-y}.uk-slider-items:not(.uk-grid){display:flex;margin:0;padding:0;list-style:none;-webkit-touch-callout:none}.uk-slider-items.uk-grid{flex-wrap:nowrap}.uk-slider-items>*{flex:none;box-sizing:border-box;max-width:100%;position:relative}.uk-sticky{position:relative;z-index:980;box-sizing:border-box}.uk-sticky-fixed{margin:0!important;-webkit-backface-visibility:hidden;backface-visibility:hidden}.uk-sticky[class*=uk-animation-],.uk-sticky.uk-animation-reverse{animation-duration:.2s}.uk-sticky-placeholder{pointer-events:none}.uk-offcanvas{display:none;position:fixed;top:0;bottom:0;left:0;z-index:1000}.uk-offcanvas-flip .uk-offcanvas{right:0;left:auto}.uk-offcanvas-bar{position:absolute;top:0;bottom:0;left:-270px;box-sizing:border-box;width:270px;padding:20px;background:#222;overflow-y:auto}@media (min-width: 640px){.uk-offcanvas-bar{left:-350px;width:350px;padding:30px}}.uk-offcanvas-flip .uk-offcanvas-bar{left:auto;right:-270px}@media (min-width: 640px){.uk-offcanvas-flip .uk-offcanvas-bar{right:-350px}}.uk-open>.uk-offcanvas-bar{left:0}.uk-offcanvas-flip .uk-open>.uk-offcanvas-bar{left:auto;right:0}.uk-offcanvas-bar-animation{transition:left .3s ease-out}.uk-offcanvas-flip .uk-offcanvas-bar-animation{transition-property:right}.uk-offcanvas-reveal{position:absolute;top:0;bottom:0;left:0;width:0;overflow:hidden;transition:width .3s ease-out}.uk-offcanvas-reveal .uk-offcanvas-bar{left:0}.uk-offcanvas-flip .uk-offcanvas-reveal .uk-offcanvas-bar{left:auto;right:0}.uk-open>.uk-offcanvas-reveal{width:270px}@media (min-width: 640px){.uk-open>.uk-offcanvas-reveal{width:350px}}.uk-offcanvas-flip .uk-offcanvas-reveal{right:0;left:auto}.uk-offcanvas-close{position:absolute;z-index:1000;top:5px;right:5px;padding:5px}@media (min-width: 640px){.uk-offcanvas-close{top:10px;right:10px}}.uk-offcanvas-close:first-child+*{margin-top:0}.uk-offcanvas-overlay{width:100vw;touch-action:none}.uk-offcanvas-overlay:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.1);opacity:0;transition:opacity .15s linear}.uk-offcanvas-overlay.uk-open:before{opacity:1}.uk-offcanvas-page,.uk-offcanvas-container{overflow-x:hidden;overflow-x:clip}.uk-offcanvas-container{position:relative;left:0;transition:left .3s ease-out;box-sizing:border-box;width:100%}:not(.uk-offcanvas-flip).uk-offcanvas-container-animation{left:270px}.uk-offcanvas-flip.uk-offcanvas-container-animation{left:-270px}@media (min-width: 640px){:not(.uk-offcanvas-flip).uk-offcanvas-container-animation{left:350px}.uk-offcanvas-flip.uk-offcanvas-container-animation{left:-350px}}.uk-switcher{margin:0;padding:0;list-style:none}.uk-switcher>:not(.uk-active){display:none}.uk-switcher>*>:last-child{margin-bottom:0}.uk-leader{overflow:hidden}.uk-leader-fill:after{display:inline-block;margin-left:15px;width:0;content:attr(data-fill);white-space:nowrap}.uk-leader-fill.uk-leader-hide:after{display:none}:root{--uk-leader-fill-content: .}.uk-notification{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.uk-notification-top-right,.uk-notification-bottom-right{left:auto;right:10px}.uk-notification-top-center,.uk-notification-bottom-center{left:50%;margin-left:-175px}.uk-notification-bottom-left,.uk-notification-bottom-right,.uk-notification-bottom-center{top:auto;bottom:10px}@media (max-width: 639px){.uk-notification{left:10px;right:10px;width:auto;margin:0}}.uk-notification-message{position:relative;padding:15px;background:#f8f8f8;color:#666;font-size:1.25rem;line-height:1.4;cursor:pointer}*+.uk-notification-message{margin-top:10px}.uk-notification-close{display:none;position:absolute;top:20px;right:15px}.uk-notification-message:hover .uk-notification-close{display:block}.uk-notification-message-primary{color:#1e87f0}.uk-notification-message-success{color:#32d296}.uk-notification-message-warning{color:#faa05a}.uk-notification-message-danger{color:#f0506e}.uk-tooltip{display:none;position:absolute;z-index:1030;--uk-position-offset: 10px;--uk-position-viewport-offset: 10;top:0;box-sizing:border-box;max-width:200px;padding:3px 6px;background:#666;border-radius:2px;color:#fff;font-size:12px}.uk-tooltip.uk-active{display:block}.uk-sortable{position:relative}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-drag{position:fixed!important;z-index:1050!important;pointer-events:none}.uk-sortable-placeholder{opacity:0;pointer-events:none}.uk-sortable-empty{min-height:50px}.uk-sortable-handle:hover{cursor:move}.uk-countdown-number{font-variant-numeric:tabular-nums;font-size:2rem;line-height:.8}@media (min-width: 640px){.uk-countdown-number{font-size:4rem}}@media (min-width: 960px){.uk-countdown-number{font-size:6rem}}.uk-countdown-separator{font-size:1rem;line-height:1.6}@media (min-width: 640px){.uk-countdown-separator{font-size:2rem}}@media (min-width: 960px){.uk-countdown-separator{font-size:3rem}}.uk-grid{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid>*{margin:0}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-30px}.uk-grid>*{padding-left:30px}.uk-grid+.uk-grid,.uk-grid>.uk-grid-margin,*+.uk-grid-margin{margin-top:30px}@media (min-width: 1200px){.uk-grid{margin-left:-40px}.uk-grid>*{padding-left:40px}.uk-grid+.uk-grid,.uk-grid>.uk-grid-margin,*+.uk-grid-margin{margin-top:40px}}.uk-grid-small,.uk-grid-column-small{margin-left:-15px}.uk-grid-small>*,.uk-grid-column-small>*{padding-left:15px}.uk-grid+.uk-grid-small,.uk-grid+.uk-grid-row-small,.uk-grid-small>.uk-grid-margin,.uk-grid-row-small>.uk-grid-margin,*+.uk-grid-margin-small{margin-top:15px}.uk-grid-medium,.uk-grid-column-medium{margin-left:-30px}.uk-grid-medium>*,.uk-grid-column-medium>*{padding-left:30px}.uk-grid+.uk-grid-medium,.uk-grid+.uk-grid-row-medium,.uk-grid-medium>.uk-grid-margin,.uk-grid-row-medium>.uk-grid-margin,*+.uk-grid-margin-medium{margin-top:30px}.uk-grid-large,.uk-grid-column-large{margin-left:-40px}.uk-grid-large>*,.uk-grid-column-large>*{padding-left:40px}.uk-grid+.uk-grid-large,.uk-grid+.uk-grid-row-large,.uk-grid-large>.uk-grid-margin,.uk-grid-row-large>.uk-grid-margin,*+.uk-grid-margin-large{margin-top:40px}@media (min-width: 1200px){.uk-grid-large,.uk-grid-column-large{margin-left:-70px}.uk-grid-large>*,.uk-grid-column-large>*{padding-left:70px}.uk-grid+.uk-grid-large,.uk-grid+.uk-grid-row-large,.uk-grid-large>.uk-grid-margin,.uk-grid-row-large>.uk-grid-margin,*+.uk-grid-margin-large{margin-top:70px}}.uk-grid-collapse,.uk-grid-column-collapse{margin-left:0}.uk-grid-collapse>*,.uk-grid-column-collapse>*{padding-left:0}.uk-grid+.uk-grid-collapse,.uk-grid+.uk-grid-row-collapse,.uk-grid-collapse>.uk-grid-margin,.uk-grid-row-collapse>.uk-grid-margin{margin-top:0}.uk-grid-divider>*{position:relative}.uk-grid-divider>:not(.uk-first-column):before{content:"";position:absolute;top:0;bottom:0;border-left:1px solid #e5e5e5}.uk-grid-divider.uk-grid-stack>.uk-grid-margin:before{content:"";position:absolute;left:0;right:0;border-top:1px solid #e5e5e5}.uk-grid-divider{margin-left:-60px}.uk-grid-divider>*{padding-left:60px}.uk-grid-divider>:not(.uk-first-column):before{left:30px}.uk-grid-divider.uk-grid-stack>.uk-grid-margin{margin-top:60px}.uk-grid-divider.uk-grid-stack>.uk-grid-margin:before{top:-30px;left:60px}@media (min-width: 1200px){.uk-grid-divider{margin-left:-80px}.uk-grid-divider>*{padding-left:80px}.uk-grid-divider>:not(.uk-first-column):before{left:40px}.uk-grid-divider.uk-grid-stack>.uk-grid-margin{margin-top:80px}.uk-grid-divider.uk-grid-stack>.uk-grid-margin:before{top:-40px;left:80px}}.uk-grid-divider.uk-grid-small,.uk-grid-divider.uk-grid-column-small{margin-left:-30px}.uk-grid-divider.uk-grid-small>*,.uk-grid-divider.uk-grid-column-small>*{padding-left:30px}.uk-grid-divider.uk-grid-small>:not(.uk-first-column):before,.uk-grid-divider.uk-grid-column-small>:not(.uk-first-column):before{left:15px}.uk-grid-divider.uk-grid-small.uk-grid-stack>.uk-grid-margin,.uk-grid-divider.uk-grid-row-small.uk-grid-stack>.uk-grid-margin{margin-top:30px}.uk-grid-divider.uk-grid-small.uk-grid-stack>.uk-grid-margin:before{top:-15px;left:30px}.uk-grid-divider.uk-grid-row-small.uk-grid-stack>.uk-grid-margin:before{top:-15px}.uk-grid-divider.uk-grid-column-small.uk-grid-stack>.uk-grid-margin:before{left:30px}.uk-grid-divider.uk-grid-medium,.uk-grid-divider.uk-grid-column-medium{margin-left:-60px}.uk-grid-divider.uk-grid-medium>*,.uk-grid-divider.uk-grid-column-medium>*{padding-left:60px}.uk-grid-divider.uk-grid-medium>:not(.uk-first-column):before,.uk-grid-divider.uk-grid-column-medium>:not(.uk-first-column):before{left:30px}.uk-grid-divider.uk-grid-medium.uk-grid-stack>.uk-grid-margin,.uk-grid-divider.uk-grid-row-medium.uk-grid-stack>.uk-grid-margin{margin-top:60px}.uk-grid-divider.uk-grid-medium.uk-grid-stack>.uk-grid-margin:before{top:-30px;left:60px}.uk-grid-divider.uk-grid-row-medium.uk-grid-stack>.uk-grid-margin:before{top:-30px}.uk-grid-divider.uk-grid-column-medium.uk-grid-stack>.uk-grid-margin:before{left:60px}.uk-grid-divider.uk-grid-large,.uk-grid-divider.uk-grid-column-large{margin-left:-80px}.uk-grid-divider.uk-grid-large>*,.uk-grid-divider.uk-grid-column-large>*{padding-left:80px}.uk-grid-divider.uk-grid-large>:not(.uk-first-column):before,.uk-grid-divider.uk-grid-column-large>:not(.uk-first-column):before{left:40px}.uk-grid-divider.uk-grid-large.uk-grid-stack>.uk-grid-margin,.uk-grid-divider.uk-grid-row-large.uk-grid-stack>.uk-grid-margin{margin-top:80px}.uk-grid-divider.uk-grid-large.uk-grid-stack>.uk-grid-margin:before{top:-40px;left:80px}.uk-grid-divider.uk-grid-row-large.uk-grid-stack>.uk-grid-margin:before{top:-40px}.uk-grid-divider.uk-grid-column-large.uk-grid-stack>.uk-grid-margin:before{left:80px}@media (min-width: 1200px){.uk-grid-divider.uk-grid-large,.uk-grid-divider.uk-grid-column-large{margin-left:-140px}.uk-grid-divider.uk-grid-large>*,.uk-grid-divider.uk-grid-column-large>*{padding-left:140px}.uk-grid-divider.uk-grid-large>:not(.uk-first-column):before,.uk-grid-divider.uk-grid-column-large>:not(.uk-first-column):before{left:70px}.uk-grid-divider.uk-grid-large.uk-grid-stack>.uk-grid-margin,.uk-grid-divider.uk-grid-row-large.uk-grid-stack>.uk-grid-margin{margin-top:140px}.uk-grid-divider.uk-grid-large.uk-grid-stack>.uk-grid-margin:before{top:-70px;left:140px}.uk-grid-divider.uk-grid-row-large.uk-grid-stack>.uk-grid-margin:before{top:-70px}.uk-grid-divider.uk-grid-column-large.uk-grid-stack>.uk-grid-margin:before{left:140px}}.uk-grid-match>*,.uk-grid-item-match{display:flex;flex-wrap:wrap}.uk-grid-match>*>:not([class*=uk-width]),.uk-grid-item-match>:not([class*=uk-width]){box-sizing:border-box;width:100%;flex:auto}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:flex;align-items:center;column-gap:.25em;text-decoration:none}.uk-nav>li>a{padding:5px 0}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-sub ul{padding-left:15px}.uk-nav-sub a{padding:2px 0}.uk-nav-parent-icon{margin-left:auto;transition:transform .3s ease-out}.uk-nav>li.uk-open>a .uk-nav-parent-icon{transform:rotateX(180deg)}.uk-nav-header{padding:5px 0;text-transform:uppercase;font-size:.875rem}.uk-nav-header:not(:first-child){margin-top:20px}.uk-nav .uk-nav-divider{margin:5px 0}.uk-nav-default{font-size:.875rem;line-height:1.5}.uk-nav-default>li>a{color:#999}.uk-nav-default>li>a:hover{color:#666}.uk-nav-default>li.uk-active>a{color:#333}.uk-nav-default .uk-nav-subtitle{font-size:12px}.uk-nav-default .uk-nav-header{color:#333}.uk-nav-default .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-nav-default .uk-nav-sub{font-size:.875rem;line-height:1.5}.uk-nav-default .uk-nav-sub a{color:#999}.uk-nav-default .uk-nav-sub a:hover{color:#666}.uk-nav-default .uk-nav-sub li.uk-active>a{color:#333}.uk-nav-primary{font-size:1.5rem;line-height:1.5}.uk-nav-primary>li>a{color:#999}.uk-nav-primary>li>a:hover{color:#666}.uk-nav-primary>li.uk-active>a{color:#333}.uk-nav-primary .uk-nav-subtitle{font-size:1.25rem}.uk-nav-primary .uk-nav-header{color:#333}.uk-nav-primary .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-nav-primary .uk-nav-sub{font-size:1.25rem;line-height:1.5}.uk-nav-primary .uk-nav-sub a{color:#999}.uk-nav-primary .uk-nav-sub a:hover{color:#666}.uk-nav-primary .uk-nav-sub li.uk-active>a{color:#333}.uk-nav-secondary{font-size:16px;line-height:1.5}.uk-nav-secondary>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider){margin-top:0}.uk-nav-secondary>li>a{color:#333;padding:10px}.uk-nav-secondary>li>a:hover{color:#333;background-color:#f8f8f8}.uk-nav-secondary>li.uk-active>a{color:#333;background-color:#f8f8f8}.uk-nav-secondary .uk-nav-subtitle{font-size:.875rem;color:#999}.uk-nav-secondary>li>a:hover .uk-nav-subtitle{color:#666}.uk-nav-secondary>li.uk-active>a .uk-nav-subtitle{color:#333}.uk-nav-secondary .uk-nav-header{color:#333}.uk-nav-secondary .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-nav-secondary .uk-nav-sub{font-size:.875rem;line-height:1.5}.uk-nav-secondary .uk-nav-sub a{color:#999}.uk-nav-secondary .uk-nav-sub a:hover{color:#666}.uk-nav-secondary .uk-nav-sub li.uk-active>a{color:#333}.uk-nav-center{text-align:center}.uk-nav-center li>a{justify-content:center}.uk-nav-center .uk-nav-sub,.uk-nav-center .uk-nav-sub ul{padding-left:0}.uk-nav-center .uk-nav-parent-icon{margin-left:.25em}.uk-nav.uk-nav-divider>:not(.uk-nav-header,.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider){margin-top:5px;padding-top:5px;border-top:1px solid #e5e5e5}.uk-navbar{display:flex;position:relative;--uk-navbar-dropbar-behind-color: dark}.uk-navbar-container:not(.uk-navbar-transparent){background:#f8f8f8}.uk-navbar-left,.uk-navbar-right,[class*=uk-navbar-center]{display:flex;gap:15px;align-items:center}.uk-navbar-right{margin-left:auto}.uk-navbar-center:only-child{margin-left:auto;margin-right:auto;position:relative}.uk-navbar-center:not(:only-child){position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:max-content;box-sizing:border-box;z-index:990}.uk-navbar-center-left,.uk-navbar-center-right{position:absolute;top:0}.uk-navbar-center-left{right:calc(100% + 15px)}.uk-navbar-center-right{left:calc(100% + 15px)}[class*=uk-navbar-center-]{width:max-content;box-sizing:border-box}.uk-navbar-nav{display:flex;gap:15px;margin:0;padding:0;list-style:none}.uk-navbar-left,.uk-navbar-right,.uk-navbar-center:only-child{flex-wrap:wrap}.uk-navbar-nav>li>a,.uk-navbar-item,.uk-navbar-toggle{display:flex;justify-content:center;align-items:center;column-gap:.25em;box-sizing:border-box;min-height:80px;font-size:.875rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";text-decoration:none}.uk-navbar-nav>li>a{padding:0;color:#999;text-transform:uppercase;transition:.1s ease-in-out;transition-property:color,background-color}.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a[aria-expanded=true]{color:#666}.uk-navbar-nav>li>a:active{color:#333}.uk-navbar-nav>li.uk-active>a{color:#333}.uk-navbar-parent-icon{margin-left:4px;transition:transform .3s ease-out}.uk-navbar-nav>li>a[aria-expanded=true] .uk-navbar-parent-icon{transform:rotateX(180deg)}.uk-navbar-item{padding:0;color:#666}.uk-navbar-item>:last-child{margin-bottom:0}.uk-navbar-toggle{padding:0;color:#999}.uk-navbar-toggle:hover,.uk-navbar-toggle[aria-expanded=true]{color:#666;text-decoration:none}.uk-navbar-subtitle{font-size:.875rem}.uk-navbar-justify .uk-navbar-left,.uk-navbar-justify .uk-navbar-right,.uk-navbar-justify .uk-navbar-nav,.uk-navbar-justify .uk-navbar-nav>li,.uk-navbar-justify .uk-navbar-item,.uk-navbar-justify .uk-navbar-toggle{flex-grow:1}.uk-navbar-dropdown{--uk-position-offset: 15px;--uk-position-shift-offset: 0;--uk-position-viewport-offset: 15px;width:200px;padding:25px;background:#fff;color:#666;box-shadow:0 5px 12px #00000026}.uk-navbar-dropdown>:last-child{margin-bottom:0}.uk-navbar-dropdown :focus-visible{outline-color:#333!important}.uk-navbar-dropdown .uk-drop-grid{margin-left:-30px}.uk-navbar-dropdown .uk-drop-grid>*{padding-left:30px}.uk-navbar-dropdown .uk-drop-grid>.uk-grid-margin{margin-top:30px}.uk-navbar-dropdown-width-2:not(.uk-drop-stack){width:400px}.uk-navbar-dropdown-width-3:not(.uk-drop-stack){width:600px}.uk-navbar-dropdown-width-4:not(.uk-drop-stack){width:800px}.uk-navbar-dropdown-width-5:not(.uk-drop-stack){width:1000px}.uk-navbar-dropdown-large{--uk-position-shift-offset: 0;padding:40px}.uk-navbar-dropdown-dropbar{width:auto;background:transparent;padding:25px 0;--uk-position-offset: 0;--uk-position-shift-offset: 0;--uk-position-viewport-offset: 15px;box-shadow:none}@media (min-width: 640px){.uk-navbar-dropdown-dropbar{--uk-position-viewport-offset: 30px}}@media (min-width: 960px){.uk-navbar-dropdown-dropbar{--uk-position-viewport-offset: 40px}}.uk-navbar-dropdown-dropbar-large{--uk-position-shift-offset: 0;padding-top:40px;padding-bottom:40px}.uk-navbar-dropdown-nav{font-size:.875rem}.uk-navbar-dropdown-nav>li>a{color:#999}.uk-navbar-dropdown-nav>li>a:hover{color:#666}.uk-navbar-dropdown-nav>li.uk-active>a{color:#333}.uk-navbar-dropdown-nav .uk-nav-subtitle{font-size:12px}.uk-navbar-dropdown-nav .uk-nav-header{color:#333}.uk-navbar-dropdown-nav .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-navbar-dropdown-nav .uk-nav-sub a{color:#999}.uk-navbar-dropdown-nav .uk-nav-sub a:hover{color:#666}.uk-navbar-dropdown-nav .uk-nav-sub li.uk-active>a{color:#333}.uk-navbar-container{transition:.1s ease-in-out;transition-property:background-color}@media (min-width: 960px){.uk-navbar-left,.uk-navbar-right,[class*=uk-navbar-center]{gap:30px}.uk-navbar-center-left{right:calc(100% + 30px)}.uk-navbar-center-right{left:calc(100% + 30px)}}@media (min-width: 960px){.uk-navbar-nav{gap:30px}}.uk-subnav{display:flex;flex-wrap:wrap;align-items:center;margin-left:-20px;padding:0;list-style:none}.uk-subnav>*{flex:none;padding-left:20px;position:relative}.uk-subnav>*>:first-child{display:flex;align-items:center;column-gap:.25em;color:#999;font-size:.875rem;text-transform:uppercase;transition:.1s ease-in-out;transition-property:color,background-color}.uk-subnav>*>a:hover{color:#666;text-decoration:none}.uk-subnav>.uk-active>a{color:#333}.uk-subnav-divider{margin-left:-41px}.uk-subnav-divider>*{display:flex;align-items:center}.uk-subnav-divider>:before{content:"";height:1.5em;margin-left:0;margin-right:20px;border-left:1px solid transparent}.uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before{border-left-color:#e5e5e5}.uk-subnav-pill>*>:first-child{padding:5px 10px;background:transparent;color:#999}.uk-subnav-pill>*>a:hover{background-color:#f8f8f8;color:#666}.uk-subnav-pill>*>a:active{background-color:#f8f8f8;color:#666}.uk-subnav-pill>.uk-active>a{background-color:#1e87f0;color:#fff}.uk-subnav>.uk-disabled>a{color:#999}.uk-breadcrumb{padding:0;list-style:none}.uk-breadcrumb>*{display:contents}.uk-breadcrumb>*>*{font-size:.875rem;color:#999}.uk-breadcrumb>*>:hover{color:#666;text-decoration:none}.uk-breadcrumb>:last-child>span,.uk-breadcrumb>:last-child>a:not([href]){color:#666}.uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before{content:"/";display:inline-block;margin:0 20px 0 16px;font-size:.875rem;color:#999}.uk-pagination{display:flex;flex-wrap:wrap;align-items:center;margin-left:0;padding:0;list-style:none}.uk-pagination>*{flex:none;padding-left:0;position:relative}.uk-pagination>*>*{display:flex;align-items:center;column-gap:.25em;padding:5px 10px;color:#999;transition:color .1s ease-in-out}.uk-pagination>*>:hover{color:#666;text-decoration:none}.uk-pagination>.uk-active>*{color:#666}.uk-pagination>.uk-disabled>*{color:#999}.uk-tab{display:flex;flex-wrap:wrap;margin-left:-20px;padding:0;list-style:none;position:relative}.uk-tab:before{content:"";position:absolute;bottom:0;left:20px;right:0;border-bottom:1px solid #e5e5e5}.uk-tab>*{flex:none;padding-left:20px;position:relative}.uk-tab>*>a{display:flex;align-items:center;column-gap:.25em;justify-content:center;padding:5px 10px;color:#999;border-bottom:1px solid transparent;font-size:.875rem;text-transform:uppercase;transition:color .1s ease-in-out}.uk-tab>*>a:hover{color:#666;text-decoration:none}.uk-tab>.uk-active>a{color:#333;border-color:#1e87f0}.uk-tab>.uk-disabled>a{color:#999}.uk-tab-bottom:before{top:0;bottom:auto}.uk-tab-bottom>*>a{border-top:1px solid transparent;border-bottom:none}.uk-tab-left,.uk-tab-right{flex-direction:column;margin-left:0}.uk-tab-left>*,.uk-tab-right>*{padding-left:0}.uk-tab-left:before{top:0;bottom:0;left:auto;right:0;border-left:1px solid #e5e5e5;border-bottom:none}.uk-tab-right:before{top:0;bottom:0;left:0;right:auto;border-left:1px solid #e5e5e5;border-bottom:none}.uk-tab-left>*>a{justify-content:left;border-right:1px solid transparent;border-bottom:none}.uk-tab-right>*>a{justify-content:left;border-left:1px solid transparent;border-bottom:none}.uk-tab .uk-dropdown{margin-left:30px}.uk-slidenav{padding:5px 10px;color:#66666680;transition:color .1s ease-in-out}.uk-slidenav:hover{color:#666666e6}.uk-slidenav:active{color:#66666680}.uk-slidenav-large{padding:10px}.uk-slidenav-container{display:flex}.uk-dotnav{display:flex;flex-wrap:wrap;padding:0;list-style:none;margin:0 0 0 -12px}.uk-dotnav>*{flex:none;padding-left:12px}.uk-dotnav>*>*{display:block;box-sizing:border-box;width:10px;height:10px;border-radius:50%;background:transparent;text-indent:100%;overflow:hidden;white-space:nowrap;border:1px solid rgba(102,102,102,.4);transition:.2s ease-in-out;transition-property:background-color,border-color}.uk-dotnav>*>:hover{background-color:#6669;border-color:transparent}.uk-dotnav>*>:active{background-color:#6663;border-color:transparent}.uk-dotnav>.uk-active>*{background-color:#6669;border-color:transparent}.uk-dotnav-vertical{flex-direction:column;margin-left:0;margin-top:-12px}.uk-dotnav-vertical>*{padding-left:0;padding-top:12px}.uk-thumbnav{display:flex;flex-wrap:wrap;padding:0;list-style:none;margin:0 0 0 -15px}.uk-thumbnav>*{padding-left:15px}.uk-thumbnav>*>*{display:inline-block;position:relative}.uk-thumbnav>*>*:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.4));transition:opacity .1s ease-in-out}.uk-thumbnav>*>:hover:after{opacity:0}.uk-thumbnav>.uk-active>*:after{opacity:0}.uk-thumbnav-vertical{flex-direction:column;margin-left:0;margin-top:-15px}.uk-thumbnav-vertical>*{padding-left:0;padding-top:15px}.uk-iconnav{display:flex;flex-wrap:wrap;padding:0;list-style:none;margin:0 0 0 -10px}.uk-iconnav>*{padding-left:10px}.uk-iconnav>*>a{display:flex;align-items:center;column-gap:.25em;line-height:0;color:#999;text-decoration:none;font-size:.875rem;transition:.1s ease-in-out;transition-property:color,background-color}.uk-iconnav>*>a:hover{color:#666}.uk-iconnav>.uk-active>a{color:#666}.uk-iconnav-vertical{flex-direction:column;margin-left:0;margin-top:-10px}.uk-iconnav-vertical>*{padding-left:0;padding-top:10px}.uk-dropdown{--uk-position-offset: 10px;--uk-position-viewport-offset: 15px;width:auto;min-width:200px;padding:25px;background:#fff;color:#666;box-shadow:0 5px 12px #00000026}.uk-dropdown>:last-child{margin-bottom:0}.uk-dropdown :focus-visible{outline-color:#333!important}.uk-dropdown-large{padding:40px}.uk-dropdown-dropbar{width:auto;background:transparent;padding:5px 0 25px;--uk-position-viewport-offset: 15px;box-shadow:none}@media (min-width: 640px){.uk-dropdown-dropbar{--uk-position-viewport-offset: 30px}}@media (min-width: 960px){.uk-dropdown-dropbar{--uk-position-viewport-offset: 40px}}.uk-dropdown-dropbar-large{padding-top:40px;padding-bottom:40px}.uk-dropdown-nav{font-size:.875rem}.uk-dropdown-nav>li>a{color:#999}.uk-dropdown-nav>li>a:hover,.uk-dropdown-nav>li.uk-active>a{color:#666}.uk-dropdown-nav .uk-nav-subtitle{font-size:12px}.uk-dropdown-nav .uk-nav-header{color:#333}.uk-dropdown-nav .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-dropdown-nav .uk-nav-sub a{color:#999}.uk-dropdown-nav .uk-nav-sub a:hover,.uk-dropdown-nav .uk-nav-sub li.uk-active>a{color:#666}.uk-lightbox{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;background:#000;opacity:0;transition:opacity .15s linear;touch-action:pinch-zoom}.uk-lightbox.uk-open{display:block;opacity:1}.uk-lightbox :focus-visible{outline-color:#ffffffb3}.uk-lightbox-page{overflow:hidden}.uk-lightbox-items>*{position:absolute;top:0;right:0;bottom:0;left:0;display:none;justify-content:center;align-items:center;color:#ffffffb3;will-change:transform,opacity}.uk-lightbox-items>*>*{max-width:100vw;max-height:100vh}.uk-lightbox-items>*>:not(iframe){width:auto;height:auto}.uk-lightbox-items>.uk-active{display:flex}.uk-lightbox-toolbar{padding:10px;background:rgba(0,0,0,.3);color:#ffffffb3}.uk-lightbox-toolbar>*{color:#ffffffb3}.uk-lightbox-toolbar-icon{padding:5px;color:#ffffffb3}.uk-lightbox-toolbar-icon:hover{color:#fff}.uk-lightbox-button{box-sizing:border-box;width:50px;height:50px;background:rgba(0,0,0,.3);color:#ffffffb3;display:inline-flex;justify-content:center;align-items:center}.uk-lightbox-button:hover{color:#fff}.uk-lightbox-caption:empty{display:none}.uk-lightbox-iframe{width:80%;height:80%}[class*=uk-animation-]{animation:.5s ease-out both}.uk-animation-fade{animation-name:uk-fade;animation-duration:.8s;animation-timing-function:linear}.uk-animation-scale-up{animation-name:uk-fade,uk-scale-up}.uk-animation-scale-down{animation-name:uk-fade,uk-scale-down}.uk-animation-slide-top{animation-name:uk-fade,uk-slide-top}.uk-animation-slide-bottom{animation-name:uk-fade,uk-slide-bottom}.uk-animation-slide-left{animation-name:uk-fade,uk-slide-left}.uk-animation-slide-right{animation-name:uk-fade,uk-slide-right}.uk-animation-slide-top-small{animation-name:uk-fade,uk-slide-top-small}.uk-animation-slide-bottom-small{animation-name:uk-fade,uk-slide-bottom-small}.uk-animation-slide-left-small{animation-name:uk-fade,uk-slide-left-small}.uk-animation-slide-right-small{animation-name:uk-fade,uk-slide-right-small}.uk-animation-slide-top-medium{animation-name:uk-fade,uk-slide-top-medium}.uk-animation-slide-bottom-medium{animation-name:uk-fade,uk-slide-bottom-medium}.uk-animation-slide-left-medium{animation-name:uk-fade,uk-slide-left-medium}.uk-animation-slide-right-medium{animation-name:uk-fade,uk-slide-right-medium}.uk-animation-kenburns{animation-name:uk-kenburns;animation-duration:15s}.uk-animation-shake{animation-name:uk-shake}.uk-animation-stroke{animation-name:uk-stroke;animation-duration:2s;stroke-dasharray:var(--uk-animation-stroke)}.uk-animation-reverse{animation-direction:reverse;animation-timing-function:ease-in}.uk-animation-fast{animation-duration:.1s}.uk-animation-toggle:not(:hover):not(:focus) [class*=uk-animation-]{animation-name:none}@keyframes uk-fade{0%{opacity:0}to{opacity:1}}@keyframes uk-scale-up{0%{transform:scale(.9)}to{transform:scale(1)}}@keyframes uk-scale-down{0%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes uk-slide-top{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes uk-slide-bottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes uk-slide-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes uk-slide-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes uk-slide-top-small{0%{transform:translateY(-10px)}to{transform:translateY(0)}}@keyframes uk-slide-bottom-small{0%{transform:translateY(10px)}to{transform:translateY(0)}}@keyframes uk-slide-left-small{0%{transform:translate(-10px)}to{transform:translate(0)}}@keyframes uk-slide-right-small{0%{transform:translate(10px)}to{transform:translate(0)}}@keyframes uk-slide-top-medium{0%{transform:translateY(-50px)}to{transform:translateY(0)}}@keyframes uk-slide-bottom-medium{0%{transform:translateY(50px)}to{transform:translateY(0)}}@keyframes uk-slide-left-medium{0%{transform:translate(-50px)}to{transform:translate(0)}}@keyframes uk-slide-right-medium{0%{transform:translate(50px)}to{transform:translate(0)}}@keyframes uk-kenburns{0%{transform:scale(1)}to{transform:scale(1.2)}}@keyframes uk-shake{0%,to{transform:translate(0)}10%{transform:translate(-9px)}20%{transform:translate(8px)}30%{transform:translate(-7px)}40%{transform:translate(6px)}50%{transform:translate(-5px)}60%{transform:translate(4px)}70%{transform:translate(-3px)}80%{transform:translate(2px)}90%{transform:translate(-1px)}}@keyframes uk-stroke{0%{stroke-dashoffset:var(--uk-animation-stroke)}to{stroke-dashoffset:0}}[class*=uk-child-width]>*{box-sizing:border-box;width:100%}.uk-child-width-1-2>*{width:50%}.uk-child-width-1-3>*{width:calc(100% * 1 / 3.001)}.uk-child-width-1-4>*{width:25%}.uk-child-width-1-5>*{width:20%}.uk-child-width-1-6>*{width:calc(100% * 1 / 6.001)}.uk-child-width-auto>*{width:auto}.uk-child-width-expand>:not([class*=uk-width]){flex:1;min-width:1px}@media (min-width: 640px){.uk-child-width-1-1\@s>*{width:100%}.uk-child-width-1-2\@s>*{width:50%}.uk-child-width-1-3\@s>*{width:calc(100% * 1 / 3.001)}.uk-child-width-1-4\@s>*{width:25%}.uk-child-width-1-5\@s>*{width:20%}.uk-child-width-1-6\@s>*{width:calc(100% * 1 / 6.001)}.uk-child-width-auto\@s>*{width:auto}.uk-child-width-expand\@s>:not([class*=uk-width]){flex:1;min-width:1px}}@media (min-width: 960px){.uk-child-width-1-1\@m>*{width:100%}.uk-child-width-1-2\@m>*{width:50%}.uk-child-width-1-3\@m>*{width:calc(100% * 1 / 3.001)}.uk-child-width-1-4\@m>*{width:25%}.uk-child-width-1-5\@m>*{width:20%}.uk-child-width-1-6\@m>*{width:calc(100% * 1 / 6.001)}.uk-child-width-auto\@m>*{width:auto}.uk-child-width-expand\@m>:not([class*=uk-width]){flex:1;min-width:1px}}@media (min-width: 1200px){.uk-child-width-1-1\@l>*{width:100%}.uk-child-width-1-2\@l>*{width:50%}.uk-child-width-1-3\@l>*{width:calc(100% * 1 / 3.001)}.uk-child-width-1-4\@l>*{width:25%}.uk-child-width-1-5\@l>*{width:20%}.uk-child-width-1-6\@l>*{width:calc(100% * 1 / 6.001)}.uk-child-width-auto\@l>*{width:auto}.uk-child-width-expand\@l>:not([class*=uk-width]){flex:1;min-width:1px}}@media (min-width: 1600px){.uk-child-width-1-1\@xl>*{width:100%}.uk-child-width-1-2\@xl>*{width:50%}.uk-child-width-1-3\@xl>*{width:calc(100% * 1 / 3.001)}.uk-child-width-1-4\@xl>*{width:25%}.uk-child-width-1-5\@xl>*{width:20%}.uk-child-width-1-6\@xl>*{width:calc(100% * 1 / 6.001)}.uk-child-width-auto\@xl>*{width:auto}.uk-child-width-expand\@xl>:not([class*=uk-width]){flex:1;min-width:1px}}[class*=uk-width]{box-sizing:border-box;width:100%;max-width:100%}.uk-width-1-2{width:50%}.uk-width-1-3{width:calc(100% * 1 / 3.001)}.uk-width-2-3{width:calc(100% * 2 / 3.001)}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5{width:20%}.uk-width-2-5{width:40%}.uk-width-3-5{width:60%}.uk-width-4-5{width:80%}.uk-width-1-6{width:calc(100% * 1 / 6.001)}.uk-width-5-6{width:calc(100% * 5 / 6.001)}.uk-width-small{width:150px}.uk-width-medium{width:300px}.uk-width-large{width:450px}.uk-width-xlarge{width:600px}.uk-width-2xlarge{width:750px}.uk-width-auto{width:auto}.uk-width-expand{flex:1;min-width:1px}@media (min-width: 640px){.uk-width-1-1\@s{width:100%}.uk-width-1-2\@s{width:50%}.uk-width-1-3\@s{width:calc(100% * 1 / 3.001)}.uk-width-2-3\@s{width:calc(100% * 2 / 3.001)}.uk-width-1-4\@s{width:25%}.uk-width-3-4\@s{width:75%}.uk-width-1-5\@s{width:20%}.uk-width-2-5\@s{width:40%}.uk-width-3-5\@s{width:60%}.uk-width-4-5\@s{width:80%}.uk-width-1-6\@s{width:calc(100% * 1 / 6.001)}.uk-width-5-6\@s{width:calc(100% * 5 / 6.001)}.uk-width-small\@s{width:150px}.uk-width-medium\@s{width:300px}.uk-width-large\@s{width:450px}.uk-width-xlarge\@s{width:600px}.uk-width-2xlarge\@s{width:750px}.uk-width-auto\@s{width:auto}.uk-width-expand\@s{flex:1;min-width:1px}}@media (min-width: 960px){.uk-width-1-1\@m{width:100%}.uk-width-1-2\@m{width:50%}.uk-width-1-3\@m{width:calc(100% * 1 / 3.001)}.uk-width-2-3\@m{width:calc(100% * 2 / 3.001)}.uk-width-1-4\@m{width:25%}.uk-width-3-4\@m{width:75%}.uk-width-1-5\@m{width:20%}.uk-width-2-5\@m{width:40%}.uk-width-3-5\@m{width:60%}.uk-width-4-5\@m{width:80%}.uk-width-1-6\@m{width:calc(100% * 1 / 6.001)}.uk-width-5-6\@m{width:calc(100% * 5 / 6.001)}.uk-width-small\@m{width:150px}.uk-width-medium\@m{width:300px}.uk-width-large\@m{width:450px}.uk-width-xlarge\@m{width:600px}.uk-width-2xlarge\@m{width:750px}.uk-width-auto\@m{width:auto}.uk-width-expand\@m{flex:1;min-width:1px}}@media (min-width: 1200px){.uk-width-1-1\@l{width:100%}.uk-width-1-2\@l{width:50%}.uk-width-1-3\@l{width:calc(100% * 1 / 3.001)}.uk-width-2-3\@l{width:calc(100% * 2 / 3.001)}.uk-width-1-4\@l{width:25%}.uk-width-3-4\@l{width:75%}.uk-width-1-5\@l{width:20%}.uk-width-2-5\@l{width:40%}.uk-width-3-5\@l{width:60%}.uk-width-4-5\@l{width:80%}.uk-width-1-6\@l{width:calc(100% * 1 / 6.001)}.uk-width-5-6\@l{width:calc(100% * 5 / 6.001)}.uk-width-small\@l{width:150px}.uk-width-medium\@l{width:300px}.uk-width-large\@l{width:450px}.uk-width-xlarge\@l{width:600px}.uk-width-2xlarge\@l{width:750px}.uk-width-auto\@l{width:auto}.uk-width-expand\@l{flex:1;min-width:1px}}@media (min-width: 1600px){.uk-width-1-1\@xl{width:100%}.uk-width-1-2\@xl{width:50%}.uk-width-1-3\@xl{width:calc(100% * 1 / 3.001)}.uk-width-2-3\@xl{width:calc(100% * 2 / 3.001)}.uk-width-1-4\@xl{width:25%}.uk-width-3-4\@xl{width:75%}.uk-width-1-5\@xl{width:20%}.uk-width-2-5\@xl{width:40%}.uk-width-3-5\@xl{width:60%}.uk-width-4-5\@xl{width:80%}.uk-width-1-6\@xl{width:calc(100% * 1 / 6.001)}.uk-width-5-6\@xl{width:calc(100% * 5 / 6.001)}.uk-width-small\@xl{width:150px}.uk-width-medium\@xl{width:300px}.uk-width-large\@xl{width:450px}.uk-width-xlarge\@xl{width:600px}.uk-width-2xlarge\@xl{width:750px}.uk-width-auto\@xl{width:auto}.uk-width-expand\@xl{flex:1;min-width:1px}}.uk-width-max-content{width:max-content}.uk-width-min-content{width:min-content}[class*=uk-height]{box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{min-height:100vh}.uk-height-viewport-2{min-height:200vh}.uk-height-viewport-3{min-height:300vh}.uk-height-viewport-4{min-height:400vh}.uk-height-small{height:150px}.uk-height-medium{height:300px}.uk-height-large{height:450px}.uk-height-max-small{max-height:150px}.uk-height-max-medium{max-height:300px}.uk-height-max-large{max-height:450px}.uk-text-lead{font-size:1.5rem;line-height:1.5;color:#333}.uk-text-meta{font-size:.875rem;line-height:1.4;color:#999}.uk-text-meta>a{color:#999}.uk-text-meta>a:hover{color:#666;text-decoration:none}.uk-text-small{font-size:.875rem;line-height:1.5}.uk-text-large{font-size:1.5rem;line-height:1.5}.uk-text-default{font-size:16px;line-height:1.5}.uk-text-light{font-weight:300}.uk-text-normal{font-weight:400}.uk-text-bold{font-weight:700}.uk-text-lighter{font-weight:lighter}.uk-text-bolder{font-weight:bolder}.uk-text-italic{font-style:italic}.uk-text-capitalize{text-transform:capitalize!important}.uk-text-uppercase{text-transform:uppercase!important}.uk-text-lowercase{text-transform:lowercase!important}.uk-text-decoration-none{text-decoration:none!important}.uk-text-muted{color:#999!important}.uk-text-emphasis{color:#333!important}.uk-text-primary{color:#1e87f0!important}.uk-text-secondary{color:#222!important}.uk-text-success{color:#32d296!important}.uk-text-warning{color:#faa05a!important}.uk-text-danger{color:#f0506e!important}.uk-text-background{-webkit-background-clip:text;color:transparent!important;display:inline-block;background-color:#1e87f0;background-image:linear-gradient(90deg,#1e87f0 0%,#411ef0 100%)}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}@media (min-width: 640px){.uk-text-left\@s{text-align:left!important}.uk-text-right\@s{text-align:right!important}.uk-text-center\@s{text-align:center!important}}@media (min-width: 960px){.uk-text-left\@m{text-align:left!important}.uk-text-right\@m{text-align:right!important}.uk-text-center\@m{text-align:center!important}}@media (min-width: 1200px){.uk-text-left\@l{text-align:left!important}.uk-text-right\@l{text-align:right!important}.uk-text-center\@l{text-align:center!important}}@media (min-width: 1600px){.uk-text-left\@xl{text-align:left!important}.uk-text-right\@xl{text-align:right!important}.uk-text-center\@xl{text-align:center!important}}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}.uk-text-baseline{vertical-align:baseline!important}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th.uk-text-truncate,td.uk-text-truncate{max-width:0}.uk-text-break{overflow-wrap:break-word}th.uk-text-break,td.uk-text-break{word-break:break-word}[class*=uk-column-]{column-gap:30px}@media (min-width: 1200px){[class*=uk-column-]{column-gap:40px}}[class*=uk-column-] img{transform:translateZ(0)}.uk-column-divider{column-rule:1px solid #e5e5e5;column-gap:60px}@media (min-width: 1200px){.uk-column-divider{column-gap:80px}}.uk-column-1-2{column-count:2}.uk-column-1-3{column-count:3}.uk-column-1-4{column-count:4}.uk-column-1-5{column-count:5}.uk-column-1-6{column-count:6}@media (min-width: 640px){.uk-column-1-2\@s{column-count:2}.uk-column-1-3\@s{column-count:3}.uk-column-1-4\@s{column-count:4}.uk-column-1-5\@s{column-count:5}.uk-column-1-6\@s{column-count:6}}@media (min-width: 960px){.uk-column-1-2\@m{column-count:2}.uk-column-1-3\@m{column-count:3}.uk-column-1-4\@m{column-count:4}.uk-column-1-5\@m{column-count:5}.uk-column-1-6\@m{column-count:6}}@media (min-width: 1200px){.uk-column-1-2\@l{column-count:2}.uk-column-1-3\@l{column-count:3}.uk-column-1-4\@l{column-count:4}.uk-column-1-5\@l{column-count:5}.uk-column-1-6\@l{column-count:6}}@media (min-width: 1600px){.uk-column-1-2\@xl{column-count:2}.uk-column-1-3\@xl{column-count:3}.uk-column-1-4\@xl{column-count:4}.uk-column-1-5\@xl{column-count:5}.uk-column-1-6\@xl{column-count:6}}.uk-column-span{column-span:all}img[uk-cover],video[uk-cover],img[data-uk-cover],video[data-uk-cover]{left:0;top:0;position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}:not(img,video)[uk-cover],:not(img,video)[data-uk-cover]{pointer-events:none;max-width:none;position:absolute;left:50%;top:50%;--uk-position-translate-x: -50%;--uk-position-translate-y: -50%;transform:translate(var(--uk-position-translate-x),var(--uk-position-translate-y))}iframe[uk-cover],iframe[data-uk-cover]{pointer-events:none}.uk-cover-container{overflow:hidden;position:relative}.uk-background-default{background-color:#fff}.uk-background-muted{background-color:#f8f8f8}.uk-background-primary{background-color:#1e87f0}.uk-background-secondary{background-color:#222}.uk-background-cover,.uk-background-contain,.uk-background-width-1-1,.uk-background-height-1-1{background-position:50% 50%;background-repeat:no-repeat}.uk-background-cover{background-size:cover}.uk-background-contain{background-size:contain}.uk-background-width-1-1{background-size:100%}.uk-background-height-1-1{background-size:auto 100%}.uk-background-top-left{background-position:0 0}.uk-background-top-center{background-position:50% 0}.uk-background-top-right{background-position:100% 0}.uk-background-center-left{background-position:0 50%}.uk-background-center-center{background-position:50% 50%}.uk-background-center-right{background-position:100% 50%}.uk-background-bottom-left{background-position:0 100%}.uk-background-bottom-center{background-position:50% 100%}.uk-background-bottom-right{background-position:100% 100%}.uk-background-norepeat{background-repeat:no-repeat}.uk-background-fixed{background-attachment:fixed;backface-visibility:hidden}@media (pointer: coarse){.uk-background-fixed{background-attachment:scroll}}@media (max-width: 639px){.uk-background-image\@s{background-image:none!important}}@media (max-width: 959px){.uk-background-image\@m{background-image:none!important}}@media (max-width: 1199px){.uk-background-image\@l{background-image:none!important}}@media (max-width: 1599px){.uk-background-image\@xl{background-image:none!important}}.uk-background-blend-multiply{background-blend-mode:multiply}.uk-background-blend-screen{background-blend-mode:screen}.uk-background-blend-overlay{background-blend-mode:overlay}.uk-background-blend-darken{background-blend-mode:darken}.uk-background-blend-lighten{background-blend-mode:lighten}.uk-background-blend-color-dodge{background-blend-mode:color-dodge}.uk-background-blend-color-burn{background-blend-mode:color-burn}.uk-background-blend-hard-light{background-blend-mode:hard-light}.uk-background-blend-soft-light{background-blend-mode:soft-light}.uk-background-blend-difference{background-blend-mode:difference}.uk-background-blend-exclusion{background-blend-mode:exclusion}.uk-background-blend-hue{background-blend-mode:hue}.uk-background-blend-saturation{background-blend-mode:saturation}.uk-background-blend-color{background-blend-mode:color}.uk-background-blend-luminosity{background-blend-mode:luminosity}[class*=uk-align]{display:block;margin-bottom:30px}*+[class*=uk-align]{margin-top:30px}.uk-align-center{margin-left:auto;margin-right:auto}.uk-align-left{margin-top:0;margin-right:30px;float:left}.uk-align-right{margin-top:0;margin-left:30px;float:right}@media (min-width: 640px){.uk-align-left\@s{margin-top:0;margin-right:30px;float:left}.uk-align-right\@s{margin-top:0;margin-left:30px;float:right}}@media (min-width: 960px){.uk-align-left\@m{margin-top:0;margin-right:30px;float:left}.uk-align-right\@m{margin-top:0;margin-left:30px;float:right}}@media (min-width: 1200px){.uk-align-left\@l{margin-top:0;float:left}.uk-align-right\@l{margin-top:0;float:right}.uk-align-left,.uk-align-left\@s,.uk-align-left\@m,.uk-align-left\@l{margin-right:40px}.uk-align-right,.uk-align-right\@s,.uk-align-right\@m,.uk-align-right\@l{margin-left:40px}}@media (min-width: 1600px){.uk-align-left\@xl{margin-top:0;margin-right:40px;float:left}.uk-align-right\@xl{margin-top:0;margin-left:40px;float:right}}.uk-svg,.uk-svg:not(.uk-preserve) [fill*="#"]:not(.uk-preserve){fill:currentcolor}.uk-svg:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve){stroke:currentcolor}.uk-svg{transform:translate(0)}.uk-panel{display:flow-root;position:relative;box-sizing:border-box}.uk-panel>:last-child{margin-bottom:0}.uk-panel-scrollable{height:170px;padding:10px;border:1px solid #e5e5e5;overflow:auto;resize:both}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}.uk-overflow-hidden{overflow:hidden}.uk-overflow-auto{overflow:auto}.uk-overflow-auto>:last-child{margin-bottom:0}.uk-box-sizing-content{box-sizing:content-box}.uk-box-sizing-border{box-sizing:border-box}.uk-resize{resize:both}.uk-resize-horizontal{resize:horizontal}.uk-resize-vertical{resize:vertical}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}[class*=uk-inline]{display:inline-block;position:relative;max-width:100%;vertical-align:middle;-webkit-backface-visibility:hidden}.uk-inline-clip{overflow:hidden}.uk-preserve-width,.uk-preserve-width canvas,.uk-preserve-width img,.uk-preserve-width svg,.uk-preserve-width video{max-width:none}.uk-responsive-width,.uk-responsive-height{box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto;max-width:none}[uk-responsive],[data-uk-responsive]{max-width:100%}.uk-object-cover{object-fit:cover}.uk-object-contain{object-fit:contain}.uk-object-fill{object-fit:fill}.uk-object-none{object-fit:none}.uk-object-scale-down{object-fit:scale-down}.uk-object-top-left{object-position:0 0}.uk-object-top-center{object-position:50% 0}.uk-object-top-right{object-position:100% 0}.uk-object-center-left{object-position:0 50%}.uk-object-center-center{object-position:50% 50%}.uk-object-center-right{object-position:100% 50%}.uk-object-bottom-left{object-position:0 100%}.uk-object-bottom-center{object-position:50% 100%}.uk-object-bottom-right{object-position:100% 100%}.uk-border-circle{border-radius:50%}.uk-border-pill{border-radius:500px}.uk-border-rounded{border-radius:5px}.uk-inline-clip[class*=uk-border-]{-webkit-transform:translateZ(0)}.uk-box-shadow-small{box-shadow:0 2px 8px #00000014}.uk-box-shadow-medium{box-shadow:0 5px 15px #00000014}.uk-box-shadow-large{box-shadow:0 14px 25px #00000029}.uk-box-shadow-xlarge{box-shadow:0 28px 50px #00000029}[class*=uk-box-shadow-hover]{transition:box-shadow .1s ease-in-out}.uk-box-shadow-hover-small:hover{box-shadow:0 2px 8px #00000014}.uk-box-shadow-hover-medium:hover{box-shadow:0 5px 15px #00000014}.uk-box-shadow-hover-large:hover{box-shadow:0 14px 25px #00000029}.uk-box-shadow-hover-xlarge:hover{box-shadow:0 28px 50px #00000029}@supports (filter: blur(0)){.uk-box-shadow-bottom{display:inline-block;position:relative;z-index:0;max-width:100%;vertical-align:middle}.uk-box-shadow-bottom:after{content:"";position:absolute;bottom:-30px;left:0;right:0;z-index:-1;height:30px;border-radius:100%;background:#444;filter:blur(20px);will-change:filter}}.uk-dropcap:first-letter,.uk-dropcap>p:first-of-type:first-letter{display:block;margin-right:10px;float:left;font-size:4.5em;line-height:1;margin-bottom:-2px}@-moz-document url-prefix(){.uk-dropcap:first-letter,.uk-dropcap>p:first-of-type:first-letter{margin-top:1.1%}}.uk-logo{font-size:1.5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";color:#333;text-decoration:none}:where(.uk-logo){display:inline-block;vertical-align:middle}.uk-logo:hover{color:#333;text-decoration:none}.uk-logo :where(img,svg,video){display:block}.uk-logo-inverse{display:none}.uk-disabled{pointer-events:none}.uk-drag,.uk-drag *{cursor:move}.uk-drag iframe{pointer-events:none}.uk-dragover{box-shadow:0 0 20px #6464644d}.uk-blend-multiply{mix-blend-mode:multiply}.uk-blend-screen{mix-blend-mode:screen}.uk-blend-overlay{mix-blend-mode:overlay}.uk-blend-darken{mix-blend-mode:darken}.uk-blend-lighten{mix-blend-mode:lighten}.uk-blend-color-dodge{mix-blend-mode:color-dodge}.uk-blend-color-burn{mix-blend-mode:color-burn}.uk-blend-hard-light{mix-blend-mode:hard-light}.uk-blend-soft-light{mix-blend-mode:soft-light}.uk-blend-difference{mix-blend-mode:difference}.uk-blend-exclusion{mix-blend-mode:exclusion}.uk-blend-hue{mix-blend-mode:hue}.uk-blend-saturation{mix-blend-mode:saturation}.uk-blend-color{mix-blend-mode:color}.uk-blend-luminosity{mix-blend-mode:luminosity}.uk-transform-center{transform:translate(-50%,-50%)}.uk-transform-origin-top-left{transform-origin:0 0}.uk-transform-origin-top-center{transform-origin:50% 0}.uk-transform-origin-top-right{transform-origin:100% 0}.uk-transform-origin-center-left{transform-origin:0 50%}.uk-transform-origin-center-right{transform-origin:100% 50%}.uk-transform-origin-bottom-left{transform-origin:0 100%}.uk-transform-origin-bottom-center{transform-origin:50% 100%}.uk-transform-origin-bottom-right{transform-origin:100% 100%}.uk-flex{display:flex}.uk-flex-inline{display:inline-flex}.uk-flex-left{justify-content:flex-start}.uk-flex-center{justify-content:center}.uk-flex-right{justify-content:flex-end}.uk-flex-between{justify-content:space-between}.uk-flex-around{justify-content:space-around}@media (min-width: 640px){.uk-flex-left\@s{justify-content:flex-start}.uk-flex-center\@s{justify-content:center}.uk-flex-right\@s{justify-content:flex-end}.uk-flex-between\@s{justify-content:space-between}.uk-flex-around\@s{justify-content:space-around}}@media (min-width: 960px){.uk-flex-left\@m{justify-content:flex-start}.uk-flex-center\@m{justify-content:center}.uk-flex-right\@m{justify-content:flex-end}.uk-flex-between\@m{justify-content:space-between}.uk-flex-around\@m{justify-content:space-around}}@media (min-width: 1200px){.uk-flex-left\@l{justify-content:flex-start}.uk-flex-center\@l{justify-content:center}.uk-flex-right\@l{justify-content:flex-end}.uk-flex-between\@l{justify-content:space-between}.uk-flex-around\@l{justify-content:space-around}}@media (min-width: 1600px){.uk-flex-left\@xl{justify-content:flex-start}.uk-flex-center\@xl{justify-content:center}.uk-flex-right\@xl{justify-content:flex-end}.uk-flex-between\@xl{justify-content:space-between}.uk-flex-around\@xl{justify-content:space-around}}.uk-flex-stretch{align-items:stretch}.uk-flex-top{align-items:flex-start}.uk-flex-middle{align-items:center}.uk-flex-bottom{align-items:flex-end}.uk-flex-row{flex-direction:row}.uk-flex-row-reverse{flex-direction:row-reverse}.uk-flex-column{flex-direction:column}.uk-flex-column-reverse{flex-direction:column-reverse}.uk-flex-nowrap{flex-wrap:nowrap}.uk-flex-wrap{flex-wrap:wrap}.uk-flex-wrap-reverse{flex-wrap:wrap-reverse}.uk-flex-wrap-stretch{align-content:stretch}.uk-flex-wrap-top{align-content:flex-start}.uk-flex-wrap-middle{align-content:center}.uk-flex-wrap-bottom{align-content:flex-end}.uk-flex-wrap-between{align-content:space-between}.uk-flex-wrap-around{align-content:space-around}.uk-flex-first{order:-1}.uk-flex-last{order:99}@media (min-width: 640px){.uk-flex-first\@s{order:-1}.uk-flex-last\@s{order:99}}@media (min-width: 960px){.uk-flex-first\@m{order:-1}.uk-flex-last\@m{order:99}}@media (min-width: 1200px){.uk-flex-first\@l{order:-1}.uk-flex-last\@l{order:99}}@media (min-width: 1600px){.uk-flex-first\@xl{order:-1}.uk-flex-last\@xl{order:99}}.uk-flex-none{flex:none}.uk-flex-auto{flex:auto}.uk-flex-1{flex:1}.uk-margin{margin-bottom:20px}*+.uk-margin{margin-top:20px!important}.uk-margin-top{margin-top:20px!important}.uk-margin-bottom{margin-bottom:20px!important}.uk-margin-left{margin-left:20px!important}.uk-margin-right{margin-right:20px!important}.uk-margin-small{margin-bottom:10px}*+.uk-margin-small{margin-top:10px!important}.uk-margin-small-top{margin-top:10px!important}.uk-margin-small-bottom{margin-bottom:10px!important}.uk-margin-small-left{margin-left:10px!important}.uk-margin-small-right{margin-right:10px!important}.uk-margin-medium{margin-bottom:40px}*+.uk-margin-medium{margin-top:40px!important}.uk-margin-medium-top{margin-top:40px!important}.uk-margin-medium-bottom{margin-bottom:40px!important}.uk-margin-medium-left{margin-left:40px!important}.uk-margin-medium-right{margin-right:40px!important}.uk-margin-large{margin-bottom:40px}*+.uk-margin-large{margin-top:40px!important}.uk-margin-large-top{margin-top:40px!important}.uk-margin-large-bottom{margin-bottom:40px!important}.uk-margin-large-left{margin-left:40px!important}.uk-margin-large-right{margin-right:40px!important}@media (min-width: 1200px){.uk-margin-large{margin-bottom:70px}*+.uk-margin-large{margin-top:70px!important}.uk-margin-large-top{margin-top:70px!important}.uk-margin-large-bottom{margin-bottom:70px!important}.uk-margin-large-left{margin-left:70px!important}.uk-margin-large-right{margin-right:70px!important}}.uk-margin-xlarge{margin-bottom:70px}*+.uk-margin-xlarge{margin-top:70px!important}.uk-margin-xlarge-top{margin-top:70px!important}.uk-margin-xlarge-bottom{margin-bottom:70px!important}.uk-margin-xlarge-left{margin-left:70px!important}.uk-margin-xlarge-right{margin-right:70px!important}@media (min-width: 1200px){.uk-margin-xlarge{margin-bottom:140px}*+.uk-margin-xlarge{margin-top:140px!important}.uk-margin-xlarge-top{margin-top:140px!important}.uk-margin-xlarge-bottom{margin-bottom:140px!important}.uk-margin-xlarge-left{margin-left:140px!important}.uk-margin-xlarge-right{margin-right:140px!important}}.uk-margin-auto{margin-left:auto!important;margin-right:auto!important}.uk-margin-auto-top{margin-top:auto!important}.uk-margin-auto-bottom{margin-bottom:auto!important}.uk-margin-auto-left{margin-left:auto!important}.uk-margin-auto-right{margin-right:auto!important}.uk-margin-auto-vertical{margin-top:auto!important;margin-bottom:auto!important}@media (min-width: 640px){.uk-margin-auto\@s{margin-left:auto!important;margin-right:auto!important}.uk-margin-auto-left\@s{margin-left:auto!important}.uk-margin-auto-right\@s{margin-right:auto!important}}@media (min-width: 960px){.uk-margin-auto\@m{margin-left:auto!important;margin-right:auto!important}.uk-margin-auto-left\@m{margin-left:auto!important}.uk-margin-auto-right\@m{margin-right:auto!important}}@media (min-width: 1200px){.uk-margin-auto\@l{margin-left:auto!important;margin-right:auto!important}.uk-margin-auto-left\@l{margin-left:auto!important}.uk-margin-auto-right\@l{margin-right:auto!important}}@media (min-width: 1600px){.uk-margin-auto\@xl{margin-left:auto!important;margin-right:auto!important}.uk-margin-auto-left\@xl{margin-left:auto!important}.uk-margin-auto-right\@xl{margin-right:auto!important}}.uk-margin-remove{margin:0!important}.uk-margin-remove-top{margin-top:0!important}.uk-margin-remove-bottom{margin-bottom:0!important}.uk-margin-remove-left{margin-left:0!important}.uk-margin-remove-right{margin-right:0!important}.uk-margin-remove-vertical{margin-top:0!important;margin-bottom:0!important}.uk-margin-remove-adjacent+*,.uk-margin-remove-first-child>:first-child{margin-top:0!important}.uk-margin-remove-last-child>:last-child{margin-bottom:0!important}@media (min-width: 640px){.uk-margin-remove-left\@s{margin-left:0!important}.uk-margin-remove-right\@s{margin-right:0!important}}@media (min-width: 960px){.uk-margin-remove-left\@m{margin-left:0!important}.uk-margin-remove-right\@m{margin-right:0!important}}@media (min-width: 1200px){.uk-margin-remove-left\@l{margin-left:0!important}.uk-margin-remove-right\@l{margin-right:0!important}}@media (min-width: 1600px){.uk-margin-remove-left\@xl{margin-left:0!important}.uk-margin-remove-right\@xl{margin-right:0!important}}.uk-padding{padding:30px}@media (min-width: 1200px){.uk-padding{padding:40px}}.uk-padding-small{padding:15px}.uk-padding-large{padding:40px}@media (min-width: 1200px){.uk-padding-large{padding:70px}}.uk-padding-remove{padding:0!important}.uk-padding-remove-top{padding-top:0!important}.uk-padding-remove-bottom{padding-bottom:0!important}.uk-padding-remove-left{padding-left:0!important}.uk-padding-remove-right{padding-right:0!important}.uk-padding-remove-vertical{padding-top:0!important;padding-bottom:0!important}.uk-padding-remove-horizontal{padding-left:0!important;padding-right:0!important}:root{--uk-position-margin-offset: 0px}[class*=uk-position-top],[class*=uk-position-bottom],[class*=uk-position-left],[class*=uk-position-right],[class*=uk-position-center]{position:absolute!important;max-width:calc(100% - (var(--uk-position-margin-offset) * 2));box-sizing:border-box}.uk-position-top{top:0;left:0;right:0}.uk-position-bottom{bottom:0;left:0;right:0}.uk-position-left{top:0;bottom:0;left:0}.uk-position-right{top:0;bottom:0;right:0}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-center{top:calc(50% - var(--uk-position-margin-offset));left:calc(50% - var(--uk-position-margin-offset));--uk-position-translate-x: -50%;--uk-position-translate-y: -50%;transform:translate(var(--uk-position-translate-x),var(--uk-position-translate-y));width:max-content}[class*=uk-position-center-left],[class*=uk-position-center-right]{top:calc(50% - var(--uk-position-margin-offset));--uk-position-translate-y: -50%;transform:translateY(var(--uk-position-translate-y))}.uk-position-center-left{left:0}.uk-position-center-right{right:0}.uk-position-center-left-out{right:100%;width:max-content}.uk-position-center-right-out{left:100%;width:max-content}.uk-position-top-center,.uk-position-bottom-center{left:calc(50% - var(--uk-position-margin-offset));--uk-position-translate-x: -50%;transform:translate(var(--uk-position-translate-x));width:max-content}.uk-position-top-center{top:0}.uk-position-bottom-center{bottom:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-small{margin:15px;--uk-position-margin-offset: 15px}.uk-position-medium,.uk-position-large{margin:30px;--uk-position-margin-offset: 30px}@media (min-width: 1200px){.uk-position-large{margin:50px;--uk-position-margin-offset: 50px}}.uk-position-relative{position:relative!important}.uk-position-absolute{position:absolute!important}.uk-position-fixed{position:fixed!important}.uk-position-sticky{position:sticky!important}.uk-position-z-index{z-index:1}.uk-position-z-index-zero{z-index:0}.uk-position-z-index-negative{z-index:-1}.uk-position-z-index-high{z-index:990}:where(.uk-transition-fade),:where([class*=uk-transition-scale]),:where([class*=uk-transition-slide]){--uk-position-translate-x: 0;--uk-position-translate-y: 0}.uk-transition-fade,[class*=uk-transition-scale],[class*=uk-transition-slide]{--uk-translate-x: 0;--uk-translate-y: 0;--uk-scale-x: 1;--uk-scale-y: 1;transform:translate(var(--uk-position-translate-x),var(--uk-position-translate-y)) translate(var(--uk-translate-x),var(--uk-translate-y)) scale(var(--uk-scale-x),var(--uk-scale-y));transition:.3s ease-out;transition-property:opacity,transform,filter;opacity:0}.uk-transition-toggle:hover .uk-transition-fade,.uk-transition-toggle:focus .uk-transition-fade,.uk-transition-toggle .uk-transition-fade:focus-within,.uk-transition-active.uk-active .uk-transition-fade{opacity:1}[class*=uk-transition-scale]{-webkit-backface-visibility:hidden}.uk-transition-scale-up{--uk-scale-x: 1;--uk-scale-y: 1}.uk-transition-scale-down{--uk-scale-x: 1.03;--uk-scale-y: 1.03}.uk-transition-toggle:hover .uk-transition-scale-up,.uk-transition-toggle:focus .uk-transition-scale-up,.uk-transition-toggle .uk-transition-scale-up:focus-within,.uk-transition-active.uk-active .uk-transition-scale-up{--uk-scale-x: 1.03;--uk-scale-y: 1.03;opacity:1}.uk-transition-toggle:hover .uk-transition-scale-down,.uk-transition-toggle:focus .uk-transition-scale-down,.uk-transition-toggle .uk-transition-scale-down:focus-within,.uk-transition-active.uk-active .uk-transition-scale-down{--uk-scale-x: 1;--uk-scale-y: 1;opacity:1}.uk-transition-slide-top{--uk-translate-y: -100%}.uk-transition-slide-bottom{--uk-translate-y: 100%}.uk-transition-slide-left{--uk-translate-x: -100%}.uk-transition-slide-right{--uk-translate-x: 100%}.uk-transition-slide-top-small{--uk-translate-y:-10px}.uk-transition-slide-bottom-small{--uk-translate-y: 10px}.uk-transition-slide-left-small{--uk-translate-x:-10px}.uk-transition-slide-right-small{--uk-translate-x: 10px}.uk-transition-slide-top-medium{--uk-translate-y:-50px}.uk-transition-slide-bottom-medium{--uk-translate-y: 50px}.uk-transition-slide-left-medium{--uk-translate-x:-50px}.uk-transition-slide-right-medium{--uk-translate-x: 50px}.uk-transition-toggle:hover [class*=uk-transition-slide],.uk-transition-toggle:focus [class*=uk-transition-slide],.uk-transition-toggle [class*=uk-transition-slide]:focus-within,.uk-transition-active.uk-active [class*=uk-transition-slide]{--uk-translate-x: 0;--uk-translate-y: 0;opacity:1}.uk-transition-opaque{opacity:1}.uk-transition-slow{transition-duration:.7s}[hidden],.uk-hidden{display:none!important}@media (min-width: 640px){.uk-hidden\@s{display:none!important}}@media (min-width: 960px){.uk-hidden\@m{display:none!important}}@media (min-width: 1200px){.uk-hidden\@l{display:none!important}}@media (min-width: 1600px){.uk-hidden\@xl{display:none!important}}@media (max-width: 639px){.uk-visible\@s{display:none!important}}@media (max-width: 959px){.uk-visible\@m{display:none!important}}@media (max-width: 1199px){.uk-visible\@l{display:none!important}}@media (max-width: 1599px){.uk-visible\@xl{display:none!important}}.uk-invisible{visibility:hidden!important}.uk-hidden-visually:not(:focus):not(:active):not(:focus-within),.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}.uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within){opacity:0!important}@media (hover: none){.uk-hidden-touch{display:none!important}}@media (hover){.uk-hidden-notouch{display:none!important}}.uk-light,.uk-section-primary:not(.uk-preserve-color),.uk-section-secondary:not(.uk-preserve-color),.uk-tile-primary:not(.uk-preserve-color),.uk-tile-secondary:not(.uk-preserve-color),.uk-card-primary.uk-card-body,.uk-card-primary>:not([class*=uk-card-media]),.uk-card-secondary.uk-card-body,.uk-card-secondary>:not([class*=uk-card-media]),.uk-overlay-primary,.uk-offcanvas-bar{color:#ffffffb3}.uk-light a,.uk-light .uk-link,.uk-section-primary:not(.uk-preserve-color) a,.uk-section-primary:not(.uk-preserve-color) .uk-link,.uk-section-secondary:not(.uk-preserve-color) a,.uk-section-secondary:not(.uk-preserve-color) .uk-link,.uk-tile-primary:not(.uk-preserve-color) a,.uk-tile-primary:not(.uk-preserve-color) .uk-link,.uk-tile-secondary:not(.uk-preserve-color) a,.uk-tile-secondary:not(.uk-preserve-color) .uk-link,.uk-card-primary.uk-card-body a,.uk-card-primary.uk-card-body .uk-link,.uk-card-primary>:not([class*=uk-card-media]) a,.uk-card-primary>:not([class*=uk-card-media]) .uk-link,.uk-card-secondary.uk-card-body a,.uk-card-secondary.uk-card-body .uk-link,.uk-card-secondary>:not([class*=uk-card-media]) a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link,.uk-overlay-primary a,.uk-overlay-primary .uk-link,.uk-offcanvas-bar a,.uk-offcanvas-bar .uk-link{color:#fff}.uk-light a:hover,.uk-light .uk-link:hover,.uk-light .uk-link-toggle:hover .uk-link,.uk-section-primary:not(.uk-preserve-color) a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link,.uk-section-secondary:not(.uk-preserve-color) a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link,.uk-tile-primary:not(.uk-preserve-color) a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link,.uk-tile-secondary:not(.uk-preserve-color) a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link,.uk-card-primary.uk-card-body a:hover,.uk-card-primary.uk-card-body .uk-link:hover,.uk-card-primary.uk-card-body .uk-link-toggle:hover .uk-link,.uk-card-primary>:not([class*=uk-card-media]) a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link,.uk-card-secondary.uk-card-body a:hover,.uk-card-secondary.uk-card-body .uk-link:hover,.uk-card-secondary.uk-card-body .uk-link-toggle:hover .uk-link,.uk-card-secondary>:not([class*=uk-card-media]) a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link,.uk-overlay-primary a:hover,.uk-overlay-primary .uk-link:hover,.uk-overlay-primary .uk-link-toggle:hover .uk-link,.uk-offcanvas-bar a:hover,.uk-offcanvas-bar .uk-link:hover,.uk-offcanvas-bar .uk-link-toggle:hover .uk-link{color:#fff}.uk-light :not(pre)>code,.uk-light :not(pre)>kbd,.uk-light :not(pre)>samp,.uk-section-primary:not(.uk-preserve-color) :not(pre)>code,.uk-section-primary:not(.uk-preserve-color) :not(pre)>kbd,.uk-section-primary:not(.uk-preserve-color) :not(pre)>samp,.uk-section-secondary:not(.uk-preserve-color) :not(pre)>code,.uk-section-secondary:not(.uk-preserve-color) :not(pre)>kbd,.uk-section-secondary:not(.uk-preserve-color) :not(pre)>samp,.uk-tile-primary:not(.uk-preserve-color) :not(pre)>code,.uk-tile-primary:not(.uk-preserve-color) :not(pre)>kbd,.uk-tile-primary:not(.uk-preserve-color) :not(pre)>samp,.uk-tile-secondary:not(.uk-preserve-color) :not(pre)>code,.uk-tile-secondary:not(.uk-preserve-color) :not(pre)>kbd,.uk-tile-secondary:not(.uk-preserve-color) :not(pre)>samp,.uk-card-primary.uk-card-body :not(pre)>code,.uk-card-primary.uk-card-body :not(pre)>kbd,.uk-card-primary.uk-card-body :not(pre)>samp,.uk-card-primary>:not([class*=uk-card-media]) :not(pre)>code,.uk-card-primary>:not([class*=uk-card-media]) :not(pre)>kbd,.uk-card-primary>:not([class*=uk-card-media]) :not(pre)>samp,.uk-card-secondary.uk-card-body :not(pre)>code,.uk-card-secondary.uk-card-body :not(pre)>kbd,.uk-card-secondary.uk-card-body :not(pre)>samp,.uk-card-secondary>:not([class*=uk-card-media]) :not(pre)>code,.uk-card-secondary>:not([class*=uk-card-media]) :not(pre)>kbd,.uk-card-secondary>:not([class*=uk-card-media]) :not(pre)>samp,.uk-overlay-primary :not(pre)>code,.uk-overlay-primary :not(pre)>kbd,.uk-overlay-primary :not(pre)>samp,.uk-offcanvas-bar :not(pre)>code,.uk-offcanvas-bar :not(pre)>kbd,.uk-offcanvas-bar :not(pre)>samp{color:#ffffffb3;background-color:#ffffff1a}.uk-light em,.uk-section-primary:not(.uk-preserve-color) em,.uk-section-secondary:not(.uk-preserve-color) em,.uk-tile-primary:not(.uk-preserve-color) em,.uk-tile-secondary:not(.uk-preserve-color) em,.uk-card-primary.uk-card-body em,.uk-card-primary>:not([class*=uk-card-media]) em,.uk-card-secondary.uk-card-body em,.uk-card-secondary>:not([class*=uk-card-media]) em,.uk-overlay-primary em,.uk-offcanvas-bar em{color:#fff}.uk-light h1,.uk-light .uk-h1,.uk-light h2,.uk-light .uk-h2,.uk-light h3,.uk-light .uk-h3,.uk-light h4,.uk-light .uk-h4,.uk-light h5,.uk-light .uk-h5,.uk-light h6,.uk-light .uk-h6,.uk-light .uk-heading-small,.uk-light .uk-heading-medium,.uk-light .uk-heading-large,.uk-light .uk-heading-xlarge,.uk-light .uk-heading-2xlarge,.uk-light .uk-heading-3xlarge,.uk-section-primary:not(.uk-preserve-color) h1,.uk-section-primary:not(.uk-preserve-color) .uk-h1,.uk-section-primary:not(.uk-preserve-color) h2,.uk-section-primary:not(.uk-preserve-color) .uk-h2,.uk-section-primary:not(.uk-preserve-color) h3,.uk-section-primary:not(.uk-preserve-color) .uk-h3,.uk-section-primary:not(.uk-preserve-color) h4,.uk-section-primary:not(.uk-preserve-color) .uk-h4,.uk-section-primary:not(.uk-preserve-color) h5,.uk-section-primary:not(.uk-preserve-color) .uk-h5,.uk-section-primary:not(.uk-preserve-color) h6,.uk-section-primary:not(.uk-preserve-color) .uk-h6,.uk-section-primary:not(.uk-preserve-color) .uk-heading-small,.uk-section-primary:not(.uk-preserve-color) .uk-heading-medium,.uk-section-primary:not(.uk-preserve-color) .uk-heading-large,.uk-section-primary:not(.uk-preserve-color) .uk-heading-xlarge,.uk-section-primary:not(.uk-preserve-color) .uk-heading-2xlarge,.uk-section-primary:not(.uk-preserve-color) .uk-heading-3xlarge,.uk-section-secondary:not(.uk-preserve-color) h1,.uk-section-secondary:not(.uk-preserve-color) .uk-h1,.uk-section-secondary:not(.uk-preserve-color) h2,.uk-section-secondary:not(.uk-preserve-color) .uk-h2,.uk-section-secondary:not(.uk-preserve-color) h3,.uk-section-secondary:not(.uk-preserve-color) .uk-h3,.uk-section-secondary:not(.uk-preserve-color) h4,.uk-section-secondary:not(.uk-preserve-color) .uk-h4,.uk-section-secondary:not(.uk-preserve-color) h5,.uk-section-secondary:not(.uk-preserve-color) .uk-h5,.uk-section-secondary:not(.uk-preserve-color) h6,.uk-section-secondary:not(.uk-preserve-color) .uk-h6,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-small,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-medium,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-large,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-xlarge,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-2xlarge,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-3xlarge,.uk-tile-primary:not(.uk-preserve-color) h1,.uk-tile-primary:not(.uk-preserve-color) .uk-h1,.uk-tile-primary:not(.uk-preserve-color) h2,.uk-tile-primary:not(.uk-preserve-color) .uk-h2,.uk-tile-primary:not(.uk-preserve-color) h3,.uk-tile-primary:not(.uk-preserve-color) .uk-h3,.uk-tile-primary:not(.uk-preserve-color) h4,.uk-tile-primary:not(.uk-preserve-color) .uk-h4,.uk-tile-primary:not(.uk-preserve-color) h5,.uk-tile-primary:not(.uk-preserve-color) .uk-h5,.uk-tile-primary:not(.uk-preserve-color) h6,.uk-tile-primary:not(.uk-preserve-color) .uk-h6,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-small,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-medium,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-large,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-xlarge,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-2xlarge,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-3xlarge,.uk-tile-secondary:not(.uk-preserve-color) h1,.uk-tile-secondary:not(.uk-preserve-color) .uk-h1,.uk-tile-secondary:not(.uk-preserve-color) h2,.uk-tile-secondary:not(.uk-preserve-color) .uk-h2,.uk-tile-secondary:not(.uk-preserve-color) h3,.uk-tile-secondary:not(.uk-preserve-color) .uk-h3,.uk-tile-secondary:not(.uk-preserve-color) h4,.uk-tile-secondary:not(.uk-preserve-color) .uk-h4,.uk-tile-secondary:not(.uk-preserve-color) h5,.uk-tile-secondary:not(.uk-preserve-color) .uk-h5,.uk-tile-secondary:not(.uk-preserve-color) h6,.uk-tile-secondary:not(.uk-preserve-color) .uk-h6,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-small,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-medium,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-large,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-xlarge,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-2xlarge,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-3xlarge,.uk-card-primary.uk-card-body h1,.uk-card-primary.uk-card-body .uk-h1,.uk-card-primary.uk-card-body h2,.uk-card-primary.uk-card-body .uk-h2,.uk-card-primary.uk-card-body h3,.uk-card-primary.uk-card-body .uk-h3,.uk-card-primary.uk-card-body h4,.uk-card-primary.uk-card-body .uk-h4,.uk-card-primary.uk-card-body h5,.uk-card-primary.uk-card-body .uk-h5,.uk-card-primary.uk-card-body h6,.uk-card-primary.uk-card-body .uk-h6,.uk-card-primary.uk-card-body .uk-heading-small,.uk-card-primary.uk-card-body .uk-heading-medium,.uk-card-primary.uk-card-body .uk-heading-large,.uk-card-primary.uk-card-body .uk-heading-xlarge,.uk-card-primary.uk-card-body .uk-heading-2xlarge,.uk-card-primary.uk-card-body .uk-heading-3xlarge,.uk-card-primary>:not([class*=uk-card-media]) h1,.uk-card-primary>:not([class*=uk-card-media]) .uk-h1,.uk-card-primary>:not([class*=uk-card-media]) h2,.uk-card-primary>:not([class*=uk-card-media]) .uk-h2,.uk-card-primary>:not([class*=uk-card-media]) h3,.uk-card-primary>:not([class*=uk-card-media]) .uk-h3,.uk-card-primary>:not([class*=uk-card-media]) h4,.uk-card-primary>:not([class*=uk-card-media]) .uk-h4,.uk-card-primary>:not([class*=uk-card-media]) h5,.uk-card-primary>:not([class*=uk-card-media]) .uk-h5,.uk-card-primary>:not([class*=uk-card-media]) h6,.uk-card-primary>:not([class*=uk-card-media]) .uk-h6,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-small,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-medium,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-large,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-xlarge,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-2xlarge,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-3xlarge,.uk-card-secondary.uk-card-body h1,.uk-card-secondary.uk-card-body .uk-h1,.uk-card-secondary.uk-card-body h2,.uk-card-secondary.uk-card-body .uk-h2,.uk-card-secondary.uk-card-body h3,.uk-card-secondary.uk-card-body .uk-h3,.uk-card-secondary.uk-card-body h4,.uk-card-secondary.uk-card-body .uk-h4,.uk-card-secondary.uk-card-body h5,.uk-card-secondary.uk-card-body .uk-h5,.uk-card-secondary.uk-card-body h6,.uk-card-secondary.uk-card-body .uk-h6,.uk-card-secondary.uk-card-body .uk-heading-small,.uk-card-secondary.uk-card-body .uk-heading-medium,.uk-card-secondary.uk-card-body .uk-heading-large,.uk-card-secondary.uk-card-body .uk-heading-xlarge,.uk-card-secondary.uk-card-body .uk-heading-2xlarge,.uk-card-secondary.uk-card-body .uk-heading-3xlarge,.uk-card-secondary>:not([class*=uk-card-media]) h1,.uk-card-secondary>:not([class*=uk-card-media]) .uk-h1,.uk-card-secondary>:not([class*=uk-card-media]) h2,.uk-card-secondary>:not([class*=uk-card-media]) .uk-h2,.uk-card-secondary>:not([class*=uk-card-media]) h3,.uk-card-secondary>:not([class*=uk-card-media]) .uk-h3,.uk-card-secondary>:not([class*=uk-card-media]) h4,.uk-card-secondary>:not([class*=uk-card-media]) .uk-h4,.uk-card-secondary>:not([class*=uk-card-media]) h5,.uk-card-secondary>:not([class*=uk-card-media]) .uk-h5,.uk-card-secondary>:not([class*=uk-card-media]) h6,.uk-card-secondary>:not([class*=uk-card-media]) .uk-h6,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-small,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-medium,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-large,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-xlarge,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-2xlarge,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-3xlarge,.uk-overlay-primary h1,.uk-overlay-primary .uk-h1,.uk-overlay-primary h2,.uk-overlay-primary .uk-h2,.uk-overlay-primary h3,.uk-overlay-primary .uk-h3,.uk-overlay-primary h4,.uk-overlay-primary .uk-h4,.uk-overlay-primary h5,.uk-overlay-primary .uk-h5,.uk-overlay-primary h6,.uk-overlay-primary .uk-h6,.uk-overlay-primary .uk-heading-small,.uk-overlay-primary .uk-heading-medium,.uk-overlay-primary .uk-heading-large,.uk-overlay-primary .uk-heading-xlarge,.uk-overlay-primary .uk-heading-2xlarge,.uk-overlay-primary .uk-heading-3xlarge,.uk-offcanvas-bar h1,.uk-offcanvas-bar .uk-h1,.uk-offcanvas-bar h2,.uk-offcanvas-bar .uk-h2,.uk-offcanvas-bar h3,.uk-offcanvas-bar .uk-h3,.uk-offcanvas-bar h4,.uk-offcanvas-bar .uk-h4,.uk-offcanvas-bar h5,.uk-offcanvas-bar .uk-h5,.uk-offcanvas-bar h6,.uk-offcanvas-bar .uk-h6,.uk-offcanvas-bar .uk-heading-small,.uk-offcanvas-bar .uk-heading-medium,.uk-offcanvas-bar .uk-heading-large,.uk-offcanvas-bar .uk-heading-xlarge,.uk-offcanvas-bar .uk-heading-2xlarge,.uk-offcanvas-bar .uk-heading-3xlarge{color:#fff}.uk-light blockquote,.uk-section-primary:not(.uk-preserve-color) blockquote,.uk-section-secondary:not(.uk-preserve-color) blockquote,.uk-tile-primary:not(.uk-preserve-color) blockquote,.uk-tile-secondary:not(.uk-preserve-color) blockquote,.uk-card-primary.uk-card-body blockquote,.uk-card-primary>:not([class*=uk-card-media]) blockquote,.uk-card-secondary.uk-card-body blockquote,.uk-card-secondary>:not([class*=uk-card-media]) blockquote,.uk-overlay-primary blockquote,.uk-offcanvas-bar blockquote{color:#fff}.uk-light blockquote footer,.uk-section-primary:not(.uk-preserve-color) blockquote footer,.uk-section-secondary:not(.uk-preserve-color) blockquote footer,.uk-tile-primary:not(.uk-preserve-color) blockquote footer,.uk-tile-secondary:not(.uk-preserve-color) blockquote footer,.uk-card-primary.uk-card-body blockquote footer,.uk-card-primary>:not([class*=uk-card-media]) blockquote footer,.uk-card-secondary.uk-card-body blockquote footer,.uk-card-secondary>:not([class*=uk-card-media]) blockquote footer,.uk-overlay-primary blockquote footer,.uk-offcanvas-bar blockquote footer{color:#ffffffb3}.uk-light hr,.uk-light .uk-hr,.uk-section-primary:not(.uk-preserve-color) hr,.uk-section-primary:not(.uk-preserve-color) .uk-hr,.uk-section-secondary:not(.uk-preserve-color) hr,.uk-section-secondary:not(.uk-preserve-color) .uk-hr,.uk-tile-primary:not(.uk-preserve-color) hr,.uk-tile-primary:not(.uk-preserve-color) .uk-hr,.uk-tile-secondary:not(.uk-preserve-color) hr,.uk-tile-secondary:not(.uk-preserve-color) .uk-hr,.uk-card-primary.uk-card-body hr,.uk-card-primary.uk-card-body .uk-hr,.uk-card-primary>:not([class*=uk-card-media]) hr,.uk-card-primary>:not([class*=uk-card-media]) .uk-hr,.uk-card-secondary.uk-card-body hr,.uk-card-secondary.uk-card-body .uk-hr,.uk-card-secondary>:not([class*=uk-card-media]) hr,.uk-card-secondary>:not([class*=uk-card-media]) .uk-hr,.uk-overlay-primary hr,.uk-overlay-primary .uk-hr,.uk-offcanvas-bar hr,.uk-offcanvas-bar .uk-hr{border-top-color:#fff3}.uk-light :focus-visible,.uk-section-primary:not(.uk-preserve-color) :focus-visible,.uk-section-secondary:not(.uk-preserve-color) :focus-visible,.uk-tile-primary:not(.uk-preserve-color) :focus-visible,.uk-tile-secondary:not(.uk-preserve-color) :focus-visible,.uk-card-primary.uk-card-body :focus-visible,.uk-card-primary>:not([class*=uk-card-media]) :focus-visible,.uk-card-secondary.uk-card-body :focus-visible,.uk-card-secondary>:not([class*=uk-card-media]) :focus-visible,.uk-overlay-primary :focus-visible,.uk-offcanvas-bar :focus-visible{outline-color:#fff}.uk-light a.uk-link-muted,.uk-light .uk-link-muted a,.uk-section-primary:not(.uk-preserve-color) a.uk-link-muted,.uk-section-primary:not(.uk-preserve-color) .uk-link-muted a,.uk-section-secondary:not(.uk-preserve-color) a.uk-link-muted,.uk-section-secondary:not(.uk-preserve-color) .uk-link-muted a,.uk-tile-primary:not(.uk-preserve-color) a.uk-link-muted,.uk-tile-primary:not(.uk-preserve-color) .uk-link-muted a,.uk-tile-secondary:not(.uk-preserve-color) a.uk-link-muted,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-muted a,.uk-card-primary.uk-card-body a.uk-link-muted,.uk-card-primary.uk-card-body .uk-link-muted a,.uk-card-primary>:not([class*=uk-card-media]) a.uk-link-muted,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-muted a,.uk-card-secondary.uk-card-body a.uk-link-muted,.uk-card-secondary.uk-card-body .uk-link-muted a,.uk-card-secondary>:not([class*=uk-card-media]) a.uk-link-muted,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-muted a,.uk-overlay-primary a.uk-link-muted,.uk-overlay-primary .uk-link-muted a,.uk-offcanvas-bar a.uk-link-muted,.uk-offcanvas-bar .uk-link-muted a{color:#ffffff80}.uk-light a.uk-link-muted:hover,.uk-light .uk-link-muted a:hover,.uk-light .uk-link-toggle:hover .uk-link-muted,.uk-section-primary:not(.uk-preserve-color) a.uk-link-muted:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-muted a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-muted,.uk-section-secondary:not(.uk-preserve-color) a.uk-link-muted:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-muted a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-muted,.uk-tile-primary:not(.uk-preserve-color) a.uk-link-muted:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-muted a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-muted,.uk-tile-secondary:not(.uk-preserve-color) a.uk-link-muted:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-muted a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-muted,.uk-card-primary.uk-card-body a.uk-link-muted:hover,.uk-card-primary.uk-card-body .uk-link-muted a:hover,.uk-card-primary.uk-card-body .uk-link-toggle:hover .uk-link-muted,.uk-card-primary>:not([class*=uk-card-media]) a.uk-link-muted:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-muted a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link-muted,.uk-card-secondary.uk-card-body a.uk-link-muted:hover,.uk-card-secondary.uk-card-body .uk-link-muted a:hover,.uk-card-secondary.uk-card-body .uk-link-toggle:hover .uk-link-muted,.uk-card-secondary>:not([class*=uk-card-media]) a.uk-link-muted:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-muted a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link-muted,.uk-overlay-primary a.uk-link-muted:hover,.uk-overlay-primary .uk-link-muted a:hover,.uk-overlay-primary .uk-link-toggle:hover .uk-link-muted,.uk-offcanvas-bar a.uk-link-muted:hover,.uk-offcanvas-bar .uk-link-muted a:hover,.uk-offcanvas-bar .uk-link-toggle:hover .uk-link-muted{color:#ffffffb3}.uk-light a.uk-link-text:hover,.uk-light .uk-link-text a:hover,.uk-light .uk-link-toggle:hover .uk-link-text,.uk-section-primary:not(.uk-preserve-color) a.uk-link-text:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-text a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-text,.uk-section-secondary:not(.uk-preserve-color) a.uk-link-text:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-text a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-text,.uk-tile-primary:not(.uk-preserve-color) a.uk-link-text:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-text a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-text,.uk-tile-secondary:not(.uk-preserve-color) a.uk-link-text:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-text a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-text,.uk-card-primary.uk-card-body a.uk-link-text:hover,.uk-card-primary.uk-card-body .uk-link-text a:hover,.uk-card-primary.uk-card-body .uk-link-toggle:hover .uk-link-text,.uk-card-primary>:not([class*=uk-card-media]) a.uk-link-text:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-text a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link-text,.uk-card-secondary.uk-card-body a.uk-link-text:hover,.uk-card-secondary.uk-card-body .uk-link-text a:hover,.uk-card-secondary.uk-card-body .uk-link-toggle:hover .uk-link-text,.uk-card-secondary>:not([class*=uk-card-media]) a.uk-link-text:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-text a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link-text,.uk-overlay-primary a.uk-link-text:hover,.uk-overlay-primary .uk-link-text a:hover,.uk-overlay-primary .uk-link-toggle:hover .uk-link-text,.uk-offcanvas-bar a.uk-link-text:hover,.uk-offcanvas-bar .uk-link-text a:hover,.uk-offcanvas-bar .uk-link-toggle:hover .uk-link-text{color:#ffffff80}.uk-light a.uk-link-heading:hover,.uk-light .uk-link-heading a:hover,.uk-light .uk-link-toggle:hover .uk-link-heading,.uk-section-primary:not(.uk-preserve-color) a.uk-link-heading:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-heading a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-heading,.uk-section-secondary:not(.uk-preserve-color) a.uk-link-heading:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-heading a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-heading,.uk-tile-primary:not(.uk-preserve-color) a.uk-link-heading:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-heading a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-heading,.uk-tile-secondary:not(.uk-preserve-color) a.uk-link-heading:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-heading a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-link-toggle:hover .uk-link-heading,.uk-card-primary.uk-card-body a.uk-link-heading:hover,.uk-card-primary.uk-card-body .uk-link-heading a:hover,.uk-card-primary.uk-card-body .uk-link-toggle:hover .uk-link-heading,.uk-card-primary>:not([class*=uk-card-media]) a.uk-link-heading:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-heading a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link-heading,.uk-card-secondary.uk-card-body a.uk-link-heading:hover,.uk-card-secondary.uk-card-body .uk-link-heading a:hover,.uk-card-secondary.uk-card-body .uk-link-toggle:hover .uk-link-heading,.uk-card-secondary>:not([class*=uk-card-media]) a.uk-link-heading:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-heading a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-link-toggle:hover .uk-link-heading,.uk-overlay-primary a.uk-link-heading:hover,.uk-overlay-primary .uk-link-heading a:hover,.uk-overlay-primary .uk-link-toggle:hover .uk-link-heading,.uk-offcanvas-bar a.uk-link-heading:hover,.uk-offcanvas-bar .uk-link-heading a:hover,.uk-offcanvas-bar .uk-link-toggle:hover .uk-link-heading{color:#fff}.uk-light .uk-heading-divider,.uk-section-primary:not(.uk-preserve-color) .uk-heading-divider,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-divider,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-divider,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-divider,.uk-card-primary.uk-card-body .uk-heading-divider,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-divider,.uk-card-secondary.uk-card-body .uk-heading-divider,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-divider,.uk-overlay-primary .uk-heading-divider,.uk-offcanvas-bar .uk-heading-divider{border-bottom-color:#fff3}.uk-light .uk-heading-bullet:before,.uk-section-primary:not(.uk-preserve-color) .uk-heading-bullet:before,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-bullet:before,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-bullet:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-bullet:before,.uk-card-primary.uk-card-body .uk-heading-bullet:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-bullet:before,.uk-card-secondary.uk-card-body .uk-heading-bullet:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-bullet:before,.uk-overlay-primary .uk-heading-bullet:before,.uk-offcanvas-bar .uk-heading-bullet:before{border-left-color:#fff3}.uk-light .uk-heading-line>:before,.uk-light .uk-heading-line>:after,.uk-section-primary:not(.uk-preserve-color) .uk-heading-line>:before,.uk-section-primary:not(.uk-preserve-color) .uk-heading-line>:after,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-line>:before,.uk-section-secondary:not(.uk-preserve-color) .uk-heading-line>:after,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-line>:before,.uk-tile-primary:not(.uk-preserve-color) .uk-heading-line>:after,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-line>:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-heading-line>:after,.uk-card-primary.uk-card-body .uk-heading-line>:before,.uk-card-primary.uk-card-body .uk-heading-line>:after,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-line>:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-heading-line>:after,.uk-card-secondary.uk-card-body .uk-heading-line>:before,.uk-card-secondary.uk-card-body .uk-heading-line>:after,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-line>:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-line>:after,.uk-overlay-primary .uk-heading-line>:before,.uk-overlay-primary .uk-heading-line>:after,.uk-offcanvas-bar .uk-heading-line>:before,.uk-offcanvas-bar .uk-heading-line>:after{border-bottom-color:#fff3}.uk-light .uk-divider-icon,.uk-section-primary:not(.uk-preserve-color) .uk-divider-icon,.uk-section-secondary:not(.uk-preserve-color) .uk-divider-icon,.uk-tile-primary:not(.uk-preserve-color) .uk-divider-icon,.uk-tile-secondary:not(.uk-preserve-color) .uk-divider-icon,.uk-card-primary.uk-card-body .uk-divider-icon,.uk-card-primary>:not([class*=uk-card-media]) .uk-divider-icon,.uk-card-secondary.uk-card-body .uk-divider-icon,.uk-card-secondary>:not([class*=uk-card-media]) .uk-divider-icon,.uk-overlay-primary .uk-divider-icon,.uk-offcanvas-bar .uk-divider-icon{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22none%22%20stroke%3D%22rgba%28255,%20255,%20255,%200.2%29%22%20stroke-width%3D%222%22%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-light .uk-divider-icon:before,.uk-light .uk-divider-icon:after,.uk-section-primary:not(.uk-preserve-color) .uk-divider-icon:before,.uk-section-primary:not(.uk-preserve-color) .uk-divider-icon:after,.uk-section-secondary:not(.uk-preserve-color) .uk-divider-icon:before,.uk-section-secondary:not(.uk-preserve-color) .uk-divider-icon:after,.uk-tile-primary:not(.uk-preserve-color) .uk-divider-icon:before,.uk-tile-primary:not(.uk-preserve-color) .uk-divider-icon:after,.uk-tile-secondary:not(.uk-preserve-color) .uk-divider-icon:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-divider-icon:after,.uk-card-primary.uk-card-body .uk-divider-icon:before,.uk-card-primary.uk-card-body .uk-divider-icon:after,.uk-card-primary>:not([class*=uk-card-media]) .uk-divider-icon:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-divider-icon:after,.uk-card-secondary.uk-card-body .uk-divider-icon:before,.uk-card-secondary.uk-card-body .uk-divider-icon:after,.uk-card-secondary>:not([class*=uk-card-media]) .uk-divider-icon:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-divider-icon:after,.uk-overlay-primary .uk-divider-icon:before,.uk-overlay-primary .uk-divider-icon:after,.uk-offcanvas-bar .uk-divider-icon:before,.uk-offcanvas-bar .uk-divider-icon:after{border-bottom-color:#fff3}.uk-light .uk-divider-small:after,.uk-section-primary:not(.uk-preserve-color) .uk-divider-small:after,.uk-section-secondary:not(.uk-preserve-color) .uk-divider-small:after,.uk-tile-primary:not(.uk-preserve-color) .uk-divider-small:after,.uk-tile-secondary:not(.uk-preserve-color) .uk-divider-small:after,.uk-card-primary.uk-card-body .uk-divider-small:after,.uk-card-primary>:not([class*=uk-card-media]) .uk-divider-small:after,.uk-card-secondary.uk-card-body .uk-divider-small:after,.uk-card-secondary>:not([class*=uk-card-media]) .uk-divider-small:after,.uk-overlay-primary .uk-divider-small:after,.uk-offcanvas-bar .uk-divider-small:after{border-top-color:#fff3}.uk-light .uk-divider-vertical,.uk-section-primary:not(.uk-preserve-color) .uk-divider-vertical,.uk-section-secondary:not(.uk-preserve-color) .uk-divider-vertical,.uk-tile-primary:not(.uk-preserve-color) .uk-divider-vertical,.uk-tile-secondary:not(.uk-preserve-color) .uk-divider-vertical,.uk-card-primary.uk-card-body .uk-divider-vertical,.uk-card-primary>:not([class*=uk-card-media]) .uk-divider-vertical,.uk-card-secondary.uk-card-body .uk-divider-vertical,.uk-card-secondary>:not([class*=uk-card-media]) .uk-divider-vertical,.uk-overlay-primary .uk-divider-vertical,.uk-offcanvas-bar .uk-divider-vertical{border-left-color:#fff3}.uk-light .uk-list-muted>:before,.uk-section-primary:not(.uk-preserve-color) .uk-list-muted>:before,.uk-section-secondary:not(.uk-preserve-color) .uk-list-muted>:before,.uk-tile-primary:not(.uk-preserve-color) .uk-list-muted>:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-list-muted>:before,.uk-card-primary.uk-card-body .uk-list-muted>:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-list-muted>:before,.uk-card-secondary.uk-card-body .uk-list-muted>:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-muted>:before,.uk-overlay-primary .uk-list-muted>:before,.uk-offcanvas-bar .uk-list-muted>:before{color:#ffffff80!important}.uk-light .uk-list-emphasis>:before,.uk-section-primary:not(.uk-preserve-color) .uk-list-emphasis>:before,.uk-section-secondary:not(.uk-preserve-color) .uk-list-emphasis>:before,.uk-tile-primary:not(.uk-preserve-color) .uk-list-emphasis>:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-list-emphasis>:before,.uk-card-primary.uk-card-body .uk-list-emphasis>:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-list-emphasis>:before,.uk-card-secondary.uk-card-body .uk-list-emphasis>:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-emphasis>:before,.uk-overlay-primary .uk-list-emphasis>:before,.uk-offcanvas-bar .uk-list-emphasis>:before{color:#fff!important}.uk-light .uk-list-primary>:before,.uk-section-primary:not(.uk-preserve-color) .uk-list-primary>:before,.uk-section-secondary:not(.uk-preserve-color) .uk-list-primary>:before,.uk-tile-primary:not(.uk-preserve-color) .uk-list-primary>:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-list-primary>:before,.uk-card-primary.uk-card-body .uk-list-primary>:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-list-primary>:before,.uk-card-secondary.uk-card-body .uk-list-primary>:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-primary>:before,.uk-overlay-primary .uk-list-primary>:before,.uk-offcanvas-bar .uk-list-primary>:before{color:#fff!important}.uk-light .uk-list-secondary>:before,.uk-section-primary:not(.uk-preserve-color) .uk-list-secondary>:before,.uk-section-secondary:not(.uk-preserve-color) .uk-list-secondary>:before,.uk-tile-primary:not(.uk-preserve-color) .uk-list-secondary>:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-list-secondary>:before,.uk-card-primary.uk-card-body .uk-list-secondary>:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-list-secondary>:before,.uk-card-secondary.uk-card-body .uk-list-secondary>:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-secondary>:before,.uk-overlay-primary .uk-list-secondary>:before,.uk-offcanvas-bar .uk-list-secondary>:before{color:#fff!important}.uk-light .uk-list-bullet>:before,.uk-section-primary:not(.uk-preserve-color) .uk-list-bullet>:before,.uk-section-secondary:not(.uk-preserve-color) .uk-list-bullet>:before,.uk-tile-primary:not(.uk-preserve-color) .uk-list-bullet>:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-list-bullet>:before,.uk-card-primary.uk-card-body .uk-list-bullet>:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-list-bullet>:before,.uk-card-secondary.uk-card-body .uk-list-bullet>:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-bullet>:before,.uk-overlay-primary .uk-list-bullet>:before,.uk-offcanvas-bar .uk-list-bullet>:before{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20cx%3D%223%22%20cy%3D%223%22%20r%3D%223%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-light .uk-list-divider>:nth-child(n+2),.uk-section-primary:not(.uk-preserve-color) .uk-list-divider>:nth-child(n+2),.uk-section-secondary:not(.uk-preserve-color) .uk-list-divider>:nth-child(n+2),.uk-tile-primary:not(.uk-preserve-color) .uk-list-divider>:nth-child(n+2),.uk-tile-secondary:not(.uk-preserve-color) .uk-list-divider>:nth-child(n+2),.uk-card-primary.uk-card-body .uk-list-divider>:nth-child(n+2),.uk-card-primary>:not([class*=uk-card-media]) .uk-list-divider>:nth-child(n+2),.uk-card-secondary.uk-card-body .uk-list-divider>:nth-child(n+2),.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-divider>:nth-child(n+2),.uk-overlay-primary .uk-list-divider>:nth-child(n+2),.uk-offcanvas-bar .uk-list-divider>:nth-child(n+2){border-top-color:#fff3}.uk-light .uk-list-striped>*:nth-of-type(odd),.uk-section-primary:not(.uk-preserve-color) .uk-list-striped>*:nth-of-type(odd),.uk-section-secondary:not(.uk-preserve-color) .uk-list-striped>*:nth-of-type(odd),.uk-tile-primary:not(.uk-preserve-color) .uk-list-striped>*:nth-of-type(odd),.uk-tile-secondary:not(.uk-preserve-color) .uk-list-striped>*:nth-of-type(odd),.uk-card-primary.uk-card-body .uk-list-striped>*:nth-of-type(odd),.uk-card-primary>:not([class*=uk-card-media]) .uk-list-striped>*:nth-of-type(odd),.uk-card-secondary.uk-card-body .uk-list-striped>*:nth-of-type(odd),.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-striped>*:nth-of-type(odd),.uk-overlay-primary .uk-list-striped>*:nth-of-type(odd),.uk-offcanvas-bar .uk-list-striped>*:nth-of-type(odd){border-top-color:#fff3;border-bottom-color:#fff3}.uk-light .uk-list-striped>:nth-of-type(odd),.uk-section-primary:not(.uk-preserve-color) .uk-list-striped>:nth-of-type(odd),.uk-section-secondary:not(.uk-preserve-color) .uk-list-striped>:nth-of-type(odd),.uk-tile-primary:not(.uk-preserve-color) .uk-list-striped>:nth-of-type(odd),.uk-tile-secondary:not(.uk-preserve-color) .uk-list-striped>:nth-of-type(odd),.uk-card-primary.uk-card-body .uk-list-striped>:nth-of-type(odd),.uk-card-primary>:not([class*=uk-card-media]) .uk-list-striped>:nth-of-type(odd),.uk-card-secondary.uk-card-body .uk-list-striped>:nth-of-type(odd),.uk-card-secondary>:not([class*=uk-card-media]) .uk-list-striped>:nth-of-type(odd),.uk-overlay-primary .uk-list-striped>:nth-of-type(odd),.uk-offcanvas-bar .uk-list-striped>:nth-of-type(odd){background-color:#ffffff1a}.uk-light .uk-table th,.uk-section-primary:not(.uk-preserve-color) .uk-table th,.uk-section-secondary:not(.uk-preserve-color) .uk-table th,.uk-tile-primary:not(.uk-preserve-color) .uk-table th,.uk-tile-secondary:not(.uk-preserve-color) .uk-table th,.uk-card-primary.uk-card-body .uk-table th,.uk-card-primary>:not([class*=uk-card-media]) .uk-table th,.uk-card-secondary.uk-card-body .uk-table th,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table th,.uk-overlay-primary .uk-table th,.uk-offcanvas-bar .uk-table th{color:#ffffffb3}.uk-light .uk-table caption,.uk-section-primary:not(.uk-preserve-color) .uk-table caption,.uk-section-secondary:not(.uk-preserve-color) .uk-table caption,.uk-tile-primary:not(.uk-preserve-color) .uk-table caption,.uk-tile-secondary:not(.uk-preserve-color) .uk-table caption,.uk-card-primary.uk-card-body .uk-table caption,.uk-card-primary>:not([class*=uk-card-media]) .uk-table caption,.uk-card-secondary.uk-card-body .uk-table caption,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table caption,.uk-overlay-primary .uk-table caption,.uk-offcanvas-bar .uk-table caption{color:#ffffff80}.uk-light .uk-table>tr.uk-active,.uk-light .uk-table tbody tr.uk-active,.uk-section-primary:not(.uk-preserve-color) .uk-table>tr.uk-active,.uk-section-primary:not(.uk-preserve-color) .uk-table tbody tr.uk-active,.uk-section-secondary:not(.uk-preserve-color) .uk-table>tr.uk-active,.uk-section-secondary:not(.uk-preserve-color) .uk-table tbody tr.uk-active,.uk-tile-primary:not(.uk-preserve-color) .uk-table>tr.uk-active,.uk-tile-primary:not(.uk-preserve-color) .uk-table tbody tr.uk-active,.uk-tile-secondary:not(.uk-preserve-color) .uk-table>tr.uk-active,.uk-tile-secondary:not(.uk-preserve-color) .uk-table tbody tr.uk-active,.uk-card-primary.uk-card-body .uk-table>tr.uk-active,.uk-card-primary.uk-card-body .uk-table tbody tr.uk-active,.uk-card-primary>:not([class*=uk-card-media]) .uk-table>tr.uk-active,.uk-card-primary>:not([class*=uk-card-media]) .uk-table tbody tr.uk-active,.uk-card-secondary.uk-card-body .uk-table>tr.uk-active,.uk-card-secondary.uk-card-body .uk-table tbody tr.uk-active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table>tr.uk-active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table tbody tr.uk-active,.uk-overlay-primary .uk-table>tr.uk-active,.uk-overlay-primary .uk-table tbody tr.uk-active,.uk-offcanvas-bar .uk-table>tr.uk-active,.uk-offcanvas-bar .uk-table tbody tr.uk-active{background:rgba(255,255,255,.08)}.uk-light .uk-table-divider>tr:not(:first-child),.uk-light .uk-table-divider>:not(:first-child)>tr,.uk-light .uk-table-divider>:first-child>tr:not(:first-child),.uk-section-primary:not(.uk-preserve-color) .uk-table-divider>tr:not(:first-child),.uk-section-primary:not(.uk-preserve-color) .uk-table-divider>:not(:first-child)>tr,.uk-section-primary:not(.uk-preserve-color) .uk-table-divider>:first-child>tr:not(:first-child),.uk-section-secondary:not(.uk-preserve-color) .uk-table-divider>tr:not(:first-child),.uk-section-secondary:not(.uk-preserve-color) .uk-table-divider>:not(:first-child)>tr,.uk-section-secondary:not(.uk-preserve-color) .uk-table-divider>:first-child>tr:not(:first-child),.uk-tile-primary:not(.uk-preserve-color) .uk-table-divider>tr:not(:first-child),.uk-tile-primary:not(.uk-preserve-color) .uk-table-divider>:not(:first-child)>tr,.uk-tile-primary:not(.uk-preserve-color) .uk-table-divider>:first-child>tr:not(:first-child),.uk-tile-secondary:not(.uk-preserve-color) .uk-table-divider>tr:not(:first-child),.uk-tile-secondary:not(.uk-preserve-color) .uk-table-divider>:not(:first-child)>tr,.uk-tile-secondary:not(.uk-preserve-color) .uk-table-divider>:first-child>tr:not(:first-child),.uk-card-primary.uk-card-body .uk-table-divider>tr:not(:first-child),.uk-card-primary.uk-card-body .uk-table-divider>:not(:first-child)>tr,.uk-card-primary.uk-card-body .uk-table-divider>:first-child>tr:not(:first-child),.uk-card-primary>:not([class*=uk-card-media]) .uk-table-divider>tr:not(:first-child),.uk-card-primary>:not([class*=uk-card-media]) .uk-table-divider>:not(:first-child)>tr,.uk-card-primary>:not([class*=uk-card-media]) .uk-table-divider>:first-child>tr:not(:first-child),.uk-card-secondary.uk-card-body .uk-table-divider>tr:not(:first-child),.uk-card-secondary.uk-card-body .uk-table-divider>:not(:first-child)>tr,.uk-card-secondary.uk-card-body .uk-table-divider>:first-child>tr:not(:first-child),.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-divider>tr:not(:first-child),.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-divider>:not(:first-child)>tr,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-divider>:first-child>tr:not(:first-child),.uk-overlay-primary .uk-table-divider>tr:not(:first-child),.uk-overlay-primary .uk-table-divider>:not(:first-child)>tr,.uk-overlay-primary .uk-table-divider>:first-child>tr:not(:first-child),.uk-offcanvas-bar .uk-table-divider>tr:not(:first-child),.uk-offcanvas-bar .uk-table-divider>:not(:first-child)>tr,.uk-offcanvas-bar .uk-table-divider>:first-child>tr:not(:first-child){border-top-color:#fff3}.uk-light .uk-table-striped>tr:nth-of-type(odd),.uk-light .uk-table-striped tbody tr:nth-of-type(odd),.uk-section-primary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(odd),.uk-section-primary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(odd),.uk-section-secondary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(odd),.uk-section-secondary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(odd),.uk-tile-primary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(odd),.uk-tile-primary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(odd),.uk-tile-secondary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(odd),.uk-tile-secondary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(odd),.uk-card-primary.uk-card-body .uk-table-striped>tr:nth-of-type(odd),.uk-card-primary.uk-card-body .uk-table-striped tbody tr:nth-of-type(odd),.uk-card-primary>:not([class*=uk-card-media]) .uk-table-striped>tr:nth-of-type(odd),.uk-card-primary>:not([class*=uk-card-media]) .uk-table-striped tbody tr:nth-of-type(odd),.uk-card-secondary.uk-card-body .uk-table-striped>tr:nth-of-type(odd),.uk-card-secondary.uk-card-body .uk-table-striped tbody tr:nth-of-type(odd),.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-striped>tr:nth-of-type(odd),.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-striped tbody tr:nth-of-type(odd),.uk-overlay-primary .uk-table-striped>tr:nth-of-type(odd),.uk-overlay-primary .uk-table-striped tbody tr:nth-of-type(odd),.uk-offcanvas-bar .uk-table-striped>tr:nth-of-type(odd),.uk-offcanvas-bar .uk-table-striped tbody tr:nth-of-type(odd){background:rgba(255,255,255,.1);border-top-color:#fff3;border-bottom-color:#fff3}.uk-light .uk-table-hover>tr:hover,.uk-light .uk-table-hover tbody tr:hover,.uk-section-primary:not(.uk-preserve-color) .uk-table-hover>tr:hover,.uk-section-primary:not(.uk-preserve-color) .uk-table-hover tbody tr:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-table-hover>tr:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-table-hover tbody tr:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-table-hover>tr:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-table-hover tbody tr:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-table-hover>tr:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-table-hover tbody tr:hover,.uk-card-primary.uk-card-body .uk-table-hover>tr:hover,.uk-card-primary.uk-card-body .uk-table-hover tbody tr:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-table-hover>tr:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-table-hover tbody tr:hover,.uk-card-secondary.uk-card-body .uk-table-hover>tr:hover,.uk-card-secondary.uk-card-body .uk-table-hover tbody tr:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-hover>tr:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-hover tbody tr:hover,.uk-overlay-primary .uk-table-hover>tr:hover,.uk-overlay-primary .uk-table-hover tbody tr:hover,.uk-offcanvas-bar .uk-table-hover>tr:hover,.uk-offcanvas-bar .uk-table-hover tbody tr:hover{background:rgba(255,255,255,.08)}.uk-light .uk-icon-link,.uk-section-primary:not(.uk-preserve-color) .uk-icon-link,.uk-section-secondary:not(.uk-preserve-color) .uk-icon-link,.uk-tile-primary:not(.uk-preserve-color) .uk-icon-link,.uk-tile-secondary:not(.uk-preserve-color) .uk-icon-link,.uk-card-primary.uk-card-body .uk-icon-link,.uk-card-primary>:not([class*=uk-card-media]) .uk-icon-link,.uk-card-secondary.uk-card-body .uk-icon-link,.uk-card-secondary>:not([class*=uk-card-media]) .uk-icon-link,.uk-overlay-primary .uk-icon-link,.uk-offcanvas-bar .uk-icon-link{color:#ffffff80}.uk-light .uk-icon-link:hover,.uk-section-primary:not(.uk-preserve-color) .uk-icon-link:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-icon-link:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-icon-link:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-icon-link:hover,.uk-card-primary.uk-card-body .uk-icon-link:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-icon-link:hover,.uk-card-secondary.uk-card-body .uk-icon-link:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-icon-link:hover,.uk-overlay-primary .uk-icon-link:hover,.uk-offcanvas-bar .uk-icon-link:hover{color:#ffffffb3}.uk-light .uk-icon-link:active,.uk-light .uk-active>.uk-icon-link,.uk-section-primary:not(.uk-preserve-color) .uk-icon-link:active,.uk-section-primary:not(.uk-preserve-color) .uk-active>.uk-icon-link,.uk-section-secondary:not(.uk-preserve-color) .uk-icon-link:active,.uk-section-secondary:not(.uk-preserve-color) .uk-active>.uk-icon-link,.uk-tile-primary:not(.uk-preserve-color) .uk-icon-link:active,.uk-tile-primary:not(.uk-preserve-color) .uk-active>.uk-icon-link,.uk-tile-secondary:not(.uk-preserve-color) .uk-icon-link:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-active>.uk-icon-link,.uk-card-primary.uk-card-body .uk-icon-link:active,.uk-card-primary.uk-card-body .uk-active>.uk-icon-link,.uk-card-primary>:not([class*=uk-card-media]) .uk-icon-link:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-active>.uk-icon-link,.uk-card-secondary.uk-card-body .uk-icon-link:active,.uk-card-secondary.uk-card-body .uk-active>.uk-icon-link,.uk-card-secondary>:not([class*=uk-card-media]) .uk-icon-link:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-active>.uk-icon-link,.uk-overlay-primary .uk-icon-link:active,.uk-overlay-primary .uk-active>.uk-icon-link,.uk-offcanvas-bar .uk-icon-link:active,.uk-offcanvas-bar .uk-active>.uk-icon-link{color:#ffffffb3}.uk-light .uk-icon-button,.uk-section-primary:not(.uk-preserve-color) .uk-icon-button,.uk-section-secondary:not(.uk-preserve-color) .uk-icon-button,.uk-tile-primary:not(.uk-preserve-color) .uk-icon-button,.uk-tile-secondary:not(.uk-preserve-color) .uk-icon-button,.uk-card-primary.uk-card-body .uk-icon-button,.uk-card-primary>:not([class*=uk-card-media]) .uk-icon-button,.uk-card-secondary.uk-card-body .uk-icon-button,.uk-card-secondary>:not([class*=uk-card-media]) .uk-icon-button,.uk-overlay-primary .uk-icon-button,.uk-offcanvas-bar .uk-icon-button{background-color:#ffffff1a;color:#ffffff80}.uk-light .uk-icon-button:hover,.uk-section-primary:not(.uk-preserve-color) .uk-icon-button:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-icon-button:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-icon-button:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-icon-button:hover,.uk-card-primary.uk-card-body .uk-icon-button:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-icon-button:hover,.uk-card-secondary.uk-card-body .uk-icon-button:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-icon-button:hover,.uk-overlay-primary .uk-icon-button:hover,.uk-offcanvas-bar .uk-icon-button:hover{background-color:#ffffff26;color:#ffffffb3}.uk-light .uk-icon-button:active,.uk-section-primary:not(.uk-preserve-color) .uk-icon-button:active,.uk-section-secondary:not(.uk-preserve-color) .uk-icon-button:active,.uk-tile-primary:not(.uk-preserve-color) .uk-icon-button:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-icon-button:active,.uk-card-primary.uk-card-body .uk-icon-button:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-icon-button:active,.uk-card-secondary.uk-card-body .uk-icon-button:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-icon-button:active,.uk-overlay-primary .uk-icon-button:active,.uk-offcanvas-bar .uk-icon-button:active{background-color:#fff3;color:#ffffffb3}.uk-light .uk-input,.uk-light .uk-select,.uk-light .uk-textarea,.uk-section-primary:not(.uk-preserve-color) .uk-input,.uk-section-primary:not(.uk-preserve-color) .uk-select,.uk-section-primary:not(.uk-preserve-color) .uk-textarea,.uk-section-secondary:not(.uk-preserve-color) .uk-input,.uk-section-secondary:not(.uk-preserve-color) .uk-select,.uk-section-secondary:not(.uk-preserve-color) .uk-textarea,.uk-tile-primary:not(.uk-preserve-color) .uk-input,.uk-tile-primary:not(.uk-preserve-color) .uk-select,.uk-tile-primary:not(.uk-preserve-color) .uk-textarea,.uk-tile-secondary:not(.uk-preserve-color) .uk-input,.uk-tile-secondary:not(.uk-preserve-color) .uk-select,.uk-tile-secondary:not(.uk-preserve-color) .uk-textarea,.uk-card-primary.uk-card-body .uk-input,.uk-card-primary.uk-card-body .uk-select,.uk-card-primary.uk-card-body .uk-textarea,.uk-card-primary>:not([class*=uk-card-media]) .uk-input,.uk-card-primary>:not([class*=uk-card-media]) .uk-select,.uk-card-primary>:not([class*=uk-card-media]) .uk-textarea,.uk-card-secondary.uk-card-body .uk-input,.uk-card-secondary.uk-card-body .uk-select,.uk-card-secondary.uk-card-body .uk-textarea,.uk-card-secondary>:not([class*=uk-card-media]) .uk-input,.uk-card-secondary>:not([class*=uk-card-media]) .uk-select,.uk-card-secondary>:not([class*=uk-card-media]) .uk-textarea,.uk-overlay-primary .uk-input,.uk-overlay-primary .uk-select,.uk-overlay-primary .uk-textarea,.uk-offcanvas-bar .uk-input,.uk-offcanvas-bar .uk-select,.uk-offcanvas-bar .uk-textarea{background-color:#ffffff1a;color:#ffffffb3;background-clip:padding-box;border-color:#fff3}.uk-light .uk-input:focus,.uk-light .uk-select:focus,.uk-light .uk-textarea:focus,.uk-section-primary:not(.uk-preserve-color) .uk-input:focus,.uk-section-primary:not(.uk-preserve-color) .uk-select:focus,.uk-section-primary:not(.uk-preserve-color) .uk-textarea:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-input:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-select:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-textarea:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-input:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-select:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-textarea:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-input:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-select:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-textarea:focus,.uk-card-primary.uk-card-body .uk-input:focus,.uk-card-primary.uk-card-body .uk-select:focus,.uk-card-primary.uk-card-body .uk-textarea:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-input:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-select:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-textarea:focus,.uk-card-secondary.uk-card-body .uk-input:focus,.uk-card-secondary.uk-card-body .uk-select:focus,.uk-card-secondary.uk-card-body .uk-textarea:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-input:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-select:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-textarea:focus,.uk-overlay-primary .uk-input:focus,.uk-overlay-primary .uk-select:focus,.uk-overlay-primary .uk-textarea:focus,.uk-offcanvas-bar .uk-input:focus,.uk-offcanvas-bar .uk-select:focus,.uk-offcanvas-bar .uk-textarea:focus{background-color:#ffffff26;color:#ffffffb3;border-color:#ffffffb3}.uk-light .uk-input::placeholder,.uk-section-primary:not(.uk-preserve-color) .uk-input::placeholder,.uk-section-secondary:not(.uk-preserve-color) .uk-input::placeholder,.uk-tile-primary:not(.uk-preserve-color) .uk-input::placeholder,.uk-tile-secondary:not(.uk-preserve-color) .uk-input::placeholder,.uk-card-primary.uk-card-body .uk-input::placeholder,.uk-card-primary>:not([class*=uk-card-media]) .uk-input::placeholder,.uk-card-secondary.uk-card-body .uk-input::placeholder,.uk-card-secondary>:not([class*=uk-card-media]) .uk-input::placeholder,.uk-overlay-primary .uk-input::placeholder,.uk-offcanvas-bar .uk-input::placeholder{color:#ffffff80}.uk-light .uk-textarea::placeholder,.uk-section-primary:not(.uk-preserve-color) .uk-textarea::placeholder,.uk-section-secondary:not(.uk-preserve-color) .uk-textarea::placeholder,.uk-tile-primary:not(.uk-preserve-color) .uk-textarea::placeholder,.uk-tile-secondary:not(.uk-preserve-color) .uk-textarea::placeholder,.uk-card-primary.uk-card-body .uk-textarea::placeholder,.uk-card-primary>:not([class*=uk-card-media]) .uk-textarea::placeholder,.uk-card-secondary.uk-card-body .uk-textarea::placeholder,.uk-card-secondary>:not([class*=uk-card-media]) .uk-textarea::placeholder,.uk-overlay-primary .uk-textarea::placeholder,.uk-offcanvas-bar .uk-textarea::placeholder{color:#ffffff80}.uk-light .uk-select:not([multiple]):not([size]),.uk-section-primary:not(.uk-preserve-color) .uk-select:not([multiple]):not([size]),.uk-section-secondary:not(.uk-preserve-color) .uk-select:not([multiple]):not([size]),.uk-tile-primary:not(.uk-preserve-color) .uk-select:not([multiple]):not([size]),.uk-tile-secondary:not(.uk-preserve-color) .uk-select:not([multiple]):not([size]),.uk-card-primary.uk-card-body .uk-select:not([multiple]):not([size]),.uk-card-primary>:not([class*=uk-card-media]) .uk-select:not([multiple]):not([size]),.uk-card-secondary.uk-card-body .uk-select:not([multiple]):not([size]),.uk-card-secondary>:not([class*=uk-card-media]) .uk-select:not([multiple]):not([size]),.uk-overlay-primary .uk-select:not([multiple]):not([size]),.uk-offcanvas-bar .uk-select:not([multiple]):not([size]){background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-light .uk-input[list]:hover,.uk-light .uk-input[list]:focus,.uk-section-primary:not(.uk-preserve-color) .uk-input[list]:hover,.uk-section-primary:not(.uk-preserve-color) .uk-input[list]:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-input[list]:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-input[list]:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-input[list]:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-input[list]:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-input[list]:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-input[list]:focus,.uk-card-primary.uk-card-body .uk-input[list]:hover,.uk-card-primary.uk-card-body .uk-input[list]:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-input[list]:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-input[list]:focus,.uk-card-secondary.uk-card-body .uk-input[list]:hover,.uk-card-secondary.uk-card-body .uk-input[list]:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-input[list]:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-input[list]:focus,.uk-overlay-primary .uk-input[list]:hover,.uk-overlay-primary .uk-input[list]:focus,.uk-offcanvas-bar .uk-input[list]:hover,.uk-offcanvas-bar .uk-input[list]:focus{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20points%3D%2212%2012%208%206%2016%206%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-light .uk-radio,.uk-light .uk-checkbox,.uk-section-primary:not(.uk-preserve-color) .uk-radio,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox,.uk-section-secondary:not(.uk-preserve-color) .uk-radio,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox,.uk-tile-primary:not(.uk-preserve-color) .uk-radio,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox,.uk-tile-secondary:not(.uk-preserve-color) .uk-radio,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox,.uk-card-primary.uk-card-body .uk-radio,.uk-card-primary.uk-card-body .uk-checkbox,.uk-card-primary>:not([class*=uk-card-media]) .uk-radio,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox,.uk-card-secondary.uk-card-body .uk-radio,.uk-card-secondary.uk-card-body .uk-checkbox,.uk-card-secondary>:not([class*=uk-card-media]) .uk-radio,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox,.uk-overlay-primary .uk-radio,.uk-overlay-primary .uk-checkbox,.uk-offcanvas-bar .uk-radio,.uk-offcanvas-bar .uk-checkbox{background-color:#ffffff1a;border-color:#fff3}.uk-light .uk-radio:focus,.uk-light .uk-checkbox:focus,.uk-section-primary:not(.uk-preserve-color) .uk-radio:focus,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-radio:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-radio:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-radio:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:focus,.uk-card-primary.uk-card-body .uk-radio:focus,.uk-card-primary.uk-card-body .uk-checkbox:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-radio:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:focus,.uk-card-secondary.uk-card-body .uk-radio:focus,.uk-card-secondary.uk-card-body .uk-checkbox:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-radio:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:focus,.uk-overlay-primary .uk-radio:focus,.uk-overlay-primary .uk-checkbox:focus,.uk-offcanvas-bar .uk-radio:focus,.uk-offcanvas-bar .uk-checkbox:focus{background-color:#ffffff26;border-color:#ffffffb3}.uk-light .uk-radio:checked,.uk-light .uk-checkbox:checked,.uk-light .uk-checkbox:indeterminate,.uk-section-primary:not(.uk-preserve-color) .uk-radio:checked,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-section-secondary:not(.uk-preserve-color) .uk-radio:checked,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-tile-primary:not(.uk-preserve-color) .uk-radio:checked,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-tile-secondary:not(.uk-preserve-color) .uk-radio:checked,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-card-primary.uk-card-body .uk-radio:checked,.uk-card-primary.uk-card-body .uk-checkbox:checked,.uk-card-primary.uk-card-body .uk-checkbox:indeterminate,.uk-card-primary>:not([class*=uk-card-media]) .uk-radio:checked,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:checked,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:indeterminate,.uk-card-secondary.uk-card-body .uk-radio:checked,.uk-card-secondary.uk-card-body .uk-checkbox:checked,.uk-card-secondary.uk-card-body .uk-checkbox:indeterminate,.uk-card-secondary>:not([class*=uk-card-media]) .uk-radio:checked,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:checked,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:indeterminate,.uk-overlay-primary .uk-radio:checked,.uk-overlay-primary .uk-checkbox:checked,.uk-overlay-primary .uk-checkbox:indeterminate,.uk-offcanvas-bar .uk-radio:checked,.uk-offcanvas-bar .uk-checkbox:checked,.uk-offcanvas-bar .uk-checkbox:indeterminate{background-color:#fff;border-color:#fff}.uk-light .uk-radio:checked:focus,.uk-light .uk-checkbox:checked:focus,.uk-light .uk-checkbox:indeterminate:focus,.uk-section-primary:not(.uk-preserve-color) .uk-radio:checked:focus,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:checked:focus,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:indeterminate:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-radio:checked:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:checked:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:indeterminate:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-radio:checked:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:checked:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:indeterminate:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-radio:checked:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:checked:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:indeterminate:focus,.uk-card-primary.uk-card-body .uk-radio:checked:focus,.uk-card-primary.uk-card-body .uk-checkbox:checked:focus,.uk-card-primary.uk-card-body .uk-checkbox:indeterminate:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-radio:checked:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:checked:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:indeterminate:focus,.uk-card-secondary.uk-card-body .uk-radio:checked:focus,.uk-card-secondary.uk-card-body .uk-checkbox:checked:focus,.uk-card-secondary.uk-card-body .uk-checkbox:indeterminate:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-radio:checked:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:checked:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:indeterminate:focus,.uk-overlay-primary .uk-radio:checked:focus,.uk-overlay-primary .uk-checkbox:checked:focus,.uk-overlay-primary .uk-checkbox:indeterminate:focus,.uk-offcanvas-bar .uk-radio:checked:focus,.uk-offcanvas-bar .uk-checkbox:checked:focus,.uk-offcanvas-bar .uk-checkbox:indeterminate:focus{background-color:#fff}.uk-light .uk-radio:checked,.uk-section-primary:not(.uk-preserve-color) .uk-radio:checked,.uk-section-secondary:not(.uk-preserve-color) .uk-radio:checked,.uk-tile-primary:not(.uk-preserve-color) .uk-radio:checked,.uk-tile-secondary:not(.uk-preserve-color) .uk-radio:checked,.uk-card-primary.uk-card-body .uk-radio:checked,.uk-card-primary>:not([class*=uk-card-media]) .uk-radio:checked,.uk-card-secondary.uk-card-body .uk-radio:checked,.uk-card-secondary>:not([class*=uk-card-media]) .uk-radio:checked,.uk-overlay-primary .uk-radio:checked,.uk-offcanvas-bar .uk-radio:checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22%23666%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-light .uk-checkbox:checked,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:checked,.uk-card-primary.uk-card-body .uk-checkbox:checked,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:checked,.uk-card-secondary.uk-card-body .uk-checkbox:checked,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:checked,.uk-overlay-primary .uk-checkbox:checked,.uk-offcanvas-bar .uk-checkbox:checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.uk-light .uk-checkbox:indeterminate,.uk-section-primary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-section-secondary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-tile-primary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-tile-secondary:not(.uk-preserve-color) .uk-checkbox:indeterminate,.uk-card-primary.uk-card-body .uk-checkbox:indeterminate,.uk-card-primary>:not([class*=uk-card-media]) .uk-checkbox:indeterminate,.uk-card-secondary.uk-card-body .uk-checkbox:indeterminate,.uk-card-secondary>:not([class*=uk-card-media]) .uk-checkbox:indeterminate,.uk-overlay-primary .uk-checkbox:indeterminate,.uk-offcanvas-bar .uk-checkbox:indeterminate{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-light .uk-form-label,.uk-section-primary:not(.uk-preserve-color) .uk-form-label,.uk-section-secondary:not(.uk-preserve-color) .uk-form-label,.uk-tile-primary:not(.uk-preserve-color) .uk-form-label,.uk-tile-secondary:not(.uk-preserve-color) .uk-form-label,.uk-card-primary.uk-card-body .uk-form-label,.uk-card-primary>:not([class*=uk-card-media]) .uk-form-label,.uk-card-secondary.uk-card-body .uk-form-label,.uk-card-secondary>:not([class*=uk-card-media]) .uk-form-label,.uk-overlay-primary .uk-form-label,.uk-offcanvas-bar .uk-form-label{color:#fff}.uk-light .uk-form-icon,.uk-section-primary:not(.uk-preserve-color) .uk-form-icon,.uk-section-secondary:not(.uk-preserve-color) .uk-form-icon,.uk-tile-primary:not(.uk-preserve-color) .uk-form-icon,.uk-tile-secondary:not(.uk-preserve-color) .uk-form-icon,.uk-card-primary.uk-card-body .uk-form-icon,.uk-card-primary>:not([class*=uk-card-media]) .uk-form-icon,.uk-card-secondary.uk-card-body .uk-form-icon,.uk-card-secondary>:not([class*=uk-card-media]) .uk-form-icon,.uk-overlay-primary .uk-form-icon,.uk-offcanvas-bar .uk-form-icon{color:#ffffff80}.uk-light .uk-form-icon:hover,.uk-section-primary:not(.uk-preserve-color) .uk-form-icon:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-form-icon:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-form-icon:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-form-icon:hover,.uk-card-primary.uk-card-body .uk-form-icon:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-form-icon:hover,.uk-card-secondary.uk-card-body .uk-form-icon:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-form-icon:hover,.uk-overlay-primary .uk-form-icon:hover,.uk-offcanvas-bar .uk-form-icon:hover{color:#ffffffb3}.uk-light .uk-button-default,.uk-section-primary:not(.uk-preserve-color) .uk-button-default,.uk-section-secondary:not(.uk-preserve-color) .uk-button-default,.uk-tile-primary:not(.uk-preserve-color) .uk-button-default,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-default,.uk-card-primary.uk-card-body .uk-button-default,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-default,.uk-card-secondary.uk-card-body .uk-button-default,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-default,.uk-overlay-primary .uk-button-default,.uk-offcanvas-bar .uk-button-default{background-color:transparent;color:#fff;border-color:#ffffffb3}.uk-light .uk-button-default:hover,.uk-section-primary:not(.uk-preserve-color) .uk-button-default:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-button-default:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-button-default:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-default:hover,.uk-card-primary.uk-card-body .uk-button-default:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-default:hover,.uk-card-secondary.uk-card-body .uk-button-default:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-default:hover,.uk-overlay-primary .uk-button-default:hover,.uk-offcanvas-bar .uk-button-default:hover{background-color:transparent;color:#fff;border-color:#fff}.uk-light .uk-button-default:active,.uk-light .uk-button-default.uk-active,.uk-section-primary:not(.uk-preserve-color) .uk-button-default:active,.uk-section-primary:not(.uk-preserve-color) .uk-button-default.uk-active,.uk-section-secondary:not(.uk-preserve-color) .uk-button-default:active,.uk-section-secondary:not(.uk-preserve-color) .uk-button-default.uk-active,.uk-tile-primary:not(.uk-preserve-color) .uk-button-default:active,.uk-tile-primary:not(.uk-preserve-color) .uk-button-default.uk-active,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-default:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-default.uk-active,.uk-card-primary.uk-card-body .uk-button-default:active,.uk-card-primary.uk-card-body .uk-button-default.uk-active,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-default:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-default.uk-active,.uk-card-secondary.uk-card-body .uk-button-default:active,.uk-card-secondary.uk-card-body .uk-button-default.uk-active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-default:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-default.uk-active,.uk-overlay-primary .uk-button-default:active,.uk-overlay-primary .uk-button-default.uk-active,.uk-offcanvas-bar .uk-button-default:active,.uk-offcanvas-bar .uk-button-default.uk-active{background-color:transparent;color:#fff;border-color:#fff}.uk-light .uk-button-primary,.uk-section-primary:not(.uk-preserve-color) .uk-button-primary,.uk-section-secondary:not(.uk-preserve-color) .uk-button-primary,.uk-tile-primary:not(.uk-preserve-color) .uk-button-primary,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-primary,.uk-card-primary.uk-card-body .uk-button-primary,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-primary,.uk-card-secondary.uk-card-body .uk-button-primary,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-primary,.uk-overlay-primary .uk-button-primary,.uk-offcanvas-bar .uk-button-primary{background-color:#fff;color:#666}.uk-light .uk-button-primary:hover,.uk-section-primary:not(.uk-preserve-color) .uk-button-primary:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-button-primary:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-button-primary:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-primary:hover,.uk-card-primary.uk-card-body .uk-button-primary:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-primary:hover,.uk-card-secondary.uk-card-body .uk-button-primary:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-primary:hover,.uk-overlay-primary .uk-button-primary:hover,.uk-offcanvas-bar .uk-button-primary:hover{background-color:#f2f2f2;color:#666}.uk-light .uk-button-primary:active,.uk-light .uk-button-primary.uk-active,.uk-section-primary:not(.uk-preserve-color) .uk-button-primary:active,.uk-section-primary:not(.uk-preserve-color) .uk-button-primary.uk-active,.uk-section-secondary:not(.uk-preserve-color) .uk-button-primary:active,.uk-section-secondary:not(.uk-preserve-color) .uk-button-primary.uk-active,.uk-tile-primary:not(.uk-preserve-color) .uk-button-primary:active,.uk-tile-primary:not(.uk-preserve-color) .uk-button-primary.uk-active,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-primary:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-primary.uk-active,.uk-card-primary.uk-card-body .uk-button-primary:active,.uk-card-primary.uk-card-body .uk-button-primary.uk-active,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-primary:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-primary.uk-active,.uk-card-secondary.uk-card-body .uk-button-primary:active,.uk-card-secondary.uk-card-body .uk-button-primary.uk-active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-primary:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-primary.uk-active,.uk-overlay-primary .uk-button-primary:active,.uk-overlay-primary .uk-button-primary.uk-active,.uk-offcanvas-bar .uk-button-primary:active,.uk-offcanvas-bar .uk-button-primary.uk-active{background-color:#e6e6e6;color:#666}.uk-light .uk-button-secondary,.uk-section-primary:not(.uk-preserve-color) .uk-button-secondary,.uk-section-secondary:not(.uk-preserve-color) .uk-button-secondary,.uk-tile-primary:not(.uk-preserve-color) .uk-button-secondary,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-secondary,.uk-card-primary.uk-card-body .uk-button-secondary,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-secondary,.uk-card-secondary.uk-card-body .uk-button-secondary,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-secondary,.uk-overlay-primary .uk-button-secondary,.uk-offcanvas-bar .uk-button-secondary{background-color:#fff;color:#666}.uk-light .uk-button-secondary:hover,.uk-section-primary:not(.uk-preserve-color) .uk-button-secondary:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-button-secondary:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-button-secondary:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-secondary:hover,.uk-card-primary.uk-card-body .uk-button-secondary:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-secondary:hover,.uk-card-secondary.uk-card-body .uk-button-secondary:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-secondary:hover,.uk-overlay-primary .uk-button-secondary:hover,.uk-offcanvas-bar .uk-button-secondary:hover{background-color:#f2f2f2;color:#666}.uk-light .uk-button-secondary:active,.uk-light .uk-button-secondary.uk-active,.uk-section-primary:not(.uk-preserve-color) .uk-button-secondary:active,.uk-section-primary:not(.uk-preserve-color) .uk-button-secondary.uk-active,.uk-section-secondary:not(.uk-preserve-color) .uk-button-secondary:active,.uk-section-secondary:not(.uk-preserve-color) .uk-button-secondary.uk-active,.uk-tile-primary:not(.uk-preserve-color) .uk-button-secondary:active,.uk-tile-primary:not(.uk-preserve-color) .uk-button-secondary.uk-active,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-secondary:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-secondary.uk-active,.uk-card-primary.uk-card-body .uk-button-secondary:active,.uk-card-primary.uk-card-body .uk-button-secondary.uk-active,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-secondary:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-secondary.uk-active,.uk-card-secondary.uk-card-body .uk-button-secondary:active,.uk-card-secondary.uk-card-body .uk-button-secondary.uk-active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-secondary:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-secondary.uk-active,.uk-overlay-primary .uk-button-secondary:active,.uk-overlay-primary .uk-button-secondary.uk-active,.uk-offcanvas-bar .uk-button-secondary:active,.uk-offcanvas-bar .uk-button-secondary.uk-active{background-color:#e6e6e6;color:#666}.uk-light .uk-button-text,.uk-section-primary:not(.uk-preserve-color) .uk-button-text,.uk-section-secondary:not(.uk-preserve-color) .uk-button-text,.uk-tile-primary:not(.uk-preserve-color) .uk-button-text,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-text,.uk-card-primary.uk-card-body .uk-button-text,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-text,.uk-card-secondary.uk-card-body .uk-button-text,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-text,.uk-overlay-primary .uk-button-text,.uk-offcanvas-bar .uk-button-text{color:#fff}.uk-light .uk-button-text:before,.uk-section-primary:not(.uk-preserve-color) .uk-button-text:before,.uk-section-secondary:not(.uk-preserve-color) .uk-button-text:before,.uk-tile-primary:not(.uk-preserve-color) .uk-button-text:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-text:before,.uk-card-primary.uk-card-body .uk-button-text:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-text:before,.uk-card-secondary.uk-card-body .uk-button-text:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-text:before,.uk-overlay-primary .uk-button-text:before,.uk-offcanvas-bar .uk-button-text:before{border-bottom-color:#fff}.uk-light .uk-button-text:hover,.uk-section-primary:not(.uk-preserve-color) .uk-button-text:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-button-text:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-button-text:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-text:hover,.uk-card-primary.uk-card-body .uk-button-text:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-text:hover,.uk-card-secondary.uk-card-body .uk-button-text:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-text:hover,.uk-overlay-primary .uk-button-text:hover,.uk-offcanvas-bar .uk-button-text:hover{color:#fff}.uk-light .uk-button-text:disabled,.uk-section-primary:not(.uk-preserve-color) .uk-button-text:disabled,.uk-section-secondary:not(.uk-preserve-color) .uk-button-text:disabled,.uk-tile-primary:not(.uk-preserve-color) .uk-button-text:disabled,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-text:disabled,.uk-card-primary.uk-card-body .uk-button-text:disabled,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-text:disabled,.uk-card-secondary.uk-card-body .uk-button-text:disabled,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-text:disabled,.uk-overlay-primary .uk-button-text:disabled,.uk-offcanvas-bar .uk-button-text:disabled{color:#ffffff80}.uk-light .uk-button-link,.uk-section-primary:not(.uk-preserve-color) .uk-button-link,.uk-section-secondary:not(.uk-preserve-color) .uk-button-link,.uk-tile-primary:not(.uk-preserve-color) .uk-button-link,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-link,.uk-card-primary.uk-card-body .uk-button-link,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-link,.uk-card-secondary.uk-card-body .uk-button-link,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-link,.uk-overlay-primary .uk-button-link,.uk-offcanvas-bar .uk-button-link{color:#fff}.uk-light .uk-button-link:hover,.uk-section-primary:not(.uk-preserve-color) .uk-button-link:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-button-link:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-button-link:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-button-link:hover,.uk-card-primary.uk-card-body .uk-button-link:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-button-link:hover,.uk-card-secondary.uk-card-body .uk-button-link:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-button-link:hover,.uk-overlay-primary .uk-button-link:hover,.uk-offcanvas-bar .uk-button-link:hover{color:#ffffff80}.uk-light.uk-card-badge,.uk-section-primary:not(.uk-preserve-color).uk-card-badge,.uk-section-secondary:not(.uk-preserve-color).uk-card-badge,.uk-tile-primary:not(.uk-preserve-color).uk-card-badge,.uk-tile-secondary:not(.uk-preserve-color).uk-card-badge,.uk-card-primary.uk-card-body.uk-card-badge,.uk-card-primary>:not([class*=uk-card-media]).uk-card-badge,.uk-card-secondary.uk-card-body.uk-card-badge,.uk-card-secondary>:not([class*=uk-card-media]).uk-card-badge,.uk-overlay-primary.uk-card-badge,.uk-offcanvas-bar.uk-card-badge{background-color:#fff;color:#666}.uk-light .uk-close,.uk-section-primary:not(.uk-preserve-color) .uk-close,.uk-section-secondary:not(.uk-preserve-color) .uk-close,.uk-tile-primary:not(.uk-preserve-color) .uk-close,.uk-tile-secondary:not(.uk-preserve-color) .uk-close,.uk-card-primary.uk-card-body .uk-close,.uk-card-primary>:not([class*=uk-card-media]) .uk-close,.uk-card-secondary.uk-card-body .uk-close,.uk-card-secondary>:not([class*=uk-card-media]) .uk-close,.uk-overlay-primary .uk-close,.uk-offcanvas-bar .uk-close{color:#ffffff80}.uk-light .uk-close:hover,.uk-section-primary:not(.uk-preserve-color) .uk-close:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-close:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-close:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-close:hover,.uk-card-primary.uk-card-body .uk-close:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-close:hover,.uk-card-secondary.uk-card-body .uk-close:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-close:hover,.uk-overlay-primary .uk-close:hover,.uk-offcanvas-bar .uk-close:hover{color:#ffffffb3}.uk-light .uk-totop,.uk-section-primary:not(.uk-preserve-color) .uk-totop,.uk-section-secondary:not(.uk-preserve-color) .uk-totop,.uk-tile-primary:not(.uk-preserve-color) .uk-totop,.uk-tile-secondary:not(.uk-preserve-color) .uk-totop,.uk-card-primary.uk-card-body .uk-totop,.uk-card-primary>:not([class*=uk-card-media]) .uk-totop,.uk-card-secondary.uk-card-body .uk-totop,.uk-card-secondary>:not([class*=uk-card-media]) .uk-totop,.uk-overlay-primary .uk-totop,.uk-offcanvas-bar .uk-totop{color:#ffffff80}.uk-light .uk-totop:hover,.uk-section-primary:not(.uk-preserve-color) .uk-totop:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-totop:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-totop:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-totop:hover,.uk-card-primary.uk-card-body .uk-totop:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-totop:hover,.uk-card-secondary.uk-card-body .uk-totop:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-totop:hover,.uk-overlay-primary .uk-totop:hover,.uk-offcanvas-bar .uk-totop:hover{color:#ffffffb3}.uk-light .uk-totop:active,.uk-section-primary:not(.uk-preserve-color) .uk-totop:active,.uk-section-secondary:not(.uk-preserve-color) .uk-totop:active,.uk-tile-primary:not(.uk-preserve-color) .uk-totop:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-totop:active,.uk-card-primary.uk-card-body .uk-totop:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-totop:active,.uk-card-secondary.uk-card-body .uk-totop:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-totop:active,.uk-overlay-primary .uk-totop:active,.uk-offcanvas-bar .uk-totop:active{color:#fff}.uk-light .uk-marker,.uk-section-primary:not(.uk-preserve-color) .uk-marker,.uk-section-secondary:not(.uk-preserve-color) .uk-marker,.uk-tile-primary:not(.uk-preserve-color) .uk-marker,.uk-tile-secondary:not(.uk-preserve-color) .uk-marker,.uk-card-primary.uk-card-body .uk-marker,.uk-card-primary>:not([class*=uk-card-media]) .uk-marker,.uk-card-secondary.uk-card-body .uk-marker,.uk-card-secondary>:not([class*=uk-card-media]) .uk-marker,.uk-overlay-primary .uk-marker,.uk-offcanvas-bar .uk-marker{background:#f8f8f8;color:#666}.uk-light .uk-marker:hover,.uk-section-primary:not(.uk-preserve-color) .uk-marker:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-marker:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-marker:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-marker:hover,.uk-card-primary.uk-card-body .uk-marker:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-marker:hover,.uk-card-secondary.uk-card-body .uk-marker:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-marker:hover,.uk-overlay-primary .uk-marker:hover,.uk-offcanvas-bar .uk-marker:hover{color:#666}.uk-light .uk-badge,.uk-section-primary:not(.uk-preserve-color) .uk-badge,.uk-section-secondary:not(.uk-preserve-color) .uk-badge,.uk-tile-primary:not(.uk-preserve-color) .uk-badge,.uk-tile-secondary:not(.uk-preserve-color) .uk-badge,.uk-card-primary.uk-card-body .uk-badge,.uk-card-primary>:not([class*=uk-card-media]) .uk-badge,.uk-card-secondary.uk-card-body .uk-badge,.uk-card-secondary>:not([class*=uk-card-media]) .uk-badge,.uk-overlay-primary .uk-badge,.uk-offcanvas-bar .uk-badge{background-color:#fff;color:#666!important}.uk-light .uk-label,.uk-section-primary:not(.uk-preserve-color) .uk-label,.uk-section-secondary:not(.uk-preserve-color) .uk-label,.uk-tile-primary:not(.uk-preserve-color) .uk-label,.uk-tile-secondary:not(.uk-preserve-color) .uk-label,.uk-card-primary.uk-card-body .uk-label,.uk-card-primary>:not([class*=uk-card-media]) .uk-label,.uk-card-secondary.uk-card-body .uk-label,.uk-card-secondary>:not([class*=uk-card-media]) .uk-label,.uk-overlay-primary .uk-label,.uk-offcanvas-bar .uk-label{background-color:#fff;color:#666}.uk-light .uk-article-meta,.uk-section-primary:not(.uk-preserve-color) .uk-article-meta,.uk-section-secondary:not(.uk-preserve-color) .uk-article-meta,.uk-tile-primary:not(.uk-preserve-color) .uk-article-meta,.uk-tile-secondary:not(.uk-preserve-color) .uk-article-meta,.uk-card-primary.uk-card-body .uk-article-meta,.uk-card-primary>:not([class*=uk-card-media]) .uk-article-meta,.uk-card-secondary.uk-card-body .uk-article-meta,.uk-card-secondary>:not([class*=uk-card-media]) .uk-article-meta,.uk-overlay-primary .uk-article-meta,.uk-offcanvas-bar .uk-article-meta{color:#ffffff80}.uk-light .uk-search-input,.uk-section-primary:not(.uk-preserve-color) .uk-search-input,.uk-section-secondary:not(.uk-preserve-color) .uk-search-input,.uk-tile-primary:not(.uk-preserve-color) .uk-search-input,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-input,.uk-card-primary.uk-card-body .uk-search-input,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-input,.uk-card-secondary.uk-card-body .uk-search-input,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-input,.uk-overlay-primary .uk-search-input,.uk-offcanvas-bar .uk-search-input{color:#ffffffb3}.uk-light .uk-search-input::placeholder,.uk-section-primary:not(.uk-preserve-color) .uk-search-input::placeholder,.uk-section-secondary:not(.uk-preserve-color) .uk-search-input::placeholder,.uk-tile-primary:not(.uk-preserve-color) .uk-search-input::placeholder,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-input::placeholder,.uk-card-primary.uk-card-body .uk-search-input::placeholder,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-input::placeholder,.uk-card-secondary.uk-card-body .uk-search-input::placeholder,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-input::placeholder,.uk-overlay-primary .uk-search-input::placeholder,.uk-offcanvas-bar .uk-search-input::placeholder{color:#ffffff80}.uk-light .uk-search .uk-search-icon,.uk-section-primary:not(.uk-preserve-color) .uk-search .uk-search-icon,.uk-section-secondary:not(.uk-preserve-color) .uk-search .uk-search-icon,.uk-tile-primary:not(.uk-preserve-color) .uk-search .uk-search-icon,.uk-tile-secondary:not(.uk-preserve-color) .uk-search .uk-search-icon,.uk-card-primary.uk-card-body .uk-search .uk-search-icon,.uk-card-primary>:not([class*=uk-card-media]) .uk-search .uk-search-icon,.uk-card-secondary.uk-card-body .uk-search .uk-search-icon,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search .uk-search-icon,.uk-overlay-primary .uk-search .uk-search-icon,.uk-offcanvas-bar .uk-search .uk-search-icon{color:#ffffff80}.uk-light .uk-search .uk-search-icon:hover,.uk-section-primary:not(.uk-preserve-color) .uk-search .uk-search-icon:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-search .uk-search-icon:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-search .uk-search-icon:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-search .uk-search-icon:hover,.uk-card-primary.uk-card-body .uk-search .uk-search-icon:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-search .uk-search-icon:hover,.uk-card-secondary.uk-card-body .uk-search .uk-search-icon:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search .uk-search-icon:hover,.uk-overlay-primary .uk-search .uk-search-icon:hover,.uk-offcanvas-bar .uk-search .uk-search-icon:hover{color:#ffffff80}.uk-light .uk-search-default .uk-search-input,.uk-section-primary:not(.uk-preserve-color) .uk-search-default .uk-search-input,.uk-section-secondary:not(.uk-preserve-color) .uk-search-default .uk-search-input,.uk-tile-primary:not(.uk-preserve-color) .uk-search-default .uk-search-input,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-default .uk-search-input,.uk-card-primary.uk-card-body .uk-search-default .uk-search-input,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-default .uk-search-input,.uk-card-secondary.uk-card-body .uk-search-default .uk-search-input,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-default .uk-search-input,.uk-overlay-primary .uk-search-default .uk-search-input,.uk-offcanvas-bar .uk-search-default .uk-search-input{background-color:transparent;border-color:#fff3}.uk-light .uk-search-default .uk-search-input:focus,.uk-section-primary:not(.uk-preserve-color) .uk-search-default .uk-search-input:focus,.uk-section-secondary:not(.uk-preserve-color) .uk-search-default .uk-search-input:focus,.uk-tile-primary:not(.uk-preserve-color) .uk-search-default .uk-search-input:focus,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-default .uk-search-input:focus,.uk-card-primary.uk-card-body .uk-search-default .uk-search-input:focus,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-default .uk-search-input:focus,.uk-card-secondary.uk-card-body .uk-search-default .uk-search-input:focus,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-default .uk-search-input:focus,.uk-overlay-primary .uk-search-default .uk-search-input:focus,.uk-offcanvas-bar .uk-search-default .uk-search-input:focus{background-color:#0000000d}.uk-light .uk-search-navbar .uk-search-input,.uk-section-primary:not(.uk-preserve-color) .uk-search-navbar .uk-search-input,.uk-section-secondary:not(.uk-preserve-color) .uk-search-navbar .uk-search-input,.uk-tile-primary:not(.uk-preserve-color) .uk-search-navbar .uk-search-input,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-navbar .uk-search-input,.uk-card-primary.uk-card-body .uk-search-navbar .uk-search-input,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-navbar .uk-search-input,.uk-card-secondary.uk-card-body .uk-search-navbar .uk-search-input,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-navbar .uk-search-input,.uk-overlay-primary .uk-search-navbar .uk-search-input,.uk-offcanvas-bar .uk-search-navbar .uk-search-input{background-color:transparent}.uk-light .uk-search-large .uk-search-input,.uk-section-primary:not(.uk-preserve-color) .uk-search-large .uk-search-input,.uk-section-secondary:not(.uk-preserve-color) .uk-search-large .uk-search-input,.uk-tile-primary:not(.uk-preserve-color) .uk-search-large .uk-search-input,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-large .uk-search-input,.uk-card-primary.uk-card-body .uk-search-large .uk-search-input,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-large .uk-search-input,.uk-card-secondary.uk-card-body .uk-search-large .uk-search-input,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-large .uk-search-input,.uk-overlay-primary .uk-search-large .uk-search-input,.uk-offcanvas-bar .uk-search-large .uk-search-input{background-color:transparent}.uk-light .uk-search-toggle,.uk-section-primary:not(.uk-preserve-color) .uk-search-toggle,.uk-section-secondary:not(.uk-preserve-color) .uk-search-toggle,.uk-tile-primary:not(.uk-preserve-color) .uk-search-toggle,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-toggle,.uk-card-primary.uk-card-body .uk-search-toggle,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-toggle,.uk-card-secondary.uk-card-body .uk-search-toggle,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-toggle,.uk-overlay-primary .uk-search-toggle,.uk-offcanvas-bar .uk-search-toggle{color:#ffffff80}.uk-light .uk-search-toggle:hover,.uk-section-primary:not(.uk-preserve-color) .uk-search-toggle:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-search-toggle:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-search-toggle:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-search-toggle:hover,.uk-card-primary.uk-card-body .uk-search-toggle:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-search-toggle:hover,.uk-card-secondary.uk-card-body .uk-search-toggle:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-search-toggle:hover,.uk-overlay-primary .uk-search-toggle:hover,.uk-offcanvas-bar .uk-search-toggle:hover{color:#ffffffb3}.uk-light .uk-accordion-title,.uk-section-primary:not(.uk-preserve-color) .uk-accordion-title,.uk-section-secondary:not(.uk-preserve-color) .uk-accordion-title,.uk-tile-primary:not(.uk-preserve-color) .uk-accordion-title,.uk-tile-secondary:not(.uk-preserve-color) .uk-accordion-title,.uk-card-primary.uk-card-body .uk-accordion-title,.uk-card-primary>:not([class*=uk-card-media]) .uk-accordion-title,.uk-card-secondary.uk-card-body .uk-accordion-title,.uk-card-secondary>:not([class*=uk-card-media]) .uk-accordion-title,.uk-overlay-primary .uk-accordion-title,.uk-offcanvas-bar .uk-accordion-title{color:#fff}.uk-light .uk-accordion-title:hover,.uk-section-primary:not(.uk-preserve-color) .uk-accordion-title:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-accordion-title:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-accordion-title:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-accordion-title:hover,.uk-card-primary.uk-card-body .uk-accordion-title:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-accordion-title:hover,.uk-card-secondary.uk-card-body .uk-accordion-title:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-accordion-title:hover,.uk-overlay-primary .uk-accordion-title:hover,.uk-offcanvas-bar .uk-accordion-title:hover{color:#ffffffb3}.uk-light .uk-grid-divider>:not(.uk-first-column):before,.uk-section-primary:not(.uk-preserve-color) .uk-grid-divider>:not(.uk-first-column):before,.uk-section-secondary:not(.uk-preserve-color) .uk-grid-divider>:not(.uk-first-column):before,.uk-tile-primary:not(.uk-preserve-color) .uk-grid-divider>:not(.uk-first-column):before,.uk-tile-secondary:not(.uk-preserve-color) .uk-grid-divider>:not(.uk-first-column):before,.uk-card-primary.uk-card-body .uk-grid-divider>:not(.uk-first-column):before,.uk-card-primary>:not([class*=uk-card-media]) .uk-grid-divider>:not(.uk-first-column):before,.uk-card-secondary.uk-card-body .uk-grid-divider>:not(.uk-first-column):before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-grid-divider>:not(.uk-first-column):before,.uk-overlay-primary .uk-grid-divider>:not(.uk-first-column):before,.uk-offcanvas-bar .uk-grid-divider>:not(.uk-first-column):before{border-left-color:#fff3}.uk-light .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-section-primary:not(.uk-preserve-color) .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-section-secondary:not(.uk-preserve-color) .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-tile-primary:not(.uk-preserve-color) .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-card-primary.uk-card-body .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-card-secondary.uk-card-body .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-overlay-primary .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before,.uk-offcanvas-bar .uk-grid-divider.uk-grid-stack>.uk-grid-margin:before{border-top-color:#fff3}.uk-light .uk-nav-default>li>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default>li>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default>li>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default>li>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default>li>a,.uk-card-primary.uk-card-body .uk-nav-default>li>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default>li>a,.uk-card-secondary.uk-card-body .uk-nav-default>li>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default>li>a,.uk-overlay-primary .uk-nav-default>li>a,.uk-offcanvas-bar .uk-nav-default>li>a{color:#ffffff80}.uk-light .uk-nav-default>li>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default>li>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default>li>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default>li>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default>li>a:hover,.uk-card-primary.uk-card-body .uk-nav-default>li>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default>li>a:hover,.uk-card-secondary.uk-card-body .uk-nav-default>li>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default>li>a:hover,.uk-overlay-primary .uk-nav-default>li>a:hover,.uk-offcanvas-bar .uk-nav-default>li>a:hover{color:#ffffffb3}.uk-light .uk-nav-default>li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default>li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default>li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default>li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default>li.uk-active>a,.uk-card-primary.uk-card-body .uk-nav-default>li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default>li.uk-active>a,.uk-card-secondary.uk-card-body .uk-nav-default>li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default>li.uk-active>a,.uk-overlay-primary .uk-nav-default>li.uk-active>a,.uk-offcanvas-bar .uk-nav-default>li.uk-active>a{color:#fff}.uk-light .uk-nav-default .uk-nav-header,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-header,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-header,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-header,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-header,.uk-card-primary.uk-card-body .uk-nav-default .uk-nav-header,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-header,.uk-card-secondary.uk-card-body .uk-nav-default .uk-nav-header,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-header,.uk-overlay-primary .uk-nav-default .uk-nav-header,.uk-offcanvas-bar .uk-nav-default .uk-nav-header{color:#fff}.uk-light .uk-nav-default .uk-nav-divider,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-divider,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-divider,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-divider,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-divider,.uk-card-primary.uk-card-body .uk-nav-default .uk-nav-divider,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-divider,.uk-card-secondary.uk-card-body .uk-nav-default .uk-nav-divider,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-divider,.uk-overlay-primary .uk-nav-default .uk-nav-divider,.uk-offcanvas-bar .uk-nav-default .uk-nav-divider{border-top-color:#fff3}.uk-light .uk-nav-default .uk-nav-sub a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a,.uk-card-primary.uk-card-body .uk-nav-default .uk-nav-sub a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-sub a,.uk-card-secondary.uk-card-body .uk-nav-default .uk-nav-sub a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-sub a,.uk-overlay-primary .uk-nav-default .uk-nav-sub a,.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a{color:#ffffff80}.uk-light .uk-nav-default .uk-nav-sub a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub a:hover,.uk-card-primary.uk-card-body .uk-nav-default .uk-nav-sub a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-sub a:hover,.uk-card-secondary.uk-card-body .uk-nav-default .uk-nav-sub a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-sub a:hover,.uk-overlay-primary .uk-nav-default .uk-nav-sub a:hover,.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a:hover{color:#ffffffb3}.uk-light .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-card-primary.uk-card-body .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-card-secondary.uk-card-body .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-overlay-primary .uk-nav-default .uk-nav-sub li.uk-active>a,.uk-offcanvas-bar .uk-nav-default .uk-nav-sub li.uk-active>a{color:#fff}.uk-light .uk-nav-primary>li>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary>li>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary>li>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary>li>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary>li>a,.uk-card-primary.uk-card-body .uk-nav-primary>li>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary>li>a,.uk-card-secondary.uk-card-body .uk-nav-primary>li>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary>li>a,.uk-overlay-primary .uk-nav-primary>li>a,.uk-offcanvas-bar .uk-nav-primary>li>a{color:#ffffff80}.uk-light .uk-nav-primary>li>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary>li>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary>li>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary>li>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary>li>a:hover,.uk-card-primary.uk-card-body .uk-nav-primary>li>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary>li>a:hover,.uk-card-secondary.uk-card-body .uk-nav-primary>li>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary>li>a:hover,.uk-overlay-primary .uk-nav-primary>li>a:hover,.uk-offcanvas-bar .uk-nav-primary>li>a:hover{color:#ffffffb3}.uk-light .uk-nav-primary>li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary>li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary>li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary>li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary>li.uk-active>a,.uk-card-primary.uk-card-body .uk-nav-primary>li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary>li.uk-active>a,.uk-card-secondary.uk-card-body .uk-nav-primary>li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary>li.uk-active>a,.uk-overlay-primary .uk-nav-primary>li.uk-active>a,.uk-offcanvas-bar .uk-nav-primary>li.uk-active>a{color:#fff}.uk-light .uk-nav-primary .uk-nav-header,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-header,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-header,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-header,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-header,.uk-card-primary.uk-card-body .uk-nav-primary .uk-nav-header,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-header,.uk-card-secondary.uk-card-body .uk-nav-primary .uk-nav-header,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-header,.uk-overlay-primary .uk-nav-primary .uk-nav-header,.uk-offcanvas-bar .uk-nav-primary .uk-nav-header{color:#fff}.uk-light .uk-nav-primary .uk-nav-divider,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-divider,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-divider,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-divider,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-divider,.uk-card-primary.uk-card-body .uk-nav-primary .uk-nav-divider,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-divider,.uk-card-secondary.uk-card-body .uk-nav-primary .uk-nav-divider,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-divider,.uk-overlay-primary .uk-nav-primary .uk-nav-divider,.uk-offcanvas-bar .uk-nav-primary .uk-nav-divider{border-top-color:#fff3}.uk-light .uk-nav-primary .uk-nav-sub a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a,.uk-card-primary.uk-card-body .uk-nav-primary .uk-nav-sub a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-sub a,.uk-card-secondary.uk-card-body .uk-nav-primary .uk-nav-sub a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-sub a,.uk-overlay-primary .uk-nav-primary .uk-nav-sub a,.uk-offcanvas-bar .uk-nav-primary .uk-nav-sub a{color:#ffffff80}.uk-light .uk-nav-primary .uk-nav-sub a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub a:hover,.uk-card-primary.uk-card-body .uk-nav-primary .uk-nav-sub a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-sub a:hover,.uk-card-secondary.uk-card-body .uk-nav-primary .uk-nav-sub a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-sub a:hover,.uk-overlay-primary .uk-nav-primary .uk-nav-sub a:hover,.uk-offcanvas-bar .uk-nav-primary .uk-nav-sub a:hover{color:#ffffffb3}.uk-light .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-card-primary.uk-card-body .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-card-secondary.uk-card-body .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-overlay-primary .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-offcanvas-bar .uk-nav-primary .uk-nav-sub li.uk-active>a{color:#fff}.uk-light .uk-nav-secondary>li>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary>li>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary>li>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary>li>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary>li>a,.uk-card-primary.uk-card-body .uk-nav-secondary>li>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary>li>a,.uk-card-secondary.uk-card-body .uk-nav-secondary>li>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary>li>a,.uk-overlay-primary .uk-nav-secondary>li>a,.uk-offcanvas-bar .uk-nav-secondary>li>a{color:#fff}.uk-light .uk-nav-secondary>li>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover,.uk-card-primary.uk-card-body .uk-nav-secondary>li>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary>li>a:hover,.uk-card-secondary.uk-card-body .uk-nav-secondary>li>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary>li>a:hover,.uk-overlay-primary .uk-nav-secondary>li>a:hover,.uk-offcanvas-bar .uk-nav-secondary>li>a:hover{color:#fff;background-color:#ffffff1a}.uk-light .uk-nav-secondary>li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a,.uk-card-primary.uk-card-body .uk-nav-secondary>li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary>li.uk-active>a,.uk-card-secondary.uk-card-body .uk-nav-secondary>li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary>li.uk-active>a,.uk-overlay-primary .uk-nav-secondary>li.uk-active>a,.uk-offcanvas-bar .uk-nav-secondary>li.uk-active>a{color:#fff;background-color:#ffffff1a}.uk-light .uk-nav-secondary .uk-nav-subtitle,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-subtitle,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-subtitle,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-subtitle,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-subtitle,.uk-card-primary.uk-card-body .uk-nav-secondary .uk-nav-subtitle,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-subtitle,.uk-card-secondary.uk-card-body .uk-nav-secondary .uk-nav-subtitle,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-subtitle,.uk-overlay-primary .uk-nav-secondary .uk-nav-subtitle,.uk-offcanvas-bar .uk-nav-secondary .uk-nav-subtitle{color:#ffffff80}.uk-light .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-card-primary.uk-card-body .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-card-secondary.uk-card-body .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-overlay-primary .uk-nav-secondary>li>a:hover .uk-nav-subtitle,.uk-offcanvas-bar .uk-nav-secondary>li>a:hover .uk-nav-subtitle{color:#ffffffb3}.uk-light .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-card-primary.uk-card-body .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-card-secondary.uk-card-body .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-overlay-primary .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle,.uk-offcanvas-bar .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle{color:#fff}.uk-light .uk-nav-secondary .uk-nav-header,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-header,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-header,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-header,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-header,.uk-card-primary.uk-card-body .uk-nav-secondary .uk-nav-header,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-header,.uk-card-secondary.uk-card-body .uk-nav-secondary .uk-nav-header,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-header,.uk-overlay-primary .uk-nav-secondary .uk-nav-header,.uk-offcanvas-bar .uk-nav-secondary .uk-nav-header{color:#fff}.uk-light .uk-nav-secondary .uk-nav-divider,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-divider,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-divider,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-divider,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-divider,.uk-card-primary.uk-card-body .uk-nav-secondary .uk-nav-divider,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-divider,.uk-card-secondary.uk-card-body .uk-nav-secondary .uk-nav-divider,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-divider,.uk-overlay-primary .uk-nav-secondary .uk-nav-divider,.uk-offcanvas-bar .uk-nav-secondary .uk-nav-divider{border-top-color:#fff3}.uk-light .uk-nav-secondary .uk-nav-sub a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a,.uk-card-primary.uk-card-body .uk-nav-secondary .uk-nav-sub a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-sub a,.uk-card-secondary.uk-card-body .uk-nav-secondary .uk-nav-sub a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-sub a,.uk-overlay-primary .uk-nav-secondary .uk-nav-sub a,.uk-offcanvas-bar .uk-nav-secondary .uk-nav-sub a{color:#ffffff80}.uk-light .uk-nav-secondary .uk-nav-sub a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub a:hover,.uk-card-primary.uk-card-body .uk-nav-secondary .uk-nav-sub a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-sub a:hover,.uk-card-secondary.uk-card-body .uk-nav-secondary .uk-nav-sub a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-sub a:hover,.uk-overlay-primary .uk-nav-secondary .uk-nav-sub a:hover,.uk-offcanvas-bar .uk-nav-secondary .uk-nav-sub a:hover{color:#ffffffb3}.uk-light .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-card-primary.uk-card-body .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-card-secondary.uk-card-body .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-overlay-primary .uk-nav-secondary .uk-nav-sub li.uk-active>a,.uk-offcanvas-bar .uk-nav-secondary .uk-nav-sub li.uk-active>a{color:#fff}.uk-light .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-section-primary:not(.uk-preserve-color) .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-section-secondary:not(.uk-preserve-color) .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-tile-primary:not(.uk-preserve-color) .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-tile-secondary:not(.uk-preserve-color) .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-card-primary.uk-card-body .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-card-primary>:not([class*=uk-card-media]) .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-card-secondary.uk-card-body .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-card-secondary>:not([class*=uk-card-media]) .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-overlay-primary .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider),.uk-offcanvas-bar .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider){border-top-color:#fff3}.uk-light .uk-navbar-nav>li>a,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a,.uk-card-primary.uk-card-body .uk-navbar-nav>li>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-nav>li>a,.uk-card-secondary.uk-card-body .uk-navbar-nav>li>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-nav>li>a,.uk-overlay-primary .uk-navbar-nav>li>a,.uk-offcanvas-bar .uk-navbar-nav>li>a{color:#ffffff80}.uk-light .uk-navbar-nav>li:hover>a,.uk-light .uk-navbar-nav>li>a[aria-expanded=true],.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li:hover>a,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a[aria-expanded=true],.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li:hover>a,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a[aria-expanded=true],.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-nav>li:hover>a,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a[aria-expanded=true],.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-nav>li:hover>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a[aria-expanded=true],.uk-card-primary.uk-card-body .uk-navbar-nav>li:hover>a,.uk-card-primary.uk-card-body .uk-navbar-nav>li>a[aria-expanded=true],.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-nav>li:hover>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-nav>li>a[aria-expanded=true],.uk-card-secondary.uk-card-body .uk-navbar-nav>li:hover>a,.uk-card-secondary.uk-card-body .uk-navbar-nav>li>a[aria-expanded=true],.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-nav>li:hover>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-nav>li>a[aria-expanded=true],.uk-overlay-primary .uk-navbar-nav>li:hover>a,.uk-overlay-primary .uk-navbar-nav>li>a[aria-expanded=true],.uk-offcanvas-bar .uk-navbar-nav>li:hover>a,.uk-offcanvas-bar .uk-navbar-nav>li>a[aria-expanded=true]{color:#ffffffb3}.uk-light .uk-navbar-nav>li>a:active,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a:active,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a:active,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-nav>li>a:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-nav>li>a:active,.uk-card-primary.uk-card-body .uk-navbar-nav>li>a:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-nav>li>a:active,.uk-card-secondary.uk-card-body .uk-navbar-nav>li>a:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-nav>li>a:active,.uk-overlay-primary .uk-navbar-nav>li>a:active,.uk-offcanvas-bar .uk-navbar-nav>li>a:active{color:#fff}.uk-light .uk-navbar-nav>li.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-nav>li.uk-active>a,.uk-card-primary.uk-card-body .uk-navbar-nav>li.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-nav>li.uk-active>a,.uk-card-secondary.uk-card-body .uk-navbar-nav>li.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-nav>li.uk-active>a,.uk-overlay-primary .uk-navbar-nav>li.uk-active>a,.uk-offcanvas-bar .uk-navbar-nav>li.uk-active>a{color:#fff}.uk-light .uk-navbar-item,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-item,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-item,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-item,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-item,.uk-card-primary.uk-card-body .uk-navbar-item,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-item,.uk-card-secondary.uk-card-body .uk-navbar-item,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-item,.uk-overlay-primary .uk-navbar-item,.uk-offcanvas-bar .uk-navbar-item{color:#ffffffb3}.uk-light .uk-navbar-toggle,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-toggle,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-toggle,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-toggle,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-toggle,.uk-card-primary.uk-card-body .uk-navbar-toggle,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-toggle,.uk-card-secondary.uk-card-body .uk-navbar-toggle,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-toggle,.uk-overlay-primary .uk-navbar-toggle,.uk-offcanvas-bar .uk-navbar-toggle{color:#ffffff80}.uk-light .uk-navbar-toggle:hover,.uk-light .uk-navbar-toggle[aria-expanded=true],.uk-section-primary:not(.uk-preserve-color) .uk-navbar-toggle:hover,.uk-section-primary:not(.uk-preserve-color) .uk-navbar-toggle[aria-expanded=true],.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-toggle:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-navbar-toggle[aria-expanded=true],.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-toggle:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-navbar-toggle[aria-expanded=true],.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-toggle:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-navbar-toggle[aria-expanded=true],.uk-card-primary.uk-card-body .uk-navbar-toggle:hover,.uk-card-primary.uk-card-body .uk-navbar-toggle[aria-expanded=true],.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-toggle:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-navbar-toggle[aria-expanded=true],.uk-card-secondary.uk-card-body .uk-navbar-toggle:hover,.uk-card-secondary.uk-card-body .uk-navbar-toggle[aria-expanded=true],.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-toggle:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-navbar-toggle[aria-expanded=true],.uk-overlay-primary .uk-navbar-toggle:hover,.uk-overlay-primary .uk-navbar-toggle[aria-expanded=true],.uk-offcanvas-bar .uk-navbar-toggle:hover,.uk-offcanvas-bar .uk-navbar-toggle[aria-expanded=true]{color:#ffffffb3}.uk-light .uk-subnav>*>:first-child,.uk-section-primary:not(.uk-preserve-color) .uk-subnav>*>:first-child,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav>*>:first-child,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav>*>:first-child,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav>*>:first-child,.uk-card-primary.uk-card-body .uk-subnav>*>:first-child,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav>*>:first-child,.uk-card-secondary.uk-card-body .uk-subnav>*>:first-child,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav>*>:first-child,.uk-overlay-primary .uk-subnav>*>:first-child,.uk-offcanvas-bar .uk-subnav>*>:first-child{color:#ffffff80}.uk-light .uk-subnav>*>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-subnav>*>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav>*>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav>*>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav>*>a:hover,.uk-card-primary.uk-card-body .uk-subnav>*>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav>*>a:hover,.uk-card-secondary.uk-card-body .uk-subnav>*>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav>*>a:hover,.uk-overlay-primary .uk-subnav>*>a:hover,.uk-offcanvas-bar .uk-subnav>*>a:hover{color:#ffffffb3}.uk-light .uk-subnav>.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-subnav>.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav>.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav>.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav>.uk-active>a,.uk-card-primary.uk-card-body .uk-subnav>.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav>.uk-active>a,.uk-card-secondary.uk-card-body .uk-subnav>.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav>.uk-active>a,.uk-overlay-primary .uk-subnav>.uk-active>a,.uk-offcanvas-bar .uk-subnav>.uk-active>a{color:#fff}.uk-light .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-section-primary:not(.uk-preserve-color) .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-card-primary.uk-card-body .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-card-secondary.uk-card-body .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-overlay-primary .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before,.uk-offcanvas-bar .uk-subnav-divider>:nth-child(n+2):not(.uk-first-column):before{border-left-color:#fff3}.uk-light .uk-subnav-pill>*>:first-child,.uk-section-primary:not(.uk-preserve-color) .uk-subnav-pill>*>:first-child,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav-pill>*>:first-child,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav-pill>*>:first-child,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav-pill>*>:first-child,.uk-card-primary.uk-card-body .uk-subnav-pill>*>:first-child,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav-pill>*>:first-child,.uk-card-secondary.uk-card-body .uk-subnav-pill>*>:first-child,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav-pill>*>:first-child,.uk-overlay-primary .uk-subnav-pill>*>:first-child,.uk-offcanvas-bar .uk-subnav-pill>*>:first-child{background-color:transparent;color:#ffffff80}.uk-light .uk-subnav-pill>*>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-subnav-pill>*>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav-pill>*>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav-pill>*>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav-pill>*>a:hover,.uk-card-primary.uk-card-body .uk-subnav-pill>*>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav-pill>*>a:hover,.uk-card-secondary.uk-card-body .uk-subnav-pill>*>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav-pill>*>a:hover,.uk-overlay-primary .uk-subnav-pill>*>a:hover,.uk-offcanvas-bar .uk-subnav-pill>*>a:hover{background-color:#ffffff1a;color:#ffffffb3}.uk-light .uk-subnav-pill>*>a:active,.uk-section-primary:not(.uk-preserve-color) .uk-subnav-pill>*>a:active,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav-pill>*>a:active,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav-pill>*>a:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav-pill>*>a:active,.uk-card-primary.uk-card-body .uk-subnav-pill>*>a:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav-pill>*>a:active,.uk-card-secondary.uk-card-body .uk-subnav-pill>*>a:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav-pill>*>a:active,.uk-overlay-primary .uk-subnav-pill>*>a:active,.uk-offcanvas-bar .uk-subnav-pill>*>a:active{background-color:#ffffff1a;color:#ffffffb3}.uk-light .uk-subnav-pill>.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-subnav-pill>.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav-pill>.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav-pill>.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav-pill>.uk-active>a,.uk-card-primary.uk-card-body .uk-subnav-pill>.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav-pill>.uk-active>a,.uk-card-secondary.uk-card-body .uk-subnav-pill>.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav-pill>.uk-active>a,.uk-overlay-primary .uk-subnav-pill>.uk-active>a,.uk-offcanvas-bar .uk-subnav-pill>.uk-active>a{background-color:#fff;color:#666}.uk-light .uk-subnav>.uk-disabled>a,.uk-section-primary:not(.uk-preserve-color) .uk-subnav>.uk-disabled>a,.uk-section-secondary:not(.uk-preserve-color) .uk-subnav>.uk-disabled>a,.uk-tile-primary:not(.uk-preserve-color) .uk-subnav>.uk-disabled>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-subnav>.uk-disabled>a,.uk-card-primary.uk-card-body .uk-subnav>.uk-disabled>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-subnav>.uk-disabled>a,.uk-card-secondary.uk-card-body .uk-subnav>.uk-disabled>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-subnav>.uk-disabled>a,.uk-overlay-primary .uk-subnav>.uk-disabled>a,.uk-offcanvas-bar .uk-subnav>.uk-disabled>a{color:#ffffff80}.uk-light .uk-breadcrumb>*>*,.uk-section-primary:not(.uk-preserve-color) .uk-breadcrumb>*>*,.uk-section-secondary:not(.uk-preserve-color) .uk-breadcrumb>*>*,.uk-tile-primary:not(.uk-preserve-color) .uk-breadcrumb>*>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-breadcrumb>*>*,.uk-card-primary.uk-card-body .uk-breadcrumb>*>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-breadcrumb>*>*,.uk-card-secondary.uk-card-body .uk-breadcrumb>*>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-breadcrumb>*>*,.uk-overlay-primary .uk-breadcrumb>*>*,.uk-offcanvas-bar .uk-breadcrumb>*>*{color:#ffffff80}.uk-light .uk-breadcrumb>*>:hover,.uk-section-primary:not(.uk-preserve-color) .uk-breadcrumb>*>:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-breadcrumb>*>:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-breadcrumb>*>:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-breadcrumb>*>:hover,.uk-card-primary.uk-card-body .uk-breadcrumb>*>:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-breadcrumb>*>:hover,.uk-card-secondary.uk-card-body .uk-breadcrumb>*>:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-breadcrumb>*>:hover,.uk-overlay-primary .uk-breadcrumb>*>:hover,.uk-offcanvas-bar .uk-breadcrumb>*>:hover{color:#ffffffb3}.uk-light .uk-breadcrumb>:last-child>*,.uk-section-primary:not(.uk-preserve-color) .uk-breadcrumb>:last-child>*,.uk-section-secondary:not(.uk-preserve-color) .uk-breadcrumb>:last-child>*,.uk-tile-primary:not(.uk-preserve-color) .uk-breadcrumb>:last-child>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-breadcrumb>:last-child>*,.uk-card-primary.uk-card-body .uk-breadcrumb>:last-child>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-breadcrumb>:last-child>*,.uk-card-secondary.uk-card-body .uk-breadcrumb>:last-child>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-breadcrumb>:last-child>*,.uk-overlay-primary .uk-breadcrumb>:last-child>*,.uk-offcanvas-bar .uk-breadcrumb>:last-child>*{color:#ffffffb3}.uk-light .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-section-primary:not(.uk-preserve-color) .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-section-secondary:not(.uk-preserve-color) .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-tile-primary:not(.uk-preserve-color) .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-tile-secondary:not(.uk-preserve-color) .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-card-primary.uk-card-body .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-card-primary>:not([class*=uk-card-media]) .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-card-secondary.uk-card-body .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-overlay-primary .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before,.uk-offcanvas-bar .uk-breadcrumb>:nth-child(n+2):not(.uk-first-column):before{color:#ffffff80}.uk-light .uk-pagination>*>*,.uk-section-primary:not(.uk-preserve-color) .uk-pagination>*>*,.uk-section-secondary:not(.uk-preserve-color) .uk-pagination>*>*,.uk-tile-primary:not(.uk-preserve-color) .uk-pagination>*>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-pagination>*>*,.uk-card-primary.uk-card-body .uk-pagination>*>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-pagination>*>*,.uk-card-secondary.uk-card-body .uk-pagination>*>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-pagination>*>*,.uk-overlay-primary .uk-pagination>*>*,.uk-offcanvas-bar .uk-pagination>*>*{color:#ffffff80}.uk-light .uk-pagination>*>:hover,.uk-section-primary:not(.uk-preserve-color) .uk-pagination>*>:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-pagination>*>:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-pagination>*>:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-pagination>*>:hover,.uk-card-primary.uk-card-body .uk-pagination>*>:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-pagination>*>:hover,.uk-card-secondary.uk-card-body .uk-pagination>*>:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-pagination>*>:hover,.uk-overlay-primary .uk-pagination>*>:hover,.uk-offcanvas-bar .uk-pagination>*>:hover{color:#ffffffb3}.uk-light .uk-pagination>.uk-active>*,.uk-section-primary:not(.uk-preserve-color) .uk-pagination>.uk-active>*,.uk-section-secondary:not(.uk-preserve-color) .uk-pagination>.uk-active>*,.uk-tile-primary:not(.uk-preserve-color) .uk-pagination>.uk-active>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-pagination>.uk-active>*,.uk-card-primary.uk-card-body .uk-pagination>.uk-active>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-pagination>.uk-active>*,.uk-card-secondary.uk-card-body .uk-pagination>.uk-active>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-pagination>.uk-active>*,.uk-overlay-primary .uk-pagination>.uk-active>*,.uk-offcanvas-bar .uk-pagination>.uk-active>*{color:#ffffffb3}.uk-light .uk-pagination>.uk-disabled>*,.uk-section-primary:not(.uk-preserve-color) .uk-pagination>.uk-disabled>*,.uk-section-secondary:not(.uk-preserve-color) .uk-pagination>.uk-disabled>*,.uk-tile-primary:not(.uk-preserve-color) .uk-pagination>.uk-disabled>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-pagination>.uk-disabled>*,.uk-card-primary.uk-card-body .uk-pagination>.uk-disabled>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-pagination>.uk-disabled>*,.uk-card-secondary.uk-card-body .uk-pagination>.uk-disabled>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-pagination>.uk-disabled>*,.uk-overlay-primary .uk-pagination>.uk-disabled>*,.uk-offcanvas-bar .uk-pagination>.uk-disabled>*{color:#ffffff80}.uk-light .uk-tab:before,.uk-section-primary:not(.uk-preserve-color) .uk-tab:before,.uk-section-secondary:not(.uk-preserve-color) .uk-tab:before,.uk-tile-primary:not(.uk-preserve-color) .uk-tab:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-tab:before,.uk-card-primary.uk-card-body .uk-tab:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-tab:before,.uk-card-secondary.uk-card-body .uk-tab:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-tab:before,.uk-overlay-primary .uk-tab:before,.uk-offcanvas-bar .uk-tab:before{border-color:#fff3}.uk-light .uk-tab>*>a,.uk-section-primary:not(.uk-preserve-color) .uk-tab>*>a,.uk-section-secondary:not(.uk-preserve-color) .uk-tab>*>a,.uk-tile-primary:not(.uk-preserve-color) .uk-tab>*>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-tab>*>a,.uk-card-primary.uk-card-body .uk-tab>*>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-tab>*>a,.uk-card-secondary.uk-card-body .uk-tab>*>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-tab>*>a,.uk-overlay-primary .uk-tab>*>a,.uk-offcanvas-bar .uk-tab>*>a{color:#ffffff80}.uk-light .uk-tab>*>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-tab>*>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-tab>*>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-tab>*>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-tab>*>a:hover,.uk-card-primary.uk-card-body .uk-tab>*>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-tab>*>a:hover,.uk-card-secondary.uk-card-body .uk-tab>*>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-tab>*>a:hover,.uk-overlay-primary .uk-tab>*>a:hover,.uk-offcanvas-bar .uk-tab>*>a:hover{color:#ffffffb3}.uk-light .uk-tab>.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-tab>.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-tab>.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-tab>.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-tab>.uk-active>a,.uk-card-primary.uk-card-body .uk-tab>.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-tab>.uk-active>a,.uk-card-secondary.uk-card-body .uk-tab>.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-tab>.uk-active>a,.uk-overlay-primary .uk-tab>.uk-active>a,.uk-offcanvas-bar .uk-tab>.uk-active>a{color:#fff;border-color:#fff}.uk-light .uk-tab>.uk-disabled>a,.uk-section-primary:not(.uk-preserve-color) .uk-tab>.uk-disabled>a,.uk-section-secondary:not(.uk-preserve-color) .uk-tab>.uk-disabled>a,.uk-tile-primary:not(.uk-preserve-color) .uk-tab>.uk-disabled>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-tab>.uk-disabled>a,.uk-card-primary.uk-card-body .uk-tab>.uk-disabled>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-tab>.uk-disabled>a,.uk-card-secondary.uk-card-body .uk-tab>.uk-disabled>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-tab>.uk-disabled>a,.uk-overlay-primary .uk-tab>.uk-disabled>a,.uk-offcanvas-bar .uk-tab>.uk-disabled>a{color:#ffffff80}.uk-light .uk-slidenav,.uk-section-primary:not(.uk-preserve-color) .uk-slidenav,.uk-section-secondary:not(.uk-preserve-color) .uk-slidenav,.uk-tile-primary:not(.uk-preserve-color) .uk-slidenav,.uk-tile-secondary:not(.uk-preserve-color) .uk-slidenav,.uk-card-primary.uk-card-body .uk-slidenav,.uk-card-primary>:not([class*=uk-card-media]) .uk-slidenav,.uk-card-secondary.uk-card-body .uk-slidenav,.uk-card-secondary>:not([class*=uk-card-media]) .uk-slidenav,.uk-overlay-primary .uk-slidenav,.uk-offcanvas-bar .uk-slidenav{color:#ffffffb3}.uk-light .uk-slidenav:hover,.uk-section-primary:not(.uk-preserve-color) .uk-slidenav:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-slidenav:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-slidenav:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-slidenav:hover,.uk-card-primary.uk-card-body .uk-slidenav:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-slidenav:hover,.uk-card-secondary.uk-card-body .uk-slidenav:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-slidenav:hover,.uk-overlay-primary .uk-slidenav:hover,.uk-offcanvas-bar .uk-slidenav:hover{color:#fffffff2}.uk-light .uk-slidenav:active,.uk-section-primary:not(.uk-preserve-color) .uk-slidenav:active,.uk-section-secondary:not(.uk-preserve-color) .uk-slidenav:active,.uk-tile-primary:not(.uk-preserve-color) .uk-slidenav:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-slidenav:active,.uk-card-primary.uk-card-body .uk-slidenav:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-slidenav:active,.uk-card-secondary.uk-card-body .uk-slidenav:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-slidenav:active,.uk-overlay-primary .uk-slidenav:active,.uk-offcanvas-bar .uk-slidenav:active{color:#ffffffb3}.uk-light .uk-dotnav>*>*,.uk-section-primary:not(.uk-preserve-color) .uk-dotnav>*>*,.uk-section-secondary:not(.uk-preserve-color) .uk-dotnav>*>*,.uk-tile-primary:not(.uk-preserve-color) .uk-dotnav>*>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-dotnav>*>*,.uk-card-primary.uk-card-body .uk-dotnav>*>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-dotnav>*>*,.uk-card-secondary.uk-card-body .uk-dotnav>*>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-dotnav>*>*,.uk-overlay-primary .uk-dotnav>*>*,.uk-offcanvas-bar .uk-dotnav>*>*{background-color:transparent;border-color:#ffffffe6}.uk-light .uk-dotnav>*>:hover,.uk-section-primary:not(.uk-preserve-color) .uk-dotnav>*>:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-dotnav>*>:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-dotnav>*>:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-dotnav>*>:hover,.uk-card-primary.uk-card-body .uk-dotnav>*>:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-dotnav>*>:hover,.uk-card-secondary.uk-card-body .uk-dotnav>*>:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-dotnav>*>:hover,.uk-overlay-primary .uk-dotnav>*>:hover,.uk-offcanvas-bar .uk-dotnav>*>:hover{background-color:#ffffffe6;border-color:transparent}.uk-light .uk-dotnav>*>:active,.uk-section-primary:not(.uk-preserve-color) .uk-dotnav>*>:active,.uk-section-secondary:not(.uk-preserve-color) .uk-dotnav>*>:active,.uk-tile-primary:not(.uk-preserve-color) .uk-dotnav>*>:active,.uk-tile-secondary:not(.uk-preserve-color) .uk-dotnav>*>:active,.uk-card-primary.uk-card-body .uk-dotnav>*>:active,.uk-card-primary>:not([class*=uk-card-media]) .uk-dotnav>*>:active,.uk-card-secondary.uk-card-body .uk-dotnav>*>:active,.uk-card-secondary>:not([class*=uk-card-media]) .uk-dotnav>*>:active,.uk-overlay-primary .uk-dotnav>*>:active,.uk-offcanvas-bar .uk-dotnav>*>:active{background-color:#ffffff80;border-color:transparent}.uk-light .uk-dotnav>.uk-active>*,.uk-section-primary:not(.uk-preserve-color) .uk-dotnav>.uk-active>*,.uk-section-secondary:not(.uk-preserve-color) .uk-dotnav>.uk-active>*,.uk-tile-primary:not(.uk-preserve-color) .uk-dotnav>.uk-active>*,.uk-tile-secondary:not(.uk-preserve-color) .uk-dotnav>.uk-active>*,.uk-card-primary.uk-card-body .uk-dotnav>.uk-active>*,.uk-card-primary>:not([class*=uk-card-media]) .uk-dotnav>.uk-active>*,.uk-card-secondary.uk-card-body .uk-dotnav>.uk-active>*,.uk-card-secondary>:not([class*=uk-card-media]) .uk-dotnav>.uk-active>*,.uk-overlay-primary .uk-dotnav>.uk-active>*,.uk-offcanvas-bar .uk-dotnav>.uk-active>*{background-color:#ffffffe6;border-color:transparent}.uk-light .uk-thumbnav>*>*:after,.uk-section-primary:not(.uk-preserve-color) .uk-thumbnav>*>*:after,.uk-section-secondary:not(.uk-preserve-color) .uk-thumbnav>*>*:after,.uk-tile-primary:not(.uk-preserve-color) .uk-thumbnav>*>*:after,.uk-tile-secondary:not(.uk-preserve-color) .uk-thumbnav>*>*:after,.uk-card-primary.uk-card-body .uk-thumbnav>*>*:after,.uk-card-primary>:not([class*=uk-card-media]) .uk-thumbnav>*>*:after,.uk-card-secondary.uk-card-body .uk-thumbnav>*>*:after,.uk-card-secondary>:not([class*=uk-card-media]) .uk-thumbnav>*>*:after,.uk-overlay-primary .uk-thumbnav>*>*:after,.uk-offcanvas-bar .uk-thumbnav>*>*:after{background-image:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.4))}.uk-light .uk-iconnav>*>a,.uk-section-primary:not(.uk-preserve-color) .uk-iconnav>*>a,.uk-section-secondary:not(.uk-preserve-color) .uk-iconnav>*>a,.uk-tile-primary:not(.uk-preserve-color) .uk-iconnav>*>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-iconnav>*>a,.uk-card-primary.uk-card-body .uk-iconnav>*>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-iconnav>*>a,.uk-card-secondary.uk-card-body .uk-iconnav>*>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-iconnav>*>a,.uk-overlay-primary .uk-iconnav>*>a,.uk-offcanvas-bar .uk-iconnav>*>a{color:#ffffff80}.uk-light .uk-iconnav>*>a:hover,.uk-section-primary:not(.uk-preserve-color) .uk-iconnav>*>a:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-iconnav>*>a:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-iconnav>*>a:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-iconnav>*>a:hover,.uk-card-primary.uk-card-body .uk-iconnav>*>a:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-iconnav>*>a:hover,.uk-card-secondary.uk-card-body .uk-iconnav>*>a:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-iconnav>*>a:hover,.uk-overlay-primary .uk-iconnav>*>a:hover,.uk-offcanvas-bar .uk-iconnav>*>a:hover{color:#ffffffb3}.uk-light .uk-iconnav>.uk-active>a,.uk-section-primary:not(.uk-preserve-color) .uk-iconnav>.uk-active>a,.uk-section-secondary:not(.uk-preserve-color) .uk-iconnav>.uk-active>a,.uk-tile-primary:not(.uk-preserve-color) .uk-iconnav>.uk-active>a,.uk-tile-secondary:not(.uk-preserve-color) .uk-iconnav>.uk-active>a,.uk-card-primary.uk-card-body .uk-iconnav>.uk-active>a,.uk-card-primary>:not([class*=uk-card-media]) .uk-iconnav>.uk-active>a,.uk-card-secondary.uk-card-body .uk-iconnav>.uk-active>a,.uk-card-secondary>:not([class*=uk-card-media]) .uk-iconnav>.uk-active>a,.uk-overlay-primary .uk-iconnav>.uk-active>a,.uk-offcanvas-bar .uk-iconnav>.uk-active>a{color:#ffffffb3}.uk-light .uk-text-lead,.uk-section-primary:not(.uk-preserve-color) .uk-text-lead,.uk-section-secondary:not(.uk-preserve-color) .uk-text-lead,.uk-tile-primary:not(.uk-preserve-color) .uk-text-lead,.uk-tile-secondary:not(.uk-preserve-color) .uk-text-lead,.uk-card-primary.uk-card-body .uk-text-lead,.uk-card-primary>:not([class*=uk-card-media]) .uk-text-lead,.uk-card-secondary.uk-card-body .uk-text-lead,.uk-card-secondary>:not([class*=uk-card-media]) .uk-text-lead,.uk-overlay-primary .uk-text-lead,.uk-offcanvas-bar .uk-text-lead{color:#ffffffb3}.uk-light .uk-text-meta,.uk-section-primary:not(.uk-preserve-color) .uk-text-meta,.uk-section-secondary:not(.uk-preserve-color) .uk-text-meta,.uk-tile-primary:not(.uk-preserve-color) .uk-text-meta,.uk-tile-secondary:not(.uk-preserve-color) .uk-text-meta,.uk-card-primary.uk-card-body .uk-text-meta,.uk-card-primary>:not([class*=uk-card-media]) .uk-text-meta,.uk-card-secondary.uk-card-body .uk-text-meta,.uk-card-secondary>:not([class*=uk-card-media]) .uk-text-meta,.uk-overlay-primary .uk-text-meta,.uk-offcanvas-bar .uk-text-meta{color:#ffffff80}.uk-light .uk-text-muted,.uk-section-primary:not(.uk-preserve-color) .uk-text-muted,.uk-section-secondary:not(.uk-preserve-color) .uk-text-muted,.uk-tile-primary:not(.uk-preserve-color) .uk-text-muted,.uk-tile-secondary:not(.uk-preserve-color) .uk-text-muted,.uk-card-primary.uk-card-body .uk-text-muted,.uk-card-primary>:not([class*=uk-card-media]) .uk-text-muted,.uk-card-secondary.uk-card-body .uk-text-muted,.uk-card-secondary>:not([class*=uk-card-media]) .uk-text-muted,.uk-overlay-primary .uk-text-muted,.uk-offcanvas-bar .uk-text-muted{color:#ffffff80!important}.uk-light .uk-text-emphasis,.uk-section-primary:not(.uk-preserve-color) .uk-text-emphasis,.uk-section-secondary:not(.uk-preserve-color) .uk-text-emphasis,.uk-tile-primary:not(.uk-preserve-color) .uk-text-emphasis,.uk-tile-secondary:not(.uk-preserve-color) .uk-text-emphasis,.uk-card-primary.uk-card-body .uk-text-emphasis,.uk-card-primary>:not([class*=uk-card-media]) .uk-text-emphasis,.uk-card-secondary.uk-card-body .uk-text-emphasis,.uk-card-secondary>:not([class*=uk-card-media]) .uk-text-emphasis,.uk-overlay-primary .uk-text-emphasis,.uk-offcanvas-bar .uk-text-emphasis{color:#fff!important}.uk-light .uk-text-primary,.uk-section-primary:not(.uk-preserve-color) .uk-text-primary,.uk-section-secondary:not(.uk-preserve-color) .uk-text-primary,.uk-tile-primary:not(.uk-preserve-color) .uk-text-primary,.uk-tile-secondary:not(.uk-preserve-color) .uk-text-primary,.uk-card-primary.uk-card-body .uk-text-primary,.uk-card-primary>:not([class*=uk-card-media]) .uk-text-primary,.uk-card-secondary.uk-card-body .uk-text-primary,.uk-card-secondary>:not([class*=uk-card-media]) .uk-text-primary,.uk-overlay-primary .uk-text-primary,.uk-offcanvas-bar .uk-text-primary{color:#fff!important}.uk-light .uk-text-secondary,.uk-section-primary:not(.uk-preserve-color) .uk-text-secondary,.uk-section-secondary:not(.uk-preserve-color) .uk-text-secondary,.uk-tile-primary:not(.uk-preserve-color) .uk-text-secondary,.uk-tile-secondary:not(.uk-preserve-color) .uk-text-secondary,.uk-card-primary.uk-card-body .uk-text-secondary,.uk-card-primary>:not([class*=uk-card-media]) .uk-text-secondary,.uk-card-secondary.uk-card-body .uk-text-secondary,.uk-card-secondary>:not([class*=uk-card-media]) .uk-text-secondary,.uk-overlay-primary .uk-text-secondary,.uk-offcanvas-bar .uk-text-secondary{color:#fff!important}.uk-light .uk-column-divider,.uk-section-primary:not(.uk-preserve-color) .uk-column-divider,.uk-section-secondary:not(.uk-preserve-color) .uk-column-divider,.uk-tile-primary:not(.uk-preserve-color) .uk-column-divider,.uk-tile-secondary:not(.uk-preserve-color) .uk-column-divider,.uk-card-primary.uk-card-body .uk-column-divider,.uk-card-primary>:not([class*=uk-card-media]) .uk-column-divider,.uk-card-secondary.uk-card-body .uk-column-divider,.uk-card-secondary>:not([class*=uk-card-media]) .uk-column-divider,.uk-overlay-primary .uk-column-divider,.uk-offcanvas-bar .uk-column-divider{column-rule-color:#fff3}.uk-light .uk-logo,.uk-section-primary:not(.uk-preserve-color) .uk-logo,.uk-section-secondary:not(.uk-preserve-color) .uk-logo,.uk-tile-primary:not(.uk-preserve-color) .uk-logo,.uk-tile-secondary:not(.uk-preserve-color) .uk-logo,.uk-card-primary.uk-card-body .uk-logo,.uk-card-primary>:not([class*=uk-card-media]) .uk-logo,.uk-card-secondary.uk-card-body .uk-logo,.uk-card-secondary>:not([class*=uk-card-media]) .uk-logo,.uk-overlay-primary .uk-logo,.uk-offcanvas-bar .uk-logo{color:#fff}.uk-light .uk-logo:hover,.uk-section-primary:not(.uk-preserve-color) .uk-logo:hover,.uk-section-secondary:not(.uk-preserve-color) .uk-logo:hover,.uk-tile-primary:not(.uk-preserve-color) .uk-logo:hover,.uk-tile-secondary:not(.uk-preserve-color) .uk-logo:hover,.uk-card-primary.uk-card-body .uk-logo:hover,.uk-card-primary>:not([class*=uk-card-media]) .uk-logo:hover,.uk-card-secondary.uk-card-body .uk-logo:hover,.uk-card-secondary>:not([class*=uk-card-media]) .uk-logo:hover,.uk-overlay-primary .uk-logo:hover,.uk-offcanvas-bar .uk-logo:hover{color:#fff}.uk-light .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-light .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-section-primary:not(.uk-preserve-color) .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-section-primary:not(.uk-preserve-color) .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-section-secondary:not(.uk-preserve-color) .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-section-secondary:not(.uk-preserve-color) .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-tile-primary:not(.uk-preserve-color) .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-tile-primary:not(.uk-preserve-color) .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-tile-secondary:not(.uk-preserve-color) .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-tile-secondary:not(.uk-preserve-color) .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-card-primary.uk-card-body .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-card-primary.uk-card-body .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-card-primary>:not([class*=uk-card-media]) .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-card-primary>:not([class*=uk-card-media]) .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-card-secondary.uk-card-body .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-card-secondary.uk-card-body .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-card-secondary>:not([class*=uk-card-media]) .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-card-secondary>:not([class*=uk-card-media]) .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-overlay-primary .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-overlay-primary .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type),.uk-offcanvas-bar .uk-logo>picture:not(:only-of-type)>:not(.uk-logo-inverse),.uk-offcanvas-bar .uk-logo>:not(picture):not(.uk-logo-inverse):not(:only-of-type){display:none}.uk-light .uk-logo-inverse,.uk-section-primary:not(.uk-preserve-color) .uk-logo-inverse,.uk-section-secondary:not(.uk-preserve-color) .uk-logo-inverse,.uk-tile-primary:not(.uk-preserve-color) .uk-logo-inverse,.uk-tile-secondary:not(.uk-preserve-color) .uk-logo-inverse,.uk-card-primary.uk-card-body .uk-logo-inverse,.uk-card-primary>:not([class*=uk-card-media]) .uk-logo-inverse,.uk-card-secondary.uk-card-body .uk-logo-inverse,.uk-card-secondary>:not([class*=uk-card-media]) .uk-logo-inverse,.uk-overlay-primary .uk-logo-inverse,.uk-offcanvas-bar .uk-logo-inverse{display:block}.uk-light .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-light .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-section-primary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-section-primary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-section-secondary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-section-secondary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-tile-primary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-tile-primary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-tile-secondary:not(.uk-preserve-color) .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-tile-secondary:not(.uk-preserve-color) .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-card-primary.uk-card-body .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-card-primary.uk-card-body .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-card-primary>:not([class*=uk-card-media]) .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-card-primary>:not([class*=uk-card-media]) .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-card-secondary.uk-card-body .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-card-secondary.uk-card-body .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-card-secondary>:not([class*=uk-card-media]) .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-overlay-primary .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-overlay-primary .uk-table-striped tbody tr:nth-of-type(2n):last-child,.uk-offcanvas-bar .uk-table-striped>tr:nth-of-type(2n):last-child,.uk-offcanvas-bar .uk-table-striped tbody tr:nth-of-type(2n):last-child{border-bottom-color:#fff3}.uk-light .uk-accordion-title:before,.uk-section-primary:not(.uk-preserve-color) .uk-accordion-title:before,.uk-section-secondary:not(.uk-preserve-color) .uk-accordion-title:before,.uk-tile-primary:not(.uk-preserve-color) .uk-accordion-title:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-accordion-title:before,.uk-card-primary.uk-card-body .uk-accordion-title:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-accordion-title:before,.uk-card-secondary.uk-card-body .uk-accordion-title:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-accordion-title:before,.uk-overlay-primary .uk-accordion-title:before,.uk-offcanvas-bar .uk-accordion-title:before{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%20%20%20%20%3Crect%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20width%3D%221%22%20height%3D%2213%22%20x%3D%226%22%20y%3D%220%22%20%2F%3E%0A%3C%2Fsvg%3E)}.uk-light .uk-open>.uk-accordion-title:before,.uk-section-primary:not(.uk-preserve-color) .uk-open>.uk-accordion-title:before,.uk-section-secondary:not(.uk-preserve-color) .uk-open>.uk-accordion-title:before,.uk-tile-primary:not(.uk-preserve-color) .uk-open>.uk-accordion-title:before,.uk-tile-secondary:not(.uk-preserve-color) .uk-open>.uk-accordion-title:before,.uk-card-primary.uk-card-body .uk-open>.uk-accordion-title:before,.uk-card-primary>:not([class*=uk-card-media]) .uk-open>.uk-accordion-title:before,.uk-card-secondary.uk-card-body .uk-open>.uk-accordion-title:before,.uk-card-secondary>:not([class*=uk-card-media]) .uk-open>.uk-accordion-title:before,.uk-overlay-primary .uk-open>.uk-accordion-title:before,.uk-offcanvas-bar .uk-open>.uk-accordion-title:before{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22rgba%28255,%20255,%20255,%200.7%29%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%3C%2Fsvg%3E)}@media print{*,*:before,*:after{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(/assets/KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(/assets/KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(/assets/KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(/assets/KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(/assets/KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/dynamic_site/static/assets/main-f8453f4e.js b/dynamic_site/static/assets/main-f8453f4e.js deleted file mode 100644 index cb9fa27..0000000 --- a/dynamic_site/static/assets/main-f8453f4e.js +++ /dev/null @@ -1,4183 +0,0 @@ -var o7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jd(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var s7={exports:{}},_g={},l7={exports:{}},zo={};/** - * @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 Rp=Symbol.for("react.element"),lC=Symbol.for("react.portal"),uC=Symbol.for("react.fragment"),fC=Symbol.for("react.strict_mode"),cC=Symbol.for("react.profiler"),hC=Symbol.for("react.provider"),dC=Symbol.for("react.context"),vC=Symbol.for("react.forward_ref"),pC=Symbol.for("react.suspense"),mC=Symbol.for("react.memo"),gC=Symbol.for("react.lazy"),a6=Symbol.iterator;function yC(i){return i===null||typeof i!="object"?null:(i=a6&&i[a6]||i["@@iterator"],typeof i=="function"?i:null)}var u7={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f7=Object.assign,c7={};function l1(i,y,R){this.props=i,this.context=y,this.refs=c7,this.updater=R||u7}l1.prototype.isReactComponent={};l1.prototype.setState=function(i,y){if(typeof i!="object"&&typeof i!="function"&&i!=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,i,y,"setState")};l1.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};function h7(){}h7.prototype=l1.prototype;function w3(i,y,R){this.props=i,this.context=y,this.refs=c7,this.updater=R||u7}var T3=w3.prototype=new h7;T3.constructor=w3;f7(T3,l1.prototype);T3.isPureReactComponent=!0;var i6=Array.isArray,d7=Object.prototype.hasOwnProperty,A3={current:null},v7={key:!0,ref:!0,__self:!0,__source:!0};function p7(i,y,R){var Y,oe={},he=null,B=null;if(y!=null)for(Y in y.ref!==void 0&&(B=y.ref),y.key!==void 0&&(he=""+y.key),y)d7.call(y,Y)&&!v7.hasOwnProperty(Y)&&(oe[Y]=y[Y]);var O=arguments.length-2;if(O===1)oe.children=R;else if(1<O){for(var e=Array(O),p=0;p<O;p++)e[p]=arguments[p+2];oe.children=e}if(i&&i.defaultProps)for(Y in O=i.defaultProps,O)oe[Y]===void 0&&(oe[Y]=O[Y]);return{$$typeof:Rp,type:i,key:he,ref:B,props:oe,_owner:A3.current}}function xC(i,y){return{$$typeof:Rp,type:i.type,key:y,ref:i.ref,props:i.props,_owner:i._owner}}function S3(i){return typeof i=="object"&&i!==null&&i.$$typeof===Rp}function bC(i){var y={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(R){return y[R]})}var o6=/\/+/g;function t2(i,y){return typeof i=="object"&&i!==null&&i.key!=null?bC(""+i.key):y.toString(36)}function Vm(i,y,R,Y,oe){var he=typeof i;(he==="undefined"||he==="boolean")&&(i=null);var B=!1;if(i===null)B=!0;else switch(he){case"string":case"number":B=!0;break;case"object":switch(i.$$typeof){case Rp:case lC:B=!0}}if(B)return B=i,oe=oe(B),i=Y===""?"."+t2(B,0):Y,i6(oe)?(R="",i!=null&&(R=i.replace(o6,"$&/")+"/"),Vm(oe,y,R,"",function(p){return p})):oe!=null&&(S3(oe)&&(oe=xC(oe,R+(!oe.key||B&&B.key===oe.key?"":(""+oe.key).replace(o6,"$&/")+"/")+i)),y.push(oe)),1;if(B=0,Y=Y===""?".":Y+":",i6(i))for(var O=0;O<i.length;O++){he=i[O];var e=Y+t2(he,O);B+=Vm(he,y,R,e,oe)}else if(e=yC(i),typeof e=="function")for(i=e.call(i),O=0;!(he=i.next()).done;)he=he.value,e=Y+t2(he,O++),B+=Vm(he,y,R,e,oe);else if(he==="object")throw y=String(i),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.");return B}function vm(i,y,R){if(i==null)return i;var Y=[],oe=0;return Vm(i,Y,"","",function(he){return y.call(R,he,oe++)}),Y}function wC(i){if(i._status===-1){var y=i._result;y=y(),y.then(function(R){(i._status===0||i._status===-1)&&(i._status=1,i._result=R)},function(R){(i._status===0||i._status===-1)&&(i._status=2,i._result=R)}),i._status===-1&&(i._status=0,i._result=y)}if(i._status===1)return i._result.default;throw i._result}var _f={current:null},Gm={transition:null},TC={ReactCurrentDispatcher:_f,ReactCurrentBatchConfig:Gm,ReactCurrentOwner:A3};zo.Children={map:vm,forEach:function(i,y,R){vm(i,function(){y.apply(this,arguments)},R)},count:function(i){var y=0;return vm(i,function(){y++}),y},toArray:function(i){return vm(i,function(y){return y})||[]},only:function(i){if(!S3(i))throw Error("React.Children.only expected to receive a single React element child.");return i}};zo.Component=l1;zo.Fragment=uC;zo.Profiler=cC;zo.PureComponent=w3;zo.StrictMode=fC;zo.Suspense=pC;zo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TC;zo.cloneElement=function(i,y,R){if(i==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+i+".");var Y=f7({},i.props),oe=i.key,he=i.ref,B=i._owner;if(y!=null){if(y.ref!==void 0&&(he=y.ref,B=A3.current),y.key!==void 0&&(oe=""+y.key),i.type&&i.type.defaultProps)var O=i.type.defaultProps;for(e in y)d7.call(y,e)&&!v7.hasOwnProperty(e)&&(Y[e]=y[e]===void 0&&O!==void 0?O[e]:y[e])}var e=arguments.length-2;if(e===1)Y.children=R;else if(1<e){O=Array(e);for(var p=0;p<e;p++)O[p]=arguments[p+2];Y.children=O}return{$$typeof:Rp,type:i.type,key:oe,ref:he,props:Y,_owner:B}};zo.createContext=function(i){return i={$$typeof:dC,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},i.Provider={$$typeof:hC,_context:i},i.Consumer=i};zo.createElement=p7;zo.createFactory=function(i){var y=p7.bind(null,i);return y.type=i,y};zo.createRef=function(){return{current:null}};zo.forwardRef=function(i){return{$$typeof:vC,render:i}};zo.isValidElement=S3;zo.lazy=function(i){return{$$typeof:gC,_payload:{_status:-1,_result:i},_init:wC}};zo.memo=function(i,y){return{$$typeof:mC,type:i,compare:y===void 0?null:y}};zo.startTransition=function(i){var y=Gm.transition;Gm.transition={};try{i()}finally{Gm.transition=y}};zo.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};zo.useCallback=function(i,y){return _f.current.useCallback(i,y)};zo.useContext=function(i){return _f.current.useContext(i)};zo.useDebugValue=function(){};zo.useDeferredValue=function(i){return _f.current.useDeferredValue(i)};zo.useEffect=function(i,y){return _f.current.useEffect(i,y)};zo.useId=function(){return _f.current.useId()};zo.useImperativeHandle=function(i,y,R){return _f.current.useImperativeHandle(i,y,R)};zo.useInsertionEffect=function(i,y){return _f.current.useInsertionEffect(i,y)};zo.useLayoutEffect=function(i,y){return _f.current.useLayoutEffect(i,y)};zo.useMemo=function(i,y){return _f.current.useMemo(i,y)};zo.useReducer=function(i,y,R){return _f.current.useReducer(i,y,R)};zo.useRef=function(i){return _f.current.useRef(i)};zo.useState=function(i){return _f.current.useState(i)};zo.useSyncExternalStore=function(i,y,R){return _f.current.useSyncExternalStore(i,y,R)};zo.useTransition=function(){return _f.current.useTransition()};zo.version="18.2.0";l7.exports=zo;var Co=l7.exports;const Gd=Jd(Co);/** - * @license React - * react-jsx-runtime.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 AC=Co,SC=Symbol.for("react.element"),MC=Symbol.for("react.fragment"),CC=Object.prototype.hasOwnProperty,EC=AC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kC={key:!0,ref:!0,__self:!0,__source:!0};function m7(i,y,R){var Y,oe={},he=null,B=null;R!==void 0&&(he=""+R),y.key!==void 0&&(he=""+y.key),y.ref!==void 0&&(B=y.ref);for(Y in y)CC.call(y,Y)&&!kC.hasOwnProperty(Y)&&(oe[Y]=y[Y]);if(i&&i.defaultProps)for(Y in y=i.defaultProps,y)oe[Y]===void 0&&(oe[Y]=y[Y]);return{$$typeof:SC,type:i,key:he,ref:B,props:oe,_owner:EC.current}}_g.Fragment=MC;_g.jsx=m7;_g.jsxs=m7;s7.exports=_g;var wa=s7.exports,rx={},g7={exports:{}},Nc={},y7={exports:{}},x7={};/** - * @license React - * scheduler.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. - */(function(i){function y(A,o){var k=A.length;A.push(o);e:for(;0<k;){var w=k-1>>>1,U=A[w];if(0<oe(U,o))A[w]=o,A[k]=U,k=w;else break e}}function R(A){return A.length===0?null:A[0]}function Y(A){if(A.length===0)return null;var o=A[0],k=A.pop();if(k!==o){A[0]=k;e:for(var w=0,U=A.length,F=U>>>1;w<F;){var G=2*(w+1)-1,_=A[G],H=G+1,V=A[H];if(0>oe(_,k))H<U&&0>oe(V,_)?(A[w]=V,A[H]=k,w=H):(A[w]=_,A[G]=k,w=G);else if(H<U&&0>oe(V,k))A[w]=V,A[H]=k,w=H;else break e}}return o}function oe(A,o){var k=A.sortIndex-o.sortIndex;return k!==0?k:A.id-o.id}if(typeof performance=="object"&&typeof performance.now=="function"){var he=performance;i.unstable_now=function(){return he.now()}}else{var B=Date,O=B.now();i.unstable_now=function(){return B.now()-O}}var e=[],p=[],E=1,a=null,L=3,x=!1,d=!1,m=!1,r=typeof setTimeout=="function"?setTimeout:null,t=typeof clearTimeout=="function"?clearTimeout:null,s=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function n(A){for(var o=R(p);o!==null;){if(o.callback===null)Y(p);else if(o.startTime<=A)Y(p),o.sortIndex=o.expirationTime,y(e,o);else break;o=R(p)}}function f(A){if(m=!1,n(A),!d)if(R(e)!==null)d=!0,T(c);else{var o=R(p);o!==null&&P(f,o.startTime-A)}}function c(A,o){d=!1,m&&(m=!1,t(h),h=-1),x=!0;var k=L;try{for(n(o),a=R(e);a!==null&&(!(a.expirationTime>o)||A&&!l());){var w=a.callback;if(typeof w=="function"){a.callback=null,L=a.priorityLevel;var U=w(a.expirationTime<=o);o=i.unstable_now(),typeof U=="function"?a.callback=U:a===R(e)&&Y(e),n(o)}else Y(e);a=R(e)}if(a!==null)var F=!0;else{var G=R(p);G!==null&&P(f,G.startTime-o),F=!1}return F}finally{a=null,L=k,x=!1}}var u=!1,b=null,h=-1,S=5,v=-1;function l(){return!(i.unstable_now()-v<S)}function g(){if(b!==null){var A=i.unstable_now();v=A;var o=!0;try{o=b(!0,A)}finally{o?C():(u=!1,b=null)}}else u=!1}var C;if(typeof s=="function")C=function(){s(g)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,D=M.port2;M.port1.onmessage=g,C=function(){D.postMessage(null)}}else C=function(){r(g,0)};function T(A){b=A,u||(u=!0,C())}function P(A,o){h=r(function(){A(i.unstable_now())},o)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(A){A.callback=null},i.unstable_continueExecution=function(){d||x||(d=!0,T(c))},i.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<A?Math.floor(1e3/A):5},i.unstable_getCurrentPriorityLevel=function(){return L},i.unstable_getFirstCallbackNode=function(){return R(e)},i.unstable_next=function(A){switch(L){case 1:case 2:case 3:var o=3;break;default:o=L}var k=L;L=o;try{return A()}finally{L=k}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(A,o){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var k=L;L=A;try{return o()}finally{L=k}},i.unstable_scheduleCallback=function(A,o,k){var w=i.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?w+k:w):k=w,A){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=k+U,A={id:E++,callback:o,priorityLevel:A,startTime:k,expirationTime:U,sortIndex:-1},k>w?(A.sortIndex=k,y(p,A),R(e)===null&&A===R(p)&&(m?(t(h),h=-1):m=!0,P(f,k-w))):(A.sortIndex=U,y(e,A),d||x||(d=!0,T(c))),A},i.unstable_shouldYield=l,i.unstable_wrapCallback=function(A){var o=L;return function(){var k=L;L=o;try{return A.apply(this,arguments)}finally{L=k}}}})(x7);y7.exports=x7;var LC=y7.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 b7=Co,_c=LC;function ei(i){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+i,R=1;R<arguments.length;R++)y+="&args[]="+encodeURIComponent(arguments[R]);return"Minified React error #"+i+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var w7=new Set,lp={};function Qd(i,y){Qv(i,y),Qv(i+"Capture",y)}function Qv(i,y){for(lp[i]=y,i=0;i<y.length;i++)w7.add(y[i])}var Ch=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nx=Object.prototype.hasOwnProperty,PC=/^[: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]*$/,s6={},l6={};function DC(i){return nx.call(l6,i)?!0:nx.call(s6,i)?!1:PC.test(i)?l6[i]=!0:(s6[i]=!0,!1)}function RC(i,y,R,Y){if(R!==null&&R.type===0)return!1;switch(typeof y){case"function":case"symbol":return!0;case"boolean":return Y?!1:R!==null?!R.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function IC(i,y,R,Y){if(y===null||typeof y>"u"||RC(i,y,R,Y))return!0;if(Y)return!1;if(R!==null)switch(R.type){case 3:return!y;case 4:return y===!1;case 5:return isNaN(y);case 6:return isNaN(y)||1>y}return!1}function Nf(i,y,R,Y,oe,he,B){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=Y,this.attributeNamespace=oe,this.mustUseProperty=R,this.propertyName=i,this.type=y,this.sanitizeURL=he,this.removeEmptyString=B}var tf={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){tf[i]=new Nf(i,0,!1,i,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var y=i[0];tf[y]=new Nf(y,1,!1,i[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(i){tf[i]=new Nf(i,2,!1,i.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){tf[i]=new Nf(i,2,!1,i,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(i){tf[i]=new Nf(i,3,!1,i.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(i){tf[i]=new Nf(i,3,!0,i,null,!1,!1)});["capture","download"].forEach(function(i){tf[i]=new Nf(i,4,!1,i,null,!1,!1)});["cols","rows","size","span"].forEach(function(i){tf[i]=new Nf(i,6,!1,i,null,!1,!1)});["rowSpan","start"].forEach(function(i){tf[i]=new Nf(i,5,!1,i.toLowerCase(),null,!1,!1)});var M3=/[\-:]([a-z])/g;function C3(i){return i[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(i){var y=i.replace(M3,C3);tf[y]=new Nf(y,1,!1,i,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var y=i.replace(M3,C3);tf[y]=new Nf(y,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(i){var y=i.replace(M3,C3);tf[y]=new Nf(y,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(i){tf[i]=new Nf(i,1,!1,i.toLowerCase(),null,!1,!1)});tf.xlinkHref=new Nf("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(i){tf[i]=new Nf(i,1,!1,i.toLowerCase(),null,!0,!0)});function E3(i,y,R,Y){var oe=tf.hasOwnProperty(y)?tf[y]:null;(oe!==null?oe.type!==0:Y||!(2<y.length)||y[0]!=="o"&&y[0]!=="O"||y[1]!=="n"&&y[1]!=="N")&&(IC(y,R,oe,Y)&&(R=null),Y||oe===null?DC(y)&&(R===null?i.removeAttribute(y):i.setAttribute(y,""+R)):oe.mustUseProperty?i[oe.propertyName]=R===null?oe.type===3?!1:"":R:(y=oe.attributeName,Y=oe.attributeNamespace,R===null?i.removeAttribute(y):(oe=oe.type,R=oe===3||oe===4&&R===!0?"":""+R,Y?i.setAttributeNS(Y,y,R):i.setAttribute(y,R))))}var Ih=b7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pm=Symbol.for("react.element"),Dv=Symbol.for("react.portal"),Rv=Symbol.for("react.fragment"),k3=Symbol.for("react.strict_mode"),ax=Symbol.for("react.profiler"),T7=Symbol.for("react.provider"),A7=Symbol.for("react.context"),L3=Symbol.for("react.forward_ref"),ix=Symbol.for("react.suspense"),ox=Symbol.for("react.suspense_list"),P3=Symbol.for("react.memo"),td=Symbol.for("react.lazy"),S7=Symbol.for("react.offscreen"),u6=Symbol.iterator;function z1(i){return i===null||typeof i!="object"?null:(i=u6&&i[u6]||i["@@iterator"],typeof i=="function"?i:null)}var pl=Object.assign,r2;function W1(i){if(r2===void 0)try{throw Error()}catch(R){var y=R.stack.trim().match(/\n( *(at )?)/);r2=y&&y[1]||""}return` -`+r2+i}var n2=!1;function a2(i,y){if(!i||n2)return"";n2=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(y)if(y=function(){throw Error()},Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(p){var Y=p}Reflect.construct(i,[],y)}else{try{y.call()}catch(p){Y=p}i.call(y.prototype)}else{try{throw Error()}catch(p){Y=p}i()}}catch(p){if(p&&Y&&typeof p.stack=="string"){for(var oe=p.stack.split(` -`),he=Y.stack.split(` -`),B=oe.length-1,O=he.length-1;1<=B&&0<=O&&oe[B]!==he[O];)O--;for(;1<=B&&0<=O;B--,O--)if(oe[B]!==he[O]){if(B!==1||O!==1)do if(B--,O--,0>O||oe[B]!==he[O]){var e=` -`+oe[B].replace(" at new "," at ");return i.displayName&&e.includes("<anonymous>")&&(e=e.replace("<anonymous>",i.displayName)),e}while(1<=B&&0<=O);break}}}finally{n2=!1,Error.prepareStackTrace=R}return(i=i?i.displayName||i.name:"")?W1(i):""}function zC(i){switch(i.tag){case 5:return W1(i.type);case 16:return W1("Lazy");case 13:return W1("Suspense");case 19:return W1("SuspenseList");case 0:case 2:case 15:return i=a2(i.type,!1),i;case 11:return i=a2(i.type.render,!1),i;case 1:return i=a2(i.type,!0),i;default:return""}}function sx(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Rv:return"Fragment";case Dv:return"Portal";case ax:return"Profiler";case k3:return"StrictMode";case ix:return"Suspense";case ox:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case A7:return(i.displayName||"Context")+".Consumer";case T7:return(i._context.displayName||"Context")+".Provider";case L3:var y=i.render;return i=i.displayName,i||(i=y.displayName||y.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case P3:return y=i.displayName||null,y!==null?y:sx(i.type)||"Memo";case td:y=i._payload,i=i._init;try{return sx(i(y))}catch{}}return null}function FC(i){var y=i.type;switch(i.tag){case 24:return"Cache";case 9:return(y.displayName||"Context")+".Consumer";case 10:return(y._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=y.render,i=i.displayName||i.name||"",y.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return y;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sx(y);case 8:return y===k3?"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 y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y}return null}function md(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function M7(i){var y=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(y==="checkbox"||y==="radio")}function BC(i){var y=M7(i)?"checked":"value",R=Object.getOwnPropertyDescriptor(i.constructor.prototype,y),Y=""+i[y];if(!i.hasOwnProperty(y)&&typeof R<"u"&&typeof R.get=="function"&&typeof R.set=="function"){var oe=R.get,he=R.set;return Object.defineProperty(i,y,{configurable:!0,get:function(){return oe.call(this)},set:function(B){Y=""+B,he.call(this,B)}}),Object.defineProperty(i,y,{enumerable:R.enumerable}),{getValue:function(){return Y},setValue:function(B){Y=""+B},stopTracking:function(){i._valueTracker=null,delete i[y]}}}}function mm(i){i._valueTracker||(i._valueTracker=BC(i))}function C7(i){if(!i)return!1;var y=i._valueTracker;if(!y)return!0;var R=y.getValue(),Y="";return i&&(Y=M7(i)?i.checked?"true":"false":i.value),i=Y,i!==R?(y.setValue(i),!0):!1}function sg(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function lx(i,y){var R=y.checked;return pl({},y,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:R??i._wrapperState.initialChecked})}function f6(i,y){var R=y.defaultValue==null?"":y.defaultValue,Y=y.checked!=null?y.checked:y.defaultChecked;R=md(y.value!=null?y.value:R),i._wrapperState={initialChecked:Y,initialValue:R,controlled:y.type==="checkbox"||y.type==="radio"?y.checked!=null:y.value!=null}}function E7(i,y){y=y.checked,y!=null&&E3(i,"checked",y,!1)}function ux(i,y){E7(i,y);var R=md(y.value),Y=y.type;if(R!=null)Y==="number"?(R===0&&i.value===""||i.value!=R)&&(i.value=""+R):i.value!==""+R&&(i.value=""+R);else if(Y==="submit"||Y==="reset"){i.removeAttribute("value");return}y.hasOwnProperty("value")?fx(i,y.type,R):y.hasOwnProperty("defaultValue")&&fx(i,y.type,md(y.defaultValue)),y.checked==null&&y.defaultChecked!=null&&(i.defaultChecked=!!y.defaultChecked)}function c6(i,y,R){if(y.hasOwnProperty("value")||y.hasOwnProperty("defaultValue")){var Y=y.type;if(!(Y!=="submit"&&Y!=="reset"||y.value!==void 0&&y.value!==null))return;y=""+i._wrapperState.initialValue,R||y===i.value||(i.value=y),i.defaultValue=y}R=i.name,R!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,R!==""&&(i.name=R)}function fx(i,y,R){(y!=="number"||sg(i.ownerDocument)!==i)&&(R==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+R&&(i.defaultValue=""+R))}var Y1=Array.isArray;function Gv(i,y,R,Y){if(i=i.options,y){y={};for(var oe=0;oe<R.length;oe++)y["$"+R[oe]]=!0;for(R=0;R<i.length;R++)oe=y.hasOwnProperty("$"+i[R].value),i[R].selected!==oe&&(i[R].selected=oe),oe&&Y&&(i[R].defaultSelected=!0)}else{for(R=""+md(R),y=null,oe=0;oe<i.length;oe++){if(i[oe].value===R){i[oe].selected=!0,Y&&(i[oe].defaultSelected=!0);return}y!==null||i[oe].disabled||(y=i[oe])}y!==null&&(y.selected=!0)}}function cx(i,y){if(y.dangerouslySetInnerHTML!=null)throw Error(ei(91));return pl({},y,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function h6(i,y){var R=y.value;if(R==null){if(R=y.children,y=y.defaultValue,R!=null){if(y!=null)throw Error(ei(92));if(Y1(R)){if(1<R.length)throw Error(ei(93));R=R[0]}y=R}y==null&&(y=""),R=y}i._wrapperState={initialValue:md(R)}}function k7(i,y){var R=md(y.value),Y=md(y.defaultValue);R!=null&&(R=""+R,R!==i.value&&(i.value=R),y.defaultValue==null&&i.defaultValue!==R&&(i.defaultValue=R)),Y!=null&&(i.defaultValue=""+Y)}function d6(i){var y=i.textContent;y===i._wrapperState.initialValue&&y!==""&&y!==null&&(i.value=y)}function L7(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function hx(i,y){return i==null||i==="http://www.w3.org/1999/xhtml"?L7(y):i==="http://www.w3.org/2000/svg"&&y==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var gm,P7=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(y,R,Y,oe){MSApp.execUnsafeLocalFunction(function(){return i(y,R,Y,oe)})}:i}(function(i,y){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=y;else{for(gm=gm||document.createElement("div"),gm.innerHTML="<svg>"+y.valueOf().toString()+"</svg>",y=gm.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;y.firstChild;)i.appendChild(y.firstChild)}});function up(i,y){if(y){var R=i.firstChild;if(R&&R===i.lastChild&&R.nodeType===3){R.nodeValue=y;return}}i.textContent=y}var $1={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},OC=["Webkit","ms","Moz","O"];Object.keys($1).forEach(function(i){OC.forEach(function(y){y=y+i.charAt(0).toUpperCase()+i.substring(1),$1[y]=$1[i]})});function D7(i,y,R){return y==null||typeof y=="boolean"||y===""?"":R||typeof y!="number"||y===0||$1.hasOwnProperty(i)&&$1[i]?(""+y).trim():y+"px"}function R7(i,y){i=i.style;for(var R in y)if(y.hasOwnProperty(R)){var Y=R.indexOf("--")===0,oe=D7(R,y[R],Y);R==="float"&&(R="cssFloat"),Y?i.setProperty(R,oe):i[R]=oe}}var _C=pl({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 dx(i,y){if(y){if(_C[i]&&(y.children!=null||y.dangerouslySetInnerHTML!=null))throw Error(ei(137,i));if(y.dangerouslySetInnerHTML!=null){if(y.children!=null)throw Error(ei(60));if(typeof y.dangerouslySetInnerHTML!="object"||!("__html"in y.dangerouslySetInnerHTML))throw Error(ei(61))}if(y.style!=null&&typeof y.style!="object")throw Error(ei(62))}}function vx(i,y){if(i.indexOf("-")===-1)return typeof y.is=="string";switch(i){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 px=null;function D3(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var mx=null,Wv=null,Yv=null;function v6(i){if(i=Fp(i)){if(typeof mx!="function")throw Error(ei(280));var y=i.stateNode;y&&(y=Gg(y),mx(i.stateNode,i.type,y))}}function I7(i){Wv?Yv?Yv.push(i):Yv=[i]:Wv=i}function z7(){if(Wv){var i=Wv,y=Yv;if(Yv=Wv=null,v6(i),y)for(i=0;i<y.length;i++)v6(y[i])}}function F7(i,y){return i(y)}function B7(){}var i2=!1;function O7(i,y,R){if(i2)return i(y,R);i2=!0;try{return F7(i,y,R)}finally{i2=!1,(Wv!==null||Yv!==null)&&(B7(),z7())}}function fp(i,y){var R=i.stateNode;if(R===null)return null;var Y=Gg(R);if(Y===null)return null;R=Y[y];e:switch(y){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Y=!Y.disabled)||(i=i.type,Y=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!Y;break e;default:i=!1}if(i)return null;if(R&&typeof R!="function")throw Error(ei(231,y,typeof R));return R}var gx=!1;if(Ch)try{var F1={};Object.defineProperty(F1,"passive",{get:function(){gx=!0}}),window.addEventListener("test",F1,F1),window.removeEventListener("test",F1,F1)}catch{gx=!1}function NC(i,y,R,Y,oe,he,B,O,e){var p=Array.prototype.slice.call(arguments,3);try{y.apply(R,p)}catch(E){this.onError(E)}}var K1=!1,lg=null,ug=!1,yx=null,UC={onError:function(i){K1=!0,lg=i}};function HC(i,y,R,Y,oe,he,B,O,e){K1=!1,lg=null,NC.apply(UC,arguments)}function VC(i,y,R,Y,oe,he,B,O,e){if(HC.apply(this,arguments),K1){if(K1){var p=lg;K1=!1,lg=null}else throw Error(ei(198));ug||(ug=!0,yx=p)}}function qd(i){var y=i,R=i;if(i.alternate)for(;y.return;)y=y.return;else{i=y;do y=i,y.flags&4098&&(R=y.return),i=y.return;while(i)}return y.tag===3?R:null}function _7(i){if(i.tag===13){var y=i.memoizedState;if(y===null&&(i=i.alternate,i!==null&&(y=i.memoizedState)),y!==null)return y.dehydrated}return null}function p6(i){if(qd(i)!==i)throw Error(ei(188))}function GC(i){var y=i.alternate;if(!y){if(y=qd(i),y===null)throw Error(ei(188));return y!==i?null:i}for(var R=i,Y=y;;){var oe=R.return;if(oe===null)break;var he=oe.alternate;if(he===null){if(Y=oe.return,Y!==null){R=Y;continue}break}if(oe.child===he.child){for(he=oe.child;he;){if(he===R)return p6(oe),i;if(he===Y)return p6(oe),y;he=he.sibling}throw Error(ei(188))}if(R.return!==Y.return)R=oe,Y=he;else{for(var B=!1,O=oe.child;O;){if(O===R){B=!0,R=oe,Y=he;break}if(O===Y){B=!0,Y=oe,R=he;break}O=O.sibling}if(!B){for(O=he.child;O;){if(O===R){B=!0,R=he,Y=oe;break}if(O===Y){B=!0,Y=he,R=oe;break}O=O.sibling}if(!B)throw Error(ei(189))}}if(R.alternate!==Y)throw Error(ei(190))}if(R.tag!==3)throw Error(ei(188));return R.stateNode.current===R?i:y}function N7(i){return i=GC(i),i!==null?U7(i):null}function U7(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var y=U7(i);if(y!==null)return y;i=i.sibling}return null}var H7=_c.unstable_scheduleCallback,m6=_c.unstable_cancelCallback,WC=_c.unstable_shouldYield,YC=_c.unstable_requestPaint,Vl=_c.unstable_now,ZC=_c.unstable_getCurrentPriorityLevel,R3=_c.unstable_ImmediatePriority,V7=_c.unstable_UserBlockingPriority,fg=_c.unstable_NormalPriority,jC=_c.unstable_LowPriority,G7=_c.unstable_IdlePriority,Ng=null,K0=null;function XC(i){if(K0&&typeof K0.onCommitFiberRoot=="function")try{K0.onCommitFiberRoot(Ng,i,void 0,(i.current.flags&128)===128)}catch{}}var P0=Math.clz32?Math.clz32:JC,$C=Math.log,KC=Math.LN2;function JC(i){return i>>>=0,i===0?32:31-($C(i)/KC|0)|0}var ym=64,xm=4194304;function Z1(i){switch(i&-i){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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function cg(i,y){var R=i.pendingLanes;if(R===0)return 0;var Y=0,oe=i.suspendedLanes,he=i.pingedLanes,B=R&268435455;if(B!==0){var O=B&~oe;O!==0?Y=Z1(O):(he&=B,he!==0&&(Y=Z1(he)))}else B=R&~oe,B!==0?Y=Z1(B):he!==0&&(Y=Z1(he));if(Y===0)return 0;if(y!==0&&y!==Y&&!(y&oe)&&(oe=Y&-Y,he=y&-y,oe>=he||oe===16&&(he&4194240)!==0))return y;if(Y&4&&(Y|=R&16),y=i.entangledLanes,y!==0)for(i=i.entanglements,y&=Y;0<y;)R=31-P0(y),oe=1<<R,Y|=i[R],y&=~oe;return Y}function QC(i,y){switch(i){case 1:case 2:case 4:return y+250;case 8:case 16:case 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 y+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qC(i,y){for(var R=i.suspendedLanes,Y=i.pingedLanes,oe=i.expirationTimes,he=i.pendingLanes;0<he;){var B=31-P0(he),O=1<<B,e=oe[B];e===-1?(!(O&R)||O&Y)&&(oe[B]=QC(O,y)):e<=y&&(i.expiredLanes|=O),he&=~O}}function xx(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function W7(){var i=ym;return ym<<=1,!(ym&4194240)&&(ym=64),i}function o2(i){for(var y=[],R=0;31>R;R++)y.push(i);return y}function Ip(i,y,R){i.pendingLanes|=y,y!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,y=31-P0(y),i[y]=R}function eE(i,y){var R=i.pendingLanes&~y;i.pendingLanes=y,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=y,i.mutableReadLanes&=y,i.entangledLanes&=y,y=i.entanglements;var Y=i.eventTimes;for(i=i.expirationTimes;0<R;){var oe=31-P0(R),he=1<<oe;y[oe]=0,Y[oe]=-1,i[oe]=-1,R&=~he}}function I3(i,y){var R=i.entangledLanes|=y;for(i=i.entanglements;R;){var Y=31-P0(R),oe=1<<Y;oe&y|i[Y]&y&&(i[Y]|=y),R&=~oe}}var bs=0;function Y7(i){return i&=-i,1<i?4<i?i&268435455?16:536870912:4:1}var Z7,z3,j7,X7,$7,bx=!1,bm=[],ld=null,ud=null,fd=null,cp=new Map,hp=new Map,nd=[],tE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function g6(i,y){switch(i){case"focusin":case"focusout":ld=null;break;case"dragenter":case"dragleave":ud=null;break;case"mouseover":case"mouseout":fd=null;break;case"pointerover":case"pointerout":cp.delete(y.pointerId);break;case"gotpointercapture":case"lostpointercapture":hp.delete(y.pointerId)}}function B1(i,y,R,Y,oe,he){return i===null||i.nativeEvent!==he?(i={blockedOn:y,domEventName:R,eventSystemFlags:Y,nativeEvent:he,targetContainers:[oe]},y!==null&&(y=Fp(y),y!==null&&z3(y)),i):(i.eventSystemFlags|=Y,y=i.targetContainers,oe!==null&&y.indexOf(oe)===-1&&y.push(oe),i)}function rE(i,y,R,Y,oe){switch(y){case"focusin":return ld=B1(ld,i,y,R,Y,oe),!0;case"dragenter":return ud=B1(ud,i,y,R,Y,oe),!0;case"mouseover":return fd=B1(fd,i,y,R,Y,oe),!0;case"pointerover":var he=oe.pointerId;return cp.set(he,B1(cp.get(he)||null,i,y,R,Y,oe)),!0;case"gotpointercapture":return he=oe.pointerId,hp.set(he,B1(hp.get(he)||null,i,y,R,Y,oe)),!0}return!1}function K7(i){var y=Ud(i.target);if(y!==null){var R=qd(y);if(R!==null){if(y=R.tag,y===13){if(y=_7(R),y!==null){i.blockedOn=y,$7(i.priority,function(){j7(R)});return}}else if(y===3&&R.stateNode.current.memoizedState.isDehydrated){i.blockedOn=R.tag===3?R.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Wm(i){if(i.blockedOn!==null)return!1;for(var y=i.targetContainers;0<y.length;){var R=wx(i.domEventName,i.eventSystemFlags,y[0],i.nativeEvent);if(R===null){R=i.nativeEvent;var Y=new R.constructor(R.type,R);px=Y,R.target.dispatchEvent(Y),px=null}else return y=Fp(R),y!==null&&z3(y),i.blockedOn=R,!1;y.shift()}return!0}function y6(i,y,R){Wm(i)&&R.delete(y)}function nE(){bx=!1,ld!==null&&Wm(ld)&&(ld=null),ud!==null&&Wm(ud)&&(ud=null),fd!==null&&Wm(fd)&&(fd=null),cp.forEach(y6),hp.forEach(y6)}function O1(i,y){i.blockedOn===y&&(i.blockedOn=null,bx||(bx=!0,_c.unstable_scheduleCallback(_c.unstable_NormalPriority,nE)))}function dp(i){function y(oe){return O1(oe,i)}if(0<bm.length){O1(bm[0],i);for(var R=1;R<bm.length;R++){var Y=bm[R];Y.blockedOn===i&&(Y.blockedOn=null)}}for(ld!==null&&O1(ld,i),ud!==null&&O1(ud,i),fd!==null&&O1(fd,i),cp.forEach(y),hp.forEach(y),R=0;R<nd.length;R++)Y=nd[R],Y.blockedOn===i&&(Y.blockedOn=null);for(;0<nd.length&&(R=nd[0],R.blockedOn===null);)K7(R),R.blockedOn===null&&nd.shift()}var Zv=Ih.ReactCurrentBatchConfig,hg=!0;function aE(i,y,R,Y){var oe=bs,he=Zv.transition;Zv.transition=null;try{bs=1,F3(i,y,R,Y)}finally{bs=oe,Zv.transition=he}}function iE(i,y,R,Y){var oe=bs,he=Zv.transition;Zv.transition=null;try{bs=4,F3(i,y,R,Y)}finally{bs=oe,Zv.transition=he}}function F3(i,y,R,Y){if(hg){var oe=wx(i,y,R,Y);if(oe===null)m2(i,y,Y,dg,R),g6(i,Y);else if(rE(oe,i,y,R,Y))Y.stopPropagation();else if(g6(i,Y),y&4&&-1<tE.indexOf(i)){for(;oe!==null;){var he=Fp(oe);if(he!==null&&Z7(he),he=wx(i,y,R,Y),he===null&&m2(i,y,Y,dg,R),he===oe)break;oe=he}oe!==null&&Y.stopPropagation()}else m2(i,y,Y,null,R)}}var dg=null;function wx(i,y,R,Y){if(dg=null,i=D3(Y),i=Ud(i),i!==null)if(y=qd(i),y===null)i=null;else if(R=y.tag,R===13){if(i=_7(y),i!==null)return i;i=null}else if(R===3){if(y.stateNode.current.memoizedState.isDehydrated)return y.tag===3?y.stateNode.containerInfo:null;i=null}else y!==i&&(i=null);return dg=i,null}function J7(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ZC()){case R3:return 1;case V7:return 4;case fg:case jC:return 16;case G7:return 536870912;default:return 16}default:return 16}}var id=null,B3=null,Ym=null;function Q7(){if(Ym)return Ym;var i,y=B3,R=y.length,Y,oe="value"in id?id.value:id.textContent,he=oe.length;for(i=0;i<R&&y[i]===oe[i];i++);var B=R-i;for(Y=1;Y<=B&&y[R-Y]===oe[he-Y];Y++);return Ym=oe.slice(i,1<Y?1-Y:void 0)}function Zm(i){var y=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&y===13&&(i=13)):i=y,i===10&&(i=13),32<=i||i===13?i:0}function wm(){return!0}function x6(){return!1}function Uc(i){function y(R,Y,oe,he,B){this._reactName=R,this._targetInst=oe,this.type=Y,this.nativeEvent=he,this.target=B,this.currentTarget=null;for(var O in i)i.hasOwnProperty(O)&&(R=i[O],this[O]=R?R(he):he[O]);return this.isDefaultPrevented=(he.defaultPrevented!=null?he.defaultPrevented:he.returnValue===!1)?wm:x6,this.isPropagationStopped=x6,this}return pl(y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var R=this.nativeEvent;R&&(R.preventDefault?R.preventDefault():typeof R.returnValue!="unknown"&&(R.returnValue=!1),this.isDefaultPrevented=wm)},stopPropagation:function(){var R=this.nativeEvent;R&&(R.stopPropagation?R.stopPropagation():typeof R.cancelBubble!="unknown"&&(R.cancelBubble=!0),this.isPropagationStopped=wm)},persist:function(){},isPersistent:wm}),y}var u1={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},O3=Uc(u1),zp=pl({},u1,{view:0,detail:0}),oE=Uc(zp),s2,l2,_1,Ug=pl({},zp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_3,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==_1&&(_1&&i.type==="mousemove"?(s2=i.screenX-_1.screenX,l2=i.screenY-_1.screenY):l2=s2=0,_1=i),s2)},movementY:function(i){return"movementY"in i?i.movementY:l2}}),b6=Uc(Ug),sE=pl({},Ug,{dataTransfer:0}),lE=Uc(sE),uE=pl({},zp,{relatedTarget:0}),u2=Uc(uE),fE=pl({},u1,{animationName:0,elapsedTime:0,pseudoElement:0}),cE=Uc(fE),hE=pl({},u1,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),dE=Uc(hE),vE=pl({},u1,{data:0}),w6=Uc(vE),pE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mE={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yE(i){var y=this.nativeEvent;return y.getModifierState?y.getModifierState(i):(i=gE[i])?!!y[i]:!1}function _3(){return yE}var xE=pl({},zp,{key:function(i){if(i.key){var y=pE[i.key]||i.key;if(y!=="Unidentified")return y}return i.type==="keypress"?(i=Zm(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?mE[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_3,charCode:function(i){return i.type==="keypress"?Zm(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Zm(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),bE=Uc(xE),wE=pl({},Ug,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),T6=Uc(wE),TE=pl({},zp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_3}),AE=Uc(TE),SE=pl({},u1,{propertyName:0,elapsedTime:0,pseudoElement:0}),ME=Uc(SE),CE=pl({},Ug,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),EE=Uc(CE),kE=[9,13,27,32],N3=Ch&&"CompositionEvent"in window,J1=null;Ch&&"documentMode"in document&&(J1=document.documentMode);var LE=Ch&&"TextEvent"in window&&!J1,q7=Ch&&(!N3||J1&&8<J1&&11>=J1),A6=String.fromCharCode(32),S6=!1;function ew(i,y){switch(i){case"keyup":return kE.indexOf(y.keyCode)!==-1;case"keydown":return y.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tw(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Iv=!1;function PE(i,y){switch(i){case"compositionend":return tw(y);case"keypress":return y.which!==32?null:(S6=!0,A6);case"textInput":return i=y.data,i===A6&&S6?null:i;default:return null}}function DE(i,y){if(Iv)return i==="compositionend"||!N3&&ew(i,y)?(i=Q7(),Ym=B3=id=null,Iv=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(y.ctrlKey||y.altKey||y.metaKey)||y.ctrlKey&&y.altKey){if(y.char&&1<y.char.length)return y.char;if(y.which)return String.fromCharCode(y.which)}return null;case"compositionend":return q7&&y.locale!=="ko"?null:y.data;default:return null}}var RE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function M6(i){var y=i&&i.nodeName&&i.nodeName.toLowerCase();return y==="input"?!!RE[i.type]:y==="textarea"}function rw(i,y,R,Y){I7(Y),y=vg(y,"onChange"),0<y.length&&(R=new O3("onChange","change",null,R,Y),i.push({event:R,listeners:y}))}var Q1=null,vp=null;function IE(i){dw(i,0)}function Hg(i){var y=Bv(i);if(C7(y))return i}function zE(i,y){if(i==="change")return y}var nw=!1;if(Ch){var f2;if(Ch){var c2="oninput"in document;if(!c2){var C6=document.createElement("div");C6.setAttribute("oninput","return;"),c2=typeof C6.oninput=="function"}f2=c2}else f2=!1;nw=f2&&(!document.documentMode||9<document.documentMode)}function E6(){Q1&&(Q1.detachEvent("onpropertychange",aw),vp=Q1=null)}function aw(i){if(i.propertyName==="value"&&Hg(vp)){var y=[];rw(y,vp,i,D3(i)),O7(IE,y)}}function FE(i,y,R){i==="focusin"?(E6(),Q1=y,vp=R,Q1.attachEvent("onpropertychange",aw)):i==="focusout"&&E6()}function BE(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Hg(vp)}function OE(i,y){if(i==="click")return Hg(y)}function _E(i,y){if(i==="input"||i==="change")return Hg(y)}function NE(i,y){return i===y&&(i!==0||1/i===1/y)||i!==i&&y!==y}var R0=typeof Object.is=="function"?Object.is:NE;function pp(i,y){if(R0(i,y))return!0;if(typeof i!="object"||i===null||typeof y!="object"||y===null)return!1;var R=Object.keys(i),Y=Object.keys(y);if(R.length!==Y.length)return!1;for(Y=0;Y<R.length;Y++){var oe=R[Y];if(!nx.call(y,oe)||!R0(i[oe],y[oe]))return!1}return!0}function k6(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function L6(i,y){var R=k6(i);i=0;for(var Y;R;){if(R.nodeType===3){if(Y=i+R.textContent.length,i<=y&&Y>=y)return{node:R,offset:y-i};i=Y}e:{for(;R;){if(R.nextSibling){R=R.nextSibling;break e}R=R.parentNode}R=void 0}R=k6(R)}}function iw(i,y){return i&&y?i===y?!0:i&&i.nodeType===3?!1:y&&y.nodeType===3?iw(i,y.parentNode):"contains"in i?i.contains(y):i.compareDocumentPosition?!!(i.compareDocumentPosition(y)&16):!1:!1}function ow(){for(var i=window,y=sg();y instanceof i.HTMLIFrameElement;){try{var R=typeof y.contentWindow.location.href=="string"}catch{R=!1}if(R)i=y.contentWindow;else break;y=sg(i.document)}return y}function U3(i){var y=i&&i.nodeName&&i.nodeName.toLowerCase();return y&&(y==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||y==="textarea"||i.contentEditable==="true")}function UE(i){var y=ow(),R=i.focusedElem,Y=i.selectionRange;if(y!==R&&R&&R.ownerDocument&&iw(R.ownerDocument.documentElement,R)){if(Y!==null&&U3(R)){if(y=Y.start,i=Y.end,i===void 0&&(i=y),"selectionStart"in R)R.selectionStart=y,R.selectionEnd=Math.min(i,R.value.length);else if(i=(y=R.ownerDocument||document)&&y.defaultView||window,i.getSelection){i=i.getSelection();var oe=R.textContent.length,he=Math.min(Y.start,oe);Y=Y.end===void 0?he:Math.min(Y.end,oe),!i.extend&&he>Y&&(oe=Y,Y=he,he=oe),oe=L6(R,he);var B=L6(R,Y);oe&&B&&(i.rangeCount!==1||i.anchorNode!==oe.node||i.anchorOffset!==oe.offset||i.focusNode!==B.node||i.focusOffset!==B.offset)&&(y=y.createRange(),y.setStart(oe.node,oe.offset),i.removeAllRanges(),he>Y?(i.addRange(y),i.extend(B.node,B.offset)):(y.setEnd(B.node,B.offset),i.addRange(y)))}}for(y=[],i=R;i=i.parentNode;)i.nodeType===1&&y.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<y.length;R++)i=y[R],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var HE=Ch&&"documentMode"in document&&11>=document.documentMode,zv=null,Tx=null,q1=null,Ax=!1;function P6(i,y,R){var Y=R.window===R?R.document:R.nodeType===9?R:R.ownerDocument;Ax||zv==null||zv!==sg(Y)||(Y=zv,"selectionStart"in Y&&U3(Y)?Y={start:Y.selectionStart,end:Y.selectionEnd}:(Y=(Y.ownerDocument&&Y.ownerDocument.defaultView||window).getSelection(),Y={anchorNode:Y.anchorNode,anchorOffset:Y.anchorOffset,focusNode:Y.focusNode,focusOffset:Y.focusOffset}),q1&&pp(q1,Y)||(q1=Y,Y=vg(Tx,"onSelect"),0<Y.length&&(y=new O3("onSelect","select",null,y,R),i.push({event:y,listeners:Y}),y.target=zv)))}function Tm(i,y){var R={};return R[i.toLowerCase()]=y.toLowerCase(),R["Webkit"+i]="webkit"+y,R["Moz"+i]="moz"+y,R}var Fv={animationend:Tm("Animation","AnimationEnd"),animationiteration:Tm("Animation","AnimationIteration"),animationstart:Tm("Animation","AnimationStart"),transitionend:Tm("Transition","TransitionEnd")},h2={},sw={};Ch&&(sw=document.createElement("div").style,"AnimationEvent"in window||(delete Fv.animationend.animation,delete Fv.animationiteration.animation,delete Fv.animationstart.animation),"TransitionEvent"in window||delete Fv.transitionend.transition);function Vg(i){if(h2[i])return h2[i];if(!Fv[i])return i;var y=Fv[i],R;for(R in y)if(y.hasOwnProperty(R)&&R in sw)return h2[i]=y[R];return i}var lw=Vg("animationend"),uw=Vg("animationiteration"),fw=Vg("animationstart"),cw=Vg("transitionend"),hw=new Map,D6="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function wd(i,y){hw.set(i,y),Qd(y,[i])}for(var d2=0;d2<D6.length;d2++){var v2=D6[d2],VE=v2.toLowerCase(),GE=v2[0].toUpperCase()+v2.slice(1);wd(VE,"on"+GE)}wd(lw,"onAnimationEnd");wd(uw,"onAnimationIteration");wd(fw,"onAnimationStart");wd("dblclick","onDoubleClick");wd("focusin","onFocus");wd("focusout","onBlur");wd(cw,"onTransitionEnd");Qv("onMouseEnter",["mouseout","mouseover"]);Qv("onMouseLeave",["mouseout","mouseover"]);Qv("onPointerEnter",["pointerout","pointerover"]);Qv("onPointerLeave",["pointerout","pointerover"]);Qd("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qd("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qd("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qd("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qd("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qd("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var j1="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),WE=new Set("cancel close invalid load scroll toggle".split(" ").concat(j1));function R6(i,y,R){var Y=i.type||"unknown-event";i.currentTarget=R,VC(Y,y,void 0,i),i.currentTarget=null}function dw(i,y){y=(y&4)!==0;for(var R=0;R<i.length;R++){var Y=i[R],oe=Y.event;Y=Y.listeners;e:{var he=void 0;if(y)for(var B=Y.length-1;0<=B;B--){var O=Y[B],e=O.instance,p=O.currentTarget;if(O=O.listener,e!==he&&oe.isPropagationStopped())break e;R6(oe,O,p),he=e}else for(B=0;B<Y.length;B++){if(O=Y[B],e=O.instance,p=O.currentTarget,O=O.listener,e!==he&&oe.isPropagationStopped())break e;R6(oe,O,p),he=e}}}if(ug)throw i=yx,ug=!1,yx=null,i}function $s(i,y){var R=y[kx];R===void 0&&(R=y[kx]=new Set);var Y=i+"__bubble";R.has(Y)||(vw(y,i,2,!1),R.add(Y))}function p2(i,y,R){var Y=0;y&&(Y|=4),vw(R,i,Y,y)}var Am="_reactListening"+Math.random().toString(36).slice(2);function mp(i){if(!i[Am]){i[Am]=!0,w7.forEach(function(R){R!=="selectionchange"&&(WE.has(R)||p2(R,!1,i),p2(R,!0,i))});var y=i.nodeType===9?i:i.ownerDocument;y===null||y[Am]||(y[Am]=!0,p2("selectionchange",!1,y))}}function vw(i,y,R,Y){switch(J7(y)){case 1:var oe=aE;break;case 4:oe=iE;break;default:oe=F3}R=oe.bind(null,y,R,i),oe=void 0,!gx||y!=="touchstart"&&y!=="touchmove"&&y!=="wheel"||(oe=!0),Y?oe!==void 0?i.addEventListener(y,R,{capture:!0,passive:oe}):i.addEventListener(y,R,!0):oe!==void 0?i.addEventListener(y,R,{passive:oe}):i.addEventListener(y,R,!1)}function m2(i,y,R,Y,oe){var he=Y;if(!(y&1)&&!(y&2)&&Y!==null)e:for(;;){if(Y===null)return;var B=Y.tag;if(B===3||B===4){var O=Y.stateNode.containerInfo;if(O===oe||O.nodeType===8&&O.parentNode===oe)break;if(B===4)for(B=Y.return;B!==null;){var e=B.tag;if((e===3||e===4)&&(e=B.stateNode.containerInfo,e===oe||e.nodeType===8&&e.parentNode===oe))return;B=B.return}for(;O!==null;){if(B=Ud(O),B===null)return;if(e=B.tag,e===5||e===6){Y=he=B;continue e}O=O.parentNode}}Y=Y.return}O7(function(){var p=he,E=D3(R),a=[];e:{var L=hw.get(i);if(L!==void 0){var x=O3,d=i;switch(i){case"keypress":if(Zm(R)===0)break e;case"keydown":case"keyup":x=bE;break;case"focusin":d="focus",x=u2;break;case"focusout":d="blur",x=u2;break;case"beforeblur":case"afterblur":x=u2;break;case"click":if(R.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=b6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=lE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=AE;break;case lw:case uw:case fw:x=cE;break;case cw:x=ME;break;case"scroll":x=oE;break;case"wheel":x=EE;break;case"copy":case"cut":case"paste":x=dE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=T6}var m=(y&4)!==0,r=!m&&i==="scroll",t=m?L!==null?L+"Capture":null:L;m=[];for(var s=p,n;s!==null;){n=s;var f=n.stateNode;if(n.tag===5&&f!==null&&(n=f,t!==null&&(f=fp(s,t),f!=null&&m.push(gp(s,f,n)))),r)break;s=s.return}0<m.length&&(L=new x(L,d,null,R,E),a.push({event:L,listeners:m}))}}if(!(y&7)){e:{if(L=i==="mouseover"||i==="pointerover",x=i==="mouseout"||i==="pointerout",L&&R!==px&&(d=R.relatedTarget||R.fromElement)&&(Ud(d)||d[Eh]))break e;if((x||L)&&(L=E.window===E?E:(L=E.ownerDocument)?L.defaultView||L.parentWindow:window,x?(d=R.relatedTarget||R.toElement,x=p,d=d?Ud(d):null,d!==null&&(r=qd(d),d!==r||d.tag!==5&&d.tag!==6)&&(d=null)):(x=null,d=p),x!==d)){if(m=b6,f="onMouseLeave",t="onMouseEnter",s="mouse",(i==="pointerout"||i==="pointerover")&&(m=T6,f="onPointerLeave",t="onPointerEnter",s="pointer"),r=x==null?L:Bv(x),n=d==null?L:Bv(d),L=new m(f,s+"leave",x,R,E),L.target=r,L.relatedTarget=n,f=null,Ud(E)===p&&(m=new m(t,s+"enter",d,R,E),m.target=n,m.relatedTarget=r,f=m),r=f,x&&d)t:{for(m=x,t=d,s=0,n=m;n;n=Lv(n))s++;for(n=0,f=t;f;f=Lv(f))n++;for(;0<s-n;)m=Lv(m),s--;for(;0<n-s;)t=Lv(t),n--;for(;s--;){if(m===t||t!==null&&m===t.alternate)break t;m=Lv(m),t=Lv(t)}m=null}else m=null;x!==null&&I6(a,L,x,m,!1),d!==null&&r!==null&&I6(a,r,d,m,!0)}}e:{if(L=p?Bv(p):window,x=L.nodeName&&L.nodeName.toLowerCase(),x==="select"||x==="input"&&L.type==="file")var c=zE;else if(M6(L))if(nw)c=_E;else{c=BE;var u=FE}else(x=L.nodeName)&&x.toLowerCase()==="input"&&(L.type==="checkbox"||L.type==="radio")&&(c=OE);if(c&&(c=c(i,p))){rw(a,c,R,E);break e}u&&u(i,L,p),i==="focusout"&&(u=L._wrapperState)&&u.controlled&&L.type==="number"&&fx(L,"number",L.value)}switch(u=p?Bv(p):window,i){case"focusin":(M6(u)||u.contentEditable==="true")&&(zv=u,Tx=p,q1=null);break;case"focusout":q1=Tx=zv=null;break;case"mousedown":Ax=!0;break;case"contextmenu":case"mouseup":case"dragend":Ax=!1,P6(a,R,E);break;case"selectionchange":if(HE)break;case"keydown":case"keyup":P6(a,R,E)}var b;if(N3)e:{switch(i){case"compositionstart":var h="onCompositionStart";break e;case"compositionend":h="onCompositionEnd";break e;case"compositionupdate":h="onCompositionUpdate";break e}h=void 0}else Iv?ew(i,R)&&(h="onCompositionEnd"):i==="keydown"&&R.keyCode===229&&(h="onCompositionStart");h&&(q7&&R.locale!=="ko"&&(Iv||h!=="onCompositionStart"?h==="onCompositionEnd"&&Iv&&(b=Q7()):(id=E,B3="value"in id?id.value:id.textContent,Iv=!0)),u=vg(p,h),0<u.length&&(h=new w6(h,i,null,R,E),a.push({event:h,listeners:u}),b?h.data=b:(b=tw(R),b!==null&&(h.data=b)))),(b=LE?PE(i,R):DE(i,R))&&(p=vg(p,"onBeforeInput"),0<p.length&&(E=new w6("onBeforeInput","beforeinput",null,R,E),a.push({event:E,listeners:p}),E.data=b))}dw(a,y)})}function gp(i,y,R){return{instance:i,listener:y,currentTarget:R}}function vg(i,y){for(var R=y+"Capture",Y=[];i!==null;){var oe=i,he=oe.stateNode;oe.tag===5&&he!==null&&(oe=he,he=fp(i,R),he!=null&&Y.unshift(gp(i,he,oe)),he=fp(i,y),he!=null&&Y.push(gp(i,he,oe))),i=i.return}return Y}function Lv(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function I6(i,y,R,Y,oe){for(var he=y._reactName,B=[];R!==null&&R!==Y;){var O=R,e=O.alternate,p=O.stateNode;if(e!==null&&e===Y)break;O.tag===5&&p!==null&&(O=p,oe?(e=fp(R,he),e!=null&&B.unshift(gp(R,e,O))):oe||(e=fp(R,he),e!=null&&B.push(gp(R,e,O)))),R=R.return}B.length!==0&&i.push({event:y,listeners:B})}var YE=/\r\n?/g,ZE=/\u0000|\uFFFD/g;function z6(i){return(typeof i=="string"?i:""+i).replace(YE,` -`).replace(ZE,"")}function Sm(i,y,R){if(y=z6(y),z6(i)!==y&&R)throw Error(ei(425))}function pg(){}var Sx=null,Mx=null;function Cx(i,y){return i==="textarea"||i==="noscript"||typeof y.children=="string"||typeof y.children=="number"||typeof y.dangerouslySetInnerHTML=="object"&&y.dangerouslySetInnerHTML!==null&&y.dangerouslySetInnerHTML.__html!=null}var Ex=typeof setTimeout=="function"?setTimeout:void 0,jE=typeof clearTimeout=="function"?clearTimeout:void 0,F6=typeof Promise=="function"?Promise:void 0,XE=typeof queueMicrotask=="function"?queueMicrotask:typeof F6<"u"?function(i){return F6.resolve(null).then(i).catch($E)}:Ex;function $E(i){setTimeout(function(){throw i})}function g2(i,y){var R=y,Y=0;do{var oe=R.nextSibling;if(i.removeChild(R),oe&&oe.nodeType===8)if(R=oe.data,R==="/$"){if(Y===0){i.removeChild(oe),dp(y);return}Y--}else R!=="$"&&R!=="$?"&&R!=="$!"||Y++;R=oe}while(R);dp(y)}function cd(i){for(;i!=null;i=i.nextSibling){var y=i.nodeType;if(y===1||y===3)break;if(y===8){if(y=i.data,y==="$"||y==="$!"||y==="$?")break;if(y==="/$")return null}}return i}function B6(i){i=i.previousSibling;for(var y=0;i;){if(i.nodeType===8){var R=i.data;if(R==="$"||R==="$!"||R==="$?"){if(y===0)return i;y--}else R==="/$"&&y++}i=i.previousSibling}return null}var f1=Math.random().toString(36).slice(2),Z0="__reactFiber$"+f1,yp="__reactProps$"+f1,Eh="__reactContainer$"+f1,kx="__reactEvents$"+f1,KE="__reactListeners$"+f1,JE="__reactHandles$"+f1;function Ud(i){var y=i[Z0];if(y)return y;for(var R=i.parentNode;R;){if(y=R[Eh]||R[Z0]){if(R=y.alternate,y.child!==null||R!==null&&R.child!==null)for(i=B6(i);i!==null;){if(R=i[Z0])return R;i=B6(i)}return y}i=R,R=i.parentNode}return null}function Fp(i){return i=i[Z0]||i[Eh],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function Bv(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(ei(33))}function Gg(i){return i[yp]||null}var Lx=[],Ov=-1;function Td(i){return{current:i}}function Ks(i){0>Ov||(i.current=Lx[Ov],Lx[Ov]=null,Ov--)}function Hs(i,y){Ov++,Lx[Ov]=i.current,i.current=y}var gd={},mf=Td(gd),vc=Td(!1),Zd=gd;function qv(i,y){var R=i.type.contextTypes;if(!R)return gd;var Y=i.stateNode;if(Y&&Y.__reactInternalMemoizedUnmaskedChildContext===y)return Y.__reactInternalMemoizedMaskedChildContext;var oe={},he;for(he in R)oe[he]=y[he];return Y&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=y,i.__reactInternalMemoizedMaskedChildContext=oe),oe}function pc(i){return i=i.childContextTypes,i!=null}function mg(){Ks(vc),Ks(mf)}function O6(i,y,R){if(mf.current!==gd)throw Error(ei(168));Hs(mf,y),Hs(vc,R)}function pw(i,y,R){var Y=i.stateNode;if(y=y.childContextTypes,typeof Y.getChildContext!="function")return R;Y=Y.getChildContext();for(var oe in Y)if(!(oe in y))throw Error(ei(108,FC(i)||"Unknown",oe));return pl({},R,Y)}function gg(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||gd,Zd=mf.current,Hs(mf,i),Hs(vc,vc.current),!0}function _6(i,y,R){var Y=i.stateNode;if(!Y)throw Error(ei(169));R?(i=pw(i,y,Zd),Y.__reactInternalMemoizedMergedChildContext=i,Ks(vc),Ks(mf),Hs(mf,i)):Ks(vc),Hs(vc,R)}var yh=null,Wg=!1,y2=!1;function mw(i){yh===null?yh=[i]:yh.push(i)}function QE(i){Wg=!0,mw(i)}function Ad(){if(!y2&&yh!==null){y2=!0;var i=0,y=bs;try{var R=yh;for(bs=1;i<R.length;i++){var Y=R[i];do Y=Y(!0);while(Y!==null)}yh=null,Wg=!1}catch(oe){throw yh!==null&&(yh=yh.slice(i+1)),H7(R3,Ad),oe}finally{bs=y,y2=!1}}return null}var _v=[],Nv=0,yg=null,xg=0,t0=[],r0=0,jd=null,bh=1,wh="";function Od(i,y){_v[Nv++]=xg,_v[Nv++]=yg,yg=i,xg=y}function gw(i,y,R){t0[r0++]=bh,t0[r0++]=wh,t0[r0++]=jd,jd=i;var Y=bh;i=wh;var oe=32-P0(Y)-1;Y&=~(1<<oe),R+=1;var he=32-P0(y)+oe;if(30<he){var B=oe-oe%5;he=(Y&(1<<B)-1).toString(32),Y>>=B,oe-=B,bh=1<<32-P0(y)+oe|R<<oe|Y,wh=he+i}else bh=1<<he|R<<oe|Y,wh=i}function H3(i){i.return!==null&&(Od(i,1),gw(i,1,0))}function V3(i){for(;i===yg;)yg=_v[--Nv],_v[Nv]=null,xg=_v[--Nv],_v[Nv]=null;for(;i===jd;)jd=t0[--r0],t0[r0]=null,wh=t0[--r0],t0[r0]=null,bh=t0[--r0],t0[r0]=null}var Oc=null,Fc=null,qs=!1,L0=null;function yw(i,y){var R=i0(5,null,null,0);R.elementType="DELETED",R.stateNode=y,R.return=i,y=i.deletions,y===null?(i.deletions=[R],i.flags|=16):y.push(R)}function N6(i,y){switch(i.tag){case 5:var R=i.type;return y=y.nodeType!==1||R.toLowerCase()!==y.nodeName.toLowerCase()?null:y,y!==null?(i.stateNode=y,Oc=i,Fc=cd(y.firstChild),!0):!1;case 6:return y=i.pendingProps===""||y.nodeType!==3?null:y,y!==null?(i.stateNode=y,Oc=i,Fc=null,!0):!1;case 13:return y=y.nodeType!==8?null:y,y!==null?(R=jd!==null?{id:bh,overflow:wh}:null,i.memoizedState={dehydrated:y,treeContext:R,retryLane:1073741824},R=i0(18,null,null,0),R.stateNode=y,R.return=i,i.child=R,Oc=i,Fc=null,!0):!1;default:return!1}}function Px(i){return(i.mode&1)!==0&&(i.flags&128)===0}function Dx(i){if(qs){var y=Fc;if(y){var R=y;if(!N6(i,y)){if(Px(i))throw Error(ei(418));y=cd(R.nextSibling);var Y=Oc;y&&N6(i,y)?yw(Y,R):(i.flags=i.flags&-4097|2,qs=!1,Oc=i)}}else{if(Px(i))throw Error(ei(418));i.flags=i.flags&-4097|2,qs=!1,Oc=i}}}function U6(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;Oc=i}function Mm(i){if(i!==Oc)return!1;if(!qs)return U6(i),qs=!0,!1;var y;if((y=i.tag!==3)&&!(y=i.tag!==5)&&(y=i.type,y=y!=="head"&&y!=="body"&&!Cx(i.type,i.memoizedProps)),y&&(y=Fc)){if(Px(i))throw xw(),Error(ei(418));for(;y;)yw(i,y),y=cd(y.nextSibling)}if(U6(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(ei(317));e:{for(i=i.nextSibling,y=0;i;){if(i.nodeType===8){var R=i.data;if(R==="/$"){if(y===0){Fc=cd(i.nextSibling);break e}y--}else R!=="$"&&R!=="$!"&&R!=="$?"||y++}i=i.nextSibling}Fc=null}}else Fc=Oc?cd(i.stateNode.nextSibling):null;return!0}function xw(){for(var i=Fc;i;)i=cd(i.nextSibling)}function e1(){Fc=Oc=null,qs=!1}function G3(i){L0===null?L0=[i]:L0.push(i)}var qE=Ih.ReactCurrentBatchConfig;function C0(i,y){if(i&&i.defaultProps){y=pl({},y),i=i.defaultProps;for(var R in i)y[R]===void 0&&(y[R]=i[R]);return y}return y}var bg=Td(null),wg=null,Uv=null,W3=null;function Y3(){W3=Uv=wg=null}function Z3(i){var y=bg.current;Ks(bg),i._currentValue=y}function Rx(i,y,R){for(;i!==null;){var Y=i.alternate;if((i.childLanes&y)!==y?(i.childLanes|=y,Y!==null&&(Y.childLanes|=y)):Y!==null&&(Y.childLanes&y)!==y&&(Y.childLanes|=y),i===R)break;i=i.return}}function jv(i,y){wg=i,W3=Uv=null,i=i.dependencies,i!==null&&i.firstContext!==null&&(i.lanes&y&&(dc=!0),i.firstContext=null)}function u0(i){var y=i._currentValue;if(W3!==i)if(i={context:i,memoizedValue:y,next:null},Uv===null){if(wg===null)throw Error(ei(308));Uv=i,wg.dependencies={lanes:0,firstContext:i}}else Uv=Uv.next=i;return y}var Hd=null;function j3(i){Hd===null?Hd=[i]:Hd.push(i)}function bw(i,y,R,Y){var oe=y.interleaved;return oe===null?(R.next=R,j3(y)):(R.next=oe.next,oe.next=R),y.interleaved=R,kh(i,Y)}function kh(i,y){i.lanes|=y;var R=i.alternate;for(R!==null&&(R.lanes|=y),R=i,i=i.return;i!==null;)i.childLanes|=y,R=i.alternate,R!==null&&(R.childLanes|=y),R=i,i=i.return;return R.tag===3?R.stateNode:null}var rd=!1;function X3(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ww(i,y){i=i.updateQueue,y.updateQueue===i&&(y.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function Th(i,y){return{eventTime:i,lane:y,tag:0,payload:null,callback:null,next:null}}function hd(i,y,R){var Y=i.updateQueue;if(Y===null)return null;if(Y=Y.shared,Ko&2){var oe=Y.pending;return oe===null?y.next=y:(y.next=oe.next,oe.next=y),Y.pending=y,kh(i,R)}return oe=Y.interleaved,oe===null?(y.next=y,j3(Y)):(y.next=oe.next,oe.next=y),Y.interleaved=y,kh(i,R)}function jm(i,y,R){if(y=y.updateQueue,y!==null&&(y=y.shared,(R&4194240)!==0)){var Y=y.lanes;Y&=i.pendingLanes,R|=Y,y.lanes=R,I3(i,R)}}function H6(i,y){var R=i.updateQueue,Y=i.alternate;if(Y!==null&&(Y=Y.updateQueue,R===Y)){var oe=null,he=null;if(R=R.firstBaseUpdate,R!==null){do{var B={eventTime:R.eventTime,lane:R.lane,tag:R.tag,payload:R.payload,callback:R.callback,next:null};he===null?oe=he=B:he=he.next=B,R=R.next}while(R!==null);he===null?oe=he=y:he=he.next=y}else oe=he=y;R={baseState:Y.baseState,firstBaseUpdate:oe,lastBaseUpdate:he,shared:Y.shared,effects:Y.effects},i.updateQueue=R;return}i=R.lastBaseUpdate,i===null?R.firstBaseUpdate=y:i.next=y,R.lastBaseUpdate=y}function Tg(i,y,R,Y){var oe=i.updateQueue;rd=!1;var he=oe.firstBaseUpdate,B=oe.lastBaseUpdate,O=oe.shared.pending;if(O!==null){oe.shared.pending=null;var e=O,p=e.next;e.next=null,B===null?he=p:B.next=p,B=e;var E=i.alternate;E!==null&&(E=E.updateQueue,O=E.lastBaseUpdate,O!==B&&(O===null?E.firstBaseUpdate=p:O.next=p,E.lastBaseUpdate=e))}if(he!==null){var a=oe.baseState;B=0,E=p=e=null,O=he;do{var L=O.lane,x=O.eventTime;if((Y&L)===L){E!==null&&(E=E.next={eventTime:x,lane:0,tag:O.tag,payload:O.payload,callback:O.callback,next:null});e:{var d=i,m=O;switch(L=y,x=R,m.tag){case 1:if(d=m.payload,typeof d=="function"){a=d.call(x,a,L);break e}a=d;break e;case 3:d.flags=d.flags&-65537|128;case 0:if(d=m.payload,L=typeof d=="function"?d.call(x,a,L):d,L==null)break e;a=pl({},a,L);break e;case 2:rd=!0}}O.callback!==null&&O.lane!==0&&(i.flags|=64,L=oe.effects,L===null?oe.effects=[O]:L.push(O))}else x={eventTime:x,lane:L,tag:O.tag,payload:O.payload,callback:O.callback,next:null},E===null?(p=E=x,e=a):E=E.next=x,B|=L;if(O=O.next,O===null){if(O=oe.shared.pending,O===null)break;L=O,O=L.next,L.next=null,oe.lastBaseUpdate=L,oe.shared.pending=null}}while(1);if(E===null&&(e=a),oe.baseState=e,oe.firstBaseUpdate=p,oe.lastBaseUpdate=E,y=oe.shared.interleaved,y!==null){oe=y;do B|=oe.lane,oe=oe.next;while(oe!==y)}else he===null&&(oe.shared.lanes=0);$d|=B,i.lanes=B,i.memoizedState=a}}function V6(i,y,R){if(i=y.effects,y.effects=null,i!==null)for(y=0;y<i.length;y++){var Y=i[y],oe=Y.callback;if(oe!==null){if(Y.callback=null,Y=R,typeof oe!="function")throw Error(ei(191,oe));oe.call(Y)}}}var Tw=new b7.Component().refs;function Ix(i,y,R,Y){y=i.memoizedState,R=R(Y,y),R=R==null?y:pl({},y,R),i.memoizedState=R,i.lanes===0&&(i.updateQueue.baseState=R)}var Yg={isMounted:function(i){return(i=i._reactInternals)?qd(i)===i:!1},enqueueSetState:function(i,y,R){i=i._reactInternals;var Y=Of(),oe=vd(i),he=Th(Y,oe);he.payload=y,R!=null&&(he.callback=R),y=hd(i,he,oe),y!==null&&(D0(y,i,oe,Y),jm(y,i,oe))},enqueueReplaceState:function(i,y,R){i=i._reactInternals;var Y=Of(),oe=vd(i),he=Th(Y,oe);he.tag=1,he.payload=y,R!=null&&(he.callback=R),y=hd(i,he,oe),y!==null&&(D0(y,i,oe,Y),jm(y,i,oe))},enqueueForceUpdate:function(i,y){i=i._reactInternals;var R=Of(),Y=vd(i),oe=Th(R,Y);oe.tag=2,y!=null&&(oe.callback=y),y=hd(i,oe,Y),y!==null&&(D0(y,i,Y,R),jm(y,i,Y))}};function G6(i,y,R,Y,oe,he,B){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(Y,he,B):y.prototype&&y.prototype.isPureReactComponent?!pp(R,Y)||!pp(oe,he):!0}function Aw(i,y,R){var Y=!1,oe=gd,he=y.contextType;return typeof he=="object"&&he!==null?he=u0(he):(oe=pc(y)?Zd:mf.current,Y=y.contextTypes,he=(Y=Y!=null)?qv(i,oe):gd),y=new y(R,he),i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=Yg,i.stateNode=y,y._reactInternals=i,Y&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=oe,i.__reactInternalMemoizedMaskedChildContext=he),y}function W6(i,y,R,Y){i=y.state,typeof y.componentWillReceiveProps=="function"&&y.componentWillReceiveProps(R,Y),typeof y.UNSAFE_componentWillReceiveProps=="function"&&y.UNSAFE_componentWillReceiveProps(R,Y),y.state!==i&&Yg.enqueueReplaceState(y,y.state,null)}function zx(i,y,R,Y){var oe=i.stateNode;oe.props=R,oe.state=i.memoizedState,oe.refs=Tw,X3(i);var he=y.contextType;typeof he=="object"&&he!==null?oe.context=u0(he):(he=pc(y)?Zd:mf.current,oe.context=qv(i,he)),oe.state=i.memoizedState,he=y.getDerivedStateFromProps,typeof he=="function"&&(Ix(i,y,he,R),oe.state=i.memoizedState),typeof y.getDerivedStateFromProps=="function"||typeof oe.getSnapshotBeforeUpdate=="function"||typeof oe.UNSAFE_componentWillMount!="function"&&typeof oe.componentWillMount!="function"||(y=oe.state,typeof oe.componentWillMount=="function"&&oe.componentWillMount(),typeof oe.UNSAFE_componentWillMount=="function"&&oe.UNSAFE_componentWillMount(),y!==oe.state&&Yg.enqueueReplaceState(oe,oe.state,null),Tg(i,R,oe,Y),oe.state=i.memoizedState),typeof oe.componentDidMount=="function"&&(i.flags|=4194308)}function N1(i,y,R){if(i=R.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(R._owner){if(R=R._owner,R){if(R.tag!==1)throw Error(ei(309));var Y=R.stateNode}if(!Y)throw Error(ei(147,i));var oe=Y,he=""+i;return y!==null&&y.ref!==null&&typeof y.ref=="function"&&y.ref._stringRef===he?y.ref:(y=function(B){var O=oe.refs;O===Tw&&(O=oe.refs={}),B===null?delete O[he]:O[he]=B},y._stringRef=he,y)}if(typeof i!="string")throw Error(ei(284));if(!R._owner)throw Error(ei(290,i))}return i}function Cm(i,y){throw i=Object.prototype.toString.call(y),Error(ei(31,i==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":i))}function Y6(i){var y=i._init;return y(i._payload)}function Sw(i){function y(t,s){if(i){var n=t.deletions;n===null?(t.deletions=[s],t.flags|=16):n.push(s)}}function R(t,s){if(!i)return null;for(;s!==null;)y(t,s),s=s.sibling;return null}function Y(t,s){for(t=new Map;s!==null;)s.key!==null?t.set(s.key,s):t.set(s.index,s),s=s.sibling;return t}function oe(t,s){return t=pd(t,s),t.index=0,t.sibling=null,t}function he(t,s,n){return t.index=n,i?(n=t.alternate,n!==null?(n=n.index,n<s?(t.flags|=2,s):n):(t.flags|=2,s)):(t.flags|=1048576,s)}function B(t){return i&&t.alternate===null&&(t.flags|=2),t}function O(t,s,n,f){return s===null||s.tag!==6?(s=M2(n,t.mode,f),s.return=t,s):(s=oe(s,n),s.return=t,s)}function e(t,s,n,f){var c=n.type;return c===Rv?E(t,s,n.props.children,f,n.key):s!==null&&(s.elementType===c||typeof c=="object"&&c!==null&&c.$$typeof===td&&Y6(c)===s.type)?(f=oe(s,n.props),f.ref=N1(t,s,n),f.return=t,f):(f=qm(n.type,n.key,n.props,null,t.mode,f),f.ref=N1(t,s,n),f.return=t,f)}function p(t,s,n,f){return s===null||s.tag!==4||s.stateNode.containerInfo!==n.containerInfo||s.stateNode.implementation!==n.implementation?(s=C2(n,t.mode,f),s.return=t,s):(s=oe(s,n.children||[]),s.return=t,s)}function E(t,s,n,f,c){return s===null||s.tag!==7?(s=Yd(n,t.mode,f,c),s.return=t,s):(s=oe(s,n),s.return=t,s)}function a(t,s,n){if(typeof s=="string"&&s!==""||typeof s=="number")return s=M2(""+s,t.mode,n),s.return=t,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case pm:return n=qm(s.type,s.key,s.props,null,t.mode,n),n.ref=N1(t,null,s),n.return=t,n;case Dv:return s=C2(s,t.mode,n),s.return=t,s;case td:var f=s._init;return a(t,f(s._payload),n)}if(Y1(s)||z1(s))return s=Yd(s,t.mode,n,null),s.return=t,s;Cm(t,s)}return null}function L(t,s,n,f){var c=s!==null?s.key:null;if(typeof n=="string"&&n!==""||typeof n=="number")return c!==null?null:O(t,s,""+n,f);if(typeof n=="object"&&n!==null){switch(n.$$typeof){case pm:return n.key===c?e(t,s,n,f):null;case Dv:return n.key===c?p(t,s,n,f):null;case td:return c=n._init,L(t,s,c(n._payload),f)}if(Y1(n)||z1(n))return c!==null?null:E(t,s,n,f,null);Cm(t,n)}return null}function x(t,s,n,f,c){if(typeof f=="string"&&f!==""||typeof f=="number")return t=t.get(n)||null,O(s,t,""+f,c);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case pm:return t=t.get(f.key===null?n:f.key)||null,e(s,t,f,c);case Dv:return t=t.get(f.key===null?n:f.key)||null,p(s,t,f,c);case td:var u=f._init;return x(t,s,n,u(f._payload),c)}if(Y1(f)||z1(f))return t=t.get(n)||null,E(s,t,f,c,null);Cm(s,f)}return null}function d(t,s,n,f){for(var c=null,u=null,b=s,h=s=0,S=null;b!==null&&h<n.length;h++){b.index>h?(S=b,b=null):S=b.sibling;var v=L(t,b,n[h],f);if(v===null){b===null&&(b=S);break}i&&b&&v.alternate===null&&y(t,b),s=he(v,s,h),u===null?c=v:u.sibling=v,u=v,b=S}if(h===n.length)return R(t,b),qs&&Od(t,h),c;if(b===null){for(;h<n.length;h++)b=a(t,n[h],f),b!==null&&(s=he(b,s,h),u===null?c=b:u.sibling=b,u=b);return qs&&Od(t,h),c}for(b=Y(t,b);h<n.length;h++)S=x(b,t,h,n[h],f),S!==null&&(i&&S.alternate!==null&&b.delete(S.key===null?h:S.key),s=he(S,s,h),u===null?c=S:u.sibling=S,u=S);return i&&b.forEach(function(l){return y(t,l)}),qs&&Od(t,h),c}function m(t,s,n,f){var c=z1(n);if(typeof c!="function")throw Error(ei(150));if(n=c.call(n),n==null)throw Error(ei(151));for(var u=c=null,b=s,h=s=0,S=null,v=n.next();b!==null&&!v.done;h++,v=n.next()){b.index>h?(S=b,b=null):S=b.sibling;var l=L(t,b,v.value,f);if(l===null){b===null&&(b=S);break}i&&b&&l.alternate===null&&y(t,b),s=he(l,s,h),u===null?c=l:u.sibling=l,u=l,b=S}if(v.done)return R(t,b),qs&&Od(t,h),c;if(b===null){for(;!v.done;h++,v=n.next())v=a(t,v.value,f),v!==null&&(s=he(v,s,h),u===null?c=v:u.sibling=v,u=v);return qs&&Od(t,h),c}for(b=Y(t,b);!v.done;h++,v=n.next())v=x(b,t,h,v.value,f),v!==null&&(i&&v.alternate!==null&&b.delete(v.key===null?h:v.key),s=he(v,s,h),u===null?c=v:u.sibling=v,u=v);return i&&b.forEach(function(g){return y(t,g)}),qs&&Od(t,h),c}function r(t,s,n,f){if(typeof n=="object"&&n!==null&&n.type===Rv&&n.key===null&&(n=n.props.children),typeof n=="object"&&n!==null){switch(n.$$typeof){case pm:e:{for(var c=n.key,u=s;u!==null;){if(u.key===c){if(c=n.type,c===Rv){if(u.tag===7){R(t,u.sibling),s=oe(u,n.props.children),s.return=t,t=s;break e}}else if(u.elementType===c||typeof c=="object"&&c!==null&&c.$$typeof===td&&Y6(c)===u.type){R(t,u.sibling),s=oe(u,n.props),s.ref=N1(t,u,n),s.return=t,t=s;break e}R(t,u);break}else y(t,u);u=u.sibling}n.type===Rv?(s=Yd(n.props.children,t.mode,f,n.key),s.return=t,t=s):(f=qm(n.type,n.key,n.props,null,t.mode,f),f.ref=N1(t,s,n),f.return=t,t=f)}return B(t);case Dv:e:{for(u=n.key;s!==null;){if(s.key===u)if(s.tag===4&&s.stateNode.containerInfo===n.containerInfo&&s.stateNode.implementation===n.implementation){R(t,s.sibling),s=oe(s,n.children||[]),s.return=t,t=s;break e}else{R(t,s);break}else y(t,s);s=s.sibling}s=C2(n,t.mode,f),s.return=t,t=s}return B(t);case td:return u=n._init,r(t,s,u(n._payload),f)}if(Y1(n))return d(t,s,n,f);if(z1(n))return m(t,s,n,f);Cm(t,n)}return typeof n=="string"&&n!==""||typeof n=="number"?(n=""+n,s!==null&&s.tag===6?(R(t,s.sibling),s=oe(s,n),s.return=t,t=s):(R(t,s),s=M2(n,t.mode,f),s.return=t,t=s),B(t)):R(t,s)}return r}var t1=Sw(!0),Mw=Sw(!1),Bp={},J0=Td(Bp),xp=Td(Bp),bp=Td(Bp);function Vd(i){if(i===Bp)throw Error(ei(174));return i}function $3(i,y){switch(Hs(bp,y),Hs(xp,i),Hs(J0,Bp),i=y.nodeType,i){case 9:case 11:y=(y=y.documentElement)?y.namespaceURI:hx(null,"");break;default:i=i===8?y.parentNode:y,y=i.namespaceURI||null,i=i.tagName,y=hx(y,i)}Ks(J0),Hs(J0,y)}function r1(){Ks(J0),Ks(xp),Ks(bp)}function Cw(i){Vd(bp.current);var y=Vd(J0.current),R=hx(y,i.type);y!==R&&(Hs(xp,i),Hs(J0,R))}function K3(i){xp.current===i&&(Ks(J0),Ks(xp))}var hl=Td(0);function Ag(i){for(var y=i;y!==null;){if(y.tag===13){var R=y.memoizedState;if(R!==null&&(R=R.dehydrated,R===null||R.data==="$?"||R.data==="$!"))return y}else if(y.tag===19&&y.memoizedProps.revealOrder!==void 0){if(y.flags&128)return y}else if(y.child!==null){y.child.return=y,y=y.child;continue}if(y===i)break;for(;y.sibling===null;){if(y.return===null||y.return===i)return null;y=y.return}y.sibling.return=y.return,y=y.sibling}return null}var x2=[];function J3(){for(var i=0;i<x2.length;i++)x2[i]._workInProgressVersionPrimary=null;x2.length=0}var Xm=Ih.ReactCurrentDispatcher,b2=Ih.ReactCurrentBatchConfig,Xd=0,vl=null,du=null,Bu=null,Sg=!1,ep=!1,wp=0,ek=0;function df(){throw Error(ei(321))}function Q3(i,y){if(y===null)return!1;for(var R=0;R<y.length&&R<i.length;R++)if(!R0(i[R],y[R]))return!1;return!0}function q3(i,y,R,Y,oe,he){if(Xd=he,vl=y,y.memoizedState=null,y.updateQueue=null,y.lanes=0,Xm.current=i===null||i.memoizedState===null?ak:ik,i=R(Y,oe),ep){he=0;do{if(ep=!1,wp=0,25<=he)throw Error(ei(301));he+=1,Bu=du=null,y.updateQueue=null,Xm.current=ok,i=R(Y,oe)}while(ep)}if(Xm.current=Mg,y=du!==null&&du.next!==null,Xd=0,Bu=du=vl=null,Sg=!1,y)throw Error(ei(300));return i}function e4(){var i=wp!==0;return wp=0,i}function G0(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bu===null?vl.memoizedState=Bu=i:Bu=Bu.next=i,Bu}function f0(){if(du===null){var i=vl.alternate;i=i!==null?i.memoizedState:null}else i=du.next;var y=Bu===null?vl.memoizedState:Bu.next;if(y!==null)Bu=y,du=i;else{if(i===null)throw Error(ei(310));du=i,i={memoizedState:du.memoizedState,baseState:du.baseState,baseQueue:du.baseQueue,queue:du.queue,next:null},Bu===null?vl.memoizedState=Bu=i:Bu=Bu.next=i}return Bu}function Tp(i,y){return typeof y=="function"?y(i):y}function w2(i){var y=f0(),R=y.queue;if(R===null)throw Error(ei(311));R.lastRenderedReducer=i;var Y=du,oe=Y.baseQueue,he=R.pending;if(he!==null){if(oe!==null){var B=oe.next;oe.next=he.next,he.next=B}Y.baseQueue=oe=he,R.pending=null}if(oe!==null){he=oe.next,Y=Y.baseState;var O=B=null,e=null,p=he;do{var E=p.lane;if((Xd&E)===E)e!==null&&(e=e.next={lane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),Y=p.hasEagerState?p.eagerState:i(Y,p.action);else{var a={lane:E,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};e===null?(O=e=a,B=Y):e=e.next=a,vl.lanes|=E,$d|=E}p=p.next}while(p!==null&&p!==he);e===null?B=Y:e.next=O,R0(Y,y.memoizedState)||(dc=!0),y.memoizedState=Y,y.baseState=B,y.baseQueue=e,R.lastRenderedState=Y}if(i=R.interleaved,i!==null){oe=i;do he=oe.lane,vl.lanes|=he,$d|=he,oe=oe.next;while(oe!==i)}else oe===null&&(R.lanes=0);return[y.memoizedState,R.dispatch]}function T2(i){var y=f0(),R=y.queue;if(R===null)throw Error(ei(311));R.lastRenderedReducer=i;var Y=R.dispatch,oe=R.pending,he=y.memoizedState;if(oe!==null){R.pending=null;var B=oe=oe.next;do he=i(he,B.action),B=B.next;while(B!==oe);R0(he,y.memoizedState)||(dc=!0),y.memoizedState=he,y.baseQueue===null&&(y.baseState=he),R.lastRenderedState=he}return[he,Y]}function Ew(){}function kw(i,y){var R=vl,Y=f0(),oe=y(),he=!R0(Y.memoizedState,oe);if(he&&(Y.memoizedState=oe,dc=!0),Y=Y.queue,t4(Dw.bind(null,R,Y,i),[i]),Y.getSnapshot!==y||he||Bu!==null&&Bu.memoizedState.tag&1){if(R.flags|=2048,Ap(9,Pw.bind(null,R,Y,oe,y),void 0,null),Ou===null)throw Error(ei(349));Xd&30||Lw(R,y,oe)}return oe}function Lw(i,y,R){i.flags|=16384,i={getSnapshot:y,value:R},y=vl.updateQueue,y===null?(y={lastEffect:null,stores:null},vl.updateQueue=y,y.stores=[i]):(R=y.stores,R===null?y.stores=[i]:R.push(i))}function Pw(i,y,R,Y){y.value=R,y.getSnapshot=Y,Rw(y)&&Iw(i)}function Dw(i,y,R){return R(function(){Rw(y)&&Iw(i)})}function Rw(i){var y=i.getSnapshot;i=i.value;try{var R=y();return!R0(i,R)}catch{return!0}}function Iw(i){var y=kh(i,1);y!==null&&D0(y,i,1,-1)}function Z6(i){var y=G0();return typeof i=="function"&&(i=i()),y.memoizedState=y.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Tp,lastRenderedState:i},y.queue=i,i=i.dispatch=nk.bind(null,vl,i),[y.memoizedState,i]}function Ap(i,y,R,Y){return i={tag:i,create:y,destroy:R,deps:Y,next:null},y=vl.updateQueue,y===null?(y={lastEffect:null,stores:null},vl.updateQueue=y,y.lastEffect=i.next=i):(R=y.lastEffect,R===null?y.lastEffect=i.next=i:(Y=R.next,R.next=i,i.next=Y,y.lastEffect=i)),i}function zw(){return f0().memoizedState}function $m(i,y,R,Y){var oe=G0();vl.flags|=i,oe.memoizedState=Ap(1|y,R,void 0,Y===void 0?null:Y)}function Zg(i,y,R,Y){var oe=f0();Y=Y===void 0?null:Y;var he=void 0;if(du!==null){var B=du.memoizedState;if(he=B.destroy,Y!==null&&Q3(Y,B.deps)){oe.memoizedState=Ap(y,R,he,Y);return}}vl.flags|=i,oe.memoizedState=Ap(1|y,R,he,Y)}function j6(i,y){return $m(8390656,8,i,y)}function t4(i,y){return Zg(2048,8,i,y)}function Fw(i,y){return Zg(4,2,i,y)}function Bw(i,y){return Zg(4,4,i,y)}function Ow(i,y){if(typeof y=="function")return i=i(),y(i),function(){y(null)};if(y!=null)return i=i(),y.current=i,function(){y.current=null}}function _w(i,y,R){return R=R!=null?R.concat([i]):null,Zg(4,4,Ow.bind(null,y,i),R)}function r4(){}function Nw(i,y){var R=f0();y=y===void 0?null:y;var Y=R.memoizedState;return Y!==null&&y!==null&&Q3(y,Y[1])?Y[0]:(R.memoizedState=[i,y],i)}function Uw(i,y){var R=f0();y=y===void 0?null:y;var Y=R.memoizedState;return Y!==null&&y!==null&&Q3(y,Y[1])?Y[0]:(i=i(),R.memoizedState=[i,y],i)}function Hw(i,y,R){return Xd&21?(R0(R,y)||(R=W7(),vl.lanes|=R,$d|=R,i.baseState=!0),y):(i.baseState&&(i.baseState=!1,dc=!0),i.memoizedState=R)}function tk(i,y){var R=bs;bs=R!==0&&4>R?R:4,i(!0);var Y=b2.transition;b2.transition={};try{i(!1),y()}finally{bs=R,b2.transition=Y}}function Vw(){return f0().memoizedState}function rk(i,y,R){var Y=vd(i);if(R={lane:Y,action:R,hasEagerState:!1,eagerState:null,next:null},Gw(i))Ww(y,R);else if(R=bw(i,y,R,Y),R!==null){var oe=Of();D0(R,i,Y,oe),Yw(R,y,Y)}}function nk(i,y,R){var Y=vd(i),oe={lane:Y,action:R,hasEagerState:!1,eagerState:null,next:null};if(Gw(i))Ww(y,oe);else{var he=i.alternate;if(i.lanes===0&&(he===null||he.lanes===0)&&(he=y.lastRenderedReducer,he!==null))try{var B=y.lastRenderedState,O=he(B,R);if(oe.hasEagerState=!0,oe.eagerState=O,R0(O,B)){var e=y.interleaved;e===null?(oe.next=oe,j3(y)):(oe.next=e.next,e.next=oe),y.interleaved=oe;return}}catch{}finally{}R=bw(i,y,oe,Y),R!==null&&(oe=Of(),D0(R,i,Y,oe),Yw(R,y,Y))}}function Gw(i){var y=i.alternate;return i===vl||y!==null&&y===vl}function Ww(i,y){ep=Sg=!0;var R=i.pending;R===null?y.next=y:(y.next=R.next,R.next=y),i.pending=y}function Yw(i,y,R){if(R&4194240){var Y=y.lanes;Y&=i.pendingLanes,R|=Y,y.lanes=R,I3(i,R)}}var Mg={readContext:u0,useCallback:df,useContext:df,useEffect:df,useImperativeHandle:df,useInsertionEffect:df,useLayoutEffect:df,useMemo:df,useReducer:df,useRef:df,useState:df,useDebugValue:df,useDeferredValue:df,useTransition:df,useMutableSource:df,useSyncExternalStore:df,useId:df,unstable_isNewReconciler:!1},ak={readContext:u0,useCallback:function(i,y){return G0().memoizedState=[i,y===void 0?null:y],i},useContext:u0,useEffect:j6,useImperativeHandle:function(i,y,R){return R=R!=null?R.concat([i]):null,$m(4194308,4,Ow.bind(null,y,i),R)},useLayoutEffect:function(i,y){return $m(4194308,4,i,y)},useInsertionEffect:function(i,y){return $m(4,2,i,y)},useMemo:function(i,y){var R=G0();return y=y===void 0?null:y,i=i(),R.memoizedState=[i,y],i},useReducer:function(i,y,R){var Y=G0();return y=R!==void 0?R(y):y,Y.memoizedState=Y.baseState=y,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:y},Y.queue=i,i=i.dispatch=rk.bind(null,vl,i),[Y.memoizedState,i]},useRef:function(i){var y=G0();return i={current:i},y.memoizedState=i},useState:Z6,useDebugValue:r4,useDeferredValue:function(i){return G0().memoizedState=i},useTransition:function(){var i=Z6(!1),y=i[0];return i=tk.bind(null,i[1]),G0().memoizedState=i,[y,i]},useMutableSource:function(){},useSyncExternalStore:function(i,y,R){var Y=vl,oe=G0();if(qs){if(R===void 0)throw Error(ei(407));R=R()}else{if(R=y(),Ou===null)throw Error(ei(349));Xd&30||Lw(Y,y,R)}oe.memoizedState=R;var he={value:R,getSnapshot:y};return oe.queue=he,j6(Dw.bind(null,Y,he,i),[i]),Y.flags|=2048,Ap(9,Pw.bind(null,Y,he,R,y),void 0,null),R},useId:function(){var i=G0(),y=Ou.identifierPrefix;if(qs){var R=wh,Y=bh;R=(Y&~(1<<32-P0(Y)-1)).toString(32)+R,y=":"+y+"R"+R,R=wp++,0<R&&(y+="H"+R.toString(32)),y+=":"}else R=ek++,y=":"+y+"r"+R.toString(32)+":";return i.memoizedState=y},unstable_isNewReconciler:!1},ik={readContext:u0,useCallback:Nw,useContext:u0,useEffect:t4,useImperativeHandle:_w,useInsertionEffect:Fw,useLayoutEffect:Bw,useMemo:Uw,useReducer:w2,useRef:zw,useState:function(){return w2(Tp)},useDebugValue:r4,useDeferredValue:function(i){var y=f0();return Hw(y,du.memoizedState,i)},useTransition:function(){var i=w2(Tp)[0],y=f0().memoizedState;return[i,y]},useMutableSource:Ew,useSyncExternalStore:kw,useId:Vw,unstable_isNewReconciler:!1},ok={readContext:u0,useCallback:Nw,useContext:u0,useEffect:t4,useImperativeHandle:_w,useInsertionEffect:Fw,useLayoutEffect:Bw,useMemo:Uw,useReducer:T2,useRef:zw,useState:function(){return T2(Tp)},useDebugValue:r4,useDeferredValue:function(i){var y=f0();return du===null?y.memoizedState=i:Hw(y,du.memoizedState,i)},useTransition:function(){var i=T2(Tp)[0],y=f0().memoizedState;return[i,y]},useMutableSource:Ew,useSyncExternalStore:kw,useId:Vw,unstable_isNewReconciler:!1};function n1(i,y){try{var R="",Y=y;do R+=zC(Y),Y=Y.return;while(Y);var oe=R}catch(he){oe=` -Error generating stack: `+he.message+` -`+he.stack}return{value:i,source:y,stack:oe,digest:null}}function A2(i,y,R){return{value:i,source:null,stack:R??null,digest:y??null}}function Fx(i,y){try{console.error(y.value)}catch(R){setTimeout(function(){throw R})}}var sk=typeof WeakMap=="function"?WeakMap:Map;function Zw(i,y,R){R=Th(-1,R),R.tag=3,R.payload={element:null};var Y=y.value;return R.callback=function(){Eg||(Eg=!0,Yx=Y),Fx(i,y)},R}function jw(i,y,R){R=Th(-1,R),R.tag=3;var Y=i.type.getDerivedStateFromError;if(typeof Y=="function"){var oe=y.value;R.payload=function(){return Y(oe)},R.callback=function(){Fx(i,y)}}var he=i.stateNode;return he!==null&&typeof he.componentDidCatch=="function"&&(R.callback=function(){Fx(i,y),typeof Y!="function"&&(dd===null?dd=new Set([this]):dd.add(this));var B=y.stack;this.componentDidCatch(y.value,{componentStack:B!==null?B:""})}),R}function X6(i,y,R){var Y=i.pingCache;if(Y===null){Y=i.pingCache=new sk;var oe=new Set;Y.set(y,oe)}else oe=Y.get(y),oe===void 0&&(oe=new Set,Y.set(y,oe));oe.has(R)||(oe.add(R),i=wk.bind(null,i,y,R),y.then(i,i))}function $6(i){do{var y;if((y=i.tag===13)&&(y=i.memoizedState,y=y!==null?y.dehydrated!==null:!0),y)return i;i=i.return}while(i!==null);return null}function K6(i,y,R,Y,oe){return i.mode&1?(i.flags|=65536,i.lanes=oe,i):(i===y?i.flags|=65536:(i.flags|=128,R.flags|=131072,R.flags&=-52805,R.tag===1&&(R.alternate===null?R.tag=17:(y=Th(-1,1),y.tag=2,hd(R,y,1))),R.lanes|=1),i)}var lk=Ih.ReactCurrentOwner,dc=!1;function Ff(i,y,R,Y){y.child=i===null?Mw(y,null,R,Y):t1(y,i.child,R,Y)}function J6(i,y,R,Y,oe){R=R.render;var he=y.ref;return jv(y,oe),Y=q3(i,y,R,Y,he,oe),R=e4(),i!==null&&!dc?(y.updateQueue=i.updateQueue,y.flags&=-2053,i.lanes&=~oe,Lh(i,y,oe)):(qs&&R&&H3(y),y.flags|=1,Ff(i,y,Y,oe),y.child)}function Q6(i,y,R,Y,oe){if(i===null){var he=R.type;return typeof he=="function"&&!f4(he)&&he.defaultProps===void 0&&R.compare===null&&R.defaultProps===void 0?(y.tag=15,y.type=he,Xw(i,y,he,Y,oe)):(i=qm(R.type,null,Y,y,y.mode,oe),i.ref=y.ref,i.return=y,y.child=i)}if(he=i.child,!(i.lanes&oe)){var B=he.memoizedProps;if(R=R.compare,R=R!==null?R:pp,R(B,Y)&&i.ref===y.ref)return Lh(i,y,oe)}return y.flags|=1,i=pd(he,Y),i.ref=y.ref,i.return=y,y.child=i}function Xw(i,y,R,Y,oe){if(i!==null){var he=i.memoizedProps;if(pp(he,Y)&&i.ref===y.ref)if(dc=!1,y.pendingProps=Y=he,(i.lanes&oe)!==0)i.flags&131072&&(dc=!0);else return y.lanes=i.lanes,Lh(i,y,oe)}return Bx(i,y,R,Y,oe)}function $w(i,y,R){var Y=y.pendingProps,oe=Y.children,he=i!==null?i.memoizedState:null;if(Y.mode==="hidden")if(!(y.mode&1))y.memoizedState={baseLanes:0,cachePool:null,transitions:null},Hs(Vv,Ic),Ic|=R;else{if(!(R&1073741824))return i=he!==null?he.baseLanes|R:R,y.lanes=y.childLanes=1073741824,y.memoizedState={baseLanes:i,cachePool:null,transitions:null},y.updateQueue=null,Hs(Vv,Ic),Ic|=i,null;y.memoizedState={baseLanes:0,cachePool:null,transitions:null},Y=he!==null?he.baseLanes:R,Hs(Vv,Ic),Ic|=Y}else he!==null?(Y=he.baseLanes|R,y.memoizedState=null):Y=R,Hs(Vv,Ic),Ic|=Y;return Ff(i,y,oe,R),y.child}function Kw(i,y){var R=y.ref;(i===null&&R!==null||i!==null&&i.ref!==R)&&(y.flags|=512,y.flags|=2097152)}function Bx(i,y,R,Y,oe){var he=pc(R)?Zd:mf.current;return he=qv(y,he),jv(y,oe),R=q3(i,y,R,Y,he,oe),Y=e4(),i!==null&&!dc?(y.updateQueue=i.updateQueue,y.flags&=-2053,i.lanes&=~oe,Lh(i,y,oe)):(qs&&Y&&H3(y),y.flags|=1,Ff(i,y,R,oe),y.child)}function q6(i,y,R,Y,oe){if(pc(R)){var he=!0;gg(y)}else he=!1;if(jv(y,oe),y.stateNode===null)Km(i,y),Aw(y,R,Y),zx(y,R,Y,oe),Y=!0;else if(i===null){var B=y.stateNode,O=y.memoizedProps;B.props=O;var e=B.context,p=R.contextType;typeof p=="object"&&p!==null?p=u0(p):(p=pc(R)?Zd:mf.current,p=qv(y,p));var E=R.getDerivedStateFromProps,a=typeof E=="function"||typeof B.getSnapshotBeforeUpdate=="function";a||typeof B.UNSAFE_componentWillReceiveProps!="function"&&typeof B.componentWillReceiveProps!="function"||(O!==Y||e!==p)&&W6(y,B,Y,p),rd=!1;var L=y.memoizedState;B.state=L,Tg(y,Y,B,oe),e=y.memoizedState,O!==Y||L!==e||vc.current||rd?(typeof E=="function"&&(Ix(y,R,E,Y),e=y.memoizedState),(O=rd||G6(y,R,O,Y,L,e,p))?(a||typeof B.UNSAFE_componentWillMount!="function"&&typeof B.componentWillMount!="function"||(typeof B.componentWillMount=="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount=="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount=="function"&&(y.flags|=4194308)):(typeof B.componentDidMount=="function"&&(y.flags|=4194308),y.memoizedProps=Y,y.memoizedState=e),B.props=Y,B.state=e,B.context=p,Y=O):(typeof B.componentDidMount=="function"&&(y.flags|=4194308),Y=!1)}else{B=y.stateNode,ww(i,y),O=y.memoizedProps,p=y.type===y.elementType?O:C0(y.type,O),B.props=p,a=y.pendingProps,L=B.context,e=R.contextType,typeof e=="object"&&e!==null?e=u0(e):(e=pc(R)?Zd:mf.current,e=qv(y,e));var x=R.getDerivedStateFromProps;(E=typeof x=="function"||typeof B.getSnapshotBeforeUpdate=="function")||typeof B.UNSAFE_componentWillReceiveProps!="function"&&typeof B.componentWillReceiveProps!="function"||(O!==a||L!==e)&&W6(y,B,Y,e),rd=!1,L=y.memoizedState,B.state=L,Tg(y,Y,B,oe);var d=y.memoizedState;O!==a||L!==d||vc.current||rd?(typeof x=="function"&&(Ix(y,R,x,Y),d=y.memoizedState),(p=rd||G6(y,R,p,Y,L,d,e)||!1)?(E||typeof B.UNSAFE_componentWillUpdate!="function"&&typeof B.componentWillUpdate!="function"||(typeof B.componentWillUpdate=="function"&&B.componentWillUpdate(Y,d,e),typeof B.UNSAFE_componentWillUpdate=="function"&&B.UNSAFE_componentWillUpdate(Y,d,e)),typeof B.componentDidUpdate=="function"&&(y.flags|=4),typeof B.getSnapshotBeforeUpdate=="function"&&(y.flags|=1024)):(typeof B.componentDidUpdate!="function"||O===i.memoizedProps&&L===i.memoizedState||(y.flags|=4),typeof B.getSnapshotBeforeUpdate!="function"||O===i.memoizedProps&&L===i.memoizedState||(y.flags|=1024),y.memoizedProps=Y,y.memoizedState=d),B.props=Y,B.state=d,B.context=e,Y=p):(typeof B.componentDidUpdate!="function"||O===i.memoizedProps&&L===i.memoizedState||(y.flags|=4),typeof B.getSnapshotBeforeUpdate!="function"||O===i.memoizedProps&&L===i.memoizedState||(y.flags|=1024),Y=!1)}return Ox(i,y,R,Y,he,oe)}function Ox(i,y,R,Y,oe,he){Kw(i,y);var B=(y.flags&128)!==0;if(!Y&&!B)return oe&&_6(y,R,!1),Lh(i,y,he);Y=y.stateNode,lk.current=y;var O=B&&typeof R.getDerivedStateFromError!="function"?null:Y.render();return y.flags|=1,i!==null&&B?(y.child=t1(y,i.child,null,he),y.child=t1(y,null,O,he)):Ff(i,y,O,he),y.memoizedState=Y.state,oe&&_6(y,R,!0),y.child}function Jw(i){var y=i.stateNode;y.pendingContext?O6(i,y.pendingContext,y.pendingContext!==y.context):y.context&&O6(i,y.context,!1),$3(i,y.containerInfo)}function eb(i,y,R,Y,oe){return e1(),G3(oe),y.flags|=256,Ff(i,y,R,Y),y.child}var _x={dehydrated:null,treeContext:null,retryLane:0};function Nx(i){return{baseLanes:i,cachePool:null,transitions:null}}function Qw(i,y,R){var Y=y.pendingProps,oe=hl.current,he=!1,B=(y.flags&128)!==0,O;if((O=B)||(O=i!==null&&i.memoizedState===null?!1:(oe&2)!==0),O?(he=!0,y.flags&=-129):(i===null||i.memoizedState!==null)&&(oe|=1),Hs(hl,oe&1),i===null)return Dx(y),i=y.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?(y.mode&1?i.data==="$!"?y.lanes=8:y.lanes=1073741824:y.lanes=1,null):(B=Y.children,i=Y.fallback,he?(Y=y.mode,he=y.child,B={mode:"hidden",children:B},!(Y&1)&&he!==null?(he.childLanes=0,he.pendingProps=B):he=$g(B,Y,0,null),i=Yd(i,Y,R,null),he.return=y,i.return=y,he.sibling=i,y.child=he,y.child.memoizedState=Nx(R),y.memoizedState=_x,i):n4(y,B));if(oe=i.memoizedState,oe!==null&&(O=oe.dehydrated,O!==null))return uk(i,y,B,Y,O,oe,R);if(he){he=Y.fallback,B=y.mode,oe=i.child,O=oe.sibling;var e={mode:"hidden",children:Y.children};return!(B&1)&&y.child!==oe?(Y=y.child,Y.childLanes=0,Y.pendingProps=e,y.deletions=null):(Y=pd(oe,e),Y.subtreeFlags=oe.subtreeFlags&14680064),O!==null?he=pd(O,he):(he=Yd(he,B,R,null),he.flags|=2),he.return=y,Y.return=y,Y.sibling=he,y.child=Y,Y=he,he=y.child,B=i.child.memoizedState,B=B===null?Nx(R):{baseLanes:B.baseLanes|R,cachePool:null,transitions:B.transitions},he.memoizedState=B,he.childLanes=i.childLanes&~R,y.memoizedState=_x,Y}return he=i.child,i=he.sibling,Y=pd(he,{mode:"visible",children:Y.children}),!(y.mode&1)&&(Y.lanes=R),Y.return=y,Y.sibling=null,i!==null&&(R=y.deletions,R===null?(y.deletions=[i],y.flags|=16):R.push(i)),y.child=Y,y.memoizedState=null,Y}function n4(i,y){return y=$g({mode:"visible",children:y},i.mode,0,null),y.return=i,i.child=y}function Em(i,y,R,Y){return Y!==null&&G3(Y),t1(y,i.child,null,R),i=n4(y,y.pendingProps.children),i.flags|=2,y.memoizedState=null,i}function uk(i,y,R,Y,oe,he,B){if(R)return y.flags&256?(y.flags&=-257,Y=A2(Error(ei(422))),Em(i,y,B,Y)):y.memoizedState!==null?(y.child=i.child,y.flags|=128,null):(he=Y.fallback,oe=y.mode,Y=$g({mode:"visible",children:Y.children},oe,0,null),he=Yd(he,oe,B,null),he.flags|=2,Y.return=y,he.return=y,Y.sibling=he,y.child=Y,y.mode&1&&t1(y,i.child,null,B),y.child.memoizedState=Nx(B),y.memoizedState=_x,he);if(!(y.mode&1))return Em(i,y,B,null);if(oe.data==="$!"){if(Y=oe.nextSibling&&oe.nextSibling.dataset,Y)var O=Y.dgst;return Y=O,he=Error(ei(419)),Y=A2(he,Y,void 0),Em(i,y,B,Y)}if(O=(B&i.childLanes)!==0,dc||O){if(Y=Ou,Y!==null){switch(B&-B){case 4:oe=2;break;case 16:oe=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:oe=32;break;case 536870912:oe=268435456;break;default:oe=0}oe=oe&(Y.suspendedLanes|B)?0:oe,oe!==0&&oe!==he.retryLane&&(he.retryLane=oe,kh(i,oe),D0(Y,i,oe,-1))}return u4(),Y=A2(Error(ei(421))),Em(i,y,B,Y)}return oe.data==="$?"?(y.flags|=128,y.child=i.child,y=Tk.bind(null,i),oe._reactRetry=y,null):(i=he.treeContext,Fc=cd(oe.nextSibling),Oc=y,qs=!0,L0=null,i!==null&&(t0[r0++]=bh,t0[r0++]=wh,t0[r0++]=jd,bh=i.id,wh=i.overflow,jd=y),y=n4(y,Y.children),y.flags|=4096,y)}function tb(i,y,R){i.lanes|=y;var Y=i.alternate;Y!==null&&(Y.lanes|=y),Rx(i.return,y,R)}function S2(i,y,R,Y,oe){var he=i.memoizedState;he===null?i.memoizedState={isBackwards:y,rendering:null,renderingStartTime:0,last:Y,tail:R,tailMode:oe}:(he.isBackwards=y,he.rendering=null,he.renderingStartTime=0,he.last=Y,he.tail=R,he.tailMode=oe)}function qw(i,y,R){var Y=y.pendingProps,oe=Y.revealOrder,he=Y.tail;if(Ff(i,y,Y.children,R),Y=hl.current,Y&2)Y=Y&1|2,y.flags|=128;else{if(i!==null&&i.flags&128)e:for(i=y.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&tb(i,R,y);else if(i.tag===19)tb(i,R,y);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===y)break e;for(;i.sibling===null;){if(i.return===null||i.return===y)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}Y&=1}if(Hs(hl,Y),!(y.mode&1))y.memoizedState=null;else switch(oe){case"forwards":for(R=y.child,oe=null;R!==null;)i=R.alternate,i!==null&&Ag(i)===null&&(oe=R),R=R.sibling;R=oe,R===null?(oe=y.child,y.child=null):(oe=R.sibling,R.sibling=null),S2(y,!1,oe,R,he);break;case"backwards":for(R=null,oe=y.child,y.child=null;oe!==null;){if(i=oe.alternate,i!==null&&Ag(i)===null){y.child=oe;break}i=oe.sibling,oe.sibling=R,R=oe,oe=i}S2(y,!0,R,null,he);break;case"together":S2(y,!1,null,null,void 0);break;default:y.memoizedState=null}return y.child}function Km(i,y){!(y.mode&1)&&i!==null&&(i.alternate=null,y.alternate=null,y.flags|=2)}function Lh(i,y,R){if(i!==null&&(y.dependencies=i.dependencies),$d|=y.lanes,!(R&y.childLanes))return null;if(i!==null&&y.child!==i.child)throw Error(ei(153));if(y.child!==null){for(i=y.child,R=pd(i,i.pendingProps),y.child=R,R.return=y;i.sibling!==null;)i=i.sibling,R=R.sibling=pd(i,i.pendingProps),R.return=y;R.sibling=null}return y.child}function fk(i,y,R){switch(y.tag){case 3:Jw(y),e1();break;case 5:Cw(y);break;case 1:pc(y.type)&&gg(y);break;case 4:$3(y,y.stateNode.containerInfo);break;case 10:var Y=y.type._context,oe=y.memoizedProps.value;Hs(bg,Y._currentValue),Y._currentValue=oe;break;case 13:if(Y=y.memoizedState,Y!==null)return Y.dehydrated!==null?(Hs(hl,hl.current&1),y.flags|=128,null):R&y.child.childLanes?Qw(i,y,R):(Hs(hl,hl.current&1),i=Lh(i,y,R),i!==null?i.sibling:null);Hs(hl,hl.current&1);break;case 19:if(Y=(R&y.childLanes)!==0,i.flags&128){if(Y)return qw(i,y,R);y.flags|=128}if(oe=y.memoizedState,oe!==null&&(oe.rendering=null,oe.tail=null,oe.lastEffect=null),Hs(hl,hl.current),Y)break;return null;case 22:case 23:return y.lanes=0,$w(i,y,R)}return Lh(i,y,R)}var e9,Ux,t9,r9;e9=function(i,y){for(var R=y.child;R!==null;){if(R.tag===5||R.tag===6)i.appendChild(R.stateNode);else if(R.tag!==4&&R.child!==null){R.child.return=R,R=R.child;continue}if(R===y)break;for(;R.sibling===null;){if(R.return===null||R.return===y)return;R=R.return}R.sibling.return=R.return,R=R.sibling}};Ux=function(){};t9=function(i,y,R,Y){var oe=i.memoizedProps;if(oe!==Y){i=y.stateNode,Vd(J0.current);var he=null;switch(R){case"input":oe=lx(i,oe),Y=lx(i,Y),he=[];break;case"select":oe=pl({},oe,{value:void 0}),Y=pl({},Y,{value:void 0}),he=[];break;case"textarea":oe=cx(i,oe),Y=cx(i,Y),he=[];break;default:typeof oe.onClick!="function"&&typeof Y.onClick=="function"&&(i.onclick=pg)}dx(R,Y);var B;R=null;for(p in oe)if(!Y.hasOwnProperty(p)&&oe.hasOwnProperty(p)&&oe[p]!=null)if(p==="style"){var O=oe[p];for(B in O)O.hasOwnProperty(B)&&(R||(R={}),R[B]="")}else p!=="dangerouslySetInnerHTML"&&p!=="children"&&p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(lp.hasOwnProperty(p)?he||(he=[]):(he=he||[]).push(p,null));for(p in Y){var e=Y[p];if(O=oe!=null?oe[p]:void 0,Y.hasOwnProperty(p)&&e!==O&&(e!=null||O!=null))if(p==="style")if(O){for(B in O)!O.hasOwnProperty(B)||e&&e.hasOwnProperty(B)||(R||(R={}),R[B]="");for(B in e)e.hasOwnProperty(B)&&O[B]!==e[B]&&(R||(R={}),R[B]=e[B])}else R||(he||(he=[]),he.push(p,R)),R=e;else p==="dangerouslySetInnerHTML"?(e=e?e.__html:void 0,O=O?O.__html:void 0,e!=null&&O!==e&&(he=he||[]).push(p,e)):p==="children"?typeof e!="string"&&typeof e!="number"||(he=he||[]).push(p,""+e):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&(lp.hasOwnProperty(p)?(e!=null&&p==="onScroll"&&$s("scroll",i),he||O===e||(he=[])):(he=he||[]).push(p,e))}R&&(he=he||[]).push("style",R);var p=he;(y.updateQueue=p)&&(y.flags|=4)}};r9=function(i,y,R,Y){R!==Y&&(y.flags|=4)};function U1(i,y){if(!qs)switch(i.tailMode){case"hidden":y=i.tail;for(var R=null;y!==null;)y.alternate!==null&&(R=y),y=y.sibling;R===null?i.tail=null:R.sibling=null;break;case"collapsed":R=i.tail;for(var Y=null;R!==null;)R.alternate!==null&&(Y=R),R=R.sibling;Y===null?y||i.tail===null?i.tail=null:i.tail.sibling=null:Y.sibling=null}}function vf(i){var y=i.alternate!==null&&i.alternate.child===i.child,R=0,Y=0;if(y)for(var oe=i.child;oe!==null;)R|=oe.lanes|oe.childLanes,Y|=oe.subtreeFlags&14680064,Y|=oe.flags&14680064,oe.return=i,oe=oe.sibling;else for(oe=i.child;oe!==null;)R|=oe.lanes|oe.childLanes,Y|=oe.subtreeFlags,Y|=oe.flags,oe.return=i,oe=oe.sibling;return i.subtreeFlags|=Y,i.childLanes=R,y}function ck(i,y,R){var Y=y.pendingProps;switch(V3(y),y.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vf(y),null;case 1:return pc(y.type)&&mg(),vf(y),null;case 3:return Y=y.stateNode,r1(),Ks(vc),Ks(mf),J3(),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),(i===null||i.child===null)&&(Mm(y)?y.flags|=4:i===null||i.memoizedState.isDehydrated&&!(y.flags&256)||(y.flags|=1024,L0!==null&&(Xx(L0),L0=null))),Ux(i,y),vf(y),null;case 5:K3(y);var oe=Vd(bp.current);if(R=y.type,i!==null&&y.stateNode!=null)t9(i,y,R,Y,oe),i.ref!==y.ref&&(y.flags|=512,y.flags|=2097152);else{if(!Y){if(y.stateNode===null)throw Error(ei(166));return vf(y),null}if(i=Vd(J0.current),Mm(y)){Y=y.stateNode,R=y.type;var he=y.memoizedProps;switch(Y[Z0]=y,Y[yp]=he,i=(y.mode&1)!==0,R){case"dialog":$s("cancel",Y),$s("close",Y);break;case"iframe":case"object":case"embed":$s("load",Y);break;case"video":case"audio":for(oe=0;oe<j1.length;oe++)$s(j1[oe],Y);break;case"source":$s("error",Y);break;case"img":case"image":case"link":$s("error",Y),$s("load",Y);break;case"details":$s("toggle",Y);break;case"input":f6(Y,he),$s("invalid",Y);break;case"select":Y._wrapperState={wasMultiple:!!he.multiple},$s("invalid",Y);break;case"textarea":h6(Y,he),$s("invalid",Y)}dx(R,he),oe=null;for(var B in he)if(he.hasOwnProperty(B)){var O=he[B];B==="children"?typeof O=="string"?Y.textContent!==O&&(he.suppressHydrationWarning!==!0&&Sm(Y.textContent,O,i),oe=["children",O]):typeof O=="number"&&Y.textContent!==""+O&&(he.suppressHydrationWarning!==!0&&Sm(Y.textContent,O,i),oe=["children",""+O]):lp.hasOwnProperty(B)&&O!=null&&B==="onScroll"&&$s("scroll",Y)}switch(R){case"input":mm(Y),c6(Y,he,!0);break;case"textarea":mm(Y),d6(Y);break;case"select":case"option":break;default:typeof he.onClick=="function"&&(Y.onclick=pg)}Y=oe,y.updateQueue=Y,Y!==null&&(y.flags|=4)}else{B=oe.nodeType===9?oe:oe.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=L7(R)),i==="http://www.w3.org/1999/xhtml"?R==="script"?(i=B.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof Y.is=="string"?i=B.createElement(R,{is:Y.is}):(i=B.createElement(R),R==="select"&&(B=i,Y.multiple?B.multiple=!0:Y.size&&(B.size=Y.size))):i=B.createElementNS(i,R),i[Z0]=y,i[yp]=Y,e9(i,y,!1,!1),y.stateNode=i;e:{switch(B=vx(R,Y),R){case"dialog":$s("cancel",i),$s("close",i),oe=Y;break;case"iframe":case"object":case"embed":$s("load",i),oe=Y;break;case"video":case"audio":for(oe=0;oe<j1.length;oe++)$s(j1[oe],i);oe=Y;break;case"source":$s("error",i),oe=Y;break;case"img":case"image":case"link":$s("error",i),$s("load",i),oe=Y;break;case"details":$s("toggle",i),oe=Y;break;case"input":f6(i,Y),oe=lx(i,Y),$s("invalid",i);break;case"option":oe=Y;break;case"select":i._wrapperState={wasMultiple:!!Y.multiple},oe=pl({},Y,{value:void 0}),$s("invalid",i);break;case"textarea":h6(i,Y),oe=cx(i,Y),$s("invalid",i);break;default:oe=Y}dx(R,oe),O=oe;for(he in O)if(O.hasOwnProperty(he)){var e=O[he];he==="style"?R7(i,e):he==="dangerouslySetInnerHTML"?(e=e?e.__html:void 0,e!=null&&P7(i,e)):he==="children"?typeof e=="string"?(R!=="textarea"||e!=="")&&up(i,e):typeof e=="number"&&up(i,""+e):he!=="suppressContentEditableWarning"&&he!=="suppressHydrationWarning"&&he!=="autoFocus"&&(lp.hasOwnProperty(he)?e!=null&&he==="onScroll"&&$s("scroll",i):e!=null&&E3(i,he,e,B))}switch(R){case"input":mm(i),c6(i,Y,!1);break;case"textarea":mm(i),d6(i);break;case"option":Y.value!=null&&i.setAttribute("value",""+md(Y.value));break;case"select":i.multiple=!!Y.multiple,he=Y.value,he!=null?Gv(i,!!Y.multiple,he,!1):Y.defaultValue!=null&&Gv(i,!!Y.multiple,Y.defaultValue,!0);break;default:typeof oe.onClick=="function"&&(i.onclick=pg)}switch(R){case"button":case"input":case"select":case"textarea":Y=!!Y.autoFocus;break e;case"img":Y=!0;break e;default:Y=!1}}Y&&(y.flags|=4)}y.ref!==null&&(y.flags|=512,y.flags|=2097152)}return vf(y),null;case 6:if(i&&y.stateNode!=null)r9(i,y,i.memoizedProps,Y);else{if(typeof Y!="string"&&y.stateNode===null)throw Error(ei(166));if(R=Vd(bp.current),Vd(J0.current),Mm(y)){if(Y=y.stateNode,R=y.memoizedProps,Y[Z0]=y,(he=Y.nodeValue!==R)&&(i=Oc,i!==null))switch(i.tag){case 3:Sm(Y.nodeValue,R,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&Sm(Y.nodeValue,R,(i.mode&1)!==0)}he&&(y.flags|=4)}else Y=(R.nodeType===9?R:R.ownerDocument).createTextNode(Y),Y[Z0]=y,y.stateNode=Y}return vf(y),null;case 13:if(Ks(hl),Y=y.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(qs&&Fc!==null&&y.mode&1&&!(y.flags&128))xw(),e1(),y.flags|=98560,he=!1;else if(he=Mm(y),Y!==null&&Y.dehydrated!==null){if(i===null){if(!he)throw Error(ei(318));if(he=y.memoizedState,he=he!==null?he.dehydrated:null,!he)throw Error(ei(317));he[Z0]=y}else e1(),!(y.flags&128)&&(y.memoizedState=null),y.flags|=4;vf(y),he=!1}else L0!==null&&(Xx(L0),L0=null),he=!0;if(!he)return y.flags&65536?y:null}return y.flags&128?(y.lanes=R,y):(Y=Y!==null,Y!==(i!==null&&i.memoizedState!==null)&&Y&&(y.child.flags|=8192,y.mode&1&&(i===null||hl.current&1?vu===0&&(vu=3):u4())),y.updateQueue!==null&&(y.flags|=4),vf(y),null);case 4:return r1(),Ux(i,y),i===null&&mp(y.stateNode.containerInfo),vf(y),null;case 10:return Z3(y.type._context),vf(y),null;case 17:return pc(y.type)&&mg(),vf(y),null;case 19:if(Ks(hl),he=y.memoizedState,he===null)return vf(y),null;if(Y=(y.flags&128)!==0,B=he.rendering,B===null)if(Y)U1(he,!1);else{if(vu!==0||i!==null&&i.flags&128)for(i=y.child;i!==null;){if(B=Ag(i),B!==null){for(y.flags|=128,U1(he,!1),Y=B.updateQueue,Y!==null&&(y.updateQueue=Y,y.flags|=4),y.subtreeFlags=0,Y=R,R=y.child;R!==null;)he=R,i=Y,he.flags&=14680066,B=he.alternate,B===null?(he.childLanes=0,he.lanes=i,he.child=null,he.subtreeFlags=0,he.memoizedProps=null,he.memoizedState=null,he.updateQueue=null,he.dependencies=null,he.stateNode=null):(he.childLanes=B.childLanes,he.lanes=B.lanes,he.child=B.child,he.subtreeFlags=0,he.deletions=null,he.memoizedProps=B.memoizedProps,he.memoizedState=B.memoizedState,he.updateQueue=B.updateQueue,he.type=B.type,i=B.dependencies,he.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),R=R.sibling;return Hs(hl,hl.current&1|2),y.child}i=i.sibling}he.tail!==null&&Vl()>a1&&(y.flags|=128,Y=!0,U1(he,!1),y.lanes=4194304)}else{if(!Y)if(i=Ag(B),i!==null){if(y.flags|=128,Y=!0,R=i.updateQueue,R!==null&&(y.updateQueue=R,y.flags|=4),U1(he,!0),he.tail===null&&he.tailMode==="hidden"&&!B.alternate&&!qs)return vf(y),null}else 2*Vl()-he.renderingStartTime>a1&&R!==1073741824&&(y.flags|=128,Y=!0,U1(he,!1),y.lanes=4194304);he.isBackwards?(B.sibling=y.child,y.child=B):(R=he.last,R!==null?R.sibling=B:y.child=B,he.last=B)}return he.tail!==null?(y=he.tail,he.rendering=y,he.tail=y.sibling,he.renderingStartTime=Vl(),y.sibling=null,R=hl.current,Hs(hl,Y?R&1|2:R&1),y):(vf(y),null);case 22:case 23:return l4(),Y=y.memoizedState!==null,i!==null&&i.memoizedState!==null!==Y&&(y.flags|=8192),Y&&y.mode&1?Ic&1073741824&&(vf(y),y.subtreeFlags&6&&(y.flags|=8192)):vf(y),null;case 24:return null;case 25:return null}throw Error(ei(156,y.tag))}function hk(i,y){switch(V3(y),y.tag){case 1:return pc(y.type)&&mg(),i=y.flags,i&65536?(y.flags=i&-65537|128,y):null;case 3:return r1(),Ks(vc),Ks(mf),J3(),i=y.flags,i&65536&&!(i&128)?(y.flags=i&-65537|128,y):null;case 5:return K3(y),null;case 13:if(Ks(hl),i=y.memoizedState,i!==null&&i.dehydrated!==null){if(y.alternate===null)throw Error(ei(340));e1()}return i=y.flags,i&65536?(y.flags=i&-65537|128,y):null;case 19:return Ks(hl),null;case 4:return r1(),null;case 10:return Z3(y.type._context),null;case 22:case 23:return l4(),null;case 24:return null;default:return null}}var km=!1,pf=!1,dk=typeof WeakSet=="function"?WeakSet:Set,ki=null;function Hv(i,y){var R=i.ref;if(R!==null)if(typeof R=="function")try{R(null)}catch(Y){Pl(i,y,Y)}else R.current=null}function Hx(i,y,R){try{R()}catch(Y){Pl(i,y,Y)}}var rb=!1;function vk(i,y){if(Sx=hg,i=ow(),U3(i)){if("selectionStart"in i)var R={start:i.selectionStart,end:i.selectionEnd};else e:{R=(R=i.ownerDocument)&&R.defaultView||window;var Y=R.getSelection&&R.getSelection();if(Y&&Y.rangeCount!==0){R=Y.anchorNode;var oe=Y.anchorOffset,he=Y.focusNode;Y=Y.focusOffset;try{R.nodeType,he.nodeType}catch{R=null;break e}var B=0,O=-1,e=-1,p=0,E=0,a=i,L=null;t:for(;;){for(var x;a!==R||oe!==0&&a.nodeType!==3||(O=B+oe),a!==he||Y!==0&&a.nodeType!==3||(e=B+Y),a.nodeType===3&&(B+=a.nodeValue.length),(x=a.firstChild)!==null;)L=a,a=x;for(;;){if(a===i)break t;if(L===R&&++p===oe&&(O=B),L===he&&++E===Y&&(e=B),(x=a.nextSibling)!==null)break;a=L,L=a.parentNode}a=x}R=O===-1||e===-1?null:{start:O,end:e}}else R=null}R=R||{start:0,end:0}}else R=null;for(Mx={focusedElem:i,selectionRange:R},hg=!1,ki=y;ki!==null;)if(y=ki,i=y.child,(y.subtreeFlags&1028)!==0&&i!==null)i.return=y,ki=i;else for(;ki!==null;){y=ki;try{var d=y.alternate;if(y.flags&1024)switch(y.tag){case 0:case 11:case 15:break;case 1:if(d!==null){var m=d.memoizedProps,r=d.memoizedState,t=y.stateNode,s=t.getSnapshotBeforeUpdate(y.elementType===y.type?m:C0(y.type,m),r);t.__reactInternalSnapshotBeforeUpdate=s}break;case 3:var n=y.stateNode.containerInfo;n.nodeType===1?n.textContent="":n.nodeType===9&&n.documentElement&&n.removeChild(n.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ei(163))}}catch(f){Pl(y,y.return,f)}if(i=y.sibling,i!==null){i.return=y.return,ki=i;break}ki=y.return}return d=rb,rb=!1,d}function tp(i,y,R){var Y=y.updateQueue;if(Y=Y!==null?Y.lastEffect:null,Y!==null){var oe=Y=Y.next;do{if((oe.tag&i)===i){var he=oe.destroy;oe.destroy=void 0,he!==void 0&&Hx(y,R,he)}oe=oe.next}while(oe!==Y)}}function jg(i,y){if(y=y.updateQueue,y=y!==null?y.lastEffect:null,y!==null){var R=y=y.next;do{if((R.tag&i)===i){var Y=R.create;R.destroy=Y()}R=R.next}while(R!==y)}}function Vx(i){var y=i.ref;if(y!==null){var R=i.stateNode;switch(i.tag){case 5:i=R;break;default:i=R}typeof y=="function"?y(i):y.current=i}}function n9(i){var y=i.alternate;y!==null&&(i.alternate=null,n9(y)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(y=i.stateNode,y!==null&&(delete y[Z0],delete y[yp],delete y[kx],delete y[KE],delete y[JE])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function a9(i){return i.tag===5||i.tag===3||i.tag===4}function nb(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||a9(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Gx(i,y,R){var Y=i.tag;if(Y===5||Y===6)i=i.stateNode,y?R.nodeType===8?R.parentNode.insertBefore(i,y):R.insertBefore(i,y):(R.nodeType===8?(y=R.parentNode,y.insertBefore(i,R)):(y=R,y.appendChild(i)),R=R._reactRootContainer,R!=null||y.onclick!==null||(y.onclick=pg));else if(Y!==4&&(i=i.child,i!==null))for(Gx(i,y,R),i=i.sibling;i!==null;)Gx(i,y,R),i=i.sibling}function Wx(i,y,R){var Y=i.tag;if(Y===5||Y===6)i=i.stateNode,y?R.insertBefore(i,y):R.appendChild(i);else if(Y!==4&&(i=i.child,i!==null))for(Wx(i,y,R),i=i.sibling;i!==null;)Wx(i,y,R),i=i.sibling}var qu=null,E0=!1;function Kh(i,y,R){for(R=R.child;R!==null;)i9(i,y,R),R=R.sibling}function i9(i,y,R){if(K0&&typeof K0.onCommitFiberUnmount=="function")try{K0.onCommitFiberUnmount(Ng,R)}catch{}switch(R.tag){case 5:pf||Hv(R,y);case 6:var Y=qu,oe=E0;qu=null,Kh(i,y,R),qu=Y,E0=oe,qu!==null&&(E0?(i=qu,R=R.stateNode,i.nodeType===8?i.parentNode.removeChild(R):i.removeChild(R)):qu.removeChild(R.stateNode));break;case 18:qu!==null&&(E0?(i=qu,R=R.stateNode,i.nodeType===8?g2(i.parentNode,R):i.nodeType===1&&g2(i,R),dp(i)):g2(qu,R.stateNode));break;case 4:Y=qu,oe=E0,qu=R.stateNode.containerInfo,E0=!0,Kh(i,y,R),qu=Y,E0=oe;break;case 0:case 11:case 14:case 15:if(!pf&&(Y=R.updateQueue,Y!==null&&(Y=Y.lastEffect,Y!==null))){oe=Y=Y.next;do{var he=oe,B=he.destroy;he=he.tag,B!==void 0&&(he&2||he&4)&&Hx(R,y,B),oe=oe.next}while(oe!==Y)}Kh(i,y,R);break;case 1:if(!pf&&(Hv(R,y),Y=R.stateNode,typeof Y.componentWillUnmount=="function"))try{Y.props=R.memoizedProps,Y.state=R.memoizedState,Y.componentWillUnmount()}catch(O){Pl(R,y,O)}Kh(i,y,R);break;case 21:Kh(i,y,R);break;case 22:R.mode&1?(pf=(Y=pf)||R.memoizedState!==null,Kh(i,y,R),pf=Y):Kh(i,y,R);break;default:Kh(i,y,R)}}function ab(i){var y=i.updateQueue;if(y!==null){i.updateQueue=null;var R=i.stateNode;R===null&&(R=i.stateNode=new dk),y.forEach(function(Y){var oe=Ak.bind(null,i,Y);R.has(Y)||(R.add(Y),Y.then(oe,oe))})}}function M0(i,y){var R=y.deletions;if(R!==null)for(var Y=0;Y<R.length;Y++){var oe=R[Y];try{var he=i,B=y,O=B;e:for(;O!==null;){switch(O.tag){case 5:qu=O.stateNode,E0=!1;break e;case 3:qu=O.stateNode.containerInfo,E0=!0;break e;case 4:qu=O.stateNode.containerInfo,E0=!0;break e}O=O.return}if(qu===null)throw Error(ei(160));i9(he,B,oe),qu=null,E0=!1;var e=oe.alternate;e!==null&&(e.return=null),oe.return=null}catch(p){Pl(oe,y,p)}}if(y.subtreeFlags&12854)for(y=y.child;y!==null;)o9(y,i),y=y.sibling}function o9(i,y){var R=i.alternate,Y=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(M0(y,i),V0(i),Y&4){try{tp(3,i,i.return),jg(3,i)}catch(m){Pl(i,i.return,m)}try{tp(5,i,i.return)}catch(m){Pl(i,i.return,m)}}break;case 1:M0(y,i),V0(i),Y&512&&R!==null&&Hv(R,R.return);break;case 5:if(M0(y,i),V0(i),Y&512&&R!==null&&Hv(R,R.return),i.flags&32){var oe=i.stateNode;try{up(oe,"")}catch(m){Pl(i,i.return,m)}}if(Y&4&&(oe=i.stateNode,oe!=null)){var he=i.memoizedProps,B=R!==null?R.memoizedProps:he,O=i.type,e=i.updateQueue;if(i.updateQueue=null,e!==null)try{O==="input"&&he.type==="radio"&&he.name!=null&&E7(oe,he),vx(O,B);var p=vx(O,he);for(B=0;B<e.length;B+=2){var E=e[B],a=e[B+1];E==="style"?R7(oe,a):E==="dangerouslySetInnerHTML"?P7(oe,a):E==="children"?up(oe,a):E3(oe,E,a,p)}switch(O){case"input":ux(oe,he);break;case"textarea":k7(oe,he);break;case"select":var L=oe._wrapperState.wasMultiple;oe._wrapperState.wasMultiple=!!he.multiple;var x=he.value;x!=null?Gv(oe,!!he.multiple,x,!1):L!==!!he.multiple&&(he.defaultValue!=null?Gv(oe,!!he.multiple,he.defaultValue,!0):Gv(oe,!!he.multiple,he.multiple?[]:"",!1))}oe[yp]=he}catch(m){Pl(i,i.return,m)}}break;case 6:if(M0(y,i),V0(i),Y&4){if(i.stateNode===null)throw Error(ei(162));oe=i.stateNode,he=i.memoizedProps;try{oe.nodeValue=he}catch(m){Pl(i,i.return,m)}}break;case 3:if(M0(y,i),V0(i),Y&4&&R!==null&&R.memoizedState.isDehydrated)try{dp(y.containerInfo)}catch(m){Pl(i,i.return,m)}break;case 4:M0(y,i),V0(i);break;case 13:M0(y,i),V0(i),oe=i.child,oe.flags&8192&&(he=oe.memoizedState!==null,oe.stateNode.isHidden=he,!he||oe.alternate!==null&&oe.alternate.memoizedState!==null||(o4=Vl())),Y&4&&ab(i);break;case 22:if(E=R!==null&&R.memoizedState!==null,i.mode&1?(pf=(p=pf)||E,M0(y,i),pf=p):M0(y,i),V0(i),Y&8192){if(p=i.memoizedState!==null,(i.stateNode.isHidden=p)&&!E&&i.mode&1)for(ki=i,E=i.child;E!==null;){for(a=ki=E;ki!==null;){switch(L=ki,x=L.child,L.tag){case 0:case 11:case 14:case 15:tp(4,L,L.return);break;case 1:Hv(L,L.return);var d=L.stateNode;if(typeof d.componentWillUnmount=="function"){Y=L,R=L.return;try{y=Y,d.props=y.memoizedProps,d.state=y.memoizedState,d.componentWillUnmount()}catch(m){Pl(Y,R,m)}}break;case 5:Hv(L,L.return);break;case 22:if(L.memoizedState!==null){ob(a);continue}}x!==null?(x.return=L,ki=x):ob(a)}E=E.sibling}e:for(E=null,a=i;;){if(a.tag===5){if(E===null){E=a;try{oe=a.stateNode,p?(he=oe.style,typeof he.setProperty=="function"?he.setProperty("display","none","important"):he.display="none"):(O=a.stateNode,e=a.memoizedProps.style,B=e!=null&&e.hasOwnProperty("display")?e.display:null,O.style.display=D7("display",B))}catch(m){Pl(i,i.return,m)}}}else if(a.tag===6){if(E===null)try{a.stateNode.nodeValue=p?"":a.memoizedProps}catch(m){Pl(i,i.return,m)}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===i)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;E===a&&(E=null),a=a.return}E===a&&(E=null),a.sibling.return=a.return,a=a.sibling}}break;case 19:M0(y,i),V0(i),Y&4&&ab(i);break;case 21:break;default:M0(y,i),V0(i)}}function V0(i){var y=i.flags;if(y&2){try{e:{for(var R=i.return;R!==null;){if(a9(R)){var Y=R;break e}R=R.return}throw Error(ei(160))}switch(Y.tag){case 5:var oe=Y.stateNode;Y.flags&32&&(up(oe,""),Y.flags&=-33);var he=nb(i);Wx(i,he,oe);break;case 3:case 4:var B=Y.stateNode.containerInfo,O=nb(i);Gx(i,O,B);break;default:throw Error(ei(161))}}catch(e){Pl(i,i.return,e)}i.flags&=-3}y&4096&&(i.flags&=-4097)}function pk(i,y,R){ki=i,s9(i)}function s9(i,y,R){for(var Y=(i.mode&1)!==0;ki!==null;){var oe=ki,he=oe.child;if(oe.tag===22&&Y){var B=oe.memoizedState!==null||km;if(!B){var O=oe.alternate,e=O!==null&&O.memoizedState!==null||pf;O=km;var p=pf;if(km=B,(pf=e)&&!p)for(ki=oe;ki!==null;)B=ki,e=B.child,B.tag===22&&B.memoizedState!==null?sb(oe):e!==null?(e.return=B,ki=e):sb(oe);for(;he!==null;)ki=he,s9(he),he=he.sibling;ki=oe,km=O,pf=p}ib(i)}else oe.subtreeFlags&8772&&he!==null?(he.return=oe,ki=he):ib(i)}}function ib(i){for(;ki!==null;){var y=ki;if(y.flags&8772){var R=y.alternate;try{if(y.flags&8772)switch(y.tag){case 0:case 11:case 15:pf||jg(5,y);break;case 1:var Y=y.stateNode;if(y.flags&4&&!pf)if(R===null)Y.componentDidMount();else{var oe=y.elementType===y.type?R.memoizedProps:C0(y.type,R.memoizedProps);Y.componentDidUpdate(oe,R.memoizedState,Y.__reactInternalSnapshotBeforeUpdate)}var he=y.updateQueue;he!==null&&V6(y,he,Y);break;case 3:var B=y.updateQueue;if(B!==null){if(R=null,y.child!==null)switch(y.child.tag){case 5:R=y.child.stateNode;break;case 1:R=y.child.stateNode}V6(y,B,R)}break;case 5:var O=y.stateNode;if(R===null&&y.flags&4){R=O;var e=y.memoizedProps;switch(y.type){case"button":case"input":case"select":case"textarea":e.autoFocus&&R.focus();break;case"img":e.src&&(R.src=e.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(y.memoizedState===null){var p=y.alternate;if(p!==null){var E=p.memoizedState;if(E!==null){var a=E.dehydrated;a!==null&&dp(a)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ei(163))}pf||y.flags&512&&Vx(y)}catch(L){Pl(y,y.return,L)}}if(y===i){ki=null;break}if(R=y.sibling,R!==null){R.return=y.return,ki=R;break}ki=y.return}}function ob(i){for(;ki!==null;){var y=ki;if(y===i){ki=null;break}var R=y.sibling;if(R!==null){R.return=y.return,ki=R;break}ki=y.return}}function sb(i){for(;ki!==null;){var y=ki;try{switch(y.tag){case 0:case 11:case 15:var R=y.return;try{jg(4,y)}catch(e){Pl(y,R,e)}break;case 1:var Y=y.stateNode;if(typeof Y.componentDidMount=="function"){var oe=y.return;try{Y.componentDidMount()}catch(e){Pl(y,oe,e)}}var he=y.return;try{Vx(y)}catch(e){Pl(y,he,e)}break;case 5:var B=y.return;try{Vx(y)}catch(e){Pl(y,B,e)}}}catch(e){Pl(y,y.return,e)}if(y===i){ki=null;break}var O=y.sibling;if(O!==null){O.return=y.return,ki=O;break}ki=y.return}}var mk=Math.ceil,Cg=Ih.ReactCurrentDispatcher,a4=Ih.ReactCurrentOwner,s0=Ih.ReactCurrentBatchConfig,Ko=0,Ou=null,eu=null,ef=0,Ic=0,Vv=Td(0),vu=0,Sp=null,$d=0,Xg=0,i4=0,rp=null,hc=null,o4=0,a1=1/0,gh=null,Eg=!1,Yx=null,dd=null,Lm=!1,od=null,kg=0,np=0,Zx=null,Jm=-1,Qm=0;function Of(){return Ko&6?Vl():Jm!==-1?Jm:Jm=Vl()}function vd(i){return i.mode&1?Ko&2&&ef!==0?ef&-ef:qE.transition!==null?(Qm===0&&(Qm=W7()),Qm):(i=bs,i!==0||(i=window.event,i=i===void 0?16:J7(i.type)),i):1}function D0(i,y,R,Y){if(50<np)throw np=0,Zx=null,Error(ei(185));Ip(i,R,Y),(!(Ko&2)||i!==Ou)&&(i===Ou&&(!(Ko&2)&&(Xg|=R),vu===4&&ad(i,ef)),mc(i,Y),R===1&&Ko===0&&!(y.mode&1)&&(a1=Vl()+500,Wg&&Ad()))}function mc(i,y){var R=i.callbackNode;qC(i,y);var Y=cg(i,i===Ou?ef:0);if(Y===0)R!==null&&m6(R),i.callbackNode=null,i.callbackPriority=0;else if(y=Y&-Y,i.callbackPriority!==y){if(R!=null&&m6(R),y===1)i.tag===0?QE(lb.bind(null,i)):mw(lb.bind(null,i)),XE(function(){!(Ko&6)&&Ad()}),R=null;else{switch(Y7(Y)){case 1:R=R3;break;case 4:R=V7;break;case 16:R=fg;break;case 536870912:R=G7;break;default:R=fg}R=p9(R,l9.bind(null,i))}i.callbackPriority=y,i.callbackNode=R}}function l9(i,y){if(Jm=-1,Qm=0,Ko&6)throw Error(ei(327));var R=i.callbackNode;if(Xv()&&i.callbackNode!==R)return null;var Y=cg(i,i===Ou?ef:0);if(Y===0)return null;if(Y&30||Y&i.expiredLanes||y)y=Lg(i,Y);else{y=Y;var oe=Ko;Ko|=2;var he=f9();(Ou!==i||ef!==y)&&(gh=null,a1=Vl()+500,Wd(i,y));do try{xk();break}catch(O){u9(i,O)}while(1);Y3(),Cg.current=he,Ko=oe,eu!==null?y=0:(Ou=null,ef=0,y=vu)}if(y!==0){if(y===2&&(oe=xx(i),oe!==0&&(Y=oe,y=jx(i,oe))),y===1)throw R=Sp,Wd(i,0),ad(i,Y),mc(i,Vl()),R;if(y===6)ad(i,Y);else{if(oe=i.current.alternate,!(Y&30)&&!gk(oe)&&(y=Lg(i,Y),y===2&&(he=xx(i),he!==0&&(Y=he,y=jx(i,he))),y===1))throw R=Sp,Wd(i,0),ad(i,Y),mc(i,Vl()),R;switch(i.finishedWork=oe,i.finishedLanes=Y,y){case 0:case 1:throw Error(ei(345));case 2:_d(i,hc,gh);break;case 3:if(ad(i,Y),(Y&130023424)===Y&&(y=o4+500-Vl(),10<y)){if(cg(i,0)!==0)break;if(oe=i.suspendedLanes,(oe&Y)!==Y){Of(),i.pingedLanes|=i.suspendedLanes&oe;break}i.timeoutHandle=Ex(_d.bind(null,i,hc,gh),y);break}_d(i,hc,gh);break;case 4:if(ad(i,Y),(Y&4194240)===Y)break;for(y=i.eventTimes,oe=-1;0<Y;){var B=31-P0(Y);he=1<<B,B=y[B],B>oe&&(oe=B),Y&=~he}if(Y=oe,Y=Vl()-Y,Y=(120>Y?120:480>Y?480:1080>Y?1080:1920>Y?1920:3e3>Y?3e3:4320>Y?4320:1960*mk(Y/1960))-Y,10<Y){i.timeoutHandle=Ex(_d.bind(null,i,hc,gh),Y);break}_d(i,hc,gh);break;case 5:_d(i,hc,gh);break;default:throw Error(ei(329))}}}return mc(i,Vl()),i.callbackNode===R?l9.bind(null,i):null}function jx(i,y){var R=rp;return i.current.memoizedState.isDehydrated&&(Wd(i,y).flags|=256),i=Lg(i,y),i!==2&&(y=hc,hc=R,y!==null&&Xx(y)),i}function Xx(i){hc===null?hc=i:hc.push.apply(hc,i)}function gk(i){for(var y=i;;){if(y.flags&16384){var R=y.updateQueue;if(R!==null&&(R=R.stores,R!==null))for(var Y=0;Y<R.length;Y++){var oe=R[Y],he=oe.getSnapshot;oe=oe.value;try{if(!R0(he(),oe))return!1}catch{return!1}}}if(R=y.child,y.subtreeFlags&16384&&R!==null)R.return=y,y=R;else{if(y===i)break;for(;y.sibling===null;){if(y.return===null||y.return===i)return!0;y=y.return}y.sibling.return=y.return,y=y.sibling}}return!0}function ad(i,y){for(y&=~i4,y&=~Xg,i.suspendedLanes|=y,i.pingedLanes&=~y,i=i.expirationTimes;0<y;){var R=31-P0(y),Y=1<<R;i[R]=-1,y&=~Y}}function lb(i){if(Ko&6)throw Error(ei(327));Xv();var y=cg(i,0);if(!(y&1))return mc(i,Vl()),null;var R=Lg(i,y);if(i.tag!==0&&R===2){var Y=xx(i);Y!==0&&(y=Y,R=jx(i,Y))}if(R===1)throw R=Sp,Wd(i,0),ad(i,y),mc(i,Vl()),R;if(R===6)throw Error(ei(345));return i.finishedWork=i.current.alternate,i.finishedLanes=y,_d(i,hc,gh),mc(i,Vl()),null}function s4(i,y){var R=Ko;Ko|=1;try{return i(y)}finally{Ko=R,Ko===0&&(a1=Vl()+500,Wg&&Ad())}}function Kd(i){od!==null&&od.tag===0&&!(Ko&6)&&Xv();var y=Ko;Ko|=1;var R=s0.transition,Y=bs;try{if(s0.transition=null,bs=1,i)return i()}finally{bs=Y,s0.transition=R,Ko=y,!(Ko&6)&&Ad()}}function l4(){Ic=Vv.current,Ks(Vv)}function Wd(i,y){i.finishedWork=null,i.finishedLanes=0;var R=i.timeoutHandle;if(R!==-1&&(i.timeoutHandle=-1,jE(R)),eu!==null)for(R=eu.return;R!==null;){var Y=R;switch(V3(Y),Y.tag){case 1:Y=Y.type.childContextTypes,Y!=null&&mg();break;case 3:r1(),Ks(vc),Ks(mf),J3();break;case 5:K3(Y);break;case 4:r1();break;case 13:Ks(hl);break;case 19:Ks(hl);break;case 10:Z3(Y.type._context);break;case 22:case 23:l4()}R=R.return}if(Ou=i,eu=i=pd(i.current,null),ef=Ic=y,vu=0,Sp=null,i4=Xg=$d=0,hc=rp=null,Hd!==null){for(y=0;y<Hd.length;y++)if(R=Hd[y],Y=R.interleaved,Y!==null){R.interleaved=null;var oe=Y.next,he=R.pending;if(he!==null){var B=he.next;he.next=oe,Y.next=B}R.pending=Y}Hd=null}return i}function u9(i,y){do{var R=eu;try{if(Y3(),Xm.current=Mg,Sg){for(var Y=vl.memoizedState;Y!==null;){var oe=Y.queue;oe!==null&&(oe.pending=null),Y=Y.next}Sg=!1}if(Xd=0,Bu=du=vl=null,ep=!1,wp=0,a4.current=null,R===null||R.return===null){vu=1,Sp=y,eu=null;break}e:{var he=i,B=R.return,O=R,e=y;if(y=ef,O.flags|=32768,e!==null&&typeof e=="object"&&typeof e.then=="function"){var p=e,E=O,a=E.tag;if(!(E.mode&1)&&(a===0||a===11||a===15)){var L=E.alternate;L?(E.updateQueue=L.updateQueue,E.memoizedState=L.memoizedState,E.lanes=L.lanes):(E.updateQueue=null,E.memoizedState=null)}var x=$6(B);if(x!==null){x.flags&=-257,K6(x,B,O,he,y),x.mode&1&&X6(he,p,y),y=x,e=p;var d=y.updateQueue;if(d===null){var m=new Set;m.add(e),y.updateQueue=m}else d.add(e);break e}else{if(!(y&1)){X6(he,p,y),u4();break e}e=Error(ei(426))}}else if(qs&&O.mode&1){var r=$6(B);if(r!==null){!(r.flags&65536)&&(r.flags|=256),K6(r,B,O,he,y),G3(n1(e,O));break e}}he=e=n1(e,O),vu!==4&&(vu=2),rp===null?rp=[he]:rp.push(he),he=B;do{switch(he.tag){case 3:he.flags|=65536,y&=-y,he.lanes|=y;var t=Zw(he,e,y);H6(he,t);break e;case 1:O=e;var s=he.type,n=he.stateNode;if(!(he.flags&128)&&(typeof s.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(dd===null||!dd.has(n)))){he.flags|=65536,y&=-y,he.lanes|=y;var f=jw(he,O,y);H6(he,f);break e}}he=he.return}while(he!==null)}h9(R)}catch(c){y=c,eu===R&&R!==null&&(eu=R=R.return);continue}break}while(1)}function f9(){var i=Cg.current;return Cg.current=Mg,i===null?Mg:i}function u4(){(vu===0||vu===3||vu===2)&&(vu=4),Ou===null||!($d&268435455)&&!(Xg&268435455)||ad(Ou,ef)}function Lg(i,y){var R=Ko;Ko|=2;var Y=f9();(Ou!==i||ef!==y)&&(gh=null,Wd(i,y));do try{yk();break}catch(oe){u9(i,oe)}while(1);if(Y3(),Ko=R,Cg.current=Y,eu!==null)throw Error(ei(261));return Ou=null,ef=0,vu}function yk(){for(;eu!==null;)c9(eu)}function xk(){for(;eu!==null&&!WC();)c9(eu)}function c9(i){var y=v9(i.alternate,i,Ic);i.memoizedProps=i.pendingProps,y===null?h9(i):eu=y,a4.current=null}function h9(i){var y=i;do{var R=y.alternate;if(i=y.return,y.flags&32768){if(R=hk(R,y),R!==null){R.flags&=32767,eu=R;return}if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{vu=6,eu=null;return}}else if(R=ck(R,y,Ic),R!==null){eu=R;return}if(y=y.sibling,y!==null){eu=y;return}eu=y=i}while(y!==null);vu===0&&(vu=5)}function _d(i,y,R){var Y=bs,oe=s0.transition;try{s0.transition=null,bs=1,bk(i,y,R,Y)}finally{s0.transition=oe,bs=Y}return null}function bk(i,y,R,Y){do Xv();while(od!==null);if(Ko&6)throw Error(ei(327));R=i.finishedWork;var oe=i.finishedLanes;if(R===null)return null;if(i.finishedWork=null,i.finishedLanes=0,R===i.current)throw Error(ei(177));i.callbackNode=null,i.callbackPriority=0;var he=R.lanes|R.childLanes;if(eE(i,he),i===Ou&&(eu=Ou=null,ef=0),!(R.subtreeFlags&2064)&&!(R.flags&2064)||Lm||(Lm=!0,p9(fg,function(){return Xv(),null})),he=(R.flags&15990)!==0,R.subtreeFlags&15990||he){he=s0.transition,s0.transition=null;var B=bs;bs=1;var O=Ko;Ko|=4,a4.current=null,vk(i,R),o9(R,i),UE(Mx),hg=!!Sx,Mx=Sx=null,i.current=R,pk(R),YC(),Ko=O,bs=B,s0.transition=he}else i.current=R;if(Lm&&(Lm=!1,od=i,kg=oe),he=i.pendingLanes,he===0&&(dd=null),XC(R.stateNode),mc(i,Vl()),y!==null)for(Y=i.onRecoverableError,R=0;R<y.length;R++)oe=y[R],Y(oe.value,{componentStack:oe.stack,digest:oe.digest});if(Eg)throw Eg=!1,i=Yx,Yx=null,i;return kg&1&&i.tag!==0&&Xv(),he=i.pendingLanes,he&1?i===Zx?np++:(np=0,Zx=i):np=0,Ad(),null}function Xv(){if(od!==null){var i=Y7(kg),y=s0.transition,R=bs;try{if(s0.transition=null,bs=16>i?16:i,od===null)var Y=!1;else{if(i=od,od=null,kg=0,Ko&6)throw Error(ei(331));var oe=Ko;for(Ko|=4,ki=i.current;ki!==null;){var he=ki,B=he.child;if(ki.flags&16){var O=he.deletions;if(O!==null){for(var e=0;e<O.length;e++){var p=O[e];for(ki=p;ki!==null;){var E=ki;switch(E.tag){case 0:case 11:case 15:tp(8,E,he)}var a=E.child;if(a!==null)a.return=E,ki=a;else for(;ki!==null;){E=ki;var L=E.sibling,x=E.return;if(n9(E),E===p){ki=null;break}if(L!==null){L.return=x,ki=L;break}ki=x}}}var d=he.alternate;if(d!==null){var m=d.child;if(m!==null){d.child=null;do{var r=m.sibling;m.sibling=null,m=r}while(m!==null)}}ki=he}}if(he.subtreeFlags&2064&&B!==null)B.return=he,ki=B;else e:for(;ki!==null;){if(he=ki,he.flags&2048)switch(he.tag){case 0:case 11:case 15:tp(9,he,he.return)}var t=he.sibling;if(t!==null){t.return=he.return,ki=t;break e}ki=he.return}}var s=i.current;for(ki=s;ki!==null;){B=ki;var n=B.child;if(B.subtreeFlags&2064&&n!==null)n.return=B,ki=n;else e:for(B=s;ki!==null;){if(O=ki,O.flags&2048)try{switch(O.tag){case 0:case 11:case 15:jg(9,O)}}catch(c){Pl(O,O.return,c)}if(O===B){ki=null;break e}var f=O.sibling;if(f!==null){f.return=O.return,ki=f;break e}ki=O.return}}if(Ko=oe,Ad(),K0&&typeof K0.onPostCommitFiberRoot=="function")try{K0.onPostCommitFiberRoot(Ng,i)}catch{}Y=!0}return Y}finally{bs=R,s0.transition=y}}return!1}function ub(i,y,R){y=n1(R,y),y=Zw(i,y,1),i=hd(i,y,1),y=Of(),i!==null&&(Ip(i,1,y),mc(i,y))}function Pl(i,y,R){if(i.tag===3)ub(i,i,R);else for(;y!==null;){if(y.tag===3){ub(y,i,R);break}else if(y.tag===1){var Y=y.stateNode;if(typeof y.type.getDerivedStateFromError=="function"||typeof Y.componentDidCatch=="function"&&(dd===null||!dd.has(Y))){i=n1(R,i),i=jw(y,i,1),y=hd(y,i,1),i=Of(),y!==null&&(Ip(y,1,i),mc(y,i));break}}y=y.return}}function wk(i,y,R){var Y=i.pingCache;Y!==null&&Y.delete(y),y=Of(),i.pingedLanes|=i.suspendedLanes&R,Ou===i&&(ef&R)===R&&(vu===4||vu===3&&(ef&130023424)===ef&&500>Vl()-o4?Wd(i,0):i4|=R),mc(i,y)}function d9(i,y){y===0&&(i.mode&1?(y=xm,xm<<=1,!(xm&130023424)&&(xm=4194304)):y=1);var R=Of();i=kh(i,y),i!==null&&(Ip(i,y,R),mc(i,R))}function Tk(i){var y=i.memoizedState,R=0;y!==null&&(R=y.retryLane),d9(i,R)}function Ak(i,y){var R=0;switch(i.tag){case 13:var Y=i.stateNode,oe=i.memoizedState;oe!==null&&(R=oe.retryLane);break;case 19:Y=i.stateNode;break;default:throw Error(ei(314))}Y!==null&&Y.delete(y),d9(i,R)}var v9;v9=function(i,y,R){if(i!==null)if(i.memoizedProps!==y.pendingProps||vc.current)dc=!0;else{if(!(i.lanes&R)&&!(y.flags&128))return dc=!1,fk(i,y,R);dc=!!(i.flags&131072)}else dc=!1,qs&&y.flags&1048576&&gw(y,xg,y.index);switch(y.lanes=0,y.tag){case 2:var Y=y.type;Km(i,y),i=y.pendingProps;var oe=qv(y,mf.current);jv(y,R),oe=q3(null,y,Y,i,oe,R);var he=e4();return y.flags|=1,typeof oe=="object"&&oe!==null&&typeof oe.render=="function"&&oe.$$typeof===void 0?(y.tag=1,y.memoizedState=null,y.updateQueue=null,pc(Y)?(he=!0,gg(y)):he=!1,y.memoizedState=oe.state!==null&&oe.state!==void 0?oe.state:null,X3(y),oe.updater=Yg,y.stateNode=oe,oe._reactInternals=y,zx(y,Y,i,R),y=Ox(null,y,Y,!0,he,R)):(y.tag=0,qs&&he&&H3(y),Ff(null,y,oe,R),y=y.child),y;case 16:Y=y.elementType;e:{switch(Km(i,y),i=y.pendingProps,oe=Y._init,Y=oe(Y._payload),y.type=Y,oe=y.tag=Mk(Y),i=C0(Y,i),oe){case 0:y=Bx(null,y,Y,i,R);break e;case 1:y=q6(null,y,Y,i,R);break e;case 11:y=J6(null,y,Y,i,R);break e;case 14:y=Q6(null,y,Y,C0(Y.type,i),R);break e}throw Error(ei(306,Y,""))}return y;case 0:return Y=y.type,oe=y.pendingProps,oe=y.elementType===Y?oe:C0(Y,oe),Bx(i,y,Y,oe,R);case 1:return Y=y.type,oe=y.pendingProps,oe=y.elementType===Y?oe:C0(Y,oe),q6(i,y,Y,oe,R);case 3:e:{if(Jw(y),i===null)throw Error(ei(387));Y=y.pendingProps,he=y.memoizedState,oe=he.element,ww(i,y),Tg(y,Y,null,R);var B=y.memoizedState;if(Y=B.element,he.isDehydrated)if(he={element:Y,isDehydrated:!1,cache:B.cache,pendingSuspenseBoundaries:B.pendingSuspenseBoundaries,transitions:B.transitions},y.updateQueue.baseState=he,y.memoizedState=he,y.flags&256){oe=n1(Error(ei(423)),y),y=eb(i,y,Y,R,oe);break e}else if(Y!==oe){oe=n1(Error(ei(424)),y),y=eb(i,y,Y,R,oe);break e}else for(Fc=cd(y.stateNode.containerInfo.firstChild),Oc=y,qs=!0,L0=null,R=Mw(y,null,Y,R),y.child=R;R;)R.flags=R.flags&-3|4096,R=R.sibling;else{if(e1(),Y===oe){y=Lh(i,y,R);break e}Ff(i,y,Y,R)}y=y.child}return y;case 5:return Cw(y),i===null&&Dx(y),Y=y.type,oe=y.pendingProps,he=i!==null?i.memoizedProps:null,B=oe.children,Cx(Y,oe)?B=null:he!==null&&Cx(Y,he)&&(y.flags|=32),Kw(i,y),Ff(i,y,B,R),y.child;case 6:return i===null&&Dx(y),null;case 13:return Qw(i,y,R);case 4:return $3(y,y.stateNode.containerInfo),Y=y.pendingProps,i===null?y.child=t1(y,null,Y,R):Ff(i,y,Y,R),y.child;case 11:return Y=y.type,oe=y.pendingProps,oe=y.elementType===Y?oe:C0(Y,oe),J6(i,y,Y,oe,R);case 7:return Ff(i,y,y.pendingProps,R),y.child;case 8:return Ff(i,y,y.pendingProps.children,R),y.child;case 12:return Ff(i,y,y.pendingProps.children,R),y.child;case 10:e:{if(Y=y.type._context,oe=y.pendingProps,he=y.memoizedProps,B=oe.value,Hs(bg,Y._currentValue),Y._currentValue=B,he!==null)if(R0(he.value,B)){if(he.children===oe.children&&!vc.current){y=Lh(i,y,R);break e}}else for(he=y.child,he!==null&&(he.return=y);he!==null;){var O=he.dependencies;if(O!==null){B=he.child;for(var e=O.firstContext;e!==null;){if(e.context===Y){if(he.tag===1){e=Th(-1,R&-R),e.tag=2;var p=he.updateQueue;if(p!==null){p=p.shared;var E=p.pending;E===null?e.next=e:(e.next=E.next,E.next=e),p.pending=e}}he.lanes|=R,e=he.alternate,e!==null&&(e.lanes|=R),Rx(he.return,R,y),O.lanes|=R;break}e=e.next}}else if(he.tag===10)B=he.type===y.type?null:he.child;else if(he.tag===18){if(B=he.return,B===null)throw Error(ei(341));B.lanes|=R,O=B.alternate,O!==null&&(O.lanes|=R),Rx(B,R,y),B=he.sibling}else B=he.child;if(B!==null)B.return=he;else for(B=he;B!==null;){if(B===y){B=null;break}if(he=B.sibling,he!==null){he.return=B.return,B=he;break}B=B.return}he=B}Ff(i,y,oe.children,R),y=y.child}return y;case 9:return oe=y.type,Y=y.pendingProps.children,jv(y,R),oe=u0(oe),Y=Y(oe),y.flags|=1,Ff(i,y,Y,R),y.child;case 14:return Y=y.type,oe=C0(Y,y.pendingProps),oe=C0(Y.type,oe),Q6(i,y,Y,oe,R);case 15:return Xw(i,y,y.type,y.pendingProps,R);case 17:return Y=y.type,oe=y.pendingProps,oe=y.elementType===Y?oe:C0(Y,oe),Km(i,y),y.tag=1,pc(Y)?(i=!0,gg(y)):i=!1,jv(y,R),Aw(y,Y,oe),zx(y,Y,oe,R),Ox(null,y,Y,!0,i,R);case 19:return qw(i,y,R);case 22:return $w(i,y,R)}throw Error(ei(156,y.tag))};function p9(i,y){return H7(i,y)}function Sk(i,y,R,Y){this.tag=i,this.key=R,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=y,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function i0(i,y,R,Y){return new Sk(i,y,R,Y)}function f4(i){return i=i.prototype,!(!i||!i.isReactComponent)}function Mk(i){if(typeof i=="function")return f4(i)?1:0;if(i!=null){if(i=i.$$typeof,i===L3)return 11;if(i===P3)return 14}return 2}function pd(i,y){var R=i.alternate;return R===null?(R=i0(i.tag,y,i.key,i.mode),R.elementType=i.elementType,R.type=i.type,R.stateNode=i.stateNode,R.alternate=i,i.alternate=R):(R.pendingProps=y,R.type=i.type,R.flags=0,R.subtreeFlags=0,R.deletions=null),R.flags=i.flags&14680064,R.childLanes=i.childLanes,R.lanes=i.lanes,R.child=i.child,R.memoizedProps=i.memoizedProps,R.memoizedState=i.memoizedState,R.updateQueue=i.updateQueue,y=i.dependencies,R.dependencies=y===null?null:{lanes:y.lanes,firstContext:y.firstContext},R.sibling=i.sibling,R.index=i.index,R.ref=i.ref,R}function qm(i,y,R,Y,oe,he){var B=2;if(Y=i,typeof i=="function")f4(i)&&(B=1);else if(typeof i=="string")B=5;else e:switch(i){case Rv:return Yd(R.children,oe,he,y);case k3:B=8,oe|=8;break;case ax:return i=i0(12,R,y,oe|2),i.elementType=ax,i.lanes=he,i;case ix:return i=i0(13,R,y,oe),i.elementType=ix,i.lanes=he,i;case ox:return i=i0(19,R,y,oe),i.elementType=ox,i.lanes=he,i;case S7:return $g(R,oe,he,y);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case T7:B=10;break e;case A7:B=9;break e;case L3:B=11;break e;case P3:B=14;break e;case td:B=16,Y=null;break e}throw Error(ei(130,i==null?i:typeof i,""))}return y=i0(B,R,y,oe),y.elementType=i,y.type=Y,y.lanes=he,y}function Yd(i,y,R,Y){return i=i0(7,i,Y,y),i.lanes=R,i}function $g(i,y,R,Y){return i=i0(22,i,Y,y),i.elementType=S7,i.lanes=R,i.stateNode={isHidden:!1},i}function M2(i,y,R){return i=i0(6,i,null,y),i.lanes=R,i}function C2(i,y,R){return y=i0(4,i.children!==null?i.children:[],i.key,y),y.lanes=R,y.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},y}function Ck(i,y,R,Y,oe){this.tag=y,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=o2(0),this.expirationTimes=o2(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=o2(0),this.identifierPrefix=Y,this.onRecoverableError=oe,this.mutableSourceEagerHydrationData=null}function c4(i,y,R,Y,oe,he,B,O,e){return i=new Ck(i,y,R,O,e),y===1?(y=1,he===!0&&(y|=8)):y=0,he=i0(3,null,null,y),i.current=he,he.stateNode=i,he.memoizedState={element:Y,isDehydrated:R,cache:null,transitions:null,pendingSuspenseBoundaries:null},X3(he),i}function Ek(i,y,R){var Y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Dv,key:Y==null?null:""+Y,children:i,containerInfo:y,implementation:R}}function m9(i){if(!i)return gd;i=i._reactInternals;e:{if(qd(i)!==i||i.tag!==1)throw Error(ei(170));var y=i;do{switch(y.tag){case 3:y=y.stateNode.context;break e;case 1:if(pc(y.type)){y=y.stateNode.__reactInternalMemoizedMergedChildContext;break e}}y=y.return}while(y!==null);throw Error(ei(171))}if(i.tag===1){var R=i.type;if(pc(R))return pw(i,R,y)}return y}function g9(i,y,R,Y,oe,he,B,O,e){return i=c4(R,Y,!0,i,oe,he,B,O,e),i.context=m9(null),R=i.current,Y=Of(),oe=vd(R),he=Th(Y,oe),he.callback=y??null,hd(R,he,oe),i.current.lanes=oe,Ip(i,oe,Y),mc(i,Y),i}function Kg(i,y,R,Y){var oe=y.current,he=Of(),B=vd(oe);return R=m9(R),y.context===null?y.context=R:y.pendingContext=R,y=Th(he,B),y.payload={element:i},Y=Y===void 0?null:Y,Y!==null&&(y.callback=Y),i=hd(oe,y,B),i!==null&&(D0(i,oe,B,he),jm(i,oe,B)),B}function Pg(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function fb(i,y){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var R=i.retryLane;i.retryLane=R!==0&&R<y?R:y}}function h4(i,y){fb(i,y),(i=i.alternate)&&fb(i,y)}function kk(){return null}var y9=typeof reportError=="function"?reportError:function(i){console.error(i)};function d4(i){this._internalRoot=i}Jg.prototype.render=d4.prototype.render=function(i){var y=this._internalRoot;if(y===null)throw Error(ei(409));Kg(i,y,null,null)};Jg.prototype.unmount=d4.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var y=i.containerInfo;Kd(function(){Kg(null,i,null,null)}),y[Eh]=null}};function Jg(i){this._internalRoot=i}Jg.prototype.unstable_scheduleHydration=function(i){if(i){var y=X7();i={blockedOn:null,target:i,priority:y};for(var R=0;R<nd.length&&y!==0&&y<nd[R].priority;R++);nd.splice(R,0,i),R===0&&K7(i)}};function v4(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function Qg(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function cb(){}function Lk(i,y,R,Y,oe){if(oe){if(typeof Y=="function"){var he=Y;Y=function(){var p=Pg(B);he.call(p)}}var B=g9(y,Y,i,0,null,!1,!1,"",cb);return i._reactRootContainer=B,i[Eh]=B.current,mp(i.nodeType===8?i.parentNode:i),Kd(),B}for(;oe=i.lastChild;)i.removeChild(oe);if(typeof Y=="function"){var O=Y;Y=function(){var p=Pg(e);O.call(p)}}var e=c4(i,0,!1,null,null,!1,!1,"",cb);return i._reactRootContainer=e,i[Eh]=e.current,mp(i.nodeType===8?i.parentNode:i),Kd(function(){Kg(y,e,R,Y)}),e}function qg(i,y,R,Y,oe){var he=R._reactRootContainer;if(he){var B=he;if(typeof oe=="function"){var O=oe;oe=function(){var e=Pg(B);O.call(e)}}Kg(y,B,i,oe)}else B=Lk(R,y,i,oe,Y);return Pg(B)}Z7=function(i){switch(i.tag){case 3:var y=i.stateNode;if(y.current.memoizedState.isDehydrated){var R=Z1(y.pendingLanes);R!==0&&(I3(y,R|1),mc(y,Vl()),!(Ko&6)&&(a1=Vl()+500,Ad()))}break;case 13:Kd(function(){var Y=kh(i,1);if(Y!==null){var oe=Of();D0(Y,i,1,oe)}}),h4(i,1)}};z3=function(i){if(i.tag===13){var y=kh(i,134217728);if(y!==null){var R=Of();D0(y,i,134217728,R)}h4(i,134217728)}};j7=function(i){if(i.tag===13){var y=vd(i),R=kh(i,y);if(R!==null){var Y=Of();D0(R,i,y,Y)}h4(i,y)}};X7=function(){return bs};$7=function(i,y){var R=bs;try{return bs=i,y()}finally{bs=R}};mx=function(i,y,R){switch(y){case"input":if(ux(i,R),y=R.name,R.type==="radio"&&y!=null){for(R=i;R.parentNode;)R=R.parentNode;for(R=R.querySelectorAll("input[name="+JSON.stringify(""+y)+'][type="radio"]'),y=0;y<R.length;y++){var Y=R[y];if(Y!==i&&Y.form===i.form){var oe=Gg(Y);if(!oe)throw Error(ei(90));C7(Y),ux(Y,oe)}}}break;case"textarea":k7(i,R);break;case"select":y=R.value,y!=null&&Gv(i,!!R.multiple,y,!1)}};F7=s4;B7=Kd;var Pk={usingClientEntryPoint:!1,Events:[Fp,Bv,Gg,I7,z7,s4]},H1={findFiberByHostInstance:Ud,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Dk={bundleType:H1.bundleType,version:H1.version,rendererPackageName:H1.rendererPackageName,rendererConfig:H1.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ih.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=N7(i),i===null?null:i.stateNode},findFiberByHostInstance:H1.findFiberByHostInstance||kk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pm.isDisabled&&Pm.supportsFiber)try{Ng=Pm.inject(Dk),K0=Pm}catch{}}Nc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pk;Nc.createPortal=function(i,y){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v4(y))throw Error(ei(200));return Ek(i,y,null,R)};Nc.createRoot=function(i,y){if(!v4(i))throw Error(ei(299));var R=!1,Y="",oe=y9;return y!=null&&(y.unstable_strictMode===!0&&(R=!0),y.identifierPrefix!==void 0&&(Y=y.identifierPrefix),y.onRecoverableError!==void 0&&(oe=y.onRecoverableError)),y=c4(i,1,!1,null,null,R,!1,Y,oe),i[Eh]=y.current,mp(i.nodeType===8?i.parentNode:i),new d4(y)};Nc.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var y=i._reactInternals;if(y===void 0)throw typeof i.render=="function"?Error(ei(188)):(i=Object.keys(i).join(","),Error(ei(268,i)));return i=N7(y),i=i===null?null:i.stateNode,i};Nc.flushSync=function(i){return Kd(i)};Nc.hydrate=function(i,y,R){if(!Qg(y))throw Error(ei(200));return qg(null,i,y,!0,R)};Nc.hydrateRoot=function(i,y,R){if(!v4(i))throw Error(ei(405));var Y=R!=null&&R.hydratedSources||null,oe=!1,he="",B=y9;if(R!=null&&(R.unstable_strictMode===!0&&(oe=!0),R.identifierPrefix!==void 0&&(he=R.identifierPrefix),R.onRecoverableError!==void 0&&(B=R.onRecoverableError)),y=g9(y,null,i,1,R??null,oe,!1,he,B),i[Eh]=y.current,mp(i),Y)for(i=0;i<Y.length;i++)R=Y[i],oe=R._getVersion,oe=oe(R._source),y.mutableSourceEagerHydrationData==null?y.mutableSourceEagerHydrationData=[R,oe]:y.mutableSourceEagerHydrationData.push(R,oe);return new Jg(y)};Nc.render=function(i,y,R){if(!Qg(y))throw Error(ei(200));return qg(null,i,y,!1,R)};Nc.unmountComponentAtNode=function(i){if(!Qg(i))throw Error(ei(40));return i._reactRootContainer?(Kd(function(){qg(null,null,i,!1,function(){i._reactRootContainer=null,i[Eh]=null})}),!0):!1};Nc.unstable_batchedUpdates=s4;Nc.unstable_renderSubtreeIntoContainer=function(i,y,R,Y){if(!Qg(R))throw Error(ei(200));if(i==null||i._reactInternals===void 0)throw Error(ei(38));return qg(i,y,R,!1,Y)};Nc.version="18.2.0-next-9e3b772b8-20220608";function x9(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(x9)}catch(i){console.error(i)}}x9(),g7.exports=Nc;var Rk=g7.exports,hb=Rk;rx.createRoot=hb.createRoot,rx.hydrateRoot=hb.hydrateRoot;var Ik={exports:{}};/*! UIkit 3.17.1 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(i,y){(function(R,Y){i.exports=Y()})(o7,function(){const{hasOwnProperty:R,toString:Y}=Object.prototype;function oe(ne,Me){return R.call(ne,Me)}const he=/\B([A-Z])/g,B=J(ne=>ne.replace(he,"-$1").toLowerCase()),O=/-(\w)/g,e=J(ne=>(ne.charAt(0).toLowerCase()+ne.slice(1)).replace(O,(Me,Qe)=>Qe.toUpperCase())),p=J(ne=>ne.charAt(0).toUpperCase()+ne.slice(1));function E(ne,Me){var Qe;return(Qe=ne==null?void 0:ne.startsWith)==null?void 0:Qe.call(ne,Me)}function a(ne,Me){var Qe;return(Qe=ne==null?void 0:ne.endsWith)==null?void 0:Qe.call(ne,Me)}function L(ne,Me){var Qe;return(Qe=ne==null?void 0:ne.includes)==null?void 0:Qe.call(ne,Me)}function x(ne,Me){var Qe;return(Qe=ne==null?void 0:ne.findIndex)==null?void 0:Qe.call(ne,Me)}const{isArray:d,from:m}=Array,{assign:r}=Object;function t(ne){return typeof ne=="function"}function s(ne){return ne!==null&&typeof ne=="object"}function n(ne){return Y.call(ne)==="[object Object]"}function f(ne){return s(ne)&&ne===ne.window}function c(ne){return h(ne)===9}function u(ne){return h(ne)>=1}function b(ne){return h(ne)===1}function h(ne){return!f(ne)&&s(ne)&&ne.nodeType}function S(ne){return typeof ne=="boolean"}function v(ne){return typeof ne=="string"}function l(ne){return typeof ne=="number"}function g(ne){return l(ne)||v(ne)&&!isNaN(ne-parseFloat(ne))}function C(ne){return!(d(ne)?ne.length:s(ne)&&Object.keys(ne).length)}function M(ne){return ne===void 0}function D(ne){return S(ne)?ne:ne==="true"||ne==="1"||ne===""?!0:ne==="false"||ne==="0"?!1:ne}function T(ne){const Me=Number(ne);return isNaN(Me)?!1:Me}function P(ne){return parseFloat(ne)||0}function A(ne){return o(ne)[0]}function o(ne){return u(ne)?[ne]:Array.from(ne||[]).filter(u)}function k(ne){if(f(ne))return ne;ne=A(ne);const Me=c(ne)?ne:ne==null?void 0:ne.ownerDocument;return(Me==null?void 0:Me.defaultView)||window}function w(ne,Me){return ne===Me||s(ne)&&s(Me)&&Object.keys(ne).length===Object.keys(Me).length&&G(ne,(Qe,bt)=>Qe===Me[bt])}function U(ne,Me,Qe){return ne.replace(new RegExp(`${Me}|${Qe}`,"g"),bt=>bt===Me?Qe:Me)}function F(ne){return ne[ne.length-1]}function G(ne,Me){for(const Qe in ne)if(Me(ne[Qe],Qe)===!1)return!1;return!0}function _(ne,Me){return ne.slice().sort(({[Me]:Qe=0},{[Me]:bt=0})=>Qe>bt?1:bt>Qe?-1:0)}function H(ne,Me){return ne.reduce((Qe,bt)=>Qe+P(t(Me)?Me(bt):bt[Me]),0)}function V(ne,Me){const Qe=new Set;return ne.filter(({[Me]:bt})=>Qe.has(bt)?!1:Qe.add(bt))}function N(ne,Me){return Me.reduce((Qe,bt)=>({...Qe,[bt]:ne[bt]}),{})}function W(ne,Me=0,Qe=1){return Math.min(Math.max(T(ne)||0,Me),Qe)}function j(){}function Q(...ne){return[["bottom","top"],["right","left"]].every(([Me,Qe])=>Math.min(...ne.map(({[Me]:bt})=>bt))-Math.max(...ne.map(({[Qe]:bt})=>bt))>0)}function ie(ne,Me){return ne.x<=Me.right&&ne.x>=Me.left&&ne.y<=Me.bottom&&ne.y>=Me.top}function ue(ne,Me,Qe){const bt=Me==="width"?"height":"width";return{[bt]:ne[Me]?Math.round(Qe*ne[bt]/ne[Me]):ne[bt],[Me]:Qe}}function pe(ne,Me){ne={...ne};for(const Qe in ne)ne=ne[Qe]>Me[Qe]?ue(ne,Qe,Me[Qe]):ne;return ne}function q(ne,Me){ne=pe(ne,Me);for(const Qe in ne)ne=ne[Qe]<Me[Qe]?ue(ne,Qe,Me[Qe]):ne;return ne}const X={ratio:ue,contain:pe,cover:q};function K(ne,Me,Qe=0,bt=!1){Me=o(Me);const{length:Xt}=Me;return Xt?(ne=g(ne)?T(ne):ne==="next"?Qe+1:ne==="previous"?Qe-1:ne==="last"?Xt-1:Me.indexOf(A(ne)),bt?W(ne,0,Xt-1):(ne%=Xt,ne<0?ne+Xt:ne)):-1}function J(ne){const Me=Object.create(null);return Qe=>Me[Qe]||(Me[Qe]=ne(Qe))}function re(ne,Me,Qe){var bt;if(s(Me)){for(const Xt in Me)re(ne,Xt,Me[Xt]);return}if(M(Qe))return(bt=A(ne))==null?void 0:bt.getAttribute(Me);for(const Xt of o(ne))t(Qe)&&(Qe=Qe.call(Xt,re(Xt,Me))),Qe===null?te(Xt,Me):Xt.setAttribute(Me,Qe)}function fe(ne,Me){return o(ne).some(Qe=>Qe.hasAttribute(Me))}function te(ne,Me){o(ne).forEach(Qe=>Qe.removeAttribute(Me))}function ee(ne,Me){for(const Qe of[Me,`data-${Me}`])if(fe(ne,Qe))return re(ne,Qe)}function ce(ne,...Me){for(const Qe of o(ne)){const bt=We(Me).filter(Xt=>!Se(Qe,Xt));bt.length&&Qe.classList.add(...bt)}}function le(ne,...Me){for(const Qe of o(ne)){const bt=We(Me).filter(Xt=>Se(Qe,Xt));bt.length&&Qe.classList.remove(...bt)}}function me(ne,Me){Me=new RegExp(Me);for(const Qe of o(ne))Qe.classList.remove(...m(Qe.classList).filter(bt=>bt.match(Me)))}function we(ne,Me,Qe){Qe=We(Qe),Me=We(Me).filter(bt=>!L(Qe,bt)),le(ne,Me),ce(ne,Qe)}function Se(ne,Me){return[Me]=We(Me),o(ne).some(Qe=>Qe.classList.contains(Me))}function Ee(ne,Me,Qe){const bt=We(Me);M(Qe)||(Qe=!!Qe);for(const Xt of o(ne))for(const fr of bt)Xt.classList.toggle(fr,Qe)}function We(ne){return d(ne)?ne.map(We).flat():String(ne).split(/[ ,]/).filter(Boolean)}const Ye={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 De(ne){return o(ne).some(Me=>Ye[Me.tagName.toLowerCase()])}function Te(ne){return o(ne).some(Me=>Me.offsetWidth||Me.offsetHeight||Me.getClientRects().length)}const Re="input,select,textarea,button";function Xe(ne){return o(ne).some(Me=>ut(Me,Re))}const Je=`${Re},a[href],[tabindex]`;function He(ne){return ut(ne,Je)}function $e(ne){var Me;return(Me=A(ne))==null?void 0:Me.parentElement}function pt(ne,Me){return o(ne).filter(Qe=>ut(Qe,Me))}function ut(ne,Me){return o(ne).some(Qe=>Qe.matches(Me))}function lt(ne,Me){var Qe;return(Qe=A(ne))==null?void 0:Qe.closest(E(Me,">")?Me.slice(1):Me)}function ke(ne,Me){return v(Me)?!!lt(ne,Me):A(Me).contains(A(ne))}function Ne(ne,Me){const Qe=[];for(;ne=$e(ne);)(!Me||ut(ne,Me))&&Qe.push(ne);return Qe}function gt(ne,Me){ne=A(ne);const Qe=ne?m(ne.children):[];return Me?pt(Qe,Me):Qe}function qe(ne,Me){return Me?o(ne).indexOf(A(Me)):gt($e(ne)).indexOf(ne)}function vt(ne){return ne=A(ne),ne&&["origin","pathname","search"].every(Me=>ne[Me]===location[Me])}function Bt(ne){if(vt(ne)){ne=A(ne);const Me=decodeURIComponent(ne.hash).substring(1);return document.getElementById(Me)||document.getElementsByName(Me)[0]}}function Yt(ne,Me){return Ue(ne,Ce(ne,Me))}function it(ne,Me){return _e(ne,Ce(ne,Me))}function Ue(ne,Me){return A(Ae(ne,A(Me),"querySelector"))}function _e(ne,Me){return o(Ae(ne,A(Me),"querySelectorAll"))}const Ze=/(^|[^\\],)\s*[!>+~-]/,Fe=J(ne=>ne.match(Ze));function Ce(ne,Me=document){return v(ne)&&Fe(ne)||c(Me)?Me:Me.ownerDocument}const ve=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Ie=J(ne=>ne.replace(ve,"$1 *"));function Ae(ne,Me=document,Qe){if(!ne||!v(ne))return ne;if(ne=Ie(ne),Fe(ne)){const bt=ot(ne);ne="";for(let Xt of bt){let fr=Me;if(Xt[0]==="!"){const Nr=Xt.substr(1).trim().split(" ");if(fr=lt($e(Me),Nr[0]),Xt=Nr.slice(1).join(" ").trim(),!Xt.length&&bt.length===1)return fr}if(Xt[0]==="-"){const Nr=Xt.substr(1).trim().split(" "),ln=(fr||Me).previousElementSibling;fr=ut(ln,Xt.substr(1))?ln:null,Xt=Nr.slice(1).join(" ")}fr&&(ne+=`${ne?",":""}${ct(fr)} ${Xt}`)}Me=document}try{return Me[Qe](ne)}catch{return null}}const je=/.*?[^\\](?:,|$)/g,ot=J(ne=>ne.match(je).map(Me=>Me.replace(/,$/,"").trim()));function ct(ne){const Me=[];for(;ne.parentNode;){const Qe=re(ne,"id");if(Qe){Me.unshift(`#${Et(Qe)}`);break}else{let{tagName:bt}=ne;bt!=="HTML"&&(bt+=`:nth-child(${qe(ne)+1})`),Me.unshift(bt),ne=ne.parentNode}}return Me.join(" > ")}function Et(ne){return v(ne)?CSS.escape(ne):""}function kt(...ne){let[Me,Qe,bt,Xt,fr=!1]=vr(ne);Xt.length>1&&(Xt=Ct(Xt)),fr!=null&&fr.self&&(Xt=ir(Xt)),bt&&(Xt=Pr(bt,Xt));for(const Nr of Qe)for(const ln of Me)ln.addEventListener(Nr,Xt,fr);return()=>nr(Me,Qe,Xt,fr)}function nr(...ne){let[Me,Qe,,bt,Xt=!1]=vr(ne);for(const fr of Qe)for(const Nr of Me)Nr.removeEventListener(fr,bt,Xt)}function dr(...ne){const[Me,Qe,bt,Xt,fr=!1,Nr]=vr(ne),ln=kt(Me,Qe,bt,kn=>{const ea=!Nr||Nr(kn);ea&&(ln(),Xt(kn,ea))},fr);return ln}function Dt(ne,Me,Qe){return kr(ne).every(bt=>bt.dispatchEvent($t(Me,!0,!0,Qe)))}function $t(ne,Me=!0,Qe=!1,bt){return v(ne)&&(ne=new CustomEvent(ne,{bubbles:Me,cancelable:Qe,detail:bt})),ne}function vr(ne){return ne[0]=kr(ne[0]),v(ne[1])&&(ne[1]=ne[1].split(" ")),t(ne[2])&&ne.splice(2,0,!1),ne}function Pr(ne,Me){return Qe=>{const bt=ne[0]===">"?_e(ne,Qe.currentTarget).reverse().filter(Xt=>ke(Qe.target,Xt))[0]:lt(Qe.target,ne);bt&&(Qe.current=bt,Me.call(this,Qe),delete Qe.current)}}function Ct(ne){return Me=>d(Me.detail)?ne(Me,...Me.detail):ne(Me)}function ir(ne){return function(Me){if(Me.target===Me.currentTarget||Me.target===Me.current)return ne.call(null,Me)}}function cr(ne){return ne&&"addEventListener"in ne}function Or(ne){return cr(ne)?ne:A(ne)}function kr(ne){return d(ne)?ne.map(Or).filter(Boolean):v(ne)?_e(ne):cr(ne)?[ne]:o(ne)}function Mt(ne){return ne.pointerType==="touch"||!!ne.touches}function yt(ne){var Me,Qe;const{clientX:bt,clientY:Xt}=((Me=ne.touches)==null?void 0:Me[0])||((Qe=ne.changedTouches)==null?void 0:Qe[0])||ne;return{x:bt,y:Xt}}const Rt={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function wt(ne,Me,Qe,bt){const Xt=o(ne);for(const fr of Xt)if(v(Me)){if(Me=Ut(Me),M(Qe))return getComputedStyle(fr).getPropertyValue(Me);fr.style.setProperty(Me,g(Qe)&&!Rt[Me]?`${Qe}px`:Qe||l(Qe)?Qe:"",bt)}else if(d(Me)){const Nr={};for(const ln of Me)Nr[ln]=wt(fr,ln);return Nr}else s(Me)&&(bt=Qe,G(Me,(Nr,ln)=>wt(fr,ln,Nr,bt)));return Xt[0]}const Ut=J(ne=>Ht(ne));function Ht(ne){if(E(ne,"--"))return ne;ne=B(ne);const{style:Me}=document.documentElement;if(ne in Me)return ne;for(const Qe of["webkit","moz"]){const bt=`-${Qe}-${ne}`;if(bt in Me)return bt}}const Qt="uk-transition",qt="transitionend",ur="transitioncanceled";function Cr(ne,Me,Qe=400,bt="linear"){return Qe=Math.round(Qe),Promise.all(o(ne).map(Xt=>new Promise((fr,Nr)=>{for(const kn in Me){const ea=wt(Xt,kn);ea===""&&wt(Xt,kn,ea)}const ln=setTimeout(()=>Dt(Xt,qt),Qe);dr(Xt,[qt,ur],({type:kn})=>{clearTimeout(ln),le(Xt,Qt),wt(Xt,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),kn===ur?Nr():fr(Xt)},{self:!0}),ce(Xt,Qt),wt(Xt,{transitionProperty:Object.keys(Me).map(Ut).join(","),transitionDuration:`${Qe}ms`,transitionTimingFunction:bt,...Me})})))}const mr={start:Cr,async stop(ne){Dt(ne,qt),await Promise.resolve()},async cancel(ne){Dt(ne,ur),await Promise.resolve()},inProgress(ne){return Se(ne,Qt)}},Fr="uk-animation-",tt="animationend",et="animationcanceled";function Wt(ne,Me,Qe=200,bt,Xt){return Promise.all(o(ne).map(fr=>new Promise((Nr,ln)=>{Dt(fr,et);const kn=setTimeout(()=>Dt(fr,tt),Qe);dr(fr,[tt,et],({type:ea})=>{clearTimeout(kn),ea===et?ln():Nr(fr),wt(fr,"animationDuration",""),me(fr,`${Fr}\\S*`)},{self:!0}),wt(fr,"animationDuration",`${Qe}ms`),ce(fr,Me,Fr+(Xt?"leave":"enter")),E(Me,Fr)&&(bt&&ce(fr,`uk-transform-origin-${bt}`),Xt&&ce(fr,`${Fr}reverse`))})))}const Gt=new RegExp(`${Fr}(enter|leave)`),or={in:Wt,out(ne,Me,Qe,bt){return Wt(ne,Me,Qe,bt,!0)},inProgress(ne){return Gt.test(re(ne,"class"))},cancel(ne){Dt(ne,et)}};function wr(ne){if(document.readyState!=="loading"){ne();return}dr(document,"DOMContentLoaded",ne)}function Tr(ne,...Me){return Me.some(Qe=>{var bt;return((bt=ne==null?void 0:ne.tagName)==null?void 0:bt.toLowerCase())===Qe.toLowerCase()})}function br(ne){return ne=qr(ne),ne.innerHTML="",ne}function Kt(ne,Me){return M(Me)?qr(ne).innerHTML:Lr(br(ne),Me)}const Ir=cn("prepend"),Lr=cn("append"),Br=cn("before"),zr=cn("after");function cn(ne){return function(Me,Qe){var bt;const Xt=o(v(Qe)?Qn(Qe):Qe);return(bt=qr(Me))==null||bt[ne](...Xt),_r(Xt)}}function tn(ne){o(ne).forEach(Me=>Me.remove())}function an(ne,Me){for(Me=A(Br(ne,Me));Me.firstChild;)Me=Me.firstChild;return Lr(Me,ne),Me}function Wn(ne,Me){return o(o(ne).map(Qe=>Qe.hasChildNodes()?an(m(Qe.childNodes),Me):Lr(Qe,Me)))}function En(ne){o(ne).map($e).filter((Me,Qe,bt)=>bt.indexOf(Me)===Qe).forEach(Me=>Me.replaceWith(...Me.childNodes))}const pa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Qn(ne){const Me=pa.exec(ne);if(Me)return document.createElement(Me[1]);const Qe=document.createElement("template");return Qe.innerHTML=ne.trim(),_r(Qe.content.childNodes)}function _r(ne){return ne.length>1?ne:ne[0]}function Vr(ne,Me){if(b(ne))for(Me(ne),ne=ne.firstElementChild;ne;){const Qe=ne.nextElementSibling;Vr(ne,Me),ne=Qe}}function qr(ne,Me){return dn(ne)?A(Qn(ne)):Ue(ne,Me)}function lr(ne,Me){return dn(ne)?o(Qn(ne)):_e(ne,Me)}function dn(ne){return v(ne)&&E(ne.trim(),"<")}const zn={width:["left","right"],height:["top","bottom"]};function gn(ne){const Me=b(ne)?A(ne).getBoundingClientRect():{height:Sa(ne),width:_a(ne),top:0,left:0};return{height:Me.height,width:Me.width,top:Me.top,left:Me.left,bottom:Me.top+Me.height,right:Me.left+Me.width}}function Fn(ne,Me){Me&&wt(ne,{left:0,top:0});const Qe=gn(ne);if(ne){const{scrollY:bt,scrollX:Xt}=k(ne),fr={height:bt,width:Xt};for(const Nr in zn)for(const ln of zn[Nr])Qe[ln]+=fr[Nr]}if(!Me)return Qe;for(const bt of["left","top"])wt(ne,bt,Me[bt]-Qe[bt])}function fa(ne){let{top:Me,left:Qe}=Fn(ne);const{ownerDocument:{body:bt,documentElement:Xt},offsetParent:fr}=A(ne);let Nr=fr||Xt;for(;Nr&&(Nr===bt||Nr===Xt)&&wt(Nr,"position")==="static";)Nr=Nr.parentNode;if(b(Nr)){const ln=Fn(Nr);Me-=ln.top+P(wt(Nr,"borderTopWidth")),Qe-=ln.left+P(wt(Nr,"borderLeftWidth"))}return{top:Me-P(wt(ne,"marginTop")),left:Qe-P(wt(ne,"marginLeft"))}}function Ma(ne){ne=A(ne);const Me=[ne.offsetTop,ne.offsetLeft];for(;ne=ne.offsetParent;)if(Me[0]+=ne.offsetTop+P(wt(ne,"borderTopWidth")),Me[1]+=ne.offsetLeft+P(wt(ne,"borderLeftWidth")),wt(ne,"position")==="fixed"){const Qe=k(ne);return Me[0]+=Qe.scrollY,Me[1]+=Qe.scrollX,Me}return Me}const Sa=qn("height"),_a=qn("width");function qn(ne){const Me=p(ne);return(Qe,bt)=>{if(M(bt)){if(f(Qe))return Qe[`inner${Me}`];if(c(Qe)){const Xt=Qe.documentElement;return Math.max(Xt[`offset${Me}`],Xt[`scroll${Me}`])}return Qe=A(Qe),bt=wt(Qe,ne),bt=bt==="auto"?Qe[`offset${Me}`]:P(bt)||0,bt-La(Qe,ne)}else return wt(Qe,ne,!bt&&bt!==0?"":+bt+La(Qe,ne)+"px")}}function La(ne,Me,Qe="border-box"){return wt(ne,"boxSizing")===Qe?H(zn[Me].map(p),bt=>P(wt(ne,`padding${bt}`))+P(wt(ne,`border${bt}Width`))):0}function Xr(ne){for(const Me in zn)for(const Qe in zn[Me])if(zn[Me][Qe]===ne)return zn[Me][1-Qe];return ne}function An(ne,Me="width",Qe=window,bt=!1){return v(ne)?H(jn(ne),Xt=>{const fr=la(Xt);return fr?ua(fr==="vh"?ci():fr==="vw"?_a(k(Qe)):bt?Qe[`offset${p(Me)}`]:gn(Qe)[Me],Xt):Xt}):P(ne)}const In=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,jn=J(ne=>ne.toString().replace(/\s/g,"").match(In)||[]),ba=/(?:v[hw]|%)$/,la=J(ne=>(ne.match(ba)||[])[0]);function ua(ne,Me){return ne*P(Me)/100}let va,Oa;function ci(){return va||(Oa||(Oa=qr("<div>"),wt(Oa,{height:"100vh",position:"fixed"}),kt(window,"resize",()=>va=null)),Lr(document.body,Oa),va=Oa.clientHeight,tn(Oa),va)}const Ni=typeof window<"u",sr=Ni&&document.dir==="rtl",Gr=Ni&&"ontouchstart"in window,yn=Ni&&window.PointerEvent,Bn=yn?"pointerdown":Gr?"touchstart":"mousedown",Nn=yn?"pointermove":Gr?"touchmove":"mousemove",ta=yn?"pointerup":Gr?"touchend":"mouseup",Yn=yn?"pointerenter":Gr?"":"mouseenter",On=yn?"pointerleave":Gr?"":"mouseleave",en=yn?"pointercancel":"touchcancel",pr={reads:[],writes:[],read(ne){return this.reads.push(ne),ha(),ne},write(ne){return this.writes.push(ne),ha(),ne},clear(ne){Gn(this.reads,ne),Gn(this.writes,ne)},flush:nn};function nn(ne){ya(pr.reads),ya(pr.writes.splice(0)),pr.scheduled=!1,(pr.reads.length||pr.writes.length)&&ha(ne+1)}const Vn=4;function ha(ne){pr.scheduled||(pr.scheduled=!0,ne&&ne<Vn?Promise.resolve().then(()=>nn(ne)):requestAnimationFrame(()=>nn(1)))}function ya(ne){let Me;for(;Me=ne.shift();)try{Me()}catch(Qe){console.error(Qe)}}function Gn(ne,Me){const Qe=ne.indexOf(Me);return~Qe&&ne.splice(Qe,1)}function na(){}na.prototype={positions:[],init(){this.positions=[];let ne;this.unbind=kt(document,"mousemove",Me=>ne=yt(Me)),this.interval=setInterval(()=>{ne&&(this.positions.push(ne),this.positions.length>5&&this.positions.shift())},50)},cancel(){var ne;(ne=this.unbind)==null||ne.call(this),clearInterval(this.interval)},movesTo(ne){if(this.positions.length<2)return!1;const Me=ne.getBoundingClientRect(),{left:Qe,right:bt,top:Xt,bottom:fr}=Me,[Nr]=this.positions,ln=F(this.positions),kn=[Nr,ln];return ie(ln,Me)?!1:[[{x:Qe,y:Xt},{x:bt,y:fr}],[{x:Qe,y:fr},{x:bt,y:Xt}]].some(ea=>{const sa=za(kn,ea);return sa&&ie(sa,Me)})}};function za([{x:ne,y:Me},{x:Qe,y:bt}],[{x:Xt,y:fr},{x:Nr,y:ln}]){const kn=(ln-fr)*(Qe-ne)-(Nr-Xt)*(bt-Me);if(kn===0)return!1;const ea=((Nr-Xt)*(Me-fr)-(ln-fr)*(ne-Xt))/kn;return ea<0?!1:{x:ne+ea*(Qe-ne),y:Me+ea*(bt-Me)}}function Ya(ne,Me,Qe={},{intersecting:bt=!0}={}){const Xt=new IntersectionObserver(bt?(fr,Nr)=>{fr.some(ln=>ln.isIntersecting)&&Me(fr,Nr)}:Me,Qe);for(const fr of o(ne))Xt.observe(fr);return Xt}const Va=Ni&&window.ResizeObserver;function Ua(ne,Me,Qe={box:"border-box"}){if(Va)return Es(ResizeObserver,ne,Me,Qe);const bt=[kt(window,"load resize",Me),kt(document,"loadedmetadata load",Me,!0)];return{disconnect:()=>bt.map(Xt=>Xt())}}function $a(ne){return{disconnect:kt([window,window.visualViewport],"resize",ne)}}function hs(ne,Me,Qe){return Es(MutationObserver,ne,Me,Qe)}function Es(ne,Me,Qe,bt){const Xt=new ne(Qe);for(const fr of o(Me))Xt.observe(fr,bt);return Xt}function Is(ne){Ui(ne)&&Ts(ne,{func:"playVideo",method:"play"}),Vi(ne)&&ne.play()}function Gs(ne){Ui(ne)&&Ts(ne,{func:"pauseVideo",method:"pause"}),Vi(ne)&&ne.pause()}function zs(ne){Ui(ne)&&Ts(ne,{func:"mute",method:"setVolume",value:0}),Vi(ne)&&(ne.muted=!0)}function Hf(ne){return Vi(ne)||Ui(ne)}function Vi(ne){return Tr(ne,"video")}function Ui(ne){return Tr(ne,"iframe")&&(nu(ne)||Qo(ne))}function nu(ne){return!!ne.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Qo(ne){return!!ne.src.match(/vimeo\.com\/video\/.*/)}async function Ts(ne,Me){await gf(ne),Vf(ne,Me)}function Vf(ne,Me){ne.contentWindow.postMessage(JSON.stringify({event:"command",...Me}),"*")}const _u="_ukPlayer";let Po=0;function gf(ne){if(ne[_u])return ne[_u];const Me=nu(ne),Qe=Qo(ne),bt=++Po;let Xt;return ne[_u]=new Promise(fr=>{Me&&dr(ne,"load",()=>{const Nr=()=>Vf(ne,{event:"listening",id:bt});Xt=setInterval(Nr,100),Nr()}),dr(window,"message",fr,!1,({data:Nr})=>{try{return Nr=JSON.parse(Nr),Me&&(Nr==null?void 0:Nr.id)===bt&&Nr.event==="onReady"||Qe&&Number(Nr==null?void 0:Nr.player_id)===bt}catch{}}),ne.src=`${ne.src}${L(ne.src,"?")?"&":"?"}${Me?"enablejsapi=1":`api=1&player_id=${bt}`}`}).then(()=>clearInterval(Xt))}function Fs(ne,Me=0,Qe=0){return Te(ne)?Q(...ks(ne).map(bt=>{const{top:Xt,left:fr,bottom:Nr,right:ln}=qo(bt);return{top:Xt-Me,left:fr-Qe,bottom:Nr+Me,right:ln+Qe}}).concat(Fn(ne))):!1}function ts(ne,{offset:Me=0}={}){const Qe=Te(ne)?rs(ne,!1,["hidden"]):[];return Qe.reduce((ln,kn,ea)=>{const{scrollTop:sa,scrollHeight:li,offsetHeight:pi}=kn,zi=qo(kn),qi=li-zi.height,{height:No,top:_s}=Qe[ea-1]?qo(Qe[ea-1]):Fn(ne);let Ru=Math.ceil(_s-zi.top-Me+sa);return Me>0&&pi<No+Me?Ru+=Me:Me=0,Ru>qi?(Me-=Ru-qi,Ru=qi):Ru<0&&(Me-=Ru,Ru=0),()=>bt(kn,Ru-sa,ne,qi).then(ln)},()=>Promise.resolve())();function bt(ln,kn,ea,sa){return new Promise(li=>{const pi=ln.scrollTop,zi=Xt(Math.abs(kn)),qi=Date.now(),No=Fn(ea).top;let _s=0,Ru=15;(function fh(){const N0=fr(W((Date.now()-qi)/zi));let Df=0;if(Qe[0]===ln&&pi+kn<sa){Df=Fn(ea).top-No;const Wh=Nr(ea);Df-=Wh?Fn(Wh).height:0}ln.scrollTop=Math[kn+Df>0?"max":"min"](ln.scrollTop,pi+(kn+Df)*N0),N0===1&&(_s===Df||!Ru--)?li():(_s=Df,requestAnimationFrame(fh))})()})}function Xt(ln){return 40*Math.pow(ln,.375)}function fr(ln){return .5*(1-Math.cos(Math.PI*ln))}function Nr(ln){return ln.ownerDocument.elementsFromPoint(0,0).find(kn=>["fixed","sticky"].includes(wt(kn,"position"))&&!kn.contains(ln))}}function Ws(ne,Me=0,Qe=0){if(!Te(ne))return 0;const bt=ns(ne,!0),{scrollHeight:Xt,scrollTop:fr}=bt,{height:Nr}=qo(bt),ln=Xt-Nr,kn=Ma(ne)[0]-Ma(bt)[0],ea=Math.max(0,kn-Nr+Me),sa=Math.min(ln,kn+ne.offsetHeight-Qe);return W((fr-ea)/(sa-ea))}function rs(ne,Me=!1,Qe=[]){const bt=us(ne);let Xt=Ne(ne).reverse();Xt=Xt.slice(Xt.indexOf(bt)+1);const fr=x(Xt,Nr=>wt(Nr,"position")==="fixed");return~fr&&(Xt=Xt.slice(fr)),[bt].concat(Xt.filter(Nr=>wt(Nr,"overflow").split(" ").some(ln=>L(["auto","scroll",...Qe],ln))&&(!Me||Nr.scrollHeight>qo(Nr).height))).reverse()}function ns(...ne){return rs(...ne)[0]}function ks(ne){return rs(ne,!1,["hidden","clip"])}function qo(ne){const Me=k(ne),{visualViewport:Qe,document:{documentElement:bt}}=Me;let Xt=ne===us(ne)?Me:ne;if(f(Xt)&&Qe){let{height:Nr,width:ln,scale:kn,pageTop:ea,pageLeft:sa}=Qe;return Nr=Math.round(Nr*kn),ln=Math.round(ln*kn),{height:Nr,width:ln,top:ea,left:sa,bottom:ea+Nr,right:sa+ln}}let fr=Fn(Xt);if(wt(Xt,"display")==="inline")return fr;for(let[Nr,ln,kn,ea]of[["width","x","left","right"],["height","y","top","bottom"]]){f(Xt)?Xt=bt:fr[kn]+=P(wt(Xt,`border-${kn}-width`));const sa=fr[Nr]%1;fr[Nr]=fr[ln]=Xt[`client${p(Nr)}`]-(sa?sa<.5?-sa:1-sa:0),fr[ea]=fr[Nr]+fr[kn]}return fr}function us(ne){return k(ne).document.scrollingElement}const Ys=[["width","x","left","right"],["height","y","top","bottom"]];function Dl(ne,Me,Qe){Qe={attach:{element:["left","top"],target:["left","top"],...Qe.attach},offset:[0,0],placement:[],...Qe},d(Me)||(Me=[Me,Me]),Fn(ne,ds(ne,Me,Qe))}function ds(ne,Me,Qe){const bt=mu(ne,Me,Qe),{boundary:Xt,viewportOffset:fr=0,placement:Nr}=Qe;let ln=bt;for(const[kn,[ea,,sa,li]]of Object.entries(Ys)){const pi=xc(ne,Me[kn],fr,Xt,kn);if(rf(bt,pi,kn))continue;let zi=0;if(Nr[kn]==="flip"){const qi=Qe.attach.target[kn];if(qi===li&&bt[li]<=pi[li]||qi===sa&&bt[sa]>=pi[sa])continue;zi=Tc(ne,Me,Qe,kn)[sa]-bt[sa];const No=bc(ne,Me[kn],fr,kn);if(!rf(tl(bt,zi,kn),No,kn)){if(rf(bt,No,kn))continue;if(Qe.recursion)return!1;const _s=Gf(ne,Me,Qe);if(_s&&rf(_s,No,1-kn))return _s;continue}}else if(Nr[kn]==="shift"){const qi=Fn(Me[kn]),{offset:No}=Qe;zi=W(W(bt[sa],pi[sa],pi[li]-bt[ea]),qi[sa]-bt[ea]+No[kn],qi[li]-No[kn])-bt[sa]}ln=tl(ln,zi,kn)}return ln}function mu(ne,Me,Qe){let{attach:bt,offset:Xt}={attach:{element:["left","top"],target:["left","top"],...Qe.attach},offset:[0,0],...Qe},fr=Fn(ne);for(const[Nr,[ln,,kn,ea]]of Object.entries(Ys)){const sa=bt.target[Nr]===bt.element[Nr]?qo(Me[Nr]):Fn(Me[Nr]);fr=tl(fr,sa[kn]-fr[kn]+ml(bt.target[Nr],ea,sa[ln])-ml(bt.element[Nr],ea,fr[ln])+ +Xt[Nr],Nr)}return fr}function tl(ne,Me,Qe){const[,bt,Xt,fr]=Ys[Qe],Nr={...ne};return Nr[Xt]=ne[bt]=ne[Xt]+Me,Nr[fr]+=Me,Nr}function ml(ne,Me,Qe){return ne==="center"?Qe/2:ne===Me?Qe:0}function xc(ne,Me,Qe,bt,Xt){let fr=gu(...wc(ne,Me).map(qo));return Qe&&(fr[Ys[Xt][2]]+=Qe,fr[Ys[Xt][3]]-=Qe),bt&&(fr=gu(fr,Fn(d(bt)?bt[Xt]:bt))),fr}function bc(ne,Me,Qe,bt){const[Xt,fr,Nr,ln]=Ys[bt],[kn]=wc(ne,Me),ea=qo(kn);return["auto","scroll"].includes(wt(kn,`overflow-${fr}`))&&(ea[Nr]-=kn[`scroll${p(Nr)}`],ea[ln]=ea[Nr]+kn[`scroll${p(Xt)}`]),ea[Nr]+=Qe,ea[ln]-=Qe,ea}function wc(ne,Me){return ks(Me).filter(Qe=>ke(ne,Qe))}function gu(...ne){let Me={};for(const Qe of ne)for(const[,,bt,Xt]of Ys)Me[bt]=Math.max(Me[bt]||0,Qe[bt]),Me[Xt]=Math.min(...[Me[Xt],Qe[Xt]].filter(Boolean));return Me}function rf(ne,Me,Qe){const[,,bt,Xt]=Ys[Qe];return ne[bt]>=Me[bt]&&ne[Xt]<=Me[Xt]}function Tc(ne,Me,{offset:Qe,attach:bt},Xt){return mu(ne,Me,{attach:{element:Wf(bt.element,Xt),target:Wf(bt.target,Xt)},offset:Gc(Qe,Xt)})}function Gf(ne,Me,Qe){return ds(ne,Me,{...Qe,attach:{element:Qe.attach.element.map(Vc).reverse(),target:Qe.attach.target.map(Vc).reverse()},offset:Qe.offset.reverse(),placement:Qe.placement.reverse(),recursion:!0})}function Wf(ne,Me){const Qe=[...ne],bt=Ys[Me].indexOf(ne[Me]);return~bt&&(Qe[Me]=Ys[Me][1-bt%2+2]),Qe}function Vc(ne){for(let Me=0;Me<Ys.length;Me++){const Qe=Ys[Me].indexOf(ne);if(~Qe)return Ys[1-Me][Qe%2+2]}}function Gc(ne,Me){return ne=[...ne],ne[Me]*=-1,ne}var Yf=Object.freeze({__proto__:null,$:qr,$$:lr,Animation:or,Dimensions:X,MouseTracker:na,Transition:mr,addClass:ce,after:zr,append:Lr,apply:Vr,assign:r,attr:re,before:Br,boxModelAdjust:La,camelize:e,children:gt,clamp:W,closest:lt,createEvent:$t,css:wt,data:ee,dimensions:gn,each:G,empty:br,endsWith:a,escape:Et,fastdom:pr,filter:pt,find:Ue,findAll:_e,findIndex:x,flipPosition:Xr,fragment:Qn,getEventPos:yt,getIndex:K,getTargetedElement:Bt,hasAttr:fe,hasClass:Se,hasOwn:oe,hasTouch:Gr,height:Sa,html:Kt,hyphenate:B,inBrowser:Ni,includes:L,index:qe,intersectRect:Q,isArray:d,isBoolean:S,isDocument:c,isElement:b,isEmpty:C,isEqual:w,isFocusable:He,isFunction:t,isInView:Fs,isInput:Xe,isNode:u,isNumber:l,isNumeric:g,isObject:s,isPlainObject:n,isRtl:sr,isSameSiteAnchor:vt,isString:v,isTag:Tr,isTouch:Mt,isUndefined:M,isVideo:Hf,isVisible:Te,isVoidElement:De,isWindow:f,last:F,matches:ut,memoize:J,mute:zs,noop:j,observeIntersection:Ya,observeMutation:hs,observeResize:Ua,observeViewportResize:$a,off:nr,offset:Fn,offsetPosition:Ma,offsetViewport:qo,on:kt,once:dr,overflowParents:ks,parent:$e,parents:Ne,pause:Gs,pick:N,play:Is,pointInRect:ie,pointerCancel:en,pointerDown:Bn,pointerEnter:Yn,pointerLeave:On,pointerMove:Nn,pointerUp:ta,position:fa,positionAt:Dl,prepend:Ir,propName:Ut,query:Yt,queryAll:it,ready:wr,remove:tn,removeAttr:te,removeClass:le,removeClasses:me,replaceClass:we,scrollIntoView:ts,scrollParent:ns,scrollParents:rs,scrolledOver:Ws,selFocusable:Je,selInput:Re,sortBy:_,startsWith:E,sumBy:H,swap:U,toArray:m,toBoolean:D,toEventTargets:kr,toFloat:P,toNode:A,toNodes:o,toNumber:T,toPx:An,toWindow:k,toggleClass:Ee,trigger:Dt,ucfirst:p,uniqueBy:V,unwrap:En,width:_a,within:ke,wrapAll:an,wrapInner:Wn}),Bs={connected(){ce(this.$el,this.$options.id)}};const Ac=["days","hours","minutes","seconds"];var Sc={mixins:[Bs],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".uk-countdown-%unit%",role:"timer"},connected(){re(this.$el,"role",this.role),this.date=P(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(Dt(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),Dt(this.$el,"countdownstop"),this.timer=null)},update(){const ne=yu(this.date);ne.total||(this.stop(),this.end||(Dt(this.$el,"countdownend"),this.end=!0));for(const Me of Ac){const Qe=qr(this.clsWrapper.replace("%unit%",Me),this.$el);if(!Qe)continue;let bt=String(Math.trunc(ne[Me]));bt=bt.length<2?`0${bt}`:bt,Qe.textContent!==bt&&(bt=bt.split(""),bt.length!==Qe.children.length&&Kt(Qe,bt.map(()=>"<span></span>").join("")),bt.forEach((Xt,fr)=>Qe.children[fr].textContent=Xt))}}}};function yu(ne){const Me=Math.max(0,ne-Date.now())/1e3;return{total:Me,seconds:Me%60,minutes:Me/60%60,hours:Me/60/60%24,days:Me/60/60/24}}const Fo={};Fo.events=Fo.watch=Fo.observe=Fo.created=Fo.beforeConnect=Fo.connected=Fo.beforeDisconnect=Fo.disconnected=Fo.destroy=Wl,Fo.args=function(ne,Me){return Me!==!1&&Wl(Me||ne)},Fo.update=function(ne,Me){return _(Wl(ne,t(Me)?{read:Me}:Me),"order")},Fo.props=function(ne,Me){if(d(Me)){const Qe={};for(const bt of Me)Qe[bt]=String;Me=Qe}return Fo.methods(ne,Me)},Fo.computed=Fo.methods=function(ne,Me){return Me?ne?{...ne,...Me}:Me:ne},Fo.i18n=Fo.data=function(ne,Me,Qe){return Qe?xu(ne,Me,Qe):Me?ne?function(bt){return xu(ne,Me,bt)}:Me:ne};function xu(ne,Me,Qe){return Fo.computed(t(ne)?ne.call(Qe,Qe):ne,t(Me)?Me.call(Qe,Qe):Me)}function Wl(ne,Me){return ne=ne&&!d(ne)?[ne]:ne,Me?ne?ne.concat(Me):d(Me)?Me:[Me]:ne}function m0(ne,Me){return M(Me)?ne:Me}function rl(ne,Me,Qe){const bt={};if(t(Me)&&(Me=Me.options),Me.extends&&(ne=rl(ne,Me.extends,Qe)),Me.mixins)for(const fr of Me.mixins)ne=rl(ne,fr,Qe);for(const fr in ne)Xt(fr);for(const fr in Me)oe(ne,fr)||Xt(fr);function Xt(fr){bt[fr]=(Fo[fr]||m0)(ne[fr],Me[fr],Qe)}return bt}function nf(ne,Me=[]){try{return ne?E(ne,"{")?JSON.parse(ne):Me.length&&!L(ne,":")?{[Me[0]]:ne}:ne.split(";").reduce((Qe,bt)=>{const[Xt,fr]=bt.split(/:(.*)/);return Xt&&!M(fr)&&(Qe[Xt.trim()]=fr.trim()),Qe},{}):{}}catch{return{}}}function af(ne,Me){return ne===Boolean?D(Me):ne===Number?T(Me):ne==="list"?g0(Me):ne===Object&&v(Me)?nf(Me):ne?ne(Me):Me}function g0(ne){return d(ne)?ne:v(ne)?ne.split(/,(?![^(]*\))/).map(Me=>g(Me)?T(Me):D(Me.trim())):[ne]}function Uo(ne){return Rl(Ua,ne,"resize")}function nl(ne){return Rl(Ya,ne)}function Nu(ne){return Rl(hs,ne)}function vs(ne={}){return nl({handler:function(Me,Qe){const{targets:bt=this.$el,preload:Xt=5}=ne;for(const fr of o(t(bt)?bt(this):bt))lr('[loading="lazy"]',fr).slice(0,Xt-1).forEach(Nr=>te(Nr,"loading"));for(const fr of Me.filter(({isIntersecting:Nr})=>Nr).map(({target:Nr})=>Nr))Qe.unobserve(fr)},...ne})}function al(ne){return Rl((Me,Qe)=>$a(Qe),ne)}function yl(ne){return Rl((Me,Qe)=>({disconnect:kt(Ho(Me),"scroll",Qe,{passive:!0})}),ne,"scroll")}function Uu(ne){return{observe(Me,Qe){return{observe:j,unobserve:j,disconnect:kt(Me,Bn,Qe,{passive:!0})}},handler(Me){if(!Mt(Me))return;const Qe=yt(Me),bt="tagName"in Me.target?Me.target:$e(Me.target);dr(document,`${ta} ${en} scroll`,Xt=>{const{x:fr,y:Nr}=yt(Xt);(Xt.type!=="scroll"&&bt&&fr&&Math.abs(Qe.x-fr)>100||Nr&&Math.abs(Qe.y-Nr)>100)&&setTimeout(()=>{Dt(bt,"swipe"),Dt(bt,`swipe${Yl(Qe.x,Qe.y,fr,Nr)}`)})})},...ne}}function Rl(ne,Me,Qe){return{observe:ne,handler(){this.$emit(Qe)},...Me}}function Yl(ne,Me,Qe,bt){return Math.abs(ne-Qe)>=Math.abs(Me-bt)?ne-Qe>0?"Left":"Right":Me-bt>0?"Up":"Down"}function Ho(ne){return o(ne).map(Me=>{const{ownerDocument:Qe}=Me,bt=ns(Me,!0);return bt===Qe.scrollingElement?Qe:bt})}var yf={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},observe:[Nu({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),Uo({target:({$el:ne})=>[ne,...gt(ne)]})],update:{read(){return{rows:Zs(m(this.$el.children))}},write({rows:ne}){for(const Me of ne)for(const Qe of Me)Ee(Qe,this.margin,ne[0]!==Me),Ee(Qe,this.firstColumn,Me[sr?Me.length-1:0]===Qe)},events:["resize"]}};function Zs(ne){const Me=[[]],Qe=ne.some((bt,Xt)=>Xt&&ne[Xt-1].offsetParent!==bt.offsetParent);for(const bt of ne){if(!Te(bt))continue;const Xt=au(bt,Qe);for(let fr=Me.length-1;fr>=0;fr--){const Nr=Me[fr];if(!Nr[0]){Nr.push(bt);break}const ln=au(Nr[0],Qe);if(Xt.top>=ln.bottom-1&&Xt.top!==ln.top){Me.push([bt]);break}if(Xt.bottom-1>ln.top||Xt.top===ln.top){let kn=Nr.length-1;for(;kn>=0;kn--){const ea=au(Nr[kn],Qe);if(Xt.left>=ea.left)break}Nr.splice(kn+1,0,bt);break}if(fr===0){Me.unshift([bt]);break}}}return Me}function au(ne,Me=!1){let{offsetTop:Qe,offsetLeft:bt,offsetHeight:Xt,offsetWidth:fr}=ne;return Me&&([Qe,bt]=Ma(ne)),{top:Qe,left:bt,bottom:Qe+Xt,right:bt+fr}}const Hu="uk-transition-leave",Il="uk-transition-enter";function iu(ne,Me,Qe,bt=0){const Xt=As(Me,!0),fr={opacity:1},Nr={opacity:0},ln=sa=>()=>Xt===As(Me)?sa():Promise.reject(),kn=ln(async()=>{ce(Me,Hu),await Promise.all(Js(Me).map((sa,li)=>new Promise(pi=>setTimeout(()=>mr.start(sa,Nr,Qe/2,"ease").then(pi),li*bt)))),le(Me,Hu)}),ea=ln(async()=>{const sa=Sa(Me);ce(Me,Il),ne(),wt(gt(Me),{opacity:0}),await Wc();const li=gt(Me),pi=Sa(Me);wt(Me,"alignContent","flex-start"),Sa(Me,sa);const zi=Js(Me);wt(li,Nr);const qi=zi.map(async(No,_s)=>{await Mc(_s*bt),await mr.start(No,fr,Qe/2,"ease")});sa!==pi&&qi.push(mr.start(Me,{height:pi},Qe/2+zi.length*bt,"ease")),await Promise.all(qi).then(()=>{le(Me,Il),Xt===As(Me)&&(wt(Me,{height:"",alignContent:""}),wt(li,{opacity:""}),delete Me.dataset.transition)})});return Se(Me,Hu)?ps(Me).then(ea):Se(Me,Il)?ps(Me).then(kn).then(ea):kn().then(ea)}function As(ne,Me){return Me&&(ne.dataset.transition=1+As(ne)),T(ne.dataset.transition)||0}function ps(ne){return Promise.all(gt(ne).filter(mr.inProgress).map(Me=>new Promise(Qe=>dr(Me,"transitionend transitioncanceled",Qe))))}function Js(ne){return Zs(gt(ne)).flat().filter(Fs)}function Wc(){return new Promise(ne=>requestAnimationFrame(ne))}function Mc(ne){return new Promise(Me=>setTimeout(Me,ne))}async function Yc(ne,Me,Qe){await Vu();let bt=gt(Me);const Xt=bt.map(pi=>xf(pi,!0)),fr={...wt(Me,["height","padding"]),display:"block"};await Promise.all(bt.concat(Me).map(mr.cancel)),ne(),bt=bt.concat(gt(Me).filter(pi=>!L(bt,pi))),await Promise.resolve(),pr.flush();const Nr=re(Me,"style"),ln=wt(Me,["height","padding"]),[kn,ea]=of(Me,bt,Xt),sa=bt.map(pi=>({style:re(pi,"style")}));bt.forEach((pi,zi)=>ea[zi]&&wt(pi,ea[zi])),wt(Me,fr),Dt(Me,"scroll"),pr.flush(),await Vu();const li=bt.map((pi,zi)=>$e(pi)===Me&&mr.start(pi,kn[zi],Qe,"ease")).concat(mr.start(Me,ln,Qe,"ease"));try{await Promise.all(li),bt.forEach((pi,zi)=>{re(pi,sa[zi]),$e(pi)===Me&&wt(pi,"display",kn[zi].opacity===0?"none":"")}),re(Me,"style",Nr)}catch{re(bt,"style",""),Zf(Me,fr)}}function xf(ne,Me){const Qe=wt(ne,"zIndex");return Te(ne)?{display:"",opacity:Me?wt(ne,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:Qe==="auto"?qe(ne):Qe,...sf(ne)}:!1}function of(ne,Me,Qe){const bt=Me.map((fr,Nr)=>$e(fr)&&Nr in Qe?Qe[Nr]?Te(fr)?sf(fr):{opacity:0}:{opacity:Te(fr)?1:0}:!1),Xt=bt.map((fr,Nr)=>{const ln=$e(Me[Nr])===ne&&(Qe[Nr]||xf(Me[Nr]));if(!ln)return!1;if(!fr)delete ln.opacity;else if(!("opacity"in fr)){const{opacity:kn}=ln;kn%1?fr.opacity=1:delete ln.opacity}return ln});return[bt,Xt]}function Zf(ne,Me){for(const Qe in Me)wt(ne,Qe,"")}function sf(ne){const{height:Me,width:Qe}=Fn(ne);return{height:Me,width:Qe,transform:"",...fa(ne),...wt(ne,["marginTop","marginLeft"])}}function Vu(){return new Promise(ne=>requestAnimationFrame(ne))}var bf={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(ne,Me=this.$el){const Qe=this.animation;return(Qe==="fade"?iu:Qe==="delayed-fade"?(...bt)=>iu(...bt,40):Qe?Yc:()=>(ne(),Promise.resolve()))(ne,Me,this.duration).catch(j)}}};const to={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var jf={mixins:[bf],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles({attrItem:ne},Me){return lr(`[${ne}],[data-${ne}]`,Me)},children({target:ne},Me){return lr(`${ne} > *`,Me)}},watch:{toggles(ne){this.updateState();const Me=lr(this.selActive,this.$el);for(const Qe of ne){this.selActive!==!1&&Ee(Qe,this.cls,L(Me,Qe));const bt=lf(Qe);Tr(bt,"a")&&re(bt,"role","button")}},children(ne,Me){Me&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(ne){ne.type==="keydown"&&ne.keyCode!==to.SPACE||lt(ne.target,"a,button")&&(ne.preventDefault(),this.apply(ne.current))}},methods:{apply(ne){const Me=this.getState(),Qe=bu(ne,this.attrItem,this.getState());Xf(Me,Qe)||this.setState(Qe)},getState(){return this.toggles.filter(ne=>Se(ne,this.cls)).reduce((ne,Me)=>bu(Me,this.attrItem,ne),{filter:{"":""},sort:[]})},async setState(ne,Me=!0){ne={filter:{"":""},sort:[],...ne},Dt(this.$el,"beforeFilter",[this,ne]);for(const Qe of this.toggles)Ee(Qe,this.cls,wu(Qe,this.attrItem,ne));await Promise.all(lr(this.target,this.$el).map(Qe=>{const bt=()=>{xl(ne,Qe,gt(Qe)),this.$update(this.$el)};return Me?this.animate(bt,Qe):bt()})),Dt(this.$el,"afterFilter",[this])},updateState(){pr.write(()=>this.setState(this.getState(),!1))}}};function fo(ne,Me){return nf(ee(ne,Me),["filter"])}function Xf(ne,Me){return["filter","sort"].every(Qe=>w(ne[Qe],Me[Qe]))}function xl(ne,Me,Qe){const bt=Cc(ne);Qe.forEach(Nr=>wt(Nr,"display",bt&&!ut(Nr,bt)?"none":""));const[Xt,fr]=ne.sort;if(Xt){const Nr=jo(Qe,Xt,fr);w(Nr,Qe)||Lr(Me,Nr)}}function bu(ne,Me,Qe){const{filter:bt,group:Xt,sort:fr,order:Nr="asc"}=fo(ne,Me);return(bt||M(fr))&&(Xt?bt?(delete Qe.filter[""],Qe.filter[Xt]=bt):(delete Qe.filter[Xt],(C(Qe.filter)||""in Qe.filter)&&(Qe.filter={"":bt||""})):Qe.filter={"":bt||""}),M(fr)||(Qe.sort=[fr,Nr]),Qe}function wu(ne,Me,{filter:Qe={"":""},sort:[bt,Xt]}){const{filter:fr="",group:Nr="",sort:ln,order:kn="asc"}=fo(ne,Me);return M(ln)?Nr in Qe&&fr===Qe[Nr]||!fr&&Nr&&!(Nr in Qe)&&!Qe[""]:bt===ln&&Xt===kn}function Cc({filter:ne}){let Me="";return G(ne,Qe=>Me+=Qe||""),Me}function jo(ne,Me,Qe){return[...ne].sort((bt,Xt)=>ee(bt,Me).localeCompare(ee(Xt,Me),void 0,{numeric:!0})*(Qe==="asc"||-1))}function lf(ne){return qr("a,button",ne)||ne}var ms={props:{container:Boolean},data:{container:!0},computed:{container({container:ne}){return ne===!0&&this.$container||ne&&qr(ne)}}};let bl;function js(ne){const Me=kt(ne,"touchmove",bt=>{if(bt.targetTouches.length!==1||ut(bt.target,'input[type="range"'))return;let{scrollHeight:Xt,clientHeight:fr}=ns(bt.target);fr>=Xt&&bt.cancelable&&bt.preventDefault()},{passive:!1});if(bl)return Me;bl=!0;const{scrollingElement:Qe}=document;return wt(Qe,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:_a(window)-Qe.clientWidth||""}),()=>{bl=!1,Me(),wt(Qe,{overflowY:"",touchAction:"",paddingRight:""})}}var Ss={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:ne}){return!!ne[0]},hasTransition({animation:ne}){return["slide","reveal"].some(Me=>E(ne[0],Me))}},methods:{async toggleElement(ne,Me,Qe){try{return await Promise.all(o(ne).map(bt=>{const Xt=S(Me)?Me:!this.isToggled(bt);if(!Dt(bt,`before${Xt?"show":"hide"}`,[this]))return Promise.reject();const fr=(t(Qe)?Qe:Qe===!1||!this.hasAnimation?Tu:this.hasTransition?Au:wl)(bt,Xt,this),Nr=Xt?this.clsEnter:this.clsLeave;ce(bt,Nr),Dt(bt,Xt?"show":"hide",[this]);const ln=()=>{le(bt,Nr),Dt(bt,Xt?"shown":"hidden",[this])};return fr?fr.then(ln,()=>(le(bt,Nr),Promise.reject())):ln()})),!0}catch{return!1}},isToggled(ne=this.$el){return ne=A(ne),Se(ne,this.clsEnter)?!0:Se(ne,this.clsLeave)?!1:this.cls?Se(ne,this.cls.split(" ")[0]):Te(ne)},_toggle(ne,Me){if(!ne)return;Me=!!Me;let Qe;this.cls?(Qe=L(this.cls," ")||Me!==Se(ne,this.cls),Qe&&Ee(ne,this.cls,L(this.cls," ")?void 0:Me)):(Qe=Me===ne.hidden,Qe&&(ne.hidden=!Me)),lr("[autofocus]",ne).some(bt=>Te(bt)?bt.focus()||!0:bt.blur()),Qe&&Dt(ne,"toggled",[Me,this])}}};function Tu(ne,Me,{_toggle:Qe}){return or.cancel(ne),mr.cancel(ne),Qe(ne,Me)}async function Au(ne,Me,{animation:Qe,duration:bt,velocity:Xt,transition:fr,_toggle:Nr}){var ln;const[kn="reveal",ea="top"]=((ln=Qe[0])==null?void 0:ln.split("-"))||[],sa=[["left","right"],["top","bottom"]],li=sa[L(sa[0],ea)?0:1],pi=li[1]===ea,zi=["width","height"][sa.indexOf(li)],qi=`margin-${li[0]}`,No=`margin-${ea}`;let _s=gn(ne)[zi];const Ru=mr.inProgress(ne);await mr.cancel(ne),Me&&Nr(ne,!0);const fh=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",qi,No].map(Xp=>[Xp,ne.style[Xp]])),N0=gn(ne),Df=P(wt(ne,qi)),Wh=P(wt(ne,No)),cf=N0[zi]+Wh;!Ru&&!Me&&(_s+=Wh);const[U0]=Wn(ne,"<div>");wt(U0,{boxSizing:"border-box",height:N0.height,width:N0.width,...wt(ne,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",No])}),wt(ne,{padding:0,border:0,minWidth:0,minHeight:0,[No]:0,width:N0.width,height:N0.height,overflow:"hidden",[zi]:_s});const Zp=_s/cf;bt=(Xt*cf+bt)*(Me?1-Zp:Zp);const jp={[zi]:Me?cf:0};pi&&(wt(ne,qi,cf-_s+Df),jp[qi]=Me?Df:cf+Df),!pi^kn==="reveal"&&(wt(U0,qi,-cf+_s),mr.start(U0,{[qi]:Me?0:-cf},bt,fr));try{await mr.start(ne,jp,bt,fr)}finally{wt(ne,fh),En(U0.firstChild),Me||Nr(ne,!1)}}function wl(ne,Me,Qe){const{animation:bt,duration:Xt,_toggle:fr}=Qe;return Me?(fr(ne,!0),or.in(ne,bt[0],Xt,Qe.origin)):or.out(ne,bt[1]||bt[0],Xt,Qe.origin).then(()=>fr(ne,!1))}const Xo=[];var Su={mixins:[Bs,ms,Ss],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:ne},Me){return qr(ne,Me)},transitionElement(){return this.panel},bgClose({bgClose:ne}){return ne&&this.panel}},connected(){re(this.panel||this.$el,"role",this.role),this.overlay&&re(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){L(Xo,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(ne){const{current:Me,defaultPrevented:Qe}=ne,{hash:bt}=Me;!Qe&&bt&&vt(Me)&&!ke(bt,this.$el)&&qr(bt,document.body)?this.hide():ut(Me,this.selClose)&&(ne.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(ne){ne.defaultPrevented||(ne.preventDefault(),this.isToggled()===L(Xo,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(ne){if(L(Xo,this))return!1;!this.stack&&Xo.length?(Promise.all(Xo.map(Me=>Me.hide())).then(this.show),ne.preventDefault()):Xo.push(this)}},{name:"show",self:!0,handler(){this.stack&&wt(this.$el,"zIndex",P(wt(this.$el,"zIndex"))+Xo.length);const ne=[this.overlay&&Zc(this),this.overlay&&js(this.$el),this.bgClose&&y0(this),this.escClose&&jc(this)];dr(this.$el,"hidden",()=>ne.forEach(Me=>Me&&Me()),{self:!0}),ce(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){He(this.$el)||re(this.$el,"tabindex","-1"),ut(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){L(Xo,this)&&Xo.splice(Xo.indexOf(this),1),wt(this.$el,"zIndex",""),Xo.some(ne=>ne.clsPage===this.clsPage)||le(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&$e(this.$el)!==this.container?(Lr(this.container,this.$el),new Promise(ne=>requestAnimationFrame(()=>this.show().then(ne)))):this.toggleElement(this.$el,!0,Gu)},hide(){return this.toggleElement(this.$el,!1,Gu)}}};function Gu(ne,Me,{transitionElement:Qe,_toggle:bt}){return new Promise((Xt,fr)=>dr(ne,"show hide",()=>{var Nr;(Nr=ne._reject)==null||Nr.call(ne),ne._reject=fr,bt(ne,Me);const ln=dr(Qe,"transitionstart",()=>{dr(Qe,"transitionend transitioncancel",Xt,{self:!0}),clearTimeout(kn)},{self:!0}),kn=setTimeout(()=>{ln(),Xt()},$f(wt(Qe,"transitionDuration")))})).then(()=>delete ne._reject)}function $f(ne){return ne?a(ne,"ms")?P(ne):P(ne)*1e3:0}function Zc(ne){return kt(document,"focusin",Me=>{F(Xo)===ne&&!ke(Me.target,ne.$el)&&ne.$el.focus()})}function y0(ne){return kt(document,Bn,({target:Me})=>{F(Xo)!==ne||ne.overlay&&!ke(Me,ne.$el)||ke(Me,ne.panel)||dr(document,`${ta} ${en} scroll`,({defaultPrevented:Qe,type:bt,target:Xt})=>{!Qe&&bt===ta&&Me===Xt&&ne.hide()},!0)})}function jc(ne){return kt(document,"keydown",Me=>{Me.keyCode===27&&F(Xo)===ne&&ne.hide()})}var wf={slide:{show(ne){return[{transform:Vo(ne*-100)},{transform:Vo()}]},percent(ne){return Zl(ne)},translate(ne,Me){return[{transform:Vo(Me*-100*ne)},{transform:Vo(Me*100*(1-ne))}]}}};function Zl(ne){return Math.abs(wt(ne,"transform").split(",")[4]/ne.offsetWidth)}function Vo(ne=0,Me="%"){return ne+=ne?Me:"",`translate3d(${ne}, 0, 0)`}function Tl(ne){return`scale3d(${ne}, ${ne}, 1)`}function Ms(ne,Me,Qe,{animation:bt,easing:Xt}){const{percent:fr,translate:Nr,show:ln=j}=bt,kn=ln(Qe);let ea;return{dir:Qe,show(sa,li=0,pi){const zi=pi?"linear":Xt;return sa-=Math.round(sa*W(li,-1,1)),this.translate(li),Ls(Me,"itemin",{percent:li,duration:sa,timing:zi,dir:Qe}),Ls(ne,"itemout",{percent:1-li,duration:sa,timing:zi,dir:Qe}),new Promise(qi=>{ea||(ea=qi),Promise.all([mr.start(Me,kn[1],sa,zi),mr.start(ne,kn[0],sa,zi)]).then(()=>{this.reset(),ea()},j)})},cancel(){return mr.cancel([Me,ne])},reset(){for(const sa in kn[0])wt([Me,ne],sa,"")},async forward(sa,li=this.percent()){return await this.cancel(),this.show(sa,li,!0)},translate(sa){this.reset();const li=Nr(sa,Qe);wt(Me,li[1]),wt(ne,li[0]),Ls(Me,"itemtranslatein",{percent:sa,dir:Qe}),Ls(ne,"itemtranslateout",{percent:1-sa,dir:Qe})},percent(){return fr(ne||Me,Me,Qe)},getDistance(){return ne==null?void 0:ne.offsetWidth}}}function Ls(ne,Me,Qe){Dt(ne,$t(Me,!1,!1,Qe))}var ou={props:{i18n:Object},data:{i18n:null},methods:{t(ne,...Me){var Qe,bt,Xt;let fr=0;return((Xt=((Qe=this.i18n)==null?void 0:Qe[ne])||((bt=this.$options.i18n)==null?void 0:bt[ne]))==null?void 0:Xt.replace(/%s/g,()=>Me[fr++]||""))||""}}},Mu={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){re(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){re(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&ut(this.$el,":focus-within")||this.pauseOnHover&&ut(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const Wu={passive:!1,capture:!0},Al={passive:!0,capture:!0},zl="touchstart mousedown",jl="touchmove mousemove",Tf="touchend touchcancel mouseup click input scroll";var Kf={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const ne of["start","move","end"]){const Me=this[ne];this[ne]=Qe=>{const bt=yt(Qe).x*(sr?-1:1);this.prevPos=bt===this.pos?this.prevPos:this.pos,this.pos=bt,Me(Qe)}}},events:[{name:zl,passive:!0,delegate(){return`${this.selList} > *`},handler(ne){!this.draggable||!Mt(ne)&&Cu(ne.target)||lt(ne.target,Re)||ne.button>0||this.length<2||this.start(ne)}},{name:"dragstart",handler(ne){ne.preventDefault()}},{name:jl,el(){return this.list},handler:j,...Wu}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,kt(document,jl,this.move,Wu),kt(document,Tf,this.end,Al),wt(this.list,"userSelect","none")},move(ne){const Me=this.pos-this.drag;if(Me===0||this.prevPos===this.pos||!this.dragging&&Math.abs(Me)<this.threshold)return;wt(this.list,"pointerEvents","none"),ne.cancelable&&ne.preventDefault(),this.dragging=!0,this.dir=Me<0?1:-1;let{slides:Qe,prevIndex:bt}=this,Xt=Math.abs(Me),fr=this.getIndex(bt+this.dir),Nr=this._getDistance(bt,fr);for(;fr!==bt&&Xt>Nr;)this.drag-=Nr*this.dir,bt=fr,Xt-=Nr,fr=this.getIndex(bt+this.dir),Nr=this._getDistance(bt,fr);this.percent=Xt/Nr;const ln=Qe[bt],kn=Qe[fr],ea=this.index!==fr,sa=bt===fr;let li;for(const pi of[this.index,this.prevIndex])L([fr,bt],pi)||(Dt(Qe[pi],"itemhidden",[this]),sa&&(li=!0,this.prevIndex=bt));(this.index===bt&&this.prevIndex!==bt||li)&&Dt(Qe[this.index],"itemshown",[this]),ea&&(this.prevIndex=bt,this.index=fr,!sa&&Dt(ln,"beforeitemhide",[this]),Dt(kn,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),ln,!sa&&kn),ea&&(!sa&&Dt(ln,"itemhide",[this]),Dt(kn,"itemshow",[this]))},end(){if(nr(document,jl,this.move,Wu),nr(document,Tf,this.end,Al),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const ne=(sr?this.dir*(sr?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=ne?this.index:this.prevIndex,ne&&(this.percent=1-this.percent),this.show(this.dir>0&&!ne||this.dir<0&&ne?"next":"previous",!0)}wt(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null},_getDistance(ne,Me){return this._getTransitioner(ne,ne!==Me&&Me).getDistance()||this.slides[ne].offsetWidth}}};function Cu(ne){return wt(ne,"userSelect")!=="none"&&m(ne.childNodes).some(Me=>Me.nodeType===3&&Me.textContent.trim())}function as(ne){ne._data={},ne._updates=[...ne.$options.update||[]]}function Xl(ne,Me){ne._updates.unshift(Me)}function Af(ne){delete ne._data}function Sf(ne,Me="update"){ne._connected&&ne._updates.length&&(ne._queued||(ne._queued=new Set,pr.read(()=>{ne._connected&&Yu(ne,ne._queued),delete ne._queued})),ne._queued.add(Me.type||Me))}function Yu(ne,Me){for(const{read:Qe,write:bt,events:Xt=[]}of ne._updates){if(!Me.has("update")&&!Xt.some(Nr=>Me.has(Nr)))continue;let fr;Qe&&(fr=Qe.call(ne,ne._data,Me),fr&&n(fr)&&r(ne._data,fr)),bt&&fr!==!1&&pr.write(()=>{ne._connected&&bt.call(ne,ne._data,Me)})}}function Mf(ne){ne._watches=[];for(const Me of ne.$options.watch||[])for(const[Qe,bt]of Object.entries(Me))Sl(ne,bt,Qe);ne._initial=!0}function Sl(ne,Me,Qe){ne._watches.push({name:Qe,...n(Me)?Me:{handler:Me}})}function Cf(ne,Me){for(const{name:Qe,handler:bt,immediate:Xt=!0}of ne._watches)(ne._initial&&Xt||oe(Me,Qe)&&!w(Me[Qe],ne[Qe]))&&bt.call(ne,ne[Qe],Me[Qe]);ne._initial=!1}function su(ne){const{computed:Me}=ne.$options;if(ne._computed={},Me)for(const Qe in Me)jr(ne,Qe,Me[Qe])}function jr(ne,Me,Qe){ne._hasComputed=!0,Object.defineProperty(ne,Me,{enumerable:!0,get(){const{_computed:bt,$props:Xt,$el:fr}=ne;return oe(bt,Me)||(bt[Me]=(Qe.get||Qe).call(ne,Xt,fr)),bt[Me]},set(bt){const{_computed:Xt}=ne;Xt[Me]=Qe.set?Qe.set.call(ne,bt):bt,M(Xt[Me])&&delete Xt[Me]}})}function Jf(ne){ne._hasComputed&&(Xl(ne,{read:()=>Cf(ne,no(ne)),events:["resize","computed"]}),Ef(),lu.add(ne))}function Eu(ne){lu==null||lu.delete(ne),no(ne)}function no(ne){const Me={...ne._computed};return ne._computed={},Me}let Fl,lu;function Ef(){Fl||(lu=new Set,Fl=new MutationObserver(()=>{for(const ne of lu)Sf(ne,"computed")}),Fl.observe(document,{subtree:!0,childList:!0}))}function ku(ne){ne._events=[];for(const Me of ne.$options.events||[])if(oe(Me,"handler"))uf(ne,Me);else for(const Qe in Me)uf(ne,Me[Qe],Qe)}function Xc(ne){ne._events.forEach(Me=>Me()),delete ne._events}function uf(ne,Me,Qe){let{name:bt,el:Xt,handler:fr,capture:Nr,passive:ln,delegate:kn,filter:ea,self:sa}=n(Me)?Me:{name:Qe,handler:Me};if(Xt=t(Xt)?Xt.call(ne,ne):Xt||ne.$el,d(Xt)){Xt.forEach(li=>uf(ne,{...Me,el:li},Qe));return}!Xt||ea&&!ea.call(ne)||ne._events.push(kt(Xt,bt,kn?v(kn)?kn:kn.call(ne,ne):null,v(fr)?ne[fr]:fr.bind(ne),{passive:ln,capture:Nr,self:sa}))}function Zu(ne){ne._observers=[];for(const Me of ne.$options.observe||[])if(oe(Me,"handler"))Bl(ne,Me);else for(const Qe of Me)Bl(ne,Qe)}function Qf(ne,...Me){ne._observers.push(...Me)}function qf(ne){for(const Me of ne._observers)Me.disconnect()}function Bl(ne,Me){let{observe:Qe,target:bt=ne.$el,handler:Xt,options:fr,filter:Nr,args:ln}=Me;if(Nr&&!Nr.call(ne,ne))return;const kn=`_observe${ne._observers.length}`;t(bt)&&!oe(ne,kn)&&jr(ne,kn,()=>bt.call(ne,ne)),Xt=v(Xt)?ne[Xt]:Xt.bind(ne),t(fr)&&(fr=fr.call(ne,ne));const ea=oe(ne,kn)?ne[kn]:bt,sa=Qe(ea,Xt,fr,ln);t(bt)&&d(ne[kn])&&sa.unobserve&&Sl(ne,{handler:Lu(sa),immediate:!1},kn),Qf(ne,sa)}function Lu(ne){return(Me,Qe)=>{for(const bt of Qe)!L(Me,bt)&&ne.unobserve(bt);for(const bt of Me)!L(Qe,bt)&&ne.observe(bt)}}function ju(ne){const Me=uu(ne.$options);for(let bt in Me)M(Me[bt])||(ne.$props[bt]=Me[bt]);const Qe=[ne.$options.computed,ne.$options.methods];for(let bt in ne.$props)bt in Me&&Os(Qe,bt)&&(ne[bt]=ne.$props[bt])}function uu(ne){const Me={},{args:Qe=[],props:bt={},el:Xt,id:fr}=ne;if(!bt)return Me;for(const ln in bt){const kn=B(ln);let ea=ee(Xt,kn);M(ea)||(ea=bt[ln]===Boolean&&ea===""?!0:af(bt[ln],ea),!(kn==="target"&&E(ea,"_"))&&(Me[ln]=ea))}const Nr=nf(ee(Xt,fr),Qe);for(const ln in Nr){const kn=e(ln);M(bt[kn])||(Me[kn]=af(bt[kn],Nr[ln]))}return Me}function Os(ne,Me){return ne.every(Qe=>!Qe||!oe(Qe,Me))}function il(ne){const{$options:Me,$props:Qe}=ne,{id:bt,props:Xt,el:fr}=Me;if(!Xt)return;const Nr=Object.keys(Xt),ln=Nr.map(ea=>B(ea)).concat(bt),kn=new MutationObserver(ea=>{const sa=uu(Me);ea.some(({attributeName:li})=>{const pi=li.replace("data-","");return(pi===bt?Nr:[e(pi),e(li)]).some(zi=>!M(sa[zi])&&sa[zi]!==Qe[zi])})&&ne.$reset()});kn.observe(fr,{attributes:!0,attributeFilter:ln.concat(ln.map(ea=>`data-${ea}`))}),Qf(ne,kn)}function Ml(ne,Me){var Qe;(Qe=ne.$options[Me])==null||Qe.forEach(bt=>bt.call(ne))}function ec(ne){ne._connected||(ju(ne),Ml(ne,"beforeConnect"),ne._connected=!0,ku(ne),as(ne),Mf(ne),Zu(ne),il(ne),Jf(ne),Ml(ne,"connected"),Sf(ne))}function jt(ne){ne._connected&&(Ml(ne,"beforeDisconnect"),Xc(ne),Af(ne),qf(ne),Eu(ne),Ml(ne,"disconnected"),ne._connected=!1)}let Le=0;function Be(ne,Me={}){Me.data=Lt(Me,ne.constructor.options),ne.$options=rl(ne.constructor.options,Me,ne),ne.$props={},ne._uid=Le++,Ve(ne),nt(ne),su(ne),Ml(ne,"created"),Me.el&&ne.$mount(Me.el)}function Ve(ne){const{data:Me={}}=ne.$options;for(const Qe in Me)ne.$props[Qe]=ne[Qe]=Me[Qe]}function nt(ne){const{methods:Me}=ne.$options;if(Me)for(const Qe in Me)ne[Qe]=Me[Qe].bind(ne)}function Lt({data:ne={}},{args:Me=[],props:Qe={}}){d(ne)&&(ne=ne.slice(0,Me.length).reduce((bt,Xt,fr)=>(n(Xt)?r(bt,Xt):bt[Me[fr]]=Xt,bt),{}));for(const bt in ne)M(ne[bt])?delete ne[bt]:Qe[bt]&&(ne[bt]=af(Qe[bt],ne[bt]));return ne}const Zt=function(ne){Be(this,ne)};Zt.util=Yf,Zt.options={},Zt.version="3.17.1";const hr="uk-",Ur="__uikit__",on={};function Dn(ne,Me){var Qe;const bt=hr+B(ne);if(!Me)return n(on[bt])&&(on[bt]=Zt.extend(on[bt])),on[bt];ne=e(ne),Zt[ne]=(fr,Nr)=>Jn(ne,fr,Nr);const Xt=n(Me)?{...Me}:Me.options;return Xt.id=bt,Xt.name=ne,(Qe=Xt.install)==null||Qe.call(Xt,Zt,Xt,ne),Zt._initialized&&!Xt.functional&&requestAnimationFrame(()=>Jn(ne,`[${bt}],[data-${bt}]`)),on[bt]=Xt}function Jn(ne,Me,Qe,...bt){const Xt=Dn(ne);return Xt.options.functional?new Xt({data:n(Me)?Me:[Me,Qe,...bt]}):Me?lr(Me).map(fr)[0]:fr();function fr(Nr){const ln=Pa(Nr,ne);if(ln)if(Qe)ln.$destroy();else return ln;return new Xt({el:Nr,data:Qe})}}function ga(ne){return(ne==null?void 0:ne[Ur])||{}}function Pa(ne,Me){return ga(ne)[Me]}function Ra(ne,Me){ne[Ur]||(ne[Ur]={}),ne[Ur][Me.$options.name]=Me}function ri(ne,Me){var Qe;(Qe=ne[Ur])==null||delete Qe[Me.$options.name],C(ne[Ur])||delete ne[Ur]}function Ka(ne){ne.component=Dn,ne.getComponents=ga,ne.getComponent=Pa,ne.update=Ti,ne.use=function(Qe){if(!Qe.installed)return Qe.call(null,this),Qe.installed=!0,this},ne.mixin=function(Qe,bt){bt=(v(bt)?this.component(bt):bt)||this,bt.options=rl(bt.options,Qe)},ne.extend=function(Qe){Qe||(Qe={});const bt=this,Xt=function(fr){Be(this,fr)};return Xt.prototype=Object.create(bt.prototype),Xt.prototype.constructor=Xt,Xt.options=rl(bt.options,Qe),Xt.super=bt,Xt.extend=bt.extend,Xt};let Me;Object.defineProperty(ne,"container",{get(){return Me||document.body},set(Qe){Me=qr(Qe)}})}function Ti(ne,Me){ne=ne?A(ne):document.body;for(const Qe of Ne(ne).reverse())_i(Qe,Me);Vr(ne,Qe=>_i(Qe,Me))}function _i(ne,Me){const Qe=ga(ne);for(const bt in Qe)Sf(Qe[bt],Me)}function Li(ne){ne.prototype.$mount=function(Me){const Qe=this;Ra(Me,Qe),Qe.$options.el=Me,ke(Me,document)&&ec(Qe)},ne.prototype.$destroy=function(Me=!1){const Qe=this,{el:bt}=Qe.$options;bt&&jt(Qe),Ml(Qe,"destroy"),ri(bt,Qe),Me&&tn(Qe.$el)},ne.prototype.$create=Jn,ne.prototype.$emit=function(Me){Sf(this,Me)},ne.prototype.$update=function(Me=this.$el,Qe){Ti(Me,Qe)},ne.prototype.$reset=function(){jt(this),ec(this)},ne.prototype.$getComponent=Pa,Object.defineProperties(ne.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(ne,"container")})}function Xi(ne,Me=ne.$el,Qe=""){if(Me.id)return Me.id;let bt=`${ne.$options.id}-${ne._uid}${Qe}`;return qr(`#${bt}`)&&(bt=Xi(ne,Me,`${Qe}-2`)),bt}var ao={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:ne},Me){return qr(ne,Me)},navChildren(){return gt(this.nav)},selNavItem({attrItem:ne}){return`[${ne}],[data-${ne}]`},navItems(ne,Me){return lr(this.selNavItem,Me)}},watch:{nav(ne,Me){re(ne,"role","tablist"),Me&&this.$emit()},list(ne){re(ne,"role","presentation")},navChildren(ne){re(ne,"role","presentation")},navItems(ne){for(const Me of ne){const Qe=ee(Me,this.attrItem),bt=qr("a,button",Me)||Me;let Xt,fr=null;if(g(Qe)){const Nr=T(Qe),ln=this.slides[Nr];ln&&(ln.id||(ln.id=Xi(this,ln,`-item-${Qe}`)),fr=ln.id),Xt=this.t("slideX",P(Qe)+1),re(bt,"role","tab")}else this.list&&(this.list.id||(this.list.id=Xi(this,this.list,"-items")),fr=this.list.id),Xt=this.t(Qe);re(bt,{"aria-controls":fr,"aria-label":re(bt,"aria-label")||Xt})}},slides(ne){ne.forEach((Me,Qe)=>re(Me,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",Qe+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(ne){const Me=this.navChildren.length;if(this.nav&&ne!==Me){br(this.nav);for(let Qe=0;Qe<ne;Qe++)Lr(this.nav,`<li ${this.attrItem}="${Qe}"><a href></a></li>`)}}},connected(){re(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(ne=>ne&&(ne.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(ne){lt(ne.target,"a,button")&&(ne.type==="click"||ne.keyCode===to.SPACE)&&(ne.preventDefault(),this.show(ee(ne.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(ne){const{current:Me,keyCode:Qe}=ne,bt=ee(Me,this.attrItem);if(!g(bt))return;let Xt=Qe===to.HOME?0:Qe===to.END?"last":Qe===to.LEFT?"previous":Qe===to.RIGHT?"next":-1;~Xt&&(ne.preventDefault(),this.show(Xt))}}],methods:{updateNav(){const ne=this.getValidIndex();for(const Me of this.navItems){const Qe=ee(Me,this.attrItem),bt=qr("a,button",Me)||Me;if(g(Qe)){const Xt=T(Qe)===ne;Ee(Me,this.clsActive,Xt),re(bt,{"aria-selected":Xt,tabindex:Xt?null:-1}),Xt&&bt&&ut($e(Me),":focus-within")&&bt.focus()}else Ee(Me,"uk-invisible",this.finite&&(Qe==="previous"&&ne===0||Qe==="next"&&ne>=this.maxIndex))}}}},Eo={mixins:[Mu,Kf,ao,ou],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){le(this.slides,this.clsActive)},computed:{duration({velocity:ne},Me){return po(Me.offsetWidth/ne)},list({selList:ne},Me){return qr(ne,Me)},maxIndex(){return this.length-1},slides(){return gt(this.list)},length(){return this.slides.length}},watch:{slides(ne,Me){Me&&this.$emit()}},observe:Uo(),methods:{show(ne,Me=!1){var Qe;if(this.dragging||!this.length)return;const{stack:bt}=this,Xt=Me?0:bt.length,fr=()=>{bt.splice(Xt,1),bt.length&&this.show(bt.shift(),!0)};if(bt[Me?"unshift":"push"](ne),!Me&&bt.length>1){bt.length===2&&((Qe=this._transitioner)==null||Qe.forward(Math.min(this.duration,200)));return}const Nr=this.getIndex(this.index),ln=Se(this.slides,this.clsActive)&&this.slides[Nr],kn=this.getIndex(ne,this.index),ea=this.slides[kn];if(ln===ea){fr();return}if(this.dir=io(ne,Nr),this.prevIndex=Nr,this.index=kn,ln&&!Dt(ln,"beforeitemhide",[this])||!Dt(ea,"beforeitemshow",[this,ln])){this.index=this.prevIndex,fr();return}const sa=this._show(ln,ea,Me).then(()=>{ln&&Dt(ln,"itemhidden",[this]),Dt(ea,"itemshown",[this]),bt.shift(),this._transitioner=null,requestAnimationFrame(()=>bt.length&&this.show(bt.shift(),!0))});return ln&&Dt(ln,"itemhide",[this]),Dt(ea,"itemshow",[this]),sa},getIndex(ne=this.index,Me=this.index){return W(K(ne,this.slides,Me,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(ne=this.index,Me=this.prevIndex){return this.getIndex(ne,Me)},_show(ne,Me,Qe){if(this._transitioner=this._getTransitioner(ne,Me,this.dir,{easing:Qe?Me.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!Qe&&!ne)return this._translate(1),Promise.resolve();const{length:bt}=this.stack;return this._transitioner[bt>1?"forward":"show"](bt>1?Math.min(this.duration,75+75/(bt-1)):this.duration,this.percent)},_translate(ne,Me=this.prevIndex,Qe=this.index){const bt=this._getTransitioner(Me===Qe?!1:Me,Qe);return bt.translate(ne),bt},_getTransitioner(ne=this.prevIndex,Me=this.index,Qe=this.dir||1,bt=this.transitionOptions){return new this.Transitioner(l(ne)?this.slides[ne]:ne,l(Me)?this.slides[Me]:Me,Qe*(sr?-1:1),bt)}}};function io(ne,Me){return ne==="next"?1:ne==="previous"||ne<Me?-1:1}function po(ne){return .5*ne+300}var Ro={mixins:[Eo],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:wf,Transitioner:Ms},computed:{animation({animation:ne,Animations:Me}){return{...Me[ne]||Me.slide,name:ne}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:ne}){ce(ne,this.clsActive)},itemshown({target:ne}){ce(ne,this.clsActivated)},itemhidden({target:ne}){le(ne,this.clsActive,this.clsActivated)}}},ko={...wf,fade:{show(){return[{opacity:0},{opacity:1}]},percent(ne){return 1-wt(ne,"opacity")},translate(ne){return[{opacity:1-ne},{opacity:ne}]}},scale:{show(){return[{opacity:0,transform:Tl(1-.2)},{opacity:1,transform:Tl(1)}]},percent(ne){return 1-wt(ne,"opacity")},translate(ne){return[{opacity:1-ne,transform:Tl(1-.2*ne)},{opacity:ne,transform:Tl(1-.2+.2*ne)}]}}},at={mixins:[Su,Ro],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:ko,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const ne=qr(this.template),Me=qr(this.selList,ne);this.items.forEach(()=>Lr(Me,"<li>"));const Qe=qr("[uk-close]",ne),bt=this.t("close");Qe&&bt&&(Qe.dataset.i18n=JSON.stringify({label:bt})),this.$mount(Lr(this.container,ne))},computed:{caption({selCaption:ne},Me){return qr(ne,Me)}},events:[{name:`${Nn} ${Bn} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(ne){ne.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),le(this.slides,this.clsActive),mr.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:ne}){if(!this.isToggled(this.$el)||!this.draggable)return;let Me=-1;ne===to.LEFT?Me="previous":ne===to.RIGHT?Me="next":ne===to.HOME?Me=0:ne===to.END&&(Me="last"),~Me&&this.show(Me)}},{name:"beforeitemshow",handler(ne){this.isToggled()||(this.draggable=!1,ne.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=ko.scale,le(ne.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Kt(this.caption,this.getItem().caption||"");for(let ne=-this.preload;ne<=this.preload;ne++)this.loadItem(this.index+ne)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(ne,Me){const{source:Qe,type:bt,alt:Xt="",poster:fr,attrs:Nr={}}=Me;if(this.setItem(Me,"<span uk-spinner></span>"),!Qe)return;let ln;const kn={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(bt==="image"||Qe.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const ea=ht("img",{src:Qe,alt:Xt,...Nr});kt(ea,"load",()=>this.setItem(Me,ea)),kt(ea,"error",()=>this.setError(Me))}else if(bt==="video"||Qe.match(/\.(mp4|webm|ogv)($|\?)/i)){const ea=ht("video",{src:Qe,poster:fr,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...Nr});kt(ea,"loadedmetadata",()=>this.setItem(Me,ea)),kt(ea,"error",()=>this.setError(Me))}else if(bt==="iframe"||Qe.match(/\.(html|php)($|\?)/i))this.setItem(Me,ht("iframe",{src:Qe,allowfullscreen:"",class:"uk-lightbox-iframe",...Nr}));else if(ln=Qe.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(Me,ht("iframe",{src:`https://www.youtube${ln[1]||""}.com/embed/${ln[2]}${ln[3]?`?${ln[3]}`:""}`,width:1920,height:1080,...kn,...Nr}));else if(ln=Qe.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:ea,width:sa}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(Qe)}`,{credentials:"omit"})).json();this.setItem(Me,ht("iframe",{src:`https://player.vimeo.com/video/${ln[1]}${ln[2]?`?${ln[2]}`:""}`,width:sa,height:ea,...kn,...Nr}))}catch{this.setError(Me)}}}],methods:{loadItem(ne=this.index){const Me=this.getItem(ne);this.getSlide(Me).childElementCount||Dt(this.$el,"itemload",[Me])},getItem(ne=this.index){return this.items[K(ne,this.slides)]},setItem(ne,Me){Dt(this.$el,"itemloaded",[this,Kt(this.getSlide(ne),Me)])},getSlide(ne){return this.slides[this.items.indexOf(ne)]},setError(ne){this.setItem(ne,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),ce(this.$el,"uk-active","uk-transition-active")},hideControls(){le(this.$el,"uk-active","uk-transition-active")}}};function ht(ne,Me){const Qe=Qn(`<${ne}>`);return re(Qe,Me),Qe}var Tt={install:Pt,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:ne},Me){return lr(ne,Me)}},watch:{toggles(ne){this.hide();for(const Me of ne)Tr(Me,"a")&&re(Me,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(ne){ne.preventDefault(),this.show(ne.current)}},methods:{show(ne){const Me=V(this.toggles.map(Vt),"source");if(b(ne)){const{source:Qe}=Vt(ne);ne=x(Me,({source:bt})=>Qe===bt)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:Me}),kt(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(ne)},hide(){var ne;return(ne=this.panel)==null?void 0:ne.hide()}}};function Pt(ne,Me){ne.lightboxPanel||ne.component("lightboxPanel",at),r(Me.props,ne.component("lightboxPanel").options.props)}function Vt(ne){const Me={};for(const Qe of["href","caption","type","poster","alt","attrs"])Me[Qe==="href"?"source":Qe]=ee(ne,Qe);return Me.attrs=nf(Me.attrs),Me}var _t={mixins:[ms],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:Jt,computed:{marginProp({pos:ne}){return`margin${E(ne,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const ne=`${this.clsContainer}-${this.pos}`;let Me=qr(`.${ne}`,this.container);(!Me||!Te(Me))&&(Me=Lr(this.container,`<div class="${this.clsContainer} ${ne}"></div>`)),this.$mount(Lr(Me,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const ne=P(wt(this.$el,this.marginProp));await mr.start(wt(this.$el,this.startProps),{opacity:1,[this.marginProp]:ne}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(ne){lt(ne.target,'a[href="#"],a[href=""]')&&ne.preventDefault(),this.close()},[Yn](){this.timer&&clearTimeout(this.timer)},[On](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(ne){const Me=Qe=>{const bt=$e(Qe);Dt(Qe,"close",[this]),tn(Qe),bt!=null&&bt.hasChildNodes()||tn(bt)};this.timer&&clearTimeout(this.timer),ne||await mr.start(this.$el,this.startProps),Me(this.$el)}}};function Jt(ne){ne.notification.closeAll=function(Me,Qe){Vr(document.body,bt=>{const Xt=ne.getComponent(bt,"notification");Xt&&(!Me||Me===Xt.group)&&Xt.close(Qe)})}}var Dr={props:{media:Boolean},data:{media:!1},connected(){const ne=Hr(this.media,this.$el);if(this.matchMedia=!0,ne){this.mediaObj=window.matchMedia(ne);const Me=()=>{this.matchMedia=this.mediaObj.matches,Dt(this.$el,$t("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=kt(this.mediaObj,"change",()=>{Me(),this.$emit("resize")}),Me()}},disconnected(){var ne;(ne=this.offMediaObj)==null||ne.call(this)}};function Hr(ne,Me){if(v(ne)){if(E(ne,"@"))ne=P(wt(Me,`--uk-breakpoint-${ne.substr(1)}`));else if(isNaN(ne))return ne}return ne&&g(ne)?`(min-width: ${ne}px)`:""}function Sr(ne){return Math.ceil(Math.max(0,...lr("[stroke]",ne).map(Me=>{try{return Me.getTotalLength()}catch{return 0}})))}const Wr={x:wn,y:wn,rotate:wn,scale:wn,color:Zn,backgroundColor:Zn,borderColor:Zn,blur:aa,hue:aa,fopacity:aa,grayscale:aa,invert:aa,saturate:aa,sepia:aa,opacity:ja,stroke:hi,bgx:wi,bgy:wi},{keys:Kr}=Object;var vn={mixins:[Dr],props:St(Kr(Wr),"list"),data:St(Kr(Wr),void 0),computed:{props(ne,Me){const Qe={};for(const Xt in ne)Xt in Wr&&!M(ne[Xt])&&(Qe[Xt]=ne[Xt].slice());const bt={};for(const Xt in Qe)bt[Xt]=Wr[Xt](Xt,Me,Qe[Xt],Qe);return bt}},events:{load(){this.$emit()}},methods:{reset(){for(const ne in this.getCss(0))wt(this.$el,ne,"")},getCss(ne){const Me={};for(const Qe in this.props)this.props[Qe](Me,W(ne));return Me.willChange=Object.keys(Me).map(Ut).join(","),Me}}};function wn(ne,Me,Qe){let bt=mt(Qe)||{x:"px",y:"px",rotate:"deg"}[ne]||"",Xt;return ne==="x"||ne==="y"?(ne=`translate${p(ne)}`,Xt=fr=>P(P(fr).toFixed(bt==="px"?0:6))):ne==="scale"&&(bt="",Xt=fr=>{var Nr;return mt([fr])?An(fr,"width",Me,!0)/Me[`offset${(Nr=fr.endsWith)!=null&&Nr.call(fr,"vh")?"Height":"Width"}`]:P(fr)}),Qe.length===1&&Qe.unshift(ne==="scale"?1:0),Qe=ze(Qe,Xt),(fr,Nr)=>{fr.transform=`${fr.transform||""} ${ne}(${ft(Qe,Nr)}${bt})`}}function Zn(ne,Me,Qe){return Qe.length===1&&Qe.unshift(Nt(Me,ne,"")),Qe=ze(Qe,bt=>Xn(Me,bt)),(bt,Xt)=>{const[fr,Nr,ln]=Ke(Qe,Xt),kn=fr.map((ea,sa)=>(ea+=ln*(Nr[sa]-ea),sa===3?P(ea):parseInt(ea,10))).join(",");bt[ne]=`rgba(${kn})`}}function Xn(ne,Me){return Nt(ne,"color",Me).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(P)}function aa(ne,Me,Qe){Qe.length===1&&Qe.unshift(0);const bt=mt(Qe)||{blur:"px",hue:"deg"}[ne]||"%";return ne={fopacity:"opacity",hue:"hue-rotate"}[ne]||ne,Qe=ze(Qe),(Xt,fr)=>{const Nr=ft(Qe,fr);Xt.filter=`${Xt.filter||""} ${ne}(${Nr+bt})`}}function ja(ne,Me,Qe){return Qe.length===1&&Qe.unshift(Nt(Me,ne,"")),Qe=ze(Qe),(bt,Xt)=>{bt[ne]=ft(Qe,Xt)}}function hi(ne,Me,Qe){Qe.length===1&&Qe.unshift(0);const bt=mt(Qe),Xt=Sr(Me);return Qe=ze(Qe.reverse(),fr=>(fr=P(fr),bt==="%"?fr*Xt/100:fr)),Qe.some(([fr])=>fr)?(wt(Me,"strokeDasharray",Xt),(fr,Nr)=>{fr.strokeDashoffset=ft(Qe,Nr)}):j}function wi(ne,Me,Qe,bt){Qe.length===1&&Qe.unshift(0);const Xt=ne==="bgy"?"height":"width";bt[ne]=ze(Qe,ln=>An(ln,Xt,Me));const fr=["bgx","bgy"].filter(ln=>ln in bt);if(fr.length===2&&ne==="bgx")return j;if(Nt(Me,"backgroundSize","")==="cover")return Ai(ne,Me,Qe,bt);const Nr={};for(const ln of fr)Nr[ln]=Si(Me,ln);return eo(fr,Nr,bt)}function Ai(ne,Me,Qe,bt){const Xt=mo(Me);if(!Xt.width)return j;const fr={width:Me.offsetWidth,height:Me.offsetHeight},Nr=["bgx","bgy"].filter(sa=>sa in bt),ln={};for(const sa of Nr){const li=bt[sa].map(([_s])=>_s),pi=Math.min(...li),zi=Math.max(...li),qi=li.indexOf(pi)<li.indexOf(zi),No=zi-pi;ln[sa]=`${(qi?-No:0)-(qi?pi:zi)}px`,fr[sa==="bgy"?"height":"width"]+=No}const kn=X.cover(Xt,fr);for(const sa of Nr){const li=sa==="bgy"?"height":"width",pi=kn[li]-fr[li];ln[sa]=`max(${Si(Me,sa)},-${pi}px) + ${ln[sa]}`}const ea=eo(Nr,ln,bt);return(sa,li)=>{ea(sa,li),sa.backgroundSize=`${kn.width}px ${kn.height}px`,sa.backgroundRepeat="no-repeat"}}function Si(ne,Me){return Nt(ne,`background-position-${Me.substr(-1)}`,"")}function eo(ne,Me,Qe){return function(bt,Xt){for(const fr of ne){const Nr=ft(Qe[fr],Xt);bt[`background-position-${fr.substr(-1)}`]=`calc(${Me[fr]} + ${Nr}px)`}}}const Lo={};function mo(ne){const Me=wt(ne,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Lo[Me])return Lo[Me];const Qe=new Image;return Me&&(Qe.src=Me,!Qe.naturalWidth)?(Qe.onload=()=>{Lo[Me]=de(Qe),Dt(ne,$t("load",!1))},de(Qe)):Lo[Me]=de(Qe)}function de(ne){return{width:ne.naturalWidth,height:ne.naturalHeight}}function ze(ne,Me=P){const Qe=[],{length:bt}=ne;let Xt=0;for(let fr=0;fr<bt;fr++){let[Nr,ln]=v(ne[fr])?ne[fr].trim().split(/ (?![^(]*\))/):[ne[fr]];if(Nr=Me(Nr),ln=ln?P(ln)/100:null,fr===0?ln===null?ln=0:ln&&Qe.push([Nr,0]):fr===bt-1&&(ln===null?ln=1:ln!==1&&(Qe.push([Nr,ln]),ln=1)),Qe.push([Nr,ln]),ln===null)Xt++;else if(Xt){const kn=Qe[fr-Xt-1][1],ea=(ln-kn)/(Xt+1);for(let sa=Xt;sa>0;sa--)Qe[fr-sa][1]=kn+ea*(Xt-sa+1);Xt=0}}return Qe}function Ke(ne,Me){const Qe=x(ne.slice(1),([,bt])=>Me<=bt)+1;return[ne[Qe-1][0],ne[Qe][0],(Me-ne[Qe-1][1])/(ne[Qe][1]-ne[Qe-1][1])]}function ft(ne,Me){const[Qe,bt,Xt]=Ke(ne,Me);return Qe+Math.abs(Qe-bt)*Xt*(Qe<bt?1:-1)}const dt=/^-?\d+(?:\.\d+)?(\S+)?/;function mt(ne,Me){var Qe;for(const bt of ne){const Xt=(Qe=bt.match)==null?void 0:Qe.call(bt,dt);if(Xt)return Xt[1]}return Me}function Nt(ne,Me,Qe){const bt=ne.style[Me],Xt=wt(wt(ne,Me,Qe),Me);return ne.style[Me]=bt,Xt}function St(ne,Me){return ne.reduce((Qe,bt)=>(Qe[bt]=Me,Qe),{})}var rr={mixins:[vn],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:ne},Me){return Ar(ne&&Yt(ne,Me)||Me)},start({start:ne}){return An(ne,"height",this.target,!0)},end({end:ne,viewport:Me}){return An(ne||(Me=(1-Me)*100)&&`${Me}vh+${Me}%`,"height",this.target,!0)}},observe:[al(),yl({target:({target:ne})=>ne}),Uo({target:({$el:ne,target:Me})=>[ne,Me,ns(Me,!0)]})],update:{read({percent:ne},Me){if(Me.has("scroll")||(ne=!1),!Te(this.$el))return!1;if(!this.matchMedia)return;const Qe=ne;return ne=xr(Ws(this.target,this.start,this.end),this.easing),{percent:ne,style:Qe===ne?!1:this.getCss(ne)}},write({style:ne}){if(!this.matchMedia){this.reset();return}ne&&wt(this.$el,ne)},events:["scroll","resize"]}};function xr(ne,Me){return Me>=0?Math.pow(ne,Me+1):1-Math.pow(1-ne,1-Me)}function Ar(ne){return ne?"offsetTop"in ne?ne:Ar($e(ne)):document.documentElement}var Qr={update:{write(){if(this.stack.length||this.dragging)return;const ne=this.getValidIndex();!~this.prevIndex||this.index!==ne?this.show(ne):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},Jr={observe:vs({target:({slides:ne})=>ne,targets:ne=>ne.getAdjacentSlides()})};function Tn(ne,Me,Qe,{center:bt,easing:Xt,list:fr}){const Nr=ne?Pn(ne,fr,bt):Pn(Me,fr,bt)+gn(Me).width*Qe,ln=Me?Pn(Me,fr,bt):Nr+gn(ne).width*Qe*(sr?-1:1);let kn;return{dir:Qe,show(ea,sa=0,li){const pi=li?"linear":Xt;return ea-=Math.round(ea*W(sa,-1,1)),this.translate(sa),sa=ne?sa:W(sa,0,1),xn(this.getItemIn(),"itemin",{percent:sa,duration:ea,timing:pi,dir:Qe}),ne&&xn(this.getItemIn(!0),"itemout",{percent:1-sa,duration:ea,timing:pi,dir:Qe}),new Promise(zi=>{kn||(kn=zi),mr.start(fr,{transform:Vo(-ln*(sr?-1:1),"px")},ea,pi).then(kn,j)})},cancel(){return mr.cancel(fr)},reset(){wt(fr,"transform","")},async forward(ea,sa=this.percent()){return await this.cancel(),this.show(ea,sa,!0)},translate(ea){const sa=this.getDistance()*Qe*(sr?-1:1);wt(fr,"transform",Vo(W(-ln+(sa-sa*ea),-fn(fr),gn(fr).width)*(sr?-1:1),"px"));const li=this.getActives(),pi=this.getItemIn(),zi=this.getItemIn(!0);ea=ne?W(ea,-1,1):0;for(const qi of gt(fr)){const No=L(li,qi),_s=qi===pi,Ru=qi===zi,fh=_s||!Ru&&(No||Qe*(sr?-1:1)===-1^Rn(qi,fr)>Rn(ne||Me));xn(qi,`itemtranslate${fh?"in":"out"}`,{dir:Qe,percent:Ru?1-ea:_s?ea:No?1:0})}},percent(){return Math.abs((wt(fr,"transform").split(",")[4]*(sr?-1:1)+Nr)/(ln-Nr))},getDistance(){return Math.abs(ln-Nr)},getItemIn(ea=!1){let sa=this.getActives(),li=Hn(fr,Pn(Me||ne,fr,bt));if(ea){const pi=sa;sa=li,li=pi}return li[x(li,pi=>!L(sa,pi))]},getActives(){return Hn(fr,Pn(ne||Me,fr,bt))}}}function Pn(ne,Me,Qe){const bt=Rn(ne,Me);return Qe?bt-bn(ne,Me):Math.min(bt,rn(Me))}function rn(ne){return Math.max(0,fn(ne)-gn(ne).width)}function fn(ne){return H(gt(ne),Me=>gn(Me).width)}function bn(ne,Me){return gn(Me).width/2-gn(ne).width/2}function Rn(ne,Me){return ne&&(fa(ne).left+(sr?gn(ne).width-gn(Me).width:0))*(sr?-1:1)||0}function Hn(ne,Me){Me-=1;const Qe=gn(ne).width,bt=Me+Qe+2;return gt(ne).filter(Xt=>{const fr=Rn(Xt,ne),Nr=fr+Math.min(gn(Xt).width,Qe);return fr>=Me&&Nr<=bt})}function xn(ne,Me,Qe){Dt(ne,$t(Me,!1,!1,Qe))}var xa={mixins:[Bs,Eo,Qr,Jr],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:Tn},computed:{avgWidth(){return fn(this.list)/this.length},finite({finite:ne}){return ne||Ca(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return F(this.sets);let ne=0;const Me=rn(this.list),Qe=x(this.slides,bt=>{if(ne>=Me)return!0;ne+=gn(bt).width});return~Qe?Qe:this.length-1},sets({sets:ne}){if(!ne)return;let Me=0;const Qe=[],bt=gn(this.list).width;for(let Xt=0;Xt<this.length;Xt++){const fr=gn(this.slides[Xt]).width;Me+fr>bt&&(Me=0),this.center?Me<bt/2&&Me+fr+gn(K(+Xt+1,this.slides)).width/2>bt/2&&(Qe.push(+Xt),Me=bt/2-fr/2):Me===0&&Qe.push(Math.min(+Xt,this.maxIndex)),Me+=fr}if(Qe.length)return Qe},transitionOptions(){return{center:this.center,list:this.list}},slides(){return gt(this.list).filter(Te)}},connected(){Ee(this.$el,this.clsContainer,!qr(`.${this.clsContainer}`,this.$el))},observe:Uo({target:({slides:ne})=>ne}),update:{write(){for(const ne of this.navItems){const Me=T(ee(ne,this.attrItem));Me!==!1&&(ne.hidden=!this.maxIndex||Me>this.maxIndex||this.sets&&!L(this.sets,Me))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(ne){!this.dragging&&this.sets&&this.stack.length<2&&!L(this.sets,this.index)&&(this.index=this.getValidIndex());const Me=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&Me>1){for(let bt=0;bt<Me;bt++)this.stack.splice(1,0,this.dir>0?"next":"previous");ne.preventDefault();return}const Qe=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=po(this.avgWidth/this.velocity)*(gn(this.slides[Qe]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&ce(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){wt(this.slides,"order","");return}const ne=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((Xt,fr)=>wt(Xt,"order",this.dir>0&&fr<ne?1:this.dir<0&&fr>=this.index?-1:"")),!this.center)return;const Me=this.slides[ne];let Qe=gn(this.list).width/2-gn(Me).width/2,bt=0;for(;Qe>0;){const Xt=this.getIndex(--bt+ne,ne),fr=this.slides[Xt];wt(fr,"order",Xt>ne?-2:-1),Qe-=gn(fr).width}},updateActiveClasses(){const ne=this._getTransitioner(this.index).getActives(),Me=[this.clsActive,(!this.sets||L(this.sets,P(this.index)))&&this.clsActivated||""];for(const Qe of this.slides){const bt=L(ne,Qe);Ee(Qe,Me,bt),re(Qe,"aria-hidden",!bt);for(const Xt of lr(Je,Qe))oe(Xt,"_tabindex")||(Xt._tabindex=re(Xt,"tabindex")),re(Xt,"tabindex",bt?Xt._tabindex:-1)}},getValidIndex(ne=this.index,Me=this.prevIndex){if(ne=this.getIndex(ne,Me),!this.sets)return ne;let Qe;do{if(L(this.sets,ne))return ne;Qe=ne,ne=this.getIndex(ne+this.dir,Me)}while(ne!==Qe);return ne},getAdjacentSlides(){const{width:ne}=gn(this.list),Me=-ne,Qe=ne*2,bt=gn(this.slides[this.index]).width,Xt=this.center?ne/2-bt/2:0,fr=new Set;for(const Nr of[-1,1]){let ln=Xt+(Nr>0?bt:0),kn=0;do{const ea=this.slides[this.getIndex(this.index+Nr+kn++*Nr)];ln+=gn(ea).width*Nr,fr.add(ea)}while(this.length>kn&&ln>Me&&ln<Qe)}return Array.from(fr)}}};function Ca(ne,Me){if(!ne||ne.length<2)return!0;const{width:Qe}=gn(ne);if(!Me)return Math.ceil(fn(ne))<Math.trunc(Qe+Ia(ne));const bt=gt(ne),Xt=Math.trunc(Qe/2);for(const fr in bt){const Nr=bt[fr],ln=gn(Nr).width,kn=new Set([Nr]);let ea=0;for(const sa of[-1,1]){let li=ln/2,pi=0;for(;li<Xt;){const zi=bt[K(+fr+sa+pi++*sa,bt)];if(kn.has(zi))return!0;li+=gn(zi).width,kn.add(zi)}ea=Math.max(ea,ln/2+gn(bt[K(+fr+sa,bt)]).width/2-(li-Xt))}if(ea>H(bt.filter(sa=>!kn.has(sa)),sa=>gn(sa).width))return!0}return!1}function Ia(ne){return Math.max(0,...gt(ne).map(Me=>gn(Me).width))}var Ga={mixins:[vn],data:{selItem:"!li"},beforeConnect(){this.item=Yt(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:ne,detail:{percent:Me,duration:Qe,timing:bt,dir:Xt}}){pr.read(()=>{if(!this.matchMedia)return;const fr=this.getCss(ii(ne,Xt,Me)),Nr=this.getCss(oi(ne)?.5:Xt>0?1:0);pr.write(()=>{wt(this.$el,fr),mr.start(this.$el,Nr,Qe,bt).catch(j)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){mr.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:ne,detail:{percent:Me,dir:Qe}}){pr.read(()=>{if(!this.matchMedia){this.reset();return}const bt=this.getCss(ii(ne,Qe,Me));pr.write(()=>wt(this.$el,bt))})}}]};function oi(ne){return a(ne,"in")}function ii(ne,Me,Qe){return Qe/=2,oi(ne)^Me<0?Qe:1-Qe}var Fi={...wf,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(ne){return 1-wt(ne,"opacity")},translate(ne){return[{opacity:1-ne,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:Tl(1+.5),zIndex:0},{zIndex:-1}]},percent(ne){return 1-wt(ne,"opacity")},translate(ne){return[{opacity:1-ne,transform:Tl(1+.5*ne),zIndex:0},{zIndex:-1}]}},pull:{show(ne){return ne<0?[{transform:Vo(30),zIndex:-1},{transform:Vo(),zIndex:0}]:[{transform:Vo(-100),zIndex:0},{transform:Vo(),zIndex:-1}]},percent(ne,Me,Qe){return Qe<0?1-Zl(Me):Zl(ne)},translate(ne,Me){return Me<0?[{transform:Vo(30*ne),zIndex:-1},{transform:Vo(-100*(1-ne)),zIndex:0}]:[{transform:Vo(-ne*100),zIndex:0},{transform:Vo(30*(1-ne)),zIndex:-1}]}},push:{show(ne){return ne<0?[{transform:Vo(100),zIndex:0},{transform:Vo(),zIndex:-1}]:[{transform:Vo(-30),zIndex:-1},{transform:Vo(),zIndex:0}]},percent(ne,Me,Qe){return Qe>0?1-Zl(Me):Zl(ne)},translate(ne,Me){return Me<0?[{transform:Vo(ne*100),zIndex:0},{transform:Vo(-30*(1-ne)),zIndex:-1}]:[{transform:Vo(-30*ne),zIndex:-1},{transform:Vo(100*(1-ne)),zIndex:0}]}}};const di=Ni&&CSS.supports("aspect-ratio","1/1");var Pi={mixins:[Bs,Ro,Qr,Jr],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Fi},watch:{list(ne){ne&&di&&wt(ne,{aspectRatio:this.ratio.replace(":","/"),minHeight:this.minHeight||"",maxHeight:this.maxHeight||"",minWidth:"100%",maxWidth:"100%"})}},update:{read(){if(!this.list||di)return!1;let[ne,Me]=this.ratio.split(":").map(Number);return Me=Me*this.list.offsetWidth/ne||0,this.minHeight&&(Me=Math.max(this.minHeight,Me)),this.maxHeight&&(Me=Math.min(this.maxHeight,Me)),{height:Me-La(this.list,"height","content-box")}},write({height:ne}){ne>0&&wt(this.list,"minHeight",ne)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(ne=>this.slides[this.getIndex(this.index+ne)])}}},oo={mixins:[Bs,bf],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const ne of["init","start","move","end"]){const Me=this[ne];this[ne]=Qe=>{r(this.pos,yt(Qe)),Me(Qe)}}},events:{name:Bn,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return gt(this.target)},isEmpty(){return C(this.items)},handles({handle:ne},Me){return ne?lr(ne,Me):this.items}},watch:{isEmpty(ne){Ee(this.target,this.clsEmpty,ne)},handles(ne,Me){wt(Me,{touchAction:"",userSelect:""}),wt(ne,{touchAction:Gr?"none":"",userSelect:"none"})}},update:{write(ne){if(!this.drag||!$e(this.placeholder))return;const{pos:{x:Me,y:Qe},origin:{offsetTop:bt,offsetLeft:Xt},placeholder:fr}=this;wt(this.drag,{top:Qe-bt,left:Me-Xt});const Nr=this.getSortable(document.elementFromPoint(Me,Qe));if(!Nr)return;const{items:ln}=Nr;if(ln.some(mr.inProgress))return;const kn=Ei(ln,{x:Me,y:Qe});if(ln.length&&(!kn||kn===fr))return;const ea=this.getSortable(fr),sa=ji(Nr.target,kn,fr,Me,Qe,Nr===ea&&ne.moved!==kn);sa!==!1&&(sa&&fr===sa||(Nr!==ea?(ea.remove(fr),ne.moved=kn):delete ne.moved,Nr.insert(fr,sa),this.touched.add(Nr)))},events:["move"]},methods:{init(ne){const{target:Me,button:Qe,defaultPrevented:bt}=ne,[Xt]=this.items.filter(fr=>ke(Me,fr));!Xt||bt||Qe>0||Xe(Me)||ke(Me,`.${this.clsNoDrag}`)||this.handle&&!ke(Me,this.handle)||(ne.preventDefault(),this.touched=new Set([this]),this.placeholder=Xt,this.origin={target:Me,index:qe(Xt),...this.pos},kt(document,Nn,this.move),kt(document,ta,this.end),this.threshold||this.start(ne))},start(ne){this.drag=Di(this.$container,this.placeholder);const{left:Me,top:Qe}=this.placeholder.getBoundingClientRect();r(this.origin,{offsetLeft:this.pos.x-Me,offsetTop:this.pos.y-Qe}),ce(this.drag,this.clsDrag,this.clsCustom),ce(this.placeholder,this.clsPlaceholder),ce(this.items,this.clsItem),ce(document.documentElement,this.clsDragState),Dt(this.$el,"start",[this,this.placeholder]),Ao(this.pos),this.move(ne)},move(ne){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(ne)},end(){if(nr(document,Nn,this.move),nr(document,ta,this.end),!this.drag)return;Ta();const ne=this.getSortable(this.placeholder);this===ne?this.origin.index!==qe(this.placeholder)&&Dt(this.$el,"moved",[this,this.placeholder]):(Dt(ne.$el,"added",[ne,this.placeholder]),Dt(this.$el,"removed",[this,this.placeholder])),Dt(this.$el,"stop",[this,this.placeholder]),tn(this.drag),this.drag=null;for(const{clsPlaceholder:Me,clsItem:Qe}of this.touched)for(const bt of this.touched)le(bt.items,Me,Qe);this.touched=null,le(document.documentElement,this.clsDragState)},insert(ne,Me){ce(this.items,this.clsItem);const Qe=()=>Me?Br(Me,ne):Lr(this.target,ne);this.animate(Qe)},remove(ne){ke(ne,this.target)&&this.animate(()=>tn(ne))},getSortable(ne){do{const Me=this.$getComponent(ne,"sortable");if(Me&&(Me===this||this.group!==!1&&Me.group===this.group))return Me}while(ne=$e(ne))}}};let so;function Ao(ne){let Me=Date.now();so=setInterval(()=>{let{x:Qe,y:bt}=ne;bt+=document.scrollingElement.scrollTop;const Xt=(Date.now()-Me)*.3;Me=Date.now(),rs(document.elementFromPoint(Qe,ne.y)).reverse().some(fr=>{let{scrollTop:Nr,scrollHeight:ln}=fr;const{top:kn,bottom:ea,height:sa}=qo(fr);if(kn<bt&&kn+35>bt)Nr-=Xt;else if(ea>bt&&ea-35<bt)Nr+=Xt;else return;if(Nr>0&&Nr<ln-sa)return fr.scrollTop=Nr,!0})},15)}function Ta(){clearInterval(so)}function Di(ne,Me){let Qe;if(Tr(Me,"li","tr")){Qe=qr("<div>"),Lr(Qe,Me.cloneNode(!0).children);for(const bt of Me.getAttributeNames())re(Qe,bt,Me.getAttribute(bt))}else Qe=Me.cloneNode(!0);return Lr(ne,Qe),wt(Qe,"margin","0","important"),wt(Qe,{boxSizing:"border-box",width:Me.offsetWidth,height:Me.offsetHeight,padding:wt(Me,"padding")}),Sa(Qe.firstElementChild,Sa(Me.firstElementChild)),Qe}function Ei(ne,Me){return ne[x(ne,Qe=>ie(Me,Qe.getBoundingClientRect()))]}function ji(ne,Me,Qe,bt,Xt,fr){if(!gt(ne).length)return;const Nr=Me.getBoundingClientRect();if(!fr)return Go(ne,Qe)||Xt<Nr.top+Nr.height/2?Me:Me.nextElementSibling;const ln=Qe.getBoundingClientRect(),kn=is([Nr.top,Nr.bottom],[ln.top,ln.bottom]),[ea,sa,li,pi]=kn?[bt,"width","left","right"]:[Xt,"height","top","bottom"],zi=ln[sa]<Nr[sa]?Nr[sa]-ln[sa]:0;return ln[li]<Nr[li]?zi&&ea<Nr[li]+zi?!1:Me.nextElementSibling:zi&&ea>Nr[pi]-zi?!1:Me}function Go(ne,Me){const Qe=gt(ne).length===1;Qe&&Lr(ne,Me);const bt=gt(ne),Xt=bt.some((fr,Nr)=>{const ln=fr.getBoundingClientRect();return bt.slice(Nr+1).some(kn=>{const ea=kn.getBoundingClientRect();return!is([ln.left,ln.right],[ea.left,ea.right])})});return Qe&&tn(Me),Xt}function is(ne,Me){return ne[1]>Me[0]&&Me[1]>ne[0]}var gs={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${sr?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=L(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(ne,Me,Qe){let bt=[this.getPositionOffset(ne),this.getShiftOffset(ne)];const Xt=[this.flip&&"flip",this.shift&&"shift"],fr={element:[this.inset?this.dir:Xr(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const kn in fr)fr[kn].reverse();bt.reverse(),Xt.reverse()}const Nr=Bo(ne),ln=gn(ne);wt(ne,{top:-ln.height,left:-ln.width}),Dl(ne,Me,{attach:fr,offset:bt,boundary:Qe,placement:Xt,viewportOffset:this.getViewportOffset(ne)}),Nr()},getPositionOffset(ne){return An(this.offset===!1?wt(ne,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",ne)*(L(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(ne){return this.align==="center"?0:An(wt(ne,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",ne)*(L(["left","top"],this.align)?1:-1)},getViewportOffset(ne){return An(wt(ne,"--uk-position-viewport-offset"))}}};function Bo(ne){const Me=ns(ne),{scrollTop:Qe}=Me;return()=>{Qe!==Me.scrollTop&&(Me.scrollTop=Qe)}}var Mo={mixins:[ms,Ss,gs],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id=Xi(this,{}),this._hasTitle=fe(this.$el,"title"),re(this.$el,{title:"","aria-describedby":this.id}),ni(this.$el)},disconnected(){this.hide(),re(this.$el,"title")||re(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){ut(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),tn(this.tooltip),this.tooltip=null)},async _show(){this.tooltip=Lr(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),kt(this.tooltip,"toggled",(ne,Me)=>{if(!Me)return;const Qe=()=>this.positionAt(this.tooltip,this.$el);Qe();const[bt,Xt]=vi(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${Xr(bt)}-${Xt}`:`${Xt}-${Xr(bt)}`;const fr=[dr(document,`keydown ${Bn}`,this.hide,!1,Nr=>Nr.type===Bn&&!ke(Nr.target,this.$el)||Nr.type==="keydown"&&Nr.keyCode===to.ESC),kt([document,...ks(this.$el)],"scroll",Qe,{passive:!0})];dr(this.tooltip,"hide",()=>fr.forEach(Nr=>Nr()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{focus:"show",blur:"hide",[`${Yn} ${On}`](ne){Mt(ne)||this[ne.type===Yn?"show":"hide"]()},[Bn](ne){Mt(ne)&&this.show()}}};function ni(ne){He(ne)||re(ne,"tabindex","0")}function vi(ne,Me,[Qe,bt]){const Xt=Fn(ne),fr=Fn(Me),Nr=[["left","right"],["top","bottom"]];for(const kn of Nr){if(Xt[kn[0]]>=fr[kn[1]]){Qe=kn[1];break}if(Xt[kn[1]]<=fr[kn[0]]){Qe=kn[0];break}}const ln=L(Nr[0],Qe)?Nr[1]:Nr[0];return Xt[ln[0]]===fr[ln[0]]?bt=ln[0]:Xt[ln[1]]===fr[ln[1]]?bt=ln[1]:bt="center",[Qe,bt]}var Oo={mixins:[ou],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:j,beforeAll:j,beforeSend:j,complete:j,completeAll:j,error:j,fail:j,load:j,loadEnd:j,loadStart:j,progress:j},events:{change(ne){ut(ne.target,'input[type="file"]')&&(ne.preventDefault(),ne.target.files&&this.upload(ne.target.files),ne.target.value="")},drop(ne){ys(ne);const Me=ne.dataTransfer;Me!=null&&Me.files&&(le(this.$el,this.clsDragover),this.upload(Me.files))},dragenter(ne){ys(ne)},dragover(ne){ys(ne),ce(this.$el,this.clsDragover)},dragleave(ne){ys(ne),le(this.$el,this.clsDragover)}},methods:{async upload(ne){if(ne=m(ne),!ne.length)return;Dt(this.$el,"upload",[ne]);for(const bt of ne){if(this.maxSize&&this.maxSize*1e3<bt.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!fs(this.allow,bt.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!fs(this.mime,bt.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(ne=ne.slice(0,1)),this.beforeAll(this,ne);const Me=Ol(ne,this.concurrent),Qe=async bt=>{const Xt=new FormData;bt.forEach(fr=>Xt.append(this.name,fr));for(const fr in this.params)Xt.append(fr,this.params[fr]);try{const fr=await ol(this.url,{data:Xt,method:this.method,responseType:this.type,beforeSend:Nr=>{const{xhr:ln}=Nr;kt(ln.upload,"progress",this.progress);for(const kn of["loadStart","load","loadEnd","abort"])kt(ln,kn.toLowerCase(),this[kn]);return this.beforeSend(Nr)}});this.complete(fr),Me.length?await Qe(Me.shift()):this.completeAll(fr)}catch(fr){this.error(fr)}};await Qe(Me.shift())}}};function fs(ne,Me){return Me.match(new RegExp(`^${ne.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Ol(ne,Me){const Qe=[];for(let bt=0;bt<ne.length;bt+=Me)Qe.push(ne.slice(bt,bt+Me));return Qe}function ys(ne){ne.preventDefault(),ne.stopPropagation()}function ol(ne,Me){const Qe={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:j,responseType:"",...Me};return Promise.resolve().then(()=>Qe.beforeSend(Qe)).then(()=>$o(ne,Qe))}function $o(ne,Me){return new Promise((Qe,bt)=>{const{xhr:Xt}=Me;for(const fr in Me)if(fr in Xt)try{Xt[fr]=Me[fr]}catch{}Xt.open(Me.method.toUpperCase(),ne);for(const fr in Me.headers)Xt.setRequestHeader(fr,Me.headers[fr]);kt(Xt,"load",()=>{Xt.status===0||Xt.status>=200&&Xt.status<300||Xt.status===304?Qe(Xt):bt(r(Error(Xt.statusText),{xhr:Xt,status:Xt.status}))}),kt(Xt,"error",()=>bt(r(Error("Network Error"),{xhr:Xt}))),kt(Xt,"timeout",()=>bt(r(Error("Network Timeout"),{xhr:Xt}))),Xt.send(Me.data)})}var $l=Object.freeze({__proto__:null,Countdown:Sc,Filter:jf,Lightbox:Tt,LightboxPanel:at,Notification:_t,Parallax:rr,Slider:xa,SliderParallax:Ga,Slideshow:Pi,SlideshowParallax:Ga,Sortable:oo,Tooltip:Mo,Upload:Oo});function Do(ne){Ni&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>fu(ne)):new MutationObserver((Me,Qe)=>{document.body&&(fu(ne),Qe.disconnect())}).observe(document.documentElement,{childList:!0}))}function fu(ne){Dt(document,"uikit:init",ne),document.body&&Vr(document.body,Io),new MutationObserver(Me=>Me.forEach(Kl)).observe(document,{subtree:!0,childList:!0}),new MutationObserver(Me=>Me.forEach(Ji)).observe(document,{subtree:!0,attributes:!0}),ne._initialized=!0}function Kl({addedNodes:ne,removedNodes:Me}){for(const Qe of ne)Vr(Qe,Io);for(const Qe of Me)Vr(Qe,I0)}function Ji({target:ne,attributeName:Me}){var Qe;const bt=$c(Me);if(bt){if(fe(ne,Me)){Jn(bt,ne);return}(Qe=Pa(ne,bt))==null||Qe.$destroy()}}function Io(ne){const Me=ga(ne);for(const Qe in ga(ne))ec(Me[Qe]);for(const Qe of ne.getAttributeNames()){const bt=$c(Qe);bt&&Jn(bt,ne)}}function I0(ne){const Me=ga(ne);for(const Qe in ga(ne))jt(Me[Qe])}function $c(ne){E(ne,"data-")&&(ne=ne.slice(5));const Me=on[ne];return Me&&(n(Me)?Me:Me.options).name}Ka(Zt),Li(Zt);var z0={mixins:[Bs,Ss],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items({targets:ne},Me){return lr(ne,Me)},toggles({toggle:ne}){return this.items.map(Me=>qr(ne,Me))},contents({content:ne}){return this.items.map(Me=>{var Qe;return((Qe=Me._wrapper)==null?void 0:Qe.firstElementChild)||qr(ne,Me)})}},watch:{items(ne,Me){if(Me||Se(ne,this.clsOpen))return;const Qe=this.active!==!1&&ne[Number(this.active)]||!this.collapsible&&ne[0];Qe&&this.toggle(Qe,!1)},toggles(){this.$emit()},contents(ne){for(const Me of ne){const Qe=Se(this.items.find(bt=>ke(Me,bt)),this.clsOpen);kf(Me,!Qe)}this.$emit()}},observe:vs(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(ne){var Me;ne.type==="keydown"&&ne.keyCode!==to.SPACE||(ne.preventDefault(),(Me=this._off)==null||Me.call(this),this._off=Fh(ne.target),await this.toggle(qe(this.toggles,ne.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const ne=pt(this.items,`.${this.clsOpen}`);for(const Me in this.items){const Qe=this.toggles[Me],bt=this.contents[Me];if(!Qe||!bt)continue;Qe.id=Xi(this,Qe,`-title-${Me}`),bt.id=Xi(this,bt,`-content-${Me}`);const Xt=L(ne,this.items[Me]);re(Qe,{role:Tr(Qe,"a")?"button":null,"aria-controls":bt.id,"aria-expanded":Xt,"aria-disabled":!this.collapsible&&ne.length<2&&Xt}),re(bt,{role:"region","aria-labelledby":Qe.id}),Tr(bt,"ul")&&re(gt(bt),"role","presentation")}},methods:{toggle(ne,Me){ne=this.items[K(ne,this.items)];let Qe=[ne];const bt=pt(this.items,`.${this.clsOpen}`);if(!this.multiple&&!L(bt,Qe[0])&&(Qe=Qe.concat(bt)),!(!this.collapsible&&bt.length<2&&L(bt,ne)))return Promise.all(Qe.map(Xt=>this.toggleElement(Xt,!L(bt,Xt),(fr,Nr)=>{if(Ee(fr,this.clsOpen,Nr),Me===!1||!this.animation){kf(qr(this.content,fr),!Nr);return}return F0(fr,Nr,this)})))}}};function kf(ne,Me){ne&&(ne.hidden=Me)}async function F0(ne,Me,{content:Qe,duration:bt,velocity:Xt,transition:fr}){var Nr;Qe=((Nr=ne._wrapper)==null?void 0:Nr.firstElementChild)||qr(Qe,ne),ne._wrapper||(ne._wrapper=an(Qe,"<div>"));const ln=ne._wrapper;wt(ln,"overflow","hidden");const kn=P(wt(ln,"height"));await mr.cancel(ln),kf(Qe,!1);const ea=H(["marginTop","marginBottom"],li=>wt(Qe,li))+gn(Qe).height,sa=kn/ea;bt=(Xt*ea+bt)*(Me?1-sa:sa),wt(ln,"height",kn),await mr.start(ln,{height:Me?ea:0},bt,fr),En(Qe),delete ne._wrapper,Me||kf(Qe,!0)}function Fh(ne){const Me=ns(ne,!0);let Qe;return function bt(){Qe=requestAnimationFrame(()=>{const{top:Xt}=ne.getBoundingClientRect();Xt<0&&(Me.scrollTop+=Xt),bt()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(Qe))}var cu={mixins:[Bs,Ss],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(ne){ne.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,Kc),this.$destroy(!0)}}};function Kc(ne,Me,{duration:Qe,transition:bt,velocity:Xt}){const fr=P(wt(ne,"height"));return wt(ne,"height",fr),mr.start(ne,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},Xt*fr+Qe,bt)}var Bh={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!fe(this.$el,"preload")&&(this.$el.preload="none"),Tr(this.$el,"iframe")&&!fe(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&zs(this.$el)},observe:[nl({args:{intersecting:!1}}),Uo()],update:{read({visible:ne}){return Hf(this.$el)?{prev:ne,visible:Te(this.$el),inView:this.inView&&Fs(this.$el)}:!1},write({prev:ne,visible:Me,inView:Qe}){!Me||this.inView&&!Qe?Gs(this.$el):(this.autoplay===!0&&!ne||Qe)&&Is(this.$el)},events:["resize"]}},Cd={mixins:[Bh],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:Uo({target:({$el:ne})=>[B0(ne)||$e(ne)],filter:({_useObjectFit:ne})=>!ne}),connected(){this._useObjectFit=Tr(this.$el,"img","video")},update:{read(){if(this._useObjectFit)return;const{ratio:ne,cover:Me}=X,{$el:Qe,width:bt,height:Xt}=this;let fr={width:bt,height:Xt};if(!bt||!Xt){const ea={width:Qe.naturalWidth||Qe.videoWidth||Qe.clientWidth,height:Qe.naturalHeight||Qe.videoHeight||Qe.clientHeight};bt?fr=ne(ea,"width",bt):Xt?fr=ne(ea,"height",Xt):fr=ea}const{offsetHeight:Nr,offsetWidth:ln}=B0(Qe)||$e(Qe),kn=Me(fr,{width:ln+(ln%2?1:0),height:Nr+(Nr%2?1:0)});return!kn.width||!kn.height?!1:kn},write({height:ne,width:Me}){wt(this.$el,{height:ne,width:Me})},events:["resize"]}};function B0(ne){for(;ne=$e(ne);)if(wt(ne,"position")!=="static")return ne}let Qs;var tc={mixins:[ms,gs,Ss],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1,closeOnScroll:!1},computed:{boundary({boundary:ne,boundaryX:Me,boundaryY:Qe},bt){return[Yt(Me||ne,bt)||window,Yt(Qe||ne,bt)||window]},target({target:ne,targetX:Me,targetY:Qe},bt){return Me||(Me=ne||this.targetEl),Qe||(Qe=ne||this.targetEl),[Me===!0?window:Yt(Me,bt),Qe===!0?window:Yt(Qe,bt)]}},created(){this.tracker=new na},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){ce(this.$el,"uk-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=ah(this)),this._style=N(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),Qs=null),wt(this.$el,this._style)},observe:vs({target:({toggle:ne,$el:Me})=>Yt(ne,Me),targets:({$el:ne})=>ne}),events:[{name:"click",delegate(){return".uk-drop-close"},handler(ne){ne.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:ne,current:Me}){const{hash:Qe}=Me;!ne&&Qe&&vt(Me)&&!ke(Qe,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(ne,Me){ne.preventDefault(),this.isToggled()?this.hide(!1):this.show(Me==null?void 0:Me.$el,!1)}},{name:"toggleshow",self:!0,handler(ne,Me){ne.preventDefault(),this.show(Me==null?void 0:Me.$el)}},{name:"togglehide",self:!0,handler(ne){ne.preventDefault(),ut(this.$el,":focus,:hover")||this.hide()}},{name:`${Yn} focusin`,filter(){return L(this.mode,"hover")},handler(ne){Mt(ne)||this.clearTimers()}},{name:`${On} focusout`,filter(){return L(this.mode,"hover")},handler(ne){!Mt(ne)&&ne.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(ne,Me){Me&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){Qs=this,this.tracker.init(),re(this.targetEl,"aria-expanded",!0);const ne=[Oh(this),Ed(this),ih(this),this.autoUpdate&&x0(this),this.closeOnScroll&&Jc(this),!this.bgScroll&&js(this.$el)];dr(this.$el,"hide",()=>ne.forEach(Me=>Me&&Me()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:ne}){if(this.$el!==ne){Qs=Qs===null&&ke(ne,this.$el)&&this.isToggled()?this:Qs;return}Qs=this.isActive()?null:Qs,this.tracker.cancel(),re(this.targetEl,"aria-expanded",null)}}],update:{write(){this.isToggled()&&!Se(this.$el,this.clsEnter)&&this.position()}},methods:{show(ne=this.targetEl,Me=!0){if(this.isToggled()&&ne&&this.targetEl&&ne!==this.targetEl&&this.hide(!1,!1),this.targetEl=ne,this.clearTimers(),!this.isActive()){if(Qs){if(Me&&Qs.isDelaying){this.showTimer=setTimeout(()=>ut(ne,":hover")&&this.show(),10);return}let Qe;for(;Qs&&Qe!==Qs&&!ke(this.$el,Qs.$el);)Qe=Qs,Qs.hide(!1,!1)}this.container&&$e(this.$el)!==this.container&&Lr(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),Me&&this.delayShow||0)}},hide(ne=!0,Me=!0){const Qe=()=>this.toggleElement(this.$el,!1,this.animateOut&&Me);this.clearTimers(),this.isDelayedHide=ne,this.isDelaying=Pu(this.$el).some(bt=>this.tracker.movesTo(bt)),ne&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):ne&&this.delayHide?this.hideTimer=setTimeout(Qe,this.delayHide):Qe()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return Qs===this},position(){le(this.$el,"uk-drop-stack"),wt(this.$el,this._style),this.$el.hidden=!0;const ne=this.target.map(Xt=>Ec(this.$el,Xt)),Me=this.getViewportOffset(this.$el),Qe=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[Xt,[fr,Nr]]of Qe)this.axis!==fr&&L([fr,!0],this.stretch)&&wt(this.$el,{[Nr]:Math.min(Fn(this.boundary[Xt])[Nr],ne[Xt][Nr]-2*Me),[`overflow-${fr}`]:"auto"});const bt=ne[0].width-2*Me;this.$el.hidden=!1,wt(this.$el,"maxWidth",""),this.$el.offsetWidth>bt&&ce(this.$el,"uk-drop-stack"),wt(this.$el,"maxWidth",bt),this.positionAt(this.$el,this.target,this.boundary);for(const[Xt,[fr,Nr,ln,kn]]of Qe)if(this.axis===fr&&L([fr,!0],this.stretch)){const ea=Math.abs(this.getPositionOffset(this.$el)),sa=Fn(this.target[Xt]),li=Fn(this.$el);wt(this.$el,{[Nr]:(sa[ln]>li[ln]?sa[this.inset?kn:ln]-Math.max(Fn(this.boundary[Xt])[ln],ne[Xt][ln]+Me):Math.min(Fn(this.boundary[Xt])[kn],ne[Xt][kn]-Me)-sa[this.inset?ln:kn])-ea,[`overflow-${fr}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function Pu(ne){const Me=[];return Vr(ne,Qe=>wt(Qe,"position")!=="static"&&Me.push(Qe)),Me}function Ec(ne,Me){return qo(ks(Me).find(Qe=>ke(ne,Qe)))}function ah(ne){const{$el:Me}=ne.$create("toggle",Yt(ne.toggle,ne.$el),{target:ne.$el,mode:ne.mode});return re(Me,"aria-haspopup",!0),Me}function Oh(ne){const Me=()=>ne.$emit(),Qe=[$a(Me),Ua(ks(ne.$el).concat(ne.target),Me)];return()=>Qe.map(bt=>bt.disconnect())}function x0(ne,Me=()=>ne.$emit()){return kt([document,...ks(ne.$el)],"scroll",Me,{passive:!0})}function Ed(ne){return kt(document,"keydown",Me=>{Me.keyCode===to.ESC&&ne.hide(!1)})}function Jc(ne){return x0(ne,()=>ne.hide(!1))}function ih(ne){return kt(document,Bn,({target:Me})=>{ke(Me,ne.$el)||dr(document,`${ta} ${en} scroll`,({defaultPrevented:Qe,type:bt,target:Xt})=>{!Qe&&bt===ta&&Me===Xt&&!(ne.targetEl&&ke(Me,ne.targetEl))&&ne.hide(!1)},!0)})}var b0={mixins:[Bs,ms],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean,closeOnScroll:Boolean},data:{align:sr?"right":"left",clsDrop:"uk-dropdown",clsDropbar:"uk-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor({dropbarAnchor:ne},Me){return Yt(ne,Me)||Me},dropbar({dropbar:ne}){return ne?(ne=this._dropbar||Yt(ne,this.$el)||qr(`+ .${this.clsDropbar}`,this.$el),ne||(this._dropbar=qr("<div></div>"))):null},dropbarOffset(){return 0},dropContainer(ne,Me){return this.container||Me},dropdowns({clsDrop:ne},Me){var Qe;const bt=lr(`.${ne}`,Me);if(this.dropContainer!==Me)for(const Xt of lr(`.${ne}`,this.dropContainer)){const fr=(Qe=this.getDropdown(Xt))==null?void 0:Qe.targetEl;!L(bt,Xt)&&fr&&ke(fr,this.$el)&&bt.push(Xt)}return bt},items({selNavItem:ne},Me){return lr(ne,Me)}},watch:{dropbar(ne){ce(ne,"uk-dropbar","uk-dropbar-top",this.clsDropbar,`uk-${this.$options.name}-dropbar`)},dropdowns(){this.initializeDropdowns()}},connected(){this.initializeDropdowns()},disconnected(){tn(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:ne}){const Me=this.getActive();Me&&L(Me.mode,"hover")&&Me.targetEl&&!ke(Me.targetEl,ne)&&!Me.isDelaying&&Me.hide(!1)}},{name:"keydown",self:!0,delegate(){return this.selNavItem},handler(ne){var Me;const{current:Qe,keyCode:bt}=ne,Xt=this.getActive();bt===to.DOWN&&(Xt==null?void 0:Xt.targetEl)===Qe&&(ne.preventDefault(),(Me=qr(Je,Xt.$el))==null||Me.focus()),kc(ne,this.items,Xt)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(ne){var Me;const{current:Qe,keyCode:bt}=ne;if(!L(this.dropdowns,Qe))return;const Xt=this.getActive();let fr=-1;if(bt===to.HOME?fr=0:bt===to.END?fr="last":bt===to.UP?fr="previous":bt===to.DOWN?fr="next":bt===to.ESC&&((Me=Xt.targetEl)==null||Me.focus()),~fr){ne.preventDefault();const Nr=lr(Je,Qe);Nr[K(fr,Nr,x(Nr,ln=>ut(ln,":focus")))].focus()}kc(ne,this.items,Xt)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const ne=this.getActive();ne&&L(ne.mode,"hover")&&!this.dropdowns.some(Me=>ut(Me,":hover"))&&ne.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:ne}){this.isDropbarDrop(ne)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&zr(this.dropbarAnchor,this.dropbar),ce(ne,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:ne}){if(!this.isDropbarDrop(ne))return;const Me=this.getDropdown(ne),Qe=()=>{const bt=Ne(ne,`.${this.clsDrop}`).concat(ne).map(ln=>Fn(ln)),Xt=Math.min(...bt.map(({top:ln})=>ln)),fr=Math.max(...bt.map(({bottom:ln})=>ln)),Nr=Fn(this.dropbar);wt(this.dropbar,"top",this.dropbar.offsetTop-(Nr.top-Xt)-this.dropbarOffset),this.transitionTo(fr-Xt+P(wt(ne,"marginBottom"))+this.dropbarOffset,ne)};this._observer=Ua([Me.$el,...Me.target],Qe),Qe()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(ne){const Me=this.getActive();ut(this.dropbar,":hover")&&Me.$el===ne.target&&L(Me.mode,"hover")&&Me.isDelayedHide&&!this.items.some(Qe=>Me.targetEl!==Qe&&ut(Qe,":focus"))&&ne.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:ne}){var Me;if(!this.isDropbarDrop(ne))return;(Me=this._observer)==null||Me.disconnect();const Qe=this.getActive();(!Qe||Qe.$el===ne)&&this.transitionTo(0)}}],methods:{getActive(){var ne;return L(this.dropdowns,(ne=Qs)==null?void 0:ne.$el)&&Qs},async transitionTo(ne,Me){const{dropbar:Qe}=this,bt=Sa(Qe);Me=bt<ne&&Me,await mr.cancel([Me,Qe]),wt(Me,"clipPath",`polygon(0 0,100% 0,100% ${bt}px,0 ${bt}px)`),Sa(Qe,bt),await Promise.all([mr.start(Qe,{height:ne},this.duration),mr.start(Me,{clipPath:`polygon(0 0,100% 0,100% ${ne}px,0 ${ne}px)`},this.duration).finally(()=>wt(Me,{clipPath:""}))]).catch(j)},getDropdown(ne){return this.$getComponent(ne,"drop")||this.$getComponent(ne,"dropdown")},isDropbarDrop(ne){return this.getDropdown(ne)&&Se(ne,this.clsDrop)},initializeDropdowns(){this.$create("drop",this.dropdowns.filter(ne=>!this.getDropdown(ne)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:this.boundary===!0?this.$el:this.boundary})}}};function kc(ne,Me,Qe){var bt,Xt,fr;const{current:Nr,keyCode:ln}=ne;let kn=-1;ln===to.HOME?kn=0:ln===to.END?kn="last":ln===to.LEFT?kn="previous":ln===to.RIGHT?kn="next":ln===to.TAB&&((bt=Qe.targetEl)==null||bt.focus(),(Xt=Qe.hide)==null||Xt.call(Qe,!1)),~kn&&(ne.preventDefault(),(fr=Qe.hide)==null||fr.call(Qe,!1),Me[K(kn,Me,Me.indexOf(Qe.targetEl||Nr))].focus())}var kd={mixins:[Bs],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(ne,Me){return qr(Re,Me)},state(){return this.input.nextElementSibling},target({target:ne},Me){return ne&&(ne===!0&&$e(this.input)===Me&&this.input.nextElementSibling||qr(ne,Me))}},update(){var ne;const{target:Me,input:Qe}=this;if(!Me)return;let bt;const Xt=Xe(Me)?"value":"textContent",fr=Me[Xt],Nr=(ne=Qe.files)!=null&&ne[0]?Qe.files[0].name:ut(Qe,"select")&&(bt=lr("option",Qe).filter(ln=>ln.selected)[0])?bt.textContent:Qe.value;fr!==Nr&&(Me[Xt]=Nr)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return lt(this.$el,"form")},handler(){this.$emit()}}]},nv={extends:yf,mixins:[Bs],name:"grid",props:{masonry:Boolean,parallax:String,parallaxStart:String,parallaxEnd:String,parallaxJustify:Boolean},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0,parallaxStart:0,parallaxEnd:0,parallaxJustify:!1},connected(){this.masonry&&ce(this.$el,"uk-flex-top","uk-flex-wrap-top")},observe:yl({filter:({parallax:ne,parallaxJustify:Me})=>ne||Me}),update:[{write({rows:ne}){Ee(this.$el,this.clsStack,!ne[0][1])},events:["resize"]},{read(ne){const{rows:Me}=ne;let{masonry:Qe,parallax:bt,parallaxJustify:Xt,margin:fr}=this;if(bt=Math.max(0,An(bt)),!(Qe||bt||Xt)||Lc(Me)||Me[0].some((qi,No)=>Me.some(_s=>_s[No]&&_s[No].offsetWidth!==qi.offsetWidth)))return ne.translates=ne.scrollColumns=!1;let Nr=O0(Me,fr),ln,kn;Qe?[ln,kn]=Ld(Me,Nr,Qe==="next"):ln=av(Me);const ea=ln.map(qi=>H(qi,"offsetHeight")+Nr*(qi.length-1)),sa=Math.max(0,...ea);let li,pi,zi;return(bt||Xt)&&(li=ea.map((qi,No)=>Xt?sa-qi+bt:bt/(No%2||8)),Xt||(bt=Math.max(...ea.map((qi,No)=>qi+li[No]-sa))),pi=An(this.parallaxStart,"height",this.$el,!0),zi=An(this.parallaxEnd,"height",this.$el,!0)),{columns:ln,translates:kn,scrollColumns:li,parallaxStart:pi,parallaxEnd:zi,padding:bt,height:kn?sa:""}},write({height:ne,padding:Me}){wt(this.$el,"paddingBottom",Me||""),ne!==!1&&wt(this.$el,"height",ne)},events:["resize"]},{read({rows:ne,scrollColumns:Me,parallaxStart:Qe,parallaxEnd:bt}){return Me&&Lc(ne)?!1:{scrolled:Me?Ws(this.$el,Qe,bt):!1}},write({columns:ne,scrolled:Me,scrollColumns:Qe,translates:bt}){!Me&&!bt||ne.forEach((Xt,fr)=>Xt.forEach((Nr,ln)=>{let[kn,ea]=bt&&bt[fr][ln]||[0,0];Me&&(ea+=Me*Qe[fr]),wt(Nr,"transform",`translate(${kn}px, ${ea}px)`)}))},events:["scroll","resize"]}]};function Lc(ne){return ne.flat().some(Me=>wt(Me,"position")==="absolute")}function Ld(ne,Me,Qe){const bt=[],Xt=[],fr=Array(ne[0].length).fill(0);let Nr=0;for(let ln of ne){sr&&(ln=ln.reverse());let kn=0;for(const ea in ln){const{offsetWidth:sa,offsetHeight:li}=ln[ea],pi=Qe?ea:fr.indexOf(Math.min(...fr));_h(bt,pi,ln[ea]),_h(Xt,pi,[(pi-ea)*sa*(sr?-1:1),fr[pi]-Nr]),fr[pi]+=li+Me,kn=Math.max(kn,li)}Nr+=kn+Me}return[bt,Xt]}function O0(ne,Me){const Qe=ne.flat().find(bt=>Se(bt,Me));return P(Qe?wt(Qe,"marginTop"):wt(ne[0][0],"paddingLeft"))}function av(ne){const Me=[];for(const Qe of ne)for(const bt in Qe)_h(Me,bt,Qe[bt]);return Me}function _h(ne,Me,Qe){ne[Me]||(ne[Me]=[]),ne[Me].push(Qe)}var Lf={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements({target:ne},Me){return lr(ne,Me)}},observe:Uo({target:({$el:ne,elements:Me})=>[ne,...Me]}),update:{read(){return{rows:(this.row?Zs(this.elements):[this.elements]).map(iv)}},write({rows:ne}){for(const{heights:Me,elements:Qe}of ne)Qe.forEach((bt,Xt)=>wt(bt,"minHeight",Me[Xt]))},events:["resize"]}};function iv(ne){if(ne.length<2)return{heights:[""],elements:ne};let Me=ne.map(ov);const Qe=Math.max(...Me);return{heights:ne.map((bt,Xt)=>Me[Xt].toFixed(2)===Qe.toFixed(2)?"":Qe),elements:ne}}function ov(ne){const Me=N(ne.style,["display","minHeight"]);Te(ne)||wt(ne,"display","block","important"),wt(ne,"minHeight","");const Qe=gn(ne).height-La(ne,"height","content-box");return wt(ne,Me),Qe}var Pd={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:[al({filter:({expand:ne})=>ne}),Uo({target:({$el:ne})=>rs(ne)})],update:{read(){if(!Te(this.$el))return!1;let ne="";const Me=La(this.$el,"height","content-box"),{body:Qe,scrollingElement:bt}=document,Xt=ns(this.$el),{height:fr}=qo(Xt===Qe?bt:Xt),Nr=bt===Xt||Qe===Xt;if(ne=`calc(${Nr?"100vh":`${fr}px`}`,this.expand){const ln=gn(Xt).height-gn(this.$el).height;ne+=` - ${ln}px`}else{if(this.offsetTop)if(Nr){const ln=this.offsetTop===!0?this.$el:Yt(this.offsetTop,this.$el),kn=Ma(ln)[0]-Ma(Xt)[0];ne+=kn>0&&kn<fr/2?` - ${kn}px`:""}else ne+=` - ${wt(Xt,"paddingTop")}`;this.offsetBottom===!0?ne+=` - ${gn(this.$el.nextElementSibling).height}px`:g(this.offsetBottom)?ne+=` - ${this.offsetBottom}vh`:this.offsetBottom&&a(this.offsetBottom,"px")?ne+=` - ${P(this.offsetBottom)}px`:v(this.offsetBottom)&&(ne+=` - ${gn(Yt(this.offsetBottom,this.$el)).height}px`)}return ne+=`${Me?` - ${Me}px`:""})`,{minHeight:ne}},write({minHeight:ne}){wt(this.$el,"minHeight",`max(${this.minHeight||0}px, ${ne})`)},events:["resize"]}},sv='<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',ge='<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',$='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',xe='<svg width="20" height="20" viewBox="0 0 20 20"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',ae='<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',be='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',Ge='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',rt='<svg width="20" height="20" viewBox="0 0 20 20"><style>.uk-navbar-toggle-animate svg>[class*="line-"]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded="true"] svg>.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',xt='<svg width="40" height="40" viewBox="0 0 40 40"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',It='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',tr='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',gr='<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',Rr='<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',Yr='<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',sn='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',pn='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',mn='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>',hn='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',Mn='<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',Un='<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>',oa={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(ne=>{if(!this._connected)return;const Me=ma(ne,this.$el);return this.svgEl&&Me!==this.svgEl&&tn(this.svgEl),Da.call(this,Me,ne),this.svgEl=Me},j)},disconnected(){this.svg.then(ne=>{this._connected||(De(this.$el)&&(this.$el.hidden=!1),tn(ne),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function ma(ne,Me){if(De(Me)||Tr(Me,"canvas")){Me.hidden=!0;const bt=Me.nextElementSibling;return ka(ne,bt)?bt:zr(Me,ne)}const Qe=Me.lastElementChild;return ka(ne,Qe)?Qe:Lr(Me,ne)}function ka(ne,Me){return Tr(ne,"svg")&&Tr(Me,"svg")&&ne.innerHTML===Me.innerHTML}function Da(ne,Me){const Qe=["width","height"];let bt=Qe.map(fr=>this[fr]);bt.some(fr=>fr)||(bt=Qe.map(fr=>re(Me,fr)));const Xt=re(Me,"viewBox");Xt&&!bt.some(fr=>fr)&&(bt=Xt.split(" ").slice(2)),bt.forEach((fr,Nr)=>re(ne,Qe[Nr],P(fr)*this.ratio||null))}const Ea={spinner:Mn,totop:Un,marker:xe,"close-icon":sv,"close-large":ge,"drop-parent-icon":$,"nav-parent-icon":be,"nav-parent-icon-large":ae,"navbar-parent-icon":Ge,"navbar-toggle-icon":rt,"overlay-icon":xt,"pagination-next":It,"pagination-previous":tr,"search-icon":gr,"search-large":Rr,"search-navbar":Yr,"slidenav-next":pn,"slidenav-next-large":sn,"slidenav-previous":hn,"slidenav-previous-large":mn},Ha={install:ro,mixins:[oa],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){ce(this.$el,"uk-icon")},methods:{async getSvg(){const ne=_o(this.icon);if(!ne)throw"Icon not found.";return ne}}},Wa={args:!1,extends:Ha,data:ne=>({icon:B(ne.constructor.options.name)}),beforeConnect(){ce(this.$el,this.$options.id)}},Xa={extends:Wa,beforeConnect(){const ne=this.$props.icon;this.icon=lt(this.$el,".uk-nav-primary")?`${ne}-large`:ne}},qa={extends:Wa,mixins:[ou],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){if(this.icon=Se(this.$el,"uk-search-icon")&&Ne(this.$el,".uk-search-large").length?"search-large":Ne(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon,!fe(this.$el,"aria-label"))if(Se(this.$el,"uk-search-toggle")||Se(this.$el,"uk-navbar-toggle")){const ne=this.t("toggle");re(this.$el,"aria-label",ne)}else{const ne=lt(this.$el,"a,button");if(ne){const Me=this.t("submit");re(ne,"aria-label",Me)}}}},ui={extends:Wa,beforeConnect(){re(this.$el,"role","status")},methods:{async getSvg(){const ne=await Ha.methods.getSvg.call(this);return this.ratio!==1&&wt(qr("circle",ne),"strokeWidth",1/this.ratio),ne}}},bi={extends:Wa,mixins:[ou],beforeConnect(){const ne=lt(this.$el,"a,button");re(ne,"role",this.role!==null&&Tr(ne,"a")?"button":this.role);const Me=this.t("label");Me&&!fe(ne,"aria-label")&&re(ne,"aria-label",Me)}},Ii={extends:bi,beforeConnect(){ce(this.$el,"uk-slidenav");const ne=this.$props.icon;this.icon=Se(this.$el,"uk-slidenav-large")?`${ne}-large`:ne}},co={extends:bi,i18n:{label:"Open menu"}},Hi={extends:bi,i18n:{label:"Close"},beforeConnect(){this.icon=`close-${Se(this.$el,"uk-close-large")?"large":"icon"}`}},Qi={extends:bi,i18n:{label:"Open"}},yi={extends:bi,i18n:{label:"Back to top"}},ho={extends:bi,i18n:{label:"Next page"},data:{role:null}},So={extends:bi,i18n:{label:"Previous page"},data:{role:null}},go={};function ro(ne){ne.icon.add=(Me,Qe)=>{const bt=v(Me)?{[Me]:Qe}:Me;G(bt,(Xt,fr)=>{Ea[fr]=Xt,delete go[fr]}),ne._initialized&&Vr(document.body,Xt=>G(ne.getComponents(Xt),fr=>{fr.$options.isIcon&&fr.icon in bt&&fr.$reset()}))}}function _o(ne){return Ea[ne]?(go[ne]||(go[ne]=qr((Ea[Oi(ne)]||Ea[ne]).trim())),go[ne].cloneNode(!0)):null}function Oi(ne){return sr?U(U(ne,"left","right"),"previous","next"):ne}const lo=Ni&&"loading"in HTMLImageElement.prototype;var Cs={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}lo&&Cl(this.$el)&&(this.$el.loading="lazy",Ps(this.$el)),ac(this.$el)},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:nl({target:({$el:ne,$props:Me})=>[ne,...it(Me.target,ne)],handler(ne,Me){this.load(),Me.disconnect()},options:({margin:ne})=>({rootMargin:ne}),filter:({loading:ne})=>ne==="lazy"}),methods:{load(){if(this.img)return this.img;const ne=Cl(this.$el)?this.$el:rc(this.$el,this.dataSrc,this.sources);return te(ne,"loading"),Ps(this.$el,ne.currentSrc),this.img=ne}}};function Ps(ne,Me){if(Cl(ne)){const Qe=$e(ne);(Tr(Qe,"picture")?gt(Qe):[ne]).forEach(bt=>Xu(bt,bt))}else Me&&!L(ne.style.backgroundImage,Me)&&(wt(ne,"backgroundImage",`url(${Et(Me)})`),Dt(ne,$t("load",!1)))}const ff=["data-src","data-srcset","sizes"];function Xu(ne,Me){for(const Qe of ff){const bt=ee(ne,Qe);bt&&re(Me,Qe.replace(/^(data-)+/,""),bt)}}function rc(ne,Me,Qe){const bt=new Image;return nc(bt,Qe),Xu(ne,bt),bt.onload=()=>{Ps(ne,bt.currentSrc)},re(bt,"src",Me),bt}function nc(ne,Me){if(Me=Pc(Me),Me.length){const Qe=Qn("<picture>");for(const bt of Me){const Xt=Qn("<source>");re(Xt,bt),Lr(Qe,Xt)}Lr(Qe,ne)}}function Pc(ne){if(!ne)return[];if(E(ne,"["))try{ne=JSON.parse(ne)}catch{ne=[]}else ne=nf(ne);return d(ne)||(ne=[ne]),ne.filter(Me=>!C(Me))}function ac(ne){Cl(ne)&&!fe(ne,"src")&&re(ne,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function Cl(ne){return Tr(ne,"img")}var Qc={mixins:[Bs,Dr],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill({fill:ne}){return ne||wt(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=Wn(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){En(this.wrapper.childNodes)},observe:Uo(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:ne,fill:Me,hide:Qe}){Ee(this.wrapper,this.clsHide,Qe),re(this.wrapper,this.attrFill,new Array(ne).join(Me))},events:["resize"]}},_l={install:$u,mixins:[Su],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){Se(this.panel,"uk-margin-auto-vertical")?ce(this.$el,"uk-flex"):wt(this.$el,"display","block"),Sa(this.$el)}},{name:"hidden",self:!0,handler(){wt(this.$el,"display",""),le(this.$el,"uk-flex")}}]};function $u({modal:ne}){ne.dialog=function(Qe,bt){const Xt=ne(`<div class="uk-modal"> <div class="uk-modal-dialog">${Qe}</div> </div>`,{stack:!0,role:"alertdialog",...bt});return Xt.show(),kt(Xt.$el,"hidden",async()=>{await Promise.resolve(),Xt.$destroy(!0)},{self:!0}),Xt},ne.alert=function(Qe,bt){return Me(({i18n:Xt})=>`<div class="uk-modal-body">${v(Qe)?Qe:Kt(Qe)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${Xt.ok}</button> </div>`,bt)},ne.confirm=function(Qe,bt){return Me(({i18n:Xt})=>`<form> <div class="uk-modal-body">${v(Qe)?Qe:Kt(Qe)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${Xt.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${Xt.ok}</button> </div> </form>`,bt,()=>Promise.reject())},ne.prompt=function(Qe,bt,Xt){const fr=Me(({i18n:kn})=>`<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${v(Qe)?Qe:Kt(Qe)}</label> <input class="uk-input" value="${bt||""}" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${kn.cancel}</button> <button class="uk-button uk-button-primary">${kn.ok}</button> </div> </form>`,Xt,()=>null,()=>ln.value),{$el:Nr}=fr.dialog,ln=qr("input",Nr);return kt(Nr,"show",()=>ln.select()),fr},ne.i18n={ok:"Ok",cancel:"Cancel"};function Me(Qe,bt,Xt=j,fr=j){bt={bgClose:!1,escClose:!0,...bt,i18n:{...ne.i18n,...bt==null?void 0:bt.i18n}};const Nr=ne.dialog(Qe(bt),bt);return r(new Promise(ln=>{const kn=kt(Nr.$el,"hide",()=>ln(Xt()));kt(Nr.$el,"submit","form",ea=>{ea.preventDefault(),ln(fr(Nr)),kn(),Nr.hide()})}),{dialog:Nr})}}var ic={extends:z0,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Pf={extends:b0,props:{dropbarTransparentMode:Boolean},data:{clsDrop:"uk-navbar-dropdown",selNavItem:".uk-navbar-nav > li > a,a.uk-navbar-item,button.uk-navbar-item,.uk-navbar-item a,.uk-navbar-item button,.uk-navbar-toggle",selTransparentTarget:'[class*="uk-section"]',dropbarTransparentMode:!1},computed:{dropbarOffset(){return this.dropbarTransparentMode==="behind"?this.$el.offsetHeight:0},navbarContainer(){return lt(this.$el,".uk-navbar-container")}},watch:{items(){const ne=Se(this.$el,"uk-navbar-justify");for(const Me of lr(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))wt(Me,"flexGrow",ne?lr(".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",Me).length:"")}},disconnect(){var ne;(ne=this._colorListener)==null||ne.call(this)},observe:[Nu({target:({navbarContainer:ne})=>ne,handler(){this.registerColorListener()},options:{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}}),nl({handler(ne){this._isIntersecting=ne[0].isIntersecting,this.registerColorListener()},args:{intersecting:!1}})],events:[{name:"show",el(){return this.dropContainer},handler({target:ne}){const Me=this.getTransparentMode(ne);if(!Me||this._mode)return;const Qe=()=>this._mode=oc(this.navbarContainer,"uk-light","uk-dark");if(Me==="behind"){const bt=qc(this.$el);bt&&(Qe(),ce(this.navbarContainer,`uk-${bt}`))}Me==="remove"&&(Qe(),le(this.navbarContainer,"uk-navbar-transparent"))}},{name:"hide",el(){return this.dropContainer},async handler({target:ne}){const Me=this.getTransparentMode(ne);if(!(!Me||!this._mode)&&(await Nh(),!this.getActive())){if(Me==="behind"){const Qe=qc(this.$el);Qe&&le(this.navbarContainer,`uk-${Qe}`)}ce(this.navbarContainer,this._mode),Me==="remove"&&ce(this.navbarContainer,"uk-navbar-transparent"),this._mode=null}}}],methods:{getTransparentMode(ne){if(!this.navbarContainer)return;if(this.dropbar&&this.isDropbarDrop(ne))return this.dropbarTransparentMode;const Me=this.getDropdown(ne);if(!(!Me||!Se(ne,"uk-dropbar")))return Me.inset?"behind":"remove"},registerColorListener(){const ne=this._isIntersecting&&Se(this.navbarContainer,"uk-navbar-transparent")&&!oh(this.navbarContainer)&&!lr(".uk-drop",this.dropContainer).map(this.getDropdown).some(Me=>Me.isToggled()&&(Me.inset||this.getTransparentMode(Me.$el)==="behind"));if(this._colorListener){ne||(this._colorListener(),this._colorListener=null);return}ne&&(this._colorListener=El(this.navbarContainer,()=>{const{left:Me,top:Qe,height:bt}=Fn(this.navbarContainer),Xt={x:Me,y:Math.max(0,Qe)+bt/2},fr=lr(this.selTransparentTarget).find(ln=>ie(Xt,Fn(ln))),Nr=wt(fr,"--uk-navbar-color");Nr&&we(this.navbarContainer,"uk-light,uk-dark",`uk-${Nr}`)}))}}};function oc(ne,...Me){for(const Qe of Me)if(Se(ne,Qe))return le(ne,Qe),Qe}async function Nh(){return new Promise(ne=>setTimeout(ne))}function qc(ne){return wt(ne,"--uk-navbar-dropbar-behind-color")}function El(ne,Me){const Qe=ns(ne,!0),bt=Qe===document.documentElement?document:Qe,Xt=kt(bt,"scroll",Me,{passive:!0}),fr=Ua([ne,Qe],Me);return()=>{Xt(),fr.disconnect()}}function oh(ne){do if(wt(ne,"mixBlendMode")!=="normal")return!0;while(ne=$e(ne))}var Jl={mixins:[Su],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip({flip:ne,clsFlip:Me}){return ne?Me:""},clsOverlay({overlay:ne,clsOverlay:Me}){return ne?Me:""},clsMode({mode:ne,clsMode:Me}){return`${Me}-${ne}`},clsSidebarAnimation({mode:ne,clsSidebarAnimation:Me}){return ne==="none"||ne==="reveal"?"":Me},clsContainerAnimation({mode:ne,clsContainerAnimation:Me}){return ne!=="push"&&ne!=="reveal"?"":Me},transitionElement({mode:ne}){return ne==="reveal"?$e(this.panel):this.panel}},observe:Uu({filter:({swiping:ne})=>ne}),update:{read(){this.isToggled()&&!Te(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(ne){ne.cancelable&&ne.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!Se($e(this.panel),this.clsMode)&&(an(this.panel,"<div>"),ce($e(this.panel),this.clsMode));const{body:ne,scrollingElement:Me}=document;ce(ne,this.clsContainer,this.clsFlip),wt(ne,"touch-action","pan-y pinch-zoom"),wt(this.$el,"display","block"),wt(this.panel,"maxWidth",Me.clientWidth),ce(this.$el,this.clsOverlay),ce(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),Sa(ne),ce(ne,this.clsContainerAnimation),this.clsContainerAnimation&&sh()}},{name:"hide",self:!0,handler(){le(document.body,this.clsContainerAnimation),wt(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Uh(),this.mode==="reveal"&&En(this.panel),le(this.panel,this.clsSidebarAnimation,this.clsMode),le(this.$el,this.clsOverlay),wt(this.$el,"display",""),wt(this.panel,"maxWidth",""),le(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(ne){this.isToggled()&&a(ne.type,"Left")^this.flip&&this.hide()}}]};function sh(){lh().content+=",user-scalable=0"}function Uh(){const ne=lh();ne.content=ne.content.replace(/,user-scalable=0$/,"")}function lh(){return qr('meta[name="viewport"]',document.head)||Lr(document.head,'<meta name="viewport">')}var lv={mixins:[Bs],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container({selContainer:ne},Me){return lt(Me,ne)},content({selContent:ne},Me){return lt(Me,ne)}},observe:Uo({target:({container:ne,content:Me})=>[ne,Me]}),update:{read(){return!this.content||!this.container||!Te(this.$el)?!1:{max:Math.max(this.minHeight,Sa(this.container)-(gn(this.content).height-Sa(this.$el)))}},write({max:ne}){wt(this.$el,{minHeight:this.minHeight,maxHeight:ne})},events:["resize"]}},Hh={props:["width","height"],connected(){ce(this.$el,"uk-responsive-width")},observe:Uo({target:({$el:ne})=>[ne,$e(ne)]}),update:{read(){return Te(this.$el)&&this.width&&this.height?{width:_a($e(this.$el)),height:this.height}:!1},write(ne){Sa(this.$el,X.contain({height:this.height,width:this.width},ne).height)},events:["resize"]}},_0={props:{offset:Number},data:{offset:0},connected(){Ds(this)},disconnected(){Du(this)},methods:{async scrollTo(ne){ne=ne&&qr(ne)||document.body,Dt(this.$el,"beforescroll",[this,ne])&&(await ts(ne,{offset:this.offset}),Dt(this.$el,"scrolled",[this,ne]))}}};const sc=new Set;function Ds(ne){sc.size||kt(document,"click",hu),sc.add(ne)}function Du(ne){sc.delete(ne),sc.size||nr(document,"click",hu)}function hu(ne){if(!ne.defaultPrevented)for(const Me of sc)ke(ne.target,Me.$el)&&vt(Me.$el)&&(ne.preventDefault(),window.location.href!==Me.$el.href&&window.history.pushState({},"",Me.$el.href),Me.scrollTo(Bt(Me.$el)))}var Vh={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements({target:ne},Me){return ne?lr(ne,Me):[Me]}},watch:{elements(ne){this.hidden&&wt(pt(ne,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[ne,Me]of this.elementData.entries())le(ne,this.inViewClass,(Me==null?void 0:Me.cls)||"");delete this.elementData},observe:nl({target:({elements:ne})=>ne,handler(ne){const Me=this.elementData;for(const{target:Qe,isIntersecting:bt}of ne){Me.has(Qe)||Me.set(Qe,{cls:ee(Qe,"uk-scrollspy-class")||this.cls});const Xt=Me.get(Qe);!this.repeat&&Xt.show||(Xt.show=bt)}this.$emit()},options:({margin:ne})=>({rootMargin:ne}),args:{intersecting:!1}}),update:[{write(ne){for(const[Me,Qe]of this.elementData.entries())Qe.show&&!Qe.inview&&!Qe.queued?(Qe.queued=!0,ne.promise=(ne.promise||Promise.resolve()).then(()=>new Promise(bt=>setTimeout(bt,this.delay))).then(()=>{this.toggle(Me,!0),setTimeout(()=>{Qe.queued=!1,this.$emit()},300)})):!Qe.show&&Qe.inview&&!Qe.queued&&this.repeat&&this.toggle(Me,!1)}}],methods:{toggle(ne,Me){var Qe;const bt=this.elementData.get(ne);if(bt){if((Qe=bt.off)==null||Qe.call(bt),wt(ne,"opacity",!Me&&this.hidden?0:""),Ee(ne,this.inViewClass,Me),Ee(ne,bt.cls),/\buk-animation-/.test(bt.cls)){const Xt=()=>me(ne,"uk-animation-[\\w-]+");Me?bt.off=dr(ne,"animationcancel animationend",Xt):Xt()}Dt(ne,Me?"inview":"outview"),bt.inview=Me,this.$update(ne)}}}},Dd={props:{cls:String,closest:Boolean,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links(ne,Me){return lr('a[href*="#"]',Me).filter(Qe=>Qe.hash&&vt(Qe))},elements({closest:ne}){return this.links.map(Me=>lt(Me,ne||"*"))}},watch:{links(ne){this.scroll&&this.$create("scroll",ne,{offset:this.offset})}},observe:[nl(),yl()],update:[{read(){const ne=this.links.map(Bt).filter(Boolean),{length:Me}=ne;if(!Me||!Te(this.$el))return!1;const Qe=ns(ne,!0),{scrollTop:bt,scrollHeight:Xt}=Qe,fr=qo(Qe),Nr=Xt-fr.height;let ln=!1;if(bt===Nr)ln=Me-1;else{for(let kn=0;kn<ne.length;kn++){const ea=g1(ne[kn]),sa=this.offset+(ea?Fn(ea).height:0);if(Fn(ne[kn]).top-fr.top-sa>0)break;ln=+kn}ln===!1&&this.overflow&&(ln=0)}return{active:ln}},write({active:ne}){const Me=ne!==!1&&!Se(this.elements[ne],this.cls);this.links.forEach(Qe=>Qe.blur());for(let Qe=0;Qe<this.elements.length;Qe++)Ee(this.elements[Qe],this.cls,+Qe===ne);Me&&Dt(this.$el,"active",[ne,this.elements[ne]])},events:["scroll","resize"]}]};function g1(ne){return ne.ownerDocument.elementsFromPoint(1,1).find(Me=>["fixed","sticky"].includes(wt(Me,"position"))&&!Me.contains(ne))}var y1={mixins:[Bs,Dr],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget({selTarget:ne},Me){return ne&&qr(ne,Me)||Me}},connected(){this.start=uv(this.start||this.top),this.end=uv(this.end||this.bottom),this.placeholder=qr("+ .uk-sticky-placeholder",this.$el)||qr('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},beforeDisconnect(){this.isFixed&&(this.hide(),le(this.selTarget,this.clsInactive)),uh(this.$el),tn(this.placeholder),this.placeholder=null},observe:[al(),yl({target:()=>document.scrollingElement}),Uo({target:({$el:ne})=>[ne,document.scrollingElement]})],events:[{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:ne}=document;!location.hash||ne.scrollTop===0||setTimeout(()=>{const Me=Fn(qr(location.hash)),Qe=Fn(this.$el);this.isFixed&&Q(Me,Qe)&&(ne.scrollTop=Me.top-Qe.height-An(this.targetOffset,"height",this.placeholder)-An(this.offset,"height",this.placeholder))})}},{name:"transitionstart",handler(){this.transitionInProgress=dr(this.$el,"transitionend transitioncancel",()=>this.transitionInProgress=null)}}],update:[{read({height:ne,width:Me,margin:Qe,sticky:bt}){if(this.inactive=!this.matchMedia||!Te(this.$el),this.inactive)return;const Xt=this.isFixed&&!this.transitionInProgress;Xt&&(fv(this.selTarget),this.hide()),this.active||({height:ne,width:Me}=Fn(this.$el),Qe=wt(this.$el,"margin")),Xt&&this.show();const fr=An("100vh","height"),Nr=Sa(window),ln=Math.max(0,document.scrollingElement.scrollHeight-fr);let kn=this.position;this.overflowFlip&&ne>fr&&(kn=kn==="top"?"bottom":"top");const ea=this.isFixed?this.placeholder:this.$el;let sa=An(this.offset,"height",bt?this.$el:ea);kn==="bottom"&&(ne<Nr||this.overflowFlip)&&(sa+=Nr-ne);const li=this.overflowFlip?0:Math.max(0,ne+sa-fr),pi=Fn(ea).top,zi=Fn(this.$el).height,qi=(this.start===!1?pi:w0(this.start,this.$el,pi))-sa,No=this.end===!1?ln:Math.min(ln,w0(this.end,this.$el,pi+ne,!0)-zi-sa+li);return bt=ln&&!this.showOnUp&&qi+sa===pi&&No===Math.min(ln,w0("!*",this.$el,0,!0)-zi-sa+li)&&wt($e(this.$el),"overflowY")==="visible",{start:qi,end:No,offset:sa,overflow:li,topOffset:pi,height:ne,elHeight:zi,width:Me,margin:Qe,top:Ma(ea)[0],sticky:bt}},write({height:ne,width:Me,margin:Qe,offset:bt,sticky:Xt}){if((this.inactive||Xt||!this.isFixed)&&uh(this.$el),this.inactive)return;Xt&&(ne=Me=Qe=0,wt(this.$el,{position:"sticky",top:bt}));const{placeholder:fr}=this;wt(fr,{height:ne,width:Me,margin:Qe}),ke(fr,document)||(fr.hidden=!0),(Xt?Br:zr)(this.$el,fr)},events:["resize"]},{read({scroll:ne=0,dir:Me="down",overflow:Qe,overflowScroll:bt=0,start:Xt,end:fr}){const Nr=document.scrollingElement.scrollTop;return{dir:ne<=Nr?"down":"up",prevDir:Me,scroll:Nr,prevScroll:ne,offsetParentTop:Fn((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:W(bt+W(Nr,Xt,fr)-W(ne,Xt,fr),0,Qe)}},write(ne,Me){const Qe=Me.has("scroll"),{initTimestamp:bt=0,dir:Xt,prevDir:fr,scroll:Nr,prevScroll:ln=0,top:kn,start:ea,topOffset:sa,height:li}=ne;if(Nr<0||Nr===ln&&Qe||this.showOnUp&&!Qe&&!this.isFixed)return;const pi=Date.now();if((pi-bt>300||Xt!==fr)&&(ne.initScroll=Nr,ne.initTimestamp=pi),!(this.showOnUp&&!this.isFixed&&Math.abs(ne.initScroll-Nr)<=30&&Math.abs(ln-Nr)<=10))if(this.inactive||Nr<ea||this.showOnUp&&(Nr<=ea||Xt==="down"&&Qe||Xt==="up"&&!this.isFixed&&Nr<=sa+li)){if(!this.isFixed){or.inProgress(this.$el)&&kn>Nr&&(or.cancel(this.$el),this.hide());return}if(this.animation&&Nr>sa){if(Se(this.$el,"uk-animation-leave"))return;or.out(this.$el,this.animation).then(()=>this.hide(),j)}else this.hide()}else this.isFixed?this.update():this.animation&&Nr>sa?(this.show(),or.in(this.$el,this.animation).catch(j)):(fv(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:ne,sticky:Me}=this._data;this.setActive(!1),le(this.$el,this.clsFixed,this.clsBelow),Me?wt(this.$el,"top",ne):wt(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:ne,scroll:Me=0,overflow:Qe,overflowScroll:bt=0,start:Xt,end:fr,offset:Nr,topOffset:ln,height:kn,elHeight:ea,offsetParentTop:sa,sticky:li}=this._data;const pi=Xt!==0||Me>Xt;if(!li){let zi="fixed";Me>fr&&(Nr+=fr-sa+bt-Qe,zi="absolute"),wt(this.$el,{position:zi,width:ne,marginTop:0},"important")}wt(this.$el,"top",Nr-bt),this.setActive(pi),Ee(this.$el,this.clsBelow,Me>ln+(li?Math.min(kn,ea):kn)),ce(this.$el,this.clsFixed)},setActive(ne){const Me=this.active;this.active=ne,ne?(we(this.selTarget,this.clsInactive,this.clsActive),Me!==ne&&Dt(this.$el,"active")):(we(this.selTarget,this.clsActive,this.clsInactive),Me!==ne&&Dt(this.$el,"inactive"))}}};function w0(ne,Me,Qe,bt){if(!ne)return 0;if(g(ne)||v(ne)&&ne.match(/^-?\d/))return Qe+An(ne,"height",Me,!0);{const Xt=ne===!0?$e(Me):Yt(ne,Me);return Fn(Xt).bottom-(bt&&Xt&&ke(Me,Xt)?P(wt(Xt,"paddingBottom")):0)}}function uv(ne){return ne==="true"?!0:ne==="false"?!1:ne}function uh(ne){wt(ne,{position:"",top:"",marginTop:"",width:""})}function fv(ne){wt(ne,"transition","0s"),requestAnimationFrame(()=>wt(ne,"transition",""))}var x1={mixins:[oa],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[Nu({async handler(){const ne=await this.svg;ne&&Gh.call(this,ne)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){L(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const ne=await this.svg;ne&&(Gh.call(this,ne),this.strokeAnimation&&Ly(ne))},methods:{async getSvg(){return Tr(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(ne=>dr(this.$el,"load",()=>ne(this.getSvg()))):Ey(await Cy(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Gh(ne){const{$el:Me}=this;ce(ne,re(Me,"class"),"uk-svg");for(let Qe=0;Qe<Me.style.length;Qe++){const bt=Me.style[Qe];wt(ne,bt,wt(Me,bt))}for(const Qe in this.attributes){const[bt,Xt]=this.attributes[Qe].split(":",2);re(ne,bt,Xt)}this.$el.id||te(ne,"id")}const Cy=J(async ne=>ne?E(ne,"data:")?decodeURIComponent(ne.split(",")[1]):(await fetch(ne)).text():Promise.reject());function Ey(ne,Me){return Me&&L(ne,"<symbol")&&(ne=ky(ne)[Me]||ne),ne=qr(ne.substr(ne.indexOf("<svg"))),(ne==null?void 0:ne.hasChildNodes())&&ne}const Wp=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,ky=J(function(ne){const Me={};Wp.lastIndex=0;let Qe;for(;Qe=Wp.exec(ne);)Me[Qe[3]]=`<svg ${Qe[1]}svg>`;return Me});function Ly(ne){const Me=Sr(ne);Me&&wt(ne,"--uk-animation-stroke",Me)}const b1=".uk-disabled *, .uk-disabled, [disabled]";var Yp={mixins:[Ss],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item",selVertical:".uk-nav",followFocus:!1,swiping:!0},computed:{connects({connect:ne},Me){return it(ne,Me)},connectChildren(){return this.connects.map(ne=>gt(ne)).flat()},toggles({toggle:ne},Me){return lr(ne,Me)},children(){return gt(this.$el).filter(ne=>this.toggles.some(Me=>ke(Me,ne)))}},watch:{connects(ne){this.swiping&&wt(ne,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let ne=Math.max(0,this.index());for(const Me of this.connects)gt(Me).forEach((Qe,bt)=>Ee(Qe,this.cls,bt===ne));this.$emit()},toggles(ne){this.$emit();const Me=this.index();this.show(~Me?Me:ne[this.active]||ne[0])}},connected(){re(this.$el,"role","tablist")},observe:[vs({targets:({connectChildren:ne})=>ne}),Uu({target:({connects:ne})=>ne,filter:({swiping:ne})=>ne})],events:[{name:"click keydown",delegate(){return this.toggle},handler(ne){!ut(ne.current,b1)&&(ne.type==="click"||ne.keyCode===to.SPACE)&&(ne.preventDefault(),this.show(ne.current))}},{name:"keydown",delegate(){return this.toggle},handler(ne){const{current:Me,keyCode:Qe}=ne,bt=ut(this.$el,this.selVertical);let Xt=Qe===to.HOME?0:Qe===to.END?"last":Qe===to.LEFT&&!bt||Qe===to.UP&&bt?"previous":Qe===to.RIGHT&&!bt||Qe===to.DOWN&&bt?"next":-1;if(~Xt){ne.preventDefault();const fr=this.toggles.filter(ln=>!ut(ln,b1)),Nr=fr[K(Xt,fr,fr.indexOf(Me))];Nr.focus(),this.followFocus&&this.show(Nr)}}},{name:"click",el(){return this.connects.concat(this.itemNav?it(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(ne){lt(ne.target,"a,button")&&(ne.preventDefault(),this.show(ee(ne.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:ne}){this.show(a(ne,"Left")?"next":"previous")}}],update(){var ne;re(this.connects,"role","presentation"),re(gt(this.$el),"role","presentation");for(const Me in this.toggles){const Qe=this.toggles[Me],bt=(ne=this.connects[0])==null?void 0:ne.children[Me];re(Qe,"role","tab"),bt&&(Qe.id=Xi(this,Qe,`-tab-${Me}`),bt.id=Xi(this,bt,`-tabpanel-${Me}`),re(Qe,"aria-controls",bt.id),re(bt,{role:"tabpanel","aria-labelledby":Qe.id}))}re(this.$el,"aria-orientation",ut(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return x(this.children,ne=>Se(ne,this.cls))},show(ne){const Me=this.toggles.filter(Nr=>!ut(Nr,b1)),Qe=this.index(),bt=K(!u(ne)||L(Me,ne)?ne:0,Me,K(this.toggles[Qe],Me)),Xt=K(Me[bt],this.toggles);this.children.forEach((Nr,ln)=>{Ee(Nr,this.cls,Xt===ln),re(this.toggles[ln],{"aria-selected":Xt===ln,tabindex:Xt===ln?null:-1})});const fr=Qe>=0&&Qe!==bt;this.connects.forEach(async({children:Nr})=>{const ln=m(Nr).filter((kn,ea)=>ea!==Xt&&Se(kn,this.cls));await this.toggleElement(ln,!1,fr),await this.toggleElement(Nr[Xt],!0,fr)})}}},cv={mixins:[Bs],extends:Yp,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item",selVertical:".uk-tab-left,.uk-tab-right"},connected(){const ne=Se(this.$el,"uk-tab-left")?"uk-tab-left":Se(this.$el,"uk-tab-right")?"uk-tab-right":!1;ne&&this.$create("toggle",this.$el,{cls:ne,mode:"media",media:this.media})}};const Py=32;var Dy={mixins:[Dr,Ss],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target({target:ne},Me){return ne=it(ne||Me.hash,Me),ne.length&&ne||[Me]}},connected(){L(this.mode,"media")||(He(this.$el)||re(this.$el,"tabindex","0"),!this.cls&&Tr(this.$el,"a")&&re(this.$el,"role","button"))},observe:vs({target:({target:ne})=>ne}),events:[{name:Bn,filter(){return L(this.mode,"hover")},handler(ne){this._preventClick=null,!(!Mt(ne)||S(this._showState)||this.$el.disabled)&&(Dt(this.$el,"focus"),dr(document,Bn,()=>Dt(this.$el,"blur"),!0,Me=>!ke(Me.target,this.$el)),L(this.mode,"click")&&(this._preventClick=!0))}},{name:`mouseenter mouseleave ${Yn} ${On} focus blur`,filter(){return L(this.mode,"hover")},handler(ne){if(Mt(ne)||this.$el.disabled)return;const Me=L(["mouseenter",Yn,"focus"],ne.type),Qe=this.isToggled(this.target);if(!Me&&(!S(this._showState)||ne.type!=="blur"&&ut(this.$el,":focus")||ne.type==="blur"&&ut(this.$el,":hover"))){Qe===this._showState&&(this._showState=null);return}Me&&S(this._showState)&&Qe!==this._showState||(this._showState=Me?Qe:null,this.toggle(`toggle${Me?"show":"hide"}`))}},{name:"keydown",filter(){return L(this.mode,"click")&&!Tr(this.$el,"input")},handler(ne){ne.keyCode===Py&&(ne.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(ne=>L(this.mode,ne))},handler(ne){let Me;(this._preventClick||lt(ne.target,'a[href="#"], a[href=""]')||(Me=lt(ne.target,"a[href]"))&&(!this.isToggled(this.target)||Me.hash&&ut(this.target,Me.hash)))&&ne.preventDefault(),!this._preventClick&&L(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return L(this.mode,"media")},el(){return this.target},handler(ne,Me){Me.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(ne){if(!Dt(this.target,ne||"toggle",[this]))return;if(fe(this.$el,"aria-expanded")&&re(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const Me=this.target.filter(bt=>Se(bt,this.clsLeave));if(Me.length){for(const bt of this.target){const Xt=L(Me,bt);this.toggleElement(bt,Xt,Xt)}return}const Qe=this.target.filter(this.isToggled);await this.toggleElement(Qe,!1)&&await this.toggleElement(this.target.filter(bt=>!L(Qe,bt)),!0)}}},Ry=Object.freeze({__proto__:null,Accordion:z0,Alert:cu,Close:Hi,Cover:Cd,Drop:tc,DropParentIcon:Wa,Dropdown:tc,Dropnav:b0,FormCustom:kd,Grid:nv,HeightMatch:Lf,HeightViewport:Pd,Icon:Ha,Img:Cs,Leader:Qc,Margin:yf,Marker:Qi,Modal:_l,Nav:ic,NavParentIcon:Xa,Navbar:Pf,NavbarParentIcon:Wa,NavbarToggleIcon:co,Offcanvas:Jl,OverflowAuto:lv,OverlayIcon:Wa,PaginationNext:ho,PaginationPrevious:So,Responsive:Hh,Scroll:_0,Scrollspy:Vh,ScrollspyNav:Dd,SearchIcon:qa,SlidenavNext:Ii,SlidenavPrevious:Ii,Spinner:ui,Sticky:y1,Svg:x1,Switcher:Yp,Tab:cv,Toggle:Dy,Totop:yi,Video:Bh});return G(Ry,(ne,Me)=>Zt.component(Me,ne)),Do(Zt),G($l,(ne,Me)=>Zt.component(Me,ne)),Zt})})(Ik);var zk={exports:{}};/*! UIkit 3.17.1 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(i,y){(function(R,Y){i.exports=Y()})(o7,function(){function R(Y){R.installed||Y.icon.add({youtube:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M15,4.1c1,0.1,2.3,0,3,0.8c0.8,0.8,0.9,2.1,0.9,3.1C19,9.2,19,10.9,19,12c-0.1,1.1,0,2.4-0.5,3.4c-0.5,1.1-1.4,1.5-2.5,1.6 c-1.2,0.1-8.6,0.1-11,0c-1.1-0.1-2.4-0.1-3.2-1c-0.7-0.8-0.7-2-0.8-3C1,11.8,1,10.1,1,8.9c0-1.1,0-2.4,0.5-3.4C2,4.5,3,4.3,4.1,4.2 C5.3,4.1,12.6,4,15,4.1z M8,7.5v6l5.5-3L8,7.5z"/></svg>',yootheme:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="m16.15,5.48c-1.37,0-2.45.61-3.11,1.54-.66-.93-1.74-1.54-3.11-1.54-1.75,0-3.03,1-3.57,2.41v-2.22h-2.01v4.45c0,.85-.31,1.35-1.18,1.35s-1.18-.5-1.18-1.35v-4.45H0v4.86c0,.7.17,1.33.53,1.82.34.49.88.85,1.6,1v3.16h2.1v-3.16c1.28-.28,1.96-1.17,2.1-2.35.52,1.44,1.81,2.48,3.59,2.48,1.37,0,2.45-.61,3.11-1.54.66.93,1.74,1.54,3.11,1.54,2.37,0,3.85-1.82,3.85-4s-1.49-4-3.85-4Zm-6.22,5.99c-1.11,0-1.85-.72-1.85-1.99s.74-1.99,1.85-1.99,1.85.72,1.85,1.99-.74,1.99-1.85,1.99Zm6.22,0c-1.11,0-1.85-.72-1.85-1.99s.74-1.99,1.85-1.99,1.85.72,1.85,1.99-.74,1.99-1.85,1.99Z"/></svg>',yelp:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17.175,14.971c-0.112,0.77-1.686,2.767-2.406,3.054c-0.246,0.1-0.487,0.076-0.675-0.069 c-0.122-0.096-2.446-3.859-2.446-3.859c-0.194-0.293-0.157-0.682,0.083-0.978c0.234-0.284,0.581-0.393,0.881-0.276 c0.016,0.01,4.21,1.394,4.332,1.482c0.178,0.148,0.263,0.379,0.225,0.646L17.175,14.971L17.175,14.971z M11.464,10.789 c-0.203-0.307-0.199-0.666,0.009-0.916c0,0,2.625-3.574,2.745-3.657c0.203-0.135,0.452-0.141,0.69-0.025 c0.691,0.335,2.085,2.405,2.167,3.199v0.027c0.024,0.271-0.082,0.491-0.273,0.623c-0.132,0.083-4.43,1.155-4.43,1.155 c-0.322,0.096-0.68-0.06-0.882-0.381L11.464,10.789z M9.475,9.563C9.32,9.609,8.848,9.757,8.269,8.817c0,0-3.916-6.16-4.007-6.351 c-0.057-0.212,0.011-0.455,0.202-0.65C5.047,1.211,8.21,0.327,9.037,0.529c0.27,0.069,0.457,0.238,0.522,0.479 c0.047,0.266,0.433,5.982,0.488,7.264C10.098,9.368,9.629,9.517,9.475,9.563z M9.927,19.066c-0.083,0.225-0.273,0.373-0.54,0.421 c-0.762,0.13-3.15-0.751-3.647-1.342c-0.096-0.131-0.155-0.262-0.167-0.394c-0.011-0.095,0-0.189,0.036-0.272 c0.061-0.155,2.917-3.538,2.917-3.538c0.214-0.272,0.595-0.355,0.952-0.213c0.345,0.13,0.56,0.428,0.536,0.749 C10.014,14.479,9.977,18.923,9.927,19.066z M3.495,13.912c-0.235-0.009-0.444-0.148-0.568-0.382c-0.089-0.17-0.151-0.453-0.19-0.794 C2.63,11.701,2.761,10.144,3.07,9.648c0.145-0.226,0.357-0.345,0.592-0.336c0.154,0,4.255,1.667,4.255,1.667 c0.321,0.118,0.521,0.453,0.5,0.833c-0.023,0.37-0.236,0.655-0.551,0.738L3.495,13.912z"/></svg>',xing:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M4.4,4.56 C4.24,4.56 4.11,4.61 4.05,4.72 C3.98,4.83 3.99,4.97 4.07,5.12 L5.82,8.16 L5.82,8.17 L3.06,13.04 C2.99,13.18 2.99,13.33 3.06,13.44 C3.12,13.55 3.24,13.62 3.4,13.62 L6,13.62 C6.39,13.62 6.57,13.36 6.71,13.12 C6.71,13.12 9.41,8.35 9.51,8.16 C9.49,8.14 7.72,5.04 7.72,5.04 C7.58,4.81 7.39,4.56 6.99,4.56 L4.4,4.56 L4.4,4.56 Z"/><path d="M15.3,1 C14.91,1 14.74,1.25 14.6,1.5 C14.6,1.5 9.01,11.42 8.82,11.74 C8.83,11.76 12.51,18.51 12.51,18.51 C12.64,18.74 12.84,19 13.23,19 L15.82,19 C15.98,19 16.1,18.94 16.16,18.83 C16.23,18.72 16.23,18.57 16.16,18.43 L12.5,11.74 L12.5,11.72 L18.25,1.56 C18.32,1.42 18.32,1.27 18.25,1.16 C18.21,1.06 18.08,1 17.93,1 L15.3,1 L15.3,1 Z"/></svg>',world:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M1,10.5 L19,10.5"/><path fill="none" stroke="#000" d="M2.35,15.5 L17.65,15.5"/><path fill="none" stroke="#000" d="M2.35,5.5 L17.523,5.5"/><path fill="none" stroke="#000" d="M10,19.46 L9.98,19.46 C7.31,17.33 5.61,14.141 5.61,10.58 C5.61,7.02 7.33,3.83 10,1.7 C10.01,1.7 9.99,1.7 10,1.7 L10,1.7 C12.67,3.83 14.4,7.02 14.4,10.58 C14.4,14.141 12.67,17.33 10,19.46 L10,19.46 L10,19.46 L10,19.46 Z"/><circle fill="none" stroke="#000" cx="10" cy="10.5" r="9"/></svg>',wordpress:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M10,0.5c-5.2,0-9.5,4.3-9.5,9.5s4.3,9.5,9.5,9.5c5.2,0,9.5-4.3,9.5-9.5S15.2,0.5,10,0.5L10,0.5L10,0.5z M15.6,3.9h-0.1 c-0.8,0-1.4,0.7-1.4,1.5c0,0.7,0.4,1.3,0.8,1.9c0.3,0.6,0.7,1.3,0.7,2.3c0,0.7-0.3,1.5-0.6,2.7L14.1,15l-3-8.9 c0.5,0,0.9-0.1,0.9-0.1C12.5,6,12.5,5.3,12,5.4c0,0-1.3,0.1-2.2,0.1C9,5.5,7.7,5.4,7.7,5.4C7.2,5.3,7.2,6,7.6,6c0,0,0.4,0.1,0.9,0.1 l1.3,3.5L8,15L5,6.1C5.5,6.1,5.9,6,5.9,6C6.4,6,6.3,5.3,5.9,5.4c0,0-1.3,0.1-2.2,0.1c-0.2,0-0.3,0-0.5,0c1.5-2.2,4-3.7,6.9-3.7 C12.2,1.7,14.1,2.6,15.6,3.9L15.6,3.9L15.6,3.9z M2.5,6.6l3.9,10.8c-2.7-1.3-4.6-4.2-4.6-7.4C1.8,8.8,2,7.6,2.5,6.6L2.5,6.6L2.5,6.6 z M10.2,10.7l2.5,6.9c0,0,0,0.1,0.1,0.1C11.9,18,11,18.2,10,18.2c-0.8,0-1.6-0.1-2.3-0.3L10.2,10.7L10.2,10.7L10.2,10.7z M14.2,17.1 l2.5-7.3c0.5-1.2,0.6-2.1,0.6-2.9c0-0.3,0-0.6-0.1-0.8c0.6,1.2,1,2.5,1,4C18.3,13,16.6,15.7,14.2,17.1L14.2,17.1L14.2,17.1z"/></svg>',whatsapp:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M16.7,3.3c-1.8-1.8-4.1-2.8-6.7-2.8c-5.2,0-9.4,4.2-9.4,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3c1.4,0.8,2.9,1.2,4.5,1.2 l0,0l0,0c5.2,0,9.4-4.2,9.4-9.4C19.5,7.4,18.5,5,16.7,3.3 M10.1,17.7L10.1,17.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2l-3,0.8l0.8-2.9 l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.8-7.8c2.1,0,4.1,0.8,5.5,2.3c1.5,1.5,2.3,3.4,2.3,5.5 C17.9,14.2,14.4,17.7,10.1,17.7 M14.4,11.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.8,0.9 c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5C8,8.8,8.1,8.7,8.2,8.5 c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4C8.4,7.6,7.9,6.5,7.7,6C7.5,5.5,7.3,5.6,7.2,5.6c-0.1,0-0.3,0-0.4,0 c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.5c0.6,0.2,1,0.4,1.3,0.5 c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C14.8,12.1,14.6,12,14.4,11.9"/></svg>',warning:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="14" r="1"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><path d="M10.97,7.72 C10.85,9.54 10.56,11.29 10.56,11.29 C10.51,11.87 10.27,12 9.99,12 C9.69,12 9.49,11.87 9.43,11.29 C9.43,11.29 9.16,9.54 9.03,7.72 C8.96,6.54 9.03,6 9.03,6 C9.03,5.45 9.46,5.02 9.99,5 C10.53,5.01 10.97,5.44 10.97,6 C10.97,6 11.04,6.54 10.97,7.72 L10.97,7.72 Z"/></svg>',vimeo:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M2.065,7.59C1.84,7.367,1.654,7.082,1.468,6.838c-0.332-0.42-0.137-0.411,0.274-0.772c1.026-0.91,2.004-1.896,3.127-2.688 c1.017-0.713,2.365-1.173,3.286-0.039c0.849,1.045,0.869,2.629,1.084,3.891c0.215,1.309,0.421,2.648,0.88,3.901 c0.127,0.352,0.37,1.018,0.81,1.074c0.567,0.078,1.145-0.917,1.408-1.289c0.684-0.987,1.611-2.317,1.494-3.587 c-0.115-1.349-1.572-1.095-2.482-0.773c0.146-1.514,1.555-3.216,2.912-3.792c1.439-0.597,3.579-0.587,4.302,1.036 c0.772,1.759,0.078,3.802-0.763,5.396c-0.918,1.731-2.1,3.333-3.363,4.829c-1.114,1.329-2.432,2.787-4.093,3.422 c-1.897,0.723-3.021-0.686-3.667-2.318c-0.705-1.777-1.056-3.771-1.565-5.621C4.898,8.726,4.644,7.836,4.136,7.191 C3.473,6.358,2.72,7.141,2.065,7.59C1.977,7.502,2.115,7.551,2.065,7.59L2.065,7.59z"/></svg>',"video-camera":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" points="19.5 5.9 19.5 14.1 14.5 10.4 14.5 15.5 .5 15.5 .5 4.5 14.5 4.5 14.5 9.6 19.5 5.9"/></svg>',users:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"/><path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"/></svg>',user:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.9" cy="6.4" r="4.4"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2"/></svg>',upload:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8"/><rect x="3" y="17" width="13" height="1"/><line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"/></svg>',unlock:'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" x="3.5" y="8.5" width="13" height="10"/><path fill="none" stroke="#000" d="M6.5,8.5 L6.5,4.9 C6.5,3 8.1,1.5 10,1.5 C11.9,1.5 13.5,3 13.5,4.9"/></svg>',uikit:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="14.4,3.1 11.3,5.1 15,7.3 15,12.9 10,15.7 5,12.9 5,8.5 2,6.8 2,14.8 9.9,19.5 18,14.8 18,5.3"/><polygon points="9.8,4.2 6.7,2.4 9.8,0.4 12.9,2.3"/></svg>',twitter:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M19,4.74 C18.339,5.029 17.626,5.229 16.881,5.32 C17.644,4.86 18.227,4.139 18.503,3.28 C17.79,3.7 17.001,4.009 16.159,4.17 C15.485,3.45 14.526,3 13.464,3 C11.423,3 9.771,4.66 9.771,6.7 C9.771,6.99 9.804,7.269 9.868,7.539 C6.795,7.38 4.076,5.919 2.254,3.679 C1.936,4.219 1.754,4.86 1.754,5.539 C1.754,6.82 2.405,7.95 3.397,8.61 C2.79,8.589 2.22,8.429 1.723,8.149 L1.723,8.189 C1.723,9.978 2.997,11.478 4.686,11.82 C4.376,11.899 4.049,11.939 3.713,11.939 C3.475,11.939 3.245,11.919 3.018,11.88 C3.49,13.349 4.852,14.419 6.469,14.449 C5.205,15.429 3.612,16.019 1.882,16.019 C1.583,16.019 1.29,16.009 1,15.969 C2.635,17.019 4.576,17.629 6.662,17.629 C13.454,17.629 17.17,12 17.17,7.129 C17.17,6.969 17.166,6.809 17.157,6.649 C17.879,6.129 18.504,5.478 19,4.74"/></svg>',twitch:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M5.23,1,2,4.23V15.85H5.88v3.23L9.1,15.85h2.59L17.5,10V1Zm11,8.4L13.62,12H11L8.78,14.24V12H5.88V2.29H16.21Z"/><rect x="12.98" y="4.55" width="1.29" height="3.88"/><rect x="9.43" y="4.55" width="1.29" height="3.88"/></svg>',tv:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="7" y="16" width="6" height="1"/><rect fill="none" stroke="#000" x=".5" y="3.5" width="19" height="11"/></svg>',tumblr:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M6.885,8.598c0,0,0,3.393,0,4.996c0,0.282,0,0.66,0.094,0.942c0.377,1.509,1.131,2.545,2.545,3.11 c1.319,0.472,2.356,0.472,3.676,0c0.565-0.188,1.132-0.659,1.132-0.659l-0.849-2.263c0,0-1.036,0.378-1.603,0.283 c-0.565-0.094-1.226-0.66-1.226-1.508c0-1.603,0-4.902,0-4.902h2.828V5.771h-2.828V2H8.205c0,0-0.094,0.66-0.188,0.942 C7.828,3.791,7.262,4.733,6.603,5.394C5.848,6.147,5,6.43,5,6.43v2.168H6.885z"/></svg>',tripadvisor:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M19.021,7.866C19.256,6.862,20,5.854,20,5.854h-3.346C14.781,4.641,12.504,4,9.98,4C7.363,4,4.999,4.651,3.135,5.876H0 c0,0,0.738,0.987,0.976,1.988c-0.611,0.837-0.973,1.852-0.973,2.964c0,2.763,2.249,5.009,5.011,5.009 c1.576,0,2.976-0.737,3.901-1.879l1.063,1.599l1.075-1.615c0.475,0.611,1.1,1.111,1.838,1.451c1.213,0.547,2.574,0.612,3.825,0.15 c2.589-0.963,3.913-3.852,2.964-6.439c-0.175-0.463-0.4-0.876-0.675-1.238H19.021z M16.38,14.594 c-1.002,0.371-2.088,0.328-3.06-0.119c-0.688-0.317-1.252-0.817-1.657-1.438c-0.164-0.25-0.313-0.52-0.417-0.811 c-0.124-0.328-0.186-0.668-0.217-1.014c-0.063-0.689,0.037-1.396,0.339-2.043c0.448-0.971,1.251-1.71,2.25-2.079 c2.075-0.765,4.375,0.3,5.14,2.366c0.762,2.066-0.301,4.37-2.363,5.134L16.38,14.594L16.38,14.594z M8.322,13.066 c-0.72,1.059-1.935,1.76-3.309,1.76c-2.207,0-4.001-1.797-4.001-3.996c0-2.203,1.795-4.002,4.001-4.002 c2.204,0,3.999,1.8,3.999,4.002c0,0.137-0.024,0.261-0.04,0.396c-0.067,0.678-0.284,1.313-0.648,1.853v-0.013H8.322z M2.472,10.775 c0,1.367,1.112,2.479,2.476,2.479c1.363,0,2.472-1.11,2.472-2.479c0-1.359-1.11-2.468-2.472-2.468 C3.584,8.306,2.473,9.416,2.472,10.775L2.472,10.775z M12.514,10.775c0,1.367,1.104,2.479,2.471,2.479 c1.363,0,2.474-1.108,2.474-2.479c0-1.359-1.11-2.468-2.474-2.468c-1.364,0-2.477,1.109-2.477,2.468H12.514z M3.324,10.775 c0-0.893,0.726-1.618,1.614-1.618c0.889,0,1.625,0.727,1.625,1.618c0,0.898-0.725,1.627-1.625,1.627 c-0.901,0-1.625-0.729-1.625-1.627H3.324z M13.354,10.775c0-0.893,0.726-1.618,1.627-1.618c0.886,0,1.61,0.727,1.61,1.618 c0,0.898-0.726,1.627-1.626,1.627s-1.625-0.729-1.625-1.627H13.354z M9.977,4.875c1.798,0,3.425,0.324,4.849,0.968 c-0.535,0.015-1.061,0.108-1.586,0.3c-1.264,0.463-2.264,1.388-2.815,2.604c-0.262,0.551-0.398,1.133-0.448,1.72 C9.79,7.905,7.677,5.873,5.076,5.82C6.501,5.208,8.153,4.875,9.94,4.875H9.977z"/></svg>',"triangle-up":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="5 13 10 8 15 13"/></svg>',"triangle-right":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="8 5 13 10 8 15"/></svg>',"triangle-left":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="12 5 7 10 12 15"/></svg>',"triangle-down":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="5 7 15 7 10 12"/></svg>',trash:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="6.5 3 6.5 1.5 13.5 1.5 13.5 3"/><polyline fill="none" stroke="#000" points="4.5 4 4.5 18.5 15.5 18.5 15.5 4"/><rect x="8" y="7" width="1" height="9"/><rect x="11" y="7" width="1" height="9"/><rect x="2" y="3" width="16" height="1"/></svg>',tiktok:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17.24,6V8.82a6.79,6.79,0,0,1-4-1.28v5.81A5.26,5.26,0,1,1,8,8.1a4.36,4.36,0,0,1,.72.05v2.9A2.57,2.57,0,0,0,7.64,11a2.4,2.4,0,1,0,2.77,2.38V2h2.86a4,4,0,0,0,1.84,3.38A4,4,0,0,0,17.24,6Z"/></svg>',thumbnails:'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" x="3.5" y="3.5" width="5" height="5"/><rect fill="none" stroke="#000" x="11.5" y="3.5" width="5" height="5"/><rect fill="none" stroke="#000" x="11.5" y="11.5" width="5" height="5"/><rect fill="none" stroke="#000" x="3.5" y="11.5" width="5" height="5"/></svg>',tag:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="M17.5,3.71 L17.5,7.72 C17.5,7.96 17.4,8.2 17.21,8.39 L8.39,17.2 C7.99,17.6 7.33,17.6 6.93,17.2 L2.8,13.07 C2.4,12.67 2.4,12.01 2.8,11.61 L11.61,2.8 C11.81,2.6 12.08,2.5 12.34,2.5 L16.19,2.5 C16.52,2.5 16.86,2.63 17.11,2.88 C17.35,3.11 17.48,3.4 17.5,3.71 L17.5,3.71 Z"/><circle cx="14" cy="6" r="1"/></svg>',tablet:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M5,18.5 C4.2,18.5 3.5,17.8 3.5,17 L3.5,3 C3.5,2.2 4.2,1.5 5,1.5 L16,1.5 C16.8,1.5 17.5,2.2 17.5,3 L17.5,17 C17.5,17.8 16.8,18.5 16,18.5 L5,18.5 L5,18.5 L5,18.5 Z"/><circle cx="10.5" cy="16.3" r=".8"/></svg>',"tablet-landscape":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M1.5,5 C1.5,4.2 2.2,3.5 3,3.5 L17,3.5 C17.8,3.5 18.5,4.2 18.5,5 L18.5,16 C18.5,16.8 17.8,17.5 17,17.5 L3,17.5 C2.2,17.5 1.5,16.8 1.5,16 L1.5,5 L1.5,5 L1.5,5 Z"/><circle cx="3.7" cy="10.5" r=".8"/></svg>',table:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="1" y="3" width="18" height="1"/><rect x="1" y="7" width="18" height="1"/><rect x="1" y="11" width="18" height="1"/><rect x="1" y="15" width="18" height="1"/></svg>',strikethrough:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M6,13.02 L6.65,13.02 C7.64,15.16 8.86,16.12 10.41,16.12 C12.22,16.12 12.92,14.93 12.92,13.89 C12.92,12.55 11.99,12.03 9.74,11.23 C8.05,10.64 6.23,10.11 6.23,7.83 C6.23,5.5 8.09,4.09 10.4,4.09 C11.44,4.09 12.13,4.31 12.72,4.54 L13.33,4 L13.81,4 L13.81,7.59 L13.16,7.59 C12.55,5.88 11.52,4.89 10.07,4.89 C8.84,4.89 7.89,5.69 7.89,7.03 C7.89,8.29 8.89,8.78 10.88,9.45 C12.57,10.03 14.38,10.6 14.38,12.91 C14.38,14.75 13.27,16.93 10.18,16.93 C9.18,16.93 8.17,16.69 7.46,16.39 L6.52,17 L6,17 L6,13.02 L6,13.02 Z"/><rect x="3" y="10" width="15" height="1"/></svg>',star:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" stroke-width="1.01" points="10 2 12.63 7.27 18.5 8.12 14.25 12.22 15.25 18 10 15.27 4.75 18 5.75 12.22 1.5 8.12 7.37 7.27"/></svg>',soundcloud:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17.2,9.4c-0.4,0-0.8,0.1-1.101,0.2c-0.199-2.5-2.399-4.5-5-4.5c-0.6,0-1.2,0.1-1.7,0.3C9.2,5.5,9.1,5.6,9.1,5.6V15h8 c1.601,0,2.801-1.2,2.801-2.8C20,10.7,18.7,9.4,17.2,9.4L17.2,9.4z"/><rect x="6" y="6.5" width="1.5" height="8.5"/><rect x="3" y="8" width="1.5" height="7"/><rect y="10" width="1.5" height="5"/></svg>',social:'<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.1" x1="13.4" y1="14" x2="6.3" y2="10.7"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13.5" y1="5.5" x2="6.5" y2="8.8"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="4.6" r="2.3"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="14.8" r="2.3"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="4.5" cy="9.8" r="2.3"/></svg>',"sign-out":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="13.1 13.4 12.5 12.8 15.28 10 8 10 8 9 15.28 9 12.5 6.2 13.1 5.62 17 9.5"/><polygon points="13 2 3 2 3 17 13 17 13 16 4 16 4 3 13 3"/></svg>',"sign-in":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="7 2 17 2 17 17 7 17 7 16 16 16 16 3 7 3"/><polygon points="9.1 13.4 8.5 12.8 11.28 10 4 10 4 9 11.28 9 8.5 6.2 9.1 5.62 13 9.5"/></svg>',shrink:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="11 4 12 4 12 8 16 8 16 9 11 9"/><polygon points="4 11 9 11 9 16 8 16 8 12 4 12"/><path fill="none" stroke="#000" stroke-width="1.1" d="M12,8 L18,2"/><path fill="none" stroke="#000" stroke-width="1.1" d="M2,18 L8,12"/></svg>',settings:'<svg width="20" height="20" viewBox="0 0 20 20"><ellipse fill="none" stroke="#000" cx="6.11" cy="3.55" rx="2.11" ry="2.15"/><ellipse fill="none" stroke="#000" cx="6.11" cy="15.55" rx="2.11" ry="2.15"/><circle fill="none" stroke="#000" cx="13.15" cy="9.55" r="2.15"/><rect x="1" y="3" width="3" height="1"/><rect x="10" y="3" width="8" height="1"/><rect x="1" y="9" width="8" height="1"/><rect x="15" y="9" width="3" height="1"/><rect x="1" y="15" width="3" height="1"/><rect x="10" y="15" width="8" height="1"/></svg>',server:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="3" y="3" width="1" height="2"/><rect x="5" y="3" width="1" height="2"/><rect x="7" y="3" width="1" height="2"/><rect x="16" y="3" width="1" height="1"/><rect x="16" y="10" width="1" height="1"/><circle fill="none" stroke="#000" cx="9.9" cy="17.4" r="1.4"/><rect x="3" y="10" width="1" height="2"/><rect x="5" y="10" width="1" height="2"/><rect x="9.5" y="14" width="1" height="2"/><rect x="3" y="17" width="6" height="1"/><rect x="11" y="17" width="6" height="1"/><rect fill="none" stroke="#000" x="1.5" y="1.5" width="17" height="5"/><rect fill="none" stroke="#000" x="1.5" y="8.5" width="17" height="5"/></svg>',search:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',rss:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="3.12" cy="16.8" r="1.85"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,8.2 C1.78,8.18 2.06,8.16 2.35,8.16 C7.57,8.16 11.81,12.37 11.81,17.57 C11.81,17.89 11.79,18.19 11.76,18.5"/><path fill="none" stroke="#000" stroke-width="1.1" d="M1.5,2.52 C1.78,2.51 2.06,2.5 2.35,2.5 C10.72,2.5 17.5,9.24 17.5,17.57 C17.5,17.89 17.49,18.19 17.47,18.5"/></svg>',reply:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17.7,13.11 C16.12,10.02 13.84,7.85 11.02,6.61 C10.57,6.41 9.75,6.13 9,5.91 L9,2 L1,9 L9,16 L9,12.13 C10.78,12.47 12.5,13.19 14.09,14.25 C17.13,16.28 18.56,18.54 18.56,18.54 C18.56,18.54 18.81,15.28 17.7,13.11 L17.7,13.11 Z M14.82,13.53 C13.17,12.4 11.01,11.4 8,10.92 L8,13.63 L2.55,9 L8,4.25 L8,6.8 C8.3,6.86 9.16,7.02 10.37,7.49 C13.3,8.65 15.54,10.96 16.65,13.08 C16.97,13.7 17.48,14.86 17.68,16 C16.87,15.05 15.73,14.15 14.82,13.53 L14.82,13.53 Z"/></svg>',refresh:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="M17.08,11.15 C17.09,11.31 17.1,11.47 17.1,11.64 C17.1,15.53 13.94,18.69 10.05,18.69 C6.16,18.68 3,15.53 3,11.63 C3,7.74 6.16,4.58 10.05,4.58 C10.9,4.58 11.71,4.73 12.46,5"/><polyline fill="none" stroke="#000" points="9.9 2 12.79 4.89 9.79 7.9"/></svg>',reddit:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M19 9.05a2.56 2.56 0 0 0-2.56-2.56 2.59 2.59 0 0 0-1.88.82 10.63 10.63 0 0 0-4.14-1v-.08c.58-1.62 1.58-3.89 2.7-4.1.38-.08.77.12 1.19.57a1.15 1.15 0 0 0-.06.37 1.48 1.48 0 1 0 1.51-1.45 1.43 1.43 0 0 0-.76.19A2.29 2.29 0 0 0 12.91 1c-2.11.43-3.39 4.38-3.63 5.19 0 0 0 .11-.06.11a10.65 10.65 0 0 0-3.75 1A2.56 2.56 0 0 0 1 9.05a2.42 2.42 0 0 0 .72 1.76A5.18 5.18 0 0 0 1.24 13c0 3.66 3.92 6.64 8.73 6.64s8.74-3 8.74-6.64a5.23 5.23 0 0 0-.46-2.13A2.58 2.58 0 0 0 19 9.05zm-16.88 0a1.44 1.44 0 0 1 2.27-1.19 7.68 7.68 0 0 0-2.07 1.91 1.33 1.33 0 0 1-.2-.72zM10 18.4c-4.17 0-7.55-2.4-7.55-5.4S5.83 7.53 10 7.53 17.5 10 17.5 13s-3.38 5.4-7.5 5.4zm7.69-8.61a7.62 7.62 0 0 0-2.09-1.91 1.41 1.41 0 0 1 .84-.28 1.47 1.47 0 0 1 1.44 1.45 1.34 1.34 0 0 1-.21.72z"/><path d="M6.69 12.58a1.39 1.39 0 1 1 1.39-1.39 1.38 1.38 0 0 1-1.38 1.39z"/><path d="M14.26 11.2a1.39 1.39 0 1 1-1.39-1.39 1.39 1.39 0 0 1 1.39 1.39z"/><path d="M13.09 14.88a.54.54 0 0 1-.09.77 5.3 5.3 0 0 1-3.26 1.19 5.61 5.61 0 0 1-3.4-1.22.55.55 0 1 1 .73-.83 4.09 4.09 0 0 0 5.25 0 .56.56 0 0 1 .77.09z"/></svg>',receiver:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.01" d="M6.189,13.611C8.134,15.525 11.097,18.239 13.867,18.257C16.47,18.275 18.2,16.241 18.2,16.241L14.509,12.551L11.539,13.639L6.189,8.29L7.313,5.355L3.76,1.8C3.76,1.8 1.732,3.537 1.7,6.092C1.667,8.809 4.347,11.738 6.189,13.611"/></svg>',"quote-right":'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17.27,7.79 C17.27,9.45 16.97,10.43 15.99,12.02 C14.98,13.64 13,15.23 11.56,15.97 L11.1,15.08 C12.34,14.2 13.14,13.51 14.02,11.82 C14.27,11.34 14.41,10.92 14.49,10.54 C14.3,10.58 14.09,10.6 13.88,10.6 C12.06,10.6 10.59,9.12 10.59,7.3 C10.59,5.48 12.06,4 13.88,4 C15.39,4 16.67,5.02 17.05,6.42 C17.19,6.82 17.27,7.27 17.27,7.79 L17.27,7.79 Z"/><path d="M8.68,7.79 C8.68,9.45 8.38,10.43 7.4,12.02 C6.39,13.64 4.41,15.23 2.97,15.97 L2.51,15.08 C3.75,14.2 4.55,13.51 5.43,11.82 C5.68,11.34 5.82,10.92 5.9,10.54 C5.71,10.58 5.5,10.6 5.29,10.6 C3.47,10.6 2,9.12 2,7.3 C2,5.48 3.47,4 5.29,4 C6.8,4 8.08,5.02 8.46,6.42 C8.6,6.82 8.68,7.27 8.68,7.79 L8.68,7.79 Z"/></svg>',question:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><circle cx="9.99" cy="14.24" r="1.05"/><path fill="none" stroke="#000" stroke-width="1.2" d="m7.72,7.61c0-3.04,4.55-3.06,4.55-.07,0,.95-.91,1.43-1.49,2.03-.48.49-.72.98-.78,1.65-.01.13-.02.24-.02.35"/></svg>',push:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="12.15,4 9.5,1.4 6.85,4 6.15,3.3 9.5,0 12.85,3.3"/><line fill="none" stroke="#000" x1="9.5" y1="10" x2="9.5" y2="1"/><polyline fill="none" stroke="#000" points="6 5.5 3.5 5.5 3.5 18.5 15.5 18.5 15.5 5.5 13 5.5"/></svg>',pull:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="6.85,8 9.5,10.6 12.15,8 12.85,8.7 9.5,12 6.15,8.7"/><line fill="none" stroke="#000" x1="9.5" y1="11" x2="9.5" y2="2"/><polyline fill="none" stroke="#000" points="6,5.5 3.5,5.5 3.5,18.5 15.5,18.5 15.5,5.5 13,5.5"/></svg>',print:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="4.5 13.5 1.5 13.5 1.5 6.5 18.5 6.5 18.5 13.5 15.5 13.5"/><polyline fill="none" stroke="#000" points="15.5 6.5 15.5 2.5 4.5 2.5 4.5 6.5"/><rect fill="none" stroke="#000" width="11" height="6" x="4.5" y="11.5"/><rect width="8" height="1" x="6" y="13"/><rect width="8" height="1" x="6" y="15"/></svg>',plus:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="9" y="1" width="1" height="17"/><rect x="1" y="9" width="17" height="1"/></svg>',"plus-circle":'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.5" cy="9.5" r="9"/><line fill="none" stroke="#000" x1="9.5" y1="5" x2="9.5" y2="14"/><line fill="none" stroke="#000" x1="5" y1="9.5" x2="14" y2="9.5"/></svg>',play:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" points="6.5,5 14.5,10 6.5,15"/></svg>',"play-circle":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" stroke-width="1.1" points="8.5 7 13.5 10 8.5 13"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/></svg>',pinterest:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M10.21,1 C5.5,1 3,4.16 3,7.61 C3,9.21 3.85,11.2 5.22,11.84 C5.43,11.94 5.54,11.89 5.58,11.69 C5.62,11.54 5.8,10.8 5.88,10.45 C5.91,10.34 5.89,10.24 5.8,10.14 C5.36,9.59 5,8.58 5,7.65 C5,5.24 6.82,2.91 9.93,2.91 C12.61,2.91 14.49,4.74 14.49,7.35 C14.49,10.3 13,12.35 11.06,12.35 C9.99,12.35 9.19,11.47 9.44,10.38 C9.75,9.08 10.35,7.68 10.35,6.75 C10.35,5.91 9.9,5.21 8.97,5.21 C7.87,5.21 6.99,6.34 6.99,7.86 C6.99,8.83 7.32,9.48 7.32,9.48 C7.32,9.48 6.24,14.06 6.04,14.91 C5.7,16.35 6.08,18.7 6.12,18.9 C6.14,19.01 6.26,19.05 6.33,18.95 C6.44,18.81 7.74,16.85 8.11,15.44 C8.24,14.93 8.79,12.84 8.79,12.84 C9.15,13.52 10.19,14.09 11.29,14.09 C14.58,14.09 16.96,11.06 16.96,7.3 C16.94,3.7 14,1 10.21,1"/></svg>',phone:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M15.5,17 C15.5,17.8 14.8,18.5 14,18.5 L7,18.5 C6.2,18.5 5.5,17.8 5.5,17 L5.5,3 C5.5,2.2 6.2,1.5 7,1.5 L14,1.5 C14.8,1.5 15.5,2.2 15.5,3 L15.5,17 L15.5,17 L15.5,17 Z"/><circle cx="10.5" cy="16.5" r=".8"/></svg>',"phone-landscape":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M17,5.5 C17.8,5.5 18.5,6.2 18.5,7 L18.5,14 C18.5,14.8 17.8,15.5 17,15.5 L3,15.5 C2.2,15.5 1.5,14.8 1.5,14 L1.5,7 C1.5,6.2 2.2,5.5 3,5.5 L17,5.5 L17,5.5 L17,5.5 Z"/><circle cx="3.8" cy="10.5" r=".8"/></svg>',pencil:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M17.25,6.01 L7.12,16.1 L3.82,17.2 L5.02,13.9 L15.12,3.88 C15.71,3.29 16.66,3.29 17.25,3.88 C17.83,4.47 17.83,5.42 17.25,6.01 L17.25,6.01 Z"/><path fill="none" stroke="#000" d="M15.98,7.268 L13.851,5.148"/></svg>',"paint-bucket":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="m6.42,2.16l5.28,5.28"/><path d="m18.49,11.83s1.51,2.06,1.51,3.36c0,.92-.76,1.64-1.51,1.64h0c-.75,0-1.49-.72-1.49-1.64,0-1.3,1.49-3.36,1.49-3.36h0Z"/><line fill="none" stroke="#000" x1="1.26" y1="10.5" x2="16" y2="10.5"/><polygon fill="none" stroke="#000" stroke-width="1.1" points="10.2 1.55 17.6 8.93 8.08 18.45 .7 11.07 10.2 1.55"/></svg>',pagekit:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="3,1 17,1 17,16 10,16 10,13 14,13 14,4 6,4 6,16 10,16 10,19 3,19"/></svg>',nut:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" points="2.5,5.7 10,1.3 17.5,5.7 17.5,14.3 10,18.7 2.5,14.3"/><circle fill="none" stroke="#000" cx="10" cy="10" r="3.5"/></svg>',move:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="4,5 1,5 1,9 2,9 2,6 4,6"/><polygon points="1,16 2,16 2,18 4,18 4,19 1,19"/><polygon points="14,16 14,19 11,19 11,18 13,18 13,16"/><rect fill="none" stroke="#000" x="5.5" y="1.5" width="13" height="13"/><rect x="1" y="11" width="1" height="3"/><rect x="6" y="18" width="3" height="1"/></svg>',more:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="3" cy="10" r="2"/><circle cx="10" cy="10" r="2"/><circle cx="17" cy="10" r="2"/></svg>',"more-vertical":'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="3" r="2"/><circle cx="10" cy="10" r="2"/><circle cx="10" cy="17" r="2"/></svg>',minus:'<svg width="20" height="20" viewBox="0 0 20 20"><rect height="1" width="18" y="9" x="1"/></svg>',"minus-circle":'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.5" cy="9.5" r="9"/><line fill="none" stroke="#000" x1="5" y1="9.5" x2="14" y2="9.5"/></svg>',microsoft:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="m2,2h7.58v7.58H2V2Zm8.42,0h7.58v7.58h-7.58V2ZM2,10.42h7.58v7.58H2v-7.58Zm8.42,0h7.58v7.58h-7.58"/></svg>',microphone:'<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" x1="10" x2="10" y1="16.44" y2="18.5"/><line fill="none" stroke="#000" x1="7" x2="13" y1="18.5" y2="18.5"/><path fill="none" stroke="#000" stroke-width="1.1" d="M13.5 4.89v5.87a3.5 3.5 0 0 1-7 0V4.89a3.5 3.5 0 0 1 7 0z"/><path fill="none" stroke="#000" stroke-width="1.1" d="M15.5 10.36V11a5.5 5.5 0 0 1-11 0v-.6"/></svg>',menu:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="2" y="4" width="16" height="1"/><rect x="2" y="9" width="16" height="1"/><rect x="2" y="14" width="16" height="1"/></svg>',mastodon:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="m18.5,6.87c0-3.95-2.59-5.11-2.59-5.11-1.31-.6-3.55-.85-5.88-.87h-.06c-2.33.02-4.57.27-5.88.87,0,0-2.59,1.16-2.59,5.11,0,.91-.02,1.99.01,3.14.09,3.87.71,7.68,4.28,8.62,1.65.44,3.06.53,4.2.47,2.07-.11,3.23-.74,3.23-.74l-.07-1.5s-1.48.47-3.14.41c-1.64-.06-3.38-.18-3.64-2.2-.02-.18-.04-.37-.04-.57,0,0,1.61.39,3.66.49,1.25.06,2.42-.07,3.61-.22,2.28-.27,4.27-1.68,4.52-2.97.39-2.02.36-4.94.36-4.94Zm-3.05,5.09h-1.9v-4.65c0-.98-.41-1.48-1.24-1.48-.91,0-1.37.59-1.37,1.76v2.54h-1.89v-2.54c0-1.17-.46-1.76-1.37-1.76-.82,0-1.24.5-1.24,1.48v4.65h-1.9v-4.79c0-.98.25-1.76.75-2.33.52-.58,1.19-.87,2.03-.87.97,0,1.71.37,2.19,1.12l.47.79.47-.79c.49-.75,1.22-1.12,2.19-1.12.84,0,1.51.29,2.03.87.5.58.75,1.35.75,2.33v4.79Z"/></svg>',mail:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="1.4,6.5 10,11 18.6,6.5"/><path d="M 1,4 1,16 19,16 19,4 1,4 Z M 18,15 2,15 2,5 18,5 18,15 Z"/></svg>',lock:'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" height="10" width="13" y="8.5" x="3.5"/><path fill="none" stroke="#000" d="M6.5,8 L6.5,4.88 C6.5,3.01 8.07,1.5 10,1.5 C11.93,1.5 13.5,3.01 13.5,4.88 L13.5,8"/></svg>',location:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.01" d="M10,0.5 C6.41,0.5 3.5,3.39 3.5,6.98 C3.5,11.83 10,19 10,19 C10,19 16.5,11.83 16.5,6.98 C16.5,3.39 13.59,0.5 10,0.5 L10,0.5 Z"/><circle fill="none" stroke="#000" cx="10" cy="6.8" r="2.3"/></svg>',list:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="6" y="4" width="12" height="1"/><rect x="6" y="9" width="12" height="1"/><rect x="6" y="14" width="12" height="1"/><rect x="2" y="4" width="2" height="1"/><rect x="2" y="9" width="2" height="1"/><rect x="2" y="14" width="2" height="1"/></svg>',linkedin:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M5.77,17.89 L5.77,7.17 L2.21,7.17 L2.21,17.89 L5.77,17.89 L5.77,17.89 Z M3.99,5.71 C5.23,5.71 6.01,4.89 6.01,3.86 C5.99,2.8 5.24,2 4.02,2 C2.8,2 2,2.8 2,3.85 C2,4.88 2.77,5.7 3.97,5.7 L3.99,5.7 L3.99,5.71 L3.99,5.71 Z"/><path d="M7.75,17.89 L11.31,17.89 L11.31,11.9 C11.31,11.58 11.33,11.26 11.43,11.03 C11.69,10.39 12.27,9.73 13.26,9.73 C14.55,9.73 15.06,10.71 15.06,12.15 L15.06,17.89 L18.62,17.89 L18.62,11.74 C18.62,8.45 16.86,6.92 14.52,6.92 C12.6,6.92 11.75,7.99 11.28,8.73 L11.3,8.73 L11.3,7.17 L7.75,7.17 C7.79,8.17 7.75,17.89 7.75,17.89 L7.75,17.89 L7.75,17.89 Z"/></svg>',link:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"/><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"/><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"/></svg>',lifesaver:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" cx="10" cy="10" r="9"/><circle fill="none" stroke="#000" cx="10" cy="10" r="5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="5.17" y1="2.39" x2="8.11" y2="5.33"/><line fill="none" stroke="#000" stroke-width="1.1" x1="5.33" y1="8.11" x2="2.39" y2="5.17"/><line fill="none" stroke="#000" stroke-width="1.1" x1="14.83" y1="17.61" x2="11.89" y2="14.67"/><line fill="none" stroke="#000" stroke-width="1.1" x1="14.67" y1="11.89" x2="17.61" y2="14.83"/><line fill="none" stroke="#000" stroke-width="1.1" x1="17.61" y1="5.17" x2="14.67" y2="8.11"/><line fill="none" stroke="#000" stroke-width="1.1" x1="11.89" y1="5.33" x2="14.83" y2="2.39"/><line fill="none" stroke="#000" stroke-width="1.1" x1="8.11" y1="14.67" x2="5.17" y2="17.61"/><line fill="none" stroke="#000" stroke-width="1.1" x1="2.39" y1="14.83" x2="5.33" y2="11.89"/></svg>',laptop:'<svg width="20" height="20" viewBox="0 0 20 20"><rect y="16" width="20" height="1"/><rect fill="none" stroke="#000" x="2.5" y="4.5" width="15" height="10"/></svg>',joomla:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M7.8,13.4l1.7-1.7L5.9,8c-0.6-0.5-0.6-1.5,0-2c0.6-0.6,1.4-0.6,2,0l1.7-1.7c-1-1-2.3-1.3-3.6-1C5.8,2.2,4.8,1.4,3.7,1.4 c-1.3,0-2.3,1-2.3,2.3c0,1.1,0.8,2,1.8,2.3c-0.4,1.3-0.1,2.8,1,3.8L7.8,13.4L7.8,13.4z"/><path d="M10.2,4.3c1-1,2.5-1.4,3.8-1c0.2-1.1,1.1-2,2.3-2c1.3,0,2.3,1,2.3,2.3c0,1.2-0.9,2.2-2,2.3c0.4,1.3,0,2.8-1,3.8L13.9,8 c0.6-0.5,0.6-1.5,0-2c-0.5-0.6-1.5-0.6-2,0L8.2,9.7L6.5,8"/><path d="M14.1,16.8c-1.3,0.4-2.8,0.1-3.8-1l1.7-1.7c0.6,0.6,1.5,0.6,2,0c0.5-0.6,0.6-1.5,0-2l-3.7-3.7L12,6.7l3.7,3.7 c1,1,1.3,2.4,1,3.6c1.1,0.2,2,1.1,2,2.3c0,1.3-1,2.3-2.3,2.3C15.2,18.6,14.3,17.8,14.1,16.8"/><path d="M13.2,12.2l-3.7,3.7c-1,1-2.4,1.3-3.6,1c-0.2,1-1.2,1.8-2.2,1.8c-1.3,0-2.3-1-2.3-2.3c0-1.1,0.8-2,1.8-2.3 c-0.3-1.3,0-2.7,1-3.7l1.7,1.7c-0.6,0.6-0.6,1.5,0,2c0.6,0.6,1.4,0.6,2,0l3.7-3.7"/></svg>',italic:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M12.63,5.48 L10.15,14.52 C10,15.08 10.37,15.25 11.92,15.3 L11.72,16 L6,16 L6.2,15.31 C7.78,15.26 8.19,15.09 8.34,14.53 L10.82,5.49 C10.97,4.92 10.63,4.76 9.09,4.71 L9.28,4 L15,4 L14.81,4.69 C13.23,4.75 12.78,4.91 12.63,5.48 L12.63,5.48 Z"/></svg>',instagram:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M13.55,1H6.46C3.45,1,1,3.44,1,6.44v7.12c0,3,2.45,5.44,5.46,5.44h7.08c3.02,0,5.46-2.44,5.46-5.44V6.44 C19.01,3.44,16.56,1,13.55,1z M17.5,14c0,1.93-1.57,3.5-3.5,3.5H6c-1.93,0-3.5-1.57-3.5-3.5V6c0-1.93,1.57-3.5,3.5-3.5h8 c1.93,0,3.5,1.57,3.5,3.5V14z"/><circle cx="14.87" cy="5.26" r="1.09"/><path d="M10.03,5.45c-2.55,0-4.63,2.06-4.63,4.6c0,2.55,2.07,4.61,4.63,4.61c2.56,0,4.63-2.061,4.63-4.61 C14.65,7.51,12.58,5.45,10.03,5.45L10.03,5.45L10.03,5.45z M10.08,13c-1.66,0-3-1.34-3-2.99c0-1.65,1.34-2.99,3-2.99s3,1.34,3,2.99 C13.08,11.66,11.74,13,10.08,13L10.08,13L10.08,13z"/></svg>',info:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M12.13,11.59 C11.97,12.84 10.35,14.12 9.1,14.16 C6.17,14.2 9.89,9.46 8.74,8.37 C9.3,8.16 10.62,7.83 10.62,8.81 C10.62,9.63 10.12,10.55 9.88,11.32 C8.66,15.16 12.13,11.15 12.14,11.18 C12.16,11.21 12.16,11.35 12.13,11.59 C12.08,11.95 12.16,11.35 12.13,11.59 L12.13,11.59 Z M11.56,5.67 C11.56,6.67 9.36,7.15 9.36,6.03 C9.36,5 11.56,4.54 11.56,5.67 L11.56,5.67 Z"/><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/></svg>',image:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="16.1" cy="6.1" r="1.1"/><rect fill="none" stroke="#000" x=".5" y="2.5" width="19" height="15"/><polyline fill="none" stroke="#000" stroke-width="1.01" points="4,13 8,9 13,14"/><polyline fill="none" stroke="#000" stroke-width="1.01" points="11,12 12.5,10.5 16,14"/></svg>',home:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="18.65 11.35 10 2.71 1.35 11.35 0.65 10.65 10 1.29 19.35 10.65"/><polygon points="15 4 18 4 18 7 17 7 17 5 15 5"/><polygon points="3 11 4 11 4 18 7 18 7 12 12 12 12 18 16 18 16 11 17 11 17 19 11 19 11 13 8 13 8 19 3 19"/></svg>',history:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="#000" points="1 2 2 2 2 6 6 6 6 7 1 7 1 2"/><path fill="none" stroke="#000" stroke-width="1.1" d="M2.1,6.548 C3.391,3.29 6.746,1 10.5,1 C15.5,1 19.5,5 19.5,10 C19.5,15 15.5,19 10.5,19 C5.5,19 1.5,15 1.5,10"/><rect x="9" y="4" width="1" height="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M13.018,14.197 L9.445,10.625"/></svg>',heart:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.03" d="M10,4 C10,4 8.1,2 5.74,2 C3.38,2 1,3.55 1,6.73 C1,8.84 2.67,10.44 2.67,10.44 L10,18 L17.33,10.44 C17.33,10.44 19,8.84 19,6.73 C19,3.55 16.62,2 14.26,2 C11.9,2 10,4 10,4 L10,4 Z"/></svg>',hashtag:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M15.431,8 L15.661,7 L12.911,7 L13.831,3 L12.901,3 L11.98,7 L9.29,7 L10.21,3 L9.281,3 L8.361,7 L5.23,7 L5,8 L8.13,8 L7.21,12 L4.23,12 L4,13 L6.98,13 L6.061,17 L6.991,17 L7.911,13 L10.601,13 L9.681,17 L10.611,17 L11.531,13 L14.431,13 L14.661,12 L11.76,12 L12.681,8 L15.431,8 Z M10.831,12 L8.141,12 L9.061,8 L11.75,8 L10.831,12 Z"/></svg>',happy:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="13" cy="7" r="1"/><circle cx="7" cy="7" r="1"/><circle fill="none" stroke="#000" cx="10" cy="10" r="8.5"/><path fill="none" stroke="#000" d="M14.6,11.4 C13.9,13.3 12.1,14.5 10,14.5 C7.9,14.5 6.1,13.3 5.4,11.4"/></svg>',grid:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="2" y="2" width="3" height="3"/><rect x="8" y="2" width="3" height="3"/><rect x="14" y="2" width="3" height="3"/><rect x="2" y="8" width="3" height="3"/><rect x="8" y="8" width="3" height="3"/><rect x="14" y="8" width="3" height="3"/><rect x="2" y="14" width="3" height="3"/><rect x="8" y="14" width="3" height="3"/><rect x="14" y="14" width="3" height="3"/></svg>',google:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17.86,9.09 C18.46,12.12 17.14,16.05 13.81,17.56 C9.45,19.53 4.13,17.68 2.47,12.87 C0.68,7.68 4.22,2.42 9.5,2.03 C11.57,1.88 13.42,2.37 15.05,3.65 C15.22,3.78 15.37,3.93 15.61,4.14 C14.9,4.81 14.23,5.45 13.5,6.14 C12.27,5.08 10.84,4.72 9.28,4.98 C8.12,5.17 7.16,5.76 6.37,6.63 C4.88,8.27 4.62,10.86 5.76,12.82 C6.95,14.87 9.17,15.8 11.57,15.25 C13.27,14.87 14.76,13.33 14.89,11.75 L10.51,11.75 L10.51,9.09 L17.86,9.09 L17.86,9.09 Z"/></svg>',gitter:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="3.5" y="1" width="1.531" height="11.471"/><rect x="7.324" y="4.059" width="1.529" height="15.294"/><rect x="11.148" y="4.059" width="1.527" height="15.294"/><rect x="14.971" y="4.059" width="1.529" height="8.412"/></svg>',github:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M10,1 C5.03,1 1,5.03 1,10 C1,13.98 3.58,17.35 7.16,18.54 C7.61,18.62 7.77,18.34 7.77,18.11 C7.77,17.9 7.76,17.33 7.76,16.58 C5.26,17.12 4.73,15.37 4.73,15.37 C4.32,14.33 3.73,14.05 3.73,14.05 C2.91,13.5 3.79,13.5 3.79,13.5 C4.69,13.56 5.17,14.43 5.17,14.43 C5.97,15.8 7.28,15.41 7.79,15.18 C7.87,14.6 8.1,14.2 8.36,13.98 C6.36,13.75 4.26,12.98 4.26,9.53 C4.26,8.55 4.61,7.74 5.19,7.11 C5.1,6.88 4.79,5.97 5.28,4.73 C5.28,4.73 6.04,4.49 7.75,5.65 C8.47,5.45 9.24,5.35 10,5.35 C10.76,5.35 11.53,5.45 12.25,5.65 C13.97,4.48 14.72,4.73 14.72,4.73 C15.21,5.97 14.9,6.88 14.81,7.11 C15.39,7.74 15.73,8.54 15.73,9.53 C15.73,12.99 13.63,13.75 11.62,13.97 C11.94,14.25 12.23,14.8 12.23,15.64 C12.23,16.84 12.22,17.81 12.22,18.11 C12.22,18.35 12.38,18.63 12.84,18.54 C16.42,17.35 19,13.98 19,10 C19,5.03 14.97,1 10,1 L10,1 Z"/></svg>',"github-alt":'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M10,0.5 C4.75,0.5 0.5,4.76 0.5,10.01 C0.5,15.26 4.75,19.51 10,19.51 C15.24,19.51 19.5,15.26 19.5,10.01 C19.5,4.76 15.25,0.5 10,0.5 L10,0.5 Z M12.81,17.69 C12.81,17.69 12.81,17.7 12.79,17.69 C12.47,17.75 12.35,17.59 12.35,17.36 L12.35,16.17 C12.35,15.45 12.09,14.92 11.58,14.56 C12.2,14.51 12.77,14.39 13.26,14.21 C13.87,13.98 14.36,13.69 14.74,13.29 C15.42,12.59 15.76,11.55 15.76,10.17 C15.76,9.25 15.45,8.46 14.83,7.8 C15.1,7.08 15.07,6.29 14.75,5.44 L14.51,5.42 C14.34,5.4 14.06,5.46 13.67,5.61 C13.25,5.78 12.79,6.03 12.31,6.35 C11.55,6.16 10.81,6.05 10.09,6.05 C9.36,6.05 8.61,6.15 7.88,6.35 C7.28,5.96 6.75,5.68 6.26,5.54 C6.07,5.47 5.9,5.44 5.78,5.44 L5.42,5.44 C5.06,6.29 5.04,7.08 5.32,7.8 C4.7,8.46 4.4,9.25 4.4,10.17 C4.4,11.94 4.96,13.16 6.08,13.84 C6.53,14.13 7.05,14.32 7.69,14.43 C8.03,14.5 8.32,14.54 8.55,14.55 C8.07,14.89 7.82,15.42 7.82,16.16 L7.82,17.51 C7.8,17.69 7.7,17.8 7.51,17.8 C4.21,16.74 1.82,13.65 1.82,10.01 C1.82,5.5 5.49,1.83 10,1.83 C14.5,1.83 18.17,5.5 18.17,10.01 C18.18,13.53 15.94,16.54 12.81,17.69 L12.81,17.69 Z"/></svg>',"git-fork":'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.2" cx="5.79" cy="2.79" r="1.79"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="14.19" cy="2.79" r="1.79"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="10.03" cy="16.79" r="1.79"/><path fill="none" stroke="#000" stroke-width="2" d="M5.79,4.57 L5.79,6.56 C5.79,9.19 10.03,10.22 10.03,13.31 C10.03,14.86 10.04,14.55 10.04,14.55 C10.04,14.37 10.04,14.86 10.04,13.31 C10.04,10.22 14.2,9.19 14.2,6.56 L14.2,4.57"/></svg>',"git-branch":'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.2" cx="7" cy="3" r="2"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="14" cy="6" r="2"/><circle fill="none" stroke="#000" stroke-width="1.2" cx="7" cy="17" r="2"/><path fill="none" stroke="#000" stroke-width="2" d="M14,8 C14,10.41 12.43,10.87 10.56,11.25 C9.09,11.54 7,12.06 7,15 L7,5"/></svg>',future:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline points="19 2 18 2 18 6 14 6 14 7 19 7 19 2"/><path fill="none" stroke="#000" stroke-width="1.1" d="M18,6.548 C16.709,3.29 13.354,1 9.6,1 C4.6,1 0.6,5 0.6,10 C0.6,15 4.6,19 9.6,19 C14.6,19 18.6,15 18.6,10"/><rect x="9" y="4" width="1" height="7"/><path d="M13.018,14.197 L9.445,10.625" fill="none" stroke="#000" stroke-width="1.1"/></svg>',foursquare:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M15.23,2 C15.96,2 16.4,2.41 16.5,2.86 C16.57,3.15 16.56,3.44 16.51,3.73 C16.46,4.04 14.86,11.72 14.75,12.03 C14.56,12.56 14.16,12.82 13.61,12.83 C13.03,12.84 11.09,12.51 10.69,13 C10.38,13.38 7.79,16.39 6.81,17.53 C6.61,17.76 6.4,17.96 6.08,17.99 C5.68,18.04 5.29,17.87 5.17,17.45 C5.12,17.28 5.1,17.09 5.1,16.91 C5.1,12.4 4.86,7.81 5.11,3.31 C5.17,2.5 5.81,2.12 6.53,2 L15.23,2 L15.23,2 Z M9.76,11.42 C9.94,11.19 10.17,11.1 10.45,11.1 L12.86,11.1 C13.12,11.1 13.31,10.94 13.36,10.69 C13.37,10.64 13.62,9.41 13.74,8.83 C13.81,8.52 13.53,8.28 13.27,8.28 C12.35,8.29 11.42,8.28 10.5,8.28 C9.84,8.28 9.83,7.69 9.82,7.21 C9.8,6.85 10.13,6.55 10.5,6.55 C11.59,6.56 12.67,6.55 13.76,6.55 C14.03,6.55 14.23,6.4 14.28,6.14 C14.34,5.87 14.67,4.29 14.67,4.29 C14.67,4.29 14.82,3.74 14.19,3.74 L7.34,3.74 C7,3.75 6.84,4.02 6.84,4.33 C6.84,7.58 6.85,14.95 6.85,14.99 C6.87,15 8.89,12.51 9.76,11.42 L9.76,11.42 Z"/></svg>',forward:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M2.47,13.11 C4.02,10.02 6.27,7.85 9.04,6.61 C9.48,6.41 10.27,6.13 11,5.91 L11,2 L18.89,9 L11,16 L11,12.13 C9.25,12.47 7.58,13.19 6.02,14.25 C3.03,16.28 1.63,18.54 1.63,18.54 C1.63,18.54 1.38,15.28 2.47,13.11 L2.47,13.11 Z M5.3,13.53 C6.92,12.4 9.04,11.4 12,10.92 L12,13.63 L17.36,9 L12,4.25 L12,6.8 C11.71,6.86 10.86,7.02 9.67,7.49 C6.79,8.65 4.58,10.96 3.49,13.08 C3.18,13.7 2.68,14.87 2.49,16 C3.28,15.05 4.4,14.15 5.3,13.53 L5.3,13.53 Z"/></svg>',folder:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" points="9.5 5.5 8.5 3.5 1.5 3.5 1.5 16.5 18.5 16.5 18.5 5.5"/></svg>',flickr:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="5.5" cy="9.5" r="3.5"/><circle cx="14.5" cy="9.5" r="3.5"/></svg>',file:'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" x="3.5" y="1.5" width="13" height="17"/></svg>',"file-text":'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" width="13" height="17" x="3.5" y="1.5"/><line fill="none" stroke="#000" x1="6" x2="12" y1="12.5" y2="12.5"/><line fill="none" stroke="#000" x1="6" x2="14" y1="8.5" y2="8.5"/><line fill="none" stroke="#000" x1="6" x2="14" y1="6.5" y2="6.5"/><line fill="none" stroke="#000" x1="6" x2="14" y1="10.5" y2="10.5"/></svg>',"file-pdf":'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" width="13" height="17" x="3.5" y="1.5"/><path d="M14.65 11.67c-.48.3-1.37-.19-1.79-.37a4.65 4.65 0 0 1 1.49.06c.35.1.36.28.3.31zm-6.3.06l.43-.79a14.7 14.7 0 0 0 .75-1.64 5.48 5.48 0 0 0 1.25 1.55l.2.15a16.36 16.36 0 0 0-2.63.73zM9.5 5.32c.2 0 .32.5.32.97a1.99 1.99 0 0 1-.23 1.04 5.05 5.05 0 0 1-.17-1.3s0-.71.08-.71zm-3.9 9a4.35 4.35 0 0 1 1.21-1.46l.24-.22a4.35 4.35 0 0 1-1.46 1.68zm9.23-3.3a2.05 2.05 0 0 0-1.32-.3 11.07 11.07 0 0 0-1.58.11 4.09 4.09 0 0 1-.74-.5 5.39 5.39 0 0 1-1.32-2.06 10.37 10.37 0 0 0 .28-2.62 1.83 1.83 0 0 0-.07-.25.57.57 0 0 0-.52-.4H9.4a.59.59 0 0 0-.6.38 6.95 6.95 0 0 0 .37 3.14c-.26.63-1 2.12-1 2.12-.3.58-.57 1.08-.82 1.5l-.8.44A3.11 3.11 0 0 0 5 14.16a.39.39 0 0 0 .15.42l.24.13c1.15.56 2.28-1.74 2.66-2.42a23.1 23.1 0 0 1 3.59-.85 4.56 4.56 0 0 0 2.91.8.5.5 0 0 0 .3-.21 1.1 1.1 0 0 0 .12-.75.84.84 0 0 0-.14-.25z"/></svg>',"file-edit":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M18.65,1.68 C18.41,1.45 18.109,1.33 17.81,1.33 C17.499,1.33 17.209,1.45 16.98,1.68 L8.92,9.76 L8,12.33 L10.55,11.41 L18.651,3.34 C19.12,2.87 19.12,2.15 18.65,1.68 L18.65,1.68 L18.65,1.68 Z"/><polyline fill="none" stroke="#000" points="16.5 8.482 16.5 18.5 3.5 18.5 3.5 1.5 14.211 1.5"/></svg>',facebook:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M11,10h2.6l0.4-3H11V5.3c0-0.9,0.2-1.5,1.5-1.5H14V1.1c-0.3,0-1-0.1-2.1-0.1C9.6,1,8,2.4,8,5v2H5.5v3H8v8h3V10z"/></svg>',eye:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" cx="10" cy="10" r="3.45"/><path fill="none" stroke="#000" d="m19.5,10c-2.4,3.66-5.26,7-9.5,7h0,0,0c-4.24,0-7.1-3.34-9.49-7C2.89,6.34,5.75,3,9.99,3h0,0,0c4.25,0,7.11,3.34,9.5,7Z"/></svg>',"eye-slash":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="m7.56,7.56c.62-.62,1.49-1.01,2.44-1.01,1.91,0,3.45,1.54,3.45,3.45,0,.95-.39,1.82-1.01,2.44"/><path fill="none" stroke="#000" d="m19.5,10c-2.4,3.66-5.26,7-9.5,7h0,0,0c-4.24,0-7.1-3.34-9.49-7C2.89,6.34,5.75,3,9.99,3h0,0,0c4.25,0,7.11,3.34,9.5,7Z"/><line fill="none" stroke="#000" x1="2.5" y1="2.5" x2="17.5" y2="17.5"/></svg>',expand:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="13 2 18 2 18 7 17 7 17 3 13 3"/><polygon points="2 13 3 13 3 17 7 17 7 18 2 18"/><path fill="none" stroke="#000" stroke-width="1.1" d="M11,9 L17,3"/><path fill="none" stroke="#000" stroke-width="1.1" d="M3,17 L9,11"/></svg>',etsy:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M8,4.26C8,4.07,8,4,8.31,4h4.46c.79,0,1.22.67,1.53,1.91l.25,1h.76c.14-2.82.26-4,.26-4S13.65,3,12.52,3H6.81L3.75,2.92v.84l1,.2c.73.11.9.27,1,1,0,0,.06,2,.06,5.17s-.06,5.14-.06,5.14c0,.59-.23.81-1,.94l-1,.2v.84l3.06-.1h5.11c1.15,0,3.82.1,3.82.1,0-.7.45-3.88.51-4.22h-.73l-.76,1.69a2.25,2.25,0,0,1-2.45,1.47H9.4c-1,0-1.44-.4-1.44-1.24V10.44s2.16,0,2.86.06c.55,0,.85.19,1.06,1l.23,1H13L12.9,9.94,13,7.41h-.85l-.28,1.13c-.16.74-.28.84-1,1-1,.1-2.89.09-2.89.09Z"/></svg>',dribbble:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.4" d="M1.3,8.9c0,0,5,0.1,8.6-1c1.4-0.4,2.6-0.9,4-1.9 c1.4-1.1,2.5-2.5,2.5-2.5"/><path fill="none" stroke="#000" stroke-width="1.4" d="M3.9,16.6c0,0,1.7-2.8,3.5-4.2 c1.8-1.3,4-2,5.7-2.2C16,10,19,10.6,19,10.6"/><path fill="none" stroke="#000" stroke-width="1.4" d="M6.9,1.6c0,0,3.3,4.6,4.2,6.8 c0.4,0.9,1.3,3.1,1.9,5.2c0.6,2,0.9,4.4,0.9,4.4"/><circle fill="none" stroke="#000" stroke-width="1.4" cx="10" cy="10" r="9"/></svg>',download:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"/><rect x="3" y="17" width="13" height="1"/><line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"/></svg>',discord:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M16.074,4.361a14.243,14.243,0,0,0-3.61-1.134,10.61,10.61,0,0,0-.463.96,13.219,13.219,0,0,0-4,0,10.138,10.138,0,0,0-.468-.96A14.206,14.206,0,0,0,3.919,4.364,15.146,15.146,0,0,0,1.324,14.5a14.435,14.435,0,0,0,4.428,2.269A10.982,10.982,0,0,0,6.7,15.21a9.294,9.294,0,0,1-1.494-.727c.125-.093.248-.19.366-.289a10.212,10.212,0,0,0,8.854,0c.119.1.242.2.366.289a9.274,9.274,0,0,1-1.5.728,10.8,10.8,0,0,0,.948,1.562,14.419,14.419,0,0,0,4.431-2.27A15.128,15.128,0,0,0,16.074,4.361Zm-8.981,8.1a1.7,1.7,0,0,1-1.573-1.79A1.689,1.689,0,0,1,7.093,8.881a1.679,1.679,0,0,1,1.573,1.791A1.687,1.687,0,0,1,7.093,12.462Zm5.814,0a1.7,1.7,0,0,1-1.573-1.79,1.689,1.689,0,0,1,1.573-1.791,1.679,1.679,0,0,1,1.573,1.791A1.688,1.688,0,0,1,12.907,12.462Z"/></svg>',desktop:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="8" y="15" width="1" height="2"/><rect x="11" y="15" width="1" height="2"/><rect x="5" y="16" width="10" height="1"/><rect fill="none" stroke="#000" x="1.5" y="3.5" width="17" height="11"/></svg>',database:'<svg width="20" height="20" viewBox="0 0 20 20"><ellipse fill="none" stroke="#000" cx="10" cy="4.64" rx="7.5" ry="3.14"/><path fill="none" stroke="#000" d="M17.5,8.11 C17.5,9.85 14.14,11.25 10,11.25 C5.86,11.25 2.5,9.84 2.5,8.11"/><path fill="none" stroke="#000" d="M17.5,11.25 C17.5,12.99 14.14,14.39 10,14.39 C5.86,14.39 2.5,12.98 2.5,11.25"/><path fill="none" stroke="#000" d="M17.49,4.64 L17.5,14.36 C17.5,16.1 14.14,17.5 10,17.5 C5.86,17.5 2.5,16.09 2.5,14.36 L2.5,4.64"/></svg>',crosshairs:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" cx="10" cy="10" r="7.5"/><line fill="none" stroke="#000" x1="10" x2="10" y2="8"/><line fill="none" stroke="#000" x1="10" y1="12" x2="10" y2="20"/><line fill="none" stroke="#000" y1="10" x2="8" y2="10"/><line fill="none" stroke="#000" x1="12" y1="10" x2="20" y2="10"/></svg>',"credit-card":'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" x="1.5" y="4.5" width="17" height="12"/><rect x="1" y="7" width="18" height="3"/></svg>',copy:'<svg width="20" height="20" viewBox="0 0 20 20"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"/><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"/></svg>',comments:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="2 0.5 19.5 0.5 19.5 13"/><path d="M5,19.71 L5,15 L0,15 L0,2 L18,2 L18,15 L9.71,15 L5,19.71 L5,19.71 L5,19.71 Z M1,14 L6,14 L6,17.29 L9.29,14 L17,14 L17,3 L1,3 L1,14 L1,14 L1,14 Z"/></svg>',commenting:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" points="1.5,1.5 18.5,1.5 18.5,13.5 10.5,13.5 6.5,17.5 6.5,13.5 1.5,13.5"/><circle cx="10" cy="8" r="1"/><circle cx="6" cy="8" r="1"/><circle cx="14" cy="8" r="1"/></svg>',comment:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M6,18.71 L6,14 L1,14 L1,1 L19,1 L19,14 L10.71,14 L6,18.71 L6,18.71 Z M2,13 L7,13 L7,16.29 L10.29,13 L18,13 L18,2 L2,2 L2,13 L2,13 Z"/></svg>',cog:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" cx="9.997" cy="10" r="3.31"/><path fill="none" stroke="#000" d="M18.488,12.285 L16.205,16.237 C15.322,15.496 14.185,15.281 13.303,15.791 C12.428,16.289 12.047,17.373 12.246,18.5 L7.735,18.5 C7.938,17.374 7.553,16.299 6.684,15.791 C5.801,15.27 4.655,15.492 3.773,16.237 L1.5,12.285 C2.573,11.871 3.317,10.999 3.317,9.991 C3.305,8.98 2.573,8.121 1.5,7.716 L3.765,3.784 C4.645,4.516 5.794,4.738 6.687,4.232 C7.555,3.722 7.939,2.637 7.735,1.5 L12.263,1.5 C12.072,2.637 12.441,3.71 13.314,4.22 C14.206,4.73 15.343,4.516 16.225,3.794 L18.487,7.714 C17.404,8.117 16.661,8.988 16.67,10.009 C16.672,11.018 17.415,11.88 18.488,12.285 L18.488,12.285 Z"/></svg>',code:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"/><polyline fill="none" stroke="#000" stroke-width="1.01" points="7,4 1,10 7,16"/></svg>',"cloud-upload":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.31,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6"/><polyline fill="none" stroke="#000" points="7.25 11.75 9.5 9.5 11.75 11.75"/><path fill="none" stroke="#000" d="M9.5,18 L9.5,9.5"/></svg>',"cloud-download":'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="M6.5,14.61 L3.75,14.61 C1.96,14.61 0.5,13.17 0.5,11.39 C0.5,9.76 1.72,8.41 3.3,8.2 C3.38,5.31 5.75,3 8.68,3 C11.19,3 13.31,4.71 13.89,7.02 C14.39,6.8 14.93,6.68 15.5,6.68 C17.71,6.68 19.5,8.45 19.5,10.64 C19.5,12.83 17.71,14.6 15.5,14.6 L12.5,14.6"/><polyline fill="none" stroke="#000" points="11.75 16 9.5 18.25 7.25 16"/><path fill="none" stroke="#000" d="M9.5,18 L9.5,9.5"/></svg>',close:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"/><path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"/></svg>',clock:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><rect x="9" y="4" width="1" height="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M13.018,14.197 L9.445,10.625"/></svg>',"chevron-up":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.03" points="4 13 10 7 16 13"/></svg>',"chevron-right":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.03" points="7 4 13 10 7 16"/></svg>',"chevron-left":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.03" points="13 16 7 10 13 4"/></svg>',"chevron-down":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.03" points="16 7 10 13 4 7"/></svg>',"chevron-double-right":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.03" points="10 6 14 10 10 14"/><polyline fill="none" stroke="#000" stroke-width="1.03" points="6 6 10 10 6 14"/></svg>',"chevron-double-left":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.03" points="10 14 6 10 10 6"/><polyline fill="none" stroke="#000" stroke-width="1.03" points="14 14 10 10 14 6"/></svg>',check:'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" stroke-width="1.1" points="4,10 8,15 17,4"/></svg>',cart:'<svg width="20" height="20" viewBox="0 0 20 20"><circle cx="7.3" cy="17.3" r="1.4"/><circle cx="13.3" cy="17.3" r="1.4"/><polyline fill="none" stroke="#000" points="0 2 3.2 4 5.3 12.5 16 12.5 18 6.5 8 6.5"/></svg>',camera:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10.8" r="3.8"/><path fill="none" stroke="#000" d="M1,4.5 C0.7,4.5 0.5,4.7 0.5,5 L0.5,17 C0.5,17.3 0.7,17.5 1,17.5 L19,17.5 C19.3,17.5 19.5,17.3 19.5,17 L19.5,5 C19.5,4.7 19.3,4.5 19,4.5 L13.5,4.5 L13.5,2.9 C13.5,2.6 13.3,2.5 13,2.5 L7,2.5 C6.7,2.5 6.5,2.6 6.5,2.9 L6.5,4.5 L1,4.5 L1,4.5 Z"/></svg>',calendar:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M 2,3 2,17 18,17 18,3 2,3 Z M 17,16 3,16 3,8 17,8 17,16 Z M 17,7 3,7 3,4 17,4 17,7 Z"/><rect width="1" height="3" x="6" y="2"/><rect width="1" height="3" x="13" y="2"/></svg>',bookmark:'<svg width="20" height="20" viewBox="0 0 20 20"><polygon fill="none" stroke="#000" points="5.5 1.5 15.5 1.5 15.5 17.5 10.5 12.5 5.5 17.5"/></svg>',bolt:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M4.74,20 L7.73,12 L3,12 L15.43,1 L12.32,9 L17.02,9 L4.74,20 L4.74,20 L4.74,20 Z M9.18,11 L7.1,16.39 L14.47,10 L10.86,10 L12.99,4.67 L5.61,11 L9.18,11 L9.18,11 L9.18,11 Z"/></svg>',bold:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M5,15.3 C5.66,15.3 5.9,15 5.9,14.53 L5.9,5.5 C5.9,4.92 5.56,4.7 5,4.7 L5,4 L8.95,4 C12.6,4 13.7,5.37 13.7,6.9 C13.7,7.87 13.14,9.17 10.86,9.59 L10.86,9.7 C13.25,9.86 14.29,11.28 14.3,12.54 C14.3,14.47 12.94,16 9,16 L5,16 L5,15.3 Z M9,9.3 C11.19,9.3 11.8,8.5 11.85,7 C11.85,5.65 11.3,4.8 9,4.8 L7.67,4.8 L7.67,9.3 L9,9.3 Z M9.185,15.22 C11.97,15 12.39,14 12.4,12.58 C12.4,11.15 11.39,10 9,10 L7.67,10 L7.67,15 L9.18,15 Z"/></svg>',bell:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" stroke-width="1.1" d="M17,15.5 L3,15.5 C2.99,14.61 3.79,13.34 4.1,12.51 C4.58,11.3 4.72,10.35 5.19,7.01 C5.54,4.53 5.89,3.2 7.28,2.16 C8.13,1.56 9.37,1.5 9.81,1.5 L9.96,1.5 C9.96,1.5 11.62,1.41 12.67,2.17 C14.08,3.2 14.42,4.54 14.77,7.02 C15.26,10.35 15.4,11.31 15.87,12.52 C16.2,13.34 17.01,14.61 17,15.5 L17,15.5 Z"/><path fill="none" stroke="#000" d="M12.39,16 C12.39,17.37 11.35,18.43 9.91,18.43 C8.48,18.43 7.42,17.37 7.42,16"/></svg>',behance:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M9.5,10.6c-0.4-0.5-0.9-0.9-1.6-1.1c1.7-1,2.2-3.2,0.7-4.7C7.8,4,6.3,4,5.2,4C3.5,4,1.7,4,0,4v12c1.7,0,3.4,0,5.2,0 c1,0,2.1,0,3.1-0.5C10.2,14.6,10.5,12.3,9.5,10.6L9.5,10.6z M5.6,6.1c1.8,0,1.8,2.7-0.1,2.7c-1,0-2,0-2.9,0V6.1H5.6z M2.6,13.8v-3.1 c1.1,0,2.1,0,3.2,0c2.1,0,2.1,3.2,0.1,3.2L2.6,13.8z"/><path d="M19.9,10.9C19.7,9.2,18.7,7.6,17,7c-4.2-1.3-7.3,3.4-5.3,7.1c0.9,1.7,2.8,2.3,4.7,2.1c1.7-0.2,2.9-1.3,3.4-2.9h-2.2 c-0.4,1.3-2.4,1.5-3.5,0.6c-0.4-0.4-0.6-1.1-0.6-1.7H20C20,11.7,19.9,10.9,19.9,10.9z M13.5,10.6c0-1.6,2.3-2.7,3.5-1.4 c0.4,0.4,0.5,0.9,0.6,1.4H13.5L13.5,10.6z"/><rect x="13" y="4" width="5" height="1.4"/></svg>',ban:'<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"/><line fill="none" stroke="#000" stroke-width="1.1" x1="4" y1="3.5" x2="16" y2="16.5"/></svg>',bag:'<svg width="20" height="20" viewBox="0 0 20 20"><path fill="none" stroke="#000" d="M7.5,7.5V4A2.48,2.48,0,0,1,10,1.5,2.54,2.54,0,0,1,12.5,4V7.5"/><polygon fill="none" stroke="#000" points="16.5 7.5 3.5 7.5 2.5 18.5 17.5 18.5 16.5 7.5"/></svg>',"arrow-up":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="10.5,4 15.37,9.4 14.63,10.08 10.5,5.49 6.37,10.08 5.63,9.4"/><line fill="none" stroke="#000" x1="10.5" y1="16" x2="10.5" y2="5"/></svg>',"arrow-right":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="10 5 15 9.5 10 14"/><line fill="none" stroke="#000" x1="4" y1="9.5" x2="15" y2="9.5"/></svg>',"arrow-left":'<svg width="20" height="20" viewBox="0 0 20 20"><polyline fill="none" stroke="#000" points="10 14 5 9.5 10 5"/><line fill="none" stroke="#000" x1="16" y1="9.5" x2="5" y2="9.52"/></svg>',"arrow-down":'<svg width="20" height="20" viewBox="0 0 20 20"><polygon points="10.5,16.08 5.63,10.66 6.37,10 10.5,14.58 14.63,10 15.37,10.66"/><line fill="none" stroke="#000" x1="10.5" y1="4" x2="10.5" y2="15"/></svg>',apple:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="m17.23,6.93c-.1.08-1.95,1.12-1.95,3.43,0,2.67,2.35,3.62,2.42,3.64-.01.06-.37,1.29-1.24,2.55-.77,1.11-1.58,2.22-2.8,2.22s-1.54-.71-2.95-.71-1.87.73-2.99.73-1.9-1.03-2.8-2.29c-1.04-1.48-1.88-3.78-1.88-5.96,0-3.5,2.28-5.36,4.51-5.36,1.19,0,2.18.78,2.93.78s1.82-.83,3.17-.83c.51,0,2.36.05,3.57,1.79h0Zm-4.21-3.27c.56-.66.96-1.59.96-2.51,0-.13-.01-.26-.03-.36-.91.03-1.99.61-2.65,1.36-.51.58-.99,1.5-.99,2.44,0,.14.02.28.03.33.06.01.15.02.24.02.82,0,1.85-.55,2.44-1.28h0Z"/></svg>',android:'<svg width="20" height="20" viewBox="0 0 20 20"><path d="m14.88,6.77l1.66-2.87c.09-.16.04-.37-.12-.46-.16-.09-.37-.04-.46.12l-1.68,2.91c-1.28-.59-2.73-.91-4.28-.91s-3,.33-4.28.91l-1.68-2.91c-.09-.16-.3-.22-.46-.12-.16.09-.22.3-.12.46l1.66,2.87C2.26,8.32.32,11.22,0,14.61h20c-.32-3.39-2.26-6.29-5.12-7.84h0Zm-9.47,5.03c-.46,0-.84-.38-.84-.84s.38-.84.84-.84.84.38.84.84c0,.46-.37.84-.84.84Zm9.18,0c-.46,0-.84-.38-.84-.84s.38-.84.84-.84.84.38.84.84c0,.46-.37.84-.84.84Z"/></svg>',"android-robot":'<svg width="20" height="20" viewBox="0 0 20 20"><path d="m17.61,7.96v4.64c-.06,1.48-2.17,1.48-2.23,0v-4.64c.06-1.48,2.17-1.48,2.23,0Z"/><path d="m4.62,7.96v4.64c-.06,1.48-2.17,1.48-2.23,0v-4.64c.06-1.48,2.17-1.48,2.23,0Z"/><path d="m12.78,2.85c-.11-.07-.23-.13-.34-.19.13-.23.65-1.17.79-1.42.07-.12-.05-.27-.18-.23-.04.01-.07.04-.09.08l-.79,1.43c-1.32-.6-2.98-.6-4.3,0-.13-.23-.65-1.18-.79-1.43-.04-.07-.14-.1-.21-.06-.08.04-.1.14-.06.21,0,0,.79,1.42.79,1.42-1.49.77-2.53,2.28-2.53,3.99-.02,0,9.93,0,9.93,0,.01-1.55-.87-2.98-2.19-3.8Zm-5.07,1.98c-.23,0-.41-.19-.41-.41.01-.27.21-.41.41-.41s.4.14.42.41c0,.22-.18.42-.41.41Zm4.58,0c-.23,0-.42-.19-.41-.41.01-.28.21-.41.41-.41s.4.14.41.41c0,.23-.19.41-.41.41Z"/><path d="m14.97,7.03v7.2c0,.66-.54,1.2-1.2,1.2h-.8v2.46c-.06,1.48-2.16,1.48-2.23,0,0,0,0-2.46,0-2.46h-1.48v2.46c0,.61-.5,1.11-1.11,1.11s-1.11-.5-1.11-1.11v-2.46h-.8c-.66,0-1.2-.54-1.2-1.2,0,0,0-7.2,0-7.2h9.93Z"/></svg>',album:'<svg width="20" height="20" viewBox="0 0 20 20"><rect x="5" y="2" width="10" height="1"/><rect x="3" y="4" width="14" height="1"/><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"/></svg>',"500px":'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M9.624,11.866c-0.141,0.132,0.479,0.658,0.662,0.418c0.051-0.046,0.607-0.61,0.662-0.664c0,0,0.738,0.719,0.814,0.719 c0.1,0,0.207-0.055,0.322-0.17c0.27-0.269,0.135-0.416,0.066-0.495l-0.631-0.616l0.658-0.668c0.146-0.156,0.021-0.314-0.1-0.449 c-0.182-0.18-0.359-0.226-0.471-0.125l-0.656,0.654l-0.654-0.654c-0.033-0.034-0.08-0.045-0.124-0.045 c-0.079,0-0.191,0.068-0.307,0.181c-0.202,0.202-0.247,0.351-0.133,0.462l0.665,0.665L9.624,11.866z"/><path d="M11.066,2.884c-1.061,0-2.185,0.248-3.011,0.604c-0.087,0.034-0.141,0.106-0.15,0.205C7.893,3.784,7.919,3.909,7.982,4.066 c0.05,0.136,0.187,0.474,0.452,0.372c0.844-0.326,1.779-0.507,2.633-0.507c0.963,0,1.9,0.191,2.781,0.564 c0.695,0.292,1.357,0.719,2.078,1.34c0.051,0.044,0.105,0.068,0.164,0.068c0.143,0,0.273-0.137,0.389-0.271 c0.191-0.214,0.324-0.395,0.135-0.575c-0.686-0.654-1.436-1.138-2.363-1.533C13.24,3.097,12.168,2.884,11.066,2.884z"/><path d="M16.43,15.747c-0.092-0.028-0.242,0.05-0.309,0.119l0,0c-0.652,0.652-1.42,1.169-2.268,1.521 c-0.877,0.371-1.814,0.551-2.779,0.551c-0.961,0-1.896-0.189-2.775-0.564c-0.848-0.36-1.612-0.879-2.268-1.53 c-0.682-0.688-1.196-1.455-1.529-2.268c-0.325-0.799-0.471-1.643-0.471-1.643c-0.045-0.24-0.258-0.249-0.567-0.203 c-0.128,0.021-0.519,0.079-0.483,0.36v0.01c0.105,0.644,0.289,1.284,0.545,1.895c0.417,0.969,1.002,1.849,1.756,2.604 c0.757,0.754,1.636,1.34,2.604,1.757C8.901,18.785,9.97,19,11.088,19c1.104,0,2.186-0.215,3.188-0.645 c1.838-0.896,2.604-1.757,2.604-1.757c0.182-0.204,0.227-0.317-0.1-0.643C16.779,15.956,16.525,15.774,16.43,15.747z"/><path d="M5.633,13.287c0.293,0.71,0.723,1.341,1.262,1.882c0.54,0.54,1.172,0.971,1.882,1.264c0.731,0.303,1.509,0.461,2.298,0.461 c0.801,0,1.578-0.158,2.297-0.461c0.711-0.293,1.344-0.724,1.883-1.264c0.543-0.541,0.971-1.172,1.264-1.882 c0.314-0.721,0.463-1.5,0.463-2.298c0-0.79-0.148-1.569-0.463-2.289c-0.293-0.699-0.721-1.329-1.264-1.881 c-0.539-0.541-1.172-0.959-1.867-1.263c-0.721-0.303-1.5-0.461-2.299-0.461c-0.802,0-1.613,0.159-2.322,0.461 c-0.577,0.25-1.544,0.867-2.119,1.454v0.012V2.108h8.16C15.1,2.104,15.1,1.69,15.1,1.552C15.1,1.417,15.1,1,14.809,1H5.915 C5.676,1,5.527,1.192,5.527,1.384v6.84c0,0.214,0.273,0.372,0.529,0.428c0.5,0.105,0.614-0.056,0.737-0.224l0,0 c0.18-0.273,0.776-0.884,0.787-0.894c0.901-0.905,2.117-1.408,3.416-1.408c1.285,0,2.5,0.501,3.412,1.408 c0.914,0.914,1.408,2.122,1.408,3.405c0,1.288-0.508,2.496-1.408,3.405c-0.9,0.896-2.152,1.406-3.438,1.406 c-0.877,0-1.711-0.229-2.433-0.671v-4.158c0-0.553,0.237-1.151,0.643-1.614c0.462-0.519,1.094-0.799,1.782-0.799 c0.664,0,1.293,0.253,1.758,0.715c0.459,0.459,0.709,1.071,0.709,1.723c0,1.385-1.094,2.468-2.488,2.468 c-0.273,0-0.769-0.121-0.781-0.125c-0.281-0.087-0.405,0.306-0.438,0.436c-0.159,0.496,0.079,0.585,0.123,0.607 c0.452,0.137,0.743,0.157,1.129,0.157c1.973,0,3.572-1.6,3.572-3.57c0-1.964-1.6-3.552-3.572-3.552c-0.97,0-1.872,0.36-2.546,1.038 c-0.656,0.631-1.027,1.487-1.027,2.322v3.438v-0.011c-0.372-0.42-0.732-1.041-0.981-1.682c-0.102-0.248-0.315-0.202-0.607-0.113 c-0.135,0.035-0.519,0.157-0.44,0.439C5.372,12.799,5.577,13.164,5.633,13.287z"/></svg>'})}return typeof window<"u"&&window.UIkit&&window.UIkit.use(R),R})})(zk);function b9(i,y){return function(){return i.apply(y,arguments)}}const{toString:Fk}=Object.prototype,{getPrototypeOf:p4}=Object,ey=(i=>y=>{const R=Fk.call(y);return i[R]||(i[R]=R.slice(8,-1).toLowerCase())})(Object.create(null)),eh=i=>(i=i.toLowerCase(),y=>ey(y)===i),ty=i=>y=>typeof y===i,{isArray:c1}=Array,Mp=ty("undefined");function Bk(i){return i!==null&&!Mp(i)&&i.constructor!==null&&!Mp(i.constructor)&&l0(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const w9=eh("ArrayBuffer");function Ok(i){let y;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?y=ArrayBuffer.isView(i):y=i&&i.buffer&&w9(i.buffer),y}const _k=ty("string"),l0=ty("function"),T9=ty("number"),ry=i=>i!==null&&typeof i=="object",Nk=i=>i===!0||i===!1,eg=i=>{if(ey(i)!=="object")return!1;const y=p4(i);return(y===null||y===Object.prototype||Object.getPrototypeOf(y)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)},Uk=eh("Date"),Hk=eh("File"),Vk=eh("Blob"),Gk=eh("FileList"),Wk=i=>ry(i)&&l0(i.pipe),Yk=i=>{let y;return i&&(typeof FormData=="function"&&i instanceof FormData||l0(i.append)&&((y=ey(i))==="formdata"||y==="object"&&l0(i.toString)&&i.toString()==="[object FormData]"))},Zk=eh("URLSearchParams"),jk=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Op(i,y,{allOwnKeys:R=!1}={}){if(i===null||typeof i>"u")return;let Y,oe;if(typeof i!="object"&&(i=[i]),c1(i))for(Y=0,oe=i.length;Y<oe;Y++)y.call(null,i[Y],Y,i);else{const he=R?Object.getOwnPropertyNames(i):Object.keys(i),B=he.length;let O;for(Y=0;Y<B;Y++)O=he[Y],y.call(null,i[O],O,i)}}function A9(i,y){y=y.toLowerCase();const R=Object.keys(i);let Y=R.length,oe;for(;Y-- >0;)if(oe=R[Y],y===oe.toLowerCase())return oe;return null}const S9=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),M9=i=>!Mp(i)&&i!==S9;function $x(){const{caseless:i}=M9(this)&&this||{},y={},R=(Y,oe)=>{const he=i&&A9(y,oe)||oe;eg(y[he])&&eg(Y)?y[he]=$x(y[he],Y):eg(Y)?y[he]=$x({},Y):c1(Y)?y[he]=Y.slice():y[he]=Y};for(let Y=0,oe=arguments.length;Y<oe;Y++)arguments[Y]&&Op(arguments[Y],R);return y}const Xk=(i,y,R,{allOwnKeys:Y}={})=>(Op(y,(oe,he)=>{R&&l0(oe)?i[he]=b9(oe,R):i[he]=oe},{allOwnKeys:Y}),i),$k=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),Kk=(i,y,R,Y)=>{i.prototype=Object.create(y.prototype,Y),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:y.prototype}),R&&Object.assign(i.prototype,R)},Jk=(i,y,R,Y)=>{let oe,he,B;const O={};if(y=y||{},i==null)return y;do{for(oe=Object.getOwnPropertyNames(i),he=oe.length;he-- >0;)B=oe[he],(!Y||Y(B,i,y))&&!O[B]&&(y[B]=i[B],O[B]=!0);i=R!==!1&&p4(i)}while(i&&(!R||R(i,y))&&i!==Object.prototype);return y},Qk=(i,y,R)=>{i=String(i),(R===void 0||R>i.length)&&(R=i.length),R-=y.length;const Y=i.indexOf(y,R);return Y!==-1&&Y===R},qk=i=>{if(!i)return null;if(c1(i))return i;let y=i.length;if(!T9(y))return null;const R=new Array(y);for(;y-- >0;)R[y]=i[y];return R},eL=(i=>y=>i&&y instanceof i)(typeof Uint8Array<"u"&&p4(Uint8Array)),tL=(i,y)=>{const Y=(i&&i[Symbol.iterator]).call(i);let oe;for(;(oe=Y.next())&&!oe.done;){const he=oe.value;y.call(i,he[0],he[1])}},rL=(i,y)=>{let R;const Y=[];for(;(R=i.exec(y))!==null;)Y.push(R);return Y},nL=eh("HTMLFormElement"),aL=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(R,Y,oe){return Y.toUpperCase()+oe}),db=(({hasOwnProperty:i})=>(y,R)=>i.call(y,R))(Object.prototype),iL=eh("RegExp"),C9=(i,y)=>{const R=Object.getOwnPropertyDescriptors(i),Y={};Op(R,(oe,he)=>{let B;(B=y(oe,he,i))!==!1&&(Y[he]=B||oe)}),Object.defineProperties(i,Y)},oL=i=>{C9(i,(y,R)=>{if(l0(i)&&["arguments","caller","callee"].indexOf(R)!==-1)return!1;const Y=i[R];if(l0(Y)){if(y.enumerable=!1,"writable"in y){y.writable=!1;return}y.set||(y.set=()=>{throw Error("Can not rewrite read-only method '"+R+"'")})}})},sL=(i,y)=>{const R={},Y=oe=>{oe.forEach(he=>{R[he]=!0})};return c1(i)?Y(i):Y(String(i).split(y)),R},lL=()=>{},uL=(i,y)=>(i=+i,Number.isFinite(i)?i:y),E2="abcdefghijklmnopqrstuvwxyz",vb="0123456789",E9={DIGIT:vb,ALPHA:E2,ALPHA_DIGIT:E2+E2.toUpperCase()+vb},fL=(i=16,y=E9.ALPHA_DIGIT)=>{let R="";const{length:Y}=y;for(;i--;)R+=y[Math.random()*Y|0];return R};function cL(i){return!!(i&&l0(i.append)&&i[Symbol.toStringTag]==="FormData"&&i[Symbol.iterator])}const hL=i=>{const y=new Array(10),R=(Y,oe)=>{if(ry(Y)){if(y.indexOf(Y)>=0)return;if(!("toJSON"in Y)){y[oe]=Y;const he=c1(Y)?[]:{};return Op(Y,(B,O)=>{const e=R(B,oe+1);!Mp(e)&&(he[O]=e)}),y[oe]=void 0,he}}return Y};return R(i,0)},dL=eh("AsyncFunction"),vL=i=>i&&(ry(i)||l0(i))&&l0(i.then)&&l0(i.catch),Fa={isArray:c1,isArrayBuffer:w9,isBuffer:Bk,isFormData:Yk,isArrayBufferView:Ok,isString:_k,isNumber:T9,isBoolean:Nk,isObject:ry,isPlainObject:eg,isUndefined:Mp,isDate:Uk,isFile:Hk,isBlob:Vk,isRegExp:iL,isFunction:l0,isStream:Wk,isURLSearchParams:Zk,isTypedArray:eL,isFileList:Gk,forEach:Op,merge:$x,extend:Xk,trim:jk,stripBOM:$k,inherits:Kk,toFlatObject:Jk,kindOf:ey,kindOfTest:eh,endsWith:Qk,toArray:qk,forEachEntry:tL,matchAll:rL,isHTMLForm:nL,hasOwnProperty:db,hasOwnProp:db,reduceDescriptors:C9,freezeMethods:oL,toObjectSet:sL,toCamelCase:aL,noop:lL,toFiniteNumber:uL,findKey:A9,global:S9,isContextDefined:M9,ALPHABET:E9,generateString:fL,isSpecCompliantForm:cL,toJSONObject:hL,isAsyncFn:dL,isThenable:vL};function Zo(i,y,R,Y,oe){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",y&&(this.code=y),R&&(this.config=R),Y&&(this.request=Y),oe&&(this.response=oe)}Fa.inherits(Zo,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Fa.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const k9=Zo.prototype,L9={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{L9[i]={value:i}});Object.defineProperties(Zo,L9);Object.defineProperty(k9,"isAxiosError",{value:!0});Zo.from=(i,y,R,Y,oe,he)=>{const B=Object.create(k9);return Fa.toFlatObject(i,B,function(e){return e!==Error.prototype},O=>O!=="isAxiosError"),Zo.call(B,i.message,y,R,Y,oe),B.cause=i,B.name=i.name,he&&Object.assign(B,he),B};const pL=null;function Kx(i){return Fa.isPlainObject(i)||Fa.isArray(i)}function P9(i){return Fa.endsWith(i,"[]")?i.slice(0,-2):i}function pb(i,y,R){return i?i.concat(y).map(function(oe,he){return oe=P9(oe),!R&&he?"["+oe+"]":oe}).join(R?".":""):y}function mL(i){return Fa.isArray(i)&&!i.some(Kx)}const gL=Fa.toFlatObject(Fa,{},null,function(y){return/^is[A-Z]/.test(y)});function ny(i,y,R){if(!Fa.isObject(i))throw new TypeError("target must be an object");y=y||new FormData,R=Fa.toFlatObject(R,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,r){return!Fa.isUndefined(r[m])});const Y=R.metaTokens,oe=R.visitor||E,he=R.dots,B=R.indexes,e=(R.Blob||typeof Blob<"u"&&Blob)&&Fa.isSpecCompliantForm(y);if(!Fa.isFunction(oe))throw new TypeError("visitor must be a function");function p(d){if(d===null)return"";if(Fa.isDate(d))return d.toISOString();if(!e&&Fa.isBlob(d))throw new Zo("Blob is not supported. Use a Buffer instead.");return Fa.isArrayBuffer(d)||Fa.isTypedArray(d)?e&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function E(d,m,r){let t=d;if(d&&!r&&typeof d=="object"){if(Fa.endsWith(m,"{}"))m=Y?m:m.slice(0,-2),d=JSON.stringify(d);else if(Fa.isArray(d)&&mL(d)||(Fa.isFileList(d)||Fa.endsWith(m,"[]"))&&(t=Fa.toArray(d)))return m=P9(m),t.forEach(function(n,f){!(Fa.isUndefined(n)||n===null)&&y.append(B===!0?pb([m],f,he):B===null?m:m+"[]",p(n))}),!1}return Kx(d)?!0:(y.append(pb(r,m,he),p(d)),!1)}const a=[],L=Object.assign(gL,{defaultVisitor:E,convertValue:p,isVisitable:Kx});function x(d,m){if(!Fa.isUndefined(d)){if(a.indexOf(d)!==-1)throw Error("Circular reference detected in "+m.join("."));a.push(d),Fa.forEach(d,function(t,s){(!(Fa.isUndefined(t)||t===null)&&oe.call(y,t,Fa.isString(s)?s.trim():s,m,L))===!0&&x(t,m?m.concat(s):[s])}),a.pop()}}if(!Fa.isObject(i))throw new TypeError("data must be an object");return x(i),y}function mb(i){const y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(Y){return y[Y]})}function m4(i,y){this._pairs=[],i&&ny(i,this,y)}const D9=m4.prototype;D9.append=function(y,R){this._pairs.push([y,R])};D9.toString=function(y){const R=y?function(Y){return y.call(this,Y,mb)}:mb;return this._pairs.map(function(oe){return R(oe[0])+"="+R(oe[1])},"").join("&")};function yL(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function R9(i,y,R){if(!y)return i;const Y=R&&R.encode||yL,oe=R&&R.serialize;let he;if(oe?he=oe(y,R):he=Fa.isURLSearchParams(y)?y.toString():new m4(y,R).toString(Y),he){const B=i.indexOf("#");B!==-1&&(i=i.slice(0,B)),i+=(i.indexOf("?")===-1?"?":"&")+he}return i}class xL{constructor(){this.handlers=[]}use(y,R,Y){return this.handlers.push({fulfilled:y,rejected:R,synchronous:Y?Y.synchronous:!1,runWhen:Y?Y.runWhen:null}),this.handlers.length-1}eject(y){this.handlers[y]&&(this.handlers[y]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(y){Fa.forEach(this.handlers,function(Y){Y!==null&&y(Y)})}}const gb=xL,I9={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bL=typeof URLSearchParams<"u"?URLSearchParams:m4,wL=typeof FormData<"u"?FormData:null,TL=typeof Blob<"u"?Blob:null,AL=(()=>{let i;return typeof navigator<"u"&&((i=navigator.product)==="ReactNative"||i==="NativeScript"||i==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),SL=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),X0={isBrowser:!0,classes:{URLSearchParams:bL,FormData:wL,Blob:TL},isStandardBrowserEnv:AL,isStandardBrowserWebWorkerEnv:SL,protocols:["http","https","file","blob","url","data"]};function ML(i,y){return ny(i,new X0.classes.URLSearchParams,Object.assign({visitor:function(R,Y,oe,he){return X0.isNode&&Fa.isBuffer(R)?(this.append(Y,R.toString("base64")),!1):he.defaultVisitor.apply(this,arguments)}},y))}function CL(i){return Fa.matchAll(/\w+|\[(\w*)]/g,i).map(y=>y[0]==="[]"?"":y[1]||y[0])}function EL(i){const y={},R=Object.keys(i);let Y;const oe=R.length;let he;for(Y=0;Y<oe;Y++)he=R[Y],y[he]=i[he];return y}function z9(i){function y(R,Y,oe,he){let B=R[he++];const O=Number.isFinite(+B),e=he>=R.length;return B=!B&&Fa.isArray(oe)?oe.length:B,e?(Fa.hasOwnProp(oe,B)?oe[B]=[oe[B],Y]:oe[B]=Y,!O):((!oe[B]||!Fa.isObject(oe[B]))&&(oe[B]=[]),y(R,Y,oe[B],he)&&Fa.isArray(oe[B])&&(oe[B]=EL(oe[B])),!O)}if(Fa.isFormData(i)&&Fa.isFunction(i.entries)){const R={};return Fa.forEachEntry(i,(Y,oe)=>{y(CL(Y),oe,R,0)}),R}return null}function kL(i,y,R){if(Fa.isString(i))try{return(y||JSON.parse)(i),Fa.trim(i)}catch(Y){if(Y.name!=="SyntaxError")throw Y}return(R||JSON.stringify)(i)}const g4={transitional:I9,adapter:["xhr","http"],transformRequest:[function(y,R){const Y=R.getContentType()||"",oe=Y.indexOf("application/json")>-1,he=Fa.isObject(y);if(he&&Fa.isHTMLForm(y)&&(y=new FormData(y)),Fa.isFormData(y))return oe&&oe?JSON.stringify(z9(y)):y;if(Fa.isArrayBuffer(y)||Fa.isBuffer(y)||Fa.isStream(y)||Fa.isFile(y)||Fa.isBlob(y))return y;if(Fa.isArrayBufferView(y))return y.buffer;if(Fa.isURLSearchParams(y))return R.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),y.toString();let O;if(he){if(Y.indexOf("application/x-www-form-urlencoded")>-1)return ML(y,this.formSerializer).toString();if((O=Fa.isFileList(y))||Y.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ny(O?{"files[]":y}:y,e&&new e,this.formSerializer)}}return he||oe?(R.setContentType("application/json",!1),kL(y)):y}],transformResponse:[function(y){const R=this.transitional||g4.transitional,Y=R&&R.forcedJSONParsing,oe=this.responseType==="json";if(y&&Fa.isString(y)&&(Y&&!this.responseType||oe)){const B=!(R&&R.silentJSONParsing)&&oe;try{return JSON.parse(y)}catch(O){if(B)throw O.name==="SyntaxError"?Zo.from(O,Zo.ERR_BAD_RESPONSE,this,null,this.response):O}}return y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:X0.classes.FormData,Blob:X0.classes.Blob},validateStatus:function(y){return y>=200&&y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Fa.forEach(["delete","get","head","post","put","patch"],i=>{g4.headers[i]={}});const y4=g4,LL=Fa.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),PL=i=>{const y={};let R,Y,oe;return i&&i.split(` -`).forEach(function(B){oe=B.indexOf(":"),R=B.substring(0,oe).trim().toLowerCase(),Y=B.substring(oe+1).trim(),!(!R||y[R]&&LL[R])&&(R==="set-cookie"?y[R]?y[R].push(Y):y[R]=[Y]:y[R]=y[R]?y[R]+", "+Y:Y)}),y},yb=Symbol("internals");function V1(i){return i&&String(i).trim().toLowerCase()}function tg(i){return i===!1||i==null?i:Fa.isArray(i)?i.map(tg):String(i)}function DL(i){const y=Object.create(null),R=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Y;for(;Y=R.exec(i);)y[Y[1]]=Y[2];return y}const RL=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function k2(i,y,R,Y,oe){if(Fa.isFunction(Y))return Y.call(this,y,R);if(oe&&(y=R),!!Fa.isString(y)){if(Fa.isString(Y))return y.indexOf(Y)!==-1;if(Fa.isRegExp(Y))return Y.test(y)}}function IL(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(y,R,Y)=>R.toUpperCase()+Y)}function zL(i,y){const R=Fa.toCamelCase(" "+y);["get","set","has"].forEach(Y=>{Object.defineProperty(i,Y+R,{value:function(oe,he,B){return this[Y].call(this,y,oe,he,B)},configurable:!0})})}class ay{constructor(y){y&&this.set(y)}set(y,R,Y){const oe=this;function he(O,e,p){const E=V1(e);if(!E)throw new Error("header name must be a non-empty string");const a=Fa.findKey(oe,E);(!a||oe[a]===void 0||p===!0||p===void 0&&oe[a]!==!1)&&(oe[a||e]=tg(O))}const B=(O,e)=>Fa.forEach(O,(p,E)=>he(p,E,e));return Fa.isPlainObject(y)||y instanceof this.constructor?B(y,R):Fa.isString(y)&&(y=y.trim())&&!RL(y)?B(PL(y),R):y!=null&&he(R,y,Y),this}get(y,R){if(y=V1(y),y){const Y=Fa.findKey(this,y);if(Y){const oe=this[Y];if(!R)return oe;if(R===!0)return DL(oe);if(Fa.isFunction(R))return R.call(this,oe,Y);if(Fa.isRegExp(R))return R.exec(oe);throw new TypeError("parser must be boolean|regexp|function")}}}has(y,R){if(y=V1(y),y){const Y=Fa.findKey(this,y);return!!(Y&&this[Y]!==void 0&&(!R||k2(this,this[Y],Y,R)))}return!1}delete(y,R){const Y=this;let oe=!1;function he(B){if(B=V1(B),B){const O=Fa.findKey(Y,B);O&&(!R||k2(Y,Y[O],O,R))&&(delete Y[O],oe=!0)}}return Fa.isArray(y)?y.forEach(he):he(y),oe}clear(y){const R=Object.keys(this);let Y=R.length,oe=!1;for(;Y--;){const he=R[Y];(!y||k2(this,this[he],he,y,!0))&&(delete this[he],oe=!0)}return oe}normalize(y){const R=this,Y={};return Fa.forEach(this,(oe,he)=>{const B=Fa.findKey(Y,he);if(B){R[B]=tg(oe),delete R[he];return}const O=y?IL(he):String(he).trim();O!==he&&delete R[he],R[O]=tg(oe),Y[O]=!0}),this}concat(...y){return this.constructor.concat(this,...y)}toJSON(y){const R=Object.create(null);return Fa.forEach(this,(Y,oe)=>{Y!=null&&Y!==!1&&(R[oe]=y&&Fa.isArray(Y)?Y.join(", "):Y)}),R}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([y,R])=>y+": "+R).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(y){return y instanceof this?y:new this(y)}static concat(y,...R){const Y=new this(y);return R.forEach(oe=>Y.set(oe)),Y}static accessor(y){const Y=(this[yb]=this[yb]={accessors:{}}).accessors,oe=this.prototype;function he(B){const O=V1(B);Y[O]||(zL(oe,B),Y[O]=!0)}return Fa.isArray(y)?y.forEach(he):he(y),this}}ay.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Fa.reduceDescriptors(ay.prototype,({value:i},y)=>{let R=y[0].toUpperCase()+y.slice(1);return{get:()=>i,set(Y){this[R]=Y}}});Fa.freezeMethods(ay);const Ah=ay;function L2(i,y){const R=this||y4,Y=y||R,oe=Ah.from(Y.headers);let he=Y.data;return Fa.forEach(i,function(O){he=O.call(R,he,oe.normalize(),y?y.status:void 0)}),oe.normalize(),he}function F9(i){return!!(i&&i.__CANCEL__)}function _p(i,y,R){Zo.call(this,i??"canceled",Zo.ERR_CANCELED,y,R),this.name="CanceledError"}Fa.inherits(_p,Zo,{__CANCEL__:!0});function FL(i,y,R){const Y=R.config.validateStatus;!R.status||!Y||Y(R.status)?i(R):y(new Zo("Request failed with status code "+R.status,[Zo.ERR_BAD_REQUEST,Zo.ERR_BAD_RESPONSE][Math.floor(R.status/100)-4],R.config,R.request,R))}const BL=X0.isStandardBrowserEnv?function(){return{write:function(R,Y,oe,he,B,O){const e=[];e.push(R+"="+encodeURIComponent(Y)),Fa.isNumber(oe)&&e.push("expires="+new Date(oe).toGMTString()),Fa.isString(he)&&e.push("path="+he),Fa.isString(B)&&e.push("domain="+B),O===!0&&e.push("secure"),document.cookie=e.join("; ")},read:function(R){const Y=document.cookie.match(new RegExp("(^|;\\s*)("+R+")=([^;]*)"));return Y?decodeURIComponent(Y[3]):null},remove:function(R){this.write(R,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function OL(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function _L(i,y){return y?i.replace(/\/+$/,"")+"/"+y.replace(/^\/+/,""):i}function B9(i,y){return i&&!OL(y)?_L(i,y):y}const NL=X0.isStandardBrowserEnv?function(){const y=/(msie|trident)/i.test(navigator.userAgent),R=document.createElement("a");let Y;function oe(he){let B=he;return y&&(R.setAttribute("href",B),B=R.href),R.setAttribute("href",B),{href:R.href,protocol:R.protocol?R.protocol.replace(/:$/,""):"",host:R.host,search:R.search?R.search.replace(/^\?/,""):"",hash:R.hash?R.hash.replace(/^#/,""):"",hostname:R.hostname,port:R.port,pathname:R.pathname.charAt(0)==="/"?R.pathname:"/"+R.pathname}}return Y=oe(window.location.href),function(B){const O=Fa.isString(B)?oe(B):B;return O.protocol===Y.protocol&&O.host===Y.host}}():function(){return function(){return!0}}();function UL(i){const y=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return y&&y[1]||""}function HL(i,y){i=i||10;const R=new Array(i),Y=new Array(i);let oe=0,he=0,B;return y=y!==void 0?y:1e3,function(e){const p=Date.now(),E=Y[he];B||(B=p),R[oe]=e,Y[oe]=p;let a=he,L=0;for(;a!==oe;)L+=R[a++],a=a%i;if(oe=(oe+1)%i,oe===he&&(he=(he+1)%i),p-B<y)return;const x=E&&p-E;return x?Math.round(L*1e3/x):void 0}}function xb(i,y){let R=0;const Y=HL(50,250);return oe=>{const he=oe.loaded,B=oe.lengthComputable?oe.total:void 0,O=he-R,e=Y(O),p=he<=B;R=he;const E={loaded:he,total:B,progress:B?he/B:void 0,bytes:O,rate:e||void 0,estimated:e&&B&&p?(B-he)/e:void 0,event:oe};E[y?"download":"upload"]=!0,i(E)}}const VL=typeof XMLHttpRequest<"u",GL=VL&&function(i){return new Promise(function(R,Y){let oe=i.data;const he=Ah.from(i.headers).normalize(),B=i.responseType;let O;function e(){i.cancelToken&&i.cancelToken.unsubscribe(O),i.signal&&i.signal.removeEventListener("abort",O)}let p;Fa.isFormData(oe)&&(X0.isStandardBrowserEnv||X0.isStandardBrowserWebWorkerEnv?he.setContentType(!1):he.getContentType(/^\s*multipart\/form-data/)?Fa.isString(p=he.getContentType())&&he.setContentType(p.replace(/^\s*(multipart\/form-data);+/,"$1")):he.setContentType("multipart/form-data"));let E=new XMLHttpRequest;if(i.auth){const d=i.auth.username||"",m=i.auth.password?unescape(encodeURIComponent(i.auth.password)):"";he.set("Authorization","Basic "+btoa(d+":"+m))}const a=B9(i.baseURL,i.url);E.open(i.method.toUpperCase(),R9(a,i.params,i.paramsSerializer),!0),E.timeout=i.timeout;function L(){if(!E)return;const d=Ah.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),r={data:!B||B==="text"||B==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:d,config:i,request:E};FL(function(s){R(s),e()},function(s){Y(s),e()},r),E=null}if("onloadend"in E?E.onloadend=L:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(L)},E.onabort=function(){E&&(Y(new Zo("Request aborted",Zo.ECONNABORTED,i,E)),E=null)},E.onerror=function(){Y(new Zo("Network Error",Zo.ERR_NETWORK,i,E)),E=null},E.ontimeout=function(){let m=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||I9;i.timeoutErrorMessage&&(m=i.timeoutErrorMessage),Y(new Zo(m,r.clarifyTimeoutError?Zo.ETIMEDOUT:Zo.ECONNABORTED,i,E)),E=null},X0.isStandardBrowserEnv){const d=(i.withCredentials||NL(a))&&i.xsrfCookieName&&BL.read(i.xsrfCookieName);d&&he.set(i.xsrfHeaderName,d)}oe===void 0&&he.setContentType(null),"setRequestHeader"in E&&Fa.forEach(he.toJSON(),function(m,r){E.setRequestHeader(r,m)}),Fa.isUndefined(i.withCredentials)||(E.withCredentials=!!i.withCredentials),B&&B!=="json"&&(E.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&E.addEventListener("progress",xb(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&E.upload&&E.upload.addEventListener("progress",xb(i.onUploadProgress)),(i.cancelToken||i.signal)&&(O=d=>{E&&(Y(!d||d.type?new _p(null,i,E):d),E.abort(),E=null)},i.cancelToken&&i.cancelToken.subscribe(O),i.signal&&(i.signal.aborted?O():i.signal.addEventListener("abort",O)));const x=UL(a);if(x&&X0.protocols.indexOf(x)===-1){Y(new Zo("Unsupported protocol "+x+":",Zo.ERR_BAD_REQUEST,i));return}E.send(oe||null)})},Jx={http:pL,xhr:GL};Fa.forEach(Jx,(i,y)=>{if(i){try{Object.defineProperty(i,"name",{value:y})}catch{}Object.defineProperty(i,"adapterName",{value:y})}});const bb=i=>`- ${i}`,WL=i=>Fa.isFunction(i)||i===null||i===!1,O9={getAdapter:i=>{i=Fa.isArray(i)?i:[i];const{length:y}=i;let R,Y;const oe={};for(let he=0;he<y;he++){R=i[he];let B;if(Y=R,!WL(R)&&(Y=Jx[(B=String(R)).toLowerCase()],Y===void 0))throw new Zo(`Unknown adapter '${B}'`);if(Y)break;oe[B||"#"+he]=Y}if(!Y){const he=Object.entries(oe).map(([O,e])=>`adapter ${O} `+(e===!1?"is not supported by the environment":"is not available in the build"));let B=y?he.length>1?`since : -`+he.map(bb).join(` -`):" "+bb(he[0]):"as no adapter specified";throw new Zo("There is no suitable adapter to dispatch the request "+B,"ERR_NOT_SUPPORT")}return Y},adapters:Jx};function P2(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new _p(null,i)}function wb(i){return P2(i),i.headers=Ah.from(i.headers),i.data=L2.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),O9.getAdapter(i.adapter||y4.adapter)(i).then(function(Y){return P2(i),Y.data=L2.call(i,i.transformResponse,Y),Y.headers=Ah.from(Y.headers),Y},function(Y){return F9(Y)||(P2(i),Y&&Y.response&&(Y.response.data=L2.call(i,i.transformResponse,Y.response),Y.response.headers=Ah.from(Y.response.headers))),Promise.reject(Y)})}const Tb=i=>i instanceof Ah?i.toJSON():i;function i1(i,y){y=y||{};const R={};function Y(p,E,a){return Fa.isPlainObject(p)&&Fa.isPlainObject(E)?Fa.merge.call({caseless:a},p,E):Fa.isPlainObject(E)?Fa.merge({},E):Fa.isArray(E)?E.slice():E}function oe(p,E,a){if(Fa.isUndefined(E)){if(!Fa.isUndefined(p))return Y(void 0,p,a)}else return Y(p,E,a)}function he(p,E){if(!Fa.isUndefined(E))return Y(void 0,E)}function B(p,E){if(Fa.isUndefined(E)){if(!Fa.isUndefined(p))return Y(void 0,p)}else return Y(void 0,E)}function O(p,E,a){if(a in y)return Y(p,E);if(a in i)return Y(void 0,p)}const e={url:he,method:he,data:he,baseURL:B,transformRequest:B,transformResponse:B,paramsSerializer:B,timeout:B,timeoutMessage:B,withCredentials:B,adapter:B,responseType:B,xsrfCookieName:B,xsrfHeaderName:B,onUploadProgress:B,onDownloadProgress:B,decompress:B,maxContentLength:B,maxBodyLength:B,beforeRedirect:B,transport:B,httpAgent:B,httpsAgent:B,cancelToken:B,socketPath:B,responseEncoding:B,validateStatus:O,headers:(p,E)=>oe(Tb(p),Tb(E),!0)};return Fa.forEach(Object.keys(Object.assign({},i,y)),function(E){const a=e[E]||oe,L=a(i[E],y[E],E);Fa.isUndefined(L)&&a!==O||(R[E]=L)}),R}const _9="1.5.1",x4={};["object","boolean","number","function","string","symbol"].forEach((i,y)=>{x4[i]=function(Y){return typeof Y===i||"a"+(y<1?"n ":" ")+i}});const Ab={};x4.transitional=function(y,R,Y){function oe(he,B){return"[Axios v"+_9+"] Transitional option '"+he+"'"+B+(Y?". "+Y:"")}return(he,B,O)=>{if(y===!1)throw new Zo(oe(B," has been removed"+(R?" in "+R:"")),Zo.ERR_DEPRECATED);return R&&!Ab[B]&&(Ab[B]=!0,console.warn(oe(B," has been deprecated since v"+R+" and will be removed in the near future"))),y?y(he,B,O):!0}};function YL(i,y,R){if(typeof i!="object")throw new Zo("options must be an object",Zo.ERR_BAD_OPTION_VALUE);const Y=Object.keys(i);let oe=Y.length;for(;oe-- >0;){const he=Y[oe],B=y[he];if(B){const O=i[he],e=O===void 0||B(O,he,i);if(e!==!0)throw new Zo("option "+he+" must be "+e,Zo.ERR_BAD_OPTION_VALUE);continue}if(R!==!0)throw new Zo("Unknown option "+he,Zo.ERR_BAD_OPTION)}}const Qx={assertOptions:YL,validators:x4},Jh=Qx.validators;class Dg{constructor(y){this.defaults=y,this.interceptors={request:new gb,response:new gb}}request(y,R){typeof y=="string"?(R=R||{},R.url=y):R=y||{},R=i1(this.defaults,R);const{transitional:Y,paramsSerializer:oe,headers:he}=R;Y!==void 0&&Qx.assertOptions(Y,{silentJSONParsing:Jh.transitional(Jh.boolean),forcedJSONParsing:Jh.transitional(Jh.boolean),clarifyTimeoutError:Jh.transitional(Jh.boolean)},!1),oe!=null&&(Fa.isFunction(oe)?R.paramsSerializer={serialize:oe}:Qx.assertOptions(oe,{encode:Jh.function,serialize:Jh.function},!0)),R.method=(R.method||this.defaults.method||"get").toLowerCase();let B=he&&Fa.merge(he.common,he[R.method]);he&&Fa.forEach(["delete","get","head","post","put","patch","common"],d=>{delete he[d]}),R.headers=Ah.concat(B,he);const O=[];let e=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(R)===!1||(e=e&&m.synchronous,O.unshift(m.fulfilled,m.rejected))});const p=[];this.interceptors.response.forEach(function(m){p.push(m.fulfilled,m.rejected)});let E,a=0,L;if(!e){const d=[wb.bind(this),void 0];for(d.unshift.apply(d,O),d.push.apply(d,p),L=d.length,E=Promise.resolve(R);a<L;)E=E.then(d[a++],d[a++]);return E}L=O.length;let x=R;for(a=0;a<L;){const d=O[a++],m=O[a++];try{x=d(x)}catch(r){m.call(this,r);break}}try{E=wb.call(this,x)}catch(d){return Promise.reject(d)}for(a=0,L=p.length;a<L;)E=E.then(p[a++],p[a++]);return E}getUri(y){y=i1(this.defaults,y);const R=B9(y.baseURL,y.url);return R9(R,y.params,y.paramsSerializer)}}Fa.forEach(["delete","get","head","options"],function(y){Dg.prototype[y]=function(R,Y){return this.request(i1(Y||{},{method:y,url:R,data:(Y||{}).data}))}});Fa.forEach(["post","put","patch"],function(y){function R(Y){return function(he,B,O){return this.request(i1(O||{},{method:y,headers:Y?{"Content-Type":"multipart/form-data"}:{},url:he,data:B}))}}Dg.prototype[y]=R(),Dg.prototype[y+"Form"]=R(!0)});const rg=Dg;class b4{constructor(y){if(typeof y!="function")throw new TypeError("executor must be a function.");let R;this.promise=new Promise(function(he){R=he});const Y=this;this.promise.then(oe=>{if(!Y._listeners)return;let he=Y._listeners.length;for(;he-- >0;)Y._listeners[he](oe);Y._listeners=null}),this.promise.then=oe=>{let he;const B=new Promise(O=>{Y.subscribe(O),he=O}).then(oe);return B.cancel=function(){Y.unsubscribe(he)},B},y(function(he,B,O){Y.reason||(Y.reason=new _p(he,B,O),R(Y.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(y){if(this.reason){y(this.reason);return}this._listeners?this._listeners.push(y):this._listeners=[y]}unsubscribe(y){if(!this._listeners)return;const R=this._listeners.indexOf(y);R!==-1&&this._listeners.splice(R,1)}static source(){let y;return{token:new b4(function(oe){y=oe}),cancel:y}}}const ZL=b4;function jL(i){return function(R){return i.apply(null,R)}}function XL(i){return Fa.isObject(i)&&i.isAxiosError===!0}const qx={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qx).forEach(([i,y])=>{qx[y]=i});const $L=qx;function N9(i){const y=new rg(i),R=b9(rg.prototype.request,y);return Fa.extend(R,rg.prototype,y,{allOwnKeys:!0}),Fa.extend(R,y,null,{allOwnKeys:!0}),R.create=function(oe){return N9(i1(i,oe))},R}const tu=N9(y4);tu.Axios=rg;tu.CanceledError=_p;tu.CancelToken=ZL;tu.isCancel=F9;tu.VERSION=_9;tu.toFormData=ny;tu.AxiosError=Zo;tu.Cancel=tu.CanceledError;tu.all=function(y){return Promise.all(y)};tu.spread=jL;tu.isAxiosError=XL;tu.mergeConfig=i1;tu.AxiosHeaders=Ah;tu.formToJSON=i=>z9(Fa.isHTMLForm(i)?new FormData(i):i);tu.getAdapter=O9.getAdapter;tu.HttpStatusCode=$L;tu.default=tu;const U9=tu,Sb=["http","https","mailto","tel"];function KL(i){const y=(i||"").trim(),R=y.charAt(0);if(R==="#"||R==="/")return y;const Y=y.indexOf(":");if(Y===-1)return y;let oe=-1;for(;++oe<Sb.length;){const he=Sb[oe];if(Y===he.length&&y.slice(0,he.length).toLowerCase()===he)return y}return oe=y.indexOf("?"),oe!==-1&&Y>oe||(oe=y.indexOf("#"),oe!==-1&&Y>oe)?y:"javascript:void(0)"}/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh <https://feross.org> - * @license MIT - */var JL=function(y){return y!=null&&y.constructor!=null&&typeof y.constructor.isBuffer=="function"&&y.constructor.isBuffer(y)};const H9=Jd(JL);function ap(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?Mb(i.position):"start"in i||"end"in i?Mb(i):"line"in i||"column"in i?e3(i):""}function e3(i){return Cb(i&&i.line)+":"+Cb(i&&i.column)}function Mb(i){return e3(i&&i.start)+"-"+e3(i&&i.end)}function Cb(i){return i&&typeof i=="number"?i:1}class d0 extends Error{constructor(y,R,Y){const oe=[null,null];let he={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof R=="string"&&(Y=R,R=void 0),typeof Y=="string"){const B=Y.indexOf(":");B===-1?oe[1]=Y:(oe[0]=Y.slice(0,B),oe[1]=Y.slice(B+1))}R&&("type"in R||"position"in R?R.position&&(he=R.position):"start"in R||"end"in R?he=R:("line"in R||"column"in R)&&(he.start=R)),this.name=ap(R)||"1:1",this.message=typeof y=="object"?y.message:y,this.stack="",typeof y=="object"&&y.stack&&(this.stack=y.stack),this.reason=this.message,this.fatal,this.line=he.start.line,this.column=he.start.column,this.position=he,this.source=oe[0],this.ruleId=oe[1],this.file,this.actual,this.expected,this.url,this.note}}d0.prototype.file="";d0.prototype.name="";d0.prototype.reason="";d0.prototype.message="";d0.prototype.stack="";d0.prototype.fatal=null;d0.prototype.column=null;d0.prototype.line=null;d0.prototype.source=null;d0.prototype.ruleId=null;d0.prototype.position=null;const W0={basename:QL,dirname:qL,extname:eP,join:tP,sep:"/"};function QL(i,y){if(y!==void 0&&typeof y!="string")throw new TypeError('"ext" argument must be a string');Np(i);let R=0,Y=-1,oe=i.length,he;if(y===void 0||y.length===0||y.length>i.length){for(;oe--;)if(i.charCodeAt(oe)===47){if(he){R=oe+1;break}}else Y<0&&(he=!0,Y=oe+1);return Y<0?"":i.slice(R,Y)}if(y===i)return"";let B=-1,O=y.length-1;for(;oe--;)if(i.charCodeAt(oe)===47){if(he){R=oe+1;break}}else B<0&&(he=!0,B=oe+1),O>-1&&(i.charCodeAt(oe)===y.charCodeAt(O--)?O<0&&(Y=oe):(O=-1,Y=B));return R===Y?Y=B:Y<0&&(Y=i.length),i.slice(R,Y)}function qL(i){if(Np(i),i.length===0)return".";let y=-1,R=i.length,Y;for(;--R;)if(i.charCodeAt(R)===47){if(Y){y=R;break}}else Y||(Y=!0);return y<0?i.charCodeAt(0)===47?"/":".":y===1&&i.charCodeAt(0)===47?"//":i.slice(0,y)}function eP(i){Np(i);let y=i.length,R=-1,Y=0,oe=-1,he=0,B;for(;y--;){const O=i.charCodeAt(y);if(O===47){if(B){Y=y+1;break}continue}R<0&&(B=!0,R=y+1),O===46?oe<0?oe=y:he!==1&&(he=1):oe>-1&&(he=-1)}return oe<0||R<0||he===0||he===1&&oe===R-1&&oe===Y+1?"":i.slice(oe,R)}function tP(...i){let y=-1,R;for(;++y<i.length;)Np(i[y]),i[y]&&(R=R===void 0?i[y]:R+"/"+i[y]);return R===void 0?".":rP(R)}function rP(i){Np(i);const y=i.charCodeAt(0)===47;let R=nP(i,!y);return R.length===0&&!y&&(R="."),R.length>0&&i.charCodeAt(i.length-1)===47&&(R+="/"),y?"/"+R:R}function nP(i,y){let R="",Y=0,oe=-1,he=0,B=-1,O,e;for(;++B<=i.length;){if(B<i.length)O=i.charCodeAt(B);else{if(O===47)break;O=47}if(O===47){if(!(oe===B-1||he===1))if(oe!==B-1&&he===2){if(R.length<2||Y!==2||R.charCodeAt(R.length-1)!==46||R.charCodeAt(R.length-2)!==46){if(R.length>2){if(e=R.lastIndexOf("/"),e!==R.length-1){e<0?(R="",Y=0):(R=R.slice(0,e),Y=R.length-1-R.lastIndexOf("/")),oe=B,he=0;continue}}else if(R.length>0){R="",Y=0,oe=B,he=0;continue}}y&&(R=R.length>0?R+"/..":"..",Y=2)}else R.length>0?R+="/"+i.slice(oe+1,B):R=i.slice(oe+1,B),Y=B-oe-1;oe=B,he=0}else O===46&&he>-1?he++:he=-1}return R}function Np(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}const aP={cwd:iP};function iP(){return"/"}function t3(i){return i!==null&&typeof i=="object"&&i.href&&i.origin}function oP(i){if(typeof i=="string")i=new URL(i);else if(!t3(i)){const y=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw y.code="ERR_INVALID_ARG_TYPE",y}if(i.protocol!=="file:"){const y=new TypeError("The URL must be of scheme file");throw y.code="ERR_INVALID_URL_SCHEME",y}return sP(i)}function sP(i){if(i.hostname!==""){const Y=new TypeError('File URL host must be "localhost" or empty on darwin');throw Y.code="ERR_INVALID_FILE_URL_HOST",Y}const y=i.pathname;let R=-1;for(;++R<y.length;)if(y.charCodeAt(R)===37&&y.charCodeAt(R+1)===50){const Y=y.charCodeAt(R+2);if(Y===70||Y===102){const oe=new TypeError("File URL path must not include encoded / characters");throw oe.code="ERR_INVALID_FILE_URL_PATH",oe}}return decodeURIComponent(y)}const D2=["history","path","basename","stem","extname","dirname"];class V9{constructor(y){let R;y?typeof y=="string"||lP(y)?R={value:y}:t3(y)?R={path:y}:R=y:R={},this.data={},this.messages=[],this.history=[],this.cwd=aP.cwd(),this.value,this.stored,this.result,this.map;let Y=-1;for(;++Y<D2.length;){const he=D2[Y];he in R&&R[he]!==void 0&&R[he]!==null&&(this[he]=he==="history"?[...R[he]]:R[he])}let oe;for(oe in R)D2.includes(oe)||(this[oe]=R[oe])}get path(){return this.history[this.history.length-1]}set path(y){t3(y)&&(y=oP(y)),I2(y,"path"),this.path!==y&&this.history.push(y)}get dirname(){return typeof this.path=="string"?W0.dirname(this.path):void 0}set dirname(y){Eb(this.basename,"dirname"),this.path=W0.join(y||"",this.basename)}get basename(){return typeof this.path=="string"?W0.basename(this.path):void 0}set basename(y){I2(y,"basename"),R2(y,"basename"),this.path=W0.join(this.dirname||"",y)}get extname(){return typeof this.path=="string"?W0.extname(this.path):void 0}set extname(y){if(R2(y,"extname"),Eb(this.dirname,"extname"),y){if(y.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(y.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=W0.join(this.dirname,this.stem+(y||""))}get stem(){return typeof this.path=="string"?W0.basename(this.path,this.extname):void 0}set stem(y){I2(y,"stem"),R2(y,"stem"),this.path=W0.join(this.dirname||"",y+(this.extname||""))}toString(y){return(this.value||"").toString(y||void 0)}message(y,R,Y){const oe=new d0(y,R,Y);return this.path&&(oe.name=this.path+":"+oe.name,oe.file=this.path),oe.fatal=!1,this.messages.push(oe),oe}info(y,R,Y){const oe=this.message(y,R,Y);return oe.fatal=null,oe}fail(y,R,Y){const oe=this.message(y,R,Y);throw oe.fatal=!0,oe}}function R2(i,y){if(i&&i.includes(W0.sep))throw new Error("`"+y+"` cannot be a path: did not expect `"+W0.sep+"`")}function I2(i,y){if(!i)throw new Error("`"+y+"` cannot be empty")}function Eb(i,y){if(!i)throw new Error("Setting `"+y+"` requires `path` to be set too")}function lP(i){return H9(i)}function kb(i){if(i)throw i}var ng=Object.prototype.hasOwnProperty,G9=Object.prototype.toString,Lb=Object.defineProperty,Pb=Object.getOwnPropertyDescriptor,Db=function(y){return typeof Array.isArray=="function"?Array.isArray(y):G9.call(y)==="[object Array]"},Rb=function(y){if(!y||G9.call(y)!=="[object Object]")return!1;var R=ng.call(y,"constructor"),Y=y.constructor&&y.constructor.prototype&&ng.call(y.constructor.prototype,"isPrototypeOf");if(y.constructor&&!R&&!Y)return!1;var oe;for(oe in y);return typeof oe>"u"||ng.call(y,oe)},Ib=function(y,R){Lb&&R.name==="__proto__"?Lb(y,R.name,{enumerable:!0,configurable:!0,value:R.newValue,writable:!0}):y[R.name]=R.newValue},zb=function(y,R){if(R==="__proto__")if(ng.call(y,R)){if(Pb)return Pb(y,R).value}else return;return y[R]},uP=function i(){var y,R,Y,oe,he,B,O=arguments[0],e=1,p=arguments.length,E=!1;for(typeof O=="boolean"&&(E=O,O=arguments[1]||{},e=2),(O==null||typeof O!="object"&&typeof O!="function")&&(O={});e<p;++e)if(y=arguments[e],y!=null)for(R in y)Y=zb(O,R),oe=zb(y,R),O!==oe&&(E&&oe&&(Rb(oe)||(he=Db(oe)))?(he?(he=!1,B=Y&&Db(Y)?Y:[]):B=Y&&Rb(Y)?Y:{},Ib(O,{name:R,newValue:i(E,B,oe)})):typeof oe<"u"&&Ib(O,{name:R,newValue:oe}));return O};const Fb=Jd(uP);function r3(i){if(typeof i!="object"||i===null)return!1;const y=Object.getPrototypeOf(i);return(y===null||y===Object.prototype||Object.getPrototypeOf(y)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)}function fP(){const i=[],y={run:R,use:Y};return y;function R(...oe){let he=-1;const B=oe.pop();if(typeof B!="function")throw new TypeError("Expected function as last argument, not "+B);O(null,...oe);function O(e,...p){const E=i[++he];let a=-1;if(e){B(e);return}for(;++a<oe.length;)(p[a]===null||p[a]===void 0)&&(p[a]=oe[a]);oe=p,E?cP(E,O)(...p):B(null,...p)}}function Y(oe){if(typeof oe!="function")throw new TypeError("Expected `middelware` to be a function, not "+oe);return i.push(oe),y}}function cP(i,y){let R;return Y;function Y(...B){const O=i.length>B.length;let e;O&&B.push(oe);try{e=i.apply(this,B)}catch(p){const E=p;if(O&&R)throw E;return oe(E)}O||(e instanceof Promise?e.then(he,oe):e instanceof Error?oe(e):he(e))}function oe(B,...O){R||(R=!0,y(B,...O))}function he(B){oe(null,B)}}const hP=Y9().freeze(),W9={}.hasOwnProperty;function Y9(){const i=fP(),y=[];let R={},Y,oe=-1;return he.data=B,he.Parser=void 0,he.Compiler=void 0,he.freeze=O,he.attachers=y,he.use=e,he.parse=p,he.stringify=E,he.run=a,he.runSync=L,he.process=x,he.processSync=d,he;function he(){const m=Y9();let r=-1;for(;++r<y.length;)m.use(...y[r]);return m.data(Fb(!0,{},R)),m}function B(m,r){return typeof m=="string"?arguments.length===2?(B2("data",Y),R[m]=r,he):W9.call(R,m)&&R[m]||null:m?(B2("data",Y),R=m,he):R}function O(){if(Y)return he;for(;++oe<y.length;){const[m,...r]=y[oe];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const t=m.call(he,...r);typeof t=="function"&&i.use(t)}return Y=!0,oe=Number.POSITIVE_INFINITY,he}function e(m,...r){let t;if(B2("use",Y),m!=null)if(typeof m=="function")c(m,...r);else if(typeof m=="object")Array.isArray(m)?f(m):n(m);else throw new TypeError("Expected usable value, not `"+m+"`");return t&&(R.settings=Object.assign(R.settings||{},t)),he;function s(u){if(typeof u=="function")c(u);else if(typeof u=="object")if(Array.isArray(u)){const[b,...h]=u;c(b,...h)}else n(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function n(u){f(u.plugins),u.settings&&(t=Object.assign(t||{},u.settings))}function f(u){let b=-1;if(u!=null)if(Array.isArray(u))for(;++b<u.length;){const h=u[b];s(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,b){let h=-1,S;for(;++h<y.length;)if(y[h][0]===u){S=y[h];break}S?(r3(S[1])&&r3(b)&&(b=Fb(!0,S[1],b)),S[1]=b):y.push([...arguments])}}function p(m){he.freeze();const r=G1(m),t=he.Parser;return z2("parse",t),Bb(t,"parse")?new t(String(r),r).parse():t(String(r),r)}function E(m,r){he.freeze();const t=G1(r),s=he.Compiler;return F2("stringify",s),Ob(m),Bb(s,"compile")?new s(m,t).compile():s(m,t)}function a(m,r,t){if(Ob(m),he.freeze(),!t&&typeof r=="function"&&(t=r,r=void 0),!t)return new Promise(s);s(null,t);function s(n,f){i.run(m,G1(r),c);function c(u,b,h){b=b||m,u?f(u):n?n(b):t(null,b,h)}}}function L(m,r){let t,s;return he.run(m,r,n),_b("runSync","run",s),t;function n(f,c){kb(f),t=c,s=!0}}function x(m,r){if(he.freeze(),z2("process",he.Parser),F2("process",he.Compiler),!r)return new Promise(t);t(null,r);function t(s,n){const f=G1(m);he.run(he.parse(f),f,(u,b,h)=>{if(u||!b||!h)c(u);else{const S=he.stringify(b,h);S==null||(pP(S)?h.value=S:h.result=S),c(u,h)}});function c(u,b){u||!b?n(u):s?s(b):r(null,b)}}}function d(m){let r;he.freeze(),z2("processSync",he.Parser),F2("processSync",he.Compiler);const t=G1(m);return he.process(t,s),_b("processSync","process",r),t;function s(n){r=!0,kb(n)}}}function Bb(i,y){return typeof i=="function"&&i.prototype&&(dP(i.prototype)||y in i.prototype)}function dP(i){let y;for(y in i)if(W9.call(i,y))return!0;return!1}function z2(i,y){if(typeof y!="function")throw new TypeError("Cannot `"+i+"` without `Parser`")}function F2(i,y){if(typeof y!="function")throw new TypeError("Cannot `"+i+"` without `Compiler`")}function B2(i,y){if(y)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ob(i){if(!r3(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function _b(i,y,R){if(!R)throw new Error("`"+i+"` finished async. Use `"+y+"` instead")}function G1(i){return vP(i)?i:new V9(i)}function vP(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function pP(i){return typeof i=="string"||H9(i)}const mP={};function gP(i,y){const R=y||mP,Y=typeof R.includeImageAlt=="boolean"?R.includeImageAlt:!0,oe=typeof R.includeHtml=="boolean"?R.includeHtml:!0;return Z9(i,Y,oe)}function Z9(i,y,R){if(yP(i)){if("value"in i)return i.type==="html"&&!R?"":i.value;if(y&&"alt"in i&&i.alt)return i.alt;if("children"in i)return Nb(i.children,y,R)}return Array.isArray(i)?Nb(i,y,R):""}function Nb(i,y,R){const Y=[];let oe=-1;for(;++oe<i.length;)Y[oe]=Z9(i[oe],y,R);return Y.join("")}function yP(i){return!!(i&&typeof i=="object")}function q0(i,y,R,Y){const oe=i.length;let he=0,B;if(y<0?y=-y>oe?0:oe+y:y=y>oe?oe:y,R=R>0?R:0,Y.length<1e4)B=Array.from(Y),B.unshift(y,R),i.splice(...B);else for(R&&i.splice(y,R);he<Y.length;)B=Y.slice(he,he+1e4),B.unshift(y,0),i.splice(...B),he+=1e4,y+=1e4}function n0(i,y){return i.length>0?(q0(i,i.length,0,y),i):y}const Ub={}.hasOwnProperty;function xP(i){const y={};let R=-1;for(;++R<i.length;)bP(y,i[R]);return y}function bP(i,y){let R;for(R in y){const oe=(Ub.call(i,R)?i[R]:void 0)||(i[R]={}),he=y[R];let B;if(he)for(B in he){Ub.call(oe,B)||(oe[B]=[]);const O=he[B];wP(oe[B],Array.isArray(O)?O:O?[O]:[])}}}function wP(i,y){let R=-1;const Y=[];for(;++R<y.length;)(y[R].add==="after"?i:Y).push(y[R]);q0(i,0,0,Y)}const TP=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,j0=Sd(/[A-Za-z]/),Bc=Sd(/[\dA-Za-z]/),AP=Sd(/[#-'*+\--9=?A-Z^-~]/);function n3(i){return i!==null&&(i<32||i===127)}const a3=Sd(/\d/),SP=Sd(/[\dA-Fa-f]/),MP=Sd(/[!-/:-@[-`{-~]/);function Gi(i){return i!==null&&i<-2}function gc(i){return i!==null&&(i<0||i===32)}function ls(i){return i===-2||i===-1||i===32}const CP=Sd(TP),EP=Sd(/\s/);function Sd(i){return y;function y(R){return R!==null&&i.test(String.fromCharCode(R))}}function cs(i,y,R,Y){const oe=Y?Y-1:Number.POSITIVE_INFINITY;let he=0;return B;function B(e){return ls(e)?(i.enter(R),O(e)):y(e)}function O(e){return ls(e)&&he++<oe?(i.consume(e),O):(i.exit(R),y(e))}}const kP={tokenize:LP};function LP(i){const y=i.attempt(this.parser.constructs.contentInitial,Y,oe);let R;return y;function Y(O){if(O===null){i.consume(O);return}return i.enter("lineEnding"),i.consume(O),i.exit("lineEnding"),cs(i,y,"linePrefix")}function oe(O){return i.enter("paragraph"),he(O)}function he(O){const e=i.enter("chunkText",{contentType:"text",previous:R});return R&&(R.next=e),R=e,B(O)}function B(O){if(O===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(O);return}return Gi(O)?(i.consume(O),i.exit("chunkText"),he):(i.consume(O),B)}}const PP={tokenize:DP},Hb={tokenize:RP};function DP(i){const y=this,R=[];let Y=0,oe,he,B;return O;function O(n){if(Y<R.length){const f=R[Y];return y.containerState=f[1],i.attempt(f[0].continuation,e,p)(n)}return p(n)}function e(n){if(Y++,y.containerState._closeFlow){y.containerState._closeFlow=void 0,oe&&s();const f=y.events.length;let c=f,u;for(;c--;)if(y.events[c][0]==="exit"&&y.events[c][1].type==="chunkFlow"){u=y.events[c][1].end;break}t(Y);let b=f;for(;b<y.events.length;)y.events[b][1].end=Object.assign({},u),b++;return q0(y.events,c+1,0,y.events.slice(f)),y.events.length=b,p(n)}return O(n)}function p(n){if(Y===R.length){if(!oe)return L(n);if(oe.currentConstruct&&oe.currentConstruct.concrete)return d(n);y.interrupt=!!(oe.currentConstruct&&!oe._gfmTableDynamicInterruptHack)}return y.containerState={},i.check(Hb,E,a)(n)}function E(n){return oe&&s(),t(Y),L(n)}function a(n){return y.parser.lazy[y.now().line]=Y!==R.length,B=y.now().offset,d(n)}function L(n){return y.containerState={},i.attempt(Hb,x,d)(n)}function x(n){return Y++,R.push([y.currentConstruct,y.containerState]),L(n)}function d(n){if(n===null){oe&&s(),t(0),i.consume(n);return}return oe=oe||y.parser.flow(y.now()),i.enter("chunkFlow",{contentType:"flow",previous:he,_tokenizer:oe}),m(n)}function m(n){if(n===null){r(i.exit("chunkFlow"),!0),t(0),i.consume(n);return}return Gi(n)?(i.consume(n),r(i.exit("chunkFlow")),Y=0,y.interrupt=void 0,O):(i.consume(n),m)}function r(n,f){const c=y.sliceStream(n);if(f&&c.push(null),n.previous=he,he&&(he.next=n),he=n,oe.defineSkip(n.start),oe.write(c),y.parser.lazy[n.start.line]){let u=oe.events.length;for(;u--;)if(oe.events[u][1].start.offset<B&&(!oe.events[u][1].end||oe.events[u][1].end.offset>B))return;const b=y.events.length;let h=b,S,v;for(;h--;)if(y.events[h][0]==="exit"&&y.events[h][1].type==="chunkFlow"){if(S){v=y.events[h][1].end;break}S=!0}for(t(Y),u=b;u<y.events.length;)y.events[u][1].end=Object.assign({},v),u++;q0(y.events,h+1,0,y.events.slice(b)),y.events.length=u}}function t(n){let f=R.length;for(;f-- >n;){const c=R[f];y.containerState=c[1],c[0].exit.call(y,i)}R.length=n}function s(){oe.write([null]),he=void 0,oe=void 0,y.containerState._closeFlow=void 0}}function RP(i,y,R){return cs(i,i.attempt(this.parser.constructs.document,y,R),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Vb(i){if(i===null||gc(i)||EP(i))return 1;if(CP(i))return 2}function w4(i,y,R){const Y=[];let oe=-1;for(;++oe<i.length;){const he=i[oe].resolveAll;he&&!Y.includes(he)&&(y=he(y,R),Y.push(he))}return y}const i3={name:"attention",tokenize:zP,resolveAll:IP};function IP(i,y){let R=-1,Y,oe,he,B,O,e,p,E;for(;++R<i.length;)if(i[R][0]==="enter"&&i[R][1].type==="attentionSequence"&&i[R][1]._close){for(Y=R;Y--;)if(i[Y][0]==="exit"&&i[Y][1].type==="attentionSequence"&&i[Y][1]._open&&y.sliceSerialize(i[Y][1]).charCodeAt(0)===y.sliceSerialize(i[R][1]).charCodeAt(0)){if((i[Y][1]._close||i[R][1]._open)&&(i[R][1].end.offset-i[R][1].start.offset)%3&&!((i[Y][1].end.offset-i[Y][1].start.offset+i[R][1].end.offset-i[R][1].start.offset)%3))continue;e=i[Y][1].end.offset-i[Y][1].start.offset>1&&i[R][1].end.offset-i[R][1].start.offset>1?2:1;const a=Object.assign({},i[Y][1].end),L=Object.assign({},i[R][1].start);Gb(a,-e),Gb(L,e),B={type:e>1?"strongSequence":"emphasisSequence",start:a,end:Object.assign({},i[Y][1].end)},O={type:e>1?"strongSequence":"emphasisSequence",start:Object.assign({},i[R][1].start),end:L},he={type:e>1?"strongText":"emphasisText",start:Object.assign({},i[Y][1].end),end:Object.assign({},i[R][1].start)},oe={type:e>1?"strong":"emphasis",start:Object.assign({},B.start),end:Object.assign({},O.end)},i[Y][1].end=Object.assign({},B.start),i[R][1].start=Object.assign({},O.end),p=[],i[Y][1].end.offset-i[Y][1].start.offset&&(p=n0(p,[["enter",i[Y][1],y],["exit",i[Y][1],y]])),p=n0(p,[["enter",oe,y],["enter",B,y],["exit",B,y],["enter",he,y]]),p=n0(p,w4(y.parser.constructs.insideSpan.null,i.slice(Y+1,R),y)),p=n0(p,[["exit",he,y],["enter",O,y],["exit",O,y],["exit",oe,y]]),i[R][1].end.offset-i[R][1].start.offset?(E=2,p=n0(p,[["enter",i[R][1],y],["exit",i[R][1],y]])):E=0,q0(i,Y-1,R-Y+3,p),R=Y+p.length-E-2;break}}for(R=-1;++R<i.length;)i[R][1].type==="attentionSequence"&&(i[R][1].type="data");return i}function zP(i,y){const R=this.parser.constructs.attentionMarkers.null,Y=this.previous,oe=Vb(Y);let he;return B;function B(e){return he=e,i.enter("attentionSequence"),O(e)}function O(e){if(e===he)return i.consume(e),O;const p=i.exit("attentionSequence"),E=Vb(e),a=!E||E===2&&oe||R.includes(e),L=!oe||oe===2&&E||R.includes(Y);return p._open=!!(he===42?a:a&&(oe||!L)),p._close=!!(he===42?L:L&&(E||!a)),y(e)}}function Gb(i,y){i.column+=y,i.offset+=y,i._bufferIndex+=y}const FP={name:"autolink",tokenize:BP};function BP(i,y,R){let Y=0;return oe;function oe(x){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(x),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),he}function he(x){return j0(x)?(i.consume(x),B):p(x)}function B(x){return x===43||x===45||x===46||Bc(x)?(Y=1,O(x)):p(x)}function O(x){return x===58?(i.consume(x),Y=0,e):(x===43||x===45||x===46||Bc(x))&&Y++<32?(i.consume(x),O):(Y=0,p(x))}function e(x){return x===62?(i.exit("autolinkProtocol"),i.enter("autolinkMarker"),i.consume(x),i.exit("autolinkMarker"),i.exit("autolink"),y):x===null||x===32||x===60||n3(x)?R(x):(i.consume(x),e)}function p(x){return x===64?(i.consume(x),E):AP(x)?(i.consume(x),p):R(x)}function E(x){return Bc(x)?a(x):R(x)}function a(x){return x===46?(i.consume(x),Y=0,E):x===62?(i.exit("autolinkProtocol").type="autolinkEmail",i.enter("autolinkMarker"),i.consume(x),i.exit("autolinkMarker"),i.exit("autolink"),y):L(x)}function L(x){if((x===45||Bc(x))&&Y++<63){const d=x===45?L:a;return i.consume(x),d}return R(x)}}const iy={tokenize:OP,partial:!0};function OP(i,y,R){return Y;function Y(he){return ls(he)?cs(i,oe,"linePrefix")(he):oe(he)}function oe(he){return he===null||Gi(he)?y(he):R(he)}}const j9={name:"blockQuote",tokenize:_P,continuation:{tokenize:NP},exit:UP};function _P(i,y,R){const Y=this;return oe;function oe(B){if(B===62){const O=Y.containerState;return O.open||(i.enter("blockQuote",{_container:!0}),O.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(B),i.exit("blockQuoteMarker"),he}return R(B)}function he(B){return ls(B)?(i.enter("blockQuotePrefixWhitespace"),i.consume(B),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),y):(i.exit("blockQuotePrefix"),y(B))}}function NP(i,y,R){const Y=this;return oe;function oe(B){return ls(B)?cs(i,he,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):he(B)}function he(B){return i.attempt(j9,y,R)(B)}}function UP(i){i.exit("blockQuote")}const X9={name:"characterEscape",tokenize:HP};function HP(i,y,R){return Y;function Y(he){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(he),i.exit("escapeMarker"),oe}function oe(he){return MP(he)?(i.enter("characterEscapeValue"),i.consume(he),i.exit("characterEscapeValue"),i.exit("characterEscape"),y):R(he)}}const Wb=document.createElement("i");function T4(i){const y="&"+i+";";Wb.innerHTML=y;const R=Wb.textContent;return R.charCodeAt(R.length-1)===59&&i!=="semi"||R===y?!1:R}const $9={name:"characterReference",tokenize:VP};function VP(i,y,R){const Y=this;let oe=0,he,B;return O;function O(a){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(a),i.exit("characterReferenceMarker"),e}function e(a){return a===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(a),i.exit("characterReferenceMarkerNumeric"),p):(i.enter("characterReferenceValue"),he=31,B=Bc,E(a))}function p(a){return a===88||a===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(a),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),he=6,B=SP,E):(i.enter("characterReferenceValue"),he=7,B=a3,E(a))}function E(a){if(a===59&&oe){const L=i.exit("characterReferenceValue");return B===Bc&&!T4(Y.sliceSerialize(L))?R(a):(i.enter("characterReferenceMarker"),i.consume(a),i.exit("characterReferenceMarker"),i.exit("characterReference"),y)}return B(a)&&oe++<he?(i.consume(a),E):R(a)}}const Yb={tokenize:WP,partial:!0},Zb={name:"codeFenced",tokenize:GP,concrete:!0};function GP(i,y,R){const Y=this,oe={tokenize:c,partial:!0};let he=0,B=0,O;return e;function e(u){return p(u)}function p(u){const b=Y.events[Y.events.length-1];return he=b&&b[1].type==="linePrefix"?b[2].sliceSerialize(b[1],!0).length:0,O=u,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),E(u)}function E(u){return u===O?(B++,i.consume(u),E):B<3?R(u):(i.exit("codeFencedFenceSequence"),ls(u)?cs(i,a,"whitespace")(u):a(u))}function a(u){return u===null||Gi(u)?(i.exit("codeFencedFence"),Y.interrupt?y(u):i.check(Yb,m,f)(u)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),L(u))}function L(u){return u===null||Gi(u)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),a(u)):ls(u)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),cs(i,x,"whitespace")(u)):u===96&&u===O?R(u):(i.consume(u),L)}function x(u){return u===null||Gi(u)?a(u):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),d(u))}function d(u){return u===null||Gi(u)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),a(u)):u===96&&u===O?R(u):(i.consume(u),d)}function m(u){return i.attempt(oe,f,r)(u)}function r(u){return i.enter("lineEnding"),i.consume(u),i.exit("lineEnding"),t}function t(u){return he>0&&ls(u)?cs(i,s,"linePrefix",he+1)(u):s(u)}function s(u){return u===null||Gi(u)?i.check(Yb,m,f)(u):(i.enter("codeFlowValue"),n(u))}function n(u){return u===null||Gi(u)?(i.exit("codeFlowValue"),s(u)):(i.consume(u),n)}function f(u){return i.exit("codeFenced"),y(u)}function c(u,b,h){let S=0;return v;function v(D){return u.enter("lineEnding"),u.consume(D),u.exit("lineEnding"),l}function l(D){return u.enter("codeFencedFence"),ls(D)?cs(u,g,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):g(D)}function g(D){return D===O?(u.enter("codeFencedFenceSequence"),C(D)):h(D)}function C(D){return D===O?(S++,u.consume(D),C):S>=B?(u.exit("codeFencedFenceSequence"),ls(D)?cs(u,M,"whitespace")(D):M(D)):h(D)}function M(D){return D===null||Gi(D)?(u.exit("codeFencedFence"),b(D)):h(D)}}}function WP(i,y,R){const Y=this;return oe;function oe(B){return B===null?R(B):(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),he)}function he(B){return Y.parser.lazy[Y.now().line]?R(B):y(B)}}const O2={name:"codeIndented",tokenize:ZP},YP={tokenize:jP,partial:!0};function ZP(i,y,R){const Y=this;return oe;function oe(p){return i.enter("codeIndented"),cs(i,he,"linePrefix",4+1)(p)}function he(p){const E=Y.events[Y.events.length-1];return E&&E[1].type==="linePrefix"&&E[2].sliceSerialize(E[1],!0).length>=4?B(p):R(p)}function B(p){return p===null?e(p):Gi(p)?i.attempt(YP,B,e)(p):(i.enter("codeFlowValue"),O(p))}function O(p){return p===null||Gi(p)?(i.exit("codeFlowValue"),B(p)):(i.consume(p),O)}function e(p){return i.exit("codeIndented"),y(p)}}function jP(i,y,R){const Y=this;return oe;function oe(B){return Y.parser.lazy[Y.now().line]?R(B):Gi(B)?(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),oe):cs(i,he,"linePrefix",4+1)(B)}function he(B){const O=Y.events[Y.events.length-1];return O&&O[1].type==="linePrefix"&&O[2].sliceSerialize(O[1],!0).length>=4?y(B):Gi(B)?oe(B):R(B)}}const XP={name:"codeText",tokenize:JP,resolve:$P,previous:KP};function $P(i){let y=i.length-4,R=3,Y,oe;if((i[R][1].type==="lineEnding"||i[R][1].type==="space")&&(i[y][1].type==="lineEnding"||i[y][1].type==="space")){for(Y=R;++Y<y;)if(i[Y][1].type==="codeTextData"){i[R][1].type="codeTextPadding",i[y][1].type="codeTextPadding",R+=2,y-=2;break}}for(Y=R-1,y++;++Y<=y;)oe===void 0?Y!==y&&i[Y][1].type!=="lineEnding"&&(oe=Y):(Y===y||i[Y][1].type==="lineEnding")&&(i[oe][1].type="codeTextData",Y!==oe+2&&(i[oe][1].end=i[Y-1][1].end,i.splice(oe+2,Y-oe-2),y-=Y-oe-2,Y=oe+2),oe=void 0);return i}function KP(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function JP(i,y,R){let Y=0,oe,he;return B;function B(a){return i.enter("codeText"),i.enter("codeTextSequence"),O(a)}function O(a){return a===96?(i.consume(a),Y++,O):(i.exit("codeTextSequence"),e(a))}function e(a){return a===null?R(a):a===32?(i.enter("space"),i.consume(a),i.exit("space"),e):a===96?(he=i.enter("codeTextSequence"),oe=0,E(a)):Gi(a)?(i.enter("lineEnding"),i.consume(a),i.exit("lineEnding"),e):(i.enter("codeTextData"),p(a))}function p(a){return a===null||a===32||a===96||Gi(a)?(i.exit("codeTextData"),e(a)):(i.consume(a),p)}function E(a){return a===96?(i.consume(a),oe++,E):oe===Y?(i.exit("codeTextSequence"),i.exit("codeText"),y(a)):(he.type="codeTextData",p(a))}}function K9(i){const y={};let R=-1,Y,oe,he,B,O,e,p;for(;++R<i.length;){for(;R in y;)R=y[R];if(Y=i[R],R&&Y[1].type==="chunkFlow"&&i[R-1][1].type==="listItemPrefix"&&(e=Y[1]._tokenizer.events,he=0,he<e.length&&e[he][1].type==="lineEndingBlank"&&(he+=2),he<e.length&&e[he][1].type==="content"))for(;++he<e.length&&e[he][1].type!=="content";)e[he][1].type==="chunkText"&&(e[he][1]._isInFirstContentOfListItem=!0,he++);if(Y[0]==="enter")Y[1].contentType&&(Object.assign(y,QP(i,R)),R=y[R],p=!0);else if(Y[1]._container){for(he=R,oe=void 0;he--&&(B=i[he],B[1].type==="lineEnding"||B[1].type==="lineEndingBlank");)B[0]==="enter"&&(oe&&(i[oe][1].type="lineEndingBlank"),B[1].type="lineEnding",oe=he);oe&&(Y[1].end=Object.assign({},i[oe][1].start),O=i.slice(oe,R),O.unshift(Y),q0(i,oe,R-oe+1,O))}}return!p}function QP(i,y){const R=i[y][1],Y=i[y][2];let oe=y-1;const he=[],B=R._tokenizer||Y.parser[R.contentType](R.start),O=B.events,e=[],p={};let E,a,L=-1,x=R,d=0,m=0;const r=[m];for(;x;){for(;i[++oe][1]!==x;);he.push(oe),x._tokenizer||(E=Y.sliceStream(x),x.next||E.push(null),a&&B.defineSkip(x.start),x._isInFirstContentOfListItem&&(B._gfmTasklistFirstContentOfListItem=!0),B.write(E),x._isInFirstContentOfListItem&&(B._gfmTasklistFirstContentOfListItem=void 0)),a=x,x=x.next}for(x=R;++L<O.length;)O[L][0]==="exit"&&O[L-1][0]==="enter"&&O[L][1].type===O[L-1][1].type&&O[L][1].start.line!==O[L][1].end.line&&(m=L+1,r.push(m),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(B.events=[],x?(x._tokenizer=void 0,x.previous=void 0):r.pop(),L=r.length;L--;){const t=O.slice(r[L],r[L+1]),s=he.pop();e.unshift([s,s+t.length-1]),q0(i,s,2,t)}for(L=-1;++L<e.length;)p[d+e[L][0]]=d+e[L][1],d+=e[L][1]-e[L][0]-1;return p}const qP={tokenize:rD,resolve:tD},eD={tokenize:nD,partial:!0};function tD(i){return K9(i),i}function rD(i,y){let R;return Y;function Y(O){return i.enter("content"),R=i.enter("chunkContent",{contentType:"content"}),oe(O)}function oe(O){return O===null?he(O):Gi(O)?i.check(eD,B,he)(O):(i.consume(O),oe)}function he(O){return i.exit("chunkContent"),i.exit("content"),y(O)}function B(O){return i.consume(O),i.exit("chunkContent"),R.next=i.enter("chunkContent",{contentType:"content",previous:R}),R=R.next,oe}}function nD(i,y,R){const Y=this;return oe;function oe(B){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),cs(i,he,"linePrefix")}function he(B){if(B===null||Gi(B))return R(B);const O=Y.events[Y.events.length-1];return!Y.parser.constructs.disable.null.includes("codeIndented")&&O&&O[1].type==="linePrefix"&&O[2].sliceSerialize(O[1],!0).length>=4?y(B):i.interrupt(Y.parser.constructs.flow,R,y)(B)}}function J9(i,y,R,Y,oe,he,B,O,e){const p=e||Number.POSITIVE_INFINITY;let E=0;return a;function a(t){return t===60?(i.enter(Y),i.enter(oe),i.enter(he),i.consume(t),i.exit(he),L):t===null||t===32||t===41||n3(t)?R(t):(i.enter(Y),i.enter(B),i.enter(O),i.enter("chunkString",{contentType:"string"}),m(t))}function L(t){return t===62?(i.enter(he),i.consume(t),i.exit(he),i.exit(oe),i.exit(Y),y):(i.enter(O),i.enter("chunkString",{contentType:"string"}),x(t))}function x(t){return t===62?(i.exit("chunkString"),i.exit(O),L(t)):t===null||t===60||Gi(t)?R(t):(i.consume(t),t===92?d:x)}function d(t){return t===60||t===62||t===92?(i.consume(t),x):x(t)}function m(t){return!E&&(t===null||t===41||gc(t))?(i.exit("chunkString"),i.exit(O),i.exit(B),i.exit(Y),y(t)):E<p&&t===40?(i.consume(t),E++,m):t===41?(i.consume(t),E--,m):t===null||t===32||t===40||n3(t)?R(t):(i.consume(t),t===92?r:m)}function r(t){return t===40||t===41||t===92?(i.consume(t),m):m(t)}}function Q9(i,y,R,Y,oe,he){const B=this;let O=0,e;return p;function p(x){return i.enter(Y),i.enter(oe),i.consume(x),i.exit(oe),i.enter(he),E}function E(x){return O>999||x===null||x===91||x===93&&!e||x===94&&!O&&"_hiddenFootnoteSupport"in B.parser.constructs?R(x):x===93?(i.exit(he),i.enter(oe),i.consume(x),i.exit(oe),i.exit(Y),y):Gi(x)?(i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),E):(i.enter("chunkString",{contentType:"string"}),a(x))}function a(x){return x===null||x===91||x===93||Gi(x)||O++>999?(i.exit("chunkString"),E(x)):(i.consume(x),e||(e=!ls(x)),x===92?L:a)}function L(x){return x===91||x===92||x===93?(i.consume(x),O++,a):a(x)}}function q9(i,y,R,Y,oe,he){let B;return O;function O(L){return L===34||L===39||L===40?(i.enter(Y),i.enter(oe),i.consume(L),i.exit(oe),B=L===40?41:L,e):R(L)}function e(L){return L===B?(i.enter(oe),i.consume(L),i.exit(oe),i.exit(Y),y):(i.enter(he),p(L))}function p(L){return L===B?(i.exit(he),e(B)):L===null?R(L):Gi(L)?(i.enter("lineEnding"),i.consume(L),i.exit("lineEnding"),cs(i,p,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),E(L))}function E(L){return L===B||L===null||Gi(L)?(i.exit("chunkString"),p(L)):(i.consume(L),L===92?a:E)}function a(L){return L===B||L===92?(i.consume(L),E):E(L)}}function ip(i,y){let R;return Y;function Y(oe){return Gi(oe)?(i.enter("lineEnding"),i.consume(oe),i.exit("lineEnding"),R=!0,Y):ls(oe)?cs(i,Y,R?"linePrefix":"lineSuffix")(oe):y(oe)}}function $v(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const aD={name:"definition",tokenize:oD},iD={tokenize:sD,partial:!0};function oD(i,y,R){const Y=this;let oe;return he;function he(x){return i.enter("definition"),B(x)}function B(x){return Q9.call(Y,i,O,R,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function O(x){return oe=$v(Y.sliceSerialize(Y.events[Y.events.length-1][1]).slice(1,-1)),x===58?(i.enter("definitionMarker"),i.consume(x),i.exit("definitionMarker"),e):R(x)}function e(x){return gc(x)?ip(i,p)(x):p(x)}function p(x){return J9(i,E,R,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function E(x){return i.attempt(iD,a,a)(x)}function a(x){return ls(x)?cs(i,L,"whitespace")(x):L(x)}function L(x){return x===null||Gi(x)?(i.exit("definition"),Y.parser.defined.push(oe),y(x)):R(x)}}function sD(i,y,R){return Y;function Y(O){return gc(O)?ip(i,oe)(O):R(O)}function oe(O){return q9(i,he,R,"definitionTitle","definitionTitleMarker","definitionTitleString")(O)}function he(O){return ls(O)?cs(i,B,"whitespace")(O):B(O)}function B(O){return O===null||Gi(O)?y(O):R(O)}}const lD={name:"hardBreakEscape",tokenize:uD};function uD(i,y,R){return Y;function Y(he){return i.enter("hardBreakEscape"),i.consume(he),oe}function oe(he){return Gi(he)?(i.exit("hardBreakEscape"),y(he)):R(he)}}const fD={name:"headingAtx",tokenize:hD,resolve:cD};function cD(i,y){let R=i.length-2,Y=3,oe,he;return i[Y][1].type==="whitespace"&&(Y+=2),R-2>Y&&i[R][1].type==="whitespace"&&(R-=2),i[R][1].type==="atxHeadingSequence"&&(Y===R-1||R-4>Y&&i[R-2][1].type==="whitespace")&&(R-=Y+1===R?2:4),R>Y&&(oe={type:"atxHeadingText",start:i[Y][1].start,end:i[R][1].end},he={type:"chunkText",start:i[Y][1].start,end:i[R][1].end,contentType:"text"},q0(i,Y,R-Y+1,[["enter",oe,y],["enter",he,y],["exit",he,y],["exit",oe,y]])),i}function hD(i,y,R){let Y=0;return oe;function oe(E){return i.enter("atxHeading"),he(E)}function he(E){return i.enter("atxHeadingSequence"),B(E)}function B(E){return E===35&&Y++<6?(i.consume(E),B):E===null||gc(E)?(i.exit("atxHeadingSequence"),O(E)):R(E)}function O(E){return E===35?(i.enter("atxHeadingSequence"),e(E)):E===null||Gi(E)?(i.exit("atxHeading"),y(E)):ls(E)?cs(i,O,"whitespace")(E):(i.enter("atxHeadingText"),p(E))}function e(E){return E===35?(i.consume(E),e):(i.exit("atxHeadingSequence"),O(E))}function p(E){return E===null||E===35||gc(E)?(i.exit("atxHeadingText"),O(E)):(i.consume(E),p)}}const dD=["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"],jb=["pre","script","style","textarea"],vD={name:"htmlFlow",tokenize:yD,resolveTo:gD,concrete:!0},pD={tokenize:bD,partial:!0},mD={tokenize:xD,partial:!0};function gD(i){let y=i.length;for(;y--&&!(i[y][0]==="enter"&&i[y][1].type==="htmlFlow"););return y>1&&i[y-2][1].type==="linePrefix"&&(i[y][1].start=i[y-2][1].start,i[y+1][1].start=i[y-2][1].start,i.splice(y-2,2)),i}function yD(i,y,R){const Y=this;let oe,he,B,O,e;return p;function p(F){return E(F)}function E(F){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(F),a}function a(F){return F===33?(i.consume(F),L):F===47?(i.consume(F),he=!0,m):F===63?(i.consume(F),oe=3,Y.interrupt?y:k):j0(F)?(i.consume(F),B=String.fromCharCode(F),r):R(F)}function L(F){return F===45?(i.consume(F),oe=2,x):F===91?(i.consume(F),oe=5,O=0,d):j0(F)?(i.consume(F),oe=4,Y.interrupt?y:k):R(F)}function x(F){return F===45?(i.consume(F),Y.interrupt?y:k):R(F)}function d(F){const G="CDATA[";return F===G.charCodeAt(O++)?(i.consume(F),O===G.length?Y.interrupt?y:g:d):R(F)}function m(F){return j0(F)?(i.consume(F),B=String.fromCharCode(F),r):R(F)}function r(F){if(F===null||F===47||F===62||gc(F)){const G=F===47,_=B.toLowerCase();return!G&&!he&&jb.includes(_)?(oe=1,Y.interrupt?y(F):g(F)):dD.includes(B.toLowerCase())?(oe=6,G?(i.consume(F),t):Y.interrupt?y(F):g(F)):(oe=7,Y.interrupt&&!Y.parser.lazy[Y.now().line]?R(F):he?s(F):n(F))}return F===45||Bc(F)?(i.consume(F),B+=String.fromCharCode(F),r):R(F)}function t(F){return F===62?(i.consume(F),Y.interrupt?y:g):R(F)}function s(F){return ls(F)?(i.consume(F),s):v(F)}function n(F){return F===47?(i.consume(F),v):F===58||F===95||j0(F)?(i.consume(F),f):ls(F)?(i.consume(F),n):v(F)}function f(F){return F===45||F===46||F===58||F===95||Bc(F)?(i.consume(F),f):c(F)}function c(F){return F===61?(i.consume(F),u):ls(F)?(i.consume(F),c):n(F)}function u(F){return F===null||F===60||F===61||F===62||F===96?R(F):F===34||F===39?(i.consume(F),e=F,b):ls(F)?(i.consume(F),u):h(F)}function b(F){return F===e?(i.consume(F),e=null,S):F===null||Gi(F)?R(F):(i.consume(F),b)}function h(F){return F===null||F===34||F===39||F===47||F===60||F===61||F===62||F===96||gc(F)?c(F):(i.consume(F),h)}function S(F){return F===47||F===62||ls(F)?n(F):R(F)}function v(F){return F===62?(i.consume(F),l):R(F)}function l(F){return F===null||Gi(F)?g(F):ls(F)?(i.consume(F),l):R(F)}function g(F){return F===45&&oe===2?(i.consume(F),T):F===60&&oe===1?(i.consume(F),P):F===62&&oe===4?(i.consume(F),w):F===63&&oe===3?(i.consume(F),k):F===93&&oe===5?(i.consume(F),o):Gi(F)&&(oe===6||oe===7)?(i.exit("htmlFlowData"),i.check(pD,U,C)(F)):F===null||Gi(F)?(i.exit("htmlFlowData"),C(F)):(i.consume(F),g)}function C(F){return i.check(mD,M,U)(F)}function M(F){return i.enter("lineEnding"),i.consume(F),i.exit("lineEnding"),D}function D(F){return F===null||Gi(F)?C(F):(i.enter("htmlFlowData"),g(F))}function T(F){return F===45?(i.consume(F),k):g(F)}function P(F){return F===47?(i.consume(F),B="",A):g(F)}function A(F){if(F===62){const G=B.toLowerCase();return jb.includes(G)?(i.consume(F),w):g(F)}return j0(F)&&B.length<8?(i.consume(F),B+=String.fromCharCode(F),A):g(F)}function o(F){return F===93?(i.consume(F),k):g(F)}function k(F){return F===62?(i.consume(F),w):F===45&&oe===2?(i.consume(F),k):g(F)}function w(F){return F===null||Gi(F)?(i.exit("htmlFlowData"),U(F)):(i.consume(F),w)}function U(F){return i.exit("htmlFlow"),y(F)}}function xD(i,y,R){const Y=this;return oe;function oe(B){return Gi(B)?(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),he):R(B)}function he(B){return Y.parser.lazy[Y.now().line]?R(B):y(B)}}function bD(i,y,R){return Y;function Y(oe){return i.enter("lineEnding"),i.consume(oe),i.exit("lineEnding"),i.attempt(iy,y,R)}}const wD={name:"htmlText",tokenize:TD};function TD(i,y,R){const Y=this;let oe,he,B;return O;function O(k){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(k),e}function e(k){return k===33?(i.consume(k),p):k===47?(i.consume(k),c):k===63?(i.consume(k),n):j0(k)?(i.consume(k),h):R(k)}function p(k){return k===45?(i.consume(k),E):k===91?(i.consume(k),he=0,d):j0(k)?(i.consume(k),s):R(k)}function E(k){return k===45?(i.consume(k),x):R(k)}function a(k){return k===null?R(k):k===45?(i.consume(k),L):Gi(k)?(B=a,P(k)):(i.consume(k),a)}function L(k){return k===45?(i.consume(k),x):a(k)}function x(k){return k===62?T(k):k===45?L(k):a(k)}function d(k){const w="CDATA[";return k===w.charCodeAt(he++)?(i.consume(k),he===w.length?m:d):R(k)}function m(k){return k===null?R(k):k===93?(i.consume(k),r):Gi(k)?(B=m,P(k)):(i.consume(k),m)}function r(k){return k===93?(i.consume(k),t):m(k)}function t(k){return k===62?T(k):k===93?(i.consume(k),t):m(k)}function s(k){return k===null||k===62?T(k):Gi(k)?(B=s,P(k)):(i.consume(k),s)}function n(k){return k===null?R(k):k===63?(i.consume(k),f):Gi(k)?(B=n,P(k)):(i.consume(k),n)}function f(k){return k===62?T(k):n(k)}function c(k){return j0(k)?(i.consume(k),u):R(k)}function u(k){return k===45||Bc(k)?(i.consume(k),u):b(k)}function b(k){return Gi(k)?(B=b,P(k)):ls(k)?(i.consume(k),b):T(k)}function h(k){return k===45||Bc(k)?(i.consume(k),h):k===47||k===62||gc(k)?S(k):R(k)}function S(k){return k===47?(i.consume(k),T):k===58||k===95||j0(k)?(i.consume(k),v):Gi(k)?(B=S,P(k)):ls(k)?(i.consume(k),S):T(k)}function v(k){return k===45||k===46||k===58||k===95||Bc(k)?(i.consume(k),v):l(k)}function l(k){return k===61?(i.consume(k),g):Gi(k)?(B=l,P(k)):ls(k)?(i.consume(k),l):S(k)}function g(k){return k===null||k===60||k===61||k===62||k===96?R(k):k===34||k===39?(i.consume(k),oe=k,C):Gi(k)?(B=g,P(k)):ls(k)?(i.consume(k),g):(i.consume(k),M)}function C(k){return k===oe?(i.consume(k),oe=void 0,D):k===null?R(k):Gi(k)?(B=C,P(k)):(i.consume(k),C)}function M(k){return k===null||k===34||k===39||k===60||k===61||k===96?R(k):k===47||k===62||gc(k)?S(k):(i.consume(k),M)}function D(k){return k===47||k===62||gc(k)?S(k):R(k)}function T(k){return k===62?(i.consume(k),i.exit("htmlTextData"),i.exit("htmlText"),y):R(k)}function P(k){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),A}function A(k){return ls(k)?cs(i,o,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):o(k)}function o(k){return i.enter("htmlTextData"),B(k)}}const A4={name:"labelEnd",tokenize:kD,resolveTo:ED,resolveAll:CD},AD={tokenize:LD},SD={tokenize:PD},MD={tokenize:DD};function CD(i){let y=-1;for(;++y<i.length;){const R=i[y][1];(R.type==="labelImage"||R.type==="labelLink"||R.type==="labelEnd")&&(i.splice(y+1,R.type==="labelImage"?4:2),R.type="data",y++)}return i}function ED(i,y){let R=i.length,Y=0,oe,he,B,O;for(;R--;)if(oe=i[R][1],he){if(oe.type==="link"||oe.type==="labelLink"&&oe._inactive)break;i[R][0]==="enter"&&oe.type==="labelLink"&&(oe._inactive=!0)}else if(B){if(i[R][0]==="enter"&&(oe.type==="labelImage"||oe.type==="labelLink")&&!oe._balanced&&(he=R,oe.type!=="labelLink")){Y=2;break}}else oe.type==="labelEnd"&&(B=R);const e={type:i[he][1].type==="labelLink"?"link":"image",start:Object.assign({},i[he][1].start),end:Object.assign({},i[i.length-1][1].end)},p={type:"label",start:Object.assign({},i[he][1].start),end:Object.assign({},i[B][1].end)},E={type:"labelText",start:Object.assign({},i[he+Y+2][1].end),end:Object.assign({},i[B-2][1].start)};return O=[["enter",e,y],["enter",p,y]],O=n0(O,i.slice(he+1,he+Y+3)),O=n0(O,[["enter",E,y]]),O=n0(O,w4(y.parser.constructs.insideSpan.null,i.slice(he+Y+4,B-3),y)),O=n0(O,[["exit",E,y],i[B-2],i[B-1],["exit",p,y]]),O=n0(O,i.slice(B+1)),O=n0(O,[["exit",e,y]]),q0(i,he,i.length,O),i}function kD(i,y,R){const Y=this;let oe=Y.events.length,he,B;for(;oe--;)if((Y.events[oe][1].type==="labelImage"||Y.events[oe][1].type==="labelLink")&&!Y.events[oe][1]._balanced){he=Y.events[oe][1];break}return O;function O(L){return he?he._inactive?a(L):(B=Y.parser.defined.includes($v(Y.sliceSerialize({start:he.end,end:Y.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(L),i.exit("labelMarker"),i.exit("labelEnd"),e):R(L)}function e(L){return L===40?i.attempt(AD,E,B?E:a)(L):L===91?i.attempt(SD,E,B?p:a)(L):B?E(L):a(L)}function p(L){return i.attempt(MD,E,a)(L)}function E(L){return y(L)}function a(L){return he._balanced=!0,R(L)}}function LD(i,y,R){return Y;function Y(a){return i.enter("resource"),i.enter("resourceMarker"),i.consume(a),i.exit("resourceMarker"),oe}function oe(a){return gc(a)?ip(i,he)(a):he(a)}function he(a){return a===41?E(a):J9(i,B,O,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(a)}function B(a){return gc(a)?ip(i,e)(a):E(a)}function O(a){return R(a)}function e(a){return a===34||a===39||a===40?q9(i,p,R,"resourceTitle","resourceTitleMarker","resourceTitleString")(a):E(a)}function p(a){return gc(a)?ip(i,E)(a):E(a)}function E(a){return a===41?(i.enter("resourceMarker"),i.consume(a),i.exit("resourceMarker"),i.exit("resource"),y):R(a)}}function PD(i,y,R){const Y=this;return oe;function oe(O){return Q9.call(Y,i,he,B,"reference","referenceMarker","referenceString")(O)}function he(O){return Y.parser.defined.includes($v(Y.sliceSerialize(Y.events[Y.events.length-1][1]).slice(1,-1)))?y(O):R(O)}function B(O){return R(O)}}function DD(i,y,R){return Y;function Y(he){return i.enter("reference"),i.enter("referenceMarker"),i.consume(he),i.exit("referenceMarker"),oe}function oe(he){return he===93?(i.enter("referenceMarker"),i.consume(he),i.exit("referenceMarker"),i.exit("reference"),y):R(he)}}const RD={name:"labelStartImage",tokenize:ID,resolveAll:A4.resolveAll};function ID(i,y,R){const Y=this;return oe;function oe(O){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(O),i.exit("labelImageMarker"),he}function he(O){return O===91?(i.enter("labelMarker"),i.consume(O),i.exit("labelMarker"),i.exit("labelImage"),B):R(O)}function B(O){return O===94&&"_hiddenFootnoteSupport"in Y.parser.constructs?R(O):y(O)}}const zD={name:"labelStartLink",tokenize:FD,resolveAll:A4.resolveAll};function FD(i,y,R){const Y=this;return oe;function oe(B){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(B),i.exit("labelMarker"),i.exit("labelLink"),he}function he(B){return B===94&&"_hiddenFootnoteSupport"in Y.parser.constructs?R(B):y(B)}}const _2={name:"lineEnding",tokenize:BD};function BD(i,y){return R;function R(Y){return i.enter("lineEnding"),i.consume(Y),i.exit("lineEnding"),cs(i,y,"linePrefix")}}const ag={name:"thematicBreak",tokenize:OD};function OD(i,y,R){let Y=0,oe;return he;function he(p){return i.enter("thematicBreak"),B(p)}function B(p){return oe=p,O(p)}function O(p){return p===oe?(i.enter("thematicBreakSequence"),e(p)):Y>=3&&(p===null||Gi(p))?(i.exit("thematicBreak"),y(p)):R(p)}function e(p){return p===oe?(i.consume(p),Y++,e):(i.exit("thematicBreakSequence"),ls(p)?cs(i,O,"whitespace")(p):O(p))}}const fc={name:"list",tokenize:UD,continuation:{tokenize:HD},exit:GD},_D={tokenize:WD,partial:!0},ND={tokenize:VD,partial:!0};function UD(i,y,R){const Y=this,oe=Y.events[Y.events.length-1];let he=oe&&oe[1].type==="linePrefix"?oe[2].sliceSerialize(oe[1],!0).length:0,B=0;return O;function O(x){const d=Y.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(d==="listUnordered"?!Y.containerState.marker||x===Y.containerState.marker:a3(x)){if(Y.containerState.type||(Y.containerState.type=d,i.enter(d,{_container:!0})),d==="listUnordered")return i.enter("listItemPrefix"),x===42||x===45?i.check(ag,R,p)(x):p(x);if(!Y.interrupt||x===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),e(x)}return R(x)}function e(x){return a3(x)&&++B<10?(i.consume(x),e):(!Y.interrupt||B<2)&&(Y.containerState.marker?x===Y.containerState.marker:x===41||x===46)?(i.exit("listItemValue"),p(x)):R(x)}function p(x){return i.enter("listItemMarker"),i.consume(x),i.exit("listItemMarker"),Y.containerState.marker=Y.containerState.marker||x,i.check(iy,Y.interrupt?R:E,i.attempt(_D,L,a))}function E(x){return Y.containerState.initialBlankLine=!0,he++,L(x)}function a(x){return ls(x)?(i.enter("listItemPrefixWhitespace"),i.consume(x),i.exit("listItemPrefixWhitespace"),L):R(x)}function L(x){return Y.containerState.size=he+Y.sliceSerialize(i.exit("listItemPrefix"),!0).length,y(x)}}function HD(i,y,R){const Y=this;return Y.containerState._closeFlow=void 0,i.check(iy,oe,he);function oe(O){return Y.containerState.furtherBlankLines=Y.containerState.furtherBlankLines||Y.containerState.initialBlankLine,cs(i,y,"listItemIndent",Y.containerState.size+1)(O)}function he(O){return Y.containerState.furtherBlankLines||!ls(O)?(Y.containerState.furtherBlankLines=void 0,Y.containerState.initialBlankLine=void 0,B(O)):(Y.containerState.furtherBlankLines=void 0,Y.containerState.initialBlankLine=void 0,i.attempt(ND,y,B)(O))}function B(O){return Y.containerState._closeFlow=!0,Y.interrupt=void 0,cs(i,i.attempt(fc,y,R),"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O)}}function VD(i,y,R){const Y=this;return cs(i,oe,"listItemIndent",Y.containerState.size+1);function oe(he){const B=Y.events[Y.events.length-1];return B&&B[1].type==="listItemIndent"&&B[2].sliceSerialize(B[1],!0).length===Y.containerState.size?y(he):R(he)}}function GD(i){i.exit(this.containerState.type)}function WD(i,y,R){const Y=this;return cs(i,oe,"listItemPrefixWhitespace",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function oe(he){const B=Y.events[Y.events.length-1];return!ls(he)&&B&&B[1].type==="listItemPrefixWhitespace"?y(he):R(he)}}const Xb={name:"setextUnderline",tokenize:ZD,resolveTo:YD};function YD(i,y){let R=i.length,Y,oe,he;for(;R--;)if(i[R][0]==="enter"){if(i[R][1].type==="content"){Y=R;break}i[R][1].type==="paragraph"&&(oe=R)}else i[R][1].type==="content"&&i.splice(R,1),!he&&i[R][1].type==="definition"&&(he=R);const B={type:"setextHeading",start:Object.assign({},i[oe][1].start),end:Object.assign({},i[i.length-1][1].end)};return i[oe][1].type="setextHeadingText",he?(i.splice(oe,0,["enter",B,y]),i.splice(he+1,0,["exit",i[Y][1],y]),i[Y][1].end=Object.assign({},i[he][1].end)):i[Y][1]=B,i.push(["exit",B,y]),i}function ZD(i,y,R){const Y=this;let oe;return he;function he(p){let E=Y.events.length,a;for(;E--;)if(Y.events[E][1].type!=="lineEnding"&&Y.events[E][1].type!=="linePrefix"&&Y.events[E][1].type!=="content"){a=Y.events[E][1].type==="paragraph";break}return!Y.parser.lazy[Y.now().line]&&(Y.interrupt||a)?(i.enter("setextHeadingLine"),oe=p,B(p)):R(p)}function B(p){return i.enter("setextHeadingLineSequence"),O(p)}function O(p){return p===oe?(i.consume(p),O):(i.exit("setextHeadingLineSequence"),ls(p)?cs(i,e,"lineSuffix")(p):e(p))}function e(p){return p===null||Gi(p)?(i.exit("setextHeadingLine"),y(p)):R(p)}}const jD={tokenize:XD};function XD(i){const y=this,R=i.attempt(iy,Y,i.attempt(this.parser.constructs.flowInitial,oe,cs(i,i.attempt(this.parser.constructs.flow,oe,i.attempt(qP,oe)),"linePrefix")));return R;function Y(he){if(he===null){i.consume(he);return}return i.enter("lineEndingBlank"),i.consume(he),i.exit("lineEndingBlank"),y.currentConstruct=void 0,R}function oe(he){if(he===null){i.consume(he);return}return i.enter("lineEnding"),i.consume(he),i.exit("lineEnding"),y.currentConstruct=void 0,R}}const $D={resolveAll:tT()},KD=eT("string"),JD=eT("text");function eT(i){return{tokenize:y,resolveAll:tT(i==="text"?QD:void 0)};function y(R){const Y=this,oe=this.parser.constructs[i],he=R.attempt(oe,B,O);return B;function B(E){return p(E)?he(E):O(E)}function O(E){if(E===null){R.consume(E);return}return R.enter("data"),R.consume(E),e}function e(E){return p(E)?(R.exit("data"),he(E)):(R.consume(E),e)}function p(E){if(E===null)return!0;const a=oe[E];let L=-1;if(a)for(;++L<a.length;){const x=a[L];if(!x.previous||x.previous.call(Y,Y.previous))return!0}return!1}}}function tT(i){return y;function y(R,Y){let oe=-1,he;for(;++oe<=R.length;)he===void 0?R[oe]&&R[oe][1].type==="data"&&(he=oe,oe++):(!R[oe]||R[oe][1].type!=="data")&&(oe!==he+2&&(R[he][1].end=R[oe-1][1].end,R.splice(he+2,oe-he-2),oe=he+2),he=void 0);return i?i(R,Y):R}}function QD(i,y){let R=0;for(;++R<=i.length;)if((R===i.length||i[R][1].type==="lineEnding")&&i[R-1][1].type==="data"){const Y=i[R-1][1],oe=y.sliceStream(Y);let he=oe.length,B=-1,O=0,e;for(;he--;){const p=oe[he];if(typeof p=="string"){for(B=p.length;p.charCodeAt(B-1)===32;)O++,B--;if(B)break;B=-1}else if(p===-2)e=!0,O++;else if(p!==-1){he++;break}}if(O){const p={type:R===i.length||e||O<2?"lineSuffix":"hardBreakTrailing",start:{line:Y.end.line,column:Y.end.column-O,offset:Y.end.offset-O,_index:Y.start._index+he,_bufferIndex:he?B:Y.start._bufferIndex+B},end:Object.assign({},Y.end)};Y.end=Object.assign({},p.start),Y.start.offset===Y.end.offset?Object.assign(Y,p):(i.splice(R,0,["enter",p,y],["exit",p,y]),R+=2)}R++}return i}function qD(i,y,R){let Y=Object.assign(R?Object.assign({},R):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const oe={},he=[];let B=[],O=[];const e={consume:s,enter:n,exit:f,attempt:b(c),check:b(u),interrupt:b(u,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:i,sliceStream:x,sliceSerialize:L,now:d,defineSkip:m,write:a};let E=y.tokenize.call(p,e);return y.resolveAll&&he.push(y),p;function a(l){return B=n0(B,l),r(),B[B.length-1]!==null?[]:(h(y,0),p.events=w4(he,p.events,p),p.events)}function L(l,g){return tR(x(l),g)}function x(l){return eR(B,l)}function d(){const{line:l,column:g,offset:C,_index:M,_bufferIndex:D}=Y;return{line:l,column:g,offset:C,_index:M,_bufferIndex:D}}function m(l){oe[l.line]=l.column,v()}function r(){let l;for(;Y._index<B.length;){const g=B[Y._index];if(typeof g=="string")for(l=Y._index,Y._bufferIndex<0&&(Y._bufferIndex=0);Y._index===l&&Y._bufferIndex<g.length;)t(g.charCodeAt(Y._bufferIndex));else t(g)}}function t(l){E=E(l)}function s(l){Gi(l)?(Y.line++,Y.column=1,Y.offset+=l===-3?2:1,v()):l!==-1&&(Y.column++,Y.offset++),Y._bufferIndex<0?Y._index++:(Y._bufferIndex++,Y._bufferIndex===B[Y._index].length&&(Y._bufferIndex=-1,Y._index++)),p.previous=l}function n(l,g){const C=g||{};return C.type=l,C.start=d(),p.events.push(["enter",C,p]),O.push(C),C}function f(l){const g=O.pop();return g.end=d(),p.events.push(["exit",g,p]),g}function c(l,g){h(l,g.from)}function u(l,g){g.restore()}function b(l,g){return C;function C(M,D,T){let P,A,o,k;return Array.isArray(M)?U(M):"tokenize"in M?U([M]):w(M);function w(H){return V;function V(N){const W=N!==null&&H[N],j=N!==null&&H.null,Q=[...Array.isArray(W)?W:W?[W]:[],...Array.isArray(j)?j:j?[j]:[]];return U(Q)(N)}}function U(H){return P=H,A=0,H.length===0?T:F(H[A])}function F(H){return V;function V(N){return k=S(),o=H,H.partial||(p.currentConstruct=H),H.name&&p.parser.constructs.disable.null.includes(H.name)?_():H.tokenize.call(g?Object.assign(Object.create(p),g):p,e,G,_)(N)}}function G(H){return l(o,k),D}function _(H){return k.restore(),++A<P.length?F(P[A]):T}}}function h(l,g){l.resolveAll&&!he.includes(l)&&he.push(l),l.resolve&&q0(p.events,g,p.events.length-g,l.resolve(p.events.slice(g),p)),l.resolveTo&&(p.events=l.resolveTo(p.events,p))}function S(){const l=d(),g=p.previous,C=p.currentConstruct,M=p.events.length,D=Array.from(O);return{restore:T,from:M};function T(){Y=l,p.previous=g,p.currentConstruct=C,p.events.length=M,O=D,v()}}function v(){Y.line in oe&&Y.column<2&&(Y.column=oe[Y.line],Y.offset+=oe[Y.line]-1)}}function eR(i,y){const R=y.start._index,Y=y.start._bufferIndex,oe=y.end._index,he=y.end._bufferIndex;let B;if(R===oe)B=[i[R].slice(Y,he)];else{if(B=i.slice(R,oe),Y>-1){const O=B[0];typeof O=="string"?B[0]=O.slice(Y):B.shift()}he>0&&B.push(i[oe].slice(0,he))}return B}function tR(i,y){let R=-1;const Y=[];let oe;for(;++R<i.length;){const he=i[R];let B;if(typeof he=="string")B=he;else switch(he){case-5:{B="\r";break}case-4:{B=` -`;break}case-3:{B=`\r -`;break}case-2:{B=y?" ":" ";break}case-1:{if(!y&&oe)continue;B=" ";break}default:B=String.fromCharCode(he)}oe=he===-2,Y.push(B)}return Y.join("")}const rR={42:fc,43:fc,45:fc,48:fc,49:fc,50:fc,51:fc,52:fc,53:fc,54:fc,55:fc,56:fc,57:fc,62:j9},nR={91:aD},aR={[-2]:O2,[-1]:O2,32:O2},iR={35:fD,42:ag,45:[Xb,ag],60:vD,61:Xb,95:ag,96:Zb,126:Zb},oR={38:$9,92:X9},sR={[-5]:_2,[-4]:_2,[-3]:_2,33:RD,38:$9,42:i3,60:[FP,wD],91:zD,92:[lD,X9],93:A4,95:i3,96:XP},lR={null:[i3,$D]},uR={null:[42,95]},fR={null:[]},cR=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:uR,contentInitial:nR,disable:fR,document:rR,flow:iR,flowInitial:aR,insideSpan:lR,string:oR,text:sR},Symbol.toStringTag,{value:"Module"}));function hR(i){const R=xP([cR,...(i||{}).extensions||[]]),Y={defined:[],lazy:{},constructs:R,content:oe(kP),document:oe(PP),flow:oe(jD),string:oe(KD),text:oe(JD)};return Y;function oe(he){return B;function B(O){return qD(Y,he,O)}}}const $b=/[\0\t\n\r]/g;function dR(){let i=1,y="",R=!0,Y;return oe;function oe(he,B,O){const e=[];let p,E,a,L,x;for(he=y+he.toString(B),a=0,y="",R&&(he.charCodeAt(0)===65279&&a++,R=void 0);a<he.length;){if($b.lastIndex=a,p=$b.exec(he),L=p&&p.index!==void 0?p.index:he.length,x=he.charCodeAt(L),!p){y=he.slice(a);break}if(x===10&&a===L&&Y)e.push(-3),Y=void 0;else switch(Y&&(e.push(-5),Y=void 0),a<L&&(e.push(he.slice(a,L)),i+=L-a),x){case 0:{e.push(65533),i++;break}case 9:{for(E=Math.ceil(i/4)*4,e.push(-2);i++<E;)e.push(-1);break}case 10:{e.push(-4),i=1;break}default:Y=!0,i=1}a=L+1}return O&&(Y&&e.push(-5),y&&e.push(y),e.push(null)),e}}function vR(i){for(;!K9(i););return i}function rT(i,y){const R=Number.parseInt(i,y);return R<9||R===11||R>13&&R<32||R>126&&R<160||R>55295&&R<57344||R>64975&&R<65008||(R&65535)===65535||(R&65535)===65534||R>1114111?"�":String.fromCharCode(R)}const pR=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function mR(i){return i.replace(pR,gR)}function gR(i,y,R){if(y)return y;if(R.charCodeAt(0)===35){const oe=R.charCodeAt(1),he=oe===120||oe===88;return rT(R.slice(he?2:1),he?16:10)}return T4(R)||i}const nT={}.hasOwnProperty,yR=function(i,y,R){return typeof y!="string"&&(R=y,y=void 0),xR(R)(vR(hR(R).document().write(dR()(i,y,!0))))};function xR(i){const y={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:O(fe),autolinkProtocol:l,autolinkEmail:l,atxHeading:O(X),blockQuote:O(Q),characterEscape:l,characterReference:l,codeFenced:O(ie),codeFencedFenceInfo:e,codeFencedFenceMeta:e,codeIndented:O(ie,e),codeText:O(ue,e),codeTextData:l,data:l,codeFlowValue:l,definition:O(pe),definitionDestinationString:e,definitionLabelString:e,definitionTitleString:e,emphasis:O(q),hardBreakEscape:O(K),hardBreakTrailing:O(K),htmlFlow:O(J,e),htmlFlowData:l,htmlText:O(J,e),htmlTextData:l,image:O(re),label:e,link:O(fe),listItem:O(ee),listItemValue:d,listOrdered:O(te,x),listUnordered:O(te),paragraph:O(ce),reference:_,referenceString:e,resourceDestinationString:e,resourceTitleString:e,setextHeading:O(X),strong:O(le),thematicBreak:O(we)},exit:{atxHeading:E(),atxHeadingSequence:b,autolink:E(),autolinkEmail:j,autolinkProtocol:W,blockQuote:E(),characterEscapeValue:g,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:N,codeFenced:E(s),codeFencedFence:t,codeFencedFenceInfo:m,codeFencedFenceMeta:r,codeFlowValue:g,codeIndented:E(n),codeText:E(P),codeTextData:g,data:g,definition:E(),definitionDestinationString:u,definitionLabelString:f,definitionTitleString:c,emphasis:E(),hardBreakEscape:E(M),hardBreakTrailing:E(M),htmlFlow:E(D),htmlFlowData:g,htmlText:E(T),htmlTextData:g,image:E(o),label:w,labelText:k,lineEnding:C,link:E(A),listItem:E(),listOrdered:E(),listUnordered:E(),paragraph:E(),referenceString:H,resourceDestinationString:U,resourceTitleString:F,resource:G,setextHeading:E(v),setextHeadingLineSequence:S,setextHeadingText:h,strong:E(),thematicBreak:E()}};aT(y,(i||{}).mdastExtensions||[]);const R={};return Y;function Y(Se){let Ee={type:"root",children:[]};const We={stack:[Ee],tokenStack:[],config:y,enter:p,exit:a,buffer:e,resume:L,setData:he,getData:B},Ye=[];let De=-1;for(;++De<Se.length;)if(Se[De][1].type==="listOrdered"||Se[De][1].type==="listUnordered")if(Se[De][0]==="enter")Ye.push(De);else{const Te=Ye.pop();De=oe(Se,Te,De)}for(De=-1;++De<Se.length;){const Te=y[Se[De][0]];nT.call(Te,Se[De][1].type)&&Te[Se[De][1].type].call(Object.assign({sliceSerialize:Se[De][2].sliceSerialize},We),Se[De][1])}if(We.tokenStack.length>0){const Te=We.tokenStack[We.tokenStack.length-1];(Te[1]||Kb).call(We,void 0,Te[0])}for(Ee.position={start:Qh(Se.length>0?Se[0][1].start:{line:1,column:1,offset:0}),end:Qh(Se.length>0?Se[Se.length-2][1].end:{line:1,column:1,offset:0})},De=-1;++De<y.transforms.length;)Ee=y.transforms[De](Ee)||Ee;return Ee}function oe(Se,Ee,We){let Ye=Ee-1,De=-1,Te=!1,Re,Xe,Je,He;for(;++Ye<=We;){const $e=Se[Ye];if($e[1].type==="listUnordered"||$e[1].type==="listOrdered"||$e[1].type==="blockQuote"?($e[0]==="enter"?De++:De--,He=void 0):$e[1].type==="lineEndingBlank"?$e[0]==="enter"&&(Re&&!He&&!De&&!Je&&(Je=Ye),He=void 0):$e[1].type==="linePrefix"||$e[1].type==="listItemValue"||$e[1].type==="listItemMarker"||$e[1].type==="listItemPrefix"||$e[1].type==="listItemPrefixWhitespace"||(He=void 0),!De&&$e[0]==="enter"&&$e[1].type==="listItemPrefix"||De===-1&&$e[0]==="exit"&&($e[1].type==="listUnordered"||$e[1].type==="listOrdered")){if(Re){let pt=Ye;for(Xe=void 0;pt--;){const ut=Se[pt];if(ut[1].type==="lineEnding"||ut[1].type==="lineEndingBlank"){if(ut[0]==="exit")continue;Xe&&(Se[Xe][1].type="lineEndingBlank",Te=!0),ut[1].type="lineEnding",Xe=pt}else if(!(ut[1].type==="linePrefix"||ut[1].type==="blockQuotePrefix"||ut[1].type==="blockQuotePrefixWhitespace"||ut[1].type==="blockQuoteMarker"||ut[1].type==="listItemIndent"))break}Je&&(!Xe||Je<Xe)&&(Re._spread=!0),Re.end=Object.assign({},Xe?Se[Xe][1].start:$e[1].end),Se.splice(Xe||Ye,0,["exit",Re,$e[2]]),Ye++,We++}$e[1].type==="listItemPrefix"&&(Re={type:"listItem",_spread:!1,start:Object.assign({},$e[1].start),end:void 0},Se.splice(Ye,0,["enter",Re,$e[2]]),Ye++,We++,Je=void 0,He=!0)}}return Se[Ee][1]._spread=Te,We}function he(Se,Ee){R[Se]=Ee}function B(Se){return R[Se]}function O(Se,Ee){return We;function We(Ye){p.call(this,Se(Ye),Ye),Ee&&Ee.call(this,Ye)}}function e(){this.stack.push({type:"fragment",children:[]})}function p(Se,Ee,We){return this.stack[this.stack.length-1].children.push(Se),this.stack.push(Se),this.tokenStack.push([Ee,We]),Se.position={start:Qh(Ee.start)},Se}function E(Se){return Ee;function Ee(We){Se&&Se.call(this,We),a.call(this,We)}}function a(Se,Ee){const We=this.stack.pop(),Ye=this.tokenStack.pop();if(Ye)Ye[0].type!==Se.type&&(Ee?Ee.call(this,Se,Ye[0]):(Ye[1]||Kb).call(this,Se,Ye[0]));else throw new Error("Cannot close `"+Se.type+"` ("+ap({start:Se.start,end:Se.end})+"): it’s not open");return We.position.end=Qh(Se.end),We}function L(){return gP(this.stack.pop())}function x(){he("expectingFirstListItemValue",!0)}function d(Se){if(B("expectingFirstListItemValue")){const Ee=this.stack[this.stack.length-2];Ee.start=Number.parseInt(this.sliceSerialize(Se),10),he("expectingFirstListItemValue")}}function m(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.lang=Se}function r(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.meta=Se}function t(){B("flowCodeInside")||(this.buffer(),he("flowCodeInside",!0))}function s(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.value=Se.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),he("flowCodeInside")}function n(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.value=Se.replace(/(\r?\n|\r)$/g,"")}function f(Se){const Ee=this.resume(),We=this.stack[this.stack.length-1];We.label=Ee,We.identifier=$v(this.sliceSerialize(Se)).toLowerCase()}function c(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.title=Se}function u(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.url=Se}function b(Se){const Ee=this.stack[this.stack.length-1];if(!Ee.depth){const We=this.sliceSerialize(Se).length;Ee.depth=We}}function h(){he("setextHeadingSlurpLineEnding",!0)}function S(Se){const Ee=this.stack[this.stack.length-1];Ee.depth=this.sliceSerialize(Se).charCodeAt(0)===61?1:2}function v(){he("setextHeadingSlurpLineEnding")}function l(Se){const Ee=this.stack[this.stack.length-1];let We=Ee.children[Ee.children.length-1];(!We||We.type!=="text")&&(We=me(),We.position={start:Qh(Se.start)},Ee.children.push(We)),this.stack.push(We)}function g(Se){const Ee=this.stack.pop();Ee.value+=this.sliceSerialize(Se),Ee.position.end=Qh(Se.end)}function C(Se){const Ee=this.stack[this.stack.length-1];if(B("atHardBreak")){const We=Ee.children[Ee.children.length-1];We.position.end=Qh(Se.end),he("atHardBreak");return}!B("setextHeadingSlurpLineEnding")&&y.canContainEols.includes(Ee.type)&&(l.call(this,Se),g.call(this,Se))}function M(){he("atHardBreak",!0)}function D(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.value=Se}function T(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.value=Se}function P(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.value=Se}function A(){const Se=this.stack[this.stack.length-1];if(B("inReference")){const Ee=B("referenceType")||"shortcut";Se.type+="Reference",Se.referenceType=Ee,delete Se.url,delete Se.title}else delete Se.identifier,delete Se.label;he("referenceType")}function o(){const Se=this.stack[this.stack.length-1];if(B("inReference")){const Ee=B("referenceType")||"shortcut";Se.type+="Reference",Se.referenceType=Ee,delete Se.url,delete Se.title}else delete Se.identifier,delete Se.label;he("referenceType")}function k(Se){const Ee=this.sliceSerialize(Se),We=this.stack[this.stack.length-2];We.label=mR(Ee),We.identifier=$v(Ee).toLowerCase()}function w(){const Se=this.stack[this.stack.length-1],Ee=this.resume(),We=this.stack[this.stack.length-1];if(he("inReference",!0),We.type==="link"){const Ye=Se.children;We.children=Ye}else We.alt=Ee}function U(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.url=Se}function F(){const Se=this.resume(),Ee=this.stack[this.stack.length-1];Ee.title=Se}function G(){he("inReference")}function _(){he("referenceType","collapsed")}function H(Se){const Ee=this.resume(),We=this.stack[this.stack.length-1];We.label=Ee,We.identifier=$v(this.sliceSerialize(Se)).toLowerCase(),he("referenceType","full")}function V(Se){he("characterReferenceType",Se.type)}function N(Se){const Ee=this.sliceSerialize(Se),We=B("characterReferenceType");let Ye;We?(Ye=rT(Ee,We==="characterReferenceMarkerNumeric"?10:16),he("characterReferenceType")):Ye=T4(Ee);const De=this.stack.pop();De.value+=Ye,De.position.end=Qh(Se.end)}function W(Se){g.call(this,Se);const Ee=this.stack[this.stack.length-1];Ee.url=this.sliceSerialize(Se)}function j(Se){g.call(this,Se);const Ee=this.stack[this.stack.length-1];Ee.url="mailto:"+this.sliceSerialize(Se)}function Q(){return{type:"blockquote",children:[]}}function ie(){return{type:"code",lang:null,meta:null,value:""}}function ue(){return{type:"inlineCode",value:""}}function pe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function q(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:void 0,children:[]}}function K(){return{type:"break"}}function J(){return{type:"html",value:""}}function re(){return{type:"image",title:null,url:"",alt:null}}function fe(){return{type:"link",title:null,url:"",children:[]}}function te(Se){return{type:"list",ordered:Se.type==="listOrdered",start:null,spread:Se._spread,children:[]}}function ee(Se){return{type:"listItem",spread:Se._spread,checked:null,children:[]}}function ce(){return{type:"paragraph",children:[]}}function le(){return{type:"strong",children:[]}}function me(){return{type:"text",value:""}}function we(){return{type:"thematicBreak"}}}function Qh(i){return{line:i.line,column:i.column,offset:i.offset}}function aT(i,y){let R=-1;for(;++R<y.length;){const Y=y[R];Array.isArray(Y)?aT(i,Y):bR(i,Y)}}function bR(i,y){let R;for(R in y)if(nT.call(y,R)){if(R==="canContainEols"){const Y=y[R];Y&&i[R].push(...Y)}else if(R==="transforms"){const Y=y[R];Y&&i[R].push(...Y)}else if(R==="enter"||R==="exit"){const Y=y[R];Y&&Object.assign(i[R],Y)}}}function Kb(i,y){throw i?new Error("Cannot close `"+i.type+"` ("+ap({start:i.start,end:i.end})+"): a different token (`"+y.type+"`, "+ap({start:y.start,end:y.end})+") is open"):new Error("Cannot close document, a token (`"+y.type+"`, "+ap({start:y.start,end:y.end})+") is still open")}function wR(i){Object.assign(this,{Parser:R=>{const Y=this.data("settings");return yR(R,Object.assign({},Y,i,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function TR(i,y){const R={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(y),!0)};return i.patch(y,R),i.applyData(y,R)}function AR(i,y){const R={type:"element",tagName:"br",properties:{},children:[]};return i.patch(y,R),[i.applyData(y,R),{type:"text",value:` -`}]}function SR(i,y){const R=y.value?y.value+` -`:"",Y=y.lang?y.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,oe={};Y&&(oe.className=["language-"+Y]);let he={type:"element",tagName:"code",properties:oe,children:[{type:"text",value:R}]};return y.meta&&(he.data={meta:y.meta}),i.patch(y,he),he=i.applyData(y,he),he={type:"element",tagName:"pre",properties:{},children:[he]},i.patch(y,he),he}function MR(i,y){const R={type:"element",tagName:"del",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function CR(i,y){const R={type:"element",tagName:"em",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function h1(i){const y=[];let R=-1,Y=0,oe=0;for(;++R<i.length;){const he=i.charCodeAt(R);let B="";if(he===37&&Bc(i.charCodeAt(R+1))&&Bc(i.charCodeAt(R+2)))oe=2;else if(he<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(he))||(B=String.fromCharCode(he));else if(he>55295&&he<57344){const O=i.charCodeAt(R+1);he<56320&&O>56319&&O<57344?(B=String.fromCharCode(he,O),oe=1):B="�"}else B=String.fromCharCode(he);B&&(y.push(i.slice(Y,R),encodeURIComponent(B)),Y=R+oe+1,B=""),oe&&(R+=oe,oe=0)}return y.join("")+i.slice(Y)}function iT(i,y){const R=String(y.identifier).toUpperCase(),Y=h1(R.toLowerCase()),oe=i.footnoteOrder.indexOf(R);let he;oe===-1?(i.footnoteOrder.push(R),i.footnoteCounts[R]=1,he=i.footnoteOrder.length):(i.footnoteCounts[R]++,he=oe+1);const B=i.footnoteCounts[R],O={type:"element",tagName:"a",properties:{href:"#"+i.clobberPrefix+"fn-"+Y,id:i.clobberPrefix+"fnref-"+Y+(B>1?"-"+B:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(he)}]};i.patch(y,O);const e={type:"element",tagName:"sup",properties:{},children:[O]};return i.patch(y,e),i.applyData(y,e)}function ER(i,y){const R=i.footnoteById;let Y=1;for(;Y in R;)Y++;const oe=String(Y);return R[oe]={type:"footnoteDefinition",identifier:oe,children:[{type:"paragraph",children:y.children}],position:y.position},iT(i,{type:"footnoteReference",identifier:oe,position:y.position})}function kR(i,y){const R={type:"element",tagName:"h"+y.depth,properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function LR(i,y){if(i.dangerous){const R={type:"raw",value:y.value};return i.patch(y,R),i.applyData(y,R)}return null}function oT(i,y){const R=y.referenceType;let Y="]";if(R==="collapsed"?Y+="[]":R==="full"&&(Y+="["+(y.label||y.identifier)+"]"),y.type==="imageReference")return{type:"text",value:"!["+y.alt+Y};const oe=i.all(y),he=oe[0];he&&he.type==="text"?he.value="["+he.value:oe.unshift({type:"text",value:"["});const B=oe[oe.length-1];return B&&B.type==="text"?B.value+=Y:oe.push({type:"text",value:Y}),oe}function PR(i,y){const R=i.definition(y.identifier);if(!R)return oT(i,y);const Y={src:h1(R.url||""),alt:y.alt};R.title!==null&&R.title!==void 0&&(Y.title=R.title);const oe={type:"element",tagName:"img",properties:Y,children:[]};return i.patch(y,oe),i.applyData(y,oe)}function DR(i,y){const R={src:h1(y.url)};y.alt!==null&&y.alt!==void 0&&(R.alt=y.alt),y.title!==null&&y.title!==void 0&&(R.title=y.title);const Y={type:"element",tagName:"img",properties:R,children:[]};return i.patch(y,Y),i.applyData(y,Y)}function RR(i,y){const R={type:"text",value:y.value.replace(/\r?\n|\r/g," ")};i.patch(y,R);const Y={type:"element",tagName:"code",properties:{},children:[R]};return i.patch(y,Y),i.applyData(y,Y)}function IR(i,y){const R=i.definition(y.identifier);if(!R)return oT(i,y);const Y={href:h1(R.url||"")};R.title!==null&&R.title!==void 0&&(Y.title=R.title);const oe={type:"element",tagName:"a",properties:Y,children:i.all(y)};return i.patch(y,oe),i.applyData(y,oe)}function zR(i,y){const R={href:h1(y.url)};y.title!==null&&y.title!==void 0&&(R.title=y.title);const Y={type:"element",tagName:"a",properties:R,children:i.all(y)};return i.patch(y,Y),i.applyData(y,Y)}function FR(i,y,R){const Y=i.all(y),oe=R?BR(R):sT(y),he={},B=[];if(typeof y.checked=="boolean"){const E=Y[0];let a;E&&E.type==="element"&&E.tagName==="p"?a=E:(a={type:"element",tagName:"p",properties:{},children:[]},Y.unshift(a)),a.children.length>0&&a.children.unshift({type:"text",value:" "}),a.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:y.checked,disabled:!0},children:[]}),he.className=["task-list-item"]}let O=-1;for(;++O<Y.length;){const E=Y[O];(oe||O!==0||E.type!=="element"||E.tagName!=="p")&&B.push({type:"text",value:` -`}),E.type==="element"&&E.tagName==="p"&&!oe?B.push(...E.children):B.push(E)}const e=Y[Y.length-1];e&&(oe||e.type!=="element"||e.tagName!=="p")&&B.push({type:"text",value:` -`});const p={type:"element",tagName:"li",properties:he,children:B};return i.patch(y,p),i.applyData(y,p)}function BR(i){let y=!1;if(i.type==="list"){y=i.spread||!1;const R=i.children;let Y=-1;for(;!y&&++Y<R.length;)y=sT(R[Y])}return y}function sT(i){const y=i.spread;return y??i.children.length>1}function OR(i,y){const R={},Y=i.all(y);let oe=-1;for(typeof y.start=="number"&&y.start!==1&&(R.start=y.start);++oe<Y.length;){const B=Y[oe];if(B.type==="element"&&B.tagName==="li"&&B.properties&&Array.isArray(B.properties.className)&&B.properties.className.includes("task-list-item")){R.className=["contains-task-list"];break}}const he={type:"element",tagName:y.ordered?"ol":"ul",properties:R,children:i.wrap(Y,!0)};return i.patch(y,he),i.applyData(y,he)}function _R(i,y){const R={type:"element",tagName:"p",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}function NR(i,y){const R={type:"root",children:i.wrap(i.all(y))};return i.patch(y,R),i.applyData(y,R)}function UR(i,y){const R={type:"element",tagName:"strong",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}const S4=lT("start"),M4=lT("end");function HR(i){return{start:S4(i),end:M4(i)}}function lT(i){return y;function y(R){const Y=R&&R.position&&R.position[i]||{};return{line:Y.line||null,column:Y.column||null,offset:Y.offset>-1?Y.offset:null}}}function VR(i,y){const R=i.all(y),Y=R.shift(),oe=[];if(Y){const B={type:"element",tagName:"thead",properties:{},children:i.wrap([Y],!0)};i.patch(y.children[0],B),oe.push(B)}if(R.length>0){const B={type:"element",tagName:"tbody",properties:{},children:i.wrap(R,!0)},O=S4(y.children[1]),e=M4(y.children[y.children.length-1]);O.line&&e.line&&(B.position={start:O,end:e}),oe.push(B)}const he={type:"element",tagName:"table",properties:{},children:i.wrap(oe,!0)};return i.patch(y,he),i.applyData(y,he)}function GR(i,y,R){const Y=R?R.children:void 0,he=(Y?Y.indexOf(y):1)===0?"th":"td",B=R&&R.type==="table"?R.align:void 0,O=B?B.length:y.children.length;let e=-1;const p=[];for(;++e<O;){const a=y.children[e],L={},x=B?B[e]:void 0;x&&(L.align=x);let d={type:"element",tagName:he,properties:L,children:[]};a&&(d.children=i.all(a),i.patch(a,d),d=i.applyData(y,d)),p.push(d)}const E={type:"element",tagName:"tr",properties:{},children:i.wrap(p,!0)};return i.patch(y,E),i.applyData(y,E)}function WR(i,y){const R={type:"element",tagName:"td",properties:{},children:i.all(y)};return i.patch(y,R),i.applyData(y,R)}const Jb=9,Qb=32;function YR(i){const y=String(i),R=/\r?\n|\r/g;let Y=R.exec(y),oe=0;const he=[];for(;Y;)he.push(qb(y.slice(oe,Y.index),oe>0,!0),Y[0]),oe=Y.index+Y[0].length,Y=R.exec(y);return he.push(qb(y.slice(oe),oe>0,!1)),he.join("")}function qb(i,y,R){let Y=0,oe=i.length;if(y){let he=i.codePointAt(Y);for(;he===Jb||he===Qb;)Y++,he=i.codePointAt(Y)}if(R){let he=i.codePointAt(oe-1);for(;he===Jb||he===Qb;)oe--,he=i.codePointAt(oe-1)}return oe>Y?i.slice(Y,oe):""}function ZR(i,y){const R={type:"text",value:YR(String(y.value))};return i.patch(y,R),i.applyData(y,R)}function jR(i,y){const R={type:"element",tagName:"hr",properties:{},children:[]};return i.patch(y,R),i.applyData(y,R)}const XR={blockquote:TR,break:AR,code:SR,delete:MR,emphasis:CR,footnoteReference:iT,footnote:ER,heading:kR,html:LR,imageReference:PR,image:DR,inlineCode:RR,linkReference:IR,link:zR,listItem:FR,list:OR,paragraph:_R,root:NR,strong:UR,table:VR,tableCell:WR,tableRow:GR,text:ZR,thematicBreak:jR,toml:Dm,yaml:Dm,definition:Dm,footnoteDefinition:Dm};function Dm(){return null}const C4=function(i){if(i==null)return QR;if(typeof i=="string")return JR(i);if(typeof i=="object")return Array.isArray(i)?$R(i):KR(i);if(typeof i=="function")return oy(i);throw new Error("Expected function, string, or object as test")};function $R(i){const y=[];let R=-1;for(;++R<i.length;)y[R]=C4(i[R]);return oy(Y);function Y(...oe){let he=-1;for(;++he<y.length;)if(y[he].call(this,...oe))return!0;return!1}}function KR(i){return oy(y);function y(R){let Y;for(Y in i)if(R[Y]!==i[Y])return!1;return!0}}function JR(i){return oy(y);function y(R){return R&&R.type===i}}function oy(i){return y;function y(R,...Y){return!!(R&&typeof R=="object"&&"type"in R&&i.call(this,R,...Y))}}function QR(){return!0}const qR=!0,e8=!1,eI="skip",tI=function(i,y,R,Y){typeof y=="function"&&typeof R!="function"&&(Y=R,R=y,y=null);const oe=C4(y),he=Y?-1:1;B(i,void 0,[])();function B(O,e,p){const E=O&&typeof O=="object"?O:{};if(typeof E.type=="string"){const L=typeof E.tagName=="string"?E.tagName:typeof E.name=="string"?E.name:void 0;Object.defineProperty(a,"name",{value:"node ("+(O.type+(L?"<"+L+">":""))+")"})}return a;function a(){let L=[],x,d,m;if((!y||oe(O,e,p[p.length-1]||null))&&(L=rI(R(O,p)),L[0]===e8))return L;if(O.children&&L[0]!==eI)for(d=(Y?O.children.length:-1)+he,m=p.concat(O);d>-1&&d<O.children.length;){if(x=B(O.children[d],d,m)(),x[0]===e8)return x;d=typeof x[1]=="number"?x[1]:d+he}return L}}};function rI(i){return Array.isArray(i)?i:typeof i=="number"?[qR,i]:[i]}const sy=function(i,y,R,Y){typeof y=="function"&&typeof R!="function"&&(Y=R,R=y,y=null),tI(i,y,oe,Y);function oe(he,B){const O=B[B.length-1];return R(he,O?O.children.indexOf(he):null,O)}};function nI(i){return!i||!i.position||!i.position.start||!i.position.start.line||!i.position.start.column||!i.position.end||!i.position.end.line||!i.position.end.column}const t8={}.hasOwnProperty;function aI(i){const y=Object.create(null);if(!i||!i.type)throw new Error("mdast-util-definitions expected node");return sy(i,"definition",Y=>{const oe=r8(Y.identifier);oe&&!t8.call(y,oe)&&(y[oe]=Y)}),R;function R(Y){const oe=r8(Y);return oe&&t8.call(y,oe)?y[oe]:null}}function r8(i){return String(i||"").toUpperCase()}const Rg={}.hasOwnProperty;function iI(i,y){const R=y||{},Y=R.allowDangerousHtml||!1,oe={};return B.dangerous=Y,B.clobberPrefix=R.clobberPrefix===void 0||R.clobberPrefix===null?"user-content-":R.clobberPrefix,B.footnoteLabel=R.footnoteLabel||"Footnotes",B.footnoteLabelTagName=R.footnoteLabelTagName||"h2",B.footnoteLabelProperties=R.footnoteLabelProperties||{className:["sr-only"]},B.footnoteBackLabel=R.footnoteBackLabel||"Back to content",B.unknownHandler=R.unknownHandler,B.passThrough=R.passThrough,B.handlers={...XR,...R.handlers},B.definition=aI(i),B.footnoteById=oe,B.footnoteOrder=[],B.footnoteCounts={},B.patch=oI,B.applyData=sI,B.one=O,B.all=e,B.wrap=uI,B.augment=he,sy(i,"footnoteDefinition",p=>{const E=String(p.identifier).toUpperCase();Rg.call(oe,E)||(oe[E]=p)}),B;function he(p,E){if(p&&"data"in p&&p.data){const a=p.data;a.hName&&(E.type!=="element"&&(E={type:"element",tagName:"",properties:{},children:[]}),E.tagName=a.hName),E.type==="element"&&a.hProperties&&(E.properties={...E.properties,...a.hProperties}),"children"in E&&E.children&&a.hChildren&&(E.children=a.hChildren)}if(p){const a="type"in p?p:{position:p};nI(a)||(E.position={start:S4(a),end:M4(a)})}return E}function B(p,E,a,L){return Array.isArray(a)&&(L=a,a={}),he(p,{type:"element",tagName:E,properties:a||{},children:L||[]})}function O(p,E){return uT(B,p,E)}function e(p){return E4(B,p)}}function oI(i,y){i.position&&(y.position=HR(i))}function sI(i,y){let R=y;if(i&&i.data){const Y=i.data.hName,oe=i.data.hChildren,he=i.data.hProperties;typeof Y=="string"&&(R.type==="element"?R.tagName=Y:R={type:"element",tagName:Y,properties:{},children:[]}),R.type==="element"&&he&&(R.properties={...R.properties,...he}),"children"in R&&R.children&&oe!==null&&oe!==void 0&&(R.children=oe)}return R}function uT(i,y,R){const Y=y&&y.type;if(!Y)throw new Error("Expected node, got `"+y+"`");return Rg.call(i.handlers,Y)?i.handlers[Y](i,y,R):i.passThrough&&i.passThrough.includes(Y)?"children"in y?{...y,children:E4(i,y)}:y:i.unknownHandler?i.unknownHandler(i,y,R):lI(i,y)}function E4(i,y){const R=[];if("children"in y){const Y=y.children;let oe=-1;for(;++oe<Y.length;){const he=uT(i,Y[oe],y);if(he){if(oe&&Y[oe-1].type==="break"&&(!Array.isArray(he)&&he.type==="text"&&(he.value=he.value.replace(/^\s+/,"")),!Array.isArray(he)&&he.type==="element")){const B=he.children[0];B&&B.type==="text"&&(B.value=B.value.replace(/^\s+/,""))}Array.isArray(he)?R.push(...he):R.push(he)}}}return R}function lI(i,y){const R=y.data||{},Y="value"in y&&!(Rg.call(R,"hProperties")||Rg.call(R,"hChildren"))?{type:"text",value:y.value}:{type:"element",tagName:"div",properties:{},children:E4(i,y)};return i.patch(y,Y),i.applyData(y,Y)}function uI(i,y){const R=[];let Y=-1;for(y&&R.push({type:"text",value:` -`});++Y<i.length;)Y&&R.push({type:"text",value:` -`}),R.push(i[Y]);return y&&i.length>0&&R.push({type:"text",value:` -`}),R}function fI(i){const y=[];let R=-1;for(;++R<i.footnoteOrder.length;){const Y=i.footnoteById[i.footnoteOrder[R]];if(!Y)continue;const oe=i.all(Y),he=String(Y.identifier).toUpperCase(),B=h1(he.toLowerCase());let O=0;const e=[];for(;++O<=i.footnoteCounts[he];){const a={type:"element",tagName:"a",properties:{href:"#"+i.clobberPrefix+"fnref-"+B+(O>1?"-"+O:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:i.footnoteBackLabel},children:[{type:"text",value:"↩"}]};O>1&&a.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(O)}]}),e.length>0&&e.push({type:"text",value:" "}),e.push(a)}const p=oe[oe.length-1];if(p&&p.type==="element"&&p.tagName==="p"){const a=p.children[p.children.length-1];a&&a.type==="text"?a.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...e)}else oe.push(...e);const E={type:"element",tagName:"li",properties:{id:i.clobberPrefix+"fn-"+B},children:i.wrap(oe,!0)};i.patch(Y,E),y.push(E)}if(y.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(i.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:i.footnoteLabel}]},{type:"text",value:` -`},{type:"element",tagName:"ol",properties:{},children:i.wrap(y,!0)},{type:"text",value:` -`}]}}function fT(i,y){const R=iI(i,y),Y=R.one(i,null),oe=fI(R);return oe&&Y.children.push({type:"text",value:` -`},oe),Array.isArray(Y)?{type:"root",children:Y}:Y}const cI=function(i,y){return i&&"run"in i?dI(i,y):vI(i||y)},hI=cI;function dI(i,y){return(R,Y,oe)=>{i.run(fT(R,y),Y,he=>{oe(he)})}}function vI(i){return y=>fT(y,i)}var cT={exports:{}},pI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",mI=pI,gI=mI;function hT(){}function dT(){}dT.resetWarningCache=hT;var yI=function(){function i(Y,oe,he,B,O,e){if(e!==gI){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}i.isRequired=i;function y(){return i}var R={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:y,element:i,elementType:i,instanceOf:y,node:i,objectOf:y,oneOf:y,oneOfType:y,shape:y,exact:y,checkPropTypes:dT,resetWarningCache:hT};return R.PropTypes=R,R};cT.exports=yI();var vT=cT.exports;const uo=Jd(vT);class Up{constructor(y,R,Y){this.property=y,this.normal=R,Y&&(this.space=Y)}}Up.prototype.property={};Up.prototype.normal={};Up.prototype.space=null;function pT(i,y){const R={},Y={};let oe=-1;for(;++oe<i.length;)Object.assign(R,i[oe].property),Object.assign(Y,i[oe].normal);return new Up(R,Y,y)}function Cp(i){return i.toLowerCase()}let v0=class{constructor(y,R){this.property=y,this.attribute=R}};v0.prototype.space=null;v0.prototype.boolean=!1;v0.prototype.booleanish=!1;v0.prototype.overloadedBoolean=!1;v0.prototype.number=!1;v0.prototype.commaSeparated=!1;v0.prototype.spaceSeparated=!1;v0.prototype.commaOrSpaceSeparated=!1;v0.prototype.mustUseProperty=!1;v0.prototype.defined=!1;let xI=0;const wo=ev(),ql=ev(),mT=ev(),ai=ev(),Us=ev(),Kv=ev(),Rc=ev();function ev(){return 2**++xI}const o3=Object.freeze(Object.defineProperty({__proto__:null,boolean:wo,booleanish:ql,commaOrSpaceSeparated:Rc,commaSeparated:Kv,number:ai,overloadedBoolean:mT,spaceSeparated:Us},Symbol.toStringTag,{value:"Module"})),N2=Object.keys(o3);class k4 extends v0{constructor(y,R,Y,oe){let he=-1;if(super(y,R),n8(this,"space",oe),typeof Y=="number")for(;++he<N2.length;){const B=N2[he];n8(this,N2[he],(Y&o3[B])===o3[B])}}}k4.prototype.defined=!0;function n8(i,y,R){R&&(i[y]=R)}const bI={}.hasOwnProperty;function d1(i){const y={},R={};let Y;for(Y in i.properties)if(bI.call(i.properties,Y)){const oe=i.properties[Y],he=new k4(Y,i.transform(i.attributes||{},Y),oe,i.space);i.mustUseProperty&&i.mustUseProperty.includes(Y)&&(he.mustUseProperty=!0),y[Y]=he,R[Cp(Y)]=Y,R[Cp(he.attribute)]=Y}return new Up(y,R,i.space)}const gT=d1({space:"xlink",transform(i,y){return"xlink:"+y.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),yT=d1({space:"xml",transform(i,y){return"xml:"+y.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function xT(i,y){return y in i?i[y]:y}function bT(i,y){return xT(i,y.toLowerCase())}const wT=d1({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bT,properties:{xmlns:null,xmlnsXLink:null}}),TT=d1({transform(i,y){return y==="role"?y:"aria-"+y.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ql,ariaAutoComplete:null,ariaBusy:ql,ariaChecked:ql,ariaColCount:ai,ariaColIndex:ai,ariaColSpan:ai,ariaControls:Us,ariaCurrent:null,ariaDescribedBy:Us,ariaDetails:null,ariaDisabled:ql,ariaDropEffect:Us,ariaErrorMessage:null,ariaExpanded:ql,ariaFlowTo:Us,ariaGrabbed:ql,ariaHasPopup:null,ariaHidden:ql,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Us,ariaLevel:ai,ariaLive:null,ariaModal:ql,ariaMultiLine:ql,ariaMultiSelectable:ql,ariaOrientation:null,ariaOwns:Us,ariaPlaceholder:null,ariaPosInSet:ai,ariaPressed:ql,ariaReadOnly:ql,ariaRelevant:null,ariaRequired:ql,ariaRoleDescription:Us,ariaRowCount:ai,ariaRowIndex:ai,ariaRowSpan:ai,ariaSelected:ql,ariaSetSize:ai,ariaSort:null,ariaValueMax:ai,ariaValueMin:ai,ariaValueNow:ai,ariaValueText:null,role:null}}),wI=d1({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bT,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Kv,acceptCharset:Us,accessKey:Us,action:null,allow:null,allowFullScreen:wo,allowPaymentRequest:wo,allowUserMedia:wo,alt:null,as:null,async:wo,autoCapitalize:null,autoComplete:Us,autoFocus:wo,autoPlay:wo,blocking:Us,capture:wo,charSet:null,checked:wo,cite:null,className:Us,cols:ai,colSpan:null,content:null,contentEditable:ql,controls:wo,controlsList:Us,coords:ai|Kv,crossOrigin:null,data:null,dateTime:null,decoding:null,default:wo,defer:wo,dir:null,dirName:null,disabled:wo,download:mT,draggable:ql,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:wo,formTarget:null,headers:Us,height:ai,hidden:wo,high:ai,href:null,hrefLang:null,htmlFor:Us,httpEquiv:Us,id:null,imageSizes:null,imageSrcSet:null,inert:wo,inputMode:null,integrity:null,is:null,isMap:wo,itemId:null,itemProp:Us,itemRef:Us,itemScope:wo,itemType:Us,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:wo,low:ai,manifest:null,max:null,maxLength:ai,media:null,method:null,min:null,minLength:ai,multiple:wo,muted:wo,name:null,nonce:null,noModule:wo,noValidate:wo,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:wo,optimum:ai,pattern:null,ping:Us,placeholder:null,playsInline:wo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:wo,referrerPolicy:null,rel:Us,required:wo,reversed:wo,rows:ai,rowSpan:ai,sandbox:Us,scope:null,scoped:wo,seamless:wo,selected:wo,shape:null,size:ai,sizes:null,slot:null,span:ai,spellCheck:ql,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ai,step:null,style:null,tabIndex:ai,target:null,title:null,translate:null,type:null,typeMustMatch:wo,useMap:null,value:ql,width:ai,wrap:null,align:null,aLink:null,archive:Us,axis:null,background:null,bgColor:null,border:ai,borderColor:null,bottomMargin:ai,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:wo,declare:wo,event:null,face:null,frame:null,frameBorder:null,hSpace:ai,leftMargin:ai,link:null,longDesc:null,lowSrc:null,marginHeight:ai,marginWidth:ai,noResize:wo,noHref:wo,noShade:wo,noWrap:wo,object:null,profile:null,prompt:null,rev:null,rightMargin:ai,rules:null,scheme:null,scrolling:ql,standby:null,summary:null,text:null,topMargin:ai,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ai,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:wo,disableRemotePlayback:wo,prefix:null,property:null,results:ai,security:null,unselectable:null}}),TI=d1({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:xT,properties:{about:Rc,accentHeight:ai,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ai,amplitude:ai,arabicForm:null,ascent:ai,attributeName:null,attributeType:null,azimuth:ai,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ai,by:null,calcMode:null,capHeight:ai,className:Us,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ai,diffuseConstant:ai,direction:null,display:null,dur:null,divisor:ai,dominantBaseline:null,download:wo,dx:null,dy:null,edgeMode:null,editable:null,elevation:ai,enableBackground:null,end:null,event:null,exponent:ai,externalResourcesRequired:null,fill:null,fillOpacity:ai,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Kv,g2:Kv,glyphName:Kv,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ai,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ai,horizOriginX:ai,horizOriginY:ai,id:null,ideographic:ai,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ai,k:ai,k1:ai,k2:ai,k3:ai,k4:ai,kernelMatrix:Rc,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ai,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ai,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ai,overlineThickness:ai,paintOrder:null,panose1:null,path:null,pathLength:ai,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Us,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ai,pointsAtY:ai,pointsAtZ:ai,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rc,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rc,rev:Rc,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rc,requiredFeatures:Rc,requiredFonts:Rc,requiredFormats:Rc,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ai,specularExponent:ai,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ai,strikethroughThickness:ai,string:null,stroke:null,strokeDashArray:Rc,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ai,strokeOpacity:ai,strokeWidth:null,style:null,surfaceScale:ai,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rc,tabIndex:ai,tableValues:null,target:null,targetX:ai,targetY:ai,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rc,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ai,underlineThickness:ai,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ai,values:null,vAlphabetic:ai,vMathematical:ai,vectorEffect:null,vHanging:ai,vIdeographic:ai,version:null,vertAdvY:ai,vertOriginX:ai,vertOriginY:ai,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ai,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),AI=/^data[-\w.:]+$/i,a8=/-[a-z]/g,SI=/[A-Z]/g;function AT(i,y){const R=Cp(y);let Y=y,oe=v0;if(R in i.normal)return i.property[i.normal[R]];if(R.length>4&&R.slice(0,4)==="data"&&AI.test(y)){if(y.charAt(4)==="-"){const he=y.slice(5).replace(a8,CI);Y="data"+he.charAt(0).toUpperCase()+he.slice(1)}else{const he=y.slice(4);if(!a8.test(he)){let B=he.replace(SI,MI);B.charAt(0)!=="-"&&(B="-"+B),y="data"+B}}oe=k4}return new oe(Y,y)}function MI(i){return"-"+i.toLowerCase()}function CI(i){return i.charAt(1).toUpperCase()}const i8={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"},ST=pT([yT,gT,wT,TT,wI],"html"),MT=pT([yT,gT,wT,TT,TI],"svg");function EI(i){if(i.allowedElements&&i.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(i.allowedElements||i.disallowedElements||i.allowElement)return y=>{sy(y,"element",(R,Y,oe)=>{const he=oe;let B;if(i.allowedElements?B=!i.allowedElements.includes(R.tagName):i.disallowedElements&&(B=i.disallowedElements.includes(R.tagName)),!B&&i.allowElement&&typeof Y=="number"&&(B=!i.allowElement(R,Y,he)),B&&typeof Y=="number")return i.unwrapDisallowed&&R.children?he.children.splice(Y,1,...R.children):he.children.splice(Y,1),Y})}}var CT={exports:{}},ws={};/** - * @license React - * react-is.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 L4=Symbol.for("react.element"),P4=Symbol.for("react.portal"),ly=Symbol.for("react.fragment"),uy=Symbol.for("react.strict_mode"),fy=Symbol.for("react.profiler"),cy=Symbol.for("react.provider"),hy=Symbol.for("react.context"),kI=Symbol.for("react.server_context"),dy=Symbol.for("react.forward_ref"),vy=Symbol.for("react.suspense"),py=Symbol.for("react.suspense_list"),my=Symbol.for("react.memo"),gy=Symbol.for("react.lazy"),LI=Symbol.for("react.offscreen"),ET;ET=Symbol.for("react.module.reference");function p0(i){if(typeof i=="object"&&i!==null){var y=i.$$typeof;switch(y){case L4:switch(i=i.type,i){case ly:case fy:case uy:case vy:case py:return i;default:switch(i=i&&i.$$typeof,i){case kI:case hy:case dy:case gy:case my:case cy:return i;default:return y}}case P4:return y}}}ws.ContextConsumer=hy;ws.ContextProvider=cy;ws.Element=L4;ws.ForwardRef=dy;ws.Fragment=ly;ws.Lazy=gy;ws.Memo=my;ws.Portal=P4;ws.Profiler=fy;ws.StrictMode=uy;ws.Suspense=vy;ws.SuspenseList=py;ws.isAsyncMode=function(){return!1};ws.isConcurrentMode=function(){return!1};ws.isContextConsumer=function(i){return p0(i)===hy};ws.isContextProvider=function(i){return p0(i)===cy};ws.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===L4};ws.isForwardRef=function(i){return p0(i)===dy};ws.isFragment=function(i){return p0(i)===ly};ws.isLazy=function(i){return p0(i)===gy};ws.isMemo=function(i){return p0(i)===my};ws.isPortal=function(i){return p0(i)===P4};ws.isProfiler=function(i){return p0(i)===fy};ws.isStrictMode=function(i){return p0(i)===uy};ws.isSuspense=function(i){return p0(i)===vy};ws.isSuspenseList=function(i){return p0(i)===py};ws.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===ly||i===fy||i===uy||i===vy||i===py||i===LI||typeof i=="object"&&i!==null&&(i.$$typeof===gy||i.$$typeof===my||i.$$typeof===cy||i.$$typeof===hy||i.$$typeof===dy||i.$$typeof===ET||i.getModuleId!==void 0)};ws.typeOf=p0;CT.exports=ws;var PI=CT.exports;const DI=Jd(PI);function RI(i){const y=i&&typeof i=="object"&&i.type==="text"?i.value||"":i;return typeof y=="string"&&y.replace(/[ \t\n\f\r]/g,"")===""}function o8(i){const y=String(i||"").trim();return y?y.split(/[ \t\n\r\f]+/g):[]}function II(i){return i.join(" ").trim()}function s8(i){const y=[],R=String(i||"");let Y=R.indexOf(","),oe=0,he=!1;for(;!he;){Y===-1&&(Y=R.length,he=!0);const B=R.slice(oe,Y).trim();(B||!he)&&y.push(B),oe=Y+1,Y=R.indexOf(",",oe)}return y}function zI(i,y){const R=y||{};return(i[i.length-1]===""?[...i,""]:i).join((R.padRight?" ":"")+","+(R.padLeft===!1?"":" ")).trim()}var D4={exports:{}},l8=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,FI=/\n/g,BI=/^\s*/,OI=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,_I=/^:\s*/,NI=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,UI=/^[;\s]*/,HI=/^\s+|\s+$/g,VI=` -`,u8="/",f8="*",Nd="",GI="comment",WI="declaration",YI=function(i,y){if(typeof i!="string")throw new TypeError("First argument must be a string");if(!i)return[];y=y||{};var R=1,Y=1;function oe(d){var m=d.match(FI);m&&(R+=m.length);var r=d.lastIndexOf(VI);Y=~r?d.length-r:Y+d.length}function he(){var d={line:R,column:Y};return function(m){return m.position=new B(d),p(),m}}function B(d){this.start=d,this.end={line:R,column:Y},this.source=y.source}B.prototype.content=i;function O(d){var m=new Error(y.source+":"+R+":"+Y+": "+d);if(m.reason=d,m.filename=y.source,m.line=R,m.column=Y,m.source=i,!y.silent)throw m}function e(d){var m=d.exec(i);if(m){var r=m[0];return oe(r),i=i.slice(r.length),m}}function p(){e(BI)}function E(d){var m;for(d=d||[];m=a();)m!==!1&&d.push(m);return d}function a(){var d=he();if(!(u8!=i.charAt(0)||f8!=i.charAt(1))){for(var m=2;Nd!=i.charAt(m)&&(f8!=i.charAt(m)||u8!=i.charAt(m+1));)++m;if(m+=2,Nd===i.charAt(m-1))return O("End of comment missing");var r=i.slice(2,m-2);return Y+=2,oe(r),i=i.slice(m),Y+=2,d({type:GI,comment:r})}}function L(){var d=he(),m=e(OI);if(m){if(a(),!e(_I))return O("property missing ':'");var r=e(NI),t=d({type:WI,property:c8(m[0].replace(l8,Nd)),value:r?c8(r[0].replace(l8,Nd)):Nd});return e(UI),t}}function x(){var d=[];E(d);for(var m;m=L();)m!==!1&&(d.push(m),E(d));return d}return p(),x()};function c8(i){return i?i.replace(HI,Nd):Nd}var ZI=YI;function kT(i,y){var R=null;if(!i||typeof i!="string")return R;for(var Y,oe=ZI(i),he=typeof y=="function",B,O,e=0,p=oe.length;e<p;e++)Y=oe[e],B=Y.property,O=Y.value,he?y(B,O,Y):O&&(R||(R={}),R[B]=O);return R}D4.exports=kT;D4.exports.default=kT;var jI=D4.exports;const XI=Jd(jI),s3={}.hasOwnProperty,$I=new Set(["table","thead","tbody","tfoot","tr"]);function LT(i,y){const R=[];let Y=-1,oe;for(;++Y<y.children.length;)oe=y.children[Y],oe.type==="element"?R.push(KI(i,oe,Y,y)):oe.type==="text"?(y.type!=="element"||!$I.has(y.tagName)||!RI(oe))&&R.push(oe.value):oe.type==="raw"&&!i.options.skipHtml&&R.push(oe.value);return R}function KI(i,y,R,Y){const oe=i.options,he=oe.transformLinkUri===void 0?KL:oe.transformLinkUri,B=i.schema,O=y.tagName,e={};let p=B,E;if(B.space==="html"&&O==="svg"&&(p=MT,i.schema=p),y.properties)for(E in y.properties)s3.call(y.properties,E)&&QI(e,E,y.properties[E],i);(O==="ol"||O==="ul")&&i.listDepth++;const a=LT(i,y);(O==="ol"||O==="ul")&&i.listDepth--,i.schema=B;const L=y.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},x=oe.components&&s3.call(oe.components,O)?oe.components[O]:O,d=typeof x=="string"||x===Gd.Fragment;if(!DI.isValidElementType(x))throw new TypeError(`Component for name \`${O}\` not defined or is not renderable`);if(e.key=R,O==="a"&&oe.linkTarget&&(e.target=typeof oe.linkTarget=="function"?oe.linkTarget(String(e.href||""),y.children,typeof e.title=="string"?e.title:null):oe.linkTarget),O==="a"&&he&&(e.href=he(String(e.href||""),y.children,typeof e.title=="string"?e.title:null)),!d&&O==="code"&&Y.type==="element"&&Y.tagName!=="pre"&&(e.inline=!0),!d&&(O==="h1"||O==="h2"||O==="h3"||O==="h4"||O==="h5"||O==="h6")&&(e.level=Number.parseInt(O.charAt(1),10)),O==="img"&&oe.transformImageUri&&(e.src=oe.transformImageUri(String(e.src||""),String(e.alt||""),typeof e.title=="string"?e.title:null)),!d&&O==="li"&&Y.type==="element"){const m=JI(y);e.checked=m&&m.properties?!!m.properties.checked:null,e.index=U2(Y,y),e.ordered=Y.tagName==="ol"}return!d&&(O==="ol"||O==="ul")&&(e.ordered=O==="ol",e.depth=i.listDepth),(O==="td"||O==="th")&&(e.align&&(e.style||(e.style={}),e.style.textAlign=e.align,delete e.align),d||(e.isHeader=O==="th")),!d&&O==="tr"&&Y.type==="element"&&(e.isHeader=Y.tagName==="thead"),oe.sourcePos&&(e["data-sourcepos"]=tz(L)),!d&&oe.rawSourcePos&&(e.sourcePosition=y.position),!d&&oe.includeElementIndex&&(e.index=U2(Y,y),e.siblingCount=U2(Y)),d||(e.node=y),a.length>0?Gd.createElement(x,e,a):Gd.createElement(x,e)}function JI(i){let y=-1;for(;++y<i.children.length;){const R=i.children[y];if(R.type==="element"&&R.tagName==="input")return R}return null}function U2(i,y){let R=-1,Y=0;for(;++R<i.children.length&&i.children[R]!==y;)i.children[R].type==="element"&&Y++;return Y}function QI(i,y,R,Y){const oe=AT(Y.schema,y);let he=R;he==null||he!==he||(Array.isArray(he)&&(he=oe.commaSeparated?zI(he):II(he)),oe.property==="style"&&typeof he=="string"&&(he=qI(he)),oe.space&&oe.property?i[s3.call(i8,oe.property)?i8[oe.property]:oe.property]=he:oe.attribute&&(i[oe.attribute]=he))}function qI(i){const y={};try{XI(i,R)}catch{}return y;function R(Y,oe){const he=Y.slice(0,4)==="-ms-"?`ms-${Y.slice(4)}`:Y;y[he.replace(/-([a-z])/g,ez)]=oe}}function ez(i,y){return y.toUpperCase()}function tz(i){return[i.start.line,":",i.start.column,"-",i.end.line,":",i.end.column].map(String).join("")}const h8={}.hasOwnProperty,rz="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Rm={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function o1(i){for(const he in Rm)if(h8.call(Rm,he)&&h8.call(i,he)){const B=Rm[he];console.warn(`[react-markdown] Warning: please ${B.to?`use \`${B.to}\` instead of`:"remove"} \`${he}\` (see <${rz}#${B.id}> for more info)`),delete Rm[he]}const y=hP().use(wR).use(i.remarkPlugins||[]).use(hI,{...i.remarkRehypeOptions,allowDangerousHtml:!0}).use(i.rehypePlugins||[]).use(EI,i),R=new V9;typeof i.children=="string"?R.value=i.children:i.children!==void 0&&i.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${i.children}\`)`);const Y=y.runSync(y.parse(R),R);if(Y.type!=="root")throw new TypeError("Expected a `root` node");let oe=Gd.createElement(Gd.Fragment,{},LT({options:i,schema:ST,listDepth:0},Y));return i.className&&(oe=Gd.createElement("div",{className:i.className},oe)),oe}o1.propTypes={children:uo.string,className:uo.string,allowElement:uo.func,allowedElements:uo.arrayOf(uo.string),disallowedElements:uo.arrayOf(uo.string),unwrapDisallowed:uo.bool,remarkPlugins:uo.arrayOf(uo.oneOfType([uo.object,uo.func,uo.arrayOf(uo.oneOfType([uo.bool,uo.string,uo.object,uo.func,uo.arrayOf(uo.any)]))])),rehypePlugins:uo.arrayOf(uo.oneOfType([uo.object,uo.func,uo.arrayOf(uo.oneOfType([uo.bool,uo.string,uo.object,uo.func,uo.arrayOf(uo.any)]))])),sourcePos:uo.bool,rawSourcePos:uo.bool,skipHtml:uo.bool,includeElementIndex:uo.bool,transformLinkUri:uo.oneOfType([uo.func,uo.bool]),linkTarget:uo.oneOfType([uo.func,uo.string]),transformImageUri:uo.func,components:uo.object};const nz={tokenize:az,concrete:!0},d8={tokenize:iz,partial:!0};function az(i,y,R){const Y=this,oe=Y.events[Y.events.length-1],he=oe&&oe[1].type==="linePrefix"?oe[2].sliceSerialize(oe[1],!0).length:0;let B=0;return O;function O(s){return i.enter("mathFlow"),i.enter("mathFlowFence"),i.enter("mathFlowFenceSequence"),e(s)}function e(s){return s===36?(i.consume(s),B++,e):B<2?R(s):(i.exit("mathFlowFenceSequence"),cs(i,p,"whitespace")(s))}function p(s){return s===null||Gi(s)?a(s):(i.enter("mathFlowFenceMeta"),i.enter("chunkString",{contentType:"string"}),E(s))}function E(s){return s===null||Gi(s)?(i.exit("chunkString"),i.exit("mathFlowFenceMeta"),a(s)):s===36?R(s):(i.consume(s),E)}function a(s){return i.exit("mathFlowFence"),Y.interrupt?y(s):i.attempt(d8,L,r)(s)}function L(s){return i.attempt({tokenize:t,partial:!0},r,x)(s)}function x(s){return(he?cs(i,d,"linePrefix",he+1):d)(s)}function d(s){return s===null?r(s):Gi(s)?i.attempt(d8,L,r)(s):(i.enter("mathFlowValue"),m(s))}function m(s){return s===null||Gi(s)?(i.exit("mathFlowValue"),d(s)):(i.consume(s),m)}function r(s){return i.exit("mathFlow"),y(s)}function t(s,n,f){let c=0;return cs(s,u,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function u(S){return s.enter("mathFlowFence"),s.enter("mathFlowFenceSequence"),b(S)}function b(S){return S===36?(c++,s.consume(S),b):c<B?f(S):(s.exit("mathFlowFenceSequence"),cs(s,h,"whitespace")(S))}function h(S){return S===null||Gi(S)?(s.exit("mathFlowFence"),n(S)):f(S)}}}function iz(i,y,R){const Y=this;return oe;function oe(B){return B===null?y(B):(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),he)}function he(B){return Y.parser.lazy[Y.now().line]?R(B):y(B)}}function oz(i){let R=(i||{}).singleDollarTextMath;return R==null&&(R=!0),{tokenize:Y,resolve:sz,previous:lz};function Y(oe,he,B){let O=0,e,p;return E;function E(m){return oe.enter("mathText"),oe.enter("mathTextSequence"),a(m)}function a(m){return m===36?(oe.consume(m),O++,a):O<2&&!R?B(m):(oe.exit("mathTextSequence"),L(m))}function L(m){return m===null?B(m):m===36?(p=oe.enter("mathTextSequence"),e=0,d(m)):m===32?(oe.enter("space"),oe.consume(m),oe.exit("space"),L):Gi(m)?(oe.enter("lineEnding"),oe.consume(m),oe.exit("lineEnding"),L):(oe.enter("mathTextData"),x(m))}function x(m){return m===null||m===32||m===36||Gi(m)?(oe.exit("mathTextData"),L(m)):(oe.consume(m),x)}function d(m){return m===36?(oe.consume(m),e++,d):e===O?(oe.exit("mathTextSequence"),oe.exit("mathText"),he(m)):(p.type="mathTextData",x(m))}}}function sz(i){let y=i.length-4,R=3,Y,oe;if((i[R][1].type==="lineEnding"||i[R][1].type==="space")&&(i[y][1].type==="lineEnding"||i[y][1].type==="space")){for(Y=R;++Y<y;)if(i[Y][1].type==="mathTextData"){i[y][1].type="mathTextPadding",i[R][1].type="mathTextPadding",R+=2,y-=2;break}}for(Y=R-1,y++;++Y<=y;)oe===void 0?Y!==y&&i[Y][1].type!=="lineEnding"&&(oe=Y):(Y===y||i[Y][1].type==="lineEnding")&&(i[oe][1].type="mathTextData",Y!==oe+2&&(i[oe][1].end=i[Y-1][1].end,i.splice(oe+2,Y-oe-2),y-=Y-oe-2,Y=oe+2),oe=void 0);return i}function lz(i){return i!==36||this.events[this.events.length-1][1].type==="characterEscape"}function uz(i){return{flow:{36:nz},text:{36:oz(i)}}}class zc{constructor(y,R,Y){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=y,this.start=R,this.end=Y}static range(y,R){return R?!y||!y.loc||!R.loc||y.loc.lexer!==R.loc.lexer?null:new zc(y.loc.lexer,y.loc.start,R.loc.end):y&&y.loc}}class Q0{constructor(y,R){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=y,this.loc=R}range(y,R){return new Q0(R,zc.range(this,y))}}class ti{constructor(y,R){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var Y="KaTeX parse error: "+y,oe,he,B=R&&R.loc;if(B&&B.start<=B.end){var O=B.lexer.input;oe=B.start,he=B.end,oe===O.length?Y+=" at end of input: ":Y+=" at position "+(oe+1)+": ";var e=O.slice(oe,he).replace(/[^]/g,"$&̲"),p;oe>15?p="…"+O.slice(oe-15,oe):p=O.slice(0,oe);var E;he+15<O.length?E=O.slice(he,he+15)+"…":E=O.slice(he),Y+=p+e+E}var a=new Error(Y);return a.name="ParseError",a.__proto__=ti.prototype,a.position=oe,oe!=null&&he!=null&&(a.length=he-oe),a.rawMessage=y,a}}ti.prototype.__proto__=Error.prototype;var fz=function(y,R){return y.indexOf(R)!==-1},cz=function(y,R){return y===void 0?R:y},hz=/([A-Z])/g,dz=function(y){return y.replace(hz,"-$1").toLowerCase()},vz={"&":"&",">":">","<":"<",'"':""","'":"'"},pz=/[&><"']/g;function mz(i){return String(i).replace(pz,y=>vz[y])}var PT=function i(y){return y.type==="ordgroup"||y.type==="color"?y.body.length===1?i(y.body[0]):y:y.type==="font"?i(y.body):y},gz=function(y){var R=PT(y);return R.type==="mathord"||R.type==="textord"||R.type==="atom"},yz=function(y){if(!y)throw new Error("Expected non-null, but got "+String(y));return y},xz=function(y){var R=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(y);return R!=null?R[1]:"_relative"},Ki={contains:fz,deflt:cz,escape:mz,hyphenate:dz,getBaseElem:PT,isCharacterBox:gz,protocolFromUrl:xz},ig={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 <type>"},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 <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:i=>"#"+i},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(i,y)=>(y.push(i),y)},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:i=>Math.max(0,i),cli:"--min-rule-thickness <size>",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:i=>Math.max(0,i),cli:"-s, --max-size <n>",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:i=>Math.max(0,i),cli:"-e, --max-expand <n>",cliProcessor:i=>i==="Infinity"?1/0:parseInt(i)},globalGroup:{type:"boolean",cli:!1}};function bz(i){if(i.default)return i.default;var y=i.type,R=Array.isArray(y)?y[0]:y;if(typeof R!="string")return R.enum[0];switch(R){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}let R4=class{constructor(y){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,y=y||{};for(var R in ig)if(ig.hasOwnProperty(R)){var Y=ig[R];this[R]=y[R]!==void 0?Y.processor?Y.processor(y[R]):y[R]:bz(Y)}}reportNonstrict(y,R,Y){var oe=this.strict;if(typeof oe=="function"&&(oe=oe(y,R,Y)),!(!oe||oe==="ignore")){if(oe===!0||oe==="error")throw new ti("LaTeX-incompatible input and strict mode is set to 'error': "+(R+" ["+y+"]"),Y);oe==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(R+" ["+y+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+oe+"': "+R+" ["+y+"]"))}}useStrictBehavior(y,R,Y){var oe=this.strict;if(typeof oe=="function")try{oe=oe(y,R,Y)}catch{oe="error"}return!oe||oe==="ignore"?!1:oe===!0||oe==="error"?!0:oe==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(R+" ["+y+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+oe+"': "+R+" ["+y+"]")),!1)}isTrusted(y){y.url&&!y.protocol&&(y.protocol=Ki.protocolFromUrl(y.url));var R=typeof this.trust=="function"?this.trust(y):this.trust;return!!R}};class qh{constructor(y,R,Y){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=y,this.size=R,this.cramped=Y}sup(){return Y0[wz[this.id]]}sub(){return Y0[Tz[this.id]]}fracNum(){return Y0[Az[this.id]]}fracDen(){return Y0[Sz[this.id]]}cramp(){return Y0[Mz[this.id]]}text(){return Y0[Cz[this.id]]}isTight(){return this.size>=2}}var I4=0,Ig=1,Jv=2,Sh=3,Ep=4,o0=5,s1=6,Bf=7,Y0=[new qh(I4,0,!1),new qh(Ig,0,!0),new qh(Jv,1,!1),new qh(Sh,1,!0),new qh(Ep,2,!1),new qh(o0,2,!0),new qh(s1,3,!1),new qh(Bf,3,!0)],wz=[Ep,o0,Ep,o0,s1,Bf,s1,Bf],Tz=[o0,o0,o0,o0,Bf,Bf,Bf,Bf],Az=[Jv,Sh,Ep,o0,s1,Bf,s1,Bf],Sz=[Sh,Sh,o0,o0,Bf,Bf,Bf,Bf],Mz=[Ig,Ig,Sh,Sh,o0,o0,Bf,Bf],Cz=[I4,Ig,Jv,Sh,Jv,Sh,Jv,Sh],Zi={DISPLAY:Y0[I4],TEXT:Y0[Jv],SCRIPT:Y0[Ep],SCRIPTSCRIPT:Y0[s1]},l3=[{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 Ez(i){for(var y=0;y<l3.length;y++)for(var R=l3[y],Y=0;Y<R.blocks.length;Y++){var oe=R.blocks[Y];if(i>=oe[0]&&i<=oe[1])return R.name}return null}var og=[];l3.forEach(i=>i.blocks.forEach(y=>og.push(...y)));function DT(i){for(var y=0;y<og.length;y+=2)if(i>=og[y]&&i<=og[y+1])return!0;return!1}var Pv=80,kz=function(y,R){return"M95,"+(622+y+R)+` -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`+y/2.075+" -"+y+` -c5.3,-9.3,12,-14,20,-14 -H400000v`+(40+y)+`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+y)+" "+R+"h400000v"+(40+y)+"h-400000z"},Lz=function(y,R){return"M263,"+(601+y+R)+`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`+y/2.084+" -"+y+` -c4.7,-7.3,11,-11,19,-11 -H40000v`+(40+y)+`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+y)+" "+R+"h400000v"+(40+y)+"h-400000z"},Pz=function(y,R){return"M983 "+(10+y+R)+` -l`+y/3.13+" -"+y+` -c4,-6.7,10,-10,18,-10 H400000v`+(40+y)+` -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+y)+" "+R+"h400000v"+(40+y)+"h-400000z"},Dz=function(y,R){return"M424,"+(2398+y+R)+` -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`+y/4.223+" -"+y+`c4,-6.7,10,-10,18,-10 H400000 -v`+(40+y)+`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+y)+" "+R+` -h400000v`+(40+y)+"h-400000z"},Rz=function(y,R){return"M473,"+(2713+y+R)+` -c339.3,-1799.3,509.3,-2700,510,-2702 l`+y/5.298+" -"+y+` -c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+y)+`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+y)+" "+R+"h400000v"+(40+y)+"H1017.7z"},Iz=function(y){var R=y/2;return"M400000 "+y+" H0 L"+R+" 0 l65 45 L145 "+(y-80)+" H400000z"},zz=function(y,R,Y){var oe=Y-54-R-y;return"M702 "+(y+R)+"H400000"+(40+y)+` -H742v`+oe+`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 `+R+"H400000v"+(40+y)+"H742z"},Fz=function(y,R,Y){R=1e3*R;var oe="";switch(y){case"sqrtMain":oe=kz(R,Pv);break;case"sqrtSize1":oe=Lz(R,Pv);break;case"sqrtSize2":oe=Pz(R,Pv);break;case"sqrtSize3":oe=Dz(R,Pv);break;case"sqrtSize4":oe=Rz(R,Pv);break;case"sqrtTall":oe=zz(R,Pv,Y)}return oe},Bz=function(y,R){switch(y){case"⎜":return"M291 0 H417 V"+R+" H291z M291 0 H417 V"+R+" H291z";case"∣":return"M145 0 H188 V"+R+" H145z M145 0 H188 V"+R+" H145z";case"∥":return"M145 0 H188 V"+R+" H145z M145 0 H188 V"+R+" H145z"+("M367 0 H410 V"+R+" H367z M367 0 H410 V"+R+" H367z");case"⎟":return"M457 0 H583 V"+R+" H457z M457 0 H583 V"+R+" H457z";case"⎢":return"M319 0 H403 V"+R+" H319z M319 0 H403 V"+R+" H319z";case"⎥":return"M263 0 H347 V"+R+" H263z M263 0 H347 V"+R+" H263z";case"⎪":return"M384 0 H504 V"+R+" H384z M384 0 H504 V"+R+" H384z";case"⏐":return"M312 0 H355 V"+R+" H312z M312 0 H355 V"+R+" H312z";case"‖":return"M257 0 H300 V"+R+" H257z M257 0 H300 V"+R+" H257z"+("M478 0 H521 V"+R+" H478z M478 0 H521 V"+R+" H478z");default:return""}},v8={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`},Oz=function(y,R){switch(y){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+R+` v1759 h347 v-84 -H403z M403 1759 V0 H319 V1759 v`+R+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+R+` v1759 H0 v84 H347z -M347 1759 V0 H263 V1759 v`+R+" v1759 h84z";case"vert":return"M145 15 v585 v"+R+` v585 c2.667,10,9.667,15,21,15 -c10,0,16.667,-5,20,-15 v-585 v`+-R+` v-585 c-2.667,-10,-9.667,-15,-21,-15 -c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+R+" v585 h43z";case"doublevert":return"M145 15 v585 v"+R+` v585 c2.667,10,9.667,15,21,15 -c10,0,16.667,-5,20,-15 v-585 v`+-R+` v-585 c-2.667,-10,-9.667,-15,-21,-15 -c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+R+` v585 h43z -M367 15 v585 v`+R+` v585 c2.667,10,9.667,15,21,15 -c10,0,16.667,-5,20,-15 v-585 v`+-R+` v-585 c-2.667,-10,-9.667,-15,-21,-15 -c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+R+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+R+` v1715 h263 v84 H319z -MM319 602 V0 H403 V602 v`+R+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+R+` v1799 H0 v-84 H319z -MM319 602 V0 H403 V602 v`+R+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+R+` v602 h84z -M403 1759 V0 H319 V1759 v`+R+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+R+` v602 h84z -M347 1759 V0 h-84 V1759 v`+R+" 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,`+(R+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,-`+(R+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,`+(R+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,-`+(R+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 Hp{constructor(y){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=y,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(y){return Ki.contains(this.classes,y)}toNode(){for(var y=document.createDocumentFragment(),R=0;R<this.children.length;R++)y.appendChild(this.children[R].toNode());return y}toMarkup(){for(var y="",R=0;R<this.children.length;R++)y+=this.children[R].toMarkup();return y}toText(){var y=R=>R.toText();return this.children.map(y).join("")}}var $0={"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]}},Im={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]},p8={Å:"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 _z(i,y){$0[i]=y}function z4(i,y,R){if(!$0[y])throw new Error("Font metrics not found for font: "+y+".");var Y=i.charCodeAt(0),oe=$0[y][Y];if(!oe&&i[0]in p8&&(Y=p8[i[0]].charCodeAt(0),oe=$0[y][Y]),!oe&&R==="text"&&DT(Y)&&(oe=$0[y][77]),oe)return{depth:oe[0],height:oe[1],italic:oe[2],skew:oe[3],width:oe[4]}}var H2={};function Nz(i){var y;if(i>=5?y=0:i>=3?y=1:y=2,!H2[y]){var R=H2[y]={cssEmPerMu:Im.quad[y]/18};for(var Y in Im)Im.hasOwnProperty(Y)&&(R[Y]=Im[Y][y])}return H2[y]}var Uz=[[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]],m8=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],g8=function(y,R){return R.size<2?y:Uz[y-1][R.size-1]};class xh{constructor(y){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=y.style,this.color=y.color,this.size=y.size||xh.BASESIZE,this.textSize=y.textSize||this.size,this.phantom=!!y.phantom,this.font=y.font||"",this.fontFamily=y.fontFamily||"",this.fontWeight=y.fontWeight||"",this.fontShape=y.fontShape||"",this.sizeMultiplier=m8[this.size-1],this.maxSize=y.maxSize,this.minRuleThickness=y.minRuleThickness,this._fontMetrics=void 0}extend(y){var R={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 Y in y)y.hasOwnProperty(Y)&&(R[Y]=y[Y]);return new xh(R)}havingStyle(y){return this.style===y?this:this.extend({style:y,size:g8(this.textSize,y)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(y){return this.size===y&&this.textSize===y?this:this.extend({style:this.style.text(),size:y,textSize:y,sizeMultiplier:m8[y-1]})}havingBaseStyle(y){y=y||this.style.text();var R=g8(xh.BASESIZE,y);return this.size===R&&this.textSize===xh.BASESIZE&&this.style===y?this:this.extend({style:y,size:R})}havingBaseSizing(){var y;switch(this.style.id){case 4:case 5:y=3;break;case 6:case 7:y=1;break;default:y=6}return this.extend({style:this.style.text(),size:y})}withColor(y){return this.extend({color:y})}withPhantom(){return this.extend({phantom:!0})}withFont(y){return this.extend({font:y})}withTextFontFamily(y){return this.extend({fontFamily:y,font:""})}withTextFontWeight(y){return this.extend({fontWeight:y,font:""})}withTextFontShape(y){return this.extend({fontShape:y,font:""})}sizingClasses(y){return y.size!==this.size?["sizing","reset-size"+y.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==xh.BASESIZE?["sizing","reset-size"+this.size,"size"+xh.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Nz(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}xh.BASESIZE=6;var u3={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},Hz={ex:!0,em:!0,mu:!0},RT=function(y){return typeof y!="string"&&(y=y.unit),y in u3||y in Hz||y==="ex"},dl=function(y,R){var Y;if(y.unit in u3)Y=u3[y.unit]/R.fontMetrics().ptPerEm/R.sizeMultiplier;else if(y.unit==="mu")Y=R.fontMetrics().cssEmPerMu;else{var oe;if(R.style.isTight()?oe=R.havingStyle(R.style.text()):oe=R,y.unit==="ex")Y=oe.fontMetrics().xHeight;else if(y.unit==="em")Y=oe.fontMetrics().quad;else throw new ti("Invalid unit: '"+y.unit+"'");oe!==R&&(Y*=oe.sizeMultiplier/R.sizeMultiplier)}return Math.min(y.number*Y,R.maxSize)},mi=function(y){return+y.toFixed(4)+"em"},yd=function(y){return y.filter(R=>R).join(" ")},IT=function(y,R,Y){if(this.classes=y||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Y||{},R){R.style.isTight()&&this.classes.push("mtight");var oe=R.getColor();oe&&(this.style.color=oe)}},zT=function(y){var R=document.createElement(y);R.className=yd(this.classes);for(var Y in this.style)this.style.hasOwnProperty(Y)&&(R.style[Y]=this.style[Y]);for(var oe in this.attributes)this.attributes.hasOwnProperty(oe)&&R.setAttribute(oe,this.attributes[oe]);for(var he=0;he<this.children.length;he++)R.appendChild(this.children[he].toNode());return R},FT=function(y){var R="<"+y;this.classes.length&&(R+=' class="'+Ki.escape(yd(this.classes))+'"');var Y="";for(var oe in this.style)this.style.hasOwnProperty(oe)&&(Y+=Ki.hyphenate(oe)+":"+this.style[oe]+";");Y&&(R+=' style="'+Ki.escape(Y)+'"');for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&(R+=" "+he+'="'+Ki.escape(this.attributes[he])+'"');R+=">";for(var B=0;B<this.children.length;B++)R+=this.children[B].toMarkup();return R+="</"+y+">",R};class Vp{constructor(y,R,Y,oe){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,IT.call(this,y,Y,oe),this.children=R||[]}setAttribute(y,R){this.attributes[y]=R}hasClass(y){return Ki.contains(this.classes,y)}toNode(){return zT.call(this,"span")}toMarkup(){return FT.call(this,"span")}}class F4{constructor(y,R,Y,oe){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,IT.call(this,R,oe),this.children=Y||[],this.setAttribute("href",y)}setAttribute(y,R){this.attributes[y]=R}hasClass(y){return Ki.contains(this.classes,y)}toNode(){return zT.call(this,"a")}toMarkup(){return FT.call(this,"a")}}class Vz{constructor(y,R,Y){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=R,this.src=y,this.classes=["mord"],this.style=Y}hasClass(y){return Ki.contains(this.classes,y)}toNode(){var y=document.createElement("img");y.src=this.src,y.alt=this.alt,y.className="mord";for(var R in this.style)this.style.hasOwnProperty(R)&&(y.style[R]=this.style[R]);return y}toMarkup(){var y="<img src='"+this.src+" 'alt='"+this.alt+"' ",R="";for(var Y in this.style)this.style.hasOwnProperty(Y)&&(R+=Ki.hyphenate(Y)+":"+this.style[Y]+";");return R&&(y+=' style="'+Ki.escape(R)+'"'),y+="'/>",y}}var Gz={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class c0{constructor(y,R,Y,oe,he,B,O,e){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=y,this.height=R||0,this.depth=Y||0,this.italic=oe||0,this.skew=he||0,this.width=B||0,this.classes=O||[],this.style=e||{},this.maxFontSize=0;var p=Ez(this.text.charCodeAt(0));p&&this.classes.push(p+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Gz[this.text])}hasClass(y){return Ki.contains(this.classes,y)}toNode(){var y=document.createTextNode(this.text),R=null;this.italic>0&&(R=document.createElement("span"),R.style.marginRight=mi(this.italic)),this.classes.length>0&&(R=R||document.createElement("span"),R.className=yd(this.classes));for(var Y in this.style)this.style.hasOwnProperty(Y)&&(R=R||document.createElement("span"),R.style[Y]=this.style[Y]);return R?(R.appendChild(y),R):y}toMarkup(){var y=!1,R="<span";this.classes.length&&(y=!0,R+=' class="',R+=Ki.escape(yd(this.classes)),R+='"');var Y="";this.italic>0&&(Y+="margin-right:"+this.italic+"em;");for(var oe in this.style)this.style.hasOwnProperty(oe)&&(Y+=Ki.hyphenate(oe)+":"+this.style[oe]+";");Y&&(y=!0,R+=' style="'+Ki.escape(Y)+'"');var he=Ki.escape(this.text);return y?(R+=">",R+=he,R+="</span>",R):he}}class Ph{constructor(y,R){this.children=void 0,this.attributes=void 0,this.children=y||[],this.attributes=R||{}}toNode(){var y="http://www.w3.org/2000/svg",R=document.createElementNS(y,"svg");for(var Y in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Y)&&R.setAttribute(Y,this.attributes[Y]);for(var oe=0;oe<this.children.length;oe++)R.appendChild(this.children[oe].toNode());return R}toMarkup(){var y='<svg xmlns="http://www.w3.org/2000/svg"';for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&(y+=" "+R+"='"+this.attributes[R]+"'");y+=">";for(var Y=0;Y<this.children.length;Y++)y+=this.children[Y].toMarkup();return y+="</svg>",y}}class xd{constructor(y,R){this.pathName=void 0,this.alternate=void 0,this.pathName=y,this.alternate=R}toNode(){var y="http://www.w3.org/2000/svg",R=document.createElementNS(y,"path");return this.alternate?R.setAttribute("d",this.alternate):R.setAttribute("d",v8[this.pathName]),R}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+v8[this.pathName]+"'/>"}}class f3{constructor(y){this.attributes=void 0,this.attributes=y||{}}toNode(){var y="http://www.w3.org/2000/svg",R=document.createElementNS(y,"line");for(var Y in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Y)&&R.setAttribute(Y,this.attributes[Y]);return R}toMarkup(){var y="<line";for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&(y+=" "+R+"='"+this.attributes[R]+"'");return y+="/>",y}}function y8(i){if(i instanceof c0)return i;throw new Error("Expected symbolNode but got "+String(i)+".")}function Wz(i){if(i instanceof Vp)return i;throw new Error("Expected span<HtmlDomNode> but got "+String(i)+".")}var Yz={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Zz={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Vs={math:{},text:{}};function Ft(i,y,R,Y,oe,he){Vs[i][oe]={font:y,group:R,replace:Y},he&&Y&&(Vs[i][Y]=Vs[i][oe])}var er="math",Za="text",Er="main",Sn="ams",el="accent-token",Ci="bin",Uf="close",v1="inner",Yi="mathord",ru="op-token",Hc="open",yy="punct",Cn="rel",zh="spacing",$n="textord";Ft(er,Er,Cn,"≡","\\equiv",!0);Ft(er,Er,Cn,"≺","\\prec",!0);Ft(er,Er,Cn,"≻","\\succ",!0);Ft(er,Er,Cn,"∼","\\sim",!0);Ft(er,Er,Cn,"⊥","\\perp");Ft(er,Er,Cn,"⪯","\\preceq",!0);Ft(er,Er,Cn,"⪰","\\succeq",!0);Ft(er,Er,Cn,"≃","\\simeq",!0);Ft(er,Er,Cn,"∣","\\mid",!0);Ft(er,Er,Cn,"≪","\\ll",!0);Ft(er,Er,Cn,"≫","\\gg",!0);Ft(er,Er,Cn,"≍","\\asymp",!0);Ft(er,Er,Cn,"∥","\\parallel");Ft(er,Er,Cn,"⋈","\\bowtie",!0);Ft(er,Er,Cn,"⌣","\\smile",!0);Ft(er,Er,Cn,"⊑","\\sqsubseteq",!0);Ft(er,Er,Cn,"⊒","\\sqsupseteq",!0);Ft(er,Er,Cn,"≐","\\doteq",!0);Ft(er,Er,Cn,"⌢","\\frown",!0);Ft(er,Er,Cn,"∋","\\ni",!0);Ft(er,Er,Cn,"∝","\\propto",!0);Ft(er,Er,Cn,"⊢","\\vdash",!0);Ft(er,Er,Cn,"⊣","\\dashv",!0);Ft(er,Er,Cn,"∋","\\owns");Ft(er,Er,yy,".","\\ldotp");Ft(er,Er,yy,"⋅","\\cdotp");Ft(er,Er,$n,"#","\\#");Ft(Za,Er,$n,"#","\\#");Ft(er,Er,$n,"&","\\&");Ft(Za,Er,$n,"&","\\&");Ft(er,Er,$n,"ℵ","\\aleph",!0);Ft(er,Er,$n,"∀","\\forall",!0);Ft(er,Er,$n,"ℏ","\\hbar",!0);Ft(er,Er,$n,"∃","\\exists",!0);Ft(er,Er,$n,"∇","\\nabla",!0);Ft(er,Er,$n,"♭","\\flat",!0);Ft(er,Er,$n,"ℓ","\\ell",!0);Ft(er,Er,$n,"♮","\\natural",!0);Ft(er,Er,$n,"♣","\\clubsuit",!0);Ft(er,Er,$n,"℘","\\wp",!0);Ft(er,Er,$n,"♯","\\sharp",!0);Ft(er,Er,$n,"♢","\\diamondsuit",!0);Ft(er,Er,$n,"ℜ","\\Re",!0);Ft(er,Er,$n,"♡","\\heartsuit",!0);Ft(er,Er,$n,"ℑ","\\Im",!0);Ft(er,Er,$n,"♠","\\spadesuit",!0);Ft(er,Er,$n,"§","\\S",!0);Ft(Za,Er,$n,"§","\\S");Ft(er,Er,$n,"¶","\\P",!0);Ft(Za,Er,$n,"¶","\\P");Ft(er,Er,$n,"†","\\dag");Ft(Za,Er,$n,"†","\\dag");Ft(Za,Er,$n,"†","\\textdagger");Ft(er,Er,$n,"‡","\\ddag");Ft(Za,Er,$n,"‡","\\ddag");Ft(Za,Er,$n,"‡","\\textdaggerdbl");Ft(er,Er,Uf,"⎱","\\rmoustache",!0);Ft(er,Er,Hc,"⎰","\\lmoustache",!0);Ft(er,Er,Uf,"⟯","\\rgroup",!0);Ft(er,Er,Hc,"⟮","\\lgroup",!0);Ft(er,Er,Ci,"∓","\\mp",!0);Ft(er,Er,Ci,"⊖","\\ominus",!0);Ft(er,Er,Ci,"⊎","\\uplus",!0);Ft(er,Er,Ci,"⊓","\\sqcap",!0);Ft(er,Er,Ci,"∗","\\ast");Ft(er,Er,Ci,"⊔","\\sqcup",!0);Ft(er,Er,Ci,"◯","\\bigcirc",!0);Ft(er,Er,Ci,"∙","\\bullet",!0);Ft(er,Er,Ci,"‡","\\ddagger");Ft(er,Er,Ci,"≀","\\wr",!0);Ft(er,Er,Ci,"⨿","\\amalg");Ft(er,Er,Ci,"&","\\And");Ft(er,Er,Cn,"⟵","\\longleftarrow",!0);Ft(er,Er,Cn,"⇐","\\Leftarrow",!0);Ft(er,Er,Cn,"⟸","\\Longleftarrow",!0);Ft(er,Er,Cn,"⟶","\\longrightarrow",!0);Ft(er,Er,Cn,"⇒","\\Rightarrow",!0);Ft(er,Er,Cn,"⟹","\\Longrightarrow",!0);Ft(er,Er,Cn,"↔","\\leftrightarrow",!0);Ft(er,Er,Cn,"⟷","\\longleftrightarrow",!0);Ft(er,Er,Cn,"⇔","\\Leftrightarrow",!0);Ft(er,Er,Cn,"⟺","\\Longleftrightarrow",!0);Ft(er,Er,Cn,"↦","\\mapsto",!0);Ft(er,Er,Cn,"⟼","\\longmapsto",!0);Ft(er,Er,Cn,"↗","\\nearrow",!0);Ft(er,Er,Cn,"↩","\\hookleftarrow",!0);Ft(er,Er,Cn,"↪","\\hookrightarrow",!0);Ft(er,Er,Cn,"↘","\\searrow",!0);Ft(er,Er,Cn,"↼","\\leftharpoonup",!0);Ft(er,Er,Cn,"⇀","\\rightharpoonup",!0);Ft(er,Er,Cn,"↙","\\swarrow",!0);Ft(er,Er,Cn,"↽","\\leftharpoondown",!0);Ft(er,Er,Cn,"⇁","\\rightharpoondown",!0);Ft(er,Er,Cn,"↖","\\nwarrow",!0);Ft(er,Er,Cn,"⇌","\\rightleftharpoons",!0);Ft(er,Sn,Cn,"≮","\\nless",!0);Ft(er,Sn,Cn,"","\\@nleqslant");Ft(er,Sn,Cn,"","\\@nleqq");Ft(er,Sn,Cn,"⪇","\\lneq",!0);Ft(er,Sn,Cn,"≨","\\lneqq",!0);Ft(er,Sn,Cn,"","\\@lvertneqq");Ft(er,Sn,Cn,"⋦","\\lnsim",!0);Ft(er,Sn,Cn,"⪉","\\lnapprox",!0);Ft(er,Sn,Cn,"⊀","\\nprec",!0);Ft(er,Sn,Cn,"⋠","\\npreceq",!0);Ft(er,Sn,Cn,"⋨","\\precnsim",!0);Ft(er,Sn,Cn,"⪹","\\precnapprox",!0);Ft(er,Sn,Cn,"≁","\\nsim",!0);Ft(er,Sn,Cn,"","\\@nshortmid");Ft(er,Sn,Cn,"∤","\\nmid",!0);Ft(er,Sn,Cn,"⊬","\\nvdash",!0);Ft(er,Sn,Cn,"⊭","\\nvDash",!0);Ft(er,Sn,Cn,"⋪","\\ntriangleleft");Ft(er,Sn,Cn,"⋬","\\ntrianglelefteq",!0);Ft(er,Sn,Cn,"⊊","\\subsetneq",!0);Ft(er,Sn,Cn,"","\\@varsubsetneq");Ft(er,Sn,Cn,"⫋","\\subsetneqq",!0);Ft(er,Sn,Cn,"","\\@varsubsetneqq");Ft(er,Sn,Cn,"≯","\\ngtr",!0);Ft(er,Sn,Cn,"","\\@ngeqslant");Ft(er,Sn,Cn,"","\\@ngeqq");Ft(er,Sn,Cn,"⪈","\\gneq",!0);Ft(er,Sn,Cn,"≩","\\gneqq",!0);Ft(er,Sn,Cn,"","\\@gvertneqq");Ft(er,Sn,Cn,"⋧","\\gnsim",!0);Ft(er,Sn,Cn,"⪊","\\gnapprox",!0);Ft(er,Sn,Cn,"⊁","\\nsucc",!0);Ft(er,Sn,Cn,"⋡","\\nsucceq",!0);Ft(er,Sn,Cn,"⋩","\\succnsim",!0);Ft(er,Sn,Cn,"⪺","\\succnapprox",!0);Ft(er,Sn,Cn,"≆","\\ncong",!0);Ft(er,Sn,Cn,"","\\@nshortparallel");Ft(er,Sn,Cn,"∦","\\nparallel",!0);Ft(er,Sn,Cn,"⊯","\\nVDash",!0);Ft(er,Sn,Cn,"⋫","\\ntriangleright");Ft(er,Sn,Cn,"⋭","\\ntrianglerighteq",!0);Ft(er,Sn,Cn,"","\\@nsupseteqq");Ft(er,Sn,Cn,"⊋","\\supsetneq",!0);Ft(er,Sn,Cn,"","\\@varsupsetneq");Ft(er,Sn,Cn,"⫌","\\supsetneqq",!0);Ft(er,Sn,Cn,"","\\@varsupsetneqq");Ft(er,Sn,Cn,"⊮","\\nVdash",!0);Ft(er,Sn,Cn,"⪵","\\precneqq",!0);Ft(er,Sn,Cn,"⪶","\\succneqq",!0);Ft(er,Sn,Cn,"","\\@nsubseteqq");Ft(er,Sn,Ci,"⊴","\\unlhd");Ft(er,Sn,Ci,"⊵","\\unrhd");Ft(er,Sn,Cn,"↚","\\nleftarrow",!0);Ft(er,Sn,Cn,"↛","\\nrightarrow",!0);Ft(er,Sn,Cn,"⇍","\\nLeftarrow",!0);Ft(er,Sn,Cn,"⇏","\\nRightarrow",!0);Ft(er,Sn,Cn,"↮","\\nleftrightarrow",!0);Ft(er,Sn,Cn,"⇎","\\nLeftrightarrow",!0);Ft(er,Sn,Cn,"△","\\vartriangle");Ft(er,Sn,$n,"ℏ","\\hslash");Ft(er,Sn,$n,"▽","\\triangledown");Ft(er,Sn,$n,"◊","\\lozenge");Ft(er,Sn,$n,"Ⓢ","\\circledS");Ft(er,Sn,$n,"®","\\circledR");Ft(Za,Sn,$n,"®","\\circledR");Ft(er,Sn,$n,"∡","\\measuredangle",!0);Ft(er,Sn,$n,"∄","\\nexists");Ft(er,Sn,$n,"℧","\\mho");Ft(er,Sn,$n,"Ⅎ","\\Finv",!0);Ft(er,Sn,$n,"⅁","\\Game",!0);Ft(er,Sn,$n,"‵","\\backprime");Ft(er,Sn,$n,"▲","\\blacktriangle");Ft(er,Sn,$n,"▼","\\blacktriangledown");Ft(er,Sn,$n,"■","\\blacksquare");Ft(er,Sn,$n,"⧫","\\blacklozenge");Ft(er,Sn,$n,"★","\\bigstar");Ft(er,Sn,$n,"∢","\\sphericalangle",!0);Ft(er,Sn,$n,"∁","\\complement",!0);Ft(er,Sn,$n,"ð","\\eth",!0);Ft(Za,Er,$n,"ð","ð");Ft(er,Sn,$n,"╱","\\diagup");Ft(er,Sn,$n,"╲","\\diagdown");Ft(er,Sn,$n,"□","\\square");Ft(er,Sn,$n,"□","\\Box");Ft(er,Sn,$n,"◊","\\Diamond");Ft(er,Sn,$n,"¥","\\yen",!0);Ft(Za,Sn,$n,"¥","\\yen",!0);Ft(er,Sn,$n,"✓","\\checkmark",!0);Ft(Za,Sn,$n,"✓","\\checkmark");Ft(er,Sn,$n,"ℶ","\\beth",!0);Ft(er,Sn,$n,"ℸ","\\daleth",!0);Ft(er,Sn,$n,"ℷ","\\gimel",!0);Ft(er,Sn,$n,"ϝ","\\digamma",!0);Ft(er,Sn,$n,"ϰ","\\varkappa");Ft(er,Sn,Hc,"┌","\\@ulcorner",!0);Ft(er,Sn,Uf,"┐","\\@urcorner",!0);Ft(er,Sn,Hc,"└","\\@llcorner",!0);Ft(er,Sn,Uf,"┘","\\@lrcorner",!0);Ft(er,Sn,Cn,"≦","\\leqq",!0);Ft(er,Sn,Cn,"⩽","\\leqslant",!0);Ft(er,Sn,Cn,"⪕","\\eqslantless",!0);Ft(er,Sn,Cn,"≲","\\lesssim",!0);Ft(er,Sn,Cn,"⪅","\\lessapprox",!0);Ft(er,Sn,Cn,"≊","\\approxeq",!0);Ft(er,Sn,Ci,"⋖","\\lessdot");Ft(er,Sn,Cn,"⋘","\\lll",!0);Ft(er,Sn,Cn,"≶","\\lessgtr",!0);Ft(er,Sn,Cn,"⋚","\\lesseqgtr",!0);Ft(er,Sn,Cn,"⪋","\\lesseqqgtr",!0);Ft(er,Sn,Cn,"≑","\\doteqdot");Ft(er,Sn,Cn,"≓","\\risingdotseq",!0);Ft(er,Sn,Cn,"≒","\\fallingdotseq",!0);Ft(er,Sn,Cn,"∽","\\backsim",!0);Ft(er,Sn,Cn,"⋍","\\backsimeq",!0);Ft(er,Sn,Cn,"⫅","\\subseteqq",!0);Ft(er,Sn,Cn,"⋐","\\Subset",!0);Ft(er,Sn,Cn,"⊏","\\sqsubset",!0);Ft(er,Sn,Cn,"≼","\\preccurlyeq",!0);Ft(er,Sn,Cn,"⋞","\\curlyeqprec",!0);Ft(er,Sn,Cn,"≾","\\precsim",!0);Ft(er,Sn,Cn,"⪷","\\precapprox",!0);Ft(er,Sn,Cn,"⊲","\\vartriangleleft");Ft(er,Sn,Cn,"⊴","\\trianglelefteq");Ft(er,Sn,Cn,"⊨","\\vDash",!0);Ft(er,Sn,Cn,"⊪","\\Vvdash",!0);Ft(er,Sn,Cn,"⌣","\\smallsmile");Ft(er,Sn,Cn,"⌢","\\smallfrown");Ft(er,Sn,Cn,"≏","\\bumpeq",!0);Ft(er,Sn,Cn,"≎","\\Bumpeq",!0);Ft(er,Sn,Cn,"≧","\\geqq",!0);Ft(er,Sn,Cn,"⩾","\\geqslant",!0);Ft(er,Sn,Cn,"⪖","\\eqslantgtr",!0);Ft(er,Sn,Cn,"≳","\\gtrsim",!0);Ft(er,Sn,Cn,"⪆","\\gtrapprox",!0);Ft(er,Sn,Ci,"⋗","\\gtrdot");Ft(er,Sn,Cn,"⋙","\\ggg",!0);Ft(er,Sn,Cn,"≷","\\gtrless",!0);Ft(er,Sn,Cn,"⋛","\\gtreqless",!0);Ft(er,Sn,Cn,"⪌","\\gtreqqless",!0);Ft(er,Sn,Cn,"≖","\\eqcirc",!0);Ft(er,Sn,Cn,"≗","\\circeq",!0);Ft(er,Sn,Cn,"≜","\\triangleq",!0);Ft(er,Sn,Cn,"∼","\\thicksim");Ft(er,Sn,Cn,"≈","\\thickapprox");Ft(er,Sn,Cn,"⫆","\\supseteqq",!0);Ft(er,Sn,Cn,"⋑","\\Supset",!0);Ft(er,Sn,Cn,"⊐","\\sqsupset",!0);Ft(er,Sn,Cn,"≽","\\succcurlyeq",!0);Ft(er,Sn,Cn,"⋟","\\curlyeqsucc",!0);Ft(er,Sn,Cn,"≿","\\succsim",!0);Ft(er,Sn,Cn,"⪸","\\succapprox",!0);Ft(er,Sn,Cn,"⊳","\\vartriangleright");Ft(er,Sn,Cn,"⊵","\\trianglerighteq");Ft(er,Sn,Cn,"⊩","\\Vdash",!0);Ft(er,Sn,Cn,"∣","\\shortmid");Ft(er,Sn,Cn,"∥","\\shortparallel");Ft(er,Sn,Cn,"≬","\\between",!0);Ft(er,Sn,Cn,"⋔","\\pitchfork",!0);Ft(er,Sn,Cn,"∝","\\varpropto");Ft(er,Sn,Cn,"◀","\\blacktriangleleft");Ft(er,Sn,Cn,"∴","\\therefore",!0);Ft(er,Sn,Cn,"∍","\\backepsilon");Ft(er,Sn,Cn,"▶","\\blacktriangleright");Ft(er,Sn,Cn,"∵","\\because",!0);Ft(er,Sn,Cn,"⋘","\\llless");Ft(er,Sn,Cn,"⋙","\\gggtr");Ft(er,Sn,Ci,"⊲","\\lhd");Ft(er,Sn,Ci,"⊳","\\rhd");Ft(er,Sn,Cn,"≂","\\eqsim",!0);Ft(er,Er,Cn,"⋈","\\Join");Ft(er,Sn,Cn,"≑","\\Doteq",!0);Ft(er,Sn,Ci,"∔","\\dotplus",!0);Ft(er,Sn,Ci,"∖","\\smallsetminus");Ft(er,Sn,Ci,"⋒","\\Cap",!0);Ft(er,Sn,Ci,"⋓","\\Cup",!0);Ft(er,Sn,Ci,"⩞","\\doublebarwedge",!0);Ft(er,Sn,Ci,"⊟","\\boxminus",!0);Ft(er,Sn,Ci,"⊞","\\boxplus",!0);Ft(er,Sn,Ci,"⋇","\\divideontimes",!0);Ft(er,Sn,Ci,"⋉","\\ltimes",!0);Ft(er,Sn,Ci,"⋊","\\rtimes",!0);Ft(er,Sn,Ci,"⋋","\\leftthreetimes",!0);Ft(er,Sn,Ci,"⋌","\\rightthreetimes",!0);Ft(er,Sn,Ci,"⋏","\\curlywedge",!0);Ft(er,Sn,Ci,"⋎","\\curlyvee",!0);Ft(er,Sn,Ci,"⊝","\\circleddash",!0);Ft(er,Sn,Ci,"⊛","\\circledast",!0);Ft(er,Sn,Ci,"⋅","\\centerdot");Ft(er,Sn,Ci,"⊺","\\intercal",!0);Ft(er,Sn,Ci,"⋒","\\doublecap");Ft(er,Sn,Ci,"⋓","\\doublecup");Ft(er,Sn,Ci,"⊠","\\boxtimes",!0);Ft(er,Sn,Cn,"⇢","\\dashrightarrow",!0);Ft(er,Sn,Cn,"⇠","\\dashleftarrow",!0);Ft(er,Sn,Cn,"⇇","\\leftleftarrows",!0);Ft(er,Sn,Cn,"⇆","\\leftrightarrows",!0);Ft(er,Sn,Cn,"⇚","\\Lleftarrow",!0);Ft(er,Sn,Cn,"↞","\\twoheadleftarrow",!0);Ft(er,Sn,Cn,"↢","\\leftarrowtail",!0);Ft(er,Sn,Cn,"↫","\\looparrowleft",!0);Ft(er,Sn,Cn,"⇋","\\leftrightharpoons",!0);Ft(er,Sn,Cn,"↶","\\curvearrowleft",!0);Ft(er,Sn,Cn,"↺","\\circlearrowleft",!0);Ft(er,Sn,Cn,"↰","\\Lsh",!0);Ft(er,Sn,Cn,"⇈","\\upuparrows",!0);Ft(er,Sn,Cn,"↿","\\upharpoonleft",!0);Ft(er,Sn,Cn,"⇃","\\downharpoonleft",!0);Ft(er,Er,Cn,"⊶","\\origof",!0);Ft(er,Er,Cn,"⊷","\\imageof",!0);Ft(er,Sn,Cn,"⊸","\\multimap",!0);Ft(er,Sn,Cn,"↭","\\leftrightsquigarrow",!0);Ft(er,Sn,Cn,"⇉","\\rightrightarrows",!0);Ft(er,Sn,Cn,"⇄","\\rightleftarrows",!0);Ft(er,Sn,Cn,"↠","\\twoheadrightarrow",!0);Ft(er,Sn,Cn,"↣","\\rightarrowtail",!0);Ft(er,Sn,Cn,"↬","\\looparrowright",!0);Ft(er,Sn,Cn,"↷","\\curvearrowright",!0);Ft(er,Sn,Cn,"↻","\\circlearrowright",!0);Ft(er,Sn,Cn,"↱","\\Rsh",!0);Ft(er,Sn,Cn,"⇊","\\downdownarrows",!0);Ft(er,Sn,Cn,"↾","\\upharpoonright",!0);Ft(er,Sn,Cn,"⇂","\\downharpoonright",!0);Ft(er,Sn,Cn,"⇝","\\rightsquigarrow",!0);Ft(er,Sn,Cn,"⇝","\\leadsto");Ft(er,Sn,Cn,"⇛","\\Rrightarrow",!0);Ft(er,Sn,Cn,"↾","\\restriction");Ft(er,Er,$n,"‘","`");Ft(er,Er,$n,"$","\\$");Ft(Za,Er,$n,"$","\\$");Ft(Za,Er,$n,"$","\\textdollar");Ft(er,Er,$n,"%","\\%");Ft(Za,Er,$n,"%","\\%");Ft(er,Er,$n,"_","\\_");Ft(Za,Er,$n,"_","\\_");Ft(Za,Er,$n,"_","\\textunderscore");Ft(er,Er,$n,"∠","\\angle",!0);Ft(er,Er,$n,"∞","\\infty",!0);Ft(er,Er,$n,"′","\\prime");Ft(er,Er,$n,"△","\\triangle");Ft(er,Er,$n,"Γ","\\Gamma",!0);Ft(er,Er,$n,"Δ","\\Delta",!0);Ft(er,Er,$n,"Θ","\\Theta",!0);Ft(er,Er,$n,"Λ","\\Lambda",!0);Ft(er,Er,$n,"Ξ","\\Xi",!0);Ft(er,Er,$n,"Π","\\Pi",!0);Ft(er,Er,$n,"Σ","\\Sigma",!0);Ft(er,Er,$n,"Υ","\\Upsilon",!0);Ft(er,Er,$n,"Φ","\\Phi",!0);Ft(er,Er,$n,"Ψ","\\Psi",!0);Ft(er,Er,$n,"Ω","\\Omega",!0);Ft(er,Er,$n,"A","Α");Ft(er,Er,$n,"B","Β");Ft(er,Er,$n,"E","Ε");Ft(er,Er,$n,"Z","Ζ");Ft(er,Er,$n,"H","Η");Ft(er,Er,$n,"I","Ι");Ft(er,Er,$n,"K","Κ");Ft(er,Er,$n,"M","Μ");Ft(er,Er,$n,"N","Ν");Ft(er,Er,$n,"O","Ο");Ft(er,Er,$n,"P","Ρ");Ft(er,Er,$n,"T","Τ");Ft(er,Er,$n,"X","Χ");Ft(er,Er,$n,"¬","\\neg",!0);Ft(er,Er,$n,"¬","\\lnot");Ft(er,Er,$n,"⊤","\\top");Ft(er,Er,$n,"⊥","\\bot");Ft(er,Er,$n,"∅","\\emptyset");Ft(er,Sn,$n,"∅","\\varnothing");Ft(er,Er,Yi,"α","\\alpha",!0);Ft(er,Er,Yi,"β","\\beta",!0);Ft(er,Er,Yi,"γ","\\gamma",!0);Ft(er,Er,Yi,"δ","\\delta",!0);Ft(er,Er,Yi,"ϵ","\\epsilon",!0);Ft(er,Er,Yi,"ζ","\\zeta",!0);Ft(er,Er,Yi,"η","\\eta",!0);Ft(er,Er,Yi,"θ","\\theta",!0);Ft(er,Er,Yi,"ι","\\iota",!0);Ft(er,Er,Yi,"κ","\\kappa",!0);Ft(er,Er,Yi,"λ","\\lambda",!0);Ft(er,Er,Yi,"μ","\\mu",!0);Ft(er,Er,Yi,"ν","\\nu",!0);Ft(er,Er,Yi,"ξ","\\xi",!0);Ft(er,Er,Yi,"ο","\\omicron",!0);Ft(er,Er,Yi,"π","\\pi",!0);Ft(er,Er,Yi,"ρ","\\rho",!0);Ft(er,Er,Yi,"σ","\\sigma",!0);Ft(er,Er,Yi,"τ","\\tau",!0);Ft(er,Er,Yi,"υ","\\upsilon",!0);Ft(er,Er,Yi,"ϕ","\\phi",!0);Ft(er,Er,Yi,"χ","\\chi",!0);Ft(er,Er,Yi,"ψ","\\psi",!0);Ft(er,Er,Yi,"ω","\\omega",!0);Ft(er,Er,Yi,"ε","\\varepsilon",!0);Ft(er,Er,Yi,"ϑ","\\vartheta",!0);Ft(er,Er,Yi,"ϖ","\\varpi",!0);Ft(er,Er,Yi,"ϱ","\\varrho",!0);Ft(er,Er,Yi,"ς","\\varsigma",!0);Ft(er,Er,Yi,"φ","\\varphi",!0);Ft(er,Er,Ci,"∗","*",!0);Ft(er,Er,Ci,"+","+");Ft(er,Er,Ci,"−","-",!0);Ft(er,Er,Ci,"⋅","\\cdot",!0);Ft(er,Er,Ci,"∘","\\circ",!0);Ft(er,Er,Ci,"÷","\\div",!0);Ft(er,Er,Ci,"±","\\pm",!0);Ft(er,Er,Ci,"×","\\times",!0);Ft(er,Er,Ci,"∩","\\cap",!0);Ft(er,Er,Ci,"∪","\\cup",!0);Ft(er,Er,Ci,"∖","\\setminus",!0);Ft(er,Er,Ci,"∧","\\land");Ft(er,Er,Ci,"∨","\\lor");Ft(er,Er,Ci,"∧","\\wedge",!0);Ft(er,Er,Ci,"∨","\\vee",!0);Ft(er,Er,$n,"√","\\surd");Ft(er,Er,Hc,"⟨","\\langle",!0);Ft(er,Er,Hc,"∣","\\lvert");Ft(er,Er,Hc,"∥","\\lVert");Ft(er,Er,Uf,"?","?");Ft(er,Er,Uf,"!","!");Ft(er,Er,Uf,"⟩","\\rangle",!0);Ft(er,Er,Uf,"∣","\\rvert");Ft(er,Er,Uf,"∥","\\rVert");Ft(er,Er,Cn,"=","=");Ft(er,Er,Cn,":",":");Ft(er,Er,Cn,"≈","\\approx",!0);Ft(er,Er,Cn,"≅","\\cong",!0);Ft(er,Er,Cn,"≥","\\ge");Ft(er,Er,Cn,"≥","\\geq",!0);Ft(er,Er,Cn,"←","\\gets");Ft(er,Er,Cn,">","\\gt",!0);Ft(er,Er,Cn,"∈","\\in",!0);Ft(er,Er,Cn,"","\\@not");Ft(er,Er,Cn,"⊂","\\subset",!0);Ft(er,Er,Cn,"⊃","\\supset",!0);Ft(er,Er,Cn,"⊆","\\subseteq",!0);Ft(er,Er,Cn,"⊇","\\supseteq",!0);Ft(er,Sn,Cn,"⊈","\\nsubseteq",!0);Ft(er,Sn,Cn,"⊉","\\nsupseteq",!0);Ft(er,Er,Cn,"⊨","\\models");Ft(er,Er,Cn,"←","\\leftarrow",!0);Ft(er,Er,Cn,"≤","\\le");Ft(er,Er,Cn,"≤","\\leq",!0);Ft(er,Er,Cn,"<","\\lt",!0);Ft(er,Er,Cn,"→","\\rightarrow",!0);Ft(er,Er,Cn,"→","\\to");Ft(er,Sn,Cn,"≱","\\ngeq",!0);Ft(er,Sn,Cn,"≰","\\nleq",!0);Ft(er,Er,zh," ","\\ ");Ft(er,Er,zh," ","\\space");Ft(er,Er,zh," ","\\nobreakspace");Ft(Za,Er,zh," ","\\ ");Ft(Za,Er,zh," "," ");Ft(Za,Er,zh," ","\\space");Ft(Za,Er,zh," ","\\nobreakspace");Ft(er,Er,zh,null,"\\nobreak");Ft(er,Er,zh,null,"\\allowbreak");Ft(er,Er,yy,",",",");Ft(er,Er,yy,";",";");Ft(er,Sn,Ci,"⊼","\\barwedge",!0);Ft(er,Sn,Ci,"⊻","\\veebar",!0);Ft(er,Er,Ci,"⊙","\\odot",!0);Ft(er,Er,Ci,"⊕","\\oplus",!0);Ft(er,Er,Ci,"⊗","\\otimes",!0);Ft(er,Er,$n,"∂","\\partial",!0);Ft(er,Er,Ci,"⊘","\\oslash",!0);Ft(er,Sn,Ci,"⊚","\\circledcirc",!0);Ft(er,Sn,Ci,"⊡","\\boxdot",!0);Ft(er,Er,Ci,"△","\\bigtriangleup");Ft(er,Er,Ci,"▽","\\bigtriangledown");Ft(er,Er,Ci,"†","\\dagger");Ft(er,Er,Ci,"⋄","\\diamond");Ft(er,Er,Ci,"⋆","\\star");Ft(er,Er,Ci,"◃","\\triangleleft");Ft(er,Er,Ci,"▹","\\triangleright");Ft(er,Er,Hc,"{","\\{");Ft(Za,Er,$n,"{","\\{");Ft(Za,Er,$n,"{","\\textbraceleft");Ft(er,Er,Uf,"}","\\}");Ft(Za,Er,$n,"}","\\}");Ft(Za,Er,$n,"}","\\textbraceright");Ft(er,Er,Hc,"{","\\lbrace");Ft(er,Er,Uf,"}","\\rbrace");Ft(er,Er,Hc,"[","\\lbrack",!0);Ft(Za,Er,$n,"[","\\lbrack",!0);Ft(er,Er,Uf,"]","\\rbrack",!0);Ft(Za,Er,$n,"]","\\rbrack",!0);Ft(er,Er,Hc,"(","\\lparen",!0);Ft(er,Er,Uf,")","\\rparen",!0);Ft(Za,Er,$n,"<","\\textless",!0);Ft(Za,Er,$n,">","\\textgreater",!0);Ft(er,Er,Hc,"⌊","\\lfloor",!0);Ft(er,Er,Uf,"⌋","\\rfloor",!0);Ft(er,Er,Hc,"⌈","\\lceil",!0);Ft(er,Er,Uf,"⌉","\\rceil",!0);Ft(er,Er,$n,"\\","\\backslash");Ft(er,Er,$n,"∣","|");Ft(er,Er,$n,"∣","\\vert");Ft(Za,Er,$n,"|","\\textbar",!0);Ft(er,Er,$n,"∥","\\|");Ft(er,Er,$n,"∥","\\Vert");Ft(Za,Er,$n,"∥","\\textbardbl");Ft(Za,Er,$n,"~","\\textasciitilde");Ft(Za,Er,$n,"\\","\\textbackslash");Ft(Za,Er,$n,"^","\\textasciicircum");Ft(er,Er,Cn,"↑","\\uparrow",!0);Ft(er,Er,Cn,"⇑","\\Uparrow",!0);Ft(er,Er,Cn,"↓","\\downarrow",!0);Ft(er,Er,Cn,"⇓","\\Downarrow",!0);Ft(er,Er,Cn,"↕","\\updownarrow",!0);Ft(er,Er,Cn,"⇕","\\Updownarrow",!0);Ft(er,Er,ru,"∐","\\coprod");Ft(er,Er,ru,"⋁","\\bigvee");Ft(er,Er,ru,"⋀","\\bigwedge");Ft(er,Er,ru,"⨄","\\biguplus");Ft(er,Er,ru,"⋂","\\bigcap");Ft(er,Er,ru,"⋃","\\bigcup");Ft(er,Er,ru,"∫","\\int");Ft(er,Er,ru,"∫","\\intop");Ft(er,Er,ru,"∬","\\iint");Ft(er,Er,ru,"∭","\\iiint");Ft(er,Er,ru,"∏","\\prod");Ft(er,Er,ru,"∑","\\sum");Ft(er,Er,ru,"⨂","\\bigotimes");Ft(er,Er,ru,"⨁","\\bigoplus");Ft(er,Er,ru,"⨀","\\bigodot");Ft(er,Er,ru,"∮","\\oint");Ft(er,Er,ru,"∯","\\oiint");Ft(er,Er,ru,"∰","\\oiiint");Ft(er,Er,ru,"⨆","\\bigsqcup");Ft(er,Er,ru,"∫","\\smallint");Ft(Za,Er,v1,"…","\\textellipsis");Ft(er,Er,v1,"…","\\mathellipsis");Ft(Za,Er,v1,"…","\\ldots",!0);Ft(er,Er,v1,"…","\\ldots",!0);Ft(er,Er,v1,"⋯","\\@cdots",!0);Ft(er,Er,v1,"⋱","\\ddots",!0);Ft(er,Er,$n,"⋮","\\varvdots");Ft(er,Er,el,"ˊ","\\acute");Ft(er,Er,el,"ˋ","\\grave");Ft(er,Er,el,"¨","\\ddot");Ft(er,Er,el,"~","\\tilde");Ft(er,Er,el,"ˉ","\\bar");Ft(er,Er,el,"˘","\\breve");Ft(er,Er,el,"ˇ","\\check");Ft(er,Er,el,"^","\\hat");Ft(er,Er,el,"⃗","\\vec");Ft(er,Er,el,"˙","\\dot");Ft(er,Er,el,"˚","\\mathring");Ft(er,Er,Yi,"","\\@imath");Ft(er,Er,Yi,"","\\@jmath");Ft(er,Er,$n,"ı","ı");Ft(er,Er,$n,"ȷ","ȷ");Ft(Za,Er,$n,"ı","\\i",!0);Ft(Za,Er,$n,"ȷ","\\j",!0);Ft(Za,Er,$n,"ß","\\ss",!0);Ft(Za,Er,$n,"æ","\\ae",!0);Ft(Za,Er,$n,"œ","\\oe",!0);Ft(Za,Er,$n,"ø","\\o",!0);Ft(Za,Er,$n,"Æ","\\AE",!0);Ft(Za,Er,$n,"Œ","\\OE",!0);Ft(Za,Er,$n,"Ø","\\O",!0);Ft(Za,Er,el,"ˊ","\\'");Ft(Za,Er,el,"ˋ","\\`");Ft(Za,Er,el,"ˆ","\\^");Ft(Za,Er,el,"˜","\\~");Ft(Za,Er,el,"ˉ","\\=");Ft(Za,Er,el,"˘","\\u");Ft(Za,Er,el,"˙","\\.");Ft(Za,Er,el,"¸","\\c");Ft(Za,Er,el,"˚","\\r");Ft(Za,Er,el,"ˇ","\\v");Ft(Za,Er,el,"¨",'\\"');Ft(Za,Er,el,"˝","\\H");Ft(Za,Er,el,"◯","\\textcircled");var BT={"--":!0,"---":!0,"``":!0,"''":!0};Ft(Za,Er,$n,"–","--",!0);Ft(Za,Er,$n,"–","\\textendash");Ft(Za,Er,$n,"—","---",!0);Ft(Za,Er,$n,"—","\\textemdash");Ft(Za,Er,$n,"‘","`",!0);Ft(Za,Er,$n,"‘","\\textquoteleft");Ft(Za,Er,$n,"’","'",!0);Ft(Za,Er,$n,"’","\\textquoteright");Ft(Za,Er,$n,"“","``",!0);Ft(Za,Er,$n,"“","\\textquotedblleft");Ft(Za,Er,$n,"”","''",!0);Ft(Za,Er,$n,"”","\\textquotedblright");Ft(er,Er,$n,"°","\\degree",!0);Ft(Za,Er,$n,"°","\\degree");Ft(Za,Er,$n,"°","\\textdegree",!0);Ft(er,Er,$n,"£","\\pounds");Ft(er,Er,$n,"£","\\mathsterling",!0);Ft(Za,Er,$n,"£","\\pounds");Ft(Za,Er,$n,"£","\\textsterling",!0);Ft(er,Sn,$n,"✠","\\maltese");Ft(Za,Sn,$n,"✠","\\maltese");var x8='0123456789/@."';for(var V2=0;V2<x8.length;V2++){var b8=x8.charAt(V2);Ft(er,Er,$n,b8,b8)}var w8='0123456789!@*()-=+";:?/.,';for(var G2=0;G2<w8.length;G2++){var T8=w8.charAt(G2);Ft(Za,Er,$n,T8,T8)}var zg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var W2=0;W2<zg.length;W2++){var zm=zg.charAt(W2);Ft(er,Er,Yi,zm,zm),Ft(Za,Er,$n,zm,zm)}Ft(er,Sn,$n,"C","ℂ");Ft(Za,Sn,$n,"C","ℂ");Ft(er,Sn,$n,"H","ℍ");Ft(Za,Sn,$n,"H","ℍ");Ft(er,Sn,$n,"N","ℕ");Ft(Za,Sn,$n,"N","ℕ");Ft(er,Sn,$n,"P","ℙ");Ft(Za,Sn,$n,"P","ℙ");Ft(er,Sn,$n,"Q","ℚ");Ft(Za,Sn,$n,"Q","ℚ");Ft(er,Sn,$n,"R","ℝ");Ft(Za,Sn,$n,"R","ℝ");Ft(er,Sn,$n,"Z","ℤ");Ft(Za,Sn,$n,"Z","ℤ");Ft(er,Er,Yi,"h","ℎ");Ft(Za,Er,Yi,"h","ℎ");var $i="";for(var zf=0;zf<zg.length;zf++){var Ll=zg.charAt(zf);$i=String.fromCharCode(55349,56320+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56372+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56424+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56580+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56684+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56736+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56788+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56840+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56944+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),zf<26&&($i=String.fromCharCode(55349,56632+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i),$i=String.fromCharCode(55349,56476+zf),Ft(er,Er,Yi,Ll,$i),Ft(Za,Er,$n,Ll,$i))}$i=String.fromCharCode(55349,56668);Ft(er,Er,Yi,"k",$i);Ft(Za,Er,$n,"k",$i);for(var Fd=0;Fd<10;Fd++){var ed=Fd.toString();$i=String.fromCharCode(55349,57294+Fd),Ft(er,Er,Yi,ed,$i),Ft(Za,Er,$n,ed,$i),$i=String.fromCharCode(55349,57314+Fd),Ft(er,Er,Yi,ed,$i),Ft(Za,Er,$n,ed,$i),$i=String.fromCharCode(55349,57324+Fd),Ft(er,Er,Yi,ed,$i),Ft(Za,Er,$n,ed,$i),$i=String.fromCharCode(55349,57334+Fd),Ft(er,Er,Yi,ed,$i),Ft(Za,Er,$n,ed,$i)}var c3="ÐÞþ";for(var Y2=0;Y2<c3.length;Y2++){var Fm=c3.charAt(Y2);Ft(er,Er,Yi,Fm,Fm),Ft(Za,Er,$n,Fm,Fm)}var Bm=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],A8=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],jz=function(y,R){var Y=y.charCodeAt(0),oe=y.charCodeAt(1),he=(Y-55296)*1024+(oe-56320)+65536,B=R==="math"?0:1;if(119808<=he&&he<120484){var O=Math.floor((he-119808)/26);return[Bm[O][2],Bm[O][B]]}else if(120782<=he&&he<=120831){var e=Math.floor((he-120782)/10);return[A8[e][2],A8[e][B]]}else{if(he===120485||he===120486)return[Bm[0][2],Bm[0][B]];if(120486<he&&he<120782)return["",""];throw new ti("Unsupported character: "+y)}},xy=function(y,R,Y){return Vs[Y][y]&&Vs[Y][y].replace&&(y=Vs[Y][y].replace),{value:y,metrics:z4(y,R,Y)}},k0=function(y,R,Y,oe,he){var B=xy(y,R,Y),O=B.metrics;y=B.value;var e;if(O){var p=O.italic;(Y==="text"||oe&&oe.font==="mathit")&&(p=0),e=new c0(y,O.height,O.depth,p,O.skew,O.width,he)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+y+"' in style '"+R+"' and mode '"+Y+"'")),e=new c0(y,0,0,0,0,0,he);if(oe){e.maxFontSize=oe.sizeMultiplier,oe.style.isTight()&&e.classes.push("mtight");var E=oe.getColor();E&&(e.style.color=E)}return e},Xz=function(y,R,Y,oe){return oe===void 0&&(oe=[]),Y.font==="boldsymbol"&&xy(y,"Main-Bold",R).metrics?k0(y,"Main-Bold",R,Y,oe.concat(["mathbf"])):y==="\\"||Vs[R][y].font==="main"?k0(y,"Main-Regular",R,Y,oe):k0(y,"AMS-Regular",R,Y,oe.concat(["amsrm"]))},$z=function(y,R,Y,oe,he){return he!=="textord"&&xy(y,"Math-BoldItalic",R).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Kz=function(y,R,Y){var oe=y.mode,he=y.text,B=["mord"],O=oe==="math"||oe==="text"&&R.font,e=O?R.font:R.fontFamily,p="",E="";if(he.charCodeAt(0)===55349&&([p,E]=jz(he,oe)),p.length>0)return k0(he,p,oe,R,B.concat(E));if(e){var a,L;if(e==="boldsymbol"){var x=$z(he,oe,R,B,Y);a=x.fontName,L=[x.fontClass]}else O?(a=NT[e].fontName,L=[e]):(a=Om(e,R.fontWeight,R.fontShape),L=[e,R.fontWeight,R.fontShape]);if(xy(he,a,oe).metrics)return k0(he,a,oe,R,B.concat(L));if(BT.hasOwnProperty(he)&&a.slice(0,10)==="Typewriter"){for(var d=[],m=0;m<he.length;m++)d.push(k0(he[m],a,oe,R,B.concat(L)));return _T(d)}}if(Y==="mathord")return k0(he,"Math-Italic",oe,R,B.concat(["mathnormal"]));if(Y==="textord"){var r=Vs[oe][he]&&Vs[oe][he].font;if(r==="ams"){var t=Om("amsrm",R.fontWeight,R.fontShape);return k0(he,t,oe,R,B.concat("amsrm",R.fontWeight,R.fontShape))}else if(r==="main"||!r){var s=Om("textrm",R.fontWeight,R.fontShape);return k0(he,s,oe,R,B.concat(R.fontWeight,R.fontShape))}else{var n=Om(r,R.fontWeight,R.fontShape);return k0(he,n,oe,R,B.concat(n,R.fontWeight,R.fontShape))}}else throw new Error("unexpected type: "+Y+" in makeOrd")},Jz=(i,y)=>{if(yd(i.classes)!==yd(y.classes)||i.skew!==y.skew||i.maxFontSize!==y.maxFontSize)return!1;if(i.classes.length===1){var R=i.classes[0];if(R==="mbin"||R==="mord")return!1}for(var Y in i.style)if(i.style.hasOwnProperty(Y)&&i.style[Y]!==y.style[Y])return!1;for(var oe in y.style)if(y.style.hasOwnProperty(oe)&&i.style[oe]!==y.style[oe])return!1;return!0},Qz=i=>{for(var y=0;y<i.length-1;y++){var R=i[y],Y=i[y+1];R instanceof c0&&Y instanceof c0&&Jz(R,Y)&&(R.text+=Y.text,R.height=Math.max(R.height,Y.height),R.depth=Math.max(R.depth,Y.depth),R.italic=Y.italic,i.splice(y+1,1),y--)}return i},B4=function(y){for(var R=0,Y=0,oe=0,he=0;he<y.children.length;he++){var B=y.children[he];B.height>R&&(R=B.height),B.depth>Y&&(Y=B.depth),B.maxFontSize>oe&&(oe=B.maxFontSize)}y.height=R,y.depth=Y,y.maxFontSize=oe},cc=function(y,R,Y,oe){var he=new Vp(y,R,Y,oe);return B4(he),he},OT=(i,y,R,Y)=>new Vp(i,y,R,Y),qz=function(y,R,Y){var oe=cc([y],[],R);return oe.height=Math.max(Y||R.fontMetrics().defaultRuleThickness,R.minRuleThickness),oe.style.borderBottomWidth=mi(oe.height),oe.maxFontSize=1,oe},eF=function(y,R,Y,oe){var he=new F4(y,R,Y,oe);return B4(he),he},_T=function(y){var R=new Hp(y);return B4(R),R},tF=function(y,R){return y instanceof Hp?cc([],[y],R):y},rF=function(y){if(y.positionType==="individualShift"){for(var R=y.children,Y=[R[0]],oe=-R[0].shift-R[0].elem.depth,he=oe,B=1;B<R.length;B++){var O=-R[B].shift-he-R[B].elem.depth,e=O-(R[B-1].elem.height+R[B-1].elem.depth);he=he+O,Y.push({type:"kern",size:e}),Y.push(R[B])}return{children:Y,depth:oe}}var p;if(y.positionType==="top"){for(var E=y.positionData,a=0;a<y.children.length;a++){var L=y.children[a];E-=L.type==="kern"?L.size:L.elem.height+L.elem.depth}p=E}else if(y.positionType==="bottom")p=-y.positionData;else{var x=y.children[0];if(x.type!=="elem")throw new Error('First child must have type "elem".');if(y.positionType==="shift")p=-x.elem.depth-y.positionData;else if(y.positionType==="firstBaseline")p=-x.elem.depth;else throw new Error("Invalid positionType "+y.positionType+".")}return{children:y.children,depth:p}},nF=function(y,R){for(var{children:Y,depth:oe}=rF(y),he=0,B=0;B<Y.length;B++){var O=Y[B];if(O.type==="elem"){var e=O.elem;he=Math.max(he,e.maxFontSize,e.height)}}he+=2;var p=cc(["pstrut"],[]);p.style.height=mi(he);for(var E=[],a=oe,L=oe,x=oe,d=0;d<Y.length;d++){var m=Y[d];if(m.type==="kern")x+=m.size;else{var r=m.elem,t=m.wrapperClasses||[],s=m.wrapperStyle||{},n=cc(t,[p,r],void 0,s);n.style.top=mi(-he-x-r.depth),m.marginLeft&&(n.style.marginLeft=m.marginLeft),m.marginRight&&(n.style.marginRight=m.marginRight),E.push(n),x+=r.height+r.depth}a=Math.min(a,x),L=Math.max(L,x)}var f=cc(["vlist"],E);f.style.height=mi(L);var c;if(a<0){var u=cc([],[]),b=cc(["vlist"],[u]);b.style.height=mi(-a);var h=cc(["vlist-s"],[new c0("​")]);c=[cc(["vlist-r"],[f,h]),cc(["vlist-r"],[b])]}else c=[cc(["vlist-r"],[f])];var S=cc(["vlist-t"],c);return c.length===2&&S.classes.push("vlist-t2"),S.height=L,S.depth=-a,S},aF=(i,y)=>{var R=cc(["mspace"],[],y),Y=dl(i,y);return R.style.marginRight=mi(Y),R},Om=function(y,R,Y){var oe="";switch(y){case"amsrm":oe="AMS";break;case"textrm":oe="Main";break;case"textsf":oe="SansSerif";break;case"texttt":oe="Typewriter";break;default:oe=y}var he;return R==="textbf"&&Y==="textit"?he="BoldItalic":R==="textbf"?he="Bold":R==="textit"?he="Italic":he="Regular",oe+"-"+he},NT={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"}},UT={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},iF=function(y,R){var[Y,oe,he]=UT[y],B=new xd(Y),O=new Ph([B],{width:mi(oe),height:mi(he),style:"width:"+mi(oe),viewBox:"0 0 "+1e3*oe+" "+1e3*he,preserveAspectRatio:"xMinYMin"}),e=OT(["overlay"],[O],R);return e.height=he,e.style.height=mi(he),e.style.width=mi(oe),e},ca={fontMap:NT,makeSymbol:k0,mathsym:Xz,makeSpan:cc,makeSvgSpan:OT,makeLineSpan:qz,makeAnchor:eF,makeFragment:_T,wrapFragment:tF,makeVList:nF,makeOrd:Kz,makeGlue:aF,staticSvg:iF,svgData:UT,tryCombineChars:Qz},cl={number:3,unit:"mu"},Bd={number:4,unit:"mu"},ph={number:5,unit:"mu"},oF={mord:{mop:cl,mbin:Bd,mrel:ph,minner:cl},mop:{mord:cl,mop:cl,mrel:ph,minner:cl},mbin:{mord:Bd,mop:Bd,mopen:Bd,minner:Bd},mrel:{mord:ph,mop:ph,mopen:ph,minner:ph},mopen:{},mclose:{mop:cl,mbin:Bd,mrel:ph,minner:cl},mpunct:{mord:cl,mop:cl,mrel:ph,mopen:cl,mclose:cl,mpunct:cl,minner:cl},minner:{mord:cl,mop:cl,mbin:Bd,mrel:ph,mopen:cl,mpunct:cl,minner:cl}},sF={mord:{mop:cl},mop:{mord:cl,mop:cl},mbin:{},mrel:{},mopen:{},mclose:{mop:cl},mpunct:{},minner:{mop:cl}},HT={},Fg={},Bg={};function Mi(i){for(var{type:y,names:R,props:Y,handler:oe,htmlBuilder:he,mathmlBuilder:B}=i,O={type:y,numArgs:Y.numArgs,argTypes:Y.argTypes,allowedInArgument:!!Y.allowedInArgument,allowedInText:!!Y.allowedInText,allowedInMath:Y.allowedInMath===void 0?!0:Y.allowedInMath,numOptionalArgs:Y.numOptionalArgs||0,infix:!!Y.infix,primitive:!!Y.primitive,handler:oe},e=0;e<R.length;++e)HT[R[e]]=O;y&&(he&&(Fg[y]=he),B&&(Bg[y]=B))}function tv(i){var{type:y,htmlBuilder:R,mathmlBuilder:Y}=i;Mi({type:y,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:R,mathmlBuilder:Y})}var Og=function(y){return y.type==="ordgroup"&&y.body.length===1?y.body[0]:y},Gl=function(y){return y.type==="ordgroup"?y.body:[y]},Dh=ca.makeSpan,lF=["leftmost","mbin","mopen","mrel","mop","mpunct"],uF=["rightmost","mrel","mclose","mpunct"],fF={display:Zi.DISPLAY,text:Zi.TEXT,script:Zi.SCRIPT,scriptscript:Zi.SCRIPTSCRIPT},cF={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},pu=function(y,R,Y,oe){oe===void 0&&(oe=[null,null]);for(var he=[],B=0;B<y.length;B++){var O=Jo(y[B],R);if(O instanceof Hp){var e=O.children;he.push(...e)}else he.push(O)}if(ca.tryCombineChars(he),!Y)return he;var p=R;if(y.length===1){var E=y[0];E.type==="sizing"?p=R.havingSize(E.size):E.type==="styling"&&(p=R.havingStyle(fF[E.style]))}var a=Dh([oe[0]||"leftmost"],[],R),L=Dh([oe[1]||"rightmost"],[],R),x=Y==="root";return S8(he,(d,m)=>{var r=m.classes[0],t=d.classes[0];r==="mbin"&&Ki.contains(uF,t)?m.classes[0]="mord":t==="mbin"&&Ki.contains(lF,r)&&(d.classes[0]="mord")},{node:a},L,x),S8(he,(d,m)=>{var r=h3(m),t=h3(d),s=r&&t?d.hasClass("mtight")?sF[r][t]:oF[r][t]:null;if(s)return ca.makeGlue(s,p)},{node:a},L,x),he},S8=function i(y,R,Y,oe,he){oe&&y.push(oe);for(var B=0;B<y.length;B++){var O=y[B],e=VT(O);if(e){i(e.children,R,Y,null,he);continue}var p=!O.hasClass("mspace");if(p){var E=R(O,Y.node);E&&(Y.insertAfter?Y.insertAfter(E):(y.unshift(E),B++))}p?Y.node=O:he&&O.hasClass("newline")&&(Y.node=Dh(["leftmost"])),Y.insertAfter=(a=>L=>{y.splice(a+1,0,L),B++})(B)}oe&&y.pop()},VT=function(y){return y instanceof Hp||y instanceof F4||y instanceof Vp&&y.hasClass("enclosing")?y:null},hF=function i(y,R){var Y=VT(y);if(Y){var oe=Y.children;if(oe.length){if(R==="right")return i(oe[oe.length-1],"right");if(R==="left")return i(oe[0],"left")}}return y},h3=function(y,R){return y?(R&&(y=hF(y,R)),cF[y.classes[0]]||null):null},kp=function(y,R){var Y=["nulldelimiter"].concat(y.baseSizingClasses());return Dh(R.concat(Y))},Jo=function(y,R,Y){if(!y)return Dh();if(Fg[y.type]){var oe=Fg[y.type](y,R);if(Y&&R.size!==Y.size){oe=Dh(R.sizingClasses(Y),[oe],R);var he=R.sizeMultiplier/Y.sizeMultiplier;oe.height*=he,oe.depth*=he}return oe}else throw new ti("Got group of unknown type: '"+y.type+"'")};function _m(i,y){var R=Dh(["base"],i,y),Y=Dh(["strut"]);return Y.style.height=mi(R.height+R.depth),R.depth&&(Y.style.verticalAlign=mi(-R.depth)),R.children.unshift(Y),R}function d3(i,y){var R=null;i.length===1&&i[0].type==="tag"&&(R=i[0].tag,i=i[0].body);var Y=pu(i,y,"root"),oe;Y.length===2&&Y[1].hasClass("tag")&&(oe=Y.pop());for(var he=[],B=[],O=0;O<Y.length;O++)if(B.push(Y[O]),Y[O].hasClass("mbin")||Y[O].hasClass("mrel")||Y[O].hasClass("allowbreak")){for(var e=!1;O<Y.length-1&&Y[O+1].hasClass("mspace")&&!Y[O+1].hasClass("newline");)O++,B.push(Y[O]),Y[O].hasClass("nobreak")&&(e=!0);e||(he.push(_m(B,y)),B=[])}else Y[O].hasClass("newline")&&(B.pop(),B.length>0&&(he.push(_m(B,y)),B=[]),he.push(Y[O]));B.length>0&&he.push(_m(B,y));var p;R?(p=_m(pu(R,y,!0)),p.classes=["tag"],he.push(p)):oe&&he.push(oe);var E=Dh(["katex-html"],he);if(E.setAttribute("aria-hidden","true"),p){var a=p.children[0];a.style.height=mi(E.height+E.depth),E.depth&&(a.style.verticalAlign=mi(-E.depth))}return E}function GT(i){return new Hp(i)}class a0{constructor(y,R,Y){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=y,this.attributes={},this.children=R||[],this.classes=Y||[]}setAttribute(y,R){this.attributes[y]=R}getAttribute(y){return this.attributes[y]}toNode(){var y=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&y.setAttribute(R,this.attributes[R]);this.classes.length>0&&(y.className=yd(this.classes));for(var Y=0;Y<this.children.length;Y++)y.appendChild(this.children[Y].toNode());return y}toMarkup(){var y="<"+this.type;for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&(y+=" "+R+'="',y+=Ki.escape(this.attributes[R]),y+='"');this.classes.length>0&&(y+=' class ="'+Ki.escape(yd(this.classes))+'"'),y+=">";for(var Y=0;Y<this.children.length;Y++)y+=this.children[Y].toMarkup();return y+="</"+this.type+">",y}toText(){return this.children.map(y=>y.toText()).join("")}}class op{constructor(y){this.text=void 0,this.text=y}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ki.escape(this.toText())}toText(){return this.text}}class dF{constructor(y){this.width=void 0,this.character=void 0,this.width=y,y>=.05555&&y<=.05556?this.character=" ":y>=.1666&&y<=.1667?this.character=" ":y>=.2222&&y<=.2223?this.character=" ":y>=.2777&&y<=.2778?this.character="  ":y>=-.05556&&y<=-.05555?this.character=" ⁣":y>=-.1667&&y<=-.1666?this.character=" ⁣":y>=-.2223&&y<=-.2222?this.character=" ⁣":y>=-.2778&&y<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var y=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return y.setAttribute("width",mi(this.width)),y}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+mi(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ja={MathNode:a0,TextNode:op,SpaceNode:dF,newDocumentFragment:GT},h0=function(y,R,Y){return Vs[R][y]&&Vs[R][y].replace&&y.charCodeAt(0)!==55349&&!(BT.hasOwnProperty(y)&&Y&&(Y.fontFamily&&Y.fontFamily.slice(4,6)==="tt"||Y.font&&Y.font.slice(4,6)==="tt"))&&(y=Vs[R][y].replace),new Ja.TextNode(y)},O4=function(y){return y.length===1?y[0]:new Ja.MathNode("mrow",y)},_4=function(y,R){if(R.fontFamily==="texttt")return"monospace";if(R.fontFamily==="textsf")return R.fontShape==="textit"&&R.fontWeight==="textbf"?"sans-serif-bold-italic":R.fontShape==="textit"?"sans-serif-italic":R.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(R.fontShape==="textit"&&R.fontWeight==="textbf")return"bold-italic";if(R.fontShape==="textit")return"italic";if(R.fontWeight==="textbf")return"bold";var Y=R.font;if(!Y||Y==="mathnormal")return null;var oe=y.mode;if(Y==="mathit")return"italic";if(Y==="boldsymbol")return y.type==="textord"?"bold":"bold-italic";if(Y==="mathbf")return"bold";if(Y==="mathbb")return"double-struck";if(Y==="mathfrak")return"fraktur";if(Y==="mathscr"||Y==="mathcal")return"script";if(Y==="mathsf")return"sans-serif";if(Y==="mathtt")return"monospace";var he=y.text;if(Ki.contains(["\\imath","\\jmath"],he))return null;Vs[oe][he]&&Vs[oe][he].replace&&(he=Vs[oe][he].replace);var B=ca.fontMap[Y].fontName;return z4(he,B,oe)?ca.fontMap[Y].variant:null},yc=function(y,R,Y){if(y.length===1){var oe=Rs(y[0],R);return Y&&oe instanceof a0&&oe.type==="mo"&&(oe.setAttribute("lspace","0em"),oe.setAttribute("rspace","0em")),[oe]}for(var he=[],B,O=0;O<y.length;O++){var e=Rs(y[O],R);if(e instanceof a0&&B instanceof a0){if(e.type==="mtext"&&B.type==="mtext"&&e.getAttribute("mathvariant")===B.getAttribute("mathvariant")){B.children.push(...e.children);continue}else if(e.type==="mn"&&B.type==="mn"){B.children.push(...e.children);continue}else if(e.type==="mi"&&e.children.length===1&&B.type==="mn"){var p=e.children[0];if(p instanceof op&&p.text==="."){B.children.push(...e.children);continue}}else if(B.type==="mi"&&B.children.length===1){var E=B.children[0];if(E instanceof op&&E.text==="̸"&&(e.type==="mo"||e.type==="mi"||e.type==="mn")){var a=e.children[0];a instanceof op&&a.text.length>0&&(a.text=a.text.slice(0,1)+"̸"+a.text.slice(1),he.pop())}}}he.push(e),B=e}return he},bd=function(y,R,Y){return O4(yc(y,R,Y))},Rs=function(y,R){if(!y)return new Ja.MathNode("mrow");if(Bg[y.type]){var Y=Bg[y.type](y,R);return Y}else throw new ti("Got group of unknown type: '"+y.type+"'")};function M8(i,y,R,Y,oe){var he=yc(i,R),B;he.length===1&&he[0]instanceof a0&&Ki.contains(["mrow","mtable"],he[0].type)?B=he[0]:B=new Ja.MathNode("mrow",he);var O=new Ja.MathNode("annotation",[new Ja.TextNode(y)]);O.setAttribute("encoding","application/x-tex");var e=new Ja.MathNode("semantics",[B,O]),p=new Ja.MathNode("math",[e]);p.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),Y&&p.setAttribute("display","block");var E=oe?"katex":"katex-mathml";return ca.makeSpan([E],[p])}var WT=function(y){return new xh({style:y.displayMode?Zi.DISPLAY:Zi.TEXT,maxSize:y.maxSize,minRuleThickness:y.minRuleThickness})},YT=function(y,R){if(R.displayMode){var Y=["katex-display"];R.leqno&&Y.push("leqno"),R.fleqn&&Y.push("fleqn"),y=ca.makeSpan(Y,[y])}return y},vF=function(y,R,Y){var oe=WT(Y),he;if(Y.output==="mathml")return M8(y,R,oe,Y.displayMode,!0);if(Y.output==="html"){var B=d3(y,oe);he=ca.makeSpan(["katex"],[B])}else{var O=M8(y,R,oe,Y.displayMode,!1),e=d3(y,oe);he=ca.makeSpan(["katex"],[O,e])}return YT(he,Y)},pF=function(y,R,Y){var oe=WT(Y),he=d3(y,oe),B=ca.makeSpan(["katex"],[he]);return YT(B,Y)},mF={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":"="},gF=function(y){var R=new Ja.MathNode("mo",[new Ja.TextNode(mF[y.replace(/^\\/,"")])]);return R.setAttribute("stretchy","true"),R},yF={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]},xF=function(y){return y.type==="ordgroup"?y.body.length:1},bF=function(y,R){function Y(){var O=4e5,e=y.label.slice(1);if(Ki.contains(["widehat","widecheck","widetilde","utilde"],e)){var p=y,E=xF(p.base),a,L,x;if(E>5)e==="widehat"||e==="widecheck"?(a=420,O=2364,x=.42,L=e+"4"):(a=312,O=2340,x=.34,L="tilde4");else{var d=[1,1,2,2,3,3][E];e==="widehat"||e==="widecheck"?(O=[0,1062,2364,2364,2364][d],a=[0,239,300,360,420][d],x=[0,.24,.3,.3,.36,.42][d],L=e+d):(O=[0,600,1033,2339,2340][d],a=[0,260,286,306,312][d],x=[0,.26,.286,.3,.306,.34][d],L="tilde"+d)}var m=new xd(L),r=new Ph([m],{width:"100%",height:mi(x),viewBox:"0 0 "+O+" "+a,preserveAspectRatio:"none"});return{span:ca.makeSvgSpan([],[r],R),minWidth:0,height:x}}else{var t=[],s=yF[e],[n,f,c]=s,u=c/1e3,b=n.length,h,S;if(b===1){var v=s[3];h=["hide-tail"],S=[v]}else if(b===2)h=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else if(b===3)h=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+b+" children.");for(var l=0;l<b;l++){var g=new xd(n[l]),C=new Ph([g],{width:"400em",height:mi(u),viewBox:"0 0 "+O+" "+c,preserveAspectRatio:S[l]+" slice"}),M=ca.makeSvgSpan([h[l]],[C],R);if(b===1)return{span:M,minWidth:f,height:u};M.style.height=mi(u),t.push(M)}return{span:ca.makeSpan(["stretchy"],t,R),minWidth:f,height:u}}}var{span:oe,minWidth:he,height:B}=Y();return oe.height=B,oe.style.height=mi(B),he>0&&(oe.style.minWidth=mi(he)),oe},wF=function(y,R,Y,oe,he){var B,O=y.height+y.depth+Y+oe;if(/fbox|color|angl/.test(R)){if(B=ca.makeSpan(["stretchy",R],[],he),R==="fbox"){var e=he.color&&he.getColor();e&&(B.style.borderColor=e)}}else{var p=[];/^[bx]cancel$/.test(R)&&p.push(new f3({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(R)&&p.push(new f3({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var E=new Ph(p,{width:"100%",height:mi(O)});B=ca.makeSvgSpan([],[E],he)}return B.height=O,B.style.height=mi(O),B},Rh={encloseSpan:wF,mathMLnode:gF,svgSpan:bF};function To(i,y){if(!i||i.type!==y)throw new Error("Expected node of type "+y+", but got "+(i?"node of type "+i.type:String(i)));return i}function N4(i){var y=by(i);if(!y)throw new Error("Expected node of symbol group type, but got "+(i?"node of type "+i.type:String(i)));return y}function by(i){return i&&(i.type==="atom"||Zz.hasOwnProperty(i.type))?i:null}var U4=(i,y)=>{var R,Y,oe;i&&i.type==="supsub"?(Y=To(i.base,"accent"),R=Y.base,i.base=R,oe=Wz(Jo(i,y)),i.base=Y):(Y=To(i,"accent"),R=Y.base);var he=Jo(R,y.havingCrampedStyle()),B=Y.isShifty&&Ki.isCharacterBox(R),O=0;if(B){var e=Ki.getBaseElem(R),p=Jo(e,y.havingCrampedStyle());O=y8(p).skew}var E=Y.label==="\\c",a=E?he.height+he.depth:Math.min(he.height,y.fontMetrics().xHeight),L;if(Y.isStretchy)L=Rh.svgSpan(Y,y),L=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:he},{type:"elem",elem:L,wrapperClasses:["svg-align"],wrapperStyle:O>0?{width:"calc(100% - "+mi(2*O)+")",marginLeft:mi(2*O)}:void 0}]},y);else{var x,d;Y.label==="\\vec"?(x=ca.staticSvg("vec",y),d=ca.svgData.vec[1]):(x=ca.makeOrd({mode:Y.mode,text:Y.label},y,"textord"),x=y8(x),x.italic=0,d=x.width,E&&(a+=x.depth)),L=ca.makeSpan(["accent-body"],[x]);var m=Y.label==="\\textcircled";m&&(L.classes.push("accent-full"),a=he.height);var r=O;m||(r-=d/2),L.style.left=mi(r),Y.label==="\\textcircled"&&(L.style.top=".2em"),L=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:he},{type:"kern",size:-a},{type:"elem",elem:L}]},y)}var t=ca.makeSpan(["mord","accent"],[L],y);return oe?(oe.children[0]=t,oe.height=Math.max(t.height,oe.height),oe.classes[0]="mord",oe):t},ZT=(i,y)=>{var R=i.isStretchy?Rh.mathMLnode(i.label):new Ja.MathNode("mo",[h0(i.label,i.mode)]),Y=new Ja.MathNode("mover",[Rs(i.base,y),R]);return Y.setAttribute("accent","true"),Y},TF=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(i=>"\\"+i).join("|"));Mi({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:(i,y)=>{var R=Og(y[0]),Y=!TF.test(i.funcName),oe=!Y||i.funcName==="\\widehat"||i.funcName==="\\widetilde"||i.funcName==="\\widecheck";return{type:"accent",mode:i.parser.mode,label:i.funcName,isStretchy:Y,isShifty:oe,base:R}},htmlBuilder:U4,mathmlBuilder:ZT});Mi({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(i,y)=>{var R=y[0],Y=i.parser.mode;return Y==="math"&&(i.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+i.funcName+" works only in text mode"),Y="text"),{type:"accent",mode:Y,label:i.funcName,isStretchy:!1,isShifty:!0,base:R}},htmlBuilder:U4,mathmlBuilder:ZT});Mi({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0];return{type:"accentUnder",mode:R.mode,label:Y,base:oe}},htmlBuilder:(i,y)=>{var R=Jo(i.base,y),Y=Rh.svgSpan(i,y),oe=i.label==="\\utilde"?.12:0,he=ca.makeVList({positionType:"top",positionData:R.height,children:[{type:"elem",elem:Y,wrapperClasses:["svg-align"]},{type:"kern",size:oe},{type:"elem",elem:R}]},y);return ca.makeSpan(["mord","accentunder"],[he],y)},mathmlBuilder:(i,y)=>{var R=Rh.mathMLnode(i.label),Y=new Ja.MathNode("munder",[Rs(i.base,y),R]);return Y.setAttribute("accentunder","true"),Y}});var Nm=i=>{var y=new Ja.MathNode("mpadded",i?[i]:[]);return y.setAttribute("width","+0.6em"),y.setAttribute("lspace","0.3em"),y};Mi({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(i,y,R){var{parser:Y,funcName:oe}=i;return{type:"xArrow",mode:Y.mode,label:oe,body:y[0],below:R[0]}},htmlBuilder(i,y){var R=y.style,Y=y.havingStyle(R.sup()),oe=ca.wrapFragment(Jo(i.body,Y,y),y),he=i.label.slice(0,2)==="\\x"?"x":"cd";oe.classes.push(he+"-arrow-pad");var B;i.below&&(Y=y.havingStyle(R.sub()),B=ca.wrapFragment(Jo(i.below,Y,y),y),B.classes.push(he+"-arrow-pad"));var O=Rh.svgSpan(i,y),e=-y.fontMetrics().axisHeight+.5*O.height,p=-y.fontMetrics().axisHeight-.5*O.height-.111;(oe.depth>.25||i.label==="\\xleftequilibrium")&&(p-=oe.depth);var E;if(B){var a=-y.fontMetrics().axisHeight+B.height+.5*O.height+.111;E=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:oe,shift:p},{type:"elem",elem:O,shift:e},{type:"elem",elem:B,shift:a}]},y)}else E=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:oe,shift:p},{type:"elem",elem:O,shift:e}]},y);return E.children[0].children[0].children[1].classes.push("svg-align"),ca.makeSpan(["mrel","x-arrow"],[E],y)},mathmlBuilder(i,y){var R=Rh.mathMLnode(i.label);R.setAttribute("minsize",i.label.charAt(0)==="x"?"1.75em":"3.0em");var Y;if(i.body){var oe=Nm(Rs(i.body,y));if(i.below){var he=Nm(Rs(i.below,y));Y=new Ja.MathNode("munderover",[R,he,oe])}else Y=new Ja.MathNode("mover",[R,oe])}else if(i.below){var B=Nm(Rs(i.below,y));Y=new Ja.MathNode("munder",[R,B])}else Y=Nm(),Y=new Ja.MathNode("mover",[R,Y]);return Y}});var AF=ca.makeSpan;function jT(i,y){var R=pu(i.body,y,!0);return AF([i.mclass],R,y)}function XT(i,y){var R,Y=yc(i.body,y);return i.mclass==="minner"?R=new Ja.MathNode("mpadded",Y):i.mclass==="mord"?i.isCharacterBox?(R=Y[0],R.type="mi"):R=new Ja.MathNode("mi",Y):(i.isCharacterBox?(R=Y[0],R.type="mo"):R=new Ja.MathNode("mo",Y),i.mclass==="mbin"?(R.attributes.lspace="0.22em",R.attributes.rspace="0.22em"):i.mclass==="mpunct"?(R.attributes.lspace="0em",R.attributes.rspace="0.17em"):i.mclass==="mopen"||i.mclass==="mclose"?(R.attributes.lspace="0em",R.attributes.rspace="0em"):i.mclass==="minner"&&(R.attributes.lspace="0.0556em",R.attributes.width="+0.1111em")),R}Mi({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];return{type:"mclass",mode:R.mode,mclass:"m"+Y.slice(5),body:Gl(oe),isCharacterBox:Ki.isCharacterBox(oe)}},htmlBuilder:jT,mathmlBuilder:XT});var wy=i=>{var y=i.type==="ordgroup"&&i.body.length?i.body[0]:i;return y.type==="atom"&&(y.family==="bin"||y.family==="rel")?"m"+y.family:"mord"};Mi({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(i,y){var{parser:R}=i;return{type:"mclass",mode:R.mode,mclass:wy(y[0]),body:Gl(y[1]),isCharacterBox:Ki.isCharacterBox(y[1])}}});Mi({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[1],he=y[0],B;Y!=="\\stackrel"?B=wy(oe):B="mrel";var O={type:"op",mode:oe.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Y!=="\\stackrel",body:Gl(oe)},e={type:"supsub",mode:he.mode,base:O,sup:Y==="\\underset"?null:he,sub:Y==="\\underset"?he:null};return{type:"mclass",mode:R.mode,mclass:B,body:[e],isCharacterBox:Ki.isCharacterBox(e)}},htmlBuilder:jT,mathmlBuilder:XT});Mi({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(i,y){var{parser:R}=i;return{type:"pmb",mode:R.mode,mclass:wy(y[0]),body:Gl(y[0])}},htmlBuilder(i,y){var R=pu(i.body,y,!0),Y=ca.makeSpan([i.mclass],R,y);return Y.style.textShadow="0.02em 0.01em 0.04px",Y},mathmlBuilder(i,y){var R=yc(i.body,y),Y=new Ja.MathNode("mstyle",R);return Y.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),Y}});var SF={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},C8=()=>({type:"styling",body:[],mode:"math",style:"display"}),E8=i=>i.type==="textord"&&i.text==="@",MF=(i,y)=>(i.type==="mathord"||i.type==="atom")&&i.text===y;function CF(i,y,R){var Y=SF[i];switch(Y){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return R.callFunction(Y,[y[0]],[y[1]]);case"\\uparrow":case"\\downarrow":{var oe=R.callFunction("\\\\cdleft",[y[0]],[]),he={type:"atom",text:Y,mode:"math",family:"rel"},B=R.callFunction("\\Big",[he],[]),O=R.callFunction("\\\\cdright",[y[1]],[]),e={type:"ordgroup",mode:"math",body:[oe,B,O]};return R.callFunction("\\\\cdparent",[e],[])}case"\\\\cdlongequal":return R.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var p={type:"textord",text:"\\Vert",mode:"math"};return R.callFunction("\\Big",[p],[])}default:return{type:"textord",text:" ",mode:"math"}}}function EF(i){var y=[];for(i.gullet.beginGroup(),i.gullet.macros.set("\\cr","\\\\\\relax"),i.gullet.beginGroup();;){y.push(i.parseExpression(!1,"\\\\")),i.gullet.endGroup(),i.gullet.beginGroup();var R=i.fetch().text;if(R==="&"||R==="\\\\")i.consume();else if(R==="\\end"){y[y.length-1].length===0&&y.pop();break}else throw new ti("Expected \\\\ or \\cr or \\end",i.nextToken)}for(var Y=[],oe=[Y],he=0;he<y.length;he++){for(var B=y[he],O=C8(),e=0;e<B.length;e++)if(!E8(B[e]))O.body.push(B[e]);else{Y.push(O),e+=1;var p=N4(B[e]).text,E=new Array(2);if(E[0]={type:"ordgroup",mode:"math",body:[]},E[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(p)>-1))if("<>AV".indexOf(p)>-1)for(var a=0;a<2;a++){for(var L=!0,x=e+1;x<B.length;x++){if(MF(B[x],p)){L=!1,e=x;break}if(E8(B[x]))throw new ti("Missing a "+p+" character to complete a CD arrow.",B[x]);E[a].body.push(B[x])}if(L)throw new ti("Missing a "+p+" character to complete a CD arrow.",B[e])}else throw new ti('Expected one of "<>AV=|." after @',B[e]);var d=CF(p,E,i),m={type:"styling",body:[d],mode:"math",style:"display"};Y.push(m),O=C8()}he%2===0?Y.push(O):Y.shift(),Y=[],oe.push(Y)}i.gullet.endGroup(),i.gullet.endGroup();var r=new Array(oe[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:oe,arraystretch:1,addJot:!0,rowGaps:[null],cols:r,colSeparationType:"CD",hLinesBeforeRow:new Array(oe.length+1).fill([])}}Mi({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(i,y){var{parser:R,funcName:Y}=i;return{type:"cdlabel",mode:R.mode,side:Y.slice(4),label:y[0]}},htmlBuilder(i,y){var R=y.havingStyle(y.style.sup()),Y=ca.wrapFragment(Jo(i.label,R,y),y);return Y.classes.push("cd-label-"+i.side),Y.style.bottom=mi(.8-Y.depth),Y.height=0,Y.depth=0,Y},mathmlBuilder(i,y){var R=new Ja.MathNode("mrow",[Rs(i.label,y)]);return R=new Ja.MathNode("mpadded",[R]),R.setAttribute("width","0"),i.side==="left"&&R.setAttribute("lspace","-1width"),R.setAttribute("voffset","0.7em"),R=new Ja.MathNode("mstyle",[R]),R.setAttribute("displaystyle","false"),R.setAttribute("scriptlevel","1"),R}});Mi({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(i,y){var{parser:R}=i;return{type:"cdlabelparent",mode:R.mode,fragment:y[0]}},htmlBuilder(i,y){var R=ca.wrapFragment(Jo(i.fragment,y),y);return R.classes.push("cd-vert-arrow"),R},mathmlBuilder(i,y){return new Ja.MathNode("mrow",[Rs(i.fragment,y)])}});Mi({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(i,y){for(var{parser:R}=i,Y=To(y[0],"ordgroup"),oe=Y.body,he="",B=0;B<oe.length;B++){var O=To(oe[B],"textord");he+=O.text}var e=parseInt(he),p;if(isNaN(e))throw new ti("\\@char has non-numeric argument "+he);if(e<0||e>=1114111)throw new ti("\\@char with invalid code point "+he);return e<=65535?p=String.fromCharCode(e):(e-=65536,p=String.fromCharCode((e>>10)+55296,(e&1023)+56320)),{type:"textord",mode:R.mode,text:p}}});var $T=(i,y)=>{var R=pu(i.body,y.withColor(i.color),!1);return ca.makeFragment(R)},KT=(i,y)=>{var R=yc(i.body,y.withColor(i.color)),Y=new Ja.MathNode("mstyle",R);return Y.setAttribute("mathcolor",i.color),Y};Mi({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(i,y){var{parser:R}=i,Y=To(y[0],"color-token").color,oe=y[1];return{type:"color",mode:R.mode,color:Y,body:Gl(oe)}},htmlBuilder:$T,mathmlBuilder:KT});Mi({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(i,y){var{parser:R,breakOnTokenText:Y}=i,oe=To(y[0],"color-token").color;R.gullet.macros.set("\\current@color",oe);var he=R.parseExpression(!0,Y);return{type:"color",mode:R.mode,color:oe,body:he}},htmlBuilder:$T,mathmlBuilder:KT});Mi({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(i,y,R){var{parser:Y}=i,oe=Y.gullet.future().text==="["?Y.parseSizeGroup(!0):null,he=!Y.settings.displayMode||!Y.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:Y.mode,newLine:he,size:oe&&To(oe,"size").value}},htmlBuilder(i,y){var R=ca.makeSpan(["mspace"],[],y);return i.newLine&&(R.classes.push("newline"),i.size&&(R.style.marginTop=mi(dl(i.size,y)))),R},mathmlBuilder(i,y){var R=new Ja.MathNode("mspace");return i.newLine&&(R.setAttribute("linebreak","newline"),i.size&&R.setAttribute("height",mi(dl(i.size,y)))),R}});var v3={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},JT=i=>{var y=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(y))throw new ti("Expected a control sequence",i);return y},kF=i=>{var y=i.gullet.popToken();return y.text==="="&&(y=i.gullet.popToken(),y.text===" "&&(y=i.gullet.popToken())),y},QT=(i,y,R,Y)=>{var oe=i.gullet.macros.get(R.text);oe==null&&(R.noexpand=!0,oe={tokens:[R],numArgs:0,unexpandable:!i.gullet.isExpandable(R.text)}),i.gullet.macros.set(y,oe,Y)};Mi({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:y,funcName:R}=i;y.consumeSpaces();var Y=y.fetch();if(v3[Y.text])return(R==="\\global"||R==="\\\\globallong")&&(Y.text=v3[Y.text]),To(y.parseFunction(),"internal");throw new ti("Invalid token after macro prefix",Y)}});Mi({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:y,funcName:R}=i,Y=y.gullet.popToken(),oe=Y.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(oe))throw new ti("Expected a control sequence",Y);for(var he=0,B,O=[[]];y.gullet.future().text!=="{";)if(Y=y.gullet.popToken(),Y.text==="#"){if(y.gullet.future().text==="{"){B=y.gullet.future(),O[he].push("{");break}if(Y=y.gullet.popToken(),!/^[1-9]$/.test(Y.text))throw new ti('Invalid argument number "'+Y.text+'"');if(parseInt(Y.text)!==he+1)throw new ti('Argument number "'+Y.text+'" out of order');he++,O.push([])}else{if(Y.text==="EOF")throw new ti("Expected a macro definition");O[he].push(Y.text)}var{tokens:e}=y.gullet.consumeArg();return B&&e.unshift(B),(R==="\\edef"||R==="\\xdef")&&(e=y.gullet.expandTokens(e),e.reverse()),y.gullet.macros.set(oe,{tokens:e,numArgs:he,delimiters:O},R===v3[R]),{type:"internal",mode:y.mode}}});Mi({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:y,funcName:R}=i,Y=JT(y.gullet.popToken());y.gullet.consumeSpaces();var oe=kF(y);return QT(y,Y,oe,R==="\\\\globallet"),{type:"internal",mode:y.mode}}});Mi({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:y,funcName:R}=i,Y=JT(y.gullet.popToken()),oe=y.gullet.popToken(),he=y.gullet.popToken();return QT(y,Y,he,R==="\\\\globalfuture"),y.gullet.pushToken(he),y.gullet.pushToken(oe),{type:"internal",mode:y.mode}}});var X1=function(y,R,Y){var oe=Vs.math[y]&&Vs.math[y].replace,he=z4(oe||y,R,Y);if(!he)throw new Error("Unsupported symbol "+y+" and font size "+R+".");return he},H4=function(y,R,Y,oe){var he=Y.havingBaseStyle(R),B=ca.makeSpan(oe.concat(he.sizingClasses(Y)),[y],Y),O=he.sizeMultiplier/Y.sizeMultiplier;return B.height*=O,B.depth*=O,B.maxFontSize=he.sizeMultiplier,B},qT=function(y,R,Y){var oe=R.havingBaseStyle(Y),he=(1-R.sizeMultiplier/oe.sizeMultiplier)*R.fontMetrics().axisHeight;y.classes.push("delimcenter"),y.style.top=mi(he),y.height-=he,y.depth+=he},LF=function(y,R,Y,oe,he,B){var O=ca.makeSymbol(y,"Main-Regular",he,oe),e=H4(O,R,oe,B);return Y&&qT(e,oe,R),e},PF=function(y,R,Y,oe){return ca.makeSymbol(y,"Size"+R+"-Regular",Y,oe)},eA=function(y,R,Y,oe,he,B){var O=PF(y,R,he,oe),e=H4(ca.makeSpan(["delimsizing","size"+R],[O],oe),Zi.TEXT,oe,B);return Y&&qT(e,oe,Zi.TEXT),e},Z2=function(y,R,Y){var oe;R==="Size1-Regular"?oe="delim-size1":oe="delim-size4";var he=ca.makeSpan(["delimsizinginner",oe],[ca.makeSpan([],[ca.makeSymbol(y,R,Y)])]);return{type:"elem",elem:he}},j2=function(y,R,Y){var oe=$0["Size4-Regular"][y.charCodeAt(0)]?$0["Size4-Regular"][y.charCodeAt(0)][4]:$0["Size1-Regular"][y.charCodeAt(0)][4],he=new xd("inner",Bz(y,Math.round(1e3*R))),B=new Ph([he],{width:mi(oe),height:mi(R),style:"width:"+mi(oe),viewBox:"0 0 "+1e3*oe+" "+Math.round(1e3*R),preserveAspectRatio:"xMinYMin"}),O=ca.makeSvgSpan([],[B],Y);return O.height=R,O.style.height=mi(R),O.style.width=mi(oe),{type:"elem",elem:O}},p3=.008,Um={type:"kern",size:-1*p3},DF=["|","\\lvert","\\rvert","\\vert"],RF=["\\|","\\lVert","\\rVert","\\Vert"],tA=function(y,R,Y,oe,he,B){var O,e,p,E,a="",L=0;O=p=E=y,e=null;var x="Size1-Regular";y==="\\uparrow"?p=E="⏐":y==="\\Uparrow"?p=E="‖":y==="\\downarrow"?O=p="⏐":y==="\\Downarrow"?O=p="‖":y==="\\updownarrow"?(O="\\uparrow",p="⏐",E="\\downarrow"):y==="\\Updownarrow"?(O="\\Uparrow",p="‖",E="\\Downarrow"):Ki.contains(DF,y)?(p="∣",a="vert",L=333):Ki.contains(RF,y)?(p="∥",a="doublevert",L=556):y==="["||y==="\\lbrack"?(O="⎡",p="⎢",E="⎣",x="Size4-Regular",a="lbrack",L=667):y==="]"||y==="\\rbrack"?(O="⎤",p="⎥",E="⎦",x="Size4-Regular",a="rbrack",L=667):y==="\\lfloor"||y==="⌊"?(p=O="⎢",E="⎣",x="Size4-Regular",a="lfloor",L=667):y==="\\lceil"||y==="⌈"?(O="⎡",p=E="⎢",x="Size4-Regular",a="lceil",L=667):y==="\\rfloor"||y==="⌋"?(p=O="⎥",E="⎦",x="Size4-Regular",a="rfloor",L=667):y==="\\rceil"||y==="⌉"?(O="⎤",p=E="⎥",x="Size4-Regular",a="rceil",L=667):y==="("||y==="\\lparen"?(O="⎛",p="⎜",E="⎝",x="Size4-Regular",a="lparen",L=875):y===")"||y==="\\rparen"?(O="⎞",p="⎟",E="⎠",x="Size4-Regular",a="rparen",L=875):y==="\\{"||y==="\\lbrace"?(O="⎧",e="⎨",E="⎩",p="⎪",x="Size4-Regular"):y==="\\}"||y==="\\rbrace"?(O="⎫",e="⎬",E="⎭",p="⎪",x="Size4-Regular"):y==="\\lgroup"||y==="⟮"?(O="⎧",E="⎩",p="⎪",x="Size4-Regular"):y==="\\rgroup"||y==="⟯"?(O="⎫",E="⎭",p="⎪",x="Size4-Regular"):y==="\\lmoustache"||y==="⎰"?(O="⎧",E="⎭",p="⎪",x="Size4-Regular"):(y==="\\rmoustache"||y==="⎱")&&(O="⎫",E="⎩",p="⎪",x="Size4-Regular");var d=X1(O,x,he),m=d.height+d.depth,r=X1(p,x,he),t=r.height+r.depth,s=X1(E,x,he),n=s.height+s.depth,f=0,c=1;if(e!==null){var u=X1(e,x,he);f=u.height+u.depth,c=2}var b=m+n+f,h=Math.max(0,Math.ceil((R-b)/(c*t))),S=b+h*c*t,v=oe.fontMetrics().axisHeight;Y&&(v*=oe.sizeMultiplier);var l=S/2-v,g=[];if(a.length>0){var C=S-m-n,M=Math.round(S*1e3),D=Oz(a,Math.round(C*1e3)),T=new xd(a,D),P=(L/1e3).toFixed(3)+"em",A=(M/1e3).toFixed(3)+"em",o=new Ph([T],{width:P,height:A,viewBox:"0 0 "+L+" "+M}),k=ca.makeSvgSpan([],[o],oe);k.height=M/1e3,k.style.width=P,k.style.height=A,g.push({type:"elem",elem:k})}else{if(g.push(Z2(E,x,he)),g.push(Um),e===null){var w=S-m-n+2*p3;g.push(j2(p,w,oe))}else{var U=(S-m-n-f)/2+2*p3;g.push(j2(p,U,oe)),g.push(Um),g.push(Z2(e,x,he)),g.push(Um),g.push(j2(p,U,oe))}g.push(Um),g.push(Z2(O,x,he))}var F=oe.havingBaseStyle(Zi.TEXT),G=ca.makeVList({positionType:"bottom",positionData:l,children:g},F);return H4(ca.makeSpan(["delimsizing","mult"],[G],F),Zi.TEXT,oe,B)},X2=80,$2=.08,K2=function(y,R,Y,oe,he){var B=Fz(y,oe,Y),O=new xd(y,B),e=new Ph([O],{width:"400em",height:mi(R),viewBox:"0 0 400000 "+Y,preserveAspectRatio:"xMinYMin slice"});return ca.makeSvgSpan(["hide-tail"],[e],he)},IF=function(y,R){var Y=R.havingBaseSizing(),oe=iA("\\surd",y*Y.sizeMultiplier,aA,Y),he=Y.sizeMultiplier,B=Math.max(0,R.minRuleThickness-R.fontMetrics().sqrtRuleThickness),O,e=0,p=0,E=0,a;return oe.type==="small"?(E=1e3+1e3*B+X2,y<1?he=1:y<1.4&&(he=.7),e=(1+B+$2)/he,p=(1+B)/he,O=K2("sqrtMain",e,E,B,R),O.style.minWidth="0.853em",a=.833/he):oe.type==="large"?(E=(1e3+X2)*sp[oe.size],p=(sp[oe.size]+B)/he,e=(sp[oe.size]+B+$2)/he,O=K2("sqrtSize"+oe.size,e,E,B,R),O.style.minWidth="1.02em",a=1/he):(e=y+B+$2,p=y+B,E=Math.floor(1e3*y+B)+X2,O=K2("sqrtTall",e,E,B,R),O.style.minWidth="0.742em",a=1.056),O.height=p,O.style.height=mi(e),{span:O,advanceWidth:a,ruleWidth:(R.fontMetrics().sqrtRuleThickness+B)*he}},rA=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],zF=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],nA=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],sp=[0,1.2,1.8,2.4,3],FF=function(y,R,Y,oe,he){if(y==="<"||y==="\\lt"||y==="⟨"?y="\\langle":(y===">"||y==="\\gt"||y==="⟩")&&(y="\\rangle"),Ki.contains(rA,y)||Ki.contains(nA,y))return eA(y,R,!1,Y,oe,he);if(Ki.contains(zF,y))return tA(y,sp[R],!1,Y,oe,he);throw new ti("Illegal delimiter: '"+y+"'")},BF=[{type:"small",style:Zi.SCRIPTSCRIPT},{type:"small",style:Zi.SCRIPT},{type:"small",style:Zi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],OF=[{type:"small",style:Zi.SCRIPTSCRIPT},{type:"small",style:Zi.SCRIPT},{type:"small",style:Zi.TEXT},{type:"stack"}],aA=[{type:"small",style:Zi.SCRIPTSCRIPT},{type:"small",style:Zi.SCRIPT},{type:"small",style:Zi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_F=function(y){if(y.type==="small")return"Main-Regular";if(y.type==="large")return"Size"+y.size+"-Regular";if(y.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+y.type+"' here.")},iA=function(y,R,Y,oe){for(var he=Math.min(2,3-oe.style.size),B=he;B<Y.length&&Y[B].type!=="stack";B++){var O=X1(y,_F(Y[B]),"math"),e=O.height+O.depth;if(Y[B].type==="small"){var p=oe.havingBaseStyle(Y[B].style);e*=p.sizeMultiplier}if(e>R)return Y[B]}return Y[Y.length-1]},oA=function(y,R,Y,oe,he,B){y==="<"||y==="\\lt"||y==="⟨"?y="\\langle":(y===">"||y==="\\gt"||y==="⟩")&&(y="\\rangle");var O;Ki.contains(nA,y)?O=BF:Ki.contains(rA,y)?O=aA:O=OF;var e=iA(y,R,O,oe);return e.type==="small"?LF(y,e.style,Y,oe,he,B):e.type==="large"?eA(y,e.size,Y,oe,he,B):tA(y,R,Y,oe,he,B)},NF=function(y,R,Y,oe,he,B){var O=oe.fontMetrics().axisHeight*oe.sizeMultiplier,e=901,p=5/oe.fontMetrics().ptPerEm,E=Math.max(R-O,Y+O),a=Math.max(E/500*e,2*E-p);return oA(y,a,!0,oe,he,B)},Mh={sqrtImage:IF,sizedDelim:FF,sizeToMaxHeight:sp,customSizedDelim:oA,leftRightDelim:NF},k8={"\\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}},UF=["(","\\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 Ty(i,y){var R=by(i);if(R&&Ki.contains(UF,R.text))return R;throw R?new ti("Invalid delimiter '"+R.text+"' after '"+y.funcName+"'",i):new ti("Invalid delimiter type '"+i.type+"'",i)}Mi({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:(i,y)=>{var R=Ty(y[0],i);return{type:"delimsizing",mode:i.parser.mode,size:k8[i.funcName].size,mclass:k8[i.funcName].mclass,delim:R.text}},htmlBuilder:(i,y)=>i.delim==="."?ca.makeSpan([i.mclass]):Mh.sizedDelim(i.delim,i.size,y,i.mode,[i.mclass]),mathmlBuilder:i=>{var y=[];i.delim!=="."&&y.push(h0(i.delim,i.mode));var R=new Ja.MathNode("mo",y);i.mclass==="mopen"||i.mclass==="mclose"?R.setAttribute("fence","true"):R.setAttribute("fence","false"),R.setAttribute("stretchy","true");var Y=mi(Mh.sizeToMaxHeight[i.size]);return R.setAttribute("minsize",Y),R.setAttribute("maxsize",Y),R}});function L8(i){if(!i.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Mi({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var R=i.parser.gullet.macros.get("\\current@color");if(R&&typeof R!="string")throw new ti("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:i.parser.mode,delim:Ty(y[0],i).text,color:R}}});Mi({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var R=Ty(y[0],i),Y=i.parser;++Y.leftrightDepth;var oe=Y.parseExpression(!1);--Y.leftrightDepth,Y.expect("\\right",!1);var he=To(Y.parseFunction(),"leftright-right");return{type:"leftright",mode:Y.mode,body:oe,left:R.text,right:he.delim,rightColor:he.color}},htmlBuilder:(i,y)=>{L8(i);for(var R=pu(i.body,y,!0,["mopen","mclose"]),Y=0,oe=0,he=!1,B=0;B<R.length;B++)R[B].isMiddle?he=!0:(Y=Math.max(R[B].height,Y),oe=Math.max(R[B].depth,oe));Y*=y.sizeMultiplier,oe*=y.sizeMultiplier;var O;if(i.left==="."?O=kp(y,["mopen"]):O=Mh.leftRightDelim(i.left,Y,oe,y,i.mode,["mopen"]),R.unshift(O),he)for(var e=1;e<R.length;e++){var p=R[e],E=p.isMiddle;E&&(R[e]=Mh.leftRightDelim(E.delim,Y,oe,E.options,i.mode,[]))}var a;if(i.right===".")a=kp(y,["mclose"]);else{var L=i.rightColor?y.withColor(i.rightColor):y;a=Mh.leftRightDelim(i.right,Y,oe,L,i.mode,["mclose"])}return R.push(a),ca.makeSpan(["minner"],R,y)},mathmlBuilder:(i,y)=>{L8(i);var R=yc(i.body,y);if(i.left!=="."){var Y=new Ja.MathNode("mo",[h0(i.left,i.mode)]);Y.setAttribute("fence","true"),R.unshift(Y)}if(i.right!=="."){var oe=new Ja.MathNode("mo",[h0(i.right,i.mode)]);oe.setAttribute("fence","true"),i.rightColor&&oe.setAttribute("mathcolor",i.rightColor),R.push(oe)}return O4(R)}});Mi({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var R=Ty(y[0],i);if(!i.parser.leftrightDepth)throw new ti("\\middle without preceding \\left",R);return{type:"middle",mode:i.parser.mode,delim:R.text}},htmlBuilder:(i,y)=>{var R;if(i.delim===".")R=kp(y,[]);else{R=Mh.sizedDelim(i.delim,1,y,i.mode,[]);var Y={delim:i.delim,options:y};R.isMiddle=Y}return R},mathmlBuilder:(i,y)=>{var R=i.delim==="\\vert"||i.delim==="|"?h0("|","text"):h0(i.delim,i.mode),Y=new Ja.MathNode("mo",[R]);return Y.setAttribute("fence","true"),Y.setAttribute("lspace","0.05em"),Y.setAttribute("rspace","0.05em"),Y}});var V4=(i,y)=>{var R=ca.wrapFragment(Jo(i.body,y),y),Y=i.label.slice(1),oe=y.sizeMultiplier,he,B=0,O=Ki.isCharacterBox(i.body);if(Y==="sout")he=ca.makeSpan(["stretchy","sout"]),he.height=y.fontMetrics().defaultRuleThickness/oe,B=-.5*y.fontMetrics().xHeight;else if(Y==="phase"){var e=dl({number:.6,unit:"pt"},y),p=dl({number:.35,unit:"ex"},y),E=y.havingBaseSizing();oe=oe/E.sizeMultiplier;var a=R.height+R.depth+e+p;R.style.paddingLeft=mi(a/2+e);var L=Math.floor(1e3*a*oe),x=Iz(L),d=new Ph([new xd("phase",x)],{width:"400em",height:mi(L/1e3),viewBox:"0 0 400000 "+L,preserveAspectRatio:"xMinYMin slice"});he=ca.makeSvgSpan(["hide-tail"],[d],y),he.style.height=mi(a),B=R.depth+e+p}else{/cancel/.test(Y)?O||R.classes.push("cancel-pad"):Y==="angl"?R.classes.push("anglpad"):R.classes.push("boxpad");var m=0,r=0,t=0;/box/.test(Y)?(t=Math.max(y.fontMetrics().fboxrule,y.minRuleThickness),m=y.fontMetrics().fboxsep+(Y==="colorbox"?0:t),r=m):Y==="angl"?(t=Math.max(y.fontMetrics().defaultRuleThickness,y.minRuleThickness),m=4*t,r=Math.max(0,.25-R.depth)):(m=O?.2:0,r=m),he=Rh.encloseSpan(R,Y,m,r,y),/fbox|boxed|fcolorbox/.test(Y)?(he.style.borderStyle="solid",he.style.borderWidth=mi(t)):Y==="angl"&&t!==.049&&(he.style.borderTopWidth=mi(t),he.style.borderRightWidth=mi(t)),B=R.depth+r,i.backgroundColor&&(he.style.backgroundColor=i.backgroundColor,i.borderColor&&(he.style.borderColor=i.borderColor))}var s;if(i.backgroundColor)s=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:he,shift:B},{type:"elem",elem:R,shift:0}]},y);else{var n=/cancel|phase/.test(Y)?["svg-align"]:[];s=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:R,shift:0},{type:"elem",elem:he,shift:B,wrapperClasses:n}]},y)}return/cancel/.test(Y)&&(s.height=R.height,s.depth=R.depth),/cancel/.test(Y)&&!O?ca.makeSpan(["mord","cancel-lap"],[s],y):ca.makeSpan(["mord"],[s],y)},G4=(i,y)=>{var R=0,Y=new Ja.MathNode(i.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Rs(i.body,y)]);switch(i.label){case"\\cancel":Y.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Y.setAttribute("notation","downdiagonalstrike");break;case"\\phase":Y.setAttribute("notation","phasorangle");break;case"\\sout":Y.setAttribute("notation","horizontalstrike");break;case"\\fbox":Y.setAttribute("notation","box");break;case"\\angl":Y.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(R=y.fontMetrics().fboxsep*y.fontMetrics().ptPerEm,Y.setAttribute("width","+"+2*R+"pt"),Y.setAttribute("height","+"+2*R+"pt"),Y.setAttribute("lspace",R+"pt"),Y.setAttribute("voffset",R+"pt"),i.label==="\\fcolorbox"){var oe=Math.max(y.fontMetrics().fboxrule,y.minRuleThickness);Y.setAttribute("style","border: "+oe+"em solid "+String(i.borderColor))}break;case"\\xcancel":Y.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return i.backgroundColor&&Y.setAttribute("mathbackground",i.backgroundColor),Y};Mi({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(i,y,R){var{parser:Y,funcName:oe}=i,he=To(y[0],"color-token").color,B=y[1];return{type:"enclose",mode:Y.mode,label:oe,backgroundColor:he,body:B}},htmlBuilder:V4,mathmlBuilder:G4});Mi({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(i,y,R){var{parser:Y,funcName:oe}=i,he=To(y[0],"color-token").color,B=To(y[1],"color-token").color,O=y[2];return{type:"enclose",mode:Y.mode,label:oe,backgroundColor:B,borderColor:he,body:O}},htmlBuilder:V4,mathmlBuilder:G4});Mi({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(i,y){var{parser:R}=i;return{type:"enclose",mode:R.mode,label:"\\fbox",body:y[0]}}});Mi({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];return{type:"enclose",mode:R.mode,label:Y,body:oe}},htmlBuilder:V4,mathmlBuilder:G4});Mi({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(i,y){var{parser:R}=i;return{type:"enclose",mode:R.mode,label:"\\angl",body:y[0]}}});var sA={};function th(i){for(var{type:y,names:R,props:Y,handler:oe,htmlBuilder:he,mathmlBuilder:B}=i,O={type:y,numArgs:Y.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:oe},e=0;e<R.length;++e)sA[R[e]]=O;he&&(Fg[y]=he),B&&(Bg[y]=B)}var lA={};function $r(i,y){lA[i]=y}function P8(i){var y=[];i.consumeSpaces();var R=i.fetch().text;for(R==="\\relax"&&(i.consume(),i.consumeSpaces(),R=i.fetch().text);R==="\\hline"||R==="\\hdashline";)i.consume(),y.push(R==="\\hdashline"),i.consumeSpaces(),R=i.fetch().text;return y}var Ay=i=>{var y=i.parser.settings;if(!y.displayMode)throw new ti("{"+i.envName+"} can be used only in display mode.")};function W4(i){if(i.indexOf("ed")===-1)return i.indexOf("*")===-1}function Md(i,y,R){var{hskipBeforeAndAfter:Y,addJot:oe,cols:he,arraystretch:B,colSeparationType:O,autoTag:e,singleRow:p,emptySingleRow:E,maxNumCols:a,leqno:L}=y;if(i.gullet.beginGroup(),p||i.gullet.macros.set("\\cr","\\\\\\relax"),!B){var x=i.gullet.expandMacroAsText("\\arraystretch");if(x==null)B=1;else if(B=parseFloat(x),!B||B<0)throw new ti("Invalid \\arraystretch: "+x)}i.gullet.beginGroup();var d=[],m=[d],r=[],t=[],s=e!=null?[]:void 0;function n(){e&&i.gullet.macros.set("\\@eqnsw","1",!0)}function f(){s&&(i.gullet.macros.get("\\df@tag")?(s.push(i.subparse([new Q0("\\df@tag")])),i.gullet.macros.set("\\df@tag",void 0,!0)):s.push(!!e&&i.gullet.macros.get("\\@eqnsw")==="1"))}for(n(),t.push(P8(i));;){var c=i.parseExpression(!1,p?"\\end":"\\\\");i.gullet.endGroup(),i.gullet.beginGroup(),c={type:"ordgroup",mode:i.mode,body:c},R&&(c={type:"styling",mode:i.mode,style:R,body:[c]}),d.push(c);var u=i.fetch().text;if(u==="&"){if(a&&d.length===a){if(p||O)throw new ti("Too many tab characters: &",i.nextToken);i.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}i.consume()}else if(u==="\\end"){f(),d.length===1&&c.type==="styling"&&c.body[0].body.length===0&&(m.length>1||!E)&&m.pop(),t.length<m.length+1&&t.push([]);break}else if(u==="\\\\"){i.consume();var b=void 0;i.gullet.future().text!==" "&&(b=i.parseSizeGroup(!0)),r.push(b?b.value:null),f(),t.push(P8(i)),d=[],m.push(d),n()}else throw new ti("Expected & or \\\\ or \\cr or \\end",i.nextToken)}return i.gullet.endGroup(),i.gullet.endGroup(),{type:"array",mode:i.mode,addJot:oe,arraystretch:B,body:m,cols:he,rowGaps:r,hskipBeforeAndAfter:Y,hLinesBeforeRow:t,colSeparationType:O,tags:s,leqno:L}}function Y4(i){return i.slice(0,1)==="d"?"display":"text"}var rh=function(y,R){var Y,oe,he=y.body.length,B=y.hLinesBeforeRow,O=0,e=new Array(he),p=[],E=Math.max(R.fontMetrics().arrayRuleWidth,R.minRuleThickness),a=1/R.fontMetrics().ptPerEm,L=5*a;if(y.colSeparationType&&y.colSeparationType==="small"){var x=R.havingStyle(Zi.SCRIPT).sizeMultiplier;L=.2778*(x/R.sizeMultiplier)}var d=y.colSeparationType==="CD"?dl({number:3,unit:"ex"},R):12*a,m=3*a,r=y.arraystretch*d,t=.7*r,s=.3*r,n=0;function f(J){for(var re=0;re<J.length;++re)re>0&&(n+=.25),p.push({pos:n,isDashed:J[re]})}for(f(B[0]),Y=0;Y<y.body.length;++Y){var c=y.body[Y],u=t,b=s;O<c.length&&(O=c.length);var h=new Array(c.length);for(oe=0;oe<c.length;++oe){var S=Jo(c[oe],R);b<S.depth&&(b=S.depth),u<S.height&&(u=S.height),h[oe]=S}var v=y.rowGaps[Y],l=0;v&&(l=dl(v,R),l>0&&(l+=s,b<l&&(b=l),l=0)),y.addJot&&(b+=m),h.height=u,h.depth=b,n+=u,h.pos=n,n+=b+l,e[Y]=h,f(B[Y+1])}var g=n/2+R.fontMetrics().axisHeight,C=y.cols||[],M=[],D,T,P=[];if(y.tags&&y.tags.some(J=>J))for(Y=0;Y<he;++Y){var A=e[Y],o=A.pos-g,k=y.tags[Y],w=void 0;k===!0?w=ca.makeSpan(["eqn-num"],[],R):k===!1?w=ca.makeSpan([],[],R):w=ca.makeSpan([],pu(k,R,!0),R),w.depth=A.depth,w.height=A.height,P.push({type:"elem",elem:w,shift:o})}for(oe=0,T=0;oe<O||T<C.length;++oe,++T){for(var U=C[T]||{},F=!0;U.type==="separator";){if(F||(D=ca.makeSpan(["arraycolsep"],[]),D.style.width=mi(R.fontMetrics().doubleRuleSep),M.push(D)),U.separator==="|"||U.separator===":"){var G=U.separator==="|"?"solid":"dashed",_=ca.makeSpan(["vertical-separator"],[],R);_.style.height=mi(n),_.style.borderRightWidth=mi(E),_.style.borderRightStyle=G,_.style.margin="0 "+mi(-E/2);var H=n-g;H&&(_.style.verticalAlign=mi(-H)),M.push(_)}else throw new ti("Invalid separator type: "+U.separator);T++,U=C[T]||{},F=!1}if(!(oe>=O)){var V=void 0;(oe>0||y.hskipBeforeAndAfter)&&(V=Ki.deflt(U.pregap,L),V!==0&&(D=ca.makeSpan(["arraycolsep"],[]),D.style.width=mi(V),M.push(D)));var N=[];for(Y=0;Y<he;++Y){var W=e[Y],j=W[oe];if(j){var Q=W.pos-g;j.depth=W.depth,j.height=W.height,N.push({type:"elem",elem:j,shift:Q})}}N=ca.makeVList({positionType:"individualShift",children:N},R),N=ca.makeSpan(["col-align-"+(U.align||"c")],[N]),M.push(N),(oe<O-1||y.hskipBeforeAndAfter)&&(V=Ki.deflt(U.postgap,L),V!==0&&(D=ca.makeSpan(["arraycolsep"],[]),D.style.width=mi(V),M.push(D)))}}if(e=ca.makeSpan(["mtable"],M),p.length>0){for(var ie=ca.makeLineSpan("hline",R,E),ue=ca.makeLineSpan("hdashline",R,E),pe=[{type:"elem",elem:e,shift:0}];p.length>0;){var q=p.pop(),X=q.pos-g;q.isDashed?pe.push({type:"elem",elem:ue,shift:X}):pe.push({type:"elem",elem:ie,shift:X})}e=ca.makeVList({positionType:"individualShift",children:pe},R)}if(P.length===0)return ca.makeSpan(["mord"],[e],R);var K=ca.makeVList({positionType:"individualShift",children:P},R);return K=ca.makeSpan(["tag"],[K],R),ca.makeFragment([e,K])},HF={c:"center ",l:"left ",r:"right "},nh=function(y,R){for(var Y=[],oe=new Ja.MathNode("mtd",[],["mtr-glue"]),he=new Ja.MathNode("mtd",[],["mml-eqn-num"]),B=0;B<y.body.length;B++){for(var O=y.body[B],e=[],p=0;p<O.length;p++)e.push(new Ja.MathNode("mtd",[Rs(O[p],R)]));y.tags&&y.tags[B]&&(e.unshift(oe),e.push(oe),y.leqno?e.unshift(he):e.push(he)),Y.push(new Ja.MathNode("mtr",e))}var E=new Ja.MathNode("mtable",Y),a=y.arraystretch===.5?.1:.16+y.arraystretch-1+(y.addJot?.09:0);E.setAttribute("rowspacing",mi(a));var L="",x="";if(y.cols&&y.cols.length>0){var d=y.cols,m="",r=!1,t=0,s=d.length;d[0].type==="separator"&&(L+="top ",t=1),d[d.length-1].type==="separator"&&(L+="bottom ",s-=1);for(var n=t;n<s;n++)d[n].type==="align"?(x+=HF[d[n].align],r&&(m+="none "),r=!0):d[n].type==="separator"&&r&&(m+=d[n].separator==="|"?"solid ":"dashed ",r=!1);E.setAttribute("columnalign",x.trim()),/[sd]/.test(m)&&E.setAttribute("columnlines",m.trim())}if(y.colSeparationType==="align"){for(var f=y.cols||[],c="",u=1;u<f.length;u++)c+=u%2?"0em ":"1em ";E.setAttribute("columnspacing",c.trim())}else y.colSeparationType==="alignat"||y.colSeparationType==="gather"?E.setAttribute("columnspacing","0em"):y.colSeparationType==="small"?E.setAttribute("columnspacing","0.2778em"):y.colSeparationType==="CD"?E.setAttribute("columnspacing","0.5em"):E.setAttribute("columnspacing","1em");var b="",h=y.hLinesBeforeRow;L+=h[0].length>0?"left ":"",L+=h[h.length-1].length>0?"right ":"";for(var S=1;S<h.length-1;S++)b+=h[S].length===0?"none ":h[S][0]?"dashed ":"solid ";return/[sd]/.test(b)&&E.setAttribute("rowlines",b.trim()),L!==""&&(E=new Ja.MathNode("menclose",[E]),E.setAttribute("notation",L.trim())),y.arraystretch&&y.arraystretch<1&&(E=new Ja.MathNode("mstyle",[E]),E.setAttribute("scriptlevel","1")),E},uA=function(y,R){y.envName.indexOf("ed")===-1&&Ay(y);var Y=[],oe=y.envName.indexOf("at")>-1?"alignat":"align",he=y.envName==="split",B=Md(y.parser,{cols:Y,addJot:!0,autoTag:he?void 0:W4(y.envName),emptySingleRow:!0,colSeparationType:oe,maxNumCols:he?2:void 0,leqno:y.parser.settings.leqno},"display"),O,e=0,p={type:"ordgroup",mode:y.mode,body:[]};if(R[0]&&R[0].type==="ordgroup"){for(var E="",a=0;a<R[0].body.length;a++){var L=To(R[0].body[a],"textord");E+=L.text}O=Number(E),e=O*2}var x=!e;B.body.forEach(function(t){for(var s=1;s<t.length;s+=2){var n=To(t[s],"styling"),f=To(n.body[0],"ordgroup");f.body.unshift(p)}if(x)e<t.length&&(e=t.length);else{var c=t.length/2;if(O<c)throw new ti("Too many math in a row: "+("expected "+O+", but got "+c),t[0])}});for(var d=0;d<e;++d){var m="r",r=0;d%2===1?m="l":d>0&&x&&(r=1),Y[d]={type:"align",align:m,pregap:r,postgap:0}}return B.colSeparationType=x?"align":"alignat",B};th({type:"array",names:["array","darray"],props:{numArgs:1},handler(i,y){var R=by(y[0]),Y=R?[y[0]]:To(y[0],"ordgroup").body,oe=Y.map(function(B){var O=N4(B),e=O.text;if("lcr".indexOf(e)!==-1)return{type:"align",align:e};if(e==="|")return{type:"separator",separator:"|"};if(e===":")return{type:"separator",separator:":"};throw new ti("Unknown column alignment: "+e,B)}),he={cols:oe,hskipBeforeAndAfter:!0,maxNumCols:oe.length};return Md(i.parser,he,Y4(i.envName))},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(i){var y={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[i.envName.replace("*","")],R="c",Y={hskipBeforeAndAfter:!1,cols:[{type:"align",align:R}]};if(i.envName.charAt(i.envName.length-1)==="*"){var oe=i.parser;if(oe.consumeSpaces(),oe.fetch().text==="["){if(oe.consume(),oe.consumeSpaces(),R=oe.fetch().text,"lcr".indexOf(R)===-1)throw new ti("Expected l or c or r",oe.nextToken);oe.consume(),oe.consumeSpaces(),oe.expect("]"),oe.consume(),Y.cols=[{type:"align",align:R}]}}var he=Md(i.parser,Y,Y4(i.envName)),B=Math.max(0,...he.body.map(O=>O.length));return he.cols=new Array(B).fill({type:"align",align:R}),y?{type:"leftright",mode:i.mode,body:[he],left:y[0],right:y[1],rightColor:void 0}:he},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(i){var y={arraystretch:.5},R=Md(i.parser,y,"script");return R.colSeparationType="small",R},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["subarray"],props:{numArgs:1},handler(i,y){var R=by(y[0]),Y=R?[y[0]]:To(y[0],"ordgroup").body,oe=Y.map(function(B){var O=N4(B),e=O.text;if("lc".indexOf(e)!==-1)return{type:"align",align:e};throw new ti("Unknown column alignment: "+e,B)});if(oe.length>1)throw new ti("{subarray} can contain only one column");var he={cols:oe,hskipBeforeAndAfter:!1,arraystretch:.5};if(he=Md(i.parser,he,"script"),he.body.length>0&&he.body[0].length>1)throw new ti("{subarray} can contain only one column");return he},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(i){var y={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},R=Md(i.parser,y,Y4(i.envName));return{type:"leftright",mode:i.mode,body:[R],left:i.envName.indexOf("r")>-1?".":"\\{",right:i.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uA,htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(i){Ki.contains(["gather","gather*"],i.envName)&&Ay(i);var y={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:W4(i.envName),emptySingleRow:!0,leqno:i.parser.settings.leqno};return Md(i.parser,y,"display")},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uA,htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(i){Ay(i);var y={autoTag:W4(i.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:i.parser.settings.leqno};return Md(i.parser,y,"display")},htmlBuilder:rh,mathmlBuilder:nh});th({type:"array",names:["CD"],props:{numArgs:0},handler(i){return Ay(i),EF(i.parser)},htmlBuilder:rh,mathmlBuilder:nh});$r("\\nonumber","\\gdef\\@eqnsw{0}");$r("\\notag","\\nonumber");Mi({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(i,y){throw new ti(i.funcName+" valid only within array environment")}});var D8=sA;Mi({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];if(oe.type!=="ordgroup")throw new ti("Invalid environment name",oe);for(var he="",B=0;B<oe.body.length;++B)he+=To(oe.body[B],"textord").text;if(Y==="\\begin"){if(!D8.hasOwnProperty(he))throw new ti("No such environment: "+he,oe);var O=D8[he],{args:e,optArgs:p}=R.parseArguments("\\begin{"+he+"}",O),E={mode:R.mode,envName:he,parser:R},a=O.handler(E,e,p);R.expect("\\end",!1);var L=R.nextToken,x=To(R.parseFunction(),"environment");if(x.name!==he)throw new ti("Mismatch: \\begin{"+he+"} matched by \\end{"+x.name+"}",L);return a}return{type:"environment",mode:R.mode,name:he,nameGroup:oe}}});var fA=(i,y)=>{var R=i.font,Y=y.withFont(R);return Jo(i.body,Y)},cA=(i,y)=>{var R=i.font,Y=y.withFont(R);return Rs(i.body,Y)},R8={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Mi({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=Og(y[0]),he=Y;return he in R8&&(he=R8[he]),{type:"font",mode:R.mode,font:he.slice(1),body:oe}},htmlBuilder:fA,mathmlBuilder:cA});Mi({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(i,y)=>{var{parser:R}=i,Y=y[0],oe=Ki.isCharacterBox(Y);return{type:"mclass",mode:R.mode,mclass:wy(Y),body:[{type:"font",mode:R.mode,font:"boldsymbol",body:Y}],isCharacterBox:oe}}});Mi({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(i,y)=>{var{parser:R,funcName:Y,breakOnTokenText:oe}=i,{mode:he}=R,B=R.parseExpression(!0,oe),O="math"+Y.slice(1);return{type:"font",mode:he,font:O,body:{type:"ordgroup",mode:R.mode,body:B}}},htmlBuilder:fA,mathmlBuilder:cA});var hA=(i,y)=>{var R=y;return i==="display"?R=R.id>=Zi.SCRIPT.id?R.text():Zi.DISPLAY:i==="text"&&R.size===Zi.DISPLAY.size?R=Zi.TEXT:i==="script"?R=Zi.SCRIPT:i==="scriptscript"&&(R=Zi.SCRIPTSCRIPT),R},Z4=(i,y)=>{var R=hA(i.size,y.style),Y=R.fracNum(),oe=R.fracDen(),he;he=y.havingStyle(Y);var B=Jo(i.numer,he,y);if(i.continued){var O=8.5/y.fontMetrics().ptPerEm,e=3.5/y.fontMetrics().ptPerEm;B.height=B.height<O?O:B.height,B.depth=B.depth<e?e:B.depth}he=y.havingStyle(oe);var p=Jo(i.denom,he,y),E,a,L;i.hasBarLine?(i.barSize?(a=dl(i.barSize,y),E=ca.makeLineSpan("frac-line",y,a)):E=ca.makeLineSpan("frac-line",y),a=E.height,L=E.height):(E=null,a=0,L=y.fontMetrics().defaultRuleThickness);var x,d,m;R.size===Zi.DISPLAY.size||i.size==="display"?(x=y.fontMetrics().num1,a>0?d=3*L:d=7*L,m=y.fontMetrics().denom1):(a>0?(x=y.fontMetrics().num2,d=L):(x=y.fontMetrics().num3,d=3*L),m=y.fontMetrics().denom2);var r;if(E){var s=y.fontMetrics().axisHeight;x-B.depth-(s+.5*a)<d&&(x+=d-(x-B.depth-(s+.5*a))),s-.5*a-(p.height-m)<d&&(m+=d-(s-.5*a-(p.height-m)));var n=-(s-.5*a);r=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:p,shift:m},{type:"elem",elem:E,shift:n},{type:"elem",elem:B,shift:-x}]},y)}else{var t=x-B.depth-(p.height-m);t<d&&(x+=.5*(d-t),m+=.5*(d-t)),r=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:p,shift:m},{type:"elem",elem:B,shift:-x}]},y)}he=y.havingStyle(R),r.height*=he.sizeMultiplier/y.sizeMultiplier,r.depth*=he.sizeMultiplier/y.sizeMultiplier;var f;R.size===Zi.DISPLAY.size?f=y.fontMetrics().delim1:R.size===Zi.SCRIPTSCRIPT.size?f=y.havingStyle(Zi.SCRIPT).fontMetrics().delim2:f=y.fontMetrics().delim2;var c,u;return i.leftDelim==null?c=kp(y,["mopen"]):c=Mh.customSizedDelim(i.leftDelim,f,!0,y.havingStyle(R),i.mode,["mopen"]),i.continued?u=ca.makeSpan([]):i.rightDelim==null?u=kp(y,["mclose"]):u=Mh.customSizedDelim(i.rightDelim,f,!0,y.havingStyle(R),i.mode,["mclose"]),ca.makeSpan(["mord"].concat(he.sizingClasses(y)),[c,ca.makeSpan(["mfrac"],[r]),u],y)},j4=(i,y)=>{var R=new Ja.MathNode("mfrac",[Rs(i.numer,y),Rs(i.denom,y)]);if(!i.hasBarLine)R.setAttribute("linethickness","0px");else if(i.barSize){var Y=dl(i.barSize,y);R.setAttribute("linethickness",mi(Y))}var oe=hA(i.size,y.style);if(oe.size!==y.style.size){R=new Ja.MathNode("mstyle",[R]);var he=oe.size===Zi.DISPLAY.size?"true":"false";R.setAttribute("displaystyle",he),R.setAttribute("scriptlevel","0")}if(i.leftDelim!=null||i.rightDelim!=null){var B=[];if(i.leftDelim!=null){var O=new Ja.MathNode("mo",[new Ja.TextNode(i.leftDelim.replace("\\",""))]);O.setAttribute("fence","true"),B.push(O)}if(B.push(R),i.rightDelim!=null){var e=new Ja.MathNode("mo",[new Ja.TextNode(i.rightDelim.replace("\\",""))]);e.setAttribute("fence","true"),B.push(e)}return O4(B)}return R};Mi({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0],he=y[1],B,O=null,e=null,p="auto";switch(Y){case"\\dfrac":case"\\frac":case"\\tfrac":B=!0;break;case"\\\\atopfrac":B=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":B=!1,O="(",e=")";break;case"\\\\bracefrac":B=!1,O="\\{",e="\\}";break;case"\\\\brackfrac":B=!1,O="[",e="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Y){case"\\dfrac":case"\\dbinom":p="display";break;case"\\tfrac":case"\\tbinom":p="text";break}return{type:"genfrac",mode:R.mode,continued:!1,numer:oe,denom:he,hasBarLine:B,leftDelim:O,rightDelim:e,size:p,barSize:null}},htmlBuilder:Z4,mathmlBuilder:j4});Mi({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0],he=y[1];return{type:"genfrac",mode:R.mode,continued:!0,numer:oe,denom:he,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Mi({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(i){var{parser:y,funcName:R,token:Y}=i,oe;switch(R){case"\\over":oe="\\frac";break;case"\\choose":oe="\\binom";break;case"\\atop":oe="\\\\atopfrac";break;case"\\brace":oe="\\\\bracefrac";break;case"\\brack":oe="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:y.mode,replaceWith:oe,token:Y}}});var I8=["display","text","script","scriptscript"],z8=function(y){var R=null;return y.length>0&&(R=y,R=R==="."?null:R),R};Mi({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(i,y){var{parser:R}=i,Y=y[4],oe=y[5],he=Og(y[0]),B=he.type==="atom"&&he.family==="open"?z8(he.text):null,O=Og(y[1]),e=O.type==="atom"&&O.family==="close"?z8(O.text):null,p=To(y[2],"size"),E,a=null;p.isBlank?E=!0:(a=p.value,E=a.number>0);var L="auto",x=y[3];if(x.type==="ordgroup"){if(x.body.length>0){var d=To(x.body[0],"textord");L=I8[Number(d.text)]}}else x=To(x,"textord"),L=I8[Number(x.text)];return{type:"genfrac",mode:R.mode,numer:Y,denom:oe,continued:!1,hasBarLine:E,barSize:a,leftDelim:B,rightDelim:e,size:L}},htmlBuilder:Z4,mathmlBuilder:j4});Mi({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(i,y){var{parser:R,funcName:Y,token:oe}=i;return{type:"infix",mode:R.mode,replaceWith:"\\\\abovefrac",size:To(y[0],"size").value,token:oe}}});Mi({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0],he=yz(To(y[1],"infix").size),B=y[2],O=he.number>0;return{type:"genfrac",mode:R.mode,numer:oe,denom:B,continued:!1,hasBarLine:O,barSize:he,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Z4,mathmlBuilder:j4});var dA=(i,y)=>{var R=y.style,Y,oe;i.type==="supsub"?(Y=i.sup?Jo(i.sup,y.havingStyle(R.sup()),y):Jo(i.sub,y.havingStyle(R.sub()),y),oe=To(i.base,"horizBrace")):oe=To(i,"horizBrace");var he=Jo(oe.base,y.havingBaseStyle(Zi.DISPLAY)),B=Rh.svgSpan(oe,y),O;if(oe.isOver?(O=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:he},{type:"kern",size:.1},{type:"elem",elem:B}]},y),O.children[0].children[0].children[1].classes.push("svg-align")):(O=ca.makeVList({positionType:"bottom",positionData:he.depth+.1+B.height,children:[{type:"elem",elem:B},{type:"kern",size:.1},{type:"elem",elem:he}]},y),O.children[0].children[0].children[0].classes.push("svg-align")),Y){var e=ca.makeSpan(["mord",oe.isOver?"mover":"munder"],[O],y);oe.isOver?O=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:Y}]},y):O=ca.makeVList({positionType:"bottom",positionData:e.depth+.2+Y.height+Y.depth,children:[{type:"elem",elem:Y},{type:"kern",size:.2},{type:"elem",elem:e}]},y)}return ca.makeSpan(["mord",oe.isOver?"mover":"munder"],[O],y)},VF=(i,y)=>{var R=Rh.mathMLnode(i.label);return new Ja.MathNode(i.isOver?"mover":"munder",[Rs(i.base,y),R])};Mi({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(i,y){var{parser:R,funcName:Y}=i;return{type:"horizBrace",mode:R.mode,label:Y,isOver:/^\\over/.test(Y),base:y[0]}},htmlBuilder:dA,mathmlBuilder:VF});Mi({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[1],oe=To(y[0],"url").url;return R.settings.isTrusted({command:"\\href",url:oe})?{type:"href",mode:R.mode,href:oe,body:Gl(Y)}:R.formatUnsupportedCmd("\\href")},htmlBuilder:(i,y)=>{var R=pu(i.body,y,!1);return ca.makeAnchor(i.href,[],R,y)},mathmlBuilder:(i,y)=>{var R=bd(i.body,y);return R instanceof a0||(R=new a0("mrow",[R])),R.setAttribute("href",i.href),R}});Mi({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=To(y[0],"url").url;if(!R.settings.isTrusted({command:"\\url",url:Y}))return R.formatUnsupportedCmd("\\url");for(var oe=[],he=0;he<Y.length;he++){var B=Y[he];B==="~"&&(B="\\textasciitilde"),oe.push({type:"textord",mode:"text",text:B})}var O={type:"text",mode:R.mode,font:"\\texttt",body:oe};return{type:"href",mode:R.mode,href:Y,body:Gl(O)}}});Mi({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(i,y){var{parser:R}=i;return{type:"hbox",mode:R.mode,body:Gl(y[0])}},htmlBuilder(i,y){var R=pu(i.body,y,!1);return ca.makeFragment(R)},mathmlBuilder(i,y){return new Ja.MathNode("mrow",yc(i.body,y))}});Mi({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(i,y)=>{var{parser:R,funcName:Y,token:oe}=i,he=To(y[0],"raw").string,B=y[1];R.settings.strict&&R.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var O,e={};switch(Y){case"\\htmlClass":e.class=he,O={command:"\\htmlClass",class:he};break;case"\\htmlId":e.id=he,O={command:"\\htmlId",id:he};break;case"\\htmlStyle":e.style=he,O={command:"\\htmlStyle",style:he};break;case"\\htmlData":{for(var p=he.split(","),E=0;E<p.length;E++){var a=p[E].split("=");if(a.length!==2)throw new ti("Error parsing key-value for \\htmlData");e["data-"+a[0].trim()]=a[1].trim()}O={command:"\\htmlData",attributes:e};break}default:throw new Error("Unrecognized html command")}return R.settings.isTrusted(O)?{type:"html",mode:R.mode,attributes:e,body:Gl(B)}:R.formatUnsupportedCmd(Y)},htmlBuilder:(i,y)=>{var R=pu(i.body,y,!1),Y=["enclosing"];i.attributes.class&&Y.push(...i.attributes.class.trim().split(/\s+/));var oe=ca.makeSpan(Y,R,y);for(var he in i.attributes)he!=="class"&&i.attributes.hasOwnProperty(he)&&oe.setAttribute(he,i.attributes[he]);return oe},mathmlBuilder:(i,y)=>bd(i.body,y)});Mi({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i;return{type:"htmlmathml",mode:R.mode,html:Gl(y[0]),mathml:Gl(y[1])}},htmlBuilder:(i,y)=>{var R=pu(i.html,y,!1);return ca.makeFragment(R)},mathmlBuilder:(i,y)=>bd(i.mathml,y)});var J2=function(y){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(y))return{number:+y,unit:"bp"};var R=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(y);if(!R)throw new ti("Invalid size: '"+y+"' in \\includegraphics");var Y={number:+(R[1]+R[2]),unit:R[3]};if(!RT(Y))throw new ti("Invalid unit: '"+Y.unit+"' in \\includegraphics.");return Y};Mi({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(i,y,R)=>{var{parser:Y}=i,oe={number:0,unit:"em"},he={number:.9,unit:"em"},B={number:0,unit:"em"},O="";if(R[0])for(var e=To(R[0],"raw").string,p=e.split(","),E=0;E<p.length;E++){var a=p[E].split("=");if(a.length===2){var L=a[1].trim();switch(a[0].trim()){case"alt":O=L;break;case"width":oe=J2(L);break;case"height":he=J2(L);break;case"totalheight":B=J2(L);break;default:throw new ti("Invalid key: '"+a[0]+"' in \\includegraphics.")}}}var x=To(y[0],"url").url;return O===""&&(O=x,O=O.replace(/^.*[\\/]/,""),O=O.substring(0,O.lastIndexOf("."))),Y.settings.isTrusted({command:"\\includegraphics",url:x})?{type:"includegraphics",mode:Y.mode,alt:O,width:oe,height:he,totalheight:B,src:x}:Y.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(i,y)=>{var R=dl(i.height,y),Y=0;i.totalheight.number>0&&(Y=dl(i.totalheight,y)-R);var oe=0;i.width.number>0&&(oe=dl(i.width,y));var he={height:mi(R+Y)};oe>0&&(he.width=mi(oe)),Y>0&&(he.verticalAlign=mi(-Y));var B=new Vz(i.src,i.alt,he);return B.height=R,B.depth=Y,B},mathmlBuilder:(i,y)=>{var R=new Ja.MathNode("mglyph",[]);R.setAttribute("alt",i.alt);var Y=dl(i.height,y),oe=0;if(i.totalheight.number>0&&(oe=dl(i.totalheight,y)-Y,R.setAttribute("valign",mi(-oe))),R.setAttribute("height",mi(Y+oe)),i.width.number>0){var he=dl(i.width,y);R.setAttribute("width",mi(he))}return R.setAttribute("src",i.src),R}});Mi({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(i,y){var{parser:R,funcName:Y}=i,oe=To(y[0],"size");if(R.settings.strict){var he=Y[1]==="m",B=oe.value.unit==="mu";he?(B||R.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Y+" supports only mu units, "+("not "+oe.value.unit+" units")),R.mode!=="math"&&R.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Y+" works only in math mode")):B&&R.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Y+" doesn't support mu units")}return{type:"kern",mode:R.mode,dimension:oe.value}},htmlBuilder(i,y){return ca.makeGlue(i.dimension,y)},mathmlBuilder(i,y){var R=dl(i.dimension,y);return new Ja.SpaceNode(R)}});Mi({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0];return{type:"lap",mode:R.mode,alignment:Y.slice(5),body:oe}},htmlBuilder:(i,y)=>{var R;i.alignment==="clap"?(R=ca.makeSpan([],[Jo(i.body,y)]),R=ca.makeSpan(["inner"],[R],y)):R=ca.makeSpan(["inner"],[Jo(i.body,y)]);var Y=ca.makeSpan(["fix"],[]),oe=ca.makeSpan([i.alignment],[R,Y],y),he=ca.makeSpan(["strut"]);return he.style.height=mi(oe.height+oe.depth),oe.depth&&(he.style.verticalAlign=mi(-oe.depth)),oe.children.unshift(he),oe=ca.makeSpan(["thinbox"],[oe],y),ca.makeSpan(["mord","vbox"],[oe],y)},mathmlBuilder:(i,y)=>{var R=new Ja.MathNode("mpadded",[Rs(i.body,y)]);if(i.alignment!=="rlap"){var Y=i.alignment==="llap"?"-1":"-0.5";R.setAttribute("lspace",Y+"width")}return R.setAttribute("width","0px"),R}});Mi({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,y){var{funcName:R,parser:Y}=i,oe=Y.mode;Y.switchMode("math");var he=R==="\\("?"\\)":"$",B=Y.parseExpression(!1,he);return Y.expect(he),Y.switchMode(oe),{type:"styling",mode:Y.mode,style:"text",body:B}}});Mi({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,y){throw new ti("Mismatched "+i.funcName)}});var F8=(i,y)=>{switch(y.style.size){case Zi.DISPLAY.size:return i.display;case Zi.TEXT.size:return i.text;case Zi.SCRIPT.size:return i.script;case Zi.SCRIPTSCRIPT.size:return i.scriptscript;default:return i.text}};Mi({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(i,y)=>{var{parser:R}=i;return{type:"mathchoice",mode:R.mode,display:Gl(y[0]),text:Gl(y[1]),script:Gl(y[2]),scriptscript:Gl(y[3])}},htmlBuilder:(i,y)=>{var R=F8(i,y),Y=pu(R,y,!1);return ca.makeFragment(Y)},mathmlBuilder:(i,y)=>{var R=F8(i,y);return bd(R,y)}});var vA=(i,y,R,Y,oe,he,B)=>{i=ca.makeSpan([],[i]);var O=R&&Ki.isCharacterBox(R),e,p;if(y){var E=Jo(y,Y.havingStyle(oe.sup()),Y);p={elem:E,kern:Math.max(Y.fontMetrics().bigOpSpacing1,Y.fontMetrics().bigOpSpacing3-E.depth)}}if(R){var a=Jo(R,Y.havingStyle(oe.sub()),Y);e={elem:a,kern:Math.max(Y.fontMetrics().bigOpSpacing2,Y.fontMetrics().bigOpSpacing4-a.height)}}var L;if(p&&e){var x=Y.fontMetrics().bigOpSpacing5+e.elem.height+e.elem.depth+e.kern+i.depth+B;L=ca.makeVList({positionType:"bottom",positionData:x,children:[{type:"kern",size:Y.fontMetrics().bigOpSpacing5},{type:"elem",elem:e.elem,marginLeft:mi(-he)},{type:"kern",size:e.kern},{type:"elem",elem:i},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:mi(he)},{type:"kern",size:Y.fontMetrics().bigOpSpacing5}]},Y)}else if(e){var d=i.height-B;L=ca.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:Y.fontMetrics().bigOpSpacing5},{type:"elem",elem:e.elem,marginLeft:mi(-he)},{type:"kern",size:e.kern},{type:"elem",elem:i}]},Y)}else if(p){var m=i.depth+B;L=ca.makeVList({positionType:"bottom",positionData:m,children:[{type:"elem",elem:i},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:mi(he)},{type:"kern",size:Y.fontMetrics().bigOpSpacing5}]},Y)}else return i;var r=[L];if(e&&he!==0&&!O){var t=ca.makeSpan(["mspace"],[],Y);t.style.marginRight=mi(he),r.unshift(t)}return ca.makeSpan(["mop","op-limits"],r,Y)},pA=["\\smallint"],p1=(i,y)=>{var R,Y,oe=!1,he;i.type==="supsub"?(R=i.sup,Y=i.sub,he=To(i.base,"op"),oe=!0):he=To(i,"op");var B=y.style,O=!1;B.size===Zi.DISPLAY.size&&he.symbol&&!Ki.contains(pA,he.name)&&(O=!0);var e;if(he.symbol){var p=O?"Size2-Regular":"Size1-Regular",E="";if((he.name==="\\oiint"||he.name==="\\oiiint")&&(E=he.name.slice(1),he.name=E==="oiint"?"\\iint":"\\iiint"),e=ca.makeSymbol(he.name,p,"math",y,["mop","op-symbol",O?"large-op":"small-op"]),E.length>0){var a=e.italic,L=ca.staticSvg(E+"Size"+(O?"2":"1"),y);e=ca.makeVList({positionType:"individualShift",children:[{type:"elem",elem:e,shift:0},{type:"elem",elem:L,shift:O?.08:0}]},y),he.name="\\"+E,e.classes.unshift("mop"),e.italic=a}}else if(he.body){var x=pu(he.body,y,!0);x.length===1&&x[0]instanceof c0?(e=x[0],e.classes[0]="mop"):e=ca.makeSpan(["mop"],x,y)}else{for(var d=[],m=1;m<he.name.length;m++)d.push(ca.mathsym(he.name[m],he.mode,y));e=ca.makeSpan(["mop"],d,y)}var r=0,t=0;return(e instanceof c0||he.name==="\\oiint"||he.name==="\\oiiint")&&!he.suppressBaseShift&&(r=(e.height-e.depth)/2-y.fontMetrics().axisHeight,t=e.italic),oe?vA(e,R,Y,y,B,t,r):(r&&(e.style.position="relative",e.style.top=mi(r)),e)},Gp=(i,y)=>{var R;if(i.symbol)R=new a0("mo",[h0(i.name,i.mode)]),Ki.contains(pA,i.name)&&R.setAttribute("largeop","false");else if(i.body)R=new a0("mo",yc(i.body,y));else{R=new a0("mi",[new op(i.name.slice(1))]);var Y=new a0("mo",[h0("⁡","text")]);i.parentIsSupSub?R=new a0("mrow",[R,Y]):R=GT([R,Y])}return R},GF={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Mi({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=Y;return oe.length===1&&(oe=GF[oe]),{type:"op",mode:R.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:oe}},htmlBuilder:p1,mathmlBuilder:Gp});Mi({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"op",mode:R.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Gl(Y)}},htmlBuilder:p1,mathmlBuilder:Gp});var WF={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Mi({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(i){var{parser:y,funcName:R}=i;return{type:"op",mode:y.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:R}},htmlBuilder:p1,mathmlBuilder:Gp});Mi({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(i){var{parser:y,funcName:R}=i;return{type:"op",mode:y.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:R}},htmlBuilder:p1,mathmlBuilder:Gp});Mi({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(i){var{parser:y,funcName:R}=i,Y=R;return Y.length===1&&(Y=WF[Y]),{type:"op",mode:y.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Y}},htmlBuilder:p1,mathmlBuilder:Gp});var mA=(i,y)=>{var R,Y,oe=!1,he;i.type==="supsub"?(R=i.sup,Y=i.sub,he=To(i.base,"operatorname"),oe=!0):he=To(i,"operatorname");var B;if(he.body.length>0){for(var O=he.body.map(a=>{var L=a.text;return typeof L=="string"?{type:"textord",mode:a.mode,text:L}:a}),e=pu(O,y.withFont("mathrm"),!0),p=0;p<e.length;p++){var E=e[p];E instanceof c0&&(E.text=E.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}B=ca.makeSpan(["mop"],e,y)}else B=ca.makeSpan(["mop"],[],y);return oe?vA(B,R,Y,y,y.style,0,0):B},YF=(i,y)=>{for(var R=yc(i.body,y.withFont("mathrm")),Y=!0,oe=0;oe<R.length;oe++){var he=R[oe];if(!(he instanceof Ja.SpaceNode))if(he instanceof Ja.MathNode)switch(he.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var B=he.children[0];he.children.length===1&&B instanceof Ja.TextNode?B.text=B.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Y=!1;break}default:Y=!1}else Y=!1}if(Y){var O=R.map(E=>E.toText()).join("");R=[new Ja.TextNode(O)]}var e=new Ja.MathNode("mi",R);e.setAttribute("mathvariant","normal");var p=new Ja.MathNode("mo",[h0("⁡","text")]);return i.parentIsSupSub?new Ja.MathNode("mrow",[e,p]):Ja.newDocumentFragment([e,p])};Mi({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(i,y)=>{var{parser:R,funcName:Y}=i,oe=y[0];return{type:"operatorname",mode:R.mode,body:Gl(oe),alwaysHandleSupSub:Y==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:mA,mathmlBuilder:YF});$r("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");tv({type:"ordgroup",htmlBuilder(i,y){return i.semisimple?ca.makeFragment(pu(i.body,y,!1)):ca.makeSpan(["mord"],pu(i.body,y,!0),y)},mathmlBuilder(i,y){return bd(i.body,y,!0)}});Mi({type:"overline",names:["\\overline"],props:{numArgs:1},handler(i,y){var{parser:R}=i,Y=y[0];return{type:"overline",mode:R.mode,body:Y}},htmlBuilder(i,y){var R=Jo(i.body,y.havingCrampedStyle()),Y=ca.makeLineSpan("overline-line",y),oe=y.fontMetrics().defaultRuleThickness,he=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R},{type:"kern",size:3*oe},{type:"elem",elem:Y},{type:"kern",size:oe}]},y);return ca.makeSpan(["mord","overline"],[he],y)},mathmlBuilder(i,y){var R=new Ja.MathNode("mo",[new Ja.TextNode("‾")]);R.setAttribute("stretchy","true");var Y=new Ja.MathNode("mover",[Rs(i.body,y),R]);return Y.setAttribute("accent","true"),Y}});Mi({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"phantom",mode:R.mode,body:Gl(Y)}},htmlBuilder:(i,y)=>{var R=pu(i.body,y.withPhantom(),!1);return ca.makeFragment(R)},mathmlBuilder:(i,y)=>{var R=yc(i.body,y);return new Ja.MathNode("mphantom",R)}});Mi({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"hphantom",mode:R.mode,body:Y}},htmlBuilder:(i,y)=>{var R=ca.makeSpan([],[Jo(i.body,y.withPhantom())]);if(R.height=0,R.depth=0,R.children)for(var Y=0;Y<R.children.length;Y++)R.children[Y].height=0,R.children[Y].depth=0;return R=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R}]},y),ca.makeSpan(["mord"],[R],y)},mathmlBuilder:(i,y)=>{var R=yc(Gl(i.body),y),Y=new Ja.MathNode("mphantom",R),oe=new Ja.MathNode("mpadded",[Y]);return oe.setAttribute("height","0px"),oe.setAttribute("depth","0px"),oe}});Mi({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,y)=>{var{parser:R}=i,Y=y[0];return{type:"vphantom",mode:R.mode,body:Y}},htmlBuilder:(i,y)=>{var R=ca.makeSpan(["inner"],[Jo(i.body,y.withPhantom())]),Y=ca.makeSpan(["fix"],[]);return ca.makeSpan(["mord","rlap"],[R,Y],y)},mathmlBuilder:(i,y)=>{var R=yc(Gl(i.body),y),Y=new Ja.MathNode("mphantom",R),oe=new Ja.MathNode("mpadded",[Y]);return oe.setAttribute("width","0px"),oe}});Mi({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(i,y){var{parser:R}=i,Y=To(y[0],"size").value,oe=y[1];return{type:"raisebox",mode:R.mode,dy:Y,body:oe}},htmlBuilder(i,y){var R=Jo(i.body,y),Y=dl(i.dy,y);return ca.makeVList({positionType:"shift",positionData:-Y,children:[{type:"elem",elem:R}]},y)},mathmlBuilder(i,y){var R=new Ja.MathNode("mpadded",[Rs(i.body,y)]),Y=i.dy.number+i.dy.unit;return R.setAttribute("voffset",Y),R}});Mi({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:y}=i;return{type:"internal",mode:y.mode}}});Mi({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(i,y,R){var{parser:Y}=i,oe=R[0],he=To(y[0],"size"),B=To(y[1],"size");return{type:"rule",mode:Y.mode,shift:oe&&To(oe,"size").value,width:he.value,height:B.value}},htmlBuilder(i,y){var R=ca.makeSpan(["mord","rule"],[],y),Y=dl(i.width,y),oe=dl(i.height,y),he=i.shift?dl(i.shift,y):0;return R.style.borderRightWidth=mi(Y),R.style.borderTopWidth=mi(oe),R.style.bottom=mi(he),R.width=Y,R.height=oe+he,R.depth=-he,R.maxFontSize=oe*1.125*y.sizeMultiplier,R},mathmlBuilder(i,y){var R=dl(i.width,y),Y=dl(i.height,y),oe=i.shift?dl(i.shift,y):0,he=y.color&&y.getColor()||"black",B=new Ja.MathNode("mspace");B.setAttribute("mathbackground",he),B.setAttribute("width",mi(R)),B.setAttribute("height",mi(Y));var O=new Ja.MathNode("mpadded",[B]);return oe>=0?O.setAttribute("height",mi(oe)):(O.setAttribute("height",mi(oe)),O.setAttribute("depth",mi(-oe))),O.setAttribute("voffset",mi(oe)),O}});function gA(i,y,R){for(var Y=pu(i,y,!1),oe=y.sizeMultiplier/R.sizeMultiplier,he=0;he<Y.length;he++){var B=Y[he].classes.indexOf("sizing");B<0?Array.prototype.push.apply(Y[he].classes,y.sizingClasses(R)):Y[he].classes[B+1]==="reset-size"+y.size&&(Y[he].classes[B+1]="reset-size"+R.size),Y[he].height*=oe,Y[he].depth*=oe}return ca.makeFragment(Y)}var B8=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ZF=(i,y)=>{var R=y.havingSize(i.size);return gA(i.body,R,y)};Mi({type:"sizing",names:B8,props:{numArgs:0,allowedInText:!0},handler:(i,y)=>{var{breakOnTokenText:R,funcName:Y,parser:oe}=i,he=oe.parseExpression(!1,R);return{type:"sizing",mode:oe.mode,size:B8.indexOf(Y)+1,body:he}},htmlBuilder:ZF,mathmlBuilder:(i,y)=>{var R=y.havingSize(i.size),Y=yc(i.body,R),oe=new Ja.MathNode("mstyle",Y);return oe.setAttribute("mathsize",mi(R.sizeMultiplier)),oe}});Mi({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(i,y,R)=>{var{parser:Y}=i,oe=!1,he=!1,B=R[0]&&To(R[0],"ordgroup");if(B)for(var O="",e=0;e<B.body.length;++e){var p=B.body[e];if(O=p.text,O==="t")oe=!0;else if(O==="b")he=!0;else{oe=!1,he=!1;break}}else oe=!0,he=!0;var E=y[0];return{type:"smash",mode:Y.mode,body:E,smashHeight:oe,smashDepth:he}},htmlBuilder:(i,y)=>{var R=ca.makeSpan([],[Jo(i.body,y)]);if(!i.smashHeight&&!i.smashDepth)return R;if(i.smashHeight&&(R.height=0,R.children))for(var Y=0;Y<R.children.length;Y++)R.children[Y].height=0;if(i.smashDepth&&(R.depth=0,R.children))for(var oe=0;oe<R.children.length;oe++)R.children[oe].depth=0;var he=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R}]},y);return ca.makeSpan(["mord"],[he],y)},mathmlBuilder:(i,y)=>{var R=new Ja.MathNode("mpadded",[Rs(i.body,y)]);return i.smashHeight&&R.setAttribute("height","0px"),i.smashDepth&&R.setAttribute("depth","0px"),R}});Mi({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(i,y,R){var{parser:Y}=i,oe=R[0],he=y[0];return{type:"sqrt",mode:Y.mode,body:he,index:oe}},htmlBuilder(i,y){var R=Jo(i.body,y.havingCrampedStyle());R.height===0&&(R.height=y.fontMetrics().xHeight),R=ca.wrapFragment(R,y);var Y=y.fontMetrics(),oe=Y.defaultRuleThickness,he=oe;y.style.id<Zi.TEXT.id&&(he=y.fontMetrics().xHeight);var B=oe+he/4,O=R.height+R.depth+B+oe,{span:e,ruleWidth:p,advanceWidth:E}=Mh.sqrtImage(O,y),a=e.height-p;a>R.height+R.depth+B&&(B=(B+a-R.height-R.depth)/2);var L=e.height-R.height-B-p;R.style.paddingLeft=mi(E);var x=ca.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R,wrapperClasses:["svg-align"]},{type:"kern",size:-(R.height+L)},{type:"elem",elem:e},{type:"kern",size:p}]},y);if(i.index){var d=y.havingStyle(Zi.SCRIPTSCRIPT),m=Jo(i.index,d,y),r=.6*(x.height-x.depth),t=ca.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:m}]},y),s=ca.makeSpan(["root"],[t]);return ca.makeSpan(["mord","sqrt"],[s,x],y)}else return ca.makeSpan(["mord","sqrt"],[x],y)},mathmlBuilder(i,y){var{body:R,index:Y}=i;return Y?new Ja.MathNode("mroot",[Rs(R,y),Rs(Y,y)]):new Ja.MathNode("msqrt",[Rs(R,y)])}});var O8={display:Zi.DISPLAY,text:Zi.TEXT,script:Zi.SCRIPT,scriptscript:Zi.SCRIPTSCRIPT};Mi({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i,y){var{breakOnTokenText:R,funcName:Y,parser:oe}=i,he=oe.parseExpression(!0,R),B=Y.slice(1,Y.length-5);return{type:"styling",mode:oe.mode,style:B,body:he}},htmlBuilder(i,y){var R=O8[i.style],Y=y.havingStyle(R).withFont("");return gA(i.body,Y,y)},mathmlBuilder(i,y){var R=O8[i.style],Y=y.havingStyle(R),oe=yc(i.body,Y),he=new Ja.MathNode("mstyle",oe),B={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},O=B[i.style];return he.setAttribute("scriptlevel",O[0]),he.setAttribute("displaystyle",O[1]),he}});var jF=function(y,R){var Y=y.base;if(Y)if(Y.type==="op"){var oe=Y.limits&&(R.style.size===Zi.DISPLAY.size||Y.alwaysHandleSupSub);return oe?p1:null}else if(Y.type==="operatorname"){var he=Y.alwaysHandleSupSub&&(R.style.size===Zi.DISPLAY.size||Y.limits);return he?mA:null}else{if(Y.type==="accent")return Ki.isCharacterBox(Y.base)?U4:null;if(Y.type==="horizBrace"){var B=!y.sub;return B===Y.isOver?dA:null}else return null}else return null};tv({type:"supsub",htmlBuilder(i,y){var R=jF(i,y);if(R)return R(i,y);var{base:Y,sup:oe,sub:he}=i,B=Jo(Y,y),O,e,p=y.fontMetrics(),E=0,a=0,L=Y&&Ki.isCharacterBox(Y);if(oe){var x=y.havingStyle(y.style.sup());O=Jo(oe,x,y),L||(E=B.height-x.fontMetrics().supDrop*x.sizeMultiplier/y.sizeMultiplier)}if(he){var d=y.havingStyle(y.style.sub());e=Jo(he,d,y),L||(a=B.depth+d.fontMetrics().subDrop*d.sizeMultiplier/y.sizeMultiplier)}var m;y.style===Zi.DISPLAY?m=p.sup1:y.style.cramped?m=p.sup3:m=p.sup2;var r=y.sizeMultiplier,t=mi(.5/p.ptPerEm/r),s=null;if(e){var n=i.base&&i.base.type==="op"&&i.base.name&&(i.base.name==="\\oiint"||i.base.name==="\\oiiint");(B instanceof c0||n)&&(s=mi(-B.italic))}var f;if(O&&e){E=Math.max(E,m,O.depth+.25*p.xHeight),a=Math.max(a,p.sub2);var c=p.defaultRuleThickness,u=4*c;if(E-O.depth-(e.height-a)<u){a=u-(E-O.depth)+e.height;var b=.8*p.xHeight-(E-O.depth);b>0&&(E+=b,a-=b)}var h=[{type:"elem",elem:e,shift:a,marginRight:t,marginLeft:s},{type:"elem",elem:O,shift:-E,marginRight:t}];f=ca.makeVList({positionType:"individualShift",children:h},y)}else if(e){a=Math.max(a,p.sub1,e.height-.8*p.xHeight);var S=[{type:"elem",elem:e,marginLeft:s,marginRight:t}];f=ca.makeVList({positionType:"shift",positionData:a,children:S},y)}else if(O)E=Math.max(E,m,O.depth+.25*p.xHeight),f=ca.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:O,marginRight:t}]},y);else throw new Error("supsub must have either sup or sub.");var v=h3(B,"right")||"mord";return ca.makeSpan([v],[B,ca.makeSpan(["msupsub"],[f])],y)},mathmlBuilder(i,y){var R=!1,Y,oe;i.base&&i.base.type==="horizBrace"&&(oe=!!i.sup,oe===i.base.isOver&&(R=!0,Y=i.base.isOver)),i.base&&(i.base.type==="op"||i.base.type==="operatorname")&&(i.base.parentIsSupSub=!0);var he=[Rs(i.base,y)];i.sub&&he.push(Rs(i.sub,y)),i.sup&&he.push(Rs(i.sup,y));var B;if(R)B=Y?"mover":"munder";else if(i.sub)if(i.sup){var p=i.base;p&&p.type==="op"&&p.limits&&y.style===Zi.DISPLAY||p&&p.type==="operatorname"&&p.alwaysHandleSupSub&&(y.style===Zi.DISPLAY||p.limits)?B="munderover":B="msubsup"}else{var e=i.base;e&&e.type==="op"&&e.limits&&(y.style===Zi.DISPLAY||e.alwaysHandleSupSub)||e&&e.type==="operatorname"&&e.alwaysHandleSupSub&&(e.limits||y.style===Zi.DISPLAY)?B="munder":B="msub"}else{var O=i.base;O&&O.type==="op"&&O.limits&&(y.style===Zi.DISPLAY||O.alwaysHandleSupSub)||O&&O.type==="operatorname"&&O.alwaysHandleSupSub&&(O.limits||y.style===Zi.DISPLAY)?B="mover":B="msup"}return new Ja.MathNode(B,he)}});tv({type:"atom",htmlBuilder(i,y){return ca.mathsym(i.text,i.mode,y,["m"+i.family])},mathmlBuilder(i,y){var R=new Ja.MathNode("mo",[h0(i.text,i.mode)]);if(i.family==="bin"){var Y=_4(i,y);Y==="bold-italic"&&R.setAttribute("mathvariant",Y)}else i.family==="punct"?R.setAttribute("separator","true"):(i.family==="open"||i.family==="close")&&R.setAttribute("stretchy","false");return R}});var yA={mi:"italic",mn:"normal",mtext:"normal"};tv({type:"mathord",htmlBuilder(i,y){return ca.makeOrd(i,y,"mathord")},mathmlBuilder(i,y){var R=new Ja.MathNode("mi",[h0(i.text,i.mode,y)]),Y=_4(i,y)||"italic";return Y!==yA[R.type]&&R.setAttribute("mathvariant",Y),R}});tv({type:"textord",htmlBuilder(i,y){return ca.makeOrd(i,y,"textord")},mathmlBuilder(i,y){var R=h0(i.text,i.mode,y),Y=_4(i,y)||"normal",oe;return i.mode==="text"?oe=new Ja.MathNode("mtext",[R]):/[0-9]/.test(i.text)?oe=new Ja.MathNode("mn",[R]):i.text==="\\prime"?oe=new Ja.MathNode("mo",[R]):oe=new Ja.MathNode("mi",[R]),Y!==yA[oe.type]&&oe.setAttribute("mathvariant",Y),oe}});var Q2={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},q2={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tv({type:"spacing",htmlBuilder(i,y){if(q2.hasOwnProperty(i.text)){var R=q2[i.text].className||"";if(i.mode==="text"){var Y=ca.makeOrd(i,y,"textord");return Y.classes.push(R),Y}else return ca.makeSpan(["mspace",R],[ca.mathsym(i.text,i.mode,y)],y)}else{if(Q2.hasOwnProperty(i.text))return ca.makeSpan(["mspace",Q2[i.text]],[],y);throw new ti('Unknown type of space "'+i.text+'"')}},mathmlBuilder(i,y){var R;if(q2.hasOwnProperty(i.text))R=new Ja.MathNode("mtext",[new Ja.TextNode(" ")]);else{if(Q2.hasOwnProperty(i.text))return new Ja.MathNode("mspace");throw new ti('Unknown type of space "'+i.text+'"')}return R}});var _8=()=>{var i=new Ja.MathNode("mtd",[]);return i.setAttribute("width","50%"),i};tv({type:"tag",mathmlBuilder(i,y){var R=new Ja.MathNode("mtable",[new Ja.MathNode("mtr",[_8(),new Ja.MathNode("mtd",[bd(i.body,y)]),_8(),new Ja.MathNode("mtd",[bd(i.tag,y)])])]);return R.setAttribute("width","100%"),R}});var N8={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},U8={"\\textbf":"textbf","\\textmd":"textmd"},XF={"\\textit":"textit","\\textup":"textup"},H8=(i,y)=>{var R=i.font;return R?N8[R]?y.withTextFontFamily(N8[R]):U8[R]?y.withTextFontWeight(U8[R]):y.withTextFontShape(XF[R]):y};Mi({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(i,y){var{parser:R,funcName:Y}=i,oe=y[0];return{type:"text",mode:R.mode,body:Gl(oe),font:Y}},htmlBuilder(i,y){var R=H8(i,y),Y=pu(i.body,R,!0);return ca.makeSpan(["mord","text"],Y,R)},mathmlBuilder(i,y){var R=H8(i,y);return bd(i.body,R)}});Mi({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(i,y){var{parser:R}=i;return{type:"underline",mode:R.mode,body:y[0]}},htmlBuilder(i,y){var R=Jo(i.body,y),Y=ca.makeLineSpan("underline-line",y),oe=y.fontMetrics().defaultRuleThickness,he=ca.makeVList({positionType:"top",positionData:R.height,children:[{type:"kern",size:oe},{type:"elem",elem:Y},{type:"kern",size:3*oe},{type:"elem",elem:R}]},y);return ca.makeSpan(["mord","underline"],[he],y)},mathmlBuilder(i,y){var R=new Ja.MathNode("mo",[new Ja.TextNode("‾")]);R.setAttribute("stretchy","true");var Y=new Ja.MathNode("munder",[Rs(i.body,y),R]);return Y.setAttribute("accentunder","true"),Y}});Mi({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(i,y){var{parser:R}=i;return{type:"vcenter",mode:R.mode,body:y[0]}},htmlBuilder(i,y){var R=Jo(i.body,y),Y=y.fontMetrics().axisHeight,oe=.5*(R.height-Y-(R.depth+Y));return ca.makeVList({positionType:"shift",positionData:oe,children:[{type:"elem",elem:R}]},y)},mathmlBuilder(i,y){return new Ja.MathNode("mpadded",[Rs(i.body,y)],["vcenter"])}});Mi({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(i,y,R){throw new ti("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(i,y){for(var R=V8(i),Y=[],oe=y.havingStyle(y.style.text()),he=0;he<R.length;he++){var B=R[he];B==="~"&&(B="\\textasciitilde"),Y.push(ca.makeSymbol(B,"Typewriter-Regular",i.mode,oe,["mord","texttt"]))}return ca.makeSpan(["mord","text"].concat(oe.sizingClasses(y)),ca.tryCombineChars(Y),oe)},mathmlBuilder(i,y){var R=new Ja.TextNode(V8(i)),Y=new Ja.MathNode("mtext",[R]);return Y.setAttribute("mathvariant","monospace"),Y}});var V8=i=>i.body.replace(/ /g,i.star?"␣":" "),sd=HT,xA=`[ \r - ]`,$F="\\\\[a-zA-Z@]+",KF="\\\\[^\uD800-\uDFFF]",JF="("+$F+")"+xA+"*",QF=`\\\\( -|[ \r ]+ -?)[ \r ]*`,m3="[̀-ͯ]",qF=new RegExp(m3+"+$"),eB="("+xA+"+)|"+(QF+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(m3+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(m3+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+JF)+("|"+KF+")");class G8{constructor(y,R){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=y,this.settings=R,this.tokenRegex=new RegExp(eB,"g"),this.catcodes={"%":14,"~":13}}setCatcode(y,R){this.catcodes[y]=R}lex(){var y=this.input,R=this.tokenRegex.lastIndex;if(R===y.length)return new Q0("EOF",new zc(this,R,R));var Y=this.tokenRegex.exec(y);if(Y===null||Y.index!==R)throw new ti("Unexpected character: '"+y[R]+"'",new Q0(y[R],new zc(this,R,R+1)));var oe=Y[6]||Y[3]||(Y[2]?"\\ ":" ");if(this.catcodes[oe]===14){var he=y.indexOf(` -`,this.tokenRegex.lastIndex);return he===-1?(this.tokenRegex.lastIndex=y.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=he+1,this.lex()}return new Q0(oe,new zc(this,R,this.tokenRegex.lastIndex))}}class tB{constructor(y,R){y===void 0&&(y={}),R===void 0&&(R={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=R,this.builtins=y,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ti("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var y=this.undefStack.pop();for(var R in y)y.hasOwnProperty(R)&&(y[R]==null?delete this.current[R]:this.current[R]=y[R])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(y){return this.current.hasOwnProperty(y)||this.builtins.hasOwnProperty(y)}get(y){return this.current.hasOwnProperty(y)?this.current[y]:this.builtins[y]}set(y,R,Y){if(Y===void 0&&(Y=!1),Y){for(var oe=0;oe<this.undefStack.length;oe++)delete this.undefStack[oe][y];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][y]=R)}else{var he=this.undefStack[this.undefStack.length-1];he&&!he.hasOwnProperty(y)&&(he[y]=this.current[y])}R==null?delete this.current[y]:this.current[y]=R}}var rB=lA;$r("\\noexpand",function(i){var y=i.popToken();return i.isExpandable(y.text)&&(y.noexpand=!0,y.treatAsRelax=!0),{tokens:[y],numArgs:0}});$r("\\expandafter",function(i){var y=i.popToken();return i.expandOnce(!0),{tokens:[y],numArgs:0}});$r("\\@firstoftwo",function(i){var y=i.consumeArgs(2);return{tokens:y[0],numArgs:0}});$r("\\@secondoftwo",function(i){var y=i.consumeArgs(2);return{tokens:y[1],numArgs:0}});$r("\\@ifnextchar",function(i){var y=i.consumeArgs(3);i.consumeSpaces();var R=i.future();return y[0].length===1&&y[0][0].text===R.text?{tokens:y[1],numArgs:0}:{tokens:y[2],numArgs:0}});$r("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");$r("\\TextOrMath",function(i){var y=i.consumeArgs(2);return i.mode==="text"?{tokens:y[0],numArgs:0}:{tokens:y[1],numArgs:0}});var W8={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};$r("\\char",function(i){var y=i.popToken(),R,Y="";if(y.text==="'")R=8,y=i.popToken();else if(y.text==='"')R=16,y=i.popToken();else if(y.text==="`")if(y=i.popToken(),y.text[0]==="\\")Y=y.text.charCodeAt(1);else{if(y.text==="EOF")throw new ti("\\char` missing argument");Y=y.text.charCodeAt(0)}else R=10;if(R){if(Y=W8[y.text],Y==null||Y>=R)throw new ti("Invalid base-"+R+" digit "+y.text);for(var oe;(oe=W8[i.future().text])!=null&&oe<R;)Y*=R,Y+=oe,i.popToken()}return"\\@char{"+Y+"}"});var X4=(i,y,R)=>{var Y=i.consumeArg().tokens;if(Y.length!==1)throw new ti("\\newcommand's first argument must be a macro name");var oe=Y[0].text,he=i.isDefined(oe);if(he&&!y)throw new ti("\\newcommand{"+oe+"} attempting to redefine "+(oe+"; use \\renewcommand"));if(!he&&!R)throw new ti("\\renewcommand{"+oe+"} when command "+oe+" does not yet exist; use \\newcommand");var B=0;if(Y=i.consumeArg().tokens,Y.length===1&&Y[0].text==="["){for(var O="",e=i.expandNextToken();e.text!=="]"&&e.text!=="EOF";)O+=e.text,e=i.expandNextToken();if(!O.match(/^\s*[0-9]+\s*$/))throw new ti("Invalid number of arguments: "+O);B=parseInt(O),Y=i.consumeArg().tokens}return i.macros.set(oe,{tokens:Y,numArgs:B}),""};$r("\\newcommand",i=>X4(i,!1,!0));$r("\\renewcommand",i=>X4(i,!0,!1));$r("\\providecommand",i=>X4(i,!0,!0));$r("\\message",i=>{var y=i.consumeArgs(1)[0];return console.log(y.reverse().map(R=>R.text).join("")),""});$r("\\errmessage",i=>{var y=i.consumeArgs(1)[0];return console.error(y.reverse().map(R=>R.text).join("")),""});$r("\\show",i=>{var y=i.popToken(),R=y.text;return console.log(y,i.macros.get(R),sd[R],Vs.math[R],Vs.text[R]),""});$r("\\bgroup","{");$r("\\egroup","}");$r("~","\\nobreakspace");$r("\\lq","`");$r("\\rq","'");$r("\\aa","\\r a");$r("\\AA","\\r A");$r("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");$r("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");$r("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");$r("ℬ","\\mathscr{B}");$r("ℰ","\\mathscr{E}");$r("ℱ","\\mathscr{F}");$r("ℋ","\\mathscr{H}");$r("ℐ","\\mathscr{I}");$r("ℒ","\\mathscr{L}");$r("ℳ","\\mathscr{M}");$r("ℛ","\\mathscr{R}");$r("ℭ","\\mathfrak{C}");$r("ℌ","\\mathfrak{H}");$r("ℨ","\\mathfrak{Z}");$r("\\Bbbk","\\Bbb{k}");$r("·","\\cdotp");$r("\\llap","\\mathllap{\\textrm{#1}}");$r("\\rlap","\\mathrlap{\\textrm{#1}}");$r("\\clap","\\mathclap{\\textrm{#1}}");$r("\\mathstrut","\\vphantom{(}");$r("\\underbar","\\underline{\\text{#1}}");$r("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');$r("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");$r("\\ne","\\neq");$r("≠","\\neq");$r("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");$r("∉","\\notin");$r("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");$r("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");$r("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");$r("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");$r("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");$r("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");$r("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");$r("⟂","\\perp");$r("‼","\\mathclose{!\\mkern-0.8mu!}");$r("∌","\\notni");$r("⌜","\\ulcorner");$r("⌝","\\urcorner");$r("⌞","\\llcorner");$r("⌟","\\lrcorner");$r("©","\\copyright");$r("®","\\textregistered");$r("️","\\textregistered");$r("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');$r("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');$r("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');$r("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');$r("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");$r("⋮","\\vdots");$r("\\varGamma","\\mathit{\\Gamma}");$r("\\varDelta","\\mathit{\\Delta}");$r("\\varTheta","\\mathit{\\Theta}");$r("\\varLambda","\\mathit{\\Lambda}");$r("\\varXi","\\mathit{\\Xi}");$r("\\varPi","\\mathit{\\Pi}");$r("\\varSigma","\\mathit{\\Sigma}");$r("\\varUpsilon","\\mathit{\\Upsilon}");$r("\\varPhi","\\mathit{\\Phi}");$r("\\varPsi","\\mathit{\\Psi}");$r("\\varOmega","\\mathit{\\Omega}");$r("\\substack","\\begin{subarray}{c}#1\\end{subarray}");$r("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");$r("\\boxed","\\fbox{$\\displaystyle{#1}$}");$r("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");$r("\\implies","\\DOTSB\\;\\Longrightarrow\\;");$r("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Y8={",":"\\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"};$r("\\dots",function(i){var y="\\dotso",R=i.expandAfterFuture().text;return R in Y8?y=Y8[R]:(R.slice(0,4)==="\\not"||R in Vs.math&&Ki.contains(["bin","rel"],Vs.math[R].group))&&(y="\\dotsb"),y});var $4={")":!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};$r("\\dotso",function(i){var y=i.future().text;return y in $4?"\\ldots\\,":"\\ldots"});$r("\\dotsc",function(i){var y=i.future().text;return y in $4&&y!==","?"\\ldots\\,":"\\ldots"});$r("\\cdots",function(i){var y=i.future().text;return y in $4?"\\@cdots\\,":"\\@cdots"});$r("\\dotsb","\\cdots");$r("\\dotsm","\\cdots");$r("\\dotsi","\\!\\cdots");$r("\\dotsx","\\ldots\\,");$r("\\DOTSI","\\relax");$r("\\DOTSB","\\relax");$r("\\DOTSX","\\relax");$r("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");$r("\\,","\\tmspace+{3mu}{.1667em}");$r("\\thinspace","\\,");$r("\\>","\\mskip{4mu}");$r("\\:","\\tmspace+{4mu}{.2222em}");$r("\\medspace","\\:");$r("\\;","\\tmspace+{5mu}{.2777em}");$r("\\thickspace","\\;");$r("\\!","\\tmspace-{3mu}{.1667em}");$r("\\negthinspace","\\!");$r("\\negmedspace","\\tmspace-{4mu}{.2222em}");$r("\\negthickspace","\\tmspace-{5mu}{.277em}");$r("\\enspace","\\kern.5em ");$r("\\enskip","\\hskip.5em\\relax");$r("\\quad","\\hskip1em\\relax");$r("\\qquad","\\hskip2em\\relax");$r("\\tag","\\@ifstar\\tag@literal\\tag@paren");$r("\\tag@paren","\\tag@literal{({#1})}");$r("\\tag@literal",i=>{if(i.macros.get("\\df@tag"))throw new ti("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});$r("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");$r("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");$r("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");$r("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");$r("\\newline","\\\\\\relax");$r("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var bA=mi($0["Main-Regular"]["T".charCodeAt(0)][1]-.7*$0["Main-Regular"]["A".charCodeAt(0)][1]);$r("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+bA+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");$r("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+bA+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");$r("\\hspace","\\@ifstar\\@hspacer\\@hspace");$r("\\@hspace","\\hskip #1\\relax");$r("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");$r("\\ordinarycolon",":");$r("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");$r("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');$r("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');$r("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');$r("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');$r("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');$r("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');$r("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');$r("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');$r("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');$r("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');$r("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');$r("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');$r("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');$r("∷","\\dblcolon");$r("∹","\\eqcolon");$r("≔","\\coloneqq");$r("≕","\\eqqcolon");$r("⩴","\\Coloneqq");$r("\\ratio","\\vcentcolon");$r("\\coloncolon","\\dblcolon");$r("\\colonequals","\\coloneqq");$r("\\coloncolonequals","\\Coloneqq");$r("\\equalscolon","\\eqqcolon");$r("\\equalscoloncolon","\\Eqqcolon");$r("\\colonminus","\\coloneq");$r("\\coloncolonminus","\\Coloneq");$r("\\minuscolon","\\eqcolon");$r("\\minuscoloncolon","\\Eqcolon");$r("\\coloncolonapprox","\\Colonapprox");$r("\\coloncolonsim","\\Colonsim");$r("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");$r("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");$r("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");$r("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");$r("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");$r("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");$r("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");$r("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");$r("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");$r("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");$r("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");$r("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");$r("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");$r("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");$r("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");$r("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");$r("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");$r("\\nleqq","\\html@mathml{\\@nleqq}{≰}");$r("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");$r("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");$r("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");$r("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");$r("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");$r("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");$r("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");$r("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");$r("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");$r("\\imath","\\html@mathml{\\@imath}{ı}");$r("\\jmath","\\html@mathml{\\@jmath}{ȷ}");$r("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");$r("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");$r("⟦","\\llbracket");$r("⟧","\\rrbracket");$r("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");$r("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");$r("⦃","\\lBrace");$r("⦄","\\rBrace");$r("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");$r("⦵","\\minuso");$r("\\darr","\\downarrow");$r("\\dArr","\\Downarrow");$r("\\Darr","\\Downarrow");$r("\\lang","\\langle");$r("\\rang","\\rangle");$r("\\uarr","\\uparrow");$r("\\uArr","\\Uparrow");$r("\\Uarr","\\Uparrow");$r("\\N","\\mathbb{N}");$r("\\R","\\mathbb{R}");$r("\\Z","\\mathbb{Z}");$r("\\alef","\\aleph");$r("\\alefsym","\\aleph");$r("\\Alpha","\\mathrm{A}");$r("\\Beta","\\mathrm{B}");$r("\\bull","\\bullet");$r("\\Chi","\\mathrm{X}");$r("\\clubs","\\clubsuit");$r("\\cnums","\\mathbb{C}");$r("\\Complex","\\mathbb{C}");$r("\\Dagger","\\ddagger");$r("\\diamonds","\\diamondsuit");$r("\\empty","\\emptyset");$r("\\Epsilon","\\mathrm{E}");$r("\\Eta","\\mathrm{H}");$r("\\exist","\\exists");$r("\\harr","\\leftrightarrow");$r("\\hArr","\\Leftrightarrow");$r("\\Harr","\\Leftrightarrow");$r("\\hearts","\\heartsuit");$r("\\image","\\Im");$r("\\infin","\\infty");$r("\\Iota","\\mathrm{I}");$r("\\isin","\\in");$r("\\Kappa","\\mathrm{K}");$r("\\larr","\\leftarrow");$r("\\lArr","\\Leftarrow");$r("\\Larr","\\Leftarrow");$r("\\lrarr","\\leftrightarrow");$r("\\lrArr","\\Leftrightarrow");$r("\\Lrarr","\\Leftrightarrow");$r("\\Mu","\\mathrm{M}");$r("\\natnums","\\mathbb{N}");$r("\\Nu","\\mathrm{N}");$r("\\Omicron","\\mathrm{O}");$r("\\plusmn","\\pm");$r("\\rarr","\\rightarrow");$r("\\rArr","\\Rightarrow");$r("\\Rarr","\\Rightarrow");$r("\\real","\\Re");$r("\\reals","\\mathbb{R}");$r("\\Reals","\\mathbb{R}");$r("\\Rho","\\mathrm{P}");$r("\\sdot","\\cdot");$r("\\sect","\\S");$r("\\spades","\\spadesuit");$r("\\sub","\\subset");$r("\\sube","\\subseteq");$r("\\supe","\\supseteq");$r("\\Tau","\\mathrm{T}");$r("\\thetasym","\\vartheta");$r("\\weierp","\\wp");$r("\\Zeta","\\mathrm{Z}");$r("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");$r("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");$r("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");$r("\\bra","\\mathinner{\\langle{#1}|}");$r("\\ket","\\mathinner{|{#1}\\rangle}");$r("\\braket","\\mathinner{\\langle{#1}\\rangle}");$r("\\Bra","\\left\\langle#1\\right|");$r("\\Ket","\\left|#1\\right\\rangle");var wA=i=>y=>{var R=y.consumeArg().tokens,Y=y.consumeArg().tokens,oe=y.consumeArg().tokens,he=y.consumeArg().tokens,B=y.macros.get("|"),O=y.macros.get("\\|");y.macros.beginGroup();var e=a=>L=>{i&&(L.macros.set("|",B),oe.length&&L.macros.set("\\|",O));var x=a;if(!a&&oe.length){var d=L.future();d.text==="|"&&(L.popToken(),x=!0)}return{tokens:x?oe:Y,numArgs:0}};y.macros.set("|",e(!1)),oe.length&&y.macros.set("\\|",e(!0));var p=y.consumeArg().tokens,E=y.expandTokens([...he,...p,...R]);return y.macros.endGroup(),{tokens:E.reverse(),numArgs:0}};$r("\\bra@ket",wA(!1));$r("\\bra@set",wA(!0));$r("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");$r("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");$r("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");$r("\\angln","{\\angl n}");$r("\\blue","\\textcolor{##6495ed}{#1}");$r("\\orange","\\textcolor{##ffa500}{#1}");$r("\\pink","\\textcolor{##ff00af}{#1}");$r("\\red","\\textcolor{##df0030}{#1}");$r("\\green","\\textcolor{##28ae7b}{#1}");$r("\\gray","\\textcolor{gray}{#1}");$r("\\purple","\\textcolor{##9d38bd}{#1}");$r("\\blueA","\\textcolor{##ccfaff}{#1}");$r("\\blueB","\\textcolor{##80f6ff}{#1}");$r("\\blueC","\\textcolor{##63d9ea}{#1}");$r("\\blueD","\\textcolor{##11accd}{#1}");$r("\\blueE","\\textcolor{##0c7f99}{#1}");$r("\\tealA","\\textcolor{##94fff5}{#1}");$r("\\tealB","\\textcolor{##26edd5}{#1}");$r("\\tealC","\\textcolor{##01d1c1}{#1}");$r("\\tealD","\\textcolor{##01a995}{#1}");$r("\\tealE","\\textcolor{##208170}{#1}");$r("\\greenA","\\textcolor{##b6ffb0}{#1}");$r("\\greenB","\\textcolor{##8af281}{#1}");$r("\\greenC","\\textcolor{##74cf70}{#1}");$r("\\greenD","\\textcolor{##1fab54}{#1}");$r("\\greenE","\\textcolor{##0d923f}{#1}");$r("\\goldA","\\textcolor{##ffd0a9}{#1}");$r("\\goldB","\\textcolor{##ffbb71}{#1}");$r("\\goldC","\\textcolor{##ff9c39}{#1}");$r("\\goldD","\\textcolor{##e07d10}{#1}");$r("\\goldE","\\textcolor{##a75a05}{#1}");$r("\\redA","\\textcolor{##fca9a9}{#1}");$r("\\redB","\\textcolor{##ff8482}{#1}");$r("\\redC","\\textcolor{##f9685d}{#1}");$r("\\redD","\\textcolor{##e84d39}{#1}");$r("\\redE","\\textcolor{##bc2612}{#1}");$r("\\maroonA","\\textcolor{##ffbde0}{#1}");$r("\\maroonB","\\textcolor{##ff92c6}{#1}");$r("\\maroonC","\\textcolor{##ed5fa6}{#1}");$r("\\maroonD","\\textcolor{##ca337c}{#1}");$r("\\maroonE","\\textcolor{##9e034e}{#1}");$r("\\purpleA","\\textcolor{##ddd7ff}{#1}");$r("\\purpleB","\\textcolor{##c6b9fc}{#1}");$r("\\purpleC","\\textcolor{##aa87ff}{#1}");$r("\\purpleD","\\textcolor{##7854ab}{#1}");$r("\\purpleE","\\textcolor{##543b78}{#1}");$r("\\mintA","\\textcolor{##f5f9e8}{#1}");$r("\\mintB","\\textcolor{##edf2df}{#1}");$r("\\mintC","\\textcolor{##e0e5cc}{#1}");$r("\\grayA","\\textcolor{##f6f7f7}{#1}");$r("\\grayB","\\textcolor{##f0f1f2}{#1}");$r("\\grayC","\\textcolor{##e3e5e6}{#1}");$r("\\grayD","\\textcolor{##d6d8da}{#1}");$r("\\grayE","\\textcolor{##babec2}{#1}");$r("\\grayF","\\textcolor{##888d93}{#1}");$r("\\grayG","\\textcolor{##626569}{#1}");$r("\\grayH","\\textcolor{##3b3e40}{#1}");$r("\\grayI","\\textcolor{##21242c}{#1}");$r("\\kaBlue","\\textcolor{##314453}{#1}");$r("\\kaGreen","\\textcolor{##71B307}{#1}");var TA={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class nB{constructor(y,R,Y){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=R,this.expansionCount=0,this.feed(y),this.macros=new tB(rB,R.macros),this.mode=Y,this.stack=[]}feed(y){this.lexer=new G8(y,this.settings)}switchMode(y){this.mode=y}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(y){this.stack.push(y)}pushTokens(y){this.stack.push(...y)}scanArgument(y){var R,Y,oe;if(y){if(this.consumeSpaces(),this.future().text!=="[")return null;R=this.popToken(),{tokens:oe,end:Y}=this.consumeArg(["]"])}else({tokens:oe,start:R,end:Y}=this.consumeArg());return this.pushToken(new Q0("EOF",Y.loc)),this.pushTokens(oe),R.range(Y,"")}consumeSpaces(){for(;;){var y=this.future();if(y.text===" ")this.stack.pop();else break}}consumeArg(y){var R=[],Y=y&&y.length>0;Y||this.consumeSpaces();var oe=this.future(),he,B=0,O=0;do{if(he=this.popToken(),R.push(he),he.text==="{")++B;else if(he.text==="}"){if(--B,B===-1)throw new ti("Extra }",he)}else if(he.text==="EOF")throw new ti("Unexpected end of input in a macro argument, expected '"+(y&&Y?y[O]:"}")+"'",he);if(y&&Y)if((B===0||B===1&&y[O]==="{")&&he.text===y[O]){if(++O,O===y.length){R.splice(-O,O);break}}else O=0}while(B!==0||Y);return oe.text==="{"&&R[R.length-1].text==="}"&&(R.pop(),R.shift()),R.reverse(),{tokens:R,start:oe,end:he}}consumeArgs(y,R){if(R){if(R.length!==y+1)throw new ti("The length of delimiters doesn't match the number of args!");for(var Y=R[0],oe=0;oe<Y.length;oe++){var he=this.popToken();if(Y[oe]!==he.text)throw new ti("Use of the macro doesn't match its definition",he)}}for(var B=[],O=0;O<y;O++)B.push(this.consumeArg(R&&R[O+1]).tokens);return B}expandOnce(y){var R=this.popToken(),Y=R.text,oe=R.noexpand?null:this._getExpansion(Y);if(oe==null||y&&oe.unexpandable){if(y&&oe==null&&Y[0]==="\\"&&!this.isDefined(Y))throw new ti("Undefined control sequence: "+Y);return this.pushToken(R),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new ti("Too many expansions: infinite loop or need to increase maxExpand setting");var he=oe.tokens,B=this.consumeArgs(oe.numArgs,oe.delimiters);if(oe.numArgs){he=he.slice();for(var O=he.length-1;O>=0;--O){var e=he[O];if(e.text==="#"){if(O===0)throw new ti("Incomplete placeholder at end of macro body",e);if(e=he[--O],e.text==="#")he.splice(O+1,1);else if(/^[1-9]$/.test(e.text))he.splice(O,2,...B[+e.text-1]);else throw new ti("Not a valid argument number",e)}}}return this.pushTokens(he),he.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var y=this.stack.pop();return y.treatAsRelax&&(y.text="\\relax"),y}throw new Error}expandMacro(y){return this.macros.has(y)?this.expandTokens([new Q0(y)]):void 0}expandTokens(y){var R=[],Y=this.stack.length;for(this.pushTokens(y);this.stack.length>Y;)if(this.expandOnce(!0)===!1){var oe=this.stack.pop();oe.treatAsRelax&&(oe.noexpand=!1,oe.treatAsRelax=!1),R.push(oe)}return R}expandMacroAsText(y){var R=this.expandMacro(y);return R&&R.map(Y=>Y.text).join("")}_getExpansion(y){var R=this.macros.get(y);if(R==null)return R;if(y.length===1){var Y=this.lexer.catcodes[y];if(Y!=null&&Y!==13)return}var oe=typeof R=="function"?R(this):R;if(typeof oe=="string"){var he=0;if(oe.indexOf("#")!==-1)for(var B=oe.replace(/##/g,"");B.indexOf("#"+(he+1))!==-1;)++he;for(var O=new G8(oe,this.settings),e=[],p=O.lex();p.text!=="EOF";)e.push(p),p=O.lex();e.reverse();var E={tokens:e,numArgs:he};return E}return oe}isDefined(y){return this.macros.has(y)||sd.hasOwnProperty(y)||Vs.math.hasOwnProperty(y)||Vs.text.hasOwnProperty(y)||TA.hasOwnProperty(y)}isExpandable(y){var R=this.macros.get(y);return R!=null?typeof R=="string"||typeof R=="function"||!R.unexpandable:sd.hasOwnProperty(y)&&!sd[y].primitive}}var Z8=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Hm=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),ex={"́":{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"}},j8={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Lp{constructor(y,R){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 nB(y,R,this.mode),this.settings=R,this.leftrightDepth=0}expect(y,R){if(R===void 0&&(R=!0),this.fetch().text!==y)throw new ti("Expected '"+y+"', got '"+this.fetch().text+"'",this.fetch());R&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(y){this.mode=y,this.gullet.switchMode(y)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var y=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),y}finally{this.gullet.endGroups()}}subparse(y){var R=this.nextToken;this.consume(),this.gullet.pushToken(new Q0("}")),this.gullet.pushTokens(y);var Y=this.parseExpression(!1);return this.expect("}"),this.nextToken=R,Y}parseExpression(y,R){for(var Y=[];;){this.mode==="math"&&this.consumeSpaces();var oe=this.fetch();if(Lp.endOfExpression.indexOf(oe.text)!==-1||R&&oe.text===R||y&&sd[oe.text]&&sd[oe.text].infix)break;var he=this.parseAtom(R);if(he){if(he.type==="internal")continue}else break;Y.push(he)}return this.mode==="text"&&this.formLigatures(Y),this.handleInfixNodes(Y)}handleInfixNodes(y){for(var R=-1,Y,oe=0;oe<y.length;oe++)if(y[oe].type==="infix"){if(R!==-1)throw new ti("only one infix operator per group",y[oe].token);R=oe,Y=y[oe].replaceWith}if(R!==-1&&Y){var he,B,O=y.slice(0,R),e=y.slice(R+1);O.length===1&&O[0].type==="ordgroup"?he=O[0]:he={type:"ordgroup",mode:this.mode,body:O},e.length===1&&e[0].type==="ordgroup"?B=e[0]:B={type:"ordgroup",mode:this.mode,body:e};var p;return Y==="\\\\abovefrac"?p=this.callFunction(Y,[he,y[R],B],[]):p=this.callFunction(Y,[he,B],[]),[p]}else return y}handleSupSubscript(y){var R=this.fetch(),Y=R.text;this.consume(),this.consumeSpaces();var oe=this.parseGroup(y);if(!oe)throw new ti("Expected group after '"+Y+"'",R);return oe}formatUnsupportedCmd(y){for(var R=[],Y=0;Y<y.length;Y++)R.push({type:"textord",mode:"text",text:y[Y]});var oe={type:"text",mode:this.mode,body:R},he={type:"color",mode:this.mode,color:this.settings.errorColor,body:[oe]};return he}parseAtom(y){var R=this.parseGroup("atom",y);if(this.mode==="text")return R;for(var Y,oe;;){this.consumeSpaces();var he=this.fetch();if(he.text==="\\limits"||he.text==="\\nolimits"){if(R&&R.type==="op"){var B=he.text==="\\limits";R.limits=B,R.alwaysHandleSupSub=!0}else if(R&&R.type==="operatorname")R.alwaysHandleSupSub&&(R.limits=he.text==="\\limits");else throw new ti("Limit controls must follow a math operator",he);this.consume()}else if(he.text==="^"){if(Y)throw new ti("Double superscript",he);Y=this.handleSupSubscript("superscript")}else if(he.text==="_"){if(oe)throw new ti("Double subscript",he);oe=this.handleSupSubscript("subscript")}else if(he.text==="'"){if(Y)throw new ti("Double superscript",he);var O={type:"textord",mode:this.mode,text:"\\prime"},e=[O];for(this.consume();this.fetch().text==="'";)e.push(O),this.consume();this.fetch().text==="^"&&e.push(this.handleSupSubscript("superscript")),Y={type:"ordgroup",mode:this.mode,body:e}}else if(Hm[he.text]){var p=Hm[he.text],E=Z8.test(he.text);for(this.consume();;){var a=this.fetch().text;if(!Hm[a]||Z8.test(a)!==E)break;this.consume(),p+=Hm[a]}var L=new Lp(p,this.settings).parse();E?oe={type:"ordgroup",mode:"math",body:L}:Y={type:"ordgroup",mode:"math",body:L}}else break}return Y||oe?{type:"supsub",mode:this.mode,base:R,sup:Y,sub:oe}:R}parseFunction(y,R){var Y=this.fetch(),oe=Y.text,he=sd[oe];if(!he)return null;if(this.consume(),R&&R!=="atom"&&!he.allowedInArgument)throw new ti("Got function '"+oe+"' with no arguments"+(R?" as "+R:""),Y);if(this.mode==="text"&&!he.allowedInText)throw new ti("Can't use function '"+oe+"' in text mode",Y);if(this.mode==="math"&&he.allowedInMath===!1)throw new ti("Can't use function '"+oe+"' in math mode",Y);var{args:B,optArgs:O}=this.parseArguments(oe,he);return this.callFunction(oe,B,O,Y,y)}callFunction(y,R,Y,oe,he){var B={funcName:y,parser:this,token:oe,breakOnTokenText:he},O=sd[y];if(O&&O.handler)return O.handler(B,R,Y);throw new ti("No function handler for "+y)}parseArguments(y,R){var Y=R.numArgs+R.numOptionalArgs;if(Y===0)return{args:[],optArgs:[]};for(var oe=[],he=[],B=0;B<Y;B++){var O=R.argTypes&&R.argTypes[B],e=B<R.numOptionalArgs;(R.primitive&&O==null||R.type==="sqrt"&&B===1&&he[0]==null)&&(O="primitive");var p=this.parseGroupOfType("argument to '"+y+"'",O,e);if(e)he.push(p);else if(p!=null)oe.push(p);else throw new ti("Null argument, please report this as a bug")}return{args:oe,optArgs:he}}parseGroupOfType(y,R,Y){switch(R){case"color":return this.parseColorGroup(Y);case"size":return this.parseSizeGroup(Y);case"url":return this.parseUrlGroup(Y);case"math":case"text":return this.parseArgumentGroup(Y,R);case"hbox":{var oe=this.parseArgumentGroup(Y,"text");return oe!=null?{type:"styling",mode:oe.mode,body:[oe],style:"text"}:null}case"raw":{var he=this.parseStringGroup("raw",Y);return he!=null?{type:"raw",mode:"text",string:he.text}:null}case"primitive":{if(Y)throw new ti("A primitive argument cannot be optional");var B=this.parseGroup(y);if(B==null)throw new ti("Expected group as "+y,this.fetch());return B}case"original":case null:case void 0:return this.parseArgumentGroup(Y);default:throw new ti("Unknown group type as "+y,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(y,R){var Y=this.gullet.scanArgument(R);if(Y==null)return null;for(var oe="",he;(he=this.fetch()).text!=="EOF";)oe+=he.text,this.consume();return this.consume(),Y.text=oe,Y}parseRegexGroup(y,R){for(var Y=this.fetch(),oe=Y,he="",B;(B=this.fetch()).text!=="EOF"&&y.test(he+B.text);)oe=B,he+=oe.text,this.consume();if(he==="")throw new ti("Invalid "+R+": '"+Y.text+"'",Y);return Y.range(oe,he)}parseColorGroup(y){var R=this.parseStringGroup("color",y);if(R==null)return null;var Y=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(R.text);if(!Y)throw new ti("Invalid color: '"+R.text+"'",R);var oe=Y[0];return/^[0-9a-f]{6}$/i.test(oe)&&(oe="#"+oe),{type:"color-token",mode:this.mode,color:oe}}parseSizeGroup(y){var R,Y=!1;if(this.gullet.consumeSpaces(),!y&&this.gullet.future().text!=="{"?R=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):R=this.parseStringGroup("size",y),!R)return null;!y&&R.text.length===0&&(R.text="0pt",Y=!0);var oe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(R.text);if(!oe)throw new ti("Invalid size: '"+R.text+"'",R);var he={number:+(oe[1]+oe[2]),unit:oe[3]};if(!RT(he))throw new ti("Invalid unit: '"+he.unit+"'",R);return{type:"size",mode:this.mode,value:he,isBlank:Y}}parseUrlGroup(y){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var R=this.parseStringGroup("url",y);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),R==null)return null;var Y=R.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Y}}parseArgumentGroup(y,R){var Y=this.gullet.scanArgument(y);if(Y==null)return null;var oe=this.mode;R&&this.switchMode(R),this.gullet.beginGroup();var he=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var B={type:"ordgroup",mode:this.mode,loc:Y.loc,body:he};return R&&this.switchMode(oe),B}parseGroup(y,R){var Y=this.fetch(),oe=Y.text,he;if(oe==="{"||oe==="\\begingroup"){this.consume();var B=oe==="{"?"}":"\\endgroup";this.gullet.beginGroup();var O=this.parseExpression(!1,B),e=this.fetch();this.expect(B),this.gullet.endGroup(),he={type:"ordgroup",mode:this.mode,loc:zc.range(Y,e),body:O,semisimple:oe==="\\begingroup"||void 0}}else if(he=this.parseFunction(R,y)||this.parseSymbol(),he==null&&oe[0]==="\\"&&!TA.hasOwnProperty(oe)){if(this.settings.throwOnError)throw new ti("Undefined control sequence: "+oe,Y);he=this.formatUnsupportedCmd(oe),this.consume()}return he}formLigatures(y){for(var R=y.length-1,Y=0;Y<R;++Y){var oe=y[Y],he=oe.text;he==="-"&&y[Y+1].text==="-"&&(Y+1<R&&y[Y+2].text==="-"?(y.splice(Y,3,{type:"textord",mode:"text",loc:zc.range(oe,y[Y+2]),text:"---"}),R-=2):(y.splice(Y,2,{type:"textord",mode:"text",loc:zc.range(oe,y[Y+1]),text:"--"}),R-=1)),(he==="'"||he==="`")&&y[Y+1].text===he&&(y.splice(Y,2,{type:"textord",mode:"text",loc:zc.range(oe,y[Y+1]),text:he+he}),R-=1)}}parseSymbol(){var y=this.fetch(),R=y.text;if(/^\\verb[^a-zA-Z]/.test(R)){this.consume();var Y=R.slice(5),oe=Y.charAt(0)==="*";if(oe&&(Y=Y.slice(1)),Y.length<2||Y.charAt(0)!==Y.slice(-1))throw new ti(`\\verb assertion failed -- - please report what input caused this bug`);return Y=Y.slice(1,-1),{type:"verb",mode:"text",body:Y,star:oe}}j8.hasOwnProperty(R[0])&&!Vs[this.mode][R[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+R[0]+'" used in math mode',y),R=j8[R[0]]+R.slice(1));var he=qF.exec(R);he&&(R=R.substring(0,he.index),R==="i"?R="ı":R==="j"&&(R="ȷ"));var B;if(Vs[this.mode][R]){this.settings.strict&&this.mode==="math"&&c3.indexOf(R)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+R[0]+'" used in math mode',y);var O=Vs[this.mode][R].group,e=zc.range(y),p;if(Yz.hasOwnProperty(O)){var E=O;p={type:"atom",mode:this.mode,family:E,loc:e,text:R}}else p={type:O,mode:this.mode,loc:e,text:R};B=p}else if(R.charCodeAt(0)>=128)this.settings.strict&&(DT(R.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+R[0]+'" used in math mode',y):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+R[0]+'"'+(" ("+R.charCodeAt(0)+")"),y)),B={type:"textord",mode:"text",loc:zc.range(y),text:R};else return null;if(this.consume(),he)for(var a=0;a<he[0].length;a++){var L=he[0][a];if(!ex[L])throw new ti("Unknown accent ' "+L+"'",y);var x=ex[L][this.mode]||ex[L].text;if(!x)throw new ti("Accent "+L+" unsupported in "+this.mode+" mode",y);B={type:"accent",mode:this.mode,loc:zc.range(y),label:x,isStretchy:!1,isShifty:!0,base:B}}return B}}Lp.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var K4=function(y,R){if(!(typeof y=="string"||y instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Y=new Lp(y,R);delete Y.gullet.macros.current["\\df@tag"];var oe=Y.parse();if(delete Y.gullet.macros.current["\\current@color"],delete Y.gullet.macros.current["\\color"],Y.gullet.macros.get("\\df@tag")){if(!R.displayMode)throw new ti("\\tag works only in display equations");oe=[{type:"tag",mode:"text",body:oe,tag:Y.subparse([new Q0("\\df@tag")])}]}return oe},AA=function(y,R,Y){R.textContent="";var oe=J4(y,Y).toNode();R.appendChild(oe)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),AA=function(){throw new ti("KaTeX doesn't work in quirks mode.")});var aB=function(y,R){var Y=J4(y,R).toMarkup();return Y},iB=function(y,R){var Y=new R4(R);return K4(y,Y)},SA=function(y,R,Y){if(Y.throwOnError||!(y instanceof ti))throw y;var oe=ca.makeSpan(["katex-error"],[new c0(R)]);return oe.setAttribute("title",y.toString()),oe.setAttribute("style","color:"+Y.errorColor),oe},J4=function(y,R){var Y=new R4(R);try{var oe=K4(y,Y);return vF(oe,y,Y)}catch(he){return SA(he,y,Y)}},oB=function(y,R){var Y=new R4(R);try{var oe=K4(y,Y);return pF(oe,y,Y)}catch(he){return SA(he,y,Y)}},X8={version:"0.16.9",render:AA,renderToString:aB,ParseError:ti,SETTINGS_SCHEMA:ig,__parse:iB,__renderToDomTree:J4,__renderToHTMLTree:oB,__setFontMetrics:_z,__defineSymbol:Ft,__defineFunction:Mi,__defineMacro:$r,__domTree:{Span:Vp,Anchor:F4,SymbolNode:c0,SvgNode:Ph,PathNode:xd,LineNode:f3}};function sB(i,y){const R=String(i);let Y=R.indexOf(y),oe=Y,he=0,B=0;if(typeof y!="string")throw new TypeError("Expected substring");for(;Y!==-1;)Y===oe?++he>B&&(B=he):he=1,oe=Y+y.length,Y=R.indexOf(y,oe);return B}function MA(i){if(!i._compiled){const y=(i.atBreak?"[\\r\\n][\\t ]*":"")+(i.before?"(?:"+i.before+")":"");i._compiled=new RegExp((y?"("+y+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(i.character)?"\\":"")+i.character+(i.after?"(?:"+i.after+")":""),"g")}return i._compiled}function lB(i,y){return $8(i,y.inConstruct,!0)&&!$8(i,y.notInConstruct,!1)}function $8(i,y,R){if(typeof y=="string"&&(y=[y]),!y||y.length===0)return R;let Y=-1;for(;++Y<y.length;)if(i.includes(y[Y]))return!0;return!1}function uB(i,y,R){const Y=(R.before||"")+(y||"")+(R.after||""),oe=[],he=[],B={};let O=-1;for(;++O<i.unsafe.length;){const E=i.unsafe[O];if(!lB(i.stack,E))continue;const a=MA(E);let L;for(;L=a.exec(Y);){const x="before"in E||!!E.atBreak,d="after"in E,m=L.index+(x?L[1].length:0);oe.includes(m)?(B[m].before&&!x&&(B[m].before=!1),B[m].after&&!d&&(B[m].after=!1)):(oe.push(m),B[m]={before:x,after:d})}}oe.sort(fB);let e=R.before?R.before.length:0;const p=Y.length-(R.after?R.after.length:0);for(O=-1;++O<oe.length;){const E=oe[O];E<e||E>=p||E+1<p&&oe[O+1]===E+1&&B[E].after&&!B[E+1].before&&!B[E+1].after||oe[O-1]===E-1&&B[E].before&&!B[E-1].before&&!B[E-1].after||(e!==E&&he.push(K8(Y.slice(e,E),"\\")),e=E,/[!-/:-@[-`{-~]/.test(Y.charAt(E))&&(!R.encode||!R.encode.includes(Y.charAt(E)))?he.push("\\"):(he.push("&#x"+Y.charCodeAt(E).toString(16).toUpperCase()+";"),e++))}return he.push(K8(Y.slice(e,p),R.after)),he.join("")}function fB(i,y){return i-y}function K8(i,y){const R=/\\(?=[!-/:-@[-`{-~])/g,Y=[],oe=[],he=i+y;let B=-1,O=0,e;for(;e=R.exec(he);)Y.push(e.index);for(;++B<Y.length;)O!==Y[B]&&oe.push(i.slice(O,Y[B])),oe.push("\\"),O=Y[B];return oe.push(i.slice(O)),oe.join("")}function cB(i){const y=i||{},R=y.now||{};let Y=y.lineShift||0,oe=R.line||1,he=R.column||1;return{move:e,current:B,shift:O};function B(){return{now:{line:oe,column:he},lineShift:Y}}function O(p){Y+=p}function e(p){const E=p||"",a=E.split(/\r?\n|\r/g),L=a[a.length-1];return oe+=a.length-1,he=a.length===1?he+L.length:1+L.length+Y,E}}function hB(){return{enter:{mathFlow:i,mathFlowFenceMeta:y,mathText:he},exit:{mathFlow:oe,mathFlowFence:Y,mathFlowFenceMeta:R,mathFlowValue:O,mathText:B,mathTextData:O}};function i(e){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},e)}function y(){this.buffer()}function R(){const e=this.resume(),p=this.stack[this.stack.length-1];p.meta=e}function Y(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function oe(e){const p=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),E=this.exit(e);E.value=p,E.data.hChildren[0].value=p,this.setData("mathFlowInside")}function he(e){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},e),this.buffer()}function B(e){const p=this.resume(),E=this.exit(e);E.value=p,E.data.hChildren[0].value=p}function O(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}function dB(i){let y=(i||{}).singleDollarTextMath;return y==null&&(y=!0),Y.peek=oe,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` -`,inConstruct:"mathFlowMeta"},{character:"$",after:y?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:R,inlineMath:Y}};function R(he,B,O,e){const p=he.value||"",E=cB(e),a="$".repeat(Math.max(sB(p,"$")+1,2)),L=O.enter("mathFlow");let x=E.move(a);if(he.meta){const d=O.enter("mathFlowMeta");x+=E.move(uB(O,he.meta,{before:x,after:` -`,encode:["$"],...E.current()})),d()}return x+=E.move(` -`),p&&(x+=E.move(p+` -`)),x+=E.move(a),L(),x}function Y(he,B,O){let e=he.value||"",p=1;for(y||p++;new RegExp("(^|[^$])"+"\\$".repeat(p)+"([^$]|$)").test(e);)p++;const E="$".repeat(p);/[^ \r\n]/.test(e)&&(/^[ \r\n]/.test(e)&&/[ \r\n]$/.test(e)||/^\$|\$$/.test(e))&&(e=" "+e+" ");let a=-1;for(;++a<O.unsafe.length;){const L=O.unsafe[a],x=MA(L);let d;if(L.atBreak)for(;d=x.exec(e);){let m=d.index;e.codePointAt(m)===10&&e.codePointAt(m-1)===13&&m--,e=e.slice(0,m)+" "+e.slice(d.index+1)}}return E+e+E}function oe(){return"$"}}function Pp(i={}){const y=this.data();R("micromarkExtensions",uz(i)),R("fromMarkdownExtensions",hB()),R("toMarkdownExtensions",dB(i));function R(Y,oe){(y[Y]?y[Y]:y[Y]=[]).push(oe)}}const rv=function(i){if(i==null)return Q4;if(typeof i=="string")return pB(i);if(typeof i=="object")return vB(i);if(typeof i=="function")return CA(i);throw new Error("Expected function, string, or array as test")};function vB(i){const y=[];let R=-1;for(;++R<i.length;)y[R]=rv(i[R]);return CA(Y);function Y(...oe){let he=-1;for(;++he<y.length;)if(y[he].call(this,...oe))return!0;return!1}}function pB(i){return y;function y(R){return Q4(R)&&R.tagName===i}}function CA(i){return y;function y(R,...Y){return Q4(R)&&!!i.call(this,R,...Y)}}function Q4(i){return!!(i&&typeof i=="object"&&i.type==="element"&&typeof i.tagName=="string")}const J8=function(i,y,R){const Y=C4(R);if(!i||!i.type||!i.children)throw new Error("Expected parent node");if(typeof y=="number"){if(y<0||y===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(y=i.children.indexOf(y),y<0)throw new Error("Expected child node or index");for(;++y<i.children.length;)if(Y(i.children[y],y,i))return i.children[y];return null},Q8=/\n/g,q8=/[\t ]+/g,g3=rv("br"),mB=rv("p"),e7=rv(["th","td"]),t7=rv("tr"),gB=rv(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",TB,AB]),EA=rv(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function yB(i,y={}){const R="children"in i?i.children:[],Y=EA(i),oe=PA(i,{whitespace:y.whitespace||"normal",breakBefore:!1,breakAfter:!1}),he=[];(i.type==="text"||i.type==="comment")&&he.push(...LA(i,{whitespace:oe,breakBefore:!0,breakAfter:!0}));let B=-1;for(;++B<R.length;)he.push(...kA(R[B],i,{whitespace:oe,breakBefore:B?void 0:Y,breakAfter:B<R.length-1?g3(R[B+1]):Y}));const O=[];let e;for(B=-1;++B<he.length;){const p=he[B];typeof p=="number"?e!==void 0&&p>e&&(e=p):p&&(e!==void 0&&e>-1&&O.push(` -`.repeat(e)||" "),e=-1,O.push(p))}return O.join("")}function kA(i,y,R){return i.type==="element"?xB(i,y,R):i.type==="text"?R.whitespace==="normal"?LA(i,R):bB(i):[]}function xB(i,y,R){const Y=PA(i,R),oe=i.children||[];let he=-1,B=[];if(gB(i))return B;let O,e;for(g3(i)||t7(i)&&J8(y,i,t7)?e=` -`:mB(i)?(O=2,e=2):EA(i)&&(O=1,e=1);++he<oe.length;)B=B.concat(kA(oe[he],i,{whitespace:Y,breakBefore:he?void 0:O,breakAfter:he<oe.length-1?g3(oe[he+1]):e}));return e7(i)&&J8(y,i,e7)&&B.push(" "),O&&B.unshift(O),e&&B.push(e),B}function LA(i,y){const R=String(i.value),Y=[],oe=[];let he=0;for(;he<=R.length;){Q8.lastIndex=he;const e=Q8.exec(R),p=e&&"index"in e?e.index:R.length;Y.push(wB(R.slice(he,p).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),he===0?y.breakBefore:!0,p===R.length?y.breakAfter:!0)),he=p+1}let B=-1,O;for(;++B<Y.length;)Y[B].charCodeAt(Y[B].length-1)===8203||B<Y.length-1&&Y[B+1].charCodeAt(0)===8203?(oe.push(Y[B]),O=void 0):Y[B]?(typeof O=="number"&&oe.push(O),oe.push(Y[B]),O=0):(B===0||B===Y.length-1)&&oe.push(0);return oe}function bB(i){return[String(i.value)]}function wB(i,y,R){const Y=[];let oe=0,he;for(;oe<i.length;){q8.lastIndex=oe;const B=q8.exec(i);he=B?B.index:i.length,!oe&&!he&&B&&!y&&Y.push(""),oe!==he&&Y.push(i.slice(oe,he)),oe=B?he+B[0].length:he}return oe!==he&&!R&&Y.push(""),Y.join(" ")}function PA(i,y){if(i.type==="element"){const R=i.properties||{};switch(i.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return R.wrap?"pre-wrap":"pre";case"td":case"th":return R.noWrap?"nowrap":y.whitespace;case"textarea":return"pre-wrap"}}return y.whitespace}function TB(i){return!!(i.properties||{}).hidden}function AB(i){return i.tagName==="dialog"&&!(i.properties||{}).open}const tx={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},r7=/[#.]/g;function SB(i,y){const R=i||"",Y={};let oe=0,he,B;for(;oe<R.length;){r7.lastIndex=oe;const O=r7.exec(R),e=R.slice(oe,O?O.index:R.length);e&&(he?he==="#"?Y.id=e:Array.isArray(Y.className)?Y.className.push(e):Y.className=[e]:B=e,oe+=e.length),O&&(he=O[0],oe++)}return{type:"element",tagName:B||y||"div",properties:Y,children:[]}}const MB=new Set(["menu","submit","reset","button"]),y3={}.hasOwnProperty;function DA(i,y,R){const Y=R&&LB(R);return function(he,B,...O){let e=-1,p;if(he==null)p={type:"root",children:[]},O.unshift(B);else if(p=SB(he,y),p.tagName=p.tagName.toLowerCase(),Y&&y3.call(Y,p.tagName)&&(p.tagName=Y[p.tagName]),CB(B,p.tagName)){let E;for(E in B)y3.call(B,E)&&EB(i,p.properties,E,B[E])}else O.unshift(B);for(;++e<O.length;)x3(p.children,O[e]);return p.type==="element"&&p.tagName==="template"&&(p.content={type:"root",children:p.children},p.children=[]),p}}function CB(i,y){return i==null||typeof i!="object"||Array.isArray(i)?!1:y==="input"||!i.type||typeof i.type!="string"?!0:"children"in i&&Array.isArray(i.children)?!1:y==="button"?MB.has(i.type.toLowerCase()):!("value"in i)}function EB(i,y,R,Y){const oe=AT(i,R);let he=-1,B;if(Y!=null){if(typeof Y=="number"){if(Number.isNaN(Y))return;B=Y}else typeof Y=="boolean"?B=Y:typeof Y=="string"?oe.spaceSeparated?B=o8(Y):oe.commaSeparated?B=s8(Y):oe.commaOrSpaceSeparated?B=o8(s8(Y).join(" ")):B=n7(oe,oe.property,Y):Array.isArray(Y)?B=Y.concat():B=oe.property==="style"?kB(Y):String(Y);if(Array.isArray(B)){const O=[];for(;++he<B.length;)O[he]=n7(oe,oe.property,B[he]);B=O}oe.property==="className"&&Array.isArray(y.className)&&(B=y.className.concat(B)),y[oe.property]=B}}function x3(i,y){let R=-1;if(y!=null)if(typeof y=="string"||typeof y=="number")i.push({type:"text",value:String(y)});else if(Array.isArray(y))for(;++R<y.length;)x3(i,y[R]);else if(typeof y=="object"&&"type"in y)y.type==="root"?x3(i,y.children):i.push(y);else throw new Error("Expected node, nodes, or string, got `"+y+"`")}function n7(i,y,R){if(typeof R=="string"){if(i.number&&R&&!Number.isNaN(Number(R)))return Number(R);if((i.boolean||i.overloadedBoolean)&&(R===""||Cp(R)===Cp(y)))return!0}return R}function kB(i){const y=[];let R;for(R in i)y3.call(i,R)&&y.push([R,i[R]].join(": "));return y.join("; ")}function LB(i){const y={};let R=-1;for(;++R<i.length;)y[i[R].toLowerCase()]=i[R];return y}const PB=DA(ST,"div"),DB=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],RB=DA(MT,"g",DB);function IB(i,y){return(i?RA(i,y||{}):void 0)||{type:"root",children:[]}}function RA(i,y){const R=zB(i,y);return R&&y.afterTransform&&y.afterTransform(i,R),R}function zB(i,y){switch(i.nodeType){case 1:return _B(i,y);case 3:return BB(i);case 8:return OB(i);case 9:return a7(i,y);case 10:return FB();case 11:return a7(i,y);default:return}}function a7(i,y){return{type:"root",children:IA(i,y)}}function FB(){return{type:"doctype"}}function BB(i){return{type:"text",value:i.nodeValue||""}}function OB(i){return{type:"comment",value:i.nodeValue||""}}function _B(i,y){const R=i.namespaceURI,Y=R===tx.svg?RB:PB,oe=R===tx.html?i.tagName.toLowerCase():i.tagName,he=R===tx.html&&oe==="template"?i.content:i,B=i.getAttributeNames(),O={};let e=-1;for(;++e<B.length;)O[B[e]]=i.getAttribute(B[e])||"";return Y(oe,O,IA(he,y))}function IA(i,y){const R=i.childNodes,Y=[];let oe=-1;for(;++oe<R.length;){const he=RA(R[oe],y);he!==void 0&&Y.push(he)}return Y}const NB=new DOMParser;function UB(i,y){const R=y!=null&&y.fragment?HB(i):NB.parseFromString(i,"text/html");return IB(R)}function HB(i){const y=document.createElement("template");return y.innerHTML=i,y.content}const i7=Object.assign,VB="rehype-katex";function Dp(i){const y=i||{},R=y.throwOnError||!1;return(Y,oe)=>{sy(Y,"element",he=>{const B=he.properties&&Array.isArray(he.properties.className)?he.properties.className:[],O=B.includes("math-inline"),e=B.includes("math-display");if(!O&&!e)return;const p=yB(he,{whitespace:"pre"});let E;try{E=X8.renderToString(p,i7({},y,{displayMode:e,throwOnError:!0}))}catch(L){const x=L,d=R?"fail":"message",m=[VB,x.name.toLowerCase()].join(":");if(oe[d](x.message,he.position,m),x.name!=="ParseError"){he.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(x),style:"color:"+(y.errorColor||"#cc0000")},children:[{type:"text",value:p}]}];return}E=X8.renderToString(p,i7({},y,{displayMode:e,throwOnError:!1,strict:"ignore"}))}const a=UB(E,{fragment:!0});he.children=a.children})}}function GB(i){return wa.jsx(wa.Fragment,{children:wa.jsxs("div",{className:"uk-grid-small uk-child-width-1-1","data-uk-grid":!0,children:[wa.jsx("div",{className:"uk-heading-bullet uk-margin-small-top uk-text-bolder uk-first-column",children:i.title}),wa.jsx("div",{children:wa.jsx(o1,{children:i.text,remarkPlugins:[Pp],rehypePlugins:[Dp]})})]})})}function WB(i){const y=Co.useMemo(()=>i.docs.map((R,Y)=>wa.jsx(GB,{title:R.title,id:R.id,text:R.text,activated:R.activated,dependency:R.dependency},Y)),[i.docs]);return wa.jsx("div",{className:"uk-card uk-card-body uk-card-default uk-card-hover",children:wa.jsx("div",{style:{overflow:"auto"},children:wa.jsx("div",{className:"uk-child uk-child-width-1-1","data-uk-grid":!0,children:y})})})}var zA={},FA={};(function(i){function y(c){"@babel/helpers - typeof";return y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},y(c)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=f;var R=B(Co),Y=oe(vT);function oe(c){return c&&c.__esModule?c:{default:c}}function he(c){if(typeof WeakMap!="function")return null;var u=new WeakMap,b=new WeakMap;return(he=function(S){return S?b:u})(c)}function B(c,u){if(!u&&c&&c.__esModule)return c;if(c===null||y(c)!=="object"&&typeof c!="function")return{default:c};var b=he(u);if(b&&b.has(c))return b.get(c);var h={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in c)if(v!=="default"&&Object.prototype.hasOwnProperty.call(c,v)){var l=S?Object.getOwnPropertyDescriptor(c,v):null;l&&(l.get||l.set)?Object.defineProperty(h,v,l):h[v]=c[v]}return h.default=c,b&&b.set(c,h),h}function O(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function e(c,u){for(var b=0;b<u.length;b++){var h=u[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,h.key,h)}}function p(c,u,b){return u&&e(c.prototype,u),b&&e(c,b),Object.defineProperty(c,"prototype",{writable:!1}),c}function E(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),u&&a(c,u)}function a(c,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,S){return h.__proto__=S,h},a(c,u)}function L(c){var u=m();return function(){var h=r(c),S;if(u){var v=r(this).constructor;S=Reflect.construct(h,arguments,v)}else S=h.apply(this,arguments);return x(this,S)}}function x(c,u){if(u&&(y(u)==="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(c)}function d(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function r(c){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},r(c)}var t=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],s=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],n=typeof window<"u";function f(c){var u=function(b){E(S,b);var h=L(S);function S(v){var l;return O(this,S),l=h.call(this,v),l.p=Promise.resolve(),l.resizeHandler=null,l.handlers={},l.syncWindowResize=l.syncWindowResize.bind(d(l)),l.syncEventHandlers=l.syncEventHandlers.bind(d(l)),l.attachUpdateEvents=l.attachUpdateEvents.bind(d(l)),l.getRef=l.getRef.bind(d(l)),l.handleUpdate=l.handleUpdate.bind(d(l)),l.figureCallback=l.figureCallback.bind(d(l)),l.updatePlotly=l.updatePlotly.bind(d(l)),l}return p(S,[{key:"updatePlotly",value:function(l,g,C){var M=this;this.p=this.p.then(function(){if(!M.unmounting){if(!M.el)throw new Error("Missing element reference");return c.react(M.el,{data:M.props.data,layout:M.props.layout,config:M.props.config,frames:M.props.frames})}}).then(function(){M.unmounting||(M.syncWindowResize(l),M.syncEventHandlers(),M.figureCallback(g),C&&M.attachUpdateEvents())}).catch(function(D){M.props.onError&&M.props.onError(D)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(l){this.unmounting=!1;var g=l.frames&&l.frames.length?l.frames.length:0,C=this.props.frames&&this.props.frames.length?this.props.frames.length:0,M=!(l.layout===this.props.layout&&l.data===this.props.data&&l.config===this.props.config&&C===g),D=l.revision!==void 0,T=l.revision!==this.props.revision;!M&&(!D||D&&!T)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&n&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),c.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var l=this;!this.el||!this.el.removeListener||s.forEach(function(g){l.el.on(g,l.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var l=this;!this.el||!this.el.removeListener||s.forEach(function(g){l.el.removeListener(g,l.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(l){if(typeof l=="function"){var g=this.el,C=g.data,M=g.layout,D=this.el._transitionData?this.el._transitionData._frames:null,T={data:C,layout:M,frames:D};l(T,this.el)}}},{key:"syncWindowResize",value:function(l){var g=this;n&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return c.Plots.resize(g.el)},window.addEventListener("resize",this.resizeHandler),l&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(l){this.el=l,this.props.debug&&n&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var l=this;t.forEach(function(g){var C=l.props["on"+g],M=l.handlers[g],D=!!M;C&&!D?l.addEventHandler(g,C):!C&&D?l.removeEventHandler(g):C&&D&&C!==M&&(l.removeEventHandler(g),l.addEventHandler(g,C))})}},{key:"addEventHandler",value:function(l,g){this.handlers[l]=g,this.el.on(this.getPlotlyEventName(l),this.handlers[l])}},{key:"removeEventHandler",value:function(l){this.el.removeListener(this.getPlotlyEventName(l),this.handlers[l]),delete this.handlers[l]}},{key:"getPlotlyEventName",value:function(l){return"plotly_"+l.toLowerCase()}},{key:"render",value:function(){return R.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),S}(R.Component);return u.propTypes={data:Y.default.arrayOf(Y.default.object),config:Y.default.object,layout:Y.default.object,frames:Y.default.arrayOf(Y.default.object),revision:Y.default.number,onInitialized:Y.default.func,onPurge:Y.default.func,onError:Y.default.func,onUpdate:Y.default.func,debug:Y.default.bool,style:Y.default.object,className:Y.default.string,useResizeHandler:Y.default.bool,divId:Y.default.string},t.forEach(function(b){u.propTypes["on"+b]=Y.default.func}),u.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},u}})(FA);var BA={exports:{}};(function(i,y){(function(Y,oe){i.exports=oe()})(self,function(){return function(){var R={98847:function(B,O,e){var p=e(71828),E={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in E){var L=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");p.addStyleRule(L,E[a])}},98222:function(B,O,e){B.exports=e(82887)},27206:function(B,O,e){B.exports=e(60822)},59893:function(B,O,e){B.exports=e(23381)},5224:function(B,O,e){B.exports=e(83832)},59509:function(B,O,e){B.exports=e(72201)},75557:function(B,O,e){B.exports=e(91815)},40338:function(B,O,e){B.exports=e(21462)},35080:function(B,O,e){B.exports=e(51319)},61396:function(B,O,e){B.exports=e(57516)},40549:function(B,O,e){B.exports=e(98128)},49866:function(B,O,e){B.exports=e(99442)},36089:function(B,O,e){B.exports=e(93740)},19548:function(B,O,e){B.exports=e(8729)},35831:function(B,O,e){B.exports=e(93814)},61039:function(B,O,e){B.exports=e(14382)},97040:function(B,O,e){B.exports=e(51759)},77986:function(B,O,e){B.exports=e(10421)},24296:function(B,O,e){B.exports=e(43102)},58872:function(B,O,e){B.exports=e(92165)},29626:function(B,O,e){B.exports=e(3325)},65591:function(B,O,e){B.exports=e(36071)},69738:function(B,O,e){B.exports=e(43905)},92650:function(B,O,e){B.exports=e(35902)},35630:function(B,O,e){B.exports=e(69816)},73434:function(B,O,e){B.exports=e(94507)},27909:function(B,O,e){var p=e(19548);p.register([e(27206),e(5224),e(58872),e(65591),e(69738),e(92650),e(49866),e(25743),e(6197),e(97040),e(85461),e(73434),e(54201),e(81299),e(47645),e(35630),e(77986),e(83043),e(93005),e(96881),e(4534),e(50581),e(40549),e(77900),e(47582),e(35080),e(21641),e(17280),e(5861),e(29626),e(10021),e(65317),e(96268),e(61396),e(35831),e(16122),e(46163),e(40344),e(40338),e(48131),e(36089),e(55334),e(75557),e(19440),e(99488),e(59893),e(97393),e(98222),e(61039),e(24296),e(66398),e(59509)]),B.exports=p},46163:function(B,O,e){B.exports=e(15154)},96881:function(B,O,e){B.exports=e(64943)},50581:function(B,O,e){B.exports=e(21164)},55334:function(B,O,e){B.exports=e(54186)},65317:function(B,O,e){B.exports=e(94873)},10021:function(B,O,e){B.exports=e(67618)},54201:function(B,O,e){B.exports=e(58810)},5861:function(B,O,e){B.exports=e(20593)},16122:function(B,O,e){B.exports=e(29396)},83043:function(B,O,e){B.exports=e(13551)},48131:function(B,O,e){B.exports=e(46858)},47582:function(B,O,e){B.exports=e(17988)},21641:function(B,O,e){B.exports=e(68868)},96268:function(B,O,e){B.exports=e(20467)},19440:function(B,O,e){B.exports=e(91271)},99488:function(B,O,e){B.exports=e(21461)},97393:function(B,O,e){B.exports=e(85956)},25743:function(B,O,e){B.exports=e(52979)},66398:function(B,O,e){B.exports=e(32275)},17280:function(B,O,e){B.exports=e(6419)},77900:function(B,O,e){B.exports=e(61510)},81299:function(B,O,e){B.exports=e(87619)},93005:function(B,O,e){B.exports=e(93601)},40344:function(B,O,e){B.exports=e(96595)},47645:function(B,O,e){B.exports=e(70954)},6197:function(B,O,e){B.exports=e(47462)},4534:function(B,O,e){B.exports=e(17659)},85461:function(B,O,e){B.exports=e(19990)},82884:function(B){B.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(B,O,e){var p=e(82884),E=e(41940),a=e(85555),L=e(44467).templatedArray;e(24695),B.exports=L("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:E({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:p.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:p.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:E({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(B,O,e){var p=e(71828),E=e(89298),a=e(92605).draw;B.exports=function(m){var r=m._fullLayout,t=p.filterVisible(r.annotations);if(t.length&&m._fullData.length)return p.syncOrAsync([a,L],m)};function L(d){var m=d._fullLayout;p.filterVisible(m.annotations).forEach(function(r){var t=E.getFromId(d,r.xref),s=E.getFromId(d,r.yref),n=E.getRefType(r.xref),f=E.getRefType(r.yref);r._extremes={},n==="range"&&x(r,t),f==="range"&&x(r,s)})}function x(d,m){var r=m._id,t=r.charAt(0),s=d[t],n=d["a"+t],f=d[t+"ref"],c=d["a"+t+"ref"],u=d["_"+t+"padplus"],b=d["_"+t+"padminus"],h={x:1,y:-1}[t]*d[t+"shift"],S=3*d.arrowsize*d.arrowwidth||0,v=S+h,l=S-h,g=3*d.startarrowsize*d.arrowwidth||0,C=g+h,M=g-h,D;if(c===f){var T=E.findExtremes(m,[m.r2c(s)],{ppadplus:v,ppadminus:l}),P=E.findExtremes(m,[m.r2c(n)],{ppadplus:Math.max(u,C),ppadminus:Math.max(b,M)});D={min:[T.min[0],P.min[0]],max:[T.max[0],P.max[0]]}}else C=n?C+n:C,M=n?M-n:M,D=E.findExtremes(m,[m.r2c(s)],{ppadplus:Math.max(u,v,C),ppadminus:Math.max(b,l,M)});d._extremes[r]=D}},44317:function(B,O,e){var p=e(71828),E=e(73972),a=e(44467).arrayEditor;B.exports={hasClickToShow:L,onClick:x};function L(r,t){var s=d(r,t);return s.on.length>0||s.explicitOff.length>0}function x(r,t){var s=d(r,t),n=s.on,f=s.off.concat(s.explicitOff),c={},u=r._fullLayout.annotations,b,h;if(n.length||f.length){for(b=0;b<n.length;b++)h=a(r.layout,"annotations",u[n[b]]),h.modifyItem("visible",!0),p.extendFlat(c,h.getUpdateObj());for(b=0;b<f.length;b++)h=a(r.layout,"annotations",u[f[b]]),h.modifyItem("visible",!1),p.extendFlat(c,h.getUpdateObj());return E.call("update",r,{},c)}}function d(r,t){var s=r._fullLayout.annotations,n=[],f=[],c=[],u=(t||[]).length,b,h,S,v,l,g,C,M;for(b=0;b<s.length;b++)if(S=s[b],v=S.clicktoshow,v){for(h=0;h<u;h++)if(l=t[h],g=l.xaxis,C=l.yaxis,g._id===S.xref&&C._id===S.yref&&g.d2r(l.x)===m(S._xclick,g)&&C.d2r(l.y)===m(S._yclick,C)){S.visible?v==="onout"?M=f:M=c:M=n,M.push(b);break}h===u&&S.visible&&v==="onout"&&f.push(b)}return{on:n,off:f,explicitOff:c}}function m(r,t){return t.type==="log"?t.l2r(r):t.d2r(r)}},25625:function(B,O,e){var p=e(71828),E=e(7901);B.exports=function(L,x,d,m){m("opacity");var r=m("bgcolor"),t=m("bordercolor"),s=E.opacity(t);m("borderpad");var n=m("borderwidth"),f=m("showarrow");m("text",f?" ":d._dfltTitle.annotation),m("textangle"),p.coerceFont(m,"font",d.font),m("width"),m("align");var c=m("height");if(c&&m("valign"),f){var u=m("arrowside"),b,h;u.indexOf("end")!==-1&&(b=m("arrowhead"),h=m("arrowsize")),u.indexOf("start")!==-1&&(m("startarrowhead",b),m("startarrowsize",h)),m("arrowcolor",s?x.bordercolor:E.defaultLine),m("arrowwidth",(s&&n||1)*2),m("standoff"),m("startstandoff")}var S=m("hovertext"),v=d.hoverlabel||{};if(S){var l=m("hoverlabel.bgcolor",v.bgcolor||(E.opacity(r)?E.rgb(r):E.defaultLine)),g=m("hoverlabel.bordercolor",v.bordercolor||E.contrast(l));p.coerceFont(m,"hoverlabel.font",{family:v.font.family,size:v.font.size,color:v.font.color||g})}m("captureevents",!!S)}},94128:function(B,O,e){var p=e(92770),E=e(58163);B.exports=function(L,x,d,m){x=x||{};var r=d==="log"&&x.type==="linear",t=d==="linear"&&x.type==="log";if(!(r||t))return;var s=L._fullLayout.annotations,n=x._id.charAt(0),f,c;function u(h){var S=f[h],v=null;r?v=E(S,x.range):v=Math.pow(10,S),p(v)||(v=null),m(c+h,v)}for(var b=0;b<s.length;b++)f=s[b],c="annotations["+b+"].",f[n+"ref"]===x._id&&u(n),f["a"+n+"ref"]===x._id&&u("a"+n)}},84046:function(B,O,e){var p=e(71828),E=e(89298),a=e(85501),L=e(25625),x=e(50215);B.exports=function(r,t){a(r,t,{name:"annotations",handleItemDefaults:d})};function d(m,r,t){function s(A,o){return p.coerce(m,r,x,A,o)}var n=s("visible"),f=s("clicktoshow");if(n||f){L(m,r,t,s);for(var c=r.showarrow,u=["x","y"],b=[-10,-30],h={_fullLayout:t},S=0;S<2;S++){var v=u[S],l=E.coerceRef(m,r,h,v,"","paper");if(l!=="paper"){var g=E.getFromId(h,l);g._annIndices.push(r._index)}if(E.coercePosition(r,h,s,l,v,.5),c){var C="a"+v,M=E.coerceRef(m,r,h,C,"pixel",["pixel","paper"]);M!=="pixel"&&M!==l&&(M=r[C]="pixel");var D=M==="pixel"?b[S]:.4;E.coercePosition(r,h,s,M,C,D)}s(v+"anchor"),s(v+"shift")}if(p.noneOrAll(m,r,["x","y"]),c&&p.noneOrAll(m,r,["ax","ay"]),f){var T=s("xclick"),P=s("yclick");r._xclick=T===void 0?r.x:E.cleanPosition(T,h,r.xref),r._yclick=P===void 0?r.y:E.cleanPosition(P,h,r.yref)}}}},92605:function(B,O,e){var p=e(39898),E=e(73972),a=e(74875),L=e(71828),x=L.strTranslate,d=e(89298),m=e(7901),r=e(91424),t=e(30211),s=e(63893),n=e(6964),f=e(28569),c=e(44467).arrayEditor,u=e(13011);B.exports={draw:b,drawOne:h,drawRaw:v};function b(l){var g=l._fullLayout;g._infolayer.selectAll(".annotation").remove();for(var C=0;C<g.annotations.length;C++)g.annotations[C].visible&&h(l,C);return a.previousPromises(l)}function h(l,g){var C=l._fullLayout,M=C.annotations[g]||{},D=d.getFromId(l,M.xref),T=d.getFromId(l,M.yref);D&&D.setScale(),T&&T.setScale(),v(l,M,g,!1,D,T)}function S(l,g,C,M,D){var T=D[C],P=D[C+"ref"],A=C.indexOf("y")!==-1,o=d.getRefType(P)==="domain",k=A?M.h:M.w;return l?o?T+(A?-g:g)/l._length:l.p2r(l.r2p(T)+g):T+(A?-g:g)/k}function v(l,g,C,M,D,T){var P=l._fullLayout,A=l._fullLayout._size,o=l._context.edits,k,w;M?(k="annotation-"+M,w=M+".annotations"):(k="annotation",w="annotations");var U=c(l.layout,w,g),F=U.modifyBase,G=U.modifyItem,_=U.getUpdateObj;P._infolayer.selectAll("."+k+'[data-index="'+C+'"]').remove();var H="clip"+P._uid+"_ann"+C;if(!g._input||g.visible===!1){p.selectAll("#"+H).remove();return}var V={x:{},y:{}},N=+g.textangle||0,W=P._infolayer.append("g").classed(k,!0).attr("data-index",String(C)).style("opacity",g.opacity),j=W.append("g").classed("annotation-text-g",!0),Q=o[g.showarrow?"annotationTail":"annotationPosition"],ie=g.captureevents||o.annotationText||Q;function ue(we){var Se={index:C,annotation:g._input,fullAnnotation:g,event:we};return M&&(Se.subplotId=M),Se}var pe=j.append("g").style("pointer-events",ie?"all":null).call(n,"pointer").on("click",function(){l._dragging=!1,l.emit("plotly_clickannotation",ue(p.event))});g.hovertext&&pe.on("mouseover",function(){var we=g.hoverlabel,Se=we.font,Ee=this.getBoundingClientRect(),We=l.getBoundingClientRect();t.loneHover({x0:Ee.left-We.left,x1:Ee.right-We.left,y:(Ee.top+Ee.bottom)/2-We.top,text:g.hovertext,color:we.bgcolor,borderColor:we.bordercolor,fontFamily:Se.family,fontSize:Se.size,fontColor:Se.color},{container:P._hoverlayer.node(),outerContainer:P._paper.node(),gd:l})}).on("mouseout",function(){t.loneUnhover(P._hoverlayer.node())});var q=g.borderwidth,X=g.borderpad,K=q+X,J=pe.append("rect").attr("class","bg").style("stroke-width",q+"px").call(m.stroke,g.bordercolor).call(m.fill,g.bgcolor),re=g.width||g.height,fe=P._topclips.selectAll("#"+H).data(re?[0]:[]);fe.enter().append("clipPath").classed("annclip",!0).attr("id",H).append("rect"),fe.exit().remove();var te=g.font,ee=P._meta?L.templateString(g.text,P._meta):g.text,ce=pe.append("text").classed("annotation-text",!0).text(ee);function le(we){return we.call(r.font,te).attr({"text-anchor":{left:"start",right:"end"}[g.align]||"middle"}),s.convertToTspans(we,l,me),we}function me(){var we=ce.selectAll("a");if(we.size()===1&&we.text()===ce.text()){var Se=pe.insert("a",":first-child").attr({"xlink:xlink:href":we.attr("xlink:href"),"xlink:xlink:show":we.attr("xlink:show")}).style({cursor:"pointer"});Se.node().appendChild(J.node())}var Ee=pe.select(".annotation-text-math-group"),We=!Ee.empty(),Ye=r.bBox((We?Ee:ce).node()),De=Ye.width,Te=Ye.height,Re=g.width||De,Xe=g.height||Te,Je=Math.round(Re+2*K),He=Math.round(Xe+2*K);function $e(Or,kr){return kr==="auto"&&(Or<.3333333333333333?kr="left":Or>.6666666666666666?kr="right":kr="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[kr]}for(var pt=!1,ut=["x","y"],lt=0;lt<ut.length;lt++){var ke=ut[lt],Ne=g[ke+"ref"]||ke,gt=g["a"+ke+"ref"],qe={x:D,y:T}[ke],vt=(N+(ke==="x"?0:-90))*Math.PI/180,Bt=Je*Math.cos(vt),Yt=He*Math.sin(vt),it=Math.abs(Bt)+Math.abs(Yt),Ue=g[ke+"anchor"],_e=g[ke+"shift"]*(ke==="x"?1:-1),Ze=V[ke],Fe,Ce,ve,Ie,Ae,je=d.getRefType(Ne);if(qe&&je!=="domain"){var ot=qe.r2fraction(g[ke]);(ot<0||ot>1)&&(gt===Ne?(ot=qe.r2fraction(g["a"+ke]),(ot<0||ot>1)&&(pt=!0)):pt=!0),Fe=qe._offset+qe.r2p(g[ke]),Ie=.5}else{var ct=je==="domain";ke==="x"?(ve=g[ke],Fe=ct?qe._offset+qe._length*ve:Fe=A.l+A.w*ve):(ve=1-g[ke],Fe=ct?qe._offset+qe._length*ve:Fe=A.t+A.h*ve),Ie=g.showarrow?.5:ve}if(g.showarrow){Ze.head=Fe;var Et=g["a"+ke];if(Ae=Bt*$e(.5,g.xanchor)-Yt*$e(.5,g.yanchor),gt===Ne){var kt=d.getRefType(gt);kt==="domain"?(ke==="y"&&(Et=1-Et),Ze.tail=qe._offset+qe._length*Et):kt==="paper"?ke==="y"?(Et=1-Et,Ze.tail=A.t+A.h*Et):Ze.tail=A.l+A.w*Et:Ze.tail=qe._offset+qe.r2p(Et),Ce=Ae}else Ze.tail=Fe+Et,Ce=Ae+Et;Ze.text=Ze.tail+Ae;var nr=P[ke==="x"?"width":"height"];if(Ne==="paper"&&(Ze.head=L.constrain(Ze.head,1,nr-1)),gt==="pixel"){var dr=-Math.max(Ze.tail-3,Ze.text),Dt=Math.min(Ze.tail+3,Ze.text)-nr;dr>0?(Ze.tail+=dr,Ze.text+=dr):Dt>0&&(Ze.tail-=Dt,Ze.text-=Dt)}Ze.tail+=_e,Ze.head+=_e}else Ae=it*$e(Ie,Ue),Ce=Ae,Ze.text=Fe+Ae;Ze.text+=_e,Ae+=_e,Ce+=_e,g["_"+ke+"padplus"]=it/2+Ce,g["_"+ke+"padminus"]=it/2-Ce,g["_"+ke+"size"]=it,g["_"+ke+"shift"]=Ae}if(pt){pe.remove();return}var $t=0,vr=0;if(g.align!=="left"&&($t=(Re-De)*(g.align==="center"?.5:1)),g.valign!=="top"&&(vr=(Xe-Te)*(g.valign==="middle"?.5:1)),We)Ee.select("svg").attr({x:K+$t-1,y:K+vr}).call(r.setClipUrl,re?H:null,l);else{var Pr=K+vr-Ye.top,Ct=K+$t-Ye.left;ce.call(s.positionText,Ct,Pr).call(r.setClipUrl,re?H:null,l)}fe.select("rect").call(r.setRect,K,K,Re,Xe),J.call(r.setRect,q/2,q/2,Je-q,He-q),pe.call(r.setTranslate,Math.round(V.x.text-Je/2),Math.round(V.y.text-He/2)),j.attr({transform:"rotate("+N+","+V.x.text+","+V.y.text+")"});var ir=function(Or,kr){W.selectAll(".annotation-arrow-g").remove();var Mt=V.x.head,yt=V.y.head,Rt=V.x.tail+Or,wt=V.y.tail+kr,Ut=V.x.text+Or,Ht=V.y.text+kr,Qt=L.rotationXYMatrix(N,Ut,Ht),qt=L.apply2DTransform(Qt),ur=L.apply2DTransform2(Qt),Cr=+J.attr("width"),mr=+J.attr("height"),Fr=Ut-.5*Cr,tt=Fr+Cr,et=Ht-.5*mr,Wt=et+mr,Gt=[[Fr,et,Fr,Wt],[Fr,Wt,tt,Wt],[tt,Wt,tt,et],[tt,et,Fr,et]].map(ur);if(!Gt.reduce(function(an,Wn){return an^!!L.segmentsIntersect(Mt,yt,Mt+1e6,yt+1e6,Wn[0],Wn[1],Wn[2],Wn[3])},!1)){Gt.forEach(function(an){var Wn=L.segmentsIntersect(Rt,wt,Mt,yt,an[0],an[1],an[2],an[3]);Wn&&(Rt=Wn.x,wt=Wn.y)});var or=g.arrowwidth,wr=g.arrowcolor,Tr=g.arrowside,br=W.append("g").style({opacity:m.opacity(wr)}).classed("annotation-arrow-g",!0),Kt=br.append("path").attr("d","M"+Rt+","+wt+"L"+Mt+","+yt).style("stroke-width",or+"px").call(m.stroke,m.rgb(wr));if(u(Kt,Tr,g),o.annotationPosition&&Kt.node().parentNode&&!M){var Ir=Mt,Lr=yt;if(g.standoff){var Br=Math.sqrt(Math.pow(Mt-Rt,2)+Math.pow(yt-wt,2));Ir+=g.standoff*(Rt-Mt)/Br,Lr+=g.standoff*(wt-yt)/Br}var zr=br.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Ir)+","+(wt-Lr),transform:x(Ir,Lr)}).style("stroke-width",or+6+"px").call(m.stroke,"rgba(0,0,0,0)").call(m.fill,"rgba(0,0,0,0)"),cn,tn;f.init({element:zr.node(),gd:l,prepFn:function(){var an=r.getTranslate(pe);cn=an.x,tn=an.y,D&&D.autorange&&F(D._name+".autorange",!0),T&&T.autorange&&F(T._name+".autorange",!0)},moveFn:function(an,Wn){var En=qt(cn,tn),pa=En[0]+an,Qn=En[1]+Wn;pe.call(r.setTranslate,pa,Qn),G("x",S(D,an,"x",A,g)),G("y",S(T,Wn,"y",A,g)),g.axref===g.xref&&G("ax",S(D,an,"ax",A,g)),g.ayref===g.yref&&G("ay",S(T,Wn,"ay",A,g)),br.attr("transform",x(an,Wn)),j.attr({transform:"rotate("+N+","+pa+","+Qn+")"})},doneFn:function(){E.call("_guiRelayout",l,_());var an=document.querySelector(".js-notes-box-panel");an&&an.redraw(an.selectedObj)}})}}};if(g.showarrow&&ir(0,0),Q){var cr;f.init({element:pe.node(),gd:l,prepFn:function(){cr=j.attr("transform")},moveFn:function(Or,kr){var Mt="pointer";if(g.showarrow)g.axref===g.xref?G("ax",S(D,Or,"ax",A,g)):G("ax",g.ax+Or),g.ayref===g.yref?G("ay",S(T,kr,"ay",A.w,g)):G("ay",g.ay+kr),ir(Or,kr);else{if(M)return;var yt,Rt;if(D)yt=S(D,Or,"x",A,g);else{var wt=g._xsize/A.w,Ut=g.x+(g._xshift-g.xshift)/A.w-wt/2;yt=f.align(Ut+Or/A.w,wt,0,1,g.xanchor)}if(T)Rt=S(T,kr,"y",A,g);else{var Ht=g._ysize/A.h,Qt=g.y-(g._yshift+g.yshift)/A.h-Ht/2;Rt=f.align(Qt-kr/A.h,Ht,0,1,g.yanchor)}G("x",yt),G("y",Rt),(!D||!T)&&(Mt=f.getCursor(D?.5:yt,T?.5:Rt,g.xanchor,g.yanchor))}j.attr({transform:x(Or,kr)+cr}),n(pe,Mt)},clickFn:function(Or,kr){g.captureevents&&l.emit("plotly_clickannotation",ue(kr))},doneFn:function(){n(pe),E.call("_guiRelayout",l,_());var Or=document.querySelector(".js-notes-box-panel");Or&&Or.redraw(Or.selectedObj)}})}}o.annotationText?ce.call(s.makeEditable,{delegate:pe,gd:l}).call(le).on("edit",function(we){g.text=we,this.call(le),G("text",we),D&&D.autorange&&F(D._name+".autorange",!0),T&&T.autorange&&F(T._name+".autorange",!0),E.call("_guiRelayout",l,_())}):ce.call(le)}},13011:function(B,O,e){var p=e(39898),E=e(7901),a=e(82884),L=e(71828),x=L.strScale,d=L.strRotate,m=L.strTranslate;B.exports=function(t,s,n){var f=t.node(),c=a[n.arrowhead||0],u=a[n.startarrowhead||0],b=(n.arrowwidth||1)*(n.arrowsize||1),h=(n.arrowwidth||1)*(n.startarrowsize||1),S=s.indexOf("start")>=0,v=s.indexOf("end")>=0,l=c.backoff*b+n.standoff,g=u.backoff*h+n.startstandoff,C,M,D,T;if(f.nodeName==="line"){C={x:+t.attr("x1"),y:+t.attr("y1")},M={x:+t.attr("x2"),y:+t.attr("y2")};var P=C.x-M.x,A=C.y-M.y;if(D=Math.atan2(A,P),T=D+Math.PI,l&&g&&l+g>Math.sqrt(P*P+A*A)){j();return}if(l){if(l*l>P*P+A*A){j();return}var o=l*Math.cos(D),k=l*Math.sin(D);M.x+=o,M.y+=k,t.attr({x2:M.x,y2:M.y})}if(g){if(g*g>P*P+A*A){j();return}var w=g*Math.cos(D),U=g*Math.sin(D);C.x-=w,C.y-=U,t.attr({x1:C.x,y1:C.y})}}else if(f.nodeName==="path"){var F=f.getTotalLength(),G="";if(F<l+g){j();return}var _=f.getPointAtLength(0),H=f.getPointAtLength(.1);D=Math.atan2(_.y-H.y,_.x-H.x),C=f.getPointAtLength(Math.min(g,F)),G="0px,"+g+"px,";var V=f.getPointAtLength(F),N=f.getPointAtLength(F-.1);T=Math.atan2(V.y-N.y,V.x-N.x),M=f.getPointAtLength(Math.max(0,F-l));var W=G?g+l:l;G+=F-W+"px,"+F+"px",t.style("stroke-dasharray",G)}function j(){t.style("stroke-dasharray","0px,100px")}function Q(ie,ue,pe,q){ie.path&&(ie.noRotate&&(pe=0),p.select(f.parentNode).append("path").attr({class:t.attr("class"),d:ie.path,transform:m(ue.x,ue.y)+d(pe*180/Math.PI)+x(q)}).style({fill:E.rgb(n.arrowcolor),"stroke-width":0}))}S&&Q(u,C,D,h),v&&Q(c,M,T,b)}},32745:function(B,O,e){var p=e(92605),E=e(44317);B.exports={moduleType:"component",name:"annotations",layoutAttributes:e(50215),supplyLayoutDefaults:e(84046),includeBasePlot:e(76325)("annotations"),calcAutorange:e(3749),draw:p.draw,drawOne:p.drawOne,drawRaw:p.drawRaw,hasClickToShow:E.hasClickToShow,onClick:E.onClick,convertCoords:e(94128)}},26997:function(B,O,e){var p=e(50215),E=e(30962).overrideAll,a=e(44467).templatedArray;B.exports=E(a("annotation",{visible:p.visible,x:{valType:"any"},y:{valType:"any"},z:{valType:"any"},ax:{valType:"number"},ay:{valType:"number"},xanchor:p.xanchor,xshift:p.xshift,yanchor:p.yanchor,yshift:p.yshift,text:p.text,textangle:p.textangle,font:p.font,width:p.width,height:p.height,opacity:p.opacity,align:p.align,valign:p.valign,bgcolor:p.bgcolor,bordercolor:p.bordercolor,borderpad:p.borderpad,borderwidth:p.borderwidth,showarrow:p.showarrow,arrowcolor:p.arrowcolor,arrowhead:p.arrowhead,startarrowhead:p.startarrowhead,arrowside:p.arrowside,arrowsize:p.arrowsize,startarrowsize:p.startarrowsize,arrowwidth:p.arrowwidth,standoff:p.standoff,startstandoff:p.startstandoff,hovertext:p.hovertext,hoverlabel:p.hoverlabel,captureevents:p.captureevents}),"calc","from-root")},5485:function(B,O,e){var p=e(71828),E=e(89298);B.exports=function(x){for(var d=x.fullSceneLayout,m=d.annotations,r=0;r<m.length;r++)a(m[r],x);x.fullLayout._infolayer.selectAll(".annotation-"+x.id).remove()};function a(L,x){var d=x.fullSceneLayout,m=d.domain,r=x.fullLayout._size,t={pdata:null,type:"linear",autorange:!1,range:[-1/0,1/0]};L._xa={},p.extendFlat(L._xa,t),E.setConvert(L._xa),L._xa._offset=r.l+m.x[0]*r.w,L._xa.l2p=function(){return .5*(1+L._pdata[0]/L._pdata[3])*r.w*(m.x[1]-m.x[0])},L._ya={},p.extendFlat(L._ya,t),E.setConvert(L._ya),L._ya._offset=r.t+(1-m.y[1])*r.h,L._ya.l2p=function(){return .5*(1-L._pdata[1]/L._pdata[3])*r.h*(m.y[1]-m.y[0])}}},20226:function(B,O,e){var p=e(71828),E=e(89298),a=e(85501),L=e(25625),x=e(26997);B.exports=function(r,t,s){a(r,t,{name:"annotations",handleItemDefaults:d,fullLayout:s.fullLayout})};function d(m,r,t,s){function n(u,b){return p.coerce(m,r,x,u,b)}function f(u){var b=u+"axis",h={_fullLayout:{}};return h._fullLayout[b]=t[b],E.coercePosition(r,h,n,u,u,.5)}var c=n("visible");c&&(L(m,r,s.fullLayout,n),f("x"),f("y"),f("z"),p.noneOrAll(m,r,["x","y","z"]),r.xref="x",r.yref="y",r.zref="z",n("xanchor"),n("yanchor"),n("xshift"),n("yshift"),r.showarrow&&(r.axref="pixel",r.ayref="pixel",n("ax",-10),n("ay",-30),p.noneOrAll(m,r,["ax","ay"])))}},82188:function(B,O,e){var p=e(92605).drawRaw,E=e(63538),a=["x","y","z"];B.exports=function(x){for(var d=x.fullSceneLayout,m=x.dataScale,r=d.annotations,t=0;t<r.length;t++){for(var s=r[t],n=!1,f=0;f<3;f++){var c=a[f],u=s[c],b=d[c+"axis"],h=b.r2fraction(u);if(h<0||h>1){n=!0;break}}n?x.fullLayout._infolayer.select(".annotation-"+x.id+'[data-index="'+t+'"]').remove():(s._pdata=E(x.glplot.cameraParams,[d.xaxis.r2l(s.x)*m[0],d.yaxis.r2l(s.y)*m[1],d.zaxis.r2l(s.z)*m[2]]),p(x.graphDiv,s,t,x.id,s._xa,s._ya))}}},2468:function(B,O,e){var p=e(73972),E=e(71828);B.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:e(26997)}}},layoutAttributes:e(26997),handleDefaults:e(20226),includeBasePlot:a,convert:e(5485),draw:e(82188)};function a(L,x){var d=p.subplotsRegistry.gl3d;if(d)for(var m=d.attrRegex,r=Object.keys(L),t=0;t<r.length;t++){var s=r[t];m.test(s)&&(L[s].annotations||[]).length&&(E.pushUnique(x._basePlotModules,d),E.pushUnique(x._subplots.gl3d,s))}}},7561:function(B,O,e){B.exports=e(63489),e(94338),e(3961),e(38751),e(86825),e(37715),e(99384),e(43805),e(88874),e(83290),e(29108),e(55422),e(94320),e(31320),e(51367),e(21457)},72201:function(B,O,e){var p=e(7561),E=e(71828),a=e(50606),L=a.EPOCHJD,x=a.ONEDAY,d={valType:"enumerated",values:E.sortObjectKeys(p.calendars),editType:"calc",dflt:"gregorian"},m=function(D,T,P,A){var o={};return o[P]=d,E.coerce(D,T,o,P,A)},r=function(D,T,P,A){for(var o=0;o<P.length;o++)m(D,T,P[o]+"calendar",A.calendar)},t={chinese:"2000-01-01",coptic:"2000-01-01",discworld:"2000-01-01",ethiopian:"2000-01-01",hebrew:"5000-01-01",islamic:"1000-01-01",julian:"2000-01-01",mayan:"5000-01-01",nanakshahi:"1000-01-01",nepali:"2000-01-01",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-01",thai:"2000-01-01",ummalqura:"1400-01-01"},s={chinese:"2000-01-02",coptic:"2000-01-03",discworld:"2000-01-03",ethiopian:"2000-01-05",hebrew:"5000-01-01",islamic:"1000-01-02",julian:"2000-01-03",mayan:"5000-01-01",nanakshahi:"1000-01-05",nepali:"2000-01-05",persian:"1000-01-01",jalali:"1000-01-01",taiwan:"1000-01-04",thai:"2000-01-04",ummalqura:"1400-01-06"},n={chinese:["2000-01-01","2001-01-01"],coptic:["1700-01-01","1701-01-01"],discworld:["1800-01-01","1801-01-01"],ethiopian:["2000-01-01","2001-01-01"],hebrew:["5700-01-01","5701-01-01"],islamic:["1400-01-01","1401-01-01"],julian:["2000-01-01","2001-01-01"],mayan:["5200-01-01","5201-01-01"],nanakshahi:["0500-01-01","0501-01-01"],nepali:["2000-01-01","2001-01-01"],persian:["1400-01-01","1401-01-01"],jalali:["1400-01-01","1401-01-01"],taiwan:["0100-01-01","0101-01-01"],thai:["2500-01-01","2501-01-01"],ummalqura:["1400-01-01","1401-01-01"]},f="##",c={d:{0:"dd","-":"d"},e:{0:"d","-":"d"},a:{0:"D","-":"D"},A:{0:"DD","-":"DD"},j:{0:"oo","-":"o"},W:{0:"ww","-":"w"},m:{0:"mm","-":"m"},b:{0:"M","-":"M"},B:{0:"MM","-":"MM"},y:{0:"yy","-":"yy"},Y:{0:"yyyy","-":"yyyy"},U:f,w:f,c:{0:"D M d %X yyyy","-":"D M d %X yyyy"},x:{0:"mm/dd/yyyy","-":"mm/dd/yyyy"}};function u(D,T,P){for(var A=Math.floor((T+.05)/x)+L,o=h(P).fromJD(A),k=0,w,U,F,G,_;(k=D.indexOf("%",k))!==-1;)w=D.charAt(k+1),w==="0"||w==="-"||w==="_"?(F=3,U=D.charAt(k+2),w==="_"&&(w="-")):(U=w,w="0",F=2),G=c[U],G?(G===f?_=f:_=o.formatDate(G[w]),D=D.substr(0,k)+_+D.substr(k+F),k+=_.length):k+=F;return D}var b={};function h(D){var T=b[D];return T||(T=b[D]=p.instance(D),T)}function S(D){return E.extendFlat({},d,{description:D})}function v(D){return"Sets the calendar system to use with `"+D+"` date data."}var l={xcalendar:S(v("x"))},g=E.extendFlat({},l,{ycalendar:S(v("y"))}),C=E.extendFlat({},g,{zcalendar:S(v("z"))}),M=S(["Sets the calendar system to use for `range` and `tick0`","if this is a date axis. This does not set the calendar for","interpreting data on this axis, that's specified in the trace","or via the global `layout.calendar`"].join(" "));B.exports={moduleType:"component",name:"calendars",schema:{traces:{scatter:g,bar:g,box:g,heatmap:g,contour:g,histogram:g,histogram2d:g,histogram2dcontour:g,scatter3d:C,surface:C,mesh3d:C,scattergl:g,ohlc:l,candlestick:l},layout:{calendar:S(["Sets the default calendar system to use for interpreting and","displaying dates throughout the plot."].join(" "))},subplots:{xaxis:{calendar:M},yaxis:{calendar:M},scene:{xaxis:{calendar:M},yaxis:{calendar:M},zaxis:{calendar:M}},polar:{radialaxis:{calendar:M}}},transforms:{filter:{valuecalendar:S(["WARNING: All transforms are deprecated and may be removed from the API in next major version.","Sets the calendar system to use for `value`, if it is a date."].join(" ")),targetcalendar:S(["WARNING: All transforms are deprecated and may be removed from the API in next major version.","Sets the calendar system to use for `target`, if it is an","array of dates. If `target` is a string (eg *x*) we use the","corresponding trace attribute (eg `xcalendar`) if it exists,","even if `targetcalendar` is provided."].join(" "))}}},layoutAttributes:d,handleDefaults:m,handleTraceDefaults:r,CANONICAL_SUNDAY:s,CANONICAL_TICK:t,DFLTRANGE:n,getCal:h,worldCalFmt:u}},22399:function(B,O){O.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],O.defaultLine="#444",O.lightLine="#eee",O.background="#fff",O.borderLine="#BEC8D9",O.lightFraction=90.9090909090909},7901:function(B,O,e){var p=e(84267),E=e(92770),a=e(73627).isTypedArray,L=B.exports={},x=e(22399);L.defaults=x.defaults;var d=L.defaultLine=x.defaultLine;L.lightLine=x.lightLine;var m=L.background=x.background;L.tinyRGB=function(t){var s=t.toRgb();return"rgb("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+")"},L.rgb=function(t){return L.tinyRGB(p(t))},L.opacity=function(t){return t?p(t).getAlpha():0},L.addOpacity=function(t,s){var n=p(t).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+s+")"},L.combine=function(t,s){var n=p(t).toRgb();if(n.a===1)return p(t).toRgbString();var f=p(s||m).toRgb(),c=f.a===1?f:{r:255*(1-f.a)+f.r*f.a,g:255*(1-f.a)+f.g*f.a,b:255*(1-f.a)+f.b*f.a},u={r:c.r*(1-n.a)+n.r*n.a,g:c.g*(1-n.a)+n.g*n.a,b:c.b*(1-n.a)+n.b*n.a};return p(u).toRgbString()},L.contrast=function(t,s,n){var f=p(t);f.getAlpha()!==1&&(f=p(L.combine(t,m)));var c=f.isDark()?s?f.lighten(s):m:n?f.darken(n):d;return c.toString()},L.stroke=function(t,s){var n=p(s);t.style({stroke:L.tinyRGB(n),"stroke-opacity":n.getAlpha()})},L.fill=function(t,s){var n=p(s);t.style({fill:L.tinyRGB(n),"fill-opacity":n.getAlpha()})},L.clean=function(t){if(!(!t||typeof t!="object")){var s=Object.keys(t),n,f,c,u;for(n=0;n<s.length;n++)if(c=s[n],u=t[c],c.substr(c.length-5)==="color")if(Array.isArray(u))for(f=0;f<u.length;f++)u[f]=r(u[f]);else t[c]=r(u);else if(c.substr(c.length-10)==="colorscale"&&Array.isArray(u))for(f=0;f<u.length;f++)Array.isArray(u[f])&&(u[f][1]=r(u[f][1]));else if(Array.isArray(u)){var b=u[0];if(!Array.isArray(b)&&b&&typeof b=="object")for(f=0;f<u.length;f++)L.clean(u[f])}else u&&typeof u=="object"&&!a(u)&&L.clean(u)}};function r(t){if(E(t)||typeof t!="string")return t;var s=t.trim();if(s.substr(0,3)!=="rgb")return t;var n=s.match(/^rgba?\s*\(([^()]*)\)$/);if(!n)return t;var f=n[1].trim().split(/\s*[\s,]\s*/),c=s.charAt(3)==="a"&&f.length===4;if(!c&&f.length!==3)return t;for(var u=0;u<f.length;u++){if(!f[u].length||(f[u]=Number(f[u]),!(f[u]>=0)))return t;if(u===3)f[u]>1&&(f[u]=1);else if(f[u]>=1)return t}var b=Math.round(f[0]*255)+", "+Math.round(f[1]*255)+", "+Math.round(f[2]*255);return c?"rgba("+b+", "+f[3]+")":"rgb("+b+")"}},63583:function(B,O,e){var p=e(13838),E=e(41940),a=e(1426).extendFlat,L=e(30962).overrideAll;B.exports=L({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:p.linecolor,outlinewidth:p.linewidth,bordercolor:p.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:p.minor.tickmode,nticks:p.nticks,tick0:p.tick0,dtick:p.dtick,tickvals:p.tickvals,ticktext:p.ticktext,ticks:a({},p.ticks,{dflt:""}),ticklabeloverflow:a({},p.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:p.ticklen,tickwidth:p.tickwidth,tickcolor:p.tickcolor,ticklabelstep:p.ticklabelstep,showticklabels:p.showticklabels,labelalias:p.labelalias,tickfont:E({}),tickangle:p.tickangle,tickformat:p.tickformat,tickformatstops:p.tickformatstops,tickprefix:p.tickprefix,showtickprefix:p.showtickprefix,ticksuffix:p.ticksuffix,showticksuffix:p.showticksuffix,separatethousands:p.separatethousands,exponentformat:p.exponentformat,minexponent:p.minexponent,showexponent:p.showexponent,title:{text:{valType:"string"},font:E({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:E({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},30939:function(B){B.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},62499:function(B,O,e){var p=e(71828),E=e(44467),a=e(26218),L=e(38701),x=e(96115),d=e(89426),m=e(63583);B.exports=function(t,s,n){var f=E.newContainer(s,"colorbar"),c=t.colorbar||{};function u(V,N){return p.coerce(c,f,m,V,N)}var b=n.margin||{t:0,b:0,l:0,r:0},h=n.width-b.l-b.r,S=n.height-b.t-b.b,v=u("orientation"),l=v==="v",g=u("thicknessmode");u("thickness",g==="fraction"?30/(l?h:S):30);var C=u("lenmode");u("len",C==="fraction"?1:l?S:h);var M=u("yref"),D=u("xref"),T=M==="paper",P=D==="paper",A,o,k,w="left";l?(k="middle",w=P?"left":"right",A=P?1.02:1,o=.5):(k=T?"bottom":"top",w="center",A=.5,o=T?1.02:1),p.coerce(c,f,{x:{valType:"number",min:P?-2:0,max:P?3:1,dflt:A}},"x"),p.coerce(c,f,{y:{valType:"number",min:T?-2:0,max:T?3:1,dflt:o}},"y"),u("xanchor",w),u("xpad"),u("yanchor",k),u("ypad"),p.noneOrAll(c,f,["x","y"]),u("outlinecolor"),u("outlinewidth"),u("bordercolor"),u("borderwidth"),u("bgcolor");var U=p.coerce(c,f,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:l?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");u("ticklabeloverflow",U.indexOf("inside")!==-1?"hide past domain":"hide past div"),a(c,f,u,"linear");var F=n.font,G={outerTicks:!1,font:F};U.indexOf("inside")!==-1&&(G.bgColor="black"),d(c,f,u,"linear",G),x(c,f,u,"linear",G),L(c,f,u,"linear",G),u("title.text",n._dfltTitle.colorbar);var _=f.showticklabels?f.tickfont:F,H=p.extendFlat({},_,{color:F.color,size:p.bigFont(_.size)});p.coerceFont(u,"title.font",H),u("title.side",l?"top":"right")}},98981:function(B,O,e){var p=e(39898),E=e(84267),a=e(74875),L=e(73972),x=e(89298),d=e(28569),m=e(71828),r=m.strTranslate,t=e(1426).extendFlat,s=e(6964),n=e(91424),f=e(7901),c=e(92998),u=e(63893),b=e(52075).flipScale,h=e(71453),S=e(52830),v=e(13838),l=e(18783),g=l.LINE_SPACING,C=l.FROM_TL,M=l.FROM_BR,D=e(30939).cn;function T(U){var F=U._fullLayout,G=F._infolayer.selectAll("g."+D.colorbar).data(P(U),function(_){return _._id});G.enter().append("g").attr("class",function(_){return _._id}).classed(D.colorbar,!0),G.each(function(_){var H=p.select(this);m.ensureSingle(H,"rect",D.cbbg),m.ensureSingle(H,"g",D.cbfills),m.ensureSingle(H,"g",D.cblines),m.ensureSingle(H,"g",D.cbaxis,function(N){N.classed(D.crisp,!0)}),m.ensureSingle(H,"g",D.cbtitleunshift,function(N){N.append("g").classed(D.cbtitle,!0)}),m.ensureSingle(H,"rect",D.cboutline);var V=A(H,_,U);V&&V.then&&(U._promises||[]).push(V),U._context.edits.colorbarPosition&&o(H,_,U)}),G.exit().each(function(_){a.autoMargin(U,_._id)}).remove(),G.order()}function P(U){var F=U._fullLayout,G=U.calcdata,_=[],H,V,N,W;function j(te){return t(te,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function Q(){typeof W.calc=="function"?W.calc(U,N,H):(H._fillgradient=V.reversescale?b(V.colorscale):V.colorscale,H._zrange=[V[W.min],V[W.max]])}for(var ie=0;ie<G.length;ie++){var ue=G[ie];if(N=ue[0].trace,!!N._module){var pe=N._module.colorbar;if(N.visible===!0&&pe)for(var q=Array.isArray(pe),X=q?pe:[pe],K=0;K<X.length;K++){W=X[K];var J=W.container;V=J?N[J]:N,V&&V.showscale&&(H=j(V.colorbar),H._id="cb"+N.uid+(q&&J?"-"+J:""),H._traceIndex=N.index,H._propPrefix=(J?J+".":"")+"colorbar.",H._meta=N._meta,Q(),_.push(H))}}}for(var re in F._colorAxes)if(V=F[re],V.showscale){var fe=F._colorAxes[re];H=j(V.colorbar),H._id="cb"+re,H._propPrefix=re+".colorbar.",H._meta=F._meta,W={min:"cmin",max:"cmax"},fe[0]!=="heatmap"&&(N=fe[1],W.calc=N._module.colorbar.calc),Q(),_.push(H)}return _}function A(U,F,G){var _=F.orientation==="v",H=F.len,V=F.lenmode,N=F.thickness,W=F.thicknessmode,j=F.outlinewidth,Q=F.borderwidth,ie=F.bgcolor,ue=F.xanchor,pe=F.yanchor,q=F.xpad,X=F.ypad,K=F.x,J=_?F.y:1-F.y,re=F.yref==="paper",fe=F.xref==="paper",te=G._fullLayout,ee=te._size,ce=F._fillcolor,le=F._line,me=F.title,we=me.side,Se=F._zrange||p.extent((typeof ce=="function"?ce:le.color).domain()),Ee=typeof le.color=="function"?le.color:function(){return le.color},We=typeof ce=="function"?ce:function(){return ce},Ye=F._levels,De=k(G,F,Se),Te=De.fill,Re=De.line,Xe=Math.round(N*(W==="fraction"?_?ee.w:ee.h:1)),Je=Xe/(_?ee.w:ee.h),He=Math.round(H*(V==="fraction"?_?ee.h:ee.w:1)),$e=He/(_?ee.h:ee.w),pt=fe?ee.w:G._fullLayout.width,ut=re?ee.h:G._fullLayout.height,lt=Math.round(_?K*pt+q:J*ut+X),ke={center:.5,right:1}[ue]||0,Ne={top:1,middle:.5}[pe]||0,gt=_?K-ke*Je:J-Ne*Je,qe=_?J-Ne*$e:K-ke*$e,vt=Math.round(_?ut*(1-qe):pt*qe);F._lenFrac=$e,F._thickFrac=Je,F._uFrac=gt,F._vFrac=qe;var Bt=F._axis=w(G,F,Se);Bt.position=Je+(_?K+q/ee.w:J+X/ee.h);var Yt=["top","bottom"].indexOf(we)!==-1;if(_&&Yt&&(Bt.title.side=we,Bt.titlex=K+q/ee.w,Bt.titley=qe+(me.side==="top"?$e-X/ee.h:X/ee.h)),!_&&!Yt&&(Bt.title.side=we,Bt.titley=J+X/ee.h,Bt.titlex=qe+q/ee.w),le.color&&F.tickmode==="auto"){Bt.tickmode="linear",Bt.tick0=Ye.start;var it=Ye.size,Ue=m.constrain(He/50,4,15)+1,_e=(Se[1]-Se[0])/((F.nticks||Ue)*it);if(_e>1){var Ze=Math.pow(10,Math.floor(Math.log(_e)/Math.LN10));it*=Ze*m.roundUp(_e/Ze,[2,5,10]),(Math.abs(Ye.start)/Ye.size+1e-6)%1<2e-6&&(Bt.tick0=0)}Bt.dtick=it}Bt.domain=_?[qe+X/ee.h,qe+$e-X/ee.h]:[qe+q/ee.w,qe+$e-q/ee.w],Bt.setScale(),U.attr("transform",r(Math.round(ee.l),Math.round(ee.t)));var Fe=U.select("."+D.cbtitleunshift).attr("transform",r(-Math.round(ee.l),-Math.round(ee.t))),Ce=Bt.ticklabelposition,ve=Bt.title.font.size,Ie=U.select("."+D.cbaxis),Ae,je=0,ot=0;function ct(Dt,$t){var vr={propContainer:Bt,propName:F._propPrefix+"title",traceIndex:F._traceIndex,_meta:F._meta,placeholder:te._dfltTitle.colorbar,containerGroup:U.select("."+D.cbtitle)},Pr=Dt.charAt(0)==="h"?Dt.substr(1):"h"+Dt;U.selectAll("."+Pr+",."+Pr+"-math-group").remove(),c.draw(G,Dt,t(vr,$t||{}))}function Et(){if(_&&Yt||!_&&!Yt){var Dt,$t;we==="top"&&(Dt=q+ee.l+pt*K,$t=X+ee.t+ut*(1-qe-$e)+3+ve*.75),we==="bottom"&&(Dt=q+ee.l+pt*K,$t=X+ee.t+ut*(1-qe)-3-ve*.25),we==="right"&&($t=X+ee.t+ut*J+3+ve*.75,Dt=q+ee.l+pt*qe),ct(Bt._id+"title",{attributes:{x:Dt,y:$t,"text-anchor":_?"start":"middle"}})}}function kt(){if(_&&!Yt||!_&&Yt){var Dt=Bt.position||0,$t=Bt._offset+Bt._length/2,vr,Pr;if(we==="right")Pr=$t,vr=ee.l+pt*Dt+10+ve*(Bt.showticklabels?1:.5);else if(vr=$t,we==="bottom"&&(Pr=ee.t+ut*Dt+10+(Ce.indexOf("inside")===-1?Bt.tickfont.size:0)+(Bt.ticks!=="intside"&&F.ticklen||0)),we==="top"){var Ct=me.text.split("<br>").length;Pr=ee.t+ut*Dt+10-Xe-g*ve*Ct}ct((_?"h":"v")+Bt._id+"title",{avoid:{selection:p.select(G).selectAll("g."+Bt._id+"tick"),side:we,offsetTop:_?0:ee.t,offsetLeft:_?ee.l:0,maxShift:_?te.width:te.height},attributes:{x:vr,y:Pr,"text-anchor":"middle"},transform:{rotate:_?-90:0,offset:0}})}}function nr(){if(!_&&!Yt||_&&Yt){var Dt=U.select("."+D.cbtitle),$t=Dt.select("text"),vr=[-j/2,j/2],Pr=Dt.select(".h"+Bt._id+"title-math-group").node(),Ct=15.6;$t.node()&&(Ct=parseInt($t.node().style.fontSize,10)*g);var ir;if(Pr?(ir=n.bBox(Pr),ot=ir.width,je=ir.height,je>Ct&&(vr[1]-=(je-Ct)/2)):$t.node()&&!$t.classed(D.jsPlaceholder)&&(ir=n.bBox($t.node()),ot=ir.width,je=ir.height),_){if(je){if(je+=5,we==="top")Bt.domain[1]-=je/ee.h,vr[1]*=-1;else{Bt.domain[0]+=je/ee.h;var cr=u.lineCount($t);vr[1]+=(1-cr)*Ct}Dt.attr("transform",r(vr[0],vr[1])),Bt.setScale()}}else ot&&(we==="right"&&(Bt.domain[0]+=(ot+ve/2)/ee.w),Dt.attr("transform",r(vr[0],vr[1])),Bt.setScale())}U.selectAll("."+D.cbfills+",."+D.cblines).attr("transform",_?r(0,Math.round(ee.h*(1-Bt.domain[1]))):r(Math.round(ee.w*Bt.domain[0]),0)),Ie.attr("transform",_?r(0,Math.round(-ee.t)):r(Math.round(-ee.l),0));var Or=U.select("."+D.cbfills).selectAll("rect."+D.cbfill).attr("style","").data(Te);Or.enter().append("rect").classed(D.cbfill,!0).attr("style",""),Or.exit().remove();var kr=Se.map(Bt.c2p).map(Math.round).sort(function(Ut,Ht){return Ut-Ht});Or.each(function(Ut,Ht){var Qt=[Ht===0?Se[0]:(Te[Ht]+Te[Ht-1])/2,Ht===Te.length-1?Se[1]:(Te[Ht]+Te[Ht+1])/2].map(Bt.c2p).map(Math.round);_&&(Qt[1]=m.constrain(Qt[1]+(Qt[1]>Qt[0])?1:-1,kr[0],kr[1]));var qt=p.select(this).attr(_?"x":"y",lt).attr(_?"y":"x",p.min(Qt)).attr(_?"width":"height",Math.max(Xe,2)).attr(_?"height":"width",Math.max(p.max(Qt)-p.min(Qt),2));if(F._fillgradient)n.gradient(qt,G,F._id,_?"vertical":"horizontalreversed",F._fillgradient,"fill");else{var ur=We(Ut).replace("e-","");qt.attr("fill",E(ur).toHexString())}});var Mt=U.select("."+D.cblines).selectAll("path."+D.cbline).data(le.color&&le.width?Re:[]);Mt.enter().append("path").classed(D.cbline,!0),Mt.exit().remove(),Mt.each(function(Ut){var Ht=lt,Qt=Math.round(Bt.c2p(Ut))+le.width/2%1;p.select(this).attr("d","M"+(_?Ht+","+Qt:Qt+","+Ht)+(_?"h":"v")+Xe).call(n.lineGroupStyle,le.width,Ee(Ut),le.dash)}),Ie.selectAll("g."+Bt._id+"tick,path").remove();var yt=lt+Xe+(j||0)/2-(F.ticks==="outside"?1:0),Rt=x.calcTicks(Bt),wt=x.getTickSigns(Bt)[2];return x.drawTicks(G,Bt,{vals:Bt.ticks==="inside"?x.clipEnds(Bt,Rt):Rt,layer:Ie,path:x.makeTickPath(Bt,yt,wt),transFn:x.makeTransTickFn(Bt)}),x.drawLabels(G,Bt,{vals:Rt,layer:Ie,transFn:x.makeTransTickLabelFn(Bt),labelFns:x.makeLabelFns(Bt,yt)})}function dr(){var Dt,$t=Xe+j/2;Ce.indexOf("inside")===-1&&(Dt=n.bBox(Ie.node()),$t+=_?Dt.width:Dt.height),Ae=Fe.select("text");var vr=0,Pr=_&&we==="top",Ct=!_&&we==="right",ir=0;if(Ae.node()&&!Ae.classed(D.jsPlaceholder)){var cr,Or=Fe.select(".h"+Bt._id+"title-math-group").node();Or&&(_&&Yt||!_&&!Yt)?(Dt=n.bBox(Or),vr=Dt.width,cr=Dt.height):(Dt=n.bBox(Fe.node()),vr=Dt.right-ee.l-(_?lt:vt),cr=Dt.bottom-ee.t-(_?vt:lt),!_&&we==="top"&&($t+=Dt.height,ir=Dt.height)),Ct&&(Ae.attr("transform",r(vr/2+ve/2,0)),vr*=2),$t=Math.max($t,_?vr:cr)}var kr=(_?q:X)*2+$t+Q+j/2,Mt=0;!_&&me.text&&pe==="bottom"&&J<=0&&(Mt=kr/2,kr+=Mt,ir+=Mt),te._hColorbarMoveTitle=Mt,te._hColorbarMoveCBTitle=ir;var yt=Q+j,Rt=(_?lt:vt)-yt/2-(_?q:0),wt=(_?vt:lt)-(_?He:X+ir-Mt);U.select("."+D.cbbg).attr("x",Rt).attr("y",wt).attr(_?"width":"height",Math.max(kr-Mt,2)).attr(_?"height":"width",Math.max(He+yt,2)).call(f.fill,ie).call(f.stroke,F.bordercolor).style("stroke-width",Q);var Ut=Ct?Math.max(vr-10,0):0;U.selectAll("."+D.cboutline).attr("x",(_?lt:vt+q)+Ut).attr("y",(_?vt+X-He:lt)+(Pr?je:0)).attr(_?"width":"height",Math.max(Xe,2)).attr(_?"height":"width",Math.max(He-(_?2*X+je:2*q+Ut),2)).call(f.stroke,F.outlinecolor).style({fill:"none","stroke-width":j});var Ht=_?ke*kr:0,Qt=_?0:(1-Ne)*kr-ir;if(Ht=fe?ee.l-Ht:-Ht,Qt=re?ee.t-Qt:-Qt,U.attr("transform",r(Ht,Qt)),!_&&(Q||E(ie).getAlpha()&&!E.equals(te.paper_bgcolor,ie))){var qt=Ie.selectAll("text"),ur=qt[0].length,Cr=U.select("."+D.cbbg).node(),mr=n.bBox(Cr),Fr=n.getTranslate(U),tt=2;qt.each(function(Lr,Br){var zr=0,cn=ur-1;if(Br===zr||Br===cn){var tn=n.bBox(this),an=n.getTranslate(this),Wn;if(Br===cn){var En=tn.right+an.x,pa=mr.right+Fr.x+vt-Q-tt+K;Wn=pa-En,Wn>0&&(Wn=0)}else if(Br===zr){var Qn=tn.left+an.x,_r=mr.left+Fr.x+vt+Q+tt;Wn=_r-Qn,Wn<0&&(Wn=0)}Wn&&(ur<3?this.setAttribute("transform","translate("+Wn+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var et={},Wt=C[ue],Gt=M[ue],or=C[pe],wr=M[pe],Tr=kr-Xe;_?(V==="pixels"?(et.y=J,et.t=He*or,et.b=He*wr):(et.t=et.b=0,et.yt=J+H*or,et.yb=J-H*wr),W==="pixels"?(et.x=K,et.l=kr*Wt,et.r=kr*Gt):(et.l=Tr*Wt,et.r=Tr*Gt,et.xl=K-N*Wt,et.xr=K+N*Gt)):(V==="pixels"?(et.x=K,et.l=He*Wt,et.r=He*Gt):(et.l=et.r=0,et.xl=K+H*Wt,et.xr=K-H*Gt),W==="pixels"?(et.y=1-J,et.t=kr*or,et.b=kr*wr):(et.t=Tr*or,et.b=Tr*wr,et.yt=J-N*or,et.yb=J+N*wr));var br=F.y<.5?"b":"t",Kt=F.x<.5?"l":"r";G._fullLayout._reservedMargin[F._id]={};var Ir={r:te.width-Rt-Ht,l:Rt+et.r,b:te.height-wt-Qt,t:wt+et.b};fe&&re?a.autoMargin(G,F._id,et):fe?G._fullLayout._reservedMargin[F._id][br]=Ir[br]:re||_?G._fullLayout._reservedMargin[F._id][Kt]=Ir[Kt]:G._fullLayout._reservedMargin[F._id][br]=Ir[br]}return m.syncOrAsync([a.previousPromises,Et,nr,kt,a.previousPromises,dr],G)}function o(U,F,G){var _=F.orientation==="v",H=G._fullLayout,V=H._size,N,W,j;d.init({element:U.node(),gd:G,prepFn:function(){N=U.attr("transform"),s(U)},moveFn:function(Q,ie){U.attr("transform",N+r(Q,ie)),W=d.align((_?F._uFrac:F._vFrac)+Q/V.w,_?F._thickFrac:F._lenFrac,0,1,F.xanchor),j=d.align((_?F._vFrac:1-F._uFrac)-ie/V.h,_?F._lenFrac:F._thickFrac,0,1,F.yanchor);var ue=d.getCursor(W,j,F.xanchor,F.yanchor);s(U,ue)},doneFn:function(){if(s(U),W!==void 0&&j!==void 0){var Q={};Q[F._propPrefix+"x"]=W,Q[F._propPrefix+"y"]=j,F._traceIndex!==void 0?L.call("_guiRestyle",G,Q,F._traceIndex):L.call("_guiRelayout",G,Q)}}})}function k(U,F,G){var _=F._levels,H=[],V=[],N,W,j=_.end+_.size/100,Q=_.size,ie=1.001*G[0]-.001*G[1],ue=1.001*G[1]-.001*G[0];for(W=0;W<1e5&&(N=_.start+W*Q,!(Q>0?N>=j:N<=j));W++)N>ie&&N<ue&&H.push(N);if(F._fillgradient)V=[0];else if(typeof F._fillcolor=="function"){var pe=F._filllevels;if(pe)for(j=pe.end+pe.size/100,Q=pe.size,W=0;W<1e5&&(N=pe.start+W*Q,!(Q>0?N>=j:N<=j));W++)N>G[0]&&N<G[1]&&V.push(N);else V=H.map(function(q){return q-_.size/2}),V.push(V[V.length-1]+_.size)}else F._fillcolor&&typeof F._fillcolor=="string"&&(V=[0]);return _.size<0&&(H.reverse(),V.reverse()),{line:H,fill:V}}function w(U,F,G){var _=U._fullLayout,H=F.orientation==="v",V={type:"linear",range:G,tickmode:F.tickmode,nticks:F.nticks,tick0:F.tick0,dtick:F.dtick,tickvals:F.tickvals,ticktext:F.ticktext,ticks:F.ticks,ticklen:F.ticklen,tickwidth:F.tickwidth,tickcolor:F.tickcolor,showticklabels:F.showticklabels,labelalias:F.labelalias,ticklabelposition:F.ticklabelposition,ticklabeloverflow:F.ticklabeloverflow,ticklabelstep:F.ticklabelstep,tickfont:F.tickfont,tickangle:F.tickangle,tickformat:F.tickformat,exponentformat:F.exponentformat,minexponent:F.minexponent,separatethousands:F.separatethousands,showexponent:F.showexponent,showtickprefix:F.showtickprefix,tickprefix:F.tickprefix,showticksuffix:F.showticksuffix,ticksuffix:F.ticksuffix,title:F.title,showline:!0,anchor:"free",side:H?"right":"bottom",position:1},N=H?"y":"x",W={type:"linear",_id:N+F._id},j={letter:N,font:_.font,noHover:!0,noTickson:!0,noTicklabelmode:!0,calendar:_.calendar};function Q(ie,ue){return m.coerce(V,W,v,ie,ue)}return h(V,W,Q,j,_),S(V,W,Q,j),W}B.exports={draw:T}},76228:function(B,O,e){var p=e(71828);B.exports=function(a){return p.isPlainObject(a.colorbar)}},12311:function(B,O,e){B.exports={moduleType:"component",name:"colorbar",attributes:e(63583),supplyDefaults:e(62499),draw:e(98981).draw,hasColorbar:e(76228)}},50693:function(B,O,e){var p=e(63583),E=e(30587).counter,a=e(78607),L=e(63282).scales;a(L),B.exports=function(d,m){d=d||"",m=m||{};var r=m.cLetter||"c";"onlyIfNumerical"in m&&m.onlyIfNumerical;var t="noScale"in m?m.noScale:d==="marker.line",s="showScaleDflt"in m?m.showScaleDflt:r==="z",n=typeof m.colorscaleDflt=="string"?L[m.colorscaleDflt]:null,f=m.editTypeOverride||"",c;"colorAttr"in m?(c=m.colorAttr,m.colorAttr):c={z:"z",c:"color"}[r];var u=r+"auto",b=r+"min",h=r+"max",S=r+"mid",v={};v[b]=v[h]=void 0;var l={};l[u]=!1;var g={};return c==="color"&&(g.color={valType:"color",arrayOk:!0,editType:f||"style"},m.anim&&(g.color.anim=!0)),g[u]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:v},g[b]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:l},g[h]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:l},g[S]={valType:"number",dflt:null,editType:"calc",impliedEdits:v},g.colorscale={valType:"colorscale",editType:"calc",dflt:n,impliedEdits:{autocolorscale:!1}},g.autocolorscale={valType:"boolean",dflt:m.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},g.reversescale={valType:"boolean",dflt:!1,editType:"plot"},t||(g.showscale={valType:"boolean",dflt:s,editType:"calc"},g.colorbar=p),m.noColorAxis||(g.coloraxis={valType:"subplotid",regex:E("coloraxis"),dflt:null,editType:"calc"}),g}},78803:function(B,O,e){var p=e(92770),E=e(71828),a=e(52075).extractOpts;B.exports=function(x,d,m){var r=x._fullLayout,t=m.vals,s=m.containerStr,n=s?E.nestedProperty(d,s).get():d,f=a(n),c=f.auto!==!1,u=f.min,b=f.max,h=f.mid,S=function(){return E.aggNums(Math.min,null,t)},v=function(){return E.aggNums(Math.max,null,t)};if(u===void 0?u=S():c&&(n._colorAx&&p(u)?u=Math.min(u,S()):u=S()),b===void 0?b=v():c&&(n._colorAx&&p(b)?b=Math.max(b,v()):b=v()),c&&h!==void 0&&(b-h>h-u?u=h-(b-h):b-h<h-u&&(b=h+(h-u))),u===b&&(u-=.5,b+=.5),f._sync("min",u),f._sync("max",b),f.autocolorscale){var l;u*b<0?l=r.colorscale.diverging:u>=0?l=r.colorscale.sequential:l=r.colorscale.sequentialminus,f._sync("colorscale",l)}}},33046:function(B,O,e){var p=e(71828),E=e(52075).hasColorscale,a=e(52075).extractOpts;B.exports=function(x,d){function m(u,b){var h=u["_"+b];h!==void 0&&(u[b]=h)}function r(u,b){var h=b.container?p.nestedProperty(u,b.container).get():u;if(h)if(h.coloraxis)h._colorAx=d[h.coloraxis];else{var S=a(h),v=S.auto;(v||S.min===void 0)&&m(h,b.min),(v||S.max===void 0)&&m(h,b.max),S.autocolorscale&&m(h,"colorscale")}}for(var t=0;t<x.length;t++){var s=x[t],n=s._module.colorbar;if(n)if(Array.isArray(n))for(var f=0;f<n.length;f++)r(s,n[f]);else r(s,n);E(s,"marker.line")&&r(s,{container:"marker.line",min:"cmin",max:"cmax"})}for(var c in d._colorAxes)r(d[c],{min:"cmin",max:"cmax"})}},1586:function(B,O,e){var p=e(92770),E=e(71828),a=e(76228),L=e(62499),x=e(63282).isValid,d=e(73972).traceIs;function m(r,t){var s=t.slice(0,t.length-1);return t?E.nestedProperty(r,s).get()||{}:r}B.exports=function r(t,s,n,f,c){var u=c.prefix,b=c.cLetter,h="_module"in s,S=m(t,u),v=m(s,u),l=m(s._template||{},u)||{},g=function(){return delete t.coloraxis,delete s.coloraxis,r(t,s,n,f,c)};if(h){var C=n._colorAxes||{},M=f(u+"coloraxis");if(M){var D=d(s,"contour")&&E.nestedProperty(s,"contours.coloring").get()||"heatmap",T=C[M];T?(T[2].push(g),T[0]!==D&&(T[0]=!1,E.warn(["Ignoring coloraxis:",M,"setting","as it is linked to incompatible colorscales."].join(" ")))):C[M]=[D,s,[g]];return}}var P=S[b+"min"],A=S[b+"max"],o=p(P)&&p(A)&&P<A,k=f(u+b+"auto",!o);k?f(u+b+"mid"):(f(u+b+"min"),f(u+b+"max"));var w=S.colorscale,U=l.colorscale,F;if(w!==void 0&&(F=!x(w)),U!==void 0&&(F=!x(U)),f(u+"autocolorscale",F),f(u+"colorscale"),f(u+"reversescale"),u!=="marker.line."){var G;u&&h&&(G=a(S));var _=f(u+"showscale",G);_&&(u&&l&&(v._template=l),L(S,v,n))}}},52075:function(B,O,e){var p=e(39898),E=e(84267),a=e(92770),L=e(71828),x=e(7901),d=e(63282).isValid;function m(h,S,v){var l=S?L.nestedProperty(h,S).get()||{}:h,g=l[v||"color"],C=!1;if(L.isArrayOrTypedArray(g)){for(var M=0;M<g.length;M++)if(a(g[M])){C=!0;break}}return L.isPlainObject(l)&&(C||l.showscale===!0||a(l.cmin)&&a(l.cmax)||d(l.colorscale)||L.isPlainObject(l.colorbar))}var r=["showscale","autocolorscale","colorscale","reversescale","colorbar"],t=["min","max","mid","auto"];function s(h){var S=h._colorAx,v=S||h,l={},g,C,M;for(C=0;C<r.length;C++)M=r[C],l[M]=v[M];if(S)for(g="c",C=0;C<t.length;C++)M=t[C],l[M]=v["c"+M];else{var D;for(C=0;C<t.length;C++){if(M=t[C],D="c"+M,D in v){l[M]=v[D];continue}D="z"+M,D in v&&(l[M]=v[D])}g=D.charAt(0)}return l._sync=function(T,P){var A=t.indexOf(T)!==-1?g+T:T;v[A]=v["_"+A]=P},l}function n(h){for(var S=s(h),v=S.min,l=S.max,g=S.reversescale?f(S.colorscale):S.colorscale,C=g.length,M=new Array(C),D=new Array(C),T=0;T<C;T++){var P=g[T];M[T]=v+P[0]*(l-v),D[T]=P[1]}return{domain:M,range:D}}function f(h){for(var S=h.length,v=new Array(S),l=S-1,g=0;l>=0;l--,g++){var C=h[l];v[g]=[1-C[0],C[1]]}return v}function c(h,S){S=S||{};for(var v=h.domain,l=h.range,g=l.length,C=new Array(g),M=0;M<g;M++){var D=E(l[M]).toRgb();C[M]=[D.r,D.g,D.b,D.a]}var T=p.scale.linear().domain(v).range(C).clamp(!0),P=S.noNumericCheck,A=S.returnArray,o;return P&&A?o=T:P?o=function(k){return b(T(k))}:A?o=function(k){return a(k)?T(k):E(k).isValid()?k:x.defaultLine}:o=function(k){return a(k)?b(T(k)):E(k).isValid()?k:x.defaultLine},o.domain=T.domain,o.range=function(){return l},o}function u(h,S){return c(n(h),S)}function b(h){var S={r:h[0],g:h[1],b:h[2],a:h[3]};return E(S).toRgbString()}B.exports={hasColorscale:m,extractOpts:s,extractScale:n,flipScale:f,makeColorScaleFunc:c,makeColorScaleFuncFromTrace:u}},21081:function(B,O,e){var p=e(63282),E=e(52075);B.exports={moduleType:"component",name:"colorscale",attributes:e(50693),layoutAttributes:e(72673),supplyLayoutDefaults:e(30959),handleDefaults:e(1586),crossTraceDefaults:e(33046),calc:e(78803),scales:p.scales,defaultScale:p.defaultScale,getScale:p.get,isValidScale:p.isValid,hasColorscale:E.hasColorscale,extractOpts:E.extractOpts,extractScale:E.extractScale,flipScale:E.flipScale,makeColorScaleFunc:E.makeColorScaleFunc,makeColorScaleFuncFromTrace:E.makeColorScaleFuncFromTrace}},72673:function(B,O,e){var p=e(1426).extendFlat,E=e(50693),a=e(63282).scales;B.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:a.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:a.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:a.RdBu,editType:"calc"}},coloraxis:p({_isSubplotObj:!0,editType:"calc"},E("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(B,O,e){var p=e(71828),E=e(44467),a=e(72673),L=e(1586);B.exports=function(d,m){function r(h,S){return p.coerce(d,m,a,h,S)}r("colorscale.sequential"),r("colorscale.sequentialminus"),r("colorscale.diverging");var t=m._colorAxes,s,n;function f(h,S){return p.coerce(s,n,a.coloraxis,h,S)}for(var c in t){var u=t[c];if(u[0])s=d[c]||{},n=E.newContainer(m,c,"coloraxis"),n._name=c,L(s,n,m,f,{prefix:"",cLetter:"c"});else{for(var b=0;b<u[2].length;b++)u[2][b]();delete m._colorAxes[c]}}}},63282:function(B,O,e){var p=e(84267),E={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},a=E.RdBu;function L(m,r){if(r||(r=a),!m)return r;function t(){try{m=E[m]||JSON.parse(m)}catch{m=r}}return typeof m=="string"&&(t(),typeof m=="string"&&t()),x(m)?m:r}function x(m){var r=0;if(!Array.isArray(m)||m.length<2||!m[0]||!m[m.length-1]||+m[0][0]!=0||+m[m.length-1][0]!=1)return!1;for(var t=0;t<m.length;t++){var s=m[t];if(s.length!==2||+s[0]<r||!p(s[1]).isValid())return!1;r=+s[0]}return!0}function d(m){return E[m]!==void 0?!0:x(m)}B.exports={scales:E,defaultScale:a,get:L,isValid:d}},92807:function(B){B.exports=function(e,p,E,a,L){var x=(e-E)/(a-E),d=x+p/(a-E),m=(x+d)/2;return L==="left"||L==="bottom"?x:L==="center"||L==="middle"?m:L==="right"||L==="top"?d:x<.6666666666666666-m?x:d>1.3333333333333333-m?d:m}},70461:function(B,O,e){var p=e(71828),E=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];B.exports=function(L,x,d,m){return d==="left"?L=0:d==="center"?L=1:d==="right"?L=2:L=p.constrain(Math.floor(L*3),0,2),m==="bottom"?x=0:m==="middle"?x=1:m==="top"?x=2:x=p.constrain(Math.floor(x*3),0,2),E[x][L]}},64505:function(B,O){O.selectMode=function(e){return e==="lasso"||e==="select"},O.drawMode=function(e){return e==="drawclosedpath"||e==="drawopenpath"||e==="drawline"||e==="drawrect"||e==="drawcircle"},O.openMode=function(e){return e==="drawline"||e==="drawopenpath"},O.rectMode=function(e){return e==="select"||e==="drawline"||e==="drawrect"||e==="drawcircle"},O.freeMode=function(e){return e==="lasso"||e==="drawclosedpath"||e==="drawopenpath"},O.selectingOrDrawing=function(e){return O.freeMode(e)||O.rectMode(e)}},28569:function(B,O,e){var p=e(48956),E=e(57035),a=e(38520),L=e(71828).removeElement,x=e(85555),d=B.exports={};d.align=e(92807),d.getCursor=e(70461);var m=e(26041);d.unhover=m.wrapped,d.unhoverRaw=m.raw,d.init=function(n){var f=n.gd,c=1,u=f._context.doubleClickDelay,b=n.element,h,S,v,l,g,C,M,D;f._mouseDownTime||(f._mouseDownTime=0),b.style.pointerEvents="all",b.onmousedown=A,a?(b._ontouchstart&&b.removeEventListener("touchstart",b._ontouchstart),b._ontouchstart=A,b.addEventListener("touchstart",A,{passive:!1})):b.ontouchstart=A;function T(w,U,F){return Math.abs(w)<F&&(w=0),Math.abs(U)<F&&(U=0),[w,U]}var P=n.clampFn||T;function A(w){f._dragged=!1,f._dragging=!0;var U=t(w);h=U[0],S=U[1],M=w.target,C=w,D=w.buttons===2||w.ctrlKey,typeof w.clientX>"u"&&typeof w.clientY>"u"&&(w.clientX=h,w.clientY=S),v=new Date().getTime(),v-f._mouseDownTime<u?c+=1:(c=1,f._mouseDownTime=v),n.prepFn&&n.prepFn(w,h,S),E&&!D?(g=r(),g.style.cursor=window.getComputedStyle(b).cursor):E||(g=document,l=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(b).cursor),document.addEventListener("mouseup",k),document.addEventListener("touchend",k),n.dragmode!==!1&&(w.preventDefault(),document.addEventListener("mousemove",o),document.addEventListener("touchmove",o,{passive:!1}))}function o(w){w.preventDefault();var U=t(w),F=n.minDrag||x.MINDRAG,G=P(U[0]-h,U[1]-S,F),_=G[0],H=G[1];(_||H)&&(f._dragged=!0,d.unhover(f,w)),f._dragged&&n.moveFn&&!D&&(f._dragdata={element:b,dx:_,dy:H},n.moveFn(_,H))}function k(w){if(delete f._dragdata,n.dragmode!==!1&&(w.preventDefault(),document.removeEventListener("mousemove",o),document.removeEventListener("touchmove",o)),document.removeEventListener("mouseup",k),document.removeEventListener("touchend",k),E?L(g):l&&(g.documentElement.style.cursor=l,l=null),!f._dragging){f._dragged=!1;return}if(f._dragging=!1,new Date().getTime()-f._mouseDownTime>u&&(c=Math.max(c-1,1)),f._dragged)n.doneFn&&n.doneFn();else if(n.clickFn&&n.clickFn(c,C),!D){var U;try{U=new MouseEvent("click",w)}catch{var F=t(w);U=document.createEvent("MouseEvents"),U.initMouseEvent("click",w.bubbles,w.cancelable,w.view,w.detail,w.screenX,w.screenY,F[0],F[1],w.ctrlKey,w.altKey,w.shiftKey,w.metaKey,w.button,w.relatedTarget)}M.dispatchEvent(U)}f._dragging=!1,f._dragged=!1}};function r(){var s=document.createElement("div");s.className="dragcover";var n=s.style;return n.position="fixed",n.left=0,n.right=0,n.top=0,n.bottom=0,n.zIndex=999999999,n.background="none",document.body.appendChild(s),s}d.coverSlip=r;function t(s){return p(s.changedTouches?s.changedTouches[0]:s,document.body)}},26041:function(B,O,e){var p=e(11086),E=e(79990),a=e(24401).getGraphDiv,L=e(26675),x=B.exports={};x.wrapped=function(d,m,r){d=a(d),d._fullLayout&&E.clear(d._fullLayout._uid+L.HOVERID),x.raw(d,m,r)},x.raw=function(m,r){var t=m._fullLayout,s=m._hoverdata;r||(r={}),!(r.target&&!m._dragged&&p.triggerHandler(m,"plotly_beforehover",r)===!1)&&(t._hoverlayer.selectAll("g").remove(),t._hoverlayer.selectAll("line").remove(),t._hoverlayer.selectAll("circle").remove(),m._hoverdata=void 0,r.target&&s&&m.emit("plotly_unhover",{event:r,points:s}))}},79952:function(B,O){O.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},O.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(B,O,e){var p=e(39898),E=e(71828),a=E.numberFormat,L=e(92770),x=e(84267),d=e(73972),m=e(7901),r=e(21081),t=E.strTranslate,s=e(63893),n=e(77922),f=e(18783),c=f.LINE_SPACING,u=e(37822).DESELECTDIM,b=e(34098),h=e(39984),S=e(23469).appendArrayPointValue,v=B.exports={};v.font=function(De,Te,Re,Xe){E.isPlainObject(Te)&&(Xe=Te.color,Re=Te.size,Te=Te.family),Te&&De.style("font-family",Te),Re+1&&De.style("font-size",Re+"px"),Xe&&De.call(m.fill,Xe)},v.setPosition=function(De,Te,Re){De.attr("x",Te).attr("y",Re)},v.setSize=function(De,Te,Re){De.attr("width",Te).attr("height",Re)},v.setRect=function(De,Te,Re,Xe,Je){De.call(v.setPosition,Te,Re).call(v.setSize,Xe,Je)},v.translatePoint=function(De,Te,Re,Xe){var Je=Re.c2p(De.x),He=Xe.c2p(De.y);if(L(Je)&&L(He)&&Te.node())Te.node().nodeName==="text"?Te.attr("x",Je).attr("y",He):Te.attr("transform",t(Je,He));else return!1;return!0},v.translatePoints=function(De,Te,Re){De.each(function(Xe){var Je=p.select(this);v.translatePoint(Xe,Je,Te,Re)})},v.hideOutsideRangePoint=function(De,Te,Re,Xe,Je,He){Te.attr("display",Re.isPtWithinRange(De,Je)&&Xe.isPtWithinRange(De,He)?null:"none")},v.hideOutsideRangePoints=function(De,Te){if(Te._hasClipOnAxisFalse){var Re=Te.xaxis,Xe=Te.yaxis;De.each(function(Je){var He=Je[0].trace,$e=He.xcalendar,pt=He.ycalendar,ut=d.traceIs(He,"bar-like")?".bartext":".point,.textpoint";De.selectAll(ut).each(function(lt){v.hideOutsideRangePoint(lt,p.select(this),Re,Xe,$e,pt)})})}},v.crispRound=function(De,Te,Re){return!Te||!L(Te)?Re||0:De._context.staticPlot?Te:Te<1?1:Math.round(Te)},v.singleLineStyle=function(De,Te,Re,Xe,Je){Te.style("fill","none");var He=(((De||[])[0]||{}).trace||{}).line||{},$e=Re||He.width||0,pt=Je||He.dash||"";m.stroke(Te,Xe||He.color),v.dashLine(Te,pt,$e)},v.lineGroupStyle=function(De,Te,Re,Xe){De.style("fill","none").each(function(Je){var He=(((Je||[])[0]||{}).trace||{}).line||{},$e=Te||He.width||0,pt=Xe||He.dash||"";p.select(this).call(m.stroke,Re||He.color).call(v.dashLine,pt,$e)})},v.dashLine=function(De,Te,Re){Re=+Re||0,Te=v.dashStyle(Te,Re),De.style({"stroke-dasharray":Te,"stroke-width":Re+"px"})},v.dashStyle=function(De,Te){Te=+Te||1;var Re=Math.max(Te,3);return De==="solid"?De="":De==="dot"?De=Re+"px,"+Re+"px":De==="dash"?De=3*Re+"px,"+3*Re+"px":De==="longdash"?De=5*Re+"px,"+5*Re+"px":De==="dashdot"?De=3*Re+"px,"+Re+"px,"+Re+"px,"+Re+"px":De==="longdashdot"&&(De=5*Re+"px,"+2*Re+"px,"+Re+"px,"+2*Re+"px"),De};function l(De,Te,Re){var Xe=Te.fillpattern,Je=Xe&&v.getPatternAttr(Xe.shape,0,"");if(Je){var He=v.getPatternAttr(Xe.bgcolor,0,null),$e=v.getPatternAttr(Xe.fgcolor,0,null),pt=Xe.fgopacity,ut=v.getPatternAttr(Xe.size,0,8),lt=v.getPatternAttr(Xe.solidity,0,.3),ke=Te.uid;v.pattern(De,"point",Re,ke,Je,ut,lt,void 0,Xe.fillmode,He,$e,pt)}else Te.fillcolor&&De.call(m.fill,Te.fillcolor)}v.singleFillStyle=function(De,Te){var Re=p.select(De.node()),Xe=Re.data(),Je=((Xe[0]||[])[0]||{}).trace||{};l(De,Je,Te)},v.fillGroupStyle=function(De,Te){De.style("stroke-width",0).each(function(Re){var Xe=p.select(this);Re[0].trace&&l(Xe,Re[0].trace,Te)})};var g=e(90998);v.symbolNames=[],v.symbolFuncs=[],v.symbolBackOffs=[],v.symbolNeedLines={},v.symbolNoDot={},v.symbolNoFill={},v.symbolList=[],Object.keys(g).forEach(function(De){var Te=g[De],Re=Te.n;v.symbolList.push(Re,String(Re),De,Re+100,String(Re+100),De+"-open"),v.symbolNames[Re]=De,v.symbolFuncs[Re]=Te.f,v.symbolBackOffs[Re]=Te.backoff||0,Te.needLine&&(v.symbolNeedLines[Re]=!0),Te.noDot?v.symbolNoDot[Re]=!0:v.symbolList.push(Re+200,String(Re+200),De+"-dot",Re+300,String(Re+300),De+"-open-dot"),Te.noFill&&(v.symbolNoFill[Re]=!0)});var C=v.symbolNames.length,M="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";v.symbolNumber=function(De){if(L(De))De=+De;else if(typeof De=="string"){var Te=0;De.indexOf("-open")>0&&(Te=100,De=De.replace("-open","")),De.indexOf("-dot")>0&&(Te+=200,De=De.replace("-dot","")),De=v.symbolNames.indexOf(De),De>=0&&(De+=Te)}return De%100>=C||De>=400?0:Math.floor(Math.max(De,0))};function D(De,Te,Re,Xe){var Je=De%100;return v.symbolFuncs[Je](Te,Re,Xe)+(De>=200?M:"")}var T={x1:1,x2:0,y1:0,y2:0},P={x1:0,x2:0,y1:1,y2:0},A=a("~f"),o={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:T},horizontalreversed:{node:"linearGradient",attrs:T,reversed:!0},vertical:{node:"linearGradient",attrs:P},verticalreversed:{node:"linearGradient",attrs:P,reversed:!0}};v.gradient=function(De,Te,Re,Xe,Je,He){for(var $e=Je.length,pt=o[Xe],ut=new Array($e),lt=0;lt<$e;lt++)pt.reversed?ut[$e-1-lt]=[A((1-Je[lt][0])*100),Je[lt][1]]:ut[lt]=[A(Je[lt][0]*100),Je[lt][1]];var ke=Te._fullLayout,Ne="g"+ke._uid+"-"+Re,gt=ke._defs.select(".gradients").selectAll("#"+Ne).data([Xe+ut.join(";")],E.identity);gt.exit().remove(),gt.enter().append(pt.node).each(function(){var qe=p.select(this);pt.attrs&&qe.attr(pt.attrs),qe.attr("id",Ne);var vt=qe.selectAll("stop").data(ut);vt.exit().remove(),vt.enter().append("stop"),vt.each(function(Bt){var Yt=x(Bt[1]);p.select(this).attr({offset:Bt[0]+"%","stop-color":m.tinyRGB(Yt),"stop-opacity":Yt.getAlpha()})})}),De.style(He,X(Ne,Te)).style(He+"-opacity",null),De.classed("gradient_filled",!0)},v.pattern=function(De,Te,Re,Xe,Je,He,$e,pt,ut,lt,ke,Ne){var gt=Te==="legend";pt&&(ut==="overlay"?(lt=pt,ke=m.contrast(lt)):(lt=void 0,ke=pt));var qe=Re._fullLayout,vt="p"+qe._uid+"-"+Xe,Bt,Yt,it=function(Et,kt,nr,dr,Dt){return dr+(Dt-dr)*(Et-kt)/(nr-kt)},Ue,_e,Ze,Fe,Ce={},ve=x(ke),Ie=m.tinyRGB(ve),Ae=ve.getAlpha(),je=Ne*Ae;switch(Je){case"/":Bt=He*Math.sqrt(2),Yt=He*Math.sqrt(2),Ue="M-"+Bt/4+","+Yt/4+"l"+Bt/2+",-"+Yt/2+"M0,"+Yt+"L"+Bt+",0M"+Bt/4*3+","+Yt/4*5+"l"+Bt/2+",-"+Yt/2,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"\\":Bt=He*Math.sqrt(2),Yt=He*Math.sqrt(2),Ue="M"+Bt/4*3+",-"+Yt/4+"l"+Bt/2+","+Yt/2+"M0,0L"+Bt+","+Yt+"M-"+Bt/4+","+Yt/4*3+"l"+Bt/2+","+Yt/2,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"x":Bt=He*Math.sqrt(2),Yt=He*Math.sqrt(2),Ue="M-"+Bt/4+","+Yt/4+"l"+Bt/2+",-"+Yt/2+"M0,"+Yt+"L"+Bt+",0M"+Bt/4*3+","+Yt/4*5+"l"+Bt/2+",-"+Yt/2+"M"+Bt/4*3+",-"+Yt/4+"l"+Bt/2+","+Yt/2+"M0,0L"+Bt+","+Yt+"M-"+Bt/4+","+Yt/4*3+"l"+Bt/2+","+Yt/2,_e=He-He*Math.sqrt(1-$e),Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"|":Bt=He,Yt=He,Fe="path",Ue="M"+Bt/2+",0L"+Bt/2+","+Yt,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"-":Bt=He,Yt=He,Fe="path",Ue="M0,"+Yt/2+"L"+Bt+","+Yt/2,_e=$e*He,Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case"+":Bt=He,Yt=He,Fe="path",Ue="M"+Bt/2+",0L"+Bt/2+","+Yt+"M0,"+Yt/2+"L"+Bt+","+Yt/2,_e=He-He*Math.sqrt(1-$e),Fe="path",Ce={d:Ue,opacity:je,stroke:Ie,"stroke-width":_e+"px"};break;case".":Bt=He,Yt=He,$e<Math.PI/4?Ze=Math.sqrt($e*He*He/Math.PI):Ze=it($e,Math.PI/4,1,He/2,He/Math.sqrt(2)),Fe="circle",Ce={cx:Bt/2,cy:Yt/2,r:Ze,opacity:je,fill:Ie};break}var ot=[Je||"noSh",lt||"noBg",ke||"noFg",He,$e].join(";"),ct=qe._defs.select(".patterns").selectAll("#"+vt).data([ot],E.identity);ct.exit().remove(),ct.enter().append("pattern").each(function(){var Et=p.select(this);if(Et.attr({id:vt,width:Bt+"px",height:Yt+"px",patternUnits:"userSpaceOnUse",patternTransform:gt?"scale(0.8)":""}),lt){var kt=x(lt),nr=m.tinyRGB(kt),dr=kt.getAlpha(),Dt=Et.selectAll("rect").data([0]);Dt.exit().remove(),Dt.enter().append("rect").attr({width:Bt+"px",height:Yt+"px",fill:nr,"fill-opacity":dr})}var $t=Et.selectAll(Fe).data([0]);$t.exit().remove(),$t.enter().append(Fe).attr(Ce)}),De.style("fill",X(vt,Re)).style("fill-opacity",null),De.classed("pattern_filled",!0)},v.initGradients=function(De){var Te=De._fullLayout,Re=E.ensureSingle(Te._defs,"g","gradients");Re.selectAll("linearGradient,radialGradient").remove(),p.select(De).selectAll(".gradient_filled").classed("gradient_filled",!1)},v.initPatterns=function(De){var Te=De._fullLayout,Re=E.ensureSingle(Te._defs,"g","patterns");Re.selectAll("pattern").remove(),p.select(De).selectAll(".pattern_filled").classed("pattern_filled",!1)},v.getPatternAttr=function(De,Te,Re){return De&&E.isArrayOrTypedArray(De)?Te<De.length?De[Te]:Re:De},v.pointStyle=function(De,Te,Re,Xe){if(De.size()){var Je=v.makePointStyleFns(Te);De.each(function(He){v.singlePointStyle(He,p.select(this),Te,Je,Re,Xe)})}},v.singlePointStyle=function(De,Te,Re,Xe,Je,He){var $e=Re.marker,pt=$e.line;if(He&&He.i>=0&&De.i===void 0&&(De.i=He.i),Te.style("opacity",Xe.selectedOpacityFn?Xe.selectedOpacityFn(De):De.mo===void 0?$e.opacity:De.mo),Xe.ms2mrc){var ut;De.ms==="various"||$e.size==="various"?ut=3:ut=Xe.ms2mrc(De.ms),De.mrc=ut,Xe.selectedSizeFn&&(ut=De.mrc=Xe.selectedSizeFn(De));var lt=v.symbolNumber(De.mx||$e.symbol)||0;De.om=lt%200>=100;var ke=Ye(De,Re),Ne=re(De,Re);Te.attr("d",D(lt,ut,ke,Ne))}var gt=!1,qe,vt,Bt;if(De.so)Bt=pt.outlierwidth,vt=pt.outliercolor,qe=$e.outliercolor;else{var Yt=(pt||{}).width;Bt=(De.mlw+1||Yt+1||(De.trace?(De.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in De?vt=De.mlcc=Xe.lineScale(De.mlc):E.isArrayOrTypedArray(pt.color)?vt=m.defaultLine:vt=pt.color,E.isArrayOrTypedArray($e.color)&&(qe=m.defaultLine,gt=!0),"mc"in De?qe=De.mcc=Xe.markerScale(De.mc):qe=$e.color||$e.colors||"rgba(0,0,0,0)",Xe.selectedColorFn&&(qe=Xe.selectedColorFn(De))}if(De.om)Te.call(m.stroke,qe).style({"stroke-width":(Bt||1)+"px",fill:"none"});else{Te.style("stroke-width",(De.isBlank?0:Bt)+"px");var it=$e.gradient,Ue=De.mgt;Ue?gt=!0:Ue=it&&it.type,E.isArrayOrTypedArray(Ue)&&(Ue=Ue[0],o[Ue]||(Ue=0));var _e=$e.pattern,Ze=_e&&v.getPatternAttr(_e.shape,De.i,"");if(Ue&&Ue!=="none"){var Fe=De.mgc;Fe?gt=!0:Fe=it.color;var Ce=Re.uid;gt&&(Ce+="-"+De.i),v.gradient(Te,Je,Ce,Ue,[[0,Fe],[1,qe]],"fill")}else if(Ze){var ve=!1,Ie=_e.fgcolor;!Ie&&He&&He.color&&(Ie=He.color,ve=!0);var Ae=v.getPatternAttr(Ie,De.i,He&&He.color||null),je=v.getPatternAttr(_e.bgcolor,De.i,null),ot=_e.fgopacity,ct=v.getPatternAttr(_e.size,De.i,8),Et=v.getPatternAttr(_e.solidity,De.i,.3);ve=ve||De.mcc||E.isArrayOrTypedArray(_e.shape)||E.isArrayOrTypedArray(_e.bgcolor)||E.isArrayOrTypedArray(_e.fgcolor)||E.isArrayOrTypedArray(_e.size)||E.isArrayOrTypedArray(_e.solidity);var kt=Re.uid;ve&&(kt+="-"+De.i),v.pattern(Te,"point",Je,kt,Ze,ct,Et,De.mcc,_e.fillmode,je,Ae,ot)}else E.isArrayOrTypedArray(qe)?m.fill(Te,qe[De.i]):m.fill(Te,qe);Bt&&m.stroke(Te,vt)}},v.makePointStyleFns=function(De){var Te={},Re=De.marker;return Te.markerScale=v.tryColorscale(Re,""),Te.lineScale=v.tryColorscale(Re,"line"),d.traceIs(De,"symbols")&&(Te.ms2mrc=b.isBubble(De)?h(De):function(){return(Re.size||6)/2}),De.selectedpoints&&E.extendFlat(Te,v.makeSelectedPointStyleFns(De)),Te},v.makeSelectedPointStyleFns=function(De){var Te={},Re=De.selected||{},Xe=De.unselected||{},Je=De.marker||{},He=Re.marker||{},$e=Xe.marker||{},pt=Je.opacity,ut=He.opacity,lt=$e.opacity,ke=ut!==void 0,Ne=lt!==void 0;(E.isArrayOrTypedArray(pt)||ke||Ne)&&(Te.selectedOpacityFn=function(Ze){var Fe=Ze.mo===void 0?Je.opacity:Ze.mo;return Ze.selected?ke?ut:Fe:Ne?lt:u*Fe});var gt=Je.color,qe=He.color,vt=$e.color;(qe||vt)&&(Te.selectedColorFn=function(Ze){var Fe=Ze.mcc||gt;return Ze.selected?qe||Fe:vt||Fe});var Bt=Je.size,Yt=He.size,it=$e.size,Ue=Yt!==void 0,_e=it!==void 0;return d.traceIs(De,"symbols")&&(Ue||_e)&&(Te.selectedSizeFn=function(Ze){var Fe=Ze.mrc||Bt/2;return Ze.selected?Ue?Yt/2:Fe:_e?it/2:Fe}),Te},v.makeSelectedTextStyleFns=function(De){var Te={},Re=De.selected||{},Xe=De.unselected||{},Je=De.textfont||{},He=Re.textfont||{},$e=Xe.textfont||{},pt=Je.color,ut=He.color,lt=$e.color;return Te.selectedTextColorFn=function(ke){var Ne=ke.tc||pt;return ke.selected?ut||Ne:lt||(ut?Ne:m.addOpacity(Ne,u))},Te},v.selectedPointStyle=function(De,Te){if(!(!De.size()||!Te.selectedpoints)){var Re=v.makeSelectedPointStyleFns(Te),Xe=Te.marker||{},Je=[];Re.selectedOpacityFn&&Je.push(function(He,$e){He.style("opacity",Re.selectedOpacityFn($e))}),Re.selectedColorFn&&Je.push(function(He,$e){m.fill(He,Re.selectedColorFn($e))}),Re.selectedSizeFn&&Je.push(function(He,$e){var pt=$e.mx||Xe.symbol||0,ut=Re.selectedSizeFn($e);He.attr("d",D(v.symbolNumber(pt),ut,Ye($e,Te),re($e,Te))),$e.mrc2=ut}),Je.length&&De.each(function(He){for(var $e=p.select(this),pt=0;pt<Je.length;pt++)Je[pt]($e,He)})}},v.tryColorscale=function(De,Te){var Re=Te?E.nestedProperty(De,Te).get():De;if(Re){var Xe=Re.color;if((Re.colorscale||Re._colorAx)&&E.isArrayOrTypedArray(Xe))return r.makeColorScaleFuncFromTrace(Re)}return E.identity};var k={start:1,end:-1,middle:0,bottom:1,top:-1};function w(De,Te,Re,Xe,Je){var He=p.select(De.node().parentNode),$e=Te.indexOf("top")!==-1?"top":Te.indexOf("bottom")!==-1?"bottom":"middle",pt=Te.indexOf("left")!==-1?"end":Te.indexOf("right")!==-1?"start":"middle",ut=Xe?Xe/.8+1:0,lt=(s.lineCount(De)-1)*c+1,ke=k[pt]*ut,Ne=Re*.75+k[$e]*ut+(k[$e]-1)*lt*Re/2;De.attr("text-anchor",pt),Je||He.attr("transform",t(ke,Ne))}function U(De,Te){var Re=De.ts||Te.textfont.size;return L(Re)&&Re>0?Re:0}v.textPointStyle=function(De,Te,Re){if(De.size()){var Xe;if(Te.selectedpoints){var Je=v.makeSelectedTextStyleFns(Te);Xe=Je.selectedTextColorFn}var He=Te.texttemplate,$e=Re._fullLayout;De.each(function(pt){var ut=p.select(this),lt=He?E.extractOption(pt,Te,"txt","texttemplate"):E.extractOption(pt,Te,"tx","text");if(!lt&<!==0){ut.remove();return}if(He){var ke=Te._module.formatLabels,Ne=ke?ke(pt,Te,$e):{},gt={};S(gt,Te,pt.i);var qe=Te._meta||{};lt=E.texttemplateString(lt,Ne,$e._d3locale,gt,pt,qe)}var vt=pt.tp||Te.textposition,Bt=U(pt,Te),Yt=Xe?Xe(pt):pt.tc||Te.textfont.color;ut.call(v.font,pt.tf||Te.textfont.family,Bt,Yt).text(lt).call(s.convertToTspans,Re).call(w,vt,Bt,pt.mrc)})}},v.selectedTextStyle=function(De,Te){if(!(!De.size()||!Te.selectedpoints)){var Re=v.makeSelectedTextStyleFns(Te);De.each(function(Xe){var Je=p.select(this),He=Re.selectedTextColorFn(Xe),$e=Xe.tp||Te.textposition,pt=U(Xe,Te);m.fill(Je,He);var ut=d.traceIs(Te,"bar-like");w(Je,$e,pt,Xe.mrc2||Xe.mrc,ut)})}};var F=.5;v.smoothopen=function(De,Te){if(De.length<3)return"M"+De.join("L");var Re="M"+De[0],Xe=[],Je;for(Je=1;Je<De.length-1;Je++)Xe.push(W(De[Je-1],De[Je],De[Je+1],Te));for(Re+="Q"+Xe[0][0]+" "+De[1],Je=2;Je<De.length-1;Je++)Re+="C"+Xe[Je-2][1]+" "+Xe[Je-1][0]+" "+De[Je];return Re+="Q"+Xe[De.length-3][1]+" "+De[De.length-1],Re},v.smoothclosed=function(De,Te){if(De.length<3)return"M"+De.join("L")+"Z";var Re="M"+De[0],Xe=De.length-1,Je=[W(De[Xe],De[0],De[1],Te)],He;for(He=1;He<Xe;He++)Je.push(W(De[He-1],De[He],De[He+1],Te));for(Je.push(W(De[Xe-1],De[Xe],De[0],Te)),He=1;He<=Xe;He++)Re+="C"+Je[He-1][1]+" "+Je[He][0]+" "+De[He];return Re+="C"+Je[Xe][1]+" "+Je[0][0]+" "+De[0]+"Z",Re};var G,_;function H(De,Te,Re){return Re&&(De=ie(De)),Te?N(De[1]):V(De[0])}function V(De){var Te=p.round(De,2);return G=Te,Te}function N(De){var Te=p.round(De,2);return _=Te,Te}function W(De,Te,Re,Xe){var Je=De[0]-Te[0],He=De[1]-Te[1],$e=Re[0]-Te[0],pt=Re[1]-Te[1],ut=Math.pow(Je*Je+He*He,F/2),lt=Math.pow($e*$e+pt*pt,F/2),ke=(lt*lt*Je-ut*ut*$e)*Xe,Ne=(lt*lt*He-ut*ut*pt)*Xe,gt=3*lt*(ut+lt),qe=3*ut*(ut+lt);return[[V(Te[0]+(gt&&ke/gt)),N(Te[1]+(gt&&Ne/gt))],[V(Te[0]-(qe&&ke/qe)),N(Te[1]-(qe&&Ne/qe))]]}var j={hv:function(De,Te,Re){return"H"+V(Te[0])+"V"+H(Te,1,Re)},vh:function(De,Te,Re){return"V"+N(Te[1])+"H"+H(Te,0,Re)},hvh:function(De,Te,Re){return"H"+V((De[0]+Te[0])/2)+"V"+N(Te[1])+"H"+H(Te,0,Re)},vhv:function(De,Te,Re){return"V"+N((De[1]+Te[1])/2)+"H"+V(Te[0])+"V"+H(Te,1,Re)}},Q=function(De,Te,Re){return"L"+H(Te,0,Re)+","+H(Te,1,Re)};v.steps=function(De){var Te=j[De]||Q;return function(Re){for(var Xe="M"+V(Re[0][0])+","+N(Re[0][1]),Je=Re.length,He=1;He<Je;He++)Xe+=Te(Re[He-1],Re[He],He===Je-1);return Xe}};function ie(De,Te){var Re=De.backoff,Xe=De.trace,Je=De.d,He=De.i;if(Re&&Xe&&Xe.marker&&Xe.marker.angle%360===0&&Xe.line&&Xe.line.shape!=="spline"){var $e=E.isArrayOrTypedArray(Re),pt=De,ut=Te?Te[0]:G||0,lt=Te?Te[1]:_||0,ke=pt[0],Ne=pt[1],gt=ke-ut,qe=Ne-lt,vt=Math.atan2(qe,gt),Bt=$e?Re[He]:Re;if(Bt==="auto"){var Yt=pt.i;Xe.type==="scatter"&&Yt--;var it=pt.marker,Ue=it.symbol;E.isArrayOrTypedArray(Ue)&&(Ue=Ue[Yt]);var _e=it.size;E.isArrayOrTypedArray(_e)&&(_e=_e[Yt]),Bt=it?v.symbolBackOffs[v.symbolNumber(Ue)]*_e:0,Bt+=v.getMarkerStandoff(Je[Yt],Xe)||0}var Ze=ke-Bt*Math.cos(vt),Fe=Ne-Bt*Math.sin(vt);(Ze<=ke&&Ze>=ut||Ze>=ke&&Ze<=ut)&&(Fe<=Ne&&Fe>=lt||Fe>=Ne&&Fe<=lt)&&(De=[Ze,Fe])}return De}v.applyBackoff=ie,v.makeTester=function(){var De=E.ensureSingleById(p.select("body"),"svg","js-plotly-tester",function(Re){Re.attr(n.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),Te=E.ensureSingle(De,"path","js-reference-point",function(Re){Re.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});v.tester=De,v.testref=Te},v.savedBBoxes={};var ue=0,pe=1e4;v.bBox=function(De,Te,Re){Re||(Re=q(De));var Xe;if(Re){if(Xe=v.savedBBoxes[Re],Xe)return E.extendFlat({},Xe)}else if(De.childNodes.length===1){var Je=De.childNodes[0];if(Re=q(Je),Re){var He=+Je.getAttribute("x")||0,$e=+Je.getAttribute("y")||0,pt=Je.getAttribute("transform");if(!pt){var ut=v.bBox(Je,!1,Re);return He&&(ut.left+=He,ut.right+=He),$e&&(ut.top+=$e,ut.bottom+=$e),ut}if(Re+="~"+He+"~"+$e+"~"+pt,Xe=v.savedBBoxes[Re],Xe)return E.extendFlat({},Xe)}}var lt,ke;Te?lt=De:(ke=v.tester.node(),lt=De.cloneNode(!0),ke.appendChild(lt)),p.select(lt).attr("transform",null).call(s.positionText,0,0);var Ne=lt.getBoundingClientRect(),gt=v.testref.node().getBoundingClientRect();Te||ke.removeChild(lt);var qe={height:Ne.height,width:Ne.width,left:Ne.left-gt.left,top:Ne.top-gt.top,right:Ne.right-gt.left,bottom:Ne.bottom-gt.top};return ue>=pe&&(v.savedBBoxes={},ue=0),Re&&(v.savedBBoxes[Re]=qe),ue++,E.extendFlat({},qe)};function q(De){var Te=De.getAttribute("data-unformatted");if(Te!==null)return Te+De.getAttribute("data-math")+De.getAttribute("text-anchor")+De.getAttribute("style")}v.setClipUrl=function(De,Te,Re){De.attr("clip-path",X(Te,Re))};function X(De,Te){if(!De)return null;var Re=Te._context,Xe=Re._exportedPlot?"":Re._baseUrl||"";return Xe?"url('"+Xe+"#"+De+"')":"url(#"+De+")"}v.getTranslate=function(De){var Te=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,Re=De.attr?"attr":"getAttribute",Xe=De[Re]("transform")||"",Je=Xe.replace(Te,function(He,$e,pt){return[$e,pt].join(" ")}).split(" ");return{x:+Je[0]||0,y:+Je[1]||0}},v.setTranslate=function(De,Te,Re){var Xe=/(\btranslate\(.*?\);?)/,Je=De.attr?"attr":"getAttribute",He=De.attr?"attr":"setAttribute",$e=De[Je]("transform")||"";return Te=Te||0,Re=Re||0,$e=$e.replace(Xe,"").trim(),$e+=t(Te,Re),$e=$e.trim(),De[He]("transform",$e),$e},v.getScale=function(De){var Te=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,Re=De.attr?"attr":"getAttribute",Xe=De[Re]("transform")||"",Je=Xe.replace(Te,function(He,$e,pt){return[$e,pt].join(" ")}).split(" ");return{x:+Je[0]||1,y:+Je[1]||1}},v.setScale=function(De,Te,Re){var Xe=/(\bscale\(.*?\);?)/,Je=De.attr?"attr":"getAttribute",He=De.attr?"attr":"setAttribute",$e=De[Je]("transform")||"";return Te=Te||1,Re=Re||1,$e=$e.replace(Xe,"").trim(),$e+="scale("+Te+","+Re+")",$e=$e.trim(),De[He]("transform",$e),$e};var K=/\s*sc.*/;v.setPointGroupScale=function(De,Te,Re){if(Te=Te||1,Re=Re||1,!!De){var Xe=Te===1&&Re===1?"":"scale("+Te+","+Re+")";De.each(function(){var Je=(this.getAttribute("transform")||"").replace(K,"");Je+=Xe,Je=Je.trim(),this.setAttribute("transform",Je)})}};var J=/translate\([^)]*\)\s*$/;v.setTextPointsScale=function(De,Te,Re){De&&De.each(function(){var Xe,Je=p.select(this),He=Je.select("text");if(He.node()){var $e=parseFloat(He.attr("x")||0),pt=parseFloat(He.attr("y")||0),ut=(Je.attr("transform")||"").match(J);Te===1&&Re===1?Xe=[]:Xe=[t($e,pt),"scale("+Te+","+Re+")",t(-$e,-pt)],ut&&Xe.push(ut),Je.attr("transform",Xe.join(""))}})};function re(De,Te){var Re;return De&&(Re=De.mf),Re===void 0&&(Re=Te.marker&&Te.marker.standoff||0),!Te._geo&&!Te._xA?-Re:Re}v.getMarkerStandoff=re;var fe=Math.atan2,te=Math.cos,ee=Math.sin;function ce(De,Te){var Re=Te[0],Xe=Te[1];return[Re*te(De)-Xe*ee(De),Re*ee(De)+Xe*te(De)]}var le,me,we,Se,Ee,We;function Ye(De,Te){var Re=De.ma;Re===void 0&&(Re=Te.marker.angle||0);var Xe,Je,He=Te.marker.angleref;if(He==="previous"||He==="north"){if(Te._geo){var $e=Te._geo.project(De.lonlat);Xe=$e[0],Je=$e[1]}else{var pt=Te._xA,ut=Te._yA;if(pt&&ut)Xe=pt.c2p(De.x),Je=ut.c2p(De.y);else return 90}if(Te._geo){var lt=De.lonlat[0],ke=De.lonlat[1],Ne=Te._geo.project([lt,ke+1e-5]),gt=Te._geo.project([lt+1e-5,ke]),qe=fe(gt[1]-Je,gt[0]-Xe),vt=fe(Ne[1]-Je,Ne[0]-Xe),Bt;if(He==="north")Bt=Re/180*Math.PI;else if(He==="previous"){var Yt=lt/180*Math.PI,it=ke/180*Math.PI,Ue=le/180*Math.PI,_e=me/180*Math.PI,Ze=Ue-Yt,Fe=te(_e)*ee(Ze),Ce=ee(_e)*te(it)-te(_e)*ee(it)*te(Ze);Bt=-fe(Fe,Ce)-Math.PI,le=lt,me=ke}var ve=ce(qe,[te(Bt),0]),Ie=ce(vt,[ee(Bt),0]);Re=fe(ve[1]+Ie[1],ve[0]+Ie[0])/Math.PI*180,He==="previous"&&!(We===Te.uid&&De.i===Ee+1)&&(Re=null)}if(He==="previous"&&!Te._geo)if(We===Te.uid&&De.i===Ee+1&&L(Xe)&&L(Je)){var Ae=Xe-we,je=Je-Se,ot=Te.line&&Te.line.shape||"",ct=ot.slice(ot.length-1);ct==="h"&&(je=0),ct==="v"&&(Ae=0),Re+=fe(je,Ae)/Math.PI*180+90}else Re=null}return we=Xe,Se=Je,Ee=De.i,We=Te.uid,Re}v.getMarkerAngle=Ye},90998:function(B,O,e){var p=e(95616),E=e(39898).round,a="M0,0Z",L=Math.sqrt(2),x=Math.sqrt(3),d=Math.PI,m=Math.cos,r=Math.sin;B.exports={circle:{n:0,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l="M"+v+",0A"+v+","+v+" 0 1,1 0,-"+v+"A"+v+","+v+" 0 0,1 "+v+",0Z";return S?u(h,S,l):l}},square:{n:1,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"H-"+v+"V-"+v+"H"+v+"Z")}},diamond:{n:2,f:function(b,h,S){if(t(h))return a;var v=E(b*1.3,2);return u(h,S,"M"+v+",0L0,"+v+"L-"+v+",0L0,-"+v+"Z")}},cross:{n:3,f:function(b,h,S){if(t(h))return a;var v=E(b*.4,2),l=E(b*1.2,2);return u(h,S,"M"+l+","+v+"H"+v+"V"+l+"H-"+v+"V"+v+"H-"+l+"V-"+v+"H-"+v+"V-"+l+"H"+v+"V-"+v+"H"+l+"Z")}},x:{n:4,f:function(b,h,S){if(t(h))return a;var v=E(b*.8/L,2),l="l"+v+","+v,g="l"+v+",-"+v,C="l-"+v+",-"+v,M="l-"+v+","+v;return u(h,S,"M0,"+v+l+g+C+g+C+M+C+M+l+M+l+"Z")}},"triangle-up":{n:5,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M-"+v+","+l+"H"+v+"L0,-"+g+"Z")}},"triangle-down":{n:6,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M-"+v+",-"+l+"H"+v+"L0,"+g+"Z")}},"triangle-left":{n:7,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M"+l+",-"+v+"V"+v+"L-"+g+",0Z")}},"triangle-right":{n:8,f:function(b,h,S){if(t(h))return a;var v=E(b*2/x,2),l=E(b/2,2),g=E(b,2);return u(h,S,"M-"+l+",-"+v+"V"+v+"L"+g+",0Z")}},"triangle-ne":{n:9,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M-"+l+",-"+v+"H"+v+"V"+l+"Z")}},"triangle-se":{n:10,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M"+v+",-"+l+"V"+v+"H-"+l+"Z")}},"triangle-sw":{n:11,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M"+l+","+v+"H-"+v+"V-"+l+"Z")}},"triangle-nw":{n:12,f:function(b,h,S){if(t(h))return a;var v=E(b*.6,2),l=E(b*1.2,2);return u(h,S,"M-"+v+","+l+"V-"+v+"H"+l+"Z")}},pentagon:{n:13,f:function(b,h,S){if(t(h))return a;var v=E(b*.951,2),l=E(b*.588,2),g=E(-b,2),C=E(b*-.309,2),M=E(b*.809,2);return u(h,S,"M"+v+","+C+"L"+l+","+M+"H-"+l+"L-"+v+","+C+"L0,"+g+"Z")}},hexagon:{n:14,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b/2,2),g=E(b*x/2,2);return u(h,S,"M"+g+",-"+l+"V"+l+"L0,"+v+"L-"+g+","+l+"V-"+l+"L0,-"+v+"Z")}},hexagon2:{n:15,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b/2,2),g=E(b*x/2,2);return u(h,S,"M-"+l+","+g+"H"+l+"L"+v+",0L"+l+",-"+g+"H-"+l+"L-"+v+",0Z")}},octagon:{n:16,f:function(b,h,S){if(t(h))return a;var v=E(b*.924,2),l=E(b*.383,2);return u(h,S,"M-"+l+",-"+v+"H"+l+"L"+v+",-"+l+"V"+l+"L"+l+","+v+"H-"+l+"L-"+v+","+l+"V-"+l+"Z")}},star:{n:17,f:function(b,h,S){if(t(h))return a;var v=b*1.4,l=E(v*.225,2),g=E(v*.951,2),C=E(v*.363,2),M=E(v*.588,2),D=E(-v,2),T=E(v*-.309,2),P=E(v*.118,2),A=E(v*.809,2),o=E(v*.382,2);return u(h,S,"M"+l+","+T+"H"+g+"L"+C+","+P+"L"+M+","+A+"L0,"+o+"L-"+M+","+A+"L-"+C+","+P+"L-"+g+","+T+"H-"+l+"L0,"+D+"Z")}},hexagram:{n:18,f:function(b,h,S){if(t(h))return a;var v=E(b*.66,2),l=E(b*.38,2),g=E(b*.76,2);return u(h,S,"M-"+g+",0l-"+l+",-"+v+"h"+g+"l"+l+",-"+v+"l"+l+","+v+"h"+g+"l-"+l+","+v+"l"+l+","+v+"h-"+g+"l-"+l+","+v+"l-"+l+",-"+v+"h-"+g+"Z")}},"star-triangle-up":{n:19,f:function(b,h,S){if(t(h))return a;var v=E(b*x*.8,2),l=E(b*.8,2),g=E(b*1.6,2),C=E(b*4,2),M="A "+C+","+C+" 0 0 1 ";return u(h,S,"M-"+v+","+l+M+v+","+l+M+"0,-"+g+M+"-"+v+","+l+"Z")}},"star-triangle-down":{n:20,f:function(b,h,S){if(t(h))return a;var v=E(b*x*.8,2),l=E(b*.8,2),g=E(b*1.6,2),C=E(b*4,2),M="A "+C+","+C+" 0 0 1 ";return u(h,S,"M"+v+",-"+l+M+"-"+v+",-"+l+M+"0,"+g+M+v+",-"+l+"Z")}},"star-square":{n:21,f:function(b,h,S){if(t(h))return a;var v=E(b*1.1,2),l=E(b*2,2),g="A "+l+","+l+" 0 0 1 ";return u(h,S,"M-"+v+",-"+v+g+"-"+v+","+v+g+v+","+v+g+v+",-"+v+g+"-"+v+",-"+v+"Z")}},"star-diamond":{n:22,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2),l=E(b*1.9,2),g="A "+l+","+l+" 0 0 1 ";return u(h,S,"M-"+v+",0"+g+"0,"+v+g+v+",0"+g+"0,-"+v+g+"-"+v+",0Z")}},"diamond-tall":{n:23,f:function(b,h,S){if(t(h))return a;var v=E(b*.7,2),l=E(b*1.4,2);return u(h,S,"M0,"+l+"L"+v+",0L0,-"+l+"L-"+v+",0Z")}},"diamond-wide":{n:24,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2),l=E(b*.7,2);return u(h,S,"M0,"+l+"L"+v+",0L0,-"+l+"L-"+v+",0Z")}},hourglass:{n:25,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"H-"+v+"L"+v+",-"+v+"H-"+v+"Z")},noDot:!0},bowtie:{n:26,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"V-"+v+"L-"+v+","+v+"V-"+v+"Z")},noDot:!0},"circle-cross":{n:27,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v+"M"+v+",0A"+v+","+v+" 0 1,1 0,-"+v+"A"+v+","+v+" 0 0,1 "+v+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b/L,2);return u(h,S,"M"+l+","+l+"L-"+l+",-"+l+"M"+l+",-"+l+"L-"+l+","+l+"M"+v+",0A"+v+","+v+" 0 1,1 0,-"+v+"A"+v+","+v+" 0 0,1 "+v+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v+"M"+v+","+v+"H-"+v+"V-"+v+"H"+v+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"L-"+v+",-"+v+"M"+v+",-"+v+"L-"+v+","+v+"M"+v+","+v+"H-"+v+"V-"+v+"H"+v+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(b,h,S){if(t(h))return a;var v=E(b*1.3,2);return u(h,S,"M"+v+",0L0,"+v+"L-"+v+",0L0,-"+v+"ZM0,-"+v+"V"+v+"M-"+v+",0H"+v)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(b,h,S){if(t(h))return a;var v=E(b*1.3,2),l=E(b*.65,2);return u(h,S,"M"+v+",0L0,"+v+"L-"+v+",0L0,-"+v+"ZM-"+l+",-"+l+"L"+l+","+l+"M-"+l+","+l+"L"+l+",-"+l)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"L-"+v+",-"+v+"M"+v+",-"+v+"L-"+v+","+v)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*.85,2);return u(h,S,"M0,"+v+"V-"+v+"M"+v+",0H-"+v+"M"+l+","+l+"L-"+l+",-"+l+"M"+l+",-"+l+"L-"+l+","+l)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(b,h,S){if(t(h))return a;var v=E(b/2,2),l=E(b,2);return u(h,S,"M"+v+","+l+"V-"+l+"M"+(v-l)+",-"+l+"V"+l+"M"+l+","+v+"H-"+l+"M-"+l+","+(v-l)+"H"+l)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M-"+v+","+g+"L0,0M"+v+","+g+"L0,0M0,-"+l+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M-"+v+",-"+g+"L0,0M"+v+",-"+g+"L0,0M0,"+l+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M"+g+","+v+"L0,0M"+g+",-"+v+"L0,0M-"+l+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(b,h,S){if(t(h))return a;var v=E(b*1.2,2),l=E(b*1.6,2),g=E(b*.8,2);return u(h,S,"M-"+g+","+v+"L0,0M-"+g+",-"+v+"L0,0M"+l+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2);return u(h,S,"M"+v+",0H-"+v)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(b,h,S){if(t(h))return a;var v=E(b*1.4,2);return u(h,S,"M0,"+v+"V-"+v)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+",-"+v+"L-"+v+","+v)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(b,h,S){if(t(h))return a;var v=E(b,2);return u(h,S,"M"+v+","+v+"L-"+v+",-"+v)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M0,0L-"+v+","+l+"H"+v+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M0,0L-"+v+",-"+l+"H"+v+"Z")},noDot:!0},"arrow-left":{n:47,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,0L"+v+",-"+l+"V"+l+"Z")},noDot:!0},"arrow-right":{n:48,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,0L-"+v+",-"+l+"V"+l+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M-"+v+",0H"+v+"M0,0L-"+v+","+l+"H"+v+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(b,h,S){if(t(h))return a;var v=E(b,2),l=E(b*2,2);return u(h,S,"M-"+v+",0H"+v+"M0,0L-"+v+",-"+l+"H"+v+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,-"+l+"V"+l+"M0,0L"+v+",-"+l+"V"+l+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(b,h,S){if(t(h))return a;var v=E(b*2,2),l=E(b,2);return u(h,S,"M0,-"+l+"V"+l+"M0,0L-"+v+",-"+l+"V"+l+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(b,h,S){if(t(h))return a;var v=d/2.5,l=2*b*m(v),g=2*b*r(v);return u(h,S,"M0,0L"+-l+","+g+"L"+l+","+g+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(b,h,S){if(t(h))return a;var v=d/4,l=2*b*m(v),g=2*b*r(v);return u(h,S,"M0,0L"+-l+","+g+"A "+2*b+","+2*b+" 0 0 1 "+l+","+g+"Z")},backoff:.4,noDot:!0}};function t(b){return b===null}var s,n,f,c;function u(b,h,S){if((!b||b%360===0)&&!h)return S;if(f===b&&c===h&&s===S)return n;f=b,c=h,s=S;function v(F,G){var _=m(F),H=r(F),V=G[0],N=G[1]+(h||0);return[V*_-N*H,V*H+N*_]}for(var l=b/180*d,g=0,C=0,M=p(S),D="",T=0;T<M.length;T++){var P=M[T],A=P[0],o=g,k=C;if(A==="M"||A==="L")g=+P[1],C=+P[2];else if(A==="m"||A==="l")g+=+P[1],C+=+P[2];else if(A==="H")g=+P[1];else if(A==="h")g+=+P[1];else if(A==="V")C=+P[1];else if(A==="v")C+=+P[1];else if(A==="A"){g=+P[1],C=+P[2];var w=v(l,[+P[6],+P[7]]);P[6]=w[0],P[7]=w[1],P[3]=+P[3]+b}(A==="H"||A==="V")&&(A="L"),(A==="h"||A==="v")&&(A="l"),(A==="m"||A==="l")&&(g-=o,C-=k);var U=v(l,[g,C]);(A==="H"||A==="V")&&(A="L"),(A==="M"||A==="L"||A==="m"||A==="l")&&(P[1]=U[0],P[2]=U[1]),P[0]=A,D+=P[0]+P.slice(1).join(",")}return n=D,D}},25673:function(B){B.exports={visible:{valType:"boolean",editType:"calc"},type:{valType:"enumerated",values:["percent","constant","sqrt","data"],editType:"calc"},symmetric:{valType:"boolean",editType:"calc"},array:{valType:"data_array",editType:"calc"},arrayminus:{valType:"data_array",editType:"calc"},value:{valType:"number",min:0,dflt:10,editType:"calc"},valueminus:{valType:"number",min:0,dflt:10,editType:"calc"},traceref:{valType:"integer",min:0,dflt:0,editType:"style"},tracerefminus:{valType:"integer",min:0,dflt:0,editType:"style"},copy_ystyle:{valType:"boolean",editType:"plot"},copy_zstyle:{valType:"boolean",editType:"style"},color:{valType:"color",editType:"style"},thickness:{valType:"number",min:0,dflt:2,editType:"style"},width:{valType:"number",min:0,editType:"plot"},editType:"calc",_deprecated:{opacity:{valType:"number",editType:"style"}}}},84532:function(B,O,e){var p=e(92770),E=e(73972),a=e(89298),L=e(71828),x=e(45827);B.exports=function(r){for(var t=r.calcdata,s=0;s<t.length;s++){var n=t[s],f=n[0].trace;if(f.visible===!0&&E.traceIs(f,"errorBarsOK")){var c=a.getFromId(r,f.xaxis),u=a.getFromId(r,f.yaxis);d(n,f,c,"x"),d(n,f,u,"y")}}};function d(m,r,t,s){var n=r["error_"+s]||{},f=n.visible&&["linear","log"].indexOf(t.type)!==-1,c=[];if(f){for(var u=x(n),b=0;b<m.length;b++){var h=m[b],S=h.i;if(S===void 0)S=b;else if(S===null)continue;var v=h[s];if(p(t.c2l(v))){var l=u(v,S);if(p(l[0])&&p(l[1])){var g=h[s+"s"]=v-l[0],C=h[s+"h"]=v+l[1];c.push(g,C)}}}var M=t._id,D=r._extremes[M],T=a.findExtremes(t,c,L.extendFlat({tozero:D.opts.tozero},{padded:!0}));D.min=D.min.concat(T.min),D.max=D.max.concat(T.max)}}},45827:function(B){B.exports=function(p){var E=p.type,a=p.symmetric;if(E==="data"){var L=p.array||[];if(a)return function(t,s){var n=+L[s];return[n,n]};var x=p.arrayminus||[];return function(t,s){var n=+L[s],f=+x[s];return!isNaN(n)||!isNaN(f)?[f||0,n||0]:[NaN,NaN]}}else{var d=O(E,p.value),m=O(E,p.valueminus);return a||p.valueminus===void 0?function(t){var s=d(t);return[s,s]}:function(t){return[m(t),d(t)]}}};function O(e,p){if(e==="percent")return function(E){return Math.abs(E*p/100)};if(e==="constant")return function(){return Math.abs(p)};if(e==="sqrt")return function(E){return Math.sqrt(Math.abs(E))}}},97587:function(B,O,e){var p=e(92770),E=e(73972),a=e(71828),L=e(44467),x=e(25673);B.exports=function(d,m,r,t){var s="error_"+t.axis,n=L.newContainer(m,s),f=d[s]||{};function c(g,C){return a.coerce(f,n,x,g,C)}var u=f.array!==void 0||f.value!==void 0||f.type==="sqrt",b=c("visible",u);if(b!==!1){var h=c("type","array"in f?"data":"percent"),S=!0;h!=="sqrt"&&(S=c("symmetric",!((h==="data"?"arrayminus":"valueminus")in f))),h==="data"?(c("array"),c("traceref"),S||(c("arrayminus"),c("tracerefminus"))):(h==="percent"||h==="constant")&&(c("value"),S||c("valueminus"));var v="copy_"+t.inherit+"style";if(t.inherit){var l=m["error_"+t.inherit];(l||{}).visible&&c(v,!(f.color||p(f.thickness)||p(f.width)))}(!t.inherit||!n[v])&&(c("color",r),c("thickness"),c("width",E.traceIs(m,"gl3d")?0:4))}}},37369:function(B,O,e){var p=e(71828),E=e(30962).overrideAll,a=e(25673),L={error_x:p.extendFlat({},a),error_y:p.extendFlat({},a)};delete L.error_x.copy_zstyle,delete L.error_y.copy_zstyle,delete L.error_y.copy_ystyle;var x={error_x:p.extendFlat({},a),error_y:p.extendFlat({},a),error_z:p.extendFlat({},a)};delete x.error_x.copy_ystyle,delete x.error_y.copy_ystyle,delete x.error_z.copy_ystyle,delete x.error_z.copy_zstyle,B.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:L,bar:L,histogram:L,scatter3d:E(x,"calc","nested"),scattergl:E(L,"calc","nested")}},supplyDefaults:e(97587),calc:e(84532),makeComputeError:e(45827),plot:e(19398),style:e(62662),hoverInfo:d};function d(m,r,t){(r.error_y||{}).visible&&(t.yerr=m.yh-m.y,r.error_y.symmetric||(t.yerrneg=m.y-m.ys)),(r.error_x||{}).visible&&(t.xerr=m.xh-m.x,r.error_x.symmetric||(t.xerrneg=m.x-m.xs))}},19398:function(B,O,e){var p=e(39898),E=e(92770),a=e(91424),L=e(34098);B.exports=function(m,r,t,s){var n,f=t.xaxis,c=t.yaxis,u=s&&s.duration>0,b=m._context.staticPlot;r.each(function(h){var S=h[0].trace,v=S.error_x||{},l=S.error_y||{},g;S.ids&&(g=function(T){return T.id});var C=L.hasMarkers(S)&&S.marker.maxdisplayed>0;!l.visible&&!v.visible&&(h=[]);var M=p.select(this).selectAll("g.errorbar").data(h,g);if(M.exit().remove(),!!h.length){v.visible||M.selectAll("path.xerror").remove(),l.visible||M.selectAll("path.yerror").remove(),M.style("opacity",1);var D=M.enter().append("g").classed("errorbar",!0);u&&D.style("opacity",0).transition().duration(s.duration).style("opacity",1),a.setClipUrl(M,t.layerClipId,m),M.each(function(T){var P=p.select(this),A=x(T,f,c);if(!(C&&!T.vis)){var o,k=P.select("path.yerror");if(l.visible&&E(A.x)&&E(A.yh)&&E(A.ys)){var w=l.width;o="M"+(A.x-w)+","+A.yh+"h"+2*w+"m-"+w+",0V"+A.ys,A.noYS||(o+="m-"+w+",0h"+2*w),n=!k.size(),n?k=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("yerror",!0):u&&(k=k.transition().duration(s.duration).ease(s.easing)),k.attr("d",o)}else k.remove();var U=P.select("path.xerror");if(v.visible&&E(A.y)&&E(A.xh)&&E(A.xs)){var F=(v.copy_ystyle?l:v).width;o="M"+A.xh+","+(A.y-F)+"v"+2*F+"m0,-"+F+"H"+A.xs,A.noXS||(o+="m0,-"+F+"v"+2*F),n=!U.size(),n?U=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("xerror",!0):u&&(U=U.transition().duration(s.duration).ease(s.easing)),U.attr("d",o)}else U.remove()}})}})};function x(d,m,r){var t={x:m.c2p(d.x),y:r.c2p(d.y)};return d.yh!==void 0&&(t.yh=r.c2p(d.yh),t.ys=r.c2p(d.ys),E(t.ys)||(t.noYS=!0,t.ys=r.c2p(d.ys,!0))),d.xh!==void 0&&(t.xh=m.c2p(d.xh),t.xs=m.c2p(d.xs),E(t.xs)||(t.noXS=!0,t.xs=m.c2p(d.xs,!0))),t}},62662:function(B,O,e){var p=e(39898),E=e(7901);B.exports=function(L){L.each(function(x){var d=x[0].trace,m=d.error_y||{},r=d.error_x||{},t=p.select(this);t.selectAll("path.yerror").style("stroke-width",m.thickness+"px").call(E.stroke,m.color),r.copy_ystyle&&(r=m),t.selectAll("path.xerror").style("stroke-width",r.thickness+"px").call(E.stroke,r.color)})}},77914:function(B,O,e){var p=e(41940),E=e(528).hoverlabel,a=e(1426).extendFlat;B.exports={hoverlabel:{bgcolor:a({},E.bgcolor,{arrayOk:!0}),bordercolor:a({},E.bordercolor,{arrayOk:!0}),font:p({arrayOk:!0,editType:"none"}),align:a({},E.align,{arrayOk:!0}),namelength:a({},E.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(B,O,e){var p=e(71828),E=e(73972);B.exports=function(x){var d=x.calcdata,m=x._fullLayout;function r(c){return function(u){return p.coerceHoverinfo({hoverinfo:u},{_module:c._module},m)}}for(var t=0;t<d.length;t++){var s=d[t],n=s[0].trace;if(!E.traceIs(n,"pie-like")){var f=E.traceIs(n,"2dMap")?a:p.fillArray;f(n.hoverinfo,s,"hi",r(n)),n.hovertemplate&&f(n.hovertemplate,s,"ht"),n.hoverlabel&&(f(n.hoverlabel.bgcolor,s,"hbg"),f(n.hoverlabel.bordercolor,s,"hbc"),f(n.hoverlabel.font.size,s,"hts"),f(n.hoverlabel.font.color,s,"htc"),f(n.hoverlabel.font.family,s,"htf"),f(n.hoverlabel.namelength,s,"hnl"),f(n.hoverlabel.align,s,"hta"))}}};function a(L,x,d,m){m=m||p.identity,Array.isArray(L)&&(x[0][d]=m(L))}},75914:function(B,O,e){var p=e(73972),E=e(88335).hover;B.exports=function(L,x,d){var m=p.getComponentMethod("annotations","onClick")(L,L._hoverdata);d!==void 0&&E(L,x,d,!0);function r(){L.emit("plotly_click",{points:L._hoverdata,event:x})}L._hoverdata&&x&&x.target&&(m&&m.then?m.then(r):r(),x.stopImmediatePropagation&&x.stopImmediatePropagation())}},26675:function(B){B.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},54268:function(B,O,e){var p=e(71828),E=e(77914),a=e(38048);B.exports=function(x,d,m,r){function t(n,f){return p.coerce(x,d,E,n,f)}var s=p.extendFlat({},r.hoverlabel);d.hovertemplate&&(s.namelength=-1),a(x,d,t,s)}},23469:function(B,O,e){var p=e(71828);O.getSubplot=function(m){return m.subplot||m.xaxis+m.yaxis||m.geo},O.isTraceInSubplots=function(m,r){if(m.type==="splom"){for(var t=m.xaxes||[],s=m.yaxes||[],n=0;n<t.length;n++)for(var f=0;f<s.length;f++)if(r.indexOf(t[n]+s[f])!==-1)return!0;return!1}return r.indexOf(O.getSubplot(m))!==-1},O.flat=function(m,r){for(var t=new Array(m.length),s=0;s<m.length;s++)t[s]=r;return t},O.p2c=function(m,r){for(var t=new Array(m.length),s=0;s<m.length;s++)t[s]=m[s].p2c(r);return t},O.getDistanceFunction=function(m,r,t,s){return m==="closest"?s||O.quadrature(r,t):m.charAt(0)==="x"?r:t},O.getClosest=function(m,r,t){if(t.index!==!1)t.index>=0&&t.index<m.length?t.distance=0:t.index=!1;else for(var s=0;s<m.length;s++){var n=r(m[s]);n<=t.distance&&(t.index=s,t.distance=n)}return t},O.inbox=function(m,r,t){return m*r<0||m===0?t:1/0},O.quadrature=function(m,r){return function(t){var s=m(t),n=r(t);return Math.sqrt(s*s+n*n)}},O.makeEventData=function(m,r,t){var s="index"in m?m.index:m.pointNumber,n={data:r._input,fullData:r,curveNumber:r.index,pointNumber:s};if(r._indexToPoints){var f=r._indexToPoints[s];f.length===1?n.pointIndex=f[0]:n.pointIndices=f}else n.pointIndex=s;return r._module.eventData?n=r._module.eventData(n,m,r,t,s):("xVal"in m?n.x=m.xVal:"x"in m&&(n.x=m.x),"yVal"in m?n.y=m.yVal:"y"in m&&(n.y=m.y),m.xa&&(n.xaxis=m.xa),m.ya&&(n.yaxis=m.ya),m.zLabelVal!==void 0&&(n.z=m.zLabelVal)),O.appendArrayPointValue(n,r,s),n},O.appendArrayPointValue=function(m,r,t){var s=r._arrayAttrs;if(s)for(var n=0;n<s.length;n++){var f=s[n],c=a(f);if(m[c]===void 0){var u=p.nestedProperty(r,f).get(),b=L(u,t);b!==void 0&&(m[c]=b)}}},O.appendArrayMultiPointValues=function(m,r,t){var s=r._arrayAttrs;if(s)for(var n=0;n<s.length;n++){var f=s[n],c=a(f);if(m[c]===void 0){for(var u=p.nestedProperty(r,f).get(),b=new Array(t.length),h=0;h<t.length;h++)b[h]=L(u,t[h]);m[c]=b}}};var E={ids:"id",locations:"location",labels:"label",values:"value","marker.colors":"color",parents:"parent"};function a(m){return E[m]||m}function L(m,r){if(Array.isArray(r)){if(Array.isArray(m)&&Array.isArray(m[r[0]]))return m[r[0]][r[1]]}else return m[r]}var x={x:!0,y:!0},d={"x unified":!0,"y unified":!0};O.isUnifiedHover=function(m){return typeof m!="string"?!1:!!d[m]},O.isXYhover=function(m){return typeof m!="string"?!1:!!x[m]}},88335:function(B,O,e){var p=e(39898),E=e(92770),a=e(84267),L=e(71828),x=L.strTranslate,d=L.strRotate,m=e(11086),r=e(63893),t=e(39918),s=e(91424),n=e(7901),f=e(28569),c=e(89298),u=e(73972),b=e(23469),h=e(26675),S=e(99017),v=e(43969),l=h.YANGLE,g=Math.PI*l/180,C=1/Math.sin(g),M=Math.cos(g),D=Math.sin(g),T=h.HOVERARROWSIZE,P=h.HOVERTEXTPAD,A={box:!0,ohlc:!0,violin:!0,candlestick:!0},o={scatter:!0,scattergl:!0,splom:!0};O.hover=function(fe,te,ee,ce){fe=L.getGraphDiv(fe);var le=te.target;L.throttle(fe._fullLayout._uid+h.HOVERID,h.HOVERMINTIME,function(){k(fe,te,ee,ce,le)})},O.loneHover=function(fe,te){var ee=!0;Array.isArray(fe)||(ee=!1,fe=[fe]);var ce=te.gd,le=X(ce),me=K(ce),we=fe.map(function(Je){var He=Je._x0||Je.x0||Je.x||0,$e=Je._x1||Je.x1||Je.x||0,pt=Je._y0||Je.y0||Je.y||0,ut=Je._y1||Je.y1||Je.y||0,lt=Je.eventData;if(lt){var ke=Math.min(He,$e),Ne=Math.max(He,$e),gt=Math.min(pt,ut),qe=Math.max(pt,ut),vt=Je.trace;if(u.traceIs(vt,"gl3d")){var Bt=ce._fullLayout[vt.scene]._scene.container,Yt=Bt.offsetLeft,it=Bt.offsetTop;ke+=Yt,Ne+=Yt,gt+=it,qe+=it}lt.bbox={x0:ke+me,x1:Ne+me,y0:gt+le,y1:qe+le},te.inOut_bbox&&te.inOut_bbox.push(lt.bbox)}else lt=!1;return{color:Je.color||n.defaultLine,x0:Je.x0||Je.x||0,x1:Je.x1||Je.x||0,y0:Je.y0||Je.y||0,y1:Je.y1||Je.y||0,xLabel:Je.xLabel,yLabel:Je.yLabel,zLabel:Je.zLabel,text:Je.text,name:Je.name,idealAlign:Je.idealAlign,borderColor:Je.borderColor,fontFamily:Je.fontFamily,fontSize:Je.fontSize,fontColor:Je.fontColor,nameLength:Je.nameLength,textAlign:Je.textAlign,trace:Je.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:Je.hovertemplate||!1,hovertemplateLabels:Je.hovertemplateLabels||!1,eventData:lt}}),Se=!1,Ee=F(we,{gd:ce,hovermode:"closest",rotateLabels:Se,bgColor:te.bgColor||n.background,container:p.select(te.container),outerContainer:te.outerContainer||te.container}),We=Ee.hoverLabels,Ye=5,De=0,Te=0;We.sort(function(Je,He){return Je.y0-He.y0}).each(function(Je,He){var $e=Je.y0-Je.by/2;$e-Ye<De?Je.offset=De-$e+Ye:Je.offset=0,De=$e+Je.by+Je.offset,He===te.anchorIndex&&(Te=Je.offset)}).each(function(Je){Je.offset-=Te});var Re=ce._fullLayout._invScaleX,Xe=ce._fullLayout._invScaleY;return N(We,Se,Re,Xe),ee?We:We.node()};function k(re,fe,te,ee,ce){te||(te="xy");var le=Array.isArray(te)?te:[te],me=re._fullLayout,we=me._plots||[],Se=we[te],Ee=me._has("cartesian");if(Se){var We=Se.overlays.map(function(Vr){return Vr.id});le=le.concat(We)}for(var Ye=le.length,De=new Array(Ye),Te=new Array(Ye),Re=!1,Xe=0;Xe<Ye;Xe++){var Je=le[Xe];if(we[Je])Re=!0,De[Xe]=we[Je].xaxis,Te[Xe]=we[Je].yaxis;else if(me[Je]&&me[Je]._subplot){var He=me[Je]._subplot;De[Xe]=He.xaxis,Te[Xe]=He.yaxis}else{L.warn("Unrecognized subplot: "+Je);return}}var $e=fe.hovermode||me.hovermode;if($e&&!Re&&($e="closest"),["x","y","closest","x unified","y unified"].indexOf($e)===-1||!re.calcdata||re.querySelector(".zoombox")||re._dragging)return f.unhoverRaw(re,fe);var pt=me.hoverdistance;pt===-1&&(pt=1/0);var ut=me.spikedistance;ut===-1&&(ut=1/0);var lt=[],ke=[],Ne,gt,qe,vt,Bt,Yt,it,Ue,_e,Ze,Fe,Ce,ve,Ie={hLinePoint:null,vLinePoint:null},Ae=!1;if(Array.isArray(fe))for($e="array",qe=0;qe<fe.length;qe++)Bt=re.calcdata[fe[qe].curveNumber||0],Bt&&(Yt=Bt[0].trace,Bt[0].trace.hoverinfo!=="skip"&&(ke.push(Bt),Yt.orientation==="h"&&(Ae=!0)));else{for(vt=0;vt<re.calcdata.length;vt++)Bt=re.calcdata[vt],Yt=Bt[0].trace,Yt.hoverinfo!=="skip"&&b.isTraceInSubplots(Yt,le)&&(ke.push(Bt),Yt.orientation==="h"&&(Ae=!0));var je=!ce,ot,ct;if(je)"xpx"in fe?ot=fe.xpx:ot=De[0]._length/2,"ypx"in fe?ct=fe.ypx:ct=Te[0]._length/2;else{if(m.triggerHandler(re,"plotly_beforehover",fe)===!1)return;var Et=ce.getBoundingClientRect();ot=fe.clientX-Et.left,ct=fe.clientY-Et.top,me._calcInverseTransform(re);var kt=L.apply3DTransform(me._invTransform)(ot,ct);if(ot=kt[0],ct=kt[1],ot<0||ot>De[0]._length||ct<0||ct>Te[0]._length)return f.unhoverRaw(re,fe)}if(fe.pointerX=ot+De[0]._offset,fe.pointerY=ct+Te[0]._offset,"xval"in fe?Ne=b.flat(le,fe.xval):Ne=b.p2c(De,ot),"yval"in fe?gt=b.flat(le,fe.yval):gt=b.p2c(Te,ct),!E(Ne[0])||!E(gt[0]))return L.warn("Fx.hover failed",fe,re),f.unhoverRaw(re,fe)}var nr=1/0;function dr(Vr,qr){for(vt=0;vt<ke.length;vt++)if(Bt=ke[vt],!(!Bt||!Bt[0]||!Bt[0].trace)&&(Yt=Bt[0].trace,!(Yt.visible!==!0||Yt._length===0)&&["carpet","contourcarpet"].indexOf(Yt._module.name)===-1)){if(Yt.type==="splom"?(Ue=0,it=le[Ue]):(it=b.getSubplot(Yt),Ue=le.indexOf(it)),_e=$e,b.isUnifiedHover(_e)&&(_e=_e.charAt(0)),Ce={cd:Bt,trace:Yt,xa:De[Ue],ya:Te[Ue],maxHoverDistance:pt,maxSpikeDistance:ut,index:!1,distance:Math.min(nr,pt),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:n.defaultLine,name:Yt.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},me[it]&&(Ce.subplot=me[it]._subplot),me._splomScenes&&me._splomScenes[Yt.uid]&&(Ce.scene=me._splomScenes[Yt.uid]),ve=lt.length,_e==="array"){var lr=fe[vt];"pointNumber"in lr?(Ce.index=lr.pointNumber,_e="closest"):(_e="","xval"in lr&&(Ze=lr.xval,_e="x"),"yval"in lr&&(Fe=lr.yval,_e=_e?"closest":"y"))}else Vr!==void 0&&qr!==void 0?(Ze=Vr,Fe=qr):(Ze=Ne[Ue],Fe=gt[Ue]);if(pt!==0)if(Yt._module&&Yt._module.hoverPoints){var dn=Yt._module.hoverPoints(Ce,Ze,Fe,_e,{finiteRange:!0,hoverLayer:me._hoverlayer});if(dn)for(var zn,gn=0;gn<dn.length;gn++)zn=dn[gn],E(zn.x0)&&E(zn.y0)&<.push(W(zn,$e))}else L.log("Unrecognized trace type in hover:",Yt);if($e==="closest"&<.length>ve&&(lt.splice(0,ve),nr=lt[0].distance),Ee&&ut!==0&<.length===0){Ce.distance=ut,Ce.index=!1;var Fn=Yt._module.hoverPoints(Ce,Ze,Fe,"closest",{hoverLayer:me._hoverlayer});if(Fn&&(Fn=Fn.filter(function(La){return La.spikeDistance<=ut})),Fn&&Fn.length){var fa,Ma=Fn.filter(function(La){return La.xa.showspikes&&La.xa.spikesnap!=="hovered data"});if(Ma.length){var Sa=Ma[0];E(Sa.x0)&&E(Sa.y0)&&(fa=$t(Sa),(!Ie.vLinePoint||Ie.vLinePoint.spikeDistance>fa.spikeDistance)&&(Ie.vLinePoint=fa))}var _a=Fn.filter(function(La){return La.ya.showspikes&&La.ya.spikesnap!=="hovered data"});if(_a.length){var qn=_a[0];E(qn.x0)&&E(qn.y0)&&(fa=$t(qn),(!Ie.hLinePoint||Ie.hLinePoint.spikeDistance>fa.spikeDistance)&&(Ie.hLinePoint=fa))}}}}}dr();function Dt(Vr,qr,lr){for(var dn=null,zn=1/0,gn,Fn=0;Fn<Vr.length;Fn++)gn=Vr[Fn].spikeDistance,lr&&Fn===0&&(gn=-1/0),gn<=zn&&gn<=qr&&(dn=Vr[Fn],zn=gn);return dn}function $t(Vr){return Vr?{xa:Vr.xa,ya:Vr.ya,x:Vr.xSpike!==void 0?Vr.xSpike:(Vr.x0+Vr.x1)/2,y:Vr.ySpike!==void 0?Vr.ySpike:(Vr.y0+Vr.y1)/2,distance:Vr.distance,spikeDistance:Vr.spikeDistance,curveNumber:Vr.trace.index,color:Vr.color,pointNumber:Vr.index}:null}var vr={fullLayout:me,container:me._hoverlayer,event:fe},Pr=re._spikepoints,Ct={vLinePoint:Ie.vLinePoint,hLinePoint:Ie.hLinePoint};re._spikepoints=Ct;var ir=function(){lt.sort(function(Vr,qr){return Vr.distance-qr.distance}),lt=pe(lt,$e)};ir();var cr=$e.charAt(0),Or=(cr==="x"||cr==="y")&<[0]&&o[lt[0].trace.type];if(Ee&&ut!==0&<.length!==0){var kr=lt.filter(function(Vr){return Vr.ya.showspikes}),Mt=Dt(kr,ut,Or);Ie.hLinePoint=$t(Mt);var yt=lt.filter(function(Vr){return Vr.xa.showspikes}),Rt=Dt(yt,ut,Or);Ie.vLinePoint=$t(Rt)}if(lt.length===0){var wt=f.unhoverRaw(re,fe);return Ee&&(Ie.hLinePoint!==null||Ie.vLinePoint!==null)&&ie(Pr)&&j(re,Ie,vr),wt}if(Ee&&ie(Pr)&&j(re,Ie,vr),b.isXYhover(_e)&<[0].length!==0&<[0].trace.type!=="splom"){var Ut=lt[0];A[Ut.trace.type]?lt=lt.filter(function(Vr){return Vr.trace.index===Ut.trace.index}):lt=[Ut];var Ht=lt.length,Qt=q("x",Ut,me),qt=q("y",Ut,me);dr(Qt,qt);var ur=[],Cr={},mr=0,Fr=function(Vr){var qr=A[Vr.trace.type]?w(Vr):Vr.trace.index;if(!Cr[qr])mr++,Cr[qr]=mr,ur.push(Vr);else{var lr=Cr[qr]-1,dn=ur[lr];lr>0&&Math.abs(Vr.distance)<Math.abs(dn.distance)&&(ur[lr]=Vr)}},tt;for(tt=0;tt<Ht;tt++)Fr(lt[tt]);for(tt=lt.length-1;tt>Ht-1;tt--)Fr(lt[tt]);lt=ur,ir()}var et=re._hoverdata,Wt=[],Gt=X(re),or=K(re);for(qe=0;qe<lt.length;qe++){var wr=lt[qe],Tr=b.makeEventData(wr,wr.trace,wr.cd);if(wr.hovertemplate!==!1){var br=!1;wr.cd[wr.index]&&wr.cd[wr.index].ht&&(br=wr.cd[wr.index].ht),wr.hovertemplate=br||wr.trace.hovertemplate||!1}if(wr.xa&&wr.ya){var Kt=wr.x0+wr.xa._offset,Ir=wr.x1+wr.xa._offset,Lr=wr.y0+wr.ya._offset,Br=wr.y1+wr.ya._offset,zr=Math.min(Kt,Ir),cn=Math.max(Kt,Ir),tn=Math.min(Lr,Br),an=Math.max(Lr,Br);Tr.bbox={x0:zr+or,x1:cn+or,y0:tn+Gt,y1:an+Gt}}wr.eventData=[Tr],Wt.push(Tr)}re._hoverdata=Wt;var Wn=$e==="y"&&(ke.length>1||lt.length>1)||$e==="closest"&&Ae&<.length>1,En=n.combine(me.plot_bgcolor||n.background,me.paper_bgcolor),pa=F(lt,{gd:re,hovermode:$e,rotateLabels:Wn,bgColor:En,container:me._hoverlayer,outerContainer:me._paper.node(),commonLabelOpts:me.hoverlabel,hoverdistance:me.hoverdistance}),Qn=pa.hoverLabels;if(b.isUnifiedHover($e)||(_(Qn,Wn,me,pa.commonLabelBoundingBox),N(Qn,Wn,me._invScaleX,me._invScaleY)),ce&&ce.tagName){var _r=u.getComponentMethod("annotations","hasClickToShow")(re,Wt);t(p.select(ce),_r?"pointer":"")}!ce||ee||!Q(re,fe,et)||(et&&re.emit("plotly_unhover",{event:fe,points:et}),re.emit("plotly_hover",{event:fe,points:re._hoverdata,xaxes:De,yaxes:Te,xvals:Ne,yvals:gt}))}function w(re){return[re.trace.index,re.index,re.x0,re.y0,re.name,re.attr,re.xa?re.xa._id:"",re.ya?re.ya._id:""].join(",")}var U=/<extra>([\s\S]*)<\/extra>/;function F(re,fe){var te=fe.gd,ee=te._fullLayout,ce=fe.hovermode,le=fe.rotateLabels,me=fe.bgColor,we=fe.container,Se=fe.outerContainer,Ee=fe.commonLabelOpts||{};if(re.length===0)return[[]];var We=fe.fontFamily||h.HOVERFONT,Ye=fe.fontSize||h.HOVERFONTSIZE,De=re[0],Te=De.xa,Re=De.ya,Xe=ce.charAt(0),Je=Xe+"Label",He=De[Je];if(He===void 0&&Te.type==="multicategory")for(var $e=0;$e<re.length&&(He=re[$e][Je],He===void 0);$e++);var pt=J(te,Se),ut=pt.top,lt=pt.width,ke=pt.height,Ne=He!==void 0&&De.distance<=fe.hoverdistance&&(ce==="x"||ce==="y");if(Ne){var gt=!0,qe,vt;for(qe=0;qe<re.length;qe++)if(gt&&re[qe].zLabel===void 0&&(gt=!1),vt=re[qe].hoverinfo||re[qe].trace.hoverinfo,vt){var Bt=Array.isArray(vt)?vt:vt.split("+");if(Bt.indexOf("all")===-1&&Bt.indexOf(ce)===-1){Ne=!1;break}}gt&&(Ne=!1)}var Yt=we.selectAll("g.axistext").data(Ne?[0]:[]);Yt.enter().append("g").classed("axistext",!0),Yt.exit().remove();var it={minX:0,maxX:0,minY:0,maxY:0};if(Yt.each(function(){var Ht=p.select(this),Qt=L.ensureSingle(Ht,"path","",function(tn){tn.style({"stroke-width":"1px"})}),qt=L.ensureSingle(Ht,"text","",function(tn){tn.attr("data-notex",1)}),ur=Ee.bgcolor||n.defaultLine,Cr=Ee.bordercolor||n.contrast(ur),mr=n.contrast(ur),Fr={family:Ee.font.family||We,size:Ee.font.size||Ye,color:Ee.font.color||mr};Qt.style({fill:ur,stroke:Cr}),qt.text(He).call(s.font,Fr).call(r.positionText,0,0).call(r.convertToTspans,te),Ht.attr("transform","");var tt=J(te,qt.node()),et,Wt;if(ce==="x"){var Gt=Te.side==="top"?"-":"";qt.attr("text-anchor","middle").call(r.positionText,0,Te.side==="top"?ut-tt.bottom-T-P:ut-tt.top+T+P),et=Te._offset+(De.x0+De.x1)/2,Wt=Re._offset+(Te.side==="top"?0:Re._length);var or=tt.width/2+P;et<or?(et=or,Qt.attr("d","M-"+(or-T)+",0L-"+(or-T*2)+","+Gt+T+"H"+or+"v"+Gt+(P*2+tt.height)+"H-"+or+"V"+Gt+T+"Z")):et>ee.width-or?(et=ee.width-or,Qt.attr("d","M"+(or-T)+",0L"+or+","+Gt+T+"v"+Gt+(P*2+tt.height)+"H-"+or+"V"+Gt+T+"H"+(or-T*2)+"Z")):Qt.attr("d","M0,0L"+T+","+Gt+T+"H"+or+"v"+Gt+(P*2+tt.height)+"H-"+or+"V"+Gt+T+"H-"+T+"Z"),it.minX=et-or,it.maxX=et+or,Te.side==="top"?(it.minY=Wt-(P*2+tt.height),it.maxY=Wt-P):(it.minY=Wt+P,it.maxY=Wt+(P*2+tt.height))}else{var wr,Tr,br;Re.side==="right"?(wr="start",Tr=1,br="",et=Te._offset+Te._length):(wr="end",Tr=-1,br="-",et=Te._offset),Wt=Re._offset+(De.y0+De.y1)/2,qt.attr("text-anchor",wr),Qt.attr("d","M0,0L"+br+T+","+T+"V"+(P+tt.height/2)+"h"+br+(P*2+tt.width)+"V-"+(P+tt.height/2)+"H"+br+T+"V-"+T+"Z"),it.minY=Wt-(P+tt.height/2),it.maxY=Wt+(P+tt.height/2),Re.side==="right"?(it.minX=et+T,it.maxX=et+T+(P*2+tt.width)):(it.minX=et-T-(P*2+tt.width),it.maxX=et-T);var Kt=tt.height/2,Ir=ut-tt.top-Kt,Lr="clip"+ee._uid+"commonlabel"+Re._id,Br;if(et<tt.width+2*P+T){Br="M-"+(T+P)+"-"+Kt+"h-"+(tt.width-P)+"V"+Kt+"h"+(tt.width-P)+"Z";var zr=tt.width-et+P;r.positionText(qt,zr,Ir),wr==="end"&&qt.selectAll("tspan").each(function(){var tn=p.select(this),an=s.tester.append("text").text(tn.text()).call(s.font,Fr),Wn=J(te,an.node());Math.round(Wn.width)<Math.round(tt.width)&&tn.attr("x",zr-Wn.width),an.remove()})}else r.positionText(qt,Tr*(P+T),Ir),Br=null;var cn=ee._topclips.selectAll("#"+Lr).data(Br?[0]:[]);cn.enter().append("clipPath").attr("id",Lr).append("path"),cn.exit().remove(),cn.select("path").attr("d",Br),s.setClipUrl(qt,Br?Lr:null,te)}Ht.attr("transform",x(et,Wt))}),b.isUnifiedHover(ce)){we.selectAll("g.hovertext").remove();var Ue=re.filter(function(Ht){return Ht.hoverinfo!=="none"});if(Ue.length===0)return[];var _e=ee.hoverlabel,Ze=_e.font,Fe={showlegend:!0,legend:{title:{text:He,font:Ze},font:Ze,bgcolor:_e.bgcolor,bordercolor:_e.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:ee.legend?ee.legend.traceorder:void 0,orientation:"v"}},Ce={font:Ze};S(Fe,Ce,te._fullData);var ve=Ce.legend;ve.entries=[];for(var Ie=0;Ie<Ue.length;Ie++){var Ae=Ue[Ie];if(Ae.hoverinfo!=="none"){var je=G(Ae,!0,ce,ee,He),ot=je[0],ct=je[1];Ae.name=ct,ct!==""?Ae.text=ct+" : "+ot:Ae.text=ot;var Et=Ae.cd[Ae.index];Et&&(Et.mc&&(Ae.mc=Et.mc),Et.mcc&&(Ae.mc=Et.mcc),Et.mlc&&(Ae.mlc=Et.mlc),Et.mlcc&&(Ae.mlc=Et.mlcc),Et.mlw&&(Ae.mlw=Et.mlw),Et.mrc&&(Ae.mrc=Et.mrc),Et.dir&&(Ae.dir=Et.dir)),Ae._distinct=!0,ve.entries.push([Ae])}}ve.entries.sort(function(Ht,Qt){return Ht[0].trace.index-Qt[0].trace.index}),ve.layer=we,ve._inHover=!0,ve._groupTitleFont=_e.grouptitlefont,v(te,ve);var kt=we.select("g.legend"),nr=J(te,kt.node()),dr=nr.width+2*P,Dt=nr.height+2*P,$t=Ue[0],vr=($t.x0+$t.x1)/2,Pr=($t.y0+$t.y1)/2,Ct=!(u.traceIs($t.trace,"bar-like")||u.traceIs($t.trace,"box-violin")),ir,cr;Xe==="y"?Ct?(cr=Pr-P,ir=Pr+P):(cr=Math.min.apply(null,Ue.map(function(Ht){return Math.min(Ht.y0,Ht.y1)})),ir=Math.max.apply(null,Ue.map(function(Ht){return Math.max(Ht.y0,Ht.y1)}))):cr=ir=L.mean(Ue.map(function(Ht){return(Ht.y0+Ht.y1)/2}))-Dt/2;var Or,kr;Xe==="x"?Ct?(Or=vr+P,kr=vr-P):(Or=Math.max.apply(null,Ue.map(function(Ht){return Math.max(Ht.x0,Ht.x1)})),kr=Math.min.apply(null,Ue.map(function(Ht){return Math.min(Ht.x0,Ht.x1)}))):Or=kr=L.mean(Ue.map(function(Ht){return(Ht.x0+Ht.x1)/2}))-dr/2;var Mt=Te._offset,yt=Re._offset;ir+=yt,Or+=Mt,kr+=Mt-dr,cr+=yt-Dt;var Rt,wt;return Or+dr<lt&&Or>=0?Rt=Or:kr+dr<lt&&kr>=0?Rt=kr:Mt+dr<lt?Rt=Mt:Or-vr<vr-kr+dr?Rt=lt-dr:Rt=0,Rt+=P,ir+Dt<ke&&ir>=0?wt=ir:cr+Dt<ke&&cr>=0?wt=cr:yt+Dt<ke?wt=yt:ir-Pr<Pr-cr+Dt?wt=ke-Dt:wt=0,wt+=P,kt.attr("transform",x(Rt-1,wt-1)),kt}var Ut=we.selectAll("g.hovertext").data(re,function(Ht){return w(Ht)});return Ut.enter().append("g").classed("hovertext",!0).each(function(){var Ht=p.select(this);Ht.append("rect").call(n.fill,n.addOpacity(me,.8)),Ht.append("text").classed("name",!0),Ht.append("path").style("stroke-width","1px"),Ht.append("text").classed("nums",!0).call(s.font,We,Ye)}),Ut.exit().remove(),Ut.each(function(Ht){var Qt=p.select(this).attr("transform",""),qt=Ht.color;Array.isArray(qt)&&(qt=qt[Ht.eventData[0].pointNumber]);var ur=Ht.bgcolor||qt,Cr=n.combine(n.opacity(ur)?ur:n.defaultLine,me),mr=n.combine(n.opacity(qt)?qt:n.defaultLine,me),Fr=Ht.borderColor||n.contrast(Cr),tt=G(Ht,Ne,ce,ee,He,Qt),et=tt[0],Wt=tt[1],Gt=Qt.select("text.nums").call(s.font,Ht.fontFamily||We,Ht.fontSize||Ye,Ht.fontColor||Fr).text(et).attr("data-notex",1).call(r.positionText,0,0).call(r.convertToTspans,te),or=Qt.select("text.name"),wr=0,Tr=0;if(Wt&&Wt!==et){or.call(s.font,Ht.fontFamily||We,Ht.fontSize||Ye,mr).text(Wt).attr("data-notex",1).call(r.positionText,0,0).call(r.convertToTspans,te);var br=J(te,or.node());wr=br.width+2*P,Tr=br.height+2*P}else or.remove(),Qt.select("rect").remove();Qt.select("path").style({fill:Cr,stroke:Fr});var Kt=Ht.xa._offset+(Ht.x0+Ht.x1)/2,Ir=Ht.ya._offset+(Ht.y0+Ht.y1)/2,Lr=Math.abs(Ht.x1-Ht.x0),Br=Math.abs(Ht.y1-Ht.y0),zr=J(te,Gt.node()),cn=zr.width/ee._invScaleX,tn=zr.height/ee._invScaleY;Ht.ty0=(ut-zr.top)/ee._invScaleY,Ht.bx=cn+2*P,Ht.by=Math.max(tn+2*P,Tr),Ht.anchor="start",Ht.txwidth=cn,Ht.tx2width=wr,Ht.offset=0;var an=(cn+T+P+wr)*ee._invScaleX,Wn,En;if(le)Ht.pos=Kt,Wn=Ir+Br/2+an<=ke,En=Ir-Br/2-an>=0,(Ht.idealAlign==="top"||!Wn)&&En?(Ir-=Br/2,Ht.anchor="end"):Wn?(Ir+=Br/2,Ht.anchor="start"):Ht.anchor="middle",Ht.crossPos=Ir;else{if(Ht.pos=Ir,Wn=Kt+Lr/2+an<=lt,En=Kt-Lr/2-an>=0,(Ht.idealAlign==="left"||!Wn)&&En)Kt-=Lr/2,Ht.anchor="end";else if(Wn)Kt+=Lr/2,Ht.anchor="start";else{Ht.anchor="middle";var pa=an/2,Qn=Kt+pa-lt,_r=Kt-pa;Qn>0&&(Kt-=Qn),_r<0&&(Kt+=-_r)}Ht.crossPos=Kt}Gt.attr("text-anchor",Ht.anchor),wr&&or.attr("text-anchor",Ht.anchor),Qt.attr("transform",x(Kt,Ir)+(le?d(l):""))}),{hoverLabels:Ut,commonLabelBoundingBox:it}}function G(re,fe,te,ee,ce,le){var me="",we="";re.nameOverride!==void 0&&(re.name=re.nameOverride),re.name&&(re.trace._meta&&(re.name=L.templateString(re.name,re.trace._meta)),me=ue(re.name,re.nameLength));var Se=te.charAt(0),Ee=Se==="x"?"y":"x";re.zLabel!==void 0?(re.xLabel!==void 0&&(we+="x: "+re.xLabel+"<br>"),re.yLabel!==void 0&&(we+="y: "+re.yLabel+"<br>"),re.trace.type!=="choropleth"&&re.trace.type!=="choroplethmapbox"&&(we+=(we?"z: ":"")+re.zLabel)):fe&&re[Se+"Label"]===ce?we=re[Ee+"Label"]||"":re.xLabel===void 0?re.yLabel!==void 0&&re.trace.type!=="scattercarpet"&&(we=re.yLabel):re.yLabel===void 0?we=re.xLabel:we="("+re.xLabel+", "+re.yLabel+")",(re.text||re.text===0)&&!Array.isArray(re.text)&&(we+=(we?"<br>":"")+re.text),re.extraText!==void 0&&(we+=(we?"<br>":"")+re.extraText),le&&we===""&&!re.hovertemplate&&(me===""&&le.remove(),we=me);var We=re.hovertemplate||!1;if(We){var Ye=re.hovertemplateLabels||re;re[Se+"Label"]!==ce&&(Ye[Se+"other"]=Ye[Se+"Val"],Ye[Se+"otherLabel"]=Ye[Se+"Label"]),we=L.hovertemplateString(We,Ye,ee._d3locale,re.eventData[0]||{},re.trace._meta),we=we.replace(U,function(De,Te){return me=ue(Te,re.nameLength),""})}return[we,me]}function _(re,fe,te,ee){var ce=fe?"xa":"ya",le=fe?"ya":"xa",me=0,we=1,Se=re.size(),Ee=new Array(Se),We=0,Ye=ee.minX,De=ee.maxX,Te=ee.minY,Re=ee.maxY,Xe=function(Ze){return Ze*te._invScaleX},Je=function(Ze){return Ze*te._invScaleY};re.each(function(Ze){var Fe=Ze[ce],Ce=Ze[le],ve=Fe._id.charAt(0)==="x",Ie=Fe.range;We===0&&Ie&&Ie[0]>Ie[1]!==ve&&(we=-1);var Ae=0,je=ve?te.width:te.height;if(te.hovermode==="x"||te.hovermode==="y"){var ot=H(Ze,fe),ct=Ze.anchor,Et=ct==="end"?-1:1,kt,nr;if(ct==="middle")kt=Ze.crossPos+(ve?Je(ot.y-Ze.by/2):Xe(Ze.bx/2+Ze.tx2width/2)),nr=kt+(ve?Je(Ze.by):Xe(Ze.bx));else if(ve)kt=Ze.crossPos+Je(T+ot.y)-Je(Ze.by/2-T),nr=kt+Je(Ze.by);else{var dr=Xe(Et*T+ot.x),Dt=dr+Xe(Et*Ze.bx);kt=Ze.crossPos+Math.min(dr,Dt),nr=Ze.crossPos+Math.max(dr,Dt)}ve?Te!==void 0&&Re!==void 0&&Math.min(nr,Re)-Math.max(kt,Te)>1&&(Ce.side==="left"?(Ae=Ce._mainLinePosition,je=te.width):je=Ce._mainLinePosition):Ye!==void 0&&De!==void 0&&Math.min(nr,De)-Math.max(kt,Ye)>1&&(Ce.side==="top"?(Ae=Ce._mainLinePosition,je=te.height):je=Ce._mainLinePosition)}Ee[We++]=[{datum:Ze,traceIndex:Ze.trace.index,dp:0,pos:Ze.pos,posref:Ze.posref,size:Ze.by*(ve?C:1)/2,pmin:Ae,pmax:je}]}),Ee.sort(function(Ze,Fe){return Ze[0].posref-Fe[0].posref||we*(Fe[0].traceIndex-Ze[0].traceIndex)});var He,$e,pt,ut,lt,ke,Ne;function gt(Ze){var Fe=Ze[0],Ce=Ze[Ze.length-1];if($e=Fe.pmin-Fe.pos-Fe.dp+Fe.size,pt=Ce.pos+Ce.dp+Ce.size-Fe.pmax,$e>.01){for(lt=Ze.length-1;lt>=0;lt--)Ze[lt].dp+=$e;He=!1}if(!(pt<.01)){if($e<-.01){for(lt=Ze.length-1;lt>=0;lt--)Ze[lt].dp-=pt;He=!1}if(He){var ve=0;for(ut=0;ut<Ze.length;ut++)ke=Ze[ut],ke.pos+ke.dp+ke.size>Fe.pmax&&ve++;for(ut=Ze.length-1;ut>=0&&!(ve<=0);ut--)ke=Ze[ut],ke.pos>Fe.pmax-1&&(ke.del=!0,ve--);for(ut=0;ut<Ze.length&&!(ve<=0);ut++)if(ke=Ze[ut],ke.pos<Fe.pmin+1)for(ke.del=!0,ve--,pt=ke.size*2,lt=Ze.length-1;lt>=0;lt--)Ze[lt].dp-=pt;for(ut=Ze.length-1;ut>=0&&!(ve<=0);ut--)ke=Ze[ut],ke.pos+ke.dp+ke.size>Fe.pmax&&(ke.del=!0,ve--)}}}for(;!He&&me<=Se;){for(me++,He=!0,ut=0;ut<Ee.length-1;){var qe=Ee[ut],vt=Ee[ut+1],Bt=qe[qe.length-1],Yt=vt[0];if($e=Bt.pos+Bt.dp+Bt.size-Yt.pos-Yt.dp+Yt.size,$e>.01&&Bt.pmin===Yt.pmin&&Bt.pmax===Yt.pmax){for(lt=vt.length-1;lt>=0;lt--)vt[lt].dp+=$e;for(qe.push.apply(qe,vt),Ee.splice(ut+1,1),Ne=0,lt=qe.length-1;lt>=0;lt--)Ne+=qe[lt].dp;for(pt=Ne/qe.length,lt=qe.length-1;lt>=0;lt--)qe[lt].dp-=pt;He=!1}else ut++}Ee.forEach(gt)}for(ut=Ee.length-1;ut>=0;ut--){var it=Ee[ut];for(lt=it.length-1;lt>=0;lt--){var Ue=it[lt],_e=Ue.datum;_e.offset=Ue.dp,_e.del=Ue.del}}}function H(re,fe){var te=0,ee=re.offset;return fe&&(ee*=-D,te=re.offset*M),{x:te,y:ee}}function V(re){var fe={start:1,end:-1,middle:0}[re.anchor],te=fe*(T+P),ee=te+fe*(re.txwidth+P),ce=re.anchor==="middle";return ce&&(te-=re.tx2width/2,ee+=re.txwidth/2+P),{alignShift:fe,textShiftX:te,text2ShiftX:ee}}function N(re,fe,te,ee){var ce=function(me){return me*te},le=function(me){return me*ee};re.each(function(me){var we=p.select(this);if(me.del)return we.remove();var Se=we.select("text.nums"),Ee=me.anchor,We=Ee==="end"?-1:1,Ye=V(me),De=H(me,fe),Te=De.x,Re=De.y,Xe=Ee==="middle";we.select("path").attr("d",Xe?"M-"+ce(me.bx/2+me.tx2width/2)+","+le(Re-me.by/2)+"h"+ce(me.bx)+"v"+le(me.by)+"h-"+ce(me.bx)+"Z":"M0,0L"+ce(We*T+Te)+","+le(T+Re)+"v"+le(me.by/2-T)+"h"+ce(We*me.bx)+"v-"+le(me.by)+"H"+ce(We*T+Te)+"V"+le(Re-T)+"Z");var Je=Te+Ye.textShiftX,He=Re+me.ty0-me.by/2+P,$e=me.textAlign||"auto";$e!=="auto"&&($e==="left"&&Ee!=="start"?(Se.attr("text-anchor","start"),Je=Xe?-me.bx/2-me.tx2width/2+P:-me.bx-P):$e==="right"&&Ee!=="end"&&(Se.attr("text-anchor","end"),Je=Xe?me.bx/2-me.tx2width/2-P:me.bx+P)),Se.call(r.positionText,ce(Je),le(He)),me.tx2width&&(we.select("text.name").call(r.positionText,ce(Ye.text2ShiftX+Ye.alignShift*P+Te),le(Re+me.ty0-me.by/2+P)),we.select("rect").call(s.setRect,ce(Ye.text2ShiftX+(Ye.alignShift-1)*me.tx2width/2+Te),le(Re-me.by/2-1),ce(me.tx2width),le(me.by+2)))})}function W(re,fe){var te=re.index,ee=re.trace||{},ce=re.cd[0],le=re.cd[te]||{};function me(De){return De||E(De)&&De===0}var we=Array.isArray(te)?function(De,Te){var Re=L.castOption(ce,te,De);return me(Re)?Re:L.extractOption({},ee,"",Te)}:function(De,Te){return L.extractOption(le,ee,De,Te)};function Se(De,Te,Re){var Xe=we(Te,Re);me(Xe)&&(re[De]=Xe)}if(Se("hoverinfo","hi","hoverinfo"),Se("bgcolor","hbg","hoverlabel.bgcolor"),Se("borderColor","hbc","hoverlabel.bordercolor"),Se("fontFamily","htf","hoverlabel.font.family"),Se("fontSize","hts","hoverlabel.font.size"),Se("fontColor","htc","hoverlabel.font.color"),Se("nameLength","hnl","hoverlabel.namelength"),Se("textAlign","hta","hoverlabel.align"),re.posref=fe==="y"||fe==="closest"&&ee.orientation==="h"?re.xa._offset+(re.x0+re.x1)/2:re.ya._offset+(re.y0+re.y1)/2,re.x0=L.constrain(re.x0,0,re.xa._length),re.x1=L.constrain(re.x1,0,re.xa._length),re.y0=L.constrain(re.y0,0,re.ya._length),re.y1=L.constrain(re.y1,0,re.ya._length),re.xLabelVal!==void 0&&(re.xLabel="xLabel"in re?re.xLabel:c.hoverLabelText(re.xa,re.xLabelVal,ee.xhoverformat),re.xVal=re.xa.c2d(re.xLabelVal)),re.yLabelVal!==void 0&&(re.yLabel="yLabel"in re?re.yLabel:c.hoverLabelText(re.ya,re.yLabelVal,ee.yhoverformat),re.yVal=re.ya.c2d(re.yLabelVal)),re.zLabelVal!==void 0&&re.zLabel===void 0&&(re.zLabel=String(re.zLabelVal)),!isNaN(re.xerr)&&!(re.xa.type==="log"&&re.xerr<=0)){var Ee=c.tickText(re.xa,re.xa.c2l(re.xerr),"hover").text;re.xerrneg!==void 0?re.xLabel+=" +"+Ee+" / -"+c.tickText(re.xa,re.xa.c2l(re.xerrneg),"hover").text:re.xLabel+=" ± "+Ee,fe==="x"&&(re.distance+=1)}if(!isNaN(re.yerr)&&!(re.ya.type==="log"&&re.yerr<=0)){var We=c.tickText(re.ya,re.ya.c2l(re.yerr),"hover").text;re.yerrneg!==void 0?re.yLabel+=" +"+We+" / -"+c.tickText(re.ya,re.ya.c2l(re.yerrneg),"hover").text:re.yLabel+=" ± "+We,fe==="y"&&(re.distance+=1)}var Ye=re.hoverinfo||re.trace.hoverinfo;return Ye&&Ye!=="all"&&(Ye=Array.isArray(Ye)?Ye:Ye.split("+"),Ye.indexOf("x")===-1&&(re.xLabel=void 0),Ye.indexOf("y")===-1&&(re.yLabel=void 0),Ye.indexOf("z")===-1&&(re.zLabel=void 0),Ye.indexOf("text")===-1&&(re.text=void 0),Ye.indexOf("name")===-1&&(re.name=void 0)),re}function j(re,fe,te){var ee=te.container,ce=te.fullLayout,le=ce._size,me=te.event,we=!!fe.hLinePoint,Se=!!fe.vLinePoint,Ee,We;if(ee.selectAll(".spikeline").remove(),!!(Se||we)){var Ye=n.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(we){var De=fe.hLinePoint,Te,Re;Ee=De&&De.xa,We=De&&De.ya;var Xe=We.spikesnap;Xe==="cursor"?(Te=me.pointerX,Re=me.pointerY):(Te=Ee._offset+De.x,Re=We._offset+De.y);var Je=a.readability(De.color,Ye)<1.5?n.contrast(Ye):De.color,He=We.spikemode,$e=We.spikethickness,pt=We.spikecolor||Je,ut=c.getPxPosition(re,We),lt,ke;if(He.indexOf("toaxis")!==-1||He.indexOf("across")!==-1){if(He.indexOf("toaxis")!==-1&&(lt=ut,ke=Te),He.indexOf("across")!==-1){var Ne=We._counterDomainMin,gt=We._counterDomainMax;We.anchor==="free"&&(Ne=Math.min(Ne,We.position),gt=Math.max(gt,We.position)),lt=le.l+Ne*le.w,ke=le.l+gt*le.w}ee.insert("line",":first-child").attr({x1:lt,x2:ke,y1:Re,y2:Re,"stroke-width":$e,stroke:pt,"stroke-dasharray":s.dashStyle(We.spikedash,$e)}).classed("spikeline",!0).classed("crisp",!0),ee.insert("line",":first-child").attr({x1:lt,x2:ke,y1:Re,y2:Re,"stroke-width":$e+2,stroke:Ye}).classed("spikeline",!0).classed("crisp",!0)}He.indexOf("marker")!==-1&&ee.insert("circle",":first-child").attr({cx:ut+(We.side!=="right"?$e:-$e),cy:Re,r:$e,fill:pt}).classed("spikeline",!0)}if(Se){var qe=fe.vLinePoint,vt,Bt;Ee=qe&&qe.xa,We=qe&&qe.ya;var Yt=Ee.spikesnap;Yt==="cursor"?(vt=me.pointerX,Bt=me.pointerY):(vt=Ee._offset+qe.x,Bt=We._offset+qe.y);var it=a.readability(qe.color,Ye)<1.5?n.contrast(Ye):qe.color,Ue=Ee.spikemode,_e=Ee.spikethickness,Ze=Ee.spikecolor||it,Fe=c.getPxPosition(re,Ee),Ce,ve;if(Ue.indexOf("toaxis")!==-1||Ue.indexOf("across")!==-1){if(Ue.indexOf("toaxis")!==-1&&(Ce=Fe,ve=Bt),Ue.indexOf("across")!==-1){var Ie=Ee._counterDomainMin,Ae=Ee._counterDomainMax;Ee.anchor==="free"&&(Ie=Math.min(Ie,Ee.position),Ae=Math.max(Ae,Ee.position)),Ce=le.t+(1-Ae)*le.h,ve=le.t+(1-Ie)*le.h}ee.insert("line",":first-child").attr({x1:vt,x2:vt,y1:Ce,y2:ve,"stroke-width":_e,stroke:Ze,"stroke-dasharray":s.dashStyle(Ee.spikedash,_e)}).classed("spikeline",!0).classed("crisp",!0),ee.insert("line",":first-child").attr({x1:vt,x2:vt,y1:Ce,y2:ve,"stroke-width":_e+2,stroke:Ye}).classed("spikeline",!0).classed("crisp",!0)}Ue.indexOf("marker")!==-1&&ee.insert("circle",":first-child").attr({cx:vt,cy:Fe-(Ee.side!=="top"?_e:-_e),r:_e,fill:Ze}).classed("spikeline",!0)}}}function Q(re,fe,te){if(!te||te.length!==re._hoverdata.length)return!0;for(var ee=te.length-1;ee>=0;ee--){var ce=te[ee],le=re._hoverdata[ee];if(ce.curveNumber!==le.curveNumber||String(ce.pointNumber)!==String(le.pointNumber)||String(ce.pointNumbers)!==String(le.pointNumbers))return!0}return!1}function ie(re,fe){return!fe||fe.vLinePoint!==re._spikepoints.vLinePoint||fe.hLinePoint!==re._spikepoints.hLinePoint}function ue(re,fe){return r.plainText(re||"",{len:fe,allowedTags:["br","sub","sup","b","i","em"]})}function pe(re,fe){for(var te=fe.charAt(0),ee=[],ce=[],le=[],me=0;me<re.length;me++){var we=re[me];u.traceIs(we.trace,"bar-like")||u.traceIs(we.trace,"box-violin")?le.push(we):we.trace[te+"period"]?ce.push(we):ee.push(we)}return ee.concat(ce).concat(le)}function q(re,fe,te){var ee=fe[re+"a"],ce=fe[re+"Val"],le=fe.cd[0];if(ee.type==="category"||ee.type==="multicategory")ce=ee._categoriesMap[ce];else if(ee.type==="date"){var me=fe.trace[re+"periodalignment"];if(me){var we=fe.cd[fe.index],Se=we[re+"Start"];Se===void 0&&(Se=we[re]);var Ee=we[re+"End"];Ee===void 0&&(Ee=we[re]);var We=Ee-Se;me==="end"?ce+=We:me==="middle"&&(ce+=We/2)}ce=ee.d2c(ce)}return le&&le.t&&le.t.posLetter===ee._id&&(te.boxmode==="group"||te.violinmode==="group")&&(ce+=le.t.dPos),ce}function X(re){return re.offsetTop+re.clientTop}function K(re){return re.offsetLeft+re.clientLeft}function J(re,fe){var te=re._fullLayout,ee=fe.getBoundingClientRect(),ce=ee.left,le=ee.top,me=ce+ee.width,we=le+ee.height,Se=L.apply3DTransform(te._invTransform)(ce,le),Ee=L.apply3DTransform(te._invTransform)(me,we),We=Se[0],Ye=Se[1],De=Ee[0],Te=Ee[1];return{x:We,y:Ye,width:De-We,height:Te-Ye,top:Math.min(Ye,Te),left:Math.min(We,De),right:Math.max(We,De),bottom:Math.max(Ye,Te)}}},38048:function(B,O,e){var p=e(71828),E=e(7901),a=e(23469).isUnifiedHover;B.exports=function(x,d,m,r){r=r||{};var t=d.legend;function s(n){r.font[n]||(r.font[n]=t?d.legend.font[n]:d.font[n])}d&&a(d.hovermode)&&(r.font||(r.font={}),s("size"),s("family"),s("color"),t?(r.bgcolor||(r.bgcolor=E.combine(d.legend.bgcolor,d.paper_bgcolor)),r.bordercolor||(r.bordercolor=d.legend.bordercolor)):r.bgcolor||(r.bgcolor=d.paper_bgcolor)),m("hoverlabel.bgcolor",r.bgcolor),m("hoverlabel.bordercolor",r.bordercolor),m("hoverlabel.namelength",r.namelength),p.coerceFont(m,"hoverlabel.font",r.font),m("hoverlabel.align",r.align)}},98212:function(B,O,e){var p=e(71828),E=e(528);B.exports=function(L,x){function d(m,r){return x[m]!==void 0?x[m]:p.coerce(L,x,E,m,r)}return d("clickmode"),d("hovermode")}},30211:function(B,O,e){var p=e(39898),E=e(71828),a=e(28569),L=e(23469),x=e(528),d=e(88335);B.exports={moduleType:"component",name:"fx",constants:e(26675),schema:{layout:x},attributes:e(77914),layoutAttributes:x,supplyLayoutGlobalDefaults:e(22774),supplyDefaults:e(54268),supplyLayoutDefaults:e(34938),calc:e(30732),getDistanceFunction:L.getDistanceFunction,getClosest:L.getClosest,inbox:L.inbox,quadrature:L.quadrature,appendArrayPointValue:L.appendArrayPointValue,castHoverOption:r,castHoverinfo:t,hover:d.hover,unhover:a.unhover,loneHover:d.loneHover,loneUnhover:m,click:e(75914)};function m(s){var n=E.isD3Selection(s)?s:p.select(s);n.selectAll("g.hovertext").remove(),n.selectAll(".spikeline").remove()}function r(s,n,f){return E.castOption(s,n,"hoverlabel."+f)}function t(s,n,f){function c(u){return E.coerceHoverinfo({hoverinfo:u},{_module:s._module},n)}return E.castOption(s,f,"hoverinfo",c)}},528:function(B,O,e){var p=e(26675),E=e(41940),a=E({editType:"none"});a.family.dflt=p.HOVERFONT,a.size.dflt=p.HOVERFONTSIZE,B.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:a,grouptitlefont:E({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(B,O,e){var p=e(71828),E=e(528),a=e(98212),L=e(38048);B.exports=function(d,m){function r(u,b){return p.coerce(d,m,E,u,b)}var t=a(d,m);t&&(r("hoverdistance"),r("spikedistance"));var s=r("dragmode");s==="select"&&r("selectdirection");var n=m._has("mapbox"),f=m._has("geo"),c=m._basePlotModules.length;m.dragmode==="zoom"&&((n||f)&&c===1||n&&f&&c===2)&&(m.dragmode="pan"),L(d,m,r),p.coerceFont(r,"hoverlabel.grouptitlefont",m.hoverlabel.font)}},22774:function(B,O,e){var p=e(71828),E=e(38048),a=e(528);B.exports=function(x,d){function m(r,t){return p.coerce(x,d,a,r,t)}E(x,d,m)}},83312:function(B,O,e){var p=e(71828),E=e(30587).counter,a=e(27670).Y,L=e(85555).idRegex,x=e(44467),d={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[E("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[L.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[L.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:a({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function m(f,c,u){var b=c[u+"axes"],h=Object.keys((f._splomAxes||{})[u]||{});if(Array.isArray(b))return b;if(h.length)return h}function r(f,c){var u=f.grid||{},b=m(c,u,"x"),h=m(c,u,"y");if(!f.grid&&!b&&!h)return;var S=Array.isArray(u.subplots)&&Array.isArray(u.subplots[0]),v=Array.isArray(b),l=Array.isArray(h),g=v&&b!==u.xaxes&&l&&h!==u.yaxes,C,M;S?(C=u.subplots.length,M=u.subplots[0].length):(l&&(C=h.length),v&&(M=b.length));var D=x.newContainer(c,"grid");function T(H,V){return p.coerce(u,D,d,H,V)}var P=T("rows",C),A=T("columns",M);if(!(P*A>1)){delete c.grid;return}if(!S&&!v&&!l){var o=T("pattern")==="independent";o&&(S=!0)}D._hasSubplotGrid=S;var k=T("roworder"),w=k==="top to bottom",U=S?.2:.1,F=S?.3:.1,G,_;g&&c._splomGridDflt&&(G=c._splomGridDflt.xside,_=c._splomGridDflt.yside),D._domains={x:t("x",T,U,G,A),y:t("y",T,F,_,P,w)}}function t(f,c,u,b,h,S){var v=c(f+"gap",u),l=c("domain."+f);c(f+"side",b);for(var g=new Array(h),C=l[0],M=(l[1]-C)/(h-v),D=M*(1-v),T=0;T<h;T++){var P=C+M*T;g[S?h-1-T:T]=[P,P+D]}return g}function s(f,c){var u=c.grid;if(!(!u||!u._domains)){var b=f.grid||{},h=c._subplots,S=u._hasSubplotGrid,v=u.rows,l=u.columns,g=u.pattern==="independent",C,M,D,T,P,A,o,k=u._axisMap={};if(S){var w=b.subplots||[];A=u.subplots=new Array(v);var U=1;for(C=0;C<v;C++){var F=A[C]=new Array(l),G=w[C]||[];for(M=0;M<l;M++)if(g?(P=U===1?"xy":"x"+U+"y"+U,U++):P=G[M],F[M]="",h.cartesian.indexOf(P)!==-1){if(o=P.indexOf("y"),D=P.slice(0,o),T=P.slice(o),k[D]!==void 0&&k[D]!==M||k[T]!==void 0&&k[T]!==C)continue;F[M]=P,k[D]=M,k[T]=C}}}else{var _=m(c,b,"x"),H=m(c,b,"y");u.xaxes=n(_,h.xaxis,l,k,"x"),u.yaxes=n(H,h.yaxis,v,k,"y")}var V=u._anchors={},N=u.roworder==="top to bottom";for(var W in k){var j=W.charAt(0),Q=u[j+"side"],ie,ue,pe;if(Q.length<8)V[W]="free";else if(j==="x"){if(Q.charAt(0)==="t"===N?(ie=0,ue=1,pe=v):(ie=v-1,ue=-1,pe=-1),S){var q=k[W];for(C=ie;C!==pe;C+=ue)if(P=A[C][q],!!P&&(o=P.indexOf("y"),P.slice(0,o)===W)){V[W]=P.slice(o);break}}else for(C=ie;C!==pe;C+=ue)if(T=u.yaxes[C],h.cartesian.indexOf(W+T)!==-1){V[W]=T;break}}else if(Q.charAt(0)==="l"?(ie=0,ue=1,pe=l):(ie=l-1,ue=-1,pe=-1),S){var X=k[W];for(C=ie;C!==pe;C+=ue)if(P=A[X][C],!!P&&(o=P.indexOf("y"),P.slice(o)===W)){V[W]=P.slice(0,o);break}}else for(C=ie;C!==pe;C+=ue)if(D=u.xaxes[C],h.cartesian.indexOf(D+W)!==-1){V[W]=D;break}}}}function n(f,c,u,b,h){var S=new Array(u),v;function l(g,C){c.indexOf(C)!==-1&&b[C]===void 0?(S[g]=C,b[C]=g):S[g]=""}if(Array.isArray(f))for(v=0;v<u;v++)l(v,f[v]);else for(l(0,h),v=1;v<u;v++)l(v,h+(v+1));return S}B.exports={moduleType:"component",name:"grid",schema:{layout:{grid:d}},layoutAttributes:d,sizeDefaults:r,contentDefaults:s}},69819:function(B,O,e){var p=e(85555),E=e(44467).templatedArray;e(24695),B.exports=E("image",{visible:{valType:"boolean",dflt:!0,editType:"arraydraw"},source:{valType:"string",editType:"arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},sizex:{valType:"number",dflt:0,editType:"arraydraw"},sizey:{valType:"number",dflt:0,editType:"arraydraw"},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},x:{valType:"any",dflt:0,editType:"arraydraw"},y:{valType:"any",dflt:0,editType:"arraydraw"},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",editType:"arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",editType:"arraydraw"},xref:{valType:"enumerated",values:["paper",p.idRegex.x.toString()],dflt:"paper",editType:"arraydraw"},yref:{valType:"enumerated",values:["paper",p.idRegex.y.toString()],dflt:"paper",editType:"arraydraw"},editType:"arraydraw"})},75378:function(B,O,e){var p=e(92770),E=e(58163);B.exports=function(L,x,d,m){x=x||{};var r=d==="log"&&x.type==="linear",t=d==="linear"&&x.type==="log";if(r||t){for(var s=L._fullLayout.images,n=x._id.charAt(0),f,c,u=0;u<s.length;u++)if(f=s[u],c="images["+u+"].",f[n+"ref"]===x._id){var b=f[n],h=f["size"+n],S=null,v=null;if(r){S=E(b,x.range);var l=h/Math.pow(10,S)/2;v=2*Math.log(l+Math.sqrt(1+l*l))/Math.LN10}else S=Math.pow(10,b),v=S*(Math.pow(10,h/2)-Math.pow(10,-h/2));p(S)?p(v)||(v=null):(S=null,v=null),m(c+n,S),m(c+"size"+n,v)}}}},81603:function(B,O,e){var p=e(71828),E=e(89298),a=e(85501),L=e(69819),x="images";B.exports=function(r,t){var s={name:x,handleItemDefaults:d};a(r,t,s)};function d(m,r,t){function s(l,g){return p.coerce(m,r,L,l,g)}var n=s("source"),f=s("visible",!!n);if(!f)return r;s("layer"),s("xanchor"),s("yanchor"),s("sizex"),s("sizey"),s("sizing"),s("opacity");for(var c={_fullLayout:t},u=["x","y"],b=0;b<2;b++){var h=u[b],S=E.coerceRef(m,r,c,h,"paper",void 0);if(S!=="paper"){var v=E.getFromId(c,S);v._imgIndices.push(r._index)}E.coercePosition(r,c,s,S,h,0)}return r}},80750:function(B,O,e){var p=e(39898),E=e(91424),a=e(89298),L=e(41675),x=e(77922);B.exports=function(m){var r=m._fullLayout,t=[],s={},n=[],f,c;for(c=0;c<r.images.length;c++){var u=r.images[c];if(u.visible)if(u.layer==="below"&&u.xref!=="paper"&&u.yref!=="paper"){f=L.ref2id(u.xref)+L.ref2id(u.yref);var b=r._plots[f];if(!b){n.push(u);continue}b.mainplot&&(f=b.mainplot.id),s[f]||(s[f]=[]),s[f].push(u)}else u.layer==="above"?t.push(u):n.push(u)}var h={x:{left:{sizing:"xMin",offset:0},center:{sizing:"xMid",offset:-1/2},right:{sizing:"xMax",offset:-1}},y:{top:{sizing:"YMin",offset:0},middle:{sizing:"YMid",offset:-1/2},bottom:{sizing:"YMax",offset:-1}}};function S(T){var P=p.select(this);if(this._imgSrc!==T.source)if(P.attr("xmlns",x.svg),T.source&&T.source.slice(0,5)==="data:")P.attr("xlink:href",T.source),this._imgSrc=T.source;else{var A=new Promise((function(o){var k=new Image;this.img=k,k.setAttribute("crossOrigin","anonymous"),k.onerror=w,k.onload=function(){var U=document.createElement("canvas");U.width=this.width,U.height=this.height;var F=U.getContext("2d",{willReadFrequently:!0});F.drawImage(this,0,0);var G=U.toDataURL("image/png");P.attr("xlink:href",G),o()},P.on("error",w),k.src=T.source,this._imgSrc=T.source;function w(){P.remove(),o()}}).bind(this));m._promises.push(A)}}function v(T){var P=p.select(this),A=a.getFromId(m,T.xref),o=a.getFromId(m,T.yref),k=a.getRefType(T.xref)==="domain",w=a.getRefType(T.yref)==="domain",U=r._size,F,G;A!==void 0?F=typeof T.xref=="string"&&k?A._length*T.sizex:Math.abs(A.l2p(T.sizex)-A.l2p(0)):F=T.sizex*U.w,o!==void 0?G=typeof T.yref=="string"&&w?o._length*T.sizey:Math.abs(o.l2p(T.sizey)-o.l2p(0)):G=T.sizey*U.h;var _=F*h.x[T.xanchor].offset,H=G*h.y[T.yanchor].offset,V=h.x[T.xanchor].sizing+h.y[T.yanchor].sizing,N,W;switch(A!==void 0?N=typeof T.xref=="string"&&k?A._length*T.x+A._offset:A.r2p(T.x)+A._offset:N=T.x*U.w+U.l,N+=_,o!==void 0?W=typeof T.yref=="string"&&w?o._length*(1-T.y)+o._offset:o.r2p(T.y)+o._offset:W=U.h-T.y*U.h+U.t,W+=H,T.sizing){case"fill":V+=" slice";break;case"stretch":V="none";break}P.attr({x:N,y:W,width:F,height:G,preserveAspectRatio:V,opacity:T.opacity});var j=A&&a.getRefType(T.xref)!=="domain"?A._id:"",Q=o&&a.getRefType(T.yref)!=="domain"?o._id:"",ie=j+Q;E.setClipUrl(P,ie?"clip"+r._uid+ie:null,m)}var l=r._imageLowerLayer.selectAll("image").data(n),g=r._imageUpperLayer.selectAll("image").data(t);l.enter().append("image"),g.enter().append("image"),l.exit().remove(),g.exit().remove(),l.each(function(T){S.bind(this)(T),v.bind(this)(T)}),g.each(function(T){S.bind(this)(T),v.bind(this)(T)});var C=Object.keys(r._plots);for(c=0;c<C.length;c++){f=C[c];var M=r._plots[f];if(M.imagelayer){var D=M.imagelayer.selectAll("image").data(s[f]||[]);D.enter().append("image"),D.exit().remove(),D.each(function(T){S.bind(this)(T),v.bind(this)(T)})}}}},68804:function(B,O,e){B.exports={moduleType:"component",name:"images",layoutAttributes:e(69819),supplyLayoutDefaults:e(81603),includeBasePlot:e(76325)("images"),draw:e(80750),convertCoords:e(75378)}},33030:function(B,O,e){var p=e(41940),E=e(22399);B.exports={_isSubplotObj:!0,visible:{valType:"boolean",dflt:!0,editType:"legend"},bgcolor:{valType:"color",editType:"legend"},bordercolor:{valType:"color",dflt:E.defaultLine,editType:"legend"},borderwidth:{valType:"number",min:0,dflt:0,editType:"legend"},font:p({editType:"legend"}),grouptitlefont:p({editType:"legend"}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",editType:"legend"},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],editType:"legend"},tracegroupgap:{valType:"number",min:0,dflt:10,editType:"legend"},entrywidth:{valType:"number",min:0,editType:"legend"},entrywidthmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels",editType:"legend"},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",editType:"legend"},itemwidth:{valType:"number",min:30,dflt:30,editType:"legend"},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",editType:"legend"},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",editType:"legend"},groupclick:{valType:"enumerated",values:["toggleitem","togglegroup"],dflt:"togglegroup",editType:"legend"},x:{valType:"number",editType:"legend"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"legend"},y:{valType:"number",editType:"legend"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],editType:"legend"},uirevision:{valType:"any",editType:"none"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"legend"},title:{text:{valType:"string",dflt:"",editType:"legend"},font:p({editType:"legend"}),side:{valType:"enumerated",values:["top","left","top left","top center","top right"],editType:"legend"},editType:"legend"},editType:"legend"}},14928:function(B){B.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}},99017:function(B,O,e){var p=e(73972),E=e(71828),a=e(44467),L=e(9012),x=e(33030),d=e(10820),m=e(10130);function r(t,s,n,f){var c=s[t]||{},u=a.newContainer(n,t);function b(pe,q){return E.coerce(c,u,x,pe,q)}var h=E.coerceFont(b,"font",n.font);b("bgcolor",n.paper_bgcolor),b("bordercolor");var S=b("visible");if(S){for(var v,l=function(pe,q){var X=v._input,K=v;return E.coerce(X,K,L,pe,q)},g=n.font||{},C=E.coerceFont(b,"grouptitlefont",E.extendFlat({},g,{size:Math.round(g.size*1.1)})),M=0,D=!1,T="normal",P=(n.shapes||[]).filter(function(pe){return pe.showlegend}),A=f.concat(P).filter(function(pe){return t===(pe.legend||"legend")}),o=0;o<A.length;o++)if(v=A[o],!!v.visible){var k=v._isShape;(v.showlegend||v._dfltShowLegend&&!(v._module&&v._module.attributes&&v._module.attributes.showlegend&&v._module.attributes.showlegend.dflt===!1))&&(M++,v.showlegend&&(D=!0,(!k&&p.traceIs(v,"pie-like")||v._input.showlegend===!0)&&M++),E.coerceFont(l,"legendgrouptitle.font",C)),(!k&&p.traceIs(v,"bar")&&n.barmode==="stack"||["tonextx","tonexty"].indexOf(v.fill)!==-1)&&(T=m.isGrouped({traceorder:T})?"grouped+reversed":"reversed"),v.legendgroup!==void 0&&v.legendgroup!==""&&(T=m.isReversed({traceorder:T})?"reversed+grouped":"grouped")}var w=E.coerce(s,n,d,"showlegend",D&&M>(t==="legend"?1:0));if(w===!1&&(n[t]=void 0),!(w===!1&&!c.uirevision)&&(b("uirevision",n.uirevision),w!==!1)){b("borderwidth");var U=b("orientation"),F=b("yref"),G=b("xref"),_=U==="h",H=F==="paper",V=G==="paper",N,W,j,Q="left";_?(N=0,p.getComponentMethod("rangeslider","isVisible")(s.xaxis)?H?(W=1.1,j="bottom"):(W=1,j="top"):H?(W=-.1,j="top"):(W=0,j="bottom")):(W=1,j="auto",V?N=1.02:(N=1,Q="right")),E.coerce(c,u,{x:{valType:"number",editType:"legend",min:V?-2:0,max:V?3:1,dflt:N}},"x"),E.coerce(c,u,{y:{valType:"number",editType:"legend",min:H?-2:0,max:H?3:1,dflt:W}},"y"),b("traceorder",T),m.isGrouped(n[t])&&b("tracegroupgap"),b("entrywidth"),b("entrywidthmode"),b("itemsizing"),b("itemwidth"),b("itemclick"),b("itemdoubleclick"),b("groupclick"),b("xanchor",Q),b("yanchor",j),b("valign"),E.noneOrAll(c,u,["x","y"]);var ie=b("title.text");if(ie){b("title.side",_?"left":"top");var ue=E.extendFlat({},h,{size:E.bigFont(h.size)});E.coerceFont(b,"title.font",ue)}}}}B.exports=function(s,n,f){var c,u=f.slice(),b=n.shapes;if(b)for(c=0;c<b.length;c++){var h=b[c];if(h.showlegend){var S={_input:h._input,visible:h.visible,showlegend:h.showlegend,legend:h.legend};u.push(S)}}var v=["legend"];for(c=0;c<u.length;c++)E.pushUnique(v,u[c].legend);for(n._legends=[],c=0;c<v.length;c++){var l=v[c];r(l,s,n,u),n[l]&&n[l].visible&&(n[l]._id=l),n._legends.push(l)}}},43969:function(B,O,e){var p=e(39898),E=e(71828),a=e(74875),L=e(73972),x=e(11086),d=e(28569),m=e(91424),r=e(7901),t=e(63893),s=e(85167),n=e(14928),f=e(18783),c=f.LINE_SPACING,u=f.FROM_TL,b=f.FROM_BR,h=e(82424),S=e(53630),v=e(10130),l=1,g=/^legend[0-9]*$/;B.exports=function(W,j){if(j)M(W,j);else{var Q=W._fullLayout,ie=Q._legends,ue=Q._infolayer.selectAll('[class^="legend"]');ue.each(function(){var K=p.select(this),J=K.attr("class"),re=J.split(" ")[0];re.match(g)&&ie.indexOf(re)===-1&&K.remove()});for(var pe=0;pe<ie.length;pe++){var q=ie[pe],X=W._fullLayout[q];M(W,X)}}};function C(N,W,j){if(!(W.title.side!=="top center"&&W.title.side!=="top right")){var Q=W.title.font,ie=Q.size*c,ue=0,pe=N.node(),q=m.bBox(pe).width;W.title.side==="top center"?ue=.5*(W._width-2*j-2*n.titlePad-q):W.title.side==="top right"&&(ue=W._width-2*j-2*n.titlePad-q),t.positionText(N,j+n.titlePad+ue,j+ie)}}function M(N,W){var j=W||{},Q=N._fullLayout,ie=V(j),ue,pe,q=j._inHover;if(q?(pe=j.layer,ue="hover"):(pe=Q._infolayer,ue=ie),!!pe){ue+=Q._uid,N._legendMouseDownTime||(N._legendMouseDownTime=0);var X;if(q){if(!j.entries)return;X=h(j.entries,j)}else{for(var K=(N.calcdata||[]).slice(),J=Q.shapes,re=0;re<J.length;re++){var fe=J[re];if(fe.showlegend){var te={_isShape:!0,_fullInput:fe,index:fe._index,name:fe.name||fe.label.text||"shape "+fe._index,legend:fe.legend,legendgroup:fe.legendgroup,legendgrouptitle:fe.legendgrouptitle,legendrank:fe.legendrank,legendwidth:fe.legendwidth,showlegend:fe.showlegend,visible:fe.visible,opacity:fe.opacity,mode:fe.type==="line"?"lines":"markers",line:fe.line,marker:{line:fe.line,color:fe.fillcolor,size:12,symbol:fe.type==="rect"?"square":fe.type==="circle"?"circle":"hexagon2"}};K.push([{trace:te}])}}X=Q.showlegend&&h(K,j,Q._legends.length>1)}var ee=Q.hiddenlabels||[];if(!q&&(!Q.showlegend||!X.length))return pe.selectAll("."+ie).remove(),Q._topdefs.select("#"+ue).remove(),a.autoMargin(N,ie);var ce=E.ensureSingle(pe,"g",ie,function(Te){q||Te.attr("pointer-events","all")}),le=E.ensureSingleById(Q._topdefs,"clipPath",ue,function(Te){Te.append("rect")}),me=E.ensureSingle(ce,"rect","bg",function(Te){Te.attr("shape-rendering","crispEdges")});me.call(r.stroke,j.bordercolor).call(r.fill,j.bgcolor).style("stroke-width",j.borderwidth+"px");var we=E.ensureSingle(ce,"g","scrollbox"),Se=j.title;j._titleWidth=0,j._titleHeight=0;var Ee;Se.text?(Ee=E.ensureSingle(we,"text",ie+"titletext"),Ee.attr("text-anchor","start").call(m.font,Se.font).text(Se.text),k(Ee,we,N,j,l)):we.selectAll("."+ie+"titletext").remove();var We=E.ensureSingle(ce,"rect","scrollbar",function(Te){Te.attr(n.scrollBarEnterAttrs).call(r.fill,n.scrollBarColor)}),Ye=we.selectAll("g.groups").data(X);Ye.enter().append("g").attr("class","groups"),Ye.exit().remove();var De=Ye.selectAll("g.traces").data(E.identity);De.enter().append("g").attr("class","traces"),De.exit().remove(),De.style("opacity",function(Te){var Re=Te[0].trace;return L.traceIs(Re,"pie-like")?ee.indexOf(Te[0].label)!==-1?.5:1:Re.visible==="legendonly"?.5:1}).each(function(){p.select(this).call(P,N,j)}).call(S,N,j).each(function(){q||p.select(this).call(o,N,ie)}),E.syncOrAsync([a.previousPromises,function(){return F(N,Ye,De,j)},function(){var Te=Q._size,Re=j.borderwidth,Xe=j.xref==="paper",Je=j.yref==="paper";if(Se.text&&C(Ee,j,Re),!q){var He,$e;Xe?He=Te.l+Te.w*j.x-u[_(j)]*j._width:He=Q.width*j.x-u[_(j)]*j._width,Je?$e=Te.t+Te.h*(1-j.y)-u[H(j)]*j._effHeight:$e=Q.height*(1-j.y)-u[H(j)]*j._effHeight;var pt=G(N,ie,He,$e);if(pt)return;if(Q.margin.autoexpand){var ut=He,lt=$e;He=Xe?E.constrain(He,0,Q.width-j._width):ut,$e=Je?E.constrain($e,0,Q.height-j._effHeight):lt,He!==ut&&E.log("Constrain "+ie+".x to make legend fit inside graph"),$e!==lt&&E.log("Constrain "+ie+".y to make legend fit inside graph")}m.setTranslate(ce,He,$e)}if(We.on(".drag",null),ce.on("wheel",null),q||j._height<=j._maxHeight||N._context.staticPlot){var ke=j._effHeight;q&&(ke=j._height),me.attr({width:j._width-Re,height:ke-Re,x:Re/2,y:Re/2}),m.setTranslate(we,0,0),le.select("rect").attr({width:j._width-2*Re,height:ke-2*Re,x:Re,y:Re}),m.setClipUrl(we,ue,N),m.setRect(We,0,0,0,0),delete j._scrollY}else{var Ne=Math.max(n.scrollBarMinHeight,j._effHeight*j._effHeight/j._height),gt=j._effHeight-Ne-2*n.scrollBarMargin,qe=j._height-j._effHeight,vt=gt/qe,Bt=Math.min(j._scrollY||0,qe);me.attr({width:j._width-2*Re+n.scrollBarWidth+n.scrollBarMargin,height:j._effHeight-Re,x:Re/2,y:Re/2}),le.select("rect").attr({width:j._width-2*Re+n.scrollBarWidth+n.scrollBarMargin,height:j._effHeight-2*Re,x:Re,y:Re+Bt}),m.setClipUrl(we,ue,N),ve(Bt,Ne,vt),ce.on("wheel",function(){Bt=E.constrain(j._scrollY+p.event.deltaY/gt*qe,0,qe),ve(Bt,Ne,vt),Bt!==0&&Bt!==qe&&p.event.preventDefault()});var Yt,it,Ue,_e=function(ct,Et,kt){var nr=(kt-Et)/vt+ct;return E.constrain(nr,0,qe)},Ze=function(ct,Et,kt){var nr=(Et-kt)/vt+ct;return E.constrain(nr,0,qe)},Fe=p.behavior.drag().on("dragstart",function(){var ct=p.event.sourceEvent;ct.type==="touchstart"?Yt=ct.changedTouches[0].clientY:Yt=ct.clientY,Ue=Bt}).on("drag",function(){var ct=p.event.sourceEvent;ct.buttons===2||ct.ctrlKey||(ct.type==="touchmove"?it=ct.changedTouches[0].clientY:it=ct.clientY,Bt=_e(Ue,Yt,it),ve(Bt,Ne,vt))});We.call(Fe);var Ce=p.behavior.drag().on("dragstart",function(){var ct=p.event.sourceEvent;ct.type==="touchstart"&&(Yt=ct.changedTouches[0].clientY,Ue=Bt)}).on("drag",function(){var ct=p.event.sourceEvent;ct.type==="touchmove"&&(it=ct.changedTouches[0].clientY,Bt=Ze(Ue,Yt,it),ve(Bt,Ne,vt))});we.call(Ce)}function ve(ct,Et,kt){j._scrollY=N._fullLayout[ie]._scrollY=ct,m.setTranslate(we,0,-ct),m.setRect(We,j._width,n.scrollBarMargin+ct*kt,n.scrollBarWidth,Et),le.select("rect").attr("y",Re+ct)}if(N._context.edits.legendPosition){var Ie,Ae,je,ot;ce.classed("cursor-move",!0),d.init({element:ce.node(),gd:N,prepFn:function(){var ct=m.getTranslate(ce);je=ct.x,ot=ct.y},moveFn:function(ct,Et){var kt=je+ct,nr=ot+Et;m.setTranslate(ce,kt,nr),Ie=d.align(kt,j._width,Te.l,Te.l+Te.w,j.xanchor),Ae=d.align(nr+j._height,-j._height,Te.t+Te.h,Te.t,j.yanchor)},doneFn:function(){if(Ie!==void 0&&Ae!==void 0){var ct={};ct[ie+".x"]=Ie,ct[ie+".y"]=Ae,L.call("_guiRelayout",N,ct)}},clickFn:function(ct,Et){var kt=pe.selectAll("g.traces").filter(function(){var nr=this.getBoundingClientRect();return Et.clientX>=nr.left&&Et.clientX<=nr.right&&Et.clientY>=nr.top&&Et.clientY<=nr.bottom});kt.size()>0&&T(N,ce,kt,ct,Et)}})}}],N)}}function D(N,W,j){var Q=N[0],ie=Q.width,ue=W.entrywidthmode,pe=Q.trace.legendwidth||W.entrywidth;return ue==="fraction"?W._maxWidth*pe:j+(pe||ie)}function T(N,W,j,Q,ie){var ue=j.data()[0][0].trace,pe={event:ie,node:j.node(),curveNumber:ue.index,expandedIndex:ue._expandedIndex,data:N.data,layout:N.layout,frames:N._transitionData._frames,config:N._context,fullData:N._fullData,fullLayout:N._fullLayout};ue._group&&(pe.group=ue._group),L.traceIs(ue,"pie-like")&&(pe.label=j.datum()[0].label);var q=x.triggerHandler(N,"plotly_legendclick",pe);if(Q===1){if(q===!1)return;W._clickTimeout=setTimeout(function(){N._fullLayout&&s(j,N,Q)},N._context.doubleClickDelay)}else if(Q===2){W._clickTimeout&&clearTimeout(W._clickTimeout),N._legendMouseDownTime=0;var X=x.triggerHandler(N,"plotly_legenddoubleclick",pe);X!==!1&&q!==!1&&s(j,N,Q)}}function P(N,W,j){var Q=V(j),ie=N.data()[0][0],ue=ie.trace,pe=L.traceIs(ue,"pie-like"),q=!j._inHover&&W._context.edits.legendText&&!pe,X=j._maxNameLength,K,J;ie.groupTitle?(K=ie.groupTitle.text,J=ie.groupTitle.font):(J=j.font,j.entries?K=ie.text:(K=pe?ie.label:ue.name,ue._meta&&(K=E.templateString(K,ue._meta))));var re=E.ensureSingle(N,"text",Q+"text");re.attr("text-anchor","start").call(m.font,J).text(q?A(K,X):K);var fe=j.itemwidth+n.itemGap*2;t.positionText(re,fe,0),q?re.call(t.makeEditable,{gd:W,text:K}).call(k,N,W,j).on("edit",function(te){this.text(A(te,X)).call(k,N,W,j);var ee=ie.trace._fullInput||{},ce={};if(L.hasTransform(ee,"groupby")){var le=L.getTransformIndices(ee,"groupby"),me=le[le.length-1],we=E.keyedContainer(ee,"transforms["+me+"].styles","target","value.name");we.set(ie.trace._group,te),ce=we.constructUpdate()}else ce.name=te;return ee._isShape?L.call("_guiRelayout",W,"shapes["+ue.index+"].name",ce.name):L.call("_guiRestyle",W,ce,ue.index)}):k(re,N,W,j)}function A(N,W){var j=Math.max(4,W);if(N&&N.trim().length>=j/2)return N;N=N||"";for(var Q=j-N.length;Q>0;Q--)N+=" ";return N}function o(N,W,j){var Q=W._context.doubleClickDelay,ie,ue=1,pe=E.ensureSingle(N,"rect",j+"toggle",function(q){W._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(r.fill,"rgba(0,0,0,0)")});W._context.staticPlot||(pe.on("mousedown",function(){ie=new Date().getTime(),ie-W._legendMouseDownTime<Q?ue+=1:(ue=1,W._legendMouseDownTime=ie)}),pe.on("mouseup",function(){if(!(W._dragged||W._editing)){var q=W._fullLayout[j];new Date().getTime()-W._legendMouseDownTime>Q&&(ue=Math.max(ue-1,1)),T(W,q,N,ue,p.event)}}))}function k(N,W,j,Q,ie){Q._inHover&&N.attr("data-notex",!0),t.convertToTspans(N,j,function(){w(W,j,Q,ie)})}function w(N,W,j,Q){var ie=N.data()[0][0];if(!j._inHover&&ie&&!ie.trace.showlegend){N.remove();return}var ue=N.select("g[class*=math-group]"),pe=ue.node(),q=V(j);j||(j=W._fullLayout[q]);var X=j.borderwidth,K;Q===l?K=j.title.font:ie.groupTitle?K=ie.groupTitle.font:K=j.font;var J=K.size*c,re,fe;if(pe){var te=m.bBox(pe);re=te.height,fe=te.width,Q===l?m.setTranslate(ue,X,X+re*.75):m.setTranslate(ue,0,re*.25)}else{var ee="."+q+(Q===l?"title":"")+"text",ce=N.select(ee),le=t.lineCount(ce),me=ce.node();if(re=J*le,fe=me?m.bBox(me).width:0,Q===l)j.title.side==="left"&&(fe+=n.itemGap*2),t.positionText(ce,X+n.titlePad,X+J);else{var we=n.itemGap*2+j.itemwidth;ie.groupTitle&&(we=n.itemGap,fe-=j.itemwidth),t.positionText(ce,we,-J*((le-1)/2-.3))}}Q===l?(j._titleWidth=fe,j._titleHeight=re):(ie.lineHeight=J,ie.height=Math.max(re,16)+3,ie.width=fe)}function U(N){var W=0,j=0,Q=N.title.side;return Q&&(Q.indexOf("left")!==-1&&(W=N._titleWidth),Q.indexOf("top")!==-1&&(j=N._titleHeight)),[W,j]}function F(N,W,j,Q){var ie=N._fullLayout,ue=V(Q);Q||(Q=ie[ue]);var pe=ie._size,q=v.isVertical(Q),X=v.isGrouped(Q),K=Q.entrywidthmode==="fraction",J=Q.borderwidth,re=2*J,fe=n.itemGap,te=Q.itemwidth+fe*2,ee=2*(J+fe),ce=H(Q),le=Q.y<0||Q.y===0&&ce==="top",me=Q.y>1||Q.y===1&&ce==="bottom",we=Q.tracegroupgap,Se={};Q._maxHeight=Math.max(le||me?ie.height/2:pe.h,30);var Ee=0;Q._width=0,Q._height=0;var We=U(Q);if(q)j.each(function(Ue){var _e=Ue[0].height;m.setTranslate(this,J+We[0],J+We[1]+Q._height+_e/2+fe),Q._height+=_e,Q._width=Math.max(Q._width,Ue[0].width)}),Ee=te+Q._width,Q._width+=fe+te+re,Q._height+=ee,X&&(W.each(function(Ue,_e){m.setTranslate(this,0,_e*Q.tracegroupgap)}),Q._height+=(Q._lgroupsLength-1)*Q.tracegroupgap);else{var Ye=_(Q),De=Q.x<0||Q.x===0&&Ye==="right",Te=Q.x>1||Q.x===1&&Ye==="left",Re=me||le,Xe=ie.width/2;Q._maxWidth=Math.max(De?Re&&Ye==="left"?pe.l+pe.w:Xe:Te?Re&&Ye==="right"?pe.r+pe.w:Xe:pe.w,2*te);var Je=0,He=0;j.each(function(Ue){var _e=D(Ue,Q,te);Je=Math.max(Je,_e),He+=_e}),Ee=null;var $e=0;if(X){var pt=0,ut=0,lt=0;W.each(function(){var Ue=0,_e=0;p.select(this).selectAll("g.traces").each(function(Fe){var Ce=D(Fe,Q,te),ve=Fe[0].height;m.setTranslate(this,We[0],We[1]+J+fe+ve/2+_e),_e+=ve,Ue=Math.max(Ue,Ce),Se[Fe[0].trace.legendgroup]=Ue});var Ze=Ue+fe;ut>0&&Ze+J+ut>Q._maxWidth?($e=Math.max($e,ut),ut=0,lt+=pt+we,pt=_e):pt=Math.max(pt,_e),m.setTranslate(this,ut,lt),ut+=Ze}),Q._width=Math.max($e,ut)+J,Q._height=lt+pt+ee}else{var ke=j.size(),Ne=He+re+(ke-1)*fe<Q._maxWidth,gt=0,qe=0,vt=0,Bt=0;j.each(function(Ue){var _e=Ue[0].height,Ze=D(Ue,Q,te),Fe=Ne?Ze:Je;K||(Fe+=fe),Fe+J+qe-fe>=Q._maxWidth&&($e=Math.max($e,Bt),qe=0,vt+=gt,Q._height+=gt,gt=0),m.setTranslate(this,We[0]+J+qe,We[1]+J+vt+_e/2+fe),Bt=qe+Ze+fe,qe+=Fe,gt=Math.max(gt,_e)}),Ne?(Q._width=qe+re,Q._height=gt+ee):(Q._width=Math.max($e,Bt)+re,Q._height+=gt+ee)}}Q._width=Math.ceil(Math.max(Q._width+We[0],Q._titleWidth+2*(J+n.titlePad))),Q._height=Math.ceil(Math.max(Q._height+We[1],Q._titleHeight+2*(J+n.itemGap))),Q._effHeight=Math.min(Q._height,Q._maxHeight);var Yt=N._context.edits,it=Yt.legendText||Yt.legendPosition;j.each(function(Ue){var _e=p.select(this).select("."+ue+"toggle"),Ze=Ue[0].height,Fe=Ue[0].trace.legendgroup,Ce=D(Ue,Q,te);X&&Fe!==""&&(Ce=Se[Fe]);var ve=it?te:Ee||Ce;!q&&!K&&(ve+=fe/2),m.setRect(_e,0,-Ze/2,ve,Ze)})}function G(N,W,j,Q){var ie=N._fullLayout,ue=ie[W],pe=_(ue),q=H(ue),X=ue.xref==="paper",K=ue.yref==="paper";N._fullLayout._reservedMargin[W]={};var J=ue.y<.5?"b":"t",re=ue.x<.5?"l":"r",fe={r:ie.width-j,l:j+ue._width,b:ie.height-Q,t:Q+ue._effHeight};if(X&&K)return a.autoMargin(N,W,{x:ue.x,y:ue.y,l:ue._width*u[pe],r:ue._width*b[pe],b:ue._effHeight*b[q],t:ue._effHeight*u[q]});X?N._fullLayout._reservedMargin[W][J]=fe[J]:K||ue.orientation==="v"?N._fullLayout._reservedMargin[W][re]=fe[re]:N._fullLayout._reservedMargin[W][J]=fe[J]}function _(N){return E.isRightAnchor(N)?"right":E.isCenterAnchor(N)?"center":"left"}function H(N){return E.isBottomAnchor(N)?"bottom":E.isMiddleAnchor(N)?"middle":"top"}function V(N){return N._id||"legend"}},82424:function(B,O,e){var p=e(73972),E=e(10130);B.exports=function(L,x,d){var m=x._inHover,r=E.isGrouped(x),t=E.isReversed(x),s={},n=[],f=!1,c={},u=0,b=0,h,S;function v(N,W,j){if(x.visible!==!1&&!(d&&N!==x._id))if(W===""||!E.isGrouped(x)){var Q="~~i"+u;n.push(Q),s[Q]=[j],u++}else n.indexOf(W)===-1?(n.push(W),f=!0,s[W]=[j]):s[W].push(j)}for(h=0;h<L.length;h++){var l=L[h],g=l[0],C=g.trace,M=C.legend,D=C.legendgroup;if(!(!m&&(!C.visible||!C.showlegend)))if(p.traceIs(C,"pie-like"))for(c[D]||(c[D]={}),S=0;S<l.length;S++){var T=l[S].label;c[D][T]||(v(M,D,{label:T,color:l[S].color,i:l[S].i,trace:C,pts:l[S].pts}),c[D][T]=!0,b=Math.max(b,(T||"").length))}else v(M,D,g),b=Math.max(b,(C.name||"").length)}if(!n.length)return[];var P=!f||!r,A=[];for(h=0;h<n.length;h++){var o=s[n[h]];P?A.push(o[0]):A.push(o)}for(P&&(A=[A]),h=0;h<A.length;h++){var k=1/0;for(S=0;S<A[h].length;S++){var w=A[h][S].trace.legendrank;k>w&&(k=w)}A[h][0]._groupMinRank=k,A[h][0]._preGroupSort=h}var U=function(N,W){return N[0]._groupMinRank-W[0]._groupMinRank||N[0]._preGroupSort-W[0]._preGroupSort},F=function(N,W){return N.trace.legendrank-W.trace.legendrank||N._preSort-W._preSort};for(A.forEach(function(N,W){N[0]._preGroupSort=W}),A.sort(U),h=0;h<A.length;h++){A[h].forEach(function(N,W){N._preSort=W}),A[h].sort(F);var G=A[h][0].trace,_=null;for(S=0;S<A[h].length;S++){var H=A[h][S].trace.legendgrouptitle;if(H&&H.text){_=H,m&&(H.font=x._groupTitleFont);break}}if(t&&A[h].reverse(),_){var V=!1;for(S=0;S<A[h].length;S++)if(p.traceIs(A[h][S].trace,"pie-like")){V=!0;break}A[h].unshift({i:-1,groupTitle:_,noClick:V,trace:{showlegend:G.showlegend,legendgroup:G.legendgroup,visible:x.groupclick==="toggleitem"?!0:G.visible}})}for(S=0;S<A[h].length;S++)A[h][S]=[A[h][S]]}return x._lgroupsLength=A.length,x._maxNameLength=b,A}},85167:function(B,O,e){var p=e(73972),E=e(71828),a=E.pushUnique,L=!0;B.exports=function(d,m,r){var t=m._fullLayout;if(m._dragged||m._editing)return;var s=t.legend.itemclick,n=t.legend.itemdoubleclick,f=t.legend.groupclick;r===1&&s==="toggle"&&n==="toggleothers"&&L&&m.data&&m._context.showTips&&E.notifier(E._(m,"Double-click on legend to isolate one trace"),"long"),L=!1;var c;if(r===1?c=s:r===2&&(c=n),!c)return;var u=f==="togglegroup",b=t.hiddenlabels?t.hiddenlabels.slice():[],h=d.data()[0][0];if(h.groupTitle&&h.noClick)return;var S=m._fullData,v=(t.shapes||[]).filter(function(Xe){return Xe.showlegend}),l=S.concat(v),g=h.trace;g._isShape&&(g=g._fullInput);var C=g.legendgroup,M,D,T,P,A,o,k={},w=[],U=[],F=[];function G(Xe,Je){var He=w.indexOf(Xe),$e=k.visible;return $e||($e=k.visible=[]),w.indexOf(Xe)===-1&&(w.push(Xe),He=w.length-1),$e[He]=Je,He}var _=(t.shapes||[]).map(function(Xe){return Xe._input}),H=!1;function V(Xe,Je){_[Xe].visible=Je,H=!0}function N(Xe,Je){if(!(h.groupTitle&&!u)){var He=Xe._fullInput||Xe,$e=He._isShape,pt=He.index;if(pt===void 0&&(pt=He._index),p.hasTransform(He,"groupby")){var ut=U[pt];if(!ut){var lt=p.getTransformIndices(He,"groupby"),ke=lt[lt.length-1];ut=E.keyedContainer(He,"transforms["+ke+"].styles","target","value.visible"),U[pt]=ut}var Ne=ut.get(Xe._group);Ne===void 0&&(Ne=!0),Ne!==!1&&ut.set(Xe._group,Je),F[pt]=G(pt,He.visible!==!1)}else{var gt=He.visible===!1?!1:Je;$e?V(pt,gt):G(pt,gt)}}}var W=g.legend,j=g._fullInput,Q=j&&j._isShape;if(!Q&&p.traceIs(g,"pie-like")){var ie=h.label,ue=b.indexOf(ie);if(c==="toggle")ue===-1?b.push(ie):b.splice(ue,1);else if(c==="toggleothers"){var pe=ue!==-1,q=[];for(M=0;M<m.calcdata.length;M++){var X=m.calcdata[M];for(D=0;D<X.length;D++){var K=X[D],J=K.label;W===X[0].trace.legend&&ie!==J&&(b.indexOf(J)===-1&&(pe=!0),a(b,J),q.push(J))}}if(!pe)for(var re=0;re<q.length;re++){var fe=b.indexOf(q[re]);fe!==-1&&b.splice(fe,1)}}p.call("_guiRelayout",m,"hiddenlabels",b)}else{var te=C&&C.length,ee=[],ce;if(te)for(M=0;M<l.length;M++)ce=l[M],ce.visible&&ce.legendgroup===C&&ee.push(M);if(c==="toggle"){var le;switch(g.visible){case!0:le="legendonly";break;case!1:le=!1;break;case"legendonly":le=!0;break}if(te)if(u)for(M=0;M<l.length;M++){var me=l[M];me.visible!==!1&&me.legendgroup===C&&N(me,le)}else N(g,le);else N(g,le)}else if(c==="toggleothers"){var we,Se,Ee,We,Ye,De=!0;for(M=0;M<l.length;M++)if(Ye=l[M],we=Ye===g,Ee=Ye.showlegend!==!0,!(we||Ee)&&(Se=te&&Ye.legendgroup===C,!Se&&Ye.legend===W&&Ye.visible===!0&&!p.traceIs(Ye,"notLegendIsolatable"))){De=!1;break}for(M=0;M<l.length;M++)if(Ye=l[M],!(Ye.visible===!1||Ye.legend!==W)&&!p.traceIs(Ye,"notLegendIsolatable"))switch(g.visible){case"legendonly":N(Ye,!0);break;case!0:We=De?!0:"legendonly",we=Ye===g,Ee=Ye.showlegend!==!0&&!Ye.legendgroup,Se=we||te&&Ye.legendgroup===C,N(Ye,Se||Ee?!0:We);break}}for(M=0;M<U.length;M++)if(T=U[M],!!T){var Te=T.constructUpdate(),Re=Object.keys(Te);for(D=0;D<Re.length;D++)P=Re[D],o=k[P]=k[P]||[],o[F[M]]=Te[P]}for(A=Object.keys(k),M=0;M<A.length;M++)for(P=A[M],D=0;D<w.length;D++)k[P].hasOwnProperty(D)||(k[P][D]=void 0);H?p.call("_guiUpdate",m,k,{shapes:_},w):p.call("_guiRestyle",m,k,w)}}},10130:function(B,O){O.isGrouped=function(p){return(p.traceorder||"").indexOf("grouped")!==-1},O.isVertical=function(p){return p.orientation!=="h"},O.isReversed=function(p){return(p.traceorder||"").indexOf("reversed")!==-1}},2199:function(B,O,e){B.exports={moduleType:"component",name:"legend",layoutAttributes:e(33030),supplyLayoutDefaults:e(99017),draw:e(43969),style:e(53630)}},53630:function(B,O,e){var p=e(39898),E=e(73972),a=e(71828),L=a.strTranslate,x=e(91424),d=e(7901),m=e(52075).extractOpts,r=e(34098),t=e(63463),s=e(53581).castOption,n=e(14928),f=12,c=5,u=2,b=10,h=5;B.exports=function(C,M,D){var T=M._fullLayout;D||(D=T.legend);var P=D.itemsizing==="constant",A=D.itemwidth,o=(A+n.itemGap*2)/2,k=L(o,0),w=function(q,X,K,J){var re;if(q+1)re=q;else if(X&&X.width>0)re=X.width;else return 0;return P?J:Math.min(re,K)};C.each(function(q){var X=p.select(this),K=a.ensureSingle(X,"g","layers");K.style("opacity",q[0].trace.opacity);var J=D.valign,re=q[0].lineHeight,fe=q[0].height;if(J==="middle"||!re||!fe)K.attr("transform",null);else{var te={top:1,bottom:-1}[J],ee=te*(.5*(re-fe+3));K.attr("transform",L(0,ee))}var ce=K.selectAll("g.legendfill").data([q]);ce.enter().append("g").classed("legendfill",!0);var le=K.selectAll("g.legendlines").data([q]);le.enter().append("g").classed("legendlines",!0);var me=K.selectAll("g.legendsymbols").data([q]);me.enter().append("g").classed("legendsymbols",!0),me.selectAll("g.legendpoints").data([q]).enter().append("g").classed("legendpoints",!0)}).each(pe).each(G).each(H).each(_).each(N).each(ie).each(Q).each(U).each(F).each(W).each(j);function U(q){var X=v(q),K=X.showFill,J=X.showLine,re=X.showGradientLine,fe=X.showGradientFill,te=X.anyFill,ee=X.anyLine,ce=q[0],le=ce.trace,me,we,Se=m(le),Ee=Se.colorscale,We=Se.reversescale,Ye=function($e){if($e.size())if(K)x.fillGroupStyle($e,M);else{var pt="legendfill-"+le.uid;x.gradient($e,M,pt,S(We),Ee,"fill")}},De=function($e){if($e.size()){var pt="legendline-"+le.uid;x.lineGroupStyle($e),x.gradient($e,M,pt,S(We),Ee,"stroke")}},Te=r.hasMarkers(le)||!te?"M5,0":ee?"M5,-2":"M5,-3",Re=p.select(this),Xe=Re.select(".legendfill").selectAll("path").data(K||fe?[q]:[]);if(Xe.enter().append("path").classed("js-fill",!0),Xe.exit().remove(),Xe.attr("d",Te+"h"+A+"v6h-"+A+"z").call(Ye),J||re){var Je=w(void 0,le.line,b,c);we=a.minExtend(le,{line:{width:Je}}),me=[a.minExtend(ce,{trace:we})]}var He=Re.select(".legendlines").selectAll("path").data(J||re?[me]:[]);He.enter().append("path").classed("js-line",!0),He.exit().remove(),He.attr("d",Te+(re?"l"+A+",0.0001":"h"+A)).call(J?x.lineGroupStyle:De)}function F(q){var X=v(q),K=X.anyFill,J=X.anyLine,re=X.showLine,fe=X.showMarker,te=q[0],ee=te.trace,ce=!fe&&!J&&!K&&r.hasText(ee),le,me;function we(Xe,Je,He,$e){var pt=a.nestedProperty(ee,Xe).get(),ut=a.isArrayOrTypedArray(pt)&&Je?Je(pt):pt;if(P&&ut&&$e!==void 0&&(ut=$e),He){if(ut<He[0])return He[0];if(ut>He[1])return He[1]}return ut}function Se(Xe){return te._distinct&&te.index&&Xe[te.index]?Xe[te.index]:Xe[0]}if(fe||ce||re){var Ee={},We={};if(fe){Ee.mc=we("marker.color",Se),Ee.mx=we("marker.symbol",Se),Ee.mo=we("marker.opacity",a.mean,[.2,1]),Ee.mlc=we("marker.line.color",Se),Ee.mlw=we("marker.line.width",a.mean,[0,5],u),We.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Ye=we("marker.size",a.mean,[2,16],f);Ee.ms=Ye,We.marker.size=Ye}re&&(We.line={width:we("line.width",Se,[0,10],c)}),ce&&(Ee.tx="Aa",Ee.tp=we("textposition",Se),Ee.ts=10,Ee.tc=we("textfont.color",Se),Ee.tf=we("textfont.family",Se)),le=[a.minExtend(te,Ee)],me=a.minExtend(ee,We),me.selectedpoints=null,me.texttemplate=null}var De=p.select(this).select("g.legendpoints"),Te=De.selectAll("path.scatterpts").data(fe?le:[]);Te.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",k),Te.exit().remove(),Te.call(x.pointStyle,me,M),fe&&(le[0].mrc=3);var Re=De.selectAll("g.pointtext").data(ce?le:[]);Re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",k),Re.exit().remove(),Re.selectAll("text").call(x.textPointStyle,me,M)}function G(q){var X=q[0].trace,K=X.type==="waterfall";if(q[0]._distinct&&K){var J=q[0].trace[q[0].dir].marker;return q[0].mc=J.color,q[0].mlw=J.line.width,q[0].mlc=J.line.color,V(q,this,"waterfall")}var re=[];X.visible&&K&&(re=q[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var fe=p.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(re);fe.enter().append("path").classed("legendwaterfall",!0).attr("transform",k).style("stroke-miterlimit",1),fe.exit().remove(),fe.each(function(te){var ee=p.select(this),ce=X[te[0]].marker,le=w(void 0,ce.line,h,u);ee.attr("d",te[1]).style("stroke-width",le+"px").call(d.fill,ce.color),le&&ee.call(d.stroke,ce.line.color)})}function _(q){V(q,this)}function H(q){V(q,this,"funnel")}function V(q,X,K){var J=q[0].trace,re=J.marker||{},fe=re.line||{},te=K?J.visible&&J.type===K:E.traceIs(J,"bar"),ee=p.select(X).select("g.legendpoints").selectAll("path.legend"+K).data(te?[q]:[]);ee.enter().append("path").classed("legend"+K,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",k),ee.exit().remove(),ee.each(function(ce){var le=p.select(this),me=ce[0],we=w(me.mlw,re.line,h,u);le.style("stroke-width",we+"px");var Se=me.mcc;if(!D._inHover&&"mc"in me){var Ee=m(re),We=Ee.mid;We===void 0&&(We=(Ee.max+Ee.min)/2),Se=x.tryColorscale(re,"")(We)}var Ye=Se||me.mc||re.color,De=re.pattern,Te=De&&x.getPatternAttr(De.shape,0,"");if(Te){var Re=x.getPatternAttr(De.bgcolor,0,null),Xe=x.getPatternAttr(De.fgcolor,0,null),Je=De.fgopacity,He=l(De.size,8,10),$e=l(De.solidity,.5,1),pt="legend-"+J.uid;le.call(x.pattern,"legend",M,pt,Te,He,$e,Se,De.fillmode,Re,Xe,Je)}else le.call(d.fill,Ye);we&&d.stroke(le,me.mlc||fe.color)})}function N(q){var X=q[0].trace,K=p.select(this).select("g.legendpoints").selectAll("path.legendbox").data(X.visible&&E.traceIs(X,"box-violin")?[q]:[]);K.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",k),K.exit().remove(),K.each(function(){var J=p.select(this);if((X.boxpoints==="all"||X.points==="all")&&d.opacity(X.fillcolor)===0&&d.opacity((X.line||{}).color)===0){var re=a.minExtend(X,{marker:{size:P?f:a.constrain(X.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});K.call(x.pointStyle,re,M)}else{var fe=w(void 0,X.line,h,u);J.style("stroke-width",fe+"px").call(d.fill,X.fillcolor),fe&&d.stroke(J,X.line.color)}})}function W(q){var X=q[0].trace,K=p.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(X.visible&&X.type==="candlestick"?[q,q]:[]);K.enter().append("path").classed("legendcandle",!0).attr("d",function(J,re){return re?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",k).style("stroke-miterlimit",1),K.exit().remove(),K.each(function(J,re){var fe=p.select(this),te=X[re?"increasing":"decreasing"],ee=w(void 0,te.line,h,u);fe.style("stroke-width",ee+"px").call(d.fill,te.fillcolor),ee&&d.stroke(fe,te.line.color)})}function j(q){var X=q[0].trace,K=p.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(X.visible&&X.type==="ohlc"?[q,q]:[]);K.enter().append("path").classed("legendohlc",!0).attr("d",function(J,re){return re?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",k).style("stroke-miterlimit",1),K.exit().remove(),K.each(function(J,re){var fe=p.select(this),te=X[re?"increasing":"decreasing"],ee=w(void 0,te.line,h,u);fe.style("fill","none").call(x.dashLine,te.line.dash,ee),ee&&d.stroke(fe,te.line.color)})}function Q(q){ue(q,this,"pie")}function ie(q){ue(q,this,"funnelarea")}function ue(q,X,K){var J=q[0],re=J.trace,fe=K?re.visible&&re.type===K:E.traceIs(re,K),te=p.select(X).select("g.legendpoints").selectAll("path.legend"+K).data(fe?[q]:[]);if(te.enter().append("path").classed("legend"+K,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",k),te.exit().remove(),te.size()){var ee=re.marker||{},ce=w(s(ee.line.width,J.pts),ee.line,h,u),le="pieLike",me=a.minExtend(re,{marker:{line:{width:ce}}},le),we=a.minExtend(J,{trace:me},le);t(te,we,me,M)}}function pe(q){var X=q[0].trace,K,J=[];if(X.visible)switch(X.type){case"histogram2d":case"heatmap":J=[["M-15,-2V4H15V-2Z"]],K=!0;break;case"choropleth":case"choroplethmapbox":J=[["M-6,-6V6H6V-6Z"]],K=!0;break;case"densitymapbox":J=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],K="radial";break;case"cone":J=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],K=!1;break;case"streamtube":J=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],K=!1;break;case"surface":J=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],K=!0;break;case"mesh3d":J=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],K=!1;break;case"volume":J=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],K=!0;break;case"isosurface":J=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],K=!1;break}var re=p.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(J);re.enter().append("path").classed("legend3dandfriends",!0).attr("transform",k).style("stroke-miterlimit",1),re.exit().remove(),re.each(function(fe,te){var ee=p.select(this),ce=m(X),le=ce.colorscale,me=ce.reversescale,we=function(Ye){if(Ye.size()){var De="legendfill-"+X.uid;x.gradient(Ye,M,De,S(me,K==="radial"),le,"fill")}},Se;if(le){if(!K){var We=le.length;Se=te===0?le[me?We-1:0][1]:te===1?le[me?0:We-1][1]:le[Math.floor((We-1)/2)][1]}}else{var Ee=X.vertexcolor||X.facecolor||X.color;Se=a.isArrayOrTypedArray(Ee)?Ee[te]||Ee[0]:Ee}ee.attr("d",fe[0]),Se?ee.call(d.fill,Se):ee.call(we)})}};function S(g,C){var M=C?"radial":"horizontal";return M+(g?"":"reversed")}function v(g){var C=g[0].trace,M=C.contours,D=r.hasLines(C),T=r.hasMarkers(C),P=C.visible&&C.fill&&C.fill!=="none",A=!1,o=!1;if(M){var k=M.coloring;k==="lines"?A=!0:D=k==="none"||k==="heatmap"||M.showlines,M.type==="constraint"?P=M._operation!=="=":(k==="fill"||k==="heatmap")&&(o=!0)}return{showMarker:T,showLine:D,showFill:P,showGradientLine:A,showGradientFill:o,anyLine:D||A,anyFill:P||o}}function l(g,C,M){return g&&a.isArrayOrTypedArray(g)?C:g>M?M:g}},42068:function(B,O,e){e(93348),B.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(B,O,e){var p=e(73972),E=e(74875),a=e(41675),L=e(24255),x=e(34031).eraseActiveShape,d=e(71828),m=d._,r=B.exports={};r.toImage={name:"toImage",title:function(g){var C=g._context.toImageButtonOptions||{},M=C.format||"png";return M==="png"?m(g,"Download plot as a png"):m(g,"Download plot")},icon:L.camera,click:function(g){var C=g._context.toImageButtonOptions,M={format:C.format||"png"};d.notifier(m(g,"Taking snapshot - this may take a few seconds"),"long"),M.format!=="svg"&&d.isIE()&&(d.notifier(m(g,"IE only supports svg. Changing format to svg."),"long"),M.format="svg"),["filename","width","height","scale"].forEach(function(D){D in C&&(M[D]=C[D])}),p.call("downloadImage",g,M).then(function(D){d.notifier(m(g,"Snapshot succeeded")+" - "+D,"long")}).catch(function(){d.notifier(m(g,"Sorry, there was a problem downloading your snapshot!"),"long")})}},r.sendDataToCloud={name:"sendDataToCloud",title:function(g){return m(g,"Edit in Chart Studio")},icon:L.disk,click:function(g){E.sendDataToCloud(g)}},r.editInChartStudio={name:"editInChartStudio",title:function(g){return m(g,"Edit in Chart Studio")},icon:L.pencil,click:function(g){E.sendDataToCloud(g)}},r.zoom2d={name:"zoom2d",_cat:"zoom",title:function(g){return m(g,"Zoom")},attr:"dragmode",val:"zoom",icon:L.zoombox,click:t},r.pan2d={name:"pan2d",_cat:"pan",title:function(g){return m(g,"Pan")},attr:"dragmode",val:"pan",icon:L.pan,click:t},r.select2d={name:"select2d",_cat:"select",title:function(g){return m(g,"Box Select")},attr:"dragmode",val:"select",icon:L.selectbox,click:t},r.lasso2d={name:"lasso2d",_cat:"lasso",title:function(g){return m(g,"Lasso Select")},attr:"dragmode",val:"lasso",icon:L.lasso,click:t},r.drawclosedpath={name:"drawclosedpath",title:function(g){return m(g,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:L.drawclosedpath,click:t},r.drawopenpath={name:"drawopenpath",title:function(g){return m(g,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:L.drawopenpath,click:t},r.drawline={name:"drawline",title:function(g){return m(g,"Draw line")},attr:"dragmode",val:"drawline",icon:L.drawline,click:t},r.drawrect={name:"drawrect",title:function(g){return m(g,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:L.drawrect,click:t},r.drawcircle={name:"drawcircle",title:function(g){return m(g,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:L.drawcircle,click:t},r.eraseshape={name:"eraseshape",title:function(g){return m(g,"Erase active shape")},icon:L.eraseshape,click:x},r.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(g){return m(g,"Zoom in")},attr:"zoom",val:"in",icon:L.zoom_plus,click:t},r.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(g){return m(g,"Zoom out")},attr:"zoom",val:"out",icon:L.zoom_minus,click:t},r.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(g){return m(g,"Autoscale")},attr:"zoom",val:"auto",icon:L.autoscale,click:t},r.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(g){return m(g,"Reset axes")},attr:"zoom",val:"reset",icon:L.home,click:t},r.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(g){return m(g,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:L.tooltip_basic,gravity:"ne",click:t},r.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(g){return m(g,"Compare data on hover")},attr:"hovermode",val:function(g){return g._fullLayout._isHoriz?"y":"x"},icon:L.tooltip_compare,gravity:"ne",click:t};function t(g,C){var M=C.currentTarget,D=M.getAttribute("data-attr"),T=M.getAttribute("data-val")||!0,P=g._fullLayout,A={},o=a.list(g,null,!0),k=P._cartesianSpikesEnabled,w,U;if(D==="zoom"){var F=T==="in"?.5:2,G=(1+F)/2,_=(1-F)/2,H;for(U=0;U<o.length;U++)if(w=o[U],!w.fixedrange)if(H=w._name,T==="auto")A[H+".autorange"]=!0;else if(T==="reset")w._rangeInitial0===void 0&&w._rangeInitial1===void 0?A[H+".autorange"]=!0:w._rangeInitial0===void 0?(A[H+".autorange"]=w._autorangeInitial,A[H+".range"]=[null,w._rangeInitial1]):w._rangeInitial1===void 0?(A[H+".range"]=[w._rangeInitial0,null],A[H+".autorange"]=w._autorangeInitial):A[H+".range"]=[w._rangeInitial0,w._rangeInitial1],w._showSpikeInitial!==void 0&&(A[H+".showspikes"]=w._showSpikeInitial,k==="on"&&!w._showSpikeInitial&&(k="off"));else{var V=[w.r2l(w.range[0]),w.r2l(w.range[1])],N=[G*V[0]+_*V[1],G*V[1]+_*V[0]];A[H+".range[0]"]=w.l2r(N[0]),A[H+".range[1]"]=w.l2r(N[1])}}else D==="hovermode"&&(T==="x"||T==="y")&&(T=P._isHoriz?"y":"x",M.setAttribute("data-val",T)),A[D]=T;P._cartesianSpikesEnabled=k,p.call("_guiRelayout",g,A)}r.zoom3d={name:"zoom3d",_cat:"zoom",title:function(g){return m(g,"Zoom")},attr:"scene.dragmode",val:"zoom",icon:L.zoombox,click:s},r.pan3d={name:"pan3d",_cat:"pan",title:function(g){return m(g,"Pan")},attr:"scene.dragmode",val:"pan",icon:L.pan,click:s},r.orbitRotation={name:"orbitRotation",title:function(g){return m(g,"Orbital rotation")},attr:"scene.dragmode",val:"orbit",icon:L["3d_rotate"],click:s},r.tableRotation={name:"tableRotation",title:function(g){return m(g,"Turntable rotation")},attr:"scene.dragmode",val:"turntable",icon:L["z-axis"],click:s};function s(g,C){for(var M=C.currentTarget,D=M.getAttribute("data-attr"),T=M.getAttribute("data-val")||!0,P=g._fullLayout._subplots.gl3d||[],A={},o=D.split("."),k=0;k<P.length;k++)A[P[k]+"."+o[1]]=T;var w=T==="pan"?T:"zoom";A.dragmode=w,p.call("_guiRelayout",g,A)}r.resetCameraDefault3d={name:"resetCameraDefault3d",_cat:"resetCameraDefault",title:function(g){return m(g,"Reset camera to default")},attr:"resetDefault",icon:L.home,click:n},r.resetCameraLastSave3d={name:"resetCameraLastSave3d",_cat:"resetCameraLastSave",title:function(g){return m(g,"Reset camera to last save")},attr:"resetLastSave",icon:L.movie,click:n};function n(g,C){for(var M=C.currentTarget,D=M.getAttribute("data-attr"),T=D==="resetLastSave",P=D==="resetDefault",A=g._fullLayout,o=A._subplots.gl3d||[],k={},w=0;w<o.length;w++){var U=o[w],F=U+".camera",G=U+".aspectratio",_=U+".aspectmode",H=A[U]._scene,V;T?(k[F+".up"]=H.viewInitial.up,k[F+".eye"]=H.viewInitial.eye,k[F+".center"]=H.viewInitial.center,V=!0):P&&(k[F+".up"]=null,k[F+".eye"]=null,k[F+".center"]=null,V=!0),V&&(k[G+".x"]=H.viewInitial.aspectratio.x,k[G+".y"]=H.viewInitial.aspectratio.y,k[G+".z"]=H.viewInitial.aspectratio.z,k[_]=H.viewInitial.aspectmode)}p.call("_guiRelayout",g,k)}r.hoverClosest3d={name:"hoverClosest3d",_cat:"hoverclosest",title:function(g){return m(g,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:L.tooltip_basic,gravity:"ne",click:c};function f(g,C){var M=C.currentTarget,D=M._previousVal,T=g._fullLayout,P=T._subplots.gl3d||[],A=["xaxis","yaxis","zaxis"],o={},k={};if(D)k=D,M._previousVal=null;else{for(var w=0;w<P.length;w++){var U=P[w],F=T[U],G=U+".hovermode";o[G]=F.hovermode,k[G]=!1;for(var _=0;_<3;_++){var H=A[_],V=U+"."+H+".showspikes";k[V]=!1,o[V]=F[H].showspikes}}M._previousVal=o}return k}function c(g,C){var M=f(g,C);p.call("_guiRelayout",g,M)}r.zoomInGeo={name:"zoomInGeo",_cat:"zoomin",title:function(g){return m(g,"Zoom in")},attr:"zoom",val:"in",icon:L.zoom_plus,click:u},r.zoomOutGeo={name:"zoomOutGeo",_cat:"zoomout",title:function(g){return m(g,"Zoom out")},attr:"zoom",val:"out",icon:L.zoom_minus,click:u},r.resetGeo={name:"resetGeo",_cat:"reset",title:function(g){return m(g,"Reset")},attr:"reset",val:null,icon:L.autoscale,click:u},r.hoverClosestGeo={name:"hoverClosestGeo",_cat:"hoverclosest",title:function(g){return m(g,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:L.tooltip_basic,gravity:"ne",click:h};function u(g,C){for(var M=C.currentTarget,D=M.getAttribute("data-attr"),T=M.getAttribute("data-val")||!0,P=g._fullLayout,A=P._subplots.geo||[],o=0;o<A.length;o++){var k=A[o],w=P[k];if(D==="zoom"){var U=w.projection.scale,F=T==="in"?2*U:.5*U;p.call("_guiRelayout",g,k+".projection.scale",F)}}D==="reset"&&l(g,"geo")}r.hoverClosestGl2d={name:"hoverClosestGl2d",_cat:"hoverclosest",title:function(g){return m(g,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:L.tooltip_basic,gravity:"ne",click:h},r.hoverClosestPie={name:"hoverClosestPie",_cat:"hoverclosest",title:function(g){return m(g,"Toggle show closest data on hover")},attr:"hovermode",val:"closest",icon:L.tooltip_basic,gravity:"ne",click:h};function b(g){var C=g._fullLayout;return C.hovermode?!1:C._has("cartesian")?C._isHoriz?"y":"x":"closest"}function h(g){var C=b(g);p.call("_guiRelayout",g,"hovermode",C)}r.resetViewSankey={name:"resetSankeyGroup",title:function(g){return m(g,"Reset view")},icon:L.home,click:function(g){for(var C={"node.groups":[],"node.x":[],"node.y":[]},M=0;M<g._fullData.length;M++){var D=g._fullData[M]._viewInitial;C["node.groups"].push(D.node.groups.slice()),C["node.x"].push(D.node.x.slice()),C["node.y"].push(D.node.y.slice())}p.call("restyle",g,C)}},r.toggleHover={name:"toggleHover",title:function(g){return m(g,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:L.tooltip_basic,gravity:"ne",click:function(g,C){var M=f(g,C);M.hovermode=b(g),p.call("_guiRelayout",g,M)}},r.resetViews={name:"resetViews",title:function(g){return m(g,"Reset views")},icon:L.home,click:function(g,C){var M=C.currentTarget;M.setAttribute("data-attr","zoom"),M.setAttribute("data-val","reset"),t(g,C),M.setAttribute("data-attr","resetLastSave"),n(g,C),l(g,"geo"),l(g,"mapbox")}},r.toggleSpikelines={name:"toggleSpikelines",title:function(g){return m(g,"Toggle Spike Lines")},icon:L.spikeline,attr:"_cartesianSpikesEnabled",val:"on",click:function(g){var C=g._fullLayout,M=C._cartesianSpikesEnabled;C._cartesianSpikesEnabled=M==="on"?"off":"on",p.call("_guiRelayout",g,S(g))}};function S(g){for(var C=g._fullLayout,M=C._cartesianSpikesEnabled==="on",D=a.list(g,null,!0),T={},P=0;P<D.length;P++){var A=D[P];T[A._name+".showspikes"]=M?!0:A._showSpikeInitial}return T}r.resetViewMapbox={name:"resetViewMapbox",_cat:"resetView",title:function(g){return m(g,"Reset view")},attr:"reset",icon:L.home,click:function(g){l(g,"mapbox")}},r.zoomInMapbox={name:"zoomInMapbox",_cat:"zoomin",title:function(g){return m(g,"Zoom in")},attr:"zoom",val:"in",icon:L.zoom_plus,click:v},r.zoomOutMapbox={name:"zoomOutMapbox",_cat:"zoomout",title:function(g){return m(g,"Zoom out")},attr:"zoom",val:"out",icon:L.zoom_minus,click:v};function v(g,C){for(var M=C.currentTarget,D=M.getAttribute("data-val"),T=g._fullLayout,P=T._subplots.mapbox||[],A=1.05,o={},k=0;k<P.length;k++){var w=P[k],U=T[w].zoom,F=D==="in"?A*U:U/A;o[w+".zoom"]=F}p.call("_guiRelayout",g,o)}function l(g,C){for(var M=g._fullLayout,D=M._subplots[C]||[],T={},P=0;P<D.length;P++)for(var A=D[P],o=M[A]._subplot,k=o.viewInitial,w=Object.keys(k),U=0;U<w.length;U++){var F=w[U];T[A+"."+F]=k[F]}p.call("_guiRelayout",g,T)}},93348:function(B,O,e){var p=e(26023),E=Object.keys(p),a=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"],L=["v1hovermode","hoverclosest","hovercompare","togglehover","togglespikelines"].concat(a),x=[],d=function(m){if(L.indexOf(m._cat||m.name)===-1){var r=m.name,t=(m._cat||m.name).toLowerCase();x.indexOf(r)===-1&&x.push(r),x.indexOf(t)===-1&&x.push(t)}};E.forEach(function(m){d(p[m])}),x.sort(),B.exports={DRAW_MODES:a,backButtons:L,foreButtons:x}},35750:function(B,O,e){var p=e(71828),E=e(7901),a=e(44467),L=e(42068);B.exports=function(d,m){var r=d.modebar||{},t=a.newContainer(m,"modebar");function s(f,c){return p.coerce(r,t,L,f,c)}s("orientation"),s("bgcolor",E.addOpacity(m.paper_bgcolor,.5));var n=E.contrast(E.rgb(m.modebar.bgcolor));s("color",E.addOpacity(n,.3)),s("activecolor",E.addOpacity(n,.7)),s("uirevision",m.uirevision),s("add"),s("remove")}},64168:function(B,O,e){B.exports={moduleType:"component",name:"modebar",layoutAttributes:e(42068),supplyLayoutDefaults:e(35750),manage:e(14192)}},14192:function(B,O,e){var p=e(41675),E=e(34098),a=e(73972),L=e(23469).isUnifiedHover,x=e(37676),d=e(26023),m=e(93348).DRAW_MODES,r=e(71828).extendDeep;B.exports=function(h){var S=h._fullLayout,v=h._context,l=S._modeBar;if(!v.displayModeBar&&!v.watermark){l&&(l.destroy(),delete S._modeBar);return}if(!Array.isArray(v.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(v.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var g=v.modeBarButtons,C;Array.isArray(g)&&g.length?C=u(g):!v.displayModeBar&&v.watermark?C=[]:C=t(h),l?l.update(h,C):S._modeBar=x(h,C)};function t(b){var h=b._fullLayout,S=b._fullData,v=b._context;function l(te,ee){if(typeof ee=="string"){if(ee.toLowerCase()===te.toLowerCase())return!0}else{var ce=ee.name,le=ee._cat||ee.name;if(ce===te||le===te.toLowerCase())return!0}return!1}var g=h.modebar.add;typeof g=="string"&&(g=[g]);var C=h.modebar.remove;typeof C=="string"&&(C=[C]);var M=v.modeBarButtonsToAdd.concat(g.filter(function(te){for(var ee=0;ee<v.modeBarButtonsToRemove.length;ee++)if(l(te,v.modeBarButtonsToRemove[ee]))return!1;return!0})),D=v.modeBarButtonsToRemove.concat(C.filter(function(te){for(var ee=0;ee<v.modeBarButtonsToAdd.length;ee++)if(l(te,v.modeBarButtonsToAdd[ee]))return!1;return!0})),T=h._has("cartesian"),P=h._has("gl3d"),A=h._has("geo"),o=h._has("pie"),k=h._has("funnelarea"),w=h._has("gl2d"),U=h._has("ternary"),F=h._has("mapbox"),G=h._has("polar"),_=h._has("smith"),H=h._has("sankey"),V=s(h),N=L(h.hovermode),W=[];function j(te){if(te.length){for(var ee=[],ce=0;ce<te.length;ce++){for(var le=te[ce],me=d[le],we=me.name.toLowerCase(),Se=(me._cat||me.name).toLowerCase(),Ee=!1,We=0;We<D.length;We++){var Ye=D[We].toLowerCase();if(Ye===we||Ye===Se){Ee=!0;break}}Ee||ee.push(d[le])}W.push(ee)}}var Q=["toImage"];v.showEditInChartStudio?Q.push("editInChartStudio"):v.showSendToCloud&&Q.push("sendDataToCloud"),j(Q);var ie=[],ue=[],pe=[],q=[];(T||w||o||k||U)+A+P+F+G+_>1?(ue=["toggleHover"],pe=["resetViews"]):A?(ie=["zoomInGeo","zoomOutGeo"],ue=["hoverClosestGeo"],pe=["resetGeo"]):P?(ue=["hoverClosest3d"],pe=["resetCameraDefault3d","resetCameraLastSave3d"]):F?(ie=["zoomInMapbox","zoomOutMapbox"],ue=["toggleHover"],pe=["resetViewMapbox"]):w?ue=["hoverClosestGl2d"]:o?ue=["hoverClosestPie"]:H?(ue=["hoverClosestCartesian","hoverCompareCartesian"],pe=["resetViewSankey"]):ue=["toggleHover"],T&&(ue=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(f(S)||N)&&(ue=[]),(T||w)&&!V&&(ie=["zoomIn2d","zoomOut2d","autoScale2d"],pe[0]!=="resetViews"&&(pe=["resetScale2d"])),P?q=["zoom3d","pan3d","orbitRotation","tableRotation"]:(T||w)&&!V||U?q=["zoom2d","pan2d"]:F||A?q=["pan2d"]:G&&(q=["zoom2d"]),n(S)&&q.push("select2d","lasso2d");var X=[],K=function(te){X.indexOf(te)===-1&&ue.indexOf(te)!==-1&&X.push(te)};if(Array.isArray(M)){for(var J=[],re=0;re<M.length;re++){var fe=M[re];typeof fe=="string"?(fe=fe.toLowerCase(),m.indexOf(fe)!==-1?(h._has("mapbox")||h._has("cartesian"))&&q.push(fe):fe==="togglespikelines"?K("toggleSpikelines"):fe==="togglehover"?K("toggleHover"):fe==="hovercompare"?K("hoverCompareCartesian"):fe==="hoverclosest"?(K("hoverClosestCartesian"),K("hoverClosestGeo"),K("hoverClosest3d"),K("hoverClosestGl2d"),K("hoverClosestPie")):fe==="v1hovermode"&&(K("toggleHover"),K("hoverClosestCartesian"),K("hoverCompareCartesian"),K("hoverClosestGeo"),K("hoverClosest3d"),K("hoverClosestGl2d"),K("hoverClosestPie"))):J.push(fe)}M=J}return j(q),j(ie.concat(pe)),j(X),c(W,M)}function s(b){for(var h=p.list({_fullLayout:b},null,!0),S=0;S<h.length;S++)if(!h[S].fixedrange)return!1;return!0}function n(b){for(var h=!1,S=0;S<b.length&&!h;S++){var v=b[S];!v._module||!v._module.selectPoints||(a.traceIs(v,"scatter-like")?(E.hasMarkers(v)||E.hasText(v))&&(h=!0):a.traceIs(v,"box-violin")?(v.boxpoints==="all"||v.points==="all")&&(h=!0):h=!0)}return h}function f(b){for(var h=0;h<b.length;h++)if(!a.traceIs(b[h],"noHover"))return!1;return!0}function c(b,h){if(h.length)if(Array.isArray(h[0]))for(var S=0;S<h.length;S++)b.push(h[S]);else b.push(h);return b}function u(b){for(var h=r([],b),S=0;S<h.length;S++)for(var v=h[S],l=0;l<v.length;l++){var g=v[l];if(typeof g=="string")if(d[g]!==void 0)h[S][l]=d[g];else throw new Error(["*modeBarButtons* configuration options","invalid button name"].join(" "))}return h}},37676:function(B,O,e){var p=e(39898),E=e(92770),a=e(71828),L=e(24255),x=e(11506).version,d=new DOMParser;function m(n){this.container=n.container,this.element=document.createElement("div"),this.update(n.graphInfo,n.buttons),this.container.appendChild(this.element)}var r=m.prototype;r.update=function(n,f){this.graphInfo=n;var c=this.graphInfo._context,u=this.graphInfo._fullLayout,b="modebar-"+u._uid;this.element.setAttribute("id",b),this._uid=b,this.element.className="modebar",c.displayModeBar==="hover"&&(this.element.className+=" modebar--hover ease-bg"),u.modebar.orientation==="v"&&(this.element.className+=" vertical",f=f.reverse());var h=u.modebar,S=c.displayModeBar==="hover"?".js-plotly-plot .plotly:hover ":"";a.deleteRelatedStyleRule(b),a.addRelatedStyleRule(b,S+"#"+b+" .modebar-group","background-color: "+h.bgcolor),a.addRelatedStyleRule(b,"#"+b+" .modebar-btn .icon path","fill: "+h.color),a.addRelatedStyleRule(b,"#"+b+" .modebar-btn:hover .icon path","fill: "+h.activecolor),a.addRelatedStyleRule(b,"#"+b+" .modebar-btn.active .icon path","fill: "+h.activecolor);var v=!this.hasButtons(f),l=this.hasLogo!==c.displaylogo,g=this.locale!==c.locale;if(this.locale=c.locale,(v||l||g)&&(this.removeAllButtons(),this.updateButtons(f),c.watermark||c.displaylogo)){var C=this.getLogo();c.watermark&&(C.className=C.className+" watermark"),u.modebar.orientation==="v"?this.element.insertBefore(C,this.element.childNodes[0]):this.element.appendChild(C),this.hasLogo=!0}this.updateActiveButton()},r.updateButtons=function(n){var f=this;this.buttons=n,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach(function(c){var u=f.createGroup();c.forEach(function(b){var h=b.name;if(!h)throw new Error("must provide button 'name' in button config");if(f.buttonsNames.indexOf(h)!==-1)throw new Error("button name '"+h+"' is taken");f.buttonsNames.push(h);var S=f.createButton(b);f.buttonElements.push(S),u.appendChild(S)}),f.element.appendChild(u)})},r.createGroup=function(){var n=document.createElement("div");return n.className="modebar-group",n},r.createButton=function(n){var f=this,c=document.createElement("a");c.setAttribute("rel","tooltip"),c.className="modebar-btn";var u=n.title;u===void 0?u=n.name:typeof u=="function"&&(u=u(this.graphInfo)),(u||u===0)&&c.setAttribute("data-title",u),n.attr!==void 0&&c.setAttribute("data-attr",n.attr);var b=n.val;b!==void 0&&(typeof b=="function"&&(b=b(this.graphInfo)),c.setAttribute("data-val",b));var h=n.click;if(typeof h!="function")throw new Error("must provide button 'click' function in button config");c.addEventListener("click",function(v){n.click(f.graphInfo,v),f.updateActiveButton(v.currentTarget)}),c.setAttribute("data-toggle",n.toggle||!1),n.toggle&&p.select(c).classed("active",!0);var S=n.icon;return typeof S=="function"?c.appendChild(S()):c.appendChild(this.createIcon(S||L.question)),c.setAttribute("data-gravity",n.gravity||"n"),c},r.createIcon=function(n){var f=E(n.height)?Number(n.height):n.ascent-n.descent,c="http://www.w3.org/2000/svg",u;if(n.path){u=document.createElementNS(c,"svg"),u.setAttribute("viewBox",[0,0,n.width,f].join(" ")),u.setAttribute("class","icon");var b=document.createElementNS(c,"path");b.setAttribute("d",n.path),n.transform?b.setAttribute("transform",n.transform):n.ascent!==void 0&&b.setAttribute("transform","matrix(1 0 0 -1 0 "+n.ascent+")"),u.appendChild(b)}if(n.svg){var h=d.parseFromString(n.svg,"application/xml");u=h.childNodes[0]}return u.setAttribute("height","1em"),u.setAttribute("width","1em"),u},r.updateActiveButton=function(n){var f=this.graphInfo._fullLayout,c=n!==void 0?n.getAttribute("data-attr"):null;this.buttonElements.forEach(function(u){var b=u.getAttribute("data-val")||!0,h=u.getAttribute("data-attr"),S=u.getAttribute("data-toggle")==="true",v=p.select(u);if(S)h===c&&v.classed("active",!v.classed("active"));else{var l=h===null?h:a.nestedProperty(f,h).get();v.classed("active",l===b)}})},r.hasButtons=function(n){var f=this.buttons;if(!f||n.length!==f.length)return!1;for(var c=0;c<n.length;++c){if(n[c].length!==f[c].length)return!1;for(var u=0;u<n[c].length;u++)if(n[c][u].name!==f[c][u].name)return!1}return!0};function t(n){return n+" (v"+x+")"}r.getLogo=function(){var n=this.createGroup(),f=document.createElement("a");return f.href="https://plotly.com/",f.target="_blank",f.setAttribute("data-title",t(a._(this.graphInfo,"Produced with Plotly.js"))),f.className="modebar-btn plotlyjsicon modebar-btn--logo",f.appendChild(this.createIcon(L.newplotlylogo)),n.appendChild(f),n},r.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},r.destroy=function(){a.removeElement(this.container.querySelector(".modebar")),a.deleteRelatedStyleRule(this._uid)};function s(n,f){var c=n._fullLayout,u=new m({graphInfo:n,container:c._modebardiv.node(),buttons:f});return c._privateplot&&p.select(u.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),u}B.exports=s},37113:function(B,O,e){var p=e(41940),E=e(22399),a=e(44467).templatedArray,L=a("button",{visible:{valType:"boolean",dflt:!0,editType:"plot"},step:{valType:"enumerated",values:["month","year","day","hour","minute","second","all"],dflt:"month",editType:"plot"},stepmode:{valType:"enumerated",values:["backward","todate"],dflt:"backward",editType:"plot"},count:{valType:"number",min:0,dflt:1,editType:"plot"},label:{valType:"string",editType:"plot"},editType:"plot"});B.exports={visible:{valType:"boolean",editType:"plot"},buttons:L,x:{valType:"number",min:-2,max:3,editType:"plot"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"plot"},y:{valType:"number",min:-2,max:3,editType:"plot"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"bottom",editType:"plot"},font:p({editType:"plot"}),bgcolor:{valType:"color",dflt:E.lightLine,editType:"plot"},activecolor:{valType:"color",editType:"plot"},bordercolor:{valType:"color",dflt:E.defaultLine,editType:"plot"},borderwidth:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"}},89573:function(B){B.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},28674:function(B,O,e){var p=e(71828),E=e(7901),a=e(44467),L=e(85501),x=e(37113),d=e(89573);B.exports=function(s,n,f,c,u){var b=s.rangeselector||{},h=a.newContainer(n,"rangeselector");function S(M,D){return p.coerce(b,h,x,M,D)}var v=L(b,h,{name:"buttons",handleItemDefaults:m,calendar:u}),l=S("visible",v.length>0);if(l){var g=r(n,f,c);S("x",g[0]),S("y",g[1]),p.noneOrAll(s,n,["x","y"]),S("xanchor"),S("yanchor"),p.coerceFont(S,"font",f.font);var C=S("bgcolor");S("activecolor",E.contrast(C,d.lightAmount,d.darkAmount)),S("bordercolor"),S("borderwidth")}};function m(t,s,n,f){var c=f.calendar;function u(S,v){return p.coerce(t,s,x.buttons,S,v)}var b=u("visible");if(b){var h=u("step");h!=="all"&&(c&&c!=="gregorian"&&(h==="month"||h==="year")?s.stepmode="backward":u("stepmode"),u("count")),u("label")}}function r(t,s,n){for(var f=n.filter(function(h){return s[h].anchor===t._id}),c=0,u=0;u<f.length;u++){var b=s[f[u]].domain;b&&(c=Math.max(b[1],c))}return[t.domain[0],c+d.yPad]}},21598:function(B,O,e){var p=e(39898),E=e(73972),a=e(74875),L=e(7901),x=e(91424),d=e(71828),m=d.strTranslate,r=e(63893),t=e(41675),s=e(18783),n=s.LINE_SPACING,f=s.FROM_TL,c=s.FROM_BR,u=e(89573),b=e(70565);B.exports=function(P){var A=P._fullLayout,o=A._infolayer.selectAll(".rangeselector").data(h(P),S);o.enter().append("g").classed("rangeselector",!0),o.exit().remove(),o.style({cursor:"pointer","pointer-events":"all"}),o.each(function(k){var w=p.select(this),U=k,F=U.rangeselector,G=w.selectAll("g.button").data(d.filterVisible(F.buttons));G.enter().append("g").classed("button",!0),G.exit().remove(),G.each(function(_){var H=p.select(this),V=b(U,_);_._isActive=v(U,_,V),H.call(l,F,_),H.call(C,F,_,P),H.on("click",function(){P._dragged||E.call("_guiRelayout",P,V)}),H.on("mouseover",function(){_._isHovered=!0,H.call(l,F,_)}),H.on("mouseout",function(){_._isHovered=!1,H.call(l,F,_)})}),D(P,G,F,U._name,w)})};function h(T){for(var P=t.list(T,"x",!0),A=[],o=0;o<P.length;o++){var k=P[o];k.rangeselector&&k.rangeselector.visible&&A.push(k)}return A}function S(T){return T._id}function v(T,P,A){if(P.step==="all")return T.autorange===!0;var o=Object.keys(A);return T.range[0]===A[o[0]]&&T.range[1]===A[o[1]]}function l(T,P,A){var o=d.ensureSingle(T,"rect","selector-rect",function(k){k.attr("shape-rendering","crispEdges")});o.attr({rx:u.rx,ry:u.ry}),o.call(L.stroke,P.bordercolor).call(L.fill,g(P,A)).style("stroke-width",P.borderwidth+"px")}function g(T,P){return P._isActive||P._isHovered?T.activecolor:T.bgcolor}function C(T,P,A,o){function k(U){r.convertToTspans(U,o)}var w=d.ensureSingle(T,"text","selector-text",function(U){U.attr("text-anchor","middle")});w.call(x.font,P.font).text(M(A,o._fullLayout._meta)).call(k)}function M(T,P){return T.label?P?d.templateString(T.label,P):T.label:T.step==="all"?"all":T.count+T.step.charAt(0)}function D(T,P,A,o,k){var w=0,U=0,F=A.borderwidth;P.each(function(){var W=p.select(this),j=W.select(".selector-text"),Q=A.font.size*n,ie=Math.max(Q*r.lineCount(j),16)+3;U=Math.max(U,ie)}),P.each(function(){var W=p.select(this),j=W.select(".selector-rect"),Q=W.select(".selector-text"),ie=Q.node()&&x.bBox(Q.node()).width,ue=A.font.size*n,pe=r.lineCount(Q),q=Math.max(ie+10,u.minButtonWidth);W.attr("transform",m(F+w,F)),j.attr({x:0,y:0,width:q,height:U}),r.positionText(Q,q/2,U/2-(pe-1)*ue/2+3),w+=q+5});var G=T._fullLayout._size,_=G.l+G.w*A.x,H=G.t+G.h*(1-A.y),V="left";d.isRightAnchor(A)&&(_-=w,V="right"),d.isCenterAnchor(A)&&(_-=w/2,V="center");var N="top";d.isBottomAnchor(A)&&(H-=U,N="bottom"),d.isMiddleAnchor(A)&&(H-=U/2,N="middle"),w=Math.ceil(w),U=Math.ceil(U),_=Math.round(_),H=Math.round(H),a.autoMargin(T,o+"-range-selector",{x:A.x,y:A.y,l:w*f[V],r:w*c[V],b:U*c[N],t:U*f[N]}),k.attr("transform",m(_,H))}},70565:function(B,O,e){var p=e(81041),E=e(71828).titleCase;B.exports=function(x,d){var m=x._name,r={};if(d.step==="all")r[m+".autorange"]=!0;else{var t=a(x,d);r[m+".range[0]"]=t[0],r[m+".range[1]"]=t[1]}return r};function a(L,x){var d=L.range,m=new Date(L.r2l(d[1])),r=x.step,t=p["utc"+E(r)],s=x.count,n;switch(x.stepmode){case"backward":n=L.l2r(+t.offset(m,-s));break;case"todate":var f=t.offset(m,-s);n=L.l2r(+t.ceil(f));break}var c=d[1];return[n,c]}},97218:function(B,O,e){B.exports={moduleType:"component",name:"rangeselector",schema:{subplots:{xaxis:{rangeselector:e(37113)}}},layoutAttributes:e(37113),handleDefaults:e(28674),draw:e(21598)}},75148:function(B,O,e){var p=e(22399);B.exports={bgcolor:{valType:"color",dflt:p.background,editType:"plot"},bordercolor:{valType:"color",dflt:p.defaultLine,editType:"plot"},borderwidth:{valType:"integer",dflt:0,min:0,editType:"plot"},autorange:{valType:"boolean",dflt:!0,editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},range:{valType:"info_array",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1}},thickness:{valType:"number",dflt:.15,min:0,max:1,editType:"plot"},visible:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"}},88443:function(B,O,e){var p=e(41675).list,E=e(71739).getAutoRange,a=e(73251);B.exports=function(x){for(var d=p(x,"x",!0),m=0;m<d.length;m++){var r=d[m],t=r[a.name];t&&t.visible&&t.autorange&&(t._input.autorange=!0,t._input.range=t.range=E(x,r))}}},73251:function(B){B.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},26377:function(B,O,e){var p=e(71828),E=e(44467),a=e(41675),L=e(75148),x=e(47850);B.exports=function(m,r,t){var s=m[t],n=r[t];if(!(s.rangeslider||r._requestRangeslider[n._id]))return;p.isPlainObject(s.rangeslider)||(s.rangeslider={});var f=s.rangeslider,c=E.newContainer(n,"rangeslider");function u(o,k){return p.coerce(f,c,L,o,k)}var b,h;function S(o,k){return p.coerce(b,h,x,o,k)}var v=u("visible");if(v){u("bgcolor",r.plot_bgcolor),u("bordercolor"),u("borderwidth"),u("thickness"),u("autorange",!n.isValidRange(f.range)),u("range");var l=r._subplots;if(l)for(var g=l.cartesian.filter(function(o){return o.substr(0,o.indexOf("y"))===a.name2id(t)}).map(function(o){return o.substr(o.indexOf("y"),o.length)}),C=p.simpleMap(g,a.id2name),M=0;M<C.length;M++){var D=C[M];b=f[D]||{},h=E.newContainer(c,D,"yaxis");var T=r[D],P;b.range&&T.isValidRange(b.range)&&(P="fixed");var A=S("rangemode",P);A!=="match"&&S("range",T.range.slice())}c._input=f}}},72413:function(B,O,e){var p=e(39898),E=e(73972),a=e(74875),L=e(71828),x=L.strTranslate,d=e(91424),m=e(7901),r=e(92998),t=e(93612),s=e(41675),n=e(28569),f=e(6964),c=e(73251);B.exports=function(T){for(var P=T._fullLayout,A=P._rangeSliderData,o=0;o<A.length;o++){var k=A[o][c.name];k._clipId=k._id+"-"+P._uid}function w(F){return F._name}var U=P._infolayer.selectAll("g."+c.containerClassName).data(A,w);U.exit().each(function(F){var G=F[c.name];P._topdefs.select("#"+G._clipId).remove()}).remove(),A.length!==0&&(U.enter().append("g").classed(c.containerClassName,!0).attr("pointer-events","all"),U.each(function(F){var G=p.select(this),_=F[c.name],H=P[s.id2name(F.anchor)],V=_[s.id2name(F.anchor)];if(_.range){var N=L.simpleMap(_.range,F.r2l),W=L.simpleMap(F.range,F.r2l),j;W[0]<W[1]?j=[Math.min(N[0],W[0]),Math.max(N[1],W[1])]:j=[Math.max(N[0],W[0]),Math.min(N[1],W[1])],_.range=_._input.range=L.simpleMap(j,F.l2r)}F.cleanRange("rangeslider.range");var Q=P._size,ie=F.domain;_._width=Q.w*(ie[1]-ie[0]);var ue=Math.round(Q.l+Q.w*ie[0]),pe=Math.round(Q.t+Q.h*(1-F._counterDomainMin)+(F.side==="bottom"?F._depth:0)+_._offsetShift+c.extraPad);G.attr("transform",x(ue,pe)),_._rl=L.simpleMap(_.range,F.r2l);var q=_._rl[0],X=_._rl[1],K=X-q;if(_.p2d=function(Se){return Se/_._width*K+q},_.d2p=function(Se){return(Se-q)/K*_._width},F.rangebreaks){var J=F.locateBreaks(q,X);if(J.length){var re,fe,te=0;for(re=0;re<J.length;re++)fe=J[re],te+=fe.max-fe.min;var ee=_._width/(X-q-te),ce=[-ee*q];for(re=0;re<J.length;re++)fe=J[re],ce.push(ce[ce.length-1]-ee*(fe.max-fe.min));for(_.d2p=function(Se){for(var Ee=ce[0],We=0;We<J.length;We++){var Ye=J[We];if(Se>=Ye.max)Ee=ce[We+1];else if(Se<Ye.min)break}return Ee+ee*Se},re=0;re<J.length;re++)fe=J[re],fe.pmin=_.d2p(fe.min),fe.pmax=_.d2p(fe.max);_.p2d=function(Se){for(var Ee=ce[0],We=0;We<J.length;We++){var Ye=J[We];if(Se>=Ye.pmax)Ee=ce[We+1];else if(Se<Ye.pmin)break}return(Se-Ee)/ee}}}if(V.rangemode!=="match"){var le=H.r2l(V.range[0]),me=H.r2l(V.range[1]),we=me-le;_.d2pOppAxis=function(Se){return(Se-le)/we*_._height}}G.call(S,T,F,_).call(v,T,F,_).call(l,T,F,_).call(C,T,F,_,V).call(M,T,F,_).call(D,T,F,_),u(G,T,F,_),h(G,T,F,_,H,V),F.side==="bottom"&&r.draw(T,F._id+"title",{propContainer:F,propName:F._name+".title",placeholder:P._dfltTitle.x,attributes:{x:F._offset+F._length/2,y:pe+_._height+_._offsetShift+10+1.5*F.title.font.size,"text-anchor":"middle"}})}))};function u(T,P,A,o){if(P._context.staticPlot)return;var k=T.select("rect."+c.slideBoxClassName).node(),w=T.select("rect."+c.grabAreaMinClassName).node(),U=T.select("rect."+c.grabAreaMaxClassName).node();function F(){var G=p.event,_=G.target,H=G.clientX||G.touches[0].clientX,V=H-T.node().getBoundingClientRect().left,N=o.d2p(A._rl[0]),W=o.d2p(A._rl[1]),j=n.coverSlip();this.addEventListener("touchmove",Q),this.addEventListener("touchend",ie),j.addEventListener("mousemove",Q),j.addEventListener("mouseup",ie);function Q(ue){var pe=ue.clientX||ue.touches[0].clientX,q=+pe-H,X,K,J;switch(_){case k:if(J="ew-resize",N+q>A._length||W+q<0)return;X=N+q,K=W+q;break;case w:if(J="col-resize",N+q>A._length)return;X=N+q,K=W;break;case U:if(J="col-resize",W+q<0)return;X=N,K=W+q;break;default:J="ew-resize",X=V,K=V+q;break}if(K<X){var re=K;K=X,X=re}o._pixelMin=X,o._pixelMax=K,f(p.select(j),J),b(T,P,A,o)}function ie(){j.removeEventListener("mousemove",Q),j.removeEventListener("mouseup",ie),this.removeEventListener("touchmove",Q),this.removeEventListener("touchend",ie),L.removeElement(j)}}T.on("mousedown",F),T.on("touchstart",F)}function b(T,P,A,o){function k(F){return A.l2r(L.constrain(F,o._rl[0],o._rl[1]))}var w=k(o.p2d(o._pixelMin)),U=k(o.p2d(o._pixelMax));window.requestAnimationFrame(function(){E.call("_guiRelayout",P,A._name+".range",[w,U])})}function h(T,P,A,o,k,w){var U=c.handleWidth/2;function F(ue){return L.constrain(ue,0,o._width)}function G(ue){return L.constrain(ue,0,o._height)}function _(ue){return L.constrain(ue,-U,o._width+U)}var H=F(o.d2p(A._rl[0])),V=F(o.d2p(A._rl[1]));if(T.select("rect."+c.slideBoxClassName).attr("x",H).attr("width",V-H),T.select("rect."+c.maskMinClassName).attr("width",H),T.select("rect."+c.maskMaxClassName).attr("x",V).attr("width",o._width-V),w.rangemode!=="match"){var N=o._height-G(o.d2pOppAxis(k._rl[1])),W=o._height-G(o.d2pOppAxis(k._rl[0]));T.select("rect."+c.maskMinOppAxisClassName).attr("x",H).attr("height",N).attr("width",V-H),T.select("rect."+c.maskMaxOppAxisClassName).attr("x",H).attr("y",W).attr("height",o._height-W).attr("width",V-H),T.select("rect."+c.slideBoxClassName).attr("y",N).attr("height",W-N)}var j=.5,Q=Math.round(_(H-U))-j,ie=Math.round(_(V-U))+j;T.select("g."+c.grabberMinClassName).attr("transform",x(Q,j)),T.select("g."+c.grabberMaxClassName).attr("transform",x(ie,j))}function S(T,P,A,o){var k=L.ensureSingle(T,"rect",c.bgClassName,function(G){G.attr({x:0,y:0,"shape-rendering":"crispEdges"})}),w=o.borderwidth%2===0?o.borderwidth:o.borderwidth-1,U=-o._offsetShift,F=d.crispRound(P,o.borderwidth);k.attr({width:o._width+w,height:o._height+w,transform:x(U,U),"stroke-width":F}).call(m.stroke,o.bordercolor).call(m.fill,o.bgcolor)}function v(T,P,A,o){var k=P._fullLayout,w=L.ensureSingleById(k._topdefs,"clipPath",o._clipId,function(U){U.append("rect").attr({x:0,y:0})});w.select("rect").attr({width:o._width,height:o._height})}function l(T,P,A,o){var k=P.calcdata,w=T.selectAll("g."+c.rangePlotClassName).data(A._subplotsWith,L.identity);w.enter().append("g").attr("class",function(F){return c.rangePlotClassName+" "+F}).call(d.setClipUrl,o._clipId,P),w.order(),w.exit().remove();var U;w.each(function(F,G){var _=p.select(this),H=G===0,V=s.getFromId(P,F,"y"),N=V._name,W=o[N],j={data:[],layout:{xaxis:{type:A.type,domain:[0,1],range:o.range.slice(),calendar:A.calendar},width:o._width,height:o._height,margin:{t:0,b:0,l:0,r:0}},_context:P._context};A.rangebreaks&&(j.layout.xaxis.rangebreaks=A.rangebreaks),j.layout[N]={type:V.type,domain:[0,1],range:W.rangemode!=="match"?W.range.slice():V.range.slice(),calendar:V.calendar},V.rangebreaks&&(j.layout[N].rangebreaks=V.rangebreaks),a.supplyDefaults(j);var Q=j._fullLayout.xaxis,ie=j._fullLayout[N];Q.clearCalc(),Q.setScale(),ie.clearCalc(),ie.setScale();var ue={id:F,plotgroup:_,xaxis:Q,yaxis:ie,isRangePlot:!0};H?U=ue:(ue.mainplot="xy",ue.mainplotinfo=U),t.rangePlot(P,ue,g(k,F))})}function g(T,P){for(var A=[],o=0;o<T.length;o++){var k=T[o],w=k[0].trace;w.xaxis+w.yaxis===P&&A.push(k)}return A}function C(T,P,A,o,k){var w=L.ensureSingle(T,"rect",c.maskMinClassName,function(_){_.attr({x:0,y:0,"shape-rendering":"crispEdges"})});w.attr("height",o._height).call(m.fill,c.maskColor);var U=L.ensureSingle(T,"rect",c.maskMaxClassName,function(_){_.attr({y:0,"shape-rendering":"crispEdges"})});if(U.attr("height",o._height).call(m.fill,c.maskColor),k.rangemode!=="match"){var F=L.ensureSingle(T,"rect",c.maskMinOppAxisClassName,function(_){_.attr({y:0,"shape-rendering":"crispEdges"})});F.attr("width",o._width).call(m.fill,c.maskOppAxisColor);var G=L.ensureSingle(T,"rect",c.maskMaxOppAxisClassName,function(_){_.attr({y:0,"shape-rendering":"crispEdges"})});G.attr("width",o._width).style("border-top",c.maskOppBorder).call(m.fill,c.maskOppAxisColor)}}function M(T,P,A,o){if(!P._context.staticPlot){var k=L.ensureSingle(T,"rect",c.slideBoxClassName,function(w){w.attr({y:0,cursor:c.slideBoxCursor,"shape-rendering":"crispEdges"})});k.attr({height:o._height,fill:c.slideBoxFill})}}function D(T,P,A,o){var k=L.ensureSingle(T,"g",c.grabberMinClassName),w=L.ensureSingle(T,"g",c.grabberMaxClassName),U={x:0,width:c.handleWidth,rx:c.handleRadius,fill:m.background,stroke:m.defaultLine,"stroke-width":c.handleStrokeWidth,"shape-rendering":"crispEdges"},F={y:Math.round(o._height/4),height:Math.round(o._height/2)},G=L.ensureSingle(k,"rect",c.handleMinClassName,function(W){W.attr(U)});G.attr(F);var _=L.ensureSingle(w,"rect",c.handleMaxClassName,function(W){W.attr(U)});_.attr(F);var H={width:c.grabAreaWidth,x:0,y:0,fill:c.grabAreaFill,cursor:P._context.staticPlot?void 0:c.grabAreaCursor},V=L.ensureSingle(k,"rect",c.grabAreaMinClassName,function(W){W.attr(H)});V.attr("height",o._height);var N=L.ensureSingle(w,"rect",c.grabAreaMaxClassName,function(W){W.attr(H)});N.attr("height",o._height)}},549:function(B,O,e){var p=e(41675),E=e(63893),a=e(73251),L=e(18783).LINE_SPACING,x=a.name;function d(m){var r=m&&m[x];return r&&r.visible}O.isVisible=d,O.makeData=function(m){var r=p.list({_fullLayout:m},"x",!0),t=m.margin,s=[];if(!m._has("gl2d"))for(var n=0;n<r.length;n++){var f=r[n];if(d(f)){s.push(f);var c=f[x];c._id=x+f._id,c._height=(m.height-t.b-t.t)*c.thickness,c._offsetShift=Math.floor(c.borderwidth/2)}}m._rangeSliderData=s},O.autoMarginOpts=function(m,r){var t=m._fullLayout,s=r[x],n=r._id.charAt(0),f=0,c=0;if(r.side==="bottom"&&(f=r._depth,r.title.text!==t._dfltTitle[n])){c=1.5*r.title.font.size+10+s._offsetShift;var u=(r.title.text.match(E.BR_TAG_ALL)||[]).length;c+=u*r.title.font.size*L}return{x:0,y:r._counterDomainMin,l:0,r:0,t:0,b:s._height+f+Math.max(t.margin.b,c),pad:a.extraPad+s._offsetShift*2}}},13137:function(B,O,e){var p=e(71828),E=e(75148),a=e(47850),L=e(549);B.exports={moduleType:"component",name:"rangeslider",schema:{subplots:{xaxis:{rangeslider:p.extendFlat({},E,{yaxis:a})}}},layoutAttributes:e(75148),handleDefaults:e(26377),calcAutorange:e(88443),draw:e(72413),isVisible:L.isVisible,makeData:L.makeData,autoMarginOpts:L.autoMarginOpts}},47850:function(B){B.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",editType:"calc"},range:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},editType:"calc"}},8389:function(B,O,e){var p=e(50215),E=e(82196).line,a=e(79952).P,L=e(1426).extendFlat,x=e(30962).overrideAll,d=e(44467).templatedArray;e(24695),B.exports=x(d("selection",{type:{valType:"enumerated",values:["rect","path"]},xref:L({},p.xref,{}),yref:L({},p.yref,{}),x0:{valType:"any"},x1:{valType:"any"},y0:{valType:"any"},y1:{valType:"any"},path:{valType:"string",editType:"arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:.7,editType:"arraydraw"},line:{color:E.color,width:L({},E.width,{min:1,dflt:1}),dash:L({},a,{dflt:"dot"})}}),"arraydraw","from-root")},34122:function(B){B.exports={BENDPX:1.5,MINSELECT:12,SELECTDELAY:100,SELECTID:"-select"}},59402:function(B,O,e){var p=e(71828),E=e(89298),a=e(85501),L=e(8389),x=e(30477);B.exports=function(r,t){a(r,t,{name:"selections",handleItemDefaults:d});for(var s=t.selections,n=0;n<s.length;n++){var f=s[n];f&&f.path===void 0&&(f.x0===void 0||f.x1===void 0||f.y0===void 0||f.y1===void 0)&&(t.selections[n]=null)}};function d(m,r,t){function s(w,U){return p.coerce(m,r,L,w,U)}var n=s("path"),f=n?"path":"rect",c=s("type",f),u=c!=="path";u&&delete r.path,s("opacity"),s("line.color"),s("line.width"),s("line.dash");for(var b=["x","y"],h=0;h<2;h++){var S=b[h],v={_fullLayout:t},l,g,C,M=E.coerceRef(m,r,v,S);if(l=E.getFromId(v,M),l._selectionIndices.push(r._index),C=x.rangeToShapePosition(l),g=x.shapePositionToRange(l),u){var D=S+"0",T=S+"1",P=m[D],A=m[T];m[D]=g(m[D],!0),m[T]=g(m[T],!0),E.coercePosition(r,v,s,M,D),E.coercePosition(r,v,s,M,T);var o=r[D],k=r[T];o!==void 0&&k!==void 0&&(r[D]=C(o),r[T]=C(k),m[D]=P,m[T]=A)}}u&&p.noneOrAll(m,r,["x0","x1","y0","y1"])}},32485:function(B,O,e){var p=e(60165).readPaths,E=e(42359),a=e(51873).clearOutlineControllers,L=e(7901),x=e(91424),d=e(44467).arrayEditor,m=e(30477),r=m.getPathString;B.exports={draw:t,drawOne:n,activateLastSelection:u};function t(h){var S=h._fullLayout;a(h),S._selectionLayer.selectAll("path").remove();for(var v in S._plots){var l=S._plots[v].selectionLayer;l&&l.selectAll("path").remove()}for(var g=0;g<S.selections.length;g++)n(h,g)}function s(h){return h._context.editSelection}function n(h,S){h._fullLayout._paperdiv.selectAll('.selectionlayer [data-index="'+S+'"]').remove();var v=m.makeSelectionsOptionsAndPlotinfo(h,S),l=v.options,g=v.plotinfo;if(!l._input)return;C(h._fullLayout._selectionLayer);function C(M){var D=r(h,l),T={"data-index":S,"fill-rule":"evenodd",d:D},P=l.opacity,A="rgba(0,0,0,0)",o=l.line.color||L.contrast(h._fullLayout.plot_bgcolor),k=l.line.width,w=l.line.dash;k||(k=5,w="solid");var U=s(h)&&h._fullLayout._activeSelectionIndex===S;U&&(A=h._fullLayout.activeselection.fillcolor,P=h._fullLayout.activeselection.opacity);for(var F=[],G=1;G>=0;G--){var _=M.append("path").attr(T).style("opacity",G?.1:P).call(L.stroke,o).call(L.fill,A).call(x.dashLine,G?"solid":w,G?4+k:k);if(f(_,h,l),U){var H=d(h.layout,"selections",l);_.style({cursor:"move"});var V={element:_.node(),plotinfo:g,gd:h,editHelpers:H,isActiveSelection:!0},N=p(D,h);E(N,_,V)}else _.style("pointer-events",G?"all":"none");F[G]=_}var W=F[0],j=F[1];j.node().addEventListener("click",function(){return c(h,W)})}}function f(h,S,v){var l=v.xref+v.yref;x.setClipUrl(h,"clip"+S._fullLayout._uid+l,S)}function c(h,S){if(s(h)){var v=S.node(),l=+v.getAttribute("data-index");if(l>=0){if(l===h._fullLayout._activeSelectionIndex){b(h);return}h._fullLayout._activeSelectionIndex=l,h._fullLayout._deactivateSelection=b,t(h)}}}function u(h){if(s(h)){var S=h._fullLayout.selections.length-1;h._fullLayout._activeSelectionIndex=S,h._fullLayout._deactivateSelection=b,t(h)}}function b(h){if(s(h)){var S=h._fullLayout._activeSelectionIndex;S>=0&&(a(h),delete h._fullLayout._activeSelectionIndex,t(h))}}},53777:function(B,O,e){var p=e(79952).P,E=e(1426).extendFlat;B.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:E({},p,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(B){B.exports=function(e,p,E){E("newselection.mode");var a=E("newselection.line.width");a&&(E("newselection.line.color"),E("newselection.line.dash")),E("activeselection.fillcolor"),E("activeselection.opacity")}},35855:function(B,O,e){var p=e(64505),E=p.selectMode,a=e(51873),L=a.clearOutline,x=e(60165),d=x.readPaths,m=x.writePaths,r=x.fixDatesForPaths;B.exports=function(s,n){if(s.length){var f=s[0][0];if(f){var c=f.getAttribute("d"),u=n.gd,b=u._fullLayout.newselection,h=n.plotinfo,S=h.xaxis,v=h.yaxis,l=n.isActiveSelection,g=n.dragmode,C=(u.layout||{}).selections||[];if(!E(g)&&l!==void 0){var M=u._fullLayout._activeSelectionIndex;if(M<C.length)switch(u._fullLayout.selections[M].type){case"rect":g="select";break;case"path":g="lasso";break}}var D=d(c,u,h,l),T={xref:S._id,yref:v._id,opacity:b.opacity,line:{color:b.line.color,width:b.line.width,dash:b.line.dash}},P;D.length===1&&(P=D[0]),P&&P.length===5&&g==="select"?(T.type="rect",T.x0=P[0][1],T.y0=P[0][2],T.x1=P[2][1],T.y1=P[2][2]):(T.type="path",S&&v&&r(D,S,v),T.path=m(D),P=null),L(u);for(var A=n.editHelpers,o=(A||{}).modifyItem,k=[],w=0;w<C.length;w++){var U=u._fullLayout.selections[w];if(!U){k[w]=U;continue}if(k[w]=U._input,l!==void 0&&w===u._fullLayout._activeSelectionIndex){var F=T;switch(U.type){case"rect":o("x0",F.x0),o("x1",F.x1),o("y0",F.y0),o("y1",F.y1);break;case"path":o("path",F.path);break}}}return l===void 0?(k.push(T),k):A?A.getUpdateObj():{}}}}},75549:function(B,O,e){var p=e(71828).strTranslate;function E(d,m){switch(d.type){case"log":return d.p2d(m);case"date":return d.p2r(m,0,d.calendar);default:return d.p2r(m)}}function a(d,m){switch(d.type){case"log":return d.d2p(m);case"date":return d.r2p(m,0,d.calendar);default:return d.r2p(m)}}function L(d){var m=d._id.charAt(0)==="y"?1:0;return function(r){return E(d,r[m])}}function x(d){return p(d.xaxis._offset,d.yaxis._offset)}B.exports={p2r:E,r2p:a,axValue:L,getTransform:x}},47322:function(B,O,e){var p=e(32485),E=e(3937);B.exports={moduleType:"component",name:"selections",layoutAttributes:e(8389),supplyLayoutDefaults:e(59402),supplyDrawNewSelectionDefaults:e(90849),includeBasePlot:e(76325)("selections"),draw:p.draw,drawOne:p.drawOne,reselect:E.reselect,prepSelect:E.prepSelect,clearOutline:E.clearOutline,clearSelectionsCache:E.clearSelectionsCache,selectOnClick:E.selectOnClick}},3937:function(B,O,e){var p=e(52142),E=e(38258),a=e(73972),L=e(91424).dashStyle,x=e(7901),d=e(30211),m=e(23469).makeEventData,r=e(64505),t=r.freeMode,s=r.rectMode,n=r.drawMode,f=r.openMode,c=r.selectMode,u=e(30477),b=e(21459),h=e(42359),S=e(51873).clearOutline,v=e(60165),l=v.handleEllipse,g=v.readPaths,C=e(90551).newShapes,M=e(35855),D=e(32485).activateLastSelection,T=e(71828),P=T.sorterAsc,A=e(61082),o=e(79990),k=e(41675).getFromId,w=e(33306),U=e(61549).redrawReglTraces,F=e(34122),G=F.MINSELECT,_=A.filter,H=A.tester,V=e(75549),N=V.p2r,W=V.axValue,j=V.getTransform;function Q(Ze){return Ze.subplot!==void 0}function ie(Ze,Fe,Ce,ve,Ie){var Ae=!Q(ve),je=t(Ie),ot=s(Ie),ct=f(Ie),Et=n(Ie),kt=c(Ie),nr=Ie==="drawline",dr=Ie==="drawcircle",Dt=nr||dr,$t=ve.gd,vr=$t._fullLayout,Pr=kt&&vr.newselection.mode==="immediate"&&Ae,Ct=vr._zoomlayer,ir=ve.element.getBoundingClientRect(),cr=ve.plotinfo,Or=j(cr),kr=Fe-ir.left,Mt=Ce-ir.top;vr._calcInverseTransform($t);var yt=T.apply3DTransform(vr._invTransform)(kr,Mt);kr=yt[0],Mt=yt[1];var Rt=vr._invScaleX,wt=vr._invScaleY,Ut=kr,Ht=Mt,Qt="M"+kr+","+Mt,qt=ve.xaxes[0],ur=ve.yaxes[0],Cr=qt._length,mr=ur._length,Fr=Ze.altKey&&!(n(Ie)&&ct),tt,et,Wt,Gt,or,wr,Tr;J(Ze,$t,ve),je&&(tt=_([[kr,Mt]],F.BENDPX));var br=Ct.selectAll("path.select-outline-"+cr.id).data([1]),Kt=Et?vr.newshape:vr.newselection;Et&&(ve.hasText=Kt.label.text||Kt.label.texttemplate);var Ir=Et&&!ct?Kt.fillcolor:"rgba(0,0,0,0)",Lr=Kt.line.color||(Ae?x.contrast($t._fullLayout.plot_bgcolor):"#7f7f7f");br.enter().append("path").attr("class","select-outline select-outline-"+cr.id).style({opacity:Et?Kt.opacity/2:1,"stroke-dasharray":L(Kt.line.dash,Kt.line.width),"stroke-width":Kt.line.width+"px","shape-rendering":"crispEdges"}).call(x.stroke,Lr).call(x.fill,Ir).attr("fill-rule","evenodd").classed("cursor-move",!!Et).attr("transform",Or).attr("d",Qt+"Z");var Br=Ct.append("path").attr("class","zoombox-corners").style({fill:x.background,stroke:x.defaultLine,"stroke-width":1}).attr("transform",Or).attr("d","M0,0Z");if(Et&&ve.hasText){var zr=Ct.select(".label-temp");zr.empty()&&(zr=Ct.append("g").classed("label-temp",!0).classed("select-outline",!0).style({opacity:.8}))}var cn=vr._uid+F.SELECTID,tn=[],an=ce($t,ve.xaxes,ve.yaxes,ve.subplot);Pr&&!Ze.shiftKey&&(ve._clearSubplotSelections=function(){if(Ae){var En=qt._id,pa=ur._id;ut($t,En,pa,an);for(var Qn=($t.layout||{}).selections||[],_r=[],Vr=!1,qr=0;qr<Qn.length;qr++){var lr=vr.selections[qr];lr.xref!==En||lr.yref!==pa?_r.push(Qn[qr]):Vr=!0}Vr&&($t._fullLayout._noEmitSelectedAtStart=!0,a.call("_guiRelayout",$t,{selections:_r}))}});var Wn=Yt(ve);ve.moveFn=function(En,pa){ve._clearSubplotSelections&&(ve._clearSubplotSelections(),ve._clearSubplotSelections=void 0),Ut=Math.max(0,Math.min(Cr,Rt*En+kr)),Ht=Math.max(0,Math.min(mr,wt*pa+Mt));var Qn=Math.abs(Ut-kr),_r=Math.abs(Ht-Mt);if(ot){var Vr,qr,lr;if(kt){var dn=vr.selectdirection;switch(dn==="any"?_r<Math.min(Qn*.6,G)?Vr="h":Qn<Math.min(_r*.6,G)?Vr="v":Vr="d":Vr=dn,Vr){case"h":qr=dr?mr/2:0,lr=mr;break;case"v":qr=dr?Cr/2:0,lr=Cr;break}}if(Et)switch(vr.newshape.drawdirection){case"vertical":Vr="h",qr=dr?mr/2:0,lr=mr;break;case"horizontal":Vr="v",qr=dr?Cr/2:0,lr=Cr;break;case"ortho":Qn<_r?(Vr="h",qr=Mt,lr=Ht):(Vr="v",qr=kr,lr=Ut);break;default:Vr="d"}Vr==="h"?(Gt=Dt?l(dr,[Ut,qr],[Ut,lr]):[[kr,qr],[kr,lr],[Ut,lr],[Ut,qr]],Gt.xmin=Dt?Ut:Math.min(kr,Ut),Gt.xmax=Dt?Ut:Math.max(kr,Ut),Gt.ymin=Math.min(qr,lr),Gt.ymax=Math.max(qr,lr),Br.attr("d","M"+Gt.xmin+","+(Mt-G)+"h-4v"+2*G+"h4ZM"+(Gt.xmax-1)+","+(Mt-G)+"h4v"+2*G+"h-4Z")):Vr==="v"?(Gt=Dt?l(dr,[qr,Ht],[lr,Ht]):[[qr,Mt],[qr,Ht],[lr,Ht],[lr,Mt]],Gt.xmin=Math.min(qr,lr),Gt.xmax=Math.max(qr,lr),Gt.ymin=Dt?Ht:Math.min(Mt,Ht),Gt.ymax=Dt?Ht:Math.max(Mt,Ht),Br.attr("d","M"+(kr-G)+","+Gt.ymin+"v-4h"+2*G+"v4ZM"+(kr-G)+","+(Gt.ymax-1)+"v4h"+2*G+"v-4Z")):Vr==="d"&&(Gt=Dt?l(dr,[kr,Mt],[Ut,Ht]):[[kr,Mt],[kr,Ht],[Ut,Ht],[Ut,Mt]],Gt.xmin=Math.min(kr,Ut),Gt.xmax=Math.max(kr,Ut),Gt.ymin=Math.min(Mt,Ht),Gt.ymax=Math.max(Mt,Ht),Br.attr("d","M0,0Z"))}else je&&(tt.addPt([Ut,Ht]),Gt=tt.filtered);if(ve.selectionDefs&&ve.selectionDefs.length?(Wt=Te(ve.mergedPolygons,Gt,Fr),Gt.subtract=Fr,et=K(ve.selectionDefs.concat([Gt]))):(Wt=[Gt],et=H(Gt)),h(Xe(Wt,ct),br,ve),kt){var zn=He($t,!1),gn=zn.eventData?zn.eventData.points.slice():[];zn=He($t,!1,et,an,ve),et=zn.selectionTesters,Tr=zn.eventData;var Fn;tt?Fn=tt.filtered:Fn=qe(Wt),o.throttle(cn,F.SELECTDELAY,function(){tn=Je(et,an);for(var fa=tn.slice(),Ma=0;Ma<gn.length;Ma++){for(var Sa=gn[Ma],_a=!1,qn=0;qn<fa.length;qn++)if(fa[qn].curveNumber===Sa.curveNumber&&fa[qn].pointNumber===Sa.pointNumber){_a=!0;break}_a||fa.push(Sa)}fa.length&&(Tr||(Tr={}),Tr.points=fa),Wn(Tr,Fn),it($t,Tr)})}},ve.clickFn=function(En,pa){if(Br.remove(),$t._fullLayout._activeShapeIndex>=0){$t._fullLayout._deactivateShape($t);return}if(!Et){var Qn=vr.clickmode;o.done(cn).then(function(){if(o.clear(cn),En===2){for(br.remove(),or=0;or<an.length;or++)wr=an[or],wr._module.selectPoints(wr,!1);if(Ye($t,an),te(ve),_e($t),an.length){var _r=an[0].xaxis,Vr=an[0].yaxis;if(_r&&Vr){for(var qr=[],lr=$t._fullLayout.selections,dn=0;dn<lr.length;dn++){var zn=lr[dn];zn&&(zn.xref!==_r._id||zn.yref!==Vr._id)&&qr.push(zn)}qr.length<lr.length&&($t._fullLayout._noEmitSelectedAtStart=!0,a.call("_guiRelayout",$t,{selections:qr}))}}}else Qn.indexOf("select")>-1&&ue(pa,$t,ve.xaxes,ve.yaxes,ve.subplot,ve,br),Qn==="event"&&Ue($t,void 0);d.click($t,pa,cr.id)}).catch(T.error)}},ve.doneFn=function(){Br.remove(),o.done(cn).then(function(){o.clear(cn),!Pr&&Gt&&ve.selectionDefs&&(Gt.subtract=Fr,ve.selectionDefs.push(Gt),ve.mergedPolygons.length=0,[].push.apply(ve.mergedPolygons,Wt)),(Pr||Et)&&te(ve,Pr),ve.doneFnCompleted&&ve.doneFnCompleted(tn),kt&&Ue($t,Tr)}).catch(T.error)}}function ue(Ze,Fe,Ce,ve,Ie,Ae,je){var ot=Fe._hoverdata,ct=Fe._fullLayout,Et=ct.clickmode,kt=Et.indexOf("event")>-1,nr=[],dr,Dt,$t,vr,Pr,Ct,ir,cr,Or,kr;if(me(ot)){J(Ze,Fe,Ae),dr=ce(Fe,Ce,ve,Ie);var Mt=we(ot,dr),yt=Mt.pointNumbers.length>0;if(yt?Ee(dr,Mt):We(dr)&&(ir=Se(Mt))){for(je&&je.remove(),kr=0;kr<dr.length;kr++)Dt=dr[kr],Dt._module.selectPoints(Dt,!1);Ye(Fe,dr),te(Ae),kt&&_e(Fe)}else{cr=Ze.shiftKey&&(ir!==void 0?ir:Se(Mt)),$t=pe(Mt.pointNumber,Mt.searchInfo,cr);var Rt=Ae.selectionDefs.concat([$t]);for(vr=K(Rt),kr=0;kr<dr.length;kr++)if(Pr=dr[kr]._module.selectPoints(dr[kr],vr),Ct=Re(Pr,dr[kr]),nr.length)for(var wt=0;wt<Ct.length;wt++)nr.push(Ct[wt]);else nr=Ct;if(Or={points:nr},Ye(Fe,dr,Or),$t&&Ae&&Ae.selectionDefs.push($t),je){var Ut=Ae.mergedPolygons,Ht=f(Ae.dragmode);h(Xe(Ut,Ht),je,Ae)}kt&&Ue(Fe,Or)}}}function pe(Ze,Fe,Ce){return{pointNumber:Ze,searchInfo:Fe,subtract:!!Ce}}function q(Ze){return"pointNumber"in Ze&&"searchInfo"in Ze}function X(Ze){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(Fe,Ce,ve,Ie){var Ae=Ze.searchInfo.cd[0].trace._expandedIndex,je=Ie.cd[0].trace._expandedIndex;return je===Ae&&ve===Ze.pointNumber},isRect:!1,degenerate:!1,subtract:!!Ze.subtract}}function K(Ze){if(!Ze.length)return;for(var Fe=[],Ce=q(Ze[0])?0:Ze[0][0][0],ve=Ce,Ie=q(Ze[0])?0:Ze[0][0][1],Ae=Ie,je=0;je<Ze.length;je++)if(q(Ze[je]))Fe.push(X(Ze[je]));else{var ot=H(Ze[je]);ot.subtract=!!Ze[je].subtract,Fe.push(ot),Ce=Math.min(Ce,ot.xmin),ve=Math.max(ve,ot.xmax),Ie=Math.min(Ie,ot.ymin),Ae=Math.max(Ae,ot.ymax)}function ct(Et,kt,nr,dr){for(var Dt=!1,$t=0;$t<Fe.length;$t++)Fe[$t].contains(Et,kt,nr,dr)&&(Dt=!Fe[$t].subtract);return Dt}return{xmin:Ce,xmax:ve,ymin:Ie,ymax:Ae,pts:[],contains:ct,isRect:!1,degenerate:!1}}function J(Ze,Fe,Ce){var ve=Fe._fullLayout,Ie=Ce.plotinfo,Ae=Ce.dragmode,je=ve._lastSelectedSubplot&&ve._lastSelectedSubplot===Ie.id,ot=(Ze.shiftKey||Ze.altKey)&&!(n(Ae)&&f(Ae));je&&ot&&Ie.selection&&Ie.selection.selectionDefs&&!Ce.selectionDefs?(Ce.selectionDefs=Ie.selection.selectionDefs,Ce.mergedPolygons=Ie.selection.mergedPolygons):(!ot||!Ie.selection)&&te(Ce),je||(S(Fe),ve._lastSelectedSubplot=Ie.id)}function re(Ze){return Ze._fullLayout._activeShapeIndex>=0}function fe(Ze){return Ze._fullLayout._activeSelectionIndex>=0}function te(Ze,Fe){var Ce=Ze.dragmode,ve=Ze.plotinfo,Ie=Ze.gd;re(Ie)&&Ie._fullLayout._deactivateShape(Ie),fe(Ie)&&Ie._fullLayout._deactivateSelection(Ie);var Ae=Ie._fullLayout,je=Ae._zoomlayer,ot=n(Ce),ct=c(Ce);if(ot||ct){var Et=je.selectAll(".select-outline-"+ve.id);if(Et&&Ie._fullLayout._outlining){var kt;ot&&(kt=C(Et,Ze)),kt&&a.call("_guiRelayout",Ie,{shapes:kt});var nr;ct&&!Q(Ze)&&(nr=M(Et,Ze)),nr&&(Ie._fullLayout._noEmitSelectedAtStart=!0,a.call("_guiRelayout",Ie,{selections:nr}).then(function(){Fe&&D(Ie)})),Ie._fullLayout._outlining=!1}}ve.selection={},ve.selection.selectionDefs=Ze.selectionDefs=[],ve.selection.mergedPolygons=Ze.mergedPolygons=[]}function ee(Ze){return Ze._id}function ce(Ze,Fe,Ce,ve){if(!Ze.calcdata)return[];var Ie=[],Ae=Fe.map(ee),je=Ce.map(ee),ot,ct,Et;for(Et=0;Et<Ze.calcdata.length;Et++)if(ot=Ze.calcdata[Et],ct=ot[0].trace,!(ct.visible!==!0||!ct._module||!ct._module.selectPoints))if(Q({subplot:ve})&&(ct.subplot===ve||ct.geo===ve))Ie.push(le(ct._module,ot,Fe[0],Ce[0]));else if(ct.type==="splom"){if(ct._xaxes[Ae[0]]&&ct._yaxes[je[0]]){var kt=le(ct._module,ot,Fe[0],Ce[0]);kt.scene=Ze._fullLayout._splomScenes[ct.uid],Ie.push(kt)}}else if(ct.type==="sankey"){var nr=le(ct._module,ot,Fe[0],Ce[0]);Ie.push(nr)}else{if(Ae.indexOf(ct.xaxis)===-1||je.indexOf(ct.yaxis)===-1)continue;Ie.push(le(ct._module,ot,k(Ze,ct.xaxis),k(Ze,ct.yaxis)))}return Ie}function le(Ze,Fe,Ce,ve){return{_module:Ze,cd:Fe,xaxis:Ce,yaxis:ve}}function me(Ze){return Ze&&Array.isArray(Ze)&&Ze[0].hoverOnBox!==!0}function we(Ze,Fe){var Ce=Ze[0],ve=-1,Ie=[],Ae,je;for(je=0;je<Fe.length;je++)if(Ae=Fe[je],Ce.fullData._expandedIndex===Ae.cd[0].trace._expandedIndex){if(Ce.hoverOnBox===!0)break;Ce.pointNumber!==void 0?ve=Ce.pointNumber:Ce.binNumber!==void 0&&(ve=Ce.binNumber,Ie=Ce.pointNumbers);break}return{pointNumber:ve,pointNumbers:Ie,searchInfo:Ae}}function Se(Ze){var Fe=Ze.searchInfo.cd[0].trace,Ce=Ze.pointNumber,ve=Ze.pointNumbers,Ie=ve.length>0,Ae=Ie?ve[0]:Ce;return Fe.selectedpoints?Fe.selectedpoints.indexOf(Ae)>-1:!1}function Ee(Ze,Fe){var Ce=[],ve,Ie,Ae,je;for(je=0;je<Ze.length;je++)ve=Ze[je],ve.cd[0].trace.selectedpoints&&ve.cd[0].trace.selectedpoints.length>0&&Ce.push(ve);if(Ce.length===1&&(Ae=Ce[0]===Fe.searchInfo,Ae&&(Ie=Fe.searchInfo.cd[0].trace,Ie.selectedpoints.length===Fe.pointNumbers.length))){for(je=0;je<Fe.pointNumbers.length;je++)if(Ie.selectedpoints.indexOf(Fe.pointNumbers[je])<0)return!1;return!0}return!1}function We(Ze){var Fe=0,Ce,ve,Ie;for(Ie=0;Ie<Ze.length;Ie++)if(Ce=Ze[Ie],ve=Ce.cd[0].trace,ve.selectedpoints&&(ve.selectedpoints.length>1||(Fe+=ve.selectedpoints.length,Fe>1)))return!1;return Fe===1}function Ye(Ze,Fe,Ce){var ve;for(ve=0;ve<Fe.length;ve++){var Ie=Fe[ve].cd[0].trace._fullInput,Ae=Ze._fullLayout._tracePreGUI[Ie.uid]||{};Ae.selectedpoints===void 0&&(Ae.selectedpoints=Ie._input.selectedpoints||null)}var je;if(Ce){var ot=Ce.points||[];for(ve=0;ve<Fe.length;ve++)je=Fe[ve].cd[0].trace,je._input.selectedpoints=je._fullInput.selectedpoints=[],je._fullInput!==je&&(je.selectedpoints=[]);for(var ct=0;ct<ot.length;ct++){var Et=ot[ct],kt=Et.data,nr=Et.fullData,dr=Et.pointIndex,Dt=Et.pointIndices;Dt?([].push.apply(kt.selectedpoints,Dt),je._fullInput!==je&&[].push.apply(nr.selectedpoints,Dt)):(kt.selectedpoints.push(dr),je._fullInput!==je&&nr.selectedpoints.push(dr))}}else for(ve=0;ve<Fe.length;ve++)je=Fe[ve].cd[0].trace,delete je.selectedpoints,delete je._input.selectedpoints,je._fullInput!==je&&delete je._fullInput.selectedpoints;De(Ze,Fe)}function De(Ze,Fe){for(var Ce=!1,ve=0;ve<Fe.length;ve++){var Ie=Fe[ve],Ae=Ie.cd;a.traceIs(Ae[0].trace,"regl")&&(Ce=!0);var je=Ie._module,ot=je.styleOnSelect||je.style;ot&&(ot(Ze,Ae,Ae[0].node3),Ae[0].nodeRangePlot3&&ot(Ze,Ae,Ae[0].nodeRangePlot3))}Ce&&(w(Ze),U(Ze))}function Te(Ze,Fe,Ce){for(var ve=Ce?p.difference:p.union,Ie=ve({regions:Ze},{regions:[Fe]}),Ae=Ie.regions.reverse(),je=0;je<Ae.length;je++){var ot=Ae[je];ot.subtract=Ne(ot,Ae.slice(0,je))}return Ae}function Re(Ze,Fe){if(Array.isArray(Ze))for(var Ce=Fe.cd,ve=Fe.cd[0].trace,Ie=0;Ie<Ze.length;Ie++)Ze[Ie]=m(Ze[Ie],ve,Ce);return Ze}function Xe(Ze,Fe){for(var Ce=[],ve=0;ve<Ze.length;ve++){Ce[ve]=[];for(var Ie=0;Ie<Ze[ve].length;Ie++){Ce[ve][Ie]=[],Ce[ve][Ie][0]=Ie?"L":"M";for(var Ae=0;Ae<Ze[ve][Ie].length;Ae++)Ce[ve][Ie].push(Ze[ve][Ie][Ae])}Fe||Ce[ve].push(["Z",Ce[ve][0][1],Ce[ve][0][2]])}return Ce}function Je(Ze,Fe){for(var Ce=[],ve,Ie,Ae=0;Ae<Fe.length;Ae++){var je=Fe[Ae];Ie=je._module.selectPoints(je,Ze),ve=Re(Ie,je),Ce=Ce.concat(ve)}return Ce}function He(Ze,Fe,Ce,ve,Ie){var Ae=!!ve,je,ot,ct;Ie&&(je=Ie.plotinfo,ot=Ie.xaxes[0]._id,ct=Ie.yaxes[0]._id);var Et=[],kt=[],nr=ke(Ze),dr=Ze._fullLayout;if(je){var Dt=dr._zoomlayer,$t=dr.dragmode,vr=n($t),Pr=c($t);if(vr||Pr){var Ct=k(Ze,ot,"x"),ir=k(Ze,ct,"y");if(Ct&&ir){var cr=Dt.selectAll(".select-outline-"+je.id);if(cr&&Ze._fullLayout._outlining&&cr.length){for(var Or=cr[0][0],kr=Or.getAttribute("d"),Mt=g(kr,Ze,je),yt=[],Rt=0;Rt<Mt.length;Rt++){for(var wt=Mt[Rt],Ut=[],Ht=0;Ht<wt.length;Ht++)Ut.push([gt(Ct,wt[Ht][1]),gt(ir,wt[Ht][2])]);Ut.xref=ot,Ut.yref=ct,Ut.subtract=Ne(Ut,yt),yt.push(Ut)}nr=nr.concat(yt)}}}}var Qt=ot&&ct?[ot+ct]:dr._subplots.cartesian;$e(Ze);for(var qt={},ur=0;ur<Qt.length;ur++){var Cr=Qt[ur],mr=Cr.indexOf("y"),Fr=Cr.slice(0,mr),tt=Cr.slice(mr),et=ot&&ct?Ce:void 0;if(et=lt(nr,Fr,tt,et),et){var Wt=ve;if(!Ae){var Gt=k(Ze,Fr,"x"),or=k(Ze,tt,"y");Wt=ce(Ze,[Gt],[or],Cr);for(var wr=0;wr<Wt.length;wr++){var Tr=Wt[wr],br=Tr.cd[0],Kt=br.trace;if(Tr._module.name==="scattergl"&&!br.t.xpx){var Ir=Kt.x,Lr=Kt.y,Br=Kt._length;br.t.xpx=[],br.t.ypx=[];for(var zr=0;zr<Br;zr++)br.t.xpx[zr]=Gt.c2p(Ir[zr]),br.t.ypx[zr]=or.c2p(Lr[zr])}Tr._module.name==="splom"&&(qt[Kt.uid]||(qt[Kt.uid]=!0))}}var cn=Je(et,Wt);Et=Et.concat(cn),kt=kt.concat(Wt)}}var tn={points:Et};Ye(Ze,kt,tn);var an=dr.clickmode,Wn=an.indexOf("event")>-1&&Fe;if(!je&&Fe){var En=ke(Ze,!0);if(En.length){var pa=En[0].xref,Qn=En[0].yref;if(pa&&Qn){var _r=qe(En),Vr=Bt([k(Ze,pa,"x"),k(Ze,Qn,"y")]);Vr(tn,_r)}}Ze._fullLayout._noEmitSelectedAtStart?Ze._fullLayout._noEmitSelectedAtStart=!1:Wn&&Ue(Ze,tn),dr._reselect=!1}if(!je&&dr._deselect){var qr=dr._deselect;ot=qr.xref,ct=qr.yref,pt(ot,ct,kt)||ut(Ze,ot,ct,ve),Wn&&(tn.points.length?Ue(Ze,tn):_e(Ze)),dr._deselect=!1}return{eventData:tn,selectionTesters:Ce}}function $e(Ze){var Fe=Ze.calcdata;if(Fe)for(var Ce=0;Ce<Fe.length;Ce++){var ve=Fe[Ce][0],Ie=ve.trace,Ae=Ze._fullLayout._splomScenes;if(Ae){var je=Ae[Ie.uid];je&&(je.selectBatch=[])}}}function pt(Ze,Fe,Ce){for(var ve=0;ve<Ce.length;ve++){var Ie=Ce[ve];if(Ie.xaxis&&Ie.xaxis._id===Ze&&Ie.yaxis&&Ie.yaxis._id===Fe)return!0}return!1}function ut(Ze,Fe,Ce,ve){ve=ce(Ze,[k(Ze,Fe,"x")],[k(Ze,Ce,"y")],Fe+Ce);for(var Ie=0;Ie<ve.length;Ie++){var Ae=ve[Ie];Ae._module.selectPoints(Ae,!1)}Ye(Ze,ve)}function lt(Ze,Fe,Ce,ve){for(var Ie,Ae=0;Ae<Ze.length;Ae++){var je=Ze[Ae];if(!(Fe!==je.xref||Ce!==je.yref))if(Ie){var ot=!!je.subtract;Ie=Te(Ie,je,ot),ve=K(Ie)}else Ie=[je],ve=H(je)}return ve}function ke(Ze,Fe){for(var Ce=[],ve=Ze._fullLayout,Ie=ve.selections,Ae=Ie.length,je=0;je<Ae;je++)if(!(Fe&&je!==ve._activeSelectionIndex)){var ot=Ie[je];if(ot){var ct=ot.xref,Et=ot.yref,kt=k(Ze,ct,"x"),nr=k(Ze,Et,"y"),dr,Dt,$t,vr,Pr;if(ot.type==="rect"){Pr=[];var Ct=gt(kt,ot.x0),ir=gt(kt,ot.x1),cr=gt(nr,ot.y0),Or=gt(nr,ot.y1);Pr=[[Ct,cr],[Ct,Or],[ir,Or],[ir,cr]],dr=Math.min(Ct,ir),Dt=Math.max(Ct,ir),$t=Math.min(cr,Or),vr=Math.max(cr,Or),Pr.xmin=dr,Pr.xmax=Dt,Pr.ymin=$t,Pr.ymax=vr,Pr.xref=ct,Pr.yref=Et,Pr.subtract=!1,Pr.isRect=!0,Ce.push(Pr)}else if(ot.type==="path")for(var kr=ot.path.split("Z"),Mt=[],yt=0;yt<kr.length;yt++){var Rt=kr[yt];if(Rt){Rt+="Z";var wt=u.extractPathCoords(Rt,b.paramIsX,"raw"),Ut=u.extractPathCoords(Rt,b.paramIsY,"raw");dr=1/0,Dt=-1/0,$t=1/0,vr=-1/0,Pr=[];for(var Ht=0;Ht<wt.length;Ht++){var Qt=gt(kt,wt[Ht]),qt=gt(nr,Ut[Ht]);Pr.push([Qt,qt]),dr=Math.min(Qt,dr),Dt=Math.max(Qt,Dt),$t=Math.min(qt,$t),vr=Math.max(qt,vr)}Pr.xmin=dr,Pr.xmax=Dt,Pr.ymin=$t,Pr.ymax=vr,Pr.xref=ct,Pr.yref=Et,Pr.subtract=Ne(Pr,Mt),Mt.push(Pr),Ce.push(Pr)}}}}return Ce}function Ne(Ze,Fe){for(var Ce=!1,ve=0;ve<Fe.length;ve++)for(var Ie=Fe[ve],Ae=0;Ae<Ze.length;Ae++)if(E(Ze[Ae],Ie)){Ce=!Ce;break}return Ce}function gt(Ze,Fe){return Ze.type==="date"&&(Fe=Fe.replace("_"," ")),Ze.type==="log"?Ze.c2p(Fe):Ze.r2p(Fe,null,Ze.calendar)}function qe(Ze){for(var Fe=Ze.length,Ce=[],ve=0;ve<Fe;ve++){var Ie=Ze[ve];Ce=Ce.concat(Ie),Ce=Ce.concat([Ie[0]])}return vt(Ce)}function vt(Ze){return Ze.isRect=Ze.length===5&&Ze[0][0]===Ze[4][0]&&Ze[0][1]===Ze[4][1]&&Ze[0][0]===Ze[1][0]&&Ze[2][0]===Ze[3][0]&&Ze[0][1]===Ze[3][1]&&Ze[1][1]===Ze[2][1]||Ze[0][1]===Ze[1][1]&&Ze[2][1]===Ze[3][1]&&Ze[0][0]===Ze[3][0]&&Ze[1][0]===Ze[2][0],Ze.isRect&&(Ze.xmin=Math.min(Ze[0][0],Ze[2][0]),Ze.xmax=Math.max(Ze[0][0],Ze[2][0]),Ze.ymin=Math.min(Ze[0][1],Ze[2][1]),Ze.ymax=Math.max(Ze[0][1],Ze[2][1])),Ze}function Bt(Ze){return function(Fe,Ce){for(var ve,Ie,Ae=0;Ae<Ze.length;Ae++){var je=Ze[Ae],ot=je._id,ct=ot.charAt(0);if(Ce.isRect){ve||(ve={});var Et=Ce[ct+"min"],kt=Ce[ct+"max"];Et!==void 0&&kt!==void 0&&(ve[ot]=[N(je,Et),N(je,kt)].sort(P))}else Ie||(Ie={}),Ie[ot]=Ce.map(W(je))}ve&&(Fe.range=ve),Ie&&(Fe.lassoPoints=Ie)}}function Yt(Ze){var Fe=Ze.plotinfo;return Fe.fillRangeItems||Bt(Ze.xaxes.concat(Ze.yaxes))}function it(Ze,Fe){Ze.emit("plotly_selecting",Fe)}function Ue(Ze,Fe){Fe&&(Fe.selections=(Ze.layout||{}).selections||[]),Ze.emit("plotly_selected",Fe)}function _e(Ze){Ze.emit("plotly_deselect",null)}B.exports={reselect:He,prepSelect:ie,clearOutline:S,clearSelectionsCache:te,selectOnClick:ue}},89827:function(B,O,e){var p=e(50215),E=e(41940),a=e(82196).line,L=e(79952).P,x=e(1426).extendFlat,d=e(44467).templatedArray;e(24695);var m=e(9012),r=e(5386).R,t=e(37281);B.exports=d("shape",{visible:x({},m.visible,{editType:"calc+arraydraw"}),showlegend:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},legend:x({},m.legend,{editType:"calc+arraydraw"}),legendgroup:x({},m.legendgroup,{editType:"calc+arraydraw"}),legendgrouptitle:{text:x({},m.legendgrouptitle.text,{editType:"calc+arraydraw"}),font:E({editType:"calc+arraydraw"}),editType:"calc+arraydraw"},legendrank:x({},m.legendrank,{editType:"calc+arraydraw"}),legendwidth:x({},m.legendwidth,{editType:"calc+arraydraw"}),type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:x({},p.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:x({},p.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:x({},a.color,{editType:"arraydraw"}),width:x({},a.width,{editType:"calc+arraydraw"}),dash:x({},L,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:r({},{keys:Object.keys(t)}),font:E({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(B,O,e){var p=e(71828),E=e(89298),a=e(21459),L=e(30477);B.exports=function(s){var n=s._fullLayout,f=p.filterVisible(n.shapes);if(!(!f.length||!s._fullData.length))for(var c=0;c<f.length;c++){var u=f[c];u._extremes={};var b,h,S=E.getRefType(u.xref),v=E.getRefType(u.yref);if(u.xref!=="paper"&&S!=="domain"){var l=u.xsizemode==="pixel"?u.xanchor:u.x0,g=u.xsizemode==="pixel"?u.xanchor:u.x1;b=E.getFromId(s,u.xref),h=r(b,l,g,u.path,a.paramIsX),h&&(u._extremes[b._id]=E.findExtremes(b,h,x(u)))}if(u.yref!=="paper"&&v!=="domain"){var C=u.ysizemode==="pixel"?u.yanchor:u.y0,M=u.ysizemode==="pixel"?u.yanchor:u.y1;b=E.getFromId(s,u.yref),h=r(b,C,M,u.path,a.paramIsY),h&&(u._extremes[b._id]=E.findExtremes(b,h,d(u)))}}};function x(t){return m(t.line.width,t.xsizemode,t.x0,t.x1,t.path,!1)}function d(t){return m(t.line.width,t.ysizemode,t.y0,t.y1,t.path,!0)}function m(t,s,n,f,c,u){var b=t/2,h=u;if(s==="pixel"){var S=c?L.extractPathCoords(c,u?a.paramIsY:a.paramIsX):[n,f],v=p.aggNums(Math.max,null,S),l=p.aggNums(Math.min,null,S),g=l<0?Math.abs(l)+b:b,C=v>0?v+b:b;return{ppad:b,ppadplus:h?g:C,ppadminus:h?C:g}}else return{ppad:b}}function r(t,s,n,f,c){var u=t.type==="category"||t.type==="multicategory"?t.r2c:t.d2c;if(s!==void 0)return[u(s),u(n)];if(f){var b=1/0,h=-1/0,S=f.match(a.segmentRE),v,l,g,C,M;for(t.type==="date"&&(u=L.decodeDate(u)),v=0;v<S.length;v++)l=S[v],g=c[l.charAt(0)].drawn,g!==void 0&&(C=S[v].substr(1).match(a.paramRE),!(!C||C.length<g)&&(M=u(C[g]),M<b&&(b=M),M>h&&(h=M)));if(h>=b)return[b,h]}}},21459:function(B){B.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},84726:function(B,O,e){var p=e(71828),E=e(89298),a=e(85501),L=e(89827),x=e(30477);B.exports=function(t,s){a(t,s,{name:"shapes",handleItemDefaults:m})};function d(r,t){return r?"bottom":t.indexOf("top")!==-1?"top":t.indexOf("bottom")!==-1?"bottom":"middle"}function m(r,t,s){function n(q,X){return p.coerce(r,t,L,q,X)}t._isShape=!0;var f=n("visible");if(f){var c=n("showlegend");c&&(n("legend"),n("legendwidth"),n("legendgroup"),n("legendgrouptitle.text"),p.coerceFont(n,"legendgrouptitle.font"),n("legendrank"));var u=n("path"),b=u?"path":"rect",h=n("type",b),S=h!=="path";S&&delete t.path,n("editable"),n("layer"),n("opacity"),n("fillcolor"),n("fillrule");var v=n("line.width");v&&(n("line.color"),n("line.dash"));for(var l=n("xsizemode"),g=n("ysizemode"),C=["x","y"],M=0;M<2;M++){var D=C[M],T=D+"anchor",P=D==="x"?l:g,A={_fullLayout:s},o,k,w,U=E.coerceRef(r,t,A,D,void 0,"paper"),F=E.getRefType(U);if(F==="range"?(o=E.getFromId(A,U),o._shapeIndices.push(t._index),w=x.rangeToShapePosition(o),k=x.shapePositionToRange(o)):k=w=p.identity,S){var G=.25,_=.75,H=D+"0",V=D+"1",N=r[H],W=r[V];r[H]=k(r[H],!0),r[V]=k(r[V],!0),P==="pixel"?(n(H,0),n(V,10)):(E.coercePosition(t,A,n,U,H,G),E.coercePosition(t,A,n,U,V,_)),t[H]=w(t[H]),t[V]=w(t[V]),r[H]=N,r[V]=W}if(P==="pixel"){var j=r[T];r[T]=k(r[T],!0),E.coercePosition(t,A,n,U,T,.25),t[T]=w(t[T]),r[T]=j}}S&&p.noneOrAll(r,t,["x0","x1","y0","y1"]);var Q=h==="line",ie,ue;if(S&&(ie=n("label.texttemplate")),ie||(ue=n("label.text")),ue||ie){n("label.textangle");var pe=n("label.textposition",Q?"middle":"middle center");n("label.xanchor"),n("label.yanchor",d(Q,pe)),n("label.padding"),p.coerceFont(n,"label.font",s.font)}}}},48100:function(B,O,e){var p=e(71828),E=e(89298),a=e(63893),L=e(91424),x=e(60165).readPaths,d=e(30477),m=d.getPathString,r=e(37281),t=e(18783).FROM_TL;B.exports=function(c,u,b,h){if(h.selectAll(".shape-label").remove(),!!(b.label.text||b.label.texttemplate)){var S;if(b.label.texttemplate){var v={};if(b.type!=="path"){var l=E.getFromId(c,b.xref),g=E.getFromId(c,b.yref);for(var C in r){var M=r[C](b,l,g);M!==void 0&&(v[C]=M)}}S=p.texttemplateStringForShapes(b.label.texttemplate,{},c._fullLayout._d3locale,v)}else S=b.label.text;var D={"data-index":u},T=b.label.font,P={"data-notex":1},A=h.append("g").attr(D).classed("shape-label",!0),o=A.append("text").attr(P).classed("shape-label-text",!0).text(S),k,w,U,F;if(b.path){var G=m(c,b),_=x(G,c);k=1/0,U=1/0,w=-1/0,F=-1/0;for(var H=0;H<_.length;H++)for(var V=0;V<_[H].length;V++)for(var N=_[H][V],W=1;W<N.length;W+=2){var j=N[W],Q=N[W+1];k=Math.min(k,j),w=Math.max(w,j),U=Math.min(U,Q),F=Math.max(F,Q)}}else{var ie=E.getFromId(c,b.xref),ue=E.getRefType(b.xref),pe=E.getFromId(c,b.yref),q=E.getRefType(b.yref),X=d.getDataToPixel(c,ie,!1,ue),K=d.getDataToPixel(c,pe,!0,q);k=X(b.x0),w=X(b.x1),U=K(b.y0),F=K(b.y1)}var J=b.label.textangle;J==="auto"&&(b.type==="line"?J=s(k,U,w,F):J=0),o.call(function(le){return le.call(L.font,T).attr({}),a.convertToTspans(le,c),le});var re=L.bBox(o.node()),fe=n(k,U,w,F,b,J,re),te=fe.textx,ee=fe.texty,ce=fe.xanchor;o.attr({"text-anchor":{left:"start",center:"middle",right:"end"}[ce],y:ee,x:te,transform:"rotate("+J+","+te+","+ee+")"}).call(a.positionText,te,ee)}};function s(f,c,u,b){var h,S;return S=Math.abs(u-f),u>=f?h=c-b:h=b-c,-180/Math.PI*Math.atan2(h,S)}function n(f,c,u,b,h,S,v){var l=h.label.textposition,g=h.label.textangle,C=h.label.padding,M=h.type,D=Math.PI/180*S,T=Math.sin(D),P=Math.cos(D),A=h.label.xanchor,o=h.label.yanchor,k,w,U,F;if(M==="line"){l==="start"?(k=f,w=c):l==="end"?(k=u,w=b):(k=(f+u)/2,w=(c+b)/2),A==="auto"&&(l==="start"?g==="auto"?u>f?A="left":u<f?A="right":A="center":u>f?A="right":u<f?A="left":A="center":l==="end"?g==="auto"?u>f?A="right":u<f?A="left":A="center":u>f?A="left":u<f?A="right":A="center":A="center");var G={left:1,center:0,right:-1},_={bottom:-1,middle:0,top:1};if(g==="auto"){var H=_[o];U=-C*T*H,F=C*P*H}else{var V=G[A],N=_[o];U=C*V,F=C*N}k=k+U,w=w+F}else U=C+3,l.indexOf("right")!==-1?(k=Math.max(f,u)-U,A==="auto"&&(A="right")):l.indexOf("left")!==-1?(k=Math.min(f,u)+U,A==="auto"&&(A="left")):(k=(f+u)/2,A==="auto"&&(A="center")),l.indexOf("top")!==-1?w=Math.min(c,b):l.indexOf("bottom")!==-1?w=Math.max(c,b):w=(c+b)/2,F=C,o==="bottom"?w=w-F:o==="top"&&(w=w+F);var W=t[o],j=h.label.font.size,Q=v.height,ie=(Q*W-j)*T,ue=-(Q*W-j)*P;return{textx:k+ie,texty:w+ue,xanchor:A}}},42359:function(B,O,e){var p=e(71828),E=p.strTranslate,a=e(28569),L=e(64505),x=L.drawMode,d=L.selectMode,m=e(73972),r=e(7901),t=e(89995),s=t.i000,n=t.i090,f=t.i180,c=t.i270,u=e(51873),b=u.clearOutlineControllers,h=e(60165),S=h.pointsOnRectangle,v=h.pointsOnEllipse,l=h.writePaths,g=e(90551).newShapes,C=e(90551).createShapeObj,M=e(35855),D=e(48100);B.exports=function o(k,w,U,F){F||(F=0);var G=U.gd;function _(){o(k,w,U,F++),(v(k[0])||U.hasText)&&H({redrawing:!0})}function H(Te){var Re={};U.isActiveShape!==void 0&&(U.isActiveShape=!1,Re=g(w,U)),U.isActiveSelection!==void 0&&(U.isActiveSelection=!1,Re=M(w,U),G._fullLayout._reselect=!0),Object.keys(Re).length&&m.call((Te||{}).redrawing?"relayout":"_guiRelayout",G,Re)}var V=G._fullLayout,N=V._zoomlayer,W=U.dragmode,j=x(W),Q=d(W);(j||Q)&&(G._fullLayout._outlining=!0),b(G),w.attr("d",l(k));var ie,ue,pe,q,X;if(!F&&(U.isActiveShape||U.isActiveSelection)){X=T([],k);var K=N.append("g").attr("class","outline-controllers");me(K),De()}if(j&&U.hasText){var J=N.select(".label-temp"),re=C(w,U,U.dragmode);D(G,"label-temp",re,J)}function fe(Te){pe=+Te.srcElement.getAttribute("data-i"),q=+Te.srcElement.getAttribute("data-j"),ie[pe][q].moveFn=te}function te(Te,Re){if(k.length){var Xe=X[pe][q][1],Je=X[pe][q][2],He=k[pe],$e=He.length;if(S(He)){var pt=Te,ut=Re;if(U.isActiveSelection){var lt=P(He,q);lt[1]===He[q][1]?ut=0:pt=0}for(var ke=0;ke<$e;ke++)if(ke!==q){var Ne=He[ke];Ne[1]===He[q][1]&&(Ne[1]=Xe+pt),Ne[2]===He[q][2]&&(Ne[2]=Je+ut)}if(He[q][1]=Xe+pt,He[q][2]=Je+ut,!S(He))for(var gt=0;gt<$e;gt++)for(var qe=0;qe<He[gt].length;qe++)He[gt][qe]=X[pe][gt][qe]}else He[q][1]=Xe+Te,He[q][2]=Je+Re;_()}}function ee(){H()}function ce(){if(k.length&&k[pe]&&k[pe].length){for(var Te=[],Re=0;Re<k[pe].length;Re++)Re!==q&&Te.push(k[pe][Re]);Te.length>1&&!(Te.length===2&&Te[1][0]==="Z")&&(q===0&&(Te[0][0]="M"),k[pe]=Te,_(),H())}}function le(Te,Re){if(Te===2){pe=+Re.srcElement.getAttribute("data-i"),q=+Re.srcElement.getAttribute("data-j");var Xe=k[pe];!S(Xe)&&!v(Xe)&&ce()}}function me(Te){ie=[];for(var Re=0;Re<k.length;Re++){var Xe=k[Re],Je=S(Xe),He=!Je&&v(Xe);ie[Re]=[];for(var $e=Xe.length,pt=0;pt<$e;pt++)if(Xe[pt][0]!=="Z"&&!(He&&pt!==s&&pt!==n&&pt!==f&&pt!==c)){var ut=Je&&U.isActiveSelection,lt;ut&&(lt=P(Xe,pt));var ke=Xe[pt][1],Ne=Xe[pt][2],gt=Te.append(ut?"rect":"circle").attr("data-i",Re).attr("data-j",pt).style({fill:r.background,stroke:r.defaultLine,"stroke-width":1,"shape-rendering":"crispEdges"});if(ut){var qe=lt[1]-ke,vt=lt[2]-Ne,Bt=vt?5:Math.max(Math.min(25,Math.abs(qe)-5),5),Yt=qe?5:Math.max(Math.min(25,Math.abs(vt)-5),5);gt.classed(vt?"cursor-ew-resize":"cursor-ns-resize",!0).attr("width",Bt).attr("height",Yt).attr("x",ke-Bt/2).attr("y",Ne-Yt/2).attr("transform",E(qe/2,vt/2))}else gt.classed("cursor-grab",!0).attr("r",5).attr("cx",ke).attr("cy",Ne);ie[Re][pt]={element:gt.node(),gd:G,prepFn:fe,doneFn:ee,clickFn:le},a.init(ie[Re][pt])}}}function we(Te,Re){if(k.length)for(var Xe=0;Xe<k.length;Xe++)for(var Je=0;Je<k[Xe].length;Je++)for(var He=0;He+2<k[Xe][Je].length;He+=2)k[Xe][Je][He+1]=X[Xe][Je][He+1]+Te,k[Xe][Je][He+2]=X[Xe][Je][He+2]+Re}function Se(Te,Re){we(Te,Re),_()}function Ee(Te){pe=+Te.srcElement.getAttribute("data-i"),pe||(pe=0),ue[pe].moveFn=Se}function We(){H()}function Ye(Te){Te===2&&A(G)}function De(){if(ue=[],!!k.length){var Te=0;ue[Te]={element:w[0][0],gd:G,prepFn:Ee,doneFn:We,clickFn:Ye},a.init(ue[Te])}}};function T(o,k){for(var w=0;w<k.length;w++){var U=k[w];o[w]=[];for(var F=0;F<U.length;F++){o[w][F]=[];for(var G=0;G<U[F].length;G++)o[w][F][G]=U[F][G]}}return o}function P(o,k){var w=o[k][1],U=o[k][2],F=o.length,G,_,H;return G=(k+1)%F,_=o[G][1],H=o[G][2],_===w&&H===U&&(G=(k+2)%F,_=o[G][1],H=o[G][2]),[G,_,H]}function A(o){if(d(o._fullLayout.dragmode)){b(o);var k=o._fullLayout._activeSelectionIndex,w=(o.layout||{}).selections||[];if(k<w.length){for(var U=[],F=0;F<w.length;F++)F!==k&&U.push(w[F]);delete o._fullLayout._activeSelectionIndex;var G=o._fullLayout.selections[k];o._fullLayout._deselect={xref:G.xref,yref:G.yref},m.call("_guiRelayout",o,{selections:U})}}}},34031:function(B,O,e){var p=e(39898),E=e(73972),a=e(71828),L=e(89298),x=e(60165).readPaths,d=e(42359),m=e(48100),r=e(51873).clearOutlineControllers,t=e(7901),s=e(91424),n=e(44467).arrayEditor,f=e(28569),c=e(6964),u=e(21459),b=e(30477),h=b.getPathString;B.exports={draw:S,drawOne:g,eraseActiveShape:A,drawLabel:m};function S(o){var k=o._fullLayout;k._shapeUpperLayer.selectAll("path").remove(),k._shapeLowerLayer.selectAll("path").remove(),k._shapeUpperLayer.selectAll("text").remove(),k._shapeLowerLayer.selectAll("text").remove();for(var w in k._plots){var U=k._plots[w].shapelayer;U&&(U.selectAll("path").remove(),U.selectAll("text").remove())}for(var F=0;F<k.shapes.length;F++)k.shapes[F].visible===!0&&g(o,F)}function v(o){return!!o._fullLayout._outlining}function l(o){return!o._context.edits.shapePosition}function g(o,k){o._fullLayout._paperdiv.selectAll('.shapelayer [data-index="'+k+'"]').remove();var w=b.makeShapesOptionsAndPlotinfo(o,k),U=w.options,F=w.plotinfo;if(!U._input||U.visible!==!0)return;if(U.layer!=="below")_(o._fullLayout._shapeUpperLayer);else if(U.xref==="paper"||U.yref==="paper")_(o._fullLayout._shapeLowerLayer);else if(F._hadPlotinfo){var G=F.mainplotinfo||F;_(G.shapelayer)}else _(o._fullLayout._shapeLowerLayer);function _(H){var V=h(o,U),N={"data-index":k,"fill-rule":U.fillrule,d:V},W=U.opacity,j=U.fillcolor,Q=U.line.width?U.line.color:"rgba(0,0,0,0)",ie=U.line.width,ue=U.line.dash;!ie&&U.editable===!0&&(ie=5,ue="solid");var pe=V[V.length-1]!=="Z",q=l(o)&&U.editable&&o._fullLayout._activeShapeIndex===k;q&&(j=pe?"rgba(0,0,0,0)":o._fullLayout.activeshape.fillcolor,W=o._fullLayout.activeshape.opacity);var X=H.append("g").classed("shape-group",!0).attr({"data-index":k}),K=X.append("path").attr(N).style("opacity",W).call(t.stroke,Q).call(t.fill,j).call(s.dashLine,ue,ie);C(X,o,U),m(o,k,U,X);var J;if((q||o._context.edits.shapePosition)&&(J=n(o.layout,"shapes",U)),q){K.style({cursor:"move"});var re={element:K.node(),plotinfo:F,gd:o,editHelpers:J,hasText:U.label.text||U.label.texttemplate,isActiveShape:!0},fe=x(V,o);d(fe,K,re)}else o._context.edits.shapePosition?M(o,K,U,k,H,J):U.editable===!0&&K.style("pointer-events",pe||t.opacity(j)*W<=.5?"stroke":"all");K.node().addEventListener("click",function(){return T(o,K)})}}function C(o,k,w){var U=(w.xref+w.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");s.setClipUrl(o,U?"clip"+k._fullLayout._uid+U:null,k)}function M(o,k,w,U,F,G){var _=10,H=10,V=w.xsizemode==="pixel",N=w.ysizemode==="pixel",W=w.type==="line",j=w.type==="path",Q=G.modifyItem,ie,ue,pe,q,X,K,J,re,fe,te,ee,ce,le,me,we,Se=p.select(k.node().parentNode),Ee=L.getFromId(o,w.xref),We=L.getRefType(w.xref),Ye=L.getFromId(o,w.yref),De=L.getRefType(w.yref),Te=b.getDataToPixel(o,Ee,!1,We),Re=b.getDataToPixel(o,Ye,!0,De),Xe=b.getPixelToData(o,Ee,!1,We),Je=b.getPixelToData(o,Ye,!0,De),He=ut(),$e={element:He.node(),gd:o,prepFn:Ne,doneFn:gt,clickFn:qe},pt;f.init($e),He.node().onmousemove=ke;function ut(){return W?lt():k}function lt(){var _e=10,Ze=Math.max(w.line.width,_e),Fe=F.append("g").attr("data-index",U).attr("drag-helper",!0);Fe.append("path").attr("d",k.attr("d")).style({cursor:"move","stroke-width":Ze,"stroke-opacity":"0"});var Ce={"fill-opacity":"0"},ve=Math.max(Ze/2,_e);return Fe.append("circle").attr({"data-line-point":"start-point",cx:V?Te(w.xanchor)+w.x0:Te(w.x0),cy:N?Re(w.yanchor)-w.y0:Re(w.y0),r:ve}).style(Ce).classed("cursor-grab",!0),Fe.append("circle").attr({"data-line-point":"end-point",cx:V?Te(w.xanchor)+w.x1:Te(w.x1),cy:N?Re(w.yanchor)-w.y1:Re(w.y1),r:ve}).style(Ce).classed("cursor-grab",!0),Fe}function ke(_e){if(v(o)){pt=null;return}if(W)_e.target.tagName==="path"?pt="move":pt=_e.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Ze=$e.element.getBoundingClientRect(),Fe=Ze.right-Ze.left,Ce=Ze.bottom-Ze.top,ve=_e.clientX-Ze.left,Ie=_e.clientY-Ze.top,Ae=!j&&Fe>_&&Ce>H&&!_e.shiftKey?f.getCursor(ve/Fe,1-Ie/Ce):"move";c(k,Ae),pt=Ae.split("-")[0]}}function Ne(_e){v(o)||(V&&(X=Te(w.xanchor)),N&&(K=Re(w.yanchor)),w.type==="path"?we=w.path:(ie=V?w.x0:Te(w.x0),ue=N?w.y0:Re(w.y0),pe=V?w.x1:Te(w.x1),q=N?w.y1:Re(w.y1)),ie<pe?(fe=ie,le="x0",te=pe,me="x1"):(fe=pe,le="x1",te=ie,me="x0"),!N&&ue<q||N&&ue>q?(J=ue,ee="y0",re=q,ce="y1"):(J=q,ee="y1",re=ue,ce="y0"),ke(_e),Yt(F,w),Ue(k,w,o),$e.moveFn=pt==="move"?vt:Bt,$e.altKey=_e.altKey)}function gt(){v(o)||(c(k),it(F),C(k,o,w),E.call("_guiRelayout",o,G.getUpdateObj()))}function qe(){v(o)||it(F)}function vt(_e,Ze){if(w.type==="path"){var Fe=function(Ie){return Ie},Ce=Fe,ve=Fe;V?Q("xanchor",w.xanchor=Xe(X+_e)):(Ce=function(Ae){return Xe(Te(Ae)+_e)},Ee&&Ee.type==="date"&&(Ce=b.encodeDate(Ce))),N?Q("yanchor",w.yanchor=Je(K+Ze)):(ve=function(Ae){return Je(Re(Ae)+Ze)},Ye&&Ye.type==="date"&&(ve=b.encodeDate(ve))),Q("path",w.path=D(we,Ce,ve))}else V?Q("xanchor",w.xanchor=Xe(X+_e)):(Q("x0",w.x0=Xe(ie+_e)),Q("x1",w.x1=Xe(pe+_e))),N?Q("yanchor",w.yanchor=Je(K+Ze)):(Q("y0",w.y0=Je(ue+Ze)),Q("y1",w.y1=Je(q+Ze)));k.attr("d",h(o,w)),Yt(F,w),m(o,U,w,Se)}function Bt(_e,Ze){if(j){var Fe=function(Ct){return Ct},Ce=Fe,ve=Fe;V?Q("xanchor",w.xanchor=Xe(X+_e)):(Ce=function(ir){return Xe(Te(ir)+_e)},Ee&&Ee.type==="date"&&(Ce=b.encodeDate(Ce))),N?Q("yanchor",w.yanchor=Je(K+Ze)):(ve=function(ir){return Je(Re(ir)+Ze)},Ye&&Ye.type==="date"&&(ve=b.encodeDate(ve))),Q("path",w.path=D(we,Ce,ve))}else if(W){if(pt==="resize-over-start-point"){var Ie=ie+_e,Ae=N?ue-Ze:ue+Ze;Q("x0",w.x0=V?Ie:Xe(Ie)),Q("y0",w.y0=N?Ae:Je(Ae))}else if(pt==="resize-over-end-point"){var je=pe+_e,ot=N?q-Ze:q+Ze;Q("x1",w.x1=V?je:Xe(je)),Q("y1",w.y1=N?ot:Je(ot))}}else{var ct=function(Ct){return pt.indexOf(Ct)!==-1},Et=ct("n"),kt=ct("s"),nr=ct("w"),dr=ct("e"),Dt=Et?J+Ze:J,$t=kt?re+Ze:re,vr=nr?fe+_e:fe,Pr=dr?te+_e:te;N&&(Et&&(Dt=J-Ze),kt&&($t=re-Ze)),(!N&&$t-Dt>H||N&&Dt-$t>H)&&(Q(ee,w[ee]=N?Dt:Je(Dt)),Q(ce,w[ce]=N?$t:Je($t))),Pr-vr>_&&(Q(le,w[le]=V?vr:Xe(vr)),Q(me,w[me]=V?Pr:Xe(Pr)))}k.attr("d",h(o,w)),Yt(F,w),m(o,U,w,Se)}function Yt(_e,Ze){(V||N)&&Fe();function Fe(){var Ce=Ze.type!=="path",ve=_e.selectAll(".visual-cue").data([0]),Ie=1;ve.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":Ie}).classed("visual-cue",!0);var Ae=Te(V?Ze.xanchor:a.midRange(Ce?[Ze.x0,Ze.x1]:b.extractPathCoords(Ze.path,u.paramIsX))),je=Re(N?Ze.yanchor:a.midRange(Ce?[Ze.y0,Ze.y1]:b.extractPathCoords(Ze.path,u.paramIsY)));if(Ae=b.roundPositionForSharpStrokeRendering(Ae,Ie),je=b.roundPositionForSharpStrokeRendering(je,Ie),V&&N){var ot="M"+(Ae-1-Ie)+","+(je-1-Ie)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";ve.attr("d",ot)}else if(V){var ct="M"+(Ae-1-Ie)+","+(je-9-Ie)+"v18 h2 v-18 Z";ve.attr("d",ct)}else{var Et="M"+(Ae-9-Ie)+","+(je-1-Ie)+"h18 v2 h-18 Z";ve.attr("d",Et)}}}function it(_e){_e.selectAll(".visual-cue").remove()}function Ue(_e,Ze,Fe){var Ce=Ze.xref,ve=Ze.yref,Ie=L.getFromId(Fe,Ce),Ae=L.getFromId(Fe,ve),je="";Ce!=="paper"&&!Ie.autorange&&(je+=Ce),ve!=="paper"&&!Ae.autorange&&(je+=ve),s.setClipUrl(_e,je?"clip"+Fe._fullLayout._uid+je:null,Fe)}}function D(o,k,w){return o.replace(u.segmentRE,function(U){var F=0,G=U.charAt(0),_=u.paramIsX[G],H=u.paramIsY[G],V=u.numParams[G],N=U.substr(1).replace(u.paramRE,function(W){return F>=V||(_[F]?W=k(W):H[F]&&(W=w(W)),F++),W});return G+N})}function T(o,k){if(l(o)){var w=k.node(),U=+w.getAttribute("data-index");if(U>=0){if(U===o._fullLayout._activeShapeIndex){P(o);return}o._fullLayout._activeShapeIndex=U,o._fullLayout._deactivateShape=P,S(o)}}}function P(o){if(l(o)){var k=o._fullLayout._activeShapeIndex;k>=0&&(r(o),delete o._fullLayout._activeShapeIndex,S(o))}}function A(o){if(l(o)){r(o);var k=o._fullLayout._activeShapeIndex,w=(o.layout||{}).shapes||[];if(k<w.length){for(var U=[],F=0;F<w.length;F++)F!==k&&U.push(w[F]);return delete o._fullLayout._activeShapeIndex,E.call("_guiRelayout",o,{shapes:U})}}}},29241:function(B,O,e){var p=e(30962).overrideAll,E=e(9012),a=e(41940),L=e(79952).P,x=e(1426).extendFlat,d=e(5386).R,m=e(37281);B.exports=p({newshape:{visible:x({},E.visible,{}),showlegend:{valType:"boolean",dflt:!1},legend:x({},E.legend,{}),legendgroup:x({},E.legendgroup,{}),legendgrouptitle:{text:x({},E.legendgrouptitle.text,{}),font:a({})},legendrank:x({},E.legendrank,{}),legendwidth:x({},E.legendwidth,{}),line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:4},dash:x({},L,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd"},opacity:{valType:"number",min:0,max:1,dflt:1},layer:{valType:"enumerated",values:["below","above"],dflt:"above"},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal"},name:x({},E.name,{}),label:{text:{valType:"string",dflt:""},texttemplate:d({newshape:!0},{keys:Object.keys(m)}),font:a({}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"]},textangle:{valType:"angle",dflt:"auto"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},padding:{valType:"number",dflt:3,min:0}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)"},opacity:{valType:"number",min:0,max:1,dflt:.5}}},"none","from-root")},89995:function(B){var O=32;B.exports={CIRCLE_SIDES:O,i000:0,i090:O/4,i180:O/2,i270:O/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},45547:function(B,O,e){var p=e(7901),E=e(71828);function a(L,x){return L?"bottom":x.indexOf("top")!==-1?"top":x.indexOf("bottom")!==-1?"bottom":"middle"}B.exports=function(x,d,m){m("newshape.visible"),m("newshape.name"),m("newshape.showlegend"),m("newshape.legend"),m("newshape.legendwidth"),m("newshape.legendgroup"),m("newshape.legendgrouptitle.text"),E.coerceFont(m,"newshape.legendgrouptitle.font"),m("newshape.legendrank"),m("newshape.drawdirection"),m("newshape.layer"),m("newshape.fillcolor"),m("newshape.fillrule"),m("newshape.opacity");var r=m("newshape.line.width");if(r){var t=(x||{}).plot_bgcolor||"#FFF";m("newshape.line.color",p.contrast(t)),m("newshape.line.dash")}var s=x.dragmode==="drawline",n=m("newshape.label.text"),f=m("newshape.label.texttemplate");if(n||f){m("newshape.label.textangle");var c=m("newshape.label.textposition",s?"middle":"middle center");m("newshape.label.xanchor"),m("newshape.label.yanchor",a(s,c)),m("newshape.label.padding"),E.coerceFont(m,"newshape.label.font",d.font)}m("activeshape.fillcolor"),m("activeshape.opacity")}},60165:function(B,O,e){var p=e(95616),E=e(89995),a=E.CIRCLE_SIDES,L=E.SQRT2,x=e(75549),d=x.p2r,m=x.r2p,r=[0,3,4,5,6,1,2],t=[0,3,4,1,2];O.writePaths=function(f){var c=f.length;if(!c)return"M0,0Z";for(var u="",b=0;b<c;b++)for(var h=f[b].length,S=0;S<h;S++){var v=f[b][S][0];if(v==="Z")u+="Z";else for(var l=f[b][S].length,g=0;g<l;g++){var C=g;v==="Q"||v==="S"?C=t[g]:v==="C"&&(C=r[g]),u+=f[b][S][C],g>0&&g<l-1&&(u+=",")}}return u},O.readPaths=function(f,c,u,b){var h=p(f),S=[],v=-1,l=function(){v++,S[v]=[]},g,C=0,M=0,D,T,P=function(){D=C,T=M};P();for(var A=0;A<h.length;A++){var o=[],k,w,U,F,G=h[A][0],_=G;switch(G){case"M":l(),C=+h[A][1],M=+h[A][2],o.push([_,C,M]),P();break;case"Q":case"S":k=+h[A][1],U=+h[A][2],C=+h[A][3],M=+h[A][4],o.push([_,C,M,k,U]);break;case"C":k=+h[A][1],U=+h[A][2],w=+h[A][3],F=+h[A][4],C=+h[A][5],M=+h[A][6],o.push([_,C,M,k,U,w,F]);break;case"T":case"L":C=+h[A][1],M=+h[A][2],o.push([_,C,M]);break;case"H":_="L",C=+h[A][1],o.push([_,C,M]);break;case"V":_="L",M=+h[A][1],o.push([_,C,M]);break;case"A":_="L";var H=+h[A][1],V=+h[A][2];+h[A][4]||(H=-H,V=-V);var N=C-H,W=M;for(g=1;g<=a/2;g++){var j=2*Math.PI*g/a;o.push([_,N+H*Math.cos(j),W+V*Math.sin(j)])}break;case"Z":(C!==D||M!==T)&&(C=D,M=T,o.push([_,C,M]));break}for(var Q=(u||{}).domain,ie=c._fullLayout._size,ue=u&&u.xsizemode==="pixel",pe=u&&u.ysizemode==="pixel",q=b===!1,X=0;X<o.length;X++){for(g=0;g+2<7;g+=2){var K=o[X][g+1],J=o[X][g+2];K===void 0||J===void 0||(C=K,M=J,u&&(u.xaxis&&u.xaxis.p2r?(q&&(K-=u.xaxis._offset),ue?K=m(u.xaxis,u.xanchor)+K:K=d(u.xaxis,K)):(q&&(K-=ie.l),Q?K=Q.x[0]+K/ie.w:K=K/ie.w),u.yaxis&&u.yaxis.p2r?(q&&(J-=u.yaxis._offset),pe?J=m(u.yaxis,u.yanchor)-J:J=d(u.yaxis,J)):(q&&(J-=ie.t),Q?J=Q.y[1]-J/ie.h:J=1-J/ie.h)),o[X][g+1]=K,o[X][g+2]=J)}S[v].push(o[X].slice())}}return S};function s(f,c){return Math.abs(f-c)<=1e-6}function n(f,c){var u=c[1]-f[1],b=c[2]-f[2];return Math.sqrt(u*u+b*b)}O.pointsOnRectangle=function(f){var c=f.length;if(c!==5)return!1;for(var u=1;u<3;u++){var b=f[0][u]-f[1][u],h=f[3][u]-f[2][u];if(!s(b,h))return!1;var S=f[0][u]-f[3][u],v=f[1][u]-f[2][u];if(!s(S,v))return!1}return!s(f[0][1],f[1][1])&&!s(f[0][1],f[3][1])?!1:!!(n(f[0],f[1])*n(f[0],f[3]))},O.pointsOnEllipse=function(f){var c=f.length;if(c!==a+1)return!1;c=a;for(var u=0;u<c;u++){var b=(c*2-u)%c,h=(c/2+b)%c,S=(c/2+u)%c;if(!s(n(f[u],f[S]),n(f[b],f[h])))return!1}return!0},O.handleEllipse=function(f,c,u){if(!f)return[c,u];var b=O.ellipseOver({x0:c[0],y0:c[1],x1:u[0],y1:u[1]}),h=(b.x1+b.x0)/2,S=(b.y1+b.y0)/2,v=(b.x1-b.x0)/2,l=(b.y1-b.y0)/2;v||(v=l=l/L),l||(l=v=v/L);for(var g=[],C=0;C<a;C++){var M=C*2*Math.PI/a;g.push([h+v*Math.cos(M),S+l*Math.sin(M)])}return g},O.ellipseOver=function(f){var c=f.x0,u=f.y0,b=f.x1,h=f.y1,S=b-c,v=h-u;c-=S,u-=v;var l=(c+b)/2,g=(u+h)/2,C=L;return S*=C,v*=C,{x0:l-S,y0:g-v,x1:l+S,y1:g+v}},O.fixDatesForPaths=function(f,c,u){var b=c.type==="date",h=u.type==="date";if(!b&&!h)return f;for(var S=0;S<f.length;S++)for(var v=0;v<f[S].length;v++)for(var l=0;l+2<f[S][v].length;l+=2)b&&(f[S][v][l+1]=f[S][v][l+1].replace(" ","_")),h&&(f[S][v][l+2]=f[S][v][l+2].replace(" ","_"));return f}},90551:function(B,O,e){var p=e(64505),E=p.drawMode,a=p.openMode,L=e(89995),x=L.i000,d=L.i090,m=L.i180,r=L.i270,t=L.cos45,s=L.sin45,n=e(75549),f=n.p2r,c=n.r2p,u=e(51873),b=u.clearOutline,h=e(60165),S=h.readPaths,v=h.writePaths,l=h.ellipseOver,g=h.fixDatesForPaths;function C(D,T){if(D.length){var P=D[0][0];if(P){var A=T.gd,o=T.isActiveShape,k=T.dragmode,w=(A.layout||{}).shapes||[];if(!E(k)&&o!==void 0){var U=A._fullLayout._activeShapeIndex;if(U<w.length)switch(A._fullLayout.shapes[U].type){case"rect":k="drawrect";break;case"circle":k="drawcircle";break;case"line":k="drawline";break;case"path":var F=w[U].path||"";F[F.length-1]==="Z"?k="drawclosedpath":k="drawopenpath";break}}var G=M(D,T,k);b(A);for(var _=T.editHelpers,H=(_||{}).modifyItem,V=[],N=0;N<w.length;N++){var W=A._fullLayout.shapes[N];if(V[N]=W._input,o!==void 0&&N===A._fullLayout._activeShapeIndex){var j=G;switch(W.type){case"line":case"rect":case"circle":H("x0",j.x0),H("x1",j.x1),H("y0",j.y0),H("y1",j.y1);break;case"path":H("path",j.path);break}}}return o===void 0?(V.push(G),V):_?_.getUpdateObj():{}}}}function M(D,T,P){var A=D[0][0],o=T.gd,k=A.getAttribute("d"),w=o._fullLayout.newshape,U=T.plotinfo,F=T.isActiveShape,G=U.xaxis,_=U.yaxis,H=!!U.domain||!U.xaxis,V=!!U.domain||!U.yaxis,N=a(P),W=S(k,o,U,F),j={editable:!0,visible:w.visible,name:w.name,showlegend:w.showlegend,legend:w.legend,legendwidth:w.legendwidth,legendgroup:w.legendgroup,legendgrouptitle:{text:w.legendgrouptitle.text,font:w.legendgrouptitle.font},legendrank:w.legendrank,label:w.label,xref:H?"paper":G._id,yref:V?"paper":_._id,layer:w.layer,opacity:w.opacity,line:{color:w.line.color,width:w.line.width,dash:w.line.dash}};N||(j.fillcolor=w.fillcolor,j.fillrule=w.fillrule);var Q;if(W.length===1&&(Q=W[0]),Q&&Q.length===5&&P==="drawrect")j.type="rect",j.x0=Q[0][1],j.y0=Q[0][2],j.x1=Q[2][1],j.y1=Q[2][2];else if(Q&&P==="drawline")j.type="line",j.x0=Q[0][1],j.y0=Q[0][2],j.x1=Q[1][1],j.y1=Q[1][2];else if(Q&&P==="drawcircle"){j.type="circle";var ie=Q[x][1],ue=Q[d][1],pe=Q[m][1],q=Q[r][1],X=Q[x][2],K=Q[d][2],J=Q[m][2],re=Q[r][2],fe=U.xaxis&&(U.xaxis.type==="date"||U.xaxis.type==="log"),te=U.yaxis&&(U.yaxis.type==="date"||U.yaxis.type==="log");fe&&(ie=c(U.xaxis,ie),ue=c(U.xaxis,ue),pe=c(U.xaxis,pe),q=c(U.xaxis,q)),te&&(X=c(U.yaxis,X),K=c(U.yaxis,K),J=c(U.yaxis,J),re=c(U.yaxis,re));var ee=(ue+q)/2,ce=(X+J)/2,le=(q-ue+pe-ie)/2,me=(re-K+J-X)/2,we=l({x0:ee,y0:ce,x1:ee+le*t,y1:ce+me*s});fe&&(we.x0=f(U.xaxis,we.x0),we.x1=f(U.xaxis,we.x1)),te&&(we.y0=f(U.yaxis,we.y0),we.y1=f(U.yaxis,we.y1)),j.x0=we.x0,j.y0=we.y0,j.x1=we.x1,j.y1=we.y1}else j.type="path",G&&_&&g(W,G,_),j.path=v(W),Q=null;return j}B.exports={newShapes:C,createShapeObj:M}},51873:function(B){function O(p){var E=p._fullLayout._zoomlayer;E&&E.selectAll(".outline-controllers").remove()}function e(p){var E=p._fullLayout._zoomlayer;E&&E.selectAll(".select-outline").remove(),p._fullLayout._outlining=!1}B.exports={clearOutlineControllers:O,clearOutline:e}},30477:function(B,O,e){var p=e(21459),E=e(71828),a=e(89298);O.rangeToShapePosition=function(x){return x.type==="log"?x.r2d:function(d){return d}},O.shapePositionToRange=function(x){return x.type==="log"?x.d2r:function(d){return d}},O.decodeDate=function(x){return function(d){return d.replace&&(d=d.replace("_"," ")),x(d)}},O.encodeDate=function(x){return function(d){return x(d).replace(" ","_")}},O.extractPathCoords=function(x,d,m){var r=[],t=x.match(p.segmentRE);return t.forEach(function(s){var n=d[s.charAt(0)].drawn;if(n!==void 0){var f=s.substr(1).match(p.paramRE);if(!(!f||f.length<n)){var c=f[n],u=m?c:E.cleanNumber(c);r.push(u)}}}),r},O.getDataToPixel=function(x,d,m,r){var t=x._fullLayout._size,s;if(d)if(r==="domain")s=function(f){return d._length*(m?1-f:f)+d._offset};else{var n=O.shapePositionToRange(d);s=function(f){return d._offset+d.r2p(n(f,!0))},d.type==="date"&&(s=O.decodeDate(s))}else m?s=function(f){return t.t+t.h*(1-f)}:s=function(f){return t.l+t.w*f};return s},O.getPixelToData=function(x,d,m,r){var t=x._fullLayout._size,s;if(d)if(r==="domain")s=function(f){var c=(f-d._offset)/d._length;return m?1-c:c};else{var n=O.rangeToShapePosition(d);s=function(f){return n(d.p2r(f-d._offset))}}else m?s=function(f){return 1-(f-t.t)/t.h}:s=function(f){return(f-t.l)/t.w};return s},O.roundPositionForSharpStrokeRendering=function(x,d){var m=Math.round(d%2)===1,r=Math.round(x);return m?r+.5:r},O.makeShapesOptionsAndPlotinfo=function(x,d){var m=x._fullLayout.shapes[d]||{},r=x._fullLayout._plots[m.xref+m.yref],t=!!r;return t?r._hadPlotinfo=!0:(r={},m.xref&&m.xref!=="paper"&&(r.xaxis=x._fullLayout[m.xref+"axis"]),m.yref&&m.yref!=="paper"&&(r.yaxis=x._fullLayout[m.yref+"axis"])),r.xsizemode=m.xsizemode,r.ysizemode=m.ysizemode,r.xanchor=m.xanchor,r.yanchor=m.yanchor,{options:m,plotinfo:r}},O.makeSelectionsOptionsAndPlotinfo=function(x,d){var m=x._fullLayout.selections[d]||{},r=x._fullLayout._plots[m.xref+m.yref],t=!!r;return t?r._hadPlotinfo=!0:(r={},m.xref&&(r.xaxis=x._fullLayout[m.xref+"axis"]),m.yref&&(r.yaxis=x._fullLayout[m.yref+"axis"])),{options:m,plotinfo:r}},O.getPathString=function(x,d){var m=d.type,r=a.getRefType(d.xref),t=a.getRefType(d.yref),s=a.getFromId(x,d.xref),n=a.getFromId(x,d.yref),f=x._fullLayout._size,c,u,b,h,S,v,l,g;if(s?r==="domain"?u=function(U){return s._offset+s._length*U}:(c=O.shapePositionToRange(s),u=function(U){return s._offset+s.r2p(c(U,!0))}):u=function(U){return f.l+f.w*U},n?t==="domain"?h=function(U){return n._offset+n._length*(1-U)}:(b=O.shapePositionToRange(n),h=function(U){return n._offset+n.r2p(b(U,!0))}):h=function(U){return f.t+f.h*(1-U)},m==="path")return s&&s.type==="date"&&(u=O.decodeDate(u)),n&&n.type==="date"&&(h=O.decodeDate(h)),L(d,u,h);if(d.xsizemode==="pixel"){var C=u(d.xanchor);S=C+d.x0,v=C+d.x1}else S=u(d.x0),v=u(d.x1);if(d.ysizemode==="pixel"){var M=h(d.yanchor);l=M-d.y0,g=M-d.y1}else l=h(d.y0),g=h(d.y1);if(m==="line")return"M"+S+","+l+"L"+v+","+g;if(m==="rect")return"M"+S+","+l+"H"+v+"V"+g+"H"+S+"Z";var D=(S+v)/2,T=(l+g)/2,P=Math.abs(D-S),A=Math.abs(T-l),o="A"+P+","+A,k=D+P+","+T,w=D+","+(T-A);return"M"+k+o+" 0 1,1 "+w+o+" 0 0,1 "+k+"Z"};function L(x,d,m){var r=x.path,t=x.xsizemode,s=x.ysizemode,n=x.xanchor,f=x.yanchor;return r.replace(p.segmentRE,function(c){var u=0,b=c.charAt(0),h=p.paramIsX[b],S=p.paramIsY[b],v=p.numParams[b],l=c.substr(1).replace(p.paramRE,function(g){return h[u]?t==="pixel"?g=d(n)+Number(g):g=d(g):S[u]&&(s==="pixel"?g=m(f)-Number(g):g=m(g)),u++,u>v&&(g="X"),g});return u>v&&(l=l.replace(/[\s,]*X.*/,""),E.log("Ignoring extra params in segment "+c)),b+l})}},89853:function(B,O,e){var p=e(34031);B.exports={moduleType:"component",name:"shapes",layoutAttributes:e(89827),supplyLayoutDefaults:e(84726),supplyDrawNewShapeDefaults:e(45547),includeBasePlot:e(76325)("shapes"),calcAutorange:e(5627),draw:p.draw,drawOne:p.drawOne}},37281:function(B){function O(c,u){return u?u.d2l(c):c}function e(c,u){return u?u.l2d(c):c}function p(c){return c.x0}function E(c){return c.x1}function a(c){return c.y0}function L(c){return c.y1}function x(c,u){return O(c.x1,u)-O(c.x0,u)}function d(c,u,b){return O(c.y1,b)-O(c.y0,b)}function m(c,u){return Math.abs(x(c,u))}function r(c,u,b){return Math.abs(d(c,u,b))}function t(c,u,b){return c.type!=="line"?void 0:Math.sqrt(Math.pow(x(c,u),2)+Math.pow(d(c,u,b),2))}function s(c,u){return e((O(c.x1,u)+O(c.x0,u))/2,u)}function n(c,u,b){return e((O(c.y1,b)+O(c.y0,b))/2,b)}function f(c,u,b){return c.type!=="line"?void 0:d(c,u,b)/x(c,u)}B.exports={x0:p,x1:E,y0:a,y1:L,slope:f,dx:x,dy:d,width:m,height:r,length:t,xcenter:s,ycenter:n}},75067:function(B,O,e){var p=e(41940),E=e(35025),a=e(1426).extendDeepAll,L=e(30962).overrideAll,x=e(85594),d=e(44467).templatedArray,m=e(98292),r=d("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});B.exports=L(d("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:r,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:a(E({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:x.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:p({})},font:p({}),activebgcolor:{valType:"color",dflt:m.gripBgActiveColor},bgcolor:{valType:"color",dflt:m.railBgColor},bordercolor:{valType:"color",dflt:m.railBorderColor},borderwidth:{valType:"number",min:0,dflt:m.railBorderWidth},ticklen:{valType:"number",min:0,dflt:m.tickLength},tickcolor:{valType:"color",dflt:m.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:m.minorTickLength}}),"arraydraw","from-root")},98292:function(B){B.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(B,O,e){var p=e(71828),E=e(85501),a=e(75067),L=e(98292),x=L.name,d=a.steps;B.exports=function(s,n){E(s,n,{name:x,handleItemDefaults:m})};function m(t,s,n){function f(g,C){return p.coerce(t,s,a,g,C)}for(var c=E(t,s,{name:"steps",handleItemDefaults:r}),u=0,b=0;b<c.length;b++)c[b].visible&&u++;var h;if(u<2?h=s.visible=!1:h=f("visible"),!!h){s._stepCount=u;var S=s._visibleSteps=p.filterVisible(c),v=f("active");(c[v]||{}).visible||(s.active=S[0]._index),f("x"),f("y"),p.noneOrAll(t,s,["x","y"]),f("xanchor"),f("yanchor"),f("len"),f("lenmode"),f("pad.t"),f("pad.r"),f("pad.b"),f("pad.l"),p.coerceFont(f,"font",n.font);var l=f("currentvalue.visible");l&&(f("currentvalue.xanchor"),f("currentvalue.prefix"),f("currentvalue.suffix"),f("currentvalue.offset"),p.coerceFont(f,"currentvalue.font",s.font)),f("transition.duration"),f("transition.easing"),f("bgcolor"),f("activebgcolor"),f("bordercolor"),f("borderwidth"),f("ticklen"),f("tickwidth"),f("tickcolor"),f("minorticklen")}}function r(t,s){function n(u,b){return p.coerce(t,s,d,u,b)}var f;if(t.method!=="skip"&&!Array.isArray(t.args)?f=s.visible=!1:f=n("visible"),f){n("method"),n("args");var c=n("label","step-"+s._index);n("value",c),n("execute")}}},44504:function(B,O,e){var p=e(39898),E=e(74875),a=e(7901),L=e(91424),x=e(71828),d=x.strTranslate,m=e(63893),r=e(44467).arrayEditor,t=e(98292),s=e(18783),n=s.LINE_SPACING,f=s.FROM_TL,c=s.FROM_BR;B.exports=function(H){var V=H._context.staticPlot,N=H._fullLayout,W=b(N,H),j=N._infolayer.selectAll("g."+t.containerClassName).data(W.length>0?[0]:[]);j.enter().append("g").classed(t.containerClassName,!0).style("cursor",V?null:"ew-resize");function Q(q){q._commandObserver&&(q._commandObserver.remove(),delete q._commandObserver),E.autoMargin(H,u(q))}if(j.exit().each(function(){p.select(this).selectAll("g."+t.groupClassName).each(Q)}).remove(),W.length!==0){var ie=j.selectAll("g."+t.groupClassName).data(W,h);ie.enter().append("g").classed(t.groupClassName,!0),ie.exit().each(Q).remove();for(var ue=0;ue<W.length;ue++){var pe=W[ue];S(H,pe)}ie.each(function(q){var X=p.select(this);o(q),E.manageCommandObserver(H,q,q._visibleSteps,function(K){var J=X.data()[0];J.active!==K.index&&(J._dragging||T(H,X,J,K.index,!1,!0))}),v(H,p.select(this),q)})}};function u(_){return t.autoMarginIdRoot+_._index}function b(_,H){for(var V=_[t.name],N=[],W=0;W<V.length;W++){var j=V[W];j.visible&&(j._gd=H,N.push(j))}return N}function h(_){return _._index}function S(_,H){var V=L.tester.selectAll("g."+t.labelGroupClass).data(H._visibleSteps);V.enter().append("g").classed(t.labelGroupClass,!0);var N=0,W=0;V.each(function(re){var fe=p.select(this),te=C(fe,{step:re},H),ee=te.node();if(ee){var ce=L.bBox(ee);W=Math.max(W,ce.height),N=Math.max(N,ce.width)}}),V.remove();var j=H._dims={};j.inputAreaWidth=Math.max(t.railWidth,t.gripHeight);var Q=_._fullLayout._size;j.lx=Q.l+Q.w*H.x,j.ly=Q.t+Q.h*(1-H.y),H.lenmode==="fraction"?j.outerLength=Math.round(Q.w*H.len):j.outerLength=H.len,j.inputAreaStart=0,j.inputAreaLength=Math.round(j.outerLength-H.pad.l-H.pad.r);var ie=j.inputAreaLength-2*t.stepInset,ue=ie/(H._stepCount-1),pe=N+t.labelPadding;if(j.labelStride=Math.max(1,Math.ceil(pe/ue)),j.labelHeight=W,j.currentValueMaxWidth=0,j.currentValueHeight=0,j.currentValueTotalHeight=0,j.currentValueMaxLines=1,H.currentvalue.visible){var q=L.tester.append("g");V.each(function(re){var fe=l(q,H,re.label),te=fe.node()&&L.bBox(fe.node())||{width:0,height:0},ee=m.lineCount(fe);j.currentValueMaxWidth=Math.max(j.currentValueMaxWidth,Math.ceil(te.width)),j.currentValueHeight=Math.max(j.currentValueHeight,Math.ceil(te.height)),j.currentValueMaxLines=Math.max(j.currentValueMaxLines,ee)}),j.currentValueTotalHeight=j.currentValueHeight+H.currentvalue.offset,q.remove()}j.height=j.currentValueTotalHeight+t.tickOffset+H.ticklen+t.labelOffset+j.labelHeight+H.pad.t+H.pad.b;var X="left";x.isRightAnchor(H)&&(j.lx-=j.outerLength,X="right"),x.isCenterAnchor(H)&&(j.lx-=j.outerLength/2,X="center");var K="top";x.isBottomAnchor(H)&&(j.ly-=j.height,K="bottom"),x.isMiddleAnchor(H)&&(j.ly-=j.height/2,K="middle"),j.outerLength=Math.ceil(j.outerLength),j.height=Math.ceil(j.height),j.lx=Math.round(j.lx),j.ly=Math.round(j.ly);var J={y:H.y,b:j.height*c[K],t:j.height*f[K]};H.lenmode==="fraction"?(J.l=0,J.xl=H.x-H.len*f[X],J.r=0,J.xr=H.x+H.len*c[X]):(J.x=H.x,J.l=j.outerLength*f[X],J.r=j.outerLength*c[X]),E.autoMargin(_,u(H),J)}function v(_,H,V){(V.steps[V.active]||{}).visible||(V.active=V._visibleSteps[0]._index),H.call(l,V).call(G,V).call(M,V).call(A,V).call(F,_,V).call(g,_,V);var N=V._dims;L.setTranslate(H,N.lx+V.pad.l,N.ly+V.pad.t),H.call(k,V,!1),H.call(l,V)}function l(_,H,V){if(H.currentvalue.visible){var N=H._dims,W,j;switch(H.currentvalue.xanchor){case"right":W=N.inputAreaLength-t.currentValueInset-N.currentValueMaxWidth,j="left";break;case"center":W=N.inputAreaLength*.5,j="middle";break;default:W=t.currentValueInset,j="left"}var Q=x.ensureSingle(_,"text",t.labelClass,function(K){K.attr({"text-anchor":j,"data-notex":1})}),ie=H.currentvalue.prefix?H.currentvalue.prefix:"";if(typeof V=="string")ie+=V;else{var ue=H.steps[H.active].label,pe=H._gd._fullLayout._meta;pe&&(ue=x.templateString(ue,pe)),ie+=ue}H.currentvalue.suffix&&(ie+=H.currentvalue.suffix),Q.call(L.font,H.currentvalue.font).text(ie).call(m.convertToTspans,H._gd);var q=m.lineCount(Q),X=(N.currentValueMaxLines+1-q)*H.currentvalue.font.size*n;return m.positionText(Q,W,X),Q}}function g(_,H,V){var N=x.ensureSingle(_,"rect",t.gripRectClass,function(W){W.call(P,H,_,V).style("pointer-events","all")});N.attr({width:t.gripWidth,height:t.gripHeight,rx:t.gripRadius,ry:t.gripRadius}).call(a.stroke,V.bordercolor).call(a.fill,V.bgcolor).style("stroke-width",V.borderwidth+"px")}function C(_,H,V){var N=x.ensureSingle(_,"text",t.labelClass,function(Q){Q.attr({"text-anchor":"middle","data-notex":1})}),W=H.step.label,j=V._gd._fullLayout._meta;return j&&(W=x.templateString(W,j)),N.call(L.font,V.font).text(W).call(m.convertToTspans,V._gd),N}function M(_,H){var V=x.ensureSingle(_,"g",t.labelsClass),N=H._dims,W=V.selectAll("g."+t.labelGroupClass).data(N.labelSteps);W.enter().append("g").classed(t.labelGroupClass,!0),W.exit().remove(),W.each(function(j){var Q=p.select(this);Q.call(C,j,H),L.setTranslate(Q,w(H,j.fraction),t.tickOffset+H.ticklen+H.font.size*n+t.labelOffset+N.currentValueTotalHeight)})}function D(_,H,V,N,W){var j=Math.round(N*(V._stepCount-1)),Q=V._visibleSteps[j]._index;Q!==V.active&&T(_,H,V,Q,!0,W)}function T(_,H,V,N,W,j){var Q=V.active;V.active=N,r(_.layout,t.name,V).applyUpdate("active",N);var ie=V.steps[V.active];H.call(k,V,j),H.call(l,V),_.emit("plotly_sliderchange",{slider:V,step:V.steps[V.active],interaction:W,previousActive:Q}),ie&&ie.method&&W&&(H._nextMethod?(H._nextMethod.step=ie,H._nextMethod.doCallback=W,H._nextMethod.doTransition=j):(H._nextMethod={step:ie,doCallback:W,doTransition:j},H._nextMethodRaf=window.requestAnimationFrame(function(){var ue=H._nextMethod.step;ue.method&&(ue.execute&&E.executeAPICommand(_,ue.method,ue.args),H._nextMethod=null,H._nextMethodRaf=null)})))}function P(_,H,V){if(H._context.staticPlot)return;var N=V.node(),W=p.select(H);function j(){return V.data()[0]}function Q(){var ie=j();H.emit("plotly_sliderstart",{slider:ie});var ue=V.select("."+t.gripRectClass);p.event.stopPropagation(),p.event.preventDefault(),ue.call(a.fill,ie.activebgcolor);var pe=U(ie,p.mouse(N)[0]);D(H,V,ie,pe,!0),ie._dragging=!0;function q(){var K=j(),J=U(K,p.mouse(N)[0]);D(H,V,K,J,!1)}W.on("mousemove",q),W.on("touchmove",q);function X(){var K=j();K._dragging=!1,ue.call(a.fill,K.bgcolor),W.on("mouseup",null),W.on("mousemove",null),W.on("touchend",null),W.on("touchmove",null),H.emit("plotly_sliderend",{slider:K,step:K.steps[K.active]})}W.on("mouseup",X),W.on("touchend",X)}_.on("mousedown",Q),_.on("touchstart",Q)}function A(_,H){var V=_.selectAll("rect."+t.tickRectClass).data(H._visibleSteps),N=H._dims;V.enter().append("rect").classed(t.tickRectClass,!0),V.exit().remove(),V.attr({width:H.tickwidth+"px","shape-rendering":"crispEdges"}),V.each(function(W,j){var Q=j%N.labelStride===0,ie=p.select(this);ie.attr({height:Q?H.ticklen:H.minorticklen}).call(a.fill,H.tickcolor),L.setTranslate(ie,w(H,j/(H._stepCount-1))-.5*H.tickwidth,(Q?t.tickOffset:t.minorTickOffset)+N.currentValueTotalHeight)})}function o(_){var H=_._dims;H.labelSteps=[];for(var V=_._stepCount,N=0;N<V;N+=H.labelStride)H.labelSteps.push({fraction:N/(V-1),step:_._visibleSteps[N]})}function k(_,H,V){for(var N=_.select("rect."+t.gripRectClass),W=0,j=0;j<H._stepCount;j++)if(H._visibleSteps[j]._index===H.active){W=j;break}var Q=w(H,W/(H._stepCount-1));if(!H._invokingCommand){var ie=N;V&&H.transition.duration>0&&(ie=ie.transition().duration(H.transition.duration).ease(H.transition.easing)),ie.attr("transform",d(Q-t.gripWidth*.5,H._dims.currentValueTotalHeight))}}function w(_,H){var V=_._dims;return V.inputAreaStart+t.stepInset+(V.inputAreaLength-2*t.stepInset)*Math.min(1,Math.max(0,H))}function U(_,H){var V=_._dims;return Math.min(1,Math.max(0,(H-t.stepInset-V.inputAreaStart)/(V.inputAreaLength-2*t.stepInset-2*V.inputAreaStart)))}function F(_,H,V){var N=V._dims,W=x.ensureSingle(_,"rect",t.railTouchRectClass,function(j){j.call(P,H,_,V).style("pointer-events","all")});W.attr({width:N.inputAreaLength,height:Math.max(N.inputAreaWidth,t.tickOffset+V.ticklen+N.labelHeight)}).call(a.fill,V.bgcolor).attr("opacity",0),L.setTranslate(W,0,N.currentValueTotalHeight)}function G(_,H){var V=H._dims,N=V.inputAreaLength-t.railInset*2,W=x.ensureSingle(_,"rect",t.railRectClass);W.attr({width:N,height:t.railWidth,rx:t.railRadius,ry:t.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,H.bordercolor).call(a.fill,H.bgcolor).style("stroke-width",H.borderwidth+"px"),L.setTranslate(W,t.railInset,(V.inputAreaWidth-t.railWidth)*.5+V.currentValueTotalHeight)}},23243:function(B,O,e){var p=e(98292);B.exports={moduleType:"component",name:p.name,layoutAttributes:e(75067),supplyLayoutDefaults:e(12343),draw:e(44504)}},92998:function(B,O,e){var p=e(39898),E=e(92770),a=e(74875),L=e(73972),x=e(71828),d=x.strTranslate,m=e(91424),r=e(7901),t=e(63893),s=e(37822),n=e(18783).OPPOSITE_SIDE,f=/ [XY][0-9]* /;function c(u,b,h){var S=h.propContainer,v=h.propName,l=h.placeholder,g=h.traceIndex,C=h.avoid||{},M=h.attributes,D=h.transform,T=h.containerGroup,P=u._fullLayout,A=1,o=!1,k=S.title,w=(k&&k.text?k.text:"").trim(),U=k&&k.font?k.font:{},F=U.family,G=U.size,_=U.color,H;v==="title.text"?H="titleText":v.indexOf("axis")!==-1?H="axisTitleText":v.indexOf("colorbar"!==-1)&&(H="colorbarTitleText");var V=u._context.edits[H];w===""?A=0:w.replace(f," % ")===l.replace(f," % ")&&(A=.2,o=!0,V||(w="")),h._meta?w=x.templateString(w,h._meta):P._meta&&(w=x.templateString(w,P._meta));var N=w||V,W;T||(T=x.ensureSingle(P._infolayer,"g","g-"+b),W=P._hColorbarMoveTitle);var j=T.selectAll("text").data(N?[0]:[]);if(j.enter().append("text"),j.text(w).attr("class",b),j.exit().remove(),!N)return T;function Q(q){x.syncOrAsync([ie,ue],q)}function ie(q){var X;return!D&&W&&(D={}),D?(X="",D.rotate&&(X+="rotate("+[D.rotate,M.x,M.y]+")"),(D.offset||W)&&(X+=d(0,(D.offset||0)-(W||0)))):X=null,q.attr("transform",X),q.style({"font-family":F,"font-size":p.round(G,2)+"px",fill:r.rgb(_),opacity:A*r.opacity(_),"font-weight":a.fontWeight}).attr(M).call(t.convertToTspans,u),a.previousPromises(u)}function ue(q){var X=p.select(q.node().parentNode);if(C&&C.selection&&C.side&&w){X.attr("transform",null);var K=n[C.side],J=C.side==="left"||C.side==="top"?-1:1,re=E(C.pad)?C.pad:2,fe=m.bBox(X.node()),te={t:0,b:0,l:0,r:0},ee=u._fullLayout._reservedMargin;for(var ce in ee)for(var le in ee[ce]){var me=ee[ce][le];te[le]=Math.max(te[le],me)}var we={left:te.l,top:te.t,right:P.width-te.r,bottom:P.height-te.b},Se=C.maxShift||J*(we[C.side]-fe[C.side]),Ee=0;if(Se<0)Ee=Se;else{var We=C.offsetLeft||0,Ye=C.offsetTop||0;fe.left-=We,fe.right-=We,fe.top-=Ye,fe.bottom-=Ye,C.selection.each(function(){var Te=m.bBox(this);x.bBoxIntersect(fe,Te,re)&&(Ee=Math.max(Ee,J*(Te[C.side]-fe[K])+re))}),Ee=Math.min(Se,Ee),S._titleScoot=Math.abs(Ee)}if(Ee>0||Se<0){var De={left:[-Ee,0],right:[Ee,0],top:[0,-Ee],bottom:[0,Ee]}[C.side];X.attr("transform",d(De[0],De[1]))}}}j.call(Q);function pe(){A=0,o=!0,j.text(l).on("mouseover.opacity",function(){p.select(this).transition().duration(s.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){p.select(this).transition().duration(s.HIDE_PLACEHOLDER).style("opacity",0)})}return V&&(w?j.on(".opacity",null):pe(),j.call(t.makeEditable,{gd:u}).on("edit",function(q){g!==void 0?L.call("_guiRestyle",u,v,q,g):L.call("_guiRelayout",u,v,q)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(Q)}).on("input",function(q){this.text(q||" ").call(t.positionText,M.x,M.y)})),j.classed("js-placeholder",o),T}B.exports={draw:c}},7163:function(B,O,e){var p=e(41940),E=e(22399),a=e(1426).extendFlat,L=e(30962).overrideAll,x=e(35025),d=e(44467).templatedArray,m=d("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});B.exports=L(d("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:m,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:a(x({editType:"arraydraw"}),{}),font:p({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:E.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(B){B.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(B,O,e){var p=e(71828),E=e(85501),a=e(7163),L=e(75909),x=L.name,d=a.buttons;B.exports=function(s,n){var f={name:x,handleItemDefaults:m};E(s,n,f)};function m(t,s,n){function f(b,h){return p.coerce(t,s,a,b,h)}var c=E(t,s,{name:"buttons",handleItemDefaults:r}),u=f("visible",c.length>0);u&&(f("active"),f("direction"),f("type"),f("showactive"),f("x"),f("y"),p.noneOrAll(t,s,["x","y"]),f("xanchor"),f("yanchor"),f("pad.t"),f("pad.r"),f("pad.b"),f("pad.l"),p.coerceFont(f,"font",n.font),f("bgcolor",n.paper_bgcolor),f("bordercolor"),f("borderwidth"))}function r(t,s){function n(c,u){return p.coerce(t,s,d,c,u)}var f=n("visible",t.method==="skip"||Array.isArray(t.args));f&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}},13689:function(B,O,e){var p=e(39898),E=e(74875),a=e(7901),L=e(91424),x=e(71828),d=e(63893),m=e(44467).arrayEditor,r=e(18783).LINE_SPACING,t=e(75909),s=e(25849);B.exports=function(U){var F=U._fullLayout,G=x.filterVisible(F[t.name]);function _(ue){E.autoMargin(U,A(ue))}var H=F._menulayer.selectAll("g."+t.containerClassName).data(G.length>0?[0]:[]);if(H.enter().append("g").classed(t.containerClassName,!0).style("cursor","pointer"),H.exit().each(function(){p.select(this).selectAll("g."+t.headerGroupClassName).each(_)}).remove(),G.length!==0){var V=H.selectAll("g."+t.headerGroupClassName).data(G,n);V.enter().append("g").classed(t.headerGroupClassName,!0);for(var N=x.ensureSingle(H,"g",t.dropdownButtonGroupClassName,function(ue){ue.style("pointer-events","all")}),W=0;W<G.length;W++){var j=G[W];P(U,j)}var Q="updatemenus"+F._uid,ie=new s(U,N,Q);V.enter().size()&&(N.node().parentNode.appendChild(N.node()),N.call(k)),V.exit().each(function(ue){N.call(k),_(ue)}).remove(),V.each(function(ue){var pe=p.select(this),q=ue.type==="dropdown"?N:null;E.manageCommandObserver(U,ue,ue.buttons,function(X){u(U,ue,ue.buttons[X.index],pe,q,ie,X.index,!0)}),ue.type==="dropdown"?(b(U,pe,N,ie,ue),c(N,ue)&&h(U,pe,N,ie,ue)):h(U,pe,null,null,ue)})}};function n(w){return w._index}function f(w){return+w.attr(t.menuIndexAttrName)==-1}function c(w,U){return+w.attr(t.menuIndexAttrName)===U._index}function u(w,U,F,G,_,H,V,N){U.active=V,m(w.layout,t.name,U).applyUpdate("active",V),U.type==="buttons"?h(w,G,null,null,U):U.type==="dropdown"&&(_.attr(t.menuIndexAttrName,"-1"),b(w,G,_,H,U),N||h(w,G,_,H,U))}function b(w,U,F,G,_){var H=x.ensureSingle(U,"g",t.headerClassName,function(ue){ue.style("pointer-events","all")}),V=_._dims,N=_.active,W=_.buttons[N]||t.blankHeaderOpts,j={y:_.pad.t,yPad:0,x:_.pad.l,xPad:0,index:0},Q={width:V.headerWidth,height:V.headerHeight};H.call(l,_,W,w).call(o,_,j,Q);var ie=x.ensureSingle(U,"text",t.headerArrowClassName,function(ue){ue.attr("text-anchor","end").call(L.font,_.font).text(t.arrowSymbol[_.direction])});ie.attr({x:V.headerWidth-t.arrowOffsetX+_.pad.l,y:V.headerHeight/2+t.textOffsetY+_.pad.t}),H.on("click",function(){F.call(k,String(c(F,_)?-1:_._index)),h(w,U,F,G,_)}),H.on("mouseover",function(){H.call(D)}),H.on("mouseout",function(){H.call(T,_)}),L.setTranslate(U,V.lx,V.ly)}function h(w,U,F,G,_){F||(F=U,F.attr("pointer-events","all"));var H=!f(F)||_.type==="buttons"?_.buttons:[],V=_.type==="dropdown"?t.dropdownButtonClassName:t.buttonClassName,N=F.selectAll("g."+V).data(x.filterVisible(H)),W=N.enter().append("g").classed(V,!0),j=N.exit();_.type==="dropdown"?(W.attr("opacity","0").transition().attr("opacity","1"),j.transition().attr("opacity","0").remove()):j.remove();var Q=0,ie=0,ue=_._dims,pe=["up","down"].indexOf(_.direction)!==-1;_.type==="dropdown"&&(pe?ie=ue.headerHeight+t.gapButtonHeader:Q=ue.headerWidth+t.gapButtonHeader),_.type==="dropdown"&&_.direction==="up"&&(ie=-t.gapButtonHeader+t.gapButton-ue.openHeight),_.type==="dropdown"&&_.direction==="left"&&(Q=-t.gapButtonHeader+t.gapButton-ue.openWidth);var q={x:ue.lx+Q+_.pad.l,y:ue.ly+ie+_.pad.t,yPad:t.gapButton,xPad:t.gapButton,index:0},X={l:q.x+_.borderwidth,t:q.y+_.borderwidth};N.each(function(K,J){var re=p.select(this);re.call(l,_,K,w).call(o,_,q),re.on("click",function(){p.event.defaultPrevented||(K.execute&&(K.args2&&_.active===J?(u(w,_,K,U,F,G,-1),E.executeAPICommand(w,K.method,K.args2)):(u(w,_,K,U,F,G,J),E.executeAPICommand(w,K.method,K.args))),w.emit("plotly_buttonclicked",{menu:_,button:K,active:_.active}))}),re.on("mouseover",function(){re.call(D)}),re.on("mouseout",function(){re.call(T,_),N.call(M,_)})}),N.call(M,_),pe?(X.w=Math.max(ue.openWidth,ue.headerWidth),X.h=q.y-X.t):(X.w=q.x-X.l,X.h=Math.max(ue.openHeight,ue.headerHeight)),X.direction=_.direction,G&&(N.size()?S(w,U,F,G,_,X):v(G))}function S(w,U,F,G,_,H){var V=_.direction,N=V==="up"||V==="down",W=_._dims,j=_.active,Q,ie,ue;if(N)for(ie=0,ue=0;ue<j;ue++)ie+=W.heights[ue]+t.gapButton;else for(Q=0,ue=0;ue<j;ue++)Q+=W.widths[ue]+t.gapButton;G.enable(H,Q,ie),G.hbar&&G.hbar.attr("opacity","0").transition().attr("opacity","1"),G.vbar&&G.vbar.attr("opacity","0").transition().attr("opacity","1")}function v(w){var U=!!w.hbar,F=!!w.vbar;U&&w.hbar.transition().attr("opacity","0").each("end",function(){U=!1,F||w.disable()}),F&&w.vbar.transition().attr("opacity","0").each("end",function(){F=!1,U||w.disable()})}function l(w,U,F,G){w.call(g,U).call(C,U,F,G)}function g(w,U){var F=x.ensureSingle(w,"rect",t.itemRectClassName,function(G){G.attr({rx:t.rx,ry:t.ry,"shape-rendering":"crispEdges"})});F.call(a.stroke,U.bordercolor).call(a.fill,U.bgcolor).style("stroke-width",U.borderwidth+"px")}function C(w,U,F,G){var _=x.ensureSingle(w,"text",t.itemTextClassName,function(N){N.attr({"text-anchor":"start","data-notex":1})}),H=F.label,V=G._fullLayout._meta;V&&(H=x.templateString(H,V)),_.call(L.font,U.font).text(H).call(d.convertToTspans,G)}function M(w,U){var F=U.active;w.each(function(G,_){var H=p.select(this);_===F&&U.showactive&&H.select("rect."+t.itemRectClassName).call(a.fill,t.activeColor)})}function D(w){w.select("rect."+t.itemRectClassName).call(a.fill,t.hoverColor)}function T(w,U){w.select("rect."+t.itemRectClassName).call(a.fill,U.bgcolor)}function P(w,U){var F=U._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},G=L.tester.selectAll("g."+t.dropdownButtonClassName).data(x.filterVisible(U.buttons));G.enter().append("g").classed(t.dropdownButtonClassName,!0);var _=["up","down"].indexOf(U.direction)!==-1;G.each(function(Q,ie){var ue=p.select(this);ue.call(l,U,Q,w);var pe=ue.select("."+t.itemTextClassName),q=pe.node()&&L.bBox(pe.node()).width,X=Math.max(q+t.textPadX,t.minWidth),K=U.font.size*r,J=d.lineCount(pe),re=Math.max(K*J,t.minHeight)+t.textOffsetY;re=Math.ceil(re),X=Math.ceil(X),F.widths[ie]=X,F.heights[ie]=re,F.height1=Math.max(F.height1,re),F.width1=Math.max(F.width1,X),_?(F.totalWidth=Math.max(F.totalWidth,X),F.openWidth=F.totalWidth,F.totalHeight+=re+t.gapButton,F.openHeight+=re+t.gapButton):(F.totalWidth+=X+t.gapButton,F.openWidth+=X+t.gapButton,F.totalHeight=Math.max(F.totalHeight,re),F.openHeight=F.totalHeight)}),_?F.totalHeight-=t.gapButton:F.totalWidth-=t.gapButton,F.headerWidth=F.width1+t.arrowPadX,F.headerHeight=F.height1,U.type==="dropdown"&&(_?(F.width1+=t.arrowPadX,F.totalHeight=F.height1):F.totalWidth=F.width1,F.totalWidth+=t.arrowPadX),G.remove();var H=F.totalWidth+U.pad.l+U.pad.r,V=F.totalHeight+U.pad.t+U.pad.b,N=w._fullLayout._size;F.lx=N.l+N.w*U.x,F.ly=N.t+N.h*(1-U.y);var W="left";x.isRightAnchor(U)&&(F.lx-=H,W="right"),x.isCenterAnchor(U)&&(F.lx-=H/2,W="center");var j="top";x.isBottomAnchor(U)&&(F.ly-=V,j="bottom"),x.isMiddleAnchor(U)&&(F.ly-=V/2,j="middle"),F.totalWidth=Math.ceil(F.totalWidth),F.totalHeight=Math.ceil(F.totalHeight),F.lx=Math.round(F.lx),F.ly=Math.round(F.ly),E.autoMargin(w,A(U),{x:U.x,y:U.y,l:H*({right:1,center:.5}[W]||0),r:H*({left:1,center:.5}[W]||0),b:V*({top:1,middle:.5}[j]||0),t:V*({bottom:1,middle:.5}[j]||0)})}function A(w){return t.autoMarginIdRoot+w._index}function o(w,U,F,G){G=G||{};var _=w.select("."+t.itemRectClassName),H=w.select("."+t.itemTextClassName),V=U.borderwidth,N=F.index,W=U._dims;L.setTranslate(w,V+F.x,V+F.y);var j=["up","down"].indexOf(U.direction)!==-1,Q=G.height||(j?W.heights[N]:W.height1);_.attr({x:0,y:0,width:G.width||(j?W.width1:W.widths[N]),height:Q});var ie=U.font.size*r,ue=d.lineCount(H),pe=(ue-1)*ie/2;d.positionText(H,t.textOffsetX,Q/2-pe+t.textOffsetY),j?F.y+=W.heights[N]+F.yPad:F.x+=W.widths[N]+F.xPad,F.index++}function k(w,U){w.attr(t.menuIndexAttrName,U||"-1").selectAll("g."+t.dropdownButtonClassName).remove()}},20763:function(B,O,e){var p=e(75909);B.exports={moduleType:"component",name:p.name,layoutAttributes:e(7163),supplyLayoutDefaults:e(64897),draw:e(13689)}},25849:function(B,O,e){B.exports=x;var p=e(39898),E=e(7901),a=e(91424),L=e(71828);function x(d,m,r){this.gd=d,this.container=m,this.id=r,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}x.barWidth=2,x.barLength=20,x.barRadius=2,x.barPad=1,x.barColor="#808BA4",x.prototype.enable=function(m,r,t){var s=this.gd._fullLayout,n=s.width,f=s.height;this.position=m;var c=this.position.l,u=this.position.w,b=this.position.t,h=this.position.h,S=this.position.direction,v=S==="down",l=S==="left",g=S==="right",C=S==="up",M=u,D=h,T,P,A,o;!v&&!l&&!g&&!C&&(this.position.direction="down",v=!0);var k=v||C;k?(T=c,P=T+M,v?(A=b,o=Math.min(A+D,f),D=o-A):(o=b+D,A=Math.max(o-D,0),D=o-A)):(A=b,o=A+D,l?(P=c+M,T=Math.max(P-M,0),M=P-T):(T=c,P=Math.min(T+M,n),M=P-T)),this._box={l:T,t:A,w:M,h:D};var w=u>M,U=x.barLength+2*x.barPad,F=x.barWidth+2*x.barPad,G=c,_=b+h;_+F>f&&(_=f-F);var H=this.container.selectAll("rect.scrollbar-horizontal").data(w?[0]:[]);H.exit().on(".drag",null).remove(),H.enter().append("rect").classed("scrollbar-horizontal",!0).call(E.fill,x.barColor),w?(this.hbar=H.attr({rx:x.barRadius,ry:x.barRadius,x:G,y:_,width:U,height:F}),this._hbarXMin=G+U/2,this._hbarTranslateMax=M-U):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var V=h>D,N=x.barWidth+2*x.barPad,W=x.barLength+2*x.barPad,j=c+u,Q=b;j+N>n&&(j=n-N);var ie=this.container.selectAll("rect.scrollbar-vertical").data(V?[0]:[]);ie.exit().on(".drag",null).remove(),ie.enter().append("rect").classed("scrollbar-vertical",!0).call(E.fill,x.barColor),V?(this.vbar=ie.attr({rx:x.barRadius,ry:x.barRadius,x:j,y:Q,width:N,height:W}),this._vbarYMin=Q+W/2,this._vbarTranslateMax=D-W):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var ue=this.id,pe=T-.5,q=V?P+N+.5:P+.5,X=A-.5,K=w?o+F+.5:o+.5,J=s._topdefs.selectAll("#"+ue).data(w||V?[0]:[]);if(J.exit().remove(),J.enter().append("clipPath").attr("id",ue).append("rect"),w||V?(this._clipRect=J.select("rect").attr({x:Math.floor(pe),y:Math.floor(X),width:Math.ceil(q)-Math.floor(pe),height:Math.ceil(K)-Math.floor(X)}),this.container.call(a.setClipUrl,ue,this.gd),this.bg.attr({x:c,y:b,width:u,height:h})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),w||V){var re=p.behavior.drag().on("dragstart",function(){p.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var fe=p.behavior.drag().on("dragstart",function(){p.event.sourceEvent.preventDefault(),p.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));w&&this.hbar.on(".drag",null).call(fe),V&&this.vbar.on(".drag",null).call(fe)}this.setTranslate(r,t)},x.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},x.prototype._onBoxDrag=function(){var m=this.translateX,r=this.translateY;this.hbar&&(m-=p.event.dx),this.vbar&&(r-=p.event.dy),this.setTranslate(m,r)},x.prototype._onBoxWheel=function(){var m=this.translateX,r=this.translateY;this.hbar&&(m+=p.event.deltaY),this.vbar&&(r+=p.event.deltaY),this.setTranslate(m,r)},x.prototype._onBarDrag=function(){var m=this.translateX,r=this.translateY;if(this.hbar){var t=m+this._hbarXMin,s=t+this._hbarTranslateMax,n=L.constrain(p.event.x,t,s),f=(n-t)/(s-t),c=this.position.w-this._box.w;m=f*c}if(this.vbar){var u=r+this._vbarYMin,b=u+this._vbarTranslateMax,h=L.constrain(p.event.y,u,b),S=(h-u)/(b-u),v=this.position.h-this._box.h;r=S*v}this.setTranslate(m,r)},x.prototype.setTranslate=function(m,r){var t=this.position.w-this._box.w,s=this.position.h-this._box.h;if(m=L.constrain(m||0,0,t),r=L.constrain(r||0,0,s),this.translateX=m,this.translateY=r,this.container.call(a.setTranslate,this._box.l-this.position.l-m,this._box.t-this.position.t-r),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+m-.5),y:Math.floor(this.position.t+r-.5)}),this.hbar){var n=m/t;this.hbar.call(a.setTranslate,m+n*this._hbarTranslateMax,r)}if(this.vbar){var f=r/s;this.vbar.call(a.setTranslate,m,r+f*this._vbarTranslateMax)}}},18783:function(B){B.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(B){B.exports={axisRefDescription:function(O,e,p){return["If set to a",O,"axis id (e.g. *"+O+"* or","*"+O+"2*), the `"+O+"` position refers to a",O,"coordinate. If set to *paper*, the `"+O+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+p+"). If set to a",O,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+O+"2 domain* refers to the domain of the second",O," axis and a",O,"position of 0.5 refers to the","point between the",e,"and the",p,"of the domain of the","second",O,"axis."].join(" ")}}},22372:function(B){B.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(B){B.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(B){B.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(B){B.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(B){B.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(B){B.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(B){B.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},32396:function(B,O){O.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],O.STYLE=O.CSS_DECLARATIONS.map(function(e){return e.join(": ")+"; "}).join("")},77922:function(B,O){O.xmlns="http://www.w3.org/2000/xmlns/",O.svg="http://www.w3.org/2000/svg",O.xlink="http://www.w3.org/1999/xlink",O.svgAttrs={xmlns:O.svg,"xmlns:xlink":O.xlink}},8729:function(B,O,e){O.version=e(11506).version,e(7417),e(98847);for(var p=e(73972),E=O.register=p.register,a=e(10641),L=Object.keys(a),x=0;x<L.length;x++){var d=L[x];d.charAt(0)!=="_"&&(O[d]=a[d]),E({moduleType:"apiMethod",name:d,fn:a[d]})}E(e(67368)),E([e(32745),e(2468),e(47322),e(89853),e(68804),e(20763),e(23243),e(13137),e(97218),e(83312),e(37369),e(21081),e(12311),e(2199),e(30211),e(64168)]),E([e(92177),e(37815)]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(E(window.PlotlyLocales),delete window.PlotlyLocales),O.Icons=e(24255);var m=e(30211),r=e(74875);O.Plots={resize:r.resize,graphJson:r.graphJson,sendDataToCloud:r.sendDataToCloud},O.Fx={hover:m.hover,unhover:m.unhover,loneHover:m.loneHover,loneUnhover:m.loneUnhover},O.Snapshot=e(44511),O.PlotSchema=e(86281)},24255:function(B){B.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:["<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'>","<defs>"," <style>"," .cls-0{fill:#000;}"," .cls-1{fill:#FFF;}"," .cls-2{fill:#F26;}"," .cls-3{fill:#D69;}"," .cls-4{fill:#BAC;}"," .cls-5{fill:#9EF;}"," </style>","</defs>"," <title>plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(B,O){O.isLeftAnchor=function(p){return p.xanchor==="left"||p.xanchor==="auto"&&p.x<=.3333333333333333},O.isCenterAnchor=function(p){return p.xanchor==="center"||p.xanchor==="auto"&&p.x>.3333333333333333&&p.x<.6666666666666666},O.isRightAnchor=function(p){return p.xanchor==="right"||p.xanchor==="auto"&&p.x>=.6666666666666666},O.isTopAnchor=function(p){return p.yanchor==="top"||p.yanchor==="auto"&&p.y>=.6666666666666666},O.isMiddleAnchor=function(p){return p.yanchor==="middle"||p.yanchor==="auto"&&p.y>.3333333333333333&&p.y<.6666666666666666},O.isBottomAnchor=function(p){return p.yanchor==="bottom"||p.yanchor==="auto"&&p.y<=.3333333333333333}},26348:function(B,O,e){var p=e(64872),E=p.mod,a=p.modHalf,L=Math.PI,x=2*L;function d(S){return S/180*L}function m(S){return S/L*180}function r(S){return Math.abs(S[1]-S[0])>x-1e-14}function t(S,v){return a(v-S,x)}function s(S,v){return Math.abs(t(S,v))}function n(S,v){if(r(v))return!0;var l,g;v[0]g&&(g+=x);var C=E(S,x),M=C+x;return C>=l&&C<=g||M>=l&&M<=g}function f(S,v,l,g){if(!n(v,g))return!1;var C,M;return l[0]=C&&S<=M}function c(S,v,l,g,C,M,D){C=C||0,M=M||0;var T=r([l,g]),P,A,o,k,w;T?(P=0,A=L,o=x):lb.max?c.set(u):c.set(+f)}},integer:{coerceFunction:function(f,c,u,b){f%1||!p(f)||b.min!==void 0&&fb.max?c.set(u):c.set(+f)}},string:{coerceFunction:function(f,c,u,b){if(typeof f!="string"){var h=typeof f=="number";b.strict===!0||!h?c.set(u):c.set(String(f))}else b.noBlank&&!f?c.set(u):c.set(f)}},color:{coerceFunction:function(f,c,u){E(f).isValid()?c.set(f):c.set(u)}},colorlist:{coerceFunction:function(f,c,u){function b(h){return E(h).isValid()}!Array.isArray(f)||!f.length?c.set(u):f.every(b)?c.set(f):c.set(u)}},colorscale:{coerceFunction:function(f,c,u){c.set(L.get(f,u))}},angle:{coerceFunction:function(f,c,u){f==="auto"?c.set("auto"):p(f)?c.set(t(+f,360)):c.set(u)}},subplotid:{coerceFunction:function(f,c,u,b){var h=b.regex||r(u);if(typeof f=="string"&&h.test(f)){c.set(f);return}c.set(u)},validateFunction:function(f,c){var u=c.dflt;return f===u?!0:typeof f!="string"?!1:!!r(u).test(f)}},flaglist:{coerceFunction:function(f,c,u,b){if((b.extras||[]).indexOf(f)!==-1){c.set(f);return}if(typeof f!="string"){c.set(u);return}for(var h=f.split("+"),S=0;S=l&&_<=g?_:d}if(typeof _!="string"&&typeof _!="number")return d;_=String(_);var j=S(H),Q=_.charAt(0);j&&(Q==="G"||Q==="g")&&(_=_.substr(1),H="");var ie=j&&H.substr(0,7)==="chinese",ue=_.match(ie?b:u);if(!ue)return d;var pe=ue[1],q=ue[3]||"1",X=Number(ue[5]||1),K=Number(ue[7]||0),J=Number(ue[9]||0),re=Number(ue[11]||0);if(j){if(pe.length===2)return d;pe=Number(pe);var fe;try{var te=f.getComponentMethod("calendars","getCal")(H);if(ie){var ee=q.charAt(q.length-1)==="i";q=parseInt(q,10),fe=te.newDate(pe,te.toMonthIndex(pe,q,ee),X)}else fe=te.newDate(pe,Number(q),X)}catch{return d}return fe?(fe.toJD()-n)*m+K*r+J*t+re*s:d}pe.length===2?pe=(Number(pe)+2e3-h)%100+h:pe=Number(pe),q-=1;var ce=new Date(Date.UTC(2e3,q,X,K,J));return ce.setUTCFullYear(pe),ce.getUTCMonth()!==q||ce.getUTCDate()!==X?d:ce.getTime()+re*s},l=O.MIN_MS=O.dateTime2ms("-9999"),g=O.MAX_MS=O.dateTime2ms("9999-12-31 23:59:59.9999"),O.isDateTime=function(_,H){return O.dateTime2ms(_,H)!==d};function C(_,H){return String(_+Math.pow(10,H)).substr(1)}var M=90*m,D=3*r,T=5*t;O.ms2DateTime=function(_,H,V){if(typeof _!="number"||!(_>=l&&_<=g))return d;H||(H=0);var N=Math.floor(L(_+.05,1)*10),W=Math.round(_-N/10),j,Q,ie,ue,pe,q;if(S(V)){var X=Math.floor(W/m)+n,K=Math.floor(L(_,m));try{j=f.getComponentMethod("calendars","getCal")(V).fromJD(X).formatDate("yyyy-mm-dd")}catch{j=c("G%Y-%m-%d")(new Date(W))}if(j.charAt(0)==="-")for(;j.length<11;)j="-0"+j.substr(1);else for(;j.length<10;)j="0"+j;Q=H=l+m&&_<=g-m))return d;var H=Math.floor(L(_+.05,1)*10),V=new Date(Math.round(_-H/10)),N=p("%Y-%m-%d")(V),W=V.getHours(),j=V.getMinutes(),Q=V.getSeconds(),ie=V.getUTCMilliseconds()*10+H;return P(N,W,j,Q,ie)};function P(_,H,V,N,W){if((H||V||N||W)&&(_+=" "+C(H,2)+":"+C(V,2),(N||W)&&(_+=":"+C(N,2),W))){for(var j=4;W%10===0;)j-=1,W/=10;_+="."+C(W,j)}return _}O.cleanDate=function(_,H,V){if(_===d)return H;if(O.isJSDate(_)||typeof _=="number"&&isFinite(_)){if(S(V))return a.error("JS Dates and milliseconds are incompatible with world calendars",_),H;if(_=O.ms2DateTimeLocal(+_),!_&&H!==void 0)return H}else if(!O.isDateTime(_,V))return a.error("unrecognized date",_),H;return _};var A=/%\d?f/g,o=/%h/g,k={1:"1",2:"1",3:"2",4:"2"};function w(_,H,V,N){_=_.replace(A,function(j){var Q=Math.min(+j.charAt(1)||6,6),ie=(H/1e3%1+2).toFixed(Q).substr(2).replace(/0+$/,"")||"0";return ie});var W=new Date(Math.floor(H+.05));if(_=_.replace(o,function(){return k[V("%q")(W)]}),S(N))try{_=f.getComponentMethod("calendars","worldCalFmt")(_,H,N)}catch{return"Invalid"}return V(_)(W)}var U=[59,59.9,59.99,59.999,59.9999];function F(_,H){var V=L(_+.05,m),N=C(Math.floor(V/r),2)+":"+C(L(Math.floor(V/t),60),2);if(H!=="M"){E(H)||(H=0);var W=Math.min(L(_/s,60),U[H]),j=(100+W).toFixed(H).substr(1);H>0&&(j=j.replace(/0+$/,"").replace(/[\.]$/,"")),N+=":"+j}return N}O.formatDate=function(_,H,V,N,W,j){if(W=S(W)&&W,!H)if(V==="y")H=j.year;else if(V==="m")H=j.month;else if(V==="d")H=j.dayMonth+` -`+j.year;else return F(_,V)+` -`+w(j.dayMonthYear,_,N,W);return w(H,_,N,W)};var G=3*m;O.incrementMonth=function(_,H,V){V=S(V)&&V;var N=L(_,m);if(_=Math.round(_-N),V)try{var W=Math.round(_/m)+n,j=f.getComponentMethod("calendars","getCal")(V),Q=j.fromJD(W);return H%12?j.add(Q,H,"m"):j.add(Q,H/12,"y"),(Q.toJD()-n)*m+N}catch{a.error("invalid ms "+_+" in calendar "+V)}var ie=new Date(_+G);return ie.setUTCMonth(ie.getUTCMonth()+H)+N-G},O.findExactDates=function(_,H){for(var V=0,N=0,W=0,j=0,Q,ie,ue=S(H)&&f.getComponentMethod("calendars","getCal")(H),pe=0;pe<_.length;pe++){if(ie=_[pe],!E(ie)){j++;continue}if(!(ie%m))if(ue)try{Q=ue.fromJD(ie/m+n),Q.day()===1?Q.month()===1?V++:N++:W++}catch{}else Q=new Date(ie),Q.getUTCDate()===1?Q.getUTCMonth()===0?V++:N++:W++}N+=V,W+=N;var q=_.length-j;return{exactYears:V/q,exactMonths:N/q,exactDays:W/q}}},24401:function(B,O,e){var p=e(39898),E=e(47769),a=e(35657),L=e(79576);function x(h){var S;if(typeof h=="string"){if(S=document.getElementById(h),S===null)throw new Error("No DOM element with id '"+h+"' exists on the page.");return S}else if(h==null)throw new Error("DOM element provided is null or undefined");return h}function d(h){var S=p.select(h);return S.node()instanceof HTMLElement&&S.size()&&S.classed("js-plotly-plot")}function m(h){var S=h&&h.parentNode;S&&S.removeChild(h)}function r(h,S){t("global",h,S)}function t(h,S,v){var l="plotly.js-style-"+h,g=document.getElementById(l);g||(g=document.createElement("style"),g.setAttribute("id",l),g.appendChild(document.createTextNode("")),document.head.appendChild(g));var C=g.sheet;C.insertRule?C.insertRule(S+"{"+v+"}",0):C.addRule?C.addRule(S,v,0):E.warn("addStyleRule failed")}function s(h){var S="plotly.js-style-"+h,v=document.getElementById(S);v&&m(v)}function n(h){var S=c(h),v=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return S.forEach(function(l){var g=f(l);if(g){var C=a.convertCssMatrix(g);v=L.multiply(v,v,C)}}),v}function f(h){var S=window.getComputedStyle(h,null),v=S.getPropertyValue("-webkit-transform")||S.getPropertyValue("-moz-transform")||S.getPropertyValue("-ms-transform")||S.getPropertyValue("-o-transform")||S.getPropertyValue("transform");return v==="none"?null:v.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(l){return+l})}function c(h){for(var S=[];u(h);)S.push(h),h=h.parentNode;return S}function u(h){return h&&(h instanceof Element||h instanceof HTMLElement)}function b(h,S){return h&&S&&h.top===S.top&&h.left===S.left&&h.right===S.right&&h.bottom===S.bottom}B.exports={getGraphDiv:x,isPlotDiv:d,removeElement:m,addStyleRule:r,addRelatedStyleRule:t,deleteRelatedStyleRule:s,getFullTransformMatrix:n,getElementTransformMatrix:f,getElementAndAncestors:c,equalDomRects:b}},11086:function(B,O,e){var p=e(15398).EventEmitter,E={init:function(a){if(a._ev instanceof p)return a;var L=new p,x=new p;return a._ev=L,a._internalEv=x,a.on=L.on.bind(L),a.once=L.once.bind(L),a.removeListener=L.removeListener.bind(L),a.removeAllListeners=L.removeAllListeners.bind(L),a._internalOn=x.on.bind(x),a._internalOnce=x.once.bind(x),a._removeInternalListener=x.removeListener.bind(x),a._removeAllInternalListeners=x.removeAllListeners.bind(x),a.emit=function(d,m){typeof jQuery<"u"&&jQuery(a).trigger(d,m),L.emit(d,m),x.emit(d,m)},a},triggerHandler:function(a,L,x){var d,m;typeof jQuery<"u"&&(d=jQuery(a).triggerHandler(L,x));var r=a._ev;if(!r)return d;var t=r._events[L];if(!t)return d;function s(f){if(f.listener){if(r.removeListener(L,f.listener),!f.fired)return f.fired=!0,f.listener.apply(r,[x])}else return f.apply(r,[x])}t=Array.isArray(t)?t:[t];var n;for(n=0;n0&&F[G+1][0]<0)return G;return null}switch(T==="RUS"||T==="FJI"?A=function(F){var G;if(U(F)===null)G=F;else for(G=new Array(F.length),w=0;wG?_[H++]=[F[w][0]+360,F[w][1]]:w===G?(_[H++]=F[w],_[H++]=[F[w][0],-90]):_[H++]=F[w];var V=s.tester(_);V.pts.pop(),P.push(V)}:A=function(F){P.push(s.tester(F))},M.type){case"MultiPolygon":for(o=0;oP&&(P=k,D=o)}else D=M;return L.default(D).geometry.coordinates}function l(C){var M=window.PlotlyGeoAssets||{},D=[];function T(w){return new Promise(function(U,F){p.json(w,function(G,_){if(G){delete M[w];var H=G.status===404?'GeoJSON at URL "'+w+'" does not exist.':"Unexpected error while fetching from "+w;return F(new Error(H))}return M[w]=_,U(_)})})}function P(w){return new Promise(function(U,F){var G=0,_=setInterval(function(){if(M[w]&&M[w]!=="pending")return clearInterval(_),U(M[w]);if(G>100)return clearInterval(_),F("Unexpected error while fetching from "+w);G++},50)})}for(var A=0;A0&&(x.push(d),d=[])}return d.length>0&&x.push(d),x},O.makeLine=function(E){return E.length===1?{type:"LineString",coordinates:E[0]}:{type:"MultiLineString",coordinates:E}},O.makePolygon=function(E){if(E.length===1)return{type:"Polygon",coordinates:E};for(var a=new Array(E.length),L=0;L1||M<0||M>1?null:{x:m+b*M,y:r+v*M}}O.segmentDistance=function(r,t,s,n,f,c,u,b){if(E(r,t,s,n,f,c,u,b))return 0;var h=s-r,S=n-t,v=u-f,l=b-c,g=h*h+S*S,C=v*v+l*l,M=Math.min(a(h,S,g,f-r,c-t),a(h,S,g,u-r,b-t),a(v,l,C,r-f,t-c),a(v,l,C,s-f,n-c));return Math.sqrt(M)};function a(m,r,t,s,n){var f=s*m+n*r;if(f<0)return s*s+n*n;if(f>t){var c=s-m,u=n-r;return c*c+u*u}else{var b=s*r-n*m;return b*b/t}}var L,x,d;O.getTextLocation=function(r,t,s,n){if((r!==x||n!==d)&&(L={},x=r,d=n),L[s])return L[s];var f=r.getPointAtLength(p(s-n/2,t)),c=r.getPointAtLength(p(s+n/2,t)),u=Math.atan((c.y-f.y)/(c.x-f.x)),b=r.getPointAtLength(p(s,t)),h=(b.x*4+f.x+c.x)/6,S=(b.y*4+f.y+c.y)/6,v={x:h,y:S,theta:u};return L[s]=v,v},O.clearLocationCache=function(){x=null},O.getVisibleSegment=function(r,t,s){var n=t.left,f=t.right,c=t.top,u=t.bottom,b=0,h=r.getTotalLength(),S=h,v,l;function g(M){var D=r.getPointAtLength(M);M===0?v=D:M===h&&(l=D);var T=D.xf?D.x-f:0,P=D.yu?D.y-u:0;return Math.sqrt(T*T+P*P)}for(var C=g(b);C;){if(b+=C+s,b>S)return;C=g(b)}for(C=g(S);C;){if(S-=C+s,b>S)return;C=g(S)}return{min:b,max:S,len:S-b,total:h,isClosed:b===0&&S===h&&Math.abs(v.x-l.x)<.1&&Math.abs(v.y-l.y)<.1}},O.findPointOnPath=function(r,t,s,n){n=n||{};for(var f=n.pathLength||r.getTotalLength(),c=n.tolerance||.001,u=n.iterationLimit||30,b=r.getPointAtLength(0)[s]>r.getPointAtLength(f)[s]?-1:1,h=0,S=0,v=f,l,g,C;h0?v=l:S=l,h++}return g}},81697:function(B,O,e){var p=e(92770),E=e(84267),a=e(25075),L=e(21081),x=e(22399).defaultLine,d=e(73627).isArrayOrTypedArray,m=a(x),r=1;function t(u,b){var h=u;return h[3]*=b,h}function s(u){if(p(u))return m;var b=a(u);return b.length?b:m}function n(u){return p(u)?u:r}function f(u,b,h){var S=u.color,v=d(S),l=d(b),g=L.extractOpts(u),C=[],M,D,T,P,A;if(g.colorscale!==void 0?M=L.makeColorScaleFuncFromTrace(u):M=s,v?D=function(k,w){return k[w]===void 0?m:a(M(k[w]))}:D=s,l?T=function(k,w){return k[w]===void 0?r:n(k[w])}:T=n,v||l)for(var o=0;o1?(E*e+E*p)/E:e+p,L=String(a).length;if(L>16){var x=String(p).length,d=String(e).length;if(L>=d+x){var m=parseFloat(a).toPrecision(12);m.indexOf("e+")===-1&&(a=+m)}}return a}},71828:function(B,O,e){var p=e(39898),E=e(84096).g0,a=e(60721).WU,L=e(92770),x=e(50606),d=x.FP_SAFE,m=-d,r=x.BADNUM,t=B.exports={};t.adjustFormat=function(fe){return!fe||/^\d[.]\df/.test(fe)||/[.]\d%/.test(fe)?fe:fe==="0.f"?"~f":/^\d%/.test(fe)?"~%":/^\ds/.test(fe)?"~s":!/^[~,.0$]/.test(fe)&&/[&fps]/.test(fe)?"~"+fe:fe};var s={};t.warnBadFormat=function(re){var fe=String(re);s[fe]||(s[fe]=1,t.warn('encountered bad format: "'+fe+'"'))},t.noFormat=function(re){return String(re)},t.numberFormat=function(re){var fe;try{fe=a(t.adjustFormat(re))}catch{return t.warnBadFormat(re),t.noFormat}return fe},t.nestedProperty=e(65487),t.keyedContainer=e(66636),t.relativeAttr=e(6962),t.isPlainObject=e(41965),t.toLogRange=e(58163),t.relinkPrivateKeys=e(51332);var n=e(73627);t.isTypedArray=n.isTypedArray,t.isArrayOrTypedArray=n.isArrayOrTypedArray,t.isArray1D=n.isArray1D,t.ensureArray=n.ensureArray,t.concat=n.concat,t.maxRowLength=n.maxRowLength,t.minRowLength=n.minRowLength;var f=e(64872);t.mod=f.mod,t.modHalf=f.modHalf;var c=e(96554);t.valObjectMeta=c.valObjectMeta,t.coerce=c.coerce,t.coerce2=c.coerce2,t.coerceFont=c.coerceFont,t.coercePattern=c.coercePattern,t.coerceHoverinfo=c.coerceHoverinfo,t.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,t.validate=c.validate;var u=e(41631);t.dateTime2ms=u.dateTime2ms,t.isDateTime=u.isDateTime,t.ms2DateTime=u.ms2DateTime,t.ms2DateTimeLocal=u.ms2DateTimeLocal,t.cleanDate=u.cleanDate,t.isJSDate=u.isJSDate,t.formatDate=u.formatDate,t.incrementMonth=u.incrementMonth,t.dateTick0=u.dateTick0,t.dfltRange=u.dfltRange,t.findExactDates=u.findExactDates,t.MIN_MS=u.MIN_MS,t.MAX_MS=u.MAX_MS;var b=e(65888);t.findBin=b.findBin,t.sorterAsc=b.sorterAsc,t.sorterDes=b.sorterDes,t.distinctVals=b.distinctVals,t.roundUp=b.roundUp,t.sort=b.sort,t.findIndexOfMin=b.findIndexOfMin,t.sortObjectKeys=e(78607);var h=e(80038);t.aggNums=h.aggNums,t.len=h.len,t.mean=h.mean,t.median=h.median,t.midRange=h.midRange,t.variance=h.variance,t.stdev=h.stdev,t.interp=h.interp;var S=e(35657);t.init2dArray=S.init2dArray,t.transposeRagged=S.transposeRagged,t.dot=S.dot,t.translationMatrix=S.translationMatrix,t.rotationMatrix=S.rotationMatrix,t.rotationXYMatrix=S.rotationXYMatrix,t.apply3DTransform=S.apply3DTransform,t.apply2DTransform=S.apply2DTransform,t.apply2DTransform2=S.apply2DTransform2,t.convertCssMatrix=S.convertCssMatrix,t.inverseTransformMatrix=S.inverseTransformMatrix;var v=e(26348);t.deg2rad=v.deg2rad,t.rad2deg=v.rad2deg,t.angleDelta=v.angleDelta,t.angleDist=v.angleDist,t.isFullCircle=v.isFullCircle,t.isAngleInsideSector=v.isAngleInsideSector,t.isPtInsideSector=v.isPtInsideSector,t.pathArc=v.pathArc,t.pathSector=v.pathSector,t.pathAnnulus=v.pathAnnulus;var l=e(99863);t.isLeftAnchor=l.isLeftAnchor,t.isCenterAnchor=l.isCenterAnchor,t.isRightAnchor=l.isRightAnchor,t.isTopAnchor=l.isTopAnchor,t.isMiddleAnchor=l.isMiddleAnchor,t.isBottomAnchor=l.isBottomAnchor;var g=e(87642);t.segmentsIntersect=g.segmentsIntersect,t.segmentDistance=g.segmentDistance,t.getTextLocation=g.getTextLocation,t.clearLocationCache=g.clearLocationCache,t.getVisibleSegment=g.getVisibleSegment,t.findPointOnPath=g.findPointOnPath;var C=e(1426);t.extendFlat=C.extendFlat,t.extendDeep=C.extendDeep,t.extendDeepAll=C.extendDeepAll,t.extendDeepNoArrays=C.extendDeepNoArrays;var M=e(47769);t.log=M.log,t.warn=M.warn,t.error=M.error;var D=e(30587);t.counterRegex=D.counter;var T=e(79990);t.throttle=T.throttle,t.throttleDone=T.done,t.clearThrottle=T.clear;var P=e(24401);t.getGraphDiv=P.getGraphDiv,t.isPlotDiv=P.isPlotDiv,t.removeElement=P.removeElement,t.addStyleRule=P.addStyleRule,t.addRelatedStyleRule=P.addRelatedStyleRule,t.deleteRelatedStyleRule=P.deleteRelatedStyleRule,t.getFullTransformMatrix=P.getFullTransformMatrix,t.getElementTransformMatrix=P.getElementTransformMatrix,t.getElementAndAncestors=P.getElementAndAncestors,t.equalDomRects=P.equalDomRects,t.clearResponsive=e(86367),t.preserveDrawingBuffer=e(45142),t.makeTraceGroups=e(77310),t._=e(15867),t.notifier=e(75046),t.filterUnique=e(75744),t.filterVisible=e(76756),t.pushUnique=e(75138),t.increment=e(39240),t.cleanNumber=e(95218),t.ensureNumber=function(fe){return L(fe)?(fe=Number(fe),fe>d||fe=fe?!1:L(re)&&re>=0&&re%1===0},t.noop=e(64213),t.identity=e(23389),t.repeat=function(re,fe){for(var te=new Array(fe),ee=0;eete?Math.max(te,Math.min(fe,re)):Math.max(fe,Math.min(te,re))},t.bBoxIntersect=function(re,fe,te){return te=te||0,re.left<=fe.right+te&&fe.left<=re.right+te&&re.top<=fe.bottom+te&&fe.top<=re.bottom+te},t.simpleMap=function(re,fe,te,ee,ce){for(var le=re.length,me=new Array(le),we=0;we=Math.pow(2,te)?ce>10?(t.warn("randstr failed uniqueness"),me):re(fe,te,ee,(ce||0)+1):me},t.OptionControl=function(re,fe){re||(re={}),fe||(fe="opt");var te={};return te.optionList=[],te._newoption=function(ee){ee[fe]=re,te[ee.name]=ee,te.optionList.push(ee)},te["_"+fe]=re,te},t.smooth=function(re,fe){if(fe=Math.round(fe)||0,fe<2)return re;var te=re.length,ee=2*te,ce=2*fe-1,le=new Array(ce),me=new Array(te),we,Se,Ee,We;for(we=0;we=ee&&(Ee-=ee*Math.floor(Ee/ee)),Ee<0?Ee=-1-Ee:Ee>=te&&(Ee=ee-1-Ee),We+=re[Ee]*le[Se];me[we]=We}return me},t.syncOrAsync=function(re,fe,te){var ee,ce;function le(){return t.syncOrAsync(re,fe,te)}for(;re.length;)if(ce=re.splice(0,1)[0],ee=ce(fe),ee&&ee.then)return ee.then(le);return te&&te(fe)},t.stripTrailingSlash=function(re){return re.substr(-1)==="/"?re.substr(0,re.length-1):re},t.noneOrAll=function(re,fe,te){if(re){var ee=!1,ce=!0,le,me;for(le=0;le0?ce:0})},t.fillArray=function(re,fe,te,ee){if(ee=ee||t.identity,t.isArrayOrTypedArray(re))for(var ce=0;ce1?ce+me[1]:"";if(le&&(me.length>1||we.length>4||te))for(;ee.test(we);)we=we.replace(ee,"$1"+le+"$2");return we+Se},t.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var H=/^\w*$/;t.templateString=function(re,fe){var te={};return re.replace(t.TEMPLATE_STRING_REGEX,function(ee,ce){var le;return H.test(ce)?le=fe[ce]:(te[ce]=te[ce]||t.nestedProperty(fe,ce).get,le=te[ce]()),t.isValidTextValue(le)?le:""})};var V={max:10,count:0,name:"hovertemplate"};t.hovertemplateString=function(){return ue.apply(V,arguments)};var N={max:10,count:0,name:"texttemplate"};t.texttemplateString=function(){return ue.apply(N,arguments)};var W=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function j(re){var fe=re.match(W);return fe?{key:fe[1],op:fe[2],number:Number(fe[3])}:{key:re,op:null,number:null}}var Q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};t.texttemplateStringForShapes=function(){return ue.apply(Q,arguments)};var ie=/^[:|\|]/;function ue(re,fe,te){var ee=this,ce=arguments;fe||(fe={});var le={};return re.replace(t.TEMPLATE_STRING_REGEX,function(me,we,Se){var Ee=we==="xother"||we==="yother",We=we==="_xother"||we==="_yother",Ye=we==="_xother_"||we==="_yother_",De=we==="xother_"||we==="yother_",Te=Ee||We||De||Ye,Re=we;(We||Ye)&&(Re=Re.substring(1)),(De||Ye)&&(Re=Re.substring(0,Re.length-1));var Xe=null,Je=null;if(ee.parseMultDiv){var He=j(Re);Re=He.key,Xe=He.op,Je=He.number}var $e;if(Te){if($e=fe[Re],$e===void 0)return""}else{var pt,ut;for(ut=3;ut=pe&&me<=q,Ee=we>=pe&&we<=q;if(Se&&(ee=10*ee+me-pe),Ee&&(ce=10*ce+we-pe),!Se||!Ee){if(ee!==ce)return ee-ce;if(me!==we)return me-we}}return ce-ee};var X=2e9;t.seedPseudoRandom=function(){X=2e9},t.pseudoRandom=function(){var re=X;return X=(69069*X+1)%4294967296,Math.abs(X-re)<429496729?t.pseudoRandom():X/4294967296},t.fillText=function(re,fe,te){var ee=Array.isArray(te)?function(me){te.push(me)}:function(me){te.text=me},ce=t.extractOption(re,fe,"htx","hovertext");if(t.isValidTextValue(ce))return ee(ce);var le=t.extractOption(re,fe,"tx","text");if(t.isValidTextValue(le))return ee(le)},t.isValidTextValue=function(re){return re||re===0},t.formatPercent=function(re,fe){fe=fe||0;for(var te=(Math.round(100*re*Math.pow(10,fe))*Math.pow(.1,fe)).toFixed(fe)+"%",ee=0;ee1&&(Ee=1):Ee=0,t.strTranslate(ce-Ee*(te+me),le-Ee*(ee+we))+t.strScale(Ee)+(Se?"rotate("+Se+(fe?"":" "+te+" "+ee)+")":"")},t.setTransormAndDisplay=function(re,fe){re.attr("transform",t.getTextTransform(fe)),re.style("display",fe.scale?null:"none")},t.ensureUniformFontSize=function(re,fe){var te=t.extendFlat({},fe);return te.size=Math.max(fe.size,re._fullLayout.uniformtext.minsize||0),te},t.join2=function(re,fe,te){var ee=re.length;return ee>1?re.slice(0,-1).join(fe)+te+re[ee-1]:re.join(fe)},t.bigFont=function(re){return Math.round(1.2*re)};var K=t.getFirefoxVersion(),J=K!==null&&K<86;t.getPositionFromD3Event=function(){return J?[p.event.layerX,p.event.layerY]:[p.event.offsetX,p.event.offsetY]}},41965:function(B){B.exports=function(e){return window&&window.process&&window.process.versions?Object.prototype.toString.call(e)==="[object Object]":Object.prototype.toString.call(e)==="[object Object]"&&Object.getPrototypeOf(e).hasOwnProperty("hasOwnProperty")}},66636:function(B,O,e){var p=e(65487),E=/^\w*$/,a=0,L=1,x=2,d=3,m=4;B.exports=function(t,s,n,f){n=n||"name",f=f||"value";var c,u,b,h={};s&&s.length?(b=p(t,s),u=b.get()):u=t,s=s||"";var S={};if(u)for(c=0;c2)return h[C]=h[C]|x,l.set(g,null);if(v){for(c=C;c1){var x=["LOG:"];for(L=0;L1){var d=[];for(L=0;L"),"long")}},a.warn=function(){var L;if(p.logging>0){var x=["WARN:"];for(L=0;L0){var d=[];for(L=0;L"),"stick")}},a.error=function(){var L;if(p.logging>0){var x=["ERROR:"];for(L=0;L0){var d=[];for(L=0;L"),"stick")}}},77310:function(B,O,e){var p=e(39898);B.exports=function(a,L,x){var d=a.selectAll("g."+x.replace(/\s/g,".")).data(L,function(r){return r[0].trace.uid});d.exit().remove(),d.enter().append("g").attr("class",x),d.order();var m=a.classed("rangeplot")?"nodeRangePlot3":"node3";return d.each(function(r){r[0][m]=p.select(this)}),d}},35657:function(B,O,e){var p=e(79576);O.init2dArray=function(E,a){for(var L=new Array(E),x=0;xE/2?p-Math.round(p/E)*E:p}B.exports={mod:O,modHalf:e}},65487:function(B,O,e){var p=e(92770),E=e(73627).isArrayOrTypedArray;B.exports=function(f,c){if(p(c))c=String(c);else if(typeof c!="string"||c.substr(c.length-4)==="[-1]")throw"bad property string";var u=c.split("."),b,h,S,v;for(v=0;v/g),u=0;ur||C===E||Cs||l&&c(v))}function b(v,l){var g=v[0],C=v[1];if(g===E||gr||C===E||Cs)return!1;var M=d.length,D=d[0][0],T=d[0][1],P=0,A,o,k,w,U;for(A=1;AMath.max(o,D)||C>Math.max(k,T)))if(Cn||Math.abs(p(b,c))>r)return!0;return!1},a.filter=function(x,d){var m=[x[0]],r=0,t=0;function s(f){x.push(f);var c=m.length,u=r;m.splice(t+1);for(var b=u+1;b1){var n=x.pop();s(n)}return{addPt:s,raw:x,filtered:m}}},79749:function(B,O,e){var p=e(58617),E=e(98580);B.exports=function(L,x,d){var m=L._fullLayout,r=!0;return m._glcanvas.each(function(t){if(t.regl){t.regl.preloadCachedCode(d);return}if(!(t.pick&&!m._has("parcoords"))){try{t.regl=E({canvas:this,attributes:{antialias:!t.pick,preserveDrawingBuffer:!0},pixelRatio:L._context.plotGlPixelRatio||e.g.devicePixelRatio,extensions:x||[],cachedCode:d||{}})}catch{r=!1}t.regl||(r=!1),r&&this.addEventListener("webglcontextlost",function(s){L&&L.emit&&L.emit("plotly_webglcontextlost",{event:s,layer:t.key})},!1)}}),r||p({container:m._glcontainer.node()}),r}},45142:function(B,O,e){var p=e(92770),E=e(35791);B.exports=function(x){var d;if(x&&x.hasOwnProperty("userAgent")?d=x.userAgent:d=a(),typeof d!="string")return!0;var m=E({ua:{headers:{"user-agent":d}},tablet:!0,featureDetect:!1});if(!m)for(var r=d.split(" "),t=1;t-1;n--){var f=r[n];if(f.substr(0,8)==="Version/"){var c=f.substr(8).split(".")[0];if(p(c)&&(c=+c),c>=13)return!0}}}return m};function a(){var L;return typeof navigator<"u"&&(L=navigator.userAgent),L&&L.headers&&typeof L.headers["user-agent"]=="string"&&(L=L.headers["user-agent"]),L}},75138:function(B){B.exports=function(e,p){if(p instanceof RegExp){for(var E=p.toString(),a=0;aE.queueLength&&(x.undoQueue.queue.shift(),x.undoQueue.index--)},L.startSequence=function(x){x.undoQueue=x.undoQueue||{index:0,queue:[],sequence:!1},x.undoQueue.sequence=!0,x.undoQueue.beginSequence=!0},L.stopSequence=function(x){x.undoQueue=x.undoQueue||{index:0,queue:[],sequence:!1},x.undoQueue.sequence=!1,x.undoQueue.beginSequence=!1},L.undo=function(d){var m,r;if(!(d.undoQueue===void 0||isNaN(d.undoQueue.index)||d.undoQueue.index<=0)){for(d.undoQueue.index--,m=d.undoQueue.queue[d.undoQueue.index],d.undoQueue.inSequence=!0,r=0;r=d.undoQueue.queue.length)){for(m=d.undoQueue.queue[d.undoQueue.index],d.undoQueue.inSequence=!0,r=0;r1?(n[u-1]-n[0])/(u-1):1,S,v;for(h>=0?v=f?d:m:v=f?t:r,s+=h*x*(f?-1:1)*(h>=0?1:-1);c90&&E.log("Long binary search..."),c-1};function d(s,n){return sn}function t(s,n){return s>=n}O.sorterAsc=function(s,n){return s-n},O.sorterDes=function(s,n){return n-s},O.distinctVals=function(s){var n=s.slice();n.sort(O.sorterAsc);var f;for(f=n.length-1;f>-1&&n[f]===L;f--);for(var c=n[f]-n[0]||1,u=c/(f||1)/1e4,b=[],h,S=0;S<=f;S++){var v=n[S],l=v-h;h===void 0?(b.push(v),h=v):l>u&&(c=Math.min(c,l),b.push(v),h=v)}return{vals:b,minDiff:c}},O.roundUp=function(s,n,f){for(var c=0,u=n.length-1,b,h=0,S=f?0:1,v=f?1:0,l=f?Math.ceil:Math.floor;c0&&(c=1),f&&c)return s.sort(n)}return c?s:s.reverse()},O.findIndexOfMin=function(s,n){n=n||a;for(var f=1/0,c,u=0;ux.length)&&(d=x.length),p(L)||(L=!1),E(x[0])){for(r=new Array(d),m=0;ma.length-1)return a[a.length-1];var x=L%1;return x*a[Math.ceil(L)]+(1-x)*a[Math.floor(L)]}},78614:function(B,O,e){var p=e(25075);function E(a){return a?p(a):[0,0,0,1]}B.exports=E},3883:function(B,O,e){var p=e(32396),E=e(91424),a=e(71828),L=null;function x(){if(L!==null)return L;L=!1;var d=a.isIE()||a.isSafari()||a.isIOS();if(window.navigator.userAgent&&!d){var m=Array.from(p.CSS_DECLARATIONS).reverse(),r=window.CSS&&window.CSS.supports||window.supportsCSS;if(typeof r=="function")L=m.some(function(f){return r.apply(null,f)});else{var t=E.tester.append("image").attr("style",p.STYLE),s=window.getComputedStyle(t.node()),n=s.imageRendering;L=m.some(function(f){var c=f[1];return n===c||n===c.toLowerCase()}),t.remove()}}return L}B.exports=x},63893:function(B,O,e){var p=e(39898),E=e(71828),a=E.strTranslate,L=e(77922),x=e(18783).LINE_SPACING,d=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;O.convertToTspans=function(V,N,W){var j=V.text(),Q=!V.attr("data-notex")&&N&&N._context.typesetMath&&typeof MathJax<"u"&&j.match(d),ie=p.select(V.node().parentNode);if(ie.empty())return;var ue=V.attr("class")?V.attr("class").split(" ")[0]:"text";ue+="-math",ie.selectAll("svg."+ue).remove(),ie.selectAll("g."+ue+"-group").remove(),V.style("display",null).attr({"data-unformatted":j,"data-math":"N"});function pe(){ie.empty()||(ue=V.attr("class")+"-math",ie.select("svg."+ue).remove()),V.text("").style("white-space","pre");var q=F(V.node(),j);q&&V.style("pointer-events","all"),O.positionText(V),W&&W.call(V)}return Q?(N&&N._promises||[]).push(new Promise(function(q){V.style("display","none");var X=parseInt(V.node().style.fontSize,10),K={fontSize:X};n(Q[2],K,function(J,re,fe){ie.selectAll("svg."+ue).remove(),ie.selectAll("g."+ue+"-group").remove();var te=J&&J.select("svg");if(!te||!te.node()){pe(),q();return}var ee=ie.append("g").classed(ue+"-group",!0).attr({"pointer-events":"none","data-unformatted":j,"data-math":"Y"});ee.node().appendChild(te.node()),re&&re.node()&&te.node().insertBefore(re.node().cloneNode(!0),te.node().firstChild);var ce=fe.width,le=fe.height;te.attr({class:ue,height:le,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var me=V.node().style.fill||"black",we=te.select("g");we.attr({fill:me,stroke:me});var Se=we.node().getBoundingClientRect(),Ee=Se.width,We=Se.height;(Ee>ce||We>le)&&(te.style("overflow","hidden"),Se=te.node().getBoundingClientRect(),Ee=Se.width,We=Se.height);var Ye=+V.attr("x"),De=+V.attr("y"),Te=X||V.node().getBoundingClientRect().height,Re=-Te/4;if(ue[0]==="y")ee.attr({transform:"rotate("+[-90,Ye,De]+")"+a(-Ee/2,Re-We/2)});else if(ue[0]==="l")De=Re-We/2;else if(ue[0]==="a"&&ue.indexOf("atitle")!==0)Ye=0,De=Re;else{var Xe=V.attr("text-anchor");Ye=Ye-Ee*(Xe==="middle"?.5:Xe==="end"?1:0),De=De+Re-We/2}te.attr({x:Ye,y:De}),W&&W.call(V,ee),q(ee)})})):pe(),V};var m=/(<|<|<)/g,r=/(>|>|>)/g;function t(V){return V.replace(m,"\\lt ").replace(r,"\\gt ")}var s=[["$","$"],["\\(","\\)"]];function n(V,N,W){var j=parseInt((MathJax.version||"").split(".")[0]);if(j!==2&&j!==3){E.warn("No MathJax version:",MathJax.version);return}var Q,ie,ue,pe,q=function(){return ie=E.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:s},displayAlign:"left"})},X=function(){ie=E.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=s},K=function(){if(Q=MathJax.Hub.config.menuSettings.renderer,Q!=="SVG")return MathJax.Hub.setRenderer("SVG")},J=function(){Q=MathJax.config.startup.output,Q!=="svg"&&(MathJax.config.startup.output="svg")},re=function(){var me="math-output-"+E.randstr({},64);pe=p.select("body").append("div").attr({id:me}).style({visibility:"hidden",position:"absolute","font-size":N.fontSize+"px"}).text(t(V));var we=pe.node();return j===2?MathJax.Hub.Typeset(we):MathJax.typeset([we])},fe=function(){var me=pe.select(j===2?".MathJax_SVG":".MathJax"),we=!me.empty()&&pe.select("svg").node();if(!we)E.log("There was an error in the tex syntax.",V),W();else{var Se=we.getBoundingClientRect(),Ee;j===2?Ee=p.select("body").select("#MathJax_SVG_glyphs"):Ee=me.select("defs"),W(me,Ee,Se)}pe.remove()},te=function(){if(Q!=="SVG")return MathJax.Hub.setRenderer(Q)},ee=function(){Q!=="svg"&&(MathJax.config.startup.output=Q)},ce=function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(ie)},le=function(){MathJax.config=ie};j===2?MathJax.Hub.Queue(q,K,re,fe,te,ce):j===3&&(X(),J(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){re(),fe(),ee(),le()}))}var f={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},c={sub:"0.3em",sup:"-0.6em"},u={sub:"-0.21em",sup:"0.42em"},b="​",h=["http:","https:","mailto:","",void 0,":"],S=O.NEWLINES=/(\r\n?|\n)/g,v=/(<[^<>]*>)/,l=/<(\/?)([^ >]*)(\s+(.*))?>/i,g=//i;O.BR_TAG_ALL=//gi;var C=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,M=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,D=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,T=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function P(V,N){if(!V)return null;var W=V.match(N),j=W&&(W[3]||W[4]);return j&&w(j)}var A=/(^|;)\s*color:/;O.plainText=function(V,N){N=N||{};for(var W=N.len!==void 0&&N.len!==-1?N.len:1/0,j=N.allowedTags!==void 0?N.allowedTags:["br"],Q="...",ie=Q.length,ue=V.split(v),pe=[],q="",X=0,K=0;Kie?pe.push(J.substr(0,ee-ie)+Q):pe.push(J.substr(0,ee));break}q=""}}return pe.join("")};var o={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},k=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function w(V){return V.replace(k,function(N,W){var j;return W.charAt(0)==="#"?j=U(W.charAt(1)==="x"?parseInt(W.substr(2),16):parseInt(W.substr(1),10)):j=o[W],j||N})}O.convertEntities=w;function U(V){if(!(V>1114111)){var N=String.fromCodePoint;if(N)return N(V);var W=String.fromCharCode;return V<=65535?W(V):W((V>>10)+55232,V%1024+56320)}}function F(V,N){N=N.replace(S," ");var W=!1,j=[],Q,ie=-1;function ue(){ie++;var We=document.createElementNS(L.svg,"tspan");p.select(We).attr({class:"line",dy:ie*x+"em"}),V.appendChild(We),Q=We;var Ye=j;if(j=[{node:We}],Ye.length>1)for(var De=1;De.",N);return}var Ye=j.pop();We!==Ye.type&&E.log("Start tag <"+Ye.type+"> doesnt match end tag <"+We+">. Pretending it did match.",N),Q=j[j.length-1].node}var K=g.test(N);K?ue():(Q=V,j=[{node:V}]);for(var J=N.split(v),re=0;red.ts+L){t();return}d.timer=setTimeout(function(){t(),d.timer=null},L)},O.done=function(E){var a=e[E];return!a||!a.timer?Promise.resolve():new Promise(function(L){var x=a.onDone;a.onDone=function(){x&&x(),L(),a.onDone=null}})},O.clear=function(E){if(E)p(e[E]),delete e[E];else for(var a in e)O.clear(a)};function p(E){E&&E.timer!==null&&(clearTimeout(E.timer),E.timer=null)}},58163:function(B,O,e){var p=e(92770);B.exports=function(a,L){if(a>0)return Math.log(a)/Math.LN10;var x=Math.log(Math.min(L[0],L[1]))/Math.LN10;return p(x)||(x=Math.log(Math.max(L[0],L[1]))/Math.LN10-6),x}},90973:function(B,O,e){var p=B.exports={},E=e(78776).locationmodeToLayer,a=e(96892).zL;p.getTopojsonName=function(L){return[L.scope.replace(/ /g,"-"),"_",L.resolution.toString(),"m"].join("")},p.getTopojsonPath=function(L,x){return L+x+".json"},p.getTopojsonFeatures=function(L,x){var d=E[L.locationmode],m=x.objects[d];return a(x,m).features}},37815:function(B){B.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(B){B.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(B,O,e){var p=e(73972);B.exports=function(a){for(var L=p.layoutArrayContainers,x=p.layoutArrayRegexes,d=a.split("[")[0],m,r,t=0;t0&&L.log("Clearing previous rejected promises from queue."),g._promises=[]},O.cleanLayout=function(g){var C,M;g||(g={}),g.xaxis1&&(g.xaxis||(g.xaxis=g.xaxis1),delete g.xaxis1),g.yaxis1&&(g.yaxis||(g.yaxis=g.yaxis1),delete g.yaxis1),g.scene1&&(g.scene||(g.scene=g.scene1),delete g.scene1);var D=(x.subplotsRegistry.cartesian||{}).attrRegex,T=(x.subplotsRegistry.polar||{}).attrRegex,P=(x.subplotsRegistry.ternary||{}).attrRegex,A=(x.subplotsRegistry.gl3d||{}).attrRegex,o=Object.keys(g);for(C=0;C3?(K.x=1.02,K.xanchor="left"):K.x<-2&&(K.x=-.02,K.xanchor="right"),K.y>3?(K.y=1.02,K.yanchor="bottom"):K.y<-2&&(K.y=-.02,K.yanchor="top")),f(g),g.dragmode==="rotate"&&(g.dragmode="orbit"),m.clean(g),g.template&&g.template.layout&&O.cleanLayout(g.template.layout),g};function n(g,C){var M=g[C],D=C.charAt(0);M&&M!=="paper"&&(g[C]=r(M,D,!0))}function f(g){g&&((typeof g.title=="string"||typeof g.title=="number")&&(g.title={text:g.title}),C("titlefont","font"),C("titleposition","position"),C("titleside","side"),C("titleoffset","offset"));function C(M,D){var T=g[M],P=g.title&&g.title[D];T&&!P&&(g.title||(g.title={}),g.title[D]=g[M],delete g[M])}}O.cleanData=function(g){for(var C=0;C0)return g.substr(0,C)}O.hasParent=function(g,C){for(var M=v(C);M;){if(M in g)return!0;M=v(M)}return!1};var l=["x","y","z"];O.clearAxisTypes=function(g,C,M){for(var D=0;D1&&a.warn("Full array edits are incompatible with other edits",u);var C=n[""][""];if(m(C))s.set(null);else if(Array.isArray(C))s.set(C);else return a.warn("Unrecognized full array edit value",u,C),!0;return v?!1:(b(l,g),h(t),!0)}var M=Object.keys(n).map(Number).sort(L),D=s.get(),T=D||[],P=c(g,u).get(),A=[],o=-1,k=T.length,w,U,F,G,_,H,V,N;for(w=0;wT.length-(V?0:1)){a.warn("index out of range",u,F);continue}if(H!==void 0)_.length>1&&a.warn("Insertion & removal are incompatible with edits to the same index.",u,F),m(H)?A.push(F):V?(H==="add"&&(H={}),T.splice(F,0,H),P&&P.splice(F,0,{})):a.warn("Unrecognized full object edit value",u,F,H),o===-1&&(o=F);else for(U=0;U<_.length;U++)N=u+"["+F+"].",c(T[F],_[U],N).set(G[_[U]])}for(w=A.length-1;w>=0;w--)T.splice(A[w],1),P&&P.splice(A[w],1);if(T.length?D||s.set(T):s.set(null),v)return!1;if(b(l,g),S!==E){var W;if(o===-1)W=M;else{for(k=Math.max(T.length,k),W=[],w=0;w=o));w++)W.push(F);for(w=o;w=Ae.data.length||Et<-Ae.data.length)throw new Error(ot+" must be valid indices for gd.data.");if(je.indexOf(Et,ct+1)>-1||Et>=0&&je.indexOf(-Ae.data.length+Et)>-1||Et<0&&je.indexOf(Ae.data.length+Et)>-1)throw new Error("each index in "+ot+" must be unique.")}}function W(Ae,je,ot){if(!Array.isArray(Ae.data))throw new Error("gd.data must be an array.");if(typeof je>"u")throw new Error("currentIndices is a required argument.");if(Array.isArray(je)||(je=[je]),N(Ae,je,"currentIndices"),typeof ot<"u"&&!Array.isArray(ot)&&(ot=[ot]),typeof ot<"u"&&N(Ae,ot,"newIndices"),typeof ot<"u"&&je.length!==ot.length)throw new Error("current and new indices must be of equal length.")}function j(Ae,je,ot){var ct,Et;if(!Array.isArray(Ae.data))throw new Error("gd.data must be an array.");if(typeof je>"u")throw new Error("traces must be defined.");for(Array.isArray(je)||(je=[je]),ct=0;ct"u")throw new Error("indices must be an integer or array of integers");N(Ae,ot,"indices");for(var kt in je){if(!Array.isArray(je[kt])||je[kt].length!==ot.length)throw new Error("attribute "+kt+" must be an array of length equal to indices array length");if(Et&&(!(kt in ct)||!Array.isArray(ct[kt])||ct[kt].length!==je[kt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function ie(Ae,je,ot,ct){var Et=L.isPlainObject(ct),kt=[],nr,dr,Dt,$t,vr;Array.isArray(ot)||(ot=[ot]),ot=V(ot,Ae.data.length-1);for(var Pr in je)for(var Ct=0;Ct=0&&vr=0&&vr"u")return $t=O.redraw(Ae),m.add(Ae,Et,nr,kt,dr),$t;Array.isArray(ot)||(ot=[ot]);try{W(Ae,ct,ot)}catch(vr){throw Ae.data.splice(Ae.data.length-je.length,je.length),vr}return m.startSequence(Ae),m.add(Ae,Et,nr,kt,dr),$t=O.moveTraces(Ae,ct,ot),m.stopSequence(Ae),$t}function J(Ae,je){Ae=L.getGraphDiv(Ae);var ot=[],ct=O.addTraces,Et=J,kt=[Ae,ot,je],nr=[Ae,je],dr,Dt;if(typeof je>"u")throw new Error("indices must be an integer or array of integers.");for(Array.isArray(je)||(je=[je]),N(Ae,je,"indices"),je=V(je,Ae.data.length-1),je.sort(L.sorterDes),dr=0;dr"u")for(ot=[],$t=0;$t-1&&kt.indexOf("grouptitlefont")===-1?dr(kt,kt.replace("titlefont","title.font")):kt.indexOf("titleposition")>-1?dr(kt,kt.replace("titleposition","title.position")):kt.indexOf("titleside")>-1?dr(kt,kt.replace("titleside","title.side")):kt.indexOf("titleoffset")>-1&&dr(kt,kt.replace("titleoffset","title.offset"));function dr(Dt,$t){Ae[$t]=Ae[Dt],delete Ae[Dt]}}function Se(Ae,je,ot){Ae=L.getGraphDiv(Ae),C.clearPromiseQueue(Ae);var ct={};if(typeof je=="string")ct[je]=ot;else if(L.isPlainObject(je))ct=L.extendFlat({},je);else return L.warn("Relayout fail.",je,ot),Promise.reject();Object.keys(ct).length&&(Ae.changed=!0);var Et=Re(Ae,ct),kt=Et.flags;kt.calc&&(Ae.calcdata=void 0);var nr=[s.previousPromises];kt.layoutReplot?nr.push(M.layoutReplot):Object.keys(ct).length&&(Ee(Ae,kt,Et)||s.supplyDefaults(Ae),kt.legend&&nr.push(M.doLegend),kt.layoutstyle&&nr.push(M.layoutStyles),kt.axrange&&We(nr,Et.rangesAltered),kt.ticks&&nr.push(M.doTicksRelayout),kt.modebar&&nr.push(M.doModeBar),kt.camera&&nr.push(M.doCamera),kt.colorbars&&nr.push(M.doColorBars),nr.push(k)),nr.push(s.rehover,s.redrag,s.reselect),m.add(Ae,Se,[Ae,Et.undoit],Se,[Ae,Et.redoit]);var dr=L.syncOrAsync(nr,Ae);return(!dr||!dr.then)&&(dr=Promise.resolve(Ae)),dr.then(function(){return Ae.emit("plotly_relayout",Et.eventData),Ae})}function Ee(Ae,je,ot){var ct=Ae._fullLayout;if(!je.axrange)return!1;for(var Et in je)if(Et!=="axrange"&&je[Et])return!1;var kt,nr,dr=function(ir,cr){return L.coerce(kt,nr,c,ir,cr)},Dt={};for(var $t in ot.rangesAltered){var vr=n.id2name($t);if(kt=Ae.layout[vr],nr=ct[vr],f(kt,nr,dr,Dt),nr._matchGroup){for(var Pr in nr._matchGroup)if(Pr!==$t){var Ct=ct[n.id2name(Pr)];Ct.autorange=nr.autorange,Ct.range=nr.range.slice(),Ct._input.range=nr.range.slice()}}}return!0}function We(Ae,je){var ot=je?function(ct){var Et=[],kt=!0;for(var nr in je){var dr=n.getFromId(ct,nr);if(Et.push(nr),(dr.ticklabelposition||"").indexOf("inside")!==-1&&dr._anchorAxis&&Et.push(dr._anchorAxis._id),dr._matchGroup)for(var Dt in dr._matchGroup)je[Dt]||Et.push(Dt)}return n.draw(ct,Et,{skipTitle:kt})}:function(ct){return n.draw(ct,"redraw")};Ae.push(v,M.doAutoRangeAndConstraints,ot,M.drawData,M.finalDraw)}var Ye=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,De=/^[xyz]axis[0-9]*\.autorange$/,Te=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function Re(Ae,je){var ot=Ae.layout,ct=Ae._fullLayout,Et=ct._guiEditing,kt=ee(ct._preGUI,Et),nr=Object.keys(je),dr=n.list(Ae),Dt=L.extendDeepAll({},je),$t={},vr,Pr,Ct;for(we(je),nr=Object.keys(je),Pr=0;Pr0&&typeof qt.parts[mr]!="string";)mr--;var Fr=qt.parts[mr],tt=qt.parts[mr-1]+"."+Fr,et=qt.parts.slice(0,mr).join("."),Wt=x(Ae.layout,et).get(),Gt=x(ct,et).get(),or=qt.get();if(ur!==void 0){Mt[Qt]=ur,yt[Qt]=Fr==="reverse"?ur:te(or);var wr=t.getLayoutValObject(ct,qt.parts);if(wr&&wr.impliedEdits&&ur!==null)for(var Tr in wr.impliedEdits)Rt(L.relativeAttr(Qt,Tr),wr.impliedEdits[Tr]);if(["width","height"].indexOf(Qt)!==-1)if(ur){Rt("autosize",null);var br=Qt==="height"?"width":"height";Rt(br,ct[br])}else ct[Qt]=Ae._initialAutoSize[Qt];else if(Qt==="autosize")Rt("width",ur?null:ct.width),Rt("height",ur?null:ct.height);else if(tt.match(Ye))Ht(tt),x(ct,et+"._inputRange").set(null);else if(tt.match(De)){Ht(tt),x(ct,et+"._inputRange").set(null);var Kt=x(ct,et).get();Kt._inputDomain&&(Kt._input.domain=Kt._inputDomain.slice())}else tt.match(Te)&&x(ct,et+"._inputDomain").set(null);if(Fr==="type"){Ut=Wt;var Ir=Gt.type==="linear"&&ur==="log",Lr=Gt.type==="log"&&ur==="linear";if(Ir||Lr){if(!Ut||!Ut.range)Rt(et+".autorange",!0);else if(Gt.autorange)Ir&&(Ut.range=Ut.range[1]>Ut.range[0]?[1,2]:[2,1]);else{var Br=Ut.range[0],zr=Ut.range[1];Ir?(Br<=0&&zr<=0&&Rt(et+".autorange",!0),Br<=0?Br=zr/1e6:zr<=0&&(zr=Br/1e6),Rt(et+".range[0]",Math.log(Br)/Math.LN10),Rt(et+".range[1]",Math.log(zr)/Math.LN10)):(Rt(et+".range[0]",Math.pow(10,Br)),Rt(et+".range[1]",Math.pow(10,zr)))}Array.isArray(ct._subplots.polar)&&ct._subplots.polar.length&&ct[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ct[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],r.getComponentMethod("annotations","convertCoords")(Ae,Gt,ur,Rt),r.getComponentMethod("images","convertCoords")(Ae,Gt,ur,Rt)}else Rt(et+".autorange",!0),Rt(et+".range",null);x(ct,et+"._inputRange").set(null)}else if(Fr.match(T)){var cn=x(ct,Qt).get(),tn=(ur||{}).type;(!tn||tn==="-")&&(tn="linear"),r.getComponentMethod("annotations","convertCoords")(Ae,cn,tn,Rt),r.getComponentMethod("images","convertCoords")(Ae,cn,tn,Rt)}var an=g.containerArrayMatch(Qt);if(an){vr=an.array,Pr=an.index;var Wn=an.property,En=wr||{editType:"calc"};Pr!==""&&Wn===""&&(g.isAddVal(ur)?yt[Qt]=null:g.isRemoveVal(ur)?yt[Qt]=(x(ot,vr).get()||[])[Pr]:L.warn("unrecognized full object value",je)),D.update(kr,En),$t[vr]||($t[vr]={});var pa=$t[vr][Pr];pa||(pa=$t[vr][Pr]={}),pa[Wn]=ur,delete je[Qt]}else Fr==="reverse"?(Wt.range?Wt.range.reverse():(Rt(et+".autorange",!0),Wt.range=[1,0]),Gt.autorange?kr.calc=!0:kr.plot=!0):(Qt==="dragmode"&&(ur===!1&&or!==!1||ur!==!1&&or===!1)||ct._has("scatter-like")&&ct._has("regl")&&Qt==="dragmode"&&(ur==="lasso"||ur==="select")&&!(or==="lasso"||or==="select")||ct._has("gl2d")?kr.plot=!0:wr?D.update(kr,wr):kr.calc=!0,qt.set(ur))}}for(vr in $t){var Qn=g.applyContainerArrayChanges(Ae,kt(ot,vr),$t[vr],kr,kt);Qn||(kr.plot=!0)}for(var _r in wt){Ut=n.getFromId(Ae,_r);var Vr=Ut&&Ut._constraintGroup;if(Vr){kr.calc=!0;for(var qr in Vr)wt[qr]||(n.getFromId(Ae,qr)._constraintShrinkable=!0)}}(Xe(Ae)||je.height||je.width)&&(kr.plot=!0);var lr=ct.shapes;for(Pr=0;Pr1;)if(ct.pop(),ot=x(je,ct.join(".")+".uirevision").get(),ot!==void 0)return ot;return je.uirevision}function ke(Ae,je){for(var ot=0;ot=Et.length?Et[0]:Et[$t]:Et}function dr($t){return Array.isArray(kt)?$t>=kt.length?kt[0]:kt[$t]:kt}function Dt($t,vr){var Pr=0;return function(){if($t&&++Pr===vr)return $t()}}return new Promise(function($t,vr){function Pr(){if(ct._frameQueue.length!==0){for(;ct._frameQueue.length;){var Fr=ct._frameQueue.pop();Fr.onInterrupt&&Fr.onInterrupt()}Ae.emit("plotly_animationinterrupted",[])}}function Ct(Fr){if(Fr.length!==0){for(var tt=0;ttct._timeToNext&&cr()};Fr()}var kr=0;function Mt(Fr){return Array.isArray(Et)?kr>=Et.length?Fr.transitionOpts=Et[kr]:Fr.transitionOpts=Et[0]:Fr.transitionOpts=Et,kr++,Fr}var yt,Rt,wt=[],Ut=je==null,Ht=Array.isArray(je),Qt=!Ut&&!Ht&&L.isPlainObject(je);if(Qt)wt.push({type:"object",data:Mt(L.extendFlat({},je))});else if(Ut||["string","number"].indexOf(typeof je)!==-1)for(yt=0;yt0&&CrCr)&&mr.push(Rt);wt=mr}}wt.length>0?Ct(wt):(Ae.emit("plotly_animated"),$t())})}function Ze(Ae,je,ot){if(Ae=L.getGraphDiv(Ae),je==null)return Promise.resolve();if(!L.isPlotDiv(Ae))throw new Error("This element is not a Plotly plot: "+Ae+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var ct,Et,kt,nr,dr=Ae._transitionData._frames,Dt=Ae._transitionData._frameHash;if(!Array.isArray(je))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+je);var $t=dr.length+je.length*2,vr=[],Pr={};for(ct=je.length-1;ct>=0;ct--)if(L.isPlainObject(je[ct])){var Ct=je[ct].name,ir=(Dt[Ct]||Pr[Ct]||{}).name,cr=je[ct].name,Or=Dt[ir]||Pr[ir];ir&&cr&&typeof cr=="number"&&Or&&Pqt.index?-1:Qt.index=0;ct--){if(Et=vr[ct].frame,typeof Et.name=="number"&&L.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Et.name)for(;Dt[Et.name="frame "+Ae._transitionData._counter++];);if(Dt[Et.name]){for(kt=0;kt=0;ot--)ct=je[ot],kt.push({type:"delete",index:ct}),nr.unshift({type:"insert",index:ct,value:Et[ct]});var dr=s.modifyFrames,Dt=s.modifyFrames,$t=[Ae,nr],vr=[Ae,kt];return m&&m.add(Ae,dr,$t,Dt,vr),s.modifyFrames(Ae,kt)}function Ce(Ae){Ae=L.getGraphDiv(Ae);var je=Ae._fullLayout||{},ot=Ae._fullData||[];return s.cleanPlot([],{},ot,je),s.purge(Ae),d.purge(Ae),je._container&&je._container.remove(),delete Ae._context,Ae}function ve(Ae){var je=Ae._fullLayout,ot=Ae.getBoundingClientRect();if(!L.equalDomRects(ot,je._lastBBox)){var ct=je._invTransform=L.inverseTransformMatrix(L.getFullTransformMatrix(Ae));je._invScaleX=Math.sqrt(ct[0][0]*ct[0][0]+ct[0][1]*ct[0][1]+ct[0][2]*ct[0][2]),je._invScaleY=Math.sqrt(ct[1][0]*ct[1][0]+ct[1][1]*ct[1][1]+ct[1][2]*ct[1][2]),je._lastBBox=ot}}function Ie(Ae){var je=p.select(Ae),ot=Ae._fullLayout;if(ot._calcInverseTransform=ve,ot._calcInverseTransform(Ae),ot._container=je.selectAll(".plot-container").data([0]),ot._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),ot._paperdiv=ot._container.selectAll(".svg-container").data([0]),ot._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),ot._glcontainer=ot._paperdiv.selectAll(".gl-container").data([{}]),ot._glcontainer.enter().append("div").classed("gl-container",!0),ot._paperdiv.selectAll(".main-svg").remove(),ot._paperdiv.select(".modebar-container").remove(),ot._paper=ot._paperdiv.insert("svg",":first-child").classed("main-svg",!0),ot._toppaper=ot._paperdiv.append("svg").classed("main-svg",!0),ot._modebardiv=ot._paperdiv.append("div"),delete ot._modeBar,ot._hoverpaper=ot._paperdiv.append("svg").classed("main-svg",!0),!ot._uid){var ct={};p.selectAll("defs").each(function(){this.id&&(ct[this.id.split("-")[1]]=1)}),ot._uid=L.randstr(ct)}ot._paperdiv.selectAll(".main-svg").attr(S.svgAttrs),ot._defs=ot._paper.append("defs").attr("id","defs-"+ot._uid),ot._clips=ot._defs.append("g").classed("clips",!0),ot._topdefs=ot._toppaper.append("defs").attr("id","topdefs-"+ot._uid),ot._topclips=ot._topdefs.append("g").classed("clips",!0),ot._bgLayer=ot._paper.append("g").classed("bglayer",!0),ot._draggers=ot._paper.append("g").classed("draglayer",!0);var Et=ot._paper.append("g").classed("layer-below",!0);ot._imageLowerLayer=Et.append("g").classed("imagelayer",!0),ot._shapeLowerLayer=Et.append("g").classed("shapelayer",!0),ot._cartesianlayer=ot._paper.append("g").classed("cartesianlayer",!0),ot._polarlayer=ot._paper.append("g").classed("polarlayer",!0),ot._smithlayer=ot._paper.append("g").classed("smithlayer",!0),ot._ternarylayer=ot._paper.append("g").classed("ternarylayer",!0),ot._geolayer=ot._paper.append("g").classed("geolayer",!0),ot._funnelarealayer=ot._paper.append("g").classed("funnelarealayer",!0),ot._pielayer=ot._paper.append("g").classed("pielayer",!0),ot._iciclelayer=ot._paper.append("g").classed("iciclelayer",!0),ot._treemaplayer=ot._paper.append("g").classed("treemaplayer",!0),ot._sunburstlayer=ot._paper.append("g").classed("sunburstlayer",!0),ot._indicatorlayer=ot._toppaper.append("g").classed("indicatorlayer",!0),ot._glimages=ot._paper.append("g").classed("glimages",!0);var kt=ot._toppaper.append("g").classed("layer-above",!0);ot._imageUpperLayer=kt.append("g").classed("imagelayer",!0),ot._shapeUpperLayer=kt.append("g").classed("shapelayer",!0),ot._selectionLayer=ot._toppaper.append("g").classed("selectionlayer",!0),ot._infolayer=ot._toppaper.append("g").classed("infolayer",!0),ot._menulayer=ot._toppaper.append("g").classed("menulayer",!0),ot._zoomlayer=ot._toppaper.append("g").classed("zoomlayer",!0),ot._hoverlayer=ot._hoverpaper.append("g").classed("hoverlayer",!0),ot._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),Ae.emit("plotly_framework")}O.animate=_e,O.addFrames=Ze,O.deleteFrames=Fe,O.addTraces=K,O.deleteTraces=J,O.extendTraces=q,O.moveTraces=re,O.prependTraces=X,O.newPlot=H,O._doPlot=o,O.purge=Ce,O.react=vt,O.redraw=_,O.relayout=Se,O.restyle=fe,O.setPlotConfig=w,O.update=Je,O._guiRelayout=He(Se),O._guiRestyle=He(fe),O._guiUpdate=He(Je),O._storeDirectGUIEdit=le},72075:function(B){var O={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},globalTransforms:{valType:"any",dflt:[]},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},e={};function p(E,a){for(var L in E){var x=E[L];x.valType?a[L]=x.dflt:(a[L]||(a[L]={}),p(x,a[L]))}}p(O,e),B.exports={configAttributes:O,dfltConfig:e}},86281:function(B,O,e){var p=e(73972),E=e(71828),a=e(9012),L=e(10820),x=e(31391),d=e(85594),m=e(72075).configAttributes,r=e(30962),t=E.extendDeepAll,s=E.isPlainObject,n=E.isArrayOrTypedArray,f=E.nestedProperty,c=E.valObjectMeta,u="_isSubplotObj",b="_isLinkedToArray",h="_arrayAttrRegexps",S="_deprecated",v=[u,b,h,S];O.IS_SUBPLOT_OBJ=u,O.IS_LINKED_TO_ARRAY=b,O.DEPRECATED=S,O.UNDERSCORE_ATTRS=v,O.get=function(){var G={};p.allTypes.forEach(function(H){G[H]=M(H)});var _={};return Object.keys(p.transformsRegistry).forEach(function(H){_[H]=T(H)}),{defs:{valObjects:c,metaKeys:v.concat(["description","role","editType","impliedEdits"]),editType:{traces:r.traces,layout:r.layout},impliedEdits:{}},traces:G,layout:D(),transforms:_,frames:P(),animation:A(d),config:A(m)}},O.crawl=function(G,_,H,V){var N=H||0;V=V||"",Object.keys(G).forEach(function(W){var j=G[W];if(v.indexOf(W)===-1){var Q=(V?V+".":"")+W;_(j,W,G,N,Q),!O.isValObject(j)&&s(j)&&W!=="impliedEdits"&&O.crawl(j,_,N+1,Q)}})},O.isValObject=function(G){return G&&G.valType!==void 0},O.findArrayAttributes=function(G){var _=[],H=[],V=[],N,W;function j(X,K,J,re){H=H.slice(0,re).concat([K]),V=V.slice(0,re).concat([X&&X._isLinkedToArray]);var fe=X&&(X.valType==="data_array"||X.arrayOk===!0)&&!(H[re-1]==="colorbar"&&(K==="ticktext"||K==="tickvals"));fe&&Q(N,0,"")}function Q(X,K,J){var re=X[H[K]],fe=J+H[K];if(K===H.length-1)n(re)&&_.push(W+fe);else if(V[K]){if(Array.isArray(re))for(var te=0;te=j.length)return!1;N=(p.transformsRegistry[j[Q].type]||{}).attributes,W=N&&N[_[2]],V=3}else{var ie=G._module;if(ie||(ie=(p.modules[G.type||a.type.dflt]||{})._module),!ie)return!1;if(N=ie.attributes,W=N&&N[H],!W){var ue=ie.basePlotModule;ue&&ue.attributes&&(W=ue.attributes[H])}W||(W=a[H])}return g(W,_,V)},O.getLayoutValObject=function(G,_){var H=l(G,_[0]);return g(H,_,1)};function l(G,_){var H,V,N,W,j=G._basePlotModules;if(j){var Q;for(H=0;H=W.length)return!1;if(G.dimensions===2){if(H++,_.length===H)return G;var j=_[H];if(!C(j))return!1;G=W[N][j]}else G=W[N]}else G=W}}return G}function C(G){return G===Math.round(G)&&G>=0}function M(G){var _,H;_=p.modules[G]._module,H=_.basePlotModule;var V={};V.type=null;var N=t({},a),W=t({},_.attributes);O.crawl(W,function(ie,ue,pe,q,X){f(N,X).set(void 0),ie===void 0&&f(W,X).set(void 0)}),t(V,N),p.traceIs(G,"noOpacity")&&delete V.opacity,p.traceIs(G,"showLegend")||(delete V.showlegend,delete V.legendgroup),p.traceIs(G,"noHover")&&(delete V.hoverinfo,delete V.hoverlabel),_.selectPoints||delete V.selectedpoints,t(V,W),H.attributes&&t(V,H.attributes),V.type=G;var j={meta:_.meta||{},categories:_.categories||{},animatable:!!_.animatable,type:G,attributes:A(V)};if(_.layoutAttributes){var Q={};t(Q,_.layoutAttributes),j.layoutAttributes=A(Q)}return _.animatable||O.crawl(j,function(ie){O.isValObject(ie)&&"anim"in ie&&delete ie.anim}),j}function D(){var G={},_,H;t(G,L);for(_ in p.subplotsRegistry)if(H=p.subplotsRegistry[_],!!H.layoutAttributes)if(Array.isArray(H.attr))for(var V=0;V=s&&(t._input||{})._templateitemname;f&&(n=s);var c=r+"["+n+"]",u;function b(){u={},f&&(u[c]={},u[c][a]=f)}b();function h(g,C){u[g]=C}function S(g,C){f?p.nestedProperty(u[c],g).set(C):u[c+"."+g]=C}function v(){var g=u;return b(),g}function l(g,C){g&&S(g,C);var M=v();for(var D in M)p.nestedProperty(m,D).set(M[D])}return{modifyBase:h,modifyItem:S,getUpdateObj:v,applyUpdate:l}}},61549:function(B,O,e){var p=e(39898),E=e(73972),a=e(74875),L=e(71828),x=e(63893),d=e(33306),m=e(7901),r=e(91424),t=e(92998),s=e(64168),n=e(89298),f=e(18783),c=e(99082),u=c.enforce,b=c.clean,h=e(71739).doAutoRange,S="start",v="middle",l="end";O.layoutStyles=function(H){return L.syncOrAsync([a.doAutoMargin,C],H)};function g(H,V,N){for(var W=0;W=H[1]||j[1]<=H[0])&&Q[0]V[0])return!0}return!1}function C(H){var V=H._fullLayout,N=V._size,W=N.p,j=n.list(H,"",!0),Q,ie,ue,pe,q,X;if(V._paperdiv.style({width:H._context.responsive&&V.autosize&&!H._context._hasZeroWidth&&!H.layout.width?"100%":V.width+"px",height:H._context.responsive&&V.autosize&&!H._context._hasZeroHeight&&!H.layout.height?"100%":V.height+"px"}).selectAll(".main-svg").call(r.setSize,V.width,V.height),H._context.setBackground(H,V.paper_bgcolor),O.drawMainTitle(H),s.manage(H),!V._has("cartesian"))return a.previousPromises(H);function K(Ce,ve,Ie){var Ae=Ce._lw/2;if(Ce._id.charAt(0)==="x"){if(ve){if(Ie==="top")return ve._offset-W-Ae}else return N.t+N.h*(1-(Ce.position||0))+Ae%1;return ve._offset+ve._length+W+Ae}if(ve){if(Ie==="right")return ve._offset+ve._length+W+Ae}else return N.l+N.w*(Ce.position||0)+Ae%1;return ve._offset-W-Ae}for(Q=0;Q0&&(k(H,Q,q,pe),ue.attr({x:ie,y:Q,"text-anchor":W,dy:F(V.yanchor)}).call(x.positionText,ie,Q))}};function P(H,V,N,W,j){var Q=V.yref==="paper"?H._fullLayout._size.h:H._fullLayout.height,ie=L.isTopAnchor(V)?W:W-j,ue=N==="b"?Q-ie:ie;return L.isTopAnchor(V)&&N==="t"||L.isBottomAnchor(V)&&N==="b"?!1:ue.5?"t":"b",ie=H._fullLayout.margin[Q],ue=0;return V.yref==="paper"?ue=N+V.pad.t+V.pad.b:V.yref==="container"&&(ue=A(Q,W,j,H._fullLayout.height,N)+V.pad.t+V.pad.b),ue>ie?ue:0}function k(H,V,N,W){var j="title.automargin",Q=H._fullLayout.title,ie=Q.y>.5?"t":"b",ue={x:Q.x,y:Q.y,t:0,b:0},pe={};Q.yref==="paper"&&P(H,Q,ie,V,W)?ue[ie]=N:Q.yref==="container"&&(pe[ie]=N,H._fullLayout._reservedMargin[j]=pe),a.allowAutoMargin(H,j),a.autoMargin(H,j,ue)}function w(H,V){var N=H.title,W=H._size,j=0;switch(V===S?j=N.pad.l:V===l&&(j=-N.pad.r),N.xref){case"paper":return W.l+W.w*N.x+j;case"container":default:return H.width*N.x+j}}function U(H,V){var N=H.title,W=H._size,j=0;if(V==="0em"||!V?j=-N.pad.b:V===f.CAP_SHIFT+"em"&&(j=N.pad.t),N.y==="auto")return W.t/2;switch(N.yref){case"paper":return W.t+W.h-W.h*N.y+j;case"container":default:return H.height-H.height*N.y+j}}function F(H){return H==="top"?f.CAP_SHIFT+.3+"em":H==="bottom"?"-0.3em":f.MID_SHIFT+"em"}function G(H){var V=H.title,N=v;return L.isRightAnchor(V)?N=l:L.isLeftAnchor(V)&&(N=S),N}function _(H){var V=H.title,N="0em";return L.isTopAnchor(V)?N=f.CAP_SHIFT+"em":L.isMiddleAnchor(V)&&(N=f.MID_SHIFT+"em"),N}O.doTraceStyle=function(H){var V=H.calcdata,N=[],W;for(W=0;W_?M.push({code:"unused",traceType:w,templateCount:G,dataCount:_}):_>G&&M.push({code:"reused",traceType:w,templateCount:G,dataCount:_})}}function H(V,N){for(var W in V)if(W.charAt(0)!=="_"){var j=V[W],Q=c(V,W,N);E(j)?(Array.isArray(V)&&j._template===!1&&j.templateitemname&&M.push({code:"missing",path:Q,templateitemname:j.templateitemname}),H(j,Q)):Array.isArray(j)&&u(j)&&H(j,Q)}}if(H({data:T,layout:D},""),M.length)return M.map(b)};function u(h){for(var S=0;S1&&M.push(f("object","layout"))),E.supplyDefaults(D);for(var A=D._fullData,o=T.length,k=0;kw.length&&C.push(f("unused",M,o.concat(w.length)));var V=w.length,N=Array.isArray(H);N&&(V=Math.min(V,H.length));var W,j,Q,ie,ue;if(U.dimensions===2)for(j=0;jw[j].length&&C.push(f("unused",M,o.concat(j,w[j].length)));var pe=w[j].length;for(W=0;W<(N?Math.min(pe,H[j].length):pe);W++)Q=N?H[j][W]:H,ie=k[j][W],ue=w[j][W],p.validate(ie,Q)?ue!==ie&&ue!==+ie&&C.push(f("dynamic",M,o.concat(j,W),ie,ue)):C.push(f("value",M,o.concat(j,W),ie))}else C.push(f("array",M,o.concat(j),k[j]));else for(j=0;j0&&Math.round(b)===b)u=b;else return{vals:n}}for(var h=t.calendar,S=f==="start",v=f==="end",l=r[s+"period0"],g=a(l,h)||0,C=[],M=[],D=[],T=n.length,P=0;PA;)w=L(w,-u,h);for(;w<=A;)w=L(w,u,h);k=L(w,-u,h)}else{for(o=Math.round((A-g)/c),w=g+o*c;w>A;)w-=c;for(;w<=A;)w+=c;k=w-c}C[P]=S?k:v?w:(k+w)/2,M[P]=k,D[P]=w}return{vals:C,starts:M,ends:D}}},89502:function(B){B.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(B,O,e){var p=e(39898),E=e(92770),a=e(71828),L=e(50606).FP_SAFE,x=e(73972),d=e(91424),m=e(41675),r=m.getFromId,t=m.isLinked;B.exports={applyAutorangeOptions:o,getAutoRange:s,makePadFn:f,doAutoRange:h,findExtremes:S,concatExtremes:b};function s(k,w){var U,F,G=[],_=k._fullLayout,H=f(_,w,0),V=f(_,w,1),N=b(k,w),W=N.min,j=N.max;if(W.length===0||j.length===0)return a.simpleMap(w.range,w.r2l);var Q=W[0].val,ie=j[0].val;for(U=1;U0&&(we=re-H(ee)-V(ce),we>fe?Se/we>te&&(le=ee,me=ce,te=Se/we):Se/re>te&&(le={val:ee.val,nopad:1},me={val:ce.val,nopad:1},te=Se/re));function Ee(Re,Xe){return Math.max(Re,V(Xe))}if(Q===ie){var We=Q-1,Ye=Q+1;if(K)if(Q===0)G=[0,1];else{var De=(Q>0?j:W).reduce(Ee,0),Te=Q/(1-Math.min(.5,De/re));G=Q>0?[0,Te]:[Te,0]}else J?G=[Math.max(0,We),Math.max(1,Ye)]:G=[We,Ye]}else K?(le.val>=0&&(le={val:0,nopad:1}),me.val<=0&&(me={val:0,nopad:1})):J&&(le.val-te*H(le)<0&&(le={val:0,nopad:1}),me.val<=0&&(me={val:1,nopad:1})),te=(me.val-le.val-n(w,ee.val,ce.val))/(re-H(le)-V(me)),G=[le.val-te*H(le),me.val+te*V(me)];return G=o(G,w),w.limitRange&&w.limitRange(),pe&&G.reverse(),a.simpleMap(G,w.l2r||Number)}function n(k,w,U){var F=0;if(k.rangebreaks)for(var G=k.locateBreaks(w,U),_=0;_0?U.ppadplus:U.ppadminus)||U.ppad||0),ee=fe((k._m>0?U.ppadminus:U.ppadplus)||U.ppad||0),ce=fe(U.vpadplus||U.vpad),le=fe(U.vpadminus||U.vpad);if(!W){if(J=1/0,re=-1/0,N)for(Q=0;Q<_;Q++)ie=w[Q],ie0&&(J=ie),ie>re&&ie-L&&(J=ie),ie>re&&ie=Se;Q--)we(Q);return{min:F,max:G,opts:U}}function v(k,w,U,F){g(k,w,U,F,M)}function l(k,w,U,F){g(k,w,U,F,D)}function g(k,w,U,F,G){for(var _=F.tozero,H=F.extrapad,V=!0,N=0;N=U&&(W.extrapad||!H)){V=!1;break}else G(w,W.val)&&W.pad<=U&&(H||!W.extrapad)&&(k.splice(N,1),N--)}if(V){var j=_&&w===0;k.push({val:w,pad:j?0:U,extrapad:j?!1:H})}}function C(k){return E(k)&&Math.abs(k)=w}function T(k,w){var U=w.autorangeoptions;return U&&U.minallowed!==void 0&&A(w,U.minallowed,U.maxallowed)?U.minallowed:U&&U.clipmin!==void 0&&A(w,U.clipmin,U.clipmax)?Math.max(k,w.d2l(U.clipmin)):k}function P(k,w){var U=w.autorangeoptions;return U&&U.maxallowed!==void 0&&A(w,U.minallowed,U.maxallowed)?U.maxallowed:U&&U.clipmax!==void 0&&A(w,U.clipmin,U.clipmax)?Math.min(k,w.d2l(U.clipmax)):k}function A(k,w,U){return w!==void 0&&U!==void 0?(w=k.d2l(w),U=k.d2l(U),w=N&&(_=N,U=N),H<=N&&(H=N,F=N)}}return U=T(U,w),F=P(F,w),[U,F]}},23074:function(B){B.exports=function(e,p,E){var a,L;if(E){var x=p==="reversed"||p==="min reversed"||p==="max reversed";a=E[x?1:0],L=E[x?0:1]}var d=e("autorangeoptions.minallowed",L===null?a:void 0),m=e("autorangeoptions.maxallowed",a===null?L:void 0);d===void 0&&e("autorangeoptions.clipmin"),m===void 0&&e("autorangeoptions.clipmax"),e("autorangeoptions.include")}},89298:function(B,O,e){var p=e(39898),E=e(92770),a=e(74875),L=e(73972),x=e(71828),d=x.strTranslate,m=e(63893),r=e(92998),t=e(7901),s=e(91424),n=e(13838),f=e(66287),c=e(50606),u=c.ONEMAXYEAR,b=c.ONEAVGYEAR,h=c.ONEMINYEAR,S=c.ONEMAXQUARTER,v=c.ONEAVGQUARTER,l=c.ONEMINQUARTER,g=c.ONEMAXMONTH,C=c.ONEAVGMONTH,M=c.ONEMINMONTH,D=c.ONEWEEK,T=c.ONEDAY,P=T/2,A=c.ONEHOUR,o=c.ONEMIN,k=c.ONESEC,w=c.MINUS_SIGN,U=c.BADNUM,F={K:"zeroline"},G={K:"gridline",L:"path"},_={K:"minor-gridline",L:"path"},H={K:"tick",L:"path"},V={K:"tick",L:"text"},N={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},W=e(18783),j=W.MID_SHIFT,Q=W.CAP_SHIFT,ie=W.LINE_SPACING,ue=W.OPPOSITE_SIDE,pe=3,q=B.exports={};q.setConvert=e(21994);var X=e(4322),K=e(41675),J=K.idSort,re=K.isLinked;q.id2name=K.id2name,q.name2id=K.name2id,q.cleanId=K.cleanId,q.list=K.list,q.listIds=K.listIds,q.getFromId=K.getFromId,q.getFromTrace=K.getFromTrace;var fe=e(71739);q.getAutoRange=fe.getAutoRange,q.findExtremes=fe.findExtremes;var te=1e-4;function ee(tt){var et=(tt[1]-tt[0])*te;return[tt[0]-et,tt[1]+et]}q.coerceRef=function(tt,et,Wt,Gt,or,wr){var Tr=Gt.charAt(Gt.length-1),br=Wt._fullLayout._subplots[Tr+"axis"],Kt=Gt+"ref",Ir={};return or||(or=br[0]||(typeof wr=="string"?wr:wr[0])),wr||(wr=or),br=br.concat(br.map(function(Lr){return Lr+" domain"})),Ir[Kt]={valType:"enumerated",values:br.concat(wr?typeof wr=="string"?[wr]:wr:[]),dflt:or},x.coerce(tt,et,Ir,Kt)},q.getRefType=function(tt){return tt===void 0?tt:tt==="paper"?"paper":tt==="pixel"?"pixel":/( domain)$/.test(tt)?"domain":"range"},q.coercePosition=function(tt,et,Wt,Gt,or,wr){var Tr,br,Kt=q.getRefType(Gt);if(Kt!=="range")Tr=x.ensureNumber,br=Wt(or,wr);else{var Ir=q.getFromId(et,Gt);wr=Ir.fraction2r(wr),br=Wt(or,wr),Tr=Ir.cleanPos}tt[or]=Tr(br)},q.cleanPosition=function(tt,et,Wt){var Gt=Wt==="paper"||Wt==="pixel"?x.ensureNumber:q.getFromId(et,Wt).cleanPos;return Gt(tt)},q.redrawComponents=function(tt,et){et=et||q.listIds(tt);var Wt=tt._fullLayout;function Gt(or,wr,Tr,br){for(var Kt=L.getComponentMethod(or,wr),Ir={},Lr=0;Lr2e-6||((Wt-tt._forceTick0)/tt._minDtick%1+1.000001)%1>2e-6)&&(tt._minDtick=0))},q.saveRangeInitial=function(tt,et){for(var Wt=q.list(tt,"",!0),Gt=!1,or=0;orBr*.3||Ir(Gt)||Ir(or))){var zr=Wt.dtick/2;tt+=tt+zrTr){var br=Number(Wt.substr(1));wr.exactYears>Tr&&br%12===0?tt=q.tickIncrement(tt,"M6","reverse")+T*1.5:wr.exactMonths>Tr?tt=q.tickIncrement(tt,"M1","reverse")+T*15.5:tt-=P;var Kt=q.tickIncrement(tt,Wt);if(Kt<=Gt)return Kt}return tt}q.prepMinorTicks=function(tt,et,Wt){if(!et.minor.dtick){delete tt.dtick;var Gt=et.dtick&&E(et._tmin),or;if(Gt){var wr=q.tickIncrement(et._tmin,et.dtick,!0);or=[et._tmin,wr*.99+et._tmin*.01]}else{var Tr=x.simpleMap(et.range,et.r2l);or=[Tr[0],.8*Tr[0]+.2*Tr[1]]}if(tt.range=x.simpleMap(or,et.l2r),tt._isMinor=!0,q.prepTicks(tt,Wt),Gt){var br=E(et.dtick),Kt=E(tt.dtick),Ir=br?et.dtick:+et.dtick.substring(1),Lr=Kt?tt.dtick:+tt.dtick.substring(1);br&&Kt?Ee(Ir,Lr)?Ir===2*D&&Lr===2*T&&(tt.dtick=D):Ir===2*D&&Lr===3*T?tt.dtick=D:Ir===D&&!(et._input.minor||{}).nticks?tt.dtick=T:We(Ir/Lr,2.5)?tt.dtick=Ir/2:tt.dtick=Ir:String(et.dtick).charAt(0)==="M"?Kt?tt.dtick="M1":Ee(Ir,Lr)?Ir>=12&&Lr===2&&(tt.dtick="M3"):tt.dtick=et.dtick:String(tt.dtick).charAt(0)==="L"?String(et.dtick).charAt(0)==="L"?Ee(Ir,Lr)||(tt.dtick=We(Ir/Lr,2.5)?et.dtick/2:et.dtick):tt.dtick="D1":tt.dtick==="D2"&&+et.dtick>1&&(tt.dtick=1)}tt.range=et.range}et.minor._tick0Init===void 0&&(tt.tick0=et.tick0)};function Ee(tt,et){return Math.abs((tt/et+.5)%1-.5)<.001}function We(tt,et){return Math.abs(tt/et-1)<.001}q.prepTicks=function(tt,et){var Wt=x.simpleMap(tt.range,tt.r2l,void 0,void 0,et);if(tt.tickmode==="auto"||!tt.dtick){var Gt=tt.nticks,or;Gt||(tt.type==="category"||tt.type==="multicategory"?(or=tt.tickfont?x.bigFont(tt.tickfont.size||12):15,Gt=tt._length/or):(or=tt._id.charAt(0)==="y"?40:80,Gt=x.constrain(tt._length/or,4,9)+1),tt._name==="radialaxis"&&(Gt*=2)),tt.minor&&tt.minor.tickmode!=="array"||tt.tickmode==="array"&&(Gt*=100),tt._roughDTick=Math.abs(Wt[1]-Wt[0])/Gt,q.autoTicks(tt,tt._roughDTick),tt._minDtick>0&&tt.dtick0?(wr=Gt-1,Tr=Gt):(wr=Gt,Tr=Gt);var br=tt[wr].value,Kt=tt[Tr].value,Ir=Math.abs(Kt-br),Lr=Wt||Ir,Br=0;Lr>=h?Ir>=h&&Ir<=u?Br=Ir:Br=b:Wt===v&&Lr>=l?Ir>=l&&Ir<=S?Br=Ir:Br=v:Lr>=M?Ir>=M&&Ir<=g?Br=Ir:Br=C:Wt===D&&Lr>=D?Br=D:Lr>=T?Br=T:Wt===P&&Lr>=P?Br=P:Wt===A&&Lr>=A&&(Br=A);var zr;Br>=Ir&&(Br=Ir,zr=!0);var cn=or+Br;if(et.rangebreaks&&Br>0){for(var tn=84,an=0,Wn=0;WnD&&(Br=Ir)}(Br>0||Gt===0)&&(tt[Gt].periodX=or+Br/2)}}q.calcTicks=function(et,Wt){for(var Gt=et.type,or=et.calendar,wr=et.ticklabelstep,Tr=et.ticklabelmode==="period",br=x.simpleMap(et.range,et.r2l,void 0,void 0,Wt),Kt=br[1]=(Wn?0:1);En--){var pa=!En;En?(et._dtickInit=et.dtick,et._tick0Init=et.tick0):(et.minor._dtickInit=et.minor.dtick,et.minor._tick0Init=et.minor.tick0);var Qn=En?et:x.extendFlat({},et,et.minor);if(pa?q.prepMinorTicks(Qn,et,Wt):q.prepTicks(Qn,Wt),Qn.tickmode==="array"){En?(tn=[],zr=Je(et)):(an=[],cn=Je(et));continue}if(Qn.tickmode==="sync"){tn=[],zr=Xe(et);continue}var _r=ee(br),Vr=_r[0],qr=_r[1],lr=E(Qn.dtick),dn=Gt==="log"&&!(lr||Qn.dtick.charAt(0)==="L"),zn=q.tickFirst(Qn,Wt);if(En){if(et._tmin=zn,zn=qr:Fn<=qr;Fn=q.tickIncrement(Fn,Sa,Kt,or)){if(En&&fa++,Qn.rangebreaks&&!Kt){if(Fn=Lr)break}if(tn.length>Br||Fn===gn)break;gn=Fn;var _a={value:Fn};En?(dn&&Fn!==(Fn|0)&&(_a.simpleLabel=!0),wr>1&&fa%wr&&(_a.skipLabel=!0),tn.push(_a)):(_a.minor=!0,an.push(_a))}}if(Wn){var qn=et.minor.ticks==="inside"&&et.ticks==="outside"||et.minor.ticks==="outside"&&et.ticks==="inside";if(!qn){for(var La=tn.map(function(Yn){return Yn.value}),Xr=[],An=0;An-1;ua--){if(tn[ua].drop){tn.splice(ua,1);continue}tn[ua].value=qt(tn[ua].value,et);var Ni=et.c2p(tn[ua].value);(va?ci>Ni-Oa:ciLr||BnLr&&(yn.periodX=Lr),BnGt&&Brb)et/=b,Gt=or(10),tt.dtick="M"+12*gt(et,Gt,He);else if(wr>C)et/=C,tt.dtick="M"+gt(et,1,$e);else if(wr>T){if(tt.dtick=gt(et,T,tt._hasDayOfWeekBreaks?[1,2,7,14]:ut),!Wt){var Tr=q.getTickFormat(tt),br=tt.ticklabelmode==="period";br&&(tt._rawTick0=tt.tick0),/%[uVW]/.test(Tr)?tt.tick0=x.dateTick0(tt.calendar,2):tt.tick0=x.dateTick0(tt.calendar,1),br&&(tt._dowTick0=tt.tick0)}}else wr>A?tt.dtick=gt(et,A,$e):wr>o?tt.dtick=gt(et,o,pt):wr>k?tt.dtick=gt(et,k,pt):(Gt=or(10),tt.dtick=gt(et,Gt,He))}else if(tt.type==="log"){tt.tick0=0;var Kt=x.simpleMap(tt.range,tt.r2l);if(tt._isMinor&&(et*=1.5),et>.7)tt.dtick=Math.ceil(et);else if(Math.abs(Kt[1]-Kt[0])<1){var Ir=1.5*Math.abs((Kt[1]-Kt[0])/et);et=Math.abs(Math.pow(10,Kt[1])-Math.pow(10,Kt[0]))/Ir,Gt=or(10),tt.dtick="L"+gt(et,Gt,He)}else tt.dtick=et>.3?"D2":"D1"}else tt.type==="category"||tt.type==="multicategory"?(tt.tick0=0,tt.dtick=Math.ceil(Math.max(et,1))):Qt(tt)?(tt.tick0=0,Gt=1,tt.dtick=gt(et,Gt,Ne)):(tt.tick0=0,Gt=or(10),tt.dtick=gt(et,Gt,He));if(tt.dtick===0&&(tt.dtick=1),!E(tt.dtick)&&typeof tt.dtick!="string"){var Lr=tt.dtick;throw tt.dtick=1,"ax.dtick error: "+String(Lr)}};function qe(tt){var et=tt.dtick;if(tt._tickexponent=0,!E(et)&&typeof et!="string"&&(et=1),(tt.type==="category"||tt.type==="multicategory")&&(tt._tickround=null),tt.type==="date"){var Wt=tt.r2l(tt.tick0),Gt=tt.l2r(Wt).replace(/(^-|i)/g,""),or=Gt.length;if(String(et).charAt(0)==="M")or>10||Gt.substr(5)!=="01-01"?tt._tickround="d":tt._tickround=+et.substr(1)%12===0?"y":"m";else if(et>=T&&or<=10||et>=T*15)tt._tickround="d";else if(et>=o&&or<=16||et>=A)tt._tickround="M";else if(et>=k&&or<=19||et>=o)tt._tickround="S";else{var wr=tt.l2r(Wt+et).replace(/^-/,"").length;tt._tickround=Math.max(or,wr)-20,tt._tickround<0&&(tt._tickround=4)}}else if(E(et)||et.charAt(0)==="L"){var Tr=tt.range.map(tt.r2d||Number);E(et)||(et=Number(et.substr(1))),tt._tickround=2-Math.floor(Math.log(et)/Math.LN10+.01);var br=Math.max(Math.abs(Tr[0]),Math.abs(Tr[1])),Kt=Math.floor(Math.log(br)/Math.LN10+.01),Ir=tt.minexponent===void 0?3:tt.minexponent;Math.abs(Kt)>Ir&&(ve(tt.exponentformat)&&!Ie(Kt)?tt._tickexponent=3*Math.round((Kt-1)/3):tt._tickexponent=Kt)}else tt._tickround=null}q.tickIncrement=function(tt,et,Wt,Gt){var or=Wt?-1:1;if(E(et))return x.increment(tt,or*et);var wr=et.charAt(0),Tr=or*Number(et.substr(1));if(wr==="M")return x.incrementMonth(tt,Tr,Gt);if(wr==="L")return Math.log(Math.pow(10,tt)+Tr)/Math.LN10;if(wr==="D"){var br=et==="D2"?ke:lt,Kt=tt+or*.01,Ir=x.roundUp(x.mod(Kt,1),br,Wt);return Math.floor(Kt)+Math.log(p.round(Math.pow(10,Ir),1))/Math.LN10}throw"unrecognized dtick "+String(et)},q.tickFirst=function(tt,et){var Wt=tt.r2l||Number,Gt=x.simpleMap(tt.range,Wt,void 0,void 0,et),or=Gt[1]=0&&En<=tt._length?Wn:null};or.xbnd=[an(or.x-.5),an(or.x+tt.dtick-.5)]}return or},q.hoverLabelText=function(tt,et,Wt){Wt&&(tt=x.extendFlat({},tt,{hoverformat:Wt}));var Gt=Array.isArray(et)?et[0]:et,or=Array.isArray(et)?et[1]:void 0;if(or!==void 0&&or!==Gt)return q.hoverLabelText(tt,Gt,Wt)+" - "+q.hoverLabelText(tt,or,Wt);var wr=tt.type==="log"&&Gt<=0,Tr=q.tickText(tt,tt.c2l(wr?-Gt:Gt),"hover").text;return wr?Gt===0?"0":w+Tr:Tr};function vt(tt,et,Wt){var Gt=tt.tickfont||{};return{x:et,dx:0,dy:0,text:Wt||"",fontSize:Gt.size,font:Gt.family,fontColor:Gt.color}}function Bt(tt,et,Wt,Gt){var or=tt._tickround,wr=Wt&&tt.hoverformat||q.getTickFormat(tt);Gt&&(E(or)?or=4:or={y:"m",m:"d",d:"M",M:"S",S:4}[or]);var Tr=x.formatDate(et.x,wr,or,tt._dateFormat,tt.calendar,tt._extraFormat),br,Kt=Tr.indexOf(` -`);if(Kt!==-1&&(br=Tr.substr(Kt+1),Tr=Tr.substr(0,Kt)),Gt&&(Tr==="00:00:00"||Tr==="00:00"?(Tr=br,br=""):Tr.length===8&&(Tr=Tr.replace(/:00$/,""))),br)if(Wt)or==="d"?Tr+=", "+br:Tr=br+(Tr?", "+Tr:"");else if(!tt._inCalcTicks||tt._prevDateHead!==br)tt._prevDateHead=br,Tr+="
"+br;else{var Ir=ur(tt),Lr=tt._trueSide||tt.side;(!Ir&&Lr==="top"||Ir&&Lr==="bottom")&&(Tr+="
")}et.text=Tr}function Yt(tt,et,Wt,Gt,or){var wr=tt.dtick,Tr=et.x,br=tt.tickformat,Kt=typeof wr=="string"&&wr.charAt(0);if(or==="never"&&(or=""),Gt&&Kt!=="L"&&(wr="L3",Kt="L"),br||Kt==="L")et.text=Ae(Math.pow(10,Tr),tt,or,Gt);else if(E(wr)||Kt==="D"&&x.mod(Tr+.01,1)<.1){var Ir=Math.round(Tr),Lr=Math.abs(Ir),Br=tt.exponentformat;Br==="power"||ve(Br)&&Ie(Ir)?(Ir===0?et.text=1:Ir===1?et.text="10":et.text="10"+(Ir>1?"":w)+Lr+"",et.fontSize*=1.25):(Br==="e"||Br==="E")&&Lr>2?et.text="1"+Br+(Ir>0?"+":w)+Lr:(et.text=Ae(Math.pow(10,Tr),tt,"","fakehover"),wr==="D1"&&tt._id.charAt(0)==="y"&&(et.dy-=et.fontSize/6))}else if(Kt==="D")et.text=String(Math.round(Math.pow(10,x.mod(Tr,1)))),et.fontSize*=.75;else throw"unrecognized dtick "+String(wr);if(tt.dtick==="D1"){var zr=String(et.text).charAt(0);(zr==="0"||zr==="1")&&(tt._id.charAt(0)==="y"?et.dx-=et.fontSize/4:(et.dy+=et.fontSize/2,et.dx+=(tt.range[1]>tt.range[0]?1:-1)*et.fontSize*(Tr<0?.5:.25)))}}function it(tt,et){var Wt=tt._categories[Math.round(et.x)];Wt===void 0&&(Wt=""),et.text=String(Wt)}function Ue(tt,et,Wt){var Gt=Math.round(et.x),or=tt._categories[Gt]||[],wr=or[1]===void 0?"":String(or[1]),Tr=or[0]===void 0?"":String(or[0]);Wt?et.text=Tr+" - "+wr:(et.text=wr,et.text2=Tr)}function _e(tt,et,Wt,Gt,or){or==="never"?or="":tt.showexponent==="all"&&Math.abs(et.x/tt.dtick)<1e-6&&(or="hide"),et.text=Ae(et.x,tt,or,Gt)}function Ze(tt,et,Wt,Gt,or){if(tt.thetaunit==="radians"&&!Wt){var wr=et.x/180;if(wr===0)et.text="0";else{var Tr=Fe(wr);if(Tr[1]>=100)et.text=Ae(x.deg2rad(et.x),tt,or,Gt);else{var br=et.x<0;Tr[1]===1?Tr[0]===1?et.text="π":et.text=Tr[0]+"π":et.text=["",Tr[0],"","⁄","",Tr[1],"","π"].join(""),br&&(et.text=w+et.text)}}}else et.text=Ae(et.x,tt,or,Gt)}function Fe(tt){function et(br,Kt){return Math.abs(br-Kt)<=1e-6}function Wt(br,Kt){return et(Kt,0)?br:Wt(Kt,br%Kt)}function Gt(br){for(var Kt=1;!et(Math.round(br*Kt)/Kt,br);)Kt*=10;return Kt}var or=Gt(tt),wr=tt*or,Tr=Math.abs(Wt(wr,or));return[Math.round(wr/Tr),Math.round(or/Tr)]}var Ce=["f","p","n","μ","m","","k","M","G","T"];function ve(tt){return tt==="SI"||tt==="B"}function Ie(tt){return tt>14||tt<-15}function Ae(tt,et,Wt,Gt){var or=tt<0,wr=et._tickround,Tr=Wt||et.exponentformat||"B",br=et._tickexponent,Kt=q.getTickFormat(et),Ir=et.separatethousands;if(Gt){var Lr={exponentformat:Tr,minexponent:et.minexponent,dtick:et.showexponent==="none"?et.dtick:E(tt)&&Math.abs(tt)||1,range:et.showexponent==="none"?et.range.map(et.r2d):[0,tt||1]};qe(Lr),wr=(Number(Lr._tickround)||0)+4,br=Lr._tickexponent,et.hoverformat&&(Kt=et.hoverformat)}if(Kt)return et._numFormat(Kt)(tt).replace(/-/g,w);var Br=Math.pow(10,-wr)/2;if(Tr==="none"&&(br=0),tt=Math.abs(tt),tt"+tn+"":Tr==="B"&&br===9?tt+="B":ve(Tr)&&(tt+=Ce[br/3+5])}return or?w+tt:tt}q.getTickFormat=function(tt){var et;function Wt(Kt){return typeof Kt!="string"?Kt:Number(Kt.replace("M",""))*C}function Gt(Kt,Ir){var Lr=["L","D"];if(typeof Kt==typeof Ir){if(typeof Kt=="number")return Kt-Ir;var Br=Lr.indexOf(Kt.charAt(0)),zr=Lr.indexOf(Ir.charAt(0));return Br===zr?Number(Kt.replace(/(L|D)/g,""))-Number(Ir.replace(/(L|D)/g,"")):Br-zr}else return typeof Kt=="number"?1:-1}function or(Kt,Ir,Lr){var Br=Lr||function(tn){return tn},zr=Ir[0],cn=Ir[1];return(!zr&&typeof zr!="number"||Br(zr)<=Br(Kt))&&(!cn&&typeof cn!="number"||Br(cn)>=Br(Kt))}function wr(Kt,Ir){var Lr=Ir[0]===null,Br=Ir[1]===null,zr=Gt(Kt,Ir[0])>=0,cn=Gt(Kt,Ir[1])<=0;return(Lr||zr)&&(Br||cn)}var Tr,br;if(tt.tickformatstops&&tt.tickformatstops.length>0)switch(tt.type){case"date":case"linear":{for(et=0;et=0&&or.unshift(or.splice(Lr,1).shift())}});var br={false:{left:0,right:0}};return x.syncOrAsync(or.map(function(Kt){return function(){if(Kt){var Ir=q.getFromId(tt,Kt);Wt||(Wt={}),Wt.axShifts=br,Wt.overlayingShiftedAx=Tr;var Lr=q.drawOne(tt,Ir,Wt);return Ir._shiftPusher&&mr(Ir,Ir._fullDepth||0,br,!0),Ir._r=Ir.range.slice(),Ir._rl=x.simpleMap(Ir._r,Ir.r2l),Lr}}}))},q.drawOne=function(tt,et,Wt){Wt=Wt||{};var Gt=Wt.axShifts||{},or=Wt.overlayingShiftedAx||[],wr,Tr,br;et.setScale();var Kt=tt._fullLayout,Ir=et._id,Lr=Ir.charAt(0),Br=q.counterLetter(Ir),zr=Kt._plots[et._mainSubplot];if(!zr)return;if(et._shiftPusher=et.autoshift||or.indexOf(et._id)!==-1||or.indexOf(et.overlaying)!==-1,et._shiftPusher&et.anchor==="free"){var cn=et.linewidth/2||0;et.ticks==="inside"&&(cn+=et.ticklen),mr(et,cn,Gt,!0),mr(et,et.shift||0,Gt,!1)}(Wt.skipTitle!==!0||et._shift===void 0)&&(et._shift=Fr(et,Gt));var tn=zr[Lr+"axislayer"],an=et._mainLinePosition,Wn=an+=et._shift,En=et._mainMirrorPosition,pa=et._vals=q.calcTicks(et),Qn=[et.mirror,Wn,En].join("_");for(wr=0;wr0?Gn.bottom-ha:0,ya))));var Va=0,Ua=0;if(et._shiftPusher&&(Va=Math.max(ya,Gn.height>0?nn==="l"?ha-Gn.left:Gn.right-ha:0),et.title.text!==Kt._dfltTitle[Lr]&&(Ua=(et._titleStandoff||0)+(et._titleScoot||0),nn==="l"&&(Ua+=vr(et))),et._fullDepth=Math.max(Va,Ua)),et.automargin){na={x:0,y:0,r:0,l:0,t:0,b:0};var $a=[0,1],hs=typeof et._shift=="number"?et._shift:0;if(Lr==="x"){if(nn==="b"?na[nn]=et._depth:(na[nn]=et._depth=Math.max(Gn.width>0?ha-Gn.top:0,ya),$a.reverse()),Gn.width>0){var Es=Gn.right-(et._offset+et._length);Es>0&&(na.xr=1,na.r=Es);var Is=et._offset-Gn.left;Is>0&&(na.xl=0,na.l=Is)}}else if(nn==="l"?(et._depth=Math.max(Gn.height>0?ha-Gn.left:0,ya),na[nn]=et._depth-hs):(et._depth=Math.max(Gn.height>0?Gn.right-ha:0,ya),na[nn]=et._depth+hs,$a.reverse()),Gn.height>0){var Gs=Gn.bottom-(et._offset+et._length);Gs>0&&(na.yb=0,na.b=Gs);var zs=et._offset-Gn.top;zs>0&&(na.yt=1,na.t=zs)}na[Br]=et.anchor==="free"?et.position:et._anchorAxis.domain[$a[0]],et.title.text!==Kt._dfltTitle[Lr]&&(na[nn]+=vr(et)+(et.title.standoff||0)),et.mirror&&et.anchor!=="free"&&(za={x:0,y:0,r:0,l:0,t:0,b:0},za[Vn]=et.linewidth,et.mirror&&et.mirror!==!0&&(za[Vn]+=ya),et.mirror===!0||et.mirror==="ticks"?za[Br]=et._anchorAxis.domain[$a[1]]:(et.mirror==="all"||et.mirror==="allticks")&&(za[Br]=[et._counterDomainMin,et._counterDomainMax][$a[1]]))}pr&&(Ya=L.getComponentMethod("rangeslider","autoMarginOpts")(tt,et)),typeof et.automargin=="string"&&(je(na,et.automargin),je(za,et.automargin)),a.autoMargin(tt,kr(et),na),a.autoMargin(tt,Mt(et),za),a.autoMargin(tt,yt(et),Ya)}),x.syncOrAsync(On)}};function je(tt,et){if(tt){var Wt=Object.keys(N).reduce(function(Gt,or){return et.indexOf(or)!==-1&&N[or].forEach(function(wr){Gt[wr]=1}),Gt},{});Object.keys(tt).forEach(function(Gt){Wt[Gt]||(Gt.length===1?tt[Gt]=0:delete tt[Gt])})}}function ot(tt,et){var Wt=[],Gt,or=function(wr,Tr){var br=wr.xbnd[Tr];br!==null&&Wt.push(x.extendFlat({},wr,{x:br}))};if(et.length){for(Gt=0;Gt60?-.5*Sa:tt.side==="top"!==Lr?-Sa:0};else if(lr==="y"){if(zn=!Lr&&qr==="left"||Lr&&qr==="right",_r=zn?1:-1,Lr&&(_r*=-1),En=zr,pa=cn*_r,Qn=0,!Lr&&Math.abs(dn)===90&&(dn===-90&&qr==="left"||dn===90&&qr==="right"?Qn=Q:Qn=.5),Lr){var gn=E(dn)?+dn:0;if(gn!==0){var Fn=x.deg2rad(gn);Vr=Math.abs(Math.sin(Fn))*Q*_r,Qn=0}}Wn.xFn=function(fa){return fa.dx+et-(En+fa.fontSize*Qn)*_r+Vr*fa.fontSize},Wn.yFn=function(fa){return fa.dy+pa+fa.fontSize*j},Wn.anchorFn=function(fa,Ma){return E(Ma)&&Math.abs(Ma)===90?"middle":zn?"end":"start"},Wn.heightFn=function(fa,Ma,Sa){return tt.side==="right"&&(Ma*=-1),Ma<-30?-Sa:Ma<30?-.5*Sa:0}}return Wn};function Dt(tt){return[tt.text,tt.x,tt.axInfo,tt.font,tt.fontSize,tt.fontColor].join("_")}q.drawTicks=function(tt,et,Wt){Wt=Wt||{};var Gt=et._id+"tick",or=[].concat(et.minor&&et.minor.ticks?Wt.vals.filter(function(Tr){return Tr.minor&&!Tr.noTick}):[]).concat(et.ticks?Wt.vals.filter(function(Tr){return!Tr.minor&&!Tr.noTick}):[]),wr=Wt.layer.selectAll("path."+Gt).data(or,Dt);wr.exit().remove(),wr.enter().append("path").classed(Gt,1).classed("ticks",1).classed("crisp",Wt.crisp!==!1).each(function(Tr){return t.stroke(p.select(this),Tr.minor?et.minor.tickcolor:et.tickcolor)}).style("stroke-width",function(Tr){return s.crispRound(tt,Tr.minor?et.minor.tickwidth:et.tickwidth,1)+"px"}).attr("d",Wt.path).style("display",null),Cr(et,[H]),wr.attr("transform",Wt.transFn)},q.drawGrid=function(tt,et,Wt){if(Wt=Wt||{},et.tickmode!=="sync"){var Gt=et._id+"grid",or=et.minor&&et.minor.showgrid,wr=or?Wt.vals.filter(function(En){return En.minor}):[],Tr=et.showgrid?Wt.vals.filter(function(En){return!En.minor}):[],br=Wt.counterAxis;if(br&&q.shouldShowZeroLine(tt,et,br))for(var Kt=et.tickmode==="array",Ir=0;Ir=0;tn--){var an=tn?zr:cn;if(an){var Wn=an.selectAll("path."+Gt).data(tn?Tr:wr,Dt);Wn.exit().remove(),Wn.enter().append("path").classed(Gt,1).classed("crisp",Wt.crisp!==!1),Wn.attr("transform",Wt.transFn).attr("d",Wt.path).each(function(En){return t.stroke(p.select(this),En.minor?et.minor.gridcolor:et.gridcolor||"#ddd")}).style("stroke-dasharray",function(En){return s.dashStyle(En.minor?et.minor.griddash:et.griddash,En.minor?et.minor.gridwidth:et.gridwidth)}).style("stroke-width",function(En){return(En.minor?Br:et._gw)+"px"}).style("display",null),typeof Wt.path=="function"&&Wn.attr("d",Wt.path)}}Cr(et,[G,_])}},q.drawZeroLine=function(tt,et,Wt){Wt=Wt||Wt;var Gt=et._id+"zl",or=q.shouldShowZeroLine(tt,et,Wt.counterAxis),wr=Wt.layer.selectAll("path."+Gt).data(or?[{x:0,id:et._id}]:[]);wr.exit().remove(),wr.enter().append("path").classed(Gt,1).classed("zl",1).classed("crisp",Wt.crisp!==!1).each(function(){Wt.layer.selectAll("path").sort(function(Tr,br){return J(Tr.id,br.id)})}),wr.attr("transform",Wt.transFn).attr("d",Wt.path).call(t.stroke,et.zerolinecolor||t.defaultLine).style("stroke-width",s.crispRound(tt,et.zerolinewidth,et._gw||1)+"px").style("display",null),Cr(et,[F])},q.drawLabels=function(tt,et,Wt){Wt=Wt||{};var Gt=tt._fullLayout,or=et._id,wr=or.charAt(0),Tr=Wt.cls||or+"tick",br=Wt.vals.filter(function(_r){return _r.text}),Kt=Wt.labelFns,Ir=Wt.secondary?0:et.tickangle,Lr=(et._prevTickAngles||{})[Tr],Br=Wt.layer.selectAll("g."+Tr).data(et.showticklabels?br:[],Dt),zr=[];Br.enter().append("g").classed(Tr,1).append("text").attr("text-anchor","middle").each(function(_r){var Vr=p.select(this),qr=tt._promises.length;Vr.call(m.positionText,Kt.xFn(_r),Kt.yFn(_r)).call(s.font,_r.font,_r.fontSize,_r.fontColor).text(_r.text).call(m.convertToTspans,tt),tt._promises[qr]?zr.push(tt._promises.pop().then(function(){cn(Vr,Ir)})):cn(Vr,Ir)}),Cr(et,[V]),Br.exit().remove(),Wt.repositionOnUpdate&&Br.each(function(_r){p.select(this).select("text").call(m.positionText,Kt.xFn(_r),Kt.yFn(_r))});function cn(_r,Vr){_r.each(function(qr){var lr=p.select(this),dn=lr.select(".text-math-group"),zn=Kt.anchorFn(qr,Vr),gn=Wt.transFn.call(lr.node(),qr)+(E(Vr)&&+Vr!=0?" rotate("+Vr+","+Kt.xFn(qr)+","+(Kt.yFn(qr)-qr.fontSize/2)+")":""),Fn=m.lineCount(lr),fa=ie*qr.fontSize,Ma=Kt.heightFn(qr,E(Vr)?+Vr:0,(Fn-1)*fa);if(Ma&&(gn+=d(0,Ma)),dn.empty()){var Sa=lr.select("text");Sa.attr({transform:gn,"text-anchor":zn}),Sa.style("opacity",1),et._adjustTickLabelsOverflow&&et._adjustTickLabelsOverflow()}else{var _a=s.bBox(dn.node()).width,qn=_a*{end:-.5,start:.5}[zn];dn.attr("transform",gn+d(qn,0))}})}et._adjustTickLabelsOverflow=function(){var _r=et.ticklabeloverflow;if(!(!_r||_r==="allow")){var Vr=_r.indexOf("hide")!==-1,qr=et._id.charAt(0)==="x",lr=0,dn=qr?tt._fullLayout.width:tt._fullLayout.height;if(_r.indexOf("domain")!==-1){var zn=x.simpleMap(et.range,et.r2l);lr=et.l2p(zn[0])+et._offset,dn=et.l2p(zn[1])+et._offset}var gn=Math.min(lr,dn),Fn=Math.max(lr,dn),fa=et.side,Ma=1/0,Sa=-1/0;Br.each(function(Xr){var An=p.select(this),In=An.select(".text-math-group");if(In.empty()){var jn=s.bBox(An.node()),ba=0;qr?(jn.right>Fn||jn.leftFn||jn.top+(et.tickangle?0:Xr.fontSize/4)et["_visibleLabelMin_"+zn._id]?Xr.style("display","none"):Fn.K==="tick"&&!gn&&Xr.style("display",null)})})})})},cn(Br,Lr+1?Lr:Ir);function tn(){return zr.length&&Promise.all(zr)}var an=null;function Wn(){if(cn(Br,Ir),br.length&&wr==="x"&&!E(Ir)&&(et.type!=="log"||String(et.dtick).charAt(0)!=="D")){an=0;var _r=0,Vr=[],qr;if(Br.each(function(jn){_r=Math.max(_r,jn.fontSize);var ba=et.l2p(jn.x),la=Or(this),ua=s.bBox(la.node());Vr.push({top:0,bottom:10,height:10,left:ba-ua.width/2,right:ba+ua.width/2+2,width:ua.width+2})}),(et.tickson==="boundaries"||et.showdividers)&&!Wt.secondary){var lr=2;for(et.ticks&&(lr+=et.tickwidth/2),qr=0;qr1&&Wt1)for(or=1;or=or.min&&ttl*2}function n(u){return Math.max(1,(u-1)/1e3)}function f(u,b){for(var h=u.length,S=n(h),v=0,l=0,g={},C=0;Cv*2}function c(u){return L(u[0])&&L(u[1])}},71453:function(B,O,e){var p=e(92770),E=e(73972),a=e(71828),L=e(44467),x=e(85501),d=e(13838),m=e(26218),r=e(38701),t=e(96115),s=e(89426),n=e(15258),f=e(92128),c=e(23608),u=e(21994),b=e(85555).WEEKDAY_PATTERN,h=e(85555).HOUR_PATTERN;B.exports=function(C,M,D,T,P){var A=T.letter,o=T.font||{},k=T.splomStash||{},w=D("visible",!T.visibleDflt),U=M._template||{},F=M.type||U.type||"-",G;if(F==="date"){var _=E.getComponentMethod("calendars","handleDefaults");_(C,M,"calendar",T.calendar),T.noTicklabelmode||(G=D("ticklabelmode"))}var H="";(!T.noTicklabelposition||F==="multicategory")&&(H=a.coerce(C,M,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:G==="period"?["outside","inside"]:A==="x"?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition")),T.noTicklabeloverflow||D("ticklabeloverflow",H.indexOf("inside")!==-1?"hide past domain":F==="category"||F==="multicategory"?"allow":"hide past div"),u(M,P),c(C,M,D,T),n(C,M,D,T),F!=="category"&&!T.noHover&&D("hoverformat");var V=D("color"),N=V!==d.color.dflt?V:o.color,W=k.label||P._dfltTitle[A];if(s(C,M,D,F,T),!w)return M;D("title.text",W),a.coerceFont(D,"title.font",{family:o.family,size:a.bigFont(o.size),color:N}),m(C,M,D,F);var j=T.hasMinor;if(j&&(L.newContainer(M,"minor"),m(C,M,D,F,{isMinor:!0})),t(C,M,D,F,T),r(C,M,D,T),j){var Q=T.isMinor;T.isMinor=!0,r(C,M,D,T),T.isMinor=Q}f(C,M,D,{dfltColor:V,bgColor:T.bgColor,showGrid:T.showGrid,hasMinor:j,attributes:d}),j&&!M.minor.ticks&&!M.minor.showgrid&&delete M.minor,(M.showline||M.ticks)&&D("mirror");var ie=F==="multicategory";if(!T.noTickson&&(F==="category"||ie)&&(M.ticks||M.showgrid)){var ue;ie&&(ue="boundaries");var pe=D("tickson",ue);pe==="boundaries"&&delete M.ticklabelposition}if(ie){var q=D("showdividers");q&&(D("dividercolor"),D("dividerwidth"))}if(F==="date")if(x(C,M,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:S}),!M.rangebreaks.length)delete M.rangebreaks;else{for(var X=0;X=2){var A="",o,k;if(P.length===2){for(o=0;o<2;o++)if(k=l(P[o]),k){A=b;break}}var w=D("pattern",A);if(w===b)for(o=0;o<2;o++)k=l(P[o]),k&&(C.bounds[o]=P[o]=k-1);if(w)for(o=0;o<2;o++)switch(k=P[o],w){case b:if(!p(k)){C.enabled=!1;return}if(k=+k,k!==Math.floor(k)||k<0||k>=7){C.enabled=!1;return}C.bounds[o]=P[o]=k;break;case h:if(!p(k)){C.enabled=!1;return}if(k=+k,k<0||k>24){C.enabled=!1;return}C.bounds[o]=P[o]=k;break}if(M.autorange===!1){var U=M.range;if(U[0]U[1]){C.enabled=!1;return}}else if(P[0]>U[0]&&P[1]m?1:-1:+(L.substr(1)||1)-+(x.substr(1)||1)},O.ref2id=function(L){return/^[xyz]/.test(L)?L.split(" ")[0]:!1};function a(L,x){if(x&&x.length){for(var d=0;d0,m;d&&(m="array");var r=a("categoryorder",m),t;r==="array"&&(t=a("categoryarray")),!d&&r==="array"&&(r=E.categoryorder="trace"),r==="trace"?E._initialCategories=[]:r==="array"?E._initialCategories=t.slice():(t=O(E,L).sort(),r==="category ascending"?E._initialCategories=t:r==="category descending"&&(E._initialCategories=t.reverse()))}}},66287:function(B,O,e){var p=e(92770),E=e(71828),a=e(50606),L=a.ONEDAY,x=a.ONEWEEK;O.dtick=function(d,m){var r=m==="log",t=m==="date",s=m==="category",n=t?L:1;if(!d)return n;if(p(d))return d=Number(d),d<=0?n:s?Math.max(1,Math.round(d)):t?Math.max(.1,d):d;if(typeof d!="string"||!(t||r))return n;var f=d.charAt(0),c=d.substr(1);return c=p(c)?Number(c):0,c<=0||!(t&&f==="M"&&c===Math.round(c)||r&&f==="L"||r&&f==="D"&&(c===1||c===2))?n:d},O.tick0=function(d,m,r,t){if(m==="date")return E.cleanDate(d,E.dateTick0(r,t%x===0?1:0));if(!(t==="D1"||t==="D2"))return p(d)?Number(d):0}},85555:function(B,O,e){var p=e(30587).counter;B.exports={idRegex:{x:p("x","( domain)?"),y:p("y","( domain)?")},attrRegex:p("[xy]axis"),xAxisMatch:p("xaxis"),yAxisMatch:p("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},99082:function(B,O,e){var p=e(71828),E=e(71739),a=e(41675).id2name,L=e(13838),x=e(42449),d=e(21994),m=e(50606).ALMOST_EQUAL,r=e(18783).FROM_BL;O.handleDefaults=function(h,S,v){var l=v.axIds,g=v.axHasImage,C=S._axisConstraintGroups=[],M=S._axisMatchGroups=[],D,T,P,A,o,k,w,U;for(D=0;DC?v.substr(C):l.substr(g))+M}function u(h,S){for(var v=S._size,l=v.h/v.w,g={},C=Object.keys(h),M=0;Mm*U&&!H)){for(C=0;CX&&lepe&&(pe=le);var we=(pe-ue)/(2*q);o/=we,ue=T.l2r(ue),pe=T.l2r(pe),T.range=T._input.range=j=0){Ir._fullLayout._deactivateShape(Ir);return}var Lr=Ir._fullLayout.clickmode;if(X(Ir),br===2&&!Xe&&et(),Re)Lr.indexOf("select")>-1&&P(Kt,Ir,ut,lt,me.id,kt),Lr.indexOf("event")>-1&&n.click(Ir,Kt,me.id);else if(br===1&&Xe){var Br=Ye?He:Je,zr=Ye==="s"||De==="w"?0:1,cn=Br._name+".range["+zr+"]",tn=V(Br,zr),an="left",Wn="middle";if(Br.fixedrange)return;Ye?(Wn=Ye==="n"?"top":"bottom",Br.side==="right"&&(an="right")):De==="e"&&(an="right"),Ir._context.showAxisRangeEntryBoxes&&p.select(Et).call(r.makeEditable,{gd:Ir,immediate:!0,background:Ir._fullLayout.paper_bgcolor,text:String(tn),fill:Br.tickfont?Br.tickfont.color:"#444",horizontalAlign:an,verticalAlign:Wn}).on("edit",function(En){var pa=Br.d2r(En);pa!==void 0&&d.call("_guiRelayout",Ir,cn,pa)})}}u.init(kt);var Dt,$t,vr,Pr,Ct,ir,cr,Or,kr,Mt;function yt(br,Kt,Ir){var Lr=Et.getBoundingClientRect();Dt=Kt-Lr.left,$t=Ir-Lr.top,le._fullLayout._calcInverseTransform(le);var Br=E.apply3DTransform(le._fullLayout._invTransform)(Dt,$t);Dt=Br[0],$t=Br[1],vr={l:Dt,r:Dt,w:0,t:$t,b:$t,h:0},Pr=le._hmpixcount?le._hmlumcount/le._hmpixcount:L(le._fullLayout.plot_bgcolor).getLuminance(),Ct="M0,0H"+gt+"V"+qe+"H0V0",ir=!1,cr="xy",Mt=!1,Or=ie(Te,Pr,ke,Ne,Ct),kr=ue(Te,ke,Ne)}function Rt(br,Kt){if(le._transitioningWithDuration)return!1;var Ir=Math.max(0,Math.min(gt,Ae*br+Dt)),Lr=Math.max(0,Math.min(qe,je*Kt+$t)),Br=Math.abs(Ir-Dt),zr=Math.abs(Lr-$t);vr.l=Math.min(Dt,Ir),vr.r=Math.max(Dt,Ir),vr.t=Math.min($t,Lr),vr.b=Math.max($t,Lr);function cn(){cr="",vr.r=vr.l,vr.t=vr.b,kr.attr("d","M0,0Z")}if(vt.isSubplotConstrained)Br>w||zr>w?(cr="xy",Br/gt>zr/qe?(zr=Br*qe/gt,$t>Lr?vr.t=$t-zr:vr.b=$t+zr):(Br=zr*gt/qe,Dt>Ir?vr.l=Dt-Br:vr.r=Dt+Br),kr.attr("d",fe(vr))):cn();else if(Bt.isSubplotConstrained)if(Br>w||zr>w){cr="xy";var tn=Math.min(vr.l/gt,(qe-vr.b)/qe),an=Math.max(vr.r/gt,(qe-vr.t)/qe);vr.l=tn*gt,vr.r=an*gt,vr.b=(1-tn)*qe,vr.t=(1-an)*qe,kr.attr("d",fe(vr))}else cn();else!it||zr0){var En;if(Bt.isSubplotConstrained||!Yt&&it.length===1){for(En=0;En1&&(cn.maxallowed!==void 0&&_e===(cn.range[0]1&&(tn.maxallowed!==void 0&&Ze===(tn.range[0]=0?Math.min(le,.9):1/(1/Math.max(le,-.3)+3.222))}function Q(le,me,we){return le?le==="nsew"?we?"":me==="pan"?"move":"crosshair":le.toLowerCase()+"-resize":"pointer"}function ie(le,me,we,Se,Ee){return le.append("path").attr("class","zoombox").style({fill:me>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",m(we,Se)).attr("d",Ee+"Z")}function ue(le,me,we){return le.append("path").attr("class","zoombox-corners").style({fill:t.background,stroke:t.defaultLine,"stroke-width":1,opacity:0}).attr("transform",m(me,we)).attr("d","M0,0Z")}function pe(le,me,we,Se,Ee,We){le.attr("d",Se+"M"+we.l+","+we.t+"v"+we.h+"h"+we.w+"v-"+we.h+"h-"+we.w+"Z"),q(le,me,Ee,We)}function q(le,me,we,Se){we||(le.transition().style("fill",Se>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),me.transition().style("opacity",1).duration(200))}function X(le){p.select(le).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function K(le){U&&le.data&&le._context.showTips&&(E.notifier(E._(le,"Double-click to zoom back out"),"long"),U=!1)}function J(le,me){return"M"+(le.l-.5)+","+(me-w-.5)+"h-3v"+(2*w+1)+"h3ZM"+(le.r+.5)+","+(me-w-.5)+"h3v"+(2*w+1)+"h-3Z"}function re(le,me){return"M"+(me-w-.5)+","+(le.t-.5)+"v-3h"+(2*w+1)+"v3ZM"+(me-w-.5)+","+(le.b+.5)+"v3h"+(2*w+1)+"v-3Z"}function fe(le){var me=Math.floor(Math.min(le.b-le.t,le.r-le.l,w)/2);return"M"+(le.l-3.5)+","+(le.t-.5+me)+"h3v"+-me+"h"+me+"v-3h-"+(me+3)+"ZM"+(le.r+3.5)+","+(le.t-.5+me)+"h-3v"+-me+"h"+-me+"v-3h"+(me+3)+"ZM"+(le.r+3.5)+","+(le.b+.5-me)+"h-3v"+me+"h"+-me+"v3h"+(me+3)+"ZM"+(le.l-3.5)+","+(le.b+.5-me)+"h3v"+me+"h"+me+"v3h-"+(me+3)+"Z"}function te(le,me,we,Se,Ee){for(var We=!1,Ye={},De={},Te,Re,Xe,Je,He=(Ee||{}).xaHash,$e=(Ee||{}).yaHash,pt=0;ptD[1]-.000244140625&&(x.domain=u),E.noneOrAll(L.domain,x.domain,u),x.tickmode==="sync"&&(x.tickmode="auto")}return d("layer"),x}},89426:function(B,O,e){var p=e(59652);B.exports=function(a,L,x,d,m){m||(m={});var r=m.tickSuffixDflt,t=p(a),s=x("tickprefix");s&&x("showtickprefix",t);var n=x("ticksuffix",r);n&&x("showticksuffix",t)}},23608:function(B,O,e){var p=e(23074);B.exports=function(a,L,x,d){var m=L._template||{},r=L.type||m.type||"-";x("minallowed"),x("maxallowed");var t=x("range"),s=L.getAutorangeDflt(t,d),n=x("autorange",s),f;t&&(t[0]===null&&t[1]===null||(t[0]===null||t[1]===null)&&(n==="reversed"||n===!0)||t[0]!==null&&(n==="min"||n==="max reversed")||t[1]!==null&&(n==="max"||n==="min reversed"))&&(t=void 0,delete L.range,L.autorange=!0,f=!0),f||(s=L.getAutorangeDflt(t,d),n=x("autorange",s)),n&&(p(x,n,t),(r==="linear"||r==="-")&&x("rangemode")),L.cleanRange()}},42449:function(B,O,e){var p=e(18783).FROM_BL;B.exports=function(a,L,x){x===void 0&&(x=p[a.constraintoward||"center"]);var d=[a.r2l(a.range[0]),a.r2l(a.range[1])],m=d[0]+(d[1]-d[0])*x;a.range=a._input.range=[a.l2r(m+(d[0]-m)*L),a.l2r(m+(d[1]-m)*L)],a.setScale()}},21994:function(B,O,e){var p=e(39898),E=e(84096).g0,a=e(71828),L=a.numberFormat,x=e(92770),d=a.cleanNumber,m=a.ms2DateTime,r=a.dateTime2ms,t=a.ensureNumber,s=a.isArrayOrTypedArray,n=e(50606),f=n.FP_SAFE,c=n.BADNUM,u=n.LOG_CLIP,b=n.ONEWEEK,h=n.ONEDAY,S=n.ONEHOUR,v=n.ONEMIN,l=n.ONESEC,g=e(41675),C=e(85555),M=C.HOUR_PATTERN,D=C.WEEKDAY_PATTERN;function T(A){return Math.pow(10,A)}function P(A){return A!=null}B.exports=function(o,k){k=k||{};var w=o._id||"x",U=w.charAt(0);function F(J,re){if(J>0)return Math.log(J)/Math.LN10;if(J<=0&&re&&o.range&&o.range.length===2){var fe=o.range[0],te=o.range[1];return .5*(fe+te-2*u*Math.abs(fe-te))}else return c}function G(J,re,fe,te){if((te||{}).msUTC&&x(J))return+J;var ee=r(J,fe||o.calendar);if(ee===c)if(x(J)){J=+J;var ce=Math.floor(a.mod(J+.05,1)*10),le=Math.round(J-ce/10);ee=r(new Date(le))+ce/10}else return c;return ee}function _(J,re,fe){return m(J,re,fe||o.calendar)}function H(J){return o._categories[Math.round(J)]}function V(J){if(P(J)){if(o._categoriesMap===void 0&&(o._categoriesMap={}),o._categoriesMap[J]!==void 0)return o._categoriesMap[J];o._categories.push(typeof J=="number"?String(J):J);var re=o._categories.length-1;return o._categoriesMap[J]=re,re}return c}function N(J,re){for(var fe=new Array(re),te=0;teo.range[1]&&(fe=!fe);for(var te=fe?-1:1,ee=te*J,ce=0,le=0;lewe)ce=le+1;else{ce=ee<(me+we)/2?le:le+1;break}}var Se=o._B[ce]||0;return isFinite(Se)?ie(J,o._m2,Se):0},q=function(J){var re=o._rangebreaks.length;if(!re)return ue(J,o._m,o._b);for(var fe=0,te=0;teo._rangebreaks[te].pmax&&(fe=te+1);return ue(J,o._m2,o._B[fe])}}o.c2l=o.type==="log"?F:t,o.l2c=o.type==="log"?T:t,o.l2p=pe,o.p2l=q,o.c2p=o.type==="log"?function(J,re){return pe(F(J,re))}:pe,o.p2c=o.type==="log"?function(J){return T(q(J))}:q,["linear","-"].indexOf(o.type)!==-1?(o.d2r=o.r2d=o.d2c=o.r2c=o.d2l=o.r2l=d,o.c2d=o.c2r=o.l2d=o.l2r=t,o.d2p=o.r2p=function(J){return o.l2p(d(J))},o.p2d=o.p2r=q,o.cleanPos=t):o.type==="log"?(o.d2r=o.d2l=function(J,re){return F(d(J),re)},o.r2d=o.r2c=function(J){return T(d(J))},o.d2c=o.r2l=d,o.c2d=o.l2r=t,o.c2r=F,o.l2d=T,o.d2p=function(J,re){return o.l2p(o.d2r(J,re))},o.p2d=function(J){return T(q(J))},o.r2p=function(J){return o.l2p(d(J))},o.p2r=q,o.cleanPos=t):o.type==="date"?(o.d2r=o.r2d=a.identity,o.d2c=o.r2c=o.d2l=o.r2l=G,o.c2d=o.c2r=o.l2d=o.l2r=_,o.d2p=o.r2p=function(J,re,fe){return o.l2p(G(J,0,fe))},o.p2d=o.p2r=function(J,re,fe){return _(q(J),re,fe)},o.cleanPos=function(J){return a.cleanDate(J,c,o.calendar)}):o.type==="category"?(o.d2c=o.d2l=V,o.r2d=o.c2d=o.l2d=H,o.d2r=o.d2l_noadd=j,o.r2c=function(J){var re=Q(J);return re!==void 0?re:o.fraction2r(.5)},o.l2r=o.c2r=t,o.r2l=Q,o.d2p=function(J){return o.l2p(o.r2c(J))},o.p2d=function(J){return H(q(J))},o.r2p=o.d2p,o.p2r=q,o.cleanPos=function(J){return typeof J=="string"&&J!==""?J:t(J)}):o.type==="multicategory"&&(o.r2d=o.c2d=o.l2d=H,o.d2r=o.d2l_noadd=j,o.r2c=function(J){var re=j(J);return re!==void 0?re:o.fraction2r(.5)},o.r2c_just_indices=W,o.l2r=o.c2r=t,o.r2l=j,o.d2p=function(J){return o.l2p(o.r2c(J))},o.p2d=function(J){return H(q(J))},o.r2p=o.d2p,o.p2r=q,o.cleanPos=function(J){return Array.isArray(J)||typeof J=="string"&&J!==""?J:t(J)},o.setupMultiCategory=function(J){var re=o._traceIndices,fe,te,ee=o._matchGroup;if(ee&&o._categories.length===0){for(var ce in ee)if(ce!==w){var le=k[g.id2name(ce)];re=re.concat(le._traceIndices)}}var me=[[0,{}],[0,{}]],we=[];for(fe=0;fele[1]&&(te[ce?0:1]=fe)}},o.cleanRange=function(J,re){o._cleanRange(J,re),o.limitRange(J)},o._cleanRange=function(J,re){re||(re={}),J||(J="range");var fe=a.nestedProperty(o,J).get(),te,ee;if(o.type==="date"?ee=a.dfltRange(o.calendar):U==="y"?ee=C.DFLTRANGEY:o._name==="realaxis"?ee=[0,1]:ee=re.dfltRange||C.DFLTRANGEX,ee=ee.slice(),(o.rangemode==="tozero"||o.rangemode==="nonnegative")&&(ee[0]=0),!fe||fe.length!==2){a.nestedProperty(o,J).set(ee);return}var ce=fe[0]===null,le=fe[1]===null;for(o.type==="date"&&!o.autorange&&(fe[0]=a.cleanDate(fe[0],c,o.calendar),fe[1]=a.cleanDate(fe[1],c,o.calendar)),te=0;te<2;te++)if(o.type==="date"){if(!a.isDateTime(fe[te],o.calendar)){o[J]=ee;break}if(o.r2l(fe[0])===o.r2l(fe[1])){var me=a.constrain(o.r2l(fe[0]),a.MIN_MS+1e3,a.MAX_MS-1e3);fe[0]=o.l2r(me-1e3),fe[1]=o.l2r(me+1e3);break}}else{if(!x(fe[te]))if(!(ce||le)&&x(fe[1-te]))fe[te]=fe[1-te]*(te?10:.1);else{o[J]=ee;break}if(fe[te]<-f?fe[te]=-f:fe[te]>f&&(fe[te]=f),fe[0]===fe[1]){var we=Math.max(1,Math.abs(fe[0]*1e-6));fe[0]-=we,fe[1]+=we}}},o.setScale=function(J){var re=k._size;if(o.overlaying){var fe=g.getFromId({_fullLayout:k},o.overlaying);o.domain=fe.domain}var te=J&&o._r?"_r":"range",ee=o.calendar;o.cleanRange(te);var ce=o.r2l(o[te][0],ee),le=o.r2l(o[te][1],ee),me=U==="y";if(me?(o._offset=re.t+(1-o.domain[1])*re.h,o._length=re.h*(o.domain[1]-o.domain[0]),o._m=o._length/(ce-le),o._b=-o._m*le):(o._offset=re.l+o.domain[0]*re.w,o._length=re.w*(o.domain[1]-o.domain[0]),o._m=o._length/(le-ce),o._b=-o._m*ce),o._rangebreaks=[],o._lBreaks=0,o._m2=0,o._B=[],o.rangebreaks){var we,Se;if(o._rangebreaks=o.locateBreaks(Math.min(ce,le),Math.max(ce,le)),o._rangebreaks.length){for(we=0;wele&&(Ee=!Ee),Ee&&o._rangebreaks.reverse();var We=Ee?-1:1;for(o._m2=We*o._length/(Math.abs(le-ce)-o._lBreaks),o._B.push(-o._m2*(me?le:ce)),we=0;weee&&(ee+=7,ceee&&(ee+=24,ce=te&&ce=te&&J=lt.min&&(Helt.max&&(lt.max=$e),pt=!1)}pt&&le.push({min:He,max:$e})}};for(fe=0;fe rect").call(L.setTranslate,0,0).call(L.setScale,1,1),M.plot.call(L.setTranslate,D._offset,T._offset).call(L.setScale,1,1);var P=M.plot.selectAll(".scatterlayer .trace");P.selectAll(".point").call(L.setPointGroupScale,1,1),P.selectAll(".textpoint").call(L.setTextPointsScale,1,1),P.call(L.hideOutsideRangePoints,M)}function c(M,D){var T=M.plotinfo,P=T.xaxis,A=T.yaxis,o=P._length,k=A._length,w=!!M.xr1,U=!!M.yr1,F=[];if(w){var G=a.simpleMap(M.xr0,P.r2l),_=a.simpleMap(M.xr1,P.r2l),H=G[1]-G[0],V=_[1]-_[0];F[0]=(G[0]*(1-D)+D*_[0]-G[0])/(G[1]-G[0])*o,F[2]=o*(1-D+D*V/H),P.range[0]=P.l2r(G[0]*(1-D)+D*_[0]),P.range[1]=P.l2r(G[1]*(1-D)+D*_[1])}else F[0]=0,F[2]=o;if(U){var N=a.simpleMap(M.yr0,A.r2l),W=a.simpleMap(M.yr1,A.r2l),j=N[1]-N[0],Q=W[1]-W[0];F[1]=(N[1]*(1-D)+D*W[1]-N[1])/(N[0]-N[1])*k,F[3]=k*(1-D+D*Q/j),A.range[0]=P.l2r(N[0]*(1-D)+D*W[0]),A.range[1]=A.l2r(N[1]*(1-D)+D*W[1])}else F[1]=0,F[3]=k;x.drawOne(m,P,{skipTitle:!0}),x.drawOne(m,A,{skipTitle:!0}),x.redrawComponents(m,[P._id,A._id]);var ie=w?o/F[2]:1,ue=U?k/F[3]:1,pe=w?F[0]:0,q=U?F[1]:0,X=w?F[0]/F[2]*o:0,K=U?F[1]/F[3]*k:0,J=P._offset-X,re=A._offset-K;T.clipRect.call(L.setTranslate,pe,q).call(L.setScale,1/ie,1/ue),T.plot.call(L.setTranslate,J,re).call(L.setScale,ie,ue),L.setPointGroupScale(T.zoomScalePts,1/ie,1/ue),L.setTextPointsScale(T.zoomScaleTxt,1/ie,1/ue)}var u;s&&(u=s());function b(){for(var M={},D=0;Dt.duration?(b(),l=window.cancelAnimationFrame(C)):l=window.requestAnimationFrame(C)}return S=Date.now(),l=window.requestAnimationFrame(C),Promise.resolve()}},951:function(B,O,e){var p=e(73972).traceIs,E=e(4322);B.exports=function(r,t,s,n){s("autotypenumbers",n.autotypenumbersDflt);var f=s("type",(n.splomStash||{}).type);f==="-"&&(a(t,n.data),t.type==="-"?t.type="linear":r.type=t.type)};function a(m,r){if(m.type==="-"){var t=m._id,s=t.charAt(0),n;t.indexOf("scene")!==-1&&(t=s);var f=L(r,t,s);if(f){if(f.type==="histogram"&&s==={v:"y",h:"x"}[f.orientation||"v"]){m.type="linear";return}var c=s+"calendar",u=f[c],b={noMultiCategory:!p(f,"cartesian")||p(f,"noMultiCategory")};if(f.type==="box"&&f._hasPreCompStats&&s==={h:"x",v:"y"}[f.orientation||"v"]&&(b.noMultiCategory=!0),b.autotypenumbers=m.autotypenumbers,d(f,s)){var h=x(f),S=[];for(n=0;n0&&(n["_"+t+"axes"]||{})[r])return n;if((n[t+"axis"]||t)===r){if(d(n,t))return n;if((n[t]||[]).length||n[t+"0"])return n}}}function x(m){return{v:"x",h:"y"}[m.orientation||"v"]}function d(m,r){var t=x(m),s=p(m,"box-violin"),n=p(m._fullInput||{},"candlestick");return s&&!n&&r===t&&m[t]===void 0&&m[t+"0"]===void 0}},31137:function(B,O,e){var p=e(73972),E=e(71828);O.manageCommandObserver=function(r,t,s,n){var f={},c=!0;t&&t._commandObserver&&(f=t._commandObserver),f.cache||(f.cache={}),f.lookupTable={};var u=O.hasSimpleAPICommandBindings(r,s,f.lookupTable);if(t&&t._commandObserver){if(u)return f;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,f}if(u){a(r,u,f.cache),f.check=function(){if(c){var v=a(r,u,f.cache);return v.changed&&n&&f.lookupTable[v.value]!==void 0&&(f.disable(),Promise.resolve(n({value:v.value,type:u.type,prop:u.prop,traces:u.traces,index:f.lookupTable[v.value]})).then(f.enable,f.enable)),v.changed}};for(var b=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],h=0;h0?".":"")+f;E.isPlainObject(c)?m(c,t,u,n+1):t(u,f,c)}})}},27670:function(B,O,e){var p=e(1426).extendFlat;O.Y=function(E,a){E=E||{},a=a||{};var L={valType:"info_array",editType:E.editType,items:[{valType:"number",min:0,max:1,editType:E.editType},{valType:"number",min:0,max:1,editType:E.editType}],dflt:[0,1]};E.name&&E.name+"",E.trace,a.description&&""+a.description;var x={x:p({},L,{}),y:p({},L,{}),editType:E.editType};return E.noGridCell||(x.row={valType:"integer",min:0,dflt:0,editType:E.editType},x.column={valType:"integer",min:0,dflt:0,editType:E.editType}),x},O.c=function(E,a,L,x){var d=x&&x.x||[0,1],m=x&&x.y||[0,1],r=a.grid;if(r){var t=L("domain.column");t!==void 0&&(t0&&V._module.calcGeoJSON(H,U)}if(!F){var N=this.updateProjection(w,U);if(N)return;(!this.viewInitial||this.scope!==G.scope)&&this.saveViewInitial(G)}this.scope=G.scope,this.updateBaseLayers(U,G),this.updateDims(U,G),this.updateFx(U,G),f.generalUpdatePerTraceModule(this.graphDiv,this,w,G);var W=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=W.selectAll(".point"),this.dataPoints.text=W.selectAll("text"),this.dataPaths.line=W.selectAll(".js-line");var j=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=j.selectAll("path"),this._render()},P.updateProjection=function(w,U){var F=this.graphDiv,G=U[this.id],_=U._size,H=G.domain,V=G.projection,N=G.lonaxis,W=G.lataxis,j=N._ax,Q=W._ax,ie=this.projection=A(G),ue=[[_.l+_.w*H.x[0],_.t+_.h*(1-H.y[1])],[_.l+_.w*H.x[1],_.t+_.h*(1-H.y[0])]],pe=G.center||{},q=V.rotation||{},X=N.range||[],K=W.range||[];if(G.fitbounds){j._length=ue[1][0]-ue[0][0],Q._length=ue[1][1]-ue[0][1],j.range=u(F,j),Q.range=u(F,Q);var J=(j.range[0]+j.range[1])/2,re=(Q.range[0]+Q.range[1])/2;if(G._isScoped)pe={lon:J,lat:re};else if(G._isClipped){pe={lon:J,lat:re},q={lon:J,lat:re,roll:q.roll};var fe=V.type,te=g.lonaxisSpan[fe]/2||180,ee=g.lataxisSpan[fe]/2||90;X=[J-te,J+te],K=[re-ee,re+ee]}else pe={lon:J,lat:re},q={lon:J,lat:q.lat,roll:q.roll}}ie.center([pe.lon-q.lon,pe.lat-q.lat]).rotate([-q.lon,-q.lat,q.roll]).parallels(V.parallels);var ce=k(X,K);ie.fitExtent(ue,ce);var le=this.bounds=ie.getBounds(ce),me=this.fitScale=ie.scale(),we=ie.translate();if(G.fitbounds){var Se=ie.getBounds(k(j.range,Q.range)),Ee=Math.min((le[1][0]-le[0][0])/(Se[1][0]-Se[0][0]),(le[1][1]-le[0][1])/(Se[1][1]-Se[0][1]));isFinite(Ee)?ie.scale(Ee*me):m.warn("Something went wrong during"+this.id+"fitbounds computations.")}else ie.scale(V.scale*me);var We=this.midPt=[(le[0][0]+le[1][0])/2,(le[0][1]+le[1][1])/2];if(ie.translate([we[0]+(We[0]-we[0]),we[1]+(We[1]-we[1])]).clipExtent(le),G._isAlbersUsa){var Ye=ie([pe.lon,pe.lat]),De=ie.translate();ie.translate([De[0]-(Ye[0]-De[0]),De[1]-(Ye[1]-De[1])])}},P.updateBaseLayers=function(w,U){var F=this,G=F.topojson,_=F.layers,H=F.basePaths;function V(ue){return ue==="lonaxis"||ue==="lataxis"}function N(ue){return!!g.lineLayers[ue]}function W(ue){return!!g.fillLayers[ue]}var j=this.hasChoropleth?g.layersForChoropleth:g.layers,Q=j.filter(function(ue){return N(ue)||W(ue)?U["show"+ue]:V(ue)?U[ue].showgrid:!0}),ie=F.framework.selectAll(".layer").data(Q,String);ie.exit().each(function(ue){delete _[ue],delete H[ue],p.select(this).remove()}),ie.enter().append("g").attr("class",function(ue){return"layer "+ue}).each(function(ue){var pe=_[ue]=p.select(this);ue==="bg"?F.bgRect=pe.append("rect").style("pointer-events","all"):V(ue)?H[ue]=pe.append("path").style("fill","none"):ue==="backplot"?pe.append("g").classed("choroplethlayer",!0):ue==="frontplot"?pe.append("g").classed("scatterlayer",!0):N(ue)?H[ue]=pe.append("path").style("fill","none").style("stroke-miterlimit",2):W(ue)&&(H[ue]=pe.append("path").style("stroke","none"))}),ie.order(),ie.each(function(ue){var pe=H[ue],q=g.layerNameToAdjective[ue];ue==="frame"?pe.datum(g.sphereSVG):N(ue)||W(ue)?pe.datum(D(G,G.objects[ue])):V(ue)&&pe.datum(o(ue,U,w)).call(t.stroke,U[ue].gridcolor).call(s.dashLine,U[ue].griddash,U[ue].gridwidth),N(ue)?pe.call(t.stroke,U[q+"color"]).call(s.dashLine,"",U[q+"width"]):W(ue)&&pe.call(t.fill,U[q+"color"])})},P.updateDims=function(w,U){var F=this.bounds,G=(U.framewidth||0)/2,_=F[0][0]-G,H=F[0][1]-G,V=F[1][0]-_+G,N=F[1][1]-H+G;s.setRect(this.clipRect,_,H,V,N),this.bgRect.call(s.setRect,_,H,V,N).call(t.fill,U.bgcolor),this.xaxis._offset=_,this.xaxis._length=V,this.yaxis._offset=H,this.yaxis._length=N},P.updateFx=function(w,U){var F=this,G=F.graphDiv,_=F.bgRect,H=w.dragmode,V=w.clickmode;if(F.isStatic)return;function N(){var ie=F.viewInitial,ue={};for(var pe in ie)ue[F.id+"."+pe]=ie[pe];d.call("_guiRelayout",G,ue),G.emit("plotly_doubleclick",null)}function W(ie){return F.projection.invert([ie[0]+F.xaxis._offset,ie[1]+F.yaxis._offset])}var j=function(ie,ue){if(ue.isRect){var pe=ie.range={};pe[F.id]=[W([ue.xmin,ue.ymin]),W([ue.xmax,ue.ymax])]}else{var q=ie.lassoPoints={};q[F.id]=ue.map(W)}},Q={element:F.bgRect.node(),gd:G,plotinfo:{id:F.id,xaxis:F.xaxis,yaxis:F.yaxis,fillRangeItems:j},xaxes:[F.xaxis],yaxes:[F.yaxis],subplot:F.id,clickFn:function(ie){ie===2&&S(G)}};H==="pan"?(_.node().onmousedown=null,_.call(l(F,U)),_.on("dblclick.zoom",N),G._context._scrollZoom.geo||_.on("wheel.zoom",null)):(H==="select"||H==="lasso")&&(_.on(".zoom",null),Q.prepFn=function(ie,ue,pe){h(ie,ue,pe,Q,H)},b.init(Q)),_.on("mousemove",function(){var ie=F.projection.invert(m.getPositionFromD3Event());if(!ie)return b.unhover(G,p.event);F.xaxis.p2c=function(){return ie[0]},F.yaxis.p2c=function(){return ie[1]},n.hover(G,p.event,F.id)}),_.on("mouseout",function(){G._dragging||b.unhover(G,p.event)}),_.on("click",function(){H!=="select"&&H!=="lasso"&&(V.indexOf("select")>-1&&v(p.event,G,[F.xaxis],[F.yaxis],F.id,Q),V.indexOf("event")>-1&&n.click(G,p.event))})},P.makeFramework=function(){var w=this,U=w.graphDiv,F=U._fullLayout,G="clip"+F._uid+w.id;w.clipDef=F._clips.append("clipPath").attr("id",G),w.clipRect=w.clipDef.append("rect"),w.framework=p.select(w.container).append("g").attr("class","geo "+w.id).call(s.setClipUrl,G,U),w.project=function(_){var H=w.projection(_);return H?[H[0]-w.xaxis._offset,H[1]-w.yaxis._offset]:[null,null]},w.xaxis={_id:"x",c2p:function(_){return w.project(_)[0]}},w.yaxis={_id:"y",c2p:function(_){return w.project(_)[1]}},w.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},c.setConvert(w.mockAxis,F)},P.saveViewInitial=function(w){var U=w.center||{},F=w.projection,G=F.rotation||{};this.viewInitial={fitbounds:w.fitbounds,"projection.scale":F.scale};var _;w._isScoped?_={"center.lon":U.lon,"center.lat":U.lat}:w._isClipped?_={"projection.rotation.lon":G.lon,"projection.rotation.lat":G.lat}:_={"center.lon":U.lon,"center.lat":U.lat,"projection.rotation.lon":G.lon},m.extendFlat(this.viewInitial,_)},P.render=function(w){this._hasMarkerAngles&&w?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},P._render=function(){var w=this.projection,U=w.getPath(),F;function G(H){var V=w(H.lonlat);return V?r(V[0],V[1]):null}function _(H){return w.isLonLatOverEdges(H.lonlat)?"none":null}for(F in this.basePaths)this.basePaths[F].attr("d",U);for(F in this.dataPaths)this.dataPaths[F].attr("d",function(H){return U(H.geojson)});for(F in this.dataPoints)this.dataPoints[F].attr("display",_).attr("transform",G)};function A(w){var U=w.projection,F=U.type,G=g.projNames[F];G="geo"+m.titleCase(G);for(var _=E[G]||x[G],H=_(),V=w._isSatellite?Math.acos(1/U.distance)*180/Math.PI:w._isClipped?g.lonaxisSpan[F]/2:null,N=["center","rotate","parallels","clipExtent"],W=function(ie){return ie?H:[]},j=0;jq}else return!1},H.getPath=function(){return a().projection(H)},H.getBounds=function(ie){return H.getPath().bounds(ie)},H.precision(g.precision),w._isSatellite&&H.tilt(U.tilt).distance(U.distance),V&&H.clipAngle(V-g.clipPad),H}function o(w,U,F){var G=1e-6,_=2.5,H=U[w],V=g.scopeDefaults[U.scope],N,W,j;w==="lonaxis"?(N=V.lonaxisRange,W=V.lataxisRange,j=function(re,fe){return[re,fe]}):w==="lataxis"&&(N=V.lataxisRange,W=V.lonaxisRange,j=function(re,fe){return[fe,re]});var Q={type:"linear",range:[N[0],N[1]-G],tick0:H.tick0,dtick:H.dtick};c.setConvert(Q,F);var ie=c.calcTicks(Q);!U.isScoped&&w==="lonaxis"&&ie.pop();for(var ue=ie.length,pe=new Array(ue),q=0;q0&&_<0&&(_+=360);var N=(_-G)/4;return{type:"Polygon",coordinates:[[[G,H],[G,V],[G+N,V],[G+2*N,V],[G+3*N,V],[_,V],[_,H],[_-N,H],[_-2*N,H],[_-3*N,H],[G,H]]]}}},44622:function(B,O,e){var p=e(27659).AU,E=e(71828).counterRegex,a=e(69082),L="geo",x=E(L),d={};d[L]={valType:"subplotid",dflt:L,editType:"calc"};function m(s){for(var n=s._fullLayout,f=s.calcdata,c=n._subplots[L],u=0;u0&&W<0&&(W+=360);var j=(N+W)/2,Q;if(!v){var ie=l?h.projRotate:[j,0,0];Q=s("projection.rotation.lon",ie[0]),s("projection.rotation.lat",ie[1]),s("projection.rotation.roll",ie[2]),P=s("showcoastlines",!l&&T),P&&(s("coastlinecolor"),s("coastlinewidth")),P=s("showocean",T?void 0:!1),P&&s("oceancolor")}var ue,pe;if(v?(ue=-96.6,pe=38.7):(ue=l?j:Q,pe=(V[0]+V[1])/2),s("center.lon",ue),s("center.lat",pe),g&&(s("projection.tilt"),s("projection.distance")),C){var q=h.projParallels||[0,60];s("projection.parallels",q)}s("projection.scale"),P=s("showland",T?void 0:!1),P&&s("landcolor"),P=s("showlakes",T?void 0:!1),P&&s("lakecolor"),P=s("showrivers",T?void 0:!1),P&&(s("rivercolor"),s("riverwidth")),P=s("showcountries",l&&b!=="usa"&&T),P&&(s("countrycolor"),s("countrywidth")),(b==="usa"||b==="north america"&&u===50)&&(s("showsubunits",T),s("subunitcolor"),s("subunitwidth")),l||(P=s("showframe",T),P&&(s("framecolor"),s("framewidth"))),s("bgcolor");var X=s("fitbounds");X&&(delete t.projection.scale,l?(delete t.center.lon,delete t.center.lat):M?(delete t.center.lon,delete t.center.lat,delete t.projection.rotation.lon,delete t.projection.rotation.lat,delete t.lonaxis.range,delete t.lataxis.range):(delete t.center.lon,delete t.center.lat,delete t.projection.rotation.lon))}},74455:function(B,O,e){var p=e(39898),E=e(71828),a=e(73972),L=Math.PI/180,x=180/Math.PI,d={cursor:"pointer"},m={cursor:"auto"};function r(o,k){var w=o.projection,U;return k._isScoped?U=n:k._isClipped?U=c:U=f,U(o,w)}B.exports=r;function t(o,k){return p.behavior.zoom().translate(k.translate()).scale(k.scale())}function s(o,k,w){var U=o.id,F=o.graphDiv,G=F.layout,_=G[U],H=F._fullLayout,V=H[U],N={},W={};function j(Q,ie){N[U+"."+Q]=E.nestedProperty(_,Q).get(),a.call("_storeDirectGUIEdit",G,H._preGUI,N);var ue=E.nestedProperty(V,Q);ue.get()!==ie&&(ue.set(ie),E.nestedProperty(_,Q).set(ie),W[U+"."+Q]=ie)}w(j),j("projection.scale",k.scale()/o.fitScale),j("fitbounds",!1),F.emit("plotly_relayout",W)}function n(o,k){var w=t(o,k);function U(){p.select(this).style(d)}function F(){k.scale(p.event.scale).translate(p.event.translate),o.render(!0);var H=k.invert(o.midPt);o.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":k.scale()/o.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1]})}function G(H){var V=k.invert(o.midPt);H("center.lon",V[0]),H("center.lat",V[1])}function _(){p.select(this).style(m),s(o,k,G)}return w.on("zoomstart",U).on("zoom",F).on("zoomend",_),w}function f(o,k){var w=t(o,k),U=2,F,G,_,H,V,N,W,j,Q;function ie(J){return k.invert(J)}function ue(J){var re=ie(J);if(!re)return!0;var fe=k(re);return Math.abs(fe[0]-J[0])>U||Math.abs(fe[1]-J[1])>U}function pe(){p.select(this).style(d),F=p.mouse(this),G=k.rotate(),_=k.translate(),H=G,V=ie(F)}function q(){if(N=p.mouse(this),ue(F)){w.scale(k.scale()),w.translate(k.translate());return}k.scale(p.event.scale),k.translate([_[0],p.event.translate[1]]),V?ie(N)&&(j=ie(N),W=[H[0]+(j[0]-V[0]),G[1],G[2]],k.rotate(W),H=W):(F=N,V=ie(F)),Q=!0,o.render(!0);var J=k.rotate(),re=k.invert(o.midPt);o.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":k.scale()/o.fitScale,"geo.center.lon":re[0],"geo.center.lat":re[1],"geo.projection.rotation.lon":-J[0]})}function X(){p.select(this).style(m),Q&&s(o,k,K)}function K(J){var re=k.rotate(),fe=k.invert(o.midPt);J("projection.rotation.lon",-re[0]),J("center.lon",fe[0]),J("center.lat",fe[1])}return w.on("zoomstart",pe).on("zoom",q).on("zoomend",X),w}function c(o,k){k.rotate(),k.scale();var w=t(o,k),U=A(w,"zoomstart","zoom","zoomend"),F=0,G=w.on,_;w.on("zoomstart",function(){p.select(this).style(d);var j=p.mouse(this),Q=k.rotate(),ie=Q,ue=k.translate(),pe=b(Q);_=u(k,j),G.call(w,"zoom",function(){var q=p.mouse(this);if(k.scale(p.event.scale),!_)j=q,_=u(k,j);else if(u(k,q)){k.rotate(Q).translate(ue);var X=u(k,q),K=S(_,X),J=M(h(pe,K)),re=v(J,_,ie);(!isFinite(re[0])||!isFinite(re[1])||!isFinite(re[2]))&&(re=ie),k.rotate(re),ie=re}V(U.of(this,arguments))}),H(U.of(this,arguments))}).on("zoomend",function(){p.select(this).style(m),G.call(w,"zoom",null),N(U.of(this,arguments)),s(o,k,W)}).on("zoom.redraw",function(){o.render(!0);var j=k.rotate();o.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":k.scale()/o.fitScale,"geo.projection.rotation.lon":-j[0],"geo.projection.rotation.lat":-j[1]})});function H(j){F++||j({type:"zoomstart"})}function V(j){j({type:"zoom"})}function N(j){--F||j({type:"zoomend"})}function W(j){var Q=k.rotate();j("projection.rotation.lon",-Q[0]),j("projection.rotation.lat",-Q[1])}return p.rebind(w,U,"on")}function u(o,k){var w=o.invert(k);return w&&isFinite(w[0])&&isFinite(w[1])&&D(w)}function b(o){var k=.5*o[0]*L,w=.5*o[1]*L,U=.5*o[2]*L,F=Math.sin(k),G=Math.cos(k),_=Math.sin(w),H=Math.cos(w),V=Math.sin(U),N=Math.cos(U);return[G*H*N+F*_*V,F*H*N-G*_*V,G*_*N+F*H*V,G*H*V-F*_*N]}function h(o,k){var w=o[0],U=o[1],F=o[2],G=o[3],_=k[0],H=k[1],V=k[2],N=k[3];return[w*_-U*H-F*V-G*N,w*H+U*_+F*N-G*V,w*V-U*N+F*_+G*H,w*N+U*V-F*H+G*_]}function S(o,k){if(!(!o||!k)){var w=P(o,k),U=Math.sqrt(T(w,w)),F=.5*Math.acos(Math.max(-1,Math.min(1,T(o,k)))),G=Math.sin(F)/U;return U&&[Math.cos(F),w[2]*G,-w[1]*G,w[0]*G]}}function v(o,k,w){var U=C(k,2,o[0]);U=C(U,1,o[1]),U=C(U,0,o[2]-w[2]);var F=k[0],G=k[1],_=k[2],H=U[0],V=U[1],N=U[2],W=Math.atan2(G,F)*x,j=Math.sqrt(F*F+G*G),Q,ie;Math.abs(V)>j?(ie=(V>0?90:-90)-W,Q=0):(ie=Math.asin(V/j)*x-W,Q=Math.sqrt(j*j-V*V));var ue=180-ie-2*W,pe=(Math.atan2(N,H)-Math.atan2(_,Q))*x,q=(Math.atan2(N,H)-Math.atan2(_,-Q))*x,X=l(w[0],w[1],ie,pe),K=l(w[0],w[1],ue,q);return X<=K?[ie,pe,w[2]]:[ue,q,w[2]]}function l(o,k,w,U){var F=g(w-o),G=g(U-k);return Math.sqrt(F*F+G*G)}function g(o){return(o%360+540)%360-180}function C(o,k,w){var U=w*L,F=o.slice(),G=k===0?1:0,_=k===2?1:2,H=Math.cos(U),V=Math.sin(U);return F[G]=o[G]*H-o[_]*V,F[_]=o[_]*H+o[G]*V,F}function M(o){return[Math.atan2(2*(o[0]*o[1]+o[2]*o[3]),1-2*(o[1]*o[1]+o[2]*o[2]))*x,Math.asin(Math.max(-1,Math.min(1,2*(o[0]*o[2]-o[3]*o[1]))))*x,Math.atan2(2*(o[0]*o[3]+o[1]*o[2]),1-2*(o[2]*o[2]+o[3]*o[3]))*x]}function D(o){var k=o[0]*L,w=o[1]*L,U=Math.cos(w);return[U*Math.cos(k),U*Math.sin(k),Math.sin(w)]}function T(o,k){for(var w=0,U=0,F=o.length;UMath.abs(P)?(n.boxEnd[1]=n.boxStart[1]+Math.abs(T)*F*(P>=0?1:-1),n.boxEnd[1]v[3]&&(n.boxEnd[1]=v[3],n.boxEnd[0]=n.boxStart[0]+(v[3]-n.boxStart[1])/Math.abs(F))):(n.boxEnd[0]=n.boxStart[0]+Math.abs(P)/F*(T>=0?1:-1),n.boxEnd[0]v[2]&&(n.boxEnd[0]=v[2],n.boxEnd[1]=n.boxStart[1]+(v[2]-n.boxStart[0])*Math.abs(F)))}else w&&(n.boxEnd[0]=n.boxStart[0]),U&&(n.boxEnd[1]=n.boxStart[1])}else n.boxEnabled?(T=n.boxStart[0]!==n.boxEnd[0],P=n.boxStart[1]!==n.boxEnd[1],T||P?(T&&(A(0,n.boxStart[0],n.boxEnd[0]),r.xaxis.autorange=!1),P&&(A(1,n.boxStart[1],n.boxEnd[1]),r.yaxis.autorange=!1),r.relayoutCallback()):r.glplot.setDirty(),n.boxEnabled=!1,n.boxInited=!1):n.boxInited&&(n.boxInited=!1);break;case"pan":n.boxEnabled=!1,n.boxInited=!1,b?(n.panning||(n.dragStart[0]=h,n.dragStart[1]=S),Math.abs(n.dragStart[0]-h)1;function b(h){if(!u){var S=p.validate(n[h],d[h]);if(S)return n[h]}}L(n,f,c,{type:r,attributes:d,handleDefaults:t,fullLayout:f,font:f.font,fullData:c,getDfltFromLayout:b,autotypenumbersDflt:f.autotypenumbers,paper_bgcolor:f.paper_bgcolor,calendar:f.calendar})};function t(s,n,f,c){for(var u=f("bgcolor"),b=E.combine(u,c.paper_bgcolor),h=["up","center","eye"],S=0;S.999)&&(M="turntable")}else M="turntable";f("dragmode",M),f("hovermode",c.getDfltFromLayout("hovermode"))}},65500:function(B,O,e){var p=e(77894),E=e(27670).Y,a=e(1426).extendFlat,L=e(71828).counterRegex;function x(d,m,r){return{x:{valType:"number",dflt:d,editType:"camera"},y:{valType:"number",dflt:m,editType:"camera"},z:{valType:"number",dflt:r,editType:"camera"},editType:"camera"}}B.exports={_arrayAttrRegexps:[L("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:a(x(0,0,1),{}),center:a(x(0,0,0),{}),eye:a(x(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:E({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:p,yaxis:p,zaxis:p,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(B,O,e){var p=e(78614),E=["xaxis","yaxis","zaxis"];function a(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}var L=a.prototype;L.merge=function(d){for(var m=0;m<3;++m){var r=d[E[m]];if(!r.visible){this.enabled[m]=!1,this.drawSides[m]=!1;continue}this.enabled[m]=r.showspikes,this.colors[m]=p(r.spikecolor),this.drawSides[m]=r.spikesides,this.lineWidth[m]=r.spikethickness}};function x(d){var m=new a;return m.merge(d),m}B.exports=x},96085:function(B,O,e){B.exports=x;var p=e(89298),E=e(71828),a=["xaxis","yaxis","zaxis"];function L(d){for(var m=new Array(3),r=0;r<3;++r){for(var t=d[r],s=new Array(t.length),n=0;n/g," "));s[n]=b,f.tickmode=c}}m.ticks=s;for(var n=0;n<3;++n){.5*(d.glplot.bounds[0][n]+d.glplot.bounds[1][n]);for(var h=0;h<2;++h)m.bounds[h][n]=d.glplot.bounds[h][n]}d.contourLevels=L(s)}},63538:function(B){function O(p,E){var a=[0,0,0,0],L,x;for(L=0;L<4;++L)for(x=0;x<4;++x)a[x]+=p[4*L+x]*E[L];return a}function e(p,E){var a=O(p.projection,O(p.view,O(p.model,[E[0],E[1],E[2],1])));return a}B.exports=e},33539:function(B,O,e){var p=e(9330).gl_plot3d,E=p.createCamera,a=p.createScene,L=e(40372),x=e(38520),d=e(73972),m=e(71828),r=m.preserveDrawingBuffer(),t=e(89298),s=e(30211),n=e(78614),f=e(58617),c=e(63538),u=e(30422),b=e(13133),h=e(96085),S=e(71739).applyAutorangeOptions,v,l,g=!1;function C(F,G){var _=document.createElement("div"),H=F.container;this.graphDiv=F.graphDiv;var V=document.createElementNS("http://www.w3.org/2000/svg","svg");V.style.position="absolute",V.style.top=V.style.left="0px",V.style.width=V.style.height="100%",V.style["z-index"]=20,V.style["pointer-events"]="none",_.appendChild(V),this.svgContainer=V,_.id=F.id,_.style.position="absolute",_.style.top=_.style.left="0px",_.style.width=_.style.height="100%",H.appendChild(_),this.fullLayout=G,this.id=F.id||"scene",this.fullSceneLayout=G[this.id],this.plotArgs=[[],{},{}],this.axesOptions=u(G,G[this.id]),this.spikeOptions=b(G[this.id]),this.container=_,this.staticMode=!!F.staticPlot,this.pixelRatio=this.pixelRatio||F.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=d.getComponentMethod("annotations3d","convert"),this.drawAnnotations=d.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var M=C.prototype;M.prepareOptions=function(){var F=this,G={canvas:F.canvas,gl:F.gl,glOptions:{preserveDrawingBuffer:r,premultipliedAlpha:!0,antialias:!0},container:F.container,axes:F.axesOptions,spikes:F.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:F.camera,pixelRatio:F.pixelRatio};if(F.staticMode){if(!l&&(v=document.createElement("canvas"),l=L({canvas:v,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!l))throw new Error("error creating static canvas/context for image server");G.gl=l,G.canvas=v}return G};var D=!0;M.tryCreatePlot=function(){var F=this,G=F.prepareOptions(),_=!0;try{F.glplot=a(G)}catch{if(F.staticMode||!D||r)_=!1;else{m.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{r=G.glOptions.preserveDrawingBuffer=!0,F.glplot=a(G)}catch{r=G.glOptions.preserveDrawingBuffer=!1,_=!1}}}return D=!1,_},M.initializeGLCamera=function(){var F=this,G=F.fullSceneLayout.camera,_=G.projection.type==="orthographic";F.camera=E(F.container,{center:[G.center.x,G.center.y,G.center.z],eye:[G.eye.x,G.eye.y,G.eye.z],up:[G.up.x,G.up.y,G.up.z],_ortho:_,zoomMin:.01,zoomMax:100,mode:"orbit"})},M.initializeGLPlot=function(){var F=this;F.initializeGLCamera();var G=F.tryCreatePlot();if(!G)return f(F);F.traces={},F.make4thDimension();var _=F.graphDiv,H=_.layout,V=function(){var W={};return F.isCameraChanged(H)&&(W[F.id+".camera"]=F.getCamera()),F.isAspectChanged(H)&&(W[F.id+".aspectratio"]=F.glplot.getAspectratio(),H[F.id].aspectmode!=="manual"&&(F.fullSceneLayout.aspectmode=H[F.id].aspectmode=W[F.id+".aspectmode"]="manual")),W},N=function(W){if(W.fullSceneLayout.dragmode!==!1){var j=V();W.saveLayout(H),W.graphDiv.emit("plotly_relayout",j)}};return F.glplot.canvas&&(F.glplot.canvas.addEventListener("mouseup",function(){N(F)}),F.glplot.canvas.addEventListener("touchstart",function(){g=!0}),F.glplot.canvas.addEventListener("wheel",function(W){if(_._context._scrollZoom.gl3d){if(F.camera._ortho){var j=W.deltaX>W.deltaY?1.1:.9090909090909091,Q=F.glplot.getAspectratio();F.glplot.setAspectratio({x:j*Q.x,y:j*Q.y,z:j*Q.z})}N(F)}},x?{passive:!1}:!1),F.glplot.canvas.addEventListener("mousemove",function(){if(F.fullSceneLayout.dragmode!==!1&&F.camera.mouseListener.buttons!==0){var W=V();F.graphDiv.emit("plotly_relayouting",W)}}),F.staticMode||F.glplot.canvas.addEventListener("webglcontextlost",function(W){_&&_.emit&&_.emit("plotly_webglcontextlost",{event:W,layer:F.id})},!1)),F.glplot.oncontextloss=function(){F.recoverContext()},F.glplot.onrender=function(){F.render()},!0},M.render=function(){var F=this,G=F.graphDiv,_,H=F.svgContainer,V=F.container.getBoundingClientRect();G._fullLayout._calcInverseTransform(G);var N=G._fullLayout._invScaleX,W=G._fullLayout._invScaleY,j=V.width*N,Q=V.height*W;H.setAttributeNS(null,"viewBox","0 0 "+j+" "+Q),H.setAttributeNS(null,"width",j),H.setAttributeNS(null,"height",Q),h(F),F.glplot.axes.update(F.axesOptions);for(var ie=Object.keys(F.traces),ue=null,pe=F.glplot.selection,q=0;q")):_.type==="isosurface"||_.type==="volume"?(fe.valueLabel=t.hoverLabelText(F._mockAxis,F._mockAxis.d2l(pe.traceCoordinate[3]),_.valuehoverformat),me.push("value: "+fe.valueLabel),pe.textLabel&&me.push(pe.textLabel),le=me.join("
")):le=pe.textLabel;var we={x:pe.traceCoordinate[0],y:pe.traceCoordinate[1],z:pe.traceCoordinate[2],data:J._input,fullData:J,curveNumber:J.index,pointNumber:re};s.appendArrayPointValue(we,J,re),_._module.eventData&&(we=J._module.eventData(we,pe,J,{},re));var Se={points:[we]};if(F.fullSceneLayout.hovermode){var Ee=[];s.loneHover({trace:J,x:(.5+.5*K[0]/K[3])*j,y:(.5-.5*K[1]/K[3])*Q,xLabel:fe.xLabel,yLabel:fe.yLabel,zLabel:fe.zLabel,text:le,name:ue.name,color:s.castHoverOption(J,re,"bgcolor")||ue.color,borderColor:s.castHoverOption(J,re,"bordercolor"),fontFamily:s.castHoverOption(J,re,"font.family"),fontSize:s.castHoverOption(J,re,"font.size"),fontColor:s.castHoverOption(J,re,"font.color"),nameLength:s.castHoverOption(J,re,"namelength"),textAlign:s.castHoverOption(J,re,"align"),hovertemplate:m.castOption(J,re,"hovertemplate"),hovertemplateLabels:m.extendFlat({},we,fe),eventData:[we]},{container:H,gd:G,inOut_bbox:Ee}),we.bbox=Ee[0]}pe.distance<5&&(pe.buttons||g)?G.emit("plotly_click",Se):G.emit("plotly_hover",Se),this.oldEventData=Se}else s.loneUnhover(H),this.oldEventData&&G.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;F.drawAnnotations(F)},M.recoverContext=function(){var F=this;F.glplot.dispose();var G=function(){if(F.glplot.gl.isContextLost()){requestAnimationFrame(G);return}if(!F.initializeGLPlot()){m.error("Catastrophic and unrecoverable WebGL error. Context lost.");return}F.plot.apply(F,F.plotArgs)};requestAnimationFrame(G)};var T=["xaxis","yaxis","zaxis"];function P(F,G,_){for(var H=F.fullSceneLayout,V=0;V<3;V++){var N=T[V],W=N.charAt(0),j=H[N],Q=G[W],ie=G[W+"calendar"],ue=G["_"+W+"length"];if(!m.isArrayOrTypedArray(Q))_[0][V]=Math.min(_[0][V],0),_[1][V]=Math.max(_[1][V],ue-1);else for(var pe,q=0;q<(ue||Q.length);q++)if(m.isArrayOrTypedArray(Q[q]))for(var X=0;XJ[1][W])J[0][W]=-1,J[1][W]=1;else{var We=J[1][W]-J[0][W];J[0][W]-=We/32,J[1][W]+=We/32}if(fe=[J[0][W],J[1][W]],fe=S(fe,Q),J[0][W]=fe[0],J[1][W]=fe[1],Q.isReversed()){var Ye=J[0][W];J[0][W]=J[1][W],J[1][W]=Ye}}else fe=Q.range,J[0][W]=Q.r2l(fe[0]),J[1][W]=Q.r2l(fe[1]);J[0][W]===J[1][W]&&(J[0][W]-=1,J[1][W]+=1),Q.range=[J[0][W],J[1][W]],Q.limitRange(),H.glplot.setBounds(W,{min:Q.range[0]*X[W],max:Q.range[1]*X[W]})}var De,Te=ue.aspectmode;if(Te==="cube")De=[1,1,1];else if(Te==="manual"){var Re=ue.aspectratio;De=[Re.x,Re.y,Re.z]}else if(Te==="auto"||Te==="data"){var Xe=[1,1,1];for(W=0;W<3;++W){Q=ue[T[W]],ie=Q.type;var Je=re[ie];Xe[W]=Math.pow(Je.acc,1/Je.count)/X[W]}Te==="data"||Math.max.apply(null,Xe)/Math.min.apply(null,Xe)<=4?De=Xe:De=[1,1,1]}else throw new Error("scene.js aspectRatio was not one of the enumerated types");ue.aspectratio.x=pe.aspectratio.x=De[0],ue.aspectratio.y=pe.aspectratio.y=De[1],ue.aspectratio.z=pe.aspectratio.z=De[2],H.glplot.setAspectratio(ue.aspectratio),H.viewInitial.aspectratio||(H.viewInitial.aspectratio={x:ue.aspectratio.x,y:ue.aspectratio.y,z:ue.aspectratio.z}),H.viewInitial.aspectmode||(H.viewInitial.aspectmode=ue.aspectmode);var He=ue.domain||null,$e=G._size||null;if(He&&$e){var pt=H.container.style;pt.position="absolute",pt.left=$e.l+He.x[0]*$e.w+"px",pt.top=$e.t+(1-He.y[1])*$e.h+"px",pt.width=$e.w*(He.x[1]-He.x[0])+"px",pt.height=$e.h*(He.y[1]-He.y[0])+"px"}H.glplot.redraw()}},M.destroy=function(){var F=this;F.glplot&&(F.camera.mouseListener.enabled=!1,F.container.removeEventListener("wheel",F.camera.wheelListener),F.camera=null,F.glplot.dispose(),F.container.parentNode.removeChild(F.container),F.glplot=null)};function o(F){return[[F.eye.x,F.eye.y,F.eye.z],[F.center.x,F.center.y,F.center.z],[F.up.x,F.up.y,F.up.z]]}function k(F){return{up:{x:F.up[0],y:F.up[1],z:F.up[2]},center:{x:F.center[0],y:F.center[1],z:F.center[2]},eye:{x:F.eye[0],y:F.eye[1],z:F.eye[2]},projection:{type:F._ortho===!0?"orthographic":"perspective"}}}M.getCamera=function(){var F=this;return F.camera.view.recalcMatrix(F.camera.view.lastT()),k(F.camera)},M.setViewport=function(F){var G=this,_=F.camera;G.camera.lookAt.apply(this,o(_)),G.glplot.setAspectratio(F.aspectratio);var H=_.projection.type==="orthographic",V=G.camera._ortho;H!==V&&(G.glplot.redraw(),G.glplot.clearRGBA(),G.glplot.dispose(),G.initializeGLPlot())},M.isCameraChanged=function(F){var G=this,_=G.getCamera(),H=m.nestedProperty(F,G.id+".camera"),V=H.get();function N(ie,ue,pe,q){var X=["up","center","eye"],K=["x","y","z"];return ue[X[pe]]&&ie[X[pe]][K[q]]===ue[X[pe]][K[q]]}var W=!1;if(V===void 0)W=!0;else{for(var j=0;j<3;j++)for(var Q=0;Q<3;Q++)if(!N(_,V,j,Q)){W=!0;break}(!V.projection||_.projection&&_.projection.type!==V.projection.type)&&(W=!0)}return W},M.isAspectChanged=function(F){var G=this,_=G.glplot.getAspectratio(),H=m.nestedProperty(F,G.id+".aspectratio"),V=H.get();return V===void 0||V.x!==_.x||V.y!==_.y||V.z!==_.z},M.saveLayout=function(F){var G=this,_=G.fullLayout,H,V,N,W,j,Q,ie=G.isCameraChanged(F),ue=G.isAspectChanged(F),pe=ie||ue;if(pe){var q={};if(ie&&(H=G.getCamera(),V=m.nestedProperty(F,G.id+".camera"),N=V.get(),q[G.id+".camera"]=N),ue&&(W=G.glplot.getAspectratio(),j=m.nestedProperty(F,G.id+".aspectratio"),Q=j.get(),q[G.id+".aspectratio"]=Q),d.call("_storeDirectGUIEdit",F,_._preGUI,q),ie){V.set(H);var X=m.nestedProperty(_,G.id+".camera");X.set(H)}if(ue){j.set(W);var K=m.nestedProperty(_,G.id+".aspectratio");K.set(W),G.glplot.redraw()}}return pe},M.updateFx=function(F,G){var _=this,H=_.camera;if(H)if(F==="orbit")H.mode="orbit",H.keyBindingMode="rotate";else if(F==="turntable"){H.up=[0,0,1],H.mode="turntable",H.keyBindingMode="rotate";var V=_.graphDiv,N=V._fullLayout,W=_.fullSceneLayout.camera,j=W.up.x,Q=W.up.y,ie=W.up.z;if(ie/Math.sqrt(j*j+Q*Q+ie*ie)<.999){var ue=_.id+".camera.up",pe={x:0,y:0,z:1},q={};q[ue]=pe;var X=V.layout;d.call("_storeDirectGUIEdit",X,N._preGUI,q),W.up=pe,m.nestedProperty(X,ue).set(pe)}}else H.keyBindingMode=F;_.fullSceneLayout.hovermode=G};function w(F,G,_){for(var H=0,V=_-1;H0)for(var j=255/W,Q=0;Q<3;++Q)F[N+Q]=Math.min(j*F[N+Q],255)}}M.toImage=function(F){var G=this;F||(F="png"),G.staticMode&&G.container.appendChild(v),G.glplot.redraw();var _=G.glplot.gl,H=_.drawingBufferWidth,V=_.drawingBufferHeight;_.bindFramebuffer(_.FRAMEBUFFER,null);var N=new Uint8Array(H*V*4);_.readPixels(0,0,H,V,_.RGBA,_.UNSIGNED_BYTE,N),w(N,H,V),U(N,H,V);var W=document.createElement("canvas");W.width=H,W.height=V;var j=W.getContext("2d",{willReadFrequently:!0}),Q=j.createImageData(H,V);Q.data.set(N),j.putImageData(Q,0,0);var ie;switch(F){case"jpeg":ie=W.toDataURL("image/jpeg");break;case"webp":ie=W.toDataURL("image/webp");break;default:ie=W.toDataURL("image/png")}return G.staticMode&&G.container.removeChild(v),ie},M.setConvert=function(){for(var F=this,G=0;G<3;G++){var _=F.fullSceneLayout[T[G]];t.setConvert(_,F.fullLayout),_.setScale=m.noop}},M.make4thDimension=function(){var F=this,G=F.graphDiv,_=G._fullLayout;F._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},t.setConvert(F._mockAxis,_)},B.exports=C},90060:function(B){B.exports=function(e,p,E,a){a=a||e.length;for(var L=new Array(a),x=0;xOpenStreetMap contributors',L=['© Carto',a].join(" "),x=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),d=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),m={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:a,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:L,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:L,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:x,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:x,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:d,tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},r=p(m);B.exports={requiredVersion:E,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:m,styleValuesNonMapbox:r,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@"+E+"."].join(` -`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` -`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",r.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` -`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(B,O,e){var p=e(71828);B.exports=function(a,L){var x=a.split(" "),d=x[0],m=x[1],r=p.isArrayOrTypedArray(L)?p.mean(L):L,t=.5+r/100,s=1.5+r/100,n=["",""],f=[0,0];switch(d){case"top":n[0]="top",f[1]=-s;break;case"bottom":n[0]="bottom",f[1]=s;break}switch(m){case"left":n[1]="right",f[0]=-t;break;case"right":n[1]="left",f[0]=t;break}var c;return n[0]&&n[1]?c=n.join("-"):n[0]?c=n[0]:n[1]?c=n[1]:c="center",{anchor:c,offset:f}}},50101:function(B,O,e){var p=e(44517),E=e(71828),a=E.strTranslate,L=E.strScale,x=e(27659).AU,d=e(77922),m=e(39898),r=e(91424),t=e(63893),s=e(10481),n="mapbox",f=O.constants=e(77734);O.name=n,O.attr="subplot",O.idRoot=n,O.idRegex=O.attrRegex=E.counterRegex(n),O.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},O.layoutAttributes=e(23585),O.supplyLayoutDefaults=e(77882),O.plot=function(h){var S=h._fullLayout,v=h.calcdata,l=S._subplots[n];if(p.version!==f.requiredVersion)throw new Error(f.wrongVersionErrorMsg);var g=c(h,l);p.accessToken=g;for(var C=0;CG/2){var _=k.split("|").join("
");U.text(_).attr("data-unformatted",_).call(t.convertToTspans,b),F=r.bBox(U.node())}U.attr("transform",a(-3,-F.height+8)),w.insert("rect",".static-attribution").attr({x:-F.width-6,y:-F.height-3,width:F.width+6,height:F.height+3,fill:"rgba(255, 255, 255, 0.75)"});var H=1;F.width+6>G&&(H=G/(F.width+6));var V=[v.l+v.w*C.x[1],v.t+v.h*(1-C.y[0])];w.attr("transform",a(V[0],V[1])+L(H))}};function c(b,h){var S=b._fullLayout,v=b._context;if(v.mapboxAccessToken==="")return"";for(var l=[],g=[],C=!1,M=!1,D=0;D1&&E.warn(f.multipleTokensErrorMsg),l[0]):(g.length&&E.log(["Listed mapbox access token(s)",g.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}function u(b){return typeof b=="string"&&(f.styleValuesMapbox.indexOf(b)!==-1||b.indexOf("mapbox://")===0)}O.updateFx=function(b){for(var h=b._fullLayout,S=h._subplots[n],v=0;v0){for(var f=0;f0}function r(s){var n={},f={};switch(s.type){case"circle":p.extendFlat(f,{"circle-radius":s.circle.radius,"circle-color":s.color,"circle-opacity":s.opacity});break;case"line":p.extendFlat(f,{"line-width":s.line.width,"line-color":s.color,"line-opacity":s.opacity,"line-dasharray":s.line.dash});break;case"fill":p.extendFlat(f,{"fill-color":s.color,"fill-outline-color":s.fill.outlinecolor,"fill-opacity":s.opacity});break;case"symbol":var c=s.symbol,u=a(c.textposition,c.iconsize);p.extendFlat(n,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":u.anchor,"text-offset":u.offset,"symbol-placement":c.placement}),p.extendFlat(f,{"icon-color":s.color,"text-color":c.textfont.color,"text-opacity":s.opacity});break;case"raster":p.extendFlat(f,{"raster-fade-duration":0,"raster-opacity":s.opacity});break}return{layout:n,paint:f}}function t(s){var n=s.sourcetype,f=s.source,c={type:n},u;return n==="geojson"?u="data":n==="vector"?u=typeof f=="string"?"url":"tiles":n==="raster"?(u="tiles",c.tileSize=256):n==="image"&&(u="url",c.coordinates=s.coordinates),c[u]=f,s.sourceattribution&&(c.attribution=E(s.sourceattribution)),c}B.exports=function(n,f,c){var u=new x(n,f);return u.update(c),u}},23585:function(B,O,e){var p=e(71828),E=e(7901).defaultLine,a=e(27670).Y,L=e(41940),x=e(82196).textposition,d=e(30962).overrideAll,m=e(44467).templatedArray,r=e(77734),t=L({});t.family.dflt="Open Sans Regular, Arial Unicode MS Regular";var s=B.exports=d({_arrayAttrRegexps:[p.counterRegex("mapbox",".layers",!0)],domain:a({name:"mapbox"}),accesstoken:{valType:"string",noBlank:!0,strict:!0},style:{valType:"any",values:r.styleValuesMapbox.concat(r.styleValuesNonMapbox),dflt:r.styleValueDflt},center:{lon:{valType:"number",dflt:0},lat:{valType:"number",dflt:0}},zoom:{valType:"number",dflt:1},bearing:{valType:"number",dflt:0},pitch:{valType:"number",dflt:0},bounds:{west:{valType:"number"},east:{valType:"number"},south:{valType:"number"},north:{valType:"number"}},layers:m("layer",{visible:{valType:"boolean",dflt:!0},sourcetype:{valType:"enumerated",values:["geojson","vector","raster","image"],dflt:"geojson"},source:{valType:"any"},sourcelayer:{valType:"string",dflt:""},sourceattribution:{valType:"string"},type:{valType:"enumerated",values:["circle","line","fill","symbol","raster"],dflt:"circle"},coordinates:{valType:"any"},below:{valType:"string"},color:{valType:"color",dflt:E},opacity:{valType:"number",min:0,max:1,dflt:1},minzoom:{valType:"number",min:0,max:24,dflt:0},maxzoom:{valType:"number",min:0,max:24,dflt:24},circle:{radius:{valType:"number",dflt:15}},line:{width:{valType:"number",dflt:2},dash:{valType:"data_array"}},fill:{outlinecolor:{valType:"color",dflt:E}},symbol:{icon:{valType:"string",dflt:"marker"},iconsize:{valType:"number",dflt:10},text:{valType:"string",dflt:""},placement:{valType:"enumerated",values:["point","line","line-center"],dflt:"point"},textfont:t,textposition:p.extendFlat({},x,{arrayOk:!1})}})},"plot","from-root");s.uirevision={valType:"any",editType:"none"}},77882:function(B,O,e){var p=e(71828),E=e(49119),a=e(85501),L=e(23585);B.exports=function(r,t,s){E(r,t,s,{type:"mapbox",attributes:L,handleDefaults:x,partition:"y",accessToken:t._mapboxAccessToken})};function x(m,r,t,s){t("accesstoken",s.accessToken),t("style"),t("center.lon"),t("center.lat"),t("zoom"),t("bearing"),t("pitch");var n=t("bounds.west"),f=t("bounds.east"),c=t("bounds.south"),u=t("bounds.north");(n===void 0||f===void 0||c===void 0||u===void 0)&&delete r.bounds,a(m,r,{name:"layers",handleItemDefaults:d}),r._input=m}function d(m,r){function t(b,h){return p.coerce(m,r,L.layers,b,h)}var s=t("visible");if(s){var n=t("sourcetype"),f=n==="raster"||n==="image";t("source"),t("sourceattribution"),n==="vector"&&t("sourcelayer"),n==="image"&&t("coordinates");var c;f&&(c="raster");var u=t("type",c);f&&u!=="raster"&&(u=r.type="raster",p.log("Source types *raster* and *image* must drawn *raster* layer type.")),t("below"),t("color"),t("opacity"),t("minzoom"),t("maxzoom"),u==="circle"&&t("circle.radius"),u==="line"&&(t("line.width"),t("line.dash")),u==="fill"&&t("fill.outlinecolor"),u==="symbol"&&(t("symbol.icon"),t("symbol.iconsize"),t("symbol.text"),p.coerceFont(t,"symbol.textfont"),t("symbol.textposition"),t("symbol.placement"))}}},10481:function(B,O,e){var p=e(44517),E=e(71828),a=e(41327),L=e(73972),x=e(89298),d=e(28569),m=e(30211),r=e(64505),t=r.drawMode,s=r.selectMode,n=e(47322).prepSelect,f=e(47322).clearOutline,c=e(47322).clearSelectionsCache,u=e(47322).selectOnClick,b=e(77734),h=e(67911);function S(D,T){this.id=T,this.gd=D;var P=D._fullLayout,A=D._context;this.container=P._glcontainer.node(),this.isStatic=A.staticPlot,this.uid=P._uid+"-"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(P),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var v=S.prototype;v.plot=function(D,T,P){var A=this,o=T[A.id];A.map&&o.accesstoken!==A.accessToken&&(A.map.remove(),A.map=null,A.styleObj=null,A.traceHash={},A.layerList=[]);var k;A.map?k=new Promise(function(w,U){A.updateMap(D,T,w,U)}):k=new Promise(function(w,U){A.createMap(D,T,w,U)}),P.push(k)},v.createMap=function(D,T,P,A){var o=this,k=T[o.id],w=o.styleObj=g(k.style);o.accessToken=k.accesstoken;var U=k.bounds,F=U?[[U.west,U.south],[U.east,U.north]]:null,G=o.map=new p.Map({container:o.div,style:w.style,center:M(k.center),zoom:k.zoom,bearing:k.bearing,pitch:k.pitch,maxBounds:F,interactive:!o.isStatic,preserveDrawingBuffer:o.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new p.AttributionControl({compact:!0}));G._canvas.style.left="0px",G._canvas.style.top="0px",o.rejectOnError(A),o.isStatic||o.initFx(D,T);var _=[];_.push(new Promise(function(H){G.once("load",H)})),_=_.concat(a.fetchTraceGeoData(D)),Promise.all(_).then(function(){o.fillBelowLookup(D,T),o.updateData(D),o.updateLayout(T),o.resolveOnRender(P)}).catch(A)},v.updateMap=function(D,T,P,A){var o=this,k=o.map,w=T[this.id];o.rejectOnError(A);var U=[],F=g(w.style);JSON.stringify(o.styleObj)!==JSON.stringify(F)&&(o.styleObj=F,k.setStyle(F.style),o.traceHash={},U.push(new Promise(function(G){k.once("styledata",G)}))),U=U.concat(a.fetchTraceGeoData(D)),Promise.all(U).then(function(){o.fillBelowLookup(D,T),o.updateData(D),o.updateLayout(T),o.resolveOnRender(P)}).catch(A)},v.fillBelowLookup=function(D,T){var P=T[this.id],A=P.layers,o,k,w=this.belowLookup={},U=!1;for(o=0;o1)for(o=0;o-1&&u(F.originalEvent,A,[P.xaxis],[P.yaxis],P.id,U),G.indexOf("event")>-1&&m.click(A,F.originalEvent)}}},v.updateFx=function(D){var T=this,P=T.map,A=T.gd;if(T.isStatic)return;function o(F){var G=T.map.unproject(F);return[G.lng,G.lat]}var k=D.dragmode,w;w=function(F,G){if(G.isRect){var _=F.range={};_[T.id]=[o([G.xmin,G.ymin]),o([G.xmax,G.ymax])]}else{var H=F.lassoPoints={};H[T.id]=G.map(o)}};var U=T.dragOptions;T.dragOptions=E.extendDeep(U||{},{dragmode:D.dragmode,element:T.div,gd:A,plotinfo:{id:T.id,domain:D[T.id].domain,xaxis:T.xaxis,yaxis:T.yaxis,fillRangeItems:w},xaxes:[T.xaxis],yaxes:[T.yaxis],subplot:T.id}),P.off("click",T.onClickInPanHandler),s(k)||t(k)?(P.dragPan.disable(),P.on("zoomstart",T.clearOutline),T.dragOptions.prepFn=function(F,G,_){n(F,G,_,T.dragOptions,k)},d.init(T.dragOptions)):(P.dragPan.enable(),P.off("zoomstart",T.clearOutline),T.div.onmousedown=null,T.div.ontouchstart=null,T.div.removeEventListener("touchstart",T.div._ontouchstart),T.onClickInPanHandler=T.onClickInPanFn(T.dragOptions),P.on("click",T.onClickInPanHandler))},v.updateFramework=function(D){var T=D[this.id].domain,P=D._size,A=this.div.style;A.width=P.w*(T.x[1]-T.x[0])+"px",A.height=P.h*(T.y[1]-T.y[0])+"px",A.left=P.l+T.x[0]*P.w+"px",A.top=P.t+(1-T.y[1])*P.h+"px",this.xaxis._offset=P.l+T.x[0]*P.w,this.xaxis._length=P.w*(T.x[1]-T.x[0]),this.yaxis._offset=P.t+(1-T.y[1])*P.h,this.yaxis._length=P.h*(T.y[1]-T.y[0])},v.updateLayers=function(D){var T=D[this.id],P=T.layers,A=this.layerList,o;if(P.length!==A.length){for(o=0;o=J.width-20?(te["text-anchor"]="start",te.x=5):(te["text-anchor"]="end",te.x=J._paper.attr("width")-7),re.attr(te);var ee=re.select(".js-link-to-tool"),ce=re.select(".js-link-spacer"),le=re.select(".js-sourcelinks");K._context.showSources&&K._context.showSources(K),K._context.showLink&&M(K,ee),ce.text(ee.text()&&le.text()?" - ":"")}};function M(K,J){J.text("");var re=J.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(K._context.linkText+" "+String.fromCharCode(187));if(K._context.sendData)re.on("click",function(){l.sendDataToCloud(K)});else{var fe=window.location.pathname.split("/"),te=window.location.search;re.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+fe[2].split(".")[0]+"/"+fe[1]+te})}}l.sendDataToCloud=function(K){var J=(window.PLOTLYENV||{}).BASE_URL||K._context.plotlyServerURL;if(J){K.emit("plotly_beforeexport");var re=p.select(K).append("div").attr("id","hiddenform").style("display","none"),fe=re.append("form").attr({action:J+"/external",method:"post",target:"_blank"}),te=fe.append("input").attr({type:"text",name:"data"});return te.node().value=l.graphJson(K,!1,"keepdata"),fe.node().submit(),re.remove(),K.emit("plotly_afterexport"),!1}};var D=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],T=["year","month","dayMonth","dayMonthYear"];l.supplyDefaults=function(K,J){var re=J&&J.skipUpdateCalc,fe=K._fullLayout||{};if(fe._skipDefaults){delete fe._skipDefaults;return}var te=K._fullLayout={},ee=K.layout||{},ce=K._fullData||[],le=K._fullData=[],me=K.data||[],we=K.calcdata||[],Se=K._context||{},Ee;K._transitionData||l.createTransitionData(K),te._dfltTitle={plot:v(K,"Click to enter Plot title"),x:v(K,"Click to enter X axis title"),y:v(K,"Click to enter Y axis title"),colorbar:v(K,"Click to enter Colorscale title"),annotation:v(K,"new text")},te._traceWord=v(K,"trace");var We=o(K,D);if(te._mapboxAccessToken=Se.mapboxAccessToken,fe._initialAutoSizeIsDone){var Ye=fe.width,De=fe.height;l.supplyLayoutGlobalDefaults(ee,te,We),ee.width||(te.width=Ye),ee.height||(te.height=De),l.sanitizeMargins(te)}else{l.supplyLayoutGlobalDefaults(ee,te,We);var Te=!ee.width||!ee.height,Re=te.autosize,Xe=Se.autosizable,Je=Te&&(Re||Xe);Je?l.plotAutoSize(K,ee,te):Te&&l.sanitizeMargins(te),!Re&&Te&&(ee.width=te.width,ee.height=te.height)}te._d3locale=k(We,te.separators),te._extraFormat=o(K,T),te._initialAutoSizeIsDone=!0,te._dataLength=me.length,te._modules=[],te._visibleModules=[],te._basePlotModules=[];var He=te._subplots=A(),$e=te._splomAxes={x:{},y:{}},pt=te._splomSubplots={};te._splomGridDflt={},te._scatterStackOpts={},te._firstScatter={},te._alignmentOpts={},te._colorAxes={},te._requestRangeslider={},te._traceUids=P(ce,me),te._globalTransforms=(K._context||{}).globalTransforms,l.supplyDataDefaults(me,le,ee,te);var ut=Object.keys($e.x),lt=Object.keys($e.y);if(ut.length>1&<.length>1){for(x.getComponentMethod("grid","sizeDefaults")(ee,te),Ee=0;Ee15&<.length>15&&te.shapes.length===0&&te.images.length===0,l.linkSubplots(le,te,ce,fe),l.cleanPlot(le,te,ce,fe);var vt=!!(fe._has&&fe._has("gl2d")),Bt=!!(te._has&&te._has("gl2d")),Yt=!!(fe._has&&fe._has("cartesian")),it=!!(te._has&&te._has("cartesian")),Ue=Yt||vt,_e=it||Bt;Ue&&!_e?fe._bgLayer.remove():_e&&!Ue&&(te._shouldCreateBgLayer=!0),fe._zoomlayer&&!K._dragging&&f({_fullLayout:fe}),w(le,te),S(te,fe),x.getComponentMethod("colorscale","crossTraceDefaults")(le,te),te._preGUI||(te._preGUI={}),te._tracePreGUI||(te._tracePreGUI={});var Ze=te._tracePreGUI,Fe={},Ce;for(Ce in Ze)Fe[Ce]="old";for(Ee=0;Ee0){var Se=1-2*ee;ce=Math.round(Se*ce),le=Math.round(Se*le)}}var Ee=l.layoutAttributes.width.min,We=l.layoutAttributes.height.min;ce1,De=!re.height&&Math.abs(fe.height-le)>1;(De||Ye)&&(Ye&&(fe.width=ce),De&&(fe.height=le)),J._initialAutoSize||(J._initialAutoSize={width:ce,height:le}),l.sanitizeMargins(fe)},l.supplyLayoutModuleDefaults=function(K,J,re,fe){var te=x.componentsRegistry,ee=J._basePlotModules,ce,le,me,we=x.subplotsRegistry.cartesian;for(ce in te)me=te[ce],me.includeBasePlot&&me.includeBasePlot(K,J);ee.length||ee.push(we),J._has("cartesian")&&(x.getComponentMethod("grid","contentDefaults")(K,J),we.finalizeSubplots(K,J));for(var Se in J._subplots)J._subplots[Se].sort(r.subplotSort);for(le=0;le1&&(re.l/=Re,re.r/=Re)}if(We){var Xe=(re.t+re.b)/We;Xe>1&&(re.t/=Xe,re.b/=Xe)}var Je=re.xl!==void 0?re.xl:re.x,He=re.xr!==void 0?re.xr:re.x,$e=re.yt!==void 0?re.yt:re.y,pt=re.yb!==void 0?re.yb:re.y;Ye[J]={l:{val:Je,size:re.l+Te},r:{val:He,size:re.r+Te},b:{val:pt,size:re.b+Te},t:{val:$e,size:re.t+Te}},De[J]=1}if(!fe._replotting)return l.doAutoMargin(K)}};function W(K){if("_redrawFromAutoMarginCount"in K._fullLayout)return!1;var J=n.list(K,"",!0);for(var re in J)if(J[re].autoshift||J[re].shift)return!0;return!1}l.doAutoMargin=function(K){var J=K._fullLayout,re=J.width,fe=J.height;J._size||(J._size={}),H(J);var te=J._size,ee=J.margin,ce={t:0,b:0,l:0,r:0},le=r.extendFlat({},te),me=ee.l,we=ee.r,Se=ee.t,Ee=ee.b,We=J._pushmargin,Ye=J._pushmarginIds,De=J.minreducedwidth,Te=J.minreducedheight;if(ee.autoexpand!==!1){for(var Re in We)Ye[Re]||delete We[Re];var Xe=K._fullLayout._reservedMargin;for(var Je in Xe)for(var He in Xe[Je]){var $e=Xe[Je][He];ce[He]=Math.max(ce[He],$e)}We.base={l:{val:0,size:me},r:{val:1,size:we},t:{val:1,size:Se},b:{val:0,size:Ee}};for(var pt in ce){var ut=0;for(var lt in We)lt!=="base"&&L(We[lt][pt].size)&&(ut=We[lt][pt].size>ut?We[lt][pt].size:ut);var ke=Math.max(0,ee[pt]-ut);ce[pt]=Math.max(0,ce[pt]-ke)}for(var Ne in We){var gt=We[Ne].l||{},qe=We[Ne].b||{},vt=gt.val,Bt=gt.size,Yt=qe.val,it=qe.size,Ue=re-ce.r-ce.l,_e=fe-ce.t-ce.b;for(var Ze in We){if(L(Bt)&&We[Ze].r){var Fe=We[Ze].r.val,Ce=We[Ze].r.size;if(Fe>vt){var ve=(Bt*Fe+(Ce-Ue)*vt)/(Fe-vt),Ie=(Ce*(1-vt)+(Bt-Ue)*(1-Fe))/(Fe-vt);ve+Ie>me+we&&(me=ve,we=Ie)}}if(L(it)&&We[Ze].t){var Ae=We[Ze].t.val,je=We[Ze].t.size;if(Ae>Yt){var ot=(it*Ae+(je-_e)*Yt)/(Ae-Yt),ct=(je*(1-Yt)+(it-_e)*(1-Ae))/(Ae-Yt);ot+ct>Ee+Se&&(Ee=ot,Se=ct)}}}}}var Et=r.constrain(re-ee.l-ee.r,V,De),kt=r.constrain(fe-ee.t-ee.b,N,Te),nr=Math.max(0,re-Et),dr=Math.max(0,fe-kt);if(nr){var Dt=(me+we)/nr;Dt>1&&(me/=Dt,we/=Dt)}if(dr){var $t=(Ee+Se)/dr;$t>1&&(Ee/=$t,Se/=$t)}if(te.l=Math.round(me)+ce.l,te.r=Math.round(we)+ce.r,te.t=Math.round(Se)+ce.t,te.b=Math.round(Ee)+ce.b,te.p=Math.round(ee.pad),te.w=Math.round(re)-te.l-te.r,te.h=Math.round(fe)-te.t-te.b,!J._replotting&&(l.didMarginChange(le,te)||W(K))){"_redrawFromAutoMarginCount"in J?J._redrawFromAutoMarginCount++:J._redrawFromAutoMarginCount=1;var vr=3*(1+Object.keys(Ye).length);if(J._redrawFromAutoMarginCount1)return!0}return!1},l.graphJson=function(K,J,re,fe,te,ee){(te&&J&&!K._fullData||te&&!J&&!K._fullLayout)&&l.supplyDefaults(K);var ce=te?K._fullData:K.data,le=te?K._fullLayout:K.layout,me=(K._transitionData||{})._frames;function we(We,Ye){if(typeof We=="function")return Ye?"_function_":null;if(r.isPlainObject(We)){var De={},Te;return Object.keys(We).sort().forEach(function(Re){if(["_","["].indexOf(Re.charAt(0))===-1){if(typeof We[Re]=="function"){Ye&&(De[Re]="_function");return}if(re==="keepdata"){if(Re.substr(Re.length-3)==="src")return}else if(re==="keepstream"){if(Te=We[Re+"src"],typeof Te=="string"&&Te.indexOf(":")>0&&!r.isPlainObject(We.stream))return}else if(re!=="keepall"&&(Te=We[Re+"src"],typeof Te=="string"&&Te.indexOf(":")>0))return;De[Re]=we(We[Re],Ye)}}),De}return Array.isArray(We)?We.map(function(Re){return we(Re,Ye)}):r.isTypedArray(We)?r.simpleMap(We,r.identity):r.isJSDate(We)?r.ms2DateTimeLocal(+We):We}var Se={data:(ce||[]).map(function(We){var Ye=we(We);return J&&delete Ye.fit,Ye})};if(!J&&(Se.layout=we(le),te)){var Ee=le._size;Se.layout.computed={margin:{b:Ee.b,l:Ee.l,r:Ee.r,t:Ee.t}}}return me&&(Se.frames=we(me)),ee&&(Se.config=we(K._context,!0)),fe==="object"?Se:JSON.stringify(Se)},l.modifyFrames=function(K,J){var re,fe,te,ee=K._transitionData._frames,ce=K._transitionData._frameHash;for(re=0;re0&&(K._transitioningWithDuration=!0),K._transitionData._interruptCallbacks.push(function(){fe=!0}),re.redraw&&K._transitionData._interruptCallbacks.push(function(){return x.call("redraw",K)}),K._transitionData._interruptCallbacks.push(function(){K.emit("plotly_transitioninterrupted",[])});var We=0,Ye=0;function De(){return We++,function(){Ye++,!fe&&Ye===We&&le(Ee)}}re.runFn(De),setTimeout(De())})}function le(Ee){if(K._transitionData)return ee(K._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(re.redraw)return x.call("redraw",K)}).then(function(){K._transitioning=!1,K._transitioningWithDuration=!1,K.emit("plotly_transitioned",[])}).then(Ee)}function me(){if(K._transitionData)return K._transitioning=!1,te(K._transitionData._interruptCallbacks)}var we=[l.previousPromises,me,re.prepareFn,l.rehover,l.reselect,ce],Se=r.syncOrAsync(we,K);return(!Se||!Se.then)&&(Se=Promise.resolve()),Se.then(function(){return K})}l.doCalcdata=function(K,J){var re=n.list(K),fe=K._fullData,te=K._fullLayout,ee,ce,le,me,we=new Array(fe.length),Se=(K.calcdata||[]).slice();for(K.calcdata=we,te._numBoxes=0,te._numViolins=0,te._violinScaleGroupStats={},K._hmpixcount=0,K._hmlumcount=0,te._piecolormap={},te._sunburstcolormap={},te._treemapcolormap={},te._iciclecolormap={},te._funnelareacolormap={},le=0;le=0;me--)if(pt[me].enabled){ee._indexToPoints=pt[me]._indexToPoints;break}ce&&ce.calc&&($e=ce.calc(K,ee))}(!Array.isArray($e)||!$e[0])&&($e=[{x:s,y:s}]),$e[0].t||($e[0].t={}),$e[0].trace=ee,we[Je]=$e}}for(q(re,fe,te),le=0;le0?P:1/0},M=a(g,C),D=p.mod(M+1,g.length);return[g[M],g[D]]}function b(l){return Math.abs(l)>1e-10?l:0}function h(l,g,C){g=g||0,C=C||0;for(var M=l.length,D=new Array(M),T=0;TYe?(De=ce,Te=ce*Ye,Je=(le-Te)/J.h/2,Re=[te[0],te[1]],Xe=[ee[0]+Je,ee[1]-Je]):(De=le/Ye,Te=le,Je=(ce-De)/J.w/2,Re=[te[0]+Je,te[1]-Je],Xe=[ee[0],ee[1]]),X.xLength2=De,X.yLength2=Te,X.xDomain2=Re,X.yDomain2=Xe;var He=X.xOffset2=J.l+J.w*Re[0],$e=X.yOffset2=J.t+J.h*(1-Xe[1]),pt=X.radius=De/Se,ut=X.innerRadius=X.getHole(q)*pt,lt=X.cx=He-pt*we[0],ke=X.cy=$e+pt*we[3],Ne=X.cxx=lt-He,gt=X.cyy=ke-$e,qe=re.side,vt;qe==="counterclockwise"?(vt=qe,qe="top"):qe==="clockwise"&&(vt=qe,qe="bottom"),X.radialAxis=X.mockAxis(pe,q,re,{_id:"x",side:qe,_trueSide:vt,domain:[ut/J.w,pt/J.w]}),X.angularAxis=X.mockAxis(pe,q,fe,{side:"right",domain:[0,Math.PI],autorange:!1}),X.doAutoRange(pe,q),X.updateAngularAxis(pe,q),X.updateRadialAxis(pe,q),X.updateRadialAxisTitle(pe,q),X.xaxis=X.mockCartesianAxis(pe,q,{_id:"x",domain:Re}),X.yaxis=X.mockCartesianAxis(pe,q,{_id:"y",domain:Xe});var Bt=X.pathSubplot();X.clipPaths.forTraces.select("path").attr("d",Bt).attr("transform",d(Ne,gt)),K.frontplot.attr("transform",d(He,$e)).call(r.setClipUrl,X._hasClipOnAxisFalse?null:X.clipIds.forTraces,X.gd),K.bg.attr("d",Bt).attr("transform",d(lt,ke)).call(m.fill,q.bgcolor)},W.mockAxis=function(pe,q,X,K){var J=L.extendFlat({},X,K);return f(J,q,pe),J},W.mockCartesianAxis=function(pe,q,X){var K=this,J=K.isSmith,re=X._id,fe=L.extendFlat({type:"linear"},X);n(fe,pe);var te={x:[0,2],y:[1,3]};return fe.setRange=function(){var ee=K.sectorBBox,ce=te[re],le=K.radialAxis._rl,me=(le[1]-le[0])/(1-K.getHole(q));fe.range=[ee[ce[0]]*me,ee[ce[1]]*me]},fe.isPtWithinRange=re==="x"&&!J?function(ee){return K.isPtInside(ee)}:function(){return!0},fe.setRange(),fe.setScale(),fe},W.doAutoRange=function(pe,q){var X=this,K=X.gd,J=X.radialAxis,re=X.getRadial(q);c(K,J);var fe=J.range;re.range=fe.slice(),re._input.range=fe.slice(),J._rl=[J.r2l(fe[0],null,"gregorian"),J.r2l(fe[1],null,"gregorian")]},W.updateRadialAxis=function(pe,q){var X=this,K=X.gd,J=X.layers,re=X.radius,fe=X.innerRadius,te=X.cx,ee=X.cy,ce=X.getRadial(q),le=_(X.getSector(q)[0],360),me=X.radialAxis,we=fe90&&le<=270&&(me.tickangle=180);var Ee=Se?function(pt){var ut=F(X,k([pt.x,0]));return d(ut[0]-te,ut[1]-ee)}:function(pt){return d(me.l2p(pt.x)+fe,0)},We=Se?function(pt){return U(X,pt.x,-1/0,1/0)}:function(pt){return X.pathArc(me.r2p(pt.x)+fe)},Ye=j(ce);if(X.radialTickLayout!==Ye&&(J["radial-axis"].selectAll(".xtick").remove(),X.radialTickLayout=Ye),we){me.setScale();var De=0,Te=Se?(me.tickvals||[]).filter(function(pt){return pt>=0}).map(function(pt){return s.tickText(me,pt,!0,!1)}):s.calcTicks(me),Re=Se?Te:s.clipEnds(me,Te),Xe=s.getTickSigns(me)[2];Se&&((me.ticks==="top"&&me.side==="bottom"||me.ticks==="bottom"&&me.side==="top")&&(Xe=-Xe),me.ticks==="top"&&me.side==="top"&&(De=-me.ticklen),me.ticks==="bottom"&&me.side==="bottom"&&(De=me.ticklen)),s.drawTicks(K,me,{vals:Te,layer:J["radial-axis"],path:s.makeTickPath(me,0,Xe),transFn:Ee,crisp:!1}),s.drawGrid(K,me,{vals:Re,layer:J["radial-grid"],path:We,transFn:L.noop,crisp:!1}),s.drawLabels(K,me,{vals:Te,layer:J["radial-axis"],transFn:Ee,labelFns:s.makeLabelFns(me,De)})}var Je=X.radialAxisAngle=X.vangles?V(ie(H(ce.angle),X.vangles)):ce.angle,He=d(te,ee),$e=He+x(-Je);ue(J["radial-axis"],we&&(ce.showticklabels||ce.ticks),{transform:$e}),ue(J["radial-grid"],we&&ce.showgrid,{transform:Se?"":He}),ue(J["radial-line"].select("line"),we&&ce.showline,{x1:Se?-re:fe,y1:0,x2:re,y2:0,transform:$e}).attr("stroke-width",ce.linewidth).call(m.stroke,ce.linecolor)},W.updateRadialAxisTitle=function(pe,q,X){if(!this.isSmith){var K=this,J=K.gd,re=K.radius,fe=K.cx,te=K.cy,ee=K.getRadial(q),ce=K.id+"title",le=0;if(ee.title){var me=r.bBox(K.layers["radial-axis"].node()).height,we=ee.title.font.size,Se=ee.side;le=Se==="top"?we:Se==="counterclockwise"?-(me+we*.4):me+we*.8}var Ee=X!==void 0?X:K.radialAxisAngle,We=H(Ee),Ye=Math.cos(We),De=Math.sin(We),Te=fe+re/2*Ye+le*De,Re=te-re/2*De+le*Ye;K.layers["radial-axis-title"]=S.draw(J,ce,{propContainer:ee,propName:K.id+".radialaxis.title",placeholder:G(J,"Click to enter radial axis title"),attributes:{x:Te,y:Re,"text-anchor":"middle"},transform:{rotate:-Ee}})}},W.updateAngularAxis=function(pe,q){var X=this,K=X.gd,J=X.layers,re=X.radius,fe=X.innerRadius,te=X.cx,ee=X.cy,ce=X.getAngular(q),le=X.angularAxis,me=X.isSmith;me||(X.fillViewInitialKey("angularaxis.rotation",ce.rotation),le.setGeometry(),le.setScale());var we=me?function(ut){var lt=F(X,k([0,ut.x]));return Math.atan2(lt[0]-te,lt[1]-ee)-Math.PI/2}:function(ut){return le.t2g(ut.x)};le.type==="linear"&&le.thetaunit==="radians"&&(le.tick0=V(le.tick0),le.dtick=V(le.dtick));var Se=function(ut){return d(te+re*Math.cos(ut),ee-re*Math.sin(ut))},Ee=me?function(ut){var lt=F(X,k([0,ut.x]));return d(lt[0],lt[1])}:function(ut){return Se(we(ut))},We=me?function(ut){var lt=F(X,k([0,ut.x])),ke=Math.atan2(lt[0]-te,lt[1]-ee)-Math.PI/2;return d(lt[0],lt[1])+x(-V(ke))}:function(ut){var lt=we(ut);return Se(lt)+x(-V(lt))},Ye=me?function(ut){return w(X,ut.x,0,1/0)}:function(ut){var lt=we(ut),ke=Math.cos(lt),Ne=Math.sin(lt);return"M"+[te+fe*ke,ee-fe*Ne]+"L"+[te+re*ke,ee-re*Ne]},De=s.makeLabelFns(le,0),Te=De.labelStandoff,Re={};Re.xFn=function(ut){var lt=we(ut);return Math.cos(lt)*Te},Re.yFn=function(ut){var lt=we(ut),ke=Math.sin(lt)>0?.2:1;return-Math.sin(lt)*(Te+ut.fontSize*ke)+Math.abs(Math.cos(lt))*(ut.fontSize*T)},Re.anchorFn=function(ut){var lt=we(ut),ke=Math.cos(lt);return Math.abs(ke)<.1?"middle":ke>0?"start":"end"},Re.heightFn=function(ut,lt,ke){var Ne=we(ut);return-.5*(1+Math.sin(Ne))*ke};var Xe=j(ce);X.angularTickLayout!==Xe&&(J["angular-axis"].selectAll("."+le._id+"tick").remove(),X.angularTickLayout=Xe);var Je=me?[1/0].concat(le.tickvals||[]).map(function(ut){return s.tickText(le,ut,!0,!1)}):s.calcTicks(le);me&&(Je[0].text="∞",Je[0].fontSize*=1.75);var He;if(q.gridshape==="linear"?(He=Je.map(we),L.angleDelta(He[0],He[1])<0&&(He=He.slice().reverse())):He=null,X.vangles=He,le.type==="category"&&(Je=Je.filter(function(ut){return L.isAngleInsideSector(we(ut),X.sectorInRad)})),le.visible){var $e=le.ticks==="inside"?-1:1,pt=(le.linewidth||1)/2;s.drawTicks(K,le,{vals:Je,layer:J["angular-axis"],path:"M"+$e*pt+",0h"+$e*le.ticklen,transFn:We,crisp:!1}),s.drawGrid(K,le,{vals:Je,layer:J["angular-grid"],path:Ye,transFn:L.noop,crisp:!1}),s.drawLabels(K,le,{vals:Je,layer:J["angular-axis"],repositionOnUpdate:!0,transFn:Ee,labelFns:Re})}ue(J["angular-line"].select("path"),ce.showline,{d:X.pathSubplot(),transform:d(te,ee)}).attr("stroke-width",ce.linewidth).call(m.stroke,ce.linecolor)},W.updateFx=function(pe,q){if(!this.gd._context.staticPlot){var X=!this.isSmith;X&&(this.updateAngularDrag(pe),this.updateRadialDrag(pe,q,0),this.updateRadialDrag(pe,q,1)),this.updateHoverAndMainDrag(pe)}},W.updateHoverAndMainDrag=function(pe){var q=this,X=q.isSmith,K=q.gd,J=q.layers,re=pe._zoomlayer,fe=P.MINZOOM,te=P.OFFEDGE,ee=q.radius,ce=q.innerRadius,le=q.cx,me=q.cy,we=q.cxx,Se=q.cyy,Ee=q.sectorInRad,We=q.vangles,Ye=q.radialAxis,De=A.clampTiny,Te=A.findXYatLength,Re=A.findEnclosingVertexAngles,Xe=P.cornerHalfWidth,Je=P.cornerLen/2,He,$e,pt=u.makeDragger(J,"path","maindrag",pe.dragmode===!1?"none":"crosshair");p.select(pt).attr("d",q.pathSubplot()).attr("transform",d(le,me)),pt.onmousemove=function(Dt){h.hover(K,Dt,q.id),K._fullLayout._lasthover=pt,K._fullLayout._hoversubplot=q.id},pt.onmouseout=function(Dt){K._dragging||b.unhover(K,Dt)};var ut={element:pt,gd:K,subplot:q.id,plotinfo:{id:q.id,xaxis:q.xaxis,yaxis:q.yaxis},xaxes:[q.xaxis],yaxes:[q.yaxis]},lt,ke,Ne,gt,qe,vt,Bt,Yt,it;function Ue(Dt,$t){return Math.sqrt(Dt*Dt+$t*$t)}function _e(Dt,$t){return Ue(Dt-we,$t-Se)}function Ze(Dt,$t){return Math.atan2(Se-$t,Dt-we)}function Fe(Dt,$t){return[Dt*Math.cos($t),Dt*Math.sin(-$t)]}function Ce(Dt,$t){if(Dt===0)return q.pathSector(2*Xe);var vr=Je/Dt,Pr=$t-vr,Ct=$t+vr,ir=Math.max(0,Math.min(Dt,ee)),cr=ir-Xe,Or=ir+Xe;return"M"+Fe(cr,Pr)+"A"+[cr,cr]+" 0,0,0 "+Fe(cr,Ct)+"L"+Fe(Or,Ct)+"A"+[Or,Or]+" 0,0,1 "+Fe(Or,Pr)+"Z"}function ve(Dt,$t,vr){if(Dt===0)return q.pathSector(2*Xe);var Pr=Fe(Dt,$t),Ct=Fe(Dt,vr),ir=De((Pr[0]+Ct[0])/2),cr=De((Pr[1]+Ct[1])/2),Or,kr;if(ir&&cr){var Mt=cr/ir,yt=-1/Mt,Rt=Te(Xe,Mt,ir,cr);Or=Te(Je,yt,Rt[0][0],Rt[0][1]),kr=Te(Je,yt,Rt[1][0],Rt[1][1])}else{var wt,Ut;cr?(wt=Je,Ut=Xe):(wt=Xe,Ut=Je),Or=[[ir-wt,cr-Ut],[ir+wt,cr-Ut]],kr=[[ir-wt,cr+Ut],[ir+wt,cr+Ut]]}return"M"+Or.join("L")+"L"+kr.reverse().join("L")+"Z"}function Ie(){Ne=null,gt=null,qe=q.pathSubplot(),vt=!1;var Dt=K._fullLayout[q.id];Bt=E(Dt.bgcolor).getLuminance(),Yt=u.makeZoombox(re,Bt,le,me,qe),Yt.attr("fill-rule","evenodd"),it=u.makeCorners(re,le,me),g(K)}function Ae(Dt,$t){return $t=Math.max(Math.min($t,ee),ce),Dtfe?(Dt<$t?(Ne=Dt,gt=$t):(Ne=$t,gt=Dt),!0):(Ne=null,gt=null,!1)}function je(Dt,$t){Dt=Dt||qe,$t=$t||"M0,0Z",Yt.attr("d",Dt),it.attr("d",$t),u.transitionZoombox(Yt,it,vt,Bt),vt=!0;var vr={};nr(vr),K.emit("plotly_relayouting",vr)}function ot(Dt,$t){Dt=Dt*He,$t=$t*$e;var vr=lt+Dt,Pr=ke+$t,Ct=_e(lt,ke),ir=Math.min(_e(vr,Pr),ee),cr=Ze(lt,ke),Or,kr;Ae(Ct,ir)&&(Or=qe+q.pathSector(gt),Ne&&(Or+=q.pathSector(Ne)),kr=Ce(Ne,cr)+Ce(gt,cr)),je(Or,kr)}function ct(Dt,$t,vr,Pr){var Ct=A.findIntersectionXY(vr,Pr,vr,[Dt-we,Se-$t]);return Ue(Ct[0],Ct[1])}function Et(Dt,$t){var vr=lt+Dt,Pr=ke+$t,Ct=Ze(lt,ke),ir=Ze(vr,Pr),cr=Re(Ct,We),Or=Re(ir,We),kr=ct(lt,ke,cr[0],cr[1]),Mt=Math.min(ct(vr,Pr,Or[0],Or[1]),ee),yt,Rt;Ae(kr,Mt)&&(yt=qe+q.pathSector(gt),Ne&&(yt+=q.pathSector(Ne)),Rt=[ve(Ne,cr[0],cr[1]),ve(gt,cr[0],cr[1])].join(" ")),je(yt,Rt)}function kt(){if(u.removeZoombox(K),!(Ne===null||gt===null)){var Dt={};nr(Dt),u.showDoubleClickNotifier(K),a.call("_guiRelayout",K,Dt)}}function nr(Dt){var $t=Ye._rl,vr=($t[1]-$t[0])/(1-ce/ee)/ee,Pr=[$t[0]+(Ne-ce)*vr,$t[0]+(gt-ce)*vr];Dt[q.id+".radialaxis.range"]=Pr}function dr(Dt,$t){var vr=K._fullLayout.clickmode;if(u.removeZoombox(K),Dt===2){var Pr={};for(var Ct in q.viewInitial)Pr[q.id+"."+Ct]=q.viewInitial[Ct];K.emit("plotly_doubleclick",null),a.call("_guiRelayout",K,Pr)}vr.indexOf("select")>-1&&Dt===1&&l($t,K,[q.xaxis],[q.yaxis],q.id,ut),vr.indexOf("event")>-1&&h.click(K,$t,q.id)}ut.prepFn=function(Dt,$t,vr){var Pr=K._fullLayout.dragmode,Ct=pt.getBoundingClientRect();K._fullLayout._calcInverseTransform(K);var ir=K._fullLayout._invTransform;He=K._fullLayout._invScaleX,$e=K._fullLayout._invScaleY;var cr=L.apply3DTransform(ir)($t-Ct.left,vr-Ct.top);if(lt=cr[0],ke=cr[1],We){var Or=A.findPolygonOffset(ee,Ee[0],Ee[1],We);lt+=we+Or[0],ke+=Se+Or[1]}switch(Pr){case"zoom":ut.clickFn=dr,X||(We?ut.moveFn=Et:ut.moveFn=ot,ut.doneFn=kt,Ie());break;case"select":case"lasso":v(Dt,$t,vr,ut,Pr);break}},b.init(ut)},W.updateRadialDrag=function(pe,q,X){var K=this,J=K.gd,re=K.layers,fe=K.radius,te=K.innerRadius,ee=K.cx,ce=K.cy,le=K.radialAxis,me=P.radialDragBoxSize,we=me/2;if(!le.visible)return;var Se=H(K.radialAxisAngle),Ee=le._rl,We=Ee[0],Ye=Ee[1],De=Ee[X],Te=.75*(Ee[1]-Ee[0])/(1-K.getHole(q))/fe,Re,Xe,Je;X?(Re=ee+(fe+we)*Math.cos(Se),Xe=ce-(fe+we)*Math.sin(Se),Je="radialdrag"):(Re=ee+(te-we)*Math.cos(Se),Xe=ce-(te-we)*Math.sin(Se),Je="radialdrag-inner");var He=u.makeRectDragger(re,Je,"crosshair",-we,-we,me,me),$e={element:He,gd:J};pe.dragmode===!1&&($e.dragmode=!1),ue(p.select(He),le.visible&&te0!=(X?lt>We:lt=90||J>90&&re>=450?Se=1:te<=0&&ce<=0?Se=0:Se=Math.max(te,ce),J<=180&&re>=180||J>180&&re>=540?le=-1:fe>=0&&ee>=0?le=0:le=Math.min(fe,ee),J<=270&&re>=270||J>270&&re>=630?me=-1:te>=0&&ce>=0?me=0:me=Math.min(te,ce),re>=360?we=1:fe<=0&&ee<=0?we=0:we=Math.max(fe,ee),[le,me,we,Se]}function ie(pe,q){var X=function(J){return L.angleDist(pe,J)},K=L.findIndexOfMin(q,X);return q[K]}function ue(pe,q,X){return q?(pe.attr("display",null),pe.attr(X)):pe&&pe.attr("display","none"),pe}},12101:function(B,O,e){var p=e(71828),E=e(21994),a=p.deg2rad,L=p.rad2deg;B.exports=function(s,n,f){switch(E(s,f),s._id){case"x":case"radialaxis":x(s,n);break;case"angularaxis":r(s,n);break}};function x(t,s){var n=s._subplot;t.setGeometry=function(){var f=t._rl[0],c=t._rl[1],u=n.innerRadius,b=(n.radius-u)/(c-f),h=u/b,S=f>c?function(v){return v<=0}:function(v){return v>=0};t.c2g=function(v){var l=t.c2l(v)-f;return(S(l)?l:0)+h},t.g2c=function(v){return t.l2c(v+f-h)},t.g2p=function(v){return v*b},t.c2p=function(v){return t.g2p(t.c2g(v))}}}function d(t,s){return s==="degrees"?a(t):t}function m(t,s){return s==="degrees"?L(t):t}function r(t,s){var n=t.type;if(n==="linear"){var f=t.d2c,c=t.c2d;t.d2c=function(u,b){return d(f(u),b)},t.c2d=function(u,b){return c(m(u,b))}}t.makeCalcdata=function(u,b){var h=u[b],S=u._length,v,l,g=function(P){return t.d2c(P,u.thetaunit)};if(h){if(p.isTypedArray(h)&&n==="linear"){if(S===h.length)return h;if(h.subarray)return h.subarray(0,S)}for(v=new Array(S),l=0;l0?1:0}function e(x){var d=x[0],m=x[1];if(!isFinite(d)||!isFinite(m))return[1,0];var r=(d+1)*(d+1)+m*m;return[(d*d+m*m-1)/r,2*m/r]}function p(x,d){var m=d[0],r=d[1];return[m*x.radius+x.cx,-r*x.radius+x.cy]}function E(x,d){return d*x.radius}function a(x,d,m,r){var t=p(x,e([m,d])),s=t[0],n=t[1],f=p(x,e([r,d])),c=f[0],u=f[1];if(d===0)return["M"+s+","+n,"L"+c+","+u].join(" ");var b=E(x,1/Math.abs(d));return["M"+s+","+n,"A"+b+","+b+" 0 0,"+(d<0?1:0)+" "+c+","+u].join(" ")}function L(x,d,m,r){var t=E(x,1/(d+1)),s=p(x,e([d,m])),n=s[0],f=s[1],c=p(x,e([d,r])),u=c[0],b=c[1];if(O(m)!==O(r)){var h=p(x,e([d,0])),S=h[0],v=h[1];return["M"+n+","+f,"A"+t+","+t+" 0 0,"+(00){for(var d=[],m=0;m=l&&(T.min=0,P.min=0,A.min=0,u.aaxis&&delete u.aaxis.min,u.baxis&&delete u.baxis.min,u.caxis&&delete u.caxis.min)}function c(u,b,h,S){var v=s[b._name];function l(o,k){return a.coerce(u,b,v,o,k)}l("uirevision",S.uirevision),b.type="linear";var g=l("color"),C=g!==v.color.dflt?g:h.font.color,M=b._name,D=M.charAt(0).toUpperCase(),T="Component "+D,P=l("title.text",T);b._hovertitle=P===T?P:D,a.coerceFont(l,"title.font",{family:h.font.family,size:a.bigFont(h.font.size),color:C}),l("min"),r(u,b,l,"linear"),d(u,b,l,"linear"),x(u,b,l,"linear"),m(u,b,l,{outerTicks:!0});var A=l("showticklabels");A&&(a.coerceFont(l,"tickfont",{family:h.font.family,size:h.font.size,color:C}),l("tickangle"),l("tickformat")),t(u,b,l,{dfltColor:g,bgColor:h.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:v}),l("hoverformat"),l("layer")}},64380:function(B,O,e){var p=e(39898),E=e(84267),a=e(73972),L=e(71828),x=L.strTranslate,d=L._,m=e(7901),r=e(91424),t=e(21994),s=e(1426).extendFlat,n=e(74875),f=e(89298),c=e(28569),u=e(30211),b=e(64505),h=b.freeMode,S=b.rectMode,v=e(92998),l=e(47322).prepSelect,g=e(47322).selectOnClick,C=e(47322).clearOutline,M=e(47322).clearSelectionsCache,D=e(85555);function T(V,N){this.id=V.id,this.graphDiv=V.graphDiv,this.init(N),this.makeFramework(N),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}B.exports=T;var P=T.prototype;P.init=function(V){this.container=V._ternarylayer,this.defs=V._defs,this.layoutId=V._uid,this.traceHash={},this.layers={}},P.plot=function(V,N){var W=this,j=N[W.id],Q=N._size;W._hasClipOnAxisFalse=!1;for(var ie=0;ieA*X?(le=X,ce=le*A):(ce=q,le=ce/A),me=ue*ce/q,we=pe*le/X,te=N.l+N.w*Q-ce/2,ee=N.t+N.h*(1-ie)-le/2,W.x0=te,W.y0=ee,W.w=ce,W.h=le,W.sum=K,W.xaxis={type:"linear",range:[J+2*fe-K,K-J-2*re],domain:[Q-me/2,Q+me/2],_id:"x"},t(W.xaxis,W.graphDiv._fullLayout),W.xaxis.setScale(),W.xaxis.isPtWithinRange=function($e){return $e.a>=W.aaxis.range[0]&&$e.a<=W.aaxis.range[1]&&$e.b>=W.baxis.range[1]&&$e.b<=W.baxis.range[0]&&$e.c>=W.caxis.range[1]&&$e.c<=W.caxis.range[0]},W.yaxis={type:"linear",range:[J,K-re-fe],domain:[ie-we/2,ie+we/2],_id:"y"},t(W.yaxis,W.graphDiv._fullLayout),W.yaxis.setScale(),W.yaxis.isPtWithinRange=function(){return!0};var Se=W.yaxis.domain[0],Ee=W.aaxis=s({},V.aaxis,{range:[J,K-re-fe],side:"left",tickangle:(+V.aaxis.tickangle||0)-30,domain:[Se,Se+we*A],anchor:"free",position:0,_id:"y",_length:ce});t(Ee,W.graphDiv._fullLayout),Ee.setScale();var We=W.baxis=s({},V.baxis,{range:[K-J-fe,re],side:"bottom",domain:W.xaxis.domain,anchor:"free",position:0,_id:"x",_length:ce});t(We,W.graphDiv._fullLayout),We.setScale();var Ye=W.caxis=s({},V.caxis,{range:[K-J-re,fe],side:"right",tickangle:(+V.caxis.tickangle||0)+30,domain:[Se,Se+we*A],anchor:"free",position:0,_id:"y",_length:ce});t(Ye,W.graphDiv._fullLayout),Ye.setScale();var De="M"+te+","+(ee+le)+"h"+ce+"l-"+ce/2+",-"+le+"Z";W.clipDef.select("path").attr("d",De),W.layers.plotbg.select("path").attr("d",De);var Te="M0,"+le+"h"+ce+"l-"+ce/2+",-"+le+"Z";W.clipDefRelative.select("path").attr("d",Te);var Re=x(te,ee);W.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",Re),W.clipDefRelative.select("path").attr("transform",null);var Xe=x(te-We._offset,ee+le);W.layers.baxis.attr("transform",Xe),W.layers.bgrid.attr("transform",Xe);var Je=x(te+ce/2,ee)+"rotate(30)"+x(0,-Ee._offset);W.layers.aaxis.attr("transform",Je),W.layers.agrid.attr("transform",Je);var He=x(te+ce/2,ee)+"rotate(-30)"+x(0,-Ye._offset);W.layers.caxis.attr("transform",He),W.layers.cgrid.attr("transform",He),W.drawAxes(!0),W.layers.aline.select("path").attr("d",Ee.showline?"M"+te+","+(ee+le)+"l"+ce/2+",-"+le:"M0,0").call(m.stroke,Ee.linecolor||"#000").style("stroke-width",(Ee.linewidth||0)+"px"),W.layers.bline.select("path").attr("d",We.showline?"M"+te+","+(ee+le)+"h"+ce:"M0,0").call(m.stroke,We.linecolor||"#000").style("stroke-width",(We.linewidth||0)+"px"),W.layers.cline.select("path").attr("d",Ye.showline?"M"+(te+ce/2)+","+ee+"l"+ce/2+","+le:"M0,0").call(m.stroke,Ye.linecolor||"#000").style("stroke-width",(Ye.linewidth||0)+"px"),W.graphDiv._context.staticPlot||W.initInteractions(),r.setClipUrl(W.layers.frontplot,W._hasClipOnAxisFalse?null:W.clipId,W.graphDiv)},P.drawAxes=function(V){var N=this,W=N.graphDiv,j=N.id.substr(7)+"title",Q=N.layers,ie=N.aaxis,ue=N.baxis,pe=N.caxis;if(N.drawAx(ie),N.drawAx(ue),N.drawAx(pe),V){var q=Math.max(ie.showticklabels?ie.tickfont.size/2:0,(pe.showticklabels?pe.tickfont.size*.75:0)+(pe.ticks==="outside"?pe.ticklen*.87:0)),X=(ue.showticklabels?ue.tickfont.size:0)+(ue.ticks==="outside"?ue.ticklen:0)+3;Q["a-title"]=v.draw(W,"a"+j,{propContainer:ie,propName:N.id+".aaxis.title",placeholder:d(W,"Click to enter Component A title"),attributes:{x:N.x0+N.w/2,y:N.y0-ie.title.font.size/3-q,"text-anchor":"middle"}}),Q["b-title"]=v.draw(W,"b"+j,{propContainer:ue,propName:N.id+".baxis.title",placeholder:d(W,"Click to enter Component B title"),attributes:{x:N.x0-X,y:N.y0+N.h+ue.title.font.size*.83+X,"text-anchor":"middle"}}),Q["c-title"]=v.draw(W,"c"+j,{propContainer:pe,propName:N.id+".caxis.title",placeholder:d(W,"Click to enter Component C title"),attributes:{x:N.x0+N.w+X,y:N.y0+N.h+pe.title.font.size*.83+X,"text-anchor":"middle"}})}},P.drawAx=function(V){var N=this,W=N.graphDiv,j=V._name,Q=j.charAt(0),ie=V._id,ue=N.layers[j],pe=30,q=Q+"tickLayout",X=o(V);N[q]!==X&&(ue.selectAll("."+ie+"tick").remove(),N[q]=X),V.setScale();var K=f.calcTicks(V),J=f.clipEnds(V,K),re=f.makeTransTickFn(V),fe=f.getTickSigns(V)[2],te=L.deg2rad(pe),ee=fe*(V.linewidth||1)/2,ce=fe*V.ticklen,le=N.w,me=N.h,we=Q==="b"?"M0,"+ee+"l"+Math.sin(te)*ce+","+Math.cos(te)*ce:"M"+ee+",0l"+Math.cos(te)*ce+","+-Math.sin(te)*ce,Se={a:"M0,0l"+me+",-"+le/2,b:"M0,0l-"+le/2+",-"+me,c:"M0,0l-"+me+","+le/2}[Q];f.drawTicks(W,V,{vals:V.ticks==="inside"?J:K,layer:ue,path:we,transFn:re,crisp:!1}),f.drawGrid(W,V,{vals:J,layer:N.layers[Q+"grid"],path:Se,transFn:re,crisp:!1}),f.drawLabels(W,V,{vals:K,layer:ue,transFn:re,labelFns:f.makeLabelFns(V,0,pe)})};function o(V){return V.ticks+String(V.ticklen)+String(V.showticklabels)}var k=D.MINZOOM/2+.87,w="m-0.87,.5h"+k+"v3h-"+(k+5.2)+"l"+(k/2+2.6)+",-"+(k*.87+4.5)+"l2.6,1.5l-"+k/2+","+k*.87+"Z",U="m0.87,.5h-"+k+"v3h"+(k+5.2)+"l-"+(k/2+2.6)+",-"+(k*.87+4.5)+"l-2.6,1.5l"+k/2+","+k*.87+"Z",F="m0,1l"+k/2+","+k*.87+"l2.6,-1.5l-"+(k/2+2.6)+",-"+(k*.87+4.5)+"l-"+(k/2+2.6)+","+(k*.87+4.5)+"l2.6,1.5l"+k/2+",-"+k*.87+"Z",G="m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z",_=!0;P.clearOutline=function(){M(this.dragOptions),C(this.dragOptions.gd)},P.initInteractions=function(){var V=this,N=V.layers.plotbg.select("path").node(),W=V.graphDiv,j=W._fullLayout._zoomlayer,Q,ie;this.dragOptions={element:N,gd:W,plotinfo:{id:V.id,domain:W._fullLayout[V.id].domain,xaxis:V.xaxis,yaxis:V.yaxis},subplot:V.id,prepFn:function(Xe,Je,He){V.dragOptions.xaxes=[V.xaxis],V.dragOptions.yaxes=[V.yaxis],Q=W._fullLayout._invScaleX,ie=W._fullLayout._invScaleY;var $e=V.dragOptions.dragmode=W._fullLayout.dragmode;h($e)?V.dragOptions.minDrag=1:V.dragOptions.minDrag=void 0,$e==="zoom"?(V.dragOptions.moveFn=We,V.dragOptions.clickFn=le,V.dragOptions.doneFn=Ye,me(Xe,Je,He)):$e==="pan"?(V.dragOptions.moveFn=Te,V.dragOptions.clickFn=le,V.dragOptions.doneFn=Re,De(),V.clearOutline(W)):(S($e)||h($e))&&l(Xe,Je,He,V.dragOptions,$e)}};var ue,pe,q,X,K,J,re,fe,te,ee;function ce(Xe){var Je={};return Je[V.id+".aaxis.min"]=Xe.a,Je[V.id+".baxis.min"]=Xe.b,Je[V.id+".caxis.min"]=Xe.c,Je}function le(Xe,Je){var He=W._fullLayout.clickmode;H(W),Xe===2&&(W.emit("plotly_doubleclick",null),a.call("_guiRelayout",W,ce({a:0,b:0,c:0}))),He.indexOf("select")>-1&&Xe===1&&g(Je,W,[V.xaxis],[V.yaxis],V.id,V.dragOptions),He.indexOf("event")>-1&&u.click(W,Je,V.id)}function me(Xe,Je,He){var $e=N.getBoundingClientRect();ue=Je-$e.left,pe=He-$e.top,W._fullLayout._calcInverseTransform(W);var pt=W._fullLayout._invTransform,ut=L.apply3DTransform(pt)(ue,pe);ue=ut[0],pe=ut[1],q={a:V.aaxis.range[0],b:V.baxis.range[1],c:V.caxis.range[1]},K=q,X=V.aaxis.range[1]-q.a,J=E(V.graphDiv._fullLayout[V.id].bgcolor).getLuminance(),re="M0,"+V.h+"L"+V.w/2+", 0L"+V.w+","+V.h+"Z",fe=!1,te=j.append("path").attr("class","zoombox").attr("transform",x(V.x0,V.y0)).style({fill:J>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",re),ee=j.append("path").attr("class","zoombox-corners").attr("transform",x(V.x0,V.y0)).style({fill:m.background,stroke:m.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),V.clearOutline(W)}function we(Xe,Je){return 1-Je/V.h}function Se(Xe,Je){return 1-(Xe+(V.h-Je)/Math.sqrt(3))/V.w}function Ee(Xe,Je){return(Xe-(V.h-Je)/Math.sqrt(3))/V.w}function We(Xe,Je){var He=ue+Xe*Q,$e=pe+Je*ie,pt=Math.max(0,Math.min(1,we(ue,pe),we(He,$e))),ut=Math.max(0,Math.min(1,Se(ue,pe),Se(He,$e))),lt=Math.max(0,Math.min(1,Ee(ue,pe),Ee(He,$e))),ke=(pt/2+lt)*V.w,Ne=(1-pt/2-ut)*V.w,gt=(ke+Ne)/2,qe=Ne-ke,vt=(1-pt)*V.h,Bt=vt-qe/A;qe.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ee.transition().style("opacity",1).duration(200),fe=!0),W.emit("plotly_relayouting",ce(K))}function Ye(){H(W),K!==q&&(a.call("_guiRelayout",W,ce(K)),_&&W.data&&W._context.showTips&&(L.notifier(d(W,"Double-click to zoom back out"),"long"),_=!1))}function De(){q={a:V.aaxis.range[0],b:V.baxis.range[1],c:V.caxis.range[1]},K=q}function Te(Xe,Je){var He=Xe/V.xaxis._m,$e=Je/V.yaxis._m;K={a:q.a-$e,b:q.b+(He+$e)/2,c:q.c-(He-$e)/2};var pt=[K.a,K.b,K.c].sort(L.sorterAsc),ut={a:pt.indexOf(K.a),b:pt.indexOf(K.b),c:pt.indexOf(K.c)};pt[0]<0&&(pt[1]+pt[0]/2<0?(pt[2]+=pt[0]+pt[1],pt[0]=pt[1]=0):(pt[2]+=pt[0]/2,pt[1]+=pt[0]/2,pt[0]=0),K={a:pt[ut.a],b:pt[ut.b],c:pt[ut.c]},Je=(q.a-K.a)*V.yaxis._m,Xe=(q.c-K.c-q.b+K.b)*V.xaxis._m);var lt=x(V.x0+Xe,V.y0+Je);V.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",lt);var ke=x(-Xe,-Je);V.clipDefRelative.select("path").attr("transform",ke),V.aaxis.range=[K.a,V.sum-K.b-K.c],V.baxis.range=[V.sum-K.a-K.c,K.b],V.caxis.range=[V.sum-K.a-K.b,K.c],V.drawAxes(!1),V._hasClipOnAxisFalse&&V.plotContainer.select(".scatterlayer").selectAll(".trace").call(r.hideOutsideRangePoints,V),W.emit("plotly_relayouting",ce(K))}function Re(){a.call("_guiRelayout",W,ce(K))}N.onmousemove=function(Xe){u.hover(W,Xe,V.id),W._fullLayout._lasthover=N,W._fullLayout._hoversubplot=V.id},N.onmouseout=function(Xe){W._dragging||c.unhover(W,Xe)},c.init(this.dragOptions)};function H(V){p.select(V).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}},73972:function(B,O,e){var p=e(47769),E=e(64213),a=e(75138),L=e(41965),x=e(24401).addStyleRule,d=e(1426),m=e(9012),r=e(10820),t=d.extendFlat,s=d.extendDeepAll;O.modules={},O.allCategories={},O.allTypes=[],O.subplotsRegistry={},O.transformsRegistry={},O.componentsRegistry={},O.layoutArrayContainers=[],O.layoutArrayRegexes=[],O.traceLayoutAttributes={},O.localeRegistry={},O.apiMethodRegistry={},O.collectableSubplotTypes=null,O.register=function(M){if(O.collectableSubplotTypes=null,M)M&&!Array.isArray(M)&&(M=[M]);else throw new Error("No argument passed to Plotly.register.");for(var D=0;D-1}B.exports=function(r,t){var s,n=r.data,f=r.layout,c=L([],n),u=L({},f,x(t.tileClass)),b=r._context||{};if(t.width&&(u.width=t.width),t.height&&(u.height=t.height),t.tileClass==="thumbnail"||t.tileClass==="themes__thumb"){u.annotations=[];var h=Object.keys(u);for(s=0;s")!==-1?"":f.html(u).text()});return f.remove(),c}function s(n){return n.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")}B.exports=function(f,c,u){var b=f._fullLayout,h=b._paper,S=b._toppaper,v=b.width,l=b.height,g;h.insert("rect",":first-child").call(a.setRect,0,0,v,l).call(L.fill,b.paper_bgcolor);var C=b._basePlotModules||[];for(g=0;gH+G||!p(_))}for(var N=0;Nr;if(!t)return x}return d!==void 0?d:L.dflt},O.coerceColor=function(L,x,d){return E(x).isValid()?x:d!==void 0?d:L.dflt},O.coerceEnumerated=function(L,x,d){return L.coerceNumber&&(x=+x),L.values.indexOf(x)!==-1?x:d!==void 0?d:L.dflt},O.getValue=function(L,x){var d;return Array.isArray(L)?x0?we+=Se:T<0&&(we-=Se)}return we}function pe(me){var we=T,Se=me.b,Ee=ue(me);return p.inbox(Se-we,Ee-we,C+(Ee-we)/(Ee-Se)-1)}function q(me){var we=T,Se=me.b,Ee=ue(me);return p.inbox(Se-we,Ee-we,M+(Ee-we)/(Ee-Se)-1)}var X=n[P+"a"],K=n[A+"a"];w=Math.abs(X.r2c(X.range[1])-X.r2c(X.range[0]));function J(me){return(o(me)+k(me))/2}var re=p.getDistanceFunction(u,o,k,J);if(p.getClosest(h,re,n),n.index!==!1&&h[n.index].p!==m){F||(N=function(me){return Math.min(G(me),me.p-v.bargroupwidth/2)},W=function(me){return Math.max(_(me),me.p+v.bargroupwidth/2)});var fe=n.index,te=h[fe],ee=S.base?te.b+te.s:te.s;n[A+"0"]=n[A+"1"]=K.c2p(te[A],!0),n[A+"LabelVal"]=ee;var ce=v.extents[v.extents.round(te.p)];n[P+"0"]=X.c2p(l?N(te):ce[0],!0),n[P+"1"]=X.c2p(l?W(te):ce[1],!0);var le=te.orig_p!==void 0;return n[P+"LabelVal"]=le?te.orig_p:te.p,n.labelLabel=d(X,n[P+"LabelVal"],S[P+"hoverformat"]),n.valueLabel=d(K,n[A+"LabelVal"],S[A+"hoverformat"]),n.baseLabel=d(K,te.b,S[A+"hoverformat"]),n.spikeDistance=(q(te)+ie(te))/2,n[P+"Spike"]=X.c2p(te.p,!0),L(te,S,n),n.hovertemplate=S.hovertemplate,n}}function s(n,f){var c=f.mcc||n.marker.color,u=f.mlcc||n.marker.line.color,b=x(n,f);if(a.opacity(c))return c;if(a.opacity(u)&&b)return u}B.exports={hoverPoints:r,hoverOnBars:t,getTraceColor:s}},60822:function(B,O,e){B.exports={attributes:e(1486),layoutAttributes:e(43641),supplyDefaults:e(90769).supplyDefaults,crossTraceDefaults:e(90769).crossTraceDefaults,supplyLayoutDefaults:e(13957),calc:e(92290),crossTraceCalc:e(11661).crossTraceCalc,colorbar:e(4898),arraysToCalcdata:e(75341),plot:e(17295).plot,style:e(16688).style,styleOnSelect:e(16688).styleOnSelect,hoverPoints:e(95423).hoverPoints,eventData:e(58065),selectPoints:e(81974),moduleType:"trace",name:"bar",basePlotModule:e(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(B){B.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(B,O,e){var p=e(73972),E=e(89298),a=e(71828),L=e(43641);B.exports=function(x,d,m){function r(v,l){return a.coerce(x,d,L,v,l)}for(var t=!1,s=!1,n=!1,f={},c=r("barmode"),u=0;u0}function A(N,W,j,Q,ie,ue){var pe=W.xaxis,q=W.yaxis,X=N._fullLayout,K=N._context.staticPlot;ie||(ie={mode:X.barmode,norm:X.barmode,gap:X.bargap,groupgap:X.bargroupgap},n("bar",X));var J=a.makeTraceGroups(Q,j,"trace bars").each(function(re){var fe=p.select(this),te=re[0].trace,ee=te.type==="waterfall",ce=te.type==="funnel",le=te.type==="bar",me=le||ce,we=0;ee&&te.connector.visible&&te.connector.mode==="between"&&(we=te.connector.line.width/2);var Se=te.orientation==="h",Ee=P(ie),We=a.ensureSingle(fe,"g","points"),Ye=C(te),De=We.selectAll("g.point").data(a.identity,Ye);De.enter().append("g").classed("point",!0),De.exit().remove(),De.each(function(Re,Xe){var Je=p.select(this),He=D(Re,pe,q,Se),$e=He[0][0],pt=He[0][1],ut=He[1][0],lt=He[1][1],ke=(Se?pt-$e:lt-ut)===0;ke&&me&&c.getLineWidth(te,Re)&&(ke=!1),ke||(ke=!E($e)||!E(pt)||!E(ut)||!E(lt)),Re.isBlank=ke,ke&&(Se?pt=$e:lt=ut),we&&!ke&&(Se?($e-=M($e,pt)*we,pt+=M($e,pt)*we):(ut-=M(ut,lt)*we,lt+=M(ut,lt)*we));var Ne,gt;if(te.type==="waterfall"){if(!ke){var qe=te[Re.dir].marker;Ne=qe.line.width,gt=qe.color}}else Ne=c.getLineWidth(te,Re),gt=Re.mc||te.marker.color;function vt(Ze){var Fe=p.round(Ne/2%1,2);return ie.gap===0&&ie.groupgap===0?p.round(Math.round(Ze)-Fe,2):Ze}function Bt(Ze,Fe,Ce){return Ce&&Ze===Fe?Ze:Math.abs(Ze-Fe)>=2?vt(Ze):Ze>Fe?Math.ceil(Ze):Math.floor(Ze)}if(!N._context.staticPlot){var Yt=x.opacity(gt),it=Yt<1||Ne>.01?vt:Bt;$e=it($e,pt,Se),pt=it(pt,$e,Se),ut=it(ut,lt,!Se),lt=it(lt,ut,!Se)}var Ue=T(a.ensureSingle(Je,"path"),X,ie,ue);if(Ue.style("vector-effect",K?"none":"non-scaling-stroke").attr("d",isNaN((pt-$e)*(lt-ut))||ke&&N._context.staticPlot?"M0,0Z":"M"+$e+","+ut+"V"+lt+"H"+pt+"V"+ut+"Z").call(d.setClipUrl,W.layerClipId,N),!X.uniformtext.mode&&Ee){var _e=d.makePointStyleFns(te);d.singlePointStyle(Re,Ue,te,_e,N)}o(N,W,Je,re,Xe,$e,pt,ut,lt,ie,ue),W.layerClipId&&d.hideOutsideRangePoint(Re,Je.select("text"),pe,q,te.xcalendar,te.ycalendar)});var Te=te.cliponaxis===!1;d.setClipUrl(fe,Te?null:W.layerClipId,N)});m.getComponentMethod("errorbars","plot")(N,J,W,ie)}function o(N,W,j,Q,ie,ue,pe,q,X,K,J){var re=W.xaxis,fe=W.yaxis,te=N._fullLayout,ee;function ce(Ze,Fe,Ce){var ve=a.ensureSingle(Ze,"text").text(Fe).attr({class:"bartext bartext-"+ee,"text-anchor":"middle","data-notex":1}).call(d.font,Ce).call(L.convertToTspans,N);return ve}var le=Q[0].trace,me=le.orientation==="h",we=G(te,Q,ie,re,fe);ee=_(le,ie);var Se=K.mode==="stack"||K.mode==="relative",Ee=Q[ie],We=!Se||Ee._outmost;if(!we||ee==="none"||(Ee.isBlank||ue===pe||q===X)&&(ee==="auto"||ee==="inside")){j.select("text").remove();return}var Ye=te.font,De=f.getBarColor(Q[ie],le),Te=f.getInsideTextFont(le,ie,Ye,De),Re=f.getOutsideTextFont(le,ie,Ye),Xe=j.datum();me?re.type==="log"&&Xe.s0<=0&&(re.range[0]0&<>0,gt=ut<=Je&<<=He,qe=ut<=He&<<=Je,vt=me?Je>=ut*(He/lt):He>=lt*(Je/ut);Ne&&(gt||qe||vt)?ee="inside":(ee="outside",$e.remove(),$e=null)}else ee="inside";if(!$e){ke=a.ensureUniformFontSize(N,ee==="outside"?Re:Te),$e=ce(j,we,ke);var Bt=$e.attr("transform");if($e.attr("transform",""),pt=d.bBox($e.node()),ut=pt.width,lt=pt.height,$e.attr("transform",Bt),ut<=0||lt<=0){$e.remove();return}}var Yt=le.textangle,it,Ue;ee==="outside"?(Ue=le.constraintext==="both"||le.constraintext==="outside",it=F(ue,pe,q,X,pt,{isHorizontal:me,constrained:Ue,angle:Yt})):(Ue=le.constraintext==="both"||le.constraintext==="inside",it=U(ue,pe,q,X,pt,{isHorizontal:me,constrained:Ue,angle:Yt,anchor:le.insidetextanchor})),it.fontSize=ke.size,s(le.type==="histogram"?"bar":le.type,it,te),Ee.transform=it;var _e=T($e,te,K,J);a.setTransormAndDisplay(_e,it)}function k(N){return N==="auto"?0:N}function w(N,W){var j=Math.PI/180*W,Q=Math.abs(Math.sin(j)),ie=Math.abs(Math.cos(j));return{x:N.width*ie+N.height*Q,y:N.width*Q+N.height*ie}}function U(N,W,j,Q,ie,ue){var pe=!!ue.isHorizontal,q=!!ue.constrained,X=ue.angle||0,K=ue.anchor||"end",J=K==="end",re=K==="start",fe=ue.leftToRight||0,te=(fe+1)/2,ee=1-te,ce=ie.width,le=ie.height,me=Math.abs(W-N),we=Math.abs(Q-j),Se=me>2*l&&we>2*l?l:0;me-=2*Se,we-=2*Se;var Ee=k(X);X==="auto"&&!(ce<=me&&le<=we)&&(ce>me||le>we)&&(!(ce>we||le>me)||ce2*l?l:0:te=re>2*l?l:0;var ee=1;q&&(ee=pe?Math.min(1,fe/J):Math.min(1,re/K));var ce=k(X),le=w(ie,ce),me=(pe?le.x:le.y)/2,we=(ie.left+ie.right)/2,Se=(ie.top+ie.bottom)/2,Ee=(N+W)/2,We=(j+Q)/2,Ye=0,De=0,Te=pe?M(W,N):M(j,Q);return pe?(Ee=W-Te*te,Ye=Te*me):(We=Q+Te*te,De=-Te*me),{textX:we,textY:Se,targetX:Ee,targetY:We,anchorX:Ye,anchorY:De,scale:ee,rotate:ce}}function G(N,W,j,Q,ie){var ue=W[0].trace,pe=ue.texttemplate,q;return pe?q=H(N,W,j,Q,ie):ue.textinfo?q=V(W,j,Q,ie):q=c.getValue(ue.text,j),c.coerceString(h,q)}function _(N,W){var j=c.getValue(N.textposition,W);return c.coerceEnumerated(S,j)}function H(N,W,j,Q,ie){var ue=W[0].trace,pe=a.castOption(ue,j,"texttemplate");if(!pe)return"";var q=ue.type==="histogram",X=ue.type==="waterfall",K=ue.type==="funnel",J=ue.orientation==="h",re,fe,te,ee;J?(re="y",fe=ie,te="x",ee=Q):(re="x",fe=Q,te="y",ee=ie);function ce(Ye){return r(fe,fe.c2l(Ye),!0).text}function le(Ye){return r(ee,ee.c2l(Ye),!0).text}var me=W[j],we={};we.label=me.p,we.labelLabel=we[re+"Label"]=ce(me.p);var Se=a.castOption(ue,me.i,"text");(Se===0||Se)&&(we.text=Se),we.value=me.s,we.valueLabel=we[te+"Label"]=le(me.s);var Ee={};v(Ee,ue,me.i),(q||Ee.x===void 0)&&(Ee.x=J?we.value:we.label),(q||Ee.y===void 0)&&(Ee.y=J?we.label:we.value),(q||Ee.xLabel===void 0)&&(Ee.xLabel=J?we.valueLabel:we.labelLabel),(q||Ee.yLabel===void 0)&&(Ee.yLabel=J?we.labelLabel:we.valueLabel),X&&(we.delta=+me.rawS||me.s,we.deltaLabel=le(we.delta),we.final=me.v,we.finalLabel=le(we.final),we.initial=we.final-we.delta,we.initialLabel=le(we.initial)),K&&(we.value=me.s,we.valueLabel=le(we.value),we.percentInitial=me.begR,we.percentInitialLabel=a.formatPercent(me.begR),we.percentPrevious=me.difR,we.percentPreviousLabel=a.formatPercent(me.difR),we.percentTotal=me.sumR,we.percenTotalLabel=a.formatPercent(me.sumR));var We=a.castOption(ue,me.i,"customdata");return We&&(we.customdata=We),a.texttemplateString(pe,we,N._d3locale,Ee,we,ue._meta||{})}function V(N,W,j,Q){var ie=N[0].trace,ue=ie.orientation==="h",pe=ie.type==="waterfall",q=ie.type==="funnel";function X(We){var Ye=ue?Q:j;return r(Ye,We,!0).text}function K(We){var Ye=ue?j:Q;return r(Ye,+We,!0).text}var J=ie.textinfo,re=N[W],fe=J.split("+"),te=[],ee,ce=function(We){return fe.indexOf(We)!==-1};if(ce("label")&&te.push(X(N[W].p)),ce("text")&&(ee=a.castOption(ie,re.i,"text"),(ee===0||ee)&&te.push(ee)),pe){var le=+re.rawS||re.s,me=re.v,we=me-le;ce("initial")&&te.push(K(we)),ce("delta")&&te.push(K(le)),ce("final")&&te.push(K(me))}if(q){ce("value")&&te.push(K(re.s));var Se=0;ce("percent initial")&&Se++,ce("percent previous")&&Se++,ce("percent total")&&Se++;var Ee=Se>1;ce("percent initial")&&(ee=a.formatPercent(re.begR),Ee&&(ee+=" of initial"),te.push(ee)),ce("percent previous")&&(ee=a.formatPercent(re.difR),Ee&&(ee+=" of previous"),te.push(ee)),ce("percent total")&&(ee=a.formatPercent(re.sumR),Ee&&(ee+=" of total"),te.push(ee))}return te.join("
")}B.exports={plot:A,toMoveInsideBar:U}},81974:function(B){B.exports=function(p,E){var a=p.cd,L=p.xaxis,x=p.yaxis,d=a[0].trace,m=d.type==="funnel",r=d.orientation==="h",t=[],s;if(E===!1)for(s=0;s1||o.bargap===0&&o.bargroupgap===0&&!k[0].trace.marker.line.width)&&p.select(this).attr("shape-rendering","crispEdges")}),P.selectAll("g.points").each(function(k){var w=p.select(this),U=k[0].trace;c(w,U,T)}),x.getComponentMethod("errorbars","style")(P)}function c(T,P,A){a.pointStyle(T.selectAll("path"),P,A),u(T,P,A)}function u(T,P,A){T.selectAll("text").each(function(o){var k=p.select(this),w=L.ensureUniformFontSize(A,v(k,o,P,A));a.font(k,w)})}function b(T,P,A){var o=P[0].trace;o.selectedpoints?h(A,o,T):(c(A,o,T),x.getComponentMethod("errorbars","style")(A))}function h(T,P,A){a.selectedPointStyle(T.selectAll("path"),P),S(T.selectAll("text"),P,A)}function S(T,P,A){T.each(function(o){var k=p.select(this),w;if(o.selected){w=L.ensureUniformFontSize(A,v(k,o,P,A));var U=P.selected.textfont&&P.selected.textfont.color;U&&(w.color=U),a.font(k,w)}else a.selectedTextStyle(k,P)})}function v(T,P,A,o){var k=o._fullLayout.font,w=A.textfont;if(T.classed("bartext-inside")){var U=D(P,A);w=g(A,P.i,k,U)}else T.classed("bartext-outside")&&(w=C(A,P.i,k));return w}function l(T,P,A){return M(r,T.textfont,P,A)}function g(T,P,A,o){var k=l(T,P,A),w=T._input.textfont===void 0||T._input.textfont.color===void 0||Array.isArray(T.textfont.color)&&T.textfont.color[P]===void 0;return w&&(k={color:E.contrast(o),family:k.family,size:k.size}),M(t,T.insidetextfont,P,k)}function C(T,P,A){var o=l(T,P,A);return M(s,T.outsidetextfont,P,o)}function M(T,P,A,o){P=P||{};var k=n.getValue(P.family,A),w=n.getValue(P.size,A),U=n.getValue(P.color,A);return{family:n.coerceString(T.family,k,o.family),size:n.coerceNumber(T.size,w,o.size),color:n.coerceColor(T.color,U,o.color)}}function D(T,P){return P.type==="waterfall"?P[T.dir].marker.color:T.mcc||T.mc||P.marker.color}B.exports={style:f,styleTextPoints:u,styleOnSelect:b,getInsideTextFont:g,getOutsideTextFont:C,getBarColor:D,resizeText:d}},98340:function(B,O,e){var p=e(7901),E=e(52075).hasColorscale,a=e(1586),L=e(71828).coercePattern;B.exports=function(d,m,r,t,s){var n=r("marker.color",t),f=E(d,"marker");f&&a(d,m,s,r,{prefix:"marker.",cLetter:"c"}),r("marker.line.color",p.defaultLine),E(d,"marker.line")&&a(d,m,s,r,{prefix:"marker.line.",cLetter:"c"}),r("marker.line.width"),r("marker.opacity"),L(r,"marker.pattern",n,f),r("selected.marker.color"),r("unselected.marker.color")}},72597:function(B,O,e){var p=e(39898),E=e(71828);function a(m,r,t){var s=m._fullLayout,n=s["_"+t+"Text_minsize"];if(n){var f=s.uniformtext.mode==="hide",c;switch(t){case"funnelarea":case"pie":case"sunburst":c="g.slice";break;case"treemap":case"icicle":c="g.slice, g.pathbar";break;default:c="g.points > g.point"}r.selectAll(c).each(function(u){var b=u.transform;if(b){b.scale=f&&b.hide?0:n/b.fontSize;var h=p.select(this).select("text");E.setTransormAndDisplay(h,b)}})}}function L(m,r,t){if(t.uniformtext.mode){var s=d(m),n=t.uniformtext.minsize,f=r.scale*r.fontSize;r.hide=fu.range[1]&&(C+=Math.PI);var M=function(A){return S(g,C,[A.rp0,A.rp1],[A.thetag0,A.thetag1],h)?v+Math.min(1,Math.abs(A.thetag1-A.thetag0)/l)-1+(A.rp1-g)/(A.rp1-A.rp0)-1:1/0};if(p.getClosest(n,M,r),r.index!==!1){var D=r.index,T=n[D];r.x0=r.x1=T.ct[0],r.y0=r.y1=T.ct[1];var P=E.extendFlat({},T,{r:T.s,theta:T.p});return L(T,f,r),x(P,f,c,r),r.hovertemplate=f.hovertemplate,r.color=a(f,T),r.xLabelVal=r.yLabelVal=void 0,T.s<0&&(r.idealAlign="left"),[r]}}},23381:function(B,O,e){B.exports={moduleType:"trace",name:"barpolar",basePlotModule:e(23580),categories:["polar","bar","showLegend"],attributes:e(55023),layoutAttributes:e(40151),supplyDefaults:e(6135),supplyLayoutDefaults:e(19860),calc:e(74692).calc,crossTraceCalc:e(74692).crossTraceCalc,plot:e(60173),colorbar:e(4898),formatLabels:e(98608),style:e(16688).style,styleOnSelect:e(16688).styleOnSelect,hoverPoints:e(27379),selectPoints:e(81974),meta:{}}},40151:function(B){B.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(B,O,e){var p=e(71828),E=e(40151);B.exports=function(a,L,x){var d={},m;function r(n,f){return p.coerce(a[m]||{},L[m],E,n,f)}for(var t=0;t0?(u=f,b=c):(u=c,b=f);var h=x.findEnclosingVertexAngles(u,m.vangles)[0],S=x.findEnclosingVertexAngles(b,m.vangles)[1],v=[h,(u+b)/2,S];return x.pathPolygonAnnulus(s,n,u,b,v,r,t)}:function(s,n,f,c){return a.pathAnnulus(s,n,f,c,r,t)}}},53522:function(B,O,e){var p=e(82196),E=e(1486),a=e(22399),L=e(12663).axisHoverFormat,x=e(5386).fF,d=e(1426).extendFlat,m=p.marker,r=m.line;B.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:p.xperiod,yperiod:p.yperiod,xperiod0:p.xperiod0,yperiod0:p.yperiod0,xperiodalignment:p.xperiodalignment,yperiodalignment:p.yperiodalignment,xhoverformat:L("x"),yhoverformat:L("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},sdmultiple:{valType:"number",min:0,editType:"calc",dflt:1},sizemode:{valType:"enumerated",values:["quartiles","sd"],editType:"calc",dflt:"quartiles"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:d({},m.symbol,{arrayOk:!1,editType:"plot"}),opacity:d({},m.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:d({},m.angle,{arrayOk:!1,editType:"calc"}),size:d({},m.size,{arrayOk:!1,editType:"calc"}),color:d({},m.color,{arrayOk:!1,editType:"style"}),line:{color:d({},r.color,{arrayOk:!1,dflt:a.defaultLine,editType:"style"}),width:d({},r.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:p.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},showwhiskers:{valType:"boolean",editType:"calc"},offsetgroup:E.offsetgroup,alignmentgroup:E.alignmentgroup,selected:{marker:p.selected.marker,editType:"style"},unselected:{marker:p.unselected.marker,editType:"style"},text:d({},p.text,{}),hovertext:d({},p.hovertext,{}),hovertemplate:x({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(B,O,e){var p=e(92770),E=e(89298),a=e(42973),L=e(71828),x=e(50606).BADNUM,d=L._;B.exports=function(C,M){var D=C._fullLayout,T=E.getFromId(C,M.xaxis||"x"),P=E.getFromId(C,M.yaxis||"y"),A=[],o=M.type==="violin"?"_numViolins":"_numBoxes",k,w,U,F,G,_,H;M.orientation==="h"?(U=T,F="x",G=P,_="y",H=!!M.yperiodalignment):(U=P,F="y",G=T,_="x",H=!!M.xperiodalignment);var V=m(M,_,G,D[o]),N=V[0],W=V[1],j=L.distinctVals(N,G),Q=j.vals,ie=j.minDiff/2,ue,pe,q,X,K,J,re=(M.boxpoints||M.points)==="all"?L.identity:function(Bt){return Bt.vue.uf};if(M._hasPreCompStats){var fe=M[F],te=function(Bt){return U.d2c((M[Bt]||[])[k])},ee=1/0,ce=-1/0;for(k=0;k=ue.q1&&ue.q3>=ue.med){var me=te("lowerfence");ue.lf=me!==x&&me<=ue.q1?me:b(ue,q,X);var we=te("upperfence");ue.uf=we!==x&&we>=ue.q3?we:h(ue,q,X);var Se=te("mean");ue.mean=Se!==x?Se:X?L.mean(q,X):(ue.q1+ue.q3)/2;var Ee=te("sd");ue.sd=Se!==x&&Ee>=0?Ee:X?L.stdev(q,X,ue.mean):ue.q3-ue.q1,ue.lo=S(ue),ue.uo=v(ue);var We=te("notchspan");We=We!==x&&We>0?We:l(ue,X),ue.ln=ue.med-We,ue.un=ue.med+We;var Ye=ue.lf,De=ue.uf;M.boxpoints&&q.length&&(Ye=Math.min(Ye,q[0]),De=Math.max(De,q[X-1])),M.notched&&(Ye=Math.min(Ye,ue.ln),De=Math.max(De,ue.un)),ue.min=Ye,ue.max=De}else{L.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+ue.q1,"median = "+ue.med,"q3 = "+ue.q3].join(` -`));var Te;ue.med!==x?Te=ue.med:ue.q1!==x?ue.q3!==x?Te=(ue.q1+ue.q3)/2:Te=ue.q1:ue.q3!==x?Te=ue.q3:Te=0,ue.med=Te,ue.q1=ue.q3=Te,ue.lf=ue.uf=Te,ue.mean=ue.sd=Te,ue.ln=ue.un=Te,ue.min=ue.max=Te}ee=Math.min(ee,ue.min),ce=Math.max(ce,ue.max),ue.pts2=pe.filter(re),A.push(ue)}}M._extremes[U._id]=E.findExtremes(U,[ee,ce],{padded:!0})}else{var Re=U.makeCalcdata(M,F),Xe=r(Q,ie),Je=Q.length,He=t(Je);for(k=0;k=0&&$e0){if(ue={},ue.pos=ue[_]=Q[k],pe=ue.pts=He[k].sort(c),q=ue[F]=pe.map(u),X=q.length,ue.min=q[0],ue.max=q[X-1],ue.mean=L.mean(q,X),ue.sd=L.stdev(q,X,ue.mean)*M.sdmultiple,ue.med=L.interp(q,.5),X%2&&(ke||Ne)){var gt,qe;ke?(gt=q.slice(0,X/2),qe=q.slice(X/2+1)):Ne&&(gt=q.slice(0,X/2+1),qe=q.slice(X/2)),ue.q1=L.interp(gt,.5),ue.q3=L.interp(qe,.5)}else ue.q1=L.interp(q,.25),ue.q3=L.interp(q,.75);ue.lf=b(ue,q,X),ue.uf=h(ue,q,X),ue.lo=S(ue),ue.uo=v(ue);var vt=l(ue,X);ue.ln=ue.med-vt,ue.un=ue.med+vt,pt=Math.min(pt,ue.ln),ut=Math.max(ut,ue.un),ue.pts2=pe.filter(re),A.push(ue)}M._extremes[U._id]=E.findExtremes(U,M.notched?Re.concat([pt,ut]):Re,{padded:!0})}return f(A,M),A.length>0?(A[0].t={num:D[o],dPos:ie,posLetter:_,valLetter:F,labels:{med:d(C,"median:"),min:d(C,"min:"),q1:d(C,"q1:"),q3:d(C,"q3:"),max:d(C,"max:"),mean:M.boxmean==="sd"||M.sizemode==="sd"?d(C,"mean ± σ:").replace("σ",M.sdmultiple===1?"σ":M.sdmultiple+"σ"):d(C,"mean:"),lf:d(C,"lower fence:"),uf:d(C,"upper fence:")}},D[o]++,A):[{t:{empty:!0}}]};function m(g,C,M,D){var T=C in g,P=C+"0"in g,A="d"+C in g;if(T||P&&A){var o=M.makeCalcdata(g,C),k=a(g,M,C,o).vals;return[k,o]}var w;P?w=g[C+"0"]:"name"in g&&(M.type==="category"||p(g.name)&&["linear","log"].indexOf(M.type)!==-1||L.isDateTime(g.name)&&M.type==="date")?w=g.name:w=D;for(var U=M.type==="multicategory"?M.r2c_just_indices(w):M.d2c(w,0,g[C+"calendar"]),F=g._length,G=new Array(F),_=0;_1,P=1-f[m+"gap"],A=1-f[m+"groupgap"];for(b=0;b0;if(U==="positive"?(ue=F*(w?1:.5),X=q,pe=X=_):U==="negative"?(ue=X=_,pe=F*(w?1:.5),K=q):(ue=pe=F,X=K=q),ce){var le=o.pointpos,me=o.jitter,we=o.marker.size/2,Se=0;le+me>=0&&(Se=q*(le+me),Se>ue?(ee=!0,fe=we,J=Se):Se>X&&(fe=we,J=ue)),Se<=ue&&(J=ue);var Ee=0;le-me<=0&&(Ee=-q*(le-me),Ee>pe?(ee=!0,te=we,re=Ee):Ee>K&&(te=we,re=pe)),Ee<=pe&&(re=pe)}else J=ue,re=pe;var We=new Array(S.length);for(h=0;h0?(U="v",P>0?F=Math.min(o,A):F=Math.min(A)):P>0?(U="h",F=Math.min(o)):F=0;if(!F){c.visible=!1;return}c._length=F;var N=u("orientation",U);c._hasPreCompStats?N==="v"&&P===0?(u("x0",0),u("dx",1)):N==="h"&&T===0&&(u("y0",0),u("dy",1)):N==="v"&&P===0?u("x0"):N==="h"&&T===0&&u("y0");var W=E.getComponentMethod("calendars","handleTraceDefaults");W(f,c,["x","y"],b)}function s(f,c,u,b){var h=b.prefix,S=p.coerce2(f,c,m,"marker.outliercolor"),v=u("marker.line.outliercolor"),l="outliers";c._hasPreCompStats?l="all":(S||v)&&(l="suspectedoutliers");var g=u(h+"points",l);g?(u("jitter",g==="all"?.3:0),u("pointpos",g==="all"?-1.5:0),u("marker.symbol"),u("marker.opacity"),u("marker.size"),u("marker.angle"),u("marker.color",c.line.color),u("marker.line.color"),u("marker.line.width"),g==="suspectedoutliers"&&(u("marker.line.outliercolor",c.marker.color),u("marker.line.outlierwidth")),u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size"),u("text"),u("hovertext")):delete c.marker;var C=u("hoveron");(C==="all"||C.indexOf("points")!==-1)&&u("hovertemplate"),p.coerceSelectionMarkerOpacity(c,u)}function n(f,c){var u,b;function h(l){return p.coerce(b._input,b,m,l)}for(var S=0;SM.lo&&(N.so=!0)}return T});C.enter().append("path").classed("point",!0),C.exit().remove(),C.call(a.translatePoints,u,b)}function t(s,n,f,c){var u=n.val,b=n.pos,h=!!b.rangebreaks,S=c.bPos,v=c.bPosPxOffset||0,l=f.boxmean||(f.meanline||{}).visible,g,C;Array.isArray(c.bdPos)?(g=c.bdPos[0],C=c.bdPos[1]):(g=c.bdPos,C=c.bdPos);var M=s.selectAll("path.mean").data(f.type==="box"&&f.boxmean||f.type==="violin"&&f.box.visible&&f.meanline.visible?E.identity:[]);M.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),M.exit().remove(),M.each(function(D){var T=b.c2l(D.pos+S,!0),P=b.l2p(T-g)+v,A=b.l2p(T+C)+v,o=h?(P+A)/2:b.l2p(T)+v,k=u.c2p(D.mean,!0),w=u.c2p(D.mean-D.sd,!0),U=u.c2p(D.mean+D.sd,!0);f.orientation==="h"?p.select(this).attr("d","M"+k+","+P+"V"+A+(l==="sd"?"m0,0L"+w+","+o+"L"+k+","+P+"L"+U+","+o+"Z":"")):p.select(this).attr("d","M"+P+","+k+"H"+A+(l==="sd"?"m0,0L"+o+","+w+"L"+P+","+k+"L"+o+","+U+"Z":""))})}B.exports={plot:d,plotBoxAndWhiskers:m,plotPoints:r,plotBoxMean:t}},24626:function(B){B.exports=function(e,p){var E=e.cd,a=e.xaxis,L=e.yaxis,x=[],d,m;if(p===!1)for(d=0;d=10)return null;for(var x=1/0,d=-1/0,m=a.length,r=0;r0?Math.floor:Math.ceil,H=F>0?Math.ceil:Math.floor,V=F>0?Math.min:Math.max,N=F>0?Math.max:Math.min,W=_(w+G),j=H(U-G);f=k(w);var Q=[[f]];for(d=W;d*F=0;L--)x[s-L]=e[n][L],d[s-L]=p[n][L];for(m.push({x,y:d,bicubic:r}),L=n,x=[],d=[];L>=0;L--)x[n-L]=e[L][0],d[n-L]=p[L][0];return m.push({x,y:d,bicubic:t}),m}},20347:function(B,O,e){var p=e(89298),E=e(1426).extendFlat;B.exports=function(L,x,d){var m,r,t,s,n,f,c,u,b,h,S,v,l,g,C=L["_"+x],M=L[x+"axis"],D=M._gridlines=[],T=M._minorgridlines=[],P=M._boundarylines=[],A=L["_"+d],o=L[d+"axis"];M.tickmode==="array"&&(M.tickvals=C.slice());var k=L._xctrl,w=L._yctrl,U=k[0].length,F=k.length,G=L._a.length,_=L._b.length;p.prepTicks(M),M.tickmode==="array"&&delete M.tickvals;var H=M.smoothing?3:1;function V(W){var j,Q,ie,ue,pe,q,X,K,J,re,fe,te,ee=[],ce=[],le={};if(x==="b")for(Q=L.b2j(W),ie=Math.floor(Math.max(0,Math.min(_-2,Q))),ue=Q-ie,le.length=_,le.crossLength=G,le.xy=function(me){return L.evalxy([],me,Q)},le.dxy=function(me,we){return L.dxydi([],me,ie,we,ue)},j=0;j0&&(J=L.dxydi([],j-1,ie,0,ue),ee.push(pe[0]+J[0]/3),ce.push(pe[1]+J[1]/3),re=L.dxydi([],j-1,ie,1,ue),ee.push(K[0]-re[0]/3),ce.push(K[1]-re[1]/3)),ee.push(K[0]),ce.push(K[1]),pe=K;else for(j=L.a2i(W),q=Math.floor(Math.max(0,Math.min(G-2,j))),X=j-q,le.length=G,le.crossLength=_,le.xy=function(me){return L.evalxy([],j,me)},le.dxy=function(me,we){return L.dxydj([],q,me,X,we)},Q=0;Q<_;Q++)ie=Math.min(_-2,Q),ue=Q-ie,K=L.evalxy([],j,Q),o.smoothing&&Q>0&&(fe=L.dxydj([],q,Q-1,X,0),ee.push(pe[0]+fe[0]/3),ce.push(pe[1]+fe[1]/3),te=L.dxydj([],q,Q-1,X,1),ee.push(K[0]-te[0]/3),ce.push(K[1]-te[1]/3)),ee.push(K[0]),ce.push(K[1]),pe=K;return le.axisLetter=x,le.axis=M,le.crossAxis=o,le.value=W,le.constvar=d,le.index=u,le.x=ee,le.y=ce,le.smoothing=o.smoothing,le}function N(W){var j,Q,ie,ue,pe,q=[],X=[],K={};if(K.length=C.length,K.crossLength=A.length,x==="b")for(ie=Math.max(0,Math.min(_-2,W)),pe=Math.min(1,Math.max(0,W-ie)),K.xy=function(J){return L.evalxy([],J,W)},K.dxy=function(J,re){return L.dxydi([],J,ie,re,pe)},j=0;jC.length-1)&&D.push(E(N(r),{color:M.gridcolor,width:M.gridwidth,dash:M.griddash}));for(u=f;uC.length-1)&&!(S<0||S>C.length-1))for(v=C[t],l=C[S],m=0;mC[C.length-1])&&T.push(E(V(h),{color:M.minorgridcolor,width:M.minorgridwidth,dash:M.minorgriddash})));M.startline&&P.push(E(N(0),{color:M.startlinecolor,width:M.startlinewidth})),M.endline&&P.push(E(N(C.length-1),{color:M.endlinecolor,width:M.endlinewidth}))}else{for(s=5e-15,n=[Math.floor((C[C.length-1]-M.tick0)/M.dtick*(1+s)),Math.ceil((C[0]-M.tick0)/M.dtick/(1+s))].sort(function(W,j){return W-j}),f=n[0],c=n[1],u=f;u<=c;u++)b=M.tick0+M.dtick*u,D.push(E(V(b),{color:M.gridcolor,width:M.gridwidth,dash:M.griddash}));for(u=f-1;uC[C.length-1])&&T.push(E(V(h),{color:M.minorgridcolor,width:M.minorgridwidth,dash:M.minorgriddash}));M.startline&&P.push(E(V(C[0]),{color:M.startlinecolor,width:M.startlinewidth})),M.endline&&P.push(E(V(C[C.length-1]),{color:M.endlinecolor,width:M.endlinewidth}))}}},83311:function(B,O,e){var p=e(89298),E=e(1426).extendFlat;B.exports=function(L,x){var d,m,r,t,s,n=x._labels=[],f=x._gridlines;for(d=0;dL.length&&(a=a.slice(0,L.length)):a=[],d=0;d90&&(c-=180,r=-r),{angle:c,flip:r,p:e.c2p(a,p,E),offsetMultplier:t}}},89740:function(B,O,e){var p=e(39898),E=e(91424),a=e(27669),L=e(67961),x=e(11651),d=e(63893),m=e(71828),r=m.strRotate,t=m.strTranslate,s=e(18783);B.exports=function(l,g,C,M){var D=l._context.staticPlot,T=g.xaxis,P=g.yaxis,A=l._fullLayout,o=A._clips;m.makeTraceGroups(M,C,"trace").each(function(k){var w=p.select(this),U=k[0],F=U.trace,G=F.aaxis,_=F.baxis,H=m.ensureSingle(w,"g","minorlayer"),V=m.ensureSingle(w,"g","majorlayer"),N=m.ensureSingle(w,"g","boundarylayer"),W=m.ensureSingle(w,"g","labellayer");w.style("opacity",F.opacity),f(T,P,V,G,"a",G._gridlines,!0),f(T,P,V,_,"b",_._gridlines,!0),f(T,P,H,G,"a",G._minorgridlines,!0),f(T,P,H,_,"b",_._minorgridlines,!0),f(T,P,N,G,"a-boundary",G._boundarylines,D),f(T,P,N,_,"b-boundary",_._boundarylines,D);var j=c(l,T,P,F,U,W,G._labels,"a-label"),Q=c(l,T,P,F,U,W,_._labels,"b-label");u(l,W,F,U,T,P,j,Q),n(F,U,o,T,P)})};function n(v,l,g,C,M){var D,T,P,A,o=g.select("#"+v._clipPathId);o.size()||(o=g.append("clipPath").classed("carpetclip",!0));var k=m.ensureSingle(o,"path","carpetboundary"),w=l.clipsegments,U=[];for(A=0;A0?"start":"end","data-notex":1}).call(E.font,w.font).text(w.text).call(d.convertToTspans,v),V=E.bBox(this);H.attr("transform",t(F.p[0],F.p[1])+r(F.angle)+t(w.axis.labelpadding*_,V.height*.3)),o=Math.max(o,V.width+w.axis.labelpadding)}),A.exit().remove(),k.maxExtent=o,k}function u(v,l,g,C,M,D,T,P){var A,o,k,w,U=m.aggNums(Math.min,null,g.a),F=m.aggNums(Math.max,null,g.a),G=m.aggNums(Math.min,null,g.b),_=m.aggNums(Math.max,null,g.b);A=.5*(U+F),o=G,k=g.ab2xy(A,o,!0),w=g.dxyda_rough(A,o),T.angle===void 0&&m.extendFlat(T,x(g,M,D,k,g.dxydb_rough(A,o))),S(v,l,g,C,k,w,g.aaxis,M,D,T,"a-title"),A=U,o=.5*(G+_),k=g.ab2xy(A,o,!0),w=g.dxydb_rough(A,o),P.angle===void 0&&m.extendFlat(P,x(g,M,D,k,g.dxyda_rough(A,o))),S(v,l,g,C,k,w,g.baxis,M,D,P,"b-title")}var b=s.LINE_SPACING,h=(1-s.MID_SHIFT)/b+1;function S(v,l,g,C,M,D,T,P,A,o,k){var w=[];T.title.text&&w.push(T.title.text);var U=l.selectAll("text."+k).data(w),F=o.maxExtent;U.enter().append("text").classed(k,!0),U.each(function(){var G=x(g,P,A,M,D);["start","both"].indexOf(T.showticklabels)===-1&&(F=0);var _=T.title.font.size;F+=_+T.title.offset;var H=o.angle+(o.flip<0?180:0),V=(H-G.angle+450)%360,N=V>90&&V<270,W=p.select(this);W.text(T.title.text).call(d.convertToTspans,v),N&&(F=(-d.lineCount(W)+h)*b*_-F),W.attr("transform",t(G.p[0],G.p[1])+r(G.angle)+t(0,F)).attr("text-anchor","middle").call(E.font,T.title.font)}),U.exit().remove()}},11435:function(B,O,e){var p=e(35509),E=e(65888).findBin,a=e(45664),L=e(20349),x=e(54495),d=e(73057);B.exports=function(r){var t=r._a,s=r._b,n=t.length,f=s.length,c=r.aaxis,u=r.baxis,b=t[0],h=t[n-1],S=s[0],v=s[f-1],l=t[t.length-1]-t[0],g=s[s.length-1]-s[0],C=l*p.RELATIVE_CULL_TOLERANCE,M=g*p.RELATIVE_CULL_TOLERANCE;b-=C,h+=C,S-=M,v+=M,r.isVisible=function(D,T){return D>b&&DS&&Th||Tv},r.setScale=function(){var D=r._x,T=r._y,P=a(r._xctrl,r._yctrl,D,T,c.smoothing,u.smoothing);r._xctrl=P[0],r._yctrl=P[1],r.evalxy=L([r._xctrl,r._yctrl],n,f,c.smoothing,u.smoothing),r.dxydi=x([r._xctrl,r._yctrl],c.smoothing,u.smoothing),r.dxydj=d([r._xctrl,r._yctrl],c.smoothing,u.smoothing)},r.i2a=function(D){var T=Math.max(0,Math.floor(D[0]),n-2),P=D[0]-T;return(1-P)*t[T]+P*t[T+1]},r.j2b=function(D){var T=Math.max(0,Math.floor(D[1]),n-2),P=D[1]-T;return(1-P)*s[T]+P*s[T+1]},r.ij2ab=function(D){return[r.i2a(D[0]),r.j2b(D[1])]},r.a2i=function(D){var T=Math.max(0,Math.min(E(D,t),n-2)),P=t[T],A=t[T+1];return Math.max(0,Math.min(n-1,T+(D-P)/(A-P)))},r.b2j=function(D){var T=Math.max(0,Math.min(E(D,s),f-2)),P=s[T],A=s[T+1];return Math.max(0,Math.min(f-1,T+(D-P)/(A-P)))},r.ab2ij=function(D){return[r.a2i(D[0]),r.b2j(D[1])]},r.i2c=function(D,T){return r.evalxy([],D,T)},r.ab2xy=function(D,T,P){if(!P&&(Dt[n-1]|Ts[f-1]))return[!1,!1];var A=r.a2i(D),o=r.b2j(T),k=r.evalxy([],A,o);if(P){var w=0,U=0,F=[],G,_,H,V;Dt[n-1]?(G=n-2,_=1,w=(D-t[n-1])/(t[n-1]-t[n-2])):(G=Math.max(0,Math.min(n-2,Math.floor(A))),_=A-G),Ts[f-1]?(H=f-2,V=1,U=(T-s[f-1])/(s[f-1]-s[f-2])):(H=Math.max(0,Math.min(f-2,Math.floor(o))),V=o-H),w&&(r.dxydi(F,G,H,_,V),k[0]+=F[0]*w,k[1]+=F[1]*w),U&&(r.dxydj(F,G,H,_,V),k[0]+=F[0]*U,k[1]+=F[1]*U)}return k},r.c2p=function(D,T,P){return[T.c2p(D[0]),P.c2p(D[1])]},r.p2x=function(D,T,P){return[T.p2c(D[0]),P.p2c(D[1])]},r.dadi=function(D){var T=Math.max(0,Math.min(t.length-2,D));return t[T+1]-t[T]},r.dbdj=function(D){var T=Math.max(0,Math.min(s.length-2,D));return s[T+1]-s[T]},r.dxyda=function(D,T,P,A){var o=r.dxydi(null,D,T,P,A),k=r.dadi(D,P);return[o[0]/k,o[1]/k]},r.dxydb=function(D,T,P,A){var o=r.dxydj(null,D,T,P,A),k=r.dbdj(T,A);return[o[0]/k,o[1]/k]},r.dxyda_rough=function(D,T,P){var A=l*(P||.1),o=r.ab2xy(D+A,T,!0),k=r.ab2xy(D-A,T,!0);return[(o[0]-k[0])*.5/A,(o[1]-k[1])*.5/A]},r.dxydb_rough=function(D,T,P){var A=g*(P||.1),o=r.ab2xy(D,T+A,!0),k=r.ab2xy(D,T-A,!0);return[(o[0]-k[0])*.5/A,(o[1]-k[1])*.5/A]},r.dpdx=function(D){return D._m},r.dpdy=function(D){return D._m}}},72505:function(B,O,e){var p=e(71828);B.exports=function(a,L,x){var d,m,r,t=[],s=[],n=a[0].length,f=a.length;function c(Q,ie){var ue=0,pe,q=0;return Q>0&&(pe=a[ie][Q-1])!==void 0&&(q++,ue+=pe),Q0&&(pe=a[ie-1][Q])!==void 0&&(q++,ue+=pe),ie0&&m0&&dA);return p.log("Smoother converged to",o,"after",w,"iterations"),a}},19237:function(B,O,e){var p=e(71828).isArray1D;B.exports=function(a,L,x){var d=x("x"),m=d&&d.length,r=x("y"),t=r&&r.length;if(!m&&!t)return!1;if(L._cheater=!d,(!m||p(d))&&(!t||p(r))){var s=m?d.length:1/0;t&&(s=Math.min(s,r.length)),L.a&&L.a.length&&(s=Math.min(s,L.a.length)),L.b&&L.b.length&&(s=Math.min(s,L.b.length)),L._length=s}else L._length=null;return!0}},69568:function(B,O,e){var p=e(5386).fF,E=e(19316),a=e(50693),L=e(9012),x=e(22399).defaultLine,d=e(1426).extendFlat,m=E.marker.line;B.exports=d({locations:{valType:"data_array",editType:"calc"},locationmode:E.locationmode,z:{valType:"data_array",editType:"calc"},geojson:d({},E.geojson,{}),featureidkey:E.featureidkey,text:d({},E.text,{}),hovertext:d({},E.hovertext,{}),marker:{line:{color:d({},m.color,{dflt:x}),width:d({},m.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:E.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:E.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:d({},L.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:p(),showlegend:d({},L.showlegend,{dflt:!1})},a("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(B,O,e){var p=e(92770),E=e(50606).BADNUM,a=e(78803),L=e(75225),x=e(66279);function d(m){return m&&typeof m=="string"}B.exports=function(r,t){var s=t._length,n=new Array(s),f;t.geojson?f=function(S){return d(S)||p(S)}:f=d;for(var c=0;c")}}},51319:function(B,O,e){B.exports={attributes:e(69568),supplyDefaults:e(61869),colorbar:e(61243),calc:e(38675),calcGeoJSON:e(99841).calcGeoJSON,plot:e(99841).plot,style:e(99636).style,styleOnSelect:e(99636).styleOnSelect,hoverPoints:e(42300),eventData:e(92069),selectPoints:e(81253),moduleType:"trace",name:"choropleth",basePlotModule:e(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(B,O,e){var p=e(39898),E=e(71828),a=e(41327),L=e(90973).getTopojsonFeatures,x=e(71739).findExtremes,d=e(99636).style;function m(t,s,n){var f=s.layers.backplot.select(".choroplethlayer");E.makeTraceGroups(f,n,"trace choropleth").each(function(c){var u=p.select(this),b=u.selectAll("path.choroplethlocation").data(E.identity);b.enter().append("path").classed("choroplethlocation",!0),b.exit().remove(),d(t,c)})}function r(t,s){for(var n=t[0].trace,f=s[n.geo],c=f._subplot,u=n.locationmode,b=n._length,h=u==="geojson-id"?a.extractTraceFeature(t):L(n,c.topojson),S=[],v=[],l=0;l=0;L--){var x=a[L].id;if(typeof x=="string"&&x.indexOf("water")===0){for(var d=L+1;d=0;r--)d.removeLayer(m[r][1])},x.dispose=function(){var d=this.subplot.map;this._removeLayers(),d.removeSource(this.sourceId)},B.exports=function(m,r){var t=r[0].trace,s=new L(m,t.uid),n=s.sourceId,f=p(r),c=s.below=m.belowLookup["trace-"+t.uid];return m.map.addSource(n,{type:"geojson",data:f.geojson}),s._addLayers(f,c),r[0].trace._glTrace=s,s}},12674:function(B,O,e){var p=e(50693),E=e(12663).axisHoverFormat,a=e(5386).fF,L=e(2418),x=e(9012),d=e(1426).extendFlat,m={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:a({editType:"calc"},{keys:["norm"]}),uhoverformat:E("u",1),vhoverformat:E("v",1),whoverformat:E("w",1),xhoverformat:E("x"),yhoverformat:E("y"),zhoverformat:E("z"),showlegend:d({},x.showlegend,{dflt:!1})};d(m,p("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));var r=["opacity","lightposition","lighting"];r.forEach(function(t){m[t]=L[t]}),m.hoverinfo=d({},x.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),m.transforms=void 0,B.exports=m},31371:function(B,O,e){var p=e(78803);B.exports=function(a,L){for(var x=L.u,d=L.v,m=L.w,r=Math.min(L.x.length,L.y.length,L.z.length,x.length,d.length,m.length),t=-1/0,s=1/0,n=0;nx.level||x.starts.length&&L===x.level)}break;case"constraint":if(p.prefixBoundary=!1,p.edgepaths.length)return;var d=p.x.length,m=p.y.length,r=-1/0,t=1/0;for(a=0;a":s>r&&(p.prefixBoundary=!0);break;case"<":(sr||p.starts.length&&f===t)&&(p.prefixBoundary=!0);break;case"][":n=Math.min(s[0],s[1]),f=Math.max(s[0],s[1]),nr&&(p.prefixBoundary=!0);break}break}}},90654:function(B,O,e){var p=e(21081),E=e(86068),a=e(53572);function L(x,d,m){var r=d.contours,t=d.line,s=r.size||1,n=r.coloring,f=E(d,{isColorbar:!0});if(n==="heatmap"){var c=p.extractOpts(d);m._fillgradient=c.reversescale?p.flipScale(c.colorscale):c.colorscale,m._zrange=[c.min,c.max]}else n==="fill"&&(m._fillcolor=f);m._line={color:n==="lines"?f:t.color,width:r.showlines!==!1?t.width:0,dash:t.dash},m._levels={start:r.start,end:a(r),size:s}}B.exports={min:"zmin",max:"zmax",calc:L}},36914:function(B){B.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(B,O,e){var p=e(92770),E=e(14523),a=e(7901),L=a.addOpacity,x=a.opacity,d=e(74808),m=d.CONSTRAINT_REDUCTION,r=d.COMPARISON_OPS2;B.exports=function(n,f,c,u,b,h){var S=f.contours,v,l,g,C=c("contours.operation");if(S._operation=m[C],t(c,S),C==="="?v=S.showlines=!0:(v=c("contours.showlines"),g=c("fillcolor",L((n.line||{}).color||b,.5))),v){var M=g&&x(g)?L(f.fillcolor,1):b;l=c("line.color",M),c("line.width",2),c("line.dash")}c("line.smoothing"),E(c,u,l,h)};function t(s,n){var f;r.indexOf(n.operation)===-1?(s("contours.value",[0,1]),Array.isArray(n.value)?n.value.length>2?n.value=n.value.slice(2):n.length===0?n.value=[0,1]:n.length<2?(f=parseFloat(n.value[0]),n.value=[f,f+1]):n.value=[parseFloat(n.value[0]),parseFloat(n.value[1])]:p(n.value)&&(f=parseFloat(n.value),n.value=[f,f+1])):(s("contours.value",0),p(n.value)||(Array.isArray(n.value)?n.value=parseFloat(n.value[0]):n.value=0))}},64237:function(B,O,e){var p=e(74808),E=e(92770);B.exports={"[]":L("[]"),"][":L("]["),">":x(">"),"<":x("<"),"=":x("=")};function a(d,m){var r=Array.isArray(m),t;function s(n){return E(n)?+n:null}return p.COMPARISON_OPS2.indexOf(d)!==-1?t=s(r?m[0]:m):p.INTERVAL_OPS.indexOf(d)!==-1?t=r?[s(m[0]),s(m[1])]:[s(m),s(m)]:p.SET_OPS.indexOf(d)!==-1&&(t=r?m.map(s):[s(m)]),t}function L(d){return function(m){m=a(d,m);var r=Math.min(m[0],m[1]),t=Math.max(m[0],m[1]);return{start:r,end:t,size:t-r}}}function x(d){return function(m){return m=a(d,m),{start:m,end:1/0,size:1/0}}}},67217:function(B){B.exports=function(e,p,E,a){var L=a("contours.start"),x=a("contours.end"),d=L===!1||x===!1,m=E("contours.size"),r;d?r=p.autocontour=!0:r=E("autocontour",!1),(r||!m)&&E("ncontours")}},84857:function(B,O,e){var p=e(71828);B.exports=function(a,L){var x,d,m,r=function(n){return n.reverse()},t=function(n){return n};switch(L){case"=":case"<":return a;case">":for(a.length!==1&&p.warn("Contour data invalid for the specified inequality operation."),d=a[0],x=0;x1e3){p.warn("Too many contours, clipping at 1000",x);break}return s}},53572:function(B){B.exports=function(e){return e.end+e.size/1e6}},81696:function(B,O,e){var p=e(71828),E=e(36914);B.exports=function(t,s,n){var f,c,u,b,h;for(s=s||.01,n=n||.01,u=0;u20?(u=E.CHOOSESADDLE[u][(b[0]||b[1])<0?0:1],r.crossings[c]=E.SADDLEREMAINDER[u]):delete r.crossings[c],b=E.NEWDELTA[u],!b){p.log("Found bad marching index:",u,t,r.level);break}h.push(m(r,t,b)),t[0]+=b[0],t[1]+=b[1],c=t.join(","),a(h[h.length-1],h[h.length-2],n,f)&&h.pop();var M=b[0]&&(t[0]<0||t[0]>v-2)||b[1]&&(t[1]<0||t[1]>S-2),D=t[0]===l[0]&&t[1]===l[1]&&b[0]===g[0]&&b[1]===g[1];if(D||s&&M)break;u=r.crossings[c]}C===1e4&&p.log("Infinite loop in contour?");var T=a(h[0],h[h.length-1],n,f),P=0,A=.2*r.smoothing,o=[],k=0,w,U,F,G,_,H,V,N,W,j,Q;for(C=1;C=k;C--)if(w=o[C],w=k&&w+o[U]N&&W--,r.edgepaths[W]=Q.concat(h,j));break}q||(r.edgepaths[N]=h.concat(j))}for(N=0;N20&&t?r===208||r===1114?n=s[0]===0?1:-1:f=s[1]===0?1:-1:E.BOTTOMSTART.indexOf(r)!==-1?f=1:E.LEFTSTART.indexOf(r)!==-1?n=1:E.TOPSTART.indexOf(r)!==-1?f=-1:n=-1,[n,f]}function m(r,t,s){var n=t[0]+Math.max(s[0],0),f=t[1]+Math.max(s[1],0),c=r.z[f][n],u=r.xaxis,b=r.yaxis;if(s[1]){var h=(r.level-c)/(r.z[f][n+1]-c),S=(h!==1?(1-h)*u.c2l(r.x[n]):0)+(h!==0?h*u.c2l(r.x[n+1]):0);return[u.c2p(u.l2c(S),!0),b.c2p(r.y[f],!0),n+h,f]}else{var v=(r.level-c)/(r.z[f+1][n]-c),l=(v!==1?(1-v)*b.c2l(r.y[f]):0)+(v!==0?v*b.c2l(r.y[f+1]):0);return[u.c2p(r.x[n],!0),b.c2p(b.l2c(l),!0),n,f+v]}}},52421:function(B,O,e){var p=e(7901),E=e(46248);B.exports=function(L,x,d,m,r){r||(r={}),r.isContour=!0;var t=E(L,x,d,m,r);return t&&t.forEach(function(s){var n=s.trace;n.contours.type==="constraint"&&(n.fillcolor&&p.opacity(n.fillcolor)?s.color=p.addOpacity(n.fillcolor,1):n.contours.showlines&&p.opacity(n.line.color)&&(s.color=p.addOpacity(n.line.color,1)))}),t}},99442:function(B,O,e){B.exports={attributes:e(70600),supplyDefaults:e(13031),calc:e(27529),plot:e(29854).plot,style:e(84426),colorbar:e(90654),hoverPoints:e(52421),moduleType:"trace",name:"contour",basePlotModule:e(93612),categories:["cartesian","svg","2dMap","contour","showLegend"],meta:{}}},14523:function(B,O,e){var p=e(71828);B.exports=function(a,L,x,d){d||(d={});var m=a("contours.showlabels");if(m){var r=L.font;p.coerceFont(a,"contours.labelfont",{family:r.family,size:r.size,color:x}),a("contours.labelformat")}d.hasHover!==!1&&a("zhoverformat")}},86068:function(B,O,e){var p=e(39898),E=e(21081),a=e(53572);B.exports=function(x){var d=x.contours,m=d.start,r=a(d),t=d.size||1,s=Math.floor((r-m)/t)+1,n=d.coloring==="lines"?0:1,f=E.extractOpts(x);isFinite(t)||(t=1,s=1);var c=f.reversescale?E.flipScale(f.colorscale):f.colorscale,u=c.length,b=new Array(u),h=new Array(u),S,v,l=f.min,g=f.max;if(d.coloring==="heatmap"){for(v=0;v=g)&&(m<=l&&(m=l),r>=g&&(r=g),s=Math.floor((r-m)/t)+1,n=0),v=0;vl&&(b.unshift(l),h.unshift(h[0])),b[b.length-1]a?0:1)+(L[0][1]>a?0:2)+(L[1][1]>a?0:4)+(L[1][0]>a?0:8);if(x===5||x===10){var d=(L[0][0]+L[0][1]+L[1][0]+L[1][1])/4;return a>d?x===5?713:1114:x===5?104:208}return x===15?0:x}},29854:function(B,O,e){var p=e(39898),E=e(71828),a=e(91424),L=e(21081),x=e(63893),d=e(89298),m=e(21994),r=e(50347),t=e(87678),s=e(81696),n=e(87558),f=e(84857),c=e(20083),u=e(36914),b=u.LABELOPTIMIZER;O.plot=function(T,P,A,o){var k=P.xaxis,w=P.yaxis;E.makeTraceGroups(o,A,"contour").each(function(U){var F=p.select(this),G=U[0],_=G.trace,H=G.x,V=G.y,N=_.contours,W=n(N,P,G),j=E.ensureSingle(F,"g","heatmapcoloring"),Q=[];N.coloring==="heatmap"&&(Q=[U]),r(T,P,Q,j),t(W),s(W);var ie=k.c2p(H[0],!0),ue=k.c2p(H[H.length-1],!0),pe=w.c2p(V[0],!0),q=w.c2p(V[V.length-1],!0),X=[[ie,q],[ue,q],[ue,pe],[ie,pe]],K=W;N.type==="constraint"&&(K=f(W,N._operation)),h(F,X,N),S(F,K,X,N),l(F,W,T,G,N),C(F,P,T,G,X)})};function h(D,T,P){var A=E.ensureSingle(D,"g","contourbg"),o=A.selectAll("path").data(P.coloring==="fill"?[0]:[]);o.enter().append("path"),o.exit().remove(),o.attr("d","M"+T.join("L")+"Z").style("stroke","none")}function S(D,T,P,A){var o=A.coloring==="fill"||A.type==="constraint"&&A._operation!=="=",k="M"+P.join("L")+"Z";o&&c(T,A);var w=E.ensureSingle(D,"g","contourfill"),U=w.selectAll("path").data(o?T:[]);U.enter().append("path"),U.exit().remove(),U.each(function(F){var G=(F.prefixBoundary?k:"")+v(F,P);G?p.select(this).attr("d",G).style("stroke","none"):p.select(this).remove()})}function v(D,T){var P="",A=0,o=D.edgepaths.map(function(ie,ue){return ue}),k=!0,w,U,F,G,_,H;function V(ie){return Math.abs(ie[1]-T[0][1])<.01}function N(ie){return Math.abs(ie[1]-T[2][1])<.01}function W(ie){return Math.abs(ie[0]-T[0][0])<.01}function j(ie){return Math.abs(ie[0]-T[2][0])<.01}for(;o.length;){for(H=a.smoothopen(D.edgepaths[A],D.smoothing),P+=k?H:H.replace(/^M/,"L"),o.splice(o.indexOf(A),1),w=D.edgepaths[A][D.edgepaths[A].length-1],G=-1,F=0;F<4;F++){if(!w){E.log("Missing end?",A,D);break}for(V(w)&&!j(w)?U=T[1]:W(w)?U=T[0]:N(w)?U=T[3]:j(w)&&(U=T[2]),_=0;_=0&&(U=Q,G=_):Math.abs(w[1]-U[1])<.01?Math.abs(w[1]-Q[1])<.01&&(Q[0]-w[0])*(U[0]-Q[0])>=0&&(U=Q,G=_):E.log("endpt to newendpt is not vert. or horz.",w,U,Q)}if(w=U,G>=0)break;P+="L"+U}if(G===D.edgepaths.length){E.log("unclosed perimeter path");break}A=G,k=o.indexOf(A)===-1,k&&(A=o[0],P+="Z")}for(A=0;Ab.MAXCOST*2)break;V&&(U/=2),w=G-U/2,F=w+U*1.5}if(H<=b.MAXCOST)return _};function g(D,T,P,A){var o=T.width/2,k=T.height/2,w=D.x,U=D.y,F=D.theta,G=Math.cos(F)*o,_=Math.sin(F)*o,H=(w>A.center?A.right-w:w-A.left)/(G+Math.abs(Math.sin(F)*k)),V=(U>A.middle?A.bottom-U:U-A.top)/(Math.abs(_)+Math.cos(F)*k);if(H<1||V<1)return 1/0;var N=b.EDGECOST*(1/(H-1)+1/(V-1));N+=b.ANGLECOST*F*F;for(var W=w-G,j=U-_,Q=w+G,ie=U+_,ue=0;uem.end&&(m.start=m.end=(m.start+m.end)/2),x._input.contours||(x._input.contours={}),E.extendFlat(x._input.contours,{start:m.start,end:m.end,size:m.size}),x._input.autocontour=!0}else if(m.type!=="constraint"){var n=m.start,f=m.end,c=x._input.contours;if(n>f&&(m.start=c.start=f,f=m.end=c.end=n,n=m.start),!(m.size>0)){var u;n===f?u=1:u=a(n,f,x.ncontours).dtick,c.size=m.size=u}}};function a(L,x,d){var m={type:"linear",range:[L,x]};return p.autoTicks(m,(x-L)/(d||15)),m}},84426:function(B,O,e){var p=e(39898),E=e(91424),a=e(70035),L=e(86068);B.exports=function(d){var m=p.select(d).selectAll("g.contour");m.style("opacity",function(r){return r[0].trace.opacity}),m.each(function(r){var t=p.select(this),s=r[0].trace,n=s.contours,f=s.line,c=n.size||1,u=n.start,b=n.type==="constraint",h=!b&&n.coloring==="lines",S=!b&&n.coloring==="fill",v=h||S?L(s):null;t.selectAll("g.contourlevel").each(function(C){p.select(this).selectAll("path").call(E.lineGroupStyle,f.width,h?v(C.level):f.color,f.dash)});var l=n.labelfont;if(t.selectAll("g.contourlabels text").each(function(C){E.font(p.select(this),{family:l.family,size:l.size,color:l.color||(h?v(C.level):f.color)})}),b)t.selectAll("g.contourfill path").style("fill",s.fillcolor);else if(S){var g;t.selectAll("g.contourfill path").style("fill",function(C){return g===void 0&&(g=C.level),v(C.level+.5*c)}),g===void 0&&(g=u),t.selectAll("g.contourbg path").style("fill",v(g-.5*c))}}),a(d)}},8724:function(B,O,e){var p=e(1586),E=e(14523);B.exports=function(L,x,d,m,r){var t=d("contours.coloring"),s,n="";t==="fill"&&(s=d("contours.showlines")),s!==!1&&(t!=="lines"&&(n=d("line.color","#000")),d("line.width",.5),d("line.dash")),t!=="none"&&(L.showlegend!==!0&&(x.showlegend=!1),x._dfltShowLegend=!1,p(L,x,m,d,{prefix:"",cLetter:"z"})),d("line.smoothing"),E(d,m,n,r)}},88085:function(B,O,e){var p=e(21606),E=e(70600),a=e(50693),L=e(1426).extendFlat,x=E.contours;B.exports=L({carpet:{valType:"string",editType:"calc"},z:p.z,a:p.x,a0:p.x0,da:p.dx,b:p.y,b0:p.y0,db:p.dy,text:p.text,hovertext:p.hovertext,transpose:p.transpose,atype:p.xtype,btype:p.ytype,fillcolor:E.fillcolor,autocontour:E.autocontour,ncontours:E.ncontours,contours:{type:x.type,start:x.start,end:x.end,size:x.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:x.showlines,showlabels:x.showlabels,labelfont:x.labelfont,labelformat:x.labelformat,operation:x.operation,value:x.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:E.line.color,width:E.line.width,dash:E.line.dash,smoothing:E.line.smoothing,editType:"plot"},transforms:void 0},a("",{cLetter:"z",autoColorDflt:!1}))},59885:function(B,O,e){var p=e(78803),E=e(71828),a=e(68296),L=e(4742),x=e(824),d=e(43907),m=e(70769),r=e(75005),t=e(22882),s=e(18670);B.exports=function(c,u){var b=u._carpetTrace=t(c,u);if(!(!b||!b.visible||b.visible==="legendonly")){if(!u.a||!u.b){var h=c.data[b.index],S=c.data[u.index];S.a||(S.a=h.a),S.b||(S.b=h.b),r(S,u,u._defaultColor,c._fullLayout)}var v=n(c,u);return s(u,u._z),v}};function n(f,c){var u=c._carpetTrace,b=u.aaxis,h=u.baxis,S,v,l,g,C,M,D;b._minDtick=0,h._minDtick=0,E.isArray1D(c.z)&&a(c,b,h,"a","b",["z"]),S=c._a=c._a||c.a,g=c._b=c._b||c.b,S=S?b.makeCalcdata(c,"_a"):[],g=g?h.makeCalcdata(c,"_b"):[],v=c.a0||0,l=c.da||1,C=c.b0||0,M=c.db||1,D=c._z=L(c._z||c.z,c.transpose),c._emptypoints=d(D),x(D,c._emptypoints);var T=E.maxRowLength(D),P=c.xtype==="scaled"?"":S,A=m(c,P,v,l,T,b),o=c.ytype==="scaled"?"":g,k=m(c,o,C,M,D.length,h),w={a:A,b:k,z:D};return c.contours.type==="levels"&&c.contours.coloring!=="none"&&p(f,c,{vals:D,containerStr:"",cLetter:"z"}),[w]}},75005:function(B,O,e){var p=e(71828),E=e(67684),a=e(88085),L=e(83179),x=e(67217),d=e(8724);B.exports=function(r,t,s,n){function f(h,S){return p.coerce(r,t,a,h,S)}function c(h){return p.coerce2(r,t,a,h)}if(f("carpet"),r.a&&r.b){var u=E(r,t,f,n,"a","b");if(!u){t.visible=!1;return}f("text");var b=f("contours.type")==="constraint";b?L(r,t,f,n,s,{hasHover:!1}):(x(r,t,f,c),d(r,t,f,n,{hasHover:!1}))}else t._defaultColor=s,t._length=null}},93740:function(B,O,e){B.exports={attributes:e(88085),supplyDefaults:e(75005),colorbar:e(90654),calc:e(59885),plot:e(51048),style:e(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:e(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(B,O,e){var p=e(39898),E=e(27669),a=e(67961),L=e(91424),x=e(71828),d=e(87678),m=e(81696),r=e(29854),t=e(36914),s=e(84857),n=e(87558),f=e(20083),c=e(22882),u=e(4536);B.exports=function(P,A,o,k){var w=A.xaxis,U=A.yaxis;x.makeTraceGroups(k,o,"contour").each(function(F){var G=p.select(this),_=F[0],H=_.trace,V=H._carpetTrace=c(P,H),N=P.calcdata[V.index][0];if(!V.visible||V.visible==="legendonly")return;var W=_.a,j=_.b,Q=H.contours,ie=n(Q,A,_),ue=Q.type==="constraint",pe=Q._operation,q=ue?pe==="="?"lines":"fill":Q.coloring;function X(Se){var Ee=V.ab2xy(Se[0],Se[1],!0);return[w.c2p(Ee[0]),U.c2p(Ee[1])]}var K=[[W[0],j[j.length-1]],[W[W.length-1],j[j.length-1]],[W[W.length-1],j[0]],[W[0],j[0]]];d(ie);var J=(W[W.length-1]-W[0])*1e-8,re=(j[j.length-1]-j[0])*1e-8;m(ie,J,re);var fe=ie;Q.type==="constraint"&&(fe=s(ie,pe)),b(ie,X);var te,ee,ce,le,me=[];for(le=N.clipsegments.length-1;le>=0;le--)te=N.clipsegments[le],ee=E([],te.x,w.c2p),ce=E([],te.y,U.c2p),ee.reverse(),ce.reverse(),me.push(a(ee,ce,te.bicubic));var we="M"+me.join("L")+"Z";C(G,N.clipsegments,w,U,ue,q),M(H,G,w,U,fe,K,X,V,N,q,we),h(G,ie,P,_,Q,A,V),L.setClipUrl(G,V._clipPathId,P)})};function b(T,P){var A,o,k,w,U,F,G,_,H;for(A=0;Aie&&(o.max=ie),o.len=o.max-o.min}function v(T,P,A){var o=T.getPointAtLength(P),k=T.getPointAtLength(A),w=k.x-o.x,U=k.y-o.y,F=Math.sqrt(w*w+U*U);return[w/F,U/F]}function l(T){var P=Math.sqrt(T[0]*T[0]+T[1]*T[1]);return[T[0]/P,T[1]/P]}function g(T,P){var A=Math.abs(T[0]*P[0]+T[1]*P[1]),o=Math.sqrt(1-A*A);return o/A}function C(T,P,A,o,k,w){var U,F,G,_,H=x.ensureSingle(T,"g","contourbg"),V=H.selectAll("path").data(w==="fill"&&!k?[0]:[]);V.enter().append("path"),V.exit().remove();var N=[];for(_=0;_=0&&(W=ee,Q=ie):Math.abs(N[1]-W[1])=0&&(W=ee,Q=ie):x.log("endpt to newendpt is not vert. or horz.",N,W,ee)}if(Q>=0)break;_+=fe(N,W),N=W}if(Q===P.edgepaths.length){x.log("unclosed perimeter path");break}G=Q,V=H.indexOf(G)===-1,V&&(G=H[0],_+=fe(N,W)+"Z",N=null)}for(G=0;G0?+h[u]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:g},properties:C})}}var D=L.extractOpts(t),T=D.reversescale?L.flipScale(D.colorscale):D.colorscale,P=T[0][1],A=a.opacity(P)<1?P:a.addOpacity(P,0),o=["interpolate",["linear"],["heatmap-density"],0,A];for(u=1;u=0;m--)x.removeLayer(d[m][1])},L.dispose=function(){var x=this.subplot.map;this._removeLayers(),x.removeSource(this.sourceId)},B.exports=function(d,m){var r=m[0].trace,t=new a(d,r.uid),s=t.sourceId,n=p(m),f=t.below=d.belowLookup["trace-"+r.uid];return d.map.addSource(s,{type:"geojson",data:n.geojson}),t._addLayers(n,f),t}},49789:function(B,O,e){var p=e(71828);B.exports=function(a,L){for(var x=0;x"),n.color=L(c,h),[n]}};function L(x,d){var m=x.marker,r=d.mc||m.color,t=d.mlc||m.line.color,s=d.mlw||m.line.width;if(p(r))return r;if(p(t)&&s)return t}},51759:function(B,O,e){B.exports={attributes:e(1285),layoutAttributes:e(10440),supplyDefaults:e(26199).supplyDefaults,crossTraceDefaults:e(26199).crossTraceDefaults,supplyLayoutDefaults:e(93138),calc:e(9532),crossTraceCalc:e(8984),plot:e(80461),style:e(68266).style,hoverPoints:e(63341),eventData:e(34598),selectPoints:e(81974),moduleType:"trace",name:"funnel",basePlotModule:e(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(B){B.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(B,O,e){var p=e(71828),E=e(10440);B.exports=function(a,L,x){var d=!1;function m(s,n){return p.coerce(a,L,E,s,n)}for(var r=0;r path").each(function(h){if(!h.isBlank){var S=b.marker;p.select(this).call(a.fill,h.mc||S.color).call(a.stroke,h.mlc||S.line.color).call(E.dashLine,S.line.dash,h.mlw||S.line.width).style("opacity",b.selectedpoints&&!h.selected?L:1)}}),m(u,b,t),u.selectAll(".regions").each(function(){p.select(this).selectAll("path").style("stroke-width",0).call(a.fill,b.connector.fillcolor)}),u.selectAll(".lines").each(function(){var h=b.connector.line;E.lineGroupStyle(p.select(this).selectAll("path"),h.width,h.color,h.dash)})})}B.exports={style:r}},86807:function(B,O,e){var p=e(34e3),E=e(9012),a=e(27670).Y,L=e(5386).fF,x=e(5386).si,d=e(1426).extendFlat;B.exports={labels:p.labels,label0:p.label0,dlabel:p.dlabel,values:p.values,marker:{colors:p.marker.colors,line:{color:d({},p.marker.line.color,{dflt:null}),width:d({},p.marker.line.width,{dflt:1}),editType:"calc"},pattern:p.marker.pattern,editType:"calc"},text:p.text,hovertext:p.hovertext,scalegroup:d({},p.scalegroup,{}),textinfo:d({},p.textinfo,{flags:["label","text","value","percent"]}),texttemplate:x({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:d({},E.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:L({},{keys:["label","color","value","text","percent"]}),textposition:d({},p.textposition,{values:["inside","none"],dflt:"inside"}),textfont:p.textfont,insidetextfont:p.insidetextfont,title:{text:p.title.text,font:p.title.font,position:d({},p.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:a({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(B,O,e){var p=e(74875);O.name="funnelarea",O.plot=function(E,a,L,x){p.plotBasePlot(O.name,E,a,L,x)},O.clean=function(E,a,L,x){p.cleanBasePlot(O.name,E,a,L,x)}},89574:function(B,O,e){var p=e(32354);function E(L,x){return p.calc(L,x)}function a(L){p.crossTraceCalc(L,{type:"funnelarea"})}B.exports={calc:E,crossTraceCalc:a}},86282:function(B,O,e){var p=e(71828),E=e(86807),a=e(27670).c,L=e(90769).handleText,x=e(37434).handleLabelsAndValues,d=e(37434).handleMarkerDefaults;B.exports=function(r,t,s,n){function f(M,D){return p.coerce(r,t,E,M,D)}var c=f("labels"),u=f("values"),b=x(c,u),h=b.len;if(t._hasLabels=b.hasLabels,t._hasValues=b.hasValues,!t._hasLabels&&t._hasValues&&(f("label0"),f("dlabel")),!h){t.visible=!1;return}t._length=h,d(r,t,n,f),f("scalegroup");var S=f("text"),v=f("texttemplate"),l;if(v||(l=f("textinfo",Array.isArray(S)?"text+percent":"percent")),f("hovertext"),f("hovertemplate"),v||l&&l!=="none"){var g=f("textposition");L(r,t,n,f,g,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}a(t,n,f);var C=f("title.text");C&&(f("title.position"),p.coerceFont(f,"title.font",n.font)),f("aspectratio"),f("baseratio")}},10421:function(B,O,e){B.exports={moduleType:"trace",name:"funnelarea",basePlotModule:e(6452),categories:["pie-like","funnelarea","showLegend"],attributes:e(86807),layoutAttributes:e(80097),supplyDefaults:e(86282),supplyLayoutDefaults:e(57402),calc:e(89574).calc,crossTraceCalc:e(89574).crossTraceCalc,plot:e(79187),style:e(71858),styleOne:e(63463),meta:{}}},80097:function(B,O,e){var p=e(92774).hiddenlabels;B.exports={hiddenlabels:p,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(B,O,e){var p=e(71828),E=e(80097);B.exports=function(L,x){function d(m,r){return p.coerce(L,x,E,m,r)}d("hiddenlabels"),d("funnelareacolorway",x.colorway),d("extendfunnelareacolors")}},79187:function(B,O,e){var p=e(39898),E=e(91424),a=e(71828),L=a.strScale,x=a.strTranslate,d=e(63893),m=e(17295),r=m.toMoveInsideBar,t=e(72597),s=t.recordMinTextSize,n=t.clearMinTextSize,f=e(53581),c=e(14575),u=c.attachFxHandlers,b=c.determineInsideTextFont,h=c.layoutAreas,S=c.prerenderTitles,v=c.positionTitleOutside,l=c.formatSliceLabel;B.exports=function(T,P){var A=T._context.staticPlot,o=T._fullLayout;n("funnelarea",o),S(P,T),h(P,o._size),a.makeTraceGroups(o._funnelarealayer,P,"trace").each(function(k){var w=p.select(this),U=k[0],F=U.trace;M(k),w.each(function(){var G=p.select(this).selectAll("g.slice").data(k);G.enter().append("g").classed("slice",!0),G.exit().remove(),G.each(function(H,V){if(H.hidden){p.select(this).selectAll("path,g").remove();return}H.pointNumber=H.i,H.curveNumber=F.index;var N=U.cx,W=U.cy,j=p.select(this),Q=j.selectAll("path.surface").data([H]);Q.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),j.call(u,T,k);var ie="M"+(N+H.TR[0])+","+(W+H.TR[1])+g(H.TR,H.BR)+g(H.BR,H.BL)+g(H.BL,H.TL)+"Z";Q.attr("d",ie),l(T,H,U);var ue=f.castOption(F.textposition,H.pts),pe=j.selectAll("g.slicetext").data(H.text&&ue!=="none"?[0]:[]);pe.enter().append("g").classed("slicetext",!0),pe.exit().remove(),pe.each(function(){var q=a.ensureSingle(p.select(this),"text","",function(ce){ce.attr("data-notex",1)}),X=a.ensureUniformFontSize(T,b(F,H,o.font));q.text(H.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(E.font,X).call(d.convertToTspans,T);var K=E.bBox(q.node()),J,re,fe,te=Math.min(H.BL[1],H.BR[1])+W,ee=Math.max(H.TL[1],H.TR[1])+W;re=Math.max(H.TL[0],H.BL[0])+N,fe=Math.min(H.TR[0],H.BR[0])+N,J=r(re,fe,te,ee,K,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"}),J.fontSize=X.size,s(F.type,J,o),k[V].transform=J,a.setTransormAndDisplay(q,J)})});var _=p.select(this).selectAll("g.titletext").data(F.title.text?[0]:[]);_.enter().append("g").classed("titletext",!0),_.exit().remove(),_.each(function(){var H=a.ensureSingle(p.select(this),"text","",function(W){W.attr("data-notex",1)}),V=F.title.text;F._meta&&(V=a.templateString(V,F._meta)),H.text(V).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(E.font,F.title.font).call(d.convertToTspans,T);var N=v(U,o._size);H.attr("transform",x(N.x,N.y)+L(Math.min(1,N.scale))+x(N.tx,N.ty))})})})};function g(D,T){var P=T[0]-D[0],A=T[1]-D[1];return"l"+P+","+A}function C(D,T){return[.5*(D[0]+T[0]),.5*(D[1]+T[1])]}function M(D){if(!D.length)return;var T=D[0],P=T.trace,A=P.aspectratio,o=P.baseratio;o>.999&&(o=.999);var k=Math.pow(o,2),w=T.vTotal,U=w*k/(1-k),F=w,G=U/w;function _(){var le=Math.sqrt(G);return{x:le,y:-le}}function H(){var le=_();return[le.x,le.y]}var V,N=[];N.push(H());var W,j;for(W=D.length-1;W>-1;W--)if(j=D[W],!j.hidden){var Q=j.v/F;G+=Q,N.push(H())}var ie=1/0,ue=-1/0;for(W=0;W-1;W--)if(j=D[W],!j.hidden){te+=1;var ee=N[te][0],ce=N[te][1];j.TL=[-ee,ce],j.TR=[ee,ce],j.BL=re,j.BR=fe,j.pxmid=C(j.TR,j.BR),re=j.TL,fe=j.TR}}},71858:function(B,O,e){var p=e(39898),E=e(63463),a=e(72597).resizeText;B.exports=function(x){var d=x._fullLayout._funnelarealayer.selectAll(".trace");a(x,d,"funnelarea"),d.each(function(m){var r=m[0],t=r.trace,s=p.select(this);s.style({opacity:t.opacity}),s.selectAll("path.surface").each(function(n){p.select(this).call(E,n,t,x)})})}},21606:function(B,O,e){var p=e(82196),E=e(9012),a=e(41940),L=e(12663).axisHoverFormat,x=e(5386).fF,d=e(5386).si,m=e(50693),r=e(1426).extendFlat;B.exports=r({z:{valType:"data_array",editType:"calc"},x:r({},p.x,{impliedEdits:{xtype:"array"}}),x0:r({},p.x0,{impliedEdits:{xtype:"scaled"}}),dx:r({},p.dx,{impliedEdits:{xtype:"scaled"}}),y:r({},p.y,{impliedEdits:{ytype:"array"}}),y0:r({},p.y0,{impliedEdits:{ytype:"scaled"}}),dy:r({},p.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:r({},p.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:r({},p.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:r({},p.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:r({},p.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:r({},p.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:r({},p.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:L("x"),yhoverformat:L("y"),zhoverformat:L("z",1),hovertemplate:x(),texttemplate:d({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:a({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:r({},E.showlegend,{dflt:!1})},{transforms:void 0},m("",{cLetter:"z",autoColorDflt:!1}))},90757:function(B,O,e){var p=e(73972),E=e(71828),a=e(89298),L=e(42973),x=e(17562),d=e(78803),m=e(68296),r=e(4742),t=e(824),s=e(43907),n=e(70769),f=e(50606).BADNUM;B.exports=function(h,S){var v=a.getFromId(h,S.xaxis||"x"),l=a.getFromId(h,S.yaxis||"y"),g=p.traceIs(S,"contour"),C=p.traceIs(S,"histogram"),M=p.traceIs(S,"gl2d"),D=g?"best":S.zsmooth,T,P,A,o,k,w,U,F,G,_,H;if(v._minDtick=0,l._minDtick=0,C)H=x(h,S),o=H.orig_x,T=H.x,P=H.x0,A=H.dx,F=H.orig_y,k=H.y,w=H.y0,U=H.dy,G=H.z;else{var V=S.z;E.isArray1D(V)?(m(S,v,l,"x","y",["z"]),T=S._x,k=S._y,V=S._z):(o=S.x?v.makeCalcdata(S,"x"):[],F=S.y?l.makeCalcdata(S,"y"):[],T=L(S,v,"x",o).vals,k=L(S,l,"y",F).vals,S._x=T,S._y=k),P=S.x0,A=S.dx,w=S.y0,U=S.dy,G=r(V,S,v,l)}(v.rangebreaks||l.rangebreaks)&&(G=u(T,k,G),C||(T=c(T),k=c(k),S._x=T,S._y=k)),!C&&(g||S.connectgaps)&&(S._emptypoints=s(G),t(G,S._emptypoints));function N(K){D=S._input.zsmooth=S.zsmooth=!1,E.warn('cannot use zsmooth: "fast": '+K)}function W(K){if(K.length>1){var J=(K[K.length-1]-K[0])/(K.length-1),re=Math.abs(J/100);for(_=0;_re)return!1}return!0}S._islinear=!1,v.type==="log"||l.type==="log"?D==="fast"&&N("log axis found"):W(T)?W(k)?S._islinear=!0:D==="fast"&&N("y scale is not linear"):D==="fast"&&N("x scale is not linear");var j=E.maxRowLength(G),Q=S.xtype==="scaled"?"":T,ie=n(S,Q,P,A,j,v),ue=S.ytype==="scaled"?"":k,pe=n(S,ue,w,U,G.length,l);M||(S._extremes[v._id]=a.findExtremes(v,ie),S._extremes[l._id]=a.findExtremes(l,pe));var q={x:ie,y:pe,z:G,text:S._text||S.text,hovertext:S._hovertext||S.hovertext};if(S.xperiodalignment&&o&&(q.orig_x=o),S.yperiodalignment&&F&&(q.orig_y=F),Q&&Q.length===ie.length-1&&(q.xCenter=Q),ue&&ue.length===pe.length-1&&(q.yCenter=ue),C&&(q.xRanges=H.xRanges,q.yRanges=H.yRanges,q.pts=H.pts),g||d(h,S,{vals:G,cLetter:"z"}),g&&S.contours&&S.contours.coloring==="heatmap"){var X={type:S.type==="contour"?"heatmap":"histogram2d",xcalendar:S.xcalendar,ycalendar:S.ycalendar};q.xfill=n(X,Q,P,A,j,v),q.yfill=n(X,ue,w,U,G.length,l)}return[q]};function c(b){for(var h=[],S=b.length,v=0;v=0;b--)u=d[b],f=u[0],c=u[1],h=((x[[f-1,c]]||t)[2]+(x[[f+1,c]]||t)[2]+(x[[f,c-1]]||t)[2]+(x[[f,c+1]]||t)[2])/20,h&&(S[u]=[f,c,h],d.splice(b,1),v=!0);if(!v)throw"findEmpties iterated with no new neighbors";for(u in S)x[u]=S[u],L.push(S[u])}return L.sort(function(l,g){return g[2]-l[2]})}},46248:function(B,O,e){var p=e(30211),E=e(71828),a=e(89298),L=e(21081).extractOpts;B.exports=function(d,m,r,t,s){s||(s={});var n=s.isContour,f=d.cd[0],c=f.trace,u=d.xa,b=d.ya,h=f.x,S=f.y,v=f.z,l=f.xCenter,g=f.yCenter,C=f.zmask,M=c.zhoverformat,D=h,T=S,P,A,o,k;if(d.index!==!1){try{o=Math.round(d.index[1]),k=Math.round(d.index[0])}catch{E.error("Error hovering on heatmap, pointNumber must be [row,col], found:",d.index);return}if(o<0||o>=v[0].length||k<0||k>v.length)return}else{if(p.inbox(m-h[0],m-h[h.length-1],0)>0||p.inbox(r-S[0],r-S[S.length-1],0)>0)return;if(n){var w;for(D=[2*h[0]-h[1]],w=1;wE;s++)t=x(m,r,L(t));return t>E&&p.log("interp2d didn't converge quickly",t),m};function x(d,m,r){var t=0,s,n,f,c,u,b,h,S,v,l,g,C,M;for(c=0;cC&&(t=Math.max(t,Math.abs(d[n][f]-g)/(M-C))))}return t}},58623:function(B,O,e){var p=e(71828);B.exports=function(a,L){a("texttemplate");var x=p.extendFlat({},L.font,{color:"auto",size:"auto"});p.coerceFont(a,"textfont",x)}},70769:function(B,O,e){var p=e(73972),E=e(71828).isArrayOrTypedArray;B.exports=function(L,x,d,m,r,t){var s=[],n=p.traceIs(L,"contour"),f=p.traceIs(L,"histogram"),c=p.traceIs(L,"gl2d"),u,b,h,S=E(x)&&x.length>1;if(S&&!f&&t.type!=="category"){var v=x.length;if(v<=r){if(n||c)s=x.slice(0,r);else if(r===1)s=[x[0]-.5,x[0]+.5];else{for(s=[1.5*x[0]-.5*x[1]],h=1;h0;)re=o.c2p(N[ce]),ce--;for(re0;)ee=k.c2p(W[ce]),ce--;ee=o._length||re<=0||te>=k._length||ee<=0;if(Ye){var De=U.selectAll("image").data([]);De.exit().remove(),l(U);return}var Te,Re;we==="fast"?(Te=q,Re=pe):(Te=Ee,Re=We);var Xe=document.createElement("canvas");Xe.width=Te,Xe.height=Re;var Je=Xe.getContext("2d",{willReadFrequently:!0}),He=n(G,{noNumericCheck:!0,returnArray:!0}),$e,pt;we==="fast"?($e=X?function(dn){return q-1-dn}:d.identity,pt=K?function(dn){return pe-1-dn}:d.identity):($e=function(dn){return d.constrain(Math.round(o.c2p(N[dn])-J),0,Ee)},pt=function(dn){return d.constrain(Math.round(k.c2p(W[dn])-te),0,We)});var ut=pt(0),lt=[ut,ut],ke=X?0:1,Ne=K?0:1,gt=0,qe=0,vt=0,Bt=0,Yt,it,Ue,_e,Ze;function Fe(dn,zn){if(dn!==void 0){var gn=He(dn);return gn[0]=Math.round(gn[0]),gn[1]=Math.round(gn[1]),gn[2]=Math.round(gn[2]),gt+=zn,qe+=gn[0]*zn,vt+=gn[1]*zn,Bt+=gn[2]*zn,gn}return[0,0,0,0]}function Ce(dn,zn,gn,Fn){var fa=dn[gn.bin0];if(fa===void 0)return Fe(void 0,1);var Ma=dn[gn.bin1],Sa=zn[gn.bin0],_a=zn[gn.bin1],qn=Ma-fa||0,La=Sa-fa||0,Xr;return Ma===void 0?_a===void 0?Xr=0:Sa===void 0?Xr=2*(_a-fa):Xr=(2*_a-Sa-fa)*2/3:_a===void 0?Sa===void 0?Xr=0:Xr=(2*fa-Ma-Sa)*2/3:Sa===void 0?Xr=(2*_a-Ma-fa)*2/3:Xr=_a+fa-Ma-Sa,Fe(fa+gn.frac*qn+Fn.frac*(La+gn.frac*Xr))}if(we!=="default"){var ve=0,Ie;try{Ie=new Uint8Array(Te*Re*4)}catch{Ie=new Array(Te*Re*4)}if(we==="smooth"){var Ae=j||N,je=Q||W,ot=new Array(Ae.length),ct=new Array(je.length),Et=new Array(Ee),kt=j?C:g,nr=Q?C:g,dr,Dt,$t;for(ce=0;ceFr||Fr>k._length))for(le=qt;leet||et>o._length)){var Wt=r({x:tt,y:mr},G,D._fullLayout);Wt.x=tt,Wt.y=mr;var Gt=F.z[ce][le];Gt===void 0?(Wt.z="",Wt.zLabel=""):(Wt.z=Gt,Wt.zLabel=x.tickText(Rt,Gt,"hover").text);var or=F.text&&F.text[ce]&&F.text[ce][le];(or===void 0||or===!1)&&(or=""),Wt.text=or;var wr=d.texttemplateString(Mt,Wt,D._fullLayout._d3locale,Wt,G._meta||{});if(wr){var Tr=wr.split("
"),br=Tr.length,Kt=0;for(me=0;me0&&(r=!0);for(var f=0;fd){var m=d-L[E];return L[E]=d,m}}else return L[E]=d,d;return 0},max:function(E,a,L,x){var d=x[a];if(p(d))if(d=Number(d),p(L[E])){if(L[E]P&&PL){var k=A===E?1:6,w=A===E?"M12":"M1";return function(U,F){var G=S.c2d(U,E,v),_=G.indexOf("-",k);_>0&&(G=G.substr(0,_));var H=S.d2c(G,0,v);if(Hm?c>L?c>E*1.1?E:c>a*1.1?a:L:c>x?x:c>d?d:m:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function n(c,u,b,h,S,v){if(h&&c>L){var l=f(u,S,v),g=f(b,S,v),C=c===E?0:1;return l[C]!==g[C]}return Math.floor(b/c)-Math.floor(u/c)>.1}function f(c,u,b){var h=u.c2d(c,E,b).split("-");return h[0]===""&&(h.unshift(),h[0]="-"+h[0]),h}},72138:function(B,O,e){var p=e(92770),E=e(71828),a=e(73972),L=e(89298),x=e(75341),d=e(59575),m=e(36362),r=e(42174),t=e(40965);function s(b,h){var S=[],v=[],l=h.orientation==="h",g=L.getFromId(b,l?h.yaxis:h.xaxis),C=l?"y":"x",M={x:"y",y:"x"}[C],D=h[C+"calendar"],T=h.cumulative,P,A=n(b,h,g,C),o=A[0],k=A[1],w=typeof o.size=="string",U=[],F=w?U:o,G=[],_=[],H=[],V=0,N=h.histnorm,W=h.histfunc,j=N.indexOf("density")!==-1,Q,ie,ue;T.enabled&&j&&(N=N.replace(/ ?density$/,""),j=!1);var pe=W==="max"||W==="min",q=pe?null:0,X=d.count,K=m[N],J=!1,re=function(Je){return g.r2c(Je,0,D)},fe;for(E.isArrayOrTypedArray(h[M])&&W!=="count"&&(fe=h[M],J=W==="avg",X=d[W]),P=re(o.start),ie=re(o.end)+(P-L.tickIncrement(P,o.size,!1,D))/1e6;P=0&&ue=Te;P--)if(v[P]){Re=P;break}for(P=Te;P<=Re;P++)if(p(S[P])&&p(v[P])){var Xe={p:S[P],s:v[P],b:0};T.enabled||(Xe.pts=H[P],le?Xe.ph0=Xe.ph1=H[P].length?k[H[P][0]]:S[P]:(h._computePh=!0,Xe.ph0=We(U[P]),Xe.ph1=We(U[P+1],!0))),De.push(Xe)}return De.length===1&&(De[0].width1=L.tickIncrement(De[0].p,o.size,!1,D)-De[0].p),x(De,h),E.isArrayOrTypedArray(h.selectedpoints)&&E.tagSelected(De,h,Se),De}function n(b,h,S,v,l){var g=v+"bins",C=b._fullLayout,M=h["_"+v+"bingroup"],D=C._histogramBinOpts[M],T=C.barmode==="overlay",P,A,o,k,w,U,F,G=function(Ee){return S.r2c(Ee,0,k)},_=function(Ee){return S.c2r(Ee,0,k)},H=S.type==="date"?function(Ee){return Ee||Ee===0?E.cleanDate(Ee,null,k):null}:function(Ee){return p(Ee)?Number(Ee):null};function V(Ee,We,Ye){We[Ee+"Found"]?(We[Ee]=H(We[Ee]),We[Ee]===null&&(We[Ee]=Ye[Ee])):(U[Ee]=We[Ee]=Ye[Ee],E.nestedProperty(A[0],g+"."+Ee).set(Ye[Ee]))}if(h["_"+v+"autoBinFinished"])delete h["_"+v+"autoBinFinished"];else{A=D.traces;var N=[],W=!0,j=!1,Q=!1;for(P=0;P"u"){if(l)return[ue,w,!0];ue=f(b,h,S,v,g)}F=o.cumulative||{},F.enabled&&F.currentbin!=="include"&&(F.direction==="decreasing"?ue.start=_(L.tickIncrement(G(ue.start),ue.size,!0,k)):ue.end=_(L.tickIncrement(G(ue.end),ue.size,!1,k))),D.size=ue.size,D.sizeFound||(U.size=ue.size,E.nestedProperty(A[0],g+".size").set(ue.size)),V("start",D,ue),V("end",D,ue)}w=h["_"+v+"pos0"],delete h["_"+v+"pos0"];var q=h._input[g]||{},X=E.extendFlat({},D),K=D.start,J=S.r2l(q.start),re=J!==void 0;if((D.startFound||re)&&J!==S.r2l(K)){var fe=re?J:E.aggNums(Math.min,null,w),te={type:S.type==="category"||S.type==="multicategory"?"linear":S.type,r2l:S.r2l,dtick:D.size,tick0:K,calendar:k,range:[fe,L.tickIncrement(fe,D.size,!1,k)].map(S.l2r)},ee=L.tickFirst(te);ee>S.r2l(fe)&&(ee=L.tickIncrement(ee,D.size,!0,k)),X.start=S.l2r(ee),re||E.nestedProperty(h,g+".start").set(X.start)}var ce=D.end,le=S.r2l(q.end),me=le!==void 0;if((D.endFound||me)&&le!==S.r2l(ce)){var we=me?le:E.aggNums(Math.max,null,w);X.end=S.l2r(we),me||E.nestedProperty(h,g+".start").set(X.end)}var Se="autobin"+v;return h._input[Se]===!1&&(h._input[g]=E.extendFlat({},h[g]||{}),delete h._input[Se],delete h[Se]),[X,w]}function f(b,h,S,v,l){var g=b._fullLayout,C=c(b,h),M=!1,D=1/0,T=[h],P,A,o;for(P=0;P=0;v--)M(v);else if(h==="increasing"){for(v=1;v=0;v--)b[v]+=b[v+1];S==="exclude"&&(b.push(0),b.shift())}}B.exports={calc:s,calcAllAutoBins:n}},72406:function(B){B.exports={eventDataKeys:["binNumber"]}},82222:function(B,O,e){var p=e(71828),E=e(41675),a=e(73972).traceIs,L=e(26125),x=p.nestedProperty,d=e(99082).getAxisGroup,m=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],r=["x","y"];B.exports=function(s,n){var f=n._histogramBinOpts={},c=[],u={},b=[],h,S,v,l,g,C,M;function D(Q,ie){return p.coerce(h._input,h,h._module.attributes,Q,ie)}function T(Q){return Q.orientation==="v"?"x":"y"}function P(Q,ie){var ue=E.getFromTrace({_fullLayout:n},Q,ie);return ue.type}function A(Q,ie,ue){var pe=Q.uid+"__"+ue;ie||(ie=pe);var q=P(Q,ue),X=Q[ue+"calendar"]||"",K=f[ie],J=!0;K&&(q===K.axType&&X===K.calendar?(J=!1,K.traces.push(Q),K.dirs.push(ue)):(ie=pe,q!==K.axType&&p.warn(["Attempted to group the bins of trace",Q.index,"set on a","type:"+q,"axis","with bins on","type:"+K.axType,"axis."].join(" ")),X!==K.calendar&&p.warn(["Attempted to group the bins of trace",Q.index,"set with a",X,"calendar","with bins",K.calendar?"on a "+K.calendar+" calendar":"w/o a set calendar"].join(" ")))),J&&(f[ie]={traces:[Q],dirs:[ue],axType:q,calendar:Q[ue+"calendar"]||""}),Q["_"+ue+"bingroup"]=ie}for(g=0;gG&&k.splice(G,k.length-G),F.length>G&&F.splice(G,F.length-G);var _=[],H=[],V=[],N=typeof o.size=="string",W=typeof U.size=="string",j=[],Q=[],ie=N?j:o,ue=W?Q:U,pe=0,q=[],X=[],K=c.histnorm,J=c.histfunc,re=K.indexOf("density")!==-1,fe=J==="max"||J==="min",te=fe?null:0,ee=a.count,ce=L[K],le=!1,me=[],we=[],Se="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";Se&&J!=="count"&&(le=J==="avg",ee=a[J]);var Ee=o.size,We=v(o.start),Ye=v(o.end)+(We-E.tickIncrement(We,Ee,!1,h))/1e6;for(M=We;M=0&&T=0&&P-1,flipY:H.tiling.flip.indexOf("y")>-1,orientation:H.tiling.orientation,pad:{inner:H.tiling.pad},maxDepth:H._maxDepth}),Q=j.descendants(),ie=1/0,ue=-1/0;Q.forEach(function(J){var re=J.depth;re>=H._maxDepth?(J.x0=J.x1=(J.x0+J.x1)/2,J.y0=J.y1=(J.y0+J.y1)/2):(ie=Math.min(ie,re),ue=Math.max(ue,re))}),h=h.data(Q,r.getPtId),H._maxVisibleLayers=isFinite(ue)?ue-ie+1:0,h.enter().append("g").classed("slice",!0),A(h,n,U,[v,l],M),h.order();var pe=null;if(P&&w){var q=r.getPtId(w);h.each(function(J){pe===null&&r.getPtId(J)===q&&(pe={x0:J.x0,x1:J.x1,y0:J.y0,y1:J.y1})})}var X=function(){return pe||{x0:0,x1:v,y0:0,y1:l}},K=h;return P&&(K=K.transition().each("end",function(){var J=p.select(this);r.setSliceCursor(J,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),K.each(function(J){J._x0=g(J.x0),J._x1=g(J.x1),J._y0=C(J.y0),J._y1=C(J.y1),J._hoverX=g(J.x1-H.tiling.pad),J._hoverY=C(W?J.y1-H.tiling.pad/2:J.y0+H.tiling.pad/2);var re=p.select(this),fe=E.ensureSingle(re,"path","surface",function(le){le.style("pointer-events",F?"none":"all")});P?fe.transition().attrTween("d",function(le){var me=o(le,n,X(),[v,l],{orientation:H.tiling.orientation,flipX:H.tiling.flip.indexOf("x")>-1,flipY:H.tiling.flip.indexOf("y")>-1});return function(we){return M(me(we))}}):fe.attr("d",M),re.call(t,b,c,u,{styleOne:d,eventDataKeys:m.eventDataKeys,transitionTime:m.CLICK_TRANSITION_TIME,transitionEasing:m.CLICK_TRANSITION_EASING}).call(r.setSliceCursor,c,{isTransitioning:c._transitioning}),fe.call(d,J,H,c,{hovered:!1}),J.x0===J.x1||J.y0===J.y1?J._text="":J._text=s(J,b,H,u,G)||"";var te=E.ensureSingle(re,"g","slicetext"),ee=E.ensureSingle(te,"text","",function(le){le.attr("data-notex",1)}),ce=E.ensureUniformFontSize(c,r.determineTextFont(H,J,G.font));ee.text(J._text||" ").classed("slicetext",!0).attr("text-anchor",N?"end":V?"start":"middle").call(a.font,ce).call(L.convertToTspans,c),J.textBB=a.bBox(ee.node()),J.transform=D(J,{fontSize:ce.size}),J.transform.fontSize=ce.size,P?ee.transition().attrTween("transform",function(le){var me=k(le,n,X(),[v,l]);return function(we){return T(me(we))}}):ee.attr("transform",T(J))}),pe}},69816:function(B,O,e){B.exports={moduleType:"trace",name:"icicle",basePlotModule:e(96346),categories:[],animatable:!0,attributes:e(46291),layoutAttributes:e(92894),supplyDefaults:e(56524),supplyLayoutDefaults:e(21070),calc:e(46584).y,crossTraceCalc:e(46584).T,plot:e(85596),style:e(82454).style,colorbar:e(4898),meta:{}}},92894:function(B){B.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(B,O,e){var p=e(71828),E=e(92894);B.exports=function(L,x){function d(m,r){return p.coerce(L,x,E,m,r)}d("iciclecolorway",x.colorway),d("extendiciclecolors")}},21538:function(B,O,e){var p=e(674),E=e(14102);B.exports=function(L,x,d){var m=d.flipX,r=d.flipY,t=d.orientation==="h",s=d.maxDepth,n=x[0],f=x[1];s&&(n=(L.height+1)*x[0]/Math.min(L.height+1,s),f=(L.height+1)*x[1]/Math.min(L.height+1,s));var c=p.partition().padding(d.pad.inner).size(t?[x[1],n]:[x[0],f])(L);return(t||m||r)&&E(c,x,{swapXY:t,flipX:m,flipY:r}),c}},85596:function(B,O,e){var p=e(80694),E=e(90666);B.exports=function(L,x,d,m){return p(L,x,d,m,{type:"icicle",drawDescendants:E})}},82454:function(B,O,e){var p=e(39898),E=e(7901),a=e(71828),L=e(72597).resizeText,x=e(43467);function d(r){var t=r._fullLayout._iciclelayer.selectAll(".trace");L(r,t,"icicle"),t.each(function(s){var n=p.select(this),f=s[0],c=f.trace;n.style("opacity",c.opacity),n.selectAll("path.surface").each(function(u){p.select(this).call(m,u,c,r)})})}function m(r,t,s,n){var f=t.data.data,c=!t.children,u=f.i,b=a.castOption(s,u,"marker.line.color")||E.defaultLine,h=a.castOption(s,u,"marker.line.width")||0;r.call(x,t,s,n).style("stroke-width",h).call(E.stroke,b).style("opacity",c?s.leaf.opacity:null)}B.exports={style:d,styleOne:m}},17230:function(B,O,e){for(var p=e(9012),E=e(5386).fF,a=e(1426).extendFlat,L=e(51877).colormodel,x=["rgb","rgba","rgba256","hsl","hsla"],d=[],m=[],r=0;r0||p.inbox(m-r.y0,m-(r.y0+r.h*t.dy),0)>0)){var f=Math.floor((d-r.x0)/t.dx),c=Math.floor(Math.abs(m-r.y0)/t.dy),u;if(t._hasZ?u=r.z[c][f]:t._hasSource&&(u=t._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(f,c,1,1).data),!!u){var b=r.hi||t.hoverinfo,h;if(b){var S=b.split("+");S.indexOf("all")!==-1&&(S=["color"]),S.indexOf("color")!==-1&&(h=!0)}var v=a.colormodel[t.colormodel],l=v.colormodel||t.colormodel,g=l.length,C=t._scaler(u),M=v.suffix,D=[];(t.hovertemplate||h)&&(D.push("["+[C[0]+M[0],C[1]+M[1],C[2]+M[2]].join(", ")),g===4&&D.push(", "+C[3]+M[3]),D.push("]"),D=D.join(""),x.extraText=l.toUpperCase()+": "+D);var T;Array.isArray(t.hovertext)&&Array.isArray(t.hovertext[c])?T=t.hovertext[c][f]:Array.isArray(t.text)&&Array.isArray(t.text[c])&&(T=t.text[c][f]);var P=n.c2p(r.y0+(c+.5)*t.dy),A=r.x0+(f+.5)*t.dx,o=r.y0+(c+.5)*t.dy,k="["+u.slice(0,t.colormodel.length).join(", ")+"]";return[E.extendFlat(x,{index:[c,f],x0:s.c2p(r.x0+f*t.dx),x1:s.c2p(r.x0+(f+1)*t.dx),y0:P,y1:P,color:C,xVal:A,xLabelVal:A,yVal:o,yLabelVal:o,zLabelVal:k,text:T,hovertemplateLabels:{zLabel:k,colorLabel:D,"color[0]Label":C[0]+M[0],"color[1]Label":C[1]+M[1],"color[2]Label":C[2]+M[2],"color[3]Label":C[3]+M[3]}})]}}}},94507:function(B,O,e){B.exports={attributes:e(17230),supplyDefaults:e(13245),calc:e(71113),plot:e(60775),style:e(12826),hoverPoints:e(28749),eventData:e(30835),moduleType:"trace",name:"image",basePlotModule:e(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(B,O,e){var p=e(39898),E=e(71828),a=E.strTranslate,L=e(77922),x=e(51877),d=e(3883),m=e(32396).STYLE;B.exports=function(t,s,n,f){var c=s.xaxis,u=s.yaxis,b=!t._context._exportedPlot&&d();E.makeTraceGroups(f,n,"im").each(function(h){var S=p.select(this),v=h[0],l=v.trace,g=(l.zsmooth==="fast"||l.zsmooth===!1&&b)&&!l._hasZ&&l._hasSource&&c.type==="linear"&&u.type==="linear";l._realImage=g;var C=v.z,M=v.x0,D=v.y0,T=v.w,P=v.h,A=l.dx,o=l.dy,k,w,U,F,G,_;for(_=0;k===void 0&&_0;)w=c.c2p(M+_*A),_--;for(_=0;F===void 0&&_0;)G=u.c2p(D+_*o),_--;if(wq[0];if(X||K){var J=k+V/2,re=F+N/2;ue+="transform:"+a(J+"px",re+"px")+"scale("+(X?-1:1)+","+(K?-1:1)+")"+a(-J+"px",-re+"px")+";"}}ie.attr("style",ue);var fe=new Promise(function(te){if(l._hasZ)te();else if(l._hasSource)if(l._canvas&&l._canvas.el.width===T&&l._canvas.el.height===P&&l._canvas.source===l.source)te();else{var ee=document.createElement("canvas");ee.width=T,ee.height=P;var ce=ee.getContext("2d",{willReadFrequently:!0});l._image=l._image||new Image;var le=l._image;le.onload=function(){ce.drawImage(le,0,0),l._canvas={el:ee,source:l.source},te()},le.setAttribute("src",l.source)}}).then(function(){var te,ee;if(l._hasZ)ee=Q(function(me,we){return C[we][me]}),te=ee.toDataURL("image/png");else if(l._hasSource)if(g)te=l.source;else{var ce=l._canvas.el.getContext("2d",{willReadFrequently:!0}),le=ce.getImageData(0,0,T,P).data;ee=Q(function(me,we){var Se=4*(we*T+me);return[le[Se],le[Se+1],le[Se+2],le[Se+3]]}),te=ee.toDataURL("image/png")}ie.attr({"xlink:href":te,height:N,width:V,x:k,y:F})});t._promises.push(fe)})}},12826:function(B,O,e){var p=e(39898);B.exports=function(a){p.select(a).selectAll(".im image").style("opacity",function(L){return L[0].trace.opacity})}},54846:function(B,O,e){var p=e(1426).extendFlat,E=e(1426).extendDeep,a=e(30962).overrideAll,L=e(41940),x=e(22399),d=e(27670).Y,m=e(13838),r=e(44467).templatedArray,t=e(22372),s=e(12663).descriptionOnlyNumbers,n=L({editType:"plot",colorEditType:"plot"}),f={color:{valType:"color",editType:"plot"},line:{color:{valType:"color",dflt:x.defaultLine,editType:"plot"},width:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"calc"},thickness:{valType:"number",min:0,max:1,dflt:1,editType:"plot"},editType:"calc"},c={valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},u=r("step",E({},f,{range:c}));B.exports={mode:{valType:"flaglist",editType:"calc",flags:["number","delta","gauge"],dflt:"number"},value:{valType:"number",editType:"calc",anim:!0},align:{valType:"enumerated",values:["left","center","right"],editType:"plot"},domain:d({name:"indicator",trace:!0,editType:"calc"}),title:{text:{valType:"string",editType:"plot"},align:{valType:"enumerated",values:["left","center","right"],editType:"plot"},font:p({},n,{}),editType:"plot"},number:{valueformat:{valType:"string",dflt:"",editType:"plot",description:s("value")},font:p({},n,{}),prefix:{valType:"string",dflt:"",editType:"plot"},suffix:{valType:"string",dflt:"",editType:"plot"},editType:"plot"},delta:{reference:{valType:"number",editType:"calc"},position:{valType:"enumerated",values:["top","bottom","left","right"],dflt:"bottom",editType:"plot"},relative:{valType:"boolean",editType:"plot",dflt:!1},valueformat:{valType:"string",editType:"plot",description:s("value")},increasing:{symbol:{valType:"string",dflt:t.INCREASING.SYMBOL,editType:"plot"},color:{valType:"color",dflt:t.INCREASING.COLOR,editType:"plot"},editType:"plot"},decreasing:{symbol:{valType:"string",dflt:t.DECREASING.SYMBOL,editType:"plot"},color:{valType:"color",dflt:t.DECREASING.COLOR,editType:"plot"},editType:"plot"},font:p({},n,{}),prefix:{valType:"string",dflt:"",editType:"plot"},suffix:{valType:"string",dflt:"",editType:"plot"},editType:"calc"},gauge:{shape:{valType:"enumerated",editType:"plot",dflt:"angular",values:["angular","bullet"]},bar:E({},f,{color:{dflt:"green"}}),bgcolor:{valType:"color",editType:"plot"},bordercolor:{valType:"color",dflt:x.defaultLine,editType:"plot"},borderwidth:{valType:"number",min:0,dflt:1,editType:"plot"},axis:a({range:c,visible:p({},m.visible,{dflt:!0}),tickmode:m.minor.tickmode,nticks:m.nticks,tick0:m.tick0,dtick:m.dtick,tickvals:m.tickvals,ticktext:m.ticktext,ticks:p({},m.ticks,{dflt:"outside"}),ticklen:m.ticklen,tickwidth:m.tickwidth,tickcolor:m.tickcolor,ticklabelstep:m.ticklabelstep,showticklabels:m.showticklabels,labelalias:m.labelalias,tickfont:L({}),tickangle:m.tickangle,tickformat:m.tickformat,tickformatstops:m.tickformatstops,tickprefix:m.tickprefix,showtickprefix:m.showtickprefix,ticksuffix:m.ticksuffix,showticksuffix:m.showticksuffix,separatethousands:m.separatethousands,exponentformat:m.exponentformat,minexponent:m.minexponent,showexponent:m.showexponent,editType:"plot"},"plot"),steps:u,threshold:{line:{color:p({},f.line.color,{}),width:p({},f.line.width,{dflt:1}),editType:"plot"},thickness:p({},f.thickness,{dflt:.85}),value:{valType:"number",editType:"calc",dflt:!1},editType:"plot"},editType:"plot"}}},15970:function(B,O,e){var p=e(74875);O.name="indicator",O.plot=function(E,a,L,x){p.plotBasePlot(O.name,E,a,L,x)},O.clean=function(E,a,L,x){p.cleanBasePlot(O.name,E,a,L,x)}},24667:function(B){function O(e,p){var E=[],a=p.value;typeof p._lastValue!="number"&&(p._lastValue=p.value);var L=p._lastValue,x=L;return p._hasDelta&&typeof p.delta.reference=="number"&&(x=p.delta.reference),E[0]={y:a,lastY:L,delta:a-x,relativeDelta:(a-x)/x},E}B.exports={calc:O}},84577:function(B){B.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},94425:function(B,O,e){var p=e(71828),E=e(54846),a=e(27670).c,L=e(44467),x=e(85501),d=e(84577),m=e(26218),r=e(38701),t=e(96115),s=e(89426);function n(c,u,b,h){function S(G,_){return p.coerce(c,u,E,G,_)}a(u,h,S),S("mode"),u._hasNumber=u.mode.indexOf("number")!==-1,u._hasDelta=u.mode.indexOf("delta")!==-1,u._hasGauge=u.mode.indexOf("gauge")!==-1;var v=S("value");u._range=[0,typeof v=="number"?1.5*v:1];var l=new Array(2),g;u._hasNumber&&(S("number.valueformat"),S("number.font.color",h.font.color),S("number.font.family",h.font.family),S("number.font.size"),u.number.font.size===void 0&&(u.number.font.size=d.defaultNumberFontSize,l[0]=!0),S("number.prefix"),S("number.suffix"),g=u.number.font.size);var C;u._hasDelta&&(S("delta.font.color",h.font.color),S("delta.font.family",h.font.family),S("delta.font.size"),u.delta.font.size===void 0&&(u.delta.font.size=(u._hasNumber?.5:1)*(g||d.defaultNumberFontSize),l[1]=!0),S("delta.reference",u.value),S("delta.relative"),S("delta.valueformat",u.delta.relative?"2%":""),S("delta.increasing.symbol"),S("delta.increasing.color"),S("delta.decreasing.symbol"),S("delta.decreasing.color"),S("delta.position"),S("delta.prefix"),S("delta.suffix"),C=u.delta.font.size),u._scaleNumbers=(!u._hasNumber||l[0])&&(!u._hasDelta||l[1])||!1,S("title.font.color",h.font.color),S("title.font.family",h.font.family),S("title.font.size",.25*(g||C||d.defaultNumberFontSize)),S("title.text");var M,D,T,P;function A(G,_){return p.coerce(M,D,E.gauge,G,_)}function o(G,_){return p.coerce(T,P,E.gauge.axis,G,_)}if(u._hasGauge){M=c.gauge,M||(M={}),D=L.newContainer(u,"gauge"),A("shape");var k=u._isBullet=u.gauge.shape==="bullet";k||S("title.align","center");var w=u._isAngular=u.gauge.shape==="angular";w||S("align","center"),A("bgcolor",h.paper_bgcolor),A("borderwidth"),A("bordercolor"),A("bar.color"),A("bar.line.color"),A("bar.line.width");var U=d.valueThickness*(u.gauge.shape==="bullet"?.5:1);A("bar.thickness",U),x(M,D,{name:"steps",handleItemDefaults:f}),A("threshold.value"),A("threshold.thickness"),A("threshold.line.width"),A("threshold.line.color"),T={},M&&(T=M.axis||{}),P=L.newContainer(D,"axis"),o("visible"),u._range=o("range",u._range);var F={outerTicks:!0};m(T,P,o,"linear"),s(T,P,o,"linear",F),t(T,P,o,"linear",F),r(T,P,o,F)}else S("title.align","center"),S("align","center"),u._isAngular=u._isBullet=!1;u._length=null}function f(c,u){function b(h,S){return p.coerce(c,u,E.gauge.steps,h,S)}b("color"),b("line.color"),b("line.width"),b("range"),b("thickness")}B.exports={supplyDefaults:n}},15154:function(B,O,e){B.exports={moduleType:"trace",name:"indicator",basePlotModule:e(15970),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:e(54846),supplyDefaults:e(94425).supplyDefaults,calc:e(24667).calc,plot:e(75634),meta:{}}},75634:function(B,O,e){var p=e(39898),E=e(81684).sX,a=e(81684).k4,L=e(71828),x=L.strScale,d=L.strTranslate,m=L.rad2deg,r=e(18783).MID_SHIFT,t=e(91424),s=e(84577),n=e(63893),f=e(89298),c=e(71453),u=e(52830),b=e(13838),h=e(7901),S={left:"start",center:"middle",right:"end"},v={left:0,center:.5,right:1},l=/[yzafpnµmkMGTPEZY]/;function g(F){return F&&F.duration>0}B.exports=function(G,_,H,V){var N=G._fullLayout,W;g(H)&&V&&(W=V()),L.makeTraceGroups(N._indicatorlayer,_,"trace").each(function(j){var Q=j[0],ie=Q.trace,ue=p.select(this),pe=ie._hasGauge,q=ie._isAngular,X=ie._isBullet,K=ie.domain,J={w:N._size.w*(K.x[1]-K.x[0]),h:N._size.h*(K.y[1]-K.y[0]),l:N._size.l+N._size.w*K.x[0],r:N._size.r+N._size.w*(1-K.x[1]),t:N._size.t+N._size.h*(1-K.y[1]),b:N._size.b+N._size.h*K.y[0]},re=J.l+J.w/2,fe=J.t+J.h/2,te=Math.min(J.w/2,J.h),ee=s.innerRadius*te,ce,le,me,we=ie.align||"center";if(le=fe,!pe)ce=J.l+v[we]*J.w,me=function(He){return o(He,J.w,J.h)};else if(q&&(ce=re,le=fe+te/2,me=function(He){return k(He,.9*ee)}),X){var Se=s.bulletPadding,Ee=1-s.bulletNumberDomainSize+Se;ce=J.l+(Ee+(1-Ee)*v[we])*J.w,me=function(He){return o(He,(s.bulletNumberDomainSize-Se)*J.w,J.h)}}D(G,ue,j,{numbersX:ce,numbersY:le,numbersScaler:me,transitionOpts:H,onComplete:W});var We,Ye;pe&&(We={range:ie.gauge.axis.range,color:ie.gauge.bgcolor,line:{color:ie.gauge.bordercolor,width:0},thickness:1},Ye={range:ie.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:ie.gauge.bordercolor,width:ie.gauge.borderwidth},thickness:1});var De=ue.selectAll("g.angular").data(q?j:[]);De.exit().remove();var Te=ue.selectAll("g.angularaxis").data(q?j:[]);Te.exit().remove(),q&&M(G,ue,j,{radius:te,innerRadius:ee,gauge:De,layer:Te,size:J,gaugeBg:We,gaugeOutline:Ye,transitionOpts:H,onComplete:W});var Re=ue.selectAll("g.bullet").data(X?j:[]);Re.exit().remove();var Xe=ue.selectAll("g.bulletaxis").data(X?j:[]);Xe.exit().remove(),X&&C(G,ue,j,{gauge:Re,layer:Xe,size:J,gaugeBg:We,gaugeOutline:Ye,transitionOpts:H,onComplete:W});var Je=ue.selectAll("text.title").data(j);Je.exit().remove(),Je.enter().append("text").classed("title",!0),Je.attr("text-anchor",function(){return X?S.right:S[ie.title.align]}).text(ie.title.text).call(t.font,ie.title.font).call(n.convertToTspans,G),Je.attr("transform",function(){var He=J.l+J.w*v[ie.title.align],$e,pt=s.titlePadding,ut=t.bBox(Je.node());if(pe){if(q)if(ie.gauge.axis.visible){var lt=t.bBox(Te.node());$e=lt.top-pt-ut.bottom}else $e=J.t+J.h/2-te/2-ut.bottom-pt;X&&($e=le-(ut.top+ut.bottom)/2,He=J.l-s.bulletPadding*J.w)}else $e=ie._numbersTop-pt-ut.bottom;return d(He,$e)})})};function C(F,G,_,H){var V=_[0].trace,N=H.gauge,W=H.layer,j=H.gaugeBg,Q=H.gaugeOutline,ie=H.size,ue=V.domain,pe=H.transitionOpts,q=H.onComplete,X,K,J,re,fe;N.enter().append("g").classed("bullet",!0),N.attr("transform",d(ie.l,ie.t)),W.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),W.selectAll("g.xbulletaxistick,path,text").remove();var te=ie.h,ee=V.gauge.bar.thickness*te,ce=ue.x[0],le=ue.x[0]+(ue.x[1]-ue.x[0])*(V._hasNumber||V._hasDelta?1-s.bulletNumberDomainSize:1);X=A(F,V.gauge.axis),X._id="xbulletaxis",X.domain=[ce,le],X.setScale(),K=f.calcTicks(X),J=f.makeTransTickFn(X),re=f.getTickSigns(X)[2],fe=ie.t+ie.h,X.visible&&(f.drawTicks(F,X,{vals:X.ticks==="inside"?f.clipEnds(X,K):K,layer:W,path:f.makeTickPath(X,fe,re),transFn:J}),f.drawLabels(F,X,{vals:K,layer:W,transFn:J,labelFns:f.makeLabelFns(X,fe)}));function me(Te){Te.attr("width",function(Re){return Math.max(0,X.c2p(Re.range[1])-X.c2p(Re.range[0]))}).attr("x",function(Re){return X.c2p(Re.range[0])}).attr("y",function(Re){return .5*(1-Re.thickness)*te}).attr("height",function(Re){return Re.thickness*te})}var we=[j].concat(V.gauge.steps),Se=N.selectAll("g.bg-bullet").data(we);Se.enter().append("g").classed("bg-bullet",!0).append("rect"),Se.select("rect").call(me).call(T),Se.exit().remove();var Ee=N.selectAll("g.value-bullet").data([V.gauge.bar]);Ee.enter().append("g").classed("value-bullet",!0).append("rect"),Ee.select("rect").attr("height",ee).attr("y",(te-ee)/2).call(T),g(pe)?Ee.select("rect").transition().duration(pe.duration).ease(pe.easing).each("end",function(){q&&q()}).each("interrupt",function(){q&&q()}).attr("width",Math.max(0,X.c2p(Math.min(V.gauge.axis.range[1],_[0].y)))):Ee.select("rect").attr("width",typeof _[0].y=="number"?Math.max(0,X.c2p(Math.min(V.gauge.axis.range[1],_[0].y))):0),Ee.exit().remove();var We=_.filter(function(){return V.gauge.threshold.value||V.gauge.threshold.value===0}),Ye=N.selectAll("g.threshold-bullet").data(We);Ye.enter().append("g").classed("threshold-bullet",!0).append("line"),Ye.select("line").attr("x1",X.c2p(V.gauge.threshold.value)).attr("x2",X.c2p(V.gauge.threshold.value)).attr("y1",(1-V.gauge.threshold.thickness)/2*te).attr("y2",(1-(1-V.gauge.threshold.thickness)/2)*te).call(h.stroke,V.gauge.threshold.line.color).style("stroke-width",V.gauge.threshold.line.width),Ye.exit().remove();var De=N.selectAll("g.gauge-outline").data([Q]);De.enter().append("g").classed("gauge-outline",!0).append("rect"),De.select("rect").call(me).call(T),De.exit().remove()}function M(F,G,_,H){var V=_[0].trace,N=H.size,W=H.radius,j=H.innerRadius,Q=H.gaugeBg,ie=H.gaugeOutline,ue=[N.l+N.w/2,N.t+N.h/2+W/2],pe=H.gauge,q=H.layer,X=H.transitionOpts,K=H.onComplete,J=Math.PI/2;function re(ke){var Ne=V.gauge.axis.range[0],gt=V.gauge.axis.range[1],qe=(ke-Ne)/(gt-Ne)*Math.PI-J;return qe<-J?-J:qe>J?J:qe}function fe(ke){return p.svg.arc().innerRadius((j+W)/2-ke/2*(W-j)).outerRadius((j+W)/2+ke/2*(W-j)).startAngle(-J)}function te(ke){ke.attr("d",function(Ne){return fe(Ne.thickness).startAngle(re(Ne.range[0])).endAngle(re(Ne.range[1]))()})}var ee,ce,le,me;pe.enter().append("g").classed("angular",!0),pe.attr("transform",d(ue[0],ue[1])),q.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),q.selectAll("g.xangularaxistick,path,text").remove(),ee=A(F,V.gauge.axis),ee.type="linear",ee.range=V.gauge.axis.range,ee._id="xangularaxis",ee.ticklabeloverflow="allow",ee.setScale();var we=function(ke){return(ee.range[0]-ke.x)/(ee.range[1]-ee.range[0])*Math.PI+Math.PI},Se={},Ee=f.makeLabelFns(ee,0),We=Ee.labelStandoff;Se.xFn=function(ke){var Ne=we(ke);return Math.cos(Ne)*We},Se.yFn=function(ke){var Ne=we(ke),gt=Math.sin(Ne)>0?.2:1;return-Math.sin(Ne)*(We+ke.fontSize*gt)+Math.abs(Math.cos(Ne))*(ke.fontSize*r)},Se.anchorFn=function(ke){var Ne=we(ke),gt=Math.cos(Ne);return Math.abs(gt)<.1?"middle":gt>0?"start":"end"},Se.heightFn=function(ke,Ne,gt){var qe=we(ke);return-.5*(1+Math.sin(qe))*gt};var Ye=function(ke){return d(ue[0]+W*Math.cos(ke),ue[1]-W*Math.sin(ke))};le=function(ke){return Ye(we(ke))};var De=function(ke){var Ne=we(ke);return Ye(Ne)+"rotate("+-m(Ne)+")"};if(ce=f.calcTicks(ee),me=f.getTickSigns(ee)[2],ee.visible){me=ee.ticks==="inside"?-1:1;var Te=(ee.linewidth||1)/2;f.drawTicks(F,ee,{vals:ce,layer:q,path:"M"+me*Te+",0h"+me*ee.ticklen,transFn:De}),f.drawLabels(F,ee,{vals:ce,layer:q,transFn:le,labelFns:Se})}var Re=[Q].concat(V.gauge.steps),Xe=pe.selectAll("g.bg-arc").data(Re);Xe.enter().append("g").classed("bg-arc",!0).append("path"),Xe.select("path").call(te).call(T),Xe.exit().remove();var Je=fe(V.gauge.bar.thickness),He=pe.selectAll("g.value-arc").data([V.gauge.bar]);He.enter().append("g").classed("value-arc",!0).append("path");var $e=He.select("path");g(X)?($e.transition().duration(X.duration).ease(X.easing).each("end",function(){K&&K()}).each("interrupt",function(){K&&K()}).attrTween("d",P(Je,re(_[0].lastY),re(_[0].y))),V._lastValue=_[0].y):$e.attr("d",typeof _[0].y=="number"?Je.endAngle(re(_[0].y)):"M0,0Z"),$e.call(T),He.exit().remove(),Re=[];var pt=V.gauge.threshold.value;(pt||pt===0)&&Re.push({range:[pt,pt],color:V.gauge.threshold.color,line:{color:V.gauge.threshold.line.color,width:V.gauge.threshold.line.width},thickness:V.gauge.threshold.thickness});var ut=pe.selectAll("g.threshold-arc").data(Re);ut.enter().append("g").classed("threshold-arc",!0).append("path"),ut.select("path").call(te).call(T),ut.exit().remove();var lt=pe.selectAll("g.gauge-outline").data([ie]);lt.enter().append("g").classed("gauge-outline",!0).append("path"),lt.select("path").call(te).call(T),lt.exit().remove()}function D(F,G,_,H){var V=_[0].trace,N=H.numbersX,W=H.numbersY,j=V.align||"center",Q=S[j],ie=H.transitionOpts,ue=H.onComplete,pe=L.ensureSingle(G,"g","numbers"),q,X,K,J=[];V._hasNumber&&J.push("number"),V._hasDelta&&(J.push("delta"),V.delta.position==="left"&&J.reverse());var re=pe.selectAll("text").data(J);re.enter().append("text"),re.attr("text-anchor",function(){return Q}).attr("class",function(Ye){return Ye}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),re.exit().remove();function fe(Ye,De,Te,Re){if(Ye.match("s")&&Te>=0!=Re>=0&&!De(Te).slice(-1).match(l)&&!De(Re).slice(-1).match(l)){var Xe=Ye.slice().replace("s","f").replace(/\d+/,function(He){return parseInt(He)-1}),Je=A(F,{tickformat:Xe});return function(He){return Math.abs(He)<1?f.tickText(Je,He).text:De(He)}}else return De}function te(){var Ye=A(F,{tickformat:V.number.valueformat},V._range);Ye.setScale(),f.prepTicks(Ye);var De=function(He){return f.tickText(Ye,He).text},Te=V.number.suffix,Re=V.number.prefix,Xe=pe.select("text.number");function Je(){var He=typeof _[0].y=="number"?Re+De(_[0].y)+Te:"-";Xe.text(He).call(t.font,V.number.font).call(n.convertToTspans,F)}return g(ie)?Xe.transition().duration(ie.duration).ease(ie.easing).each("end",function(){Je(),ue&&ue()}).each("interrupt",function(){Je(),ue&&ue()}).attrTween("text",function(){var He=p.select(this),$e=a(_[0].lastY,_[0].y);V._lastValue=_[0].y;var pt=fe(V.number.valueformat,De,_[0].lastY,_[0].y);return function(ut){He.text(Re+pt($e(ut))+Te)}}):Je(),q=w(Re+De(_[0].y)+Te,V.number.font,Q,F),Xe}function ee(){var Ye=A(F,{tickformat:V.delta.valueformat},V._range);Ye.setScale(),f.prepTicks(Ye);var De=function(ut){return f.tickText(Ye,ut).text},Te=V.delta.suffix,Re=V.delta.prefix,Xe=function(ut){var lt=V.delta.relative?ut.relativeDelta:ut.delta;return lt},Je=function(ut,lt){return ut===0||typeof ut!="number"||isNaN(ut)?"-":(ut>0?V.delta.increasing.symbol:V.delta.decreasing.symbol)+Re+lt(ut)+Te},He=function(ut){return ut.delta>=0?V.delta.increasing.color:V.delta.decreasing.color};V._deltaLastValue===void 0&&(V._deltaLastValue=Xe(_[0]));var $e=pe.select("text.delta");$e.call(t.font,V.delta.font).call(h.fill,He({delta:V._deltaLastValue}));function pt(){$e.text(Je(Xe(_[0]),De)).call(h.fill,He(_[0])).call(n.convertToTspans,F)}return g(ie)?$e.transition().duration(ie.duration).ease(ie.easing).tween("text",function(){var ut=p.select(this),lt=Xe(_[0]),ke=V._deltaLastValue,Ne=fe(V.delta.valueformat,De,ke,lt),gt=a(ke,lt);return V._deltaLastValue=lt,function(qe){ut.text(Je(gt(qe),Ne)),ut.call(h.fill,He({delta:gt(qe)}))}}).each("end",function(){pt(),ue&&ue()}).each("interrupt",function(){pt(),ue&&ue()}):pt(),X=w(Je(Xe(_[0]),De),V.delta.font,Q,F),$e}var ce=V.mode+V.align,le;if(V._hasDelta&&(le=ee(),ce+=V.delta.position+V.delta.font.size+V.delta.font.family+V.delta.valueformat,ce+=V.delta.increasing.symbol+V.delta.decreasing.symbol,K=X),V._hasNumber&&(te(),ce+=V.number.font.size+V.number.font.family+V.number.valueformat+V.number.suffix+V.number.prefix,K=q),V._hasDelta&&V._hasNumber){var me=[(q.left+q.right)/2,(q.top+q.bottom)/2],we=[(X.left+X.right)/2,(X.top+X.bottom)/2],Se,Ee,We=.75*V.delta.font.size;V.delta.position==="left"&&(Se=U(V,"deltaPos",0,-1*(q.width*v[V.align]+X.width*(1-v[V.align])+We),ce,Math.min),Ee=me[1]-we[1],K={width:q.width+X.width+We,height:Math.max(q.height,X.height),left:X.left+Se,right:q.right,top:Math.min(q.top,X.top+Ee),bottom:Math.max(q.bottom,X.bottom+Ee)}),V.delta.position==="right"&&(Se=U(V,"deltaPos",0,q.width*(1-v[V.align])+X.width*v[V.align]+We,ce,Math.max),Ee=me[1]-we[1],K={width:q.width+X.width+We,height:Math.max(q.height,X.height),left:q.left,right:X.right+Se,top:Math.min(q.top,X.top+Ee),bottom:Math.max(q.bottom,X.bottom+Ee)}),V.delta.position==="bottom"&&(Se=null,Ee=X.height,K={width:Math.max(q.width,X.width),height:q.height+X.height,left:Math.min(q.left,X.left),right:Math.max(q.right,X.right),top:q.bottom-q.height,bottom:q.bottom+X.height}),V.delta.position==="top"&&(Se=null,Ee=q.top,K={width:Math.max(q.width,X.width),height:q.height+X.height,left:Math.min(q.left,X.left),right:Math.max(q.right,X.right),top:q.bottom-q.height-X.height,bottom:q.bottom}),le.attr({dx:Se,dy:Ee})}(V._hasNumber||V._hasDelta)&&pe.attr("transform",function(){var Ye=H.numbersScaler(K);ce+=Ye[2];var De=U(V,"numbersScale",1,Ye[0],ce,Math.min),Te;V._scaleNumbers||(De=1),V._isAngular?Te=W-De*K.bottom:Te=W-De*(K.top+K.bottom)/2,V._numbersTop=De*K.top+Te;var Re=K[j];j==="center"&&(Re=(K.left+K.right)/2);var Xe=N-De*Re;return Xe=U(V,"numbersTranslate",0,Xe,ce,Math.max),d(Xe,Te)+x(De)})}function T(F){F.each(function(G){h.stroke(p.select(this),G.line.color)}).each(function(G){h.fill(p.select(this),G.color)}).style("stroke-width",function(G){return G.line.width})}function P(F,G,_){return function(){var H=E(G,_);return function(V){return F.endAngle(H(V))()}}}function A(F,G,_){var H=F._fullLayout,V=L.extendFlat({type:"linear",ticks:"outside",range:_,showline:!0},G),N={type:"linear",_id:"x"+G._id},W={letter:"x",font:H.font,noHover:!0,noTickson:!0};function j(Q,ie){return L.coerce(V,N,b,Q,ie)}return c(V,N,j,W,H),u(V,N,j,W),N}function o(F,G,_){var H=Math.min(G/F.width,_/F.height);return[H,F,G+"x"+_]}function k(F,G){var _=Math.sqrt(F.width/2*(F.width/2)+F.height*F.height),H=G/_;return[H,F,G]}function w(F,G,_,H){var V=document.createElementNS("http://www.w3.org/2000/svg","text"),N=p.select(V);return N.text(F).attr("x",0).attr("y",0).attr("text-anchor",_).attr("data-unformatted",F).call(n.convertToTspans,H).call(t.font,G),t.bBox(N.node())}function U(F,G,_,H,V,N){var W="_cache"+G;F[W]&&F[W].key===V||(F[W]={key:V,value:_});var j=L.aggNums(N,null,[F[W].value,H],2);return F[W].value=j,j}},16249:function(B,O,e){var p=e(50693),E=e(12663).axisHoverFormat,a=e(5386).fF,L=e(2418),x=e(9012),d=e(1426).extendFlat,m=e(30962).overrideAll;function r(n){return{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}}function t(n){return{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}}var s=B.exports=m(d({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:r(),y:r(),z:r()},caps:{x:t(),y:t(),z:t()},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:a(),xhoverformat:E("x"),yhoverformat:E("y"),zhoverformat:E("z"),valuehoverformat:E("value",1),showlegend:d({},x.showlegend,{dflt:!1})},p("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:L.opacity,lightposition:L.lightposition,lighting:L.lighting,flatshading:L.flatshading,contour:L.contour,hoverinfo:d({},x.hoverinfo)}),"calc","nested");s.flatshading.dflt=!0,s.lighting.facenormalsepsilon.dflt=0,s.x.editType=s.y.editType=s.z.editType=s.value.editType="calc+clearAxisTypes",s.transforms=void 0},56959:function(B,O,e){var p=e(78803),E=e(88489).processGrid,a=e(88489).filter;B.exports=function(x,d){d._len=Math.min(d.x.length,d.y.length,d.z.length,d.value.length),d._x=a(d.x,d._len),d._y=a(d.y,d._len),d._z=a(d.z,d._len),d._value=a(d.value,d._len);var m=E(d);d._gridFill=m.fill,d._Xs=m.Xs,d._Ys=m.Ys,d._Zs=m.Zs,d._len=m.len;for(var r=1/0,t=-1/0,s=0;s0;u--){var b=Math.min(c[u],c[u-1]),h=Math.max(c[u],c[u-1]);if(h>b&&b-1}function te(Ue,_e){return Ue===null?_e:Ue}function ee(Ue,_e,Ze){Q();var Fe=[_e],Ce=[Ze];if(K>=1)Fe=[_e],Ce=[Ze];else if(K>0){var ve=re(_e,Ze);Fe=ve.xyzv,Ce=ve.abc}for(var Ie=0;Ie-1?Ze[je]:j(ot,ct,Et);nr>-1?Ae[je]=nr:Ae[je]=ue(ot,ct,Et,te(Ue,kt))}pe(Ae[0],Ae[1],Ae[2])}}function ce(Ue,_e,Ze){var Fe=function(Ce,ve,Ie){ee(Ue,[_e[Ce],_e[ve],_e[Ie]],[Ze[Ce],Ze[ve],Ze[Ie]])};Fe(0,1,2),Fe(2,3,0)}function le(Ue,_e,Ze){var Fe=function(Ce,ve,Ie){ee(Ue,[_e[Ce],_e[ve],_e[Ie]],[Ze[Ce],Ze[ve],Ze[Ie]])};Fe(0,1,2),Fe(3,0,1),Fe(2,3,0),Fe(1,2,3)}function me(Ue,_e,Ze,Fe){var Ce=Ue[3];CeFe&&(Ce=Fe);for(var ve=(Ue[3]-Ce)/(Ue[3]-_e[3]+1e-9),Ie=[],Ae=0;Ae<4;Ae++)Ie[Ae]=(1-ve)*Ue[Ae]+ve*_e[Ae];return Ie}function we(Ue,_e,Ze){return Ue>=_e&&Ue<=Ze}function Se(Ue){var _e=.001*(_-G);return Ue>=G-_e&&Ue<=_+_e}function Ee(Ue){for(var _e=[],Ze=0;Ze<4;Ze++){var Fe=Ue[Ze];_e.push([f._x[Fe],f._y[Fe],f._z[Fe],f._value[Fe]])}return _e}var We=3;function Ye(Ue,_e,Ze,Fe,Ce,ve){ve||(ve=1),Ze=[-1,-1,-1];var Ie=!1,Ae=[we(_e[0][3],Fe,Ce),we(_e[1][3],Fe,Ce),we(_e[2][3],Fe,Ce)];if(!Ae[0]&&!Ae[1]&&!Ae[2])return!1;var je=function(ct,Et,kt){return Se(Et[0][3])&&Se(Et[1][3])&&Se(Et[2][3])?(ee(ct,Et,kt),!0):veAe?[U,ve]:[ve,F];Ne(_e,je[0],je[1])}}var ot=[[Math.min(G,F),Math.max(G,F)],[Math.min(U,_),Math.max(U,_)]];["x","y","z"].forEach(function(ct){for(var Et=[],kt=0;kt0&&(Pr.push(cr.id),ct==="x"?Ct.push([cr.distRatio,0,0]):ct==="y"?Ct.push([0,cr.distRatio,0]):Ct.push([0,0,cr.distRatio]))}else ct==="x"?vr=Bt(1,P-1):ct==="y"?vr=Bt(1,A-1):vr=Bt(1,o-1);Pr.length>0&&(ct==="x"?Et[nr]=gt(Ue,Pr,dr,Dt,Ct,Et[nr]):ct==="y"?Et[nr]=qe(Ue,Pr,dr,Dt,Ct,Et[nr]):Et[nr]=vt(Ue,Pr,dr,Dt,Ct,Et[nr]),nr++),vr.length>0&&(ct==="x"?Et[nr]=$e(Ue,vr,dr,Dt,Et[nr]):ct==="y"?Et[nr]=pt(Ue,vr,dr,Dt,Et[nr]):Et[nr]=ut(Ue,vr,dr,Dt,Et[nr]),nr++)}var Or=f.caps[ct];Or.show&&Or.fill&&(J(Or.fill),ct==="x"?Et[nr]=$e(Ue,[0,P-1],dr,Dt,Et[nr]):ct==="y"?Et[nr]=pt(Ue,[0,A-1],dr,Dt,Et[nr]):Et[nr]=ut(Ue,[0,o-1],dr,Dt,Et[nr]),nr++)}}),l===0&&ie(),f._meshX=H,f._meshY=V,f._meshZ=N,f._meshIntensity=W,f._Xs=M,f._Ys=D,f._Zs=T}return it(),f}function n(f,c){var u=f.glplot.gl,b=p({gl:u}),h=new m(f,b,c.uid);return b._trace=h,h.update(c),f.glplot.add(b),h}B.exports={findNearestOnAxis:d,generateIsoMeshes:s,createIsosurfaceTrace:n}},82738:function(B,O,e){var p=e(71828),E=e(73972),a=e(16249),L=e(1586);function x(m,r,t,s){function n(f,c){return p.coerce(m,r,a,f,c)}d(m,r,t,s,n)}function d(m,r,t,s,n){var f=n("isomin"),c=n("isomax");c!=null&&f!==void 0&&f!==null&&f>c&&(r.isomin=null,r.isomax=null);var u=n("x"),b=n("y"),h=n("z"),S=n("value");if(!u||!u.length||!b||!b.length||!h||!h.length||!S||!S.length){r.visible=!1;return}var v=E.getComponentMethod("calendars","handleTraceDefaults");v(m,r,["x","y","z"],s),n("valuehoverformat"),["x","y","z"].forEach(function(M){n(M+"hoverformat");var D="caps."+M,T=n(D+".show");T&&n(D+".fill");var P="slices."+M,A=n(P+".show");A&&(n(P+".fill"),n(P+".locations"))});var l=n("spaceframe.show");l&&n("spaceframe.fill");var g=n("surface.show");g&&(n("surface.count"),n("surface.fill"),n("surface.pattern"));var C=n("contour.show");C&&(n("contour.color"),n("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(M){n(M)}),L(m,r,s,n,{prefix:"",cLetter:"c"}),r._length=null}B.exports={supplyDefaults:x,supplyIsoDefaults:d}},64943:function(B,O,e){B.exports={attributes:e(16249),supplyDefaults:e(82738).supplyDefaults,calc:e(56959),colorbar:{min:"cmin",max:"cmax"},plot:e(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:e(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(B,O,e){var p=e(50693),E=e(12663).axisHoverFormat,a=e(5386).fF,L=e(54532),x=e(9012),d=e(1426).extendFlat;B.exports=d({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:a({editType:"calc"}),xhoverformat:E("x"),yhoverformat:E("y"),zhoverformat:E("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},p("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:L.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:d({},L.contours.x.show,{}),color:L.contours.x.color,width:L.contours.x.width,editType:"calc"},lightposition:{x:d({},L.lightposition.x,{dflt:1e5}),y:d({},L.lightposition.y,{dflt:1e5}),z:d({},L.lightposition.z,{dflt:0}),editType:"calc"},lighting:d({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},L.lighting),hoverinfo:d({},x.hoverinfo,{editType:"calc"}),showlegend:d({},x.showlegend,{dflt:!1})})},82932:function(B,O,e){var p=e(78803);B.exports=function(a,L){L.intensity&&p(a,L,{vals:L.intensity,containerStr:"",cLetter:"c"})}},91134:function(B,O,e){var p=e(9330).gl_mesh3d,E=e(9330).delaunay_triangulate,a=e(9330).alpha_shape,L=e(9330).convex_hull,x=e(81697).parseColorScale,d=e(78614),m=e(21081).extractOpts,r=e(90060);function t(S,v,l){this.scene=S,this.uid=l,this.mesh=v,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var s=t.prototype;s.handlePick=function(S){if(S.object===this.mesh){var v=S.index=S.data.index;S.data._cellCenter?S.traceCoordinate=S.data.dataCoordinate:S.traceCoordinate=[this.data.x[v],this.data.y[v],this.data.z[v]];var l=this.data.hovertext||this.data.text;return Array.isArray(l)&&l[v]!==void 0?S.textLabel=l[v]:l&&(S.textLabel=l),!0}};function n(S){for(var v=[],l=S.length,g=0;g=v-.5)return!1;return!0}s.update=function(S){var v=this.scene,l=v.fullSceneLayout;this.data=S;var g=S.x.length,C=r(f(l.xaxis,S.x,v.dataScale[0],S.xcalendar),f(l.yaxis,S.y,v.dataScale[1],S.ycalendar),f(l.zaxis,S.z,v.dataScale[2],S.zcalendar)),M;if(S.i&&S.j&&S.k){if(S.i.length!==S.j.length||S.j.length!==S.k.length||!b(S.i,g)||!b(S.j,g)||!b(S.k,g))return;M=r(c(S.i),c(S.j),c(S.k))}else S.alphahull===0?M=L(C):S.alphahull>0?M=a(S.alphahull,C):M=u(S.delaunayaxis,C);var D={positions:C,cells:M,lightPosition:[S.lightposition.x,S.lightposition.y,S.lightposition.z],ambient:S.lighting.ambient,diffuse:S.lighting.diffuse,specular:S.lighting.specular,roughness:S.lighting.roughness,fresnel:S.lighting.fresnel,vertexNormalsEpsilon:S.lighting.vertexnormalsepsilon,faceNormalsEpsilon:S.lighting.facenormalsepsilon,opacity:S.opacity,contourEnable:S.contour.show,contourColor:d(S.contour.color).slice(0,3),contourWidth:S.contour.width,useFacetNormals:S.flatshading};if(S.intensity){var T=m(S);this.color="#fff";var P=S.intensitymode;D[P+"Intensity"]=S.intensity,D[P+"IntensityBounds"]=[T.min,T.max],D.colormap=x(S)}else S.vertexcolor?(this.color=S.vertexcolor[0],D.vertexColors=n(S.vertexcolor)):S.facecolor?(this.color=S.facecolor[0],D.cellColors=n(S.facecolor)):(this.color=S.color,D.meshColor=d(S.color));this.mesh.update(D)},s.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};function h(S,v){var l=S.glplot.gl,g=p({gl:l}),C=new t(S,g,v.uid);return g._trace=C,C.update(v),S.glplot.add(g),C}B.exports=h},58669:function(B,O,e){var p=e(73972),E=e(71828),a=e(1586),L=e(2418);B.exports=function(d,m,r,t){function s(b,h){return E.coerce(d,m,L,b,h)}function n(b){var h=b.map(function(S){var v=s(S);return v&&E.isArrayOrTypedArray(v)?v:null});return h.every(function(S){return S&&S.length===h[0].length})&&h}var f=n(["x","y","z"]);if(!f){m.visible=!1;return}if(n(["i","j","k"]),m.i&&(!m.j||!m.k)||m.j&&(!m.k||!m.i)||m.k&&(!m.i||!m.j)){m.visible=!1;return}var c=p.getComponentMethod("calendars","handleTraceDefaults");c(d,m,["x","y","z"],t),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","alphahull","delaunayaxis","opacity"].forEach(function(b){s(b)});var u=s("contour.show");u&&(s("contour.color"),s("contour.width")),"intensity"in d?(s("intensity"),s("intensitymode"),a(d,m,t,s,{prefix:"",cLetter:"c"})):(m.showscale=!1,"facecolor"in d?s("facecolor"):"vertexcolor"in d?s("vertexcolor"):s("color",r)),s("text"),s("hovertext"),s("hovertemplate"),s("xhoverformat"),s("yhoverformat"),s("zhoverformat"),m._length=null}},21164:function(B,O,e){B.exports={attributes:e(2418),supplyDefaults:e(58669),calc:e(82932),colorbar:{min:"cmin",max:"cmax"},plot:e(91134),moduleType:"trace",name:"mesh3d",basePlotModule:e(58547),categories:["gl3d","showLegend"],meta:{}}},2522:function(B,O,e){var p=e(71828).extendFlat,E=e(82196),a=e(12663).axisHoverFormat,L=e(79952).P,x=e(77914),d=e(22372),m=d.INCREASING.COLOR,r=d.DECREASING.COLOR,t=E.line;function s(n){return{line:{color:p({},t.color,{dflt:n}),width:t.width,dash:L,editType:"style"},editType:"style"}}B.exports={xperiod:E.xperiod,xperiod0:E.xperiod0,xperiodalignment:E.xperiodalignment,xhoverformat:a("x"),yhoverformat:a("y"),x:{valType:"data_array",editType:"calc+clearAxisTypes"},open:{valType:"data_array",editType:"calc"},high:{valType:"data_array",editType:"calc"},low:{valType:"data_array",editType:"calc"},close:{valType:"data_array",editType:"calc"},line:{width:p({},t.width,{}),dash:p({},L,{}),editType:"style"},increasing:s(m),decreasing:s(r),text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},tickwidth:{valType:"number",min:0,max:.5,dflt:.3,editType:"calc"},hoverlabel:p({},x.hoverlabel,{split:{valType:"boolean",dflt:!1,editType:"style"}})}},3485:function(B,O,e){var p=e(71828),E=p._,a=e(89298),L=e(42973),x=e(50606).BADNUM;function d(s,n){var f=a.getFromId(s,n.xaxis),c=a.getFromId(s,n.yaxis),u=t(s,f,n),b=n._minDiff;n._minDiff=null;var h=n._origX;n._origX=null;var S=n._xcalc;n._xcalc=null;var v=r(s,n,h,S,c,m);return n._extremes[f._id]=a.findExtremes(f,S,{vpad:b/2}),v.length?(p.extendFlat(v[0].t,{wHover:b/2,tickLen:u}),v):[{t:{empty:!0}}]}function m(s,n,f,c){return{o:s,h:n,l:f,c}}function r(s,n,f,c,u,b){for(var h=u.makeCalcdata(n,"open"),S=u.makeCalcdata(n,"high"),v=u.makeCalcdata(n,"low"),l=u.makeCalcdata(n,"close"),g=Array.isArray(n.text),C=Array.isArray(n.hovertext),M=!0,D=null,T=!!n.xperiodalignment,P=[],A=0;AD):M=F>k,D=F;var G=b(k,w,U,F);G.pos=o,G.yc=(k+F)/2,G.i=A,G.dir=M?"increasing":"decreasing",G.x=G.pos,G.y=[U,w],T&&(G.orig_p=f[A]),g&&(G.tx=n.text[A]),C&&(G.htx=n.hovertext[A]),P.push(G)}else P.push({pos:o,empty:!0})}return n._extremes[u._id]=a.findExtremes(u,p.concat(v,S),{padded:!0}),P.length&&(P[0].t={labels:{open:E(s,"open:")+" ",high:E(s,"high:")+" ",low:E(s,"low:")+" ",close:E(s,"close:")+" "}}),P}function t(s,n,f){var c=f._minDiff;if(!c){var u=s._fullData,b=[];c=1/0;var h;for(h=0;h"+l.labels[F]+p.hoverLabelText(S,G,v.yhoverformat)):(H=E.extendFlat({},C),H.y0=H.y1=_,H.yLabelVal=G,H.yLabel=l.labels[F]+p.hoverLabelText(S,G,v.yhoverformat),H.name="",g.push(H),w[G]=H)}return g}function n(f,c,u,b){var h=f.cd,S=f.ya,v=h[0].trace,l=h[0].t,g=t(f,c,u,b);if(!g)return[];var C=g.index,M=h[C],D=g.index=M.i,T=M.dir;function P(G){return l.labels[G]+p.hoverLabelText(S,v[G][D],v.yhoverformat)}var A=M.hi||v.hoverinfo,o=A.split("+"),k=A==="all",w=k||o.indexOf("y")!==-1,U=k||o.indexOf("text")!==-1,F=w?[P("open"),P("high"),P("low"),P("close")+" "+m[T]]:[];return U&&x(M,v,F),g.extraText=F.join("
"),g.y0=g.y1=S.c2p(M.yc,!0),[g]}B.exports={hoverPoints:r,hoverSplit:s,hoverOnPoints:n}},54186:function(B,O,e){B.exports={moduleType:"trace",name:"ohlc",basePlotModule:e(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:e(2522),supplyDefaults:e(16169),calc:e(3485).calc,plot:e(72314),style:e(53101),hoverPoints:e(66449).hoverPoints,selectPoints:e(67324)}},14555:function(B,O,e){var p=e(73972),E=e(71828);B.exports=function(L,x,d,m){var r=d("x"),t=d("open"),s=d("high"),n=d("low"),f=d("close");d("hoverlabel.split");var c=p.getComponentMethod("calendars","handleTraceDefaults");if(c(L,x,["x"],m),!!(t&&s&&n&&f)){var u=Math.min(t.length,s.length,n.length,f.length);return r&&(u=Math.min(u,E.minRowLength(r))),x._length=u,u}}},72314:function(B,O,e){var p=e(39898),E=e(71828);B.exports=function(L,x,d,m){var r=x.yaxis,t=x.xaxis,s=!!t.rangebreaks;E.makeTraceGroups(m,d,"trace ohlc").each(function(n){var f=p.select(this),c=n[0],u=c.t,b=c.trace;if(b.visible!==!0||u.empty){f.remove();return}var h=u.tickLen,S=f.selectAll("path").data(E.identity);S.enter().append("path"),S.exit().remove(),S.attr("d",function(v){if(v.empty)return"M0,0Z";var l=t.c2p(v.pos-h,!0),g=t.c2p(v.pos+h,!0),C=s?(l+g)/2:t.c2p(v.pos,!0),M=r.c2p(v.o,!0),D=r.c2p(v.h,!0),T=r.c2p(v.l,!0),P=r.c2p(v.c,!0);return"M"+l+","+M+"H"+C+"M"+C+","+D+"V"+T+"M"+g+","+P+"H"+C})})}},67324:function(B){B.exports=function(e,p){var E=e.cd,a=e.xaxis,L=e.yaxis,x=[],d,m=E[0].t.bPos||0;if(p===!1)for(d=0;d=v.length||l[v[g]]!==void 0)return!1;l[v[g]]=!0}return!0}},14647:function(B,O,e){var p=e(71828),E=e(52075).hasColorscale,a=e(1586),L=e(27670).c,x=e(85501),d=e(99506),m=e(94397);function r(s,n,f,c,u){u("line.shape"),u("line.hovertemplate");var b=u("line.color",c.colorway[0]);if(E(s,"line")&&p.isArrayOrTypedArray(b)){if(b.length)return u("line.colorscale"),a(s,n,c,u,{prefix:"line.",cLetter:"c"}),b.length;n.line.color=f}return 1/0}function t(s,n){function f(l,g){return p.coerce(s,n,d.dimensions,l,g)}var c=f("values"),u=f("visible");if(c&&c.length||(u=n.visible=!1),u){f("label"),f("displayindex",n._index);var b=s.categoryarray,h=Array.isArray(b)&&b.length>0,S;h&&(S="array");var v=f("categoryorder",S);v==="array"?(f("categoryarray"),f("ticktext")):(delete s.categoryarray,delete s.ticktext),!h&&v==="array"&&(n.categoryorder="trace")}}B.exports=function(n,f,c,u){function b(g,C){return p.coerce(n,f,d,g,C)}var h=x(n,f,{name:"dimensions",handleItemDefaults:t}),S=r(n,f,c,u,b);L(f,u,b),(!Array.isArray(h)||!h.length)&&(f.visible=!1),m(f,h,"values",S),b("hoveron"),b("hovertemplate"),b("arrangement"),b("bundlecolors"),b("sortpaths"),b("counts");var v={family:u.font.family,size:Math.round(u.font.size),color:u.font.color};p.coerceFont(b,"labelfont",v);var l={family:u.font.family,size:Math.round(u.font.size/1.2),color:u.font.color};p.coerceFont(b,"tickfont",l)}},94873:function(B,O,e){B.exports={attributes:e(99506),supplyDefaults:e(14647),calc:e(28699),plot:e(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:e(27677),categories:["noOpacity"],meta:{}}},45460:function(B,O,e){var p=e(39898),E=e(81684).k4,a=e(72391),L=e(30211),x=e(71828),d=x.strTranslate,m=e(91424),r=e(84267),t=e(63893);function s(J,re,fe,te){var ee=re._context.staticPlot,ce=J.map(ue.bind(0,re,fe)),le=te.selectAll("g.parcatslayer").data([null]);le.enter().append("g").attr("class","parcatslayer").style("pointer-events",ee?"none":"all");var me=le.selectAll("g.trace.parcats").data(ce,n),we=me.enter().append("g").attr("class","trace parcats");me.attr("transform",function($e){return d($e.x,$e.y)}),we.append("g").attr("class","paths");var Se=me.select("g.paths"),Ee=Se.selectAll("path.path").data(function($e){return $e.paths},n);Ee.attr("fill",function($e){return $e.model.color});var We=Ee.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function($e){return $e.model.color}).attr("fill-opacity",0);l(We),Ee.attr("d",function($e){return $e.svgD}),We.empty()||Ee.sort(c),Ee.exit().remove(),Ee.on("mouseover",u).on("mouseout",b).on("click",v),we.append("g").attr("class","dimensions");var Ye=me.select("g.dimensions"),De=Ye.selectAll("g.dimension").data(function($e){return $e.dimensions},n);De.enter().append("g").attr("class","dimension"),De.attr("transform",function($e){return d($e.x,0)}),De.exit().remove();var Te=De.selectAll("g.category").data(function($e){return $e.categories},n),Re=Te.enter().append("g").attr("class","category");Te.attr("transform",function($e){return d(0,$e.y)}),Re.append("rect").attr("class","catrect").attr("pointer-events","none"),Te.select("rect.catrect").attr("fill","none").attr("width",function($e){return $e.width}).attr("height",function($e){return $e.height}),M(Re);var Xe=Te.selectAll("rect.bandrect").data(function($e){return $e.bands},n);Xe.each(function(){x.raiseToTop(this)}),Xe.attr("fill",function($e){return $e.color});var Je=Xe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function($e){return $e.color}).attr("fill-opacity",0);Xe.attr("fill",function($e){return $e.color}).attr("width",function($e){return $e.width}).attr("height",function($e){return $e.height}).attr("y",function($e){return $e.y}).attr("cursor",function($e){return $e.parcatsViewModel.arrangement==="fixed"?"default":$e.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),T(Je),Xe.exit().remove(),Re.append("text").attr("class","catlabel").attr("pointer-events","none");var He=re._fullLayout.paper_bgcolor;Te.select("text.catlabel").attr("text-anchor",function($e){return f($e)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",t.makeTextShadow(He)).style("fill","rgb(0, 0, 0)").attr("x",function($e){return f($e)?$e.width+5:-5}).attr("y",function($e){return $e.height/2}).text(function($e){return $e.model.categoryLabel}).each(function($e){m.font(p.select(this),$e.parcatsViewModel.categorylabelfont),t.convertToTspans(p.select(this),re)}),Re.append("text").attr("class","dimlabel"),Te.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function($e){return $e.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function($e){return $e.width/2}).attr("y",-5).text(function($e,pt){return pt===0?$e.parcatsViewModel.model.dimensions[$e.model.dimensionInd].dimensionLabel:null}).each(function($e){m.font(p.select(this),$e.parcatsViewModel.labelfont)}),Te.selectAll("rect.bandrect").on("mouseover",_).on("mouseout",H),Te.exit().remove(),De.call(p.behavior.drag().origin(function($e){return{x:$e.x,y:0}}).on("dragstart",V).on("drag",N).on("dragend",W)),me.each(function($e){$e.traceSelection=p.select(this),$e.pathSelection=p.select(this).selectAll("g.paths").selectAll("path.path"),$e.dimensionSelection=p.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),me.exit().remove()}B.exports=function(J,re,fe,te){s(fe,J,te,re)};function n(J){return J.key}function f(J){var re=J.parcatsViewModel.dimensions.length,fe=J.parcatsViewModel.dimensions[re-1].model.dimensionInd;return J.model.dimensionInd===fe}function c(J,re){return J.model.rawColor>re.model.rawColor?1:J.model.rawColor"),lt=p.mouse(ee)[0];L.loneHover({trace:ce,x:Te-me.left+we.left,y:Re-me.top+we.top,text:ut,color:J.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Xe,idealAlign:lt1&&Se.displayInd===we.dimensions.length-1?(Ye=le.left,De="left"):(Ye=le.left+le.width,De="right");var Te=me.model.count,Re=me.model.categoryLabel,Xe=Te/me.parcatsViewModel.model.count,Je={countLabel:Te,categoryLabel:Re,probabilityLabel:Xe.toFixed(3)},He=[];me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&He.push(["Count:",Je.countLabel].join(" ")),me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&He.push(["P("+Je.categoryLabel+"):",Je.probabilityLabel].join(" "));var $e=He.join("
");return{trace:Ee,x:te*(Ye-re.left),y:ee*(We-re.top),text:$e,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:De,hovertemplate:Ee.hovertemplate,hovertemplateLabels:Je,eventData:[{data:Ee._input,fullData:Ee,count:Te,category:Re,probability:Xe}]}}function F(J,re,fe){var te=[];return p.select(fe.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){var ee=this;te.push(U(J,re,ee))}),te}function G(J,re,fe){J._fullLayout._calcInverseTransform(J);var te=J._fullLayout._invScaleX,ee=J._fullLayout._invScaleY,ce=fe.getBoundingClientRect(),le=p.select(fe).datum(),me=le.categoryViewModel,we=me.parcatsViewModel,Se=we.model.dimensions[me.model.dimensionInd],Ee=we.trace,We=ce.y+ce.height/2,Ye,De;we.dimensions.length>1&&Se.displayInd===we.dimensions.length-1?(Ye=ce.left,De="left"):(Ye=ce.left+ce.width,De="right");var Te=me.model.categoryLabel,Re=le.parcatsViewModel.model.count,Xe=0;le.categoryViewModel.bands.forEach(function(qe){qe.color===le.color&&(Xe+=qe.count)});var Je=me.model.count,He=0;we.pathSelection.each(function(qe){qe.model.color===le.color&&(He+=qe.model.count)});var $e=Xe/Re,pt=Xe/He,ut=Xe/Je,lt={countLabel:Re,categoryLabel:Te,probabilityLabel:$e.toFixed(3)},ke=[];me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&ke.push(["Count:",lt.countLabel].join(" ")),me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(ke.push("P(color ∩ "+Te+"): "+lt.probabilityLabel),ke.push("P("+Te+" | color): "+pt.toFixed(3)),ke.push("P(color | "+Te+"): "+ut.toFixed(3)));var Ne=ke.join("
"),gt=r.mostReadable(le.color,["black","white"]);return{trace:Ee,x:te*(Ye-re.left),y:ee*(We-re.top),text:Ne,color:le.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:gt,fontSize:10,idealAlign:De,hovertemplate:Ee.hovertemplate,hovertemplateLabels:lt,eventData:[{data:Ee._input,fullData:Ee,category:Te,count:Re,probability:$e,categorycount:Je,colorcount:He,bandcolorcount:Xe}]}}function _(J){if(!J.parcatsViewModel.dragDimension&&J.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){var re=p.mouse(this)[1];if(re<-1)return;var fe=J.parcatsViewModel.graphDiv,te=fe._fullLayout,ee=te._paperdiv.node().getBoundingClientRect(),ce=J.parcatsViewModel.hoveron,le=this;if(ce==="color"?(o(le),w(le,"plotly_hover",p.event)):(A(le),k(le,"plotly_hover",p.event)),J.parcatsViewModel.hoverinfoItems.indexOf("none")===-1){var me;ce==="category"?me=U(fe,ee,le):ce==="color"?me=G(fe,ee,le):ce==="dimension"&&(me=F(fe,ee,le)),me&&L.loneHover(me,{container:te._hoverlayer.node(),outerContainer:te._paper.node(),gd:fe})}}}function H(J){var re=J.parcatsViewModel;if(!re.dragDimension&&(l(re.pathSelection),M(re.dimensionSelection.selectAll("g.category")),T(re.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),L.loneUnhover(re.graphDiv._fullLayout._hoverlayer.node()),re.pathSelection.sort(c),re.hoverinfoItems.indexOf("skip")===-1)){var fe=J.parcatsViewModel.hoveron,te=this;fe==="color"?w(te,"plotly_unhover",p.event):k(te,"plotly_unhover",p.event)}}function V(J){J.parcatsViewModel.arrangement!=="fixed"&&(J.dragDimensionDisplayInd=J.model.displayInd,J.initialDragDimensionDisplayInds=J.parcatsViewModel.model.dimensions.map(function(re){return re.displayInd}),J.dragHasMoved=!1,J.dragCategoryDisplayInd=null,p.select(this).selectAll("g.category").select("rect.catrect").each(function(re){var fe=p.mouse(this)[0],te=p.mouse(this)[1];-2<=fe&&fe<=re.width+2&&-2<=te&&te<=re.height+2&&(J.dragCategoryDisplayInd=re.model.displayInd,J.initialDragCategoryDisplayInds=J.model.categories.map(function(ee){return ee.displayInd}),re.model.dragY=re.y,x.raiseToTop(this.parentNode),p.select(this.parentNode).selectAll("rect.bandrect").each(function(ee){ee.yEe.y+Ee.height/2&&(ce.model.displayInd=Ee.model.displayInd,Ee.model.displayInd=me),J.dragCategoryDisplayInd=ce.model.displayInd}if(J.dragCategoryDisplayInd===null||J.parcatsViewModel.arrangement==="freeform"){ee.model.dragX=p.event.x;var We=J.parcatsViewModel.dimensions[fe],Ye=J.parcatsViewModel.dimensions[te];We!==void 0&&ee.model.dragXYe.x&&(ee.model.displayInd=Ye.model.displayInd,Ye.model.displayInd=J.dragDimensionDisplayInd),J.dragDimensionDisplayInd=ee.model.displayInd}X(J.parcatsViewModel),q(J.parcatsViewModel),ie(J.parcatsViewModel),Q(J.parcatsViewModel)}}function W(J){if(J.parcatsViewModel.arrangement!=="fixed"&&J.dragDimensionDisplayInd!==null){p.select(this).selectAll("text").attr("font-weight","normal");var re={},fe=j(J.parcatsViewModel),te=J.parcatsViewModel.model.dimensions.map(function(Ye){return Ye.displayInd}),ee=J.initialDragDimensionDisplayInds.some(function(Ye,De){return Ye!==te[De]});ee&&te.forEach(function(Ye,De){var Te=J.parcatsViewModel.model.dimensions[De].containerInd;re["dimensions["+Te+"].displayindex"]=Ye});var ce=!1;if(J.dragCategoryDisplayInd!==null){var le=J.model.categories.map(function(Ye){return Ye.displayInd});if(ce=J.initialDragCategoryDisplayInds.some(function(Ye,De){return Ye!==le[De]}),ce){var me=J.model.categories.slice().sort(function(Ye,De){return Ye.displayInd-De.displayInd}),we=me.map(function(Ye){return Ye.categoryValue}),Se=me.map(function(Ye){return Ye.categoryLabel});re["dimensions["+J.model.containerInd+"].categoryarray"]=[we],re["dimensions["+J.model.containerInd+"].ticktext"]=[Se],re["dimensions["+J.model.containerInd+"].categoryorder"]="array"}}if(J.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!J.dragHasMoved&&J.potentialClickBand&&(J.parcatsViewModel.hoveron==="color"?w(J.potentialClickBand,"plotly_click",p.event.sourceEvent):k(J.potentialClickBand,"plotly_click",p.event.sourceEvent)),J.model.dragX=null,J.dragCategoryDisplayInd!==null){var Ee=J.parcatsViewModel.dimensions[J.dragDimensionDisplayInd].categories[J.dragCategoryDisplayInd];Ee.model.dragY=null,J.dragCategoryDisplayInd=null}J.dragDimensionDisplayInd=null,J.parcatsViewModel.dragDimension=null,J.dragHasMoved=null,J.potentialClickBand=null,X(J.parcatsViewModel),q(J.parcatsViewModel);var We=p.transition().duration(300).ease("cubic-in-out");We.each(function(){ie(J.parcatsViewModel,!0),Q(J.parcatsViewModel,!0)}).each("end",function(){(ee||ce)&&a.restyle(J.parcatsViewModel.graphDiv,re,[fe])})}}function j(J){for(var re,fe=J.graphDiv._fullData,te=0;te=0;we--)Se+="C"+le[we]+","+(re[we+1]+te)+" "+ce[we]+","+(re[we]+te)+" "+(J[we]+fe[we])+","+(re[we]+te),Se+="l-"+fe[we]+",0 ";return Se+="Z",Se}function q(J){var re=J.dimensions,fe=J.model,te=re.map(function(Yt){return Yt.categories.map(function(it){return it.y})}),ee=J.model.dimensions.map(function(Yt){return Yt.categories.map(function(it){return it.displayInd})}),ce=J.model.dimensions.map(function(Yt){return Yt.displayInd}),le=J.dimensions.map(function(Yt){return Yt.model.dimensionInd}),me=re.map(function(Yt){return Yt.x}),we=re.map(function(Yt){return Yt.width}),Se=[];for(var Ee in fe.paths)fe.paths.hasOwnProperty(Ee)&&Se.push(fe.paths[Ee]);function We(Yt){var it=Yt.categoryInds.map(function(_e,Ze){return ee[Ze][_e]}),Ue=le.map(function(_e){return it[_e]});return Ue}Se.sort(function(Yt,it){var Ue=We(Yt),_e=We(it);return J.sortpaths==="backward"&&(Ue.reverse(),_e.reverse()),Ue.push(Yt.valueInds[0]),_e.push(it.valueInds[0]),J.bundlecolors&&(Ue.unshift(Yt.rawColor),_e.unshift(it.rawColor)),Ue<_e?-1:Ue>_e?1:0});for(var Ye=new Array(Se.length),De=re[0].model.count,Te=re[0].categories.map(function(Yt){return Yt.height}).reduce(function(Yt,it){return Yt+it}),Re=0;Re0?Je=Te*(Xe.count/De):Je=0;for(var He=new Array(te.length),$e=0;$e1?le=(J.width-2*fe-te)/(ee-1):le=0,me=fe,we=me+le*ce;var Se=[],Ee=J.model.maxCats,We=re.categories.length,Ye=8,De=re.count,Te=J.height-Ye*(Ee-1),Re,Xe,Je,He,$e,pt=(Ee-We)*Ye/2,ut=re.categories.map(function(lt){return{displayInd:lt.displayInd,categoryInd:lt.categoryInd}});for(ut.sort(function(lt,ke){return lt.displayInd-ke.displayInd}),$e=0;$e0?Re=Xe.count/De*Te:Re=0,Je={key:Xe.valueInds[0],model:Xe,width:te,height:Re,y:Xe.dragY!==null?Xe.dragY:pt,bands:[],parcatsViewModel:J},pt=pt+Re+Ye,Se.push(Je);return{key:re.dimensionInd,x:re.dragX!==null?re.dragX:we,y:0,width:te,model:re,categories:Se,parcatsViewModel:J,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}},45784:function(B,O,e){var p=e(45460);B.exports=function(a,L,x,d){var m=a._fullLayout,r=m._paper,t=m._size;p(a,r,L,{width:t.w,height:t.h,margin:{t:t.t,r:t.r,b:t.b,l:t.l}},x,d)}},73362:function(B,O,e){var p=e(50693),E=e(13838),a=e(41940),L=e(27670).Y,x=e(1426).extendFlat,d=e(44467).templatedArray;B.exports={domain:L({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:a({editType:"plot"}),tickfont:a({editType:"plot"}),rangefont:a({editType:"plot"}),dimensions:d("dimension",{label:{valType:"string",editType:"plot"},tickvals:x({},E.tickvals,{editType:"plot"}),ticktext:x({},E.ticktext,{editType:"plot"}),tickformat:x({},E.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:x({editType:"calc"},p("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(B,O,e){var p=e(25706),E=e(39898),a=e(28984).keyFun,L=e(28984).repeat,x=e(71828).sorterAsc,d=e(71828).strTranslate,m=p.bar.snapRatio;function r(W,j){return W*(1-m)+j*m}var t=p.bar.snapClose;function s(W,j){return W*(1-t)+j*t}function n(W,j,Q,ie){if(f(Q,ie))return Q;var ue=W?-1:1,pe=0,q=j.length-1;if(ue<0){var X=pe;pe=q,q=X}for(var K=j[pe],J=K,re=pe;ue*re=j[Q][0]&&W<=j[Q][1])return!0;return!1}function c(W){W.attr("x",-p.bar.captureWidth/2).attr("width",p.bar.captureWidth)}function u(W){W.attr("visibility","visible").style("visibility","visible").attr("fill","yellow").attr("opacity",0)}function b(W){if(!W.brush.filterSpecified)return"0,"+W.height;for(var j=h(W.brush.filter.getConsolidated(),W.height),Q=[0],ie,ue,pe,q=j.length?j[0][0]:null,X=0;XW[1]+Q||j=.9*W[1]+.1*W[0]?"n":j<=.9*W[0]+.1*W[1]?"s":"ns"}function v(){E.select(document.body).style("cursor",null)}function l(W){W.attr("stroke-dasharray",b)}function g(W,j){var Q=E.select(W).selectAll(".highlight, .highlight-shadow"),ie=j?Q.transition().duration(p.bar.snapDuration).each("end",j):Q;l(ie)}function C(W,j){var Q=W.brush,ie=Q.filterSpecified,ue=NaN,pe={},q;if(ie){var X=W.height,K=Q.filter.getConsolidated(),J=h(K,X),re=NaN,fe=NaN,te=NaN;for(q=0;q<=J.length;q++){var ee=J[q];if(ee&&ee[0]<=j&&j<=ee[1]){re=q;break}else if(fe=q?q-1:NaN,ee&&ee[0]>j){te=q;break}}if(ue=re,isNaN(ue)&&(isNaN(fe)||isNaN(te)?ue=isNaN(fe)?te:fe:ue=j-J[fe][1]=Se[0]&&we<=Se[1]){pe.clickableOrdinalRange=Se;break}}}return pe}function M(W,j){E.event.sourceEvent.stopPropagation();var Q=j.height-E.mouse(W)[1]-2*p.verticalPadding,ie=j.unitToPaddedPx.invert(Q),ue=j.brush,pe=C(j,Q),q=pe.interval,X=ue.svgBrush;if(X.wasDragged=!1,X.grabbingBar=pe.region==="ns",X.grabbingBar){var K=q.map(j.unitToPaddedPx);X.grabPoint=Q-K[0]-p.verticalPadding,X.barLength=K[1]-K[0]}X.clickableOrdinalRange=pe.clickableOrdinalRange,X.stayingIntervals=j.multiselect&&ue.filterSpecified?ue.filter.getConsolidated():[],q&&(X.stayingIntervals=X.stayingIntervals.filter(function(J){return J[0]!==q[0]&&J[1]!==q[1]})),X.startExtent=pe.region?q[pe.region==="s"?1:0]:ie,j.parent.inBrushDrag=!0,X.brushStartCallback()}function D(W,j){E.event.sourceEvent.stopPropagation();var Q=j.height-E.mouse(W)[1]-2*p.verticalPadding,ie=j.brush.svgBrush;ie.wasDragged=!0,ie._dragging=!0,ie.grabbingBar?ie.newExtent=[Q-ie.grabPoint,Q+ie.barLength-ie.grabPoint].map(j.unitToPaddedPx.invert):ie.newExtent=[ie.startExtent,j.unitToPaddedPx.invert(Q)].sort(x),j.brush.filterSpecified=!0,ie.extent=ie.stayingIntervals.concat([ie.newExtent]),ie.brushCallback(j),g(W.parentNode)}function T(W,j){var Q=j.brush,ie=Q.filter,ue=Q.svgBrush;ue._dragging||(P(W,j),D(W,j),j.brush.svgBrush.wasDragged=!1),ue._dragging=!1;var pe=E.event;pe.sourceEvent.stopPropagation();var q=ue.grabbingBar;if(ue.grabbingBar=!1,ue.grabLocation=void 0,j.parent.inBrushDrag=!1,v(),!ue.wasDragged){ue.wasDragged=void 0,ue.clickableOrdinalRange?Q.filterSpecified&&j.multiselect?ue.extent.push(ue.clickableOrdinalRange):(ue.extent=[ue.clickableOrdinalRange],Q.filterSpecified=!0):q?(ue.extent=ue.stayingIntervals,ue.extent.length===0&&F(Q)):F(Q),ue.brushCallback(j),g(W.parentNode),ue.brushEndCallback(Q.filterSpecified?ie.getConsolidated():[]);return}var X=function(){ie.set(ie.getConsolidated())};if(j.ordinal){var K=j.unitTickvals;K[K.length-1]ue.newExtent[0];ue.extent=ue.stayingIntervals.concat(J?[ue.newExtent]:[]),ue.extent.length||F(Q),ue.brushCallback(j),J?g(W.parentNode,X):(X(),g(W.parentNode))}else X();ue.brushEndCallback(Q.filterSpecified?ie.getConsolidated():[])}function P(W,j){var Q=j.height-E.mouse(W)[1]-2*p.verticalPadding,ie=C(j,Q),ue="crosshair";ie.clickableOrdinalRange?ue="pointer":ie.region&&(ue=ie.region+"-resize"),E.select(document.body).style("cursor",ue)}function A(W){W.on("mousemove",function(j){E.event.preventDefault(),j.parent.inBrushDrag||P(this,j)}).on("mouseleave",function(j){j.parent.inBrushDrag||v()}).call(E.behavior.drag().on("dragstart",function(j){M(this,j)}).on("drag",function(j){D(this,j)}).on("dragend",function(j){T(this,j)}))}function o(W,j){return W[0]-j[0]}function k(W,j,Q){var ie=Q._context.staticPlot,ue=W.selectAll(".background").data(L);ue.enter().append("rect").classed("background",!0).call(c).call(u).style("pointer-events",ie?"none":"auto").attr("transform",d(0,p.verticalPadding)),ue.call(A).attr("height",function(X){return X.height-p.verticalPadding});var pe=W.selectAll(".highlight-shadow").data(L);pe.enter().append("line").classed("highlight-shadow",!0).attr("x",-p.bar.width/2).attr("stroke-width",p.bar.width+p.bar.strokeWidth).attr("stroke",j).attr("opacity",p.bar.strokeOpacity).attr("stroke-linecap","butt"),pe.attr("y1",function(X){return X.height}).call(l);var q=W.selectAll(".highlight").data(L);q.enter().append("line").classed("highlight",!0).attr("x",-p.bar.width/2).attr("stroke-width",p.bar.width-p.bar.strokeWidth).attr("stroke",p.bar.fillColor).attr("opacity",p.bar.fillOpacity).attr("stroke-linecap","butt"),q.attr("y1",function(X){return X.height}).call(l)}function w(W,j,Q){var ie=W.selectAll("."+p.cn.axisBrush).data(L,a);ie.enter().append("g").classed(p.cn.axisBrush,!0),k(ie,j,Q)}function U(W){return W.svgBrush.extent.map(function(j){return j.slice()})}function F(W){W.filterSpecified=!1,W.svgBrush.extent=[[-1/0,1/0]]}function G(W){return function(Q){var ie=Q.brush,ue=U(ie),pe=ue.slice();ie.filter.set(pe),W()}}function _(W){for(var j=W.slice(),Q=[],ie,ue=j.shift();ue;){for(ie=ue.slice();(ue=j.shift())&&ue[0]<=ie[1];)ie[1]=Math.max(ie[1],ue[1]);Q.push(ie)}return Q.length===1&&Q[0][0]>Q[0][1]&&(Q=[]),Q}function H(){var W=[],j,Q;return{set:function(ie){W=ie.map(function(ue){return ue.slice().sort(x)}).sort(o),W.length===1&&W[0][0]===-1/0&&W[0][1]===1/0&&(W=[[0,-1]]),j=_(W),Q=W.reduce(function(ue,pe){return[Math.min(ue[0],pe[0]),Math.max(ue[1],pe[1])]},[1/0,-1/0])},get:function(){return W.slice()},getConsolidated:function(){return j},getBounds:function(){return Q}}}function V(W,j,Q,ie,ue,pe){var q=H();return q.set(Q),{filter:q,filterSpecified:j,svgBrush:{extent:[],brushStartCallback:ie,brushCallback:G(ue),brushEndCallback:pe}}}function N(W,j){if(Array.isArray(W[0])?(W=W.map(function(ie){return ie.sort(x)}),j.multiselect?W=_(W.sort(o)):W=[W[0]]):W=[W.sort(x)],j.tickvals){var Q=j.tickvals.slice().sort(x);if(W=W.map(function(ie){var ue=[n(0,Q,ie[0],[]),n(1,Q,ie[1],[])];if(ue[1]>ue[0])return ue}).filter(function(ie){return ie}),!W.length)return}return W.length>1?W:W[0]}B.exports={makeBrush:V,ensureAxisBrush:w,cleanRanges:N}},71791:function(B,O,e){B.exports={attributes:e(73362),supplyDefaults:e(3633),calc:e(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:e(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(B,O,e){var p=e(39898),E=e(27659).a0,a=e(21341),L=e(77922);O.name="parcoords",O.plot=function(x){var d=E(x.calcdata,"parcoords")[0];d.length&&a(x,d)},O.clean=function(x,d,m,r){var t=r._has&&r._has("parcoords"),s=d._has&&d._has("parcoords");t&&!s&&(r._paperdiv.selectAll(".parcoords").remove(),r._glimages.selectAll("*").remove())},O.toSVG=function(x){var d=x._fullLayout._glimages,m=p.select(x).selectAll(".svg-container"),r=m.filter(function(s,n){return n===m.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus");function t(){var s=this,n=s.toDataURL("image/png"),f=d.append("svg:image");f.attr({xmlns:L.svg,"xlink:href":n,preserveAspectRatio:"none",x:0,y:0,width:s.style.width,height:s.style.height})}r.each(t),window.setTimeout(function(){p.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(B,O,e){var p=e(71828).isArrayOrTypedArray,E=e(21081),a=e(28984).wrap;B.exports=function(d,m){var r,t;return E.hasColorscale(m,"line")&&p(m.line.color)?(r=m.line.color,t=E.extractOpts(m.line).colorscale,E.calc(d,m,{vals:r,containerStr:"line",cLetter:"c"})):(r=L(m._length),t=[[0,m.line.color],[1,m.line.color]]),a({lineColor:r,cscale:t})};function L(x){for(var d=new Array(x),m=0;mt&&(p.log("parcoords traces support up to "+t+" dimensions at the moment"),l.splice(t));var g=x(u,b,{name:"dimensions",layout:S,handleItemDefaults:f}),C=n(u,b,h,S,v);L(b,S,v),(!Array.isArray(g)||!g.length)&&(b.visible=!1),s(b,g,"values",C);var M={family:S.font.family,size:Math.round(S.font.size/1.2),color:S.font.color};p.coerceFont(v,"labelfont",M),p.coerceFont(v,"tickfont",M),p.coerceFont(v,"rangefont",M),v("labelangle"),v("labelside"),v("unselected.line.color"),v("unselected.line.opacity")}},1602:function(B,O,e){var p=e(71828).isTypedArray;O.convertTypedArray=function(E){return p(E)?Array.prototype.slice.call(E):E},O.isOrdinal=function(E){return!!E.tickvals},O.isVisible=function(E){return E.visible||!("visible"in E)}},67618:function(B,O,e){var p=e(71791);p.plot=e(21341),B.exports=p},83398:function(B,O,e){var p=e(56068),E=p([`precision highp float; -#define GLSLIFY 1 - -varying vec4 fragColor; - -attribute vec4 p01_04, p05_08, p09_12, p13_16, - p17_20, p21_24, p25_28, p29_32, - p33_36, p37_40, p41_44, p45_48, - p49_52, p53_56, p57_60, colors; - -uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D, - loA, hiA, loB, hiB, loC, hiC, loD, hiD; - -uniform vec2 resolution, viewBoxPos, viewBoxSize; -uniform float maskHeight; -uniform float drwLayer; // 0: context, 1: focus, 2: pick -uniform vec4 contextColor; -uniform sampler2D maskTexture, palette; - -bool isPick = (drwLayer > 1.5); -bool isContext = (drwLayer < 0.5); - -const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0); -const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0); - -float val(mat4 p, mat4 v) { - return dot(matrixCompMult(p, v) * UNITS, UNITS); -} - -float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) { - float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D); - float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D); - return y1 * (1.0 - ratio) + y2 * ratio; -} - -int iMod(int a, int b) { - return a - b * (a / b); -} - -bool fOutside(float p, float lo, float hi) { - return (lo < hi) && (lo > p || p > hi); -} - -bool vOutside(vec4 p, vec4 lo, vec4 hi) { - return ( - fOutside(p[0], lo[0], hi[0]) || - fOutside(p[1], lo[1], hi[1]) || - fOutside(p[2], lo[2], hi[2]) || - fOutside(p[3], lo[3], hi[3]) - ); -} - -bool mOutside(mat4 p, mat4 lo, mat4 hi) { - return ( - vOutside(p[0], lo[0], hi[0]) || - vOutside(p[1], lo[1], hi[1]) || - vOutside(p[2], lo[2], hi[2]) || - vOutside(p[3], lo[3], hi[3]) - ); -} - -bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) { - return mOutside(A, loA, hiA) || - mOutside(B, loB, hiB) || - mOutside(C, loC, hiC) || - mOutside(D, loD, hiD); -} - -bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) { - mat4 pnts[4]; - pnts[0] = A; - pnts[1] = B; - pnts[2] = C; - pnts[3] = D; - - for(int i = 0; i < 4; ++i) { - for(int j = 0; j < 4; ++j) { - for(int k = 0; k < 4; ++k) { - if(0 == iMod( - int(255.0 * texture2D(maskTexture, - vec2( - (float(i * 2 + j / 2) + 0.5) / 8.0, - (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight - ))[3] - ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))), - 2 - )) return true; - } - } - } - return false; -} - -vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) { - float x = 0.5 * sign(v) + 0.5; - float y = axisY(x, A, B, C, D); - float z = 1.0 - abs(v); - - z += isContext ? 0.0 : 2.0 * float( - outsideBoundingBox(A, B, C, D) || - outsideRasterMask(A, B, C, D) - ); - - return vec4( - 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0, - z, - 1.0 - ); -} - -void main() { - mat4 A = mat4(p01_04, p05_08, p09_12, p13_16); - mat4 B = mat4(p17_20, p21_24, p25_28, p29_32); - mat4 C = mat4(p33_36, p37_40, p41_44, p45_48); - mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS); - - float v = colors[3]; - - gl_Position = position(isContext, v, A, B, C, D); - - fragColor = - isContext ? vec4(contextColor) : - isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5)); -} -`]),a=p([`precision highp float; -#define GLSLIFY 1 - -varying vec4 fragColor; - -void main() { - gl_FragColor = fragColor; -} -`]),L=e(25706).maxDimensionCount,x=e(71828),d=1e-6,m=2048,r=new Uint8Array(4),t=new Uint8Array(4),s={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function n(P){P.read({x:0,y:0,width:1,height:1,data:r})}function f(P,A,o,k,w){var U=P._gl;U.enable(U.SCISSOR_TEST),U.scissor(A,o,k,w),P.clear({color:[0,0,0,0],depth:1})}function c(P,A,o,k,w,U){var F=U.key;function G(_){var H=Math.min(k,w-_*k);_===0&&(window.cancelAnimationFrame(o.currentRafs[F]),delete o.currentRafs[F],f(P,U.scissorX,U.scissorY,U.scissorWidth,U.viewBoxSize[1])),!o.clearOnly&&(U.count=2*H,U.offset=2*_*k,A(U),_*k+H>>8*A)%256/255}function S(P,A,o){for(var k=new Array(P*(L+4)),w=0,U=0;UWe&&(We=te[me].dim1.canvasX,Se=me);le===0&&f(w,0,0,H.canvasWidth,H.canvasHeight);var Ye=X(o);for(me=0;mece._length&&(Te=Te.slice(0,ce._length));var Re=ce.tickvals,Xe;function Je(lt,ke){return{val:lt,text:Xe[ke]}}function He(lt,ke){return lt.val-ke.val}if(Array.isArray(Re)&&Re.length){Xe=ce.ticktext,!Array.isArray(Xe)||!Xe.length?Xe=Re.map(a(ce.tickformat)):Xe.length>Re.length?Xe=Xe.slice(0,Re.length):Re.length>Xe.length&&(Re=Re.slice(0,Xe.length));for(var $e=1;$e=ke||vt>=Ne)return;var Bt=ut.lineLayer.readPixel(qe,Ne-1-vt),Yt=Bt[3]!==0,it=Yt?Bt[2]+256*(Bt[1]+256*Bt[0]):null,Ue={x:qe,y:vt,clientX:lt.clientX,clientY:lt.clientY,dataIndex:ut.model.key,curveNumber:it};it!==me&&(Yt?q.hover(Ue):q.unhover&&q.unhover(Ue),me=it)}}),le.style("opacity",function(ut){return ut.pick?0:1}),J.style("background","rgba(255, 255, 255, 0)");var Se=J.selectAll("."+h.cn.parcoords).data(ce,f);Se.exit().remove(),Se.enter().append("g").classed(h.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),Se.attr("transform",function(ut){return m(ut.model.translateX,ut.model.translateY)});var Ee=Se.selectAll("."+h.cn.parcoordsControlView).data(c,f);Ee.enter().append("g").classed(h.cn.parcoordsControlView,!0),Ee.attr("transform",function(ut){return m(ut.model.pad.l,ut.model.pad.t)});var We=Ee.selectAll("."+h.cn.yAxis).data(function(ut){return ut.dimensions},f);We.enter().append("g").classed(h.cn.yAxis,!0),Ee.each(function(ut){V(We,ut,fe)}),le.each(function(ut){if(ut.viewModel){!ut.lineLayer||q?ut.lineLayer=v(this,ut):ut.lineLayer.update(ut),(ut.key||ut.key===0)&&(ut.viewModel[ut.key]=ut.lineLayer);var lt=!ut.context||q;ut.lineLayer.render(ut.viewModel.panels,lt)}}),We.attr("transform",function(ut){return m(ut.xScale(ut.xIndex),0)}),We.call(p.behavior.drag().origin(function(ut){return ut}).on("drag",function(ut){var lt=ut.parent;ee.linePickActive(!1),ut.x=Math.max(-h.overdrag,Math.min(ut.model.width+h.overdrag,p.event.x)),ut.canvasX=ut.x*ut.model.canvasPixelRatio,We.sort(function(ke,Ne){return ke.x-Ne.x}).each(function(ke,Ne){ke.xIndex=Ne,ke.x=ut===ke?ke.x:ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio}),V(We,lt,fe),We.filter(function(ke){return Math.abs(ut.xIndex-ke.xIndex)!==0}).attr("transform",function(ke){return m(ke.xScale(ke.xIndex),0)}),p.select(this).attr("transform",m(ut.x,0)),We.each(function(ke,Ne,gt){gt===ut.parent.key&&(lt.dimensions[Ne]=ke)}),lt.contextLayer&<.contextLayer.render(lt.panels,!1,!w(lt)),lt.focusLayer.render&<.focusLayer.render(lt.panels)}).on("dragend",function(ut){var lt=ut.parent;ut.x=ut.xScale(ut.xIndex),ut.canvasX=ut.x*ut.model.canvasPixelRatio,V(We,lt,fe),p.select(this).attr("transform",function(ke){return m(ke.x,0)}),lt.contextLayer&<.contextLayer.render(lt.panels,!1,!w(lt)),lt.focusLayer&<.focusLayer.render(lt.panels),lt.pickLayer&<.pickLayer.render(lt.panels,!0),ee.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(lt.key,lt.dimensions.map(function(ke){return ke.crossfilterDimensionIndex}))})),We.exit().remove();var Ye=We.selectAll("."+h.cn.axisOverlays).data(c,f);Ye.enter().append("g").classed(h.cn.axisOverlays,!0),Ye.selectAll("."+h.cn.axis).remove();var De=Ye.selectAll("."+h.cn.axis).data(c,f);De.enter().append("g").classed(h.cn.axis,!0),De.each(function(ut){var lt=ut.model.height/ut.model.tickDistance,ke=ut.domainScale,Ne=ke.domain();p.select(this).call(p.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(lt,ut.tickFormat).tickValues(ut.ordinal?Ne:null).tickFormat(function(gt){return b.isOrdinal(ut)?gt:W(ut.model.dimensions[ut.visibleIndex],gt)}).scale(ke)),t.font(De.selectAll("text"),ut.model.tickFont)}),De.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),De.selectAll("text").style("text-shadow",r.makeTextShadow(te)).style("cursor","default");var Te=Ye.selectAll("."+h.cn.axisHeading).data(c,f);Te.enter().append("g").classed(h.cn.axisHeading,!0);var Re=Te.selectAll("."+h.cn.axisTitle).data(c,f);Re.enter().append("text").classed(h.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",X?"none":"auto"),Re.text(function(ut){return ut.label}).each(function(ut){var lt=p.select(this);t.font(lt,ut.model.labelFont),r.convertToTspans(lt,ie)}).attr("transform",function(ut){var lt=H(ut.model.labelAngle,ut.model.labelSide),ke=h.axisTitleOffset;return(lt.dir>0?"":m(0,2*ke+ut.model.height))+d(lt.degrees)+m(-ke*lt.dx,-ke*lt.dy)}).attr("text-anchor",function(ut){var lt=H(ut.model.labelAngle,ut.model.labelSide),ke=Math.abs(lt.dx),Ne=Math.abs(lt.dy);return 2*ke>Ne?lt.dir*lt.dx<0?"start":"end":"middle"});var Xe=Ye.selectAll("."+h.cn.axisExtent).data(c,f);Xe.enter().append("g").classed(h.cn.axisExtent,!0);var Je=Xe.selectAll("."+h.cn.axisExtentTop).data(c,f);Je.enter().append("g").classed(h.cn.axisExtentTop,!0),Je.attr("transform",m(0,-h.axisExtentOffset));var He=Je.selectAll("."+h.cn.axisExtentTopText).data(c,f);He.enter().append("text").classed(h.cn.axisExtentTopText,!0).call(G),He.text(function(ut){return j(ut,!0)}).each(function(ut){t.font(p.select(this),ut.model.rangeFont)});var $e=Xe.selectAll("."+h.cn.axisExtentBottom).data(c,f);$e.enter().append("g").classed(h.cn.axisExtentBottom,!0),$e.attr("transform",function(ut){return m(0,ut.model.height+h.axisExtentOffset)});var pt=$e.selectAll("."+h.cn.axisExtentBottomText).data(c,f);pt.enter().append("text").classed(h.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(G),pt.text(function(ut){return j(ut,!1)}).each(function(ut){t.font(p.select(this),ut.model.rangeFont)}),S.ensureAxisBrush(Ye,te,ie)}},21341:function(B,O,e){var p=e(17171),E=e(79749),a=e(1602).isVisible,L={};function x(r,t,s){var n=t.indexOf(s),f=r.indexOf(n);return f===-1&&(f+=t.length),f}function d(r,t){return function(n,f){return x(r,t,n)-x(r,t,f)}}var m=B.exports=function(t,s){var n=t._fullLayout,f=E(t,[],L);if(f){var c={},u={},b={},h={},S=n._size;s.forEach(function(M,D){var T=M[0].trace;b[D]=T.index;var P=h[D]=T._fullInput.index;c[D]=t.data[P].dimensions,u[D]=t.data[P].dimensions.slice()});var v=function(M,D,T){var P=u[M][D],A=T.map(function(G){return G.slice()}),o="dimensions["+D+"].constraintrange",k=n._tracePreGUI[t._fullData[b[M]]._fullInput.uid];if(k[o]===void 0){var w=P.constraintrange;k[o]=w||null}var U=t._fullData[b[M]].dimensions[D];A.length?(A.length===1&&(A=A[0]),P.constraintrange=A,U.constraintrange=A.slice(),A=[A]):(delete P.constraintrange,delete U.constraintrange,A=null);var F={};F[o]=A,t.emit("plotly_restyle",[F,[h[M]]])},l=function(M){t.emit("plotly_hover",M)},g=function(M){t.emit("plotly_unhover",M)},C=function(M,D){var T=d(D,u[M].filter(a));c[M].sort(T),u[M].filter(function(P){return!a(P)}).sort(function(P){return u[M].indexOf(P)}).forEach(function(P){c[M].splice(c[M].indexOf(P),1),c[M].splice(u[M].indexOf(P),0,P)}),t.emit("plotly_restyle",[{dimensions:[c[M]]},[h[M]]])};p(t,s,{width:S.w,height:S.h,margin:{t:S.t,r:S.r,b:S.b,l:S.l}},{filterChanged:v,hover:l,unhover:g,axesMoved:C})}};m.reglPrecompiled=L},34e3:function(B,O,e){var p=e(9012),E=e(27670).Y,a=e(41940),L=e(22399),x=e(5386).fF,d=e(5386).si,m=e(1426).extendFlat,r=e(79952).u,t=a({editType:"plot",arrayOk:!0,colorEditType:"plot"});B.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:L.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},pattern:r,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:m({},p.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:x({},{keys:["label","color","value","percent","text"]}),texttemplate:d({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:m({},t,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:m({},t,{}),outsidetextfont:m({},t,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:m({},t,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:E({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:m({},t,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(B,O,e){var p=e(74875);O.name="pie",O.plot=function(E,a,L,x){p.plotBasePlot(O.name,E,a,L,x)},O.clean=function(E,a,L,x){p.cleanBasePlot(O.name,E,a,L,x)}},32354:function(B,O,e){var p=e(92770),E=e(84267),a=e(7901),L={};function x(t,s){var n=[],f=t._fullLayout,c=f.hiddenlabels||[],u=s.labels,b=s.marker.colors||[],h=s.values,S=s._length,v=s._hasValues&&S,l,g;if(s.dlabel)for(u=new Array(S),l=0;l=0});var w=s.type==="funnelarea"?T:s.sort;return w&&n.sort(function(U,F){return F.v-U.v}),n[0]&&(n[0].vTotal=D),n}function d(t){return function(n,f){return!n||(n=E(n),!n.isValid())?!1:(n=a.addOpacity(n,n.getAlpha()),t[f]||(t[f]=n),n)}}function m(t,s){var n=(s||{}).type;n||(n="pie");var f=t._fullLayout,c=t.calcdata,u=f[n+"colorway"],b=f["_"+n+"colormap"];f["extend"+n+"colors"]&&(u=r(u,L));for(var h=0,S=0;S0){b=!0;break}}b||(u=0)}return{hasLabels:f,hasValues:c,len:u}}function r(s,n,f,c,u){var b=c("marker.line.width");b&&c("marker.line.color",u?void 0:f.paper_bgcolor);var h=c("marker.colors");d(c,"marker.pattern",h),s.marker&&!n.marker.pattern.fgcolor&&(n.marker.pattern.fgcolor=s.marker.colors),n.marker.pattern.bgcolor||(n.marker.pattern.bgcolor=f.paper_bgcolor)}function t(s,n,f,c){function u(k,w){return E.coerce(s,n,a,k,w)}var b=u("labels"),h=u("values"),S=m(b,h),v=S.len;if(n._hasLabels=S.hasLabels,n._hasValues=S.hasValues,!n._hasLabels&&n._hasValues&&(u("label0"),u("dlabel")),!v){n.visible=!1;return}n._length=v,r(s,n,c,u,!0),u("scalegroup");var l=u("text"),g=u("texttemplate"),C;if(g||(C=u("textinfo",Array.isArray(l)?"text+percent":"percent")),u("hovertext"),u("hovertemplate"),g||C&&C!=="none"){var M=u("textposition");x(s,n,c,u,M,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1});var D=Array.isArray(M)||M==="auto",T=D||M==="outside";T&&u("automargin"),(M==="inside"||M==="auto"||Array.isArray(M))&&u("insidetextorientation")}L(n,c,u);var P=u("hole"),A=u("title.text");if(A){var o=u("title.position",P?"middle center":"top center");!P&&o==="middle center"&&(n.title.position="top center"),E.coerceFont(u,"title.font",c.font)}u("sort"),u("direction"),u("rotation"),u("pull")}B.exports={handleLabelsAndValues:m,handleMarkerDefaults:r,supplyDefaults:t}},20007:function(B,O,e){var p=e(23469).appendArrayMultiPointValues;B.exports=function(a,L){var x={curveNumber:L.index,pointNumbers:a.pts,data:L._input,fullData:L,label:a.label,color:a.color,value:a.v,percent:a.percent,text:a.text,bbox:a.bbox,v:a.v};return a.pts.length===1&&(x.pointNumber=x.i=a.pts[0]),p(x,L,a.pts),L.type==="funnelarea"&&(delete x.v,delete x.i),x}},22209:function(B,O,e){var p=e(91424),E=e(7901);B.exports=function(L,x,d,m){var r=d.marker.pattern;r&&r.shape?p.pointStyle(L,d,m,x):E.fill(L,x.color)}},53581:function(B,O,e){var p=e(71828);function E(a){return a.indexOf("e")!==-1?a.replace(/[.]?0+e/,"e"):a.indexOf(".")!==-1?a.replace(/[.]?0+$/,""):a}O.formatPiePercent=function(L,x){var d=E((L*100).toPrecision(3));return p.numSeparate(d,x)+"%"},O.formatPieValue=function(L,x){var d=E(L.toPrecision(10));return p.numSeparate(d,x)},O.getFirstFilled=function(L,x){if(Array.isArray(L))for(var d=0;d0&&(pt+=Ne*He.pxmid[0],ut+=Ne*He.pxmid[1])}He.cxFinal=pt,He.cyFinal=ut;function gt(_e,Ze,Fe,Ce){var ve=Ce*(Ze[0]-_e[0]),Ie=Ce*(Ze[1]-_e[1]);return"a"+Ce*le.r+","+Ce*le.r+" 0 "+He.largeArc+(Fe?" 1 ":" 0 ")+ve+","+Ie}var qe=me.hole;if(He.v===le.vTotal){var vt="M"+(pt+He.px0[0])+","+(ut+He.px0[1])+gt(He.px0,He.pxmid,!0,1)+gt(He.pxmid,He.px0,!0,1)+"Z";qe?ke.attr("d","M"+(pt+qe*He.px0[0])+","+(ut+qe*He.px0[1])+gt(He.px0,He.pxmid,!1,qe)+gt(He.pxmid,He.px0,!1,qe)+"Z"+vt):ke.attr("d",vt)}else{var Bt=gt(He.px0,He.px1,!0,1);if(qe){var Yt=1-qe;ke.attr("d","M"+(pt+qe*He.px1[0])+","+(ut+qe*He.px1[1])+gt(He.px1,He.px0,!1,qe)+"l"+Yt*He.px0[0]+","+Yt*He.px0[1]+Bt+"Z")}else ke.attr("d","M"+pt+","+ut+"l"+He.px0[0]+","+He.px0[1]+Bt+"Z")}pe(X,He,le);var it=u.castOption(me.textposition,He.pts),Ue=lt.selectAll("g.slicetext").data(He.text&&it!=="none"?[0]:[]);Ue.enter().append("g").classed("slicetext",!0),Ue.exit().remove(),Ue.each(function(){var _e=d.ensureSingle(p.select(this),"text","",function(ot){ot.attr("data-notex",1)}),Ze=d.ensureUniformFontSize(X,it==="outside"?g(me,He,re.font):C(me,He,re.font));_e.text(He.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(x.font,Ze).call(t.convertToTspans,X);var Fe=x.bBox(_e.node()),Ce;if(it==="outside")Ce=F(Fe,He);else if(Ce=D(Fe,He,le),it==="auto"&&Ce.scale<1){var ve=d.ensureUniformFontSize(X,me.outsidetextfont);_e.call(x.font,ve),Fe=x.bBox(_e.node()),Ce=F(Fe,He)}var Ie=Ce.textPosAngle,Ae=Ie===void 0?He.pxmid:ue(le.r,Ie);if(Ce.targetX=pt+Ae[0]*Ce.rCenter+(Ce.x||0),Ce.targetY=ut+Ae[1]*Ce.rCenter+(Ce.y||0),q(Ce,Fe),Ce.outside){var je=Ce.targetY;He.yLabelMin=je-Fe.height/2,He.yLabelMid=je,He.yLabelMax=je+Fe.height/2,He.labelExtraX=0,He.labelExtraY=0,Ee=!0}Ce.fontSize=Ze.size,n(me.type,Ce,re),ee[$e].transform=Ce,d.setTransormAndDisplay(_e,Ce)})});var We=p.select(this).selectAll("g.titletext").data(me.title.text?[0]:[]);if(We.enter().append("g").classed("titletext",!0),We.exit().remove(),We.each(function(){var He=d.ensureSingle(p.select(this),"text","",function(ut){ut.attr("data-notex",1)}),$e=me.title.text;me._meta&&($e=d.templateString($e,me._meta)),He.text($e).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(x.font,me.title.font).call(t.convertToTspans,X);var pt;me.title.position==="middle center"?pt=G(le):pt=_(le,fe),He.attr("transform",r(pt.x,pt.y)+m(Math.min(1,pt.scale))+r(pt.tx,pt.ty))}),Ee&&W(Se,me),v(we,me),Ee&&me.automargin){var Ye=x.bBox(ce.node()),De=me.domain,Te=fe.w*(De.x[1]-De.x[0]),Re=fe.h*(De.y[1]-De.y[0]),Xe=(.5*Te-le.r)/fe.w,Je=(.5*Re-le.r)/fe.h;E.autoMargin(X,"pie."+me.uid+".automargin",{xl:De.x[0]-Xe,xr:De.x[1]+Xe,yb:De.y[0]-Je,yt:De.y[1]+Je,l:Math.max(le.cx-le.r-Ye.left,0),r:Math.max(Ye.right-(le.cx+le.r),0),b:Math.max(Ye.bottom-(le.cy+le.r),0),t:Math.max(le.cy-le.r-Ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var ee=p.select(this);ee.attr("dy")&&ee.attr("dy",ee.attr("dy"))})},0)}function v(X,K){X.each(function(J){var re=p.select(this);if(!J.labelExtraX&&!J.labelExtraY){re.select("path.textline").remove();return}var fe=re.select("g.slicetext text");J.transform.targetX+=J.labelExtraX,J.transform.targetY+=J.labelExtraY,d.setTransormAndDisplay(fe,J.transform);var te=J.cxFinal+J.pxmid[0],ee=J.cyFinal+J.pxmid[1],ce="M"+te+","+ee,le=(J.yLabelMax-J.yLabelMin)*(J.pxmid[0]<0?-1:1)/4;if(J.labelExtraX){var me=J.labelExtraX*J.pxmid[1]/J.pxmid[0],we=J.yLabelMid+J.labelExtraY-(J.cyFinal+J.pxmid[1]);Math.abs(me)>Math.abs(we)?ce+="l"+we*J.pxmid[0]/J.pxmid[1]+","+we+"H"+(te+J.labelExtraX+le):ce+="l"+J.labelExtraX+","+me+"v"+(we-me)+"h"+le}else ce+="V"+(J.yLabelMid+J.labelExtraY)+"h"+le;d.ensureSingle(re,"path","textline").call(L.stroke,K.outsidetextfont.color).attr({"stroke-width":Math.min(2,K.outsidetextfont.size/8),d:ce,fill:"none"})})}function l(X,K,J){var re=J[0],fe=re.cx,te=re.cy,ee=re.trace,ce=ee.type==="funnelarea";"_hasHoverLabel"in ee||(ee._hasHoverLabel=!1),"_hasHoverEvent"in ee||(ee._hasHoverEvent=!1),X.on("mouseover",function(le){var me=K._fullLayout,we=K._fullData[ee.index];if(!(K._dragging||me.hovermode===!1)){var Se=we.hoverinfo;if(Array.isArray(Se)&&(Se=a.castHoverinfo({hoverinfo:[u.castOption(Se,le.pts)],_module:ee._module},me,0)),Se==="all"&&(Se="label+text+value+percent+name"),we.hovertemplate||Se!=="none"&&Se!=="skip"&&Se){var Ee=le.rInscribed||0,We=fe+le.pxmid[0]*(1-Ee),Ye=te+le.pxmid[1]*(1-Ee),De=me.separators,Te=[];if(Se&&Se.indexOf("label")!==-1&&Te.push(le.label),le.text=u.castOption(we.hovertext||we.text,le.pts),Se&&Se.indexOf("text")!==-1){var Re=le.text;d.isValidTextValue(Re)&&Te.push(Re)}le.value=le.v,le.valueLabel=u.formatPieValue(le.v,De),Se&&Se.indexOf("value")!==-1&&Te.push(le.valueLabel),le.percent=le.v/re.vTotal,le.percentLabel=u.formatPiePercent(le.percent,De),Se&&Se.indexOf("percent")!==-1&&Te.push(le.percentLabel);var Xe=we.hoverlabel,Je=Xe.font,He=[];a.loneHover({trace:ee,x0:We-Ee*re.r,x1:We+Ee*re.r,y:Ye,_x0:ce?fe+le.TL[0]:We-Ee*re.r,_x1:ce?fe+le.TR[0]:We+Ee*re.r,_y0:ce?te+le.TL[1]:Ye-Ee*re.r,_y1:ce?te+le.BL[1]:Ye+Ee*re.r,text:Te.join("
"),name:we.hovertemplate||Se.indexOf("name")!==-1?we.name:void 0,idealAlign:le.pxmid[0]<0?"left":"right",color:u.castOption(Xe.bgcolor,le.pts)||le.color,borderColor:u.castOption(Xe.bordercolor,le.pts),fontFamily:u.castOption(Je.family,le.pts),fontSize:u.castOption(Je.size,le.pts),fontColor:u.castOption(Je.color,le.pts),nameLength:u.castOption(Xe.namelength,le.pts),textAlign:u.castOption(Xe.align,le.pts),hovertemplate:u.castOption(we.hovertemplate,le.pts),hovertemplateLabels:le,eventData:[b(le,we)]},{container:me._hoverlayer.node(),outerContainer:me._paper.node(),gd:K,inOut_bbox:He}),le.bbox=He[0],ee._hasHoverLabel=!0}ee._hasHoverEvent=!0,K.emit("plotly_hover",{points:[b(le,we)],event:p.event})}}),X.on("mouseout",function(le){var me=K._fullLayout,we=K._fullData[ee.index],Se=p.select(this).datum();ee._hasHoverEvent&&(le.originalEvent=p.event,K.emit("plotly_unhover",{points:[b(Se,we)],event:p.event}),ee._hasHoverEvent=!1),ee._hasHoverLabel&&(a.loneUnhover(me._hoverlayer.node()),ee._hasHoverLabel=!1)}),X.on("click",function(le){var me=K._fullLayout,we=K._fullData[ee.index];K._dragging||me.hovermode===!1||(K._hoverdata=[b(le,we)],a.click(K,p.event))})}function g(X,K,J){var re=u.castOption(X.outsidetextfont.color,K.pts)||u.castOption(X.textfont.color,K.pts)||J.color,fe=u.castOption(X.outsidetextfont.family,K.pts)||u.castOption(X.textfont.family,K.pts)||J.family,te=u.castOption(X.outsidetextfont.size,K.pts)||u.castOption(X.textfont.size,K.pts)||J.size;return{color:re,family:fe,size:te}}function C(X,K,J){var re=u.castOption(X.insidetextfont.color,K.pts);!re&&X._input.textfont&&(re=u.castOption(X._input.textfont.color,K.pts));var fe=u.castOption(X.insidetextfont.family,K.pts)||u.castOption(X.textfont.family,K.pts)||J.family,te=u.castOption(X.insidetextfont.size,K.pts)||u.castOption(X.textfont.size,K.pts)||J.size;return{color:re||L.contrast(K.color),family:fe,size:te}}function M(X,K){for(var J,re,fe=0;fe=-4;Xe-=2)Re(Math.PI*Xe,"tan");for(Xe=4;Xe>=-4;Xe-=2)Re(Math.PI*(Xe+1),"tan")}if(Se||We){for(Xe=4;Xe>=-4;Xe-=2)Re(Math.PI*(Xe+1.5),"rad");for(Xe=4;Xe>=-4;Xe-=2)Re(Math.PI*(Xe+.5),"rad")}}if(ce||Ye||Se){var Je=Math.sqrt(X.width*X.width+X.height*X.height);if(Te={scale:fe*re*2/Je,rCenter:1-fe,rotate:0},Te.textPosAngle=(K.startangle+K.stopangle)/2,Te.scale>=1)return Te;De.push(Te)}(Ye||We)&&(Te=P(X,re,ee,le,me),Te.textPosAngle=(K.startangle+K.stopangle)/2,De.push(Te)),(Ye||Ee)&&(Te=A(X,re,ee,le,me),Te.textPosAngle=(K.startangle+K.stopangle)/2,De.push(Te));for(var He=0,$e=0,pt=0;pt=1)break}return De[He]}function T(X,K){var J=X.startangle,re=X.stopangle;return J>K&&K>re||J0?1:-1)/2,y:te/(1+J*J/(re*re)),outside:!0}}function G(X){var K=Math.sqrt(X.titleBox.width*X.titleBox.width+X.titleBox.height*X.titleBox.height);return{x:X.cx,y:X.cy,scale:X.trace.hole*X.r*2/K,tx:0,ty:-X.titleBox.height/2+X.trace.title.font.size}}function _(X,K){var J=1,re=1,fe,te=X.trace,ee={x:X.cx,y:X.cy},ce={tx:0,ty:0};ce.ty+=te.title.font.size,fe=N(te),te.title.position.indexOf("top")!==-1?(ee.y-=(1+fe)*X.r,ce.ty-=X.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(ee.y+=(1+fe)*X.r);var le=H(X.r,X.trace.aspectratio),me=K.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(me=me+le,ee.x-=(1+fe)*le,ce.tx+=X.titleBox.width/2):te.title.position.indexOf("center")!==-1?me*=2:te.title.position.indexOf("right")!==-1&&(me=me+le,ee.x+=(1+fe)*le,ce.tx-=X.titleBox.width/2),J=me/X.titleBox.width,re=V(X,K)/X.titleBox.height,{x:ee.x,y:ee.y,scale:Math.min(J,re),tx:ce.tx,ty:ce.ty}}function H(X,K){return X/(K===void 0?1:K)}function V(X,K){var J=X.trace,re=K.h*(J.domain.y[1]-J.domain.y[0]);return Math.min(X.titleBox.height,re/2)}function N(X){var K=X.pull;if(!K)return 0;var J;if(Array.isArray(K))for(K=0,J=0;JK&&(K=X.pull[J]);return K}function W(X,K){var J,re,fe,te,ee,ce,le,me,we,Se,Ee,We,Ye;function De(Je,He){return Je.pxmid[1]-He.pxmid[1]}function Te(Je,He){return He.pxmid[1]-Je.pxmid[1]}function Re(Je,He){He||(He={});var $e=He.labelExtraY+(re?He.yLabelMax:He.yLabelMin),pt=re?Je.yLabelMin:Je.yLabelMax,ut=re?Je.yLabelMax:Je.yLabelMin,lt=Je.cyFinal+ee(Je.px0[1],Je.px1[1]),ke=$e-pt,Ne,gt,qe,vt,Bt,Yt;if(ke*le>0&&(Je.labelExtraY=ke),!!Array.isArray(K.pull))for(gt=0;gt=(u.castOption(K.pull,qe.pts)||0))&&((Je.pxmid[1]-qe.pxmid[1])*le>0?(vt=qe.cyFinal+ee(qe.px0[1],qe.px1[1]),ke=vt-pt-Je.labelExtraY,ke*le>0&&(Je.labelExtraY+=ke)):(ut+Je.labelExtraY-lt)*le>0&&(Ne=3*ce*Math.abs(gt-Se.indexOf(Je)),Bt=qe.cxFinal+te(qe.px0[0],qe.px1[0]),Yt=Bt+Ne-(Je.cxFinal+Je.pxmid[0])-Je.labelExtraX,Yt*ce>0&&(Je.labelExtraX+=Yt)))}for(re=0;re<2;re++)for(fe=re?De:Te,ee=re?Math.max:Math.min,le=re?1:-1,J=0;J<2;J++){for(te=J?Math.max:Math.min,ce=J?1:-1,me=X[re][J],me.sort(fe),we=X[1-re][J],Se=we.concat(me),We=[],Ee=0;Ee1?(me=J.r,we=me/fe.aspectratio):(we=J.r,me=we*fe.aspectratio),me*=(1+fe.baseratio)/2,le=me*we}ee=Math.min(ee,le/J.vTotal)}for(re=0;reK.vTotal/2?1:0,me.halfangle=Math.PI*Math.min(me.v/K.vTotal,.5),me.ring=1-re.hole,me.rInscribed=U(me,K))}function ue(X,K){return[X*Math.sin(K),-X*Math.cos(K)]}function pe(X,K,J){var re=X._fullLayout,fe=J.trace,te=fe.texttemplate,ee=fe.textinfo;if(!te&&ee&&ee!=="none"){var ce=ee.split("+"),le=function(He){return ce.indexOf(He)!==-1},me=le("label"),we=le("text"),Se=le("value"),Ee=le("percent"),We=re.separators,Ye;if(Ye=me?[K.label]:[],we){var De=u.getFirstFilled(fe.text,K.pts);h(De)&&Ye.push(De)}Se&&Ye.push(u.formatPieValue(K.v,We)),Ee&&Ye.push(u.formatPiePercent(K.v/J.vTotal,We)),K.text=Ye.join("
")}function Te(He){return{label:He.label,value:He.v,valueLabel:u.formatPieValue(He.v,re.separators),percent:He.v/J.vTotal,percentLabel:u.formatPiePercent(He.v/J.vTotal,re.separators),color:He.color,text:He.text,customdata:d.castOption(fe,He.i,"customdata")}}if(te){var Re=d.castOption(fe,K.i,"texttemplate");if(!Re)K.text="";else{var Xe=Te(K),Je=u.getFirstFilled(fe.text,K.pts);(h(Je)||Je==="")&&(Xe.text=Je),K.text=d.texttemplateString(Re,Xe,X._fullLayout._d3locale,Xe,fe._meta||{})}}}function q(X,K){var J=X.rotate*Math.PI/180,re=Math.cos(J),fe=Math.sin(J),te=(K.left+K.right)/2,ee=(K.top+K.bottom)/2;X.textX=te*re-ee*fe,X.textY=te*fe+ee*re,X.noCenter=!0}B.exports={plot:S,formatSliceLabel:pe,transformInsideText:D,determineInsideTextFont:C,positionTitleOutside:_,prerenderTitles:M,layoutAreas:j,attachFxHandlers:l,computeTransform:q}},68357:function(B,O,e){var p=e(39898),E=e(63463),a=e(72597).resizeText;B.exports=function(x){var d=x._fullLayout._pielayer.selectAll(".trace");a(x,d,"pie"),d.each(function(m){var r=m[0],t=r.trace,s=p.select(this);s.style({opacity:t.opacity}),s.selectAll("path.surface").each(function(n){p.select(this).call(E,n,t,x)})})}},63463:function(B,O,e){var p=e(7901),E=e(53581).castOption,a=e(22209);B.exports=function(x,d,m,r){var t=m.marker.line,s=E(t.color,d.pts)||p.defaultLine,n=E(t.width,d.pts)||0;x.call(a,d,m,r).style("stroke-width",n).call(p.stroke,s)}},10959:function(B,O,e){var p=e(82196);B.exports={x:p.x,y:p.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:p.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(B,O,e){var p=e(9330).gl_pointcloud2d,E=e(78614),a=e(71739).findExtremes,L=e(34603);function x(r,t){this.scene=r,this.uid=t,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=p(r.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var d=x.prototype;d.handlePick=function(r){var t=this.idToIndex[r.pointId];return{trace:this,dataCoord:r.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[t*2],this.pickXYData[t*2+1]]:[this.pickXData[t],this.pickYData[t]],textLabel:Array.isArray(this.textLabels)?this.textLabels[t]:this.textLabels,color:this.color,name:this.name,pointIndex:t,hoverinfo:this.hoverinfo}},d.update=function(r){this.index=r.index,this.textLabels=r.text,this.name=r.name,this.hoverinfo=r.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(r),this.color=L(r,{})},d.updateFast=function(r){var t=this.xData=this.pickXData=r.x,s=this.yData=this.pickYData=r.y,n=this.pickXYData=r.xy,f=r.xbounds&&r.ybounds,c=r.indices,u,b,h,S=this.bounds,v,l,g;if(n){if(h=n,u=n.length>>>1,f)S[0]=r.xbounds[0],S[2]=r.xbounds[1],S[1]=r.ybounds[0],S[3]=r.ybounds[1];else for(g=0;gS[2]&&(S[2]=v),lS[3]&&(S[3]=l);if(c)b=c;else for(b=new Int32Array(u),g=0;gS[2]&&(S[2]=v),lS[3]&&(S[3]=l);this.idToIndex=b,this.pointcloudOptions.idToIndex=b,this.pointcloudOptions.positions=h;var C=E(r.marker.color),M=E(r.marker.border.color),D=r.opacity*r.marker.opacity;C[3]*=D,this.pointcloudOptions.color=C;var T=r.marker.blend;if(T===null){var P=100;T=t.lengthM&&(M=n.source[v]),n.target[v]>M&&(M=n.target[v]);var D=M+1;t.node._count=D;var T,P=t.node.groups,A={};for(v=0;v0&&x(G,D)&&x(_,D)&&!(A.hasOwnProperty(G)&&A.hasOwnProperty(_)&&A[G]===A[_])){A.hasOwnProperty(_)&&(_=A[_]),A.hasOwnProperty(G)&&(G=A[G]),G=+G,_=+_,b[G]=b[_]=!0;var H="";n.label&&n.label[v]&&(H=n.label[v]);var V=null;H&&h.hasOwnProperty(H)&&(V=h[H]),f.push({pointNumber:v,label:H,color:c?n.color[v]:n.color,customdata:u?n.customdata[v]:n.customdata,concentrationscale:V,source:G,target:_,value:+F}),U.source.push(G),U.target.push(_)}}var N=D+P.length,W=L(s.color),j=L(s.customdata),Q=[];for(v=0;vD-1,childrenNodes:[],pointNumber:v,label:ie,color:W?s.color[v]:s.color,customdata:j?s.customdata[v]:s.customdata})}var ue=!1;return r(N,U.source,U.target)&&(ue=!0),{circular:ue,links:f,nodes:Q,groups:P,groupLookup:A}}function r(t,s,n){for(var f=E.init2dArray(t,0),c=0;c1})}B.exports=function(s,n){var f=m(n);return a({circular:f.circular,_nodes:f.nodes,_links:f.links,_groups:f.groups,_groupLookup:f.groupLookup})}},85247:function(B){B.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(B,O,e){var p=e(71828),E=e(39953),a=e(7901),L=e(84267),x=e(27670).c,d=e(38048),m=e(44467),r=e(85501);B.exports=function(n,f,c,u){function b(o,k){return p.coerce(n,f,E,o,k)}var h=p.extendDeep(u.hoverlabel,n.hoverlabel),S=n.node,v=m.newContainer(f,"node");function l(o,k){return p.coerce(S,v,E.node,o,k)}l("label"),l("groups"),l("x"),l("y"),l("pad"),l("thickness"),l("line.color"),l("line.width"),l("hoverinfo",n.hoverinfo),d(S,v,l,h),l("hovertemplate");var g=u.colorway,C=function(o){return g[o%g.length]};l("color",v.label.map(function(o,k){return a.addOpacity(C(k),.8)})),l("customdata");var M=n.link||{},D=m.newContainer(f,"link");function T(o,k){return p.coerce(M,D,E.link,o,k)}T("label"),T("arrowlen"),T("source"),T("target"),T("value"),T("line.color"),T("line.width"),T("hoverinfo",n.hoverinfo),d(M,D,T,h),T("hovertemplate");var P=L(u.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";T("color",p.repeat(P,D.value.length)),T("customdata"),r(M,D,{name:"colorscales",handleItemDefaults:t}),x(f,u,b),b("orientation"),b("valueformat"),b("valuesuffix");var A;v.x.length&&v.y.length&&(A="freeform"),b("arrangement",A),p.coerceFont(b,"textfont",p.extendFlat({},u.font)),f._length=null};function t(s,n){function f(c,u){return p.coerce(s,n,E.link.colorscales,c,u)}f("label"),f("cmin"),f("cmax"),f("colorscale")}},29396:function(B,O,e){B.exports={attributes:e(39953),supplyDefaults:e(26857),calc:e(92930),plot:e(60436),moduleType:"trace",name:"sankey",basePlotModule:e(75536),selectPoints:e(84564),categories:["noOpacity"],meta:{}}},60436:function(B,O,e){var p=e(39898),E=e(71828),a=E.numberFormat,L=e(3393),x=e(30211),d=e(7901),m=e(85247).cn,r=E._;function t(g){return g!==""}function s(g,C){return g.filter(function(M){return M.key===C.traceId})}function n(g,C){p.select(g).select("path").style("fill-opacity",C),p.select(g).select("rect").style("fill-opacity",C)}function f(g){p.select(g).select("text.name").style("fill","black")}function c(g){return function(C){return g.node.sourceLinks.indexOf(C.link)!==-1||g.node.targetLinks.indexOf(C.link)!==-1}}function u(g){return function(C){return C.node.sourceLinks.indexOf(g.link)!==-1||C.node.targetLinks.indexOf(g.link)!==-1}}function b(g,C,M){C&&M&&s(M,C).selectAll("."+m.sankeyLink).filter(c(C)).call(S.bind(0,C,M,!1))}function h(g,C,M){C&&M&&s(M,C).selectAll("."+m.sankeyLink).filter(c(C)).call(v.bind(0,C,M,!1))}function S(g,C,M,D){var T=D.datum().link.label;D.style("fill-opacity",function(P){if(!P.link.concentrationscale)return .4}),T&&s(C,g).selectAll("."+m.sankeyLink).filter(function(P){return P.link.label===T}).style("fill-opacity",function(P){if(!P.link.concentrationscale)return .4}),M&&s(C,g).selectAll("."+m.sankeyNode).filter(u(g)).call(b)}function v(g,C,M,D){var T=D.datum().link.label;D.style("fill-opacity",function(P){return P.tinyColorAlpha}),T&&s(C,g).selectAll("."+m.sankeyLink).filter(function(P){return P.link.label===T}).style("fill-opacity",function(P){return P.tinyColorAlpha}),M&&s(C,g).selectAll(m.sankeyNode).filter(u(g)).call(h)}function l(g,C){var M=g.hoverlabel||{},D=E.nestedProperty(M,C).get();return Array.isArray(D)?!1:D}B.exports=function(C,M){for(var D=C._fullLayout,T=D._paper,P=D._size,A=0;A"),color:l(q,"bgcolor")||d.addOpacity(fe.color,1),borderColor:l(q,"bordercolor"),fontFamily:l(q,"font.family"),fontSize:l(q,"font.size"),fontColor:l(q,"font.color"),nameLength:l(q,"namelength"),textAlign:l(q,"align"),idealAlign:p.event.x"),color:l(q,"bgcolor")||pe.tinyColorHue,borderColor:l(q,"bordercolor"),fontFamily:l(q,"font.family"),fontSize:l(q,"font.size"),fontColor:l(q,"font.color"),nameLength:l(q,"namelength"),textAlign:l(q,"align"),idealAlign:"left",hovertemplate:q.hovertemplate,hovertemplateLabels:ee,eventData:[pe.node]},{container:D._hoverlayer.node(),outerContainer:D._paper.node(),gd:C});n(me,.85),f(me)}}},ie=function(ue,pe,q){C._fullLayout.hovermode!==!1&&(p.select(ue).call(h,pe,q),pe.node.trace.node.hoverinfo!=="skip"&&(pe.node.fullData=pe.node.trace,C.emit("plotly_unhover",{event:p.event,points:[pe.node]})),x.loneUnhover(D._hoverlayer.node()))};L(C,T,M,{width:P.w,height:P.h,margin:{t:P.t,r:P.r,b:P.b,l:P.l}},{linkEvents:{hover:w,follow:V,unhover:N,select:k},nodeEvents:{hover:j,follow:Q,unhover:ie,select:W}})}},3393:function(B,O,e){var p=e(49887),E=e(81684).k4,a=e(39898),L=e(30838),x=e(86781),d=e(85247),m=e(84267),r=e(7901),t=e(91424),s=e(71828),n=s.strTranslate,f=s.strRotate,c=e(28984),u=c.keyFun,b=c.repeat,h=c.unwrap,S=e(63893),v=e(73972),l=e(18783),g=l.CAP_SHIFT,C=l.LINE_SPACING,M=3;function D(K,J,re){var fe=h(J),te=fe.trace,ee=te.domain,ce=te.orientation==="h",le=te.node.pad,me=te.node.thickness,we=K.width*(ee.x[1]-ee.x[0]),Se=K.height*(ee.y[1]-ee.y[0]),Ee=fe._nodes,We=fe._links,Ye=fe.circular,De;Ye?De=x.sankeyCircular().circularLinkGap(0):De=L.sankey(),De.iterations(d.sankeyIterations).size(ce?[we,Se]:[Se,we]).nodeWidth(me).nodePadding(le).nodeId(function(Bt){return Bt.pointNumber}).nodes(Ee).links(We);var Te=De();De.nodePadding()=_e||(Ue=_e-it.y0,Ue>1e-6&&(it.y0+=Ue,it.y1+=Ue)),_e=it.y1+le})}function Ne(Bt){var Yt=Bt.map(function(ve,Ie){return{x0:ve.x0,index:Ie}}).sort(function(ve,Ie){return ve.x0-Ie.x0}),it=[],Ue=-1,_e,Ze=-1/0,Fe;for(Re=0;ReZe+me&&(Ue+=1,_e=Ce.x0),Ze=Ce.x0,it[Ue]||(it[Ue]=[]),it[Ue].push(Ce),Fe=_e-Ce.x0,Ce.x0+=Fe,Ce.x1+=Fe}return it}if(te.node.x.length&&te.node.y.length){for(Re=0;Re0?"L"+te.targetX+" "+te.targetY:"")+"Z":re="M "+(te.targetX-J)+" "+(te.targetY-fe)+" L"+(te.rightInnerExtent-J)+" "+(te.targetY-fe)+"A"+(te.rightLargeArcRadius+fe)+" "+(te.rightSmallArcRadius+fe)+" 0 0 0 "+(te.rightFullExtent-fe-J)+" "+(te.targetY+te.rightSmallArcRadius)+"L"+(te.rightFullExtent-fe-J)+" "+te.verticalRightInnerExtent+"A"+(te.rightLargeArcRadius+fe)+" "+(te.rightLargeArcRadius+fe)+" 0 0 0 "+(te.rightInnerExtent-J)+" "+(te.verticalFullExtent+fe)+"L"+te.leftInnerExtent+" "+(te.verticalFullExtent+fe)+"A"+(te.leftLargeArcRadius+fe)+" "+(te.leftLargeArcRadius+fe)+" 0 0 0 "+(te.leftFullExtent+fe)+" "+te.verticalLeftInnerExtent+"L"+(te.leftFullExtent+fe)+" "+(te.sourceY+te.leftSmallArcRadius)+"A"+(te.leftLargeArcRadius+fe)+" "+(te.leftSmallArcRadius+fe)+" 0 0 0 "+te.leftInnerExtent+" "+(te.sourceY-fe)+"L"+te.sourceX+" "+(te.sourceY-fe)+"L"+te.sourceX+" "+(te.sourceY+fe)+"L"+te.leftInnerExtent+" "+(te.sourceY+fe)+"A"+(te.leftLargeArcRadius-fe)+" "+(te.leftSmallArcRadius-fe)+" 0 0 1 "+(te.leftFullExtent-fe)+" "+(te.sourceY+te.leftSmallArcRadius)+"L"+(te.leftFullExtent-fe)+" "+te.verticalLeftInnerExtent+"A"+(te.leftLargeArcRadius-fe)+" "+(te.leftLargeArcRadius-fe)+" 0 0 1 "+te.leftInnerExtent+" "+(te.verticalFullExtent-fe)+"L"+(te.rightInnerExtent-J)+" "+(te.verticalFullExtent-fe)+"A"+(te.rightLargeArcRadius-fe)+" "+(te.rightLargeArcRadius-fe)+" 0 0 1 "+(te.rightFullExtent+fe-J)+" "+te.verticalRightInnerExtent+"L"+(te.rightFullExtent+fe-J)+" "+(te.targetY+te.rightSmallArcRadius)+"A"+(te.rightLargeArcRadius-fe)+" "+(te.rightSmallArcRadius-fe)+" 0 0 1 "+(te.rightInnerExtent-J)+" "+(te.targetY+fe)+"L"+(te.targetX-J)+" "+(te.targetY+fe)+(J>0?"L"+te.targetX+" "+te.targetY:"")+"Z",re}function A(){var K=.5;function J(re){var fe=re.linkArrowLength;if(re.link.circular)return P(re.link,fe);var te=Math.abs((re.link.target.x0-re.link.source.x1)/2);fe>te&&(fe=te);var ee=re.link.source.x1,ce=re.link.target.x0-fe,le=E(ee,ce),me=le(K),we=le(1-K),Se=re.link.y0-re.link.width/2,Ee=re.link.y0+re.link.width/2,We=re.link.y1-re.link.width/2,Ye=re.link.y1+re.link.width/2,De="M"+ee+","+Se,Te="C"+me+","+Se+" "+we+","+We+" "+ce+","+We,Re="C"+we+","+Ye+" "+me+","+Ee+" "+ee+","+Ee,Xe=fe>0?"L"+(ce+fe)+","+(We+re.link.width/2):"";return Xe+="L"+ce+","+Ye,De+Te+Xe+Re+"Z"}return J}function o(K,J){var re=m(J.color),fe=d.nodePadAcross,te=K.nodePad/2;J.dx=J.x1-J.x0,J.dy=J.y1-J.y0;var ee=J.dx,ce=Math.max(.5,J.dy),le="node_"+J.pointNumber;return J.group&&(le=s.randstr()),J.trace=K.trace,J.curveNumber=K.trace.index,{index:J.pointNumber,key:le,partOfGroup:J.partOfGroup||!1,group:J.group,traceId:K.key,trace:K.trace,node:J,nodePad:K.nodePad,nodeLineColor:K.nodeLineColor,nodeLineWidth:K.nodeLineWidth,textFont:K.textFont,size:K.horizontal?K.height:K.width,visibleWidth:Math.ceil(ee),visibleHeight:ce,zoneX:-fe,zoneY:-te,zoneWidth:ee+2*fe,zoneHeight:ce+2*te,labelY:K.horizontal?J.dy/2+1:J.dx/2+1,left:J.originalLayer===1,sizeAcross:K.width,forceLayouts:K.forceLayouts,horizontal:K.horizontal,darkBackground:re.getBrightness()<=128,tinyColorHue:r.tinyRGB(re),tinyColorAlpha:re.getAlpha(),valueFormat:K.valueFormat,valueSuffix:K.valueSuffix,sankey:K.sankey,graph:K.graph,arrangement:K.arrangement,uniqueNodeLabelPathId:[K.guid,K.key,le].join("_"),interactionState:K.interactionState,figure:K}}function k(K){K.attr("transform",function(J){return n(J.node.x0.toFixed(3),J.node.y0.toFixed(3))})}function w(K){K.call(k)}function U(K,J){K.call(w),J.attr("d",A())}function F(K){K.attr("width",function(J){return J.node.x1-J.node.x0}).attr("height",function(J){return J.visibleHeight})}function G(K){return K.link.width>1||K.linkLineWidth>0}function _(K){var J=n(K.translateX,K.translateY);return J+(K.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function H(K,J,re){K.on(".basic",null).on("mouseover.basic",function(fe){!fe.interactionState.dragInProgress&&!fe.partOfGroup&&(re.hover(this,fe,J),fe.interactionState.hovered=[this,fe])}).on("mousemove.basic",function(fe){!fe.interactionState.dragInProgress&&!fe.partOfGroup&&(re.follow(this,fe),fe.interactionState.hovered=[this,fe])}).on("mouseout.basic",function(fe){!fe.interactionState.dragInProgress&&!fe.partOfGroup&&(re.unhover(this,fe,J),fe.interactionState.hovered=!1)}).on("click.basic",function(fe){fe.interactionState.hovered&&(re.unhover(this,fe,J),fe.interactionState.hovered=!1),!fe.interactionState.dragInProgress&&!fe.partOfGroup&&re.select(this,fe,J)})}function V(K,J,re,fe){var te=a.behavior.drag().origin(function(ee){return{x:ee.node.x0+ee.visibleWidth/2,y:ee.node.y0+ee.visibleHeight/2}}).on("dragstart",function(ee){if(ee.arrangement!=="fixed"&&(s.ensureSingle(fe._fullLayout._infolayer,"g","dragcover",function(le){fe._fullLayout._dragCover=le}),s.raiseToTop(this),ee.interactionState.dragInProgress=ee.node,ue(ee.node),ee.interactionState.hovered&&(re.nodeEvents.unhover.apply(0,ee.interactionState.hovered),ee.interactionState.hovered=!1),ee.arrangement==="snap")){var ce=ee.traceId+"|"+ee.key;ee.forceLayouts[ce]?ee.forceLayouts[ce].alpha(1):N(K,ce,ee),W(K,J,ee,ce,fe)}}).on("drag",function(ee){if(ee.arrangement!=="fixed"){var ce=a.event.x,le=a.event.y;ee.arrangement==="snap"?(ee.node.x0=ce-ee.visibleWidth/2,ee.node.x1=ce+ee.visibleWidth/2,ee.node.y0=le-ee.visibleHeight/2,ee.node.y1=le+ee.visibleHeight/2):(ee.arrangement==="freeform"&&(ee.node.x0=ce-ee.visibleWidth/2,ee.node.x1=ce+ee.visibleWidth/2),le=Math.max(0,Math.min(ee.size-ee.visibleHeight/2,le)),ee.node.y0=le-ee.visibleHeight/2,ee.node.y1=le+ee.visibleHeight/2),ue(ee.node),ee.arrangement!=="snap"&&(ee.sankey.update(ee.graph),U(K.filter(pe(ee)),J))}}).on("dragend",function(ee){if(ee.arrangement!=="fixed"){ee.interactionState.dragInProgress=!1;for(var ce=0;ce0)window.requestAnimationFrame(ee);else{var me=re.node.originalX;re.node.x0=me-re.visibleWidth/2,re.node.x1=me+re.visibleWidth/2,Q(re,te)}})}function j(K,J,re,fe){return function(){for(var ee=0,ce=0;ce0&&fe.forceLayouts[J].alpha(0)}}function Q(K,J){for(var re=[],fe=[],te=0;te_&&k[V].gap;)V--;for(W=k[V].s,H=k.length-1;H>V;H--)k[H].s=W;for(;_F[h]&&h=0;c--){var u=x[c];if(u.type==="scatter"&&u.xaxis===n.xaxis&&u.yaxis===n.yaxis){u.opacity=void 0;break}}}}}},17438:function(B,O,e){var p=e(71828),E=e(73972),a=e(82196),L=e(47581),x=e(34098),d=e(67513),m=e(73927),r=e(565),t=e(49508),s=e(11058),n=e(94039),f=e(82410),c=e(28908),u=e(71828).coercePattern;B.exports=function(h,S,v,l){function g(k,w){return p.coerce(h,S,a,k,w)}var C=d(h,S,l,g);if(C||(S.visible=!1),!!S.visible){m(h,S,l,g),g("xhoverformat"),g("yhoverformat");var M=r(h,S,l,g);l.scattermode==="group"&&S.orientation===void 0&&g("orientation","v");var D=!M&&C=Math.min(we,Se)&&h<=Math.max(we,Se)?0:1/0}var Ee=Math.max(3,me.mrc||0),We=1-1/Ee,Ye=Math.abs(u.c2p(me.x)-h);return Ye=Math.min(we,Se)&&S<=Math.max(we,Se)?0:1/0}var Ee=Math.max(3,me.mrc||0),We=1-1/Ee,Ye=Math.abs(b.c2p(me.y)-S);return Yece!=ee>=ce&&(re=K[q-1][0],fe=K[q][0],ee-te&&(J=re+(fe-re)*(ce-te)/(ee-te),j=Math.min(j,J),Q=Math.max(Q,J)));j=Math.max(j,0),Q=Math.min(Q,u._length);var le=x.defaultLine;return x.opacity(c.fillcolor)?le=c.fillcolor:x.opacity((c.line||{}).color)&&(le=c.line.color),p.extendFlat(r,{distance:r.maxHoverDistance,x0:j,x1:Q,y0:ce,y1:ce,color:le,hovertemplate:!1}),delete r.index,c.text&&!Array.isArray(c.text)?r.text=String(c.text):r.text=c.name,[r]}}}},67368:function(B,O,e){var p=e(34098);B.exports={hasLines:p.hasLines,hasMarkers:p.hasMarkers,hasText:p.hasText,isBubble:p.isBubble,attributes:e(82196),layoutAttributes:e(21479),supplyDefaults:e(17438),crossTraceDefaults:e(34936),supplyLayoutDefaults:e(79334),calc:e(47761).calc,crossTraceCalc:e(72626),arraysToCalcdata:e(75225),plot:e(32663),colorbar:e(4898),formatLabels:e(8225),style:e(16296).style,styleOnSelect:e(16296).styleOnSelect,hoverPoints:e(33720),selectPoints:e(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:e(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(B){B.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(B,O,e){var p=e(71828),E=e(21479);B.exports=function(a,L){function x(m,r){return p.coerce(a,L,E,m,r)}var d=L.barmode==="group";L.scattermode==="group"&&x("scattergap",d?L.bargap:.2)}},11058:function(B,O,e){var p=e(71828).isArrayOrTypedArray,E=e(52075).hasColorscale,a=e(1586);B.exports=function(x,d,m,r,t,s){s||(s={});var n=(x.marker||{}).color;if(t("line.color",m),E(x,"line"))a(x,d,r,t,{prefix:"line.",cLetter:"c"});else{var f=(p(n)?!1:n)||m;t("line.color",f)}t("line.width"),s.noDash||t("line.dash"),s.backoff&&t("line.backoff")}},34621:function(B,O,e){var p=e(91424),E=e(50606),a=E.BADNUM,L=E.LOG_CLIP,x=L+.5,d=L-.5,m=e(71828),r=m.segmentsIntersect,t=m.constrain,s=e(47581);B.exports=function(f,c){var u=c.trace||{},b=c.xaxis,h=c.yaxis,S=b.type==="log",v=h.type==="log",l=b._length,g=h._length,C=c.backoff,M=u.marker,D=c.connectGaps,T=c.baseTolerance,P=c.shape,A=P==="linear",o=u.fill&&u.fill!=="none",k=[],w=s.minTolerance,U=f.length,F=new Array(U),G=0,_,H,V,N,W,j,Q,ie,ue,pe,q,X,K,J,re,fe;function te(Et){var kt=f[Et];if(!kt)return!1;var nr=c.linearized?b.l2p(kt.x):b.c2p(kt.x),dr=c.linearized?h.l2p(kt.y):h.c2p(kt.y);if(nr===a){if(S&&(nr=b.c2p(kt.x,!0)),nr===a)return!1;v&&dr===a&&(nr*=Math.abs(b._m*g*(b._m>0?x:d)/(h._m*l*(h._m>0?x:d)))),nr*=1e3}if(dr===a){if(v&&(dr=h.c2p(kt.y,!0)),dr===a)return!1;dr*=1e3}return[nr,dr]}function ee(Et,kt,nr,dr){var Dt=nr-Et,$t=dr-kt,vr=.5-Et,Pr=.5-kt,Ct=Dt*Dt+$t*$t,ir=Dt*vr+$t*Pr;if(ir>0&&ir1||Math.abs(vr.y-nr[0][1])>1)&&(vr=[vr.x,vr.y],dr&&we(vr,Et)We||Et[1]De)return[t(Et[0],Ee,We),t(Et[1],Ye,De)]}function ke(Et,kt){if(Et[0]===kt[0]&&(Et[0]===Ee||Et[0]===We)||Et[1]===kt[1]&&(Et[1]===Ye||Et[1]===De))return!0}function Ne(Et,kt){var nr=[],dr=lt(Et),Dt=lt(kt);return dr&&Dt&&ke(dr,Dt)||(dr&&nr.push(dr),Dt&&nr.push(Dt)),nr}function gt(Et,kt,nr){return function(dr,Dt){var $t=lt(dr),vr=lt(Dt),Pr=[];if($t&&vr&&ke($t,vr))return Pr;$t&&Pr.push($t),vr&&Pr.push(vr);var Ct=2*m.constrain((dr[Et]+Dt[Et])/2,kt,nr)-(($t||dr)[Et]+(vr||Dt)[Et]);if(Ct){var ir;$t&&vr?ir=Ct>0==$t[Et]>vr[Et]?$t:vr:ir=$t||vr,ir[Et]+=Ct}return Pr}}var qe;P==="linear"||P==="spline"?qe=ut:P==="hv"||P==="vh"?qe=Ne:P==="hvh"?qe=gt(0,Ee,We):P==="vhv"&&(qe=gt(1,Ye,De));function vt(Et,kt){var nr=kt[0]-Et[0],dr=(kt[1]-Et[1])/nr,Dt=(Et[1]*kt[0]-kt[1]*Et[0])/nr;return Dt>0?[dr>0?Ee:We,De]:[dr>0?We:Ee,Ye]}function Bt(Et){var kt=Et[0],nr=Et[1],dr=kt===F[G-1][0],Dt=nr===F[G-1][1];if(!(dr&&Dt))if(G>1){var $t=kt===F[G-2][0],vr=nr===F[G-2][1];dr&&(kt===Ee||kt===We)&&$t?vr?G--:F[G-1]=Et:Dt&&(nr===Ye||nr===De)&&vr?$t?G--:F[G-1]=Et:F[G++]=Et}else F[G++]=Et}function Yt(Et){F[G-1][0]!==Et[0]&&F[G-1][1]!==Et[1]&&Bt([Je,He]),Bt(Et),$e=null,Je=He=0}var it=m.isArrayOrTypedArray(M);function Ue(Et){if(Et&&C&&(Et.i=_,Et.d=f,Et.trace=u,Et.marker=it?M[Et.i]:M,Et.backoff=C),ce=Et[0]/l,le=Et[1]/g,Re=Et[0]We?We:0,Xe=Et[1]De?De:0,Re||Xe){if(!G)F[G++]=[Re||Et[0],Xe||Et[1]];else if($e){var kt=qe($e,Et);kt.length>1&&(Yt(kt[0]),F[G++]=kt[1])}else pt=qe(F[G-1],Et)[0],F[G++]=pt;var nr=F[G-1];Re&&Xe&&(nr[0]!==Re||nr[1]!==Xe)?($e&&(Je!==Re&&He!==Xe?Bt(Je&&He?vt($e,Et):[Je||Re,He||Xe]):Je&&He&&Bt([Je,He])),Bt([Re,Xe])):Je-Re&&He-Xe&&Bt([Re||Je,Xe||He]),$e=Et,Je=Re,He=Xe}else $e&&Yt(qe($e,Et)[0]),F[G++]=Et}for(_=0;_me(j,_e))break;V=j,K=ue[0]*ie[0]+ue[1]*ie[1],K>q?(q=K,N=j,Q=!1):K=f.length||!j)break;Ue(j),H=j}}$e&&Bt([Je||$e[0],He||$e[1]]),k.push(F.slice(0,G))}var Ze=P.slice(P.length-1);if(C&&Ze!=="h"&&Ze!=="v"){for(var Fe=!1,Ce=-1,ve=[],Ie=0;Ie=0?r=c:(r=c=f,f++),r0?Math.max(s,m):0}}},4898:function(B){B.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(B,O,e){var p=e(7901),E=e(52075).hasColorscale,a=e(1586),L=e(34098);B.exports=function(d,m,r,t,s,n){var f=L.isBubble(d),c=(d.line||{}).color,u;if(n=n||{},c&&(r=c),s("marker.symbol"),s("marker.opacity",f?.7:1),s("marker.size"),n.noAngle||(s("marker.angle"),n.noAngleRef||s("marker.angleref"),n.noStandOff||s("marker.standoff")),s("marker.color",r),E(d,"marker")&&a(d,m,t,s,{prefix:"marker.",cLetter:"c"}),n.noSelect||(s("selected.marker.color"),s("unselected.marker.color"),s("selected.marker.size"),s("unselected.marker.size")),n.noLine||(c&&!Array.isArray(c)&&m.marker.color!==c?u=c:f?u=p.background:u=p.defaultLine,s("marker.line.color",u),E(d,"marker.line")&&a(d,m,t,s,{prefix:"marker.line.",cLetter:"c"}),s("marker.line.width",f?1:0)),f&&(s("marker.sizeref"),s("marker.sizemin"),s("marker.sizemode")),n.gradient){var b=s("marker.gradient.type");b!=="none"&&s("marker.gradient.color")}}},73927:function(B,O,e){var p=e(71828).dateTick0,E=e(50606),a=E.ONEWEEK;function L(x,d){return x%a===0?p(d,1):p(d,0)}B.exports=function(d,m,r,t,s){if(s||(s={x:!0,y:!0}),s.x){var n=t("xperiod");n&&(t("xperiod0",L(n,m.xcalendar)),t("xperiodalignment"))}if(s.y){var f=t("yperiod");f&&(t("yperiod0",L(f,m.ycalendar)),t("yperiodalignment"))}}},32663:function(B,O,e){var p=e(39898),E=e(73972),a=e(71828),L=a.ensureSingle,x=a.identity,d=e(91424),m=e(34098),r=e(34621),t=e(68687),s=e(61082).tester;B.exports=function(b,h,S,v,l,g){var C,M,D=!l,T=!!l&&l.duration>0,P=t(b,h,S);if(C=v.selectAll("g.trace").data(P,function(o){return o[0].trace.uid}),C.enter().append("g").attr("class",function(o){return"trace scatter trace"+o[0].trace.uid}).style("stroke-miterlimit",2),C.order(),n(b,C,h),T){g&&(M=g());var A=p.transition().duration(l.duration).ease(l.easing).each("end",function(){M&&M()}).each("interrupt",function(){M&&M()});A.each(function(){v.selectAll("g.trace").each(function(o,k){f(b,k,h,o,P,this,l)})})}else C.each(function(o,k){f(b,k,h,o,P,this,l)});D&&C.exit().remove(),v.selectAll("path:not([d])").remove()};function n(u,b,h){b.each(function(S){var v=L(p.select(this),"g","fills");d.setClipUrl(v,h.layerClipId,u);var l=S[0].trace,g=[];l._ownfill&&g.push("_ownFill"),l._nexttrace&&g.push("_nextFill");var C=v.selectAll("g").data(g,x);C.enter().append("g"),C.exit().each(function(M){l[M]=null}).remove(),C.order().each(function(M){l[M]=L(p.select(this),"path","js-fill")})})}function f(u,b,h,S,v,l,g){var C=u._context.staticPlot,M;c(u,b,h,S,v);var D=!!g&&g.duration>0;function T(He){return D?He.transition():He}var P=h.xaxis,A=h.yaxis,o=S[0].trace,k=o.line,w=p.select(l),U=L(w,"g","errorbars"),F=L(w,"g","lines"),G=L(w,"g","points"),_=L(w,"g","text");if(E.getComponentMethod("errorbars","plot")(u,U,h,g),o.visible!==!0)return;T(w).style("opacity",o.opacity);var H,V,N=o.fill.charAt(o.fill.length-1);N!=="x"&&N!=="y"&&(N=""),S[0][h.isRangePlot?"nodeRangePlot3":"node3"]=w;var W="",j=[],Q=o._prevtrace;Q&&(W=Q._prevRevpath||"",V=Q._nextFill,j=Q._polygons);var ie,ue,pe="",q="",X,K,J,re,fe,te,ee,ce=[],le=a.noop;if(H=o._ownFill,m.hasLines(o)||o.fill!=="none"){for(V&&V.datum(S),["hv","vh","hvh","vhv"].indexOf(k.shape)!==-1?(X=d.steps(k.shape),K=d.steps(k.shape.split("").reverse().join(""))):k.shape==="spline"?X=K=function(He){var $e=He[He.length-1];return He.length>1&&He[0][0]===$e[0]&&He[0][1]===$e[1]?d.smoothclosed(He.slice(1),k.smoothing):d.smoothopen(He,k.smoothing)}:X=K=function(He){return"M"+He.join("L")},J=function(He){return K(He.reverse())},ce=r(S,{xaxis:P,yaxis:A,trace:o,connectGaps:o.connectgaps,baseTolerance:Math.max(k.width||1,3)/4,shape:k.shape,backoff:k.backoff,simplify:k.simplify,fill:o.fill}),ee=o._polygons=new Array(ce.length),M=0;M=C[0]&&w.x<=C[1]&&w.y>=M[0]&&w.y<=M[1]}),A=Math.ceil(P.length/T),o=0;v.forEach(function(w,U){var F=w[0].trace;m.hasMarkers(F)&&F.marker.maxdisplayed>0&&U0){var h=r.c2l(u);r._lowerLogErrorBound||(r._lowerLogErrorBound=h),r._lowerErrorBound=Math.min(r._lowerLogErrorBound,h)}}else s[n]=[-f[0]*m,f[1]*m]}return s}function a(x){for(var d=0;d-1?-1:w.indexOf("right")>-1?1:0}function g(w){return w==null?0:w.indexOf("top")>-1?-1:w.indexOf("bottom")>-1?1:0}function C(w){var U=0,F=0,G=[U,F];if(Array.isArray(w))for(var _=0;_=0){var j=S(N.position,N.delaunayColor,N.delaunayAxis);j.opacity=w.opacity,this.delaunayMesh?this.delaunayMesh.update(j):(j.gl=U,this.delaunayMesh=L(j),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},h.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())};function k(w,U){var F=new b(w,U.uid);return F.update(U),F}B.exports=k},21428:function(B,O,e){var p=e(73972),E=e(71828),a=e(34098),L=e(49508),x=e(11058),d=e(82410),m=e(44542);B.exports=function(s,n,f,c){function u(M,D){return E.coerce(s,n,m,M,D)}var b=r(s,n,u,c);if(!b){n.visible=!1;return}u("text"),u("hovertext"),u("hovertemplate"),u("xhoverformat"),u("yhoverformat"),u("zhoverformat"),u("mode"),a.hasLines(n)&&(u("connectgaps"),x(s,n,f,c,u)),a.hasMarkers(n)&&L(s,n,f,c,u,{noSelect:!0,noAngle:!0}),a.hasText(n)&&(u("texttemplate"),d(s,n,c,u,{noSelect:!0}));var h=(n.line||{}).color,S=(n.marker||{}).color;u("surfaceaxis")>=0&&u("surfacecolor",h||S);for(var v=["x","y","z"],l=0;l<3;++l){var g="projection."+v[l];u(g+".show")&&(u(g+".opacity"),u(g+".scale"))}var C=p.getComponentMethod("errorbars","supplyDefaults");C(s,n,h||S||f,{axis:"z"}),C(s,n,h||S||f,{axis:"y",inherit:"z"}),C(s,n,h||S||f,{axis:"x",inherit:"z"})};function r(t,s,n,f){var c=0,u=n("x"),b=n("y"),h=n("z"),S=p.getComponentMethod("calendars","handleTraceDefaults");return S(t,s,["x","y","z"],f),u&&b&&h&&(c=Math.min(u.length,b.length,h.length),s._length=s._xlength=s._ylength=s._zlength=c),c}},13551:function(B,O,e){B.exports={plot:e(58925),attributes:e(44542),markerSymbols:e(87381),supplyDefaults:e(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:e(36563),moduleType:"trace",name:"scatter3d",basePlotModule:e(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(B,O,e){var p=e(82196),E=e(9012),a=e(5386).fF,L=e(5386).si,x=e(50693),d=e(1426).extendFlat,m=p.marker,r=p.line,t=m.line;B.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:d({},p.mode,{dflt:"markers"}),text:d({},p.text,{}),texttemplate:L({editType:"plot"},{keys:["a","b","text"]}),hovertext:d({},p.hovertext,{}),line:{color:r.color,width:r.width,dash:r.dash,backoff:r.backoff,shape:d({},r.shape,{values:["linear","spline"]}),smoothing:r.smoothing,editType:"calc"},connectgaps:p.connectgaps,fill:d({},p.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:p.fillcolor,marker:d({symbol:m.symbol,opacity:m.opacity,maxdisplayed:m.maxdisplayed,angle:m.angle,angleref:m.angleref,standoff:m.standoff,size:m.size,sizeref:m.sizeref,sizemin:m.sizemin,sizemode:m.sizemode,line:d({width:t.width,editType:"calc"},x("marker.line")),gradient:m.gradient,editType:"calc"},x("marker")),textfont:p.textfont,textposition:p.textposition,selected:p.selected,unselected:p.unselected,hoverinfo:d({},E.hoverinfo,{flags:["a","b","text","name"]}),hoveron:p.hoveron,hovertemplate:a()}},34618:function(B,O,e){var p=e(92770),E=e(36922),a=e(75225),L=e(66279),x=e(47761).calcMarkerSize,d=e(22882);B.exports=function(r,t){var s=t._carpetTrace=d(r,t);if(!(!s||!s.visible||s.visible==="legendonly")){var n;t.xaxis=s.xaxis,t.yaxis=s.yaxis;var f=t._length,c=new Array(f),u,b,h=!1;for(n=0;n0?T=M.labelprefix.replace(/ = $/,""):T=M._hovertitle,v.push(T+": "+D.toFixed(3)+M.labelsuffix)}if(!b.hovertemplate){var g=u.hi||b.hoverinfo,C=g.split("+");C.indexOf("all")!==-1&&(C=["a","b","text"]),C.indexOf("a")!==-1&&l(h.aaxis,u.a),C.indexOf("b")!==-1&&l(h.baxis,u.b),v.push("y: "+t.yLabel),C.indexOf("text")!==-1&&E(u,b,v),t.extraText=v.join("
")}return r}},46858:function(B,O,e){B.exports={attributes:e(97001),supplyDefaults:e(98965),colorbar:e(4898),formatLabels:e(48953),calc:e(34618),plot:e(1913),style:e(16296).style,styleOnSelect:e(16296).styleOnSelect,hoverPoints:e(22931),selectPoints:e(98002),eventData:e(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:e(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(B,O,e){var p=e(32663),E=e(89298),a=e(91424);B.exports=function(x,d,m,r){var t,s,n,f=m[0][0].carpet,c=E.getFromId(x,f.xaxis||"x"),u=E.getFromId(x,f.yaxis||"y"),b={xaxis:c,yaxis:u,plot:d.plot};for(t=0;t")}},17988:function(B,O,e){B.exports={attributes:e(19316),supplyDefaults:e(10659),colorbar:e(4898),formatLabels:e(82719),calc:e(84622),calcGeoJSON:e(89171).calcGeoJSON,plot:e(89171).plot,style:e(33095),styleOnSelect:e(16296).styleOnSelect,hoverPoints:e(14977),eventData:e(84084),selectPoints:e(20548),moduleType:"trace",name:"scattergeo",basePlotModule:e(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(B,O,e){var p=e(39898),E=e(71828),a=e(90973).getTopojsonFeatures,L=e(18214),x=e(41327),d=e(71739).findExtremes,m=e(50606).BADNUM,r=e(47761).calcMarkerSize,t=e(34098),s=e(33095);function n(c,u,b){var h=u.layers.frontplot.select(".scatterlayer"),S=E.makeTraceGroups(h,b,"trace scattergeo");function v(l,g){l.lonlat[0]===m&&p.select(g).remove()}S.selectAll("*").remove(),S.each(function(l){var g=p.select(this),C=l[0].trace;if(t.hasLines(C)||C.fill!=="none"){var M=L.calcTraceToLineCoords(l),D=C.fill!=="none"?L.makePolygon(M):L.makeLine(M);g.selectAll("path.js-line").data([{geojson:D,trace:C}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}t.hasMarkers(C)&&g.selectAll("path.point").data(E.identity).enter().append("path").classed("point",!0).each(function(T){v(T,this)}),t.hasText(C)&&g.selectAll("g").data(E.identity).enter().append("g").append("text").each(function(T){v(T,this)}),s(c,l)})}function f(c,u){var b=c[0].trace,h=u[b.geo],S=h._subplot,v=b._length,l,g;if(Array.isArray(b.locations)){var C=b.locationmode,M=C==="geojson-id"?x.extractTraceFeature(c):a(b,S.topojson);for(l=0;l=u,A=T*2,o={},k,w=C.makeCalcdata(l,"x"),U=M.makeCalcdata(l,"y"),F=x(l,C,"x",w),G=x(l,M,"y",U),_=F.vals,H=G.vals;l._x=_,l._y=H,l.xperiodalignment&&(l._origX=w,l._xStarts=F.starts,l._xEnds=F.ends),l.yperiodalignment&&(l._origY=U,l._yStarts=G.starts,l._yEnds=G.ends);var V=new Array(A),N=new Array(T);for(k=0;k1&&E.extendFlat(D.line,n.linePositions(S,l,g)),D.errorX||D.errorY){var T=n.errorBarPositions(S,l,g,C,M);D.errorX&&E.extendFlat(D.errorX,T.x),D.errorY&&E.extendFlat(D.errorY,T.y)}return D.text&&(E.extendFlat(D.text,{positions:g},n.textPosition(S,l,D.text,D.marker)),E.extendFlat(D.textSel,{positions:g},n.textPosition(S,l,D.text,D.markerSel)),E.extendFlat(D.textUnsel,{positions:g},n.textPosition(S,l,D.text,D.markerUnsel))),D}},78232:function(B){var O=20;B.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:O,SYMBOL_STROKE:O/20,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(B,O,e){var p=e(92770),E=e(82019),a=e(25075),L=e(73972),x=e(71828),d=e(91424),m=e(41675),r=e(81697).formatColor,t=e(34098),s=e(39984),n=e(68645),f=e(78232),c=e(37822).DESELECTDIM,u={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},b=e(23469).appendArrayPointValue;function h(F,G){var _,H={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0},V=F._context.plotGlPixelRatio;if(G.visible!==!0)return H;if(t.hasText(G)&&(H.text=S(F,G),H.textSel=g(F,G,G.selected),H.textUnsel=g(F,G,G.unselected)),t.hasMarkers(G)&&(H.marker=v(F,G),H.markerSel=l(F,G,G.selected),H.markerUnsel=l(F,G,G.unselected),!G.unselected&&x.isArrayOrTypedArray(G.marker.opacity))){var N=G.marker.opacity;for(H.markerUnsel.opacity=new Array(N.length),_=0;_f.TOO_MANY_POINTS||t.hasMarkers(G)?"rect":"round";if(ie&&G.connectgaps){var pe=N[0],q=N[1];for(W=0;W1?Q[W]:Q[0]:Q,X=Array.isArray(ie)?ie.length>1?ie[W]:ie[0]:ie,K=u[q],J=u[X],re=ue?ue/.8+1:0,fe=-J*re-J*.5;N.offset[W]=[K*re/pe,fe/pe]}}return N}B.exports={style:h,markerStyle:v,markerSelection:l,linePositions:k,errorBarPositions:w,textPosition:U}},47148:function(B,O,e){var p=e(71828),E=e(73972),a=e(68645),L=e(42341),x=e(47581),d=e(34098),m=e(67513),r=e(73927),t=e(49508),s=e(11058),n=e(28908),f=e(82410);B.exports=function(u,b,h,S){function v(A,o){return p.coerce(u,b,L,A,o)}var l=u.marker?a.isOpenSymbol(u.marker.symbol):!1,g=d.isBubble(u),C=m(u,b,S,v);if(!C){b.visible=!1;return}r(u,b,S,v),v("xhoverformat"),v("yhoverformat");var M=C100},O.isDotSymbol=function(E){return typeof E=="string"?p.DOT_RE.test(E):E>200}},20794:function(B,O,e){var p=e(73972),E=e(71828),a=e(34603);function L(d,m,r,t){var s=d.cd,n=s[0].t,f=s[0].trace,c=d.xa,u=d.ya,b=n.x,h=n.y,S=c.c2p(m),v=u.c2p(r),l=d.distance,g;if(n.tree){var C=c.p2c(S-l),M=c.p2c(S+l),D=u.p2c(v-l),T=u.p2c(v+l);t==="x"?g=n.tree.range(Math.min(C,M),Math.min(u._rl[0],u._rl[1]),Math.max(C,M),Math.max(u._rl[0],u._rl[1])):g=n.tree.range(Math.min(C,M),Math.min(D,T),Math.max(C,M),Math.max(D,T))}else g=n.ids;var P,A,o,k,w,U,F,G,_,H=l;if(t==="x"){var V=!!f.xperiodalignment,N=!!f.yperiodalignment;for(w=0;w=Math.min(W,j)&&S<=Math.max(W,j)?0:1/0}if(U=Math.min(Q,ie)&&v<=Math.max(Q,ie)?0:1/0}_=Math.sqrt(U*U+F*F),A=g[w]}}}else for(w=g.length-1;w>-1;w--)P=g[w],o=b[P],k=h[P],U=c.c2p(o)-S,F=u.c2p(k)-v,G=Math.sqrt(U*U+F*F),Gl.glText.length){var o=P-l.glText.length;for(M=0;Mce&&(isNaN(ee[le])||isNaN(ee[le+1]));)le-=2;te.positions=ee.slice(ce,le+2)}return te}),l.line2d.update(l.lineOptions)),l.error2d){var U=(l.errorXOptions||[]).concat(l.errorYOptions||[]);l.error2d.update(U)}l.scatter2d&&l.scatter2d.update(l.markerOptions),l.fillOrder=x.repeat(null,P),l.fill2d&&(l.fillOptions=l.fillOptions.map(function(te,ee){var ce=S[ee];if(!(!te||!ce||!ce[0]||!ce[0].trace)){var le=ce[0],me=le.trace,we=le.t,Se=l.lineOptions[ee],Ee,We,Ye=[];me._ownfill&&Ye.push(ee),me._nexttrace&&Ye.push(ee+1),Ye.length&&(l.fillOrder[ee]=Ye);var De=[],Te=Se&&Se.positions||we.positions,Re,Xe;if(me.fill==="tozeroy"){for(Re=0;ReRe&&isNaN(Te[Xe+1]);)Xe-=2;Te[Re+1]!==0&&(De=[Te[Re],0]),De=De.concat(Te.slice(Re,Xe+2)),Te[Xe+1]!==0&&(De=De.concat([Te[Xe],0]))}else if(me.fill==="tozerox"){for(Re=0;ReRe&&isNaN(Te[Xe]);)Xe-=2;Te[Re]!==0&&(De=[0,Te[Re+1]]),De=De.concat(Te.slice(Re,Xe+2)),Te[Xe]!==0&&(De=De.concat([0,Te[Xe+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(De=[],Ee=0,te.splitNull=!0,We=0;We-1;for(M=0;M=0?Math.floor((s+180)/360):Math.ceil((s-180)/360),M=C*360,D=s-M;function T(_){var H=_.lonlat;if(H[0]===x||l&&S.indexOf(_.i+1)===-1)return 1/0;var V=E.modHalf(H[0],360),N=H[1],W=h.project([V,N]),j=W.x-u.c2p([D,N]),Q=W.y-b.c2p([V,n]),ie=Math.max(3,_.mrc||0);return Math.max(Math.sqrt(j*j+Q*Q)-ie,1-3/ie)}if(p.getClosest(f,T,t),t.index!==!1){var P=f[t.index],A=P.lonlat,o=[E.modHalf(A[0],360)+M,A[1]],k=u.c2p(o),w=b.c2p(o),U=P.mrc||1;t.x0=k-U,t.x1=k+U,t.y0=w-U,t.y1=w+U;var F={};F[c.subplot]={_subplot:h};var G=c._module.formatLabels(P,c,F);return t.lonLabel=G.lonLabel,t.latLabel=G.latLabel,t.color=a(c,P),t.extraText=r(c,P,f[0].t.labels),t.hovertemplate=c.hovertemplate,[t]}}function r(t,s,n){if(t.hovertemplate)return;var f=s.hi||t.hoverinfo,c=f.split("+"),u=c.indexOf("all")!==-1,b=c.indexOf("lon")!==-1,h=c.indexOf("lat")!==-1,S=s.lonlat,v=[];function l(g){return g+"°"}return u||b&&h?v.push("("+l(S[1])+", "+l(S[0])+")"):b?v.push(n.lon+l(S[0])):h&&v.push(n.lat+l(S[1])),(u||c.indexOf("text")!==-1)&&L(s,t,v),v.join("
")}B.exports={hoverPoints:m,getExtraText:r}},20467:function(B,O,e){B.exports={attributes:e(99181),supplyDefaults:e(76645),colorbar:e(4898),formatLabels:e(15636),calc:e(84622),plot:e(86951),hoverPoints:e(28178).hoverPoints,eventData:e(53353),selectPoints:e(86387),styleOnSelect:function(p,E){if(E){var a=E[0].trace;a._glTrace.update(E)}},moduleType:"trace",name:"scattermapbox",basePlotModule:e(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(B,O,e){var p=e(71828),E=e(15790),a=e(77734).traceLayerPrefix,L={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function x(m,r,t,s){this.type="scattermapbox",this.subplot=m,this.uid=r,this.clusterEnabled=t,this.isHidden=s,this.sourceIds={fill:"source-"+r+"-fill",line:"source-"+r+"-line",circle:"source-"+r+"-circle",symbol:"source-"+r+"-symbol",cluster:"source-"+r+"-circle",clusterCount:"source-"+r+"-circle"},this.layerIds={fill:a+r+"-fill",line:a+r+"-line",circle:a+r+"-circle",symbol:a+r+"-symbol",cluster:a+r+"-cluster",clusterCount:a+r+"-cluster-count"},this.below=null}var d=x.prototype;d.addSource=function(m,r,t){var s={type:"geojson",data:r.geojson};t&&t.enabled&&p.extendFlat(s,{cluster:!0,clusterMaxZoom:t.maxzoom});var n=this.subplot.map.getSource(this.sourceIds[m]);n?n.setData(r.geojson):this.subplot.map.addSource(this.sourceIds[m],s)},d.setSourceData=function(m,r){this.subplot.map.getSource(this.sourceIds[m]).setData(r.geojson)},d.addLayer=function(m,r,t){var s={type:r.type,id:this.layerIds[m],source:this.sourceIds[m],layout:r.layout,paint:r.paint};r.filter&&(s.filter=r.filter);for(var n=this.layerIds[m],f,c=this.subplot.getMapLayers(),u=0;u=0;k--){var w=o[k];n.removeLayer(h.layerIds[w])}A||n.removeSource(h.sourceIds.circle)}function l(A){for(var o=L.nonCluster,k=0;k=0;k--){var w=o[k];n.removeLayer(h.layerIds[w]),A||n.removeSource(h.sourceIds[w])}}function C(A){b?v(A):g(A)}function M(A){u?S(A):l(A)}function D(){for(var A=u?L.cluster:L.nonCluster,o=0;o=0;s--){var n=t[s];r.removeLayer(this.layerIds[n]),r.removeSource(this.sourceIds[n])}},B.exports=function(r,t){var s=t[0].trace,n=s.cluster&&s.cluster.enabled,f=s.visible!==!0,c=new x(r,s.uid,n,f),u=E(r.gd,t),b=c.below=r.belowLookup["trace-"+s.uid],h,S,v;if(n)for(c.addSource("circle",u.circle,s.cluster),h=0;h")}}B.exports={hoverPoints:E,makeHoverPointText:a}},91271:function(B,O,e){B.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:e(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:e(81245),supplyDefaults:e(22184).supplyDefaults,colorbar:e(4898),formatLabels:e(98608),calc:e(26442),plot:e(45162),style:e(16296).style,styleOnSelect:e(16296).styleOnSelect,hoverPoints:e(59150).hoverPoints,selectPoints:e(98002),meta:{}}},45162:function(B,O,e){var p=e(32663),E=e(50606).BADNUM;B.exports=function(L,x,d){for(var m=x.layers.frontplot.select("g.scatterlayer"),r=x.xaxis,t=x.yaxis,s={xaxis:r,yaxis:t,plot:x.framework,layerClipId:x._hasClipOnAxisFalse?x.clipIds.forTraces:null},n=x.radialAxis,f=x.angularAxis,c=0;c=m&&(D.marker.cluster=l.tree),D.marker&&(D.markerSel.positions=D.markerUnsel.positions=D.marker.positions=o),D.line&&o.length>1&&d.extendFlat(D.line,x.linePositions(s,v,o)),D.text&&(d.extendFlat(D.text,{positions:o},x.textPosition(s,v,D.text,D.marker)),d.extendFlat(D.textSel,{positions:o},x.textPosition(s,v,D.text,D.markerSel)),d.extendFlat(D.textUnsel,{positions:o},x.textPosition(s,v,D.text,D.markerUnsel))),D.fill&&!b.fill2d&&(b.fill2d=!0),D.marker&&!b.scatter2d&&(b.scatter2d=!0),D.line&&!b.line2d&&(b.line2d=!0),D.text&&!b.glText&&(b.glText=!0),b.lineOptions.push(D.line),b.fillOptions.push(D.fill),b.markerOptions.push(D.marker),b.markerSelectedOptions.push(D.markerSel),b.markerUnselectedOptions.push(D.markerUnsel),b.textOptions.push(D.text),b.textSelectedOptions.push(D.textSel),b.textUnselectedOptions.push(D.textUnsel),b.selectBatch.push([]),b.unselectBatch.push([]),l.x=k,l.y=w,l.rawx=k,l.rawy=w,l.r=C,l.theta=M,l.positions=o,l._scene=b,l.index=b.count,b.count++}}),a(s,n,f)}},B.exports.reglPrecompiled=r},48300:function(B,O,e){var p=e(5386).fF,E=e(5386).si,a=e(1426).extendFlat,L=e(82196),x=e(9012),d=L.line;B.exports={mode:L.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:L.text,texttemplate:E({editType:"plot"},{keys:["real","imag","text"]}),hovertext:L.hovertext,line:{color:d.color,width:d.width,dash:d.dash,backoff:d.backoff,shape:a({},d.shape,{values:["linear","spline"]}),smoothing:d.smoothing,editType:"calc"},connectgaps:L.connectgaps,marker:L.marker,cliponaxis:a({},L.cliponaxis,{dflt:!1}),textposition:L.textposition,textfont:L.textfont,fill:a({},L.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:L.fillcolor,hoverinfo:a({},x.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:L.hoveron,hovertemplate:p(),selected:L.selected,unselected:L.unselected}},30621:function(B,O,e){var p=e(92770),E=e(50606).BADNUM,a=e(36922),L=e(75225),x=e(66279),d=e(47761).calcMarkerSize;B.exports=function(r,t){for(var s=r._fullLayout,n=t.subplot,f=s[n].realaxis,c=s[n].imaginaryaxis,u=f.makeCalcdata(t,"real"),b=c.makeCalcdata(t,"imag"),h=t._length,S=new Array(h),v=0;v")}}B.exports={hoverPoints:E,makeHoverPointText:a}},85956:function(B,O,e){B.exports={moduleType:"trace",name:"scattersmith",basePlotModule:e(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:e(48300),supplyDefaults:e(65269),colorbar:e(4898),formatLabels:e(62047),calc:e(30621),plot:e(12480),style:e(16296).style,styleOnSelect:e(16296).styleOnSelect,hoverPoints:e(11350).hoverPoints,selectPoints:e(98002),meta:{}}},12480:function(B,O,e){var p=e(32663),E=e(50606).BADNUM,a=e(23893),L=a.smith;B.exports=function(d,m,r){for(var t=m.layers.frontplot.select("g.scatterlayer"),s=m.xaxis,n=m.yaxis,f={xaxis:s,yaxis:n,plot:m.framework,layerClipId:m._hasClipOnAxisFalse?m.clipIds.forTraces:null},c=0;c"),r.hovertemplate=u.hovertemplate,m}},52979:function(B,O,e){B.exports={attributes:e(50413),supplyDefaults:e(46008),colorbar:e(4898),formatLabels:e(93645),calc:e(54337),plot:e(7507),style:e(16296).style,styleOnSelect:e(16296).styleOnSelect,hoverPoints:e(47250),selectPoints:e(98002),eventData:e(4524),moduleType:"trace",name:"scatterternary",basePlotModule:e(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(B,O,e){var p=e(32663);B.exports=function(a,L,x){var d=L.plotContainer;d.select(".scatterlayer").selectAll("*").remove();for(var m=L.xaxis,r=L.yaxis,t={xaxis:m,yaxis:r,plot:d,layerClipId:L._hasClipOnAxisFalse?L.clipIdRelative:null},s=L.layers.frontplot.select("g.scatterlayer"),n=0;ns,k;for(o?k=h.sizeAvg||Math.max(h.size,3):k=a(c,b),C=0;Cg&&h||l-1,_=L(h)||!!s.selectedpoints||G,H=!0;if(_){var V=s._length;if(s.selectedpoints){f.selectBatch=s.selectedpoints;var N=s.selectedpoints,W={};for(l=0;l1&&(A=r[n-1],k=t[n-1],U=s[n-1]),f=0;fA?"-":"+")+"x"),C=C.replace("y",(o>k?"-":"+")+"y"),C=C.replace("z",(w>U?"-":"+")+"z");var H=function(){n=0,F=[],G=[],_=[]};(!n||n2?h=u.slice(1,b-1):b===2?h=[(u[0]+u[1])/2]:h=u,h}function n(u){var b=u.length;return b===1?[.5,.5]:[u[1]-u[0],u[b-1]-u[b-2]]}function f(u,b){var h=u.fullSceneLayout,S=u.dataScale,v=b._len,l={};function g(pe,q){var X=h[q],K=S[m[q]];return a.simpleMap(pe,function(J){return X.d2l(J)*K})}if(l.vectors=d(g(b._u,"xaxis"),g(b._v,"yaxis"),g(b._w,"zaxis"),v),!v)return{positions:[],cells:[]};var C=g(b._Xs,"xaxis"),M=g(b._Ys,"yaxis"),D=g(b._Zs,"zaxis");l.meshgrid=[C,M,D],l.gridFill=b._gridFill;var T=b._slen;if(T)l.startingPositions=d(g(b._startsX,"xaxis"),g(b._startsY,"yaxis"),g(b._startsZ,"zaxis"));else{for(var P=M[0],A=s(C),o=s(D),k=new Array(A.length*o.length),w=0,U=0;U=0},k,w,U;S?(k=Math.min(h.length,l.length),w=function(J){return A(h[J])&&o(J)},U=function(J){return String(h[J])}):(k=Math.min(v.length,l.length),w=function(J){return A(v[J])&&o(J)},U=function(J){return String(v[J])}),C&&(k=Math.min(k,g.length));for(var F=0;F1){for(var W=a.randstr(),j=0;j=0){x.i=t.i;var f=d.marker;f.pattern?(!f.colors||!f.pattern.shape)&&(f.color=n,x.color=n):(f.color=n,x.color=n),p.pointStyle(L,d,m,x)}else E.fill(L,n)}},83523:function(B,O,e){var p=e(39898),E=e(73972),a=e(23469).appendArrayPointValue,L=e(30211),x=e(71828),d=e(11086),m=e(2791),r=e(53581),t=r.formatPieValue;B.exports=function(f,c,u,b,h){var S=b[0],v=S.trace,l=S.hierarchy,g=v.type==="sunburst",C=v.type==="treemap"||v.type==="icicle";"_hasHoverLabel"in v||(v._hasHoverLabel=!1),"_hasHoverEvent"in v||(v._hasHoverEvent=!1);var M=function(P){var A=u._fullLayout;if(!(u._dragging||A.hovermode===!1)){var o=u._fullData[v.index],k=P.data.data,w=k.i,U=m.isHierarchyRoot(P),F=m.getParent(l,P),G=m.getValue(P),_=function(ee){return x.castOption(o,w,ee)},H=_("hovertemplate"),V=L.castHoverinfo(o,A,w),N=A.separators,W;if(H||V&&V!=="none"&&V!=="skip"){var j,Q;g&&(j=S.cx+P.pxmid[0]*(1-P.rInscribed),Q=S.cy+P.pxmid[1]*(1-P.rInscribed)),C&&(j=P._hoverX,Q=P._hoverY);var ie={},ue=[],pe=[],q=function(ee){return ue.indexOf(ee)!==-1};V&&(ue=V==="all"?o._module.attributes.hoverinfo.flags:V.split("+")),ie.label=k.label,q("label")&&ie.label&&pe.push(ie.label),k.hasOwnProperty("v")&&(ie.value=k.v,ie.valueLabel=t(ie.value,N),q("value")&&pe.push(ie.valueLabel)),ie.currentPath=P.currentPath=m.getPath(P.data),q("current path")&&!U&&pe.push(ie.currentPath);var X,K=[],J=function(){K.indexOf(X)===-1&&(pe.push(X),K.push(X))};ie.percentParent=P.percentParent=G/m.getValue(F),ie.parent=P.parentString=m.getPtLabel(F),q("percent parent")&&(X=m.formatPercent(ie.percentParent,N)+" of "+ie.parent,J()),ie.percentEntry=P.percentEntry=G/m.getValue(c),ie.entry=P.entry=m.getPtLabel(c),q("percent entry")&&!U&&!P.onPathbar&&(X=m.formatPercent(ie.percentEntry,N)+" of "+ie.entry,J()),ie.percentRoot=P.percentRoot=G/m.getValue(l),ie.root=P.root=m.getPtLabel(l),q("percent root")&&!U&&(X=m.formatPercent(ie.percentRoot,N)+" of "+ie.root,J()),ie.text=_("hovertext")||_("text"),q("text")&&(X=ie.text,x.isValidTextValue(X)&&pe.push(X)),W=[s(P,o,h.eventDataKeys)];var re={trace:o,y:Q,_x0:P._x0,_x1:P._x1,_y0:P._y0,_y1:P._y1,text:pe.join("
"),name:H||q("name")?o.name:void 0,color:_("hoverlabel.bgcolor")||k.color,borderColor:_("hoverlabel.bordercolor"),fontFamily:_("hoverlabel.font.family"),fontSize:_("hoverlabel.font.size"),fontColor:_("hoverlabel.font.color"),nameLength:_("hoverlabel.namelength"),textAlign:_("hoverlabel.align"),hovertemplate:H,hovertemplateLabels:ie,eventData:W};g&&(re.x0=j-P.rInscribed*P.rpx1,re.x1=j+P.rInscribed*P.rpx1,re.idealAlign=P.pxmid[0]<0?"left":"right"),C&&(re.x=j,re.idealAlign=j<0?"left":"right");var fe=[];L.loneHover(re,{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:u,inOut_bbox:fe}),W[0].bbox=fe[0],v._hasHoverLabel=!0}if(C){var te=f.select("path.surface");h.styleOne(te,P,o,u,{hovered:!0})}v._hasHoverEvent=!0,u.emit("plotly_hover",{points:W||[s(P,o,h.eventDataKeys)],event:p.event})}},D=function(P){var A=u._fullLayout,o=u._fullData[v.index],k=p.select(this).datum();if(v._hasHoverEvent&&(P.originalEvent=p.event,u.emit("plotly_unhover",{points:[s(k,o,h.eventDataKeys)],event:p.event}),v._hasHoverEvent=!1),v._hasHoverLabel&&(L.loneUnhover(A._hoverlayer.node()),v._hasHoverLabel=!1),C){var w=f.select("path.surface");h.styleOne(w,k,o,u,{hovered:!1})}},T=function(P){var A=u._fullLayout,o=u._fullData[v.index],k=g&&(m.isHierarchyRoot(P)||m.isLeaf(P)),w=m.getPtId(P),U=m.isEntry(P)?m.findEntryWithChild(l,w):m.findEntryWithLevel(l,w),F=m.getPtId(U),G={points:[s(P,o,h.eventDataKeys)],event:p.event};k||(G.nextLevel=F);var _=d.triggerHandler(u,"plotly_"+v.type+"click",G);if(_!==!1&&A.hovermode&&(u._hoverdata=[s(P,o,h.eventDataKeys)],L.click(u,p.event)),!k&&_!==!1&&!u._dragging&&!u._transitioning){E.call("_storeDirectGUIEdit",o,A._tracePreGUI[o.uid],{level:o.level});var H={data:[{level:F}],traces:[v.index]},V={frame:{redraw:!1,duration:h.transitionTime},transition:{duration:h.transitionTime,easing:h.transitionEasing},mode:"immediate",fromcurrent:!0};L.loneUnhover(A._hoverlayer.node()),E.call("animate",u,H,V)}};f.on("mouseover",M),f.on("mouseout",D),f.on("click",T)};function s(n,f,c){for(var u=n.data.data,b={curveNumber:f.index,pointNumber:u.i,data:f._input,fullData:f},h=0;h0)},O.getMaxDepth=function(r){return r.maxdepth>=0?r.maxdepth:1/0},O.isHeader=function(r,t){return!(O.isLeaf(r)||r.depth===t._maxDepth-1)};function m(r){return r.data.data.pid}O.getParent=function(r,t){return O.findEntryWithLevel(r,m(t))},O.listPath=function(r,t){var s=r.parent;if(!s)return[];var n=t?[s.data[t]]:[s];return O.listPath(s,t).concat(n)},O.getPath=function(r){return O.listPath(r,"label").join("/")+"/"},O.formatValue=L.formatPieValue,O.formatPercent=function(r,t){var s=p.formatPercent(r,0);return s==="0%"&&(s=L.formatPiePercent(r,t)),s}},87619:function(B,O,e){B.exports={moduleType:"trace",name:"sunburst",basePlotModule:e(66888),categories:[],animatable:!0,attributes:e(57564),layoutAttributes:e(2654),supplyDefaults:e(17094),supplyLayoutDefaults:e(57034),calc:e(52147).calc,crossTraceCalc:e(52147).crossTraceCalc,plot:e(24714).plot,style:e(29969).style,colorbar:e(4898),meta:{}}},2654:function(B){B.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(B,O,e){var p=e(71828),E=e(2654);B.exports=function(L,x){function d(m,r){return p.coerce(L,x,E,m,r)}d("sunburstcolorway",x.colorway),d("extendsunburstcolors")}},24714:function(B,O,e){var p=e(39898),E=e(674),a=e(81684).sX,L=e(91424),x=e(71828),d=e(63893),m=e(72597),r=m.recordMinTextSize,t=m.clearMinTextSize,s=e(14575),n=e(53581).getRotationAngle,f=s.computeTransform,c=s.transformInsideText,u=e(29969).styleOne,b=e(16688).resizeText,h=e(83523),S=e(7055),v=e(2791);O.plot=function(T,P,A,o){var k=T._fullLayout,w=k._sunburstlayer,U,F,G=!A,_=!k.uniformtext.mode&&v.hasTransition(A);if(t("sunburst",k),U=w.selectAll("g.trace.sunburst").data(P,function(V){return V[0].trace.uid}),U.enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),U.order(),_){o&&(F=o());var H=p.transition().duration(A.duration).ease(A.easing).each("end",function(){F&&F()}).each("interrupt",function(){F&&F()});H.each(function(){w.selectAll("g.trace").each(function(V){l(T,V,this,A)})})}else U.each(function(V){l(T,V,this,A)}),k.uniformtext.mode&&b(T,k._sunburstlayer.selectAll(".trace"),"sunburst");G&&U.exit().remove()};function l(T,P,A,o){var k=T._context.staticPlot,w=T._fullLayout,U=!w.uniformtext.mode&&v.hasTransition(o),F=p.select(A),G=F.selectAll("g.slice"),_=P[0],H=_.trace,V=_.hierarchy,N=v.findEntryWithLevel(V,H.level),W=v.getMaxDepth(H),j=w._size,Q=H.domain,ie=j.w*(Q.x[1]-Q.x[0]),ue=j.h*(Q.y[1]-Q.y[0]),pe=.5*Math.min(ie,ue),q=_.cx=j.l+j.w*(Q.x[1]+Q.x[0])/2,X=_.cy=j.t+j.h*(1-Q.y[0])-ue/2;if(!N)return G.remove();var K=null,J={};U&&G.each(function($e){J[v.getPtId($e)]={rpx0:$e.rpx0,rpx1:$e.rpx1,x0:$e.x0,x1:$e.x1,transform:$e.transform},!K&&v.isEntry($e)&&(K=$e)});var re=g(N).descendants(),fe=N.height+1,te=0,ee=W;_.hasMultipleRoots&&v.isHierarchyRoot(N)&&(re=re.slice(1),fe-=1,te=1,ee+=1),re=re.filter(function($e){return $e.y1<=ee});var ce=n(H.rotation);ce&&re.forEach(function($e){$e.x0+=ce,$e.x1+=ce});var le=Math.min(fe,W),me=function($e){return($e-te)/le*pe},we=function($e,pt){return[$e*Math.cos(pt),-$e*Math.sin(pt)]},Se=function($e){return x.pathAnnulus($e.rpx0,$e.rpx1,$e.x0,$e.x1,q,X)},Ee=function($e){return q+M($e)[0]*($e.transform.rCenter||0)+($e.transform.x||0)},We=function($e){return X+M($e)[1]*($e.transform.rCenter||0)+($e.transform.y||0)};G=G.data(re,v.getPtId),G.enter().append("g").classed("slice",!0),U?G.exit().transition().each(function(){var $e=p.select(this),pt=$e.select("path.surface");pt.transition().attrTween("d",function(lt){var ke=Re(lt);return function(Ne){return Se(ke(Ne))}});var ut=$e.select("g.slicetext");ut.attr("opacity",0)}).remove():G.exit().remove(),G.order();var Ye=null;if(U&&K){var De=v.getPtId(K);G.each(function($e){Ye===null&&v.getPtId($e)===De&&(Ye=$e.x1)})}var Te=G;U&&(Te=Te.transition().each("end",function(){var $e=p.select(this);v.setSliceCursor($e,T,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})})),Te.each(function($e){var pt=p.select(this),ut=x.ensureSingle(pt,"path","surface",function(vt){vt.style("pointer-events",k?"none":"all")});$e.rpx0=me($e.y0),$e.rpx1=me($e.y1),$e.xmid=($e.x0+$e.x1)/2,$e.pxmid=we($e.rpx1,$e.xmid),$e.midangle=-($e.xmid-Math.PI/2),$e.startangle=-($e.x0-Math.PI/2),$e.stopangle=-($e.x1-Math.PI/2),$e.halfangle=.5*Math.min(x.angleDelta($e.x0,$e.x1)||Math.PI,Math.PI),$e.ring=1-$e.rpx0/$e.rpx1,$e.rInscribed=C($e),U?ut.transition().attrTween("d",function(vt){var Bt=Xe(vt);return function(Yt){return Se(Bt(Yt))}}):ut.attr("d",Se),pt.call(h,N,T,P,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(v.setSliceCursor,T,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:T._transitioning}),ut.call(u,$e,H,T);var lt=x.ensureSingle(pt,"g","slicetext"),ke=x.ensureSingle(lt,"text","",function(vt){vt.attr("data-notex",1)}),Ne=x.ensureUniformFontSize(T,v.determineTextFont(H,$e,w.font));ke.text(O.formatSliceLabel($e,N,H,P,w)).classed("slicetext",!0).attr("text-anchor","middle").call(L.font,Ne).call(d.convertToTspans,T);var gt=L.bBox(ke.node());$e.transform=c(gt,$e,_),$e.transform.targetX=Ee($e),$e.transform.targetY=We($e);var qe=function(vt,Bt){var Yt=vt.transform;return f(Yt,Bt),Yt.fontSize=Ne.size,r(H.type,Yt,w),x.getTextTransform(Yt)};U?ke.transition().attrTween("transform",function(vt){var Bt=Je(vt);return function(Yt){return qe(Bt(Yt),gt)}}):ke.attr("transform",qe($e,gt))});function Re($e){var pt=v.getPtId($e),ut=J[pt],lt=J[v.getPtId(N)],ke;if(lt){var Ne=($e.x1>lt.x1?2*Math.PI:0)+ce;ke=$e.rpx1Ye?2*Math.PI:0)+ce;ut={x0:ke,x1:ke}}else ut={rpx0:pe,rpx1:pe},x.extendFlat(ut,He($e));else ut={rpx0:0,rpx1:0};else ut={x0:ce,x1:ce};return a(ut,lt)}function Je($e){var pt=J[v.getPtId($e)],ut,lt=$e.transform;if(pt)ut=pt;else if(ut={rpx1:$e.rpx1,transform:{textPosAngle:lt.textPosAngle,scale:0,rotate:lt.rotate,rCenter:lt.rCenter,x:lt.x,y:lt.y}},K)if($e.parent)if(Ye){var ke=$e.x1>Ye?2*Math.PI:0;ut.x0=ut.x1=ke}else x.extendFlat(ut,He($e));else ut.x0=ut.x1=ce;else ut.x0=ut.x1=ce;var Ne=a(ut.transform.textPosAngle,$e.transform.textPosAngle),gt=a(ut.rpx1,$e.rpx1),qe=a(ut.x0,$e.x0),vt=a(ut.x1,$e.x1),Bt=a(ut.transform.scale,lt.scale),Yt=a(ut.transform.rotate,lt.rotate),it=lt.rCenter===0?3:ut.transform.rCenter===0?1/3:1,Ue=a(ut.transform.rCenter,lt.rCenter),_e=function(Ze){return Ue(Math.pow(Ze,it))};return function(Ze){var Fe=gt(Ze),Ce=qe(Ze),ve=vt(Ze),Ie=_e(Ze),Ae=we(Fe,(Ce+ve)/2),je=Ne(Ze),ot={pxmid:Ae,rpx1:Fe,transform:{textPosAngle:je,rCenter:Ie,x:lt.x,y:lt.y}};return r(H.type,lt,w),{transform:{targetX:Ee(ot),targetY:We(ot),scale:Bt(Ze),rotate:Yt(Ze),rCenter:Ie}}}}function He($e){var pt=$e.parent,ut=J[v.getPtId(pt)],lt={};if(ut){var ke=pt.children,Ne=ke.indexOf($e),gt=ke.length,qe=a(ut.x0,ut.x1);lt.x0=qe(Ne/gt),lt.x1=qe(Ne/gt)}else lt.x0=lt.x1=0;return lt}}function g(T){return E.partition().size([2*Math.PI,T.height+1])(T)}O.formatSliceLabel=function(T,P,A,o,k){var w=A.texttemplate,U=A.textinfo;if(!w&&(!U||U==="none"))return"";var F=k.separators,G=o[0],_=T.data.data,H=G.hierarchy,V=v.isHierarchyRoot(T),N=v.getParent(H,T),W=v.getValue(T);if(!w){var j=U.split("+"),Q=function(te){return j.indexOf(te)!==-1},ie=[],ue;if(Q("label")&&_.label&&ie.push(_.label),_.hasOwnProperty("v")&&Q("value")&&ie.push(v.formatValue(_.v,F)),!V){Q("current path")&&ie.push(v.getPath(T.data));var pe=0;Q("percent parent")&&pe++,Q("percent entry")&&pe++,Q("percent root")&&pe++;var q=pe>1;if(pe){var X,K=function(te){ue=v.formatPercent(X,F),q&&(ue+=" of "+te),ie.push(ue)};Q("percent parent")&&!V&&(X=W/v.getValue(N),K("parent")),Q("percent entry")&&(X=W/v.getValue(P),K("entry")),Q("percent root")&&(X=W/v.getValue(H),K("root"))}}return Q("text")&&(ue=x.castOption(A,_.i,"text"),x.isValidTextValue(ue)&&ie.push(ue)),ie.join("
")}var J=x.castOption(A,_.i,"texttemplate");if(!J)return"";var re={};_.label&&(re.label=_.label),_.hasOwnProperty("v")&&(re.value=_.v,re.valueLabel=v.formatValue(_.v,F)),re.currentPath=v.getPath(T.data),V||(re.percentParent=W/v.getValue(N),re.percentParentLabel=v.formatPercent(re.percentParent,F),re.parent=v.getPtLabel(N)),re.percentEntry=W/v.getValue(P),re.percentEntryLabel=v.formatPercent(re.percentEntry,F),re.entry=v.getPtLabel(P),re.percentRoot=W/v.getValue(H),re.percentRootLabel=v.formatPercent(re.percentRoot,F),re.root=v.getPtLabel(H),_.hasOwnProperty("color")&&(re.color=_.color);var fe=x.castOption(A,_.i,"text");return(x.isValidTextValue(fe)||fe==="")&&(re.text=fe),re.customdata=x.castOption(A,_.i,"customdata"),x.texttemplateString(J,re,k._d3locale,re,A._meta||{})};function C(T){return T.rpx0===0&&x.isFullCircle([T.x0,T.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(T.halfangle)),T.ring/2))}function M(T){return D(T.rpx1,T.transform.textPosAngle)}function D(T,P){return[T*Math.sin(P),-T*Math.cos(P)]}},29969:function(B,O,e){var p=e(39898),E=e(7901),a=e(71828),L=e(72597).resizeText,x=e(43467);function d(r){var t=r._fullLayout._sunburstlayer.selectAll(".trace");L(r,t,"sunburst"),t.each(function(s){var n=p.select(this),f=s[0],c=f.trace;n.style("opacity",c.opacity),n.selectAll("path.surface").each(function(u){p.select(this).call(m,u,c,r)})})}function m(r,t,s,n){var f=t.data.data,c=!t.children,u=f.i,b=a.castOption(s,u,"marker.line.color")||E.defaultLine,h=a.castOption(s,u,"marker.line.width")||0;r.call(x,t,s,n).style("stroke-width",h).call(E.stroke,b).style("opacity",c?s.leaf.opacity:null)}B.exports={style:d,styleOne:m}},54532:function(B,O,e){var p=e(7901),E=e(50693),a=e(12663).axisHoverFormat,L=e(5386).fF,x=e(9012),d=e(1426).extendFlat,m=e(30962).overrideAll;function r(n){return{valType:"boolean",dflt:!1}}function t(n){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:r(),y:r(),z:r()},color:{valType:"color",dflt:p.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:p.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var s=B.exports=m(d({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:L(),xhoverformat:a("x"),yhoverformat:a("y"),zhoverformat:a("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},E("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:t(),y:t(),z:t()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:d({},E.zauto,{}),zmin:d({},E.zmin,{}),zmax:d({},E.zmax,{})},hoverinfo:d({},x.hoverinfo),showlegend:d({},x.showlegend,{dflt:!1})}),"calc","nested");s.x.editType=s.y.editType=s.z.editType="calc+clearAxisTypes",s.transforms=void 0},18396:function(B,O,e){var p=e(78803);B.exports=function(a,L){L.surfacecolor?p(a,L,{vals:L.surfacecolor,containerStr:"",cLetter:"c"}):p(a,L,{vals:L.z,containerStr:"",cLetter:"c"})}},43768:function(B,O,e){var p=e(9330).gl_surface3d,E=e(9330).ndarray,a=e(9330).ndarray_linear_interpolate.d2,L=e(824),x=e(43907),d=e(71828).isArrayOrTypedArray,m=e(81697).parseColorScale,r=e(78614),t=e(21081).extractOpts;function s(o,k,w){this.scene=o,this.uid=w,this.surface=k,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var n=s.prototype;n.getXat=function(o,k,w,U){var F=d(this.data.x)?d(this.data.x[0])?this.data.x[k][o]:this.data.x[o]:o;return w===void 0?F:U.d2l(F,0,w)},n.getYat=function(o,k,w,U){var F=d(this.data.y)?d(this.data.y[0])?this.data.y[k][o]:this.data.y[k]:k;return w===void 0?F:U.d2l(F,0,w)},n.getZat=function(o,k,w,U){var F=this.data.z[k][o];return F===null&&this.data.connectgaps&&this.data._interpolatedZ&&(F=this.data._interpolatedZ[k][o]),w===void 0?F:U.d2l(F,0,w)},n.handlePick=function(o){if(o.object===this.surface){var k=(o.data.index[0]-1)/this.dataScaleX-1,w=(o.data.index[1]-1)/this.dataScaleY-1,U=Math.max(Math.min(Math.round(k),this.data.z[0].length-1),0),F=Math.max(Math.min(Math.round(w),this.data._ylength-1),0);o.index=[U,F],o.traceCoordinate=[this.getXat(U,F),this.getYat(U,F),this.getZat(U,F)],o.dataCoordinate=[this.getXat(U,F,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(U,F,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(U,F,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var G=0;G<3;G++){var _=o.dataCoordinate[G];_!=null&&(o.dataCoordinate[G]*=this.scene.dataScale[G])}var H=this.data.hovertext||this.data.text;return Array.isArray(H)&&H[F]&&H[F][U]!==void 0?o.textLabel=H[F][U]:H?o.textLabel=H:o.textLabel="",o.data.dataCoordinate=o.dataCoordinate.slice(),this.surface.highlight(o.data),this.scene.glplot.spikes.position=o.dataCoordinate,!0}};function f(o){var k=o[0].rgb,w=o[o.length-1].rgb;return k[0]===w[0]&&k[1]===w[1]&&k[2]===w[2]&&k[3]===w[3]}var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function u(o,k){if(o0){w=c[U];break}return w}function S(o,k){if(!(o<1||k<1)){for(var w=b(o),U=b(k),F=1,G=0;GC;)U--,U/=h(U),U++,U1?F:1};function M(o,k,w){var U=w[8]+w[2]*k[0]+w[5]*k[1];return o[0]=(w[6]+w[0]*k[0]+w[3]*k[1])/U,o[1]=(w[7]+w[1]*k[0]+w[4]*k[1])/U,o}function D(o,k,w){return T(o,k,M,w),o}function T(o,k,w,U){for(var F=[0,0],G=o.shape[0],_=o.shape[1],H=0;H0&&this.contourStart[U]!==null&&this.contourEnd[U]!==null&&this.contourEnd[U]>this.contourStart[U]))for(k[U]=!0,F=this.contourStart[U];FQ&&(this.minValues[N]=Q),this.maxValues[N]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(B,O,e){var p=e(49850),E=e(1426).extendFlat,a=e(92770);B.exports=function(c,u){var b=d(u.cells.values),h=function(W){return W.slice(u.header.values.length,W.length)},S=d(u.header.values);S.length&&!S[0].length&&(S[0]=[""],S=d(S));var v=S.concat(h(b).map(function(){return m((S[0]||[""]).length)})),l=u.domain,g=Math.floor(c._fullLayout._size.w*(l.x[1]-l.x[0])),C=Math.floor(c._fullLayout._size.h*(l.y[1]-l.y[0])),M=u.header.values.length?v[0].map(function(){return u.header.height}):[p.emptyHeaderHeight],D=b.length?b[0].map(function(){return u.cells.height}):[],T=M.reduce(x,0),P=C-T,A=P+p.uplift,o=s(D,A),k=s(M,T),w=t(k,[]),U=t(o,w),F={},G=u._fullInput.columnorder.concat(h(b.map(function(W,j){return j}))),_=v.map(function(W,j){var Q=Array.isArray(u.columnwidth)?u.columnwidth[Math.min(j,u.columnwidth.length-1)]:u.columnwidth;return a(Q)?Number(Q):1}),H=_.reduce(x,0);_=_.map(function(W){return W/H*g});var V=Math.max(L(u.header.line.width),L(u.cells.line.width)),N={key:u.uid+c._context.staticPlot,translateX:l.x[0]*c._fullLayout._size.w,translateY:c._fullLayout._size.h*(1-l.y[1]),size:c._fullLayout._size,width:g,maxLineWidth:V,height:C,columnOrder:G,groupHeight:C,rowBlocks:U,headerRowBlocks:w,scrollY:0,cells:E({},u.cells,{values:b}),headerCells:E({},u.header,{values:v}),gdColumns:v.map(function(W){return W[0]}),gdColumnsOriginalOrder:v.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:v.map(function(W,j){var Q=F[W];F[W]=(Q||0)+1;var ie=W+"__"+F[W];return{key:ie,label:W,specIndex:j,xIndex:G[j],xScale:r,x:void 0,calcdata:void 0,columnWidth:_[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=r(W)}),N};function L(f){if(Array.isArray(f)){for(var c=0,u=0;u=c||C===f.length-1)&&(u[h]=v,v.key=g++,v.firstRowIndex=l,v.lastRowIndex=C,v=n(),h+=S,l=C+1,S=0);return u}function n(){return{firstRowIndex:null,lastRowIndex:null,rows:[]}}},56269:function(B,O,e){var p=e(1426).extendFlat;O.splitToPanels=function(a){var L=[0,0],x=p({},a,{key:"header",type:"header",page:0,prevPages:L,currentRepaint:[null,null],dragHandle:!0,values:a.calcdata.headerCells.values[a.specIndex],rowBlocks:a.calcdata.headerRowBlocks,calcdata:p({},a.calcdata,{cells:a.calcdata.headerCells})}),d=p({},a,{key:"cells1",type:"cells",page:0,prevPages:L,currentRepaint:[null,null],dragHandle:!1,values:a.calcdata.cells.values[a.specIndex],rowBlocks:a.calcdata.rowBlocks}),m=p({},a,{key:"cells2",type:"cells",page:1,prevPages:L,currentRepaint:[null,null],dragHandle:!1,values:a.calcdata.cells.values[a.specIndex],rowBlocks:a.calcdata.rowBlocks});return[d,m,x]},O.splitToCells=function(a){var L=E(a);return(a.values||[]).slice(L[0],L[1]).map(function(x,d){var m=typeof x=="string"&&x.match(/[<$&> ]/)?"_keybuster_"+Math.random():"";return{keyWithinBlock:d+m,key:L[0]+d,column:a,calcdata:a.calcdata,page:a.page,rowBlocks:a.rowBlocks,value:x}})};function E(a){var L=a.rowBlocks[a.page],x=L?L.rows[0].rowIndex:0,d=L?x+L.rows.length:0;return[x,d]}},39754:function(B,O,e){var p=e(71828),E=e(44464),a=e(27670).c;function L(x,d){for(var m=x.columnorder||[],r=x.header.values.length,t=m.slice(0,r),s=t.slice().sort(function(c,u){return c-u}),n=t.map(function(c){return s.indexOf(c)}),f=n.length;f/i),Te=!Ye||De;we.mayHaveMarkup=Ye&&We.match(/[<&>]/);var Re=w(We);we.latex=Re;var Xe=Re?"":G(we.calcdata.cells.prefix,Se,Ee)||"",Je=Re?"":G(we.calcdata.cells.suffix,Se,Ee)||"",He=Re?null:G(we.calcdata.cells.format,Se,Ee)||null,$e=Xe+(He?L(He)(we.value):we.value)+Je,pt;we.wrappingNeeded=!we.wrapped&&!Te&&!Re&&(pt=U($e)),we.cellHeightMayIncrease=De||Re||we.mayHaveMarkup||(pt===void 0?U($e):pt),we.needsConvertToTspans=we.mayHaveMarkup||we.wrappingNeeded||we.latex;var ut;if(we.wrappingNeeded){var lt=p.wrapSplitCharacter===" "?$e.replace(/we&&me.push(Se),we+=Ye}return me}function j(ee,ce,le){var me=S(ce)[0];if(me!==void 0){var we=me.rowBlocks,Se=me.calcdata,Ee=K(we,we.length),We=me.calcdata.groupHeight-N(me),Ye=Se.scrollY=Math.max(0,Math.min(Ee-We,Se.scrollY)),De=W(we,Ye,We);De.length===1&&(De[0]===we.length-1?De.unshift(De[0]-1):De.push(De[0]+1)),De[0]%2&&De.reverse(),ce.each(function(Te,Re){Te.page=De[Re],Te.scrollY=Ye}),ce.attr("transform",function(Te){var Re=K(Te.rowBlocks,Te.page)-Te.scrollY;return t(0,Re)}),ee&&(ie(ee,le,ce,De,me.prevPages,me,0),ie(ee,le,ce,De,me.prevPages,me,1),v(le,ee))}}function Q(ee,ce,le,me){return function(Se){var Ee=Se.calcdata?Se.calcdata:Se,We=ce.filter(function(Re){return Ee.key===Re.key}),Ye=le||Ee.scrollbarState.dragMultiplier,De=Ee.scrollY;Ee.scrollY=me===void 0?Ee.scrollY+Ye*E.event.dy:me;var Te=We.selectAll("."+p.cn.yColumn).selectAll("."+p.cn.columnBlock).filter(H);return j(ee,Te,We),Ee.scrollY===De}}function ie(ee,ce,le,me,we,Se,Ee){var We=me[Ee]!==we[Ee];We&&(clearTimeout(Se.currentRepaint[Ee]),Se.currentRepaint[Ee]=setTimeout(function(){var Ye=le.filter(function(De,Te){return Te===Ee&&me[Te]!==we[Te]});l(ee,ce,Ye,le),we[Ee]=me[Ee]}))}function ue(ee,ce,le,me){return function(){var Se=E.select(ce.parentNode);Se.each(function(Ee){var We=Ee.fragments;Se.selectAll("tspan.line").each(function($e,pt){We[pt].width=this.getComputedTextLength()});var Ye=We[We.length-1].width,De=We.slice(0,-1),Te=[],Re,Xe,Je=0,He=Ee.column.columnWidth-2*p.cellPad;for(Ee.value="";De.length;)Re=De.shift(),Xe=Re.width+Ye,Je+Xe>He&&(Ee.value+=Te.join(p.wrapSpacer)+p.lineBreaker,Te=[],Je=0),Te.push(Re.text),Je+=Xe;Je&&(Ee.value+=Te.join(p.wrapSpacer)),Ee.wrapped=!0}),Se.selectAll("tspan.line").remove(),k(Se.select("."+p.cn.cellText),le,ee,me),E.select(ce.parentNode.parentNode).call(X)}}function pe(ee,ce,le,me,we){return function(){if(!we.settledY){var Ee=E.select(ce.parentNode),We=fe(we),Ye=we.key-We.firstRowIndex,De=We.rows[Ye].rowHeight,Te=we.cellHeightMayIncrease?ce.parentNode.getBoundingClientRect().height+2*p.cellPad:De,Re=Math.max(Te,De),Xe=Re-We.rows[Ye].rowHeight;Xe&&(We.rows[Ye].rowHeight=Re,ee.selectAll("."+p.cn.columnCell).call(X),j(null,ee.filter(H),0),v(le,me,!0)),Ee.attr("transform",function(){var Je=this,He=Je.parentNode,$e=He.getBoundingClientRect(),pt=E.select(Je.parentNode).select("."+p.cn.cellRect).node().getBoundingClientRect(),ut=Je.transform.baseVal.consolidate(),lt=pt.top-$e.top+(ut?ut.matrix.f:p.cellPad);return t(q(we,E.select(Je.parentNode).select("."+p.cn.cellTextHolder).node().getBoundingClientRect().width),lt)}),we.settledY=!0}}}function q(ee,ce){switch(ee.align){case"left":return p.cellPad;case"right":return ee.column.columnWidth-(ce||0)-p.cellPad;case"center":return(ee.column.columnWidth-(ce||0))/2;default:return p.cellPad}}function X(ee){ee.attr("transform",function(ce){var le=ce.rowBlocks[0].auxiliaryBlocks.reduce(function(Ee,We){return Ee+J(We,1/0)},0),me=fe(ce),we=J(me,ce.key),Se=we+le;return t(0,Se)}).selectAll("."+p.cn.cellRect).attr("height",function(ce){return te(fe(ce),ce.key).rowHeight})}function K(ee,ce){for(var le=0,me=ce-1;me>=0;me--)le+=re(ee[me]);return le}function J(ee,ce){for(var le=0,me=0;me","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:r({},x.textfont,{}),editType:"calc"},text:x.text,textinfo:d.textinfo,texttemplate:E({editType:"plot"},{keys:m.eventDataKeys.concat(["label","value"])}),hovertext:x.hovertext,hoverinfo:d.hoverinfo,hovertemplate:p({},{keys:m.eventDataKeys}),textfont:x.textfont,insidetextfont:x.insidetextfont,outsidetextfont:r({},x.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:x.sort,root:d.root,domain:L({name:"treemap",trace:!0,editType:"calc"})}},78018:function(B,O,e){var p=e(74875);O.name="treemap",O.plot=function(E,a,L,x){p.plotBasePlot(O.name,E,a,L,x)},O.clean=function(E,a,L,x){p.cleanBasePlot(O.name,E,a,L,x)}},65039:function(B,O,e){var p=e(52147);O.y=function(E,a){return p.calc(E,a)},O.T=function(E){return p._runCrossTraceCalc("treemap",E)}},43473:function(B){B.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(B,O,e){var p=e(71828),E=e(45802),a=e(7901),L=e(27670).c,x=e(90769).handleText,d=e(97313).TEXTPAD,m=e(37434).handleMarkerDefaults,r=e(21081),t=r.hasColorscale,s=r.handleDefaults;B.exports=function(f,c,u,b){function h(o,k){return p.coerce(f,c,E,o,k)}var S=h("labels"),v=h("parents");if(!S||!S.length||!v||!v.length){c.visible=!1;return}var l=h("values");l&&l.length?h("branchvalues"):h("count"),h("level"),h("maxdepth");var g=h("tiling.packing");g==="squarify"&&h("tiling.squarifyratio"),h("tiling.flip"),h("tiling.pad");var C=h("text");h("texttemplate"),c.texttemplate||h("textinfo",Array.isArray(C)?"text+label":"label"),h("hovertext"),h("hovertemplate");var M=h("pathbar.visible"),D="auto";x(f,c,b,h,D,{hasPathbar:M,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),h("textposition");var T=c.textposition.indexOf("bottom")!==-1;m(f,c,b,h);var P=c._hasColorscale=t(f,"marker","colors")||(f.marker||{}).coloraxis;P?s(f,c,b,h,{prefix:"marker.",cLetter:"c"}):h("marker.depthfade",!(c.marker.colors||[]).length);var A=c.textfont.size*2;h("marker.pad.t",T?A/4:A),h("marker.pad.l",A/4),h("marker.pad.r",A/4),h("marker.pad.b",T?A:A/4),h("marker.cornerradius"),c._hovered={marker:{line:{width:2,color:a.contrast(b.paper_bgcolor)}}},M&&(h("pathbar.thickness",c.pathbar.textfont.size+2*d),h("pathbar.side"),h("pathbar.edgeshape")),h("sort"),h("root.color"),L(c,b,h),c._length=null}},80694:function(B,O,e){var p=e(39898),E=e(2791),a=e(72597),L=a.clearMinTextSize,x=e(16688).resizeText,d=e(46650);B.exports=function(r,t,s,n,f){var c=f.type,u=f.drawDescendants,b=r._fullLayout,h=b["_"+c+"layer"],S,v,l=!s;if(L(c,b),S=h.selectAll("g.trace."+c).data(t,function(C){return C[0].trace.uid}),S.enter().append("g").classed("trace",!0).classed(c,!0),S.order(),!b.uniformtext.mode&&E.hasTransition(s)){n&&(v=n());var g=p.transition().duration(s.duration).ease(s.easing).each("end",function(){v&&v()}).each("interrupt",function(){v&&v()});g.each(function(){h.selectAll("g.trace").each(function(C){d(r,C,this,s,u)})})}else S.each(function(C){d(r,C,this,s,u)}),b.uniformtext.mode&&x(r,h.selectAll(".trace"),c);l&&S.exit().remove()}},66209:function(B,O,e){var p=e(39898),E=e(71828),a=e(91424),L=e(63893),x=e(37210),d=e(96362).styleOne,m=e(43473),r=e(2791),t=e(83523),s=!0;B.exports=function(f,c,u,b,h){var S=h.barDifY,v=h.width,l=h.height,g=h.viewX,C=h.viewY,M=h.pathSlice,D=h.toMoveInsideSlice,T=h.strTransform,P=h.hasTransition,A=h.handleSlicesExit,o=h.makeUpdateSliceInterpolator,k=h.makeUpdateTextInterpolator,w={},U=f._context.staticPlot,F=f._fullLayout,G=c[0],_=G.trace,H=G.hierarchy,V=v/_._entryDepth,N=r.listPath(u.data,"id"),W=x(H.copy(),[v,l],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();W=W.filter(function(Q){var ie=N.indexOf(Q.data.id);return ie===-1?!1:(Q.x0=V*ie,Q.x1=V*(ie+1),Q.y0=S,Q.y1=S+l,Q.onPathbar=!0,!0)}),W.reverse(),b=b.data(W,r.getPtId),b.enter().append("g").classed("pathbar",!0),A(b,s,w,[v,l],M),b.order();var j=b;P&&(j=j.transition().each("end",function(){var Q=p.select(this);r.setSliceCursor(Q,f,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),j.each(function(Q){Q._x0=g(Q.x0),Q._x1=g(Q.x1),Q._y0=C(Q.y0),Q._y1=C(Q.y1),Q._hoverX=g(Q.x1-Math.min(v,l)/2),Q._hoverY=C(Q.y1-l/2);var ie=p.select(this),ue=E.ensureSingle(ie,"path","surface",function(K){K.style("pointer-events",U?"none":"all")});P?ue.transition().attrTween("d",function(K){var J=o(K,s,w,[v,l]);return function(re){return M(J(re))}}):ue.attr("d",M),ie.call(t,u,f,c,{styleOne:d,eventDataKeys:m.eventDataKeys,transitionTime:m.CLICK_TRANSITION_TIME,transitionEasing:m.CLICK_TRANSITION_EASING}).call(r.setSliceCursor,f,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:f._transitioning}),ue.call(d,Q,_,f,{hovered:!1}),Q._text=(r.getPtLabel(Q)||"").split("
").join(" ")||"";var pe=E.ensureSingle(ie,"g","slicetext"),q=E.ensureSingle(pe,"text","",function(K){K.attr("data-notex",1)}),X=E.ensureUniformFontSize(f,r.determineTextFont(_,Q,F.font,{onPathbar:!0}));q.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,X).call(L.convertToTspans,f),Q.textBB=a.bBox(q.node()),Q.transform=D(Q,{fontSize:X.size,onPathbar:!0}),Q.transform.fontSize=X.size,P?q.transition().attrTween("transform",function(K){var J=k(K,s,w,[v,l]);return function(re){return T(J(re))}}):q.attr("transform",T(Q))})}},52583:function(B,O,e){var p=e(39898),E=e(71828),a=e(91424),L=e(63893),x=e(37210),d=e(96362).styleOne,m=e(43473),r=e(2791),t=e(83523),s=e(24714).formatSliceLabel,n=!1;B.exports=function(c,u,b,h,S){var v=S.width,l=S.height,g=S.viewX,C=S.viewY,M=S.pathSlice,D=S.toMoveInsideSlice,T=S.strTransform,P=S.hasTransition,A=S.handleSlicesExit,o=S.makeUpdateSliceInterpolator,k=S.makeUpdateTextInterpolator,w=S.prevEntry,U={},F=c._context.staticPlot,G=c._fullLayout,_=u[0],H=_.trace,V=H.textposition.indexOf("left")!==-1,N=H.textposition.indexOf("right")!==-1,W=H.textposition.indexOf("bottom")!==-1,j=!W&&!H.marker.pad.t||W&&!H.marker.pad.b,Q=x(b,[v,l],{packing:H.tiling.packing,squarifyratio:H.tiling.squarifyratio,flipX:H.tiling.flip.indexOf("x")>-1,flipY:H.tiling.flip.indexOf("y")>-1,pad:{inner:H.tiling.pad,top:H.marker.pad.t,left:H.marker.pad.l,right:H.marker.pad.r,bottom:H.marker.pad.b}}),ie=Q.descendants(),ue=1/0,pe=-1/0;ie.forEach(function(re){var fe=re.depth;fe>=H._maxDepth?(re.x0=re.x1=(re.x0+re.x1)/2,re.y0=re.y1=(re.y0+re.y1)/2):(ue=Math.min(ue,fe),pe=Math.max(pe,fe))}),h=h.data(ie,r.getPtId),H._maxVisibleLayers=isFinite(pe)?pe-ue+1:0,h.enter().append("g").classed("slice",!0),A(h,n,U,[v,l],M),h.order();var q=null;if(P&&w){var X=r.getPtId(w);h.each(function(re){q===null&&r.getPtId(re)===X&&(q={x0:re.x0,x1:re.x1,y0:re.y0,y1:re.y1})})}var K=function(){return q||{x0:0,x1:v,y0:0,y1:l}},J=h;return P&&(J=J.transition().each("end",function(){var re=p.select(this);r.setSliceCursor(re,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),J.each(function(re){var fe=r.isHeader(re,H);re._x0=g(re.x0),re._x1=g(re.x1),re._y0=C(re.y0),re._y1=C(re.y1),re._hoverX=g(re.x1-H.marker.pad.r),re._hoverY=C(W?re.y1-H.marker.pad.b/2:re.y0+H.marker.pad.t/2);var te=p.select(this),ee=E.ensureSingle(te,"path","surface",function(we){we.style("pointer-events",F?"none":"all")});P?ee.transition().attrTween("d",function(we){var Se=o(we,n,K(),[v,l]);return function(Ee){return M(Se(Ee))}}):ee.attr("d",M),te.call(t,b,c,u,{styleOne:d,eventDataKeys:m.eventDataKeys,transitionTime:m.CLICK_TRANSITION_TIME,transitionEasing:m.CLICK_TRANSITION_EASING}).call(r.setSliceCursor,c,{isTransitioning:c._transitioning}),ee.call(d,re,H,c,{hovered:!1}),re.x0===re.x1||re.y0===re.y1?re._text="":fe?re._text=j?"":r.getPtLabel(re)||"":re._text=s(re,b,H,u,G)||"";var ce=E.ensureSingle(te,"g","slicetext"),le=E.ensureSingle(ce,"text","",function(we){we.attr("data-notex",1)}),me=E.ensureUniformFontSize(c,r.determineTextFont(H,re,G.font));le.text(re._text||" ").classed("slicetext",!0).attr("text-anchor",N?"end":V||fe?"start":"middle").call(a.font,me).call(L.convertToTspans,c),re.textBB=a.bBox(le.node()),re.transform=D(re,{fontSize:me.size,isHeader:fe}),re.transform.fontSize=me.size,P?le.transition().attrTween("transform",function(we){var Se=k(we,n,K(),[v,l]);return function(Ee){return T(Se(Ee))}}):le.attr("transform",T(re))}),q}},14102:function(B){B.exports=function O(e,p,E){var a;E.swapXY&&(a=e.x0,e.x0=e.y0,e.y0=a,a=e.x1,e.x1=e.y1,e.y1=a),E.flipX&&(a=e.x0,e.x0=p[0]-e.x1,e.x1=p[0]-a),E.flipY&&(a=e.y0,e.y0=p[1]-e.y1,e.y1=p[1]-a);var L=e.children;if(L)for(var x=0;x-1?N+Q:-(j+Q):0,ue={x0:W,x1:W,y0:ie,y1:ie+j},pe=function(it,Ue,_e){var Ze=C.tiling.pad,Fe=function(Ae){return Ae-Ze<=Ue.x0},Ce=function(Ae){return Ae+Ze>=Ue.x1},ve=function(Ae){return Ae-Ze<=Ue.y0},Ie=function(Ae){return Ae+Ze>=Ue.y1};return it.x0===Ue.x0&&it.x1===Ue.x1&&it.y0===Ue.y0&&it.y1===Ue.y1?{x0:it.x0,x1:it.x1,y0:it.y0,y1:it.y1}:{x0:Fe(it.x0-Ze)?0:Ce(it.x0-Ze)?_e[0]:it.x0,x1:Fe(it.x1+Ze)?0:Ce(it.x1+Ze)?_e[0]:it.x1,y0:ve(it.y0-Ze)?0:Ie(it.y0-Ze)?_e[1]:it.y0,y1:ve(it.y1+Ze)?0:Ie(it.y1+Ze)?_e[1]:it.y1}},q=null,X={},K={},J=null,re=function(it,Ue){return Ue?X[f(it)]:K[f(it)]},fe=function(it,Ue,_e,Ze){if(Ue)return X[f(T)]||ue;var Fe=K[C.level]||_e;return G(it)?pe(it,Fe,Ze):{}};g.hasMultipleRoots&&w&&F++,C._maxDepth=F,C._backgroundColor=l.paper_bgcolor,C._entryDepth=P.data.depth,C._atRootLevel=w;var te=-V/2+_.l+_.w*(H.x[1]+H.x[0])/2,ee=-N/2+_.t+_.h*(1-(H.y[1]+H.y[0])/2),ce=function(it){return te+it},le=function(it){return ee+it},me=le(0),we=ce(0),Se=function(it){return we+it},Ee=function(it){return me+it};function We(it,Ue){return it+","+Ue}var Ye=Se(0),De=function(it){it.x=Math.max(Ye,it.x)},Te=C.pathbar.edgeshape,Re=function(it){var Ue=Se(Math.max(Math.min(it.x0,it.x0),0)),_e=Se(Math.min(Math.max(it.x1,it.x1),W)),Ze=Ee(it.y0),Fe=Ee(it.y1),Ce=j/2,ve={},Ie={};ve.x=Ue,Ie.x=_e,ve.y=Ie.y=(Ze+Fe)/2;var Ae={x:Ue,y:Ze},je={x:_e,y:Ze},ot={x:_e,y:Fe},ct={x:Ue,y:Fe};return Te===">"?(Ae.x-=Ce,je.x-=Ce,ot.x-=Ce,ct.x-=Ce):Te==="/"?(ot.x-=Ce,ct.x-=Ce,ve.x-=Ce/2,Ie.x-=Ce/2):Te==="\\"?(Ae.x-=Ce,je.x-=Ce,ve.x-=Ce/2,Ie.x-=Ce/2):Te==="<"&&(ve.x-=Ce,Ie.x-=Ce),De(Ae),De(ct),De(ve),De(je),De(ot),De(Ie),"M"+We(Ae.x,Ae.y)+"L"+We(je.x,je.y)+"L"+We(Ie.x,Ie.y)+"L"+We(ot.x,ot.y)+"L"+We(ct.x,ct.y)+"L"+We(ve.x,ve.y)+"Z"},Xe=C[D?"tiling":"marker"].pad,Je=function(it){return C.textposition.indexOf(it)!==-1},He=Je("top"),$e=Je("left"),pt=Je("right"),ut=Je("bottom"),lt=function(it){var Ue=ce(it.x0),_e=ce(it.x1),Ze=le(it.y0),Fe=le(it.y1),Ce=_e-Ue,ve=Fe-Ze;if(!Ce||!ve)return"";var Ie=C.marker.cornerradius||0,Ae=Math.min(Ie,Ce/2,ve/2);Ae&&it.data&&it.data.data&&it.data.data.label&&(He&&(Ae=Math.min(Ae,Xe.t)),$e&&(Ae=Math.min(Ae,Xe.l)),pt&&(Ae=Math.min(Ae,Xe.r)),ut&&(Ae=Math.min(Ae,Xe.b)));var je=function(ot,ct){return Ae?"a"+We(Ae,Ae)+" 0 0 1 "+We(ot,ct):""};return"M"+We(Ue,Ze+Ae)+je(Ae,-Ae)+"L"+We(_e-Ae,Ze)+je(Ae,Ae)+"L"+We(_e,Fe-Ae)+je(-Ae,Ae)+"L"+We(Ue+Ae,Fe)+je(-Ae,-Ae)+"Z"},ke=function(it,Ue){var _e=it.x0,Ze=it.x1,Fe=it.y0,Ce=it.y1,ve=it.textBB,Ie=He||Ue.isHeader&&!ut,Ae=Ie?"start":ut?"end":"middle",je=Je("right"),ot=Je("left")||Ue.onPathbar,ct=ot?-1:je?1:0;if(Ue.isHeader){if(_e+=(D?Xe:Xe.l)-x,Ze-=(D?Xe:Xe.r)-x,_e>=Ze){var Et=(_e+Ze)/2;_e=Et,Ze=Et}var kt;ut?(kt=Ce-(D?Xe:Xe.b),Fe0)for(var A=0;A0){var M=m.xa,D=m.ya,T,P,A,o,k;u.orientation==="h"?(k=r,T="y",A=D,P="x",o=M):(k=t,T="x",A=M,P="y",o=D);var w=c[m.index];if(k>=w.span[0]&&k<=w.span[1]){var U=E.extendFlat({},m),F=o.c2p(k,!0),G=x.getKdeValue(w,u,k),_=x.getPositionOnKdePath(w,u,F),H=A._offset,V=A._length;U[T+"0"]=_[0],U[T+"1"]=_[1],U[P+"0"]=U[P+"1"]=F,U[P+"Label"]=P+": "+a.hoverLabelText(o,k,u[P+"hoverformat"])+", "+c[0].t.labels.kde+" "+G.toFixed(3);for(var N=0,W=0;W")),c.color=d(b,C),[c]};function d(m,r){var t=m[r.dir].marker,s=t.color,n=t.line.color,f=t.line.width;if(E(s))return s;if(E(n)&&f)return n}},19990:function(B,O,e){B.exports={attributes:e(43037),layoutAttributes:e(13494),supplyDefaults:e(83266).supplyDefaults,crossTraceDefaults:e(83266).crossTraceDefaults,supplyLayoutDefaults:e(5176),calc:e(52752),crossTraceCalc:e(70766),plot:e(30436),style:e(55750).style,hoverPoints:e(61326),eventData:e(58593),selectPoints:e(81974),moduleType:"trace",name:"waterfall",basePlotModule:e(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(B){B.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(B,O,e){var p=e(71828),E=e(13494);B.exports=function(a,L,x){var d=!1;function m(s,n){return p.coerce(a,L,E,s,n)}for(var r=0;r0&&(l?k+="M"+A[0]+","+o[1]+"V"+o[0]:k+="M"+A[1]+","+o[0]+"H"+A[0]),g!=="between"&&(D.isSum||T path").each(function(h){if(!h.isBlank){var S=b[h.dir].marker;p.select(this).call(a.fill,S.color).call(a.stroke,S.line.color).call(E.dashLine,S.line.dash,S.line.width).style("opacity",b.selectedpoints&&!h.selected?L:1)}}),m(u,b,t),u.selectAll(".lines").each(function(){var h=b.connector.line;E.lineGroupStyle(p.select(this).selectAll("path"),h.width,h.color,h.dash)})})}B.exports={style:r}},82887:function(B,O,e){var p=e(89298),E=e(71828),a=e(86281),L=e(79344).p,x=e(50606).BADNUM;O.moduleType="transform",O.name="aggregate";var d=O.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},m=d.aggregations;O.supplyDefaults=function(c,u){var b={},h;function S(w,U){return E.coerce(c,b,d,w,U)}var v=S("enabled");if(!v)return b;var l=a.findArrayAttributes(u),g={};for(h=0;hC&&(C=P,M=T)}}return C?S(M):x};case"rms":return function(v,l){for(var g=0,C=0,M=0;M":return function(g){return v(g)>l};case">=":return function(g){return v(g)>=l};case"[]":return function(g){var C=v(g);return C>=l[0]&&C<=l[1]};case"()":return function(g){var C=v(g);return C>l[0]&&C=l[0]&&Cl[0]&&C<=l[1]};case"][":return function(g){var C=v(g);return C<=l[0]||C>=l[1]};case")(":return function(g){var C=v(g);return Cl[1]};case"](":return function(g){var C=v(g);return C<=l[0]||C>l[1]};case")[":return function(g){var C=v(g);return C=l[1]};case"{}":return function(g){return l.indexOf(v(g))!==-1};case"}{":return function(g){return l.indexOf(v(g))===-1}}}},43102:function(B,O,e){var p=e(71828),E=e(86281),a=e(74875),L=e(79344).p;O.moduleType="transform",O.name="groupby",O.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"data_array",dflt:[],editType:"calc"},nameformat:{valType:"string",editType:"calc"},styles:{_isLinkedToArray:"style",target:{valType:"string",editType:"calc"},value:{valType:"any",dflt:{},editType:"calc",_compareAsJSON:!0},editType:"calc"},editType:"calc"},O.supplyDefaults=function(d,m,r){var t,s={};function n(S,v){return p.coerce(d,s,O.attributes,S,v)}var f=n("enabled");if(!f)return s;n("groups"),n("nameformat",r._dataLength>1?"%{group} (%{trace})":"%{group}");var c=d.styles,u=s.styles=[];if(c)for(t=0;t -* @license MIT -*/function t(Ce,ve){if(!(Ce instanceof ve))throw new TypeError("Cannot call a class as a function")}function s(Ce,ve){for(var Ie=0;Ie"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function v(Ce){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Ie){return Ie.__proto__||Object.getPrototypeOf(Ie)},v(Ce)}function l(Ce){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},l(Ce)}var g=r(3910),C=r(3187),M=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;m.lW=A,m.h2=50;var D=2147483647;A.TYPED_ARRAY_SUPPORT=T(),!A.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function T(){try{var Ce=new Uint8Array(1),ve={foo:function(){return 42}};return Object.setPrototypeOf(ve,Uint8Array.prototype),Object.setPrototypeOf(Ce,ve),Ce.foo()===42}catch{return!1}}Object.defineProperty(A.prototype,"parent",{enumerable:!0,get:function(){if(A.isBuffer(this))return this.buffer}}),Object.defineProperty(A.prototype,"offset",{enumerable:!0,get:function(){if(A.isBuffer(this))return this.byteOffset}});function P(Ce){if(Ce>D)throw new RangeError('The value "'+Ce+'" is invalid for option "size"');var ve=new Uint8Array(Ce);return Object.setPrototypeOf(ve,A.prototype),ve}function A(Ce,ve,Ie){if(typeof Ce=="number"){if(typeof ve=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return U(Ce)}return o(Ce,ve,Ie)}A.poolSize=8192;function o(Ce,ve,Ie){if(typeof Ce=="string")return F(Ce,ve);if(ArrayBuffer.isView(Ce))return _(Ce);if(Ce==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(Ce));if(it(Ce,ArrayBuffer)||Ce&&it(Ce.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(it(Ce,SharedArrayBuffer)||Ce&&it(Ce.buffer,SharedArrayBuffer)))return H(Ce,ve,Ie);if(typeof Ce=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ae=Ce.valueOf&&Ce.valueOf();if(Ae!=null&&Ae!==Ce)return A.from(Ae,ve,Ie);var je=V(Ce);if(je)return je;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ce[Symbol.toPrimitive]=="function")return A.from(Ce[Symbol.toPrimitive]("string"),ve,Ie);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(Ce))}A.from=function(Ce,ve,Ie){return o(Ce,ve,Ie)},Object.setPrototypeOf(A.prototype,Uint8Array.prototype),Object.setPrototypeOf(A,Uint8Array);function k(Ce){if(typeof Ce!="number")throw new TypeError('"size" argument must be of type number');if(Ce<0)throw new RangeError('The value "'+Ce+'" is invalid for option "size"')}function w(Ce,ve,Ie){return k(Ce),Ce<=0?P(Ce):ve!==void 0?typeof Ie=="string"?P(Ce).fill(ve,Ie):P(Ce).fill(ve):P(Ce)}A.alloc=function(Ce,ve,Ie){return w(Ce,ve,Ie)};function U(Ce){return k(Ce),P(Ce<0?0:N(Ce)|0)}A.allocUnsafe=function(Ce){return U(Ce)},A.allocUnsafeSlow=function(Ce){return U(Ce)};function F(Ce,ve){if((typeof ve!="string"||ve==="")&&(ve="utf8"),!A.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve);var Ie=W(Ce,ve)|0,Ae=P(Ie),je=Ae.write(Ce,ve);return je!==Ie&&(Ae=Ae.slice(0,je)),Ae}function G(Ce){for(var ve=Ce.length<0?0:N(Ce.length)|0,Ie=P(ve),Ae=0;Ae=D)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D.toString(16)+" bytes");return Ce|0}A.isBuffer=function(ve){return ve!=null&&ve._isBuffer===!0&&ve!==A.prototype},A.compare=function(ve,Ie){if(it(ve,Uint8Array)&&(ve=A.from(ve,ve.offset,ve.byteLength)),it(Ie,Uint8Array)&&(Ie=A.from(Ie,Ie.offset,Ie.byteLength)),!A.isBuffer(ve)||!A.isBuffer(Ie))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ve===Ie)return 0;for(var Ae=ve.length,je=Ie.length,ot=0,ct=Math.min(Ae,je);otje.length?(A.isBuffer(ct)||(ct=A.from(ct)),ct.copy(je,ot)):Uint8Array.prototype.set.call(je,ct,ot);else if(A.isBuffer(ct))ct.copy(je,ot);else throw new TypeError('"list" argument must be an Array of Buffers');ot+=ct.length}return je};function W(Ce,ve){if(A.isBuffer(Ce))return Ce.length;if(ArrayBuffer.isView(Ce)||it(Ce,ArrayBuffer))return Ce.byteLength;if(typeof Ce!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(Ce));var Ie=Ce.length,Ae=arguments.length>2&&arguments[2]===!0;if(!Ae&&Ie===0)return 0;for(var je=!1;;)switch(ve){case"ascii":case"latin1":case"binary":return Ie;case"utf8":case"utf-8":return gt(Ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ie*2;case"hex":return Ie>>>1;case"base64":return Bt(Ce).length;default:if(je)return Ae?-1:gt(Ce).length;ve=(""+ve).toLowerCase(),je=!0}}A.byteLength=W;function j(Ce,ve,Ie){var Ae=!1;if((ve===void 0||ve<0)&&(ve=0),ve>this.length||((Ie===void 0||Ie>this.length)&&(Ie=this.length),Ie<=0)||(Ie>>>=0,ve>>>=0,Ie<=ve))return"";for(Ce||(Ce="utf8");;)switch(Ce){case"hex":return me(this,ve,Ie);case"utf8":case"utf-8":return fe(this,ve,Ie);case"ascii":return ce(this,ve,Ie);case"latin1":case"binary":return le(this,ve,Ie);case"base64":return re(this,ve,Ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,ve,Ie);default:if(Ae)throw new TypeError("Unknown encoding: "+Ce);Ce=(Ce+"").toLowerCase(),Ae=!0}}A.prototype._isBuffer=!0;function Q(Ce,ve,Ie){var Ae=Ce[ve];Ce[ve]=Ce[Ie],Ce[Ie]=Ae}A.prototype.swap16=function(){var ve=this.length;if(ve%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ie=0;IeIe&&(ve+=" ... "),""},M&&(A.prototype[M]=A.prototype.inspect),A.prototype.compare=function(ve,Ie,Ae,je,ot){if(it(ve,Uint8Array)&&(ve=A.from(ve,ve.offset,ve.byteLength)),!A.isBuffer(ve))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ve));if(Ie===void 0&&(Ie=0),Ae===void 0&&(Ae=ve?ve.length:0),je===void 0&&(je=0),ot===void 0&&(ot=this.length),Ie<0||Ae>ve.length||je<0||ot>this.length)throw new RangeError("out of range index");if(je>=ot&&Ie>=Ae)return 0;if(je>=ot)return-1;if(Ie>=Ae)return 1;if(Ie>>>=0,Ae>>>=0,je>>>=0,ot>>>=0,this===ve)return 0;for(var ct=ot-je,Et=Ae-Ie,kt=Math.min(ct,Et),nr=this.slice(je,ot),dr=ve.slice(Ie,Ae),Dt=0;Dt2147483647?Ie=2147483647:Ie<-2147483648&&(Ie=-2147483648),Ie=+Ie,Ue(Ie)&&(Ie=je?0:Ce.length-1),Ie<0&&(Ie=Ce.length+Ie),Ie>=Ce.length){if(je)return-1;Ie=Ce.length-1}else if(Ie<0)if(je)Ie=0;else return-1;if(typeof ve=="string"&&(ve=A.from(ve,Ae)),A.isBuffer(ve))return ve.length===0?-1:ue(Ce,ve,Ie,Ae,je);if(typeof ve=="number")return ve=ve&255,typeof Uint8Array.prototype.indexOf=="function"?je?Uint8Array.prototype.indexOf.call(Ce,ve,Ie):Uint8Array.prototype.lastIndexOf.call(Ce,ve,Ie):ue(Ce,[ve],Ie,Ae,je);throw new TypeError("val must be string, number or Buffer")}function ue(Ce,ve,Ie,Ae,je){var ot=1,ct=Ce.length,Et=ve.length;if(Ae!==void 0&&(Ae=String(Ae).toLowerCase(),Ae==="ucs2"||Ae==="ucs-2"||Ae==="utf16le"||Ae==="utf-16le")){if(Ce.length<2||ve.length<2)return-1;ot=2,ct/=2,Et/=2,Ie/=2}function kt(vr,Pr){return ot===1?vr[Pr]:vr.readUInt16BE(Pr*ot)}var nr;if(je){var dr=-1;for(nr=Ie;nrct&&(Ie=ct-Et),nr=Ie;nr>=0;nr--){for(var Dt=!0,$t=0;$tje&&(Ae=je)):Ae=je;var ot=ve.length;Ae>ot/2&&(Ae=ot/2);var ct;for(ct=0;ct>>0,isFinite(Ae)?(Ae=Ae>>>0,je===void 0&&(je="utf8")):(je=Ae,Ae=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ot=this.length-Ie;if((Ae===void 0||Ae>ot)&&(Ae=ot),ve.length>0&&(Ae<0||Ie<0)||Ie>this.length)throw new RangeError("Attempt to write outside buffer bounds");je||(je="utf8");for(var ct=!1;;)switch(je){case"hex":return pe(this,ve,Ie,Ae);case"utf8":case"utf-8":return q(this,ve,Ie,Ae);case"ascii":case"latin1":case"binary":return X(this,ve,Ie,Ae);case"base64":return K(this,ve,Ie,Ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,ve,Ie,Ae);default:if(ct)throw new TypeError("Unknown encoding: "+je);je=(""+je).toLowerCase(),ct=!0}},A.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(Ce,ve,Ie){return ve===0&&Ie===Ce.length?g.fromByteArray(Ce):g.fromByteArray(Ce.slice(ve,Ie))}function fe(Ce,ve,Ie){Ie=Math.min(Ce.length,Ie);for(var Ae=[],je=ve;je239?4:ot>223?3:ot>191?2:1;if(je+Et<=Ie){var kt=void 0,nr=void 0,dr=void 0,Dt=void 0;switch(Et){case 1:ot<128&&(ct=ot);break;case 2:kt=Ce[je+1],(kt&192)===128&&(Dt=(ot&31)<<6|kt&63,Dt>127&&(ct=Dt));break;case 3:kt=Ce[je+1],nr=Ce[je+2],(kt&192)===128&&(nr&192)===128&&(Dt=(ot&15)<<12|(kt&63)<<6|nr&63,Dt>2047&&(Dt<55296||Dt>57343)&&(ct=Dt));break;case 4:kt=Ce[je+1],nr=Ce[je+2],dr=Ce[je+3],(kt&192)===128&&(nr&192)===128&&(dr&192)===128&&(Dt=(ot&15)<<18|(kt&63)<<12|(nr&63)<<6|dr&63,Dt>65535&&Dt<1114112&&(ct=Dt))}}ct===null?(ct=65533,Et=1):ct>65535&&(ct-=65536,Ae.push(ct>>>10&1023|55296),ct=56320|ct&1023),Ae.push(ct),je+=Et}return ee(Ae)}var te=4096;function ee(Ce){var ve=Ce.length;if(ve<=te)return String.fromCharCode.apply(String,Ce);for(var Ie="",Ae=0;AeAe)&&(Ie=Ae);for(var je="",ot=ve;otAe&&(ve=Ae),Ie<0?(Ie+=Ae,Ie<0&&(Ie=0)):Ie>Ae&&(Ie=Ae),IeIe)throw new RangeError("Trying to access beyond buffer length")}A.prototype.readUintLE=A.prototype.readUIntLE=function(ve,Ie,Ae){ve=ve>>>0,Ie=Ie>>>0,Ae||Se(ve,Ie,this.length);for(var je=this[ve],ot=1,ct=0;++ct>>0,Ie=Ie>>>0,Ae||Se(ve,Ie,this.length);for(var je=this[ve+--Ie],ot=1;Ie>0&&(ot*=256);)je+=this[ve+--Ie]*ot;return je},A.prototype.readUint8=A.prototype.readUInt8=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,1,this.length),this[ve]},A.prototype.readUint16LE=A.prototype.readUInt16LE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,2,this.length),this[ve]|this[ve+1]<<8},A.prototype.readUint16BE=A.prototype.readUInt16BE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,2,this.length),this[ve]<<8|this[ve+1]},A.prototype.readUint32LE=A.prototype.readUInt32LE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,4,this.length),(this[ve]|this[ve+1]<<8|this[ve+2]<<16)+this[ve+3]*16777216},A.prototype.readUint32BE=A.prototype.readUInt32BE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,4,this.length),this[ve]*16777216+(this[ve+1]<<16|this[ve+2]<<8|this[ve+3])},A.prototype.readBigUInt64LE=Ze(function(ve){ve=ve>>>0,ut(ve,"offset");var Ie=this[ve],Ae=this[ve+7];(Ie===void 0||Ae===void 0)&<(ve,this.length-8);var je=Ie+this[++ve]*Math.pow(2,8)+this[++ve]*Math.pow(2,16)+this[++ve]*Math.pow(2,24),ot=this[++ve]+this[++ve]*Math.pow(2,8)+this[++ve]*Math.pow(2,16)+Ae*Math.pow(2,24);return BigInt(je)+(BigInt(ot)<>>0,ut(ve,"offset");var Ie=this[ve],Ae=this[ve+7];(Ie===void 0||Ae===void 0)&<(ve,this.length-8);var je=Ie*Math.pow(2,24)+this[++ve]*Math.pow(2,16)+this[++ve]*Math.pow(2,8)+this[++ve],ot=this[++ve]*Math.pow(2,24)+this[++ve]*Math.pow(2,16)+this[++ve]*Math.pow(2,8)+Ae;return(BigInt(je)<>>0,Ie=Ie>>>0,Ae||Se(ve,Ie,this.length);for(var je=this[ve],ot=1,ct=0;++ct=ot&&(je-=Math.pow(2,8*Ie)),je},A.prototype.readIntBE=function(ve,Ie,Ae){ve=ve>>>0,Ie=Ie>>>0,Ae||Se(ve,Ie,this.length);for(var je=Ie,ot=1,ct=this[ve+--je];je>0&&(ot*=256);)ct+=this[ve+--je]*ot;return ot*=128,ct>=ot&&(ct-=Math.pow(2,8*Ie)),ct},A.prototype.readInt8=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,1,this.length),this[ve]&128?(255-this[ve]+1)*-1:this[ve]},A.prototype.readInt16LE=function(ve,Ie){ve=ve>>>0,Ie||Se(ve,2,this.length);var Ae=this[ve]|this[ve+1]<<8;return Ae&32768?Ae|4294901760:Ae},A.prototype.readInt16BE=function(ve,Ie){ve=ve>>>0,Ie||Se(ve,2,this.length);var Ae=this[ve+1]|this[ve]<<8;return Ae&32768?Ae|4294901760:Ae},A.prototype.readInt32LE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,4,this.length),this[ve]|this[ve+1]<<8|this[ve+2]<<16|this[ve+3]<<24},A.prototype.readInt32BE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,4,this.length),this[ve]<<24|this[ve+1]<<16|this[ve+2]<<8|this[ve+3]},A.prototype.readBigInt64LE=Ze(function(ve){ve=ve>>>0,ut(ve,"offset");var Ie=this[ve],Ae=this[ve+7];(Ie===void 0||Ae===void 0)&<(ve,this.length-8);var je=this[ve+4]+this[ve+5]*Math.pow(2,8)+this[ve+6]*Math.pow(2,16)+(Ae<<24);return(BigInt(je)<>>0,ut(ve,"offset");var Ie=this[ve],Ae=this[ve+7];(Ie===void 0||Ae===void 0)&<(ve,this.length-8);var je=(Ie<<24)+this[++ve]*Math.pow(2,16)+this[++ve]*Math.pow(2,8)+this[++ve];return(BigInt(je)<>>0,Ie||Se(ve,4,this.length),C.read(this,ve,!0,23,4)},A.prototype.readFloatBE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,4,this.length),C.read(this,ve,!1,23,4)},A.prototype.readDoubleLE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,8,this.length),C.read(this,ve,!0,52,8)},A.prototype.readDoubleBE=function(ve,Ie){return ve=ve>>>0,Ie||Se(ve,8,this.length),C.read(this,ve,!1,52,8)};function Ee(Ce,ve,Ie,Ae,je,ot){if(!A.isBuffer(Ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(ve>je||veCe.length)throw new RangeError("Index out of range")}A.prototype.writeUintLE=A.prototype.writeUIntLE=function(ve,Ie,Ae,je){if(ve=+ve,Ie=Ie>>>0,Ae=Ae>>>0,!je){var ot=Math.pow(2,8*Ae)-1;Ee(this,ve,Ie,Ae,ot,0)}var ct=1,Et=0;for(this[Ie]=ve&255;++Et>>0,Ae=Ae>>>0,!je){var ot=Math.pow(2,8*Ae)-1;Ee(this,ve,Ie,Ae,ot,0)}var ct=Ae-1,Et=1;for(this[Ie+ct]=ve&255;--ct>=0&&(Et*=256);)this[Ie+ct]=ve/Et&255;return Ie+Ae},A.prototype.writeUint8=A.prototype.writeUInt8=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,1,255,0),this[Ie]=ve&255,Ie+1},A.prototype.writeUint16LE=A.prototype.writeUInt16LE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,2,65535,0),this[Ie]=ve&255,this[Ie+1]=ve>>>8,Ie+2},A.prototype.writeUint16BE=A.prototype.writeUInt16BE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,2,65535,0),this[Ie]=ve>>>8,this[Ie+1]=ve&255,Ie+2},A.prototype.writeUint32LE=A.prototype.writeUInt32LE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,4,4294967295,0),this[Ie+3]=ve>>>24,this[Ie+2]=ve>>>16,this[Ie+1]=ve>>>8,this[Ie]=ve&255,Ie+4},A.prototype.writeUint32BE=A.prototype.writeUInt32BE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,4,4294967295,0),this[Ie]=ve>>>24,this[Ie+1]=ve>>>16,this[Ie+2]=ve>>>8,this[Ie+3]=ve&255,Ie+4};function We(Ce,ve,Ie,Ae,je){pt(ve,Ae,je,Ce,Ie,7);var ot=Number(ve&BigInt(4294967295));Ce[Ie++]=ot,ot=ot>>8,Ce[Ie++]=ot,ot=ot>>8,Ce[Ie++]=ot,ot=ot>>8,Ce[Ie++]=ot;var ct=Number(ve>>BigInt(32)&BigInt(4294967295));return Ce[Ie++]=ct,ct=ct>>8,Ce[Ie++]=ct,ct=ct>>8,Ce[Ie++]=ct,ct=ct>>8,Ce[Ie++]=ct,Ie}function Ye(Ce,ve,Ie,Ae,je){pt(ve,Ae,je,Ce,Ie,7);var ot=Number(ve&BigInt(4294967295));Ce[Ie+7]=ot,ot=ot>>8,Ce[Ie+6]=ot,ot=ot>>8,Ce[Ie+5]=ot,ot=ot>>8,Ce[Ie+4]=ot;var ct=Number(ve>>BigInt(32)&BigInt(4294967295));return Ce[Ie+3]=ct,ct=ct>>8,Ce[Ie+2]=ct,ct=ct>>8,Ce[Ie+1]=ct,ct=ct>>8,Ce[Ie]=ct,Ie+8}A.prototype.writeBigUInt64LE=Ze(function(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return We(this,ve,Ie,BigInt(0),BigInt("0xffffffffffffffff"))}),A.prototype.writeBigUInt64BE=Ze(function(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Ye(this,ve,Ie,BigInt(0),BigInt("0xffffffffffffffff"))}),A.prototype.writeIntLE=function(ve,Ie,Ae,je){if(ve=+ve,Ie=Ie>>>0,!je){var ot=Math.pow(2,8*Ae-1);Ee(this,ve,Ie,Ae,ot-1,-ot)}var ct=0,Et=1,kt=0;for(this[Ie]=ve&255;++ct>0)-kt&255;return Ie+Ae},A.prototype.writeIntBE=function(ve,Ie,Ae,je){if(ve=+ve,Ie=Ie>>>0,!je){var ot=Math.pow(2,8*Ae-1);Ee(this,ve,Ie,Ae,ot-1,-ot)}var ct=Ae-1,Et=1,kt=0;for(this[Ie+ct]=ve&255;--ct>=0&&(Et*=256);)ve<0&&kt===0&&this[Ie+ct+1]!==0&&(kt=1),this[Ie+ct]=(ve/Et>>0)-kt&255;return Ie+Ae},A.prototype.writeInt8=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,1,127,-128),ve<0&&(ve=255+ve+1),this[Ie]=ve&255,Ie+1},A.prototype.writeInt16LE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,2,32767,-32768),this[Ie]=ve&255,this[Ie+1]=ve>>>8,Ie+2},A.prototype.writeInt16BE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,2,32767,-32768),this[Ie]=ve>>>8,this[Ie+1]=ve&255,Ie+2},A.prototype.writeInt32LE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,4,2147483647,-2147483648),this[Ie]=ve&255,this[Ie+1]=ve>>>8,this[Ie+2]=ve>>>16,this[Ie+3]=ve>>>24,Ie+4},A.prototype.writeInt32BE=function(ve,Ie,Ae){return ve=+ve,Ie=Ie>>>0,Ae||Ee(this,ve,Ie,4,2147483647,-2147483648),ve<0&&(ve=4294967295+ve+1),this[Ie]=ve>>>24,this[Ie+1]=ve>>>16,this[Ie+2]=ve>>>8,this[Ie+3]=ve&255,Ie+4},A.prototype.writeBigInt64LE=Ze(function(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return We(this,ve,Ie,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),A.prototype.writeBigInt64BE=Ze(function(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Ye(this,ve,Ie,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function De(Ce,ve,Ie,Ae,je,ot){if(Ie+Ae>Ce.length)throw new RangeError("Index out of range");if(Ie<0)throw new RangeError("Index out of range")}function Te(Ce,ve,Ie,Ae,je){return ve=+ve,Ie=Ie>>>0,je||De(Ce,ve,Ie,4),C.write(Ce,ve,Ie,Ae,23,4),Ie+4}A.prototype.writeFloatLE=function(ve,Ie,Ae){return Te(this,ve,Ie,!0,Ae)},A.prototype.writeFloatBE=function(ve,Ie,Ae){return Te(this,ve,Ie,!1,Ae)};function Re(Ce,ve,Ie,Ae,je){return ve=+ve,Ie=Ie>>>0,je||De(Ce,ve,Ie,8),C.write(Ce,ve,Ie,Ae,52,8),Ie+8}A.prototype.writeDoubleLE=function(ve,Ie,Ae){return Re(this,ve,Ie,!0,Ae)},A.prototype.writeDoubleBE=function(ve,Ie,Ae){return Re(this,ve,Ie,!1,Ae)},A.prototype.copy=function(ve,Ie,Ae,je){if(!A.isBuffer(ve))throw new TypeError("argument should be a Buffer");if(Ae||(Ae=0),!je&&je!==0&&(je=this.length),Ie>=ve.length&&(Ie=ve.length),Ie||(Ie=0),je>0&&je=this.length)throw new RangeError("Index out of range");if(je<0)throw new RangeError("sourceEnd out of bounds");je>this.length&&(je=this.length),ve.length-Ie>>0,Ae=Ae===void 0?this.length:Ae>>>0,ve||(ve=0);var ct;if(typeof ve=="number")for(ct=Ie;ctMath.pow(2,32)?je=He(String(Ie)):typeof Ie=="bigint"&&(je=String(Ie),(Ie>Math.pow(BigInt(2),BigInt(32))||Ie<-Math.pow(BigInt(2),BigInt(32)))&&(je=He(je)),je+="n"),Ae+=" It must be ".concat(ve,". Received ").concat(je),Ae},RangeError);function He(Ce){for(var ve="",Ie=Ce.length,Ae=Ce[0]==="-"?1:0;Ie>=Ae+4;Ie-=3)ve="_".concat(Ce.slice(Ie-3,Ie)).concat(ve);return"".concat(Ce.slice(0,Ie)).concat(ve)}function $e(Ce,ve,Ie){ut(ve,"offset"),(Ce[ve]===void 0||Ce[ve+Ie]===void 0)&<(ve,Ce.length-(Ie+1))}function pt(Ce,ve,Ie,Ae,je,ot){if(Ce>Ie||Ce3?ve===0||ve===BigInt(0)?Et=">= 0".concat(ct," and < 2").concat(ct," ** ").concat((ot+1)*8).concat(ct):Et=">= -(2".concat(ct," ** ").concat((ot+1)*8-1).concat(ct,") and < 2 ** ")+"".concat((ot+1)*8-1).concat(ct):Et=">= ".concat(ve).concat(ct," and <= ").concat(Ie).concat(ct),new Xe.ERR_OUT_OF_RANGE("value",Et,Ce)}$e(Ae,je,ot)}function ut(Ce,ve){if(typeof Ce!="number")throw new Xe.ERR_INVALID_ARG_TYPE(ve,"number",Ce)}function lt(Ce,ve,Ie){throw Math.floor(Ce)!==Ce?(ut(Ce,Ie),new Xe.ERR_OUT_OF_RANGE(Ie||"offset","an integer",Ce)):ve<0?new Xe.ERR_BUFFER_OUT_OF_BOUNDS:new Xe.ERR_OUT_OF_RANGE(Ie||"offset",">= ".concat(Ie?1:0," and <= ").concat(ve),Ce)}var ke=/[^+/0-9A-Za-z-_]/g;function Ne(Ce){if(Ce=Ce.split("=")[0],Ce=Ce.trim().replace(ke,""),Ce.length<2)return"";for(;Ce.length%4!==0;)Ce=Ce+"=";return Ce}function gt(Ce,ve){ve=ve||1/0;for(var Ie,Ae=Ce.length,je=null,ot=[],ct=0;ct55295&&Ie<57344){if(!je){if(Ie>56319){(ve-=3)>-1&&ot.push(239,191,189);continue}else if(ct+1===Ae){(ve-=3)>-1&&ot.push(239,191,189);continue}je=Ie;continue}if(Ie<56320){(ve-=3)>-1&&ot.push(239,191,189),je=Ie;continue}Ie=(je-55296<<10|Ie-56320)+65536}else je&&(ve-=3)>-1&&ot.push(239,191,189);if(je=null,Ie<128){if((ve-=1)<0)break;ot.push(Ie)}else if(Ie<2048){if((ve-=2)<0)break;ot.push(Ie>>6|192,Ie&63|128)}else if(Ie<65536){if((ve-=3)<0)break;ot.push(Ie>>12|224,Ie>>6&63|128,Ie&63|128)}else if(Ie<1114112){if((ve-=4)<0)break;ot.push(Ie>>18|240,Ie>>12&63|128,Ie>>6&63|128,Ie&63|128)}else throw new Error("Invalid code point")}return ot}function qe(Ce){for(var ve=[],Ie=0;Ie>8,je=Ie%256,ot.push(je),ot.push(Ae);return ot}function Bt(Ce){return g.toByteArray(Ne(Ce))}function Yt(Ce,ve,Ie,Ae){var je;for(je=0;je=ve.length||je>=Ce.length);++je)ve[je+Ie]=Ce[je];return je}function it(Ce,ve){return Ce instanceof ve||Ce!=null&&Ce.constructor!=null&&Ce.constructor.name!=null&&Ce.constructor.name===ve.name}function Ue(Ce){return Ce!==Ce}var _e=function(){for(var Ce="0123456789abcdef",ve=new Array(256),Ie=0;Ie<16;++Ie)for(var Ae=Ie*16,je=0;je<16;++je)ve[Ae+je]=Ce[Ie]+Ce[je];return ve}();function Ze(Ce){return typeof BigInt>"u"?Fe:Ce}function Fe(){throw new Error("BigInt not supported")}},2321:function(d){d.exports=s,d.exports.isMobile=s,d.exports.default=s;var m=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,t=/android|ipad|playbook|silk/i;function s(n){n||(n={});var f=n.ua;if(!f&&typeof navigator<"u"&&(f=navigator.userAgent),f&&f.headers&&typeof f.headers["user-agent"]=="string"&&(f=f.headers["user-agent"]),typeof f!="string")return!1;var c=m.test(f)&&!r.test(f)||!!n.tablet&&t.test(f);return!c&&n.tablet&&n.featureDetect&&navigator&&navigator.maxTouchPoints>1&&f.indexOf("Macintosh")!==-1&&f.indexOf("Safari")!==-1&&(c=!0),c}},3910:function(d,m){m.byteLength=b,m.toByteArray=S,m.fromByteArray=g;for(var r=[],t=[],s=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,c=n.length;f0)throw new Error("Invalid string. Length must be a multiple of 4");var D=C.indexOf("=");D===-1&&(D=M);var T=D===M?0:4-D%4;return[D,T]}function b(C){var M=u(C),D=M[0],T=M[1];return(D+T)*3/4-T}function h(C,M,D){return(M+D)*3/4-D}function S(C){var M,D=u(C),T=D[0],P=D[1],A=new s(h(C,T,P)),o=0,k=P>0?T-4:T,w;for(w=0;w>16&255,A[o++]=M>>8&255,A[o++]=M&255;return P===2&&(M=t[C.charCodeAt(w)]<<2|t[C.charCodeAt(w+1)]>>4,A[o++]=M&255),P===1&&(M=t[C.charCodeAt(w)]<<10|t[C.charCodeAt(w+1)]<<4|t[C.charCodeAt(w+2)]>>2,A[o++]=M>>8&255,A[o++]=M&255),A}function v(C){return r[C>>18&63]+r[C>>12&63]+r[C>>6&63]+r[C&63]}function l(C,M,D){for(var T,P=[],A=M;Ak?k:o+A));return T===1?(M=C[D-1],P.push(r[M>>2]+r[M<<4&63]+"==")):T===2&&(M=(C[D-2]<<8)+C[D-1],P.push(r[M>>10]+r[M>>4&63]+r[M<<2&63]+"=")),P.join("")}},3187:function(d,m){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */m.read=function(r,t,s,n,f){var c,u,b=f*8-n-1,h=(1<>1,v=-7,l=s?f-1:0,g=s?-1:1,C=r[t+l];for(l+=g,c=C&(1<<-v)-1,C>>=-v,v+=b;v>0;c=c*256+r[t+l],l+=g,v-=8);for(u=c&(1<<-v)-1,c>>=-v,v+=n;v>0;u=u*256+r[t+l],l+=g,v-=8);if(c===0)c=1-S;else{if(c===h)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,n),c=c-S}return(C?-1:1)*u*Math.pow(2,c-n)},m.write=function(r,t,s,n,f,c){var u,b,h,S=c*8-f-1,v=(1<>1,g=f===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=n?0:c-1,M=n?1:-1,D=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(b=isNaN(t)?1:0,u=v):(u=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+l>=1?t+=g/h:t+=g*Math.pow(2,1-l),t*h>=2&&(u++,h/=2),u+l>=v?(b=0,u=v):u+l>=1?(b=(t*h-1)*Math.pow(2,f),u=u+l):(b=t*Math.pow(2,l-1)*Math.pow(2,f),u=0));f>=8;r[s+C]=b&255,C+=M,b/=256,f-=8);for(u=u<0;r[s+C]=u&255,C+=M,u/=256,S-=8);r[s+C-M]|=D*128}},1152:function(d,m,r){d.exports=u;var t=r(3440),s=r(7774),n=r(9298);function f(b,h){this._controllerNames=Object.keys(b),this._controllerList=this._controllerNames.map(function(S){return b[S]}),this._mode=h,this._active=b[h],this._active||(this._mode="turntable",this._active=b.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var c=f.prototype;c.flush=function(b){for(var h=this._controllerList,S=0;S"u"?r(5346):WeakMap,s=r(5827),n=r(2944),f=new t;function c(u){var b=f.get(u),h=b&&(b._triangleBuffer.handle||b._triangleBuffer.buffer);if(!h||!u.isBuffer(h)){var S=s(u,new Float32Array([-1,-1,-1,4,4,-1]));b=n(u,[{buffer:S,type:u.FLOAT,size:2}]),b._triangleBuffer=S,f.set(u,b)}b.bind(),u.drawArrays(u.TRIANGLES,0,3),b.unbind()}d.exports=c},8008:function(d,m,r){var t=r(4930);d.exports=s;function s(n,f,c){f=typeof f=="number"?f:1,c=c||": ";var u=n.split(/\r?\n/),b=String(u.length+f-1).length;return u.map(function(h,S){var v=S+f,l=String(v).length,g=t(v,b-l);return g+c+h}).join(` -`)}},2153:function(d,m,r){d.exports=n;var t=r(417);function s(f,c){for(var u=new Array(c+1),b=0;b0?l=l.ushln(v):v<0&&(g=g.ushln(-v)),c(l,g)}},234:function(d,m,r){var t=r(3218);d.exports=s;function s(n){return Array.isArray(n)&&n.length===2&&t(n[0])&&t(n[1])}},4275:function(d,m,r){var t=r(1928);d.exports=s;function s(n){return n.cmp(new t(0))}},9958:function(d,m,r){var t=r(4275);d.exports=s;function s(n){var f=n.length,c=n.words,u=0;if(f===1)u=c[0];else if(f===2)u=c[0]+c[1]*67108864;else for(var b=0;b20?52:u+32}},3218:function(d,m,r){r(1928),d.exports=t;function t(s){return s&&typeof s=="object"&&!!s.words}},5514:function(d,m,r){var t=r(1928),s=r(8362);d.exports=n;function n(f){var c=s.exponent(f);return c<52?new t(f):new t(f*Math.pow(2,52-c)).ushln(c-52)}},8524:function(d,m,r){var t=r(5514),s=r(4275);d.exports=n;function n(f,c){var u=s(f),b=s(c);if(u===0)return[t(0),t(1)];if(b===0)return[t(0),t(0)];b<0&&(f=f.neg(),c=c.neg());var h=f.gcd(c);return h.cmpn(1)?[f.div(h),c.div(h)]:[f,c]}},2813:function(d,m,r){var t=r(1928);d.exports=s;function s(n){return new t(n)}},3962:function(d,m,r){var t=r(8524);d.exports=s;function s(n,f){return t(n[0].mul(f[0]),n[1].mul(f[1]))}},4951:function(d,m,r){var t=r(4275);d.exports=s;function s(n){return t(n[0])*t(n[1])}},4354:function(d,m,r){var t=r(8524);d.exports=s;function s(n,f){return t(n[0].mul(f[1]).sub(n[1].mul(f[0])),n[1].mul(f[1]))}},7999:function(d,m,r){var t=r(9958),s=r(1112);d.exports=n;function n(f){var c=f[0],u=f[1];if(c.cmpn(0)===0)return 0;var b=c.abs().divmod(u.abs()),h=b.div,S=t(h),v=b.mod,l=c.negative!==u.negative?-1:1;if(v.cmpn(0)===0)return l*S;if(S){var g=s(S)+4,C=t(v.ushln(g).divRound(u));return l*(S+C*Math.pow(2,-g))}else{var M=u.bitLength()-v.bitLength()+53,C=t(v.ushln(M).divRound(u));return M<1023?l*C*Math.pow(2,-M):(C*=Math.pow(2,-1023),l*C*Math.pow(2,1023-M))}}},5070:function(d){function m(c,u,b,h,S){for(var v=S+1;h<=S;){var l=h+S>>>1,g=c[l],C=b!==void 0?b(g,u):g-u;C>=0?(v=l,S=l-1):h=l+1}return v}function r(c,u,b,h,S){for(var v=S+1;h<=S;){var l=h+S>>>1,g=c[l],C=b!==void 0?b(g,u):g-u;C>0?(v=l,S=l-1):h=l+1}return v}function t(c,u,b,h,S){for(var v=h-1;h<=S;){var l=h+S>>>1,g=c[l],C=b!==void 0?b(g,u):g-u;C<0?(v=l,h=l+1):S=l-1}return v}function s(c,u,b,h,S){for(var v=h-1;h<=S;){var l=h+S>>>1,g=c[l],C=b!==void 0?b(g,u):g-u;C<=0?(v=l,h=l+1):S=l-1}return v}function n(c,u,b,h,S){for(;h<=S;){var v=h+S>>>1,l=c[v],g=b!==void 0?b(l,u):l-u;if(g===0)return v;g<=0?h=v+1:S=v-1}return-1}function f(c,u,b,h,S,v){return typeof b=="function"?v(c,u,b,h===void 0?0:h|0,S===void 0?c.length-1:S|0):v(c,u,void 0,b===void 0?0:b|0,h===void 0?c.length-1:h|0)}d.exports={ge:function(c,u,b,h,S){return f(c,u,b,h,S,m)},gt:function(c,u,b,h,S){return f(c,u,b,h,S,r)},lt:function(c,u,b,h,S){return f(c,u,b,h,S,t)},le:function(c,u,b,h,S){return f(c,u,b,h,S,s)},eq:function(c,u,b,h,S){return f(c,u,b,h,S,n)}}},2288:function(d,m){"use restrict";var r=32;m.INT_BITS=r,m.INT_MAX=2147483647,m.INT_MIN=-1<0)-(n<0)},m.abs=function(n){var f=n>>r-1;return(n^f)-f},m.min=function(n,f){return f^(n^f)&-(n65535)<<4,n>>>=f,c=(n>255)<<3,n>>>=c,f|=c,c=(n>15)<<2,n>>>=c,f|=c,c=(n>3)<<1,n>>>=c,f|=c,f|n>>1},m.log10=function(n){return n>=1e9?9:n>=1e8?8:n>=1e7?7:n>=1e6?6:n>=1e5?5:n>=1e4?4:n>=1e3?3:n>=100?2:n>=10?1:0},m.popCount=function(n){return n=n-(n>>>1&1431655765),n=(n&858993459)+(n>>>2&858993459),(n+(n>>>4)&252645135)*16843009>>>24};function t(n){var f=32;return n&=-n,n&&f--,n&65535&&(f-=16),n&16711935&&(f-=8),n&252645135&&(f-=4),n&858993459&&(f-=2),n&1431655765&&(f-=1),f}m.countTrailingZeros=t,m.nextPow2=function(n){return n+=n===0,--n,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n+1},m.prevPow2=function(n){return n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n-(n>>>1)},m.parity=function(n){return n^=n>>>16,n^=n>>>8,n^=n>>>4,n&=15,27030>>>n&1};var s=new Array(256);(function(n){for(var f=0;f<256;++f){var c=f,u=f,b=7;for(c>>>=1;c;c>>>=1)u<<=1,u|=c&1,--b;n[f]=u<>>8&255]<<16|s[n>>>16&255]<<8|s[n>>>24&255]},m.interleave2=function(n,f){return n&=65535,n=(n|n<<8)&16711935,n=(n|n<<4)&252645135,n=(n|n<<2)&858993459,n=(n|n<<1)&1431655765,f&=65535,f=(f|f<<8)&16711935,f=(f|f<<4)&252645135,f=(f|f<<2)&858993459,f=(f|f<<1)&1431655765,n|f<<1},m.deinterleave2=function(n,f){return n=n>>>f&1431655765,n=(n|n>>>1)&858993459,n=(n|n>>>2)&252645135,n=(n|n>>>4)&16711935,n=(n|n>>>16)&65535,n<<16>>16},m.interleave3=function(n,f,c){return n&=1023,n=(n|n<<16)&4278190335,n=(n|n<<8)&251719695,n=(n|n<<4)&3272356035,n=(n|n<<2)&1227133513,f&=1023,f=(f|f<<16)&4278190335,f=(f|f<<8)&251719695,f=(f|f<<4)&3272356035,f=(f|f<<2)&1227133513,n|=f<<1,c&=1023,c=(c|c<<16)&4278190335,c=(c|c<<8)&251719695,c=(c|c<<4)&3272356035,c=(c|c<<2)&1227133513,n|c<<2},m.deinterleave3=function(n,f){return n=n>>>f&1227133513,n=(n|n>>>2)&3272356035,n=(n|n>>>4)&251719695,n=(n|n>>>8)&4278190335,n=(n|n>>>16)&1023,n<<22>>22},m.nextCombination=function(n){var f=n|n-1;return f+1|(~f&-~f)-1>>>t(n)+1}},1928:function(d,m,r){d=r.nmd(d),function(t,s){function n(V,N){if(!V)throw new Error(N||"Assertion failed")}function f(V,N){V.super_=N;var W=function(){};W.prototype=N.prototype,V.prototype=new W,V.prototype.constructor=V}function c(V,N,W){if(c.isBN(V))return V;this.negative=0,this.words=null,this.length=0,this.red=null,V!==null&&((N==="le"||N==="be")&&(W=N,N=10),this._init(V||0,N||10,W||"be"))}typeof t=="object"?t.exports=c:s.BN=c,c.BN=c,c.wordSize=26;var u;try{typeof window<"u"&&typeof window.Buffer<"u"?u=window.Buffer:u=r(6601).Buffer}catch{}c.isBN=function(N){return N instanceof c?!0:N!==null&&typeof N=="object"&&N.constructor.wordSize===c.wordSize&&Array.isArray(N.words)},c.max=function(N,W){return N.cmp(W)>0?N:W},c.min=function(N,W){return N.cmp(W)<0?N:W},c.prototype._init=function(N,W,j){if(typeof N=="number")return this._initNumber(N,W,j);if(typeof N=="object")return this._initArray(N,W,j);W==="hex"&&(W=16),n(W===(W|0)&&W>=2&&W<=36),N=N.toString().replace(/\s+/g,"");var Q=0;N[0]==="-"&&(Q++,this.negative=1),Q=0;Q-=3)ue=N[Q]|N[Q-1]<<8|N[Q-2]<<16,this.words[ie]|=ue<>>26-pe&67108863,pe+=24,pe>=26&&(pe-=26,ie++);else if(j==="le")for(Q=0,ie=0;Q>>26-pe&67108863,pe+=24,pe>=26&&(pe-=26,ie++);return this.strip()};function b(V,N){var W=V.charCodeAt(N);return W>=65&&W<=70?W-55:W>=97&&W<=102?W-87:W-48&15}function h(V,N,W){var j=b(V,W);return W-1>=N&&(j|=b(V,W-1)<<4),j}c.prototype._parseHex=function(N,W,j){this.length=Math.ceil((N.length-W)/6),this.words=new Array(this.length);for(var Q=0;Q=W;Q-=2)pe=h(N,W,Q)<=18?(ie-=18,ue+=1,this.words[ue]|=pe>>>26):ie+=8;else{var q=N.length-W;for(Q=q%2===0?W+1:W;Q=18?(ie-=18,ue+=1,this.words[ue]|=pe>>>26):ie+=8}this.strip()};function S(V,N,W,j){for(var Q=0,ie=Math.min(V.length,W),ue=N;ue=49?Q+=pe-49+10:pe>=17?Q+=pe-17+10:Q+=pe}return Q}c.prototype._parseBase=function(N,W,j){this.words=[0],this.length=1;for(var Q=0,ie=1;ie<=67108863;ie*=W)Q++;Q--,ie=ie/W|0;for(var ue=N.length-j,pe=ue%Q,q=Math.min(ue,ue-pe)+j,X=0,K=j;K1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},c.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],g=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];c.prototype.toString=function(N,W){N=N||10,W=W|0||1;var j;if(N===16||N==="hex"){j="";for(var Q=0,ie=0,ue=0;ue>>24-Q&16777215,ie!==0||ue!==this.length-1?j=v[6-q.length]+q+j:j=q+j,Q+=2,Q>=26&&(Q-=26,ue--)}for(ie!==0&&(j=ie.toString(16)+j);j.length%W!==0;)j="0"+j;return this.negative!==0&&(j="-"+j),j}if(N===(N|0)&&N>=2&&N<=36){var X=l[N],K=g[N];j="";var J=this.clone();for(J.negative=0;!J.isZero();){var re=J.modn(K).toString(N);J=J.idivn(K),J.isZero()?j=re+j:j=v[X-re.length]+re+j}for(this.isZero()&&(j="0"+j);j.length%W!==0;)j="0"+j;return this.negative!==0&&(j="-"+j),j}n(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var N=this.words[0];return this.length===2?N+=this.words[1]*67108864:this.length===3&&this.words[2]===1?N+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-N:N},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(N,W){return n(typeof u<"u"),this.toArrayLike(u,N,W)},c.prototype.toArray=function(N,W){return this.toArrayLike(Array,N,W)},c.prototype.toArrayLike=function(N,W,j){var Q=this.byteLength(),ie=j||Math.max(1,Q);n(Q<=ie,"byte array longer than desired length"),n(ie>0,"Requested array length <= 0"),this.strip();var ue=W==="le",pe=new N(ie),q,X,K=this.clone();if(ue){for(X=0;!K.isZero();X++)q=K.andln(255),K.iushrn(8),pe[X]=q;for(;X=4096&&(j+=13,W>>>=13),W>=64&&(j+=7,W>>>=7),W>=8&&(j+=4,W>>>=4),W>=2&&(j+=2,W>>>=2),j+W},c.prototype._zeroBits=function(N){if(N===0)return 26;var W=N,j=0;return W&8191||(j+=13,W>>>=13),W&127||(j+=7,W>>>=7),W&15||(j+=4,W>>>=4),W&3||(j+=2,W>>>=2),W&1||j++,j},c.prototype.bitLength=function(){var N=this.words[this.length-1],W=this._countBits(N);return(this.length-1)*26+W};function C(V){for(var N=new Array(V.bitLength()),W=0;W>>Q}return N}c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var N=0,W=0;WN.length?this.clone().ior(N):N.clone().ior(this)},c.prototype.uor=function(N){return this.length>N.length?this.clone().iuor(N):N.clone().iuor(this)},c.prototype.iuand=function(N){var W;this.length>N.length?W=N:W=this;for(var j=0;jN.length?this.clone().iand(N):N.clone().iand(this)},c.prototype.uand=function(N){return this.length>N.length?this.clone().iuand(N):N.clone().iuand(this)},c.prototype.iuxor=function(N){var W,j;this.length>N.length?(W=this,j=N):(W=N,j=this);for(var Q=0;QN.length?this.clone().ixor(N):N.clone().ixor(this)},c.prototype.uxor=function(N){return this.length>N.length?this.clone().iuxor(N):N.clone().iuxor(this)},c.prototype.inotn=function(N){n(typeof N=="number"&&N>=0);var W=Math.ceil(N/26)|0,j=N%26;this._expand(W),j>0&&W--;for(var Q=0;Q0&&(this.words[Q]=~this.words[Q]&67108863>>26-j),this.strip()},c.prototype.notn=function(N){return this.clone().inotn(N)},c.prototype.setn=function(N,W){n(typeof N=="number"&&N>=0);var j=N/26|0,Q=N%26;return this._expand(j+1),W?this.words[j]=this.words[j]|1<N.length?(j=this,Q=N):(j=N,Q=this);for(var ie=0,ue=0;ue>>26;for(;ie!==0&&ue>>26;if(this.length=j.length,ie!==0)this.words[this.length]=ie,this.length++;else if(j!==this)for(;ueN.length?this.clone().iadd(N):N.clone().iadd(this)},c.prototype.isub=function(N){if(N.negative!==0){N.negative=0;var W=this.iadd(N);return N.negative=1,W._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(N),this.negative=1,this._normSign();var j=this.cmp(N);if(j===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Q,ie;j>0?(Q=this,ie=N):(Q=N,ie=this);for(var ue=0,pe=0;pe>26,this.words[pe]=W&67108863;for(;ue!==0&&pe>26,this.words[pe]=W&67108863;if(ue===0&&pe>>26,J=q&67108863,re=Math.min(X,N.length-1),fe=Math.max(0,X-V.length+1);fe<=re;fe++){var te=X-fe|0;Q=V.words[te]|0,ie=N.words[fe]|0,ue=Q*ie+J,K+=ue/67108864|0,J=ue&67108863}W.words[X]=J|0,q=K|0}return q!==0?W.words[X]=q|0:W.length--,W.strip()}var D=function(N,W,j){var Q=N.words,ie=W.words,ue=j.words,pe=0,q,X,K,J=Q[0]|0,re=J&8191,fe=J>>>13,te=Q[1]|0,ee=te&8191,ce=te>>>13,le=Q[2]|0,me=le&8191,we=le>>>13,Se=Q[3]|0,Ee=Se&8191,We=Se>>>13,Ye=Q[4]|0,De=Ye&8191,Te=Ye>>>13,Re=Q[5]|0,Xe=Re&8191,Je=Re>>>13,He=Q[6]|0,$e=He&8191,pt=He>>>13,ut=Q[7]|0,lt=ut&8191,ke=ut>>>13,Ne=Q[8]|0,gt=Ne&8191,qe=Ne>>>13,vt=Q[9]|0,Bt=vt&8191,Yt=vt>>>13,it=ie[0]|0,Ue=it&8191,_e=it>>>13,Ze=ie[1]|0,Fe=Ze&8191,Ce=Ze>>>13,ve=ie[2]|0,Ie=ve&8191,Ae=ve>>>13,je=ie[3]|0,ot=je&8191,ct=je>>>13,Et=ie[4]|0,kt=Et&8191,nr=Et>>>13,dr=ie[5]|0,Dt=dr&8191,$t=dr>>>13,vr=ie[6]|0,Pr=vr&8191,Ct=vr>>>13,ir=ie[7]|0,cr=ir&8191,Or=ir>>>13,kr=ie[8]|0,Mt=kr&8191,yt=kr>>>13,Rt=ie[9]|0,wt=Rt&8191,Ut=Rt>>>13;j.negative=N.negative^W.negative,j.length=19,q=Math.imul(re,Ue),X=Math.imul(re,_e),X=X+Math.imul(fe,Ue)|0,K=Math.imul(fe,_e);var Ht=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,q=Math.imul(ee,Ue),X=Math.imul(ee,_e),X=X+Math.imul(ce,Ue)|0,K=Math.imul(ce,_e),q=q+Math.imul(re,Fe)|0,X=X+Math.imul(re,Ce)|0,X=X+Math.imul(fe,Fe)|0,K=K+Math.imul(fe,Ce)|0;var Qt=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,q=Math.imul(me,Ue),X=Math.imul(me,_e),X=X+Math.imul(we,Ue)|0,K=Math.imul(we,_e),q=q+Math.imul(ee,Fe)|0,X=X+Math.imul(ee,Ce)|0,X=X+Math.imul(ce,Fe)|0,K=K+Math.imul(ce,Ce)|0,q=q+Math.imul(re,Ie)|0,X=X+Math.imul(re,Ae)|0,X=X+Math.imul(fe,Ie)|0,K=K+Math.imul(fe,Ae)|0;var qt=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(qt>>>26)|0,qt&=67108863,q=Math.imul(Ee,Ue),X=Math.imul(Ee,_e),X=X+Math.imul(We,Ue)|0,K=Math.imul(We,_e),q=q+Math.imul(me,Fe)|0,X=X+Math.imul(me,Ce)|0,X=X+Math.imul(we,Fe)|0,K=K+Math.imul(we,Ce)|0,q=q+Math.imul(ee,Ie)|0,X=X+Math.imul(ee,Ae)|0,X=X+Math.imul(ce,Ie)|0,K=K+Math.imul(ce,Ae)|0,q=q+Math.imul(re,ot)|0,X=X+Math.imul(re,ct)|0,X=X+Math.imul(fe,ot)|0,K=K+Math.imul(fe,ct)|0;var ur=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(ur>>>26)|0,ur&=67108863,q=Math.imul(De,Ue),X=Math.imul(De,_e),X=X+Math.imul(Te,Ue)|0,K=Math.imul(Te,_e),q=q+Math.imul(Ee,Fe)|0,X=X+Math.imul(Ee,Ce)|0,X=X+Math.imul(We,Fe)|0,K=K+Math.imul(We,Ce)|0,q=q+Math.imul(me,Ie)|0,X=X+Math.imul(me,Ae)|0,X=X+Math.imul(we,Ie)|0,K=K+Math.imul(we,Ae)|0,q=q+Math.imul(ee,ot)|0,X=X+Math.imul(ee,ct)|0,X=X+Math.imul(ce,ot)|0,K=K+Math.imul(ce,ct)|0,q=q+Math.imul(re,kt)|0,X=X+Math.imul(re,nr)|0,X=X+Math.imul(fe,kt)|0,K=K+Math.imul(fe,nr)|0;var Cr=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,q=Math.imul(Xe,Ue),X=Math.imul(Xe,_e),X=X+Math.imul(Je,Ue)|0,K=Math.imul(Je,_e),q=q+Math.imul(De,Fe)|0,X=X+Math.imul(De,Ce)|0,X=X+Math.imul(Te,Fe)|0,K=K+Math.imul(Te,Ce)|0,q=q+Math.imul(Ee,Ie)|0,X=X+Math.imul(Ee,Ae)|0,X=X+Math.imul(We,Ie)|0,K=K+Math.imul(We,Ae)|0,q=q+Math.imul(me,ot)|0,X=X+Math.imul(me,ct)|0,X=X+Math.imul(we,ot)|0,K=K+Math.imul(we,ct)|0,q=q+Math.imul(ee,kt)|0,X=X+Math.imul(ee,nr)|0,X=X+Math.imul(ce,kt)|0,K=K+Math.imul(ce,nr)|0,q=q+Math.imul(re,Dt)|0,X=X+Math.imul(re,$t)|0,X=X+Math.imul(fe,Dt)|0,K=K+Math.imul(fe,$t)|0;var mr=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(mr>>>26)|0,mr&=67108863,q=Math.imul($e,Ue),X=Math.imul($e,_e),X=X+Math.imul(pt,Ue)|0,K=Math.imul(pt,_e),q=q+Math.imul(Xe,Fe)|0,X=X+Math.imul(Xe,Ce)|0,X=X+Math.imul(Je,Fe)|0,K=K+Math.imul(Je,Ce)|0,q=q+Math.imul(De,Ie)|0,X=X+Math.imul(De,Ae)|0,X=X+Math.imul(Te,Ie)|0,K=K+Math.imul(Te,Ae)|0,q=q+Math.imul(Ee,ot)|0,X=X+Math.imul(Ee,ct)|0,X=X+Math.imul(We,ot)|0,K=K+Math.imul(We,ct)|0,q=q+Math.imul(me,kt)|0,X=X+Math.imul(me,nr)|0,X=X+Math.imul(we,kt)|0,K=K+Math.imul(we,nr)|0,q=q+Math.imul(ee,Dt)|0,X=X+Math.imul(ee,$t)|0,X=X+Math.imul(ce,Dt)|0,K=K+Math.imul(ce,$t)|0,q=q+Math.imul(re,Pr)|0,X=X+Math.imul(re,Ct)|0,X=X+Math.imul(fe,Pr)|0,K=K+Math.imul(fe,Ct)|0;var Fr=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,q=Math.imul(lt,Ue),X=Math.imul(lt,_e),X=X+Math.imul(ke,Ue)|0,K=Math.imul(ke,_e),q=q+Math.imul($e,Fe)|0,X=X+Math.imul($e,Ce)|0,X=X+Math.imul(pt,Fe)|0,K=K+Math.imul(pt,Ce)|0,q=q+Math.imul(Xe,Ie)|0,X=X+Math.imul(Xe,Ae)|0,X=X+Math.imul(Je,Ie)|0,K=K+Math.imul(Je,Ae)|0,q=q+Math.imul(De,ot)|0,X=X+Math.imul(De,ct)|0,X=X+Math.imul(Te,ot)|0,K=K+Math.imul(Te,ct)|0,q=q+Math.imul(Ee,kt)|0,X=X+Math.imul(Ee,nr)|0,X=X+Math.imul(We,kt)|0,K=K+Math.imul(We,nr)|0,q=q+Math.imul(me,Dt)|0,X=X+Math.imul(me,$t)|0,X=X+Math.imul(we,Dt)|0,K=K+Math.imul(we,$t)|0,q=q+Math.imul(ee,Pr)|0,X=X+Math.imul(ee,Ct)|0,X=X+Math.imul(ce,Pr)|0,K=K+Math.imul(ce,Ct)|0,q=q+Math.imul(re,cr)|0,X=X+Math.imul(re,Or)|0,X=X+Math.imul(fe,cr)|0,K=K+Math.imul(fe,Or)|0;var tt=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(tt>>>26)|0,tt&=67108863,q=Math.imul(gt,Ue),X=Math.imul(gt,_e),X=X+Math.imul(qe,Ue)|0,K=Math.imul(qe,_e),q=q+Math.imul(lt,Fe)|0,X=X+Math.imul(lt,Ce)|0,X=X+Math.imul(ke,Fe)|0,K=K+Math.imul(ke,Ce)|0,q=q+Math.imul($e,Ie)|0,X=X+Math.imul($e,Ae)|0,X=X+Math.imul(pt,Ie)|0,K=K+Math.imul(pt,Ae)|0,q=q+Math.imul(Xe,ot)|0,X=X+Math.imul(Xe,ct)|0,X=X+Math.imul(Je,ot)|0,K=K+Math.imul(Je,ct)|0,q=q+Math.imul(De,kt)|0,X=X+Math.imul(De,nr)|0,X=X+Math.imul(Te,kt)|0,K=K+Math.imul(Te,nr)|0,q=q+Math.imul(Ee,Dt)|0,X=X+Math.imul(Ee,$t)|0,X=X+Math.imul(We,Dt)|0,K=K+Math.imul(We,$t)|0,q=q+Math.imul(me,Pr)|0,X=X+Math.imul(me,Ct)|0,X=X+Math.imul(we,Pr)|0,K=K+Math.imul(we,Ct)|0,q=q+Math.imul(ee,cr)|0,X=X+Math.imul(ee,Or)|0,X=X+Math.imul(ce,cr)|0,K=K+Math.imul(ce,Or)|0,q=q+Math.imul(re,Mt)|0,X=X+Math.imul(re,yt)|0,X=X+Math.imul(fe,Mt)|0,K=K+Math.imul(fe,yt)|0;var et=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(et>>>26)|0,et&=67108863,q=Math.imul(Bt,Ue),X=Math.imul(Bt,_e),X=X+Math.imul(Yt,Ue)|0,K=Math.imul(Yt,_e),q=q+Math.imul(gt,Fe)|0,X=X+Math.imul(gt,Ce)|0,X=X+Math.imul(qe,Fe)|0,K=K+Math.imul(qe,Ce)|0,q=q+Math.imul(lt,Ie)|0,X=X+Math.imul(lt,Ae)|0,X=X+Math.imul(ke,Ie)|0,K=K+Math.imul(ke,Ae)|0,q=q+Math.imul($e,ot)|0,X=X+Math.imul($e,ct)|0,X=X+Math.imul(pt,ot)|0,K=K+Math.imul(pt,ct)|0,q=q+Math.imul(Xe,kt)|0,X=X+Math.imul(Xe,nr)|0,X=X+Math.imul(Je,kt)|0,K=K+Math.imul(Je,nr)|0,q=q+Math.imul(De,Dt)|0,X=X+Math.imul(De,$t)|0,X=X+Math.imul(Te,Dt)|0,K=K+Math.imul(Te,$t)|0,q=q+Math.imul(Ee,Pr)|0,X=X+Math.imul(Ee,Ct)|0,X=X+Math.imul(We,Pr)|0,K=K+Math.imul(We,Ct)|0,q=q+Math.imul(me,cr)|0,X=X+Math.imul(me,Or)|0,X=X+Math.imul(we,cr)|0,K=K+Math.imul(we,Or)|0,q=q+Math.imul(ee,Mt)|0,X=X+Math.imul(ee,yt)|0,X=X+Math.imul(ce,Mt)|0,K=K+Math.imul(ce,yt)|0,q=q+Math.imul(re,wt)|0,X=X+Math.imul(re,Ut)|0,X=X+Math.imul(fe,wt)|0,K=K+Math.imul(fe,Ut)|0;var Wt=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,q=Math.imul(Bt,Fe),X=Math.imul(Bt,Ce),X=X+Math.imul(Yt,Fe)|0,K=Math.imul(Yt,Ce),q=q+Math.imul(gt,Ie)|0,X=X+Math.imul(gt,Ae)|0,X=X+Math.imul(qe,Ie)|0,K=K+Math.imul(qe,Ae)|0,q=q+Math.imul(lt,ot)|0,X=X+Math.imul(lt,ct)|0,X=X+Math.imul(ke,ot)|0,K=K+Math.imul(ke,ct)|0,q=q+Math.imul($e,kt)|0,X=X+Math.imul($e,nr)|0,X=X+Math.imul(pt,kt)|0,K=K+Math.imul(pt,nr)|0,q=q+Math.imul(Xe,Dt)|0,X=X+Math.imul(Xe,$t)|0,X=X+Math.imul(Je,Dt)|0,K=K+Math.imul(Je,$t)|0,q=q+Math.imul(De,Pr)|0,X=X+Math.imul(De,Ct)|0,X=X+Math.imul(Te,Pr)|0,K=K+Math.imul(Te,Ct)|0,q=q+Math.imul(Ee,cr)|0,X=X+Math.imul(Ee,Or)|0,X=X+Math.imul(We,cr)|0,K=K+Math.imul(We,Or)|0,q=q+Math.imul(me,Mt)|0,X=X+Math.imul(me,yt)|0,X=X+Math.imul(we,Mt)|0,K=K+Math.imul(we,yt)|0,q=q+Math.imul(ee,wt)|0,X=X+Math.imul(ee,Ut)|0,X=X+Math.imul(ce,wt)|0,K=K+Math.imul(ce,Ut)|0;var Gt=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,q=Math.imul(Bt,Ie),X=Math.imul(Bt,Ae),X=X+Math.imul(Yt,Ie)|0,K=Math.imul(Yt,Ae),q=q+Math.imul(gt,ot)|0,X=X+Math.imul(gt,ct)|0,X=X+Math.imul(qe,ot)|0,K=K+Math.imul(qe,ct)|0,q=q+Math.imul(lt,kt)|0,X=X+Math.imul(lt,nr)|0,X=X+Math.imul(ke,kt)|0,K=K+Math.imul(ke,nr)|0,q=q+Math.imul($e,Dt)|0,X=X+Math.imul($e,$t)|0,X=X+Math.imul(pt,Dt)|0,K=K+Math.imul(pt,$t)|0,q=q+Math.imul(Xe,Pr)|0,X=X+Math.imul(Xe,Ct)|0,X=X+Math.imul(Je,Pr)|0,K=K+Math.imul(Je,Ct)|0,q=q+Math.imul(De,cr)|0,X=X+Math.imul(De,Or)|0,X=X+Math.imul(Te,cr)|0,K=K+Math.imul(Te,Or)|0,q=q+Math.imul(Ee,Mt)|0,X=X+Math.imul(Ee,yt)|0,X=X+Math.imul(We,Mt)|0,K=K+Math.imul(We,yt)|0,q=q+Math.imul(me,wt)|0,X=X+Math.imul(me,Ut)|0,X=X+Math.imul(we,wt)|0,K=K+Math.imul(we,Ut)|0;var or=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(or>>>26)|0,or&=67108863,q=Math.imul(Bt,ot),X=Math.imul(Bt,ct),X=X+Math.imul(Yt,ot)|0,K=Math.imul(Yt,ct),q=q+Math.imul(gt,kt)|0,X=X+Math.imul(gt,nr)|0,X=X+Math.imul(qe,kt)|0,K=K+Math.imul(qe,nr)|0,q=q+Math.imul(lt,Dt)|0,X=X+Math.imul(lt,$t)|0,X=X+Math.imul(ke,Dt)|0,K=K+Math.imul(ke,$t)|0,q=q+Math.imul($e,Pr)|0,X=X+Math.imul($e,Ct)|0,X=X+Math.imul(pt,Pr)|0,K=K+Math.imul(pt,Ct)|0,q=q+Math.imul(Xe,cr)|0,X=X+Math.imul(Xe,Or)|0,X=X+Math.imul(Je,cr)|0,K=K+Math.imul(Je,Or)|0,q=q+Math.imul(De,Mt)|0,X=X+Math.imul(De,yt)|0,X=X+Math.imul(Te,Mt)|0,K=K+Math.imul(Te,yt)|0,q=q+Math.imul(Ee,wt)|0,X=X+Math.imul(Ee,Ut)|0,X=X+Math.imul(We,wt)|0,K=K+Math.imul(We,Ut)|0;var wr=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(wr>>>26)|0,wr&=67108863,q=Math.imul(Bt,kt),X=Math.imul(Bt,nr),X=X+Math.imul(Yt,kt)|0,K=Math.imul(Yt,nr),q=q+Math.imul(gt,Dt)|0,X=X+Math.imul(gt,$t)|0,X=X+Math.imul(qe,Dt)|0,K=K+Math.imul(qe,$t)|0,q=q+Math.imul(lt,Pr)|0,X=X+Math.imul(lt,Ct)|0,X=X+Math.imul(ke,Pr)|0,K=K+Math.imul(ke,Ct)|0,q=q+Math.imul($e,cr)|0,X=X+Math.imul($e,Or)|0,X=X+Math.imul(pt,cr)|0,K=K+Math.imul(pt,Or)|0,q=q+Math.imul(Xe,Mt)|0,X=X+Math.imul(Xe,yt)|0,X=X+Math.imul(Je,Mt)|0,K=K+Math.imul(Je,yt)|0,q=q+Math.imul(De,wt)|0,X=X+Math.imul(De,Ut)|0,X=X+Math.imul(Te,wt)|0,K=K+Math.imul(Te,Ut)|0;var Tr=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,q=Math.imul(Bt,Dt),X=Math.imul(Bt,$t),X=X+Math.imul(Yt,Dt)|0,K=Math.imul(Yt,$t),q=q+Math.imul(gt,Pr)|0,X=X+Math.imul(gt,Ct)|0,X=X+Math.imul(qe,Pr)|0,K=K+Math.imul(qe,Ct)|0,q=q+Math.imul(lt,cr)|0,X=X+Math.imul(lt,Or)|0,X=X+Math.imul(ke,cr)|0,K=K+Math.imul(ke,Or)|0,q=q+Math.imul($e,Mt)|0,X=X+Math.imul($e,yt)|0,X=X+Math.imul(pt,Mt)|0,K=K+Math.imul(pt,yt)|0,q=q+Math.imul(Xe,wt)|0,X=X+Math.imul(Xe,Ut)|0,X=X+Math.imul(Je,wt)|0,K=K+Math.imul(Je,Ut)|0;var br=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(br>>>26)|0,br&=67108863,q=Math.imul(Bt,Pr),X=Math.imul(Bt,Ct),X=X+Math.imul(Yt,Pr)|0,K=Math.imul(Yt,Ct),q=q+Math.imul(gt,cr)|0,X=X+Math.imul(gt,Or)|0,X=X+Math.imul(qe,cr)|0,K=K+Math.imul(qe,Or)|0,q=q+Math.imul(lt,Mt)|0,X=X+Math.imul(lt,yt)|0,X=X+Math.imul(ke,Mt)|0,K=K+Math.imul(ke,yt)|0,q=q+Math.imul($e,wt)|0,X=X+Math.imul($e,Ut)|0,X=X+Math.imul(pt,wt)|0,K=K+Math.imul(pt,Ut)|0;var Kt=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,q=Math.imul(Bt,cr),X=Math.imul(Bt,Or),X=X+Math.imul(Yt,cr)|0,K=Math.imul(Yt,Or),q=q+Math.imul(gt,Mt)|0,X=X+Math.imul(gt,yt)|0,X=X+Math.imul(qe,Mt)|0,K=K+Math.imul(qe,yt)|0,q=q+Math.imul(lt,wt)|0,X=X+Math.imul(lt,Ut)|0,X=X+Math.imul(ke,wt)|0,K=K+Math.imul(ke,Ut)|0;var Ir=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,q=Math.imul(Bt,Mt),X=Math.imul(Bt,yt),X=X+Math.imul(Yt,Mt)|0,K=Math.imul(Yt,yt),q=q+Math.imul(gt,wt)|0,X=X+Math.imul(gt,Ut)|0,X=X+Math.imul(qe,wt)|0,K=K+Math.imul(qe,Ut)|0;var Lr=(pe+q|0)+((X&8191)<<13)|0;pe=(K+(X>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,q=Math.imul(Bt,wt),X=Math.imul(Bt,Ut),X=X+Math.imul(Yt,wt)|0,K=Math.imul(Yt,Ut);var Br=(pe+q|0)+((X&8191)<<13)|0;return pe=(K+(X>>>13)|0)+(Br>>>26)|0,Br&=67108863,ue[0]=Ht,ue[1]=Qt,ue[2]=qt,ue[3]=ur,ue[4]=Cr,ue[5]=mr,ue[6]=Fr,ue[7]=tt,ue[8]=et,ue[9]=Wt,ue[10]=Gt,ue[11]=or,ue[12]=wr,ue[13]=Tr,ue[14]=br,ue[15]=Kt,ue[16]=Ir,ue[17]=Lr,ue[18]=Br,pe!==0&&(ue[19]=pe,j.length++),j};Math.imul||(D=M);function T(V,N,W){W.negative=N.negative^V.negative,W.length=V.length+N.length;for(var j=0,Q=0,ie=0;ie>>26)|0,Q+=ue>>>26,ue&=67108863}W.words[ie]=pe,j=ue,ue=Q}return j!==0?W.words[ie]=j:W.length--,W.strip()}function P(V,N,W){var j=new A;return j.mulp(V,N,W)}c.prototype.mulTo=function(N,W){var j,Q=this.length+N.length;return this.length===10&&N.length===10?j=D(this,N,W):Q<63?j=M(this,N,W):Q<1024?j=T(this,N,W):j=P(this,N,W),j};function A(V,N){this.x=V,this.y=N}A.prototype.makeRBT=function(N){for(var W=new Array(N),j=c.prototype._countBits(N)-1,Q=0;Q>=1;return Q},A.prototype.permute=function(N,W,j,Q,ie,ue){for(var pe=0;pe>>1)ie++;return 1<>>13,j[2*ue+1]=ie&8191,ie=ie>>>13;for(ue=2*W;ue>=26,W+=Q/67108864|0,W+=ie>>>26,this.words[j]=ie&67108863}return W!==0&&(this.words[j]=W,this.length++),this},c.prototype.muln=function(N){return this.clone().imuln(N)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(N){var W=C(N);if(W.length===0)return new c(1);for(var j=this,Q=0;Q=0);var W=N%26,j=(N-W)/26,Q=67108863>>>26-W<<26-W,ie;if(W!==0){var ue=0;for(ie=0;ie>>26-W}ue&&(this.words[ie]=ue,this.length++)}if(j!==0){for(ie=this.length-1;ie>=0;ie--)this.words[ie+j]=this.words[ie];for(ie=0;ie=0);var Q;W?Q=(W-W%26)/26:Q=0;var ie=N%26,ue=Math.min((N-ie)/26,this.length),pe=67108863^67108863>>>ie<ue)for(this.length-=ue,X=0;X=0&&(K!==0||X>=Q);X--){var J=this.words[X]|0;this.words[X]=K<<26-ie|J>>>ie,K=J&pe}return q&&K!==0&&(q.words[q.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(N,W,j){return n(this.negative===0),this.iushrn(N,W,j)},c.prototype.shln=function(N){return this.clone().ishln(N)},c.prototype.ushln=function(N){return this.clone().iushln(N)},c.prototype.shrn=function(N){return this.clone().ishrn(N)},c.prototype.ushrn=function(N){return this.clone().iushrn(N)},c.prototype.testn=function(N){n(typeof N=="number"&&N>=0);var W=N%26,j=(N-W)/26,Q=1<=0);var W=N%26,j=(N-W)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=j)return this;if(W!==0&&j++,this.length=Math.min(j,this.length),W!==0){var Q=67108863^67108863>>>W<=67108864;W++)this.words[W]-=67108864,W===this.length-1?this.words[W+1]=1:this.words[W+1]++;return this.length=Math.max(this.length,W+1),this},c.prototype.isubn=function(N){if(n(typeof N=="number"),n(N<67108864),N<0)return this.iaddn(-N);if(this.negative!==0)return this.negative=0,this.iaddn(N),this.negative=1,this;if(this.words[0]-=N,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var W=0;W>26)-(q/67108864|0),this.words[ie+j]=ue&67108863}for(;ie>26,this.words[ie+j]=ue&67108863;if(pe===0)return this.strip();for(n(pe===-1),pe=0,ie=0;ie>26,this.words[ie]=ue&67108863;return this.negative=1,this.strip()},c.prototype._wordDiv=function(N,W){var j=this.length-N.length,Q=this.clone(),ie=N,ue=ie.words[ie.length-1]|0,pe=this._countBits(ue);j=26-pe,j!==0&&(ie=ie.ushln(j),Q.iushln(j),ue=ie.words[ie.length-1]|0);var q=Q.length-ie.length,X;if(W!=="mod"){X=new c(null),X.length=q+1,X.words=new Array(X.length);for(var K=0;K=0;re--){var fe=(Q.words[ie.length+re]|0)*67108864+(Q.words[ie.length+re-1]|0);for(fe=Math.min(fe/ue|0,67108863),Q._ishlnsubmul(ie,fe,re);Q.negative!==0;)fe--,Q.negative=0,Q._ishlnsubmul(ie,1,re),Q.isZero()||(Q.negative^=1);X&&(X.words[re]=fe)}return X&&X.strip(),Q.strip(),W!=="div"&&j!==0&&Q.iushrn(j),{div:X||null,mod:Q}},c.prototype.divmod=function(N,W,j){if(n(!N.isZero()),this.isZero())return{div:new c(0),mod:new c(0)};var Q,ie,ue;return this.negative!==0&&N.negative===0?(ue=this.neg().divmod(N,W),W!=="mod"&&(Q=ue.div.neg()),W!=="div"&&(ie=ue.mod.neg(),j&&ie.negative!==0&&ie.iadd(N)),{div:Q,mod:ie}):this.negative===0&&N.negative!==0?(ue=this.divmod(N.neg(),W),W!=="mod"&&(Q=ue.div.neg()),{div:Q,mod:ue.mod}):this.negative&N.negative?(ue=this.neg().divmod(N.neg(),W),W!=="div"&&(ie=ue.mod.neg(),j&&ie.negative!==0&&ie.isub(N)),{div:ue.div,mod:ie}):N.length>this.length||this.cmp(N)<0?{div:new c(0),mod:this}:N.length===1?W==="div"?{div:this.divn(N.words[0]),mod:null}:W==="mod"?{div:null,mod:new c(this.modn(N.words[0]))}:{div:this.divn(N.words[0]),mod:new c(this.modn(N.words[0]))}:this._wordDiv(N,W)},c.prototype.div=function(N){return this.divmod(N,"div",!1).div},c.prototype.mod=function(N){return this.divmod(N,"mod",!1).mod},c.prototype.umod=function(N){return this.divmod(N,"mod",!0).mod},c.prototype.divRound=function(N){var W=this.divmod(N);if(W.mod.isZero())return W.div;var j=W.div.negative!==0?W.mod.isub(N):W.mod,Q=N.ushrn(1),ie=N.andln(1),ue=j.cmp(Q);return ue<0||ie===1&&ue===0?W.div:W.div.negative!==0?W.div.isubn(1):W.div.iaddn(1)},c.prototype.modn=function(N){n(N<=67108863);for(var W=(1<<26)%N,j=0,Q=this.length-1;Q>=0;Q--)j=(W*j+(this.words[Q]|0))%N;return j},c.prototype.idivn=function(N){n(N<=67108863);for(var W=0,j=this.length-1;j>=0;j--){var Q=(this.words[j]|0)+W*67108864;this.words[j]=Q/N|0,W=Q%N}return this.strip()},c.prototype.divn=function(N){return this.clone().idivn(N)},c.prototype.egcd=function(N){n(N.negative===0),n(!N.isZero());var W=this,j=N.clone();W.negative!==0?W=W.umod(N):W=W.clone();for(var Q=new c(1),ie=new c(0),ue=new c(0),pe=new c(1),q=0;W.isEven()&&j.isEven();)W.iushrn(1),j.iushrn(1),++q;for(var X=j.clone(),K=W.clone();!W.isZero();){for(var J=0,re=1;!(W.words[0]&re)&&J<26;++J,re<<=1);if(J>0)for(W.iushrn(J);J-- >0;)(Q.isOdd()||ie.isOdd())&&(Q.iadd(X),ie.isub(K)),Q.iushrn(1),ie.iushrn(1);for(var fe=0,te=1;!(j.words[0]&te)&&fe<26;++fe,te<<=1);if(fe>0)for(j.iushrn(fe);fe-- >0;)(ue.isOdd()||pe.isOdd())&&(ue.iadd(X),pe.isub(K)),ue.iushrn(1),pe.iushrn(1);W.cmp(j)>=0?(W.isub(j),Q.isub(ue),ie.isub(pe)):(j.isub(W),ue.isub(Q),pe.isub(ie))}return{a:ue,b:pe,gcd:j.iushln(q)}},c.prototype._invmp=function(N){n(N.negative===0),n(!N.isZero());var W=this,j=N.clone();W.negative!==0?W=W.umod(N):W=W.clone();for(var Q=new c(1),ie=new c(0),ue=j.clone();W.cmpn(1)>0&&j.cmpn(1)>0;){for(var pe=0,q=1;!(W.words[0]&q)&&pe<26;++pe,q<<=1);if(pe>0)for(W.iushrn(pe);pe-- >0;)Q.isOdd()&&Q.iadd(ue),Q.iushrn(1);for(var X=0,K=1;!(j.words[0]&K)&&X<26;++X,K<<=1);if(X>0)for(j.iushrn(X);X-- >0;)ie.isOdd()&&ie.iadd(ue),ie.iushrn(1);W.cmp(j)>=0?(W.isub(j),Q.isub(ie)):(j.isub(W),ie.isub(Q))}var J;return W.cmpn(1)===0?J=Q:J=ie,J.cmpn(0)<0&&J.iadd(N),J},c.prototype.gcd=function(N){if(this.isZero())return N.abs();if(N.isZero())return this.abs();var W=this.clone(),j=N.clone();W.negative=0,j.negative=0;for(var Q=0;W.isEven()&&j.isEven();Q++)W.iushrn(1),j.iushrn(1);do{for(;W.isEven();)W.iushrn(1);for(;j.isEven();)j.iushrn(1);var ie=W.cmp(j);if(ie<0){var ue=W;W=j,j=ue}else if(ie===0||j.cmpn(1)===0)break;W.isub(j)}while(!0);return j.iushln(Q)},c.prototype.invm=function(N){return this.egcd(N).a.umod(N)},c.prototype.isEven=function(){return(this.words[0]&1)===0},c.prototype.isOdd=function(){return(this.words[0]&1)===1},c.prototype.andln=function(N){return this.words[0]&N},c.prototype.bincn=function(N){n(typeof N=="number");var W=N%26,j=(N-W)/26,Q=1<>>26,pe&=67108863,this.words[ue]=pe}return ie!==0&&(this.words[ue]=ie,this.length++),this},c.prototype.isZero=function(){return this.length===1&&this.words[0]===0},c.prototype.cmpn=function(N){var W=N<0;if(this.negative!==0&&!W)return-1;if(this.negative===0&&W)return 1;this.strip();var j;if(this.length>1)j=1;else{W&&(N=-N),n(N<=67108863,"Number is too big");var Q=this.words[0]|0;j=Q===N?0:QN.length)return 1;if(this.length=0;j--){var Q=this.words[j]|0,ie=N.words[j]|0;if(Q!==ie){Qie&&(W=1);break}}return W},c.prototype.gtn=function(N){return this.cmpn(N)===1},c.prototype.gt=function(N){return this.cmp(N)===1},c.prototype.gten=function(N){return this.cmpn(N)>=0},c.prototype.gte=function(N){return this.cmp(N)>=0},c.prototype.ltn=function(N){return this.cmpn(N)===-1},c.prototype.lt=function(N){return this.cmp(N)===-1},c.prototype.lten=function(N){return this.cmpn(N)<=0},c.prototype.lte=function(N){return this.cmp(N)<=0},c.prototype.eqn=function(N){return this.cmpn(N)===0},c.prototype.eq=function(N){return this.cmp(N)===0},c.red=function(N){return new _(N)},c.prototype.toRed=function(N){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),N.convertTo(this)._forceRed(N)},c.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(N){return this.red=N,this},c.prototype.forceRed=function(N){return n(!this.red,"Already a number in reduction context"),this._forceRed(N)},c.prototype.redAdd=function(N){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,N)},c.prototype.redIAdd=function(N){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,N)},c.prototype.redSub=function(N){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,N)},c.prototype.redISub=function(N){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,N)},c.prototype.redShl=function(N){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,N)},c.prototype.redMul=function(N){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,N),this.red.mul(this,N)},c.prototype.redIMul=function(N){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,N),this.red.imul(this,N)},c.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(N){return n(this.red&&!N.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,N)};var o={k256:null,p224:null,p192:null,p25519:null};function k(V,N){this.name=V,this.p=new c(N,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}k.prototype._tmp=function(){var N=new c(null);return N.words=new Array(Math.ceil(this.n/13)),N},k.prototype.ireduce=function(N){var W=N,j;do this.split(W,this.tmp),W=this.imulK(W),W=W.iadd(this.tmp),j=W.bitLength();while(j>this.n);var Q=j0?W.isub(this.p):W.strip!==void 0?W.strip():W._strip(),W},k.prototype.split=function(N,W){N.iushrn(this.n,0,W)},k.prototype.imulK=function(N){return N.imul(this.k)};function w(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}f(w,k),w.prototype.split=function(N,W){for(var j=4194303,Q=Math.min(N.length,9),ie=0;ie>>22,ue=pe}ue>>>=22,N.words[ie-10]=ue,ue===0&&N.length>10?N.length-=10:N.length-=9},w.prototype.imulK=function(N){N.words[N.length]=0,N.words[N.length+1]=0,N.length+=2;for(var W=0,j=0;j>>=26,N.words[j]=ie,W=Q}return W!==0&&(N.words[N.length++]=W),N},c._prime=function(N){if(o[N])return o[N];var W;if(N==="k256")W=new w;else if(N==="p224")W=new U;else if(N==="p192")W=new F;else if(N==="p25519")W=new G;else throw new Error("Unknown prime "+N);return o[N]=W,W};function _(V){if(typeof V=="string"){var N=c._prime(V);this.m=N.p,this.prime=N}else n(V.gtn(1),"modulus must be greater than 1"),this.m=V,this.prime=null}_.prototype._verify1=function(N){n(N.negative===0,"red works only with positives"),n(N.red,"red works only with red numbers")},_.prototype._verify2=function(N,W){n((N.negative|W.negative)===0,"red works only with positives"),n(N.red&&N.red===W.red,"red works only with red numbers")},_.prototype.imod=function(N){return this.prime?this.prime.ireduce(N)._forceRed(this):N.umod(this.m)._forceRed(this)},_.prototype.neg=function(N){return N.isZero()?N.clone():this.m.sub(N)._forceRed(this)},_.prototype.add=function(N,W){this._verify2(N,W);var j=N.add(W);return j.cmp(this.m)>=0&&j.isub(this.m),j._forceRed(this)},_.prototype.iadd=function(N,W){this._verify2(N,W);var j=N.iadd(W);return j.cmp(this.m)>=0&&j.isub(this.m),j},_.prototype.sub=function(N,W){this._verify2(N,W);var j=N.sub(W);return j.cmpn(0)<0&&j.iadd(this.m),j._forceRed(this)},_.prototype.isub=function(N,W){this._verify2(N,W);var j=N.isub(W);return j.cmpn(0)<0&&j.iadd(this.m),j},_.prototype.shl=function(N,W){return this._verify1(N),this.imod(N.ushln(W))},_.prototype.imul=function(N,W){return this._verify2(N,W),this.imod(N.imul(W))},_.prototype.mul=function(N,W){return this._verify2(N,W),this.imod(N.mul(W))},_.prototype.isqr=function(N){return this.imul(N,N.clone())},_.prototype.sqr=function(N){return this.mul(N,N)},_.prototype.sqrt=function(N){if(N.isZero())return N.clone();var W=this.m.andln(3);if(n(W%2===1),W===3){var j=this.m.add(new c(1)).iushrn(2);return this.pow(N,j)}for(var Q=this.m.subn(1),ie=0;!Q.isZero()&&Q.andln(1)===0;)ie++,Q.iushrn(1);n(!Q.isZero());var ue=new c(1).toRed(this),pe=ue.redNeg(),q=this.m.subn(1).iushrn(1),X=this.m.bitLength();for(X=new c(2*X*X).toRed(this);this.pow(X,q).cmp(pe)!==0;)X.redIAdd(pe);for(var K=this.pow(X,Q),J=this.pow(N,Q.addn(1).iushrn(1)),re=this.pow(N,Q),fe=ie;re.cmp(ue)!==0;){for(var te=re,ee=0;te.cmp(ue)!==0;ee++)te=te.redSqr();n(ee=0;ie--){for(var K=W.words[ie],J=X-1;J>=0;J--){var re=K>>J&1;if(ue!==Q[0]&&(ue=this.sqr(ue)),re===0&&pe===0){q=0;continue}pe<<=1,pe|=re,q++,!(q!==j&&(ie!==0||J!==0))&&(ue=this.mul(ue,Q[pe]),q=0,pe=0)}X=26}return ue},_.prototype.convertTo=function(N){var W=N.umod(this.m);return W===N?W.clone():W},_.prototype.convertFrom=function(N){var W=N.clone();return W.red=null,W},c.mont=function(N){return new H(N)};function H(V){_.call(this,V),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}f(H,_),H.prototype.convertTo=function(N){return this.imod(N.ushln(this.shift))},H.prototype.convertFrom=function(N){var W=this.imod(N.mul(this.rinv));return W.red=null,W},H.prototype.imul=function(N,W){if(N.isZero()||W.isZero())return N.words[0]=0,N.length=1,N;var j=N.imul(W),Q=j.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),ie=j.isub(Q).iushrn(this.shift),ue=ie;return ie.cmp(this.m)>=0?ue=ie.isub(this.m):ie.cmpn(0)<0&&(ue=ie.iadd(this.m)),ue._forceRed(this)},H.prototype.mul=function(N,W){if(N.isZero()||W.isZero())return new c(0)._forceRed(this);var j=N.mul(W),Q=j.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),ie=j.isub(Q).iushrn(this.shift),ue=ie;return ie.cmp(this.m)>=0?ue=ie.isub(this.m):ie.cmpn(0)<0&&(ue=ie.iadd(this.m)),ue._forceRed(this)},H.prototype.invm=function(N){var W=this.imod(N._invmp(this.m).mul(this.r2));return W._forceRed(this)}}(d,this)},2692:function(d){d.exports=m;function m(r){var t,s,n,f=r.length,c=0;for(t=0;t>>1;if(!(A<=0)){var o,k=t.mallocDouble(2*A*T),w=t.mallocInt32(T);if(T=c(g,A,k,w),T>0){if(A===1&&D)s.init(T),o=s.sweepComplete(A,M,0,T,k,w,0,T,k,w);else{var U=t.mallocDouble(2*A*P),F=t.mallocInt32(P);P=c(C,A,U,F),P>0&&(s.init(T+P),A===1?o=s.sweepBipartite(A,M,0,T,k,w,0,P,U,F):o=n(A,M,D,T,k,w,P,U,F),t.free(U),t.free(F))}t.free(k),t.free(w)}return o}}}var b;function h(g,C){b.push([g,C])}function S(g){return b=[],u(g,g,h,!0),b}function v(g,C){return b=[],u(g,C,h,!1),b}function l(g,C,M){switch(arguments.length){case 1:return S(g);case 2:return typeof C=="function"?u(g,g,C,!0):v(g,C);case 3:return u(g,C,M,!1);default:throw new Error("box-intersect: Invalid arguments")}}},7333:function(d,m){function r(){function n(u,b,h,S,v,l,g,C,M,D,T){for(var P=2*u,A=S,o=P*S;AM-C?n(u,b,h,S,v,l,g,C,M,D,T):f(u,b,h,S,v,l,g,C,M,D,T)}return c}function t(){function n(h,S,v,l,g,C,M,D,T,P,A){for(var o=2*h,k=l,w=o*l;kP-T?l?n(h,S,v,g,C,M,D,T,P,A,o):f(h,S,v,g,C,M,D,T,P,A,o):l?c(h,S,v,g,C,M,D,T,P,A,o):u(h,S,v,g,C,M,D,T,P,A,o)}return b}function s(n){return n?r():t()}m.partial=s(!1),m.full=s(!0)},2337:function(d,m,r){d.exports=V;var t=r(5306),s=r(2288),n=r(7333),f=n.partial,c=n.full,u=r(1390),b=r(2464),h=r(122),S=128,v=1<<22,l=1<<22,g=h("!(lo>=p0)&&!(p1>=hi)"),C=h("lo===p0"),M=h("lo0;){K-=1;var fe=K*A,te=w[fe],ee=w[fe+1],ce=w[fe+2],le=w[fe+3],me=w[fe+4],we=w[fe+5],Se=K*o,Ee=U[Se],We=U[Se+1],Ye=we&1,De=!!(we&16),Te=ie,Re=ue,Xe=q,Je=X;if(Ye&&(Te=q,Re=X,Xe=ie,Je=ue),!(we&2&&(ce=M(N,te,ee,ce,Te,Re,We),ee>=ce))&&!(we&4&&(ee=D(N,te,ee,ce,Te,Re,Ee),ee>=ce))){var He=ce-ee,$e=me-le;if(De){if(N*He*(He+$e)h&&v[P+b]>D;--T,P-=g){for(var A=P,o=P+g,k=0;k>>1,D=2*u,T=M,P=v[D*M+b];g=U?(T=w,P=U):k>=G?(T=o,P=k):(T=F,P=G):U>=G?(T=w,P=U):G>=k?(T=o,P=k):(T=F,P=G);for(var V=D*(C-1),N=D*T,_=0;_=p0)&&!(p1>=hi)":b};function r(h){return m[h]}function t(h,S,v,l,g,C,M){for(var D=2*h,T=D*v,P=T,A=v,o=S,k=h+S,w=v;l>w;++w,T+=D){var U=g[T+o];if(U===M)if(A===w)A+=1,P+=D;else{for(var F=0;D>F;++F){var G=g[T+F];g[T+F]=g[P],g[P++]=G}var _=C[w];C[w]=C[A],C[A++]=_}}return A}function s(h,S,v,l,g,C,M){for(var D=2*h,T=D*v,P=T,A=v,o=S,k=h+S,w=v;l>w;++w,T+=D){var U=g[T+o];if(UF;++F){var G=g[T+F];g[T+F]=g[P],g[P++]=G}var _=C[w];C[w]=C[A],C[A++]=_}}return A}function n(h,S,v,l,g,C,M){for(var D=2*h,T=D*v,P=T,A=v,o=S,k=h+S,w=v;l>w;++w,T+=D){var U=g[T+k];if(U<=M)if(A===w)A+=1,P+=D;else{for(var F=0;D>F;++F){var G=g[T+F];g[T+F]=g[P],g[P++]=G}var _=C[w];C[w]=C[A],C[A++]=_}}return A}function f(h,S,v,l,g,C,M){for(var D=2*h,T=D*v,P=T,A=v,o=S,k=h+S,w=v;l>w;++w,T+=D){var U=g[T+k];if(U<=M)if(A===w)A+=1,P+=D;else{for(var F=0;D>F;++F){var G=g[T+F];g[T+F]=g[P],g[P++]=G}var _=C[w];C[w]=C[A],C[A++]=_}}return A}function c(h,S,v,l,g,C,M){for(var D=2*h,T=D*v,P=T,A=v,o=S,k=h+S,w=v;l>w;++w,T+=D){var U=g[T+o],F=g[T+k];if(U<=M&&M<=F)if(A===w)A+=1,P+=D;else{for(var G=0;D>G;++G){var _=g[T+G];g[T+G]=g[P],g[P++]=_}var H=C[w];C[w]=C[A],C[A++]=H}}return A}function u(h,S,v,l,g,C,M){for(var D=2*h,T=D*v,P=T,A=v,o=S,k=h+S,w=v;l>w;++w,T+=D){var U=g[T+o],F=g[T+k];if(UG;++G){var _=g[T+G];g[T+G]=g[P],g[P++]=_}var H=C[w];C[w]=C[A],C[A++]=H}}return A}function b(h,S,v,l,g,C,M,D){for(var T=2*h,P=T*v,A=P,o=v,k=S,w=h+S,U=v;l>U;++U,P+=T){var F=g[P+k],G=g[P+w];if(!(F>=M)&&!(D>=G))if(o===U)o+=1,A+=T;else{for(var _=0;T>_;++_){var H=g[P+_];g[P+_]=g[A],g[A++]=H}var V=C[U];C[U]=C[o],C[o++]=V}}return o}},309:function(d){d.exports=r;var m=32;function r(S,v){v<=4*m?t(0,v-1,S):h(0,v-1,S)}function t(S,v,l){for(var g=2*(S+1),C=S+1;C<=v;++C){for(var M=l[g++],D=l[g++],T=C,P=g-2;T-- >S;){var A=l[P-2],o=l[P-1];if(Al[v+1]:!0}function b(S,v,l,g){S*=2;var C=g[S];return C>1,T=D-g,P=D+g,A=C,o=T,k=D,w=P,U=M,F=S+1,G=v-1,_=0;u(A,o,l)&&(_=A,A=o,o=_),u(w,U,l)&&(_=w,w=U,U=_),u(A,k,l)&&(_=A,A=k,k=_),u(o,k,l)&&(_=o,o=k,k=_),u(A,w,l)&&(_=A,A=w,w=_),u(k,w,l)&&(_=k,k=w,w=_),u(o,U,l)&&(_=o,o=U,U=_),u(o,k,l)&&(_=o,o=k,k=_),u(w,U,l)&&(_=w,w=U,U=_);for(var H=l[2*o],V=l[2*o+1],N=l[2*w],W=l[2*w+1],j=2*A,Q=2*k,ie=2*U,ue=2*C,pe=2*D,q=2*M,X=0;X<2;++X){var K=l[j+X],J=l[Q+X],re=l[ie+X];l[ue+X]=K,l[pe+X]=J,l[q+X]=re}n(T,S,l),n(P,v,l);for(var fe=F;fe<=G;++fe)if(b(fe,H,V,l))fe!==F&&s(fe,F,l),++F;else if(!b(fe,N,W,l))for(;;)if(b(G,N,W,l)){b(G,H,V,l)?(f(fe,F,G,l),++F,--G):(s(fe,G,l),--G);break}else{if(--G>>1;n(g,J);for(var re=0,fe=0,pe=0;pe=f)te=te-f|0,M(h,S,fe--,te);else if(te>=0)M(u,b,re--,te);else if(te<=-f){te=-te-f|0;for(var ee=0;ee>>1;n(g,J);for(var re=0,fe=0,te=0,pe=0;pe>1===g[2*pe+3]>>1&&(ce=2,pe+=1),ee<0){for(var le=-(ee>>1)-1,me=0;me>1)-1;ce===0?M(u,b,re--,le):ce===1?M(h,S,fe--,le):ce===2&&M(v,l,te--,le)}}}function A(k,w,U,F,G,_,H,V,N,W,j,Q){var ie=0,ue=2*k,pe=w,q=w+k,X=1,K=1;F?K=f:X=f;for(var J=G;J<_;++J){var re=J+X,fe=ue*J;g[ie++]=H[fe+pe],g[ie++]=-re,g[ie++]=H[fe+q],g[ie++]=re}for(var J=N;J>>1;n(g,ee);for(var ce=0,J=0;J=f?(me=!F,re-=f):(me=!!F,re-=1),me)D(u,b,ce++,re);else{var we=Q[re],Se=ue*re,Ee=j[Se+w+1],We=j[Se+w+1+k];e:for(var Ye=0;Ye>>1;n(g,re);for(var fe=0,q=0;q=f)u[fe++]=X-f;else{X-=1;var ee=j[X],ce=ie*X,le=W[ce+w+1],me=W[ce+w+1+k];e:for(var we=0;we=0;--we)if(u[we]===X){for(var Ye=we+1;Ye0;){for(var g=u.pop(),S=u.pop(),C=-1,M=-1,v=h[S],T=1;T=0||(c.flip(S,g),s(f,c,u,C,S,M),s(f,c,u,S,M,C),s(f,c,u,M,g,C),s(f,c,u,g,C,M))}}},7098:function(d,m,r){var t=r(5070);d.exports=b;function s(h,S,v,l,g,C,M){this.cells=h,this.neighbor=S,this.flags=l,this.constraint=v,this.active=g,this.next=C,this.boundary=M}var n=s.prototype;function f(h,S){return h[0]-S[0]||h[1]-S[1]||h[2]-S[2]}n.locate=function(){var h=[0,0,0];return function(S,v,l){var g=S,C=v,M=l;return v0||M.length>0;){for(;C.length>0;){var o=C.pop();if(D[o]!==-g){D[o]=g,T[o];for(var k=0;k<3;++k){var w=A[3*o+k];w>=0&&D[w]===0&&(P[3*o+k]?M.push(w):(C.push(w),D[w]=g))}}}var U=M;M=C,C=U,M.length=0,g=-g}var F=u(T,D,S);return v?F.concat(l.boundary):F}},9971:function(d,m,r){var t=r(5070),s=r(417)[3],n=0,f=1,c=2;d.exports=M;function u(D,T,P,A,o){this.a=D,this.b=T,this.idx=P,this.lowerIds=A,this.upperIds=o}function b(D,T,P,A){this.a=D,this.b=T,this.type=P,this.idx=A}function h(D,T){var P=D.a[0]-T.a[0]||D.a[1]-T.a[1]||D.type-T.type;return P||D.type!==n&&(P=s(D.a,D.b,T.b),P)?P:D.idx-T.idx}function S(D,T){return s(D.a,D.b,T)}function v(D,T,P,A,o){for(var k=t.lt(T,A,S),w=t.gt(T,A,S),U=k;U1&&s(P[G[H-2]],P[G[H-1]],A)>0;)D.push([G[H-1],G[H-2],o]),H-=1;G.length=H,G.push(o);for(var _=F.upperIds,H=_.length;H>1&&s(P[_[H-2]],P[_[H-1]],A)<0;)D.push([_[H-2],_[H-1],o]),H-=1;_.length=H,_.push(o)}}function l(D,T){var P;return D.a[0]F[0]&&o.push(new b(F,U,c,k),new b(U,F,f,k))}o.sort(h);for(var G=o[0].a[0]-(1+Math.abs(o[0].a[0]))*Math.pow(2,-52),_=[new u([G,1],[G,0],-1,[],[])],H=[],k=0,V=o.length;k=0}}(),n.removeTriangle=function(u,b,h){var S=this.stars;f(S[u],b,h),f(S[b],h,u),f(S[h],u,b)},n.addTriangle=function(u,b,h){var S=this.stars;S[u].push(b,h),S[b].push(h,u),S[h].push(u,b)},n.opposite=function(u,b){for(var h=this.stars[b],S=1,v=h.length;S=0;--N){var K=H[N];W=K[0];var J=G[W],re=J[0],fe=J[1],te=F[re],ee=F[fe];if((te[0]-ee[0]||te[1]-ee[1])<0){var ce=re;re=fe,fe=ce}J[0]=re;var le=J[1]=K[1],me;for(V&&(me=J[2]);N>0&&H[N-1][0]===W;){var K=H[--N],we=K[1];V?G.push([le,we,me]):G.push([le,we]),le=we}V?G.push([le,fe,me]):G.push([le,fe])}return j}function T(F,G,_){for(var H=G.length,V=new t(H),N=[],W=0;WG[2]?1:0)}function o(F,G,_){if(F.length!==0){if(G)for(var H=0;H0||W.length>0}function U(F,G,_){var H;if(_){H=G;for(var V=new Array(G.length),N=0;ND+1)throw new Error(C+" map requires nshades to be at least size "+g.length);Array.isArray(b.alpha)?b.alpha.length!==2?T=[1,1]:T=b.alpha.slice():typeof b.alpha=="number"?T=[b.alpha,b.alpha]:T=[1,1],h=g.map(function(U){return Math.round(U.index*D)}),T[0]=Math.min(Math.max(T[0],0),1),T[1]=Math.min(Math.max(T[1],0),1);var A=g.map(function(U,F){var G=g[F].index,_=g[F].rgb.slice();return _.length===4&&_[3]>=0&&_[3]<=1||(_[3]=T[0]+(T[1]-T[0])*G),_}),o=[];for(P=0;P=0}function b(h,S,v,l){var g=t(S,v,l);if(g===0){var C=s(t(h,S,v)),M=s(t(h,S,l));if(C===M){if(C===0){var D=u(h,S,v),T=u(h,S,l);return D===T?0:D?1:-1}return 0}else{if(M===0)return C>0||u(h,S,l)?-1:1;if(C===0)return M>0||u(h,S,v)?1:-1}return s(M-C)}var P=t(h,S,v);if(P>0)return g>0&&t(h,S,l)>0?1:-1;if(P<0)return g>0||t(h,S,l)>0?1:-1;var A=t(h,S,l);return A>0||u(h,S,v)?1:-1}},7538:function(d){d.exports=function(r){return r<0?-1:r>0?1:0}},9209:function(d){d.exports=t;var m=Math.min;function r(s,n){return s-n}function t(s,n){var f=s.length,c=s.length-n.length;if(c)return c;switch(f){case 0:return 0;case 1:return s[0]-n[0];case 2:return s[0]+s[1]-n[0]-n[1]||m(s[0],s[1])-m(n[0],n[1]);case 3:var u=s[0]+s[1],b=n[0]+n[1];if(c=u+s[2]-(b+n[2]),c)return c;var h=m(s[0],s[1]),S=m(n[0],n[1]);return m(h,s[2])-m(S,n[2])||m(h+s[2],u)-m(S+n[2],b);case 4:var v=s[0],l=s[1],g=s[2],C=s[3],M=n[0],D=n[1],T=n[2],P=n[3];return v+l+g+C-(M+D+T+P)||m(v,l,g,C)-m(M,D,T,P,M)||m(v+l,v+g,v+C,l+g,l+C,g+C)-m(M+D,M+T,M+P,D+T,D+P,T+P)||m(v+l+g,v+l+C,v+g+C,l+g+C)-m(M+D+T,M+D+P,M+T+P,D+T+P);default:for(var A=s.slice().sort(r),o=n.slice().sort(r),k=0;kr[s][0]&&(s=n);return ts?[[s],[t]]:[[t]]}},8722:function(d,m,r){d.exports=s;var t=r(3266);function s(n){var f=t(n),c=f.length;if(c<=2)return[];for(var u=new Array(c),b=f[c-1],h=0;h=b[M]&&(C+=1);l[g]=C}}return u}function c(u,b){try{return t(u,!0)}catch{var h=s(u);if(h.length<=b)return[];var S=n(u,h),v=t(S,!0);return f(v,h)}}},9680:function(d){function m(t,s,n,f,c,u){var b=6*c*c-6*c,h=3*c*c-4*c+1,S=-6*c*c+6*c,v=3*c*c-2*c;if(t.length){u||(u=new Array(t.length));for(var l=t.length-1;l>=0;--l)u[l]=b*t[l]+h*s[l]+S*n[l]+v*f[l];return u}return b*t+h*s+S*n[l]+v*f}function r(t,s,n,f,c,u){var b=c-1,h=c*c,S=b*b,v=(1+2*c)*S,l=c*S,g=h*(3-2*c),C=h*b;if(t.length){u||(u=new Array(t.length));for(var M=t.length-1;M>=0;--M)u[M]=v*t[M]+l*s[M]+g*n[M]+C*f[M];return u}return v*t+l*s+g*n+C*f}d.exports=r,d.exports.derivative=m},4419:function(d,m,r){var t=r(2183),s=r(1215);d.exports=u;function n(b,h){this.point=b,this.index=h}function f(b,h){for(var S=b.point,v=h.point,l=S.length,g=0;g=2)return!1;_[V]=N}return!0}):G=G.filter(function(_){for(var H=0;H<=v;++H){var V=k[_[H]];if(V<0)return!1;_[H]=V}return!0}),v&1)for(var C=0;C>>31},d.exports.exponent=function(g){var C=d.exports.hi(g);return(C<<1>>>21)-1023},d.exports.fraction=function(g){var C=d.exports.lo(g),M=d.exports.hi(g),D=M&(1<<20)-1;return M&2146435072&&(D+=1048576),[C,D]},d.exports.denormalized=function(g){var C=d.exports.hi(g);return!(C&2146435072)}},3094:function(d){function m(s,n,f){var c=s[f]|0;if(c<=0)return[];var u=new Array(c),b;if(f===s.length-1)for(b=0;b"u"&&(n=0),typeof s){case"number":if(s>0)return r(s|0,n);break;case"object":if(typeof s.length=="number")return m(s,n,0);break}return[]}d.exports=t},8348:function(d,m,r){d.exports=s;var t=r(1215);function s(n,f){var c=n.length;if(typeof f!="number"){f=0;for(var u=0;u=v-1)for(var P=C.length-1,o=h-S[v-1],A=0;A=v-1){var T=C.length-1;h-S[v-1];for(var P=0;P=0;--v)if(h[--S])return!1;return!0},c.jump=function(h){var S=this.lastT(),v=this.dimension;if(!(h0;--A)l.push(n(D[A-1],T[A-1],arguments[A])),g.push(0)}},c.push=function(h){var S=this.lastT(),v=this.dimension;if(!(h1e-6?1/M:0;this._time.push(h);for(var o=v;o>0;--o){var k=n(T[o-1],P[o-1],arguments[o]);l.push(k),g.push((k-l[C++])*A)}}},c.set=function(h){var S=this.dimension;if(!(h0;--D)v.push(n(C[D-1],M[D-1],arguments[D])),l.push(0)}},c.move=function(h){var S=this.lastT(),v=this.dimension;if(!(h<=S||arguments.length!==v+1)){var l=this._state,g=this._velocity,C=l.length-this.dimension,M=this.bounds,D=M[0],T=M[1],P=h-S,A=P>1e-6?1/P:0;this._time.push(h);for(var o=v;o>0;--o){var k=arguments[o];l.push(n(D[o-1],T[o-1],l[C++]+k)),g.push(k*A)}}},c.idle=function(h){var S=this.lastT();if(!(h=0;--A)l.push(n(D[A],T[A],l[C]+P*g[C])),g.push(0),C+=1}};function u(h){for(var S=new Array(h),v=0;v=0;--F){var o=k[F];w[F]<=0?k[F]=new t(o._color,o.key,o.value,k[F+1],o.right,o._count+1):k[F]=new t(o._color,o.key,o.value,o.left,k[F+1],o._count+1)}for(var F=k.length-1;F>1;--F){var G=k[F-1],o=k[F];if(G._color===r||o._color===r)break;var _=k[F-2];if(_.left===G)if(G.left===o){var H=_.right;if(H&&H._color===m)G._color=r,_.right=n(r,H),_._color=m,F-=1;else{if(_._color=m,_.left=G.right,G._color=r,G.right=_,k[F-2]=G,k[F-1]=o,f(_),f(G),F>=3){var V=k[F-3];V.left===_?V.left=G:V.right=G}break}}else{var H=_.right;if(H&&H._color===m)G._color=r,_.right=n(r,H),_._color=m,F-=1;else{if(G.right=o.left,_._color=m,_.left=o.right,o._color=r,o.left=G,o.right=_,k[F-2]=o,k[F-1]=G,f(_),f(G),f(o),F>=3){var V=k[F-3];V.left===_?V.left=o:V.right=o}break}}else if(G.right===o){var H=_.left;if(H&&H._color===m)G._color=r,_.left=n(r,H),_._color=m,F-=1;else{if(_._color=m,_.right=G.left,G._color=r,G.left=_,k[F-2]=G,k[F-1]=o,f(_),f(G),F>=3){var V=k[F-3];V.right===_?V.right=G:V.left=G}break}}else{var H=_.left;if(H&&H._color===m)G._color=r,_.left=n(r,H),_._color=m,F-=1;else{if(G.left=o.right,_._color=m,_.right=o.left,o._color=r,o.right=G,o.left=_,k[F-2]=o,k[F-1]=G,f(_),f(G),f(o),F>=3){var V=k[F-3];V.right===_?V.right=o:V.left=o}break}}}return k[0]._color=r,new c(A,k[0])};function b(T,P){if(P.left){var A=b(T,P.left);if(A)return A}var A=T(P.key,P.value);if(A)return A;if(P.right)return b(T,P.right)}function h(T,P,A,o){var k=P(T,o.key);if(k<=0){if(o.left){var w=h(T,P,A,o.left);if(w)return w}var w=A(o.key,o.value);if(w)return w}if(o.right)return h(T,P,A,o.right)}function S(T,P,A,o,k){var w=A(T,k.key),U=A(P,k.key),F;if(w<=0&&(k.left&&(F=S(T,P,A,o,k.left),F)||U>0&&(F=o(k.key,k.value),F)))return F;if(U>0&&k.right)return S(T,P,A,o,k.right)}u.forEach=function(P,A,o){if(this.root)switch(arguments.length){case 1:return b(P,this.root);case 2:return h(A,this._compare,P,this.root);case 3:return this._compare(A,o)>=0?void 0:S(A,o,this._compare,P,this.root)}},Object.defineProperty(u,"begin",{get:function(){for(var T=[],P=this.root;P;)T.push(P),P=P.left;return new v(this,T)}}),Object.defineProperty(u,"end",{get:function(){for(var T=[],P=this.root;P;)T.push(P),P=P.right;return new v(this,T)}}),u.at=function(T){if(T<0)return new v(this,[]);for(var P=this.root,A=[];;){if(A.push(P),P.left){if(T=P.right._count)break;P=P.right}else break}return new v(this,[])},u.ge=function(T){for(var P=this._compare,A=this.root,o=[],k=0;A;){var w=P(T,A.key);o.push(A),w<=0&&(k=o.length),w<=0?A=A.left:A=A.right}return o.length=k,new v(this,o)},u.gt=function(T){for(var P=this._compare,A=this.root,o=[],k=0;A;){var w=P(T,A.key);o.push(A),w<0&&(k=o.length),w<0?A=A.left:A=A.right}return o.length=k,new v(this,o)},u.lt=function(T){for(var P=this._compare,A=this.root,o=[],k=0;A;){var w=P(T,A.key);o.push(A),w>0&&(k=o.length),w<=0?A=A.left:A=A.right}return o.length=k,new v(this,o)},u.le=function(T){for(var P=this._compare,A=this.root,o=[],k=0;A;){var w=P(T,A.key);o.push(A),w>=0&&(k=o.length),w<0?A=A.left:A=A.right}return o.length=k,new v(this,o)},u.find=function(T){for(var P=this._compare,A=this.root,o=[];A;){var k=P(T,A.key);if(o.push(A),k===0)return new v(this,o);k<=0?A=A.left:A=A.right}return new v(this,[])},u.remove=function(T){var P=this.find(T);return P?P.remove():this},u.get=function(T){for(var P=this._compare,A=this.root;A;){var o=P(T,A.key);if(o===0)return A.value;o<=0?A=A.left:A=A.right}};function v(T,P){this.tree=T,this._stack=P}var l=v.prototype;Object.defineProperty(l,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(l,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),l.clone=function(){return new v(this.tree,this._stack.slice())};function g(T,P){T.key=P.key,T.value=P.value,T.left=P.left,T.right=P.right,T._color=P._color,T._count=P._count}function C(T){for(var P,A,o,k,w=T.length-1;w>=0;--w){if(P=T[w],w===0){P._color=r;return}if(A=T[w-1],A.left===P){if(o=A.right,o.right&&o.right._color===m){if(o=A.right=s(o),k=o.right=s(o.right),A.right=o.left,o.left=A,o.right=k,o._color=A._color,P._color=r,A._color=r,k._color=r,f(A),f(o),w>1){var U=T[w-2];U.left===A?U.left=o:U.right=o}T[w-1]=o;return}else if(o.left&&o.left._color===m){if(o=A.right=s(o),k=o.left=s(o.left),A.right=k.left,o.left=k.right,k.left=A,k.right=o,k._color=A._color,A._color=r,o._color=r,P._color=r,f(A),f(o),f(k),w>1){var U=T[w-2];U.left===A?U.left=k:U.right=k}T[w-1]=k;return}if(o._color===r)if(A._color===m){A._color=r,A.right=n(m,o);return}else{A.right=n(m,o);continue}else{if(o=s(o),A.right=o.left,o.left=A,o._color=A._color,A._color=m,f(A),f(o),w>1){var U=T[w-2];U.left===A?U.left=o:U.right=o}T[w-1]=o,T[w]=A,w+11){var U=T[w-2];U.right===A?U.right=o:U.left=o}T[w-1]=o;return}else if(o.right&&o.right._color===m){if(o=A.left=s(o),k=o.right=s(o.right),A.left=k.right,o.right=k.left,k.right=A,k.left=o,k._color=A._color,A._color=r,o._color=r,P._color=r,f(A),f(o),f(k),w>1){var U=T[w-2];U.right===A?U.right=k:U.left=k}T[w-1]=k;return}if(o._color===r)if(A._color===m){A._color=r,A.left=n(m,o);return}else{A.left=n(m,o);continue}else{if(o=s(o),A.left=o.right,o.right=A,o._color=A._color,A._color=m,f(A),f(o),w>1){var U=T[w-2];U.right===A?U.right=o:U.left=o}T[w-1]=o,T[w]=A,w+1=0;--o){var A=T[o];A.left===T[o+1]?P[o]=new t(A._color,A.key,A.value,P[o+1],A.right,A._count):P[o]=new t(A._color,A.key,A.value,A.left,P[o+1],A._count)}if(A=P[P.length-1],A.left&&A.right){var k=P.length;for(A=A.left;A.right;)P.push(A),A=A.right;var w=P[k-1];P.push(new t(A._color,w.key,w.value,A.left,A.right,A._count)),P[k-1].key=A.key,P[k-1].value=A.value;for(var o=P.length-2;o>=k;--o)A=P[o],P[o]=new t(A._color,A.key,A.value,A.left,P[o+1],A._count);P[k-1].left=P[k]}if(A=P[P.length-1],A._color===m){var U=P[P.length-2];U.left===A?U.left=null:U.right===A&&(U.right=null),P.pop();for(var o=0;o0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(l,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(l,"index",{get:function(){var T=0,P=this._stack;if(P.length===0){var A=this.tree.root;return A?A._count:0}else P[P.length-1].left&&(T=P[P.length-1].left._count);for(var o=P.length-2;o>=0;--o)P[o+1]===P[o].right&&(++T,P[o].left&&(T+=P[o].left._count));return T},enumerable:!0}),l.next=function(){var T=this._stack;if(T.length!==0){var P=T[T.length-1];if(P.right)for(P=P.right;P;)T.push(P),P=P.left;else for(T.pop();T.length>0&&T[T.length-1].right===P;)P=T[T.length-1],T.pop()}},Object.defineProperty(l,"hasNext",{get:function(){var T=this._stack;if(T.length===0)return!1;if(T[T.length-1].right)return!0;for(var P=T.length-1;P>0;--P)if(T[P-1].left===T[P])return!0;return!1}}),l.update=function(T){var P=this._stack;if(P.length===0)throw new Error("Can't update empty node!");var A=new Array(P.length),o=P[P.length-1];A[A.length-1]=new t(o._color,o.key,T,o.left,o.right,o._count);for(var k=P.length-2;k>=0;--k)o=P[k],o.left===P[k+1]?A[k]=new t(o._color,o.key,o.value,A[k+1],o.right,o._count):A[k]=new t(o._color,o.key,o.value,o.left,A[k+1],o._count);return new c(this.tree._compare,A[0])},l.prev=function(){var T=this._stack;if(T.length!==0){var P=T[T.length-1];if(P.left)for(P=P.left;P;)T.push(P),P=P.right;else for(T.pop();T.length>0&&T[T.length-1].left===P;)P=T[T.length-1],T.pop()}},Object.defineProperty(l,"hasPrev",{get:function(){var T=this._stack;if(T.length===0)return!1;if(T[T.length-1].left)return!0;for(var P=T.length-1;P>0;--P)if(T[P-1].right===T[P])return!0;return!1}});function M(T,P){return TP?1:0}function D(T){return new c(T||M,null)}},7453:function(d,m,r){d.exports=o;var t=r(9557),s=r(1681),n=r(1011),f=r(2864),c=r(8468),u=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function b(k,w){return k[0]=w[0],k[1]=w[1],k[2]=w[2],k}function h(k){this.gl=k,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=n(k)}var S=h.prototype;S.update=function(k){k=k||{};function w(ue,pe,q){if(q in k){var X=k[q],K=this[q],J;(ue?Array.isArray(X)&&Array.isArray(X[0]):Array.isArray(X))?this[q]=J=[pe(X[0]),pe(X[1]),pe(X[2])]:this[q]=J=[pe(X),pe(X),pe(X)];for(var re=0;re<3;++re)if(J[re]!==K[re])return!0}return!1}var U=w.bind(this,!1,Number),F=w.bind(this,!1,Boolean),G=w.bind(this,!1,String),_=w.bind(this,!0,function(ue){if(Array.isArray(ue)){if(ue.length===3)return[+ue[0],+ue[1],+ue[2],1];if(ue.length===4)return[+ue[0],+ue[1],+ue[2],+ue[3]]}return[0,0,0,1]}),H,V=!1,N=!1;if("bounds"in k)for(var W=k.bounds,j=0;j<2;++j)for(var Q=0;Q<3;++Q)W[j][Q]!==this.bounds[j][Q]&&(N=!0),this.bounds[j][Q]=W[j][Q];if("ticks"in k){H=k.ticks,V=!0,this.autoTicks=!1;for(var j=0;j<3;++j)this.tickSpacing[j]=0}else U("tickSpacing")&&(this.autoTicks=!0,N=!0);if(this._firstInit&&("ticks"in k||"tickSpacing"in k||(this.autoTicks=!0),N=!0,V=!0,this._firstInit=!1),N&&this.autoTicks&&(H=c.create(this.bounds,this.tickSpacing),V=!0),V){for(var j=0;j<3;++j)H[j].sort(function(pe,q){return pe.x-q.x});c.equal(H,this.ticks)?V=!1:this.ticks=H}F("tickEnable"),G("tickFont")&&(V=!0),U("tickSize"),U("tickAngle"),U("tickPad"),_("tickColor");var ie=G("labels");G("labelFont")&&(ie=!0),F("labelEnable"),U("labelSize"),U("labelPad"),_("labelColor"),F("lineEnable"),F("lineMirror"),U("lineWidth"),_("lineColor"),F("lineTickEnable"),F("lineTickMirror"),U("lineTickLength"),U("lineTickWidth"),_("lineTickColor"),F("gridEnable"),U("gridWidth"),_("gridColor"),F("zeroEnable"),_("zeroLineColor"),U("zeroLineWidth"),F("backgroundEnable"),_("backgroundColor"),this._text?this._text&&(ie||V)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=t(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&V&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=s(this.gl,this.bounds,this.ticks))};function v(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}var l=[new v,new v,new v];function g(k,w,U,F,G){for(var _=k.primalOffset,H=k.primalMinor,V=k.mirrorOffset,N=k.mirrorMinor,W=F[w],j=0;j<3;++j)if(w!==j){var Q=_,ie=V,ue=H,pe=N;W&1<0?(ue[j]=-1,pe[j]=0):(ue[j]=0,pe[j]=1)}}var C=[0,0,0],M={model:u,view:u,projection:u,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(k){};var D=0,T=[0,0,0],P=[0,0,0],A=[0,0,0];S.draw=function(k){k=k||M;for(var K=this.gl,w=k.model||u,U=k.view||u,F=k.projection||u,G=this.bounds,_=k._ortho||!1,H=f(w,U,F,G,_),V=H.cubeEdges,N=H.axis,W=U[12],j=U[13],Q=U[14],ie=U[15],ue=_?2:1,pe=ue*this.pixelRatio*(F[3]*W+F[7]*j+F[11]*Q+F[15]*ie)/K.drawingBufferHeight,q=0;q<3;++q)this.lastCubeProps.cubeEdges[q]=V[q],this.lastCubeProps.axis[q]=N[q];for(var X=l,q=0;q<3;++q)g(l[q],q,this.bounds,V,N);for(var K=this.gl,J=C,q=0;q<3;++q)this.backgroundEnable[q]?J[q]=N[q]:J[q]=0;this._background.draw(w,U,F,G,J,this.backgroundColor),this._lines.bind(w,U,F,this);for(var q=0;q<3;++q){var re=[0,0,0];N[q]>0?re[q]=G[1][q]:re[q]=G[0][q];for(var fe=0;fe<2;++fe){var te=(q+1+fe)%3,ee=(q+1+(fe^1))%3;this.gridEnable[te]&&this._lines.drawGrid(te,ee,this.bounds,re,this.gridColor[te],this.gridWidth[te]*this.pixelRatio)}for(var fe=0;fe<2;++fe){var te=(q+1+fe)%3,ee=(q+1+(fe^1))%3;this.zeroEnable[ee]&&Math.min(G[0][ee],G[1][ee])<=0&&Math.max(G[0][ee],G[1][ee])>=0&&this._lines.drawZero(te,ee,this.bounds,re,this.zeroLineColor[ee],this.zeroLineWidth[ee]*this.pixelRatio)}}for(var q=0;q<3;++q){this.lineEnable[q]&&this._lines.drawAxisLine(q,this.bounds,X[q].primalOffset,this.lineColor[q],this.lineWidth[q]*this.pixelRatio),this.lineMirror[q]&&this._lines.drawAxisLine(q,this.bounds,X[q].mirrorOffset,this.lineColor[q],this.lineWidth[q]*this.pixelRatio);for(var ce=b(T,X[q].primalMinor),le=b(P,X[q].mirrorMinor),me=this.lineTickLength,fe=0;fe<3;++fe){var we=pe/w[5*fe];ce[fe]*=me[fe]*we,le[fe]*=me[fe]*we}this.lineTickEnable[q]&&this._lines.drawAxisTicks(q,X[q].primalOffset,ce,this.lineTickColor[q],this.lineTickWidth[q]*this.pixelRatio),this.lineTickMirror[q]&&this._lines.drawAxisTicks(q,X[q].mirrorOffset,le,this.lineTickColor[q],this.lineTickWidth[q]*this.pixelRatio)}this._lines.unbind(),this._text.bind(w,U,F,this.pixelRatio);var Se,Ee=.5,We,Ye;function De($e){Ye=[0,0,0],Ye[$e]=1}function Te($e,pt,ut){var lt=($e+1)%3,ke=($e+2)%3,Ne=pt[lt],gt=pt[ke],qe=ut[lt],vt=ut[ke];if(Ne>0&&vt>0){De(lt);return}else if(Ne>0&&vt<0){De(lt);return}else if(Ne<0&&vt>0){De(lt);return}else if(Ne<0&&vt<0){De(lt);return}else if(gt>0&&qe>0){De(ke);return}else if(gt>0&&qe<0){De(ke);return}else if(gt<0&&qe>0){De(ke);return}else if(gt<0&&qe<0){De(ke);return}}for(var q=0;q<3;++q){for(var Re=X[q].primalMinor,Xe=X[q].mirrorMinor,Je=b(A,X[q].primalOffset),fe=0;fe<3;++fe)this.lineTickEnable[q]&&(Je[fe]+=pe*Re[fe]*Math.max(this.lineTickLength[fe],0)/w[5*fe]);var He=[0,0,0];if(He[q]=1,this.tickEnable[q]){this.tickAngle[q]===-3600?(this.tickAngle[q]=0,this.tickAlign[q]="auto"):this.tickAlign[q]=-1,We=1,Se=[this.tickAlign[q],Ee,We],Se[0]==="auto"?Se[0]=D:Se[0]=parseInt(""+Se[0]),Ye=[0,0,0],Te(q,Re,Xe);for(var fe=0;fe<3;++fe)Je[fe]+=pe*Re[fe]*this.tickPad[fe]/w[5*fe];this._text.drawTicks(q,this.tickSize[q],this.tickAngle[q],Je,this.tickColor[q],He,Ye,Se)}if(this.labelEnable[q]){We=0,Ye=[0,0,0],this.labels[q].length>4&&(De(q),We=1),Se=[this.labelAlign[q],Ee,We],Se[0]==="auto"?Se[0]=D:Se[0]=parseInt(""+Se[0]);for(var fe=0;fe<3;++fe)Je[fe]+=pe*Re[fe]*this.labelPad[fe]/w[5*fe];Je[q]+=.5*(G[0][q]+G[1][q]),this._text.drawLabel(q,this.labelSize[q],this.labelAngle[q],Je,this.labelColor[q],[0,0,0],Ye,Se)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null};function o(k,w){var U=new h(k);return U.update(w),U}},1011:function(d,m,r){d.exports=u;var t=r(5827),s=r(2944),n=r(1943).bg;function f(b,h,S,v){this.gl=b,this.buffer=h,this.vao=S,this.shader=v}var c=f.prototype;c.draw=function(b,h,S,v,l,g){for(var C=!1,M=0;M<3;++M)C=C||l[M];if(C){var D=this.gl;D.enable(D.POLYGON_OFFSET_FILL),D.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:b,view:h,projection:S,bounds:v,enable:l,colors:g},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),D.disable(D.POLYGON_OFFSET_FILL)}},c.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()};function u(b){for(var h=[],S=[],v=0,l=0;l<3;++l)for(var g=(l+1)%3,C=(l+2)%3,M=[0,0,0],D=[0,0,0],T=-1;T<=1;T+=2){S.push(v,v+2,v+1,v+1,v+2,v+3),M[l]=T,D[l]=T;for(var P=-1;P<=1;P+=2){M[g]=P;for(var A=-1;A<=1;A+=2)M[C]=A,h.push(M[0],M[1],M[2],D[0],D[1],D[2]),v+=1}var o=g;g=C,C=o}var k=t(b,new Float32Array(h)),w=t(b,new Uint16Array(S),b.ELEMENT_ARRAY_BUFFER),U=s(b,[{buffer:k,type:b.FLOAT,size:3,offset:0,stride:24},{buffer:k,type:b.FLOAT,size:3,offset:12,stride:24}],w),F=n(b);return F.attributes.position.location=0,F.attributes.normal.location=1,new f(b,k,U,F)}},2864:function(d,m,r){d.exports=T;var t=r(2288),s=r(104),n=r(4670),f=r(417),c=new Array(16),u=new Array(8),b=new Array(8),h=new Array(3),S=[0,0,0];(function(){for(var P=0;P<8;++P)u[P]=[1,1,1,1],b[P]=[1,1,1]})();function v(P,A,o){for(var k=0;k<4;++k){P[k]=o[12+k];for(var w=0;w<3;++w)P[k]+=A[w]*o[4*w+k]}}var l=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function g(P){for(var A=0;Aie&&(H|=1<ie){H|=1<b[F][1])&&(fe=F);for(var te=-1,F=0;F<3;++F){var ee=fe^1<b[ce][0]&&(ce=ee)}}var le=C;le[0]=le[1]=le[2]=0,le[t.log2(te^fe)]=fe&te,le[t.log2(fe^ce)]=fe&ce;var me=ce^7;me===H||me===re?(me=te^7,le[t.log2(ce^me)]=me&ce):le[t.log2(te^me)]=me&te;for(var we=M,Se=H,W=0;W<3;++W)Se&1< HALF_PI) && (b <= ONE_AND_HALF_PI)) ? - b - PI : - b; -} - -float look_horizontal_or_vertical(float a, float ratio) { - // ratio controls the ratio between being horizontal to (vertical + horizontal) - // if ratio is set to 0.5 then it is 50%, 50%. - // when using a higher ratio e.g. 0.75 the result would - // likely be more horizontal than vertical. - - float b = positive_angle(a); - - return - (b < ( ratio) * HALF_PI) ? 0.0 : - (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI : - (b < (2.0 + ratio) * HALF_PI) ? 0.0 : - (b < (4.0 - ratio) * HALF_PI) ? HALF_PI : - 0.0; -} - -float roundTo(float a, float b) { - return float(b * floor((a + 0.5 * b) / b)); -} - -float look_round_n_directions(float a, int n) { - float b = positive_angle(a); - float div = TWO_PI / float(n); - float c = roundTo(b, div); - return look_upwards(c); -} - -float applyAlignOption(float rawAngle, float delta) { - return - (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions - (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical - (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis - (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards - (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal - rawAngle; // otherwise return back raw input angle -} - -bool isAxisTitle = (axis.x == 0.0) && - (axis.y == 0.0) && - (axis.z == 0.0); - -void main() { - //Compute world offset - float axisDistance = position.z; - vec3 dataPosition = axisDistance * axis + offset; - - float beta = angle; // i.e. user defined attributes for each tick - - float axisAngle; - float clipAngle; - float flip; - - if (enableAlign) { - axisAngle = (isAxisTitle) ? HALF_PI : - computeViewAngle(dataPosition, dataPosition + axis); - clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir); - - axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0; - clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0; - - flip = (dot(vec2(cos(axisAngle), sin(axisAngle)), - vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0; - - beta += applyAlignOption(clipAngle, flip * PI); - } - - //Compute plane offset - vec2 planeCoord = position.xy * pixelScale; - - mat2 planeXform = scale * mat2( - cos(beta), sin(beta), - -sin(beta), cos(beta) - ); - - vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution; - - //Compute clip position - vec3 clipPosition = project(dataPosition); - - //Apply text offset in clip coordinates - clipPosition += vec3(viewOffset, 0.0); - - //Done - gl_Position = vec4(clipPosition, 1.0); -}`]),u=t([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 color; -void main() { - gl_FragColor = color; -}`]);m.f=function(S){return s(S,c,u,null,[{name:"position",type:"vec3"}])};var b=t([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec3 normal; - -uniform mat4 model, view, projection; -uniform vec3 enable; -uniform vec3 bounds[2]; - -varying vec3 colorChannel; - -void main() { - - vec3 signAxis = sign(bounds[1] - bounds[0]); - - vec3 realNormal = signAxis * normal; - - if(dot(realNormal, enable) > 0.0) { - vec3 minRange = min(bounds[0], bounds[1]); - vec3 maxRange = max(bounds[0], bounds[1]); - vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0)); - gl_Position = projection * view * model * vec4(nPosition, 1.0); - } else { - gl_Position = vec4(0,0,0,0); - } - - colorChannel = abs(realNormal); -}`]),h=t([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 colors[3]; - -varying vec3 colorChannel; - -void main() { - gl_FragColor = colorChannel.x * colors[0] + - colorChannel.y * colors[1] + - colorChannel.z * colors[2]; -}`]);m.bg=function(S){return s(S,b,h,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(d,m,r){d.exports=g;var t=r(5827),s=r(2944),n=r(875),f=r(1943).f,c=window||p.global||{},u=c.__TEXT_CACHE||{};c.__TEXT_CACHE={};var b=3;function h(C,M,D,T){this.gl=C,this.shader=M,this.buffer=D,this.vao=T,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}var S=h.prototype,v=[0,0];S.bind=function(C,M,D,T){this.vao.bind(),this.shader.bind();var P=this.shader.uniforms;P.model=C,P.view=M,P.projection=D,P.pixelScale=T,v[0]=this.gl.drawingBufferWidth,v[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=v},S.unbind=function(){this.vao.unbind()},S.update=function(C,M,D,T,P){var A=[];function o(N,W,j,Q,ie,ue){var pe=u[j];pe||(pe=u[j]={});var q=pe[W];q||(q=pe[W]=l(W,{triangles:!0,font:j,textAlign:"center",textBaseline:"middle",lineSpacing:ie,styletags:ue}));for(var X=(Q||12)/12,K=q.positions,J=q.cells,re=0,fe=J.length;re=0;--ee){var ce=K[te[ee]];A.push(X*ce[0],-X*ce[1],N)}}for(var k=[0,0,0],w=[0,0,0],U=[0,0,0],F=[0,0,0],G=1.25,_={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},H=0;H<3;++H){U[H]=A.length/b|0,o(.5*(C[0][H]+C[1][H]),M[H],D[H],12,G,_),F[H]=(A.length/b|0)-U[H],k[H]=A.length/b|0;for(var V=0;V=0&&(b=c.length-u-1);var h=Math.pow(10,b),S=Math.round(n*f*h),v=S+"";if(v.indexOf("e")>=0)return v;var l=S/h,g=S%h;S<0?(l=-Math.ceil(l)|0,g=-g|0):(l=Math.floor(l)|0,g=g|0);var C=""+l;if(S<0&&(C="-"+C),b){for(var M=""+g;M.length=n[0][u];--h)b.push({x:h*f[u],text:r(f[u],h)});c.push(b)}return c}function s(n,f){for(var c=0;c<3;++c){if(n[c].length!==f[c].length)return!1;for(var u=0;uC)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return l.bufferSubData(g,T,D),C}function h(l,g){for(var C=t.malloc(l.length,g),M=l.length,D=0;D=0;--M){if(g[M]!==C)return!1;C*=l[M]}return!0}u.update=function(l,g){if(typeof g!="number"&&(g=-1),this.bind(),typeof l=="object"&&typeof l.shape<"u"){var C=l.dtype;if(f.indexOf(C)<0&&(C="float32"),this.type===this.gl.ELEMENT_ARRAY_BUFFER){var M=gl.getExtension("OES_element_index_uint");M&&C!=="uint16"?C="uint32":C="uint16"}if(C===l.dtype&&S(l.shape,l.stride))l.offset===0&&l.data.length===l.shape[0]?this.length=b(this.gl,this.type,this.length,this.usage,l.data,g):this.length=b(this.gl,this.type,this.length,this.usage,l.data.subarray(l.offset,l.shape[0]),g);else{var D=t.malloc(l.size,C),T=n(D,l.shape);s.assign(T,l),g<0?this.length=b(this.gl,this.type,this.length,this.usage,D,g):this.length=b(this.gl,this.type,this.length,this.usage,D.subarray(0,l.size),g),t.free(D)}}else if(Array.isArray(l)){var P;this.type===this.gl.ELEMENT_ARRAY_BUFFER?P=h(l,"uint16"):P=h(l,"float32"),g<0?this.length=b(this.gl,this.type,this.length,this.usage,P,g):this.length=b(this.gl,this.type,this.length,this.usage,P.subarray(0,l.length),g),t.free(P)}else if(typeof l=="object"&&typeof l.length=="number")this.length=b(this.gl,this.type,this.length,this.usage,l,g);else if(typeof l=="number"||l===void 0){if(g>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");l=l|0,l<=0&&(l=1),this.gl.bufferData(this.type,l|0,this.usage),this.length=l}else throw new Error("gl-buffer: Invalid data type")};function v(l,g,C,M){if(C=C||l.ARRAY_BUFFER,M=M||l.DYNAMIC_DRAW,C!==l.ARRAY_BUFFER&&C!==l.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(M!==l.DYNAMIC_DRAW&&M!==l.STATIC_DRAW&&M!==l.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var D=l.createBuffer(),T=new c(l,C,D,0,M);return T.update(g),T}d.exports=v},1140:function(d,m,r){var t=r(2858);d.exports=function(n,f){var c=n.positions,u=n.vectors,b={positions:[],vertexIntensity:[],vertexIntensityBounds:n.vertexIntensityBounds,vectors:[],cells:[],coneOffset:n.coneOffset,colormap:n.colormap};if(n.positions.length===0)return f&&(f[0]=[0,0,0],f[1]=[0,0,0]),b;for(var h=0,S=1/0,v=-1/0,l=1/0,g=-1/0,C=1/0,M=-1/0,D=null,T=null,P=[],A=1/0,o=!1,k=0;kh&&(h=t.length(U)),k){var F=2*t.distance(D,w)/(t.length(T)+t.length(U));F?(A=Math.min(A,F),o=!1):o=!0}o||(D=w,T=U),P.push(U)}var G=[S,l,C],_=[v,g,M];f&&(f[0]=G,f[1]=_),h===0&&(h=1);var H=1/h;isFinite(A)||(A=1),b.vectorScale=A;var V=n.coneSize||.5;n.absoluteConeSize&&(V=n.absoluteConeSize*H),b.coneScale=V;for(var k=0,N=0;k=1},l.isTransparent=function(){return this.opacity<1},l.pickSlots=1,l.setPickBase=function(P){this.pickId=P};function g(P){for(var A=h({colormap:P,nshades:256,format:"rgba"}),o=new Uint8Array(256*4),k=0;k<256;++k){for(var w=A[k],U=0;U<3;++U)o[4*k+U]=w[U];o[4*k+3]=w[3]*255}return b(o,[256,256,4],[4,0,1])}function C(P){for(var A=P.length,o=new Array(A),k=0;k0){var W=this.triShader;W.bind(),W.uniforms=G,this.triangleVAO.bind(),A.drawArrays(A.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}},l.drawPick=function(P){P=P||{};for(var A=this.gl,o=P.model||S,k=P.view||S,w=P.projection||S,U=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],F=0;F<3;++F)U[0][F]=Math.max(U[0][F],this.clipBounds[0][F]),U[1][F]=Math.min(U[1][F],this.clipBounds[1][F]);this._model=[].slice.call(o),this._view=[].slice.call(k),this._projection=[].slice.call(w),this._resolution=[A.drawingBufferWidth,A.drawingBufferHeight];var G={model:o,view:k,projection:w,clipBounds:U,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},_=this.pickShader;_.bind(),_.uniforms=G,this.triangleCount>0&&(this.triangleVAO.bind(),A.drawArrays(A.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind())},l.pick=function(P){if(!P||P.id!==this.pickId)return null;var A=P.value[0]+256*P.value[1]+65536*P.value[2],o=this.cells[A],k=this.positions[o[1]].slice(0,3),w={position:k,dataCoordinate:k,index:Math.floor(o[1]/48)};return this.traceType==="cone"?w.index=Math.floor(o[1]/48):this.traceType==="streamtube"&&(w.intensity=this.intensity[o[1]],w.velocity=this.vectors[o[1]].slice(0,3),w.divergence=this.vectors[o[1]][3],w.index=A),w},l.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()};function M(P,A){var o=t(P,A.meshShader.vertex,A.meshShader.fragment,null,A.meshShader.attributes);return o.attributes.position.location=0,o.attributes.color.location=2,o.attributes.uv.location=3,o.attributes.vector.location=4,o}function D(P,A){var o=t(P,A.pickShader.vertex,A.pickShader.fragment,null,A.pickShader.attributes);return o.attributes.position.location=0,o.attributes.id.location=1,o.attributes.vector.location=4,o}function T(P,A,o){var k=o.shaders;arguments.length===1&&(A=P,P=A.gl);var w=M(P,k),U=D(P,k),F=f(P,b(new Uint8Array([255,255,255,255]),[1,1,4]));F.generateMipmap(),F.minFilter=P.LINEAR_MIPMAP_LINEAR,F.magFilter=P.LINEAR;var G=s(P),_=s(P),H=s(P),V=s(P),N=s(P),W=n(P,[{buffer:G,type:P.FLOAT,size:4},{buffer:N,type:P.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:H,type:P.FLOAT,size:4},{buffer:V,type:P.FLOAT,size:2},{buffer:_,type:P.FLOAT,size:4}]),j=new v(P,F,w,U,G,_,N,H,V,W,o.traceType||"cone");return j.update(A),j}d.exports=T},7234:function(d,m,r){var t=r(6832),s=t([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the cone vertex and normal at the given index. -// -// The returned vertex is for a cone with its top at origin and height of 1.0, -// pointing in the direction of the vector attribute. -// -// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. -// These vertices are used to make up the triangles of the cone by the following: -// segment + 0 top vertex -// segment + 1 perimeter vertex a+1 -// segment + 2 perimeter vertex a -// segment + 3 center base vertex -// segment + 4 perimeter vertex a -// segment + 5 perimeter vertex a+1 -// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. -// To go from index to segment, floor(index / 6) -// To go from segment to angle, 2*pi * (segment/segmentCount) -// To go from index to segment index, index - (segment*6) -// -vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { - - const float segmentCount = 8.0; - - float index = rawIndex - floor(rawIndex / - (segmentCount * 6.0)) * - (segmentCount * 6.0); - - float segment = floor(0.001 + index/6.0); - float segmentIndex = index - (segment*6.0); - - normal = -normalize(d); - - if (segmentIndex > 2.99 && segmentIndex < 3.01) { - return mix(vec3(0.0), -d, coneOffset); - } - - float nextAngle = ( - (segmentIndex > 0.99 && segmentIndex < 1.01) || - (segmentIndex > 4.99 && segmentIndex < 5.01) - ) ? 1.0 : 0.0; - float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); - - vec3 v1 = mix(d, vec3(0.0), coneOffset); - vec3 v2 = v1 - d; - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d)*0.25; - vec3 y = v * sin(angle) * length(d)*0.25; - vec3 v3 = v2 + x + y; - if (segmentIndex < 3.0) { - vec3 tx = u * sin(angle); - vec3 ty = v * -cos(angle); - vec3 tangent = tx + ty; - normal = normalize(cross(v3 - v1, tangent)); - } - - if (segmentIndex == 0.0) { - return mix(d, vec3(0.0), coneOffset); - } - return v3; -} - -attribute vec3 vector; -attribute vec4 color, position; -attribute vec2 uv; - -uniform float vectorScale, coneScale, coneOffset; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 eyePosition, lightPosition; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - // Scale the vector magnitude to stay constant with - // model & view changes. - vec3 normal; - vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal); - vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * conePosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - // vec4 m_position = model * vec4(conePosition, 1.0); - vec4 t_position = view * conePosition; - gl_Position = projection * t_position; - - f_color = color; - f_data = conePosition.xyz; - f_position = position.xyz; - f_uv = uv; -} -`]),n=t([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform sampler2D texture; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = f_color * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * opacity; -} -`]),f=t([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the cone vertex and normal at the given index. -// -// The returned vertex is for a cone with its top at origin and height of 1.0, -// pointing in the direction of the vector attribute. -// -// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. -// These vertices are used to make up the triangles of the cone by the following: -// segment + 0 top vertex -// segment + 1 perimeter vertex a+1 -// segment + 2 perimeter vertex a -// segment + 3 center base vertex -// segment + 4 perimeter vertex a -// segment + 5 perimeter vertex a+1 -// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. -// To go from index to segment, floor(index / 6) -// To go from segment to angle, 2*pi * (segment/segmentCount) -// To go from index to segment index, index - (segment*6) -// -vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { - - const float segmentCount = 8.0; - - float index = rawIndex - floor(rawIndex / - (segmentCount * 6.0)) * - (segmentCount * 6.0); - - float segment = floor(0.001 + index/6.0); - float segmentIndex = index - (segment*6.0); - - normal = -normalize(d); - - if (segmentIndex > 2.99 && segmentIndex < 3.01) { - return mix(vec3(0.0), -d, coneOffset); - } - - float nextAngle = ( - (segmentIndex > 0.99 && segmentIndex < 1.01) || - (segmentIndex > 4.99 && segmentIndex < 5.01) - ) ? 1.0 : 0.0; - float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); - - vec3 v1 = mix(d, vec3(0.0), coneOffset); - vec3 v2 = v1 - d; - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d)*0.25; - vec3 y = v * sin(angle) * length(d)*0.25; - vec3 v3 = v2 + x + y; - if (segmentIndex < 3.0) { - vec3 tx = u * sin(angle); - vec3 ty = v * -cos(angle); - vec3 tangent = tx + ty; - normal = normalize(cross(v3 - v1, tangent)); - } - - if (segmentIndex == 0.0) { - return mix(d, vec3(0.0), coneOffset); - } - return v3; -} - -attribute vec4 vector; -attribute vec4 position; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform float vectorScale, coneScale, coneOffset; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - vec3 normal; - vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal); - vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - gl_Position = projection * view * conePosition; - f_id = id; - f_position = position.xyz; -} -`]),c=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]);m.meshShader={vertex:s,fragment:n,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},m.pickShader={vertex:f,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(d){d.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(d,m,r){var t=r(1950);d.exports=function(n){return t[n]}},3110:function(d,m,r){d.exports=v;var t=r(5827),s=r(2944),n=r(7667),f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(l,g,C,M){this.gl=l,this.shader=M,this.buffer=g,this.vao=C,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var u=c.prototype;u.isOpaque=function(){return!this.hasAlpha},u.isTransparent=function(){return this.hasAlpha},u.drawTransparent=u.draw=function(l){var g=this.gl,C=this.shader.uniforms;this.shader.bind();var M=C.view=l.view||f,D=C.projection=l.projection||f;C.model=l.model||f,C.clipBounds=this.clipBounds,C.opacity=this.opacity;var T=M[12],P=M[13],A=M[14],o=M[15],k=l._ortho||!1,w=k?2:1,U=w*this.pixelRatio*(D[3]*T+D[7]*P+D[11]*A+D[15]*o)/g.drawingBufferHeight;this.vao.bind();for(var F=0;F<3;++F)g.lineWidth(this.lineWidth[F]*this.pixelRatio),C.capSize=this.capSize[F]*U,this.lineCount[F]&&g.drawArrays(g.LINES,this.lineOffset[F],this.lineCount[F]);this.vao.unbind()};function b(l,g){for(var C=0;C<3;++C)l[0][C]=Math.min(l[0][C],g[C]),l[1][C]=Math.max(l[1][C],g[C])}var h=function(){for(var l=new Array(3),g=0;g<3;++g){for(var C=[],M=1;M<=2;++M)for(var D=-1;D<=1;D+=2){var T=(M+g)%3,P=[0,0,0];P[T]=D,C.push(P)}l[g]=C}return l}();function S(l,g,C,M){for(var D=h[M],T=0;T0){var G=k.slice();G[A]+=U[1][A],D.push(k[0],k[1],k[2],F[0],F[1],F[2],F[3],0,0,0,G[0],G[1],G[2],F[0],F[1],F[2],F[3],0,0,0),b(this.bounds,G),P+=2+S(D,G,F,A)}}}this.lineCount[A]=P-this.lineOffset[A]}this.buffer.update(D)}},u.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()};function v(l){var g=l.gl,C=t(g),M=s(g,[{buffer:C,type:g.FLOAT,size:3,offset:0,stride:40},{buffer:C,type:g.FLOAT,size:4,offset:12,stride:40},{buffer:C,type:g.FLOAT,size:3,offset:28,stride:40}]),D=n(g);D.attributes.position.location=0,D.attributes.color.location=1,D.attributes.offset.location=2;var T=new c(g,C,M,D);return T.update(l),T}},7667:function(d,m,r){var t=r(6832),s=r(5158),n=t([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position, offset; -attribute vec4 color; -uniform mat4 model, view, projection; -uniform float capSize; -varying vec4 fragColor; -varying vec3 fragPosition; - -void main() { - vec4 worldPosition = model * vec4(position, 1.0); - worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0); - gl_Position = projection * view * worldPosition; - fragColor = color; - fragPosition = position; -}`]),f=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float opacity; -varying vec3 fragPosition; -varying vec4 fragColor; - -void main() { - if ( - outOfRange(clipBounds[0], clipBounds[1], fragPosition) || - fragColor.a * opacity == 0. - ) discard; - - gl_FragColor = opacity * fragColor; -}`]);d.exports=function(c){return s(c,n,f,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(d,m,r){var t=r(8931);d.exports=P;var s=null,n,f,c,u;function b(A){var o=A.getParameter(A.FRAMEBUFFER_BINDING),k=A.getParameter(A.RENDERBUFFER_BINDING),w=A.getParameter(A.TEXTURE_BINDING_2D);return[o,k,w]}function h(A,o){A.bindFramebuffer(A.FRAMEBUFFER,o[0]),A.bindRenderbuffer(A.RENDERBUFFER,o[1]),A.bindTexture(A.TEXTURE_2D,o[2])}function S(A,o){var k=A.getParameter(o.MAX_COLOR_ATTACHMENTS_WEBGL);s=new Array(k+1);for(var w=0;w<=k;++w){for(var U=new Array(k),F=0;F1&&_.drawBuffersWEBGL(s[G]);var j=k.getExtension("WEBGL_depth_texture");j?H?A.depth=l(k,U,F,j.UNSIGNED_INT_24_8_WEBGL,k.DEPTH_STENCIL,k.DEPTH_STENCIL_ATTACHMENT):V&&(A.depth=l(k,U,F,k.UNSIGNED_SHORT,k.DEPTH_COMPONENT,k.DEPTH_ATTACHMENT)):V&&H?A._depth_rb=g(k,U,F,k.DEPTH_STENCIL,k.DEPTH_STENCIL_ATTACHMENT):V?A._depth_rb=g(k,U,F,k.DEPTH_COMPONENT16,k.DEPTH_ATTACHMENT):H&&(A._depth_rb=g(k,U,F,k.STENCIL_INDEX,k.STENCIL_ATTACHMENT));var Q=k.checkFramebufferStatus(k.FRAMEBUFFER);if(Q!==k.FRAMEBUFFER_COMPLETE){A._destroyed=!0,k.bindFramebuffer(k.FRAMEBUFFER,null),k.deleteFramebuffer(A.handle),A.handle=null,A.depth&&(A.depth.dispose(),A.depth=null),A._depth_rb&&(k.deleteRenderbuffer(A._depth_rb),A._depth_rb=null);for(var W=0;WU||k<0||k>U)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");A._shape[0]=o,A._shape[1]=k;for(var F=b(w),G=0;GF||k<0||k>F)throw new Error("gl-fbo: Parameters are too large for FBO");w=w||{};var G=1;if("color"in w){if(G=Math.max(w.color|0,0),G<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(G>1)if(U){if(G>A.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+G+" draw buffers")}else throw new Error("gl-fbo: Multiple draw buffer extension not supported")}var _=A.UNSIGNED_BYTE,H=A.getExtension("OES_texture_float");if(w.float&&G>0){if(!H)throw new Error("gl-fbo: Context does not support floating point textures");_=A.FLOAT}else w.preferFloat&&G>0&&H&&(_=A.FLOAT);var V=!0;"depth"in w&&(V=!!w.depth);var N=!1;return"stencil"in w&&(N=!!w.stencil),new M(A,o,k,_,G,V,N,U)}},3530:function(d,m,r){var t=r(8974).sprintf,s=r(6603),n=r(9365),f=r(8008);d.exports=c;function c(u,b,h){var S=n(b)||"of unknown name (see npm glsl-shader-name)",v="unknown type";h!==void 0&&(v=h===s.FRAGMENT_SHADER?"fragment":"vertex");for(var l=t(`Error compiling %s shader %s: -`,v,S),g=t("%s%s",l,u),C=u.split(` -`),M={},D=0;D>G*8&255;this.pickOffset=C,D.bind();var _=D.uniforms;_.viewTransform=l,_.pickOffset=g,_.shape=this.shape;var H=D.attributes;return this.positionBuffer.bind(),H.position.pointer(),this.weightBuffer.bind(),H.weight.pointer(A.UNSIGNED_BYTE,!1),this.idBuffer.bind(),H.pickId.pointer(A.UNSIGNED_BYTE,!1),A.drawArrays(A.TRIANGLES,0,P),C+this.shape[0]*this.shape[1]}}}(),h.pick=function(l,g,C){var M=this.pickOffset,D=this.shape[0]*this.shape[1];if(C=M+D)return null;var T=C-M,P=this.xData,A=this.yData;return{object:this,pointId:T,dataCoord:[P[T%this.shape[0]],A[T/this.shape[0]|0]]}},h.update=function(l){l=l||{};var g=l.shape||[0,0],C=l.x||s(g[0]),M=l.y||s(g[1]),D=l.z||new Float32Array(g[0]*g[1]),T=l.zsmooth!==!1;this.xData=C,this.yData=M;var P=l.colorLevels||[0],A=l.colorValues||[0,0,0,1],o=P.length,k=this.bounds,w,U,F,G;T?(w=k[0]=C[0],U=k[1]=M[0],F=k[2]=C[C.length-1],G=k[3]=M[M.length-1]):(w=k[0]=C[0]+(C[1]-C[0])/2,U=k[1]=M[0]+(M[1]-M[0])/2,F=k[2]=C[C.length-1]+(C[C.length-1]-C[C.length-2])/2,G=k[3]=M[M.length-1]+(M[M.length-1]-M[M.length-2])/2);var _=1/(F-w),H=1/(G-U),V=g[0],N=g[1];this.shape=[V,N];var W=(T?(V-1)*(N-1):V*N)*(S.length>>>1);this.numVertices=W;for(var j=n.mallocUint8(W*4),Q=n.mallocFloat32(W*2),ie=n.mallocUint8(W*2),ue=n.mallocUint32(W),pe=0,q=T?V-1:V,X=T?N-1:N,K=0;K max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform sampler2D dashTexture; -uniform float dashScale; -uniform float opacity; - -varying vec3 worldPosition; -varying float pixelArcLength; -varying vec4 fragColor; - -void main() { - if ( - outOfRange(clipBounds[0], clipBounds[1], worldPosition) || - fragColor.a * opacity == 0. - ) discard; - - float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r; - if(dashWeight < 0.5) { - discard; - } - gl_FragColor = fragColor * opacity; -} -`]),c=t([`precision highp float; -#define GLSLIFY 1 - -#define FLOAT_MAX 1.70141184e38 -#define FLOAT_MIN 1.17549435e-38 - -// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl -vec4 packFloat(float v) { - float av = abs(v); - - //Handle special cases - if(av < FLOAT_MIN) { - return vec4(0.0, 0.0, 0.0, 0.0); - } else if(v > FLOAT_MAX) { - return vec4(127.0, 128.0, 0.0, 0.0) / 255.0; - } else if(v < -FLOAT_MAX) { - return vec4(255.0, 128.0, 0.0, 0.0) / 255.0; - } - - vec4 c = vec4(0,0,0,0); - - //Compute exponent and mantissa - float e = floor(log2(av)); - float m = av * pow(2.0, -e) - 1.0; - - //Unpack mantissa - c[1] = floor(128.0 * m); - m -= c[1] / 128.0; - c[2] = floor(32768.0 * m); - m -= c[2] / 32768.0; - c[3] = floor(8388608.0 * m); - - //Unpack exponent - float ebias = e + 127.0; - c[0] = floor(ebias / 2.0); - ebias -= c[0] * 2.0; - c[1] += floor(ebias) * 128.0; - - //Unpack sign bit - c[0] += 128.0 * step(0.0, -v); - - //Scale back to range - return c / 255.0; -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform float pickId; -uniform vec3 clipBounds[2]; - -varying vec3 worldPosition; -varying float pixelArcLength; -varying vec4 fragColor; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard; - - gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz); -}`]),u=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];m.createShader=function(b){return s(b,n,f,null,u)},m.createPickShader=function(b){return s(b,n,c,null,u)}},6086:function(d,m,r){d.exports=A;var t=r(5827),s=r(2944),n=r(8931),f=new Uint8Array(4),c=new Float32Array(f.buffer);function u(o,k,w,U){return f[0]=U,f[1]=w,f[2]=k,f[3]=o,c[0]}var b=r(5070),h=r(5050),S=r(248),v=S.createShader,l=S.createPickShader,g=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function C(o,k){for(var w=0,U=0;U<3;++U){var F=o[U]-k[U];w+=F*F}return Math.sqrt(w)}function M(o){for(var k=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],w=0;w<3;++w)k[0][w]=Math.max(o[0][w],k[0][w]),k[1][w]=Math.min(o[1][w],k[1][w]);return k}function D(o,k,w,U){this.arcLength=o,this.position=k,this.index=w,this.dataCoordinate=U}function T(o,k,w,U,F,G){this.gl=o,this.shader=k,this.pickShader=w,this.buffer=U,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=G,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var P=T.prototype;P.isTransparent=function(){return this.hasAlpha},P.isOpaque=function(){return!this.hasAlpha},P.pickSlots=1,P.setPickBase=function(o){this.pickId=o},P.drawTransparent=P.draw=function(o){if(this.vertexCount){var k=this.gl,w=this.shader,U=this.vao;w.bind(),w.uniforms={model:o.model||g,view:o.view||g,projection:o.projection||g,clipBounds:M(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[k.drawingBufferWidth,k.drawingBufferHeight],pixelRatio:this.pixelRatio},U.bind(),U.draw(k.TRIANGLE_STRIP,this.vertexCount),U.unbind()}},P.drawPick=function(o){if(this.vertexCount){var k=this.gl,w=this.pickShader,U=this.vao;w.bind(),w.uniforms={model:o.model||g,view:o.view||g,projection:o.projection||g,pickId:this.pickId,clipBounds:M(this.clipBounds),screenShape:[k.drawingBufferWidth,k.drawingBufferHeight],pixelRatio:this.pixelRatio},U.bind(),U.draw(k.TRIANGLE_STRIP,this.vertexCount),U.unbind()}},P.update=function(o){var k,w;this.dirty=!0;var U=!!o.connectGaps;"dashScale"in o&&(this.dashScale=o.dashScale),this.hasAlpha=!1,"opacity"in o&&(this.opacity=+o.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],G=[],_=[],H=0,V=0,N=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],W=o.position||o.positions;if(W){var j=o.color||o.colors||[0,0,0,1],Q=o.lineWidth||1,ie=!1;e:for(k=1;k0){for(var q=0;q<24;++q)F.push(F[F.length-12]);V+=2,ie=!0}continue e}N[0][w]=Math.min(N[0][w],ue[w],pe[w]),N[1][w]=Math.max(N[1][w],ue[w],pe[w])}var X,K;Array.isArray(j[0])?(X=j.length>k-1?j[k-1]:j.length>0?j[j.length-1]:[0,0,0,1],K=j.length>k?j[k]:j.length>0?j[j.length-1]:[0,0,0,1]):X=K=j,X.length===3&&(X=[X[0],X[1],X[2],1]),K.length===3&&(K=[K[0],K[1],K[2],1]),!this.hasAlpha&&X[3]<1&&(this.hasAlpha=!0);var J;Array.isArray(Q)?J=Q.length>k-1?Q[k-1]:Q.length>0?Q[Q.length-1]:[0,0,0,1]:J=Q;var re=H;if(H+=C(ue,pe),ie){for(w=0;w<2;++w)F.push(ue[0],ue[1],ue[2],pe[0],pe[1],pe[2],re,J,X[0],X[1],X[2],X[3]);V+=2,ie=!1}F.push(ue[0],ue[1],ue[2],pe[0],pe[1],pe[2],re,J,X[0],X[1],X[2],X[3],ue[0],ue[1],ue[2],pe[0],pe[1],pe[2],re,-J,X[0],X[1],X[2],X[3],pe[0],pe[1],pe[2],ue[0],ue[1],ue[2],H,-J,K[0],K[1],K[2],K[3],pe[0],pe[1],pe[2],ue[0],ue[1],ue[2],H,J,K[0],K[1],K[2],K[3]),V+=4}}if(this.buffer.update(F),G.push(H),_.push(W[W.length-1].slice()),this.bounds=N,this.vertexCount=V,this.points=_,this.arcLength=G,"dashes"in o){var fe=o.dashes,te=fe.slice();for(te.unshift(0),k=1;k1.0001)return null;w+=k[D]}return Math.abs(w-1)>.001?null:[T,u(h,k),k]}},2056:function(d,m,r){var t=r(6832),s=t([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position, normal; -attribute vec4 color; -attribute vec2 uv; - -uniform mat4 model - , view - , projection - , inverseModel; -uniform vec3 eyePosition - , lightPosition; - -varying vec3 f_normal - , f_lightDirection - , f_eyeDirection - , f_data; -varying vec4 f_color; -varying vec2 f_uv; - -vec4 project(vec3 p) { - return projection * view * model * vec4(p, 1.0); -} - -void main() { - gl_Position = project(position); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * vec4(position , 1.0); - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - f_color = color; - f_data = position; - f_uv = uv; -} -`]),n=t([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness - , fresnel - , kambient - , kdiffuse - , kspecular; -uniform sampler2D texture; - -varying vec3 f_normal - , f_lightDirection - , f_eyeDirection - , f_data; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (f_color.a == 0.0 || - outOfRange(clipBounds[0], clipBounds[1], f_data) - ) discard; - - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d - - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * f_color.a; -} -`]),f=t([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec4 color; -attribute vec2 uv; - -uniform mat4 model, view, projection; - -varying vec4 f_color; -varying vec3 f_data; -varying vec2 f_uv; - -void main() { - gl_Position = projection * view * model * vec4(position, 1.0); - f_color = color; - f_data = position; - f_uv = uv; -}`]),c=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform sampler2D texture; -uniform float opacity; - -varying vec4 f_color; -varying vec3 f_data; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard; - - gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),u=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 uv; -attribute float pointSize; - -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0); - } else { - gl_Position = projection * view * model * vec4(position, 1.0); - } - gl_PointSize = pointSize; - f_color = color; - f_uv = uv; -}`]),b=t([`precision highp float; -#define GLSLIFY 1 - -uniform sampler2D texture; -uniform float opacity; - -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5); - if(dot(pointR, pointR) > 0.25) { - discard; - } - gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),h=t([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec4 id; - -uniform mat4 model, view, projection; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - gl_Position = projection * view * model * vec4(position, 1.0); - f_id = id; - f_position = position; -}`]),S=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]),v=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute float pointSize; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0.0, 0.0, 0.0, 0.0); - } else { - gl_Position = projection * view * model * vec4(position, 1.0); - gl_PointSize = pointSize; - } - f_id = id; - f_position = position; -}`]),l=t([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; - -uniform mat4 model, view, projection; - -void main() { - gl_Position = projection * view * model * vec4(position, 1.0); -}`]),g=t([`precision highp float; -#define GLSLIFY 1 - -uniform vec3 contourColor; - -void main() { - gl_FragColor = vec4(contourColor, 1.0); -} -`]);m.meshShader={vertex:s,fragment:n,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},m.wireShader={vertex:f,fragment:c,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},m.pointShader={vertex:u,fragment:b,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},m.pickShader={vertex:h,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},m.pointPickShader={vertex:v,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},m.contourShader={vertex:l,fragment:g,attributes:[{name:"position",type:"vec3"}]}},8116:function(d,m,r){var t=1e-6,s=1e-6,n=r(5158),f=r(5827),c=r(2944),u=r(8931),b=r(115),h=r(104),S=r(7437),v=r(5050),l=r(9156),g=r(7212),C=r(5306),M=r(2056),D=r(4340),T=M.meshShader,P=M.wireShader,A=M.pointShader,o=M.pickShader,k=M.pointPickShader,w=M.contourShader,U=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function F(q,X,K,J,re,fe,te,ee,ce,le,me,we,Se,Ee,We,Ye,De,Te,Re,Xe,Je,He,$e,pt,ut,lt,ke){this.gl=q,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=X,this.dirty=!0,this.triShader=K,this.lineShader=J,this.pointShader=re,this.pickShader=fe,this.pointPickShader=te,this.contourShader=ee,this.trianglePositions=ce,this.triangleColors=me,this.triangleNormals=Se,this.triangleUVs=we,this.triangleIds=le,this.triangleVAO=Ee,this.triangleCount=0,this.lineWidth=1,this.edgePositions=We,this.edgeColors=De,this.edgeUVs=Te,this.edgeIds=Ye,this.edgeVAO=Re,this.edgeCount=0,this.pointPositions=Xe,this.pointColors=He,this.pointUVs=$e,this.pointSizes=pt,this.pointIds=Je,this.pointVAO=ut,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=lt,this.contourVAO=ke,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=U,this._view=U,this._projection=U,this._resolution=[1,1]}var G=F.prototype;G.isOpaque=function(){return!this.hasAlpha},G.isTransparent=function(){return this.hasAlpha},G.pickSlots=1,G.setPickBase=function(q){this.pickId=q};function _(q,X){if(!X||!X.length)return 1;for(var K=0;Kq&&K>0){var J=(X[K][0]-q)/(X[K][0]-X[K-1][0]);return X[K][1]*(1-J)+J*X[K-1][1]}}return 1}function H(q,X){for(var K=l({colormap:q,nshades:256,format:"rgba"}),J=new Uint8Array(256*4),re=0;re<256;++re){for(var fe=K[re],te=0;te<3;++te)J[4*re+te]=fe[te];X?J[4*re+3]=255*_(re/255,X):J[4*re+3]=255*fe[3]}return v(J,[256,256,4],[4,0,1])}function V(q){for(var X=q.length,K=new Array(X),J=0;J0){var Se=this.triShader;Se.bind(),Se.uniforms=ee,this.triangleVAO.bind(),X.drawArrays(X.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()}if(this.edgeCount>0&&this.lineWidth>0){var Se=this.lineShader;Se.bind(),Se.uniforms=ee,this.edgeVAO.bind(),X.lineWidth(this.lineWidth*this.pixelRatio),X.drawArrays(X.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()}if(this.pointCount>0){var Se=this.pointShader;Se.bind(),Se.uniforms=ee,this.pointVAO.bind(),X.drawArrays(X.POINTS,0,this.pointCount),this.pointVAO.unbind()}if(this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0){var Se=this.contourShader;Se.bind(),Se.uniforms=ee,this.contourVAO.bind(),X.drawArrays(X.LINES,0,this.contourCount),this.contourVAO.unbind()}},G.drawPick=function(q){q=q||{};for(var X=this.gl,K=q.model||U,J=q.view||U,re=q.projection||U,fe=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],te=0;te<3;++te)fe[0][te]=Math.max(fe[0][te],this.clipBounds[0][te]),fe[1][te]=Math.min(fe[1][te],this.clipBounds[1][te]);this._model=[].slice.call(K),this._view=[].slice.call(J),this._projection=[].slice.call(re),this._resolution=[X.drawingBufferWidth,X.drawingBufferHeight];var ee={model:K,view:J,projection:re,clipBounds:fe,pickId:this.pickId/255},ce=this.pickShader;if(ce.bind(),ce.uniforms=ee,this.triangleCount>0&&(this.triangleVAO.bind(),X.drawArrays(X.TRIANGLES,0,this.triangleCount*3),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),X.lineWidth(this.lineWidth*this.pixelRatio),X.drawArrays(X.LINES,0,this.edgeCount*2),this.edgeVAO.unbind()),this.pointCount>0){var ce=this.pointPickShader;ce.bind(),ce.uniforms=ee,this.pointVAO.bind(),X.drawArrays(X.POINTS,0,this.pointCount),this.pointVAO.unbind()}},G.pick=function(q){if(!q||q.id!==this.pickId)return null;for(var X=q.value[0]+256*q.value[1]+65536*q.value[2],K=this.cells[X],J=this.positions,re=new Array(K.length),fe=0;feT[ie]&&(M.uniforms.dataAxis=S,M.uniforms.screenOffset=v,M.uniforms.color=G[g],M.uniforms.angle=_[g],P.drawArrays(P.TRIANGLES,T[ie],T[ue]-T[ie]))),H[g]&&Q&&(v[g^1]-=pe*w*V[g],M.uniforms.dataAxis=l,M.uniforms.screenOffset=v,M.uniforms.color=N[g],M.uniforms.angle=W[g],P.drawArrays(P.TRIANGLES,j,Q)),v[g^1]=pe*A[2+(g^1)]-1,U[g+2]&&(v[g^1]+=pe*w*F[g+2],ieT[ie]&&(M.uniforms.dataAxis=S,M.uniforms.screenOffset=v,M.uniforms.color=G[g+2],M.uniforms.angle=_[g+2],P.drawArrays(P.TRIANGLES,T[ie],T[ue]-T[ie]))),H[g+2]&&Q&&(v[g^1]+=pe*w*V[g+2],M.uniforms.dataAxis=l,M.uniforms.screenOffset=v,M.uniforms.color=N[g+2],M.uniforms.angle=W[g+2],P.drawArrays(P.TRIANGLES,j,Q))}}(),b.drawTitle=function(){var S=[0,0],v=[0,0];return function(){var l=this.plot,g=this.shader,C=l.gl,M=l.screenBox,D=l.titleCenter,T=l.titleAngle,P=l.titleColor,A=l.pixelRatio;if(this.titleCount){for(var o=0;o<2;++o)v[o]=2*(D[o]*A-M[o])/(M[2+o]-M[o])-1;g.bind(),g.uniforms.dataAxis=S,g.uniforms.screenOffset=v,g.uniforms.angle=T,g.uniforms.color=P,C.drawArrays(C.TRIANGLES,this.titleOffset,this.titleCount)}}}(),b.bind=function(){var S=[0,0],v=[0,0],l=[0,0];return function(){var g=this.plot,C=this.shader,M=g._tickBounds,D=g.dataBox,T=g.screenBox,P=g.viewBox;C.bind();for(var A=0;A<2;++A){var o=M[A],k=M[A+2],w=k-o,U=.5*(D[A+2]+D[A]),F=D[A+2]-D[A],G=P[A],_=P[A+2],H=_-G,V=T[A],N=T[A+2],W=N-V;v[A]=2*w/F*H/W,S[A]=2*(o-U)/F*H/W}l[1]=2*g.pixelRatio/(T[3]-T[1]),l[0]=l[1]*(T[3]-T[1])/(T[2]-T[0]),C.uniforms.dataScale=v,C.uniforms.dataShift=S,C.uniforms.textScale=l,this.vbo.bind(),C.attributes.textCoordinate.pointer()}}(),b.update=function(S){var v=[],l=S.ticks,g=S.bounds,C,M,D,T,P;for(P=0;P<2;++P){var A=[Math.floor(v.length/3)],o=[-1/0],k=l[P];for(C=0;C=0))){var H=g[_]-M[_]*(g[_+2]-g[_])/(M[_+2]-M[_]);_===0?P.drawLine(H,g[1],H,g[3],G[_],F[_]):P.drawLine(g[0],H,g[2],H,G[_],F[_])}}for(var _=0;_=0;--l)this.objects[l].dispose();this.objects.length=0;for(var l=this.overlays.length-1;l>=0;--l)this.overlays[l].dispose();this.overlays.length=0,this.gl=null},b.addObject=function(l){this.objects.indexOf(l)<0&&(this.objects.push(l),this.setDirty())},b.removeObject=function(l){for(var g=this.objects,C=0;CMath.abs(o))l.rotate(U,0,0,-A*k*Math.PI*T.rotateSpeed/window.innerWidth);else if(!T._ortho){var F=-T.zoomSpeed*w*o/window.innerHeight*(U-l.lastT())/20;l.pan(U,0,0,C*(Math.exp(F)-1))}}},!0)},T.enableMouseListeners(),T}},8245:function(d,m,r){var t=r(6832),s=r(5158),n=t([`precision mediump float; -#define GLSLIFY 1 -attribute vec2 position; -varying vec2 uv; -void main() { - uv = position; - gl_Position = vec4(position, 0, 1); -}`]),f=t([`precision mediump float; -#define GLSLIFY 1 - -uniform sampler2D accumBuffer; -varying vec2 uv; - -void main() { - vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); - gl_FragColor = min(vec4(1,1,1,1), accum); -}`]);d.exports=function(c){return s(c,n,f,null,[{name:"position",type:"vec2"}])}},1059:function(d,m,r){var t=r(4296),s=r(7453),n=r(2771),f=r(6496),c=r(2611),u=r(4234),b=r(8126),h=r(6145),S=r(1120),v=r(5268),l=r(8245),g=r(2321)({tablet:!0,featureDetect:!0});d.exports={createScene:P,createCamera:t};function C(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function M(o,k){var w=null;try{w=o.getContext("webgl",k),w||(w=o.getContext("experimental-webgl",k))}catch{return null}return w}function D(o){var k=Math.round(Math.log(Math.abs(o))/Math.log(10));if(k<0){var w=Math.round(Math.pow(10,-k));return Math.ceil(o*w)/w}else if(k>0){var w=Math.round(Math.pow(10,k));return Math.ceil(o/w)*w}return Math.ceil(o)}function T(o){return typeof o=="boolean"?o:!0}function P(o){o=o||{},o.camera=o.camera||{};var k=o.canvas;if(!k)if(k=document.createElement("canvas"),o.container){var w=o.container;w.appendChild(k)}else document.body.appendChild(k);var U=o.gl;if(U||(o.glOptions&&(g=!!o.glOptions.preserveDrawingBuffer),U=M(k,o.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:g})),!U)throw new Error("webgl not supported");var F=o.bounds||[[-10,-10,-10],[10,10,10]],G=new C,_=u(U,U.drawingBufferWidth,U.drawingBufferHeight,{preferFloat:!g}),H=l(U),V=o.cameraObject&&o.cameraObject._ortho===!0||o.camera.projection&&o.camera.projection.type==="orthographic"||!1,N={eye:o.camera.eye||[2,0,0],center:o.camera.center||[0,0,0],up:o.camera.up||[0,1,0],zoomMin:o.camera.zoomMax||.1,zoomMax:o.camera.zoomMin||100,mode:o.camera.mode||"turntable",_ortho:V},W=o.axes||{},j=s(U,W);j.enable=!W.disable;var Q=o.spikes||{},ie=f(U,Q),ue=[],pe=[],q=[],X=[],K=!0,te=!0,J=new Array(16),re=new Array(16),fe={view:null,projection:J,model:re,_ortho:!1},te=!0,ee=[U.drawingBufferWidth,U.drawingBufferHeight],ce=o.cameraObject||t(k,N),le={gl:U,contextLost:!1,pixelRatio:o.pixelRatio||1,canvas:k,selection:G,camera:ce,axes:j,axesPixels:null,spikes:ie,bounds:F,objects:ue,shape:ee,aspect:o.aspectRatio||[1,1,1],pickRadius:o.pickRadius||10,zNear:o.zNear||.01,zFar:o.zFar||1e3,fovy:o.fovy||Math.PI/4,clearColor:o.clearColor||[0,0,0,0],autoResize:T(o.autoResize),autoBounds:T(o.autoBounds),autoScale:!!o.autoScale,autoCenter:T(o.autoCenter),clipToBounds:T(o.clipToBounds),snapToData:!!o.snapToData,onselect:o.onselect||null,onrender:o.onrender||null,onclick:o.onclick||null,cameraParams:fe,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Xe){this.aspect[0]=Xe.x,this.aspect[1]=Xe.y,this.aspect[2]=Xe.z,te=!0},setBounds:function(Xe,Je){this.bounds[0][Xe]=Je.min,this.bounds[1][Xe]=Je.max},setClearColor:function(Xe){this.clearColor=Xe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},me=[U.drawingBufferWidth/le.pixelRatio|0,U.drawingBufferHeight/le.pixelRatio|0];function we(){if(!le._stopped&&le.autoResize){var Xe=k.parentNode,Je=1,He=1;Xe&&Xe!==document.body?(Je=Xe.clientWidth,He=Xe.clientHeight):(Je=window.innerWidth,He=window.innerHeight);var $e=Math.ceil(Je*le.pixelRatio)|0,pt=Math.ceil(He*le.pixelRatio)|0;if($e!==k.width||pt!==k.height){k.width=$e,k.height=pt;var ut=k.style;ut.position=ut.position||"absolute",ut.left="0px",ut.top="0px",ut.width=Je+"px",ut.height=He+"px",K=!0}}}le.autoResize&&we(),window.addEventListener("resize",we);function Se(){for(var Xe=ue.length,Je=X.length,He=0;He0&&q[Je-1]===0;)q.pop(),X.pop().dispose()}le.update=function(Xe){le._stopped||(K=!0,te=!0)},le.add=function(Xe){le._stopped||(Xe.axes=j,ue.push(Xe),pe.push(-1),K=!0,te=!0,Se())},le.remove=function(Xe){if(!le._stopped){var Je=ue.indexOf(Xe);Je<0||(ue.splice(Je,1),pe.pop(),K=!0,te=!0,Se())}},le.dispose=function(){if(!le._stopped&&(le._stopped=!0,window.removeEventListener("resize",we),k.removeEventListener("webglcontextlost",Ee),le.mouseListener.enabled=!1,!le.contextLost)){j.dispose(),ie.dispose();for(var Xe=0;XeG.distance)continue;for(var gt=0;gt 1.0) { - discard; - } - baseColor = mix(borderColor, color, step(radius, centerFraction)); - gl_FragColor = vec4(baseColor.rgb * baseColor.a, baseColor.a); - } -} -`]),m.pickVertex=t([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 position; -attribute vec4 pickId; - -uniform mat3 matrix; -uniform float pointSize; -uniform vec4 pickOffset; - -varying vec4 fragId; - -void main() { - vec3 hgPosition = matrix * vec3(position, 1); - gl_Position = vec4(hgPosition.xy, 0, hgPosition.z); - gl_PointSize = pointSize; - - vec4 id = pickId + pickOffset; - id.y += floor(id.x / 256.0); - id.x -= floor(id.x / 256.0) * 256.0; - - id.z += floor(id.y / 256.0); - id.y -= floor(id.y / 256.0) * 256.0; - - id.w += floor(id.z / 256.0); - id.z -= floor(id.z / 256.0) * 256.0; - - fragId = id; -} -`]),m.pickFragment=t([`precision mediump float; -#define GLSLIFY 1 - -varying vec4 fragId; - -void main() { - float radius = length(2.0 * gl_PointCoord.xy - 1.0); - if(radius > 1.0) { - discard; - } - gl_FragColor = fragId / 255.0; -} -`])},8271:function(d,m,r){var t=r(5158),s=r(5827),n=r(5306),f=r(8023);d.exports=h;function c(S,v,l,g,C){this.plot=S,this.offsetBuffer=v,this.pickBuffer=l,this.shader=g,this.pickShader=C,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}var u=c.prototype;u.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},u.update=function(S){var v;S=S||{};function l(A,o){return A in S?S[A]:o}this.sizeMin=l("sizeMin",.5),this.sizeMax=l("sizeMax",20),this.color=l("color",[1,0,0,1]).slice(),this.areaRatio=l("areaRatio",1),this.borderColor=l("borderColor",[0,0,0,1]).slice(),this.blend=l("blend",!1);var g=S.positions.length>>>1,C=S.positions instanceof Float32Array,M=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=g,D=S.positions,T=C?D:n.mallocFloat32(D.length),P=M?S.idToIndex:n.mallocInt32(g);if(C||T.set(D),!M)for(T.set(D),v=0;v>>1,C;for(C=0;C=v[0]&&M<=v[2]&&D>=v[1]&&D<=v[3]&&l++}return l}u.unifiedDraw=function(){var S=[1,0,0,0,1,0,0,0,1],v=[0,0,0,0];return function(l){var g=l!==void 0,C=g?this.pickShader:this.shader,M=this.plot.gl,D=this.plot.dataBox;if(this.pointCount===0)return l;var T=D[2]-D[0],P=D[3]-D[1],A=b(this.points,D),o=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(A,.33333)));S[0]=2/T,S[4]=2/P,S[6]=-2*D[0]/T-1,S[7]=-2*D[1]/P-1,this.offsetBuffer.bind(),C.bind(),C.attributes.position.pointer(),C.uniforms.matrix=S,C.uniforms.color=this.color,C.uniforms.borderColor=this.borderColor,C.uniforms.pointCloud=o<5,C.uniforms.pointSize=o,C.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),g&&(v[0]=l&255,v[1]=l>>8&255,v[2]=l>>16&255,v[3]=l>>24&255,this.pickBuffer.bind(),C.attributes.pickId.pointer(M.UNSIGNED_BYTE),C.uniforms.pickOffset=v,this.pickOffset=l);var k=M.getParameter(M.BLEND),w=M.getParameter(M.DITHER);return k&&!this.blend&&M.disable(M.BLEND),w&&M.disable(M.DITHER),M.drawArrays(M.POINTS,0,this.pointCount),k&&!this.blend&&M.enable(M.BLEND),w&&M.enable(M.DITHER),l+this.pointCount}}(),u.draw=u.unifiedDraw,u.drawPick=u.unifiedDraw,u.pick=function(S,v,l){var g=this.pickOffset,C=this.pointCount;if(l=g+C)return null;var M=l-g,D=this.points;return{object:this,pointId:M,dataCoord:[D[2*M],D[2*M+1]]}};function h(S,v){var l=S.gl,g=s(l),C=s(l),M=t(l,f.pointVertex,f.pointFragment),D=t(l,f.pickVertex,f.pickFragment),T=new c(S,g,C,M,D);return T.update(v),S.addObject(T),T}},6093:function(d){d.exports=m;function m(r,t,s,n){var f=t[0],c=t[1],u=t[2],b=t[3],h=s[0],S=s[1],v=s[2],l=s[3],g,C,M,D,T;return C=f*h+c*S+u*v+b*l,C<0&&(C=-C,h=-h,S=-S,v=-v,l=-l),1-C>1e-6?(g=Math.acos(C),M=Math.sin(g),D=Math.sin((1-n)*g)/M,T=Math.sin(n*g)/M):(D=1-n,T=n),r[0]=D*f+T*h,r[1]=D*c+T*S,r[2]=D*u+T*v,r[3]=D*b+T*l,r}},8240:function(d){d.exports=function(m){return!m&&m!==0?"":m.toString()}},4123:function(d,m,r){var t=r(875);d.exports=n;var s={};function n(f,c,u){var b=s[c];if(b||(b=s[c]={}),f in b)return b[f];var h={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}};h.triangles=!0;var S=t(f,h);h.triangles=!1;var v=t(f,h),l,g;if(u&&u!==1){for(l=0;l max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform vec4 highlightId; -uniform float highlightScale; -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float scale = 1.0; - if(distance(highlightId, id) < 0.0001) { - scale = highlightScale; - } - - vec4 worldPosition = model * vec4(position, 1); - vec4 viewPosition = view * worldPosition; - viewPosition = viewPosition / viewPosition.w; - vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0)); - - gl_Position = clipPosition; - interpColor = color; - pickId = id; - dataCoordinate = position; - } -}`]),f=s([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform vec2 screenSize; -uniform vec3 clipBounds[2]; -uniform float highlightScale, pixelRatio; -uniform vec4 highlightId; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float scale = pixelRatio; - if(distance(highlightId.bgr, id.bgr) < 0.001) { - scale *= highlightScale; - } - - vec4 worldPosition = model * vec4(position, 1.0); - vec4 viewPosition = view * worldPosition; - vec4 clipPosition = projection * viewPosition; - clipPosition /= clipPosition.w; - - gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0); - interpColor = color; - pickId = id; - dataCoordinate = position; - } -}`]),c=s([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform float highlightScale; -uniform vec4 highlightId; -uniform vec3 axes[2]; -uniform mat4 model, view, projection; -uniform vec2 screenSize; -uniform vec3 clipBounds[2]; -uniform float scale, pixelRatio; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float lscale = pixelRatio * scale; - if(distance(highlightId, id) < 0.0001) { - lscale *= highlightScale; - } - - vec4 clipCenter = projection * view * model * vec4(position, 1); - vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y; - vec4 clipPosition = projection * view * model * vec4(dataPosition, 1); - - gl_Position = clipPosition; - interpColor = color; - pickId = id; - dataCoordinate = dataPosition; - } -} -`]),u=s([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 fragClipBounds[2]; -uniform float opacity; - -varying vec4 interpColor; -varying vec3 dataCoordinate; - -void main() { - if ( - outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) || - interpColor.a * opacity == 0. - ) discard; - gl_FragColor = interpColor * opacity; -} -`]),b=s([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 fragClipBounds[2]; -uniform float pickGroup; - -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard; - - gl_FragColor = vec4(pickGroup, pickId.bgr); -}`]),h=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],S={vertex:n,fragment:u,attributes:h},v={vertex:f,fragment:u,attributes:h},l={vertex:c,fragment:u,attributes:h},g={vertex:n,fragment:b,attributes:h},C={vertex:f,fragment:b,attributes:h},M={vertex:c,fragment:b,attributes:h};function D(T,P){var A=t(T,P),o=A.attributes;return o.position.location=0,o.color.location=1,o.glyph.location=2,o.id.location=3,A}m.createPerspective=function(T){return D(T,S)},m.createOrtho=function(T){return D(T,v)},m.createProject=function(T){return D(T,l)},m.createPickPerspective=function(T){return D(T,g)},m.createPickOrtho=function(T){return D(T,C)},m.createPickProject=function(T){return D(T,M)}},2182:function(d,m,r){var t=r(3596),s=r(5827),n=r(2944),f=r(5306),c=r(104),u=r(9282),b=r(4123),h=r(8240),S=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];d.exports=pe;function v(q,X){var K=q[0],J=q[1],re=q[2],fe=q[3];return q[0]=X[0]*K+X[4]*J+X[8]*re+X[12]*fe,q[1]=X[1]*K+X[5]*J+X[9]*re+X[13]*fe,q[2]=X[2]*K+X[6]*J+X[10]*re+X[14]*fe,q[3]=X[3]*K+X[7]*J+X[11]*re+X[15]*fe,q}function l(q,X,K,J){return v(J,J),v(J,J),v(J,J)}function g(q,X){this.index=q,this.dataCoordinate=this.position=X}function C(q){return q===!0||q>1?1:q}function M(q,X,K,J,re,fe,te,ee,ce,le,me,we){this.gl=q,this.pixelRatio=1,this.shader=X,this.orthoShader=K,this.projectShader=J,this.pointBuffer=re,this.colorBuffer=fe,this.glyphBuffer=te,this.idBuffer=ee,this.vao=ce,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=le,this.pickOrthoShader=me,this.pickProjectShader=we,this.points=[],this._selectResult=new g(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}var D=M.prototype;D.pickSlots=1,D.setPickBase=function(q){this.pickId=q},D.isTransparent=function(){if(this.hasAlpha)return!0;for(var q=0;q<3;++q)if(this.axesProject[q]&&this.projectHasAlpha)return!0;return!1},D.isOpaque=function(){if(!this.hasAlpha)return!0;for(var q=0;q<3;++q)if(this.axesProject[q]&&!this.projectHasAlpha)return!0;return!1};var T=[0,0],P=[0,0,0],A=[0,0,0],o=[0,0,0,1],k=[0,0,0,1],w=S.slice(),U=[0,0,0],F=[[0,0,0],[0,0,0]];function G(q){return q[0]=q[1]=q[2]=0,q}function _(q,X){return q[0]=X[0],q[1]=X[1],q[2]=X[2],q[3]=1,q}function H(q,X,K,J){return q[0]=X[0],q[1]=X[1],q[2]=X[2],q[K]=J,q}function V(q){for(var X=F,K=0;K<2;++K)for(var J=0;J<3;++J)X[K][J]=Math.max(Math.min(q[K][J],1e8),-1e8);return X}function N(q,X,K,J){var re=X.axesProject,fe=X.gl,te=q.uniforms,ee=K.model||S,ce=K.view||S,le=K.projection||S,me=X.axesBounds,we=V(X.clipBounds),Se;X.axes&&X.axes.lastCubeProps?Se=X.axes.lastCubeProps.axis:Se=[1,1,1],T[0]=2/fe.drawingBufferWidth,T[1]=2/fe.drawingBufferHeight,q.bind(),te.view=ce,te.projection=le,te.screenSize=T,te.highlightId=X.highlightId,te.highlightScale=X.highlightScale,te.clipBounds=we,te.pickGroup=X.pickId/255,te.pixelRatio=J;for(var Ee=0;Ee<3;++Ee)if(re[Ee]){te.scale=X.projectScale[Ee],te.opacity=X.projectOpacity[Ee];for(var We=w,Ye=0;Ye<16;++Ye)We[Ye]=0;for(var Ye=0;Ye<4;++Ye)We[5*Ye]=1;We[5*Ee]=0,Se[Ee]<0?We[12+Ee]=me[0][Ee]:We[12+Ee]=me[1][Ee],c(We,ee,We),te.model=We;var De=(Ee+1)%3,Te=(Ee+2)%3,Re=G(P),Xe=G(A);Re[De]=1,Xe[Te]=1;var Je=l(le,ce,ee,_(o,Re)),He=l(le,ce,ee,_(k,Xe));if(Math.abs(Je[1])>Math.abs(He[1])){var $e=Je;Je=He,He=$e,$e=Re,Re=Xe,Xe=$e;var pt=De;De=Te,Te=pt}Je[0]<0&&(Re[De]=-1),He[1]>0&&(Xe[Te]=-1);for(var ut=0,lt=0,Ye=0;Ye<4;++Ye)ut+=Math.pow(ee[4*De+Ye],2),lt+=Math.pow(ee[4*Te+Ye],2);Re[De]/=Math.sqrt(ut),Xe[Te]/=Math.sqrt(lt),te.axes[0]=Re,te.axes[1]=Xe,te.fragClipBounds[0]=H(U,we[0],Ee,-1e8),te.fragClipBounds[1]=H(U,we[1],Ee,1e8),X.vao.bind(),X.vao.draw(fe.TRIANGLES,X.vertexCount),X.lineWidth>0&&(fe.lineWidth(X.lineWidth*J),X.vao.draw(fe.LINES,X.lineVertexCount,X.vertexCount)),X.vao.unbind()}}var W=[-1e8,-1e8,-1e8],j=[1e8,1e8,1e8],Q=[W,j];function ie(q,X,K,J,re,fe,te){var ee=K.gl;if((fe===K.projectHasAlpha||te)&&N(X,K,J,re),fe===K.hasAlpha||te){q.bind();var ce=q.uniforms;ce.model=J.model||S,ce.view=J.view||S,ce.projection=J.projection||S,T[0]=2/ee.drawingBufferWidth,T[1]=2/ee.drawingBufferHeight,ce.screenSize=T,ce.highlightId=K.highlightId,ce.highlightScale=K.highlightScale,ce.fragClipBounds=Q,ce.clipBounds=K.axes.bounds,ce.opacity=K.opacity,ce.pickGroup=K.pickId/255,ce.pixelRatio=re,K.vao.bind(),K.vao.draw(ee.TRIANGLES,K.vertexCount),K.lineWidth>0&&(ee.lineWidth(K.lineWidth*re),K.vao.draw(ee.LINES,K.lineVertexCount,K.vertexCount)),K.vao.unbind()}}D.draw=function(q){var X=this.useOrtho?this.orthoShader:this.shader;ie(X,this.projectShader,this,q,this.pixelRatio,!1,!1)},D.drawTransparent=function(q){var X=this.useOrtho?this.orthoShader:this.shader;ie(X,this.projectShader,this,q,this.pixelRatio,!0,!1)},D.drawPick=function(q){var X=this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader;ie(X,this.pickProjectShader,this,q,1,!0,!0)},D.pick=function(q){if(!q||q.id!==this.pickId)return null;var X=q.value[2]+(q.value[1]<<8)+(q.value[0]<<16);if(X>=this.pointCount||X<0)return null;var K=this.points[X],J=this._selectResult;J.index=X;for(var re=0;re<3;++re)J.position[re]=J.dataCoordinate[re]=K[re];return J},D.highlight=function(q){if(!q)this.highlightId=[1,1,1,1];else{var X=q.index,K=X&255,J=X>>8&255,re=X>>16&255;this.highlightId=[K/255,J/255,re/255,0]}};function ue(q,X,K,J){var re;Array.isArray(q)?X0){var Bt=0,Yt=Te,it=[0,0,0,1],Ue=[0,0,0,1],_e=Array.isArray(Se)&&Array.isArray(Se[0]),Ze=Array.isArray(Ye)&&Array.isArray(Ye[0]);e:for(var J=0;J0?1-lt[0][0]:ot<0?1+lt[1][0]:1,ct*=ct>0?1-lt[0][1]:ct<0?1+lt[1][1]:1;for(var Et=[ot,ct],$t=pt.cells||[],vr=pt.positions||[],He=0;He<$t.length;++He)for(var kt=$t[He],nr=0;nr<3;++nr){for(var dr=0;dr<3;++dr)Ne[3*Bt+dr]=Je[dr];for(var dr=0;dr<4;++dr)gt[4*Bt+dr]=it[dr];vt[Bt]=De;var Dt=vr[kt[nr]];qe[2*Bt]=ve*(Ae*Dt[0]-je*Dt[1]+Et[0]),qe[2*Bt+1]=ve*(je*Dt[0]+Ae*Dt[1]+Et[1]),Bt+=1}for(var $t=ut.edges,vr=ut.positions,He=0;He<$t.length;++He)for(var kt=$t[He],nr=0;nr<2;++nr){for(var dr=0;dr<3;++dr)Ne[3*Yt+dr]=Je[dr];for(var dr=0;dr<4;++dr)gt[4*Yt+dr]=Ue[dr];vt[Yt]=De;var Dt=vr[kt[nr]];qe[2*Yt]=ve*(Ae*Dt[0]-je*Dt[1]+Et[0]),qe[2*Yt+1]=ve*(je*Dt[0]+Ae*Dt[1]+Et[1]),Yt+=1}}}this.bounds=[le,me],this.points=re,this.pointCount=re.length,this.vertexCount=Te,this.lineVertexCount=Re,this.pointBuffer.update(Ne),this.colorBuffer.update(gt),this.glyphBuffer.update(qe),this.idBuffer.update(vt),f.free(Ne),f.free(gt),f.free(qe),f.free(vt)},D.dispose=function(){this.shader.dispose(),this.orthoShader.dispose(),this.pickPerspectiveShader.dispose(),this.pickOrthoShader.dispose(),this.vao.dispose(),this.pointBuffer.dispose(),this.colorBuffer.dispose(),this.glyphBuffer.dispose(),this.idBuffer.dispose()};function pe(q){var X=q.gl,K=u.createPerspective(X),J=u.createOrtho(X),re=u.createProject(X),fe=u.createPickPerspective(X),te=u.createPickOrtho(X),ee=u.createPickProject(X),ce=s(X),le=s(X),me=s(X),we=s(X),Se=n(X,[{buffer:ce,size:3,type:X.FLOAT},{buffer:le,size:4,type:X.FLOAT},{buffer:me,size:2,type:X.FLOAT},{buffer:we,size:4,type:X.UNSIGNED_BYTE,normalized:!0}]),Ee=new M(X,K,J,re,ce,le,me,we,Se,fe,te,ee);return Ee.update(q),Ee}},1884:function(d,m,r){var t=r(6832);m.boxVertex=t([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 vertex; - -uniform vec2 cornerA, cornerB; - -void main() { - gl_Position = vec4(mix(cornerA, cornerB, vertex), 0, 1); -} -`]),m.boxFragment=t([`precision mediump float; -#define GLSLIFY 1 - -uniform vec4 color; - -void main() { - gl_FragColor = color; -} -`])},6623:function(d,m,r){var t=r(5158),s=r(5827),n=r(1884);d.exports=u;function f(b,h,S){this.plot=b,this.boxBuffer=h,this.boxShader=S,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}var c=f.prototype;c.draw=function(){if(this.enabled){var b=this.plot,h=this.selectBox,S=this.borderWidth;this.innerFill;var v=this.innerColor;this.outerFill;var l=this.outerColor,g=this.borderColor,C=b.box,M=b.screenBox,D=b.dataBox,T=b.viewBox,P=b.pixelRatio,A=(h[0]-D[0])*(T[2]-T[0])/(D[2]-D[0])+T[0],o=(h[1]-D[1])*(T[3]-T[1])/(D[3]-D[1])+T[1],k=(h[2]-D[0])*(T[2]-T[0])/(D[2]-D[0])+T[0],w=(h[3]-D[1])*(T[3]-T[1])/(D[3]-D[1])+T[1];if(A=Math.max(A,T[0]),o=Math.max(o,T[1]),k=Math.min(k,T[2]),w=Math.min(w,T[3]),!(k0){var G=S*P;C.drawBox(A-G,o-G,k+G,o+G,g),C.drawBox(A-G,w-G,k+G,w+G,g),C.drawBox(A-G,o-G,A+G,w+G,g),C.drawBox(k-G,o-G,k+G,w+G,g)}}}},c.update=function(b){b=b||{},this.innerFill=!!b.innerFill,this.outerFill=!!b.outerFill,this.innerColor=(b.innerColor||[0,0,0,.5]).slice(),this.outerColor=(b.outerColor||[0,0,0,.5]).slice(),this.borderColor=(b.borderColor||[0,0,0,1]).slice(),this.borderWidth=b.borderWidth||0,this.selectBox=(b.selectBox||this.selectBox).slice()},c.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)};function u(b,h){var S=b.gl,v=s(S,[0,0,0,1,1,0,1,1]),l=t(S,n.boxVertex,n.boxFragment),g=new f(b,v,l);return g.update(h),b.addOverlay(g),g}},2611:function(d,m,r){d.exports=S;var t=r(4234),s=r(5306),n=r(5050),f=r(2288).nextPow2,c=function(v,l,g){for(var C=1e8,M=-1,D=-1,T=v.shape[0],P=v.shape[1],A=0;Athis.buffer.length){s.free(this.buffer);for(var C=this.buffer=s.mallocUint8(f(g*l*4)),M=0;MC)for(l=C;lg)for(l=g;l=0){for(var V=H.type.charAt(H.type.length-1)|0,N=new Array(V),W=0;W=0;)j+=1;G[_]=j}var Q=new Array(C.length);function ie(){T.program=f.program(P,T._vref,T._fref,F,G);for(var ue=0;ue=0){var o=P.charCodeAt(P.length-1)-48;if(o<2||o>4)throw new t("","Invalid data type for attribute "+T+": "+P);c(h,S,A[0],l,o,g,T)}else if(P.indexOf("mat")>=0){var o=P.charCodeAt(P.length-1)-48;if(o<2||o>4)throw new t("","Invalid data type for attribute "+T+": "+P);u(h,S,A,l,o,g,T)}else throw new t("","Unknown data type for attribute "+T+": "+P);break}}return g}},9016:function(d,m,r){var t=r(3984),s=r(9068);d.exports=c;function n(u){return function(){return u}}function f(u,b){for(var h=new Array(u),S=0;S4)throw new s("","Invalid data type");switch(j.charAt(0)){case"b":case"i":u["uniform"+Q+"iv"](S[G],_);break;case"v":u["uniform"+Q+"fv"](S[G],_);break;default:throw new s("","Unrecognized data type for vector "+name+": "+j)}}else if(j.indexOf("mat")===0&&j.length===4){if(Q=j.charCodeAt(j.length-1)-48,Q<2||Q>4)throw new s("","Invalid uniform dimension type for matrix "+name+": "+j);u["uniformMatrix"+Q+"fv"](S[G],!1,_);break}else throw new s("","Unknown uniform data type for "+name+": "+j)}}}}}function g(P,A){if(typeof A!="object")return[[P,A]];var o=[];for(var k in A){var w=A[k],U=P;parseInt(k)+""===k?U+="["+k+"]":U+="."+k,typeof w=="object"?o.push.apply(o,g(U,w)):o.push([U,w])}return o}function C(P){switch(P){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":return 0;case"float":return 0;default:var A=P.indexOf("vec");if(0<=A&&A<=1&&P.length===4+A){var o=P.charCodeAt(P.length-1)-48;if(o<2||o>4)throw new s("","Invalid data type");return P.charAt(0)==="b"?f(o,!1):f(o,0)}else if(P.indexOf("mat")===0&&P.length===4){var o=P.charCodeAt(P.length-1)-48;if(o<2||o>4)throw new s("","Invalid uniform dimension type for matrix "+name+": "+P);return f(o*o,0)}else throw new s("","Unknown uniform data type for "+name+": "+P)}}function M(P,A,o){if(typeof o=="object"){var k=D(o);Object.defineProperty(P,A,{get:n(k),set:l(o),enumerable:!0,configurable:!1})}else S[o]?Object.defineProperty(P,A,{get:v(o),set:l(o),enumerable:!0,configurable:!1}):P[A]=C(h[o].type)}function D(P){var A;if(Array.isArray(P)){A=new Array(P.length);for(var o=0;o1){h[0]in u||(u[h[0]]=[]),u=u[h[0]];for(var S=1;S1)for(var g=0;g"u"?r(4037):WeakMap,f=new n,c=0;function u(M,D,T,P,A,o,k){this.id=M,this.src=D,this.type=T,this.shader=P,this.count=o,this.programs=[],this.cache=k}u.prototype.dispose=function(){if(--this.count===0){for(var M=this.cache,D=M.gl,T=this.programs,P=0,A=T.length;P 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the tube vertex and normal at the given index. -// -// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. -// -// Each tube segment is made up of a ring of vertices. -// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. -// The indexes of tube segments run from 0 to 8. -// -vec3 getTubePosition(vec3 d, float index, out vec3 normal) { - float segmentCount = 8.0; - - float angle = 2.0 * 3.14159 * (index / segmentCount); - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d); - vec3 y = v * sin(angle) * length(d); - vec3 v3 = x + y; - - normal = normalize(v3); - - return v3; -} - -attribute vec4 vector; -attribute vec4 color, position; -attribute vec2 uv; - -uniform float vectorScale, tubeScale; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 eyePosition, lightPosition; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - // Scale the vector magnitude to stay constant with - // model & view changes. - vec3 normal; - vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); - vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * tubePosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - // vec4 m_position = model * vec4(tubePosition, 1.0); - vec4 t_position = view * tubePosition; - gl_Position = projection * t_position; - - f_color = color; - f_data = tubePosition.xyz; - f_position = position.xyz; - f_uv = uv; -} -`]),n=t([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform sampler2D texture; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = f_color * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * opacity; -} -`]),f=t([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the tube vertex and normal at the given index. -// -// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. -// -// Each tube segment is made up of a ring of vertices. -// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. -// The indexes of tube segments run from 0 to 8. -// -vec3 getTubePosition(vec3 d, float index, out vec3 normal) { - float segmentCount = 8.0; - - float angle = 2.0 * 3.14159 * (index / segmentCount); - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d); - vec3 y = v * sin(angle) * length(d); - vec3 v3 = x + y; - - normal = normalize(v3); - - return v3; -} - -attribute vec4 vector; -attribute vec4 position; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform float tubeScale; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - vec3 normal; - vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); - vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - gl_Position = projection * view * tubePosition; - f_id = id; - f_position = position.xyz; -} -`]),c=t([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]);m.meshShader={vertex:s,fragment:n,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},m.pickShader={vertex:f,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7307:function(d,m,r){var t=r(2858),s=r(4020),n=["xyz","xzy","yxz","yzx","zxy","zyx"],f=function(C,M,D,T){for(var P=C.points,A=C.velocities,o=C.divergences,k=[],w=[],U=[],F=[],G=[],_=[],H=0,V=0,N=s.create(),W=s.create(),j=8,Q=0;Q0)for(var q=0;qM)return T-1}return T},b=function(C,M,D){return CD?D:C},h=function(C,M,D){var T=M.vectors,P=M.meshgrid,A=C[0],o=C[1],k=C[2],w=P[0].length,U=P[1].length,F=P[2].length,G=u(P[0],A),_=u(P[1],o),H=u(P[2],k),V=G+1,N=_+1,W=H+1;if(G=b(G,0,w-1),V=b(V,0,w-1),_=b(_,0,U-1),N=b(N,0,U-1),H=b(H,0,F-1),W=b(W,0,F-1),G<0||_<0||H<0||V>w-1||N>U-1||W>F-1)return t.create();var j=P[0][G],Q=P[0][V],ie=P[1][_],ue=P[1][N],pe=P[2][H],q=P[2][W],X=(A-j)/(Q-j),K=(o-ie)/(ue-ie),J=(k-pe)/(q-pe);isFinite(X)||(X=.5),isFinite(K)||(K=.5),isFinite(J)||(J=.5);var re,fe,te,ee,ce,le;switch(D.reversedX&&(G=w-1-G,V=w-1-V),D.reversedY&&(_=U-1-_,N=U-1-N),D.reversedZ&&(H=F-1-H,W=F-1-W),D.filled){case 5:ce=H,le=W,te=_*F,ee=N*F,re=G*F*U,fe=V*F*U;break;case 4:ce=H,le=W,re=G*F,fe=V*F,te=_*F*w,ee=N*F*w;break;case 3:te=_,ee=N,ce=H*U,le=W*U,re=G*U*F,fe=V*U*F;break;case 2:te=_,ee=N,re=G*U,fe=V*U,ce=H*U*w,le=W*U*w;break;case 1:re=G,fe=V,ce=H*w,le=W*w,te=_*w*F,ee=N*w*F;break;default:re=G,fe=V,te=_*w,ee=N*w,ce=H*w*U,le=W*w*U;break}var me=T[re+te+ce],we=T[re+te+le],Se=T[re+ee+ce],Ee=T[re+ee+le],We=T[fe+te+ce],Ye=T[fe+te+le],De=T[fe+ee+ce],Te=T[fe+ee+le],Re=t.create(),Xe=t.create(),Je=t.create(),He=t.create();t.lerp(Re,me,We,X),t.lerp(Xe,we,Ye,X),t.lerp(Je,Se,De,X),t.lerp(He,Ee,Te,X);var $e=t.create(),pt=t.create();t.lerp($e,Re,Je,K),t.lerp(pt,Xe,He,K);var ut=t.create();return t.lerp(ut,$e,pt,J),ut},S=function(C){var M=1/0;C.sort(function(A,o){return A-o});for(var D=C.length,T=1;TV||Te<_||Te>N||ReW)},Q=t.distance(M[0],M[1]),ie=10*Q/T,ue=ie*ie,pe=1,q=0,X=D.length;X>1&&(pe=v(D));for(var K=0;Kq&&(q=me),ce.push(me),F.push({points:re,velocities:fe,divergences:ce});for(var we=0;weue&&t.scale(Se,Se,ie/Math.sqrt(Ee)),t.add(Se,Se,J),te=w(Se),t.squaredDistance(ee,Se)-ue>-1e-4*ue){re.push(Se),ee=Se,fe.push(te);var le=U(Se,te),me=t.length(le);isFinite(me)&&me>q&&(q=me),ce.push(me)}J=Se}}var We=c(F,C.colormap,q,pe);return A?We.tubeScale=A:(q===0&&(q=1),We.tubeScale=P*.5*pe/q),We};var l=r(9578),g=r(1140).createMesh;d.exports.createTubeMesh=function(C,M){return g(C,M,{shaders:l,traceType:"streamtube"})}},9054:function(d,m,r){var t=r(5158),s=r(6832),n=s([`precision highp float; -#define GLSLIFY 1 - -attribute vec4 uv; -attribute vec3 f; -attribute vec3 normal; - -uniform vec3 objectOffset; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 lightPosition, eyePosition; -uniform sampler2D colormap; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - vec3 localCoordinate = vec3(uv.zw, f.x); - worldCoordinate = objectOffset + localCoordinate; - vec4 worldPosition = model * vec4(worldCoordinate, 1.0); - vec4 clipPosition = projection * view * worldPosition; - gl_Position = clipPosition; - kill = f.y; - value = f.z; - planeCoordinate = uv.xy; - - vColor = texture2D(colormap, vec2(value, value)); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * worldPosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - lightDirection = lightPosition - cameraCoordinate.xyz; - eyeDirection = eyePosition - cameraCoordinate.xyz; - surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz); -} -`]),f=s([`precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float beckmannSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness) { - return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 lowerBound, upperBound; -uniform float contourTint; -uniform vec4 contourColor; -uniform sampler2D colormap; -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform float vertexColor; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - if ( - kill > 0.0 || - vColor.a == 0.0 || - outOfRange(clipBounds[0], clipBounds[1], worldCoordinate) - ) discard; - - vec3 N = normalize(surfaceNormal); - vec3 V = normalize(eyeDirection); - vec3 L = normalize(lightDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = max(beckmannSpecular(L, V, N, roughness), 0.); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - //decide how to interpolate color — in vertex or in fragment - vec4 surfaceColor = - step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) + - step(.5, vertexColor) * vColor; - - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = mix(litColor, contourColor, contourTint) * opacity; -} -`]),c=s([`precision highp float; -#define GLSLIFY 1 - -attribute vec4 uv; -attribute float f; - -uniform vec3 objectOffset; -uniform mat3 permutation; -uniform mat4 model, view, projection; -uniform float height, zOffset; -uniform sampler2D colormap; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - vec3 dataCoordinate = permutation * vec3(uv.xy, height); - worldCoordinate = objectOffset + dataCoordinate; - vec4 worldPosition = model * vec4(worldCoordinate, 1.0); - - vec4 clipPosition = projection * view * worldPosition; - clipPosition.z += zOffset; - - gl_Position = clipPosition; - value = f + objectOffset.z; - kill = -1.0; - planeCoordinate = uv.zw; - - vColor = texture2D(colormap, vec2(value, value)); - - //Don't do lighting for contours - surfaceNormal = vec3(1,0,0); - eyeDirection = vec3(0,1,0); - lightDirection = vec3(0,0,1); -} -`]),u=s([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec2 shape; -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 surfaceNormal; - -vec2 splitFloat(float v) { - float vh = 255.0 * v; - float upper = floor(vh); - float lower = fract(vh); - return vec2(upper / 255.0, floor(lower * 16.0) / 16.0); -} - -void main() { - if ((kill > 0.0) || - (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard; - - vec2 ux = splitFloat(planeCoordinate.x / shape.x); - vec2 uy = splitFloat(planeCoordinate.y / shape.y); - gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0)); -} -`]);m.createShader=function(b){var h=t(b,n,f,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return h.attributes.uv.location=0,h.attributes.f.location=1,h.attributes.normal.location=2,h},m.createPickShader=function(b){var h=t(b,n,u,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return h.attributes.uv.location=0,h.attributes.f.location=1,h.attributes.normal.location=2,h},m.createContourShader=function(b){var h=t(b,c,f,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return h.attributes.uv.location=0,h.attributes.f.location=1,h},m.createPickContourShader=function(b){var h=t(b,c,u,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return h.attributes.uv.location=0,h.attributes.f.location=1,h}},3754:function(d,m,r){d.exports=fe;var t=r(2288),s=r(5827),n=r(2944),f=r(8931),c=r(5306),u=r(9156),b=r(7498),h=r(7382),S=r(5050),v=r(4162),l=r(104),g=r(7437),C=r(5070),M=r(9144),D=r(9054),T=D.createShader,P=D.createContourShader,A=D.createPickShader,o=D.createPickContourShader,k=4*(4+3+3),w=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],U=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],F=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];(function(){for(var te=0;te<3;++te){var ee=F[te],ce=(te+1)%3,le=(te+2)%3;ee[ce+0]=1,ee[le+3]=1,ee[te+6]=1}})();function G(te,ee,ce,le,me){this.position=te,this.index=ee,this.uv=ce,this.level=le,this.dataCoordinate=me}var _=256;function H(te,ee,ce,le,me,we,Se,Ee,We,Ye,De,Te,Re,Xe,Je){this.gl=te,this.shape=ee,this.bounds=ce,this.objectOffset=Je,this.intensityBounds=[],this._shader=le,this._pickShader=me,this._coordinateBuffer=we,this._vao=Se,this._colorMap=Ee,this._contourShader=We,this._contourPickShader=Ye,this._contourBuffer=De,this._contourVAO=Te,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new G([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=Re,this._dynamicVAO=Xe,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[S(c.mallocFloat(1024),[0,0]),S(c.mallocFloat(1024),[0,0]),S(c.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var V=H.prototype;V.genColormap=function(te,ee){var ce=!1,le=h([u({colormap:te,nshades:_,format:"rgba"}).map(function(me,we){var Se=ee?N(we/255,ee):me[3];return Se<1&&(ce=!0),[me[0],me[1],me[2],255*Se]})]);return b.divseq(le,255),this.hasAlphaScale=ce,le},V.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},V.isOpaque=function(){return!this.isTransparent()},V.pickSlots=1,V.setPickBase=function(te){this.pickId=te};function N(te,ee){if(!ee||!ee.length)return 1;for(var ce=0;cete&&ce>0){var le=(ee[ce][0]-te)/(ee[ce][0]-ee[ce-1][0]);return ee[ce][1]*(1-le)+le*ee[ce-1][1]}}return 1}var W=[0,0,0],j={showSurface:!1,showContour:!1,projections:[w.slice(),w.slice(),w.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function Q(te,ee){var ce,le,me,we=ee.axes&&ee.axes.lastCubeProps.axis||W,Se=ee.showSurface,Ee=ee.showContour;for(ce=0;ce<3;++ce)for(Se=Se||ee.surfaceProject[ce],le=0;le<3;++le)Ee=Ee||ee.contourProject[ce][le];for(ce=0;ce<3;++ce){var We=j.projections[ce];for(le=0;le<16;++le)We[le]=0;for(le=0;le<4;++le)We[5*le]=1;We[5*ce]=0,We[12+ce]=ee.axesBounds[+(we[ce]>0)][ce],l(We,te.model,We);var Ye=j.clipBounds[ce];for(me=0;me<2;++me)for(le=0;le<3;++le)Ye[me][le]=te.clipBounds[me][le];Ye[0][ce]=-1e8,Ye[1][ce]=1e8}return j.showSurface=Se,j.showContour=Ee,j}var ie={model:w,view:w,projection:w,inverseModel:w.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},ue=w.slice(),pe=[1,0,0,0,1,0,0,0,1];function q(te,ee){te=te||{};var ce=this.gl;ce.disable(ce.CULL_FACE),this._colorMap.bind(0);var le=ie;le.model=te.model||w,le.view=te.view||w,le.projection=te.projection||w,le.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],le.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],le.objectOffset=this.objectOffset,le.contourColor=this.contourColor[0],le.inverseModel=g(le.inverseModel,le.model);for(var me=0;me<2;++me)for(var we=le.clipBounds[me],Se=0;Se<3;++Se)we[Se]=Math.min(Math.max(this.clipBounds[me][Se],-1e8),1e8);le.kambient=this.ambientLight,le.kdiffuse=this.diffuseLight,le.kspecular=this.specularLight,le.roughness=this.roughness,le.fresnel=this.fresnel,le.opacity=this.opacity,le.height=0,le.permutation=pe,le.vertexColor=this.vertexColor;var Ee=ue;for(l(Ee,le.view,le.model),l(Ee,le.projection,Ee),g(Ee,Ee),me=0;me<3;++me)le.eyePosition[me]=Ee[12+me]/Ee[15];var We=Ee[15];for(me=0;me<3;++me)We+=this.lightPosition[me]*Ee[4*me+3];for(me=0;me<3;++me){var Ye=Ee[12+me];for(Se=0;Se<3;++Se)Ye+=Ee[4*Se+me]*this.lightPosition[Se];le.lightPosition[me]=Ye/We}var De=Q(le,this);if(De.showSurface){for(this._shader.bind(),this._shader.uniforms=le,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ce.TRIANGLES,this._vertexCount),me=0;me<3;++me)!this.surfaceProject[me]||!this.vertexCount||(this._shader.uniforms.model=De.projections[me],this._shader.uniforms.clipBounds=De.clipBounds[me],this._vao.draw(ce.TRIANGLES,this._vertexCount));this._vao.unbind()}if(De.showContour){var Te=this._contourShader;le.kambient=1,le.kdiffuse=0,le.kspecular=0,le.opacity=1,Te.bind(),Te.uniforms=le;var Re=this._contourVAO;for(Re.bind(),me=0;me<3;++me)for(Te.uniforms.permutation=F[me],ce.lineWidth(this.contourWidth[me]*this.pixelRatio),Se=0;Se>4)/16)/255,me=Math.floor(le),we=le-me,Se=ee[1]*(te.value[1]+(te.value[2]&15)/16)/255,Ee=Math.floor(Se),We=Se-Ee;me+=1,Ee+=1;var Ye=ce.position;Ye[0]=Ye[1]=Ye[2]=0;for(var De=0;De<2;++De)for(var Te=De?we:1-we,Re=0;Re<2;++Re)for(var Xe=Re?We:1-We,Je=me+De,He=Ee+Re,$e=Te*Xe,pt=0;pt<3;++pt)Ye[pt]+=this._field[pt].get(Je,He)*$e;for(var ut=this._pickResult.level,lt=0;lt<3;++lt)if(ut[lt]=C.le(this.contourLevels[lt],Ye[lt]),ut[lt]<0)this.contourLevels[lt].length>0&&(ut[lt]=0);else if(ut[lt]Math.abs(Ne-Ye[lt])&&(ut[lt]+=1)}for(ce.index[0]=we<.5?me:me+1,ce.index[1]=We<.5?Ee:Ee+1,ce.uv[0]=le/ee[0],ce.uv[1]=Se/ee[1],pt=0;pt<3;++pt)ce.dataCoordinate[pt]=this._field[pt].get(ce.index[0],ce.index[1]);return ce},V.padField=function(te,ee){var ce=ee.shape.slice(),le=te.shape.slice();b.assign(te.lo(1,1).hi(ce[0],ce[1]),ee),b.assign(te.lo(1).hi(ce[0],1),ee.hi(ce[0],1)),b.assign(te.lo(1,le[1]-1).hi(ce[0],1),ee.lo(0,ce[1]-1).hi(ce[0],1)),b.assign(te.lo(0,1).hi(1,ce[1]),ee.hi(1)),b.assign(te.lo(le[0]-1,1).hi(1,ce[1]),ee.lo(ce[0]-1)),te.set(0,0,ee.get(0,0)),te.set(0,le[1]-1,ee.get(0,ce[1]-1)),te.set(le[0]-1,0,ee.get(ce[0]-1,0)),te.set(le[0]-1,le[1]-1,ee.get(ce[0]-1,ce[1]-1))};function K(te,ee){return Array.isArray(te)?[ee(te[0]),ee(te[1]),ee(te[2])]:[ee(te),ee(te),ee(te)]}function J(te){return Array.isArray(te)?te.length===3?[te[0],te[1],te[2],1]:[te[0],te[1],te[2],te[3]]:[0,0,0,1]}function re(te){if(Array.isArray(te)){if(Array.isArray(te))return[J(te[0]),J(te[1]),J(te[2])];var ee=J(te);return[ee.slice(),ee.slice(),ee.slice()]}}V.update=function(te){te=te||{},this.objectOffset=te.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in te&&(this.contourWidth=K(te.contourWidth,Number)),"showContour"in te&&(this.showContour=K(te.showContour,Boolean)),"showSurface"in te&&(this.showSurface=!!te.showSurface),"contourTint"in te&&(this.contourTint=K(te.contourTint,Boolean)),"contourColor"in te&&(this.contourColor=re(te.contourColor)),"contourProject"in te&&(this.contourProject=K(te.contourProject,function(Gt){return K(Gt,Boolean)})),"surfaceProject"in te&&(this.surfaceProject=te.surfaceProject),"dynamicColor"in te&&(this.dynamicColor=re(te.dynamicColor)),"dynamicTint"in te&&(this.dynamicTint=K(te.dynamicTint,Number)),"dynamicWidth"in te&&(this.dynamicWidth=K(te.dynamicWidth,Number)),"opacity"in te&&(this.opacity=te.opacity),"opacityscale"in te&&(this.opacityscale=te.opacityscale),"colorBounds"in te&&(this.colorBounds=te.colorBounds),"vertexColor"in te&&(this.vertexColor=te.vertexColor?1:0),"colormap"in te&&this._colorMap.setPixels(this.genColormap(te.colormap,this.opacityscale));var ee=te.field||te.coords&&te.coords[2]||null,ce=!1;if(ee||(this._field[2].shape[0]||this._field[2].shape[2]?ee=this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):ee=this._field[2].hi(0,0)),"field"in te||"coords"in te){var le=(ee.shape[0]+2)*(ee.shape[1]+2);le>this._field[2].data.length&&(c.freeFloat(this._field[2].data),this._field[2].data=c.mallocFloat(t.nextPow2(le))),this._field[2]=S(this._field[2].data,[ee.shape[0]+2,ee.shape[1]+2]),this.padField(this._field[2],ee),this.shape=ee.shape.slice();for(var me=this.shape,we=0;we<2;++we)this._field[2].size>this._field[we].data.length&&(c.freeFloat(this._field[we].data),this._field[we].data=c.mallocFloat(this._field[2].size)),this._field[we]=S(this._field[we].data,[me[0]+2,me[1]+2]);if(te.coords){var Se=te.coords;if(!Array.isArray(Se)||Se.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(we=0;we<2;++we){var Ee=Se[we];for(Re=0;Re<2;++Re)if(Ee.shape[Re]!==me[Re])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[we],Ee)}}else if(te.ticks){var We=te.ticks;if(!Array.isArray(We)||We.length!==2)throw new Error("gl-surface: invalid ticks");for(we=0;we<2;++we){var Ye=We[we];if((Array.isArray(Ye)||Ye.length)&&(Ye=S(Ye)),Ye.shape[0]!==me[we])throw new Error("gl-surface: invalid tick length");var De=S(Ye.data,me);De.stride[we]=Ye.stride[0],De.stride[we^1]=0,this.padField(this._field[we],De)}}else{for(we=0;we<2;++we){var Te=[0,0];Te[we]=1,this._field[we]=S(this._field[we].data,[me[0]+2,me[1]+2],Te,0)}this._field[0].set(0,0,0);for(var Re=0;Re0){for(var et=0;et<5;++et)$t.pop();ve-=1}continue e}}}ir.push(ve)}this._contourOffsets[vr]=Ct,this._contourCounts[vr]=ir}var Wt=c.mallocFloat($t.length);for(we=0;we<$t.length;++we)Wt[we]=$t[we];this._contourBuffer.update(Wt),c.freeFloat(Wt)}},V.dispose=function(){this._shader.dispose(),this._vao.dispose(),this._coordinateBuffer.dispose(),this._colorMap.dispose(),this._contourBuffer.dispose(),this._contourVAO.dispose(),this._contourShader.dispose(),this._contourPickShader.dispose(),this._dynamicBuffer.dispose(),this._dynamicVAO.dispose();for(var te=0;te<3;++te)c.freeFloat(this._field[te].data)},V.highlight=function(te){var ee;if(!te){this._dynamicCounts=[0,0,0],this.dyanamicLevel=[NaN,NaN,NaN],this.highlightLevel=[-1,-1,-1];return}for(ee=0;ee<3;++ee)this.enableHighlight[ee]?this.highlightLevel[ee]=te.level[ee]:this.highlightLevel[ee]=-1;var ce;for(this.snapToData?ce=te.dataCoordinate:ce=te.position,ee=0;ee<3;++ee)ce[ee]-=this.objectOffset[ee];if(!((!this.enableDynamic[0]||ce[0]===this.dynamicLevel[0])&&(!this.enableDynamic[1]||ce[1]===this.dynamicLevel[1])&&(!this.enableDynamic[2]||ce[2]===this.dynamicLevel[2]))){for(var le=0,me=this.shape,we=c.mallocFloat(12*me[0]*me[1]),Se=0;Se<3;++Se){if(!this.enableDynamic[Se]){this.dynamicLevel[Se]=NaN,this._dynamicCounts[Se]=0;continue}this.dynamicLevel[Se]=ce[Se];var Ee=(Se+1)%3,We=(Se+2)%3,Ye=this._field[Se],De=this._field[Ee],Te=this._field[We],Re=v(Ye,ce[Se]),Xe=Re.cells,Je=Re.positions;for(this._dynamicOffsets[Se]=le,ee=0;eeG||U<0||U>G)throw new Error("gl-texture2d: Invalid texture size");return k._shape=[w,U],k.bind(),F.texImage2D(F.TEXTURE_2D,0,k.format,w,U,0,k.format,k.type,null),k._mipLevels=[0],k}function l(k,w,U,F,G,_){this.gl=k,this.handle=w,this.format=G,this.type=_,this._shape=[U,F],this._mipLevels=[0],this._magFilter=k.NEAREST,this._minFilter=k.NEAREST,this._wrapS=k.CLAMP_TO_EDGE,this._wrapT=k.CLAMP_TO_EDGE,this._anisoSamples=1;var H=this,V=[this._wrapS,this._wrapT];Object.defineProperties(V,[{get:function(){return H._wrapS},set:function(W){return H.wrapS=W}},{get:function(){return H._wrapT},set:function(W){return H.wrapT=W}}]),this._wrapVector=V;var N=[this._shape[0],this._shape[1]];Object.defineProperties(N,[{get:function(){return H._shape[0]},set:function(W){return H.width=W}},{get:function(){return H._shape[1]},set:function(W){return H.height=W}}]),this._shapeVector=N}var g=l.prototype;Object.defineProperties(g,{minFilter:{get:function(){return this._minFilter},set:function(k){this.bind();var w=this.gl;if(this.type===w.FLOAT&&f.indexOf(k)>=0&&(w.getExtension("OES_texture_float_linear")||(k=w.NEAREST)),c.indexOf(k)<0)throw new Error("gl-texture2d: Unknown filter mode "+k);return w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MIN_FILTER,k),this._minFilter=k}},magFilter:{get:function(){return this._magFilter},set:function(k){this.bind();var w=this.gl;if(this.type===w.FLOAT&&f.indexOf(k)>=0&&(w.getExtension("OES_texture_float_linear")||(k=w.NEAREST)),c.indexOf(k)<0)throw new Error("gl-texture2d: Unknown filter mode "+k);return w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MAG_FILTER,k),this._magFilter=k}},mipSamples:{get:function(){return this._anisoSamples},set:function(k){var w=this._anisoSamples;if(this._anisoSamples=Math.max(k,1)|0,w!==this._anisoSamples){var U=this.gl.getExtension("EXT_texture_filter_anisotropic");U&&this.gl.texParameterf(this.gl.TEXTURE_2D,U.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(k){if(this.bind(),u.indexOf(k)<0)throw new Error("gl-texture2d: Unknown wrap mode "+k);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,k),this._wrapS=k}},wrapT:{get:function(){return this._wrapT},set:function(k){if(this.bind(),u.indexOf(k)<0)throw new Error("gl-texture2d: Unknown wrap mode "+k);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,k),this._wrapT=k}},wrap:{get:function(){return this._wrapVector},set:function(k){if(Array.isArray(k)||(k=[k,k]),k.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var w=0;w<2;++w)if(u.indexOf(k[w])<0)throw new Error("gl-texture2d: Unknown wrap mode "+k);this._wrapS=k[0],this._wrapT=k[1];var U=this.gl;return this.bind(),U.texParameteri(U.TEXTURE_2D,U.TEXTURE_WRAP_S,this._wrapS),U.texParameteri(U.TEXTURE_2D,U.TEXTURE_WRAP_T,this._wrapT),k}},shape:{get:function(){return this._shapeVector},set:function(k){if(!Array.isArray(k))k=[k|0,k|0];else if(k.length!==2)throw new Error("gl-texture2d: Invalid texture shape");return v(this,k[0]|0,k[1]|0),[k[0]|0,k[1]|0]}},width:{get:function(){return this._shape[0]},set:function(k){return k=k|0,v(this,k,this._shape[1]),k}},height:{get:function(){return this._shape[1]},set:function(k){return k=k|0,v(this,this._shape[0],k),k}}}),g.bind=function(k){var w=this.gl;return k!==void 0&&w.activeTexture(w.TEXTURE0+(k|0)),w.bindTexture(w.TEXTURE_2D,this.handle),k!==void 0?k|0:w.getParameter(w.ACTIVE_TEXTURE)-w.TEXTURE0},g.dispose=function(){this.gl.deleteTexture(this.handle)},g.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var k=Math.min(this._shape[0],this._shape[1]),w=0;k>0;++w,k>>>=1)this._mipLevels.indexOf(w)<0&&this._mipLevels.push(w)},g.setPixels=function(k,w,U,F){var G=this.gl;this.bind(),Array.isArray(w)?(F=U,U=w[1]|0,w=w[0]|0):(w=w||0,U=U||0),F=F||0;var _=h(k)?k:k.raw;if(_){var H=this._mipLevels.indexOf(F)<0;H?(G.texImage2D(G.TEXTURE_2D,0,this.format,this.format,this.type,_),this._mipLevels.push(F)):G.texSubImage2D(G.TEXTURE_2D,F,w,U,this.format,this.type,_)}else if(k.shape&&k.stride&&k.data){if(k.shape.length<2||w+k.shape[1]>this._shape[1]>>>F||U+k.shape[0]>this._shape[0]>>>F||w<0||U<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");M(G,w,U,F,this.format,this.type,this._mipLevels,k)}else throw new Error("gl-texture2d: Unsupported data type")};function C(k,w){return k.length===3?w[2]===1&&w[1]===k[0]*k[2]&&w[0]===k[2]:w[0]===1&&w[1]===k[0]}function M(k,w,U,F,G,_,H,V){var N=V.dtype,W=V.shape.slice();if(W.length<2||W.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var j=0,Q=0,ie=C(W,V.stride.slice());if(N==="float32"?j=k.FLOAT:N==="float64"?(j=k.FLOAT,ie=!1,N="float32"):N==="uint8"?j=k.UNSIGNED_BYTE:(j=k.UNSIGNED_BYTE,ie=!1,N="uint8"),W.length===2)Q=k.LUMINANCE,W=[W[0],W[1],1],V=t(V.data,W,[V.stride[0],V.stride[1],1],V.offset);else if(W.length===3){if(W[2]===1)Q=k.ALPHA;else if(W[2]===2)Q=k.LUMINANCE_ALPHA;else if(W[2]===3)Q=k.RGB;else if(W[2]===4)Q=k.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");W[2]}else throw new Error("gl-texture2d: Invalid shape for texture");if((Q===k.LUMINANCE||Q===k.ALPHA)&&(G===k.LUMINANCE||G===k.ALPHA)&&(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ue=V.size,pe=H.indexOf(F)<0;if(pe&&H.push(F),j===_&&ie)V.offset===0&&V.data.length===ue?pe?k.texImage2D(k.TEXTURE_2D,F,G,W[0],W[1],0,G,_,V.data):k.texSubImage2D(k.TEXTURE_2D,F,w,U,W[0],W[1],G,_,V.data):pe?k.texImage2D(k.TEXTURE_2D,F,G,W[0],W[1],0,G,_,V.data.subarray(V.offset,V.offset+ue)):k.texSubImage2D(k.TEXTURE_2D,F,w,U,W[0],W[1],G,_,V.data.subarray(V.offset,V.offset+ue));else{var q;_===k.FLOAT?q=n.mallocFloat32(ue):q=n.mallocUint8(ue);var X=t(q,W,[W[2],W[2]*W[0],1]);j===k.FLOAT&&_===k.UNSIGNED_BYTE?S(X,V):s.assign(X,V),pe?k.texImage2D(k.TEXTURE_2D,F,G,W[0],W[1],0,G,_,q.subarray(0,ue)):k.texSubImage2D(k.TEXTURE_2D,F,w,U,W[0],W[1],G,_,q.subarray(0,ue)),_===k.FLOAT?n.freeFloat32(q):n.freeUint8(q)}}function D(k){var w=k.createTexture();return k.bindTexture(k.TEXTURE_2D,w),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,k.NEAREST),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MAG_FILTER,k.NEAREST),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_S,k.CLAMP_TO_EDGE),k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_T,k.CLAMP_TO_EDGE),w}function T(k,w,U,F,G){var _=k.getParameter(k.MAX_TEXTURE_SIZE);if(w<0||w>_||U<0||U>_)throw new Error("gl-texture2d: Invalid texture shape");if(G===k.FLOAT&&!k.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var H=D(k);return k.texImage2D(k.TEXTURE_2D,0,F,w,U,0,F,G,null),new l(k,H,w,U,F,G)}function P(k,w,U,F,G,_){var H=D(k);return k.texImage2D(k.TEXTURE_2D,0,G,G,_,w),new l(k,H,U,F,G,_)}function A(k,w){var U=w.dtype,F=w.shape.slice(),G=k.getParameter(k.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>G||F[1]<0||F[1]>G)throw new Error("gl-texture2d: Invalid texture size");var _=C(F,w.stride.slice()),H=0;U==="float32"?H=k.FLOAT:U==="float64"?(H=k.FLOAT,_=!1,U="float32"):U==="uint8"?H=k.UNSIGNED_BYTE:(H=k.UNSIGNED_BYTE,_=!1,U="uint8");var V=0;if(F.length===2)V=k.LUMINANCE,F=[F[0],F[1],1],w=t(w.data,F,[w.stride[0],w.stride[1],1],w.offset);else if(F.length===3)if(F[2]===1)V=k.ALPHA;else if(F[2]===2)V=k.LUMINANCE_ALPHA;else if(F[2]===3)V=k.RGB;else if(F[2]===4)V=k.RGBA;else throw new Error("gl-texture2d: Invalid shape for pixel coords");else throw new Error("gl-texture2d: Invalid shape for texture");H===k.FLOAT&&!k.getExtension("OES_texture_float")&&(H=k.UNSIGNED_BYTE,_=!1);var N,W,j=w.size;if(_)w.offset===0&&w.data.length===j?N=w.data:N=w.data.subarray(w.offset,w.offset+j);else{var Q=[F[2],F[2]*F[0],1];W=n.malloc(j,U);var ie=t(W,F,Q,0);(U==="float32"||U==="float64")&&H===k.UNSIGNED_BYTE?S(ie,w):s.assign(ie,w),N=W.subarray(0,j)}var ue=D(k);return k.texImage2D(k.TEXTURE_2D,0,V,F[0],F[1],0,V,H,N),_||n.free(W),new l(k,ue,F[0],F[1],V,H)}function o(k){if(arguments.length<=1)throw new Error("gl-texture2d: Missing arguments for texture2d constructor");if(f||b(k),typeof arguments[1]=="number")return T(k,arguments[1],arguments[2],arguments[3]||k.RGBA,arguments[4]||k.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return T(k,arguments[1][0]|0,arguments[1][1]|0,arguments[2]||k.RGBA,arguments[3]||k.UNSIGNED_BYTE);if(typeof arguments[1]=="object"){var w=arguments[1],U=h(w)?w:w.raw;if(U)return P(k,U,w.width|0,w.height|0,arguments[2]||k.RGBA,arguments[3]||k.UNSIGNED_BYTE);if(w.shape&&w.data&&w.stride)return A(k,w)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")}},3056:function(d){function m(r,t,s){t?t.bind():r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,null);var n=r.getParameter(r.MAX_VERTEX_ATTRIBS)|0;if(s){if(s.length>n)throw new Error("gl-vao: Too many vertex attributes");for(var f=0;f1?0:Math.acos(S)}},8827:function(d){d.exports=m;function m(r,t){return r[0]=Math.ceil(t[0]),r[1]=Math.ceil(t[1]),r[2]=Math.ceil(t[2]),r}},7622:function(d){d.exports=m;function m(r){var t=new Float32Array(3);return t[0]=r[0],t[1]=r[1],t[2]=r[2],t}},8782:function(d){d.exports=m;function m(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r}},8501:function(d){d.exports=m;function m(){var r=new Float32Array(3);return r[0]=0,r[1]=0,r[2]=0,r}},903:function(d){d.exports=m;function m(r,t,s){var n=t[0],f=t[1],c=t[2],u=s[0],b=s[1],h=s[2];return r[0]=f*h-c*b,r[1]=c*u-n*h,r[2]=n*b-f*u,r}},5981:function(d,m,r){d.exports=r(8288)},8288:function(d){d.exports=m;function m(r,t){var s=t[0]-r[0],n=t[1]-r[1],f=t[2]-r[2];return Math.sqrt(s*s+n*n+f*f)}},8629:function(d,m,r){d.exports=r(7979)},7979:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]/s[0],r[1]=t[1]/s[1],r[2]=t[2]/s[2],r}},9305:function(d){d.exports=m;function m(r,t){return r[0]*t[0]+r[1]*t[1]+r[2]*t[2]}},154:function(d){d.exports=1e-6},4932:function(d,m,r){d.exports=s;var t=r(154);function s(n,f){var c=n[0],u=n[1],b=n[2],h=f[0],S=f[1],v=f[2];return Math.abs(c-h)<=t*Math.max(1,Math.abs(c),Math.abs(h))&&Math.abs(u-S)<=t*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(b-v)<=t*Math.max(1,Math.abs(b),Math.abs(v))}},5777:function(d){d.exports=m;function m(r,t){return r[0]===t[0]&&r[1]===t[1]&&r[2]===t[2]}},3306:function(d){d.exports=m;function m(r,t){return r[0]=Math.floor(t[0]),r[1]=Math.floor(t[1]),r[2]=Math.floor(t[2]),r}},7447:function(d,m,r){d.exports=s;var t=r(8501)();function s(n,f,c,u,b,h){var S,v;for(f||(f=3),c||(c=0),u?v=Math.min(u*f+c,n.length):v=n.length,S=c;S0&&(c=1/Math.sqrt(c),r[0]=t[0]*c,r[1]=t[1]*c,r[2]=t[2]*c),r}},6660:function(d){d.exports=m;function m(r,t){t=t||1;var s=Math.random()*2*Math.PI,n=Math.random()*2-1,f=Math.sqrt(1-n*n)*t;return r[0]=Math.cos(s)*f,r[1]=Math.sin(s)*f,r[2]=n*t,r}},392:function(d){d.exports=m;function m(r,t,s,n){var f=s[1],c=s[2],u=t[1]-f,b=t[2]-c,h=Math.sin(n),S=Math.cos(n);return r[0]=t[0],r[1]=f+u*S-b*h,r[2]=c+u*h+b*S,r}},3222:function(d){d.exports=m;function m(r,t,s,n){var f=s[0],c=s[2],u=t[0]-f,b=t[2]-c,h=Math.sin(n),S=Math.cos(n);return r[0]=f+b*h+u*S,r[1]=t[1],r[2]=c+b*S-u*h,r}},3388:function(d){d.exports=m;function m(r,t,s,n){var f=s[0],c=s[1],u=t[0]-f,b=t[1]-c,h=Math.sin(n),S=Math.cos(n);return r[0]=f+u*S-b*h,r[1]=c+u*h+b*S,r[2]=t[2],r}},1624:function(d){d.exports=m;function m(r,t){return r[0]=Math.round(t[0]),r[1]=Math.round(t[1]),r[2]=Math.round(t[2]),r}},5685:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]*s,r[1]=t[1]*s,r[2]=t[2]*s,r}},6722:function(d){d.exports=m;function m(r,t,s,n){return r[0]=t[0]+s[0]*n,r[1]=t[1]+s[1]*n,r[2]=t[2]+s[2]*n,r}},831:function(d){d.exports=m;function m(r,t,s,n){return r[0]=t,r[1]=s,r[2]=n,r}},5294:function(d,m,r){d.exports=r(6403)},3303:function(d,m,r){d.exports=r(4337)},6403:function(d){d.exports=m;function m(r,t){var s=t[0]-r[0],n=t[1]-r[1],f=t[2]-r[2];return s*s+n*n+f*f}},4337:function(d){d.exports=m;function m(r){var t=r[0],s=r[1],n=r[2];return t*t+s*s+n*n}},8921:function(d,m,r){d.exports=r(911)},911:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]-s[0],r[1]=t[1]-s[1],r[2]=t[2]-s[2],r}},9908:function(d){d.exports=m;function m(r,t,s){var n=t[0],f=t[1],c=t[2];return r[0]=n*s[0]+f*s[3]+c*s[6],r[1]=n*s[1]+f*s[4]+c*s[7],r[2]=n*s[2]+f*s[5]+c*s[8],r}},3255:function(d){d.exports=m;function m(r,t,s){var n=t[0],f=t[1],c=t[2],u=s[3]*n+s[7]*f+s[11]*c+s[15];return u=u||1,r[0]=(s[0]*n+s[4]*f+s[8]*c+s[12])/u,r[1]=(s[1]*n+s[5]*f+s[9]*c+s[13])/u,r[2]=(s[2]*n+s[6]*f+s[10]*c+s[14])/u,r}},6568:function(d){d.exports=m;function m(r,t,s){var n=t[0],f=t[1],c=t[2],u=s[0],b=s[1],h=s[2],S=s[3],v=S*n+b*c-h*f,l=S*f+h*n-u*c,g=S*c+u*f-b*n,C=-u*n-b*f-h*c;return r[0]=v*S+C*-u+l*-h-g*-b,r[1]=l*S+C*-b+g*-u-v*-h,r[2]=g*S+C*-h+v*-b-l*-u,r}},3433:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]+s[0],r[1]=t[1]+s[1],r[2]=t[2]+s[2],r[3]=t[3]+s[3],r}},1413:function(d){d.exports=m;function m(r){var t=new Float32Array(4);return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t}},3470:function(d){d.exports=m;function m(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}},5313:function(d){d.exports=m;function m(){var r=new Float32Array(4);return r[0]=0,r[1]=0,r[2]=0,r[3]=0,r}},5446:function(d){d.exports=m;function m(r,t){var s=t[0]-r[0],n=t[1]-r[1],f=t[2]-r[2],c=t[3]-r[3];return Math.sqrt(s*s+n*n+f*f+c*c)}},205:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]/s[0],r[1]=t[1]/s[1],r[2]=t[2]/s[2],r[3]=t[3]/s[3],r}},4242:function(d){d.exports=m;function m(r,t){return r[0]*t[0]+r[1]*t[1]+r[2]*t[2]+r[3]*t[3]}},5680:function(d){d.exports=m;function m(r,t,s,n){var f=new Float32Array(4);return f[0]=r,f[1]=t,f[2]=s,f[3]=n,f}},4020:function(d,m,r){d.exports={create:r(5313),clone:r(1413),fromValues:r(5680),copy:r(3470),set:r(6453),add:r(3433),subtract:r(2705),multiply:r(746),divide:r(205),min:r(2170),max:r(3030),scale:r(5510),scaleAndAdd:r(4224),distance:r(5446),squaredDistance:r(1542),length:r(8177),squaredLength:r(9037),negate:r(6459),inverse:r(8057),normalize:r(381),dot:r(4242),lerp:r(8746),random:r(3770),transformMat4:r(6342),transformQuat:r(5022)}},8057:function(d){d.exports=m;function m(r,t){return r[0]=1/t[0],r[1]=1/t[1],r[2]=1/t[2],r[3]=1/t[3],r}},8177:function(d){d.exports=m;function m(r){var t=r[0],s=r[1],n=r[2],f=r[3];return Math.sqrt(t*t+s*s+n*n+f*f)}},8746:function(d){d.exports=m;function m(r,t,s,n){var f=t[0],c=t[1],u=t[2],b=t[3];return r[0]=f+n*(s[0]-f),r[1]=c+n*(s[1]-c),r[2]=u+n*(s[2]-u),r[3]=b+n*(s[3]-b),r}},3030:function(d){d.exports=m;function m(r,t,s){return r[0]=Math.max(t[0],s[0]),r[1]=Math.max(t[1],s[1]),r[2]=Math.max(t[2],s[2]),r[3]=Math.max(t[3],s[3]),r}},2170:function(d){d.exports=m;function m(r,t,s){return r[0]=Math.min(t[0],s[0]),r[1]=Math.min(t[1],s[1]),r[2]=Math.min(t[2],s[2]),r[3]=Math.min(t[3],s[3]),r}},746:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]*s[0],r[1]=t[1]*s[1],r[2]=t[2]*s[2],r[3]=t[3]*s[3],r}},6459:function(d){d.exports=m;function m(r,t){return r[0]=-t[0],r[1]=-t[1],r[2]=-t[2],r[3]=-t[3],r}},381:function(d){d.exports=m;function m(r,t){var s=t[0],n=t[1],f=t[2],c=t[3],u=s*s+n*n+f*f+c*c;return u>0&&(u=1/Math.sqrt(u),r[0]=s*u,r[1]=n*u,r[2]=f*u,r[3]=c*u),r}},3770:function(d,m,r){var t=r(381),s=r(5510);d.exports=n;function n(f,c){return c=c||1,f[0]=Math.random(),f[1]=Math.random(),f[2]=Math.random(),f[3]=Math.random(),t(f,f),s(f,f,c),f}},5510:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]*s,r[1]=t[1]*s,r[2]=t[2]*s,r[3]=t[3]*s,r}},4224:function(d){d.exports=m;function m(r,t,s,n){return r[0]=t[0]+s[0]*n,r[1]=t[1]+s[1]*n,r[2]=t[2]+s[2]*n,r[3]=t[3]+s[3]*n,r}},6453:function(d){d.exports=m;function m(r,t,s,n,f){return r[0]=t,r[1]=s,r[2]=n,r[3]=f,r}},1542:function(d){d.exports=m;function m(r,t){var s=t[0]-r[0],n=t[1]-r[1],f=t[2]-r[2],c=t[3]-r[3];return s*s+n*n+f*f+c*c}},9037:function(d){d.exports=m;function m(r){var t=r[0],s=r[1],n=r[2],f=r[3];return t*t+s*s+n*n+f*f}},2705:function(d){d.exports=m;function m(r,t,s){return r[0]=t[0]-s[0],r[1]=t[1]-s[1],r[2]=t[2]-s[2],r[3]=t[3]-s[3],r}},6342:function(d){d.exports=m;function m(r,t,s){var n=t[0],f=t[1],c=t[2],u=t[3];return r[0]=s[0]*n+s[4]*f+s[8]*c+s[12]*u,r[1]=s[1]*n+s[5]*f+s[9]*c+s[13]*u,r[2]=s[2]*n+s[6]*f+s[10]*c+s[14]*u,r[3]=s[3]*n+s[7]*f+s[11]*c+s[15]*u,r}},5022:function(d){d.exports=m;function m(r,t,s){var n=t[0],f=t[1],c=t[2],u=s[0],b=s[1],h=s[2],S=s[3],v=S*n+b*c-h*f,l=S*f+h*n-u*c,g=S*c+u*f-b*n,C=-u*n-b*f-h*c;return r[0]=v*S+C*-u+l*-h-g*-b,r[1]=l*S+C*-b+g*-u-v*-h,r[2]=g*S+C*-h+v*-b-l*-u,r[3]=t[3],r}},9365:function(d,m,r){var t=r(8096),s=r(7896);d.exports=n;function n(f){for(var c=Array.isArray(f)?f:t(f),u=0;u0)continue;pt=Je.slice(0,1).join("")}return te(pt),ie+=pt.length,N=N.slice(pt.length),N.length}while(1)}function De(){return/[^a-fA-F0-9]/.test(H)?(te(N.join("")),_=u,F):(N.push(H),V=H,F+1)}function Te(){return H==="."||/[eE]/.test(H)?(N.push(H),_=C,V=H,F+1):H==="x"&&N.length===1&&N[0]==="0"?(_=o,N.push(H),V=H,F+1):/[^\d]/.test(H)?(te(N.join("")),_=u,F):(N.push(H),V=H,F+1)}function Re(){return H==="f"&&(N.push(H),V=H,F+=1),/[eE]/.test(H)||(H==="-"||H==="+")&&/[eE]/.test(V)?(N.push(H),V=H,F+1):/[^\d]/.test(H)?(te(N.join("")),_=u,F):(N.push(H),V=H,F+1)}function Xe(){if(/[^\d\w_]/.test(H)){var Je=N.join("");return fe[Je]?_=T:re[Je]?_=D:_=M,te(N.join("")),_=u,F}return N.push(H),V=H,F+1}}},3585:function(d,m,r){var t=r(9525);t=t.slice().filter(function(s){return!/^(gl\_|texture)/.test(s)}),d.exports=t.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(d){d.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(d,m,r){var t=r(399);d.exports=t.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(d){d.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(d){d.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(d,m,r){var t=r(3193);d.exports=s;function s(n,f){var c=t(f),u=[];return u=u.concat(c(n)),u=u.concat(c(null)),u}},6832:function(d){d.exports=function(m){typeof m=="string"&&(m=[m]);for(var r=[].slice.call(arguments,1),t=[],s=0;s0;){g=A.pop();for(var o=g.adjacent,k=0;k<=M;++k){var w=o[k];if(!(!w.boundary||w.lastVisited<=-D)){for(var U=w.vertices,F=0;F<=M;++F){var G=U[F];G<0?T[F]=C:T[F]=P[G]}var _=this.orient();if(_>0)return w;w.lastVisited=-D,_===0&&A.push(w)}}}return null},v.walk=function(g,C){var M=this.vertices.length-1,D=this.dimension,T=this.vertices,P=this.tuple,A=C?this.interior.length*Math.random()|0:this.interior.length-1,o=this.interior[A];e:for(;!o.boundary;){for(var k=o.vertices,w=o.adjacent,U=0;U<=D;++U)P[U]=T[k[U]];o.lastVisited=M;for(var U=0;U<=D;++U){var F=w[U];if(!(F.lastVisited>=M)){var G=P[U];P[U]=g;var _=this.orient();if(P[U]=G,_<0){o=F;continue e}else F.boundary?F.lastVisited=-M:F.lastVisited=M}}return}return o},v.addPeaks=function(g,C){var M=this.vertices.length-1,D=this.dimension,T=this.vertices,P=this.tuple,A=this.interior,o=this.simplices,k=[C];C.lastVisited=M,C.vertices[C.vertices.indexOf(-1)]=M,C.boundary=!1,A.push(C);for(var w=[];k.length>0;){var C=k.pop(),U=C.vertices,F=C.adjacent,G=U.indexOf(M);if(!(G<0)){for(var _=0;_<=D;++_)if(_!==G){var H=F[_];if(!(!H.boundary||H.lastVisited>=M)){var V=H.vertices;if(H.lastVisited!==-M){for(var N=0,W=0;W<=D;++W)V[W]<0?(N=W,P[W]=g):P[W]=T[V[W]];var j=this.orient();if(j>0){V[N]=M,H.boundary=!1,A.push(H),k.push(H),H.lastVisited=M;continue}else H.lastVisited=-M}var Q=H.adjacent,ie=U.slice(),ue=F.slice(),pe=new n(ie,ue,!0);o.push(pe);var q=Q.indexOf(C);if(!(q<0)){Q[q]=pe,ue[G]=H,ie[_]=-1,ue[_]=C,F[_]=pe,pe.flip();for(var W=0;W<=D;++W){var X=ie[W];if(!(X<0||X===M)){for(var K=new Array(D-1),J=0,re=0;re<=D;++re){var fe=ie[re];fe<0||re===W||(K[J++]=fe)}w.push(new f(K,pe,W))}}}}}}}w.sort(c);for(var _=0;_+1=0?A[k++]=o[U]:w=U&1;if(w===(g&1)){var F=A[0];A[0]=A[1],A[1]=F}C.push(A)}}return C};function l(g,C){var M=g.length;if(M===0)throw new Error("Must have at least d+1 points");var D=g[0].length;if(M<=D)throw new Error("Must input at least d+1 points");var T=g.slice(0,D+1),P=t.apply(void 0,T);if(P===0)throw new Error("Input not in general position");for(var A=new Array(D+1),o=0;o<=D;++o)A[o]=o;P<0&&(A[0]=1,A[1]=0);for(var k=new n(A,new Array(D+1),!1),w=k.adjacent,U=new Array(D+2),o=0;o<=D;++o){for(var F=A.slice(),G=0;G<=D;++G)G===o&&(F[G]=-1);var _=F[0];F[0]=F[1],F[1]=_;var H=new n(F,new Array(D+1),!0);w[o]=H,U[o]=H}U[D+1]=k;for(var o=0;o<=D;++o)for(var F=w[o].vertices,V=w[o].adjacent,G=0;G<=D;++G){var N=F[G];if(N<0){V[G]=k;continue}for(var W=0;W<=D;++W)w[W].vertices.indexOf(N)<0&&(V[G]=w[W])}for(var j=new S(D,T,U),Q=!!C,o=D+1;o3*(U+1)?S(this,w):this.left.insert(w):this.left=P([w]);else if(w[0]>this.mid)this.right?4*(this.right.count+1)>3*(U+1)?S(this,w):this.right.insert(w):this.right=P([w]);else{var F=t.ge(this.leftPoints,w,D),G=t.ge(this.rightPoints,w,T);this.leftPoints.splice(F,0,w),this.rightPoints.splice(G,0,w)}},u.remove=function(w){var U=this.count-this.leftPoints;if(w[1]3*(U-1))return v(this,w);var G=this.left.remove(w);return G===f?(this.left=null,this.count-=1,n):(G===n&&(this.count-=1),G)}else if(w[0]>this.mid){if(!this.right)return s;var _=this.left?this.left.count:0;if(4*_>3*(U-1))return v(this,w);var G=this.right.remove(w);return G===f?(this.right=null,this.count-=1,n):(G===n&&(this.count-=1),G)}else{if(this.count===1)return this.leftPoints[0]===w?f:s;if(this.leftPoints.length===1&&this.leftPoints[0]===w){if(this.left&&this.right){for(var H=this,V=this.left;V.right;)H=V,V=V.right;if(H===this)V.right=this.right;else{var N=this.left,G=this.right;H.count-=V.count,H.right=V.left,V.left=N,V.right=G}b(this,V),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?b(this,this.left):b(this,this.right);return n}for(var N=t.ge(this.leftPoints,w,D);N=0&&w[G][1]>=U;--G){var _=F(w[G]);if(_)return _}}function C(w,U){for(var F=0;Fthis.mid){if(this.right){var F=this.right.queryPoint(w,U);if(F)return F}return g(this.rightPoints,w,U)}else return C(this.leftPoints,U)},u.queryInterval=function(w,U,F){if(wthis.mid&&this.right){var G=this.right.queryInterval(w,U,F);if(G)return G}return Uthis.mid?g(this.rightPoints,w,F):C(this.leftPoints,F)};function M(w,U){return w-U}function D(w,U){var F=w[0]-U[0];return F||w[1]-U[1]}function T(w,U){var F=w[1]-U[1];return F||w[0]-U[0]}function P(w){if(w.length===0)return null;for(var U=[],F=0;F>1],_=[],H=[],V=[],F=0;F -* @license MIT -*/d.exports=function(t){return t!=null&&(m(t)||r(t)||!!t._isBuffer)};function m(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function r(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&m(t.slice(0,0))}},3596:function(d){d.exports=function(m){for(var r=m.length,t,s=0;s13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},3578:function(d){function m(r,t,s){return r*(1-s)+t*s}d.exports=m},7191:function(d,m,r){var t=r(4690),s=r(9823),n=r(7332),f=r(7787),c=r(7437),u=r(2142),b={length:r(4693),normalize:r(899),dot:r(9305),cross:r(903)},h=s(),S=s(),v=[0,0,0,0],l=[[0,0,0],[0,0,0],[0,0,0]],g=[0,0,0];d.exports=function(P,A,o,k,w,U){if(A||(A=[0,0,0]),o||(o=[0,0,0]),k||(k=[0,0,0]),w||(w=[0,0,0,1]),U||(U=[0,0,0,1]),!t(h,P)||(n(S,h),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(f(S)<1e-8)))return!1;var F=h[3],G=h[7],_=h[11],H=h[12],V=h[13],N=h[14],W=h[15];if(F!==0||G!==0||_!==0){v[0]=F,v[1]=G,v[2]=_,v[3]=W;var j=c(S,S);if(!j)return!1;u(S,S),C(w,v,S)}else w[0]=w[1]=w[2]=0,w[3]=1;if(A[0]=H,A[1]=V,A[2]=N,M(l,h),o[0]=b.length(l[0]),b.normalize(l[0],l[0]),k[0]=b.dot(l[0],l[1]),D(l[1],l[1],l[0],1,-k[0]),o[1]=b.length(l[1]),b.normalize(l[1],l[1]),k[0]/=o[1],k[1]=b.dot(l[0],l[2]),D(l[2],l[2],l[0],1,-k[1]),k[2]=b.dot(l[1],l[2]),D(l[2],l[2],l[1],1,-k[2]),o[2]=b.length(l[2]),b.normalize(l[2],l[2]),k[1]/=o[2],k[2]/=o[2],b.cross(g,l[1],l[2]),b.dot(l[0],g)<0)for(var Q=0;Q<3;Q++)o[Q]*=-1,l[Q][0]*=-1,l[Q][1]*=-1,l[Q][2]*=-1;return U[0]=.5*Math.sqrt(Math.max(1+l[0][0]-l[1][1]-l[2][2],0)),U[1]=.5*Math.sqrt(Math.max(1-l[0][0]+l[1][1]-l[2][2],0)),U[2]=.5*Math.sqrt(Math.max(1-l[0][0]-l[1][1]+l[2][2],0)),U[3]=.5*Math.sqrt(Math.max(1+l[0][0]+l[1][1]+l[2][2],0)),l[2][1]>l[1][2]&&(U[0]=-U[0]),l[0][2]>l[2][0]&&(U[1]=-U[1]),l[1][0]>l[0][1]&&(U[2]=-U[2]),!0};function C(T,P,A){var o=P[0],k=P[1],w=P[2],U=P[3];return T[0]=A[0]*o+A[4]*k+A[8]*w+A[12]*U,T[1]=A[1]*o+A[5]*k+A[9]*w+A[13]*U,T[2]=A[2]*o+A[6]*k+A[10]*w+A[14]*U,T[3]=A[3]*o+A[7]*k+A[11]*w+A[15]*U,T}function M(T,P){T[0][0]=P[0],T[0][1]=P[1],T[0][2]=P[2],T[1][0]=P[4],T[1][1]=P[5],T[1][2]=P[6],T[2][0]=P[8],T[2][1]=P[9],T[2][2]=P[10]}function D(T,P,A,o,k){T[0]=P[0]*o+A[0]*k,T[1]=P[1]*o+A[1]*k,T[2]=P[2]*o+A[2]*k}},4690:function(d){d.exports=function(r,t){var s=t[15];if(s===0)return!1;for(var n=1/s,f=0;f<16;f++)r[f]=t[f]*n;return!0}},7649:function(d,m,r){var t=r(1868),s=r(1102),n=r(7191),f=r(7787),c=r(1116),u=v(),b=v(),h=v();d.exports=S;function S(C,M,D,T){if(f(M)===0||f(D)===0)return!1;var P=n(M,u.translate,u.scale,u.skew,u.perspective,u.quaternion),A=n(D,b.translate,b.scale,b.skew,b.perspective,b.quaternion);return!P||!A?!1:(t(h.translate,u.translate,b.translate,T),t(h.skew,u.skew,b.skew,T),t(h.scale,u.scale,b.scale,T),t(h.perspective,u.perspective,b.perspective,T),c(h.quaternion,u.quaternion,b.quaternion,T),s(C,h.translate,h.scale,h.skew,h.perspective,h.quaternion),!0)}function v(){return{translate:l(),scale:l(1),skew:l(),perspective:g(),quaternion:g()}}function l(C){return[C||0,C||0,C||0]}function g(){return[0,0,0,1]}},1102:function(d,m,r){var t={identity:r(9947),translate:r(998),multiply:r(104),create:r(9823),scale:r(3668),fromRotationTranslation:r(7280)};t.create();var s=t.create();d.exports=function(f,c,u,b,h,S){return t.identity(f),t.fromRotationTranslation(f,S,c),f[3]=h[0],f[7]=h[1],f[11]=h[2],f[15]=h[3],t.identity(s),b[2]!==0&&(s[9]=b[2],t.multiply(f,f,s)),b[1]!==0&&(s[9]=0,s[8]=b[1],t.multiply(f,f,s)),b[0]!==0&&(s[8]=0,s[4]=b[0],t.multiply(f,f,s)),t.scale(f,f,u),f}},9298:function(d,m,r){var t=r(5070),s=r(7649),n=r(7437),f=r(6109),c=r(7115),u=r(5240),b=r(3012),h=r(998);r(3668);var S=r(899),v=[0,0,0];d.exports=M;function l(D){this._components=D.slice(),this._time=[0],this.prevMatrix=D.slice(),this.nextMatrix=D.slice(),this.computedMatrix=D.slice(),this.computedInverse=D.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}var g=l.prototype;g.recalcMatrix=function(D){var T=this._time,P=t.le(T,D),A=this.computedMatrix;if(!(P<0)){var o=this._components;if(P===T.length-1)for(var k=16*P,w=0;w<16;++w)A[w]=o[k++];else{for(var U=T[P+1]-T[P],k=16*P,F=this.prevMatrix,G=!0,w=0;w<16;++w)F[w]=o[k++];for(var _=this.nextMatrix,w=0;w<16;++w)_[w]=o[k++],G=G&&F[w]===_[w];if(U<1e-6||G)for(var w=0;w<16;++w)A[w]=F[w];else s(A,F,_,(D-T[P])/U)}var H=this.computedUp;H[0]=A[1],H[1]=A[5],H[2]=A[9],S(H,H);var V=this.computedInverse;n(V,A);var N=this.computedEye,W=V[15];N[0]=V[12]/W,N[1]=V[13]/W,N[2]=V[14]/W;for(var j=this.computedCenter,Q=Math.exp(this.computedRadius[0]),w=0;w<3;++w)j[w]=N[w]-A[2+4*w]*Q}},g.idle=function(D){if(!(D1&&t(n[b[l-2]],n[b[l-1]],v)<=0;)l-=1,b.pop();for(b.push(S),l=h.length;l>1&&t(n[h[l-2]],n[h[l-1]],v)>=0;)l-=1,h.pop();h.push(S)}for(var g=new Array(h.length+b.length-2),C=0,c=0,M=b.length;c0;--D)g[C++]=h[D];return g}},6145:function(d,m,r){d.exports=s;var t=r(4110);function s(n,f){f||(f=n,n=window);var c=0,u=0,b=0,h={shift:!1,alt:!1,control:!1,meta:!1},S=!1;function v(w){var U=!1;return"altKey"in w&&(U=U||w.altKey!==h.alt,h.alt=!!w.altKey),"shiftKey"in w&&(U=U||w.shiftKey!==h.shift,h.shift=!!w.shiftKey),"ctrlKey"in w&&(U=U||w.ctrlKey!==h.control,h.control=!!w.ctrlKey),"metaKey"in w&&(U=U||w.metaKey!==h.meta,h.meta=!!w.metaKey),U}function l(w,U){var F=t.x(U),G=t.y(U);"buttons"in U&&(w=U.buttons|0),(w!==c||F!==u||G!==b||v(U))&&(c=w|0,u=F||0,b=G||0,f&&f(c,u,b,h))}function g(w){l(0,w)}function C(){(c||u||b||h.shift||h.alt||h.meta||h.control)&&(u=b=0,c=0,h.shift=h.alt=h.control=h.meta=!1,f&&f(0,0,0,h))}function M(w){v(w)&&f&&f(c,u,b,h)}function D(w){t.buttons(w)===0?l(0,w):l(c,w)}function T(w){l(c|t.buttons(w),w)}function P(w){l(c&~t.buttons(w),w)}function A(){S||(S=!0,n.addEventListener("mousemove",D),n.addEventListener("mousedown",T),n.addEventListener("mouseup",P),n.addEventListener("mouseleave",g),n.addEventListener("mouseenter",g),n.addEventListener("mouseout",g),n.addEventListener("mouseover",g),n.addEventListener("blur",C),n.addEventListener("keyup",M),n.addEventListener("keydown",M),n.addEventListener("keypress",M),n!==window&&(window.addEventListener("blur",C),window.addEventListener("keyup",M),window.addEventListener("keydown",M),window.addEventListener("keypress",M)))}function o(){S&&(S=!1,n.removeEventListener("mousemove",D),n.removeEventListener("mousedown",T),n.removeEventListener("mouseup",P),n.removeEventListener("mouseleave",g),n.removeEventListener("mouseenter",g),n.removeEventListener("mouseout",g),n.removeEventListener("mouseover",g),n.removeEventListener("blur",C),n.removeEventListener("keyup",M),n.removeEventListener("keydown",M),n.removeEventListener("keypress",M),n!==window&&(window.removeEventListener("blur",C),window.removeEventListener("keyup",M),window.removeEventListener("keydown",M),window.removeEventListener("keypress",M)))}A();var k={element:n};return Object.defineProperties(k,{enabled:{get:function(){return S},set:function(w){w?A():o()},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return u},enumerable:!0},y:{get:function(){return b},enumerable:!0},mods:{get:function(){return h},enumerable:!0}}),k}},2565:function(d){var m={left:0,top:0};d.exports=r;function r(s,n,f){n=n||s.currentTarget||s.srcElement,Array.isArray(f)||(f=[0,0]);var c=s.clientX||0,u=s.clientY||0,b=t(n);return f[0]=c-b.left,f[1]=u-b.top,f}function t(s){return s===window||s===document||s===document.body?m:s.getBoundingClientRect()}},4110:function(d,m){function r(f){if(typeof f=="object"){if("buttons"in f)return f.buttons;if("which"in f){var c=f.which;if(c===2)return 4;if(c===3)return 2;if(c>0)return 1<=0)return 1<0){if(ue=1,X[J++]=h(A[U],C,M,D),U+=j,T>0)for(ie=1,F=A[U],re=X[J]=h(F,C,M,D),ee=X[J+fe],me=X[J+ce],Ee=X[J+we],(re!==ee||re!==me||re!==Ee)&&(_=A[U+G],V=A[U+H],W=A[U+N],u(ie,ue,F,_,V,W,re,ee,me,Ee,C,M,D),We=K[J]=pe++),J+=1,U+=j,ie=2;ie0)for(ie=1,F=A[U],re=X[J]=h(F,C,M,D),ee=X[J+fe],me=X[J+ce],Ee=X[J+we],(re!==ee||re!==me||re!==Ee)&&(_=A[U+G],V=A[U+H],W=A[U+N],u(ie,ue,F,_,V,W,re,ee,me,Ee,C,M,D),We=K[J]=pe++,Ee!==me&&b(K[J+ce],We,V,W,me,Ee,C,M,D)),J+=1,U+=j,ie=2;ie0){if(ie=1,X[J++]=h(A[U],C,M,D),U+=j,P>0)for(ue=1,F=A[U],re=X[J]=h(F,C,M,D),me=X[J+ce],ee=X[J+fe],Ee=X[J+we],(re!==me||re!==ee||re!==Ee)&&(_=A[U+G],V=A[U+H],W=A[U+N],u(ie,ue,F,_,V,W,re,me,ee,Ee,C,M,D),We=K[J]=pe++),J+=1,U+=j,ue=2;ue0)for(ue=1,F=A[U],re=X[J]=h(F,C,M,D),me=X[J+ce],ee=X[J+fe],Ee=X[J+we],(re!==me||re!==ee||re!==Ee)&&(_=A[U+G],V=A[U+H],W=A[U+N],u(ie,ue,F,_,V,W,re,me,ee,Ee,C,M,D),We=K[J]=pe++,Ee!==me&&b(K[J+ce],We,W,_,Ee,me,C,M,D)),J+=1,U+=j,ue=2;ue 0"),typeof c.vertex!="function"&&u("Must specify vertex creation function"),typeof c.cell!="function"&&u("Must specify cell creation function"),typeof c.phase!="function"&&u("Must specify phase function");for(var v=c.getters||[],l=new Array(h),g=0;g=0?l[g]=!0:l[g]=!1;return n(c.vertex,c.cell,c.phase,S,b,l)}},9144:function(d,m,r){var t=r(3094),s={zero:function(M,D,T,P){var A=M[0],o=T[0];P|=0;var k=0,w=o;for(k=0;k2&&k[1]>2&&P(o.pick(-1,-1).lo(1,1).hi(k[0]-2,k[1]-2),A.pick(-1,-1,0).lo(1,1).hi(k[0]-2,k[1]-2),A.pick(-1,-1,1).lo(1,1).hi(k[0]-2,k[1]-2)),k[1]>2&&(T(o.pick(0,-1).lo(1).hi(k[1]-2),A.pick(0,-1,1).lo(1).hi(k[1]-2)),D(A.pick(0,-1,0).lo(1).hi(k[1]-2))),k[1]>2&&(T(o.pick(k[0]-1,-1).lo(1).hi(k[1]-2),A.pick(k[0]-1,-1,1).lo(1).hi(k[1]-2)),D(A.pick(k[0]-1,-1,0).lo(1).hi(k[1]-2))),k[0]>2&&(T(o.pick(-1,0).lo(1).hi(k[0]-2),A.pick(-1,0,0).lo(1).hi(k[0]-2)),D(A.pick(-1,0,1).lo(1).hi(k[0]-2))),k[0]>2&&(T(o.pick(-1,k[1]-1).lo(1).hi(k[0]-2),A.pick(-1,k[1]-1,0).lo(1).hi(k[0]-2)),D(A.pick(-1,k[1]-1,1).lo(1).hi(k[0]-2))),A.set(0,0,0,0),A.set(0,0,1,0),A.set(k[0]-1,0,0,0),A.set(k[0]-1,0,1,0),A.set(0,k[1]-1,0,0),A.set(0,k[1]-1,1,0),A.set(k[0]-1,k[1]-1,0,0),A.set(k[0]-1,k[1]-1,1,0),A}}function C(M){var D=M.join(),k=h[D];if(k)return k;for(var T=M.length,P=[S,v],A=1;A<=T;++A)P.push(l(A));var o=g,k=o.apply(void 0,P);return h[D]=k,k}d.exports=function(D,T,P){if(Array.isArray(P)||(typeof P=="string"?P=t(T.dimension,P):P=t(T.dimension,"clamp")),T.size===0)return D;if(T.dimension===0)return D.set(0),D;var A=C(P);return A(D,T)}},3581:function(d){function m(f,c){var u=Math.floor(c),b=c-u,h=0<=u&&u0;){V<64?(T=V,V=0):(T=64,V-=64);for(var N=h[1]|0;N>0;){N<64?(P=N,N=0):(P=64,N-=64),l=_+V*o+N*k,M=H+V*U+N*F;var W=0,j=0,Q=0,ie=w,ue=o-A*w,pe=k-T*o,q=G,X=U-A*G,K=F-T*U;for(Q=0;Q0;){F<64?(T=F,F=0):(T=64,F-=64);for(var G=h[0]|0;G>0;){G<64?(D=G,G=0):(D=64,G-=64),l=w+F*A+G*P,M=U+F*k+G*o;var _=0,H=0,V=A,N=P-T*A,W=k,j=o-T*k;for(H=0;H0;){H<64?(P=H,H=0):(P=64,H-=64);for(var V=h[0]|0;V>0;){V<64?(D=V,V=0):(D=64,V-=64);for(var N=h[1]|0;N>0;){N<64?(T=N,N=0):(T=64,N-=64),l=G+H*k+V*A+N*o,M=_+H*F+V*w+N*U;var W=0,j=0,Q=0,ie=k,ue=A-P*k,pe=o-D*A,q=F,X=w-P*F,K=U-D*w;for(Q=0;Qg;){W=0,j=_-T;t:for(V=0;Vie)break t;j+=w,W+=U}for(W=_,j=_-T,V=0;V>1,N=V-G,W=V+G,j=_,Q=N,ie=V,ue=W,pe=H,q=C+1,X=M-1,K=!0,J,re,fe,te,ee,ce,le,me,we,Se=0,Ee=0,We=0,Ye,De,Te,Re,Xe,Je,He,$e,pt,ut,lt,ke,Ne,gt,qe,vt,Bt=k,Yt=v(Bt),it=v(Bt);De=P*j,Te=P*Q,vt=T;e:for(Ye=0;Ye0){re=j,j=Q,Q=re;break e}if(We<0)break e;vt+=U}De=P*ue,Te=P*pe,vt=T;e:for(Ye=0;Ye0){re=ue,ue=pe,pe=re;break e}if(We<0)break e;vt+=U}De=P*j,Te=P*ie,vt=T;e:for(Ye=0;Ye0){re=j,j=ie,ie=re;break e}if(We<0)break e;vt+=U}De=P*Q,Te=P*ie,vt=T;e:for(Ye=0;Ye0){re=Q,Q=ie,ie=re;break e}if(We<0)break e;vt+=U}De=P*j,Te=P*ue,vt=T;e:for(Ye=0;Ye0){re=j,j=ue,ue=re;break e}if(We<0)break e;vt+=U}De=P*ie,Te=P*ue,vt=T;e:for(Ye=0;Ye0){re=ie,ie=ue,ue=re;break e}if(We<0)break e;vt+=U}De=P*Q,Te=P*pe,vt=T;e:for(Ye=0;Ye0){re=Q,Q=pe,pe=re;break e}if(We<0)break e;vt+=U}De=P*Q,Te=P*ie,vt=T;e:for(Ye=0;Ye0){re=Q,Q=ie,ie=re;break e}if(We<0)break e;vt+=U}De=P*ue,Te=P*pe,vt=T;e:for(Ye=0;Ye0){re=ue,ue=pe,pe=re;break e}if(We<0)break e;vt+=U}for(De=P*j,Te=P*Q,Re=P*ie,Xe=P*ue,Je=P*pe,He=P*_,$e=P*V,pt=P*H,qe=0,vt=T,Ye=0;Ye0)X--;else if(We<0){for(De=P*ce,Te=P*q,Re=P*X,vt=T,Ye=0;Ye0)for(;;){le=T+X*P,qe=0;e:for(Ye=0;Ye0){if(--XH){e:for(;;){for(le=T+q*P,qe=0,vt=T,Ye=0;Ye1&&g?M(l,g[0],g[1]):M(l)}var b={"uint32,1,0":function(S,v){return function(l){var g=l.data,C=l.offset|0,M=l.shape,D=l.stride,T=D[0]|0,P=M[0]|0,A=D[1]|0,o=M[1]|0,k=A,w=A,U=1;P<=32?S(0,P-1,g,C,T,A,P,o,k,w,U):v(0,P-1,g,C,T,A,P,o,k,w,U)}}};function h(S,v){var l=[v,S].join(","),g=b[l],C=f(S,v),M=u(S,v,C);return g(C,M)}d.exports=h},8729:function(d,m,r){var t=r(8139),s={};function n(f){var c=f.order,u=f.dtype,b=[c,u],h=b.join(":"),S=s[h];return S||(s[h]=S=t(c,u)),S(f),f}d.exports=n},5050:function(d,m,r){var t=r(4780),s=typeof Float64Array<"u";function n(v,l){return v[0]-l[0]}function f(){var v=this.stride,l=new Array(v.length),g;for(g=0;g=0&&(A=T|0,P+=k*A,o-=A),new C(this.data,o,k,P)},M.step=function(T){var P=this.shape[0],A=this.stride[0],o=this.offset,k=0,w=Math.ceil;return typeof T=="number"&&(k=T|0,k<0?(o+=A*(P-1),P=w(-P/k)):P=w(P/k),A*=k),new C(this.data,P,A,o)},M.transpose=function(T){T=T===void 0?0:T|0;var P=this.shape,A=this.stride;return new C(this.data,P[T],A[T],this.offset)},M.pick=function(T){var P=[],A=[],o=this.offset;typeof T=="number"&&T>=0?o=o+this.stride[0]*T|0:(P.push(this.shape[0]),A.push(this.stride[0]));var k=l[P.length+1];return k(this.data,P,A,o)},function(T,P,A,o){return new C(T,P[0],A[0],o)}},2:function(v,l,g){function C(D,T,P,A,o,k){this.data=D,this.shape=[T,P],this.stride=[A,o],this.offset=k|0}var M=C.prototype;return M.dtype=v,M.dimension=2,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(M,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),M.set=function(T,P,A){return v==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*P,A):this.data[this.offset+this.stride[0]*T+this.stride[1]*P]=A},M.get=function(T,P){return v==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*P):this.data[this.offset+this.stride[0]*T+this.stride[1]*P]},M.index=function(T,P){return this.offset+this.stride[0]*T+this.stride[1]*P},M.hi=function(T,P){return new C(this.data,typeof T!="number"||T<0?this.shape[0]:T|0,typeof P!="number"||P<0?this.shape[1]:P|0,this.stride[0],this.stride[1],this.offset)},M.lo=function(T,P){var A=this.offset,o=0,k=this.shape[0],w=this.shape[1],U=this.stride[0],F=this.stride[1];return typeof T=="number"&&T>=0&&(o=T|0,A+=U*o,k-=o),typeof P=="number"&&P>=0&&(o=P|0,A+=F*o,w-=o),new C(this.data,k,w,U,F,A)},M.step=function(T,P){var A=this.shape[0],o=this.shape[1],k=this.stride[0],w=this.stride[1],U=this.offset,F=0,G=Math.ceil;return typeof T=="number"&&(F=T|0,F<0?(U+=k*(A-1),A=G(-A/F)):A=G(A/F),k*=F),typeof P=="number"&&(F=P|0,F<0?(U+=w*(o-1),o=G(-o/F)):o=G(o/F),w*=F),new C(this.data,A,o,k,w,U)},M.transpose=function(T,P){T=T===void 0?0:T|0,P=P===void 0?1:P|0;var A=this.shape,o=this.stride;return new C(this.data,A[T],A[P],o[T],o[P],this.offset)},M.pick=function(T,P){var A=[],o=[],k=this.offset;typeof T=="number"&&T>=0?k=k+this.stride[0]*T|0:(A.push(this.shape[0]),o.push(this.stride[0])),typeof P=="number"&&P>=0?k=k+this.stride[1]*P|0:(A.push(this.shape[1]),o.push(this.stride[1]));var w=l[A.length+1];return w(this.data,A,o,k)},function(T,P,A,o){return new C(T,P[0],P[1],A[0],A[1],o)}},3:function(v,l,g){function C(D,T,P,A,o,k,w,U){this.data=D,this.shape=[T,P,A],this.stride=[o,k,w],this.offset=U|0}var M=C.prototype;return M.dtype=v,M.dimension=3,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(M,"order",{get:function(){var T=Math.abs(this.stride[0]),P=Math.abs(this.stride[1]),A=Math.abs(this.stride[2]);return T>P?P>A?[2,1,0]:T>A?[1,2,0]:[1,0,2]:T>A?[2,0,1]:A>P?[0,1,2]:[0,2,1]}}),M.set=function(T,P,A,o){return v==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A,o):this.data[this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A]=o},M.get=function(T,P,A){return v==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A):this.data[this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A]},M.index=function(T,P,A){return this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A},M.hi=function(T,P,A){return new C(this.data,typeof T!="number"||T<0?this.shape[0]:T|0,typeof P!="number"||P<0?this.shape[1]:P|0,typeof A!="number"||A<0?this.shape[2]:A|0,this.stride[0],this.stride[1],this.stride[2],this.offset)},M.lo=function(T,P,A){var o=this.offset,k=0,w=this.shape[0],U=this.shape[1],F=this.shape[2],G=this.stride[0],_=this.stride[1],H=this.stride[2];return typeof T=="number"&&T>=0&&(k=T|0,o+=G*k,w-=k),typeof P=="number"&&P>=0&&(k=P|0,o+=_*k,U-=k),typeof A=="number"&&A>=0&&(k=A|0,o+=H*k,F-=k),new C(this.data,w,U,F,G,_,H,o)},M.step=function(T,P,A){var o=this.shape[0],k=this.shape[1],w=this.shape[2],U=this.stride[0],F=this.stride[1],G=this.stride[2],_=this.offset,H=0,V=Math.ceil;return typeof T=="number"&&(H=T|0,H<0?(_+=U*(o-1),o=V(-o/H)):o=V(o/H),U*=H),typeof P=="number"&&(H=P|0,H<0?(_+=F*(k-1),k=V(-k/H)):k=V(k/H),F*=H),typeof A=="number"&&(H=A|0,H<0?(_+=G*(w-1),w=V(-w/H)):w=V(w/H),G*=H),new C(this.data,o,k,w,U,F,G,_)},M.transpose=function(T,P,A){T=T===void 0?0:T|0,P=P===void 0?1:P|0,A=A===void 0?2:A|0;var o=this.shape,k=this.stride;return new C(this.data,o[T],o[P],o[A],k[T],k[P],k[A],this.offset)},M.pick=function(T,P,A){var o=[],k=[],w=this.offset;typeof T=="number"&&T>=0?w=w+this.stride[0]*T|0:(o.push(this.shape[0]),k.push(this.stride[0])),typeof P=="number"&&P>=0?w=w+this.stride[1]*P|0:(o.push(this.shape[1]),k.push(this.stride[1])),typeof A=="number"&&A>=0?w=w+this.stride[2]*A|0:(o.push(this.shape[2]),k.push(this.stride[2]));var U=l[o.length+1];return U(this.data,o,k,w)},function(T,P,A,o){return new C(T,P[0],P[1],P[2],A[0],A[1],A[2],o)}},4:function(v,l,g){function C(D,T,P,A,o,k,w,U,F,G){this.data=D,this.shape=[T,P,A,o],this.stride=[k,w,U,F],this.offset=G|0}var M=C.prototype;return M.dtype=v,M.dimension=4,Object.defineProperty(M,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(M,"order",{get:g}),M.set=function(T,P,A,o,k){return v==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A+this.stride[3]*o,k):this.data[this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A+this.stride[3]*o]=k},M.get=function(T,P,A,o){return v==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A+this.stride[3]*o):this.data[this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A+this.stride[3]*o]},M.index=function(T,P,A,o){return this.offset+this.stride[0]*T+this.stride[1]*P+this.stride[2]*A+this.stride[3]*o},M.hi=function(T,P,A,o){return new C(this.data,typeof T!="number"||T<0?this.shape[0]:T|0,typeof P!="number"||P<0?this.shape[1]:P|0,typeof A!="number"||A<0?this.shape[2]:A|0,typeof o!="number"||o<0?this.shape[3]:o|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},M.lo=function(T,P,A,o){var k=this.offset,w=0,U=this.shape[0],F=this.shape[1],G=this.shape[2],_=this.shape[3],H=this.stride[0],V=this.stride[1],N=this.stride[2],W=this.stride[3];return typeof T=="number"&&T>=0&&(w=T|0,k+=H*w,U-=w),typeof P=="number"&&P>=0&&(w=P|0,k+=V*w,F-=w),typeof A=="number"&&A>=0&&(w=A|0,k+=N*w,G-=w),typeof o=="number"&&o>=0&&(w=o|0,k+=W*w,_-=w),new C(this.data,U,F,G,_,H,V,N,W,k)},M.step=function(T,P,A,o){var k=this.shape[0],w=this.shape[1],U=this.shape[2],F=this.shape[3],G=this.stride[0],_=this.stride[1],H=this.stride[2],V=this.stride[3],N=this.offset,W=0,j=Math.ceil;return typeof T=="number"&&(W=T|0,W<0?(N+=G*(k-1),k=j(-k/W)):k=j(k/W),G*=W),typeof P=="number"&&(W=P|0,W<0?(N+=_*(w-1),w=j(-w/W)):w=j(w/W),_*=W),typeof A=="number"&&(W=A|0,W<0?(N+=H*(U-1),U=j(-U/W)):U=j(U/W),H*=W),typeof o=="number"&&(W=o|0,W<0?(N+=V*(F-1),F=j(-F/W)):F=j(F/W),V*=W),new C(this.data,k,w,U,F,G,_,H,V,N)},M.transpose=function(T,P,A,o){T=T===void 0?0:T|0,P=P===void 0?1:P|0,A=A===void 0?2:A|0,o=o===void 0?3:o|0;var k=this.shape,w=this.stride;return new C(this.data,k[T],k[P],k[A],k[o],w[T],w[P],w[A],w[o],this.offset)},M.pick=function(T,P,A,o){var k=[],w=[],U=this.offset;typeof T=="number"&&T>=0?U=U+this.stride[0]*T|0:(k.push(this.shape[0]),w.push(this.stride[0])),typeof P=="number"&&P>=0?U=U+this.stride[1]*P|0:(k.push(this.shape[1]),w.push(this.stride[1])),typeof A=="number"&&A>=0?U=U+this.stride[2]*A|0:(k.push(this.shape[2]),w.push(this.stride[2])),typeof o=="number"&&o>=0?U=U+this.stride[3]*o|0:(k.push(this.shape[3]),w.push(this.stride[3]));var F=l[k.length+1];return F(this.data,k,w,U)},function(T,P,A,o){return new C(T,P[0],P[1],P[2],P[3],A[0],A[1],A[2],A[3],o)}},5:function(l,g,C){function M(T,P,A,o,k,w,U,F,G,_,H,V){this.data=T,this.shape=[P,A,o,k,w],this.stride=[U,F,G,_,H],this.offset=V|0}var D=M.prototype;return D.dtype=l,D.dimension=5,Object.defineProperty(D,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(D,"order",{get:C}),D.set=function(P,A,o,k,w,U){return l==="generic"?this.data.set(this.offset+this.stride[0]*P+this.stride[1]*A+this.stride[2]*o+this.stride[3]*k+this.stride[4]*w,U):this.data[this.offset+this.stride[0]*P+this.stride[1]*A+this.stride[2]*o+this.stride[3]*k+this.stride[4]*w]=U},D.get=function(P,A,o,k,w){return l==="generic"?this.data.get(this.offset+this.stride[0]*P+this.stride[1]*A+this.stride[2]*o+this.stride[3]*k+this.stride[4]*w):this.data[this.offset+this.stride[0]*P+this.stride[1]*A+this.stride[2]*o+this.stride[3]*k+this.stride[4]*w]},D.index=function(P,A,o,k,w){return this.offset+this.stride[0]*P+this.stride[1]*A+this.stride[2]*o+this.stride[3]*k+this.stride[4]*w},D.hi=function(P,A,o,k,w){return new M(this.data,typeof P!="number"||P<0?this.shape[0]:P|0,typeof A!="number"||A<0?this.shape[1]:A|0,typeof o!="number"||o<0?this.shape[2]:o|0,typeof k!="number"||k<0?this.shape[3]:k|0,typeof w!="number"||w<0?this.shape[4]:w|0,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},D.lo=function(P,A,o,k,w){var U=this.offset,F=0,G=this.shape[0],_=this.shape[1],H=this.shape[2],V=this.shape[3],N=this.shape[4],W=this.stride[0],j=this.stride[1],Q=this.stride[2],ie=this.stride[3],ue=this.stride[4];return typeof P=="number"&&P>=0&&(F=P|0,U+=W*F,G-=F),typeof A=="number"&&A>=0&&(F=A|0,U+=j*F,_-=F),typeof o=="number"&&o>=0&&(F=o|0,U+=Q*F,H-=F),typeof k=="number"&&k>=0&&(F=k|0,U+=ie*F,V-=F),typeof w=="number"&&w>=0&&(F=w|0,U+=ue*F,N-=F),new M(this.data,G,_,H,V,N,W,j,Q,ie,ue,U)},D.step=function(P,A,o,k,w){var U=this.shape[0],F=this.shape[1],G=this.shape[2],_=this.shape[3],H=this.shape[4],V=this.stride[0],N=this.stride[1],W=this.stride[2],j=this.stride[3],Q=this.stride[4],ie=this.offset,ue=0,pe=Math.ceil;return typeof P=="number"&&(ue=P|0,ue<0?(ie+=V*(U-1),U=pe(-U/ue)):U=pe(U/ue),V*=ue),typeof A=="number"&&(ue=A|0,ue<0?(ie+=N*(F-1),F=pe(-F/ue)):F=pe(F/ue),N*=ue),typeof o=="number"&&(ue=o|0,ue<0?(ie+=W*(G-1),G=pe(-G/ue)):G=pe(G/ue),W*=ue),typeof k=="number"&&(ue=k|0,ue<0?(ie+=j*(_-1),_=pe(-_/ue)):_=pe(_/ue),j*=ue),typeof w=="number"&&(ue=w|0,ue<0?(ie+=Q*(H-1),H=pe(-H/ue)):H=pe(H/ue),Q*=ue),new M(this.data,U,F,G,_,H,V,N,W,j,Q,ie)},D.transpose=function(P,A,o,k,w){P=P===void 0?0:P|0,A=A===void 0?1:A|0,o=o===void 0?2:o|0,k=k===void 0?3:k|0,w=w===void 0?4:w|0;var U=this.shape,F=this.stride;return new M(this.data,U[P],U[A],U[o],U[k],U[w],F[P],F[A],F[o],F[k],F[w],this.offset)},D.pick=function(P,A,o,k,w){var U=[],F=[],G=this.offset;typeof P=="number"&&P>=0?G=G+this.stride[0]*P|0:(U.push(this.shape[0]),F.push(this.stride[0])),typeof A=="number"&&A>=0?G=G+this.stride[1]*A|0:(U.push(this.shape[1]),F.push(this.stride[1])),typeof o=="number"&&o>=0?G=G+this.stride[2]*o|0:(U.push(this.shape[2]),F.push(this.stride[2])),typeof k=="number"&&k>=0?G=G+this.stride[3]*k|0:(U.push(this.shape[3]),F.push(this.stride[3])),typeof w=="number"&&w>=0?G=G+this.stride[4]*w|0:(U.push(this.shape[4]),F.push(this.stride[4]));var _=g[U.length+1];return _(this.data,U,F,G)},function(P,A,o,k){return new M(P,A[0],A[1],A[2],A[3],A[4],o[0],o[1],o[2],o[3],o[4],k)}}};function u(v,l){var g=l===-1?"T":String(l),C=c[g];return l===-1?C(v):l===0?C(v,h[v][0]):C(v,h[v],f)}function b(v){if(t(v))return"buffer";if(s)switch(Object.prototype.toString.call(v)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(v)?"array":"generic"}var h={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};function S(v,l,g,C){if(v===void 0){var o=h.array[0];return o([])}else typeof v=="number"&&(v=[v]);l===void 0&&(l=[v.length]);var M=l.length;if(g===void 0){g=new Array(M);for(var D=M-1,T=1;D>=0;--D)g[D]=T,T*=l[D]}if(C===void 0){C=0;for(var D=0;D>>0;d.exports=f;function f(c,u){if(isNaN(c)||isNaN(u))return NaN;if(c===u)return c;if(c===0)return u<0?-s:s;var b=t.hi(c),h=t.lo(c);return u>c==c>0?h===n?(b+=1,h=0):h+=1:h===0?(h=n,b-=1):h-=1,t.pack(h,b)}},115:function(d,m){var r=1e-6,t=1e-6;m.vertexNormals=function(s,n,f){for(var c=n.length,u=new Array(c),b=f===void 0?r:f,h=0;hb)for(var U=u[l],F=1/Math.sqrt(A*k),w=0;w<3;++w){var G=(w+1)%3,_=(w+2)%3;U[w]+=F*(o[G]*P[_]-o[_]*P[G])}}for(var h=0;hb)for(var F=1/Math.sqrt(H),w=0;w<3;++w)U[w]*=F;else for(var w=0;w<3;++w)U[w]=0}return u},m.faceNormals=function(s,n,f){for(var c=s.length,u=new Array(c),b=f===void 0?t:f,h=0;hb?D=1/Math.sqrt(D):D=0;for(var l=0;l<3;++l)M[l]*=D;u[h]=M}return u}},567:function(d){d.exports=m;function m(r,t,s,n,f,c,u,b,h,S){var v=t+c+S;if(l>0){var l=Math.sqrt(v+1);r[0]=.5*(u-h)/l,r[1]=.5*(b-n)/l,r[2]=.5*(s-c)/l,r[3]=.5*l}else{var g=Math.max(t,c,S),l=Math.sqrt(2*g-v+1);t>=g?(r[0]=.5*l,r[1]=.5*(f+s)/l,r[2]=.5*(b+n)/l,r[3]=.5*(u-h)/l):c>=g?(r[0]=.5*(s+f)/l,r[1]=.5*l,r[2]=.5*(h+u)/l,r[3]=.5*(b-n)/l):(r[0]=.5*(n+b)/l,r[1]=.5*(u+h)/l,r[2]=.5*l,r[3]=.5*(s-f)/l)}return r}},7774:function(d,m,r){d.exports=l;var t=r(8444),s=r(3012),n=r(5950),f=r(7437),c=r(567);function u(g,C,M){return Math.sqrt(Math.pow(g,2)+Math.pow(C,2)+Math.pow(M,2))}function b(g,C,M,D){return Math.sqrt(Math.pow(g,2)+Math.pow(C,2)+Math.pow(M,2)+Math.pow(D,2))}function h(g,C){var M=C[0],D=C[1],T=C[2],P=C[3],A=b(M,D,T,P);A>1e-6?(g[0]=M/A,g[1]=D/A,g[2]=T/A,g[3]=P/A):(g[0]=g[1]=g[2]=0,g[3]=1)}function S(g,C,M){this.radius=t([M]),this.center=t(C),this.rotation=t(g),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var v=S.prototype;v.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},v.recalcMatrix=function(g){this.radius.curve(g),this.center.curve(g),this.rotation.curve(g);var C=this.computedRotation;h(C,C);var M=this.computedMatrix;n(M,C);var D=this.computedCenter,T=this.computedEye,P=this.computedUp,A=Math.exp(this.computedRadius[0]);T[0]=D[0]+A*M[2],T[1]=D[1]+A*M[6],T[2]=D[2]+A*M[10],P[0]=M[1],P[1]=M[5],P[2]=M[9];for(var o=0;o<3;++o){for(var k=0,w=0;w<3;++w)k+=M[o+4*w]*T[w];M[12+o]=-k}},v.getMatrix=function(g,C){this.recalcMatrix(g);var M=this.computedMatrix;if(C){for(var D=0;D<16;++D)C[D]=M[D];return C}return M},v.idle=function(g){this.center.idle(g),this.radius.idle(g),this.rotation.idle(g)},v.flush=function(g){this.center.flush(g),this.radius.flush(g),this.rotation.flush(g)},v.pan=function(g,C,M,D){C=C||0,M=M||0,D=D||0,this.recalcMatrix(g);var T=this.computedMatrix,P=T[1],A=T[5],o=T[9],k=u(P,A,o);P/=k,A/=k,o/=k;var w=T[0],U=T[4],F=T[8],G=w*P+U*A+F*o;w-=P*G,U-=A*G,F-=o*G;var _=u(w,U,F);w/=_,U/=_,F/=_,T[2],T[6],T[10];var H=w*C+P*M,V=U*C+A*M,N=F*C+o*M;this.center.move(g,H,V,N);var W=Math.exp(this.computedRadius[0]);W=Math.max(1e-4,W+D),this.radius.set(g,Math.log(W))},v.rotate=function(g,C,M,D){this.recalcMatrix(g),C=C||0,M=M||0;var T=this.computedMatrix,P=T[0],A=T[4],o=T[8],k=T[1],w=T[5],U=T[9],F=T[2],G=T[6],_=T[10],H=C*P+M*k,V=C*A+M*w,N=C*o+M*U,W=-(G*N-_*V),j=-(_*H-F*N),Q=-(F*V-G*H),ie=Math.sqrt(Math.max(0,1-Math.pow(W,2)-Math.pow(j,2)-Math.pow(Q,2))),ue=b(W,j,Q,ie);ue>1e-6?(W/=ue,j/=ue,Q/=ue,ie/=ue):(W=j=Q=0,ie=1);var pe=this.computedRotation,q=pe[0],X=pe[1],K=pe[2],J=pe[3],re=q*ie+J*W+X*Q-K*j,fe=X*ie+J*j+K*W-q*Q,te=K*ie+J*Q+q*j-X*W,ee=J*ie-q*W-X*j-K*Q;if(D){W=F,j=G,Q=_;var ce=Math.sin(D)/u(W,j,Q);W*=ce,j*=ce,Q*=ce,ie=Math.cos(C),re=re*ie+ee*W+fe*Q-te*j,fe=fe*ie+ee*j+te*W-re*Q,te=te*ie+ee*Q+re*j-fe*W,ee=ee*ie-re*W-fe*j-te*Q}var le=b(re,fe,te,ee);le>1e-6?(re/=le,fe/=le,te/=le,ee/=le):(re=fe=te=0,ee=1),this.rotation.set(g,re,fe,te,ee)},v.lookAt=function(g,C,M,D){this.recalcMatrix(g),M=M||this.computedCenter,C=C||this.computedEye,D=D||this.computedUp;var T=this.computedMatrix;s(T,C,M,D);var P=this.computedRotation;c(P,T[0],T[1],T[2],T[4],T[5],T[6],T[8],T[9],T[10]),h(P,P),this.rotation.set(g,P[0],P[1],P[2],P[3]);for(var A=0,o=0;o<3;++o)A+=Math.pow(M[o]-C[o],2);this.radius.set(g,.5*Math.log(Math.max(A,1e-6))),this.center.set(g,M[0],M[1],M[2])},v.translate=function(g,C,M,D){this.center.move(g,C||0,M||0,D||0)},v.setMatrix=function(g,C){var M=this.computedRotation;c(M,C[0],C[1],C[2],C[4],C[5],C[6],C[8],C[9],C[10]),h(M,M),this.rotation.set(g,M[0],M[1],M[2],M[3]);var D=this.computedMatrix;f(D,C);var T=D[15];if(Math.abs(T)>1e-6){var P=D[12]/T,A=D[13]/T,o=D[14]/T;this.recalcMatrix(g);var k=Math.exp(this.computedRadius[0]);this.center.set(g,P-D[2]*k,A-D[6]*k,o-D[10]*k),this.radius.idle(g)}else this.center.idle(g),this.radius.idle(g)},v.setDistance=function(g,C){C>0&&this.radius.set(g,Math.log(C))},v.setDistanceLimits=function(g,C){g>0?g=Math.log(g):g=-1/0,C>0?C=Math.log(C):C=1/0,C=Math.max(C,g),this.radius.bounds[0][0]=g,this.radius.bounds[1][0]=C},v.getDistanceLimits=function(g){var C=this.radius.bounds;return g?(g[0]=Math.exp(C[0][0]),g[1]=Math.exp(C[1][0]),g):[Math.exp(C[0][0]),Math.exp(C[1][0])]},v.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},v.fromJSON=function(g){var C=this.lastT(),M=g.center;M&&this.center.set(C,M[0],M[1],M[2]);var D=g.rotation;D&&this.rotation.set(C,D[0],D[1],D[2],D[3]);var T=g.distance;T&&T>0&&this.radius.set(C,Math.log(T)),this.setDistanceLimits(g.zoomMin,g.zoomMax)};function l(g){g=g||{};var C=g.center||[0,0,0],M=g.rotation||[0,0,0,1],D=g.radius||1;C=[].slice.call(C,0,3),M=[].slice.call(M,0,4),h(M,M);var T=new S(M,C,Math.log(D));return T.setDistanceLimits(g.zoomMin,g.zoomMax),("eye"in g||"up"in g)&&T.lookAt(0,g.eye,g.center,g.up),T}},4930:function(d,m,r){/*! -* pad-left -* -* Copyright (c) 2014-2015, Jon Schlinkert. -* Licensed under the MIT license. -*/var t=r(6184);d.exports=function(n,f,c){return c=typeof c<"u"?c+"":" ",t(c,f)+n}},4405:function(d){d.exports=function(r,t){t||(t=[0,""]),r=String(r);var s=parseFloat(r,10);return t[0]=s,t[1]=r.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t}},4166:function(d,m,r){d.exports=s;var t=r(9398);function s(n,f){for(var c=f.length|0,u=n.length,b=[new Array(c),new Array(c)],h=0;h0){w=b[G][o][0],F=G;break}U=w[F^1];for(var _=0;_<2;++_)for(var H=b[_][o],V=0;V0&&(w=N,U=W,F=_)}return k||w&&l(w,F),U}function C(A,o){var k=b[o][A][0],w=[A];l(k,o);for(var U=k[o^1];;){for(;U!==A;)w.push(U),U=g(w[w.length-2],U,!1);if(b[0][A].length+b[1][A].length===0)break;var F=w[w.length-1],G=A,_=w[1],H=g(F,G,!0);if(t(f[F],f[G],f[_],f[H])<0)break;w.push(A),U=g(F,G)}return w}function M(A,o){return o[1]===o[o.length-1]}for(var h=0;h0;){b[0][h].length;var P=C(h,D);M(T,P)?T.push.apply(T,P):(T.length>0&&v.push(T),T=P)}T.length>0&&v.push(T)}return v}},3959:function(d,m,r){d.exports=s;var t=r(8348);function s(n,f){for(var c=t(n,f.length),u=new Array(f.length),b=new Array(f.length),h=[],S=0;S0;){var l=h.pop();u[l]=!1;for(var g=c[l],S=0;S0}T=T.filter(P);for(var A=T.length,o=new Array(A),k=new Array(A),D=0;D0;){var ce=fe.pop(),le=ie[ce];u(le,function(We,Ye){return We-Ye});var me=le.length,we=te[ce],Se;if(we===0){var H=T[ce];Se=[H]}for(var D=0;D=0)&&(te[Ee]=we^1,fe.push(Ee),we===0)){var H=T[Ee];re(H)||(H.reverse(),Se.push(H))}}we===0&&ee.push(Se)}return ee}},211:function(d,m,r){d.exports=g;var t=r(417)[3],s=r(4385),n=r(9014),f=r(5070);function c(){return!0}function u(C){return function(M,D){var T=C[M];return T?!!T.queryPoint(D,c):!1}}function b(C){for(var M={},D=0;D0&&M[T]===D[0])P=C[T-1];else return 1;for(var A=1;P;){var o=P.key,k=t(D,o[0],o[1]);if(o[0][0]0)A=-1,P=P.right;else return 0;else if(k>0)P=P.left;else if(k<0)A=1,P=P.right;else return 0}return A}}function S(C){return 1}function v(C){return function(D){return C(D[0],D[1])?0:1}}function l(C,M){return function(T){return C(T[0],T[1])?0:M(T)}}function g(C){for(var M=C.length,D=[],T=[],P=0;P=S?(o=1,w=S+2*g+M):(o=-g/S,w=g*o+M)):(o=0,C>=0?(k=0,w=M):-C>=l?(k=1,w=l+2*C+M):(k=-C/l,w=C*k+M));else if(k<0)k=0,g>=0?(o=0,w=M):-g>=S?(o=1,w=S+2*g+M):(o=-g/S,w=g*o+M);else{var U=1/A;o*=U,k*=U,w=o*(S*o+v*k+2*g)+k*(v*o+l*k+2*C)+M}else{var F,G,_,H;o<0?(F=v+g,G=l+C,G>F?(_=G-F,H=S-2*v+l,_>=H?(o=1,k=0,w=S+2*g+M):(o=_/H,k=1-o,w=o*(S*o+v*k+2*g)+k*(v*o+l*k+2*C)+M)):(o=0,G<=0?(k=1,w=l+2*C+M):C>=0?(k=0,w=M):(k=-C/l,w=C*k+M))):k<0?(F=v+C,G=S+g,G>F?(_=G-F,H=S-2*v+l,_>=H?(k=1,o=0,w=l+2*C+M):(k=_/H,o=1-k,w=o*(S*o+v*k+2*g)+k*(v*o+l*k+2*C)+M)):(k=0,G<=0?(o=1,w=S+2*g+M):g>=0?(o=0,w=M):(o=-g/S,w=g*o+M))):(_=l+C-v-g,_<=0?(o=0,k=1,w=l+2*C+M):(H=S-2*v+l,_>=H?(o=1,k=0,w=S+2*g+M):(o=_/H,k=1-o,w=o*(S*o+v*k+2*g)+k*(v*o+l*k+2*C)+M)))}for(var V=1-o-k,h=0;h0){var l=c[b-1];if(t(S,l)===0&&n(l)!==v){b-=1;continue}}c[b++]=S}}return c.length=b,c}},6184:function(d){/*! -* repeat-string -* -* Copyright (c) 2014-2015, Jon Schlinkert. -* Licensed under the MIT License. -*/var m="",r;d.exports=t;function t(s,n){if(typeof s!="string")throw new TypeError("expected a string");if(n===1)return s;if(n===2)return s+s;var f=s.length*n;if(r!==s||typeof r>"u")r=s,m="";else if(m.length>=f)return m.substr(0,f);for(;f>m.length&&n>1;)n&1&&(m+=s),n>>=1,s+=s;return m+=s,m=m.substr(0,f),m}},8161:function(d,m,r){d.exports=r.g.performance&&r.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(d){d.exports=m;function m(r){for(var t=r.length,s=r[r.length-1],n=t,f=t-2;f>=0;--f){var c=s,u=r[f];s=c+u;var b=s-c,h=u-b;h&&(r[--n]=s,s=h)}for(var S=0,f=n;f0){if(G<=0)return _;H=F+G}else if(F<0){if(G>=0)return _;H=-(F+G)}else return _;var V=b*H;return _>=V||_<=-V?_:C(k,w,U)},function(k,w,U,F){var G=k[0]-F[0],_=w[0]-F[0],H=U[0]-F[0],V=k[1]-F[1],N=w[1]-F[1],W=U[1]-F[1],j=k[2]-F[2],Q=w[2]-F[2],ie=U[2]-F[2],ue=_*W,pe=H*N,q=H*V,X=G*W,K=G*N,J=_*V,re=j*(ue-pe)+Q*(q-X)+ie*(K-J),fe=(Math.abs(ue)+Math.abs(pe))*Math.abs(j)+(Math.abs(q)+Math.abs(X))*Math.abs(Q)+(Math.abs(K)+Math.abs(J))*Math.abs(ie),te=h*fe;return re>te||-re>te?re:M(k,w,U,F)}];function T(o){var k=D[o.length];return k||(k=D[o.length]=g(o.length)),k.apply(void 0,o)}function P(o,k,w,U,F,G,_){return function(V,N,W,j,Q){switch(arguments.length){case 0:case 1:return 0;case 2:return U(V,N);case 3:return F(V,N,W);case 4:return G(V,N,W,j);case 5:return _(V,N,W,j,Q)}for(var ie=new Array(arguments.length),ue=0;ue0&&S>0||h<0&&S<0)return!1;var v=t(u,f,c),l=t(b,f,c);return v>0&&l>0||v<0&&l<0?!1:h===0&&S===0&&v===0&&l===0?s(f,c,u,b):!0}},4078:function(d){d.exports=r;function m(t,s){var n=t+s,f=n-t,c=n-f,u=s-f,b=t-c,h=b+u;return h?[h,n]:[n]}function r(t,s){var n=t.length|0,f=s.length|0;if(n===1&&f===1)return m(t[0],-s[0]);var c=n+f,u=new Array(c),b=0,h=0,S=0,v=Math.abs,l=t[h],g=v(l),C=-s[S],M=v(C),D,T;g=f?(D=l,h+=1,h=f?(D=l,h+=1,h"u"&&(D=c(g));var T=g.length;if(T===0||D<1)return{cells:[],vertexIds:[],vertexWeights:[]};var P=u(C,+M),A=b(g,D),o=h(A,C,P,+M),k=S(A,C.length|0),w=f(D)(g,A.data,k,P),U=v(A),F=[].slice.call(o.data,0,o.shape[0]);return s.free(P),s.free(A.data),s.free(o.data),s.free(k),{cells:w,vertexIds:U,vertexWeights:F}}},1168:function(d){d.exports=r;var m=[function(){function s(n,f,c,u){for(var b=n.length,h=[],S=0;S>1,C=c[2*g+1];if(C===S)return g;S>1,C=c[2*g+1];if(C===S)return g;S>1,C=c[2*g+1];if(C===S)return g;S0)-(n<0)},m.abs=function(n){var f=n>>r-1;return(n^f)-f},m.min=function(n,f){return f^(n^f)&-(n65535)<<4,n>>>=f,c=(n>255)<<3,n>>>=c,f|=c,c=(n>15)<<2,n>>>=c,f|=c,c=(n>3)<<1,n>>>=c,f|=c,f|n>>1},m.log10=function(n){return n>=1e9?9:n>=1e8?8:n>=1e7?7:n>=1e6?6:n>=1e5?5:n>=1e4?4:n>=1e3?3:n>=100?2:n>=10?1:0},m.popCount=function(n){return n=n-(n>>>1&1431655765),n=(n&858993459)+(n>>>2&858993459),(n+(n>>>4)&252645135)*16843009>>>24};function t(n){var f=32;return n&=-n,n&&f--,n&65535&&(f-=16),n&16711935&&(f-=8),n&252645135&&(f-=4),n&858993459&&(f-=2),n&1431655765&&(f-=1),f}m.countTrailingZeros=t,m.nextPow2=function(n){return n+=n===0,--n,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n+1},m.prevPow2=function(n){return n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n-(n>>>1)},m.parity=function(n){return n^=n>>>16,n^=n>>>8,n^=n>>>4,n&=15,27030>>>n&1};var s=new Array(256);(function(n){for(var f=0;f<256;++f){var c=f,u=f,b=7;for(c>>>=1;c;c>>>=1)u<<=1,u|=c&1,--b;n[f]=u<>>8&255]<<16|s[n>>>16&255]<<8|s[n>>>24&255]},m.interleave2=function(n,f){return n&=65535,n=(n|n<<8)&16711935,n=(n|n<<4)&252645135,n=(n|n<<2)&858993459,n=(n|n<<1)&1431655765,f&=65535,f=(f|f<<8)&16711935,f=(f|f<<4)&252645135,f=(f|f<<2)&858993459,f=(f|f<<1)&1431655765,n|f<<1},m.deinterleave2=function(n,f){return n=n>>>f&1431655765,n=(n|n>>>1)&858993459,n=(n|n>>>2)&252645135,n=(n|n>>>4)&16711935,n=(n|n>>>16)&65535,n<<16>>16},m.interleave3=function(n,f,c){return n&=1023,n=(n|n<<16)&4278190335,n=(n|n<<8)&251719695,n=(n|n<<4)&3272356035,n=(n|n<<2)&1227133513,f&=1023,f=(f|f<<16)&4278190335,f=(f|f<<8)&251719695,f=(f|f<<4)&3272356035,f=(f|f<<2)&1227133513,n|=f<<1,c&=1023,c=(c|c<<16)&4278190335,c=(c|c<<8)&251719695,c=(c|c<<4)&3272356035,c=(c|c<<2)&1227133513,n|c<<2},m.deinterleave3=function(n,f){return n=n>>>f&1227133513,n=(n|n>>>2)&3272356035,n=(n|n>>>4)&251719695,n=(n|n>>>8)&4278190335,n=(n|n>>>16)&1023,n<<22>>22},m.nextCombination=function(n){var f=n|n-1;return f+1|(~f&-~f)-1>>>t(n)+1}},6656:function(d,m,r){"use restrict";var t=r(9392),s=r(9521);function n(o){for(var k=0,w=Math.max,U=0,F=o.length;U>1,_=u(o[G],k);_<=0?(_===0&&(F=G),w=G+1):_>0&&(U=G-1)}return F}m.findCell=v;function l(o,k){for(var w=new Array(o.length),U=0,F=w.length;U=o.length||u(o[ie],G)!==0););}return w}m.incidence=l;function g(o,k){if(!k)return l(S(M(o,0)),o);for(var w=new Array(k),U=0;U>>N&1&&V.push(F[N]);k.push(V)}return h(k)}m.explode=C;function M(o,k){if(k<0)return[];for(var w=[],U=(1<>1:(q>>1)-1}function U(q){for(var X=k(q);;){var K=X,J=2*q+1,re=2*(q+1),fe=q;if(J0;){var K=w(q);if(K>=0){var J=k(K);if(X0){var q=V[0];return o(0,j-1),j-=1,U(0),q}return-1}function _(q,X){var K=V[q];return g[K]===X?q:(g[K]=-1/0,F(q),G(),g[K]=X,j+=1,F(j-1))}function H(q){if(!C[q]){C[q]=!0;var X=v[q],K=l[q];v[K]>=0&&(v[K]=X),l[X]>=0&&(l[X]=K),N[X]>=0&&_(N[X],A(X)),N[K]>=0&&_(N[K],A(K))}}for(var V=[],N=new Array(h),M=0;M>1;M>=0;--M)U(M);for(;;){var Q=G();if(Q<0||g[Q]>b)break;H(Q)}for(var ie=[],M=0;M=0&&K>=0&&X!==K){var J=N[X],re=N[K];J!==re&&pe.push([J,re])}}),s.unique(s.normalize(pe)),{positions:ie,edges:pe}}},6638:function(d,m,r){d.exports=n;var t=r(417);function s(f,c){var u,b;if(c[0][0]c[1][0])u=c[1],b=c[0];else{var h=Math.min(f[0][1],f[1][1]),S=Math.max(f[0][1],f[1][1]),v=Math.min(c[0][1],c[1][1]),l=Math.max(c[0][1],c[1][1]);return Sl?h-l:S-l}var g,C;f[0][1]c[1][0])u=c[1],b=c[0];else return s(c,f);var h,S;if(f[0][0]f[1][0])h=f[1],S=f[0];else return-s(f,c);var v=t(u,b,S),l=t(u,b,h);if(v<0){if(l<=0)return v}else if(v>0){if(l>=0)return v}else if(l)return l;if(v=t(S,h,b),l=t(S,h,u),v<0){if(l<=0)return v}else if(v>0){if(l>=0)return v}else if(l)return l;return b[0]-S[0]}},4385:function(d,m,r){d.exports=l;var t=r(5070),s=r(7080),n=r(417),f=r(6638);function c(g,C,M){this.slabs=g,this.coordinates=C,this.horizontal=M}var u=c.prototype;function b(g,C){return g.y-C}function h(g,C){for(var M=null;g;){var D=g.key,T,P;D[0][0]0)if(C[0]!==D[1][0])M=g,g=g.right;else{var o=h(g.right,C);if(o)return o;g=g.left}else{if(C[0]!==D[1][0])return g;var o=h(g.right,C);if(o)return o;g=g.left}}return M}u.castUp=function(g){var C=t.le(this.coordinates,g[0]);if(C<0)return-1;this.slabs[C];var M=h(this.slabs[C],g),D=-1;if(M&&(D=M.value),this.coordinates[C]===g[0]){var T=null;if(M&&(T=M.key),C>0){var P=h(this.slabs[C-1],g);P&&(T?f(P.key,T)>0&&(T=P.key,D=P.value):(D=P.value,T=P.key))}var A=this.horizontal[C];if(A.length>0){var o=t.ge(A,g[1],b);if(o=A.length)return D;k=A[o]}}if(k.start)if(T){var w=n(T[0],T[1],[g[0],k.y]);T[0][0]>T[1][0]&&(w=-w),w>0&&(D=k.index)}else D=k.index;else k.y!==g[1]&&(D=k.index)}}}return D};function S(g,C,M,D){this.y=g,this.index=C,this.start=M,this.closed=D}function v(g,C,M,D){this.x=g,this.segment=C,this.create=M,this.index=D}function l(g){for(var C=g.length,M=2*C,D=new Array(M),T=0;T1&&(C=1);for(var M=1-C,D=h.length,T=new Array(D),P=0;P0||g>0&&T<0){var P=f(C,T,M,g);v.push(P),l.push(P.slice())}T<0?l.push(M.slice()):T>0?v.push(M.slice()):(v.push(M.slice()),l.push(M.slice())),g=T}return{positive:v,negative:l}}function u(h,S){for(var v=[],l=n(h[h.length-1],S),g=h[h.length-1],C=h[0],M=0;M0||l>0&&D<0)&&v.push(f(g,D,C,l)),D>=0&&v.push(C.slice()),l=D}return v}function b(h,S){for(var v=[],l=n(h[h.length-1],S),g=h[h.length-1],C=h[0],M=0;M0||l>0&&D<0)&&v.push(f(g,D,C,l)),D<=0&&v.push(C.slice()),l=D}return v}},8974:function(d,m,r){var t;(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function n(h){return c(b(h),arguments)}function f(h,S){return n.apply(null,[h].concat(S||[]))}function c(h,S){var v=1,l=h.length,g,C="",M,D,T,P,A,o,k,w;for(M=0;M=0),T.type){case"b":g=parseInt(g,10).toString(2);break;case"c":g=String.fromCharCode(parseInt(g,10));break;case"d":case"i":g=parseInt(g,10);break;case"j":g=JSON.stringify(g,null,T.width?parseInt(T.width):0);break;case"e":g=T.precision?parseFloat(g).toExponential(T.precision):parseFloat(g).toExponential();break;case"f":g=T.precision?parseFloat(g).toFixed(T.precision):parseFloat(g);break;case"g":g=T.precision?String(Number(g.toPrecision(T.precision))):parseFloat(g);break;case"o":g=(parseInt(g,10)>>>0).toString(8);break;case"s":g=String(g),g=T.precision?g.substring(0,T.precision):g;break;case"t":g=String(!!g),g=T.precision?g.substring(0,T.precision):g;break;case"T":g=Object.prototype.toString.call(g).slice(8,-1).toLowerCase(),g=T.precision?g.substring(0,T.precision):g;break;case"u":g=parseInt(g,10)>>>0;break;case"v":g=g.valueOf(),g=T.precision?g.substring(0,T.precision):g;break;case"x":g=(parseInt(g,10)>>>0).toString(16);break;case"X":g=(parseInt(g,10)>>>0).toString(16).toUpperCase();break}s.json.test(T.type)?C+=g:(s.number.test(T.type)&&(!k||T.sign)?(w=k?"+":"-",g=g.toString().replace(s.sign,"")):w="",A=T.pad_char?T.pad_char==="0"?"0":T.pad_char.charAt(1):" ",o=T.width-(w+g).length,P=T.width&&o>0?A.repeat(o):"",C+=T.align?w+g+P:A==="0"?w+P+g:P+w+g)}return C}var u=Object.create(null);function b(h){if(u[h])return u[h];for(var S=h,v,l=[],g=0;S;){if((v=s.text.exec(S))!==null)l.push(v[0]);else if((v=s.modulo.exec(S))!==null)l.push("%");else if((v=s.placeholder.exec(S))!==null){if(v[2]){g|=1;var C=[],M=v[2],D=[];if((D=s.key.exec(M))!==null)for(C.push(D[1]);(M=M.substring(D[0].length))!=="";)if((D=s.key_access.exec(M))!==null)C.push(D[1]);else if((D=s.index_access.exec(M))!==null)C.push(D[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");v[2]=C}else g|=2;if(g===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");l.push({placeholder:v[0],param_no:v[1],keys:v[2],sign:v[3],pad_char:v[4],align:v[5],width:v[6],precision:v[7],type:v[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");S=S.substring(v[0].length)}return u[h]=l}m.sprintf=n,m.vsprintf=f,typeof window<"u"&&(window.sprintf=n,window.vsprintf=f,t=(function(){return{sprintf:n,vsprintf:f}}).call(m,r,m,d),t!==void 0&&(d.exports=t))})()},4162:function(d,m,r){d.exports=b;var t=r(9284),s=r(9584),n={"2d":function(h,S,v){var l=h({order:S,scalarArguments:3,getters:v==="generic"?[0]:void 0,phase:function(C,M,D,T){return C>T|0},vertex:function(C,M,D,T,P,A,o,k,w,U,F,G,_){var H=(o<<0)+(k<<1)+(w<<2)+(U<<3)|0;if(!(H===0||H===15))switch(H){case 0:F.push([C-.5,M-.5]);break;case 1:F.push([C-.25-.25*(T+D-2*_)/(D-T),M-.25-.25*(P+D-2*_)/(D-P)]);break;case 2:F.push([C-.75-.25*(-T-D+2*_)/(T-D),M-.25-.25*(A+T-2*_)/(T-A)]);break;case 3:F.push([C-.5,M-.5-.5*(P+D+A+T-4*_)/(D-P+T-A)]);break;case 4:F.push([C-.25-.25*(A+P-2*_)/(P-A),M-.75-.25*(-P-D+2*_)/(P-D)]);break;case 5:F.push([C-.5-.5*(T+D+A+P-4*_)/(D-T+P-A),M-.5]);break;case 6:F.push([C-.5-.25*(-T-D+A+P)/(T-D+P-A),M-.5-.25*(-P-D+A+T)/(P-D+T-A)]);break;case 7:F.push([C-.75-.25*(A+P-2*_)/(P-A),M-.75-.25*(A+T-2*_)/(T-A)]);break;case 8:F.push([C-.75-.25*(-A-P+2*_)/(A-P),M-.75-.25*(-A-T+2*_)/(A-T)]);break;case 9:F.push([C-.5-.25*(T+D+-A-P)/(D-T+A-P),M-.5-.25*(P+D+-A-T)/(D-P+A-T)]);break;case 10:F.push([C-.5-.5*(-T-D+-A-P+4*_)/(T-D+A-P),M-.5]);break;case 11:F.push([C-.25-.25*(-A-P+2*_)/(A-P),M-.75-.25*(P+D-2*_)/(D-P)]);break;case 12:F.push([C-.5,M-.5-.5*(-P-D+-A-T+4*_)/(P-D+A-T)]);break;case 13:F.push([C-.75-.25*(T+D-2*_)/(D-T),M-.25-.25*(-A-T+2*_)/(A-T)]);break;case 14:F.push([C-.25-.25*(-T-D+2*_)/(T-D),M-.25-.25*(-P-D+2*_)/(P-D)]);break;case 15:F.push([C-.5,M-.5]);break}},cell:function(C,M,D,T,P,A,o,k,w){P?k.push([C,M]):k.push([M,C])}});return function(g,C){var M=[],D=[];return l(g,M,D,C),{positions:M,cells:D}}}};function f(h,S){var v=h.length+"d",l=n[v];if(l)return l(t,h,S)}function c(h,S){for(var v=s(h,S),l=v.length,g=new Array(l),C=new Array(l),M=0;M0&&(D+=.02);for(var P=new Float32Array(M),A=0,o=-.5*D,T=0;TMath.max(T,P)?A[2]=1:T>Math.max(D,P)?A[0]=1:A[1]=1;for(var o=0,k=0,w=0;w<3;++w)o+=M[w]*M[w],k+=A[w]*M[w];for(var w=0;w<3;++w)A[w]-=k/o*M[w];return c(A,A),A}function v(M,D,T,P,A,o,k,w){this.center=t(T),this.up=t(P),this.right=t(A),this.radius=t([o]),this.angle=t([k,w]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(M,D),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var U=0;U<16;++U)this.computedMatrix[U]=.5;this.recalcMatrix(0)}var l=v.prototype;l.setDistanceLimits=function(M,D){M>0?M=Math.log(M):M=-1/0,D>0?D=Math.log(D):D=1/0,D=Math.max(D,M),this.radius.bounds[0][0]=M,this.radius.bounds[1][0]=D},l.getDistanceLimits=function(M){var D=this.radius.bounds[0];return M?(M[0]=Math.exp(D[0][0]),M[1]=Math.exp(D[1][0]),M):[Math.exp(D[0][0]),Math.exp(D[1][0])]},l.recalcMatrix=function(M){this.center.curve(M),this.up.curve(M),this.right.curve(M),this.radius.curve(M),this.angle.curve(M);for(var D=this.computedUp,T=this.computedRight,P=0,A=0,o=0;o<3;++o)A+=D[o]*T[o],P+=D[o]*D[o];for(var k=Math.sqrt(P),w=0,o=0;o<3;++o)T[o]-=D[o]*A/P,w+=T[o]*T[o],D[o]/=k;for(var U=Math.sqrt(w),o=0;o<3;++o)T[o]/=U;var F=this.computedToward;f(F,D,T),c(F,F);for(var G=Math.exp(this.computedRadius[0]),_=this.computedAngle[0],H=this.computedAngle[1],V=Math.cos(_),N=Math.sin(_),W=Math.cos(H),j=Math.sin(H),Q=this.computedCenter,ie=V*W,ue=N*W,pe=j,q=-V*j,X=-N*j,K=W,J=this.computedEye,re=this.computedMatrix,o=0;o<3;++o){var fe=ie*T[o]+ue*F[o]+pe*D[o];re[4*o+1]=q*T[o]+X*F[o]+K*D[o],re[4*o+2]=fe,re[4*o+3]=0}var te=re[1],ee=re[5],ce=re[9],le=re[2],me=re[6],we=re[10],Se=ee*we-ce*me,Ee=ce*le-te*we,We=te*me-ee*le,Ye=b(Se,Ee,We);Se/=Ye,Ee/=Ye,We/=Ye,re[0]=Se,re[4]=Ee,re[8]=We;for(var o=0;o<3;++o)J[o]=Q[o]+re[2+4*o]*G;for(var o=0;o<3;++o){for(var w=0,De=0;De<3;++De)w+=re[o+4*De]*J[De];re[12+o]=-w}re[15]=1},l.getMatrix=function(M,D){this.recalcMatrix(M);var T=this.computedMatrix;if(D){for(var P=0;P<16;++P)D[P]=T[P];return D}return T};var g=[0,0,0];l.rotate=function(M,D,T,P){if(this.angle.move(M,D,T),P){this.recalcMatrix(M);var A=this.computedMatrix;g[0]=A[2],g[1]=A[6],g[2]=A[10];for(var o=this.computedUp,k=this.computedRight,w=this.computedToward,U=0;U<3;++U)A[4*U]=o[U],A[4*U+1]=k[U],A[4*U+2]=w[U];n(A,A,P,g);for(var U=0;U<3;++U)o[U]=A[4*U],k[U]=A[4*U+1];this.up.set(M,o[0],o[1],o[2]),this.right.set(M,k[0],k[1],k[2])}},l.pan=function(M,D,T,P){D=D||0,T=T||0,P=P||0,this.recalcMatrix(M);var A=this.computedMatrix;Math.exp(this.computedRadius[0]);var o=A[1],k=A[5],w=A[9],U=b(o,k,w);o/=U,k/=U,w/=U;var F=A[0],G=A[4],_=A[8],H=F*o+G*k+_*w;F-=o*H,G-=k*H,_-=w*H;var V=b(F,G,_);F/=V,G/=V,_/=V;var N=F*D+o*T,W=G*D+k*T,j=_*D+w*T;this.center.move(M,N,W,j);var Q=Math.exp(this.computedRadius[0]);Q=Math.max(1e-4,Q+P),this.radius.set(M,Math.log(Q))},l.translate=function(M,D,T,P){this.center.move(M,D||0,T||0,P||0)},l.setMatrix=function(M,D,T,P){var A=1;typeof T=="number"&&(A=T|0),(A<0||A>3)&&(A=1);var o=(A+2)%3;D||(this.recalcMatrix(M),D=this.computedMatrix);var k=D[A],w=D[A+4],U=D[A+8];if(P){var G=Math.abs(k),_=Math.abs(w),H=Math.abs(U),V=Math.max(G,_,H);G===V?(k=k<0?-1:1,w=U=0):H===V?(U=U<0?-1:1,k=w=0):(w=w<0?-1:1,k=U=0)}else{var F=b(k,w,U);k/=F,w/=F,U/=F}var N=D[o],W=D[o+4],j=D[o+8],Q=N*k+W*w+j*U;N-=k*Q,W-=w*Q,j-=U*Q;var ie=b(N,W,j);N/=ie,W/=ie,j/=ie;var ue=w*j-U*W,pe=U*N-k*j,q=k*W-w*N,X=b(ue,pe,q);ue/=X,pe/=X,q/=X,this.center.jump(M,Je,He,$e),this.radius.idle(M),this.up.jump(M,k,w,U),this.right.jump(M,N,W,j);var K,J;if(A===2){var re=D[1],fe=D[5],te=D[9],ee=re*N+fe*W+te*j,ce=re*ue+fe*pe+te*q;Se<0?K=-Math.PI/2:K=Math.PI/2,J=Math.atan2(ce,ee)}else{var le=D[2],me=D[6],we=D[10],Se=le*k+me*w+we*U,Ee=le*N+me*W+we*j,We=le*ue+me*pe+we*q;K=Math.asin(h(Se)),J=Math.atan2(We,Ee)}this.angle.jump(M,J,K),this.recalcMatrix(M);var Ye=D[2],De=D[6],Te=D[10],Re=this.computedMatrix;s(Re,D);var Xe=Re[15],Je=Re[12]/Xe,He=Re[13]/Xe,$e=Re[14]/Xe,pt=Math.exp(this.computedRadius[0]);this.center.jump(M,Je-Ye*pt,He-De*pt,$e-Te*pt)},l.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},l.idle=function(M){this.center.idle(M),this.up.idle(M),this.right.idle(M),this.radius.idle(M),this.angle.idle(M)},l.flush=function(M){this.center.flush(M),this.up.flush(M),this.right.flush(M),this.radius.flush(M),this.angle.flush(M)},l.setDistance=function(M,D){D>0&&this.radius.set(M,Math.log(D))},l.lookAt=function(M,D,T,P){this.recalcMatrix(M),D=D||this.computedEye,T=T||this.computedCenter,P=P||this.computedUp;var A=P[0],o=P[1],k=P[2],w=b(A,o,k);if(!(w<1e-6)){A/=w,o/=w,k/=w;var U=D[0]-T[0],F=D[1]-T[1],G=D[2]-T[2],_=b(U,F,G);if(!(_<1e-6)){U/=_,F/=_,G/=_;var H=this.computedRight,V=H[0],N=H[1],W=H[2],j=A*V+o*N+k*W;V-=j*A,N-=j*o,W-=j*k;var Q=b(V,N,W);if(!(Q<.01&&(V=o*G-k*F,N=k*U-A*G,W=A*F-o*U,Q=b(V,N,W),Q<1e-6))){V/=Q,N/=Q,W/=Q,this.up.set(M,A,o,k),this.right.set(M,V,N,W),this.center.set(M,T[0],T[1],T[2]),this.radius.set(M,Math.log(_));var ie=o*W-k*N,ue=k*V-A*W,pe=A*N-o*V,q=b(ie,ue,pe);ie/=q,ue/=q,pe/=q;var X=A*U+o*F+k*G,K=V*U+N*F+W*G,J=ie*U+ue*F+pe*G,re=Math.asin(h(X)),fe=Math.atan2(J,K),te=this.angle._state,ee=te[te.length-1],ce=te[te.length-2];ee=ee%(2*Math.PI);var le=Math.abs(ee+2*Math.PI-fe),me=Math.abs(ee-fe),we=Math.abs(ee-2*Math.PI-fe);le0?W.pop():new ArrayBuffer(V)}m.mallocArrayBuffer=g;function C(H){return new Uint8Array(g(H),0,H)}m.mallocUint8=C;function M(H){return new Uint16Array(g(2*H),0,H)}m.mallocUint16=M;function D(H){return new Uint32Array(g(4*H),0,H)}m.mallocUint32=D;function T(H){return new Int8Array(g(H),0,H)}m.mallocInt8=T;function P(H){return new Int16Array(g(2*H),0,H)}m.mallocInt16=P;function A(H){return new Int32Array(g(4*H),0,H)}m.mallocInt32=A;function o(H){return new Float32Array(g(4*H),0,H)}m.mallocFloat32=m.mallocFloat=o;function k(H){return new Float64Array(g(8*H),0,H)}m.mallocFloat64=m.mallocDouble=k;function w(H){return f?new Uint8ClampedArray(g(H),0,H):C(H)}m.mallocUint8Clamped=w;function U(H){return c?new BigUint64Array(g(8*H),0,H):null}m.mallocBigUint64=U;function F(H){return u?new BigInt64Array(g(8*H),0,H):null}m.mallocBigInt64=F;function G(H){return new DataView(g(H),0,H)}m.mallocDataView=G;function _(H){H=t.nextPow2(H);var V=t.log2(H),N=S[V];return N.length>0?N.pop():new n(H)}m.mallocBuffer=_,m.clearCache=function(){for(var V=0;V<32;++V)b.UINT8[V].length=0,b.UINT16[V].length=0,b.UINT32[V].length=0,b.INT8[V].length=0,b.INT16[V].length=0,b.INT32[V].length=0,b.FLOAT[V].length=0,b.DOUBLE[V].length=0,b.BIGUINT64[V].length=0,b.BIGINT64[V].length=0,b.UINT8C[V].length=0,h[V].length=0,S[V].length=0}},1731:function(d){"use restrict";d.exports=m;function m(t){this.roots=new Array(t),this.ranks=new Array(t);for(var s=0;s",W="",j=N.length,Q=W.length,ie=_[0]===g||_[0]===D,ue=0,pe=-Q;ue>-1&&(ue=H.indexOf(N,ue),!(ue===-1||(pe=H.indexOf(W,ue+j),pe===-1)||pe<=ue));){for(var q=ue;q=pe)V[q]=null,H=H.substr(0,q)+" "+H.substr(q+1);else if(V[q]!==null){var X=V[q].indexOf(_[0]);X===-1?V[q]+=_:ie&&(V[q]=V[q].substr(0,X+1)+(1+parseInt(V[q][X+1]))+V[q].substr(X+2))}var K=ue+j,J=H.substr(K,pe-K),re=J.indexOf(N);re!==-1?ue=re:ue=pe+Q}return V}function A(G,_,H){for(var V=_.textAlign||"start",N=_.textBaseline||"alphabetic",W=[1<<30,1<<30],j=[0,0],Q=G.length,ie=0;ie/g,` -`):H=H.replace(/\/g," ");var j="",Q=[];for(ee=0;ee-1?parseInt($e[1+lt]):0,gt=ke>-1?parseInt(pt[1+ke]):0;Ne!==gt&&(ut=ut.replace(We(),"?px "),me*=Math.pow(.75,gt-Ne),ut=ut.replace("?px ",We())),le+=.25*X*(gt-Ne)}if(W.superscripts===!0){var qe=$e.indexOf(g),vt=pt.indexOf(g),Bt=qe>-1?parseInt($e[1+qe]):0,Yt=vt>-1?parseInt(pt[1+vt]):0;Bt!==Yt&&(ut=ut.replace(We(),"?px "),me*=Math.pow(.75,Yt-Bt),ut=ut.replace("?px ",We())),le-=.25*X*(Yt-Bt)}if(W.bolds===!0){var it=$e.indexOf(h)>-1,Ue=pt.indexOf(h)>-1;!it&&Ue&&(_e?ut=ut.replace("italic ","italic bold "):ut="bold "+ut),it&&!Ue&&(ut=ut.replace("bold ",""))}if(W.italics===!0){var _e=$e.indexOf(v)>-1,Ze=pt.indexOf(v)>-1;!_e&&Ze&&(ut="italic "+ut),_e&&!Ze&&(ut=ut.replace("italic ",""))}_.font=ut}for(te=0;te0&&(N=V.size),V.lineSpacing&&V.lineSpacing>0&&(W=V.lineSpacing),V.styletags&&V.styletags.breaklines&&(j.breaklines=!!V.styletags.breaklines),V.styletags&&V.styletags.bolds&&(j.bolds=!!V.styletags.bolds),V.styletags&&V.styletags.italics&&(j.italics=!!V.styletags.italics),V.styletags&&V.styletags.subscripts&&(j.subscripts=!!V.styletags.subscripts),V.styletags&&V.styletags.superscripts&&(j.superscripts=!!V.styletags.superscripts)),H.font=[V.fontStyle,V.fontVariant,V.fontWeight,N+"px",V.font].filter(function(ie){return ie}).join(" "),H.textAlign="start",H.textBaseline="alphabetic",H.direction="ltr";var Q=o(_,H,G,N,W,j);return U(Q,V,N)}},5346:function(d){(function(){if(typeof ses<"u"&&ses.ok&&!ses.ok())return;function r(k){k.permitHostObjects___&&k.permitHostObjects___(r)}typeof ses<"u"&&(ses.weakMapPermitHostObjects=r);var t=!1;if(typeof WeakMap=="function"){var s=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var n=new s,f=Object.freeze({});if(n.set(f,1),n.get(f)!==1)t=!0;else{d.exports=WeakMap;return}}}var c=Object.getOwnPropertyNames,u=Object.defineProperty,b=Object.isExtensible,h="weakmap:",S=h+"ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var v=new ArrayBuffer(25),l=new Uint8Array(v);crypto.getRandomValues(l),S=h+"rand:"+Array.prototype.map.call(l,function(k){return(k%36).toString(36)}).join("")+"___"}function g(k){return!(k.substr(0,h.length)==h&&k.substr(k.length-3)==="___")}if(u(Object,"getOwnPropertyNames",{value:function(w){return c(w).filter(g)}}),"getPropertyNames"in Object){var C=Object.getPropertyNames;u(Object,"getPropertyNames",{value:function(w){return C(w).filter(g)}})}function M(k){if(k!==Object(k))throw new TypeError("Not an object: "+k);var w=k[S];if(w&&w.key===k)return w;if(b(k)){w={key:k};try{return u(k,S,{value:w,writable:!1,enumerable:!1,configurable:!1}),w}catch{return}}}(function(){var k=Object.freeze;u(Object,"freeze",{value:function(G){return M(G),k(G)}});var w=Object.seal;u(Object,"seal",{value:function(G){return M(G),w(G)}});var U=Object.preventExtensions;u(Object,"preventExtensions",{value:function(G){return M(G),U(G)}})})();function D(k){return k.prototype=null,Object.freeze(k)}var T=!1;function P(){!T&&typeof console<"u"&&(T=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}var A=0,o=function(){this instanceof o||P();var k=[],w=[],U=A++;function F(V,N){var W,j=M(V);return j?U in j?j[U]:N:(W=k.indexOf(V),W>=0?w[W]:N)}function G(V){var N=M(V);return N?U in N:k.indexOf(V)>=0}function _(V,N){var W,j=M(V);return j?j[U]=N:(W=k.indexOf(V),W>=0?w[W]=N:(W=k.length,w[W]=N,k[W]=V)),this}function H(V){var N=M(V),W,j;return N?U in N&&delete N[U]:(W=k.indexOf(V),W<0?!1:(j=k.length-1,k[W]=void 0,w[W]=w[j],k[W]=k[j],k.length=j,w.length=j,!0))}return Object.create(o.prototype,{get___:{value:D(F)},has___:{value:D(G)},set___:{value:D(_)},delete___:{value:D(H)}})};o.prototype=Object.create(Object.prototype,{get:{value:function(w,U){return this.get___(w,U)},writable:!0,configurable:!0},has:{value:function(w){return this.has___(w)},writable:!0,configurable:!0},set:{value:function(w,U){return this.set___(w,U)},writable:!0,configurable:!0},delete:{value:function(w){return this.delete___(w)},writable:!0,configurable:!0}}),typeof s=="function"?function(){t&&typeof Proxy<"u"&&(Proxy=void 0);function k(){this instanceof o||P();var w=new s,U=void 0,F=!1;function G(N,W){return U?w.has(N)?w.get(N):U.get___(N,W):w.get(N,W)}function _(N){return w.has(N)||(U?U.has___(N):!1)}var H;t?H=function(N,W){return w.set(N,W),w.has(N)||(U||(U=new o),U.set(N,W)),this}:H=function(N,W){if(F)try{w.set(N,W)}catch{U||(U=new o),U.set___(N,W)}else w.set(N,W);return this};function V(N){var W=!!w.delete(N);return U&&U.delete___(N)||W}return Object.create(o.prototype,{get___:{value:D(G)},has___:{value:D(_)},set___:{value:D(H)},delete___:{value:D(V)},permitHostObjects___:{value:D(function(N){if(N===r)F=!0;else throw new Error("bogus call to permitHostObjects___")})}})}k.prototype=o.prototype,d.exports=k,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),d.exports=o)})()},9222:function(d,m,r){var t=r(7178);d.exports=s;function s(){var n={};return function(f){if((typeof f!="object"||f===null)&&typeof f!="function")throw new Error("Weakmap-shim: Key must be object");var c=f.valueOf(n);return c&&c.identity===n?c:t(f,n)}}},7178:function(d){d.exports=m;function m(r,t){var s={identity:t},n=r.valueOf;return Object.defineProperty(r,"valueOf",{value:function(f){return f!==t?n.apply(this,arguments):s},writable:!0}),s}},4037:function(d,m,r){var t=r(9222);d.exports=s;function s(){var n=t();return{get:function(f,c){var u=n(f);return u.hasOwnProperty("value")?u.value:c},set:function(f,c){return n(f).value=c,this},has:function(f){return"value"in n(f)},delete:function(f){return delete n(f).value}}}},6183:function(d){function m(){return function(c,u,b,h,S,v){var l=c[0],g=b[0],C=[0],M=g;h|=0;var D=0,T=g;for(D=0;D=0!=A>=0&&S.push(C[0]+.5+.5*(P+A)/(P-A))}h+=T,++C[0]}}}function r(){return m()}var t=r;function s(c){var u={};return function(h,S,v){var l=h.dtype,g=h.order,C=[l,g.join()].join(),M=u[C];return M||(u[C]=M=c([l,g])),M(h.shape.slice(0),h.data,h.stride,h.offset|0,S,v)}}function n(c){return s(t.bind(void 0,c))}function f(c){return n({funcName:c.funcName})}d.exports=f({funcName:"zeroCrossings"})},9584:function(d,m,r){d.exports=s;var t=r(6183);function s(n,f){var c=[];return f=+f||0,t(n.hi(n.shape[0]-1),c,f),c}},6601:function(){}},a={};function L(d){var m=a[d];if(m!==void 0)return m.exports;var r=a[d]={id:d,loaded:!1,exports:{}};return E[d].call(r.exports,r,r.exports,L),r.loaded=!0,r.exports}(function(){L.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()})(),function(){L.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d}}();var x=L(7386);return x}()})},12856:function(B,O,e){/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */function p(it,Ue){if(!(it instanceof Ue))throw new TypeError("Cannot call a class as a function")}function E(it,Ue){for(var _e=0;_e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(it){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_e){return _e.__proto__||Object.getPrototypeOf(_e)},f(it)}function c(it){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ue){return typeof Ue}:function(Ue){return Ue&&typeof Symbol=="function"&&Ue.constructor===Symbol&&Ue!==Symbol.prototype?"symbol":typeof Ue},c(it)}var u=e(95341),b=e(95280),h=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=g,O.SlowBuffer=F,O.INSPECT_MAX_BYTES=50;var S=2147483647;O.kMaxLength=S,g.TYPED_ARRAY_SUPPORT=v(),!g.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{var it=new Uint8Array(1),Ue={foo:function(){return 42}};return Object.setPrototypeOf(Ue,Uint8Array.prototype),Object.setPrototypeOf(it,Ue),it.foo()===42}catch{return!1}}Object.defineProperty(g.prototype,"parent",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.buffer}}),Object.defineProperty(g.prototype,"offset",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.byteOffset}});function l(it){if(it>S)throw new RangeError('The value "'+it+'" is invalid for option "size"');var Ue=new Uint8Array(it);return Object.setPrototypeOf(Ue,g.prototype),Ue}function g(it,Ue,_e){if(typeof it=="number"){if(typeof Ue=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return T(it)}return C(it,Ue,_e)}g.poolSize=8192;function C(it,Ue,_e){if(typeof it=="string")return P(it,Ue);if(ArrayBuffer.isView(it))return o(it);if(it==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+c(it));if(gt(it,ArrayBuffer)||it&>(it.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(gt(it,SharedArrayBuffer)||it&>(it.buffer,SharedArrayBuffer)))return k(it,Ue,_e);if(typeof it=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ze=it.valueOf&&it.valueOf();if(Ze!=null&&Ze!==it)return g.from(Ze,Ue,_e);var Fe=w(it);if(Fe)return Fe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof it[Symbol.toPrimitive]=="function")return g.from(it[Symbol.toPrimitive]("string"),Ue,_e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+c(it))}g.from=function(it,Ue,_e){return C(it,Ue,_e)},Object.setPrototypeOf(g.prototype,Uint8Array.prototype),Object.setPrototypeOf(g,Uint8Array);function M(it){if(typeof it!="number")throw new TypeError('"size" argument must be of type number');if(it<0)throw new RangeError('The value "'+it+'" is invalid for option "size"')}function D(it,Ue,_e){return M(it),it<=0?l(it):Ue!==void 0?typeof _e=="string"?l(it).fill(Ue,_e):l(it).fill(Ue):l(it)}g.alloc=function(it,Ue,_e){return D(it,Ue,_e)};function T(it){return M(it),l(it<0?0:U(it)|0)}g.allocUnsafe=function(it){return T(it)},g.allocUnsafeSlow=function(it){return T(it)};function P(it,Ue){if((typeof Ue!="string"||Ue==="")&&(Ue="utf8"),!g.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue);var _e=G(it,Ue)|0,Ze=l(_e),Fe=Ze.write(it,Ue);return Fe!==_e&&(Ze=Ze.slice(0,Fe)),Ze}function A(it){for(var Ue=it.length<0?0:U(it.length)|0,_e=l(Ue),Ze=0;Ze=S)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S.toString(16)+" bytes");return it|0}function F(it){return+it!=it&&(it=0),g.alloc(+it)}g.isBuffer=function(Ue){return Ue!=null&&Ue._isBuffer===!0&&Ue!==g.prototype},g.compare=function(Ue,_e){if(gt(Ue,Uint8Array)&&(Ue=g.from(Ue,Ue.offset,Ue.byteLength)),gt(_e,Uint8Array)&&(_e=g.from(_e,_e.offset,_e.byteLength)),!g.isBuffer(Ue)||!g.isBuffer(_e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ue===_e)return 0;for(var Ze=Ue.length,Fe=_e.length,Ce=0,ve=Math.min(Ze,Fe);CeFe.length?(g.isBuffer(ve)||(ve=g.from(ve)),ve.copy(Fe,Ce)):Uint8Array.prototype.set.call(Fe,ve,Ce);else if(g.isBuffer(ve))ve.copy(Fe,Ce);else throw new TypeError('"list" argument must be an Array of Buffers');Ce+=ve.length}return Fe};function G(it,Ue){if(g.isBuffer(it))return it.length;if(ArrayBuffer.isView(it)||gt(it,ArrayBuffer))return it.byteLength;if(typeof it!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+c(it));var _e=it.length,Ze=arguments.length>2&&arguments[2]===!0;if(!Ze&&_e===0)return 0;for(var Fe=!1;;)switch(Ue){case"ascii":case"latin1":case"binary":return _e;case"utf8":case"utf-8":return pt(it).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _e*2;case"hex":return _e>>>1;case"base64":return ke(it).length;default:if(Fe)return Ze?-1:pt(it).length;Ue=(""+Ue).toLowerCase(),Fe=!0}}g.byteLength=G;function _(it,Ue,_e){var Ze=!1;if((Ue===void 0||Ue<0)&&(Ue=0),Ue>this.length||((_e===void 0||_e>this.length)&&(_e=this.length),_e<=0)||(_e>>>=0,Ue>>>=0,_e<=Ue))return"";for(it||(it="utf8");;)switch(it){case"hex":return fe(this,Ue,_e);case"utf8":case"utf-8":return q(this,Ue,_e);case"ascii":return J(this,Ue,_e);case"latin1":case"binary":return re(this,Ue,_e);case"base64":return pe(this,Ue,_e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,Ue,_e);default:if(Ze)throw new TypeError("Unknown encoding: "+it);it=(it+"").toLowerCase(),Ze=!0}}g.prototype._isBuffer=!0;function H(it,Ue,_e){var Ze=it[Ue];it[Ue]=it[_e],it[_e]=Ze}g.prototype.swap16=function(){var Ue=this.length;if(Ue%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var _e=0;_e_e&&(Ue+=" ... "),""},h&&(g.prototype[h]=g.prototype.inspect),g.prototype.compare=function(Ue,_e,Ze,Fe,Ce){if(gt(Ue,Uint8Array)&&(Ue=g.from(Ue,Ue.offset,Ue.byteLength)),!g.isBuffer(Ue))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+c(Ue));if(_e===void 0&&(_e=0),Ze===void 0&&(Ze=Ue?Ue.length:0),Fe===void 0&&(Fe=0),Ce===void 0&&(Ce=this.length),_e<0||Ze>Ue.length||Fe<0||Ce>this.length)throw new RangeError("out of range index");if(Fe>=Ce&&_e>=Ze)return 0;if(Fe>=Ce)return-1;if(_e>=Ze)return 1;if(_e>>>=0,Ze>>>=0,Fe>>>=0,Ce>>>=0,this===Ue)return 0;for(var ve=Ce-Fe,Ie=Ze-_e,Ae=Math.min(ve,Ie),je=this.slice(Fe,Ce),ot=Ue.slice(_e,Ze),ct=0;ct2147483647?_e=2147483647:_e<-2147483648&&(_e=-2147483648),_e=+_e,qe(_e)&&(_e=Fe?0:it.length-1),_e<0&&(_e=it.length+_e),_e>=it.length){if(Fe)return-1;_e=it.length-1}else if(_e<0)if(Fe)_e=0;else return-1;if(typeof Ue=="string"&&(Ue=g.from(Ue,Ze)),g.isBuffer(Ue))return Ue.length===0?-1:N(it,Ue,_e,Ze,Fe);if(typeof Ue=="number")return Ue=Ue&255,typeof Uint8Array.prototype.indexOf=="function"?Fe?Uint8Array.prototype.indexOf.call(it,Ue,_e):Uint8Array.prototype.lastIndexOf.call(it,Ue,_e):N(it,[Ue],_e,Ze,Fe);throw new TypeError("val must be string, number or Buffer")}function N(it,Ue,_e,Ze,Fe){var Ce=1,ve=it.length,Ie=Ue.length;if(Ze!==void 0&&(Ze=String(Ze).toLowerCase(),Ze==="ucs2"||Ze==="ucs-2"||Ze==="utf16le"||Ze==="utf-16le")){if(it.length<2||Ue.length<2)return-1;Ce=2,ve/=2,Ie/=2,_e/=2}function Ae(kt,nr){return Ce===1?kt[nr]:kt.readUInt16BE(nr*Ce)}var je;if(Fe){var ot=-1;for(je=_e;jeve&&(_e=ve-Ie),je=_e;je>=0;je--){for(var ct=!0,Et=0;EtFe&&(Ze=Fe)):Ze=Fe;var Ce=Ue.length;Ze>Ce/2&&(Ze=Ce/2);var ve;for(ve=0;ve>>0,isFinite(Ze)?(Ze=Ze>>>0,Fe===void 0&&(Fe="utf8")):(Fe=Ze,Ze=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ce=this.length-_e;if((Ze===void 0||Ze>Ce)&&(Ze=Ce),Ue.length>0&&(Ze<0||_e<0)||_e>this.length)throw new RangeError("Attempt to write outside buffer bounds");Fe||(Fe="utf8");for(var ve=!1;;)switch(Fe){case"hex":return W(this,Ue,_e,Ze);case"utf8":case"utf-8":return j(this,Ue,_e,Ze);case"ascii":case"latin1":case"binary":return Q(this,Ue,_e,Ze);case"base64":return ie(this,Ue,_e,Ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,Ue,_e,Ze);default:if(ve)throw new TypeError("Unknown encoding: "+Fe);Fe=(""+Fe).toLowerCase(),ve=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pe(it,Ue,_e){return Ue===0&&_e===it.length?u.fromByteArray(it):u.fromByteArray(it.slice(Ue,_e))}function q(it,Ue,_e){_e=Math.min(it.length,_e);for(var Ze=[],Fe=Ue;Fe<_e;){var Ce=it[Fe],ve=null,Ie=Ce>239?4:Ce>223?3:Ce>191?2:1;if(Fe+Ie<=_e){var Ae=void 0,je=void 0,ot=void 0,ct=void 0;switch(Ie){case 1:Ce<128&&(ve=Ce);break;case 2:Ae=it[Fe+1],(Ae&192)===128&&(ct=(Ce&31)<<6|Ae&63,ct>127&&(ve=ct));break;case 3:Ae=it[Fe+1],je=it[Fe+2],(Ae&192)===128&&(je&192)===128&&(ct=(Ce&15)<<12|(Ae&63)<<6|je&63,ct>2047&&(ct<55296||ct>57343)&&(ve=ct));break;case 4:Ae=it[Fe+1],je=it[Fe+2],ot=it[Fe+3],(Ae&192)===128&&(je&192)===128&&(ot&192)===128&&(ct=(Ce&15)<<18|(Ae&63)<<12|(je&63)<<6|ot&63,ct>65535&&ct<1114112&&(ve=ct))}}ve===null?(ve=65533,Ie=1):ve>65535&&(ve-=65536,Ze.push(ve>>>10&1023|55296),ve=56320|ve&1023),Ze.push(ve),Fe+=Ie}return K(Ze)}var X=4096;function K(it){var Ue=it.length;if(Ue<=X)return String.fromCharCode.apply(String,it);for(var _e="",Ze=0;ZeZe)&&(_e=Ze);for(var Fe="",Ce=Ue;Ce<_e;++Ce)Fe+=vt[it[Ce]];return Fe}function te(it,Ue,_e){for(var Ze=it.slice(Ue,_e),Fe="",Ce=0;CeZe&&(Ue=Ze),_e<0?(_e+=Ze,_e<0&&(_e=0)):_e>Ze&&(_e=Ze),_e_e)throw new RangeError("Trying to access beyond buffer length")}g.prototype.readUintLE=g.prototype.readUIntLE=function(Ue,_e,Ze){Ue=Ue>>>0,_e=_e>>>0,Ze||ee(Ue,_e,this.length);for(var Fe=this[Ue],Ce=1,ve=0;++ve<_e&&(Ce*=256);)Fe+=this[Ue+ve]*Ce;return Fe},g.prototype.readUintBE=g.prototype.readUIntBE=function(Ue,_e,Ze){Ue=Ue>>>0,_e=_e>>>0,Ze||ee(Ue,_e,this.length);for(var Fe=this[Ue+--_e],Ce=1;_e>0&&(Ce*=256);)Fe+=this[Ue+--_e]*Ce;return Fe},g.prototype.readUint8=g.prototype.readUInt8=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,1,this.length),this[Ue]},g.prototype.readUint16LE=g.prototype.readUInt16LE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,2,this.length),this[Ue]|this[Ue+1]<<8},g.prototype.readUint16BE=g.prototype.readUInt16BE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,2,this.length),this[Ue]<<8|this[Ue+1]},g.prototype.readUint32LE=g.prototype.readUInt32LE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,4,this.length),(this[Ue]|this[Ue+1]<<8|this[Ue+2]<<16)+this[Ue+3]*16777216},g.prototype.readUint32BE=g.prototype.readUInt32BE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,4,this.length),this[Ue]*16777216+(this[Ue+1]<<16|this[Ue+2]<<8|this[Ue+3])},g.prototype.readBigUInt64LE=Bt(function(Ue){Ue=Ue>>>0,Xe(Ue,"offset");var _e=this[Ue],Ze=this[Ue+7];(_e===void 0||Ze===void 0)&&Je(Ue,this.length-8);var Fe=_e+this[++Ue]*Math.pow(2,8)+this[++Ue]*Math.pow(2,16)+this[++Ue]*Math.pow(2,24),Ce=this[++Ue]+this[++Ue]*Math.pow(2,8)+this[++Ue]*Math.pow(2,16)+Ze*Math.pow(2,24);return BigInt(Fe)+(BigInt(Ce)<>>0,Xe(Ue,"offset");var _e=this[Ue],Ze=this[Ue+7];(_e===void 0||Ze===void 0)&&Je(Ue,this.length-8);var Fe=_e*Math.pow(2,24)+this[++Ue]*Math.pow(2,16)+this[++Ue]*Math.pow(2,8)+this[++Ue],Ce=this[++Ue]*Math.pow(2,24)+this[++Ue]*Math.pow(2,16)+this[++Ue]*Math.pow(2,8)+Ze;return(BigInt(Fe)<>>0,_e=_e>>>0,Ze||ee(Ue,_e,this.length);for(var Fe=this[Ue],Ce=1,ve=0;++ve<_e&&(Ce*=256);)Fe+=this[Ue+ve]*Ce;return Ce*=128,Fe>=Ce&&(Fe-=Math.pow(2,8*_e)),Fe},g.prototype.readIntBE=function(Ue,_e,Ze){Ue=Ue>>>0,_e=_e>>>0,Ze||ee(Ue,_e,this.length);for(var Fe=_e,Ce=1,ve=this[Ue+--Fe];Fe>0&&(Ce*=256);)ve+=this[Ue+--Fe]*Ce;return Ce*=128,ve>=Ce&&(ve-=Math.pow(2,8*_e)),ve},g.prototype.readInt8=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,1,this.length),this[Ue]&128?(255-this[Ue]+1)*-1:this[Ue]},g.prototype.readInt16LE=function(Ue,_e){Ue=Ue>>>0,_e||ee(Ue,2,this.length);var Ze=this[Ue]|this[Ue+1]<<8;return Ze&32768?Ze|4294901760:Ze},g.prototype.readInt16BE=function(Ue,_e){Ue=Ue>>>0,_e||ee(Ue,2,this.length);var Ze=this[Ue+1]|this[Ue]<<8;return Ze&32768?Ze|4294901760:Ze},g.prototype.readInt32LE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,4,this.length),this[Ue]|this[Ue+1]<<8|this[Ue+2]<<16|this[Ue+3]<<24},g.prototype.readInt32BE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,4,this.length),this[Ue]<<24|this[Ue+1]<<16|this[Ue+2]<<8|this[Ue+3]},g.prototype.readBigInt64LE=Bt(function(Ue){Ue=Ue>>>0,Xe(Ue,"offset");var _e=this[Ue],Ze=this[Ue+7];(_e===void 0||Ze===void 0)&&Je(Ue,this.length-8);var Fe=this[Ue+4]+this[Ue+5]*Math.pow(2,8)+this[Ue+6]*Math.pow(2,16)+(Ze<<24);return(BigInt(Fe)<>>0,Xe(Ue,"offset");var _e=this[Ue],Ze=this[Ue+7];(_e===void 0||Ze===void 0)&&Je(Ue,this.length-8);var Fe=(_e<<24)+this[++Ue]*Math.pow(2,16)+this[++Ue]*Math.pow(2,8)+this[++Ue];return(BigInt(Fe)<>>0,_e||ee(Ue,4,this.length),b.read(this,Ue,!0,23,4)},g.prototype.readFloatBE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,4,this.length),b.read(this,Ue,!1,23,4)},g.prototype.readDoubleLE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,8,this.length),b.read(this,Ue,!0,52,8)},g.prototype.readDoubleBE=function(Ue,_e){return Ue=Ue>>>0,_e||ee(Ue,8,this.length),b.read(this,Ue,!1,52,8)};function ce(it,Ue,_e,Ze,Fe,Ce){if(!g.isBuffer(it))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ue>Fe||Ueit.length)throw new RangeError("Index out of range")}g.prototype.writeUintLE=g.prototype.writeUIntLE=function(Ue,_e,Ze,Fe){if(Ue=+Ue,_e=_e>>>0,Ze=Ze>>>0,!Fe){var Ce=Math.pow(2,8*Ze)-1;ce(this,Ue,_e,Ze,Ce,0)}var ve=1,Ie=0;for(this[_e]=Ue&255;++Ie>>0,Ze=Ze>>>0,!Fe){var Ce=Math.pow(2,8*Ze)-1;ce(this,Ue,_e,Ze,Ce,0)}var ve=Ze-1,Ie=1;for(this[_e+ve]=Ue&255;--ve>=0&&(Ie*=256);)this[_e+ve]=Ue/Ie&255;return _e+Ze},g.prototype.writeUint8=g.prototype.writeUInt8=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,1,255,0),this[_e]=Ue&255,_e+1},g.prototype.writeUint16LE=g.prototype.writeUInt16LE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,2,65535,0),this[_e]=Ue&255,this[_e+1]=Ue>>>8,_e+2},g.prototype.writeUint16BE=g.prototype.writeUInt16BE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,2,65535,0),this[_e]=Ue>>>8,this[_e+1]=Ue&255,_e+2},g.prototype.writeUint32LE=g.prototype.writeUInt32LE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,4,4294967295,0),this[_e+3]=Ue>>>24,this[_e+2]=Ue>>>16,this[_e+1]=Ue>>>8,this[_e]=Ue&255,_e+4},g.prototype.writeUint32BE=g.prototype.writeUInt32BE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,4,4294967295,0),this[_e]=Ue>>>24,this[_e+1]=Ue>>>16,this[_e+2]=Ue>>>8,this[_e+3]=Ue&255,_e+4};function le(it,Ue,_e,Ze,Fe){Re(Ue,Ze,Fe,it,_e,7);var Ce=Number(Ue&BigInt(4294967295));it[_e++]=Ce,Ce=Ce>>8,it[_e++]=Ce,Ce=Ce>>8,it[_e++]=Ce,Ce=Ce>>8,it[_e++]=Ce;var ve=Number(Ue>>BigInt(32)&BigInt(4294967295));return it[_e++]=ve,ve=ve>>8,it[_e++]=ve,ve=ve>>8,it[_e++]=ve,ve=ve>>8,it[_e++]=ve,_e}function me(it,Ue,_e,Ze,Fe){Re(Ue,Ze,Fe,it,_e,7);var Ce=Number(Ue&BigInt(4294967295));it[_e+7]=Ce,Ce=Ce>>8,it[_e+6]=Ce,Ce=Ce>>8,it[_e+5]=Ce,Ce=Ce>>8,it[_e+4]=Ce;var ve=Number(Ue>>BigInt(32)&BigInt(4294967295));return it[_e+3]=ve,ve=ve>>8,it[_e+2]=ve,ve=ve>>8,it[_e+1]=ve,ve=ve>>8,it[_e]=ve,_e+8}g.prototype.writeBigUInt64LE=Bt(function(Ue){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return le(this,Ue,_e,BigInt(0),BigInt("0xffffffffffffffff"))}),g.prototype.writeBigUInt64BE=Bt(function(Ue){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return me(this,Ue,_e,BigInt(0),BigInt("0xffffffffffffffff"))}),g.prototype.writeIntLE=function(Ue,_e,Ze,Fe){if(Ue=+Ue,_e=_e>>>0,!Fe){var Ce=Math.pow(2,8*Ze-1);ce(this,Ue,_e,Ze,Ce-1,-Ce)}var ve=0,Ie=1,Ae=0;for(this[_e]=Ue&255;++ve>0)-Ae&255;return _e+Ze},g.prototype.writeIntBE=function(Ue,_e,Ze,Fe){if(Ue=+Ue,_e=_e>>>0,!Fe){var Ce=Math.pow(2,8*Ze-1);ce(this,Ue,_e,Ze,Ce-1,-Ce)}var ve=Ze-1,Ie=1,Ae=0;for(this[_e+ve]=Ue&255;--ve>=0&&(Ie*=256);)Ue<0&&Ae===0&&this[_e+ve+1]!==0&&(Ae=1),this[_e+ve]=(Ue/Ie>>0)-Ae&255;return _e+Ze},g.prototype.writeInt8=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,1,127,-128),Ue<0&&(Ue=255+Ue+1),this[_e]=Ue&255,_e+1},g.prototype.writeInt16LE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,2,32767,-32768),this[_e]=Ue&255,this[_e+1]=Ue>>>8,_e+2},g.prototype.writeInt16BE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,2,32767,-32768),this[_e]=Ue>>>8,this[_e+1]=Ue&255,_e+2},g.prototype.writeInt32LE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,4,2147483647,-2147483648),this[_e]=Ue&255,this[_e+1]=Ue>>>8,this[_e+2]=Ue>>>16,this[_e+3]=Ue>>>24,_e+4},g.prototype.writeInt32BE=function(Ue,_e,Ze){return Ue=+Ue,_e=_e>>>0,Ze||ce(this,Ue,_e,4,2147483647,-2147483648),Ue<0&&(Ue=4294967295+Ue+1),this[_e]=Ue>>>24,this[_e+1]=Ue>>>16,this[_e+2]=Ue>>>8,this[_e+3]=Ue&255,_e+4},g.prototype.writeBigInt64LE=Bt(function(Ue){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return le(this,Ue,_e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),g.prototype.writeBigInt64BE=Bt(function(Ue){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return me(this,Ue,_e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function we(it,Ue,_e,Ze,Fe,Ce){if(_e+Ze>it.length)throw new RangeError("Index out of range");if(_e<0)throw new RangeError("Index out of range")}function Se(it,Ue,_e,Ze,Fe){return Ue=+Ue,_e=_e>>>0,Fe||we(it,Ue,_e,4),b.write(it,Ue,_e,Ze,23,4),_e+4}g.prototype.writeFloatLE=function(Ue,_e,Ze){return Se(this,Ue,_e,!0,Ze)},g.prototype.writeFloatBE=function(Ue,_e,Ze){return Se(this,Ue,_e,!1,Ze)};function Ee(it,Ue,_e,Ze,Fe){return Ue=+Ue,_e=_e>>>0,Fe||we(it,Ue,_e,8),b.write(it,Ue,_e,Ze,52,8),_e+8}g.prototype.writeDoubleLE=function(Ue,_e,Ze){return Ee(this,Ue,_e,!0,Ze)},g.prototype.writeDoubleBE=function(Ue,_e,Ze){return Ee(this,Ue,_e,!1,Ze)},g.prototype.copy=function(Ue,_e,Ze,Fe){if(!g.isBuffer(Ue))throw new TypeError("argument should be a Buffer");if(Ze||(Ze=0),!Fe&&Fe!==0&&(Fe=this.length),_e>=Ue.length&&(_e=Ue.length),_e||(_e=0),Fe>0&&Fe=this.length)throw new RangeError("Index out of range");if(Fe<0)throw new RangeError("sourceEnd out of bounds");Fe>this.length&&(Fe=this.length),Ue.length-_e>>0,Ze=Ze===void 0?this.length:Ze>>>0,Ue||(Ue=0);var ve;if(typeof Ue=="number")for(ve=_e;veMath.pow(2,32)?Fe=De(String(_e)):typeof _e=="bigint"&&(Fe=String(_e),(_e>Math.pow(BigInt(2),BigInt(32))||_e<-Math.pow(BigInt(2),BigInt(32)))&&(Fe=De(Fe)),Fe+="n"),Ze+=" It must be ".concat(Ue,". Received ").concat(Fe),Ze},RangeError);function De(it){for(var Ue="",_e=it.length,Ze=it[0]==="-"?1:0;_e>=Ze+4;_e-=3)Ue="_".concat(it.slice(_e-3,_e)).concat(Ue);return"".concat(it.slice(0,_e)).concat(Ue)}function Te(it,Ue,_e){Xe(Ue,"offset"),(it[Ue]===void 0||it[Ue+_e]===void 0)&&Je(Ue,it.length-(_e+1))}function Re(it,Ue,_e,Ze,Fe,Ce){if(it>_e||it3?Ue===0||Ue===BigInt(0)?Ie=">= 0".concat(ve," and < 2").concat(ve," ** ").concat((Ce+1)*8).concat(ve):Ie=">= -(2".concat(ve," ** ").concat((Ce+1)*8-1).concat(ve,") and < 2 ** ")+"".concat((Ce+1)*8-1).concat(ve):Ie=">= ".concat(Ue).concat(ve," and <= ").concat(_e).concat(ve),new We.ERR_OUT_OF_RANGE("value",Ie,it)}Te(Ze,Fe,Ce)}function Xe(it,Ue){if(typeof it!="number")throw new We.ERR_INVALID_ARG_TYPE(Ue,"number",it)}function Je(it,Ue,_e){throw Math.floor(it)!==it?(Xe(it,_e),new We.ERR_OUT_OF_RANGE(_e||"offset","an integer",it)):Ue<0?new We.ERR_BUFFER_OUT_OF_BOUNDS:new We.ERR_OUT_OF_RANGE(_e||"offset",">= ".concat(_e?1:0," and <= ").concat(Ue),it)}var He=/[^+/0-9A-Za-z-_]/g;function $e(it){if(it=it.split("=")[0],it=it.trim().replace(He,""),it.length<2)return"";for(;it.length%4!==0;)it=it+"=";return it}function pt(it,Ue){Ue=Ue||1/0;for(var _e,Ze=it.length,Fe=null,Ce=[],ve=0;ve55295&&_e<57344){if(!Fe){if(_e>56319){(Ue-=3)>-1&&Ce.push(239,191,189);continue}else if(ve+1===Ze){(Ue-=3)>-1&&Ce.push(239,191,189);continue}Fe=_e;continue}if(_e<56320){(Ue-=3)>-1&&Ce.push(239,191,189),Fe=_e;continue}_e=(Fe-55296<<10|_e-56320)+65536}else Fe&&(Ue-=3)>-1&&Ce.push(239,191,189);if(Fe=null,_e<128){if((Ue-=1)<0)break;Ce.push(_e)}else if(_e<2048){if((Ue-=2)<0)break;Ce.push(_e>>6|192,_e&63|128)}else if(_e<65536){if((Ue-=3)<0)break;Ce.push(_e>>12|224,_e>>6&63|128,_e&63|128)}else if(_e<1114112){if((Ue-=4)<0)break;Ce.push(_e>>18|240,_e>>12&63|128,_e>>6&63|128,_e&63|128)}else throw new Error("Invalid code point")}return Ce}function ut(it){for(var Ue=[],_e=0;_e>8,Fe=_e%256,Ce.push(Fe),Ce.push(Ze);return Ce}function ke(it){return u.toByteArray($e(it))}function Ne(it,Ue,_e,Ze){var Fe;for(Fe=0;Fe=Ue.length||Fe>=it.length);++Fe)Ue[Fe+_e]=it[Fe];return Fe}function gt(it,Ue){return it instanceof Ue||it!=null&&it.constructor!=null&&it.constructor.name!=null&&it.constructor.name===Ue.name}function qe(it){return it!==it}var vt=function(){for(var it="0123456789abcdef",Ue=new Array(256),_e=0;_e<16;++_e)for(var Ze=_e*16,Fe=0;Fe<16;++Fe)Ue[Ze+Fe]=it[_e]+it[Fe];return Ue}();function Bt(it){return typeof BigInt>"u"?Yt:it}function Yt(){throw new Error("BigInt not supported")}},35791:function(B){B.exports=E,B.exports.isMobile=E,B.exports.default=E;var O=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,e=/CrOS/,p=/android|ipad|playbook|silk/i;function E(a){a||(a={});var L=a.ua;if(!L&&typeof navigator<"u"&&(L=navigator.userAgent),L&&L.headers&&typeof L.headers["user-agent"]=="string"&&(L=L.headers["user-agent"]),typeof L!="string")return!1;var x=O.test(L)&&!e.test(L)||!!a.tablet&&p.test(L);return!x&&a.tablet&&a.featureDetect&&navigator&&navigator.maxTouchPoints>1&&L.indexOf("Macintosh")!==-1&&L.indexOf("Safari")!==-1&&(x=!0),x}},86781:function(B,O,e){e.r(O),e.d(O,{sankeyCenter:function(){return s},sankeyCircular:function(){return k},sankeyJustify:function(){return t},sankeyLeft:function(){return m},sankeyRight:function(){return r}});var p=e(33064),E=e(15140),a=e(45879),L=e(2502),x=e.n(L);function d(Ee){return Ee.target.depth}function m(Ee){return Ee.depth}function r(Ee,We){return We-1-Ee.height}function t(Ee,We){return Ee.sourceLinks.length?Ee.depth:We-1}function s(Ee){return Ee.targetLinks.length?Ee.depth:Ee.sourceLinks.length?(0,p.VV)(Ee.sourceLinks,d)-1:0}function n(Ee){return function(){return Ee}}var f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ee){return typeof Ee}:function(Ee){return Ee&&typeof Symbol=="function"&&Ee.constructor===Symbol&&Ee!==Symbol.prototype?"symbol":typeof Ee};function c(Ee,We){return b(Ee.source,We.source)||Ee.index-We.index}function u(Ee,We){return b(Ee.target,We.target)||Ee.index-We.index}function b(Ee,We){return Ee.partOfCycle===We.partOfCycle?Ee.y0-We.y0:Ee.circularLinkType==="top"||We.circularLinkType==="bottom"?-1:1}function h(Ee){return Ee.value}function S(Ee){return(Ee.y0+Ee.y1)/2}function v(Ee){return S(Ee.source)}function l(Ee){return S(Ee.target)}function g(Ee){return Ee.index}function C(Ee){return Ee.nodes}function M(Ee){return Ee.links}function D(Ee,We){var Ye=Ee.get(We);if(!Ye)throw new Error("missing: "+We);return Ye}function T(Ee,We){return We(Ee)}var P=25,A=10,o=.3;function k(){var Ee=0,We=0,Ye=1,De=1,Te=24,Re,Xe=g,Je=t,He=C,$e=M,pt=32,ut=2,lt,ke=null;function Ne(){var _e={nodes:He.apply(null,arguments),links:$e.apply(null,arguments)};gt(_e),w(_e,Xe,ke),qe(_e),Yt(_e),U(_e,Xe),it(_e,pt,Xe),Ue(_e);for(var Ze=4,Fe=0;Fe"u"?"undefined":f(ve))!=="object"&&(ve=Fe.source=D(Ze,ve)),(typeof Ie>"u"?"undefined":f(Ie))!=="object"&&(Ie=Fe.target=D(Ze,Ie)),ve.sourceLinks.push(Fe),Ie.targetLinks.push(Fe)}),_e}function qe(_e){_e.nodes.forEach(function(Ze){Ze.partOfCycle=!1,Ze.value=Math.max((0,p.Sm)(Ze.sourceLinks,h),(0,p.Sm)(Ze.targetLinks,h)),Ze.sourceLinks.forEach(function(Fe){Fe.circular&&(Ze.partOfCycle=!0,Ze.circularLinkType=Fe.circularLinkType)}),Ze.targetLinks.forEach(function(Fe){Fe.circular&&(Ze.partOfCycle=!0,Ze.circularLinkType=Fe.circularLinkType)})})}function vt(_e){var Ze=0,Fe=0,Ce=0,ve=0,Ie=(0,p.Fp)(_e.nodes,function(Ae){return Ae.column});return _e.links.forEach(function(Ae){Ae.circular&&(Ae.circularLinkType=="top"?Ze=Ze+Ae.width:Fe=Fe+Ae.width,Ae.target.column==0&&(ve=ve+Ae.width),Ae.source.column==Ie&&(Ce=Ce+Ae.width))}),Ze=Ze>0?Ze+P+A:Ze,Fe=Fe>0?Fe+P+A:Fe,Ce=Ce>0?Ce+P+A:Ce,ve=ve>0?ve+P+A:ve,{top:Ze,bottom:Fe,left:ve,right:Ce}}function Bt(_e,Ze){var Fe=(0,p.Fp)(_e.nodes,function(ct){return ct.column}),Ce=Ye-Ee,ve=De-We,Ie=Ce+Ze.right+Ze.left,Ae=ve+Ze.top+Ze.bottom,je=Ce/Ie,ot=ve/Ae;return Ee=Ee*je+Ze.left,Ye=Ze.right==0?Ye:Ye*je,We=We*ot+Ze.top,De=De*ot,_e.nodes.forEach(function(ct){ct.x0=Ee+ct.column*((Ye-Ee-Te)/Fe),ct.x1=ct.x0+Te}),ot}function Yt(_e){var Ze,Fe,Ce;for(Ze=_e.nodes,Fe=[],Ce=0;Ze.length;++Ce,Ze=Fe,Fe=[])Ze.forEach(function(ve){ve.depth=Ce,ve.sourceLinks.forEach(function(Ie){Fe.indexOf(Ie.target)<0&&!Ie.circular&&Fe.push(Ie.target)})});for(Ze=_e.nodes,Fe=[],Ce=0;Ze.length;++Ce,Ze=Fe,Fe=[])Ze.forEach(function(ve){ve.height=Ce,ve.targetLinks.forEach(function(Ie){Fe.indexOf(Ie.source)<0&&!Ie.circular&&Fe.push(Ie.source)})});_e.nodes.forEach(function(ve){ve.column=Math.floor(Je.call(null,ve,Ce))})}function it(_e,Ze,Fe){var Ce=(0,E.b1)().key(function(ct){return ct.column}).sortKeys(p.j2).entries(_e.nodes).map(function(ct){return ct.values});Ae(Fe),ot();for(var ve=1,Ie=Ze;Ie>0;--Ie)je(ve*=.99,Fe),ot();function Ae(ct){if(lt){var Et=1/0;Ce.forEach(function(Dt){var $t=De*lt/(Dt.length+1);Et=$t0))if(Dt==0&&dr==1)vr=$t.y1-$t.y0,$t.y0=De/2-vr/2,$t.y1=De/2+vr/2;else if(Dt==kt-1&&dr==1)vr=$t.y1-$t.y0,$t.y0=De/2-vr/2,$t.y1=De/2+vr/2;else{var Pr=0,Ct=(0,p.J6)($t.sourceLinks,l),ir=(0,p.J6)($t.targetLinks,v);Ct&&ir?Pr=(Ct+ir)/2:Pr=Ct||ir;var cr=(Pr-S($t))*ct;$t.y0+=cr,$t.y1+=cr}})})}function ot(){Ce.forEach(function(ct){var Et,kt,nr=We,dr=ct.length,Dt;for(ct.sort(b),Dt=0;Dt0&&(Et.y0+=kt,Et.y1+=kt),nr=Et.y1+Re;if(kt=nr-Re-De,kt>0)for(nr=Et.y0-=kt,Et.y1-=kt,Dt=dr-2;Dt>=0;--Dt)Et=ct[Dt],kt=Et.y1+Re-nr,kt>0&&(Et.y0-=kt,Et.y1-=kt),nr=Et.y0})}}function Ue(_e){_e.nodes.forEach(function(Ze){Ze.sourceLinks.sort(u),Ze.targetLinks.sort(c)}),_e.nodes.forEach(function(Ze){var Fe=Ze.y0,Ce=Fe,ve=Ze.y1,Ie=ve;Ze.sourceLinks.forEach(function(Ae){Ae.circular?(Ae.y0=ve-Ae.width/2,ve=ve-Ae.width):(Ae.y0=Fe+Ae.width/2,Fe+=Ae.width)}),Ze.targetLinks.forEach(function(Ae){Ae.circular?(Ae.y1=Ie-Ae.width/2,Ie=Ie-Ae.width):(Ae.y1=Ce+Ae.width/2,Ce+=Ae.width)})})}return Ne}function w(Ee,We,Ye){var De=0;if(Ye===null){for(var Te=[],Re=0;ReWe.source.column)}function _(Ee,We){var Ye=0;Ee.sourceLinks.forEach(function(Te){Ye=Te.circular&&!we(Te,We)?Ye+1:Ye});var De=0;return Ee.targetLinks.forEach(function(Te){De=Te.circular&&!we(Te,We)?De+1:De}),Ye+De}function H(Ee){var We=Ee.source.sourceLinks,Ye=0;We.forEach(function(Re){Ye=Re.circular?Ye+1:Ye});var De=Ee.target.targetLinks,Te=0;return De.forEach(function(Re){Te=Re.circular?Te+1:Te}),!(Ye>1||Te>1)}function V(Ee,We,Ye){return Ee.sort(j),Ee.forEach(function(De,Te){var Re=0;if(we(De,Ye)&&H(De))De.circularPathData.verticalBuffer=Re+De.width/2;else{var Xe=0;for(Xe;XeRe?Je:Re}De.circularPathData.verticalBuffer=Re+De.width/2}}),Ee}function N(Ee,We,Ye,De){var Te=5,Re=(0,p.VV)(Ee.links,function(He){return He.source.y0});Ee.links.forEach(function(He){He.circular&&(He.circularPathData={})});var Xe=Ee.links.filter(function(He){return He.circularLinkType=="top"});V(Xe,We,De);var Je=Ee.links.filter(function(He){return He.circularLinkType=="bottom"});V(Je,We,De),Ee.links.forEach(function(He){if(He.circular){if(He.circularPathData.arcRadius=He.width+A,He.circularPathData.leftNodeBuffer=Te,He.circularPathData.rightNodeBuffer=Te,He.circularPathData.sourceWidth=He.source.x1-He.source.x0,He.circularPathData.sourceX=He.source.x0+He.circularPathData.sourceWidth,He.circularPathData.targetX=He.target.x0,He.circularPathData.sourceY=He.y0,He.circularPathData.targetY=He.y1,we(He,De)&&H(He))He.circularPathData.leftSmallArcRadius=A+He.width/2,He.circularPathData.leftLargeArcRadius=A+He.width/2,He.circularPathData.rightSmallArcRadius=A+He.width/2,He.circularPathData.rightLargeArcRadius=A+He.width/2,He.circularLinkType=="bottom"?(He.circularPathData.verticalFullExtent=He.source.y1+P+He.circularPathData.verticalBuffer,He.circularPathData.verticalLeftInnerExtent=He.circularPathData.verticalFullExtent-He.circularPathData.leftLargeArcRadius,He.circularPathData.verticalRightInnerExtent=He.circularPathData.verticalFullExtent-He.circularPathData.rightLargeArcRadius):(He.circularPathData.verticalFullExtent=He.source.y0-P-He.circularPathData.verticalBuffer,He.circularPathData.verticalLeftInnerExtent=He.circularPathData.verticalFullExtent+He.circularPathData.leftLargeArcRadius,He.circularPathData.verticalRightInnerExtent=He.circularPathData.verticalFullExtent+He.circularPathData.rightLargeArcRadius);else{var $e=He.source.column,pt=He.circularLinkType,ut=Ee.links.filter(function(Ne){return Ne.source.column==$e&&Ne.circularLinkType==pt});He.circularLinkType=="bottom"?ut.sort(ie):ut.sort(Q);var lt=0;ut.forEach(function(Ne,gt){Ne.circularLinkID==He.circularLinkID&&(He.circularPathData.leftSmallArcRadius=A+He.width/2+lt,He.circularPathData.leftLargeArcRadius=A+He.width/2+gt*We+lt),lt=lt+Ne.width}),$e=He.target.column,ut=Ee.links.filter(function(Ne){return Ne.target.column==$e&&Ne.circularLinkType==pt}),He.circularLinkType=="bottom"?ut.sort(pe):ut.sort(ue),lt=0,ut.forEach(function(Ne,gt){Ne.circularLinkID==He.circularLinkID&&(He.circularPathData.rightSmallArcRadius=A+He.width/2+lt,He.circularPathData.rightLargeArcRadius=A+He.width/2+gt*We+lt),lt=lt+Ne.width}),He.circularLinkType=="bottom"?(He.circularPathData.verticalFullExtent=Math.max(Ye,He.source.y1,He.target.y1)+P+He.circularPathData.verticalBuffer,He.circularPathData.verticalLeftInnerExtent=He.circularPathData.verticalFullExtent-He.circularPathData.leftLargeArcRadius,He.circularPathData.verticalRightInnerExtent=He.circularPathData.verticalFullExtent-He.circularPathData.rightLargeArcRadius):(He.circularPathData.verticalFullExtent=Re-P-He.circularPathData.verticalBuffer,He.circularPathData.verticalLeftInnerExtent=He.circularPathData.verticalFullExtent+He.circularPathData.leftLargeArcRadius,He.circularPathData.verticalRightInnerExtent=He.circularPathData.verticalFullExtent+He.circularPathData.rightLargeArcRadius)}He.circularPathData.leftInnerExtent=He.circularPathData.sourceX+He.circularPathData.leftNodeBuffer,He.circularPathData.rightInnerExtent=He.circularPathData.targetX-He.circularPathData.rightNodeBuffer,He.circularPathData.leftFullExtent=He.circularPathData.sourceX+He.circularPathData.leftLargeArcRadius+He.circularPathData.leftNodeBuffer,He.circularPathData.rightFullExtent=He.circularPathData.targetX-He.circularPathData.rightLargeArcRadius-He.circularPathData.rightNodeBuffer}if(He.circular)He.path=W(He);else{var ke=(0,a.h5)().source(function(Ne){var gt=Ne.source.x0+(Ne.source.x1-Ne.source.x0),qe=Ne.y0;return[gt,qe]}).target(function(Ne){var gt=Ne.target.x0,qe=Ne.y1;return[gt,qe]});He.path=ke(He)}})}function W(Ee){var We="";return Ee.circularLinkType=="top"?We="M"+Ee.circularPathData.sourceX+" "+Ee.circularPathData.sourceY+" L"+Ee.circularPathData.leftInnerExtent+" "+Ee.circularPathData.sourceY+" A"+Ee.circularPathData.leftLargeArcRadius+" "+Ee.circularPathData.leftSmallArcRadius+" 0 0 0 "+Ee.circularPathData.leftFullExtent+" "+(Ee.circularPathData.sourceY-Ee.circularPathData.leftSmallArcRadius)+" L"+Ee.circularPathData.leftFullExtent+" "+Ee.circularPathData.verticalLeftInnerExtent+" A"+Ee.circularPathData.leftLargeArcRadius+" "+Ee.circularPathData.leftLargeArcRadius+" 0 0 0 "+Ee.circularPathData.leftInnerExtent+" "+Ee.circularPathData.verticalFullExtent+" L"+Ee.circularPathData.rightInnerExtent+" "+Ee.circularPathData.verticalFullExtent+" A"+Ee.circularPathData.rightLargeArcRadius+" "+Ee.circularPathData.rightLargeArcRadius+" 0 0 0 "+Ee.circularPathData.rightFullExtent+" "+Ee.circularPathData.verticalRightInnerExtent+" L"+Ee.circularPathData.rightFullExtent+" "+(Ee.circularPathData.targetY-Ee.circularPathData.rightSmallArcRadius)+" A"+Ee.circularPathData.rightLargeArcRadius+" "+Ee.circularPathData.rightSmallArcRadius+" 0 0 0 "+Ee.circularPathData.rightInnerExtent+" "+Ee.circularPathData.targetY+" L"+Ee.circularPathData.targetX+" "+Ee.circularPathData.targetY:We="M"+Ee.circularPathData.sourceX+" "+Ee.circularPathData.sourceY+" L"+Ee.circularPathData.leftInnerExtent+" "+Ee.circularPathData.sourceY+" A"+Ee.circularPathData.leftLargeArcRadius+" "+Ee.circularPathData.leftSmallArcRadius+" 0 0 1 "+Ee.circularPathData.leftFullExtent+" "+(Ee.circularPathData.sourceY+Ee.circularPathData.leftSmallArcRadius)+" L"+Ee.circularPathData.leftFullExtent+" "+Ee.circularPathData.verticalLeftInnerExtent+" A"+Ee.circularPathData.leftLargeArcRadius+" "+Ee.circularPathData.leftLargeArcRadius+" 0 0 1 "+Ee.circularPathData.leftInnerExtent+" "+Ee.circularPathData.verticalFullExtent+" L"+Ee.circularPathData.rightInnerExtent+" "+Ee.circularPathData.verticalFullExtent+" A"+Ee.circularPathData.rightLargeArcRadius+" "+Ee.circularPathData.rightLargeArcRadius+" 0 0 1 "+Ee.circularPathData.rightFullExtent+" "+Ee.circularPathData.verticalRightInnerExtent+" L"+Ee.circularPathData.rightFullExtent+" "+(Ee.circularPathData.targetY+Ee.circularPathData.rightSmallArcRadius)+" A"+Ee.circularPathData.rightLargeArcRadius+" "+Ee.circularPathData.rightSmallArcRadius+" 0 0 1 "+Ee.circularPathData.rightInnerExtent+" "+Ee.circularPathData.targetY+" L"+Ee.circularPathData.targetX+" "+Ee.circularPathData.targetY,We}function j(Ee,We){return q(Ee)==q(We)?Ee.circularLinkType=="bottom"?ie(Ee,We):Q(Ee,We):q(We)-q(Ee)}function Q(Ee,We){return Ee.y0-We.y0}function ie(Ee,We){return We.y0-Ee.y0}function ue(Ee,We){return Ee.y1-We.y1}function pe(Ee,We){return We.y1-Ee.y1}function q(Ee){return Ee.target.column-Ee.source.column}function X(Ee){return Ee.target.x0-Ee.source.x1}function K(Ee,We){var Ye=F(Ee),De=X(We)/Math.tan(Ye),Te=me(Ee)=="up"?Ee.y1+De:Ee.y1-De;return Te}function J(Ee,We){var Ye=F(Ee),De=X(We)/Math.tan(Ye),Te=me(Ee)=="up"?Ee.y1-De:Ee.y1+De;return Te}function re(Ee,We,Ye,De){Ee.links.forEach(function(Te){if(!Te.circular&&Te.target.column-Te.source.column>1){var Re=Te.source.column+1,Xe=Te.target.column-1,Je=1,He=Xe-Re+1;for(Je=1;Re<=Xe;Re++,Je++)Ee.nodes.forEach(function($e){if($e.column==Re){var pt=Je/(He+1),ut=Math.pow(1-pt,3),lt=3*pt*Math.pow(1-pt,2),ke=3*Math.pow(pt,2)*(1-pt),Ne=Math.pow(pt,3),gt=ut*Te.y0+lt*Te.y0+ke*Te.y1+Ne*Te.y1,qe=gt-Te.width/2,vt=gt+Te.width/2,Bt;qe>$e.y0&&qe<$e.y1?(Bt=$e.y1-qe+10,Bt=$e.circularLinkType=="bottom"?Bt:-Bt,$e=te($e,Bt,We,Ye),Ee.nodes.forEach(function(Yt){T(Yt,De)==T($e,De)||Yt.column!=$e.column||fe($e,Yt)&&te(Yt,Bt,We,Ye)})):vt>$e.y0&&vt<$e.y1?(Bt=vt-$e.y0+10,$e=te($e,Bt,We,Ye),Ee.nodes.forEach(function(Yt){T(Yt,De)==T($e,De)||Yt.column!=$e.column||Yt.y0<$e.y1&&Yt.y1>$e.y1&&te(Yt,Bt,We,Ye)})):qe<$e.y0&&vt>$e.y1&&(Bt=vt-$e.y0+10,$e=te($e,Bt,We,Ye),Ee.nodes.forEach(function(Yt){T(Yt,De)==T($e,De)||Yt.column!=$e.column||Yt.y0<$e.y1&&Yt.y1>$e.y1&&te(Yt,Bt,We,Ye)}))}})}})}function fe(Ee,We){return Ee.y0>We.y0&&Ee.y0We.y0&&Ee.y1We.y1}function te(Ee,We,Ye,De){return Ee.y0+We>=Ye&&Ee.y1+We<=De&&(Ee.y0=Ee.y0+We,Ee.y1=Ee.y1+We,Ee.targetLinks.forEach(function(Te){Te.y1=Te.y1+We}),Ee.sourceLinks.forEach(function(Te){Te.y0=Te.y0+We})),Ee}function ee(Ee,We,Ye,De){Ee.nodes.forEach(function(Te){De&&Te.y+(Te.y1-Te.y0)>We&&(Te.y=Te.y-(Te.y+(Te.y1-Te.y0)-We));var Re=Ee.links.filter(function(He){return T(He.source,Ye)==T(Te,Ye)}),Xe=Re.length;Xe>1&&Re.sort(function(He,$e){if(!He.circular&&!$e.circular){if(He.target.column==$e.target.column)return He.y1-$e.y1;if(le(He,$e)){if(He.target.column>$e.target.column){var pt=J($e,He);return He.y1-pt}if($e.target.column>He.target.column){var ut=J(He,$e);return ut-$e.y1}}else return He.y1-$e.y1}if(He.circular&&!$e.circular)return He.circularLinkType=="top"?-1:1;if($e.circular&&!He.circular)return $e.circularLinkType=="top"?1:-1;if(He.circular&&$e.circular)return He.circularLinkType===$e.circularLinkType&&He.circularLinkType=="top"?He.target.column===$e.target.column?He.target.y1-$e.target.y1:$e.target.column-He.target.column:He.circularLinkType===$e.circularLinkType&&He.circularLinkType=="bottom"?He.target.column===$e.target.column?$e.target.y1-He.target.y1:He.target.column-$e.target.column:He.circularLinkType=="top"?-1:1});var Je=Te.y0;Re.forEach(function(He){He.y0=Je+He.width/2,Je=Je+He.width}),Re.forEach(function(He,$e){if(He.circularLinkType=="bottom"){var pt=$e+1,ut=0;for(pt;pt1&&Te.sort(function(Je,He){if(!Je.circular&&!He.circular){if(Je.source.column==He.source.column)return Je.y0-He.y0;if(le(Je,He)){if(He.source.column0?"up":"down"}function we(Ee,We){return T(Ee.source,We)==T(Ee.target,We)}function Se(Ee,We,Ye){var De=Ee.nodes,Te=Ee.links,Re=!1,Xe=!1;if(Te.forEach(function(lt){lt.circularLinkType=="top"?Re=!0:lt.circularLinkType=="bottom"&&(Xe=!0)}),Re==!1||Xe==!1){var Je=(0,p.VV)(De,function(lt){return lt.y0}),He=(0,p.Fp)(De,function(lt){return lt.y1}),$e=He-Je,pt=Ye-We,ut=pt/$e;De.forEach(function(lt){var ke=(lt.y1-lt.y0)*ut;lt.y0=(lt.y0-Je)*ut,lt.y1=lt.y0+ke}),Te.forEach(function(lt){lt.y0=(lt.y0-Je)*ut,lt.y1=(lt.y1-Je)*ut,lt.width=lt.width*ut})}}},30838:function(B,O,e){e.r(O),e.d(O,{sankey:function(){return g},sankeyCenter:function(){return m},sankeyJustify:function(){return d},sankeyLeft:function(){return L},sankeyLinkHorizontal:function(){return T},sankeyRight:function(){return x}});var p=e(33064),E=e(15140);function a(P){return P.target.depth}function L(P){return P.depth}function x(P,A){return A-1-P.height}function d(P,A){return P.sourceLinks.length?P.depth:A-1}function m(P){return P.targetLinks.length?P.depth:P.sourceLinks.length?(0,p.VV)(P.sourceLinks,a)-1:0}function r(P){return function(){return P}}function t(P,A){return n(P.source,A.source)||P.index-A.index}function s(P,A){return n(P.target,A.target)||P.index-A.index}function n(P,A){return P.y0-A.y0}function f(P){return P.value}function c(P){return(P.y0+P.y1)/2}function u(P){return c(P.source)*P.value}function b(P){return c(P.target)*P.value}function h(P){return P.index}function S(P){return P.nodes}function v(P){return P.links}function l(P,A){var o=P.get(A);if(!o)throw new Error("missing: "+A);return o}function g(){var P=0,A=0,o=1,k=1,w=24,U=8,F=h,G=d,_=S,H=v,V=32,N=2/3;function W(){var q={nodes:_.apply(null,arguments),links:H.apply(null,arguments)};return j(q),Q(q),ie(q),ue(q),pe(q),q}W.update=function(q){return pe(q),q},W.nodeId=function(q){return arguments.length?(F=typeof q=="function"?q:r(q),W):F},W.nodeAlign=function(q){return arguments.length?(G=typeof q=="function"?q:r(q),W):G},W.nodeWidth=function(q){return arguments.length?(w=+q,W):w},W.nodePadding=function(q){return arguments.length?(U=+q,W):U},W.nodes=function(q){return arguments.length?(_=typeof q=="function"?q:r(q),W):_},W.links=function(q){return arguments.length?(H=typeof q=="function"?q:r(q),W):H},W.size=function(q){return arguments.length?(P=A=0,o=+q[0],k=+q[1],W):[o-P,k-A]},W.extent=function(q){return arguments.length?(P=+q[0][0],o=+q[1][0],A=+q[0][1],k=+q[1][1],W):[[P,A],[o,k]]},W.iterations=function(q){return arguments.length?(V=+q,W):V};function j(q){q.nodes.forEach(function(K,J){K.index=J,K.sourceLinks=[],K.targetLinks=[]});var X=(0,E.UI)(q.nodes,F);q.links.forEach(function(K,J){K.index=J;var re=K.source,fe=K.target;typeof re!="object"&&(re=K.source=l(X,re)),typeof fe!="object"&&(fe=K.target=l(X,fe)),re.sourceLinks.push(K),fe.targetLinks.push(K)})}function Q(q){q.nodes.forEach(function(X){X.value=Math.max((0,p.Sm)(X.sourceLinks,f),(0,p.Sm)(X.targetLinks,f))})}function ie(q){var X,K,J;for(X=q.nodes,K=[],J=0;X.length;++J,X=K,K=[])X.forEach(function(fe){fe.depth=J,fe.sourceLinks.forEach(function(te){K.indexOf(te.target)<0&&K.push(te.target)})});for(X=q.nodes,K=[],J=0;X.length;++J,X=K,K=[])X.forEach(function(fe){fe.height=J,fe.targetLinks.forEach(function(te){K.indexOf(te.source)<0&&K.push(te.source)})});var re=(o-P-w)/(J-1);q.nodes.forEach(function(fe){fe.x1=(fe.x0=P+Math.max(0,Math.min(J-1,Math.floor(G.call(null,fe,J))))*re)+w})}function ue(q){var X=(0,E.b1)().key(function(ce){return ce.x0}).sortKeys(p.j2).entries(q.nodes).map(function(ce){return ce.values});re(),ee();for(var K=1,J=V;J>0;--J)te(K*=.99),ee(),fe(K),ee();function re(){var ce=(0,p.Fp)(X,function(we){return we.length}),le=N*(k-A)/(ce-1);U>le&&(U=le);var me=(0,p.VV)(X,function(we){return(k-A-(we.length-1)*U)/(0,p.Sm)(we,f)});X.forEach(function(we){we.forEach(function(Se,Ee){Se.y1=(Se.y0=Ee)+Se.value*me})}),q.links.forEach(function(we){we.width=we.value*me})}function fe(ce){X.forEach(function(le){le.forEach(function(me){if(me.targetLinks.length){var we=((0,p.Sm)(me.targetLinks,u)/(0,p.Sm)(me.targetLinks,f)-c(me))*ce;me.y0+=we,me.y1+=we}})})}function te(ce){X.slice().reverse().forEach(function(le){le.forEach(function(me){if(me.sourceLinks.length){var we=((0,p.Sm)(me.sourceLinks,b)/(0,p.Sm)(me.sourceLinks,f)-c(me))*ce;me.y0+=we,me.y1+=we}})})}function ee(){X.forEach(function(ce){var le,me,we=A,Se=ce.length,Ee;for(ce.sort(n),Ee=0;Ee0&&(le.y0+=me,le.y1+=me),we=le.y1+U;if(me=we-U-k,me>0)for(we=le.y0-=me,le.y1-=me,Ee=Se-2;Ee>=0;--Ee)le=ce[Ee],me=le.y1+U-we,me>0&&(le.y0-=me,le.y1-=me),we=le.y0})}}function pe(q){q.nodes.forEach(function(X){X.sourceLinks.sort(s),X.targetLinks.sort(t)}),q.nodes.forEach(function(X){var K=X.y0,J=K;X.sourceLinks.forEach(function(re){re.y0=K+re.width/2,K+=re.width}),X.targetLinks.forEach(function(re){re.y1=J+re.width/2,J+=re.width})})}return W}var C=e(45879);function M(P){return[P.source.x1,P.y0]}function D(P){return[P.target.x0,P.y1]}function T(){return(0,C.h5)().source(M).target(D)}},39898:function(B,O,e){var p,E;(function(){var a={version:"3.8.0"},L=[].slice,x=function(de){return L.call(de)},d=self.document;function m(de){return de&&(de.ownerDocument||de.document||de).documentElement}function r(de){return de&&(de.ownerDocument&&de.ownerDocument.defaultView||de.document&&de||de.defaultView)}if(d)try{x(d.documentElement.childNodes)[0].nodeType}catch{x=function(ze){for(var Ke=ze.length,ft=new Array(Ke);Ke--;)ft[Ke]=ze[Ke];return ft}}if(Date.now||(Date.now=function(){return+new Date}),d)try{d.createElement("DIV").style.setProperty("opacity",0,"")}catch{var t=this.Element.prototype,s=t.setAttribute,n=t.setAttributeNS,f=this.CSSStyleDeclaration.prototype,c=f.setProperty;t.setAttribute=function(ze,Ke){s.call(this,ze,Ke+"")},t.setAttributeNS=function(ze,Ke,ft){n.call(this,ze,Ke,ft+"")},f.setProperty=function(ze,Ke,ft){c.call(this,ze,Ke+"",ft)}}a.ascending=u;function u(de,ze){return deze?1:de>=ze?0:NaN}a.descending=function(de,ze){return zede?1:ze>=de?0:NaN},a.min=function(de,ze){var Ke=-1,ft=de.length,dt,mt;if(arguments.length===1){for(;++Ke=mt){dt=mt;break}for(;++Kemt&&(dt=mt)}else{for(;++Ke=mt){dt=mt;break}for(;++Kemt&&(dt=mt)}return dt},a.max=function(de,ze){var Ke=-1,ft=de.length,dt,mt;if(arguments.length===1){for(;++Ke=mt){dt=mt;break}for(;++Kedt&&(dt=mt)}else{for(;++Ke=mt){dt=mt;break}for(;++Kedt&&(dt=mt)}return dt},a.extent=function(de,ze){var Ke=-1,ft=de.length,dt,mt,Nt;if(arguments.length===1){for(;++Ke=mt){dt=Nt=mt;break}for(;++Kemt&&(dt=mt),Nt=mt){dt=Nt=mt;break}for(;++Kemt&&(dt=mt),Nt1)return Nt/(rr-1)},a.deviation=function(){var de=a.variance.apply(this,arguments);return de&&Math.sqrt(de)};function S(de){return{left:function(ze,Ke,ft,dt){for(arguments.length<3&&(ft=0),arguments.length<4&&(dt=ze.length);ft>>1;de(ze[mt],Ke)<0?ft=mt+1:dt=mt}return ft},right:function(ze,Ke,ft,dt){for(arguments.length<3&&(ft=0),arguments.length<4&&(dt=ze.length);ft>>1;de(ze[mt],Ke)>0?dt=mt:ft=mt+1}return ft}}}var v=S(u);a.bisectLeft=v.left,a.bisect=a.bisectRight=v.right,a.bisector=function(de){return S(de.length===1?function(ze,Ke){return u(de(ze),Ke)}:de)},a.shuffle=function(de,ze,Ke){(ft=arguments.length)<3&&(Ke=de.length,ft<2&&(ze=0));for(var ft=Ke-ze,dt,mt;ft;)mt=Math.random()*ft--|0,dt=de[ft+ze],de[ft+ze]=de[mt+ze],de[mt+ze]=dt;return de},a.permute=function(de,ze){for(var Ke=ze.length,ft=new Array(Ke);Ke--;)ft[Ke]=de[ze[Ke]];return ft},a.pairs=function(de){for(var ze=0,Ke=de.length-1,ft=de[0],dt=new Array(Ke<0?0:Ke);ze=0;)for(Nt=de[ze],Ke=Nt.length;--Ke>=0;)mt[--dt]=Nt[Ke];return mt};var g=Math.abs;a.range=function(de,ze,Ke){if(arguments.length<3&&(Ke=1,arguments.length<2&&(ze=de,de=0)),(ze-de)/Ke===1/0)throw new Error("infinite range");var ft=[],dt=C(g(Ke)),mt=-1,Nt;if(de*=dt,ze*=dt,Ke*=dt,Ke<0)for(;(Nt=de+Ke*++mt)>ze;)ft.push(Nt/dt);else for(;(Nt=de+Ke*++mt)=ze.length)return dt?dt.call(de,rr):ft?rr.sort(ft):rr;for(var Ar=-1,Qr=rr.length,Jr=ze[xr++],Tn,Pn,rn,fn=new D,bn;++Ar=ze.length)return St;var xr=[],Ar=Ke[rr++];return St.forEach(function(Qr,Jr){xr.push({key:Qr,values:Nt(Jr,rr)})}),Ar?xr.sort(function(Qr,Jr){return Ar(Qr.key,Jr.key)}):xr}return de.map=function(St,rr){return mt(rr,St,0)},de.entries=function(St){return Nt(mt(a.map,St,0),0)},de.key=function(St){return ze.push(St),de},de.sortKeys=function(St){return Ke[ze.length-1]=St,de},de.sortValues=function(St){return ft=St,de},de.rollup=function(St){return dt=St,de},de},a.set=function(de){var ze=new _;if(de)for(var Ke=0,ft=de.length;Ke=0&&(ft=de.slice(Ke+1),de=de.slice(0,Ke)),de)return arguments.length<2?this[de].on(ft):this[de].on(ft,ze);if(arguments.length===2){if(ze==null)for(de in this)this.hasOwnProperty(de)&&this[de].on(ft,null);return this}};function ie(de){var ze=[],Ke=new D;function ft(){for(var dt=ze,mt=-1,Nt=dt.length,St;++mt=0&&(Ke=de.slice(0,ze))!=="xmlns"&&(de=de.slice(ze+1)),we.hasOwnProperty(Ke)?{space:we[Ke],local:de}:de}},ee.attr=function(de,ze){if(arguments.length<2){if(typeof de=="string"){var Ke=this.node();return de=a.ns.qualify(de),de.local?Ke.getAttributeNS(de.space,de.local):Ke.getAttribute(de)}for(ze in de)this.each(Se(ze,de[ze]));return this}return this.each(Se(de,ze))};function Se(de,ze){de=a.ns.qualify(de);function Ke(){this.removeAttribute(de)}function ft(){this.removeAttributeNS(de.space,de.local)}function dt(){this.setAttribute(de,ze)}function mt(){this.setAttributeNS(de.space,de.local,ze)}function Nt(){var rr=ze.apply(this,arguments);rr==null?this.removeAttribute(de):this.setAttribute(de,rr)}function St(){var rr=ze.apply(this,arguments);rr==null?this.removeAttributeNS(de.space,de.local):this.setAttributeNS(de.space,de.local,rr)}return ze==null?de.local?ft:Ke:typeof ze=="function"?de.local?St:Nt:de.local?mt:dt}function Ee(de){return de.trim().replace(/\s+/g," ")}ee.classed=function(de,ze){if(arguments.length<2){if(typeof de=="string"){var Ke=this.node(),ft=(de=Ye(de)).length,dt=-1;if(ze=Ke.classList){for(;++dt=0;)(mt=Ke[ft])&&(dt&&dt!==mt.nextSibling&&dt.parentNode.insertBefore(mt,dt),dt=mt);return this},ee.sort=function(de){de=ut.apply(this,arguments);for(var ze=-1,Ke=this.length;++ze=ze&&(ze=dt+1);!(rr=Nt[ze])&&++ze0&&(de=de.slice(0,dt));var Nt=vt.get(de);Nt&&(de=Nt,mt=Yt);function St(){var Ar=this[ft];Ar&&(this.removeEventListener(de,Ar,Ar.$),delete this[ft])}function rr(){var Ar=mt(ze,x(arguments));St.call(this),this.addEventListener(de,this[ft]=Ar,Ar.$=Ke),Ar._=ze}function xr(){var Ar=new RegExp("^__on([^.]+)"+a.requote(de)+"$"),Qr;for(var Jr in this)if(Qr=Jr.match(Ar)){var Tn=this[Jr];this.removeEventListener(Qr[1],Tn,Tn.$),delete this[Jr]}}return dt?ze?rr:St:ze?j:xr}var vt=a.map({mouseenter:"mouseover",mouseleave:"mouseout"});d&&vt.forEach(function(de){"on"+de in d&&vt.remove(de)});function Bt(de,ze){return function(Ke){var ft=a.event;a.event=Ke,ze[0]=this.__data__;try{de.apply(this,ze)}finally{a.event=ft}}}function Yt(de,ze){var Ke=Bt(de,ze);return function(ft){var dt=this,mt=ft.relatedTarget;(!mt||mt!==dt&&!(mt.compareDocumentPosition(dt)&8))&&Ke.call(dt,ft)}}var it,Ue=0;function _e(de){var ze=".dragsuppress-"+ ++Ue,Ke="click"+ze,ft=a.select(r(de)).on("touchmove"+ze,ue).on("dragstart"+ze,ue).on("selectstart"+ze,ue);if(it==null&&(it="onselectstart"in de?!1:N(de.style,"userSelect")),it){var dt=m(de).style,mt=dt[it];dt[it]="none"}return function(Nt){if(ft.on(ze,null),it&&(dt[it]=mt),Nt){var St=function(){ft.on(Ke,null)};ft.on(Ke,function(){ue(),St()},!0),setTimeout(St,0)}}}a.mouse=function(de){return Fe(de,pe())};var Ze=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Fe(de,ze){ze.changedTouches&&(ze=ze.changedTouches[0]);var Ke=de.ownerSVGElement||de;if(Ke.createSVGPoint){var ft=Ke.createSVGPoint();if(Ze<0){var dt=r(de);if(dt.scrollX||dt.scrollY){Ke=a.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var mt=Ke[0][0].getScreenCTM();Ze=!(mt.f||mt.e),Ke.remove()}}return Ze?(ft.x=ze.pageX,ft.y=ze.pageY):(ft.x=ze.clientX,ft.y=ze.clientY),ft=ft.matrixTransform(de.getScreenCTM().inverse()),[ft.x,ft.y]}var Nt=de.getBoundingClientRect();return[ze.clientX-Nt.left-de.clientLeft,ze.clientY-Nt.top-de.clientTop]}a.touch=function(de,ze,Ke){if(arguments.length<3&&(Ke=ze,ze=pe().changedTouches),ze){for(var ft=0,dt=ze.length,mt;ft1?ct:de<-1?-ct:Math.asin(de)}function Dt(de){return((de=Math.exp(de))-1/de)/2}function $t(de){return((de=Math.exp(de))+1/de)/2}function vr(de){return((de=Math.exp(2*de))-1)/(de+1)}var Pr=Math.SQRT2,Ct=2,ir=4;a.interpolateZoom=function(de,ze){var Ke=de[0],ft=de[1],dt=de[2],mt=ze[0],Nt=ze[1],St=ze[2],rr=mt-Ke,xr=Nt-ft,Ar=rr*rr+xr*xr,Qr,Jr;if(Ar0&&(Ta=Ta.transition().duration(Nt)),Ta.call(Hn.event)}function oi(){fn&&fn.domain(rn.range().map(function(Ta){return(Ta-de.x)/de.k}).map(rn.invert)),Rn&&Rn.domain(bn.range().map(function(Ta){return(Ta-de.y)/de.k}).map(bn.invert))}function ii(Ta){St++||Ta({type:"zoomstart"})}function Fi(Ta){oi(),Ta({type:"zoom",scale:de.k,translate:[de.x,de.y]})}function di(Ta){--St||(Ta({type:"zoomend"}),Ke=null)}function Pi(){var Ta=this,Di=Pn.of(Ta,arguments),Ei=0,ji=a.select(r(Ta)).on(xr,gs).on(Ar,Bo),Go=xn(a.mouse(Ta)),is=_e(Ta);Jt.call(Ta),ii(Di);function gs(){Ei=1,Ia(a.mouse(Ta),Go),Fi(Di)}function Bo(){ji.on(xr,null).on(Ar,null),is(Ei),di(Di)}}function oo(){var Ta=this,Di=Pn.of(Ta,arguments),Ei={},ji=0,Go,is=".zoom-"+a.event.changedTouches[0].identifier,gs="touchmove"+is,Bo="touchend"+is,Mo=[],ni=a.select(Ta),vi=_e(Ta);fs(),ii(Di),ni.on(rr,null).on(Jr,fs);function Oo(){var ol=a.touches(Ta);return Go=de.k,ol.forEach(function($o){$o.identifier in Ei&&(Ei[$o.identifier]=xn($o))}),ol}function fs(){var ol=a.event.target;a.select(ol).on(gs,Ol).on(Bo,ys),Mo.push(ol);for(var $o=a.event.changedTouches,$l=0,Do=$o.length;$l1){var Ji=fu[0],Io=fu[1],I0=Ji[0]-Io[0],$c=Ji[1]-Io[1];ji=I0*I0+$c*$c}}function Ol(){var ol=a.touches(Ta),$o,$l,Do,fu;Jt.call(Ta);for(var Kl=0,Ji=ol.length;Kl1?1:ze,Ke=Ke<0?0:Ke>1?1:Ke,dt=Ke<=.5?Ke*(1+ze):Ke+ze-Ke*ze,ft=2*Ke-dt;function mt(St){return St>360?St-=360:St<0&&(St+=360),St<60?ft+(dt-ft)*St/60:St<180?dt:St<240?ft+(dt-ft)*(240-St)/60:ft}function Nt(St){return Math.round(mt(St)*255)}return new Tr(Nt(de+120),Nt(de),Nt(de-120))}a.hcl=Ut;function Ut(de,ze,Ke){return this instanceof Ut?(this.h=+de,this.c=+ze,void(this.l=+Ke)):arguments.length<2?de instanceof Ut?new Ut(de.h,de.c,de.l):de instanceof qt?Wt(de.l,de.a,de.b):Wt((de=cn((de=a.rgb(de)).r,de.g,de.b)).l,de.a,de.b):new Ut(de,ze,Ke)}var Ht=Ut.prototype=new Mt;Ht.brighter=function(de){return new Ut(this.h,this.c,Math.min(100,this.l+ur*(arguments.length?de:1)))},Ht.darker=function(de){return new Ut(this.h,this.c,Math.max(0,this.l-ur*(arguments.length?de:1)))},Ht.rgb=function(){return Qt(this.h,this.c,this.l).rgb()};function Qt(de,ze,Ke){return isNaN(de)&&(de=0),isNaN(ze)&&(ze=0),new qt(Ke,Math.cos(de*=Et)*ze,Math.sin(de)*ze)}a.lab=qt;function qt(de,ze,Ke){return this instanceof qt?(this.l=+de,this.a=+ze,void(this.b=+Ke)):arguments.length<2?de instanceof qt?new qt(de.l,de.a,de.b):de instanceof Ut?Qt(de.h,de.c,de.l):cn((de=Tr(de)).r,de.g,de.b):new qt(de,ze,Ke)}var ur=18,Cr=.95047,mr=1,Fr=1.08883,tt=qt.prototype=new Mt;tt.brighter=function(de){return new qt(Math.min(100,this.l+ur*(arguments.length?de:1)),this.a,this.b)},tt.darker=function(de){return new qt(Math.max(0,this.l-ur*(arguments.length?de:1)),this.a,this.b)},tt.rgb=function(){return et(this.l,this.a,this.b)};function et(de,ze,Ke){var ft=(de+16)/116,dt=ft+ze/500,mt=ft-Ke/200;return dt=Gt(dt)*Cr,ft=Gt(ft)*mr,mt=Gt(mt)*Fr,new Tr(wr(3.2404542*dt-1.5371385*ft-.4985314*mt),wr(-.969266*dt+1.8760108*ft+.041556*mt),wr(.0556434*dt-.2040259*ft+1.0572252*mt))}function Wt(de,ze,Ke){return de>0?new Ut(Math.atan2(Ke,ze)*kt,Math.sqrt(ze*ze+Ke*Ke),de):new Ut(NaN,NaN,de)}function Gt(de){return de>.206893034?de*de*de:(de-.13793103448275862)/7.787037}function or(de){return de>.008856?Math.pow(de,.3333333333333333):7.787037*de+.13793103448275862}function wr(de){return Math.round(255*(de<=.00304?12.92*de:1.055*Math.pow(de,.4166666666666667)-.055))}a.rgb=Tr;function Tr(de,ze,Ke){return this instanceof Tr?(this.r=~~de,this.g=~~ze,void(this.b=~~Ke)):arguments.length<2?de instanceof Tr?new Tr(de.r,de.g,de.b):Br(""+de,Tr,wt):new Tr(de,ze,Ke)}function br(de){return new Tr(de>>16,de>>8&255,de&255)}function Kt(de){return br(de)+""}var Ir=Tr.prototype=new Mt;Ir.brighter=function(de){de=Math.pow(.7,arguments.length?de:1);var ze=this.r,Ke=this.g,ft=this.b,dt=30;return!ze&&!Ke&&!ft?new Tr(dt,dt,dt):(ze&&ze>4,ft=ft>>4|ft,dt=rr&240,dt=dt>>4|dt,mt=rr&15,mt=mt<<4|mt):de.length===7&&(ft=(rr&16711680)>>16,dt=(rr&65280)>>8,mt=rr&255)),ze(ft,dt,mt))}function zr(de,ze,Ke){var ft=Math.min(de/=255,ze/=255,Ke/=255),dt=Math.max(de,ze,Ke),mt=dt-ft,Nt,St,rr=(dt+ft)/2;return mt?(St=rr<.5?mt/(dt+ft):mt/(2-dt-ft),de==dt?Nt=(ze-Ke)/mt+(ze0&&rr<1?0:Nt),new yt(Nt,St,rr)}function cn(de,ze,Ke){de=tn(de),ze=tn(ze),Ke=tn(Ke);var ft=or((.4124564*de+.3575761*ze+.1804375*Ke)/Cr),dt=or((.2126729*de+.7151522*ze+.072175*Ke)/mr),mt=or((.0193339*de+.119192*ze+.9503041*Ke)/Fr);return qt(116*dt-16,500*(ft-dt),200*(dt-mt))}function tn(de){return(de/=255)<=.04045?de/12.92:Math.pow((de+.055)/1.055,2.4)}function an(de){var ze=parseFloat(de);return de.charAt(de.length-1)==="%"?Math.round(ze*2.55):ze}var Wn=a.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});Wn.forEach(function(de,ze){Wn.set(de,br(ze))});function En(de){return typeof de=="function"?de:function(){return de}}a.functor=En,a.xhr=pa(H);function pa(de){return function(ze,Ke,ft){return arguments.length===2&&typeof Ke=="function"&&(ft=Ke,Ke=null),Qn(ze,Ke,de,ft)}}function Qn(de,ze,Ke,ft){var dt={},mt=a.dispatch("beforesend","progress","load","error"),Nt={},St=new XMLHttpRequest,rr=null;self.XDomainRequest&&!("withCredentials"in St)&&/^(http(s)?:)?\/\//.test(de)&&(St=new XDomainRequest),"onload"in St?St.onload=St.onerror=xr:St.onreadystatechange=function(){St.readyState>3&&xr()};function xr(){var Ar=St.status,Qr;if(!Ar&&Vr(St)||Ar>=200&&Ar<300||Ar===304){try{Qr=Ke.call(dt,St)}catch(Jr){mt.error.call(dt,Jr);return}mt.load.call(dt,Qr)}else mt.error.call(dt,St)}return St.onprogress=function(Ar){var Qr=a.event;a.event=Ar;try{mt.progress.call(dt,St)}finally{a.event=Qr}},dt.header=function(Ar,Qr){return Ar=(Ar+"").toLowerCase(),arguments.length<2?Nt[Ar]:(Qr==null?delete Nt[Ar]:Nt[Ar]=Qr+"",dt)},dt.mimeType=function(Ar){return arguments.length?(ze=Ar==null?null:Ar+"",dt):ze},dt.responseType=function(Ar){return arguments.length?(rr=Ar,dt):rr},dt.response=function(Ar){return Ke=Ar,dt},["get","post"].forEach(function(Ar){dt[Ar]=function(){return dt.send.apply(dt,[Ar].concat(x(arguments)))}}),dt.send=function(Ar,Qr,Jr){if(arguments.length===2&&typeof Qr=="function"&&(Jr=Qr,Qr=null),St.open(Ar,de,!0),ze!=null&&!("accept"in Nt)&&(Nt.accept=ze+",*/*"),St.setRequestHeader)for(var Tn in Nt)St.setRequestHeader(Tn,Nt[Tn]);return ze!=null&&St.overrideMimeType&&St.overrideMimeType(ze),rr!=null&&(St.responseType=rr),Jr!=null&&dt.on("error",Jr).on("load",function(Pn){Jr(null,Pn)}),mt.beforesend.call(dt,St),St.send(Qr??null),dt},dt.abort=function(){return St.abort(),dt},a.rebind(dt,mt,"on"),ft==null?dt:dt.get(_r(ft))}function _r(de){return de.length===1?function(ze,Ke){de(ze==null?Ke:null)}:de}function Vr(de){var ze=de.responseType;return ze&&ze!=="text"?de.response:de.responseText}a.dsv=function(de,ze){var Ke=new RegExp('["'+de+` -]`),ft=de.charCodeAt(0);function dt(xr,Ar,Qr){arguments.length<3&&(Qr=Ar,Ar=null);var Jr=Qn(xr,ze,Ar==null?mt:Nt(Ar),Qr);return Jr.row=function(Tn){return arguments.length?Jr.response((Ar=Tn)==null?mt:Nt(Tn)):Ar},Jr}function mt(xr){return dt.parse(xr.responseText)}function Nt(xr){return function(Ar){return dt.parse(Ar.responseText,xr)}}dt.parse=function(xr,Ar){var Qr;return dt.parseRows(xr,function(Jr,Tn){if(Qr)return Qr(Jr,Tn-1);var Pn=function(rn){for(var fn={},bn=Jr.length,Rn=0;Rn=Pn)return Jr;if(Rn)return Rn=!1,Qr;var xa=rn;if(xr.charCodeAt(xa)===34){for(var Ca=xa;Ca++24?(isFinite(ze)&&(clearTimeout(zn),zn=setTimeout(fa,ze)),dn=0):(dn=1,gn(fa))}a.timer.flush=function(){Ma(),Sa()};function Ma(){for(var de=Date.now(),ze=qr;ze;)de>=ze.t&&ze.c(de-ze.t)&&(ze.c=null),ze=ze.n;return de}function Sa(){for(var de,ze=qr,Ke=1/0;ze;)ze.c?(ze.t=0;--St)rn.push(dt[xr[Qr[St]][2]]);for(St=+Tn;St1&&nr(de[Ke[ft-2]],de[Ke[ft-1]],de[dt])<=0;)--ft;Ke[ft++]=dt}return Ke.slice(0,ft)}function Xr(de,ze){return de[0]-ze[0]||de[1]-ze[1]}a.geom.polygon=function(de){return K(de,An),de};var An=a.geom.polygon.prototype=[];An.area=function(){for(var de=-1,ze=this.length,Ke,ft=this[ze-1],dt=0;++deve)St=St.L;else if(Nt=ze-On(St,Ke),Nt>ve){if(!St.R){ft=St;break}St=St.R}else{mt>-ve?(ft=St.P,dt=St):Nt>-ve?(ft=St,dt=St.N):ft=dt=St;break}var rr=yn(de);if(va.insert(ft,rr),!(!ft&&!dt)){if(ft===dt){ya(ft),dt=yn(ft.site),va.insert(rr,dt),rr.edge=dt.edge=Va(ft.site,rr.site),ha(ft),ha(dt);return}if(!dt){rr.edge=Va(ft.site,rr.site);return}ya(ft),ya(dt);var xr=ft.site,Ar=xr.x,Qr=xr.y,Jr=de.x-Ar,Tn=de.y-Qr,Pn=dt.site,rn=Pn.x-Ar,fn=Pn.y-Qr,bn=2*(Jr*fn-Tn*rn),Rn=Jr*Jr+Tn*Tn,Hn=rn*rn+fn*fn,xn={x:(fn*Rn-Tn*Hn)/bn+Ar,y:(Jr*Hn-rn*Rn)/bn+Qr};$a(dt.edge,xr,Pn,xn),rr.edge=Va(xr,de,null,xn),dt.edge=Va(de,Pn,null,xn),ha(ft),ha(dt)}}function Yn(de,ze){var Ke=de.site,ft=Ke.x,dt=Ke.y,mt=dt-ze;if(!mt)return ft;var Nt=de.P;if(!Nt)return-1/0;Ke=Nt.site;var St=Ke.x,rr=Ke.y,xr=rr-ze;if(!xr)return St;var Ar=St-ft,Qr=1/mt-1/xr,Jr=Ar/xr;return Qr?(-Jr+Math.sqrt(Jr*Jr-2*Qr*(Ar*Ar/(-2*xr)-rr+xr/2+dt-mt/2)))/Qr+ft:(ft+St)/2}function On(de,ze){var Ke=de.N;if(Ke)return Yn(Ke,ze);var ft=de.site;return ft.y===ze?ft.x:1/0}function en(de){this.site=de,this.edges=[]}en.prototype.prepare=function(){for(var de=this.edges,ze=de.length,Ke;ze--;)Ke=de[ze].edge,(!Ke.b||!Ke.a)&&de.splice(ze,1);return de.sort(nn),de.length};function pr(de){for(var ze=de[0][0],Ke=de[1][0],ft=de[0][1],dt=de[1][1],mt,Nt,St,rr,xr=ua,Ar=xr.length,Qr,Jr,Tn,Pn,rn,fn;Ar--;)if(Qr=xr[Ar],!(!Qr||!Qr.prepare()))for(Tn=Qr.edges,Pn=Tn.length,Jr=0;Jrve||g(rr-Nt)>ve)&&(Tn.splice(Jr,0,new hs(Ua(Qr.site,fn,g(St-ze)ve?{x:ze,y:g(mt-ze)ve?{x:g(Nt-dt)ve?{x:Ke,y:g(mt-Ke)ve?{x:g(Nt-ft)=-Ie)){var Jr=rr*rr+xr*xr,Tn=Ar*Ar+fn*fn,Pn=(fn*Jr-xr*Tn)/Qr,rn=(rr*Tn-Ar*Jr)/Qr,fn=rn+St,bn=sr.pop()||new Vn;bn.arc=de,bn.site=dt,bn.x=Pn+Nt,bn.y=fn+Math.sqrt(Pn*Pn+rn*rn),bn.cy=fn,de.circle=bn;for(var Rn=null,Hn=Ni._;Hn;)if(bn.y0)){if(rn/=Tn,Tn<0){if(rn0){if(rn>Jr)return;rn>Qr&&(Qr=rn)}if(rn=Ke-St,!(!Tn&&rn<0)){if(rn/=Tn,Tn<0){if(rn>Jr)return;rn>Qr&&(Qr=rn)}else if(Tn>0){if(rn0)){if(rn/=Pn,Pn<0){if(rn0){if(rn>Jr)return;rn>Qr&&(Qr=rn)}if(rn=ft-rr,!(!Pn&&rn<0)){if(rn/=Pn,Pn<0){if(rn>Jr)return;rn>Qr&&(Qr=rn)}else if(Pn>0){if(rn0&&(dt.a={x:St+Qr*Tn,y:rr+Qr*Pn}),Jr<1&&(dt.b={x:St+Jr*Tn,y:rr+Jr*Pn}),dt}}}}}}function na(de){for(var ze=la,Ke=Gn(de[0][0],de[0][1],de[1][0],de[1][1]),ft=ze.length,dt;ft--;)dt=ze[ft],(!za(dt,de)||!Ke(dt)||g(dt.a.x-dt.b.x)=mt)return;if(Ar>Jr){if(!ft)ft={x:Pn,y:Nt};else if(ft.y>=St)return;Ke={x:Pn,y:St}}else{if(!ft)ft={x:Pn,y:St};else if(ft.y1)if(Ar>Jr){if(!ft)ft={x:(Nt-bn)/fn,y:Nt};else if(ft.y>=St)return;Ke={x:(St-bn)/fn,y:St}}else{if(!ft)ft={x:(St-bn)/fn,y:St};else if(ft.y=mt)return;Ke={x:mt,y:fn*mt+bn}}else{if(!ft)ft={x:mt,y:fn*mt+bn};else if(ft.x=Ar&&bn.x<=Jr&&bn.y>=Qr&&bn.y<=Tn?[[Ar,Tn],[Jr,Tn],[Jr,Qr],[Ar,Qr]]:[];Rn.point=rr[rn]}),xr}function St(rr){return rr.map(function(xr,Ar){return{x:Math.round(ft(xr,Ar)/ve)*ve,y:Math.round(dt(xr,Ar)/ve)*ve,i:Ar}})}return Nt.links=function(rr){return Vi(St(rr)).edges.filter(function(xr){return xr.l&&xr.r}).map(function(xr){return{source:rr[xr.l.i],target:rr[xr.r.i]}})},Nt.triangles=function(rr){var xr=[];return Vi(St(rr)).cells.forEach(function(Ar,Qr){for(var Jr=Ar.site,Tn=Ar.edges.sort(nn),Pn=-1,rn=Tn.length,fn,bn=Tn[rn-1].edge,Rn=bn.l===Jr?bn.r:bn.l;++PnHn&&(Hn=Ar.x),Ar.y>xn&&(xn=Ar.y),Tn.push(Ar.x),Pn.push(Ar.y);else for(rn=0;rnHn&&(Hn=xa),Ca>xn&&(xn=Ca),Tn.push(xa),Pn.push(Ca)}var Ia=Hn-bn,Ga=xn-Rn;Ia>Ga?xn=Rn+Ia:Hn=bn+Ga;function oi(di,Pi,oo,so,Ao,Ta,Di,Ei){if(!(isNaN(oo)||isNaN(so)))if(di.leaf){var ji=di.x,Go=di.y;if(ji!=null)if(g(ji-oo)+g(Go-so)<.01)ii(di,Pi,oo,so,Ao,Ta,Di,Ei);else{var is=di.point;di.x=di.y=di.point=null,ii(di,is,ji,Go,Ao,Ta,Di,Ei),ii(di,Pi,oo,so,Ao,Ta,Di,Ei)}else di.x=oo,di.y=so,di.point=Pi}else ii(di,Pi,oo,so,Ao,Ta,Di,Ei)}function ii(di,Pi,oo,so,Ao,Ta,Di,Ei){var ji=(Ao+Di)*.5,Go=(Ta+Ei)*.5,is=oo>=ji,gs=so>=Go,Bo=gs<<1|is;di.leaf=!1,di=di.nodes[Bo]||(di.nodes[Bo]=_u()),is?Ao=ji:Di=ji,gs?Ta=Go:Ei=Go,oi(di,Pi,oo,so,Ao,Ta,Di,Ei)}var Fi=_u();if(Fi.add=function(di){oi(Fi,di,+Qr(di,++rn),+Jr(di,rn),bn,Rn,Hn,xn)},Fi.visit=function(di){Po(di,Fi,bn,Rn,Hn,xn)},Fi.find=function(di){return gf(Fi,di[0],di[1],bn,Rn,Hn,xn)},rn=-1,ze==null){for(;++rnmt||Jr>Nt||Tn=xa,Ga=Ke>=Ca,oi=Ga<<1|Ia,ii=oi+4;oiKe&&(mt=ze.slice(Ke,mt),St[Nt]?St[Nt]+=mt:St[++Nt]=mt),(ft=ft[0])===(dt=dt[0])?St[Nt]?St[Nt]+=dt:St[++Nt]=dt:(St[++Nt]=null,rr.push({i:Nt,x:Ws(ft,dt)})),Ke=ks.lastIndex;return Ke=0&&!(ft=a.interpolators[Ke](de,ze)););return ft}a.interpolators=[function(de,ze){var Ke=typeof ze;return(Ke==="string"?Wn.has(ze.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(ze)?Fs:rs:ze instanceof Mt?Fs:Array.isArray(ze)?us:Ke==="object"&&isNaN(ze)?ts:Ws)(de,ze)}],a.interpolateArray=us;function us(de,ze){var Ke=[],ft=[],dt=de.length,mt=ze.length,Nt=Math.min(de.length,ze.length),St;for(St=0;St=0?de.slice(0,ze):de,ft=ze>=0?de.slice(ze+1):"in";return Ke=Dl.get(Ke)||Ys,ft=ds.get(ft)||H,mu(ft(Ke.apply(null,L.call(arguments,1))))};function mu(de){return function(ze){return ze<=0?0:ze>=1?1:de(ze)}}function tl(de){return function(ze){return 1-de(1-ze)}}function ml(de){return function(ze){return .5*(ze<.5?de(2*ze):2-de(2-2*ze))}}function xc(de){return de*de}function bc(de){return de*de*de}function wc(de){if(de<=0)return 0;if(de>=1)return 1;var ze=de*de,Ke=ze*de;return 4*(de<.5?Ke:3*(de-ze)+Ke-.75)}function gu(de){return function(ze){return Math.pow(ze,de)}}function rf(de){return 1-Math.cos(de*ct)}function Tc(de){return Math.pow(2,10*(de-1))}function Gf(de){return 1-Math.sqrt(1-de*de)}function Wf(de,ze){var Ke;return arguments.length<2&&(ze=.45),arguments.length?Ke=ze/je*Math.asin(1/de):(de=1,Ke=ze/4),function(ft){return 1+de*Math.pow(2,-10*ft)*Math.sin((ft-Ke)*je/ze)}}function Vc(de){return de||(de=1.70158),function(ze){return ze*ze*((de+1)*ze-de)}}function Gc(de){return de<.36363636363636365?7.5625*de*de:de<.7272727272727273?7.5625*(de-=.5454545454545454)*de+.75:de<.9090909090909091?7.5625*(de-=.8181818181818182)*de+.9375:7.5625*(de-=.9545454545454546)*de+.984375}a.interpolateHcl=Yf;function Yf(de,ze){de=a.hcl(de),ze=a.hcl(ze);var Ke=de.h,ft=de.c,dt=de.l,mt=ze.h-Ke,Nt=ze.c-ft,St=ze.l-dt;return isNaN(Nt)&&(Nt=0,ft=isNaN(ft)?ze.c:ft),isNaN(mt)?(mt=0,Ke=isNaN(Ke)?ze.h:Ke):mt>180?mt-=360:mt<-180&&(mt+=360),function(rr){return Qt(Ke+mt*rr,ft+Nt*rr,dt+St*rr)+""}}a.interpolateHsl=Bs;function Bs(de,ze){de=a.hsl(de),ze=a.hsl(ze);var Ke=de.h,ft=de.s,dt=de.l,mt=ze.h-Ke,Nt=ze.s-ft,St=ze.l-dt;return isNaN(Nt)&&(Nt=0,ft=isNaN(ft)?ze.s:ft),isNaN(mt)?(mt=0,Ke=isNaN(Ke)?ze.h:Ke):mt>180?mt-=360:mt<-180&&(mt+=360),function(rr){return wt(Ke+mt*rr,ft+Nt*rr,dt+St*rr)+""}}a.interpolateLab=Ac;function Ac(de,ze){de=a.lab(de),ze=a.lab(ze);var Ke=de.l,ft=de.a,dt=de.b,mt=ze.l-Ke,Nt=ze.a-ft,St=ze.b-dt;return function(rr){return et(Ke+mt*rr,ft+Nt*rr,dt+St*rr)+""}}a.interpolateRound=Sc;function Sc(de,ze){return ze-=de,function(Ke){return Math.round(de+ze*Ke)}}a.transform=function(de){var ze=d.createElementNS(a.ns.prefix.svg,"g");return(a.transform=function(Ke){if(Ke!=null){ze.setAttribute("transform",Ke);var ft=ze.transform.baseVal.consolidate()}return new yu(ft?ft.matrix:m0)})(de)};function yu(de){var ze=[de.a,de.b],Ke=[de.c,de.d],ft=xu(ze),dt=Fo(ze,Ke),mt=xu(Wl(Ke,ze,-dt))||0;ze[0]*Ke[1]180?ze+=360:ze-de>180&&(de+=360),ft.push({i:Ke.push(rl(Ke)+"rotate(",null,")")-2,x:Ws(de,ze)})):ze&&Ke.push(rl(Ke)+"rotate("+ze+")")}function g0(de,ze,Ke,ft){de!==ze?ft.push({i:Ke.push(rl(Ke)+"skewX(",null,")")-2,x:Ws(de,ze)}):ze&&Ke.push(rl(Ke)+"skewX("+ze+")")}function Uo(de,ze,Ke,ft){if(de[0]!==ze[0]||de[1]!==ze[1]){var dt=Ke.push(rl(Ke)+"scale(",null,",",null,")");ft.push({i:dt-4,x:Ws(de[0],ze[0])},{i:dt-2,x:Ws(de[1],ze[1])})}else(ze[0]!==1||ze[1]!==1)&&Ke.push(rl(Ke)+"scale("+ze+")")}function nl(de,ze){var Ke=[],ft=[];return de=a.transform(de),ze=a.transform(ze),nf(de.translate,ze.translate,Ke,ft),af(de.rotate,ze.rotate,Ke,ft),g0(de.skew,ze.skew,Ke,ft),Uo(de.scale,ze.scale,Ke,ft),de=ze=null,function(dt){for(var mt=-1,Nt=ft.length,St;++mt0?mt=xn:(Ke.c=null,Ke.t=NaN,Ke=null,ze.end({type:"end",alpha:mt=0})):xn>0&&(ze.start({type:"start",alpha:mt=xn}),Ke=Fn(de.tick)),de):mt},de.start=function(){var xn,xa=Tn.length,Ca=Pn.length,Ia=ft[0],Ga=ft[1],oi,ii;for(xn=0;xn=0;)mt.push(Ar=xr[rr]),Ar.parent=St,Ar.depth=St.depth+1;Ke&&(St.value=0),St.children=xr}else Ke&&(St.value=+Ke.call(ft,St,St.depth)||0),delete St.children;return ps(dt,function(Qr){var Jr,Tn;de&&(Jr=Qr.children)&&Jr.sort(de),Ke&&(Tn=Qr.parent)&&(Tn.value+=Qr.value)}),Nt}return ft.sort=function(dt){return arguments.length?(de=dt,ft):de},ft.children=function(dt){return arguments.length?(ze=dt,ft):ze},ft.value=function(dt){return arguments.length?(Ke=dt,ft):Ke},ft.revalue=function(dt){return Ke&&(As(dt,function(mt){mt.children&&(mt.value=0)}),ps(dt,function(mt){var Nt;mt.children||(mt.value=+Ke.call(ft,mt,mt.depth)||0),(Nt=mt.parent)&&(Nt.value+=mt.value)})),dt},ft};function iu(de,ze){return a.rebind(de,ze,"sort","children","value"),de.nodes=de,de.links=Yc,de}function As(de,ze){for(var Ke=[de];(de=Ke.pop())!=null;)if(ze(de),(dt=de.children)&&(ft=dt.length))for(var ft,dt;--ft>=0;)Ke.push(dt[ft])}function ps(de,ze){for(var Ke=[de],ft=[];(de=Ke.pop())!=null;)if(ft.push(de),(Nt=de.children)&&(mt=Nt.length))for(var dt=-1,mt,Nt;++dtdt&&(dt=St),ft.push(St)}for(Nt=0;Ntft&&(Ke=ze,ft=dt);return Ke}function Xf(de){return de.reduce(xl,0)}function xl(de,ze){return de+ze[1]}a.layout.histogram=function(){var de=!0,ze=Number,Ke=Cc,ft=bu;function dt(mt,Jr){for(var St=[],rr=mt.map(ze,this),xr=Ke.call(this,rr,Jr),Ar=ft.call(this,xr,rr,Jr),Qr,Jr=-1,Tn=rr.length,Pn=Ar.length-1,rn=de?1:1/Tn,fn;++Jr0)for(Jr=-1;++Jr=xr[0]&&fn<=xr[1]&&(Qr=St[a.bisect(Ar,fn,1,Pn)-1],Qr.y+=rn,Qr.push(mt[Jr]));return St}return dt.value=function(mt){return arguments.length?(ze=mt,dt):ze},dt.range=function(mt){return arguments.length?(Ke=En(mt),dt):Ke},dt.bins=function(mt){return arguments.length?(ft=typeof mt=="number"?function(Nt){return wu(Nt,mt)}:En(mt),dt):ft},dt.frequency=function(mt){return arguments.length?(de=!!mt,dt):de},dt};function bu(de,ze){return wu(de,Math.ceil(Math.log(ze.length)/Math.LN2+1))}function wu(de,ze){for(var Ke=-1,ft=+de[0],dt=(de[1]-ft)/ze,mt=[];++Ke<=ze;)mt[Ke]=dt*Ke+ft;return mt}function Cc(de){return[a.min(de),a.max(de)]}a.layout.pack=function(){var de=a.layout.hierarchy().sort(jo),ze=0,Ke=[1,1],ft;function dt(mt,Nt){var St=de.call(this,mt,Nt),rr=St[0],xr=Ke[0],Ar=Ke[1],Qr=ft==null?Math.sqrt:typeof ft=="function"?ft:function(){return ft};if(rr.x=rr.y=0,ps(rr,function(Tn){Tn.r=+Qr(Tn.value)}),ps(rr,js),ze){var Jr=ze*(ft?1:Math.max(2*rr.r/xr,2*rr.r/Ar))/2;ps(rr,function(Tn){Tn.r+=Jr}),ps(rr,js),ps(rr,function(Tn){Tn.r-=Jr})}return Au(rr,xr/2,Ar/2,ft?1:1/Math.max(2*rr.r/xr,2*rr.r/Ar)),St}return dt.size=function(mt){return arguments.length?(Ke=mt,dt):Ke},dt.radius=function(mt){return arguments.length?(ft=mt==null||typeof mt=="function"?mt:+mt,dt):ft},dt.padding=function(mt){return arguments.length?(ze=+mt,dt):ze},iu(dt,de)};function jo(de,ze){return de.value-ze.value}function lf(de,ze){var Ke=de._pack_next;de._pack_next=ze,ze._pack_prev=de,ze._pack_next=Ke,Ke._pack_prev=ze}function ms(de,ze){de._pack_next=ze,ze._pack_prev=de}function bl(de,ze){var Ke=ze.x-de.x,ft=ze.y-de.y,dt=de.r+ze.r;return .999*dt*dt>Ke*Ke+ft*ft}function js(de){if(!(ze=de.children)||!(Jr=ze.length))return;var ze,Ke=1/0,ft=-1/0,dt=1/0,mt=-1/0,Nt,St,rr,xr,Ar,Qr,Jr;function Tn(xn){Ke=Math.min(xn.x-xn.r,Ke),ft=Math.max(xn.x+xn.r,ft),dt=Math.min(xn.y-xn.r,dt),mt=Math.max(xn.y+xn.r,mt)}if(ze.forEach(Ss),Nt=ze[0],Nt.x=-Nt.r,Nt.y=0,Tn(Nt),Jr>1&&(St=ze[1],St.x=St.r,St.y=0,Tn(St),Jr>2))for(rr=ze[2],wl(Nt,St,rr),Tn(rr),lf(Nt,rr),Nt._pack_prev=rr,lf(rr,St),St=Nt._pack_next,xr=3;xrfn.x&&(fn=xa),xa.depth>bn.depth&&(bn=xa)});var Rn=ze(rn,fn)/2-rn.x,Hn=Ke[0]/(fn.x+ze(fn,rn)/2+Rn),xn=Ke[1]/(bn.depth||1);As(Tn,function(xa){xa.x=(xa.x+Rn)*Hn,xa.y=xa.depth*xn})}return Jr}function mt(Ar){for(var Qr={A:null,children:[Ar]},Jr=[Qr],Tn;(Tn=Jr.pop())!=null;)for(var Pn=Tn.children,rn,fn=0,bn=Pn.length;fn0&&($f(y0(rn,Ar,Jr),Ar,xa),bn+=xa,Rn+=xa),Hn+=rn.m,bn+=Tn.m,xn+=fn.m,Rn+=Pn.m;rn&&!Gu(Pn)&&(Pn.t=rn,Pn.m+=Hn-Rn),Tn&&!Su(fn)&&(fn.t=Tn,fn.m+=bn-xn,Jr=Ar)}return Jr}function xr(Ar){Ar.x*=Ke[0],Ar.y=Ar.depth*Ke[1]}return dt.separation=function(Ar){return arguments.length?(ze=Ar,dt):ze},dt.size=function(Ar){return arguments.length?(ft=(Ke=Ar)==null?xr:null,dt):ft?null:Ke},dt.nodeSize=function(Ar){return arguments.length?(ft=(Ke=Ar)==null?null:xr,dt):ft?Ke:null},iu(dt,de)};function Xo(de,ze){return de.parent==ze.parent?1:2}function Su(de){var ze=de.children;return ze.length?ze[0]:de.t}function Gu(de){var ze=de.children,Ke;return(Ke=ze.length)?ze[Ke-1]:de.t}function $f(de,ze,Ke){var ft=Ke/(ze.i-de.i);ze.c-=ft,ze.s+=Ke,de.c+=ft,ze.z+=Ke,ze.m+=Ke}function Zc(de){for(var ze=0,Ke=0,ft=de.children,dt=ft.length,mt;--dt>=0;)mt=ft[dt],mt.z+=ze,mt.m+=ze,ze+=mt.s+(Ke+=mt.c)}function y0(de,ze,Ke){return de.a.parent===ze.parent?de.a:Ke}a.layout.cluster=function(){var de=a.layout.hierarchy().sort(null).value(null),ze=Xo,Ke=[1,1],ft=!1;function dt(mt,Nt){var St=de.call(this,mt,Nt),rr=St[0],xr,Ar=0;ps(rr,function(rn){var fn=rn.children;fn&&fn.length?(rn.x=wf(fn),rn.y=jc(fn)):(rn.x=xr?Ar+=ze(rn,xr):0,rn.y=0,xr=rn)});var Qr=Zl(rr),Jr=Vo(rr),Tn=Qr.x-ze(Qr,Jr)/2,Pn=Jr.x+ze(Jr,Qr)/2;return ps(rr,ft?function(rn){rn.x=(rn.x-rr.x)*Ke[0],rn.y=(rr.y-rn.y)*Ke[1]}:function(rn){rn.x=(rn.x-Tn)/(Pn-Tn)*Ke[0],rn.y=(1-(rr.y?rn.y/rr.y:1))*Ke[1]}),St}return dt.separation=function(mt){return arguments.length?(ze=mt,dt):ze},dt.size=function(mt){return arguments.length?(ft=(Ke=mt)==null,dt):ft?null:Ke},dt.nodeSize=function(mt){return arguments.length?(ft=(Ke=mt)!=null,dt):ft?Ke:null},iu(dt,de)};function jc(de){return 1+a.max(de,function(ze){return ze.y})}function wf(de){return de.reduce(function(ze,Ke){return ze+Ke.x},0)/de.length}function Zl(de){var ze=de.children;return ze&&ze.length?Zl(ze[0]):de}function Vo(de){var ze=de.children,Ke;return ze&&(Ke=ze.length)?Vo(ze[Ke-1]):de}a.layout.treemap=function(){var de=a.layout.hierarchy(),ze=Math.round,Ke=[1,1],ft=null,dt=Tl,mt=!1,Nt,St="squarify",rr=.5*(1+Math.sqrt(5));function xr(rn,fn){for(var bn=-1,Rn=rn.length,Hn,xn;++bn0;)Rn.push(xn=Hn[Ga-1]),Rn.area+=xn.area,St!=="squarify"||(Ca=Jr(Rn,Ia))<=xa?(Hn.pop(),xa=Ca):(Rn.area-=Rn.pop().area,Tn(Rn,Ia,bn,!1),Ia=Math.min(bn.dx,bn.dy),Rn.length=Rn.area=0,xa=1/0);Rn.length&&(Tn(Rn,Ia,bn,!0),Rn.length=Rn.area=0),fn.forEach(Ar)}}function Qr(rn){var fn=rn.children;if(fn&&fn.length){var bn=dt(rn),Rn=fn.slice(),Hn,xn=[];for(xr(Rn,bn.dx*bn.dy/rn.value),xn.area=0;Hn=Rn.pop();)xn.push(Hn),xn.area+=Hn.area,Hn.z!=null&&(Tn(xn,Hn.z?bn.dx:bn.dy,bn,!Rn.length),xn.length=xn.area=0);fn.forEach(Qr)}}function Jr(rn,fn){for(var bn=rn.area,Rn,Hn=0,xn=1/0,xa=-1,Ca=rn.length;++xaHn&&(Hn=Rn));return bn*=bn,fn*=fn,bn?Math.max(fn*Hn*rr/bn,bn/(fn*xn*rr)):1/0}function Tn(rn,fn,bn,Rn){var Hn=-1,xn=rn.length,xa=bn.x,Ca=bn.y,Ia=fn?ze(rn.area/fn):0,Ga;if(fn==bn.dx){for((Rn||Ia>bn.dy)&&(Ia=bn.dy);++Hnbn.dx)&&(Ia=bn.dx);++Hn1);return de+ze*ft*Math.sqrt(-2*Math.log(mt)/mt)}},logNormal:function(){var de=a.random.normal.apply(a,arguments);return function(){return Math.exp(de())}},bates:function(de){var ze=a.random.irwinHall(de);return function(){return ze()/de}},irwinHall:function(de){return function(){for(var ze=0,Ke=0;Ke2?jl:Mu,xr=ft?vs:Nu;return dt=rr(de,ze,xr,Ke),mt=rr(ze,de,xr,qo),St}function St(rr){return dt(rr)}return St.invert=function(rr){return mt(rr)},St.domain=function(rr){return arguments.length?(de=rr.map(Number),Nt()):de},St.range=function(rr){return arguments.length?(ze=rr,Nt()):ze},St.rangeRound=function(rr){return St.range(rr).interpolate(Sc)},St.clamp=function(rr){return arguments.length?(ft=rr,Nt()):ft},St.interpolate=function(rr){return arguments.length?(Ke=rr,Nt()):Ke},St.ticks=function(rr){return Xl(de,rr)},St.tickFormat=function(rr,xr){return d3_scale_linearTickFormat(de,rr,xr)},St.nice=function(rr){return Cu(de,rr),Nt()},St.copy=function(){return Tf(de,ze,Ke,ft)},Nt()}function Kf(de,ze){return a.rebind(de,ze,"range","rangeRound","interpolate","clamp")}function Cu(de,ze){return Wu(de,Al(as(de,ze)[2])),Wu(de,Al(as(de,ze)[2])),de}function as(de,ze){ze==null&&(ze=10);var Ke=Ls(de),ft=Ke[1]-Ke[0],dt=Math.pow(10,Math.floor(Math.log(ft/ze)/Math.LN10)),mt=ze/ft*dt;return mt<=.15?dt*=10:mt<=.35?dt*=5:mt<=.75&&(dt*=2),Ke[0]=Math.ceil(Ke[0]/dt)*dt,Ke[1]=Math.floor(Ke[1]/dt)*dt+dt*.5,Ke[2]=dt,Ke}function Xl(de,ze){return a.range.apply(a,as(de,ze))}a.scale.log=function(){return Af(a.scale.linear().domain([0,1]),10,!0,[1,10])};function Af(de,ze,Ke,ft){function dt(St){return(Ke?Math.log(St<0?0:St):-Math.log(St>0?0:-St))/Math.log(ze)}function mt(St){return Ke?Math.pow(ze,St):-Math.pow(ze,-St)}function Nt(St){return de(dt(St))}return Nt.invert=function(St){return mt(de.invert(St))},Nt.domain=function(St){return arguments.length?(Ke=St[0]>=0,de.domain((ft=St.map(Number)).map(dt)),Nt):ft},Nt.base=function(St){return arguments.length?(ze=+St,de.domain(ft.map(dt)),Nt):ze},Nt.nice=function(){var St=Wu(ft.map(dt),Ke?Math:Sf);return de.domain(St),ft=St.map(mt),Nt},Nt.ticks=function(){var St=Ls(ft),rr=[],xr=St[0],Ar=St[1],Qr=Math.floor(dt(xr)),Jr=Math.ceil(dt(Ar)),Tn=ze%1?2:ze;if(isFinite(Jr-Qr)){if(Ke){for(;Qr0;Pn--)rr.push(mt(Qr)*Pn);for(Qr=0;rr[Qr]Ar;Jr--);rr=rr.slice(Qr,Jr)}return rr},Nt.copy=function(){return Af(de.copy(),ze,Ke,ft)},Kf(Nt,de)}var Sf={floor:function(de){return-Math.ceil(-de)},ceil:function(de){return-Math.floor(-de)}};a.scale.pow=function(){return Yu(a.scale.linear(),1,[0,1])};function Yu(de,ze,Ke){var ft=Mf(ze),dt=Mf(1/ze);function mt(Nt){return de(ft(Nt))}return mt.invert=function(Nt){return dt(de.invert(Nt))},mt.domain=function(Nt){return arguments.length?(de.domain((Ke=Nt.map(Number)).map(ft)),mt):Ke},mt.ticks=function(Nt){return Xl(Ke,Nt)},mt.tickFormat=function(Nt,St){return d3_scale_linearTickFormat(Ke,Nt,St)},mt.nice=function(Nt){return mt.domain(Cu(Ke,Nt))},mt.exponent=function(Nt){return arguments.length?(ft=Mf(ze=Nt),dt=Mf(1/ze),de.domain(Ke.map(ft)),mt):ze},mt.copy=function(){return Yu(de.copy(),ze,Ke)},Kf(mt,de)}function Mf(de){return function(ze){return ze<0?-Math.pow(-ze,de):Math.pow(ze,de)}}a.scale.sqrt=function(){return a.scale.pow().exponent(.5)},a.scale.ordinal=function(){return Sl([],{t:"range",a:[[]]})};function Sl(de,ze){var Ke,ft,dt;function mt(St){return ft[((Ke.get(St)||(ze.t==="range"?Ke.set(St,de.push(St)):NaN))-1)%ft.length]}function Nt(St,rr){return a.range(de.length).map(function(xr){return St+rr*xr})}return mt.domain=function(St){if(!arguments.length)return de;de=[],Ke=new D;for(var rr=-1,xr=St.length,Ar;++rr0?Ke[mt-1]:de[0],mtJr?0:1;if(Ar=ot)return rr(Ar,Pn)+(xr?rr(xr,1-Pn):"")+"Z";var rn,fn,bn,Rn,Hn=0,xn=0,xa,Ca,Ia,Ga,oi,ii,Fi,di,Pi=[];if((Rn=(+Nt.apply(this,arguments)||0)/2)&&(bn=ft===ku?Math.sqrt(xr*xr+Ar*Ar):+ft.apply(this,arguments),Pn||(xn*=-1),Ar&&(xn=dr(bn/Ar*Math.sin(Rn))),xr&&(Hn=dr(bn/xr*Math.sin(Rn)))),Ar){xa=Ar*Math.cos(Qr+xn),Ca=Ar*Math.sin(Qr+xn),Ia=Ar*Math.cos(Jr-xn),Ga=Ar*Math.sin(Jr-xn);var oo=Math.abs(Jr-Qr-2*xn)<=Ae?0:1;if(xn&&Bl(xa,Ca,Ia,Ga)===Pn^oo){var so=(Qr+Jr)/2;xa=Ar*Math.cos(so),Ca=Ar*Math.sin(so),Ia=Ga=null}}else xa=Ca=0;if(xr){oi=xr*Math.cos(Jr-Hn),ii=xr*Math.sin(Jr-Hn),Fi=xr*Math.cos(Qr+Hn),di=xr*Math.sin(Qr+Hn);var Ao=Math.abs(Qr-Jr+2*Hn)<=Ae?0:1;if(Hn&&Bl(oi,ii,Fi,di)===1-Pn^Ao){var Ta=(Qr+Jr)/2;oi=xr*Math.cos(Ta),ii=xr*Math.sin(Ta),Fi=di=null}}else oi=ii=0;if(Tn>ve&&(rn=Math.min(Math.abs(Ar-xr)/2,+Ke.apply(this,arguments)))>.001){fn=xr0?0:1}function Lu(de,ze,Ke,ft,dt){var mt=de[0]-ze[0],Nt=de[1]-ze[1],St=(dt?ft:-ft)/Math.sqrt(mt*mt+Nt*Nt),rr=St*Nt,xr=-St*mt,Ar=de[0]+rr,Qr=de[1]+xr,Jr=ze[0]+rr,Tn=ze[1]+xr,Pn=(Ar+Jr)/2,rn=(Qr+Tn)/2,fn=Jr-Ar,bn=Tn-Qr,Rn=fn*fn+bn*bn,Hn=Ke-ft,xn=Ar*Tn-Jr*Qr,xa=(bn<0?-1:1)*Math.sqrt(Math.max(0,Hn*Hn*Rn-xn*xn)),Ca=(xn*bn-fn*xa)/Rn,Ia=(-xn*fn-bn*xa)/Rn,Ga=(xn*bn+fn*xa)/Rn,oi=(-xn*fn+bn*xa)/Rn,ii=Ca-Pn,Fi=Ia-rn,di=Ga-Pn,Pi=oi-rn;return ii*ii+Fi*Fi>di*di+Pi*Pi&&(Ca=Ga,Ia=oi),[[Ca-rr,Ia-xr],[Ca*Ke/Hn,Ia*Ke/Hn]]}function ju(){return!0}function uu(de){var ze=_a,Ke=qn,ft=ju,dt=il,mt=dt.key,Nt=.7;function St(rr){var xr=[],Ar=[],Qr=-1,Jr=rr.length,Tn,Pn=En(ze),rn=En(Ke);function fn(){xr.push("M",dt(de(Ar),Nt))}for(;++Qr1?de.join("L"):de+"Z"}function Ml(de){return de.join("L")+"Z"}function ec(de){for(var ze=0,Ke=de.length,ft=de[0],dt=[ft[0],",",ft[1]];++ze1&&dt.push("H",ft[0]),dt.join("")}function jt(de){for(var ze=0,Ke=de.length,ft=de[0],dt=[ft[0],",",ft[1]];++ze1){St=ze[1],mt=de[rr],rr++,ft+="C"+(dt[0]+Nt[0])+","+(dt[1]+Nt[1])+","+(mt[0]-St[0])+","+(mt[1]-St[1])+","+mt[0]+","+mt[1];for(var xr=2;xr9&&(mt=Ke*3/Math.sqrt(mt),Nt[St]=mt*ft,Nt[St+1]=mt*dt));for(St=-1;++St<=rr;)mt=(de[Math.min(rr,St+1)][0]-de[Math.max(0,St-1)][0])/(6*(1+Nt[St]*Nt[St])),ze.push([mt||0,Nt[St]*mt||0]);return ze}function Li(de){return de.length<3?il(de):de[0]+Lt(de,_i(de))}a.svg.line.radial=function(){var de=uu(Xi);return de.radius=de.x,delete de.x,de.angle=de.y,delete de.y,de};function Xi(de){for(var ze,Ke=-1,ft=de.length,dt,mt;++KeAe)+",1 "+Qr}function xr(Ar,Qr,Jr,Tn){return"Q 0,0 "+Tn}return mt.radius=function(Ar){return arguments.length?(Ke=En(Ar),mt):Ke},mt.source=function(Ar){return arguments.length?(de=En(Ar),mt):de},mt.target=function(Ar){return arguments.length?(ze=En(Ar),mt):ze},mt.startAngle=function(Ar){return arguments.length?(ft=En(Ar),mt):ft},mt.endAngle=function(Ar){return arguments.length?(dt=En(Ar),mt):dt},mt};function po(de){return de.radius}a.svg.diagonal=function(){var de=Eo,ze=io,Ke=Ro;function ft(dt,mt){var Nt=de.call(this,dt,mt),St=ze.call(this,dt,mt),rr=(Nt.y+St.y)/2,xr=[Nt,{x:Nt.x,y:rr},{x:St.x,y:rr},St];return xr=xr.map(Ke),"M"+xr[0]+"C"+xr[1]+" "+xr[2]+" "+xr[3]}return ft.source=function(dt){return arguments.length?(de=En(dt),ft):de},ft.target=function(dt){return arguments.length?(ze=En(dt),ft):ze},ft.projection=function(dt){return arguments.length?(Ke=dt,ft):Ke},ft};function Ro(de){return[de.x,de.y]}a.svg.diagonal.radial=function(){var de=a.svg.diagonal(),ze=Ro,Ke=de.projection;return de.projection=function(ft){return arguments.length?Ke(ko(ze=ft)):ze},de};function ko(de){return function(){var ze=de.apply(this,arguments),Ke=ze[0],ft=ze[1]-ct;return[Ke*Math.cos(ft),Ke*Math.sin(ft)]}}a.svg.symbol=function(){var de=ht,ze=at;function Ke(ft,dt){return(Pt.get(de.call(this,ft,dt))||Tt)(ze.call(this,ft,dt))}return Ke.type=function(ft){return arguments.length?(de=En(ft),Ke):de},Ke.size=function(ft){return arguments.length?(ze=En(ft),Ke):ze},Ke};function at(){return 64}function ht(){return"circle"}function Tt(de){var ze=Math.sqrt(de/Ae);return"M0,"+ze+"A"+ze+","+ze+" 0 1,1 0,"+-ze+"A"+ze+","+ze+" 0 1,1 0,"+ze+"Z"}var Pt=a.map({circle:Tt,cross:function(de){var ze=Math.sqrt(de/5)/2;return"M"+-3*ze+","+-ze+"H"+-ze+"V"+-3*ze+"H"+ze+"V"+-ze+"H"+3*ze+"V"+ze+"H"+ze+"V"+3*ze+"H"+-ze+"V"+ze+"H"+-3*ze+"Z"},diamond:function(de){var ze=Math.sqrt(de/(2*_t)),Ke=ze*_t;return"M0,"+-ze+"L"+Ke+",0 0,"+ze+" "+-Ke+",0Z"},square:function(de){var ze=Math.sqrt(de)/2;return"M"+-ze+","+-ze+"L"+ze+","+-ze+" "+ze+","+ze+" "+-ze+","+ze+"Z"},"triangle-down":function(de){var ze=Math.sqrt(de/Vt),Ke=ze*Vt/2;return"M0,"+Ke+"L"+ze+","+-Ke+" "+-ze+","+-Ke+"Z"},"triangle-up":function(de){var ze=Math.sqrt(de/Vt),Ke=ze*Vt/2;return"M0,"+-Ke+"L"+ze+","+Ke+" "+-ze+","+Ke+"Z"}});a.svg.symbolTypes=Pt.keys();var Vt=Math.sqrt(3),_t=Math.tan(30*Et);ee.transition=function(de){for(var ze=Kr||++Wr,Ke=Xn(de),ft=[],dt,mt,Nt=vn||{time:Date.now(),ease:wc,delay:0,duration:250},St=-1,rr=this.length;++St0;)Qr[--Rn].call(de,bn);if(fn>=1)return Nt.event&&Nt.event.end.call(de,de.__data__,ze),--mt.count?delete mt[ft]:delete de[Ke],1}Nt||(St=dt.time,rr=Fn(Jr,0,St),Nt=mt[ft]={tween:new D,time:St,timer:rr,delay:dt.delay,duration:dt.duration,ease:dt.ease,index:ze},dt=null,++mt.count)}a.svg.axis=function(){var de=a.scale.linear(),ze=ja,Ke=6,ft=6,dt=3,mt=[10],Nt=null,St;function rr(xr){xr.each(function(){var Ar=a.select(this),Qr=this.__chart__||de,Jr=this.__chart__=de.copy(),Tn=Nt??(Jr.ticks?Jr.ticks.apply(Jr,mt):Jr.domain()),Pn=St??(Jr.tickFormat?Jr.tickFormat.apply(Jr,mt):H),rn=Ar.selectAll(".tick").data(Tn,Jr),fn=rn.enter().insert("g",".domain").attr("class","tick").style("opacity",ve),bn=a.transition(rn.exit()).style("opacity",ve).remove(),Rn=a.transition(rn.order()).style("opacity",1),Hn=Math.max(Ke,0)+dt,xn,xa=ou(Jr),Ca=Ar.selectAll(".domain").data([0]),Ia=(Ca.enter().append("path").attr("class","domain"),a.transition(Ca));fn.append("line"),fn.append("text");var Ga=fn.select("line"),oi=Rn.select("line"),ii=rn.select("text").text(Pn),Fi=fn.select("text"),di=Rn.select("text"),Pi=ze==="top"||ze==="left"?-1:1,oo,so,Ao,Ta;if(ze==="bottom"||ze==="top"?(xn=wi,oo="x",Ao="y",so="x2",Ta="y2",ii.attr("dy",Pi<0?"0em":".71em").style("text-anchor","middle"),Ia.attr("d","M"+xa[0]+","+Pi*ft+"V0H"+xa[1]+"V"+Pi*ft)):(xn=Ai,oo="y",Ao="x",so="y2",Ta="x2",ii.attr("dy",".32em").style("text-anchor",Pi<0?"end":"start"),Ia.attr("d","M"+Pi*ft+","+xa[0]+"H0V"+xa[1]+"H"+Pi*ft)),Ga.attr(Ta,Pi*Ke),Fi.attr(Ao,Pi*Hn),oi.attr(so,0).attr(Ta,Pi*Ke),di.attr(oo,0).attr(Ao,Pi*Hn),Jr.rangeBand){var Di=Jr,Ei=Di.rangeBand()/2;Qr=Jr=function(ji){return Di(ji)+Ei}}else Qr.rangeBand?Qr=Jr:bn.call(xn,Jr,Qr);fn.call(xn,Qr,Jr),Rn.call(xn,Jr,Jr)})}return rr.scale=function(xr){return arguments.length?(de=xr,rr):de},rr.orient=function(xr){return arguments.length?(ze=xr in hi?xr+"":ja,rr):ze},rr.ticks=function(){return arguments.length?(mt=x(arguments),rr):mt},rr.tickValues=function(xr){return arguments.length?(Nt=xr,rr):Nt},rr.tickFormat=function(xr){return arguments.length?(St=xr,rr):St},rr.tickSize=function(xr){var Ar=arguments.length;return Ar?(Ke=+xr,ft=+arguments[Ar-1],rr):Ke},rr.innerTickSize=function(xr){return arguments.length?(Ke=+xr,rr):Ke},rr.outerTickSize=function(xr){return arguments.length?(ft=+xr,rr):ft},rr.tickPadding=function(xr){return arguments.length?(dt=+xr,rr):dt},rr.tickSubdivide=function(){return arguments.length&&rr},rr};var ja="bottom",hi={top:1,right:1,bottom:1,left:1};function wi(de,ze,Ke){de.attr("transform",function(ft){var dt=ze(ft);return"translate("+(isFinite(dt)?dt:Ke(ft))+",0)"})}function Ai(de,ze,Ke){de.attr("transform",function(ft){var dt=ze(ft);return"translate(0,"+(isFinite(dt)?dt:Ke(ft))+")"})}a.svg.brush=function(){var de=q(Ar,"brushstart","brush","brushend"),ze=null,Ke=null,ft=[0,0],dt=[0,0],mt,Nt,St=!0,rr=!0,xr=eo[0];function Ar(rn){rn.each(function(){var fn=a.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",Pn).on("touchstart.brush",Pn),bn=fn.selectAll(".background").data([0]);bn.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),fn.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var Rn=fn.selectAll(".resize").data(xr,H);Rn.exit().remove(),Rn.enter().append("g").attr("class",function(Ca){return"resize "+Ca}).style("cursor",function(Ca){return Si[Ca]}).append("rect").attr("x",function(Ca){return/[ew]$/.test(Ca)?-3:null}).attr("y",function(Ca){return/^[ns]/.test(Ca)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),Rn.style("display",Ar.empty()?"none":null);var Hn=a.transition(fn),xn=a.transition(bn),xa;ze&&(xa=ou(ze),xn.attr("x",xa[0]).attr("width",xa[1]-xa[0]),Jr(Hn)),Ke&&(xa=ou(Ke),xn.attr("y",xa[0]).attr("height",xa[1]-xa[0]),Tn(Hn)),Qr(Hn)})}Ar.event=function(rn){rn.each(function(){var fn=de.of(this,arguments),bn={x:ft,y:dt,i:mt,j:Nt},Rn=this.__chart__||bn;this.__chart__=bn,Kr?a.select(this).transition().each("start.brush",function(){mt=Rn.i,Nt=Rn.j,ft=Rn.x,dt=Rn.y,fn({type:"brushstart"})}).tween("brush:brush",function(){var Hn=us(ft,bn.x),xn=us(dt,bn.y);return mt=Nt=null,function(xa){ft=bn.x=Hn(xa),dt=bn.y=xn(xa),fn({type:"brush",mode:"resize"})}}).each("end.brush",function(){mt=bn.i,Nt=bn.j,fn({type:"brush",mode:"resize"}),fn({type:"brushend"})}):(fn({type:"brushstart"}),fn({type:"brush",mode:"resize"}),fn({type:"brushend"}))})};function Qr(rn){rn.selectAll(".resize").attr("transform",function(fn){return"translate("+ft[+/e$/.test(fn)]+","+dt[+/^s/.test(fn)]+")"})}function Jr(rn){rn.select(".extent").attr("x",ft[0]),rn.selectAll(".extent,.n>rect,.s>rect").attr("width",ft[1]-ft[0])}function Tn(rn){rn.select(".extent").attr("y",dt[0]),rn.selectAll(".extent,.e>rect,.w>rect").attr("height",dt[1]-dt[0])}function Pn(){var rn=this,fn=a.select(a.event.target),bn=de.of(rn,arguments),Rn=a.select(rn),Hn=fn.datum(),xn=!/^(n|s)$/.test(Hn)&&ze,xa=!/^(e|w)$/.test(Hn)&&Ke,Ca=fn.classed("extent"),Ia=_e(rn),Ga,oi=a.mouse(rn),ii,Fi=a.select(r(rn)).on("keydown.brush",oo).on("keyup.brush",so);if(a.event.changedTouches?Fi.on("touchmove.brush",Ao).on("touchend.brush",Di):Fi.on("mousemove.brush",Ao).on("mouseup.brush",Di),Rn.interrupt().selectAll("*").interrupt(),Ca)oi[0]=ft[0]-oi[0],oi[1]=dt[0]-oi[1];else if(Hn){var di=+/w$/.test(Hn),Pi=+/^n/.test(Hn);ii=[ft[1-di]-oi[0],dt[1-Pi]-oi[1]],oi[0]=ft[di],oi[1]=dt[Pi]}else a.event.altKey&&(Ga=oi.slice());Rn.style("pointer-events","none").selectAll(".resize").style("display",null),a.select("body").style("cursor",fn.style("cursor")),bn({type:"brushstart"}),Ao();function oo(){a.event.keyCode==32&&(Ca||(Ga=null,oi[0]-=ft[1],oi[1]-=dt[1],Ca=2),ue())}function so(){a.event.keyCode==32&&Ca==2&&(oi[0]+=ft[1],oi[1]+=dt[1],Ca=0,ue())}function Ao(){var Ei=a.mouse(rn),ji=!1;ii&&(Ei[0]+=ii[0],Ei[1]+=ii[1]),Ca||(a.event.altKey?(Ga||(Ga=[(ft[0]+ft[1])/2,(dt[0]+dt[1])/2]),oi[0]=ft[+(Ei[0]>>1,g;b.dtype||(b.dtype="array"),typeof b.dtype=="string"?g=new(t(b.dtype))(l):b.dtype&&(g=b.dtype,Array.isArray(g)&&(g.length=l));for(var C=0;Ch||ue>n){for(var J=0;JXe||fe>Je||te=ce)&&Te!==Re){var He=M[De];Re===void 0&&(Re=He.length);for(var $e=Te;$e=pe&&ut<=X&<>=q&<<=K&&me.push(pt)}var ke=D[De],Ne=ke[Te*4+0],gt=ke[Te*4+1],qe=ke[Te*4+2],vt=ke[Te*4+3],Bt=Se(ke,Te+1),Yt=Ye*.5,it=De+1;we(Ee,We,Yt,it,Ne,gt||qe||vt||Bt),we(Ee,We+Yt,Yt,it,gt,qe||vt||Bt),we(Ee+Yt,We,Yt,it,qe,vt||Bt),we(Ee+Yt,We+Yt,Yt,it,vt,Bt)}}}function Se(Ee,We){for(var Ye=null,De=0;Ye===null;)if(Ye=Ee[We*4+De],De++,De>Ee.length)return null;return Ye}return me}function H(N,W,j,Q,ie){for(var ue=[],pe=0;pe0){t+=Math.abs(d(r[0]));for(var s=1;s2){for(b=0;b=0))throw new Error("precision must be a positive number");var k=Math.pow(10,o||0);return Math.round(A*k)/k}O.round=c;function u(A,o){o===void 0&&(o="kilometers");var k=O.factors[o];if(!k)throw new Error(o+" units is invalid");return A*k}O.radiansToLength=u;function b(A,o){o===void 0&&(o="kilometers");var k=O.factors[o];if(!k)throw new Error(o+" units is invalid");return A/k}O.lengthToRadians=b;function h(A,o){return v(b(A,o))}O.lengthToDegrees=h;function S(A){var o=A%360;return o<0&&(o+=360),o}O.bearingToAzimuth=S;function v(A){var o=A%(2*Math.PI);return o*180/Math.PI}O.radiansToDegrees=v;function l(A){var o=A%360;return o*Math.PI/180}O.degreesToRadians=l;function g(A,o,k){if(o===void 0&&(o="kilometers"),k===void 0&&(k="kilometers"),!(A>=0))throw new Error("length must be a positive number");return u(b(A,o),k)}O.convertLength=g;function C(A,o,k){if(o===void 0&&(o="meters"),k===void 0&&(k="kilometers"),!(A>=0))throw new Error("area must be a positive number");var w=O.areaFactors[o];if(!w)throw new Error("invalid original units");var U=O.areaFactors[k];if(!U)throw new Error("invalid final units");return A/w*U}O.convertArea=C;function M(A){return!isNaN(A)&&A!==null&&!Array.isArray(A)}O.isNumber=M;function D(A){return!!A&&A.constructor===Object}O.isObject=D;function T(A){if(!A)throw new Error("bbox is required");if(!Array.isArray(A))throw new Error("bbox must be an Array");if(A.length!==4&&A.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");A.forEach(function(o){if(!M(o))throw new Error("bbox must only contain numbers")})}O.validateBBox=T;function P(A){if(!A)throw new Error("id is required");if(["string","number"].indexOf(typeof A)===-1)throw new Error("id must be a number or a string")}O.validateId=P},60302:function(B,O,e){Object.defineProperty(O,"__esModule",{value:!0});var p=e(23132);function E(l,g,C){if(l!==null)for(var M,D,T,P,A,o,k,w=0,U=0,F,G=l.type,_=G==="FeatureCollection",H=G==="Feature",V=_?l.features.length:1,N=0;No||_>k||H>w){A=U,o=M,k=_,w=H,T=0;return}var V=p.lineString([A,U],C.properties);if(g(V,M,D,H,T)===!1)return!1;T++,A=U})===!1)return!1}}})}function u(l,g,C){var M=C,D=!1;return c(l,function(T,P,A,o,k){D===!1&&C===void 0?M=T:M=g(M,T,P,A,o,k),D=!0}),M}function b(l,g){if(!l)throw new Error("geojson is required");n(l,function(C,M,D){if(C.geometry!==null){var T=C.geometry.type,P=C.geometry.coordinates;switch(T){case"LineString":if(g(C,M,D,0,0)===!1)return!1;break;case"Polygon":for(var A=0;Ax[0]&&(L[0]=x[0]),L[1]>x[1]&&(L[1]=x[1]),L[2]=0))throw new Error("precision must be a positive number");var k=Math.pow(10,o||0);return Math.round(A*k)/k}O.round=c;function u(A,o){o===void 0&&(o="kilometers");var k=O.factors[o];if(!k)throw new Error(o+" units is invalid");return A*k}O.radiansToLength=u;function b(A,o){o===void 0&&(o="kilometers");var k=O.factors[o];if(!k)throw new Error(o+" units is invalid");return A/k}O.lengthToRadians=b;function h(A,o){return v(b(A,o))}O.lengthToDegrees=h;function S(A){var o=A%360;return o<0&&(o+=360),o}O.bearingToAzimuth=S;function v(A){var o=A%(2*Math.PI);return o*180/Math.PI}O.radiansToDegrees=v;function l(A){var o=A%360;return o*Math.PI/180}O.degreesToRadians=l;function g(A,o,k){if(o===void 0&&(o="kilometers"),k===void 0&&(k="kilometers"),!(A>=0))throw new Error("length must be a positive number");return u(b(A,o),k)}O.convertLength=g;function C(A,o,k){if(o===void 0&&(o="meters"),k===void 0&&(k="kilometers"),!(A>=0))throw new Error("area must be a positive number");var w=O.areaFactors[o];if(!w)throw new Error("invalid original units");var U=O.areaFactors[k];if(!U)throw new Error("invalid final units");return A/w*U}O.convertArea=C;function M(A){return!isNaN(A)&&A!==null&&!Array.isArray(A)}O.isNumber=M;function D(A){return!!A&&A.constructor===Object}O.isObject=D;function T(A){if(!A)throw new Error("bbox is required");if(!Array.isArray(A))throw new Error("bbox must be an Array");if(A.length!==4&&A.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");A.forEach(function(o){if(!M(o))throw new Error("bbox must only contain numbers")})}O.validateBBox=T;function P(A){if(!A)throw new Error("id is required");if(["string","number"].indexOf(typeof A)===-1)throw new Error("id must be a number or a string")}O.validateId=P},27138:function(B,O,e){Object.defineProperty(O,"__esModule",{value:!0});var p=e(94228);function E(l,g,C){if(l!==null)for(var M,D,T,P,A,o,k,w=0,U=0,F,G=l.type,_=G==="FeatureCollection",H=G==="Feature",V=_?l.features.length:1,N=0;No||_>k||H>w){A=U,o=M,k=_,w=H,T=0;return}var V=p.lineString([A,U],C.properties);if(g(V,M,D,H,T)===!1)return!1;T++,A=U})===!1)return!1}}})}function u(l,g,C){var M=C,D=!1;return c(l,function(T,P,A,o,k){D===!1&&C===void 0?M=T:M=g(M,T,P,A,o,k),D=!0}),M}function b(l,g){if(!l)throw new Error("geojson is required");n(l,function(C,M,D){if(C.geometry!==null){var T=C.geometry.type,P=C.geometry.coordinates;switch(T){case"LineString":if(g(C,M,D,0,0)===!1)return!1;break;case"Polygon":for(var A=0;A=0))throw new Error("precision must be a positive number");var V=Math.pow(10,H||0);return Math.round(_*V)/V}O.round=c;function u(_,H){H===void 0&&(H="kilometers");var V=O.factors[H];if(!V)throw new Error(H+" units is invalid");return _*V}O.radiansToLength=u;function b(_,H){H===void 0&&(H="kilometers");var V=O.factors[H];if(!V)throw new Error(H+" units is invalid");return _/V}O.lengthToRadians=b;function h(_,H){return v(b(_,H))}O.lengthToDegrees=h;function S(_){var H=_%360;return H<0&&(H+=360),H}O.bearingToAzimuth=S;function v(_){var H=_%(2*Math.PI);return H*180/Math.PI}O.radiansToDegrees=v;function l(_){var H=_%360;return H*Math.PI/180}O.degreesToRadians=l;function g(_,H,V){if(H===void 0&&(H="kilometers"),V===void 0&&(V="kilometers"),!(_>=0))throw new Error("length must be a positive number");return u(b(_,H),V)}O.convertLength=g;function C(_,H,V){if(H===void 0&&(H="meters"),V===void 0&&(V="kilometers"),!(_>=0))throw new Error("area must be a positive number");var N=O.areaFactors[H];if(!N)throw new Error("invalid original units");var W=O.areaFactors[V];if(!W)throw new Error("invalid final units");return _/N*W}O.convertArea=C;function M(_){return!isNaN(_)&&_!==null&&!Array.isArray(_)&&!/^\s*$/.test(_)}O.isNumber=M;function D(_){return!!_&&_.constructor===Object}O.isObject=D;function T(_){if(!_)throw new Error("bbox is required");if(!Array.isArray(_))throw new Error("bbox must be an Array");if(_.length!==4&&_.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");_.forEach(function(H){if(!M(H))throw new Error("bbox must only contain numbers")})}O.validateBBox=T;function P(_){if(!_)throw new Error("id is required");if(["string","number"].indexOf(typeof _)===-1)throw new Error("id must be a number or a string")}O.validateId=P;function A(){throw new Error("method has been renamed to `radiansToDegrees`")}O.radians2degrees=A;function o(){throw new Error("method has been renamed to `degreesToRadians`")}O.degrees2radians=o;function k(){throw new Error("method has been renamed to `lengthToDegrees`")}O.distanceToDegrees=k;function w(){throw new Error("method has been renamed to `lengthToRadians`")}O.distanceToRadians=w;function U(){throw new Error("method has been renamed to `radiansToLength`")}O.radiansToDistance=U;function F(){throw new Error("method has been renamed to `bearingToAzimuth`")}O.bearingToAngle=F;function G(){throw new Error("method has been renamed to `convertLength`")}O.convertDistance=G},88553:function(B,O,e){Object.defineProperty(O,"__esModule",{value:!0});var p=e(64182);function E(l,g,C){if(l!==null)for(var M,D,T,P,A,o,k,w=0,U=0,F,G=l.type,_=G==="FeatureCollection",H=G==="Feature",V=_?l.features.length:1,N=0;No||_>k||H>w){A=U,o=M,k=_,w=H,T=0;return}var V=p.lineString([A,U],C.properties);if(g(V,M,D,H,T)===!1)return!1;T++,A=U})===!1)return!1}}})}function u(l,g,C){var M=C,D=!1;return c(l,function(T,P,A,o,k){D===!1&&C===void 0?M=T:M=g(M,T,P,A,o,k),D=!0}),M}function b(l,g){if(!l)throw new Error("geojson is required");n(l,function(C,M,D){if(C.geometry!==null){var T=C.geometry.type,P=C.geometry.coordinates;switch(T){case"LineString":if(g(C,M,D,0,0)===!1)return!1;break;case"Polygon":for(var A=0;AL&&(L=e[d]),e[d]1?ue-1:0),q=1;q1?ue-1:0),q=1;q1?ue-1:0),q=1;q1?ue-1:0),q=1;q"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function f(_,H,V){return n()?f=Reflect.construct:f=function(W,j,Q){var ie=[null];ie.push.apply(ie,j);var ue=Function.bind.apply(W,ie),pe=new ue;return Q&&u(pe,Q.prototype),pe},f.apply(null,arguments)}function c(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function u(_,H){return u=Object.setPrototypeOf||function(N,W){return N.__proto__=W,N},u(_,H)}function b(_){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(V){return V.__proto__||Object.getPrototypeOf(V)},b(_)}function h(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h=function(V){return typeof V}:h=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},h(_)}var S=e(43827),v=S.inspect,l=e(79616),g=l.codes.ERR_INVALID_ARG_TYPE;function C(_,H,V){return(V===void 0||V>_.length)&&(V=_.length),_.substring(V-H.length,V)===H}function M(_,H){if(H=Math.floor(H),_.length==0||H==0)return"";var V=_.length*H;for(H=Math.floor(Math.log(H)/Math.log(2));H;)_+=_,H--;return _+=_.substring(0,V-_.length),_}var D="",T="",P="",A="",o={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},k=10;function w(_){var H=Object.keys(_),V=Object.create(Object.getPrototypeOf(_));return H.forEach(function(N){V[N]=_[N]}),Object.defineProperty(V,"message",{value:_.message}),V}function U(_){return v(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function F(_,H,V){var N="",W="",j=0,Q="",ie=!1,ue=U(_),pe=ue.split(` -`),q=U(H).split(` -`),X=0,K="";if(V==="strictEqual"&&h(_)==="object"&&h(H)==="object"&&_!==null&&H!==null&&(V="strictEqualObject"),pe.length===1&&q.length===1&&pe[0]!==q[0]){var J=pe[0].length+q[0].length;if(J<=k){if((h(_)!=="object"||_===null)&&(h(H)!=="object"||H===null)&&(_!==0||H!==0))return"".concat(o[V],` - -`)+"".concat(pe[0]," !== ").concat(q[0],` -`)}else if(V!=="strictEqualObject"){var re=p.stderr&&p.stderr.isTTY?p.stderr.columns:80;if(J2&&(K=` - `.concat(M(" ",X),"^"),X=0)}}}for(var fe=pe[pe.length-1],te=q[q.length-1];fe===te&&(X++<2?Q=` - `.concat(fe).concat(Q):N=fe,pe.pop(),q.pop(),!(pe.length===0||q.length===0));)fe=pe[pe.length-1],te=q[q.length-1];var ee=Math.max(pe.length,q.length);if(ee===0){var ce=ue.split(` -`);if(ce.length>30)for(ce[26]="".concat(D,"...").concat(A);ce.length>27;)ce.pop();return"".concat(o.notIdentical,` - -`).concat(ce.join(` -`),` -`)}X>3&&(Q=` -`.concat(D,"...").concat(A).concat(Q),ie=!0),N!==""&&(Q=` - `.concat(N).concat(Q),N="");var le=0,me=o[V]+` -`.concat(T,"+ actual").concat(A," ").concat(P,"- expected").concat(A),we=" ".concat(D,"...").concat(A," Lines skipped");for(X=0;X1&&X>2&&(Se>4?(W+=` -`.concat(D,"...").concat(A),ie=!0):Se>3&&(W+=` - `.concat(q[X-2]),le++),W+=` - `.concat(q[X-1]),le++),j=X,N+=` -`.concat(P,"-").concat(A," ").concat(q[X]),le++;else if(q.length1&&X>2&&(Se>4?(W+=` -`.concat(D,"...").concat(A),ie=!0):Se>3&&(W+=` - `.concat(pe[X-2]),le++),W+=` - `.concat(pe[X-1]),le++),j=X,W+=` -`.concat(T,"+").concat(A," ").concat(pe[X]),le++;else{var Ee=q[X],We=pe[X],Ye=We!==Ee&&(!C(We,",")||We.slice(0,-1)!==Ee);Ye&&C(Ee,",")&&Ee.slice(0,-1)===We&&(Ye=!1,We+=","),Ye?(Se>1&&X>2&&(Se>4?(W+=` -`.concat(D,"...").concat(A),ie=!0):Se>3&&(W+=` - `.concat(pe[X-2]),le++),W+=` - `.concat(pe[X-1]),le++),j=X,W+=` -`.concat(T,"+").concat(A," ").concat(We),N+=` -`.concat(P,"-").concat(A," ").concat(Ee),le+=2):(W+=N,N="",(Se===1||X===0)&&(W+=` - `.concat(We),le++))}if(le>20&&X30)for(X[26]="".concat(D,"...").concat(A);X.length>27;)X.pop();X.length===1?N=m(this,b(H).call(this,"".concat(q," ").concat(X[0]))):N=m(this,b(H).call(this,"".concat(q,` - -`).concat(X.join(` -`),` -`)))}else{var K=U(ie),J="",re=o[j];j==="notDeepEqual"||j==="notEqual"?(K="".concat(o[j],` - -`).concat(K),K.length>1024&&(K="".concat(K.slice(0,1021),"..."))):(J="".concat(U(ue)),K.length>512&&(K="".concat(K.slice(0,509),"...")),J.length>512&&(J="".concat(J.slice(0,509),"...")),j==="deepEqual"||j==="equal"?K="".concat(re,` - -`).concat(K,` - -should equal - -`):J=" ".concat(j," ").concat(J)),N=m(this,b(H).call(this,"".concat(K).concat(J)))}return Error.stackTraceLimit=pe,N.generatedMessage=!W,Object.defineProperty(r(N),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),N.code="ERR_ASSERTION",N.actual=ie,N.expected=ue,N.operator=j,Error.captureStackTrace&&Error.captureStackTrace(r(N),Q),N.stack,N.name="AssertionError",m(N)}return d(H,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:v.custom,value:function(N,W){return v(this,E({},W,{customInspect:!1,depth:0}))}}]),H}(s(Error));B.exports=G},79616:function(B,O,e){function p(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(v){return typeof v}:p=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},p(h)}function E(h,S){if(!(h instanceof S))throw new TypeError("Cannot call a class as a function")}function a(h,S){return S&&(p(S)==="object"||typeof S=="function")?S:L(h)}function L(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function x(h){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},x(h)}function d(h,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(S&&S.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),S&&m(h,S)}function m(h,S){return m=Object.setPrototypeOf||function(l,g){return l.__proto__=g,l},m(h,S)}var r={},t,s;function n(h,S,v){v||(v=Error);function l(C,M,D){return typeof S=="string"?S:S(C,M,D)}var g=function(C){d(M,C);function M(D,T,P){var A;return E(this,M),A=a(this,x(M).call(this,l(D,T,P))),A.code=h,A}return M}(v);r[h]=g}function f(h,S){if(Array.isArray(h)){var v=h.length;return h=h.map(function(l){return String(l)}),v>2?"one of ".concat(S," ").concat(h.slice(0,v-1).join(", "),", or ")+h[v-1]:v===2?"one of ".concat(S," ").concat(h[0]," or ").concat(h[1]):"of ".concat(S," ").concat(h[0])}else return"of ".concat(S," ").concat(String(h))}function c(h,S,v){return h.substr(!v||v<0?0:+v,S.length)===S}function u(h,S,v){return(v===void 0||v>h.length)&&(v=h.length),h.substring(v-S.length,v)===S}function b(h,S,v){return typeof v!="number"&&(v=0),v+S.length>h.length?!1:h.indexOf(S,v)!==-1}n("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),n("ERR_INVALID_ARG_TYPE",function(h,S,v){t===void 0&&(t=e(32791)),t(typeof h=="string","'name' must be a string");var l;typeof S=="string"&&c(S,"not ")?(l="must not be",S=S.replace(/^not /,"")):l="must be";var g;if(u(h," argument"))g="The ".concat(h," ").concat(l," ").concat(f(S,"type"));else{var C=b(h,".")?"property":"argument";g='The "'.concat(h,'" ').concat(C," ").concat(l," ").concat(f(S,"type"))}return g+=". Received type ".concat(p(v)),g},TypeError),n("ERR_INVALID_ARG_VALUE",function(h,S){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";s===void 0&&(s=e(43827));var l=s.inspect(S);return l.length>128&&(l="".concat(l.slice(0,128),"...")),"The argument '".concat(h,"' ").concat(v,". Received ").concat(l)},TypeError),n("ERR_INVALID_RETURN_VALUE",function(h,S,v){var l;return v&&v.constructor&&v.constructor.name?l="instance of ".concat(v.constructor.name):l="type ".concat(p(v)),"Expected ".concat(h,' to be returned from the "').concat(S,'"')+" function but got ".concat(l,".")},TypeError),n("ERR_MISSING_ARGS",function(){for(var h=arguments.length,S=new Array(h),v=0;v0,"At least one arg needs to be specified");var l="The ",g=S.length;switch(S=S.map(function(C){return'"'.concat(C,'"')}),g){case 1:l+="".concat(S[0]," argument");break;case 2:l+="".concat(S[0]," and ").concat(S[1]," arguments");break;default:l+=S.slice(0,g-1).join(", "),l+=", and ".concat(S[g-1]," arguments");break}return"".concat(l," must be specified")},TypeError),B.exports.codes=r},74061:function(B,O,e){function p(De,Te){return L(De)||a(De,Te)||E()}function E(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function a(De,Te){var Re=[],Xe=!0,Je=!1,He=void 0;try{for(var $e=De[Symbol.iterator](),pt;!(Xe=(pt=$e.next()).done)&&(Re.push(pt.value),!(Te&&Re.length===Te));Xe=!0);}catch(ut){Je=!0,He=ut}finally{try{!Xe&&$e.return!=null&&$e.return()}finally{if(Je)throw He}}return Re}function L(De){if(Array.isArray(De))return De}function x(De){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(Re){return typeof Re}:x=function(Re){return Re&&typeof Symbol=="function"&&Re.constructor===Symbol&&Re!==Symbol.prototype?"symbol":typeof Re},x(De)}var d=/a/g.flags!==void 0,m=function(Te){var Re=[];return Te.forEach(function(Xe){return Re.push(Xe)}),Re},r=function(Te){var Re=[];return Te.forEach(function(Xe,Je){return Re.push([Je,Xe])}),Re},t=Object.is?Object.is:e(64003),s=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},n=Number.isNaN?Number.isNaN:e(15567);function f(De){return De.call.bind(De)}var c=f(Object.prototype.hasOwnProperty),u=f(Object.prototype.propertyIsEnumerable),b=f(Object.prototype.toString),h=e(43827).types,S=h.isAnyArrayBuffer,v=h.isArrayBufferView,l=h.isDate,g=h.isMap,C=h.isRegExp,M=h.isSet,D=h.isNativeError,T=h.isBoxedPrimitive,P=h.isNumberObject,A=h.isStringObject,o=h.isBooleanObject,k=h.isBigIntObject,w=h.isSymbolObject,U=h.isFloat32Array,F=h.isFloat64Array;function G(De){if(De.length===0||De.length>10)return!0;for(var Te=0;Te57)return!0}return De.length===10&&De>=Math.pow(2,32)}function _(De){return Object.keys(De).filter(G).concat(s(De).filter(Object.prototype.propertyIsEnumerable.bind(De)))}/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */function H(De,Te){if(De===Te)return 0;for(var Re=De.length,Xe=Te.length,Je=0,He=Math.min(Re,Xe);Je0)throw new Error("Invalid string. Length must be a multiple of 4");var b=c.indexOf("=");b===-1&&(b=u);var h=b===u?0:4-b%4;return[b,h]}function m(c){var u=d(c),b=u[0],h=u[1];return(b+h)*3/4-h}function r(c,u,b){return(u+b)*3/4-b}function t(c){var u,b=d(c),h=b[0],S=b[1],v=new E(r(c,h,S)),l=0,g=S>0?h-4:h,C;for(C=0;C>16&255,v[l++]=u>>8&255,v[l++]=u&255;return S===2&&(u=p[c.charCodeAt(C)]<<2|p[c.charCodeAt(C+1)]>>4,v[l++]=u&255),S===1&&(u=p[c.charCodeAt(C)]<<10|p[c.charCodeAt(C+1)]<<4|p[c.charCodeAt(C+2)]>>2,v[l++]=u>>8&255,v[l++]=u&255),v}function s(c){return e[c>>18&63]+e[c>>12&63]+e[c>>6&63]+e[c&63]}function n(c,u,b){for(var h,S=[],v=u;vg?g:l+v));return h===1?(u=c[b-1],S.push(e[u>>2]+e[u<<4&63]+"==")):h===2&&(u=(c[b-2]<<8)+c[b-1],S.push(e[u>>10]+e[u>>4&63]+e[u<<2&63]+"=")),S.join("")}},91358:function(B){function O(x,d,m,r,t){for(var s=t+1;r<=t;){var n=r+t>>>1,f=x[n],c=m!==void 0?m(f,d):f-d;c>=0?(s=n,t=n-1):r=n+1}return s}function e(x,d,m,r,t){for(var s=t+1;r<=t;){var n=r+t>>>1,f=x[n],c=m!==void 0?m(f,d):f-d;c>0?(s=n,t=n-1):r=n+1}return s}function p(x,d,m,r,t){for(var s=r-1;r<=t;){var n=r+t>>>1,f=x[n],c=m!==void 0?m(f,d):f-d;c<0?(s=n,r=n+1):t=n-1}return s}function E(x,d,m,r,t){for(var s=r-1;r<=t;){var n=r+t>>>1,f=x[n],c=m!==void 0?m(f,d):f-d;c<=0?(s=n,r=n+1):t=n-1}return s}function a(x,d,m,r,t){for(;r<=t;){var s=r+t>>>1,n=x[s],f=m!==void 0?m(n,d):n-d;if(f===0)return s;f<=0?r=s+1:t=s-1}return-1}function L(x,d,m,r,t,s){return typeof m=="function"?s(x,d,m,r===void 0?0:r|0,t===void 0?x.length-1:t|0):s(x,d,void 0,m===void 0?0:m|0,r===void 0?x.length-1:r|0)}B.exports={ge:function(x,d,m,r,t){return L(x,d,m,r,t,O)},gt:function(x,d,m,r,t){return L(x,d,m,r,t,e)},lt:function(x,d,m,r,t){return L(x,d,m,r,t,p)},le:function(x,d,m,r,t){return L(x,d,m,r,t,E)},eq:function(x,d,m,r,t){return L(x,d,m,r,t,a)}}},13547:function(B,O){"use restrict";var e=32;O.INT_BITS=e,O.INT_MAX=2147483647,O.INT_MIN=-1<0)-(a<0)},O.abs=function(a){var L=a>>e-1;return(a^L)-L},O.min=function(a,L){return L^(a^L)&-(a65535)<<4,a>>>=L,x=(a>255)<<3,a>>>=x,L|=x,x=(a>15)<<2,a>>>=x,L|=x,x=(a>3)<<1,a>>>=x,L|=x,L|a>>1},O.log10=function(a){return a>=1e9?9:a>=1e8?8:a>=1e7?7:a>=1e6?6:a>=1e5?5:a>=1e4?4:a>=1e3?3:a>=100?2:a>=10?1:0},O.popCount=function(a){return a=a-(a>>>1&1431655765),a=(a&858993459)+(a>>>2&858993459),(a+(a>>>4)&252645135)*16843009>>>24};function p(a){var L=32;return a&=-a,a&&L--,a&65535&&(L-=16),a&16711935&&(L-=8),a&252645135&&(L-=4),a&858993459&&(L-=2),a&1431655765&&(L-=1),L}O.countTrailingZeros=p,O.nextPow2=function(a){return a+=a===0,--a,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a+1},O.prevPow2=function(a){return a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a-(a>>>1)},O.parity=function(a){return a^=a>>>16,a^=a>>>8,a^=a>>>4,a&=15,27030>>>a&1};var E=new Array(256);(function(a){for(var L=0;L<256;++L){var x=L,d=L,m=7;for(x>>>=1;x;x>>>=1)d<<=1,d|=x&1,--m;a[L]=d<>>8&255]<<16|E[a>>>16&255]<<8|E[a>>>24&255]},O.interleave2=function(a,L){return a&=65535,a=(a|a<<8)&16711935,a=(a|a<<4)&252645135,a=(a|a<<2)&858993459,a=(a|a<<1)&1431655765,L&=65535,L=(L|L<<8)&16711935,L=(L|L<<4)&252645135,L=(L|L<<2)&858993459,L=(L|L<<1)&1431655765,a|L<<1},O.deinterleave2=function(a,L){return a=a>>>L&1431655765,a=(a|a>>>1)&858993459,a=(a|a>>>2)&252645135,a=(a|a>>>4)&16711935,a=(a|a>>>16)&65535,a<<16>>16},O.interleave3=function(a,L,x){return a&=1023,a=(a|a<<16)&4278190335,a=(a|a<<8)&251719695,a=(a|a<<4)&3272356035,a=(a|a<<2)&1227133513,L&=1023,L=(L|L<<16)&4278190335,L=(L|L<<8)&251719695,L=(L|L<<4)&3272356035,L=(L|L<<2)&1227133513,a|=L<<1,x&=1023,x=(x|x<<16)&4278190335,x=(x|x<<8)&251719695,x=(x|x<<4)&3272356035,x=(x|x<<2)&1227133513,a|x<<2},O.deinterleave3=function(a,L){return a=a>>>L&1227133513,a=(a|a>>>2)&3272356035,a=(a|a>>>4)&251719695,a=(a|a>>>8)&4278190335,a=(a|a>>>16)&1023,a<<22>>22},O.nextCombination=function(a){var L=a|a-1;return L+1|(~L&-~L)-1>>>p(a)+1}},44781:function(B,O,e){var p=e(53435);B.exports=a;var E=1e20;function a(d,m){m||(m={});var r=m.cutoff==null?.25:m.cutoff,t=m.radius==null?8:m.radius,s=m.channel||0,n,f,c,u,b,h,S,v,l,g,C;if(ArrayBuffer.isView(d)||Array.isArray(d)){if(!m.width||!m.height)throw Error("For raw data width and height should be provided by options");n=m.width,f=m.height,u=d,m.stride?h=m.stride:h=Math.floor(d.length/n/f)}else window.HTMLCanvasElement&&d instanceof window.HTMLCanvasElement?(v=d,S=v.getContext("2d"),n=v.width,f=v.height,l=S.getImageData(0,0,n,f),u=l.data,h=4):window.CanvasRenderingContext2D&&d instanceof window.CanvasRenderingContext2D?(v=d.canvas,S=d,n=v.width,f=v.height,l=S.getImageData(0,0,n,f),u=l.data,h=4):window.ImageData&&d instanceof window.ImageData&&(l=d,n=d.width,f=d.height,u=l.data,h=4);if(c=Math.max(n,f),window.Uint8ClampedArray&&u instanceof window.Uint8ClampedArray||window.Uint8Array&&u instanceof window.Uint8Array)for(b=u,u=Array(n*f),g=0,C=b.length;g-1?E(m):m}},68222:function(B,O,e){var p=e(77575),E=e(68318),a=E("%Function.prototype.apply%"),L=E("%Function.prototype.call%"),x=E("%Reflect.apply%",!0)||p.call(L,a),d=E("%Object.getOwnPropertyDescriptor%",!0),m=E("%Object.defineProperty%",!0),r=E("%Math.max%");if(m)try{m({},"a",{value:1})}catch{m=null}B.exports=function(n){var f=x(p,L,arguments);if(d&&m){var c=d(f,"length");c.configurable&&m(f,"length",{value:1+r(0,n.length-(arguments.length-1))})}return f};var t=function(){return x(p,a,arguments)};m?m(B.exports,"apply",{value:t}):B.exports.apply=t},53435:function(B){B.exports=O;function O(e,p,E){return pE?E:e:ep?p:e}},6475:function(B,O,e){var p=e(53435);B.exports=E,B.exports.to=E,B.exports.from=a;function E(L,x){x==null&&(x=!0);var d=L[0],m=L[1],r=L[2],t=L[3];t==null&&(t=x?1:255),x&&(d*=255,m*=255,r*=255,t*=255),d=p(d,0,255)&255,m=p(m,0,255)&255,r=p(r,0,255)&255,t=p(t,0,255)&255;var s=d*16777216+(m<<16)+(r<<8)+t;return s}function a(L,x){L=+L;var d=L>>>24,m=(L&16711680)>>>16,r=(L&65280)>>>8,t=L&255;return x===!1?[d,m,r,t]:[d/255,m/255,r/255,t/255]}},76857:function(B){B.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(B,O,e){var p=e(36652),E=e(53435),a=e(90660);B.exports=function(d,m){(m==="float"||!m)&&(m="array"),m==="uint"&&(m="uint8"),m==="uint_clamped"&&(m="uint8_clamped");var r=a(m),t=new r(4),s=m!=="uint8"&&m!=="uint8_clamped";return(!d.length||typeof d=="string")&&(d=p(d),d[0]/=255,d[1]/=255,d[2]/=255),L(d)?(t[0]=d[0],t[1]=d[1],t[2]=d[2],t[3]=d[3]!=null?d[3]:255,s&&(t[0]/=255,t[1]/=255,t[2]/=255,t[3]/=255),t):(s?(t[0]=d[0],t[1]=d[1],t[2]=d[2],t[3]=d[3]!=null?d[3]:1):(t[0]=E(Math.floor(d[0]*255),0,255),t[1]=E(Math.floor(d[1]*255),0,255),t[2]=E(Math.floor(d[2]*255),0,255),t[3]=d[3]==null?255:E(Math.floor(d[3]*255),0,255)),t)};function L(x){return!!(x instanceof Uint8Array||x instanceof Uint8ClampedArray||Array.isArray(x)&&(x[0]>1||x[0]===0)&&(x[1]>1||x[1]===0)&&(x[2]>1||x[2]===0)&&(!x[3]||x[3]>1))}},90736:function(B,O,e){var p=e(76857),E=e(10973),a=e(46775);B.exports=x;var L={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function x(d){var m,r=[],t=1,s;if(typeof d=="string")if(p[d])r=p[d].slice(),s="rgb";else if(d==="transparent")t=0,s="rgb",r=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(d)){var n=d.slice(1),f=n.length,c=f<=4;t=1,c?(r=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],f===4&&(t=parseInt(n[3]+n[3],16)/255)):(r=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],f===8&&(t=parseInt(n[6]+n[7],16)/255)),r[0]||(r[0]=0),r[1]||(r[1]=0),r[2]||(r[2]=0),s="rgb"}else if(m=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(d)){var u=m[1],b=u==="rgb",n=u.replace(/a$/,"");s=n;var f=n==="cmyk"?4:n==="gray"?1:3;r=m[2].trim().split(/\s*,\s*/).map(function(l,g){if(/%$/.test(l))return g===f?parseFloat(l)/100:n==="rgb"?parseFloat(l)*255/100:parseFloat(l);if(n[g]==="h"){if(/deg$/.test(l))return parseFloat(l);if(L[l]!==void 0)return L[l]}return parseFloat(l)}),u===n&&r.push(1),t=b||r[f]===void 0?1:r[f],r=r.slice(0,f)}else d.length>10&&/[0-9](?:\s|\/)/.test(d)&&(r=d.match(/([0-9]+)/g).map(function(S){return parseFloat(S)}),s=d.match(/([a-z])/ig).join("").toLowerCase());else if(!isNaN(d))s="rgb",r=[d>>>16,(d&65280)>>>8,d&255];else if(E(d)){var h=a(d.r,d.red,d.R,null);h!==null?(s="rgb",r=[h,a(d.g,d.green,d.G),a(d.b,d.blue,d.B)]):(s="hsl",r=[a(d.h,d.hue,d.H),a(d.s,d.saturation,d.S),a(d.l,d.lightness,d.L,d.b,d.brightness)]),t=a(d.a,d.alpha,d.opacity,1),d.opacity!=null&&(t/=100)}else(Array.isArray(d)||e.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(d))&&(r=[d[0],d[1],d[2]],s="rgb",t=d.length===4?d[3]:1);return{space:s,values:r,alpha:t}}},36652:function(B,O,e){var p=e(90736),E=e(80009),a=e(53435);B.exports=function(x){var d,m=p(x);return m.space?(d=Array(3),d[0]=a(m.values[0],0,255),d[1]=a(m.values[1],0,255),d[2]=a(m.values[2],0,255),m.space[0]==="h"&&(d=E.rgb(d)),d.push(a(m.alpha,0,1)),d):[]}},80009:function(B,O,e){var p=e(6866);B.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(E){var a=E[0]/360,L=E[1]/100,x=E[2]/100,d,m,r,t,s;if(L===0)return s=x*255,[s,s,s];x<.5?m=x*(1+L):m=x+L-x*L,d=2*x-m,t=[0,0,0];for(var n=0;n<3;n++)r=a+.3333333333333333*-(n-1),r<0?r++:r>1&&r--,6*r<1?s=d+(m-d)*6*r:2*r<1?s=m:3*r<2?s=d+(m-d)*(.6666666666666666-r)*6:s=d,t[n]=s*255;return t}},p.hsl=function(E){var a=E[0]/255,L=E[1]/255,x=E[2]/255,d=Math.min(a,L,x),m=Math.max(a,L,x),r=m-d,t,s,n;return m===d?t=0:a===m?t=(L-x)/r:L===m?t=2+(x-a)/r:x===m&&(t=4+(a-L)/r),t=Math.min(t*60,360),t<0&&(t+=360),n=(d+m)/2,m===d?s=0:n<=.5?s=r/(m+d):s=r/(2-m-d),[t,s*100,n*100]}},6866:function(B){B.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(B){B.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(B,O,e){B.exports={parse:e(41004),stringify:e(53313)}},63625:function(B,O,e){var p=e(40402);B.exports={isSize:function(a){return/^[\d\.]/.test(a)||a.indexOf("/")!==-1||p.indexOf(a)!==-1}}},41004:function(B,O,e){var p=e(90448),E=e(38732),a=e(41901),L=e(15659),x=e(96209),d=e(83794),m=e(99011),r=e(63625).isSize;B.exports=s;var t=s.cache={};function s(f){if(typeof f!="string")throw new Error("Font argument must be a string.");if(t[f])return t[f];if(f==="")throw new Error("Cannot parse an empty string.");if(a.indexOf(f)!==-1)return t[f]={system:f};for(var c={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},u=m(f,/\s+/),b;b=u.shift();){if(E.indexOf(b)!==-1)return["style","variant","weight","stretch"].forEach(function(S){c[S]=b}),t[f]=c;if(x.indexOf(b)!==-1){c.style=b;continue}if(b==="normal"||b==="small-caps"){c.variant=b;continue}if(d.indexOf(b)!==-1){c.stretch=b;continue}if(L.indexOf(b)!==-1){c.weight=b;continue}if(r(b)){var h=m(b,"/");if(c.size=h[0],h[1]!=null?c.lineHeight=n(h[1]):u[0]==="/"&&(u.shift(),c.lineHeight=n(u.shift())),!u.length)throw new Error("Missing required font-family.");return c.family=m(u.join(" "),/\s*,\s*/).map(p),t[f]=c}throw new Error("Unknown or unsupported font token: "+b)}throw new Error("Missing required font-size.")}function n(f){var c=parseFloat(f);return c.toString()===f?c:f}},53313:function(B,O,e){var p=e(71299),E=e(63625).isSize,a=f(e(38732)),L=f(e(41901)),x=f(e(15659)),d=f(e(96209)),m=f(e(83794)),r={normal:1,"small-caps":1},t={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},s={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"};B.exports=function(u){if(u=p(u,{style:"style fontstyle fontStyle font-style slope distinction",variant:"variant font-variant fontVariant fontvariant var capitalization",weight:"weight w font-weight fontWeight fontweight",stretch:"stretch font-stretch fontStretch fontstretch width",size:"size s font-size fontSize fontsize height em emSize",lineHeight:"lh line-height lineHeight lineheight leading",family:"font family fontFamily font-family fontfamily type typeface face",system:"system reserved default global"}),u.system)return u.system&&n(u.system,L),u.system;if(n(u.style,d),n(u.variant,r),n(u.weight,x),n(u.stretch,m),u.size==null&&(u.size=s.size),typeof u.size=="number"&&(u.size+="px"),!E)throw Error("Bad size value `"+u.size+"`");u.family||(u.family=s.family),Array.isArray(u.family)&&(u.family.length||(u.family=[s.family]),u.family=u.family.map(function(h){return t[h]?h:'"'+h+'"'}).join(", "));var b=[];return b.push(u.style),u.variant!==u.style&&b.push(u.variant),u.weight!==u.variant&&u.weight!==u.style&&b.push(u.weight),u.stretch!==u.weight&&u.stretch!==u.variant&&u.stretch!==u.style&&b.push(u.stretch),b.push(u.size+(u.lineHeight==null||u.lineHeight==="normal"||u.lineHeight+""=="1"?"":"/"+u.lineHeight)),b.push(u.family),b.filter(Boolean).join(" ")};function n(c,u){if(c&&!u[c]&&!a[c])throw Error("Unknown keyword `"+c+"`");return c}function f(c){for(var u={},b=0;bf?1:n>=f?0:NaN}function E(n){return n.length===1&&(n=a(n)),{left:function(f,c,u,b){for(u==null&&(u=0),b==null&&(b=f.length);u>>1;n(f[h],c)<0?u=h+1:b=h}return u},right:function(f,c,u,b){for(u==null&&(u=0),b==null&&(b=f.length);u>>1;n(f[h],c)>0?b=h:u=h+1}return u}}}function a(n){return function(f,c){return p(n(f),c)}}E(p);function L(n,f){var c=n.length,u=-1,b,h;if(f==null){for(;++u=b)for(h=b;++uh&&(h=b)}else for(;++u=b)for(h=b;++uh&&(h=b);return h}function x(n){return n===null?NaN:+n}function d(n,f){var c=n.length,u=c,b=-1,h,S=0;if(f==null)for(;++b=0;)for(S=n[f],c=S.length;--c>=0;)h[--b]=S[c];return h}function r(n,f){var c=n.length,u=-1,b,h;if(f==null){for(;++u=b)for(h=b;++ub&&(h=b)}else for(;++u=b)for(h=b;++ub&&(h=b);return h}function t(n,f,c){n=+n,f=+f,c=(b=arguments.length)<2?(f=n,n=0,1):b<3?1:+c;for(var u=-1,b=Math.max(0,Math.ceil((f-n)/c))|0,h=new Array(b);++u=f.length)return u!=null&&l.sort(u),b!=null?b(l):l;for(var D=-1,T=l.length,P=f[g++],A,o,k=L(),w,U=C();++Df.length)return l;var C,M=c[g-1];return b!=null&&g>=f.length?C=l.entries():(C=[],l.each(function(D,T){C.push({key:T,values:v(D,g)})})),M!=null?C.sort(function(D,T){return M(D.key,T.key)}):C}return h={object:function(l){return S(l,0,d,m)},map:function(l){return S(l,0,r,t)},entries:function(l){return v(S(l,0,r,t),0)},key:function(l){return f.push(l),h},sortKeys:function(l){return c[f.length-1]=l,h},sortValues:function(l){return u=l,h},rollup:function(l){return b=l,h}}}function d(){return{}}function m(f,c,u){f[c]=u}function r(){return L()}function t(f,c,u){f.set(c,u)}function s(){}var n=L.prototype;s.prototype={constructor:s,has:n.has,add:function(f){return f+="",this[p+f]=f,this},remove:n.remove,clear:n.clear,values:n.keys,size:n.size,empty:n.empty,each:n.each}},49887:function(B,O,e){e.r(O),e.d(O,{forceCenter:function(){return p},forceCollide:function(){return k},forceLink:function(){return G},forceManyBody:function(){return $e},forceRadial:function(){return pt},forceSimulation:function(){return He},forceX:function(){return ut},forceY:function(){return lt}});function p(ke,Ne){var gt;ke==null&&(ke=0),Ne==null&&(Ne=0);function qe(){var vt,Bt=gt.length,Yt,it=0,Ue=0;for(vt=0;vt=(Fe=(it+_e)/2))?it=Fe:_e=Fe,(je=gt>=(Ce=(Ue+Ze)/2))?Ue=Ce:Ze=Ce,vt=Bt,!(Bt=Bt[ot=je<<1|Ae]))return vt[ot]=Yt,ke;if(ve=+ke._x.call(null,Bt.data),Ie=+ke._y.call(null,Bt.data),Ne===ve&>===Ie)return Yt.next=Bt,vt?vt[ot]=Yt:ke._root=Yt,ke;do vt=vt?vt[ot]=new Array(4):ke._root=new Array(4),(Ae=Ne>=(Fe=(it+_e)/2))?it=Fe:_e=Fe,(je=gt>=(Ce=(Ue+Ze)/2))?Ue=Ce:Ze=Ce;while((ot=je<<1|Ae)===(ct=(Ie>=Ce)<<1|ve>=Fe));return vt[ct]=Bt,vt[ot]=Yt,ke}function d(ke){var Ne,gt,qe=ke.length,vt,Bt,Yt=new Array(qe),it=new Array(qe),Ue=1/0,_e=1/0,Ze=-1/0,Fe=-1/0;for(gt=0;gtZe&&(Ze=vt),Bt<_e&&(_e=Bt),Bt>Fe&&(Fe=Bt));if(Ue>Ze||_e>Fe)return this;for(this.cover(Ue,_e).cover(Ze,Fe),gt=0;gtke||ke>=vt||qe>Ne||Ne>=Bt;)switch(_e=(NeZe||(it=Ie.y0)>Fe||(Ue=Ie.x1)=ot)<<1|ke>=je)&&(Ie=Ce[Ce.length-1],Ce[Ce.length-1]=Ce[Ce.length-1-Ae],Ce[Ce.length-1-Ae]=Ie)}else{var ct=ke-+this._x.call(null,ve.data),Et=Ne-+this._y.call(null,ve.data),kt=ct*ct+Et*Et;if(kt=(Ce=(Yt+Ue)/2))?Yt=Ce:Ue=Ce,(Ae=Fe>=(ve=(it+_e)/2))?it=ve:_e=ve,Ne=gt,!(gt=gt[je=Ae<<1|Ie]))return this;if(!gt.length)break;(Ne[je+1&3]||Ne[je+2&3]||Ne[je+3&3])&&(qe=Ne,ot=je)}for(;gt.data!==ke;)if(vt=gt,!(gt=gt.next))return this;return(Bt=gt.next)&&delete gt.next,vt?(Bt?vt.next=Bt:delete vt.next,this):Ne?(Bt?Ne[je]=Bt:delete Ne[je],(gt=Ne[0]||Ne[1]||Ne[2]||Ne[3])&>===(Ne[3]||Ne[2]||Ne[1]||Ne[0])&&!gt.length&&(qe?qe[ot]=gt:this._root=gt),this):(this._root=Bt,this)}function c(ke){for(var Ne=0,gt=ke.length;NeFe.index){var Pr=Ce-Dt.x-Dt.vx,Ct=ve-Dt.y-Dt.vy,ir=Pr*Pr+Ct*Ct;irCe+vr||nrve+vr||drUe.r&&(Ue.r=Ue[_e].r)}function it(){if(Ne){var Ue,_e=Ne.length,Ze;for(gt=new Array(_e),Ue=0;Ue<_e;++Ue)Ze=Ne[Ue],gt[Ze.index]=+ke(Ze,Ue,Ne)}}return Bt.initialize=function(Ue){Ne=Ue,it()},Bt.iterations=function(Ue){return arguments.length?(vt=+Ue,Bt):vt},Bt.strength=function(Ue){return arguments.length?(qe=+Ue,Bt):qe},Bt.radius=function(Ue){return arguments.length?(ke=typeof Ue=="function"?Ue:E(+Ue),it(),Bt):ke},Bt}var w=e(15140);function U(ke){return ke.index}function F(ke,Ne){var gt=ke.get(Ne);if(!gt)throw new Error("missing: "+Ne);return gt}function G(ke){var Ne=U,gt=Ze,qe,vt=E(30),Bt,Yt,it,Ue,_e=1;ke==null&&(ke=[]);function Ze(Ae){return 1/Math.min(it[Ae.source.index],it[Ae.target.index])}function Fe(Ae){for(var je=0,ot=ke.length;je<_e;++je)for(var ct=0,Et,kt,nr,dr,Dt,$t,vr;ct=0&&(qe=gt.slice(vt+1),gt=gt.slice(0,vt)),gt&&!Ne.hasOwnProperty(gt))throw new Error("unknown type: "+gt);return{type:gt,name:qe}})}V.prototype=H.prototype={constructor:V,on:function(ke,Ne){var gt=this._,qe=N(ke+"",gt),vt,Bt=-1,Yt=qe.length;if(arguments.length<2){for(;++Bt0)for(var gt=new Array(vt),qe=0,vt,Bt;qe=0&&ke._call.call(null,Ne),ke=ke._next;--ie}function Ee(){re=(J=te.now())+fe,ie=ue=0;try{Se()}finally{ie=0,Ye(),re=0}}function We(){var ke=te.now(),Ne=ke-J;Ne>q&&(fe-=Ne,J=ke)}function Ye(){for(var ke,Ne=X,gt,qe=1/0;Ne;)Ne._call?(qe>Ne._time&&(qe=Ne._time),ke=Ne,Ne=Ne._next):(gt=Ne._next,Ne._next=null,Ne=ke?ke._next=gt:X=gt);K=ke,De(qe)}function De(ke){if(!ie){ue&&(ue=clearTimeout(ue));var Ne=ke-re;Ne>24?(ke<1/0&&(ue=setTimeout(Ee,ke-te.now()-fe)),pe&&(pe=clearInterval(pe))):(pe||(J=te.now(),pe=setInterval(We,q)),ie=1,ee(Ee))}}function Te(ke){return ke.x}function Re(ke){return ke.y}var Xe=10,Je=Math.PI*(3-Math.sqrt(5));function He(ke){var Ne,gt=1,qe=.001,vt=1-Math.pow(qe,1/300),Bt=0,Yt=.6,it=(0,w.UI)(),Ue=we(Ze),_e=Q("tick","end");ke==null&&(ke=[]);function Ze(){Fe(),_e.call("tick",Ne),gt1?(Ae==null?it.remove(Ie):it.set(Ie,ve(Ae)),Ne):it.get(Ie)},find:function(Ie,Ae,je){var ot=0,ct=ke.length,Et,kt,nr,dr,Dt;for(je==null?je=1/0:je*=je,ot=0;ot1?(_e.on(Ie,Ae),Ne):_e.on(Ie)}}}function $e(){var ke,Ne,gt,qe=E(-30),vt,Bt=1,Yt=1/0,it=.81;function Ue(Ce){var ve,Ie=ke.length,Ae=M(ke,Te,Re).visitAfter(Ze);for(gt=Ce,ve=0;ve=Yt)return;(Ce.data!==Ne||Ce.next)&&(je===0&&(je=a(),Et+=je*je),ot===0&&(ot=a(),Et+=ot*ot),Et=1e21?C.toLocaleString("en").replace(/,/g,""):C.toString(10)}function E(C,M){if((D=(C=M?C.toExponential(M-1):C.toExponential()).indexOf("e"))<0)return null;var D,T=C.slice(0,D);return[T.length>1?T[0]+T.slice(2):T,+C.slice(D+1)]}function a(C){return C=E(Math.abs(C)),C?C[1]:NaN}function L(C,M){return function(D,T){for(var P=D.length,A=[],o=0,k=C[0],w=0;P>0&&k>0&&(w+k+1>T&&(k=Math.max(1,T-w)),A.push(D.substring(P-=k,P+k)),!((w+=k+1)>T));)k=C[o=(o+1)%C.length];return A.reverse().join(M)}}function x(C){return function(M){return M.replace(/[0-9]/g,function(D){return C[+D]})}}var d=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function m(C){if(!(M=d.exec(C)))throw new Error("invalid format: "+C);var M;return new r({fill:M[1],align:M[2],sign:M[3],symbol:M[4],zero:M[5],width:M[6],comma:M[7],precision:M[8]&&M[8].slice(1),trim:M[9],type:M[10]})}m.prototype=r.prototype;function r(C){this.fill=C.fill===void 0?" ":C.fill+"",this.align=C.align===void 0?">":C.align+"",this.sign=C.sign===void 0?"-":C.sign+"",this.symbol=C.symbol===void 0?"":C.symbol+"",this.zero=!!C.zero,this.width=C.width===void 0?void 0:+C.width,this.comma=!!C.comma,this.precision=C.precision===void 0?void 0:+C.precision,this.trim=!!C.trim,this.type=C.type===void 0?"":C.type+""}r.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function t(C){e:for(var M=C.length,D=1,T=-1,P;D0&&(T=0);break}return T>0?C.slice(0,T)+C.slice(P+1):C}var s;function n(C,M){var D=E(C,M);if(!D)return C+"";var T=D[0],P=D[1],A=P-(s=Math.max(-8,Math.min(8,Math.floor(P/3)))*3)+1,o=T.length;return A===o?T:A>o?T+new Array(A-o+1).join("0"):A>0?T.slice(0,A)+"."+T.slice(A):"0."+new Array(1-A).join("0")+E(C,Math.max(0,M+A-1))[0]}function f(C,M){var D=E(C,M);if(!D)return C+"";var T=D[0],P=D[1];return P<0?"0."+new Array(-P).join("0")+T:T.length>P+1?T.slice(0,P+1)+"."+T.slice(P+1):T+new Array(P-T.length+2).join("0")}var c={"%":function(C,M){return(C*100).toFixed(M)},b:function(C){return Math.round(C).toString(2)},c:function(C){return C+""},d:p,e:function(C,M){return C.toExponential(M)},f:function(C,M){return C.toFixed(M)},g:function(C,M){return C.toPrecision(M)},o:function(C){return Math.round(C).toString(8)},p:function(C,M){return f(C*100,M)},r:f,s:n,X:function(C){return Math.round(C).toString(16).toUpperCase()},x:function(C){return Math.round(C).toString(16)}};function u(C){return C}var b=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function S(C){var M=C.grouping===void 0||C.thousands===void 0?u:L(b.call(C.grouping,Number),C.thousands+""),D=C.currency===void 0?"":C.currency[0]+"",T=C.currency===void 0?"":C.currency[1]+"",P=C.decimal===void 0?".":C.decimal+"",A=C.numerals===void 0?u:x(b.call(C.numerals,String)),o=C.percent===void 0?"%":C.percent+"",k=C.minus===void 0?"-":C.minus+"",w=C.nan===void 0?"NaN":C.nan+"";function U(G){G=m(G);var _=G.fill,H=G.align,V=G.sign,N=G.symbol,W=G.zero,j=G.width,Q=G.comma,ie=G.precision,ue=G.trim,pe=G.type;pe==="n"?(Q=!0,pe="g"):c[pe]||(ie===void 0&&(ie=12),ue=!0,pe="g"),(W||_==="0"&&H==="=")&&(W=!0,_="0",H="=");var q=N==="$"?D:N==="#"&&/[boxX]/.test(pe)?"0"+pe.toLowerCase():"",X=N==="$"?T:/[%p]/.test(pe)?o:"",K=c[pe],J=/[defgprs%]/.test(pe);ie=ie===void 0?6:/[gprs]/.test(pe)?Math.max(1,Math.min(21,ie)):Math.max(0,Math.min(20,ie));function re(fe){var te=q,ee=X,ce,le,me;if(pe==="c")ee=K(fe)+ee,fe="";else{fe=+fe;var we=fe<0||1/fe<0;if(fe=isNaN(fe)?w:K(Math.abs(fe),ie),ue&&(fe=t(fe)),we&&+fe==0&&V!=="+"&&(we=!1),te=(we?V==="("?V:k:V==="-"||V==="("?"":V)+te,ee=(pe==="s"?h[8+s/3]:"")+ee+(we&&V==="("?")":""),J){for(ce=-1,le=fe.length;++ceme||me>57){ee=(me===46?P+fe.slice(ce+1):fe.slice(ce))+ee,fe=fe.slice(0,ce);break}}}Q&&!W&&(fe=M(fe,1/0));var Se=te.length+fe.length+ee.length,Ee=Se>1)+te+fe+ee+Ee.slice(Se);break;default:fe=Ee+te+fe+ee;break}return A(fe)}return re.toString=function(){return G+""},re}function F(G,_){var H=U((G=m(G),G.type="f",G)),V=Math.max(-8,Math.min(8,Math.floor(a(_)/3)))*3,N=Math.pow(10,-V),W=h[8+V/3];return function(j){return H(N*j)+W}}return{format:U,formatPrefix:F}}var v,l;g({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function g(C){return v=S(C),l=v.format,v.formatPrefix,v}},65704:function(B,O,e){e.r(O),e.d(O,{geoAiry:function(){return W},geoAiryRaw:function(){return N},geoAitoff:function(){return Q},geoAitoffRaw:function(){return j},geoArmadillo:function(){return ue},geoArmadilloRaw:function(){return ie},geoAugust:function(){return q},geoAugustRaw:function(){return pe},geoBaker:function(){return re},geoBakerRaw:function(){return J},geoBerghaus:function(){return ee},geoBerghausRaw:function(){return te},geoBertin1953:function(){return Ye},geoBertin1953Raw:function(){return We},geoBoggs:function(){return pt},geoBoggsRaw:function(){return $e},geoBonne:function(){return gt},geoBonneRaw:function(){return Ne},geoBottomley:function(){return vt},geoBottomleyRaw:function(){return qe},geoBromley:function(){return Yt},geoBromleyRaw:function(){return Bt},geoChamberlin:function(){return Ae},geoChamberlinAfrica:function(){return Ie},geoChamberlinRaw:function(){return Ce},geoCollignon:function(){return ot},geoCollignonRaw:function(){return je},geoCraig:function(){return Et},geoCraigRaw:function(){return ct},geoCraster:function(){return dr},geoCrasterRaw:function(){return nr},geoCylindricalEqualArea:function(){return $t},geoCylindricalEqualAreaRaw:function(){return Dt},geoCylindricalStereographic:function(){return Pr},geoCylindricalStereographicRaw:function(){return vr},geoEckert1:function(){return ir},geoEckert1Raw:function(){return Ct},geoEckert2:function(){return Or},geoEckert2Raw:function(){return cr},geoEckert3:function(){return Mt},geoEckert3Raw:function(){return kr},geoEckert4:function(){return Rt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Ut},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Qt},geoEckert6Raw:function(){return Ht},geoEisenlohr:function(){return Cr},geoEisenlohrRaw:function(){return ur},geoFahey:function(){return tt},geoFaheyRaw:function(){return Fr},geoFoucaut:function(){return Wt},geoFoucautRaw:function(){return et},geoFoucautSinusoidal:function(){return or},geoFoucautSinusoidalRaw:function(){return Gt},geoGilbert:function(){return Ir},geoGingery:function(){return cn},geoGingeryRaw:function(){return Lr},geoGinzburg4:function(){return Wn},geoGinzburg4Raw:function(){return an},geoGinzburg5:function(){return pa},geoGinzburg5Raw:function(){return En},geoGinzburg6:function(){return _r},geoGinzburg6Raw:function(){return Qn},geoGinzburg8:function(){return qr},geoGinzburg8Raw:function(){return Vr},geoGinzburg9:function(){return dn},geoGinzburg9Raw:function(){return lr},geoGringorten:function(){return Ma},geoGringortenQuincuncial:function(){return zl},geoGringortenRaw:function(){return gn},geoGuyou:function(){return jn},geoGuyouRaw:function(){return Xr},geoHammer:function(){return we},geoHammerRaw:function(){return le},geoHammerRetroazimuthal:function(){return va},geoHammerRetroazimuthalRaw:function(){return la},geoHealpix:function(){return On},geoHealpixRaw:function(){return yn},geoHill:function(){return pr},geoHillRaw:function(){return en},geoHomolosine:function(){return na},geoHomolosineRaw:function(){return Gn},geoHufnagel:function(){return Ya},geoHufnagelRaw:function(){return za},geoHyperelliptical:function(){return hs},geoHyperellipticalRaw:function(){return $a},geoInterrupt:function(){return zs},geoInterruptedBoggs:function(){return Vi},geoInterruptedHomolosine:function(){return nu},geoInterruptedMollweide:function(){return Ts},geoInterruptedMollweideHemispheres:function(){return _u},geoInterruptedQuarticAuthalic:function(){return Uu},geoInterruptedSinuMollweide:function(){return gf},geoInterruptedSinusoidal:function(){return ts},geoKavrayskiy7:function(){return rs},geoKavrayskiy7Raw:function(){return Ws},geoLagrange:function(){return ks},geoLagrangeRaw:function(){return ns},geoLarrivee:function(){return Ys},geoLarriveeRaw:function(){return us},geoLaskowski:function(){return ds},geoLaskowskiRaw:function(){return Dl},geoLittrow:function(){return tl},geoLittrowRaw:function(){return mu},geoLoximuthal:function(){return xc},geoLoximuthalRaw:function(){return ml},geoMiller:function(){return wc},geoMillerRaw:function(){return bc},geoModifiedStereographic:function(){return yu},geoModifiedStereographicAlaska:function(){return Gc},geoModifiedStereographicGs48:function(){return Yf},geoModifiedStereographicGs50:function(){return Bs},geoModifiedStereographicLee:function(){return Sc},geoModifiedStereographicMiller:function(){return Ac},geoModifiedStereographicRaw:function(){return gu},geoMollweide:function(){return Xe},geoMollweideRaw:function(){return Re},geoMtFlatPolarParabolic:function(){return m0},geoMtFlatPolarParabolicRaw:function(){return Wl},geoMtFlatPolarQuartic:function(){return nf},geoMtFlatPolarQuarticRaw:function(){return rl},geoMtFlatPolarSinusoidal:function(){return g0},geoMtFlatPolarSinusoidalRaw:function(){return af},geoNaturalEarth:function(){return Uo.Z},geoNaturalEarth2:function(){return Nu},geoNaturalEarth2Raw:function(){return nl},geoNaturalEarthRaw:function(){return Uo.K},geoNellHammer:function(){return al},geoNellHammerRaw:function(){return vs},geoNicolosi:function(){return Yl},geoNicolosiRaw:function(){return Rl},geoPatterson:function(){return Wc},geoPattersonRaw:function(){return Js},geoPeirceQuincuncial:function(){return jl},geoPierceQuincuncial:function(){return jl},geoPolyconic:function(){return Yc},geoPolyconicRaw:function(){return Mc},geoPolyhedral:function(){return fo},geoPolyhedralButterfly:function(){return bl},geoPolyhedralCollignon:function(){return Tu},geoPolyhedralWaterman:function(){return Au},geoProject:function(){return jc},geoQuantize:function(){return Tf},geoQuincuncial:function(){return Al},geoRectangularPolyconic:function(){return Cu},geoRectangularPolyconicRaw:function(){return Kf},geoRobinson:function(){return Af},geoRobinsonRaw:function(){return Xl},geoSatellite:function(){return Mf},geoSatelliteRaw:function(){return Yu},geoSinuMollweide:function(){return ya},geoSinuMollweideRaw:function(){return ha},geoSinusoidal:function(){return ke},geoSinusoidalRaw:function(){return lt},geoStitch:function(){return uu},geoTimes:function(){return il},geoTimesRaw:function(){return Os},geoTwoPointAzimuthal:function(){return Le},geoTwoPointAzimuthalRaw:function(){return ec},geoTwoPointAzimuthalUsa:function(){return jt},geoTwoPointEquidistant:function(){return nt},geoTwoPointEquidistantRaw:function(){return Be},geoTwoPointEquidistantUsa:function(){return Ve},geoVanDerGrinten:function(){return Zt},geoVanDerGrinten2:function(){return Ur},geoVanDerGrinten2Raw:function(){return hr},geoVanDerGrinten3:function(){return Dn},geoVanDerGrinten3Raw:function(){return on},geoVanDerGrinten4:function(){return ga},geoVanDerGrinten4Raw:function(){return Jn},geoVanDerGrintenRaw:function(){return Lt},geoWagner:function(){return ri},geoWagner4:function(){return Xi},geoWagner4Raw:function(){return Li},geoWagner6:function(){return Eo},geoWagner6Raw:function(){return ao},geoWagner7:function(){return Ka},geoWagnerRaw:function(){return Ra},geoWiechel:function(){return po},geoWiechelRaw:function(){return io},geoWinkel3:function(){return ko},geoWinkel3Raw:function(){return Ro}});var p=e(15002),E=Math.abs,a=Math.atan,L=Math.atan2,x=Math.cos,d=Math.exp,m=Math.floor,r=Math.log,t=Math.max,s=Math.min,n=Math.pow,f=Math.round,c=Math.sign||function(at){return at>0?1:at<0?-1:0},u=Math.sin,b=Math.tan,h=1e-6,S=1e-12,v=Math.PI,l=v/2,g=v/4,C=Math.SQRT1_2,M=U(2),D=U(v),T=v*2,P=180/v,A=v/180;function o(at){return at?at/Math.sin(at):1}function k(at){return at>1?l:at<-1?-l:Math.asin(at)}function w(at){return at>1?0:at<-1?v:Math.acos(at)}function U(at){return at>0?Math.sqrt(at):0}function F(at){return at=d(2*at),(at-1)/(at+1)}function G(at){return(d(at)-d(-at))/2}function _(at){return(d(at)+d(-at))/2}function H(at){return r(at+U(at*at+1))}function V(at){return r(at+U(at*at-1))}function N(at){var ht=b(at/2),Tt=2*r(x(at/2))/(ht*ht);function Pt(Vt,_t){var Jt=x(Vt),Dr=x(_t),Hr=u(_t),Sr=Dr*Jt,Wr=-((1-Sr?r((1+Sr)/2)/(1-Sr):-.5)+Tt/(1+Sr));return[Wr*Dr*u(Vt),Wr*Hr]}return Pt.invert=function(Vt,_t){var Jt=U(Vt*Vt+_t*_t),Dr=-at/2,Hr=50,Sr;if(!Jt)return[0,0];do{var Wr=Dr/2,Kr=x(Wr),vn=u(Wr),wn=vn/Kr,Zn=-r(E(Kr));Dr-=Sr=(2/wn*Zn-Tt*wn-Jt)/(-Zn/(vn*vn)+1-Tt/(2*Kr*Kr))*(Kr<0?.7:1)}while(E(Sr)>h&&--Hr>0);var Xn=u(Dr);return[L(Vt*Xn,Jt*x(Dr)),k(_t*Xn/Jt)]},Pt}function W(){var at=l,ht=(0,p.r)(N),Tt=ht(at);return Tt.radius=function(Pt){return arguments.length?ht(at=Pt*A):at*P},Tt.scale(179.976).clipAngle(147)}function j(at,ht){var Tt=x(ht),Pt=o(w(Tt*x(at/=2)));return[2*Tt*u(at)*Pt,u(ht)*Pt]}j.invert=function(at,ht){if(!(at*at+4*ht*ht>v*v+h)){var Tt=at,Pt=ht,Vt=25;do{var _t=u(Tt),Jt=u(Tt/2),Dr=x(Tt/2),Hr=u(Pt),Sr=x(Pt),Wr=u(2*Pt),Kr=Hr*Hr,vn=Sr*Sr,wn=Jt*Jt,Zn=1-vn*Dr*Dr,Xn=Zn?w(Sr*Dr)*U(aa=1/Zn):aa=0,aa,ja=2*Xn*Sr*Jt-at,hi=Xn*Hr-ht,wi=aa*(vn*wn+Xn*Sr*Dr*Kr),Ai=aa*(.5*_t*Wr-Xn*2*Hr*Jt),Si=aa*.25*(Wr*Jt-Xn*Hr*vn*_t),eo=aa*(Kr*Dr+Xn*wn*Sr),Lo=Ai*Si-eo*wi;if(!Lo)break;var mo=(hi*Ai-ja*eo)/Lo,de=(ja*Si-hi*wi)/Lo;Tt-=mo,Pt-=de}while((E(mo)>h||E(de)>h)&&--Vt>0);return[Tt,Pt]}};function Q(){return(0,p.Z)(j).scale(152.63)}function ie(at){var ht=u(at),Tt=x(at),Pt=at>=0?1:-1,Vt=b(Pt*at),_t=(1+ht-Tt)/2;function Jt(Dr,Hr){var Sr=x(Hr),Wr=x(Dr/=2);return[(1+Sr)*u(Dr),(Pt*Hr>-L(Wr,Vt)-.001?0:-Pt*10)+_t+u(Hr)*Tt-(1+Sr)*ht*Wr]}return Jt.invert=function(Dr,Hr){var Sr=0,Wr=0,Kr=50;do{var vn=x(Sr),wn=u(Sr),Zn=x(Wr),Xn=u(Wr),aa=1+Zn,ja=aa*wn-Dr,hi=_t+Xn*Tt-aa*ht*vn-Hr,wi=aa*vn/2,Ai=-wn*Xn,Si=ht*aa*wn/2,eo=Tt*Zn+ht*vn*Xn,Lo=Ai*Si-eo*wi,mo=(hi*Ai-ja*eo)/Lo/2,de=(ja*Si-hi*wi)/Lo;E(de)>2&&(de/=2),Sr-=mo,Wr-=de}while((E(mo)>h||E(de)>h)&&--Kr>0);return Pt*Wr>-L(x(Sr),Vt)-.001?[Sr*2,Wr]:null},Jt}function ue(){var at=20*A,ht=at>=0?1:-1,Tt=b(ht*at),Pt=(0,p.r)(ie),Vt=Pt(at),_t=Vt.stream;return Vt.parallel=function(Jt){return arguments.length?(Tt=b((ht=(at=Jt*A)>=0?1:-1)*at),Pt(at)):at*P},Vt.stream=function(Jt){var Dr=Vt.rotate(),Hr=_t(Jt),Sr=(Vt.rotate([0,0]),_t(Jt)),Wr=Vt.precision();return Vt.rotate(Dr),Hr.sphere=function(){Sr.polygonStart(),Sr.lineStart();for(var Kr=ht*-180;ht*Kr<180;Kr+=ht*90)Sr.point(Kr,ht*90);if(at)for(;ht*(Kr-=3*ht*Wr)>=-180;)Sr.point(Kr,ht*-L(x(Kr*A/2),Tt)*P);Sr.lineEnd(),Sr.polygonEnd()},Hr},Vt.scale(218.695).center([0,28.0974])}function pe(at,ht){var Tt=b(ht/2),Pt=U(1-Tt*Tt),Vt=1+Pt*x(at/=2),_t=u(at)*Pt/Vt,Jt=Tt/Vt,Dr=_t*_t,Hr=Jt*Jt;return[1.3333333333333333*_t*(3+Dr-3*Hr),1.3333333333333333*Jt*(3+3*Dr-Hr)]}pe.invert=function(at,ht){if(at*=.375,ht*=.375,!at&&E(ht)>1)return null;var Tt=at*at,Pt=ht*ht,Vt=1+Tt+Pt,_t=U((Vt-U(Vt*Vt-4*ht*ht))/2),Jt=k(_t)/3,Dr=_t?V(E(ht/_t))/3:H(E(at))/3,Hr=x(Jt),Sr=_(Dr),Wr=Sr*Sr-Hr*Hr;return[c(at)*2*L(G(Dr)*Hr,.25-Wr),c(ht)*2*L(Sr*u(Jt),.25+Wr)]};function q(){return(0,p.Z)(pe).scale(66.1603)}var X=U(8),K=r(1+M);function J(at,ht){var Tt=E(ht);return TtS&&--Pt>0);return[at/(x(Tt)*(X-1/u(Tt))),c(ht)*Tt]};function re(){return(0,p.Z)(J).scale(112.314)}var fe=e(17889);function te(at){var ht=2*v/at;function Tt(Pt,Vt){var _t=(0,fe.N)(Pt,Vt);if(E(Pt)>l){var Jt=L(_t[1],_t[0]),Dr=U(_t[0]*_t[0]+_t[1]*_t[1]),Hr=ht*f((Jt-l)/ht)+l,Sr=L(u(Jt-=Hr),2-x(Jt));Jt=Hr+k(v/Dr*u(Sr))-Sr,_t[0]=Dr*x(Jt),_t[1]=Dr*u(Jt)}return _t}return Tt.invert=function(Pt,Vt){var _t=U(Pt*Pt+Vt*Vt);if(_t>l){var Jt=L(Vt,Pt),Dr=ht*f((Jt-l)/ht)+l,Hr=Jt>Dr?-1:1,Sr=_t*x(Dr-Jt),Wr=1/b(Hr*w((Sr-v)/U(v*(v-2*Sr)+_t*_t)));Jt=Dr+2*a((Wr+Hr*U(Wr*Wr-3))/3),Pt=_t*x(Jt),Vt=_t*u(Jt)}return fe.N.invert(Pt,Vt)},Tt}function ee(){var at=5,ht=(0,p.r)(te),Tt=ht(at),Pt=Tt.stream,Vt=.01,_t=-x(Vt*A),Jt=u(Vt*A);return Tt.lobes=function(Dr){return arguments.length?ht(at=+Dr):at},Tt.stream=function(Dr){var Hr=Tt.rotate(),Sr=Pt(Dr),Wr=(Tt.rotate([0,0]),Pt(Dr));return Tt.rotate(Hr),Sr.sphere=function(){Wr.polygonStart(),Wr.lineStart();for(var Kr=0,vn=360/at,wn=2*v/at,Zn=90-180/at,Xn=l;Kr0&&E(Vt)>h);return Pt<0?NaN:Tt}function Ee(at,ht,Tt){return ht===void 0&&(ht=40),Tt===void 0&&(Tt=S),function(Pt,Vt,_t,Jt){var Dr,Hr,Sr;_t=_t===void 0?0:+_t,Jt=Jt===void 0?0:+Jt;for(var Wr=0;WrDr){_t-=Hr/=2,Jt-=Sr/=2;continue}Dr=Zn;var Xn=(_t>0?-1:1)*Tt,aa=(Jt>0?-1:1)*Tt,ja=at(_t+Xn,Jt),hi=at(_t,Jt+aa),wi=(ja[0]-Kr[0])/Xn,Ai=(ja[1]-Kr[1])/Xn,Si=(hi[0]-Kr[0])/aa,eo=(hi[1]-Kr[1])/aa,Lo=eo*wi-Ai*Si,mo=(E(Lo)<.5?.5:1)/Lo;if(Hr=(wn*Si-vn*eo)*mo,Sr=(vn*Ai-wn*wi)*mo,_t+=Hr,Jt+=Sr,E(Hr)0&&(Dr[1]*=1+Hr/1.5*Dr[0]*Dr[0]),Dr}return Pt.invert=Ee(Pt),Pt}function Ye(){return(0,p.Z)(We()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function De(at,ht){var Tt=at*u(ht),Pt=30,Vt;do ht-=Vt=(ht+u(ht)-Tt)/(1+x(ht));while(E(Vt)>h&&--Pt>0);return ht/2}function Te(at,ht,Tt){function Pt(Vt,_t){return[at*Vt*x(_t=De(Tt,_t)),ht*u(_t)]}return Pt.invert=function(Vt,_t){return _t=k(_t/ht),[Vt/(at*x(_t)),k((2*_t+u(2*_t))/Tt)]},Pt}var Re=Te(M/l,M,v);function Xe(){return(0,p.Z)(Re).scale(169.529)}var Je=2.00276,He=1.11072;function $e(at,ht){var Tt=De(v,ht);return[Je*at/(1/x(ht)+He/x(Tt)),(ht+M*u(Tt))/Je]}$e.invert=function(at,ht){var Tt=Je*ht,Pt=ht<0?-g:g,Vt=25,_t,Jt;do Jt=Tt-M*u(Pt),Pt-=_t=(u(2*Pt)+2*Pt-v*u(Jt))/(2*x(2*Pt)+2+v*x(Jt)*M*x(Pt));while(E(_t)>h&&--Vt>0);return Jt=Tt-M*u(Pt),[at*(1/x(Jt)+He/x(Pt))/Je,Jt]};function pt(){return(0,p.Z)($e).scale(160.857)}function ut(at){var ht=0,Tt=(0,p.r)(at),Pt=Tt(ht);return Pt.parallel=function(Vt){return arguments.length?Tt(ht=Vt*A):ht*P},Pt}function lt(at,ht){return[at*x(ht),ht]}lt.invert=function(at,ht){return[at/x(ht),ht]};function ke(){return(0,p.Z)(lt).scale(152.63)}function Ne(at){if(!at)return lt;var ht=1/b(at);function Tt(Pt,Vt){var _t=ht+at-Vt,Jt=_t&&Pt*x(Vt)/_t;return[_t*u(Jt),ht-_t*x(Jt)]}return Tt.invert=function(Pt,Vt){var _t=U(Pt*Pt+(Vt=ht-Vt)*Vt),Jt=ht+at-_t;return[_t/x(Jt)*L(Pt,Vt),Jt]},Tt}function gt(){return ut(Ne).scale(123.082).center([0,26.1441]).parallel(45)}function qe(at){function ht(Tt,Pt){var Vt=l-Pt,_t=Vt&&Tt*at*u(Vt)/Vt;return[Vt*u(_t)/at,l-Vt*x(_t)]}return ht.invert=function(Tt,Pt){var Vt=Tt*at,_t=l-Pt,Jt=U(Vt*Vt+_t*_t),Dr=L(Vt,_t);return[(Jt?Jt/u(Jt):1)*Dr/at,l-Jt]},ht}function vt(){var at=.5,ht=(0,p.r)(qe),Tt=ht(at);return Tt.fraction=function(Pt){return arguments.length?ht(at=+Pt):at},Tt.scale(158.837)}var Bt=Te(1,4/v,v);function Yt(){return(0,p.Z)(Bt).scale(152.63)}var it=e(66624),Ue=e(49386);function _e(at,ht,Tt,Pt,Vt,_t){var Jt=x(_t),Dr;if(E(at)>1||E(_t)>1)Dr=w(Tt*Vt+ht*Pt*Jt);else{var Hr=u(at/2),Sr=u(_t/2);Dr=2*k(U(Hr*Hr+ht*Pt*Sr*Sr))}return E(Dr)>h?[Dr,L(Pt*u(_t),ht*Vt-Tt*Pt*Jt)]:[0,0]}function Ze(at,ht,Tt){return w((at*at+ht*ht-Tt*Tt)/(2*at*ht))}function Fe(at){return at-2*v*m((at+v)/(2*v))}function Ce(at,ht,Tt){for(var Pt=[[at[0],at[1],u(at[1]),x(at[1])],[ht[0],ht[1],u(ht[1]),x(ht[1])],[Tt[0],Tt[1],u(Tt[1]),x(Tt[1])]],Vt=Pt[2],_t,Jt=0;Jt<3;++Jt,Vt=_t)_t=Pt[Jt],Vt.v=_e(_t[1]-Vt[1],Vt[3],Vt[2],_t[3],_t[2],_t[0]-Vt[0]),Vt.point=[0,0];var Dr=Ze(Pt[0].v[0],Pt[2].v[0],Pt[1].v[0]),Hr=Ze(Pt[0].v[0],Pt[1].v[0],Pt[2].v[0]),Sr=v-Dr;Pt[2].point[1]=0,Pt[0].point[0]=-(Pt[1].point[0]=Pt[0].v[0]/2);var Wr=[Pt[2].point[0]=Pt[0].point[0]+Pt[2].v[0]*x(Dr),2*(Pt[0].point[1]=Pt[1].point[1]=Pt[2].v[0]*u(Dr))];function Kr(vn,wn){var Zn=u(wn),Xn=x(wn),aa=new Array(3),ja;for(ja=0;ja<3;++ja){var hi=Pt[ja];if(aa[ja]=_e(wn-hi[1],hi[3],hi[2],Xn,Zn,vn-hi[0]),!aa[ja][0])return hi.point;aa[ja][1]=Fe(aa[ja][1]-hi.v[1])}var wi=Wr.slice();for(ja=0;ja<3;++ja){var Ai=ja==2?0:ja+1,Si=Ze(Pt[ja].v[0],aa[ja][0],aa[Ai][0]);aa[ja][1]<0&&(Si=-Si),ja?ja==1?(Si=Hr-Si,wi[0]-=aa[ja][0]*x(Si),wi[1]-=aa[ja][0]*u(Si)):(Si=Sr-Si,wi[0]+=aa[ja][0]*x(Si),wi[1]+=aa[ja][0]*u(Si)):(wi[0]+=aa[ja][0]*x(Si),wi[1]-=aa[ja][0]*u(Si))}return wi[0]/=3,wi[1]/=3,wi}return Kr}function ve(at){return at[0]*=A,at[1]*=A,at}function Ie(){return Ae([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ae(at,ht,Tt){var Pt=(0,it.Z)({type:"MultiPoint",coordinates:[at,ht,Tt]}),Vt=[-Pt[0],-Pt[1]],_t=(0,Ue.Z)(Vt),Jt=Ce(ve(_t(at)),ve(_t(ht)),ve(_t(Tt)));Jt.invert=Ee(Jt);var Dr=(0,p.Z)(Jt).rotate(Vt),Hr=Dr.center;return delete Dr.rotate,Dr.center=function(Sr){return arguments.length?Hr(_t(Sr)):_t.invert(Hr())},Dr.clipAngle(90)}function je(at,ht){var Tt=U(1-u(ht));return[2/D*at*Tt,D*(1-Tt)]}je.invert=function(at,ht){var Tt=(Tt=ht/D-1)*Tt;return[Tt>0?at*U(v/Tt)/2:0,k(1-Tt)]};function ot(){return(0,p.Z)(je).scale(95.6464).center([0,30])}function ct(at){var ht=b(at);function Tt(Pt,Vt){return[Pt,(Pt?Pt/u(Pt):1)*(u(Vt)*x(Pt)-ht*x(Vt))]}return Tt.invert=ht?function(Pt,Vt){Pt&&(Vt*=u(Pt)/Pt);var _t=x(Pt);return[Pt,2*L(U(_t*_t+ht*ht-Vt*Vt)-_t,ht-Vt)]}:function(Pt,Vt){return[Pt,k(Pt?Vt*b(Pt)/Pt:Vt)]},Tt}function Et(){return ut(ct).scale(249.828).clipAngle(90)}var kt=U(3);function nr(at,ht){return[kt*at*(2*x(2*ht/3)-1)/D,kt*D*u(ht/3)]}nr.invert=function(at,ht){var Tt=3*k(ht/(kt*D));return[D*at/(kt*(2*x(2*Tt/3)-1)),Tt]};function dr(){return(0,p.Z)(nr).scale(156.19)}function Dt(at){var ht=x(at);function Tt(Pt,Vt){return[Pt*ht,u(Vt)/ht]}return Tt.invert=function(Pt,Vt){return[Pt/ht,k(Vt*ht)]},Tt}function $t(){return ut(Dt).parallel(38.58).scale(195.044)}function vr(at){var ht=x(at);function Tt(Pt,Vt){return[Pt*ht,(1+ht)*b(Vt/2)]}return Tt.invert=function(Pt,Vt){return[Pt/ht,a(Vt/(1+ht))*2]},Tt}function Pr(){return ut(vr).scale(124.75)}function Ct(at,ht){var Tt=U(8/(3*v));return[Tt*at*(1-E(ht)/v),Tt*ht]}Ct.invert=function(at,ht){var Tt=U(8/(3*v)),Pt=ht/Tt;return[at/(Tt*(1-E(Pt)/v)),Pt]};function ir(){return(0,p.Z)(Ct).scale(165.664)}function cr(at,ht){var Tt=U(4-3*u(E(ht)));return[2/U(6*v)*at*Tt,c(ht)*U(2*v/3)*(2-Tt)]}cr.invert=function(at,ht){var Tt=2-E(ht)/U(2*v/3);return[at*U(6*v)/(2*Tt),c(ht)*k((4-Tt*Tt)/3)]};function Or(){return(0,p.Z)(cr).scale(165.664)}function kr(at,ht){var Tt=U(v*(4+v));return[2/Tt*at*(1+U(1-4*ht*ht/(v*v))),4/Tt*ht]}kr.invert=function(at,ht){var Tt=U(v*(4+v))/2;return[at*Tt/(1+U(1-ht*ht*(4+v)/(4*v))),ht*Tt/2]};function Mt(){return(0,p.Z)(kr).scale(180.739)}function yt(at,ht){var Tt=(2+l)*u(ht);ht/=2;for(var Pt=0,Vt=1/0;Pt<10&&E(Vt)>h;Pt++){var _t=x(ht);ht-=Vt=(ht+u(ht)*(_t+2)-Tt)/(2*_t*(1+_t))}return[2/U(v*(4+v))*at*(1+x(ht)),2*U(v/(4+v))*u(ht)]}yt.invert=function(at,ht){var Tt=ht*U((4+v)/v)/2,Pt=k(Tt),Vt=x(Pt);return[at/(2/U(v*(4+v))*(1+Vt)),k((Pt+Tt*(Vt+2))/(2+l))]};function Rt(){return(0,p.Z)(yt).scale(180.739)}function wt(at,ht){return[at*(1+x(ht))/U(2+v),2*ht/U(2+v)]}wt.invert=function(at,ht){var Tt=U(2+v),Pt=ht*Tt/2;return[Tt*at/(1+x(Pt)),Pt]};function Ut(){return(0,p.Z)(wt).scale(173.044)}function Ht(at,ht){for(var Tt=(1+l)*u(ht),Pt=0,Vt=1/0;Pt<10&&E(Vt)>h;Pt++)ht-=Vt=(ht+u(ht)-Tt)/(1+x(ht));return Tt=U(2+v),[at*(1+x(ht))/Tt,2*ht/Tt]}Ht.invert=function(at,ht){var Tt=1+l,Pt=U(Tt/2);return[at*2*Pt/(1+x(ht*=Pt)),k((ht+u(ht))/Tt)]};function Qt(){return(0,p.Z)(Ht).scale(173.044)}var qt=3+2*M;function ur(at,ht){var Tt=u(at/=2),Pt=x(at),Vt=U(x(ht)),_t=x(ht/=2),Jt=u(ht)/(_t+M*Pt*Vt),Dr=U(2/(1+Jt*Jt)),Hr=U((M*_t+(Pt+Tt)*Vt)/(M*_t+(Pt-Tt)*Vt));return[qt*(Dr*(Hr-1/Hr)-2*r(Hr)),qt*(Dr*Jt*(Hr+1/Hr)-2*a(Jt))]}ur.invert=function(at,ht){if(!(_t=pe.invert(at/1.2,ht*1.065)))return null;var Tt=_t[0],Pt=_t[1],Vt=20,_t;at/=qt,ht/=qt;do{var Jt=Tt/2,Dr=Pt/2,Hr=u(Jt),Sr=x(Jt),Wr=u(Dr),Kr=x(Dr),vn=x(Pt),wn=U(vn),Zn=Wr/(Kr+M*Sr*wn),Xn=Zn*Zn,aa=U(2/(1+Xn)),ja=M*Kr+(Sr+Hr)*wn,hi=M*Kr+(Sr-Hr)*wn,wi=ja/hi,Ai=U(wi),Si=Ai-1/Ai,eo=Ai+1/Ai,Lo=aa*Si-2*r(Ai)-at,mo=aa*Zn*eo-2*a(Zn)-ht,de=Wr&&C*wn*Hr*Xn/Wr,ze=(M*Sr*Kr+wn)/(2*(Kr+M*Sr*wn)*(Kr+M*Sr*wn)*wn),Ke=-.5*Zn*aa*aa*aa,ft=Ke*de,dt=Ke*ze,mt=(mt=2*Kr+M*wn*(Sr-Hr))*mt*Ai,Nt=(M*Sr*Kr*wn+vn)/mt,St=-(M*Hr*Wr)/(wn*mt),rr=Si*ft-2*Nt/Ai+aa*(Nt+Nt/wi),xr=Si*dt-2*St/Ai+aa*(St+St/wi),Ar=Zn*eo*ft-2*de/(1+Xn)+aa*eo*de+aa*Zn*(Nt-Nt/wi),Qr=Zn*eo*dt-2*ze/(1+Xn)+aa*eo*ze+aa*Zn*(St-St/wi),Jr=xr*Ar-Qr*rr;if(!Jr)break;var Tn=(mo*xr-Lo*Qr)/Jr,Pn=(Lo*Ar-mo*rr)/Jr;Tt-=Tn,Pt=t(-l,s(l,Pt-Pn))}while((E(Tn)>h||E(Pn)>h)&&--Vt>0);return E(E(Pt)-l)Pt){var Kr=U(Wr),vn=L(Sr,Hr),wn=Tt*f(vn/Tt),Zn=vn-wn,Xn=at*x(Zn),aa=(at*u(Zn)-Zn*u(Xn))/(l-Xn),ja=Br(Zn,aa),hi=(v-at)/zr(ja,Xn,v);Hr=Kr;var wi=50,Ai;do Hr-=Ai=(at+zr(ja,Xn,Hr)*hi-Kr)/(ja(Hr)*hi);while(E(Ai)>h&&--wi>0);Sr=Zn*u(Hr),HrPt){var Hr=U(Dr),Sr=L(Jt,_t),Wr=Tt*f(Sr/Tt),Kr=Sr-Wr;_t=Hr*x(Kr),Jt=Hr*u(Kr);for(var vn=_t-l,wn=u(_t),Zn=Jt/wn,Xn=_th||E(Zn)>h)&&--Xn>0);return[Kr,vn]},Hr}var an=tn(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function Wn(){return(0,p.Z)(an).scale(149.995)}var En=tn(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function pa(){return(0,p.Z)(En).scale(153.93)}var Qn=tn(5/6*v,-.62636,-.0344,0,1.3493,-.05524,0,.045);function _r(){return(0,p.Z)(Qn).scale(130.945)}function Vr(at,ht){var Tt=at*at,Pt=ht*ht;return[at*(1-.162388*Pt)*(.87-952426e-9*Tt*Tt),ht*(1+Pt/12)]}Vr.invert=function(at,ht){var Tt=at,Pt=ht,Vt=50,_t;do{var Jt=Pt*Pt;Pt-=_t=(Pt*(1+Jt/12)-ht)/(1+Jt/4)}while(E(_t)>h&&--Vt>0);Vt=50,at/=1-.162388*Jt;do{var Dr=(Dr=Tt*Tt)*Dr;Tt-=_t=(Tt*(.87-952426e-9*Dr)-at)/(.87-.00476213*Dr)}while(E(_t)>h&&--Vt>0);return[Tt,Pt]};function qr(){return(0,p.Z)(Vr).scale(131.747)}var lr=tn(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function dn(){return(0,p.Z)(lr).scale(131.087)}function zn(at){var ht=at(l,0)[0]-at(-l,0)[0];function Tt(Pt,Vt){var _t=Pt>0?-.5:.5,Jt=at(Pt+_t*v,Vt);return Jt[0]-=_t*ht,Jt}return at.invert&&(Tt.invert=function(Pt,Vt){var _t=Pt>0?-.5:.5,Jt=at.invert(Pt+_t*ht,Vt),Dr=Jt[0]-_t*v;return Dr<-v?Dr+=2*v:Dr>v&&(Dr-=2*v),Jt[0]=Dr,Jt}),Tt}function gn(at,ht){var Tt=c(at),Pt=c(ht),Vt=x(ht),_t=x(at)*Vt,Jt=u(at)*Vt,Dr=u(Pt*ht);at=E(L(Jt,Dr)),ht=k(_t),E(at-l)>h&&(at%=l);var Hr=Fn(at>v/4?l-at:at,ht);return at>v/4&&(Dr=Hr[0],Hr[0]=-Hr[1],Hr[1]=-Dr),Hr[0]*=Tt,Hr[1]*=-Pt,Hr}gn.invert=function(at,ht){E(at)>1&&(at=c(at)*2-at),E(ht)>1&&(ht=c(ht)*2-ht);var Tt=c(at),Pt=c(ht),Vt=-Tt*at,_t=-Pt*ht,Jt=_t/Vt<1,Dr=fa(Jt?_t:Vt,Jt?Vt:_t),Hr=Dr[0],Sr=Dr[1],Wr=x(Sr);return Jt&&(Hr=-l-Hr),[Tt*(L(u(Hr)*Wr,-u(Sr))+v),Pt*k(x(Hr)*Wr)]};function Fn(at,ht){if(ht===l)return[0,0];var Tt=u(ht),Pt=Tt*Tt,Vt=Pt*Pt,_t=1+Vt,Jt=1+3*Vt,Dr=1-Vt,Hr=k(1/U(_t)),Sr=Dr+Pt*_t*Hr,Wr=(1-Tt)/Sr,Kr=U(Wr),vn=Wr*_t,wn=U(vn),Zn=Kr*Dr,Xn,aa;if(at===0)return[0,-(Zn+Pt*wn)];var ja=x(ht),hi=1/ja,wi=2*Tt*ja,Ai=(-3*Pt+Hr*Jt)*wi,Si=(-Sr*ja-(1-Tt)*Ai)/(Sr*Sr),eo=.5*Si/Kr,Lo=Dr*eo-2*Pt*Kr*wi,mo=Pt*_t*Si+Wr*Jt*wi,de=-hi*wi,ze=-hi*mo,Ke=-2*hi*Lo,ft=4*at/v,dt;if(at>.222*v||ht.175*v){if(Xn=(Zn+Pt*U(vn*(1+Vt)-Zn*Zn))/(1+Vt),at>v/4)return[Xn,Xn];var mt=Xn,Nt=.5*Xn;Xn=.5*(Nt+mt),aa=50;do{var St=U(vn-Xn*Xn),rr=Xn*(Ke+de*St)+ze*k(Xn/wn)-ft;if(!rr)break;rr<0?Nt=Xn:mt=Xn,Xn=.5*(Nt+mt)}while(E(mt-Nt)>h&&--aa>0)}else{Xn=h,aa=25;do{var xr=Xn*Xn,Ar=U(vn-xr),Qr=Ke+de*Ar,Jr=Xn*Qr+ze*k(Xn/wn)-ft,Tn=Qr+(ze-de*xr)/Ar;Xn-=dt=Ar?Jr/Tn:0}while(E(dt)>h&&--aa>0)}return[Xn,-Zn-Pt*U(vn-Xn*Xn)]}function fa(at,ht){for(var Tt=0,Pt=1,Vt=.5,_t=50;;){var Jt=Vt*Vt,Dr=U(Vt),Hr=k(1/U(1+Jt)),Sr=1-Jt+Vt*(1+Jt)*Hr,Wr=(1-Dr)/Sr,Kr=U(Wr),vn=Wr*(1+Jt),wn=Kr*(1-Jt),Zn=vn-at*at,Xn=U(Zn),aa=ht+wn+Vt*Xn;if(E(Pt-Tt)0?Tt=Vt:Pt=Vt,Vt=.5*(Tt+Pt)}if(!_t)return null;var ja=k(Dr),hi=x(ja),wi=1/hi,Ai=2*Dr*hi,Si=(-3*Vt+Hr*(1+3*Jt))*Ai,eo=(-Sr*hi-(1-Dr)*Si)/(Sr*Sr),Lo=.5*eo/Kr,mo=(1-Jt)*Lo-2*Vt*Kr*Ai,de=-2*wi*mo,ze=-wi*Ai,Ke=-wi*(Vt*(1+Jt)*eo+Wr*(1+3*Jt)*Ai);return[v/4*(at*(de+ze*Xn)+Ke*k(at/U(vn))),ja]}function Ma(){return(0,p.Z)(zn(gn)).scale(239.75)}function Sa(at,ht,Tt){var Pt,Vt,_t;return at?(Pt=_a(at,Tt),ht?(Vt=_a(ht,1-Tt),_t=Vt[1]*Vt[1]+Tt*Pt[0]*Pt[0]*Vt[0]*Vt[0],[[Pt[0]*Vt[2]/_t,Pt[1]*Pt[2]*Vt[0]*Vt[1]/_t],[Pt[1]*Vt[1]/_t,-Pt[0]*Pt[2]*Vt[0]*Vt[2]/_t],[Pt[2]*Vt[1]*Vt[2]/_t,-Tt*Pt[0]*Pt[1]*Vt[0]/_t]]):[[Pt[0],0],[Pt[1],0],[Pt[2],0]]):(Vt=_a(ht,1-Tt),[[0,Vt[0]/Vt[1]],[1/Vt[1],0],[Vt[2]/Vt[1],0]])}function _a(at,ht){var Tt,Pt,Vt,_t,Jt;if(ht=1-h)return Tt=(1-ht)/4,Pt=_(at),_t=F(at),Vt=1/Pt,Jt=Pt*G(at),[_t+Tt*(Jt-at)/(Pt*Pt),Vt-Tt*_t*Vt*(Jt-at),Vt+Tt*_t*Vt*(Jt+at),2*a(d(at))-l+Tt*(Jt-at)/Pt];var Dr=[1,0,0,0,0,0,0,0,0],Hr=[U(ht),0,0,0,0,0,0,0,0],Sr=0;for(Pt=U(1-ht),Jt=1;E(Hr[Sr]/Dr[Sr])>h&&Sr<8;)Tt=Dr[Sr++],Hr[Sr]=(Tt-Pt)/2,Dr[Sr]=(Tt+Pt)/2,Pt=U(Tt*Pt),Jt*=2;Vt=Jt*Dr[Sr]*at;do _t=Hr[Sr]*u(Pt=Vt)/Dr[Sr],Vt=(k(_t)+Vt)/2;while(--Sr);return[u(Vt),_t=x(Vt),_t/x(Vt-Pt),Vt]}function qn(at,ht,Tt){var Pt=E(at),Vt=E(ht),_t=G(Vt);if(Pt){var Jt=1/u(Pt),Dr=1/(b(Pt)*b(Pt)),Hr=-(Dr+Tt*(_t*_t*Jt*Jt)-1+Tt),Sr=(Tt-1)*Dr,Wr=(-Hr+U(Hr*Hr-4*Sr))/2;return[La(a(1/U(Wr)),Tt)*c(at),La(a(U((Wr/Dr-1)/Tt)),1-Tt)*c(ht)]}return[0,La(a(_t),1-Tt)*c(ht)]}function La(at,ht){if(!ht)return at;if(ht===1)return r(b(at/2+g));for(var Tt=1,Pt=U(1-ht),Vt=U(ht),_t=0;E(Vt)>h;_t++){if(at%v){var Jt=a(Pt*b(at)/Tt);Jt<0&&(Jt+=v),at+=Jt+~~(at/v)*v}else at+=at;Vt=(Tt+Pt)/2,Pt=U(Tt*Pt),Vt=((Tt=Vt)-Pt)/2}return at/(n(2,_t)*Tt)}function Xr(at,ht){var Tt=(M-1)/(M+1),Pt=U(1-Tt*Tt),Vt=La(l,Pt*Pt),_t=-1,Jt=r(b(v/4+E(ht)/2)),Dr=d(_t*Jt)/U(Tt),Hr=An(Dr*x(_t*at),Dr*u(_t*at)),Sr=qn(Hr[0],Hr[1],Pt*Pt);return[-Sr[1],(ht>=0?1:-1)*(.5*Vt-Sr[0])]}function An(at,ht){var Tt=at*at,Pt=ht+1,Vt=1-Tt-ht*ht;return[.5*((at>=0?l:-l)-L(Vt,2*at)),-.25*r(Vt*Vt+4*Tt)+.5*r(Pt*Pt+Tt)]}function In(at,ht){var Tt=ht[0]*ht[0]+ht[1]*ht[1];return[(at[0]*ht[0]+at[1]*ht[1])/Tt,(at[1]*ht[0]-at[0]*ht[1])/Tt]}Xr.invert=function(at,ht){var Tt=(M-1)/(M+1),Pt=U(1-Tt*Tt),Vt=La(l,Pt*Pt),_t=-1,Jt=Sa(.5*Vt-ht,-at,Pt*Pt),Dr=In(Jt[0],Jt[1]),Hr=L(Dr[1],Dr[0])/_t;return[Hr,2*a(d(.5/_t*r(Tt*Dr[0]*Dr[0]+Tt*Dr[1]*Dr[1])))-l]};function jn(){return(0,p.Z)(zn(Xr)).scale(151.496)}var ba=e(7613);function la(at){var ht=u(at),Tt=x(at),Pt=ua(at);Pt.invert=ua(-at);function Vt(_t,Jt){var Dr=Pt(_t,Jt);_t=Dr[0],Jt=Dr[1];var Hr=u(Jt),Sr=x(Jt),Wr=x(_t),Kr=w(ht*Hr+Tt*Sr*Wr),vn=u(Kr),wn=E(vn)>h?Kr/vn:1;return[wn*Tt*u(_t),(E(_t)>l?wn:-wn)*(ht*Sr-Tt*Hr*Wr)]}return Vt.invert=function(_t,Jt){var Dr=U(_t*_t+Jt*Jt),Hr=-u(Dr),Sr=x(Dr),Wr=Dr*Sr,Kr=-Jt*Hr,vn=Dr*ht,wn=U(Wr*Wr+Kr*Kr-vn*vn),Zn=L(Wr*vn+Kr*wn,Kr*vn-Wr*wn),Xn=(Dr>l?-1:1)*L(_t*Hr,Dr*x(Zn)*Sr+Jt*u(Zn)*Hr);return Pt.invert(Xn,Zn)},Vt}function ua(at){var ht=u(at),Tt=x(at);return function(Pt,Vt){var _t=x(Vt),Jt=x(Pt)*_t,Dr=u(Pt)*_t,Hr=u(Vt);return[L(Dr,Jt*Tt-Hr*ht),k(Hr*Tt+Jt*ht)]}}function va(){var at=0,ht=(0,p.r)(la),Tt=ht(at),Pt=Tt.rotate,Vt=Tt.stream,_t=(0,ba.Z)();return Tt.parallel=function(Jt){if(!arguments.length)return at*P;var Dr=Tt.rotate();return ht(at=Jt*A).rotate(Dr)},Tt.rotate=function(Jt){return arguments.length?(Pt.call(Tt,[Jt[0],Jt[1]-at*P]),_t.center([-Jt[0],-Jt[1]]),Tt):(Jt=Pt.call(Tt),Jt[1]+=at*P,Jt)},Tt.stream=function(Jt){return Jt=Vt(Jt),Jt.sphere=function(){Jt.polygonStart();var Dr=.01,Hr=_t.radius(90-Dr)().coordinates[0],Sr=Hr.length-1,Wr=-1,Kr;for(Jt.lineStart();++Wr=0;)Jt.point((Kr=Hr[Wr])[0],Kr[1]);Jt.lineEnd(),Jt.polygonEnd()},Jt},Tt.scale(79.4187).parallel(45).clipAngle(179.999)}var Oa=e(33064),ci=e(72736),Ni=3,sr=k(1-1/Ni)*P,Gr=Dt(0);function yn(at){var ht=sr*A,Tt=je(v,ht)[0]-je(-v,ht)[0],Pt=Gr(0,ht)[1],Vt=je(0,ht)[1],_t=D-Vt,Jt=T/at,Dr=4/T,Hr=Pt+_t*_t*4/T;function Sr(Wr,Kr){var vn,wn=E(Kr);if(wn>ht){var Zn=s(at-1,t(0,m((Wr+v)/Jt)));Wr+=v*(at-1)/at-Zn*Jt,vn=je(Wr,wn),vn[0]=vn[0]*T/Tt-T*(at-1)/(2*at)+Zn*T/at,vn[1]=Pt+(vn[1]-Vt)*4*_t/T,Kr<0&&(vn[1]=-vn[1])}else vn=Gr(Wr,Kr);return vn[0]*=Dr,vn[1]/=Hr,vn}return Sr.invert=function(Wr,Kr){Wr/=Dr,Kr*=Hr;var vn=E(Kr);if(vn>Pt){var wn=s(at-1,t(0,m((Wr+v)/Jt)));Wr=(Wr+v*(at-1)/at-wn*Jt)*Tt/T;var Zn=je.invert(Wr,.25*(vn-Pt)*T/_t+Vt);return Zn[0]-=v*(at-1)/at-wn*Jt,Kr<0&&(Zn[1]=-Zn[1]),Zn}return Gr.invert(Wr,Kr)},Sr}function Bn(at,ht){return[at,ht&1?90-h:sr]}function Nn(at,ht){return[at,ht&1?-90+h:-sr]}function ta(at){return[at[0]*(1-h),at[1]]}function Yn(at){var ht=[].concat((0,Oa.w6)(-180,180+at/2,at).map(Bn),(0,Oa.w6)(180,-180-at/2,-at).map(Nn));return{type:"Polygon",coordinates:[at===180?ht.map(ta):ht]}}function On(){var at=4,ht=(0,p.r)(yn),Tt=ht(at),Pt=Tt.stream;return Tt.lobes=function(Vt){return arguments.length?ht(at=+Vt):at},Tt.stream=function(Vt){var _t=Tt.rotate(),Jt=Pt(Vt),Dr=(Tt.rotate([0,0]),Pt(Vt));return Tt.rotate(_t),Jt.sphere=function(){(0,ci.Z)(Yn(180/at),Dr)},Jt},Tt.scale(239.75)}function en(at){var ht=1+at,Tt=u(1/ht),Pt=k(Tt),Vt=2*U(v/(_t=v+4*Pt*ht)),_t,Jt=.5*Vt*(ht+U(at*(2+at))),Dr=at*at,Hr=ht*ht;function Sr(Wr,Kr){var vn=1-u(Kr),wn,Zn;if(vn&&vn<2){var Xn=l-Kr,aa=25,ja;do{var hi=u(Xn),wi=x(Xn),Ai=Pt+L(hi,ht-wi),Si=1+Hr-2*ht*wi;Xn-=ja=(Xn-Dr*Pt-ht*hi+Si*Ai-.5*vn*_t)/(2*ht*hi*Ai)}while(E(ja)>S&&--aa>0);wn=Vt*U(Si),Zn=Wr*Ai/v}else wn=Vt*(at+vn),Zn=Wr*Pt/v;return[wn*u(Zn),Jt-wn*x(Zn)]}return Sr.invert=function(Wr,Kr){var vn=Wr*Wr+(Kr-=Jt)*Kr,wn=(1+Hr-vn/(Vt*Vt))/(2*ht),Zn=w(wn),Xn=u(Zn),aa=Pt+L(Xn,ht-wn);return[k(Wr/U(vn))*v/aa,k(1-2*(Zn-Dr*Pt-ht*Xn+(1+Hr-2*ht*wn)*aa)/_t)]},Sr}function pr(){var at=1,ht=(0,p.r)(en),Tt=ht(at);return Tt.ratio=function(Pt){return arguments.length?ht(at=+Pt):at},Tt.scale(167.774).center([0,18.67])}var nn=.7109889596207567,Vn=.0528035274542;function ha(at,ht){return ht>-nn?(at=Re(at,ht),at[1]+=Vn,at):lt(at,ht)}ha.invert=function(at,ht){return ht>-nn?Re.invert(at,ht-Vn):lt.invert(at,ht)};function ya(){return(0,p.Z)(ha).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Gn(at,ht){return E(ht)>nn?(at=Re(at,ht),at[1]-=ht>0?Vn:-Vn,at):lt(at,ht)}Gn.invert=function(at,ht){return E(ht)>nn?Re.invert(at,ht+(ht>0?Vn:-Vn)):lt.invert(at,ht)};function na(){return(0,p.Z)(Gn).scale(152.63)}function za(at,ht,Tt,Pt){var Vt=U(4*v/(2*Tt+(1+at-ht/2)*u(2*Tt)+(at+ht)/2*u(4*Tt)+ht/2*u(6*Tt))),_t=U(Pt*u(Tt)*U((1+at*x(2*Tt)+ht*x(4*Tt))/(1+at+ht))),Jt=Tt*Hr(1);function Dr(Kr){return U(1+at*x(2*Kr)+ht*x(4*Kr))}function Hr(Kr){var vn=Kr*Tt;return(2*vn+(1+at-ht/2)*u(2*vn)+(at+ht)/2*u(4*vn)+ht/2*u(6*vn))/Tt}function Sr(Kr){return Dr(Kr)*u(Kr)}var Wr=function(Kr,vn){var wn=Tt*Se(Hr,Jt*u(vn)/Tt,vn/v);isNaN(wn)&&(wn=Tt*c(vn));var Zn=Vt*Dr(wn);return[Zn*_t*Kr/v*x(wn),Zn/_t*u(wn)]};return Wr.invert=function(Kr,vn){var wn=Se(Sr,vn*_t/Vt);return[Kr*v/(x(wn)*Vt*_t*Dr(wn)),k(Tt*Hr(wn/Tt)/Jt)]},Tt===0&&(Vt=U(Pt/v),Wr=function(Kr,vn){return[Kr*Vt,u(vn)/Vt]},Wr.invert=function(Kr,vn){return[Kr/Vt,k(vn*Vt)]}),Wr}function Ya(){var at=1,ht=0,Tt=45*A,Pt=2,Vt=(0,p.r)(za),_t=Vt(at,ht,Tt,Pt);return _t.a=function(Jt){return arguments.length?Vt(at=+Jt,ht,Tt,Pt):at},_t.b=function(Jt){return arguments.length?Vt(at,ht=+Jt,Tt,Pt):ht},_t.psiMax=function(Jt){return arguments.length?Vt(at,ht,Tt=+Jt*A,Pt):Tt*P},_t.ratio=function(Jt){return arguments.length?Vt(at,ht,Tt,Pt=+Jt):Pt},_t.scale(180.739)}function Va(at,ht,Tt,Pt,Vt,_t,Jt,Dr,Hr,Sr,Wr){if(Wr.nanEncountered)return NaN;var Kr,vn,wn,Zn,Xn,aa,ja,hi,wi,Ai;if(Kr=Tt-ht,vn=at(ht+Kr*.25),wn=at(Tt-Kr*.25),isNaN(vn)){Wr.nanEncountered=!0;return}if(isNaN(wn)){Wr.nanEncountered=!0;return}return Zn=Kr*(Pt+4*vn+Vt)/12,Xn=Kr*(Vt+4*wn+_t)/12,aa=Zn+Xn,Ai=(aa-Jt)/15,Sr>Hr?(Wr.maxDepthCount++,aa+Ai):Math.abs(Ai)>1;do Hr[aa]>wn?Xn=aa:Zn=aa,aa=Zn+Xn>>1;while(aa>Zn);var ja=Hr[aa+1]-Hr[aa];return ja&&(ja=(wn-Hr[aa+1])/ja),(aa+1+ja)/Jt}var Kr=2*Wr(1)/v*_t/Tt,vn=function(wn,Zn){var Xn=Wr(E(u(Zn))),aa=Pt(Xn)*wn;return Xn/=Kr,[aa,Zn>=0?Xn:-Xn]};return vn.invert=function(wn,Zn){var Xn;return Zn*=Kr,E(Zn)<1&&(Xn=c(Zn)*k(Vt(E(Zn))*_t)),[wn/Pt(E(Zn)),Xn]},vn}function hs(){var at=0,ht=2.5,Tt=1.183136,Pt=(0,p.r)($a),Vt=Pt(at,ht,Tt);return Vt.alpha=function(_t){return arguments.length?Pt(at=+_t,ht,Tt):at},Vt.k=function(_t){return arguments.length?Pt(at,ht=+_t,Tt):ht},Vt.gamma=function(_t){return arguments.length?Pt(at,ht,Tt=+_t):Tt},Vt.scale(152.63)}function Es(at,ht){return E(at[0]-ht[0])=0;--Hr)Tt=at[1][Hr],Pt=Tt[0][0],Vt=Tt[0][1],_t=Tt[1][1],Jt=Tt[2][0],Dr=Tt[2][1],ht.push(Is([[Jt-h,Dr-h],[Jt-h,_t+h],[Pt+h,_t+h],[Pt+h,Vt-h]],30));return{type:"Polygon",coordinates:[(0,Oa.TS)(ht)]}}function zs(at,ht,Tt){var Pt,Vt;function _t(Hr,Sr){for(var Wr=Sr<0?-1:1,Kr=ht[+(Sr<0)],vn=0,wn=Kr.length-1;vnKr[vn][2][0];++vn);var Zn=at(Hr-Kr[vn][1][0],Sr);return Zn[0]+=at(Kr[vn][1][0],Wr*Sr>Wr*Kr[vn][0][1]?Kr[vn][0][1]:Sr)[0],Zn}Tt?_t.invert=Tt(_t):at.invert&&(_t.invert=function(Hr,Sr){for(var Wr=Vt[+(Sr<0)],Kr=ht[+(Sr<0)],vn=0,wn=Wr.length;vnZn&&(Xn=wn,wn=Zn,Zn=Xn),[[Kr,wn],[vn,Zn]]})}),Jt):ht.map(function(Sr){return Sr.map(function(Wr){return[[Wr[0][0]*P,Wr[0][1]*P],[Wr[1][0]*P,Wr[1][1]*P],[Wr[2][0]*P,Wr[2][1]*P]]})})},ht!=null&&Jt.lobes(ht),Jt}var Hf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Vi(){return zs($e,Hf).scale(160.857)}var Ui=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function nu(){return zs(Gn,Ui).scale(152.63)}var Qo=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Ts(){return zs(Re,Qo).scale(169.529)}var Vf=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function _u(){return zs(Re,Vf).scale(169.529).rotate([20,0])}var Po=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function gf(){return zs(ha,Po,Ee).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var Fs=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function ts(){return zs(lt,Fs).scale(152.63).rotate([-20,0])}function Ws(at,ht){return[3/T*at*U(v*v/3-ht*ht),ht]}Ws.invert=function(at,ht){return[T/3*at/U(v*v/3-ht*ht),ht]};function rs(){return(0,p.Z)(Ws).scale(158.837)}function ns(at){function ht(Tt,Pt){if(E(E(Pt)-l)2)return null;Tt/=2,Pt/=2;var _t=Tt*Tt,Jt=Pt*Pt,Dr=2*Pt/(1+_t+Jt);return Dr=n((1+Dr)/(1-Dr),1/at),[L(2*Tt,1-_t-Jt)/at,k((Dr-1)/(Dr+1))]},ht}function ks(){var at=.5,ht=(0,p.r)(ns),Tt=ht(at);return Tt.spacing=function(Pt){return arguments.length?ht(at=+Pt):at},Tt.scale(124.75)}var qo=v/M;function us(at,ht){return[at*(1+U(x(ht)))/2,ht/(x(ht/2)*x(at/6))]}us.invert=function(at,ht){var Tt=E(at),Pt=E(ht),Vt=h,_t=l;Pth||E(aa)>h)&&--Vt>0);return Vt&&[Tt,Pt]};function ds(){return(0,p.Z)(Dl).scale(139.98)}function mu(at,ht){return[u(at)/x(ht),b(ht)*x(at)]}mu.invert=function(at,ht){var Tt=at*at,Pt=ht*ht,Vt=Pt+1,_t=Tt+Vt,Jt=at?C*U((_t-U(_t*_t-4*Tt))/Tt):1/U(Vt);return[k(at*Jt),c(ht)*w(Jt)]};function tl(){return(0,p.Z)(mu).scale(144.049).clipAngle(89.999)}function ml(at){var ht=x(at),Tt=b(g+at/2);function Pt(Vt,_t){var Jt=_t-at,Dr=E(Jt)=0;)Wr=at[Sr],Kr=Wr[0]+Dr*(wn=Kr)-Hr*vn,vn=Wr[1]+Dr*vn+Hr*wn;return Kr=Dr*(wn=Kr)-Hr*vn,vn=Dr*vn+Hr*wn,[Kr,vn]}return Tt.invert=function(Pt,Vt){var _t=20,Jt=Pt,Dr=Vt;do{for(var Hr=ht,Sr=at[Hr],Wr=Sr[0],Kr=Sr[1],vn=0,wn=0,Zn;--Hr>=0;)Sr=at[Hr],vn=Wr+Jt*(Zn=vn)-Dr*wn,wn=Kr+Jt*wn+Dr*Zn,Wr=Sr[0]+Jt*(Zn=Wr)-Dr*Kr,Kr=Sr[1]+Jt*Kr+Dr*Zn;vn=Wr+Jt*(Zn=vn)-Dr*wn,wn=Kr+Jt*wn+Dr*Zn,Wr=Jt*(Zn=Wr)-Dr*Kr-Pt,Kr=Jt*Kr+Dr*Zn-Vt;var Xn=vn*vn+wn*wn,aa,ja;Jt-=aa=(Wr*vn+Kr*wn)/Xn,Dr-=ja=(Kr*vn-Wr*wn)/Xn}while(E(aa)+E(ja)>h*h&&--_t>0);if(_t){var hi=U(Jt*Jt+Dr*Dr),wi=2*a(hi*.5),Ai=u(wi);return[L(Jt*Ai,hi*x(wi)),hi?k(Dr*Ai/hi):0]}},Tt}var rf=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Tc=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Gf=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Wf=[[.9245,0],[0,0],[.01943,0]],Vc=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Gc(){return yu(rf,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Yf(){return yu(Tc,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Bs(){return yu(Gf,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Ac(){return yu(Wf,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Sc(){return yu(Vc,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function yu(at,ht){var Tt=(0,p.Z)(gu(at)).rotate(ht).clipAngle(90),Pt=(0,Ue.Z)(ht),Vt=Tt.center;return delete Tt.rotate,Tt.center=function(_t){return arguments.length?Vt(Pt(_t)):Pt.invert(Vt())},Tt}var Fo=U(6),xu=U(7);function Wl(at,ht){var Tt=k(7*u(ht)/(3*Fo));return[Fo*at*(2*x(2*Tt/3)-1)/xu,9*u(Tt/3)/xu]}Wl.invert=function(at,ht){var Tt=3*k(ht*xu/9);return[at*xu/(Fo*(2*x(2*Tt/3)-1)),k(u(Tt)*3*Fo/7)]};function m0(){return(0,p.Z)(Wl).scale(164.859)}function rl(at,ht){for(var Tt=(1+C)*u(ht),Pt=ht,Vt=0,_t;Vt<25&&(Pt-=_t=(u(Pt/2)+u(Pt)-Tt)/(.5*x(Pt/2)+x(Pt)),!(E(_t)S&&--Pt>0);return _t=Tt*Tt,Jt=_t*_t,Dr=_t*Jt,[at/(.84719-.13063*_t+Dr*Dr*(-.04515+.05494*_t-.02326*Jt+.00331*Dr)),Tt]};function Nu(){return(0,p.Z)(nl).scale(175.295)}function vs(at,ht){return[at*(1+x(ht))/2,2*(ht-b(ht/2))]}vs.invert=function(at,ht){for(var Tt=ht/2,Pt=0,Vt=1/0;Pt<10&&E(Vt)>h;++Pt){var _t=x(ht/2);ht-=Vt=(ht-b(ht/2)-Tt)/(1-.5/(_t*_t))}return[2*at/(1+x(ht)),ht]};function al(){return(0,p.Z)(vs).scale(152.63)}var yl=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function Uu(){return zs(le(1/0),yl).rotate([20,0]).scale(152.63)}function Rl(at,ht){var Tt=u(ht),Pt=x(ht),Vt=c(at);if(at===0||E(ht)===l)return[0,ht];if(ht===0)return[at,0];if(E(at)===l)return[at*Pt,l*Tt];var _t=v/(2*at)-2*at/v,Jt=2*ht/v,Dr=(1-Jt*Jt)/(Tt-Jt),Hr=_t*_t,Sr=Dr*Dr,Wr=1+Hr/Sr,Kr=1+Sr/Hr,vn=(_t*Tt/Dr-_t/2)/Wr,wn=(Sr*Tt/Hr+Dr/2)/Kr,Zn=vn*vn+Pt*Pt/Wr,Xn=wn*wn-(Sr*Tt*Tt/Hr+Dr*Tt-1)/Kr;return[l*(vn+U(Zn)*Vt),l*(wn+U(Xn<0?0:Xn)*c(-ht*_t)*Vt)]}Rl.invert=function(at,ht){at/=l,ht/=l;var Tt=at*at,Pt=ht*ht,Vt=Tt+Pt,_t=v*v;return[at?(Vt-1+U((1-Vt)*(1-Vt)+4*Tt))/(2*at)*l:0,Se(function(Jt){return Vt*(v*u(Jt)-2*Jt)*v+4*Jt*Jt*(ht-u(Jt))+2*v*Jt-_t*ht},0)]};function Yl(){return(0,p.Z)(Rl).scale(127.267)}var Ho=1.0148,yf=.23185,Zs=-.14499,au=.02406,Hu=Ho,Il=5*yf,iu=7*Zs,As=9*au,ps=1.790857183;function Js(at,ht){var Tt=ht*ht;return[at,ht*(Ho+Tt*Tt*(yf+Tt*(Zs+au*Tt)))]}Js.invert=function(at,ht){ht>ps?ht=ps:ht<-ps&&(ht=-ps);var Tt=ht,Pt;do{var Vt=Tt*Tt;Tt-=Pt=(Tt*(Ho+Vt*Vt*(yf+Vt*(Zs+au*Vt)))-ht)/(Hu+Vt*Vt*(Il+Vt*(iu+As*Vt)))}while(E(Pt)>h);return[at,Tt]};function Wc(){return(0,p.Z)(Js).scale(139.319)}function Mc(at,ht){if(E(ht)h&&--Vt>0);return Jt=b(Pt),[(E(ht)=0;)if(Pt=ht[Dr],Tt[0]===Pt[0]&&Tt[1]===Pt[1]){if(_t)return[_t,Tt];_t=Tt}}}function wu(at){for(var ht=at.length,Tt=[],Pt=at[ht-1],Vt=0;Vt0?[-Pt[0],0]:[180-Pt[0],180])};var ht=ms.map(function(Tt){return{face:Tt,project:at(Tt)}});return[-1,0,0,1,0,1,4,5].forEach(function(Tt,Pt){var Vt=ht[Tt];Vt&&(Vt.children||(Vt.children=[])).push(ht[Pt])}),fo(ht[0],function(Tt,Pt){return ht[Tt<-v/2?Pt<0?6:4:Tt<0?Pt<0?2:0:TtPt^wn>Pt&&Tt<(vn-Sr)*(Pt-Wr)/(wn-Wr)+Sr&&(Vt=!Vt)}return Vt}function jc(at,ht){var Tt=ht.stream,Pt;if(!Tt)throw new Error("invalid projection");switch(at&&at.type){case"Feature":Pt=Zl;break;case"FeatureCollection":Pt=wf;break;default:Pt=Tl;break}return Pt(at,Tt)}function wf(at,ht){return{type:"FeatureCollection",features:at.features.map(function(Tt){return Zl(Tt,ht)})}}function Zl(at,ht){return{type:"Feature",id:at.id,properties:at.properties,geometry:Tl(at.geometry,ht)}}function Vo(at,ht){return{type:"GeometryCollection",geometries:at.geometries.map(function(Tt){return Tl(Tt,ht)})}}function Tl(at,ht){if(!at)return null;if(at.type==="GeometryCollection")return Vo(at,ht);var Tt;switch(at.type){case"Point":Tt=ou;break;case"MultiPoint":Tt=ou;break;case"LineString":Tt=Mu;break;case"MultiLineString":Tt=Mu;break;case"Polygon":Tt=Wu;break;case"MultiPolygon":Tt=Wu;break;case"Sphere":Tt=Wu;break;default:return null}return(0,ci.Z)(at,ht(Tt)),Tt.result()}var Ms=[],Ls=[],ou={point:function(at,ht){Ms.push([at,ht])},result:function(){var at=Ms.length?Ms.length<2?{type:"Point",coordinates:Ms[0]}:{type:"MultiPoint",coordinates:Ms}:null;return Ms=[],at}},Mu={lineStart:$f,point:function(at,ht){Ms.push([at,ht])},lineEnd:function(){Ms.length&&(Ls.push(Ms),Ms=[])},result:function(){var at=Ls.length?Ls.length<2?{type:"LineString",coordinates:Ls[0]}:{type:"MultiLineString",coordinates:Ls}:null;return Ls=[],at}},Wu={polygonStart:$f,lineStart:$f,point:function(at,ht){Ms.push([at,ht])},lineEnd:function(){var at=Ms.length;if(at){do Ms.push(Ms[0].slice());while(++at<4);Ls.push(Ms),Ms=[]}},polygonEnd:$f,result:function(){if(!Ls.length)return null;var at=[],ht=[];return Ls.forEach(function(Tt){Zc(Tt)?at.push([Tt]):ht.push(Tt)}),ht.forEach(function(Tt){var Pt=Tt[0];at.some(function(Vt){if(y0(Vt[0],Pt))return Vt.push(Tt),!0})||at.push([Tt])}),Ls=[],at.length?at.length>1?{type:"MultiPolygon",coordinates:at}:{type:"Polygon",coordinates:at[0]}:null}};function Al(at){var ht=at(l,0)[0]-at(-l,0)[0];function Tt(Pt,Vt){var _t=E(Pt)0?Pt-v:Pt+v,Vt),Dr=(Jt[0]-Jt[1])*C,Hr=(Jt[0]+Jt[1])*C;if(_t)return[Dr,Hr];var Sr=ht*C,Wr=Dr>0^Hr>0?-1:1;return[Wr*Dr-c(Hr)*Sr,Wr*Hr-c(Dr)*Sr]}return at.invert&&(Tt.invert=function(Pt,Vt){var _t=(Pt+Vt)*C,Jt=(Vt-Pt)*C,Dr=E(_t)<.5*ht&&E(Jt)<.5*ht;if(!Dr){var Hr=ht*C,Sr=_t>0^Jt>0?-1:1,Wr=-Sr*Pt+(Jt>0?1:-1)*Hr,Kr=-Sr*Vt+(_t>0?1:-1)*Hr;_t=(-Wr-Kr)*C,Jt=(Wr-Kr)*C}var vn=at.invert(_t,Jt);return Dr||(vn[0]+=_t>0?v:-v),vn}),(0,p.Z)(Tt).rotate([-90,-90,45]).clipAngle(179.999)}function zl(){return Al(gn).scale(176.423)}function jl(){return Al(Xr).scale(111.48)}function Tf(at,ht){if(!(0<=(ht=+ht)&&ht<=20))throw new Error("invalid digits");function Tt(Sr){var Wr=Sr.length,Kr=2,vn=new Array(Wr);for(vn[0]=+Sr[0].toFixed(ht),vn[1]=+Sr[1].toFixed(ht);Kr2||wn[0]!=Wr[0]||wn[1]!=Wr[1])&&(Kr.push(wn),Wr=wn)}return Kr.length===1&&Sr.length>1&&Kr.push(Tt(Sr[Sr.length-1])),Kr}function _t(Sr){return Sr.map(Vt)}function Jt(Sr){if(Sr==null)return Sr;var Wr;switch(Sr.type){case"GeometryCollection":Wr={type:"GeometryCollection",geometries:Sr.geometries.map(Jt)};break;case"Point":Wr={type:"Point",coordinates:Tt(Sr.coordinates)};break;case"MultiPoint":Wr={type:Sr.type,coordinates:Pt(Sr.coordinates)};break;case"LineString":Wr={type:Sr.type,coordinates:Vt(Sr.coordinates)};break;case"MultiLineString":case"Polygon":Wr={type:Sr.type,coordinates:_t(Sr.coordinates)};break;case"MultiPolygon":Wr={type:"MultiPolygon",coordinates:Sr.coordinates.map(_t)};break;default:return Sr}return Sr.bbox!=null&&(Wr.bbox=Sr.bbox),Wr}function Dr(Sr){var Wr={type:"Feature",properties:Sr.properties,geometry:Jt(Sr.geometry)};return Sr.id!=null&&(Wr.id=Sr.id),Sr.bbox!=null&&(Wr.bbox=Sr.bbox),Wr}if(at!=null)switch(at.type){case"Feature":return Dr(at);case"FeatureCollection":{var Hr={type:"FeatureCollection",features:at.features.map(Dr)};return at.bbox!=null&&(Hr.bbox=at.bbox),Hr}default:return Jt(at)}return at}function Kf(at){var ht=u(at);function Tt(Pt,Vt){var _t=ht?b(Pt*ht/2)/ht:Pt/2;if(!Vt)return[2*_t,-at];var Jt=2*a(_t*u(Vt)),Dr=1/b(Vt);return[u(Jt)*Dr,Vt+(1-x(Jt))*Dr-at]}return Tt.invert=function(Pt,Vt){if(E(Vt+=at)h&&--Dr>0);var vn=Pt*(Sr=b(Jt)),wn=b(E(Vt)0?l:-l)*(Hr+Vt*(Wr-Jt)/2+Vt*Vt*(Wr-2*Hr+Jt)/2)]}Xl.invert=function(at,ht){var Tt=ht/l,Pt=Tt*90,Vt=s(18,E(Pt/5)),_t=t(0,m(Vt));do{var Jt=as[_t][1],Dr=as[_t+1][1],Hr=as[s(19,_t+2)][1],Sr=Hr-Jt,Wr=Hr-2*Dr+Jt,Kr=2*(E(Tt)-Dr)/Sr,vn=Wr/Sr,wn=Kr*(1-vn*Kr*(1-2*vn*Kr));if(wn>=0||_t===1){Pt=(ht>=0?5:-5)*(wn+Vt);var Zn=50,Xn;do Vt=s(18,E(Pt)/5),_t=m(Vt),wn=Vt-_t,Jt=as[_t][1],Dr=as[_t+1][1],Hr=as[s(19,_t+2)][1],Pt-=(Xn=(ht>=0?l:-l)*(Dr+wn*(Hr-Jt)/2+wn*wn*(Hr-2*Dr+Jt)/2)-ht)*P;while(E(Xn)>S&&--Zn>0);break}}while(--_t>=0);var aa=as[_t][0],ja=as[_t+1][0],hi=as[s(19,_t+2)][0];return[at/(ja+wn*(hi-aa)/2+wn*wn*(hi-2*ja+aa)/2),Pt*A]};function Af(){return(0,p.Z)(Xl).scale(152.63)}function Sf(at){function ht(Tt,Pt){var Vt=x(Pt),_t=(at-1)/(at-Vt*x(Tt));return[_t*Vt*u(Tt),_t*u(Pt)]}return ht.invert=function(Tt,Pt){var Vt=Tt*Tt+Pt*Pt,_t=U(Vt),Jt=(at-U(1-Vt*(at+1)/(at-1)))/((at-1)/_t+_t/(at-1));return[L(Tt*Jt,_t*U(1-Jt*Jt)),_t?k(Pt*Jt/_t):0]},ht}function Yu(at,ht){var Tt=Sf(at);if(!ht)return Tt;var Pt=x(ht),Vt=u(ht);function _t(Jt,Dr){var Hr=Tt(Jt,Dr),Sr=Hr[1],Wr=Sr*Vt/(at-1)+Pt;return[Hr[0]*Pt/Wr,Sr/Wr]}return _t.invert=function(Jt,Dr){var Hr=(at-1)/(at-1-Dr*Vt);return Tt.invert(Hr*Jt,Hr*Dr*Pt)},_t}function Mf(){var at=2,ht=0,Tt=(0,p.r)(Yu),Pt=Tt(at,ht);return Pt.distance=function(Vt){return arguments.length?Tt(at=+Vt,ht):at},Pt.tilt=function(Vt){return arguments.length?Tt(at,ht=Vt*A):ht*P},Pt.scale(432.147).clipAngle(w(1/at)*P-1e-6)}var Sl=1e-4,Cf=1e4,su=-180,jr=su+Sl,Jf=180,Eu=Jf-Sl,no=-90,Fl=no+Sl,lu=90,Ef=lu-Sl;function ku(at){return at.length>0}function Xc(at){return Math.floor(at*Cf)/Cf}function uf(at){return at===no||at===lu?[0,at]:[su,Xc(at)]}function Zu(at){var ht=at[0],Tt=at[1],Pt=!1;return ht<=jr?(ht=su,Pt=!0):ht>=Eu&&(ht=Jf,Pt=!0),Tt<=Fl?(Tt=no,Pt=!0):Tt>=Ef&&(Tt=lu,Pt=!0),Pt?[ht,Tt]:at}function Qf(at){return at.map(Zu)}function qf(at,ht,Tt){for(var Pt=0,Vt=at.length;Pt=Eu||Wr<=Fl||Wr>=Ef){_t[Jt]=Zu(Hr);for(var Kr=Jt+1;Krjr&&wnFl&&Zn=Dr)break;Tt.push({index:-1,polygon:ht,ring:_t=_t.slice(Kr-1)}),_t[0]=uf(_t[0][1]),Jt=-1,Dr=_t.length}}}}function Bl(at){var ht,Tt=at.length,Pt={},Vt={},_t,Jt,Dr,Hr,Sr;for(ht=0;ht0?v-Dr:Dr)*P],Sr=(0,p.Z)(at(Jt)).rotate(Hr),Wr=(0,Ue.Z)(Hr),Kr=Sr.center;return delete Sr.rotate,Sr.center=function(vn){return arguments.length?Kr(Wr(vn)):Wr.invert(Kr())},Sr.clipAngle(90)}function ec(at){var ht=x(at);function Tt(Pt,Vt){var _t=(0,jo.M)(Pt,Vt);return _t[0]*=ht,_t}return Tt.invert=function(Pt,Vt){return jo.M.invert(Pt/ht,Vt)},Tt}function jt(){return Le([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Le(at,ht){return Ml(ec,at,ht)}function Be(at){if(!(at*=2))return fe.N;var ht=-at/2,Tt=-ht,Pt=at*at,Vt=b(Tt),_t=.5/u(Tt);function Jt(Dr,Hr){var Sr=w(x(Hr)*x(Dr-ht)),Wr=w(x(Hr)*x(Dr-Tt)),Kr=Hr<0?-1:1;return Sr*=Sr,Wr*=Wr,[(Sr-Wr)/(2*at),Kr*U(4*Pt*Wr-(Pt-Sr+Wr)*(Pt-Sr+Wr))/(2*at)]}return Jt.invert=function(Dr,Hr){var Sr=Hr*Hr,Wr=x(U(Sr+(vn=Dr+ht)*vn)),Kr=x(U(Sr+(vn=Dr+Tt)*vn)),vn,wn;return[L(wn=Wr-Kr,vn=(Wr+Kr)*Vt),(Hr<0?-1:1)*w(U(vn*vn+wn*wn)*_t)]},Jt}function Ve(){return nt([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function nt(at,ht){return Ml(Be,at,ht)}function Lt(at,ht){if(E(ht)h&&--Dr>0);return[c(at)*(U(Vt*Vt+4)+Vt)*v/4,l*Jt]};function ga(){return(0,p.Z)(Jn).scale(127.16)}function Pa(at,ht,Tt,Pt,Vt){function _t(Jt,Dr){var Hr=Tt*u(Pt*Dr),Sr=U(1-Hr*Hr),Wr=U(2/(1+Sr*x(Jt*=Vt)));return[at*Sr*Wr*u(Jt),ht*Hr*Wr]}return _t.invert=function(Jt,Dr){var Hr=Jt/at,Sr=Dr/ht,Wr=U(Hr*Hr+Sr*Sr),Kr=2*k(Wr/2);return[L(Jt*b(Kr),at*Wr)/Vt,Wr&&k(Dr*u(Kr)/(ht*Tt*Wr))/Pt]},_t}function Ra(at,ht,Tt,Pt){var Vt=v/3;at=t(at,h),ht=t(ht,h),at=s(at,l),ht=s(ht,v-h),Tt=t(Tt,0),Tt=s(Tt,100-h),Pt=t(Pt,h);var _t=Tt/100+1,Jt=Pt/100,Dr=w(_t*x(Vt))/Vt,Hr=u(at)/u(Dr*l),Sr=ht/v,Wr=U(Jt*u(at/2)/u(ht/2)),Kr=Wr/U(Sr*Hr*Dr),vn=1/(Wr*U(Sr*Hr*Dr));return Pa(Kr,vn,Hr,Dr,Sr)}function ri(){var at=65*A,ht=60*A,Tt=20,Pt=200,Vt=(0,p.r)(Ra),_t=Vt(at,ht,Tt,Pt);return _t.poleline=function(Jt){return arguments.length?Vt(at=+Jt*A,ht,Tt,Pt):at*P},_t.parallels=function(Jt){return arguments.length?Vt(at,ht=+Jt*A,Tt,Pt):ht*P},_t.inflation=function(Jt){return arguments.length?Vt(at,ht,Tt=+Jt,Pt):Tt},_t.ratio=function(Jt){return arguments.length?Vt(at,ht,Tt,Pt=+Jt):Pt},_t.scale(163.775)}function Ka(){return ri().poleline(65).parallels(60).inflation(0).ratio(200).scale(172.633)}var Ti=4*v+3*U(3),_i=2*U(2*v*U(3)/Ti),Li=Te(_i*U(3)/v,_i,Ti/6);function Xi(){return(0,p.Z)(Li).scale(176.84)}function ao(at,ht){return[at*U(1-3*ht*ht/(v*v)),ht]}ao.invert=function(at,ht){return[at/U(1-3*ht*ht/(v*v)),ht]};function Eo(){return(0,p.Z)(ao).scale(152.63)}function io(at,ht){var Tt=x(ht),Pt=x(at)*Tt,Vt=1-Pt,_t=x(at=L(u(at)*Tt,-u(ht))),Jt=u(at);return Tt=U(1-Pt*Pt),[Jt*Tt-_t*Vt,-_t*Tt-Jt*Vt]}io.invert=function(at,ht){var Tt=(at*at+ht*ht)/-2,Pt=U(-Tt*(2+Tt)),Vt=ht*Tt+at*Pt,_t=at*Tt-ht*Pt,Jt=U(_t*_t+Vt*Vt);return[L(Pt*Vt,Jt*(1+Tt)),Jt?-k(Pt*_t/Jt):0]};function po(){return(0,p.Z)(io).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function Ro(at,ht){var Tt=j(at,ht);return[(Tt[0]+at/l)/2,(Tt[1]+ht)/2]}Ro.invert=function(at,ht){var Tt=at,Pt=ht,Vt=25;do{var _t=x(Pt),Jt=u(Pt),Dr=u(2*Pt),Hr=Jt*Jt,Sr=_t*_t,Wr=u(Tt),Kr=x(Tt/2),vn=u(Tt/2),wn=vn*vn,Zn=1-Sr*Kr*Kr,Xn=Zn?w(_t*Kr)*U(aa=1/Zn):aa=0,aa,ja=.5*(2*Xn*_t*vn+Tt/l)-at,hi=.5*(Xn*Jt+Pt)-ht,wi=.5*aa*(Sr*wn+Xn*_t*Kr*Hr)+.5/l,Ai=aa*(Wr*Dr/4-Xn*Jt*vn),Si=.125*aa*(Dr*vn-Xn*Jt*Sr*Wr),eo=.5*aa*(Hr*Kr+Xn*wn*_t)+.5,Lo=Ai*Si-eo*wi,mo=(hi*Ai-ja*eo)/Lo,de=(ja*Si-hi*wi)/Lo;Tt-=mo,Pt-=de}while((E(mo)>h||E(de)>h)&&--Vt>0);return[Tt,Pt]};function ko(){return(0,p.Z)(Ro).scale(158.837)}},33940:function(B,O,e){e.d(O,{Z:function(){return p}});function p(){return new E}function E(){this.reset()}E.prototype={constructor:E,reset:function(){this.s=this.t=0},add:function(x){L(a,x,this.t),L(this,a.s,this.s),this.s?this.t+=a.t:this.s=a.t},valueOf:function(){return this.s}};var a=new E;function L(x,d,m){var r=x.s=d+m,t=r-d,s=r-t;x.t=d-s+(m-t)}},97860:function(B,O,e){e.d(O,{L9:function(){return x},ZP:function(){return S},gL:function(){return f}});var p=e(33940),E=e(39695),a=e(73182),L=e(72736),x=(0,p.Z)(),d=(0,p.Z)(),m,r,t,s,n,f={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){x.reset(),f.lineStart=c,f.lineEnd=u},polygonEnd:function(){var v=+x;d.add(v<0?E.BZ+v:v),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){d.add(E.BZ)}};function c(){f.point=b}function u(){h(m,r)}function b(v,l){f.point=h,m=v,r=l,v*=E.uR,l*=E.uR,t=v,s=(0,E.mC)(l=l/2+E.pu),n=(0,E.O$)(l)}function h(v,l){v*=E.uR,l*=E.uR,l=l/2+E.pu;var g=v-t,C=g>=0?1:-1,M=C*g,D=(0,E.mC)(l),T=(0,E.O$)(l),P=n*T,A=s*D+P*(0,E.mC)(M),o=P*C*(0,E.O$)(M);x.add((0,E.fv)(o,A)),t=v,s=D,n=T}function S(v){return d.reset(),(0,L.Z)(v,f),d*2}},77338:function(B,O,e){e.d(O,{Z:function(){return k}});var p=e(33940),E=e(97860),a=e(7620),L=e(39695),x=e(72736),d,m,r,t,s,n,f,c,u=(0,p.Z)(),b,h,S={point:v,lineStart:g,lineEnd:C,polygonStart:function(){S.point=M,S.lineStart=D,S.lineEnd=T,u.reset(),E.gL.polygonStart()},polygonEnd:function(){E.gL.polygonEnd(),S.point=v,S.lineStart=g,S.lineEnd=C,E.L9<0?(d=-(r=180),m=-(t=90)):u>L.Ho?t=90:u<-L.Ho&&(m=-90),h[0]=d,h[1]=r},sphere:function(){d=-(r=180),m=-(t=90)}};function v(w,U){b.push(h=[d=w,r=w]),Ut&&(t=U)}function l(w,U){var F=(0,a.Og)([w*L.uR,U*L.uR]);if(c){var G=(0,a.T5)(c,F),_=[G[1],-G[0],0],H=(0,a.T5)(_,G);(0,a.iJ)(H),H=(0,a.Y1)(H);var V=w-s,N=V>0?1:-1,W=H[0]*L.RW*N,j,Q=(0,L.Wn)(V)>180;Q^(N*st&&(t=j)):(W=(W+360)%360-180,Q^(N*st&&(t=U))),Q?wP(d,r)&&(r=w):P(w,r)>P(d,r)&&(d=w):r>=d?(wr&&(r=w)):w>s?P(d,w)>P(d,r)&&(r=w):P(w,r)>P(d,r)&&(d=w)}else b.push(h=[d=w,r=w]);Ut&&(t=U),c=F,s=w}function g(){S.point=l}function C(){h[0]=d,h[1]=r,S.point=v,c=null}function M(w,U){if(c){var F=w-s;u.add((0,L.Wn)(F)>180?F+(F>0?360:-360):F)}else n=w,f=U;E.gL.point(w,U),l(w,U)}function D(){E.gL.lineStart()}function T(){M(n,f),E.gL.lineEnd(),(0,L.Wn)(u)>L.Ho&&(d=-(r=180)),h[0]=d,h[1]=r,c=null}function P(w,U){return(U-=w)<0?U+360:U}function A(w,U){return w[0]-U[0]}function o(w,U){return w[0]<=w[1]?w[0]<=U&&U<=w[1]:UP(G[0],G[1])&&(G[1]=_[1]),P(_[0],G[1])>P(G[0],G[1])&&(G[0]=_[0])):H.push(G=_);for(V=-1/0,F=H.length-1,U=0,G=H[F];U<=F;G=_,++U)_=H[U],(N=P(G[1],_[0]))>V&&(V=N,d=_[0],r=G[1])}return b=h=null,d===1/0||m===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,m],[r,t]]}},7620:function(B,O,e){e.d(O,{Og:function(){return a},T:function(){return m},T5:function(){return x},Y1:function(){return E},iJ:function(){return r},j9:function(){return L},s0:function(){return d}});var p=e(39695);function E(t){return[(0,p.fv)(t[1],t[0]),(0,p.ZR)(t[2])]}function a(t){var s=t[0],n=t[1],f=(0,p.mC)(n);return[f*(0,p.mC)(s),f*(0,p.O$)(s),(0,p.O$)(n)]}function L(t,s){return t[0]*s[0]+t[1]*s[1]+t[2]*s[2]}function x(t,s){return[t[1]*s[2]-t[2]*s[1],t[2]*s[0]-t[0]*s[2],t[0]*s[1]-t[1]*s[0]]}function d(t,s){t[0]+=s[0],t[1]+=s[1],t[2]+=s[2]}function m(t,s){return[t[0]*s,t[1]*s,t[2]*s]}function r(t){var s=(0,p._b)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=s,t[1]/=s,t[2]/=s}},66624:function(B,O,e){e.d(O,{Z:function(){return F}});var p=e(39695),E=e(73182),a=e(72736),L,x,d,m,r,t,s,n,f,c,u,b,h,S,v,l,g={sphere:E.Z,point:C,lineStart:D,lineEnd:A,polygonStart:function(){g.lineStart=o,g.lineEnd=k},polygonEnd:function(){g.lineStart=D,g.lineEnd=A}};function C(G,_){G*=p.uR,_*=p.uR;var H=(0,p.mC)(_);M(H*(0,p.mC)(G),H*(0,p.O$)(G),(0,p.O$)(_))}function M(G,_,H){++L,d+=(G-d)/L,m+=(_-m)/L,r+=(H-r)/L}function D(){g.point=T}function T(G,_){G*=p.uR,_*=p.uR;var H=(0,p.mC)(_);S=H*(0,p.mC)(G),v=H*(0,p.O$)(G),l=(0,p.O$)(_),g.point=P,M(S,v,l)}function P(G,_){G*=p.uR,_*=p.uR;var H=(0,p.mC)(_),V=H*(0,p.mC)(G),N=H*(0,p.O$)(G),W=(0,p.O$)(_),j=(0,p.fv)((0,p._b)((j=v*W-l*N)*j+(j=l*V-S*W)*j+(j=S*N-v*V)*j),S*V+v*N+l*W);x+=j,t+=j*(S+(S=V)),s+=j*(v+(v=N)),n+=j*(l+(l=W)),M(S,v,l)}function A(){g.point=C}function o(){g.point=w}function k(){U(b,h),g.point=C}function w(G,_){b=G,h=_,G*=p.uR,_*=p.uR,g.point=U;var H=(0,p.mC)(_);S=H*(0,p.mC)(G),v=H*(0,p.O$)(G),l=(0,p.O$)(_),M(S,v,l)}function U(G,_){G*=p.uR,_*=p.uR;var H=(0,p.mC)(_),V=H*(0,p.mC)(G),N=H*(0,p.O$)(G),W=(0,p.O$)(_),j=v*W-l*N,Q=l*V-S*W,ie=S*N-v*V,ue=(0,p._b)(j*j+Q*Q+ie*ie),pe=(0,p.ZR)(ue),q=ue&&-pe/ue;f+=q*j,c+=q*Q,u+=q*ie,x+=pe,t+=pe*(S+(S=V)),s+=pe*(v+(v=N)),n+=pe*(l+(l=W)),M(S,v,l)}function F(G){L=x=d=m=r=t=s=n=f=c=u=0,(0,a.Z)(G,g);var _=f,H=c,V=u,N=_*_+H*H+V*V;return N0?fc)&&(f+=n*a.BZ));for(var S,v=f;n>0?v>c:v0?E.pi:-E.pi,u=(0,E.Wn)(n-m);(0,E.Wn)(u-E.pi)0?E.ou:-E.ou),d.point(t,r),d.lineEnd(),d.lineStart(),d.point(c,r),d.point(n,r),s=0):t!==c&&u>=E.pi&&((0,E.Wn)(m-t)E.Ho?(0,E.z4)(((0,E.O$)(m)*(n=(0,E.mC)(t))*(0,E.O$)(r)-(0,E.O$)(t)*(s=(0,E.mC)(m))*(0,E.O$)(d))/(s*n*f)):(m+t)/2}function x(d,m,r,t){var s;if(d==null)s=r*E.ou,t.point(-E.pi,s),t.point(0,s),t.point(E.pi,s),t.point(E.pi,0),t.point(E.pi,-s),t.point(0,-s),t.point(-E.pi,-s),t.point(-E.pi,0),t.point(-E.pi,s);else if((0,E.Wn)(d[0]-m[0])>E.Ho){var n=d[0]1&&a.push(a.pop().concat(a.shift()))},result:function(){var x=a;return a=[],L=null,x}}}},1457:function(B,O,e){e.d(O,{Z:function(){return d}});var p=e(7620),E=e(7613),a=e(39695),L=e(67108),x=e(97023);function d(m){var r=(0,a.mC)(m),t=6*a.uR,s=r>0,n=(0,a.Wn)(r)>a.Ho;function f(S,v,l,g){(0,E.m)(g,m,t,l,S,v)}function c(S,v){return(0,a.mC)(S)*(0,a.mC)(v)>r}function u(S){var v,l,g,C,M;return{lineStart:function(){C=g=!1,M=1},point:function(D,T){var P=[D,T],A,o=c(D,T),k=s?o?0:h(D,T):o?h(D+(D<0?a.pi:-a.pi),T):0;if(!v&&(C=g=o)&&S.lineStart(),o!==g&&(A=b(v,P),(!A||(0,L.Z)(v,A)||(0,L.Z)(P,A))&&(P[2]=1)),o!==g)M=0,o?(S.lineStart(),A=b(P,v),S.point(A[0],A[1])):(A=b(v,P),S.point(A[0],A[1],2),S.lineEnd()),v=A;else if(n&&v&&s^o){var w;!(k&l)&&(w=b(P,v,!0))&&(M=0,s?(S.lineStart(),S.point(w[0][0],w[0][1]),S.point(w[1][0],w[1][1]),S.lineEnd()):(S.point(w[1][0],w[1][1]),S.lineEnd(),S.lineStart(),S.point(w[0][0],w[0][1],3)))}o&&(!v||!(0,L.Z)(v,P))&&S.point(P[0],P[1]),v=P,g=o,l=k},lineEnd:function(){g&&S.lineEnd(),v=null},clean:function(){return M|(C&&g)<<1}}}function b(S,v,l){var g=(0,p.Og)(S),C=(0,p.Og)(v),M=[1,0,0],D=(0,p.T5)(g,C),T=(0,p.j9)(D,D),P=D[0],A=T-P*P;if(!A)return!l&&S;var o=r*T/A,k=-r*P/A,w=(0,p.T5)(M,D),U=(0,p.T)(M,o),F=(0,p.T)(D,k);(0,p.s0)(U,F);var G=w,_=(0,p.j9)(U,G),H=(0,p.j9)(G,G),V=_*_-H*((0,p.j9)(U,U)-1);if(!(V<0)){var N=(0,a._b)(V),W=(0,p.T)(G,(-_-N)/H);if((0,p.s0)(W,U),W=(0,p.Y1)(W),!l)return W;var j=S[0],Q=v[0],ie=S[1],ue=v[1],pe;Q0^W[1]<((0,a.Wn)(W[0]-j)a.pi^(j<=W[0]&&W[0]<=Q)){var J=(0,p.T)(G,(-_+N)/H);return(0,p.s0)(J,U),[W,(0,p.Y1)(J)]}}}function h(S,v){var l=s?m:a.pi-m,g=0;return S<-l?g|=1:S>l&&(g|=2),v<-l?g|=4:v>l&&(g|=8),g}return(0,x.Z)(c,u,f,s?[0,-m]:[-a.pi,m-a.pi])}},97023:function(B,O,e){e.d(O,{Z:function(){return d}});var p=e(85272),E=e(46225),a=e(39695),L=e(23071),x=e(33064);function d(t,s,n,f){return function(c){var u=s(c),b=(0,p.Z)(),h=s(b),S=!1,v,l,g,C={point:M,lineStart:T,lineEnd:P,polygonStart:function(){C.point=A,C.lineStart=o,C.lineEnd=k,l=[],v=[]},polygonEnd:function(){C.point=M,C.lineStart=T,C.lineEnd=P,l=(0,x.TS)(l);var w=(0,L.Z)(v,f);l.length?(S||(c.polygonStart(),S=!0),(0,E.Z)(l,r,w,n,c)):w&&(S||(c.polygonStart(),S=!0),c.lineStart(),n(null,null,1,c),c.lineEnd()),S&&(c.polygonEnd(),S=!1),l=v=null},sphere:function(){c.polygonStart(),c.lineStart(),n(null,null,1,c),c.lineEnd(),c.polygonEnd()}};function M(w,U){t(w,U)&&c.point(w,U)}function D(w,U){u.point(w,U)}function T(){C.point=D,u.lineStart()}function P(){C.point=M,u.lineEnd()}function A(w,U){g.push([w,U]),h.point(w,U)}function o(){h.lineStart(),g=[]}function k(){A(g[0][0],g[0][1]),h.lineEnd();var w=h.clean(),U=b.result(),F,G=U.length,_,H,V;if(g.pop(),v.push(g),g=null,!!G){if(w&1){if(H=U[0],(_=H.length-1)>0){for(S||(c.polygonStart(),S=!0),c.lineStart(),F=0;F<_;++F)c.point((V=H[F])[0],V[1]);c.lineEnd()}return}G>1&&w&2&&U.push(U.pop().concat(U.shift())),l.push(U.filter(m))}}return C}}function m(t){return t.length>1}function r(t,s){return((t=t.x)[0]<0?t[1]-a.ou-a.Ho:a.ou-t[1])-((s=s.x)[0]<0?s[1]-a.ou-a.Ho:a.ou-s[1])}},87605:function(B,O,e){e.d(O,{Z:function(){return r}});var p=e(39695),E=e(85272);function a(t,s,n,f,c,u){var b=t[0],h=t[1],S=s[0],v=s[1],l=0,g=1,C=S-b,M=v-h,D;if(D=n-b,!(!C&&D>0)){if(D/=C,C<0){if(D0){if(D>g)return;D>l&&(l=D)}if(D=c-b,!(!C&&D<0)){if(D/=C,C<0){if(D>g)return;D>l&&(l=D)}else if(C>0){if(D0)){if(D/=M,M<0){if(D0){if(D>g)return;D>l&&(l=D)}if(D=u-h,!(!M&&D<0)){if(D/=M,M<0){if(D>g)return;D>l&&(l=D)}else if(M>0){if(D0&&(t[0]=b+l*C,t[1]=h+l*M),g<1&&(s[0]=b+g*C,s[1]=h+g*M),!0}}}}}var L=e(46225),x=e(33064),d=1e9,m=-d;function r(t,s,n,f){function c(v,l){return t<=v&&v<=n&&s<=l&&l<=f}function u(v,l,g,C){var M=0,D=0;if(v==null||(M=b(v,g))!==(D=b(l,g))||S(v,l)<0^g>0)do C.point(M===0||M===3?t:n,M>1?f:s);while((M=(M+g+4)%4)!==D);else C.point(l[0],l[1])}function b(v,l){return(0,p.Wn)(v[0]-t)0?0:3:(0,p.Wn)(v[0]-n)0?2:1:(0,p.Wn)(v[1]-s)0?1:0:l>0?3:2}function h(v,l){return S(v.x,l.x)}function S(v,l){var g=b(v,1),C=b(l,1);return g!==C?g-C:g===0?l[1]-v[1]:g===1?v[0]-l[0]:g===2?v[1]-l[1]:l[0]-v[0]}return function(v){var l=v,g=(0,E.Z)(),C,M,D,T,P,A,o,k,w,U,F,G={point:_,lineStart:W,lineEnd:j,polygonStart:V,polygonEnd:N};function _(ie,ue){c(ie,ue)&&l.point(ie,ue)}function H(){for(var ie=0,ue=0,pe=M.length;uef&&(te-re)*(f-fe)>(ee-fe)*(t-re)&&++ie:ee<=f&&(te-re)*(f-fe)<(ee-fe)*(t-re)&&--ie;return ie}function V(){l=g,C=[],M=[],F=!0}function N(){var ie=H(),ue=F&&ie,pe=(C=(0,x.TS)(C)).length;(ue||pe)&&(v.polygonStart(),ue&&(v.lineStart(),u(null,null,1,v),v.lineEnd()),pe&&(0,L.Z)(C,h,ie,u,v),v.polygonEnd()),l=v,C=M=D=null}function W(){G.point=Q,M&&M.push(D=[]),U=!0,w=!1,o=k=NaN}function j(){C&&(Q(T,P),A&&w&&g.rejoin(),C.push(g.result())),G.point=_,w&&l.lineEnd()}function Q(ie,ue){var pe=c(ie,ue);if(M&&D.push([ie,ue]),U)T=ie,P=ue,A=pe,U=!1,pe&&(l.lineStart(),l.point(ie,ue));else if(pe&&w)l.point(ie,ue);else{var q=[o=Math.max(m,Math.min(d,o)),k=Math.max(m,Math.min(d,k))],X=[ie=Math.max(m,Math.min(d,ie)),ue=Math.max(m,Math.min(d,ue))];a(q,X,t,s,n,f)?(w||(l.lineStart(),l.point(q[0],q[1])),l.point(X[0],X[1]),pe||l.lineEnd(),F=!1):pe&&(l.lineStart(),l.point(ie,ue),F=!1)}o=ie,k=ue,w=pe}return G}}},46225:function(B,O,e){e.d(O,{Z:function(){return L}});var p=e(67108),E=e(39695);function a(d,m,r,t){this.x=d,this.z=m,this.o=r,this.e=t,this.v=!1,this.n=this.p=null}function L(d,m,r,t,s){var n=[],f=[],c,u;if(d.forEach(function(g){if(!((C=g.length-1)<=0)){var C,M=g[0],D=g[C],T;if((0,p.Z)(M,D)){if(!M[2]&&!D[2]){for(s.lineStart(),c=0;c=0;--c)s.point((S=h[c])[0],S[1]);else t(v.x,v.p.x,-1,s);v=v.p}v=v.o,h=v.z,l=!l}while(!v.v);s.lineEnd()}}}function x(d){if(m=d.length){for(var m,r=0,t=d[0],s;++r0&&(dn=A(_r[zn],_r[zn-1]),dn>0&&qr<=dn&&lr<=dn&&(qr+lr-dn)*(1-Math.pow((qr-lr)/dn,2))n.Ho}).map(qn)).concat((0,N.w6)((0,n.mD)(zn/Ma)*Ma,dn,Ma).filter(function(la){return(0,n.Wn)(la%_a)>n.Ho}).map(La))}return jn.lines=function(){return ba().map(function(la){return{type:"LineString",coordinates:la}})},jn.outline=function(){return{type:"Polygon",coordinates:[Xr(lr).concat(An(gn).slice(1),Xr(qr).reverse().slice(1),An(Fn).reverse().slice(1))]}},jn.extent=function(la){return arguments.length?jn.extentMajor(la).extentMinor(la):jn.extentMinor()},jn.extentMajor=function(la){return arguments.length?(lr=+la[0][0],qr=+la[1][0],Fn=+la[0][1],gn=+la[1][1],lr>qr&&(la=lr,lr=qr,qr=la),Fn>gn&&(la=Fn,Fn=gn,gn=la),jn.precision(In)):[[lr,Fn],[qr,gn]]},jn.extentMinor=function(la){return arguments.length?(Vr=+la[0][0],_r=+la[1][0],zn=+la[0][1],dn=+la[1][1],Vr>_r&&(la=Vr,Vr=_r,_r=la),zn>dn&&(la=zn,zn=dn,dn=la),jn.precision(In)):[[Vr,zn],[_r,dn]]},jn.step=function(la){return arguments.length?jn.stepMajor(la).stepMinor(la):jn.stepMinor()},jn.stepMajor=function(la){return arguments.length?(Sa=+la[0],_a=+la[1],jn):[Sa,_a]},jn.stepMinor=function(la){return arguments.length?(fa=+la[0],Ma=+la[1],jn):[fa,Ma]},jn.precision=function(la){return arguments.length?(In=+la,qn=W(zn,dn,90),La=j(Vr,_r,In),Xr=W(Fn,gn,90),An=j(lr,qr,In),jn):In},jn.extentMajor([[-180,-90+n.Ho],[180,90-n.Ho]]).extentMinor([[-180,-80-n.Ho],[180,80+n.Ho]])}function ie(){return Q()()}var ue=e(83074),pe=e(8593),q=(0,s.Z)(),X=(0,s.Z)(),K,J,re,fe,te={point:f.Z,lineStart:f.Z,lineEnd:f.Z,polygonStart:function(){te.lineStart=ee,te.lineEnd=me},polygonEnd:function(){te.lineStart=te.lineEnd=te.point=f.Z,q.add((0,n.Wn)(X)),X.reset()},result:function(){var _r=q/2;return q.reset(),_r}};function ee(){te.point=ce}function ce(_r,Vr){te.point=le,K=re=_r,J=fe=Vr}function le(_r,Vr){X.add(fe*_r-re*Vr),re=_r,fe=Vr}function me(){le(K,J)}var we=te,Se=e(3559),Ee=0,We=0,Ye=0,De=0,Te=0,Re=0,Xe=0,Je=0,He=0,$e,pt,ut,lt,ke={point:Ne,lineStart:gt,lineEnd:Bt,polygonStart:function(){ke.lineStart=Yt,ke.lineEnd=it},polygonEnd:function(){ke.point=Ne,ke.lineStart=gt,ke.lineEnd=Bt},result:function(){var _r=He?[Xe/He,Je/He]:Re?[De/Re,Te/Re]:Ye?[Ee/Ye,We/Ye]:[NaN,NaN];return Ee=We=Ye=De=Te=Re=Xe=Je=He=0,_r}};function Ne(_r,Vr){Ee+=_r,We+=Vr,++Ye}function gt(){ke.point=qe}function qe(_r,Vr){ke.point=vt,Ne(ut=_r,lt=Vr)}function vt(_r,Vr){var qr=_r-ut,lr=Vr-lt,dn=(0,n._b)(qr*qr+lr*lr);De+=dn*(ut+_r)/2,Te+=dn*(lt+Vr)/2,Re+=dn,Ne(ut=_r,lt=Vr)}function Bt(){ke.point=Ne}function Yt(){ke.point=Ue}function it(){_e($e,pt)}function Ue(_r,Vr){ke.point=_e,Ne($e=ut=_r,pt=lt=Vr)}function _e(_r,Vr){var qr=_r-ut,lr=Vr-lt,dn=(0,n._b)(qr*qr+lr*lr);De+=dn*(ut+_r)/2,Te+=dn*(lt+Vr)/2,Re+=dn,dn=lt*_r-ut*Vr,Xe+=dn*(ut+_r),Je+=dn*(lt+Vr),He+=dn*3,Ne(ut=_r,lt=Vr)}var Ze=ke;function Fe(_r){this._context=_r}Fe.prototype={_radius:4.5,pointRadius:function(_r){return this._radius=_r,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(_r,Vr){switch(this._point){case 0:{this._context.moveTo(_r,Vr),this._point=1;break}case 1:{this._context.lineTo(_r,Vr);break}default:{this._context.moveTo(_r+this._radius,Vr),this._context.arc(_r,Vr,this._radius,0,n.BZ);break}}},result:f.Z};var Ce=(0,s.Z)(),ve,Ie,Ae,je,ot,ct={point:f.Z,lineStart:function(){ct.point=Et},lineEnd:function(){ve&&kt(Ie,Ae),ct.point=f.Z},polygonStart:function(){ve=!0},polygonEnd:function(){ve=null},result:function(){var _r=+Ce;return Ce.reset(),_r}};function Et(_r,Vr){ct.point=kt,Ie=je=_r,Ae=ot=Vr}function kt(_r,Vr){je-=_r,ot-=Vr,Ce.add((0,n._b)(je*je+ot*ot)),je=_r,ot=Vr}var nr=ct;function dr(){this._string=[]}dr.prototype={_radius:4.5,_circle:Dt(4.5),pointRadius:function(_r){return(_r=+_r)!==this._radius&&(this._radius=_r,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(_r,Vr){switch(this._point){case 0:{this._string.push("M",_r,",",Vr),this._point=1;break}case 1:{this._string.push("L",_r,",",Vr);break}default:{this._circle==null&&(this._circle=Dt(this._radius)),this._string.push("M",_r,",",Vr,this._circle);break}}},result:function(){if(this._string.length){var _r=this._string.join("");return this._string=[],_r}else return null}};function Dt(_r){return"m0,"+_r+"a"+_r+","+_r+" 0 1,1 0,"+-2*_r+"a"+_r+","+_r+" 0 1,1 0,"+2*_r+"z"}function $t(_r,Vr){var qr=4.5,lr,dn;function zn(gn){return gn&&(typeof qr=="function"&&dn.pointRadius(+qr.apply(this,arguments)),(0,c.Z)(gn,lr(dn))),dn.result()}return zn.area=function(gn){return(0,c.Z)(gn,lr(we)),we.result()},zn.measure=function(gn){return(0,c.Z)(gn,lr(nr)),nr.result()},zn.bounds=function(gn){return(0,c.Z)(gn,lr(Se.Z)),Se.Z.result()},zn.centroid=function(gn){return(0,c.Z)(gn,lr(Ze)),Ze.result()},zn.projection=function(gn){return arguments.length?(lr=gn==null?(_r=null,pe.Z):(_r=gn).stream,zn):_r},zn.context=function(gn){return arguments.length?(dn=gn==null?(Vr=null,new dr):new Fe(Vr=gn),typeof qr!="function"&&dn.pointRadius(qr),zn):Vr},zn.pointRadius=function(gn){return arguments.length?(qr=typeof gn=="function"?gn:(dn.pointRadius(+gn),+gn),zn):qr},zn.projection(_r).context(Vr)}var vr=e(15002);function Pr(_r){var Vr=0,qr=n.pi/3,lr=(0,vr.r)(_r),dn=lr(Vr,qr);return dn.parallels=function(zn){return arguments.length?lr(Vr=zn[0]*n.uR,qr=zn[1]*n.uR):[Vr*n.RW,qr*n.RW]},dn}function Ct(_r){var Vr=(0,n.mC)(_r);function qr(lr,dn){return[lr*Vr,(0,n.O$)(dn)/Vr]}return qr.invert=function(lr,dn){return[lr/Vr,(0,n.ZR)(dn*Vr)]},qr}function ir(_r,Vr){var qr=(0,n.O$)(_r),lr=(qr+(0,n.O$)(Vr))/2;if((0,n.Wn)(lr)=.12&&In<.234&&An>=-.425&&An<-.214?dn:In>=.166&&In<.234&&An>=-.214&&An<-.115?gn:qr).invert(qn)},Sa.stream=function(qn){return _r&&Vr===qn?_r:_r=Mt([qr.stream(Vr=qn),dn.stream(qn),gn.stream(qn)])},Sa.precision=function(qn){return arguments.length?(qr.precision(qn),dn.precision(qn),gn.precision(qn),_a()):qr.precision()},Sa.scale=function(qn){return arguments.length?(qr.scale(qn),dn.scale(qn*.35),gn.scale(qn),Sa.translate(qr.translate())):qr.scale()},Sa.translate=function(qn){if(!arguments.length)return qr.translate();var La=qr.scale(),Xr=+qn[0],An=+qn[1];return lr=qr.translate(qn).clipExtent([[Xr-.455*La,An-.238*La],[Xr+.455*La,An+.238*La]]).stream(Ma),zn=dn.translate([Xr-.307*La,An+.201*La]).clipExtent([[Xr-.425*La+n.Ho,An+.12*La+n.Ho],[Xr-.214*La-n.Ho,An+.234*La-n.Ho]]).stream(Ma),Fn=gn.translate([Xr-.205*La,An+.212*La]).clipExtent([[Xr-.214*La+n.Ho,An+.166*La+n.Ho],[Xr-.115*La-n.Ho,An+.234*La-n.Ho]]).stream(Ma),_a()},Sa.fitExtent=function(qn,La){return(0,kr.qg)(Sa,qn,La)},Sa.fitSize=function(qn,La){return(0,kr.mF)(Sa,qn,La)},Sa.fitWidth=function(qn,La){return(0,kr.V6)(Sa,qn,La)},Sa.fitHeight=function(qn,La){return(0,kr.rf)(Sa,qn,La)};function _a(){return _r=Vr=null,Sa}return Sa.scale(1070)}var Rt=e(12956),wt=e(17889),Ut=e(49386);function Ht(_r,Vr){return[_r,(0,n.cM)((0,n.OR)((n.ou+Vr)/2))]}Ht.invert=function(_r,Vr){return[_r,2*(0,n.z4)((0,n.Qq)(Vr))-n.ou]};function Qt(){return qt(Ht).scale(961/n.BZ)}function qt(_r){var Vr=(0,vr.Z)(_r),qr=Vr.center,lr=Vr.scale,dn=Vr.translate,zn=Vr.clipExtent,gn=null,Fn,fa,Ma;Vr.scale=function(_a){return arguments.length?(lr(_a),Sa()):lr()},Vr.translate=function(_a){return arguments.length?(dn(_a),Sa()):dn()},Vr.center=function(_a){return arguments.length?(qr(_a),Sa()):qr()},Vr.clipExtent=function(_a){return arguments.length?(_a==null?gn=Fn=fa=Ma=null:(gn=+_a[0][0],Fn=+_a[0][1],fa=+_a[1][0],Ma=+_a[1][1]),Sa()):gn==null?null:[[gn,Fn],[fa,Ma]]};function Sa(){var _a=n.pi*lr(),qn=Vr((0,Ut.Z)(Vr.rotate()).invert([0,0]));return zn(gn==null?[[qn[0]-_a,qn[1]-_a],[qn[0]+_a,qn[1]+_a]]:_r===Ht?[[Math.max(qn[0]-_a,gn),Fn],[Math.min(qn[0]+_a,fa),Ma]]:[[gn,Math.max(qn[1]-_a,Fn)],[fa,Math.min(qn[1]+_a,Ma)]])}return Sa()}function ur(_r){return(0,n.OR)((n.ou+_r)/2)}function Cr(_r,Vr){var qr=(0,n.mC)(_r),lr=_r===Vr?(0,n.O$)(_r):(0,n.cM)(qr/(0,n.mC)(Vr))/(0,n.cM)(ur(Vr)/ur(_r)),dn=qr*(0,n.sQ)(ur(_r),lr)/lr;if(!lr)return Ht;function zn(gn,Fn){dn>0?Fn<-n.ou+n.Ho&&(Fn=-n.ou+n.Ho):Fn>n.ou-n.Ho&&(Fn=n.ou-n.Ho);var fa=dn/(0,n.sQ)(ur(Fn),lr);return[fa*(0,n.O$)(lr*gn),dn-fa*(0,n.mC)(lr*gn)]}return zn.invert=function(gn,Fn){var fa=dn-Fn,Ma=(0,n.Xx)(lr)*(0,n._b)(gn*gn+fa*fa),Sa=(0,n.fv)(gn,(0,n.Wn)(fa))*(0,n.Xx)(fa);return fa*lr<0&&(Sa-=n.pi*(0,n.Xx)(gn)*(0,n.Xx)(fa)),[Sa/lr,2*(0,n.z4)((0,n.sQ)(dn/Ma,1/lr))-n.ou]},zn}function mr(){return Pr(Cr).scale(109.5).parallels([30,30])}var Fr=e(97492);function tt(_r,Vr){var qr=(0,n.mC)(_r),lr=_r===Vr?(0,n.O$)(_r):(qr-(0,n.mC)(Vr))/(Vr-_r),dn=qr/lr+_r;if((0,n.Wn)(lr)2?lr[2]+90:90]):(lr=qr(),[lr[0],lr[1],lr[2]-90])},qr([0,0,90]).scale(159.155)}},83074:function(B,O,e){e.d(O,{Z:function(){return E}});var p=e(39695);function E(a,L){var x=a[0]*p.uR,d=a[1]*p.uR,m=L[0]*p.uR,r=L[1]*p.uR,t=(0,p.mC)(d),s=(0,p.O$)(d),n=(0,p.mC)(r),f=(0,p.O$)(r),c=t*(0,p.mC)(x),u=t*(0,p.O$)(x),b=n*(0,p.mC)(m),h=n*(0,p.O$)(m),S=2*(0,p.ZR)((0,p._b)((0,p.Jy)(r-d)+t*n*(0,p.Jy)(m-x))),v=(0,p.O$)(S),l=S?function(g){var C=(0,p.O$)(g*=S)/v,M=(0,p.O$)(S-g)/v,D=M*c+C*b,T=M*u+C*h,P=M*s+C*f;return[(0,p.fv)(T,D)*p.RW,(0,p.fv)(P,(0,p._b)(D*D+T*T))*p.RW]}:function(){return[x*p.RW,d*p.RW]};return l.distance=S,l}},39695:function(B,O,e){e.d(O,{BZ:function(){return d},Ho:function(){return p},Jy:function(){return D},Kh:function(){return C},O$:function(){return S},OR:function(){return g},Qq:function(){return u},RW:function(){return m},Wn:function(){return t},Xx:function(){return v},ZR:function(){return M},_b:function(){return l},aW:function(){return E},cM:function(){return b},fv:function(){return n},mC:function(){return f},mD:function(){return c},ou:function(){return L},pi:function(){return a},pu:function(){return x},sQ:function(){return h},uR:function(){return r},z4:function(){return s}});var p=1e-6,E=1e-12,a=Math.PI,L=a/2,x=a/4,d=a*2,m=180/a,r=a/180,t=Math.abs,s=Math.atan,n=Math.atan2,f=Math.cos,c=Math.ceil,u=Math.exp,b=Math.log,h=Math.pow,S=Math.sin,v=Math.sign||function(T){return T>0?1:T<0?-1:0},l=Math.sqrt,g=Math.tan;function C(T){return T>1?0:T<-1?a:Math.acos(T)}function M(T){return T>1?L:T<-1?-L:Math.asin(T)}function D(T){return(T=S(T/2))*T}},73182:function(B,O,e){e.d(O,{Z:function(){return p}});function p(){}},3559:function(B,O,e){var p=e(73182),E=1/0,a=E,L=-E,x=L,d={point:m,lineStart:p.Z,lineEnd:p.Z,polygonStart:p.Z,polygonEnd:p.Z,result:function(){var r=[[E,a],[L,x]];return L=x=-(a=E=1/0),r}};function m(r,t){rL&&(L=r),tx&&(x=t)}O.Z=d},67108:function(B,O,e){e.d(O,{Z:function(){return E}});var p=e(39695);function E(a,L){return(0,p.Wn)(a[0]-L[0])=0?1:-1,G=F*U,_=G>a.pi,H=M*k;if(L.add((0,a.fv)(H*F*(0,a.O$)(G),D*w+H*(0,a.mC)(G))),c+=_?U+F*a.BZ:U,_^g>=t^A>=t){var V=(0,E.T5)((0,E.Og)(l),(0,E.Og)(P));(0,E.iJ)(V);var N=(0,E.T5)(f,V);(0,E.iJ)(N);var W=(_^U>=0?-1:1)*(0,a.ZR)(N[2]);(s>W||s===W&&(V[0]||V[1]))&&(u+=_^U>=0?1:-1)}}return(c<-a.Ho||c4*D&&W--){var pe=k+H,q=w+V,X=U+N,K=(0,d._b)(pe*pe+q*q+X*X),J=(0,d.ZR)(X/=K),re=(0,d.Wn)((0,d.Wn)(X)-1)D||(0,d.Wn)((Q*ce+ie*le)/ue-.5)>.3||k*H+w*V+U*N2?me[2]%360*d.uR:0,ce()):[w*d.RW,U*d.RW,F*d.RW]},te.angle=function(me){return arguments.length?(_=me%360*d.uR,ce()):_*d.RW},te.reflectX=function(me){return arguments.length?(H=me?-1:1,ce()):H<0},te.reflectY=function(me){return arguments.length?(V=me?-1:1,ce()):V<0},te.precision=function(me){return arguments.length?(X=c(K,q=me*me),le()):(0,d._b)(q)},te.fitExtent=function(me,we){return(0,t.qg)(te,me,we)},te.fitSize=function(me,we){return(0,t.mF)(te,me,we)},te.fitWidth=function(me,we){return(0,t.V6)(te,me,we)},te.fitHeight=function(me,we){return(0,t.rf)(te,me,we)};function ce(){var me=l(T,0,0,H,V,_).apply(null,D(o,k)),we=(_?l:v)(T,P-me[0],A-me[1],H,V,_);return G=(0,m.I)(w,U,F),K=(0,L.Z)(D,we),J=(0,L.Z)(G,K),X=c(K,q),le()}function le(){return re=fe=null,te}return function(){return D=M.apply(this,arguments),te.invert=D.invert&&ee,ce()}}},26867:function(B,O,e){e.d(O,{K:function(){return a},Z:function(){return L}});var p=e(15002),E=e(39695);function a(x,d){var m=d*d,r=m*m;return[x*(.8707-.131979*m+r*(-.013791+r*(.003971*m-.001529*r))),d*(1.007226+m*(.015085+r*(-.044475+.028874*m-.005916*r)))]}a.invert=function(x,d){var m=d,r=25,t;do{var s=m*m,n=s*s;m-=t=(m*(1.007226+s*(.015085+n*(-.044475+.028874*s-.005916*n)))-d)/(1.007226+s*(.045255+n*(-.311325+.259866*s-.06507600000000001*n)))}while((0,E.Wn)(t)>E.Ho&&--r>0);return[x/(.8707+(s=m*m)*(-.131979+s*(-.013791+s*s*s*(.003971-.001529*s)))),m]};function L(){return(0,p.Z)(a).scale(175.295)}},57962:function(B,O,e){e.d(O,{I:function(){return L},Z:function(){return x}});var p=e(39695),E=e(25382),a=e(15002);function L(d,m){return[(0,p.mC)(m)*(0,p.O$)(d),(0,p.O$)(m)]}L.invert=(0,E.O)(p.ZR);function x(){return(0,a.Z)(L).scale(249.5).clipAngle(90+p.Ho)}},49386:function(B,O,e){e.d(O,{I:function(){return L},Z:function(){return r}});var p=e(96059),E=e(39695);function a(t,s){return[(0,E.Wn)(t)>E.pi?t+Math.round(-t/E.BZ)*E.BZ:t,s]}a.invert=a;function L(t,s,n){return(t%=E.BZ)?s||n?(0,p.Z)(d(t),m(s,n)):d(t):s||n?m(s,n):a}function x(t){return function(s,n){return s+=t,[s>E.pi?s-E.BZ:s<-E.pi?s+E.BZ:s,n]}}function d(t){var s=x(t);return s.invert=x(-t),s}function m(t,s){var n=(0,E.mC)(t),f=(0,E.O$)(t),c=(0,E.mC)(s),u=(0,E.O$)(s);function b(h,S){var v=(0,E.mC)(S),l=(0,E.mC)(h)*v,g=(0,E.O$)(h)*v,C=(0,E.O$)(S),M=C*n+l*f;return[(0,E.fv)(g*c-M*u,l*n-C*f),(0,E.ZR)(M*c+g*u)]}return b.invert=function(h,S){var v=(0,E.mC)(S),l=(0,E.mC)(h)*v,g=(0,E.O$)(h)*v,C=(0,E.O$)(S),M=C*c-g*u;return[(0,E.fv)(g*c+C*u,l*n+M*f),(0,E.ZR)(M*n-l*f)]},b}function r(t){t=L(t[0]*E.uR,t[1]*E.uR,t.length>2?t[2]*E.uR:0);function s(n){return n=t(n[0]*E.uR,n[1]*E.uR),n[0]*=E.RW,n[1]*=E.RW,n}return s.invert=function(n){return n=t.invert(n[0]*E.uR,n[1]*E.uR),n[0]*=E.RW,n[1]*=E.RW,n},s}},72736:function(B,O,e){e.d(O,{Z:function(){return d}});function p(m,r){m&&a.hasOwnProperty(m.type)&&a[m.type](m,r)}var E={Feature:function(m,r){p(m.geometry,r)},FeatureCollection:function(m,r){for(var t=m.features,s=-1,n=t.length;++s=0;)Ce+=ve[Ie].value;Fe.value=Ce}function s(){return this.eachAfter(t)}function n(Fe){var Ce=this,ve,Ie=[Ce],Ae,je,ot;do for(ve=Ie.reverse(),Ie=[];Ce=ve.pop();)if(Fe(Ce),Ae=Ce.children,Ae)for(je=0,ot=Ae.length;je=0;--Ae)ve.push(Ie[Ae]);return this}function c(Fe){for(var Ce=this,ve=[Ce],Ie=[],Ae,je,ot;Ce=ve.pop();)if(Ie.push(Ce),Ae=Ce.children,Ae)for(je=0,ot=Ae.length;je=0;)ve+=Ie[Ae].value;Ce.value=ve})}function b(Fe){return this.eachBefore(function(Ce){Ce.children&&Ce.children.sort(Fe)})}function h(Fe){for(var Ce=this,ve=S(Ce,Fe),Ie=[Ce];Ce!==ve;)Ce=Ce.parent,Ie.push(Ce);for(var Ae=Ie.length;Fe!==ve;)Ie.splice(Ae,0,Fe),Fe=Fe.parent;return Ie}function S(Fe,Ce){if(Fe===Ce)return Fe;var ve=Fe.ancestors(),Ie=Ce.ancestors(),Ae=null;for(Fe=ve.pop(),Ce=Ie.pop();Fe===Ce;)Ae=Fe,Fe=ve.pop(),Ce=Ie.pop();return Ae}function v(){for(var Fe=this,Ce=[Fe];Fe=Fe.parent;)Ce.push(Fe);return Ce}function l(){var Fe=[];return this.each(function(Ce){Fe.push(Ce)}),Fe}function g(){var Fe=[];return this.eachBefore(function(Ce){Ce.children||Fe.push(Ce)}),Fe}function C(){var Fe=this,Ce=[];return Fe.each(function(ve){ve!==Fe&&Ce.push({source:ve.parent,target:ve})}),Ce}function M(Fe,Ce){var ve=new o(Fe),Ie=+Fe.value&&(ve.value=Fe.value),Ae,je=[ve],ot,ct,Et,kt;for(Ce==null&&(Ce=T);Ae=je.pop();)if(Ie&&(Ae.value=+Ae.data.value),(ct=Ce(Ae.data))&&(kt=ct.length))for(Ae.children=new Array(kt),Et=kt-1;Et>=0;--Et)je.push(ot=Ae.children[Et]=new o(ct[Et])),ot.parent=Ae,ot.depth=Ae.depth+1;return ve.eachBefore(A)}function D(){return M(this).eachBefore(P)}function T(Fe){return Fe.children}function P(Fe){Fe.data=Fe.data.data}function A(Fe){var Ce=0;do Fe.height=Ce;while((Fe=Fe.parent)&&Fe.height<++Ce)}function o(Fe){this.data=Fe,this.depth=this.height=0,this.parent=null}o.prototype=M.prototype={constructor:o,count:s,each:n,eachAfter:c,eachBefore:f,sum:u,sort:b,path:h,ancestors:v,descendants:l,leaves:g,links:C,copy:D};var k=Array.prototype.slice;function w(Fe){for(var Ce=Fe.length,ve,Ie;Ce;)Ie=Math.random()*Ce--|0,ve=Fe[Ce],Fe[Ce]=Fe[Ie],Fe[Ie]=ve;return Fe}function U(Fe){for(var Ce=0,ve=(Fe=w(k.call(Fe))).length,Ie=[],Ae,je;Ce0&&ve*ve>Ie*Ie+Ae*Ae}function H(Fe,Ce){for(var ve=0;veEt?(Ae=(kt+Et-je)/(2*kt),ct=Math.sqrt(Math.max(0,Et/kt-Ae*Ae)),ve.x=Fe.x-Ae*Ie-ct*ot,ve.y=Fe.y-Ae*ot+ct*Ie):(Ae=(kt+je-Et)/(2*kt),ct=Math.sqrt(Math.max(0,je/kt-Ae*Ae)),ve.x=Ce.x+Ae*Ie-ct*ot,ve.y=Ce.y+Ae*ot+ct*Ie)):(ve.x=Ce.x+ve.r,ve.y=Ce.y)}function ie(Fe,Ce){var ve=Fe.r+Ce.r-1e-6,Ie=Ce.x-Fe.x,Ae=Ce.y-Fe.y;return ve>0&&ve*ve>Ie*Ie+Ae*Ae}function ue(Fe){var Ce=Fe._,ve=Fe.next._,Ie=Ce.r+ve.r,Ae=(Ce.x*ve.r+ve.x*Ce.r)/Ie,je=(Ce.y*ve.r+ve.y*Ce.r)/Ie;return Ae*Ae+je*je}function pe(Fe){this._=Fe,this.next=null,this.previous=null}function q(Fe){if(!(Ae=Fe.length))return 0;var Ce,ve,Ie,Ae,je,ot,ct,Et,kt,nr,dr;if(Ce=Fe[0],Ce.x=0,Ce.y=0,!(Ae>1))return Ce.r;if(ve=Fe[1],Ce.x=-ve.r,ve.x=Ce.r,ve.y=0,!(Ae>2))return Ce.r+ve.r;Q(ve,Ce,Ie=Fe[2]),Ce=new pe(Ce),ve=new pe(ve),Ie=new pe(Ie),Ce.next=Ie.previous=ve,ve.next=Ce.previous=Ie,Ie.next=ve.previous=Ce;e:for(ct=3;ct0)throw new Error("cycle");return ct}return ve.id=function(Ie){return arguments.length?(Fe=J(Ie),ve):Fe},ve.parentId=function(Ie){return arguments.length?(Ce=J(Ie),ve):Ce},ve}function Je(Fe,Ce){return Fe.parent===Ce.parent?1:2}function He(Fe){var Ce=Fe.children;return Ce?Ce[0]:Fe.t}function $e(Fe){var Ce=Fe.children;return Ce?Ce[Ce.length-1]:Fe.t}function pt(Fe,Ce,ve){var Ie=ve/(Ce.i-Fe.i);Ce.c-=Ie,Ce.s+=ve,Fe.c+=Ie,Ce.z+=ve,Ce.m+=ve}function ut(Fe){for(var Ce=0,ve=0,Ie=Fe.children,Ae=Ie.length,je;--Ae>=0;)je=Ie[Ae],je.z+=Ce,je.m+=Ce,Ce+=je.s+(ve+=je.c)}function lt(Fe,Ce,ve){return Fe.a.parent===Ce.parent?Fe.a:ve}function ke(Fe,Ce){this._=Fe,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=Ce}ke.prototype=Object.create(o.prototype);function Ne(Fe){for(var Ce=new ke(Fe,0),ve,Ie=[Ce],Ae,je,ot,ct;ve=Ie.pop();)if(je=ve._.children)for(ve.children=new Array(ct=je.length),ot=ct-1;ot>=0;--ot)Ie.push(Ae=ve.children[ot]=new ke(je[ot],ot)),Ae.parent=ve;return(Ce.parent=new ke(null,0)).children=[Ce],Ce}function gt(){var Fe=Je,Ce=1,ve=1,Ie=null;function Ae(kt){var nr=Ne(kt);if(nr.eachAfter(je),nr.parent.m=-nr.z,nr.eachBefore(ot),Ie)kt.eachBefore(Et);else{var dr=kt,Dt=kt,$t=kt;kt.eachBefore(function(cr){cr.xDt.x&&(Dt=cr),cr.depth>$t.depth&&($t=cr)});var vr=dr===Dt?1:Fe(dr,Dt)/2,Pr=vr-dr.x,Ct=Ce/(Dt.x+vr+Pr),ir=ve/($t.depth||1);kt.eachBefore(function(cr){cr.x=(cr.x+Pr)*Ct,cr.y=cr.depth*ir})}return kt}function je(kt){var nr=kt.children,dr=kt.parent.children,Dt=kt.i?dr[kt.i-1]:null;if(nr){ut(kt);var $t=(nr[0].z+nr[nr.length-1].z)/2;Dt?(kt.z=Dt.z+Fe(kt._,Dt._),kt.m=kt.z-$t):kt.z=$t}else Dt&&(kt.z=Dt.z+Fe(kt._,Dt._));kt.parent.A=ct(kt,Dt,kt.parent.A||dr[0])}function ot(kt){kt._.x=kt.z+kt.parent.m,kt.m+=kt.parent.m}function ct(kt,nr,dr){if(nr){for(var Dt=kt,$t=kt,vr=nr,Pr=Dt.parent.children[0],Ct=Dt.m,ir=$t.m,cr=vr.m,Or=Pr.m,kr;vr=$e(vr),Dt=He(Dt),vr&&Dt;)Pr=He(Pr),$t=$e($t),$t.a=kt,kr=vr.z+cr-Dt.z-Ct+Fe(vr._,Dt._),kr>0&&(pt(lt(vr,kt,dr),kt,kr),Ct+=kr,ir+=kr),cr+=vr.m,Ct+=Dt.m,Or+=Pr.m,ir+=$t.m;vr&&!$e($t)&&($t.t=vr,$t.m+=cr-ir),Dt&&!He(Pr)&&(Pr.t=Dt,Pr.m+=Ct-Or,dr=kt)}return dr}function Et(kt){kt.x*=Ce,kt.y=kt.depth*ve}return Ae.separation=function(kt){return arguments.length?(Fe=kt,Ae):Fe},Ae.size=function(kt){return arguments.length?(Ie=!1,Ce=+kt[0],ve=+kt[1],Ae):Ie?null:[Ce,ve]},Ae.nodeSize=function(kt){return arguments.length?(Ie=!0,Ce=+kt[0],ve=+kt[1],Ae):Ie?[Ce,ve]:null},Ae}function qe(Fe,Ce,ve,Ie,Ae){for(var je=Fe.children,ot,ct=-1,Et=je.length,kt=Fe.value&&(Ae-ve)/Fe.value;++ctcr&&(cr=kt),yt=Ct*Ct*Mt,Or=Math.max(cr/yt,yt/ir),Or>kr){Ct-=kt;break}kr=Or}ot.push(Et={value:Ct,dice:$t1?Ie:1)},ve}(vt);function it(){var Fe=Yt,Ce=!1,ve=1,Ie=1,Ae=[0],je=re,ot=re,ct=re,Et=re,kt=re;function nr(Dt){return Dt.x0=Dt.y0=0,Dt.x1=ve,Dt.y1=Ie,Dt.eachBefore(dr),Ae=[0],Ce&&Dt.eachBefore(we),Dt}function dr(Dt){var $t=Ae[Dt.depth],vr=Dt.x0+$t,Pr=Dt.y0+$t,Ct=Dt.x1-$t,ir=Dt.y1-$t;Ct=Dt-1){var cr=je[dr];cr.x0=vr,cr.y0=Pr,cr.x1=Ct,cr.y1=ir;return}for(var Or=kt[dr],kr=$t/2+Or,Mt=dr+1,yt=Dt-1;Mt>>1;kt[Rt]ir-Pr){var Ht=(vr*Ut+Ct*wt)/$t;nr(dr,Mt,wt,vr,Pr,Ht,ir),nr(Mt,Dt,Ut,Ht,Pr,Ct,ir)}else{var Qt=(Pr*Ut+ir*wt)/$t;nr(dr,Mt,wt,vr,Pr,Ct,Qt),nr(Mt,Dt,Ut,vr,Qt,Ct,ir)}}}function _e(Fe,Ce,ve,Ie,Ae){(Fe.depth&1?qe:Se)(Fe,Ce,ve,Ie,Ae)}var Ze=function Fe(Ce){function ve(Ie,Ae,je,ot,ct){if((Et=Ie._squarify)&&Et.ratio===Ce)for(var Et,kt,nr,dr,Dt=-1,$t,vr=Et.length,Pr=Ie.value;++Dt1?Ie:1)},ve}(vt)},45879:function(B,O,e){e.d(O,{h5:function(){return h}});var p=Math.PI,E=2*p,a=1e-6,L=E-a;function x(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function d(){return new x}x.prototype=d.prototype={constructor:x,moveTo:function(S,v){this._+="M"+(this._x0=this._x1=+S)+","+(this._y0=this._y1=+v)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(S,v){this._+="L"+(this._x1=+S)+","+(this._y1=+v)},quadraticCurveTo:function(S,v,l,g){this._+="Q"+ +S+","+ +v+","+(this._x1=+l)+","+(this._y1=+g)},bezierCurveTo:function(S,v,l,g,C,M){this._+="C"+ +S+","+ +v+","+ +l+","+ +g+","+(this._x1=+C)+","+(this._y1=+M)},arcTo:function(S,v,l,g,C){S=+S,v=+v,l=+l,g=+g,C=+C;var M=this._x1,D=this._y1,T=l-S,P=g-v,A=M-S,o=D-v,k=A*A+o*o;if(C<0)throw new Error("negative radius: "+C);if(this._x1===null)this._+="M"+(this._x1=S)+","+(this._y1=v);else if(k>a)if(!(Math.abs(o*T-P*A)>a)||!C)this._+="L"+(this._x1=S)+","+(this._y1=v);else{var w=l-M,U=g-D,F=T*T+P*P,G=w*w+U*U,_=Math.sqrt(F),H=Math.sqrt(k),V=C*Math.tan((p-Math.acos((F+k-G)/(2*_*H)))/2),N=V/H,W=V/_;Math.abs(N-1)>a&&(this._+="L"+(S+N*A)+","+(v+N*o)),this._+="A"+C+","+C+",0,0,"+ +(o*w>A*U)+","+(this._x1=S+W*T)+","+(this._y1=v+W*P)}},arc:function(S,v,l,g,C,M){S=+S,v=+v,l=+l,M=!!M;var D=l*Math.cos(g),T=l*Math.sin(g),P=S+D,A=v+T,o=1^M,k=M?g-C:C-g;if(l<0)throw new Error("negative radius: "+l);this._x1===null?this._+="M"+P+","+A:(Math.abs(this._x1-P)>a||Math.abs(this._y1-A)>a)&&(this._+="L"+P+","+A),l&&(k<0&&(k=k%E+E),k>L?this._+="A"+l+","+l+",0,1,"+o+","+(S-D)+","+(v-T)+"A"+l+","+l+",0,1,"+o+","+(this._x1=P)+","+(this._y1=A):k>a&&(this._+="A"+l+","+l+",0,"+ +(k>=p)+","+o+","+(this._x1=S+l*Math.cos(C))+","+(this._y1=v+l*Math.sin(C))))},rect:function(S,v,l,g){this._+="M"+(this._x0=this._x1=+S)+","+(this._y0=this._y1=+v)+"h"+ +l+"v"+ +g+"h"+-l+"Z"},toString:function(){return this._}};var m=d,r=Array.prototype.slice;function t(S){return function(){return S}}function s(S){return S[0]}function n(S){return S[1]}function f(S){return S.source}function c(S){return S.target}function u(S){var v=f,l=c,g=s,C=n,M=null;function D(){var T,P=r.call(arguments),A=v.apply(this,P),o=l.apply(this,P);if(M||(M=T=m()),S(M,+g.apply(this,(P[0]=A,P)),+C.apply(this,P),+g.apply(this,(P[0]=o,P)),+C.apply(this,P)),T)return M=null,T+""||null}return D.source=function(T){return arguments.length?(v=T,D):v},D.target=function(T){return arguments.length?(l=T,D):l},D.x=function(T){return arguments.length?(g=typeof T=="function"?T:t(+T),D):g},D.y=function(T){return arguments.length?(C=typeof T=="function"?T:t(+T),D):C},D.context=function(T){return arguments.length?(M=T??null,D):M},D}function b(S,v,l,g,C){S.moveTo(v,l),S.bezierCurveTo(v=(v+g)/2,l,v,C,g,C)}function h(){return u(b)}},84096:function(B,O,e){e.d(O,{i$:function(){return Ue},Dq:function(){return s},g0:function(){return _e}});var p=e(58176),E=e(48480),a=e(59879),L=e(82301),x=e(34823),d=e(79791);function m(Fe){if(0<=Fe.y&&Fe.y<100){var Ce=new Date(-1,Fe.m,Fe.d,Fe.H,Fe.M,Fe.S,Fe.L);return Ce.setFullYear(Fe.y),Ce}return new Date(Fe.y,Fe.m,Fe.d,Fe.H,Fe.M,Fe.S,Fe.L)}function r(Fe){if(0<=Fe.y&&Fe.y<100){var Ce=new Date(Date.UTC(-1,Fe.m,Fe.d,Fe.H,Fe.M,Fe.S,Fe.L));return Ce.setUTCFullYear(Fe.y),Ce}return new Date(Date.UTC(Fe.y,Fe.m,Fe.d,Fe.H,Fe.M,Fe.S,Fe.L))}function t(Fe,Ce,ve){return{y:Fe,m:Ce,d:ve,H:0,M:0,S:0,L:0}}function s(Fe){var Ce=Fe.dateTime,ve=Fe.date,Ie=Fe.time,Ae=Fe.periods,je=Fe.days,ot=Fe.shortDays,ct=Fe.months,Et=Fe.shortMonths,kt=S(Ae),nr=v(Ae),dr=S(je),Dt=v(je),$t=S(ot),vr=v(ot),Pr=S(ct),Ct=v(ct),ir=S(Et),cr=v(Et),Or={a:tt,A:et,b:Wt,B:Gt,c:null,d:Q,e:Q,f:X,H:ie,I:ue,j:pe,L:q,m:K,M:J,p:or,q:wr,Q:Bt,s:Yt,S:re,u:fe,U:te,V:ee,w:ce,W:le,x:null,X:null,y:me,Y:we,Z:Se,"%":vt},kr={a:Tr,A:br,b:Kt,B:Ir,c:null,d:Ee,e:Ee,f:Re,H:We,I:Ye,j:De,L:Te,m:Xe,M:Je,p:Lr,q:Br,Q:Bt,s:Yt,S:He,u:$e,U:pt,V:ut,w:lt,W:ke,x:null,X:null,y:Ne,Y:gt,Z:qe,"%":vt},Mt={a:Ht,A:Qt,b:qt,B:ur,c:Cr,d:w,e:w,f:V,H:F,I:F,j:U,L:H,m:k,M:G,p:Ut,q:o,Q:W,s:j,S:_,u:g,U:C,V:M,w:l,W:D,x:mr,X:Fr,y:P,Y:T,Z:A,"%":N};Or.x=yt(ve,Or),Or.X=yt(Ie,Or),Or.c=yt(Ce,Or),kr.x=yt(ve,kr),kr.X=yt(Ie,kr),kr.c=yt(Ce,kr);function yt(zr,cn){return function(tn){var an=[],Wn=-1,En=0,pa=zr.length,Qn,_r,Vr;for(tn instanceof Date||(tn=new Date(+tn));++Wn53)return null;"w"in an||(an.w=1),"Z"in an?(En=r(t(an.y,0,1)),pa=En.getUTCDay(),En=pa>4||pa===0?p.l6.ceil(En):(0,p.l6)(En),En=E.Z.offset(En,(an.V-1)*7),an.y=En.getUTCFullYear(),an.m=En.getUTCMonth(),an.d=En.getUTCDate()+(an.w+6)%7):(En=m(t(an.y,0,1)),pa=En.getDay(),En=pa>4||pa===0?a.wA.ceil(En):(0,a.wA)(En),En=L.Z.offset(En,(an.V-1)*7),an.y=En.getFullYear(),an.m=En.getMonth(),an.d=En.getDate()+(an.w+6)%7)}else("W"in an||"U"in an)&&("w"in an||(an.w="u"in an?an.u%7:"W"in an?1:0),pa="Z"in an?r(t(an.y,0,1)).getUTCDay():m(t(an.y,0,1)).getDay(),an.m=0,an.d="W"in an?(an.w+6)%7+an.W*7-(pa+5)%7:an.w+an.U*7-(pa+6)%7);return"Z"in an?(an.H+=an.Z/100|0,an.M+=an.Z%100,r(an)):m(an)}}function wt(zr,cn,tn,an){for(var Wn=0,En=cn.length,pa=tn.length,Qn,_r;Wn=pa)return-1;if(Qn=cn.charCodeAt(Wn++),Qn===37){if(Qn=cn.charAt(Wn++),_r=Mt[Qn in n?cn.charAt(Wn++):Qn],!_r||(an=_r(zr,tn,an))<0)return-1}else if(Qn!=tn.charCodeAt(an++))return-1}return an}function Ut(zr,cn,tn){var an=kt.exec(cn.slice(tn));return an?(zr.p=nr[an[0].toLowerCase()],tn+an[0].length):-1}function Ht(zr,cn,tn){var an=$t.exec(cn.slice(tn));return an?(zr.w=vr[an[0].toLowerCase()],tn+an[0].length):-1}function Qt(zr,cn,tn){var an=dr.exec(cn.slice(tn));return an?(zr.w=Dt[an[0].toLowerCase()],tn+an[0].length):-1}function qt(zr,cn,tn){var an=ir.exec(cn.slice(tn));return an?(zr.m=cr[an[0].toLowerCase()],tn+an[0].length):-1}function ur(zr,cn,tn){var an=Pr.exec(cn.slice(tn));return an?(zr.m=Ct[an[0].toLowerCase()],tn+an[0].length):-1}function Cr(zr,cn,tn){return wt(zr,Ce,cn,tn)}function mr(zr,cn,tn){return wt(zr,ve,cn,tn)}function Fr(zr,cn,tn){return wt(zr,Ie,cn,tn)}function tt(zr){return ot[zr.getDay()]}function et(zr){return je[zr.getDay()]}function Wt(zr){return Et[zr.getMonth()]}function Gt(zr){return ct[zr.getMonth()]}function or(zr){return Ae[+(zr.getHours()>=12)]}function wr(zr){return 1+~~(zr.getMonth()/3)}function Tr(zr){return ot[zr.getUTCDay()]}function br(zr){return je[zr.getUTCDay()]}function Kt(zr){return Et[zr.getUTCMonth()]}function Ir(zr){return ct[zr.getUTCMonth()]}function Lr(zr){return Ae[+(zr.getUTCHours()>=12)]}function Br(zr){return 1+~~(zr.getUTCMonth()/3)}return{format:function(zr){var cn=yt(zr+="",Or);return cn.toString=function(){return zr},cn},parse:function(zr){var cn=Rt(zr+="",!1);return cn.toString=function(){return zr},cn},utcFormat:function(zr){var cn=yt(zr+="",kr);return cn.toString=function(){return zr},cn},utcParse:function(zr){var cn=Rt(zr+="",!0);return cn.toString=function(){return zr},cn}}}var n={"-":"",_:" ",0:"0"},f=/^\s*\d+/,c=/^%/,u=/[\\^$*+?|[\]().{}]/g;function b(Fe,Ce,ve){var Ie=Fe<0?"-":"",Ae=(Ie?-Fe:Fe)+"",je=Ae.length;return Ie+(je68?1900:2e3),ve+Ie[0].length):-1}function A(Fe,Ce,ve){var Ie=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ce.slice(ve,ve+6));return Ie?(Fe.Z=Ie[1]?0:-(Ie[2]+(Ie[3]||"00")),ve+Ie[0].length):-1}function o(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+1));return Ie?(Fe.q=Ie[0]*3-3,ve+Ie[0].length):-1}function k(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+2));return Ie?(Fe.m=Ie[0]-1,ve+Ie[0].length):-1}function w(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+2));return Ie?(Fe.d=+Ie[0],ve+Ie[0].length):-1}function U(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+3));return Ie?(Fe.m=0,Fe.d=+Ie[0],ve+Ie[0].length):-1}function F(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+2));return Ie?(Fe.H=+Ie[0],ve+Ie[0].length):-1}function G(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+2));return Ie?(Fe.M=+Ie[0],ve+Ie[0].length):-1}function _(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+2));return Ie?(Fe.S=+Ie[0],ve+Ie[0].length):-1}function H(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+3));return Ie?(Fe.L=+Ie[0],ve+Ie[0].length):-1}function V(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve,ve+6));return Ie?(Fe.L=Math.floor(Ie[0]/1e3),ve+Ie[0].length):-1}function N(Fe,Ce,ve){var Ie=c.exec(Ce.slice(ve,ve+1));return Ie?ve+Ie[0].length:-1}function W(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve));return Ie?(Fe.Q=+Ie[0],ve+Ie[0].length):-1}function j(Fe,Ce,ve){var Ie=f.exec(Ce.slice(ve));return Ie?(Fe.s=+Ie[0],ve+Ie[0].length):-1}function Q(Fe,Ce){return b(Fe.getDate(),Ce,2)}function ie(Fe,Ce){return b(Fe.getHours(),Ce,2)}function ue(Fe,Ce){return b(Fe.getHours()%12||12,Ce,2)}function pe(Fe,Ce){return b(1+L.Z.count((0,x.Z)(Fe),Fe),Ce,3)}function q(Fe,Ce){return b(Fe.getMilliseconds(),Ce,3)}function X(Fe,Ce){return q(Fe,Ce)+"000"}function K(Fe,Ce){return b(Fe.getMonth()+1,Ce,2)}function J(Fe,Ce){return b(Fe.getMinutes(),Ce,2)}function re(Fe,Ce){return b(Fe.getSeconds(),Ce,2)}function fe(Fe){var Ce=Fe.getDay();return Ce===0?7:Ce}function te(Fe,Ce){return b(a.OM.count((0,x.Z)(Fe)-1,Fe),Ce,2)}function ee(Fe,Ce){var ve=Fe.getDay();return Fe=ve>=4||ve===0?(0,a.bL)(Fe):a.bL.ceil(Fe),b(a.bL.count((0,x.Z)(Fe),Fe)+((0,x.Z)(Fe).getDay()===4),Ce,2)}function ce(Fe){return Fe.getDay()}function le(Fe,Ce){return b(a.wA.count((0,x.Z)(Fe)-1,Fe),Ce,2)}function me(Fe,Ce){return b(Fe.getFullYear()%100,Ce,2)}function we(Fe,Ce){return b(Fe.getFullYear()%1e4,Ce,4)}function Se(Fe){var Ce=Fe.getTimezoneOffset();return(Ce>0?"-":(Ce*=-1,"+"))+b(Ce/60|0,"0",2)+b(Ce%60,"0",2)}function Ee(Fe,Ce){return b(Fe.getUTCDate(),Ce,2)}function We(Fe,Ce){return b(Fe.getUTCHours(),Ce,2)}function Ye(Fe,Ce){return b(Fe.getUTCHours()%12||12,Ce,2)}function De(Fe,Ce){return b(1+E.Z.count((0,d.Z)(Fe),Fe),Ce,3)}function Te(Fe,Ce){return b(Fe.getUTCMilliseconds(),Ce,3)}function Re(Fe,Ce){return Te(Fe,Ce)+"000"}function Xe(Fe,Ce){return b(Fe.getUTCMonth()+1,Ce,2)}function Je(Fe,Ce){return b(Fe.getUTCMinutes(),Ce,2)}function He(Fe,Ce){return b(Fe.getUTCSeconds(),Ce,2)}function $e(Fe){var Ce=Fe.getUTCDay();return Ce===0?7:Ce}function pt(Fe,Ce){return b(p.Ox.count((0,d.Z)(Fe)-1,Fe),Ce,2)}function ut(Fe,Ce){var ve=Fe.getUTCDay();return Fe=ve>=4||ve===0?(0,p.hB)(Fe):p.hB.ceil(Fe),b(p.hB.count((0,d.Z)(Fe),Fe)+((0,d.Z)(Fe).getUTCDay()===4),Ce,2)}function lt(Fe){return Fe.getUTCDay()}function ke(Fe,Ce){return b(p.l6.count((0,d.Z)(Fe)-1,Fe),Ce,2)}function Ne(Fe,Ce){return b(Fe.getUTCFullYear()%100,Ce,2)}function gt(Fe,Ce){return b(Fe.getUTCFullYear()%1e4,Ce,4)}function qe(){return"+0000"}function vt(){return"%"}function Bt(Fe){return+Fe}function Yt(Fe){return Math.floor(+Fe/1e3)}var it,Ue,_e;Ze({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ze(Fe){return it=s(Fe),Ue=it.format,it.parse,_e=it.utcFormat,it.utcParse,it}},82301:function(B,O,e){e.d(O,{a:function(){return L}});var p=e(30052),E=e(54263),a=(0,p.Z)(function(x){x.setHours(0,0,0,0)},function(x,d){x.setDate(x.getDate()+d)},function(x,d){return(d-x-(d.getTimezoneOffset()-x.getTimezoneOffset())*E.yB)/E.UD},function(x){return x.getDate()-1});O.Z=a;var L=a.range},54263:function(B,O,e){e.d(O,{UD:function(){return L},Y2:function(){return a},Ym:function(){return p},iM:function(){return x},yB:function(){return E}});var p=1e3,E=6e4,a=36e5,L=864e5,x=6048e5},81041:function(B,O,e){e.r(O),e.d(O,{timeDay:function(){return b.Z},timeDays:function(){return b.a},timeFriday:function(){return h.mC},timeFridays:function(){return h.b$},timeHour:function(){return c},timeHours:function(){return u},timeInterval:function(){return p.Z},timeMillisecond:function(){return a},timeMilliseconds:function(){return L},timeMinute:function(){return s},timeMinutes:function(){return n},timeMonday:function(){return h.wA},timeMondays:function(){return h.bJ},timeMonth:function(){return v},timeMonths:function(){return l},timeSaturday:function(){return h.EY},timeSaturdays:function(){return h.Ff},timeSecond:function(){return m},timeSeconds:function(){return r},timeSunday:function(){return h.OM},timeSundays:function(){return h.vm},timeThursday:function(){return h.bL},timeThursdays:function(){return h.$t},timeTuesday:function(){return h.sy},timeTuesdays:function(){return h.aU},timeWednesday:function(){return h.zg},timeWednesdays:function(){return h.Ld},timeWeek:function(){return h.OM},timeWeeks:function(){return h.vm},timeYear:function(){return g.Z},timeYears:function(){return g.g},utcDay:function(){return o.Z},utcDays:function(){return o.y},utcFriday:function(){return k.QQ},utcFridays:function(){return k.fz},utcHour:function(){return P},utcHours:function(){return A},utcMillisecond:function(){return a},utcMilliseconds:function(){return L},utcMinute:function(){return M},utcMinutes:function(){return D},utcMonday:function(){return k.l6},utcMondays:function(){return k.$3},utcMonth:function(){return U},utcMonths:function(){return F},utcSaturday:function(){return k.g4},utcSaturdays:function(){return k.Q_},utcSecond:function(){return m},utcSeconds:function(){return r},utcSunday:function(){return k.Ox},utcSundays:function(){return k.SU},utcThursday:function(){return k.hB},utcThursdays:function(){return k.xj},utcTuesday:function(){return k.J1},utcTuesdays:function(){return k.DK},utcWednesday:function(){return k.b3},utcWednesdays:function(){return k.uy},utcWeek:function(){return k.Ox},utcWeeks:function(){return k.SU},utcYear:function(){return G.Z},utcYears:function(){return G.D}});var p=e(30052),E=(0,p.Z)(function(){},function(_,H){_.setTime(+_+H)},function(_,H){return H-_});E.every=function(_){return _=Math.floor(_),!isFinite(_)||!(_>0)?null:_>1?(0,p.Z)(function(H){H.setTime(Math.floor(H/_)*_)},function(H,V){H.setTime(+H+V*_)},function(H,V){return(V-H)/_}):E};var a=E,L=E.range,x=e(54263),d=(0,p.Z)(function(_){_.setTime(_-_.getMilliseconds())},function(_,H){_.setTime(+_+H*x.Ym)},function(_,H){return(H-_)/x.Ym},function(_){return _.getUTCSeconds()}),m=d,r=d.range,t=(0,p.Z)(function(_){_.setTime(_-_.getMilliseconds()-_.getSeconds()*x.Ym)},function(_,H){_.setTime(+_+H*x.yB)},function(_,H){return(H-_)/x.yB},function(_){return _.getMinutes()}),s=t,n=t.range,f=(0,p.Z)(function(_){_.setTime(_-_.getMilliseconds()-_.getSeconds()*x.Ym-_.getMinutes()*x.yB)},function(_,H){_.setTime(+_+H*x.Y2)},function(_,H){return(H-_)/x.Y2},function(_){return _.getHours()}),c=f,u=f.range,b=e(82301),h=e(59879),S=(0,p.Z)(function(_){_.setDate(1),_.setHours(0,0,0,0)},function(_,H){_.setMonth(_.getMonth()+H)},function(_,H){return H.getMonth()-_.getMonth()+(H.getFullYear()-_.getFullYear())*12},function(_){return _.getMonth()}),v=S,l=S.range,g=e(34823),C=(0,p.Z)(function(_){_.setUTCSeconds(0,0)},function(_,H){_.setTime(+_+H*x.yB)},function(_,H){return(H-_)/x.yB},function(_){return _.getUTCMinutes()}),M=C,D=C.range,T=(0,p.Z)(function(_){_.setUTCMinutes(0,0,0)},function(_,H){_.setTime(+_+H*x.Y2)},function(_,H){return(H-_)/x.Y2},function(_){return _.getUTCHours()}),P=T,A=T.range,o=e(48480),k=e(58176),w=(0,p.Z)(function(_){_.setUTCDate(1),_.setUTCHours(0,0,0,0)},function(_,H){_.setUTCMonth(_.getUTCMonth()+H)},function(_,H){return H.getUTCMonth()-_.getUTCMonth()+(H.getUTCFullYear()-_.getUTCFullYear())*12},function(_){return _.getUTCMonth()}),U=w,F=w.range,G=e(79791)},30052:function(B,O,e){e.d(O,{Z:function(){return a}});var p=new Date,E=new Date;function a(L,x,d,m){function r(t){return L(t=arguments.length===0?new Date:new Date(+t)),t}return r.floor=function(t){return L(t=new Date(+t)),t},r.ceil=function(t){return L(t=new Date(t-1)),x(t,1),L(t),t},r.round=function(t){var s=r(t),n=r.ceil(t);return t-s0))return f;do f.push(c=new Date(+t)),x(t,n),L(t);while(c=s)for(;L(s),!t(s);)s.setTime(s-1)},function(s,n){if(s>=s)if(n<0)for(;++n<=0;)for(;x(s,-1),!t(s););else for(;--n>=0;)for(;x(s,1),!t(s););})},d&&(r.count=function(t,s){return p.setTime(+t),E.setTime(+s),L(p),L(E),Math.floor(d(p,E))},r.every=function(t){return t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?r.filter(m?function(s){return m(s)%t===0}:function(s){return r.count(0,s)%t===0}):r}),r}},48480:function(B,O,e){e.d(O,{y:function(){return L}});var p=e(30052),E=e(54263),a=(0,p.Z)(function(x){x.setUTCHours(0,0,0,0)},function(x,d){x.setUTCDate(x.getUTCDate()+d)},function(x,d){return(d-x)/E.UD},function(x){return x.getUTCDate()-1});O.Z=a;var L=a.range},58176:function(B,O,e){e.d(O,{$3:function(){return f},DK:function(){return c},J1:function(){return d},Ox:function(){return L},QQ:function(){return t},Q_:function(){return S},SU:function(){return n},b3:function(){return m},fz:function(){return h},g4:function(){return s},hB:function(){return r},l6:function(){return x},uy:function(){return u},xj:function(){return b}});var p=e(30052),E=e(54263);function a(v){return(0,p.Z)(function(l){l.setUTCDate(l.getUTCDate()-(l.getUTCDay()+7-v)%7),l.setUTCHours(0,0,0,0)},function(l,g){l.setUTCDate(l.getUTCDate()+g*7)},function(l,g){return(g-l)/E.iM})}var L=a(0),x=a(1),d=a(2),m=a(3),r=a(4),t=a(5),s=a(6),n=L.range,f=x.range,c=d.range,u=m.range,b=r.range,h=t.range,S=s.range},79791:function(B,O,e){e.d(O,{D:function(){return a}});var p=e(30052),E=(0,p.Z)(function(L){L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,x){L.setUTCFullYear(L.getUTCFullYear()+x)},function(L,x){return x.getUTCFullYear()-L.getUTCFullYear()},function(L){return L.getUTCFullYear()});E.every=function(L){return!isFinite(L=Math.floor(L))||!(L>0)?null:(0,p.Z)(function(x){x.setUTCFullYear(Math.floor(x.getUTCFullYear()/L)*L),x.setUTCMonth(0,1),x.setUTCHours(0,0,0,0)},function(x,d){x.setUTCFullYear(x.getUTCFullYear()+d*L)})},O.Z=E;var a=E.range},59879:function(B,O,e){e.d(O,{$t:function(){return b},EY:function(){return s},Ff:function(){return S},Ld:function(){return u},OM:function(){return L},aU:function(){return c},b$:function(){return h},bJ:function(){return f},bL:function(){return r},mC:function(){return t},sy:function(){return d},vm:function(){return n},wA:function(){return x},zg:function(){return m}});var p=e(30052),E=e(54263);function a(v){return(0,p.Z)(function(l){l.setDate(l.getDate()-(l.getDay()+7-v)%7),l.setHours(0,0,0,0)},function(l,g){l.setDate(l.getDate()+g*7)},function(l,g){return(g-l-(g.getTimezoneOffset()-l.getTimezoneOffset())*E.yB)/E.iM})}var L=a(0),x=a(1),d=a(2),m=a(3),r=a(4),t=a(5),s=a(6),n=L.range,f=x.range,c=d.range,u=m.range,b=r.range,h=t.range,S=s.range},34823:function(B,O,e){e.d(O,{g:function(){return a}});var p=e(30052),E=(0,p.Z)(function(L){L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,x){L.setFullYear(L.getFullYear()+x)},function(L,x){return x.getFullYear()-L.getFullYear()},function(L){return L.getFullYear()});E.every=function(L){return!isFinite(L=Math.floor(L))||!(L>0)?null:(0,p.Z)(function(x){x.setFullYear(Math.floor(x.getFullYear()/L)*L),x.setMonth(0,1),x.setHours(0,0,0,0)},function(x,d){x.setFullYear(x.getFullYear()+d*L)})},O.Z=E;var a=E.range},17045:function(B,O,e){var p=e(8709),E=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",a=Object.prototype.toString,L=Array.prototype.concat,x=Object.defineProperty,d=function(n){return typeof n=="function"&&a.call(n)==="[object Function]"},m=e(55622)(),r=x&&m,t=function(n,f,c,u){if(f in n){if(u===!0){if(n[f]===c)return}else if(!d(u)||!u())return}r?x(n,f,{configurable:!0,enumerable:!1,value:c,writable:!0}):n[f]=c},s=function(n,f){var c=arguments.length>2?arguments[2]:{},u=p(f);E&&(u=L.call(u,Object.getOwnPropertySymbols(f)));for(var b=0;br*t){var u=(c-f)/r;d[n]=u*1e3}}return d}function a(L){for(var x=[],d=L[0];d<=L[1];d++)for(var m=String.fromCharCode(d),r=L[0];r"u"&&(a=0),typeof E){case"number":if(E>0)return e(E|0,a);break;case"object":if(typeof E.length=="number")return O(E,a,0);break}return[]}B.exports=p},11474:function(B){B.exports=O,B.exports.default=O;function O(F,G,_){_=_||2;var H=G&&G.length,V=H?G[0]*_:F.length,N=e(F,0,V,_,!0),W=[];if(!N||N.next===N.prev)return W;var j,Q,ie,ue,pe,q,X;if(H&&(N=m(F,G,N,_)),F.length>80*_){j=ie=F[0],Q=ue=F[1];for(var K=_;Kie&&(ie=pe),q>ue&&(ue=q);X=Math.max(ie-j,ue-Q),X=X!==0?1/X:0}return E(N,W,_,j,Q,X),W}function e(F,G,_,H,V){var N,W;if(V===U(F,G,_,H)>0)for(N=G;N<_;N+=H)W=o(N,F[N],F[N+1],W);else for(N=_-H;N>=G;N-=H)W=o(N,F[N],F[N+1],W);return W&&l(W,W.next)&&(k(W),W=W.next),W}function p(F,G){if(!F)return F;G||(G=F);var _=F,H;do if(H=!1,!_.steiner&&(l(_,_.next)||v(_.prev,_,_.next)===0)){if(k(_),_=G=_.prev,_===_.next)break;H=!0}else _=_.next;while(H||_!==G);return G}function E(F,G,_,H,V,N,W){if(F){!W&&N&&f(F,H,V,N);for(var j=F,Q,ie;F.prev!==F.next;){if(Q=F.prev,ie=F.next,N?L(F,H,V,N):a(F)){G.push(Q.i/_),G.push(F.i/_),G.push(ie.i/_),k(F),F=ie.next,j=ie.next;continue}if(F=ie,F===j){W?W===1?(F=x(p(F),G,_),E(F,G,_,H,V,N,2)):W===2&&d(F,G,_,H,V,N):E(p(F),G,_,H,V,N,1);break}}}}function a(F){var G=F.prev,_=F,H=F.next;if(v(G,_,H)>=0)return!1;for(var V=F.next.next;V!==F.prev;){if(h(G.x,G.y,_.x,_.y,H.x,H.y,V.x,V.y)&&v(V.prev,V,V.next)>=0)return!1;V=V.next}return!0}function L(F,G,_,H){var V=F.prev,N=F,W=F.next;if(v(V,N,W)>=0)return!1;for(var j=V.xN.x?V.x>W.x?V.x:W.x:N.x>W.x?N.x:W.x,ue=V.y>N.y?V.y>W.y?V.y:W.y:N.y>W.y?N.y:W.y,pe=u(j,Q,G,_,H),q=u(ie,ue,G,_,H),X=F.prevZ,K=F.nextZ;X&&X.z>=pe&&K&&K.z<=q;){if(X!==F.prev&&X!==F.next&&h(V.x,V.y,N.x,N.y,W.x,W.y,X.x,X.y)&&v(X.prev,X,X.next)>=0||(X=X.prevZ,K!==F.prev&&K!==F.next&&h(V.x,V.y,N.x,N.y,W.x,W.y,K.x,K.y)&&v(K.prev,K,K.next)>=0))return!1;K=K.nextZ}for(;X&&X.z>=pe;){if(X!==F.prev&&X!==F.next&&h(V.x,V.y,N.x,N.y,W.x,W.y,X.x,X.y)&&v(X.prev,X,X.next)>=0)return!1;X=X.prevZ}for(;K&&K.z<=q;){if(K!==F.prev&&K!==F.next&&h(V.x,V.y,N.x,N.y,W.x,W.y,K.x,K.y)&&v(K.prev,K,K.next)>=0)return!1;K=K.nextZ}return!0}function x(F,G,_){var H=F;do{var V=H.prev,N=H.next.next;!l(V,N)&&g(V,H,H.next,N)&&T(V,N)&&T(N,V)&&(G.push(V.i/_),G.push(H.i/_),G.push(N.i/_),k(H),k(H.next),H=F=N),H=H.next}while(H!==F);return p(H)}function d(F,G,_,H,V,N){var W=F;do{for(var j=W.next.next;j!==W.prev;){if(W.i!==j.i&&S(W,j)){var Q=A(W,j);W=p(W,W.next),Q=p(Q,Q.next),E(W,G,_,H,V,N),E(Q,G,_,H,V,N);return}j=j.next}W=W.next}while(W!==F)}function m(F,G,_,H){var V=[],N,W,j,Q,ie;for(N=0,W=G.length;N=_.next.y&&_.next.y!==_.y){var j=_.x+(V-_.y)*(_.next.x-_.x)/(_.next.y-_.y);if(j<=H&&j>N){if(N=j,j===H){if(V===_.y)return _;if(V===_.next.y)return _.next}W=_.x<_.next.x?_:_.next}}_=_.next}while(_!==G);if(!W)return null;if(H===N)return W;var Q=W,ie=W.x,ue=W.y,pe=1/0,q;_=W;do H>=_.x&&_.x>=ie&&H!==_.x&&h(VW.x||_.x===W.x&&n(W,_)))&&(W=_,pe=q)),_=_.next;while(_!==Q);return W}function n(F,G){return v(F.prev,F,G.prev)<0&&v(G.next,F,F.next)<0}function f(F,G,_,H){var V=F;do V.z===null&&(V.z=u(V.x,V.y,G,_,H)),V.prevZ=V.prev,V.nextZ=V.next,V=V.next;while(V!==F);V.prevZ.nextZ=null,V.prevZ=null,c(V)}function c(F){var G,_,H,V,N,W,j,Q,ie=1;do{for(_=F,F=null,N=null,W=0;_;){for(W++,H=_,j=0,G=0;G0||Q>0&&H;)j!==0&&(Q===0||!H||_.z<=H.z)?(V=_,_=_.nextZ,j--):(V=H,H=H.nextZ,Q--),N?N.nextZ=V:F=V,V.prevZ=N,N=V;_=H}N.nextZ=null,ie*=2}while(W>1);return F}function u(F,G,_,H,V){return F=32767*(F-_)*V,G=32767*(G-H)*V,F=(F|F<<8)&16711935,F=(F|F<<4)&252645135,F=(F|F<<2)&858993459,F=(F|F<<1)&1431655765,G=(G|G<<8)&16711935,G=(G|G<<4)&252645135,G=(G|G<<2)&858993459,G=(G|G<<1)&1431655765,F|G<<1}function b(F){var G=F,_=F;do(G.x<_.x||G.x===_.x&&G.y<_.y)&&(_=G),G=G.next;while(G!==F);return _}function h(F,G,_,H,V,N,W,j){return(V-W)*(G-j)-(F-W)*(N-j)>=0&&(F-W)*(H-j)-(_-W)*(G-j)>=0&&(_-W)*(N-j)-(V-W)*(H-j)>=0}function S(F,G){return F.next.i!==G.i&&F.prev.i!==G.i&&!D(F,G)&&(T(F,G)&&T(G,F)&&P(F,G)&&(v(F.prev,F,G.prev)||v(F,G.prev,G))||l(F,G)&&v(F.prev,F,F.next)>0&&v(G.prev,G,G.next)>0)}function v(F,G,_){return(G.y-F.y)*(_.x-G.x)-(G.x-F.x)*(_.y-G.y)}function l(F,G){return F.x===G.x&&F.y===G.y}function g(F,G,_,H){var V=M(v(F,G,_)),N=M(v(F,G,H)),W=M(v(_,H,F)),j=M(v(_,H,G));return!!(V!==N&&W!==j||V===0&&C(F,_,G)||N===0&&C(F,H,G)||W===0&&C(_,F,H)||j===0&&C(_,G,H))}function C(F,G,_){return G.x<=Math.max(F.x,_.x)&&G.x>=Math.min(F.x,_.x)&&G.y<=Math.max(F.y,_.y)&&G.y>=Math.min(F.y,_.y)}function M(F){return F>0?1:F<0?-1:0}function D(F,G){var _=F;do{if(_.i!==F.i&&_.next.i!==F.i&&_.i!==G.i&&_.next.i!==G.i&&g(_,_.next,F,G))return!0;_=_.next}while(_!==F);return!1}function T(F,G){return v(F.prev,F,F.next)<0?v(F,G,F.next)>=0&&v(F,F.prev,G)>=0:v(F,G,F.prev)<0||v(F,F.next,G)<0}function P(F,G){var _=F,H=!1,V=(F.x+G.x)/2,N=(F.y+G.y)/2;do _.y>N!=_.next.y>N&&_.next.y!==_.y&&V<(_.next.x-_.x)*(N-_.y)/(_.next.y-_.y)+_.x&&(H=!H),_=_.next;while(_!==F);return H}function A(F,G){var _=new w(F.i,F.x,F.y),H=new w(G.i,G.x,G.y),V=F.next,N=G.prev;return F.next=G,G.prev=F,_.next=V,V.prev=_,H.next=_,_.prev=H,N.next=H,H.prev=N,H}function o(F,G,_,H){var V=new w(F,G,_);return H?(V.next=H.next,V.prev=H,H.next.prev=V,H.next=V):(V.prev=V,V.next=V),V}function k(F){F.next.prev=F.prev,F.prev.next=F.next,F.prevZ&&(F.prevZ.nextZ=F.nextZ),F.nextZ&&(F.nextZ.prevZ=F.prevZ)}function w(F,G,_){this.i=F,this.x=G,this.y=_,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}O.deviation=function(F,G,_,H){var V=G&&G.length,N=V?G[0]*_:F.length,W=Math.abs(U(F,0,N,_));if(V)for(var j=0,Q=G.length;j0&&(H+=F[V-1].length,_.holes.push(H))}return _}},2502:function(B,O,e){var p=e(68664);B.exports=function(a,L){var x=[],d=[],m=[],r={},t=[],s;function n(C){m[C]=!1,r.hasOwnProperty(C)&&Object.keys(r[C]).forEach(function(M){delete r[C][M],m[M]&&n(M)})}function f(C){var M=!1;d.push(C),m[C]=!0;var D,T;for(D=0;D=C})}function b(C){u(C);for(var M=a,D=p(M),T=D.components.filter(function(F){return F.length>1}),P=1/0,A,o=0;o=55296&&C<=56319&&(P+=c[++S])),P=u?s.call(u,b,P,v):P,h?(n.value=P,f(l,v,n)):l[v]=P,++v;g=v}}if(g===void 0)for(g=L(c.length),h&&(l=new h(g)),S=0;S0?1:-1}},56247:function(B,O,e){var p=e(9953),E=Math.abs,a=Math.floor;B.exports=function(L){return isNaN(L)?0:(L=Number(L),L===0||!isFinite(L)?L:p(L)*a(E(L)))}},35976:function(B,O,e){var p=e(56247),E=Math.max;B.exports=function(a){return E(0,p(a))}},67260:function(B,O,e){var p=e(78513),E=e(36672),a=Function.prototype.bind,L=Function.prototype.call,x=Object.keys,d=Object.prototype.propertyIsEnumerable;B.exports=function(m,r){return function(t,s){var n,f=arguments[2],c=arguments[3];return t=Object(E(t)),p(s),n=x(t),c&&n.sort(typeof c=="function"?a.call(c,t):void 0),typeof m!="function"&&(m=n[m]),L.call(m,n,function(u,b){return d.call(t,u)?L.call(s,f,t[u],u,t,b):r})}}},95879:function(B,O,e){B.exports=e(73583)()?Object.assign:e(34205)},73583:function(B){B.exports=function(){var O=Object.assign,e;return typeof O!="function"?!1:(e={foo:"raz"},O(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},34205:function(B,O,e){var p=e(68700),E=e(36672),a=Math.max;B.exports=function(L,x){var d,m,r=a(arguments.length,2),t;for(L=Object(E(L)),t=function(s){try{L[s]=x[s]}catch(n){d||(d=n)}},m=1;m-1}},87963:function(B){var O=Object.prototype.toString,e=O.call("");B.exports=function(p){return typeof p=="string"||p&&typeof p=="object"&&(p instanceof String||O.call(p)===e)||!1}},43043:function(B){var O=Object.create(null),e=Math.random;B.exports=function(){var p;do p=e().toString(36).slice(2);while(O[p]);return p}},32411:function(B,O,e){var p=e(1496),E=e(66741),a=e(62072),L=e(8260),x=e(95426),d=Object.defineProperty,m;m=B.exports=function(r,t){if(!(this instanceof m))throw new TypeError("Constructor requires 'new'");x.call(this,r),t?E.call(t,"key+value")?t="key+value":E.call(t,"key")?t="key":t="value":t="value",d(this,"__kind__",a("",t))},p&&p(m,x),delete m.prototype.constructor,m.prototype=Object.create(x.prototype,{_resolve:a(function(r){return this.__kind__==="value"?this.__list__[r]:this.__kind__==="key+value"?[r,this.__list__[r]]:r})}),d(m.prototype,L.toStringTag,a("c","Array Iterator"))},27515:function(B,O,e){var p=e(73051),E=e(78513),a=e(87963),L=e(66661),x=Array.isArray,d=Function.prototype.call,m=Array.prototype.some;B.exports=function(r,t){var s,n=arguments[2],f,c,u,b,h,S,v;if(x(r)||p(r)?s="array":a(r)?s="string":r=L(r),E(t),c=function(){u=!0},s==="array"){m.call(r,function(l){return d.call(t,n,l,c),u});return}if(s==="string"){for(h=r.length,b=0;b=55296&&v<=56319&&(S+=r[++b])),d.call(t,n,S,c),!u);++b);return}for(f=r.next();!f.done;){if(d.call(t,n,f.value,c),u)return;f=r.next()}}},66661:function(B,O,e){var p=e(73051),E=e(87963),a=e(32411),L=e(259),x=e(58095),d=e(8260).iterator;B.exports=function(m){return typeof x(m)[d]=="function"?m[d]():p(m)?new a(m):E(m)?new L(m):new a(m)}},95426:function(B,O,e){var p=e(16134),E=e(95879),a=e(78513),L=e(36672),x=e(62072),d=e(55174),m=e(8260),r=Object.defineProperty,t=Object.defineProperties,s;B.exports=s=function(n,f){if(!(this instanceof s))throw new TypeError("Constructor requires 'new'");t(this,{__list__:x("w",L(n)),__context__:x("w",f),__nextIndex__:x("w",0)}),f&&(a(f.on),f.on("_add",this._onAdd),f.on("_delete",this._onDelete),f.on("_clear",this._onClear))},delete s.prototype.constructor,t(s.prototype,E({_next:x(function(){var n;if(this.__list__){if(this.__redo__&&(n=this.__redo__.shift(),n!==void 0))return n;if(this.__nextIndex__=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){r(this,"__redo__",x("c",[n]));return}this.__redo__.forEach(function(f,c){f>=n&&(this.__redo__[c]=++f)},this),this.__redo__.push(n)}}),_onDelete:x(function(n){var f;n>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(f=this.__redo__.indexOf(n),f!==-1&&this.__redo__.splice(f,1),this.__redo__.forEach(function(c,u){c>n&&(this.__redo__[u]=--c)},this)))}),_onClear:x(function(){this.__redo__&&p.call(this.__redo__),this.__nextIndex__=0})}))),r(s.prototype,m.iterator,x(function(){return this}))},35940:function(B,O,e){var p=e(73051),E=e(95296),a=e(87963),L=e(8260).iterator,x=Array.isArray;B.exports=function(d){return E(d)?x(d)||a(d)||p(d)?!0:typeof d[L]=="function":!1}},259:function(B,O,e){var p=e(1496),E=e(62072),a=e(8260),L=e(95426),x=Object.defineProperty,d;d=B.exports=function(m){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");m=String(m),L.call(this,m),x(this,"__length__",E("",m.length))},p&&p(d,L),delete d.prototype.constructor,d.prototype=Object.create(L.prototype,{_next:E(function(){if(this.__list__){if(this.__nextIndex__=55296&&t<=56319?r+this.__list__[this.__nextIndex__++]:r)})}),x(d.prototype,a.toStringTag,E("c","String Iterator"))},58095:function(B,O,e){var p=e(35940);B.exports=function(E){if(!p(E))throw new TypeError(E+" is not iterable");return E}},73523:function(B){function O(p,E){if(p==null)throw new TypeError("Cannot convert first argument to object");for(var a=Object(p),L=1;L0&&(P=C[0]),P instanceof Error)throw P;var A=new Error("Unhandled error."+(P?" ("+P.message+")":""));throw A.context=P,A}var o=T[g];if(o===void 0)return!1;if(typeof o=="function")e(o,this,C);else for(var k=o.length,w=c(o,k),M=0;M0&&P.length>D&&!P.warned){P.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+P.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=l,A.type=g,A.count=P.length,E(A)}return l}L.prototype.addListener=function(g,C){return r(this,g,C,!1)},L.prototype.on=L.prototype.addListener,L.prototype.prependListener=function(g,C){return r(this,g,C,!0)};function t(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(l,g,C){var M={fired:!1,wrapFn:void 0,target:l,type:g,listener:C},D=t.bind(M);return D.listener=C,M.wrapFn=D,D}L.prototype.once=function(g,C){return d(C),this.on(g,s(this,g,C)),this},L.prototype.prependOnceListener=function(g,C){return d(C),this.prependListener(g,s(this,g,C)),this},L.prototype.removeListener=function(g,C){var M,D,T,P,A;if(d(C),D=this._events,D===void 0)return this;if(M=D[g],M===void 0)return this;if(M===C||M.listener===C)--this._eventsCount===0?this._events=Object.create(null):(delete D[g],D.removeListener&&this.emit("removeListener",g,M.listener||C));else if(typeof M!="function"){for(T=-1,P=M.length-1;P>=0;P--)if(M[P]===C||M[P].listener===C){A=M[P].listener,T=P;break}if(T<0)return this;T===0?M.shift():u(M,T),M.length===1&&(D[g]=M[0]),D.removeListener!==void 0&&this.emit("removeListener",g,A||C)}return this},L.prototype.off=L.prototype.removeListener,L.prototype.removeAllListeners=function(g){var C,M,D;if(M=this._events,M===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete M[g]),this;if(arguments.length===0){var T=Object.keys(M),P;for(D=0;D=0;D--)this.removeListener(g,C[D]);return this};function n(l,g,C){var M=l._events;if(M===void 0)return[];var D=M[g];return D===void 0?[]:typeof D=="function"?C?[D.listener||D]:[D]:C?b(D):c(D,D.length)}L.prototype.listeners=function(g){return n(this,g,!0)},L.prototype.rawListeners=function(g){return n(this,g,!1)},L.listenerCount=function(l,g){return typeof l.listenerCount=="function"?l.listenerCount(g):f.call(l,g)},L.prototype.listenerCount=f;function f(l){var g=this._events;if(g!==void 0){var C=g[l];if(typeof C=="function")return 1;if(C!==void 0)return C.length}return 0}L.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]};function c(l,g){for(var C=new Array(g),M=0;Mx[0]-r[0]/2&&(u=r[0]/2,b+=r[1]);return d}},32879:function(B){B.exports=O,O.canvas=document.createElement("canvas"),O.cache={};function O(t,L){L||(L={}),(typeof t=="string"||Array.isArray(t))&&(L.family=t);var x=Array.isArray(L.family)?L.family.join(", "):L.family;if(!x)throw Error("`family` must be defined");var d=L.size||L.fontSize||L.em||48,m=L.weight||L.fontWeight||"",r=L.style||L.fontStyle||"",t=[r,m,d].join(" ")+"px "+x,s=L.origin||"top";if(O.cache[x]&&d<=O.cache[x].em)return e(O.cache[x],s);var n=L.canvas||O.canvas,f=n.getContext("2d"),c={upper:L.upper!==void 0?L.upper:"H",lower:L.lower!==void 0?L.lower:"x",descent:L.descent!==void 0?L.descent:"p",ascent:L.ascent!==void 0?L.ascent:"h",tittle:L.tittle!==void 0?L.tittle:"i",overshoot:L.overshoot!==void 0?L.overshoot:"O"},u=Math.ceil(d*1.5);n.height=u,n.width=u*.5,f.font=t;var b="H",h={top:0};f.clearRect(0,0,u,u),f.textBaseline="top",f.fillStyle="black",f.fillText(b,0,0);var S=p(f.getImageData(0,0,u,u));f.clearRect(0,0,u,u),f.textBaseline="bottom",f.fillText(b,0,u);var v=p(f.getImageData(0,0,u,u));h.lineHeight=h.bottom=u-v+S,f.clearRect(0,0,u,u),f.textBaseline="alphabetic",f.fillText(b,0,u);var l=p(f.getImageData(0,0,u,u)),g=u-l-1+S;h.baseline=h.alphabetic=g,f.clearRect(0,0,u,u),f.textBaseline="middle",f.fillText(b,0,u*.5);var C=p(f.getImageData(0,0,u,u));h.median=h.middle=u-C-1+S-u*.5,f.clearRect(0,0,u,u),f.textBaseline="hanging",f.fillText(b,0,u*.5);var M=p(f.getImageData(0,0,u,u));h.hanging=u-M-1+S-u*.5,f.clearRect(0,0,u,u),f.textBaseline="ideographic",f.fillText(b,0,u);var D=p(f.getImageData(0,0,u,u));if(h.ideographic=u-D-1+S,c.upper&&(f.clearRect(0,0,u,u),f.textBaseline="top",f.fillText(c.upper,0,0),h.upper=p(f.getImageData(0,0,u,u)),h.capHeight=h.baseline-h.upper),c.lower&&(f.clearRect(0,0,u,u),f.textBaseline="top",f.fillText(c.lower,0,0),h.lower=p(f.getImageData(0,0,u,u)),h.xHeight=h.baseline-h.lower),c.tittle&&(f.clearRect(0,0,u,u),f.textBaseline="top",f.fillText(c.tittle,0,0),h.tittle=p(f.getImageData(0,0,u,u))),c.ascent&&(f.clearRect(0,0,u,u),f.textBaseline="top",f.fillText(c.ascent,0,0),h.ascent=p(f.getImageData(0,0,u,u))),c.descent&&(f.clearRect(0,0,u,u),f.textBaseline="top",f.fillText(c.descent,0,0),h.descent=E(f.getImageData(0,0,u,u))),c.overshoot){f.clearRect(0,0,u,u),f.textBaseline="top",f.fillText(c.overshoot,0,0);var T=E(f.getImageData(0,0,u,u));h.overshoot=T-g}for(var P in h)h[P]/=d;return h.em=d,O.cache[x]=h,e(h,s)}function e(a,L){var x={};typeof L=="string"&&(L=a[L]);for(var d in a)d!=="em"&&(x[d]=a[d]-L);return x}function p(a){for(var L=a.height,x=a.data,d=3;d0;d-=4)if(x[d]!==0)return Math.floor((d-3)*.25/L)}},31353:function(B,O,e){var p=e(85395),E=Object.prototype.toString,a=Object.prototype.hasOwnProperty,L=function(t,s,n){for(var f=0,c=t.length;f=3&&(f=n),E.call(t)==="[object Array]"?L(t,s,f):typeof t=="string"?x(t,s,f):d(t,s,f)};B.exports=m},73047:function(B){var O="Function.prototype.bind called on incompatible ",e=Array.prototype.slice,p=Object.prototype.toString,E="[object Function]";B.exports=function(L){var x=this;if(typeof x!="function"||p.call(x)!==E)throw new TypeError(O+x);for(var d=e.call(arguments,1),m,r=function(){if(this instanceof m){var c=x.apply(this,d.concat(e.call(arguments)));return Object(c)===c?c:this}else return x.apply(L,d.concat(e.call(arguments)))},t=Math.max(0,x.length-d.length),s=[],n=0;n"u"&&!p.canvas)return null;var E=p.canvas||document.createElement("canvas");typeof p.width=="number"&&(E.width=p.width),typeof p.height=="number"&&(E.height=p.height);var a=p,L;try{var x=[e];e.indexOf("webgl")===0&&x.push("experimental-"+e);for(var d=0;d"u"?p:s(Uint8Array),c={"%AggregateError%":typeof AggregateError>"u"?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?p:ArrayBuffer,"%ArrayIteratorPrototype%":t?s([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":n,"%AsyncGenerator%":n,"%AsyncGeneratorFunction%":n,"%AsyncIteratorPrototype%":n,"%Atomics%":typeof Atomics>"u"?p:Atomics,"%BigInt%":typeof BigInt>"u"?p:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?p:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?p:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?p:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?p:Float32Array,"%Float64Array%":typeof Float64Array>"u"?p:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?p:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":n,"%Int8Array%":typeof Int8Array>"u"?p:Int8Array,"%Int16Array%":typeof Int16Array>"u"?p:Int16Array,"%Int32Array%":typeof Int32Array>"u"?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":t?s(s([][Symbol.iterator]())):p,"%JSON%":typeof JSON=="object"?JSON:p,"%Map%":typeof Map>"u"?p:Map,"%MapIteratorPrototype%":typeof Map>"u"||!t?p:s(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?p:Promise,"%Proxy%":typeof Proxy>"u"?p:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?p:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?p:Set,"%SetIteratorPrototype%":typeof Set>"u"||!t?p:s(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":t?s(""[Symbol.iterator]()):p,"%Symbol%":t?Symbol:p,"%SyntaxError%":E,"%ThrowTypeError%":r,"%TypedArray%":f,"%TypeError%":L,"%Uint8Array%":typeof Uint8Array>"u"?p:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?p:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?p:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?p:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?p:WeakMap,"%WeakRef%":typeof WeakRef>"u"?p:WeakRef,"%WeakSet%":typeof WeakSet>"u"?p:WeakSet};try{null.error}catch(k){var u=s(s(k));c["%Error.prototype%"]=u}var b=function k(w){var U;if(w==="%AsyncFunction%")U=x("async function () {}");else if(w==="%GeneratorFunction%")U=x("function* () {}");else if(w==="%AsyncGeneratorFunction%")U=x("async function* () {}");else if(w==="%AsyncGenerator%"){var F=k("%AsyncGeneratorFunction%");F&&(U=F.prototype)}else if(w==="%AsyncIteratorPrototype%"){var G=k("%AsyncGenerator%");G&&(U=s(G.prototype))}return c[w]=U,U},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=e(77575),v=e(35065),l=S.call(Function.call,Array.prototype.concat),g=S.call(Function.apply,Array.prototype.splice),C=S.call(Function.call,String.prototype.replace),M=S.call(Function.call,String.prototype.slice),D=S.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,A=function(w){var U=M(w,0,1),F=M(w,-1);if(U==="%"&&F!=="%")throw new E("invalid intrinsic syntax, expected closing `%`");if(F==="%"&&U!=="%")throw new E("invalid intrinsic syntax, expected opening `%`");var G=[];return C(w,T,function(_,H,V,N){G[G.length]=V?C(N,P,"$1"):H||_}),G},o=function(w,U){var F=w,G;if(v(h,F)&&(G=h[F],F="%"+G[0]+"%"),v(c,F)){var _=c[F];if(_===n&&(_=b(F)),typeof _>"u"&&!U)throw new L("intrinsic "+w+" exists, but is not available. Please file an issue!");return{alias:G,name:F,value:_}}throw new E("intrinsic "+w+" does not exist!")};B.exports=function(w,U){if(typeof w!="string"||w.length===0)throw new L("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new L('"allowMissing" argument must be a boolean');if(D(/^%?[^%]*%?$/,w)===null)throw new E("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var F=A(w),G=F.length>0?F[0]:"",_=o("%"+G+"%",U),H=_.name,V=_.value,N=!1,W=_.alias;W&&(G=W[0],g(F,l([0,1],W)));for(var j=1,Q=!0;j=F.length){var q=d(V,ie);Q=!!q,Q&&"get"in q&&!("originalValue"in q.get)?V=q.get:V=V[ie]}else Q=v(V,ie),V=V[ie];Q&&!N&&(c[H]=V)}}return V}},85400:function(B){B.exports=O;function O(e,p){var E=p[0],a=p[1],L=p[2],x=p[3],d=p[4],m=p[5],r=p[6],t=p[7],s=p[8],n=p[9],f=p[10],c=p[11],u=p[12],b=p[13],h=p[14],S=p[15];return e[0]=m*(f*S-c*h)-n*(r*S-t*h)+b*(r*c-t*f),e[1]=-(a*(f*S-c*h)-n*(L*S-x*h)+b*(L*c-x*f)),e[2]=a*(r*S-t*h)-m*(L*S-x*h)+b*(L*t-x*r),e[3]=-(a*(r*c-t*f)-m*(L*c-x*f)+n*(L*t-x*r)),e[4]=-(d*(f*S-c*h)-s*(r*S-t*h)+u*(r*c-t*f)),e[5]=E*(f*S-c*h)-s*(L*S-x*h)+u*(L*c-x*f),e[6]=-(E*(r*S-t*h)-d*(L*S-x*h)+u*(L*t-x*r)),e[7]=E*(r*c-t*f)-d*(L*c-x*f)+s*(L*t-x*r),e[8]=d*(n*S-c*b)-s*(m*S-t*b)+u*(m*c-t*n),e[9]=-(E*(n*S-c*b)-s*(a*S-x*b)+u*(a*c-x*n)),e[10]=E*(m*S-t*b)-d*(a*S-x*b)+u*(a*t-x*m),e[11]=-(E*(m*c-t*n)-d*(a*c-x*n)+s*(a*t-x*m)),e[12]=-(d*(n*h-f*b)-s*(m*h-r*b)+u*(m*f-r*n)),e[13]=E*(n*h-f*b)-s*(a*h-L*b)+u*(a*f-L*n),e[14]=-(E*(m*h-r*b)-d*(a*h-L*b)+u*(a*r-L*m)),e[15]=E*(m*f-r*n)-d*(a*f-L*n)+s*(a*r-L*m),e}},42331:function(B){B.exports=O;function O(e){var p=new Float32Array(16);return p[0]=e[0],p[1]=e[1],p[2]=e[2],p[3]=e[3],p[4]=e[4],p[5]=e[5],p[6]=e[6],p[7]=e[7],p[8]=e[8],p[9]=e[9],p[10]=e[10],p[11]=e[11],p[12]=e[12],p[13]=e[13],p[14]=e[14],p[15]=e[15],p}},31042:function(B){B.exports=O;function O(e,p){return e[0]=p[0],e[1]=p[1],e[2]=p[2],e[3]=p[3],e[4]=p[4],e[5]=p[5],e[6]=p[6],e[7]=p[7],e[8]=p[8],e[9]=p[9],e[10]=p[10],e[11]=p[11],e[12]=p[12],e[13]=p[13],e[14]=p[14],e[15]=p[15],e}},11902:function(B){B.exports=O;function O(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},89887:function(B){B.exports=O;function O(e){var p=e[0],E=e[1],a=e[2],L=e[3],x=e[4],d=e[5],m=e[6],r=e[7],t=e[8],s=e[9],n=e[10],f=e[11],c=e[12],u=e[13],b=e[14],h=e[15],S=p*d-E*x,v=p*m-a*x,l=p*r-L*x,g=E*m-a*d,C=E*r-L*d,M=a*r-L*m,D=t*u-s*c,T=t*b-n*c,P=t*h-f*c,A=s*b-n*u,o=s*h-f*u,k=n*h-f*b;return S*k-v*o+l*A+g*P-C*T+M*D}},27812:function(B){B.exports=O;function O(e,p){var E=p[0],a=p[1],L=p[2],x=p[3],d=E+E,m=a+a,r=L+L,t=E*d,s=a*d,n=a*m,f=L*d,c=L*m,u=L*r,b=x*d,h=x*m,S=x*r;return e[0]=1-n-u,e[1]=s+S,e[2]=f-h,e[3]=0,e[4]=s-S,e[5]=1-t-u,e[6]=c+b,e[7]=0,e[8]=f+h,e[9]=c-b,e[10]=1-t-n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},34045:function(B){B.exports=O;function O(e,p,E){var a,L,x,d=E[0],m=E[1],r=E[2],t=Math.sqrt(d*d+m*m+r*r);return Math.abs(t)<1e-6?null:(t=1/t,d*=t,m*=t,r*=t,a=Math.sin(p),L=Math.cos(p),x=1-L,e[0]=d*d*x+L,e[1]=m*d*x+r*a,e[2]=r*d*x-m*a,e[3]=0,e[4]=d*m*x-r*a,e[5]=m*m*x+L,e[6]=r*m*x+d*a,e[7]=0,e[8]=d*r*x+m*a,e[9]=m*r*x-d*a,e[10]=r*r*x+L,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}},45973:function(B){B.exports=O;function O(e,p,E){var a=p[0],L=p[1],x=p[2],d=p[3],m=a+a,r=L+L,t=x+x,s=a*m,n=a*r,f=a*t,c=L*r,u=L*t,b=x*t,h=d*m,S=d*r,v=d*t;return e[0]=1-(c+b),e[1]=n+v,e[2]=f-S,e[3]=0,e[4]=n-v,e[5]=1-(s+b),e[6]=u+h,e[7]=0,e[8]=f+S,e[9]=u-h,e[10]=1-(s+c),e[11]=0,e[12]=E[0],e[13]=E[1],e[14]=E[2],e[15]=1,e}},81472:function(B){B.exports=O;function O(e,p){return e[0]=p[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=p[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=p[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},14669:function(B){B.exports=O;function O(e,p){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=p[0],e[13]=p[1],e[14]=p[2],e[15]=1,e}},75262:function(B){B.exports=O;function O(e,p){var E=Math.sin(p),a=Math.cos(p);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=E,e[7]=0,e[8]=0,e[9]=-E,e[10]=a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},331:function(B){B.exports=O;function O(e,p){var E=Math.sin(p),a=Math.cos(p);return e[0]=a,e[1]=0,e[2]=-E,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=E,e[9]=0,e[10]=a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},11049:function(B){B.exports=O;function O(e,p){var E=Math.sin(p),a=Math.cos(p);return e[0]=a,e[1]=E,e[2]=0,e[3]=0,e[4]=-E,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},75195:function(B){B.exports=O;function O(e,p,E,a,L,x,d){var m=1/(E-p),r=1/(L-a),t=1/(x-d);return e[0]=x*2*m,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=x*2*r,e[6]=0,e[7]=0,e[8]=(E+p)*m,e[9]=(L+a)*r,e[10]=(d+x)*t,e[11]=-1,e[12]=0,e[13]=0,e[14]=d*x*2*t,e[15]=0,e}},71551:function(B){B.exports=O;function O(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},79576:function(B,O,e){B.exports={create:e(11902),clone:e(42331),copy:e(31042),identity:e(71551),transpose:e(88654),invert:e(95874),adjoint:e(85400),determinant:e(89887),multiply:e(91362),translate:e(31283),scale:e(10789),rotate:e(65074),rotateX:e(35545),rotateY:e(94918),rotateZ:e(15692),fromRotation:e(34045),fromRotationTranslation:e(45973),fromScaling:e(81472),fromTranslation:e(14669),fromXRotation:e(75262),fromYRotation:e(331),fromZRotation:e(11049),fromQuat:e(27812),frustum:e(75195),perspective:e(7864),perspectiveFromFieldOfView:e(35279),ortho:e(60378),lookAt:e(65551),str:e(6726)}},95874:function(B){B.exports=O;function O(e,p){var E=p[0],a=p[1],L=p[2],x=p[3],d=p[4],m=p[5],r=p[6],t=p[7],s=p[8],n=p[9],f=p[10],c=p[11],u=p[12],b=p[13],h=p[14],S=p[15],v=E*m-a*d,l=E*r-L*d,g=E*t-x*d,C=a*r-L*m,M=a*t-x*m,D=L*t-x*r,T=s*b-n*u,P=s*h-f*u,A=s*S-c*u,o=n*h-f*b,k=n*S-c*b,w=f*S-c*h,U=v*w-l*k+g*o+C*A-M*P+D*T;return U?(U=1/U,e[0]=(m*w-r*k+t*o)*U,e[1]=(L*k-a*w-x*o)*U,e[2]=(b*D-h*M+S*C)*U,e[3]=(f*M-n*D-c*C)*U,e[4]=(r*A-d*w-t*P)*U,e[5]=(E*w-L*A+x*P)*U,e[6]=(h*g-u*D-S*l)*U,e[7]=(s*D-f*g+c*l)*U,e[8]=(d*k-m*A+t*T)*U,e[9]=(a*A-E*k-x*T)*U,e[10]=(u*M-b*g+S*v)*U,e[11]=(n*g-s*M-c*v)*U,e[12]=(m*P-d*o-r*T)*U,e[13]=(E*o-a*P+L*T)*U,e[14]=(b*l-u*C-h*v)*U,e[15]=(s*C-n*l+f*v)*U,e):null}},65551:function(B,O,e){var p=e(71551);B.exports=E;function E(a,L,x,d){var m,r,t,s,n,f,c,u,b,h,S=L[0],v=L[1],l=L[2],g=d[0],C=d[1],M=d[2],D=x[0],T=x[1],P=x[2];return Math.abs(S-D)<1e-6&&Math.abs(v-T)<1e-6&&Math.abs(l-P)<1e-6?p(a):(c=S-D,u=v-T,b=l-P,h=1/Math.sqrt(c*c+u*u+b*b),c*=h,u*=h,b*=h,m=C*b-M*u,r=M*c-g*b,t=g*u-C*c,h=Math.sqrt(m*m+r*r+t*t),h?(h=1/h,m*=h,r*=h,t*=h):(m=0,r=0,t=0),s=u*t-b*r,n=b*m-c*t,f=c*r-u*m,h=Math.sqrt(s*s+n*n+f*f),h?(h=1/h,s*=h,n*=h,f*=h):(s=0,n=0,f=0),a[0]=m,a[1]=s,a[2]=c,a[3]=0,a[4]=r,a[5]=n,a[6]=u,a[7]=0,a[8]=t,a[9]=f,a[10]=b,a[11]=0,a[12]=-(m*S+r*v+t*l),a[13]=-(s*S+n*v+f*l),a[14]=-(c*S+u*v+b*l),a[15]=1,a)}},91362:function(B){B.exports=O;function O(e,p,E){var a=p[0],L=p[1],x=p[2],d=p[3],m=p[4],r=p[5],t=p[6],s=p[7],n=p[8],f=p[9],c=p[10],u=p[11],b=p[12],h=p[13],S=p[14],v=p[15],l=E[0],g=E[1],C=E[2],M=E[3];return e[0]=l*a+g*m+C*n+M*b,e[1]=l*L+g*r+C*f+M*h,e[2]=l*x+g*t+C*c+M*S,e[3]=l*d+g*s+C*u+M*v,l=E[4],g=E[5],C=E[6],M=E[7],e[4]=l*a+g*m+C*n+M*b,e[5]=l*L+g*r+C*f+M*h,e[6]=l*x+g*t+C*c+M*S,e[7]=l*d+g*s+C*u+M*v,l=E[8],g=E[9],C=E[10],M=E[11],e[8]=l*a+g*m+C*n+M*b,e[9]=l*L+g*r+C*f+M*h,e[10]=l*x+g*t+C*c+M*S,e[11]=l*d+g*s+C*u+M*v,l=E[12],g=E[13],C=E[14],M=E[15],e[12]=l*a+g*m+C*n+M*b,e[13]=l*L+g*r+C*f+M*h,e[14]=l*x+g*t+C*c+M*S,e[15]=l*d+g*s+C*u+M*v,e}},60378:function(B){B.exports=O;function O(e,p,E,a,L,x,d){var m=1/(p-E),r=1/(a-L),t=1/(x-d);return e[0]=-2*m,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*r,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*t,e[11]=0,e[12]=(p+E)*m,e[13]=(L+a)*r,e[14]=(d+x)*t,e[15]=1,e}},7864:function(B){B.exports=O;function O(e,p,E,a,L){var x=1/Math.tan(p/2),d=1/(a-L);return e[0]=x/E,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=x,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(L+a)*d,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*L*a*d,e[15]=0,e}},35279:function(B){B.exports=O;function O(e,p,E,a){var L=Math.tan(p.upDegrees*Math.PI/180),x=Math.tan(p.downDegrees*Math.PI/180),d=Math.tan(p.leftDegrees*Math.PI/180),m=Math.tan(p.rightDegrees*Math.PI/180),r=2/(d+m),t=2/(L+x);return e[0]=r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t,e[6]=0,e[7]=0,e[8]=-((d-m)*r*.5),e[9]=(L-x)*t*.5,e[10]=a/(E-a),e[11]=-1,e[12]=0,e[13]=0,e[14]=a*E/(E-a),e[15]=0,e}},65074:function(B){B.exports=O;function O(e,p,E,a){var L=a[0],x=a[1],d=a[2],m=Math.sqrt(L*L+x*x+d*d),r,t,s,n,f,c,u,b,h,S,v,l,g,C,M,D,T,P,A,o,k,w,U,F;return Math.abs(m)<1e-6?null:(m=1/m,L*=m,x*=m,d*=m,r=Math.sin(E),t=Math.cos(E),s=1-t,n=p[0],f=p[1],c=p[2],u=p[3],b=p[4],h=p[5],S=p[6],v=p[7],l=p[8],g=p[9],C=p[10],M=p[11],D=L*L*s+t,T=x*L*s+d*r,P=d*L*s-x*r,A=L*x*s-d*r,o=x*x*s+t,k=d*x*s+L*r,w=L*d*s+x*r,U=x*d*s-L*r,F=d*d*s+t,e[0]=n*D+b*T+l*P,e[1]=f*D+h*T+g*P,e[2]=c*D+S*T+C*P,e[3]=u*D+v*T+M*P,e[4]=n*A+b*o+l*k,e[5]=f*A+h*o+g*k,e[6]=c*A+S*o+C*k,e[7]=u*A+v*o+M*k,e[8]=n*w+b*U+l*F,e[9]=f*w+h*U+g*F,e[10]=c*w+S*U+C*F,e[11]=u*w+v*U+M*F,p!==e&&(e[12]=p[12],e[13]=p[13],e[14]=p[14],e[15]=p[15]),e)}},35545:function(B){B.exports=O;function O(e,p,E){var a=Math.sin(E),L=Math.cos(E),x=p[4],d=p[5],m=p[6],r=p[7],t=p[8],s=p[9],n=p[10],f=p[11];return p!==e&&(e[0]=p[0],e[1]=p[1],e[2]=p[2],e[3]=p[3],e[12]=p[12],e[13]=p[13],e[14]=p[14],e[15]=p[15]),e[4]=x*L+t*a,e[5]=d*L+s*a,e[6]=m*L+n*a,e[7]=r*L+f*a,e[8]=t*L-x*a,e[9]=s*L-d*a,e[10]=n*L-m*a,e[11]=f*L-r*a,e}},94918:function(B){B.exports=O;function O(e,p,E){var a=Math.sin(E),L=Math.cos(E),x=p[0],d=p[1],m=p[2],r=p[3],t=p[8],s=p[9],n=p[10],f=p[11];return p!==e&&(e[4]=p[4],e[5]=p[5],e[6]=p[6],e[7]=p[7],e[12]=p[12],e[13]=p[13],e[14]=p[14],e[15]=p[15]),e[0]=x*L-t*a,e[1]=d*L-s*a,e[2]=m*L-n*a,e[3]=r*L-f*a,e[8]=x*a+t*L,e[9]=d*a+s*L,e[10]=m*a+n*L,e[11]=r*a+f*L,e}},15692:function(B){B.exports=O;function O(e,p,E){var a=Math.sin(E),L=Math.cos(E),x=p[0],d=p[1],m=p[2],r=p[3],t=p[4],s=p[5],n=p[6],f=p[7];return p!==e&&(e[8]=p[8],e[9]=p[9],e[10]=p[10],e[11]=p[11],e[12]=p[12],e[13]=p[13],e[14]=p[14],e[15]=p[15]),e[0]=x*L+t*a,e[1]=d*L+s*a,e[2]=m*L+n*a,e[3]=r*L+f*a,e[4]=t*L-x*a,e[5]=s*L-d*a,e[6]=n*L-m*a,e[7]=f*L-r*a,e}},10789:function(B){B.exports=O;function O(e,p,E){var a=E[0],L=E[1],x=E[2];return e[0]=p[0]*a,e[1]=p[1]*a,e[2]=p[2]*a,e[3]=p[3]*a,e[4]=p[4]*L,e[5]=p[5]*L,e[6]=p[6]*L,e[7]=p[7]*L,e[8]=p[8]*x,e[9]=p[9]*x,e[10]=p[10]*x,e[11]=p[11]*x,e[12]=p[12],e[13]=p[13],e[14]=p[14],e[15]=p[15],e}},6726:function(B){B.exports=O;function O(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}},31283:function(B){B.exports=O;function O(e,p,E){var a=E[0],L=E[1],x=E[2],d,m,r,t,s,n,f,c,u,b,h,S;return p===e?(e[12]=p[0]*a+p[4]*L+p[8]*x+p[12],e[13]=p[1]*a+p[5]*L+p[9]*x+p[13],e[14]=p[2]*a+p[6]*L+p[10]*x+p[14],e[15]=p[3]*a+p[7]*L+p[11]*x+p[15]):(d=p[0],m=p[1],r=p[2],t=p[3],s=p[4],n=p[5],f=p[6],c=p[7],u=p[8],b=p[9],h=p[10],S=p[11],e[0]=d,e[1]=m,e[2]=r,e[3]=t,e[4]=s,e[5]=n,e[6]=f,e[7]=c,e[8]=u,e[9]=b,e[10]=h,e[11]=S,e[12]=d*a+s*L+u*x+p[12],e[13]=m*a+n*L+b*x+p[13],e[14]=r*a+f*L+h*x+p[14],e[15]=t*a+c*L+S*x+p[15]),e}},88654:function(B){B.exports=O;function O(e,p){if(e===p){var E=p[1],a=p[2],L=p[3],x=p[6],d=p[7],m=p[11];e[1]=p[4],e[2]=p[8],e[3]=p[12],e[4]=E,e[6]=p[9],e[7]=p[13],e[8]=a,e[9]=x,e[11]=p[14],e[12]=L,e[13]=d,e[14]=m}else e[0]=p[0],e[1]=p[4],e[2]=p[8],e[3]=p[12],e[4]=p[1],e[5]=p[5],e[6]=p[9],e[7]=p[13],e[8]=p[2],e[9]=p[6],e[10]=p[10],e[11]=p[14],e[12]=p[3],e[13]=p[7],e[14]=p[11],e[15]=p[15];return e}},42505:function(B,O,e){var p=e(72791),E=e(71299),a=e(98580),L=e(12018),x=e(83522),d=e(25075),m=e(68016),r=e(58404),t=e(18863),s=e(10973),n=e(25677),f=e(75686),c=e(53545),u=e(56131),b=e(32879),h=e(30120),S=e(13547),v=S.nextPow2,l=new x,g=!1;if(document.body){var C=document.body.appendChild(document.createElement("div"));C.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(C).fontStretch&&(g=!0),document.body.removeChild(C)}var M=function(P){D(P)?(P={regl:P},this.gl=P.regl._gl):this.gl=L(P),this.shader=l.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=P.regl||a({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),l.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(s(P)?P:{})};M.prototype.createShader=function(){var P=this.regl,A=P({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:P.prop("count"),offset:P.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:P.this("sizeBuffer")},width:{offset:0,stride:8,buffer:P.this("sizeBuffer")},char:P.this("charBuffer"),position:P.this("position")},uniforms:{atlasSize:function(k,w){return[w.atlas.width,w.atlas.height]},atlasDim:function(k,w){return[w.atlas.cols,w.atlas.rows]},atlas:function(k,w){return w.atlas.texture},charStep:function(k,w){return w.atlas.step},em:function(k,w){return w.atlas.em},color:P.prop("color"),opacity:P.prop("opacity"),viewport:P.this("viewportArray"),scale:P.this("scale"),align:P.prop("align"),baseline:P.prop("baseline"),translate:P.this("translate"),positionOffset:P.prop("positionOffset")},primitive:"points",viewport:P.this("viewport"),vert:` - precision highp float; - attribute float width, charOffset, char; - attribute vec2 position; - uniform float fontSize, charStep, em, align, baseline; - uniform vec4 viewport; - uniform vec4 color; - uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset; - varying vec2 charCoord, charId; - varying float charWidth; - varying vec4 fontColor; - void main () { - vec2 offset = floor(em * (vec2(align + charOffset, baseline) - + vec2(positionOffset.x, -positionOffset.y))) - / (viewport.zw * scale.xy); - - vec2 position = (position + translate) * scale; - position += offset * scale; - - charCoord = position * viewport.zw + viewport.xy; - - gl_Position = vec4(position * 2. - 1., 0, 1); - - gl_PointSize = charStep; - - charId.x = mod(char, atlasDim.x); - charId.y = floor(char / atlasDim.x); - - charWidth = width * em; - - fontColor = color / 255.; - }`,frag:` - precision highp float; - uniform float fontSize, charStep, opacity; - uniform vec2 atlasSize; - uniform vec4 viewport; - uniform sampler2D atlas; - varying vec4 fontColor; - varying vec2 charCoord, charId; - varying float charWidth; - - float lightness(vec4 color) { - return color.r * 0.299 + color.g * 0.587 + color.b * 0.114; - } - - void main () { - vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5; - float halfCharStep = floor(charStep * .5 + .5); - - // invert y and shift by 1px (FF expecially needs that) - uv.y = charStep - uv.y; - - // ignore points outside of character bounding box - float halfCharWidth = ceil(charWidth * .5); - if (floor(uv.x) > halfCharStep + halfCharWidth || - floor(uv.x) < halfCharStep - halfCharWidth) return; - - uv += charId * charStep; - uv = uv / atlasSize; - - vec4 color = fontColor; - vec4 mask = texture2D(atlas, uv); - - float maskY = lightness(mask); - // float colorY = lightness(color); - color.a *= maskY; - color.a *= opacity; - - // color.a += .1; - - // antialiasing, see yiq color space y-channel formula - // color.rgb += (1. - color.rgb) * (1. - mask.rgb); - - gl_FragColor = color; - }`}),o={};return{regl:P,draw:A,atlas:o}},M.prototype.update=function(P){var A=this;if(typeof P=="string")P={text:P};else if(!P)return;P=E(P,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),P.opacity!=null&&(Array.isArray(P.opacity)?this.opacity=P.opacity.map(function(He){return parseFloat(He)}):this.opacity=parseFloat(P.opacity)),P.viewport!=null&&(this.viewport=t(P.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),P.kerning!=null&&(this.kerning=P.kerning),P.offset!=null&&(typeof P.offset=="number"&&(P.offset=[P.offset,0]),this.positionOffset=h(P.offset)),P.direction&&(this.direction=P.direction),P.range&&(this.range=P.range,this.scale=[1/(P.range[2]-P.range[0]),1/(P.range[3]-P.range[1])],this.translate=[-P.range[0],-P.range[1]]),P.scale&&(this.scale=P.scale),P.translate&&(this.translate=P.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!P.font&&(P.font=M.baseFontSize+"px sans-serif");var o=!1,k=!1;if(P.font&&(Array.isArray(P.font)?P.font:[P.font]).forEach(function(He,$e){if(typeof He=="string")try{He=p.parse(He)}catch{He=p.parse(M.baseFontSize+"px "+He)}else He=p.parse(p.stringify(He));var pt=p.stringify({size:M.baseFontSize,family:He.family,stretch:g?He.stretch:void 0,variant:He.variant,weight:He.weight,style:He.style}),ut=n(He.size),lt=Math.round(ut[0]*f(ut[1]));if(lt!==A.fontSize[$e]&&(k=!0,A.fontSize[$e]=lt),(!A.font[$e]||pt!=A.font[$e].baseString)&&(o=!0,A.font[$e]=M.fonts[pt],!A.font[$e])){var ke=He.family.join(", "),Ne=[He.style];He.style!=He.variant&&Ne.push(He.variant),He.variant!=He.weight&&Ne.push(He.weight),g&&He.weight!=He.stretch&&Ne.push(He.stretch),A.font[$e]={baseString:pt,family:ke,weight:He.weight,stretch:He.stretch,style:He.style,variant:He.variant,width:{},kerning:{},metrics:b(ke,{origin:"top",fontSize:M.baseFontSize,fontStyle:Ne.join(" ")})},M.fonts[pt]=A.font[$e]}}),(o||k)&&this.font.forEach(function(He,$e){var pt=p.stringify({size:A.fontSize[$e],family:He.family,stretch:g?He.stretch:void 0,variant:He.variant,weight:He.weight,style:He.style});if(A.fontAtlas[$e]=A.shader.atlas[pt],!A.fontAtlas[$e]){var ut=He.metrics;A.shader.atlas[pt]=A.fontAtlas[$e]={fontString:pt,step:Math.ceil(A.fontSize[$e]*ut.bottom*.5)*2,em:A.fontSize[$e],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:A.regl.texture()}}P.text==null&&(P.text=A.text)}),typeof P.text=="string"&&P.position&&P.position.length>2){for(var w=Array(P.position.length*.5),U=0;U2){for(var _=!P.position[0].length,H=r.mallocFloat(this.count*2),V=0,N=0;V1?A.align[$e]:A.align[0]:A.align;if(typeof pt=="number")return pt;switch(pt){case"right":case"end":return-He;case"center":case"centre":case"middle":return-He*.5}return 0})),this.baseline==null&&P.baseline==null&&(P.baseline=0),P.baseline!=null&&(this.baseline=P.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(He,$e){var pt=(A.font[$e]||A.font[0]).metrics,ut=0;return ut+=pt.bottom*.5,typeof He=="number"?ut+=He-pt.baseline:ut+=-pt[He],ut*=-1,ut})),P.color!=null)if(P.color||(P.color="transparent"),typeof P.color=="string"||!isNaN(P.color))this.color=d(P.color,"uint8");else{var Se;if(typeof P.color[0]=="number"&&P.color.length>this.counts.length){var Ee=P.color.length;Se=r.mallocUint8(Ee);for(var We=(P.color.subarray||P.color.slice).bind(P.color),Ye=0;Ye4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(Re){var Xe=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(Xe);for(var Je=0;Je1?this.counts[Je]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Je]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(Je*4,Je*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Je]:this.opacity,baseline:this.baselineOffset[Je]!=null?this.baselineOffset[Je]:this.baselineOffset[0],align:this.align?this.alignOffset[Je]!=null?this.alignOffset[Je]:this.alignOffset[0]:0,atlas:this.fontAtlas[Je]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(Je*2,Je*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}},M.prototype.destroy=function(){},M.prototype.kerning=!0,M.prototype.position={constant:new Float32Array(2)},M.prototype.translate=null,M.prototype.scale=null,M.prototype.font=null,M.prototype.text="",M.prototype.positionOffset=[0,0],M.prototype.opacity=1,M.prototype.color=new Uint8Array([0,0,0,255]),M.prototype.alignOffset=[0,0],M.maxAtlasSize=1024,M.atlasCanvas=document.createElement("canvas"),M.atlasContext=M.atlasCanvas.getContext("2d",{alpha:!1}),M.baseFontSize=64,M.fonts={};function D(T){return typeof T=="function"&&T._gl&&T.prop&&T.texture&&T.buffer}B.exports=M},12018:function(B,O,e){var p=e(71299);B.exports=function(r){if(r?typeof r=="string"&&(r={container:r}):r={},a(r)?r={container:r}:L(r)?r={container:r}:x(r)?r={gl:r}:r=p(r,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),r.pixelRatio||(r.pixelRatio=e.g.pixelRatio||1),r.gl)return r.gl;if(r.canvas&&(r.container=r.canvas.parentNode),r.container){if(typeof r.container=="string"){var t=document.querySelector(r.container);if(!t)throw Error("Element "+r.container+" is not found");r.container=t}a(r.container)?(r.canvas=r.container,r.container=r.canvas.parentNode):r.canvas||(r.canvas=d(),r.container.appendChild(r.canvas),E(r))}else if(!r.canvas)if(typeof document<"u")r.container=document.body||document.documentElement,r.canvas=d(),r.container.appendChild(r.canvas),E(r);else throw Error("Not DOM environment. Use headless-gl.");return r.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(s){try{r.gl=r.canvas.getContext(s,r.attrs)}catch{}return r.gl}),r.gl};function E(m){if(m.container)if(m.container==document.body)document.body.style.width||(m.canvas.width=m.width||m.pixelRatio*e.g.innerWidth),document.body.style.height||(m.canvas.height=m.height||m.pixelRatio*e.g.innerHeight);else{var r=m.container.getBoundingClientRect();m.canvas.width=m.width||r.right-r.left,m.canvas.height=m.height||r.bottom-r.top}}function a(m){return typeof m.getContext=="function"&&"width"in m&&"height"in m}function L(m){return typeof m.nodeName=="string"&&typeof m.appendChild=="function"&&typeof m.getBoundingClientRect=="function"}function x(m){return typeof m.drawArrays=="function"||typeof m.drawElements=="function"}function d(){var m=document.createElement("canvas");return m.style.position="absolute",m.style.top=0,m.style.left=0,m}},56068:function(B){B.exports=function(O){typeof O=="string"&&(O=[O]);for(var e=[].slice.call(arguments,1),p=[],E=0;E */O.read=function(e,p,E,a,L){var x,d,m=L*8-a-1,r=(1<>1,s=-7,n=E?L-1:0,f=E?-1:1,c=e[p+n];for(n+=f,x=c&(1<<-s)-1,c>>=-s,s+=m;s>0;x=x*256+e[p+n],n+=f,s-=8);for(d=x&(1<<-s)-1,x>>=-s,s+=a;s>0;d=d*256+e[p+n],n+=f,s-=8);if(x===0)x=1-t;else{if(x===r)return d?NaN:(c?-1:1)*(1/0);d=d+Math.pow(2,a),x=x-t}return(c?-1:1)*d*Math.pow(2,x-a)},O.write=function(e,p,E,a,L,x){var d,m,r,t=x*8-L-1,s=(1<>1,f=L===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=a?0:x-1,u=a?1:-1,b=p<0||p===0&&1/p<0?1:0;for(p=Math.abs(p),isNaN(p)||p===1/0?(m=isNaN(p)?1:0,d=s):(d=Math.floor(Math.log(p)/Math.LN2),p*(r=Math.pow(2,-d))<1&&(d--,r*=2),d+n>=1?p+=f/r:p+=f*Math.pow(2,1-n),p*r>=2&&(d++,r/=2),d+n>=s?(m=0,d=s):d+n>=1?(m=(p*r-1)*Math.pow(2,L),d=d+n):(m=p*Math.pow(2,n-1)*Math.pow(2,L),d=0));L>=8;e[E+c]=m&255,c+=u,m/=256,L-=8);for(d=d<0;e[E+c]=d&255,c+=u,d/=256,t-=8);e[E+c-u]|=b*128}},42018:function(B){typeof Object.create=="function"?B.exports=function(e,p){p&&(e.super_=p,e.prototype=Object.create(p.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:B.exports=function(e,p){if(p){e.super_=p;var E=function(){};E.prototype=p.prototype,e.prototype=new E,e.prototype.constructor=e}}},47216:function(B,O,e){var p=e(84543)(),E=e(6614),a=E("Object.prototype.toString"),L=function(r){return p&&r&&typeof r=="object"&&Symbol.toStringTag in r?!1:a(r)==="[object Arguments]"},x=function(r){return L(r)?!0:r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&a(r)!=="[object Array]"&&a(r.callee)==="[object Function]"},d=function(){return L(arguments)}();L.isLegacyArguments=x,B.exports=d?L:x},54404:function(B){B.exports=!0},85395:function(B){var O=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,p,E;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw E}}),E={},e(function(){throw 42},null,p)}catch(S){S!==E&&(e=null)}else e=null;var a=/^\s*class\b/,L=function(v){try{var l=O.call(v);return a.test(l)}catch{return!1}},x=function(v){try{return L(v)?!1:(O.call(v),!0)}catch{return!1}},d=Object.prototype.toString,m="[object Object]",r="[object Function]",t="[object GeneratorFunction]",s="[object HTMLAllCollection]",n="[object HTML document.all class]",f="[object HTMLCollection]",c=typeof Symbol=="function"&&!!Symbol.toStringTag,u=!(0 in[,]),b=function(){return!1};if(typeof document=="object"){var h=document.all;d.call(h)===d.call(document.all)&&(b=function(v){if((u||!v)&&(typeof v>"u"||typeof v=="object"))try{var l=d.call(v);return(l===s||l===n||l===f||l===m)&&v("")==null}catch{}return!1})}B.exports=e?function(v){if(b(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;try{e(v,null,p)}catch(l){if(l!==E)return!1}return!L(v)&&x(v)}:function(v){if(b(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(c)return x(v);if(L(v))return!1;var l=d.call(v);return l!==r&&l!==t&&!/^\[object HTML/.test(l)?!1:x(v)}},65481:function(B,O,e){var p=Object.prototype.toString,E=Function.prototype.toString,a=/^\s*(?:function)?\*/,L=e(84543)(),x=Object.getPrototypeOf,d=function(){if(!L)return!1;try{return Function("return function*() {}")()}catch{}},m;B.exports=function(t){if(typeof t!="function")return!1;if(a.test(E.call(t)))return!0;if(!L){var s=p.call(t);return s==="[object GeneratorFunction]"}if(!x)return!1;if(typeof m>"u"){var n=d();m=n?x(n):!1}return x(t)===m}},62683:function(B){B.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(B){B.exports=function(e){return e!==e}},15567:function(B,O,e){var p=e(68222),E=e(17045),a=e(64274),L=e(14922),x=e(22442),d=p(L(),Number);E(d,{getPolyfill:L,implementation:a,shim:x}),B.exports=d},14922:function(B,O,e){var p=e(64274);B.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:p}},22442:function(B,O,e){var p=e(17045),E=e(14922);B.exports=function(){var L=E();return p(Number,{isNaN:L},{isNaN:function(){return Number.isNaN!==L}}),L}},64941:function(B){B.exports=function(O){var e=typeof O;return O!==null&&(e==="object"||e==="function")}},10973:function(B){var O=Object.prototype.toString;B.exports=function(e){var p;return O.call(e)==="[object Object]"&&(p=Object.getPrototypeOf(e),p===null||p===Object.getPrototypeOf({}))}},18546:function(B){B.exports=function(O){for(var e=O.length,p,E=0;E13)&&p!==32&&p!==133&&p!==160&&p!==5760&&p!==6158&&(p<8192||p>8205)&&p!==8232&&p!==8233&&p!==8239&&p!==8287&&p!==8288&&p!==12288&&p!==65279)return!1;return!0}},89546:function(B){B.exports=function(e){return typeof e!="string"?!1:(e=e.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(e)&&/[\dz]$/i.test(e)&&e.length>4))}},9187:function(B,O,e){var p=e(31353),E=e(72077),a=e(6614),L=a("Object.prototype.toString"),x=e(84543)(),d=e(40383),m=typeof globalThis>"u"?e.g:globalThis,r=E(),t=a("Array.prototype.indexOf",!0)||function(b,h){for(var S=0;S-1}return d?c(b):!1}},44517:function(B){(function(O,e){B.exports=e()})(this,function(){var O,e,p;function E(a,L){if(!O)O=L;else if(!e)e=L;else{var x="var sharedChunk = {}; ("+O+")(sharedChunk); ("+e+")(sharedChunk);",d={};O(d),p=L(d),p.workerUrl=window.URL.createObjectURL(new Blob([x],{type:"text/javascript"}))}}return E(["exports"],function(a){function L(I,z){return z={exports:{}},I(z,z.exports),z.exports}var x="1.10.1",d=m;function m(I,z,Z,se){this.cx=3*I,this.bx=3*(Z-I)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*z,this.by=3*(se-z)-this.cy,this.ay=1-this.cy-this.by,this.p1x=I,this.p1y=se,this.p2x=Z,this.p2y=se}m.prototype.sampleCurveX=function(I){return((this.ax*I+this.bx)*I+this.cx)*I},m.prototype.sampleCurveY=function(I){return((this.ay*I+this.by)*I+this.cy)*I},m.prototype.sampleCurveDerivativeX=function(I){return(3*this.ax*I+2*this.bx)*I+this.cx},m.prototype.solveCurveX=function(I,z){typeof z>"u"&&(z=1e-6);var Z,se,ye,Pe,Oe;for(ye=I,Oe=0;Oe<8;Oe++){if(Pe=this.sampleCurveX(ye)-I,Math.abs(Pe)se)return se;for(;ZPe?Z=ye:se=ye,ye=(se-Z)*.5+Z}return ye},m.prototype.solve=function(I,z){return this.sampleCurveY(this.solveCurveX(I,z))};var r=t;function t(I,z){this.x=I,this.y=z}t.prototype={clone:function(){return new t(this.x,this.y)},add:function(I){return this.clone()._add(I)},sub:function(I){return this.clone()._sub(I)},multByPoint:function(I){return this.clone()._multByPoint(I)},divByPoint:function(I){return this.clone()._divByPoint(I)},mult:function(I){return this.clone()._mult(I)},div:function(I){return this.clone()._div(I)},rotate:function(I){return this.clone()._rotate(I)},rotateAround:function(I,z){return this.clone()._rotateAround(I,z)},matMult:function(I){return this.clone()._matMult(I)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(I){return this.x===I.x&&this.y===I.y},dist:function(I){return Math.sqrt(this.distSqr(I))},distSqr:function(I){var z=I.x-this.x,Z=I.y-this.y;return z*z+Z*Z},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(I){return Math.atan2(this.y-I.y,this.x-I.x)},angleWith:function(I){return this.angleWithSep(I.x,I.y)},angleWithSep:function(I,z){return Math.atan2(this.x*z-this.y*I,this.x*I+this.y*z)},_matMult:function(I){var z=I[0]*this.x+I[1]*this.y,Z=I[2]*this.x+I[3]*this.y;return this.x=z,this.y=Z,this},_add:function(I){return this.x+=I.x,this.y+=I.y,this},_sub:function(I){return this.x-=I.x,this.y-=I.y,this},_mult:function(I){return this.x*=I,this.y*=I,this},_div:function(I){return this.x/=I,this.y/=I,this},_multByPoint:function(I){return this.x*=I.x,this.y*=I.y,this},_divByPoint:function(I){return this.x/=I.x,this.y/=I.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var I=this.y;return this.y=this.x,this.x=-I,this},_rotate:function(I){var z=Math.cos(I),Z=Math.sin(I),se=z*this.x-Z*this.y,ye=Z*this.x+z*this.y;return this.x=se,this.y=ye,this},_rotateAround:function(I,z){var Z=Math.cos(I),se=Math.sin(I),ye=z.x+Z*(this.x-z.x)-se*(this.y-z.y),Pe=z.y+se*(this.x-z.x)+Z*(this.y-z.y);return this.x=ye,this.y=Pe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},t.convert=function(I){return I instanceof t?I:Array.isArray(I)?new t(I[0],I[1]):I};function s(I,z){if(Array.isArray(I)){if(!Array.isArray(z)||I.length!==z.length)return!1;for(var Z=0;Z=1)return 1;var z=I*I,Z=z*I;return 4*(I<.5?Z:3*(I-z)+Z-.75)}function f(I,z,Z,se){var ye=new d(I,z,Z,se);return function(Pe){return ye.solve(Pe)}}var c=f(.25,.1,.25,1);function u(I,z,Z){return Math.min(Z,Math.max(z,I))}function b(I,z,Z){var se=Z-z,ye=((I-z)%se+se)%se+z;return ye===z?Z:ye}function h(I,z,Z){if(!I.length)return Z(null,[]);var se=I.length,ye=new Array(I.length),Pe=null;I.forEach(function(Oe,st){z(Oe,function(At,zt){At&&(Pe=At),ye[st]=zt,--se===0&&Z(Pe,ye)})})}function S(I){var z=[];for(var Z in I)z.push(I[Z]);return z}function v(I,z){var Z=[];for(var se in I)se in z||Z.push(se);return Z}function l(I){for(var z=[],Z=arguments.length-1;Z-- >0;)z[Z]=arguments[Z+1];for(var se=0,ye=z;se>z/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,I)}return I()}function T(I){return I?/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(I):!1}function P(I,z){I.forEach(function(Z){z[Z]&&(z[Z]=z[Z].bind(z))})}function A(I,z){return I.indexOf(z,I.length-z.length)!==-1}function o(I,z,Z){var se={};for(var ye in I)se[ye]=z.call(Z||this,I[ye],ye,I);return se}function k(I,z,Z){var se={};for(var ye in I)z.call(Z||this,I[ye],ye,I)&&(se[ye]=I[ye]);return se}function w(I){return Array.isArray(I)?I.map(w):typeof I=="object"&&I?o(I,w):I}function U(I,z){for(var Z=0;Z=0)return!0;return!1}var F={};function G(I){F[I]||(typeof console<"u"&&console.warn(I),F[I]=!0)}function _(I,z,Z){return(Z.y-I.y)*(z.x-I.x)>(z.y-I.y)*(Z.x-I.x)}function H(I){for(var z=0,Z=0,se=I.length,ye=se-1,Pe=void 0,Oe=void 0;Z@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,Z={};if(I.replace(z,function(ye,Pe,Oe,st){var At=Oe||st;return Z[Pe]=At?At.toLowerCase():!0,""}),Z["max-age"]){var se=parseInt(Z["max-age"],10);isNaN(se)?delete Z["max-age"]:Z["max-age"]=se}return Z}var j=null;function Q(I){if(j==null){var z=I.navigator?I.navigator.userAgent:null;j=!!I.safari||!!(z&&(/\b(iPad|iPhone|iPod)\b/.test(z)||z.match("Safari")&&!z.match("Chrome")))}return j}function ie(I){try{var z=self[I];return z.setItem("_mapbox_test_",1),z.removeItem("_mapbox_test_"),!0}catch{return!1}}function ue(I){return self.btoa(encodeURIComponent(I).replace(/%([0-9A-F]{2})/g,function(z,Z){return String.fromCharCode(+("0x"+Z))}))}function pe(I){return decodeURIComponent(self.atob(I).split("").map(function(z){return"%"+("00"+z.charCodeAt(0).toString(16)).slice(-2)}).join(""))}var q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),X=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,K=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,J,re,fe={now:q,frame:function(z){var Z=X(z);return{cancel:function(){return K(Z)}}},getImageData:function(z,Z){Z===void 0&&(Z=0);var se=self.document.createElement("canvas"),ye=se.getContext("2d");if(!ye)throw new Error("failed to create canvas 2d context");return se.width=z.width,se.height=z.height,ye.drawImage(z,0,0,z.width,z.height),ye.getImageData(-Z,-Z,z.width+2*Z,z.height+2*Z)},resolveURL:function(z){return J||(J=self.document.createElement("a")),J.href=z,J.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return self.matchMedia?(re==null&&(re=self.matchMedia("(prefers-reduced-motion: reduce)")),re.matches):!1}},te={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},ee={supported:!1,testSupport:Se},ce,le=!1,me,we=!1;self.document&&(me=self.document.createElement("img"),me.onload=function(){ce&&Ee(ce),ce=null,we=!0},me.onerror=function(){le=!0,ce=null},me.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");function Se(I){le||!me||(we?Ee(I):ce=I)}function Ee(I){var z=I.createTexture();I.bindTexture(I.TEXTURE_2D,z);try{if(I.texImage2D(I.TEXTURE_2D,0,I.RGBA,I.RGBA,I.UNSIGNED_BYTE,me),I.isContextLost())return;ee.supported=!0}catch{}I.deleteTexture(z),le=!0}var We="01";function Ye(){for(var I="1",z="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Z="",se=0;se<10;se++)Z+=z[Math.floor(Math.random()*62)];var ye=12*60*60*1e3,Pe=[I,We,Z].join(""),Oe=Date.now()+ye;return{token:Pe,tokenExpiresAt:Oe}}var De=function(z,Z){this._transformRequestFn=z,this._customAccessToken=Z,this._createSkuToken()};De.prototype._createSkuToken=function(){var z=Ye();this._skuToken=z.token,this._skuTokenExpiresAt=z.tokenExpiresAt},De.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},De.prototype.transformRequest=function(z,Z){return this._transformRequestFn?this._transformRequestFn(z,Z)||{url:z}:{url:z}},De.prototype.normalizeStyleURL=function(z,Z){if(!Te(z))return z;var se=pt(z);return se.path="/styles/v1"+se.path,this._makeAPIURL(se,this._customAccessToken||Z)},De.prototype.normalizeGlyphsURL=function(z,Z){if(!Te(z))return z;var se=pt(z);return se.path="/fonts/v1"+se.path,this._makeAPIURL(se,this._customAccessToken||Z)},De.prototype.normalizeSourceURL=function(z,Z){if(!Te(z))return z;var se=pt(z);return se.path="/v4/"+se.authority+".json",se.params.push("secure"),this._makeAPIURL(se,this._customAccessToken||Z)},De.prototype.normalizeSpriteURL=function(z,Z,se,ye){var Pe=pt(z);return Te(z)?(Pe.path="/styles/v1"+Pe.path+"/sprite"+Z+se,this._makeAPIURL(Pe,this._customAccessToken||ye)):(Pe.path+=""+Z+se,ut(Pe))},De.prototype.normalizeTileURL=function(z,Z){if(this._isSkuTokenExpired()&&this._createSkuToken(),z&&!Te(z))return z;var se=pt(z),ye=/(\.(png|jpg)\d*)(?=$)/,Pe=/^.+\/v4\//,Oe=fe.devicePixelRatio>=2||Z===512?"@2x":"",st=ee.supported?".webp":"$1";se.path=se.path.replace(ye,""+Oe+st),se.path=se.path.replace(Pe,"/"),se.path="/v4"+se.path;var At=this._customAccessToken||He(se.params)||te.ACCESS_TOKEN;return te.REQUIRE_ACCESS_TOKEN&&At&&this._skuToken&&se.params.push("sku="+this._skuToken),this._makeAPIURL(se,At)},De.prototype.canonicalizeTileURL=function(z,Z){var se="/v4/",ye=/\.[\w]+$/,Pe=pt(z);if(!Pe.path.match(/(^\/v4\/)/)||!Pe.path.match(ye))return z;var Oe="mapbox://tiles/";Oe+=Pe.path.replace(se,"");var st=Pe.params;return Z&&(st=st.filter(function(At){return!At.match(/^access_token=/)})),st.length&&(Oe+="?"+st.join("&")),Oe},De.prototype.canonicalizeTileset=function(z,Z){for(var se=Z?Te(Z):!1,ye=[],Pe=0,Oe=z.tiles||[];Pe=1&&self.localStorage.setItem(Z,JSON.stringify(this.eventData))}catch{G("Unable to write to LocalStorage")}},Ne.prototype.processRequests=function(z){},Ne.prototype.postEvent=function(z,Z,se,ye){var Pe=this;if(te.EVENTS_URL){var Oe=pt(te.EVENTS_URL);Oe.params.push("access_token="+(ye||te.ACCESS_TOKEN||""));var st={event:this.type,created:new Date(z).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:x,skuId:We,userId:this.anonId},At=Z?l(st,Z):st,zt={url:ut(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([At])};this.pendingRequest=Ut(zt,function(Ot){Pe.pendingRequest=null,se(Ot),Pe.saveEventData(),Pe.processRequests(ye)})}},Ne.prototype.queueRequest=function(z,Z){this.queue.push(z),this.processRequests(Z)};var gt=function(I){function z(){I.call(this,"map.load"),this.success={},this.skuToken=""}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.postMapLoadEvent=function(se,ye,Pe,Oe){this.skuToken=Pe,(te.EVENTS_URL&&Oe||te.ACCESS_TOKEN&&Array.isArray(se)&&se.some(function(st){return Te(st)||Xe(st)}))&&this.queueRequest({id:ye,timestamp:Date.now()},Oe)},z.prototype.processRequests=function(se){var ye=this;if(!(this.pendingRequest||this.queue.length===0)){var Pe=this.queue.shift(),Oe=Pe.id,st=Pe.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),T(this.anonId)||(this.anonId=D()),this.postEvent(st,{skuToken:this.skuToken},function(At){At||Oe&&(ye.success[Oe]=!0)},se))}},z}(Ne),qe=function(I){function z(Z){I.call(this,"appUserTurnstile"),this._customAccessToken=Z}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.postTurnstileEvent=function(se,ye){te.EVENTS_URL&&te.ACCESS_TOKEN&&Array.isArray(se)&&se.some(function(Pe){return Te(Pe)||Xe(Pe)})&&this.queueRequest(Date.now(),ye)},z.prototype.processRequests=function(se){var ye=this;if(!(this.pendingRequest||this.queue.length===0)){(!this.anonId||!this.eventData.lastSuccess||!this.eventData.tokenU)&&this.fetchEventData();var Pe=ke(te.ACCESS_TOKEN),Oe=Pe?Pe.u:te.ACCESS_TOKEN,st=Oe!==this.eventData.tokenU;T(this.anonId)||(this.anonId=D(),st=!0);var At=this.queue.shift();if(this.eventData.lastSuccess){var zt=new Date(this.eventData.lastSuccess),Ot=new Date(At),ar=(At-this.eventData.lastSuccess)/(24*60*60*1e3);st=st||ar>=1||ar<-1||zt.getDate()!==Ot.getDate()}else st=!0;if(!st)return this.processRequests();this.postEvent(At,{"enabled.telemetry":!1},function(Mr){Mr||(ye.eventData.lastSuccess=At,ye.eventData.tokenU=Oe)},se)}},z}(Ne),vt=new qe,Bt=vt.postTurnstileEvent.bind(vt),Yt=new gt,it=Yt.postMapLoadEvent.bind(Yt),Ue="mapbox-tiles",_e=500,Ze=50,Fe=1e3*60*7,Ce;function ve(){self.caches&&!Ce&&(Ce=self.caches.open(Ue))}var Ie;function Ae(I,z){if(Ie===void 0)try{new Response(new ReadableStream),Ie=!0}catch{Ie=!1}Ie?z(I.body):I.blob().then(z)}function je(I,z,Z){if(ve(),!!Ce){var se={status:z.status,statusText:z.statusText,headers:new self.Headers};z.headers.forEach(function(Oe,st){return se.headers.set(st,Oe)});var ye=W(z.headers.get("Cache-Control")||"");if(!ye["no-store"]){ye["max-age"]&&se.headers.set("Expires",new Date(Z+ye["max-age"]*1e3).toUTCString());var Pe=new Date(se.headers.get("Expires")).getTime()-Z;PeDate.now()&&!Z["no-cache"]}var kt=1/0;function nr(I){kt++,kt>Ze&&(I.getActor().send("enforceCacheSizeLimit",_e),kt=0)}function dr(I){ve(),Ce&&Ce.then(function(z){z.keys().then(function(Z){for(var se=0;se=200&&Z.status<300||Z.status===0)&&Z.response!==null){var ye=Z.response;if(I.type==="json")try{ye=JSON.parse(Z.response)}catch(Pe){return z(Pe)}z(null,ye,Z.getResponseHeader("Cache-Control"),Z.getResponseHeader("Expires"))}else z(new ir(Z.statusText,Z.status,I.url))},Z.send(I.body),{cancel:function(){return Z.abort()}}}var yt=function(I,z){if(!Or(I.url)){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kr(I,z);if(N()&&self.worker&&self.worker.actor){var Z=!0;return self.worker.actor.send("getResource",I,z,void 0,Z)}}return Mt(I,z)},Rt=function(I,z){return yt(l(I,{type:"json"}),z)},wt=function(I,z){return yt(l(I,{type:"arrayBuffer"}),z)},Ut=function(I,z){return yt(l(I,{method:"POST"}),z)};function Ht(I){var z=self.document.createElement("a");return z.href=I,z.protocol===self.document.location.protocol&&z.host===self.document.location.host}var Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function qt(I,z,Z,se){var ye=new self.Image,Pe=self.URL;ye.onload=function(){z(null,ye),Pe.revokeObjectURL(ye.src)},ye.onerror=function(){return z(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var Oe=new self.Blob([new Uint8Array(I)],{type:"image/png"});ye.cacheControl=Z,ye.expires=se,ye.src=I.byteLength?Pe.createObjectURL(Oe):Qt}function ur(I,z){var Z=new self.Blob([new Uint8Array(I)],{type:"image/png"});self.createImageBitmap(Z).then(function(se){z(null,se)}).catch(function(se){z(new Error("Could not load image because of "+se.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))})}var Cr,mr,Fr=function(){Cr=[],mr=0};Fr();var tt=function(I,z){if(ee.supported&&(I.headers||(I.headers={}),I.headers.accept="image/webp,*/*"),mr>=te.MAX_PARALLEL_IMAGE_REQUESTS){var Z={requestParameters:I,callback:z,cancelled:!1,cancel:function(){this.cancelled=!0}};return Cr.push(Z),Z}mr++;var se=!1,ye=function(){if(!se)for(se=!0,mr--;Cr.length&&mr0||this._oneTimeListeners&&this._oneTimeListeners[z]&&this._oneTimeListeners[z].length>0||this._eventedParent&&this._eventedParent.listens(z)},Tr.prototype.setEventedParent=function(z,Z){return this._eventedParent=z,this._eventedParentData=Z,this};var br=8,Kt={version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},Ir={"*":{type:"source"}},Lr=["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],Br={type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},zr={type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},cn={type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},tn={type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},an={type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},Wn={type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},En={id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},pa=["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],Qn={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},_r={"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Vr={"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},qr={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},lr={"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},dn={"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},zn={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},gn={visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},Fn={type:"array",value:"*"},fa={type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},Ma={type:"enum",values:{Point:{},LineString:{},Polygon:{}}},Sa={type:"array",minimum:0,maximum:24,value:["number","color"],length:2},_a={type:"array",value:"*",minimum:1},qn={type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},La={anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},Xr=["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],An={"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},In={"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},jn={"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},ba={"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},la={"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},ua={"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},va={"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},Oa={"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},ci={duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},Ni={"*":{type:"string"}},sr={$version:br,$root:Kt,sources:Ir,source:Lr,source_vector:Br,source_raster:zr,source_raster_dem:cn,source_geojson:tn,source_video:an,source_image:Wn,layer:En,layout:pa,layout_background:Qn,layout_fill:_r,layout_circle:Vr,layout_heatmap:qr,"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:lr,layout_symbol:dn,layout_raster:zn,layout_hillshade:gn,filter:Fn,filter_operator:fa,geometry_type:Ma,function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:Sa,expression:_a,expression_name:qn,light:La,paint:Xr,paint_fill:An,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:In,paint_circle:jn,paint_heatmap:ba,paint_symbol:la,paint_raster:ua,paint_hillshade:va,paint_background:Oa,transition:ci,"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:Ni},Gr=function(z,Z,se,ye){this.message=(z?z+": ":"")+se,ye&&(this.identifier=ye),Z!=null&&Z.__line__&&(this.line=Z.__line__)};function yn(I){var z=I.key,Z=I.value;return Z?[new Gr(z,Z,"constants have been deprecated as of v8")]:[]}function Bn(I){for(var z=[],Z=arguments.length-1;Z-- >0;)z[Z]=arguments[Z+1];for(var se=0,ye=z;se":I.itemType.kind==="value"?"array":"array<"+z+">"}else return I.kind}var hs=[en,pr,nn,Vn,ha,Ya,ya,Ua(Gn),Va];function Es(I,z){if(z.kind==="error")return null;if(I.kind==="array"){if(z.kind==="array"&&(z.N===0&&z.itemType.kind==="value"||!Es(I.itemType,z.itemType))&&(typeof I.N!="number"||I.N===z.N))return null}else{if(I.kind===z.kind)return null;if(I.kind==="value")for(var Z=0,se=hs;Z255?255:zt}function ye(zt){return zt<0?0:zt>1?1:zt}function Pe(zt){return zt[zt.length-1]==="%"?se(parseFloat(zt)/100*255):se(parseInt(zt))}function Oe(zt){return zt[zt.length-1]==="%"?ye(parseFloat(zt)/100):ye(parseFloat(zt))}function st(zt,Ot,ar){return ar<0?ar+=1:ar>1&&(ar-=1),ar*6<1?zt+(Ot-zt)*ar*6:ar*2<1?Ot:ar*3<2?zt+(Ot-zt)*(2/3-ar)*6:zt}function At(zt){var Ot=zt.replace(/ /g,"").toLowerCase();if(Ot in Z)return Z[Ot].slice();if(Ot[0]==="#"){if(Ot.length===4){var ar=parseInt(Ot.substr(1),16);return ar>=0&&ar<=4095?[(ar&3840)>>4|(ar&3840)>>8,ar&240|(ar&240)>>4,ar&15|(ar&15)<<4,1]:null}else if(Ot.length===7){var ar=parseInt(Ot.substr(1),16);return ar>=0&&ar<=16777215?[(ar&16711680)>>16,(ar&65280)>>8,ar&255,1]:null}return null}var Mr=Ot.indexOf("("),yr=Ot.indexOf(")");if(Mr!==-1&&yr+1===Ot.length){var Zr=Ot.substr(0,Mr),un=Ot.substr(Mr+1,yr-(Mr+1)).split(","),_n=1;switch(Zr){case"rgba":if(un.length!==4)return null;_n=Oe(un.pop());case"rgb":return un.length!==3?null:[Pe(un[0]),Pe(un[1]),Pe(un[2]),_n];case"hsla":if(un.length!==4)return null;_n=Oe(un.pop());case"hsl":if(un.length!==3)return null;var Ln=(parseFloat(un[0])%360+360)%360/360,ia=Oe(un[1]),Kn=Oe(un[2]),ra=Kn<=.5?Kn*(ia+1):Kn+ia-Kn*ia,da=Kn*2-ra;return[se(st(da,ra,Ln+1/3)*255),se(st(da,ra,Ln)*255),se(st(da,ra,Ln-1/3)*255),_n];default:return null}}return null}try{z.parseCSSColor=At}catch{}}),Hf=zs.parseCSSColor,Vi=function(z,Z,se,ye){ye===void 0&&(ye=1),this.r=z,this.g=Z,this.b=se,this.a=ye};Vi.parse=function(z){if(z){if(z instanceof Vi)return z;if(typeof z=="string"){var Z=Hf(z);if(Z)return new Vi(Z[0]/255*Z[3],Z[1]/255*Z[3],Z[2]/255*Z[3],Z[3])}}},Vi.prototype.toString=function(){var z=this.toArray(),Z=z[0],se=z[1],ye=z[2],Pe=z[3];return"rgba("+Math.round(Z)+","+Math.round(se)+","+Math.round(ye)+","+Pe+")"},Vi.prototype.toArray=function(){var z=this,Z=z.r,se=z.g,ye=z.b,Pe=z.a;return Pe===0?[0,0,0,0]:[Z*255/Pe,se*255/Pe,ye*255/Pe,Pe]},Vi.black=new Vi(0,0,0,1),Vi.white=new Vi(1,1,1,1),Vi.transparent=new Vi(0,0,0,0),Vi.red=new Vi(1,0,0,1);var Ui=function(z,Z,se){z?this.sensitivity=Z?"variant":"case":this.sensitivity=Z?"accent":"base",this.locale=se,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Ui.prototype.compare=function(z,Z){return this.collator.compare(z,Z)},Ui.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var nu=function(z,Z,se,ye,Pe){this.text=z,this.image=Z,this.scale=se,this.fontStack=ye,this.textColor=Pe},Qo=function(z){this.sections=z};Qo.fromString=function(z){return new Qo([new nu(z,null,null,null,null)])},Qo.prototype.isEmpty=function(){return this.sections.length===0?!0:!this.sections.some(function(z){return z.text.length!==0||z.image&&z.image.name.length!==0})},Qo.factory=function(z){return z instanceof Qo?z:Qo.fromString(z)},Qo.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(z){return z.text}).join("")},Qo.prototype.serialize=function(){for(var z=["format"],Z=0,se=this.sections;Z=0&&I<=255&&typeof z=="number"&&z>=0&&z<=255&&typeof Z=="number"&&Z>=0&&Z<=255)){var ye=typeof se=="number"?[I,z,Z,se]:[I,z,Z];return"Invalid rgba value ["+ye.join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}return typeof se>"u"||typeof se=="number"&&se>=0&&se<=1?null:"Invalid rgba value ["+[I,z,Z,se].join(", ")+"]: 'a' must be between 0 and 1."}function _u(I){if(I===null)return!0;if(typeof I=="string")return!0;if(typeof I=="boolean")return!0;if(typeof I=="number")return!0;if(I instanceof Vi)return!0;if(I instanceof Ui)return!0;if(I instanceof Qo)return!0;if(I instanceof Ts)return!0;if(Array.isArray(I)){for(var z=0,Z=I;z2){var st=z[1];if(typeof st!="string"||!(st in Ws)||st==="object")return Z.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=Ws[st],se++}else Oe=Gn;var At;if(z.length>3){if(z[2]!==null&&(typeof z[2]!="number"||z[2]<0||z[2]!==Math.floor(z[2])))return Z.error('The length argument to "array" must be a positive integer literal',2);At=z[2],se++}ye=Ua(Oe,At)}else ye=Ws[Pe];for(var zt=[];se1)&&Z.push(ye)}}return Z.concat(this.args.map(function(Pe){return Pe.serialize()}))};var ns=function(z){this.type=Ya,this.sections=z};ns.parse=function(z,Z){if(z.length<2)return Z.error("Expected at least one argument.");var se=z[1];if(!Array.isArray(se)&&typeof se=="object")return Z.error("First argument must be an image or text section.");for(var ye=[],Pe=!1,Oe=1;Oe<=z.length-1;++Oe){var st=z[Oe];if(Pe&&typeof st=="object"&&!Array.isArray(st)){Pe=!1;var At=null;if(st["font-scale"]&&(At=Z.parse(st["font-scale"],1,pr),!At))return null;var zt=null;if(st["text-font"]&&(zt=Z.parse(st["text-font"],1,Ua(nn)),!zt))return null;var Ot=null;if(st["text-color"]&&(Ot=Z.parse(st["text-color"],1,ha),!Ot))return null;var ar=ye[ye.length-1];ar.scale=At,ar.font=zt,ar.textColor=Ot}else{var Mr=Z.parse(z[Oe],1,Gn);if(!Mr)return null;var yr=Mr.type.kind;if(yr!=="string"&&yr!=="value"&&yr!=="null"&&yr!=="resolvedImage")return Z.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Pe=!0,ye.push({content:Mr,scale:null,font:null,textColor:null})}}return new ns(ye)},ns.prototype.evaluate=function(z){var Z=function(se){var ye=se.content.evaluate(z);return Po(ye)===Va?new nu("",ye,null,null,null):new nu(gf(ye),null,se.scale?se.scale.evaluate(z):null,se.font?se.font.evaluate(z).join(","):null,se.textColor?se.textColor.evaluate(z):null)};return new Qo(this.sections.map(Z))},ns.prototype.eachChild=function(z){for(var Z=0,se=this.sections;Z-1),se},ks.prototype.eachChild=function(z){z(this.input)},ks.prototype.outputDefined=function(){return!1},ks.prototype.serialize=function(){return["image",this.input.serialize()]};var qo={"to-boolean":Vn,"to-color":ha,"to-number":pr,"to-string":nn},us=function(z,Z){this.type=z,this.args=Z};us.parse=function(z,Z){if(z.length<2)return Z.error("Expected at least one argument.");var se=z[0];if((se==="to-boolean"||se==="to-string")&&z.length!==2)return Z.error("Expected one argument.");for(var ye=qo[se],Pe=[],Oe=1;Oe4?se="Invalid rbga value "+JSON.stringify(Z)+": expected an array containing either three or four numeric values.":se=Vf(Z[0],Z[1],Z[2],Z[3]),!se))return new Vi(Z[0]/255,Z[1]/255,Z[2]/255,Z[3])}throw new ts(se||"Could not parse color from value '"+(typeof Z=="string"?Z:String(JSON.stringify(Z)))+"'")}else if(this.type.kind==="number"){for(var At=null,zt=0,Ot=this.args;zt=z[2]||I[1]<=z[1]||I[3]>=z[3])}function rf(I,z){var Z=bc(I[0]),se=wc(I[1]),ye=Math.pow(2,z.z);return[Math.round(Z*ye*ml),Math.round(se*ye*ml)]}function Tc(I,z,Z){var se=I[0]-z[0],ye=I[1]-z[1],Pe=I[0]-Z[0],Oe=I[1]-Z[1];return se*Oe-Pe*ye===0&&se*Pe<=0&&ye*Oe<=0}function Gf(I,z,Z){return z[1]>I[1]!=Z[1]>I[1]&&I[0]<(Z[0]-z[0])*(I[1]-z[1])/(Z[1]-z[1])+z[0]}function Wf(I,z){for(var Z=!1,se=0,ye=z.length;se0&&ar<0||Ot<0&&ar>0}function Bs(I,z,Z,se){var ye=[z[0]-I[0],z[1]-I[1]],Pe=[se[0]-Z[0],se[1]-Z[1]];return Gc(Pe,ye)===0?!1:!!(Yf(I,z,Z,se)&&Yf(Z,se,I,z))}function Ac(I,z,Z){for(var se=0,ye=Z;seZ[2]){var ye=se*.5,Pe=I[0]-Z[0]>ye?-se:Z[0]-I[0]>ye?se:0;Pe===0&&(Pe=I[0]-Z[2]>ye?-se:Z[2]-I[0]>ye?se:0),I[0]+=Pe}xc(z,I)}function m0(I){I[0]=I[1]=1/0,I[2]=I[3]=-1/0}function rl(I,z,Z,se){for(var ye=Math.pow(2,se.z)*ml,Pe=[se.x*ml,se.y*ml],Oe=[],st=0,At=I;st=0)return!1;var Z=!0;return I.eachChild(function(se){Z&&!vs(se,z)&&(Z=!1)}),Z}var al=function(z,Z){this.type=Z.type,this.name=z,this.boundExpression=Z};al.parse=function(z,Z){if(z.length!==2||typeof z[1]!="string")return Z.error("'var' expression requires exactly one string literal argument.");var se=z[1];return Z.scope.has(se)?new al(se,Z.scope.get(se)):Z.error('Unknown variable "'+se+'". Make sure "'+se+'" has been bound in an enclosing "let" expression before using it.',1)},al.prototype.evaluate=function(z){return this.boundExpression.evaluate(z)},al.prototype.eachChild=function(){},al.prototype.outputDefined=function(){return!1},al.prototype.serialize=function(){return["var",this.name]};var yl=function(z,Z,se,ye,Pe){Z===void 0&&(Z=[]),ye===void 0&&(ye=new On),Pe===void 0&&(Pe=[]),this.registry=z,this.path=Z,this.key=Z.map(function(Oe){return"["+Oe+"]"}).join(""),this.scope=ye,this.errors=Pe,this.expectedType=se};yl.prototype.parse=function(z,Z,se,ye,Pe){return Pe===void 0&&(Pe={}),Z?this.concat(Z,se,ye)._parse(z,Pe):this._parse(z,Pe)},yl.prototype._parse=function(z,Z){(z===null||typeof z=="string"||typeof z=="boolean"||typeof z=="number")&&(z=["literal",z]);function se(Ot,ar,Mr){return Mr==="assert"?new rs(ar,[Ot]):Mr==="coerce"?new us(ar,[Ot]):Ot}if(Array.isArray(z)){if(z.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var ye=z[0];if(typeof ye!="string")return this.error("Expression name must be a string, but found "+typeof ye+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Pe=this.registry[ye];if(Pe){var Oe=Pe.parse(z,this);if(!Oe)return null;if(this.expectedType){var st=this.expectedType,At=Oe.type;if((st.kind==="string"||st.kind==="number"||st.kind==="boolean"||st.kind==="object"||st.kind==="array")&&At.kind==="value")Oe=se(Oe,st,Z.typeAnnotation||"assert");else if((st.kind==="color"||st.kind==="formatted"||st.kind==="resolvedImage")&&(At.kind==="value"||At.kind==="string"))Oe=se(Oe,st,Z.typeAnnotation||"coerce");else if(this.checkSubtype(st,At))return null}if(!(Oe instanceof Fs)&&Oe.type.kind!=="resolvedImage"&&Uu(Oe)){var zt=new Dl;try{Oe=new Fs(Oe.type,Oe.evaluate(zt))}catch(Ot){return this.error(Ot.message),null}}return Oe}return this.error('Unknown expression "'+ye+'". If you wanted a literal array, use ["literal", [...]].',0)}else return typeof z>"u"?this.error("'undefined' value invalid. Use null instead."):typeof z=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof z+" instead.")},yl.prototype.concat=function(z,Z,se){var ye=typeof z=="number"?this.path.concat(z):this.path,Pe=se?this.scope.concat(se):this.scope;return new yl(this.registry,ye,Z||null,Pe,this.errors)},yl.prototype.error=function(z){for(var Z=[],se=arguments.length-1;se-- >0;)Z[se]=arguments[se+1];var ye=""+this.key+Z.map(function(Pe){return"["+Pe+"]"}).join("");this.errors.push(new Yn(ye,z))},yl.prototype.checkSubtype=function(z,Z){var se=Es(z,Z);return se&&this.error(se),se};function Uu(I){if(I instanceof al)return Uu(I.boundExpression);if(I instanceof ds&&I.name==="error")return!1;if(I instanceof tl)return!1;if(I instanceof Uo)return!1;var z=I instanceof us||I instanceof rs,Z=!0;return I.eachChild(function(se){z?Z=Z&&Uu(se):Z=Z&&se instanceof Fs}),Z?nl(I)&&vs(I,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"]):!1}function Rl(I,z){for(var Z=I.length-1,se=0,ye=Z,Pe=0,Oe,st;se<=ye;)if(Pe=Math.floor((se+ye)/2),Oe=I[Pe],st=I[Pe+1],Oe<=z){if(Pe===Z||zz)ye=Pe-1;else throw new ts("Input is not a number.");return 0}var Yl=function(z,Z,se){this.type=z,this.input=Z,this.labels=[],this.outputs=[];for(var ye=0,Pe=se;ye=st)return Z.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',zt);var ar=Z.parse(At,Ot,Pe);if(!ar)return null;Pe=Pe||ar.type,ye.push([st,ar])}return new Yl(Pe,se,ye)},Yl.prototype.evaluate=function(z){var Z=this.labels,se=this.outputs;if(Z.length===1)return se[0].evaluate(z);var ye=this.input.evaluate(z);if(ye<=Z[0])return se[0].evaluate(z);var Pe=Z.length;if(ye>=Z[Pe-1])return se[Pe-1].evaluate(z);var Oe=Rl(Z,ye);return se[Oe].evaluate(z)},Yl.prototype.eachChild=function(z){z(this.input);for(var Z=0,se=this.outputs;Z0&&z.push(this.labels[Z]),z.push(this.outputs[Z].serialize());return z};function Ho(I,z,Z){return I*(1-Z)+z*Z}function yf(I,z,Z){return new Vi(Ho(I.r,z.r,Z),Ho(I.g,z.g,Z),Ho(I.b,z.b,Z),Ho(I.a,z.a,Z))}function Zs(I,z,Z){return I.map(function(se,ye){return Ho(se,z[ye],Z)})}var au=Object.freeze({__proto__:null,number:Ho,color:yf,array:Zs}),Hu=.95047,Il=1,iu=1.08883,As=4/29,ps=6/29,Js=3*ps*ps,Wc=ps*ps*ps,Mc=Math.PI/180,Yc=180/Math.PI;function xf(I){return I>Wc?Math.pow(I,.3333333333333333):I/Js+As}function of(I){return I>ps?I*I*I:Js*(I-As)}function Zf(I){return 255*(I<=.0031308?12.92*I:1.055*Math.pow(I,.4166666666666667)-.055)}function sf(I){return I/=255,I<=.04045?I/12.92:Math.pow((I+.055)/1.055,2.4)}function Vu(I){var z=sf(I.r),Z=sf(I.g),se=sf(I.b),ye=xf((.4124564*z+.3575761*Z+.1804375*se)/Hu),Pe=xf((.2126729*z+.7151522*Z+.072175*se)/Il),Oe=xf((.0193339*z+.119192*Z+.9503041*se)/iu);return{l:116*Pe-16,a:500*(ye-Pe),b:200*(Pe-Oe),alpha:I.a}}function bf(I){var z=(I.l+16)/116,Z=isNaN(I.a)?z:z+I.a/500,se=isNaN(I.b)?z:z-I.b/200;return z=Il*of(z),Z=Hu*of(Z),se=iu*of(se),new Vi(Zf(3.2404542*Z-1.5371385*z-.4985314*se),Zf(-.969266*Z+1.8760108*z+.041556*se),Zf(.0556434*Z-.2040259*z+1.0572252*se),I.alpha)}function to(I,z,Z){return{l:Ho(I.l,z.l,Z),a:Ho(I.a,z.a,Z),b:Ho(I.b,z.b,Z),alpha:Ho(I.alpha,z.alpha,Z)}}function jf(I){var z=Vu(I),Z=z.l,se=z.a,ye=z.b,Pe=Math.atan2(ye,se)*Yc;return{h:Pe<0?Pe+360:Pe,c:Math.sqrt(se*se+ye*ye),l:Z,alpha:I.a}}function fo(I){var z=I.h*Mc,Z=I.c,se=I.l;return bf({l:se,a:Math.cos(z)*Z,b:Math.sin(z)*Z,alpha:I.alpha})}function Xf(I,z,Z){var se=z-I;return I+Z*(se>180||se<-180?se-360*Math.round(se/360):se)}function xl(I,z,Z){return{h:Xf(I.h,z.h,Z),c:Ho(I.c,z.c,Z),l:Ho(I.l,z.l,Z),alpha:Ho(I.alpha,z.alpha,Z)}}var bu={forward:Vu,reverse:bf,interpolate:to},wu={forward:jf,reverse:fo,interpolate:xl},Cc=Object.freeze({__proto__:null,lab:bu,hcl:wu}),jo=function(z,Z,se,ye,Pe){this.type=z,this.operator=Z,this.interpolation=se,this.input=ye,this.labels=[],this.outputs=[];for(var Oe=0,st=Pe;Oe1}))return Z.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);ye={name:"cubic-bezier",controlPoints:At}}else return Z.error("Unknown interpolation type "+String(ye[0]),1,0);if(z.length-1<4)return Z.error("Expected at least 4 arguments, but found only "+(z.length-1)+".");if((z.length-1)%2!==0)return Z.error("Expected an even number of arguments.");if(Pe=Z.parse(Pe,2,pr),!Pe)return null;var zt=[],Ot=null;se==="interpolate-hcl"||se==="interpolate-lab"?Ot=ha:Z.expectedType&&Z.expectedType.kind!=="value"&&(Ot=Z.expectedType);for(var ar=0;ar=Mr)return Z.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Zr);var _n=Z.parse(yr,un,Ot);if(!_n)return null;Ot=Ot||_n.type,zt.push([Mr,_n])}return Ot.kind!=="number"&&Ot.kind!=="color"&&!(Ot.kind==="array"&&Ot.itemType.kind==="number"&&typeof Ot.N=="number")?Z.error("Type "+$a(Ot)+" is not interpolatable."):new jo(Ot,se,ye,Pe,zt)},jo.prototype.evaluate=function(z){var Z=this.labels,se=this.outputs;if(Z.length===1)return se[0].evaluate(z);var ye=this.input.evaluate(z);if(ye<=Z[0])return se[0].evaluate(z);var Pe=Z.length;if(ye>=Z[Pe-1])return se[Pe-1].evaluate(z);var Oe=Rl(Z,ye),st=Z[Oe],At=Z[Oe+1],zt=jo.interpolationFactor(this.interpolation,ye,st,At),Ot=se[Oe].evaluate(z),ar=se[Oe+1].evaluate(z);return this.operator==="interpolate"?au[this.type.kind.toLowerCase()](Ot,ar,zt):this.operator==="interpolate-hcl"?wu.reverse(wu.interpolate(wu.forward(Ot),wu.forward(ar),zt)):bu.reverse(bu.interpolate(bu.forward(Ot),bu.forward(ar),zt))},jo.prototype.eachChild=function(z){z(this.input);for(var Z=0,se=this.outputs;Z=se.length)throw new ts("Array index out of bounds: "+Z+" > "+(se.length-1)+".");if(Z!==Math.floor(Z))throw new ts("Array index must be an integer, but found "+Z+" instead.");return se[Z]},js.prototype.eachChild=function(z){z(this.index),z(this.input)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ss=function(z,Z){this.type=Vn,this.needle=z,this.haystack=Z};Ss.parse=function(z,Z){if(z.length!==3)return Z.error("Expected 2 arguments, but found "+(z.length-1)+" instead.");var se=Z.parse(z[1],1,Gn),ye=Z.parse(z[2],2,Gn);return!se||!ye?null:Is(se.type,[Vn,nn,pr,en,Gn])?new Ss(se,ye):Z.error("Expected first argument to be of type boolean, string, number or null, but found "+$a(se.type)+" instead")},Ss.prototype.evaluate=function(z){var Z=this.needle.evaluate(z),se=this.haystack.evaluate(z);if(!se)return!1;if(!Gs(Z,["boolean","string","number","null"]))throw new ts("Expected first argument to be of type boolean, string, number or null, but found "+$a(Po(Z))+" instead.");if(!Gs(se,["string","array"]))throw new ts("Expected second argument to be of type array or string, but found "+$a(Po(se))+" instead.");return se.indexOf(Z)>=0},Ss.prototype.eachChild=function(z){z(this.needle),z(this.haystack)},Ss.prototype.outputDefined=function(){return!0},Ss.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Tu=function(z,Z,se){this.type=pr,this.needle=z,this.haystack=Z,this.fromIndex=se};Tu.parse=function(z,Z){if(z.length<=2||z.length>=5)return Z.error("Expected 3 or 4 arguments, but found "+(z.length-1)+" instead.");var se=Z.parse(z[1],1,Gn),ye=Z.parse(z[2],2,Gn);if(!se||!ye)return null;if(!Is(se.type,[Vn,nn,pr,en,Gn]))return Z.error("Expected first argument to be of type boolean, string, number or null, but found "+$a(se.type)+" instead");if(z.length===4){var Pe=Z.parse(z[3],3,pr);return Pe?new Tu(se,ye,Pe):null}else return new Tu(se,ye)},Tu.prototype.evaluate=function(z){var Z=this.needle.evaluate(z),se=this.haystack.evaluate(z);if(!Gs(Z,["boolean","string","number","null"]))throw new ts("Expected first argument to be of type boolean, string, number or null, but found "+$a(Po(Z))+" instead.");if(!Gs(se,["string","array"]))throw new ts("Expected second argument to be of type array or string, but found "+$a(Po(se))+" instead.");if(this.fromIndex){var ye=this.fromIndex.evaluate(z);return se.indexOf(Z,ye)}return se.indexOf(Z)},Tu.prototype.eachChild=function(z){z(this.needle),z(this.haystack),this.fromIndex&&z(this.fromIndex)},Tu.prototype.outputDefined=function(){return!1},Tu.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var z=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),z]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var Au=function(z,Z,se,ye,Pe,Oe){this.inputType=z,this.type=Z,this.input=se,this.cases=ye,this.outputs=Pe,this.otherwise=Oe};Au.parse=function(z,Z){if(z.length<5)return Z.error("Expected at least 4 arguments, but found only "+(z.length-1)+".");if(z.length%2!==1)return Z.error("Expected an even number of arguments.");var se,ye;Z.expectedType&&Z.expectedType.kind!=="value"&&(ye=Z.expectedType);for(var Pe={},Oe=[],st=2;stNumber.MAX_SAFE_INTEGER)return Ot.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof yr=="number"&&Math.floor(yr)!==yr)return Ot.error("Numeric branch labels must be integer values.");if(!se)se=Po(yr);else if(Ot.checkSubtype(se,Po(yr)))return null;if(typeof Pe[String(yr)]<"u")return Ot.error("Branch labels must be unique.");Pe[String(yr)]=Oe.length}var Zr=Z.parse(zt,st,ye);if(!Zr)return null;ye=ye||Zr.type,Oe.push(Zr)}var un=Z.parse(z[1],1,Gn);if(!un)return null;var _n=Z.parse(z[z.length-1],z.length-1,ye);return!_n||un.type.kind!=="value"&&Z.concat(1).checkSubtype(se,un.type)?null:new Au(se,ye,un,Pe,Oe,_n)},Au.prototype.evaluate=function(z){var Z=this.input.evaluate(z),se=Po(Z)===this.inputType&&this.outputs[this.cases[Z]]||this.otherwise;return se.evaluate(z)},Au.prototype.eachChild=function(z){z(this.input),this.outputs.forEach(z),z(this.otherwise)},Au.prototype.outputDefined=function(){return this.outputs.every(function(z){return z.outputDefined()})&&this.otherwise.outputDefined()},Au.prototype.serialize=function(){for(var z=this,Z=["match",this.input.serialize()],se=Object.keys(this.cases).sort(),ye=[],Pe={},Oe=0,st=se;Oe=5)return Z.error("Expected 3 or 4 arguments, but found "+(z.length-1)+" instead.");var se=Z.parse(z[1],1,Gn),ye=Z.parse(z[2],2,pr);if(!se||!ye)return null;if(!Is(se.type,[Ua(Gn),nn,Gn]))return Z.error("Expected first argument to be of type array or string, but found "+$a(se.type)+" instead");if(z.length===4){var Pe=Z.parse(z[3],3,pr);return Pe?new Xo(se.type,se,ye,Pe):null}else return new Xo(se.type,se,ye)},Xo.prototype.evaluate=function(z){var Z=this.input.evaluate(z),se=this.beginIndex.evaluate(z);if(!Gs(Z,["string","array"]))throw new ts("Expected first argument to be of type array or string, but found "+$a(Po(Z))+" instead.");if(this.endIndex){var ye=this.endIndex.evaluate(z);return Z.slice(se,ye)}return Z.slice(se)},Xo.prototype.eachChild=function(z){z(this.input),z(this.beginIndex),this.endIndex&&z(this.endIndex)},Xo.prototype.outputDefined=function(){return!1},Xo.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var z=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),z]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};function Su(I,z){return I==="=="||I==="!="?z.kind==="boolean"||z.kind==="string"||z.kind==="number"||z.kind==="null"||z.kind==="value":z.kind==="string"||z.kind==="number"||z.kind==="value"}function Gu(I,z,Z){return z===Z}function $f(I,z,Z){return z!==Z}function Zc(I,z,Z){return zZ}function jc(I,z,Z){return z<=Z}function wf(I,z,Z){return z>=Z}function Zl(I,z,Z,se){return se.compare(z,Z)===0}function Vo(I,z,Z,se){return!Zl(I,z,Z,se)}function Tl(I,z,Z,se){return se.compare(z,Z)<0}function Ms(I,z,Z,se){return se.compare(z,Z)>0}function Ls(I,z,Z,se){return se.compare(z,Z)<=0}function ou(I,z,Z,se){return se.compare(z,Z)>=0}function Mu(I,z,Z){var se=I!=="=="&&I!=="!=";return function(){function ye(Pe,Oe,st){this.type=Vn,this.lhs=Pe,this.rhs=Oe,this.collator=st,this.hasUntypedArgument=Pe.type.kind==="value"||Oe.type.kind==="value"}return ye.parse=function(Oe,st){if(Oe.length!==3&&Oe.length!==4)return st.error("Expected two or three arguments.");var At=Oe[0],zt=st.parse(Oe[1],1,Gn);if(!zt)return null;if(!Su(At,zt.type))return st.concat(1).error('"'+At+`" comparisons are not supported for type '`+$a(zt.type)+"'.");var Ot=st.parse(Oe[2],2,Gn);if(!Ot)return null;if(!Su(At,Ot.type))return st.concat(2).error('"'+At+`" comparisons are not supported for type '`+$a(Ot.type)+"'.");if(zt.type.kind!==Ot.type.kind&&zt.type.kind!=="value"&&Ot.type.kind!=="value")return st.error("Cannot compare types '"+$a(zt.type)+"' and '"+$a(Ot.type)+"'.");se&&(zt.type.kind==="value"&&Ot.type.kind!=="value"?zt=new rs(Ot.type,[zt]):zt.type.kind!=="value"&&Ot.type.kind==="value"&&(Ot=new rs(zt.type,[Ot])));var ar=null;if(Oe.length===4){if(zt.type.kind!=="string"&&Ot.type.kind!=="string"&&zt.type.kind!=="value"&&Ot.type.kind!=="value")return st.error("Cannot use collator to compare non-string types.");if(ar=st.parse(Oe[3],3,za),!ar)return null}return new ye(zt,Ot,ar)},ye.prototype.evaluate=function(Oe){var st=this.lhs.evaluate(Oe),At=this.rhs.evaluate(Oe);if(se&&this.hasUntypedArgument){var zt=Po(st),Ot=Po(At);if(zt.kind!==Ot.kind||!(zt.kind==="string"||zt.kind==="number"))throw new ts('Expected arguments for "'+I+'" to be (string, string) or (number, number), but found ('+zt.kind+", "+Ot.kind+") instead.")}if(this.collator&&!se&&this.hasUntypedArgument){var ar=Po(st),Mr=Po(At);if(ar.kind!=="string"||Mr.kind!=="string")return z(Oe,st,At)}return this.collator?Z(Oe,st,At,this.collator.evaluate(Oe)):z(Oe,st,At)},ye.prototype.eachChild=function(Oe){Oe(this.lhs),Oe(this.rhs),this.collator&&Oe(this.collator)},ye.prototype.outputDefined=function(){return!0},ye.prototype.serialize=function(){var Oe=[I];return this.eachChild(function(st){Oe.push(st.serialize())}),Oe},ye}()}var Wu=Mu("==",Gu,Zl),Al=Mu("!=",$f,Vo),zl=Mu("<",Zc,Tl),jl=Mu(">",y0,Ms),Tf=Mu("<=",jc,Ls),Kf=Mu(">=",wf,ou),Cu=function(z,Z,se,ye,Pe){this.type=nn,this.number=z,this.locale=Z,this.currency=se,this.minFractionDigits=ye,this.maxFractionDigits=Pe};Cu.parse=function(z,Z){if(z.length!==3)return Z.error("Expected two arguments.");var se=Z.parse(z[1],1,pr);if(!se)return null;var ye=z[2];if(typeof ye!="object"||Array.isArray(ye))return Z.error("NumberFormat options argument must be an object.");var Pe=null;if(ye.locale&&(Pe=Z.parse(ye.locale,1,nn),!Pe))return null;var Oe=null;if(ye.currency&&(Oe=Z.parse(ye.currency,1,nn),!Oe))return null;var st=null;if(ye["min-fraction-digits"]&&(st=Z.parse(ye["min-fraction-digits"],1,pr),!st))return null;var At=null;return ye["max-fraction-digits"]&&(At=Z.parse(ye["max-fraction-digits"],1,pr),!At)?null:new Cu(se,Pe,Oe,st,At)},Cu.prototype.evaluate=function(z){return new Intl.NumberFormat(this.locale?this.locale.evaluate(z):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(z):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(z):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(z):void 0}).format(this.number.evaluate(z))},Cu.prototype.eachChild=function(z){z(this.number),this.locale&&z(this.locale),this.currency&&z(this.currency),this.minFractionDigits&&z(this.minFractionDigits),this.maxFractionDigits&&z(this.maxFractionDigits)},Cu.prototype.outputDefined=function(){return!1},Cu.prototype.serialize=function(){var z={};return this.locale&&(z.locale=this.locale.serialize()),this.currency&&(z.currency=this.currency.serialize()),this.minFractionDigits&&(z["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(z["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),z]};var as=function(z){this.type=pr,this.input=z};as.parse=function(z,Z){if(z.length!==2)return Z.error("Expected 1 argument, but found "+(z.length-1)+" instead.");var se=Z.parse(z[1],1);return se?se.type.kind!=="array"&&se.type.kind!=="string"&&se.type.kind!=="value"?Z.error("Expected argument of type string or array, but found "+$a(se.type)+" instead."):new as(se):null},as.prototype.evaluate=function(z){var Z=this.input.evaluate(z);if(typeof Z=="string")return Z.length;if(Array.isArray(Z))return Z.length;throw new ts("Expected value to be of type string or array, but found "+$a(Po(Z))+" instead.")},as.prototype.eachChild=function(z){z(this.input)},as.prototype.outputDefined=function(){return!1},as.prototype.serialize=function(){var z=["length"];return this.eachChild(function(Z){z.push(Z.serialize())}),z};var Xl={"==":Wu,"!=":Al,">":jl,"<":zl,">=":Kf,"<=":Tf,array:rs,at:js,boolean:rs,case:wl,coalesce:ms,collator:tl,format:ns,image:ks,in:Ss,"index-of":Tu,interpolate:jo,"interpolate-hcl":jo,"interpolate-lab":jo,length:as,let:bl,literal:Fs,match:Au,number:rs,"number-format":Cu,object:rs,slice:Xo,step:Yl,string:rs,"to-boolean":us,"to-color":us,"to-number":us,"to-string":us,var:al,within:Uo};function Af(I,z){var Z=z[0],se=z[1],ye=z[2],Pe=z[3];Z=Z.evaluate(I),se=se.evaluate(I),ye=ye.evaluate(I);var Oe=Pe?Pe.evaluate(I):1,st=Vf(Z,se,ye,Oe);if(st)throw new ts(st);return new Vi(Z/255*Oe,se/255*Oe,ye/255*Oe,Oe)}function Sf(I,z){return I in z}function Yu(I,z){var Z=z[I];return typeof Z>"u"?null:Z}function Mf(I,z,Z,se){for(;Z<=se;){var ye=Z+se>>1;if(z[ye]===I)return!0;z[ye]>I?se=ye-1:Z=ye+1}return!1}function Sl(I){return{type:I}}ds.register(Xl,{error:[na,[nn],function(I,z){var Z=z[0];throw new ts(Z.evaluate(I))}],typeof:[nn,[Gn],function(I,z){var Z=z[0];return $a(Po(Z.evaluate(I)))}],"to-rgba":[Ua(pr,4),[ha],function(I,z){var Z=z[0];return Z.evaluate(I).toArray()}],rgb:[ha,[pr,pr,pr],Af],rgba:[ha,[pr,pr,pr,pr],Af],has:{type:Vn,overloads:[[[nn],function(I,z){var Z=z[0];return Sf(Z.evaluate(I),I.properties())}],[[nn,ya],function(I,z){var Z=z[0],se=z[1];return Sf(Z.evaluate(I),se.evaluate(I))}]]},get:{type:Gn,overloads:[[[nn],function(I,z){var Z=z[0];return Yu(Z.evaluate(I),I.properties())}],[[nn,ya],function(I,z){var Z=z[0],se=z[1];return Yu(Z.evaluate(I),se.evaluate(I))}]]},"feature-state":[Gn,[nn],function(I,z){var Z=z[0];return Yu(Z.evaluate(I),I.featureState||{})}],properties:[ya,[],function(I){return I.properties()}],"geometry-type":[nn,[],function(I){return I.geometryType()}],id:[Gn,[],function(I){return I.id()}],zoom:[pr,[],function(I){return I.globals.zoom}],"heatmap-density":[pr,[],function(I){return I.globals.heatmapDensity||0}],"line-progress":[pr,[],function(I){return I.globals.lineProgress||0}],accumulated:[Gn,[],function(I){return I.globals.accumulated===void 0?null:I.globals.accumulated}],"+":[pr,Sl(pr),function(I,z){for(var Z=0,se=0,ye=z;se":[Vn,[nn,Gn],function(I,z){var Z=z[0],se=z[1],ye=I.properties()[Z.value],Pe=se.value;return typeof ye==typeof Pe&&ye>Pe}],"filter-id->":[Vn,[Gn],function(I,z){var Z=z[0],se=I.id(),ye=Z.value;return typeof se==typeof ye&&se>ye}],"filter-<=":[Vn,[nn,Gn],function(I,z){var Z=z[0],se=z[1],ye=I.properties()[Z.value],Pe=se.value;return typeof ye==typeof Pe&&ye<=Pe}],"filter-id-<=":[Vn,[Gn],function(I,z){var Z=z[0],se=I.id(),ye=Z.value;return typeof se==typeof ye&&se<=ye}],"filter->=":[Vn,[nn,Gn],function(I,z){var Z=z[0],se=z[1],ye=I.properties()[Z.value],Pe=se.value;return typeof ye==typeof Pe&&ye>=Pe}],"filter-id->=":[Vn,[Gn],function(I,z){var Z=z[0],se=I.id(),ye=Z.value;return typeof se==typeof ye&&se>=ye}],"filter-has":[Vn,[Gn],function(I,z){var Z=z[0];return Z.value in I.properties()}],"filter-has-id":[Vn,[],function(I){return I.id()!==null&&I.id()!==void 0}],"filter-type-in":[Vn,[Ua(nn)],function(I,z){var Z=z[0];return Z.value.indexOf(I.geometryType())>=0}],"filter-id-in":[Vn,[Ua(Gn)],function(I,z){var Z=z[0];return Z.value.indexOf(I.id())>=0}],"filter-in-small":[Vn,[nn,Ua(Gn)],function(I,z){var Z=z[0],se=z[1];return se.value.indexOf(I.properties()[Z.value])>=0}],"filter-in-large":[Vn,[nn,Ua(Gn)],function(I,z){var Z=z[0],se=z[1];return Mf(I.properties()[Z.value],se.value,0,se.value.length-1)}],all:{type:Vn,overloads:[[[Vn,Vn],function(I,z){var Z=z[0],se=z[1];return Z.evaluate(I)&&se.evaluate(I)}],[Sl(Vn),function(I,z){for(var Z=0,se=z;Z-1}function Eu(I){return!!I.expression&&I.expression.interpolated}function no(I){return I instanceof Number?"number":I instanceof String?"string":I instanceof Boolean?"boolean":Array.isArray(I)?"array":I===null?"null":typeof I}function Fl(I){return typeof I=="object"&&I!==null&&!Array.isArray(I)}function lu(I){return I}function Ef(I,z){var Z=z.type==="color",se=I.stops&&typeof I.stops[0][0]=="object",ye=se||I.property!==void 0,Pe=se||!ye,Oe=I.type||(Eu(z)?"exponential":"interval");if(Z&&(I=Bn({},I),I.stops&&(I.stops=I.stops.map(function(Ba){return[Ba[0],Vi.parse(Ba[1])]})),I.default?I.default=Vi.parse(I.default):I.default=Vi.parse(z.default)),I.colorSpace&&I.colorSpace!=="rgb"&&!Cc[I.colorSpace])throw new Error("Unknown color space: "+I.colorSpace);var st,At,zt;if(Oe==="exponential")st=Zu;else if(Oe==="interval")st=uf;else if(Oe==="categorical"){st=Xc,At=Object.create(null);for(var Ot=0,ar=I.stops;Ot=I.stops[se-1][0])return I.stops[se-1][1];var ye=Rl(I.stops.map(function(Pe){return Pe[0]}),Z);return I.stops[ye][1]}function Zu(I,z,Z){var se=I.base!==void 0?I.base:1;if(no(Z)!=="number")return ku(I.default,z.default);var ye=I.stops.length;if(ye===1||Z<=I.stops[0][0])return I.stops[0][1];if(Z>=I.stops[ye-1][0])return I.stops[ye-1][1];var Pe=Rl(I.stops.map(function(ar){return ar[0]}),Z),Oe=qf(Z,se,I.stops[Pe][0],I.stops[Pe+1][0]),st=I.stops[Pe][1],At=I.stops[Pe+1][1],zt=au[z.type]||lu;if(I.colorSpace&&I.colorSpace!=="rgb"){var Ot=Cc[I.colorSpace];zt=function(ar,Mr){return Ot.reverse(Ot.interpolate(Ot.forward(ar),Ot.forward(Mr),Oe))}}return typeof st.evaluate=="function"?{evaluate:function(){for(var Mr=[],yr=arguments.length;yr--;)Mr[yr]=arguments[yr];var Zr=st.evaluate.apply(void 0,Mr),un=At.evaluate.apply(void 0,Mr);if(!(Zr===void 0||un===void 0))return zt(Zr,un,Oe)}}:zt(st,At,Oe)}function Qf(I,z,Z){return z.type==="color"?Z=Vi.parse(Z):z.type==="formatted"?Z=Qo.fromString(Z.toString()):z.type==="resolvedImage"?Z=Ts.fromString(Z.toString()):no(Z)!==z.type&&(z.type!=="enum"||!z.values[Z])&&(Z=void 0),ku(Z,I.default,z.default)}function qf(I,z,Z,se){var ye=se-Z,Pe=I-Z;return ye===0?0:z===1?Pe/ye:(Math.pow(z,Pe)-1)/(Math.pow(z,ye)-1)}var Bl=function(z,Z){this.expression=z,this._warningHistory={},this._evaluator=new Dl,this._defaultValue=Z?Be(Z):null,this._enumValues=Z&&Z.type==="enum"?Z.values:null};Bl.prototype.evaluateWithoutErrorHandling=function(z,Z,se,ye,Pe,Oe){return this._evaluator.globals=z,this._evaluator.feature=Z,this._evaluator.featureState=se,this._evaluator.canonical=ye,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},Bl.prototype.evaluate=function(z,Z,se,ye,Pe,Oe){this._evaluator.globals=z,this._evaluator.feature=Z||null,this._evaluator.featureState=se||null,this._evaluator.canonical=ye,this._evaluator.availableImages=Pe||null,this._evaluator.formattedSection=Oe||null;try{var st=this.expression.evaluate(this._evaluator);if(st==null||typeof st=="number"&&st!==st)return this._defaultValue;if(this._enumValues&&!(st in this._enumValues))throw new ts("Expected value to be one of "+Object.keys(this._enumValues).map(function(At){return JSON.stringify(At)}).join(", ")+", but found "+JSON.stringify(st)+" instead.");return st}catch(At){return this._warningHistory[At.message]||(this._warningHistory[At.message]=!0,typeof console<"u"&&console.warn(At.message)),this._defaultValue}};function Lu(I){return Array.isArray(I)&&I.length>0&&typeof I[0]=="string"&&I[0]in Xl}function ju(I,z){var Z=new yl(Xl,[],z?Le(z):void 0),se=Z.parse(I,void 0,void 0,void 0,z&&z.type==="string"?{typeAnnotation:"coerce"}:void 0);return se?Cf(new Bl(se,z)):su(Z.errors)}var uu=function(z,Z){this.kind=z,this._styleExpression=Z,this.isStateDependent=z!=="constant"&&!Nu(Z.expression)};uu.prototype.evaluateWithoutErrorHandling=function(z,Z,se,ye,Pe,Oe){return this._styleExpression.evaluateWithoutErrorHandling(z,Z,se,ye,Pe,Oe)},uu.prototype.evaluate=function(z,Z,se,ye,Pe,Oe){return this._styleExpression.evaluate(z,Z,se,ye,Pe,Oe)};var Os=function(z,Z,se,ye){this.kind=z,this.zoomStops=se,this._styleExpression=Z,this.isStateDependent=z!=="camera"&&!Nu(Z.expression),this.interpolationType=ye};Os.prototype.evaluateWithoutErrorHandling=function(z,Z,se,ye,Pe,Oe){return this._styleExpression.evaluateWithoutErrorHandling(z,Z,se,ye,Pe,Oe)},Os.prototype.evaluate=function(z,Z,se,ye,Pe,Oe){return this._styleExpression.evaluate(z,Z,se,ye,Pe,Oe)},Os.prototype.interpolationFactor=function(z,Z,se){return this.interpolationType?jo.interpolationFactor(this.interpolationType,z,Z,se):0};function il(I,z){if(I=ju(I,z),I.result==="error")return I;var Z=I.value.expression,se=nl(Z);if(!se&&!jr(z))return su([new Yn("","data expressions not supported")]);var ye=vs(Z,["zoom"]);if(!ye&&!Jf(z))return su([new Yn("","zoom expressions not supported")]);var Pe=jt(Z);if(!Pe&&!ye)return su([new Yn("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Pe instanceof Yn)return su([Pe]);if(Pe instanceof jo&&!Eu(z))return su([new Yn("",'"interpolate" expressions cannot be used with this property')]);if(!Pe)return Cf(se?new uu("constant",I.value):new uu("source",I.value));var Oe=Pe instanceof jo?Pe.interpolation:void 0;return Cf(se?new Os("camera",I.value,Pe.labels,Oe):new Os("composite",I.value,Pe.labels,Oe))}var Ml=function(z,Z){this._parameters=z,this._specification=Z,Bn(this,Ef(this._parameters,this._specification))};Ml.deserialize=function(z){return new Ml(z._parameters,z._specification)},Ml.serialize=function(z){return{_parameters:z._parameters,_specification:z._specification}};function ec(I,z){if(Fl(I))return new Ml(I,z);if(Lu(I)){var Z=il(I,z);if(Z.result==="error")throw new Error(Z.value.map(function(ye){return ye.key+": "+ye.message}).join(", "));return Z.value}else{var se=I;return typeof I=="string"&&z.type==="color"&&(se=Vi.parse(I)),{kind:"constant",evaluate:function(){return se}}}}function jt(I){var z=null;if(I instanceof bl)z=jt(I.result);else if(I instanceof ms)for(var Z=0,se=I.args;Zse.maximum?[new Gr(z,Z,Z+" is greater than the maximum value "+se.maximum)]:[]}function Zt(I){var z=I.valueSpec,Z=Nn(I.value.type),se,ye={},Pe,Oe,st=Z!=="categorical"&&I.value.property===void 0,At=!st,zt=no(I.value.stops)==="array"&&no(I.value.stops[0])==="array"&&no(I.value.stops[0][0])==="object",Ot=Ve({key:I.key,value:I.value,valueSpec:I.styleSpec.function,style:I.style,styleSpec:I.styleSpec,objectElementValidators:{stops:ar,default:Zr}});return Z==="identity"&&st&&Ot.push(new Gr(I.key,I.value,'missing required property "property"')),Z!=="identity"&&!I.value.stops&&Ot.push(new Gr(I.key,I.value,'missing required property "stops"')),Z==="exponential"&&I.valueSpec.expression&&!Eu(I.valueSpec)&&Ot.push(new Gr(I.key,I.value,"exponential functions not supported")),I.styleSpec.$version>=8&&(At&&!jr(I.valueSpec)?Ot.push(new Gr(I.key,I.value,"property functions not supported")):st&&!Jf(I.valueSpec)&&Ot.push(new Gr(I.key,I.value,"zoom functions not supported"))),(Z==="categorical"||zt)&&I.value.property===void 0&&Ot.push(new Gr(I.key,I.value,'"property" property is required')),Ot;function ar(un){if(Z==="identity")return[new Gr(un.key,un.value,'identity function may not have a "stops" property')];var _n=[],Ln=un.value;return _n=_n.concat(nt({key:un.key,value:Ln,valueSpec:un.valueSpec,style:un.style,styleSpec:un.styleSpec,arrayElementValidator:Mr})),no(Ln)==="array"&&Ln.length===0&&_n.push(new Gr(un.key,Ln,"array must have at least one stop")),_n}function Mr(un){var _n=[],Ln=un.value,ia=un.key;if(no(Ln)!=="array")return[new Gr(ia,Ln,"array expected, "+no(Ln)+" found")];if(Ln.length!==2)return[new Gr(ia,Ln,"array length 2 expected, length "+Ln.length+" found")];if(zt){if(no(Ln[0])!=="object")return[new Gr(ia,Ln,"object expected, "+no(Ln[0])+" found")];if(Ln[0].zoom===void 0)return[new Gr(ia,Ln,"object stop key must have zoom")];if(Ln[0].value===void 0)return[new Gr(ia,Ln,"object stop key must have value")];if(Oe&&Oe>Nn(Ln[0].zoom))return[new Gr(ia,Ln[0].zoom,"stop zoom values must appear in ascending order")];Nn(Ln[0].zoom)!==Oe&&(Oe=Nn(Ln[0].zoom),Pe=void 0,ye={}),_n=_n.concat(Ve({key:ia+"[0]",value:Ln[0],valueSpec:{zoom:{}},style:un.style,styleSpec:un.styleSpec,objectElementValidators:{zoom:Lt,value:yr}}))}else _n=_n.concat(yr({key:ia+"[0]",value:Ln[0],valueSpec:{},style:un.style,styleSpec:un.styleSpec},Ln));return Lu(ta(Ln[1]))?_n.concat([new Gr(ia+"[1]",Ln[1],"expressions are not allowed in function stops.")]):_n.concat(Sr({key:ia+"[1]",value:Ln[1],valueSpec:z,style:un.style,styleSpec:un.styleSpec}))}function yr(un,_n){var Ln=no(un.value),ia=Nn(un.value),Kn=un.value!==null?un.value:_n;if(!se)se=Ln;else if(Ln!==se)return[new Gr(un.key,Kn,Ln+" stop domain type must match previous stop domain type "+se)];if(Ln!=="number"&&Ln!=="string"&&Ln!=="boolean")return[new Gr(un.key,Kn,"stop domain value must be a number, string, or boolean")];if(Ln!=="number"&&Z!=="categorical"){var ra="number expected, "+Ln+" found";return jr(z)&&Z===void 0&&(ra+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Gr(un.key,Kn,ra)]}return Z==="categorical"&&Ln==="number"&&(!isFinite(ia)||Math.floor(ia)!==ia)?[new Gr(un.key,Kn,"integer expected, found "+ia)]:Z!=="categorical"&&Ln==="number"&&Pe!==void 0&&ia=2&&I[1]!=="$id"&&I[1]!=="$type";case"in":return I.length>=3&&(typeof I[1]!="string"||Array.isArray(I[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return I.length!==3||Array.isArray(I[1])||Array.isArray(I[2]);case"any":case"all":for(var z=0,Z=I.slice(1);zz?1:0}function ri(I){if(!Array.isArray(I))return!1;if(I[0]==="within")return!0;for(var z=1;z"||z==="<="||z===">="?Ti(I[1],I[2],z):z==="any"?_i(I.slice(1)):z==="all"?["all"].concat(I.slice(1).map(Ka)):z==="none"?["all"].concat(I.slice(1).map(Ka).map(ao)):z==="in"?Li(I[1],I.slice(2)):z==="!in"?ao(Li(I[1],I.slice(2))):z==="has"?Xi(I[1]):z==="!has"?ao(Xi(I[1])):z==="within"?I:!0;return Z}function Ti(I,z,Z){switch(I){case"$type":return["filter-type-"+Z,z];case"$id":return["filter-id-"+Z,z];default:return["filter-"+Z,I,z]}}function _i(I){return["any"].concat(I.map(Ka))}function Li(I,z){if(z.length===0)return!1;switch(I){case"$type":return["filter-type-in",["literal",z]];case"$id":return["filter-id-in",["literal",z]];default:return z.length>200&&!z.some(function(Z){return typeof Z!=typeof z[0]})?["filter-in-large",I,["literal",z.sort(Ra)]]:["filter-in-small",I,["literal",z]]}}function Xi(I){switch(I){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",I]}}function ao(I){return["!",I]}function Eo(I){return Jn(ta(I.value))?hr(Bn({},I,{expressionContext:"filter",valueSpec:{value:"boolean"}})):io(I)}function io(I){var z=I.value,Z=I.key;if(no(z)!=="array")return[new Gr(Z,z,"array expected, "+no(z)+" found")];var se=I.styleSpec,ye,Pe=[];if(z.length<1)return[new Gr(Z,z,"filter array must have at least 1 element")];switch(Pe=Pe.concat(Dn({key:Z+"[0]",value:z[0],valueSpec:se.filter_operator,style:I.style,styleSpec:I.styleSpec})),Nn(z[0])){case"<":case"<=":case">":case">=":z.length>=2&&Nn(z[1])==="$type"&&Pe.push(new Gr(Z,z,'"$type" cannot be use with operator "'+z[0]+'"'));case"==":case"!=":z.length!==3&&Pe.push(new Gr(Z,z,'filter array for operator "'+z[0]+'" must have 3 elements'));case"in":case"!in":z.length>=2&&(ye=no(z[1]),ye!=="string"&&Pe.push(new Gr(Z+"[1]",z[1],"string expected, "+ye+" found")));for(var Oe=2;Oe=Ot[yr+0]&&se>=Ot[yr+1])?(Oe[Mr]=!0,Pe.push(zt[Mr])):Oe[Mr]=!1}}},Si.prototype._forEachCell=function(I,z,Z,se,ye,Pe,Oe,st){for(var At=this._convertToCellCoord(I),zt=this._convertToCellCoord(z),Ot=this._convertToCellCoord(Z),ar=this._convertToCellCoord(se),Mr=At;Mr<=Ot;Mr++)for(var yr=zt;yr<=ar;yr++){var Zr=this.d*yr+Mr;if(!(st&&!st(this._convertFromCellCoord(Mr),this._convertFromCellCoord(yr),this._convertFromCellCoord(Mr+1),this._convertFromCellCoord(yr+1)))&&ye.call(this,I,z,Z,se,Zr,Pe,Oe,st))return}},Si.prototype._convertFromCellCoord=function(I){return(I-this.padding)/this.scale},Si.prototype._convertToCellCoord=function(I){return Math.max(0,Math.min(this.d-1,Math.floor(I*this.scale)+this.padding))},Si.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var I=this.cells,z=Ai+this.cells.length+1+1,Z=0,se=0;se=0)){var ar=I[Ot];zt[Ot]=mo[At].shallow.indexOf(Ot)>=0?ar:dt(ar,z)}I instanceof Error&&(zt.message=I.message)}if(zt.$name)throw new Error("$name property is reserved for worker serialization logic.");return At!=="Object"&&(zt.$name=At),zt}throw new Error("can't serialize object of type "+typeof I)}function mt(I){if(I==null||typeof I=="boolean"||typeof I=="number"||typeof I=="string"||I instanceof Boolean||I instanceof Number||I instanceof String||I instanceof Date||I instanceof RegExp||Ke(I)||ft(I)||ArrayBuffer.isView(I)||I instanceof eo)return I;if(Array.isArray(I))return I.map(mt);if(typeof I=="object"){var z=I.$name||"Object",Z=mo[z],se=Z.klass;if(!se)throw new Error("can't deserialize unregistered class "+z);if(se.deserialize)return se.deserialize(I);for(var ye=Object.create(se.prototype),Pe=0,Oe=Object.keys(I);Pe=0?At:mt(At)}}return ye}throw new Error("can't deserialize object of type "+typeof I)}var Nt=function(){this.first=!0};Nt.prototype.update=function(z,Z){var se=Math.floor(z);return this.first?(this.first=!1,this.lastIntegerZoom=se,this.lastIntegerZoomTime=0,this.lastZoom=z,this.lastFloorZoom=se,!0):(this.lastFloorZoom>se?(this.lastIntegerZoom=se+1,this.lastIntegerZoomTime=Z):this.lastFloorZoom=128&&I<=255},Arabic:function(I){return I>=1536&&I<=1791},"Arabic Supplement":function(I){return I>=1872&&I<=1919},"Arabic Extended-A":function(I){return I>=2208&&I<=2303},"Hangul Jamo":function(I){return I>=4352&&I<=4607},"Unified Canadian Aboriginal Syllabics":function(I){return I>=5120&&I<=5759},Khmer:function(I){return I>=6016&&I<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(I){return I>=6320&&I<=6399},"General Punctuation":function(I){return I>=8192&&I<=8303},"Letterlike Symbols":function(I){return I>=8448&&I<=8527},"Number Forms":function(I){return I>=8528&&I<=8591},"Miscellaneous Technical":function(I){return I>=8960&&I<=9215},"Control Pictures":function(I){return I>=9216&&I<=9279},"Optical Character Recognition":function(I){return I>=9280&&I<=9311},"Enclosed Alphanumerics":function(I){return I>=9312&&I<=9471},"Geometric Shapes":function(I){return I>=9632&&I<=9727},"Miscellaneous Symbols":function(I){return I>=9728&&I<=9983},"Miscellaneous Symbols and Arrows":function(I){return I>=11008&&I<=11263},"CJK Radicals Supplement":function(I){return I>=11904&&I<=12031},"Kangxi Radicals":function(I){return I>=12032&&I<=12255},"Ideographic Description Characters":function(I){return I>=12272&&I<=12287},"CJK Symbols and Punctuation":function(I){return I>=12288&&I<=12351},Hiragana:function(I){return I>=12352&&I<=12447},Katakana:function(I){return I>=12448&&I<=12543},Bopomofo:function(I){return I>=12544&&I<=12591},"Hangul Compatibility Jamo":function(I){return I>=12592&&I<=12687},Kanbun:function(I){return I>=12688&&I<=12703},"Bopomofo Extended":function(I){return I>=12704&&I<=12735},"CJK Strokes":function(I){return I>=12736&&I<=12783},"Katakana Phonetic Extensions":function(I){return I>=12784&&I<=12799},"Enclosed CJK Letters and Months":function(I){return I>=12800&&I<=13055},"CJK Compatibility":function(I){return I>=13056&&I<=13311},"CJK Unified Ideographs Extension A":function(I){return I>=13312&&I<=19903},"Yijing Hexagram Symbols":function(I){return I>=19904&&I<=19967},"CJK Unified Ideographs":function(I){return I>=19968&&I<=40959},"Yi Syllables":function(I){return I>=40960&&I<=42127},"Yi Radicals":function(I){return I>=42128&&I<=42191},"Hangul Jamo Extended-A":function(I){return I>=43360&&I<=43391},"Hangul Syllables":function(I){return I>=44032&&I<=55215},"Hangul Jamo Extended-B":function(I){return I>=55216&&I<=55295},"Private Use Area":function(I){return I>=57344&&I<=63743},"CJK Compatibility Ideographs":function(I){return I>=63744&&I<=64255},"Arabic Presentation Forms-A":function(I){return I>=64336&&I<=65023},"Vertical Forms":function(I){return I>=65040&&I<=65055},"CJK Compatibility Forms":function(I){return I>=65072&&I<=65103},"Small Form Variants":function(I){return I>=65104&&I<=65135},"Arabic Presentation Forms-B":function(I){return I>=65136&&I<=65279},"Halfwidth and Fullwidth Forms":function(I){return I>=65280&&I<=65519}};function rr(I){for(var z=0,Z=I;z=65097&&I<=65103)||St["CJK Compatibility Ideographs"](I)||St["CJK Compatibility"](I)||St["CJK Radicals Supplement"](I)||St["CJK Strokes"](I)||St["CJK Symbols and Punctuation"](I)&&!(I>=12296&&I<=12305)&&!(I>=12308&&I<=12319)&&I!==12336||St["CJK Unified Ideographs Extension A"](I)||St["CJK Unified Ideographs"](I)||St["Enclosed CJK Letters and Months"](I)||St["Hangul Compatibility Jamo"](I)||St["Hangul Jamo Extended-A"](I)||St["Hangul Jamo Extended-B"](I)||St["Hangul Jamo"](I)||St["Hangul Syllables"](I)||St.Hiragana(I)||St["Ideographic Description Characters"](I)||St.Kanbun(I)||St["Kangxi Radicals"](I)||St["Katakana Phonetic Extensions"](I)||St.Katakana(I)&&I!==12540||St["Halfwidth and Fullwidth Forms"](I)&&I!==65288&&I!==65289&&I!==65293&&!(I>=65306&&I<=65310)&&I!==65339&&I!==65341&&I!==65343&&!(I>=65371&&I<=65503)&&I!==65507&&!(I>=65512&&I<=65519)||St["Small Form Variants"](I)&&!(I>=65112&&I<=65118)&&!(I>=65123&&I<=65126)||St["Unified Canadian Aboriginal Syllabics"](I)||St["Unified Canadian Aboriginal Syllabics Extended"](I)||St["Vertical Forms"](I)||St["Yijing Hexagram Symbols"](I)||St["Yi Syllables"](I)||St["Yi Radicals"](I))}function Tn(I){return!!(St["Latin-1 Supplement"](I)&&(I===167||I===169||I===174||I===177||I===188||I===189||I===190||I===215||I===247)||St["General Punctuation"](I)&&(I===8214||I===8224||I===8225||I===8240||I===8241||I===8251||I===8252||I===8258||I===8263||I===8264||I===8265||I===8273)||St["Letterlike Symbols"](I)||St["Number Forms"](I)||St["Miscellaneous Technical"](I)&&(I>=8960&&I<=8967||I>=8972&&I<=8991||I>=8996&&I<=9e3||I===9003||I>=9085&&I<=9114||I>=9150&&I<=9165||I===9167||I>=9169&&I<=9179||I>=9186&&I<=9215)||St["Control Pictures"](I)&&I!==9251||St["Optical Character Recognition"](I)||St["Enclosed Alphanumerics"](I)||St["Geometric Shapes"](I)||St["Miscellaneous Symbols"](I)&&!(I>=9754&&I<=9759)||St["Miscellaneous Symbols and Arrows"](I)&&(I>=11026&&I<=11055||I>=11088&&I<=11097||I>=11192&&I<=11243)||St["CJK Symbols and Punctuation"](I)||St.Katakana(I)||St["Private Use Area"](I)||St["CJK Compatibility Forms"](I)||St["Small Form Variants"](I)||St["Halfwidth and Fullwidth Forms"](I)||I===8734||I===8756||I===8757||I>=9984&&I<=10087||I>=10102&&I<=10131||I===65532||I===65533)}function Pn(I){return!(Jr(I)||Tn(I))}function rn(I){return St.Arabic(I)||St["Arabic Supplement"](I)||St["Arabic Extended-A"](I)||St["Arabic Presentation Forms-A"](I)||St["Arabic Presentation Forms-B"](I)}function fn(I){return I>=1424&&I<=2303||St["Arabic Presentation Forms-A"](I)||St["Arabic Presentation Forms-B"](I)}function bn(I,z){return!(!z&&fn(I)||I>=2304&&I<=3583||I>=3840&&I<=4255||St.Khmer(I))}function Rn(I){for(var z=0,Z=I;z-1&&(Ca=xn.error),xa&&xa(I)};function oi(){ii.fire(new or("pluginStateChange",{pluginStatus:Ca,pluginURL:Ia}))}var ii=new Tr,Fi=function(){return Ca},di=function(I){return I({pluginStatus:Ca,pluginURL:Ia}),ii.on("pluginStateChange",I),I},Pi=function(I,z,Z){if(Z===void 0&&(Z=!1),Ca===xn.deferred||Ca===xn.loading||Ca===xn.loaded)throw new Error("setRTLTextPlugin cannot be called multiple times.");Ia=fe.resolveURL(I),Ca=xn.deferred,xa=z,oi(),Z||oo()},oo=function(){if(Ca!==xn.deferred||!Ia)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Ca=xn.loading,oi(),Ia&&wt({url:Ia},function(I){I?Ga(I):(Ca=xn.loaded,oi())})},so={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return Ca===xn.loaded||so.applyArabicShaping!=null},isLoading:function(){return Ca===xn.loading},setState:function(z){Ca=z.pluginStatus,Ia=z.pluginURL},isParsed:function(){return so.applyArabicShaping!=null&&so.processBidirectionalText!=null&&so.processStyledBidirectionalText!=null},getPluginURL:function(){return Ia}},Ao=function(){!so.isLoading()&&!so.isLoaded()&&Fi()==="deferred"&&oo()},Ta=function(z,Z){this.zoom=z,Z?(this.now=Z.now,this.fadeDuration=Z.fadeDuration,this.zoomHistory=Z.zoomHistory,this.transition=Z.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Nt,this.transition={})};Ta.prototype.isSupportedScript=function(z){return Hn(z,so.isLoaded())},Ta.prototype.crossFadingFactor=function(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},Ta.prototype.getCrossfadeParameters=function(){var z=this.zoom,Z=z-Math.floor(z),se=this.crossFadingFactor();return z>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:Z+(1-Z)*se}:{fromScale:.5,toScale:1,t:1-(1-se)*Z}};var Di=function(z,Z){this.property=z,this.value=Z,this.expression=ec(Z===void 0?z.specification.default:Z,z.specification)};Di.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},Di.prototype.possiblyEvaluate=function(z,Z,se){return this.property.possiblyEvaluate(this,z,Z,se)};var Ei=function(z){this.property=z,this.value=new Di(z,void 0)};Ei.prototype.transitioned=function(z,Z){return new Go(this.property,this.value,Z,l({},z.transition,this.transition),z.now)},Ei.prototype.untransitioned=function(){return new Go(this.property,this.value,null,{},0)};var ji=function(z){this._properties=z,this._values=Object.create(z.defaultTransitionablePropertyValues)};ji.prototype.getValue=function(z){return w(this._values[z].value.value)},ji.prototype.setValue=function(z,Z){this._values.hasOwnProperty(z)||(this._values[z]=new Ei(this._values[z].property)),this._values[z].value=new Di(this._values[z].property,Z===null?void 0:w(Z))},ji.prototype.getTransition=function(z){return w(this._values[z].transition)},ji.prototype.setTransition=function(z,Z){this._values.hasOwnProperty(z)||(this._values[z]=new Ei(this._values[z].property)),this._values[z].transition=w(Z)||void 0},ji.prototype.serialize=function(){for(var z={},Z=0,se=Object.keys(this._values);Zthis.end)return this.prior=null,Pe;if(this.value.isDataDriven())return this.prior=null,Pe;if(yeOe.zoomHistory.lastIntegerZoom?{from:se,to:ye}:{from:Pe,to:ye}},z.prototype.interpolate=function(se){return se},z}(vi),fs=function(z){this.specification=z};fs.prototype.possiblyEvaluate=function(z,Z,se,ye){if(z.value!==void 0)if(z.expression.kind==="constant"){var Pe=z.expression.evaluate(Z,null,{},se,ye);return this._calculate(Pe,Pe,Pe,Z)}else return this._calculate(z.expression.evaluate(new Ta(Math.floor(Z.zoom-1),Z)),z.expression.evaluate(new Ta(Math.floor(Z.zoom),Z)),z.expression.evaluate(new Ta(Math.floor(Z.zoom+1),Z)),Z)},fs.prototype._calculate=function(z,Z,se,ye){var Pe=ye.zoom;return Pe>ye.zoomHistory.lastIntegerZoom?{from:z,to:Z}:{from:se,to:Z}},fs.prototype.interpolate=function(z){return z};var Ol=function(z){this.specification=z};Ol.prototype.possiblyEvaluate=function(z,Z,se,ye){return!!z.expression.evaluate(Z,null,{},se,ye)},Ol.prototype.interpolate=function(){return!1};var ys=function(z){this.properties=z,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(var Z in z){var se=z[Z];se.specification.overridable&&this.overridableProperties.push(Z);var ye=this.defaultPropertyValues[Z]=new Di(se,void 0),Pe=this.defaultTransitionablePropertyValues[Z]=new Ei(se);this.defaultTransitioningPropertyValues[Z]=Pe.untransitioned(),this.defaultPossiblyEvaluatedValues[Z]=ye.possiblyEvaluate({})}};de("DataDrivenProperty",vi),de("DataConstantProperty",ni),de("CrossFadedDataDrivenProperty",Oo),de("CrossFadedProperty",fs),de("ColorRampProperty",Ol);var ol="-transition",$o=function(I){function z(Z,se){if(I.call(this),this.id=Z.id,this.type=Z.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},Z.type!=="custom"&&(Z=Z,this.metadata=Z.metadata,this.minzoom=Z.minzoom,this.maxzoom=Z.maxzoom,Z.type!=="background"&&(this.source=Z.source,this.sourceLayer=Z["source-layer"],this.filter=Z.filter),se.layout&&(this._unevaluatedLayout=new gs(se.layout)),se.paint)){this._transitionablePaint=new ji(se.paint);for(var ye in Z.paint)this.setPaintProperty(ye,Z.paint[ye],{validate:!1});for(var Pe in Z.layout)this.setLayoutProperty(Pe,Z.layout[Pe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Mo(se.paint)}}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},z.prototype.getLayoutProperty=function(se){return se==="visibility"?this.visibility:this._unevaluatedLayout.getValue(se)},z.prototype.setLayoutProperty=function(se,ye,Pe){if(Pe===void 0&&(Pe={}),ye!=null){var Oe="layers."+this.id+".layout."+se;if(this._validate(ja,Oe,se,ye,Pe))return}if(se==="visibility"){this.visibility=ye;return}this._unevaluatedLayout.setValue(se,ye)},z.prototype.getPaintProperty=function(se){return A(se,ol)?this._transitionablePaint.getTransition(se.slice(0,-ol.length)):this._transitionablePaint.getValue(se)},z.prototype.setPaintProperty=function(se,ye,Pe){if(Pe===void 0&&(Pe={}),ye!=null){var Oe="layers."+this.id+".paint."+se;if(this._validate(aa,Oe,se,ye,Pe))return!1}if(A(se,ol))return this._transitionablePaint.setTransition(se.slice(0,-ol.length),ye||void 0),!1;var st=this._transitionablePaint._values[se],At=st.property.specification["property-type"]==="cross-faded-data-driven",zt=st.value.isDataDriven(),Ot=st.value;this._transitionablePaint.setValue(se,ye),this._handleSpecialPaintPropertyUpdate(se);var ar=this._transitionablePaint._values[se].value,Mr=ar.isDataDriven();return Mr||zt||At||this._handleOverridablePaintPropertyUpdate(se,Ot,ar)},z.prototype._handleSpecialPaintPropertyUpdate=function(se){},z.prototype._handleOverridablePaintPropertyUpdate=function(se,ye,Pe){return!1},z.prototype.isHidden=function(se){return this.minzoom&&se=this.maxzoom?!0:this.visibility==="none"},z.prototype.updateTransitions=function(se){this._transitioningPaint=this._transitionablePaint.transitioned(se,this._transitioningPaint)},z.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},z.prototype.recalculate=function(se,ye){se.getCrossfadeParameters&&(this._crossfadeParameters=se.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(se,void 0,ye)),this.paint=this._transitioningPaint.possiblyEvaluate(se,void 0,ye)},z.prototype.serialize=function(){var se={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(se.layout=se.layout||{},se.layout.visibility=this.visibility),k(se,function(ye,Pe){return ye!==void 0&&!(Pe==="layout"&&!Object.keys(ye).length)&&!(Pe==="paint"&&!Object.keys(ye).length)})},z.prototype._validate=function(se,ye,Pe,Oe,st){return st===void 0&&(st={}),st&&st.validate===!1?!1:hi(this,se.call(Zn,{key:ye,layerType:this.type,objectKey:Pe,value:Oe,styleSpec:sr,style:{glyphs:!0,sprite:!0}}))},z.prototype.is3D=function(){return!1},z.prototype.isTileClipped=function(){return!1},z.prototype.hasOffscreenPass=function(){return!1},z.prototype.resize=function(){},z.prototype.isStateDependent=function(){for(var se in this.paint._values){var ye=this.paint.get(se);if(!(!(ye instanceof Bo)||!jr(ye.property.specification))&&(ye.value.kind==="source"||ye.value.kind==="composite")&&ye.value.isStateDependent)return!0}return!1},z}(Tr),$l={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},Do=function(z,Z){this._structArray=z,this._pos1=Z*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},fu=128,Kl=5,Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};Ji.serialize=function(z,Z){return z._trim(),Z&&(z.isTransferred=!0,Z.push(z.arrayBuffer)),{length:z.length,arrayBuffer:z.arrayBuffer}},Ji.deserialize=function(z){var Z=Object.create(this.prototype);return Z.arrayBuffer=z.arrayBuffer,Z.length=z.length,Z.capacity=z.arrayBuffer.byteLength/Z.bytesPerElement,Z._refreshViews(),Z},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(z){this.reserve(z),this.length=z},Ji.prototype.reserve=function(z){if(z>this.capacity){this.capacity=Math.max(z,Math.floor(this.capacity*Kl),fu),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var Z=this.uint8;this._refreshViews(),Z&&this.uint8.set(Z)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};function Io(I,z){z===void 0&&(z=1);var Z=0,se=0,ye=I.map(function(Oe){var st=I0(Oe.type),At=Z=$c(Z,Math.max(z,st)),zt=Oe.components||1;return se=Math.max(se,st),Z+=st*zt,{name:Oe.name,type:Oe.type,components:zt,offset:At}}),Pe=$c(Z,Math.max(se,z));return{members:ye,size:Pe,alignment:z}}function I0(I){return $l[I].BYTES_PER_ELEMENT}function $c(I,z){return Math.ceil(I/z)*z}var z0=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,se,ye)},z.prototype.emplace=function(se,ye,Pe){var Oe=se*2;return this.int16[Oe+0]=ye,this.int16[Oe+1]=Pe,se},z}(Ji);z0.prototype.bytesPerElement=4,de("StructArrayLayout2i4",z0);var kf=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe){var st=this.length;return this.resize(st+1),this.emplace(st,se,ye,Pe,Oe)},z.prototype.emplace=function(se,ye,Pe,Oe,st){var At=se*4;return this.int16[At+0]=ye,this.int16[At+1]=Pe,this.int16[At+2]=Oe,this.int16[At+3]=st,se},z}(Ji);kf.prototype.bytesPerElement=8,de("StructArrayLayout4i8",kf);var F0=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At){var zt=this.length;return this.resize(zt+1),this.emplace(zt,se,ye,Pe,Oe,st,At)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt){var Ot=se*6;return this.int16[Ot+0]=ye,this.int16[Ot+1]=Pe,this.int16[Ot+2]=Oe,this.int16[Ot+3]=st,this.int16[Ot+4]=At,this.int16[Ot+5]=zt,se},z}(Ji);F0.prototype.bytesPerElement=12,de("StructArrayLayout2i4i12",F0);var Fh=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At){var zt=this.length;return this.resize(zt+1),this.emplace(zt,se,ye,Pe,Oe,st,At)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt){var Ot=se*4,ar=se*8;return this.int16[Ot+0]=ye,this.int16[Ot+1]=Pe,this.uint8[ar+4]=Oe,this.uint8[ar+5]=st,this.uint8[ar+6]=At,this.uint8[ar+7]=zt,se},z}(Ji);Fh.prototype.bytesPerElement=8,de("StructArrayLayout2i4ub8",Fh);var cu=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr){var yr=this.length;return this.resize(yr+1),this.emplace(yr,se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr){var Zr=se*9,un=se*18;return this.uint16[Zr+0]=ye,this.uint16[Zr+1]=Pe,this.uint16[Zr+2]=Oe,this.uint16[Zr+3]=st,this.uint16[Zr+4]=At,this.uint16[Zr+5]=zt,this.uint16[Zr+6]=Ot,this.uint16[Zr+7]=ar,this.uint8[un+16]=Mr,this.uint8[un+17]=yr,se},z}(Ji);cu.prototype.bytesPerElement=18,de("StructArrayLayout8ui2ub18",cu);var Kc=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr){var un=this.length;return this.resize(un+1),this.emplace(un,se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un){var _n=se*12;return this.int16[_n+0]=ye,this.int16[_n+1]=Pe,this.int16[_n+2]=Oe,this.int16[_n+3]=st,this.uint16[_n+4]=At,this.uint16[_n+5]=zt,this.uint16[_n+6]=Ot,this.uint16[_n+7]=ar,this.int16[_n+8]=Mr,this.int16[_n+9]=yr,this.int16[_n+10]=Zr,this.int16[_n+11]=un,se},z}(Ji);Kc.prototype.bytesPerElement=24,de("StructArrayLayout4i4ui4i24",Kc);var Bh=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,se,ye,Pe)},z.prototype.emplace=function(se,ye,Pe,Oe){var st=se*3;return this.float32[st+0]=ye,this.float32[st+1]=Pe,this.float32[st+2]=Oe,se},z}(Ji);Bh.prototype.bytesPerElement=12,de("StructArrayLayout3f12",Bh);var Cd=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se){var ye=this.length;return this.resize(ye+1),this.emplace(ye,se)},z.prototype.emplace=function(se,ye){var Pe=se*1;return this.uint32[Pe+0]=ye,se},z}(Ji);Cd.prototype.bytesPerElement=4,de("StructArrayLayout1ul4",Cd);var B0=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At,zt,Ot,ar){var Mr=this.length;return this.resize(Mr+1),this.emplace(Mr,se,ye,Pe,Oe,st,At,zt,Ot,ar)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr){var yr=se*10,Zr=se*5;return this.int16[yr+0]=ye,this.int16[yr+1]=Pe,this.int16[yr+2]=Oe,this.int16[yr+3]=st,this.int16[yr+4]=At,this.int16[yr+5]=zt,this.uint32[Zr+3]=Ot,this.uint16[yr+8]=ar,this.uint16[yr+9]=Mr,se},z}(Ji);B0.prototype.bytesPerElement=20,de("StructArrayLayout6i1ul2ui20",B0);var Qs=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At){var zt=this.length;return this.resize(zt+1),this.emplace(zt,se,ye,Pe,Oe,st,At)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt){var Ot=se*6;return this.int16[Ot+0]=ye,this.int16[Ot+1]=Pe,this.int16[Ot+2]=Oe,this.int16[Ot+3]=st,this.int16[Ot+4]=At,this.int16[Ot+5]=zt,se},z}(Ji);Qs.prototype.bytesPerElement=12,de("StructArrayLayout2i2i2i12",Qs);var tc=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st){var At=this.length;return this.resize(At+1),this.emplace(At,se,ye,Pe,Oe,st)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At){var zt=se*4,Ot=se*8;return this.float32[zt+0]=ye,this.float32[zt+1]=Pe,this.float32[zt+2]=Oe,this.int16[Ot+6]=st,this.int16[Ot+7]=At,se},z}(Ji);tc.prototype.bytesPerElement=16,de("StructArrayLayout2f1f2i16",tc);var Pu=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe){var st=this.length;return this.resize(st+1),this.emplace(st,se,ye,Pe,Oe)},z.prototype.emplace=function(se,ye,Pe,Oe,st){var At=se*12,zt=se*3;return this.uint8[At+0]=ye,this.uint8[At+1]=Pe,this.float32[zt+1]=Oe,this.float32[zt+2]=st,se},z}(Ji);Pu.prototype.bytesPerElement=12,de("StructArrayLayout2ub2f12",Pu);var Ec=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,se,ye,Pe)},z.prototype.emplace=function(se,ye,Pe,Oe){var st=se*3;return this.uint16[st+0]=ye,this.uint16[st+1]=Pe,this.uint16[st+2]=Oe,se},z}(Ji);Ec.prototype.bytesPerElement=6,de("StructArrayLayout3ui6",Ec);var ah=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un,_n,Ln,ia,Kn){var ra=this.length;return this.resize(ra+1),this.emplace(ra,se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un,_n,Ln,ia,Kn)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un,_n,Ln,ia,Kn,ra){var da=se*24,Aa=se*12,Na=se*48;return this.int16[da+0]=ye,this.int16[da+1]=Pe,this.uint16[da+2]=Oe,this.uint16[da+3]=st,this.uint32[Aa+2]=At,this.uint32[Aa+3]=zt,this.uint32[Aa+4]=Ot,this.uint16[da+10]=ar,this.uint16[da+11]=Mr,this.uint16[da+12]=yr,this.float32[Aa+7]=Zr,this.float32[Aa+8]=un,this.uint8[Na+36]=_n,this.uint8[Na+37]=Ln,this.uint8[Na+38]=ia,this.uint32[Aa+10]=Kn,this.int16[da+22]=ra,se},z}(Ji);ah.prototype.bytesPerElement=48,de("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",ah);var Oh=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un,_n,Ln,ia,Kn,ra,da,Aa,Na,Ba,xi,Qa,si,Bi,fi,gi){var Wi=this.length;return this.resize(Wi+1),this.emplace(Wi,se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un,_n,Ln,ia,Kn,ra,da,Aa,Na,Ba,xi,Qa,si,Bi,fi,gi)},z.prototype.emplace=function(se,ye,Pe,Oe,st,At,zt,Ot,ar,Mr,yr,Zr,un,_n,Ln,ia,Kn,ra,da,Aa,Na,Ba,xi,Qa,si,Bi,fi,gi,Wi){var Ri=se*34,yo=se*17;return this.int16[Ri+0]=ye,this.int16[Ri+1]=Pe,this.int16[Ri+2]=Oe,this.int16[Ri+3]=st,this.int16[Ri+4]=At,this.int16[Ri+5]=zt,this.int16[Ri+6]=Ot,this.int16[Ri+7]=ar,this.uint16[Ri+8]=Mr,this.uint16[Ri+9]=yr,this.uint16[Ri+10]=Zr,this.uint16[Ri+11]=un,this.uint16[Ri+12]=_n,this.uint16[Ri+13]=Ln,this.uint16[Ri+14]=ia,this.uint16[Ri+15]=Kn,this.uint16[Ri+16]=ra,this.uint16[Ri+17]=da,this.uint16[Ri+18]=Aa,this.uint16[Ri+19]=Na,this.uint16[Ri+20]=Ba,this.uint16[Ri+21]=xi,this.uint16[Ri+22]=Qa,this.uint32[yo+12]=si,this.float32[yo+13]=Bi,this.float32[yo+14]=fi,this.float32[yo+15]=gi,this.float32[yo+16]=Wi,se},z}(Ji);Oh.prototype.bytesPerElement=68,de("StructArrayLayout8i15ui1ul4f68",Oh);var x0=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se){var ye=this.length;return this.resize(ye+1),this.emplace(ye,se)},z.prototype.emplace=function(se,ye){var Pe=se*1;return this.float32[Pe+0]=ye,se},z}(Ji);x0.prototype.bytesPerElement=4,de("StructArrayLayout1f4",x0);var Ed=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,se,ye,Pe)},z.prototype.emplace=function(se,ye,Pe,Oe){var st=se*3;return this.int16[st+0]=ye,this.int16[st+1]=Pe,this.int16[st+2]=Oe,se},z}(Ji);Ed.prototype.bytesPerElement=6,de("StructArrayLayout3i6",Ed);var Jc=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,se,ye,Pe)},z.prototype.emplace=function(se,ye,Pe,Oe){var st=se*2,At=se*4;return this.uint32[st+0]=ye,this.uint16[At+2]=Pe,this.uint16[At+3]=Oe,se},z}(Ji);Jc.prototype.bytesPerElement=8,de("StructArrayLayout1ul2ui8",Jc);var ih=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,se,ye)},z.prototype.emplace=function(se,ye,Pe){var Oe=se*2;return this.uint16[Oe+0]=ye,this.uint16[Oe+1]=Pe,se},z}(Ji);ih.prototype.bytesPerElement=4,de("StructArrayLayout2ui4",ih);var b0=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se){var ye=this.length;return this.resize(ye+1),this.emplace(ye,se)},z.prototype.emplace=function(se,ye){var Pe=se*1;return this.uint16[Pe+0]=ye,se},z}(Ji);b0.prototype.bytesPerElement=2,de("StructArrayLayout1ui2",b0);var kc=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye){var Pe=this.length;return this.resize(Pe+1),this.emplace(Pe,se,ye)},z.prototype.emplace=function(se,ye,Pe){var Oe=se*2;return this.float32[Oe+0]=ye,this.float32[Oe+1]=Pe,se},z}(Ji);kc.prototype.bytesPerElement=8,de("StructArrayLayout2f8",kc);var kd=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},z.prototype.emplaceBack=function(se,ye,Pe,Oe){var st=this.length;return this.resize(st+1),this.emplace(st,se,ye,Pe,Oe)},z.prototype.emplace=function(se,ye,Pe,Oe,st){var At=se*4;return this.float32[At+0]=ye,this.float32[At+1]=Pe,this.float32[At+2]=Oe,this.float32[At+3]=st,se},z}(Ji);kd.prototype.bytesPerElement=16,de("StructArrayLayout4f16",kd);var nv=function(I){function z(){I.apply(this,arguments)}I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z;var Z={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return Z.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},Z.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},Z.x1.get=function(){return this._structArray.int16[this._pos2+2]},Z.y1.get=function(){return this._structArray.int16[this._pos2+3]},Z.x2.get=function(){return this._structArray.int16[this._pos2+4]},Z.y2.get=function(){return this._structArray.int16[this._pos2+5]},Z.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},Z.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},Z.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},Z.anchorPoint.get=function(){return new r(this.anchorPointX,this.anchorPointY)},Object.defineProperties(z.prototype,Z),z}(Do);nv.prototype.size=20;var Lc=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.get=function(se){return new nv(this,se)},z}(B0);de("CollisionBoxArray",Lc);var Ld=function(I){function z(){I.apply(this,arguments)}I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z;var Z={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return Z.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},Z.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},Z.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},Z.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},Z.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},Z.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},Z.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},Z.segment.get=function(){return this._structArray.uint16[this._pos2+10]},Z.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},Z.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},Z.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},Z.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},Z.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},Z.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},Z.placedOrientation.set=function(se){this._structArray.uint8[this._pos1+37]=se},Z.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},Z.hidden.set=function(se){this._structArray.uint8[this._pos1+38]=se},Z.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},Z.crossTileID.set=function(se){this._structArray.uint32[this._pos4+10]=se},Z.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(z.prototype,Z),z}(Do);Ld.prototype.size=48;var O0=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.get=function(se){return new Ld(this,se)},z}(ah);de("PlacedSymbolArray",O0);var av=function(I){function z(){I.apply(this,arguments)}I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z;var Z={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return Z.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},Z.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},Z.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},Z.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},Z.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},Z.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},Z.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},Z.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},Z.key.get=function(){return this._structArray.uint16[this._pos2+8]},Z.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},Z.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},Z.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},Z.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},Z.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},Z.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},Z.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},Z.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},Z.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},Z.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},Z.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},Z.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},Z.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},Z.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},Z.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},Z.crossTileID.set=function(se){this._structArray.uint32[this._pos4+12]=se},Z.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},Z.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},Z.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},Z.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(z.prototype,Z),z}(Do);av.prototype.size=68;var _h=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.get=function(se){return new av(this,se)},z}(Oh);de("SymbolInstanceArray",_h);var Lf=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.getoffsetX=function(se){return this.float32[se*1+0]},z}(x0);de("GlyphOffsetArray",Lf);var iv=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.getx=function(se){return this.int16[se*3+0]},z.prototype.gety=function(se){return this.int16[se*3+1]},z.prototype.gettileUnitDistanceFromAnchor=function(se){return this.int16[se*3+2]},z}(Ed);de("SymbolLineVertexArray",iv);var ov=function(I){function z(){I.apply(this,arguments)}I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z;var Z={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return Z.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},Z.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},Z.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(z.prototype,Z),z}(Do);ov.prototype.size=8;var Pd=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.get=function(se){return new ov(this,se)},z}(Jc);de("FeatureIndexArray",Pd);var sv=Io([{name:"a_pos",components:2,type:"Int16"}],4),ge=sv.members,$=function(z){z===void 0&&(z=[]),this.segments=z};$.prototype.prepareSegment=function(z,Z,se,ye){var Pe=this.segments[this.segments.length-1];return z>$.MAX_VERTEX_ARRAY_LENGTH&&G("Max vertices per segment is "+$.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+z),(!Pe||Pe.vertexLength+z>$.MAX_VERTEX_ARRAY_LENGTH||Pe.sortKey!==ye)&&(Pe={vertexOffset:Z.length,primitiveOffset:se.length,vertexLength:0,primitiveLength:0},ye!==void 0&&(Pe.sortKey=ye),this.segments.push(Pe)),Pe},$.prototype.get=function(){return this.segments},$.prototype.destroy=function(){for(var z=0,Z=this.segments;z>>16)*At&65535)<<16)&4294967295,Ot=Ot<<15|Ot>>>17,Ot=(Ot&65535)*zt+(((Ot>>>16)*zt&65535)<<16)&4294967295,Oe^=Ot,Oe=Oe<<13|Oe>>>19,st=(Oe&65535)*5+(((Oe>>>16)*5&65535)<<16)&4294967295,Oe=(st&65535)+27492+(((st>>>16)+58964&65535)<<16);switch(Ot=0,ye){case 3:Ot^=(Z.charCodeAt(ar+2)&255)<<16;case 2:Ot^=(Z.charCodeAt(ar+1)&255)<<8;case 1:Ot^=Z.charCodeAt(ar)&255,Ot=(Ot&65535)*At+(((Ot>>>16)*At&65535)<<16)&4294967295,Ot=Ot<<15|Ot>>>17,Ot=(Ot&65535)*zt+(((Ot>>>16)*zt&65535)<<16)&4294967295,Oe^=Ot}return Oe^=Z.length,Oe^=Oe>>>16,Oe=(Oe&65535)*2246822507+(((Oe>>>16)*2246822507&65535)<<16)&4294967295,Oe^=Oe>>>13,Oe=(Oe&65535)*3266489909+(((Oe>>>16)*3266489909&65535)<<16)&4294967295,Oe^=Oe>>>16,Oe>>>0}I.exports=z}),Ge=L(function(I){function z(Z,se){for(var ye=Z.length,Pe=se^ye,Oe=0,st;ye>=4;)st=Z.charCodeAt(Oe)&255|(Z.charCodeAt(++Oe)&255)<<8|(Z.charCodeAt(++Oe)&255)<<16|(Z.charCodeAt(++Oe)&255)<<24,st=(st&65535)*1540483477+(((st>>>16)*1540483477&65535)<<16),st^=st>>>24,st=(st&65535)*1540483477+(((st>>>16)*1540483477&65535)<<16),Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)^st,ye-=4,++Oe;switch(ye){case 3:Pe^=(Z.charCodeAt(Oe+2)&255)<<16;case 2:Pe^=(Z.charCodeAt(Oe+1)&255)<<8;case 1:Pe^=Z.charCodeAt(Oe)&255,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16)}return Pe^=Pe>>>13,Pe=(Pe&65535)*1540483477+(((Pe>>>16)*1540483477&65535)<<16),Pe^=Pe>>>15,Pe>>>0}I.exports=z}),rt=be,xt=be,It=Ge;rt.murmur3=xt,rt.murmur2=It;var tr=function(){this.ids=[],this.positions=[],this.indexed=!1};tr.prototype.add=function(z,Z,se,ye){this.ids.push(Rr(z)),this.positions.push(Z,se,ye)},tr.prototype.getPositions=function(z){for(var Z=Rr(z),se=0,ye=this.ids.length-1;se>1;this.ids[Pe]>=Z?ye=Pe:se=Pe+1}for(var Oe=[];this.ids[se]===Z;){var st=this.positions[3*se],At=this.positions[3*se+1],zt=this.positions[3*se+2];Oe.push({index:st,start:At,end:zt}),se++}return Oe},tr.serialize=function(z,Z){var se=new Float64Array(z.ids),ye=new Uint32Array(z.positions);return Yr(se,ye,0,se.length-1),Z&&Z.push(se.buffer,ye.buffer),{ids:se,positions:ye}},tr.deserialize=function(z){var Z=new tr;return Z.ids=z.ids,Z.positions=z.positions,Z.indexed=!0,Z};var gr=Math.pow(2,53)-1;function Rr(I){var z=+I;return!isNaN(z)&&z<=gr?z:rt(String(I))}function Yr(I,z,Z,se){for(;Z>1],Pe=Z-1,Oe=se+1;;){do Pe++;while(I[Pe]ye);if(Pe>=Oe)break;sn(I,Pe,Oe),sn(z,3*Pe,3*Oe),sn(z,3*Pe+1,3*Oe+1),sn(z,3*Pe+2,3*Oe+2)}Oe-ZSo.max||Oe.ySo.max)&&(G("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Oe.x=u(Oe.x,So.min,So.max),Oe.y=u(Oe.y,So.min,So.max))}return Z}function ro(I,z,Z,se,ye){I.emplaceBack(z*2+(se+1)/2,Z*2+(ye+1)/2)}var _o=function(z){this.zoom=z.zoom,this.overscaling=z.overscaling,this.layers=z.layers,this.layerIds=this.layers.map(function(Z){return Z.id}),this.index=z.index,this.hasPattern=!1,this.layoutVertexArray=new z0,this.indexArray=new Ec,this.segments=new $,this.programConfigurations=new Ii(ge,z.layers,z.zoom),this.stateDependentLayerIds=this.layers.filter(function(Z){return Z.isStateDependent()}).map(function(Z){return Z.id})};_o.prototype.populate=function(z,Z,se){var ye=this.layers[0],Pe=[],Oe=null;ye.type==="circle"&&(Oe=ye.layout.get("circle-sort-key"));for(var st=0,At=z;st=yi||Mr<0||Mr>=yi)){var yr=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,z.sortKey),Zr=yr.vertexLength;ro(this.layoutVertexArray,ar,Mr,-1,-1),ro(this.layoutVertexArray,ar,Mr,1,-1),ro(this.layoutVertexArray,ar,Mr,1,1),ro(this.layoutVertexArray,ar,Mr,-1,1),this.indexArray.emplaceBack(Zr,Zr+1,Zr+2),this.indexArray.emplaceBack(Zr,Zr+3,Zr+2),yr.vertexLength+=4,yr.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,z,se,{},ye)},de("CircleBucket",_o,{omit:["layers"]});function Oi(I,z){for(var Z=0;Z=3){for(var Pe=0;Pe1){if(Xu(I,z))return!0;for(var se=0;se1?I.distSqr(Z):I.distSqr(Z.sub(z)._mult(ye)._add(z))}function ac(I,z){for(var Z=!1,se,ye,Pe,Oe=0;Oez.y!=Pe.y>z.y&&z.x<(Pe.x-ye.x)*(z.y-ye.y)/(Pe.y-ye.y)+ye.x&&(Z=!Z)}return Z}function Cl(I,z){for(var Z=!1,se=0,ye=I.length-1;sez.y!=Oe.y>z.y&&z.x<(Oe.x-Pe.x)*(z.y-Pe.y)/(Oe.y-Pe.y)+Pe.x&&(Z=!Z)}return Z}function Qc(I,z,Z,se,ye){for(var Pe=0,Oe=I;Pe=st.x&&ye>=st.y)return!0}var At=[new r(z,Z),new r(z,ye),new r(se,ye),new r(se,Z)];if(I.length>2)for(var zt=0,Ot=At;ztye.x&&z.x>ye.x||I.yye.y&&z.y>ye.y)return!1;var Pe=_(I,z,Z[0]);return Pe!==_(I,z,Z[1])||Pe!==_(I,z,Z[2])||Pe!==_(I,z,Z[3])}function $u(I,z,Z){var se=z.paint.get(I).value;return se.kind==="constant"?se.value:Z.programConfigurations.get(z.id).getMaxValue(I)}function ic(I){return Math.sqrt(I[0]*I[0]+I[1]*I[1])}function Pf(I,z,Z,se,ye){if(!z[0]&&!z[1])return I;var Pe=r.convert(z)._mult(ye);Z==="viewport"&&Pe._rotate(-se);for(var Oe=[],st=0;st0&&(Pe=1/Math.sqrt(Pe)),I[0]=z[0]*Pe,I[1]=z[1]*Pe,I[2]=z[2]*Pe,I}function Cy(I,z){return I[0]*z[0]+I[1]*z[1]+I[2]*z[2]}function Ey(I,z,Z){var se=z[0],ye=z[1],Pe=z[2],Oe=Z[0],st=Z[1],At=Z[2];return I[0]=ye*At-Pe*st,I[1]=Pe*Oe-se*At,I[2]=se*st-ye*Oe,I}function Wp(I,z,Z){var se=z[0],ye=z[1],Pe=z[2];return I[0]=se*Z[0]+ye*Z[3]+Pe*Z[6],I[1]=se*Z[1]+ye*Z[4]+Pe*Z[7],I[2]=se*Z[2]+ye*Z[5]+Pe*Z[8],I}var ky=fv;(function(){var I=w0();return function(z,Z,se,ye,Pe,Oe){var st,At;for(Z||(Z=3),se||(se=0),ye?At=Math.min(ye*Z+se,z.length):At=z.length,st=se;stI.width||ye.height>I.height||Z.x>I.width-ye.width||Z.y>I.height-ye.height)throw new RangeError("out of range source coordinates for image copy");if(ye.width>z.width||ye.height>z.height||se.x>z.width-ye.width||se.y>z.height-ye.height)throw new RangeError("out of range destination coordinates for image copy");for(var Oe=I.data,st=z.data,At=0;At80*Z){st=zt=I[0],At=Ot=I[1];for(var Zr=Z;Zrzt&&(zt=ar),Mr>Ot&&(Ot=Mr);yr=Math.max(zt-st,Ot-At),yr=yr!==0?1/yr:0}return U0(Pe,Oe,Z,st,At,yr),Oe}function Wh(I,z,Z,se,ye){var Pe,Oe;if(ye===Fy(I,z,Z,se)>0)for(Pe=z;Pe=z;Pe-=se)Oe=t5(Pe,I[Pe],I[Pe+1],Oe);return Oe&&$p(Oe,Oe.next)&&(T1(Oe),Oe=Oe.next),Oe}function cf(I,z){if(!I)return I;z||(z=I);var Z=I,se;do if(se=!1,!Z.steiner&&($p(Z,Z.next)||sl(Z.prev,Z,Z.next)===0)){if(T1(Z),Z=z=Z.prev,Z===Z.next)break;se=!0}else Z=Z.next;while(se||Z!==z);return z}function U0(I,z,Z,se,ye,Pe,Oe){if(I){!Oe&&Pe&&YA(I,se,ye,Pe);for(var st=I,At,zt;I.prev!==I.next;){if(At=I.prev,zt=I.next,Pe?jp(I,se,ye,Pe):Zp(I)){z.push(At.i/Z),z.push(I.i/Z),z.push(zt.i/Z),T1(I),I=zt.next,st=zt.next;continue}if(I=zt,I===st){Oe?Oe===1?(I=Xp(cf(I),z,Z),U0(I,z,Z,se,ye,Pe,2)):Oe===2&&NA(I,z,Z,se,ye,Pe):U0(cf(I),z,Z,se,ye,Pe,1);break}}}}function Zp(I){var z=I.prev,Z=I,se=I.next;if(sl(z,Z,se)>=0)return!1;for(var ye=I.next.next;ye!==I.prev;){if(hv(z.x,z.y,Z.x,Z.y,se.x,se.y,ye.x,ye.y)&&sl(ye.prev,ye,ye.next)>=0)return!1;ye=ye.next}return!0}function jp(I,z,Z,se){var ye=I.prev,Pe=I,Oe=I.next;if(sl(ye,Pe,Oe)>=0)return!1;for(var st=ye.xPe.x?ye.x>Oe.x?ye.x:Oe.x:Pe.x>Oe.x?Pe.x:Oe.x,Ot=ye.y>Pe.y?ye.y>Oe.y?ye.y:Oe.y:Pe.y>Oe.y?Pe.y:Oe.y,ar=Iy(st,At,z,Z,se),Mr=Iy(zt,Ot,z,Z,se),yr=I.prevZ,Zr=I.nextZ;yr&&yr.z>=ar&&Zr&&Zr.z<=Mr;){if(yr!==I.prev&&yr!==I.next&&hv(ye.x,ye.y,Pe.x,Pe.y,Oe.x,Oe.y,yr.x,yr.y)&&sl(yr.prev,yr,yr.next)>=0||(yr=yr.prevZ,Zr!==I.prev&&Zr!==I.next&&hv(ye.x,ye.y,Pe.x,Pe.y,Oe.x,Oe.y,Zr.x,Zr.y)&&sl(Zr.prev,Zr,Zr.next)>=0))return!1;Zr=Zr.nextZ}for(;yr&&yr.z>=ar;){if(yr!==I.prev&&yr!==I.next&&hv(ye.x,ye.y,Pe.x,Pe.y,Oe.x,Oe.y,yr.x,yr.y)&&sl(yr.prev,yr,yr.next)>=0)return!1;yr=yr.prevZ}for(;Zr&&Zr.z<=Mr;){if(Zr!==I.prev&&Zr!==I.next&&hv(ye.x,ye.y,Pe.x,Pe.y,Oe.x,Oe.y,Zr.x,Zr.y)&&sl(Zr.prev,Zr,Zr.next)>=0)return!1;Zr=Zr.nextZ}return!0}function Xp(I,z,Z){var se=I;do{var ye=se.prev,Pe=se.next.next;!$p(ye,Pe)&&q4(ye,se,se.next,Pe)&&w1(ye,Pe)&&w1(Pe,ye)&&(z.push(ye.i/Z),z.push(se.i/Z),z.push(Pe.i/Z),T1(se),T1(se.next),se=I=Pe),se=se.next}while(se!==I);return cf(se)}function NA(I,z,Z,se,ye,Pe){var Oe=I;do{for(var st=Oe.next.next;st!==Oe.prev;){if(Oe.i!==st.i&&XA(Oe,st)){var At=e5(Oe,st);Oe=cf(Oe,Oe.next),At=cf(At,At.next),U0(Oe,z,Z,se,ye,Pe),U0(At,z,Z,se,ye,Pe);return}st=st.next}Oe=Oe.next}while(Oe!==I)}function UA(I,z,Z,se){var ye=[],Pe,Oe,st,At,zt;for(Pe=0,Oe=z.length;Pe=Z.next.y&&Z.next.y!==Z.y){var st=Z.x+(ye-Z.y)*(Z.next.x-Z.x)/(Z.next.y-Z.y);if(st<=se&&st>Pe){if(Pe=st,st===se){if(ye===Z.y)return Z;if(ye===Z.next.y)return Z.next}Oe=Z.x=Z.x&&Z.x>=zt&&se!==Z.x&&hv(yeOe.x||Z.x===Oe.x&&WA(Oe,Z)))&&(Oe=Z,ar=Mr)),Z=Z.next;while(Z!==At);return Oe}function WA(I,z){return sl(I.prev,I,z.prev)<0&&sl(z.next,I,I.next)<0}function YA(I,z,Z,se){var ye=I;do ye.z===null&&(ye.z=Iy(ye.x,ye.y,z,Z,se)),ye.prevZ=ye.prev,ye.nextZ=ye.next,ye=ye.next;while(ye!==I);ye.prevZ.nextZ=null,ye.prevZ=null,ZA(ye)}function ZA(I){var z,Z,se,ye,Pe,Oe,st,At,zt=1;do{for(Z=I,I=null,Pe=null,Oe=0;Z;){for(Oe++,se=Z,st=0,z=0;z0||At>0&&se;)st!==0&&(At===0||!se||Z.z<=se.z)?(ye=Z,Z=Z.nextZ,st--):(ye=se,se=se.nextZ,At--),Pe?Pe.nextZ=ye:I=ye,ye.prevZ=Pe,Pe=ye;Z=se}Pe.nextZ=null,zt*=2}while(Oe>1);return I}function Iy(I,z,Z,se,ye){return I=32767*(I-Z)*ye,z=32767*(z-se)*ye,I=(I|I<<8)&16711935,I=(I|I<<4)&252645135,I=(I|I<<2)&858993459,I=(I|I<<1)&1431655765,z=(z|z<<8)&16711935,z=(z|z<<4)&252645135,z=(z|z<<2)&858993459,z=(z|z<<1)&1431655765,I|z<<1}function jA(I){var z=I,Z=I;do(z.x=0&&(I-Oe)*(se-st)-(Z-Oe)*(z-st)>=0&&(Z-Oe)*(Pe-st)-(ye-Oe)*(se-st)>=0}function XA(I,z){return I.next.i!==z.i&&I.prev.i!==z.i&&!$A(I,z)&&(w1(I,z)&&w1(z,I)&&KA(I,z)&&(sl(I.prev,I,z.prev)||sl(I,z.prev,z))||$p(I,z)&&sl(I.prev,I,I.next)>0&&sl(z.prev,z,z.next)>0)}function sl(I,z,Z){return(z.y-I.y)*(Z.x-z.x)-(z.x-I.x)*(Z.y-z.y)}function $p(I,z){return I.x===z.x&&I.y===z.y}function q4(I,z,Z,se){var ye=Jp(sl(I,z,Z)),Pe=Jp(sl(I,z,se)),Oe=Jp(sl(Z,se,I)),st=Jp(sl(Z,se,z));return!!(ye!==Pe&&Oe!==st||ye===0&&Kp(I,Z,z)||Pe===0&&Kp(I,se,z)||Oe===0&&Kp(Z,I,se)||st===0&&Kp(Z,z,se))}function Kp(I,z,Z){return z.x<=Math.max(I.x,Z.x)&&z.x>=Math.min(I.x,Z.x)&&z.y<=Math.max(I.y,Z.y)&&z.y>=Math.min(I.y,Z.y)}function Jp(I){return I>0?1:I<0?-1:0}function $A(I,z){var Z=I;do{if(Z.i!==I.i&&Z.next.i!==I.i&&Z.i!==z.i&&Z.next.i!==z.i&&q4(Z,Z.next,I,z))return!0;Z=Z.next}while(Z!==I);return!1}function w1(I,z){return sl(I.prev,I,I.next)<0?sl(I,z,I.next)>=0&&sl(I,I.prev,z)>=0:sl(I,z,I.prev)<0||sl(I,I.next,z)<0}function KA(I,z){var Z=I,se=!1,ye=(I.x+z.x)/2,Pe=(I.y+z.y)/2;do Z.y>Pe!=Z.next.y>Pe&&Z.next.y!==Z.y&&ye<(Z.next.x-Z.x)*(Pe-Z.y)/(Z.next.y-Z.y)+Z.x&&(se=!se),Z=Z.next;while(Z!==I);return se}function e5(I,z){var Z=new zy(I.i,I.x,I.y),se=new zy(z.i,z.x,z.y),ye=I.next,Pe=z.prev;return I.next=z,z.prev=I,Z.next=ye,ye.prev=Z,se.next=Z,Z.prev=se,Pe.next=se,se.prev=Pe,se}function t5(I,z,Z,se){var ye=new zy(I,z,Z);return se?(ye.next=se.next,ye.prev=se,se.next.prev=ye,se.next=ye):(ye.prev=ye,ye.next=ye),ye}function T1(I){I.next.prev=I.prev,I.prev.next=I.next,I.prevZ&&(I.prevZ.nextZ=I.nextZ),I.nextZ&&(I.nextZ.prevZ=I.prevZ)}function zy(I,z,Z){this.i=I,this.x=z,this.y=Z,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}Df.deviation=function(I,z,Z,se){var ye=z&&z.length,Pe=ye?z[0]*Z:I.length,Oe=Math.abs(Fy(I,0,Pe,Z));if(ye)for(var st=0,At=z.length;st0&&(se+=I[ye-1].length,Z.holes.push(se))}return Z},fh.default=N0;function JA(I,z,Z,se,ye){r5(I,z,Z||0,se||I.length-1,ye||QA)}function r5(I,z,Z,se,ye){for(;se>Z;){if(se-Z>600){var Pe=se-Z+1,Oe=z-Z+1,st=Math.log(Pe),At=.5*Math.exp(2*st/3),zt=.5*Math.sqrt(st*At*(Pe-At)/Pe)*(Oe-Pe/2<0?-1:1),Ot=Math.max(Z,Math.floor(z-Oe*At/Pe+zt)),ar=Math.min(se,Math.floor(z+(Pe-Oe)*At/Pe+zt));r5(I,z,Ot,ar,ye)}var Mr=I[z],yr=Z,Zr=se;for(A1(I,Z,z),ye(I[se],Mr)>0&&A1(I,Z,se);yr0;)Zr--}ye(I[Z],Mr)===0?A1(I,Z,Zr):(Zr++,A1(I,Zr,se)),Zr<=z&&(Z=Zr+1),z<=Zr&&(se=Zr-1)}}function A1(I,z,Z){var se=I[z];I[z]=I[Z],I[Z]=se}function QA(I,z){return Iz?1:0}function By(I,z){var Z=I.length;if(Z<=1)return[I];for(var se=[],ye,Pe,Oe=0;Oe1)for(var At=0;At>3}if(se--,Z===1||Z===2)ye+=I.readSVarint(),Pe+=I.readSVarint(),Z===1&&(st&&Oe.push(st),st=[]),st.push(new r(ye,Pe));else if(Z===7)st&&st.push(st[0].clone());else throw new Error("unknown command "+Z)}return st&&Oe.push(st),Oe},dv.prototype.bbox=function(){var I=this._pbf;I.pos=this._geometry;for(var z=I.readVarint()+I.pos,Z=1,se=0,ye=0,Pe=0,Oe=1/0,st=-1/0,At=1/0,zt=-1/0;I.pos>3}if(se--,Z===1||Z===2)ye+=I.readSVarint(),Pe+=I.readSVarint(),yest&&(st=ye),Pezt&&(zt=Pe);else if(Z!==7)throw new Error("unknown command "+Z)}return[Oe,At,st,zt]},dv.prototype.toGeoJSON=function(I,z,Z){var se=this.extent*Math.pow(2,Z),ye=this.extent*I,Pe=this.extent*z,Oe=this.loadGeometry(),st=dv.types[this.type],At,zt;function Ot(yr){for(var Zr=0;Zr>3;z=se===1?I.readString():se===2?I.readFloat():se===3?I.readDouble():se===4?I.readVarint64():se===5?I.readVarint():se===6?I.readSVarint():se===7?I.readBoolean():null}return z}o5.prototype.feature=function(I){if(I<0||I>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[I];var z=this._pbf.readVarint()+this._pbf.pos;return new a5(this._pbf,z,this.extent,this._keys,this._values)};var hS=dS;function dS(I,z){this.layers=I.readFields(vS,{},z)}function vS(I,z,Z){if(I===3){var se=new i5(Z,Z.readVarint()+Z.pos);se.length&&(z[se.name]=se)}}var pS=hS,mS=a5,gS=i5,vv={VectorTile:pS,VectorTileFeature:mS,VectorTileLayer:gS},yS=vv.VectorTileFeature.types,xS=500,Ny=Math.pow(2,13);function S1(I,z,Z,se,ye,Pe,Oe,st){I.emplaceBack(z,Z,Math.floor(se*Ny)*2+Oe,ye*Ny*2,Pe*Ny*2,Math.round(st))}var A0=function(z){this.zoom=z.zoom,this.overscaling=z.overscaling,this.layers=z.layers,this.layerIds=this.layers.map(function(Z){return Z.id}),this.index=z.index,this.hasPattern=!1,this.layoutVertexArray=new F0,this.indexArray=new Ec,this.programConfigurations=new Ii(n5,z.layers,z.zoom),this.segments=new $,this.stateDependentLayerIds=this.layers.filter(function(Z){return Z.isStateDependent()}).map(function(Z){return Z.id})};A0.prototype.populate=function(z,Z,se){this.features=[],this.hasPattern=Oy("fill-extrusion",this.layers,Z);for(var ye=0,Pe=z;ye=1){var ra=_n[ia-1];if(!bS(Kn,ra)){yr.vertexLength+4>$.MAX_VERTEX_ARRAY_LENGTH&&(yr=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var da=Kn.sub(ra)._perp()._unit(),Aa=ra.dist(Kn);Ln+Aa>32768&&(Ln=0),S1(this.layoutVertexArray,Kn.x,Kn.y,da.x,da.y,0,0,Ln),S1(this.layoutVertexArray,Kn.x,Kn.y,da.x,da.y,0,1,Ln),Ln+=Aa,S1(this.layoutVertexArray,ra.x,ra.y,da.x,da.y,0,0,Ln),S1(this.layoutVertexArray,ra.x,ra.y,da.x,da.y,0,1,Ln);var Na=yr.vertexLength;this.indexArray.emplaceBack(Na,Na+2,Na+1),this.indexArray.emplaceBack(Na+1,Na+2,Na+3),yr.vertexLength+=4,yr.primitiveLength+=2}}}}if(yr.vertexLength+zt>$.MAX_VERTEX_ARRAY_LENGTH&&(yr=this.segments.prepareSegment(zt,this.layoutVertexArray,this.indexArray)),yS[z.type]==="Polygon"){for(var Ba=[],xi=[],Qa=yr.vertexLength,si=0,Bi=At;siyi)||I.y===z.y&&(I.y<0||I.y>yi)}function wS(I){return I.every(function(z){return z.x<0})||I.every(function(z){return z.x>yi})||I.every(function(z){return z.y<0})||I.every(function(z){return z.y>yi})}var TS=new ys({"fill-extrusion-opacity":new ni(sr["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new vi(sr["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new ni(sr["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new ni(sr["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Oo(sr["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new vi(sr["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new vi(sr["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new ni(sr["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])}),AS={paint:TS},SS=function(I){function z(Z){I.call(this,Z,AS)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.createBucket=function(se){return new A0(se)},z.prototype.queryRadius=function(){return ic(this.paint.get("fill-extrusion-translate"))},z.prototype.is3D=function(){return!0},z.prototype.queryIntersectsFeature=function(se,ye,Pe,Oe,st,At,zt,Ot){var ar=Pf(se,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),At.angle,zt),Mr=this.paint.get("fill-extrusion-height").evaluate(ye,Pe),yr=this.paint.get("fill-extrusion-base").evaluate(ye,Pe),Zr=ES(ar,Ot,At,0),un=CS(Oe,yr,Mr,Ot),_n=un[0],Ln=un[1];return MS(_n,Ln,Zr)},z}($o);function M1(I,z){return I.x*z.x+I.y*z.y}function s5(I,z){if(I.length===1){for(var Z=0,se=z[Z++],ye;!ye||se.equals(ye);)if(ye=z[Z++],!ye)return 1/0;for(;Z=2&&z[zt-1].equals(z[zt-2]);)zt--;for(var Ot=0;Ot0;if(Ba&&ia>Ot){var Qa=yr.dist(Zr);if(Qa>2*ar){var si=yr.sub(yr.sub(Zr)._mult(ar/Qa)._round());this.updateDistance(Zr,si),this.addCurrentVertex(si,_n,0,0,Mr),Zr=si}}var Bi=Zr&&un,fi=Bi?se:At?"butt":ye;if(Bi&&fi==="round"&&(AaPe&&(fi="bevel"),fi==="bevel"&&(Aa>2&&(fi="flipbevel"),Aa100)Kn=Ln.mult(-1);else{var gi=Aa*_n.add(Ln).mag()/_n.sub(Ln).mag();Kn._perp()._mult(gi*(xi?-1:1))}this.addCurrentVertex(yr,Kn,0,0,Mr),this.addCurrentVertex(yr,Kn.mult(-1),0,0,Mr)}else if(fi==="bevel"||fi==="fakeround"){var Wi=-Math.sqrt(Aa*Aa-1),Ri=xi?Wi:0,yo=xi?0:Wi;if(Zr&&this.addCurrentVertex(yr,_n,Ri,yo,Mr),fi==="fakeround")for(var Yo=Math.round(Na*180/Math.PI/RS),xo=1;xo2*ar){var fl=yr.add(un.sub(yr)._mult(ar/Ul)._round());this.updateDistance(yr,fl),this.addCurrentVertex(fl,Ln,0,0,Mr),yr=fl}}}}},hf.prototype.addCurrentVertex=function(z,Z,se,ye,Pe,Oe){Oe===void 0&&(Oe=!1);var st=Z.x+Z.y*se,At=Z.y-Z.x*se,zt=-Z.x+Z.y*ye,Ot=-Z.y-Z.x*ye;this.addHalfVertex(z,st,At,Oe,!1,se,Pe),this.addHalfVertex(z,zt,Ot,Oe,!0,-ye,Pe),this.distance>c5/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(z,Z,se,ye,Pe,Oe))},hf.prototype.addHalfVertex=function(z,Z,se,ye,Pe,Oe,st){var At=z.x,zt=z.y,Ot=this.scaledDistance*f5;this.layoutVertexArray.emplaceBack((At<<1)+(ye?1:0),(zt<<1)+(Pe?1:0),Math.round(u5*Z)+128,Math.round(u5*se)+128,(Oe===0?0:Oe<0?-1:1)+1|(Ot&63)<<2,Ot>>6);var ar=st.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,ar),st.primitiveLength++),Pe?this.e2=ar:this.e1=ar},hf.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(c5-1):this.distance},hf.prototype.updateDistance=function(z,Z){this.distance+=z.dist(Z),this.updateScaledDistance()},de("LineBucket",hf,{omit:["layers","patternFeatures"]});var zS=new ys({"line-cap":new ni(sr.layout_line["line-cap"]),"line-join":new vi(sr.layout_line["line-join"]),"line-miter-limit":new ni(sr.layout_line["line-miter-limit"]),"line-round-limit":new ni(sr.layout_line["line-round-limit"]),"line-sort-key":new vi(sr.layout_line["line-sort-key"])}),FS=new ys({"line-opacity":new vi(sr.paint_line["line-opacity"]),"line-color":new vi(sr.paint_line["line-color"]),"line-translate":new ni(sr.paint_line["line-translate"]),"line-translate-anchor":new ni(sr.paint_line["line-translate-anchor"]),"line-width":new vi(sr.paint_line["line-width"]),"line-gap-width":new vi(sr.paint_line["line-gap-width"]),"line-offset":new vi(sr.paint_line["line-offset"]),"line-blur":new vi(sr.paint_line["line-blur"]),"line-dasharray":new fs(sr.paint_line["line-dasharray"]),"line-pattern":new Oo(sr.paint_line["line-pattern"]),"line-gradient":new Ol(sr.paint_line["line-gradient"])}),h5={paint:FS,layout:zS},BS=function(I){function z(){I.apply(this,arguments)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.possiblyEvaluate=function(se,ye){return ye=new Ta(Math.floor(ye.zoom),{now:ye.now,fadeDuration:ye.fadeDuration,zoomHistory:ye.zoomHistory,transition:ye.transition}),I.prototype.possiblyEvaluate.call(this,se,ye)},z.prototype.evaluate=function(se,ye,Pe,Oe){return ye=l({},ye,{zoom:Math.floor(ye.zoom)}),I.prototype.evaluate.call(this,se,ye,Pe,Oe)},z}(vi),d5=new BS(h5.paint.properties["line-width"].specification);d5.useIntegerZoom=!0;var OS=function(I){function z(Z){I.call(this,Z,h5)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype._handleSpecialPaintPropertyUpdate=function(se){se==="line-gradient"&&this._updateGradient()},z.prototype._updateGradient=function(){var se=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=li(se,"lineProgress"),this.gradientTexture=null},z.prototype.recalculate=function(se,ye){I.prototype.recalculate.call(this,se,ye),this.paint._values["line-floorwidth"]=d5.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,se)},z.prototype.createBucket=function(se){return new hf(se)},z.prototype.queryRadius=function(se){var ye=se,Pe=v5($u("line-width",this,ye),$u("line-gap-width",this,ye)),Oe=$u("line-offset",this,ye);return Pe/2+Math.abs(Oe)+ic(this.paint.get("line-translate"))},z.prototype.queryIntersectsFeature=function(se,ye,Pe,Oe,st,At,zt){var Ot=Pf(se,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),At.angle,zt),ar=zt/2*v5(this.paint.get("line-width").evaluate(ye,Pe),this.paint.get("line-gap-width").evaluate(ye,Pe)),Mr=this.paint.get("line-offset").evaluate(ye,Pe);return Mr&&(Oe=_S(Oe,Mr*zt)),Ps(Ot,Oe,ar)},z.prototype.isTileClipped=function(){return!0},z}($o);function v5(I,z){return z>0?z+2*I:I}function _S(I,z){for(var Z=[],se=new r(0,0),ye=0;ye":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};function YS(I){for(var z="",Z=0;Z>1,Ot=-7,ar=Z?ye-1:0,Mr=Z?-1:1,yr=I[z+ar];for(ar+=Mr,Pe=yr&(1<<-Ot)-1,yr>>=-Ot,Ot+=st;Ot>0;Pe=Pe*256+I[z+ar],ar+=Mr,Ot-=8);for(Oe=Pe&(1<<-Ot)-1,Pe>>=-Ot,Ot+=se;Ot>0;Oe=Oe*256+I[z+ar],ar+=Mr,Ot-=8);if(Pe===0)Pe=1-zt;else{if(Pe===At)return Oe?NaN:(yr?-1:1)*(1/0);Oe=Oe+Math.pow(2,se),Pe=Pe-zt}return(yr?-1:1)*Oe*Math.pow(2,Pe-se)},jS=function(I,z,Z,se,ye,Pe){var Oe,st,At,zt=Pe*8-ye-1,Ot=(1<>1,Mr=ye===23?Math.pow(2,-24)-Math.pow(2,-77):0,yr=se?0:Pe-1,Zr=se?1:-1,un=z<0||z===0&&1/z<0?1:0;for(z=Math.abs(z),isNaN(z)||z===1/0?(st=isNaN(z)?1:0,Oe=Ot):(Oe=Math.floor(Math.log(z)/Math.LN2),z*(At=Math.pow(2,-Oe))<1&&(Oe--,At*=2),Oe+ar>=1?z+=Mr/At:z+=Mr*Math.pow(2,1-ar),z*At>=2&&(Oe++,At/=2),Oe+ar>=Ot?(st=0,Oe=Ot):Oe+ar>=1?(st=(z*At-1)*Math.pow(2,ye),Oe=Oe+ar):(st=z*Math.pow(2,ar-1)*Math.pow(2,ye),Oe=0));ye>=8;I[Z+yr]=st&255,yr+=Zr,st/=256,ye-=8);for(Oe=Oe<0;I[Z+yr]=Oe&255,yr+=Zr,Oe/=256,zt-=8);I[Z+yr-Zr]|=un*128},Qp={read:ZS,write:jS},qp=os;function os(I){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(I)?I:new Uint8Array(I||0),this.pos=0,this.type=0,this.length=this.buf.length}os.Varint=0,os.Fixed64=1,os.Bytes=2,os.Fixed32=5;var Hy=65536*65536,m5=1/Hy,XS=12,g5=typeof TextDecoder>"u"?null:new TextDecoder("utf8");os.prototype={destroy:function(){this.buf=null},readFields:function(I,z,Z){for(Z=Z||this.length;this.pos>3,Pe=this.pos;this.type=se&7,I(ye,z,this),this.pos===Pe&&this.skip(se)}return z},readMessage:function(I,z){return this.readFields(I,z,this.readVarint()+this.pos)},readFixed32:function(){var I=em(this.buf,this.pos);return this.pos+=4,I},readSFixed32:function(){var I=x5(this.buf,this.pos);return this.pos+=4,I},readFixed64:function(){var I=em(this.buf,this.pos)+em(this.buf,this.pos+4)*Hy;return this.pos+=8,I},readSFixed64:function(){var I=em(this.buf,this.pos)+x5(this.buf,this.pos+4)*Hy;return this.pos+=8,I},readFloat:function(){var I=Qp.read(this.buf,this.pos,!0,23,4);return this.pos+=4,I},readDouble:function(){var I=Qp.read(this.buf,this.pos,!0,52,8);return this.pos+=8,I},readVarint:function(I){var z=this.buf,Z,se;return se=z[this.pos++],Z=se&127,se<128||(se=z[this.pos++],Z|=(se&127)<<7,se<128)||(se=z[this.pos++],Z|=(se&127)<<14,se<128)||(se=z[this.pos++],Z|=(se&127)<<21,se<128)?Z:(se=z[this.pos],Z|=(se&15)<<28,$S(Z,I,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var I=this.readVarint();return I%2===1?(I+1)/-2:I/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var I=this.readVarint()+this.pos,z=this.pos;return this.pos=I,I-z>=XS&&g5?uM(this.buf,z,I):lM(this.buf,z,I)},readBytes:function(){var I=this.readVarint()+this.pos,z=this.buf.subarray(this.pos,I);return this.pos=I,z},readPackedVarint:function(I,z){if(this.type!==os.Bytes)return I.push(this.readVarint(z));var Z=ch(this);for(I=I||[];this.pos127;);else if(z===os.Bytes)this.pos=this.readVarint()+this.pos;else if(z===os.Fixed32)this.pos+=4;else if(z===os.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+z)},writeTag:function(I,z){this.writeVarint(I<<3|z)},realloc:function(I){for(var z=this.length||16;z268435455||I<0){KS(I,this);return}this.realloc(4),this.buf[this.pos++]=I&127|(I>127?128:0),!(I<=127)&&(this.buf[this.pos++]=(I>>>=7)&127|(I>127?128:0),!(I<=127)&&(this.buf[this.pos++]=(I>>>=7)&127|(I>127?128:0),!(I<=127)&&(this.buf[this.pos++]=I>>>7&127)))},writeSVarint:function(I){this.writeVarint(I<0?-I*2-1:I*2)},writeBoolean:function(I){this.writeVarint(!!I)},writeString:function(I){I=String(I),this.realloc(I.length*4),this.pos++;var z=this.pos;this.pos=fM(this.buf,I,this.pos);var Z=this.pos-z;Z>=128&&y5(z,Z,this),this.pos=z-1,this.writeVarint(Z),this.pos+=Z},writeFloat:function(I){this.realloc(4),Qp.write(this.buf,I,this.pos,!0,23,4),this.pos+=4},writeDouble:function(I){this.realloc(8),Qp.write(this.buf,I,this.pos,!0,52,8),this.pos+=8},writeBytes:function(I){var z=I.length;this.writeVarint(z),this.realloc(z);for(var Z=0;Z=128&&y5(Z,se,this),this.pos=Z-1,this.writeVarint(se),this.pos+=se},writeMessage:function(I,z,Z){this.writeTag(I,os.Bytes),this.writeRawMessage(z,Z)},writePackedVarint:function(I,z){z.length&&this.writeMessage(I,qS,z)},writePackedSVarint:function(I,z){z.length&&this.writeMessage(I,eM,z)},writePackedBoolean:function(I,z){z.length&&this.writeMessage(I,nM,z)},writePackedFloat:function(I,z){z.length&&this.writeMessage(I,tM,z)},writePackedDouble:function(I,z){z.length&&this.writeMessage(I,rM,z)},writePackedFixed32:function(I,z){z.length&&this.writeMessage(I,aM,z)},writePackedSFixed32:function(I,z){z.length&&this.writeMessage(I,iM,z)},writePackedFixed64:function(I,z){z.length&&this.writeMessage(I,oM,z)},writePackedSFixed64:function(I,z){z.length&&this.writeMessage(I,sM,z)},writeBytesField:function(I,z){this.writeTag(I,os.Bytes),this.writeBytes(z)},writeFixed32Field:function(I,z){this.writeTag(I,os.Fixed32),this.writeFixed32(z)},writeSFixed32Field:function(I,z){this.writeTag(I,os.Fixed32),this.writeSFixed32(z)},writeFixed64Field:function(I,z){this.writeTag(I,os.Fixed64),this.writeFixed64(z)},writeSFixed64Field:function(I,z){this.writeTag(I,os.Fixed64),this.writeSFixed64(z)},writeVarintField:function(I,z){this.writeTag(I,os.Varint),this.writeVarint(z)},writeSVarintField:function(I,z){this.writeTag(I,os.Varint),this.writeSVarint(z)},writeStringField:function(I,z){this.writeTag(I,os.Bytes),this.writeString(z)},writeFloatField:function(I,z){this.writeTag(I,os.Fixed32),this.writeFloat(z)},writeDoubleField:function(I,z){this.writeTag(I,os.Fixed64),this.writeDouble(z)},writeBooleanField:function(I,z){this.writeVarintField(I,!!z)}};function $S(I,z,Z){var se=Z.buf,ye,Pe;if(Pe=se[Z.pos++],ye=(Pe&112)>>4,Pe<128||(Pe=se[Z.pos++],ye|=(Pe&127)<<3,Pe<128)||(Pe=se[Z.pos++],ye|=(Pe&127)<<10,Pe<128)||(Pe=se[Z.pos++],ye|=(Pe&127)<<17,Pe<128)||(Pe=se[Z.pos++],ye|=(Pe&127)<<24,Pe<128)||(Pe=se[Z.pos++],ye|=(Pe&1)<<31,Pe<128))return pv(I,ye,z);throw new Error("Expected varint not more than 10 bytes")}function ch(I){return I.type===os.Bytes?I.readVarint()+I.pos:I.pos+1}function pv(I,z,Z){return Z?z*4294967296+(I>>>0):(z>>>0)*4294967296+(I>>>0)}function KS(I,z){var Z,se;if(I>=0?(Z=I%4294967296|0,se=I/4294967296|0):(Z=~(-I%4294967296),se=~(-I/4294967296),Z^4294967295?Z=Z+1|0:(Z=0,se=se+1|0)),I>=18446744073709552e3||I<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");z.realloc(10),JS(Z,se,z),QS(se,z)}function JS(I,z,Z){Z.buf[Z.pos++]=I&127|128,I>>>=7,Z.buf[Z.pos++]=I&127|128,I>>>=7,Z.buf[Z.pos++]=I&127|128,I>>>=7,Z.buf[Z.pos++]=I&127|128,I>>>=7,Z.buf[Z.pos]=I&127}function QS(I,z){var Z=(I&7)<<4;z.buf[z.pos++]|=Z|((I>>>=3)?128:0),I&&(z.buf[z.pos++]=I&127|((I>>>=7)?128:0),I&&(z.buf[z.pos++]=I&127|((I>>>=7)?128:0),I&&(z.buf[z.pos++]=I&127|((I>>>=7)?128:0),I&&(z.buf[z.pos++]=I&127|((I>>>=7)?128:0),I&&(z.buf[z.pos++]=I&127)))))}function y5(I,z,Z){var se=z<=16383?1:z<=2097151?2:z<=268435455?3:Math.floor(Math.log(z)/(Math.LN2*7));Z.realloc(se);for(var ye=Z.pos-1;ye>=I;ye--)Z.buf[ye+se]=Z.buf[ye]}function qS(I,z){for(var Z=0;Z>>8,I[Z+2]=z>>>16,I[Z+3]=z>>>24}function x5(I,z){return(I[z]|I[z+1]<<8|I[z+2]<<16)+(I[z+3]<<24)}function lM(I,z,Z){for(var se="",ye=z;ye239?4:Pe>223?3:Pe>191?2:1;if(ye+st>Z)break;var At,zt,Ot;st===1?Pe<128&&(Oe=Pe):st===2?(At=I[ye+1],(At&192)===128&&(Oe=(Pe&31)<<6|At&63,Oe<=127&&(Oe=null))):st===3?(At=I[ye+1],zt=I[ye+2],(At&192)===128&&(zt&192)===128&&(Oe=(Pe&15)<<12|(At&63)<<6|zt&63,(Oe<=2047||Oe>=55296&&Oe<=57343)&&(Oe=null))):st===4&&(At=I[ye+1],zt=I[ye+2],Ot=I[ye+3],(At&192)===128&&(zt&192)===128&&(Ot&192)===128&&(Oe=(Pe&15)<<18|(At&63)<<12|(zt&63)<<6|Ot&63,(Oe<=65535||Oe>=1114112)&&(Oe=null))),Oe===null?(Oe=65533,st=1):Oe>65535&&(Oe-=65536,se+=String.fromCharCode(Oe>>>10&1023|55296),Oe=56320|Oe&1023),se+=String.fromCharCode(Oe),ye+=st}return se}function uM(I,z,Z){return g5.decode(I.subarray(z,Z))}function fM(I,z,Z){for(var se=0,ye,Pe;se55295&&ye<57344)if(Pe)if(ye<56320){I[Z++]=239,I[Z++]=191,I[Z++]=189,Pe=ye;continue}else ye=Pe-55296<<10|ye-56320|65536,Pe=null;else{ye>56319||se+1===z.length?(I[Z++]=239,I[Z++]=191,I[Z++]=189):Pe=ye;continue}else Pe&&(I[Z++]=239,I[Z++]=191,I[Z++]=189,Pe=null);ye<128?I[Z++]=ye:(ye<2048?I[Z++]=ye>>6|192:(ye<65536?I[Z++]=ye>>12|224:(I[Z++]=ye>>18|240,I[Z++]=ye>>12&63|128),I[Z++]=ye>>6&63|128),I[Z++]=ye&63|128)}return Z}var Vy=3;function cM(I,z,Z){I===1&&Z.readMessage(hM,z)}function hM(I,z,Z){if(I===3){var se=Z.readMessage(dM,{}),ye=se.id,Pe=se.bitmap,Oe=se.width,st=se.height,At=se.left,zt=se.top,Ot=se.advance;z.push({id:ye,bitmap:new ln({width:Oe+2*Vy,height:st+2*Vy},Pe),metrics:{width:Oe,height:st,left:At,top:zt,advance:Ot}})}}function dM(I,z,Z){I===1?z.id=Z.readVarint():I===2?z.bitmap=Z.readBytes():I===3?z.width=Z.readVarint():I===4?z.height=Z.readVarint():I===5?z.left=Z.readSVarint():I===6?z.top=Z.readSVarint():I===7&&(z.advance=Z.readVarint())}function vM(I){return new qp(I).readFields(cM,[])}var b5=Vy;function w5(I){for(var z=0,Z=0,se=0,ye=I;se=0;yr--){var Zr=st[yr];if(!(Mr.w>Zr.w||Mr.h>Zr.h)){if(Mr.x=Zr.x,Mr.y=Zr.y,zt=Math.max(zt,Mr.y+Mr.h),At=Math.max(At,Mr.x+Mr.w),Mr.w===Zr.w&&Mr.h===Zr.h){var un=st.pop();yr=0&&ye>=z&&H0[this.text.charCodeAt(ye)];ye--)se--;this.text=this.text.substring(z,se),this.sectionIndex=this.sectionIndex.slice(z,se)},Iu.prototype.substring=function(z,Z){var se=new Iu;return se.text=this.text.substring(z,Z),se.sectionIndex=this.sectionIndex.slice(z,Z),se.sections=this.sections,se},Iu.prototype.toString=function(){return this.text},Iu.prototype.getMaxScale=function(){var z=this;return this.sectionIndex.reduce(function(Z,se){return Math.max(Z,z.sections[se].scale)},0)},Iu.prototype.addTextSection=function(z,Z){this.text+=z.text,this.sections.push(gv.forText(z.scale,z.fontStack||Z));for(var se=this.sections.length-1,ye=0;ye=A5?null:++this.imageSectionID:(this.imageSectionID=T5,this.imageSectionID)};function mM(I,z){for(var Z=[],se=I.text,ye=0,Pe=0,Oe=z;Pe=0,Ot=0,ar=0;ar0&&fl>xi&&(xi=fl)}else{var bo=Z[si.fontStack],vo=bo&&bo[fi];if(vo&&vo.rect)Ri=vo.rect,Wi=vo.metrics;else{var es=z[si.fontStack],ss=es&&es[fi];if(!ss)continue;Wi=ss.metrics}gi=(da-si.scale)*Ql}xo?(I.verticalizable=!0,Ba.push({glyph:fi,imageName:yo,x:Mr,y:yr+gi,vertical:xo,scale:si.scale,fontStack:si.fontStack,sectionIndex:Bi,metrics:Wi,rect:Ri}),Mr+=Yo*si.scale+zt):(Ba.push({glyph:fi,imageName:yo,x:Mr,y:yr+gi,vertical:xo,scale:si.scale,fontStack:si.fontStack,sectionIndex:Bi,metrics:Wi,rect:Ri}),Mr+=Wi.advance*si.scale+zt)}if(Ba.length!==0){var zu=Mr-zt;Zr=Math.max(zu,Zr),bM(Ba,0,Ba.length-1,_n,xi)}Mr=0;var Fu=Pe*da+xi;Na.lineOffset=Math.max(xi,Aa),yr+=Fu,un=Math.max(Fu,un),++Ln}var Hl=yr-L1,Ku=Wy(Oe),Ju=Ku.horizontalAlign,kl=Ku.verticalAlign;wM(I.positionedLines,_n,Ju,kl,Zr,un,Pe,Hl,ye.length),I.top+=-kl*Hl,I.bottom=I.top+Hl,I.left+=-Ju*Zr,I.right=I.left+Zr}function bM(I,z,Z,se,ye){if(!(!se&&!ye))for(var Pe=I[Z],Oe=Pe.metrics.advance*Pe.scale,st=(I[Z].x+Oe)*se,At=z;At<=Z;At++)I[At].x-=st,I[At].y+=ye}function wM(I,z,Z,se,ye,Pe,Oe,st,At){var zt=(z-Z)*ye,Ot=0;Pe!==Oe?Ot=-st*se-L1:Ot=(-se*At+.5)*Oe;for(var ar=0,Mr=I;ar-Z/2;){if(Oe--,Oe<0)return!1;st-=I[Oe].dist(Pe),Pe=I[Oe]}st+=I[Oe].dist(I[Oe+1]),Oe++;for(var At=[],zt=0;stse;)zt-=At.shift().angleDelta;if(zt>ye)return!1;Oe++,st+=ar.dist(Mr)}return!0}function R5(I){for(var z=0,Z=0;Zzt){var Zr=(zt-At)/yr,un=Ho(ar.x,Mr.x,Zr),_n=Ho(ar.y,Mr.y,Zr),Ln=new yv(un,_n,Mr.angleTo(ar),Ot);return Ln._round(),!Oe||D5(I,Ln,st,Oe,z)?Ln:void 0}At+=yr}}function MM(I,z,Z,se,ye,Pe,Oe,st,At){var zt=I5(se,Pe,Oe),Ot=z5(se,ye),ar=Ot*Oe,Mr=I[0].x===0||I[0].x===At||I[0].y===0||I[0].y===At;z-ar=0&&ra=0&&da=0&&Mr+zt<=Ot){var Aa=new yv(ra,da,ia,Zr);Aa._round(),(!se||D5(I,Aa,Pe,se,ye))&&yr.push(Aa)}}ar+=Ln}return!st&&!yr.length&&!Oe&&(yr=F5(I,ar/2,Z,se,ye,Pe,Oe,!0,At)),yr}function B5(I,z,Z,se,ye){for(var Pe=[],Oe=0;Oe=se&&ar.x>=se)&&(Ot.x>=se?Ot=new r(se,Ot.y+(ar.y-Ot.y)*((se-Ot.x)/(ar.x-Ot.x)))._round():ar.x>=se&&(ar=new r(se,Ot.y+(ar.y-Ot.y)*((se-Ot.x)/(ar.x-Ot.x)))._round()),!(Ot.y>=ye&&ar.y>=ye)&&(Ot.y>=ye?Ot=new r(Ot.x+(ar.x-Ot.x)*((ye-Ot.y)/(ar.y-Ot.y)),ye)._round():ar.y>=ye&&(ar=new r(Ot.x+(ar.x-Ot.x)*((ye-Ot.y)/(ar.y-Ot.y)),ye)._round()),(!At||!Ot.equals(At[At.length-1]))&&(At=[Ot],Pe.push(At)),At.push(ar)))))}return Pe}var xv=Rf;function O5(I,z,Z,se){var ye=[],Pe=I.image,Oe=Pe.pixelRatio,st=Pe.paddedRect.w-2*xv,At=Pe.paddedRect.h-2*xv,zt=I.right-I.left,Ot=I.bottom-I.top,ar=Pe.stretchX||[[0,st]],Mr=Pe.stretchY||[[0,At]],yr=function(bo,vo){return bo+vo[1]-vo[0]},Zr=ar.reduce(yr,0),un=Mr.reduce(yr,0),_n=st-Zr,Ln=At-un,ia=0,Kn=Zr,ra=0,da=un,Aa=0,Na=_n,Ba=0,xi=Ln;if(Pe.content&&se){var Qa=Pe.content;ia=nm(ar,0,Qa[0]),ra=nm(Mr,0,Qa[1]),Kn=nm(ar,Qa[0],Qa[2]),da=nm(Mr,Qa[1],Qa[3]),Aa=Qa[0]-ia,Ba=Qa[1]-ra,Na=Qa[2]-Qa[0]-Kn,xi=Qa[3]-Qa[1]-da}var si=function(bo,vo,es,ss){var Ns=am(bo.stretch-ia,Kn,zt,I.left),Xs=im(bo.fixed-Aa,Na,bo.stretch,Zr),Ul=am(vo.stretch-ra,da,Ot,I.top),fl=im(vo.fixed-Ba,xi,vo.stretch,un),zu=am(es.stretch-ia,Kn,zt,I.left),Fu=im(es.fixed-Aa,Na,es.stretch,Zr),Hl=am(ss.stretch-ra,da,Ot,I.top),Ku=im(ss.fixed-Ba,xi,ss.stretch,un),Ju=new r(Ns,Ul),kl=new r(zu,Ul),Qu=new r(zu,Hl),uc=new r(Ns,Hl),vh=new r(Xs/Oe,fl/Oe),jh=new r(Fu/Oe,Ku/Oe),Xh=z*Math.PI/180;if(Xh){var $h=Math.sin(Xh),Ev=Math.cos(Xh),e0=[Ev,-$h,$h,Ev];Ju._matMult(e0),kl._matMult(e0),uc._matMult(e0),Qu._matMult(e0)}var cm=bo.stretch+bo.fixed,qy=es.stretch+es.fixed,hm=vo.stretch+vo.fixed,e2=ss.stretch+ss.fixed,Dc={x:Pe.paddedRect.x+xv+cm,y:Pe.paddedRect.y+xv+hm,w:qy-cm,h:e2-hm},kv=Na/Oe/zt,dm=xi/Oe/Ot;return{tl:Ju,tr:kl,bl:uc,br:Qu,tex:Dc,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:vh,pixelOffsetBR:jh,minFontScaleX:kv,minFontScaleY:dm,isSDF:Z}};if(!se||!Pe.stretchX&&!Pe.stretchY)ye.push(si({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:st+1},{fixed:0,stretch:At+1}));else for(var Bi=_5(ar,_n,Zr),fi=_5(Mr,Ln,un),gi=0;gi0&&(Zr=Math.max(10,Zr),this.circleDiameter=Zr)}else{var un=Oe.top*st-At,_n=Oe.bottom*st+At,Ln=Oe.left*st-At,ia=Oe.right*st+At,Kn=Oe.collisionPadding;if(Kn&&(Ln-=Kn[0]*st,un-=Kn[1]*st,ia+=Kn[2]*st,_n+=Kn[3]*st),Ot){var ra=new r(Ln,un),da=new r(ia,un),Aa=new r(Ln,_n),Na=new r(ia,_n),Ba=Ot*Math.PI/180;ra._rotate(Ba),da._rotate(Ba),Aa._rotate(Ba),Na._rotate(Ba),Ln=Math.min(ra.x,da.x,Aa.x,Na.x),ia=Math.max(ra.x,da.x,Aa.x,Na.x),un=Math.min(ra.y,da.y,Aa.y,Na.y),_n=Math.max(ra.y,da.y,Aa.y,Na.y)}z.emplaceBack(Z.x,Z.y,Ln,un,ia,_n,se,ye,Pe)}this.boxEndIndex=z.length},bv=function(z,Z){if(z===void 0&&(z=[]),Z===void 0&&(Z=EM),this.data=z,this.length=this.data.length,this.compare=Z,this.length>0)for(var se=(this.length>>1)-1;se>=0;se--)this._down(se)};bv.prototype.push=function(z){this.data.push(z),this.length++,this._up(this.length-1)},bv.prototype.pop=function(){if(this.length!==0){var z=this.data[0],Z=this.data.pop();return this.length--,this.length>0&&(this.data[0]=Z,this._down(0)),z}},bv.prototype.peek=function(){return this.data[0]},bv.prototype._up=function(z){for(var Z=this,se=Z.data,ye=Z.compare,Pe=se[z];z>0;){var Oe=z-1>>1,st=se[Oe];if(ye(Pe,st)>=0)break;se[z]=st,z=Oe}se[z]=Pe},bv.prototype._down=function(z){for(var Z=this,se=Z.data,ye=Z.compare,Pe=this.length>>1,Oe=se[z];z=0)break;se[z]=At,z=st}se[z]=Oe};function EM(I,z){return Iz?1:0}function kM(I,z,Z){z===void 0&&(z=1),Z===void 0&&(Z=!1);for(var se=1/0,ye=1/0,Pe=-1/0,Oe=-1/0,st=I[0],At=0;AtPe)&&(Pe=zt.x),(!At||zt.y>Oe)&&(Oe=zt.y)}var Ot=Pe-se,ar=Oe-ye,Mr=Math.min(Ot,ar),yr=Mr/2,Zr=new bv([],LM);if(Mr===0)return new r(se,ye);for(var un=se;unLn.d||!Ln.d)&&(Ln=Kn,Z&&console.log("found best %d after %d probes",Math.round(1e4*Kn.d)/1e4,ia)),!(Kn.max-Ln.d<=z)&&(yr=Kn.h/2,Zr.push(new wv(Kn.p.x-yr,Kn.p.y-yr,yr,I)),Zr.push(new wv(Kn.p.x+yr,Kn.p.y-yr,yr,I)),Zr.push(new wv(Kn.p.x-yr,Kn.p.y+yr,yr,I)),Zr.push(new wv(Kn.p.x+yr,Kn.p.y+yr,yr,I)),ia+=4)}return Z&&(console.log("num probes: "+ia),console.log("best distance: "+Ln.d)),Ln.p}function LM(I,z){return z.max-I.max}function wv(I,z,Z,se){this.p=new r(I,z),this.h=Z,this.d=PM(this.p,se),this.max=this.d+this.h*Math.SQRT2}function PM(I,z){for(var Z=!1,se=1/0,ye=0;yeI.y!=Ot.y>I.y&&I.x<(Ot.x-zt.x)*(I.y-zt.y)/(Ot.y-zt.y)+zt.x&&(Z=!Z),se=Math.min(se,Pc(I,zt,Ot))}return(Z?1:-1)*Math.sqrt(se)}function DM(I){for(var z=0,Z=0,se=0,ye=I[0],Pe=0,Oe=ye.length,st=Oe-1;Pe=yi||e0.y<0||e0.y>=yi||zM(I,e0,Ev,Z,se,ye,fi,I.layers[0],I.collisionBoxArray,z.index,z.sourceLayerIndex,I.index,Ln,da,Ba,At,Kn,Aa,xi,yr,z,Pe,zt,Ot,Oe)};if(Qa==="line")for(var Wi=0,Ri=B5(z.geometry,0,0,yi,yi);Wi1){var Ul=SM(Xs,Na,Z.vertical||Zr,se,un,ia);Ul&&gi(Xs,Ul)}}else if(z.type==="Polygon")for(var fl=0,zu=By(z.geometry,0);flYh&&G(I.layerIds[0]+': Value for "text-size" is >= '+P1+'. Reduce your "text-size".')):_n.kind==="composite"&&(Ln=[S0*yr.compositeTextSizes[0].evaluate(Oe,{},Zr),S0*yr.compositeTextSizes[1].evaluate(Oe,{},Zr)],(Ln[0]>Yh||Ln[1]>Yh)&&G(I.layerIds[0]+': Value for "text-size" is >= '+P1+'. Reduce your "text-size".')),I.addSymbols(I.text,un,Ln,st,Pe,Oe,zt,z,At.lineStartIndex,At.lineLength,Mr,Zr);for(var ia=0,Kn=Ot;iaYh&&G(I.layerIds[0]+': Value for "icon-size" is >= '+P1+'. Reduce your "icon-size".')):Ju.kind==="composite"&&(kl=[S0*da.compositeIconSizes[0].evaluate(ra,{},Na),S0*da.compositeIconSizes[1].evaluate(ra,{},Na)],(kl[0]>Yh||kl[1]>Yh)&&G(I.layerIds[0]+': Value for "icon-size" is >= '+P1+'. Reduce your "icon-size".')),I.addSymbols(I.icon,Hl,kl,Kn,ia,ra,!1,z,Qa.lineStartIndex,Qa.lineLength,-1,Na),xo=I.icon.placedSymbolArray.length-1,Ku&&(Ri=Ku.length*4,I.addSymbols(I.icon,Ku,kl,Kn,ia,ra,lc.vertical,z,Qa.lineStartIndex,Qa.lineLength,-1,Na),bo=I.icon.placedSymbolArray.length-1)}for(var Qu in se.horizontal){var uc=se.horizontal[Qu];if(!si){es=rt(uc.text);var vh=st.layout.get("text-rotate").evaluate(ra,{},Na);si=new om(At,z,zt,Ot,ar,uc,Mr,yr,Zr,vh)}var jh=uc.positionedLines.length===1;if(yo+=U5(I,z,uc,Pe,st,Zr,ra,un,Qa,se.vertical?lc.horizontal:lc.horizontalOnly,jh?Object.keys(se.horizontal):[Qu],vo,xo,da,Na),jh)break}se.vertical&&(Yo+=U5(I,z,se.vertical,Pe,st,Zr,ra,un,Qa,lc.vertical,["vertical"],vo,bo,da,Na));var Xh=si?si.boxStartIndex:I.collisionBoxArray.length,$h=si?si.boxEndIndex:I.collisionBoxArray.length,Ev=fi?fi.boxStartIndex:I.collisionBoxArray.length,e0=fi?fi.boxEndIndex:I.collisionBoxArray.length,cm=Bi?Bi.boxStartIndex:I.collisionBoxArray.length,qy=Bi?Bi.boxEndIndex:I.collisionBoxArray.length,hm=gi?gi.boxStartIndex:I.collisionBoxArray.length,e2=gi?gi.boxEndIndex:I.collisionBoxArray.length,Dc=-1,kv=function(I1,n6){return I1&&I1.circleDiameter?Math.max(I1.circleDiameter,n6):n6};Dc=kv(si,Dc),Dc=kv(fi,Dc),Dc=kv(Bi,Dc),Dc=kv(gi,Dc);var dm=Dc>-1?1:0;dm&&(Dc*=Ba/Ql),I.glyphOffsetArray.length>=Wo.MAX_GLYPHS&&G("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),ra.sortKey!==void 0&&I.addToSortKeyRanges(I.symbolInstances.length,ra.sortKey),I.symbolInstances.emplaceBack(z.x,z.y,vo.right>=0?vo.right:-1,vo.center>=0?vo.center:-1,vo.left>=0?vo.left:-1,vo.vertical||-1,xo,bo,es,Xh,$h,Ev,e0,cm,qy,hm,e2,zt,yo,Yo,Wi,Ri,dm,0,Mr,ss,Ns,Dc)}function FM(I,z,Z,se){var ye=I.compareText;if(!(z in ye))ye[z]=[];else for(var Pe=ye[z],Oe=Pe.length-1;Oe>=0;Oe--)if(se.dist(Pe[Oe])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ot=At.value.kind!=="constant"||!!At.value.value||Object.keys(At.parameters).length>0,ar=Pe.get("symbol-sort-key");if(this.features=[],!(!zt&&!Ot)){for(var Mr=Z.iconDependencies,yr=Z.glyphDependencies,Zr=Z.availableImages,un=new Ta(this.zoom),_n=0,Ln=z;_n=0;for(var Yo=0,xo=xi.sections;Yo=0;At--)Oe[At]={x:Z[At].x,y:Z[At].y,tileUnitDistanceFromAnchor:Pe},At>0&&(Pe+=Z[At-1].dist(Z[At]));for(var zt=0;zt0},Wo.prototype.hasIconData=function(){return this.icon.segments.get().length>0},Wo.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},Wo.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},Wo.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},Wo.prototype.addIndicesForPlacedSymbol=function(z,Z){for(var se=z.placedSymbolArray.get(Z),ye=se.vertexStartIndex+se.numGlyphs*4,Pe=se.vertexStartIndex;Pe1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(z),this.sortedAngle=z,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var se=0,ye=this.symbolInstanceIndexes;se=0&&zt.indexOf(st)===At&&Z.addIndicesForPlacedSymbol(Z.text,st)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},de("SymbolBucket",Wo,{omit:["layers","collisionBoxArray","features","compareText"]}),Wo.MAX_GLYPHS=65535,Wo.addDynamicAttributes=Xy;function NM(I,z){return z.replace(/{([^{}]+)}/g,function(Z,se){return se in I?String(I[se]):""})}var UM=new ys({"symbol-placement":new ni(sr.layout_symbol["symbol-placement"]),"symbol-spacing":new ni(sr.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new ni(sr.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new vi(sr.layout_symbol["symbol-sort-key"]),"symbol-z-order":new ni(sr.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new ni(sr.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new ni(sr.layout_symbol["icon-ignore-placement"]),"icon-optional":new ni(sr.layout_symbol["icon-optional"]),"icon-rotation-alignment":new ni(sr.layout_symbol["icon-rotation-alignment"]),"icon-size":new vi(sr.layout_symbol["icon-size"]),"icon-text-fit":new ni(sr.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new ni(sr.layout_symbol["icon-text-fit-padding"]),"icon-image":new vi(sr.layout_symbol["icon-image"]),"icon-rotate":new vi(sr.layout_symbol["icon-rotate"]),"icon-padding":new ni(sr.layout_symbol["icon-padding"]),"icon-keep-upright":new ni(sr.layout_symbol["icon-keep-upright"]),"icon-offset":new vi(sr.layout_symbol["icon-offset"]),"icon-anchor":new vi(sr.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new ni(sr.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new ni(sr.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new ni(sr.layout_symbol["text-rotation-alignment"]),"text-field":new vi(sr.layout_symbol["text-field"]),"text-font":new vi(sr.layout_symbol["text-font"]),"text-size":new vi(sr.layout_symbol["text-size"]),"text-max-width":new vi(sr.layout_symbol["text-max-width"]),"text-line-height":new ni(sr.layout_symbol["text-line-height"]),"text-letter-spacing":new vi(sr.layout_symbol["text-letter-spacing"]),"text-justify":new vi(sr.layout_symbol["text-justify"]),"text-radial-offset":new vi(sr.layout_symbol["text-radial-offset"]),"text-variable-anchor":new ni(sr.layout_symbol["text-variable-anchor"]),"text-anchor":new vi(sr.layout_symbol["text-anchor"]),"text-max-angle":new ni(sr.layout_symbol["text-max-angle"]),"text-writing-mode":new ni(sr.layout_symbol["text-writing-mode"]),"text-rotate":new vi(sr.layout_symbol["text-rotate"]),"text-padding":new ni(sr.layout_symbol["text-padding"]),"text-keep-upright":new ni(sr.layout_symbol["text-keep-upright"]),"text-transform":new vi(sr.layout_symbol["text-transform"]),"text-offset":new vi(sr.layout_symbol["text-offset"]),"text-allow-overlap":new ni(sr.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new ni(sr.layout_symbol["text-ignore-placement"]),"text-optional":new ni(sr.layout_symbol["text-optional"])}),HM=new ys({"icon-opacity":new vi(sr.paint_symbol["icon-opacity"]),"icon-color":new vi(sr.paint_symbol["icon-color"]),"icon-halo-color":new vi(sr.paint_symbol["icon-halo-color"]),"icon-halo-width":new vi(sr.paint_symbol["icon-halo-width"]),"icon-halo-blur":new vi(sr.paint_symbol["icon-halo-blur"]),"icon-translate":new ni(sr.paint_symbol["icon-translate"]),"icon-translate-anchor":new ni(sr.paint_symbol["icon-translate-anchor"]),"text-opacity":new vi(sr.paint_symbol["text-opacity"]),"text-color":new vi(sr.paint_symbol["text-color"],{runtimeType:ha,getOverride:function(I){return I.textColor},hasOverride:function(I){return!!I.textColor}}),"text-halo-color":new vi(sr.paint_symbol["text-halo-color"]),"text-halo-width":new vi(sr.paint_symbol["text-halo-width"]),"text-halo-blur":new vi(sr.paint_symbol["text-halo-blur"]),"text-translate":new ni(sr.paint_symbol["text-translate"]),"text-translate-anchor":new ni(sr.paint_symbol["text-translate-anchor"])}),$y={paint:HM,layout:UM},Sv=function(z){this.type=z.property.overrides?z.property.overrides.runtimeType:en,this.defaultValue=z};Sv.prototype.evaluate=function(z){if(z.formattedSection){var Z=this.defaultValue.property.overrides;if(Z&&Z.hasOverride(z.formattedSection))return Z.getOverride(z.formattedSection)}return z.feature&&z.featureState?this.defaultValue.evaluate(z.feature,z.featureState):this.defaultValue.property.specification.default},Sv.prototype.eachChild=function(z){if(!this.defaultValue.isConstant()){var Z=this.defaultValue.value;z(Z._styleExpression.expression)}},Sv.prototype.outputDefined=function(){return!1},Sv.prototype.serialize=function(){return null},de("FormatSectionOverride",Sv,{omit:["defaultValue"]});var VM=function(I){function z(Z){I.call(this,Z,$y)}return I&&(z.__proto__=I),z.prototype=Object.create(I&&I.prototype),z.prototype.constructor=z,z.prototype.recalculate=function(se,ye){if(I.prototype.recalculate.call(this,se,ye),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Pe=this.layout.get("text-writing-mode");if(Pe){for(var Oe=[],st=0,At=Pe;st",targetMapId:ye,sourceMapId:Oe.mapId})}}},Mv.prototype.receive=function(z){var Z=z.data,se=Z.id;if(se&&!(Z.targetMapId&&this.mapId!==Z.targetMapId))if(Z.type===""){delete this.tasks[se];var ye=this.cancelCallbacks[se];delete this.cancelCallbacks[se],ye&&ye()}else N()||Z.mustQueue?(this.tasks[se]=Z,this.taskQueue.push(se),this.invoker.trigger()):this.processTask(se,Z)},Mv.prototype.process=function(){if(this.taskQueue.length){var z=this.taskQueue.shift(),Z=this.tasks[z];delete this.tasks[z],this.taskQueue.length&&this.invoker.trigger(),Z&&this.processTask(z,Z)}},Mv.prototype.processTask=function(z,Z){var se=this;if(Z.type===""){var ye=this.callbacks[z];delete this.callbacks[z],ye&&(Z.error?ye(mt(Z.error)):ye(null,mt(Z.data)))}else{var Pe=!1,Oe=Q(this.globalScope)?void 0:[],st=Z.hasCallback?function(Mr,yr){Pe=!0,delete se.cancelCallbacks[z],se.target.postMessage({id:z,type:"",sourceMapId:se.mapId,error:Mr?dt(Mr):null,data:dt(yr,Oe)},Oe)}:function(Mr){Pe=!0},At=null,zt=mt(Z.data);if(this.parent[Z.type])At=this.parent[Z.type](Z.sourceMapId,zt,st);else if(this.parent.getWorkerSource){var Ot=Z.type.split("."),ar=this.parent.getWorkerSource(Z.sourceMapId,Ot[0],zt.source);At=ar[Ot[1]](zt,st)}else st(new Error("Could not find function "+Z.type));!Pe&&At&&At.cancel&&(this.cancelCallbacks[z]=At.cancel)}},Mv.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};function qM(I,z,Z){z=Math.pow(2,Z)-z-1;var se=Z5(I*256,z*256,Z),ye=Z5((I+1)*256,(z+1)*256,Z);return se[0]+","+se[1]+","+ye[0]+","+ye[1]}function Z5(I,z,Z){var se=2*Math.PI*6378137/256/Math.pow(2,Z),ye=I*se-2*Math.PI*6378137/2,Pe=z*se-2*Math.PI*6378137/2;return[ye,Pe]}var ll=function(z,Z){z&&(Z?this.setSouthWest(z).setNorthEast(Z):z.length===4?this.setSouthWest([z[0],z[1]]).setNorthEast([z[2],z[3]]):this.setSouthWest(z[0]).setNorthEast(z[1]))};ll.prototype.setNorthEast=function(z){return this._ne=z instanceof xs?new xs(z.lng,z.lat):xs.convert(z),this},ll.prototype.setSouthWest=function(z){return this._sw=z instanceof xs?new xs(z.lng,z.lat):xs.convert(z),this},ll.prototype.extend=function(z){var Z=this._sw,se=this._ne,ye,Pe;if(z instanceof xs)ye=z,Pe=z;else if(z instanceof ll){if(ye=z._sw,Pe=z._ne,!ye||!Pe)return this}else{if(Array.isArray(z))if(z.length===4||z.every(Array.isArray)){var Oe=z;return this.extend(ll.convert(Oe))}else{var st=z;return this.extend(xs.convert(st))}return this}return!Z&&!se?(this._sw=new xs(ye.lng,ye.lat),this._ne=new xs(Pe.lng,Pe.lat)):(Z.lng=Math.min(ye.lng,Z.lng),Z.lat=Math.min(ye.lat,Z.lat),se.lng=Math.max(Pe.lng,se.lng),se.lat=Math.max(Pe.lat,se.lat)),this},ll.prototype.getCenter=function(){return new xs((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},ll.prototype.getSouthWest=function(){return this._sw},ll.prototype.getNorthEast=function(){return this._ne},ll.prototype.getNorthWest=function(){return new xs(this.getWest(),this.getNorth())},ll.prototype.getSouthEast=function(){return new xs(this.getEast(),this.getSouth())},ll.prototype.getWest=function(){return this._sw.lng},ll.prototype.getSouth=function(){return this._sw.lat},ll.prototype.getEast=function(){return this._ne.lng},ll.prototype.getNorth=function(){return this._ne.lat},ll.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},ll.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},ll.prototype.isEmpty=function(){return!(this._sw&&this._ne)},ll.prototype.contains=function(z){var Z=xs.convert(z),se=Z.lng,ye=Z.lat,Pe=this._sw.lat<=ye&&ye<=this._ne.lat,Oe=this._sw.lng<=se&&se<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=se&&se>=this._ne.lng),Pe&&Oe},ll.convert=function(z){return!z||z instanceof ll?z:new ll(z)};var j5=63710088e-1,xs=function(z,Z){if(isNaN(z)||isNaN(Z))throw new Error("Invalid LngLat object: ("+z+", "+Z+")");if(this.lng=+z,this.lat=+Z,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};xs.prototype.wrap=function(){return new xs(b(this.lng,-180,180),this.lat)},xs.prototype.toArray=function(){return[this.lng,this.lat]},xs.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},xs.prototype.distanceTo=function(z){var Z=Math.PI/180,se=this.lat*Z,ye=z.lat*Z,Pe=Math.sin(se)*Math.sin(ye)+Math.cos(se)*Math.cos(ye)*Math.cos((z.lng-this.lng)*Z),Oe=j5*Math.acos(Math.min(Pe,1));return Oe},xs.prototype.toBounds=function(z){z===void 0&&(z=0);var Z=40075017,se=360*z/Z,ye=se/Math.cos(Math.PI/180*this.lat);return new ll(new xs(this.lng-ye,this.lat-se),new xs(this.lng+ye,this.lat+se))},xs.convert=function(z){if(z instanceof xs)return z;if(Array.isArray(z)&&(z.length===2||z.length===3))return new xs(Number(z[0]),Number(z[1]));if(!Array.isArray(z)&&typeof z=="object"&&z!==null)return new xs(Number("lng"in z?z.lng:z.lon),Number(z.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var X5=2*Math.PI*j5;function $5(I){return X5*Math.cos(I*Math.PI/180)}function K5(I){return(180+I)/360}function J5(I){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+I*Math.PI/360)))/360}function Q5(I,z){return I/$5(z)}function eC(I){return I*360-180}function Jy(I){var z=180-I*360;return 360/Math.PI*Math.atan(Math.exp(z*Math.PI/180))-90}function tC(I,z){return I*$5(Jy(z))}function rC(I){return 1/Math.cos(I*Math.PI/180)}var Id=function(z,Z,se){se===void 0&&(se=0),this.x=+z,this.y=+Z,this.z=+se};Id.fromLngLat=function(z,Z){Z===void 0&&(Z=0);var se=xs.convert(z);return new Id(K5(se.lng),J5(se.lat),Q5(Z,se.lat))},Id.prototype.toLngLat=function(){return new xs(eC(this.x),Jy(this.y))},Id.prototype.toAltitude=function(){return tC(this.z,this.y)},Id.prototype.meterInMercatorCoordinateUnits=function(){return 1/X5*rC(Jy(this.y))};var zd=function(z,Z,se){this.z=z,this.x=Z,this.y=se,this.key=R1(0,z,z,Z,se)};zd.prototype.equals=function(z){return this.z===z.z&&this.x===z.x&&this.y===z.y},zd.prototype.url=function(z,Z){var se=qM(this.x,this.y,this.z),ye=nC(this.z,this.x,this.y);return z[(this.x+this.y)%z.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String(Z==="tms"?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",ye).replace("{bbox-epsg-3857}",se)},zd.prototype.getTilePoint=function(z){var Z=Math.pow(2,this.z);return new r((z.x*Z-this.x)*yi,(z.y*Z-this.y)*yi)},zd.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var q5=function(z,Z){this.wrap=z,this.canonical=Z,this.key=R1(z,Z.z,Z.z,Z.x,Z.y)},ul=function(z,Z,se,ye,Pe){this.overscaledZ=z,this.wrap=Z,this.canonical=new zd(se,+ye,+Pe),this.key=R1(Z,z,se,ye,Pe)};ul.prototype.equals=function(z){return this.overscaledZ===z.overscaledZ&&this.wrap===z.wrap&&this.canonical.equals(z.canonical)},ul.prototype.scaledTo=function(z){var Z=this.canonical.z-z;return z>this.canonical.z?new ul(z,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ul(z,this.wrap,z,this.canonical.x>>Z,this.canonical.y>>Z)},ul.prototype.calculateScaledKey=function(z,Z){var se=this.canonical.z-z;return z>this.canonical.z?R1(this.wrap*+Z,z,this.canonical.z,this.canonical.x,this.canonical.y):R1(this.wrap*+Z,z,z,this.canonical.x>>se,this.canonical.y>>se)},ul.prototype.isChildOf=function(z){if(z.wrap!==this.wrap)return!1;var Z=this.canonical.z-z.canonical.z;return z.overscaledZ===0||z.overscaledZ>Z&&z.canonical.y===this.canonical.y>>Z},ul.prototype.children=function(z){if(this.overscaledZ>=z)return[new ul(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var Z=this.canonical.z+1,se=this.canonical.x*2,ye=this.canonical.y*2;return[new ul(Z,this.wrap,Z,se,ye),new ul(Z,this.wrap,Z,se+1,ye),new ul(Z,this.wrap,Z,se,ye+1),new ul(Z,this.wrap,Z,se+1,ye+1)]},ul.prototype.isLessThan=function(z){return this.wrapz.wrap?!1:this.overscaledZz.overscaledZ?!1:this.canonical.xz.canonical.x?!1:this.canonical.y0;Pe--)ye=1<=this.dim+1||Z<-1||Z>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(Z+1)*this.stride+(z+1)},hh.prototype._unpackMapbox=function(z,Z,se){return(z*256*256+Z*256+se)/10-1e4},hh.prototype._unpackTerrarium=function(z,Z,se){return z*256+Z+se/256-32768},hh.prototype.getPixels=function(){return new kn({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},hh.prototype.backfillBorder=function(z,Z,se){if(this.dim!==z.dim)throw new Error("dem dimension mismatch");var ye=Z*this.dim,Pe=Z*this.dim+this.dim,Oe=se*this.dim,st=se*this.dim+this.dim;switch(Z){case-1:ye=Pe-1;break;case 1:Pe=ye+1;break}switch(se){case-1:Oe=st-1;break;case 1:st=Oe+1;break}for(var At=-Z*this.dim,zt=-se*this.dim,Ot=Oe;Ot=0&&ar[3]>=0&&At.insert(st,ar[0],ar[1],ar[2],ar[3])}},dh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new vv.VectorTile(new qp(this.rawTileData)).layers,this.sourceLayerCoder=new um(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},dh.prototype.query=function(z,Z,se,ye){var Pe=this;this.loadVTLayers();for(var Oe=z.params||{},st=yi/z.tileSize/z.scale,At=Pa(Oe.filter),zt=z.queryGeometry,Ot=z.queryPadding*st,ar=t6(zt),Mr=this.grid.query(ar.minX-Ot,ar.minY-Ot,ar.maxX+Ot,ar.maxY+Ot),yr=t6(z.cameraQueryGeometry),Zr=this.grid3D.query(yr.minX-Ot,yr.minY-Ot,yr.maxX+Ot,yr.maxY+Ot,function(Aa,Na,Ba,xi){return Qc(z.cameraQueryGeometry,Aa-Ot,Na-Ot,Ba+Ot,xi+Ot)}),un=0,_n=Zr;un<_n.length;un+=1){var Ln=_n[un];Mr.push(Ln)}Mr.sort(iC);for(var ia={},Kn,ra=function(Aa){var Na=Mr[Aa];if(Na!==Kn){Kn=Na;var Ba=Pe.featureIndexArray.get(Na),xi=null;Pe.loadMatchingFeature(ia,Ba.bucketIndex,Ba.sourceLayerIndex,Ba.featureIndex,At,Oe.layers,Oe.availableImages,Z,se,ye,function(Qa,si,Bi){return xi||(xi=go(Qa)),si.queryIntersectsFeature(zt,Qa,Bi,xi,Pe.z,z.transform,st,z.pixelPosMatrix)})}},da=0;daye)Pe=!1;else if(!Z)Pe=!0;else if(this.expirationTime=Lr.maxzoom)&&Lr.visibility!=="none"){n(Ir,this.zoom,wt);var Br=Cr[Lr.id]=Lr.createBucket({index:ur.bucketLayerIDs.length,layers:Ir,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Wt,sourceID:this.source});Br.populate(Gt,mr,this.tileID.canonical),ur.bucketLayerIDs.push(Ir.map(function(_r){return _r.id}))}}}}var zr,cn,tn,an,Wn=a.mapObject(mr.glyphDependencies,function(_r){return Object.keys(_r).map(Number)});Object.keys(Wn).length?Ut.send("getGlyphs",{uid:this.uid,stacks:Wn},function(_r,Vr){zr||(zr=_r,cn=Vr,Qn.call(Qt))}):cn={};var En=Object.keys(mr.iconDependencies);En.length?Ut.send("getImages",{icons:En,source:this.source,tileID:this.tileID,type:"icons"},function(_r,Vr){zr||(zr=_r,tn=Vr,Qn.call(Qt))}):tn={};var pa=Object.keys(mr.patternDependencies);pa.length?Ut.send("getImages",{icons:pa,source:this.source,tileID:this.tileID,type:"patterns"},function(_r,Vr){zr||(zr=_r,an=Vr,Qn.call(Qt))}):an={},Qn.call(this);function Qn(){if(zr)return Ht(zr);if(cn&&tn&&an){var _r=new t(cn),Vr=new a.ImageAtlas(tn,an);for(var qr in Cr){var lr=Cr[qr];lr instanceof a.SymbolBucket?(n(lr.layers,this.zoom,wt),a.performSymbolLayout(lr,cn,_r.positions,tn,Vr.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):lr.hasPattern&&(lr instanceof a.LineBucket||lr instanceof a.FillBucket||lr instanceof a.FillExtrusionBucket)&&(n(lr.layers,this.zoom,wt),lr.addFeatures(mr,this.tileID.canonical,Vr.patternPositions))}this.status="done",Ht(null,{buckets:a.values(Cr).filter(function(dn){return!dn.isEmpty()}),featureIndex:ur,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:_r.image,imageAtlas:Vr,glyphMap:this.returnDependencies?cn:null,iconMap:this.returnDependencies?tn:null,glyphPositions:this.returnDependencies?_r.positions:null})}}};function n(Mt,yt,Rt){for(var wt=new a.EvaluationParameters(yt),Ut=0,Ht=Mt;Ut=0!=!!yt&&Mt.reverse()}var g=a.vectorTile.VectorTileFeature.prototype.toGeoJSON,C=function(yt){this._feature=yt,this.extent=a.EXTENT,this.type=yt.type,this.properties=yt.tags,"id"in yt&&!isNaN(yt.id)&&(this.id=parseInt(yt.id,10))};C.prototype.loadGeometry=function(){if(this._feature.type===1){for(var yt=[],Rt=0,wt=this._feature.geometry;Rt"u"&&(wt.push(qt),ur=wt.length-1,Ht[qt]=ur),yt.writeVarint(ur);var Cr=Rt.properties[qt],mr=typeof Cr;mr!=="string"&&mr!=="boolean"&&mr!=="number"&&(Cr=JSON.stringify(Cr));var Fr=mr+":"+Cr,tt=Qt[Fr];typeof tt>"u"&&(Ut.push(Cr),tt=Ut.length-1,Qt[Fr]=tt),yt.writeVarint(tt)}}function W(Mt,yt){return(yt<<3)+(Mt&7)}function j(Mt){return Mt<<1^Mt>>31}function Q(Mt,yt){for(var Rt=Mt.loadGeometry(),wt=Mt.type,Ut=0,Ht=0,Qt=Rt.length,qt=0;qt>1;pe(Mt,yt,Qt,wt,Ut,Ht%2),ue(Mt,yt,Rt,wt,Qt-1,Ht+1),ue(Mt,yt,Rt,Qt+1,Ut,Ht+1)}}function pe(Mt,yt,Rt,wt,Ut,Ht){for(;Ut>wt;){if(Ut-wt>600){var Qt=Ut-wt+1,qt=Rt-wt+1,ur=Math.log(Qt),Cr=.5*Math.exp(2*ur/3),mr=.5*Math.sqrt(ur*Cr*(Qt-Cr)/Qt)*(qt-Qt/2<0?-1:1),Fr=Math.max(wt,Math.floor(Rt-qt*Cr/Qt+mr)),tt=Math.min(Ut,Math.floor(Rt+(Qt-qt)*Cr/Qt+mr));pe(Mt,yt,Rt,Fr,tt,Ht)}var et=yt[2*Rt+Ht],Wt=wt,Gt=Ut;for(q(Mt,yt,wt,Rt),yt[2*Ut+Ht]>et&&q(Mt,yt,wt,Ut);Wtet;)Gt--}yt[2*wt+Ht]===et?q(Mt,yt,wt,Gt):(Gt++,q(Mt,yt,Gt,Ut)),Gt<=Rt&&(wt=Gt+1),Rt<=Gt&&(Ut=Gt-1)}}function q(Mt,yt,Rt,wt){X(Mt,Rt,wt),X(yt,2*Rt,2*wt),X(yt,2*Rt+1,2*wt+1)}function X(Mt,yt,Rt){var wt=Mt[yt];Mt[yt]=Mt[Rt],Mt[Rt]=wt}function K(Mt,yt,Rt,wt,Ut,Ht,Qt){for(var qt=[0,Mt.length-1,0],ur=[],Cr,mr;qt.length;){var Fr=qt.pop(),tt=qt.pop(),et=qt.pop();if(tt-et<=Qt){for(var Wt=et;Wt<=tt;Wt++)Cr=yt[2*Wt],mr=yt[2*Wt+1],Cr>=Rt&&Cr<=Ut&&mr>=wt&&mr<=Ht&&ur.push(Mt[Wt]);continue}var Gt=Math.floor((et+tt)/2);Cr=yt[2*Gt],mr=yt[2*Gt+1],Cr>=Rt&&Cr<=Ut&&mr>=wt&&mr<=Ht&&ur.push(Mt[Gt]);var or=(Fr+1)%2;(Fr===0?Rt<=Cr:wt<=mr)&&(qt.push(et),qt.push(Gt-1),qt.push(or)),(Fr===0?Ut>=Cr:Ht>=mr)&&(qt.push(Gt+1),qt.push(tt),qt.push(or))}return ur}function J(Mt,yt,Rt,wt,Ut,Ht){for(var Qt=[0,Mt.length-1,0],qt=[],ur=Ut*Ut;Qt.length;){var Cr=Qt.pop(),mr=Qt.pop(),Fr=Qt.pop();if(mr-Fr<=Ht){for(var tt=Fr;tt<=mr;tt++)re(yt[2*tt],yt[2*tt+1],Rt,wt)<=ur&&qt.push(Mt[tt]);continue}var et=Math.floor((Fr+mr)/2),Wt=yt[2*et],Gt=yt[2*et+1];re(Wt,Gt,Rt,wt)<=ur&&qt.push(Mt[et]);var or=(Cr+1)%2;(Cr===0?Rt-Ut<=Wt:wt-Ut<=Gt)&&(Qt.push(Fr),Qt.push(et-1),Qt.push(or)),(Cr===0?Rt+Ut>=Wt:wt+Ut>=Gt)&&(Qt.push(et+1),Qt.push(mr),Qt.push(or))}return qt}function re(Mt,yt,Rt,wt){var Ut=Mt-Rt,Ht=yt-wt;return Ut*Ut+Ht*Ht}var fe=function(Mt){return Mt[0]},te=function(Mt){return Mt[1]},ee=function(yt,Rt,wt,Ut,Ht){Rt===void 0&&(Rt=fe),wt===void 0&&(wt=te),Ut===void 0&&(Ut=64),Ht===void 0&&(Ht=Float64Array),this.nodeSize=Ut,this.points=yt;for(var Qt=yt.length<65536?Uint16Array:Uint32Array,qt=this.ids=new Qt(yt.length),ur=this.coords=new Ht(yt.length*2),Cr=0;Cr=Ut;mr--){var Fr=+Date.now();ur=this._cluster(ur,mr),this.trees[mr]=new ee(ur,Xe,Je,Qt,Float32Array),wt&&console.log("z%d: %d clusters in %dms",mr,ur.length,+Date.now()-Fr)}return wt&&console.timeEnd("total time"),this},le.prototype.getClusters=function(yt,Rt){var wt=((yt[0]+180)%360+360)%360-180,Ut=Math.max(-90,Math.min(90,yt[1])),Ht=yt[2]===180?180:((yt[2]+180)%360+360)%360-180,Qt=Math.max(-90,Math.min(90,yt[3]));if(yt[2]-yt[0]>=360)wt=-180,Ht=180;else if(wt>Ht){var qt=this.getClusters([wt,Ut,180,Qt],Rt),ur=this.getClusters([-180,Ut,Ht,Qt],Rt);return qt.concat(ur)}for(var Cr=this.trees[this._limitZoom(Rt)],mr=Cr.range(We(wt),Ye(Qt),We(Ht),Ye(Ut)),Fr=[],tt=0,et=mr;tt1?this._map(mr,!0):null,wr=(Cr<<5)+(Rt+1)+this.points.length,Tr=0,br=tt;Tr>5},le.prototype._getOriginZoom=function(yt){return(yt-this.points.length)%32},le.prototype._map=function(yt,Rt){if(yt.numPoints)return Rt?Re({},yt.properties):yt.properties;var wt=this.points[yt.index].properties,Ut=this.options.map(wt);return Rt&&Ut===wt?Re({},Ut):Ut};function me(Mt,yt,Rt,wt,Ut){return{x:Mt,y:yt,zoom:1/0,id:Rt,parentId:-1,numPoints:wt,properties:Ut}}function we(Mt,yt){var Rt=Mt.geometry.coordinates,wt=Rt[0],Ut=Rt[1];return{x:We(wt),y:Ye(Ut),zoom:1/0,index:yt,parentId:-1}}function Se(Mt){return{type:"Feature",id:Mt.id,properties:Ee(Mt),geometry:{type:"Point",coordinates:[De(Mt.x),Te(Mt.y)]}}}function Ee(Mt){var yt=Mt.numPoints,Rt=yt>=1e4?Math.round(yt/1e3)+"k":yt>=1e3?Math.round(yt/100)/10+"k":yt;return Re(Re({},Mt.properties),{cluster:!0,cluster_id:Mt.id,point_count:yt,point_count_abbreviated:Rt})}function We(Mt){return Mt/360+.5}function Ye(Mt){var yt=Math.sin(Mt*Math.PI/180),Rt=.5-.25*Math.log((1+yt)/(1-yt))/Math.PI;return Rt<0?0:Rt>1?1:Rt}function De(Mt){return(Mt-.5)*360}function Te(Mt){var yt=(180-Mt*360)*Math.PI/180;return 360*Math.atan(Math.exp(yt))/Math.PI-90}function Re(Mt,yt){for(var Rt in yt)Mt[Rt]=yt[Rt];return Mt}function Xe(Mt){return Mt.x}function Je(Mt){return Mt.y}function He(Mt,yt,Rt,wt){for(var Ut=wt,Ht=Rt-yt>>1,Qt=Rt-yt,qt,ur=Mt[yt],Cr=Mt[yt+1],mr=Mt[Rt],Fr=Mt[Rt+1],tt=yt+3;ttUt)qt=tt,Ut=et;else if(et===Ut){var Wt=Math.abs(tt-Ht);Wtwt&&(qt-yt>3&&He(Mt,yt,qt,wt),Mt[qt+2]=Ut,Rt-qt>3&&He(Mt,qt,Rt,wt))}function $e(Mt,yt,Rt,wt,Ut,Ht){var Qt=Ut-Rt,qt=Ht-wt;if(Qt!==0||qt!==0){var ur=((Mt-Rt)*Qt+(yt-wt)*qt)/(Qt*Qt+qt*qt);ur>1?(Rt=Ut,wt=Ht):ur>0&&(Rt+=Qt*ur,wt+=qt*ur)}return Qt=Mt-Rt,qt=yt-wt,Qt*Qt+qt*qt}function pt(Mt,yt,Rt,wt){var Ut={id:typeof Mt>"u"?null:Mt,type:yt,geometry:Rt,tags:wt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return ut(Ut),Ut}function ut(Mt){var yt=Mt.geometry,Rt=Mt.type;if(Rt==="Point"||Rt==="MultiPoint"||Rt==="LineString")lt(Mt,yt);else if(Rt==="Polygon"||Rt==="MultiLineString")for(var wt=0;wt0&&(wt?Qt+=(Ut*Cr-ur*Ht)/2:Qt+=Math.sqrt(Math.pow(ur-Ut,2)+Math.pow(Cr-Ht,2))),Ut=ur,Ht=Cr}var mr=yt.length-3;yt[2]=1,He(yt,0,mr,Rt),yt[mr+2]=1,yt.size=Math.abs(Qt),yt.start=0,yt.end=yt.size}function vt(Mt,yt,Rt,wt){for(var Ut=0;Ut1?1:Rt}function it(Mt,yt,Rt,wt,Ut,Ht,Qt,qt){if(Rt/=yt,wt/=yt,Ht>=Rt&&Qt=wt)return null;for(var ur=[],Cr=0;Cr=Rt&&Wt=wt)continue;var Gt=[];if(tt==="Point"||tt==="MultiPoint")Ue(Fr,Gt,Rt,wt,Ut);else if(tt==="LineString")_e(Fr,Gt,Rt,wt,Ut,!1,qt.lineMetrics);else if(tt==="MultiLineString")Fe(Fr,Gt,Rt,wt,Ut,!1);else if(tt==="Polygon")Fe(Fr,Gt,Rt,wt,Ut,!0);else if(tt==="MultiPolygon")for(var or=0;or=Rt&&Qt<=wt&&(yt.push(Mt[Ht]),yt.push(Mt[Ht+1]),yt.push(Mt[Ht+2]))}}function _e(Mt,yt,Rt,wt,Ut,Ht,Qt){for(var qt=Ze(Mt),ur=Ut===0?ve:Ie,Cr=Mt.start,mr,Fr,tt=0;ttRt&&(Fr=ur(qt,et,Wt,or,wr,Rt),Qt&&(qt.start=Cr+mr*Fr)):Tr>wt?br=Rt&&(Fr=ur(qt,et,Wt,or,wr,Rt),Kt=!0),br>wt&&Tr<=wt&&(Fr=ur(qt,et,Wt,or,wr,wt),Kt=!0),!Ht&&Kt&&(Qt&&(qt.end=Cr+mr*Fr),yt.push(qt),qt=Ze(Mt)),Qt&&(Cr+=mr)}var Ir=Mt.length-3;et=Mt[Ir],Wt=Mt[Ir+1],Gt=Mt[Ir+2],Tr=Ut===0?et:Wt,Tr>=Rt&&Tr<=wt&&Ce(qt,et,Wt,Gt),Ir=qt.length-3,Ht&&Ir>=3&&(qt[Ir]!==qt[0]||qt[Ir+1]!==qt[1])&&Ce(qt,qt[0],qt[1],qt[2]),qt.length&&yt.push(qt)}function Ze(Mt){var yt=[];return yt.size=Mt.size,yt.start=Mt.start,yt.end=Mt.end,yt}function Fe(Mt,yt,Rt,wt,Ut,Ht){for(var Qt=0;QtQt.maxX&&(Qt.maxX=mr),Fr>Qt.maxY&&(Qt.maxY=Fr)}return Qt}function nr(Mt,yt,Rt,wt){var Ut=yt.geometry,Ht=yt.type,Qt=[];if(Ht==="Point"||Ht==="MultiPoint")for(var qt=0;qt0&&yt.size<(Ut?Qt:wt)){Rt.numPoints+=yt.length/3;return}for(var qt=[],ur=0;urQt)&&(Rt.numSimplified++,qt.push(yt[ur]),qt.push(yt[ur+1])),Rt.numPoints++;Ut&&Dt(qt,Ht),Mt.push(qt)}function Dt(Mt,yt){for(var Rt=0,wt=0,Ut=Mt.length,Ht=Ut-2;wt0===yt)for(wt=0,Ut=Mt.length;wt24)throw new Error("maxZoom should be in the 0-24 range");if(yt.promoteId&&yt.generateId)throw new Error("promoteId and generateId cannot be used together.");var wt=ke(Mt,yt);this.tiles={},this.tileCoords=[],Rt&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",yt.indexMaxZoom,yt.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),wt=Ae(wt,yt),wt.length&&this.splitTile(wt,0,0,0),Rt&&(wt.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}vr.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},vr.prototype.splitTile=function(Mt,yt,Rt,wt,Ut,Ht,Qt){for(var qt=[Mt,yt,Rt,wt],ur=this.options,Cr=ur.debug;qt.length;){wt=qt.pop(),Rt=qt.pop(),yt=qt.pop(),Mt=qt.pop();var mr=1<1&&console.time("creation"),tt=this.tiles[Fr]=kt(Mt,yt,Rt,wt,ur),this.tileCoords.push({z:yt,x:Rt,y:wt}),Cr)){Cr>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",yt,Rt,wt,tt.numFeatures,tt.numPoints,tt.numSimplified),console.timeEnd("creation"));var et="z"+yt;this.stats[et]=(this.stats[et]||0)+1,this.total++}if(tt.source=Mt,Ut){if(yt===ur.maxZoom||yt===Ut)continue;var Wt=1<1&&console.time("clipping");var Gt=.5*ur.buffer/ur.extent,or=.5-Gt,wr=.5+Gt,Tr=1+Gt,br,Kt,Ir,Lr,Br,zr;br=Kt=Ir=Lr=null,Br=it(Mt,mr,Rt-Gt,Rt+wr,0,tt.minX,tt.maxX,ur),zr=it(Mt,mr,Rt+or,Rt+Tr,0,tt.minX,tt.maxX,ur),Mt=null,Br&&(br=it(Br,mr,wt-Gt,wt+wr,1,tt.minY,tt.maxY,ur),Kt=it(Br,mr,wt+or,wt+Tr,1,tt.minY,tt.maxY,ur),Br=null),zr&&(Ir=it(zr,mr,wt-Gt,wt+wr,1,tt.minY,tt.maxY,ur),Lr=it(zr,mr,wt+or,wt+Tr,1,tt.minY,tt.maxY,ur),zr=null),Cr>1&&console.timeEnd("clipping"),qt.push(br||[],yt+1,Rt*2,wt*2),qt.push(Kt||[],yt+1,Rt*2,wt*2+1),qt.push(Ir||[],yt+1,Rt*2+1,wt*2),qt.push(Lr||[],yt+1,Rt*2+1,wt*2+1)}}},vr.prototype.getTile=function(Mt,yt,Rt){var wt=this.options,Ut=wt.extent,Ht=wt.debug;if(Mt<0||Mt>24)return null;var Qt=1<1&&console.log("drilling down to z%d-%d-%d",Mt,yt,Rt);for(var ur=Mt,Cr=yt,mr=Rt,Fr;!Fr&&ur>0;)ur--,Cr=Math.floor(Cr/2),mr=Math.floor(mr/2),Fr=this.tiles[Pr(ur,Cr,mr)];return!Fr||!Fr.source?null:(Ht>1&&console.log("found parent tile z%d-%d-%d",ur,Cr,mr),Ht>1&&console.time("drilling down"),this.splitTile(Fr.source,ur,Cr,mr,Mt,yt,Rt),Ht>1&&console.timeEnd("drilling down"),this.tiles[qt]?ct(this.tiles[qt],Ut):null)};function Pr(Mt,yt,Rt){return((1<=0?0:ge.button},x.remove=function(ge){ge.parentNode&&ge.parentNode.removeChild(ge)};function u(ge,$,xe){var ae,be,Ge,rt=a.browser.devicePixelRatio>1?"@2x":"",xt=a.getJSON($.transformRequest($.normalizeSpriteURL(ge,rt,".json"),a.ResourceType.SpriteJSON),function(gr,Rr){xt=null,Ge||(Ge=gr,ae=Rr,tr())}),It=a.getImage($.transformRequest($.normalizeSpriteURL(ge,rt,".png"),a.ResourceType.SpriteImage),function(gr,Rr){It=null,Ge||(Ge=gr,be=Rr,tr())});function tr(){if(Ge)xe(Ge);else if(ae&&be){var gr=a.browser.getImageData(be),Rr={};for(var Yr in ae){var sn=ae[Yr],pn=sn.width,mn=sn.height,hn=sn.x,Mn=sn.y,Un=sn.sdf,oa=sn.pixelRatio,ma=sn.stretchX,ka=sn.stretchY,Da=sn.content,Ea=new a.RGBAImage({width:pn,height:mn});a.RGBAImage.copy(gr,Ea,{x:hn,y:Mn},{x:0,y:0},{width:pn,height:mn}),Rr[Yr]={data:Ea,pixelRatio:oa,sdf:Un,stretchX:ma,stretchY:ka,content:Da}}xe(null,Rr)}}return{cancel:function(){xt&&(xt.cancel(),xt=null),It&&(It.cancel(),It=null)}}}function b(ge){var $=ge.userImage;if($&&$.render){var xe=$.render();if(xe)return ge.data.replace(new Uint8Array($.data.buffer)),!0}return!1}var h=1,S=function(ge){function $(){ge.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new a.RGBAImage({width:1,height:1}),this.dirty=!0}return ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$,$.prototype.isLoaded=function(){return this.loaded},$.prototype.setLoaded=function(ae){if(this.loaded!==ae&&(this.loaded=ae,ae)){for(var be=0,Ge=this.requestors;be=0?1.2:1))}M.prototype.draw=function(ge){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(ge,this.buffer,this.middle);for(var $=this.ctx.getImageData(0,0,this.size,this.size),xe=new Uint8ClampedArray(this.size*this.size),ae=0;ae65535){gr(new Error("glyphs > 65535 not supported"));return}if(sn.ranges[mn]){gr(null,{stack:Rr,id:Yr,glyph:pn});return}var hn=sn.requests[mn];hn||(hn=sn.requests[mn]=[],P.loadGlyphRange(Rr,mn,ae.url,ae.requestManager,function(Mn,Un){if(Un){for(var oa in Un)ae._doesCharSupportLocalGlyph(+oa)||(sn.glyphs[+oa]=Un[+oa]);sn.ranges[mn]=!0}for(var ma=0,ka=hn;ma1&&(tr=$[++It]);var Rr=Math.abs(gr-tr.left),Yr=Math.abs(gr-tr.right),sn=Math.min(Rr,Yr),pn=void 0,mn=Ge/ae*(be+1);if(tr.isDash){var hn=be-Math.abs(mn);pn=Math.sqrt(sn*sn+hn*hn)}else pn=be-Math.sqrt(sn*sn+mn*mn);this.data[xt+gr]=Math.max(0,Math.min(255,pn+128))}},U.prototype.addRegularDash=function($){for(var xe=$.length-1;xe>=0;--xe){var ae=$[xe],be=$[xe+1];ae.zeroLength?$.splice(xe,1):be&&be.isDash===ae.isDash&&(be.left=ae.left,$.splice(xe,1))}var Ge=$[0],rt=$[$.length-1];Ge.isDash===rt.isDash&&(Ge.left=rt.left-this.width,rt.right=Ge.right+this.width);for(var xt=this.width*this.nextRow,It=0,tr=$[It],gr=0;gr1&&(tr=$[++It]);var Rr=Math.abs(gr-tr.left),Yr=Math.abs(gr-tr.right),sn=Math.min(Rr,Yr),pn=tr.isDash?sn:-sn;this.data[xt+gr]=Math.max(0,Math.min(255,pn+128))}},U.prototype.addDash=function($,xe){var ae=xe?7:0,be=2*ae+1;if(this.nextRow+be>this.height)return a.warnOnce("LineAtlas out of space"),null;for(var Ge=0,rt=0;rt<$.length;rt++)Ge+=$[rt];if(Ge!==0){var xt=this.width/Ge,It=this.getDashRanges($,this.width,xt);xe?this.addRoundDash(It,xt,ae):this.addRegularDash(It)}var tr={y:(this.nextRow+ae+.5)/this.height,height:2*ae/this.height,width:Ge};return this.nextRow+=be,this.dirty=!0,tr},U.prototype.bind=function($){var xe=$.gl;this.texture?(xe.bindTexture(xe.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,xe.texSubImage2D(xe.TEXTURE_2D,0,0,0,this.width,this.height,xe.ALPHA,xe.UNSIGNED_BYTE,this.data))):(this.texture=xe.createTexture(),xe.bindTexture(xe.TEXTURE_2D,this.texture),xe.texParameteri(xe.TEXTURE_2D,xe.TEXTURE_WRAP_S,xe.REPEAT),xe.texParameteri(xe.TEXTURE_2D,xe.TEXTURE_WRAP_T,xe.REPEAT),xe.texParameteri(xe.TEXTURE_2D,xe.TEXTURE_MIN_FILTER,xe.LINEAR),xe.texParameteri(xe.TEXTURE_2D,xe.TEXTURE_MAG_FILTER,xe.LINEAR),xe.texImage2D(xe.TEXTURE_2D,0,xe.ALPHA,this.width,this.height,0,xe.ALPHA,xe.UNSIGNED_BYTE,this.data))};var F=function ge($,xe){this.workerPool=$,this.actors=[],this.currentActor=0,this.id=a.uniqueId();for(var ae=this.workerPool.acquire(this.id),be=0;be=ae.minX&&$.x=ae.minY&&$.y0&&(gr[new a.OverscaledTileID(ae.overscaledZ,xt,be.z,rt,be.y-1).key]={backfilled:!1},gr[new a.OverscaledTileID(ae.overscaledZ,ae.wrap,be.z,be.x,be.y-1).key]={backfilled:!1},gr[new a.OverscaledTileID(ae.overscaledZ,tr,be.z,It,be.y-1).key]={backfilled:!1}),be.y+10&&(Ge.resourceTiming=ae._resourceTiming,ae._resourceTiming=[]),ae.fire(new a.Event("data",Ge))})},$.prototype.onAdd=function(ae){this.map=ae,this.load()},$.prototype.setData=function(ae){var be=this;return this._data=ae,this.fire(new a.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Ge){if(Ge){be.fire(new a.ErrorEvent(Ge));return}var rt={dataType:"source",sourceDataType:"content"};be._collectResourceTiming&&be._resourceTiming&&be._resourceTiming.length>0&&(rt.resourceTiming=be._resourceTiming,be._resourceTiming=[]),be.fire(new a.Event("data",rt))}),this},$.prototype.getClusterExpansionZoom=function(ae,be){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:ae,source:this.id},be),this},$.prototype.getClusterChildren=function(ae,be){return this.actor.send("geojson.getClusterChildren",{clusterId:ae,source:this.id},be),this},$.prototype.getClusterLeaves=function(ae,be,Ge,rt){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:ae,limit:be,offset:Ge},rt),this},$.prototype._updateWorkerData=function(ae){var be=this;this._loaded=!1;var Ge=a.extend({},this.workerOptions),rt=this._data;typeof rt=="string"?(Ge.request=this.map._requestManager.transformRequest(a.browser.resolveURL(rt),a.ResourceType.Source),Ge.request.collectResourceTiming=this._collectResourceTiming):Ge.data=JSON.stringify(rt),this.actor.send(this.type+".loadData",Ge,function(xt,It){be._removed||It&&It.abandoned||(be._loaded=!0,It&&It.resourceTiming&&It.resourceTiming[be.id]&&(be._resourceTiming=It.resourceTiming[be.id].slice(0)),be.actor.send(be.type+".coalesce",{source:Ge.source},null),ae(xt))})},$.prototype.loaded=function(){return this._loaded},$.prototype.loadTile=function(ae,be){var Ge=this,rt=ae.actor?"reloadTile":"loadTile";ae.actor=this.actor;var xt={type:this.type,uid:ae.uid,tileID:ae.tileID,zoom:ae.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:a.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};ae.request=this.actor.send(rt,xt,function(It,tr){return delete ae.request,ae.unloadVectorData(),ae.aborted?be(null):It?be(It):(ae.loadVectorData(tr,Ge.map.painter,rt==="reloadTile"),be(null))})},$.prototype.abortTile=function(ae){ae.request&&(ae.request.cancel(),delete ae.request),ae.aborted=!0},$.prototype.unloadTile=function(ae){ae.unloadVectorData(),this.actor.send("removeTile",{uid:ae.uid,type:this.type,source:this.id})},$.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},$.prototype.serialize=function(){return a.extend({},this._options,{type:this.type,data:this._data})},$.prototype.hasTransition=function(){return!1},$}(a.Evented),j=a.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),Q=function(ge){function $(xe,ae,be,Ge){ge.call(this),this.id=xe,this.dispatcher=be,this.coordinates=ae.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Ge),this.options=ae}return ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$,$.prototype.load=function(ae,be){var Ge=this;this._loaded=!1,this.fire(new a.Event("dataloading",{dataType:"source"})),this.url=this.options.url,a.getImage(this.map._requestManager.transformRequest(this.url,a.ResourceType.Image),function(rt,xt){Ge._loaded=!0,rt?Ge.fire(new a.ErrorEvent(rt)):xt&&(Ge.image=xt,ae&&(Ge.coordinates=ae),be&&be(),Ge._finishLoading())})},$.prototype.loaded=function(){return this._loaded},$.prototype.updateImage=function(ae){var be=this;return!this.image||!ae.url?this:(this.options.url=ae.url,this.load(ae.coordinates,function(){be.texture=null}),this)},$.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new a.Event("data",{dataType:"source",sourceDataType:"metadata"})))},$.prototype.onAdd=function(ae){this.map=ae,this.load()},$.prototype.setCoordinates=function(ae){var be=this;this.coordinates=ae;var Ge=ae.map(a.MercatorCoordinate.fromLngLat);this.tileID=ie(Ge),this.minzoom=this.maxzoom=this.tileID.z;var rt=Ge.map(function(xt){return be.tileID.getTilePoint(xt)._round()});return this._boundsArray=new a.StructArrayLayout4i8,this._boundsArray.emplaceBack(rt[0].x,rt[0].y,0,0),this._boundsArray.emplaceBack(rt[1].x,rt[1].y,a.EXTENT,0),this._boundsArray.emplaceBack(rt[3].x,rt[3].y,0,a.EXTENT),this._boundsArray.emplaceBack(rt[2].x,rt[2].y,a.EXTENT,a.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new a.Event("data",{dataType:"source",sourceDataType:"content"})),this},$.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||!this.image)){var ae=this.map.painter.context,be=ae.gl;this.boundsBuffer||(this.boundsBuffer=ae.createVertexBuffer(this._boundsArray,j.members)),this.boundsSegments||(this.boundsSegments=a.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new a.Texture(ae,this.image,be.RGBA),this.texture.bind(be.LINEAR,be.CLAMP_TO_EDGE));for(var Ge in this.tiles){var rt=this.tiles[Ge];rt.state!=="loaded"&&(rt.state="loaded",rt.texture=this.texture)}}},$.prototype.loadTile=function(ae,be){this.tileID&&this.tileID.equals(ae.tileID.canonical)?(this.tiles[String(ae.tileID.wrap)]=ae,ae.buckets={},be(null)):(ae.state="errored",be(null))},$.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},$.prototype.hasTransition=function(){return!1},$}(a.Evented);function ie(ge){for(var $=1/0,xe=1/0,ae=-1/0,be=-1/0,Ge=0,rt=ge;Gebe.end(0)?this.fire(new a.ErrorEvent(new a.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+be.start(0)+" and "+be.end(0)+"-second mark."))):this.video.currentTime=ae}},$.prototype.getVideo=function(){return this.video},$.prototype.onAdd=function(ae){this.map||(this.map=ae,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},$.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var ae=this.map.painter.context,be=ae.gl;this.boundsBuffer||(this.boundsBuffer=ae.createVertexBuffer(this._boundsArray,j.members)),this.boundsSegments||(this.boundsSegments=a.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(be.LINEAR,be.CLAMP_TO_EDGE),be.texSubImage2D(be.TEXTURE_2D,0,0,0,be.RGBA,be.UNSIGNED_BYTE,this.video)):(this.texture=new a.Texture(ae,this.video,be.RGBA),this.texture.bind(be.LINEAR,be.CLAMP_TO_EDGE));for(var Ge in this.tiles){var rt=this.tiles[Ge];rt.state!=="loaded"&&(rt.state="loaded",rt.texture=this.texture)}}},$.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},$.prototype.hasTransition=function(){return this.video&&!this.video.paused},$}(Q),pe=function(ge){function $(xe,ae,be,Ge){ge.call(this,xe,ae,be,Ge),ae.coordinates?(!Array.isArray(ae.coordinates)||ae.coordinates.length!==4||ae.coordinates.some(function(rt){return!Array.isArray(rt)||rt.length!==2||rt.some(function(xt){return typeof xt!="number"})}))&&this.fire(new a.ErrorEvent(new a.ValidationError("sources."+xe,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new a.ErrorEvent(new a.ValidationError("sources."+xe,null,'missing required property "coordinates"'))),ae.animate&&typeof ae.animate!="boolean"&&this.fire(new a.ErrorEvent(new a.ValidationError("sources."+xe,null,'optional "animate" property must be a boolean value'))),ae.canvas?typeof ae.canvas!="string"&&!(ae.canvas instanceof a.window.HTMLCanvasElement)&&this.fire(new a.ErrorEvent(new a.ValidationError("sources."+xe,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new a.ErrorEvent(new a.ValidationError("sources."+xe,null,'missing required property "canvas"'))),this.options=ae,this.animate=ae.animate!==void 0?ae.animate:!0}return ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$,$.prototype.load=function(){if(this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof a.window.HTMLCanvasElement?this.options.canvas:a.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()){this.fire(new a.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero.")));return}this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading()},$.prototype.getCanvas=function(){return this.canvas},$.prototype.onAdd=function(ae){this.map=ae,this.load(),this.canvas&&this.animate&&this.play()},$.prototype.onRemove=function(){this.pause()},$.prototype.prepare=function(){var ae=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,ae=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,ae=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var be=this.map.painter.context,Ge=be.gl;this.boundsBuffer||(this.boundsBuffer=be.createVertexBuffer(this._boundsArray,j.members)),this.boundsSegments||(this.boundsSegments=a.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(ae||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new a.Texture(be,this.canvas,Ge.RGBA,{premultiply:!0});for(var rt in this.tiles){var xt=this.tiles[rt];xt.state!=="loaded"&&(xt.state="loaded",xt.texture=this.texture)}}},$.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},$.prototype.hasTransition=function(){return this._playing},$.prototype._hasInvalidDimensions=function(){for(var ae=0,be=[this.canvas.width,this.canvas.height];aethis.max){var xt=this._getAndRemoveByKey(this.order[0]);xt&&this.onRemove(xt)}return this},we.prototype.has=function($){return $.wrapped().key in this.data},we.prototype.getAndRemove=function($){return this.has($)?this._getAndRemoveByKey($.wrapped().key):null},we.prototype._getAndRemoveByKey=function($){var xe=this.data[$].shift();return xe.timeout&&clearTimeout(xe.timeout),this.data[$].length===0&&delete this.data[$],this.order.splice(this.order.indexOf($),1),xe.value},we.prototype.getByKey=function($){var xe=this.data[$];return xe?xe[0].value:null},we.prototype.get=function($){if(!this.has($))return null;var xe=this.data[$.wrapped().key][0];return xe.value},we.prototype.remove=function($,xe){if(!this.has($))return this;var ae=$.wrapped().key,be=xe===void 0?0:this.data[ae].indexOf(xe),Ge=this.data[ae][be];return this.data[ae].splice(be,1),Ge.timeout&&clearTimeout(Ge.timeout),this.data[ae].length===0&&delete this.data[ae],this.onRemove(Ge.value),this.order.splice(this.order.indexOf(ae),1),this},we.prototype.setMaxSize=function($){for(this.max=$;this.order.length>this.max;){var xe=this._getAndRemoveByKey(this.order[0]);xe&&this.onRemove(xe)}return this},we.prototype.filter=function($){var xe=[];for(var ae in this.data)for(var be=0,Ge=this.data[ae];be1||(Math.abs(Rr)>1&&(Math.abs(Rr+sn)===1?Rr+=sn:Math.abs(Rr-sn)===1&&(Rr-=sn)),!(!gr.dem||!tr.dem)&&(tr.dem.backfillBorder(gr.dem,Rr,Yr),tr.neighboringTiles&&tr.neighboringTiles[pn]&&(tr.neighboringTiles[pn].backfilled=!0)))}},$.prototype.getTile=function(ae){return this.getTileByID(ae.key)},$.prototype.getTileByID=function(ae){return this._tiles[ae]},$.prototype._retainLoadedChildren=function(ae,be,Ge,rt){for(var xt in this._tiles){var It=this._tiles[xt];if(!(rt[xt]||!It.hasData()||It.tileID.overscaledZ<=be||It.tileID.overscaledZ>Ge)){for(var tr=It.tileID;It&&It.tileID.overscaledZ>be+1;){var gr=It.tileID.scaledTo(It.tileID.overscaledZ-1);It=this._tiles[gr.key],It&&It.hasData()&&(tr=gr)}for(var Rr=tr;Rr.overscaledZ>be;)if(Rr=Rr.scaledTo(Rr.overscaledZ-1),ae[Rr.key]){rt[tr.key]=tr;break}}}},$.prototype.findLoadedParent=function(ae,be){if(ae.key in this._loadedParentTiles){var Ge=this._loadedParentTiles[ae.key];return Ge&&Ge.tileID.overscaledZ>=be?Ge:null}for(var rt=ae.overscaledZ-1;rt>=be;rt--){var xt=ae.scaledTo(rt),It=this._getLoadedTile(xt);if(It)return It}},$.prototype._getLoadedTile=function(ae){var be=this._tiles[ae.key];if(be&&be.hasData())return be;var Ge=this._cache.getByKey(ae.wrapped().key);return Ge},$.prototype.updateCacheSize=function(ae){var be=Math.ceil(ae.width/this._source.tileSize)+1,Ge=Math.ceil(ae.height/this._source.tileSize)+1,rt=be*Ge,xt=5,It=Math.floor(rt*xt),tr=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,It):It;this._cache.setMaxSize(tr)},$.prototype.handleWrapJump=function(ae){var be=this._prevLng===void 0?ae:this._prevLng,Ge=ae-be,rt=Ge/360,xt=Math.round(rt);if(this._prevLng=ae,xt){var It={};for(var tr in this._tiles){var gr=this._tiles[tr];gr.tileID=gr.tileID.unwrapTo(gr.tileID.wrap+xt),It[gr.tileID.key]=gr}this._tiles=It;for(var Rr in this._timers)clearTimeout(this._timers[Rr]),delete this._timers[Rr];for(var Yr in this._tiles){var sn=this._tiles[Yr];this._setTileReloadTimer(Yr,sn)}}},$.prototype.update=function(ae){var be=this;if(this.transform=ae,!(!this._sourceLoaded||this._paused)){this.updateCacheSize(ae),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={};var Ge;this.used?this._source.tileID?Ge=ae.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Xa){return new a.OverscaledTileID(Xa.canonical.z,Xa.wrap,Xa.canonical.z,Xa.canonical.x,Xa.canonical.y)}):(Ge=ae.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Ge=Ge.filter(function(Xa){return be._source.hasTile(Xa)}))):Ge=[];var rt=ae.coveringZoomLevel(this._source),xt=Math.max(rt-$.maxOverzooming,this._source.minzoom),It=Math.max(rt+$.maxUnderzooming,this._source.minzoom),tr=this._updateRetainedTiles(Ge,rt);if(ur(this._source.type)){for(var gr={},Rr={},Yr=Object.keys(tr),sn=0,pn=Yr;snthis._source.maxzoom){var Un=hn.children(this._source.maxzoom)[0],oa=this.getTile(Un);if(oa&&oa.hasData()){Ge[Un.key]=Un;continue}}else{var ma=hn.children(this._source.maxzoom);if(Ge[ma[0].key]&&Ge[ma[1].key]&&Ge[ma[2].key]&&Ge[ma[3].key])continue}for(var ka=Mn.wasRequested(),Da=hn.overscaledZ-1;Da>=xt;--Da){var Ea=hn.scaledTo(Da);if(rt[Ea.key]||(rt[Ea.key]=!0,Mn=this.getTile(Ea),!Mn&&ka&&(Mn=this._addTile(Ea)),Mn&&(Ge[Ea.key]=Ea,ka=Mn.wasRequested(),Mn.hasData())))break}}}return Ge},$.prototype._updateLoadedParentTileCache=function(){this._loadedParentTiles={};for(var ae in this._tiles){for(var be=[],Ge=void 0,rt=this._tiles[ae].tileID;rt.overscaledZ>0;){if(rt.key in this._loadedParentTiles){Ge=this._loadedParentTiles[rt.key];break}be.push(rt.key);var xt=rt.scaledTo(rt.overscaledZ-1);if(Ge=this._getLoadedTile(xt),Ge)break;rt=xt}for(var It=0,tr=be;It0)&&(be.hasData()&&be.state!=="reloading"?this._cache.add(be.tileID,be,be.getExpiryTimeout()):(be.aborted=!0,this._abortTile(be),this._unloadTile(be))))},$.prototype.clearTiles=function(){this._shouldReloadOnResume=!1,this._paused=!1;for(var ae in this._tiles)this._removeTile(ae);this._cache.reset()},$.prototype.tilesIn=function(ae,be,Ge){var rt=this,xt=[],It=this.transform;if(!It)return xt;for(var tr=Ge?It.getCameraQueryGeometry(ae):ae,gr=ae.map(function(Da){return It.pointCoordinate(Da)}),Rr=tr.map(function(Da){return It.pointCoordinate(Da)}),Yr=this.getIds(),sn=1/0,pn=1/0,mn=-1/0,hn=-1/0,Mn=0,Un=Rr;Mn=0&&qa[1].y+Xa>=0){var ui=gr.map(function(Ii){return Ha.getTilePoint(Ii)}),bi=Rr.map(function(Ii){return Ha.getTilePoint(Ii)});xt.push({tile:Ea,tileID:Ha,queryGeometry:ui,cameraQueryGeometry:bi,scale:Wa})}}},ka=0;ka=a.browser.now())return!0}return!1},$.prototype.setFeatureState=function(ae,be,Ge){ae=ae||"_geojsonTileLayer",this._state.updateState(ae,be,Ge)},$.prototype.removeFeatureState=function(ae,be,Ge){ae=ae||"_geojsonTileLayer",this._state.removeFeatureState(ae,be,Ge)},$.prototype.getFeatureState=function(ae,be){return ae=ae||"_geojsonTileLayer",this._state.getState(ae,be)},$.prototype.setDependencies=function(ae,be,Ge){var rt=this._tiles[ae];rt&&rt.setDependencies(be,Ge)},$.prototype.reloadTilesForDependencies=function(ae,be){for(var Ge in this._tiles){var rt=this._tiles[Ge];rt.hasDependency(ae,be)&&this._reloadTile(Ge,"reloading")}this._cache.filter(function(xt){return!xt.hasDependency(ae,be)})},$}(a.Evented);Qt.maxOverzooming=10,Qt.maxUnderzooming=3;function qt(ge,$){var xe=Math.abs(ge.wrap*2)-+(ge.wrap<0),ae=Math.abs($.wrap*2)-+($.wrap<0);return ge.overscaledZ-$.overscaledZ||ae-xe||$.canonical.y-ge.canonical.y||$.canonical.x-ge.canonical.x}function ur(ge){return ge==="raster"||ge==="image"||ge==="video"}function Cr(){return new a.window.Worker(sv.workerUrl)}var mr="mapboxgl_preloaded_worker_pool",Fr=function(){this.active={}};Fr.prototype.acquire=function($){if(!this.workers)for(this.workers=[];this.workers.length0?(be-rt)/xt:0;return this.points[Ge].mult(1-It).add(this.points[xe].mult(It))};var _r=function($,xe,ae){var be=this.boxCells=[],Ge=this.circleCells=[];this.xCellCount=Math.ceil($/ae),this.yCellCount=Math.ceil(xe/ae);for(var rt=0;rtthis.width||be<0||xe>this.height)return Ge?!1:[];var xt=[];if($<=0&&xe<=0&&this.width<=ae&&this.height<=be){if(Ge)return!0;for(var It=0;It0:xt}},_r.prototype._queryCircle=function($,xe,ae,be,Ge){var rt=$-ae,xt=$+ae,It=xe-ae,tr=xe+ae;if(xt<0||rt>this.width||tr<0||It>this.height)return be?!1:[];var gr=[],Rr={hitTest:be,circle:{x:$,y:xe,radius:ae},seenUids:{box:{},circle:{}}};return this._forEachCell(rt,It,xt,tr,this._queryCellCircle,gr,Rr,Ge),be?gr.length>0:gr},_r.prototype.query=function($,xe,ae,be,Ge){return this._query($,xe,ae,be,!1,Ge)},_r.prototype.hitTest=function($,xe,ae,be,Ge){return this._query($,xe,ae,be,!0,Ge)},_r.prototype.hitTestCircle=function($,xe,ae,be){return this._queryCircle($,xe,ae,!0,be)},_r.prototype._queryCell=function($,xe,ae,be,Ge,rt,xt,It){var tr=xt.seenUids,gr=this.boxCells[Ge];if(gr!==null)for(var Rr=this.bboxes,Yr=0,sn=gr;Yr=Rr[mn+0]&&be>=Rr[mn+1]&&(!It||It(this.boxKeys[pn]))){if(xt.hitTest)return rt.push(!0),!0;rt.push({key:this.boxKeys[pn],x1:Rr[mn],y1:Rr[mn+1],x2:Rr[mn+2],y2:Rr[mn+3]})}}}var hn=this.circleCells[Ge];if(hn!==null)for(var Mn=this.circles,Un=0,oa=hn;Unxt*xt+It*It},_r.prototype._circleAndRectCollide=function($,xe,ae,be,Ge,rt,xt){var It=(rt-be)/2,tr=Math.abs($-(be+It));if(tr>It+ae)return!1;var gr=(xt-Ge)/2,Rr=Math.abs(xe-(Ge+gr));if(Rr>gr+ae)return!1;if(tr<=It||Rr<=gr)return!0;var Yr=tr-It,sn=Rr-gr;return Yr*Yr+sn*sn<=ae*ae};function Vr(ge,$,xe,ae,be){var Ge=a.create();return $?(a.scale(Ge,Ge,[1/be,1/be,1]),xe||a.rotateZ(Ge,Ge,ae.angle)):a.multiply(Ge,ae.labelPlaneMatrix,ge),Ge}function qr(ge,$,xe,ae,be){if($){var Ge=a.clone(ge);return a.scale(Ge,Ge,[be,be,1]),xe||a.rotateZ(Ge,Ge,-ae.angle),Ge}else return ae.glCoordMatrix}function lr(ge,$){var xe=[ge.x,ge.y,0,1];Xr(xe,xe,$);var ae=xe[3];return{point:new a.Point(xe[0]/ae,xe[1]/ae),signedDistanceFromCamera:ae}}function dn(ge,$){return .5+.5*(ge/$)}function zn(ge,$){var xe=ge[0]/ge[3],ae=ge[1]/ge[3],be=xe>=-$[0]&&xe<=$[0]&&ae>=-$[1]&&ae<=$[1];return be}function gn(ge,$,xe,ae,be,Ge,rt,xt){var It=ae?ge.textSizeData:ge.iconSizeData,tr=a.evaluateSizeForZoom(It,xe.transform.zoom),gr=[256/xe.width*2+1,256/xe.height*2+1],Rr=ae?ge.text.dynamicLayoutVertexArray:ge.icon.dynamicLayoutVertexArray;Rr.clear();for(var Yr=ge.lineVertexArray,sn=ae?ge.text.placedSymbolArray:ge.icon.placedSymbolArray,pn=xe.transform.width/xe.transform.height,mn=!1,hn=0;hnGe)return{useVertical:!0}}return(ge===a.WritingMode.vertical?$.yxe.x)?{needsFlipping:!0}:null}function Ma(ge,$,xe,ae,be,Ge,rt,xt,It,tr,gr,Rr,Yr,sn){var pn=$/24,mn=ge.lineOffsetX*pn,hn=ge.lineOffsetY*pn,Mn;if(ge.numGlyphs>1){var Un=ge.glyphStartIndex+ge.numGlyphs,oa=ge.lineStartIndex,ma=ge.lineStartIndex+ge.lineLength,ka=Fn(pn,xt,mn,hn,xe,gr,Rr,ge,It,Ge,Yr);if(!ka)return{notEnoughRoom:!0};var Da=lr(ka.first.point,rt).point,Ea=lr(ka.last.point,rt).point;if(ae&&!xe){var Ha=fa(ge.writingMode,Da,Ea,sn);if(Ha)return Ha}Mn=[ka.first];for(var Wa=ge.glyphStartIndex+1;Wa0?bi.point:Sa(Rr,ui,Xa,1,be),co=fa(ge.writingMode,Xa,Ii,sn);if(co)return co}var Hi=_a(pn*xt.getoffsetX(ge.glyphStartIndex),mn,hn,xe,gr,Rr,ge.segment,ge.lineStartIndex,ge.lineStartIndex+ge.lineLength,It,Ge,Yr);if(!Hi)return{notEnoughRoom:!0};Mn=[Hi]}for(var Qi=0,yi=Mn;Qi0?1:-1,pn=0;ae&&(sn*=-1,pn=Math.PI),sn<0&&(pn+=Math.PI);for(var mn=sn>0?xt+rt:xt+rt+1,hn=be,Mn=be,Un=0,oa=0,ma=Math.abs(Yr),ka=[];Un+oa<=ma;){if(mn+=sn,mn=It)return null;if(Mn=hn,ka.push(hn),hn=Rr[mn],hn===void 0){var Da=new a.Point(tr.getx(mn),tr.gety(mn)),Ea=lr(Da,gr);if(Ea.signedDistanceFromCamera>0)hn=Rr[mn]=Ea.point;else{var Ha=mn-sn,Wa=Un===0?Ge:new a.Point(tr.getx(Ha),tr.gety(Ha));hn=Sa(Wa,Da,Mn,ma-Un+1,gr)}}Un+=oa,oa=Mn.dist(hn)}var Xa=(ma-Un)/oa,qa=hn.sub(Mn),ui=qa.mult(Xa)._add(Mn);ui._add(qa._unit()._perp()._mult(xe*sn));var bi=pn+Math.atan2(hn.y-Mn.y,hn.x-Mn.x);return ka.push(ui),{point:ui,angle:bi,path:ka}}var qn=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function La(ge,$){for(var xe=0;xe=1;ho--)yi.push(Hi.path[ho]);for(var So=1;So0){for(var Oi=yi[0].clone(),lo=yi[0].clone(),Cs=1;Cs=bi.x&&lo.x<=Ii.x&&Oi.y>=bi.y&&lo.y<=Ii.y?_o=[yi]:lo.xIi.x||lo.yIi.y?_o=[]:_o=a.clipLine([yi],bi.x,bi.y,Ii.x,Ii.y)}for(var Ps=0,ff=_o;Ps=this.screenRightBoundary||bethis.screenBottomBoundary},In.prototype.isInsideGrid=function($,xe,ae,be){return ae>=0&&$=0&&xe0){var ma;return this.prevPlacement&&this.prevPlacement.variableOffsets[Yr.crossTileID]&&this.prevPlacement.placements[Yr.crossTileID]&&this.prevPlacement.placements[Yr.crossTileID].text&&(ma=this.prevPlacement.variableOffsets[Yr.crossTileID].anchor),this.variableOffsets[Yr.crossTileID]={textOffset:hn,width:ae,height:be,anchor:$,textBoxScale:Ge,prevAnchor:ma},this.markUsedJustification(sn,$,Yr,pn),sn.allowVerticalPlacement&&(this.markUsedOrientation(sn,pn,Yr),this.placedOrientations[Yr.crossTileID]=pn),{shift:Mn,placedGlyphBoxes:Un}}},Gr.prototype.placeLayerBucketPart=function($,xe,ae){var be=this,Ge=$.parameters,rt=Ge.bucket,xt=Ge.layout,It=Ge.posMatrix,tr=Ge.textLabelPlaneMatrix,gr=Ge.labelToScreenMatrix,Rr=Ge.textPixelRatio,Yr=Ge.holdingForFade,sn=Ge.collisionBoxArray,pn=Ge.partiallyEvaluatedTextSize,mn=Ge.collisionGroup,hn=xt.get("text-optional"),Mn=xt.get("icon-optional"),Un=xt.get("text-allow-overlap"),oa=xt.get("icon-allow-overlap"),ma=xt.get("text-rotation-alignment")==="map",ka=xt.get("text-pitch-alignment")==="map",Da=xt.get("icon-text-fit")!=="none",Ea=xt.get("symbol-z-order")==="viewport-y",Ha=Un&&(oa||!rt.hasIconData()||Mn),Wa=oa&&(Un||!rt.hasTextData()||hn);!rt.collisionArrays&&sn&&rt.deserializeCollisionBoxes(sn);var Xa=function(Hi,Qi){if(!xe[Hi.crossTileID]){if(Yr){be.placements[Hi.crossTileID]=new ua(!1,!1,!1);return}var yi=!1,ho=!1,So=!0,go=null,ro={box:null,offscreen:null},_o={box:null,offscreen:null},Oi=null,lo=null,Cs=null,Ps=0,ff=0,Xu=0;Qi.textFeatureIndex?Ps=Qi.textFeatureIndex:Hi.useRuntimeCollisionCircles&&(Ps=Hi.featureIndex),Qi.verticalTextFeatureIndex&&(ff=Qi.verticalTextFeatureIndex);var rc=Qi.textBox;if(rc){var nc=function(Ds){var Du=a.WritingMode.horizontal;if(rt.allowVerticalPlacement&&!Ds&&be.prevPlacement){var hu=be.prevPlacement.placedOrientations[Hi.crossTileID];hu&&(be.placedOrientations[Hi.crossTileID]=hu,Du=hu,be.markUsedOrientation(rt,Du,Hi))}return Du},Pc=function(Ds,Du){if(rt.allowVerticalPlacement&&Hi.numVerticalGlyphVertices>0&&Qi.verticalTextBox)for(var hu=0,Vh=rt.writingModes;hu0&&(_l=_l.filter(function(Ds){return Ds!==$u.anchor}),_l.unshift($u.anchor))}var ic=function(Ds,Du,hu){for(var Vh=Ds.x2-Ds.x1,Dd=Ds.y2-Ds.y1,g1=Hi.textBoxScale,y1=Da&&!oa?Du:null,w0={box:[],offscreen:!1},uv=Un?_l.length*2:_l.length,uh=0;uh=_l.length,Gh=be.attemptAnchorPlacement(fv,Ds,Vh,Dd,g1,ma,ka,Rr,It,mn,x1,Hi,rt,hu,y1);if(Gh&&(w0=Gh.placedGlyphBoxes,w0&&w0.box&&w0.box.length)){yi=!0,go=Gh.shift;break}}return w0},Pf=function(){return ic(rc,Qi.iconBox,a.WritingMode.horizontal)},oc=function(){var Ds=Qi.verticalTextBox,Du=ro&&ro.box&&ro.box.length;return rt.allowVerticalPlacement&&!Du&&Hi.numVerticalGlyphVertices>0&&Ds?ic(Ds,Qi.verticalIconBox,a.WritingMode.vertical):{box:null,offscreen:null}};Pc(Pf,oc),ro&&(yi=ro.box,So=ro.offscreen);var Nh=nc(ro&&ro.box);if(!yi&&be.prevPlacement){var qc=be.prevPlacement.variableOffsets[Hi.crossTileID];qc&&(be.variableOffsets[Hi.crossTileID]=qc,be.markUsedJustification(rt,qc.anchor,Hi,Nh))}}else{var ac=function(Ds,Du){var hu=be.collisionIndex.placeCollisionBox(Ds,Un,Rr,It,mn.predicate);return hu&&hu.box&&hu.box.length&&(be.markUsedOrientation(rt,Du,Hi),be.placedOrientations[Hi.crossTileID]=Du),hu},Cl=function(){return ac(rc,a.WritingMode.horizontal)},Qc=function(){var Ds=Qi.verticalTextBox;return rt.allowVerticalPlacement&&Hi.numVerticalGlyphVertices>0&&Ds?ac(Ds,a.WritingMode.vertical):{box:null,offscreen:null}};Pc(Cl,Qc),nc(ro&&ro.box&&ro.box.length)}}if(Oi=ro,yi=Oi&&Oi.box&&Oi.box.length>0,So=Oi&&Oi.offscreen,Hi.useRuntimeCollisionCircles){var El=rt.text.placedSymbolArray.get(Hi.centerJustifiedTextSymbolIndex),oh=a.evaluateSizeForFeature(rt.textSizeData,pn,El),Jl=xt.get("text-padding"),sh=Hi.collisionCircleDiameter;lo=be.collisionIndex.placeCollisionCircles(Un,El,rt.lineVertexArray,rt.glyphOffsetArray,oh,It,tr,gr,ae,ka,mn.predicate,sh,Jl),yi=Un||lo.circles.length>0&&!lo.collisionDetected,So=So&&lo.offscreen}if(Qi.iconFeatureIndex&&(Xu=Qi.iconFeatureIndex),Qi.iconBox){var Uh=function(Ds){var Du=Da&&go?sr(Ds,go.x,go.y,ma,ka,be.transform.angle):Ds;return be.collisionIndex.placeCollisionBox(Du,oa,Rr,It,mn.predicate)};_o&&_o.box&&_o.box.length&&Qi.verticalIconBox?(Cs=Uh(Qi.verticalIconBox),ho=Cs.box.length>0):(Cs=Uh(Qi.iconBox),ho=Cs.box.length>0),So=So&&Cs.offscreen}var lh=hn||Hi.numHorizontalGlyphVertices===0&&Hi.numVerticalGlyphVertices===0,lv=Mn||Hi.numIconVertices===0;if(!lh&&!lv?ho=yi=ho&&yi:lv?lh||(ho=ho&&yi):yi=ho&&yi,yi&&Oi&&Oi.box&&(_o&&_o.box&&ff?be.collisionIndex.insertCollisionBox(Oi.box,xt.get("text-ignore-placement"),rt.bucketInstanceId,ff,mn.ID):be.collisionIndex.insertCollisionBox(Oi.box,xt.get("text-ignore-placement"),rt.bucketInstanceId,Ps,mn.ID)),ho&&Cs&&be.collisionIndex.insertCollisionBox(Cs.box,xt.get("icon-ignore-placement"),rt.bucketInstanceId,Xu,mn.ID),lo&&(yi&&be.collisionIndex.insertCollisionCircles(lo.circles,xt.get("text-ignore-placement"),rt.bucketInstanceId,Ps,mn.ID),ae)){var Hh=rt.bucketInstanceId,_0=be.collisionCircleArrays[Hh];_0===void 0&&(_0=be.collisionCircleArrays[Hh]=new va);for(var sc=0;sc=0;--ui){var bi=qa[ui];Xa(rt.symbolInstances.get(bi),rt.collisionArrays[bi])}else for(var Ii=$.symbolInstanceStart;Ii<$.symbolInstanceEnd;Ii++)Xa(rt.symbolInstances.get(Ii),rt.collisionArrays[Ii]);if(ae&&rt.bucketInstanceId in this.collisionCircleArrays){var co=this.collisionCircleArrays[rt.bucketInstanceId];a.invert(co.invProjMatrix,It),co.viewportMatrix=this.collisionIndex.getViewportMatrix()}rt.justReloaded=!1},Gr.prototype.markUsedJustification=function($,xe,ae,be){var Ge={left:ae.leftJustifiedTextSymbolIndex,center:ae.centerJustifiedTextSymbolIndex,right:ae.rightJustifiedTextSymbolIndex},rt;be===a.WritingMode.vertical?rt=ae.verticalPlacedTextSymbolIndex:rt=Ge[a.getAnchorJustification(xe)];for(var xt=[ae.leftJustifiedTextSymbolIndex,ae.centerJustifiedTextSymbolIndex,ae.rightJustifiedTextSymbolIndex,ae.verticalPlacedTextSymbolIndex],It=0,tr=xt;It=0&&(rt>=0&&gr!==rt?$.text.placedSymbolArray.get(gr).crossTileID=0:$.text.placedSymbolArray.get(gr).crossTileID=ae.crossTileID)}},Gr.prototype.markUsedOrientation=function($,xe,ae){for(var be=xe===a.WritingMode.horizontal||xe===a.WritingMode.horizontalOnly?xe:0,Ge=xe===a.WritingMode.vertical?xe:0,rt=[ae.leftJustifiedTextSymbolIndex,ae.centerJustifiedTextSymbolIndex,ae.rightJustifiedTextSymbolIndex],xt=0,It=rt;xt0||ka>0,Xa=oa.numIconVertices>0,qa=be.placedOrientations[oa.crossTileID],ui=qa===a.WritingMode.vertical,bi=qa===a.WritingMode.horizontal||qa===a.WritingMode.horizontalOnly;if(Wa){var Ii=nn(Ha.text),co=ui?Vn:Ii;pn($.text,ma,co);var Hi=bi?Vn:Ii;pn($.text,ka,Hi);var Qi=Ha.text.isHidden();[oa.rightJustifiedTextSymbolIndex,oa.centerJustifiedTextSymbolIndex,oa.leftJustifiedTextSymbolIndex].forEach(function(Xu){Xu>=0&&($.text.placedSymbolArray.get(Xu).hidden=Qi||ui?1:0)}),oa.verticalPlacedTextSymbolIndex>=0&&($.text.placedSymbolArray.get(oa.verticalPlacedTextSymbolIndex).hidden=Qi||bi?1:0);var yi=be.variableOffsets[oa.crossTileID];yi&&be.markUsedJustification($,yi.anchor,oa,qa);var ho=be.placedOrientations[oa.crossTileID];ho&&(be.markUsedJustification($,"left",oa,ho),be.markUsedOrientation($,ho,oa))}if(Xa){var So=nn(Ha.icon),go=!(Yr&&oa.verticalPlacedIconSymbolIndex&&ui);if(oa.placedIconSymbolIndex>=0){var ro=go?So:Vn;pn($.icon,oa.numIconVertices,ro),$.icon.placedSymbolArray.get(oa.placedIconSymbolIndex).hidden=Ha.icon.isHidden()}if(oa.verticalPlacedIconSymbolIndex>=0){var _o=go?Vn:So;pn($.icon,oa.numVerticalIconVertices,_o),$.icon.placedSymbolArray.get(oa.verticalPlacedIconSymbolIndex).hidden=Ha.icon.isHidden()}}if($.hasIconCollisionBoxData()||$.hasTextCollisionBoxData()){var Oi=$.collisionArrays[Un];if(Oi){var lo=new a.Point(0,0);if(Oi.textBox||Oi.verticalTextBox){var Cs=!0;if(tr){var Ps=be.variableOffsets[Da];Ps?(lo=Ni(Ps.anchor,Ps.width,Ps.height,Ps.textOffset,Ps.textBoxScale),gr&&lo._rotate(Rr?be.transform.angle:-be.transform.angle)):Cs=!1}Oi.textBox&&yn($.textCollisionBox.collisionVertexArray,Ha.text.placed,!Cs||ui,lo.x,lo.y),Oi.verticalTextBox&&yn($.textCollisionBox.collisionVertexArray,Ha.text.placed,!Cs||bi,lo.x,lo.y)}var ff=!!(!bi&&Oi.verticalIconBox);Oi.iconBox&&yn($.iconCollisionBox.collisionVertexArray,Ha.icon.placed,ff,Yr?lo.x:0,Yr?lo.y:0),Oi.verticalIconBox&&yn($.iconCollisionBox.collisionVertexArray,Ha.icon.placed,!ff,Yr?lo.x:0,Yr?lo.y:0)}}},hn=0;hn<$.symbolInstances.length;hn++)mn(hn);if($.sortFeatures(this.transform.angle),this.retainedQueryData[$.bucketInstanceId]&&(this.retainedQueryData[$.bucketInstanceId].featureSortOrder=$.featureSortOrder),$.hasTextData()&&$.text.opacityVertexBuffer&&$.text.opacityVertexBuffer.updateData($.text.opacityVertexArray),$.hasIconData()&&$.icon.opacityVertexBuffer&&$.icon.opacityVertexBuffer.updateData($.icon.opacityVertexArray),$.hasIconCollisionBoxData()&&$.iconCollisionBox.collisionVertexBuffer&&$.iconCollisionBox.collisionVertexBuffer.updateData($.iconCollisionBox.collisionVertexArray),$.hasTextCollisionBoxData()&&$.textCollisionBox.collisionVertexBuffer&&$.textCollisionBox.collisionVertexBuffer.updateData($.textCollisionBox.collisionVertexArray),$.bucketInstanceId in this.collisionCircleArrays){var Mn=this.collisionCircleArrays[$.bucketInstanceId];$.placementInvProjMatrix=Mn.invProjMatrix,$.placementViewportMatrix=Mn.viewportMatrix,$.collisionCircleArray=Mn.circles,delete this.collisionCircleArrays[$.bucketInstanceId]}},Gr.prototype.symbolFadeChange=function($){return this.fadeDuration===0?1:($-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},Gr.prototype.zoomAdjustment=function($){return Math.max(0,(this.transform.zoom-$)/1.5)},Gr.prototype.hasTransitions=function($){return this.stale||$-this.lastPlacementChangeTime$},Gr.prototype.setStale=function(){this.stale=!0};function yn(ge,$,xe,ae,be){ge.emplaceBack($?1:0,xe?1:0,ae||0,be||0),ge.emplaceBack($?1:0,xe?1:0,ae||0,be||0),ge.emplaceBack($?1:0,xe?1:0,ae||0,be||0),ge.emplaceBack($?1:0,xe?1:0,ae||0,be||0)}var Bn=Math.pow(2,25),Nn=Math.pow(2,24),ta=Math.pow(2,17),Yn=Math.pow(2,16),On=Math.pow(2,9),en=Math.pow(2,8),pr=Math.pow(2,1);function nn(ge){if(ge.opacity===0&&!ge.placed)return 0;if(ge.opacity===1&&ge.placed)return 4294967295;var $=ge.placed?1:0,xe=Math.floor(ge.opacity*127);return xe*Bn+$*Nn+xe*ta+$*Yn+xe*On+$*en+xe*pr+$}var Vn=0,ha=function($){this._sortAcrossTiles=$.layout.get("symbol-z-order")!=="viewport-y"&&$.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};ha.prototype.continuePlacement=function($,xe,ae,be,Ge){for(var rt=this._bucketParts;this._currentTileIndex<$.length;){var xt=$[this._currentTileIndex];if(xe.getBucketParts(rt,be,xt,this._sortAcrossTiles),this._currentTileIndex++,Ge())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,rt.sort(function(tr,gr){return tr.sortKey-gr.sortKey}));this._currentPartIndex2};this._currentPlacementIndex>=0;){var xt=$[this._currentPlacementIndex],It=xe[xt],tr=this.placement.collisionIndex.transform.zoom;if(It.type==="symbol"&&(!It.minzoom||It.minzoom<=tr)&&(!It.maxzoom||It.maxzoom>tr)){this._inProgressLayer||(this._inProgressLayer=new ha(It));var gr=this._inProgressLayer.continuePlacement(ae[It.source],this.placement,this._showCollisionBoxes,It,rt);if(gr)return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},ya.prototype.commit=function($){return this.placement.commit($),this.placement};var Gn=512/a.EXTENT/2,na=function($,xe,ae){this.tileID=$,this.indexedSymbolInstances={},this.bucketInstanceId=ae;for(var be=0;be$.overscaledZ)for(var tr in It){var gr=It[tr];gr.tileID.isChildOf($)&&gr.findMatches(xe.symbolInstances,$,rt)}else{var Rr=$.scaledTo(Number(xt)),Yr=It[Rr.key];Yr&&Yr.findMatches(xe.symbolInstances,$,rt)}}for(var sn=0;sn0)throw new Error("Unimplemented: "+rt.map(function(xt){return xt.command}).join(", ")+".");return Ge.forEach(function(xt){xt.command!=="setTransition"&&be[xt.command].apply(be,xt.args)}),this.stylesheet=ae,!0},$.prototype.addImage=function(ae,be){if(this.getImage(ae))return this.fire(new a.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(ae,be),this._availableImages=this.imageManager.listImages(),this._changedImages[ae]=!0,this._changed=!0,this.fire(new a.Event("data",{dataType:"style"}))},$.prototype.updateImage=function(ae,be){this.imageManager.updateImage(ae,be)},$.prototype.getImage=function(ae){return this.imageManager.getImage(ae)},$.prototype.removeImage=function(ae){if(!this.getImage(ae))return this.fire(new a.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(ae),this._availableImages=this.imageManager.listImages(),this._changedImages[ae]=!0,this._changed=!0,this.fire(new a.Event("data",{dataType:"style"}))},$.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},$.prototype.addSource=function(ae,be,Ge){var rt=this;if(Ge===void 0&&(Ge={}),this._checkLoaded(),this.sourceCaches[ae]!==void 0)throw new Error("There is already a source with this ID");if(!be.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(be).join(", ")+".");var xt=["vector","raster","geojson","video","image"],It=xt.indexOf(be.type)>=0;if(!(It&&this._validate(a.validateStyle.source,"sources."+ae,be,null,Ge))){this.map&&this.map._collectResourceTiming&&(be.collectResourceTiming=!0);var tr=this.sourceCaches[ae]=new Qt(ae,be,this.dispatcher);tr.style=this,tr.setEventedParent(this,function(){return{isSourceLoaded:rt.loaded(),source:tr.serialize(),sourceId:ae}}),tr.onAdd(this.map),this._changed=!0}},$.prototype.removeSource=function(ae){if(this._checkLoaded(),this.sourceCaches[ae]===void 0)throw new Error("There is no source with this ID");for(var be in this._layers)if(this._layers[be].source===ae)return this.fire(new a.ErrorEvent(new Error('Source "'+ae+'" cannot be removed while layer "'+be+'" is using it.')));var Ge=this.sourceCaches[ae];delete this.sourceCaches[ae],delete this._updatedSources[ae],Ge.fire(new a.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:ae})),Ge.setEventedParent(null),Ge.clearTiles(),Ge.onRemove&&Ge.onRemove(this.map),this._changed=!0},$.prototype.setGeoJSONSourceData=function(ae,be){this._checkLoaded();var Ge=this.sourceCaches[ae].getSource();Ge.setData(be),this._changed=!0},$.prototype.getSource=function(ae){return this.sourceCaches[ae]&&this.sourceCaches[ae].getSource()},$.prototype.addLayer=function(ae,be,Ge){Ge===void 0&&(Ge={}),this._checkLoaded();var rt=ae.id;if(this.getLayer(rt)){this.fire(new a.ErrorEvent(new Error('Layer with id "'+rt+'" already exists on this map')));return}var xt;if(ae.type==="custom"){if(Ua(this,a.validateCustomStyleLayer(ae)))return;xt=a.createStyleLayer(ae)}else{if(typeof ae.source=="object"&&(this.addSource(rt,ae.source),ae=a.clone$1(ae),ae=a.extend(ae,{source:rt})),this._validate(a.validateStyle.layer,"layers."+rt,ae,{arrayIndex:-1},Ge))return;xt=a.createStyleLayer(ae),this._validateLayer(xt),xt.setEventedParent(this,{layer:{id:rt}}),this._serializedLayers[xt.id]=xt.serialize()}var It=be?this._order.indexOf(be):this._order.length;if(be&&It===-1){this.fire(new a.ErrorEvent(new Error('Layer with id "'+be+'" does not exist on this map.')));return}if(this._order.splice(It,0,rt),this._layerOrderChanged=!0,this._layers[rt]=xt,this._removedLayers[rt]&&xt.source&&xt.type!=="custom"){var tr=this._removedLayers[rt];delete this._removedLayers[rt],tr.type!==xt.type?this._updatedSources[xt.source]="clear":(this._updatedSources[xt.source]="reload",this.sourceCaches[xt.source].pause())}this._updateLayer(xt),xt.onAdd&&xt.onAdd(this.map)},$.prototype.moveLayer=function(ae,be){this._checkLoaded(),this._changed=!0;var Ge=this._layers[ae];if(!Ge){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style and cannot be moved.")));return}if(ae!==be){var rt=this._order.indexOf(ae);this._order.splice(rt,1);var xt=be?this._order.indexOf(be):this._order.length;if(be&&xt===-1){this.fire(new a.ErrorEvent(new Error('Layer with id "'+be+'" does not exist on this map.')));return}this._order.splice(xt,0,ae),this._layerOrderChanged=!0}},$.prototype.removeLayer=function(ae){this._checkLoaded();var be=this._layers[ae];if(!be){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style and cannot be removed.")));return}be.setEventedParent(null);var Ge=this._order.indexOf(ae);this._order.splice(Ge,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[ae]=be,delete this._layers[ae],delete this._serializedLayers[ae],delete this._updatedLayers[ae],delete this._updatedPaintProps[ae],be.onRemove&&be.onRemove(this.map)},$.prototype.getLayer=function(ae){return this._layers[ae]},$.prototype.hasLayer=function(ae){return ae in this._layers},$.prototype.setLayerZoomRange=function(ae,be,Ge){this._checkLoaded();var rt=this.getLayer(ae);if(!rt){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style and cannot have zoom extent.")));return}rt.minzoom===be&&rt.maxzoom===Ge||(be!=null&&(rt.minzoom=be),Ge!=null&&(rt.maxzoom=Ge),this._updateLayer(rt))},$.prototype.setFilter=function(ae,be,Ge){Ge===void 0&&(Ge={}),this._checkLoaded();var rt=this.getLayer(ae);if(!rt){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style and cannot be filtered.")));return}if(!a.deepEqual(rt.filter,be)){if(be==null){rt.filter=void 0,this._updateLayer(rt);return}this._validate(a.validateStyle.filter,"layers."+rt.id+".filter",be,null,Ge)||(rt.filter=a.clone$1(be),this._updateLayer(rt))}},$.prototype.getFilter=function(ae){return a.clone$1(this.getLayer(ae).filter)},$.prototype.setLayoutProperty=function(ae,be,Ge,rt){rt===void 0&&(rt={}),this._checkLoaded();var xt=this.getLayer(ae);if(!xt){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style and cannot be styled.")));return}a.deepEqual(xt.getLayoutProperty(be),Ge)||(xt.setLayoutProperty(be,Ge,rt),this._updateLayer(xt))},$.prototype.getLayoutProperty=function(ae,be){var Ge=this.getLayer(ae);if(!Ge){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style.")));return}return Ge.getLayoutProperty(be)},$.prototype.setPaintProperty=function(ae,be,Ge,rt){rt===void 0&&(rt={}),this._checkLoaded();var xt=this.getLayer(ae);if(!xt){this.fire(new a.ErrorEvent(new Error("The layer '"+ae+"' does not exist in the map's style and cannot be styled.")));return}if(!a.deepEqual(xt.getPaintProperty(be),Ge)){var It=xt.setPaintProperty(be,Ge,rt);It&&this._updateLayer(xt),this._changed=!0,this._updatedPaintProps[ae]=!0}},$.prototype.getPaintProperty=function(ae,be){return this.getLayer(ae).getPaintProperty(be)},$.prototype.setFeatureState=function(ae,be){this._checkLoaded();var Ge=ae.source,rt=ae.sourceLayer,xt=this.sourceCaches[Ge];if(xt===void 0){this.fire(new a.ErrorEvent(new Error("The source '"+Ge+"' does not exist in the map's style.")));return}var It=xt.getSource().type;if(It==="geojson"&&rt){this.fire(new a.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter.")));return}if(It==="vector"&&!rt){this.fire(new a.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}ae.id===void 0&&this.fire(new a.ErrorEvent(new Error("The feature id parameter must be provided."))),xt.setFeatureState(rt,ae.id,be)},$.prototype.removeFeatureState=function(ae,be){this._checkLoaded();var Ge=ae.source,rt=this.sourceCaches[Ge];if(rt===void 0){this.fire(new a.ErrorEvent(new Error("The source '"+Ge+"' does not exist in the map's style.")));return}var xt=rt.getSource().type,It=xt==="vector"?ae.sourceLayer:void 0;if(xt==="vector"&&!It){this.fire(new a.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}if(be&&typeof ae.id!="string"&&typeof ae.id!="number"){this.fire(new a.ErrorEvent(new Error("A feature id is requred to remove its specific state property.")));return}rt.removeFeatureState(It,ae.id,be)},$.prototype.getFeatureState=function(ae){this._checkLoaded();var be=ae.source,Ge=ae.sourceLayer,rt=this.sourceCaches[be];if(rt===void 0){this.fire(new a.ErrorEvent(new Error("The source '"+be+"' does not exist in the map's style.")));return}var xt=rt.getSource().type;if(xt==="vector"&&!Ge){this.fire(new a.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));return}return ae.id===void 0&&this.fire(new a.ErrorEvent(new Error("The feature id parameter must be provided."))),rt.getFeatureState(Ge,ae.id)},$.prototype.getTransition=function(){return a.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},$.prototype.serialize=function(){return a.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:a.mapObject(this.sourceCaches,function(ae){return ae.serialize()}),layers:this._serializeLayers(this._order)},function(ae){return ae!==void 0})},$.prototype._updateLayer=function(ae){this._updatedLayers[ae.id]=!0,ae.source&&!this._updatedSources[ae.source]&&this.sourceCaches[ae.source].getSource().type!=="raster"&&(this._updatedSources[ae.source]="reload",this.sourceCaches[ae.source].pause()),this._changed=!0},$.prototype._flattenAndSortRenderedFeatures=function(ae){for(var be=this,Ge=function(bi){return be._layers[bi].type==="fill-extrusion"},rt={},xt=[],It=this._order.length-1;It>=0;It--){var tr=this._order[It];if(Ge(tr)){rt[tr]=It;for(var gr=0,Rr=ae;gr=0;Un--){var oa=this._order[Un];if(Ge(oa))for(var ma=xt.length-1;ma>=0;ma--){var ka=xt[ma].feature;if(rt[ka.layer.id] 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`,Tc=`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Gf=`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 -? a_pos -: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`,Wf=`#ifdef GL_ES -precision highp float; -#endif -uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Vc="uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}",Gc=`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; -#define PI 3.141592653589793 -void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Yf="uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}",Bs=`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,Ac=` -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Sc=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,yu=` -#define MAX_LINE_DISTANCE 32767.0 -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`,Fo=`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,xu=` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`,Wl=`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,m0=` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`,rl=`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,nf="uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}",af=`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,g0=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`,Uo=`#define SDF_PX 8.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,nl=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`,Nu=`#define SDF_PX 8.0 -#define SDF 1.0 -#define ICON 0.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,vs=`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`,al=fo(zs,Hf),yl=fo(Vi,Ui),Uu=fo(nu,Qo),Rl=fo(Ts,Vf),Yl=fo(_u,Po),Ho=fo(gf,Fs),yf=fo(ts,Ws),Zs=fo(rs,ns),au=fo(ks,qo),Hu=fo(us,Ys),Il=fo(Dl,ds),iu=fo(mu,tl),As=fo(ml,xc),ps=fo(bc,wc),Js=fo(gu,rf),Wc=fo(Tc,Gf),Mc=fo(Wf,Vc),Yc=fo(Gc,Yf),xf=fo(Bs,Ac),of=fo(Sc,yu),Zf=fo(Fo,xu),sf=fo(Wl,m0),Vu=fo(rl,nf),bf=fo(af,g0),to=fo(Uo,nl),jf=fo(Nu,vs);function fo(ge,$){var xe=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,ae={};return ge=ge.replace(xe,function(be,Ge,rt,xt,It){return ae[It]=!0,Ge==="define"?` -#ifndef HAS_UNIFORM_u_`+It+` -varying `+rt+" "+xt+" "+It+`; -#else -uniform `+rt+" "+xt+" u_"+It+`; -#endif -`:` -#ifdef HAS_UNIFORM_u_`+It+` - `+rt+" "+xt+" "+It+" = u_"+It+`; -#endif -`}),$=$.replace(xe,function(be,Ge,rt,xt,It){var tr=xt==="float"?"vec2":"vec4",gr=It.match(/color/)?"color":tr;return ae[It]?Ge==="define"?` -#ifndef HAS_UNIFORM_u_`+It+` -uniform lowp float u_`+It+`_t; -attribute `+rt+" "+tr+" a_"+It+`; -varying `+rt+" "+xt+" "+It+`; -#else -uniform `+rt+" "+xt+" u_"+It+`; -#endif -`:gr==="vec4"?` -#ifndef HAS_UNIFORM_u_`+It+` - `+It+" = a_"+It+`; -#else - `+rt+" "+xt+" "+It+" = u_"+It+`; -#endif -`:` -#ifndef HAS_UNIFORM_u_`+It+` - `+It+" = unpack_mix_"+gr+"(a_"+It+", u_"+It+`_t); -#else - `+rt+" "+xt+" "+It+" = u_"+It+`; -#endif -`:Ge==="define"?` -#ifndef HAS_UNIFORM_u_`+It+` -uniform lowp float u_`+It+`_t; -attribute `+rt+" "+tr+" a_"+It+`; -#else -uniform `+rt+" "+xt+" u_"+It+`; -#endif -`:gr==="vec4"?` -#ifndef HAS_UNIFORM_u_`+It+` - `+rt+" "+xt+" "+It+" = a_"+It+`; -#else - `+rt+" "+xt+" "+It+" = u_"+It+`; -#endif -`:` -#ifndef HAS_UNIFORM_u_`+It+` - `+rt+" "+xt+" "+It+" = unpack_mix_"+gr+"(a_"+It+", u_"+It+`_t); -#else - `+rt+" "+xt+" "+It+" = u_"+It+`; -#endif -`}),{fragmentSource:ge,vertexSource:$}}var Xf=Object.freeze({__proto__:null,prelude:al,background:yl,backgroundPattern:Uu,circle:Rl,clippingMask:Yl,heatmap:Ho,heatmapTexture:yf,collisionBox:Zs,collisionCircle:au,debug:Hu,fill:Il,fillOutline:iu,fillOutlinePattern:As,fillPattern:ps,fillExtrusion:Js,fillExtrusionPattern:Wc,hillshadePrepare:Mc,hillshade:Yc,line:xf,lineGradient:of,linePattern:Zf,lineSDF:sf,raster:Vu,symbolIcon:bf,symbolSDF:to,symbolTextAndIcon:jf}),xl=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};xl.prototype.bind=function($,xe,ae,be,Ge,rt,xt,It){this.context=$;for(var tr=this.boundPaintVertexBuffers.length!==be.length,gr=0;!tr&&gr>16,xt>>16],u_pixel_coord_lower:[rt&65535,xt&65535]}}function Cc(ge,$,xe,ae){var be=xe.imageManager.getPattern(ge.from.toString()),Ge=xe.imageManager.getPattern(ge.to.toString()),rt=xe.imageManager.getPixelSize(),xt=rt.width,It=rt.height,tr=Math.pow(2,ae.tileID.overscaledZ),gr=ae.tileSize*Math.pow(2,xe.transform.tileZoom)/tr,Rr=gr*(ae.tileID.canonical.x+ae.tileID.wrap*tr),Yr=gr*ae.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:be.tl,u_pattern_br_a:be.br,u_pattern_tl_b:Ge.tl,u_pattern_br_b:Ge.br,u_texsize:[xt,It],u_mix:$.t,u_pattern_size_a:be.displaySize,u_pattern_size_b:Ge.displaySize,u_scale_a:$.fromScale,u_scale_b:$.toScale,u_tile_units_to_pixels:1/jn(ae,1,xe.transform.tileZoom),u_pixel_coord_upper:[Rr>>16,Yr>>16],u_pixel_coord_lower:[Rr&65535,Yr&65535]}}var jo=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_lightpos:new a.Uniform3f(ge,$.u_lightpos),u_lightintensity:new a.Uniform1f(ge,$.u_lightintensity),u_lightcolor:new a.Uniform3f(ge,$.u_lightcolor),u_vertical_gradient:new a.Uniform1f(ge,$.u_vertical_gradient),u_opacity:new a.Uniform1f(ge,$.u_opacity)}},lf=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_lightpos:new a.Uniform3f(ge,$.u_lightpos),u_lightintensity:new a.Uniform1f(ge,$.u_lightintensity),u_lightcolor:new a.Uniform3f(ge,$.u_lightcolor),u_vertical_gradient:new a.Uniform1f(ge,$.u_vertical_gradient),u_height_factor:new a.Uniform1f(ge,$.u_height_factor),u_image:new a.Uniform1i(ge,$.u_image),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_pixel_coord_upper:new a.Uniform2f(ge,$.u_pixel_coord_upper),u_pixel_coord_lower:new a.Uniform2f(ge,$.u_pixel_coord_lower),u_scale:new a.Uniform3f(ge,$.u_scale),u_fade:new a.Uniform1f(ge,$.u_fade),u_opacity:new a.Uniform1f(ge,$.u_opacity)}},ms=function(ge,$,xe,ae){var be=$.style.light,Ge=be.properties.get("position"),rt=[Ge.x,Ge.y,Ge.z],xt=a.create$1();be.properties.get("anchor")==="viewport"&&a.fromRotation(xt,-$.transform.angle),a.transformMat3(rt,rt,xt);var It=be.properties.get("color");return{u_matrix:ge,u_lightpos:rt,u_lightintensity:be.properties.get("intensity"),u_lightcolor:[It.r,It.g,It.b],u_vertical_gradient:+xe,u_opacity:ae}},bl=function(ge,$,xe,ae,be,Ge,rt){return a.extend(ms(ge,$,xe,ae),wu(Ge,$,rt),{u_height_factor:-Math.pow(2,be.overscaledZ)/rt.tileSize/8})},js=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix)}},Ss=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_image:new a.Uniform1i(ge,$.u_image),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_pixel_coord_upper:new a.Uniform2f(ge,$.u_pixel_coord_upper),u_pixel_coord_lower:new a.Uniform2f(ge,$.u_pixel_coord_lower),u_scale:new a.Uniform3f(ge,$.u_scale),u_fade:new a.Uniform1f(ge,$.u_fade)}},Tu=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_world:new a.Uniform2f(ge,$.u_world)}},Au=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_world:new a.Uniform2f(ge,$.u_world),u_image:new a.Uniform1i(ge,$.u_image),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_pixel_coord_upper:new a.Uniform2f(ge,$.u_pixel_coord_upper),u_pixel_coord_lower:new a.Uniform2f(ge,$.u_pixel_coord_lower),u_scale:new a.Uniform3f(ge,$.u_scale),u_fade:new a.Uniform1f(ge,$.u_fade)}},wl=function(ge){return{u_matrix:ge}},Xo=function(ge,$,xe,ae){return a.extend(wl(ge),wu(xe,$,ae))},Su=function(ge,$){return{u_matrix:ge,u_world:$}},Gu=function(ge,$,xe,ae,be){return a.extend(Xo(ge,$,xe,ae),{u_world:be})},$f=function(ge,$){return{u_camera_to_center_distance:new a.Uniform1f(ge,$.u_camera_to_center_distance),u_scale_with_map:new a.Uniform1i(ge,$.u_scale_with_map),u_pitch_with_map:new a.Uniform1i(ge,$.u_pitch_with_map),u_extrude_scale:new a.Uniform2f(ge,$.u_extrude_scale),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_matrix:new a.UniformMatrix4f(ge,$.u_matrix)}},Zc=function(ge,$,xe,ae){var be=ge.transform,Ge,rt;if(ae.paint.get("circle-pitch-alignment")==="map"){var xt=jn(xe,1,be.zoom);Ge=!0,rt=[xt,xt]}else Ge=!1,rt=be.pixelsToGLUnits;return{u_camera_to_center_distance:be.cameraToCenterDistance,u_scale_with_map:+(ae.paint.get("circle-pitch-scale")==="map"),u_matrix:ge.translatePosMatrix($.posMatrix,xe,ae.paint.get("circle-translate"),ae.paint.get("circle-translate-anchor")),u_pitch_with_map:+Ge,u_device_pixel_ratio:a.browser.devicePixelRatio,u_extrude_scale:rt}},y0=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_camera_to_center_distance:new a.Uniform1f(ge,$.u_camera_to_center_distance),u_pixels_to_tile_units:new a.Uniform1f(ge,$.u_pixels_to_tile_units),u_extrude_scale:new a.Uniform2f(ge,$.u_extrude_scale),u_overscale_factor:new a.Uniform1f(ge,$.u_overscale_factor)}},jc=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_inv_matrix:new a.UniformMatrix4f(ge,$.u_inv_matrix),u_camera_to_center_distance:new a.Uniform1f(ge,$.u_camera_to_center_distance),u_viewport_size:new a.Uniform2f(ge,$.u_viewport_size)}},wf=function(ge,$,xe){var ae=jn(xe,1,$.zoom),be=Math.pow(2,$.zoom-xe.tileID.overscaledZ),Ge=xe.tileID.overscaleFactor();return{u_matrix:ge,u_camera_to_center_distance:$.cameraToCenterDistance,u_pixels_to_tile_units:ae,u_extrude_scale:[$.pixelsToGLUnits[0]/(ae*be),$.pixelsToGLUnits[1]/(ae*be)],u_overscale_factor:Ge}},Zl=function(ge,$,xe){return{u_matrix:ge,u_inv_matrix:$,u_camera_to_center_distance:xe.cameraToCenterDistance,u_viewport_size:[xe.width,xe.height]}},Vo=function(ge,$){return{u_color:new a.UniformColor(ge,$.u_color),u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_overlay:new a.Uniform1i(ge,$.u_overlay),u_overlay_scale:new a.Uniform1f(ge,$.u_overlay_scale)}},Tl=function(ge,$,xe){return xe===void 0&&(xe=1),{u_matrix:ge,u_color:$,u_overlay:0,u_overlay_scale:xe}},Ms=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix)}},Ls=function(ge){return{u_matrix:ge}},ou=function(ge,$){return{u_extrude_scale:new a.Uniform1f(ge,$.u_extrude_scale),u_intensity:new a.Uniform1f(ge,$.u_intensity),u_matrix:new a.UniformMatrix4f(ge,$.u_matrix)}},Mu=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_world:new a.Uniform2f(ge,$.u_world),u_image:new a.Uniform1i(ge,$.u_image),u_color_ramp:new a.Uniform1i(ge,$.u_color_ramp),u_opacity:new a.Uniform1f(ge,$.u_opacity)}},Wu=function(ge,$,xe,ae){return{u_matrix:ge,u_extrude_scale:jn($,1,xe),u_intensity:ae}},Al=function(ge,$,xe,ae){var be=a.create();a.ortho(be,0,ge.width,ge.height,0,0,1);var Ge=ge.context.gl;return{u_matrix:be,u_world:[Ge.drawingBufferWidth,Ge.drawingBufferHeight],u_image:xe,u_color_ramp:ae,u_opacity:$.paint.get("heatmap-opacity")}},zl=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_image:new a.Uniform1i(ge,$.u_image),u_latrange:new a.Uniform2f(ge,$.u_latrange),u_light:new a.Uniform2f(ge,$.u_light),u_shadow:new a.UniformColor(ge,$.u_shadow),u_highlight:new a.UniformColor(ge,$.u_highlight),u_accent:new a.UniformColor(ge,$.u_accent)}},jl=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_image:new a.Uniform1i(ge,$.u_image),u_dimension:new a.Uniform2f(ge,$.u_dimension),u_zoom:new a.Uniform1f(ge,$.u_zoom),u_maxzoom:new a.Uniform1f(ge,$.u_maxzoom),u_unpack:new a.Uniform4f(ge,$.u_unpack)}},Tf=function(ge,$,xe){var ae=xe.paint.get("hillshade-shadow-color"),be=xe.paint.get("hillshade-highlight-color"),Ge=xe.paint.get("hillshade-accent-color"),rt=xe.paint.get("hillshade-illumination-direction")*(Math.PI/180);xe.paint.get("hillshade-illumination-anchor")==="viewport"&&(rt-=ge.transform.angle);var xt=!ge.options.moving;return{u_matrix:ge.transform.calculatePosMatrix($.tileID.toUnwrapped(),xt),u_image:0,u_latrange:Cu(ge,$.tileID),u_light:[xe.paint.get("hillshade-exaggeration"),rt],u_shadow:ae,u_highlight:be,u_accent:Ge}},Kf=function(ge,$,xe){var ae=$.stride,be=a.create();return a.ortho(be,0,a.EXTENT,-a.EXTENT,0,0,1),a.translate(be,be,[0,-a.EXTENT,0]),{u_matrix:be,u_image:1,u_dimension:[ae,ae],u_zoom:ge.overscaledZ,u_maxzoom:xe,u_unpack:$.getUnpackVector()}};function Cu(ge,$){var xe=Math.pow(2,$.canonical.z),ae=$.canonical.y;return[new a.MercatorCoordinate(0,ae/xe).toLngLat().lat,new a.MercatorCoordinate(0,(ae+1)/xe).toLngLat().lat]}var as=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_ratio:new a.Uniform1f(ge,$.u_ratio),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_units_to_pixels:new a.Uniform2f(ge,$.u_units_to_pixels)}},Xl=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_ratio:new a.Uniform1f(ge,$.u_ratio),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_units_to_pixels:new a.Uniform2f(ge,$.u_units_to_pixels),u_image:new a.Uniform1i(ge,$.u_image)}},Af=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_ratio:new a.Uniform1f(ge,$.u_ratio),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_image:new a.Uniform1i(ge,$.u_image),u_units_to_pixels:new a.Uniform2f(ge,$.u_units_to_pixels),u_scale:new a.Uniform3f(ge,$.u_scale),u_fade:new a.Uniform1f(ge,$.u_fade)}},Sf=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_ratio:new a.Uniform1f(ge,$.u_ratio),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_units_to_pixels:new a.Uniform2f(ge,$.u_units_to_pixels),u_patternscale_a:new a.Uniform2f(ge,$.u_patternscale_a),u_patternscale_b:new a.Uniform2f(ge,$.u_patternscale_b),u_sdfgamma:new a.Uniform1f(ge,$.u_sdfgamma),u_image:new a.Uniform1i(ge,$.u_image),u_tex_y_a:new a.Uniform1f(ge,$.u_tex_y_a),u_tex_y_b:new a.Uniform1f(ge,$.u_tex_y_b),u_mix:new a.Uniform1f(ge,$.u_mix)}},Yu=function(ge,$,xe){var ae=ge.transform;return{u_matrix:jr(ge,$,xe),u_ratio:1/jn($,1,ae.zoom),u_device_pixel_ratio:a.browser.devicePixelRatio,u_units_to_pixels:[1/ae.pixelsToGLUnits[0],1/ae.pixelsToGLUnits[1]]}},Mf=function(ge,$,xe){return a.extend(Yu(ge,$,xe),{u_image:0})},Sl=function(ge,$,xe,ae){var be=ge.transform,Ge=su($,be);return{u_matrix:jr(ge,$,xe),u_texsize:$.imageAtlasTexture.size,u_ratio:1/jn($,1,be.zoom),u_device_pixel_ratio:a.browser.devicePixelRatio,u_image:0,u_scale:[Ge,ae.fromScale,ae.toScale],u_fade:ae.t,u_units_to_pixels:[1/be.pixelsToGLUnits[0],1/be.pixelsToGLUnits[1]]}},Cf=function(ge,$,xe,ae,be){var Ge=ge.transform,rt=ge.lineAtlas,xt=su($,Ge),It=xe.layout.get("line-cap")==="round",tr=rt.getDash(ae.from,It),gr=rt.getDash(ae.to,It),Rr=tr.width*be.fromScale,Yr=gr.width*be.toScale;return a.extend(Yu(ge,$,xe),{u_patternscale_a:[xt/Rr,-tr.height/2],u_patternscale_b:[xt/Yr,-gr.height/2],u_sdfgamma:rt.width/(Math.min(Rr,Yr)*256*a.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:tr.y,u_tex_y_b:gr.y,u_mix:be.t})};function su(ge,$){return 1/jn(ge,1,$.tileZoom)}function jr(ge,$,xe){return ge.translatePosMatrix($.tileID.posMatrix,$,xe.paint.get("line-translate"),xe.paint.get("line-translate-anchor"))}var Jf=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_tl_parent:new a.Uniform2f(ge,$.u_tl_parent),u_scale_parent:new a.Uniform1f(ge,$.u_scale_parent),u_buffer_scale:new a.Uniform1f(ge,$.u_buffer_scale),u_fade_t:new a.Uniform1f(ge,$.u_fade_t),u_opacity:new a.Uniform1f(ge,$.u_opacity),u_image0:new a.Uniform1i(ge,$.u_image0),u_image1:new a.Uniform1i(ge,$.u_image1),u_brightness_low:new a.Uniform1f(ge,$.u_brightness_low),u_brightness_high:new a.Uniform1f(ge,$.u_brightness_high),u_saturation_factor:new a.Uniform1f(ge,$.u_saturation_factor),u_contrast_factor:new a.Uniform1f(ge,$.u_contrast_factor),u_spin_weights:new a.Uniform3f(ge,$.u_spin_weights)}},Eu=function(ge,$,xe,ae,be){return{u_matrix:ge,u_tl_parent:$,u_scale_parent:xe,u_buffer_scale:1,u_fade_t:ae.mix,u_opacity:ae.opacity*be.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:be.paint.get("raster-brightness-min"),u_brightness_high:be.paint.get("raster-brightness-max"),u_saturation_factor:lu(be.paint.get("raster-saturation")),u_contrast_factor:Fl(be.paint.get("raster-contrast")),u_spin_weights:no(be.paint.get("raster-hue-rotate"))}};function no(ge){ge*=Math.PI/180;var $=Math.sin(ge),xe=Math.cos(ge);return[(2*xe+1)/3,(-Math.sqrt(3)*$-xe+1)/3,(Math.sqrt(3)*$-xe+1)/3]}function Fl(ge){return ge>0?1/(1-ge):1+ge}function lu(ge){return ge>0?1-1/(1.001-ge):-ge}var Ef=function(ge,$){return{u_is_size_zoom_constant:new a.Uniform1i(ge,$.u_is_size_zoom_constant),u_is_size_feature_constant:new a.Uniform1i(ge,$.u_is_size_feature_constant),u_size_t:new a.Uniform1f(ge,$.u_size_t),u_size:new a.Uniform1f(ge,$.u_size),u_camera_to_center_distance:new a.Uniform1f(ge,$.u_camera_to_center_distance),u_pitch:new a.Uniform1f(ge,$.u_pitch),u_rotate_symbol:new a.Uniform1i(ge,$.u_rotate_symbol),u_aspect_ratio:new a.Uniform1f(ge,$.u_aspect_ratio),u_fade_change:new a.Uniform1f(ge,$.u_fade_change),u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_label_plane_matrix:new a.UniformMatrix4f(ge,$.u_label_plane_matrix),u_coord_matrix:new a.UniformMatrix4f(ge,$.u_coord_matrix),u_is_text:new a.Uniform1i(ge,$.u_is_text),u_pitch_with_map:new a.Uniform1i(ge,$.u_pitch_with_map),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_texture:new a.Uniform1i(ge,$.u_texture)}},ku=function(ge,$){return{u_is_size_zoom_constant:new a.Uniform1i(ge,$.u_is_size_zoom_constant),u_is_size_feature_constant:new a.Uniform1i(ge,$.u_is_size_feature_constant),u_size_t:new a.Uniform1f(ge,$.u_size_t),u_size:new a.Uniform1f(ge,$.u_size),u_camera_to_center_distance:new a.Uniform1f(ge,$.u_camera_to_center_distance),u_pitch:new a.Uniform1f(ge,$.u_pitch),u_rotate_symbol:new a.Uniform1i(ge,$.u_rotate_symbol),u_aspect_ratio:new a.Uniform1f(ge,$.u_aspect_ratio),u_fade_change:new a.Uniform1f(ge,$.u_fade_change),u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_label_plane_matrix:new a.UniformMatrix4f(ge,$.u_label_plane_matrix),u_coord_matrix:new a.UniformMatrix4f(ge,$.u_coord_matrix),u_is_text:new a.Uniform1i(ge,$.u_is_text),u_pitch_with_map:new a.Uniform1i(ge,$.u_pitch_with_map),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_texture:new a.Uniform1i(ge,$.u_texture),u_gamma_scale:new a.Uniform1f(ge,$.u_gamma_scale),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_is_halo:new a.Uniform1i(ge,$.u_is_halo)}},Xc=function(ge,$){return{u_is_size_zoom_constant:new a.Uniform1i(ge,$.u_is_size_zoom_constant),u_is_size_feature_constant:new a.Uniform1i(ge,$.u_is_size_feature_constant),u_size_t:new a.Uniform1f(ge,$.u_size_t),u_size:new a.Uniform1f(ge,$.u_size),u_camera_to_center_distance:new a.Uniform1f(ge,$.u_camera_to_center_distance),u_pitch:new a.Uniform1f(ge,$.u_pitch),u_rotate_symbol:new a.Uniform1i(ge,$.u_rotate_symbol),u_aspect_ratio:new a.Uniform1f(ge,$.u_aspect_ratio),u_fade_change:new a.Uniform1f(ge,$.u_fade_change),u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_label_plane_matrix:new a.UniformMatrix4f(ge,$.u_label_plane_matrix),u_coord_matrix:new a.UniformMatrix4f(ge,$.u_coord_matrix),u_is_text:new a.Uniform1i(ge,$.u_is_text),u_pitch_with_map:new a.Uniform1i(ge,$.u_pitch_with_map),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_texsize_icon:new a.Uniform2f(ge,$.u_texsize_icon),u_texture:new a.Uniform1i(ge,$.u_texture),u_texture_icon:new a.Uniform1i(ge,$.u_texture_icon),u_gamma_scale:new a.Uniform1f(ge,$.u_gamma_scale),u_device_pixel_ratio:new a.Uniform1f(ge,$.u_device_pixel_ratio),u_is_halo:new a.Uniform1i(ge,$.u_is_halo)}},uf=function(ge,$,xe,ae,be,Ge,rt,xt,It,tr){var gr=be.transform;return{u_is_size_zoom_constant:+(ge==="constant"||ge==="source"),u_is_size_feature_constant:+(ge==="constant"||ge==="camera"),u_size_t:$?$.uSizeT:0,u_size:$?$.uSize:0,u_camera_to_center_distance:gr.cameraToCenterDistance,u_pitch:gr.pitch/360*2*Math.PI,u_rotate_symbol:+xe,u_aspect_ratio:gr.width/gr.height,u_fade_change:be.options.fadeDuration?be.symbolFadeChange:1,u_matrix:Ge,u_label_plane_matrix:rt,u_coord_matrix:xt,u_is_text:+It,u_pitch_with_map:+ae,u_texsize:tr,u_texture:0}},Zu=function(ge,$,xe,ae,be,Ge,rt,xt,It,tr,gr){var Rr=be.transform;return a.extend(uf(ge,$,xe,ae,be,Ge,rt,xt,It,tr),{u_gamma_scale:ae?Math.cos(Rr._pitch)*Rr.cameraToCenterDistance:1,u_device_pixel_ratio:a.browser.devicePixelRatio,u_is_halo:+gr})},Qf=function(ge,$,xe,ae,be,Ge,rt,xt,It,tr){return a.extend(Zu(ge,$,xe,ae,be,Ge,rt,xt,!0,It,!0),{u_texsize_icon:tr,u_texture_icon:1})},qf=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_opacity:new a.Uniform1f(ge,$.u_opacity),u_color:new a.UniformColor(ge,$.u_color)}},Bl=function(ge,$){return{u_matrix:new a.UniformMatrix4f(ge,$.u_matrix),u_opacity:new a.Uniform1f(ge,$.u_opacity),u_image:new a.Uniform1i(ge,$.u_image),u_pattern_tl_a:new a.Uniform2f(ge,$.u_pattern_tl_a),u_pattern_br_a:new a.Uniform2f(ge,$.u_pattern_br_a),u_pattern_tl_b:new a.Uniform2f(ge,$.u_pattern_tl_b),u_pattern_br_b:new a.Uniform2f(ge,$.u_pattern_br_b),u_texsize:new a.Uniform2f(ge,$.u_texsize),u_mix:new a.Uniform1f(ge,$.u_mix),u_pattern_size_a:new a.Uniform2f(ge,$.u_pattern_size_a),u_pattern_size_b:new a.Uniform2f(ge,$.u_pattern_size_b),u_scale_a:new a.Uniform1f(ge,$.u_scale_a),u_scale_b:new a.Uniform1f(ge,$.u_scale_b),u_pixel_coord_upper:new a.Uniform2f(ge,$.u_pixel_coord_upper),u_pixel_coord_lower:new a.Uniform2f(ge,$.u_pixel_coord_lower),u_tile_units_to_pixels:new a.Uniform1f(ge,$.u_tile_units_to_pixels)}},Lu=function(ge,$,xe){return{u_matrix:ge,u_opacity:$,u_color:xe}},ju=function(ge,$,xe,ae,be,Ge){return a.extend(Cc(ae,Ge,xe,be),{u_matrix:ge,u_opacity:$})},uu={fillExtrusion:jo,fillExtrusionPattern:lf,fill:js,fillPattern:Ss,fillOutline:Tu,fillOutlinePattern:Au,circle:$f,collisionBox:y0,collisionCircle:jc,debug:Vo,clippingMask:Ms,heatmap:ou,heatmapTexture:Mu,hillshade:zl,hillshadePrepare:jl,line:as,lineGradient:Xl,linePattern:Af,lineSDF:Sf,raster:Jf,symbolIcon:Ef,symbolSDF:ku,symbolTextAndIcon:Xc,background:qf,backgroundPattern:Bl},Os;function il(ge,$,xe,ae,be,Ge,rt){for(var xt=ge.context,It=xt.gl,tr=ge.useProgram("collisionBox"),gr=[],Rr=0,Yr=0,sn=0;sn0){var ma=a.create(),ka=Mn;a.mul(ma,hn.placementInvProjMatrix,ge.transform.glCoordMatrix),a.mul(ma,ma,hn.placementViewportMatrix),gr.push({circleArray:oa,circleOffset:Yr,transform:ka,invTransform:ma}),Rr+=oa.length/4,Yr=Rr}Un&&tr.draw(xt,It.LINES,Pr.disabled,cr.disabled,ge.colorModeForRenderPass(),Ut.disabled,wf(Mn,ge.transform,mn),xe.id,Un.layoutVertexBuffer,Un.indexBuffer,Un.segments,null,ge.transform.zoom,null,null,Un.collisionVertexBuffer)}}if(!(!rt||!gr.length)){var Da=ge.useProgram("collisionCircle"),Ea=new a.StructArrayLayout2f1f2i16;Ea.resize(Rr*4),Ea._trim();for(var Ha=0,Wa=0,Xa=gr;Wa=0&&(pn[hn.associatedIconIndex]={shiftedAnchor:bi,angle:Ii})}}if(gr){sn.clear();for(var Hi=ge.icon.placedSymbolArray,Qi=0;Qi0){var rt=a.browser.now(),xt=(rt-ge.timeAdded)/Ge,It=$?(rt-$.timeAdded)/Ge:-1,tr=xe.getSource(),gr=be.coveringZoomLevel({tileSize:tr.tileSize,roundZoom:tr.roundZoom}),Rr=!$||Math.abs($.tileID.overscaledZ-gr)>Math.abs(ge.tileID.overscaledZ-gr),Yr=Rr&&ge.refreshedUponExpiration?1:a.clamp(Rr?xt:1-It,0,1);return ge.refreshedUponExpiration&&xt>=1&&(ge.refreshedUponExpiration=!1),$?{opacity:1,mix:1-Yr}:{opacity:Yr,mix:0}}else return{opacity:1,mix:0}}function Eo(ge,$,xe){var ae=xe.paint.get("background-color"),be=xe.paint.get("background-opacity");if(be!==0){var Ge=ge.context,rt=Ge.gl,xt=ge.transform,It=xt.tileSize,tr=xe.paint.get("background-pattern");if(!ge.isPatternMissing(tr)){var gr=!tr&&ae.a===1&&be===1&&ge.opaquePassEnabledForLayer()?"opaque":"translucent";if(ge.renderPass===gr){var Rr=cr.disabled,Yr=ge.depthModeForSublayer(0,gr==="opaque"?Pr.ReadWrite:Pr.ReadOnly),sn=ge.colorModeForRenderPass(),pn=ge.useProgram(tr?"backgroundPattern":"background"),mn=xt.coveringTiles({tileSize:It});tr&&(Ge.activeTexture.set(rt.TEXTURE0),ge.imageManager.bind(ge.context));for(var hn=xe.getCrossfadeParameters(),Mn=0,Un=mn;Mn "+xe.overscaledZ);var Mn=hn+" "+sn+"kb";Hr(ge,Mn),rt.draw(ae,be.TRIANGLES,xt,It,yt.alphaBlended,Ut.disabled,Tl(Ge,a.Color.transparent,mn),gr,ge.debugBuffer,ge.quadTriangleIndexBuffer,ge.debugSegments)}function Hr(ge,$){ge.initDebugOverlayCanvas();var xe=ge.debugOverlayCanvas,ae=ge.context.gl,be=ge.debugOverlayCanvas.getContext("2d");be.clearRect(0,0,xe.width,xe.height),be.shadowColor="white",be.shadowBlur=2,be.lineWidth=1.5,be.strokeStyle="white",be.textBaseline="top",be.font="bold 36px Open Sans, sans-serif",be.fillText($,5,5),be.strokeText($,5,5),ge.debugOverlayTexture.update(xe),ge.debugOverlayTexture.bind(ae.LINEAR,ae.CLAMP_TO_EDGE)}function Sr(ge,$,xe){var ae=ge.context,be=xe.implementation;if(ge.renderPass==="offscreen"){var Ge=be.prerender;Ge&&(ge.setCustomLayerDefaults(),ae.setColorMode(ge.colorModeForRenderPass()),Ge.call(be,ae.gl,ge.transform.customLayerMatrix()),ae.setDirty(),ge.setBaseState())}else if(ge.renderPass==="translucent"){ge.setCustomLayerDefaults(),ae.setColorMode(ge.colorModeForRenderPass()),ae.setStencilMode(cr.disabled);var rt=be.renderingMode==="3d"?new Pr(ge.context.gl.LEQUAL,Pr.ReadWrite,ge.depthRangeFor3D):ge.depthModeForSublayer(0,Pr.ReadOnly);ae.setDepthMode(rt),be.render(ae.gl,ge.transform.customLayerMatrix()),ae.setDirty(),ge.setBaseState(),ae.bindFramebuffer.set(null)}}var Wr={symbol:jt,circle:hr,heatmap:Ur,line:ga,fill:Pa,"fill-extrusion":ri,hillshade:Ti,raster:Xi,background:Eo,debug:Jt,custom:Sr},Kr=function($,xe){this.context=new Ht($),this.transform=xe,this._tileTextures={},this.setup(),this.numSublayers=Qt.maxUnderzooming+Qt.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Va,this.gpuTimers={}};Kr.prototype.resize=function($,xe){if(this.width=$*a.browser.devicePixelRatio,this.height=xe*a.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var ae=0,be=this.style._order;ae256&&this.clearStencil(),ae.setColorMode(yt.disabled),ae.setDepthMode(Pr.disabled);var Ge=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var rt=0,xt=xe;rt256&&this.clearStencil();var $=this.nextStencilID++,xe=this.context.gl;return new cr({func:xe.NOTEQUAL,mask:255},$,255,xe.KEEP,xe.KEEP,xe.REPLACE)},Kr.prototype.stencilModeForClipping=function($){var xe=this.context.gl;return new cr({func:xe.EQUAL,mask:255},this._tileClippingMaskIDs[$.key],0,xe.KEEP,xe.KEEP,xe.REPLACE)},Kr.prototype.stencilConfigForOverlap=function($){var xe,ae=this.context.gl,be=$.sort(function(tr,gr){return gr.overscaledZ-tr.overscaledZ}),Ge=be[be.length-1].overscaledZ,rt=be[0].overscaledZ-Ge+1;if(rt>1){this.currentStencilSource=void 0,this.nextStencilID+rt>256&&this.clearStencil();for(var xt={},It=0;It=0;this.currentLayer--){var ma=this.style._layers[be[this.currentLayer]],ka=Ge[ma.source],Da=It[ma.source];this._renderTileClippingMasks(ma,Da),this.renderLayer(this,ka,ma,Da)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?xe.pop():null},Kr.prototype.isPatternMissing=function($){if(!$)return!1;if(!$.from||!$.to)return!0;var xe=this.imageManager.getPattern($.from.toString()),ae=this.imageManager.getPattern($.to.toString());return!xe||!ae},Kr.prototype.useProgram=function($,xe){this.cache=this.cache||{};var ae=""+$+(xe?xe.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[ae]||(this.cache[ae]=new bu(this.context,Xf[$],xe,uu[$],this._showOverdrawInspector)),this.cache[ae]},Kr.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Kr.prototype.setBaseState=function(){var $=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set($.FUNC_ADD)},Kr.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=a.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var $=this.context.gl;this.debugOverlayTexture=new a.Texture(this.context,this.debugOverlayCanvas,$.RGBA)}},Kr.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var vn=function($,xe){this.points=$,this.planes=xe};vn.fromInvProjectionMatrix=function($,xe,ae){var be=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]],Ge=Math.pow(2,ae),rt=be.map(function(tr){return a.transformMat4([],tr,$)}).map(function(tr){return a.scale$1([],tr,1/tr[3]/xe*Ge)}),xt=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]],It=xt.map(function(tr){var gr=a.sub([],rt[tr[0]],rt[tr[1]]),Rr=a.sub([],rt[tr[2]],rt[tr[1]]),Yr=a.normalize([],a.cross([],gr,Rr)),sn=-a.dot(Yr,rt[tr[1]]);return Yr.concat(sn)});return new vn(rt,It)};var wn=function($,xe){this.min=$,this.max=xe,this.center=a.scale$2([],a.add([],this.min,this.max),.5)};wn.prototype.quadrant=function($){for(var xe=[$%2===0,$<2],ae=a.clone$2(this.min),be=a.clone$2(this.max),Ge=0;Ge=0;if(rt===0)return 0;rt!==xe.length&&(ae=!1)}if(ae)return 2;for(var It=0;It<3;It++){for(var tr=Number.MAX_VALUE,gr=-Number.MAX_VALUE,Rr=0;Rr<$.points.length;Rr++){var Yr=$.points[Rr][It]-this.min[It];tr=Math.min(tr,Yr),gr=Math.max(gr,Yr)}if(gr<0||tr>this.max[It]-this.min[It])return 0}return 1};var Zn=function($,xe,ae,be){if($===void 0&&($=0),xe===void 0&&(xe=0),ae===void 0&&(ae=0),be===void 0&&(be=0),isNaN($)||$<0||isNaN(xe)||xe<0||isNaN(ae)||ae<0||isNaN(be)||be<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=$,this.bottom=xe,this.left=ae,this.right=be};Zn.prototype.interpolate=function($,xe,ae){return xe.top!=null&&$.top!=null&&(this.top=a.number($.top,xe.top,ae)),xe.bottom!=null&&$.bottom!=null&&(this.bottom=a.number($.bottom,xe.bottom,ae)),xe.left!=null&&$.left!=null&&(this.left=a.number($.left,xe.left,ae)),xe.right!=null&&$.right!=null&&(this.right=a.number($.right,xe.right,ae)),this},Zn.prototype.getCenter=function($,xe){var ae=a.clamp((this.left+$-this.right)/2,0,$),be=a.clamp((this.top+xe-this.bottom)/2,0,xe);return new a.Point(ae,be)},Zn.prototype.equals=function($){return this.top===$.top&&this.bottom===$.bottom&&this.left===$.left&&this.right===$.right},Zn.prototype.clone=function(){return new Zn(this.top,this.bottom,this.left,this.right)},Zn.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Xn=function($,xe,ae,be,Ge){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Ge===void 0?!0:Ge,this._minZoom=$||0,this._maxZoom=xe||22,this._minPitch=ae??0,this._maxPitch=be??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new a.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new Zn,this._posMatrixCache={},this._alignedPosMatrixCache={}},aa={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Xn.prototype.clone=function(){var $=new Xn(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return $.tileSize=this.tileSize,$.latRange=this.latRange,$.width=this.width,$.height=this.height,$._center=this._center,$.zoom=this.zoom,$.angle=this.angle,$._fov=this._fov,$._pitch=this._pitch,$._unmodified=this._unmodified,$._edgeInsets=this._edgeInsets.clone(),$._calcMatrices(),$},aa.minZoom.get=function(){return this._minZoom},aa.minZoom.set=function(ge){this._minZoom!==ge&&(this._minZoom=ge,this.zoom=Math.max(this.zoom,ge))},aa.maxZoom.get=function(){return this._maxZoom},aa.maxZoom.set=function(ge){this._maxZoom!==ge&&(this._maxZoom=ge,this.zoom=Math.min(this.zoom,ge))},aa.minPitch.get=function(){return this._minPitch},aa.minPitch.set=function(ge){this._minPitch!==ge&&(this._minPitch=ge,this.pitch=Math.max(this.pitch,ge))},aa.maxPitch.get=function(){return this._maxPitch},aa.maxPitch.set=function(ge){this._maxPitch!==ge&&(this._maxPitch=ge,this.pitch=Math.min(this.pitch,ge))},aa.renderWorldCopies.get=function(){return this._renderWorldCopies},aa.renderWorldCopies.set=function(ge){ge===void 0?ge=!0:ge===null&&(ge=!1),this._renderWorldCopies=ge},aa.worldSize.get=function(){return this.tileSize*this.scale},aa.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},aa.size.get=function(){return new a.Point(this.width,this.height)},aa.bearing.get=function(){return-this.angle/Math.PI*180},aa.bearing.set=function(ge){var $=-a.wrap(ge,-180,180)*Math.PI/180;this.angle!==$&&(this._unmodified=!1,this.angle=$,this._calcMatrices(),this.rotationMatrix=a.create$2(),a.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},aa.pitch.get=function(){return this._pitch/Math.PI*180},aa.pitch.set=function(ge){var $=a.clamp(ge,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==$&&(this._unmodified=!1,this._pitch=$,this._calcMatrices())},aa.fov.get=function(){return this._fov/Math.PI*180},aa.fov.set=function(ge){ge=Math.max(.01,Math.min(60,ge)),this._fov!==ge&&(this._unmodified=!1,this._fov=ge/180*Math.PI,this._calcMatrices())},aa.zoom.get=function(){return this._zoom},aa.zoom.set=function(ge){var $=Math.min(Math.max(ge,this.minZoom),this.maxZoom);this._zoom!==$&&(this._unmodified=!1,this._zoom=$,this.scale=this.zoomScale($),this.tileZoom=Math.floor($),this.zoomFraction=$-this.tileZoom,this._constrain(),this._calcMatrices())},aa.center.get=function(){return this._center},aa.center.set=function(ge){ge.lat===this._center.lat&&ge.lng===this._center.lng||(this._unmodified=!1,this._center=ge,this._constrain(),this._calcMatrices())},aa.padding.get=function(){return this._edgeInsets.toJSON()},aa.padding.set=function(ge){this._edgeInsets.equals(ge)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,ge,1),this._calcMatrices())},aa.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Xn.prototype.isPaddingEqual=function($){return this._edgeInsets.equals($)},Xn.prototype.interpolatePadding=function($,xe,ae){this._unmodified=!1,this._edgeInsets.interpolate($,xe,ae),this._constrain(),this._calcMatrices()},Xn.prototype.coveringZoomLevel=function($){var xe=($.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/$.tileSize));return Math.max(0,xe)},Xn.prototype.getVisibleUnwrappedCoordinates=function($){var xe=[new a.UnwrappedTileID(0,$)];if(this._renderWorldCopies)for(var ae=this.pointCoordinate(new a.Point(0,0)),be=this.pointCoordinate(new a.Point(this.width,0)),Ge=this.pointCoordinate(new a.Point(this.width,this.height)),rt=this.pointCoordinate(new a.Point(0,this.height)),xt=Math.floor(Math.min(ae.x,be.x,Ge.x,rt.x)),It=Math.floor(Math.max(ae.x,be.x,Ge.x,rt.x)),tr=1,gr=xt-tr;gr<=It+tr;gr++)gr!==0&&xe.push(new a.UnwrappedTileID(gr,$));return xe},Xn.prototype.coveringTiles=function($){var xe=this.coveringZoomLevel($),ae=xe;if($.minzoom!==void 0&&xe<$.minzoom)return[];$.maxzoom!==void 0&&xe>$.maxzoom&&(xe=$.maxzoom);var be=a.MercatorCoordinate.fromLngLat(this.center),Ge=Math.pow(2,xe),rt=[Ge*be.x,Ge*be.y,0],xt=vn.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,xe),It=$.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(It=xe);var tr=3,gr=function(ui){return{aabb:new wn([ui*Ge,0,0],[(ui+1)*Ge,Ge,0]),zoom:0,x:0,y:0,wrap:ui,fullyVisible:!1}},Rr=[],Yr=[],sn=xe,pn=$.reparseOverscaled?ae:xe;if(this._renderWorldCopies)for(var mn=1;mn<=3;mn++)Rr.push(gr(-mn)),Rr.push(gr(mn));for(Rr.push(gr(0));Rr.length>0;){var hn=Rr.pop(),Mn=hn.x,Un=hn.y,oa=hn.fullyVisible;if(!oa){var ma=hn.aabb.intersects(xt);if(ma===0)continue;oa=ma===2}var ka=hn.aabb.distanceX(rt),Da=hn.aabb.distanceY(rt),Ea=Math.max(Math.abs(ka),Math.abs(Da)),Ha=tr+(1<Ha&&hn.zoom>=It){Yr.push({tileID:new a.OverscaledTileID(hn.zoom===sn?pn:hn.zoom,hn.wrap,hn.zoom,Mn,Un),distanceSq:a.sqrLen([rt[0]-.5-Mn,rt[1]-.5-Un])});continue}for(var Wa=0;Wa<4;Wa++){var Xa=(Mn<<1)+Wa%2,qa=(Un<<1)+(Wa>>1);Rr.push({aabb:hn.aabb.quadrant(Wa),zoom:hn.zoom+1,x:Xa,y:qa,wrap:hn.wrap,fullyVisible:oa})}}return Yr.sort(function(ui,bi){return ui.distanceSq-bi.distanceSq}).map(function(ui){return ui.tileID})},Xn.prototype.resize=function($,xe){this.width=$,this.height=xe,this.pixelsToGLUnits=[2/$,-2/xe],this._constrain(),this._calcMatrices()},aa.unmodified.get=function(){return this._unmodified},Xn.prototype.zoomScale=function($){return Math.pow(2,$)},Xn.prototype.scaleZoom=function($){return Math.log($)/Math.LN2},Xn.prototype.project=function($){var xe=a.clamp($.lat,-this.maxValidLatitude,this.maxValidLatitude);return new a.Point(a.mercatorXfromLng($.lng)*this.worldSize,a.mercatorYfromLat(xe)*this.worldSize)},Xn.prototype.unproject=function($){return new a.MercatorCoordinate($.x/this.worldSize,$.y/this.worldSize).toLngLat()},aa.point.get=function(){return this.project(this.center)},Xn.prototype.setLocationAtPoint=function($,xe){var ae=this.pointCoordinate(xe),be=this.pointCoordinate(this.centerPoint),Ge=this.locationCoordinate($),rt=new a.MercatorCoordinate(Ge.x-(ae.x-be.x),Ge.y-(ae.y-be.y));this.center=this.coordinateLocation(rt),this._renderWorldCopies&&(this.center=this.center.wrap())},Xn.prototype.locationPoint=function($){return this.coordinatePoint(this.locationCoordinate($))},Xn.prototype.pointLocation=function($){return this.coordinateLocation(this.pointCoordinate($))},Xn.prototype.locationCoordinate=function($){return a.MercatorCoordinate.fromLngLat($)},Xn.prototype.coordinateLocation=function($){return $.toLngLat()},Xn.prototype.pointCoordinate=function($){var xe=0,ae=[$.x,$.y,0,1],be=[$.x,$.y,1,1];a.transformMat4(ae,ae,this.pixelMatrixInverse),a.transformMat4(be,be,this.pixelMatrixInverse);var Ge=ae[3],rt=be[3],xt=ae[0]/Ge,It=be[0]/rt,tr=ae[1]/Ge,gr=be[1]/rt,Rr=ae[2]/Ge,Yr=be[2]/rt,sn=Rr===Yr?0:(xe-Rr)/(Yr-Rr);return new a.MercatorCoordinate(a.number(xt,It,sn)/this.worldSize,a.number(tr,gr,sn)/this.worldSize)},Xn.prototype.coordinatePoint=function($){var xe=[$.x*this.worldSize,$.y*this.worldSize,0,1];return a.transformMat4(xe,xe,this.pixelMatrix),new a.Point(xe[0]/xe[3],xe[1]/xe[3])},Xn.prototype.getBounds=function(){return new a.LngLatBounds().extend(this.pointLocation(new a.Point(0,0))).extend(this.pointLocation(new a.Point(this.width,0))).extend(this.pointLocation(new a.Point(this.width,this.height))).extend(this.pointLocation(new a.Point(0,this.height)))},Xn.prototype.getMaxBounds=function(){return!this.latRange||this.latRange.length!==2||!this.lngRange||this.lngRange.length!==2?null:new a.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]])},Xn.prototype.setMaxBounds=function($){$?(this.lngRange=[$.getWest(),$.getEast()],this.latRange=[$.getSouth(),$.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Xn.prototype.calculatePosMatrix=function($,xe){xe===void 0&&(xe=!1);var ae=$.key,be=xe?this._alignedPosMatrixCache:this._posMatrixCache;if(be[ae])return be[ae];var Ge=$.canonical,rt=this.worldSize/this.zoomScale(Ge.z),xt=Ge.x+Math.pow(2,Ge.z)*$.wrap,It=a.identity(new Float64Array(16));return a.translate(It,It,[xt*rt,Ge.y*rt,0]),a.scale(It,It,[rt/a.EXTENT,rt/a.EXTENT,1]),a.multiply(It,xe?this.alignedProjMatrix:this.projMatrix,It),be[ae]=new Float32Array(It),be[ae]},Xn.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Xn.prototype._constrain=function(){if(!(!this.center||!this.width||!this.height||this._constraining)){this._constraining=!0;var $=-90,xe=90,ae=-180,be=180,Ge,rt,xt,It,tr=this.size,gr=this._unmodified;if(this.latRange){var Rr=this.latRange;$=a.mercatorYfromLat(Rr[1])*this.worldSize,xe=a.mercatorYfromLat(Rr[0])*this.worldSize,Ge=xe-$xe&&(It=xe-hn)}if(this.lngRange){var Mn=sn.x,Un=tr.x/2;Mn-Unbe&&(xt=be-Un)}(xt!==void 0||It!==void 0)&&(this.center=this.unproject(new a.Point(xt!==void 0?xt:sn.x,It!==void 0?It:sn.y))),this._unmodified=gr,this._constraining=!1}},Xn.prototype._calcMatrices=function(){if(this.height){var $=this._fov/2,xe=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan($)*this.height;var ae=Math.PI/2+this._pitch,be=this._fov*(.5+xe.y/this.height),Ge=Math.sin(be)*this.cameraToCenterDistance/Math.sin(a.clamp(Math.PI-ae-be,.01,Math.PI-.01)),rt=this.point,xt=rt.x,It=rt.y,tr=Math.cos(Math.PI/2-this._pitch)*Ge+this.cameraToCenterDistance,gr=tr*1.01,Rr=this.height/50,Yr=new Float64Array(16);a.perspective(Yr,this._fov,this.width/this.height,Rr,gr),Yr[8]=-xe.x*2/this.width,Yr[9]=xe.y*2/this.height,a.scale(Yr,Yr,[1,-1,1]),a.translate(Yr,Yr,[0,0,-this.cameraToCenterDistance]),a.rotateX(Yr,Yr,this._pitch),a.rotateZ(Yr,Yr,this.angle),a.translate(Yr,Yr,[-xt,-It,0]),this.mercatorMatrix=a.scale([],Yr,[this.worldSize,this.worldSize,this.worldSize]),a.scale(Yr,Yr,[1,1,a.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=Yr,this.invProjMatrix=a.invert([],this.projMatrix);var sn=this.width%2/2,pn=this.height%2/2,mn=Math.cos(this.angle),hn=Math.sin(this.angle),Mn=xt-Math.round(xt)+mn*sn+hn*pn,Un=It-Math.round(It)+mn*pn+hn*sn,oa=new Float64Array(Yr);if(a.translate(oa,oa,[Mn>.5?Mn-1:Mn,Un>.5?Un-1:Un,0]),this.alignedProjMatrix=oa,Yr=a.create(),a.scale(Yr,Yr,[this.width/2,-this.height/2,1]),a.translate(Yr,Yr,[1,-1,0]),this.labelPlaneMatrix=Yr,Yr=a.create(),a.scale(Yr,Yr,[1,-1,1]),a.translate(Yr,Yr,[-1,-1,0]),a.scale(Yr,Yr,[2/this.width,2/this.height,1]),this.glCoordMatrix=Yr,this.pixelMatrix=a.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),Yr=a.invert(new Float64Array(16),this.pixelMatrix),!Yr)throw new Error("failed to invert matrix");this.pixelMatrixInverse=Yr,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Xn.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var $=this.pointCoordinate(new a.Point(0,0)),xe=[$.x*this.worldSize,$.y*this.worldSize,0,1],ae=a.transformMat4(xe,xe,this.pixelMatrix);return ae[3]/this.cameraToCenterDistance},Xn.prototype.getCameraPoint=function(){var $=this._pitch,xe=Math.tan($)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new a.Point(0,xe))},Xn.prototype.getCameraQueryGeometry=function($){var xe=this.getCameraPoint();if($.length===1)return[$[0],xe];for(var ae=xe.x,be=xe.y,Ge=xe.x,rt=xe.y,xt=0,It=$;xt=3&&!$.some(function(ae){return isNaN(ae)})){var xe=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+($[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+$[2],+$[1]],zoom:+$[0],bearing:xe,pitch:+($[4]||0)}),!0}return!1},hi.prototype._updateHashUnthrottled=function(){var $=this.getHashString();try{a.window.history.replaceState(a.window.history.state,"",$)}catch{}};var wi={linearity:.3,easing:a.bezier(0,0,.3,1)},Ai=a.extend({deceleration:2500,maxSpeed:1400},wi),Si=a.extend({deceleration:20,maxSpeed:1400},wi),eo=a.extend({deceleration:1e3,maxSpeed:360},wi),Lo=a.extend({deceleration:1e3,maxSpeed:90},wi),mo=function($){this._map=$,this.clear()};mo.prototype.clear=function(){this._inertiaBuffer=[]},mo.prototype.record=function($){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:a.browser.now(),settings:$})},mo.prototype._drainInertiaBuffer=function(){for(var $=this._inertiaBuffer,xe=a.browser.now(),ae=160;$.length>0&&xe-$[0].time>ae;)$.shift()},mo.prototype._onMoveEnd=function($){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var xe={zoom:0,bearing:0,pitch:0,pan:new a.Point(0,0),pinchAround:void 0,around:void 0},ae=0,be=this._inertiaBuffer;ae=this._clickTolerance||this._map.fire(new Ke($.type,this._map,$))},mt.prototype.dblclick=function($){return this._firePreventable(new Ke($.type,this._map,$))},mt.prototype.mouseover=function($){this._map.fire(new Ke($.type,this._map,$))},mt.prototype.mouseout=function($){this._map.fire(new Ke($.type,this._map,$))},mt.prototype.touchstart=function($){return this._firePreventable(new ft($.type,this._map,$))},mt.prototype.touchmove=function($){this._map.fire(new ft($.type,this._map,$))},mt.prototype.touchend=function($){this._map.fire(new ft($.type,this._map,$))},mt.prototype.touchcancel=function($){this._map.fire(new ft($.type,this._map,$))},mt.prototype._firePreventable=function($){if(this._map.fire($),$.defaultPrevented)return{}},mt.prototype.isEnabled=function(){return!0},mt.prototype.isActive=function(){return!1},mt.prototype.enable=function(){},mt.prototype.disable=function(){};var Nt=function($){this._map=$};Nt.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Nt.prototype.mousemove=function($){this._map.fire(new Ke($.type,this._map,$))},Nt.prototype.mousedown=function(){this._delayContextMenu=!0},Nt.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Ke("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Nt.prototype.contextmenu=function($){this._delayContextMenu?this._contextMenuEvent=$:this._map.fire(new Ke($.type,this._map,$)),this._map.listens("contextmenu")&&$.preventDefault()},Nt.prototype.isEnabled=function(){return!0},Nt.prototype.isActive=function(){return!1},Nt.prototype.enable=function(){},Nt.prototype.disable=function(){};var St=function($,xe){this._map=$,this._el=$.getCanvasContainer(),this._container=$.getContainer(),this._clickTolerance=xe.clickTolerance||1};St.prototype.isEnabled=function(){return!!this._enabled},St.prototype.isActive=function(){return!!this._active},St.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},St.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},St.prototype.mousedown=function($,xe){this.isEnabled()&&$.shiftKey&&$.button===0&&(x.disableDrag(),this._startPos=this._lastPos=xe,this._active=!0)},St.prototype.mousemoveWindow=function($,xe){if(this._active){var ae=xe;if(!(this._lastPos.equals(ae)||!this._box&&ae.dist(this._startPos)this.numTouches)&&(this.aborted=!0),!this.aborted&&(this.startTime===void 0&&(this.startTime=$.timeStamp),ae.length===this.numTouches&&(this.centroid=xr(xe),this.touches=rr(ae,xe)))},Tn.prototype.touchmove=function($,xe,ae){if(!(this.aborted||!this.centroid)){var be=rr(ae,xe);for(var Ge in this.touches){var rt=this.touches[Ge],xt=be[Ge];(!xt||xt.dist(rt)>Jr)&&(this.aborted=!0)}}},Tn.prototype.touchend=function($,xe,ae){if((!this.centroid||$.timeStamp-this.startTime>Qr)&&(this.aborted=!0),ae.length===0){var be=!this.aborted&&this.centroid;if(this.reset(),be)return be}};var Pn=function($){this.singleTap=new Tn($),this.numTaps=$.numTaps,this.reset()};Pn.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Pn.prototype.touchstart=function($,xe,ae){this.singleTap.touchstart($,xe,ae)},Pn.prototype.touchmove=function($,xe,ae){this.singleTap.touchmove($,xe,ae)},Pn.prototype.touchend=function($,xe,ae){var be=this.singleTap.touchend($,xe,ae);if(be){var Ge=$.timeStamp-this.lastTime0&&(this._active=!0);var be=rr(ae,xe),Ge=new a.Point(0,0),rt=new a.Point(0,0),xt=0;for(var It in be){var tr=be[It],gr=this._touches[It];gr&&(Ge._add(tr),rt._add(tr.sub(gr)),xt++,be[It]=tr)}if(this._touches=be,!(xtMath.abs(ge.x)}var Ao=100,Ta=function(ge){function $(){ge.apply(this,arguments)}return ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$,$.prototype.reset=function(){ge.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},$.prototype._start=function(ae){this._lastPoints=ae,so(ae[0].sub(ae[1]))&&(this._valid=!1)},$.prototype._move=function(ae,be,Ge){var rt=ae[0].sub(this._lastPoints[0]),xt=ae[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(rt,xt,Ge.timeStamp),!!this._valid){this._lastPoints=ae,this._active=!0;var It=(rt.y+xt.y)/2,tr=-.5;return{pitchDelta:It*tr}}},$.prototype.gestureBeginsVertically=function(ae,be,Ge){if(this._valid!==void 0)return this._valid;var rt=2,xt=ae.mag()>=rt,It=be.mag()>=rt;if(!(!xt&&!It)){if(!xt||!It)return this._firstMove===void 0&&(this._firstMove=Ge),Ge-this._firstMove0==be.y>0;return so(ae)&&so(be)&&tr}},$}(Ia),Di={panStep:100,bearingStep:15,pitchStep:10},Ei=function(){var $=Di;this._panStep=$.panStep,this._bearingStep=$.bearingStep,this._pitchStep=$.pitchStep};Ei.prototype.reset=function(){this._active=!1},Ei.prototype.keydown=function($){var xe=this;if(!($.altKey||$.ctrlKey||$.metaKey)){var ae=0,be=0,Ge=0,rt=0,xt=0;switch($.keyCode){case 61:case 107:case 171:case 187:ae=1;break;case 189:case 109:case 173:ae=-1;break;case 37:$.shiftKey?be=-1:($.preventDefault(),rt=-1);break;case 39:$.shiftKey?be=1:($.preventDefault(),rt=1);break;case 38:$.shiftKey?Ge=1:($.preventDefault(),xt=-1);break;case 40:$.shiftKey?Ge=-1:($.preventDefault(),xt=1);break;default:return}return{cameraAnimation:function(It){var tr=It.getZoom();It.easeTo({duration:300,easeId:"keyboardHandler",easing:ji,zoom:ae?Math.round(tr)+ae*($.shiftKey?2:1):tr,bearing:It.getBearing()+be*xe._bearingStep,pitch:It.getPitch()+Ge*xe._pitchStep,offset:[-rt*xe._panStep,-xt*xe._panStep],center:It.getCenter()},{originalEvent:$})}}}},Ei.prototype.enable=function(){this._enabled=!0},Ei.prototype.disable=function(){this._enabled=!1,this.reset()},Ei.prototype.isEnabled=function(){return this._enabled},Ei.prototype.isActive=function(){return this._active};function ji(ge){return ge*(2-ge)}var Go=4.000244140625,is=1/100,gs=1/450,Bo=2,Mo=function($,xe){this._map=$,this._el=$.getCanvasContainer(),this._handler=xe,this._delta=0,this._defaultZoomRate=is,this._wheelZoomRate=gs,a.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};Mo.prototype.setZoomRate=function($){this._defaultZoomRate=$},Mo.prototype.setWheelZoomRate=function($){this._wheelZoomRate=$},Mo.prototype.isEnabled=function(){return!!this._enabled},Mo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},Mo.prototype.isZooming=function(){return!!this._zooming},Mo.prototype.enable=function($){this.isEnabled()||(this._enabled=!0,this._aroundCenter=$&&$.around==="center")},Mo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Mo.prototype.wheel=function($){if(this.isEnabled()){var xe=$.deltaMode===a.window.WheelEvent.DOM_DELTA_LINE?$.deltaY*40:$.deltaY,ae=a.browser.now(),be=ae-(this._lastWheelEventTime||0);this._lastWheelEventTime=ae,xe!==0&&xe%Go===0?this._type="wheel":xe!==0&&Math.abs(xe)<4?this._type="trackpad":be>400?(this._type=null,this._lastValue=xe,this._timeout=setTimeout(this._onTimeout,40,$)):this._type||(this._type=Math.abs(be*xe)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,xe+=this._lastValue)),$.shiftKey&&xe&&(xe=xe/4),this._type&&(this._lastWheelEvent=$,this._delta-=xe,this._active||this._start($)),$.preventDefault()}},Mo.prototype._onTimeout=function($){this._type="wheel",this._delta-=this._lastValue,this._active||this._start($)},Mo.prototype._start=function($){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var xe=x.mousePos(this._el,$);this._around=a.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(xe)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},Mo.prototype.renderFrame=function(){return this._onScrollFrame()},Mo.prototype._onScrollFrame=function(){var $=this;if(this._frameId&&(this._frameId=null,!!this.isActive())){var xe=this._map.transform;if(this._delta!==0){var ae=this._type==="wheel"&&Math.abs(this._delta)>Go?this._wheelZoomRate:this._defaultZoomRate,be=Bo/(1+Math.exp(-Math.abs(this._delta*ae)));this._delta<0&&be!==0&&(be=1/be);var Ge=typeof this._targetZoom=="number"?xe.zoomScale(this._targetZoom):xe.scale;this._targetZoom=Math.min(xe.maxZoom,Math.max(xe.minZoom,xe.scaleZoom(Ge*be))),this._type==="wheel"&&(this._startZoom=xe.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var rt=typeof this._targetZoom=="number"?this._targetZoom:xe.zoom,xt=this._startZoom,It=this._easing,tr=!1,gr;if(this._type==="wheel"&&xt&&It){var Rr=Math.min((a.browser.now()-this._lastWheelEventTime)/200,1),Yr=It(Rr);gr=a.number(xt,rt,Yr),Rr<1?this._frameId||(this._frameId=!0):tr=!0}else gr=rt,tr=!0;return this._active=!0,tr&&(this._active=!1,this._finishTimeout=setTimeout(function(){$._zooming=!1,$._handler._triggerRenderFrame(),delete $._targetZoom,delete $._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!tr,zoomDelta:gr-xe.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},Mo.prototype._smoothOutEasing=function($){var xe=a.ease;if(this._prevEase){var ae=this._prevEase,be=(a.browser.now()-ae.start)/ae.duration,Ge=ae.easing(be+.01)-ae.easing(be),rt=.27/Math.sqrt(Ge*Ge+1e-4)*.01,xt=Math.sqrt(.27*.27-rt*rt);xe=a.bezier(rt,xt,.25,1)}return this._prevEase={start:a.browser.now(),duration:$,easing:xe},xe},Mo.prototype.reset=function(){this._active=!1};var ni=function($,xe){this._clickZoom=$,this._tapZoom=xe};ni.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},ni.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},ni.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},ni.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var vi=function(){this.reset()};vi.prototype.reset=function(){this._active=!1},vi.prototype.dblclick=function($,xe){return $.preventDefault(),{cameraAnimation:function(ae){ae.easeTo({duration:300,zoom:ae.getZoom()+($.shiftKey?-1:1),around:ae.unproject(xe)},{originalEvent:$})}}},vi.prototype.enable=function(){this._enabled=!0},vi.prototype.disable=function(){this._enabled=!1,this.reset()},vi.prototype.isEnabled=function(){return this._enabled},vi.prototype.isActive=function(){return this._active};var Oo=function(){this._tap=new Pn({numTouches:1,numTaps:1}),this.reset()};Oo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Oo.prototype.touchstart=function($,xe,ae){this._swipePoint||(this._tapTime&&$.timeStamp-this._tapTime>Ar&&this.reset(),this._tapTime?ae.length>0&&(this._swipePoint=xe[0],this._swipeTouch=ae[0].identifier):this._tap.touchstart($,xe,ae))},Oo.prototype.touchmove=function($,xe,ae){if(!this._tapTime)this._tap.touchmove($,xe,ae);else if(this._swipePoint){if(ae[0].identifier!==this._swipeTouch)return;var be=xe[0],Ge=be.y-this._swipePoint.y;return this._swipePoint=be,$.preventDefault(),this._active=!0,{zoomDelta:Ge/128}}},Oo.prototype.touchend=function($,xe,ae){if(this._tapTime)this._swipePoint&&ae.length===0&&this.reset();else{var be=this._tap.touchend($,xe,ae);be&&(this._tapTime=$.timeStamp)}},Oo.prototype.touchcancel=function(){this.reset()},Oo.prototype.enable=function(){this._enabled=!0},Oo.prototype.disable=function(){this._enabled=!1,this.reset()},Oo.prototype.isEnabled=function(){return this._enabled},Oo.prototype.isActive=function(){return this._active};var fs=function($,xe,ae){this._el=$,this._mousePan=xe,this._touchPan=ae};fs.prototype.enable=function($){this._inertiaOptions=$||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},fs.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},fs.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},fs.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ol=function($,xe,ae){this._pitchWithRotate=$.pitchWithRotate,this._mouseRotate=xe,this._mousePitch=ae};Ol.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ol.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ol.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ol.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var ys=function($,xe,ae,be){this._el=$,this._touchZoom=xe,this._touchRotate=ae,this._tapDragZoom=be,this._rotationDisabled=!1,this._enabled=!0};ys.prototype.enable=function($){this._touchZoom.enable($),this._rotationDisabled||this._touchRotate.enable($),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},ys.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},ys.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},ys.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},ys.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},ys.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var ol=function(ge){return ge.zoom||ge.drag||ge.pitch||ge.rotate},$o=function(ge){function $(){ge.apply(this,arguments)}return ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$,$}(a.Event);function $l(ge){return ge.panDelta&&ge.panDelta.mag()||ge.zoomDelta||ge.bearingDelta||ge.pitchDelta}var Do=function($,xe){this._map=$,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new mo($),this._bearingSnap=xe.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(xe),a.bindAll(["handleEvent","handleWindowEvent"],this);var ae=this._el;this._listeners=[[ae,"touchstart",{passive:!1}],[ae,"touchmove",{passive:!1}],[ae,"touchend",void 0],[ae,"touchcancel",void 0],[ae,"mousedown",void 0],[ae,"mousemove",void 0],[ae,"mouseup",void 0],[a.window.document,"mousemove",{capture:!0}],[a.window.document,"mouseup",void 0],[ae,"mouseover",void 0],[ae,"mouseout",void 0],[ae,"dblclick",void 0],[ae,"click",void 0],[ae,"keydown",{capture:!1}],[ae,"keyup",void 0],[ae,"wheel",{passive:!1}],[ae,"contextmenu",void 0],[a.window,"blur",void 0]];for(var be=0,Ge=this._listeners;bext?Math.min(2,ka):Math.max(.5,ka),ui=Math.pow(qa,1-Wa),bi=rt.unproject(oa.add(ma.mult(Wa*ui)).mult(Xa));rt.setLocationAtPoint(rt.renderWorldCopies?bi.wrap():bi,hn)}Ge._fireMoveEvents(be)},function(Wa){Ge._afterEase(be,Wa)},ae),this},$.prototype._prepareEase=function(ae,be,Ge){Ge===void 0&&(Ge={}),this._moving=!0,!be&&!Ge.moving&&this.fire(new a.Event("movestart",ae)),this._zooming&&!Ge.zooming&&this.fire(new a.Event("zoomstart",ae)),this._rotating&&!Ge.rotating&&this.fire(new a.Event("rotatestart",ae)),this._pitching&&!Ge.pitching&&this.fire(new a.Event("pitchstart",ae))},$.prototype._fireMoveEvents=function(ae){this.fire(new a.Event("move",ae)),this._zooming&&this.fire(new a.Event("zoom",ae)),this._rotating&&this.fire(new a.Event("rotate",ae)),this._pitching&&this.fire(new a.Event("pitch",ae))},$.prototype._afterEase=function(ae,be){if(!(this._easeId&&be&&this._easeId===be)){delete this._easeId;var Ge=this._zooming,rt=this._rotating,xt=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Ge&&this.fire(new a.Event("zoomend",ae)),rt&&this.fire(new a.Event("rotateend",ae)),xt&&this.fire(new a.Event("pitchend",ae)),this.fire(new a.Event("moveend",ae))}},$.prototype.flyTo=function(ae,be){var Ge=this;if(!ae.essential&&a.browser.prefersReducedMotion){var rt=a.pick(ae,["center","zoom","bearing","pitch","around"]);return this.jumpTo(rt,be)}this.stop(),ae=a.extend({offset:[0,0],speed:1.2,curve:1.42,easing:a.ease},ae);var xt=this.transform,It=this.getZoom(),tr=this.getBearing(),gr=this.getPitch(),Rr=this.getPadding(),Yr="zoom"in ae?a.clamp(+ae.zoom,xt.minZoom,xt.maxZoom):It,sn="bearing"in ae?this._normalizeBearing(ae.bearing,tr):tr,pn="pitch"in ae?+ae.pitch:gr,mn="padding"in ae?ae.padding:xt.padding,hn=xt.zoomScale(Yr-It),Mn=a.Point.convert(ae.offset),Un=xt.centerPoint.add(Mn),oa=xt.pointLocation(Un),ma=a.LngLat.convert(ae.center||oa);this._normalizeCenter(ma);var ka=xt.project(oa),Da=xt.project(ma).sub(ka),Ea=ae.curve,Ha=Math.max(xt.width,xt.height),Wa=Ha/hn,Xa=Da.mag();if("minZoom"in ae){var qa=a.clamp(Math.min(ae.minZoom,It,Yr),xt.minZoom,xt.maxZoom),ui=Ha/xt.zoomScale(qa-It);Ea=Math.sqrt(ui/Xa*2)}var bi=Ea*Ea;function Ii(Oi){var lo=(Wa*Wa-Ha*Ha+(Oi?-1:1)*bi*bi*Xa*Xa)/(2*(Oi?Wa:Ha)*bi*Xa);return Math.log(Math.sqrt(lo*lo+1)-lo)}function co(Oi){return(Math.exp(Oi)-Math.exp(-Oi))/2}function Hi(Oi){return(Math.exp(Oi)+Math.exp(-Oi))/2}function Qi(Oi){return co(Oi)/Hi(Oi)}var yi=Ii(0),ho=function(Oi){return Hi(yi)/Hi(yi+Ea*Oi)},So=function(Oi){return Ha*((Hi(yi)*Qi(yi+Ea*Oi)-co(yi))/bi)/Xa},go=(Ii(1)-yi)/Ea;if(Math.abs(Xa)<1e-6||!isFinite(go)){if(Math.abs(Ha-Wa)<1e-6)return this.easeTo(ae,be);var ro=Waae.maxDuration&&(ae.duration=0),this._zooming=!0,this._rotating=tr!==sn,this._pitching=pn!==gr,this._padding=!xt.isPaddingEqual(mn),this._prepareEase(be,!1),this._ease(function(Oi){var lo=Oi*go,Cs=1/ho(lo);xt.zoom=Oi===1?Yr:It+xt.scaleZoom(Cs),Ge._rotating&&(xt.bearing=a.number(tr,sn,Oi)),Ge._pitching&&(xt.pitch=a.number(gr,pn,Oi)),Ge._padding&&(xt.interpolatePadding(Rr,mn,Oi),Un=xt.centerPoint.add(Mn));var Ps=Oi===1?ma:xt.unproject(ka.add(Da.mult(So(lo))).mult(Cs));xt.setLocationAtPoint(xt.renderWorldCopies?Ps.wrap():Ps,Un),Ge._fireMoveEvents(be)},function(){return Ge._afterEase(be)},ae),this},$.prototype.isEasing=function(){return!!this._easeFrameId},$.prototype.stop=function(){return this._stop()},$.prototype._stop=function(ae,be){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Ge=this._onEaseEnd;delete this._onEaseEnd,Ge.call(this,be)}if(!ae){var rt=this.handlers;rt&&rt.stop()}return this},$.prototype._ease=function(ae,be,Ge){Ge.animate===!1||Ge.duration===0?(ae(1),be()):(this._easeStart=a.browser.now(),this._easeOptions=Ge,this._onEaseFrame=ae,this._onEaseEnd=be,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},$.prototype._renderFrameCallback=function(){var ae=Math.min((a.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(ae)),ae<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},$.prototype._normalizeBearing=function(ae,be){ae=a.wrap(ae,-180,180);var Ge=Math.abs(ae-be);return Math.abs(ae-360-be)180?-360:Ge<-180?360:0}},$}(a.Evented),Kl=function($){$===void 0&&($={}),this.options=$,a.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};Kl.prototype.getDefaultPosition=function(){return"bottom-right"},Kl.prototype.onAdd=function($){var xe=this.options&&this.options.compact;return this._map=$,this._container=x.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=x.create("div","mapboxgl-ctrl-attrib-inner",this._container),xe&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),xe===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},Kl.prototype.onRemove=function(){x.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Kl.prototype._updateEditLink=function(){var $=this._editLink;$||($=this._editLink=this._container.querySelector(".mapbox-improve-map"));var xe=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||a.config.ACCESS_TOKEN}];if($){var ae=xe.reduce(function(be,Ge,rt){return Ge.value&&(be+=Ge.key+"="+Ge.value+(rt=0)return!1;return!0});var xt=$.join(" | ");xt!==this._attribHTML&&(this._attribHTML=xt,$.length?(this._innerContainer.innerHTML=xt,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},Kl.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var Ji=function(){a.bindAll(["_updateLogo"],this),a.bindAll(["_updateCompact"],this)};Ji.prototype.onAdd=function($){this._map=$,this._container=x.create("div","mapboxgl-ctrl");var xe=x.create("a","mapboxgl-ctrl-logo");return xe.target="_blank",xe.rel="noopener nofollow",xe.href="https://www.mapbox.com/",xe.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),xe.setAttribute("rel","noopener nofollow"),this._container.appendChild(xe),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Ji.prototype.onRemove=function(){x.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Ji.prototype.getDefaultPosition=function(){return"bottom-left"},Ji.prototype._updateLogo=function($){(!$||$.sourceDataType==="metadata")&&(this._container.style.display=this._logoRequired()?"block":"none")},Ji.prototype._logoRequired=function(){if(this._map.style){var $=this._map.style.sourceCaches;for(var xe in $){var ae=$[xe].getSource();if(ae.mapbox_logo)return!0}return!1}},Ji.prototype._updateCompact=function(){var $=this._container.children;if($.length){var xe=$[0];this._map.getCanvasContainer().offsetWidth<250?xe.classList.add("mapboxgl-compact"):xe.classList.remove("mapboxgl-compact")}};var Io=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Io.prototype.add=function($){var xe=++this._id,ae=this._queue;return ae.push({callback:$,id:xe,cancelled:!1}),xe},Io.prototype.remove=function($){for(var xe=this._currentlyRunning,ae=xe?this._queue.concat(xe):this._queue,be=0,Ge=ae;beae.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(ae.minPitch!=null&&ae.maxPitch!=null&&ae.minPitch>ae.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(ae.minPitch!=null&&ae.minPitchKc)throw new Error("maxPitch must be less than or equal to "+Kc);var Ge=new Xn(ae.minZoom,ae.maxZoom,ae.minPitch,ae.maxPitch,ae.renderWorldCopies);if(ge.call(this,Ge,ae),this._interactive=ae.interactive,this._maxTileCacheSize=ae.maxTileCacheSize,this._failIfMajorPerformanceCaveat=ae.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=ae.preserveDrawingBuffer,this._antialias=ae.antialias,this._trackResize=ae.trackResize,this._bearingSnap=ae.bearingSnap,this._refreshExpiredTiles=ae.refreshExpiredTiles,this._fadeDuration=ae.fadeDuration,this._crossSourceCollisions=ae.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=ae.collectResourceTiming,this._renderTaskQueue=new Io,this._controls=[],this._mapId=a.uniqueId(),this._locale=a.extend({},I0,ae.locale),this._requestManager=new a.RequestManager(ae.transformRequest,ae.accessToken),typeof ae.container=="string"){if(this._container=a.window.document.getElementById(ae.container),!this._container)throw new Error("Container '"+ae.container+"' not found.")}else if(ae.container instanceof z0)this._container=ae.container;else throw new Error("Invalid type: 'container' must be a String or HTMLElement.");if(ae.maxBounds&&this.setMaxBounds(ae.maxBounds),a.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return be._update(!1)}),this.on("moveend",function(){return be._update(!1)}),this.on("zoom",function(){return be._update(!0)}),typeof a.window<"u"&&(a.window.addEventListener("online",this._onWindowOnline,!1),a.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Do(this,ae);var rt=typeof ae.hash=="string"&&ae.hash||void 0;this._hash=ae.hash&&new hi(rt).addTo(this),(!this._hash||!this._hash._onHashChange())&&(this.jumpTo({center:ae.center,zoom:ae.zoom,bearing:ae.bearing,pitch:ae.pitch}),ae.bounds&&(this.resize(),this.fitBounds(ae.bounds,a.extend({},ae.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=ae.localIdeographFontFamily,ae.style&&this.setStyle(ae.style,{localIdeographFontFamily:ae.localIdeographFontFamily}),ae.attributionControl&&this.addControl(new Kl({customAttribution:ae.customAttribution})),this.addControl(new Ji,ae.logoPosition),this.on("style.load",function(){be.transform.unmodified&&be.jumpTo(be.style.stylesheet)}),this.on("data",function(xt){be._update(xt.dataType==="style"),be.fire(new a.Event(xt.dataType+"data",xt))}),this.on("dataloading",function(xt){be.fire(new a.Event(xt.dataType+"dataloading",xt))})}ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$;var xe={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return $.prototype._getMapId=function(){return this._mapId},$.prototype.addControl=function(be,Ge){if(Ge===void 0&&be.getDefaultPosition&&(Ge=be.getDefaultPosition()),Ge===void 0&&(Ge="top-right"),!be||!be.onAdd)return this.fire(new a.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var rt=be.onAdd(this);this._controls.push(be);var xt=this._controlPositions[Ge];return Ge.indexOf("bottom")!==-1?xt.insertBefore(rt,xt.firstChild):xt.appendChild(rt),this},$.prototype.removeControl=function(be){if(!be||!be.onRemove)return this.fire(new a.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Ge=this._controls.indexOf(be);return Ge>-1&&this._controls.splice(Ge,1),be.onRemove(this),this},$.prototype.resize=function(be){var Ge=this._containerDimensions(),rt=Ge[0],xt=Ge[1];this._resizeCanvas(rt,xt),this.transform.resize(rt,xt),this.painter.resize(rt,xt);var It=!this._moving;return It&&(this.stop(),this.fire(new a.Event("movestart",be)).fire(new a.Event("move",be))),this.fire(new a.Event("resize",be)),It&&this.fire(new a.Event("moveend",be)),this},$.prototype.getBounds=function(){return this.transform.getBounds()},$.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},$.prototype.setMaxBounds=function(be){return this.transform.setMaxBounds(a.LngLatBounds.convert(be)),this._update()},$.prototype.setMinZoom=function(be){if(be=be??F0,be>=F0&&be<=this.transform.maxZoom)return this.transform.minZoom=be,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=be,this._update(),this.getZoom()>be&&this.setZoom(be),this;throw new Error("maxZoom must be greater than the current minZoom")},$.prototype.getMaxZoom=function(){return this.transform.maxZoom},$.prototype.setMinPitch=function(be){if(be=be??cu,be=cu&&be<=this.transform.maxPitch)return this.transform.minPitch=be,this._update(),this.getPitch()Kc)throw new Error("maxPitch must be less than or equal to "+Kc);if(be>=this.transform.minPitch)return this.transform.maxPitch=be,this._update(),this.getPitch()>be&&this.setPitch(be),this;throw new Error("maxPitch must be greater than the current minPitch")},$.prototype.getMaxPitch=function(){return this.transform.maxPitch},$.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},$.prototype.setRenderWorldCopies=function(be){return this.transform.renderWorldCopies=be,this._update()},$.prototype.project=function(be){return this.transform.locationPoint(a.LngLat.convert(be))},$.prototype.unproject=function(be){return this.transform.pointLocation(a.Point.convert(be))},$.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},$.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},$.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},$.prototype._createDelegatedListener=function(be,Ge,rt){var xt=this,It;if(be==="mouseenter"||be==="mouseover"){var tr=!1,gr=function(hn){var Mn=xt.getLayer(Ge)?xt.queryRenderedFeatures(hn.point,{layers:[Ge]}):[];Mn.length?tr||(tr=!0,rt.call(xt,new Ke(be,xt,hn.originalEvent,{features:Mn}))):tr=!1},Rr=function(){tr=!1};return{layer:Ge,listener:rt,delegates:{mousemove:gr,mouseout:Rr}}}else if(be==="mouseleave"||be==="mouseout"){var Yr=!1,sn=function(hn){var Mn=xt.getLayer(Ge)?xt.queryRenderedFeatures(hn.point,{layers:[Ge]}):[];Mn.length?Yr=!0:Yr&&(Yr=!1,rt.call(xt,new Ke(be,xt,hn.originalEvent)))},pn=function(hn){Yr&&(Yr=!1,rt.call(xt,new Ke(be,xt,hn.originalEvent)))};return{layer:Ge,listener:rt,delegates:{mousemove:sn,mouseout:pn}}}else{var mn=function(hn){var Mn=xt.getLayer(Ge)?xt.queryRenderedFeatures(hn.point,{layers:[Ge]}):[];Mn.length&&(hn.features=Mn,rt.call(xt,hn),delete hn.features)};return{layer:Ge,listener:rt,delegates:(It={},It[be]=mn,It)}}},$.prototype.on=function(be,Ge,rt){if(rt===void 0)return ge.prototype.on.call(this,be,Ge);var xt=this._createDelegatedListener(be,Ge,rt);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[be]=this._delegatedListeners[be]||[],this._delegatedListeners[be].push(xt);for(var It in xt.delegates)this.on(It,xt.delegates[It]);return this},$.prototype.once=function(be,Ge,rt){if(rt===void 0)return ge.prototype.once.call(this,be,Ge);var xt=this._createDelegatedListener(be,Ge,rt);for(var It in xt.delegates)this.once(It,xt.delegates[It]);return this},$.prototype.off=function(be,Ge,rt){var xt=this;if(rt===void 0)return ge.prototype.off.call(this,be,Ge);var It=function(tr){for(var gr=tr[be],Rr=0;Rr180;){var rt=xe.locationPoint(ge);if(rt.x>=0&&rt.y>=0&&rt.x<=xe.width&&rt.y<=xe.height)break;ge.lng>xe.center.lng?ge.lng-=360:ge.lng+=360}return ge}var ah={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Oh(ge,$,xe){var ae=ge.classList;for(var be in ah)ae.remove("mapboxgl-"+xe+"-anchor-"+be);ae.add("mapboxgl-"+xe+"-anchor-"+$)}var x0=function(ge){function $(xe,ae){var be=this;if(ge.call(this),(xe instanceof a.window.HTMLElement||ae)&&(xe=a.extend({element:xe},ae)),a.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=xe&&xe.anchor||"center",this._color=xe&&xe.color||"#3FB1CE",this._draggable=xe&&xe.draggable||!1,this._state="inactive",this._rotation=xe&&xe.rotation||0,this._rotationAlignment=xe&&xe.rotationAlignment||"auto",this._pitchAlignment=xe&&xe.pitchAlignment&&xe.pitchAlignment!=="auto"?xe.pitchAlignment:this._rotationAlignment,!xe||!xe.element){this._defaultMarker=!0,this._element=x.create("div"),this._element.setAttribute("aria-label","Map marker");var Ge=x.createNS("http://www.w3.org/2000/svg","svg");Ge.setAttributeNS(null,"display","block"),Ge.setAttributeNS(null,"height","41px"),Ge.setAttributeNS(null,"width","27px"),Ge.setAttributeNS(null,"viewBox","0 0 27 41");var rt=x.createNS("http://www.w3.org/2000/svg","g");rt.setAttributeNS(null,"stroke","none"),rt.setAttributeNS(null,"stroke-width","1"),rt.setAttributeNS(null,"fill","none"),rt.setAttributeNS(null,"fill-rule","evenodd");var xt=x.createNS("http://www.w3.org/2000/svg","g");xt.setAttributeNS(null,"fill-rule","nonzero");var It=x.createNS("http://www.w3.org/2000/svg","g");It.setAttributeNS(null,"transform","translate(3.0, 29.0)"),It.setAttributeNS(null,"fill","#000000");for(var tr=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}],gr=0,Rr=tr;grbe.getEast()||Ge.latitudebe.getNorth())},$.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break}},$.prototype._onSuccess=function(ae){if(this._map){if(this._isOutOfMapMaxBounds(ae)){this._setErrorState(),this.fire(new a.Event("outofmaxbounds",ae)),this._updateMarker(),this._finish();return}if(this.options.trackUserLocation)switch(this._lastKnownPosition=ae,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(ae),(!this.options.trackUserLocation||this._watchState==="ACTIVE_LOCK")&&this._updateCamera(ae),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new a.Event("geolocate",ae)),this._finish()}},$.prototype._updateCamera=function(ae){var be=new a.LngLat(ae.coords.longitude,ae.coords.latitude),Ge=ae.coords.accuracy,rt=this._map.getBearing(),xt=a.extend({bearing:rt},this.options.fitBoundsOptions);this._map.fitBounds(be.toBounds(Ge),xt,{geolocateSource:!0})},$.prototype._updateMarker=function(ae){if(ae){var be=new a.LngLat(ae.coords.longitude,ae.coords.latitude);this._accuracyCircleMarker.setLngLat(be).addTo(this._map),this._userLocationDotMarker.setLngLat(be).addTo(this._map),this._accuracy=ae.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},$.prototype._updateCircleRadius=function(){var ae=this._map._container.clientHeight/2,be=this._map.unproject([0,ae]),Ge=this._map.unproject([1,ae]),rt=be.distanceTo(Ge),xt=Math.ceil(2*this._accuracy/rt);this._circleElement.style.width=xt+"px",this._circleElement.style.height=xt+"px"},$.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},$.prototype._onError=function(ae){if(this._map){if(this.options.trackUserLocation)if(ae.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var be=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=be,this._geolocateButton.setAttribute("aria-label",be),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(ae.code===3&&kc)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new a.Event("error",ae)),this._finish()}},$.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},$.prototype._setupUI=function(ae){var be=this;if(this._container.addEventListener("contextmenu",function(xt){return xt.preventDefault()}),this._geolocateButton=x.create("button","mapboxgl-ctrl-geolocate",this._container),x.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",ae===!1){a.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Ge=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Ge,this._geolocateButton.setAttribute("aria-label",Ge)}else{var rt=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=rt,this._geolocateButton.setAttribute("aria-label",rt)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=x.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new x0(this._dotElement),this._circleElement=x.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new x0({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(xt){var It=xt.originalEvent&&xt.originalEvent.type==="resize";!xt.geolocateSource&&be._watchState==="ACTIVE_LOCK"&&!It&&(be._watchState="BACKGROUND",be._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),be._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),be.fire(new a.Event("trackuserlocationend")))})},$.prototype.trigger=function(){if(!this._setup)return a.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new a.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":b0--,kc=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new a.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new a.Event("trackuserlocationstart"));break}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error");break}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),b0++;var ae;b0>1?(ae={maximumAge:6e5,timeout:0},kc=!0):(ae=this.options.positionOptions,kc=!1),this._geolocationWatchID=a.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,ae)}}else a.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},$.prototype._clearWatch=function(){a.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},$}(a.Evented),nv={maxWidth:100,unit:"metric"},Lc=function($){this.options=a.extend({},nv,$),a.bindAll(["_onMove","setUnit"],this)};Lc.prototype.getDefaultPosition=function(){return"bottom-left"},Lc.prototype._onMove=function(){Ld(this._map,this._container,this.options)},Lc.prototype.onAdd=function($){return this._map=$,this._container=x.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",$.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Lc.prototype.onRemove=function(){x.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Lc.prototype.setUnit=function($){this.options.unit=$,Ld(this._map,this._container,this.options)};function Ld(ge,$,xe){var ae=xe&&xe.maxWidth||100,be=ge._container.clientHeight/2,Ge=ge.unproject([0,be]),rt=ge.unproject([ae,be]),xt=Ge.distanceTo(rt);if(xe&&xe.unit==="imperial"){var It=3.2808*xt;if(It>5280){var tr=It/5280;O0($,ae,tr,ge._getUIString("ScaleControl.Miles"))}else O0($,ae,It,ge._getUIString("ScaleControl.Feet"))}else if(xe&&xe.unit==="nautical"){var gr=xt/1852;O0($,ae,gr,ge._getUIString("ScaleControl.NauticalMiles"))}else xt>=1e3?O0($,ae,xt/1e3,ge._getUIString("ScaleControl.Kilometers")):O0($,ae,xt,ge._getUIString("ScaleControl.Meters"))}function O0(ge,$,xe,ae){var be=_h(xe),Ge=be/xe;ge.style.width=$*Ge+"px",ge.innerHTML=be+" "+ae}function av(ge){var $=Math.pow(10,Math.ceil(-Math.log(ge)/Math.LN10));return Math.round(ge*$)/$}function _h(ge){var $=Math.pow(10,(""+Math.floor(ge)).length-1),xe=ge/$;return xe=xe>=10?10:xe>=5?5:xe>=3?3:xe>=2?2:xe>=1?1:av(xe),$*xe}var Lf=function($){this._fullscreen=!1,$&&$.container&&($.container instanceof a.window.HTMLElement?this._container=$.container:a.warnOnce("Full screen control 'container' must be a DOM element.")),a.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in a.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in a.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in a.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in a.window.document&&(this._fullscreenchange="MSFullscreenChange")};Lf.prototype.onAdd=function($){return this._map=$,this._container||(this._container=this._map.getContainer()),this._controlContainer=x.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",a.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Lf.prototype.onRemove=function(){x.remove(this._controlContainer),this._map=null,a.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Lf.prototype._checkFullscreenSupport=function(){return!!(a.window.document.fullscreenEnabled||a.window.document.mozFullScreenEnabled||a.window.document.msFullscreenEnabled||a.window.document.webkitFullscreenEnabled)},Lf.prototype._setupUI=function(){var $=this._fullscreenButton=x.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);x.create("span","mapboxgl-ctrl-icon",$).setAttribute("aria-hidden",!0),$.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),a.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Lf.prototype._updateTitle=function(){var $=this._getTitle();this._fullscreenButton.setAttribute("aria-label",$),this._fullscreenButton.title=$},Lf.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Lf.prototype._isFullscreen=function(){return this._fullscreen},Lf.prototype._changeIcon=function(){var $=a.window.document.fullscreenElement||a.window.document.mozFullScreenElement||a.window.document.webkitFullscreenElement||a.window.document.msFullscreenElement;$===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Lf.prototype._onClickFullscreen=function(){this._isFullscreen()?a.window.document.exitFullscreen?a.window.document.exitFullscreen():a.window.document.mozCancelFullScreen?a.window.document.mozCancelFullScreen():a.window.document.msExitFullscreen?a.window.document.msExitFullscreen():a.window.document.webkitCancelFullScreen&&a.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var iv={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},ov=function(ge){function $(xe){ge.call(this),this.options=a.extend(Object.create(iv),xe),a.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return ge&&($.__proto__=ge),$.prototype=Object.create(ge&&ge.prototype),$.prototype.constructor=$,$.prototype.addTo=function(ae){return this._map&&this.remove(),this._map=ae,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new a.Event("open")),this},$.prototype.isOpen=function(){return!!this._map},$.prototype.remove=function(){return this._content&&x.remove(this._content),this._container&&(x.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new a.Event("close")),this},$.prototype.getLngLat=function(){return this._lngLat},$.prototype.setLngLat=function(ae){return this._lngLat=a.LngLat.convert(ae),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},$.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},$.prototype.getElement=function(){return this._container},$.prototype.setText=function(ae){return this.setDOMContent(a.window.document.createTextNode(ae))},$.prototype.setHTML=function(ae){var be=a.window.document.createDocumentFragment(),Ge=a.window.document.createElement("body"),rt;for(Ge.innerHTML=ae;rt=Ge.firstChild,!!rt;)be.appendChild(rt);return this.setDOMContent(be)},$.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},$.prototype.setMaxWidth=function(ae){return this.options.maxWidth=ae,this._update(),this},$.prototype.setDOMContent=function(ae){return this._createContent(),this._content.appendChild(ae),this._update(),this},$.prototype.addClassName=function(ae){this._container&&this._container.classList.add(ae)},$.prototype.removeClassName=function(ae){this._container&&this._container.classList.remove(ae)},$.prototype.toggleClassName=function(ae){if(this._container)return this._container.classList.toggle(ae)},$.prototype._createContent=function(){this._content&&x.remove(this._content),this._content=x.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=x.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},$.prototype._onMouseUp=function(ae){this._update(ae.point)},$.prototype._onMouseMove=function(ae){this._update(ae.point)},$.prototype._onDrag=function(ae){this._update(ae.point)},$.prototype._update=function(ae){var be=this,Ge=this._lngLat||this._trackPointer;if(!(!this._map||!Ge||!this._content)&&(this._container||(this._container=x.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=x.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(sn){return be._container.classList.add(sn)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Ec(this._lngLat,this._pos,this._map.transform)),!(this._trackPointer&&!ae))){var rt=this._pos=this._trackPointer&&ae?ae:this._map.project(this._lngLat),xt=this.options.anchor,It=Pd(this.options.offset);if(!xt){var tr=this._container.offsetWidth,gr=this._container.offsetHeight,Rr;rt.y+It.bottom.ythis._map.transform.height-gr?Rr=["bottom"]:Rr=[],rt.xthis._map.transform.width-tr/2&&Rr.push("right"),Rr.length===0?xt="bottom":xt=Rr.join("-")}var Yr=rt.add(It[xt]).round();x.setTransform(this._container,ah[xt]+" translate("+Yr.x+"px,"+Yr.y+"px)"),Oh(this._container,xt,"popup")}},$.prototype._onClose=function(){this.remove()},$}(a.Evented);function Pd(ge){if(ge)if(typeof ge=="number"){var $=Math.round(Math.sqrt(.5*Math.pow(ge,2)));return{center:new a.Point(0,0),top:new a.Point(0,ge),"top-left":new a.Point($,$),"top-right":new a.Point(-$,$),bottom:new a.Point(0,-ge),"bottom-left":new a.Point($,-$),"bottom-right":new a.Point(-$,-$),left:new a.Point(ge,0),right:new a.Point(-ge,0)}}else if(ge instanceof a.Point||Array.isArray(ge)){var xe=a.Point.convert(ge);return{center:xe,top:xe,"top-left":xe,"top-right":xe,bottom:xe,"bottom-left":xe,"bottom-right":xe,left:xe,right:xe}}else return{center:a.Point.convert(ge.center||[0,0]),top:a.Point.convert(ge.top||[0,0]),"top-left":a.Point.convert(ge["top-left"]||[0,0]),"top-right":a.Point.convert(ge["top-right"]||[0,0]),bottom:a.Point.convert(ge.bottom||[0,0]),"bottom-left":a.Point.convert(ge["bottom-left"]||[0,0]),"bottom-right":a.Point.convert(ge["bottom-right"]||[0,0]),left:a.Point.convert(ge.left||[0,0]),right:a.Point.convert(ge.right||[0,0])};else return Pd(new a.Point(0,0))}var sv={version:a.version,supported:L,setRTLTextPlugin:a.setRTLTextPlugin,getRTLTextPluginStatus:a.getRTLTextPluginStatus,Map:Cd,NavigationControl:tc,GeolocateControl:kd,AttributionControl:Kl,ScaleControl:Lc,FullscreenControl:Lf,Popup:ov,Marker:x0,Style:Is,LngLat:a.LngLat,LngLatBounds:a.LngLatBounds,Point:a.Point,MercatorCoordinate:a.MercatorCoordinate,Evented:a.Evented,config:a.config,prewarm:Gt,clearPrewarmedResources:or,get accessToken(){return a.config.ACCESS_TOKEN},set accessToken(ge){a.config.ACCESS_TOKEN=ge},get baseApiUrl(){return a.config.API_URL},set baseApiUrl(ge){a.config.API_URL=ge},get workerCount(){return Fr.workerCount},set workerCount(ge){Fr.workerCount=ge},get maxParallelImageRequests(){return a.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(ge){a.config.MAX_PARALLEL_IMAGE_REQUESTS=ge},clearStorage:function($){a.clearTileCache($)},workerUrl:""};return sv}),p})},27084:function(B){B.exports=Math.log2||function(O){return Math.log(O)*Math.LOG2E}},16825:function(B,O,e){B.exports=E;var p=e(74311);function E(a,L){L||(L=a,a=window);var x=0,d=0,m=0,r={shift:!1,alt:!1,control:!1,meta:!1},t=!1;function s(C){var M=!1;return"altKey"in C&&(M=M||C.altKey!==r.alt,r.alt=!!C.altKey),"shiftKey"in C&&(M=M||C.shiftKey!==r.shift,r.shift=!!C.shiftKey),"ctrlKey"in C&&(M=M||C.ctrlKey!==r.control,r.control=!!C.ctrlKey),"metaKey"in C&&(M=M||C.metaKey!==r.meta,r.meta=!!C.metaKey),M}function n(C,M){var D=p.x(M),T=p.y(M);"buttons"in M&&(C=M.buttons|0),(C!==x||D!==d||T!==m||s(M))&&(x=C|0,d=D||0,m=T||0,L&&L(x,d,m,r))}function f(C){n(0,C)}function c(){(x||d||m||r.shift||r.alt||r.meta||r.control)&&(d=m=0,x=0,r.shift=r.alt=r.control=r.meta=!1,L&&L(0,0,0,r))}function u(C){s(C)&&L&&L(x,d,m,r)}function b(C){p.buttons(C)===0?n(0,C):n(x,C)}function h(C){n(x|p.buttons(C),C)}function S(C){n(x&~p.buttons(C),C)}function v(){t||(t=!0,a.addEventListener("mousemove",b),a.addEventListener("mousedown",h),a.addEventListener("mouseup",S),a.addEventListener("mouseleave",f),a.addEventListener("mouseenter",f),a.addEventListener("mouseout",f),a.addEventListener("mouseover",f),a.addEventListener("blur",c),a.addEventListener("keyup",u),a.addEventListener("keydown",u),a.addEventListener("keypress",u),a!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",u),window.addEventListener("keydown",u),window.addEventListener("keypress",u)))}function l(){t&&(t=!1,a.removeEventListener("mousemove",b),a.removeEventListener("mousedown",h),a.removeEventListener("mouseup",S),a.removeEventListener("mouseleave",f),a.removeEventListener("mouseenter",f),a.removeEventListener("mouseout",f),a.removeEventListener("mouseover",f),a.removeEventListener("blur",c),a.removeEventListener("keyup",u),a.removeEventListener("keydown",u),a.removeEventListener("keypress",u),a!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",u),window.removeEventListener("keydown",u),window.removeEventListener("keypress",u)))}v();var g={element:a};return Object.defineProperties(g,{enabled:{get:function(){return t},set:function(C){C?v():l()},enumerable:!0},buttons:{get:function(){return x},enumerable:!0},x:{get:function(){return d},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return r},enumerable:!0}}),g}},48956:function(B){var O={left:0,top:0};B.exports=e;function e(E,a,L){a=a||E.currentTarget||E.srcElement,Array.isArray(L)||(L=[0,0]);var x=E.clientX||0,d=E.clientY||0,m=p(a);return L[0]=x-m.left,L[1]=d-m.top,L}function p(E){return E===window||E===document||E===document.body?O:E.getBoundingClientRect()}},74311:function(B,O){function e(L){if(typeof L=="object"){if("buttons"in L)return L.buttons;if("which"in L){var x=L.which;if(x===2)return 4;if(x===3)return 2;if(x>0)return 1<=0)return 1<0&&r(s,C))}catch(M){c.call(new b(C),M)}}}function c(l){var g=this;g.triggered||(g.triggered=!0,g.def&&(g=g.def),g.msg=l,g.state=2,g.chain.length>0&&r(s,g))}function u(l,g,C,M){for(var D=0;D7&&(t.push(g.splice(0,7)),g.unshift("C"));break;case"S":var M=h,D=S;(r=="C"||r=="S")&&(M+=M-s,D+=D-n),g=["C",M,D,g[1],g[2],g[3],g[4]];break;case"T":r=="Q"||r=="T"?(u=h*2-u,b=S*2-b):(u=h,b=S),g=a(h,S,u,b,g[1],g[2]);break;case"Q":u=g[1],b=g[2],g=a(h,S,g[1],g[2],g[3],g[4]);break;case"L":g=E(h,S,g[1],g[2]);break;case"H":g=E(h,S,g[1],S);break;case"V":g=E(h,S,h,g[1]);break;case"Z":g=E(h,S,f,c);break}r=C,h=g[g.length-2],S=g[g.length-1],g.length>4?(s=g[g.length-4],n=g[g.length-3]):(s=h,n=S),t.push(g)}return t}function E(m,r,t,s){return["C",m,r,t,s,t,s]}function a(m,r,t,s,n,f){return["C",m/3+.6666666666666666*t,r/3+.6666666666666666*s,n/3+.6666666666666666*t,f/3+.6666666666666666*s,n,f]}function L(m,r,t,s,n,f,c,u,b,h){if(h)A=h[0],o=h[1],T=h[2],P=h[3];else{var S=x(m,r,-n);m=S.x,r=S.y,S=x(u,b,-n),u=S.x,b=S.y;var v=(m-u)/2,l=(r-b)/2,g=v*v/(t*t)+l*l/(s*s);g>1&&(g=Math.sqrt(g),t=g*t,s=g*s);var C=t*t,M=s*s,D=(f==c?-1:1)*Math.sqrt(Math.abs((C*M-C*l*l-M*v*v)/(C*l*l+M*v*v)));D==1/0&&(D=1);var T=D*t*l/s+(m+u)/2,P=D*-s*v/t+(r+b)/2,A=Math.asin(((r-P)/s).toFixed(9)),o=Math.asin(((b-P)/s).toFixed(9));A=mo&&(A=A-O*2),!c&&o>A&&(o=o-O*2)}if(Math.abs(o-A)>e){var k=o,w=u,U=b;o=A+e*(c&&o>A?1:-1),u=T+t*Math.cos(o),b=P+s*Math.sin(o);var F=L(u,b,t,s,n,0,c,w,U,[o,k,T,P])}var G=Math.tan((o-A)/4),_=4/3*t*G,H=4/3*s*G,V=[2*m-(m+_*Math.sin(A)),2*r-(r-H*Math.cos(A)),u+_*Math.sin(o),b-H*Math.cos(o),u,b];if(h)return V;F&&(V=V.concat(F));for(var N=0;N"u")return!1;for(var c in window)try{if(!s["$"+c]&&E.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{t(window[c])}catch{return!0}}catch{return!0}return!1}(),f=function(c){if(typeof window>"u"||!n)return t(c);try{return t(c)}catch{return!1}};p=function(u){var b=u!==null&&typeof u=="object",h=a.call(u)==="[object Function]",S=L(u),v=b&&a.call(u)==="[object String]",l=[];if(!b&&!h&&!S)throw new TypeError("Object.keys called on a non-object");var g=m&&h;if(v&&u.length>0&&!E.call(u,0))for(var C=0;C0)for(var M=0;M=0&&O.call(p.callee)==="[object Function]"),a}},88641:function(B){function O(E,a){if(typeof E!="string")return[E];var L=[E];typeof a=="string"||Array.isArray(a)?a={brackets:a}:a||(a={});var x=a.brackets?Array.isArray(a.brackets)?a.brackets:[a.brackets]:["{}","[]","()"],d=a.escape||"___",m=!!a.flat;x.forEach(function(s){var n=new RegExp(["\\",s[0],"[^\\",s[0],"\\",s[1],"]*\\",s[1]].join("")),f=[];function c(u,b,h){var S=L.push(u.slice(s[0].length,-s[1].length))-1;return f.push(S),d+S+d}L.forEach(function(u,b){for(var h,S=0;u!=h;)if(h=u,u=u.replace(n,c),S++>1e4)throw Error("References have circular dependency. Please, check them.");L[b]=u}),f=f.reverse(),L=L.map(function(u){return f.forEach(function(b){u=u.replace(new RegExp("(\\"+d+b+"\\"+d+")","g"),s[0]+"$1"+s[1])}),u})});var r=new RegExp("\\"+d+"([0-9]+)\\"+d);function t(s,n,f){for(var c=[],u,b=0;u=r.exec(s);){if(b++>1e4)throw Error("Circular references in parenthesis");c.push(s.slice(0,u.index)),c.push(t(n[u[1]],n)),s=s.slice(u.index+u[0].length)}return c.push(s),c}return m?L:t(L[0],L)}function e(E,a){if(a&&a.flat){var L=a&&a.escape||"___",x=E[0],d;if(!x)return"";for(var m=new RegExp("\\"+L+"([0-9]+)\\"+L),r=0;x!=d;){if(r++>1e4)throw Error("Circular references in "+E);d=x,x=x.replace(m,t)}return x}return E.reduce(function s(n,f){return Array.isArray(f)&&(f=f.reduce(s,"")),n+f},"");function t(s,n){if(E[n]==null)throw Error("Reference "+n+"is undefined");return E[n]}}function p(E,a){return Array.isArray(E)?e(E,a):O(E,a)}p.parse=O,p.stringify=e,B.exports=p},18863:function(B,O,e){var p=e(71299);B.exports=E;function E(a){var L;return arguments.length>1&&(a=arguments),typeof a=="string"?a=a.split(/\s/).map(parseFloat):typeof a=="number"&&(a=[a]),a.length&&typeof a[0]=="number"?a.length===1?L={width:a[0],height:a[0],x:0,y:0}:a.length===2?L={width:a[0],height:a[1],x:0,y:0}:L={x:a[0],y:a[1],width:a[2]-a[0]||0,height:a[3]-a[1]||0}:a&&(a=p(a,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),L={x:a.left||0,y:a.top||0},a.width==null?a.right?L.width=a.right-L.x:L.width=0:L.width=a.width,a.height==null?a.bottom?L.height=a.bottom-L.y:L.height=0:L.height=a.height),L}},95616:function(B){B.exports=p;var O={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},e=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function p(L){var x=[];return L.replace(e,function(d,m,r){var t=m.toLowerCase();for(r=a(r),t=="m"&&r.length>2&&(x.push([m].concat(r.splice(0,2))),t="l",m=m=="m"?"l":"L");;){if(r.length==O[t])return r.unshift(m),x.push(r);if(r.lengthx!=c>x&&L<(f-s)*(x-n)/(c-n)+s;u&&(d=!d)}return d}},52142:function(B,O,e){/* - * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc - * @license MIT - * @preserve Project Home: https://github.com/voidqk/polybooljs - */var p=e(69444),E=e(29023),a=e(87263),L=e(11328),x=e(55968),d=e(10670),m=!1,r=E(),t;t={buildLog:function(n){return n===!0?m=p():n===!1&&(m=!1),m===!1?!1:m.list},epsilon:function(n){return r.epsilon(n)},segments:function(n){var f=a(!0,r,m);return n.regions.forEach(f.addRegion),{segments:f.calculate(n.inverted),inverted:n.inverted}},combine:function(n,f){var c=a(!1,r,m);return{combined:c.calculate(n.segments,n.inverted,f.segments,f.inverted),inverted1:n.inverted,inverted2:f.inverted}},selectUnion:function(n){return{segments:x.union(n.combined,m),inverted:n.inverted1||n.inverted2}},selectIntersect:function(n){return{segments:x.intersect(n.combined,m),inverted:n.inverted1&&n.inverted2}},selectDifference:function(n){return{segments:x.difference(n.combined,m),inverted:n.inverted1&&!n.inverted2}},selectDifferenceRev:function(n){return{segments:x.differenceRev(n.combined,m),inverted:!n.inverted1&&n.inverted2}},selectXor:function(n){return{segments:x.xor(n.combined,m),inverted:n.inverted1!==n.inverted2}},polygon:function(n){return{regions:L(n.segments,r,m),inverted:n.inverted}},polygonFromGeoJSON:function(n){return d.toPolygon(t,n)},polygonToGeoJSON:function(n){return d.fromPolygon(t,r,n)},union:function(n,f){return s(n,f,t.selectUnion)},intersect:function(n,f){return s(n,f,t.selectIntersect)},difference:function(n,f){return s(n,f,t.selectDifference)},differenceRev:function(n,f){return s(n,f,t.selectDifferenceRev)},xor:function(n,f){return s(n,f,t.selectXor)}};function s(n,f,c){var u=t.segments(n),b=t.segments(f),h=t.combine(u,b),S=c(h);return t.polygon(S)}typeof window=="object"&&(window.PolyBool=t),B.exports=t},69444:function(B){function O(){var e,p=0,E=!1;function a(L,x){return e.list.push({type:L,data:x?JSON.parse(JSON.stringify(x)):void 0}),e}return e={list:[],segmentId:function(){return p++},checkIntersection:function(L,x){return a("check",{seg1:L,seg2:x})},segmentChop:function(L,x){return a("div_seg",{seg:L,pt:x}),a("chop",{seg:L,pt:x})},statusRemove:function(L){return a("pop_seg",{seg:L})},segmentUpdate:function(L){return a("seg_update",{seg:L})},segmentNew:function(L,x){return a("new_seg",{seg:L,primary:x})},segmentRemove:function(L){return a("rem_seg",{seg:L})},tempStatus:function(L,x,d){return a("temp_status",{seg:L,above:x,below:d})},rewind:function(L){return a("rewind",{seg:L})},status:function(L,x,d){return a("status",{seg:L,above:x,below:d})},vert:function(L){return L===E?e:(E=L,a("vert",{x:L}))},log:function(L){return typeof L!="string"&&(L=JSON.stringify(L,!1," ")),a("log",{txt:L})},reset:function(){return a("reset")},selected:function(L){return a("selected",{segs:L})},chainStart:function(L){return a("chain_start",{seg:L})},chainRemoveHead:function(L,x){return a("chain_rem_head",{index:L,pt:x})},chainRemoveTail:function(L,x){return a("chain_rem_tail",{index:L,pt:x})},chainNew:function(L,x){return a("chain_new",{pt1:L,pt2:x})},chainMatch:function(L){return a("chain_match",{index:L})},chainClose:function(L){return a("chain_close",{index:L})},chainAddHead:function(L,x){return a("chain_add_head",{index:L,pt:x})},chainAddTail:function(L,x){return a("chain_add_tail",{index:L,pt:x})},chainConnect:function(L,x){return a("chain_con",{index1:L,index2:x})},chainReverse:function(L){return a("chain_rev",{index:L})},chainJoin:function(L,x){return a("chain_join",{index1:L,index2:x})},done:function(){return a("done")}},e}B.exports=O},29023:function(B){function O(e){typeof e!="number"&&(e=1e-10);var p={epsilon:function(E){return typeof E=="number"&&(e=E),e},pointAboveOrOnLine:function(E,a,L){var x=a[0],d=a[1],m=L[0],r=L[1],t=E[0],s=E[1];return(m-x)*(s-d)-(r-d)*(t-x)>=-e},pointBetween:function(E,a,L){var x=E[1]-a[1],d=L[0]-a[0],m=E[0]-a[0],r=L[1]-a[1],t=m*d+x*r;if(t-e)},pointsSameX:function(E,a){return Math.abs(E[0]-a[0])e!=m-x>e&&(d-s)*(x-n)/(m-n)+s-L>e&&(r=!r),d=s,m=n}return r}};return p}B.exports=O},10670:function(B){var O={toPolygon:function(e,p){function E(x){if(x.length<=0)return e.segments({inverted:!1,regions:[]});function d(t){var s=t.slice(0,t.length-1);return e.segments({inverted:!1,regions:[s]})}for(var m=d(x[0]),r=1;r0})}function M(H,V){var N=H.seg,W=V.seg,j=N.start,Q=N.end,ie=W.start,ue=W.end;x&&x.checkIntersection(N,W);var pe=L.linesIntersect(j,Q,ie,ue);if(pe===!1){if(!L.pointsCollinear(j,Q,ie)||L.pointsSame(j,ue)||L.pointsSame(Q,ie))return!1;var q=L.pointsSame(j,ie),X=L.pointsSame(Q,ue);if(q&&X)return V;var K=!q&&L.pointBetween(j,ie,ue),J=!X&&L.pointBetween(Q,ie,ue);if(q)return J?b(V,Q):b(H,ue),V;K&&(X||(J?b(V,Q):b(H,ue)),b(V,j))}else pe.alongA===0&&(pe.alongB===-1?b(H,ie):pe.alongB===0?b(H,pe.pt):pe.alongB===1&&b(H,ue)),pe.alongB===0&&(pe.alongA===-1?b(V,j):pe.alongA===0?b(V,pe.pt):pe.alongA===1&&b(V,Q));return!1}for(var D=[];!r.isEmpty();){var T=r.getHead();if(x&&x.vert(T.pt[0]),T.isStart){let H=function(){if(A){var V=M(T,A);if(V)return V}return o?M(T,o):!1};var _=H;x&&x.segmentNew(T.seg,T.primary);var P=C(T),A=P.before?P.before.ev:null,o=P.after?P.after.ev:null;x&&x.tempStatus(T.seg,A?A.seg:!1,o?o.seg:!1);var k=H();if(k){if(a){var w;T.seg.myFill.below===null?w=!0:w=T.seg.myFill.above!==T.seg.myFill.below,w&&(k.seg.myFill.above=!k.seg.myFill.above)}else k.seg.otherFill=T.seg.myFill;x&&x.segmentUpdate(k.seg),T.other.remove(),T.remove()}if(r.getHead()!==T){x&&x.rewind(T.seg);continue}if(a){var w;T.seg.myFill.below===null?w=!0:w=T.seg.myFill.above!==T.seg.myFill.below,o?T.seg.myFill.below=o.seg.myFill.above:T.seg.myFill.below=S,w?T.seg.myFill.above=!T.seg.myFill.below:T.seg.myFill.above=T.seg.myFill.below}else if(T.seg.otherFill===null){var U;o?T.primary===o.primary?U=o.seg.otherFill.above:U=o.seg.myFill.above:U=T.primary?v:S,T.seg.otherFill={above:U,below:U}}x&&x.status(T.seg,A?A.seg:!1,o?o.seg:!1),T.other.status=P.insert(p.node({ev:T}))}else{var F=T.status;if(F===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(l.exists(F.prev)&&l.exists(F.next)&&M(F.prev.ev,F.next.ev),x&&x.statusRemove(F.ev.seg),F.remove(),!T.primary){var G=T.seg.myFill;T.seg.myFill=T.seg.otherFill,T.seg.otherFill=G}D.push(T.seg)}r.getHead().remove()}return x&&x.done(),D}return a?{addRegion:function(S){for(var v,l=S[S.length-1],g=0;g0&&!this.aborted;){var L=this.ifds_to_read.shift();L.offset&&this.scan_ifd(L.id,L.offset,E)}},p.prototype.read_uint16=function(E){var a=this.input;if(E+2>a.length)throw O("unexpected EOF","EBADDATA");return this.big_endian?a[E]*256+a[E+1]:a[E]+a[E+1]*256},p.prototype.read_uint32=function(E){var a=this.input;if(E+4>a.length)throw O("unexpected EOF","EBADDATA");return this.big_endian?a[E]*16777216+a[E+1]*65536+a[E+2]*256+a[E+3]:a[E]+a[E+1]*256+a[E+2]*65536+a[E+3]*16777216},p.prototype.is_subifd_link=function(E,a){return E===0&&a===34665||E===0&&a===34853||E===34665&&a===40965},p.prototype.exif_format_length=function(E){switch(E){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},p.prototype.exif_format_read=function(E,a){var L;switch(E){case 1:case 2:return L=this.input[a],L;case 6:return L=this.input[a],L|(L&128)*33554430;case 3:return L=this.read_uint16(a),L;case 8:return L=this.read_uint16(a),L|(L&32768)*131070;case 4:return L=this.read_uint32(a),L;case 9:return L=this.read_uint32(a),L|0;case 5:case 10:case 11:case 12:return null;case 7:return null;default:return null}},p.prototype.scan_ifd=function(E,a,L){var x=this.read_uint16(a);a+=2;for(var d=0;dthis.input.length)throw O("unexpected EOF","EBADDATA");for(var u=[],b=f,h=0;h0&&(this.ifds_to_read.push({id:m,offset:u[0]}),c=!0);var v={is_big_endian:this.big_endian,ifd:E,tag:m,format:r,count:t,entry_offset:a+this.start,data_length:n,data_offset:f+this.start,value:u,is_subifd_link:c};if(L(v)===!1){this.aborted=!0;return}a+=12}E===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(a)})},B.exports.ExifParser=p,B.exports.get_orientation=function(E){var a=0;try{return new p(E,0,E.length).each(function(L){if(L.ifd===0&&L.tag===274&&Array.isArray(L.value))return a=L.value[0],!1}),a}catch{return-1}}},76767:function(B,O,e){var p=e(14847).n8,E=e(14847).Ag;function a(n,f){if(n.length<4+f)return null;var c=E(n,f);return n.length>4&15,u=n[4]&15,b=n[5]>>4&15,h=p(n,6),S=8,v=0;vh.width||b.width===h.width&&b.height>h.height?b:h}),c=n.reduce(function(b,h){return b.height>h.height||b.height===h.height&&b.width>h.width?b:h}),u;return f.width>c.height||f.width===c.height&&f.height>c.width?u=f:u=c,u}B.exports.readSizeFromMeta=function(n){var f={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(t(n,f),!!f.sizes.length){var c=s(f.sizes),u=1;f.transforms.forEach(function(h){var S={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},v={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(h.type==="imir"&&(h.value===0?u=v[u]:(u=v[u],u=S[u],u=S[u])),h.type==="irot")for(var l=0;l1&&(u.variants=c.variants),c.orientation&&(u.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=m.length){var b=a(m,c.exif_location.offset),h=m.slice(c.exif_location.offset+b+4,c.exif_location.offset+c.exif_location.length),S=x.get_orientation(h);S>0&&(u.orientation=S)}return u}}}}}}},2504:function(B,O,e){var p=e(14847).eG,E=e(14847).OF,a=e(14847).mP,L=p("BM");B.exports=function(x){if(!(x.length<26)&&E(x,0,L))return{width:a(x,18),height:a(x,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(B,O,e){var p=e(14847).eG,E=e(14847).OF,a=e(14847).mP,L=p("GIF87a"),x=p("GIF89a");B.exports=function(d){if(!(d.length<10)&&!(!E(d,0,L)&&!E(d,0,x)))return{width:a(d,6),height:a(d,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(B,O,e){var p=e(14847).mP,E=0,a=1,L=16;B.exports=function(x){var d=p(x,0),m=p(x,2),r=p(x,4);if(!(d!==E||m!==a||!r)){for(var t=[],s={width:0,height:0},n=0;ns.width||c>s.height)&&(s=u)}return{width:s.width,height:s.height,variants:t,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(B,O,e){var p=e(14847).n8,E=e(14847).eG,a=e(14847).OF,L=e(71371),x=E("Exif\0\0");B.exports=function(d){if(!(d.length<2)&&!(d[0]!==255||d[1]!==216||d[2]!==255))for(var m=2;;){for(;;){if(d.length-m<2)return;if(d[m++]===255)break}for(var r=d[m++],t;r===255;)r=d[m++];if(208<=r&&r<=217||r===1)t=0;else if(192<=r&&r<=254){if(d.length-m<2)return;t=p(d,m)-2,m+=2}else return;if(r===217||r===218)return;var s;if(r===225&&t>=10&&a(d,m,x)&&(s=L.get_orientation(d.slice(m+6,m+t))),t>=5&&192<=r&&r<=207&&r!==196&&r!==200&&r!==204){if(d.length-m0&&(n.orientation=s),n}m+=t}}},6303:function(B,O,e){var p=e(14847).eG,E=e(14847).OF,a=e(14847).Ag,L=p(`‰PNG\r - -`),x=p("IHDR");B.exports=function(d){if(!(d.length<24)&&E(d,0,L)&&E(d,12,x))return{width:a(d,16),height:a(d,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(B,O,e){var p=e(14847).eG,E=e(14847).OF,a=e(14847).Ag,L=p("8BPS\0");B.exports=function(x){if(!(x.length<22)&&E(x,0,L))return{width:a(x,18),height:a(x,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(B){function O(s){return s===32||s===9||s===13||s===10}function e(s){return typeof s=="number"&&isFinite(s)&&s>0}function p(s){var n=0,f=s.length;for(s[0]===239&&s[1]===187&&s[2]===191&&(n=3);n]*>/,a=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,L=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,x=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,d=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,m=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function r(s){var n=s.match(L),f=s.match(x),c=s.match(d);return{width:n&&(n[1]||n[2]),height:f&&(f[1]||f[2]),viewbox:c&&(c[1]||c[2])}}function t(s){return m.test(s)?s.match(m)[0]:"px"}B.exports=function(s){if(p(s)){for(var n="",f=0;f>14&16383)+1,type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function s(n,f){return{width:(n[f+6]<<16|n[f+5]<<8|n[f+4])+1,height:(n[f+9]<n.length)){for(;f+8=10?c=c||r(n,f+8):h==="VP8L"&&S>=9?c=c||t(n,f+8):h==="VP8X"&&S>=10?c=c||s(n,f+8):h==="EXIF"&&(u=x.get_orientation(n.slice(f+8,f+8+S)),f=1/0),f+=8+S}if(c)return u>0&&(c.orientation=u),c}}}},91497:function(B,O,e){B.exports={avif:e(24461),bmp:e(2504),gif:e(47342),ico:e(31355),jpeg:e(54261),png:e(6303),psd:e(38689),svg:e(6881),tiff:e(66278),webp:e(90784)}},33575:function(B,O,e){var p=e(91497);function E(a){for(var L=Object.keys(p),x=0;x1)for(var h=1;h"u"?e.g:window,a=["moz","webkit"],L="AnimationFrame",x=E["request"+L],d=E["cancel"+L]||E["cancelRequest"+L],m=0;!x&&m1&&(k.scaleRatio=[k.scale[0]*k.viewport.width,k.scale[1]*k.viewport.height],b(k),k.after&&k.after(k))}function A(k){if(k){k.length!=null?typeof k[0]=="number"&&(k=[{positions:k}]):Array.isArray(k)||(k=[k]);var w=0,U=0;if(D.groups=M=k.map(function(W,j){var Q=M[j];if(W)typeof W=="function"?W={after:W}:typeof W[0]=="number"&&(W={positions:W});else return Q;return W=L(W,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),Q||(M[j]=Q={id:j,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},W=x({},C,W)),a(Q,W,[{lineWidth:function(ie){return+ie*.5},capSize:function(ie){return+ie*.5},opacity:parseFloat,errors:function(ie){return ie=d(ie),U+=ie.length,ie},positions:function(ie,ue){return ie=d(ie,"float64"),ue.count=Math.floor(ie.length/2),ue.bounds=p(ie,2),ue.offset=w,w+=ue.count,ie}},{color:function(ie,ue){var pe=ue.count;if(ie||(ie="transparent"),!Array.isArray(ie)||typeof ie[0]=="number"){var q=ie;ie=Array(pe);for(var X=0;X 0. && baClipping < length(normalWidth * endBotJoin)) { - //handle miter clipping - bTopCoord -= normalWidth * endTopJoin; - bTopCoord += normalize(endTopJoin * normalWidth) * baClipping; - } - - if (nextReverse) { - //make join rectangular - vec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5; - float normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.); - bBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5; - bTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5; - } - else if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) { - //handle miter clipping - aBotCoord -= normalWidth * startBotJoin; - aBotCoord += normalize(startBotJoin * normalWidth) * abClipping; - } - - vec2 aTopPosition = (aTopCoord) * adjustedScale + translate; - vec2 aBotPosition = (aBotCoord) * adjustedScale + translate; - - vec2 bTopPosition = (bTopCoord) * adjustedScale + translate; - vec2 bBotPosition = (bBotCoord) * adjustedScale + translate; - - //position is normalized 0..1 coord on the screen - vec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd; - - startCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy; - endCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy; - - gl_Position = vec4(position * 2.0 - 1.0, depth, 1); - - enableStartMiter = step(dot(currTangent, prevTangent), .5); - enableEndMiter = step(dot(currTangent, nextTangent), .5); - - //bevel miter cutoffs - if (miterMode == 1.) { - if (enableStartMiter == 1.) { - vec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5; - startCutoff = vec4(aCoord, aCoord); - startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; - startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - startCutoff += viewport.xyxy; - startCutoff += startMiterWidth.xyxy; - } - - if (enableEndMiter == 1.) { - vec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5; - endCutoff = vec4(bCoord, bCoord); - endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; - endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - endCutoff += viewport.xyxy; - endCutoff += endMiterWidth.xyxy; - } - } - - //round miter cutoffs - else if (miterMode == 2.) { - if (enableStartMiter == 1.) { - vec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5; - startCutoff = vec4(aCoord, aCoord); - startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; - startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - startCutoff += viewport.xyxy; - startCutoff += startMiterWidth.xyxy; - } - - if (enableEndMiter == 1.) { - vec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5; - endCutoff = vec4(bCoord, bCoord); - endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; - endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - endCutoff += viewport.xyxy; - endCutoff += endMiterWidth.xyxy; - } - } -} -`]),frag:L([`precision highp float; -#define GLSLIFY 1 - -uniform float dashLength, pixelRatio, thickness, opacity, id, miterMode; -uniform sampler2D dashTexture; - -varying vec4 fragColor; -varying vec2 tangent; -varying vec4 startCutoff, endCutoff; -varying vec2 startCoord, endCoord; -varying float enableStartMiter, enableEndMiter; - -float distToLine(vec2 p, vec2 a, vec2 b) { - vec2 diff = b - a; - vec2 perp = normalize(vec2(-diff.y, diff.x)); - return dot(p - a, perp); -} - -void main() { - float alpha = 1., distToStart, distToEnd; - float cutoff = thickness * .5; - - //bevel miter - if (miterMode == 1.) { - if (enableStartMiter == 1.) { - distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); - if (distToStart < -1.) { - discard; - return; - } - alpha *= min(max(distToStart + 1., 0.), 1.); - } - - if (enableEndMiter == 1.) { - distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); - if (distToEnd < -1.) { - discard; - return; - } - alpha *= min(max(distToEnd + 1., 0.), 1.); - } - } - - // round miter - else if (miterMode == 2.) { - if (enableStartMiter == 1.) { - distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); - if (distToStart < 0.) { - float radius = length(gl_FragCoord.xy - startCoord); - - if(radius > cutoff + .5) { - discard; - return; - } - - alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); - } - } - - if (enableEndMiter == 1.) { - distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); - if (distToEnd < 0.) { - float radius = length(gl_FragCoord.xy - endCoord); - - if(radius > cutoff + .5) { - discard; - return; - } - - alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); - } - } - } - - float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25; - float dash = texture2D(dashTexture, vec2(t, .5)).r; - - gl_FragColor = fragColor; - gl_FragColor.a *= alpha * opacity * dash; -} -`]),attributes:{lineEnd:{buffer:S,divisor:0,stride:8,offset:0},lineTop:{buffer:S,divisor:0,stride:8,offset:4},aColor:{buffer:h.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:h.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:h.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:h.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:h.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:h.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},v))}catch{g=l}var C=h({primitive:"triangle",elements:function(M,D){return D.triangles},offset:0,vert:L([`precision highp float; -#define GLSLIFY 1 - -attribute vec2 position, positionFract; - -uniform vec4 color; -uniform vec2 scale, scaleFract, translate, translateFract; -uniform float pixelRatio, id; -uniform vec4 viewport; -uniform float opacity; - -varying vec4 fragColor; - -const float MAX_LINES = 256.; - -void main() { - float depth = (MAX_LINES - 4. - id) / (MAX_LINES); - - vec2 position = position * scale + translate - + positionFract * scale + translateFract - + position * scaleFract - + positionFract * scaleFract; - - gl_Position = vec4(position * 2.0 - 1.0, depth, 1); - - fragColor = color / 255.; - fragColor.a *= opacity; -} -`]),frag:L([`precision highp float; -#define GLSLIFY 1 - -varying vec4 fragColor; - -void main() { - gl_FragColor = fragColor; -} -`]),uniforms:{scale:h.prop("scale"),color:h.prop("fill"),scaleFract:h.prop("scaleFract"),translateFract:h.prop("translateFract"),translate:h.prop("translate"),opacity:h.prop("opacity"),pixelRatio:h.context("pixelRatio"),id:h.prop("id"),viewport:function(M,D){return[D.viewport.x,D.viewport.y,M.viewportWidth,M.viewportHeight]}},attributes:{position:{buffer:h.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:h.prop("positionFractBuffer"),stride:8,offset:8}},blend:v.blend,depth:{enable:!1},scissor:v.scissor,stencil:v.stencil,viewport:v.viewport});return{fill:C,rect:l,miter:g}},b.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},b.prototype.render=function(){for(var h,S=[],v=arguments.length;v--;)S[v]=arguments[v];S.length&&(h=this).update.apply(h,S),this.draw()},b.prototype.draw=function(){for(var h=this,S=[],v=arguments.length;v--;)S[v]=arguments[v];return(S.length?S:this.passes).forEach(function(l,g){var C;if(l&&Array.isArray(l))return(C=h).draw.apply(C,l);typeof l=="number"&&(l=h.passes[l]),l&&l.count>1&&l.opacity&&(h.regl._refresh(),l.fill&&l.triangles&&l.triangles.length>2&&h.shaders.fill(l),l.thickness&&(l.scale[0]*l.viewport.width>b.precisionThreshold||l.scale[1]*l.viewport.height>b.precisionThreshold||l.join==="rect"||!l.join&&(l.thickness<=2||l.count>=b.maxPoints)?h.shaders.rect(l):h.shaders.miter(l)))}),this},b.prototype.update=function(h){var S=this;if(h){h.length!=null?typeof h[0]=="number"&&(h=[{positions:h}]):Array.isArray(h)||(h=[h]);var v=this,l=v.regl,g=v.gl;if(h.forEach(function(P,A){var o=S.passes[A];if(P!==void 0){if(P===null){S.passes[A]=null;return}if(typeof P[0]=="number"&&(P={positions:P}),P=x(P,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),o||(S.passes[A]=o={id:A,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:l.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:l.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:l.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:l.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},P=a({},b.defaults,P)),P.thickness!=null&&(o.thickness=parseFloat(P.thickness)),P.opacity!=null&&(o.opacity=parseFloat(P.opacity)),P.miterLimit!=null&&(o.miterLimit=parseFloat(P.miterLimit)),P.overlay!=null&&(o.overlay=!!P.overlay,A=K});pe=pe.slice(0,J),pe.push(K)}for(var re=function(Ze){var Fe=H.slice(X*2,pe[Ze]*2).concat(K?H.slice(K*2):[]),Ce=(o.hole||[]).map(function(Ie){return Ie-K+(pe[Ze]-X)}),ve=m(Fe,Ce);ve=ve.map(function(Ie){return Ie+X+(Ie+Xo.length)&&(k=o.length);for(var w=0,U=new Array(k);w 1.0 + delta) { - discard; - } - - alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius); - - float borderRadius = fragBorderRadius; - float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius); - vec4 color = mix(fragColor, fragBorderColor, ratio); - color.a *= alpha * opacity; - gl_FragColor = color; -} -`]),ue.vert=h([`precision highp float; -#define GLSLIFY 1 - -attribute float x, y, xFract, yFract; -attribute float size, borderSize; -attribute vec4 colorId, borderColorId; -attribute float isActive; - -uniform bool constPointSize; -uniform float pixelRatio; -uniform vec2 paletteSize, scale, scaleFract, translate, translateFract; -uniform sampler2D paletteTexture; - -const float maxSize = 100.; - -varying vec4 fragColor, fragBorderColor; -varying float fragBorderRadius, fragWidth; - -float pointSizeScale = (constPointSize) ? 2. : pixelRatio; - -bool isDirect = (paletteSize.x < 1.); - -vec4 getColor(vec4 id) { - return isDirect ? id / 255. : texture2D(paletteTexture, - vec2( - (id.x + .5) / paletteSize.x, - (id.y + .5) / paletteSize.y - ) - ); -} - -void main() { - // ignore inactive points - if (isActive == 0.) return; - - vec2 position = vec2(x, y); - vec2 positionFract = vec2(xFract, yFract); - - vec4 color = getColor(colorId); - vec4 borderColor = getColor(borderColorId); - - float size = size * maxSize / 255.; - float borderSize = borderSize * maxSize / 255.; - - gl_PointSize = (size + borderSize) * pointSizeScale; - - vec2 pos = (position + translate) * scale - + (positionFract + translateFract) * scale - + (position + translate) * scaleFract - + (positionFract + translateFract) * scaleFract; - - gl_Position = vec4(pos * 2. - 1., 0., 1.); - - fragBorderRadius = 1. - 2. * borderSize / (size + borderSize); - fragColor = color; - fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor; - fragWidth = 1. / gl_PointSize; -} -`]),g&&(ue.frag=ue.frag.replace("smoothstep","smoothStep"),ie.frag=ie.frag.replace("smoothstep","smoothStep")),this.drawCircle=o(ue)}T.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},T.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},T.prototype.draw=function(){for(var o=this,k=arguments.length,w=new Array(k),U=0;UJe)?Re.tree=u(Te,{bounds:lt}):Je&&Je.length&&(Re.tree=Je),Re.tree){var ke={primitive:"points",usage:"static",data:Re.tree,type:"uint32"};Re.elements?Re.elements(ke):Re.elements=_.elements(ke)}var Ne=C.float32(Te);He({data:Ne,usage:"dynamic"});var gt=C.fract32(Te,Ne);return $e({data:gt,usage:"dynamic"}),pt({data:new Uint8Array(ut),type:"uint8",usage:"stream"}),Te}},{marker:function(Te,Re,Xe){var Je=Re.activation;if(Je.forEach(function(gt){return gt&>.destroy&>.destroy()}),Je.length=0,!Te||typeof Te[0]=="number"){var He=o.addMarker(Te);Je[He]=!0}else{for(var $e=[],pt=0,ut=Math.min(Te.length,Re.count);pt=0)return F;var G;if(o instanceof Uint8Array||o instanceof Uint8ClampedArray)G=o;else{G=new Uint8Array(o.length);for(var _=0,H=o.length;_U*4&&(this.tooManyColors=!0),this.updatePalette(w),F.length===1?F[0]:F},T.prototype.updatePalette=function(o){if(!this.tooManyColors){var k=this.maxColors,w=this.paletteTexture,U=Math.ceil(o.length*.25/k);if(U>1){o=o.slice();for(var F=o.length*.25%k;FU)&&!(!S.lower&&w2?(l[0],l[2],b=l[1],h=l[3]):l.length?(b=l[0],h=l[1]):(l.x,b=l.y,l.x+l.width,h=l.y+l.height),g.length>2?(S=g[0],v=g[2],g[1],g[3]):g.length?(S=g[0],v=g[1]):(S=g.x,g.y,v=g.x+g.width,g.y+g.height),[S,b,v,h]}function n(f){if(typeof f=="number")return[f,f,f,f];if(f.length===2)return[f[0],f[1],f[0],f[1]];var c=d(f);return[c.x,c.y,c.x+c.width,c.y+c.height]}},98580:function(B){(function(O,e){B.exports=e()})(this,function(){function O(Ct,ir){this.id=me++,this.type=Ct,this.data=ir}function e(Ct){if(Ct.length===0)return[];var ir=Ct.charAt(0),cr=Ct.charAt(Ct.length-1);if(1"u"?1:window.devicePixelRatio,Ut=!1,Ht={},Qt=function(ur){},qt=function(){};if(typeof ir=="string"?cr=document.querySelector(ir):typeof ir=="object"&&(typeof ir.nodeName=="string"&&typeof ir.appendChild=="function"&&typeof ir.getBoundingClientRect=="function"?cr=ir:typeof ir.drawArrays=="function"||typeof ir.drawElements=="function"?(Mt=ir,kr=Mt.canvas):("gl"in ir?Mt=ir.gl:"canvas"in ir?kr=m(ir.canvas):"container"in ir&&(Or=m(ir.container)),"attributes"in ir&&(Ct=ir.attributes),"extensions"in ir&&(yt=d(ir.extensions)),"optionalExtensions"in ir&&(Rt=d(ir.optionalExtensions)),"onDone"in ir&&(Qt=ir.onDone),"profile"in ir&&(Ut=!!ir.profile),"pixelRatio"in ir&&(wt=+ir.pixelRatio),"cachedCode"in ir&&(Ht=ir.cachedCode))),cr&&(cr.nodeName.toLowerCase()==="canvas"?kr=cr:Or=cr),!Mt){if(!kr){if(cr=L(Or||document.body,Qt,wt),!cr)return null;kr=cr.canvas,qt=cr.onDestroy}Ct.premultipliedAlpha===void 0&&(Ct.premultipliedAlpha=!0),Mt=x(kr,Ct)}return Mt?{gl:Mt,canvas:kr,container:Or,extensions:yt,optionalExtensions:Rt,pixelRatio:wt,profile:Ut,cachedCode:Ht,onDone:Qt,onDestroy:qt}:(qt(),Qt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function t(Ct,ir){function cr(yt){yt=yt.toLowerCase();var Rt;try{Rt=Or[yt]=Ct.getExtension(yt)}catch{}return!!Rt}for(var Or={},kr=0;kr>>=ir,cr=(255>>=cr,ir|=cr,cr=(15>>=cr,ir|=cr,cr=(3>>cr>>1}function f(){function Ct(Or){e:{for(var kr=16;268435456>=kr;kr*=16)if(Or<=kr){Or=kr;break e}Or=0}return kr=cr[n(Or)>>2],0>2].push(Or)}var cr=s(8,function(){return[]});return{alloc:Ct,free:ir,allocType:function(Or,kr){var Mt=null;switch(Or){case 5120:Mt=new Int8Array(Ct(kr),0,kr);break;case 5121:Mt=new Uint8Array(Ct(kr),0,kr);break;case 5122:Mt=new Int16Array(Ct(2*kr),0,kr);break;case 5123:Mt=new Uint16Array(Ct(2*kr),0,kr);break;case 5124:Mt=new Int32Array(Ct(4*kr),0,kr);break;case 5125:Mt=new Uint32Array(Ct(4*kr),0,kr);break;case 5126:Mt=new Float32Array(Ct(4*kr),0,kr);break;default:return null}return Mt.length!==kr?Mt.subarray(0,kr):Mt},freeType:function(Or){ir(Or.buffer)}}}function c(Ct){return!!Ct&&typeof Ct=="object"&&Array.isArray(Ct.shape)&&Array.isArray(Ct.stride)&&typeof Ct.offset=="number"&&Ct.shape.length===Ct.stride.length&&(Array.isArray(Ct.data)||De(Ct.data))}function u(Ct,ir,cr,Or,kr,Mt){for(var yt=0;ytqt&&(qt=Qt.buffer.byteLength,et===5123?qt>>=1:et===5125&&(qt>>=2)),Qt.vertCount=qt,qt=Cr,0>Cr&&(qt=4,Cr=Qt.buffer.dimension,Cr===1&&(qt=0),Cr===2&&(qt=1),Cr===3&&(qt=4)),Qt.primType=qt}function yt(Qt){Or.elementsCount--,delete Rt[Qt.id],Qt.buffer.destroy(),Qt.buffer=null}var Rt={},wt=0,Ut={uint8:5121,uint16:5123};ir.oes_element_index_uint&&(Ut.uint32=5125),kr.prototype.bind=function(){this.buffer.bind()};var Ht=[];return{create:function(Qt,qt){function ur(Fr){if(Fr)if(typeof Fr=="number")Cr(Fr),mr.primType=4,mr.vertCount=Fr|0,mr.type=5121;else{var tt=null,et=35044,Wt=-1,Gt=-1,or=0,wr=0;Array.isArray(Fr)||De(Fr)||c(Fr)?tt=Fr:("data"in Fr&&(tt=Fr.data),"usage"in Fr&&(et=He[Fr.usage]),"primitive"in Fr&&(Wt=lt[Fr.primitive]),"count"in Fr&&(Gt=Fr.count|0),"type"in Fr&&(wr=Ut[Fr.type]),"length"in Fr?or=Fr.length|0:(or=Gt,wr===5123||wr===5122?or*=2:(wr===5125||wr===5124)&&(or*=4))),Mt(mr,tt,et,Wt,Gt,or,wr)}else Cr(),mr.primType=4,mr.vertCount=0,mr.type=5121;return ur}var Cr=cr.create(null,34963,!0),mr=new kr(Cr._buffer);return Or.elementsCount++,ur(Qt),ur._reglType="elements",ur._elements=mr,ur.subdata=function(Fr,tt){return Cr.subdata(Fr,tt),ur},ur.destroy=function(){yt(mr)},ur},createStream:function(Qt){var qt=Ht.pop();return qt||(qt=new kr(cr.create(null,34963,!0,!1)._buffer)),Mt(qt,Qt,35040,-1,-1,0,0),qt},destroyStream:function(Qt){Ht.push(Qt)},getElements:function(Qt){return typeof Qt=="function"&&Qt._elements instanceof kr?Qt._elements:null},clear:function(){Te(Rt).forEach(yt)}}}function C(Ct){for(var ir=We.allocType(5123,Ct.length),cr=0;cr>>31<<15,kr=(Mt<<1>>>24)-127,Mt=Mt>>13&1023;ir[cr]=-24>kr?Or:-14>kr?Or+(Mt+1024>>-14-kr):15>=ba,In.height>>=ba,qt(In,jn[ba]),Xr.mipmask|=1<An;++An)Xr.images[An]=null;return Xr}function or(Xr){for(var An=Xr.images,In=0;InXr){for(var An=0;An=--this.refCount&&Br(this)}}),yt.profile&&(Mt.getTotalTextureSize=function(){var Xr=0;return Object.keys(_a).forEach(function(An){Xr+=_a[An].stats.size}),Xr}),{create2D:function(Xr,An){function In(ba,la){var ua=jn.texInfo;wr.call(ua);var va=Gt();return typeof ba=="number"?typeof la=="number"?tt(va,ba|0,la|0):tt(va,ba|0,ba|0):ba?(Tr(ua,ba),et(va,ba)):tt(va,1,1),ua.genMipmaps&&(va.mipmask=(va.width<<1)-1),jn.mipmask=va.mipmask,wt(jn,va),jn.internalformat=va.internalformat,In.width=va.width,In.height=va.height,Ir(jn),Wt(va,3553),br(ua,3553),Lr(),or(va),yt.profile&&(jn.stats.size=w(jn.internalformat,jn.type,va.width,va.height,ua.genMipmaps,!1)),In.format=qr[jn.internalformat],In.type=lr[jn.type],In.mag=dn[ua.magFilter],In.min=zn[ua.minFilter],In.wrapS=gn[ua.wrapS],In.wrapT=gn[ua.wrapT],In}var jn=new Kt(3553);return _a[jn.id]=jn,Mt.textureCount++,In(Xr,An),In.subimage=function(ba,la,ua,va){la|=0,ua|=0,va|=0;var Oa=Cr();return wt(Oa,jn),Oa.width=0,Oa.height=0,qt(Oa,ba),Oa.width=Oa.width||(jn.width>>va)-la,Oa.height=Oa.height||(jn.height>>va)-ua,Ir(jn),ur(Oa,3553,la,ua,va),Lr(),mr(Oa),In},In.resize=function(ba,la){var ua=ba|0,va=la|0||ua;if(ua===jn.width&&va===jn.height)return In;In.width=jn.width=ua,In.height=jn.height=va,Ir(jn);for(var Oa=0;jn.mipmask>>Oa;++Oa){var ci=ua>>Oa,Ni=va>>Oa;if(!ci||!Ni)break;Ct.texImage2D(3553,Oa,jn.format,ci,Ni,0,jn.format,jn.type,null)}return Lr(),yt.profile&&(jn.stats.size=w(jn.internalformat,jn.type,ua,va,!1,!1)),In},In._reglType="texture2d",In._texture=jn,yt.profile&&(In.stats=jn.stats),In.destroy=function(){jn.decRef()},In},createCube:function(Xr,An,In,jn,ba,la){function ua(ci,Ni,sr,Gr,yn,Bn){var Nn,ta=va.texInfo;for(wr.call(ta),Nn=0;6>Nn;++Nn)Oa[Nn]=Gt();if(typeof ci=="number"||!ci)for(ci=ci|0||1,Nn=0;6>Nn;++Nn)tt(Oa[Nn],ci,ci);else if(typeof ci=="object")if(Ni)et(Oa[0],ci),et(Oa[1],Ni),et(Oa[2],sr),et(Oa[3],Gr),et(Oa[4],yn),et(Oa[5],Bn);else if(Tr(ta,ci),Ut(va,ci),"faces"in ci)for(ci=ci.faces,Nn=0;6>Nn;++Nn)wt(Oa[Nn],va),et(Oa[Nn],ci[Nn]);else for(Nn=0;6>Nn;++Nn)et(Oa[Nn],ci);for(wt(va,Oa[0]),va.mipmask=ta.genMipmaps?(Oa[0].width<<1)-1:Oa[0].mipmask,va.internalformat=Oa[0].internalformat,ua.width=Oa[0].width,ua.height=Oa[0].height,Ir(va),Nn=0;6>Nn;++Nn)Wt(Oa[Nn],34069+Nn);for(br(ta,34067),Lr(),yt.profile&&(va.stats.size=w(va.internalformat,va.type,ua.width,ua.height,ta.genMipmaps,!0)),ua.format=qr[va.internalformat],ua.type=lr[va.type],ua.mag=dn[ta.magFilter],ua.min=zn[ta.minFilter],ua.wrapS=gn[ta.wrapS],ua.wrapT=gn[ta.wrapT],Nn=0;6>Nn;++Nn)or(Oa[Nn]);return ua}var va=new Kt(34067);_a[va.id]=va,Mt.cubeCount++;var Oa=Array(6);return ua(Xr,An,In,jn,ba,la),ua.subimage=function(ci,Ni,sr,Gr,yn){sr|=0,Gr|=0,yn|=0;var Bn=Cr();return wt(Bn,va),Bn.width=0,Bn.height=0,qt(Bn,Ni),Bn.width=Bn.width||(va.width>>yn)-sr,Bn.height=Bn.height||(va.height>>yn)-Gr,Ir(va),ur(Bn,34069+ci,sr,Gr,yn),Lr(),mr(Bn),ua},ua.resize=function(ci){if(ci|=0,ci!==va.width){ua.width=va.width=ci,ua.height=va.height=ci,Ir(va);for(var Ni=0;6>Ni;++Ni)for(var sr=0;va.mipmask>>sr;++sr)Ct.texImage2D(34069+Ni,sr,va.format,ci>>sr,ci>>sr,0,va.format,va.type,null);return Lr(),yt.profile&&(va.stats.size=w(va.internalformat,va.type,ua.width,ua.height,!1,!0)),ua}},ua._reglType="textureCube",ua._texture=va,yt.profile&&(ua.stats=va.stats),ua.destroy=function(){va.decRef()},ua},clear:function(){for(var Xr=0;Xrjn;++jn)if(In.mipmask&1<>jn,In.height>>jn,0,In.internalformat,In.type,null);else for(var ba=0;6>ba;++ba)Ct.texImage2D(34069+ba,jn,In.internalformat,In.width>>jn,In.height>>jn,0,In.internalformat,In.type,null);br(In.texInfo,In.target)})},refresh:function(){for(var Xr=0;Xrzr;++zr){for(En=0;EnBr;++Br)Lr[Br].resize(zr);return Ir.width=Ir.height=zr,Ir},_reglType:"framebufferCube",destroy:function(){Lr.forEach(function(Br){Br.destroy()})}})},clear:function(){Te(br).forEach(Fr)},restore:function(){Wt.cur=null,Wt.next=null,Wt.dirty=!0,Te(br).forEach(function(Kt){Kt.framebuffer=Ct.createFramebuffer(),tt(Kt)})}})}function G(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function _(Ct,ir,cr,Or,kr,Mt,yt){function Rt(tt){if(tt!==Fr.currentVAO){var et=ir.oes_vertex_array_object;tt?et.bindVertexArrayOES(tt.vao):et.bindVertexArrayOES(null),Fr.currentVAO=tt}}function wt(tt){if(tt!==Fr.currentVAO){if(tt)tt.bindAttrs();else{for(var et=ir.angle_instanced_arrays,Wt=0;Wt=Ir.byteLength?Lr.subdata(Ir):(Lr.destroy(),Wt.buffers[Tr]=null)),Wt.buffers[Tr]||(Lr=Wt.buffers[Tr]=kr.create(br,34962,!1,!0)),Kt.buffer=kr.getBuffer(Lr),Kt.size=Kt.buffer.dimension|0,Kt.normalized=!1,Kt.type=Kt.buffer.dtype,Kt.offset=0,Kt.stride=0,Kt.divisor=0,Kt.state=1,Gt[Tr]=1}else kr.getBuffer(br)?(Kt.buffer=kr.getBuffer(br),Kt.size=Kt.buffer.dimension|0,Kt.normalized=!1,Kt.type=Kt.buffer.dtype,Kt.offset=0,Kt.stride=0,Kt.divisor=0,Kt.state=1):kr.getBuffer(br.buffer)?(Kt.buffer=kr.getBuffer(br.buffer),Kt.size=(+br.size||Kt.buffer.dimension)|0,Kt.normalized=!!br.normalized||!1,Kt.type="type"in br?Je[br.type]:Kt.buffer.dtype,Kt.offset=(br.offset||0)|0,Kt.stride=(br.stride||0)|0,Kt.divisor=(br.divisor||0)|0,Kt.state=1):"x"in br&&(Kt.x=+br.x||0,Kt.y=+br.y||0,Kt.z=+br.z||0,Kt.w=+br.w||0,Kt.state=2)}for(Lr=0;LrCr&&(Cr=mr.stats.uniformsCount)}),Cr},cr.getMaxAttributesCount=function(){var Cr=0;return qt.forEach(function(mr){mr.stats.attributesCount>Cr&&(Cr=mr.stats.attributesCount)}),Cr}),{clear:function(){var Cr=Ct.deleteShader.bind(Ct);Te(Ut).forEach(Cr),Ut={},Te(Ht).forEach(Cr),Ht={},qt.forEach(function(mr){Ct.deleteProgram(mr.program)}),qt.length=0,Qt={},cr.shaderCount=0},program:function(Cr,mr,Fr,tt){var et=Qt[mr];et||(et=Qt[mr]={});var Wt=et[Cr];if(Wt&&(Wt.refCount++,!tt))return Wt;var Gt=new Rt(mr,Cr);return cr.shaderCount++,wt(Gt,Fr,tt),Wt||(et[Cr]=Gt),qt.push(Gt),le(Gt,{destroy:function(){if(Gt.refCount--,0>=Gt.refCount){Ct.deleteProgram(Gt.program);var or=qt.indexOf(Gt);qt.splice(or,1),cr.shaderCount--}0>=et[Gt.vertId].refCount&&(Ct.deleteShader(Ht[Gt.vertId]),delete Ht[Gt.vertId],delete Qt[Gt.fragId][Gt.vertId]),Object.keys(Qt[Gt.fragId]).length||(Ct.deleteShader(Ut[Gt.fragId]),delete Ut[Gt.fragId],delete Qt[Gt.fragId])}})},restore:function(){Ut={},Ht={};for(var Cr=0;Cr>2),Or=0;Or>5]|=(Ct.charCodeAt(Or/8)&255)<<24-Or%32;var cr=8*Ct.length;Ct=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225];var Or=Array(64),kr,Mt,yt,Rt,wt,Ut,Ht,Qt,qt,ur,Cr;for(ir[cr>>5]|=128<<24-cr%32,ir[(cr+64>>9<<4)+15]=cr,Qt=0;Qtqt;qt++){if(16>qt)Or[qt]=ir[qt+Qt];else{ur=qt,Cr=Or[qt-2],Cr=Q(Cr,17)^Q(Cr,19)^Cr>>>10,Cr=ie(Cr,Or[qt-7]);var mr;mr=Or[qt-15],mr=Q(mr,7)^Q(mr,18)^mr>>>3,Or[ur]=ie(ie(Cr,mr),Or[qt-16])}ur=Rt,ur=Q(ur,6)^Q(ur,11)^Q(ur,25),ur=ie(ie(ie(ie(Ht,ur),Rt&wt^~Rt&Ut),ct[qt]),Or[qt]),Ht=cr,Ht=Q(Ht,2)^Q(Ht,13)^Q(Ht,22),Cr=ie(Ht,cr&kr^cr&Mt^kr&Mt),Ht=Ut,Ut=wt,wt=Rt,Rt=ie(yt,ur),yt=Mt,Mt=kr,kr=cr,cr=ie(ur,Cr)}Ct[0]=ie(cr,Ct[0]),Ct[1]=ie(kr,Ct[1]),Ct[2]=ie(Mt,Ct[2]),Ct[3]=ie(yt,Ct[3]),Ct[4]=ie(Rt,Ct[4]),Ct[5]=ie(wt,Ct[5]),Ct[6]=ie(Ut,Ct[6]),Ct[7]=ie(Ht,Ct[7])}for(ir="",Or=0;Or<32*Ct.length;Or+=8)ir+=String.fromCharCode(Ct[Or>>5]>>>24-Or%32&255);return ir}function W(Ct){for(var ir="",cr,Or=0;Or>>4&15)+"0123456789abcdef".charAt(cr&15);return ir}function j(Ct){for(var ir="",cr=-1,Or,kr;++cr=Or&&56320<=kr&&57343>=kr&&(Or=65536+((Or&1023)<<10)+(kr&1023),cr++),127>=Or?ir+=String.fromCharCode(Or):2047>=Or?ir+=String.fromCharCode(192|Or>>>6&31,128|Or&63):65535>=Or?ir+=String.fromCharCode(224|Or>>>12&15,128|Or>>>6&63,128|Or&63):2097151>=Or&&(ir+=String.fromCharCode(240|Or>>>18&7,128|Or>>>12&63,128|Or>>>6&63,128|Or&63));return ir}function Q(Ct,ir){return Ct>>>ir|Ct<<32-ir}function ie(Ct,ir){var cr=(Ct&65535)+(ir&65535);return(Ct>>16)+(ir>>16)+(cr>>16)<<16|cr&65535}function ue(Ct){return Array.prototype.slice.call(Ct)}function pe(Ct){return ue(Ct).join("")}function q(Ct){function ir(){var Ht=[],Qt=[];return le(function(){Ht.push.apply(Ht,ue(arguments))},{def:function(){var qt="v"+kr++;return Qt.push(qt),0"+Ua+"?"+nn+".constant["+Ua+"]:0;"}).join(""),"}}else{","if(",ha,"(",nn,".buffer)){",za,"=",ya,".createStream(",34962,",",nn,".buffer);","}else{",za,"=",ya,".getBuffer(",nn,".buffer);","}",Ya,'="type" in ',nn,"?",Vn.glTypes,"[",nn,".type]:",za,".dtype;",Gn.normalized,"=!!",nn,".normalized;"),pr("size"),pr("offset"),pr("stride"),pr("divisor"),en("}}"),en.exit("if(",Gn.isStream,"){",ya,".destroyStream(",za,");","}"),Gn})}),Nn}function zr(sr){var Gr=sr.static,yn=sr.dynamic,Bn={};return Object.keys(Gr).forEach(function(Nn){var ta=Gr[Nn];Bn[Nn]=fe(function(Yn,On){return typeof ta=="number"||typeof ta=="boolean"?""+ta:Yn.link(ta)})}),Object.keys(yn).forEach(function(Nn){var ta=yn[Nn];Bn[Nn]=te(ta,function(Yn,On){return Yn.invoke(On,ta)})}),Bn}function cn(sr,Gr,yn,Bn,Nn){function ta(na){var za=On[na];za&&(pr[na]=za)}var Yn=Tr(sr,Gr),ha=or(sr),On=wr(sr,ha),en=Kt(sr),pr=Ir(sr),nn=br(sr,Nn,Yn);ta("viewport"),ta(Fr("scissor.box"));var Vn=0"u"?"Date.now()":"performance.now()"}function Yn(na){ya=Gr.def(),na(ya,"=",ta(),";"),typeof Nn=="string"?na(nn,".count+=",Nn,";"):na(nn,".count++;"),ur&&(Bn?(Gn=Gr.def(),na(Gn,"=",ha,".getNumPendingQueries();")):na(ha,".beginQuery(",nn,");"))}function On(na){na(nn,".cpuTime+=",ta(),"-",ya,";"),ur&&(Bn?na(ha,".pushScopeStats(",Gn,",",ha,".getNumPendingQueries(),",nn,");"):na(ha,".endQuery();"))}function en(na){var za=Gr.def(Vn,".profile");Gr(Vn,".profile=",na,";"),Gr.exit(Vn,".profile=",za,";")}var pr=sr.shared,nn=sr.stats,Vn=pr.current,ha=pr.timer;yn=yn.profile;var ya,Gn;if(yn){if(re(yn)){yn.enable?(Yn(Gr),On(Gr.exit),en("true")):en("false");return}yn=yn.append(sr,Gr),en(yn)}else yn=Gr.def(Vn,".profile");pr=sr.block(),Yn(pr),Gr("if(",yn,"){",pr,"}"),sr=sr.block(),On(sr),Gr.exit("if(",yn,"){",sr,"}")}function _r(sr,Gr,yn,Bn,Nn){function ta(en){switch(en){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}function Yn(en,pr,nn){function Vn(){Gr("if(!",na,".buffer){",ya,".enableVertexAttribArray(",Gn,");}");var Ua=nn.type,$a;$a=nn.size?Gr.def(nn.size,"||",pr):pr,Gr("if(",na,".type!==",Ua,"||",na,".size!==",$a,"||",Va.map(function(hs){return na+"."+hs+"!=="+nn[hs]}).join("||"),"){",ya,".bindBuffer(",34962,",",za,".buffer);",ya,".vertexAttribPointer(",[Gn,$a,Ua,nn.normalized,nn.stride,nn.offset],");",na,".type=",Ua,";",na,".size=",$a,";",Va.map(function(hs){return na+"."+hs+"="+nn[hs]+";"}).join(""),"}"),Xr&&(Ua=nn.divisor,Gr("if(",na,".divisor!==",Ua,"){",sr.instancing,".vertexAttribDivisorANGLE(",[Gn,Ua],");",na,".divisor=",Ua,";}"))}function ha(){Gr("if(",na,".buffer){",ya,".disableVertexAttribArray(",Gn,");",na,".buffer=null;","}if(",Et.map(function(Ua,$a){return na+"."+Ua+"!=="+Ya[$a]}).join("||"),"){",ya,".vertexAttrib4f(",Gn,",",Ya,");",Et.map(function(Ua,$a){return na+"."+Ua+"="+Ya[$a]+";"}).join(""),"}")}var ya=On.gl,Gn=Gr.def(en,".location"),na=Gr.def(On.attributes,"[",Gn,"]");en=nn.state;var za=nn.buffer,Ya=[nn.x,nn.y,nn.z,nn.w],Va=["buffer","normalized","offset","stride"];en===1?Vn():en===2?ha():(Gr("if(",en,"===",1,"){"),Vn(),Gr("}else{"),ha(),Gr("}"))}var On=sr.shared;Bn.forEach(function(en){var pr=en.name,nn=yn.attributes[pr],Vn;if(nn){if(!Nn(nn))return;Vn=nn.append(sr,Gr)}else{if(!Nn(vr))return;var ha=sr.scopeAttrib(pr);Vn={},Object.keys(new qn).forEach(function(ya){Vn[ya]=Gr.def(ha,".",ya)})}Yn(sr.link(en),ta(en.info.type),Vn)})}function Vr(sr,Gr,yn,Bn,Nn,ta){for(var Yn=sr.shared,On=Yn.gl,en,pr=0;pr>1)",na],");")}function $a(){yn(za,".drawArraysInstancedANGLE(",[ha,ya,Gn,na],");")}Vn&&Vn!=="null"?Va?Ua():(yn("if(",Vn,"){"),Ua(),yn("}else{"),$a(),yn("}")):$a()}function Yn(){function Ua(){yn(en+".drawElements("+[ha,Gn,Ya,ya+"<<(("+Ya+"-5121)>>1)"]+");")}function $a(){yn(en+".drawArrays("+[ha,ya,Gn]+");")}Vn&&Vn!=="null"?Va?Ua():(yn("if(",Vn,"){"),Ua(),yn("}else{"),$a(),yn("}")):$a()}var On=sr.shared,en=On.gl,pr=On.draw,nn=Bn.draw,Vn=function(){var Ua=nn.elements,$a=Gr;return Ua?((Ua.contextDep&&Bn.contextDynamic||Ua.propDep)&&($a=yn),Ua=Ua.append(sr,$a),nn.elementsActive&&$a("if("+Ua+")"+en+".bindBuffer(34963,"+Ua+".buffer.buffer);")):(Ua=$a.def(),$a(Ua,"=",pr,".","elements",";","if(",Ua,"){",en,".bindBuffer(",34963,",",Ua,".buffer.buffer);}","else if(",On.vao,".currentVAO){",Ua,"=",sr.shared.elements+".getElements("+On.vao,".currentVAO.elements);",In?"":"if("+Ua+")"+en+".bindBuffer(34963,"+Ua+".buffer.buffer);","}")),Ua}(),ha=Nn("primitive"),ya=Nn("offset"),Gn=function(){var Ua=nn.count,$a=Gr;return Ua?((Ua.contextDep&&Bn.contextDynamic||Ua.propDep)&&($a=yn),Ua=Ua.append(sr,$a)):Ua=$a.def(pr,".","count"),Ua}();if(typeof Gn=="number"){if(Gn===0)return}else yn("if(",Gn,"){"),yn.exit("}");var na,za;Xr&&(na=Nn("instances"),za=sr.instancing);var Ya=Vn+".type",Va=nn.elements&&re(nn.elements)&&!nn.vaoActive;Xr&&(typeof na!="number"||0<=na)?typeof na=="string"?(yn("if(",na,">0){"),ta(),yn("}else if(",na,"<0){"),Yn(),yn("}")):ta():Yn()}function lr(sr,Gr,yn,Bn,Nn){return Gr=Wt(),Nn=Gr.proc("body",Nn),Xr&&(Gr.instancing=Nn.def(Gr.shared.extensions,".angle_instanced_arrays")),sr(Gr,Nn,yn,Bn),Gr.compile().body}function dn(sr,Gr,yn,Bn){pa(sr,Gr),yn.useVAO?yn.drawVAO?Gr(sr.shared.vao,".setVAO(",yn.drawVAO.append(sr,Gr),");"):Gr(sr.shared.vao,".setVAO(",sr.shared.vao,".targetVAO);"):(Gr(sr.shared.vao,".setVAO(null);"),_r(sr,Gr,yn,Bn.attributes,function(){return!0})),Vr(sr,Gr,yn,Bn.uniforms,function(){return!0},!1),qr(sr,Gr,Gr,yn)}function zn(sr,Gr){var yn=sr.proc("draw",1);pa(sr,yn),tn(sr,yn,Gr.context),an(sr,yn,Gr.framebuffer),Wn(sr,yn,Gr),En(sr,yn,Gr.state),Qn(sr,yn,Gr,!1,!0);var Bn=Gr.shader.progVar.append(sr,yn);if(yn(sr.shared.gl,".useProgram(",Bn,".program);"),Gr.shader.program)dn(sr,yn,Gr,Gr.shader.program);else{yn(sr.shared.vao,".setVAO(null);");var Nn=sr.global.def("{}"),ta=yn.def(Bn,".id"),Yn=yn.def(Nn,"[",ta,"]");yn(sr.cond(Yn).then(Yn,".call(this,a0);").else(Yn,"=",Nn,"[",ta,"]=",sr.link(function(On){return lr(dn,sr,Gr,On,1)}),"(",Bn,");",Yn,".call(this,a0);"))}0=--this.refCount&&yt(this)},kr.profile&&(Or.getTotalRenderbufferSize=function(){var Qt=0;return Object.keys(Ht).forEach(function(qt){Qt+=Ht[qt].stats.size}),Qt}),{create:function(Qt,qt){function ur(mr,Fr){var tt=0,et=0,Wt=32854;if(typeof mr=="object"&&mr?("shape"in mr?(et=mr.shape,tt=et[0]|0,et=et[1]|0):("radius"in mr&&(tt=et=mr.radius|0),"width"in mr&&(tt=mr.width|0),"height"in mr&&(et=mr.height|0)),"format"in mr&&(Wt=Rt[mr.format])):typeof mr=="number"?(tt=mr|0,et=typeof Fr=="number"?Fr|0:tt):mr||(tt=et=1),tt!==Cr.width||et!==Cr.height||Wt!==Cr.format)return ur.width=Cr.width=tt,ur.height=Cr.height=et,Cr.format=Wt,Ct.bindRenderbuffer(36161,Cr.renderbuffer),Ct.renderbufferStorage(36161,Wt,tt,et),kr.profile&&(Cr.stats.size=Ie[Cr.format]*Cr.width*Cr.height),ur.format=wt[Cr.format],ur}var Cr=new Mt(Ct.createRenderbuffer());return Ht[Cr.id]=Cr,Or.renderbufferCount++,ur(Qt,qt),ur.resize=function(mr,Fr){var tt=mr|0,et=Fr|0||tt;return tt===Cr.width&&et===Cr.height||(ur.width=Cr.width=tt,ur.height=Cr.height=et,Ct.bindRenderbuffer(36161,Cr.renderbuffer),Ct.renderbufferStorage(36161,Cr.format,tt,et),kr.profile&&(Cr.stats.size=Ie[Cr.format]*Cr.width*Cr.height)),ur},ur._reglType="renderbuffer",ur._renderbuffer=Cr,kr.profile&&(ur.stats=Cr.stats),ur.destroy=function(){Cr.decRef()},ur},clear:function(){Te(Ht).forEach(yt)},restore:function(){Te(Ht).forEach(function(Qt){Qt.renderbuffer=Ct.createRenderbuffer(),Ct.bindRenderbuffer(36161,Qt.renderbuffer),Ct.renderbufferStorage(36161,Qt.format,Qt.width,Qt.height)}),Ct.bindRenderbuffer(36161,null)}}},je=[];je[6408]=4,je[6407]=3;var ot=[];ot[5121]=1,ot[5126]=4,ot[36193]=2;var ct=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Et=["x","y","z","w"],kt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),nr={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},dr={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Dt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},$t={cw:2304,ccw:2305},vr=new J(!1,!1,!1,function(){}),Pr=function(Ct,ir){function cr(){this.endQueryIndex=this.startQueryIndex=-1,this.sum=0,this.stats=null}function Or(Ht,Qt,qt){var ur=yt.pop()||new cr;ur.startQueryIndex=Ht,ur.endQueryIndex=Qt,ur.sum=0,ur.stats=qt,Rt.push(ur)}if(!ir.ext_disjoint_timer_query)return null;var kr=[],Mt=[],yt=[],Rt=[],wt=[],Ut=[];return{beginQuery:function(Ht){var Qt=kr.pop()||ir.ext_disjoint_timer_query.createQueryEXT();ir.ext_disjoint_timer_query.beginQueryEXT(35007,Qt),Mt.push(Qt),Or(Mt.length-1,Mt.length,Ht)},endQuery:function(){ir.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:Or,update:function(){var Ht,Qt;if(Ht=Mt.length,Ht!==0){Ut.length=Math.max(Ut.length,Ht+1),wt.length=Math.max(wt.length,Ht+1),wt[0]=0;var qt=Ut[0]=0;for(Qt=Ht=0;Qt=Qn.length&&Or()}var Fn=ce(Qn,zn);Qn[Fn]=gn}}}function Ut(){var zn=En.viewport,gn=En.scissor_box;zn[0]=zn[1]=gn[0]=gn[1]=0,wr.viewportWidth=wr.framebufferWidth=wr.drawingBufferWidth=zn[2]=gn[2]=ur.drawingBufferWidth,wr.viewportHeight=wr.framebufferHeight=wr.drawingBufferHeight=zn[3]=gn[3]=ur.drawingBufferHeight}function Ht(){wr.tick+=1,wr.time=qt(),Ut(),an.procs.poll()}function Qt(){zr.refresh(),Ut(),an.procs.refresh(),Wt&&Wt.update()}function qt(){return(Ee()-Gt)/1e3}if(Ct=r(Ct),!Ct)return null;var ur=Ct.gl,Cr=ur.getContextAttributes();ur.isContextLost();var mr=t(ur,Ct);if(!mr)return null;var Wn=a(),Fr={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},tt=Ct.cachedCode||{},et=mr.extensions,Wt=Pr(ur,et),Gt=Ee(),Tr=ur.drawingBufferWidth,or=ur.drawingBufferHeight,wr={tick:0,time:0,viewportWidth:Tr,viewportHeight:or,framebufferWidth:Tr,framebufferHeight:or,drawingBufferWidth:Tr,drawingBufferHeight:or,pixelRatio:Ct.pixelRatio},Tr={elements:null,primitive:4,count:-1,offset:0,instances:-1},br=Ye(ur,et),Kt=l(ur,Fr,Ct,function(zn){return Lr.destroyBuffer(zn)}),Ir=g(ur,et,Kt,Fr),Lr=_(ur,et,br,Fr,Kt,Ir,Tr),Br=H(ur,Wn,Fr,Ct),zr=U(ur,et,br,function(){an.procs.poll()},wr,Fr,Ct),cn=Ae(ur,et,br,Fr,Ct),tn=F(ur,et,br,zr,cn,Fr),an=ee(ur,Wn,et,br,Kt,Ir,zr,tn,{},Lr,Br,Tr,wr,Wt,tt,Ct),Wn=V(ur,tn,an.procs.poll,wr),En=an.next,pa=ur.canvas,Qn=[],_r=[],Vr=[],qr=[Ct.onDestroy],lr=null;pa&&(pa.addEventListener("webglcontextlost",kr,!1),pa.addEventListener("webglcontextrestored",Mt,!1));var dn=tn.setFBO=yt({framebuffer:we.define.call(null,1,"framebuffer")});return Qt(),Cr=le(yt,{clear:function(zn){if("framebuffer"in zn)if(zn.framebuffer&&zn.framebuffer_reglType==="framebufferCube")for(var gn=0;6>gn;++gn)dn(le({framebuffer:zn.framebuffer.faces[gn]},zn),Rt);else dn(zn,Rt);else Rt(null,zn)},prop:we.define.bind(null,1),context:we.define.bind(null,2),this:we.define.bind(null,3),draw:yt({}),buffer:function(zn){return Kt.create(zn,34962,!1,!1)},elements:function(zn){return Ir.create(zn,!1)},texture:zr.create2D,cube:zr.createCube,renderbuffer:cn.create,framebuffer:tn.create,framebufferCube:tn.createCube,vao:Lr.createVAO,attributes:Cr,frame:wt,on:function(zn,gn){var Fn;switch(zn){case"frame":return wt(gn);case"lost":Fn=_r;break;case"restore":Fn=Vr;break;case"destroy":Fn=qr}return Fn.push(gn),{cancel:function(){for(var fa=0;fa2?"one of ".concat(m," ").concat(d.slice(0,r-1).join(", "),", or ")+d[r-1]:r===2?"one of ".concat(m," ").concat(d[0]," or ").concat(d[1]):"of ".concat(m," ").concat(d[0])}else return"of ".concat(m," ").concat(String(d))}function a(d,m,r){return d.substr(!r||r<0?0:+r,m.length)===m}function L(d,m,r){return(r===void 0||r>d.length)&&(r=d.length),d.substring(r-m.length,r)===m}function x(d,m,r){return typeof r!="number"&&(r=0),r+m.length>d.length?!1:d.indexOf(m,r)!==-1}p("ERR_INVALID_OPT_VALUE",function(d,m){return'The value "'+m+'" is invalid for option "'+d+'"'},TypeError),p("ERR_INVALID_ARG_TYPE",function(d,m,r){var t;typeof m=="string"&&a(m,"not ")?(t="must not be",m=m.replace(/^not /,"")):t="must be";var s;if(L(d," argument"))s="The ".concat(d," ").concat(t," ").concat(E(m,"type"));else{var n=x(d,".")?"property":"argument";s='The "'.concat(d,'" ').concat(n," ").concat(t," ").concat(E(m,"type"))}return s+=". Received type ".concat(typeof r),s},TypeError),p("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),p("ERR_METHOD_NOT_IMPLEMENTED",function(d){return"The "+d+" method is not implemented"}),p("ERR_STREAM_PREMATURE_CLOSE","Premature close"),p("ERR_STREAM_DESTROYED",function(d){return"Cannot call "+d+" after a stream was destroyed"}),p("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),p("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),p("ERR_STREAM_WRITE_AFTER_END","write after end"),p("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),p("ERR_UNKNOWN_ENCODING",function(d){return"Unknown encoding: "+d},TypeError),p("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),B.exports.q=e},37865:function(B,O,e){var p=e(90386),E=Object.keys||function(n){var f=[];for(var c in n)f.push(c);return f};B.exports=r;var a=e(40410),L=e(37493);e(42018)(r,a);for(var x=E(L.prototype),d=0;d0)if(typeof ee!="string"&&!we.objectMode&&Object.getPrototypeOf(ee)!==x.prototype&&(ee=m(ee)),le)we.endEmitted?D(te,new l):w(te,we,ee,!0);else if(we.ended)D(te,new S);else{if(we.destroyed)return!1;we.reading=!1,we.decoder&&!ce?(ee=we.decoder.write(ee),we.objectMode||ee.length!==0?w(te,we,ee,!1):W(te,we)):w(te,we,ee,!1)}else le||(we.reading=!1,W(te,we))}return!we.ended&&(we.length=F?te=F:(te--,te|=te>>>1,te|=te>>>2,te|=te>>>4,te|=te>>>8,te|=te>>>16,te++),te}function _(te,ee){return te<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:te!==te?ee.flowing&&ee.length?ee.buffer.head.data.length:ee.length:(te>ee.highWaterMark&&(ee.highWaterMark=G(te)),te<=ee.length?te:ee.ended?ee.length:(ee.needReadable=!0,0))}o.prototype.read=function(te){s("read",te),te=parseInt(te,10);var ee=this._readableState,ce=te;if(te!==0&&(ee.emittedReadable=!1),te===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return s("read: emitReadable",ee.length,ee.ended),ee.length===0&&ee.ended?J(this):V(this),null;if(te=_(te,ee),te===0&&ee.ended)return ee.length===0&&J(this),null;var le=ee.needReadable;s("need readable",le),(ee.length===0||ee.length-te0?me=K(te,ee):me=null,me===null?(ee.needReadable=ee.length<=ee.highWaterMark,te=0):(ee.length-=te,ee.awaitDrain=0),ee.length===0&&(ee.ended||(ee.needReadable=!0),ce!==te&&ee.ended&&J(this)),me!==null&&this.emit("data",me),me};function H(te,ee){if(s("onEofChunk"),!ee.ended){if(ee.decoder){var ce=ee.decoder.end();ce&&ce.length&&(ee.buffer.push(ce),ee.length+=ee.objectMode?1:ce.length)}ee.ended=!0,ee.sync?V(te):(ee.needReadable=!1,ee.emittedReadable||(ee.emittedReadable=!0,N(te)))}}function V(te){var ee=te._readableState;s("emitReadable",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(s("emitReadable",ee.flowing),ee.emittedReadable=!0,p.nextTick(N,te))}function N(te){var ee=te._readableState;s("emitReadable_",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&(ee.length||ee.ended)&&(te.emit("readable"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,X(te)}function W(te,ee){ee.readingMore||(ee.readingMore=!0,p.nextTick(j,te,ee))}function j(te,ee){for(;!ee.reading&&!ee.ended&&(ee.length1&&fe(le.pipes,te)!==-1)&&!Ye&&(s("false write response, pause",le.awaitDrain),le.awaitDrain++),ce.pause())}function Re($e){s("onerror",$e),He(),te.removeListener("error",Re),a(te,"error")===0&&D(te,$e)}P(te,"error",Re);function Xe(){te.removeListener("finish",Je),He()}te.once("close",Xe);function Je(){s("onfinish"),te.removeListener("close",Xe),He()}te.once("finish",Je);function He(){s("unpipe"),ce.unpipe(te)}return te.emit("pipe",ce),le.flowing||(s("pipe resume"),ce.resume()),te};function Q(te){return function(){var ce=te._readableState;s("pipeOnDrain",ce.awaitDrain),ce.awaitDrain&&ce.awaitDrain--,ce.awaitDrain===0&&a(te,"data")&&(ce.flowing=!0,X(te))}}o.prototype.unpipe=function(te){var ee=this._readableState,ce={hasUnpiped:!1};if(ee.pipesCount===0)return this;if(ee.pipesCount===1)return te&&te!==ee.pipes?this:(te||(te=ee.pipes),ee.pipes=null,ee.pipesCount=0,ee.flowing=!1,te&&te.emit("unpipe",this,ce),this);if(!te){var le=ee.pipes,me=ee.pipesCount;ee.pipes=null,ee.pipesCount=0,ee.flowing=!1;for(var we=0;we0,le.flowing!==!1&&this.resume()):te==="readable"&&!le.endEmitted&&!le.readableListening&&(le.readableListening=le.needReadable=!0,le.flowing=!1,le.emittedReadable=!1,s("on readable",le.length,le.reading),le.length?V(this):le.reading||p.nextTick(ue,this)),ce},o.prototype.addListener=o.prototype.on,o.prototype.removeListener=function(te,ee){var ce=L.prototype.removeListener.call(this,te,ee);return te==="readable"&&p.nextTick(ie,this),ce},o.prototype.removeAllListeners=function(te){var ee=L.prototype.removeAllListeners.apply(this,arguments);return(te==="readable"||te===void 0)&&p.nextTick(ie,this),ee};function ie(te){var ee=te._readableState;ee.readableListening=te.listenerCount("readable")>0,ee.resumeScheduled&&!ee.paused?ee.flowing=!0:te.listenerCount("data")>0&&te.resume()}function ue(te){s("readable nexttick read 0"),te.read(0)}o.prototype.resume=function(){var te=this._readableState;return te.flowing||(s("resume"),te.flowing=!te.readableListening,pe(this,te)),te.paused=!1,this};function pe(te,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,p.nextTick(q,te,ee))}function q(te,ee){s("resume",ee.reading),ee.reading||te.read(0),ee.resumeScheduled=!1,te.emit("resume"),X(te),ee.flowing&&!ee.reading&&te.read(0)}o.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function X(te){var ee=te._readableState;for(s("flow",ee.flowing);ee.flowing&&te.read()!==null;);}o.prototype.wrap=function(te){var ee=this,ce=this._readableState,le=!1;te.on("end",function(){if(s("wrapped end"),ce.decoder&&!ce.ended){var Se=ce.decoder.end();Se&&Se.length&&ee.push(Se)}ee.push(null)}),te.on("data",function(Se){if(s("wrapped data"),ce.decoder&&(Se=ce.decoder.write(Se)),!(ce.objectMode&&Se==null)&&!(!ce.objectMode&&(!Se||!Se.length))){var Ee=ee.push(Se);Ee||(le=!0,te.pause())}});for(var me in te)this[me]===void 0&&typeof te[me]=="function"&&(this[me]=function(Ee){return function(){return te[Ee].apply(te,arguments)}}(me));for(var we=0;we=ee.length?(ee.decoder?ce=ee.buffer.join(""):ee.buffer.length===1?ce=ee.buffer.first():ce=ee.buffer.concat(ee.length),ee.buffer.clear()):ce=ee.buffer.consume(te,ee.decoder),ce}function J(te){var ee=te._readableState;s("endReadable",ee.endEmitted),ee.endEmitted||(ee.ended=!0,p.nextTick(re,ee,te))}function re(te,ee){if(s("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,ee.readable=!1,ee.emit("end"),te.autoDestroy)){var ce=ee._writableState;(!ce||ce.autoDestroy&&ce.finished)&&ee.destroy()}}typeof Symbol=="function"&&(o.from=function(te,ee){return M===void 0&&(M=e(31748)),M(o,te,ee)});function fe(te,ee){for(var ce=0,le=te.length;ce-1))throw new C(K);return this._writableState.defaultEncoding=K,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function w(X,K,J){return!X.objectMode&&X.decodeStrings!==!1&&typeof K=="string"&&(K=d.from(K,J)),K}Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function U(X,K,J,re,fe,te){if(!J){var ee=w(K,re,fe);re!==ee&&(J=!0,fe="buffer",re=ee)}var ce=K.objectMode?1:re.length;K.length+=ce;var le=K.length0?this.tail.next=h:this.head=h,this.tail=h,++this.length}},{key:"unshift",value:function(b){var h={data:b,next:this.head};this.length===0&&(this.tail=h),this.head=h,++this.length}},{key:"shift",value:function(){if(this.length!==0){var b=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,b}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(b){if(this.length===0)return"";for(var h=this.head,S=""+h.data;h=h.next;)S+=b+h.data;return S}},{key:"concat",value:function(b){if(this.length===0)return r.alloc(0);for(var h=r.allocUnsafe(b>>>0),S=this.head,v=0;S;)f(S.data,h,v),v+=S.data.length,S=S.next;return h}},{key:"consume",value:function(b,h){var S;return bl.length?l.length:b;if(g===l.length?v+=l:v+=l.slice(0,b),b-=g,b===0){g===l.length?(++S,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=l.slice(g));break}++S}return this.length-=S,v}},{key:"_getBuffer",value:function(b){var h=r.allocUnsafe(b),S=this.head,v=1;for(S.data.copy(h),b-=S.data.length;S=S.next;){var l=S.data,g=b>l.length?l.length:b;if(l.copy(h,h.length-b,0,g),b-=g,b===0){g===l.length?(++v,S.next?this.head=S.next:this.head=this.tail=null):(this.head=S,S.data=l.slice(g));break}++v}return this.length-=v,h}},{key:n,value:function(b,h){return s(this,E({},h,{depth:0,customInspect:!1}))}}]),c}()},65756:function(B,O,e){var p=e(90386);function E(r,t){var s=this,n=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return n||f?(t?t(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,p.nextTick(d,this,r)):p.nextTick(d,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(c){!t&&c?s._writableState?s._writableState.errorEmitted?p.nextTick(L,s):(s._writableState.errorEmitted=!0,p.nextTick(a,s,c)):p.nextTick(a,s,c):t?(p.nextTick(L,s),t(c)):p.nextTick(L,s)}),this)}function a(r,t){d(r,t),L(r)}function L(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close")}function x(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function d(r,t){r.emit("error",t)}function m(r,t){var s=r._readableState,n=r._writableState;s&&s.autoDestroy||n&&n.autoDestroy?r.destroy(t):r.emit("error",t)}B.exports={destroy:E,undestroy:x,errorOrDestroy:m}},12726:function(B,O,e){var p=e(74322).q.ERR_STREAM_PREMATURE_CLOSE;function E(d){var m=!1;return function(){if(!m){m=!0;for(var r=arguments.length,t=new Array(r),s=0;s0;return r(l,C,M,function(D){S||(S=D),D&&v.forEach(t),!C&&(v.forEach(t),h(S))})});return u.reduce(s)}B.exports=f},56306:function(B,O,e){var p=e(74322).q.ERR_INVALID_OPT_VALUE;function E(L,x,d){return L.highWaterMark!=null?L.highWaterMark:x?L[d]:null}function a(L,x,d,m){var r=E(x,m,d);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var t=m?d:"highWaterMark";throw new p(t,r)}return Math.floor(r)}return L.objectMode?16:16384}B.exports={getHighWaterMark:a}},71405:function(B,O,e){B.exports=e(15398).EventEmitter},68019:function(B,O,e){var p=e(71665).Buffer,E=p.isEncoding||function(v){switch(v=""+v,v&&v.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(v){if(!v)return"utf8";for(var l;;)switch(v){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return v;default:if(l)return;v=(""+v).toLowerCase(),l=!0}}function L(v){var l=a(v);if(typeof l!="string"&&(p.isEncoding===E||!E(v)))throw new Error("Unknown encoding: "+v);return l||v}O.s=x;function x(v){this.encoding=L(v);var l;switch(this.encoding){case"utf16le":this.text=f,this.end=c,l=4;break;case"utf8":this.fillLast=t,l=4;break;case"base64":this.text=u,this.end=b,l=3;break;default:this.write=h,this.end=S;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=p.allocUnsafe(l)}x.prototype.write=function(v){if(v.length===0)return"";var l,g;if(this.lastNeed){if(l=this.fillLast(v),l===void 0)return"";g=this.lastNeed,this.lastNeed=0}else g=0;return g>5===6?2:v>>4===14?3:v>>3===30?4:v>>6===2?-1:-2}function m(v,l,g){var C=l.length-1;if(C=0?(M>0&&(v.lastNeed=M-1),M):--C=0?(M>0&&(v.lastNeed=M-2),M):--C=0?(M>0&&(M===2?M=0:v.lastNeed=M-3),M):0))}function r(v,l,g){if((l[0]&192)!==128)return v.lastNeed=0,"�";if(v.lastNeed>1&&l.length>1){if((l[1]&192)!==128)return v.lastNeed=1,"�";if(v.lastNeed>2&&l.length>2&&(l[2]&192)!==128)return v.lastNeed=2,"�"}}function t(v){var l=this.lastTotal-this.lastNeed,g=r(this,v);if(g!==void 0)return g;if(this.lastNeed<=v.length)return v.copy(this.lastChar,l,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,l,0,v.length),this.lastNeed-=v.length}function s(v,l){var g=m(this,v,l);if(!this.lastNeed)return v.toString("utf8",l);this.lastTotal=g;var C=v.length-(g-this.lastNeed);return v.copy(this.lastChar,0,C),v.toString("utf8",l,C)}function n(v){var l=v&&v.length?this.write(v):"";return this.lastNeed?l+"�":l}function f(v,l){if((v.length-l)%2===0){var g=v.toString("utf16le",l);if(g){var C=g.charCodeAt(g.length-1);if(C>=55296&&C<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1],g.slice(0,-1)}return g}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=v[v.length-1],v.toString("utf16le",l,v.length-1)}function c(v){var l=v&&v.length?this.write(v):"";if(this.lastNeed){var g=this.lastTotal-this.lastNeed;return l+this.lastChar.toString("utf16le",0,g)}return l}function u(v,l){var g=(v.length-l)%3;return g===0?v.toString("base64",l):(this.lastNeed=3-g,this.lastTotal=3,g===1?this.lastChar[0]=v[v.length-1]:(this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1]),v.toString("base64",l,v.length-g))}function b(v){var l=v&&v.length?this.write(v):"";return this.lastNeed?l+this.lastChar.toString("base64",0,3-this.lastNeed):l}function h(v){return v.toString(this.encoding)}function S(v){return v&&v.length?this.write(v):""}},90715:function(B,O,e){var p=e(32791),E=e(41633)("stream-parser");B.exports=m;var a=-1,L=0,x=1,d=2;function m(v){var l=v&&typeof v._transform=="function",g=v&&typeof v._write=="function";if(!l&&!g)throw new Error("must pass a Writable or Transform stream in");E("extending Parser into stream"),v._bytes=t,v._skipBytes=s,l&&(v._passthrough=n),l?v._transform=c:v._write=f}function r(v){E("initializing parser stream"),v._parserBytesLeft=0,v._parserBuffers=[],v._parserBuffered=0,v._parserState=a,v._parserCallback=null,typeof v.push=="function"&&(v._parserOutput=v.push.bind(v)),v._parserInit=!0}function t(v,l){p(!this._parserCallback,'there is already a "callback" set!'),p(isFinite(v)&&v>0,'can only buffer a finite number of bytes > 0, got "'+v+'"'),this._parserInit||r(this),E("buffering %o bytes",v),this._parserBytesLeft=v,this._parserCallback=l,this._parserState=L}function s(v,l){p(!this._parserCallback,'there is already a "callback" set!'),p(v>0,'can only skip > 0 bytes, got "'+v+'"'),this._parserInit||r(this),E("skipping %o bytes",v),this._parserBytesLeft=v,this._parserCallback=l,this._parserState=x}function n(v,l){p(!this._parserCallback,'There is already a "callback" set!'),p(v>0,'can only pass through > 0 bytes, got "'+v+'"'),this._parserInit||r(this),E("passing through %o bytes",v),this._parserBytesLeft=v,this._parserCallback=l,this._parserState=d}function f(v,l,g){this._parserInit||r(this),E("write(%o bytes)",v.length),typeof l=="function"&&(g=l),h(this,v,null,g)}function c(v,l,g){this._parserInit||r(this),E("transform(%o bytes)",v.length),typeof l!="function"&&(l=this._parserOutput),h(this,v,l,g)}function u(v,l,g,C){return v._parserBytesLeft<=0?C(new Error("got data but not currently parsing anything")):l.length<=v._parserBytesLeft?function(){return b(v,l,g,C)}:function(){var M=l.slice(0,v._parserBytesLeft);return b(v,M,g,function(D){if(D)return C(D);if(l.length>M.length)return function(){return u(v,l.slice(M.length),g,C)}})}}function b(v,l,g,C){if(v._parserBytesLeft-=l.length,E("%o bytes left for stream piece",v._parserBytesLeft),v._parserState===L?(v._parserBuffers.push(l),v._parserBuffered+=l.length):v._parserState===d&&g(l),v._parserBytesLeft===0){var M=v._parserCallback;if(M&&v._parserState===L&&v._parserBuffers.length>1&&(l=Buffer.concat(v._parserBuffers,v._parserBuffered)),v._parserState!==L&&(l=null),v._parserCallback=null,v._parserBuffered=0,v._parserState=a,v._parserBuffers.splice(0),M){var D=[];l&&D.push(l),g&&D.push(g);var T=M.length>D.length;T&&D.push(S(C));var P=M.apply(v,D);if(!T||C===P)return C}}else return C}var h=S(u);function S(v){return function(){for(var l=v.apply(this,arguments);typeof l=="function";)l=l();return l}}},41633:function(B,O,e){var p=e(90386);O=B.exports=e(74469),O.log=L,O.formatArgs=a,O.save=x,O.load=d,O.useColors=E,O.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:m(),O.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function E(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}O.formatters.j=function(r){try{return JSON.stringify(r)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}};function a(r){var t=this.useColors;if(r[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+r[0]+(t?"%c ":" ")+"+"+O.humanize(this.diff),!!t){var s="color: "+this.color;r.splice(1,0,s,"color: inherit");var n=0,f=0;r[0].replace(/%[a-zA-Z%]/g,function(c){c!=="%%"&&(n++,c==="%c"&&(f=n))}),r.splice(f,0,s)}}function L(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function x(r){try{r==null?O.storage.removeItem("debug"):O.storage.debug=r}catch{}}function d(){var r;try{r=O.storage.debug}catch{}return!r&&typeof p<"u"&&"env"in p&&(r={}.DEBUG),r}O.enable(d());function m(){try{return window.localStorage}catch{}}},74469:function(B,O,e){O=B.exports=a.debug=a.default=a,O.coerce=m,O.disable=x,O.enable=L,O.enabled=d,O.humanize=e(11375),O.names=[],O.skips=[],O.formatters={};var p;function E(r){var t=0,s;for(s in r)t=(t<<5)-t+r.charCodeAt(s),t|=0;return O.colors[Math.abs(t)%O.colors.length]}function a(r){function t(){if(t.enabled){var s=t,n=+new Date,f=n-(p||n);s.diff=f,s.prev=p,s.curr=n,p=n;for(var c=new Array(arguments.length),u=0;u0)return L(r);if(s==="number"&&isNaN(r)===!1)return t.long?d(r):x(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))};function L(r){if(r=String(r),!(r.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(r);if(t){var s=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"days":case"day":case"d":return s*E;case"hours":case"hour":case"hrs":case"hr":case"h":return s*p;case"minutes":case"minute":case"mins":case"min":case"m":return s*e;case"seconds":case"second":case"secs":case"sec":case"s":return s*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function x(r){return r>=E?Math.round(r/E)+"d":r>=p?Math.round(r/p)+"h":r>=e?Math.round(r/e)+"m":r>=O?Math.round(r/O)+"s":r+"ms"}function d(r){return m(r,E,"day")||m(r,p,"hour")||m(r,e,"minute")||m(r,O,"second")||r+" ms"}function m(r,t,s){if(!(r",'""',"''","``","“”","«»"]:(typeof x.ignore=="string"&&(x.ignore=[x.ignore]),x.ignore=x.ignore.map(function(c){return c.length===1&&(c=c+c),c}));var d=p.parse(a,{flat:!0,brackets:x.ignore}),m=d[0],r=m.split(L);if(x.escape){for(var t=[],s=0;s0;){h=v[v.length-1];var l=e[h];if(x[h]=0&&m[h].push(d[C])}x[h]=g}else{if(a[h]===E[h]){for(var M=[],D=[],T=0,g=S.length-1;g>=0;--g){var P=S[g];if(L[P]=!1,M.push(P),D.push(m[P]),T+=m[P].length,d[P]=s.length,P===h){S.length=g;break}}s.push(M);for(var A=new Array(T),g=0;g1&&(u=1),u<-1&&(u=-1),c*Math.acos(u)},d=function(t,s,n,f,c,u,b,h,S,v,l,g){var C=Math.pow(c,2),M=Math.pow(u,2),D=Math.pow(l,2),T=Math.pow(g,2),P=C*M-C*T-M*D;P<0&&(P=0),P/=C*T+M*D,P=Math.sqrt(P)*(b===h?-1:1);var A=P*c/u*g,o=P*-u/c*l,k=v*A-S*o+(t+n)/2,w=S*A+v*o+(s+f)/2,U=(l-A)/c,F=(g-o)/u,G=(-l-A)/c,_=(-g-o)/u,H=x(1,0,U,F),V=x(U,F,G,_);return h===0&&V>0&&(V-=E),h===1&&V<0&&(V+=E),[k,w,H,V]},m=function(t){var s=t.px,n=t.py,f=t.cx,c=t.cy,u=t.rx,b=t.ry,h=t.xAxisRotation,S=h===void 0?0:h,v=t.largeArcFlag,l=v===void 0?0:v,g=t.sweepFlag,C=g===void 0?0:g,M=[];if(u===0||b===0)return[];var D=Math.sin(S*E/360),T=Math.cos(S*E/360),P=T*(s-f)/2+D*(n-c)/2,A=-D*(s-f)/2+T*(n-c)/2;if(P===0&&A===0)return[];u=Math.abs(u),b=Math.abs(b);var o=Math.pow(P,2)/Math.pow(u,2)+Math.pow(A,2)/Math.pow(b,2);o>1&&(u*=Math.sqrt(o),b*=Math.sqrt(o));var k=d(s,n,f,c,u,b,l,C,D,T,P,A),w=p(k,4),U=w[0],F=w[1],G=w[2],_=w[3],H=Math.abs(_)/(E/4);Math.abs(1-H)<1e-7&&(H=1);var V=Math.max(Math.ceil(H),1);_/=V;for(var N=0;Nr[2]&&(r[2]=n[f+0]),n[f+1]>r[3]&&(r[3]=n[f+1]);return r}},29988:function(B,O,e){B.exports=E;var p=e(7095);function E(x){for(var d,m=[],r=0,t=0,s=0,n=0,f=null,c=null,u=0,b=0,h=0,S=x.length;h4?(r=v[v.length-4],t=v[v.length-3]):(r=u,t=b),m.push(v)}return m}function a(x,d,m,r){return["C",x,d,m,r,m,r]}function L(x,d,m,r,t,s){return["C",x/3+.6666666666666666*m,d/3+.6666666666666666*r,t/3+.6666666666666666*m,s/3+.6666666666666666*r,t,s]}},82019:function(B,O,e){var p=e(1750),E=e(95616),a=e(31457),L=e(89546),x=e(44781),d=document.createElement("canvas"),m=d.getContext("2d");B.exports=r;function r(n,f){if(!L(n))throw Error("Argument should be valid svg path string");f||(f={});var c,u;f.shape?(c=f.shape[0],u=f.shape[1]):(c=d.width=f.w||f.width||200,u=d.height=f.h||f.height||200);var b=Math.min(c,u),h=f.stroke||0,S=f.viewbox||f.viewBox||p(n),v=[c/(S[2]-S[0]),u/(S[3]-S[1])],l=Math.min(v[0]||0,v[1]||0)/2;if(m.fillStyle="black",m.fillRect(0,0,c,u),m.fillStyle="white",h&&(typeof h!="number"&&(h=1),h>0?m.strokeStyle="white":m.strokeStyle="black",m.lineWidth=Math.abs(h)),m.translate(c*.5,u*.5),m.scale(l,l),s()){var g=new Path2D(n);m.fill(g),h&&m.stroke(g)}else{var C=E(n);a(m,C),m.fill(),h&&m.stroke()}m.setTransform(1,0,0,1,0,0);var M=x(m,{cutoff:f.cutoff!=null?f.cutoff:.5,radius:f.radius!=null?f.radius:b*.5});return M}var t;function s(){if(t!=null)return t;var n=document.createElement("canvas").getContext("2d");if(n.canvas.width=n.canvas.height=1,!window.Path2D)return t=!1;var f=new Path2D("M0,0h1v1h-1v-1Z");n.fillStyle="black",n.fill(f);var c=n.getImageData(0,0,1,1);return t=c&&c.data&&c.data[3]===255}},84267:function(B,O,e){var p;(function(E){var a=/^\s+/,L=/\s+$/,x=0,d=E.round,m=E.min,r=E.max,t=E.random;function s(ee,ce){if(ee=ee||"",ce=ce||{},ee instanceof s)return ee;if(!(this instanceof s))return new s(ee,ce);var le=n(ee);this._originalInput=ee,this._r=le.r,this._g=le.g,this._b=le.b,this._a=le.a,this._roundA=d(100*this._a)/100,this._format=ce.format||le.format,this._gradientType=ce.gradientType,this._r<1&&(this._r=d(this._r)),this._g<1&&(this._g=d(this._g)),this._b<1&&(this._b=d(this._b)),this._ok=le.ok,this._tc_id=x++}s.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var ee=this.toRgb();return(ee.r*299+ee.g*587+ee.b*114)/1e3},getLuminance:function(){var ee=this.toRgb(),ce,le,me,we,Se,Ee;return ce=ee.r/255,le=ee.g/255,me=ee.b/255,ce<=.03928?we=ce/12.92:we=E.pow((ce+.055)/1.055,2.4),le<=.03928?Se=le/12.92:Se=E.pow((le+.055)/1.055,2.4),me<=.03928?Ee=me/12.92:Ee=E.pow((me+.055)/1.055,2.4),.2126*we+.7152*Se+.0722*Ee},setAlpha:function(ee){return this._a=N(ee),this._roundA=d(100*this._a)/100,this},toHsv:function(){var ee=b(this._r,this._g,this._b);return{h:ee.h*360,s:ee.s,v:ee.v,a:this._a}},toHsvString:function(){var ee=b(this._r,this._g,this._b),ce=d(ee.h*360),le=d(ee.s*100),me=d(ee.v*100);return this._a==1?"hsv("+ce+", "+le+"%, "+me+"%)":"hsva("+ce+", "+le+"%, "+me+"%, "+this._roundA+")"},toHsl:function(){var ee=c(this._r,this._g,this._b);return{h:ee.h*360,s:ee.s,l:ee.l,a:this._a}},toHslString:function(){var ee=c(this._r,this._g,this._b),ce=d(ee.h*360),le=d(ee.s*100),me=d(ee.l*100);return this._a==1?"hsl("+ce+", "+le+"%, "+me+"%)":"hsla("+ce+", "+le+"%, "+me+"%, "+this._roundA+")"},toHex:function(ee){return S(this._r,this._g,this._b,ee)},toHexString:function(ee){return"#"+this.toHex(ee)},toHex8:function(ee){return v(this._r,this._g,this._b,this._a,ee)},toHex8String:function(ee){return"#"+this.toHex8(ee)},toRgb:function(){return{r:d(this._r),g:d(this._g),b:d(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+d(this._r)+", "+d(this._g)+", "+d(this._b)+")":"rgba("+d(this._r)+", "+d(this._g)+", "+d(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:d(W(this._r,255)*100)+"%",g:d(W(this._g,255)*100)+"%",b:d(W(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+d(W(this._r,255)*100)+"%, "+d(W(this._g,255)*100)+"%, "+d(W(this._b,255)*100)+"%)":"rgba("+d(W(this._r,255)*100)+"%, "+d(W(this._g,255)*100)+"%, "+d(W(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:H[S(this._r,this._g,this._b,!0)]||!1},toFilter:function(ee){var ce="#"+l(this._r,this._g,this._b,this._a),le=ce,me=this._gradientType?"GradientType = 1, ":"";if(ee){var we=s(ee);le="#"+l(we._r,we._g,we._b,we._a)}return"progid:DXImageTransform.Microsoft.gradient("+me+"startColorstr="+ce+",endColorstr="+le+")"},toString:function(ee){var ce=!!ee;ee=ee||this._format;var le=!1,me=this._a<1&&this._a>=0,we=!ce&&me&&(ee==="hex"||ee==="hex6"||ee==="hex3"||ee==="hex4"||ee==="hex8"||ee==="name");return we?ee==="name"&&this._a===0?this.toName():this.toRgbString():(ee==="rgb"&&(le=this.toRgbString()),ee==="prgb"&&(le=this.toPercentageRgbString()),(ee==="hex"||ee==="hex6")&&(le=this.toHexString()),ee==="hex3"&&(le=this.toHexString(!0)),ee==="hex4"&&(le=this.toHex8String(!0)),ee==="hex8"&&(le=this.toHex8String()),ee==="name"&&(le=this.toName()),ee==="hsl"&&(le=this.toHslString()),ee==="hsv"&&(le=this.toHsvString()),le||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(ee,ce){var le=ee.apply(null,[this].concat([].slice.call(ce)));return this._r=le._r,this._g=le._g,this._b=le._b,this.setAlpha(le._a),this},lighten:function(){return this._applyModification(D,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(P,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(C,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(A,arguments)},_applyCombination:function(ee,ce){return ee.apply(null,[this].concat([].slice.call(ce)))},analogous:function(){return this._applyCombination(F,arguments)},complement:function(){return this._applyCombination(o,arguments)},monochromatic:function(){return this._applyCombination(G,arguments)},splitcomplement:function(){return this._applyCombination(U,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},s.fromRatio=function(ee,ce){if(typeof ee=="object"){var le={};for(var me in ee)ee.hasOwnProperty(me)&&(me==="a"?le[me]=ee[me]:le[me]=q(ee[me]));ee=le}return s(ee,ce)};function n(ee){var ce={r:0,g:0,b:0},le=1,me=null,we=null,Se=null,Ee=!1,We=!1;return typeof ee=="string"&&(ee=fe(ee)),typeof ee=="object"&&(re(ee.r)&&re(ee.g)&&re(ee.b)?(ce=f(ee.r,ee.g,ee.b),Ee=!0,We=String(ee.r).substr(-1)==="%"?"prgb":"rgb"):re(ee.h)&&re(ee.s)&&re(ee.v)?(me=q(ee.s),we=q(ee.v),ce=h(ee.h,me,we),Ee=!0,We="hsv"):re(ee.h)&&re(ee.s)&&re(ee.l)&&(me=q(ee.s),Se=q(ee.l),ce=u(ee.h,me,Se),Ee=!0,We="hsl"),ee.hasOwnProperty("a")&&(le=ee.a)),le=N(le),{ok:Ee,format:ee.format||We,r:m(255,r(ce.r,0)),g:m(255,r(ce.g,0)),b:m(255,r(ce.b,0)),a:le}}function f(ee,ce,le){return{r:W(ee,255)*255,g:W(ce,255)*255,b:W(le,255)*255}}function c(ee,ce,le){ee=W(ee,255),ce=W(ce,255),le=W(le,255);var me=r(ee,ce,le),we=m(ee,ce,le),Se,Ee,We=(me+we)/2;if(me==we)Se=Ee=0;else{var Ye=me-we;switch(Ee=We>.5?Ye/(2-me-we):Ye/(me+we),me){case ee:Se=(ce-le)/Ye+(ce1&&(Re-=1),Re<.16666666666666666?De+(Te-De)*6*Re:Re<.5?Te:Re<.6666666666666666?De+(Te-De)*(.6666666666666666-Re)*6:De}if(ce===0)me=we=Se=le;else{var We=le<.5?le*(1+ce):le+ce-le*ce,Ye=2*le-We;me=Ee(Ye,We,ee+.3333333333333333),we=Ee(Ye,We,ee),Se=Ee(Ye,We,ee-.3333333333333333)}return{r:me*255,g:we*255,b:Se*255}}function b(ee,ce,le){ee=W(ee,255),ce=W(ce,255),le=W(le,255);var me=r(ee,ce,le),we=m(ee,ce,le),Se,Ee,We=me,Ye=me-we;if(Ee=me===0?0:Ye/me,me==we)Se=0;else{switch(me){case ee:Se=(ce-le)/Ye+(ce>1)+720)%360;--ce;)me.h=(me.h+we)%360,Se.push(s(me));return Se}function G(ee,ce){ce=ce||6;for(var le=s(ee).toHsv(),me=le.h,we=le.s,Se=le.v,Ee=[],We=1/ce;ce--;)Ee.push(s({h:me,s:we,v:Se})),Se=(Se+We)%1;return Ee}s.mix=function(ee,ce,le){le=le===0?0:le||50;var me=s(ee).toRgb(),we=s(ce).toRgb(),Se=le/100,Ee={r:(we.r-me.r)*Se+me.r,g:(we.g-me.g)*Se+me.g,b:(we.b-me.b)*Se+me.b,a:(we.a-me.a)*Se+me.a};return s(Ee)},s.readability=function(ee,ce){var le=s(ee),me=s(ce);return(E.max(le.getLuminance(),me.getLuminance())+.05)/(E.min(le.getLuminance(),me.getLuminance())+.05)},s.isReadable=function(ee,ce,le){var me=s.readability(ee,ce),we,Se;switch(Se=!1,we=te(le),we.level+we.size){case"AAsmall":case"AAAlarge":Se=me>=4.5;break;case"AAlarge":Se=me>=3;break;case"AAAsmall":Se=me>=7;break}return Se},s.mostReadable=function(ee,ce,le){var me=null,we=0,Se,Ee,We,Ye;le=le||{},Ee=le.includeFallbackColors,We=le.level,Ye=le.size;for(var De=0;Dewe&&(we=Se,me=s(ce[De]));return s.isReadable(ee,me,{level:We,size:Ye})||!Ee?me:(le.includeFallbackColors=!1,s.mostReadable(ee,["#fff","#000"],le))};var _=s.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},H=s.hexNames=V(_);function V(ee){var ce={};for(var le in ee)ee.hasOwnProperty(le)&&(ce[ee[le]]=le);return ce}function N(ee){return ee=parseFloat(ee),(isNaN(ee)||ee<0||ee>1)&&(ee=1),ee}function W(ee,ce){ie(ee)&&(ee="100%");var le=ue(ee);return ee=m(ce,r(0,parseFloat(ee))),le&&(ee=parseInt(ee*ce,10)/100),E.abs(ee-ce)<1e-6?1:ee%ce/parseFloat(ce)}function j(ee){return m(1,r(0,ee))}function Q(ee){return parseInt(ee,16)}function ie(ee){return typeof ee=="string"&&ee.indexOf(".")!=-1&&parseFloat(ee)===1}function ue(ee){return typeof ee=="string"&&ee.indexOf("%")!=-1}function pe(ee){return ee.length==1?"0"+ee:""+ee}function q(ee){return ee<=1&&(ee=ee*100+"%"),ee}function X(ee){return E.round(parseFloat(ee)*255).toString(16)}function K(ee){return Q(ee)/255}var J=function(){var ee="[-\\+]?\\d+%?",ce="[-\\+]?\\d*\\.\\d+%?",le="(?:"+ce+")|(?:"+ee+")",me="[\\s|\\(]+("+le+")[,|\\s]+("+le+")[,|\\s]+("+le+")\\s*\\)?",we="[\\s|\\(]+("+le+")[,|\\s]+("+le+")[,|\\s]+("+le+")[,|\\s]+("+le+")\\s*\\)?";return{CSS_UNIT:new RegExp(le),rgb:new RegExp("rgb"+me),rgba:new RegExp("rgba"+we),hsl:new RegExp("hsl"+me),hsla:new RegExp("hsla"+we),hsv:new RegExp("hsv"+me),hsva:new RegExp("hsva"+we),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function re(ee){return!!J.CSS_UNIT.exec(ee)}function fe(ee){ee=ee.replace(a,"").replace(L,"").toLowerCase();var ce=!1;if(_[ee])ee=_[ee],ce=!0;else if(ee=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var le;return(le=J.rgb.exec(ee))?{r:le[1],g:le[2],b:le[3]}:(le=J.rgba.exec(ee))?{r:le[1],g:le[2],b:le[3],a:le[4]}:(le=J.hsl.exec(ee))?{h:le[1],s:le[2],l:le[3]}:(le=J.hsla.exec(ee))?{h:le[1],s:le[2],l:le[3],a:le[4]}:(le=J.hsv.exec(ee))?{h:le[1],s:le[2],v:le[3]}:(le=J.hsva.exec(ee))?{h:le[1],s:le[2],v:le[3],a:le[4]}:(le=J.hex8.exec(ee))?{r:Q(le[1]),g:Q(le[2]),b:Q(le[3]),a:K(le[4]),format:ce?"name":"hex8"}:(le=J.hex6.exec(ee))?{r:Q(le[1]),g:Q(le[2]),b:Q(le[3]),format:ce?"name":"hex"}:(le=J.hex4.exec(ee))?{r:Q(le[1]+""+le[1]),g:Q(le[2]+""+le[2]),b:Q(le[3]+""+le[3]),a:K(le[4]+""+le[4]),format:ce?"name":"hex8"}:(le=J.hex3.exec(ee))?{r:Q(le[1]+""+le[1]),g:Q(le[2]+""+le[2]),b:Q(le[3]+""+le[3]),format:ce?"name":"hex"}:!1}function te(ee){var ce,le;return ee=ee||{level:"AA",size:"small"},ce=(ee.level||"AA").toUpperCase(),le=(ee.size||"small").toLowerCase(),ce!=="AA"&&ce!=="AAA"&&(ce="AA"),le!=="small"&&le!=="large"&&(le="small"),{level:ce,size:le}}B.exports?B.exports=s:(p=(function(){return s}).call(O,e,O,B),p!==void 0&&(B.exports=p))})(Math)},57060:function(B){B.exports=p,B.exports.float32=B.exports.float=p,B.exports.fract32=B.exports.fract=e;var O=new Float32Array(1);function e(E,a){if(E.length){if(E instanceof Float32Array)return new Float32Array(E.length);a instanceof Float32Array||(a=p(E));for(var L=0,x=a.length;L":(L.length>100&&(L=L.slice(0,99)+"…"),L=L.replace(E,function(x){switch(x){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),L)}},47403:function(B,O,e){var p=e(24582),E={object:!0,function:!0,undefined:!0};B.exports=function(a){return p(a)?hasOwnProperty.call(E,typeof a):!1}},82527:function(B,O,e){var p=e(69190),E=e(84985);B.exports=function(a){return E(a)?a:p(a,"%v is not a plain function",arguments[1])}},84985:function(B,O,e){var p=e(73116),E=/^\s*class[\s{/}]/,a=Function.prototype.toString;B.exports=function(L){return!(!p(L)||E.test(a.call(L)))}},24511:function(B,O,e){var p=e(47403);B.exports=function(E){if(!p(E))return!1;try{return E.constructor?E.constructor.prototype===E:!1}catch{return!1}}},9234:function(B,O,e){var p=e(24582),E=e(47403),a=Object.prototype.toString;B.exports=function(L){if(!p(L))return null;if(E(L)){var x=L.toString;if(typeof x!="function"||x===a)return null}try{return""+L}catch{return null}}},10424:function(B,O,e){var p=e(69190),E=e(24582);B.exports=function(a){return E(a)?a:p(a,"Cannot use %v",arguments[1])}},24582:function(B){var O=void 0;B.exports=function(e){return e!==O&&e!==null}},58404:function(B,O,e){var p=e(13547),E=e(12129),a=e(12856).Buffer;e.g.__TYPEDARRAY_POOL||(e.g.__TYPEDARRAY_POOL={UINT8:E([32,0]),UINT16:E([32,0]),UINT32:E([32,0]),BIGUINT64:E([32,0]),INT8:E([32,0]),INT16:E([32,0]),INT32:E([32,0]),BIGINT64:E([32,0]),FLOAT:E([32,0]),DOUBLE:E([32,0]),DATA:E([32,0]),UINT8C:E([32,0]),BUFFER:E([32,0])});var L=typeof Uint8ClampedArray<"u",x=typeof BigUint64Array<"u",d=typeof BigInt64Array<"u",m=e.g.__TYPEDARRAY_POOL;m.UINT8C||(m.UINT8C=E([32,0])),m.BIGUINT64||(m.BIGUINT64=E([32,0])),m.BIGINT64||(m.BIGINT64=E([32,0])),m.BUFFER||(m.BUFFER=E([32,0]));var r=m.DATA,t=m.BUFFER;O.free=function(o){if(a.isBuffer(o))t[p.log2(o.length)].push(o);else{if(Object.prototype.toString.call(o)!=="[object ArrayBuffer]"&&(o=o.buffer),!o)return;var k=o.length||o.byteLength,w=p.log2(k)|0;r[w].push(o)}};function s(A){if(A){var o=A.length||A.byteLength,k=p.log2(o);r[k].push(A)}}function n(A){s(A.buffer)}O.freeUint8=O.freeUint16=O.freeUint32=O.freeBigUint64=O.freeInt8=O.freeInt16=O.freeInt32=O.freeBigInt64=O.freeFloat32=O.freeFloat=O.freeFloat64=O.freeDouble=O.freeUint8Clamped=O.freeDataView=n,O.freeArrayBuffer=s,O.freeBuffer=function(o){t[p.log2(o.length)].push(o)},O.malloc=function(o,k){if(k===void 0||k==="arraybuffer")return f(o);switch(k){case"uint8":return c(o);case"uint16":return u(o);case"uint32":return b(o);case"int8":return h(o);case"int16":return S(o);case"int32":return v(o);case"float":case"float32":return l(o);case"double":case"float64":return g(o);case"uint8_clamped":return C(o);case"bigint64":return D(o);case"biguint64":return M(o);case"buffer":return P(o);case"data":case"dataview":return T(o);default:return null}return null};function f(o){var o=p.nextPow2(o),k=p.log2(o),w=r[k];return w.length>0?w.pop():new ArrayBuffer(o)}O.mallocArrayBuffer=f;function c(A){return new Uint8Array(f(A),0,A)}O.mallocUint8=c;function u(A){return new Uint16Array(f(2*A),0,A)}O.mallocUint16=u;function b(A){return new Uint32Array(f(4*A),0,A)}O.mallocUint32=b;function h(A){return new Int8Array(f(A),0,A)}O.mallocInt8=h;function S(A){return new Int16Array(f(2*A),0,A)}O.mallocInt16=S;function v(A){return new Int32Array(f(4*A),0,A)}O.mallocInt32=v;function l(A){return new Float32Array(f(4*A),0,A)}O.mallocFloat32=O.mallocFloat=l;function g(A){return new Float64Array(f(8*A),0,A)}O.mallocFloat64=O.mallocDouble=g;function C(A){return L?new Uint8ClampedArray(f(A),0,A):c(A)}O.mallocUint8Clamped=C;function M(A){return x?new BigUint64Array(f(8*A),0,A):null}O.mallocBigUint64=M;function D(A){return d?new BigInt64Array(f(8*A),0,A):null}O.mallocBigInt64=D;function T(A){return new DataView(f(A),0,A)}O.mallocDataView=T;function P(A){A=p.nextPow2(A);var o=p.log2(A),k=t[o];return k.length>0?k.pop():new a(A)}O.mallocBuffer=P,O.clearCache=function(){for(var o=0;o<32;++o)m.UINT8[o].length=0,m.UINT16[o].length=0,m.UINT32[o].length=0,m.INT8[o].length=0,m.INT16[o].length=0,m.INT32[o].length=0,m.FLOAT[o].length=0,m.DOUBLE[o].length=0,m.BIGUINT64[o].length=0,m.BIGINT64[o].length=0,m.UINT8C[o].length=0,r[o].length=0,t[o].length=0}},90448:function(B){var O=/[\'\"]/;B.exports=function(p){return p?(O.test(p.charAt(0))&&(p=p.substr(1)),O.test(p.charAt(p.length-1))&&(p=p.substr(0,p.length-1)),p):""}},93447:function(B){B.exports=function(e,p,E){Array.isArray(E)||(E=[].slice.call(arguments,2));for(var a=0,L=E.length;a"u"?!1:k.working?k(Se):Se instanceof Map}O.isMap=w;function U(Se){return r(Se)==="[object Set]"}U.working=typeof Set<"u"&&U(new Set);function F(Se){return typeof Set>"u"?!1:U.working?U(Se):Se instanceof Set}O.isSet=F;function G(Se){return r(Se)==="[object WeakMap]"}G.working=typeof WeakMap<"u"&&G(new WeakMap);function _(Se){return typeof WeakMap>"u"?!1:G.working?G(Se):Se instanceof WeakMap}O.isWeakMap=_;function H(Se){return r(Se)==="[object WeakSet]"}H.working=typeof WeakSet<"u"&&H(new WeakSet);function V(Se){return H(Se)}O.isWeakSet=V;function N(Se){return r(Se)==="[object ArrayBuffer]"}N.working=typeof ArrayBuffer<"u"&&N(new ArrayBuffer);function W(Se){return typeof ArrayBuffer>"u"?!1:N.working?N(Se):Se instanceof ArrayBuffer}O.isArrayBuffer=W;function j(Se){return r(Se)==="[object DataView]"}j.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&j(new DataView(new ArrayBuffer(1),0,1));function Q(Se){return typeof DataView>"u"?!1:j.working?j(Se):Se instanceof DataView}O.isDataView=Q;var ie=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function ue(Se){return r(Se)==="[object SharedArrayBuffer]"}function pe(Se){return typeof ie>"u"?!1:(typeof ue.working>"u"&&(ue.working=ue(new ie)),ue.working?ue(Se):Se instanceof ie)}O.isSharedArrayBuffer=pe;function q(Se){return r(Se)==="[object AsyncFunction]"}O.isAsyncFunction=q;function X(Se){return r(Se)==="[object Map Iterator]"}O.isMapIterator=X;function K(Se){return r(Se)==="[object Set Iterator]"}O.isSetIterator=K;function J(Se){return r(Se)==="[object Generator]"}O.isGeneratorObject=J;function re(Se){return r(Se)==="[object WebAssembly.Module]"}O.isWebAssemblyCompiledModule=re;function fe(Se){return u(Se,t)}O.isNumberObject=fe;function te(Se){return u(Se,s)}O.isStringObject=te;function ee(Se){return u(Se,n)}O.isBooleanObject=ee;function ce(Se){return d&&u(Se,f)}O.isBigIntObject=ce;function le(Se){return m&&u(Se,c)}O.isSymbolObject=le;function me(Se){return fe(Se)||te(Se)||ee(Se)||ce(Se)||le(Se)}O.isBoxedPrimitive=me;function we(Se){return typeof Uint8Array<"u"&&(W(Se)||pe(Se))}O.isAnyArrayBuffer=we,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Se){Object.defineProperty(O,Se,{enumerable:!1,value:function(){throw new Error(Se+" is not supported in userland")}})})},43827:function(B,O,e){var p=e(90386),E=Object.getOwnPropertyDescriptors||function(ie){for(var ue=Object.keys(ie),pe={},q=0;q=q)return J;switch(J){case"%s":return String(pe[ue++]);case"%d":return Number(pe[ue++]);case"%j":try{return JSON.stringify(pe[ue++])}catch{return"[Circular]"}default:return J}}),K=pe[ue];ue"u")return function(){return O.deprecate(Q,ie).apply(this,arguments)};var ue=!1;function pe(){if(!ue){if(p.throwDeprecation)throw new Error(ie);p.traceDeprecation?console.trace(ie):console.error(ie),ue=!0}return Q.apply(this,arguments)}return pe};var L={},x=/^$/;if({}.NODE_DEBUG){var d={}.NODE_DEBUG;d=d.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),x=new RegExp("^"+d+"$","i")}O.debuglog=function(Q){if(Q=Q.toUpperCase(),!L[Q])if(x.test(Q)){var ie=p.pid;L[Q]=function(){var ue=O.format.apply(O,arguments);console.error("%s %d: %s",Q,ie,ue)}}else L[Q]=function(){};return L[Q]};function m(Q,ie){var ue={seen:[],stylize:t};return arguments.length>=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),v(ie)?ue.showHidden=ie:ie&&O._extend(ue,ie),T(ue.showHidden)&&(ue.showHidden=!1),T(ue.depth)&&(ue.depth=2),T(ue.colors)&&(ue.colors=!1),T(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=r),n(ue,Q,ue.depth)}O.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function r(Q,ie){var ue=m.styles[ie];return ue?"\x1B["+m.colors[ue][0]+"m"+Q+"\x1B["+m.colors[ue][1]+"m":Q}function t(Q,ie){return Q}function s(Q){var ie={};return Q.forEach(function(ue,pe){ie[ue]=!0}),ie}function n(Q,ie,ue){if(Q.customInspect&&ie&&w(ie.inspect)&&ie.inspect!==O.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var pe=ie.inspect(ue,Q);return M(pe)||(pe=n(Q,pe,ue)),pe}var q=f(Q,ie);if(q)return q;var X=Object.keys(ie),K=s(X);if(Q.showHidden&&(X=Object.getOwnPropertyNames(ie)),k(ie)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return c(ie);if(X.length===0){if(w(ie)){var J=ie.name?": "+ie.name:"";return Q.stylize("[Function"+J+"]","special")}if(P(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(o(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(k(ie))return c(ie)}var re="",fe=!1,te=["{","}"];if(S(ie)&&(fe=!0,te=["[","]"]),w(ie)){var ee=ie.name?": "+ie.name:"";re=" [Function"+ee+"]"}if(P(ie)&&(re=" "+RegExp.prototype.toString.call(ie)),o(ie)&&(re=" "+Date.prototype.toUTCString.call(ie)),k(ie)&&(re=" "+c(ie)),X.length===0&&(!fe||ie.length==0))return te[0]+re+te[1];if(ue<0)return P(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var ce;return fe?ce=u(Q,ie,ue,K,X):ce=X.map(function(le){return b(Q,ie,ue,K,le,fe)}),Q.seen.pop(),h(ce,re,te)}function f(Q,ie){if(T(ie))return Q.stylize("undefined","undefined");if(M(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(C(ie))return Q.stylize(""+ie,"number");if(v(ie))return Q.stylize(""+ie,"boolean");if(l(ie))return Q.stylize("null","null")}function c(Q){return"["+Error.prototype.toString.call(Q)+"]"}function u(Q,ie,ue,pe,q){for(var X=[],K=0,J=ie.length;K-1&&(X?J=J.split(` -`).map(function(fe){return" "+fe}).join(` -`).slice(2):J=` -`+J.split(` -`).map(function(fe){return" "+fe}).join(` -`))):J=Q.stylize("[Circular]","special")),T(K)){if(X&&q.match(/^\d+$/))return J;K=JSON.stringify(""+q),K.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(K=K.slice(1,-1),K=Q.stylize(K,"name")):(K=K.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),K=Q.stylize(K,"string"))}return K+": "+J}function h(Q,ie,ue){var pe=Q.reduce(function(q,X){return X.indexOf(` -`)>=0,q+X.replace(/\u001b\[\d\d?m/g,"").length+1},0);return pe>60?ue[0]+(ie===""?"":ie+` - `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}O.types=e(4936);function S(Q){return Array.isArray(Q)}O.isArray=S;function v(Q){return typeof Q=="boolean"}O.isBoolean=v;function l(Q){return Q===null}O.isNull=l;function g(Q){return Q==null}O.isNullOrUndefined=g;function C(Q){return typeof Q=="number"}O.isNumber=C;function M(Q){return typeof Q=="string"}O.isString=M;function D(Q){return typeof Q=="symbol"}O.isSymbol=D;function T(Q){return Q===void 0}O.isUndefined=T;function P(Q){return A(Q)&&F(Q)==="[object RegExp]"}O.isRegExp=P,O.types.isRegExp=P;function A(Q){return typeof Q=="object"&&Q!==null}O.isObject=A;function o(Q){return A(Q)&&F(Q)==="[object Date]"}O.isDate=o,O.types.isDate=o;function k(Q){return A(Q)&&(F(Q)==="[object Error]"||Q instanceof Error)}O.isError=k,O.types.isNativeError=k;function w(Q){return typeof Q=="function"}O.isFunction=w;function U(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}O.isPrimitive=U,O.isBuffer=e(45920);function F(Q){return Object.prototype.toString.call(Q)}function G(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var Q=new Date,ie=[G(Q.getHours()),G(Q.getMinutes()),G(Q.getSeconds())].join(":");return[Q.getDate(),_[Q.getMonth()],ie].join(" ")}O.log=function(){console.log("%s - %s",H(),O.format.apply(O,arguments))},O.inherits=e(42018),O._extend=function(Q,ie){if(!ie||!A(ie))return Q;for(var ue=Object.keys(ie),pe=ue.length;pe--;)Q[ue[pe]]=ie[ue[pe]];return Q};function V(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}var N=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;O.promisify=function(ie){if(typeof ie!="function")throw new TypeError('The "original" argument must be of type Function');if(N&&ie[N]){var ue=ie[N];if(typeof ue!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ue,N,{value:ue,enumerable:!1,writable:!1,configurable:!0}),ue}function ue(){for(var pe,q,X=new Promise(function(re,fe){pe=re,q=fe}),K=[],J=0;J"u"?e.g:globalThis,r=E(),t=a("String.prototype.slice"),s={},n=Object.getPrototypeOf;d&&L&&n&&p(r,function(u){if(typeof m[u]=="function"){var b=new m[u];if(Symbol.toStringTag in b){var h=n(b),S=L(h,Symbol.toStringTag);if(!S){var v=n(h);S=L(v,Symbol.toStringTag)}s[u]=S.get}}});var f=function(b){var h=!1;return p(s,function(S,v){if(!h)try{var l=S.call(b);l===v&&(h=l)}catch{}}),h},c=e(9187);B.exports=function(b){return c(b)?!d||!(Symbol.toStringTag in b)?t(x(b),8,-1):f(b):!1}},3961:function(B,O,e){var p=e(63489),E=e(56131),a=p.instance();function L(c){this.local=this.regionalOptions[c||""]||this.regionalOptions[""]}L.prototype=new p.baseCalendar,E(L.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(c,u){if(typeof c=="string"){var b=c.match(d);return b?b[0]:""}var h=this._validateYear(c),S=c.month(),v=""+this.toChineseMonth(h,S);return u&&v.length<2&&(v="0"+v),this.isIntercalaryMonth(h,S)&&(v+="i"),v},monthNames:function(c){if(typeof c=="string"){var u=c.match(m);return u?u[0]:""}var b=this._validateYear(c),h=c.month(),S=this.toChineseMonth(b,h),v=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][S-1];return this.isIntercalaryMonth(b,h)&&(v="闰"+v),v},monthNamesShort:function(c){if(typeof c=="string"){var u=c.match(r);return u?u[0]:""}var b=this._validateYear(c),h=c.month(),S=this.toChineseMonth(b,h),v=["一","二","三","四","五","六","七","八","九","十","十一","十二"][S-1];return this.isIntercalaryMonth(b,h)&&(v="闰"+v),v},parseMonth:function(c,u){c=this._validateYear(c);var b=parseInt(u),h;if(isNaN(b))u[0]==="闰"&&(h=!0,u=u.substring(1)),u[u.length-1]==="月"&&(u=u.substring(0,u.length-1)),b=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(u);else{var S=u[u.length-1];h=S==="i"||S==="I"}var v=this.toMonthIndex(c,b,h);return v},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(c,u){if(c.year&&(c=c.year()),typeof c!="number"||c<1888||c>2111)throw u.replace(/\{0\}/,this.local.name);return c},toMonthIndex:function(c,u,b){var h=this.intercalaryMonth(c),S=b&&u!==h;if(S||u<1||u>12)throw p.local.invalidMonth.replace(/\{0\}/,this.local.name);var v;return h?!b&&u<=h?v=u-1:v=u:v=u-1,v},toChineseMonth:function(c,u){c.year&&(c=c.year(),u=c.month());var b=this.intercalaryMonth(c),h=b?12:11;if(u<0||u>h)throw p.local.invalidMonth.replace(/\{0\}/,this.local.name);var S;return b?u>13;return b},isIntercalaryMonth:function(c,u){c.year&&(c=c.year(),u=c.month());var b=this.intercalaryMonth(c);return!!b&&b===u},leapYear:function(c){return this.intercalaryMonth(c)!==0},weekOfYear:function(c,u,b){var h=this._validateYear(c,p.local.invalidyear),S=s[h-s[0]],v=S>>9&4095,l=S>>5&15,g=S&31,C;C=a.newDate(v,l,g),C.add(4-(C.dayOfWeek()||7),"d");var M=this.toJD(c,u,b)-C.toJD();return 1+Math.floor(M/7)},monthsInYear:function(c){return this.leapYear(c)?13:12},daysInMonth:function(c,u){c.year&&(u=c.month(),c=c.year()),c=this._validateYear(c);var b=t[c-t[0]],h=b>>13,S=h?12:11;if(u>S)throw p.local.invalidMonth.replace(/\{0\}/,this.local.name);var v=b&1<<12-u?30:29;return v},weekDay:function(c,u,b){return(this.dayOfWeek(c,u,b)||7)<6},toJD:function(c,u,b){var h=this._validate(c,v,b,p.local.invalidDate);c=this._validateYear(h.year()),u=h.month(),b=h.day();var S=this.isIntercalaryMonth(c,u),v=this.toChineseMonth(c,u),l=f(c,v,b,S);return a.toJD(l.year,l.month,l.day)},fromJD:function(c){var u=a.fromJD(c),b=n(u.year(),u.month(),u.day()),h=this.toMonthIndex(b.year,b.month,b.isIntercalary);return this.newDate(b.year,h,b.day)},fromString:function(c){var u=c.match(x),b=this._validateYear(+u[1]),h=+u[2],S=!!u[3],v=this.toMonthIndex(b,h,S),l=+u[4];return this.newDate(b,v,l)},add:function(c,u,b){var h=c.year(),S=c.month(),v=this.isIntercalaryMonth(h,S),l=this.toChineseMonth(h,S),g=Object.getPrototypeOf(L.prototype).add.call(this,c,u,b);if(b==="y"){var C=g.year(),M=g.month(),D=this.isIntercalaryMonth(C,l),T=v&&D?this.toMonthIndex(C,l,!0):this.toMonthIndex(C,l,!1);T!==M&&g.month(T)}return g}});var x=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,d=/^\d?\d[iI]?/m,m=/^闰?十?[一二三四五六七八九]?月/m,r=/^闰?十?[一二三四五六七八九]?/m;p.calendars.chinese=L;var t=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],s=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function n(c,u,b,h){var S,v;if(typeof c=="object")S=c,v=u||{};else{var l=typeof c=="number"&&c>=1888&&c<=2111;if(!l)throw new Error("Solar year outside range 1888-2111");var g=typeof u=="number"&&u>=1&&u<=12;if(!g)throw new Error("Solar month outside range 1 - 12");var C=typeof b=="number"&&b>=1&&b<=31;if(!C)throw new Error("Solar day outside range 1 - 31");S={year:c,month:u,day:b},v=h||{}}var M=s[S.year-s[0]],D=S.year<<9|S.month<<5|S.day;v.year=D>=M?S.year:S.year-1,M=s[v.year-s[0]];var T=M>>9&4095,P=M>>5&15,A=M&31,o,k=new Date(T,P-1,A),w=new Date(S.year,S.month-1,S.day);o=Math.round((w-k)/864e5);var U=t[v.year-t[0]],F;for(F=0;F<13;F++){var G=U&1<<12-F?30:29;if(o>13;return!_||F<_?(v.isIntercalary=!1,v.month=1+F):F===_?(v.isIntercalary=!0,v.month=F):(v.isIntercalary=!1,v.month=F),v.day=1+o,v}function f(c,u,b,h,S){var v,l;if(typeof c=="object")l=c,v=u||{};else{var g=typeof c=="number"&&c>=1888&&c<=2111;if(!g)throw new Error("Lunar year outside range 1888-2111");var C=typeof u=="number"&&u>=1&&u<=12;if(!C)throw new Error("Lunar month outside range 1 - 12");var M=typeof b=="number"&&b>=1&&b<=30;if(!M)throw new Error("Lunar day outside range 1 - 30");var D;typeof h=="object"?(D=!1,v=h):(D=!!h,v=S||{}),l={year:c,month:u,day:b,isIntercalary:D}}var T;T=l.day-1;var P=t[l.year-t[0]],A=P>>13,o;A&&(l.month>A||l.isIntercalary)?o=l.month:o=l.month-1;for(var k=0;k>9&4095,G=U>>5&15,_=U&31,H=new Date(F,G-1,_+T);return v.year=H.getFullYear(),v.month=1+H.getMonth(),v.day=H.getDate(),v}},38751:function(B,O,e){var p=e(63489),E=e(56131);function a(L){this.local=this.regionalOptions[L||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(d){var x=this._validate(d,this.minMonth,this.minDay,p.local.invalidYear),d=x.year()+(x.year()<0?1:0);return d%4===3||d%4===-1},monthsInYear:function(L){return this._validate(L,this.minMonth,this.minDay,p.local.invalidYear||p.regionalOptions[""].invalidYear),13},weekOfYear:function(L,x,d){var m=this.newDate(L,x,d);return m.add(-m.dayOfWeek(),"d"),Math.floor((m.dayOfYear()-1)/7)+1},daysInMonth:function(L,x){var d=this._validate(L,x,this.minDay,p.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===13&&this.leapYear(d.year())?1:0)},weekDay:function(L,x,d){return(this.dayOfWeek(L,x,d)||7)<6},toJD:function(L,x,d){var m=this._validate(L,x,d,p.local.invalidDate);return L=m.year(),L<0&&L++,m.day()+(m.month()-1)*30+(L-1)*365+Math.floor(L/4)+this.jdEpoch-1},fromJD:function(L){var x=Math.floor(L)+.5-this.jdEpoch,d=Math.floor((x-Math.floor((x+366)/1461))/365)+1;d<=0&&d--,x=Math.floor(L)+.5-this.newDate(d,1,1).toJD();var m=Math.floor(x/30)+1,r=x-(m-1)*30+1;return this.newDate(d,m,r)}}),p.calendars.coptic=a},86825:function(B,O,e){var p=e(63489),E=e(56131);function a(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(x){return this._validate(x,this.minMonth,this.minDay,p.local.invalidYear),!1},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,p.local.invalidYear),13},daysInYear:function(x){return this._validate(x,this.minMonth,this.minDay,p.local.invalidYear),400},weekOfYear:function(x,d,m){var r=this.newDate(x,d,m);return r.add(-r.dayOfWeek(),"d"),Math.floor((r.dayOfYear()-1)/8)+1},daysInMonth:function(x,d){var m=this._validate(x,d,this.minDay,p.local.invalidMonth);return this.daysPerMonth[m.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate);return(r.day()+1)%8},weekDay:function(x,d,m){var r=this.dayOfWeek(x,d,m);return r>=2&&r<=6},extraInfo:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate);return{century:L[Math.floor((r.year()-1)/100)+1]||""}},toJD:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate);return x=r.year()+(r.year()<0?1:0),d=r.month(),m=r.day(),m+(d>1?16:0)+(d>2?(d-2)*32:0)+(x-1)*400+this.jdEpoch-1},fromJD:function(x){x=Math.floor(x+.5)-Math.floor(this.jdEpoch)-1;var d=Math.floor(x/400)+1;x-=(d-1)*400,x+=x>15?16:0;var m=Math.floor(x/32)+1,r=x-(m-1)*32+1;return this.newDate(d<=0?d-1:d,m,r)}});var L={20:"Fruitbat",21:"Anchovy"};p.calendars.discworld=a},37715:function(B,O,e){var p=e(63489),E=e(56131);function a(L){this.local=this.regionalOptions[L||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(d){var x=this._validate(d,this.minMonth,this.minDay,p.local.invalidYear),d=x.year()+(x.year()<0?1:0);return d%4===3||d%4===-1},monthsInYear:function(L){return this._validate(L,this.minMonth,this.minDay,p.local.invalidYear||p.regionalOptions[""].invalidYear),13},weekOfYear:function(L,x,d){var m=this.newDate(L,x,d);return m.add(-m.dayOfWeek(),"d"),Math.floor((m.dayOfYear()-1)/7)+1},daysInMonth:function(L,x){var d=this._validate(L,x,this.minDay,p.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===13&&this.leapYear(d.year())?1:0)},weekDay:function(L,x,d){return(this.dayOfWeek(L,x,d)||7)<6},toJD:function(L,x,d){var m=this._validate(L,x,d,p.local.invalidDate);return L=m.year(),L<0&&L++,m.day()+(m.month()-1)*30+(L-1)*365+Math.floor(L/4)+this.jdEpoch-1},fromJD:function(L){var x=Math.floor(L)+.5-this.jdEpoch,d=Math.floor((x-Math.floor((x+366)/1461))/365)+1;d<=0&&d--,x=Math.floor(L)+.5-this.newDate(d,1,1).toJD();var m=Math.floor(x/30)+1,r=x-(m-1)*30+1;return this.newDate(d,m,r)}}),p.calendars.ethiopian=a},99384:function(B,O,e){var p=e(63489),E=e(56131);function a(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(x){var d=this._validate(x,this.minMonth,this.minDay,p.local.invalidYear);return this._leapYear(d.year())},_leapYear:function(x){return x=x<0?x+1:x,L(x*7+1,19)<7},monthsInYear:function(x){return this._validate(x,this.minMonth,this.minDay,p.local.invalidYear),this._leapYear(x.year?x.year():x)?13:12},weekOfYear:function(x,d,m){var r=this.newDate(x,d,m);return r.add(-r.dayOfWeek(),"d"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(x){var d=this._validate(x,this.minMonth,this.minDay,p.local.invalidYear);return x=d.year(),this.toJD(x===-1?1:x+1,7,1)-this.toJD(x,7,1)},daysInMonth:function(x,d){return x.year&&(d=x.month(),x=x.year()),this._validate(x,d,this.minDay,p.local.invalidMonth),d===12&&this.leapYear(x)||d===8&&L(this.daysInYear(x),10)===5?30:d===9&&L(this.daysInYear(x),10)===3?29:this.daysPerMonth[d-1]},weekDay:function(x,d,m){return this.dayOfWeek(x,d,m)!==6},extraInfo:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate);return{yearType:(this.leapYear(r)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(r)%10-3]}},toJD:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate);x=r.year(),d=r.month(),m=r.day();var t=x<=0?x+1:x,s=this.jdEpoch+this._delay1(t)+this._delay2(t)+m+1;if(d<7){for(var n=7;n<=this.monthsInYear(x);n++)s+=this.daysInMonth(x,n);for(var n=1;n=this.toJD(d===-1?1:d+1,7,1);)d++;for(var m=xthis.toJD(d,m,this.daysInMonth(d,m));)m++;var r=x-this.toJD(d,m,1)+1;return this.newDate(d,m,r)}});function L(x,d){return x-d*Math.floor(x/d)}p.calendars.hebrew=a},43805:function(B,O,e){var p=e(63489),E=e(56131);function a(L){this.local=this.regionalOptions[L||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(L){var x=this._validate(L,this.minMonth,this.minDay,p.local.invalidYear);return(x.year()*11+14)%30<11},weekOfYear:function(L,x,d){var m=this.newDate(L,x,d);return m.add(-m.dayOfWeek(),"d"),Math.floor((m.dayOfYear()-1)/7)+1},daysInYear:function(L){return this.leapYear(L)?355:354},daysInMonth:function(L,x){var d=this._validate(L,x,this.minDay,p.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===12&&this.leapYear(d.year())?1:0)},weekDay:function(L,x,d){return this.dayOfWeek(L,x,d)!==5},toJD:function(L,x,d){var m=this._validate(L,x,d,p.local.invalidDate);return L=m.year(),x=m.month(),d=m.day(),L=L<=0?L+1:L,d+Math.ceil(29.5*(x-1))+(L-1)*354+Math.floor((3+11*L)/30)+this.jdEpoch-1},fromJD:function(L){L=Math.floor(L)+.5;var x=Math.floor((30*(L-this.jdEpoch)+10646)/10631);x=x<=0?x-1:x;var d=Math.min(12,Math.ceil((L-29-this.toJD(x,1,1))/29.5)+1),m=L-this.toJD(x,d,1)+1;return this.newDate(x,d,m)}}),p.calendars.islamic=a},88874:function(B,O,e){var p=e(63489),E=e(56131);function a(L){this.local=this.regionalOptions[L||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(d){var x=this._validate(d,this.minMonth,this.minDay,p.local.invalidYear),d=x.year()<0?x.year()+1:x.year();return d%4===0},weekOfYear:function(L,x,d){var m=this.newDate(L,x,d);return m.add(4-(m.dayOfWeek()||7),"d"),Math.floor((m.dayOfYear()-1)/7)+1},daysInMonth:function(L,x){var d=this._validate(L,x,this.minDay,p.local.invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===2&&this.leapYear(d.year())?1:0)},weekDay:function(L,x,d){return(this.dayOfWeek(L,x,d)||7)<6},toJD:function(L,x,d){var m=this._validate(L,x,d,p.local.invalidDate);return L=m.year(),x=m.month(),d=m.day(),L<0&&L++,x<=2&&(L--,x+=12),Math.floor(365.25*(L+4716))+Math.floor(30.6001*(x+1))+d-1524.5},fromJD:function(L){var x=Math.floor(L+.5),d=x+1524,m=Math.floor((d-122.1)/365.25),r=Math.floor(365.25*m),t=Math.floor((d-r)/30.6001),s=t-Math.floor(t<14?1:13),n=m-Math.floor(s>2?4716:4715),f=d-r-Math.floor(30.6001*t);return n<=0&&n--,this.newDate(n,s,f)}}),p.calendars.julian=a},83290:function(B,O,e){var p=e(63489),E=e(56131);function a(d){this.local=this.regionalOptions[d||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(d){return this._validate(d,this.minMonth,this.minDay,p.local.invalidYear),!1},formatYear:function(d){var m=this._validate(d,this.minMonth,this.minDay,p.local.invalidYear);d=m.year();var r=Math.floor(d/400);d=d%400,d+=d<0?400:0;var t=Math.floor(d/20);return r+"."+t+"."+d%20},forYear:function(d){if(d=d.split("."),d.length<3)throw"Invalid Mayan year";for(var m=0,r=0;r19||r>0&&t<0)throw"Invalid Mayan year";m=m*20+t}return m},monthsInYear:function(d){return this._validate(d,this.minMonth,this.minDay,p.local.invalidYear),18},weekOfYear:function(d,m,r){return this._validate(d,m,r,p.local.invalidDate),0},daysInYear:function(d){return this._validate(d,this.minMonth,this.minDay,p.local.invalidYear),360},daysInMonth:function(d,m){return this._validate(d,m,this.minDay,p.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(d,m,r){var t=this._validate(d,m,r,p.local.invalidDate);return t.day()},weekDay:function(d,m,r){return this._validate(d,m,r,p.local.invalidDate),!0},extraInfo:function(d,m,r){var t=this._validate(d,m,r,p.local.invalidDate),s=t.toJD(),n=this._toHaab(s),f=this._toTzolkin(s);return{haabMonthName:this.local.haabMonths[n[0]-1],haabMonth:n[0],haabDay:n[1],tzolkinDayName:this.local.tzolkinMonths[f[0]-1],tzolkinDay:f[0],tzolkinTrecena:f[1]}},_toHaab:function(d){d-=this.jdEpoch;var m=L(d+8+(18-1)*20,365);return[Math.floor(m/20)+1,L(m,20)]},_toTzolkin:function(d){return d-=this.jdEpoch,[x(d+20,20),x(d+4,13)]},toJD:function(d,m,r){var t=this._validate(d,m,r,p.local.invalidDate);return t.day()+t.month()*20+t.year()*360+this.jdEpoch},fromJD:function(d){d=Math.floor(d)+.5-this.jdEpoch;var m=Math.floor(d/360);d=d%360,d+=d<0?360:0;var r=Math.floor(d/20),t=d%20;return this.newDate(m,r,t)}});function L(d,m){return d-m*Math.floor(d/m)}function x(d,m){return L(d-1,m)+1}p.calendars.mayan=a},29108:function(B,O,e){var p=e(63489),E=e(56131);function a(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar;var L=p.instance("gregorian");E(a.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(x){var d=this._validate(x,this.minMonth,this.minDay,p.local.invalidYear||p.regionalOptions[""].invalidYear);return L.leapYear(d.year()+(d.year()<1?1:0)+1469)},weekOfYear:function(x,d,m){var r=this.newDate(x,d,m);return r.add(1-(r.dayOfWeek()||7),"d"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(x,d){var m=this._validate(x,d,this.minDay,p.local.invalidMonth);return this.daysPerMonth[m.month()-1]+(m.month()===12&&this.leapYear(m.year())?1:0)},weekDay:function(x,d,m){return(this.dayOfWeek(x,d,m)||7)<6},toJD:function(t,d,m){var r=this._validate(t,d,m,p.local.invalidMonth),t=r.year();t<0&&t++;for(var s=r.day(),n=1;n=this.toJD(d+1,1,1);)d++;for(var m=x-Math.floor(this.toJD(d,1,1)+.5)+1,r=1;m>this.daysInMonth(d,r);)m-=this.daysInMonth(d,r),r++;return this.newDate(d,r,m)}}),p.calendars.nanakshahi=a},55422:function(B,O,e){var p=e(63489),E=e(56131);function a(L){this.local=this.regionalOptions[L||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(L){return this.daysInYear(L)!==this.daysPerYear},weekOfYear:function(L,x,d){var m=this.newDate(L,x,d);return m.add(-m.dayOfWeek(),"d"),Math.floor((m.dayOfYear()-1)/7)+1},daysInYear:function(L){var x=this._validate(L,this.minMonth,this.minDay,p.local.invalidYear);if(L=x.year(),typeof this.NEPALI_CALENDAR_DATA[L]>"u")return this.daysPerYear;for(var d=0,m=this.minMonth;m<=12;m++)d+=this.NEPALI_CALENDAR_DATA[L][m];return d},daysInMonth:function(L,x){return L.year&&(x=L.month(),L=L.year()),this._validate(L,x,this.minDay,p.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[L]>"u"?this.daysPerMonth[x-1]:this.NEPALI_CALENDAR_DATA[L][x]},weekDay:function(L,x,d){return this.dayOfWeek(L,x,d)!==6},toJD:function(L,x,d){var m=this._validate(L,x,d,p.local.invalidDate);L=m.year(),x=m.month(),d=m.day();var r=p.instance(),t=0,s=x,n=L;this._createMissingCalendarData(L);var f=L-(s>9||s===9&&d>=this.NEPALI_CALENDAR_DATA[n][0]?56:57);for(x!==9&&(t=d,s--);s!==9;)s<=0&&(s=12,n--),t+=this.NEPALI_CALENDAR_DATA[n][s],s--;return x===9?(t+=d-this.NEPALI_CALENDAR_DATA[n][0],t<0&&(t+=r.daysInYear(f))):t+=this.NEPALI_CALENDAR_DATA[n][9]-this.NEPALI_CALENDAR_DATA[n][0],r.newDate(f,1,1).add(t,"d").toJD()},fromJD:function(L){var x=p.instance(),d=x.fromJD(L),m=d.year(),r=d.dayOfYear(),t=m+56;this._createMissingCalendarData(t);for(var s=9,n=this.NEPALI_CALENDAR_DATA[t][0],f=this.NEPALI_CALENDAR_DATA[t][s]-n+1;r>f;)s++,s>12&&(s=1,t++),f+=this.NEPALI_CALENDAR_DATA[t][s];var c=this.NEPALI_CALENDAR_DATA[t][s]-(f-r);return this.newDate(t,s,c)},_createMissingCalendarData:function(L){var x=this.daysPerMonth.slice(0);x.unshift(17);for(var d=L-1;d"u"&&(this.NEPALI_CALENDAR_DATA[d]=x)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),p.calendars.nepali=a},94320:function(B,O,e){var p=e(63489),E=e(56131);function a(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(x){var d=this._validate(x,this.minMonth,this.minDay,p.local.invalidYear);return((d.year()-(d.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(x,d,m){var r=this.newDate(x,d,m);return r.add(-((r.dayOfWeek()+1)%7),"d"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(x,d){var m=this._validate(x,d,this.minDay,p.local.invalidMonth);return this.daysPerMonth[m.month()-1]+(m.month()===12&&this.leapYear(m.year())?1:0)},weekDay:function(x,d,m){return this.dayOfWeek(x,d,m)!==5},toJD:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate);x=r.year(),d=r.month(),m=r.day();var t=x-(x>=0?474:473),s=474+L(t,2820);return m+(d<=7?(d-1)*31:(d-1)*30+6)+Math.floor((s*682-110)/2816)+(s-1)*365+Math.floor(t/2820)*1029983+this.jdEpoch-1},fromJD:function(x){x=Math.floor(x)+.5;var d=x-this.toJD(475,1,1),m=Math.floor(d/1029983),r=L(d,1029983),t=2820;if(r!==1029982){var s=Math.floor(r/366),n=L(r,366);t=Math.floor((2134*s+2816*n+2815)/1028522)+s+1}var f=t+2820*m+474;f=f<=0?f-1:f;var c=x-this.toJD(f,1,1)+1,u=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),b=x-this.toJD(f,u,1)+1;return this.newDate(f,u,b)}});function L(x,d){return x-d*Math.floor(x/d)}p.calendars.persian=a,p.calendars.jalali=a},31320:function(B,O,e){var p=e(63489),E=e(56131),a=p.instance();function L(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}L.prototype=new p.baseCalendar,E(L.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(m){var d=this._validate(m,this.minMonth,this.minDay,p.local.invalidYear),m=this._t2gYear(d.year());return a.leapYear(m)},weekOfYear:function(t,d,m){var r=this._validate(t,this.minMonth,this.minDay,p.local.invalidYear),t=this._t2gYear(r.year());return a.weekOfYear(t,r.month(),r.day())},daysInMonth:function(x,d){var m=this._validate(x,d,this.minDay,p.local.invalidMonth);return this.daysPerMonth[m.month()-1]+(m.month()===2&&this.leapYear(m.year())?1:0)},weekDay:function(x,d,m){return(this.dayOfWeek(x,d,m)||7)<6},toJD:function(t,d,m){var r=this._validate(t,d,m,p.local.invalidDate),t=this._t2gYear(r.year());return a.toJD(t,r.month(),r.day())},fromJD:function(x){var d=a.fromJD(x),m=this._g2tYear(d.year());return this.newDate(m,d.month(),d.day())},_t2gYear:function(x){return x+this.yearsOffset+(x>=-this.yearsOffset&&x<=-1?1:0)},_g2tYear:function(x){return x-this.yearsOffset-(x>=1&&x<=this.yearsOffset?1:0)}}),p.calendars.taiwan=L},51367:function(B,O,e){var p=e(63489),E=e(56131),a=p.instance();function L(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}L.prototype=new p.baseCalendar,E(L.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(m){var d=this._validate(m,this.minMonth,this.minDay,p.local.invalidYear),m=this._t2gYear(d.year());return a.leapYear(m)},weekOfYear:function(t,d,m){var r=this._validate(t,this.minMonth,this.minDay,p.local.invalidYear),t=this._t2gYear(r.year());return a.weekOfYear(t,r.month(),r.day())},daysInMonth:function(x,d){var m=this._validate(x,d,this.minDay,p.local.invalidMonth);return this.daysPerMonth[m.month()-1]+(m.month()===2&&this.leapYear(m.year())?1:0)},weekDay:function(x,d,m){return(this.dayOfWeek(x,d,m)||7)<6},toJD:function(t,d,m){var r=this._validate(t,d,m,p.local.invalidDate),t=this._t2gYear(r.year());return a.toJD(t,r.month(),r.day())},fromJD:function(x){var d=a.fromJD(x),m=this._g2tYear(d.year());return this.newDate(m,d.month(),d.day())},_t2gYear:function(x){return x-this.yearsOffset-(x>=1&&x<=this.yearsOffset?1:0)},_g2tYear:function(x){return x+this.yearsOffset+(x>=-this.yearsOffset&&x<=-1?1:0)}}),p.calendars.thai=L},21457:function(B,O,e){var p=e(63489),E=e(56131);function a(x){this.local=this.regionalOptions[x||""]||this.regionalOptions[""]}a.prototype=new p.baseCalendar,E(a.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(x){var d=this._validate(x,this.minMonth,this.minDay,p.local.invalidYear);return this.daysInYear(d.year())===355},weekOfYear:function(x,d,m){var r=this.newDate(x,d,m);return r.add(-r.dayOfWeek(),"d"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(x){for(var d=0,m=1;m<=12;m++)d+=this.daysInMonth(x,m);return d},daysInMonth:function(x,d){for(var m=this._validate(x,d,this.minDay,p.local.invalidMonth),r=m.toJD()-24e5+.5,t=0,s=0;sr)return L[t]-L[t-1];t++}return 30},weekDay:function(x,d,m){return this.dayOfWeek(x,d,m)!==5},toJD:function(x,d,m){var r=this._validate(x,d,m,p.local.invalidDate),t=12*(r.year()-1)+r.month()-15292,s=r.day()+L[t-1]-1;return s+24e5-.5},fromJD:function(x){for(var d=x-24e5+.5,m=0,r=0;rd);r++)m++;var t=m+15292,s=Math.floor((t-1)/12),n=s+1,f=t-12*s,c=d-L[m-1]+1;return this.newDate(n,f,c)},isValid:function(x,d,m){var r=p.baseCalendar.prototype.isValid.apply(this,arguments);return r&&(x=x.year!=null?x.year:x,r=x>=1276&&x<=1500),r},_validate:function(x,d,m,r){var t=p.baseCalendar.prototype._validate.apply(this,arguments);if(t.year<1276||t.year>1500)throw r.replace(/\{0\}/,this.local.name);return t}}),p.calendars.ummalqura=a;var L=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(B,O,e){var p=e(56131);function E(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}p(E.prototype,{instance:function(r,t){r=(r||"gregorian").toLowerCase(),t=t||"";var s=this._localCals[r+"-"+t];if(!s&&this.calendars[r]&&(s=new this.calendars[r](t),this._localCals[r+"-"+t]=s),!s)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,r);return s},newDate:function(r,t,s,n,f){return n=(r!=null&&r.year?r.calendar():typeof n=="string"?this.instance(n,f):n)||this.instance(),n.newDate(r,t,s)},substituteDigits:function(r){return function(t){return(t+"").replace(/[0-9]/g,function(s){return r[s]})}},substituteChineseDigits:function(r,t){return function(s){for(var n="",f=0;s>0;){var c=s%10;n=(c===0?"":r[c]+t[f])+n,f++,s=Math.floor(s/10)}return n.indexOf(r[1]+t[1])===0&&(n=n.substr(1)),n||r[0]}}});function a(r,t,s,n){if(this._calendar=r,this._year=t,this._month=s,this._day=n,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(m.local.invalidDate||m.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function L(r,t){return r=""+r,"000000".substring(0,t-r.length)+r}p(a.prototype,{newDate:function(r,t,s){return this._calendar.newDate(r??this,t,s)},year:function(r){return arguments.length===0?this._year:this.set(r,"y")},month:function(r){return arguments.length===0?this._month:this.set(r,"m")},day:function(r){return arguments.length===0?this._day:this.set(r,"d")},date:function(r,t,s){if(!this._calendar.isValid(r,t,s))throw(m.local.invalidDate||m.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=r,this._month=t,this._day=s,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(r,t){return this._calendar.add(this,r,t)},set:function(r,t){return this._calendar.set(this,r,t)},compareTo:function(r){if(this._calendar.name!==r._calendar.name)throw(m.local.differentCalendars||m.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,r._calendar.local.name);var t=this._year!==r._year?this._year-r._year:this._month!==r._month?this.monthOfYear()-r.monthOfYear():this._day-r._day;return t===0?0:t<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(r){return this._calendar.fromJD(r)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(r){return this._calendar.fromJSDate(r)},toString:function(){return(this.year()<0?"-":"")+L(Math.abs(this.year()),4)+"-"+L(this.month(),2)+"-"+L(this.day(),2)}});function x(){this.shortYearCutoff="+10"}p(x.prototype,{_validateLevel:0,newDate:function(r,t,s){return r==null?this.today():(r.year&&(this._validate(r,t,s,m.local.invalidDate||m.regionalOptions[""].invalidDate),s=r.day(),t=r.month(),r=r.year()),new a(this,r,t,s))},today:function(){return this.fromJSDate(new Date)},epoch:function(r){var t=this._validate(r,this.minMonth,this.minDay,m.local.invalidYear||m.regionalOptions[""].invalidYear);return t.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(r){var t=this._validate(r,this.minMonth,this.minDay,m.local.invalidYear||m.regionalOptions[""].invalidYear);return(t.year()<0?"-":"")+L(Math.abs(t.year()),4)},monthsInYear:function(r){return this._validate(r,this.minMonth,this.minDay,m.local.invalidYear||m.regionalOptions[""].invalidYear),12},monthOfYear:function(r,t){var s=this._validate(r,t,this.minDay,m.local.invalidMonth||m.regionalOptions[""].invalidMonth);return(s.month()+this.monthsInYear(s)-this.firstMonth)%this.monthsInYear(s)+this.minMonth},fromMonthOfYear:function(r,t){var s=(t+this.firstMonth-2*this.minMonth)%this.monthsInYear(r)+this.minMonth;return this._validate(r,s,this.minDay,m.local.invalidMonth||m.regionalOptions[""].invalidMonth),s},daysInYear:function(r){var t=this._validate(r,this.minMonth,this.minDay,m.local.invalidYear||m.regionalOptions[""].invalidYear);return this.leapYear(t)?366:365},dayOfYear:function(r,t,s){var n=this._validate(r,t,s,m.local.invalidDate||m.regionalOptions[""].invalidDate);return n.toJD()-this.newDate(n.year(),this.fromMonthOfYear(n.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(r,t,s){var n=this._validate(r,t,s,m.local.invalidDate||m.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(n))+2)%this.daysInWeek()},extraInfo:function(r,t,s){return this._validate(r,t,s,m.local.invalidDate||m.regionalOptions[""].invalidDate),{}},add:function(r,t,s){return this._validate(r,this.minMonth,this.minDay,m.local.invalidDate||m.regionalOptions[""].invalidDate),this._correctAdd(r,this._add(r,t,s),t,s)},_add:function(r,t,s){if(this._validateLevel++,s==="d"||s==="w"){var n=r.toJD()+t*(s==="w"?this.daysInWeek():1),f=r.calendar().fromJD(n);return this._validateLevel--,[f.year(),f.month(),f.day()]}try{var c=r.year()+(s==="y"?t:0),u=r.monthOfYear()+(s==="m"?t:0),f=r.day(),b=function(v){for(;ul-1+v.minMonth;)c++,u-=l,l=v.monthsInYear(c)};s==="y"?(r.month()!==this.fromMonthOfYear(c,u)&&(u=this.newDate(c,r.month(),this.minDay).monthOfYear()),u=Math.min(u,this.monthsInYear(c)),f=Math.min(f,this.daysInMonth(c,this.fromMonthOfYear(c,u)))):s==="m"&&(b(this),f=Math.min(f,this.daysInMonth(c,this.fromMonthOfYear(c,u))));var h=[c,this.fromMonthOfYear(c,u),f];return this._validateLevel--,h}catch(S){throw this._validateLevel--,S}},_correctAdd:function(r,t,s,n){if(!this.hasYearZero&&(n==="y"||n==="m")&&(t[0]===0||r.year()>0!=t[0]>0)){var f={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[n],c=s<0?-1:1;t=this._add(r,s*f[0]+c*f[1],f[2])}return r.date(t[0],t[1],t[2])},set:function(r,t,s){this._validate(r,this.minMonth,this.minDay,m.local.invalidDate||m.regionalOptions[""].invalidDate);var n=s==="y"?t:r.year(),f=s==="m"?t:r.month(),c=s==="d"?t:r.day();return(s==="y"||s==="m")&&(c=Math.min(c,this.daysInMonth(n,f))),r.date(n,f,c)},isValid:function(r,t,s){this._validateLevel++;var n=this.hasYearZero||r!==0;if(n){var f=this.newDate(r,t,this.minDay);n=t>=this.minMonth&&t-this.minMonth=this.minDay&&s-this.minDay13.5?13:1),S=f-(h>2.5?4716:4715);return S<=0&&S--,this.newDate(S,h,b)},toJSDate:function(r,t,s){var n=this._validate(r,t,s,m.local.invalidDate||m.regionalOptions[""].invalidDate),f=new Date(n.year(),n.month()-1,n.day());return f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0),f.setHours(f.getHours()>12?f.getHours()+2:0),f},fromJSDate:function(r){return this.newDate(r.getFullYear(),r.getMonth()+1,r.getDate())}});var m=B.exports=new E;m.cdate=a,m.baseCalendar=x,m.calendars.gregorian=d},94338:function(B,O,e){var p=e(56131),E=e(63489);p(E.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),E.local=E.regionalOptions[""],p(E.cdate.prototype,{formatDate:function(a,L){return typeof a!="string"&&(L=a,a=""),this._calendar.formatDate(a||"",this,L)}}),p(E.baseCalendar.prototype,{UNIX_EPOCH:E.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:E.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(a,L,x){if(typeof a!="string"&&(x=L,L=a,a=""),!L)return"";if(L.calendar()!==this)throw E.local.invalidFormat||E.regionalOptions[""].invalidFormat;a=a||this.local.dateFormat,x=x||{};var d=x.dayNamesShort||this.local.dayNamesShort,m=x.dayNames||this.local.dayNames,r=x.monthNumbers||this.local.monthNumbers,t=x.monthNamesShort||this.local.monthNamesShort,s=x.monthNames||this.local.monthNames;x.calculateWeek||this.local.calculateWeek;for(var n=function(M,D){for(var T=1;C+T1},f=function(M,D,T,P){var A=""+D;if(n(M,P))for(;A.length1},C=function(F,G){var _=g(F,G),H=[2,3,_?4:2,_?4:2,10,11,20]["oyYJ@!".indexOf(F)+1],V=new RegExp("^-?\\d{1,"+H+"}"),N=L.substring(o).match(V);if(!N)throw(E.local.missingNumberAt||E.regionalOptions[""].missingNumberAt).replace(/\{0\}/,o);return o+=N[0].length,parseInt(N[0],10)},M=this,D=function(){if(typeof s=="function"){g("m");var F=s.call(M,L.substring(o));return o+=F.length,F}return C("m")},T=function(F,G,_,H){for(var V=g(F,H)?_:G,N=0;N-1){b=1,h=S;for(var U=this.daysInMonth(u,b);h>U;U=this.daysInMonth(u,b))b++,h-=U}return c>-1?this.fromJD(c):this.newDate(u,b,h)},determineDate:function(a,L,x,d,m){x&&typeof x!="object"&&(m=d,d=x,x=null),typeof d!="string"&&(m=d,d="");var r=this,t=function(s){try{return r.parseDate(d,s,m)}catch{}s=s.toLowerCase();for(var n=(s.match(/^c/)&&x?x.newDate():null)||r.today(),f=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=f.exec(s);c;)n.add(parseInt(c[1],10),c[2]||"d"),c=f.exec(s);return n};return L=L?L.newDate():null,a=a==null?L:typeof a=="string"?t(a):typeof a=="number"?isNaN(a)||a===1/0||a===-1/0?L:r.today().add(a,"d"):r.newDate(a),a}})},69862:function(){},40964:function(){},72077:function(B,O,e){var p=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],E=typeof globalThis>"u"?e.g:globalThis;B.exports=function(){for(var L=[],x=0;x>8&15|Re>>4&240,Re>>4&15|Re&240,(Re&15)<<4|Re&15,1):Xe===8?D(Re>>24&255,Re>>16&255,Re>>8&255,(Re&255)/255):Xe===4?D(Re>>12&15|Re>>8&240,Re>>8&15|Re>>4&240,Re>>4&15|Re&240,((Re&15)<<4|Re&15)/255):null):(Re=s.exec(Te))?new A(Re[1],Re[2],Re[3],1):(Re=n.exec(Te))?new A(Re[1]*255/100,Re[2]*255/100,Re[3]*255/100,1):(Re=f.exec(Te))?D(Re[1],Re[2],Re[3],Re[4]):(Re=c.exec(Te))?D(Re[1]*255/100,Re[2]*255/100,Re[3]*255/100,Re[4]):(Re=u.exec(Te))?_(Re[1],Re[2]/100,Re[3]/100,1):(Re=b.exec(Te))?_(Re[1],Re[2]/100,Re[3]/100,Re[4]):h.hasOwnProperty(Te)?M(h[Te]):Te==="transparent"?new A(NaN,NaN,NaN,0):null}function M(Te){return new A(Te>>16&255,Te>>8&255,Te&255,1)}function D(Te,Re,Xe,Je){return Je<=0&&(Te=Re=Xe=NaN),new A(Te,Re,Xe,Je)}function T(Te){return Te instanceof a||(Te=C(Te)),Te?(Te=Te.rgb(),new A(Te.r,Te.g,Te.b,Te.opacity)):new A}function P(Te,Re,Xe,Je){return arguments.length===1?T(Te):new A(Te,Re,Xe,Je??1)}function A(Te,Re,Xe,Je){this.r=+Te,this.g=+Re,this.b=+Xe,this.opacity=+Je}p(A,P,E(a,{brighter:function(Re){return Re=Re==null?x:Math.pow(x,Re),new A(this.r*Re,this.g*Re,this.b*Re,this.opacity)},darker:function(Re){return Re=Re==null?L:Math.pow(L,Re),new A(this.r*Re,this.g*Re,this.b*Re,this.opacity)},rgb:function(){return this},clamp:function(){return new A(F(this.r),F(this.g),F(this.b),U(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:o,formatHex:o,formatHex8:k,formatRgb:w,toString:w}));function o(){return"#".concat(G(this.r)).concat(G(this.g)).concat(G(this.b))}function k(){return"#".concat(G(this.r)).concat(G(this.g)).concat(G(this.b)).concat(G((isNaN(this.opacity)?1:this.opacity)*255))}function w(){var Te=U(this.opacity);return"".concat(Te===1?"rgb(":"rgba(").concat(F(this.r),", ").concat(F(this.g),", ").concat(F(this.b)).concat(Te===1?")":", ".concat(Te,")"))}function U(Te){return isNaN(Te)?1:Math.max(0,Math.min(1,Te))}function F(Te){return Math.max(0,Math.min(255,Math.round(Te)||0))}function G(Te){return Te=F(Te),(Te<16?"0":"")+Te.toString(16)}function _(Te,Re,Xe,Je){return Je<=0?Te=Re=Xe=NaN:Xe<=0||Xe>=1?Te=Re=NaN:Re<=0&&(Te=NaN),new N(Te,Re,Xe,Je)}function H(Te){if(Te instanceof N)return new N(Te.h,Te.s,Te.l,Te.opacity);if(Te instanceof a||(Te=C(Te)),!Te)return new N;if(Te instanceof N)return Te;Te=Te.rgb();var Re=Te.r/255,Xe=Te.g/255,Je=Te.b/255,He=Math.min(Re,Xe,Je),$e=Math.max(Re,Xe,Je),pt=NaN,ut=$e-He,lt=($e+He)/2;return ut?(Re===$e?pt=(Xe-Je)/ut+(Xe0&<<1?0:pt,new N(pt,ut,lt,Te.opacity)}function V(Te,Re,Xe,Je){return arguments.length===1?H(Te):new N(Te,Re,Xe,Je??1)}function N(Te,Re,Xe,Je){this.h=+Te,this.s=+Re,this.l=+Xe,this.opacity=+Je}p(N,V,E(a,{brighter:function(Re){return Re=Re==null?x:Math.pow(x,Re),new N(this.h,this.s,this.l*Re,this.opacity)},darker:function(Re){return Re=Re==null?L:Math.pow(L,Re),new N(this.h,this.s,this.l*Re,this.opacity)},rgb:function(){var Re=this.h%360+(this.h<0)*360,Xe=isNaN(Re)||isNaN(this.s)?0:this.s,Je=this.l,He=Je+(Je<.5?Je:1-Je)*Xe,$e=2*Je-He;return new A(Q(Re>=240?Re-240:Re+120,$e,He),Q(Re,$e,He),Q(Re<120?Re+240:Re-120,$e,He),this.opacity)},clamp:function(){return new N(W(this.h),j(this.s),j(this.l),U(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var Re=U(this.opacity);return"".concat(Re===1?"hsl(":"hsla(").concat(W(this.h),", ").concat(j(this.s)*100,"%, ").concat(j(this.l)*100,"%").concat(Re===1?")":", ".concat(Re,")"))}}));function W(Te){return Te=(Te||0)%360,Te<0?Te+360:Te}function j(Te){return Math.max(0,Math.min(1,Te||0))}function Q(Te,Re,Xe){return(Te<60?Re+(Xe-Re)*Te/60:Te<180?Xe:Te<240?Re+(Xe-Re)*(240-Te)/60:Re)*255}var ie=function(Te){return function(){return Te}};function ue(Te,Re){return function(Xe){return Te+Xe*Re}}function pe(Te,Re,Xe){return Te=Math.pow(Te,Xe),Re=Math.pow(Re,Xe)-Te,Xe=1/Xe,function(Je){return Math.pow(Te+Je*Re,Xe)}}function q(Te){return(Te=+Te)==1?X:function(Re,Xe){return Xe-Re?pe(Re,Xe,Te):ie(isNaN(Re)?Xe:Re)}}function X(Te,Re){var Xe=Re-Te;return Xe?ue(Te,Xe):ie(isNaN(Te)?Re:Te)}var K=function Te(Re){var Xe=q(Re);function Je(He,$e){var pt=Xe((He=P(He)).r,($e=P($e)).r),ut=Xe(He.g,$e.g),lt=Xe(He.b,$e.b),ke=X(He.opacity,$e.opacity);return function(Ne){return He.r=pt(Ne),He.g=ut(Ne),He.b=lt(Ne),He.opacity=ke(Ne),He+""}}return Je.gamma=Te,Je}(1);function J(Te,Re){var Xe=Re?Re.length:0,Je=Te?Math.min(Xe,Te.length):0,He=new Array(Je),$e=new Array(Xe),pt;for(pt=0;ptXe&&($e=Re.slice(Xe,$e),ut[pt]?ut[pt]+=$e:ut[++pt]=$e),(Je=Je[0])===(He=He[0])?ut[pt]?ut[pt]+=He:ut[++pt]=He:(ut[++pt]=null,lt.push({i:pt,x:fe(Je,He)})),Xe=le.lastIndex;return Xe{if(i.plot.plot!=null){const R=JSON.parse(i.plot.plot);return wa.jsx(OA,{data:R.data,layout:R.layout,style:{width:"100%",minHeight:"58vh"},config:{responsive:!0}})}else return wa.jsx("div",{children:wa.jsx("div",{className:"uk-section uk-section-muted uk-text-center uk-text-muted",children:"No plot computed"})})};return wa.jsx("div",{style:{position:"fixed",top:"5%",left:"5%",right:"5%",bottom:"5%",zIndex:1e4,overflow:"auto",boxShadow:"0 5px 15px rgba(0, 0, 0, 0.08)"},className:"uk-container uk-container-expand uk-background-default",children:wa.jsxs("div",{className:"uk-padding-small",children:[wa.jsx("h2",{className:"uk-title uk-margin-left",children:i.plot.title}),wa.jsx("div",{children:y()}),wa.jsx("div",{className:"uk-section uk-section-xsmall uk-text-center",children:wa.jsx(o1,{children:i.plot.caption,remarkPlugins:[Pp],rehypePlugins:[Dp]})}),wa.jsx("p",{className:"uk-text-center",children:wa.jsx("button",{className:"uk-button uk-button-primary uk-modal-close uk-width-4-5",type:"button",onClick:()=>i.toggleVisibility(),children:"Close"})}),wa.jsx("div",{style:{position:"absolute",right:"5px",top:"5px"},children:wa.jsx("button",{className:"uk-button uk-button-default uk-modal-close",type:"button",onClick:()=>i.toggleVisibility(),children:"Close"})})]})})}function jB(i){const[y,R]=Co.useState(!1);function Y(){R(O=>!O)}function oe(){if(i.plot!=null){const O=JSON.parse(i.plot);return wa.jsxs(wa.Fragment,{children:[wa.jsx(OA,{data:O.data,layout:O.layout,style:{width:"100%",minHeight:"20vh"},config:{responsive:!0}}),wa.jsx("div",{className:"uk-section uk-section-xsmall uk-text-center",children:wa.jsx(o1,{children:i.caption,remarkPlugins:[Pp],rehypePlugins:[Dp]})}),wa.jsx("button",{className:"uk-button uk-button-default uk-width-1-1",type:"button",onClick:()=>{Y()},children:"Full screen"})]})}else return i.caption?wa.jsx("div",{children:wa.jsx(o1,{children:i.caption,remarkPlugins:[Pp],rehypePlugins:[Dp]})}):wa.jsx("div",{children:wa.jsx("div",{className:"uk-section uk-section-muted uk-text-center uk-text-muted",children:"No plot computed"})})}const he=Co.useMemo(()=>oe(),[i.plot]),B=y?wa.jsx(ZB,{plot:i,toggleVisibility:Y}):wa.jsx(wa.Fragment,{});return wa.jsxs(wa.Fragment,{children:[wa.jsx("div",{children:B}),wa.jsxs("div",{children:[wa.jsx("div",{className:"uk-heading-bullet uk-margin-small-top uk-text-bolder",children:i.title}),he,wa.jsx("hr",{})]})]})}function XB(i){const y=Co.useMemo(()=>i.plots.map((R,Y)=>wa.jsx(jB,{title:R.title,caption:R.caption,plot:R.plot},Y)),[i.plots]);return wa.jsx("div",{children:wa.jsx("div",{className:"uk-card uk-card-body uk-card-default uk-card-hover",children:wa.jsx("div",{className:"uk-child uk-child-width-1-1","data-uk-grid":!0,children:wa.jsx("div",{className:"uk-grid-collapse uk-child-width-1-1","data-uk-grid":!0,children:y})})})})}var mh=(i=>(i.Integer="Integer",i.PositiveInteger="PositiveInteger",i.StrictlyPositiveInteger="StrictlyPositiveInteger",i.PositiveFloat="PositiveFloat",i.Float="Float",i.Enumeration="Enumeration",i.FloatList="FloatList",i.Boolean="Boolean",i))(mh||{});function $B(i,y){y===void 0&&(y={});var R=y.insertAt;if(!(!i||typeof document>"u")){var Y=document.head||document.getElementsByTagName("head")[0],oe=document.createElement("style");oe.type="text/css",R==="top"&&Y.firstChild?Y.insertBefore(oe,Y.firstChild):Y.appendChild(oe),oe.styleSheet?oe.styleSheet.cssText=i:oe.appendChild(document.createTextNode(i))}}/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */var b3=function(i,y){return b3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,Y){R.__proto__=Y}||function(R,Y){for(var oe in Y)Y.hasOwnProperty(oe)&&(R[oe]=Y[oe])},b3(i,y)};function KB(i,y){b3(i,y);function R(){this.constructor=i}i.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}var JB=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function QB(i,y){return y={exports:{}},i(y,y.exports),y.exports}var _A=QB(function(i,y){(function(Y,oe){i.exports=oe()})(typeof self<"u"?self:JB,function(){return function(){var R={};(function(){R.d=function(jt,Le){for(var Be in Le)R.o(Le,Be)&&!R.o(jt,Be)&&Object.defineProperty(jt,Be,{enumerable:!0,get:Le[Be]})}})(),function(){R.o=function(jt,Le){return Object.prototype.hasOwnProperty.call(jt,Le)}}();var Y={};R.d(Y,{default:function(){return ec}});var oe=function jt(Le,Be){this.position=void 0;var Ve="KaTeX parse error: "+Le,nt,Lt=Be&&Be.loc;if(Lt&&Lt.start<=Lt.end){var Zt=Lt.lexer.input;nt=Lt.start;var hr=Lt.end;nt===Zt.length?Ve+=" at end of input: ":Ve+=" at position "+(nt+1)+": ";var Ur=Zt.slice(nt,hr).replace(/[^]/g,"$&̲"),on;nt>15?on="…"+Zt.slice(nt-15,nt):on=Zt.slice(0,nt);var Dn;hr+15":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;function L(jt){return String(jt).replace(a,function(Le){return E[Le]})}var x=function jt(Le){return Le.type==="ordgroup"||Le.type==="color"?Le.body.length===1?jt(Le.body[0]):Le:Le.type==="font"?jt(Le.body):Le},d=function(Le){var Be=x(Le);return Be.type==="mathord"||Be.type==="textord"||Be.type==="atom"},m=function(Le){if(!Le)throw new Error("Expected non-null, but got "+String(Le));return Le},r=function(Le){var Be=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Le);return Be!=null?Be[1]:"_relative"},t={contains:B,deflt:O,escape:L,hyphenate:p,getBaseElem:x,isCharacterBox:d,protocolFromUrl:r},s=function(){function jt(Be){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,Be=Be||{},this.displayMode=t.deflt(Be.displayMode,!1),this.output=t.deflt(Be.output,"htmlAndMathml"),this.leqno=t.deflt(Be.leqno,!1),this.fleqn=t.deflt(Be.fleqn,!1),this.throwOnError=t.deflt(Be.throwOnError,!0),this.errorColor=t.deflt(Be.errorColor,"#cc0000"),this.macros=Be.macros||{},this.minRuleThickness=Math.max(0,t.deflt(Be.minRuleThickness,0)),this.colorIsTextColor=t.deflt(Be.colorIsTextColor,!1),this.strict=t.deflt(Be.strict,"warn"),this.trust=t.deflt(Be.trust,!1),this.maxSize=Math.max(0,t.deflt(Be.maxSize,1/0)),this.maxExpand=Math.max(0,t.deflt(Be.maxExpand,1e3)),this.globalGroup=t.deflt(Be.globalGroup,!1)}var Le=jt.prototype;return Le.reportNonstrict=function(Ve,nt,Lt){var Zt=this.strict;if(typeof Zt=="function"&&(Zt=Zt(Ve,nt,Lt)),!(!Zt||Zt==="ignore")){if(Zt===!0||Zt==="error")throw new he("LaTeX-incompatible input and strict mode is set to 'error': "+(nt+" ["+Ve+"]"),Lt);Zt==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(nt+" ["+Ve+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Zt+"': "+nt+" ["+Ve+"]"))}},Le.useStrictBehavior=function(Ve,nt,Lt){var Zt=this.strict;if(typeof Zt=="function")try{Zt=Zt(Ve,nt,Lt)}catch{Zt="error"}return!Zt||Zt==="ignore"?!1:Zt===!0||Zt==="error"?!0:Zt==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(nt+" ["+Ve+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Zt+"': "+nt+" ["+Ve+"]")),!1)},Le.isTrusted=function(Ve){Ve.url&&!Ve.protocol&&(Ve.protocol=t.protocolFromUrl(Ve.url));var nt=typeof this.trust=="function"?this.trust(Ve):this.trust;return!!nt},jt}(),n=function(){function jt(Be,Ve,nt){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Be,this.size=Ve,this.cramped=nt}var Le=jt.prototype;return Le.sup=function(){return g[C[this.id]]},Le.sub=function(){return g[M[this.id]]},Le.fracNum=function(){return g[D[this.id]]},Le.fracDen=function(){return g[T[this.id]]},Le.cramp=function(){return g[P[this.id]]},Le.text=function(){return g[A[this.id]]},Le.isTight=function(){return this.size>=2},jt}(),f=0,c=1,u=2,b=3,h=4,S=5,v=6,l=7,g=[new n(f,0,!1),new n(c,0,!0),new n(u,1,!1),new n(b,1,!0),new n(h,2,!1),new n(S,2,!0),new n(v,3,!1),new n(l,3,!0)],C=[h,S,h,S,v,l,v,l],M=[S,S,S,S,l,l,l,l],D=[u,b,h,S,v,l,v,l],T=[b,b,S,S,l,l,l,l],P=[c,c,b,b,S,S,l,l],A=[f,c,u,b,u,b,u,b],o={DISPLAY:g[f],TEXT:g[u],SCRIPT:g[h],SCRIPTSCRIPT:g[v]},k=[{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 w(jt){for(var Le=0;Le=nt[0]&&jt<=nt[1])return Be.name}return null}var U=[];k.forEach(function(jt){return jt.blocks.forEach(function(Le){return U.push.apply(U,Le)})});function F(jt){for(var Le=0;Le=U[Le]&&jt<=U[Le+1])return!0;return!1}var G=80,_=function(Le,Be){return"M95,"+(622+Le+Be)+` -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`+Le/2.075+" -"+Le+` -c5.3,-9.3,12,-14,20,-14 -H400000v`+(40+Le)+`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+Le)+" "+Be+"h400000v"+(40+Le)+"h-400000z"},H=function(Le,Be){return"M263,"+(601+Le+Be)+`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`+Le/2.084+" -"+Le+` -c4.7,-7.3,11,-11,19,-11 -H40000v`+(40+Le)+`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+Le)+" "+Be+"h400000v"+(40+Le)+"h-400000z"},V=function(Le,Be){return"M983 "+(10+Le+Be)+` -l`+Le/3.13+" -"+Le+` -c4,-6.7,10,-10,18,-10 H400000v`+(40+Le)+` -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+Le)+" "+Be+"h400000v"+(40+Le)+"h-400000z"},N=function(Le,Be){return"M424,"+(2398+Le+Be)+` -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`+Le/4.223+" -"+Le+`c4,-6.7,10,-10,18,-10 H400000 -v`+(40+Le)+`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+Le)+" "+Be+` -h400000v`+(40+Le)+"h-400000z"},W=function(Le,Be){return"M473,"+(2713+Le+Be)+` -c339.3,-1799.3,509.3,-2700,510,-2702 l`+Le/5.298+" -"+Le+` -c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Le)+`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+Le)+" "+Be+"h400000v"+(40+Le)+"H1017.7z"},j=function(Le){var Be=Le/2;return"M400000 "+Le+" H0 L"+Be+" 0 l65 45 L145 "+(Le-80)+" H400000z"},Q=function(Le,Be,Ve){var nt=Ve-54-Be-Le;return"M702 "+(Le+Be)+"H400000"+(40+Le)+` -H742v`+nt+`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 `+Be+"H400000v"+(40+Le)+"H742z"},ie=function(Le,Be,Ve){Be=1e3*Be;var nt="";switch(Le){case"sqrtMain":nt=_(Be,G);break;case"sqrtSize1":nt=H(Be,G);break;case"sqrtSize2":nt=V(Be,G);break;case"sqrtSize3":nt=N(Be,G);break;case"sqrtSize4":nt=W(Be,G);break;case"sqrtTall":nt=Q(Be,G,Ve)}return nt},ue=function(Le,Be){switch(Le){case"⎜":return"M291 0 H417 V"+Be+" H291z M291 0 H417 V"+Be+" H291z";case"∣":return"M145 0 H188 V"+Be+" H145z M145 0 H188 V"+Be+" H145z";case"∥":return"M145 0 H188 V"+Be+" H145z M145 0 H188 V"+Be+" H145z"+("M367 0 H410 V"+Be+" H367z M367 0 H410 V"+Be+" H367z");case"⎟":return"M457 0 H583 V"+Be+" H457z M457 0 H583 V"+Be+" H457z";case"⎢":return"M319 0 H403 V"+Be+" H319z M319 0 H403 V"+Be+" H319z";case"⎥":return"M263 0 H347 V"+Be+" H263z M263 0 H347 V"+Be+" H263z";case"⎪":return"M384 0 H504 V"+Be+" H384z M384 0 H504 V"+Be+" H384z";case"⏐":return"M312 0 H355 V"+Be+" H312z M312 0 H355 V"+Be+" H312z";case"‖":return"M257 0 H300 V"+Be+" H257z M257 0 H300 V"+Be+" H257z"+("M478 0 H521 V"+Be+" H478z M478 0 H521 V"+Be+" H478z");default:return""}},pe={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`},q=function(){function jt(Be){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=Be,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Le=jt.prototype;return Le.hasClass=function(Ve){return t.contains(this.classes,Ve)},Le.toNode=function(){for(var Ve=document.createDocumentFragment(),nt=0;nt",Be},fe=function(){function jt(Be,Ve,nt,Lt){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,K.call(this,Be,nt,Lt),this.children=Ve||[]}var Le=jt.prototype;return Le.setAttribute=function(Ve,nt){this.attributes[Ve]=nt},Le.hasClass=function(Ve){return t.contains(this.classes,Ve)},Le.toNode=function(){return J.call(this,"span")},Le.toMarkup=function(){return re.call(this,"span")},jt}(),te=function(){function jt(Be,Ve,nt,Lt){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,K.call(this,Ve,Lt),this.children=nt||[],this.setAttribute("href",Be)}var Le=jt.prototype;return Le.setAttribute=function(Ve,nt){this.attributes[Ve]=nt},Le.hasClass=function(Ve){return t.contains(this.classes,Ve)},Le.toNode=function(){return J.call(this,"a")},Le.toMarkup=function(){return re.call(this,"a")},jt}(),ee=function(){function jt(Be,Ve,nt){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=Ve,this.src=Be,this.classes=["mord"],this.style=nt}var Le=jt.prototype;return Le.hasClass=function(Ve){return t.contains(this.classes,Ve)},Le.toNode=function(){var Ve=document.createElement("img");Ve.src=this.src,Ve.alt=this.alt,Ve.className="mord";for(var nt in this.style)this.style.hasOwnProperty(nt)&&(Ve.style[nt]=this.style[nt]);return Ve},Le.toMarkup=function(){var Ve=""+this.alt+"0&&(nt=document.createElement("span"),nt.style.marginRight=this.italic+"em"),this.classes.length>0&&(nt=nt||document.createElement("span"),nt.className=X(this.classes));for(var Lt in this.style)this.style.hasOwnProperty(Lt)&&(nt=nt||document.createElement("span"),nt.style[Lt]=this.style[Lt]);return nt?(nt.appendChild(Ve),nt):Ve},Le.toMarkup=function(){var Ve=!1,nt="0&&(Lt+="margin-right:"+this.italic+"em;");for(var Zt in this.style)this.style.hasOwnProperty(Zt)&&(Lt+=t.hyphenate(Zt)+":"+this.style[Zt]+";");Lt&&(Ve=!0,nt+=' style="'+t.escape(Lt)+'"');var hr=t.escape(this.text);return Ve?(nt+=">",nt+=hr,nt+="",nt):hr},jt}(),me=function(){function jt(Be,Ve){this.children=void 0,this.attributes=void 0,this.children=Be||[],this.attributes=Ve||{}}var Le=jt.prototype;return Le.toNode=function(){var Ve="http://www.w3.org/2000/svg",nt=document.createElementNS(Ve,"svg");for(var Lt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Lt)&&nt.setAttribute(Lt,this.attributes[Lt]);for(var Zt=0;Zt":""},jt}(),Se=function(){function jt(Be){this.attributes=void 0,this.attributes=Be||{}}var Le=jt.prototype;return Le.toNode=function(){var Ve="http://www.w3.org/2000/svg",nt=document.createElementNS(Ve,"line");for(var Lt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Lt)&&nt.setAttribute(Lt,this.attributes[Lt]);return nt},Le.toMarkup=function(){var Ve=" but got "+String(jt)+".")}var Ye={"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],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,.12,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,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,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,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,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,.744,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,.744,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]}},De={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]},Te={Å:"A",Ç:"C",Ð:"D",Þ:"o",å:"a",ç:"c",ð:"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 Re(jt,Le){Ye[jt]=Le}function Xe(jt,Le,Be){if(!Ye[Le])throw new Error("Font metrics not found for font: "+Le+".");var Ve=jt.charCodeAt(0),nt=Ye[Le][Ve];if(!nt&&jt[0]in Te&&(Ve=Te[jt[0]].charCodeAt(0),nt=Ye[Le][Ve]),!nt&&Be==="text"&&F(Ve)&&(nt=Ye[Le][77]),nt)return{depth:nt[0],height:nt[1],italic:nt[2],skew:nt[3],width:nt[4]}}var Je={};function He(jt){var Le;if(jt>=5?Le=0:jt>=3?Le=1:Le=2,!Je[Le]){var Be=Je[Le]={cssEmPerMu:De.quad[Le]/18};for(var Ve in De)De.hasOwnProperty(Ve)&&(Be[Ve]=De[Ve][Le])}return Je[Le]}var $e={bin:1,close:1,inner:1,open:1,punct:1,rel:1},pt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ut={math:{},text:{}},lt=ut;function ke(jt,Le,Be,Ve,nt,Lt){ut[jt][nt]={font:Le,group:Be,replace:Ve},Lt&&Ve&&(ut[jt][Ve]=ut[jt][nt])}var Ne="math",gt="text",qe="main",vt="ams",Bt="accent-token",Yt="bin",it="close",Ue="inner",_e="mathord",Ze="op-token",Fe="open",Ce="punct",ve="rel",Ie="spacing",Ae="textord";ke(Ne,qe,ve,"≡","\\equiv",!0),ke(Ne,qe,ve,"≺","\\prec",!0),ke(Ne,qe,ve,"≻","\\succ",!0),ke(Ne,qe,ve,"∼","\\sim",!0),ke(Ne,qe,ve,"⊥","\\perp"),ke(Ne,qe,ve,"⪯","\\preceq",!0),ke(Ne,qe,ve,"⪰","\\succeq",!0),ke(Ne,qe,ve,"≃","\\simeq",!0),ke(Ne,qe,ve,"∣","\\mid",!0),ke(Ne,qe,ve,"≪","\\ll",!0),ke(Ne,qe,ve,"≫","\\gg",!0),ke(Ne,qe,ve,"≍","\\asymp",!0),ke(Ne,qe,ve,"∥","\\parallel"),ke(Ne,qe,ve,"⋈","\\bowtie",!0),ke(Ne,qe,ve,"⌣","\\smile",!0),ke(Ne,qe,ve,"⊑","\\sqsubseteq",!0),ke(Ne,qe,ve,"⊒","\\sqsupseteq",!0),ke(Ne,qe,ve,"≐","\\doteq",!0),ke(Ne,qe,ve,"⌢","\\frown",!0),ke(Ne,qe,ve,"∋","\\ni",!0),ke(Ne,qe,ve,"∝","\\propto",!0),ke(Ne,qe,ve,"⊢","\\vdash",!0),ke(Ne,qe,ve,"⊣","\\dashv",!0),ke(Ne,qe,ve,"∋","\\owns"),ke(Ne,qe,Ce,".","\\ldotp"),ke(Ne,qe,Ce,"⋅","\\cdotp"),ke(Ne,qe,Ae,"#","\\#"),ke(gt,qe,Ae,"#","\\#"),ke(Ne,qe,Ae,"&","\\&"),ke(gt,qe,Ae,"&","\\&"),ke(Ne,qe,Ae,"ℵ","\\aleph",!0),ke(Ne,qe,Ae,"∀","\\forall",!0),ke(Ne,qe,Ae,"ℏ","\\hbar",!0),ke(Ne,qe,Ae,"∃","\\exists",!0),ke(Ne,qe,Ae,"∇","\\nabla",!0),ke(Ne,qe,Ae,"♭","\\flat",!0),ke(Ne,qe,Ae,"ℓ","\\ell",!0),ke(Ne,qe,Ae,"♮","\\natural",!0),ke(Ne,qe,Ae,"♣","\\clubsuit",!0),ke(Ne,qe,Ae,"℘","\\wp",!0),ke(Ne,qe,Ae,"♯","\\sharp",!0),ke(Ne,qe,Ae,"♢","\\diamondsuit",!0),ke(Ne,qe,Ae,"ℜ","\\Re",!0),ke(Ne,qe,Ae,"♡","\\heartsuit",!0),ke(Ne,qe,Ae,"ℑ","\\Im",!0),ke(Ne,qe,Ae,"♠","\\spadesuit",!0),ke(gt,qe,Ae,"§","\\S",!0),ke(gt,qe,Ae,"¶","\\P",!0),ke(Ne,qe,Ae,"†","\\dag"),ke(gt,qe,Ae,"†","\\dag"),ke(gt,qe,Ae,"†","\\textdagger"),ke(Ne,qe,Ae,"‡","\\ddag"),ke(gt,qe,Ae,"‡","\\ddag"),ke(gt,qe,Ae,"‡","\\textdaggerdbl"),ke(Ne,qe,it,"⎱","\\rmoustache",!0),ke(Ne,qe,Fe,"⎰","\\lmoustache",!0),ke(Ne,qe,it,"⟯","\\rgroup",!0),ke(Ne,qe,Fe,"⟮","\\lgroup",!0),ke(Ne,qe,Yt,"∓","\\mp",!0),ke(Ne,qe,Yt,"⊖","\\ominus",!0),ke(Ne,qe,Yt,"⊎","\\uplus",!0),ke(Ne,qe,Yt,"⊓","\\sqcap",!0),ke(Ne,qe,Yt,"∗","\\ast"),ke(Ne,qe,Yt,"⊔","\\sqcup",!0),ke(Ne,qe,Yt,"◯","\\bigcirc",!0),ke(Ne,qe,Yt,"∙","\\bullet"),ke(Ne,qe,Yt,"‡","\\ddagger"),ke(Ne,qe,Yt,"≀","\\wr",!0),ke(Ne,qe,Yt,"⨿","\\amalg"),ke(Ne,qe,Yt,"&","\\And"),ke(Ne,qe,ve,"⟵","\\longleftarrow",!0),ke(Ne,qe,ve,"⇐","\\Leftarrow",!0),ke(Ne,qe,ve,"⟸","\\Longleftarrow",!0),ke(Ne,qe,ve,"⟶","\\longrightarrow",!0),ke(Ne,qe,ve,"⇒","\\Rightarrow",!0),ke(Ne,qe,ve,"⟹","\\Longrightarrow",!0),ke(Ne,qe,ve,"↔","\\leftrightarrow",!0),ke(Ne,qe,ve,"⟷","\\longleftrightarrow",!0),ke(Ne,qe,ve,"⇔","\\Leftrightarrow",!0),ke(Ne,qe,ve,"⟺","\\Longleftrightarrow",!0),ke(Ne,qe,ve,"↦","\\mapsto",!0),ke(Ne,qe,ve,"⟼","\\longmapsto",!0),ke(Ne,qe,ve,"↗","\\nearrow",!0),ke(Ne,qe,ve,"↩","\\hookleftarrow",!0),ke(Ne,qe,ve,"↪","\\hookrightarrow",!0),ke(Ne,qe,ve,"↘","\\searrow",!0),ke(Ne,qe,ve,"↼","\\leftharpoonup",!0),ke(Ne,qe,ve,"⇀","\\rightharpoonup",!0),ke(Ne,qe,ve,"↙","\\swarrow",!0),ke(Ne,qe,ve,"↽","\\leftharpoondown",!0),ke(Ne,qe,ve,"⇁","\\rightharpoondown",!0),ke(Ne,qe,ve,"↖","\\nwarrow",!0),ke(Ne,qe,ve,"⇌","\\rightleftharpoons",!0),ke(Ne,vt,ve,"≮","\\nless",!0),ke(Ne,vt,ve,"","\\@nleqslant"),ke(Ne,vt,ve,"","\\@nleqq"),ke(Ne,vt,ve,"⪇","\\lneq",!0),ke(Ne,vt,ve,"≨","\\lneqq",!0),ke(Ne,vt,ve,"","\\@lvertneqq"),ke(Ne,vt,ve,"⋦","\\lnsim",!0),ke(Ne,vt,ve,"⪉","\\lnapprox",!0),ke(Ne,vt,ve,"⊀","\\nprec",!0),ke(Ne,vt,ve,"⋠","\\npreceq",!0),ke(Ne,vt,ve,"⋨","\\precnsim",!0),ke(Ne,vt,ve,"⪹","\\precnapprox",!0),ke(Ne,vt,ve,"≁","\\nsim",!0),ke(Ne,vt,ve,"","\\@nshortmid"),ke(Ne,vt,ve,"∤","\\nmid",!0),ke(Ne,vt,ve,"⊬","\\nvdash",!0),ke(Ne,vt,ve,"⊭","\\nvDash",!0),ke(Ne,vt,ve,"⋪","\\ntriangleleft"),ke(Ne,vt,ve,"⋬","\\ntrianglelefteq",!0),ke(Ne,vt,ve,"⊊","\\subsetneq",!0),ke(Ne,vt,ve,"","\\@varsubsetneq"),ke(Ne,vt,ve,"⫋","\\subsetneqq",!0),ke(Ne,vt,ve,"","\\@varsubsetneqq"),ke(Ne,vt,ve,"≯","\\ngtr",!0),ke(Ne,vt,ve,"","\\@ngeqslant"),ke(Ne,vt,ve,"","\\@ngeqq"),ke(Ne,vt,ve,"⪈","\\gneq",!0),ke(Ne,vt,ve,"≩","\\gneqq",!0),ke(Ne,vt,ve,"","\\@gvertneqq"),ke(Ne,vt,ve,"⋧","\\gnsim",!0),ke(Ne,vt,ve,"⪊","\\gnapprox",!0),ke(Ne,vt,ve,"⊁","\\nsucc",!0),ke(Ne,vt,ve,"⋡","\\nsucceq",!0),ke(Ne,vt,ve,"⋩","\\succnsim",!0),ke(Ne,vt,ve,"⪺","\\succnapprox",!0),ke(Ne,vt,ve,"≆","\\ncong",!0),ke(Ne,vt,ve,"","\\@nshortparallel"),ke(Ne,vt,ve,"∦","\\nparallel",!0),ke(Ne,vt,ve,"⊯","\\nVDash",!0),ke(Ne,vt,ve,"⋫","\\ntriangleright"),ke(Ne,vt,ve,"⋭","\\ntrianglerighteq",!0),ke(Ne,vt,ve,"","\\@nsupseteqq"),ke(Ne,vt,ve,"⊋","\\supsetneq",!0),ke(Ne,vt,ve,"","\\@varsupsetneq"),ke(Ne,vt,ve,"⫌","\\supsetneqq",!0),ke(Ne,vt,ve,"","\\@varsupsetneqq"),ke(Ne,vt,ve,"⊮","\\nVdash",!0),ke(Ne,vt,ve,"⪵","\\precneqq",!0),ke(Ne,vt,ve,"⪶","\\succneqq",!0),ke(Ne,vt,ve,"","\\@nsubseteqq"),ke(Ne,vt,Yt,"⊴","\\unlhd"),ke(Ne,vt,Yt,"⊵","\\unrhd"),ke(Ne,vt,ve,"↚","\\nleftarrow",!0),ke(Ne,vt,ve,"↛","\\nrightarrow",!0),ke(Ne,vt,ve,"⇍","\\nLeftarrow",!0),ke(Ne,vt,ve,"⇏","\\nRightarrow",!0),ke(Ne,vt,ve,"↮","\\nleftrightarrow",!0),ke(Ne,vt,ve,"⇎","\\nLeftrightarrow",!0),ke(Ne,vt,ve,"△","\\vartriangle"),ke(Ne,vt,Ae,"ℏ","\\hslash"),ke(Ne,vt,Ae,"▽","\\triangledown"),ke(Ne,vt,Ae,"◊","\\lozenge"),ke(Ne,vt,Ae,"Ⓢ","\\circledS"),ke(Ne,vt,Ae,"®","\\circledR"),ke(gt,vt,Ae,"®","\\circledR"),ke(Ne,vt,Ae,"∡","\\measuredangle",!0),ke(Ne,vt,Ae,"∄","\\nexists"),ke(Ne,vt,Ae,"℧","\\mho"),ke(Ne,vt,Ae,"Ⅎ","\\Finv",!0),ke(Ne,vt,Ae,"⅁","\\Game",!0),ke(Ne,vt,Ae,"‵","\\backprime"),ke(Ne,vt,Ae,"▲","\\blacktriangle"),ke(Ne,vt,Ae,"▼","\\blacktriangledown"),ke(Ne,vt,Ae,"■","\\blacksquare"),ke(Ne,vt,Ae,"⧫","\\blacklozenge"),ke(Ne,vt,Ae,"★","\\bigstar"),ke(Ne,vt,Ae,"∢","\\sphericalangle",!0),ke(Ne,vt,Ae,"∁","\\complement",!0),ke(Ne,vt,Ae,"ð","\\eth",!0),ke(gt,qe,Ae,"ð","ð"),ke(Ne,vt,Ae,"╱","\\diagup"),ke(Ne,vt,Ae,"╲","\\diagdown"),ke(Ne,vt,Ae,"□","\\square"),ke(Ne,vt,Ae,"□","\\Box"),ke(Ne,vt,Ae,"◊","\\Diamond"),ke(Ne,vt,Ae,"¥","\\yen",!0),ke(gt,vt,Ae,"¥","\\yen",!0),ke(Ne,vt,Ae,"✓","\\checkmark",!0),ke(gt,vt,Ae,"✓","\\checkmark"),ke(Ne,vt,Ae,"ℶ","\\beth",!0),ke(Ne,vt,Ae,"ℸ","\\daleth",!0),ke(Ne,vt,Ae,"ℷ","\\gimel",!0),ke(Ne,vt,Ae,"ϝ","\\digamma",!0),ke(Ne,vt,Ae,"ϰ","\\varkappa"),ke(Ne,vt,Fe,"┌","\\@ulcorner",!0),ke(Ne,vt,it,"┐","\\@urcorner",!0),ke(Ne,vt,Fe,"└","\\@llcorner",!0),ke(Ne,vt,it,"┘","\\@lrcorner",!0),ke(Ne,vt,ve,"≦","\\leqq",!0),ke(Ne,vt,ve,"⩽","\\leqslant",!0),ke(Ne,vt,ve,"⪕","\\eqslantless",!0),ke(Ne,vt,ve,"≲","\\lesssim",!0),ke(Ne,vt,ve,"⪅","\\lessapprox",!0),ke(Ne,vt,ve,"≊","\\approxeq",!0),ke(Ne,vt,Yt,"⋖","\\lessdot"),ke(Ne,vt,ve,"⋘","\\lll",!0),ke(Ne,vt,ve,"≶","\\lessgtr",!0),ke(Ne,vt,ve,"⋚","\\lesseqgtr",!0),ke(Ne,vt,ve,"⪋","\\lesseqqgtr",!0),ke(Ne,vt,ve,"≑","\\doteqdot"),ke(Ne,vt,ve,"≓","\\risingdotseq",!0),ke(Ne,vt,ve,"≒","\\fallingdotseq",!0),ke(Ne,vt,ve,"∽","\\backsim",!0),ke(Ne,vt,ve,"⋍","\\backsimeq",!0),ke(Ne,vt,ve,"⫅","\\subseteqq",!0),ke(Ne,vt,ve,"⋐","\\Subset",!0),ke(Ne,vt,ve,"⊏","\\sqsubset",!0),ke(Ne,vt,ve,"≼","\\preccurlyeq",!0),ke(Ne,vt,ve,"⋞","\\curlyeqprec",!0),ke(Ne,vt,ve,"≾","\\precsim",!0),ke(Ne,vt,ve,"⪷","\\precapprox",!0),ke(Ne,vt,ve,"⊲","\\vartriangleleft"),ke(Ne,vt,ve,"⊴","\\trianglelefteq"),ke(Ne,vt,ve,"⊨","\\vDash",!0),ke(Ne,vt,ve,"⊪","\\Vvdash",!0),ke(Ne,vt,ve,"⌣","\\smallsmile"),ke(Ne,vt,ve,"⌢","\\smallfrown"),ke(Ne,vt,ve,"≏","\\bumpeq",!0),ke(Ne,vt,ve,"≎","\\Bumpeq",!0),ke(Ne,vt,ve,"≧","\\geqq",!0),ke(Ne,vt,ve,"⩾","\\geqslant",!0),ke(Ne,vt,ve,"⪖","\\eqslantgtr",!0),ke(Ne,vt,ve,"≳","\\gtrsim",!0),ke(Ne,vt,ve,"⪆","\\gtrapprox",!0),ke(Ne,vt,Yt,"⋗","\\gtrdot"),ke(Ne,vt,ve,"⋙","\\ggg",!0),ke(Ne,vt,ve,"≷","\\gtrless",!0),ke(Ne,vt,ve,"⋛","\\gtreqless",!0),ke(Ne,vt,ve,"⪌","\\gtreqqless",!0),ke(Ne,vt,ve,"≖","\\eqcirc",!0),ke(Ne,vt,ve,"≗","\\circeq",!0),ke(Ne,vt,ve,"≜","\\triangleq",!0),ke(Ne,vt,ve,"∼","\\thicksim"),ke(Ne,vt,ve,"≈","\\thickapprox"),ke(Ne,vt,ve,"⫆","\\supseteqq",!0),ke(Ne,vt,ve,"⋑","\\Supset",!0),ke(Ne,vt,ve,"⊐","\\sqsupset",!0),ke(Ne,vt,ve,"≽","\\succcurlyeq",!0),ke(Ne,vt,ve,"⋟","\\curlyeqsucc",!0),ke(Ne,vt,ve,"≿","\\succsim",!0),ke(Ne,vt,ve,"⪸","\\succapprox",!0),ke(Ne,vt,ve,"⊳","\\vartriangleright"),ke(Ne,vt,ve,"⊵","\\trianglerighteq"),ke(Ne,vt,ve,"⊩","\\Vdash",!0),ke(Ne,vt,ve,"∣","\\shortmid"),ke(Ne,vt,ve,"∥","\\shortparallel"),ke(Ne,vt,ve,"≬","\\between",!0),ke(Ne,vt,ve,"⋔","\\pitchfork",!0),ke(Ne,vt,ve,"∝","\\varpropto"),ke(Ne,vt,ve,"◀","\\blacktriangleleft"),ke(Ne,vt,ve,"∴","\\therefore",!0),ke(Ne,vt,ve,"∍","\\backepsilon"),ke(Ne,vt,ve,"▶","\\blacktriangleright"),ke(Ne,vt,ve,"∵","\\because",!0),ke(Ne,vt,ve,"⋘","\\llless"),ke(Ne,vt,ve,"⋙","\\gggtr"),ke(Ne,vt,Yt,"⊲","\\lhd"),ke(Ne,vt,Yt,"⊳","\\rhd"),ke(Ne,vt,ve,"≂","\\eqsim",!0),ke(Ne,qe,ve,"⋈","\\Join"),ke(Ne,vt,ve,"≑","\\Doteq",!0),ke(Ne,vt,Yt,"∔","\\dotplus",!0),ke(Ne,vt,Yt,"∖","\\smallsetminus"),ke(Ne,vt,Yt,"⋒","\\Cap",!0),ke(Ne,vt,Yt,"⋓","\\Cup",!0),ke(Ne,vt,Yt,"⩞","\\doublebarwedge",!0),ke(Ne,vt,Yt,"⊟","\\boxminus",!0),ke(Ne,vt,Yt,"⊞","\\boxplus",!0),ke(Ne,vt,Yt,"⋇","\\divideontimes",!0),ke(Ne,vt,Yt,"⋉","\\ltimes",!0),ke(Ne,vt,Yt,"⋊","\\rtimes",!0),ke(Ne,vt,Yt,"⋋","\\leftthreetimes",!0),ke(Ne,vt,Yt,"⋌","\\rightthreetimes",!0),ke(Ne,vt,Yt,"⋏","\\curlywedge",!0),ke(Ne,vt,Yt,"⋎","\\curlyvee",!0),ke(Ne,vt,Yt,"⊝","\\circleddash",!0),ke(Ne,vt,Yt,"⊛","\\circledast",!0),ke(Ne,vt,Yt,"⋅","\\centerdot"),ke(Ne,vt,Yt,"⊺","\\intercal",!0),ke(Ne,vt,Yt,"⋒","\\doublecap"),ke(Ne,vt,Yt,"⋓","\\doublecup"),ke(Ne,vt,Yt,"⊠","\\boxtimes",!0),ke(Ne,vt,ve,"⇢","\\dashrightarrow",!0),ke(Ne,vt,ve,"⇠","\\dashleftarrow",!0),ke(Ne,vt,ve,"⇇","\\leftleftarrows",!0),ke(Ne,vt,ve,"⇆","\\leftrightarrows",!0),ke(Ne,vt,ve,"⇚","\\Lleftarrow",!0),ke(Ne,vt,ve,"↞","\\twoheadleftarrow",!0),ke(Ne,vt,ve,"↢","\\leftarrowtail",!0),ke(Ne,vt,ve,"↫","\\looparrowleft",!0),ke(Ne,vt,ve,"⇋","\\leftrightharpoons",!0),ke(Ne,vt,ve,"↶","\\curvearrowleft",!0),ke(Ne,vt,ve,"↺","\\circlearrowleft",!0),ke(Ne,vt,ve,"↰","\\Lsh",!0),ke(Ne,vt,ve,"⇈","\\upuparrows",!0),ke(Ne,vt,ve,"↿","\\upharpoonleft",!0),ke(Ne,vt,ve,"⇃","\\downharpoonleft",!0),ke(Ne,qe,ve,"⊶","\\origof",!0),ke(Ne,qe,ve,"⊷","\\imageof",!0),ke(Ne,vt,ve,"⊸","\\multimap",!0),ke(Ne,vt,ve,"↭","\\leftrightsquigarrow",!0),ke(Ne,vt,ve,"⇉","\\rightrightarrows",!0),ke(Ne,vt,ve,"⇄","\\rightleftarrows",!0),ke(Ne,vt,ve,"↠","\\twoheadrightarrow",!0),ke(Ne,vt,ve,"↣","\\rightarrowtail",!0),ke(Ne,vt,ve,"↬","\\looparrowright",!0),ke(Ne,vt,ve,"↷","\\curvearrowright",!0),ke(Ne,vt,ve,"↻","\\circlearrowright",!0),ke(Ne,vt,ve,"↱","\\Rsh",!0),ke(Ne,vt,ve,"⇊","\\downdownarrows",!0),ke(Ne,vt,ve,"↾","\\upharpoonright",!0),ke(Ne,vt,ve,"⇂","\\downharpoonright",!0),ke(Ne,vt,ve,"⇝","\\rightsquigarrow",!0),ke(Ne,vt,ve,"⇝","\\leadsto"),ke(Ne,vt,ve,"⇛","\\Rrightarrow",!0),ke(Ne,vt,ve,"↾","\\restriction"),ke(Ne,qe,Ae,"‘","`"),ke(Ne,qe,Ae,"$","\\$"),ke(gt,qe,Ae,"$","\\$"),ke(gt,qe,Ae,"$","\\textdollar"),ke(Ne,qe,Ae,"%","\\%"),ke(gt,qe,Ae,"%","\\%"),ke(Ne,qe,Ae,"_","\\_"),ke(gt,qe,Ae,"_","\\_"),ke(gt,qe,Ae,"_","\\textunderscore"),ke(Ne,qe,Ae,"∠","\\angle",!0),ke(Ne,qe,Ae,"∞","\\infty",!0),ke(Ne,qe,Ae,"′","\\prime"),ke(Ne,qe,Ae,"△","\\triangle"),ke(Ne,qe,Ae,"Γ","\\Gamma",!0),ke(Ne,qe,Ae,"Δ","\\Delta",!0),ke(Ne,qe,Ae,"Θ","\\Theta",!0),ke(Ne,qe,Ae,"Λ","\\Lambda",!0),ke(Ne,qe,Ae,"Ξ","\\Xi",!0),ke(Ne,qe,Ae,"Π","\\Pi",!0),ke(Ne,qe,Ae,"Σ","\\Sigma",!0),ke(Ne,qe,Ae,"Υ","\\Upsilon",!0),ke(Ne,qe,Ae,"Φ","\\Phi",!0),ke(Ne,qe,Ae,"Ψ","\\Psi",!0),ke(Ne,qe,Ae,"Ω","\\Omega",!0),ke(Ne,qe,Ae,"A","Α"),ke(Ne,qe,Ae,"B","Β"),ke(Ne,qe,Ae,"E","Ε"),ke(Ne,qe,Ae,"Z","Ζ"),ke(Ne,qe,Ae,"H","Η"),ke(Ne,qe,Ae,"I","Ι"),ke(Ne,qe,Ae,"K","Κ"),ke(Ne,qe,Ae,"M","Μ"),ke(Ne,qe,Ae,"N","Ν"),ke(Ne,qe,Ae,"O","Ο"),ke(Ne,qe,Ae,"P","Ρ"),ke(Ne,qe,Ae,"T","Τ"),ke(Ne,qe,Ae,"X","Χ"),ke(Ne,qe,Ae,"¬","\\neg",!0),ke(Ne,qe,Ae,"¬","\\lnot"),ke(Ne,qe,Ae,"⊤","\\top"),ke(Ne,qe,Ae,"⊥","\\bot"),ke(Ne,qe,Ae,"∅","\\emptyset"),ke(Ne,vt,Ae,"∅","\\varnothing"),ke(Ne,qe,_e,"α","\\alpha",!0),ke(Ne,qe,_e,"β","\\beta",!0),ke(Ne,qe,_e,"γ","\\gamma",!0),ke(Ne,qe,_e,"δ","\\delta",!0),ke(Ne,qe,_e,"ϵ","\\epsilon",!0),ke(Ne,qe,_e,"ζ","\\zeta",!0),ke(Ne,qe,_e,"η","\\eta",!0),ke(Ne,qe,_e,"θ","\\theta",!0),ke(Ne,qe,_e,"ι","\\iota",!0),ke(Ne,qe,_e,"κ","\\kappa",!0),ke(Ne,qe,_e,"λ","\\lambda",!0),ke(Ne,qe,_e,"μ","\\mu",!0),ke(Ne,qe,_e,"ν","\\nu",!0),ke(Ne,qe,_e,"ξ","\\xi",!0),ke(Ne,qe,_e,"ο","\\omicron",!0),ke(Ne,qe,_e,"π","\\pi",!0),ke(Ne,qe,_e,"ρ","\\rho",!0),ke(Ne,qe,_e,"σ","\\sigma",!0),ke(Ne,qe,_e,"τ","\\tau",!0),ke(Ne,qe,_e,"υ","\\upsilon",!0),ke(Ne,qe,_e,"ϕ","\\phi",!0),ke(Ne,qe,_e,"χ","\\chi",!0),ke(Ne,qe,_e,"ψ","\\psi",!0),ke(Ne,qe,_e,"ω","\\omega",!0),ke(Ne,qe,_e,"ε","\\varepsilon",!0),ke(Ne,qe,_e,"ϑ","\\vartheta",!0),ke(Ne,qe,_e,"ϖ","\\varpi",!0),ke(Ne,qe,_e,"ϱ","\\varrho",!0),ke(Ne,qe,_e,"ς","\\varsigma",!0),ke(Ne,qe,_e,"φ","\\varphi",!0),ke(Ne,qe,Yt,"∗","*"),ke(Ne,qe,Yt,"+","+"),ke(Ne,qe,Yt,"−","-"),ke(Ne,qe,Yt,"⋅","\\cdot",!0),ke(Ne,qe,Yt,"∘","\\circ"),ke(Ne,qe,Yt,"÷","\\div",!0),ke(Ne,qe,Yt,"±","\\pm",!0),ke(Ne,qe,Yt,"×","\\times",!0),ke(Ne,qe,Yt,"∩","\\cap",!0),ke(Ne,qe,Yt,"∪","\\cup",!0),ke(Ne,qe,Yt,"∖","\\setminus"),ke(Ne,qe,Yt,"∧","\\land"),ke(Ne,qe,Yt,"∨","\\lor"),ke(Ne,qe,Yt,"∧","\\wedge",!0),ke(Ne,qe,Yt,"∨","\\vee",!0),ke(Ne,qe,Ae,"√","\\surd"),ke(Ne,qe,Fe,"⟨","\\langle",!0),ke(Ne,qe,Fe,"∣","\\lvert"),ke(Ne,qe,Fe,"∥","\\lVert"),ke(Ne,qe,it,"?","?"),ke(Ne,qe,it,"!","!"),ke(Ne,qe,it,"⟩","\\rangle",!0),ke(Ne,qe,it,"∣","\\rvert"),ke(Ne,qe,it,"∥","\\rVert"),ke(Ne,qe,ve,"=","="),ke(Ne,qe,ve,":",":"),ke(Ne,qe,ve,"≈","\\approx",!0),ke(Ne,qe,ve,"≅","\\cong",!0),ke(Ne,qe,ve,"≥","\\ge"),ke(Ne,qe,ve,"≥","\\geq",!0),ke(Ne,qe,ve,"←","\\gets"),ke(Ne,qe,ve,">","\\gt",!0),ke(Ne,qe,ve,"∈","\\in",!0),ke(Ne,qe,ve,"","\\@not"),ke(Ne,qe,ve,"⊂","\\subset",!0),ke(Ne,qe,ve,"⊃","\\supset",!0),ke(Ne,qe,ve,"⊆","\\subseteq",!0),ke(Ne,qe,ve,"⊇","\\supseteq",!0),ke(Ne,vt,ve,"⊈","\\nsubseteq",!0),ke(Ne,vt,ve,"⊉","\\nsupseteq",!0),ke(Ne,qe,ve,"⊨","\\models"),ke(Ne,qe,ve,"←","\\leftarrow",!0),ke(Ne,qe,ve,"≤","\\le"),ke(Ne,qe,ve,"≤","\\leq",!0),ke(Ne,qe,ve,"<","\\lt",!0),ke(Ne,qe,ve,"→","\\rightarrow",!0),ke(Ne,qe,ve,"→","\\to"),ke(Ne,vt,ve,"≱","\\ngeq",!0),ke(Ne,vt,ve,"≰","\\nleq",!0),ke(Ne,qe,Ie," ","\\ "),ke(Ne,qe,Ie," ","~"),ke(Ne,qe,Ie," ","\\space"),ke(Ne,qe,Ie," ","\\nobreakspace"),ke(gt,qe,Ie," ","\\ "),ke(gt,qe,Ie," "," "),ke(gt,qe,Ie," ","~"),ke(gt,qe,Ie," ","\\space"),ke(gt,qe,Ie," ","\\nobreakspace"),ke(Ne,qe,Ie,null,"\\nobreak"),ke(Ne,qe,Ie,null,"\\allowbreak"),ke(Ne,qe,Ce,",",","),ke(Ne,qe,Ce,";",";"),ke(Ne,vt,Yt,"⊼","\\barwedge",!0),ke(Ne,vt,Yt,"⊻","\\veebar",!0),ke(Ne,qe,Yt,"⊙","\\odot",!0),ke(Ne,qe,Yt,"⊕","\\oplus",!0),ke(Ne,qe,Yt,"⊗","\\otimes",!0),ke(Ne,qe,Ae,"∂","\\partial",!0),ke(Ne,qe,Yt,"⊘","\\oslash",!0),ke(Ne,vt,Yt,"⊚","\\circledcirc",!0),ke(Ne,vt,Yt,"⊡","\\boxdot",!0),ke(Ne,qe,Yt,"△","\\bigtriangleup"),ke(Ne,qe,Yt,"▽","\\bigtriangledown"),ke(Ne,qe,Yt,"†","\\dagger"),ke(Ne,qe,Yt,"⋄","\\diamond"),ke(Ne,qe,Yt,"⋆","\\star"),ke(Ne,qe,Yt,"◃","\\triangleleft"),ke(Ne,qe,Yt,"▹","\\triangleright"),ke(Ne,qe,Fe,"{","\\{"),ke(gt,qe,Ae,"{","\\{"),ke(gt,qe,Ae,"{","\\textbraceleft"),ke(Ne,qe,it,"}","\\}"),ke(gt,qe,Ae,"}","\\}"),ke(gt,qe,Ae,"}","\\textbraceright"),ke(Ne,qe,Fe,"{","\\lbrace"),ke(Ne,qe,it,"}","\\rbrace"),ke(Ne,qe,Fe,"[","\\lbrack",!0),ke(gt,qe,Ae,"[","\\lbrack",!0),ke(Ne,qe,it,"]","\\rbrack",!0),ke(gt,qe,Ae,"]","\\rbrack",!0),ke(Ne,qe,Fe,"(","\\lparen",!0),ke(Ne,qe,it,")","\\rparen",!0),ke(gt,qe,Ae,"<","\\textless",!0),ke(gt,qe,Ae,">","\\textgreater",!0),ke(Ne,qe,Fe,"⌊","\\lfloor",!0),ke(Ne,qe,it,"⌋","\\rfloor",!0),ke(Ne,qe,Fe,"⌈","\\lceil",!0),ke(Ne,qe,it,"⌉","\\rceil",!0),ke(Ne,qe,Ae,"\\","\\backslash"),ke(Ne,qe,Ae,"∣","|"),ke(Ne,qe,Ae,"∣","\\vert"),ke(gt,qe,Ae,"|","\\textbar",!0),ke(Ne,qe,Ae,"∥","\\|"),ke(Ne,qe,Ae,"∥","\\Vert"),ke(gt,qe,Ae,"∥","\\textbardbl"),ke(gt,qe,Ae,"~","\\textasciitilde"),ke(gt,qe,Ae,"\\","\\textbackslash"),ke(gt,qe,Ae,"^","\\textasciicircum"),ke(Ne,qe,ve,"↑","\\uparrow",!0),ke(Ne,qe,ve,"⇑","\\Uparrow",!0),ke(Ne,qe,ve,"↓","\\downarrow",!0),ke(Ne,qe,ve,"⇓","\\Downarrow",!0),ke(Ne,qe,ve,"↕","\\updownarrow",!0),ke(Ne,qe,ve,"⇕","\\Updownarrow",!0),ke(Ne,qe,Ze,"∐","\\coprod"),ke(Ne,qe,Ze,"⋁","\\bigvee"),ke(Ne,qe,Ze,"⋀","\\bigwedge"),ke(Ne,qe,Ze,"⨄","\\biguplus"),ke(Ne,qe,Ze,"⋂","\\bigcap"),ke(Ne,qe,Ze,"⋃","\\bigcup"),ke(Ne,qe,Ze,"∫","\\int"),ke(Ne,qe,Ze,"∫","\\intop"),ke(Ne,qe,Ze,"∬","\\iint"),ke(Ne,qe,Ze,"∭","\\iiint"),ke(Ne,qe,Ze,"∏","\\prod"),ke(Ne,qe,Ze,"∑","\\sum"),ke(Ne,qe,Ze,"⨂","\\bigotimes"),ke(Ne,qe,Ze,"⨁","\\bigoplus"),ke(Ne,qe,Ze,"⨀","\\bigodot"),ke(Ne,qe,Ze,"∮","\\oint"),ke(Ne,qe,Ze,"∯","\\oiint"),ke(Ne,qe,Ze,"∰","\\oiiint"),ke(Ne,qe,Ze,"⨆","\\bigsqcup"),ke(Ne,qe,Ze,"∫","\\smallint"),ke(gt,qe,Ue,"…","\\textellipsis"),ke(Ne,qe,Ue,"…","\\mathellipsis"),ke(gt,qe,Ue,"…","\\ldots",!0),ke(Ne,qe,Ue,"…","\\ldots",!0),ke(Ne,qe,Ue,"⋯","\\@cdots",!0),ke(Ne,qe,Ue,"⋱","\\ddots",!0),ke(Ne,qe,Ae,"⋮","\\varvdots"),ke(Ne,qe,Bt,"ˊ","\\acute"),ke(Ne,qe,Bt,"ˋ","\\grave"),ke(Ne,qe,Bt,"¨","\\ddot"),ke(Ne,qe,Bt,"~","\\tilde"),ke(Ne,qe,Bt,"ˉ","\\bar"),ke(Ne,qe,Bt,"˘","\\breve"),ke(Ne,qe,Bt,"ˇ","\\check"),ke(Ne,qe,Bt,"^","\\hat"),ke(Ne,qe,Bt,"⃗","\\vec"),ke(Ne,qe,Bt,"˙","\\dot"),ke(Ne,qe,Bt,"˚","\\mathring"),ke(Ne,qe,_e,"","\\@imath"),ke(Ne,qe,_e,"","\\@jmath"),ke(Ne,qe,Ae,"ı","ı"),ke(Ne,qe,Ae,"ȷ","ȷ"),ke(gt,qe,Ae,"ı","\\i",!0),ke(gt,qe,Ae,"ȷ","\\j",!0),ke(gt,qe,Ae,"ß","\\ss",!0),ke(gt,qe,Ae,"æ","\\ae",!0),ke(gt,qe,Ae,"œ","\\oe",!0),ke(gt,qe,Ae,"ø","\\o",!0),ke(gt,qe,Ae,"Æ","\\AE",!0),ke(gt,qe,Ae,"Œ","\\OE",!0),ke(gt,qe,Ae,"Ø","\\O",!0),ke(gt,qe,Bt,"ˊ","\\'"),ke(gt,qe,Bt,"ˋ","\\`"),ke(gt,qe,Bt,"ˆ","\\^"),ke(gt,qe,Bt,"˜","\\~"),ke(gt,qe,Bt,"ˉ","\\="),ke(gt,qe,Bt,"˘","\\u"),ke(gt,qe,Bt,"˙","\\."),ke(gt,qe,Bt,"˚","\\r"),ke(gt,qe,Bt,"ˇ","\\v"),ke(gt,qe,Bt,"¨",'\\"'),ke(gt,qe,Bt,"˝","\\H"),ke(gt,qe,Bt,"◯","\\textcircled");var je={"--":!0,"---":!0,"``":!0,"''":!0};ke(gt,qe,Ae,"–","--",!0),ke(gt,qe,Ae,"–","\\textendash"),ke(gt,qe,Ae,"—","---",!0),ke(gt,qe,Ae,"—","\\textemdash"),ke(gt,qe,Ae,"‘","`",!0),ke(gt,qe,Ae,"‘","\\textquoteleft"),ke(gt,qe,Ae,"’","'",!0),ke(gt,qe,Ae,"’","\\textquoteright"),ke(gt,qe,Ae,"“","``",!0),ke(gt,qe,Ae,"“","\\textquotedblleft"),ke(gt,qe,Ae,"”","''",!0),ke(gt,qe,Ae,"”","\\textquotedblright"),ke(Ne,qe,Ae,"°","\\degree",!0),ke(gt,qe,Ae,"°","\\degree"),ke(gt,qe,Ae,"°","\\textdegree",!0),ke(Ne,qe,Ae,"£","\\pounds"),ke(Ne,qe,Ae,"£","\\mathsterling",!0),ke(gt,qe,Ae,"£","\\pounds"),ke(gt,qe,Ae,"£","\\textsterling",!0),ke(Ne,vt,Ae,"✠","\\maltese"),ke(gt,vt,Ae,"✠","\\maltese");for(var ot='0123456789/@."',ct=0;ctBe&&(Be=Zt.height),Zt.depth>Ve&&(Ve=Zt.depth),Zt.maxFontSize>nt&&(nt=Zt.maxFontSize)}Le.height=Be,Le.depth=Ve,Le.maxFontSize=nt},Lr=function(Le,Be,Ve,nt){var Lt=new fe(Le,Be,Ve,nt);return Ir(Lt),Lt},Br=function(Le,Be,Ve,nt){return new fe(Le,Be,Ve,nt)},zr=function(Le,Be,Ve){var nt=Lr([Le],[],Be);return nt.height=Math.max(Ve||Be.fontMetrics().defaultRuleThickness,Be.minRuleThickness),nt.style.borderBottomWidth=nt.height+"em",nt.maxFontSize=1,nt},cn=function(Le,Be,Ve,nt){var Lt=new te(Le,Be,Ve,nt);return Ir(Lt),Lt},tn=function(Le){var Be=new q(Le);return Ir(Be),Be},an=function(Le,Be){return Le instanceof q?Lr([],[Le],Be):Le},Wn=function(Le){if(Le.positionType==="individualShift"){for(var Be=Le.children,Ve=[Be[0]],nt=-Be[0].shift-Be[0].elem.depth,Lt=nt,Zt=1;Zt0&&(Lt.push(Bn(Zt,Le)),Zt=[]),Lt.push(Ve[hr]));Zt.length>0&&Lt.push(Bn(Zt,Le));var on;Be?(on=Bn(va(Be,Le,!0)),on.classes=["tag"],Lt.push(on)):nt&&Lt.push(nt);var Dn=In(["katex-html"],Lt);if(Dn.setAttribute("aria-hidden","true"),on){var Jn=on.children[0];Jn.style.height=Dn.height+Dn.depth+"em",Jn.style.verticalAlign=-Dn.depth+"em"}return Dn}function ta(jt){return new q(jt)}var Yn=function(){function jt(Be,Ve,nt){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=Be,this.attributes={},this.children=Ve||[],this.classes=nt||[]}var Le=jt.prototype;return Le.setAttribute=function(Ve,nt){this.attributes[Ve]=nt},Le.getAttribute=function(Ve){return this.attributes[Ve]},Le.toNode=function(){var Ve=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var nt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,nt)&&Ve.setAttribute(nt,this.attributes[nt]);this.classes.length>0&&(Ve.className=X(this.classes));for(var Lt=0;Lt0&&(Ve+=' class ="'+t.escape(X(this.classes))+'"'),Ve+=">";for(var Lt=0;Lt",Ve},Le.toText=function(){return this.children.map(function(Ve){return Ve.toText()}).join("")},jt}(),On=function(){function jt(Be){this.text=void 0,this.text=Be}var Le=jt.prototype;return Le.toNode=function(){return document.createTextNode(this.text)},Le.toMarkup=function(){return t.escape(this.toText())},Le.toText=function(){return this.text},jt}(),en=function(){function jt(Be){this.width=void 0,this.character=void 0,this.width=Be,Be>=.05555&&Be<=.05556?this.character=" ":Be>=.1666&&Be<=.1667?this.character=" ":Be>=.2222&&Be<=.2223?this.character=" ":Be>=.2777&&Be<=.2778?this.character="  ":Be>=-.05556&&Be<=-.05555?this.character=" ⁣":Be>=-.1667&&Be<=-.1666?this.character=" ⁣":Be>=-.2223&&Be<=-.2222?this.character=" ⁣":Be>=-.2778&&Be<=-.2777?this.character=" ⁣":this.character=null}var Le=jt.prototype;return Le.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ve=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ve.setAttribute("width",this.width+"em"),Ve},Le.toMarkup=function(){return this.character?""+this.character+"":''},Le.toText=function(){return this.character?this.character:" "},jt}(),pr={MathNode:Yn,TextNode:On,SpaceNode:en,newDocumentFragment:ta},nn=function(Le,Be,Ve){return lt[Be][Le]&<[Be][Le].replace&&Le.charCodeAt(0)!==55349&&!(je.hasOwnProperty(Le)&&Ve&&(Ve.fontFamily&&Ve.fontFamily.substr(4,2)==="tt"||Ve.font&&Ve.font.substr(4,2)==="tt"))&&(Le=lt[Be][Le].replace),new pr.TextNode(Le)},Vn=function(Le){return Le.length===1?Le[0]:new pr.MathNode("mrow",Le)},ha=function(Le,Be){if(Be.fontFamily==="texttt")return"monospace";if(Be.fontFamily==="textsf")return Be.fontShape==="textit"&&Be.fontWeight==="textbf"?"sans-serif-bold-italic":Be.fontShape==="textit"?"sans-serif-italic":Be.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Be.fontShape==="textit"&&Be.fontWeight==="textbf")return"bold-italic";if(Be.fontShape==="textit")return"italic";if(Be.fontWeight==="textbf")return"bold";var Ve=Be.font;if(!Ve||Ve==="mathnormal")return null;var nt=Le.mode;if(Ve==="mathit")return"italic";if(Ve==="boldsymbol")return Le.type==="textord"?"bold":"bold-italic";if(Ve==="mathbf")return"bold";if(Ve==="mathbb")return"double-struck";if(Ve==="mathfrak")return"fraktur";if(Ve==="mathscr"||Ve==="mathcal")return"script";if(Ve==="mathsf")return"sans-serif";if(Ve==="mathtt")return"monospace";var Lt=Le.text;if(t.contains(["\\imath","\\jmath"],Lt))return null;lt[nt][Lt]&<[nt][Lt].replace&&(Lt=lt[nt][Lt].replace);var Zt=lr.fontMap[Ve].fontName;return Xe(Lt,Zt,nt)?lr.fontMap[Ve].variant:null},ya=function(Le,Be,Ve){if(Le.length===1){var nt=na(Le[0],Be);return Ve&&nt instanceof Yn&&nt.type==="mo"&&(nt.setAttribute("lspace","0em"),nt.setAttribute("rspace","0em")),[nt]}for(var Lt=[],Zt,hr=0;hr0&&(Ra.text=Ra.text.slice(0,1)+"̸"+Ra.text.slice(1),Lt.pop())}}}Lt.push(Ur),Zt=Ur}return Lt},Gn=function(Le,Be,Ve){return Vn(ya(Le,Be,Ve))},na=function(Le,Be){if(!Le)return new pr.MathNode("mrow");if(_a[Le.type]){var Ve=_a[Le.type](Le,Be);return Ve}else throw new he("Got group of unknown type: '"+Le.type+"'")};function za(jt,Le,Be,Ve,nt){var Lt=ya(jt,Be),Zt;Lt.length===1&&Lt[0]instanceof Yn&&t.contains(["mrow","mtable"],Lt[0].type)?Zt=Lt[0]:Zt=new pr.MathNode("mrow",Lt);var hr=new pr.MathNode("annotation",[new pr.TextNode(Le)]);hr.setAttribute("encoding","application/x-tex");var Ur=new pr.MathNode("semantics",[Zt,hr]),on=new pr.MathNode("math",[Ur]);on.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),Ve&&on.setAttribute("display","block");var Dn=nt?"katex":"katex-mathml";return lr.makeSpan([Dn],[on])}var Ya=function(Le){return new Cr({style:Le.displayMode?o.DISPLAY:o.TEXT,maxSize:Le.maxSize,minRuleThickness:Le.minRuleThickness})},Va=function(Le,Be){if(Be.displayMode){var Ve=["katex-display"];Be.leqno&&Ve.push("leqno"),Be.fleqn&&Ve.push("fleqn"),Le=lr.makeSpan(Ve,[Le])}return Le},Ua=function(Le,Be,Ve){var nt=Ya(Ve),Lt;if(Ve.output==="mathml")return za(Le,Be,nt,Ve.displayMode,!0);if(Ve.output==="html"){var Zt=Nn(Le,nt);Lt=lr.makeSpan(["katex"],[Zt])}else{var hr=za(Le,Be,nt,Ve.displayMode,!1),Ur=Nn(Le,nt);Lt=lr.makeSpan(["katex"],[hr,Ur])}return Va(Lt,Ve)},$a=function(Le,Be,Ve){var nt=Ya(Ve),Lt=Nn(Le,nt),Zt=lr.makeSpan(["katex"],[Lt]);return Va(Zt,Ve)},hs={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":"="},Es=function(Le){var Be=new pr.MathNode("mo",[new pr.TextNode(hs[Le])]);return Be.setAttribute("stretchy","true"),Be},Is={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]},Gs=function(Le){return Le.type==="ordgroup"?Le.body.length:1},zs=function(Le,Be){function Ve(){var Ur=4e5,on=Le.label.substr(1);if(t.contains(["widehat","widecheck","widetilde","utilde"],on)){var Dn=Le,Jn=Gs(Dn.base),ga,Pa,Ra;if(Jn>5)on==="widehat"||on==="widecheck"?(ga=420,Ur=2364,Ra=.42,Pa=on+"4"):(ga=312,Ur=2340,Ra=.34,Pa="tilde4");else{var ri=[1,1,2,2,3,3][Jn];on==="widehat"||on==="widecheck"?(Ur=[0,1062,2364,2364,2364][ri],ga=[0,239,300,360,420][ri],Ra=[0,.24,.3,.3,.36,.42][ri],Pa=on+ri):(Ur=[0,600,1033,2339,2340][ri],ga=[0,260,286,306,312][ri],Ra=[0,.26,.286,.3,.306,.34][ri],Pa="tilde"+ri)}var Ka=new we(Pa),Ti=new me([Ka],{width:"100%",height:Ra+"em",viewBox:"0 0 "+Ur+" "+ga,preserveAspectRatio:"none"});return{span:lr.makeSvgSpan([],[Ti],Be),minWidth:0,height:Ra}}else{var _i=[],Li=Is[on],Xi=Li[0],ao=Li[1],Eo=Li[2],io=Eo/1e3,po=Xi.length,Ro,ko;if(po===1){var at=Li[3];Ro=["hide-tail"],ko=[at]}else if(po===2)Ro=["halfarrow-left","halfarrow-right"],ko=["xMinYMin","xMaxYMin"];else if(po===3)Ro=["brace-left","brace-center","brace-right"],ko=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+po+" children.");for(var ht=0;ht0&&(Lt.style.minWidth=Zt+"em"),Lt},Hf=function(Le,Be,Ve,nt,Lt){var Zt,hr=Le.height+Le.depth+Ve+nt;if(/fbox|color|angl/.test(Be)){if(Zt=lr.makeSpan(["stretchy",Be],[],Lt),Be==="fbox"){var Ur=Lt.color&&Lt.getColor();Ur&&(Zt.style.borderColor=Ur)}}else{var on=[];/^[bx]cancel$/.test(Be)&&on.push(new Se({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Be)&&on.push(new Se({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Dn=new me(on,{width:"100%",height:hr+"em"});Zt=lr.makeSvgSpan([],[Dn],Lt)}return Zt.height=hr,Zt.style.height=hr+"em",Zt},Vi={encloseSpan:Hf,mathMLnode:Es,svgSpan:zs};function Ui(jt,Le){if(!jt||jt.type!==Le)throw new Error("Expected node of type "+Le+", but got "+(jt?"node of type "+jt.type:String(jt)));return jt}function nu(jt){var Le=Qo(jt);if(!Le)throw new Error("Expected node of symbol group type, but got "+(jt?"node of type "+jt.type:String(jt)));return Le}function Qo(jt){return jt&&(jt.type==="atom"||pt.hasOwnProperty(jt.type))?jt:null}var Ts=function(Le,Be){var Ve,nt,Lt;Le&&Le.type==="supsub"?(nt=Ui(Le.base,"accent"),Ve=nt.base,Le.base=Ve,Lt=We(yn(Le,Be)),Le.base=nt):(nt=Ui(Le,"accent"),Ve=nt.base);var Zt=yn(Ve,Be.havingCrampedStyle()),hr=nt.isShifty&&t.isCharacterBox(Ve),Ur=0;if(hr){var on=t.getBaseElem(Ve),Dn=yn(on,Be.havingCrampedStyle());Ur=Ee(Dn).skew}var Jn=Math.min(Zt.height,Be.fontMetrics().xHeight),ga;if(nt.isStretchy)ga=Vi.svgSpan(nt,Be),ga=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Zt},{type:"elem",elem:ga,wrapperClasses:["svg-align"],wrapperStyle:Ur>0?{width:"calc(100% - "+2*Ur+"em)",marginLeft:2*Ur+"em"}:void 0}]},Be);else{var Pa,Ra;nt.label==="\\vec"?(Pa=lr.staticSvg("vec",Be),Ra=lr.svgData.vec[1]):(Pa=lr.makeOrd({mode:nt.mode,text:nt.label},Be,"textord"),Pa=Ee(Pa),Pa.italic=0,Ra=Pa.width),ga=lr.makeSpan(["accent-body"],[Pa]);var ri=nt.label==="\\textcircled";ri&&(ga.classes.push("accent-full"),Jn=Zt.height);var Ka=Ur;ri||(Ka-=Ra/2),ga.style.left=Ka+"em",nt.label==="\\textcircled"&&(ga.style.top=".2em"),ga=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Zt},{type:"kern",size:-Jn},{type:"elem",elem:ga}]},Be)}var Ti=lr.makeSpan(["mord","accent"],[ga],Be);return Lt?(Lt.children[0]=Ti,Lt.height=Math.max(Ti.height,Lt.height),Lt.classes[0]="mord",Lt):Ti},Vf=function(Le,Be){var Ve=Le.isStretchy?Vi.mathMLnode(Le.label):new pr.MathNode("mo",[nn(Le.label,Le.mode)]),nt=new pr.MathNode("mover",[na(Le.base,Be),Ve]);return nt.setAttribute("accent","true"),nt},_u=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(jt){return"\\"+jt}).join("|"));qn({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:function(Le,Be){var Ve=Xr(Be[0]),nt=!_u.test(Le.funcName),Lt=!nt||Le.funcName==="\\widehat"||Le.funcName==="\\widetilde"||Le.funcName==="\\widecheck";return{type:"accent",mode:Le.parser.mode,label:Le.funcName,isStretchy:nt,isShifty:Lt,base:Ve}},htmlBuilder:Ts,mathmlBuilder:Vf}),qn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1,argTypes:["primitive"]},handler:function(Le,Be){var Ve=Be[0];return{type:"accent",mode:Le.parser.mode,label:Le.funcName,isStretchy:!1,isShifty:!0,base:Ve}},htmlBuilder:Ts,mathmlBuilder:Vf}),qn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName,Lt=Be[0];return{type:"accentUnder",mode:Ve.mode,label:nt,base:Lt}},htmlBuilder:function(Le,Be){var Ve=yn(Le.base,Be),nt=Vi.svgSpan(Le,Be),Lt=Le.label==="\\utilde"?.12:0,Zt=lr.makeVList({positionType:"top",positionData:Ve.height,children:[{type:"elem",elem:nt,wrapperClasses:["svg-align"]},{type:"kern",size:Lt},{type:"elem",elem:Ve}]},Be);return lr.makeSpan(["mord","accentunder"],[Zt],Be)},mathmlBuilder:function(Le,Be){var Ve=Vi.mathMLnode(Le.label),nt=new pr.MathNode("munder",[na(Le.base,Be),Ve]);return nt.setAttribute("accentunder","true"),nt}});var Po=function(Le){var Be=new pr.MathNode("mpadded",Le?[Le]:[]);return Be.setAttribute("width","+0.6em"),Be.setAttribute("lspace","0.3em"),Be};qn({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:function(Le,Be,Ve){var nt=Le.parser,Lt=Le.funcName;return{type:"xArrow",mode:nt.mode,label:Lt,body:Be[0],below:Ve[0]}},htmlBuilder:function(Le,Be){var Ve=Be.style,nt=Be.havingStyle(Ve.sup()),Lt=lr.wrapFragment(yn(Le.body,nt,Be),Be),Zt=Le.label.slice(0,2)==="\\x"?"x":"cd";Lt.classes.push(Zt+"-arrow-pad");var hr;Le.below&&(nt=Be.havingStyle(Ve.sub()),hr=lr.wrapFragment(yn(Le.below,nt,Be),Be),hr.classes.push(Zt+"-arrow-pad"));var Ur=Vi.svgSpan(Le,Be),on=-Be.fontMetrics().axisHeight+.5*Ur.height,Dn=-Be.fontMetrics().axisHeight-.5*Ur.height-.111;(Lt.depth>.25||Le.label==="\\xleftequilibrium")&&(Dn-=Lt.depth);var Jn;if(hr){var ga=-Be.fontMetrics().axisHeight+hr.height+.5*Ur.height+.111;Jn=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Lt,shift:Dn},{type:"elem",elem:Ur,shift:on},{type:"elem",elem:hr,shift:ga}]},Be)}else Jn=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Lt,shift:Dn},{type:"elem",elem:Ur,shift:on}]},Be);return Jn.children[0].children[0].children[1].classes.push("svg-align"),lr.makeSpan(["mrel","x-arrow"],[Jn],Be)},mathmlBuilder:function(Le,Be){var Ve=Vi.mathMLnode(Le.label);Ve.setAttribute("minsize",Le.label.charAt(0)==="x"?"1.75em":"3.0em");var nt;if(Le.body){var Lt=Po(na(Le.body,Be));if(Le.below){var Zt=Po(na(Le.below,Be));nt=new pr.MathNode("munderover",[Ve,Zt,Lt])}else nt=new pr.MathNode("mover",[Ve,Lt])}else if(Le.below){var hr=Po(na(Le.below,Be));nt=new pr.MathNode("munder",[Ve,hr])}else nt=Po(),nt=new pr.MathNode("mover",[Ve,nt]);return nt}});var gf={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Fs=function(){return{type:"styling",body:[],mode:"math",style:"display"}},ts=function(Le){return Le.type==="textord"&&Le.text==="@"},Ws=function(Le,Be){return(Le.type==="mathord"||Le.type==="atom")&&Le.text===Be};function rs(jt,Le,Be){var Ve=gf[jt];switch(Ve){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return Be.callFunction(Ve,[Le[0]],[Le[1]]);case"\\uparrow":case"\\downarrow":{var nt=Be.callFunction("\\\\cdleft",[Le[0]],[]),Lt={type:"atom",text:Ve,mode:"math",family:"rel"},Zt=Be.callFunction("\\Big",[Lt],[]),hr=Be.callFunction("\\\\cdright",[Le[1]],[]),Ur={type:"ordgroup",mode:"math",body:[nt,Zt,hr]};return Be.callFunction("\\\\cdparent",[Ur],[])}case"\\\\cdlongequal":return Be.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var on={type:"textord",text:"\\Vert",mode:"math"};return Be.callFunction("\\Big",[on],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ns(jt){var Le=[];for(jt.gullet.beginGroup(),jt.gullet.macros.set("\\cr","\\\\\\relax"),jt.gullet.beginGroup();;){Le.push(jt.parseExpression(!1,"\\\\")),jt.gullet.endGroup(),jt.gullet.beginGroup();var Be=jt.fetch().text;if(Be==="&"||Be==="\\\\")jt.consume();else if(Be==="\\end"){Le[Le.length-1].length===0&&Le.pop();break}else throw new he("Expected \\\\ or \\cr or \\end",jt.nextToken)}for(var Ve=[],nt=[Ve],Lt=0;Lt-1))if("<>AV".indexOf(on)>-1)for(var Jn=0;Jn<2;Jn++){for(var ga=!0,Pa=Ur+1;PaAV=|." after @',Zt[Ur]);var Ra=rs(on,Dn,jt),ri={type:"styling",body:[Ra],mode:"math",style:"display"};Ve.push(ri),hr=Fs()}Lt%2===0?Ve.push(hr):Ve.shift(),Ve=[],nt.push(Ve)}jt.gullet.endGroup(),jt.gullet.endGroup();var Ka=new Array(nt[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:nt,arraystretch:1,addJot:!0,rowGaps:[null],cols:Ka,colSeparationType:"CD",hLinesBeforeRow:new Array(nt.length+1).fill([])}}qn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName;return{type:"cdlabel",mode:Ve.mode,side:nt.slice(4),label:Be[0]}},htmlBuilder:function(Le,Be){var Ve=Be.havingStyle(Be.style.sup()),nt=lr.wrapFragment(yn(Le.label,Ve,Be),Be);return nt.classes.push("cd-label-"+Le.side),nt.style.bottom=.8-nt.depth+"em",nt.height=0,nt.depth=0,nt},mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mrow",[na(Le.label,Be)]);return Ve=new pr.MathNode("mpadded",[Ve]),Ve.setAttribute("width","0"),Le.side==="left"&&Ve.setAttribute("lspace","-1width"),Ve.setAttribute("voffset","0.7em"),Ve=new pr.MathNode("mstyle",[Ve]),Ve.setAttribute("displaystyle","false"),Ve.setAttribute("scriptlevel","1"),Ve}}),qn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(Le,Be){var Ve=Le.parser;return{type:"cdlabelparent",mode:Ve.mode,fragment:Be[0]}},htmlBuilder:function(Le,Be){var Ve=lr.wrapFragment(yn(Le.fragment,Be),Be);return Ve.classes.push("cd-vert-arrow"),Ve},mathmlBuilder:function(Le,Be){return new pr.MathNode("mrow",[na(Le.fragment,Be)])}}),qn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Le,Be){for(var Ve=Le.parser,nt=Ui(Be[0],"ordgroup"),Lt=nt.body,Zt="",hr=0;hr","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wl=[0,1.2,1.8,2.4,3],m0=function(Le,Be,Ve,nt,Lt){if(Le==="<"||Le==="\\lt"||Le==="⟨"?Le="\\langle":(Le===">"||Le==="\\gt"||Le==="⟩")&&(Le="\\rangle"),t.contains(yu,Le)||t.contains(xu,Le))return wc(Le,Be,!1,Ve,nt,Lt);if(t.contains(Fo,Le))return Gc(Le,Wl[Be],!1,Ve,nt,Lt);throw new he("Illegal delimiter: '"+Le+"'")},rl=[{type:"small",style:o.SCRIPTSCRIPT},{type:"small",style:o.SCRIPT},{type:"small",style:o.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],nf=[{type:"small",style:o.SCRIPTSCRIPT},{type:"small",style:o.SCRIPT},{type:"small",style:o.TEXT},{type:"stack"}],af=[{type:"small",style:o.SCRIPTSCRIPT},{type:"small",style:o.SCRIPT},{type:"small",style:o.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],g0=function(Le){if(Le.type==="small")return"Main-Regular";if(Le.type==="large")return"Size"+Le.size+"-Regular";if(Le.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Le.type+"' here.")},Uo=function(Le,Be,Ve,nt){for(var Lt=Math.min(2,3-nt.style.size),Zt=Lt;ZtBe)return Ve[Zt]}return Ve[Ve.length-1]},nl=function(Le,Be,Ve,nt,Lt,Zt){Le==="<"||Le==="\\lt"||Le==="⟨"?Le="\\langle":(Le===">"||Le==="\\gt"||Le==="⟩")&&(Le="\\rangle");var hr;t.contains(xu,Le)?hr=rl:t.contains(yu,Le)?hr=af:hr=nf;var Ur=Uo(Le,Be,hr,nt);return Ur.type==="small"?xc(Le,Ur.style,Ve,nt,Lt,Zt):Ur.type==="large"?wc(Le,Ur.size,Ve,nt,Lt,Zt):Gc(Le,Be,Ve,nt,Lt,Zt)},Nu=function(Le,Be,Ve,nt,Lt,Zt){var hr=nt.fontMetrics().axisHeight*nt.sizeMultiplier,Ur=901,on=5/nt.fontMetrics().ptPerEm,Dn=Math.max(Be-hr,Ve+hr),Jn=Math.max(Dn/500*Ur,2*Dn-on);return nl(Le,Jn,!0,nt,Lt,Zt)},vs={sqrtImage:Sc,sizedDelim:m0,sizeToMaxHeight:Wl,customSizedDelim:nl,leftRightDelim:Nu},al={"\\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}},yl=["(","\\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 Uu(jt,Le){var Be=Qo(jt);if(Be&&t.contains(yl,Be.text))return Be;throw Be?new he("Invalid delimiter '"+Be.text+"' after '"+Le.funcName+"'",jt):new he("Invalid delimiter type '"+jt.type+"'",jt)}qn({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:function(Le,Be){var Ve=Uu(Be[0],Le);return{type:"delimsizing",mode:Le.parser.mode,size:al[Le.funcName].size,mclass:al[Le.funcName].mclass,delim:Ve.text}},htmlBuilder:function(Le,Be){return Le.delim==="."?lr.makeSpan([Le.mclass]):vs.sizedDelim(Le.delim,Le.size,Be,Le.mode,[Le.mclass])},mathmlBuilder:function(Le){var Be=[];Le.delim!=="."&&Be.push(nn(Le.delim,Le.mode));var Ve=new pr.MathNode("mo",Be);return Le.mclass==="mopen"||Le.mclass==="mclose"?Ve.setAttribute("fence","true"):Ve.setAttribute("fence","false"),Ve.setAttribute("stretchy","true"),Ve.setAttribute("minsize",vs.sizeToMaxHeight[Le.size]+"em"),Ve.setAttribute("maxsize",vs.sizeToMaxHeight[Le.size]+"em"),Ve}});function Rl(jt){if(!jt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}qn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(Le,Be){var Ve=Le.parser.gullet.macros.get("\\current@color");if(Ve&&typeof Ve!="string")throw new he("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Le.parser.mode,delim:Uu(Be[0],Le).text,color:Ve}}}),qn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(Le,Be){var Ve=Uu(Be[0],Le),nt=Le.parser;++nt.leftrightDepth;var Lt=nt.parseExpression(!1);--nt.leftrightDepth,nt.expect("\\right",!1);var Zt=Ui(nt.parseFunction(),"leftright-right");return{type:"leftright",mode:nt.mode,body:Lt,left:Ve.text,right:Zt.delim,rightColor:Zt.color}},htmlBuilder:function(Le,Be){Rl(Le);for(var Ve=va(Le.body,Be,!0,["mopen","mclose"]),nt=0,Lt=0,Zt=!1,hr=0;hr-1?"mpadded":"menclose",[na(Le.body,Be)]);switch(Le.label){case"\\cancel":nt.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":nt.setAttribute("notation","downdiagonalstrike");break;case"\\phase":nt.setAttribute("notation","phasorangle");break;case"\\sout":nt.setAttribute("notation","horizontalstrike");break;case"\\fbox":nt.setAttribute("notation","box");break;case"\\angl":nt.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(Ve=Be.fontMetrics().fboxsep*Be.fontMetrics().ptPerEm,nt.setAttribute("width","+"+2*Ve+"pt"),nt.setAttribute("height","+"+2*Ve+"pt"),nt.setAttribute("lspace",Ve+"pt"),nt.setAttribute("voffset",Ve+"pt"),Le.label==="\\fcolorbox"){var Lt=Math.max(Be.fontMetrics().fboxrule,Be.minRuleThickness);nt.setAttribute("style","border: "+Lt+"em solid "+String(Le.borderColor))}break;case"\\xcancel":nt.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Le.backgroundColor&&nt.setAttribute("mathbackground",Le.backgroundColor),nt};qn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(Le,Be,Ve){var nt=Le.parser,Lt=Le.funcName,Zt=Ui(Be[0],"color-token").color,hr=Be[1];return{type:"enclose",mode:nt.mode,label:Lt,backgroundColor:Zt,body:hr}},htmlBuilder:Yl,mathmlBuilder:Ho}),qn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(Le,Be,Ve){var nt=Le.parser,Lt=Le.funcName,Zt=Ui(Be[0],"color-token").color,hr=Ui(Be[1],"color-token").color,Ur=Be[2];return{type:"enclose",mode:nt.mode,label:Lt,backgroundColor:hr,borderColor:Zt,body:Ur}},htmlBuilder:Yl,mathmlBuilder:Ho}),qn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser;return{type:"enclose",mode:Ve.mode,label:"\\fbox",body:Be[0]}}}),qn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName,Lt=Be[0];return{type:"enclose",mode:Ve.mode,label:nt,body:Lt}},htmlBuilder:Yl,mathmlBuilder:Ho}),qn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(Le,Be){var Ve=Le.parser;return{type:"enclose",mode:Ve.mode,label:"\\angl",body:Be[0]}}});var yf={};function Zs(jt){for(var Le=jt.type,Be=jt.names,Ve=jt.props,nt=jt.handler,Lt=jt.htmlBuilder,Zt=jt.mathmlBuilder,hr={type:Le,numArgs:Ve.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:nt},Ur=0;Ur0&&(Li+=.25),on.push({pos:Li,isDashed:de[ze]})}for(Xi(Zt[0]),Ve=0;Ve0&&(at+=_i,io=hr)){var Zn=void 0;(nt>0||Le.hskipBeforeAndAfter)&&(Zn=t.deflt(Wr.pregap,ga),Zn!==0&&(Vt=lr.makeSpan(["arraycolsep"],[]),Vt.style.width=Zn+"em",Pt.push(Vt)));var Xn=[];for(Ve=0;Ve0){for(var wi=lr.makeLineSpan("hline",Be,Dn),Ai=lr.makeLineSpan("hdashline",Be,Dn),Si=[{type:"elem",elem:Ur,shift:0}];on.length>0;){var eo=on.pop(),Lo=eo.pos-ht;eo.isDashed?Si.push({type:"elem",elem:Ai,shift:Lo}):Si.push({type:"elem",elem:wi,shift:Lo})}Ur=lr.makeVList({positionType:"individualShift",children:Si},Be)}if(Le.addEqnNum){var mo=lr.makeVList({positionType:"individualShift",children:Jt},Be);return mo=lr.makeSpan(["tag"],[mo],Be),lr.makeFragment([Ur,mo])}else return lr.makeSpan(["mord"],[Ur],Be)},ps={c:"center ",l:"left ",r:"right "},Js=function(Le,Be){for(var Ve=[],nt=new pr.MathNode("mtd",[],["mtr-glue"]),Lt=new pr.MathNode("mtd",[],["mml-eqn-num"]),Zt=0;Zt0){var Ra=Le.cols,ri="",Ka=!1,Ti=0,_i=Ra.length;Ra[0].type==="separator"&&(ga+="top ",Ti=1),Ra[Ra.length-1].type==="separator"&&(ga+="bottom ",_i-=1);for(var Li=Ti;Li<_i;Li++)Ra[Li].type==="align"?(Pa+=ps[Ra[Li].align],Ka&&(ri+="none "),Ka=!0):Ra[Li].type==="separator"&&Ka&&(ri+=Ra[Li].separator==="|"?"solid ":"dashed ",Ka=!1);Dn.setAttribute("columnalign",Pa.trim()),/[sd]/.test(ri)&&Dn.setAttribute("columnlines",ri.trim())}if(Le.colSeparationType==="align"){for(var Xi=Le.cols||[],ao="",Eo=1;Eo0?"left ":"",ga+=po[po.length-1].length>0?"right ":"";for(var Ro=1;Ro-1?"alignat":"align",Lt=Il(Le.parser,{cols:Ve,addJot:!0,addEqnNum:Le.envName==="align"||Le.envName==="alignat",colSeparationType:nt,maxNumCols:Le.envName==="split"?2:void 0,leqno:Le.parser.settings.leqno},"display"),Zt,hr=0,Ur={type:"ordgroup",mode:Le.mode,body:[]};if(Be[0]&&Be[0].type==="ordgroup"){for(var on="",Dn=0;Dn0&&ga&&(ri=1),Ve[Pa]={type:"align",align:Ra,pregap:ri,postgap:0}}return Lt.colSeparationType=ga?"align":"alignat",Lt};Zs({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Le,Be){var Ve=Qo(Be[0]),nt=Ve?[Be[0]]:Ui(Be[0],"ordgroup").body,Lt=nt.map(function(hr){var Ur=nu(hr),on=Ur.text;if("lcr".indexOf(on)!==-1)return{type:"align",align:on};if(on==="|")return{type:"separator",separator:"|"};if(on===":")return{type:"separator",separator:":"};throw new he("Unknown column alignment: "+on,hr)}),Zt={cols:Lt,hskipBeforeAndAfter:!0,maxNumCols:Lt.length};return Il(Le.parser,Zt,iu(Le.envName))},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(Le){var Be={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Le.envName.replace("*","")],Ve="c",nt={hskipBeforeAndAfter:!1,cols:[{type:"align",align:Ve}]};if(Le.envName.charAt(Le.envName.length-1)==="*"){var Lt=Le.parser;if(Lt.consumeSpaces(),Lt.fetch().text==="["){if(Lt.consume(),Lt.consumeSpaces(),Ve=Lt.fetch().text,"lcr".indexOf(Ve)===-1)throw new he("Expected l or c or r",Lt.nextToken);Lt.consume(),Lt.consumeSpaces(),Lt.expect("]"),Lt.consume(),nt.cols=[{type:"align",align:Ve}]}}var Zt=Il(Le.parser,nt,iu(Le.envName));return Zt.cols=new Array(Zt.body[0].length).fill({type:"align",align:Ve}),Be?{type:"leftright",mode:Le.mode,body:[Zt],left:Be[0],right:Be[1],rightColor:void 0}:Zt},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Le){var Be={arraystretch:.5},Ve=Il(Le.parser,Be,"script");return Ve.colSeparationType="small",Ve},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Le,Be){var Ve=Qo(Be[0]),nt=Ve?[Be[0]]:Ui(Be[0],"ordgroup").body,Lt=nt.map(function(hr){var Ur=nu(hr),on=Ur.text;if("lc".indexOf(on)!==-1)return{type:"align",align:on};throw new he("Unknown column alignment: "+on,hr)});if(Lt.length>1)throw new he("{subarray} can contain only one column");var Zt={cols:Lt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Zt=Il(Le.parser,Zt,"script"),Zt.body.length>0&&Zt.body[0].length>1)throw new he("{subarray} can contain only one column");return Zt},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(Le){var Be={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ve=Il(Le.parser,Be,iu(Le.envName));return{type:"leftright",mode:Le.mode,body:[Ve],left:Le.envName.indexOf("r")>-1?".":"\\{",right:Le.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Wc,htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(Le){t.contains(["gather","gather*"],Le.envName)&&Hu(Le);var Be={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",addEqnNum:Le.envName==="gather",leqno:Le.parser.settings.leqno};return Il(Le.parser,Be,"display")},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Wc,htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(Le){Hu(Le);var Be={addEqnNum:Le.envName==="equation",singleRow:!0,maxNumCols:1,leqno:Le.parser.settings.leqno};return Il(Le.parser,Be,"display")},htmlBuilder:As,mathmlBuilder:Js}),Zs({type:"array",names:["CD"],props:{numArgs:0},handler:function(Le){return Hu(Le),ns(Le.parser)},htmlBuilder:As,mathmlBuilder:Js}),qn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Le,Be){throw new he(Le.funcName+" valid only within array environment")}});var Mc=yf,Yc=Mc;qn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName,Lt=Be[0];if(Lt.type!=="ordgroup")throw new he("Invalid environment name",Lt);for(var Zt="",hr=0;hr=o.SCRIPT.id?Ve.text():o.DISPLAY:Le==="text"&&Ve.size===o.DISPLAY.size?Ve=o.TEXT:Le==="script"?Ve=o.SCRIPT:Le==="scriptscript"&&(Ve=o.SCRIPTSCRIPT),Ve},fo=function(Le,Be){var Ve=jf(Le.size,Be.style),nt=Ve.fracNum(),Lt=Ve.fracDen(),Zt;Zt=Be.havingStyle(nt);var hr=yn(Le.numer,Zt,Be);if(Le.continued){var Ur=8.5/Be.fontMetrics().ptPerEm,on=3.5/Be.fontMetrics().ptPerEm;hr.height=hr.height0?ri=3*Pa:ri=7*Pa,Ka=Be.fontMetrics().denom1):(ga>0?(Ra=Be.fontMetrics().num2,ri=Pa):(Ra=Be.fontMetrics().num3,ri=3*Pa),Ka=Be.fontMetrics().denom2);var Ti;if(Jn){var Li=Be.fontMetrics().axisHeight;Ra-hr.depth-(Li+.5*ga)0&&(Be=Le,Be=Be==="."?null:Be),Be};qn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(Le,Be){var Ve=Le.parser,nt=Be[4],Lt=Be[5],Zt=Xr(Be[0]),hr=Zt.type==="atom"&&Zt.family==="open"?bu(Zt.text):null,Ur=Xr(Be[1]),on=Ur.type==="atom"&&Ur.family==="close"?bu(Ur.text):null,Dn=Ui(Be[2],"size"),Jn,ga=null;Dn.isBlank?Jn=!0:(ga=Dn.value,Jn=ga.number>0);var Pa="auto",Ra=Be[3];if(Ra.type==="ordgroup"){if(Ra.body.length>0){var ri=Ui(Ra.body[0],"textord");Pa=xl[Number(ri.text)]}}else Ra=Ui(Ra,"textord"),Pa=xl[Number(Ra.text)];return{type:"genfrac",mode:Ve.mode,numer:nt,denom:Lt,continued:!1,hasBarLine:Jn,barSize:ga,leftDelim:hr,rightDelim:on,size:Pa}},htmlBuilder:fo,mathmlBuilder:Xf}),qn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Le,Be){var Ve=Le.parser;Le.funcName;var nt=Le.token;return{type:"infix",mode:Ve.mode,replaceWith:"\\\\abovefrac",size:Ui(Be[0],"size").value,token:nt}}}),qn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Le,Be){var Ve=Le.parser;Le.funcName;var nt=Be[0],Lt=m(Ui(Be[1],"infix").size),Zt=Be[2],hr=Lt.number>0;return{type:"genfrac",mode:Ve.mode,numer:nt,denom:Zt,continued:!1,hasBarLine:hr,barSize:Lt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:fo,mathmlBuilder:Xf});var wu=function(Le,Be){var Ve=Be.style,nt,Lt;Le.type==="supsub"?(nt=Le.sup?yn(Le.sup,Be.havingStyle(Ve.sup()),Be):yn(Le.sub,Be.havingStyle(Ve.sub()),Be),Lt=Ui(Le.base,"horizBrace")):Lt=Ui(Le,"horizBrace");var Zt=yn(Lt.base,Be.havingBaseStyle(o.DISPLAY)),hr=Vi.svgSpan(Lt,Be),Ur;if(Lt.isOver?(Ur=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Zt},{type:"kern",size:.1},{type:"elem",elem:hr}]},Be),Ur.children[0].children[0].children[1].classes.push("svg-align")):(Ur=lr.makeVList({positionType:"bottom",positionData:Zt.depth+.1+hr.height,children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:Zt}]},Be),Ur.children[0].children[0].children[0].classes.push("svg-align")),nt){var on=lr.makeSpan(["mord",Lt.isOver?"mover":"munder"],[Ur],Be);Lt.isOver?Ur=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:on},{type:"kern",size:.2},{type:"elem",elem:nt}]},Be):Ur=lr.makeVList({positionType:"bottom",positionData:on.depth+.2+nt.height+nt.depth,children:[{type:"elem",elem:nt},{type:"kern",size:.2},{type:"elem",elem:on}]},Be)}return lr.makeSpan(["mord",Lt.isOver?"mover":"munder"],[Ur],Be)},Cc=function(Le,Be){var Ve=Vi.mathMLnode(Le.label);return new pr.MathNode(Le.isOver?"mover":"munder",[na(Le.base,Be),Ve])};qn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName;return{type:"horizBrace",mode:Ve.mode,label:nt,isOver:/^\\over/.test(nt),base:Be[0]}},htmlBuilder:wu,mathmlBuilder:Cc}),qn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser,nt=Be[1],Lt=Ui(Be[0],"url").url;return Ve.settings.isTrusted({command:"\\href",url:Lt})?{type:"href",mode:Ve.mode,href:Lt,body:An(nt)}:Ve.formatUnsupportedCmd("\\href")},htmlBuilder:function(Le,Be){var Ve=va(Le.body,Be,!1);return lr.makeAnchor(Le.href,[],Ve,Be)},mathmlBuilder:function(Le,Be){var Ve=Gn(Le.body,Be);return Ve instanceof Yn||(Ve=new Yn("mrow",[Ve])),Ve.setAttribute("href",Le.href),Ve}}),qn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser,nt=Ui(Be[0],"url").url;if(!Ve.settings.isTrusted({command:"\\url",url:nt}))return Ve.formatUnsupportedCmd("\\url");for(var Lt=[],Zt=0;Zt0&&(nt=et(Le.totalheight,Be)-Ve,nt=Number(nt.toFixed(2)));var Lt=0;Le.width.number>0&&(Lt=et(Le.width,Be));var Zt={height:Ve+nt+"em"};Lt>0&&(Zt.width=Lt+"em"),nt>0&&(Zt.verticalAlign=-nt+"em");var hr=new ee(Le.src,Le.alt,Zt);return hr.height=Ve,hr.depth=nt,hr},mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mglyph",[]);Ve.setAttribute("alt",Le.alt);var nt=et(Le.height,Be),Lt=0;if(Le.totalheight.number>0&&(Lt=et(Le.totalheight,Be)-nt,Lt=Lt.toFixed(2),Ve.setAttribute("valign","-"+Lt+"em")),Ve.setAttribute("height",nt+Lt+"em"),Le.width.number>0){var Zt=et(Le.width,Be);Ve.setAttribute("width",Zt+"em")}return Ve.setAttribute("src",Le.src),Ve}}),qn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName,Lt=Ui(Be[0],"size");if(Ve.settings.strict){var Zt=nt[1]==="m",hr=Lt.value.unit==="mu";Zt?(hr||Ve.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+nt+" supports only mu units, "+("not "+Lt.value.unit+" units")),Ve.mode!=="math"&&Ve.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+nt+" works only in math mode")):hr&&Ve.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+nt+" doesn't support mu units")}return{type:"kern",mode:Ve.mode,dimension:Lt.value}},htmlBuilder:function(Le,Be){return lr.makeGlue(Le.dimension,Be)},mathmlBuilder:function(Le,Be){var Ve=et(Le.dimension,Be);return new pr.SpaceNode(Ve)}}),qn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName,Lt=Be[0];return{type:"lap",mode:Ve.mode,alignment:nt.slice(5),body:Lt}},htmlBuilder:function(Le,Be){var Ve;Le.alignment==="clap"?(Ve=lr.makeSpan([],[yn(Le.body,Be)]),Ve=lr.makeSpan(["inner"],[Ve],Be)):Ve=lr.makeSpan(["inner"],[yn(Le.body,Be)]);var nt=lr.makeSpan(["fix"],[]),Lt=lr.makeSpan([Le.alignment],[Ve,nt],Be),Zt=lr.makeSpan(["strut"]);return Zt.style.height=Lt.height+Lt.depth+"em",Zt.style.verticalAlign=-Lt.depth+"em",Lt.children.unshift(Zt),Lt=lr.makeSpan(["thinbox"],[Lt],Be),lr.makeSpan(["mord","vbox"],[Lt],Be)},mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mpadded",[na(Le.body,Be)]);if(Le.alignment!=="rlap"){var nt=Le.alignment==="llap"?"-1":"-0.5";Ve.setAttribute("lspace",nt+"width")}return Ve.setAttribute("width","0px"),Ve}}),qn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Le,Be){var Ve=Le.funcName,nt=Le.parser,Lt=nt.mode;nt.switchMode("math");var Zt=Ve==="\\("?"\\)":"$",hr=nt.parseExpression(!1,Zt);return nt.expect(Zt),nt.switchMode(Lt),{type:"styling",mode:nt.mode,style:"text",body:hr}}}),qn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Le,Be){throw new he("Mismatched "+Le.funcName)}});var lf=function(Le,Be){switch(Be.style.size){case o.DISPLAY.size:return Le.display;case o.TEXT.size:return Le.text;case o.SCRIPT.size:return Le.script;case o.SCRIPTSCRIPT.size:return Le.scriptscript;default:return Le.text}};qn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(Le,Be){var Ve=Le.parser;return{type:"mathchoice",mode:Ve.mode,display:An(Be[0]),text:An(Be[1]),script:An(Be[2]),scriptscript:An(Be[3])}},htmlBuilder:function(Le,Be){var Ve=lf(Le,Be),nt=va(Ve,Be,!1);return lr.makeFragment(nt)},mathmlBuilder:function(Le,Be){var Ve=lf(Le,Be);return Gn(Ve,Be)}});var ms=function(Le,Be,Ve,nt,Lt,Zt,hr){Le=lr.makeSpan([],[Le]);var Ur,on;if(Be){var Dn=yn(Be,nt.havingStyle(Lt.sup()),nt);on={elem:Dn,kern:Math.max(nt.fontMetrics().bigOpSpacing1,nt.fontMetrics().bigOpSpacing3-Dn.depth)}}if(Ve){var Jn=yn(Ve,nt.havingStyle(Lt.sub()),nt);Ur={elem:Jn,kern:Math.max(nt.fontMetrics().bigOpSpacing2,nt.fontMetrics().bigOpSpacing4-Jn.height)}}var ga;if(on&&Ur){var Pa=nt.fontMetrics().bigOpSpacing5+Ur.elem.height+Ur.elem.depth+Ur.kern+Le.depth+hr;ga=lr.makeVList({positionType:"bottom",positionData:Pa,children:[{type:"kern",size:nt.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ur.elem,marginLeft:-Zt+"em"},{type:"kern",size:Ur.kern},{type:"elem",elem:Le},{type:"kern",size:on.kern},{type:"elem",elem:on.elem,marginLeft:Zt+"em"},{type:"kern",size:nt.fontMetrics().bigOpSpacing5}]},nt)}else if(Ur){var Ra=Le.height-hr;ga=lr.makeVList({positionType:"top",positionData:Ra,children:[{type:"kern",size:nt.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ur.elem,marginLeft:-Zt+"em"},{type:"kern",size:Ur.kern},{type:"elem",elem:Le}]},nt)}else if(on){var ri=Le.depth+hr;ga=lr.makeVList({positionType:"bottom",positionData:ri,children:[{type:"elem",elem:Le},{type:"kern",size:on.kern},{type:"elem",elem:on.elem,marginLeft:Zt+"em"},{type:"kern",size:nt.fontMetrics().bigOpSpacing5}]},nt)}else return Le;return lr.makeSpan(["mop","op-limits"],[ga],nt)},bl=["\\smallint"],js=function(Le,Be){var Ve,nt,Lt=!1,Zt;Le.type==="supsub"?(Ve=Le.sup,nt=Le.sub,Zt=Ui(Le.base,"op"),Lt=!0):Zt=Ui(Le,"op");var hr=Be.style,Ur=!1;hr.size===o.DISPLAY.size&&Zt.symbol&&!t.contains(bl,Zt.name)&&(Ur=!0);var on;if(Zt.symbol){var Dn=Ur?"Size2-Regular":"Size1-Regular",Jn="";if((Zt.name==="\\oiint"||Zt.name==="\\oiiint")&&(Jn=Zt.name.substr(1),Zt.name=Jn==="oiint"?"\\iint":"\\iiint"),on=lr.makeSymbol(Zt.name,Dn,"math",Be,["mop","op-symbol",Ur?"large-op":"small-op"]),Jn.length>0){var ga=on.italic,Pa=lr.staticSvg(Jn+"Size"+(Ur?"2":"1"),Be);on=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:on,shift:0},{type:"elem",elem:Pa,shift:Ur?.08:0}]},Be),Zt.name="\\"+Jn,on.classes.unshift("mop"),on.italic=ga}}else if(Zt.body){var Ra=va(Zt.body,Be,!0);Ra.length===1&&Ra[0]instanceof le?(on=Ra[0],on.classes[0]="mop"):on=lr.makeSpan(["mop"],Ra,Be)}else{for(var ri=[],Ka=1;Ka0){for(var Ur=Zt.body.map(function(ga){var Pa=ga.text;return typeof Pa=="string"?{type:"textord",mode:ga.mode,text:Pa}:ga}),on=va(Ur,Be.withFont("mathrm"),!0),Dn=0;Dn=0?Ur.setAttribute("height","+"+Lt+"em"):(Ur.setAttribute("height",Lt+"em"),Ur.setAttribute("depth","+"+-Lt+"em")),Ur.setAttribute("voffset",Lt+"em"),Ur}});function Su(jt,Le,Be){for(var Ve=va(jt,Le,!1),nt=Le.sizeMultiplier/Be.sizeMultiplier,Lt=0;LtVe.height+Ve.depth+hr&&(hr=(hr+Pa-Ve.height-Ve.depth)/2);var Ra=Dn.height-Ve.height-hr-Jn;Ve.style.paddingLeft=ga+"em";var ri=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ve,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ve.height+Ra)},{type:"elem",elem:Dn},{type:"kern",size:Jn}]},Be);if(Le.index){var Ka=Be.havingStyle(o.SCRIPTSCRIPT),Ti=yn(Le.index,Ka,Be),_i=.6*(ri.height-ri.depth),Li=lr.makeVList({positionType:"shift",positionData:-_i,children:[{type:"elem",elem:Ti}]},Be),Xi=lr.makeSpan(["root"],[Li]);return lr.makeSpan(["mord","sqrt"],[Xi,ri],Be)}else return lr.makeSpan(["mord","sqrt"],[ri],Be)},mathmlBuilder:function(Le,Be){var Ve=Le.body,nt=Le.index;return nt?new pr.MathNode("mroot",[na(Ve,Be),na(nt,Be)]):new pr.MathNode("msqrt",[na(Ve,Be)])}});var Zc={display:o.DISPLAY,text:o.TEXT,script:o.SCRIPT,scriptscript:o.SCRIPTSCRIPT};qn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(Le,Be){var Ve=Le.breakOnTokenText,nt=Le.funcName,Lt=Le.parser,Zt=Lt.parseExpression(!0,Ve),hr=nt.slice(1,nt.length-5);return{type:"styling",mode:Lt.mode,style:hr,body:Zt}},htmlBuilder:function(Le,Be){var Ve=Zc[Le.style],nt=Be.havingStyle(Ve).withFont("");return Su(Le.body,nt,Be)},mathmlBuilder:function(Le,Be){var Ve=Zc[Le.style],nt=Be.havingStyle(Ve),Lt=ya(Le.body,nt),Zt=new pr.MathNode("mstyle",Lt),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ur=hr[Le.style];return Zt.setAttribute("scriptlevel",Ur[0]),Zt.setAttribute("displaystyle",Ur[1]),Zt}});var y0=function(Le,Be){var Ve=Le.base;if(Ve)if(Ve.type==="op"){var nt=Ve.limits&&(Be.style.size===o.DISPLAY.size||Ve.alwaysHandleSupSub);return nt?js:null}else if(Ve.type==="operatorname"){var Lt=Ve.alwaysHandleSupSub&&(Be.style.size===o.DISPLAY.size||Ve.limits);return Lt?wl:null}else{if(Ve.type==="accent")return t.isCharacterBox(Ve.base)?Ts:null;if(Ve.type==="horizBrace"){var Zt=!Le.sub;return Zt===Ve.isOver?wu:null}else return null}else return null};La({type:"supsub",htmlBuilder:function(Le,Be){var Ve=y0(Le,Be);if(Ve)return Ve(Le,Be);var nt=Le.base,Lt=Le.sup,Zt=Le.sub,hr=yn(nt,Be),Ur,on,Dn=Be.fontMetrics(),Jn=0,ga=0,Pa=nt&&t.isCharacterBox(nt);if(Lt){var Ra=Be.havingStyle(Be.style.sup());Ur=yn(Lt,Ra,Be),Pa||(Jn=hr.height-Ra.fontMetrics().supDrop*Ra.sizeMultiplier/Be.sizeMultiplier)}if(Zt){var ri=Be.havingStyle(Be.style.sub());on=yn(Zt,ri,Be),Pa||(ga=hr.depth+ri.fontMetrics().subDrop*ri.sizeMultiplier/Be.sizeMultiplier)}var Ka;Be.style===o.DISPLAY?Ka=Dn.sup1:Be.style.cramped?Ka=Dn.sup3:Ka=Dn.sup2;var Ti=Be.sizeMultiplier,_i=.5/Dn.ptPerEm/Ti+"em",Li=null;if(on){var Xi=Le.base&&Le.base.type==="op"&&Le.base.name&&(Le.base.name==="\\oiint"||Le.base.name==="\\oiiint");(hr instanceof le||Xi)&&(Li=-hr.italic+"em")}var ao;if(Ur&&on){Jn=Math.max(Jn,Ka,Ur.depth+.25*Dn.xHeight),ga=Math.max(ga,Dn.sub2);var Eo=Dn.defaultRuleThickness,io=4*Eo;if(Jn-Ur.depth-(on.height-ga)0&&(Jn+=po,ga-=po)}var Ro=[{type:"elem",elem:on,shift:ga,marginRight:_i,marginLeft:Li},{type:"elem",elem:Ur,shift:-Jn,marginRight:_i}];ao=lr.makeVList({positionType:"individualShift",children:Ro},Be)}else if(on){ga=Math.max(ga,Dn.sub1,on.height-.8*Dn.xHeight);var ko=[{type:"elem",elem:on,marginLeft:Li,marginRight:_i}];ao=lr.makeVList({positionType:"shift",positionData:ga,children:ko},Be)}else if(Ur)Jn=Math.max(Jn,Ka,Ur.depth+.25*Dn.xHeight),ao=lr.makeVList({positionType:"shift",positionData:-Jn,children:[{type:"elem",elem:Ur,marginRight:_i}]},Be);else throw new Error("supsub must have either sup or sub.");var at=sr(hr,"right")||"mord";return lr.makeSpan([at],[hr,lr.makeSpan(["msupsub"],[ao])],Be)},mathmlBuilder:function(Le,Be){var Ve=!1,nt,Lt;Le.base&&Le.base.type==="horizBrace"&&(Lt=!!Le.sup,Lt===Le.base.isOver&&(Ve=!0,nt=Le.base.isOver)),Le.base&&(Le.base.type==="op"||Le.base.type==="operatorname")&&(Le.base.parentIsSupSub=!0);var Zt=[na(Le.base,Be)];Le.sub&&Zt.push(na(Le.sub,Be)),Le.sup&&Zt.push(na(Le.sup,Be));var hr;if(Ve)hr=nt?"mover":"munder";else if(Le.sub)if(Le.sup){var Dn=Le.base;Dn&&Dn.type==="op"&&Dn.limits&&Be.style===o.DISPLAY||Dn&&Dn.type==="operatorname"&&Dn.alwaysHandleSupSub&&(Be.style===o.DISPLAY||Dn.limits)?hr="munderover":hr="msubsup"}else{var on=Le.base;on&&on.type==="op"&&on.limits&&(Be.style===o.DISPLAY||on.alwaysHandleSupSub)||on&&on.type==="operatorname"&&on.alwaysHandleSupSub&&(on.limits||Be.style===o.DISPLAY)?hr="munder":hr="msub"}else{var Ur=Le.base;Ur&&Ur.type==="op"&&Ur.limits&&(Be.style===o.DISPLAY||Ur.alwaysHandleSupSub)||Ur&&Ur.type==="operatorname"&&Ur.alwaysHandleSupSub&&(Ur.limits||Be.style===o.DISPLAY)?hr="mover":hr="msup"}return new pr.MathNode(hr,Zt)}}),La({type:"atom",htmlBuilder:function(Le,Be){return lr.mathsym(Le.text,Le.mode,Be,["m"+Le.family])},mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mo",[nn(Le.text,Le.mode)]);if(Le.family==="bin"){var nt=ha(Le,Be);nt==="bold-italic"&&Ve.setAttribute("mathvariant",nt)}else Le.family==="punct"?Ve.setAttribute("separator","true"):(Le.family==="open"||Le.family==="close")&&Ve.setAttribute("stretchy","false");return Ve}});var jc={mi:"italic",mn:"normal",mtext:"normal"};La({type:"mathord",htmlBuilder:function(Le,Be){return lr.makeOrd(Le,Be,"mathord")},mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mi",[nn(Le.text,Le.mode,Be)]),nt=ha(Le,Be)||"italic";return nt!==jc[Ve.type]&&Ve.setAttribute("mathvariant",nt),Ve}}),La({type:"textord",htmlBuilder:function(Le,Be){return lr.makeOrd(Le,Be,"textord")},mathmlBuilder:function(Le,Be){var Ve=nn(Le.text,Le.mode,Be),nt=ha(Le,Be)||"normal",Lt;return Le.mode==="text"?Lt=new pr.MathNode("mtext",[Ve]):/[0-9]/.test(Le.text)?Lt=new pr.MathNode("mn",[Ve]):Le.text==="\\prime"?Lt=new pr.MathNode("mo",[Ve]):Lt=new pr.MathNode("mi",[Ve]),nt!==jc[Lt.type]&&Lt.setAttribute("mathvariant",nt),Lt}});var wf={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Zl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};La({type:"spacing",htmlBuilder:function(Le,Be){if(Zl.hasOwnProperty(Le.text)){var Ve=Zl[Le.text].className||"";if(Le.mode==="text"){var nt=lr.makeOrd(Le,Be,"textord");return nt.classes.push(Ve),nt}else return lr.makeSpan(["mspace",Ve],[lr.mathsym(Le.text,Le.mode,Be)],Be)}else{if(wf.hasOwnProperty(Le.text))return lr.makeSpan(["mspace",wf[Le.text]],[],Be);throw new he('Unknown type of space "'+Le.text+'"')}},mathmlBuilder:function(Le,Be){var Ve;if(Zl.hasOwnProperty(Le.text))Ve=new pr.MathNode("mtext",[new pr.TextNode(" ")]);else{if(wf.hasOwnProperty(Le.text))return new pr.MathNode("mspace");throw new he('Unknown type of space "'+Le.text+'"')}return Ve}});var Vo=function(){var Le=new pr.MathNode("mtd",[]);return Le.setAttribute("width","50%"),Le};La({type:"tag",mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mtable",[new pr.MathNode("mtr",[Vo(),new pr.MathNode("mtd",[Gn(Le.body,Be)]),Vo(),new pr.MathNode("mtd",[Gn(Le.tag,Be)])])]);return Ve.setAttribute("width","100%"),Ve}});var Tl={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ms={"\\textbf":"textbf","\\textmd":"textmd"},Ls={"\\textit":"textit","\\textup":"textup"},ou=function(Le,Be){var Ve=Le.font;return Ve?Tl[Ve]?Be.withTextFontFamily(Tl[Ve]):Ms[Ve]?Be.withTextFontWeight(Ms[Ve]):Be.withTextFontShape(Ls[Ve]):Be};qn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser,nt=Le.funcName,Lt=Be[0];return{type:"text",mode:Ve.mode,body:An(Lt),font:nt}},htmlBuilder:function(Le,Be){var Ve=ou(Le,Be),nt=va(Le.body,Ve,!0);return lr.makeSpan(["mord","text"],nt,Ve)},mathmlBuilder:function(Le,Be){var Ve=ou(Le,Be);return Gn(Le.body,Ve)}}),qn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Le,Be){var Ve=Le.parser;return{type:"underline",mode:Ve.mode,body:Be[0]}},htmlBuilder:function(Le,Be){var Ve=yn(Le.body,Be),nt=lr.makeLineSpan("underline-line",Be),Lt=Be.fontMetrics().defaultRuleThickness,Zt=lr.makeVList({positionType:"top",positionData:Ve.height,children:[{type:"kern",size:Lt},{type:"elem",elem:nt},{type:"kern",size:3*Lt},{type:"elem",elem:Ve}]},Be);return lr.makeSpan(["mord","underline"],[Zt],Be)},mathmlBuilder:function(Le,Be){var Ve=new pr.MathNode("mo",[new pr.TextNode("‾")]);Ve.setAttribute("stretchy","true");var nt=new pr.MathNode("munder",[na(Le.body,Be),Ve]);return nt.setAttribute("accentunder","true"),nt}}),qn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(Le,Be){var Ve=Le.parser;return{type:"vcenter",mode:Ve.mode,body:Be[0]}},htmlBuilder:function(Le,Be){var Ve=yn(Le.body,Be),nt=Be.fontMetrics().axisHeight,Lt=.5*(Ve.height-nt-(Ve.depth+nt));return lr.makeVList({positionType:"shift",positionData:Lt,children:[{type:"elem",elem:Ve}]},Be)},mathmlBuilder:function(Le,Be){return new pr.MathNode("mpadded",[na(Le.body,Be)],["vcenter"])}}),qn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Le,Be,Ve){throw new he("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Le,Be){for(var Ve=Mu(Le),nt=[],Lt=Be.havingStyle(Be.style.text()),Zt=0;Zt0&&(this.undefStack[this.undefStack.length-1][Ve]=nt)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Ve)&&(hr[Ve]=this.current[Ve])}this.current[Ve]=nt},jt}(),Cf={},su=Cf;function jr(jt,Le){Cf[jt]=Le}jr("\\noexpand",function(jt){var Le=jt.popToken();return jt.isExpandable(Le.text)&&(Le.noexpand=!0,Le.treatAsRelax=!0),{tokens:[Le],numArgs:0}}),jr("\\expandafter",function(jt){var Le=jt.popToken();return jt.expandOnce(!0),{tokens:[Le],numArgs:0}}),jr("\\@firstoftwo",function(jt){var Le=jt.consumeArgs(2);return{tokens:Le[0],numArgs:0}}),jr("\\@secondoftwo",function(jt){var Le=jt.consumeArgs(2);return{tokens:Le[1],numArgs:0}}),jr("\\@ifnextchar",function(jt){var Le=jt.consumeArgs(3);jt.consumeSpaces();var Be=jt.future();return Le[0].length===1&&Le[0][0].text===Be.text?{tokens:Le[1],numArgs:0}:{tokens:Le[2],numArgs:0}}),jr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),jr("\\TextOrMath",function(jt){var Le=jt.consumeArgs(2);return jt.mode==="text"?{tokens:Le[0],numArgs:0}:{tokens:Le[1],numArgs:0}});var Jf={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};jr("\\char",function(jt){var Le=jt.popToken(),Be,Ve="";if(Le.text==="'")Be=8,Le=jt.popToken();else if(Le.text==='"')Be=16,Le=jt.popToken();else if(Le.text==="`")if(Le=jt.popToken(),Le.text[0]==="\\")Ve=Le.text.charCodeAt(1);else{if(Le.text==="EOF")throw new he("\\char` missing argument");Ve=Le.text.charCodeAt(0)}else Be=10;if(Be){if(Ve=Jf[Le.text],Ve==null||Ve>=Be)throw new he("Invalid base-"+Be+" digit "+Le.text);for(var nt;(nt=Jf[jt.future().text])!=null&&nt":"\\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"};jr("\\dots",function(jt){var Le="\\dotso",Be=jt.expandAfterFuture().text;return Be in no?Le=no[Be]:(Be.substr(0,4)==="\\not"||Be in lt.math&&t.contains(["bin","rel"],lt.math[Be].group))&&(Le="\\dotsb"),Le});var Fl={")":!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};jr("\\dotso",function(jt){var Le=jt.future().text;return Le in Fl?"\\ldots\\,":"\\ldots"}),jr("\\dotsc",function(jt){var Le=jt.future().text;return Le in Fl&&Le!==","?"\\ldots\\,":"\\ldots"}),jr("\\cdots",function(jt){var Le=jt.future().text;return Le in Fl?"\\@cdots\\,":"\\@cdots"}),jr("\\dotsb","\\cdots"),jr("\\dotsm","\\cdots"),jr("\\dotsi","\\!\\cdots"),jr("\\dotsx","\\ldots\\,"),jr("\\DOTSI","\\relax"),jr("\\DOTSB","\\relax"),jr("\\DOTSX","\\relax"),jr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),jr("\\,","\\tmspace+{3mu}{.1667em}"),jr("\\thinspace","\\,"),jr("\\>","\\mskip{4mu}"),jr("\\:","\\tmspace+{4mu}{.2222em}"),jr("\\medspace","\\:"),jr("\\;","\\tmspace+{5mu}{.2777em}"),jr("\\thickspace","\\;"),jr("\\!","\\tmspace-{3mu}{.1667em}"),jr("\\negthinspace","\\!"),jr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),jr("\\negthickspace","\\tmspace-{5mu}{.277em}"),jr("\\enspace","\\kern.5em "),jr("\\enskip","\\hskip.5em\\relax"),jr("\\quad","\\hskip1em\\relax"),jr("\\qquad","\\hskip2em\\relax"),jr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),jr("\\tag@paren","\\tag@literal{({#1})}"),jr("\\tag@literal",function(jt){if(jt.macros.get("\\df@tag"))throw new he("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),jr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),jr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),jr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),jr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),jr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),jr("\\newline","\\\\\\relax"),jr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var lu=Ye["Main-Regular"]["T".charCodeAt(0)][1]-.7*Ye["Main-Regular"]["A".charCodeAt(0)][1]+"em";jr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+lu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),jr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+lu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),jr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),jr("\\@hspace","\\hskip #1\\relax"),jr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),jr("\\ordinarycolon",":"),jr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),jr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),jr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),jr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),jr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),jr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),jr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),jr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),jr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),jr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),jr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),jr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),jr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),jr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),jr("∷","\\dblcolon"),jr("∹","\\eqcolon"),jr("≔","\\coloneqq"),jr("≕","\\eqqcolon"),jr("⩴","\\Coloneqq"),jr("\\ratio","\\vcentcolon"),jr("\\coloncolon","\\dblcolon"),jr("\\colonequals","\\coloneqq"),jr("\\coloncolonequals","\\Coloneqq"),jr("\\equalscolon","\\eqqcolon"),jr("\\equalscoloncolon","\\Eqqcolon"),jr("\\colonminus","\\coloneq"),jr("\\coloncolonminus","\\Coloneq"),jr("\\minuscolon","\\eqcolon"),jr("\\minuscoloncolon","\\Eqcolon"),jr("\\coloncolonapprox","\\Colonapprox"),jr("\\coloncolonsim","\\Colonsim"),jr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),jr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),jr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),jr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),jr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),jr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),jr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),jr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),jr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),jr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),jr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),jr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),jr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),jr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),jr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),jr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),jr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),jr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),jr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),jr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),jr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),jr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),jr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),jr("\\imath","\\html@mathml{\\@imath}{ı}"),jr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),jr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),jr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),jr("⟦","\\llbracket"),jr("⟧","\\rrbracket"),jr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),jr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),jr("⦃","\\lBrace"),jr("⦄","\\rBrace"),jr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),jr("⦵","\\minuso"),jr("\\darr","\\downarrow"),jr("\\dArr","\\Downarrow"),jr("\\Darr","\\Downarrow"),jr("\\lang","\\langle"),jr("\\rang","\\rangle"),jr("\\uarr","\\uparrow"),jr("\\uArr","\\Uparrow"),jr("\\Uarr","\\Uparrow"),jr("\\N","\\mathbb{N}"),jr("\\R","\\mathbb{R}"),jr("\\Z","\\mathbb{Z}"),jr("\\alef","\\aleph"),jr("\\alefsym","\\aleph"),jr("\\Alpha","\\mathrm{A}"),jr("\\Beta","\\mathrm{B}"),jr("\\bull","\\bullet"),jr("\\Chi","\\mathrm{X}"),jr("\\clubs","\\clubsuit"),jr("\\cnums","\\mathbb{C}"),jr("\\Complex","\\mathbb{C}"),jr("\\Dagger","\\ddagger"),jr("\\diamonds","\\diamondsuit"),jr("\\empty","\\emptyset"),jr("\\Epsilon","\\mathrm{E}"),jr("\\Eta","\\mathrm{H}"),jr("\\exist","\\exists"),jr("\\harr","\\leftrightarrow"),jr("\\hArr","\\Leftrightarrow"),jr("\\Harr","\\Leftrightarrow"),jr("\\hearts","\\heartsuit"),jr("\\image","\\Im"),jr("\\infin","\\infty"),jr("\\Iota","\\mathrm{I}"),jr("\\isin","\\in"),jr("\\Kappa","\\mathrm{K}"),jr("\\larr","\\leftarrow"),jr("\\lArr","\\Leftarrow"),jr("\\Larr","\\Leftarrow"),jr("\\lrarr","\\leftrightarrow"),jr("\\lrArr","\\Leftrightarrow"),jr("\\Lrarr","\\Leftrightarrow"),jr("\\Mu","\\mathrm{M}"),jr("\\natnums","\\mathbb{N}"),jr("\\Nu","\\mathrm{N}"),jr("\\Omicron","\\mathrm{O}"),jr("\\plusmn","\\pm"),jr("\\rarr","\\rightarrow"),jr("\\rArr","\\Rightarrow"),jr("\\Rarr","\\Rightarrow"),jr("\\real","\\Re"),jr("\\reals","\\mathbb{R}"),jr("\\Reals","\\mathbb{R}"),jr("\\Rho","\\mathrm{P}"),jr("\\sdot","\\cdot"),jr("\\sect","\\S"),jr("\\spades","\\spadesuit"),jr("\\sub","\\subset"),jr("\\sube","\\subseteq"),jr("\\supe","\\supseteq"),jr("\\Tau","\\mathrm{T}"),jr("\\thetasym","\\vartheta"),jr("\\weierp","\\wp"),jr("\\Zeta","\\mathrm{Z}"),jr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),jr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),jr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),jr("\\bra","\\mathinner{\\langle{#1}|}"),jr("\\ket","\\mathinner{|{#1}\\rangle}"),jr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),jr("\\Bra","\\left\\langle#1\\right|"),jr("\\Ket","\\left|#1\\right\\rangle"),jr("\\angln","{\\angl n}"),jr("\\blue","\\textcolor{##6495ed}{#1}"),jr("\\orange","\\textcolor{##ffa500}{#1}"),jr("\\pink","\\textcolor{##ff00af}{#1}"),jr("\\red","\\textcolor{##df0030}{#1}"),jr("\\green","\\textcolor{##28ae7b}{#1}"),jr("\\gray","\\textcolor{gray}{#1}"),jr("\\purple","\\textcolor{##9d38bd}{#1}"),jr("\\blueA","\\textcolor{##ccfaff}{#1}"),jr("\\blueB","\\textcolor{##80f6ff}{#1}"),jr("\\blueC","\\textcolor{##63d9ea}{#1}"),jr("\\blueD","\\textcolor{##11accd}{#1}"),jr("\\blueE","\\textcolor{##0c7f99}{#1}"),jr("\\tealA","\\textcolor{##94fff5}{#1}"),jr("\\tealB","\\textcolor{##26edd5}{#1}"),jr("\\tealC","\\textcolor{##01d1c1}{#1}"),jr("\\tealD","\\textcolor{##01a995}{#1}"),jr("\\tealE","\\textcolor{##208170}{#1}"),jr("\\greenA","\\textcolor{##b6ffb0}{#1}"),jr("\\greenB","\\textcolor{##8af281}{#1}"),jr("\\greenC","\\textcolor{##74cf70}{#1}"),jr("\\greenD","\\textcolor{##1fab54}{#1}"),jr("\\greenE","\\textcolor{##0d923f}{#1}"),jr("\\goldA","\\textcolor{##ffd0a9}{#1}"),jr("\\goldB","\\textcolor{##ffbb71}{#1}"),jr("\\goldC","\\textcolor{##ff9c39}{#1}"),jr("\\goldD","\\textcolor{##e07d10}{#1}"),jr("\\goldE","\\textcolor{##a75a05}{#1}"),jr("\\redA","\\textcolor{##fca9a9}{#1}"),jr("\\redB","\\textcolor{##ff8482}{#1}"),jr("\\redC","\\textcolor{##f9685d}{#1}"),jr("\\redD","\\textcolor{##e84d39}{#1}"),jr("\\redE","\\textcolor{##bc2612}{#1}"),jr("\\maroonA","\\textcolor{##ffbde0}{#1}"),jr("\\maroonB","\\textcolor{##ff92c6}{#1}"),jr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),jr("\\maroonD","\\textcolor{##ca337c}{#1}"),jr("\\maroonE","\\textcolor{##9e034e}{#1}"),jr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),jr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),jr("\\purpleC","\\textcolor{##aa87ff}{#1}"),jr("\\purpleD","\\textcolor{##7854ab}{#1}"),jr("\\purpleE","\\textcolor{##543b78}{#1}"),jr("\\mintA","\\textcolor{##f5f9e8}{#1}"),jr("\\mintB","\\textcolor{##edf2df}{#1}"),jr("\\mintC","\\textcolor{##e0e5cc}{#1}"),jr("\\grayA","\\textcolor{##f6f7f7}{#1}"),jr("\\grayB","\\textcolor{##f0f1f2}{#1}"),jr("\\grayC","\\textcolor{##e3e5e6}{#1}"),jr("\\grayD","\\textcolor{##d6d8da}{#1}"),jr("\\grayE","\\textcolor{##babec2}{#1}"),jr("\\grayF","\\textcolor{##888d93}{#1}"),jr("\\grayG","\\textcolor{##626569}{#1}"),jr("\\grayH","\\textcolor{##3b3e40}{#1}"),jr("\\grayI","\\textcolor{##21242c}{#1}"),jr("\\kaBlue","\\textcolor{##314453}{#1}"),jr("\\kaGreen","\\textcolor{##71B307}{#1}");var Ef={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ku=function(){function jt(Be,Ve,nt){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=Ve,this.expansionCount=0,this.feed(Be),this.macros=new Sl(su,Ve.macros),this.mode=nt,this.stack=[]}var Le=jt.prototype;return Le.feed=function(Ve){this.lexer=new Mf(Ve,this.settings)},Le.switchMode=function(Ve){this.mode=Ve},Le.beginGroup=function(){this.macros.beginGroup()},Le.endGroup=function(){this.macros.endGroup()},Le.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Le.popToken=function(){return this.future(),this.stack.pop()},Le.pushToken=function(Ve){this.stack.push(Ve)},Le.pushTokens=function(Ve){var nt;(nt=this.stack).push.apply(nt,Ve)},Le.scanArgument=function(Ve){var nt,Lt,Zt;if(Ve){if(this.consumeSpaces(),this.future().text!=="[")return null;nt=this.popToken();var hr=this.consumeArg(["]"]);Zt=hr.tokens,Lt=hr.end}else{var Ur=this.consumeArg();Zt=Ur.tokens,nt=Ur.start,Lt=Ur.end}return this.pushToken(new jl("EOF",Lt.loc)),this.pushTokens(Zt),nt.range(Lt,"")},Le.consumeSpaces=function(){for(;;){var Ve=this.future();if(Ve.text===" ")this.stack.pop();else break}},Le.consumeArg=function(Ve){var nt=[],Lt=Ve&&Ve.length>0;Lt||this.consumeSpaces();var Zt=this.future(),hr,Ur=0,on=0;do{if(hr=this.popToken(),nt.push(hr),hr.text==="{")++Ur;else if(hr.text==="}"){if(--Ur,Ur===-1)throw new he("Extra }",hr)}else if(hr.text==="EOF")throw new he("Unexpected end of input in a macro argument, expected '"+(Ve&&Lt?Ve[on]:"}")+"'",hr);if(Ve&&Lt)if((Ur===0||Ur===1&&Ve[on]==="{")&&hr.text===Ve[on]){if(++on,on===Ve.length){nt.splice(-on,on);break}}else on=0}while(Ur!==0||Lt);return Zt.text==="{"&&nt[nt.length-1].text==="}"&&(nt.pop(),nt.shift()),nt.reverse(),{tokens:nt,start:Zt,end:hr}},Le.consumeArgs=function(Ve,nt){if(nt){if(nt.length!==Ve+1)throw new he("The length of delimiters doesn't match the number of args!");for(var Lt=nt[0],Zt=0;Ztthis.settings.maxExpand)throw new he("Too many expansions: infinite loop or need to increase maxExpand setting");var hr=Zt.tokens,Ur=this.consumeArgs(Zt.numArgs,Zt.delimiters);if(Zt.numArgs){hr=hr.slice();for(var on=hr.length-1;on>=0;--on){var Dn=hr[on];if(Dn.text==="#"){if(on===0)throw new he("Incomplete placeholder at end of macro body",Dn);if(Dn=hr[--on],Dn.text==="#")hr.splice(on+1,1);else if(/^[1-9]$/.test(Dn.text)){var Jn;(Jn=hr).splice.apply(Jn,[on,2].concat(Ur[+Dn.text-1]))}else throw new he("Not a valid argument number",Dn)}}}return this.pushTokens(hr),hr},Le.expandAfterFuture=function(){return this.expandOnce(),this.future()},Le.expandNextToken=function(){for(;;){var Ve=this.expandOnce();if(Ve instanceof jl)if(Ve.text==="\\relax"||Ve.treatAsRelax)this.stack.pop();else return this.stack.pop()}throw new Error},Le.expandMacro=function(Ve){return this.macros.has(Ve)?this.expandTokens([new jl(Ve)]):void 0},Le.expandTokens=function(Ve){var nt=[],Lt=this.stack.length;for(this.pushTokens(Ve);this.stack.length>Lt;){var Zt=this.expandOnce(!0);Zt instanceof jl&&(Zt.treatAsRelax&&(Zt.noexpand=!1,Zt.treatAsRelax=!1),nt.push(this.stack.pop()))}return nt},Le.expandMacroAsText=function(Ve){var nt=this.expandMacro(Ve);return nt&&nt.map(function(Lt){return Lt.text}).join("")},Le._getExpansion=function(Ve){var nt=this.macros.get(Ve);if(nt==null)return nt;var Lt=typeof nt=="function"?nt(this):nt;if(typeof Lt=="string"){var Zt=0;if(Lt.indexOf("#")!==-1)for(var hr=Lt.replace(/##/g,"");hr.indexOf("#"+(Zt+1))!==-1;)++Zt;for(var Ur=new Mf(Lt,this.settings),on=[],Dn=Ur.lex();Dn.text!=="EOF";)on.push(Dn),Dn=Ur.lex();on.reverse();var Jn={tokens:on,numArgs:Zt};return Jn}return Lt},Le.isDefined=function(Ve){return this.macros.has(Ve)||Al.hasOwnProperty(Ve)||lt.math.hasOwnProperty(Ve)||lt.text.hasOwnProperty(Ve)||Ef.hasOwnProperty(Ve)},Le.isExpandable=function(Ve){var nt=this.macros.get(Ve);return nt!=null?typeof nt=="string"||typeof nt=="function"||!nt.unexpandable:Al.hasOwnProperty(Ve)&&!Al[Ve].primitive},jt}(),Xc={"́":{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"}},uf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},Zu=function(){function jt(Be,Ve){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 ku(Be,Ve,this.mode),this.settings=Ve,this.leftrightDepth=0}var Le=jt.prototype;return Le.expect=function(Ve,nt){if(nt===void 0&&(nt=!0),this.fetch().text!==Ve)throw new he("Expected '"+Ve+"', got '"+this.fetch().text+"'",this.fetch());nt&&this.consume()},Le.consume=function(){this.nextToken=null},Le.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Le.switchMode=function(Ve){this.mode=Ve,this.gullet.switchMode(Ve)},Le.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ve=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),Ve},Le.parseExpression=function(Ve,nt){for(var Lt=[];;){this.mode==="math"&&this.consumeSpaces();var Zt=this.fetch();if(jt.endOfExpression.indexOf(Zt.text)!==-1||nt&&Zt.text===nt||Ve&&Al[Zt.text]&&Al[Zt.text].infix)break;var hr=this.parseAtom(nt);if(hr){if(hr.type==="internal")continue}else break;Lt.push(hr)}return this.mode==="text"&&this.formLigatures(Lt),this.handleInfixNodes(Lt)},Le.handleInfixNodes=function(Ve){for(var nt=-1,Lt,Zt=0;Zt=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+nt[0]+'" used in math mode',Ve);var on=lt[this.mode][nt].group,Dn=zl.range(Ve),Jn;if($e.hasOwnProperty(on)){var ga=on;Jn={type:"atom",mode:this.mode,family:ga,loc:Dn,text:nt}}else Jn={type:on,mode:this.mode,loc:Dn,text:nt};Ur=Jn}else if(nt.charCodeAt(0)>=128)this.settings.strict&&(F(nt.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+nt[0]+'" used in math mode',Ve):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+nt[0]+'"'+(" ("+nt.charCodeAt(0)+")"),Ve)),Ur={type:"textord",mode:"text",loc:zl.range(Ve),text:nt};else return null;if(this.consume(),hr)for(var Pa=0;Pa0&&(Y.push({type:"text",data:i.slice(0,R)}),i=i.slice(R));var he=y.findIndex(function(e){return i.startsWith(e.left)});if(R=eO(y[he].right,i,y[he].left.length),R===-1)break;var B=i.slice(0,R+y[he].right.length),O=rO.test(B)?B:i.slice(y[he].left.length,R);Y.push({type:"math",data:O,rawData:B,display:y[he].display}),i=i.slice(R+y[he].right.length)}return i!==""&&Y.push({type:"text",data:i}),Y}function aO(i,y,R,Y){for(var oe=nO(i,y),he=[],B=0;B{Y(B),i.updateParameter(oe,{id:i.id,name:i.name,value:B,isValid:!0})};return Co.useEffect(()=>{i.value!==R&&he(i.value)},[i.value]),Co.useEffect(()=>he(y),[]),wa.jsx("input",{"uk-tooltip":`title: ${i.doc}`,className:"uk-checkbox uk-align-right",defaultChecked:R,onChange:B=>he(B.target.checked),placeholder:i.placeholder,type:"checkbox"})}function oO(i){const y=i.value==null?i.choices[0]:i.value,[R,Y]=Co.useState(y),oe=Co.useContext(My),he=O=>{Y(O),i.updateParameter(oe,{id:i.id,name:i.name,value:O,isValid:!0})};Co.useEffect(()=>he(y),[]);const B=i.choices.map((O,e)=>wa.jsx("option",{value:O,children:O},e));return wa.jsx("select",{id:`select-${i.id}`,className:"uk-select",onChange:O=>he(O.target.value),"data-uk-tooltip":`title: ${i.doc}`,value:R,children:B})}function m1(i){const y=i.defaultValue!=null?i.defaultValue:"",[R,Y]=Co.useState(y),[oe,he]=Co.useState(i.checkValidity(y)),B=Co.useContext(My),O=e=>{Y(e);const p=i.checkValidity(e);he(p),i.updateParameter(B,{id:i.id,name:i.name,value:p?e:"",isValid:p})};return Co.useEffect(()=>{if(i.defaultValue!==R){const e=i.defaultValue!=null?i.defaultValue:"";O(e)}},[i.defaultValue]),Co.useEffect(()=>O(y),[]),wa.jsx("input",{"uk-tooltip":`title: ${i.doc}`,className:`uk-input uk-align-right ${oe?"":"uk-form-danger"}`,type:i.scalar?"number":"",value:R,onChange:e=>O(e.target.value),placeholder:i.placeholder})}function sO(i){return i!==""&&!isNaN(+i)}function lO(i){return wa.jsx(m1,{id:i.id,name:i.name,defaultValue:i.value,placeholder:i.placeholder,doc:i.doc,scalar:!0,updateParameter:i.updateParameter,checkValidity:sO})}function uO(i){return i.split(",").map(R=>R.replace(/\s/g,"")!==""&&!isNaN(+R)).every(R=>R===!0)}function fO(i){return wa.jsx(m1,{id:i.id,name:i.name,defaultValue:Array.isArray(i.value)?String(i.value):i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter,scalar:!1,checkValidity:uO})}function cO(i){return i!==""&&!isNaN(+i)&&parseInt(i)==i}function hO(i){return wa.jsx(m1,{id:i.id,name:i.name,defaultValue:i.value,placeholder:i.placeholder,doc:i.doc,scalar:!0,updateParameter:i.updateParameter,checkValidity:cO})}function dO(i){return i!==""&&!isNaN(+i)&&+i>=0}function vO(i){return wa.jsx(m1,{id:i.id,name:i.name,defaultValue:i.value,placeholder:i.placeholder,doc:i.doc,scalar:!0,updateParameter:i.updateParameter,checkValidity:dO})}function pO(i){return i!==""&&!isNaN(+i)&&parseInt(i)==i&&+i>=0}function mO(i){return wa.jsx(m1,{id:i.id,name:i.name,defaultValue:i.value,placeholder:i.placeholder,doc:i.doc,scalar:!0,updateParameter:i.updateParameter,checkValidity:pO})}function gO(i){return i!==""&&!isNaN(+i)&&parseInt(i)==i&&+i>0}function yO(i){return wa.jsx(m1,{id:i.id,name:i.name,defaultValue:i.value,placeholder:i.placeholder,doc:i.doc,scalar:!0,updateParameter:i.updateParameter,checkValidity:gO})}function xO(i){function y(){switch(i.type){case mh.Integer:return wa.jsx(hO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});case mh.PositiveInteger:return wa.jsx(mO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});case mh.StrictlyPositiveInteger:return wa.jsx(yO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});case mh.PositiveFloat:return wa.jsx(vO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});case mh.Float:return wa.jsx(lO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});case mh.Enumeration:return wa.jsx(oO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,choices:i.choices,doc:i.doc,updateParameter:i.updateParameter});case mh.FloatList:return wa.jsx(fO,{id:i.id,name:i.name,value:i.value,placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});case mh.Boolean:return wa.jsx(iO,{id:i.id,name:i.name,value:String(i.value)==="true",placeholder:i.placeholder,doc:i.doc,updateParameter:i.updateParameter});default:return console.log("nope, nope, nope, the parameter type is unkown."),wa.jsx("div",{children:"Unknown parameter"})}}const R=Co.useMemo(()=>y(),[i]);return wa.jsxs("div",{className:"uk-margin-small-left uk-padding-small-left","data-uk-grid":!0,children:[wa.jsx("span",{className:"uk-padding-remove-left uk-margin-small-right uk-margin-small-top",children:wa.jsx(Sy,{children:i.name})}),wa.jsx("div",{className:"uk-width-expand@m uk-padding-remove-left",children:R})]})}function bO(i){const y=Co.useMemo(()=>i.parameters.map((R,Y)=>wa.jsx(xO,{id:R.id,name:R.name,placeholder:R.placeholder,doc:R.doc,type:R.type,choices:R.choices,value:R.value,updateParameter:i.updateParameter},Y)),[i.parameters]);return wa.jsx(wa.Fragment,{children:y})}function wO(i){const y=Co.useMemo(()=>wa.jsx(bO,{parameters:i.parameters,updateParameter:i.updateParameter}),[i.parameters]);return wa.jsxs("li",{className:i.folded?"":"uk-open",children:[wa.jsx("a",{className:"uk-accordion-title uk-text-default",href:"#",children:wa.jsx("div",{className:"uk-heading-bullet uk-margin-small-top uk-text-bolder",style:{color:"#666"},children:wa.jsx(Sy,{children:i.title})})}),wa.jsx("div",{className:"uk-accordion-content",children:y})]})}function TO(i){const y=Co.useMemo(()=>i.settings.map((R,Y)=>wa.jsx(My.Provider,{value:R.id,children:wa.jsx(wO,{title:R.title,id:R.id,folded:R.folded,parameters:R.parameters,updateParameter:i.updateParameter},Y)},Y)),[i.settings]);return wa.jsx("div",{children:wa.jsx("div",{className:"uk-card uk-card-body uk-card-default uk-card-hover",children:wa.jsx("div",{className:"uk-child uk-child-width-1-1","data-uk-grid":!0,children:wa.jsx("div",{className:"uk-grid-small uk-child-width-1-1","data-uk-grid":!0,children:wa.jsx("ul",{"uk-accordion":"multiple: true",children:y})})})})})}function AO(i){return wa.jsx("div",{className:"uk-alert-danger uk-margin-small-right","data-uk-alert":!0,children:wa.jsxs("p",{className:"uk-text-bold",children:[" ",wa.jsx(Sy,{children:i.name})]})})}function SO(i){return wa.jsx("div",{className:"uk-alert-success","data-uk-alert":!0,children:wa.jsx("p",{children:wa.jsx(Sy,{children:i.message})})})}function MO(i){const y=Co.useMemo(()=>wa.jsx("button",{className:"uk-width-expand uk-button uk-button-large uk-button-primary",onClick:()=>i.computeCallback(),disabled:i.invalidParameters.length!==0,children:"Compute"}),[i.invalidParameters,i.parameters]),R=Co.useMemo(()=>i.invalidParameters.length===0?wa.jsx(SO,{message:"All required parameters set."}):i.invalidParameters.map((Y,oe)=>wa.jsx(AO,{name:Y},oe)),[i.invalidParameters]);return wa.jsx("div",{className:"uk-width-1-1","data-uk-sticky":!0,children:wa.jsxs("div",{className:"uk-grid-small uk-section uk-section-muted uk-padding-small","data-uk-grid":!0,children:[wa.jsx("div",{className:"uk-width-expand","data-uk-grid":!0,children:R}),wa.jsx("div",{className:"uk-width-1-4",children:y})]})})}function CO(){const[i,y]=Co.useState([]),[R,Y]=Co.useState([]),[oe,he]=Co.useState([]),[B,O]=Co.useState({}),[e,p]=Co.useState([]);function E(){const L={};Object.keys(B).forEach(d=>{const m=B[d];L[d]={},Object.keys(m).forEach(r=>{L[d][r]=m[r].value})});let x=null;Object.keys(L).length>0&&(x=UIkit.notification({message:"
  Computing...",pos:"top-center",timeout:0})),U9.post(`${window.location.pathname}/compute`,L).then(d=>{x!==null&&x.close(),y(()=>d.data.docs),Y(()=>d.data.settings),he(()=>d.data.plots)}).catch(d=>{x!==null&&x.close(),d.response.status===400&&UIkit.notification(d.response.data,"danger")})}Co.useEffect(()=>E(),[]);const a=(L,x)=>{O(d=>{const m={id:x.id,name:x.name,value:x.value,isValid:x.isValid,stage:L};return{...d,[L]:{...d[L],[x.id]:m}}})};return Co.useEffect(()=>{Object.keys(B).forEach(L=>{const x=B[L];Object.keys(x).forEach(d=>{const m=x[d],t=`${R.filter(n=>n.id===L)[0].title}: ${m.name}`;e.indexOf(t)===-1&&!m.isValid?p(n=>[...n,t]):e.indexOf(t)!==-1&&m.isValid&&p(n=>n.filter(f=>f!==t))})})},[B]),wa.jsxs(wa.Fragment,{children:[wa.jsx(MO,{invalidParameters:e,parameters:B,computeCallback:E}),wa.jsx("div",{className:"uk-width-1-1",children:wa.jsxs("div",{className:"uk-child-width-1-3@m uk-grid-column-small","data-uk-grid":!0,children:[wa.jsx("div",{children:wa.jsx(WB,{docs:i})}),wa.jsx("div",{children:wa.jsx(TO,{settings:R,updateParameter:a})}),wa.jsx("div",{children:wa.jsx(XB,{plots:oe})})]})})]})}function EO(i){return wa.jsx("div",{style:{position:"absolute",right:"5px",top:"5px"},children:wa.jsx("a",{onClick:()=>{i.toggleVisibility()},children:wa.jsx("span",{className:"uk-margin-small-right","data-uk-icon":"info"})})})}function kO(i){return wa.jsxs("div",{style:{position:"fixed",top:"5%",left:"5%",right:"5%",bottom:"5%",zIndex:1e4,overflow:"auto",boxShadow:"0 5px 15px rgba(0, 0, 0, 0.08)"},className:"uk-container uk-container-expand uk-background-default uk-padding-large",children:[wa.jsx(o1,{children:i.text,remarkPlugins:[Pp],rehypePlugins:[Dp]}),wa.jsx("p",{className:"uk-text-center",children:wa.jsx("button",{className:"uk-button uk-button-primary uk-modal-close uk-width-4-5",type:"button",onClick:()=>i.toggleVisibility(),children:"Close"})}),wa.jsx("div",{style:{position:"absolute",right:"5px",top:"5px"},children:wa.jsx("button",{className:"uk-button uk-button-default uk-modal-close",type:"button",onClick:()=>i.toggleVisibility(),children:"Close"})})]})}function LO(){return wa.jsx("div",{className:"uk-width-1-1",children:wa.jsx("h1",{className:"uk-heading uk-heading-line uk-text-center",children:wa.jsxs("span",{children:[" ",document.title," "]})})})}function PO(){const[i,y]=Co.useState(!1),[R,Y]=Co.useState("");Co.useEffect(()=>{U9.get(`${window.location.pathname}/documentation`).then(B=>{Y(B.data.text)})},[]);const oe=i?wa.jsx(kO,{text:R,toggleVisibility:y}):wa.jsx(wa.Fragment,{});function he(){y(B=>!B)}return wa.jsxs(wa.Fragment,{children:[wa.jsx(EO,{toggleVisibility:he}),oe,wa.jsx("div",{className:"uk-height-1-1 uk-padding uk-background-muted",children:wa.jsxs("div",{className:"uk-container uk-container-expand",children:[wa.jsx(LO,{}),wa.jsx(CO,{})]})})]})}rx.createRoot(document.getElementById("root")).render(wa.jsx(Gd.StrictMode,{children:wa.jsx(PO,{})})); diff --git a/dynamic_site/static/doc b/dynamic_site/static/doc deleted file mode 120000 index 722575a..0000000 --- a/dynamic_site/static/doc +++ /dev/null @@ -1 +0,0 @@ -../../doc/ \ No newline at end of file diff --git a/dynamic_site/static/favicon.ico b/dynamic_site/static/favicon.ico deleted file mode 100644 index a792a37..0000000 Binary files a/dynamic_site/static/favicon.ico and /dev/null differ diff --git a/dynamic_site/static/manifest.json b/dynamic_site/static/manifest.json deleted file mode 100644 index 73e2947..0000000 --- a/dynamic_site/static/manifest.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "node_modules/katex/dist/fonts/KaTeX_AMS-Regular.ttf": { - "file": "assets/KaTeX_AMS-Regular-68534840.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_AMS-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_AMS-Regular.woff": { - "file": "assets/KaTeX_AMS-Regular-30da91e8.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_AMS-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_AMS-Regular.woff2": { - "file": "assets/KaTeX_AMS-Regular-0cdd387c.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_AMS-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf": { - "file": "assets/KaTeX_Caligraphic-Bold-07d8e303.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff": { - "file": "assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2": { - "file": "assets/KaTeX_Caligraphic-Bold-de7701e4.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf": { - "file": "assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff": { - "file": "assets/KaTeX_Caligraphic-Regular-3398dd02.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2": { - "file": "assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf": { - "file": "assets/KaTeX_Fraktur-Bold-9163df9c.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.woff": { - "file": "assets/KaTeX_Fraktur-Bold-9be7ceb8.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2": { - "file": "assets/KaTeX_Fraktur-Bold-74444efd.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf": { - "file": "assets/KaTeX_Fraktur-Regular-1e6f9579.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.woff": { - "file": "assets/KaTeX_Fraktur-Regular-5e28753b.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2": { - "file": "assets/KaTeX_Fraktur-Regular-51814d27.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Bold.ttf": { - "file": "assets/KaTeX_Main-Bold-138ac28d.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Bold.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Bold.woff": { - "file": "assets/KaTeX_Main-Bold-c76c5d69.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Bold.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Bold.woff2": { - "file": "assets/KaTeX_Main-Bold-0f60d1b8.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Bold.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf": { - "file": "assets/KaTeX_Main-BoldItalic-70ee1f64.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.woff": { - "file": "assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2": { - "file": "assets/KaTeX_Main-BoldItalic-99cd42a3.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Italic.ttf": { - "file": "assets/KaTeX_Main-Italic-0d85ae7c.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Italic.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Italic.woff": { - "file": "assets/KaTeX_Main-Italic-f1d6ef86.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Italic.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Italic.woff2": { - "file": "assets/KaTeX_Main-Italic-97479ca6.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Italic.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Regular.ttf": { - "file": "assets/KaTeX_Main-Regular-d0332f52.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Regular.woff": { - "file": "assets/KaTeX_Main-Regular-c6368d87.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Main-Regular.woff2": { - "file": "assets/KaTeX_Main-Regular-c2342cd8.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Main-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf": { - "file": "assets/KaTeX_Math-BoldItalic-f9377ab0.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.woff": { - "file": "assets/KaTeX_Math-BoldItalic-850c0af5.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2": { - "file": "assets/KaTeX_Math-BoldItalic-dc47344d.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Math-Italic.ttf": { - "file": "assets/KaTeX_Math-Italic-08ce98e5.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Math-Italic.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Math-Italic.woff": { - "file": "assets/KaTeX_Math-Italic-8a8d2445.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Math-Italic.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Math-Italic.woff2": { - "file": "assets/KaTeX_Math-Italic-7af58c5e.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Math-Italic.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf": { - "file": "assets/KaTeX_SansSerif-Bold-1ece03f7.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.woff": { - "file": "assets/KaTeX_SansSerif-Bold-ece03cfd.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2": { - "file": "assets/KaTeX_SansSerif-Bold-e99ae511.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf": { - "file": "assets/KaTeX_SansSerif-Italic-3931dd81.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.woff": { - "file": "assets/KaTeX_SansSerif-Italic-91ee6750.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2": { - "file": "assets/KaTeX_SansSerif-Italic-00b26ac8.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf": { - "file": "assets/KaTeX_SansSerif-Regular-f36ea897.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.woff": { - "file": "assets/KaTeX_SansSerif-Regular-11e4dc8a.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2": { - "file": "assets/KaTeX_SansSerif-Regular-68e8c73e.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Script-Regular.ttf": { - "file": "assets/KaTeX_Script-Regular-1c67f068.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Script-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Script-Regular.woff": { - "file": "assets/KaTeX_Script-Regular-d96cdf2b.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Script-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Script-Regular.woff2": { - "file": "assets/KaTeX_Script-Regular-036d4e95.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Script-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Size1-Regular.ttf": { - "file": "assets/KaTeX_Size1-Regular-95b6d2f1.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Size1-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Size1-Regular.woff": { - "file": "assets/KaTeX_Size1-Regular-c943cc98.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Size1-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Size1-Regular.woff2": { - "file": "assets/KaTeX_Size1-Regular-6b47c401.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Size1-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Size2-Regular.ttf": { - "file": "assets/KaTeX_Size2-Regular-a6b2099f.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Size2-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Size2-Regular.woff": { - "file": "assets/KaTeX_Size2-Regular-2014c523.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Size2-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Size2-Regular.woff2": { - "file": "assets/KaTeX_Size2-Regular-d04c5421.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Size2-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Size3-Regular.ttf": { - "file": "assets/KaTeX_Size3-Regular-500e04d5.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Size3-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Size3-Regular.woff": { - "file": "assets/KaTeX_Size3-Regular-6ab6b62e.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Size3-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Size4-Regular.ttf": { - "file": "assets/KaTeX_Size4-Regular-c647367d.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Size4-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Size4-Regular.woff": { - "file": "assets/KaTeX_Size4-Regular-99f9c675.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Size4-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Size4-Regular.woff2": { - "file": "assets/KaTeX_Size4-Regular-a4af7d41.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Size4-Regular.woff2" - }, - "node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf": { - "file": "assets/KaTeX_Typewriter-Regular-f01f3e87.ttf", - "src": "node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf" - }, - "node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.woff": { - "file": "assets/KaTeX_Typewriter-Regular-e14fed02.woff", - "src": "node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.woff" - }, - "node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2": { - "file": "assets/KaTeX_Typewriter-Regular-71d517d6.woff2", - "src": "node_modules/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2" - }, - "src/main.css": { - "file": "assets/main-2558acf0.css", - "src": "src/main.css" - }, - "src/main.tsx": { - "assets": [ - "assets/KaTeX_AMS-Regular-0cdd387c.woff2", - "assets/KaTeX_AMS-Regular-30da91e8.woff", - "assets/KaTeX_AMS-Regular-68534840.ttf", - "assets/KaTeX_Caligraphic-Bold-de7701e4.woff2", - "assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff", - "assets/KaTeX_Caligraphic-Bold-07d8e303.ttf", - "assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2", - "assets/KaTeX_Caligraphic-Regular-3398dd02.woff", - "assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf", - "assets/KaTeX_Fraktur-Bold-74444efd.woff2", - "assets/KaTeX_Fraktur-Bold-9be7ceb8.woff", - "assets/KaTeX_Fraktur-Bold-9163df9c.ttf", - "assets/KaTeX_Fraktur-Regular-51814d27.woff2", - "assets/KaTeX_Fraktur-Regular-5e28753b.woff", - "assets/KaTeX_Fraktur-Regular-1e6f9579.ttf", - "assets/KaTeX_Main-Bold-0f60d1b8.woff2", - "assets/KaTeX_Main-Bold-c76c5d69.woff", - "assets/KaTeX_Main-Bold-138ac28d.ttf", - "assets/KaTeX_Main-BoldItalic-99cd42a3.woff2", - "assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff", - "assets/KaTeX_Main-BoldItalic-70ee1f64.ttf", - "assets/KaTeX_Main-Italic-97479ca6.woff2", - "assets/KaTeX_Main-Italic-f1d6ef86.woff", - "assets/KaTeX_Main-Italic-0d85ae7c.ttf", - "assets/KaTeX_Main-Regular-c2342cd8.woff2", - "assets/KaTeX_Main-Regular-c6368d87.woff", - "assets/KaTeX_Main-Regular-d0332f52.ttf", - "assets/KaTeX_Math-BoldItalic-dc47344d.woff2", - "assets/KaTeX_Math-BoldItalic-850c0af5.woff", - "assets/KaTeX_Math-BoldItalic-f9377ab0.ttf", - "assets/KaTeX_Math-Italic-7af58c5e.woff2", - "assets/KaTeX_Math-Italic-8a8d2445.woff", - "assets/KaTeX_Math-Italic-08ce98e5.ttf", - "assets/KaTeX_SansSerif-Bold-e99ae511.woff2", - "assets/KaTeX_SansSerif-Bold-ece03cfd.woff", - "assets/KaTeX_SansSerif-Bold-1ece03f7.ttf", - "assets/KaTeX_SansSerif-Italic-00b26ac8.woff2", - "assets/KaTeX_SansSerif-Italic-91ee6750.woff", - "assets/KaTeX_SansSerif-Italic-3931dd81.ttf", - "assets/KaTeX_SansSerif-Regular-68e8c73e.woff2", - "assets/KaTeX_SansSerif-Regular-11e4dc8a.woff", - "assets/KaTeX_SansSerif-Regular-f36ea897.ttf", - "assets/KaTeX_Script-Regular-036d4e95.woff2", - "assets/KaTeX_Script-Regular-d96cdf2b.woff", - "assets/KaTeX_Script-Regular-1c67f068.ttf", - "assets/KaTeX_Size1-Regular-6b47c401.woff2", - "assets/KaTeX_Size1-Regular-c943cc98.woff", - "assets/KaTeX_Size1-Regular-95b6d2f1.ttf", - "assets/KaTeX_Size2-Regular-d04c5421.woff2", - "assets/KaTeX_Size2-Regular-2014c523.woff", - "assets/KaTeX_Size2-Regular-a6b2099f.ttf", - "assets/KaTeX_Size3-Regular-6ab6b62e.woff", - "assets/KaTeX_Size3-Regular-500e04d5.ttf", - "assets/KaTeX_Size4-Regular-a4af7d41.woff2", - "assets/KaTeX_Size4-Regular-99f9c675.woff", - "assets/KaTeX_Size4-Regular-c647367d.ttf", - "assets/KaTeX_Typewriter-Regular-71d517d6.woff2", - "assets/KaTeX_Typewriter-Regular-e14fed02.woff", - "assets/KaTeX_Typewriter-Regular-f01f3e87.ttf" - ], - "css": [ - "assets/main-2558acf0.css" - ], - "file": "assets/main-f8453f4e.js", - "isEntry": true, - "src": "src/main.tsx" - } -} \ No newline at end of file diff --git a/dynamic_site/templates/app.html b/dynamic_site/templates/app.html deleted file mode 100644 index 8c6e9fc..0000000 --- a/dynamic_site/templates/app.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - {{ title }} - - - - - - - - - - - - - - - - - - - -
- - -
- - -
-
-
-
-
-
-
-
- - {% if not json_file %} - - - - - {% else %} - - - {% endif %} - - - - - - - diff --git a/dynamic_site/templates/index.html b/dynamic_site/templates/index.html deleted file mode 100644 index 11b38c8..0000000 --- a/dynamic_site/templates/index.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - {{ title }} - - - - - - - - - - - - - - - - - - - -
-
- -
-
-

- {{ title }} -

-
- - -
-
-
{{ text | safe }}
-
-
-
-
-
- -
- - - -
- - diff --git a/dynamic_site/utilities.py b/dynamic_site/utilities.py deleted file mode 100644 index 5c17e43..0000000 --- a/dynamic_site/utilities.py +++ /dev/null @@ -1,64 +0,0 @@ -import numpy as np -import plotly.colors as c -import plotly.graph_objects as go - -from blockops import BlockProblem - - -def fine_discretization_error(N, tEnd, M, scheme, points, quadType, form, - reLambdaLow, reLambdaHigh, imLambdaLow, - imLambdaHigh, nVals, eMin, eMax): - - reLam = np.linspace(reLambdaLow, reLambdaHigh, nVals) - imLam = np.linspace(imLambdaLow, imLambdaHigh, nVals) - - lam = reLam[:, None] + 1j * imLam[None, :] - prob = BlockProblem(lam.ravel(), - tEnd=tEnd, - nBlocks=N, - nPoints=M, - scheme=scheme, - points=points, - quadType=quadType, - collUpdate=False) - - uExact = prob.getSolution('exact') - uNum = prob.getSolution('fine') - err = np.abs(uExact - uNum) - err = np.max(err, axis=(0, -1)).reshape(lam.shape) - - err = err.transpose() - log_err = np.log(err) - - err[err < 10**eMin] = 10**eMin - err[err > 10**eMax] = 10**eMax - ticks = [10**(i) for i in range(eMin, eMax + 1)] - - color_names = [ - f'{tick:.0e}' if tick != 1.0 else f'{tick}' for tick in ticks - ] - color_vals = np.linspace( - np.min(log_err) - .5, - np.max(log_err) + .5, len(color_names)) - - fig = go.Figure(data=go.Contour(z=log_err, - x=reLam.ravel(), - y=imLam.ravel(), - colorscale=c.sequential.Sunset, - colorbar=dict(tickvals=color_vals, - ticktext=color_names), - hovertext=err, - hoverinfo='x+y+text')) - fig.update_layout(margin=dict(l=0, r=0, b=0, t=0)) - return fig.to_json() - - -def compute_plot(): - fig = go.Figure(data=go.Contour( - z=[[10, 10.625, 12.5, 15.625, 20], [5.625, 6.25, 8.125, 11.25, 15.625], - [2.5, 3.125, 5., 8.125, 12.5], [0.625, 1.25, 3.125, 6.25, 10.625], - [0, 0.625, 2.5, 5.625, 10]], - colorscale='Electric', - )) - fig.update_layout(margin=dict(l=0, r=0, b=0, t=0)) - return fig.to_json() diff --git a/requirements.txt b/requirements.txt index d1fa46d..57b7617 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ plotly==5.13.1 mistune==2.0.5 emoji==2.6.0 gunicorn==20.1.0 +wepps \ No newline at end of file diff --git a/web.py b/web.py index f3d8e91..c2b1f38 100644 --- a/web.py +++ b/web.py @@ -1,4 +1,4 @@ -from dynamic_site.site import Site +from wepps.site import Site import sys diff --git a/web_apps/demo/demo.py b/web_apps/demo/demo.py index a24d9e8..f7053fc 100644 --- a/web_apps/demo/demo.py +++ b/web_apps/demo/demo.py @@ -1,8 +1,8 @@ from typing import Any -from dynamic_site.app import App, ResponseStages, ResponseError -import dynamic_site.stage.stages as stages -from dynamic_site.stage.parameters import ( +from wepps.app import App, ResponseStages, ResponseError +import wepps.stage.stages as stages +from wepps.stage.parameters import ( Integer, PositiveInteger, StrictlyPositiveInteger, diff --git a/web_apps/schedule/parareal.py b/web_apps/schedule/parareal.py index 4d76297..9a743d9 100644 --- a/web_apps/schedule/parareal.py +++ b/web_apps/schedule/parareal.py @@ -1,8 +1,8 @@ from typing import Any -from dynamic_site.app import App, ResponseStages -from dynamic_site.stage import parameters as par -import dynamic_site.stage.stages as stages +from wepps.app import App, ResponseStages +from wepps.stage import parameters as par +import wepps.stage.stages as stages from blockops import BlockOperator, BlockIteration, I diff --git a/web_apps/schedule/pararealFCF.py b/web_apps/schedule/pararealFCF.py index 4e293a3..517f211 100644 --- a/web_apps/schedule/pararealFCF.py +++ b/web_apps/schedule/pararealFCF.py @@ -1,8 +1,8 @@ from typing import Any -from dynamic_site.app import App, ResponseStages -from dynamic_site.stage import parameters as par -import dynamic_site.stage.stages as stages +from wepps.app import App, ResponseStages +from wepps.stage import parameters as par +import wepps.stage.stages as stages from blockops import BlockOperator, BlockIteration diff --git a/web_apps/seqint/accuracy.py b/web_apps/seqint/accuracy.py index c6a2abd..5be57ac 100644 --- a/web_apps/seqint/accuracy.py +++ b/web_apps/seqint/accuracy.py @@ -1,9 +1,9 @@ from typing import Any import numpy as np -from dynamic_site.app import App, ResponseStages -from dynamic_site.stage import parameters as par -import dynamic_site.stage.stages as stages +from wepps.app import App, ResponseStages +from wepps.stage import parameters as par +import wepps.stage.stages as stages from blockops.schemes import BlockScheme, SCHEMES from blockops.problem import BlockProblem