diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fca1e244e..4de9e4ed6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 240 steps: - - name: Set up Go 1.19 + - name: Set up Go 1.19.10 uses: actions/setup-go@v1 with: - go-version: 1.19 + go-version: 1.19.10 id: go - name: Setup Go binary path diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b234b1000..2d2bdcf77 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -12,10 +12,10 @@ jobs: timeout-minutes: 60 steps: - - name: Set up Go 1.19 + - name: Set up Go 1.19.10 uses: actions/setup-go@v1 with: - go-version: 1.19 + go-version: 1.19.10 id: go - name: Setup environment diff --git a/Makefile b/Makefile index ac2c5ffcf..9c6b53c88 100644 --- a/Makefile +++ b/Makefile @@ -93,3 +93,11 @@ release: static-linux deb rpm cross-arm cross-mac cross-win ## build the release cp $(PACKAGING_DIR)/static/build/mac/cri-dockerd-$(VERSION).tgz $(RELEASE_DIR)/cri-dockerd-$(VERSION).darwin.amd64.tgz # linux cp $(PACKAGING_DIR)/static/build/linux/cri-dockerd-$(VERSION).tgz $(RELEASE_DIR)/cri-dockerd-$(VERSION).amd64.tgz + +.PHONY: dev +dev: cri-dockerd ## Run cri-docker in a running minikube + ./scripts/replace-in-minikube +.PHONY: docs +docs: + hugo server --source docs/ + diff --git a/README.md b/README.md index 08cf86e72..18f76d838 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![docker and kubernetes interact](docs/static/logo.svg) + # cri-dockerd This adapter provides a shim for [Docker Engine](https://docs.docker.com/engine/) @@ -10,8 +12,7 @@ For users running `0.2.5` or above, the default network plugin is `cni`. Kuberne other network plumbing from upstream as part of the `dockershim` removal/deprecation. In order for a cluster to become operational, Calico, Flannel, Weave, or another CNI should be used. -For CI workflows, basic functionality can be provided via [`containernetworking/plugins`]( -https://github.com/containernetworking/plugins). +For CI workflows, basic functionality can be provided via [`containernetworking/plugins`](https://github.com/containernetworking/plugins). ## Motivation @@ -29,15 +30,36 @@ tool in [Don't Panic: Kubernetes and Docker](https://blog.k8s.io/2020/12/02/dont and on the Mirantis [blog](https://www.mirantis.com/blog/mirantis-to-take-over-support-of-kubernetes-dockershim-2/). -## Build and install +## Using cri-dockerd + +### Install + +The easiest way to install `cri-dockerd` is to use one of the pre-built binaries or +packages from the [releases page](https://github.com/Mirantis/cri-dockerd/releases). +There are numerous supported platforms and using a pre-built package will install +the binary and setup your system to run it as a service. + +Please refer to your platform's documentation for how to install a package for +additional help with these. + +## Advanced Setup + +### Installing manually -To begin following the build process for this code, clone this repository in your local environment: +> Note: the release packages will install to /usr/bin which is reserved for +> binaries managed by a package manager. Manual installation doesn't involve a +> package manager and thus uses /usr/local/bin and the service file must be edited +> to reflect this. + +If you would like to install the project manually, you will need to place the binary +somewhere in your `PATH` and setup a service to run it. The following command is +a manual install for a Linux system using systemd: ```shell git clone https://github.com/Mirantis/cri-dockerd.git ``` -The above step creates a local directory called ```cri-dockerd``` which you will need for the following steps. +The above step creates a local directory called `cri-dockerd` which you will need for the following steps. To build this code (in a POSIX environment): @@ -69,14 +91,82 @@ install -o root -g root -m 0755 cri-dockerd /usr/local/bin/cri-dockerd install packaging/systemd/* /etc/systemd/system sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service systemctl daemon-reload -systemctl enable cri-docker.service systemctl enable --now cri-docker.socket ``` -## To use with Kubernetes +### To use with Kubernetes + +The default network plugin for `cri-dockerd` is set to `cni` on Linux. There are +a few ways to change this depending on how you are running the binary. + +`--network-plugin=${plugin}` can be passed in as a command line argument when + - running the binary directly + - adding to `/usr/lib/systemd/system/cri-docker.service` if a service isn't enabled + - adding to `/etc/systemd/system/multi-user.target.wants/cri-docker.service` if a service is enabled + +Run `systemctl daemon-reload` to restart the service if it was already running. + +## Development + +### Building + +If you would like to build the project yourself, you will need to have Go installed. +You can find directions for installing the latest version on its website: + +[Install the latest version of Go](https://golang.org/doc/install) + +Once you have Go installed, you can build the project by running the following command: + +```shell +make cri-dockerd +``` + +This will output the binary to the project's root directory as `cri-dockerd`. +You can then run it directly or install it using the manual process above. + +To build for a specific architecture, add `ARCH=` as an argument, where `ARCH` +is a known build target for Go. + +```shell +ARCH=amd64 make cri-dockerd +``` + +### Development Setup + +When developing, it is nice to have a separate environment to test in so that +you don't have to worry about breaking your system. An easy way to do this is +by setting up a minikube cluster since it uses `cri-dockerd` by default. Follow +the [minikube installation instructions](https://minikube.sigs.k8s.io/docs/start/) +to get it installed. + +You'll then be able to create a cluster in minikube's VM by running: + +```shell +minikube start +``` + +Once the cluster is up, we have a `make` command that will build `cri-dockerd` +and swap it out for the version running in the cluster. You can run this command +by running: + +```shell +make dev +``` + +## Docs + +This folder contains the files used to generate the `cri-dockerd` documentation. + +The docs are generated using [Hugo](https://gohugo.io/) and the [Geekdocs](https://themes.gohugo.io/hugo-geekdoc/) theme. + +### Editing Docs + +The docs can be ran locally with hot-reloading to make editing easier. To do so, +run the following command in the project's root directory: + +```bash +make docs +``` -The default network plugin for `cri-dockerd` is set to `cni` on Linux. To change this, `--network-plugin=${plugin}` -can be passed in as a command line argument if invoked manually, or the systemd unit file -(`/usr/lib/systemd/system/cri-docker.service` if not enabled yet, -or `/etc/systemd/system/multi-user.target.wants/cri-docker.service` as a symlink if it is enabled) should be -edited to add this argument, followed by `systemctl daemon-reload` and restarting the service (if running) +This will launch the development server that is included with Hugo. You can then +access the docs at http://localhost:1313/ diff --git a/code-of-conduct.md b/code-of-conduct.md new file mode 100644 index 000000000..5d5919b17 --- /dev/null +++ b/code-of-conduct.md @@ -0,0 +1,3 @@ +# cri-dockerd Community Code of Conduct + +`cri-dockerd` welcomes everyone to be a part of our community. We are an open source project and encourage participation from anyone who is interested in contributing. We are a friendly community and believe in the [CNCF Community Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). Please review it before joining our community. diff --git a/docs/.hugo_build.lock b/docs/.hugo_build.lock new file mode 100644 index 000000000..e69de29bb diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 000000000..40739a047 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,13 @@ +The docs are generated using [Hugo](https://gohugo.io/) and the [Geekdocs](https://themes.gohugo.io/hugo-geekdoc/) theme. + +## How to generate the documentation + +The docs can be ran locally with hot-reloading to make editing easier. To do so, +run the following command in the project's root directory: + +```bash +make docs +``` + +This will launch the development server that is included with Hugo. You can then +access the docs at http://localhost:1313/ diff --git a/docs/RELEASE.md b/docs/RELEASE.md deleted file mode 100644 index 785c13e5e..000000000 --- a/docs/RELEASE.md +++ /dev/null @@ -1,19 +0,0 @@ -# Release - -This document covers the release process for `cri-dockerd`. This steps will need to be done by a project maintainer. - -1. Setup the repo for a new release - a. Change the version found in `VERSION`, `cmd/version/version.go`, and `packaging/common.mk` to the new version - b. Create a PR with these changes and merge them to master - c. Build the release artifacts using `make release` - d. Verify the artifacts in the `build/release` directory and make sure they look correct -2. A maintainer creates a new draft release in the [repo's releases section](https://github.com/Mirantis/cri-dockerd/releases) - a. The name should follow semantic convention prepended with a 'v' - b. A tag with the same name should be created on the latest commit to master from the previous step - c. Release notes should be generated using the previous tag and the new tag as the range - d. Check the box to **Set as a pre-release** - e. Upload the release artifacts from the previous step - e. Save as a draft -3. The release can now go through a review process to look for any issues -4. Change the draft to a published release -5. Celebrate :beers: diff --git a/docs/archetypes/default.md b/docs/archetypes/default.md new file mode 100644 index 000000000..00e77bd79 --- /dev/null +++ b/docs/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/docs/content/_index.md b/docs/content/_index.md new file mode 100644 index 000000000..941513858 --- /dev/null +++ b/docs/content/_index.md @@ -0,0 +1,15 @@ +--- +title: Welcome to cri-dockerd +geekdocNav: false +geekdocAlign: center +--- + +![docker and kubernetes interact](/images/logo.svg#center) + +`cri-dockerd` is an adapter that provides a shim for the [Docker Engine](https://docs.docker.com/engine/) +that lets you control Docker via the +Kubernetes [Container Runtime Interface](https://github.com/kubernetes/cri-api#readme). + +{{< content "/about/motivation.md" >}} + +{{< button size="large" relref="usage/install" >}}Getting Started{{< /button >}} diff --git a/docs/content/about/_index.md b/docs/content/about/_index.md new file mode 100644 index 000000000..e1fad1e0b --- /dev/null +++ b/docs/content/about/_index.md @@ -0,0 +1,3 @@ +--- +weight: 1 +--- diff --git a/docs/content/about/code-of-conduct.md b/docs/content/about/code-of-conduct.md new file mode 100644 index 000000000..077a095d3 --- /dev/null +++ b/docs/content/about/code-of-conduct.md @@ -0,0 +1,5 @@ +--- +weight: 4 +--- + +{{% remote-md "https://api.github.com/repos/Mirantis/cri-dockerd/codes_of_conduct" %}} diff --git a/docs/content/about/community.md b/docs/content/about/community.md new file mode 100644 index 000000000..cd123416b --- /dev/null +++ b/docs/content/about/community.md @@ -0,0 +1,7 @@ +--- +weight: 3 +--- + +We can be found on the [Kubernetes Slack](https://communityinviter.com/apps/kubernetes/community) in the `#cri-dockerd` channel. + + diff --git a/docs/content/about/documentation.md b/docs/content/about/documentation.md new file mode 100644 index 000000000..1a6f12b6d --- /dev/null +++ b/docs/content/about/documentation.md @@ -0,0 +1,5 @@ +--- +weight: 3 +--- + +{{% content "README.md" %}} diff --git a/docs/content/about/license.md b/docs/content/about/license.md new file mode 100644 index 000000000..654822bd3 --- /dev/null +++ b/docs/content/about/license.md @@ -0,0 +1,5 @@ +--- +weight: 4 +--- + +{{% remote-md "https://api.github.com/repos/Mirantis/cri-dockerd/license" %}} diff --git a/docs/content/about/motivation.md b/docs/content/about/motivation.md new file mode 100644 index 000000000..7e44374c3 --- /dev/null +++ b/docs/content/about/motivation.md @@ -0,0 +1,17 @@ +--- +weight: 2 +--- + +Mirantis and Docker have agreed to partner to maintain the shim code standalone outside Kubernetes, as a conformant CRI +interface for the Docker Engine API. This means that you can continue to build Kubernetes +based on the Docker Engine as before, just switching from the built in dockershim to the external one. + +Mirantis and Docker intend to work together on making sure it continues to work as well as before and that it +passes all the conformance tests and continues to work just like the built in version did. Mirantis will be using +this in Mirantis Kubernetes Engine, and Docker will continue to ship this shim in Docker Desktop. For Mirantis customers, +this means that Docker Engine’s commercially supported version, Mirantis Container Runtime (MCR), will be CRI compliant. + +You can find more information about the context for this +tool in [Don't Panic: Kubernetes and Docker](https://blog.k8s.io/2020/12/02/dont-panic-kubernetes-and-docker/) +and on the Mirantis +[blog](https://www.mirantis.com/blog/mirantis-to-take-over-support-of-kubernetes-dockershim-2/). diff --git a/docs/content/development/_index.md b/docs/content/development/_index.md new file mode 100644 index 000000000..3d5e5b084 --- /dev/null +++ b/docs/content/development/_index.md @@ -0,0 +1,3 @@ +--- +weight: 3 +--- diff --git a/docs/content/development/building.md b/docs/content/development/building.md new file mode 100644 index 000000000..4e4cfcea8 --- /dev/null +++ b/docs/content/development/building.md @@ -0,0 +1,24 @@ +--- +weight: 1 +--- + +If you would like to build the project yourself, you will need to have Go installed. +You can find directions for installing the latest version on its website: + +[Install the latest version of Go](https://golang.org/doc/install) + +Once you have Go installed, you can build the project by running the following command: + +```shell +make cri-dockerd +``` + +This will output the binary to the project's root directory as `cri-dockerd`. +You can then run it directly or install it using the manual process above. + +To build for a specific architecture, add `ARCH=` as an argument, where `ARCH` +is a [known build target for Go](https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63#goarch-values). + +```shell +ARCH=amd64 make cri-dockerd +``` diff --git a/docs/content/development/creating-a-release.md b/docs/content/development/creating-a-release.md new file mode 100644 index 000000000..9852344af --- /dev/null +++ b/docs/content/development/creating-a-release.md @@ -0,0 +1,21 @@ +--- +weight: 3 +--- + +These are the steps in order to create a new release for `cri-dockerd`. These steps will need to be done by a project maintainer. + +1. Setup the repo for a new release + 1. Change the version found in `VERSION`, `cmd/version/version.go`, and `packaging/common.mk` to the new version + 2. Create a PR with these changes and merge them to master + 3. Build the release artifacts using `make release` + 4. Verify the artifacts in the `build/release` directory and make sure they look correct +2. A maintainer creates a new draft release in the project's [releases section](https://github.com/Mirantis/cri-dockerd/releases) + 1. The name should follow semantic convention prepended with a 'v' + 2. A tag with the same name should be created on the latest commit to master from the previous step + 3. Release notes should be generated using the previous tag and the new tag as the range + 4. Check the box to **Set as a pre-release** + 5. Upload the release artifacts from the previous step + 5. Save as a draft +3. The release can now go through a review process to look for any issues +4. Change the draft to a published release +5. Celebrate :cheers: diff --git a/docs/content/development/development-setup.md b/docs/content/development/development-setup.md new file mode 100644 index 000000000..6c928549a --- /dev/null +++ b/docs/content/development/development-setup.md @@ -0,0 +1,23 @@ +--- +weight: 2 +--- + +When developing, it is nice to have a separate environment to test in so that +you don't have to worry about breaking your system. An easy way to do this is +by setting up a minikube cluster since it uses `cri-dockerd` by default. Follow +the [minikube installation instructions](https://minikube.sigs.k8s.io/docs/start/) +to get it installed. + +You'll then be able to create a cluster in minikube's VM by running: + +```shell +minikube start +``` + +Once the cluster is up, we have a `make` command that will build `cri-dockerd` +and swap it out for the version running in the cluster. You can run this command +by running: + +```shell +make dev +``` diff --git a/docs/content/usage/_index.md b/docs/content/usage/_index.md new file mode 100644 index 000000000..a9fe8e7e2 --- /dev/null +++ b/docs/content/usage/_index.md @@ -0,0 +1,3 @@ +--- +weight: 2 +--- diff --git a/docs/content/usage/install-manually.md b/docs/content/usage/install-manually.md new file mode 100644 index 000000000..36b142828 --- /dev/null +++ b/docs/content/usage/install-manually.md @@ -0,0 +1,15 @@ +--- +weight: 2 +--- + +If you would like to install the project manually, you will need to place the binary +somewhere in your `PATH` and setup a service to run it. The following commands is +a manual install for a Linux system using systemd: + +```shell +install -o root -g root -m 0755 cri-dockerd /usr/local/bin/cri-dockerd +install packaging/systemd/* /etc/systemd/system +sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service +systemctl daemon-reload +systemctl enable --now cri-docker.socket +``` diff --git a/docs/content/usage/install.md b/docs/content/usage/install.md new file mode 100644 index 000000000..a20cd0d7c --- /dev/null +++ b/docs/content/usage/install.md @@ -0,0 +1,8 @@ +--- +weight: 1 +--- + +The easiest way to install `cri-dockerd` is to use one of the pre-built binaries or +packages from the [releases page](https://github.com/Mirantis/cri-dockerd/releases). +There are numerous supported platforms and using a pre-built package will install +the binary and setup your system to run it as a service. diff --git a/docs/content/usage/using-with-kubernetes.md b/docs/content/usage/using-with-kubernetes.md new file mode 100644 index 000000000..121819275 --- /dev/null +++ b/docs/content/usage/using-with-kubernetes.md @@ -0,0 +1,13 @@ +--- +weight: 3 +--- + +The default network plugin for `cri-dockerd` is set to `cni` on Linux. There are +a few ways to change this depending on how you are running the binary. + +`--network-plugin=${plugin}` can be passed in as a command line argument when + - running the binary directly + - adding to `/usr/lib/systemd/system/cri-docker.service` if a service isn't enabled + - adding to `/etc/systemd/system/multi-user.target.wants/cri-docker.service` if a service is enabled + +Run `systemctl daemon-reload` to restart the service if it was already running. diff --git a/docs/data/menu/extra.yaml b/docs/data/menu/extra.yaml new file mode 100644 index 000000000..ee04a2db8 --- /dev/null +++ b/docs/data/menu/extra.yaml @@ -0,0 +1,6 @@ +--- +header: + - name: GitHub + ref: https://github.com/Mirantis/cri-dockerd + icon: gdoc_github + external: true diff --git a/docs/data/menu/more.yaml b/docs/data/menu/more.yaml new file mode 100644 index 000000000..99134bfca --- /dev/null +++ b/docs/data/menu/more.yaml @@ -0,0 +1,13 @@ +--- +more: + - name: News + ref: "/#" + icon: "gdoc_notification" + - name: Releases + ref: "https://github.com/Mirantis/cri-dockerd/releases" + external: true + icon: "gdoc_download" + - name: "View Source" + ref: "https://github.com/Mirantis/cri-dockerd" + external: true + icon: "gdoc_github" diff --git a/docs/hugo.toml b/docs/hugo.toml new file mode 100644 index 000000000..fab0d1ac6 --- /dev/null +++ b/docs/hugo.toml @@ -0,0 +1,39 @@ +baseURL = "/" +title = "cri-dockerd" +theme = "geekdoc" + + +pluralizeListTitles = false + +# Geekdoc required configuration +pygmentsUseClasses = true +pygmentsCodeFences = true +disablePathToLower = true + +# Required if you want to render robots.txt template +enableRobotsTXT = true + +# This done to ignore errors when fetching MD from github API +# The file may not exist yet on master but we still want to be able to preview locally +ignoreErrors = ["error-remote-getjson"] + +[params] +# Adds the edit page links +geekdocRepo = "https://github.com/Mirantis/cri-dockerd" +geekdocEditPath = "edit/master/docs" + + +geekdocBreadcrumb = false + +# Needed for mermaid shortcodes +[markup] + [markup.goldmark.renderer] + # Needed for mermaid shortcode + unsafe = true + [markup.tableOfContents] + startLevel = 1 + endLevel = 9 + +[taxonomies] + tag = "tags" + diff --git a/docs/layouts/shortcodes/center-image.html b/docs/layouts/shortcodes/center-image.html new file mode 100644 index 000000000..fabc8d0e1 --- /dev/null +++ b/docs/layouts/shortcodes/center-image.html @@ -0,0 +1,14 @@ +{{ $src := .Get "src" }} + +
+ +
+ +style { + .center { + text-align: center; + } +} diff --git a/docs/layouts/shortcodes/content.html b/docs/layouts/shortcodes/content.html new file mode 100644 index 000000000..8563e38a6 --- /dev/null +++ b/docs/layouts/shortcodes/content.html @@ -0,0 +1,2 @@ +{{$file := .Get 0}} +{{ $file | readFile | markdownify }} diff --git a/docs/layouts/shortcodes/remote-md.html b/docs/layouts/shortcodes/remote-md.html new file mode 100644 index 000000000..d95cdbad8 --- /dev/null +++ b/docs/layouts/shortcodes/remote-md.html @@ -0,0 +1,6 @@ +{{ $apiFile := .Get 0 }} +{{ with $json := getJSON $apiFile }} + {{ $json.content | base64Decode | markdownify }} +{{ else }} + {{ warnf "Retrieving JSON failed" }} +{{ end }} diff --git a/docs/static/css/main.css b/docs/static/css/main.css new file mode 100644 index 000000000..f35e0d98f --- /dev/null +++ b/docs/static/css/main.css @@ -0,0 +1,6 @@ +img[src$='#center'] { + display: block; + margin: 1.0rem auto; + max-width: 100%; + height: auto; +} diff --git a/docs/static/images/logo.svg b/docs/static/images/logo.svg new file mode 100644 index 000000000..0cf5e5e15 --- /dev/null +++ b/docs/static/images/logo.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/geekdoc/LICENSE b/docs/themes/geekdoc/LICENSE new file mode 100644 index 000000000..3812eb46b --- /dev/null +++ b/docs/themes/geekdoc/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Robert Kaussow + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/docs/themes/geekdoc/README.md b/docs/themes/geekdoc/README.md new file mode 100644 index 000000000..3c0ca6ab5 --- /dev/null +++ b/docs/themes/geekdoc/README.md @@ -0,0 +1,46 @@ +# Geekdoc + +[![Build Status](https://img.shields.io/drone/build/thegeeklab/hugo-geekdoc?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)](https://drone.thegeeklab.de/thegeeklab/hugo-geekdoc) +[![Hugo Version](https://img.shields.io/badge/hugo-0.112-blue.svg)](https://gohugo.io) +[![GitHub release](https://img.shields.io/github/v/release/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/releases/latest) +[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors) +[![License: MIT](https://img.shields.io/github/license/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE) + +Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there. You can find a demo and the full documentation at [https://geekdocs.de](https://geekdocs.de). + +![Desktop and mobile preview](https://raw.githubusercontent.com/thegeeklab/hugo-geekdoc/main/images/readme.png) + +## Build and release process + +This theme is subject to a CI driven build and release process common for software development. During the release build, all necessary assets are automatically built by [webpack](https://webpack.js.org/) and bundled in a release tarball. You can download the latest release from the GitHub [release page](https://github.com/thegeeklab/hugo-geekdoc/releases). + +Due to the fact that `webpack` and `npm scripts` are used as pre-processors, the theme cannot be used from the main branch by default. If you want to use the theme from a cloned branch instead of a release tarball you'll need to install `webpack` locally and run the build script once to create all required assets. + +```shell +# install required packages from package.json +npm install + +# run the build script to build required assets +npm run build + +# build release tarball +npm run pack +``` + +See the [Getting Started Guide](https://geekdocs.de/usage/getting-started/) for details about the different setup options. + +## Contributors + +Special thanks to all [contributors](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/hugo-geekdoc/blob/main/CONTRIBUTING.md). + +Geekdoc is inspired and partially based on the [hugo-book](https://github.com/alex-shpak/hugo-book) theme, thanks [Alex Shpak](https://github.com/alex-shpak/) for your work. + +## License + +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE) file for details. + +The used SVG icons and generated icon fonts are licensed under the license of the respective icon pack: + +- Font Awesome: [CC BY 4.0 License](https://github.com/FortAwesome/Font-Awesome#license) +- IcoMoon Free Pack: [GPL/CC BY 4.0](https://icomoon.io/#icons-icomoon) +- Material Icons: [Apache License 2.0](https://github.com/google/material-design-icons/blob/main/LICENSE) diff --git a/docs/themes/geekdoc/VERSION b/docs/themes/geekdoc/VERSION new file mode 100644 index 000000000..01437515a --- /dev/null +++ b/docs/themes/geekdoc/VERSION @@ -0,0 +1 @@ +v0.40.1 diff --git a/docs/themes/geekdoc/archetypes/docs.md b/docs/themes/geekdoc/archetypes/docs.md new file mode 100644 index 000000000..aa0d88f7b --- /dev/null +++ b/docs/themes/geekdoc/archetypes/docs.md @@ -0,0 +1,7 @@ +--- +title: "{{ .Name | humanize | title }}" +weight: 1 +# geekdocFlatSection: false +# geekdocToc: 6 +# geekdocHidden: false +--- diff --git a/docs/themes/geekdoc/archetypes/posts.md b/docs/themes/geekdoc/archetypes/posts.md new file mode 100644 index 000000000..fdccff8ae --- /dev/null +++ b/docs/themes/geekdoc/archetypes/posts.md @@ -0,0 +1,4 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +--- diff --git a/docs/themes/geekdoc/assets/search/config.json b/docs/themes/geekdoc/assets/search/config.json new file mode 100644 index 000000000..1a5582a2e --- /dev/null +++ b/docs/themes/geekdoc/assets/search/config.json @@ -0,0 +1,8 @@ +{{- $searchDataFile := printf "search/%s.data.json" .Language.Lang -}} +{{- $searchData := resources.Get "search/data.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify -}} +{ + "dataFile": {{ $searchData.RelPermalink | jsonify }}, + "indexConfig": {{ .Site.Params.geekdocSearchConfig | jsonify }}, + "showParent": {{ if .Site.Params.geekdocSearchShowParent }}true{{ else }}false{{ end }}, + "showDescription": {{ if .Site.Params.geekdocSearchshowDescription }}true{{ else }}false{{ end }} +} diff --git a/docs/themes/geekdoc/assets/search/data.json b/docs/themes/geekdoc/assets/search/data.json new file mode 100644 index 000000000..f1c0e804e --- /dev/null +++ b/docs/themes/geekdoc/assets/search/data.json @@ -0,0 +1,13 @@ +[ + {{ range $index, $page := (where .Site.Pages "Params.geekdocProtected" "ne" true) }} + {{ if ne $index 0 }},{{ end }} + { + "id": {{ $index }}, + "href": "{{ $page.RelPermalink }}", + "title": {{ (partial "utils/title" $page) | jsonify }}, + "parent": {{ with $page.Parent }}{{ (partial "utils/title" .) | jsonify }}{{ else }}""{{ end }}, + "content": {{ $page.Plain | jsonify }}, + "description": {{ $page.Summary | plainify | jsonify }} + } + {{ end }} +] diff --git a/docs/themes/geekdoc/assets/sprites/geekdoc.svg b/docs/themes/geekdoc/assets/sprites/geekdoc.svg new file mode 100644 index 000000000..4f3cfd291 --- /dev/null +++ b/docs/themes/geekdoc/assets/sprites/geekdoc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/themes/geekdoc/data/assets.json b/docs/themes/geekdoc/data/assets.json new file mode 100644 index 000000000..fc6cf73db --- /dev/null +++ b/docs/themes/geekdoc/data/assets.json @@ -0,0 +1,154 @@ +{ + "main.js": { + "src": "js/main-fbb9c8b0.bundle.min.js", + "integrity": "sha512-a2U9t8fDfYhGDxgtKVGnpqn5xiV2TZUXIko+ssEDtNhykeqGTRNCAnfvR78chHjMcgjDfsJaLVCmtxFaHN48Qw==" + }, + "colortheme.js": { + "src": "js/colortheme-d3e4d351.bundle.min.js", + "integrity": "sha512-HpQogL/VeKqG/v1qYOfJOgFUzBnQvW4yO4tAJO+54IiwbLbB9feROdeaYf7dpO6o5tSHsSZhaYLhtLMRlEgpJQ==" + }, + "mermaid.js": { + "src": "js/mermaid-793cb063.bundle.min.js", + "integrity": "sha512-HPd4f1CYkhokX8nGcu0epHEbYpRoDdMa1yMHlSxn/YS75a8r/FJwsFIgpzRpvJK2oyBq17Knm2SqzVPxqAfnWw==" + }, + "katex.js": { + "src": "js/katex-d4d5881d.bundle.min.js", + "integrity": "sha512-M8CLtMTu/HVXo11Et+lv3OqPanLf5Bl+GljNAn2yQuLclg/ZpZK1KUpHDRsZJhmkhCcCH90+bVj5CW3lLlmBgg==" + }, + "search.js": { + "src": "js/search-83320133.bundle.min.js", + "integrity": "sha512-CwGkjWp7KsLGb36oWvVd0rLIzoUlHyaE6vAAciDmALP2/NgxSc/ue1skuL9vSbUZPmF2N2UduWcM0Mda6N6u1w==" + }, + "js/637-3456bdaf.chunk.min.js": { + "src": "js/637-3456bdaf.chunk.min.js", + "integrity": "sha512-UMuuH7LbCteTrG0tMOpePGJoKw6qcLCEkIZmjiDLFdqQNdVKqn1opPgR8rVDWA6D/KACwKfgMBUs0BqCVdc10Q==" + }, + "js/116-341f79d9.chunk.min.js": { + "src": "js/116-341f79d9.chunk.min.js", + "integrity": "sha512-F7tq1KsF5mnJl0AAA6x2jZcx8x69kEZrUIZJJM4RZ1KlEO79yrrFHf4CZRvhNrYOxmkBpkQ84U9J0vFtRPKjTw==" + }, + "js/648-d659639f.chunk.min.js": { + "src": "js/648-d659639f.chunk.min.js", + "integrity": "sha512-3yvwlZ1zvq7pPSC4bHaBaVeM7BJIcQNtKZafDUjiiTmuGkl0GCG/lo7IHqCy4DATByB++SsQemns82WkZRP1iQ==" + }, + "js/177-040c64bb.chunk.min.js": { + "src": "js/177-040c64bb.chunk.min.js", + "integrity": "sha512-gcZ67pga5Idzy8pmxtsEju9ar4F4DNzDzt/iD2kOYz0ObBI4lCEZbhx3Tmt3noHf6jOVn2Tg8xMpc5CK5Q67Dg==" + }, + "js/209-c3adcb05.chunk.min.js": { + "src": "js/209-c3adcb05.chunk.min.js", + "integrity": "sha512-vfTsYsjO6NmUUMcd6r7Dx83DQTO4BwesDgaMYpOQ54q3pv8C55ftoXBzG954A1NCf3trEHYbAgykICPAcfh5pg==" + }, + "js/435-486719a5.chunk.min.js": { + "src": "js/435-486719a5.chunk.min.js", + "integrity": "sha512-W4Tp/iorM1RHf3PEovKWYj4aaQUNGTBKf8a6MVvLNHD/3wOlVsroa4t8Fbrh0X9wbjS/4vV+n/ZoLzLMpNkcNw==" + }, + "js/978-b383dcdf.chunk.min.js": { + "src": "js/978-b383dcdf.chunk.min.js", + "integrity": "sha512-TM3uOJ+vDLWxizhdZU7S1K/IcpDqCFEVxuXnIjtjEy2VCWkgJNPaSyCcHD15vCTstHSEWNxedYH22HWx8wNqJQ==" + }, + "js/670-b8cde8a2.chunk.min.js": { + "src": "js/670-b8cde8a2.chunk.min.js", + "integrity": "sha512-FtfvbDgRlrJYVLWNQ4DgImAAU1nxFhUg/a8VH3GzX4dbSzuEp+vDSC2+Qx2xXPpzyOyAGDFS+IZ16hzQbdJEYA==" + }, + "js/880-5781b8a1.chunk.min.js": { + "src": "js/880-5781b8a1.chunk.min.js", + "integrity": "sha512-kdTmXK1ytTO35zmT+Nf4sx9bk0YQDWbBXFviDxLlQwwLWjB0LJkSUqBPAkgalq3JzbD9uYJ6L2/ed9qwGVDRmA==" + }, + "js/851-43fe3c07.chunk.min.js": { + "src": "js/851-43fe3c07.chunk.min.js", + "integrity": "sha512-x1s+neHCeiaYPKKmNQb/1HJfjJbO1mGuixEilaOUrUuynzt88NtlJyY22pb8IDLb4s4VibzIIxdFgLVEEPj9vQ==" + }, + "js/311-5bd6ac4e.chunk.min.js": { + "src": "js/311-5bd6ac4e.chunk.min.js", + "integrity": "sha512-J43PbJRCfZkAYH2M5lIECYBMvhN4UOYauHU8Zf+/s1AxRdxB3jpofMQ7Pai2QOwNHY41jvQTbvdfxg77Nf2aiQ==" + }, + "js/422-156f22f0.chunk.min.js": { + "src": "js/422-156f22f0.chunk.min.js", + "integrity": "sha512-nlrN0J0lV4en33le/JB83qBZuJJ0WrUZvXH1uumODl4i0GvlmTHyw5kzr0XJMWQ5iMH/q6RKFRxImVs3kxMizA==" + }, + "js/770-a679cffc.chunk.min.js": { + "src": "js/770-a679cffc.chunk.min.js", + "integrity": "sha512-WZTbwIWneVzWtXLI4EQX4E1tGi/hQSg8Vn+SfF6M8GVcQo+26VMya3j/xTD2TsUIT2hTco03jsBQw3bsM9Y6WQ==" + }, + "js/861-619d670c.chunk.min.js": { + "src": "js/861-619d670c.chunk.min.js", + "integrity": "sha512-kR1zhP3F6BsYMjjqitEUOVsdY4If1/0Qb6mqnlKb3AqKQGV6u3UPNIMfJqDlSEKM56WHYg3rw01F0ZsLEaiyjQ==" + }, + "js/604-5faadc0f.chunk.min.js": { + "src": "js/604-5faadc0f.chunk.min.js", + "integrity": "sha512-UstbLPddQKLL1VKMCKG7sihjDpVwkOt6ru6mdBpuVDDxCzcH7GqAeHCoz+1MhD7g2cqWQr6cySbIfEkJuGfhDQ==" + }, + "js/120-8522b24e.chunk.min.js": { + "src": "js/120-8522b24e.chunk.min.js", + "integrity": "sha512-/tp0edPTbuSOaN9dXy7L5VPGrnf2PgmD5GAU6YkzOopfp/6/zo0SARyexa3nW7MbDd8/feBxicB3uWJ3CUR0eA==" + }, + "js/980-8efa2815.chunk.min.js": { + "src": "js/980-8efa2815.chunk.min.js", + "integrity": "sha512-P8CC3AucR2YCjNr/h+SK7QWmtUi8x+SJeEcNaORPrOC2b5wLp5HP82op3uY6KCJpy/X+RwHAh5+1kQllk+7zWw==" + }, + "js/246-0f95be8b.chunk.min.js": { + "src": "js/246-0f95be8b.chunk.min.js", + "integrity": "sha512-dDFW6K6oWIqfoAkOdw5Dy7c+BbeW+vexKqwOZ8LycSwskw5nt18dbiOBvvzpYPc9QTcBTPLzQpS5qYIAvwIKgA==" + }, + "js/522-68ed520b.chunk.min.js": { + "src": "js/522-68ed520b.chunk.min.js", + "integrity": "sha512-/P1mj0E7NxQScta+RTltcuFgTKB8p8p6BcS2e+8xQTTamB5Y66LwRvRQkJJR7BwKnAOYg/wteYx+2nggdZvg2g==" + }, + "js/684-c45993cc.chunk.min.js": { + "src": "js/684-c45993cc.chunk.min.js", + "integrity": "sha512-oH4BihtlUrFIrpNWkLSj54g+7nhb0sLLpqQ/lvl9c4I4rvX8bCJOPhYGsitAi15C/Y0p9FDS6vOYNkQBMbs9PA==" + }, + "js/968-bb8c6ba1.chunk.min.js": { + "src": "js/968-bb8c6ba1.chunk.min.js", + "integrity": "sha512-cm2cz+wFccD8GP2xYt8PifTCnkFw9SB6FSL7+ABEsFu+tY9ip1lwY3YwUA6i+8XNtYpnAGWdUZ0xabY5/jWJVQ==" + }, + "js/451-2756cb7b.chunk.min.js": { + "src": "js/451-2756cb7b.chunk.min.js", + "integrity": "sha512-0c1iHphy/QmCVLIQR+RZ5DpvVu5yw0eeHsFfd1trAWB1nQytTT1sfEir/VGUr6aFN7IUoKyCmAFhUQWHXDUbsQ==" + }, + "js/105-7a46a89c.chunk.min.js": { + "src": "js/105-7a46a89c.chunk.min.js", + "integrity": "sha512-w64UmOAYycHbjnSB3zVqGLHAZ4TuGsWCUFzyKLpeaod5teMbM85cJayL7mJji7VX3b0KT9+z4fcLB+zM73jAJw==" + }, + "js/264-68fcc9b2.chunk.min.js": { + "src": "js/264-68fcc9b2.chunk.min.js", + "integrity": "sha512-SjbsecGF5NLaq+7l9x8NiEd9mSF3Rp8tZDDdU5kqNP3xMSoMerrkrYX75/FMqbXTsYcbtDbXdi7Zc0q/BOVG/g==" + }, + "js/759-e5cc88d0.chunk.min.js": { + "src": "js/759-e5cc88d0.chunk.min.js", + "integrity": "sha512-lHPjZm8+hRuhdJIqf4CnZ1Yaj4+85GfdluJ3tBrWJJswMBMsfTFgRuHNS/FZ6JMKZjFWVAkvUN0BYB/hUyK48w==" + }, + "js/796-b653a12b.chunk.min.js": { + "src": "js/796-b653a12b.chunk.min.js", + "integrity": "sha512-j1PUSeAbzXE5hBdK0Idd5tg47kwCgsDnUCAtdye88DupCyd9DJrGyDkttD7thrS8J+0w+AwDNGI9t92lZppF6w==" + }, + "js/321-479928b6.chunk.min.js": { + "src": "js/321-479928b6.chunk.min.js", + "integrity": "sha512-ecxmk53LK2fIcezH+ohG4O2gNSdfmKmGsDZJHAaHPaffovv8i2kzy4Ox5UAb8ZZR5VBAGH3o/a7VPeChyqtvUQ==" + }, + "js/902-7a89ddf4.chunk.min.js": { + "src": "js/902-7a89ddf4.chunk.min.js", + "integrity": "sha512-QSpPmcXhbEhXHzUtOYkt2tFzBQsS5HJGPeZti+EhjOci7idBMXKnfTYvdy8AbWNlZHcs++7Y0KXEHhZm7EJFSw==" + }, + "main.scss": { + "src": "main-ba0e2765.min.css", + "integrity": "sha512-h7EvkyGW5yIpfNcu0wqf1U1eOFed2XIIpx+JSvv3wLmJu4H5Qaa+UmXAyYU5/BIW78AKPSmf9wPyonrv+PccWw==" + }, + "katex.css": { + "src": "katex-66092164.min.css", + "integrity": "sha512-ng+uY3bZP0IENn+fO0T+jdk1v1r7HQJjsVRJgzU+UiJJadAevmo0gVNrpVxrBFGpRQqSz42q20uTre1C1Qrnow==" + }, + "mobile.scss": { + "src": "mobile-79ddc617.min.css", + "integrity": "sha512-dzw2wMOouDwhSgstQKLbXD/vIqS48Ttc2IV6DeG7yam9yvKUuChJVaworzL8s2UoGMX4x2jEm50PjFJE4R4QWw==" + }, + "print.scss": { + "src": "print-735ccc12.min.css", + "integrity": "sha512-c28KLNtBnKDW1+/bNWFhwuGBLw9octTXA2wnuaS2qlvpNFL0DytCapui9VM4YYkZg6e9TVp5LyuRQc2lTougDw==" + }, + "custom.css": { + "src": "custom.css", + "integrity": "sha512-1kALo+zc1L2u1rvyxPIew+ZDPWhnIA1Ei2rib3eHHbskQW+EMxfI9Ayyva4aV+YRrHvH0zFxvPSFIuZ3mfsbRA==" + } +} \ No newline at end of file diff --git a/docs/themes/geekdoc/i18n/cs.yaml b/docs/themes/geekdoc/i18n/cs.yaml new file mode 100644 index 000000000..71dd8ed30 --- /dev/null +++ b/docs/themes/geekdoc/i18n/cs.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Upravit stránku + +nav_navigation: Navigace +nav_tags: Tagy +nav_more: Více +nav_top: Zpět nahoru + +form_placeholder_search: Vyhledat + +error_page_title: Ztracen? Nic se neděje +error_message_title: Ztracen? +error_message_code: Error 404 +error_message_text: > + Vypadá to že stránka, kterou hledáte, neexistuje. Nemějte obavy, můžete + se vrátit zpět na domovskou stránku. + +button_toggle_dark: Přepnout tmavý/světlý/automatický režim +button_nav_open: Otevřít navigaci +button_nav_close: Zavřít navigaci +button_menu_open: Otevřít lištu nabídky +button_menu_close: Zavřít lištu nabídky +button_homepage: Zpět na domovskou stránku + +title_anchor_prefix: "Odkaz na:" + +posts_read_more: Přečíst celý příspěvek +posts_read_time: + one: "Doba čtení: 1 minuta" + other: "Doba čtení: {{ . }} minut(y)" +posts_update_prefix: Naposledy upraveno +posts_count: + one: "Jeden příspěvek" + other: "Příspěvků: {{ . }}" +posts_tagged_with: Všechny příspěvky označeny '{{ . }}' + +footer_build_with: > + Vytvořeno za pomocí Hugo a + +footer_legal_notice: Právní upozornění +footer_privacy_policy: Zásady ochrany soukromí +footer_content_license_prefix: > + Obsah licencovaný pod + +language_switch_no_tranlation_prefix: "Stránka není přeložena:" + +propertylist_required: povinné +propertylist_optional: volitené +propertylist_default: výchozí + +pagination_page_prev: předchozí +pagination_page_next: další +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/de.yaml b/docs/themes/geekdoc/i18n/de.yaml new file mode 100644 index 000000000..ae3dc99fc --- /dev/null +++ b/docs/themes/geekdoc/i18n/de.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Seite bearbeiten + +nav_navigation: Navigation +nav_tags: Tags +nav_more: Weitere +nav_top: Nach oben + +form_placeholder_search: Suchen + +error_page_title: Verlaufen? Keine Sorge +error_message_title: Verlaufen? +error_message_code: Fehler 404 +error_message_text: > + Wir können die Seite nach der Du gesucht hast leider nicht finden. Keine Sorge, + wir bringen Dich zurück zur Startseite. + +button_toggle_dark: Wechsel zwischen Dunkel/Hell/Auto Modus +button_nav_open: Navigation öffnen +button_nav_close: Navigation schließen +button_menu_open: Menüband öffnen +button_menu_close: Menüband schließen +button_homepage: Zurück zur Startseite + +title_anchor_prefix: "Link zu:" + +posts_read_more: Ganzen Artikel lesen +posts_read_time: + one: "Eine Minute Lesedauer" + other: "{{ . }} Minuten Lesedauer" +posts_update_prefix: Aktualisiert am +posts_count: + one: "Ein Artikel" + other: "{{ . }} Artikel" +posts_tagged_with: Alle Artikel mit dem Tag '{{ . }}' + +footer_build_with: > + Entwickelt mit Hugo und + +footer_legal_notice: Impressum +footer_privacy_policy: Datenschutzerklärung +footer_content_license_prefix: > + Inhalt lizensiert unter + +language_switch_no_tranlation_prefix: "Seite nicht übersetzt:" + +propertylist_required: erforderlich +propertylist_optional: optional +propertylist_default: Standardwert + +pagination_page_prev: vorher +pagination_page_next: weiter +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/en.yaml b/docs/themes/geekdoc/i18n/en.yaml new file mode 100644 index 000000000..ff19ea4e8 --- /dev/null +++ b/docs/themes/geekdoc/i18n/en.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Edit page + +nav_navigation: Navigation +nav_tags: Tags +nav_more: More +nav_top: Back to top + +form_placeholder_search: Search + +error_page_title: Lost? Don't worry +error_message_title: Lost? +error_message_code: Error 404 +error_message_text: > + Seems like what you are looking for can't be found. Don't worry, we can + bring you back to the homepage. + +button_toggle_dark: Toggle Dark/Light/Auto mode +button_nav_open: Open Navigation +button_nav_close: Close Navigation +button_menu_open: Open Menu Bar +button_menu_close: Close Menu Bar +button_homepage: Back to homepage + +title_anchor_prefix: "Anchor to:" + +posts_read_more: Read full post +posts_read_time: + one: "One minute to read" + other: "{{ . }} minutes to read" +posts_update_prefix: Updated on +posts_count: + one: "One post" + other: "{{ . }} posts" +posts_tagged_with: All posts tagged with '{{ . }}' + +footer_build_with: > + Built with Hugo and + +footer_legal_notice: Legal Notice +footer_privacy_policy: Privacy Policy +footer_content_license_prefix: > + Content licensed under + +language_switch_no_tranlation_prefix: "Page not translated:" + +propertylist_required: required +propertylist_optional: optional +propertylist_default: default + +pagination_page_prev: prev +pagination_page_next: next +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/es.yaml b/docs/themes/geekdoc/i18n/es.yaml new file mode 100644 index 000000000..8e65cec7b --- /dev/null +++ b/docs/themes/geekdoc/i18n/es.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Editar página + +nav_navigation: Navegación +nav_tags: Etiquetas +nav_more: Más +nav_top: Inicio de la página + +form_placeholder_search: Buscar + +error_page_title: Perdido? No te preocupes +error_message_title: Perdido? +error_message_code: Error 404 +error_message_text: > + Al parecer, lo que estás buscando no pudo ser encontrado. No te preocupes, podemos + llevarte de vuelta al inicio. + +button_toggle_dark: Cambiar el modo Oscuro/Claro/Auto +button_nav_open: Abrir la Navegación +button_nav_close: Cerrar la Navegación +button_menu_open: Abrir el Menú Bar +button_menu_close: Cerrar el Menú Bar +button_homepage: Volver al Inicio + +title_anchor_prefix: "Anclado a:" + +posts_read_more: Lee la publicación completa +posts_read_time: + one: "Un minuto para leer" + other: "{{ . }} minutos para leer" +posts_update_prefix: Actualizado en +posts_count: + one: "Una publicación" + other: "{{ . }} publicaciones" +posts_tagged_with: Todas las publicaciones etiquetadas con '{{ . }}' + +footer_build_with: > + Creado con Hugo y + +footer_legal_notice: Aviso Legal +footer_privacy_policy: Política de Privacidad +footer_content_license_prefix: > + Contenido licenciado con + +language_switch_no_tranlation_prefix: "Página no traducida:" + +propertylist_required: requerido +propertylist_optional: opcional +propertylist_default: estándar + +pagination_page_prev: previo +pagination_page_next: siguiente +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/it.yaml b/docs/themes/geekdoc/i18n/it.yaml new file mode 100644 index 000000000..ce7c40b4e --- /dev/null +++ b/docs/themes/geekdoc/i18n/it.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Modifica la pagina + +nav_navigation: Navigazione +nav_tags: Etichette +nav_more: Altro +nav_top: Torna su + +form_placeholder_search: Cerca + +error_page_title: Perso? Non ti preoccupare +error_message_title: Perso? +error_message_code: Errore 404 +error_message_text: > + Sembra che non sia possibile trovare quello che stavi cercando. Non ti preoccupare, + possiamo riportarti alla pagina iniziale. + +button_toggle_dark: Seleziona il tema Chiaro/Scuro/Automatico +button_nav_open: Apri la Navigazione +button_nav_close: Chiudi la Navigazione +button_menu_open: Apri la Barra del Menu +button_menu_close: Chiudi la Barra del Menu +button_homepage: Torna alla pagina iniziale + +title_anchor_prefix: "Ancora a:" + +posts_read_more: Leggi tutto il post +posts_read_time: + one: "Tempo di lettura: un minuto" + other: "Tempo di lettura: {{ . }} minuti" +posts_update_prefix: Aggiornato il +posts_count: + one: "Un post" + other: "{{ . }} post" +posts_tagged_with: Tutti i post etichettati con '{{ . }}' + +footer_build_with: > + Realizzato con Hugo e + +footer_legal_notice: Avviso Legale +footer_privacy_policy: Politica sulla Privacy +footer_content_license_prefix: > + Contenuto sotto licenza + +language_switch_no_tranlation_prefix: "Pagina non tradotta:" + +propertylist_required: richiesto +propertylist_optional: opzionale +propertylist_default: valore predefinito + +pagination_page_prev: precedente +pagination_page_next: prossimo +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/ja.yaml b/docs/themes/geekdoc/i18n/ja.yaml new file mode 100644 index 000000000..506e7b4e1 --- /dev/null +++ b/docs/themes/geekdoc/i18n/ja.yaml @@ -0,0 +1,53 @@ +--- +edit_page: ページの編集 + +nav_navigation: ナビゲーション +nav_tags: タグ +nav_more: さらに +nav_top: トップへ戻る + +form_placeholder_search: 検索 + +error_page_title: お困りですか?ご心配なく +error_message_title: お困りですか? +error_message_code: 404 エラー +error_message_text: > + お探しのものが見つからないようです。トップページ + へ戻ることができるので、ご安心ください。 + +button_toggle_dark: モードの切替 ダーク/ライト/自動 +button_nav_open: ナビゲーションを開く +button_nav_close: ナビゲーションを閉じる +button_menu_open: メニューバーを開く +button_menu_close: メニューバーを閉じる +button_homepage: トップページへ戻る + +title_anchor_prefix: "アンカー先:" + +posts_read_more: 全投稿を閲覧 +posts_read_time: + one: "読むのに 1 分かかります" + other: "読むのに要する時間 {{ . }} (分)" +posts_update_prefix: 更新時刻 +posts_count: + one: "一件の投稿" + other: "{{ . }} 件の投稿" +posts_tagged_with: "'{{ . }}'のタグが付いた記事全部" + +footer_build_with: > + Hugo でビルドしています。 + +footer_legal_notice: 法的な告知事項 +footer_privacy_policy: プライバシーポリシー +footer_content_license_prefix: > + 提供するコンテンツのライセンス + +language_switch_no_tranlation_prefix: "未翻訳のページ:" + +propertylist_required: 必須 +propertylist_optional: 任意 +propertylist_default: 既定値 + +pagination_page_prev: 前 +pagination_page_next: 次 +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/nl.yaml b/docs/themes/geekdoc/i18n/nl.yaml new file mode 100644 index 000000000..8e24d62a4 --- /dev/null +++ b/docs/themes/geekdoc/i18n/nl.yaml @@ -0,0 +1,53 @@ +--- +edit_page: Wijzig pagina + +nav_navigation: Navigatie +nav_tags: Markering +nav_more: Meer +nav_top: Terug naar boven + +form_placeholder_search: Zoek + +error_page_title: Verdwaald? Geen probleem +error_message_title: Verdwaald? +error_message_code: Error 404 +error_message_text: > + Het lijkt er op dat wat je zoekt niet gevonden kan worden. Geen probleem, + we kunnen je terug naar de startpagina brengen. + +button_toggle_dark: Wijzig Donker/Licht/Auto weergave +button_nav_open: Open navigatie +button_nav_close: Sluit navigatie +button_menu_open: Open menubalk +button_menu_close: Sluit menubalk +button_homepage: Terug naar startpagina + +title_anchor_prefix: "Link naar:" + +posts_read_more: Lees volledige bericht +posts_read_time: + one: "Een minuut leestijd" + other: "{{ . }} minuten leestijd" +posts_update_prefix: Bijgewerkt op +posts_count: + one: "Een bericht" + other: "{{ . }} berichten" +posts_tagged_with: Alle berichten gemarkeerd met '{{ . }}' + +footer_build_with: > + Gebouwd met Hugo en + +footer_legal_notice: Juridische mededeling +footer_privacy_policy: Privacybeleid +footer_content_license_prefix: > + Inhoud gelicenseerd onder + +language_switch_no_tranlation_prefix: "Pagina niet vertaald:" + +propertylist_required: verplicht +propertylist_optional: optioneel +propertylist_default: standaard + +pagination_page_prev: vorige +pagination_page_next: volgende +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/i18n/zh-cn.yaml b/docs/themes/geekdoc/i18n/zh-cn.yaml new file mode 100644 index 000000000..e6403acd1 --- /dev/null +++ b/docs/themes/geekdoc/i18n/zh-cn.yaml @@ -0,0 +1,53 @@ +--- +edit_page: 编辑页面 + +nav_navigation: 导航 +nav_tags: 标签 +nav_more: 更多 +nav_top: 回到顶部 + +form_placeholder_search: 搜索 + +error_page_title: 迷路了? 不用担心 +error_message_title: 迷路了? +error_message_code: 错误 404 +error_message_text: > + 好像找不到你要找的东西。 别担心,我们可以 + 带您回到主页。 + +button_toggle_dark: 切换暗/亮/自动模式 +button_nav_open: 打开导航 +button_nav_close: 关闭导航 +button_menu_open: 打开菜单栏 +button_menu_close: 关闭菜单栏 +button_homepage: 返回首页 + +title_anchor_prefix: "锚定到:" + +posts_read_more: 阅读全文 +posts_read_time: + one: "一分钟阅读时间" + other: "{{ . }} 分钟阅读时间" +posts_update_prefix: 更新时间 +posts_count: + one: 一篇文章 + other: "{{ . }} 个帖子" +posts_tagged_with: 所有带有“{{ . }}”标签的帖子。 + +footer_build_with: > + 基于 Hugo + 制作 +footer_legal_notice: "法律声明" +footer_privacy_policy: "隐私政策" +footer_content_license_prefix: > + 内容许可证 + +language_switch_no_tranlation_prefix: "页面未翻译:" + +propertylist_required: 需要 +propertylist_optional: 可选 +propertylist_default: 默认值 + +pagination_page_prev: 以前 +pagination_page_next: 下一个 +pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}" diff --git a/docs/themes/geekdoc/images/readme.png b/docs/themes/geekdoc/images/readme.png new file mode 100644 index 000000000..10c8ff157 Binary files /dev/null and b/docs/themes/geekdoc/images/readme.png differ diff --git a/docs/themes/geekdoc/images/screenshot.png b/docs/themes/geekdoc/images/screenshot.png new file mode 100644 index 000000000..af243606d Binary files /dev/null and b/docs/themes/geekdoc/images/screenshot.png differ diff --git a/docs/themes/geekdoc/images/tn.png b/docs/themes/geekdoc/images/tn.png new file mode 100644 index 000000000..ee6e42ed0 Binary files /dev/null and b/docs/themes/geekdoc/images/tn.png differ diff --git a/docs/themes/geekdoc/layouts/404.html b/docs/themes/geekdoc/layouts/404.html new file mode 100644 index 000000000..f8a61bb53 --- /dev/null +++ b/docs/themes/geekdoc/layouts/404.html @@ -0,0 +1,40 @@ + + + + {{ partial "head/meta" . }} + {{ i18n "error_page_title" }} + + {{ partial "head/favicons" . }} + {{ partial "head/others" . }} + + + + {{ partial "svg-icon-symbols" . }} + + +
+ + + {{ partial "site-header" (dict "Root" . "MenuEnabled" false) }} + + +
+
+
+ +
+
+
{{ i18n "error_message_title" }}
+
{{ i18n "error_message_code" }}
+
+ {{ i18n "error_message_text" .Site.BaseURL | safeHTML }} +
+
+
+
+ + {{ partial "site-footer" . }} + +
+ + diff --git a/docs/themes/geekdoc/layouts/_default/_markup/render-codeblock-mermaid.html b/docs/themes/geekdoc/layouts/_default/_markup/render-codeblock-mermaid.html new file mode 100644 index 000000000..b5deb66b4 --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/_markup/render-codeblock-mermaid.html @@ -0,0 +1,11 @@ + +{{ if not (.Page.Scratch.Get "mermaid") }} + + + {{ .Page.Scratch.Set "mermaid" true }} +{{ end }} + + +
+  {{- .Inner -}}
+
diff --git a/docs/themes/geekdoc/layouts/_default/_markup/render-heading.html b/docs/themes/geekdoc/layouts/_default/_markup/render-heading.html new file mode 100644 index 000000000..f947f96a8 --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/_markup/render-heading.html @@ -0,0 +1,27 @@ +{{- $showAnchor := (and (default true .Page.Params.geekdocAnchor) (default true .Page.Site.Params.geekdocAnchor)) -}} + + + +{{- if $showAnchor -}} +
+ + {{ .Text | safeHTML }} + + + + +
+{{- else -}} +
+ + {{ .Text | safeHTML }} + +
+{{- end -}} + diff --git a/docs/themes/geekdoc/layouts/_default/_markup/render-image.html b/docs/themes/geekdoc/layouts/_default/_markup/render-image.html new file mode 100644 index 000000000..99a311367 --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/_markup/render-image.html @@ -0,0 +1,6 @@ +{{ .Text }} +{{- /* Drop trailing newlines */ -}} diff --git a/docs/themes/geekdoc/layouts/_default/_markup/render-link.html b/docs/themes/geekdoc/layouts/_default/_markup/render-link.html new file mode 100644 index 000000000..cec8a9530 --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/_markup/render-link.html @@ -0,0 +1,14 @@ +{{- $raw := or (hasPrefix .Text " + {{- .Text | safeHTML -}} + +{{- /* Drop trailing newlines */ -}} diff --git a/docs/themes/geekdoc/layouts/_default/baseof.html b/docs/themes/geekdoc/layouts/_default/baseof.html new file mode 100644 index 000000000..ebc39cfcf --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/baseof.html @@ -0,0 +1,60 @@ + + + + {{ partial "head/meta" . }} + + {{- if eq .Kind "home" -}} + {{ .Site.Title }} + {{- else -}} + {{ printf "%s | %s" (partial "utils/title" .) .Site.Title }} + {{- end -}} + + + {{ partial "head/favicons" . }} + {{ partial "head/rel-me" . }} + {{ partial "head/microformats" . }} + {{ partial "head/others" . }} + {{ partial "head/custom" . }} + + + + {{ partial "svg-icon-symbols" . }} + + +
+ + + {{ $navEnabled := default true .Page.Params.geekdocNav }} + {{ partial "site-header" (dict "Root" . "MenuEnabled" $navEnabled) }} + + +
+ {{ if $navEnabled }} + + {{ end }} + + +
+ {{ template "main" . }} + + + +
+
+ + {{ partial "site-footer" . }} +
+ + {{ partial "foot" . }} + + diff --git a/docs/themes/geekdoc/layouts/_default/list.html b/docs/themes/geekdoc/layouts/_default/list.html new file mode 100644 index 000000000..94172f65d --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/list.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{ partial "page-header" . }} + + +
+

{{ partial "utils/title" . }}

+ {{ partial "utils/content" . }} +
+{{ end }} diff --git a/docs/themes/geekdoc/layouts/_default/single.html b/docs/themes/geekdoc/layouts/_default/single.html new file mode 100644 index 000000000..94172f65d --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{ partial "page-header" . }} + + +
+

{{ partial "utils/title" . }}

+ {{ partial "utils/content" . }} +
+{{ end }} diff --git a/docs/themes/geekdoc/layouts/_default/taxonomy.html b/docs/themes/geekdoc/layouts/_default/taxonomy.html new file mode 100644 index 000000000..bb97e8ed4 --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/taxonomy.html @@ -0,0 +1,49 @@ +{{ define "main" }} + {{ range .Paginator.Pages }} + + {{ end }} + {{ partial "pagination.html" . }} +{{ end }} + +{{ define "post-tag" }} + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/_default/terms.html b/docs/themes/geekdoc/layouts/_default/terms.html new file mode 100644 index 000000000..2316ef56d --- /dev/null +++ b/docs/themes/geekdoc/layouts/_default/terms.html @@ -0,0 +1,32 @@ +{{ define "main" }} + {{ range .Paginator.Pages.ByTitle }} + + {{ end }} + {{ partial "pagination.html" . }} +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/foot.html b/docs/themes/geekdoc/layouts/partials/foot.html new file mode 100644 index 000000000..2a115e562 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/foot.html @@ -0,0 +1,6 @@ +{{ if default true .Site.Params.geekdocSearch }} + + {{- $searchConfigFile := printf "search/%s.config.json" .Language.Lang -}} + {{- $searchConfig := resources.Get "search/config.json" | resources.ExecuteAsTemplate $searchConfigFile . | resources.Minify -}} + {{- $searchConfig.Publish -}} +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/head/custom.html b/docs/themes/geekdoc/layouts/partials/head/custom.html new file mode 100644 index 000000000..44862c7b6 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/head/custom.html @@ -0,0 +1 @@ + diff --git a/docs/themes/geekdoc/layouts/partials/head/favicons.html b/docs/themes/geekdoc/layouts/partials/head/favicons.html new file mode 100644 index 000000000..40a8c91d2 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/head/favicons.html @@ -0,0 +1,13 @@ + + + diff --git a/docs/themes/geekdoc/layouts/partials/head/meta.html b/docs/themes/geekdoc/layouts/partials/head/meta.html new file mode 100644 index 000000000..4cc4ddb44 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/head/meta.html @@ -0,0 +1,14 @@ + + + + +{{ hugo.Generator }} + +{{ $keywords := default .Site.Params.Keywords .Keywords }} + +{{- with partial "utils/description" . }} + +{{- end }} +{{- with $keywords }} + +{{- end }} diff --git a/docs/themes/geekdoc/layouts/partials/head/microformats.html b/docs/themes/geekdoc/layouts/partials/head/microformats.html new file mode 100644 index 000000000..8b6038ac2 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/head/microformats.html @@ -0,0 +1,3 @@ +{{ partial "microformats/opengraph.html" . }} +{{ partial "microformats/twitter_cards.html" . }} +{{ partial "microformats/schema" . }} diff --git a/docs/themes/geekdoc/layouts/partials/head/others.html b/docs/themes/geekdoc/layouts/partials/head/others.html new file mode 100644 index 000000000..537c2ff85 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/head/others.html @@ -0,0 +1,73 @@ +{{- if default true .Site.Params.geekdocDarkModeToggle }} + +{{- end }} + + + + + + + + + + + + + + + + + +{{- with .OutputFormats.Get "html" }} + {{ printf `` .Permalink .Rel .MediaType.Type | safeHTML }} +{{- end }} + +{{- if (default false $.Site.Params.geekdocOverwriteHTMLBase) }} + +{{- end }} + +{{ printf "" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }} diff --git a/docs/themes/geekdoc/layouts/partials/head/rel-me.html b/docs/themes/geekdoc/layouts/partials/head/rel-me.html new file mode 100644 index 000000000..59a346168 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/head/rel-me.html @@ -0,0 +1 @@ + diff --git a/docs/themes/geekdoc/layouts/partials/language.html b/docs/themes/geekdoc/layouts/partials/language.html new file mode 100644 index 000000000..fdcafd2b2 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/language.html @@ -0,0 +1,51 @@ +{{ if .Site.IsMultiLingual }} + +
    +
  • + {{ range .Site.Languages }} + {{ if eq . $.Site.Language }} + + + {{ .Lang | upper }} + + {{ end }} + {{ end }} + + + +
  • +
+
+{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/menu-bundle.html b/docs/themes/geekdoc/layouts/partials/menu-bundle.html new file mode 100644 index 000000000..bb323875b --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/menu-bundle.html @@ -0,0 +1,87 @@ +{{ $current := .current }} +{{ template "menu-file" dict "sect" .source "current" $current "site" $current.Site }} + + + +{{ define "menu-file" }} + {{ $current := .current }} + {{ $site := .site }} + + + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/menu-extra.html b/docs/themes/geekdoc/layouts/partials/menu-extra.html new file mode 100644 index 000000000..a1984f8b2 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/menu-extra.html @@ -0,0 +1,46 @@ +{{ $current := .current }} +{{ template "menu-extra" dict "sect" .source "current" $current "site" $current.Site "target" .target }} + + + +{{ define "menu-extra" }} + {{ $current := .current }} + {{ $site := .site }} + {{ $target := .target }} + {{ $sect := .sect }} + + {{ range sort (default (seq 0) $sect) "weight" }} + {{ if isset . "ref" }} + {{ $this := $site.GetPage .ref }} + {{ $isCurrent := eq $current $this }} + {{ $icon := default false .icon }} + + {{ $name := .name }} + {{ if reflect.IsMap .name }} + {{ $name = (index .name $site.Language.Lang) }} + {{ end }} + + {{ if not .icon }} + {{ errorf "Missing 'icon' attribute in data file for '%s' menu item '%s'" $target $name }} + {{ end }} + + {{ if eq $target "header" }} + + + + {{ $name }} + + + + + {{ end }} + {{ end }} + {{ end }} +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/menu-filetree.html b/docs/themes/geekdoc/layouts/partials/menu-filetree.html new file mode 100644 index 000000000..e51a5de0c --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/menu-filetree.html @@ -0,0 +1,98 @@ +{{ $current := . }} +{{ template "tree-nav" dict "sect" .Site.Home.Sections "current" $current }} + + + +{{ define "tree-nav" }} + {{ $current := .current }} + + + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/menu-nextprev.html b/docs/themes/geekdoc/layouts/partials/menu-nextprev.html new file mode 100644 index 000000000..6126f9517 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/menu-nextprev.html @@ -0,0 +1,78 @@ +{{ $current := . }} +{{ $site := .Site }} +{{ $current.Scratch.Set "prev" false }} +{{ $current.Scratch.Set "getNext" false }} + +{{ $current.Scratch.Set "nextPage" false }} +{{ $current.Scratch.Set "prevPage" false }} + +{{ template "menu_nextprev" dict "sect" $.Site.Data.menu.main.main "current" $current "site" $site }} + +{{ define "menu_nextprev" }} + {{ $current := .current }} + {{ $site := .site }} + + {{ range sort (default (seq 0) .sect) "weight" }} + {{ $current.Scratch.Set "current" $current }} + {{ $current.Scratch.Set "site" $site }} + + {{ $ref := default false .ref }} + {{ if $ref }} + {{ $site := $current.Scratch.Get "site" }} + {{ $this := $site.GetPage .ref }} + {{ $current := $current.Scratch.Get "current" }} + + {{ if reflect.IsMap .name }} + {{ $current.Scratch.Set "refName" (index .name $site.Language.Lang) }} + {{ else }} + {{ $current.Scratch.Set "refName" .name }} + {{ end }} + {{ $name := $current.Scratch.Get "refName" }} + + {{ if $current.Scratch.Get "getNext" }} + {{ $current.Scratch.Set "nextPage" (dict "name" $name "this" $this) }} + {{ $current.Scratch.Set "getNext" false }} + {{ end }} + + {{ if eq $current $this }} + {{ $current.Scratch.Set "prevPage" ($current.Scratch.Get "prev") }} + {{ $current.Scratch.Set "getNext" true }} + {{ end }} + + {{ $current.Scratch.Set "prev" (dict "name" $name "this" $this) }} + {{ end }} + + {{ $sub := default false .sub }} + {{ if $sub }} + {{ template "menu_nextprev" dict "sect" $sub "current" ($current.Scratch.Get "current") "site" ($current.Scratch.Get "site") }} + {{ end }} + {{ end }} +{{ end }} + +{{ $showPrevNext := (and (default true .Site.Params.geekdocNextPrev) .Site.Params.geekdocMenuBundle) }} +{{ if $showPrevNext }} + + {{ with ($current.Scratch.Get "prevPage") }} + + gdoc_arrow_left_alt + {{ .name }} + + {{ end }} + + + {{ with ($current.Scratch.Get "nextPage") }} + + {{ .name }} + gdoc_arrow_right_alt + + {{ end }} + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/menu.html b/docs/themes/geekdoc/layouts/partials/menu.html new file mode 100644 index 000000000..7963eacdc --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/menu.html @@ -0,0 +1,44 @@ + diff --git a/docs/themes/geekdoc/layouts/partials/microformats/opengraph.html b/docs/themes/geekdoc/layouts/partials/microformats/opengraph.html new file mode 100644 index 000000000..97716ca9e --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/microformats/opengraph.html @@ -0,0 +1,68 @@ +{{ $isPage := or (and (ne .Type "posts") (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }} + +{{- if ne .Kind "home" }} + +{{- end }} +{{- with .Site.Title }} + +{{- end }} +{{- with partial "utils/featured" . }} + +{{- end }} +{{- with partial "utils/description" . }} + +{{- end }} + + +{{- with .Params.audio }} + +{{- end }} +{{- with .Params.locale }} + +{{- end }} +{{- with .Params.videos }} + {{- range . }} + + {{- end }} +{{- end }} + +{{- /* If it is part of a series, link to related articles */}} +{{- if .Site.Taxonomies.series }} + {{- $permalink := .Permalink -}} + {{- $siteSeries := .Site.Taxonomies.series -}} + {{- with .Params.series }} + {{- range $name := . }} + {{- $series := index $siteSeries ($name | urlize) }} + {{- range $page := first 6 $series.Pages }} + {{- if ne $page.Permalink $permalink }} + + {{- end }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} + +{{ if $isPage -}} + {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} + + {{- with .PublishDate }} + + {{- end }} + {{- with .Lastmod }} + + {{- end }} +{{- end }} + +{{- /* Facebook Page Admin ID for Domain Insights */}} +{{- with .Site.Social.facebook_admin }} + +{{- end }} diff --git a/docs/themes/geekdoc/layouts/partials/microformats/schema.html b/docs/themes/geekdoc/layouts/partials/microformats/schema.html new file mode 100644 index 000000000..e4a71eb4e --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/microformats/schema.html @@ -0,0 +1,70 @@ +{{ $isPage := or (and (ne .Type "posts") (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }} +{{- if eq .Kind "home" }} + +{{- else if $isPage }} + +{{- end }} diff --git a/docs/themes/geekdoc/layouts/partials/microformats/twitter_cards.html b/docs/themes/geekdoc/layouts/partials/microformats/twitter_cards.html new file mode 100644 index 000000000..a2cc08c45 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/microformats/twitter_cards.html @@ -0,0 +1,15 @@ +{{- with partial "utils/featured" . }} + +{{- else }} + +{{- end }} + +{{- with partial "utils/featured" . }} + +{{- end }} +{{- with partial "utils/description" . }} + +{{- end }} +{{- with .Site.Social.twitter -}} + +{{- end }} diff --git a/docs/themes/geekdoc/layouts/partials/page-header.html b/docs/themes/geekdoc/layouts/partials/page-header.html new file mode 100644 index 000000000..8f146d7e9 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/page-header.html @@ -0,0 +1,57 @@ +{{ $geekdocRepo := default (default false .Site.Params.geekdocRepo) .Page.Params.geekdocRepo }} +{{ $geekdocEditPath := default (default false .Site.Params.geekdocEditPath) .Page.Params.geekdocEditPath }} +{{ if .File }} + {{ $.Scratch.Set "geekdocFilePath" (default (strings.TrimPrefix hugo.WorkingDir .File.Filename) .Page.Params.geekdocFilePath) }} +{{ else }} + {{ $.Scratch.Set "geekdocFilePath" false }} +{{ end }} + +{{ define "breadcrumb" }} + {{ $parent := .page.Parent }} + {{ if $parent }} + {{ $name := (partial "utils/title" $parent) }} + {{ $position := (sub .position 1) }} + {{ $value := (printf "
  • %s
  • /
  • %s" $parent.RelPermalink $parent.RelPermalink $name $position .value) }} + {{ template "breadcrumb" dict "page" $parent "value" $value "position" $position }} + {{ else }} + {{ .value | safeHTML }} + {{ end }} +{{ end }} + +{{ $showBreadcrumb := (and (default true .Page.Params.geekdocBreadcrumb) (default true .Site.Params.geekdocBreadcrumb)) }} +{{ $showEdit := (and ($.Scratch.Get "geekdocFilePath") $geekdocRepo $geekdocEditPath) }} +
    + {{ if $showBreadcrumb }} +
    + + +
    + {{ end }} + {{ if $showEdit }} +
    + + + + {{ i18n "edit_page" }} + + +
    + {{ end }} +
    diff --git a/docs/themes/geekdoc/layouts/partials/pagination.html b/docs/themes/geekdoc/layouts/partials/pagination.html new file mode 100644 index 000000000..aa615d8ad --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/pagination.html @@ -0,0 +1,22 @@ +{{ $pag := $.Paginator }} + + + diff --git a/docs/themes/geekdoc/layouts/partials/posts/metadata.html b/docs/themes/geekdoc/layouts/partials/posts/metadata.html new file mode 100644 index 000000000..bf9d84527 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/posts/metadata.html @@ -0,0 +1,48 @@ + + + + + + + + + + +{{ $tc := 0 }} +{{ with .Params.tags }} + {{ range sort . }} + {{ $name := . }} + {{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }} + {{ if eq $tc 0 }} + + + {{ template "post-tag" dict "name" $name "page" . }} + + {{ else }} + + {{ template "post-tag" dict "name" $name "page" . }} + + {{ end }} + {{ end }} + {{ $tc = (add $tc 1) }} + {{ end }} +{{ end }} + +{{ define "post-tag" }} + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/search.html b/docs/themes/geekdoc/layouts/partials/search.html new file mode 100644 index 000000000..62b2e6fb9 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/search.html @@ -0,0 +1,16 @@ +{{ if default true .Site.Params.geekdocSearch }} + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/site-footer.html b/docs/themes/geekdoc/layouts/partials/site-footer.html new file mode 100644 index 000000000..31ae8e1be --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/site-footer.html @@ -0,0 +1,45 @@ + diff --git a/docs/themes/geekdoc/layouts/partials/site-header.html b/docs/themes/geekdoc/layouts/partials/site-header.html new file mode 100644 index 000000000..022c10a0a --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/site-header.html @@ -0,0 +1,78 @@ +
    +
    + {{ if .MenuEnabled }} + + {{ end }} +
    + + + + {{ .Root.Site.Title }} + + +
    +
    + + {{ if .Root.Site.Data.menu.extra.header }} + {{ partial "menu-extra" (dict "current" .Root "source" .Root.Site.Data.menu.extra.header "target" "header") }} + {{ end }} + + + + + {{ i18n "button_toggle_dark" }} + + + + {{ i18n "button_toggle_dark" }} + + + + {{ i18n "button_toggle_dark" }} + + + + + + + + {{ i18n "button_homepage" }} + + + + + + {{ partial "language" .Root }} + + + + + + + +
    +
    +
    diff --git a/docs/themes/geekdoc/layouts/partials/svg-icon-symbols.html b/docs/themes/geekdoc/layouts/partials/svg-icon-symbols.html new file mode 100644 index 000000000..801bee81a --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/svg-icon-symbols.html @@ -0,0 +1,4 @@ +{{ range resources.Match "sprites/*.svg" }} + {{ printf "" . | safeHTML }} + {{ .Content | safeHTML }} +{{ end }} diff --git a/docs/themes/geekdoc/layouts/partials/utils/content.html b/docs/themes/geekdoc/layouts/partials/utils/content.html new file mode 100644 index 000000000..c2085a903 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/utils/content.html @@ -0,0 +1,6 @@ +{{ $content := .Content }} + +{{ $content = $content | replaceRE `` `` | safeHTML }} +{{ $content = $content | replaceRE `((?:.|\n)+?
    )` `
    ${1}
    ` | safeHTML }} + +{{ return $content }} diff --git a/docs/themes/geekdoc/layouts/partials/utils/description.html b/docs/themes/geekdoc/layouts/partials/utils/description.html new file mode 100644 index 000000000..f5eafb2df --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/utils/description.html @@ -0,0 +1,14 @@ +{{ $isPage := or (and (ne .Type "posts") (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }} +{{ $description := "" }} + +{{ if .Description }} + {{ $description = .Description }} +{{ else }} + {{ if $isPage }} + {{ $description = .Summary }} + {{ else if .Site.Params.description }} + {{ $description = .Site.Params.description }} + {{ end }} +{{ end }} + +{{ return $description }} diff --git a/docs/themes/geekdoc/layouts/partials/utils/featured.html b/docs/themes/geekdoc/layouts/partials/utils/featured.html new file mode 100644 index 000000000..33c4be812 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/utils/featured.html @@ -0,0 +1,12 @@ +{{ $img := "" }} + +{{ with $source := ($.Resources.ByType "image").GetMatch "{*feature*,*cover*,*thumbnail*}" }} + {{ $featured := .Fill (printf "1200x630 %s" (default "Smart" .Params.anchor)) }} + {{ $img = $featured.Permalink }} +{{ else }} + {{ with default $.Site.Params.images $.Params.images }} + {{ $img = index . 0 | absURL }} + {{ end }} +{{ end }} + +{{ return $img }} diff --git a/docs/themes/geekdoc/layouts/partials/utils/title.html b/docs/themes/geekdoc/layouts/partials/utils/title.html new file mode 100644 index 000000000..a792c0486 --- /dev/null +++ b/docs/themes/geekdoc/layouts/partials/utils/title.html @@ -0,0 +1,11 @@ +{{ $title := "" }} + +{{ if .Title }} + {{ $title = .Title }} +{{ else if and .IsSection .File }} + {{ $title = path.Base .File.Dir | humanize | title }} +{{ else if and .IsPage .File }} + {{ $title = .File.BaseFileName | humanize | title }} +{{ end }} + +{{ return $title }} diff --git a/docs/themes/geekdoc/layouts/posts/list.html b/docs/themes/geekdoc/layouts/posts/list.html new file mode 100644 index 000000000..ca0ea73a4 --- /dev/null +++ b/docs/themes/geekdoc/layouts/posts/list.html @@ -0,0 +1,47 @@ +{{ define "main" }} + {{ range .Paginator.Pages }} + + {{ end }} + {{ partial "pagination.html" . }} +{{ end }} + +{{ define "post-tag" }} + +{{ end }} diff --git a/docs/themes/geekdoc/layouts/posts/single.html b/docs/themes/geekdoc/layouts/posts/single.html new file mode 100644 index 000000000..dea2a8c13 --- /dev/null +++ b/docs/themes/geekdoc/layouts/posts/single.html @@ -0,0 +1,13 @@ +{{ define "main" }} +
    +
    +

    {{ partial "utils/title" . }}

    + +
    +
    + {{ partial "utils/content" . }} +
    +
    +{{ end }} diff --git a/docs/themes/geekdoc/layouts/robots.txt b/docs/themes/geekdoc/layouts/robots.txt new file mode 100644 index 000000000..fb3345bb6 --- /dev/null +++ b/docs/themes/geekdoc/layouts/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Disallow: /tags/* + +Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/docs/themes/geekdoc/layouts/shortcodes/button.html b/docs/themes/geekdoc/layouts/shortcodes/button.html new file mode 100644 index 000000000..7c000a323 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/button.html @@ -0,0 +1,29 @@ +{{- $ref := "" }} +{{- $class := "" }} +{{- $size := default "regular" (.Get "size" | lower) }} + +{{- if not (in (slice "regular" "large") $size) }} + {{- $size = "regular" }} +{{- end }} + +{{- with .Get "href" }} + {{- $ref = . }} +{{- end }} + +{{- with .Get "relref" }} + {{- $ref = relref $ . }} +{{- end }} + +{{- with .Get "class" }} + {{- $class = . }} +{{- end }} + + + + + {{ $.Inner }} + + diff --git a/docs/themes/geekdoc/layouts/shortcodes/columns.html b/docs/themes/geekdoc/layouts/shortcodes/columns.html new file mode 100644 index 000000000..a359e4146 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/columns.html @@ -0,0 +1,14 @@ +{{- $size := default "regular" (.Get "size" | lower) }} + +{{- if not (in (slice "regular" "large" "small") $size) }} + {{- $size = "regular" }} +{{- end }} + + +
    + {{- range split .Inner "<--->" }} +
    + {{ . | $.Page.RenderString -}} +
    + {{- end }} +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/expand.html b/docs/themes/geekdoc/layouts/shortcodes/expand.html new file mode 100644 index 000000000..0ab3d2a3c --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/expand.html @@ -0,0 +1,11 @@ +{{ $id := substr (sha1 .Inner) 0 8 }} +
    + + +
    + {{ .Inner | $.Page.RenderString }} +
    +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/hint.html b/docs/themes/geekdoc/layouts/shortcodes/hint.html new file mode 100644 index 000000000..15149b6f0 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/hint.html @@ -0,0 +1,16 @@ +{{ $type := default "note" (.Get "type") }} +{{ $icon := .Get "icon" }} +{{ $title := default ($type | title) (.Get "title") }} + + +
    +
    + {{- with $icon -}} + + {{ $title }} + {{- else -}} + + {{- end -}} +
    +
    {{ .Inner | $.Page.RenderString }}
    +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/icon.html b/docs/themes/geekdoc/layouts/shortcodes/icon.html new file mode 100644 index 000000000..080b144a2 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/icon.html @@ -0,0 +1,5 @@ +{{ $id := .Get 0 }} + +{{- with $id -}} + +{{- end -}} diff --git a/docs/themes/geekdoc/layouts/shortcodes/img.html b/docs/themes/geekdoc/layouts/shortcodes/img.html new file mode 100644 index 000000000..70f38c3f6 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/img.html @@ -0,0 +1,71 @@ +{{- $source := ($.Page.Resources.ByType "image").GetMatch (printf "%s" (.Get "name")) }} +{{- $customAlt := .Get "alt" }} +{{- $customSize := .Get "size" | lower }} +{{- $lazyLoad := default (default true $.Site.Params.geekdocImageLazyLoading) (.Get "lazy") }} +{{- $data := newScratch }} + +{{- with $source }} + {{- $caption := default .Title $customAlt }} + {{- $isSVG := (eq .MediaType.SubType "svg") }} + + {{- $origin := .Permalink }} + {{- if $isSVG }} + {{- $data.SetInMap "size" "profile" "180" }} + {{- $data.SetInMap "size" "tiny" "320" }} + {{- $data.SetInMap "size" "small" "600" }} + {{- $data.SetInMap "size" "medium" "1200" }} + {{- $data.SetInMap "size" "large" "1800" }} + {{- else }} + {{- $data.SetInMap "size" "profile" (.Fill "180x180 Center").Permalink }} + {{- $data.SetInMap "size" "tiny" (.Resize "320x").Permalink }} + {{- $data.SetInMap "size" "small" (.Resize "600x").Permalink }} + {{- $data.SetInMap "size" "medium" (.Resize "1200x").Permalink }} + {{- $data.SetInMap "size" "large" (.Resize "1800x").Permalink }} + {{- end }} + + +
    +
    + + + {{- $size := $data.Get "size" }} + {{- if not $isSVG }} + + {{- end }} + {{ $caption }} + + + {{- if not (eq $customSize "profile") }} + {{- with $caption }} +
    + {{ . }} + {{- with $source.Params.credits }} + {{ printf " (%s)" . | $.Page.RenderString }} + {{- end }} +
    + {{- end }} + {{- end }} +
    +
    +{{- end }} diff --git a/docs/themes/geekdoc/layouts/shortcodes/include.html b/docs/themes/geekdoc/layouts/shortcodes/include.html new file mode 100644 index 000000000..4c395b3e9 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/include.html @@ -0,0 +1,18 @@ +{{ $file := .Get "file" }} +{{ $page := .Site.GetPage $file }} +{{ $type := .Get "type" }} +{{ $language := .Get "language" }} +{{ $options :=.Get "options" }} + + +
    + {{- if (.Get "language") -}} + {{- highlight ($file | readFile) $language (default "linenos=table" $options) -}} + {{- else if eq $type "html" -}} + {{- $file | readFile | safeHTML -}} + {{- else if eq $type "page" -}} + {{- with $page }}{{ .Content }}{{ end -}} + {{- else -}} + {{- $file | readFile | $.Page.RenderString -}} + {{- end -}} +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/katex.html b/docs/themes/geekdoc/layouts/shortcodes/katex.html new file mode 100644 index 000000000..559acb687 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/katex.html @@ -0,0 +1,18 @@ + +{{ if not (.Page.Scratch.Get "katex") }} + + + + {{ .Page.Scratch.Set "katex" true }} +{{ end }} + + + + {{ cond (in .Params "display") "\\[" "\\(" -}} + {{- trim .Inner "\n" -}} + {{- cond (in .Params "display") "\\]" "\\)" -}} + +{{- /* Drop trailing newlines */ -}} diff --git a/docs/themes/geekdoc/layouts/shortcodes/mermaid.html b/docs/themes/geekdoc/layouts/shortcodes/mermaid.html new file mode 100644 index 000000000..71330163c --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/mermaid.html @@ -0,0 +1,11 @@ + +{{ if not (.Page.Scratch.Get "mermaid") }} + + + {{ .Page.Scratch.Set "mermaid" true }} +{{ end }} + + +
    +  {{- .Inner -}}
    +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/progress.html b/docs/themes/geekdoc/layouts/shortcodes/progress.html new file mode 100644 index 000000000..244f92e91 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/progress.html @@ -0,0 +1,23 @@ +{{- $value := default 0 (.Get "value") -}} +{{- $title := .Get "title" -}} +{{- $icon := .Get "icon" -}} + + +
    +
    +
    + {{ with $icon -}} + + {{- end }} + {{ with $title }}{{ . }}{{ end }} +
    +
    {{ $value }}%
    +
    +
    +
    +
    +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/propertylist.html b/docs/themes/geekdoc/layouts/shortcodes/propertylist.html new file mode 100644 index 000000000..a1cdf330f --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/propertylist.html @@ -0,0 +1,55 @@ +{{- $name := .Get "name" -}} +{{- $sort := .Get "sort" -}} +{{- $order := default "asc" (.Get "order") -}} + +{{- if .Site.Data.properties }} +
    + {{- with (index .Site.Data.properties (split $name ".")) }} + {{- $properties := .properties }} + {{- with $sort }} + {{- $properties = (sort $properties . $order) }} + {{- end }} + {{- range $properties }} +
    + {{ .name }} + {{- if .required }} + {{ i18n "propertylist_required" | lower }} + {{ else }} + {{ i18n "propertylist_optional" | lower }} + {{- end }} + {{- with .type }} + {{ . }} + {{- end }} + + {{- with .tags }} + {{- $tags := . }} + {{- if reflect.IsMap $tags }} + {{- $tags = (index $tags $.Site.Language.Lang) }} + {{- end }} + {{- range $tags }} + {{ . }} + {{- end }} + {{- end }} +
    +
    +
    + {{- with .description }} + {{- $desc := . }} + {{- if reflect.IsMap $desc }} + {{- $desc = (index $desc $.Site.Language.Lang) }} + {{- end }} + + {{ $desc | $.Page.RenderString }} + {{ end }} +
    +
    + {{- with default "none" (.defaultValue | string) }} + {{ i18n "propertylist_default" | title }}: + {{ . }} + {{- end }} +
    +
    + {{- end }} + {{- end }} +
    +{{- end }} diff --git a/docs/themes/geekdoc/layouts/shortcodes/tab.html b/docs/themes/geekdoc/layouts/shortcodes/tab.html new file mode 100644 index 000000000..90b27274d --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/tab.html @@ -0,0 +1,12 @@ +{{- if .Parent }} + {{- $name := .Get 0 }} + {{- $group := printf "tabs-%s" (.Parent.Get 0) }} + + {{- if not (.Parent.Scratch.Get $group) }} + {{- .Parent.Scratch.Set $group slice }} + {{- end }} + + {{- .Parent.Scratch.Add $group (dict "Name" $name "Content" .Inner) }} +{{- else }} + {{ errorf "%q: 'tab' shortcode must be inside 'tabs' shortcode" .Page.Path }} +{{- end }} diff --git a/docs/themes/geekdoc/layouts/shortcodes/tabs.html b/docs/themes/geekdoc/layouts/shortcodes/tabs.html new file mode 100644 index 000000000..7d8671ec4 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/tabs.html @@ -0,0 +1,22 @@ +{{- if .Inner }}{{ end }} +{{- $id := .Get 0 }} +{{- $group := printf "tabs-%s" $id }} + + +
    + {{- range $index, $tab := .Scratch.Get $group }} + + +
    + {{ .Content | $.Page.RenderString }} +
    + {{- end }} +
    diff --git a/docs/themes/geekdoc/layouts/shortcodes/toc-tree.html b/docs/themes/geekdoc/layouts/shortcodes/toc-tree.html new file mode 100644 index 000000000..13148ba17 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/toc-tree.html @@ -0,0 +1,41 @@ +{{- $tocLevels := default (default 6 .Site.Params.geekdocToC) .Page.Params.geekdocToC }} + +{{- if $tocLevels }} +
    + {{ template "toc-tree" dict "sect" .Page.Pages }} +
    +{{- end }} + + + +{{- define "toc-tree" }} + +{{- end }} diff --git a/docs/themes/geekdoc/layouts/shortcodes/toc.html b/docs/themes/geekdoc/layouts/shortcodes/toc.html new file mode 100644 index 000000000..5d875eee2 --- /dev/null +++ b/docs/themes/geekdoc/layouts/shortcodes/toc.html @@ -0,0 +1,13 @@ +{{- $format := default "html" (.Get "format") }} +{{- $tocLevels := default (default 6 .Site.Params.geekdocToC) .Page.Params.geekdocToC }} + +{{- if and $tocLevels .Page.TableOfContents -}} + {{- if not (eq ($format | lower) "raw") -}} +
    + {{ .Page.TableOfContents }} +
    +
    + {{- else -}} + {{ .Page.TableOfContents }} + {{- end -}} +{{- end -}} diff --git a/docs/themes/geekdoc/static/brand.svg b/docs/themes/geekdoc/static/brand.svg new file mode 100644 index 000000000..3a09f01db --- /dev/null +++ b/docs/themes/geekdoc/static/brand.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/geekdoc/static/custom.css b/docs/themes/geekdoc/static/custom.css new file mode 100644 index 000000000..e488c91ae --- /dev/null +++ b/docs/themes/geekdoc/static/custom.css @@ -0,0 +1 @@ +/* You can add custom styles here. */ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-144x144.png b/docs/themes/geekdoc/static/favicon/android-chrome-144x144.png new file mode 100644 index 000000000..d5e648100 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-144x144.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-192x192.png b/docs/themes/geekdoc/static/favicon/android-chrome-192x192.png new file mode 100644 index 000000000..b96ba6eaf Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-192x192.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-256x256.png b/docs/themes/geekdoc/static/favicon/android-chrome-256x256.png new file mode 100644 index 000000000..8243b3752 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-256x256.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-36x36.png b/docs/themes/geekdoc/static/favicon/android-chrome-36x36.png new file mode 100644 index 000000000..5624fe0c5 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-36x36.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-384x384.png b/docs/themes/geekdoc/static/favicon/android-chrome-384x384.png new file mode 100644 index 000000000..e9c6a30f7 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-384x384.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-48x48.png b/docs/themes/geekdoc/static/favicon/android-chrome-48x48.png new file mode 100644 index 000000000..9b9baf2b7 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-48x48.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-512x512.png b/docs/themes/geekdoc/static/favicon/android-chrome-512x512.png new file mode 100644 index 000000000..847c31465 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-512x512.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-72x72.png b/docs/themes/geekdoc/static/favicon/android-chrome-72x72.png new file mode 100644 index 000000000..592f66fb1 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-72x72.png differ diff --git a/docs/themes/geekdoc/static/favicon/android-chrome-96x96.png b/docs/themes/geekdoc/static/favicon/android-chrome-96x96.png new file mode 100644 index 000000000..12c9988c1 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/android-chrome-96x96.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-1024x1024.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-1024x1024.png new file mode 100644 index 000000000..ba47abecd Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-1024x1024.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-114x114.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-114x114.png new file mode 100644 index 000000000..bdab2978a Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-114x114.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-120x120.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-120x120.png new file mode 100644 index 000000000..3dd618d17 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-120x120.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-144x144.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-144x144.png new file mode 100644 index 000000000..feffad84d Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-144x144.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-152x152.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-152x152.png new file mode 100644 index 000000000..11645c34e Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-152x152.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-167x167.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-167x167.png new file mode 100644 index 000000000..c36a56c93 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-167x167.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-180x180.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-180x180.png new file mode 100644 index 000000000..d34586ff7 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-180x180.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-57x57.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-57x57.png new file mode 100644 index 000000000..eda66bd3d Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-57x57.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-60x60.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-60x60.png new file mode 100644 index 000000000..7de4a0106 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-60x60.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-72x72.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-72x72.png new file mode 100644 index 000000000..b4abb3777 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-72x72.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-76x76.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-76x76.png new file mode 100644 index 000000000..c93d59bb4 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-76x76.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon-precomposed.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon-precomposed.png new file mode 100644 index 000000000..d34586ff7 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon-precomposed.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-icon.png b/docs/themes/geekdoc/static/favicon/apple-touch-icon.png new file mode 100644 index 000000000..d34586ff7 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-icon.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1125x2436.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1125x2436.png new file mode 100644 index 000000000..642d0254e Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1125x2436.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1136x640.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1136x640.png new file mode 100644 index 000000000..103e015bf Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1136x640.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1170x2532.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1170x2532.png new file mode 100644 index 000000000..b01493ba7 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1170x2532.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1242x2208.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1242x2208.png new file mode 100644 index 000000000..8defb8724 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1242x2208.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1242x2688.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1242x2688.png new file mode 100644 index 000000000..4f750f5f5 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1242x2688.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1284x2778.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1284x2778.png new file mode 100644 index 000000000..10e452f54 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1284x2778.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1334x750.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1334x750.png new file mode 100644 index 000000000..c6eefd607 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1334x750.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1536x2048.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1536x2048.png new file mode 100644 index 000000000..5e9b9cb6b Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1536x2048.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1620x2160.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1620x2160.png new file mode 100644 index 000000000..c8647135f Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1620x2160.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1668x2224.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1668x2224.png new file mode 100644 index 000000000..a2780d7a9 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1668x2224.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1668x2388.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1668x2388.png new file mode 100644 index 000000000..bb39a1cfd Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1668x2388.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1792x828.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1792x828.png new file mode 100644 index 000000000..dd39a3ff2 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-1792x828.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2048x1536.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2048x1536.png new file mode 100644 index 000000000..6210c8697 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2048x1536.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2048x2732.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2048x2732.png new file mode 100644 index 000000000..31e636c8e Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2048x2732.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2160x1620.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2160x1620.png new file mode 100644 index 000000000..df73af011 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2160x1620.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2208x1242.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2208x1242.png new file mode 100644 index 000000000..a0b001d40 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2208x1242.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2224x1668.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2224x1668.png new file mode 100644 index 000000000..a8cb52a7a Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2224x1668.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2388x1668.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2388x1668.png new file mode 100644 index 000000000..15fa83341 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2388x1668.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2436x1125.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2436x1125.png new file mode 100644 index 000000000..4e43260f1 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2436x1125.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2532x1170.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2532x1170.png new file mode 100644 index 000000000..21974e888 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2532x1170.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2688x1242.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2688x1242.png new file mode 100644 index 000000000..a4360a412 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2688x1242.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2732x2048.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2732x2048.png new file mode 100644 index 000000000..8f31a8595 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2732x2048.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2778x1284.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2778x1284.png new file mode 100644 index 000000000..5ec7c9438 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-2778x1284.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-640x1136.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-640x1136.png new file mode 100644 index 000000000..0da1acff0 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-640x1136.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-750x1334.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-750x1334.png new file mode 100644 index 000000000..720a857ad Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-750x1334.png differ diff --git a/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-828x1792.png b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-828x1792.png new file mode 100644 index 000000000..311af2229 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/apple-touch-startup-image-828x1792.png differ diff --git a/docs/themes/geekdoc/static/favicon/browserconfig.xml b/docs/themes/geekdoc/static/favicon/browserconfig.xml new file mode 100644 index 000000000..3bdb582ca --- /dev/null +++ b/docs/themes/geekdoc/static/favicon/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #efefef + + + \ No newline at end of file diff --git a/docs/themes/geekdoc/static/favicon/favicon-16x16.png b/docs/themes/geekdoc/static/favicon/favicon-16x16.png new file mode 100644 index 000000000..fcd6f540d Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/favicon-16x16.png differ diff --git a/docs/themes/geekdoc/static/favicon/favicon-32x32.png b/docs/themes/geekdoc/static/favicon/favicon-32x32.png new file mode 100644 index 000000000..afedef109 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/favicon-32x32.png differ diff --git a/docs/themes/geekdoc/static/favicon/favicon-48x48.png b/docs/themes/geekdoc/static/favicon/favicon-48x48.png new file mode 100644 index 000000000..f3b0f45b9 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/favicon-48x48.png differ diff --git a/docs/themes/geekdoc/static/favicon/favicon.ico b/docs/themes/geekdoc/static/favicon/favicon.ico new file mode 100644 index 000000000..e4cfde191 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/favicon.ico differ diff --git a/docs/themes/geekdoc/static/favicon/favicon.svg b/docs/themes/geekdoc/static/favicon/favicon.svg new file mode 100644 index 000000000..8d899c57e --- /dev/null +++ b/docs/themes/geekdoc/static/favicon/favicon.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/themes/geekdoc/static/favicon/manifest.json b/docs/themes/geekdoc/static/favicon/manifest.json new file mode 100644 index 000000000..aada2c128 --- /dev/null +++ b/docs/themes/geekdoc/static/favicon/manifest.json @@ -0,0 +1,69 @@ +{ + "name": null, + "short_name": null, + "description": null, + "dir": "auto", + "lang": "en-US", + "display": "standalone", + "orientation": "any", + "scope": "", + "start_url": "/?homescreen=1", + "background_color": "#efefef", + "theme_color": "#efefef", + "icons": [ + { + "src": "/favicon/android-chrome-36x36.png", + "sizes": "36x36", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-48x48.png", + "sizes": "48x48", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-72x72.png", + "sizes": "72x72", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-96x96.png", + "sizes": "96x96", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-144x144.png", + "sizes": "144x144", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] +} \ No newline at end of file diff --git a/docs/themes/geekdoc/static/favicon/mstile-144x144.png b/docs/themes/geekdoc/static/favicon/mstile-144x144.png new file mode 100644 index 000000000..d5e648100 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/mstile-144x144.png differ diff --git a/docs/themes/geekdoc/static/favicon/mstile-150x150.png b/docs/themes/geekdoc/static/favicon/mstile-150x150.png new file mode 100644 index 000000000..8a50201da Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/mstile-150x150.png differ diff --git a/docs/themes/geekdoc/static/favicon/mstile-310x150.png b/docs/themes/geekdoc/static/favicon/mstile-310x150.png new file mode 100644 index 000000000..e0f80ff08 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/mstile-310x150.png differ diff --git a/docs/themes/geekdoc/static/favicon/mstile-310x310.png b/docs/themes/geekdoc/static/favicon/mstile-310x310.png new file mode 100644 index 000000000..26074c154 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/mstile-310x310.png differ diff --git a/docs/themes/geekdoc/static/favicon/mstile-70x70.png b/docs/themes/geekdoc/static/favicon/mstile-70x70.png new file mode 100644 index 000000000..d5d47bda9 Binary files /dev/null and b/docs/themes/geekdoc/static/favicon/mstile-70x70.png differ diff --git a/docs/themes/geekdoc/static/fonts/GeekdocIcons.woff b/docs/themes/geekdoc/static/fonts/GeekdocIcons.woff new file mode 100644 index 000000000..74ef4a36a Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/GeekdocIcons.woff differ diff --git a/docs/themes/geekdoc/static/fonts/GeekdocIcons.woff2 b/docs/themes/geekdoc/static/fonts/GeekdocIcons.woff2 new file mode 100644 index 000000000..6a5c3a8b7 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/GeekdocIcons.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_AMS-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_AMS-Regular.woff new file mode 100644 index 000000000..b804d7b33 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_AMS-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_AMS-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_AMS-Regular.woff2 new file mode 100644 index 000000000..0acaaff03 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_AMS-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff new file mode 100644 index 000000000..9759710d1 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff2 new file mode 100644 index 000000000..f390922ec Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Bold.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff new file mode 100644 index 000000000..9bdd534fd Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff2 new file mode 100644 index 000000000..75344a1f9 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Caligraphic-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff new file mode 100644 index 000000000..e7730f662 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff2 new file mode 100644 index 000000000..395f28bea Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Bold.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff new file mode 100644 index 000000000..acab069f9 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff2 new file mode 100644 index 000000000..735f6948d Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Fraktur-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-Bold.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Bold.woff new file mode 100644 index 000000000..f38136ac1 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Bold.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-Bold.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Bold.woff2 new file mode 100644 index 000000000..ab2ad21da Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Bold.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff new file mode 100644 index 000000000..67807b0bd Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff2 new file mode 100644 index 000000000..5931794de Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-BoldItalic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-Italic.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Italic.woff new file mode 100644 index 000000000..6f43b594b Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Italic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-Italic.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Italic.woff2 new file mode 100644 index 000000000..b50920e13 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Italic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Regular.woff new file mode 100644 index 000000000..21f581296 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Main-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Regular.woff2 new file mode 100644 index 000000000..eb24a7ba2 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Main-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff new file mode 100644 index 000000000..0ae390d74 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff2 new file mode 100644 index 000000000..29657023a Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Math-BoldItalic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Math-Italic.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Math-Italic.woff new file mode 100644 index 000000000..eb5159d4c Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Math-Italic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Math-Italic.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Math-Italic.woff2 new file mode 100644 index 000000000..215c143fd Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Math-Italic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff new file mode 100644 index 000000000..8d47c02d9 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff2 new file mode 100644 index 000000000..cfaa3bda5 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Bold.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff new file mode 100644 index 000000000..7e02df963 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff2 new file mode 100644 index 000000000..349c06dc6 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Italic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff new file mode 100644 index 000000000..31b84829b Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff2 new file mode 100644 index 000000000..a90eea85f Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_SansSerif-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Script-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Script-Regular.woff new file mode 100644 index 000000000..0e7da821e Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Script-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Script-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Script-Regular.woff2 new file mode 100644 index 000000000..b3048fc11 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Script-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size1-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Size1-Regular.woff new file mode 100644 index 000000000..7f292d911 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size1-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size1-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Size1-Regular.woff2 new file mode 100644 index 000000000..c5a8462fb Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size1-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size2-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Size2-Regular.woff new file mode 100644 index 000000000..d241d9be2 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size2-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size2-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Size2-Regular.woff2 new file mode 100644 index 000000000..e1bccfe24 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size2-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size3-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Size3-Regular.woff new file mode 100644 index 000000000..e6e9b658d Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size3-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size3-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Size3-Regular.woff2 new file mode 100644 index 000000000..249a28662 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size3-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size4-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Size4-Regular.woff new file mode 100644 index 000000000..e1ec54576 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size4-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Size4-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Size4-Regular.woff2 new file mode 100644 index 000000000..680c13085 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Size4-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff b/docs/themes/geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff new file mode 100644 index 000000000..2432419f2 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff differ diff --git a/docs/themes/geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff2 b/docs/themes/geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff2 new file mode 100644 index 000000000..771f1af70 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/KaTeX_Typewriter-Regular.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationMono.woff b/docs/themes/geekdoc/static/fonts/LiberationMono.woff new file mode 100644 index 000000000..05f5bd236 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationMono.woff differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationMono.woff2 b/docs/themes/geekdoc/static/fonts/LiberationMono.woff2 new file mode 100644 index 000000000..3f4bb0637 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationMono.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans-Bold.woff b/docs/themes/geekdoc/static/fonts/LiberationSans-Bold.woff new file mode 100644 index 000000000..145ed9f7b Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans-Bold.woff differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans-Bold.woff2 b/docs/themes/geekdoc/static/fonts/LiberationSans-Bold.woff2 new file mode 100644 index 000000000..b16596740 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans-Bold.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans-BoldItalic.woff b/docs/themes/geekdoc/static/fonts/LiberationSans-BoldItalic.woff new file mode 100644 index 000000000..aa4c0c1f5 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans-BoldItalic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans-BoldItalic.woff2 b/docs/themes/geekdoc/static/fonts/LiberationSans-BoldItalic.woff2 new file mode 100644 index 000000000..081c4d61d Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans-BoldItalic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans-Italic.woff b/docs/themes/geekdoc/static/fonts/LiberationSans-Italic.woff new file mode 100644 index 000000000..ebe952e46 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans-Italic.woff differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans-Italic.woff2 b/docs/themes/geekdoc/static/fonts/LiberationSans-Italic.woff2 new file mode 100644 index 000000000..86f6521c0 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans-Italic.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans.woff b/docs/themes/geekdoc/static/fonts/LiberationSans.woff new file mode 100644 index 000000000..bb582d51f Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans.woff differ diff --git a/docs/themes/geekdoc/static/fonts/LiberationSans.woff2 b/docs/themes/geekdoc/static/fonts/LiberationSans.woff2 new file mode 100644 index 000000000..796cb17b5 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/LiberationSans.woff2 differ diff --git a/docs/themes/geekdoc/static/fonts/Metropolis.woff b/docs/themes/geekdoc/static/fonts/Metropolis.woff new file mode 100644 index 000000000..6b1342c2f Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/Metropolis.woff differ diff --git a/docs/themes/geekdoc/static/fonts/Metropolis.woff2 b/docs/themes/geekdoc/static/fonts/Metropolis.woff2 new file mode 100644 index 000000000..d79d50a77 Binary files /dev/null and b/docs/themes/geekdoc/static/fonts/Metropolis.woff2 differ diff --git a/docs/themes/geekdoc/static/img/geekdoc-stack.svg b/docs/themes/geekdoc/static/img/geekdoc-stack.svg new file mode 100644 index 000000000..64aebb70c --- /dev/null +++ b/docs/themes/geekdoc/static/img/geekdoc-stack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/105-7a46a89c.chunk.min.js b/docs/themes/geekdoc/static/js/105-7a46a89c.chunk.min.js new file mode 100644 index 000000000..1556846b8 --- /dev/null +++ b/docs/themes/geekdoc/static/js/105-7a46a89c.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[105],{6105:function(e,n,t){t.d(n,{c:function(){return nn}});var r={};t.r(r),t.d(r,{attentionMarkers:function(){return Me},contentInitial:function(){return Ce},disable:function(){return Le},document:function(){return we},flow:function(){return ze},flowInitial:function(){return Te},insideSpan:function(){return _e},string:function(){return De},text:function(){return Be}});var i=t(5103);const u={};function c(e,n,t){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,n,t)}return Array.isArray(e)?o(e,n,t):""}function o(e,n,t){const r=[];let i=-1;for(;++ii?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)u=Array.from(r),u.unshift(n,t),e.splice(...u);else for(t&&e.splice(n,t);c0?(s(e,e.length,0,n),e):n}const a={}.hasOwnProperty;function f(e,n){let t;for(t in n){const r=(a.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let u;if(i)for(u in i){a.call(r,u)||(r[u]=[]);const e=i[u];d(r[u],Array.isArray(e)?e:e?[e]:[])}}}function d(e,n){let t=-1;const r=[];for(;++tu))return;const t=n.events.length;let i,o,l=t;for(;l--;)if("exit"===n.events[l][0]&&"chunkFlow"===n.events[l][1].type){if(i){o=n.events[l][1].end;break}i=!0}for(k(c),e=t;er;){const r=t[i];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function y(){r.write([null]),i=void 0,r=void 0,n.containerState._closeFlow=void 0}}},T={tokenize:function(e,n,t){return I(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},z={tokenize:function(e,n,t){return function(n){return v(n)?I(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||F(e)?n(e):t(e)}},partial:!0};function D(e){const n={};let t,r,i,u,c,o,l,a=-1;for(;++a=4?n(i):e.interrupt(r.parser.constructs.flow,t,n)(i)}},partial:!0},L={tokenize:function(e){const n=this,t=e.attempt(z,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,I(e,e.attempt(this.parser.constructs.flow,r,e.attempt(_,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}},P={resolveAll:R()},O=H("string"),j=H("text");function H(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],i=n.attempt(r,u,c);return u;function u(e){return s(e)?i(e):c(e)}function c(e){if(null!==e)return n.enter("data"),n.consume(e),o;n.consume(e)}function o(e){return s(e)?(n.exit("data"),i(e)):(n.consume(e),o)}function s(e){if(null===e)return!0;const n=r[e];let i=-1;if(n)for(;++i-1){const e=c[0];"string"==typeof e?c[0]=e.slice(r):c.shift()}u>0&&c.push(e[i].slice(0,u))}return c}(c,e)}function g(){const{line:e,column:n,offset:t,_index:i,_bufferIndex:u}=r;return{line:e,column:n,offset:t,_index:i,_bufferIndex:u}}function x(e){a=void 0,h=e,p=p(e)}function k(e,n){n.restore()}function y(e,n){return function(t,i,u){let c,s,l,h;return Array.isArray(t)?m(t):"tokenize"in t?m([t]):(p=t,function(e){const n=null!==e&&p[e],t=null!==e&&p.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(t)?t:t?[t]:[]])(e)});var p;function m(e){return c=e,s=0,0===e.length?u:x(e[s])}function x(e){return function(t){return h=function(){const e=g(),n=d.previous,t=d.currentConstruct,i=d.events.length,u=Array.from(o);return{restore:function(){r=e,d.previous=n,d.currentConstruct=t,d.events.length=i,o=u,v()},from:i}}(),l=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(n?Object.assign(Object.create(d),n):d,f,k,y)(t)}}function k(n){return a=!0,e(l,h),i}function y(e){return a=!0,h.restore(),++s=3&&(null===u||F(u))?(e.exit("thematicBreak"),n(u)):t(u)}function c(n){return n===r?(e.consume(n),i++,c):(e.exit("thematicBreakSequence"),v(n)?I(e,u,"whitespace")(n):u(n))}}},U={name:"list",tokenize:function(e,n,t){const r=this,i=r.events[r.events.length-1];let u=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,c=0;return function(n){const i=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||n===r.containerState.marker:x(n)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===n||45===n?e.check(N,t,s)(n):s(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(n)}return t(n)};function o(n){return x(n)&&++c<10?(e.consume(n),o):(!r.interrupt||c<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),s(n)):t(n)}function s(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(z,r.interrupt?t:l,e.attempt($,f,a))}function l(e){return r.containerState.initialBlankLine=!0,u++,f(e)}function a(n){return v(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(z,(function(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,I(e,n,"listItemIndent",r.containerState.size+1)(t)}),(function(t){return r.containerState.furtherBlankLines||!v(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(W,n,i)(t))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,I(e,e.attempt(U,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},$={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return!v(e)&&i&&"listItemPrefixWhitespace"===i[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},W={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Z={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),i}return t(n)};function i(t){return v(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){const r=this;return function(n){return v(n)?I(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):i(n)};function i(r){return e.attempt(Z,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function Y(e,n,t,r,i,u,c,o,s){const l=s||Number.POSITIVE_INFINITY;let a=0;return function(n){return 60===n?(e.enter(r),e.enter(i),e.enter(u),e.consume(n),e.exit(u),f):null===n||32===n||41===n||g(n)?t(n):(e.enter(r),e.enter(c),e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))};function f(t){return 62===t?(e.enter(u),e.consume(t),e.exit(u),e.exit(i),e.exit(r),n):(e.enter(o),e.enter("chunkString",{contentType:"string"}),d(t))}function d(n){return 62===n?(e.exit("chunkString"),e.exit(o),f(n)):null===n||60===n||F(n)?t(n):(e.consume(n),92===n?h:d)}function h(n){return 60===n||62===n||92===n?(e.consume(n),d):d(n)}function p(i){return a||null!==i&&41!==i&&!b(i)?a999||null===f||91===f||93===f&&!o||94===f&&!s&&"_hiddenFootnoteSupport"in c.parser.constructs?t(f):93===f?(e.exit(u),e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):F(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),a(f))}function a(n){return null===n||91===n||93===n||F(n)||s++>999?(e.exit("chunkString"),l(n)):(e.consume(n),o||(o=!v(n)),92===n?f:a)}function f(n){return 91===n||92===n||93===n?(e.consume(n),s++,a):a(n)}}function J(e,n,t,r,i,u){let c;return function(n){return 34===n||39===n||40===n?(e.enter(r),e.enter(i),e.consume(n),e.exit(i),c=40===n?41:n,o):t(n)};function o(t){return t===c?(e.enter(i),e.consume(t),e.exit(i),e.exit(r),n):(e.enter(u),s(t))}function s(n){return n===c?(e.exit(u),o(c)):null===n?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(n))}function l(n){return n===c||null===n||F(n)?(e.exit("chunkString"),s(n)):(e.consume(n),92===n?a:l)}function a(n){return n===c||92===n?(e.consume(n),l):l(n)}}function K(e,n){let t;return function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):v(i)?I(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}function X(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ee={name:"definition",tokenize:function(e,n,t){const r=this;let i;return function(n){return e.enter("definition"),function(n){return G.call(r,e,u,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function u(n){return i=X(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),c):t(n)}function c(n){return b(n)?K(e,o)(n):o(n)}function o(n){return Y(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function s(n){return e.attempt(ne,l,l)(n)}function l(n){return v(n)?I(e,a,"whitespace")(n):a(n)}function a(u){return null===u||F(u)?(e.exit("definition"),r.parser.defined.push(i),n(u)):t(u)}}},ne={tokenize:function(e,n,t){return function(n){return b(n)?K(e,r)(n):t(n)};function r(n){return J(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function i(n){return v(n)?I(e,u,"whitespace")(n):u(n)}function u(e){return null===e||F(e)?n(e):t(e)}},partial:!0},te={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),I(e,i,"linePrefix",5)(n)};function i(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?u(e):t(e)}function u(n){return null===n?o(n):F(n)?e.attempt(re,u,o)(n):(e.enter("codeFlowValue"),c(n))}function c(n){return null===n||F(n)?(e.exit("codeFlowValue"),u(n)):(e.consume(n),c)}function o(t){return e.exit("codeIndented"),n(t)}}},re={tokenize:function(e,n,t){const r=this;return i;function i(n){return r.parser.lazy[r.now().line]?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):I(e,u,"linePrefix",5)(n)}function u(e){const u=r.events[r.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?n(e):F(e)?i(e):t(e)}},partial:!0},ie={name:"headingAtx",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),i(n)}(n)};function i(n){return 35===n&&r++<6?(e.consume(n),i):null===n||b(n)?(e.exit("atxHeadingSequence"),u(n)):t(n)}function u(t){return 35===t?(e.enter("atxHeadingSequence"),c(t)):null===t||F(t)?(e.exit("atxHeading"),n(t)):v(t)?I(e,u,"whitespace")(t):(e.enter("atxHeadingText"),o(t))}function c(n){return 35===n?(e.consume(n),c):(e.exit("atxHeadingSequence"),u(n))}function o(n){return null===n||35===n||b(n)?(e.exit("atxHeadingText"),u(n)):(e.consume(n),o)}},resolve:function(e,n){let t,r,i=e.length-2,u=3;return"whitespace"===e[u][1].type&&(u+=2),i-2>u&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(u===i-1||i-4>u&&"whitespace"===e[i-2][1].type)&&(i-=u+1===i?2:4),i>u&&(t={type:"atxHeadingText",start:e[u][1].start,end:e[i][1].end},r={type:"chunkText",start:e[u][1].start,end:e[i][1].end,contentType:"text"},s(e,u,i-u+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},ue={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let i;return function(n){let c,o=r.events.length;for(;o--;)if("lineEnding"!==r.events[o][1].type&&"linePrefix"!==r.events[o][1].type&&"content"!==r.events[o][1].type){c="paragraph"===r.events[o][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!c?t(n):(e.enter("setextHeadingLine"),i=n,function(n){return e.enter("setextHeadingLineSequence"),u(n)}(n))};function u(n){return n===i?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),v(n)?I(e,c,"lineSuffix")(n):c(n))}function c(r){return null===r||F(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,i,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){t=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),i||"definition"!==e[u][1].type||(i=u);const c={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",c,n]),e.splice(i+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[i][1].end)):e[t][1]=c,e.push(["exit",c,n]),e}},ce=["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"],oe=["pre","script","style","textarea"],se={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let i,u,c,o,s;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),l}(n)};function l(o){return 33===o?(e.consume(o),a):47===o?(e.consume(o),u=!0,m):63===o?(e.consume(o),i=3,r.interrupt?n:H):h(o)?(e.consume(o),c=String.fromCharCode(o),g):t(o)}function a(u){return 45===u?(e.consume(u),i=2,f):91===u?(e.consume(u),i=5,o=0,d):h(u)?(e.consume(u),i=4,r.interrupt?n:H):t(u)}function f(i){return 45===i?(e.consume(i),r.interrupt?n:H):t(i)}function d(i){return i==="CDATA[".charCodeAt(o++)?(e.consume(i),6===o?r.interrupt?n:D:d):t(i)}function m(n){return h(n)?(e.consume(n),c=String.fromCharCode(n),g):t(n)}function g(o){if(null===o||47===o||62===o||b(o)){const s=47===o,l=c.toLowerCase();return s||u||!oe.includes(l)?ce.includes(c.toLowerCase())?(i=6,s?(e.consume(o),x):r.interrupt?n(o):D(o)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(o):u?k(o):y(o)):(i=1,r.interrupt?n(o):D(o))}return 45===o||p(o)?(e.consume(o),c+=String.fromCharCode(o),g):t(o)}function x(i){return 62===i?(e.consume(i),r.interrupt?n:D):t(i)}function k(n){return v(n)?(e.consume(n),k):T(n)}function y(n){return 47===n?(e.consume(n),T):58===n||95===n||h(n)?(e.consume(n),S):v(n)?(e.consume(n),y):T(n)}function S(n){return 45===n||46===n||58===n||95===n||p(n)?(e.consume(n),S):E(n)}function E(n){return 61===n?(e.consume(n),A):v(n)?(e.consume(n),E):y(n)}function A(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),s=n,I):v(n)?(e.consume(n),A):w(n)}function I(n){return n===s?(e.consume(n),s=null,C):null===n||F(n)?t(n):(e.consume(n),I)}function w(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||b(n)?E(n):(e.consume(n),w)}function C(e){return 47===e||62===e||v(e)?y(e):t(e)}function T(n){return 62===n?(e.consume(n),z):t(n)}function z(n){return null===n||F(n)?D(n):v(n)?(e.consume(n),z):t(n)}function D(n){return 45===n&&2===i?(e.consume(n),L):60===n&&1===i?(e.consume(n),P):62===n&&4===i?(e.consume(n),R):63===n&&3===i?(e.consume(n),H):93===n&&5===i?(e.consume(n),j):!F(n)||6!==i&&7!==i?null===n||F(n)?(e.exit("htmlFlowData"),B(n)):(e.consume(n),D):(e.exit("htmlFlowData"),e.check(le,q,B)(n))}function B(n){return e.check(ae,_,q)(n)}function _(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),M}function M(n){return null===n||F(n)?B(n):(e.enter("htmlFlowData"),D(n))}function L(n){return 45===n?(e.consume(n),H):D(n)}function P(n){return 47===n?(e.consume(n),c="",O):D(n)}function O(n){if(62===n){const t=c.toLowerCase();return oe.includes(t)?(e.consume(n),R):D(n)}return h(n)&&c.length<8?(e.consume(n),c+=String.fromCharCode(n),O):D(n)}function j(n){return 93===n?(e.consume(n),H):D(n)}function H(n){return 62===n?(e.consume(n),R):45===n&&2===i?(e.consume(n),H):D(n)}function R(n){return null===n||F(n)?(e.exit("htmlFlowData"),q(n)):(e.consume(n),R)}function q(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},le={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(z,n,t)}},partial:!0},ae={tokenize:function(e,n,t){const r=this;return function(n){return F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):t(n)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},fe={tokenize:function(e,n,t){const r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},de={name:"codeFenced",tokenize:function(e,n,t){const r=this,i={tokenize:function(e,n,t){let i=0;return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),c};function c(n){return e.enter("codeFencedFence"),v(n)?I(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):s(n)}function s(n){return n===u?(e.enter("codeFencedFenceSequence"),l(n)):t(n)}function l(n){return n===u?(i++,e.consume(n),l):i>=o?(e.exit("codeFencedFenceSequence"),v(n)?I(e,a,"whitespace")(n):a(n)):t(n)}function a(r){return null===r||F(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0};let u,c=0,o=0;return function(n){return function(n){const t=r.events[r.events.length-1];return c=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,u=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(n)}(n)};function s(n){return n===u?(o++,e.consume(n),s):o<3?t(n):(e.exit("codeFencedFenceSequence"),v(n)?I(e,l,"whitespace")(n):l(n))}function l(t){return null===t||F(t)?(e.exit("codeFencedFence"),r.interrupt?n(t):e.check(fe,h,k)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),a(t))}function a(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(n)):v(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(n)):96===n&&n===u?t(n):(e.consume(n),a)}function f(n){return null===n||F(n)?l(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(n)):96===n&&n===u?t(n):(e.consume(n),d)}function h(n){return e.attempt(i,k,p)(n)}function p(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),m}function m(n){return c>0&&v(n)?I(e,g,"linePrefix",c+1)(n):g(n)}function g(n){return null===n||F(n)?e.check(fe,h,k)(n):(e.enter("codeFlowValue"),x(n))}function x(n){return null===n||F(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),x)}function k(t){return e.exit("codeFenced"),n(t)}},concrete:!0},he=document.createElement("i");function pe(e){const n="&"+e+";";he.innerHTML=n;const t=he.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&t!==n&&t}const me={name:"characterReference",tokenize:function(e,n,t){const r=this;let i,u,c=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),o};function o(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,u=p,l(n))}function s(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,u=k,l):(e.enter("characterReferenceValue"),i=7,u=x,l(n))}function l(o){if(59===o&&c){const i=e.exit("characterReferenceValue");return u!==p||pe(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(o)}return u(o)&&c++1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const h=Object.assign({},e[t][1].end),p=Object.assign({},e[d][1].start);Ee(h,-o),Ee(p,o),u={type:o>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[t][1].end)},c={type:o>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},i={type:o>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[d][1].start)},r={type:o>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[t][1].end=Object.assign({},u.start),e[d][1].start=Object.assign({},c.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=l(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=l(a,[["enter",r,n],["enter",u,n],["exit",u,n],["enter",i,n]]),a=l(a,V(n.parser.constructs.insideSpan.null,e.slice(t+1,d),n)),a=l(a,[["exit",i,n],["enter",c,n],["exit",c,n],["exit",r,n]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,a=l(a,[["enter",e[d][1],n],["exit",e[d][1],n]])):f=0,s(e,t-1,d-t+3,a),d=t+a.length-f-2;break}for(d=-1;++d13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535==(65535&t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}const je=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function He(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return Oe(t.slice(n?2:1),n?16:10)}return pe(t)||e}function Re(e){return e&&"object"==typeof e?"position"in e||"type"in e?Ve(e.position):"start"in e||"end"in e?Ve(e):"line"in e||"column"in e?qe(e):"":""}function qe(e){return Qe(e&&e.line)+":"+Qe(e&&e.column)}function Ve(e){return qe(e&&e.start)+"-"+qe(e&&e.end)}function Qe(e){return e&&"number"==typeof e?e:1}const Ne={}.hasOwnProperty,Ue=function(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(v),autolinkProtocol:p,autolinkEmail:p,atxHeading:s(y),blockQuote:s((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:s(k),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(k,l),codeText:s((function(){return{type:"inlineCode",value:""}}),l),codeTextData:p,data:p,codeFlowValue:p,definition:s((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:s(F),hardBreakTrailing:s(F),htmlFlow:s(b,l),htmlFlowData:p,htmlText:s(b,l),htmlTextData:p,image:s((function(){return{type:"image",title:null,url:"",alt:null}})),label:l,link:s(v),listItem:s((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:s(S,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:s(S),paragraph:s((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(y),strong:s((function(){return{type:"strong",children:[]}})),thematicBreak:s((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:f(),atxHeadingSequence:function(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}},autolink:f(),autolinkEmail:function(e){m.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:f(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:x,characterReferenceMarkerNumeric:x,characterReferenceValue:function(e){const n=this.sliceSerialize(e),t=o("characterReferenceType");let r;t?(r=Oe(n,"characterReferenceMarkerNumeric"===t?10:16),i("characterReferenceType")):r=pe(n);const u=this.stack.pop();u.value+=r,u.position.end=$e(e.end)},codeFenced:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:m,codeIndented:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:m,data:m,definition:f(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:f(),hardBreakEscape:f(g),hardBreakTrailing:f(g),htmlFlow:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:m,htmlText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:m,image:f((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const n=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===t.type){const n=e.children;t.children=n}else t.alt=n},labelText:function(e){const n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(je,He)}(n),t.identifier=X(n).toLowerCase()},lineEnding:function(e){const t=this.stack[this.stack.length-1];if(o("atHardBreak"))return t.children[t.children.length-1].position.end=$e(e.end),void i("atHardBreak");!o("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(p.call(this,e),m.call(this,e))},link:f((function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const n=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:f((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:f(),thematicBreak:f()}};We(n,(e||{}).mdastExtensions||[]);const t={};return function(e){let t={type:"root",children:[]};const u={stack:[t],tokenStack:[],config:n,enter:a,exit:d,buffer:l,resume:h,setData:i,getData:o},c=[];let s=-1;for(;++s0){const e=u.tokenStack[u.tokenStack.length-1];(e[1]||Ye).call(u,void 0,e[0])}for(t.position={start:$e(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$e(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s{0!==t&&(i++,r.push([])),e.split(" ").forEach((e=>{e&&r[i].push({content:e,type:n})}))})):"strong"!==e.type&&"emphasis"!==e.type||e.children.forEach((n=>{u(n,e.type)}))}return t.forEach((e=>{"paragraph"===e.type&&e.children.forEach((e=>{u(e)}))})),r}function Ke(e,n,t){return e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*t-.1+"em").attr("dy",t+"em")}function Xe(e,n,t){const r=e.append("text"),i=Ke(r,1,n);en(i,[{content:t,type:"normal"}]);const u=i.node().getComputedTextLength();return r.remove(),u}function en(e,n){e.text(""),n.forEach(((n,t)=>{const r=e.append("tspan").attr("font-style","em"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===t?r.text(n.content):r.text(" "+n.content)}))}const nn=(e,n="",{style:t="",isTitle:r=!1,classes:u="",useHtmlLabels:c=!0,isNode:o=!0,width:s,addSvgBackground:l=!1}={})=>{if(i.l.info("createText",n,t,r,u,c,o,l),c){const r=function(e){const{children:n}=Ue(e);return n.map((function e(n){return"text"===n.type?n.value.replace(/\n/g,"
    "):"strong"===n.type?`${n.children.map(e).join("")}`:"emphasis"===n.type?`${n.children.map(e).join("")}`:"paragraph"===n.type?`

    ${n.children.map(e).join("")}

    `:`Unsupported markdown: ${n.type}`})).join("")}(n);let c=function(e,n,t,r,i=!1){const u=e.append("foreignObject"),c=u.append("xhtml:div"),o=n.label,s=n.isNode?"nodeLabel":"edgeLabel";var l,a;c.html(`\n "+o+""),l=c,(a=n.labelStyle)&&l.attr("style",a),c.style("display","table-cell"),c.style("white-space","nowrap"),c.style("max-width",t+"px"),c.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&c.attr("class","labelBkg");let f=c.node().getBoundingClientRect();return f.width===t&&(c.style("display","table"),c.style("white-space","break-spaces"),c.style("width",t+"px"),f=c.node().getBoundingClientRect()),u.style("width",f.width),u.style("height",f.height),u.node()}(e,{isNode:o,label:(0,i.H)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``)),labelStyle:t.replace("fill:","color:")},s,u,l);return c}{const t=function(e,n,t,r=!1){const u=n.append("g");let c=u.insert("rect").attr("class","background");const o=u.append("text").attr("y","-10.1");let s=0;if(t.forEach((n=>{let t=n.map((e=>e.content)).join(" "),r="",c=[],l=0;if(Xe(u,1.1,t)<=e)c.push(t);else{for(let n=0;n<=t.length;n++)if(r=t.slice(l,n),i.l.info(r,l,n),Xe(u,1.1,r)>e){const e=t.slice(l,n).lastIndexOf(" ");e>-1&&(n=l+e+1),c.push(t.slice(l,n).trim()),l=n,r=null}null!=r&&c.push(r)}const a=c.map((e=>({content:e,type:n.type})));for(const e of a)en(Ke(o,s,1.1),[e]),s++})),r){const e=o.node().getBBox(),n=2;return c.attr("x",-n).attr("y",-n).attr("width",e.width+2*n).attr("height",e.height+2*n),u.node()}return o.node()}(s,e,Je(n),l);return t}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/116-341f79d9.chunk.min.js b/docs/themes/geekdoc/static/js/116-341f79d9.chunk.min.js new file mode 100644 index 000000000..efc09abb1 --- /dev/null +++ b/docs/themes/geekdoc/static/js/116-341f79d9.chunk.min.js @@ -0,0 +1 @@ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[116],{2116:function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var a={};return function(){n.d(a,{default:function(){return l}});var e=n(771),t=n.n(e),r=function(e,t,r){for(var n=r,a=0,i=e.length;n0&&(a.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));var s=t.findIndex((function(t){return e.startsWith(t.left)}));if(-1===(n=r(t[s].right,e,t[s].left.length)))break;var l=e.slice(0,n+t[s].right.length),h=i.test(l)?l:e.slice(t[s].left.length,n);a.push({type:"math",data:h,rawData:l,display:t[s].display}),e=e.slice(n+t[s].right.length)}return""!==e&&a.push({type:"text",data:e}),a}(e,n.delimiters);if(1===a.length&&"text"===a[0].type)return null;for(var o=document.createDocumentFragment(),s=0;s15?"…"+s.slice(n-15,n):s.slice(0,n))+l+(a+15":">","<":"<",'"':""","'":"'"},o=/[&><"']/g,s=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},l=function(e,t){return-1!==e.indexOf(t)},h=function(e,t){return void 0===e?t:e},c=function(e){return String(e).replace(o,(function(e){return i[e]}))},m=function(e){return e.replace(a,"-$1").toLowerCase()},u=s,p=function(e){var t=s(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},d=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},f={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(e){return"#"+e}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(e,t){return t.push(e),t}},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:function(e){return Math.max(0,e)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(e){return Math.max(0,e)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(e){return Math.max(0,e)},cli:"-e, --max-expand ",cliProcessor:function(e){return"Infinity"===e?1/0:parseInt(e)}},globalGroup:{type:"boolean",cli:!1}};function g(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var v=function(){function e(e){for(var t in 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,e=e||{},f)if(f.hasOwnProperty(t)){var r=f[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:g(r)}}var t=e.prototype;return t.reportNonstrict=function(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new n("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!(!n||"ignore"===n||!0!==n&&"error"!==n&&("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=d(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),y=function(){function e(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}var t=e.prototype;return t.sup=function(){return b[x[this.id]]},t.sub=function(){return b[w[this.id]]},t.fracNum=function(){return b[k[this.id]]},t.fracDen=function(){return b[S[this.id]]},t.cramp=function(){return b[M[this.id]]},t.text=function(){return b[z[this.id]]},t.isTight=function(){return this.size>=2},e}(),b=[new y(0,0,!1),new y(1,0,!0),new y(2,1,!1),new y(3,1,!0),new y(4,2,!1),new y(5,2,!0),new y(6,3,!1),new y(7,3,!0)],x=[4,5,4,5,6,7,6,7],w=[5,5,5,5,7,7,7,7],k=[2,3,4,5,6,7,6,7],S=[3,3,5,5,7,7,7,7],M=[1,1,3,3,5,5,7,7],z=[0,1,2,3,2,3,2,3],A={DISPLAY:b[0],TEXT:b[2],SCRIPT:b[4],SCRIPTSCRIPT:b[6]},T=[{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]]}],B=[];function N(e){for(var t=0;t=B[t]&&e<=B[t+1])return!0;return!1}T.forEach((function(e){return e.blocks.forEach((function(e){return B.push.apply(B,e)}))}));var C={doubleleftarrow:"M262 157\nl10-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\n 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\n 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\nc2 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\n 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\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-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\n 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\n-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\n-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\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-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\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 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\n-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\nc-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\n 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\n 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\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 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\n 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\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 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\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-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\n-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\n-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\n 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\n-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\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 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\n-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\n 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\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-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\n-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\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.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\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-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\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 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\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.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\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 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\n-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\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.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\n60.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\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 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\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.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\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 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\n-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\n 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\n 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\n-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\n-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\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-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\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.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\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-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\n 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\n 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\n-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\n-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\n 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\n-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\n 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\nm0 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\n 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\n-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\n-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\n 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\n 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\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-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\n 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\n-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\n 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\nM399960 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\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-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\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 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\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 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\nc-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\n 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\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 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\n-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\n 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\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-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\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 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\n 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\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -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\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-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\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-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\n-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\n-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\n-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,\n-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,\n-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,\n-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,\n-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\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-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\ns-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\n121.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\ns2.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\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-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\n13.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\n-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\n-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\n-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\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,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\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM0 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\nc1.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,\n1c0,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,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 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\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},q=function(){function e(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t=5?0:e>=3?1:2]){var r=E[t]={cssEmPerMu:R.quad[t]/18};for(var n in R)R.hasOwnProperty(n)&&(r[n]=R[n][t])}return E[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();V.BASESIZE=6;var F=V,G={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},U={ex:!0,em:!0,mu:!0},Y=function(e){return"string"!=typeof e&&(e=e.unit),e in G||e in U||"ex"===e},X=function(e,t){var r;if(e.unit in G)r=G[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var a;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new n("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},W=function(e){return+e.toFixed(4)+"em"},_=function(e){return e.filter((function(e){return e})).join(" ")},j=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},$=function(e){var t=document.createElement(e);for(var r in t.className=_(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var a=0;a"},K=function(){function e(e,t,r,n){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,j.call(this,e,r,n),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){return $.call(this,"span")},t.toMarkup=function(){return Z.call(this,"span")},e}(),J=function(){function e(e,t,r,n){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,j.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){return $.call(this,"a")},t.toMarkup=function(){return Z.call(this,"a")},e}(),Q=function(){function e(e,t,r){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=t,this.src=e,this.classes=["mord"],this.style=r}var t=e.prototype;return t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e=""+this.alt+""},e}(),ee={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"},te=function(){function e(e,t,r,n,a,i,o,s){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=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=a||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t=a[0]&&e<=a[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ee[this.text])}var t=e.prototype;return t.hasClass=function(e){return l(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=W(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=_(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=m(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+c(r)+'"');var a=c(this.text);return e?(t+=">",t+=a,t+=""):a},e}(),re=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r"},e}(),ne=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",C[this.pathName]),e},t.toMarkup=function(){return this.alternate?"":""},e}(),ae=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e=""},e}();function ie(e){if(e instanceof te)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var oe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},se={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},le={math:{},text:{}},he=le;function ce(e,t,r,n,a,i){le[e][a]={font:t,group:r,replace:n},i&&n&&(le[e][n]=le[e][a])}var me="math",ue="text",pe="main",de="ams",fe="accent-token",ge="bin",ve="close",ye="inner",be="mathord",xe="op-token",we="open",ke="punct",Se="rel",Me="spacing",ze="textord";ce(me,pe,Se,"≡","\\equiv",!0),ce(me,pe,Se,"≺","\\prec",!0),ce(me,pe,Se,"≻","\\succ",!0),ce(me,pe,Se,"∼","\\sim",!0),ce(me,pe,Se,"⊥","\\perp"),ce(me,pe,Se,"⪯","\\preceq",!0),ce(me,pe,Se,"⪰","\\succeq",!0),ce(me,pe,Se,"≃","\\simeq",!0),ce(me,pe,Se,"∣","\\mid",!0),ce(me,pe,Se,"≪","\\ll",!0),ce(me,pe,Se,"≫","\\gg",!0),ce(me,pe,Se,"≍","\\asymp",!0),ce(me,pe,Se,"∥","\\parallel"),ce(me,pe,Se,"⋈","\\bowtie",!0),ce(me,pe,Se,"⌣","\\smile",!0),ce(me,pe,Se,"⊑","\\sqsubseteq",!0),ce(me,pe,Se,"⊒","\\sqsupseteq",!0),ce(me,pe,Se,"≐","\\doteq",!0),ce(me,pe,Se,"⌢","\\frown",!0),ce(me,pe,Se,"∋","\\ni",!0),ce(me,pe,Se,"∝","\\propto",!0),ce(me,pe,Se,"⊢","\\vdash",!0),ce(me,pe,Se,"⊣","\\dashv",!0),ce(me,pe,Se,"∋","\\owns"),ce(me,pe,ke,".","\\ldotp"),ce(me,pe,ke,"⋅","\\cdotp"),ce(me,pe,ze,"#","\\#"),ce(ue,pe,ze,"#","\\#"),ce(me,pe,ze,"&","\\&"),ce(ue,pe,ze,"&","\\&"),ce(me,pe,ze,"ℵ","\\aleph",!0),ce(me,pe,ze,"∀","\\forall",!0),ce(me,pe,ze,"ℏ","\\hbar",!0),ce(me,pe,ze,"∃","\\exists",!0),ce(me,pe,ze,"∇","\\nabla",!0),ce(me,pe,ze,"♭","\\flat",!0),ce(me,pe,ze,"ℓ","\\ell",!0),ce(me,pe,ze,"♮","\\natural",!0),ce(me,pe,ze,"♣","\\clubsuit",!0),ce(me,pe,ze,"℘","\\wp",!0),ce(me,pe,ze,"♯","\\sharp",!0),ce(me,pe,ze,"♢","\\diamondsuit",!0),ce(me,pe,ze,"ℜ","\\Re",!0),ce(me,pe,ze,"♡","\\heartsuit",!0),ce(me,pe,ze,"ℑ","\\Im",!0),ce(me,pe,ze,"♠","\\spadesuit",!0),ce(me,pe,ze,"§","\\S",!0),ce(ue,pe,ze,"§","\\S"),ce(me,pe,ze,"¶","\\P",!0),ce(ue,pe,ze,"¶","\\P"),ce(me,pe,ze,"†","\\dag"),ce(ue,pe,ze,"†","\\dag"),ce(ue,pe,ze,"†","\\textdagger"),ce(me,pe,ze,"‡","\\ddag"),ce(ue,pe,ze,"‡","\\ddag"),ce(ue,pe,ze,"‡","\\textdaggerdbl"),ce(me,pe,ve,"⎱","\\rmoustache",!0),ce(me,pe,we,"⎰","\\lmoustache",!0),ce(me,pe,ve,"⟯","\\rgroup",!0),ce(me,pe,we,"⟮","\\lgroup",!0),ce(me,pe,ge,"∓","\\mp",!0),ce(me,pe,ge,"⊖","\\ominus",!0),ce(me,pe,ge,"⊎","\\uplus",!0),ce(me,pe,ge,"⊓","\\sqcap",!0),ce(me,pe,ge,"∗","\\ast"),ce(me,pe,ge,"⊔","\\sqcup",!0),ce(me,pe,ge,"◯","\\bigcirc",!0),ce(me,pe,ge,"∙","\\bullet",!0),ce(me,pe,ge,"‡","\\ddagger"),ce(me,pe,ge,"≀","\\wr",!0),ce(me,pe,ge,"⨿","\\amalg"),ce(me,pe,ge,"&","\\And"),ce(me,pe,Se,"⟵","\\longleftarrow",!0),ce(me,pe,Se,"⇐","\\Leftarrow",!0),ce(me,pe,Se,"⟸","\\Longleftarrow",!0),ce(me,pe,Se,"⟶","\\longrightarrow",!0),ce(me,pe,Se,"⇒","\\Rightarrow",!0),ce(me,pe,Se,"⟹","\\Longrightarrow",!0),ce(me,pe,Se,"↔","\\leftrightarrow",!0),ce(me,pe,Se,"⟷","\\longleftrightarrow",!0),ce(me,pe,Se,"⇔","\\Leftrightarrow",!0),ce(me,pe,Se,"⟺","\\Longleftrightarrow",!0),ce(me,pe,Se,"↦","\\mapsto",!0),ce(me,pe,Se,"⟼","\\longmapsto",!0),ce(me,pe,Se,"↗","\\nearrow",!0),ce(me,pe,Se,"↩","\\hookleftarrow",!0),ce(me,pe,Se,"↪","\\hookrightarrow",!0),ce(me,pe,Se,"↘","\\searrow",!0),ce(me,pe,Se,"↼","\\leftharpoonup",!0),ce(me,pe,Se,"⇀","\\rightharpoonup",!0),ce(me,pe,Se,"↙","\\swarrow",!0),ce(me,pe,Se,"↽","\\leftharpoondown",!0),ce(me,pe,Se,"⇁","\\rightharpoondown",!0),ce(me,pe,Se,"↖","\\nwarrow",!0),ce(me,pe,Se,"⇌","\\rightleftharpoons",!0),ce(me,de,Se,"≮","\\nless",!0),ce(me,de,Se,"","\\@nleqslant"),ce(me,de,Se,"","\\@nleqq"),ce(me,de,Se,"⪇","\\lneq",!0),ce(me,de,Se,"≨","\\lneqq",!0),ce(me,de,Se,"","\\@lvertneqq"),ce(me,de,Se,"⋦","\\lnsim",!0),ce(me,de,Se,"⪉","\\lnapprox",!0),ce(me,de,Se,"⊀","\\nprec",!0),ce(me,de,Se,"⋠","\\npreceq",!0),ce(me,de,Se,"⋨","\\precnsim",!0),ce(me,de,Se,"⪹","\\precnapprox",!0),ce(me,de,Se,"≁","\\nsim",!0),ce(me,de,Se,"","\\@nshortmid"),ce(me,de,Se,"∤","\\nmid",!0),ce(me,de,Se,"⊬","\\nvdash",!0),ce(me,de,Se,"⊭","\\nvDash",!0),ce(me,de,Se,"⋪","\\ntriangleleft"),ce(me,de,Se,"⋬","\\ntrianglelefteq",!0),ce(me,de,Se,"⊊","\\subsetneq",!0),ce(me,de,Se,"","\\@varsubsetneq"),ce(me,de,Se,"⫋","\\subsetneqq",!0),ce(me,de,Se,"","\\@varsubsetneqq"),ce(me,de,Se,"≯","\\ngtr",!0),ce(me,de,Se,"","\\@ngeqslant"),ce(me,de,Se,"","\\@ngeqq"),ce(me,de,Se,"⪈","\\gneq",!0),ce(me,de,Se,"≩","\\gneqq",!0),ce(me,de,Se,"","\\@gvertneqq"),ce(me,de,Se,"⋧","\\gnsim",!0),ce(me,de,Se,"⪊","\\gnapprox",!0),ce(me,de,Se,"⊁","\\nsucc",!0),ce(me,de,Se,"⋡","\\nsucceq",!0),ce(me,de,Se,"⋩","\\succnsim",!0),ce(me,de,Se,"⪺","\\succnapprox",!0),ce(me,de,Se,"≆","\\ncong",!0),ce(me,de,Se,"","\\@nshortparallel"),ce(me,de,Se,"∦","\\nparallel",!0),ce(me,de,Se,"⊯","\\nVDash",!0),ce(me,de,Se,"⋫","\\ntriangleright"),ce(me,de,Se,"⋭","\\ntrianglerighteq",!0),ce(me,de,Se,"","\\@nsupseteqq"),ce(me,de,Se,"⊋","\\supsetneq",!0),ce(me,de,Se,"","\\@varsupsetneq"),ce(me,de,Se,"⫌","\\supsetneqq",!0),ce(me,de,Se,"","\\@varsupsetneqq"),ce(me,de,Se,"⊮","\\nVdash",!0),ce(me,de,Se,"⪵","\\precneqq",!0),ce(me,de,Se,"⪶","\\succneqq",!0),ce(me,de,Se,"","\\@nsubseteqq"),ce(me,de,ge,"⊴","\\unlhd"),ce(me,de,ge,"⊵","\\unrhd"),ce(me,de,Se,"↚","\\nleftarrow",!0),ce(me,de,Se,"↛","\\nrightarrow",!0),ce(me,de,Se,"⇍","\\nLeftarrow",!0),ce(me,de,Se,"⇏","\\nRightarrow",!0),ce(me,de,Se,"↮","\\nleftrightarrow",!0),ce(me,de,Se,"⇎","\\nLeftrightarrow",!0),ce(me,de,Se,"△","\\vartriangle"),ce(me,de,ze,"ℏ","\\hslash"),ce(me,de,ze,"▽","\\triangledown"),ce(me,de,ze,"◊","\\lozenge"),ce(me,de,ze,"Ⓢ","\\circledS"),ce(me,de,ze,"®","\\circledR"),ce(ue,de,ze,"®","\\circledR"),ce(me,de,ze,"∡","\\measuredangle",!0),ce(me,de,ze,"∄","\\nexists"),ce(me,de,ze,"℧","\\mho"),ce(me,de,ze,"Ⅎ","\\Finv",!0),ce(me,de,ze,"⅁","\\Game",!0),ce(me,de,ze,"‵","\\backprime"),ce(me,de,ze,"▲","\\blacktriangle"),ce(me,de,ze,"▼","\\blacktriangledown"),ce(me,de,ze,"■","\\blacksquare"),ce(me,de,ze,"⧫","\\blacklozenge"),ce(me,de,ze,"★","\\bigstar"),ce(me,de,ze,"∢","\\sphericalangle",!0),ce(me,de,ze,"∁","\\complement",!0),ce(me,de,ze,"ð","\\eth",!0),ce(ue,pe,ze,"ð","ð"),ce(me,de,ze,"╱","\\diagup"),ce(me,de,ze,"╲","\\diagdown"),ce(me,de,ze,"□","\\square"),ce(me,de,ze,"□","\\Box"),ce(me,de,ze,"◊","\\Diamond"),ce(me,de,ze,"¥","\\yen",!0),ce(ue,de,ze,"¥","\\yen",!0),ce(me,de,ze,"✓","\\checkmark",!0),ce(ue,de,ze,"✓","\\checkmark"),ce(me,de,ze,"ℶ","\\beth",!0),ce(me,de,ze,"ℸ","\\daleth",!0),ce(me,de,ze,"ℷ","\\gimel",!0),ce(me,de,ze,"ϝ","\\digamma",!0),ce(me,de,ze,"ϰ","\\varkappa"),ce(me,de,we,"┌","\\@ulcorner",!0),ce(me,de,ve,"┐","\\@urcorner",!0),ce(me,de,we,"└","\\@llcorner",!0),ce(me,de,ve,"┘","\\@lrcorner",!0),ce(me,de,Se,"≦","\\leqq",!0),ce(me,de,Se,"⩽","\\leqslant",!0),ce(me,de,Se,"⪕","\\eqslantless",!0),ce(me,de,Se,"≲","\\lesssim",!0),ce(me,de,Se,"⪅","\\lessapprox",!0),ce(me,de,Se,"≊","\\approxeq",!0),ce(me,de,ge,"⋖","\\lessdot"),ce(me,de,Se,"⋘","\\lll",!0),ce(me,de,Se,"≶","\\lessgtr",!0),ce(me,de,Se,"⋚","\\lesseqgtr",!0),ce(me,de,Se,"⪋","\\lesseqqgtr",!0),ce(me,de,Se,"≑","\\doteqdot"),ce(me,de,Se,"≓","\\risingdotseq",!0),ce(me,de,Se,"≒","\\fallingdotseq",!0),ce(me,de,Se,"∽","\\backsim",!0),ce(me,de,Se,"⋍","\\backsimeq",!0),ce(me,de,Se,"⫅","\\subseteqq",!0),ce(me,de,Se,"⋐","\\Subset",!0),ce(me,de,Se,"⊏","\\sqsubset",!0),ce(me,de,Se,"≼","\\preccurlyeq",!0),ce(me,de,Se,"⋞","\\curlyeqprec",!0),ce(me,de,Se,"≾","\\precsim",!0),ce(me,de,Se,"⪷","\\precapprox",!0),ce(me,de,Se,"⊲","\\vartriangleleft"),ce(me,de,Se,"⊴","\\trianglelefteq"),ce(me,de,Se,"⊨","\\vDash",!0),ce(me,de,Se,"⊪","\\Vvdash",!0),ce(me,de,Se,"⌣","\\smallsmile"),ce(me,de,Se,"⌢","\\smallfrown"),ce(me,de,Se,"≏","\\bumpeq",!0),ce(me,de,Se,"≎","\\Bumpeq",!0),ce(me,de,Se,"≧","\\geqq",!0),ce(me,de,Se,"⩾","\\geqslant",!0),ce(me,de,Se,"⪖","\\eqslantgtr",!0),ce(me,de,Se,"≳","\\gtrsim",!0),ce(me,de,Se,"⪆","\\gtrapprox",!0),ce(me,de,ge,"⋗","\\gtrdot"),ce(me,de,Se,"⋙","\\ggg",!0),ce(me,de,Se,"≷","\\gtrless",!0),ce(me,de,Se,"⋛","\\gtreqless",!0),ce(me,de,Se,"⪌","\\gtreqqless",!0),ce(me,de,Se,"≖","\\eqcirc",!0),ce(me,de,Se,"≗","\\circeq",!0),ce(me,de,Se,"≜","\\triangleq",!0),ce(me,de,Se,"∼","\\thicksim"),ce(me,de,Se,"≈","\\thickapprox"),ce(me,de,Se,"⫆","\\supseteqq",!0),ce(me,de,Se,"⋑","\\Supset",!0),ce(me,de,Se,"⊐","\\sqsupset",!0),ce(me,de,Se,"≽","\\succcurlyeq",!0),ce(me,de,Se,"⋟","\\curlyeqsucc",!0),ce(me,de,Se,"≿","\\succsim",!0),ce(me,de,Se,"⪸","\\succapprox",!0),ce(me,de,Se,"⊳","\\vartriangleright"),ce(me,de,Se,"⊵","\\trianglerighteq"),ce(me,de,Se,"⊩","\\Vdash",!0),ce(me,de,Se,"∣","\\shortmid"),ce(me,de,Se,"∥","\\shortparallel"),ce(me,de,Se,"≬","\\between",!0),ce(me,de,Se,"⋔","\\pitchfork",!0),ce(me,de,Se,"∝","\\varpropto"),ce(me,de,Se,"◀","\\blacktriangleleft"),ce(me,de,Se,"∴","\\therefore",!0),ce(me,de,Se,"∍","\\backepsilon"),ce(me,de,Se,"▶","\\blacktriangleright"),ce(me,de,Se,"∵","\\because",!0),ce(me,de,Se,"⋘","\\llless"),ce(me,de,Se,"⋙","\\gggtr"),ce(me,de,ge,"⊲","\\lhd"),ce(me,de,ge,"⊳","\\rhd"),ce(me,de,Se,"≂","\\eqsim",!0),ce(me,pe,Se,"⋈","\\Join"),ce(me,de,Se,"≑","\\Doteq",!0),ce(me,de,ge,"∔","\\dotplus",!0),ce(me,de,ge,"∖","\\smallsetminus"),ce(me,de,ge,"⋒","\\Cap",!0),ce(me,de,ge,"⋓","\\Cup",!0),ce(me,de,ge,"⩞","\\doublebarwedge",!0),ce(me,de,ge,"⊟","\\boxminus",!0),ce(me,de,ge,"⊞","\\boxplus",!0),ce(me,de,ge,"⋇","\\divideontimes",!0),ce(me,de,ge,"⋉","\\ltimes",!0),ce(me,de,ge,"⋊","\\rtimes",!0),ce(me,de,ge,"⋋","\\leftthreetimes",!0),ce(me,de,ge,"⋌","\\rightthreetimes",!0),ce(me,de,ge,"⋏","\\curlywedge",!0),ce(me,de,ge,"⋎","\\curlyvee",!0),ce(me,de,ge,"⊝","\\circleddash",!0),ce(me,de,ge,"⊛","\\circledast",!0),ce(me,de,ge,"⋅","\\centerdot"),ce(me,de,ge,"⊺","\\intercal",!0),ce(me,de,ge,"⋒","\\doublecap"),ce(me,de,ge,"⋓","\\doublecup"),ce(me,de,ge,"⊠","\\boxtimes",!0),ce(me,de,Se,"⇢","\\dashrightarrow",!0),ce(me,de,Se,"⇠","\\dashleftarrow",!0),ce(me,de,Se,"⇇","\\leftleftarrows",!0),ce(me,de,Se,"⇆","\\leftrightarrows",!0),ce(me,de,Se,"⇚","\\Lleftarrow",!0),ce(me,de,Se,"↞","\\twoheadleftarrow",!0),ce(me,de,Se,"↢","\\leftarrowtail",!0),ce(me,de,Se,"↫","\\looparrowleft",!0),ce(me,de,Se,"⇋","\\leftrightharpoons",!0),ce(me,de,Se,"↶","\\curvearrowleft",!0),ce(me,de,Se,"↺","\\circlearrowleft",!0),ce(me,de,Se,"↰","\\Lsh",!0),ce(me,de,Se,"⇈","\\upuparrows",!0),ce(me,de,Se,"↿","\\upharpoonleft",!0),ce(me,de,Se,"⇃","\\downharpoonleft",!0),ce(me,pe,Se,"⊶","\\origof",!0),ce(me,pe,Se,"⊷","\\imageof",!0),ce(me,de,Se,"⊸","\\multimap",!0),ce(me,de,Se,"↭","\\leftrightsquigarrow",!0),ce(me,de,Se,"⇉","\\rightrightarrows",!0),ce(me,de,Se,"⇄","\\rightleftarrows",!0),ce(me,de,Se,"↠","\\twoheadrightarrow",!0),ce(me,de,Se,"↣","\\rightarrowtail",!0),ce(me,de,Se,"↬","\\looparrowright",!0),ce(me,de,Se,"↷","\\curvearrowright",!0),ce(me,de,Se,"↻","\\circlearrowright",!0),ce(me,de,Se,"↱","\\Rsh",!0),ce(me,de,Se,"⇊","\\downdownarrows",!0),ce(me,de,Se,"↾","\\upharpoonright",!0),ce(me,de,Se,"⇂","\\downharpoonright",!0),ce(me,de,Se,"⇝","\\rightsquigarrow",!0),ce(me,de,Se,"⇝","\\leadsto"),ce(me,de,Se,"⇛","\\Rrightarrow",!0),ce(me,de,Se,"↾","\\restriction"),ce(me,pe,ze,"‘","`"),ce(me,pe,ze,"$","\\$"),ce(ue,pe,ze,"$","\\$"),ce(ue,pe,ze,"$","\\textdollar"),ce(me,pe,ze,"%","\\%"),ce(ue,pe,ze,"%","\\%"),ce(me,pe,ze,"_","\\_"),ce(ue,pe,ze,"_","\\_"),ce(ue,pe,ze,"_","\\textunderscore"),ce(me,pe,ze,"∠","\\angle",!0),ce(me,pe,ze,"∞","\\infty",!0),ce(me,pe,ze,"′","\\prime"),ce(me,pe,ze,"△","\\triangle"),ce(me,pe,ze,"Γ","\\Gamma",!0),ce(me,pe,ze,"Δ","\\Delta",!0),ce(me,pe,ze,"Θ","\\Theta",!0),ce(me,pe,ze,"Λ","\\Lambda",!0),ce(me,pe,ze,"Ξ","\\Xi",!0),ce(me,pe,ze,"Π","\\Pi",!0),ce(me,pe,ze,"Σ","\\Sigma",!0),ce(me,pe,ze,"Υ","\\Upsilon",!0),ce(me,pe,ze,"Φ","\\Phi",!0),ce(me,pe,ze,"Ψ","\\Psi",!0),ce(me,pe,ze,"Ω","\\Omega",!0),ce(me,pe,ze,"A","Α"),ce(me,pe,ze,"B","Β"),ce(me,pe,ze,"E","Ε"),ce(me,pe,ze,"Z","Ζ"),ce(me,pe,ze,"H","Η"),ce(me,pe,ze,"I","Ι"),ce(me,pe,ze,"K","Κ"),ce(me,pe,ze,"M","Μ"),ce(me,pe,ze,"N","Ν"),ce(me,pe,ze,"O","Ο"),ce(me,pe,ze,"P","Ρ"),ce(me,pe,ze,"T","Τ"),ce(me,pe,ze,"X","Χ"),ce(me,pe,ze,"¬","\\neg",!0),ce(me,pe,ze,"¬","\\lnot"),ce(me,pe,ze,"⊤","\\top"),ce(me,pe,ze,"⊥","\\bot"),ce(me,pe,ze,"∅","\\emptyset"),ce(me,de,ze,"∅","\\varnothing"),ce(me,pe,be,"α","\\alpha",!0),ce(me,pe,be,"β","\\beta",!0),ce(me,pe,be,"γ","\\gamma",!0),ce(me,pe,be,"δ","\\delta",!0),ce(me,pe,be,"ϵ","\\epsilon",!0),ce(me,pe,be,"ζ","\\zeta",!0),ce(me,pe,be,"η","\\eta",!0),ce(me,pe,be,"θ","\\theta",!0),ce(me,pe,be,"ι","\\iota",!0),ce(me,pe,be,"κ","\\kappa",!0),ce(me,pe,be,"λ","\\lambda",!0),ce(me,pe,be,"μ","\\mu",!0),ce(me,pe,be,"ν","\\nu",!0),ce(me,pe,be,"ξ","\\xi",!0),ce(me,pe,be,"ο","\\omicron",!0),ce(me,pe,be,"π","\\pi",!0),ce(me,pe,be,"ρ","\\rho",!0),ce(me,pe,be,"σ","\\sigma",!0),ce(me,pe,be,"τ","\\tau",!0),ce(me,pe,be,"υ","\\upsilon",!0),ce(me,pe,be,"ϕ","\\phi",!0),ce(me,pe,be,"χ","\\chi",!0),ce(me,pe,be,"ψ","\\psi",!0),ce(me,pe,be,"ω","\\omega",!0),ce(me,pe,be,"ε","\\varepsilon",!0),ce(me,pe,be,"ϑ","\\vartheta",!0),ce(me,pe,be,"ϖ","\\varpi",!0),ce(me,pe,be,"ϱ","\\varrho",!0),ce(me,pe,be,"ς","\\varsigma",!0),ce(me,pe,be,"φ","\\varphi",!0),ce(me,pe,ge,"∗","*",!0),ce(me,pe,ge,"+","+"),ce(me,pe,ge,"−","-",!0),ce(me,pe,ge,"⋅","\\cdot",!0),ce(me,pe,ge,"∘","\\circ",!0),ce(me,pe,ge,"÷","\\div",!0),ce(me,pe,ge,"±","\\pm",!0),ce(me,pe,ge,"×","\\times",!0),ce(me,pe,ge,"∩","\\cap",!0),ce(me,pe,ge,"∪","\\cup",!0),ce(me,pe,ge,"∖","\\setminus",!0),ce(me,pe,ge,"∧","\\land"),ce(me,pe,ge,"∨","\\lor"),ce(me,pe,ge,"∧","\\wedge",!0),ce(me,pe,ge,"∨","\\vee",!0),ce(me,pe,ze,"√","\\surd"),ce(me,pe,we,"⟨","\\langle",!0),ce(me,pe,we,"∣","\\lvert"),ce(me,pe,we,"∥","\\lVert"),ce(me,pe,ve,"?","?"),ce(me,pe,ve,"!","!"),ce(me,pe,ve,"⟩","\\rangle",!0),ce(me,pe,ve,"∣","\\rvert"),ce(me,pe,ve,"∥","\\rVert"),ce(me,pe,Se,"=","="),ce(me,pe,Se,":",":"),ce(me,pe,Se,"≈","\\approx",!0),ce(me,pe,Se,"≅","\\cong",!0),ce(me,pe,Se,"≥","\\ge"),ce(me,pe,Se,"≥","\\geq",!0),ce(me,pe,Se,"←","\\gets"),ce(me,pe,Se,">","\\gt",!0),ce(me,pe,Se,"∈","\\in",!0),ce(me,pe,Se,"","\\@not"),ce(me,pe,Se,"⊂","\\subset",!0),ce(me,pe,Se,"⊃","\\supset",!0),ce(me,pe,Se,"⊆","\\subseteq",!0),ce(me,pe,Se,"⊇","\\supseteq",!0),ce(me,de,Se,"⊈","\\nsubseteq",!0),ce(me,de,Se,"⊉","\\nsupseteq",!0),ce(me,pe,Se,"⊨","\\models"),ce(me,pe,Se,"←","\\leftarrow",!0),ce(me,pe,Se,"≤","\\le"),ce(me,pe,Se,"≤","\\leq",!0),ce(me,pe,Se,"<","\\lt",!0),ce(me,pe,Se,"→","\\rightarrow",!0),ce(me,pe,Se,"→","\\to"),ce(me,de,Se,"≱","\\ngeq",!0),ce(me,de,Se,"≰","\\nleq",!0),ce(me,pe,Me," ","\\ "),ce(me,pe,Me," ","\\space"),ce(me,pe,Me," ","\\nobreakspace"),ce(ue,pe,Me," ","\\ "),ce(ue,pe,Me," "," "),ce(ue,pe,Me," ","\\space"),ce(ue,pe,Me," ","\\nobreakspace"),ce(me,pe,Me,null,"\\nobreak"),ce(me,pe,Me,null,"\\allowbreak"),ce(me,pe,ke,",",","),ce(me,pe,ke,";",";"),ce(me,de,ge,"⊼","\\barwedge",!0),ce(me,de,ge,"⊻","\\veebar",!0),ce(me,pe,ge,"⊙","\\odot",!0),ce(me,pe,ge,"⊕","\\oplus",!0),ce(me,pe,ge,"⊗","\\otimes",!0),ce(me,pe,ze,"∂","\\partial",!0),ce(me,pe,ge,"⊘","\\oslash",!0),ce(me,de,ge,"⊚","\\circledcirc",!0),ce(me,de,ge,"⊡","\\boxdot",!0),ce(me,pe,ge,"△","\\bigtriangleup"),ce(me,pe,ge,"▽","\\bigtriangledown"),ce(me,pe,ge,"†","\\dagger"),ce(me,pe,ge,"⋄","\\diamond"),ce(me,pe,ge,"⋆","\\star"),ce(me,pe,ge,"◃","\\triangleleft"),ce(me,pe,ge,"▹","\\triangleright"),ce(me,pe,we,"{","\\{"),ce(ue,pe,ze,"{","\\{"),ce(ue,pe,ze,"{","\\textbraceleft"),ce(me,pe,ve,"}","\\}"),ce(ue,pe,ze,"}","\\}"),ce(ue,pe,ze,"}","\\textbraceright"),ce(me,pe,we,"{","\\lbrace"),ce(me,pe,ve,"}","\\rbrace"),ce(me,pe,we,"[","\\lbrack",!0),ce(ue,pe,ze,"[","\\lbrack",!0),ce(me,pe,ve,"]","\\rbrack",!0),ce(ue,pe,ze,"]","\\rbrack",!0),ce(me,pe,we,"(","\\lparen",!0),ce(me,pe,ve,")","\\rparen",!0),ce(ue,pe,ze,"<","\\textless",!0),ce(ue,pe,ze,">","\\textgreater",!0),ce(me,pe,we,"⌊","\\lfloor",!0),ce(me,pe,ve,"⌋","\\rfloor",!0),ce(me,pe,we,"⌈","\\lceil",!0),ce(me,pe,ve,"⌉","\\rceil",!0),ce(me,pe,ze,"\\","\\backslash"),ce(me,pe,ze,"∣","|"),ce(me,pe,ze,"∣","\\vert"),ce(ue,pe,ze,"|","\\textbar",!0),ce(me,pe,ze,"∥","\\|"),ce(me,pe,ze,"∥","\\Vert"),ce(ue,pe,ze,"∥","\\textbardbl"),ce(ue,pe,ze,"~","\\textasciitilde"),ce(ue,pe,ze,"\\","\\textbackslash"),ce(ue,pe,ze,"^","\\textasciicircum"),ce(me,pe,Se,"↑","\\uparrow",!0),ce(me,pe,Se,"⇑","\\Uparrow",!0),ce(me,pe,Se,"↓","\\downarrow",!0),ce(me,pe,Se,"⇓","\\Downarrow",!0),ce(me,pe,Se,"↕","\\updownarrow",!0),ce(me,pe,Se,"⇕","\\Updownarrow",!0),ce(me,pe,xe,"∐","\\coprod"),ce(me,pe,xe,"⋁","\\bigvee"),ce(me,pe,xe,"⋀","\\bigwedge"),ce(me,pe,xe,"⨄","\\biguplus"),ce(me,pe,xe,"⋂","\\bigcap"),ce(me,pe,xe,"⋃","\\bigcup"),ce(me,pe,xe,"∫","\\int"),ce(me,pe,xe,"∫","\\intop"),ce(me,pe,xe,"∬","\\iint"),ce(me,pe,xe,"∭","\\iiint"),ce(me,pe,xe,"∏","\\prod"),ce(me,pe,xe,"∑","\\sum"),ce(me,pe,xe,"⨂","\\bigotimes"),ce(me,pe,xe,"⨁","\\bigoplus"),ce(me,pe,xe,"⨀","\\bigodot"),ce(me,pe,xe,"∮","\\oint"),ce(me,pe,xe,"∯","\\oiint"),ce(me,pe,xe,"∰","\\oiiint"),ce(me,pe,xe,"⨆","\\bigsqcup"),ce(me,pe,xe,"∫","\\smallint"),ce(ue,pe,ye,"…","\\textellipsis"),ce(me,pe,ye,"…","\\mathellipsis"),ce(ue,pe,ye,"…","\\ldots",!0),ce(me,pe,ye,"…","\\ldots",!0),ce(me,pe,ye,"⋯","\\@cdots",!0),ce(me,pe,ye,"⋱","\\ddots",!0),ce(me,pe,ze,"⋮","\\varvdots"),ce(me,pe,fe,"ˊ","\\acute"),ce(me,pe,fe,"ˋ","\\grave"),ce(me,pe,fe,"¨","\\ddot"),ce(me,pe,fe,"~","\\tilde"),ce(me,pe,fe,"ˉ","\\bar"),ce(me,pe,fe,"˘","\\breve"),ce(me,pe,fe,"ˇ","\\check"),ce(me,pe,fe,"^","\\hat"),ce(me,pe,fe,"⃗","\\vec"),ce(me,pe,fe,"˙","\\dot"),ce(me,pe,fe,"˚","\\mathring"),ce(me,pe,be,"","\\@imath"),ce(me,pe,be,"","\\@jmath"),ce(me,pe,ze,"ı","ı"),ce(me,pe,ze,"ȷ","ȷ"),ce(ue,pe,ze,"ı","\\i",!0),ce(ue,pe,ze,"ȷ","\\j",!0),ce(ue,pe,ze,"ß","\\ss",!0),ce(ue,pe,ze,"æ","\\ae",!0),ce(ue,pe,ze,"œ","\\oe",!0),ce(ue,pe,ze,"ø","\\o",!0),ce(ue,pe,ze,"Æ","\\AE",!0),ce(ue,pe,ze,"Œ","\\OE",!0),ce(ue,pe,ze,"Ø","\\O",!0),ce(ue,pe,fe,"ˊ","\\'"),ce(ue,pe,fe,"ˋ","\\`"),ce(ue,pe,fe,"ˆ","\\^"),ce(ue,pe,fe,"˜","\\~"),ce(ue,pe,fe,"ˉ","\\="),ce(ue,pe,fe,"˘","\\u"),ce(ue,pe,fe,"˙","\\."),ce(ue,pe,fe,"¸","\\c"),ce(ue,pe,fe,"˚","\\r"),ce(ue,pe,fe,"ˇ","\\v"),ce(ue,pe,fe,"¨",'\\"'),ce(ue,pe,fe,"˝","\\H"),ce(ue,pe,fe,"◯","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};ce(ue,pe,ze,"–","--",!0),ce(ue,pe,ze,"–","\\textendash"),ce(ue,pe,ze,"—","---",!0),ce(ue,pe,ze,"—","\\textemdash"),ce(ue,pe,ze,"‘","`",!0),ce(ue,pe,ze,"‘","\\textquoteleft"),ce(ue,pe,ze,"’","'",!0),ce(ue,pe,ze,"’","\\textquoteright"),ce(ue,pe,ze,"“","``",!0),ce(ue,pe,ze,"“","\\textquotedblleft"),ce(ue,pe,ze,"”","''",!0),ce(ue,pe,ze,"”","\\textquotedblright"),ce(me,pe,ze,"°","\\degree",!0),ce(ue,pe,ze,"°","\\degree"),ce(ue,pe,ze,"°","\\textdegree",!0),ce(me,pe,ze,"£","\\pounds"),ce(me,pe,ze,"£","\\mathsterling",!0),ce(ue,pe,ze,"£","\\pounds"),ce(ue,pe,ze,"£","\\textsterling",!0),ce(me,de,ze,"✠","\\maltese"),ce(ue,de,ze,"✠","\\maltese");for(var Te=0;Te<14;Te++){var Be='0123456789/@."'.charAt(Te);ce(me,pe,ze,Be,Be)}for(var Ne=0;Ne<25;Ne++){var Ce='0123456789!@*()-=+";:?/.,'.charAt(Ne);ce(ue,pe,ze,Ce,Ce)}for(var qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ie=0;Ie<52;Ie++){var Re=qe.charAt(Ie);ce(me,pe,be,Re,Re),ce(ue,pe,ze,Re,Re)}ce(me,de,ze,"C","ℂ"),ce(ue,de,ze,"C","ℂ"),ce(me,de,ze,"H","ℍ"),ce(ue,de,ze,"H","ℍ"),ce(me,de,ze,"N","ℕ"),ce(ue,de,ze,"N","ℕ"),ce(me,de,ze,"P","ℙ"),ce(ue,de,ze,"P","ℙ"),ce(me,de,ze,"Q","ℚ"),ce(ue,de,ze,"Q","ℚ"),ce(me,de,ze,"R","ℝ"),ce(ue,de,ze,"R","ℝ"),ce(me,de,ze,"Z","ℤ"),ce(ue,de,ze,"Z","ℤ"),ce(me,pe,be,"h","ℎ"),ce(ue,pe,be,"h","ℎ");for(var He="",Oe=0;Oe<52;Oe++){var Ee=qe.charAt(Oe);ce(me,pe,be,Ee,He=String.fromCharCode(55349,56320+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56372+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56424+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56580+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56736+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56788+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56840+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56944+Oe)),ce(ue,pe,ze,Ee,He),Oe<26&&(ce(me,pe,be,Ee,He=String.fromCharCode(55349,56632+Oe)),ce(ue,pe,ze,Ee,He),ce(me,pe,be,Ee,He=String.fromCharCode(55349,56476+Oe)),ce(ue,pe,ze,Ee,He))}ce(me,pe,be,"k",He=String.fromCharCode(55349,56668)),ce(ue,pe,ze,"k",He);for(var Le=0;Le<10;Le++){var De=Le.toString();ce(me,pe,be,De,He=String.fromCharCode(55349,57294+Le)),ce(ue,pe,ze,De,He),ce(me,pe,be,De,He=String.fromCharCode(55349,57314+Le)),ce(ue,pe,ze,De,He),ce(me,pe,be,De,He=String.fromCharCode(55349,57324+Le)),ce(ue,pe,ze,De,He),ce(me,pe,be,De,He=String.fromCharCode(55349,57334+Le)),ce(ue,pe,ze,De,He)}for(var Pe=0;Pe<3;Pe++){var Ve="ÐÞþ".charAt(Pe);ce(me,pe,be,Ve,Ve),ce(ue,pe,ze,Ve,Ve)}var Fe=[["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"],["","",""],["","",""],["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"]],Ge=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ue=function(e,t,r){return he[r][e]&&he[r][e].replace&&(e=he[r][e].replace),{value:e,metrics:O(e,t,r)}},Ye=function(e,t,r,n,a){var i,o=Ue(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new te(e,s.height,s.depth,l,s.skew,s.width,a)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new te(e,0,0,0,0,0,a);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var h=n.getColor();h&&(i.style.color=h)}return i},Xe=function(e,t){if(_(e.classes)!==_(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},We=function(e){for(var t=0,r=0,n=0,a=0;at&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},_e=function(e,t,r,n){var a=new K(e,t,r,n);return We(a),a},je=function(e,t,r,n){return new K(e,t,r,n)},$e=function(e){var t=new q(e);return We(t),t},Ze=function(e,t,r){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ke={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"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Qe={fontMap:Ke,makeSymbol:Ye,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&Ue(e,"Main-Bold",t).metrics?Ye(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===he[t][e].font?Ye(e,"Main-Regular",t,r,n):Ye(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:_e,makeSvgSpan:je,makeLineSpan:function(e,t,r){var n=_e([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=W(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var a=new J(e,t,r,n);return We(a),a},makeFragment:$e,wrapFragment:function(e,t){return e instanceof q?_e([],[e],t):e},makeVList:function(e,t){for(var r=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,a=n,i=1;i0&&(o.push(Mt(s,t)),s=[]),o.push(a[l]));s.length>0&&o.push(Mt(s,t)),r?((i=Mt(vt(r,t,!0))).classes=["tag"],o.push(i)):n&&o.push(n);var c=ut(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),i){var m=i.children[0];m.style.height=W(c.height+c.depth),c.depth&&(m.style.verticalAlign=W(-c.depth))}return c}function At(e){return new q(e)}var Tt=function(){function e(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=_(this.classes));for(var r=0;r0&&(e+=' class ="'+c(_(this.classes))+'"'),e+=">";for(var r=0;r"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),Bt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return c(this.toText())},t.toText=function(){return this.text},e}(),Nt={MathNode:Tt,TextNode:Bt,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",W(this.width)),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:At},Ct=function(e,t,r){return!he[t][e]||!he[t][e].replace||55349===e.charCodeAt(0)||Ae.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=he[t][e].replace),new Nt.TextNode(e)},qt=function(e){return 1===e.length?e[0]:new Nt.MathNode("mrow",e)},It=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var a=e.text;return l(["\\imath","\\jmath"],a)?null:(he[n][a]&&he[n][a].replace&&(a=he[n][a].replace),O(a,Qe.fontMap[r].fontName,n)?Qe.fontMap[r].variant:null)},Rt=function(e,t,r){if(1===e.length){var n=Ot(e[0],t);return r&&n instanceof Tt&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a,i=[],o=0;o0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(s),a=s}return i},Ht=function(e,t,r){return qt(Rt(e,t,r))},Ot=function(e,t){if(!e)return new Nt.MathNode("mrow");if(st[e.type])return st[e.type](e,t);throw new n("Got group of unknown type: '"+e.type+"'")};function Et(e,t,r,n,a){var i,o=Rt(e,r);i=1===o.length&&o[0]instanceof Tt&&l(["mrow","mtable"],o[0].type)?o[0]:new Nt.MathNode("mrow",o);var s=new Nt.MathNode("annotation",[new Nt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var h=new Nt.MathNode("semantics",[i,s]),c=new Nt.MathNode("math",[h]);return c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block"),Qe.makeSpan([a?"katex":"katex-mathml"],[c])}var Lt=function(e){return new F({style:e.displayMode?A.DISPLAY:A.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Dt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Qe.makeSpan(r,[e])}return e},Pt={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":"="},Vt={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]},Ft=function(e){var t=new Nt.MathNode("mo",[new Nt.TextNode(Pt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Gt=function(e,t){var r=function(){var r=4e5,n=e.label.slice(1);if(l(["widehat","widecheck","widetilde","utilde"],n)){var a,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(a=420,r=2364,o=.42,i=n+"4"):(a=312,r=2340,o=.34,i="tilde4");else{var h=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][h],a=[0,239,300,360,420][h],o=[0,.24,.3,.3,.36,.42][h],i=n+h):(r=[0,600,1033,2339,2340][h],a=[0,260,286,306,312][h],o=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var c=new ne(i),m=new re([c],{width:"100%",height:W(o),viewBox:"0 0 "+r+" "+a,preserveAspectRatio:"none"});return{span:Qe.makeSvgSpan([],[m],t),minWidth:0,height:o}}var u,p,d,f=[],g=Vt[n],v=g[0],y=g[1],b=g[2],x=b/1e3,w=v.length;if(1===w)u=["hide-tail"],p=[g[3]];else if(2===w)u=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");u=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(n.style.minWidth=W(a)),n};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yt(e){var t=Xt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Xt(e){return e&&("atom"===e.type||se.hasOwnProperty(e.type))?e:null}var Wt=function(e,t){var r,n,a;e&&"supsub"===e.type?(r=(n=Ut(e.base,"accent")).base,e.base=r,a=function(e){if(e instanceof K)return e;throw new Error("Expected span but got "+String(e)+".")}(St(e,t)),e.base=n):r=(n=Ut(e,"accent")).base;var i=St(r,t.havingCrampedStyle()),o=0;if(n.isShifty&&p(r)){var s=u(r);o=ie(St(s,t.havingCrampedStyle())).skew}var l,h="\\c"===n.label,c=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)l=Gt(n,t),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+W(2*o)+")",marginLeft:W(2*o)}:void 0}]},t);else{var m,d;"\\vec"===n.label?(m=Qe.staticSvg("vec",t),d=Qe.svgData.vec[1]):((m=ie(m=Qe.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,d=m.width,h&&(c+=m.depth)),l=Qe.makeSpan(["accent-body"],[m]);var f="\\textcircled"===n.label;f&&(l.classes.push("accent-full"),c=i.height);var g=o;f||(g-=d/2),l.style.left=W(g),"\\textcircled"===n.label&&(l.style.top=".2em"),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:l}]},t)}var v=Qe.makeSpan(["mord","accent"],[l],t);return a?(a.children[0]=v,a.height=Math.max(v.height,a.height),a.classes[0]="mord",a):v},_t=function(e,t){var r=e.isStretchy?Ft(e.label):new Nt.MathNode("mo",[Ct(e.label,e.mode)]),n=new Nt.MathNode("mover",[Ot(e.base,t),r]);return n.setAttribute("accent","true"),n},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));lt({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(e,t){var r=ct(t[0]),n=!jt.test(e.funcName),a=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(e,t){var r=t[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:function(e,t){var r=St(e.base,t),n=Gt(e,t),a="\\utilde"===e.label?.12:0,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var r=Ft(e.label),n=new Nt.MathNode("munder",[Ot(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var $t=function(e){var t=new Nt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};lt({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(e,t,r){var n=e.parser,a=e.funcName;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder:function(e,t){var r,n=t.style,a=t.havingStyle(n.sup()),i=Qe.wrapFragment(St(e.body,a,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(a=t.havingStyle(n.sub()),(r=Qe.wrapFragment(St(e.below,a,t),t)).classes.push(o+"-arrow-pad"));var s,l=Gt(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var m=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:m}]},t)}else s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:h}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Qe.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder:function(e,t){var r,n=Ft(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var a=$t(Ot(e.body,t));if(e.below){var i=$t(Ot(e.below,t));r=new Nt.MathNode("munderover",[n,i,a])}else r=new Nt.MathNode("mover",[n,a])}else if(e.below){var o=$t(Ot(e.below,t));r=new Nt.MathNode("munder",[n,o])}else r=$t(),r=new Nt.MathNode("mover",[n,r]);return r}});var Zt=Qe.makeSpan;function Kt(e,t){var r=vt(e.body,t,!0);return Zt([e.mclass],r,t)}function Jt(e,t){var r,n=Rt(e.body,t);return"minner"===e.mclass?r=new Nt.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new Nt.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new Nt.MathNode("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}lt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:mt(a),isCharacterBox:p(a)}},htmlBuilder:Kt,mathmlBuilder:Jt});var Qt=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};lt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){return{type:"mclass",mode:e.parser.mode,mclass:Qt(t[0]),body:mt(t[1]),isCharacterBox:p(t[1])}}}),lt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var r,n=e.parser,a=e.funcName,i=t[1],o=t[0];r="\\stackrel"!==a?Qt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==a,body:mt(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===a?null:o,sub:"\\underset"===a?o:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:p(l)}},htmlBuilder:Kt,mathmlBuilder:Jt}),lt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"pmb",mode:e.parser.mode,mclass:Qt(t[0]),body:mt(t[0])}},htmlBuilder:function(e,t){var r=vt(e.body,t,!0),n=Qe.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder:function(e,t){var r=Rt(e.body,t),n=new Nt.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var er={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tr=function(e){return"textord"===e.type&&"@"===e.text};function rr(e,t,r){var n=er[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var a={type:"atom",text:n,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[a],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}lt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder:function(e,t){var r=t.havingStyle(t.style.sup()),n=Qe.wrapFragment(St(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=W(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mrow",[Ot(e.label,t)]);return(r=new Nt.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Nt.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),lt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(e,t){return{type:"cdlabelparent",mode:e.parser.mode,fragment:t[0]}},htmlBuilder:function(e,t){var r=Qe.wrapFragment(St(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:function(e,t){return new Nt.MathNode("mrow",[Ot(e.fragment,t)])}}),lt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var r=e.parser,a=Ut(t[0],"ordgroup").body,i="",o=0;o=1114111)throw new n("\\@char with invalid code point "+i);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:s}}});var nr=function(e,t){var r=vt(e.body,t.withColor(e.color),!1);return Qe.makeFragment(r)},ar=function(e,t){var r=Rt(e.body,t.withColor(e.color)),n=new Nt.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};lt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(e,t){var r=e.parser,n=Ut(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:mt(a)}},htmlBuilder:nr,mathmlBuilder:ar}),lt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(e,t){var r=e.parser,n=e.breakOnTokenText,a=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:nr,mathmlBuilder:ar}),lt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(e,t,r){var n=e.parser,a="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Ut(a,"size").value}},htmlBuilder:function(e,t){var r=Qe.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=W(X(e.size,t)))),r},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",W(X(e.size,t)))),r}});var ir={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},or=function(e){var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new n("Expected a control sequence",e);return t},sr=function(e,t,r,n){var a=e.gullet.macros.get(r.text);null==a&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};lt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(e){var t=e.parser,r=e.funcName;t.consumeSpaces();var a=t.fetch();if(ir[a.text])return"\\global"!==r&&"\\\\globallong"!==r||(a.text=ir[a.text]),Ut(t.parseFunction(),"internal");throw new n("Invalid token after macro prefix",a)}}),lt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,a=t.gullet.popToken(),i=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new n("Expected a control sequence",a);for(var o,s=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new n('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new n('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new n("Expected a macro definition");l[s].push(a.text)}var h=t.gullet.consumeArg().tokens;return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(i,{tokens:h,numArgs:s,delimiters:l},r===ir[r]),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,n=or(t.gullet.popToken());t.gullet.consumeSpaces();var a=function(e){var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t}(t);return sr(t,n,a,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,n=or(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return sr(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var lr=function(e,t,r){var n=O(he.math[e]&&he.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},hr=function(e,t,r,n){var a=r.havingBaseStyle(t),i=Qe.makeSpan(n.concat(a.sizingClasses(r)),[e],r),o=a.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},cr=function(e,t,r){var n=t.havingBaseStyle(r),a=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=W(a),e.height-=a,e.depth+=a},mr=function(e,t,r,n,a,i){var o=function(e,t,r,n){return Qe.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,a,n),s=hr(Qe.makeSpan(["delimsizing","size"+t],[o],n),A.TEXT,n,i);return r&&cr(s,n,A.TEXT),s},ur=function(e,t,r){return{type:"elem",elem:Qe.makeSpan(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[Qe.makeSpan([],[Qe.makeSymbol(e,t,r)])])}},pr=function(e,t,r){var n=I["Size4-Regular"][e.charCodeAt(0)]?I["Size4-Regular"][e.charCodeAt(0)][4]:I["Size1-Regular"][e.charCodeAt(0)][4],a=new ne("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new re([a],{width:W(n),height:W(t),style:"width:"+W(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Qe.makeSvgSpan([],[i],r);return o.height=t,o.style.height=W(t),o.style.width=W(n),{type:"elem",elem:o}},dr={type:"kern",size:-.008},fr=["|","\\lvert","\\rvert","\\vert"],gr=["\\|","\\lVert","\\rVert","\\Vert"],vr=function(e,t,r,n,a,i){var o,s,h,c,m="",u=0;o=h=c=e,s=null;var p="Size1-Regular";"\\uparrow"===e?h=c="⏐":"\\Uparrow"===e?h=c="‖":"\\downarrow"===e?o=h="⏐":"\\Downarrow"===e?o=h="‖":"\\updownarrow"===e?(o="\\uparrow",h="⏐",c="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",h="‖",c="\\Downarrow"):l(fr,e)?(h="∣",m="vert",u=333):l(gr,e)?(h="∥",m="doublevert",u=556):"["===e||"\\lbrack"===e?(o="⎡",h="⎢",c="⎣",p="Size4-Regular",m="lbrack",u=667):"]"===e||"\\rbrack"===e?(o="⎤",h="⎥",c="⎦",p="Size4-Regular",m="rbrack",u=667):"\\lfloor"===e||"⌊"===e?(h=o="⎢",c="⎣",p="Size4-Regular",m="lfloor",u=667):"\\lceil"===e||"⌈"===e?(o="⎡",h=c="⎢",p="Size4-Regular",m="lceil",u=667):"\\rfloor"===e||"⌋"===e?(h=o="⎥",c="⎦",p="Size4-Regular",m="rfloor",u=667):"\\rceil"===e||"⌉"===e?(o="⎤",h=c="⎥",p="Size4-Regular",m="rceil",u=667):"("===e||"\\lparen"===e?(o="⎛",h="⎜",c="⎝",p="Size4-Regular",m="lparen",u=875):")"===e||"\\rparen"===e?(o="⎞",h="⎟",c="⎠",p="Size4-Regular",m="rparen",u=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",c="⎩",h="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",c="⎭",h="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",c="⎩",h="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",c="⎭",h="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",c="⎭",h="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",c="⎩",h="⎪",p="Size4-Regular");var d=lr(o,p,a),f=d.height+d.depth,g=lr(h,p,a),v=g.height+g.depth,y=lr(c,p,a),b=y.height+y.depth,x=0,w=1;if(null!==s){var k=lr(s,p,a);x=k.height+k.depth,w=2}var S=f+b+x,M=S+Math.max(0,Math.ceil((t-S)/(w*v)))*w*v,z=n.fontMetrics().axisHeight;r&&(z*=n.sizeMultiplier);var T=M/2-z,B=[];if(m.length>0){var N=M-f-b,C=Math.round(1e3*M),q=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" 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\nc-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,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.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\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-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,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-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\nc-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\nc0,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\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-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.")}}(m,Math.round(1e3*N)),I=new ne(m,q),R=(u/1e3).toFixed(3)+"em",H=(C/1e3).toFixed(3)+"em",O=new re([I],{width:R,height:H,viewBox:"0 0 "+u+" "+C}),E=Qe.makeSvgSpan([],[O],n);E.height=C/1e3,E.style.width=R,E.style.height=H,B.push({type:"elem",elem:E})}else{if(B.push(ur(c,p,a)),B.push(dr),null===s){var L=M-f-b+.016;B.push(pr(h,L,n))}else{var D=(M-f-b-x)/2+.016;B.push(pr(h,D,n)),B.push(dr),B.push(ur(s,p,a)),B.push(dr),B.push(pr(h,D,n))}B.push(dr),B.push(ur(o,p,a))}var P=n.havingBaseStyle(A.TEXT),V=Qe.makeVList({positionType:"bottom",positionData:T,children:B},P);return hr(Qe.makeSpan(["delimsizing","mult"],[V],P),A.TEXT,n,i)},yr=.08,br=function(e,t,r,n,a){var i=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e,t){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.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\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":n=function(e,t){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":n=function(e,t){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":n=function(e,t){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-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\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":n=function(e,t){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-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\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":n=function(e,t,r){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(r-54-80-e)+"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\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,r)}return n}(e,n,r),o=new ne(e,i),s=new re([o],{width:"400em",height:W(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Qe.makeSvgSpan(["hide-tail"],[s],a)},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],wr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sr=[0,1.2,1.8,2.4,3],Mr=[{type:"small",style:A.SCRIPTSCRIPT},{type:"small",style:A.SCRIPT},{type:"small",style:A.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:A.SCRIPTSCRIPT},{type:"small",style:A.SCRIPT},{type:"small",style:A.TEXT},{type:"stack"}],Ar=[{type:"small",style:A.SCRIPTSCRIPT},{type:"small",style:A.SCRIPT},{type:"small",style:A.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Tr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Br=function(e,t,r,n){for(var a=Math.min(2,3-n.style.size);at)return r[a]}return r[r.length-1]},Nr=function(e,t,r,n,a,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=l(kr,e)?Mr:l(xr,e)?Ar:zr;var s=Br(e,t,o,n);return"small"===s.type?function(e,t,r,n,a,i){var o=Qe.makeSymbol(e,"Main-Regular",a,n),s=hr(o,t,n,i);return r&&cr(s,n,t),s}(e,s.style,r,n,a,i):"large"===s.type?mr(e,s.size,r,n,a,i):vr(e,t,r,n,a,i)},Cr={sqrtImage:function(e,t){var r,n,a=t.havingBaseSizing(),i=Br("\\surd",e*a.sizeMultiplier,Ar,a),o=a.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,c=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=br("sqrtMain",l=(1+s+yr)/o,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/o):"large"===i.type?(c=1080*Sr[i.size],h=(Sr[i.size]+s)/o,l=(Sr[i.size]+s+yr)/o,(r=br("sqrtSize"+i.size,l,c,s,t)).style.minWidth="1.02em",n=1/o):(l=e+s+yr,h=e+s,c=Math.floor(1e3*e+s)+80,(r=br("sqrtTall",l,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=h,r.style.height=W(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),l(xr,e)||l(kr,e))return mr(e,t,!1,r,a,i);if(l(wr,e))return vr(e,Sr[t],!1,r,a,i);throw new n("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Nr,leftRightDelim:function(e,t,r,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Nr(e,h,!0,n,a,i)}},qr={"\\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}},Ir=["(","\\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 Rr(e,t){var r=Xt(e);if(r&&l(Ir,r.text))return r;throw new n(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Hr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lt({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(e,t){var r=Rr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:qr[e.funcName].size,mclass:qr[e.funcName].mclass,delim:r.text}},htmlBuilder:function(e,t){return"."===e.delim?Qe.makeSpan([e.mclass]):Cr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(Ct(e.delim,e.mode));var r=new Nt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=W(Cr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),lt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new n("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rr(t[0],e).text,color:r}}}),lt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=Rr(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ut(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){Hr(e);for(var r,n,a=vt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l-1?"mpadded":"menclose",[Ot(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};lt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(e,t,r){var n=e.parser,a=e.funcName,i=Ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(e,t,r){var n=e.parser,a=e.funcName,i=Ut(t[0],"color-token").color,o=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),lt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\angl",body:t[0]}}});var Lr={};function Dr(e){for(var t=e.type,r=e.names,n=e.props,a=e.handler,i=e.htmlBuilder,o=e.mathmlBuilder,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l1||!m)&&g.pop(),y.length0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(S<(B+=y)&&(S=B),B=0),e.addJot&&(S+=f),M.height=k,M.depth=S,b+=k,M.pos=b,b+=S+B,l[r]=M,x(o[r+1])}var N,C,q=b/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((function(e){return e})))for(r=0;r=s)){var Y=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(Y=h(P.pregap,p))&&((N=Qe.makeSpan(["arraycolsep"],[])).style.width=W(Y),R.push(N));var _=[];for(r=0;r0){for(var K=Qe.makeLineSpan("hline",t,m),J=Qe.makeLineSpan("hdashline",t,m),Q=[{type:"elem",elem:l,shift:0}];c.length>0;){var ee=c.pop(),te=ee.pos-q;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=Qe.makeVList({positionType:"individualShift",children:Q},t)}if(0===H.length)return Qe.makeSpan(["mord"],[l],t);var re=Qe.makeVList({positionType:"individualShift",children:H},t);return re=Qe.makeSpan(["tag"],[re],t),Qe.makeFragment([l,re])},$r={c:"center ",l:"left ",r:"right "},Zr=function(e,t){for(var r=[],n=new Nt.MathNode("mtd",[],["mtr-glue"]),a=new Nt.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var p=e.cols,d="",f=!1,g=0,v=p.length;"separator"===p[0].type&&(m+="top ",g=1),"separator"===p[p.length-1].type&&(m+="bottom ",v-=1);for(var y=g;y0?"left ":"",m+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Wr(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Xr(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var c="",m=0;m0&&u&&(f=1),a[p]={type:"align",align:d,pregap:f,postgap:0}}return s.colSeparationType=u?"align":"alignat",s};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new n("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Wr(e.parser,a,_r(e.envName))},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,-1==="lcr".indexOf(r))throw new n("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),a.cols=[{type:"align",align:r}]}}var o=Wr(e.parser,a,_r(e.envName)),s=Math.max.apply(Math,[0].concat(o.body.map((function(e){return e.length}))));return o.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=Wr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new n("Unknown column alignment: "+t,e)}));if(r.length>1)throw new n("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Wr(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new n("{subarray} can contain only one column");return a},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(e){var t=Wr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},_r(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Kr,htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(e){l(["gather","gather*"],e.envName)&&Yr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Wr(e.parser,t,"display")},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Kr,htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(e){Yr(e);var t={autoTag:Xr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Wr(e.parser,t,"display")},htmlBuilder:jr,mathmlBuilder:Zr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:function(e){return Yr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new n("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,i,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(u)>-1))throw new n('Expected one of "<>AV=|." after @',h[m]);for(var d=0;d<2;d++){for(var f=!0,g=m+1;g=A.SCRIPT.id?r.text():A.DISPLAY:"text"===e&&r.size===A.DISPLAY.size?r=A.TEXT:"script"===e?r=A.SCRIPT:"scriptscript"===e&&(r=A.SCRIPTSCRIPT),r},nn=function(e,t){var r,n=rn(e.size,t.style),a=n.fracNum(),i=n.fracDen();r=t.havingStyle(a);var o=St(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*m:7*m,d=t.fontMetrics().denom1):(c>0?(u=t.fontMetrics().num2,p=m):(u=t.fontMetrics().num3,p=3*m),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;u-o.depth-(x+.5*c)0&&(t="."===(t=e)?null:t),t};lt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var r,n=e.parser,a=t[4],i=t[5],o=ct(t[0]),s="atom"===o.type&&"open"===o.family?sn(o.text):null,l=ct(t[1]),h="atom"===l.type&&"close"===l.family?sn(l.text):null,c=Ut(t[2],"size"),m=null;r=!!c.isBlank||(m=c.value).number>0;var u="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var d=Ut(p.body[0],"textord");u=on[Number(d.text)]}}else p=Ut(p,"textord"),u=on[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:r,barSize:m,leftDelim:s,rightDelim:h,size:u}},htmlBuilder:nn,mathmlBuilder:an}),lt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var r=e.parser,n=(e.funcName,e.token);return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:n}}}),lt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var r=e.parser,n=(e.funcName,t[0]),a=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),i=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:nn,mathmlBuilder:an});var ln=function(e,t){var r,n,a=t.style;"supsub"===e.type?(r=e.sup?St(e.sup,t.havingStyle(a.sup()),t):St(e.sub,t.havingStyle(a.sub()),t),n=Ut(e.base,"horizBrace")):n=Ut(e,"horizBrace");var i,o=St(n.base,t.havingBaseStyle(A.DISPLAY)),s=Gt(n,t);if(n.isOver?(i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Qe.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Qe.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Qe.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Qe.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};lt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:ln,mathmlBuilder:function(e,t){var r=Ft(e.label);return new Nt.MathNode(e.isOver?"mover":"munder",[Ot(e.base,t),r])}}),lt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[1],a=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:mt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var r=vt(e.body,t,!1);return Qe.makeAnchor(e.href,[],r,t)},mathmlBuilder:function(e,t){var r=Ht(e.body,t);return r instanceof Tt||(r=new Tt("mrow",[r])),r.setAttribute("href",e.href),r}}),lt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i0&&(n=X(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=X(e.width,t));var i={height:W(r+n)};a>0&&(i.width=W(a)),n>0&&(i.verticalAlign=W(-n));var o=new Q(e.src,e.alt,i);return o.height=r,o.depth=n,o},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=X(e.height,t),a=0;if(e.totalheight.number>0&&(a=X(e.totalheight,t)-n,r.setAttribute("valign",W(-a))),r.setAttribute("height",W(n+a)),e.width.number>0){var i=X(e.width,t);r.setAttribute("width",W(i))}return r.setAttribute("src",e.src),r}}),lt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,a=Ut(t[0],"size");if(r.settings.strict){var i="m"===n[1],o="mu"===a.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+a.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder:function(e,t){return Qe.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var r=X(e.dimension,t);return new Nt.SpaceNode(r)}}),lt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:function(e,t){var r;"clap"===e.alignment?(r=Qe.makeSpan([],[St(e.body,t)]),r=Qe.makeSpan(["inner"],[r],t)):r=Qe.makeSpan(["inner"],[St(e.body,t)]);var n=Qe.makeSpan(["fix"],[]),a=Qe.makeSpan([e.alignment],[r,n],t),i=Qe.makeSpan(["strut"]);return i.style.height=W(a.height+a.depth),a.depth&&(i.style.verticalAlign=W(-a.depth)),a.children.unshift(i),a=Qe.makeSpan(["thinbox"],[a],t),Qe.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),lt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=e.funcName,n=e.parser,a=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:o}}}),lt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new n("Mismatched "+e.funcName)}});var cn=function(e,t){switch(t.style.size){case A.DISPLAY.size:return e.display;case A.TEXT.size:return e.text;case A.SCRIPT.size:return e.script;case A.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};lt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:mt(t[0]),text:mt(t[1]),script:mt(t[2]),scriptscript:mt(t[3])}},htmlBuilder:function(e,t){var r=cn(e,t),n=vt(r,t,!1);return Qe.makeFragment(n)},mathmlBuilder:function(e,t){var r=cn(e,t);return Ht(r,t)}});var mn=function(e,t,r,n,a,i,o){e=Qe.makeSpan([],[e]);var s,l,h,c=r&&p(r);if(t){var m=St(t,n.havingStyle(a.sup()),n);l={elem:m,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-m.depth)}}if(r){var u=St(r,n.havingStyle(a.sub()),n);s={elem:u,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-u.height)}}if(l&&s){var d=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:d,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var f=e.height-o;h=Qe.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var g=e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var v=[h];if(s&&0!==i&&!c){var y=Qe.makeSpan(["mspace"],[],n);y.style.marginRight=W(i),v.unshift(y)}return Qe.makeSpan(["mop","op-limits"],v,n)},un=["\\smallint"],pn=function(e,t){var r,n,a,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,a=Ut(e.base,"op"),i=!0):a=Ut(e,"op");var o,s=t.style,h=!1;if(s.size===A.DISPLAY.size&&a.symbol&&!l(un,a.name)&&(h=!0),a.symbol){var c=h?"Size2-Regular":"Size1-Regular",m="";if("\\oiint"!==a.name&&"\\oiiint"!==a.name||(m=a.name.slice(1),a.name="oiint"===m?"\\iint":"\\iiint"),o=Qe.makeSymbol(a.name,c,"math",t,["mop","op-symbol",h?"large-op":"small-op"]),m.length>0){var u=o.italic,p=Qe.staticSvg(m+"Size"+(h?"2":"1"),t);o=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:h?.08:0}]},t),a.name="\\"+m,o.classes.unshift("mop"),o.italic=u}}else if(a.body){var d=vt(a.body,t,!0);1===d.length&&d[0]instanceof te?(o=d[0]).classes[0]="mop":o=Qe.makeSpan(["mop"],d,t)}else{for(var f=[],g=1;g0){for(var s=a.body.map((function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=vt(s,t.withFont("mathrm"),!0),h=0;h=0?s.setAttribute("height",W(a)):(s.setAttribute("height",W(a)),s.setAttribute("depth",W(-a))),s.setAttribute("voffset",W(a)),s}});var bn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];lt({type:"sizing",names:bn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,a=e.parser,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:bn.indexOf(n)+1,body:i}},htmlBuilder:function(e,t){var r=t.havingSize(e.size);return yn(e.body,r,t)},mathmlBuilder:function(e,t){var r=t.havingSize(e.size),n=Rt(e.body,r),a=new Nt.MathNode("mstyle",n);return a.setAttribute("mathsize",W(r.sizeMultiplier)),a}}),lt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,r){var n=e.parser,a=!1,i=!1,o=r[0]&&Ut(r[0],"ordgroup");if(o)for(var s="",l=0;lr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var u=l.height-r.height-i-h;r.style.paddingLeft=W(c);var p=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+u)},{type:"elem",elem:l},{type:"kern",size:h}]},t);if(e.index){var d=t.havingStyle(A.SCRIPTSCRIPT),f=St(e.index,d,t),g=.6*(p.height-p.depth),v=Qe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:f}]},t),y=Qe.makeSpan(["root"],[v]);return Qe.makeSpan(["mord","sqrt"],[y,p],t)}return Qe.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var r=e.body,n=e.index;return n?new Nt.MathNode("mroot",[Ot(r,t),Ot(n,t)]):new Nt.MathNode("msqrt",[Ot(r,t)])}});var xn={display:A.DISPLAY,text:A.TEXT,script:A.SCRIPT,scriptscript:A.SCRIPTSCRIPT};lt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,a=e.parser,i=a.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder:function(e,t){var r=xn[e.style],n=t.havingStyle(r).withFont("");return yn(e.body,n,t)},mathmlBuilder:function(e,t){var r=xn[e.style],n=t.havingStyle(r),a=Rt(e.body,n),i=new Nt.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});ht({type:"supsub",htmlBuilder:function(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===A.DISPLAY.size||r.alwaysHandleSupSub)?pn:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===A.DISPLAY.size||r.limits)?vn:null:"accent"===r.type?p(r.base)?Wt:null:"horizBrace"===r.type&&!e.sub===r.isOver?ln:null:null}(e,t);if(r)return r(e,t);var n,a,i,o=e.base,s=e.sup,l=e.sub,h=St(o,t),c=t.fontMetrics(),m=0,u=0,d=o&&p(o);if(s){var f=t.havingStyle(t.style.sup());n=St(s,f,t),d||(m=h.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());a=St(l,g,t),d||(u=h.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===A.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v,y=t.sizeMultiplier,b=W(.5/c.ptPerEm/y),x=null;if(a){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof te||w)&&(x=W(-h.italic))}if(n&&a){m=Math.max(m,i,n.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var k=4*c.defaultRuleThickness;if(m-n.depth-(a.height-u)0&&(m+=S,u-=S)}v=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u,marginRight:b,marginLeft:x},{type:"elem",elem:n,shift:-m,marginRight:b}]},t)}else if(a){u=Math.max(u,c.sub1,a.height-.8*c.xHeight),v=Qe.makeVList({positionType:"shift",positionData:u,children:[{type:"elem",elem:a,marginLeft:x,marginRight:b}]},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");m=Math.max(m,i,n.depth+.25*c.xHeight),v=Qe.makeVList({positionType:"shift",positionData:-m,children:[{type:"elem",elem:n,marginRight:b}]},t)}var M=wt(h,"right")||"mord";return Qe.makeSpan([M],[h,Qe.makeSpan(["msupsub"],[v])],t)},mathmlBuilder:function(e,t){var r,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var a,i=[Ot(e.base,t)];if(e.sub&&i.push(Ot(e.sub,t)),e.sup&&i.push(Ot(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;a=o&&"op"===o.type&&o.limits&&t.style===A.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===A.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;a=s&&"op"===s.type&&s.limits&&(t.style===A.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===A.DISPLAY)?"munder":"msub"}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===A.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===A.DISPLAY)?"mover":"msup"}return new Nt.MathNode(a,i)}}),ht({type:"atom",htmlBuilder:function(e,t){return Qe.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mo",[Ct(e.text,e.mode)]);if("bin"===e.family){var n=It(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var wn={mi:"italic",mn:"normal",mtext:"normal"};ht({type:"mathord",htmlBuilder:function(e,t){return Qe.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mi",[Ct(e.text,e.mode,t)]),n=It(e,t)||"italic";return n!==wn[r.type]&&r.setAttribute("mathvariant",n),r}}),ht({type:"textord",htmlBuilder:function(e,t){return Qe.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var r,n=Ct(e.text,e.mode,t),a=It(e,t)||"normal";return r="text"===e.mode?new Nt.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new Nt.MathNode("mn",[n]):"\\prime"===e.text?new Nt.MathNode("mo",[n]):new Nt.MathNode("mi",[n]),a!==wn[r.type]&&r.setAttribute("mathvariant",a),r}});var kn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Sn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ht({type:"spacing",htmlBuilder:function(e,t){if(Sn.hasOwnProperty(e.text)){var r=Sn[e.text].className||"";if("text"===e.mode){var a=Qe.makeOrd(e,t,"textord");return a.classes.push(r),a}return Qe.makeSpan(["mspace",r],[Qe.mathsym(e.text,e.mode,t)],t)}if(kn.hasOwnProperty(e.text))return Qe.makeSpan(["mspace",kn[e.text]],[],t);throw new n('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Sn.hasOwnProperty(e.text)){if(kn.hasOwnProperty(e.text))return new Nt.MathNode("mspace");throw new n('Unknown type of space "'+e.text+'"')}return new Nt.MathNode("mtext",[new Nt.TextNode(" ")])}});var Mn=function(){var e=new Nt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ht({type:"tag",mathmlBuilder:function(e,t){var r=new Nt.MathNode("mtable",[new Nt.MathNode("mtr",[Mn(),new Nt.MathNode("mtd",[Ht(e.body,t)]),Mn(),new Nt.MathNode("mtd",[Ht(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var zn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},An={"\\textbf":"textbf","\\textmd":"textmd"},Tn={"\\textit":"textit","\\textup":"textup"},Bn=function(e,t){var r=e.font;return r?zn[r]?t.withTextFontFamily(zn[r]):An[r]?t.withTextFontWeight(An[r]):t.withTextFontShape(Tn[r]):t};lt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,a=t[0];return{type:"text",mode:r.mode,body:mt(a),font:n}},htmlBuilder:function(e,t){var r=Bn(e,t),n=vt(e.body,r,!0);return Qe.makeSpan(["mord","text"],n,r)},mathmlBuilder:function(e,t){var r=Bn(e,t);return Ht(e.body,r)}}),lt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var r=St(e.body,t),n=Qe.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new Nt.MathNode("munder",[Ot(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),lt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(e,t){return{type:"vcenter",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var r=St(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return Qe.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:function(e,t){return new Nt.MathNode("mpadded",[Ot(e.body,t)],["vcenter"])}}),lt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,r){throw new n("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var r=Nn(e),n=[],a=t.havingStyle(t.style.text()),i=0;i0;)this.endGroup()},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t},e}(),Dn=Pr;Vr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Vr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Vr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Vr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Vr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Vr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Vr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Pn={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};Vr("\\char",(function(e){var t,r=e.popToken(),a="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])a=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new n("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Pn[r.text])||a>=t)throw new n("Invalid base-"+t+" digit "+r.text);for(var i;null!=(i=Pn[e.future().text])&&i":"\\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"};Vr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Fn?t=Fn[r]:("\\not"===r.slice(0,4)||r in he.math&&l(["bin","rel"],he.math[r].group))&&(t="\\dotsb"),t}));var Gn={")":!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};Vr("\\dotso",(function(e){return e.future().text in Gn?"\\ldots\\,":"\\ldots"})),Vr("\\dotsc",(function(e){var t=e.future().text;return t in Gn&&","!==t?"\\ldots\\,":"\\ldots"})),Vr("\\cdots",(function(e){return e.future().text in Gn?"\\@cdots\\,":"\\@cdots"})),Vr("\\dotsb","\\cdots"),Vr("\\dotsm","\\cdots"),Vr("\\dotsi","\\!\\cdots"),Vr("\\dotsx","\\ldots\\,"),Vr("\\DOTSI","\\relax"),Vr("\\DOTSB","\\relax"),Vr("\\DOTSX","\\relax"),Vr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Vr("\\,","\\tmspace+{3mu}{.1667em}"),Vr("\\thinspace","\\,"),Vr("\\>","\\mskip{4mu}"),Vr("\\:","\\tmspace+{4mu}{.2222em}"),Vr("\\medspace","\\:"),Vr("\\;","\\tmspace+{5mu}{.2777em}"),Vr("\\thickspace","\\;"),Vr("\\!","\\tmspace-{3mu}{.1667em}"),Vr("\\negthinspace","\\!"),Vr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Vr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Vr("\\enspace","\\kern.5em "),Vr("\\enskip","\\hskip.5em\\relax"),Vr("\\quad","\\hskip1em\\relax"),Vr("\\qquad","\\hskip2em\\relax"),Vr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Vr("\\tag@paren","\\tag@literal{({#1})}"),Vr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new n("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Vr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Vr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Vr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Vr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Vr("\\newline","\\\\\\relax"),Vr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Un=W(I["Main-Regular"]["T".charCodeAt(0)][1]-.7*I["Main-Regular"]["A".charCodeAt(0)][1]);Vr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Un+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Vr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Un+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Vr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Vr("\\@hspace","\\hskip #1\\relax"),Vr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Vr("\\ordinarycolon",":"),Vr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Vr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Vr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Vr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Vr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Vr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Vr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Vr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Vr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Vr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Vr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Vr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Vr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Vr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Vr("∷","\\dblcolon"),Vr("∹","\\eqcolon"),Vr("≔","\\coloneqq"),Vr("≕","\\eqqcolon"),Vr("⩴","\\Coloneqq"),Vr("\\ratio","\\vcentcolon"),Vr("\\coloncolon","\\dblcolon"),Vr("\\colonequals","\\coloneqq"),Vr("\\coloncolonequals","\\Coloneqq"),Vr("\\equalscolon","\\eqqcolon"),Vr("\\equalscoloncolon","\\Eqqcolon"),Vr("\\colonminus","\\coloneq"),Vr("\\coloncolonminus","\\Coloneq"),Vr("\\minuscolon","\\eqcolon"),Vr("\\minuscoloncolon","\\Eqcolon"),Vr("\\coloncolonapprox","\\Colonapprox"),Vr("\\coloncolonsim","\\Colonsim"),Vr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Vr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Vr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Vr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Vr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Vr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Vr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Vr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Vr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Vr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Vr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Vr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Vr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Vr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Vr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Vr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Vr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Vr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Vr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Vr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Vr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Vr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Vr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Vr("\\imath","\\html@mathml{\\@imath}{ı}"),Vr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Vr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Vr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Vr("⟦","\\llbracket"),Vr("⟧","\\rrbracket"),Vr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Vr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Vr("⦃","\\lBrace"),Vr("⦄","\\rBrace"),Vr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Vr("⦵","\\minuso"),Vr("\\darr","\\downarrow"),Vr("\\dArr","\\Downarrow"),Vr("\\Darr","\\Downarrow"),Vr("\\lang","\\langle"),Vr("\\rang","\\rangle"),Vr("\\uarr","\\uparrow"),Vr("\\uArr","\\Uparrow"),Vr("\\Uarr","\\Uparrow"),Vr("\\N","\\mathbb{N}"),Vr("\\R","\\mathbb{R}"),Vr("\\Z","\\mathbb{Z}"),Vr("\\alef","\\aleph"),Vr("\\alefsym","\\aleph"),Vr("\\Alpha","\\mathrm{A}"),Vr("\\Beta","\\mathrm{B}"),Vr("\\bull","\\bullet"),Vr("\\Chi","\\mathrm{X}"),Vr("\\clubs","\\clubsuit"),Vr("\\cnums","\\mathbb{C}"),Vr("\\Complex","\\mathbb{C}"),Vr("\\Dagger","\\ddagger"),Vr("\\diamonds","\\diamondsuit"),Vr("\\empty","\\emptyset"),Vr("\\Epsilon","\\mathrm{E}"),Vr("\\Eta","\\mathrm{H}"),Vr("\\exist","\\exists"),Vr("\\harr","\\leftrightarrow"),Vr("\\hArr","\\Leftrightarrow"),Vr("\\Harr","\\Leftrightarrow"),Vr("\\hearts","\\heartsuit"),Vr("\\image","\\Im"),Vr("\\infin","\\infty"),Vr("\\Iota","\\mathrm{I}"),Vr("\\isin","\\in"),Vr("\\Kappa","\\mathrm{K}"),Vr("\\larr","\\leftarrow"),Vr("\\lArr","\\Leftarrow"),Vr("\\Larr","\\Leftarrow"),Vr("\\lrarr","\\leftrightarrow"),Vr("\\lrArr","\\Leftrightarrow"),Vr("\\Lrarr","\\Leftrightarrow"),Vr("\\Mu","\\mathrm{M}"),Vr("\\natnums","\\mathbb{N}"),Vr("\\Nu","\\mathrm{N}"),Vr("\\Omicron","\\mathrm{O}"),Vr("\\plusmn","\\pm"),Vr("\\rarr","\\rightarrow"),Vr("\\rArr","\\Rightarrow"),Vr("\\Rarr","\\Rightarrow"),Vr("\\real","\\Re"),Vr("\\reals","\\mathbb{R}"),Vr("\\Reals","\\mathbb{R}"),Vr("\\Rho","\\mathrm{P}"),Vr("\\sdot","\\cdot"),Vr("\\sect","\\S"),Vr("\\spades","\\spadesuit"),Vr("\\sub","\\subset"),Vr("\\sube","\\subseteq"),Vr("\\supe","\\supseteq"),Vr("\\Tau","\\mathrm{T}"),Vr("\\thetasym","\\vartheta"),Vr("\\weierp","\\wp"),Vr("\\Zeta","\\mathrm{Z}"),Vr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Vr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Vr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Vr("\\bra","\\mathinner{\\langle{#1}|}"),Vr("\\ket","\\mathinner{|{#1}\\rangle}"),Vr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Vr("\\Bra","\\left\\langle#1\\right|"),Vr("\\Ket","\\left|#1\\right\\rangle");var Yn=function(e){return function(t){var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=function(t){return function(r){e&&(r.macros.set("|",o),a.length&&r.macros.set("\\|",s));var i=t;return!t&&a.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?a:n,numArgs:0}}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,c=t.expandTokens([].concat(i,h,r));return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}}};Vr("\\bra@ket",Yn(!1)),Vr("\\bra@set",Yn(!0)),Vr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Vr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Vr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Vr("\\angln","{\\angl n}"),Vr("\\blue","\\textcolor{##6495ed}{#1}"),Vr("\\orange","\\textcolor{##ffa500}{#1}"),Vr("\\pink","\\textcolor{##ff00af}{#1}"),Vr("\\red","\\textcolor{##df0030}{#1}"),Vr("\\green","\\textcolor{##28ae7b}{#1}"),Vr("\\gray","\\textcolor{gray}{#1}"),Vr("\\purple","\\textcolor{##9d38bd}{#1}"),Vr("\\blueA","\\textcolor{##ccfaff}{#1}"),Vr("\\blueB","\\textcolor{##80f6ff}{#1}"),Vr("\\blueC","\\textcolor{##63d9ea}{#1}"),Vr("\\blueD","\\textcolor{##11accd}{#1}"),Vr("\\blueE","\\textcolor{##0c7f99}{#1}"),Vr("\\tealA","\\textcolor{##94fff5}{#1}"),Vr("\\tealB","\\textcolor{##26edd5}{#1}"),Vr("\\tealC","\\textcolor{##01d1c1}{#1}"),Vr("\\tealD","\\textcolor{##01a995}{#1}"),Vr("\\tealE","\\textcolor{##208170}{#1}"),Vr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Vr("\\greenB","\\textcolor{##8af281}{#1}"),Vr("\\greenC","\\textcolor{##74cf70}{#1}"),Vr("\\greenD","\\textcolor{##1fab54}{#1}"),Vr("\\greenE","\\textcolor{##0d923f}{#1}"),Vr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Vr("\\goldB","\\textcolor{##ffbb71}{#1}"),Vr("\\goldC","\\textcolor{##ff9c39}{#1}"),Vr("\\goldD","\\textcolor{##e07d10}{#1}"),Vr("\\goldE","\\textcolor{##a75a05}{#1}"),Vr("\\redA","\\textcolor{##fca9a9}{#1}"),Vr("\\redB","\\textcolor{##ff8482}{#1}"),Vr("\\redC","\\textcolor{##f9685d}{#1}"),Vr("\\redD","\\textcolor{##e84d39}{#1}"),Vr("\\redE","\\textcolor{##bc2612}{#1}"),Vr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Vr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Vr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Vr("\\maroonD","\\textcolor{##ca337c}{#1}"),Vr("\\maroonE","\\textcolor{##9e034e}{#1}"),Vr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Vr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Vr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Vr("\\purpleD","\\textcolor{##7854ab}{#1}"),Vr("\\purpleE","\\textcolor{##543b78}{#1}"),Vr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Vr("\\mintB","\\textcolor{##edf2df}{#1}"),Vr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Vr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Vr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Vr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Vr("\\grayD","\\textcolor{##d6d8da}{#1}"),Vr("\\grayE","\\textcolor{##babec2}{#1}"),Vr("\\grayF","\\textcolor{##888d93}{#1}"),Vr("\\grayG","\\textcolor{##626569}{#1}"),Vr("\\grayH","\\textcolor{##3b3e40}{#1}"),Vr("\\grayI","\\textcolor{##21242c}{#1}"),Vr("\\kaBlue","\\textcolor{##314453}{#1}"),Vr("\\kaGreen","\\textcolor{##71B307}{#1}");var Xn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Wn=function(){function e(e,t,r){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=t,this.expansionCount=0,this.feed(e),this.macros=new Ln(Dn,t.macros),this.mode=r,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new En(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.endGroups=function(){this.macros.endGroups()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.scanArgument=function(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken();var a=this.consumeArg(["]"]);n=a.tokens,r=a.end}else{var i=this.consumeArg();n=i.tokens,t=i.start,r=i.end}return this.pushToken(new Gr("EOF",r.loc)),this.pushTokens(n),t.range(r,"")},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArg=function(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,i=this.future(),o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(-1==--o)throw new n("Extra }",a)}else if("EOF"===a.text)throw new n("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",a);if(e&&r)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||r);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:a}},t.consumeArgs=function(e,t){if(t){if(t.length!==e+1)throw new n("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new n("Too many expansions: infinite loop or need to increase maxExpand setting");var i=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(i=i.slice()).length-1;s>=0;--s){var l=i[s];if("#"===l.text){if(0===s)throw new n("Incomplete placeholder at end of macro body",l);if("#"===(l=i[--s]).text)i.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new n("Not a valid argument number",l);var h;(h=i).splice.apply(h,[s,2].concat(o[+l.text-1]))}}}return this.pushTokens(i),i.length},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error},t.expandMacro=function(e){return this.macros.has(e)?this.expandTokens([new Gr(e)]):void 0},t.expandTokens=function(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return t},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var a=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(a+1));)++a;for(var o=new En(n,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:a}}return n},t.isDefined=function(e){return this.macros.has(e)||Cn.hasOwnProperty(e)||he.math.hasOwnProperty(e)||he.text.hasOwnProperty(e)||Xn.hasOwnProperty(e)},t.isExpandable=function(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Cn.hasOwnProperty(e)&&!Cn[e].primitive},e}(),_n=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,jn=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),$n={"́":{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"}},Zn={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},Kn=function(){function e(e,t){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 Wn(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new n("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}},t.subparse=function(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Gr("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r},t.parseExpression=function(t,r){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==e.endOfExpression.indexOf(a.text))break;if(r&&a.text===r)break;if(t&&Cn[a.text]&&Cn[a.text].infix)break;var i=this.parseAtom(r);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)},t.handleInfixNodes=function(e){for(var t,r=-1,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var s,l=he[this.mode][t].group,h=Fr.range(e);if(oe.hasOwnProperty(l)){var c=l;s={type:"atom",mode:this.mode,family:c,loc:h,text:t}}else s={type:l,mode:this.mode,loc:h,text:t};i=s}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(N(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Fr.range(e),text:t}}if(this.consume(),o)for(var m=0;m{const i=(0,s.c)().state.padding,n=2*(0,s.c)().state.padding,d=t.node().getBBox(),r=d.width,o=d.x,c=t.append("text").attr("x",0).attr("y",(0,s.c)().state.titleShift).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),g=c.node().getBBox().width+n;let p,h=Math.max(g,r);h===r&&(h+=n);const l=t.node().getBBox();e.doc,p=o-i,g>r&&(p=(r-h)/2+i),Math.abs(o-l.x)r&&(p=o-(g-r)/2);const x=1-(0,s.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",p).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+(0,s.c)().state.textHeight+(0,s.c)().state.titleShift+1).attr("rx","0"),c.attr("x",p+i),g<=r&&c.attr("x",o+(h-n)/2-g/2+i),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",3*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",l.height+3+2*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t},g=function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit)})(n),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2)})(n),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let a=(0,s.c)().state.forkWidth,i=(0,s.c)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding)})(n,e),"note"===e.type&&((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",(0,s.c)().state.padding),i=e.append("g"),{textWidth:n,textHeight:d}=((t,e,a,i)=>{let n=0;const d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let r=t.replace(/\r\n/g,"
    ");r=r.replace(/\n/g,"
    ");const o=r.split(s.e.lineBreakRegex);let c=1.25*(0,s.c)().state.noteMargin;for(const t of o){const e=t.trim();if(e.length>0){const t=d.append("tspan");t.text(e),0===c&&(c+=t.node().getBBox().height),n+=c,t.attr("x",0+(0,s.c)().state.noteMargin),t.attr("y",0+n+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:n}})(t,0,0,i);a.attr("height",d+2*(0,s.c)().state.noteMargin),a.attr("width",n+2*(0,s.c)().state.noteMargin)})(e.note.text,n),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.c)().state.textHeight).attr("y1",0).attr("y2",0)})(n),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+2*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",a.width+2*(0,s.c)().state.padding).attr("height",a.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e),"default"===e.type&&e.descriptions.length>0&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+1.3*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=a.height,n=t.append("text").attr("x",(0,s.c)().state.padding).attr("y",i+.4*(0,s.c)().state.padding+(0,s.c)().state.dividerMargin+(0,s.c)().state.textHeight).attr("class","state-description");let d=!0,r=!0;e.descriptions.forEach((function(t){d||(function(t,e,a){const i=t.append("tspan").attr("x",2*(0,s.c)().state.padding).text(e);a||i.attr("dy",(0,s.c)().state.textHeight)}(n,t,r),r=!1),d=!1}));const o=t.append("line").attr("x1",(0,s.c)().state.padding).attr("y1",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("y2",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("class","descr-divider"),c=n.node().getBBox(),g=Math.max(c.width,a.width);o.attr("x2",g+3*(0,s.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",g+2*(0,s.c)().state.padding).attr("height",c.height+i+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e);const d=n.node().getBBox();return i.width=d.width+2*(0,s.c)().state.padding,i.height=d.height+2*(0,s.c)().state.padding,r=i,o[a]=r,i;var r};let p,h=0;const l={},x=(t,e,a,o,u,f,y)=>{const w=new r.k({compound:!0,multigraph:!0});let b,m=!0;for(b=0;b{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)}))):s.l.debug("No Node "+t+": "+JSON.stringify(w.node(t)))}));let M=v.getBBox();w.edges().forEach((function(t){void 0!==t&&void 0!==w.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(w.edge(t))),function(t,e,a){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const d=e.points,r=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),o=t.append("path").attr("d",r(d)).attr("id","edge"+h).attr("class","transition");let c="";if((0,s.c)().state.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),o.attr("marker-end","url("+c+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){const i=t.append("g").attr("class","stateLabel"),{x:n,y:d}=s.u.calcLabelPosition(e.points),r=s.e.getRows(a.title);let o=0;const c=[];let g=0,p=0;for(let t=0;t<=r.length;t++){const e=i.append("text").attr("text-anchor","middle").text(r[t]).attr("x",n).attr("y",d+o),a=e.node().getBBox();if(g=Math.max(g,a.width),p=Math.min(p,a.x),s.l.info(a.x,n,d+o),0===o){const t=e.node().getBBox();o=t.height,s.l.info("Title height",o,d)}c.push(e)}let h=o*r.length;if(r.length>1){const t=(r.length-1)*o*.5;c.forEach(((e,a)=>e.attr("y",d+a*o-t))),h=o*r.length}const l=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",n-g/2-(0,s.c)().state.padding/2).attr("y",d-h/2-(0,s.c)().state.padding/2-3.5).attr("width",g+(0,s.c)().state.padding).attr("height",h+(0,s.c)().state.padding),s.l.info(l)}h++}(e,w.edge(t),w.edge(t).relation))})),M=v.getBBox();const S={id:a||"root",label:a||"root",width:0,height:0};return S.width=M.width+2*p.padding,S.height=M.height+2*p.padding,s.l.debug("Doc rendered",S,w),S},u={setConf:function(){},draw:function(t,e,a,i){p=(0,s.c)().state;const d=(0,s.c)().securityLevel;let o;"sandbox"===d&&(o=(0,n.Ys)("#i"+e));const c="sandbox"===d?(0,n.Ys)(o.nodes()[0].contentDocument.body):(0,n.Ys)("body"),g="sandbox"===d?o.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const h=c.select(`[id='${e}']`);h.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z"),new r.k({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const l=i.db.getRootDoc();x(l,h,void 0,!1,c,g,i);const u=p.padding,f=h.node().getBBox(),y=f.width+2*u,w=f.height+2*u,b=1.75*y;(0,s.i)(h,w,b,p.useMaxWidth),h.attr("viewBox",`${f.x-p.padding} ${f.y-p.padding} `+y+" "+w)}},f={parser:i.p,db:i.d,renderer:u,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/177-040c64bb.chunk.min.js b/docs/themes/geekdoc/static/js/177-040c64bb.chunk.min.js new file mode 100644 index 000000000..cf71ae573 --- /dev/null +++ b/docs/themes/geekdoc/static/js/177-040c64bb.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[177],{3349:function(e,t,n){n.d(t,{a:function(){return l}});var r=n(6225);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.bg(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},6225:function(e,t,n){n.d(t,{$p:function(){return d},O1:function(){return a},WR:function(){return p},bF:function(){return o},bg:function(){return c}});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var i=/:/g;function s(e){return e?String(e).replace(i,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},3177:function(e,t,n){n.d(t,{diagram:function(){return i}});var r=n(4796),l=(n(5625),n(5740));n(5103),n(3402),n(3688),n(870),n(9451),n(6225),n(3349),n(6749),n(6446),n(3032),l.c_6;var o=n(7928);n(7484),n(7967),n(7856),n(9368);const a={},i={parser:r.p,db:r.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,function(e){const t=Object.keys(e);for(const n of t)a[n]=e[n]}(e.flowchart),r.f.clear(),r.f.setGen("gen-1")}}},7928:function(e,t,n){n.d(t,{a:function(){return h},f:function(){return g}});var r=n(5625),l=n(5740),o=n(4796),a=n(5103),i=n(2759),s=n(3349),c=n(5971),d=n(1767),p=(e,t)=>c.Z.lang.round(d.Z.parse(e)[t]),b=n(1117);const u={},f=function(e,t,n,r,l,o){const i=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,a.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(a.l.info("vertex",r,r.labelType),"markdown"===r.labelType)a.l.info("vertex",r,r.labelType);else if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const e={label:b.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};p=(0,s.a)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(a.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let u=0,f="";switch(r.type){case"round":u=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:b,labelType:r.labelType,rx:u,ry:u,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:o.db.getTooltip(r.id)||"",domId:o.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,a.c)().flowchart.padding}),a.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:b,rx:u,ry:u,class:c,style:d.style,id:r.id,domId:o.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,a.c)().flowchart.padding})}))},w=function(e,t,n){a.l.info("abc78 edges = ",e);let r,o,i=0,s={};if(void 0!==e.defaultStyle){const t=(0,a.k)(e.defaultStyle);r=t.style,o=t.labelStyle}e.forEach((function(n){i++;const c="L-"+n.start+"-"+n.end;void 0===s[c]?(s[c]=0,a.l.info("abc78 new entry",c,s[c])):(s[c]++,a.l.info("abc78 new entry",c,s[c]));let d=c+"-"+s[c];a.l.info("abc78 new link id to be used is",c,d,s[c]);const p="LS-"+n.start,b="LE-"+n.end,f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let w="",g="";switch(n.stroke){case"normal":w="fill:none;",void 0!==r&&(w=r),void 0!==o&&(g=o),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,a.k)(n.style);w=e.style,g=e.labelStyle}f.style=f.style+=w,f.labelStyle=f.labelStyle+=g,void 0!==n.interpolate?f.curve=(0,a.o)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?f.curve=(0,a.o)(e.defaultInterpolate,l.c_6):f.curve=(0,a.o)(u.curve,l.c_6),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=n.text.replace(a.e.lineBreakRegex,"\n"),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=d,f.classes="flowchart-link "+p+" "+b,t.setEdge(n.start,n.end,f,i)}))},g={setConf:function(e){const t=Object.keys(e);for(const n of t)u[n]=e[n]},addVertices:f,addEdges:w,getClasses:function(e,t){a.l.info("Extracting classes"),t.db.clear();try{return t.parse(e),t.db.getClasses()}catch(e){return}},draw:async function(e,t,n,s){a.l.info("Drawing flowchart"),s.db.clear(),o.f.setGen("gen-2"),s.parser.parse(e);let c=s.db.getDirection();void 0===c&&(c="TD");const{securityLevel:d,flowchart:p}=(0,a.c)(),b=p.nodeSpacing||50,u=p.rankSpacing||50;let g;"sandbox"===d&&(g=(0,l.Ys)("#i"+t));const h="sandbox"===d?(0,l.Ys)(g.nodes()[0].contentDocument.body):(0,l.Ys)("body"),y="sandbox"===d?g.nodes()[0].contentDocument:document,k=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:b,ranksep:u,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let x;const v=s.db.getSubGraphs();a.l.info("Subgraphs - ",v);for(let e=v.length-1;e>=0;e--)x=v[e],a.l.info("Subgraph - ",x),s.db.addVertex(x.id,{text:x.title,type:x.labelType},"group",void 0,x.classes,x.dir);const m=s.db.getVertices(),S=s.db.getEdges();a.l.info("Edges",S);let T=0;for(T=v.length-1;T>=0;T--){x=v[T],(0,l.td_)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((e,t)=>{const n=p,r=n(e,"r"),l=n(e,"g"),o=n(e,"b");return b.Z(r,l,o,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/209-c3adcb05.chunk.min.js b/docs/themes/geekdoc/static/js/209-c3adcb05.chunk.min.js new file mode 100644 index 000000000..ec6b95597 --- /dev/null +++ b/docs/themes/geekdoc/static/js/209-c3adcb05.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[209],{3349:function(e,t,n){n.d(t,{a:function(){return l}});var r=n(6225);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.bg(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},6225:function(e,t,n){n.d(t,{$p:function(){return d},O1:function(){return a},WR:function(){return p},bF:function(){return o},bg:function(){return c}});var r=n(7514),l=n(3234);function o(e,t){return!!e.children(t).length}function a(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var i=/:/g;function s(e){return e?String(e).replace(i,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.Z(n)){var o=n.transition;if(l.Z(o))return o(e)}return e}},5209:function(e,t,n){n.d(t,{diagram:function(){return a}});var r=n(4796),l=n(7928),o=n(5103);n(5740),n(5625),n(9451),n(9368),n(7484),n(7967),n(7856);const a={parser:r.p,db:r.f,renderer:l.f,styles:l.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,o.q)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),l.f.setConf(e.flowchart),r.f.clear(),r.f.setGen("gen-2")}}},7928:function(e,t,n){n.d(t,{a:function(){return h},f:function(){return g}});var r=n(5625),l=n(5740),o=n(4796),a=n(5103),i=n(2759),s=n(3349),c=n(5971),d=n(1767),p=(e,t)=>c.Z.lang.round(d.Z.parse(e)[t]),b=n(1117);const u={},f=function(e,t,n,r,l,o){const i=r.select(`[id="${n}"]`);Object.keys(e).forEach((function(n){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,a.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(a.l.info("vertex",r,r.labelType),"markdown"===r.labelType)a.l.info("vertex",r,r.labelType);else if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const e={label:b.replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``))};p=(0,s.a)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(a.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let u=0,f="";switch(r.type){case"round":u=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:b,labelType:r.labelType,rx:u,ry:u,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:o.db.getTooltip(r.id)||"",domId:o.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,a.c)().flowchart.padding}),a.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:b,rx:u,ry:u,class:c,style:d.style,id:r.id,domId:o.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,a.c)().flowchart.padding})}))},w=function(e,t,n){a.l.info("abc78 edges = ",e);let r,o,i=0,s={};if(void 0!==e.defaultStyle){const t=(0,a.k)(e.defaultStyle);r=t.style,o=t.labelStyle}e.forEach((function(n){i++;const c="L-"+n.start+"-"+n.end;void 0===s[c]?(s[c]=0,a.l.info("abc78 new entry",c,s[c])):(s[c]++,a.l.info("abc78 new entry",c,s[c]));let d=c+"-"+s[c];a.l.info("abc78 new link id to be used is",c,d,s[c]);const p="LS-"+n.start,b="LE-"+n.end,f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let w="",g="";switch(n.stroke){case"normal":w="fill:none;",void 0!==r&&(w=r),void 0!==o&&(g=o),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,a.k)(n.style);w=e.style,g=e.labelStyle}f.style=f.style+=w,f.labelStyle=f.labelStyle+=g,void 0!==n.interpolate?f.curve=(0,a.o)(n.interpolate,l.c_6):void 0!==e.defaultInterpolate?f.curve=(0,a.o)(e.defaultInterpolate,l.c_6):f.curve=(0,a.o)(u.curve,l.c_6),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=n.text.replace(a.e.lineBreakRegex,"\n"),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=d,f.classes="flowchart-link "+p+" "+b,t.setEdge(n.start,n.end,f,i)}))},g={setConf:function(e){const t=Object.keys(e);for(const n of t)u[n]=e[n]},addVertices:f,addEdges:w,getClasses:function(e,t){a.l.info("Extracting classes"),t.db.clear();try{return t.parse(e),t.db.getClasses()}catch(e){return}},draw:async function(e,t,n,s){a.l.info("Drawing flowchart"),s.db.clear(),o.f.setGen("gen-2"),s.parser.parse(e);let c=s.db.getDirection();void 0===c&&(c="TD");const{securityLevel:d,flowchart:p}=(0,a.c)(),b=p.nodeSpacing||50,u=p.rankSpacing||50;let g;"sandbox"===d&&(g=(0,l.Ys)("#i"+t));const h="sandbox"===d?(0,l.Ys)(g.nodes()[0].contentDocument.body):(0,l.Ys)("body"),y="sandbox"===d?g.nodes()[0].contentDocument:document,k=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:b,ranksep:u,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let x;const v=s.db.getSubGraphs();a.l.info("Subgraphs - ",v);for(let e=v.length-1;e>=0;e--)x=v[e],a.l.info("Subgraph - ",x),s.db.addVertex(x.id,{text:x.title,type:x.labelType},"group",void 0,x.classes,x.dir);const m=s.db.getVertices(),S=s.db.getEdges();a.l.info("Edges",S);let T=0;for(T=v.length-1;T>=0;T--){x=v[T],(0,l.td_)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((e,t)=>{const n=p,r=n(e,"r"),l=n(e,"g"),o=n(e,"b");return b.Z(r,l,o,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/246-0f95be8b.chunk.min.js b/docs/themes/geekdoc/static/js/246-0f95be8b.chunk.min.js new file mode 100644 index 000000000..c9a9f59c0 --- /dev/null +++ b/docs/themes/geekdoc/static/js/246-0f95be8b.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[246],{1246:function(t,e,n){n.d(e,{diagram:function(){return A}});var i=n(5103),r=n(5740),s=n(8770),a=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,24,26],r=[1,15],s=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,20],h=[1,24],u=[4,6,9,11,17,18,20,22,23,24,26],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,s,a){var o=s.length-1;switch(r){case 1:return s[o-1];case 3:case 7:case 8:this.$=[];break;case 4:s[o-1].push(s[o]),this.$=s[o-1];break;case 5:case 6:this.$=s[o];break;case 11:i.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 12:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 16:i.addTask(s[o-1],s[o]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(s[o],"type_directive");break;case 20:s[o]=s[o].trim().replace(/'/g,'"'),i.parseDirective(s[o],"arg_directive");break;case 21:i.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,26:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,26:n},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:s,20:a,22:o,23:c,24:l,26:n},{1:[2,2]},{14:22,15:[1,23],29:h},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:r,18:s,20:a,22:o,23:c,24:l,26:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,26]},{21:[1,27]},t(i,[2,14]),t(i,[2,15]),{25:[1,28]},t(i,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(i,[2,16]),t(u,[2,9]),{14:32,29:h},{29:[2,20]},{11:[1,33]},t(u,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],s=this.table,a="",o=0,c=0,l=r.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;r.push(p);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,x,m,k,_,b,v,$,w={};;){if(g=e[e.length-1],this.defaultActions[g]?x=this.defaultActions[g]:(null==f&&($=void 0,"number"!=typeof($=n.pop()||h.lex()||1)&&($ instanceof Array&&($=(n=$).pop()),$=this.symbols_[$]||$),f=$),x=s[g]&&s[g][f]),void 0===x||!x.length||!x[0]){var M;for(k in v=[],s[g])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");M=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:v})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(x[0]){case 1:e.push(f),i.push(h.yytext),r.push(h.yylloc),e.push(x[1]),f=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(_=this.productions_[x[1]][1],w.$=i[i.length-_],w._$={first_line:r[r.length-(_||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(_||1)].first_column,last_column:r[r.length-1].last_column},d&&(w._$.range=[r[r.length-(_||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[a,c,o,u.yy,x[1],i,r].concat(l))))return m;_&&(e=e.slice(0,-1*_*2),i=i.slice(0,-1*_),r=r.slice(0,-1*_)),e.push(this.productions_[x[1]][0]),i.push(w.$),r.push(w._$),b=s[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},p={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};function d(){this.yy={}}return y.lexer=p,d.prototype=y,y.Parser=d,new d}());a.parser=a;const o=a;let c="";const l=[],h=[],u=[],y=function(){let t=!0;for(const[e,n]of u.entries())u[e].processed,t=t&&n.processed;return t},p={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().journey,clear:function(){l.length=0,h.length=0,c="",u.length=0,(0,i.v)()},setDiagramTitle:i.r,getDiagramTitle:i.t,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){c=t,l.push(t)},getSections:function(){return l},getTasks:function(){let t=y(),e=0;for(;!t&&e<100;)t=y(),e++;return h.push(...u),h},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,r=[];1===n.length?(i=Number(n[0]),r=[]):(i=Number(n[0]),r=n[1].split(","));const s=r.map((t=>t.trim())),a={section:c,type:c,people:s,task:t,score:i};u.push(a)},addTaskOrg:function(t){const e={section:c,type:c,description:t,task:t,classes:[]};h.push(e)},getActors:function(){return function(){const t=[];return h.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},d=function(t,e){return(0,s.d)(t,e)},f=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n};let g=-1;const x=function(){function t(t,e,n,r,s,a,o,c){i(e.append("text").attr("x",n+s/2).attr("y",r+a/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,r,s,a,o,c,l){const{taskFontSize:h,taskFontFamily:u}=c,y=t.split(//gi);for(let t=0;t3?function(t){const n=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){const n=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):n.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(a,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=(0,s.g)();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=n.width,o.height=n.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,d(a,o);let c=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:c,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};f(a,i),c+=10})),x(n)(e.task,a,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour)},v={},$=(0,i.c)().journey,w=$.leftMargin,M={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,r){const s=(0,i.c)().journey,a=this;let o=0;this.sequenceItems.forEach((function(i){o++;const c=a.sequenceItems.length-o+1;a.updateVal(i,"starty",e-c*s.boxMargin,Math.min),a.updateVal(i,"stopy",r+c*s.boxMargin,Math.max),a.updateVal(M.data,"startx",t-c*s.boxMargin,Math.min),a.updateVal(M.data,"stopx",n+c*s.boxMargin,Math.max),a.updateVal(i,"startx",t-c*s.boxMargin,Math.min),a.updateVal(i,"stopx",n+c*s.boxMargin,Math.max),a.updateVal(M.data,"starty",e-c*s.boxMargin,Math.min),a.updateVal(M.data,"stopy",r+c*s.boxMargin,Math.max)}))},insert:function(t,e,n,i){const r=Math.min(t,n),s=Math.max(t,n),a=Math.min(e,i),o=Math.max(e,i);this.updateVal(M.data,"startx",r,Math.min),this.updateVal(M.data,"starty",a,Math.min),this.updateVal(M.data,"stopx",s,Math.max),this.updateVal(M.data,"stopy",o,Math.max),this.updateBounds(r,a,s,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},E=$.sectionFills,S=$.sectionColours,T={setConf:function(t){Object.keys(t).forEach((function(e){$[e]=t[e]}))},draw:function(t,e,n,s){const a=(0,i.c)().journey;s.db.clear(),s.parser.parse(t+"\n");const o=(0,i.c)().securityLevel;let c;"sandbox"===o&&(c=(0,r.Ys)("#i"+e));const l="sandbox"===o?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body");M.init();const h=l.select("#"+e);h.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const u=s.db.getTasks(),y=s.db.getDiagramTitle(),p=s.db.getActors();for(const t in v)delete v[t];let d=0;p.forEach((t=>{v[t]={color:a.actorColours[d%a.actorColours.length],position:d},d++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(v).forEach((i=>{const r=v[i].color,s={cx:20,cy:n,r:7,fill:r,stroke:"#000",pos:v[i].position};m(t,s);const a={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};_(t,a),n+=20}))}(h),M.insert(0,0,w,50*Object.keys(v).length),function(t,e,n){const r=(0,i.c)().journey;let s="";const a=n+(2*r.height+r.diagramMarginY);let o=0,c="#CCC",l="black",h=0;for(const[n,i]of e.entries()){if(s!==i.section){c=E[o%E.length],h=o%E.length,l=S[o%S.length];let a=0;const u=i.section;for(let t=n;t(v[e]&&(t[e]=v[e]),t)),{});i.x=n*r.taskMargin+n*r.width+w,i.y=a,i.width=r.diagramMarginX,i.height=r.diagramMarginY,i.colour=l,i.fill=c,i.num=h,i.actors=u,b(t,i,r),M.insert(i.x,i.y,i.x+i.width+r.taskMargin,450)}}(h,u,0);const f=M.getBounds();y&&h.append("text").text(y).attr("x",w).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=f.stopy-f.starty+2*a.diagramMarginY,x=w+f.stopx+2*a.diagramMarginX;(0,i.i)(h,g,x,a.useMaxWidth),h.append("line").attr("x1",w).attr("y1",4*a.height).attr("x2",x-w-4).attr("y2",4*a.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const $=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+$}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+$+25)}},A={parser:o,db:p,renderer:T,styles:t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,init:t=>{T.setConf(t.journey),p.clear()}}},8770:function(t,e,n){n.d(e,{a:function(){return s},b:function(){return c},c:function(){return o},d:function(){return r},e:function(){return h},f:function(){return a},g:function(){return l}});var i=n(7967);const r=function(t,e){const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return"undefined"!==e.class&&n.attr("class",e.class),n},s=function(t,e){r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},a=function(t,e){const n=e.text.replace(//gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},o=function(t,e,n,r){const s=t.append("image");s.attr("x",e),s.attr("y",n);var a=(0,i.N)(r);s.attr("xlink:href",a)},c=function(t,e,n,r){const s=t.append("use");s.attr("x",e),s.attr("y",n);const a=(0,i.N)(r);s.attr("xlink:href","#"+a)},l=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},h=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/264-68fcc9b2.chunk.min.js b/docs/themes/geekdoc/static/js/264-68fcc9b2.chunk.min.js new file mode 100644 index 000000000..dca94362c --- /dev/null +++ b/docs/themes/geekdoc/static/js/264-68fcc9b2.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[264],{8264:function(t,e,r){r.d(e,{a:function(){return d},b:function(){return M},c:function(){return o},d:function(){return C},e:function(){return v},f:function(){return P},g:function(){return _},h:function(){return Y},i:function(){return u},l:function(){return c},p:function(){return T},s:function(){return S},u:function(){return h}});var a=r(5103),n=r(5740),i=r(6105),s=r(8237);const l={extension:(t,e,r)=>{a.l.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e)=>{t.append("marker").attr("id",e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e)=>{t.append("marker").attr("id",e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},d=(t,e,r,a)=>{e.forEach((e=>{l[e](t,r,a)}))},o=(t,e,r,i)=>{let s=t||"";if("object"==typeof s&&(s=s[0]),(0,a.n)((0,a.c)().flowchart.htmlLabels)){return s=s.replace(/\\n|\n/g,"
    "),a.l.info("vertexText"+s),function(t){const e=(0,n.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),a=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var s;return r.html('"+a+""),(s=t.labelStyle)&&r.attr("style",s),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:i,label:(0,a.H)(s).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let a=[];a="string"==typeof s?s.split(/\\n|\n|/gi):Array.isArray(s)?s:[];for(const e of a){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},c=async(t,e,r,s)=>{let l;const d=e.useHtmlLabels||(0,a.n)((0,a.c)().flowchart.htmlLabels);l=r||"node default";const c=t.insert("g").attr("class",l).attr("id",e.domId||e.id),h=c.insert("g").attr("class","label").attr("style",e.labelStyle);let p;p=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const g=h.node();let y;y="markdown"===e.labelType?(0,i.c)(h,(0,a.d)((0,a.H)(p),(0,a.c)()),{useHtmlLabels:d,width:e.width||(0,a.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):g.appendChild(o((0,a.d)((0,a.H)(p),(0,a.c)()),e.labelStyle,!1,s));let f=y.getBBox();const u=e.padding/2;if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=y.children[0],e=(0,n.Ys)(y),r=t.getElementsByTagName("img");if(r){const t=""===p.replace(/]*>/g,"").trim();await Promise.all([...r].map((e=>new Promise((r=>e.addEventListener("load",(function(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,a.c)().fontSize?(0,a.c)().fontSize:window.getComputedStyle(document.body).fontSize,r=5;e.style.width=parseInt(t,10)*r+"px"}else e.style.width="100%";r(e)})))))))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return d?h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):h.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:u,label:h}},h=(t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height};function p(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}function g(t,e,r,a){var n=t.x,i=t.y,s=n-a.x,l=i-a.y,d=Math.sqrt(e*e*l*l+r*r*s*s),o=Math.abs(e*r*s/d);a.x0}const u=(t,e)=>{var r,a,n=t.x,i=t.y,s=e.x-n,l=e.y-i,d=t.width/2,o=t.height/2;return Math.abs(l)*d>Math.abs(s)*o?(l<0&&(o=-o),r=0===l?0:o*s/l,a=o):(s<0&&(d=-d),r=d,a=0===s?0:d*l/s),{x:n+r,y:i+a}},x={node:function(t,e){return t.intersect(e)},circle:function(t,e,r){return g(t,e,e,r)},ellipse:g,polygon:function(t,e,r){var a=t.x,n=t.y,i=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)})):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var d=a-t.width/2-s,o=n-t.height/2-l,c=0;c1&&i.sort((function(t,e){var a=t.x-r.x,n=t.y-r.y,i=Math.sqrt(a*a+n*n),s=e.x-r.x,l=e.y-r.y,d=Math.sqrt(s*s+l*l);return i{const{shapeSvg:r,bbox:n}=await c(t,e,void 0,!0),i=n.width+e.padding+(n.height+e.padding),s=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];a.l.info("Question main (Circle)");const l=p(r,i,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return a.l.warn("Intersect called"),x.polygon(e,s,t)},r};function w(t,e,r,n){const i=[],s=t=>{i.push(t,0)},l=t=>{i.push(0,t)};e.includes("t")?(a.l.debug("add top border"),s(r)):l(r),e.includes("r")?(a.l.debug("add right border"),s(n)):l(n),e.includes("b")?(a.l.debug("add bottom border"),s(r)):l(r),e.includes("l")?(a.l.debug("add left border"),s(n)):l(n),t.attr("stroke-dasharray",i.join(" "))}const m=(t,e,r)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,i=10;"LR"===r&&(n=10,i=70);const s=a.append("rect").attr("x",-1*n/2).attr("y",-1*i/2).attr("width",n).attr("height",i).attr("class","fork-join");return h(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return x.rect(e,t)},a},k={rhombus:b,question:b,rect:async(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=await c(t,e,"node "+e.classes,!0),s=r.insert("rect",":first-child"),l=n.width+e.padding,d=n.height+e.padding;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",l).attr("height",d),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(w(s,e.props.borders,l,d),t.delete("borders")),t.forEach((t=>{a.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return x.rect(e,t)},r},labelRect:async(t,e)=>{const{shapeSvg:r}=await c(t,e,"label",!0);a.l.trace("Classes = ",e.classes);const n=r.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(w(n,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{a.l.warn(`Unknown node property ${t}`)}))}return h(e,n),e.intersect=function(t){return x.rect(e,t)},r},rectWithTitle:(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),d=i.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText;let p="";p="object"==typeof c?c[0]:c,a.l.info("Label text abc79",p,c,"object"==typeof c);const g=d.node().appendChild(o(p,e.labelStyle,!0,!0));let y={width:0,height:0};if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,n.Ys)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}a.l.info("Text 2",c);const f=c.slice(1,c.length);let u=g.getBBox();const b=d.node().appendChild(o(f.join?f.join("
    "):f,e.labelStyle,!0,!0));if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=b.children[0],e=(0,n.Ys)(b);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}const w=e.padding/2;return(0,n.Ys)(b).attr("transform","translate( "+(y.width>u.width?0:(u.width-y.width)/2)+", "+(u.height+w+5)+")"),(0,n.Ys)(g).attr("transform","translate( "+(y.width{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return x.circle(e,14,t)},r},circle:async(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=await c(t,e,void 0,!0),s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),a.l.info("Circle main"),h(e,s),e.intersect=function(t){return a.l.info("Circle intersect",e,n.width/2+i,t),x.circle(e,n.width/2+i,t)},r},doublecircle:async(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=await c(t,e,void 0,!0),s=r.insert("g",":first-child"),l=s.insert("circle"),d=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+5).attr("width",n.width+e.padding+10).attr("height",n.height+e.padding+10),d.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),a.l.info("DoubleCircle main"),h(e,l),e.intersect=function(t){return a.l.info("DoubleCircle intersect",e,n.width/2+i+5,t),x.circle(e,n.width/2+i+5,t)},r},stadium:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.height+e.padding,i=a.width+n/4+e.padding,s=r.insert("rect",":first-child").attr("style",e.style).attr("rx",n/2).attr("ry",n/2).attr("x",-i/2).attr("y",-n/2).attr("width",i).attr("height",n);return h(e,s),e.intersect=function(t){return x.rect(e,t)},r},hexagon:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.height+e.padding,i=n/4,s=a.width+2*i+e.padding,l=[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],d=p(r,s,n,l);return d.attr("style",e.style),h(e,d),e.intersect=function(t){return x.polygon(e,l,t)},r},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:-i/2,y:0},{x:n,y:0},{x:n,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}];return p(r,n,i,s).attr("style",e.style),e.width=n+i,e.height=i,e.intersect=function(t){return x.polygon(e,s,t)},r},lean_right:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:-2*i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:i/6,y:-i}],l=p(r,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return x.polygon(e,s,t)},r},lean_left:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:2*i/6,y:0},{x:n+i/6,y:0},{x:n-2*i/6,y:-i},{x:-i/6,y:-i}],l=p(r,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return x.polygon(e,s,t)},r},trapezoid:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:-2*i/6,y:0},{x:n+2*i/6,y:0},{x:n-i/6,y:-i},{x:i/6,y:-i}],l=p(r,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return x.polygon(e,s,t)},r},inv_trapezoid:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:-2*i/6,y:-i}],l=p(r,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return x.polygon(e,s,t)},r},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:0,y:0},{x:n+i/2,y:0},{x:n,y:-i/2},{x:n+i/2,y:-i},{x:0,y:-i}],l=p(r,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return x.polygon(e,s,t)},r},cylinder:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=n/2,s=i/(2.5+n/50),l=a.height+s+e.padding,d="M 0,"+s+" a "+i+","+s+" 0,0,0 "+n+" 0 a "+i+","+s+" 0,0,0 "+-n+" 0 l 0,"+l+" a "+i+","+s+" 0,0,0 "+n+" 0 l 0,"+-l,o=r.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",d).attr("transform","translate("+-n/2+","+-(l/2+s)+")");return h(e,o),e.intersect=function(t){const r=x.rect(e,t),a=r.x-e.x;if(0!=i&&(Math.abs(a)e.height/2-s)){let n=s*s*(1-a*a/(i*i));0!=n&&(n=Math.sqrt(n)),n=s-n,t.y-e.y>0&&(n=-n),r.y+=n}return r},r},start:(t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,a),e.intersect=function(t){return x.circle(e,7,t)},r},end:(t,e)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,n),e.intersect=function(t){return x.circle(e,7,t)},r},note:async(t,e)=>{e.useHtmlLabels||(0,a.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:r,bbox:n,halfPadding:i}=await c(t,e,"node "+e.classes,!0);a.l.info("Classes = ",e.classes);const s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),h(e,s),e.intersect=function(t){return x.rect(e,t)},r},subroutine:async(t,e)=>{const{shapeSvg:r,bbox:a}=await c(t,e,void 0,!0),n=a.width+e.padding,i=a.height+e.padding,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],l=p(r,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return x.polygon(e,s,t)},r},fork:m,join:m,class_box:(t,e)=>{const r=e.padding/2;let i;i=e.classes?"node "+e.classes:"node default";const l=t.insert("g").attr("class",i).attr("id",e.domId||e.id),d=l.insert("rect",":first-child"),c=l.insert("line"),p=l.insert("line");let g=0,y=4;const f=l.insert("g").attr("class","label");let u=0;const b=e.classData.annotations&&e.classData.annotations[0],w=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",m=f.node().appendChild(o(w,e.labelStyle,!0,!0));let k=m.getBBox();if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=m.children[0],e=(0,n.Ys)(m);k=t.getBoundingClientRect(),e.attr("width",k.width),e.attr("height",k.height)}e.classData.annotations[0]&&(y+=k.height+4,g+=k.width);let L=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,a.c)().flowchart.htmlLabels?L+="<"+e.classData.type+">":L+="<"+e.classData.type+">");const v=f.node().appendChild(o(L,e.labelStyle,!0,!0));(0,n.Ys)(v).attr("class","classTitle");let S=v.getBBox();if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,n.Ys)(v);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}y+=S.height+4,S.width>g&&(g=S.width);const M=[];e.classData.members.forEach((t=>{const r=(0,s.p)(t);let i=r.displayText;(0,a.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const l=f.node().appendChild(o(i,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let d=l.getBBox();if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=l.children[0],e=(0,n.Ys)(l);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}d.width>g&&(g=d.width),y+=d.height+4,M.push(l)})),y+=8;const T=[];if(e.classData.methods.forEach((t=>{const r=(0,s.p)(t);let i=r.displayText;(0,a.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const l=f.node().appendChild(o(i,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0));let d=l.getBBox();if((0,a.n)((0,a.c)().flowchart.htmlLabels)){const t=l.children[0],e=(0,n.Ys)(l);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}d.width>g&&(g=d.width),y+=d.height+4,T.push(l)})),y+=8,b){let t=(g-k.width)/2;(0,n.Ys)(m).attr("transform","translate( "+(-1*g/2+t)+", "+-1*y/2+")"),u=k.height+4}let B=(g-S.width)/2;return(0,n.Ys)(v).attr("transform","translate( "+(-1*g/2+B)+", "+(-1*y/2+u)+")"),u+=S.height+4,c.attr("class","divider").attr("x1",-g/2-r).attr("x2",g/2+r).attr("y1",-y/2-r+8+u).attr("y2",-y/2-r+8+u),u+=8,M.forEach((t=>{(0,n.Ys)(t).attr("transform","translate( "+-g/2+", "+(-1*y/2+u+4)+")"),u+=S.height+4})),u+=8,p.attr("class","divider").attr("x1",-g/2-r).attr("x2",g/2+r).attr("y1",-y/2-r+8+u).attr("y2",-y/2-r+8+u),u+=8,T.forEach((t=>{(0,n.Ys)(t).attr("transform","translate( "+-g/2+", "+(-1*y/2+u)+")"),u+=S.height+4})),d.attr("class","outer title-state").attr("x",-g/2-r).attr("y",-y/2-r).attr("width",g+e.padding).attr("height",y+e.padding),h(e,d),e.intersect=function(t){return x.rect(e,t)},l}};let L={};const v=async(t,e,r)=>{let n,i;if(e.link){let s;"sandbox"===(0,a.c)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await k[e.shape](n,e,r)}else i=await k[e.shape](t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),L[e.id]=n,e.haveCallback&&L[e.id].attr("class",L[e.id].attr("class")+" clickable"),n},S=(t,e)=>{L[e.id]=t},M=()=>{L={}},T=t=>{const e=L[t.id];a.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r};let B={},E={};const C=()=>{B={},E={}},P=(t,e)=>{const r=(0,a.n)((0,a.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,i.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:r,addSvgBackground:!0}):o(e.label,e.labelStyle);a.l.info("abc82",e,e.labelType);const l=t.insert("g").attr("class","edgeLabel"),d=l.insert("g").attr("class","label");d.node().appendChild(s);let c,h=s.getBBox();if(r){const t=s.children[0],e=(0,n.Ys)(s);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}if(d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),B[e.id]=l,e.width=h.width,e.height=h.height,e.startLabelLeft){const r=o(e.startLabelLeft,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),E[e.id]||(E[e.id]={}),E[e.id].startLeft=a,N(c,e.startLabelLeft)}if(e.startLabelRight){const r=o(e.startLabelRight,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=a.node().appendChild(r),n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),E[e.id]||(E[e.id]={}),E[e.id].startRight=a,N(c,e.startLabelRight)}if(e.endLabelLeft){const r=o(e.endLabelLeft,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),a.node().appendChild(r),E[e.id]||(E[e.id]={}),E[e.id].endLeft=a,N(c,e.endLabelLeft)}if(e.endLabelRight){const r=o(e.endLabelRight,e.labelStyle),a=t.insert("g").attr("class","edgeTerminals"),n=a.insert("g").attr("class","inner");c=n.node().appendChild(r);const i=r.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),a.node().appendChild(r),E[e.id]||(E[e.id]={}),E[e.id].endRight=a,N(c,e.endLabelRight)}return s};function N(t,e){(0,a.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const Y=(t,e)=>{a.l.info("Moving label abc78 ",t.id,t.label,B[t.id]);let r=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const n=B[t.id];let i=t.x,s=t.y;if(r){const n=a.u.calcLabelPosition(r);a.l.info("Moving label "+t.label+" from (",i,",",s,") to (",n.x,",",n.y,") abc78"),e.updatedPath&&(i=n.x,s=n.y)}n.attr("transform","translate("+i+", "+s+")")}if(t.startLabelLeft){const e=E[t.id].startLeft;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.startLabelRight){const e=E[t.id].startRight;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.endLabelLeft){const e=E[t.id].endLeft;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}if(t.endLabelRight){const e=E[t.id].endRight;let n=t.x,i=t.y;if(r){const e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);n=e.x,i=e.y}e.attr("transform","translate("+n+", "+i+")")}},H=(t,e)=>{a.l.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach((t=>{if(a.l.info("abc88 checking point",t,e),((t,e)=>{const r=t.x,a=t.y,n=Math.abs(e.x-r),i=Math.abs(e.y-a),s=t.width/2,l=t.height/2;return n>=s||i>=l})(e,t)||i)a.l.warn("abc88 outside",t,n),n=t,i||r.push(t);else{const s=((t,e,r)=>{a.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,s=Math.abs(n-r.x),l=t.width/2;let d=r.xMath.abs(n-e.x)*o){let t=r.y{l=l||t.x===s.x&&t.y===s.y})),r.some((t=>t.x===s.x&&t.y===s.y))?a.l.warn("abc88 no intersect",s,r):r.push(s),i=!0}})),a.l.warn("abc88 returning points",r),r},_=function(t,e,r,i,s,l){let d=r.points,o=!1;const c=l.node(e.v);var h=l.node(e.w);a.l.info("abc88 InsertEdge: ",r),h.intersect&&c.intersect&&(d=d.slice(1,r.points.length-1),d.unshift(c.intersect(d[0])),a.l.info("Last point",d[d.length-1],h,h.intersect(d[d.length-1])),d.push(h.intersect(d[d.length-1]))),r.toCluster&&(a.l.info("to cluster abc88",i[r.toCluster]),d=H(r.points,i[r.toCluster].node),o=!0),r.fromCluster&&(a.l.info("from cluster abc88",i[r.fromCluster]),d=H(d.reverse(),i[r.fromCluster].node).reverse(),o=!0);const p=d.filter((t=>!Number.isNaN(t.y)));let g;g=("graph"===s||"flowchart"===s)&&r.curve||n.$0Z;const y=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(g);let f;switch(r.thickness){case"normal":f="edge-thickness-normal";break;case"thick":case"invisible":f="edge-thickness-thick";break;default:f=""}switch(r.pattern){case"solid":f+=" edge-pattern-solid";break;case"dotted":f+=" edge-pattern-dotted";break;case"dashed":f+=" edge-pattern-dashed"}const u=t.append("path").attr("d",y(p)).attr("id",r.id).attr("class"," "+f+(r.classes?" "+r.classes:"")).attr("style",r.style);let x="";switch(((0,a.c)().flowchart.arrowMarkerAbsolute||(0,a.c)().state.arrowMarkerAbsolute)&&(x=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,x=x.replace(/\(/g,"\\("),x=x.replace(/\)/g,"\\)")),a.l.info("arrowTypeStart",r.arrowTypeStart),a.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":u.attr("marker-start","url("+x+"#"+s+"-crossStart)");break;case"arrow_point":u.attr("marker-start","url("+x+"#"+s+"-pointStart)");break;case"arrow_barb":u.attr("marker-start","url("+x+"#"+s+"-barbStart)");break;case"arrow_circle":u.attr("marker-start","url("+x+"#"+s+"-circleStart)");break;case"aggregation":u.attr("marker-start","url("+x+"#"+s+"-aggregationStart)");break;case"extension":u.attr("marker-start","url("+x+"#"+s+"-extensionStart)");break;case"composition":u.attr("marker-start","url("+x+"#"+s+"-compositionStart)");break;case"dependency":u.attr("marker-start","url("+x+"#"+s+"-dependencyStart)");break;case"lollipop":u.attr("marker-start","url("+x+"#"+s+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":u.attr("marker-end","url("+x+"#"+s+"-crossEnd)");break;case"arrow_point":u.attr("marker-end","url("+x+"#"+s+"-pointEnd)");break;case"arrow_barb":u.attr("marker-end","url("+x+"#"+s+"-barbEnd)");break;case"arrow_circle":u.attr("marker-end","url("+x+"#"+s+"-circleEnd)");break;case"aggregation":u.attr("marker-end","url("+x+"#"+s+"-aggregationEnd)");break;case"extension":u.attr("marker-end","url("+x+"#"+s+"-extensionEnd)");break;case"composition":u.attr("marker-end","url("+x+"#"+s+"-compositionEnd)");break;case"dependency":u.attr("marker-end","url("+x+"#"+s+"-dependencyEnd)");break;case"lollipop":u.attr("marker-end","url("+x+"#"+s+"-lollipopEnd)")}let b={};return o&&(b.updatedPath=d),b.originalPath=r.points,b}},8237:function(t,e,r){r.d(e,{p:function(){return l},s:function(){return c}});var a=r(5740),n=r(5103);let i=0;const s=function(t){let e=t.id;return t.type&&(e+="<"+t.type+">"),e},l=function(t){let e="",r="",a="",i="",s=t.substring(0,1),l=t.substring(t.length-1,t.length);s.match(/[#+~-]/)&&(i=s);let d=/[\s\w)~]/;l.match(d)||(r=o(l));const c=""===i?0:1;let h=""===r?t.length:t.length-1;const p=(t=t.substring(c,h)).indexOf("("),g=t.indexOf(")");if(p>1&&g>p&&g<=t.length){let s=t.substring(0,p).trim();const l=t.substring(p+1,g);if(e=i+s+"("+(0,n.x)(l.trim())+")",g0&&(k+=e.cssClasses.join(" "));const L=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*r.padding).attr("height",m.height+r.padding+.5*r.dividerMargin).attr("class",k).node().getBBox().width;return c.node().childNodes.forEach((function(t){t.setAttribute("x",(L-t.getBBox().width)/2)})),e.tooltip&&c.insert("title").text(e.tooltip),f.attr("x2",L),b.attr("x2",L),l.width=L,l.height=m.height+r.padding+.5*r.dividerMargin,l},drawEdge:function(t,e,r,s,l){const d=function(t){switch(t){case l.db.relationType.AGGREGATION:return"aggregation";case l.db.relationType.EXTENSION:return"extension";case l.db.relationType.COMPOSITION:return"composition";case l.db.relationType.DEPENDENCY:return"dependency";case l.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const o=e.points,c=(0,a.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.$0Z),h=t.append("path").attr("d",c(o)).attr("id","edge"+i).attr("class","relation");let p,g,y="";s.arrowMarkerAbsolute&&(y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,y=y.replace(/\(/g,"\\("),y=y.replace(/\)/g,"\\)")),1==r.relation.lineType&&h.attr("class","relation dashed-line"),10==r.relation.lineType&&h.attr("class","relation dotted-line"),"none"!==r.relation.type1&&h.attr("marker-start","url("+y+"#"+d(r.relation.type1)+"Start)"),"none"!==r.relation.type2&&h.attr("marker-end","url("+y+"#"+d(r.relation.type2)+"End)");const f=e.points.length;let u,x,b,w,m=n.u.calcLabelPosition(e.points);if(p=m.x,g=m.y,f%2!=0&&f>1){let t=n.u.calcCardinalityPosition("none"!==r.relation.type1,e.points,e.points[0]),a=n.u.calcCardinalityPosition("none"!==r.relation.type2,e.points,e.points[f-1]);n.l.debug("cardinality_1_point "+JSON.stringify(t)),n.l.debug("cardinality_2_point "+JSON.stringify(a)),u=t.x,x=t.y,b=a.x,w=a.y}if(void 0!==r.title){const e=t.append("g").attr("class","classLabel"),a=e.append("text").attr("class","label").attr("x",p).attr("y",g).attr("fill","red").attr("text-anchor","middle").text(r.title);window.label=a;const n=a.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-s.padding/2).attr("y",n.y-s.padding/2).attr("width",n.width+s.padding).attr("height",n.height+s.padding)}n.l.info("Rendering relation "+JSON.stringify(r)),void 0!==r.relationTitle1&&"none"!==r.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",x).attr("fill","black").attr("font-size","6").text(r.relationTitle1),void 0!==r.relationTitle2&&"none"!==r.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",b).attr("y",w).attr("fill","black").attr("font-size","6").text(r.relationTitle2),i++},drawNote:function(t,e,r,a){n.l.debug("Rendering note ",e,r);const i=e.id,s={id:i,text:e.text,width:0,height:0},l=t.append("g").attr("id",i).attr("class","classGroup");let d=l.append("text").attr("y",r.textHeight+r.padding).attr("x",0);const o=JSON.parse(`"${e.text}"`).split("\n");o.forEach((function(t){n.l.debug(`Adding line: ${t}`),d.append("tspan").text(t).attr("class","title").attr("dy",r.textHeight)}));const c=l.node().getBBox(),h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",c.width+2*r.padding).attr("height",c.height+o.length*r.textHeight+r.padding+.5*r.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2)})),s.width=h,s.height=c.height+o.length*r.textHeight+r.padding+.5*r.dividerMargin,s},parseMember:l}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/311-5bd6ac4e.chunk.min.js b/docs/themes/geekdoc/static/js/311-5bd6ac4e.chunk.min.js new file mode 100644 index 000000000..5511750b5 --- /dev/null +++ b/docs/themes/geekdoc/static/js/311-5bd6ac4e.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[311],{3311:function(t,i,e){e.d(i,{diagram:function(){return d}});var a=e(5103),n=e(5740),r=(e(7484),e(7967),e(7856),function(){var t=function(t,i,e,a){for(e=e||{},a=t.length;a--;e[t[a]]=i);return e},i=[1,3],e=[1,5],a=[1,6],n=[1,7],r=[1,8],s=[1,10],l=[1,5,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],o=[1,5,7,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],h=[38,39,40],c=[2,8],d=[1,19],u=[1,23],x=[1,24],g=[1,25],f=[1,26],y=[1,27],p=[1,29],q=[1,30],T=[1,31],_=[1,32],m=[1,33],A=[1,34],b=[1,37],S=[1,38],k=[1,39],v=[1,40],F=[1,41],P=[1,42],D=[1,43],C=[1,44],L=[1,45],z=[1,46],E=[1,47],I=[1,48],B=[1,49],w=[1,52],R=[1,67],W=[1,68],N=[5,23,27,38,39,40,50,51,52,53,54,55,56,57,58,59,60,61],U=[5,7,38,39,40,41],Q={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,directive:6,QUADRANT:7,document:8,line:9,statement:10,axisDetails:11,quadrantDetails:12,points:13,title:14,title_value:15,acc_title:16,acc_title_value:17,acc_descr:18,acc_descr_value:19,acc_descr_multiline_value:20,section:21,text:22,point_start:23,point_x:24,point_y:25,"X-AXIS":26,"AXIS-TEXT-DELIMITER":27,"Y-AXIS":28,QUADRANT_1:29,QUADRANT_2:30,QUADRANT_3:31,QUADRANT_4:32,openDirective:33,typeDirective:34,closeDirective:35,":":36,argDirective:37,NEWLINE:38,SEMI:39,EOF:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,alphaNumToken:45,textNoTagsToken:46,STR:47,MD_STR:48,alphaNum:49,PUNCTUATION:50,AMP:51,NUM:52,ALPHA:53,COMMA:54,PLUS:55,EQUALS:56,MULT:57,DOT:58,BRKT:59,UNDERSCORE:60,MINUS:61,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",7:"QUADRANT",14:"title",15:"title_value",16:"acc_title",17:"acc_title_value",18:"acc_descr",19:"acc_descr_value",20:"acc_descr_multiline_value",21:"section",23:"point_start",24:"point_x",25:"point_y",26:"X-AXIS",27:"AXIS-TEXT-DELIMITER",28:"Y-AXIS",29:"QUADRANT_1",30:"QUADRANT_2",31:"QUADRANT_3",32:"QUADRANT_4",36:":",38:"NEWLINE",39:"SEMI",40:"EOF",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive",47:"STR",48:"MD_STR",50:"PUNCTUATION",51:"AMP",52:"NUM",53:"ALPHA",54:"COMMA",55:"PLUS",56:"EQUALS",57:"MULT",58:"DOT",59:"BRKT",60:"UNDERSCORE",61:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[10,0],[10,2],[10,1],[10,1],[10,1],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[13,4],[11,4],[11,3],[11,2],[11,4],[11,3],[11,2],[12,2],[12,2],[12,2],[12,2],[6,3],[6,5],[4,1],[4,1],[4,1],[33,1],[34,1],[37,1],[35,1],[22,1],[22,2],[22,1],[22,1],[49,1],[49,2],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[46,1],[46,1],[46,1]],performAction:function(t,i,e,a,n,r,s){var l=r.length-1;switch(n){case 13:this.$=r[l].trim(),a.setDiagramTitle(this.$);break;case 14:this.$=r[l].trim(),a.setAccTitle(this.$);break;case 15:case 16:this.$=r[l].trim(),a.setAccDescription(this.$);break;case 17:a.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 19:a.addPoint(r[l-3],r[l-1],r[l]);break;case 20:a.setXAxisLeftText(r[l-2]),a.setXAxisRightText(r[l]);break;case 21:r[l-1].text+=" ⟶ ",a.setXAxisLeftText(r[l-1]);break;case 22:a.setXAxisLeftText(r[l]);break;case 23:a.setYAxisBottomText(r[l-2]),a.setYAxisTopText(r[l]);break;case 24:r[l-1].text+=" ⟶ ",a.setYAxisBottomText(r[l-1]);break;case 25:a.setYAxisBottomText(r[l]);break;case 26:a.setQuadrant1Text(r[l]);break;case 27:a.setQuadrant2Text(r[l]);break;case 28:a.setQuadrant3Text(r[l]);break;case 29:a.setQuadrant4Text(r[l]);break;case 35:a.parseDirective("%%{","open_directive");break;case 36:a.parseDirective(r[l],"type_directive");break;case 37:r[l]=r[l].trim().replace(/'/g,'"'),a.parseDirective(r[l],"arg_directive");break;case 38:a.parseDirective("}%%","close_directive","quadrantChart");break;case 39:case 41:this.$={text:r[l],type:"text"};break;case 40:this.$={text:r[l-1].text+""+r[l],type:r[l-1].type};break;case 42:this.$={text:r[l],type:"markdown"};break;case 43:this.$=r[l];break;case 44:this.$=r[l-1]+""+r[l]}},table:[{3:1,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},{1:[3]},{3:11,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},{3:12,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},{3:13,4:2,5:i,6:4,7:e,33:9,38:a,39:n,40:r,41:s},t(l,[2,5],{8:14}),t(o,[2,32]),t(o,[2,33]),t(o,[2,34]),{34:15,42:[1,16]},{42:[2,35]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(h,c,{33:9,9:17,10:18,11:20,12:21,13:22,6:28,22:35,45:36,1:[2,4],5:d,14:u,16:x,18:g,20:f,21:y,26:p,28:q,29:T,30:_,31:m,32:A,41:s,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B}),{35:50,36:[1,51],44:w},t([36,44],[2,36]),t(l,[2,6]),{4:53,38:a,39:n,40:r},t(h,c,{33:9,11:20,12:21,13:22,6:28,22:35,45:36,10:54,5:d,14:u,16:x,18:g,20:f,21:y,26:p,28:q,29:T,30:_,31:m,32:A,41:s,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B}),t(h,[2,10]),t(h,[2,11]),t(h,[2,12]),{15:[1,55]},{17:[1,56]},{19:[1,57]},t(h,[2,16]),t(h,[2,17]),t(h,[2,18]),{22:58,45:36,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B},{22:59,45:36,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B},{22:60,45:36,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B},{22:61,45:36,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B},{22:62,45:36,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B},{22:63,45:36,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B},{5:R,23:[1,64],45:66,46:65,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W},t(N,[2,39]),t(N,[2,41]),t(N,[2,42]),t(N,[2,45]),t(N,[2,46]),t(N,[2,47]),t(N,[2,48]),t(N,[2,49]),t(N,[2,50]),t(N,[2,51]),t(N,[2,52]),t(N,[2,53]),t(N,[2,54]),t(N,[2,55]),t(U,[2,30]),{37:69,43:[1,70]},t(U,[2,38]),t(l,[2,7]),t(h,[2,9]),t(h,[2,13]),t(h,[2,14]),t(h,[2,15]),t(h,[2,22],{46:65,45:66,5:R,27:[1,71],50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,25],{46:65,45:66,5:R,27:[1,72],50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,26],{46:65,45:66,5:R,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,27],{46:65,45:66,5:R,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,28],{46:65,45:66,5:R,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,29],{46:65,45:66,5:R,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),{24:[1,73]},t(N,[2,40]),t(N,[2,56]),t(N,[2,57]),t(N,[2,58]),{35:74,44:w},{44:[2,37]},t(h,[2,21],{45:36,22:75,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B}),t(h,[2,24],{45:36,22:76,47:b,48:S,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B}),{25:[1,77]},t(U,[2,31]),t(h,[2,20],{46:65,45:66,5:R,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,23],{46:65,45:66,5:R,50:k,51:v,52:F,53:P,54:D,55:C,56:L,57:z,58:E,59:I,60:B,61:W}),t(h,[2,19])],defaultActions:{10:[2,35],11:[2,1],12:[2,2],13:[2,3],70:[2,37]},parseError:function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},parse:function(t){var i=[0],e=[],a=[null],n=[],r=this.table,s="",l=0,o=0,h=n.slice.call(arguments,1),c=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);c.setInput(t,d.yy),d.yy.lexer=c,d.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var x=c.yylloc;n.push(x);var g=c.options&&c.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,y,p,q,T,_,m,A,b,S={};;){if(y=i[i.length-1],this.defaultActions[y]?p=this.defaultActions[y]:(null==f&&(b=void 0,"number"!=typeof(b=e.pop()||c.lex()||1)&&(b instanceof Array&&(b=(e=b).pop()),b=this.symbols_[b]||b),f=b),p=r[y]&&r[y][f]),void 0===p||!p.length||!p[0]){var k;for(T in A=[],r[y])this.terminals_[T]&&T>2&&A.push("'"+this.terminals_[T]+"'");k=c.showPosition?"Parse error on line "+(l+1)+":\n"+c.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(k,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:x,expected:A})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+f);switch(p[0]){case 1:i.push(f),a.push(c.yytext),n.push(c.yylloc),i.push(p[1]),f=null,o=c.yyleng,s=c.yytext,l=c.yylineno,x=c.yylloc;break;case 2:if(_=this.productions_[p[1]][1],S.$=a[a.length-_],S._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column},g&&(S._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]),void 0!==(q=this.performAction.apply(S,[s,o,l,d.yy,p[1],a,n].concat(h))))return q;_&&(i=i.slice(0,-1*_*2),a=a.slice(0,-1*_),n=n.slice(0,-1*_)),i.push(this.productions_[p[1]][0]),a.push(S.$),n.push(S._$),m=r[i[i.length-2]][i[i.length-1]],i.push(m);break;case 3:return!0}}return!0}},H={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===a.length?this.yylloc.first_column:0)+a[a.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var e,a,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,e,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;ri[0].length)){if(i=e,a=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,e,a){switch(e){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),36;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:break;case 7:return 38;case 9:return this.begin("title"),14;case 10:return this.popState(),"title_value";case 11:return this.begin("acc_title"),16;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),18;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 27:case 29:case 33:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 26;case 19:return 28;case 20:return 27;case 21:return 29;case 22:return 30;case 23:return 31;case 24:return 32;case 25:this.begin("md_string");break;case 26:return"MD_STR";case 28:this.begin("string");break;case 30:return"STR";case 31:return this.begin("point_start"),23;case 32:return this.begin("point_x"),24;case 34:this.popState(),this.begin("point_y");break;case 35:return this.popState(),25;case 36:return 7;case 37:return 53;case 38:return"COLON";case 39:return 55;case 40:return 54;case 41:case 42:return 56;case 43:return 57;case 44:return 59;case 45:return 60;case 46:return 58;case 47:return 51;case 48:return 61;case 49:return 52;case 50:return 5;case 51:return 39;case 52:return 50;case 53:return 40}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[35],inclusive:!1},point_x:{rules:[34],inclusive:!1},point_start:{rules:[32,33],inclusive:!1},acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[10],inclusive:!1},md_string:{rules:[26,27],inclusive:!1},string:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,11,13,15,18,19,20,21,22,23,24,25,28,31,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function $(){this.yy={}}return Q.lexer=H,$.prototype=Q,Q.Parser=$,new $}());r.parser=r;const s=r,l=(0,a.C)(),o=(0,a.c)();function h(t){return(0,a.d)(t.trim(),o)}const c=new class{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var t,i,e,n,r,s,l,o,h,c,d,u,x,g,f,y,p,q;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=a.D.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(i=a.D.quadrantChart)?void 0:i.chartHeight)||500,titlePadding:(null==(e=a.D.quadrantChart)?void 0:e.titlePadding)||10,titleFontSize:(null==(n=a.D.quadrantChart)?void 0:n.titleFontSize)||20,quadrantPadding:(null==(r=a.D.quadrantChart)?void 0:r.quadrantPadding)||5,xAxisLabelPadding:(null==(s=a.D.quadrantChart)?void 0:s.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(l=a.D.quadrantChart)?void 0:l.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(o=a.D.quadrantChart)?void 0:o.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(h=a.D.quadrantChart)?void 0:h.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(c=a.D.quadrantChart)?void 0:c.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(d=a.D.quadrantChart)?void 0:d.quadrantTextTopPadding)||5,pointTextPadding:(null==(u=a.D.quadrantChart)?void 0:u.pointTextPadding)||5,pointLabelFontSize:(null==(x=a.D.quadrantChart)?void 0:x.pointLabelFontSize)||12,pointRadius:(null==(g=a.D.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(f=a.D.quadrantChart)?void 0:f.xAxisPosition)||"top",yAxisPosition:(null==(y=a.D.quadrantChart)?void 0:y.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(p=a.D.quadrantChart)?void 0:p.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(q=a.D.quadrantChart)?void 0:q.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:l.quadrant1Fill,quadrant2Fill:l.quadrant2Fill,quadrant3Fill:l.quadrant3Fill,quadrant4Fill:l.quadrant4Fill,quadrant1TextFill:l.quadrant1TextFill,quadrant2TextFill:l.quadrant2TextFill,quadrant3TextFill:l.quadrant3TextFill,quadrant4TextFill:l.quadrant4TextFill,quadrantPointFill:l.quadrantPointFill,quadrantPointTextFill:l.quadrantPointTextFill,quadrantXAxisTextFill:l.quadrantXAxisTextFill,quadrantYAxisTextFill:l.quadrantYAxisTextFill,quadrantTitleFill:l.quadrantTitleFill,quadrantInternalBorderStrokeFill:l.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:l.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),a.l.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}setConfig(t){a.l.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.l.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,i,e,a){const n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,r={top:"top"===t&&i?n:0,bottom:"bottom"===t&&i?n:0},s=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&e?s:0,right:"right"===this.config.yAxisPosition&&e?s:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+r.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-r.top-r.bottom-h.top;return{xAxisSpace:r,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,i,e,a){const{quadrantSpace:n,titleSpace:r}=a,{quadrantHalfHeight:s,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=0===this.data.points.length,x=[];return this.data.xAxisLeftText&&i&&x.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&i&&x.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&e&&x.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(u?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&e&&x.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+s-(u?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:-90}),x}getQuadrants(t){const{quadrantSpace:i}=t,{quadrantHalfHeight:e,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:r}=i,s=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r,width:n,height:e,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r,width:n,height:e,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant4Fill}];for(const t of s)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return s}getQuadrantPoints(t){const{quadrantSpace:i}=t,{quadrantHeight:e,quadrantLeft:a,quadrantTop:r,quadrantWidth:s}=i,l=(0,n.BYU)().domain([0,1]).range([a,s+a]),o=(0,n.BYU)().domain([0,1]).range([e+r,r]);return this.data.points.map((t=>({x:l(t.x),y:o(t.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}})))}getBorders(t){const i=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:e}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:r,quadrantHalfWidth:s,quadrantTop:l,quadrantWidth:o}=e;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l,x2:r+o+i,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r+o,y1:l+i,x2:r+o,y2:l+n-i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l+n,x2:r+o+i,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r,y1:l+i,x2:r,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+s,y1:l+i,x2:r+s,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+i,y1:l+a,x2:r+o-i,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),i=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),e=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,i,e);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,i,n),borderLines:this.getBorders(n),title:this.getTitle(e)}}},d={parser:s,db:{setWidth:function(t){c.setConfig({chartWidth:t})},setHeight:function(t){c.setConfig({chartHeight:t})},setQuadrant1Text:function(t){c.setData({quadrant1Text:h(t.text)})},setQuadrant2Text:function(t){c.setData({quadrant2Text:h(t.text)})},setQuadrant3Text:function(t){c.setData({quadrant3Text:h(t.text)})},setQuadrant4Text:function(t){c.setData({quadrant4Text:h(t.text)})},setXAxisLeftText:function(t){c.setData({xAxisLeftText:h(t.text)})},setXAxisRightText:function(t){c.setData({xAxisRightText:h(t.text)})},setYAxisTopText:function(t){c.setData({yAxisTopText:h(t.text)})},setYAxisBottomText:function(t){c.setData({yAxisBottomText:h(t.text)})},addPoint:function(t,i,e){c.addPoints([{x:i,y:e,text:h(t.text)}])},getQuadrantData:function(){const t=(0,a.c)(),{themeVariables:i,quadrantChart:e}=t;return e&&c.setConfig(e),c.setThemeConfig({quadrant1Fill:i.quadrant1Fill,quadrant2Fill:i.quadrant2Fill,quadrant3Fill:i.quadrant3Fill,quadrant4Fill:i.quadrant4Fill,quadrant1TextFill:i.quadrant1TextFill,quadrant2TextFill:i.quadrant2TextFill,quadrant3TextFill:i.quadrant3TextFill,quadrant4TextFill:i.quadrant4TextFill,quadrantPointFill:i.quadrantPointFill,quadrantPointTextFill:i.quadrantPointTextFill,quadrantXAxisTextFill:i.quadrantXAxisTextFill,quadrantYAxisTextFill:i.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:i.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:i.quadrantInternalBorderStrokeFill,quadrantTitleFill:i.quadrantTitleFill}),c.setData({titleText:(0,a.t)()}),c.build()},parseDirective:function(t,i,e){a.m.parseDirective(this,t,i,e)},clear:function(){c.clear(),(0,a.v)()},setAccTitle:a.s,getAccTitle:a.g,setDiagramTitle:a.r,getDiagramTitle:a.t,getAccDescription:a.a,setAccDescription:a.b},renderer:{draw:(t,i,e,r)=>{var s,l,o;function h(t){return"top"===t?"hanging":"middle"}function c(t){return"left"===t?"start":"middle"}function d(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const u=(0,a.c)();a.l.debug("Rendering quadrant chart\n"+t);const x=u.securityLevel;let g;"sandbox"===x&&(g=(0,n.Ys)("#i"+i));const f=("sandbox"===x?(0,n.Ys)(g.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id="${i}"]`),y=f.append("g").attr("class","main"),p=(null==(s=u.quadrantChart)?void 0:s.chartWidth)||500,q=(null==(l=u.quadrantChart)?void 0:l.chartHeight)||500;(0,a.i)(f,q,p,(null==(o=u.quadrantChart)?void 0:o.useMaxWidth)||!0),f.attr("viewBox","0 0 "+p+" "+q),r.db.setHeight(q),r.db.setWidth(p);const T=r.db.getQuadrantData(),_=y.append("g").attr("class","quadrants"),m=y.append("g").attr("class","border"),A=y.append("g").attr("class","data-points"),b=y.append("g").attr("class","labels"),S=y.append("g").attr("class","title");T.title&&S.append("text").attr("x",0).attr("y",0).attr("fill",T.title.fill).attr("font-size",T.title.fontSize).attr("dominant-baseline",h(T.title.horizontalPos)).attr("text-anchor",c(T.title.verticalPos)).attr("transform",d(T.title)).text(T.title.text),T.borderLines&&m.selectAll("line").data(T.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const k=_.selectAll("g.quadrant").data(T.quadrants).enter().append("g").attr("class","quadrant");k.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),k.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text))).text((t=>t.text.text)),b.selectAll("g.label").data(T.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>h(t.horizontalPos))).attr("text-anchor",(t=>c(t.verticalPos))).attr("transform",(t=>d(t)));const v=A.selectAll("g.data-point").data(T.points).enter().append("g").attr("class","data-point");v.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),v.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text)))}},styles:()=>""}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/321-479928b6.chunk.min.js b/docs/themes/geekdoc/static/js/321-479928b6.chunk.min.js new file mode 100644 index 000000000..62bce6148 --- /dev/null +++ b/docs/themes/geekdoc/static/js/321-479928b6.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[321],{5321:function(e,t,n){n.d(t,{d:function(){return b},p:function(){return r},s:function(){return D}});var s=n(5740),i=n(5103),u=function(){var e=function(e,t,n,s){for(n=n||{},s=e.length;s--;n[e[s]]=t);return n},t=[1,34],n=[1,35],s=[1,36],i=[1,37],u=[1,9],r=[1,8],a=[1,19],c=[1,20],o=[1,21],l=[1,40],h=[1,41],A=[1,27],p=[1,25],d=[1,26],y=[1,32],E=[1,33],C=[1,28],m=[1,29],g=[1,30],f=[1,31],F=[1,45],k=[1,42],b=[1,43],D=[1,44],_=[1,46],B=[1,24],T=[1,16,24],S=[1,60],N=[1,61],v=[1,62],L=[1,63],$=[1,64],I=[1,65],O=[1,66],x=[1,16,24,52],R=[1,77],P=[1,16,24,27,28,36,50,52,55,68,69,70,71,72,73,74,79,81],w=[1,16,24,27,28,34,36,50,52,55,59,68,69,70,71,72,73,74,79,81,94,96,97,98,99],G=[1,86],M=[28,94,96,97,98,99],U=[28,73,74,94,96,97,98,99],Y=[28,68,69,70,71,72,94,96,97,98,99],K=[1,99],z=[1,16,24,50,52,55],Q=[1,16,24,36],j=[8,9,10,11,19,23,44,46,48,53,57,58,60,61,63,65,75,76,78,82,94,96,97,98,99],X={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,statements:6,direction:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,EOF:24,statement:25,classLabel:26,SQS:27,STR:28,SQE:29,namespaceName:30,alphaNumToken:31,className:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,namespaceStatement:37,classStatement:38,methodStatement:39,annotationStatement:40,clickStatement:41,cssClassStatement:42,noteStatement:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,namespaceIdentifier:49,STRUCT_START:50,classStatements:51,STRUCT_STOP:52,NAMESPACE:53,classIdentifier:54,STYLE_SEPARATOR:55,members:56,CLASS:57,ANNOTATION_START:58,ANNOTATION_END:59,MEMBER:60,SEPARATOR:61,relation:62,NOTE_FOR:63,noteText:64,NOTE:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,CSSCLASS:82,commentToken:83,textToken:84,graphCodeTokens:85,textNoTagsToken:86,TAGSTART:87,TAGEND:88,"==":89,"--":90,PCT:91,DEFAULT:92,SPACE:93,MINUS:94,keywords:95,UNICODE_TEXT:96,NUM:97,ALPHA:98,BQUOTE_STR:99,$accept:0,$end:1},terminals_:{2:"error",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",24:"EOF",27:"SQS",28:"STR",29:"SQE",34:"GENERICTYPE",36:"LABEL",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",50:"STRUCT_START",52:"STRUCT_STOP",53:"NAMESPACE",55:"STYLE_SEPARATOR",57:"CLASS",58:"ANNOTATION_START",59:"ANNOTATION_END",60:"MEMBER",61:"SEPARATOR",63:"NOTE_FOR",65:"NOTE",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"CSSCLASS",85:"graphCodeTokens",87:"TAGSTART",88:"TAGEND",89:"==",90:"--",91:"PCT",92:"DEFAULT",93:"SPACE",94:"MINUS",95:"keywords",96:"UNICODE_TEXT",97:"NUM",98:"ALPHA",99:"BQUOTE_STR"},productions_:[0,[3,1],[3,2],[3,1],[7,1],[7,1],[7,1],[7,1],[4,1],[5,4],[5,6],[13,1],[14,1],[18,1],[15,1],[12,4],[6,1],[6,2],[6,3],[26,3],[30,1],[30,2],[32,1],[32,1],[32,2],[32,2],[32,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,2],[25,2],[25,1],[37,4],[37,5],[49,2],[51,1],[51,2],[51,3],[38,1],[38,3],[38,4],[38,6],[54,2],[54,3],[40,4],[56,1],[56,2],[39,1],[39,2],[39,1],[39,1],[35,3],[35,4],[35,4],[35,5],[43,3],[43,2],[62,3],[62,2],[62,2],[62,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[41,3],[41,4],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[42,3],[83,1],[83,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[86,1],[86,1],[86,1],[86,1],[31,1],[31,1],[31,1],[31,1],[33,1],[64,1]],performAction:function(e,t,n,s,i,u,r){var a=u.length-1;switch(i){case 4:s.setDirection("TB");break;case 5:s.setDirection("BT");break;case 6:s.setDirection("RL");break;case 7:s.setDirection("LR");break;case 11:s.parseDirective("%%{","open_directive");break;case 12:s.parseDirective(u[a],"type_directive");break;case 13:u[a]=u[a].trim().replace(/'/g,'"'),s.parseDirective(u[a],"arg_directive");break;case 14:s.parseDirective("}%%","close_directive","class");break;case 19:this.$=u[a-1];break;case 20:case 22:case 23:this.$=u[a];break;case 21:case 24:this.$=u[a-1]+u[a];break;case 25:case 26:this.$=u[a-1]+"~"+u[a]+"~";break;case 27:s.addRelation(u[a]);break;case 28:u[a-1].title=s.cleanupLabel(u[a]),s.addRelation(u[a-1]);break;case 37:this.$=u[a].trim(),s.setAccTitle(this.$);break;case 38:case 39:this.$=u[a].trim(),s.setAccDescription(this.$);break;case 40:s.addClassesToNamespace(u[a-3],u[a-1]);break;case 41:s.addClassesToNamespace(u[a-4],u[a-1]);break;case 42:this.$=u[a],s.addNamespace(u[a]);break;case 43:case 53:this.$=[u[a]];break;case 44:this.$=[u[a-1]];break;case 45:u[a].unshift(u[a-2]),this.$=u[a];break;case 47:s.setCssClass(u[a-2],u[a]);break;case 48:s.addMembers(u[a-3],u[a-1]);break;case 49:s.setCssClass(u[a-5],u[a-3]),s.addMembers(u[a-5],u[a-1]);break;case 50:this.$=u[a],s.addClass(u[a]);break;case 51:this.$=u[a-1],s.addClass(u[a-1]),s.setClassLabel(u[a-1],u[a]);break;case 52:s.addAnnotation(u[a],u[a-2]);break;case 54:u[a].push(u[a-1]),this.$=u[a];break;case 55:case 57:case 58:break;case 56:s.addMember(u[a-1],s.cleanupLabel(u[a]));break;case 59:this.$={id1:u[a-2],id2:u[a],relation:u[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 60:this.$={id1:u[a-3],id2:u[a],relation:u[a-1],relationTitle1:u[a-2],relationTitle2:"none"};break;case 61:this.$={id1:u[a-3],id2:u[a],relation:u[a-2],relationTitle1:"none",relationTitle2:u[a-1]};break;case 62:this.$={id1:u[a-4],id2:u[a],relation:u[a-2],relationTitle1:u[a-3],relationTitle2:u[a-1]};break;case 63:s.addNote(u[a],u[a-1]);break;case 64:s.addNote(u[a]);break;case 65:this.$={type1:u[a-2],type2:u[a],lineType:u[a-1]};break;case 66:this.$={type1:"none",type2:u[a],lineType:u[a-1]};break;case 67:this.$={type1:u[a-1],type2:"none",lineType:u[a]};break;case 68:this.$={type1:"none",type2:"none",lineType:u[a]};break;case 69:this.$=s.relationType.AGGREGATION;break;case 70:this.$=s.relationType.EXTENSION;break;case 71:this.$=s.relationType.COMPOSITION;break;case 72:this.$=s.relationType.DEPENDENCY;break;case 73:this.$=s.relationType.LOLLIPOP;break;case 74:this.$=s.lineType.LINE;break;case 75:this.$=s.lineType.DOTTED_LINE;break;case 76:case 82:this.$=u[a-2],s.setClickEvent(u[a-1],u[a]);break;case 77:case 83:this.$=u[a-3],s.setClickEvent(u[a-2],u[a-1]),s.setTooltip(u[a-2],u[a]);break;case 78:case 86:this.$=u[a-2],s.setLink(u[a-1],u[a]);break;case 79:case 87:this.$=u[a-3],s.setLink(u[a-2],u[a-1],u[a]);break;case 80:case 88:this.$=u[a-3],s.setLink(u[a-2],u[a-1]),s.setTooltip(u[a-2],u[a]);break;case 81:case 89:this.$=u[a-4],s.setLink(u[a-3],u[a-2],u[a]),s.setTooltip(u[a-3],u[a-1]);break;case 84:this.$=u[a-3],s.setClickEvent(u[a-2],u[a-1],u[a]);break;case 85:this.$=u[a-4],s.setClickEvent(u[a-3],u[a-2],u[a-1]),s.setTooltip(u[a-3],u[a]);break;case 90:s.setCssClass(u[a-1],u[a])}},table:[{3:1,4:2,5:3,6:4,7:18,8:t,9:n,10:s,11:i,12:5,13:6,19:u,23:r,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:a,46:c,48:o,49:23,53:l,54:24,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:f,94:F,96:k,97:b,98:D,99:_},{1:[3]},{1:[2,1]},{3:47,4:2,5:3,6:4,7:18,8:t,9:n,10:s,11:i,12:5,13:6,19:u,23:r,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:a,46:c,48:o,49:23,53:l,54:24,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:f,94:F,96:k,97:b,98:D,99:_},{1:[2,3]},{1:[2,8]},{14:48,20:[1,49]},e(B,[2,16],{16:[1,50]}),{16:[1,51]},{20:[2,11]},e(T,[2,27],{36:[1,52]}),e(T,[2,29]),e(T,[2,30]),e(T,[2,31]),e(T,[2,32]),e(T,[2,33]),e(T,[2,34]),e(T,[2,35]),e(T,[2,36]),{45:[1,53]},{47:[1,54]},e(T,[2,39]),e(T,[2,55],{62:55,66:58,67:59,28:[1,56],36:[1,57],68:S,69:N,70:v,71:L,72:$,73:I,74:O}),{50:[1,67]},e(x,[2,46],{50:[1,69],55:[1,68]}),e(T,[2,57]),e(T,[2,58]),{31:70,94:F,96:k,97:b,98:D},{31:38,32:71,33:39,94:F,96:k,97:b,98:D,99:_},{31:38,32:72,33:39,94:F,96:k,97:b,98:D,99:_},{31:38,32:73,33:39,94:F,96:k,97:b,98:D,99:_},{28:[1,74]},{31:38,32:75,33:39,94:F,96:k,97:b,98:D,99:_},{28:R,64:76},e(T,[2,4]),e(T,[2,5]),e(T,[2,6]),e(T,[2,7]),e(P,[2,22],{31:38,33:39,32:78,34:[1,79],94:F,96:k,97:b,98:D,99:_}),e(P,[2,23],{34:[1,80]}),{30:81,31:82,94:F,96:k,97:b,98:D},{31:38,32:83,33:39,94:F,96:k,97:b,98:D,99:_},e(w,[2,104]),e(w,[2,105]),e(w,[2,106]),e(w,[2,107]),e([1,16,24,27,28,34,36,50,52,55,68,69,70,71,72,73,74,79,81],[2,108]),{1:[2,2]},{15:84,17:[1,85],22:G},e([17,22],[2,12]),e(B,[2,17],{25:7,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,7:18,32:22,49:23,54:24,31:38,33:39,6:87,8:t,9:n,10:s,11:i,44:a,46:c,48:o,53:l,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:f,94:F,96:k,97:b,98:D,99:_}),{6:88,7:18,8:t,9:n,10:s,11:i,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:a,46:c,48:o,49:23,53:l,54:24,57:h,58:A,60:p,61:d,63:y,65:E,75:C,76:m,78:g,82:f,94:F,96:k,97:b,98:D,99:_},e(T,[2,28]),e(T,[2,37]),e(T,[2,38]),{28:[1,90],31:38,32:89,33:39,94:F,96:k,97:b,98:D,99:_},{62:91,66:58,67:59,68:S,69:N,70:v,71:L,72:$,73:I,74:O},e(T,[2,56]),{67:92,73:I,74:O},e(M,[2,68],{66:93,68:S,69:N,70:v,71:L,72:$}),e(U,[2,69]),e(U,[2,70]),e(U,[2,71]),e(U,[2,72]),e(U,[2,73]),e(Y,[2,74]),e(Y,[2,75]),{16:[1,95],38:96,51:94,54:24,57:h},{31:97,94:F,96:k,97:b,98:D},{56:98,60:K},{59:[1,100]},{28:[1,101]},{28:[1,102]},{79:[1,103],81:[1,104]},{31:105,94:F,96:k,97:b,98:D},{28:R,64:106},e(T,[2,64]),e(T,[2,109]),e(P,[2,24]),e(P,[2,25]),e(P,[2,26]),{50:[2,42]},{30:107,31:82,50:[2,20],94:F,96:k,97:b,98:D},e(z,[2,50],{26:108,27:[1,109]}),{16:[1,110]},{18:111,21:[1,112]},{16:[2,14]},e(B,[2,18]),{24:[1,113]},e(Q,[2,59]),{31:38,32:114,33:39,94:F,96:k,97:b,98:D,99:_},{28:[1,116],31:38,32:115,33:39,94:F,96:k,97:b,98:D,99:_},e(M,[2,67],{66:117,68:S,69:N,70:v,71:L,72:$}),e(M,[2,66]),{52:[1,118]},{38:96,51:119,54:24,57:h},{16:[1,120],52:[2,43]},e(x,[2,47],{50:[1,121]}),{52:[1,122]},{52:[2,53],56:123,60:K},{31:38,32:124,33:39,94:F,96:k,97:b,98:D,99:_},e(T,[2,76],{28:[1,125]}),e(T,[2,78],{28:[1,127],77:[1,126]}),e(T,[2,82],{28:[1,128],80:[1,129]}),e(T,[2,86],{28:[1,131],77:[1,130]}),e(T,[2,90]),e(T,[2,63]),{50:[2,21]},e(z,[2,51]),{28:[1,132]},e(j,[2,9]),{15:133,22:G},{22:[2,13]},{1:[2,15]},e(Q,[2,61]),e(Q,[2,60]),{31:38,32:134,33:39,94:F,96:k,97:b,98:D,99:_},e(M,[2,65]),e(T,[2,40]),{52:[1,135]},{38:96,51:136,52:[2,44],54:24,57:h},{56:137,60:K},e(x,[2,48]),{52:[2,54]},e(T,[2,52]),e(T,[2,77]),e(T,[2,79]),e(T,[2,80],{77:[1,138]}),e(T,[2,83]),e(T,[2,84],{28:[1,139]}),e(T,[2,87]),e(T,[2,88],{77:[1,140]}),{29:[1,141]},{16:[1,142]},e(Q,[2,62]),e(T,[2,41]),{52:[2,45]},{52:[1,143]},e(T,[2,81]),e(T,[2,85]),e(T,[2,89]),e(z,[2,19]),e(j,[2,10]),e(x,[2,49])],defaultActions:{2:[2,1],4:[2,3],5:[2,8],9:[2,11],47:[2,2],81:[2,42],86:[2,14],107:[2,21],112:[2,13],113:[2,15],123:[2,54],136:[2,45]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=[0],n=[],s=[null],i=[],u=this.table,r="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(e,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var p=l.yylloc;i.push(p);var d=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,C,m,g,f,F,k,b,D={};;){if(E=t[t.length-1],this.defaultActions[E]?C=this.defaultActions[E]:(null==y&&(b=void 0,"number"!=typeof(b=n.pop()||l.lex()||1)&&(b instanceof Array&&(b=(n=b).pop()),b=this.symbols_[b]||b),y=b),C=u[E]&&u[E][y]),void 0===C||!C.length||!C[0]){var _;for(g in k=[],u[E])this.terminals_[g]&&g>2&&k.push("'"+this.terminals_[g]+"'");_=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(_,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:p,expected:k})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(C[0]){case 1:t.push(y),s.push(l.yytext),i.push(l.yylloc),t.push(C[1]),y=null,c=l.yyleng,r=l.yytext,a=l.yylineno,p=l.yylloc;break;case 2:if(f=this.productions_[C[1]][1],D.$=s[s.length-f],D._$={first_line:i[i.length-(f||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(f||1)].first_column,last_column:i[i.length-1].last_column},d&&(D._$.range=[i[i.length-(f||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(D,[r,c,a,h.yy,C[1],s,i].concat(o))))return m;f&&(t=t.slice(0,-1*f*2),s=s.slice(0,-1*f),i=i.slice(0,-1*f)),t.push(this.productions_[C[1]][0]),s.push(D.$),i.push(D._$),F=u[t[t.length-2]][t[t.length-1]],t.push(F);break;case 3:return!0}}return!0}},W={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,s,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(s=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var u in i)this[u]=i[u];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),u=0;ut[0].length)){if(t=n,s=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[u])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[s]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,s){switch(n){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 25:case 30:case 34:case 41:break;case 11:return this.begin("acc_title"),44;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),46;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 52:case 55:case 58:case 60:case 63:case 66:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 29:return 16;case 20:case 21:return 23;case 22:case 31:case 39:return"EDGE_STATE";case 23:return this.begin("namespace"),53;case 24:case 33:return this.popState(),16;case 26:return this.begin("namespace-body"),50;case 27:case 37:return this.popState(),52;case 28:case 38:return"EOF_IN_STRUCT";case 32:return this.begin("class"),57;case 35:return this.popState(),this.popState(),52;case 36:return this.begin("class-body"),50;case 40:return"OPEN_IN_STRUCT";case 42:return"MEMBER";case 43:return 82;case 44:return 75;case 45:return 76;case 46:return 78;case 47:return 63;case 48:return 65;case 49:return 58;case 50:return 59;case 51:this.begin("href");break;case 53:return 81;case 54:this.begin("callback_name");break;case 56:this.popState(),this.begin("callback_args");break;case 57:return 79;case 59:return 80;case 61:return"GENERICTYPE";case 62:this.begin("generic");break;case 64:return"STR";case 65:this.begin("string");break;case 67:return"BQUOTE_STR";case 68:this.begin("bqstring");break;case 69:case 70:case 71:case 72:return 77;case 73:case 74:return 69;case 75:case 76:return 71;case 77:return 70;case 78:return 68;case 79:return 72;case 80:return 73;case 81:return 74;case 82:return 36;case 83:return 55;case 84:return 94;case 85:return"DOT";case 86:return"PLUS";case 87:return 91;case 88:case 89:return"EQUALS";case 90:return 98;case 91:return 27;case 92:return 29;case 93:return"PUNCTUATION";case 94:return 97;case 95:return 96;case 96:return 93;case 97:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[~])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[27,28,29,30,31,32,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},namespace:{rules:[23,24,25,26,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},"class-body":{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},class:{rules:[33,34,35,36,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_descr_multiline:{rules:[16,17,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_descr:{rules:[14,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_title:{rules:[12,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},arg_directive:{rules:[7,8,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},type_directive:{rules:[6,7,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},open_directive:{rules:[5,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},callback_args:{rules:[43,44,45,46,47,48,49,50,51,54,58,59,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},callback_name:{rules:[43,44,45,46,47,48,49,50,51,54,55,56,57,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},href:{rules:[43,44,45,46,47,48,49,50,51,52,53,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},struct:{rules:[43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},generic:{rules:[43,44,45,46,47,48,49,50,51,54,60,61,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},bqstring:{rules:[43,44,45,46,47,48,49,50,51,54,62,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},string:{rules:[43,44,45,46,47,48,49,50,51,54,62,63,64,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,32,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};function H(){this.yy={}}return X.lexer=W,H.prototype=X,X.Parser=H,new H}();u.parser=u;const r=u,a="classId-";let c=[],o={},l=[],h=0,A={},p=0,d=[];const y=e=>i.e.sanitizeText(e,(0,i.c)()),E=function(e){let t="",n=e;if(e.indexOf("~")>0){const s=e.split("~");n=y(s[0]),t=y(s[1])}return{className:n,type:t}},C=function(e){const t=E(e);void 0===o[t.className]&&(o[t.className]={id:t.className,type:t.type,label:t.className,cssClasses:[],methods:[],members:[],annotations:[],domId:a+t.className+"-"+h},h++)},m=function(e){if(e in o)return o[e].domId;throw new Error("Class not found: "+e)},g=function(e,t){const n=E(e).className,s=o[n];if("string"==typeof t){const e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?s.annotations.push(y(e.substring(2,e.length-2))):e.indexOf(")")>0?s.methods.push(y(e)):e&&s.members.push(y(e))}},f=function(e,t){e.split(",").forEach((function(e){let n=e;e[0].match(/\d/)&&(n=a+n),void 0!==o[n]&&o[n].cssClasses.push(t)}))},F=function(e){let t=(0,s.Ys)(".mermaidTooltip");null===(t._groups||t)[0][0]&&(t=(0,s.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,s.Ys)(e).select("svg").selectAll("g.node").on("mouseover",(function(){const e=(0,s.Ys)(this);if(null===e.attr("title"))return;const n=this.getBoundingClientRect();t.transition().duration(200).style("opacity",".9"),t.text(e.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),t.html(t.html().replace(/<br\/>/g,"
    ")),e.classed("hover",!0)})).on("mouseout",(function(){t.transition().duration(500).style("opacity",0),(0,s.Ys)(this).classed("hover",!1)}))};d.push(F);let k="TB";const b={parseDirective:function(e,t,n){i.m.parseDirective(this,e,t,n)},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().class,addClass:C,bindFunctions:function(e){d.forEach((function(t){t(e)}))},clear:function(){c=[],o={},l=[],d=[],d.push(F),A={},p=0,(0,i.v)()},getClass:function(e){return o[e]},getClasses:function(){return o},getNotes:function(){return l},addAnnotation:function(e,t){const n=E(e).className;o[n].annotations.push(t)},addNote:function(e,t){const n={id:`note${l.length}`,class:t,text:e};l.push(n)},getRelations:function(){return c},addRelation:function(e){i.l.debug("Adding relation: "+JSON.stringify(e)),C(e.id1),C(e.id2),e.id1=E(e.id1).className,e.id2=E(e.id2).className,e.relationTitle1=i.e.sanitizeText(e.relationTitle1.trim(),(0,i.c)()),e.relationTitle2=i.e.sanitizeText(e.relationTitle2.trim(),(0,i.c)()),c.push(e)},getDirection:()=>k,setDirection:e=>{k=e},addMember:g,addMembers:function(e,t){Array.isArray(t)&&(t.reverse(),t.forEach((t=>g(e,t))))},cleanupLabel:function(e){return e.startsWith(":")&&(e=e.substring(1)),y(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(e,t,n){e.split(",").forEach((function(e){(function(e,t,n){if("loose"!==(0,i.c)().securityLevel)return;if(void 0===t)return;const s=e;if(void 0!==o[s]){const e=m(s);let u=[];if("string"==typeof n){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e{o[t].parent=e,A[e].classes[t]=o[t]}))},getNamespace:function(e){return A[e]},getNamespaces:function(){return A}},D=e=>`g.classGroup text {\n fill: ${e.nodeBorder};\n fill: ${e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/422-156f22f0.chunk.min.js b/docs/themes/geekdoc/static/js/422-156f22f0.chunk.min.js new file mode 100644 index 000000000..7341a6340 --- /dev/null +++ b/docs/themes/geekdoc/static/js/422-156f22f0.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[422],{5422:function(e,t,i){i.d(t,{diagram:function(){return k}});var r=i(5103),n=i(5740),s=i(9451),a=i(5625),c=(i(7484),i(7967),i(7856),function(){var e=function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},t=[1,3],i=[1,5],r=[1,6],n=[1,7],s=[1,8],a=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],c=[1,22],l=[2,13],o=[1,26],h=[1,27],u=[1,28],d=[1,29],y=[1,30],p=[1,31],_=[1,24],g=[1,32],E=[1,33],R=[1,36],f=[71,72],m=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],I=[1,56],b=[1,57],k=[1,58],S=[1,59],T=[1,60],N=[1,61],v=[1,62],x=[62,63],A=[1,74],q=[1,70],$=[1,71],O=[1,72],w=[1,73],C=[1,75],D=[1,79],L=[1,80],F=[1,77],M=[1,78],P=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],V={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(e,t,i,r,n,s,a){var c=s.length-1;switch(n){case 6:this.$=s[c].trim(),r.setAccTitle(this.$);break;case 7:case 8:this.$=s[c].trim(),r.setAccDescription(this.$);break;case 9:r.parseDirective("%%{","open_directive");break;case 10:r.parseDirective(s[c],"type_directive");break;case 11:s[c]=s[c].trim().replace(/'/g,'"'),r.parseDirective(s[c],"arg_directive");break;case 12:r.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:r.addRequirement(s[c-3],s[c-4]);break;case 20:r.setNewReqId(s[c-2]);break;case 21:r.setNewReqText(s[c-2]);break;case 22:r.setNewReqRisk(s[c-2]);break;case 23:r.setNewReqVerifyMethod(s[c-2]);break;case 26:this.$=r.RequirementType.REQUIREMENT;break;case 27:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=r.RiskLevel.LOW_RISK;break;case 33:this.$=r.RiskLevel.MED_RISK;break;case 34:this.$=r.RiskLevel.HIGH_RISK;break;case 35:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=r.VerifyType.VERIFY_TEST;break;case 39:r.addElement(s[c-3]);break;case 40:r.setNewElementType(s[c-2]);break;case 41:r.setNewElementDocRef(s[c-2]);break;case 44:r.addRelationship(s[c-2],s[c],s[c-4]);break;case 45:r.addRelationship(s[c-2],s[c-4],s[c]);break;case 46:this.$=r.Relationships.CONTAINS;break;case 47:this.$=r.Relationships.COPIES;break;case 48:this.$=r.Relationships.DERIVES;break;case 49:this.$=r.Relationships.SATISFIES;break;case 50:this.$=r.Relationships.VERIFIES;break;case 51:this.$=r.Relationships.REFINES;break;case 52:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:4,14:i,16:r,18:n,19:s},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:i,16:r,18:n,19:s},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(a,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:i,16:r,18:n,19:s},{1:[2,2]},{4:21,5:c,7:17,8:l,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:o,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{11:34,12:[1,35],22:R},e([12,22],[2,10]),e(a,[2,6]),e(a,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:c,7:38,8:l,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:o,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:39,8:l,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:o,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:40,8:l,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:o,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:41,8:l,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:o,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{4:21,5:c,7:42,8:l,9:4,14:i,16:r,18:n,19:s,23:18,24:19,25:20,26:23,32:25,40:o,41:h,42:u,43:d,44:y,45:p,53:_,71:g,72:E},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(f,[2,26]),e(f,[2,27]),e(f,[2,28]),e(f,[2,29]),e(f,[2,30]),e(f,[2,31]),e(m,[2,55]),e(m,[2,56]),e(a,[2,4]),{13:51,21:[1,52]},e(a,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:I,65:b,66:k,67:S,68:T,69:N,70:v},{61:63,64:I,65:b,66:k,67:S,68:T,69:N,70:v},{11:64,22:R},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(x,[2,46]),e(x,[2,47]),e(x,[2,48]),e(x,[2,49]),e(x,[2,50]),e(x,[2,51]),e(x,[2,52]),{63:[1,68]},e(a,[2,5]),{5:A,29:69,30:q,33:$,35:O,37:w,39:C},{5:D,39:L,55:76,56:F,58:M},{32:81,71:g,72:E},{32:82,71:g,72:E},e(P,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:A,29:87,30:q,33:$,35:O,37:w,39:C},e(P,[2,25]),e(P,[2,39]),{31:[1,88]},{31:[1,89]},{5:D,39:L,55:90,56:F,58:M},e(P,[2,43]),e(P,[2,44]),e(P,[2,45]),{32:91,71:g,72:E},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(P,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(P,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:A,29:116,30:q,33:$,35:O,37:w,39:C},{5:A,29:117,30:q,33:$,35:O,37:w,39:C},{5:A,29:118,30:q,33:$,35:O,37:w,39:C},{5:A,29:119,30:q,33:$,35:O,37:w,39:C},{5:D,39:L,55:120,56:F,58:M},{5:D,39:L,55:121,56:F,58:M},e(P,[2,20]),e(P,[2,21]),e(P,[2,22]),e(P,[2,23]),e(P,[2,40]),e(P,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=[0],i=[],r=[null],n=[],s=this.table,a="",c=0,l=0,o=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(e,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;n.push(y);var p=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,g,E,R,f,m,I,b,k,S={};;){if(g=t[t.length-1],this.defaultActions[g]?E=this.defaultActions[g]:(null==_&&(k=void 0,"number"!=typeof(k=i.pop()||h.lex()||1)&&(k instanceof Array&&(k=(i=k).pop()),k=this.symbols_[k]||k),_=k),E=s[g]&&s[g][_]),void 0===E||!E.length||!E[0]){var T;for(f in b=[],s[g])this.terminals_[f]&&f>2&&b.push("'"+this.terminals_[f]+"'");T=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:y,expected:b})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+_);switch(E[0]){case 1:t.push(_),r.push(h.yytext),n.push(h.yylloc),t.push(E[1]),_=null,l=h.yyleng,a=h.yytext,c=h.yylineno,y=h.yylloc;break;case 2:if(m=this.productions_[E[1]][1],S.$=r[r.length-m],S._$={first_line:n[n.length-(m||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(m||1)].first_column,last_column:n[n.length-1].last_column},p&&(S._$.range=[n[n.length-(m||1)].range[0],n[n.length-1].range[1]]),void 0!==(R=this.performAction.apply(S,[a,l,c,u.yy,E[1],r,n].concat(o))))return R;m&&(t=t.slice(0,-1*m*2),r=r.slice(0,-1*m),n=n.slice(0,-1*m)),t.push(this.productions_[E[1]][0]),r.push(S.$),n.push(S._$),I=s[t[t.length-2]][t[t.length-1]],t.push(I);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in n)this[s]=n[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),s=0;st[0].length)){if(t=i,r=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,n[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,i,r){switch(i){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return t.yytext=t.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};function U(){this.yy={}}return V.lexer=Y,U.prototype=V,V.Parser=U,new U}());c.parser=c;const l=c;let o=[],h={},u={},d={},y={};const p={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(e,t,i){r.m.parseDirective(this,e,t,i)},getConfig:()=>(0,r.c)().req,addRequirement:(e,t)=>(void 0===u[e]&&(u[e]={name:e,type:t,id:h.id,text:h.text,risk:h.risk,verifyMethod:h.verifyMethod}),h={},u[e]),getRequirements:()=>u,setNewReqId:e=>{void 0!==h&&(h.id=e)},setNewReqText:e=>{void 0!==h&&(h.text=e)},setNewReqRisk:e=>{void 0!==h&&(h.risk=e)},setNewReqVerifyMethod:e=>{void 0!==h&&(h.verifyMethod=e)},setAccTitle:r.s,getAccTitle:r.g,setAccDescription:r.b,getAccDescription:r.a,addElement:e=>(void 0===y[e]&&(y[e]={name:e,type:d.type,docRef:d.docRef},r.l.info("Added new requirement: ",e)),d={},y[e]),getElements:()=>y,setNewElementType:e=>{void 0!==d&&(d.type=e)},setNewElementDocRef:e=>{void 0!==d&&(d.docRef=e)},addRelationship:(e,t,i)=>{o.push({type:e,src:t,dst:i})},getRelationships:()=>o,clear:()=>{o=[],h={},u={},d={},y={},(0,r.v)()}},_={CONTAINS:"contains",ARROW:"arrow"},g=_;let E={},R=0;const f=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",E.rect_min_width+"px").attr("height",E.rect_min_height+"px"),m=(e,t,i)=>{let r=E.rect_min_width/2,n=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",r).attr("y",E.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach((e=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",E.rect_min_width/2).attr("dy",0).text(e):n.append("tspan").attr("text-anchor","middle").attr("x",E.rect_min_width/2).attr("dy",.75*E.line_height).text(e),s++}));let a=1.5*E.rect_padding+s*E.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",E.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},I=(e,t,i,r)=>{let n=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",E.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach((e=>{let t=e.length;for(;t>30&&s<3;){let i=e.substring(0,30);t=(e=e.substring(30,e.length)).length,a[a.length]=i,s++}if(3==s){let e=a[a.length-1];a[a.length-1]=e.substring(0,e.length-4)+"..."}else a[a.length]=e;s=0})),a.forEach((e=>{n.append("tspan").attr("x",E.rect_padding).attr("dy",E.line_height).text(e)})),n},b=e=>e.replace(/\s/g,"").replace(/\./g,"_"),k={parser:l,db:p,renderer:{draw:(e,t,i,c)=>{E=(0,r.c)().requirement,c.db.clear(),c.parser.parse(e);const l=E.securityLevel;let o;"sandbox"===l&&(o=(0,n.Ys)("#i"+t));const h=("sandbox"===l?(0,n.Ys)(o.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${t}']`);((e,t)=>{let i=e.append("defs").append("marker").attr("id",_.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",_.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)})(h,E);const u=new a.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:E.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let d=c.db.getRequirements(),y=c.db.getElements(),p=c.db.getRelationships();var k,S,T;k=d,S=u,T=h,Object.keys(k).forEach((e=>{let t=k[e];e=b(e),r.l.info("Added new requirement: ",e);const i=T.append("g").attr("id",e),n=f(i,"req-"+e);let s=m(i,e+"_title",[`<<${t.type}>>`,`${t.name}`]);I(i,e+"_body",[`Id: ${t.id}`,`Text: ${t.text}`,`Risk: ${t.risk}`,`Verification: ${t.verifyMethod}`],s.y);const a=n.node().getBBox();S.setNode(e,{width:a.width,height:a.height,shape:"rect",id:e})})),((e,t,i)=>{Object.keys(e).forEach((r=>{let n=e[r];const s=b(r),a=i.append("g").attr("id",s),c="element-"+s,l=f(a,c);let o=m(a,c+"_title",["<>",`${r}`]);I(a,c+"_body",[`Type: ${n.type||"Not Specified"}`,`Doc Ref: ${n.docRef||"None"}`],o.y);const h=l.node().getBBox();t.setNode(s,{width:h.width,height:h.height,shape:"rect",id:s})}))})(y,u,h),((e,t)=>{e.forEach((function(e){let i=b(e.src),r=b(e.dst);t.setEdge(i,r,{relationship:e})}))})(p,u),(0,s.bK)(u),function(e,t){t.nodes().forEach((function(i){void 0!==i&&void 0!==t.node(i)&&(e.select("#"+i),e.select("#"+i).attr("transform","translate("+(t.node(i).x-t.node(i).width/2)+","+(t.node(i).y-t.node(i).height/2)+" )"))}))}(h,u),p.forEach((function(e){!function(e,t,i,s,a){const c=i.edge(b(t.src),b(t.dst)),l=(0,n.jvg)().x((function(e){return e.x})).y((function(e){return e.y})),o=e.insert("path","#"+s).attr("class","er relationshipLine").attr("d",l(c.points)).attr("fill","none");t.type==a.db.Relationships.CONTAINS?o.attr("marker-start","url("+r.e.getUrl(E.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.attr("marker-end","url("+r.e.getUrl(E.arrowMarkerAbsolute)+"#"+g.ARROW+"_line_ending)")),((e,t,i,r)=>{const n=t.node().getTotalLength(),s=t.node().getPointAtLength(.5*n),a="rel"+R;R++;const c=e.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();e.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-c.width/2).attr("y",s.y-c.height/2).attr("width",c.width).attr("height",c.height).attr("fill","white").attr("fill-opacity","85%")})(e,o,0,`<<${t.type}>>`)}(h,e,u,t,c)}));const N=E.rect_padding,v=h.node().getBBox(),x=v.width+2*N,A=v.height+2*N;(0,r.i)(h,A,x,E.useMaxWidth),h.attr("viewBox",`${v.x-N} ${v.y-N} ${x} ${A}`)}},styles:e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/435-486719a5.chunk.min.js b/docs/themes/geekdoc/static/js/435-486719a5.chunk.min.js new file mode 100644 index 000000000..16d5cddde --- /dev/null +++ b/docs/themes/geekdoc/static/js/435-486719a5.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[435],{7435:function(t,e,r){r.d(e,{diagram:function(){return v}});var i=r(5103),a=r(5625),n=r(5740),s=r(9451);const o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=function(t){if(!function(t){return"string"==typeof t&&c.test(t)}(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function h(t,e,r,i){switch(t){case 0:return e&r^~e&i;case 1:case 3:return e^r^i;case 2:return e&r^e&i^r&i}}function d(t,e){return t<>>32-e}var u=function(t,e,r){function i(t,e,r,i){var a;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>0;l=c,c=o,o=d(s,30)>>>0,s=a,a=n}r[0]=r[0]+a>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}(n),n[6]=15&n[6]|80,n[8]=63&n[8]|128,r){i=i||0;for(let t=0;t<16;++t)r[i+t]=n[t];return r}return function(t,e=0){return(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase()}(n)}try{i.name="v5"}catch(t){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}(),y=(r(7484),r(7967),r(7856),function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[1,2],r=[1,5],i=[6,9,11,23,25,27,29,30,31,52],a=[1,17],n=[1,18],s=[1,19],o=[1,20],c=[1,21],l=[1,22],h=[1,25],d=[1,30],u=[1,31],y=[1,32],p=[1,33],_=[1,34],f=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,48,52],g=[1,46],m=[30,31,49,50],E=[4,6,9,11,23,25,27,29,30,31,52],O=[44,45,46,47,48],b=[22,37],k=[1,66],R=[1,65],N=[22,37,39,41],T={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,MD_PARENT:48,NON_IDENTIFYING:49,IDENTIFYING:50,WORD:51,open_directive:52,type_directive:53,arg_directive:54,close_directive:55,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"MD_PARENT",49:"NON_IDENTIFYING",50:"IDENTIFYING",51:"WORD",52:"open_directive",53:"type_directive",54:"arg_directive",55:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,r,i,a,n,s){var o=n.length-1;switch(a){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:n[o-1].push(n[o]),this.$=n[o-1];break;case 5:case 6:case 20:case 44:case 28:case 29:case 32:this.$=n[o];break;case 12:i.addEntity(n[o-4]),i.addEntity(n[o-2]),i.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 13:i.addEntity(n[o-3]),i.addAttributes(n[o-3],n[o-1]);break;case 14:i.addEntity(n[o-2]);break;case 15:i.addEntity(n[o]);break;case 16:case 17:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 21:case 42:case 43:case 33:this.$=n[o].replace(/"/g,"");break;case 22:case 30:this.$=[n[o]];break;case 23:n[o].push(n[o-1]),this.$=n[o];break;case 24:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 26:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 27:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 31:n[o-2].push(n[o]),this.$=n[o-2];break;case 34:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 35:this.$=i.Cardinality.ZERO_OR_ONE;break;case 36:this.$=i.Cardinality.ZERO_OR_MORE;break;case 37:this.$=i.Cardinality.ONE_OR_MORE;break;case 38:this.$=i.Cardinality.ONLY_ONE;break;case 39:this.$=i.Cardinality.MD_PARENT;break;case 40:this.$=i.Identification.NON_IDENTIFYING;break;case 41:this.$=i.Identification.IDENTIFYING;break;case 45:i.parseDirective("%%{","open_directive");break;case 46:i.parseDirective(n[o],"type_directive");break;case 47:n[o]=n[o].trim().replace(/'/g,'"'),i.parseDirective(n[o],"arg_directive");break;case 48:i.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,52:r},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,52:r},{13:8,53:[1,9]},{53:[2,45]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:a,25:n,27:s,29:o,30:c,31:l,52:r},{1:[2,2]},{14:23,15:[1,24],55:h},t([15,55],[2,46]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:15,10:26,12:4,17:16,23:a,25:n,27:s,29:o,30:c,31:l,52:r},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),t(i,[2,15],{18:27,42:29,20:[1,28],44:d,45:u,46:y,47:p,48:_}),{24:[1,35]},{26:[1,36]},{28:[1,37]},t(i,[2,19]),t(f,[2,20]),t(f,[2,21]),{11:[1,38]},{16:39,54:[1,40]},{11:[2,48]},t(i,[2,5]),{17:41,30:c,31:l},{21:42,22:[1,43],32:44,33:45,37:g},{43:47,49:[1,48],50:[1,49]},t(m,[2,35]),t(m,[2,36]),t(m,[2,37]),t(m,[2,38]),t(m,[2,39]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(E,[2,9]),{14:50,55:h},{55:[2,47]},{15:[1,51]},{22:[1,52]},t(i,[2,14]),{21:53,22:[2,22],32:44,33:45,37:g},{34:54,37:[1,55]},{37:[2,28]},{42:56,44:d,45:u,46:y,47:p,48:_},t(O,[2,40]),t(O,[2,41]),{11:[1,57]},{19:58,30:[1,61],31:[1,60],51:[1,59]},t(i,[2,13]),{22:[2,23]},t(b,[2,24],{35:62,36:63,38:64,40:k,41:R}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(E,[2,10]),t(i,[2,12]),t(i,[2,42]),t(i,[2,43]),t(i,[2,44]),t(b,[2,25],{36:67,39:[1,68],41:R}),t(b,[2,26]),t(N,[2,30]),t(b,[2,33]),t(N,[2,32]),t(b,[2,27]),{38:69,40:k},t(N,[2,31])],defaultActions:{5:[2,45],7:[2,2],25:[2,48],40:[2,47],46:[2,28],53:[2,23]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],a=[],n=this.table,s="",o=0,c=0,l=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;a.push(y);var p=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,f,g,m,E,O,b,k,R,N={};;){if(f=e[e.length-1],this.defaultActions[f]?g=this.defaultActions[f]:(null==_&&(R=void 0,"number"!=typeof(R=r.pop()||h.lex()||1)&&(R instanceof Array&&(R=(r=R).pop()),R=this.symbols_[R]||R),_=R),g=n[f]&&n[f][_]),void 0===g||!g.length||!g[0]){var T;for(E in k=[],n[f])this.terminals_[E]&&E>2&&k.push("'"+this.terminals_[E]+"'");T=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:y,expected:k})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+_);switch(g[0]){case 1:e.push(_),i.push(h.yytext),a.push(h.yylloc),e.push(g[1]),_=null,c=h.yyleng,s=h.yytext,o=h.yylineno,y=h.yylloc;break;case 2:if(O=this.productions_[g[1]][1],N.$=i[i.length-O],N._$={first_line:a[a.length-(O||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(O||1)].first_column,last_column:a[a.length-1].last_column},p&&(N._$.range=[a[a.length-(O||1)].range[0],a[a.length-1].range[1]]),void 0!==(m=this.performAction.apply(N,[s,c,o,d.yy,g[1],i,a].concat(l))))return m;O&&(e=e.slice(0,-1*O*2),i=i.slice(0,-1*O),a=a.slice(0,-1*O)),e.push(this.productions_[g[1]][0]),i.push(N.$),a.push(N._$),b=n[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},x={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),52;case 8:return this.begin("type_directive"),53;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),55;case 11:return 54;case 12:return 11;case 13:case 20:case 25:break;case 14:return 9;case 15:return 31;case 16:return 51;case 17:return 4;case 18:return this.begin("block"),20;case 19:return 39;case 21:return 40;case 22:case 23:return 37;case 24:return 41;case 26:return this.popState(),22;case 27:case 57:return e.yytext[0];case 28:case 32:case 33:case 46:return 44;case 29:case 30:case 31:case 39:case 41:case 48:return 46;case 34:case 35:case 36:case 37:case 38:case 40:case 47:return 45;case 42:case 43:case 44:case 45:return 47;case 49:return 48;case 50:case 53:case 54:case 55:return 49;case 51:case 52:return 50;case 56:return 30;case 58:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[19,20,21,22,23,24,25,26,27],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],inclusive:!0}}};function A(){this.yy={}}return T.lexer=x,A.prototype=T,T.Parser=A,new A}());y.parser=y;const p=y;let _={},f=[];const g=function(t){return void 0===_[t]&&(_[t]={attributes:[]},i.l.info("Added new entity :",t)),_[t]},m={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,e,r){i.m.parseDirective(this,t,e,r)},getConfig:()=>(0,i.c)().er,addEntity:g,addAttributes:function(t,e){let r,a=g(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.l.debug("Added attribute ",e[r].attributeName)},getEntities:()=>_,addRelationship:function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};f.push(n),i.l.debug("Added new relationship :",n)},getRelationships:()=>f,clear:function(){_={},f=[],(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.r,getDiagramTitle:i.t},E={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},O=E,b=/[^\dA-Za-z](\W)*/g;let k={},R=new Map;const N=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let T=0;const x="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function A(t=""){return t.length>0?`${t}-`:""}const v={parser:p,db:m,renderer:{setConf:function(t){const e=Object.keys(t);for(const r of e)k[r]=t[r]},draw:function(t,e,r,o){k=(0,i.c)().er,i.l.info("Drawing ER diagram");const c=(0,i.c)().securityLevel;let l;"sandbox"===c&&(l=(0,n.Ys)("#i"+e));const h=("sandbox"===c?(0,n.Ys)(l.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${e}']`);let d;(function(t,e){let r;t.append("defs").append("marker").attr("id",E.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",E.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",E.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",E.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",E.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",E.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(h,k),d=new a.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const y=function(t,e,r){let a;return Object.keys(e).forEach((function(n){const s=function(t="",e=""){const r=t.replace(b,"");return`${A(e)}${A(r)}${u(t,x)}`}(n,"entity");R.set(n,s);const o=t.append("g").attr("id",s);a=void 0===a?s:a;const c="text-"+s,l=o.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(n),{width:h,height:d}=((t,e,r)=>{const a=k.entityPadding/3,n=k.entityPadding/3,s=.85*k.fontSize,o=e.node().getBBox(),c=[];let l=!1,h=!1,d=0,u=0,y=0,p=0,_=o.height+2*a,f=1;r.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(l=!0),void 0!==t.attributeComment&&(h=!0)})),r.forEach((r=>{const n=`${e.node().id}-attr-${f}`;let o=0;const g=(0,i.x)(r.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(g),E=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=m,O.nn=E;const b=m.node().getBBox(),k=E.node().getBBox();if(d=Math.max(d,b.width),u=Math.max(u,k.width),o=Math.max(b.height,k.height),l){const e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;const c=a.node().getBBox();y=Math.max(y,c.width),o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;const a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,c.push(O),_+=o+2*a,f+=1}));let g=4;l&&(g+=2),h&&(g+=2);const m=d+u+y+p,E={width:Math.max(k.minEntityWidth,Math.max(o.width+2*k.entityPadding,m+n*g)),height:r.length>0?_:Math.max(k.minEntityHeight,o.height+2*k.entityPadding)};if(r.length>0){const r=Math.max(0,(E.width-m-n*g)/(g/2));e.attr("transform","translate("+E.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";c.forEach((e=>{const o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");const f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);let g=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(l){e.kn.attr("transform","translate("+(g+n)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",g).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);g=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}h&&(e.cn.attr("transform","translate("+(g+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",g).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"}))}else E.height=Math.max(k.minEntityHeight,_),e.attr("transform","translate("+E.width/2+","+E.height/2+")");return E})(o,l,e[n].attributes),y=o.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:y.width,height:y.height,shape:"rect",id:s})})),a}(h,o.db.getEntities(),d),p=function(t,e){return t.forEach((function(t){e.setEdge(R.get(t.entityA),R.get(t.entityB),{relationship:t},N(t))})),t}(o.db.getRelationships(),d);var _,f;(0,s.bK)(d),_=h,(f=d).nodes().forEach((function(t){void 0!==t&&void 0!==f.node(t)&&_.select("#"+t).attr("transform","translate("+(f.node(t).x-f.node(t).width/2)+","+(f.node(t).y-f.node(t).height/2)+" )")})),p.forEach((function(t){!function(t,e,r,a,s){T++;const o=r.edge(R.get(e.entityA),R.get(e.entityB),N(e)),c=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",c(o.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===s.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(k.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+O.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+O.MD_PARENT_END+")")}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+O.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+O.MD_PARENT_START+")")}const d=l.node().getTotalLength(),u=l.node().getPointAtLength(.5*d),y="rel"+T,p=t.append("text").classed("er relationshipLabel",!0).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",!0).attr("x",u.x-p.width/2).attr("y",u.y-p.height/2).attr("width",p.width).attr("height",p.height)}(h,t,d,y,o)}));const g=k.diagramPadding;i.u.insertTitle(h,"entityTitleText",k.titleTopMargin,o.db.getDiagramTitle());const m=h.node().getBBox(),v=m.width+2*g,M=m.height+2*g;(0,i.i)(h,M,v,k.useMaxWidth),h.attr("viewBox",`${m.x-g} ${m.y-g} ${v} ${M}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/451-2756cb7b.chunk.min.js b/docs/themes/geekdoc/static/js/451-2756cb7b.chunk.min.js new file mode 100644 index 000000000..0ce7d7671 --- /dev/null +++ b/docs/themes/geekdoc/static/js/451-2756cb7b.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[451],{9451:function(n,e,t){t.d(e,{bK:function(){return Se}});var r=t(870),o=t(6749),i=t(3402),u=t(2002),a=t(7961),c=t(3836),f=t(6446),s=t(5625);class d{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,e=n._prev;if(e!==n)return h(e),e}enqueue(n){var e=this._sentinel;n._prev&&n._next&&h(n),n._next=e._next,e._next._prev=n,e._next=n,n._prev=e}toString(){for(var n=[],e=this._sentinel,t=e._prev;t!==e;)n.push(JSON.stringify(t,v)),t=t._prev;return"["+n.join(", ")+"]"}}function h(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function v(n,e){if("_next"!==n&&"_prev"!==n)return e}var Z=u.Z(1);function l(n,e,t,o,i){var u=i?[]:void 0;return r.Z(n.inEdges(o.v),(function(r){var o=n.edge(r),a=n.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,g(e,t,a)})),r.Z(n.outEdges(o.v),(function(r){var o=n.edge(r),i=r.w,u=n.node(i);u.in-=o,g(e,t,u)})),n.removeNode(o.v),u}function g(n,e,t){t.out?t.in?n[t.out-t.in+e].enqueue(t):n[n.length-1].enqueue(t):n[0].enqueue(t)}function p(n){var e="greedy"===n.graph().acyclicer?function(n,e){if(n.nodeCount()<=1)return[];var t=function(n,e){var t=new s.k,o=0,i=0;r.Z(n.nodes(),(function(n){t.setNode(n,{v:n,in:0,out:0})})),r.Z(n.edges(),(function(n){var r=t.edge(n.v,n.w)||0,u=e(n),a=r+u;t.setEdge(n.v,n.w,a),i=Math.max(i,t.node(n.v).out+=u),o=Math.max(o,t.node(n.w).in+=u)}));var u=f.Z(i+o+3).map((function(){return new d})),a=o+1;return r.Z(t.nodes(),(function(n){g(u,a,t.node(n))})),{graph:t,buckets:u,zeroIdx:a}}(n,e||Z),o=function(n,e,t){for(var r,o=[],i=e[e.length-1],u=e[0];n.nodeCount();){for(;r=u.dequeue();)l(n,e,t,r);for(;r=i.dequeue();)l(n,e,t,r);if(n.nodeCount())for(var a=e.length-2;a>0;--a)if(r=e[a].dequeue()){o=o.concat(l(n,e,t,r,!0));break}}return o}(t.graph,t.buckets,t.zeroIdx);return a.Z(c.Z(o,(function(e){return n.outEdges(e.v,e.w)})))}(n,function(n){return function(e){return n.edge(e).weight}}(n)):function(n){var e=[],t={},o={};return r.Z(n.nodes(),(function u(a){i.Z(o,a)||(o[a]=!0,t[a]=!0,r.Z(n.outEdges(a),(function(n){i.Z(t,n.w)?e.push(n):u(n.w)})),delete t[a])})),e}(n);r.Z(e,(function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,o.Z("rev"))}))}var b,w=t(5365),y=t(4752),m=t(9651),_=function(n,e,t){(void 0!==t&&!(0,m.Z)(n[e],t)||void 0===t&&!(e in n))&&(0,y.Z)(n,e,t)},j=t(5381),E=t(1050),k=t(2701),x=t(7215),N=t(5418),O=t(4732),C=t(7771),I=t(836),L=t(6706),M=t(3234),A=t(7226),P=t(7514),S=t(7212),R=function(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]},T=t(1899),F=t(7590),D=function(n,e,t,r,o,i,u){var a,c=R(n,t),f=R(e,t),s=u.get(f);if(s)_(n,t,s);else{var d=i?i(c,f,t+"",n,e,u):void 0,h=void 0===d;if(h){var v=(0,C.Z)(f),Z=!v&&(0,L.Z)(f),l=!v&&!Z&&(0,S.Z)(f);d=f,v||Z||l?(0,C.Z)(c)?d=c:(0,I.Z)(c)?d=(0,x.Z)(c):Z?(h=!1,d=(0,E.Z)(f,!0)):l?(h=!1,d=(0,k.Z)(f,!0)):d=[]:(0,P.Z)(f)||(0,O.Z)(f)?(d=c,(0,O.Z)(c)?(a=c,d=(0,T.Z)(a,(0,F.Z)(a))):(0,A.Z)(c)&&!(0,M.Z)(c)||(d=(0,N.Z)(f))):h=!1}h&&(u.set(f,d),o(d,f,r,i,u),u.delete(f)),_(n,t,d)}},z=function n(e,t,r,o,i){e!==t&&(0,j.Z)(t,(function(u,a){if(i||(i=new w.Z),(0,A.Z)(u))D(e,t,a,r,n,o,i);else{var c=o?o(R(e,a),u,a+"",e,t,i):void 0;void 0===c&&(c=u),_(e,a,c)}}),F.Z)},B=t(9581),G=t(439),V=(b=function(n,e,t){z(n,e,t)},(0,B.Z)((function(n,e){var t=-1,r=e.length,o=r>1?e[r-1]:void 0,i=r>2?e[2]:void 0;for(o=b.length>3&&"function"==typeof o?(r--,o):void 0,i&&(0,G.Z)(e[0],e[1],i)&&(o=r<3?void 0:o,r=1),n=Object(n);++te},K=t(9203),W=function(n){return n&&n.length?$(n,K.Z,J):void 0},H=function(n){var e=null==n?0:n.length;return e?n[e-1]:void 0},Q=t(2693),X=t(7058),nn=function(n,e){var t={};return e=(0,X.Z)(e,3),(0,Q.Z)(n,(function(n,r,o){(0,y.Z)(t,r,e(n,r,o))})),t},en=t(9360),tn=function(n,e){return nMath.abs(u)*f?(a<0&&(f=-f),t=f*u/a,r=f):(u<0&&(c=-c),t=c,r=c*a/u),{x:o+t,y:i+r}}function sn(n){var e=c.Z(f.Z(hn(n)+1),(function(){return[]}));return r.Z(n.nodes(),(function(t){var r=n.node(t),o=r.rank;en.Z(o)||(e[o][r.order]=t)})),e}function dn(n,e,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),an(n,"border",o,e)}function hn(n){return W(c.Z(n.nodes(),(function(e){var t=n.node(e).rank;if(!en.Z(t))return t})))}function vn(n,e){var t=un();try{return e()}finally{console.log(n+" time: "+(un()-t)+"ms")}}function Zn(n,e){return e()}function ln(n,e,t,r,o,i){var u={width:0,height:0,rank:i,borderType:e},a=o[e][i-1],c=an(n,"border",u,t);o[e][i]=c,n.setParent(c,r),a&&n.setEdge(a,c,{weight:1})}function gn(n){r.Z(n.nodes(),(function(e){pn(n.node(e))})),r.Z(n.edges(),(function(e){pn(n.edge(e))}))}function pn(n){var e=n.width;n.width=n.height,n.height=e}function bn(n){n.y=-n.y}function wn(n){var e=n.x;n.x=n.y,n.y=e}var yn=function(n,e){return n&&n.length?$(n,(0,X.Z)(e,2),tn):void 0};function mn(n){var e={};r.Z(n.sources(),(function t(r){var o=n.node(r);if(i.Z(e,r))return o.rank;e[r]=!0;var u=rn(c.Z(n.outEdges(r),(function(e){return t(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))}function _n(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function jn(n){var e,t,r=new s.k({directed:!1}),o=n.nodes()[0],i=n.nodeCount();for(r.setNode(o,{});En(r,n)-1?r[o?n[i]:i]:void 0}),Pn=t(2489);u.Z(1),u.Z(1),t(8448),t(6155),t(1922),t(8533),(0,t(4193).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Sn="\\ud800-\\udfff",Rn="["+Sn+"]",Tn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Fn="\\ud83c[\\udffb-\\udfff]",Dn="[^"+Sn+"]",zn="(?:\\ud83c[\\udde6-\\uddff]){2}",Bn="[\\ud800-\\udbff][\\udc00-\\udfff]",Gn="(?:"+Tn+"|"+Fn+")?",Vn="[\\ufe0e\\ufe0f]?",Un=Vn+Gn+"(?:\\u200d(?:"+[Dn,zn,Bn].join("|")+")"+Vn+Gn+")*",qn="(?:"+[Dn+Tn+"?",Tn,zn,Bn,Rn].join("|")+")";function Yn(n,e,t){C.Z(e)||(e=[e]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return r.Z(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);$n(n,e,"post"===t,u,o,i)})),i}function $n(n,e,t,o,u,a){i.Z(o,e)||(o[e]=!0,t||a.push(e),r.Z(u(e),(function(e){$n(n,e,t,o,u,a)})),t&&a.push(e))}function Jn(n){n=function(n){var e=(new s.k).setGraph(n.graph());return r.Z(n.nodes(),(function(t){e.setNode(t,n.node(t))})),r.Z(n.edges(),(function(t){var r=e.edge(t.v,t.w)||{weight:0,minlen:1},o=n.edge(t);e.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),e}(n),mn(n);var e,t=jn(n);for(Hn(t),Kn(t,n);e=Xn(t);)ee(t,n,e,ne(t,n,e))}function Kn(n,e){var t=function(n,e){return Yn(n,e,"post")}(n,n.nodes());t=t.slice(0,t.length-1),r.Z(t,(function(t){!function(n,e,t){var r=n.node(t).parent;n.edge(t,r).cutvalue=Wn(n,e,t)}(n,e,t)}))}function Wn(n,e,t){var o=n.node(t).parent,i=!0,u=e.edge(t,o),a=0;return u||(i=!1,u=e.edge(o,t)),a=u.weight,r.Z(e.nodeEdges(t),(function(r){var u,c,f=r.v===t,s=f?r.w:r.v;if(s!==o){var d=f===i,h=e.edge(r).weight;if(a+=d?h:-h,u=t,c=s,n.hasEdge(u,c)){var v=n.edge(t,s).cutvalue;a+=d?-v:v}}})),a}function Hn(n,e){arguments.length<2&&(e=n.nodes()[0]),Qn(n,{},1,e)}function Qn(n,e,t,o,u){var a=t,c=n.node(o);return e[o]=!0,r.Z(n.neighbors(o),(function(r){i.Z(e,r)||(t=Qn(n,e,t,r,o))})),c.low=a,c.lim=t++,u?c.parent=u:delete c.parent,t}function Xn(n){return An(n.edges(),(function(e){return n.edge(e).cutvalue<0}))}function ne(n,e,t){var r=t.v,o=t.w;e.hasEdge(r,o)||(r=t.w,o=t.v);var i=n.node(r),u=n.node(o),a=i,c=!1;i.lim>u.lim&&(a=u,c=!0);var f=Pn.Z(e.edges(),(function(e){return c===te(0,n.node(e.v),a)&&c!==te(0,n.node(e.w),a)}));return yn(f,(function(n){return _n(e,n)}))}function ee(n,e,t,o){var i=t.v,u=t.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),Hn(n),Kn(n,e),function(n,e){var t=An(n.nodes(),(function(n){return!e.node(n).parent})),o=function(n,e){return Yn(n,e,"pre")}(n,t);o=o.slice(1),r.Z(o,(function(t){var r=n.node(t).parent,o=e.edge(t,r),i=!1;o||(o=e.edge(r,t),i=!0),e.node(t).rank=e.node(r).rank+(i?o.minlen:-o.minlen)}))}(n,e)}function te(n,e,t){return t.low<=e.lim&&e.lim<=t.lim}function re(n){switch(n.graph().ranker){case"network-simplex":default:!function(n){Jn(n)}(n);break;case"tight-tree":!function(n){mn(n),jn(n)}(n);break;case"longest-path":oe(n)}}RegExp(Fn+"(?="+Fn+")|"+qn+Un,"g"),new Error,t(5351),Jn.initLowLimValues=Hn,Jn.initCutValues=Kn,Jn.calcCutValue=Wn,Jn.leaveEdge=Xn,Jn.enterEdge=ne,Jn.exchangeEdges=ee;var oe=mn;var ie=t(4657),ue=t(4283);function ae(n){var e=an(n,"root",{},"_root"),t=function(n){var e={};function t(o,i){var u=n.children(o);u&&u.length&&r.Z(u,(function(n){t(n,i+1)})),e[o]=i}return r.Z(n.children(),(function(n){t(n,1)})),e}(n),o=W(ie.Z(t))-1,i=2*o+1;n.graph().nestingRoot=e,r.Z(n.edges(),(function(e){n.edge(e).minlen*=i}));var u=function(n){return ue.Z(n.edges(),(function(e,t){return e+n.edge(t).weight}),0)}(n)+1;r.Z(n.children(),(function(r){ce(n,e,i,u,o,t,r)})),n.graph().nodeRankFactor=i}function ce(n,e,t,o,i,u,a){var c=n.children(a);if(c.length){var f=dn(n,"_bt"),s=dn(n,"_bb"),d=n.node(a);n.setParent(f,a),d.borderTop=f,n.setParent(s,a),d.borderBottom=s,r.Z(c,(function(r){ce(n,e,t,o,i,u,r);var c=n.node(r),d=c.borderTop?c.borderTop:r,h=c.borderBottom?c.borderBottom:r,v=c.borderTop?o:2*o,Z=d!==h?1:i-u[a]+1;n.setEdge(f,d,{weight:v,minlen:Z,nestingEdge:!0}),n.setEdge(h,s,{weight:v,minlen:Z,nestingEdge:!0})})),n.parent(a)||n.setEdge(e,f,{weight:0,minlen:i+u[a]})}else a!==e&&n.setEdge(e,a,{weight:0,minlen:t})}var fe=t(9103),se=function(n){return(0,fe.Z)(n,5)};var de=t(2954),he=function(n,e){return function(n,e,t){for(var r=-1,o=n.length,i=e.length,u={};++re||i&&u&&c&&!a&&!f||r&&u&&c||!t&&c||!o)return 1;if(!r&&!i&&!f&&n=a?c:c*("desc"==t[r]?-1:1)}return n.index-e.index}(n,e,t)}))},ye=(0,B.Z)((function(n,e){if(null==n)return[];var t=e.length;return t>1&&(0,G.Z)(n,e[0],e[1])?e=[]:t>2&&(0,G.Z)(e[0],e[1],e[2])&&(e=[e[0]]),we(n,(0,ve.Z)(e,1),[])}));function me(n,e){for(var t=0,r=1;r0;)e%2&&(t+=s[e+1]),s[e=e-1>>1]+=n.weight;d+=n.weight*t}))),d}function je(n,e){var t,o=function(n,e){var t={lhs:[],rhs:[]};return r.Z(n,(function(n){var e;e=n,i.Z(e,"barycenter")?t.lhs.push(n):t.rhs.push(n)})),t}(n),u=o.lhs,c=ye(o.rhs,(function(n){return-n.i})),f=[],s=0,d=0,h=0;u.sort((t=!!e,function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.i})),h=Ee(f,c,h),r.Z(u,(function(n){h+=n.vs.length,f.push(n.vs),s+=n.barycenter*n.weight,d+=n.weight,h=Ee(f,c,h)}));var v={vs:a.Z(f)};return d&&(v.barycenter=s/d,v.weight=d),v}function Ee(n,e,t){for(var r;e.length&&(r=H(e)).i<=t;)e.pop(),n.push(r.vs),t++;return t}function ke(n,e,t,o){var u=n.children(e),f=n.node(e),s=f?f.borderLeft:void 0,d=f?f.borderRight:void 0,h={};s&&(u=Pn.Z(u,(function(n){return n!==s&&n!==d})));var v=function(n,e){return c.Z(e,(function(e){var t=n.inEdges(e);if(t.length){var r=ue.Z(t,(function(e,t){var r=n.edge(t),o=n.node(t.v);return{sum:e.sum+r.weight*o.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}(n,u);r.Z(v,(function(e){if(n.children(e.v).length){var r=ke(n,e.v,t,o);h[e.v]=r,i.Z(r,"barycenter")&&(u=e,a=r,en.Z(u.barycenter)?(u.barycenter=a.barycenter,u.weight=a.weight):(u.barycenter=(u.barycenter*u.weight+a.barycenter*a.weight)/(u.weight+a.weight),u.weight+=a.weight))}var u,a}));var Z=function(n,e){var t={};return r.Z(n,(function(n,e){var r=t[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};en.Z(n.barycenter)||(r.barycenter=n.barycenter,r.weight=n.weight)})),r.Z(e.edges(),(function(n){var e=t[n.v],r=t[n.w];en.Z(e)||en.Z(r)||(r.indegree++,e.out.push(t[n.w]))})),function(n){var e=[];function t(n){return function(e){var t,r,o,i;e.merged||(en.Z(e.barycenter)||en.Z(n.barycenter)||e.barycenter>=n.barycenter)&&(r=e,o=0,i=0,(t=n).weight&&(o+=t.barycenter*t.weight,i+=t.weight),r.weight&&(o+=r.barycenter*r.weight,i+=r.weight),t.vs=r.vs.concat(t.vs),t.barycenter=o/i,t.weight=i,t.i=Math.min(r.i,t.i),r.merged=!0)}}function o(e){return function(t){t.in.push(e),0==--t.indegree&&n.push(t)}}for(;n.length;){var i=n.pop();e.push(i),r.Z(i.in.reverse(),t(i)),r.Z(i.out,o(i))}return c.Z(Pn.Z(e,(function(n){return!n.merged})),(function(n){return U.Z(n,["vs","i","barycenter","weight"])}))}(Pn.Z(t,(function(n){return!n.indegree})))}(v,t);!function(n,e){r.Z(n,(function(n){n.vs=a.Z(n.vs.map((function(n){return e[n]?e[n].vs:n})))}))}(Z,h);var l=je(Z,o);if(s&&(l.vs=a.Z([s,l.vs,d]),n.predecessors(s).length)){var g=n.node(n.predecessors(s)[0]),p=n.node(n.predecessors(d)[0]);i.Z(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+g.order+p.order)/(l.weight+2),l.weight+=2}return l}function xe(n,e,t){return c.Z(e,(function(e){return function(n,e,t){var u=function(n){for(var e;n.hasNode(e=o.Z("_root")););return e}(n),a=new s.k({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(e){return n.node(e)}));return r.Z(n.nodes(),(function(o){var c=n.node(o),f=n.parent(o);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(a.setNode(o),a.setParent(o,f||u),r.Z(n[t](o),(function(e){var t=e.v===o?e.w:e.v,r=a.edge(t,o),i=en.Z(r)?0:r.weight;a.setEdge(t,o,{weight:n.edge(e).weight+i})})),i.Z(c,"minRank")&&a.setNode(o,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),a}(n,e,t)}))}function Ne(n,e){var t=new s.k;r.Z(n,(function(n){var o=n.graph().root,i=ke(n,o,t,e);r.Z(i.vs,(function(e,t){n.node(e).order=t})),function(n,e,t){var o,i={};r.Z(t,(function(t){for(var r,u,a=n.parent(t);a;){if((r=n.parent(a))?(u=i[r],i[r]=a):(u=o,o=a),u&&u!==a)return void e.setEdge(u,a);a=r}}))}(n,t,i.vs)}))}function Oe(n,e){r.Z(e,(function(e){r.Z(e,(function(e,t){n.node(e).order=t}))}))}var Ce=t(8882),Ie=function(n,e){return n&&(0,Q.Z)(n,(0,Ce.Z)(e))},Le=function(n,e){return null==n?n:(0,j.Z)(n,(0,Ce.Z)(e),F.Z)};function Me(n,e,t){if(e>t){var r=e;e=t,t=r}var o=n[e];o||(n[e]=o={}),o[t]=!0}function Ae(n,e,t){if(e>t){var r=e;e=t,t=r}return i.Z(n[e],t)}function Pe(n){var e,t=sn(n),o=V(function(n,e){var t={};return ue.Z(e,(function(e,o){var i=0,u=0,a=e.length,c=H(o);return r.Z(o,(function(e,f){var s=function(n,e){if(n.node(e).dummy)return An(n.predecessors(e),(function(e){return n.node(e).dummy}))}(n,e),d=s?n.node(s).order:a;(s||e===c)&&(r.Z(o.slice(u,f+1),(function(e){r.Z(n.predecessors(e),(function(r){var o=n.node(r),u=o.order;!(ua)&&Me(t,e,c)}))}))}return ue.Z(e,(function(e,t){var i,u=-1,a=0;return r.Z(t,(function(r,c){if("border"===n.node(r).dummy){var f=n.predecessors(r);f.length&&(i=n.node(f[0]).order,o(t,a,c,u,i),a=c,u=i)}o(t,a,t.length,i,e.length)})),t})),t}(n,t)),u={};r.Z(["u","d"],(function(a){e="u"===a?t:ie.Z(t).reverse(),r.Z(["l","r"],(function(t){"r"===t&&(e=c.Z(e,(function(n){return ie.Z(n).reverse()})));var f=("u"===a?n.predecessors:n.successors).bind(n),d=function(n,e,t,o){var i={},u={},a={};return r.Z(e,(function(n){r.Z(n,(function(n,e){i[n]=n,u[n]=n,a[n]=e}))})),r.Z(e,(function(n){var e=-1;r.Z(n,(function(n){var r=o(n);if(r.length){r=ye(r,(function(n){return a[n]}));for(var c=(r.length-1)/2,f=Math.floor(c),s=Math.ceil(c);f<=s;++f){var d=r[f];u[n]===n&&ec||f>e[o].lim));for(i=o,o=r;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,c=0,f=u[c],s=!0;t!==o.w;){if(r=n.node(t),s){for(;(f=u[c])!==a&&n.node(f).maxRank=2);var v=me(n,u=sn(n));v-1},p=function(n,e,t){for(var r=-1,o=null==n?0:n.length;++r=200){var f=e?null:_(n);if(f)return(0,y.Z)(f);u=!1,o=b.Z,c=new v.Z}else c=e?[]:a;n:for(;++r1?r.setNode(n,e):r.setNode(n)})),this}setNode(n,e){return r.Z(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=e),this):(this._nodes[n]=arguments.length>1?e:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=O,this._children[n]={},this._children[O][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return r.Z(this._nodes,n)}removeNode(n){var e=this;if(r.Z(this._nodes,n)){var t=function(n){e.removeEdge(e._edgeObjs[n])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],f.Z(this.children(n),(function(n){e.setParent(n)})),delete this._children[n]),f.Z(u.Z(this._in[n]),t),delete this._in[n],delete this._preds[n],f.Z(u.Z(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(s.Z(e))e=O;else{for(var t=e+="";!s.Z(t);t=this.parent(t))if(t===n)throw new Error("Setting "+e+" as parent of "+n+" would create a cycle");this.setNode(e)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=e,this._children[e][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var e=this._parent[n];if(e!==O)return e}}children(n){if(s.Z(n)&&(n=O),this._isCompound){var e=this._children[n];if(e)return u.Z(e)}else{if(n===O)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var e=this._preds[n];if(e)return u.Z(e)}successors(n){var e=this._sucs[n];if(e)return u.Z(e)}neighbors(n){var e=this.predecessors(n);if(e)return E(e,this.successors(n))}isLeaf(n){return 0===(this.isDirected()?this.successors(n):this.neighbors(n)).length}filterNodes(n){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var t=this;f.Z(this._nodes,(function(t,r){n(r)&&e.setNode(r,t)})),f.Z(this._edgeObjs,(function(n){e.hasNode(n.v)&&e.hasNode(n.w)&&e.setEdge(n,t.edge(n))}));var r={};function o(n){var i=t.parent(n);return void 0===i||e.hasNode(i)?(r[n]=i,i):i in r?r[i]:o(i)}return this._isCompound&&f.Z(e.nodes(),(function(n){e.setParent(n,o(n))})),e}setDefaultEdgeLabel(n){return i.Z(n)||(n=o.Z(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return k.Z(this._edgeObjs)}setPath(n,e){var t=this,r=arguments;return x.Z(n,(function(n,o){return r.length>1?t.setEdge(n,o,e):t.setEdge(n,o),o})),this}setEdge(){var n,e,t,o,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(n=u.v,e=u.w,t=u.name,2===arguments.length&&(o=arguments[1],i=!0)):(n=u,e=arguments[1],t=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),n=""+n,e=""+e,s.Z(t)||(t=""+t);var a=A(this._isDirected,n,e,t);if(r.Z(this._edgeLabels,a))return i&&(this._edgeLabels[a]=o),this;if(!s.Z(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(e),this._edgeLabels[a]=i?o:this._defaultEdgeLabelFn(n,e,t);var c=function(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,n,e,t);return n=c.v,e=c.w,Object.freeze(c),this._edgeObjs[a]=c,L(this._preds[e],n),L(this._sucs[n],e),this._in[e][a]=c,this._out[n][a]=c,this._edgeCount++,this}edge(n,e,t){var r=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return this._edgeLabels[r]}hasEdge(n,e,t){var o=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t);return r.Z(this._edgeLabels,o)}removeEdge(n,e,t){var r=1===arguments.length?P(this._isDirected,arguments[0]):A(this._isDirected,n,e,t),o=this._edgeObjs[r];return o&&(n=o.v,e=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],M(this._preds[e],n),M(this._sucs[n],e),delete this._in[e][r],delete this._out[n][r],this._edgeCount--),this}inEdges(n,e){var t=this._in[n];if(t){var r=k.Z(t);return e?a.Z(r,(function(n){return n.v===e})):r}}outEdges(n,e){var t=this._out[n];if(t){var r=k.Z(t);return e?a.Z(r,(function(n){return n.w===e})):r}}nodeEdges(n,e){var t=this.inEdges(n,e);if(t)return t.concat(this.outEdges(n,e))}}function L(n,e){n[e]?n[e]++:n[e]=1}function M(n,e){--n[e]||delete n[e]}function A(n,e,t,r){var o=""+e,i=""+t;if(!n&&o>i){var u=o;o=i,i=u}return o+C+i+C+(s.Z(r)?N:r)}function P(n,e){return A(n,e.v,e.w,e.name)}I.prototype._nodeCount=0,I.prototype._edgeCount=0},5625:function(n,e,t){t.d(e,{k:function(){return r.k}});var r=t(5351)},5084:function(n,e,t){t.d(e,{Z:function(){return i}});var r=t(520);function o(n){var e=-1,t=null==n?0:n.length;for(this.__data__=new r.Z;++e0&&o(s)?t>1?n(s,t-1,o,i,u):(0,r.Z)(u,s):i||(u[u.length]=s)}return u}},5381:function(n,e,t){t.d(e,{Z:function(){return r}});var r=function(n,e,t){for(var r=-1,o=Object(n),i=t(n),u=i.length;u--;){var a=i[++r];if(!1===e(o[a],a,o))break}return n}},2693:function(n,e,t){var r=t(5381),o=t(7179);e.Z=function(n,e){return n&&(0,r.Z)(n,e,o.Z)}},3317:function(n,e,t){var r=t(1036),o=t(2656);e.Z=function(n,e){for(var t=0,i=(e=(0,r.Z)(e,n)).length;null!=n&&ts))return!1;var h=c.get(n),v=c.get(e);if(h&&v)return h==e&&v==n;var Z=-1,l=!0,g=2&t?new o.Z:void 0;for(c.set(n,e),c.set(e,n);++Z-1&&n%1==0&&n0){if(++o>=800)return arguments[0]}else o=0;return r.apply(void 0,arguments)})},2656:function(n,e,t){var r=t(2714);e.Z=function(n){if("string"==typeof n||(0,r.Z)(n))return n;var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},2002:function(n,e){e.Z=function(n){return function(){return n}}},3688:function(n,e,t){var r=t(9581),o=t(9651),i=t(439),u=t(7590),a=Object.prototype,c=a.hasOwnProperty,f=(0,r.Z)((function(n,e){n=Object(n);var t=-1,r=e.length,f=r>2?e[2]:void 0;for(f&&(0,i.Z)(e[0],e[1],f)&&(r=1);++t0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,u=e.algorithms,o=void 0===u?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:u,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:o}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,u=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:u}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){"use strict";var e;function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function I(){}function C(){}function O(){}function A(){}function $(){}function L(){}function N(){}function x(){}function D(){}function R(){}function K(){}function _(){}function F(){}function B(){}function H(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function Y(){}function J(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function un(){}function on(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function vn(){}function mn(){}function yn(){}function kn(){}function jn(){}function En(){}function Tn(){}function Mn(){}function Sn(){}function Pn(){}function In(){}function Cn(){}function On(){}function An(){}function $n(){}function Ln(){}function Nn(){}function xn(){}function Dn(){}function Rn(){}function Kn(){}function _n(){}function Fn(){}function Bn(){}function Hn(){}function qn(){}function Gn(){}function zn(){}function Un(){}function Xn(){}function Wn(){}function Vn(){}function Qn(){}function Yn(){}function Jn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ut(){}function ot(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function vt(){}function mt(){}function yt(){}function kt(){}function jt(){}function Et(){}function Tt(){}function Mt(){}function St(){}function Pt(){}function It(){}function Ct(){}function Ot(){}function At(){}function $t(){}function Lt(){}function Nt(){}function xt(){}function Dt(){}function Rt(){}function Kt(){}function _t(){}function Ft(){}function Bt(){}function Ht(){}function qt(){}function Gt(){}function zt(){}function Ut(){}function Xt(){}function Wt(){}function Vt(){}function Qt(){}function Yt(){}function Jt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function ue(){}function oe(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function ve(){}function me(){}function ye(){}function ke(){}function je(){}function Ee(){}function Te(){}function Me(){}function Se(){}function Pe(){}function Ie(){}function Ce(){}function Oe(){}function Ae(){}function $e(){}function Le(){}function Ne(){}function xe(){}function De(){}function Re(){}function Ke(){}function _e(){}function Fe(){}function Be(){}function He(){}function qe(){}function Ge(){}function ze(){}function Ue(){}function Xe(){}function We(){}function Ve(){}function Qe(){}function Ye(){}function Je(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function ui(){}function oi(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function vi(){}function mi(){}function yi(){}function ki(){}function ji(){}function Ei(){}function Ti(){}function Mi(){}function Si(){}function Pi(){}function Ii(){}function Ci(){}function Oi(){}function Ai(){}function $i(){}function Li(){}function Ni(){}function xi(){}function Di(){}function Ri(){}function Ki(){}function _i(){}function Fi(){}function Bi(){}function Hi(){}function qi(){}function Gi(){}function zi(){}function Ui(){}function Xi(){}function Wi(){}function Vi(){}function Qi(){}function Yi(){}function Ji(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function ur(){}function or(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function vr(){}function mr(){}function yr(){}function kr(){}function jr(){}function Er(){}function Tr(){}function Mr(){}function Sr(){}function Pr(){}function Ir(){}function Cr(){}function Or(){}function Ar(){}function $r(){}function Lr(){}function Nr(){}function xr(){}function Dr(){}function Rr(){}function Kr(){}function _r(){}function Fr(){}function Br(){}function Hr(){}function qr(){}function Gr(){}function zr(){}function Ur(){}function Xr(){}function Wr(){}function Vr(){}function Qr(){}function Yr(){}function Jr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function uc(){}function oc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function vc(){}function mc(){}function yc(){}function kc(){}function jc(){}function Ec(){}function Tc(){}function Mc(){}function Sc(){}function Pc(){}function Ic(){}function Cc(){}function Oc(){}function Ac(){}function $c(){}function Lc(){}function Nc(){}function xc(){}function Dc(){}function Rc(){}function Kc(){}function _c(){}function Fc(){}function Bc(){}function Hc(){}function qc(){}function Gc(){}function zc(){}function Uc(){}function Xc(){}function Wc(){}function Vc(){}function Qc(){}function Yc(){}function Jc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function ua(){}function oa(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function va(){}function ma(){}function ya(){}function ka(){}function ja(){}function Ea(){}function Ta(){}function Ma(){}function Sa(){}function Pa(){}function Ia(){}function Ca(){}function Oa(){}function Aa(){}function $a(){}function La(){}function Na(){}function xa(){}function Da(){}function Ra(){}function Ka(){}function _a(){}function Fa(){}function Ba(){}function Ha(){}function qa(){}function Ga(){}function za(){}function Ua(){}function Xa(){}function Wa(){}function Va(){}function Qa(){}function Ya(){}function Ja(){}function Za(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function uu(){}function ou(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function vu(){}function mu(){}function yu(){}function ku(){}function ju(){}function Eu(){}function Tu(){}function Mu(){}function Su(){}function Pu(){}function Iu(){}function Cu(){}function Ou(){}function Au(){}function $u(){}function Lu(){}function Nu(){}function xu(){}function Du(){}function Ru(){}function Ku(){}function _u(){}function Fu(){}function Bu(){}function Hu(){}function qu(){}function Gu(){}function zu(){}function Uu(){}function Xu(){}function Wu(){}function Vu(){}function Qu(){}function Yu(){}function Ju(){}function Zu(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function uo(){}function oo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function vo(){}function mo(){}function yo(){}function ko(){}function jo(){}function Eo(){}function To(){}function Mo(){}function So(){}function Po(){}function Io(){}function Co(){}function Oo(){}function Ao(){}function $o(){}function Lo(){}function No(){}function xo(){}function Do(){}function Ro(){}function Ko(){}function _o(){}function Fo(){}function Bo(){}function Ho(){}function qo(){}function Go(){}function zo(){}function Uo(){}function Xo(){}function Wo(){}function Vo(){}function Qo(){}function Yo(){}function Jo(){}function Zo(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function us(){}function os(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function vs(){}function ms(){}function ys(){}function ks(){}function js(){}function Es(){}function Ts(){}function Ms(){}function Ss(){}function Ps(){}function Is(){}function Cs(){}function Os(){}function As(){}function $s(){}function Ls(){}function Ns(){}function xs(){}function Ds(){}function Rs(){}function Ks(){}function _s(){}function Fs(){}function Bs(){}function Hs(){}function qs(){}function Gs(){}function zs(){}function Us(){}function Xs(){}function Ws(){}function Vs(){}function Qs(){}function Ys(){}function Js(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function uh(){}function oh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function vh(){}function mh(){}function yh(){}function kh(){}function jh(){}function Eh(){}function Th(){}function Mh(){}function Sh(){}function Ph(){}function Ih(){}function Ch(){}function Oh(){}function Ah(){}function $h(){}function Lh(){}function Nh(){}function xh(){}function Dh(){}function Rh(){}function Kh(){}function _h(){gm()}function Fh(){O6()}function Bh(){len()}function Hh(){pcn()}function qh(){Eon()}function Gh(){Bdn()}function zh(){Lrn()}function Uh(){Wrn()}function Xh(){QE()}function Wh(){UE()}function Vh(){Ax()}function Qh(){YE()}function Yh(){m2()}function Jh(){ZE()}function Zh(){eQ()}function nf(){P0()}function tf(){uY()}function ef(){oz()}function rf(){A6()}function cf(){Qun()}function af(){I0()}function uf(){gX()}function of(){Ajn()}function sf(){Rrn()}function hf(){sz()}function ff(){gjn()}function lf(){az()}function bf(){C0()}function wf(){e5()}function df(){bz()}function gf(){MY()}function pf(){nT()}function vf(){lln()}function mf(){_rn()}function yf(){b3()}function kf(){Dun()}function jf(){Hdn()}function Ef(){lin()}function Tf(){cln()}function Mf(){i4()}function Sf(){fz()}function Pf(){epn()}function If(){uln()}function Cf(){Jln()}function Of(){IY()}function Af(){Run()}function $f(){Cjn()}function Lf(){L6()}function Nf(){Onn()}function xf(){Jvn()}function Df(){dx()}function Rf(){W2()}function Kf(){Fpn()}function _f(n){vB(n)}function Ff(n){this.a=n}function Bf(n){this.a=n}function Hf(n){this.a=n}function qf(n){this.a=n}function Gf(n){this.a=n}function zf(n){this.a=n}function Uf(n){this.a=n}function Xf(n){this.a=n}function Wf(n){this.a=n}function Vf(n){this.a=n}function Qf(n){this.a=n}function Yf(n){this.a=n}function Jf(n){this.a=n}function Zf(n){this.a=n}function nl(n){this.a=n}function tl(n){this.a=n}function el(n){this.a=n}function il(n){this.a=n}function rl(n){this.a=n}function cl(n){this.a=n}function al(n){this.a=n}function ul(n){this.b=n}function ol(n){this.c=n}function sl(n){this.a=n}function hl(n){this.a=n}function fl(n){this.a=n}function ll(n){this.a=n}function bl(n){this.a=n}function wl(n){this.a=n}function dl(n){this.a=n}function gl(n){this.a=n}function pl(n){this.a=n}function vl(n){this.a=n}function ml(n){this.a=n}function yl(n){this.a=n}function kl(n){this.a=n}function jl(n){this.a=n}function El(n){this.a=n}function Tl(n){this.a=n}function Ml(n){this.a=n}function Sl(){this.a=[]}function Pl(n,t){n.a=t}function Il(n,t){n.j=t}function Cl(n,t){n.c=t}function Ol(n,t){n.d=t}function Al(n,t){n.k=t}function $l(n,t){n.c=t}function Ll(n,t){n.a=t}function Nl(n,t){n.a=t}function xl(n,t){n.f=t}function Dl(n,t){n.a=t}function Rl(n,t){n.b=t}function Kl(n,t){n.d=t}function _l(n,t){n.i=t}function Fl(n,t){n.o=t}function Bl(n,t){n.e=t}function Hl(n,t){n.g=t}function ql(n,t){n.e=t}function Gl(n,t){n.f=t}function zl(n,t){n.f=t}function Ul(n,t){n.n=t}function Xl(n){n.b=n.a}function Wl(n){n.c=n.d.d}function Vl(n){this.d=n}function Ql(n){this.a=n}function Yl(n){this.a=n}function Jl(n){this.a=n}function Zl(n){this.a=n}function nb(n){this.a=n}function tb(n){this.a=n}function eb(n){this.a=n}function ib(n){this.a=n}function rb(n){this.a=n}function cb(n){this.a=n}function ab(n){this.a=n}function ub(n){this.a=n}function ob(n){this.a=n}function sb(n){this.a=n}function hb(n){this.b=n}function fb(n){this.b=n}function lb(n){this.b=n}function bb(n){this.a=n}function wb(n){this.a=n}function db(n){this.a=n}function gb(n){this.c=n}function pb(n){this.c=n}function vb(n){this.c=n}function mb(n){this.a=n}function yb(n){this.a=n}function kb(n){this.a=n}function jb(n){this.a=n}function Eb(n){this.a=n}function Tb(n){this.a=n}function Mb(n){this.a=n}function Sb(n){this.a=n}function Pb(n){this.a=n}function Ib(n){this.a=n}function Cb(n){this.a=n}function Ob(n){this.a=n}function Ab(n){this.a=n}function $b(n){this.a=n}function Lb(n){this.a=n}function Nb(n){this.a=n}function xb(n){this.a=n}function Db(n){this.a=n}function Rb(n){this.a=n}function Kb(n){this.a=n}function _b(n){this.a=n}function Fb(n){this.a=n}function Bb(n){this.a=n}function Hb(n){this.a=n}function qb(n){this.a=n}function Gb(n){this.a=n}function zb(n){this.a=n}function Ub(n){this.a=n}function Xb(n){this.a=n}function Wb(n){this.a=n}function Vb(n){this.a=n}function Qb(n){this.a=n}function Yb(n){this.a=n}function Jb(n){this.a=n}function Zb(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function uw(n){this.a=n}function ow(n){this.a=n}function sw(n){this.a=n}function hw(n){this.e=n}function fw(n){this.a=n}function lw(n){this.a=n}function bw(n){this.a=n}function ww(n){this.a=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.a=n}function vw(n){this.a=n}function mw(n){this.a=n}function yw(n){this.a=n}function kw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Tw(n){this.a=n}function Mw(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Iw(n){this.a=n}function Cw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function $w(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function xw(n){this.a=n}function Dw(n){this.a=n}function Rw(n){this.a=n}function Kw(n){this.a=n}function _w(n){this.a=n}function Fw(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function qw(n){this.a=n}function Gw(n){this.a=n}function zw(n){this.a=n}function Uw(n){this.a=n}function Xw(n){this.a=n}function Ww(n){this.a=n}function Vw(n){this.a=n}function Qw(n){this.a=n}function Yw(n){this.a=n}function Jw(n){this.a=n}function Zw(n){this.a=n}function nd(n){this.a=n}function td(n){this.a=n}function ed(n){this.a=n}function id(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function ud(n){this.a=n}function od(n){this.a=n}function sd(n){this.a=n}function hd(n){this.c=n}function fd(n){this.b=n}function ld(n){this.a=n}function bd(n){this.a=n}function wd(n){this.a=n}function dd(n){this.a=n}function gd(n){this.a=n}function pd(n){this.a=n}function vd(n){this.a=n}function md(n){this.a=n}function yd(n){this.a=n}function kd(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Td(n){this.a=n}function Md(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Id(n){this.a=n}function Cd(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function $d(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function xd(n){this.a=n}function Dd(n){this.a=n}function Rd(n){this.a=n}function Kd(n){this.a=n}function _d(n){this.a=n}function Fd(n){this.a=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function qd(n){this.a=n}function Gd(n){this.a=n}function zd(n){this.a=n}function Ud(n){this.a=n}function Xd(n){this.a=n}function Wd(n){this.a=n}function Vd(n){this.a=n}function Qd(n){this.a=n}function Yd(n){this.a=n}function Jd(n){this.a=n}function Zd(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function ug(n){this.a=n}function og(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function wg(n){this.a=n}function dg(n){this.a=n}function gg(n){this.a=n}function pg(n){this.a=n}function vg(n){this.a=n}function mg(n){this.a=n}function yg(n){this.a=n}function kg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Tg(n){this.a=n}function Mg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Ig(n){this.a=n}function Cg(n){this.a=n}function Og(n){this.b=n}function Ag(n){this.f=n}function $g(n){this.a=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function xg(n){this.a=n}function Dg(n){this.a=n}function Rg(n){this.a=n}function Kg(n){this.a=n}function _g(n){this.a=n}function Fg(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function qg(n){this.b=n}function Gg(n){this.c=n}function zg(n){this.e=n}function Ug(n){this.a=n}function Xg(n){this.a=n}function Wg(n){this.a=n}function Vg(n){this.a=n}function Qg(n){this.a=n}function Yg(n){this.d=n}function Jg(n){this.a=n}function Zg(n){this.a=n}function np(n){this.e=n}function tp(){this.a=0}function ep(){$C(this)}function ip(){AC(this)}function rp(){U_(this)}function cp(){QB(this)}function ap(){}function up(){this.c=Wat}function op(n,t){n.b+=t}function sp(n){n.b=new gy}function hp(n){return n.e}function fp(n){return n.a}function lp(n){return n.a}function bp(n){return n.a}function wp(n){return n.a}function dp(n){return n.a}function gp(){return null}function pp(){return null}function vp(n,t){n.b=t-n.b}function mp(n,t){n.a=t-n.a}function yp(n,t){t.ad(n.a)}function kp(n,t){n.e=t,t.b=n}function jp(n){px(),this.a=n}function Ep(n){px(),this.a=n}function Tp(n){px(),this.a=n}function Mp(n){VF(),this.a=n}function Sp(n){$q(),p_n.be(n)}function Pp(){OA.call(this)}function Ip(){OA.call(this)}function Cp(){Pp.call(this)}function Op(){Pp.call(this)}function Ap(){Pp.call(this)}function $p(){Pp.call(this)}function Lp(){Pp.call(this)}function Np(){Pp.call(this)}function xp(){Pp.call(this)}function Dp(){Pp.call(this)}function Rp(){Pp.call(this)}function Kp(){Pp.call(this)}function _p(){Pp.call(this)}function Fp(){this.a=this}function Bp(){this.Bb|=256}function Hp(){this.b=new xI}function qp(){qp=O,new rp}function Gp(){Cp.call(this)}function zp(n,t){n.length=t}function Up(n,t){eD(n.a,t)}function Xp(n,t){K3(n.e,t)}function Wp(n){kfn(n.c,n.b)}function Vp(n){this.a=function(n){var t;return(t=gon(n))>34028234663852886e22?JTn:t<-34028234663852886e22?ZTn:t}(n)}function Qp(){this.a=new rp}function Yp(){this.a=new rp}function Jp(){this.a=new ip}function Zp(){this.a=new ip}function nv(){this.a=new ip}function tv(){this.a=new kn}function ev(){this.a=new WV}function iv(){this.a=new bt}function rv(){this.a=new jE}function cv(){this.a=new gU}function av(){this.a=new NG}function uv(){this.a=new aN}function ov(){this.a=new ip}function sv(){this.a=new ip}function hv(){this.a=new ip}function fv(){this.a=new ip}function lv(){this.d=new ip}function bv(){this.a=new Qp}function wv(){this.a=new rp}function dv(){this.b=new rp}function gv(){this.b=new ip}function pv(){this.e=new ip}function vv(){this.d=new ip}function mv(){this.a=new cf}function yv(){ip.call(this)}function kv(){Jp.call(this)}function jv(){sN.call(this)}function Ev(){sv.call(this)}function Tv(){Mv.call(this)}function Mv(){ap.call(this)}function Sv(){ap.call(this)}function Pv(){Sv.call(this)}function Iv(){Eq.call(this)}function Cv(){Eq.call(this)}function Ov(){um.call(this)}function Av(){um.call(this)}function $v(){um.call(this)}function Lv(){om.call(this)}function Nv(){ME.call(this)}function xv(){eo.call(this)}function Dv(){eo.call(this)}function Rv(){bm.call(this)}function Kv(){bm.call(this)}function _v(){rp.call(this)}function Fv(){rp.call(this)}function Bv(){rp.call(this)}function Hv(){Qp.call(this)}function qv(){T0.call(this)}function Gv(){Bp.call(this)}function zv(){zO.call(this)}function Uv(){zO.call(this)}function Xv(){rp.call(this)}function Wv(){rp.call(this)}function Vv(){rp.call(this)}function Qv(){yo.call(this)}function Yv(){yo.call(this)}function Jv(){Qv.call(this)}function Zv(){Dh.call(this)}function nm(n){_Z.call(this,n)}function tm(n){_Z.call(this,n)}function em(n){Wf.call(this,n)}function im(n){tE.call(this,n)}function rm(n){im.call(this,n)}function cm(n){tE.call(this,n)}function am(){this.a=new ME}function um(){this.a=new Qp}function om(){this.a=new rp}function sm(){this.a=new ip}function hm(){this.j=new ip}function fm(){this.a=new Xa}function lm(){this.a=new bj}function bm(){this.a=new mo}function wm(){wm=O,n_n=new Ky}function dm(){dm=O,ZKn=new Ry}function gm(){gm=O,zKn=new c}function pm(){pm=O,a_n=new mA}function vm(n){im.call(this,n)}function mm(n){im.call(this,n)}function ym(n){hW.call(this,n)}function km(n){hW.call(this,n)}function jm(n){ix.call(this,n)}function Em(n){kon.call(this,n)}function Tm(n){rE.call(this,n)}function Mm(n){aE.call(this,n)}function Sm(n){aE.call(this,n)}function Pm(n){aE.call(this,n)}function Im(n){xK.call(this,n)}function Cm(n){Im.call(this,n)}function Om(){Ml.call(this,{})}function Am(n){qO(),this.a=n}function $m(n){n.b=null,n.c=0}function Lm(n,t){n.a=t,function(n){var t,i,r;for(function(n){var t,i,r;for(i=new pb(n.a.a.b);i.a0&&((!lC(n.a.c)||!t.n.d)&&(!bC(n.a.c)||!t.n.b)&&(t.g.d-=e.Math.max(0,r/2-.5)),(!lC(n.a.c)||!t.n.a)&&(!bC(n.a.c)||!t.n.c)&&(t.g.a+=e.Math.max(0,r-1)))}(n),r=new ip,i=new pb(n.a.a.b);i.a0&&((!lC(n.a.c)||!t.n.d)&&(!bC(n.a.c)||!t.n.b)&&(t.g.d+=e.Math.max(0,r/2-.5)),(!lC(n.a.c)||!t.n.a)&&(!bC(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}(n)}(n)}function Nm(n,t,e){n.a[t.g]=e}function xm(n,t,e){!function(n,t,e){var i,r;for(TC(n,n.j+t,n.k+e),r=new UO((!n.a&&(n.a=new XO(Qrt,n,5)),n.a));r.e!=r.i.gc();)yC(i=Yx(hen(r),469),i.a+t,i.b+e);EC(n,n.b+t,n.c+e)}(e,n,t)}function Dm(n,t){!function(n,t){lC(n.f)?function(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new pb(n.d);i.a=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[vMn]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}()}function By(n){return n.a?n.b:0}function Hy(n){return n.a?n.b:0}function qy(n,t){return aJ(n,t)}function Gy(n,t){return qG(n,t)}function zy(n,t){return n.f=t,n}function Uy(n,t){return n.c=t,n}function Xy(n,t){return n.a=t,n}function Wy(n,t){return n.f=t,n}function Vy(n,t){return n.k=t,n}function Qy(n,t){return n.a=t,n}function Yy(n,t){return n.e=t,n}function Jy(n,t){n.b=!0,n.d=t}function Zy(n,t){return n?0:t-1}function nk(n,t){return n.b=t,n}function tk(n,t){return n.a=t,n}function ek(n,t){return n.c=t,n}function ik(n,t){return n.d=t,n}function rk(n,t){return n.e=t,n}function ck(n,t){return n.f=t,n}function ak(n,t){return n.a=t,n}function uk(n,t){return n.b=t,n}function ok(n,t){return n.c=t,n}function sk(n,t){return n.c=t,n}function hk(n,t){return n.b=t,n}function fk(n,t){return n.d=t,n}function lk(n,t){return n.e=t,n}function bk(n,t){return n.g=t,n}function wk(n,t){return n.a=t,n}function dk(n,t){return n.i=t,n}function gk(n,t){return n.j=t,n}function pk(n,t){return n.k=t,n}function vk(n,t,e){!function(n,t,e){__(n,new ZT(t.a,e.a))}(n.a,t,e)}function mk(n){wH.call(this,n)}function yk(n){wH.call(this,n)}function kk(n){ox.call(this,n)}function jk(n){O7.call(this,n)}function Ek(n){FZ.call(this,n)}function Tk(n){KH.call(this,n)}function Mk(n){KH.call(this,n)}function Sk(){sO.call(this,"")}function Pk(){this.a=0,this.b=0}function Ik(){this.b=0,this.a=0}function Ck(n,t){n.b=0,F1(n,t)}function Ok(n,t){return n.c._b(t)}function Ak(n){return n.e&&n.e()}function $k(n){return n?n.d:null}function Lk(n,t){return R8(n.b,t)}function Nk(n){return sL(n),n.o}function xk(){xk=O,Ort=function(){var n,t;Jvn();try{if(t=Yx(Jcn((mT(),aat),xNn),2014))return t}catch(t){if(!CO(t=j4(t),102))throw hp(t);n=t,AK((GC(),n))}return new ao}()}function Dk(){var n;Dk=O,Art=sct?Yx(Hln((mT(),aat),xNn),2016):(n=Yx(CO(aG((mT(),aat),xNn),555)?aG(aat,xNn):new Gfn,555),sct=!0,function(n){n.q||(n.q=!0,n.p=q3(n,0),n.a=q3(n,1),P2(n.a,0),n.f=q3(n,2),P2(n.f,1),S2(n.f,2),n.n=q3(n,3),S2(n.n,3),S2(n.n,4),S2(n.n,5),S2(n.n,6),n.g=q3(n,4),P2(n.g,7),S2(n.g,8),n.c=q3(n,5),P2(n.c,7),P2(n.c,8),n.i=q3(n,6),P2(n.i,9),P2(n.i,10),P2(n.i,11),P2(n.i,12),S2(n.i,13),n.j=q3(n,7),P2(n.j,9),n.d=q3(n,8),P2(n.d,3),P2(n.d,4),P2(n.d,5),P2(n.d,6),S2(n.d,7),S2(n.d,8),S2(n.d,9),S2(n.d,10),n.b=q3(n,9),S2(n.b,0),S2(n.b,1),n.e=q3(n,10),S2(n.e,1),S2(n.e,2),S2(n.e,3),S2(n.e,4),P2(n.e,5),P2(n.e,6),P2(n.e,7),P2(n.e,8),P2(n.e,9),P2(n.e,10),S2(n.e,11),n.k=q3(n,11),S2(n.k,0),S2(n.k,1),n.o=G3(n,12),n.s=G3(n,13))}(n),function(n){var t,e,i,r,c,a,u;n.r||(n.r=!0,E2(n,"graph"),T2(n,"graph"),M2(n,xNn),g4(n.o,"T"),fY(Iq(n.a),n.p),fY(Iq(n.f),n.a),fY(Iq(n.n),n.f),fY(Iq(n.g),n.n),fY(Iq(n.c),n.n),fY(Iq(n.i),n.c),fY(Iq(n.j),n.c),fY(Iq(n.d),n.f),fY(Iq(n.e),n.a),TU(n.p,uqn,zSn,!0,!0,!1),u=$4(a=o6(n.p,n.p,"setProperty")),t=SH(n.o),e=new up,fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),van(e,i=PH(u)),Ycn(a,t,RNn),Ycn(a,t=PH(u),KNn),u=$4(a=o6(n.p,null,"getProperty")),t=SH(n.o),e=PH(u),fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),Ycn(a,t,RNn),(c=fun(a,t=PH(u),null))&&c.Fi(),a=o6(n.p,n.wb.e,"hasProperty"),t=SH(n.o),e=new up,fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),Ycn(a,t,RNn),Crn(a=o6(n.p,n.p,"copyProperties"),n.p,_Nn),a=o6(n.p,null,"getAllProperties"),t=SH(n.wb.P),e=SH(n.o),fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),i=new up,fY((!e.d&&(e.d=new XO(hat,e,1)),e.d),i),e=SH(n.wb.M),fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),(r=fun(a,t,null))&&r.Fi(),TU(n.a,Vrt,aNn,!0,!1,!0),Prn(Yx(c1(aq(n.a),0),18),n.k,null,FNn,0,-1,Vrt,!1,!1,!0,!0,!1,!1,!1),TU(n.f,Yrt,oNn,!0,!1,!0),Prn(Yx(c1(aq(n.f),0),18),n.g,Yx(c1(aq(n.g),0),18),"labels",0,-1,Yrt,!1,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.f),1),34),n.wb._,BNn,null,0,1,Yrt,!1,!1,!0,!1,!0,!1),TU(n.n,Jrt,"ElkShape",!0,!1,!0),z2(Yx(c1(aq(n.n),0),34),n.wb.t,HNn,sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.n),1),34),n.wb.t,qNn,sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.n),2),34),n.wb.t,"x",sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.n),3),34),n.wb.t,"y",sMn,1,1,Jrt,!1,!1,!0,!1,!0,!1),Crn(a=o6(n.n,null,"setDimensions"),n.wb.t,qNn),Crn(a,n.wb.t,HNn),Crn(a=o6(n.n,null,"setLocation"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),TU(n.g,act,wNn,!1,!1,!0),Prn(Yx(c1(aq(n.g),0),18),n.f,Yx(c1(aq(n.f),0),18),GNn,0,1,act,!1,!1,!0,!1,!1,!1,!1),z2(Yx(c1(aq(n.g),1),34),n.wb._,zNn,"",0,1,act,!1,!1,!0,!1,!0,!1),TU(n.c,Zrt,sNn,!0,!1,!0),Prn(Yx(c1(aq(n.c),0),18),n.d,Yx(c1(aq(n.d),1),18),"outgoingEdges",0,-1,Zrt,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.c),1),18),n.d,Yx(c1(aq(n.d),2),18),"incomingEdges",0,-1,Zrt,!1,!1,!0,!1,!0,!1,!1),TU(n.i,uct,dNn,!1,!1,!0),Prn(Yx(c1(aq(n.i),0),18),n.j,Yx(c1(aq(n.j),0),18),"ports",0,-1,uct,!1,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.i),1),18),n.i,Yx(c1(aq(n.i),2),18),UNn,0,-1,uct,!1,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.i),2),18),n.i,Yx(c1(aq(n.i),1),18),GNn,0,1,uct,!1,!1,!0,!1,!1,!1,!1),Prn(Yx(c1(aq(n.i),3),18),n.d,Yx(c1(aq(n.d),0),18),"containedEdges",0,-1,uct,!1,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.i),4),34),n.wb.e,XNn,null,0,1,uct,!0,!0,!1,!1,!0,!0),TU(n.j,oct,gNn,!1,!1,!0),Prn(Yx(c1(aq(n.j),0),18),n.i,Yx(c1(aq(n.i),0),18),GNn,0,1,oct,!1,!1,!0,!1,!1,!1,!1),TU(n.d,nct,hNn,!1,!1,!0),Prn(Yx(c1(aq(n.d),0),18),n.i,Yx(c1(aq(n.i),3),18),"containingNode",0,1,nct,!1,!1,!0,!1,!1,!1,!1),Prn(Yx(c1(aq(n.d),1),18),n.c,Yx(c1(aq(n.c),0),18),WNn,0,-1,nct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.d),2),18),n.c,Yx(c1(aq(n.c),1),18),VNn,0,-1,nct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.d),3),18),n.e,Yx(c1(aq(n.e),5),18),QNn,0,-1,nct,!1,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.d),4),34),n.wb.e,"hyperedge",null,0,1,nct,!0,!0,!1,!1,!0,!0),z2(Yx(c1(aq(n.d),5),34),n.wb.e,XNn,null,0,1,nct,!0,!0,!1,!1,!0,!0),z2(Yx(c1(aq(n.d),6),34),n.wb.e,"selfloop",null,0,1,nct,!0,!0,!1,!1,!0,!0),z2(Yx(c1(aq(n.d),7),34),n.wb.e,"connected",null,0,1,nct,!0,!0,!1,!1,!0,!0),TU(n.b,Qrt,uNn,!1,!1,!0),z2(Yx(c1(aq(n.b),0),34),n.wb.t,"x",sMn,1,1,Qrt,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.b),1),34),n.wb.t,"y",sMn,1,1,Qrt,!1,!1,!0,!1,!0,!1),Crn(a=o6(n.b,null,"set"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),TU(n.e,tct,fNn,!1,!1,!0),z2(Yx(c1(aq(n.e),0),34),n.wb.t,"startX",null,0,1,tct,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.e),1),34),n.wb.t,"startY",null,0,1,tct,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.e),2),34),n.wb.t,"endX",null,0,1,tct,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.e),3),34),n.wb.t,"endY",null,0,1,tct,!1,!1,!0,!1,!0,!1),Prn(Yx(c1(aq(n.e),4),18),n.b,null,YNn,0,-1,tct,!1,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.e),5),18),n.d,Yx(c1(aq(n.d),3),18),GNn,0,1,tct,!1,!1,!0,!1,!1,!1,!1),Prn(Yx(c1(aq(n.e),6),18),n.c,null,JNn,0,1,tct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.e),7),18),n.c,null,ZNn,0,1,tct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.e),8),18),n.e,Yx(c1(aq(n.e),9),18),nxn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),Prn(Yx(c1(aq(n.e),9),18),n.e,Yx(c1(aq(n.e),8),18),txn,0,-1,tct,!1,!1,!0,!1,!0,!1,!1),z2(Yx(c1(aq(n.e),10),34),n.wb._,BNn,null,0,1,tct,!1,!1,!0,!1,!0,!1),Crn(a=o6(n.e,null,"setStartLocation"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),Crn(a=o6(n.e,null,"setEndLocation"),n.wb.t,"x"),Crn(a,n.wb.t,"y"),TU(n.k,i_n,"ElkPropertyToValueMapEntry",!1,!1,!1),t=SH(n.o),e=new up,fY((!t.d&&(t.d=new XO(hat,t,1)),t.d),e),Pfn(Yx(c1(aq(n.k),0),34),t,"key",i_n,!1,!1,!0,!1),z2(Yx(c1(aq(n.k),1),34),n.s,KNn,null,0,1,i_n,!1,!1,!0,!1,!0,!1),YB(n.o,S7n,"IProperty",!0),YB(n.s,UKn,"PropertyValue",!0),s8(n,xNn))}(n),Srn(n),GG(aat,xNn,n),n)}function Rk(){Rk=O,dat=function(){var n,t;Jvn();try{if(t=Yx(Jcn((mT(),aat),hRn),1941))return t}catch(t){if(!CO(t=j4(t),102))throw hp(t);n=t,AK((GC(),n))}return new qo}()}function Kk(){Kk=O,Out=function(){var n,t;rJ();try{if(t=Yx(Jcn((mT(),aat),BRn),2024))return t}catch(t){if(!CO(t=j4(t),102))throw hp(t);n=t,AK((GC(),n))}return new Ds}()}function _k(){var n;_k=O,Aut=wot?Yx(Hln((mT(),aat),BRn),1945):(zI(Cut,new Vs),zI(aot,new ah),zI(uot,new ph),zI(oot,new Ih),zI(fFn,new $h),zI(Gy(Yot,1),new Lh),zI(D_n,new Nh),zI(__n,new xh),zI(fFn,new _s),zI(fFn,new Fs),zI(fFn,new Bs),zI(H_n,new Hs),zI(fFn,new qs),zI(JKn,new Gs),zI(JKn,new zs),zI(fFn,new Us),zI(q_n,new Xs),zI(fFn,new Ws),zI(fFn,new Qs),zI(fFn,new Ys),zI(fFn,new Js),zI(fFn,new Zs),zI(Gy(Yot,1),new nh),zI(fFn,new th),zI(fFn,new eh),zI(JKn,new ih),zI(JKn,new rh),zI(fFn,new ch),zI(U_n,new uh),zI(fFn,new oh),zI(J_n,new sh),zI(fFn,new hh),zI(fFn,new fh),zI(fFn,new lh),zI(fFn,new bh),zI(JKn,new wh),zI(JKn,new dh),zI(fFn,new gh),zI(fFn,new vh),zI(fFn,new mh),zI(fFn,new yh),zI(fFn,new kh),zI(fFn,new jh),zI(nFn,new Eh),zI(fFn,new Th),zI(fFn,new Mh),zI(fFn,new Sh),zI(nFn,new Ph),zI(J_n,new Ch),zI(fFn,new Oh),zI(U_n,new Ah),n=Yx(CO(aG((mT(),aat),BRn),586)?aG(aat,BRn):new AB,586),wot=!0,function(n){n.N||(n.N=!0,n.b=q3(n,0),S2(n.b,0),S2(n.b,1),S2(n.b,2),n.bb=q3(n,1),S2(n.bb,0),S2(n.bb,1),n.fb=q3(n,2),S2(n.fb,3),S2(n.fb,4),P2(n.fb,5),n.qb=q3(n,3),S2(n.qb,0),P2(n.qb,1),P2(n.qb,2),S2(n.qb,3),S2(n.qb,4),P2(n.qb,5),S2(n.qb,6),n.a=G3(n,4),n.c=G3(n,5),n.d=G3(n,6),n.e=G3(n,7),n.f=G3(n,8),n.g=G3(n,9),n.i=G3(n,10),n.j=G3(n,11),n.k=G3(n,12),n.n=G3(n,13),n.o=G3(n,14),n.p=G3(n,15),n.q=G3(n,16),n.s=G3(n,17),n.r=G3(n,18),n.t=G3(n,19),n.u=G3(n,20),n.v=G3(n,21),n.w=G3(n,22),n.B=G3(n,23),n.A=G3(n,24),n.C=G3(n,25),n.D=G3(n,26),n.F=G3(n,27),n.G=G3(n,28),n.H=G3(n,29),n.J=G3(n,30),n.I=G3(n,31),n.K=G3(n,32),n.M=G3(n,33),n.L=G3(n,34),n.P=G3(n,35),n.Q=G3(n,36),n.R=G3(n,37),n.S=G3(n,38),n.T=G3(n,39),n.U=G3(n,40),n.V=G3(n,41),n.X=G3(n,42),n.W=G3(n,43),n.Y=G3(n,44),n.Z=G3(n,45),n.$=G3(n,46),n._=G3(n,47),n.ab=G3(n,48),n.cb=G3(n,49),n.db=G3(n,50),n.eb=G3(n,51),n.gb=G3(n,52),n.hb=G3(n,53),n.ib=G3(n,54),n.jb=G3(n,55),n.kb=G3(n,56),n.lb=G3(n,57),n.mb=G3(n,58),n.nb=G3(n,59),n.ob=G3(n,60),n.pb=G3(n,61))}(n),function(n){var t;n.O||(n.O=!0,E2(n,"type"),T2(n,"ecore.xml.type"),M2(n,BRn),t=Yx(Hln((mT(),aat),BRn),1945),fY(Iq(n.fb),n.b),TU(n.b,Cut,"AnyType",!1,!1,!0),z2(Yx(c1(aq(n.b),0),34),n.wb.D,ZDn,null,0,-1,Cut,!1,!1,!0,!1,!1,!1),z2(Yx(c1(aq(n.b),1),34),n.wb.D,"any",null,0,-1,Cut,!0,!0,!0,!1,!1,!0),z2(Yx(c1(aq(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,Cut,!1,!1,!0,!1,!1,!1),TU(n.bb,aot,URn,!1,!1,!0),z2(Yx(c1(aq(n.bb),0),34),n.gb,"data",null,0,1,aot,!1,!1,!0,!1,!0,!1),z2(Yx(c1(aq(n.bb),1),34),n.gb,lxn,null,1,1,aot,!1,!1,!0,!1,!0,!1),TU(n.fb,uot,XRn,!1,!1,!0),z2(Yx(c1(aq(n.fb),0),34),t.gb,"rawValue",null,0,1,uot,!0,!0,!0,!1,!0,!0),z2(Yx(c1(aq(n.fb),1),34),t.a,KNn,null,0,1,uot,!0,!0,!0,!1,!0,!0),Prn(Yx(c1(aq(n.fb),2),18),n.wb.q,null,"instanceType",1,1,uot,!1,!1,!0,!1,!1,!1,!1),TU(n.qb,oot,WRn,!1,!1,!0),z2(Yx(c1(aq(n.qb),0),34),n.wb.D,ZDn,null,0,-1,null,!1,!1,!0,!1,!1,!1),Prn(Yx(c1(aq(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Prn(Yx(c1(aq(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),z2(Yx(c1(aq(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),z2(Yx(c1(aq(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Prn(Yx(c1(aq(n.qb),5),18),n.bb,null,yKn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),z2(Yx(c1(aq(n.qb),6),34),n.gb,zNn,null,0,-2,null,!0,!0,!0,!1,!1,!0),YB(n.a,UKn,"AnySimpleType",!0),YB(n.c,fFn,"AnyURI",!0),YB(n.d,Gy(Yot,1),"Base64Binary",!0),YB(n.e,Vot,"Boolean",!0),YB(n.f,D_n,"BooleanObject",!0),YB(n.g,Yot,"Byte",!0),YB(n.i,__n,"ByteObject",!0),YB(n.j,fFn,"Date",!0),YB(n.k,fFn,"DateTime",!0),YB(n.n,vFn,"Decimal",!0),YB(n.o,Jot,"Double",!0),YB(n.p,H_n,"DoubleObject",!0),YB(n.q,fFn,"Duration",!0),YB(n.s,JKn,"ENTITIES",!0),YB(n.r,JKn,"ENTITIESBase",!0),YB(n.t,fFn,nKn,!0),YB(n.u,Zot,"Float",!0),YB(n.v,q_n,"FloatObject",!0),YB(n.w,fFn,"GDay",!0),YB(n.B,fFn,"GMonth",!0),YB(n.A,fFn,"GMonthDay",!0),YB(n.C,fFn,"GYear",!0),YB(n.D,fFn,"GYearMonth",!0),YB(n.F,Gy(Yot,1),"HexBinary",!0),YB(n.G,fFn,"ID",!0),YB(n.H,fFn,"IDREF",!0),YB(n.J,JKn,"IDREFS",!0),YB(n.I,JKn,"IDREFSBase",!0),YB(n.K,Wot,"Int",!0),YB(n.M,EFn,"Integer",!0),YB(n.L,U_n,"IntObject",!0),YB(n.P,fFn,"Language",!0),YB(n.Q,Qot,"Long",!0),YB(n.R,J_n,"LongObject",!0),YB(n.S,fFn,"Name",!0),YB(n.T,fFn,tKn,!0),YB(n.U,EFn,"NegativeInteger",!0),YB(n.V,fFn,fKn,!0),YB(n.X,JKn,"NMTOKENS",!0),YB(n.W,JKn,"NMTOKENSBase",!0),YB(n.Y,EFn,"NonNegativeInteger",!0),YB(n.Z,EFn,"NonPositiveInteger",!0),YB(n.$,fFn,"NormalizedString",!0),YB(n._,fFn,"NOTATION",!0),YB(n.ab,fFn,"PositiveInteger",!0),YB(n.cb,fFn,"QName",!0),YB(n.db,nst,"Short",!0),YB(n.eb,nFn,"ShortObject",!0),YB(n.gb,fFn,rTn,!0),YB(n.hb,fFn,"Time",!0),YB(n.ib,fFn,"Token",!0),YB(n.jb,nst,"UnsignedByte",!0),YB(n.kb,nFn,"UnsignedByteObject",!0),YB(n.lb,Qot,"UnsignedInt",!0),YB(n.mb,J_n,"UnsignedIntObject",!0),YB(n.nb,EFn,"UnsignedLong",!0),YB(n.ob,Wot,"UnsignedShort",!0),YB(n.pb,U_n,"UnsignedShortObject",!0),s8(n,BRn),function(n){Zln(n.a,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"anySimpleType"])),Zln(n.b,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"anyType",tRn,ZDn])),Zln(Yx(c1(aq(n.b),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,NRn,gxn,":mixed"])),Zln(Yx(c1(aq(n.b),1),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,NRn,FRn,HRn,gxn,":1",YRn,"lax"])),Zln(Yx(c1(aq(n.b),2),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,$Rn,FRn,HRn,gxn,":2",YRn,"lax"])),Zln(n.c,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"anyURI",_Rn,xRn])),Zln(n.d,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"base64Binary",_Rn,xRn])),Zln(n.e,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,Xjn,_Rn,xRn])),Zln(n.f,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"boolean:Object",bRn,Xjn])),Zln(n.g,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,BDn])),Zln(n.i,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"byte:Object",bRn,BDn])),Zln(n.j,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"date",_Rn,xRn])),Zln(n.k,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"dateTime",_Rn,xRn])),Zln(n.n,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"decimal",_Rn,xRn])),Zln(n.o,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,qDn,_Rn,xRn])),Zln(n.p,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"double:Object",bRn,qDn])),Zln(n.q,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"duration",_Rn,xRn])),Zln(n.s,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"ENTITIES",bRn,JRn,ZRn,"1"])),Zln(n.r,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,JRn,DRn,nKn])),Zln(n.t,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,nKn,bRn,tKn])),Zln(n.u,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,GDn,_Rn,xRn])),Zln(n.v,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"float:Object",bRn,GDn])),Zln(n.w,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gDay",_Rn,xRn])),Zln(n.B,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gMonth",_Rn,xRn])),Zln(n.A,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gMonthDay",_Rn,xRn])),Zln(n.C,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gYear",_Rn,xRn])),Zln(n.D,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"gYearMonth",_Rn,xRn])),Zln(n.F,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"hexBinary",_Rn,xRn])),Zln(n.G,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"ID",bRn,tKn])),Zln(n.H,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"IDREF",bRn,tKn])),Zln(n.J,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"IDREFS",bRn,eKn,ZRn,"1"])),Zln(n.I,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,eKn,DRn,"IDREF"])),Zln(n.K,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,zDn])),Zln(n.M,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,iKn])),Zln(n.L,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"int:Object",bRn,zDn])),Zln(n.P,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"language",bRn,rKn,cKn,aKn])),Zln(n.Q,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,UDn])),Zln(n.R,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"long:Object",bRn,UDn])),Zln(n.S,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"Name",bRn,rKn,cKn,uKn])),Zln(n.T,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,tKn,bRn,"Name",cKn,oKn])),Zln(n.U,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"negativeInteger",bRn,sKn,hKn,"-1"])),Zln(n.V,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,fKn,bRn,rKn,cKn,"\\c+"])),Zln(n.X,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"NMTOKENS",bRn,lKn,ZRn,"1"])),Zln(n.W,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,lKn,DRn,fKn])),Zln(n.Y,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,bKn,bRn,iKn,wKn,"0"])),Zln(n.Z,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,sKn,bRn,iKn,hKn,"0"])),Zln(n.$,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,dKn,bRn,Vjn,_Rn,"replace"])),Zln(n._,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"NOTATION",_Rn,xRn])),Zln(n.ab,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"positiveInteger",bRn,bKn,wKn,"1"])),Zln(n.bb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"processingInstruction_._type",tRn,"empty"])),Zln(Yx(c1(aq(n.bb),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,"data"])),Zln(Yx(c1(aq(n.bb),1),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,lxn])),Zln(n.cb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"QName",_Rn,xRn])),Zln(n.db,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,XDn])),Zln(n.eb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"short:Object",bRn,XDn])),Zln(n.fb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"simpleAnyType",tRn,ORn])),Zln(Yx(c1(aq(n.fb),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,":3",tRn,ORn])),Zln(Yx(c1(aq(n.fb),1),34),nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,":4",tRn,ORn])),Zln(Yx(c1(aq(n.fb),2),18),nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,":5",tRn,ORn])),Zln(n.gb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,Vjn,_Rn,"preserve"])),Zln(n.hb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"time",_Rn,xRn])),Zln(n.ib,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,rKn,bRn,dKn,_Rn,xRn])),Zln(n.jb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,gKn,hKn,"255",wKn,"0"])),Zln(n.kb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedByte:Object",bRn,gKn])),Zln(n.lb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,pKn,hKn,"4294967295",wKn,"0"])),Zln(n.mb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedInt:Object",bRn,pKn])),Zln(n.nb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedLong",bRn,bKn,hKn,vKn,wKn,"0"])),Zln(n.ob,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,mKn,hKn,"65535",wKn,"0"])),Zln(n.pb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"unsignedShort:Object",bRn,mKn])),Zln(n.qb,nRn,x4(Gy(fFn,1),TEn,2,6,[gxn,"",tRn,ZDn])),Zln(Yx(c1(aq(n.qb),0),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,NRn,gxn,":mixed"])),Zln(Yx(c1(aq(n.qb),1),18),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,"xmlns:prefix"])),Zln(Yx(c1(aq(n.qb),2),18),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,ARn,gxn,"xsi:schemaLocation"])),Zln(Yx(c1(aq(n.qb),3),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,"cDATA",RRn,KRn])),Zln(Yx(c1(aq(n.qb),4),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,"comment",RRn,KRn])),Zln(Yx(c1(aq(n.qb),5),18),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,yKn,RRn,KRn])),Zln(Yx(c1(aq(n.qb),6),34),nRn,x4(Gy(fFn,1),TEn,2,6,[tRn,LRn,gxn,zNn,RRn,KRn]))}(n))}(n),xB((yT(),wat),n,new Ks),Srn(n),GG(aat,BRn,n),n)}function Fk(){Fk=O,Pct=s0()}function Bk(){throw hp(new xp)}function Hk(){throw hp(new xp)}function qk(){throw hp(new xp)}function Gk(){throw hp(new xp)}function zk(){throw hp(new xp)}function Uk(){throw hp(new xp)}function Xk(n){this.a=new kE(n)}function Wk(n){Ekn(),function(n,t){var e,i,r,c,a,u,o,s;if(e=0,a=0,c=t.length,u=null,s=new $y,a1?zz(GK(t.a[1],32),Gz(t.a[0],uMn)):Gz(t.a[0],uMn),VU(e7(t.e,e))))}(n,new IC(o));for(n.d=s.a.length,r=0;r0}(Yx(n,33))?KA(i,(Qtn(),E7n))||KA(i,T7n):KA(i,(Qtn(),E7n));if(CO(n,352))return KA(i,(Qtn(),k7n));if(CO(n,186))return KA(i,(Qtn(),M7n));if(CO(n,354))return KA(i,(Qtn(),j7n))}return!0}(n,t)}function uj(n,t,e){n.splice(t,e)}function oj(n){n.c?pdn(n):vdn(n)}function sj(n){this.a=0,this.b=n}function hj(){this.a=new Ubn(p6n)}function fj(){this.b=new Ubn(i5n)}function lj(){this.b=new Ubn(o9n)}function bj(){this.b=new Ubn(o9n)}function wj(){throw hp(new xp)}function dj(){throw hp(new xp)}function gj(){throw hp(new xp)}function pj(){throw hp(new xp)}function vj(){throw hp(new xp)}function mj(){throw hp(new xp)}function yj(){throw hp(new xp)}function kj(){throw hp(new xp)}function jj(){throw hp(new xp)}function Ej(){throw hp(new xp)}function Tj(n){this.a=new Mj(n)}function Mj(n){!function(n,t,e){var i;n.b=t,n.a=e,i=512==(512&n.a)?new Zv:new Dh,n.c=function(n,t,e){var i,r,c;if(n.e=e,n.d=0,n.b=0,n.f=1,n.i=t,16==(16&n.e)&&(n.i=function(n){var t,e,i,r,c;for(i=n.length,t=new Oy,c=0;ct&&t0)){if(c=-1,32==XB(f.c,0)){if(l=h[0],JJ(t,h),h[0]>l)continue}else if(Rq(t,f.c,h[0])){h[0]+=f.c.length;continue}return 0}if(c<0&&f.a&&(c=s,a=h[0],r=0),c>=0){if(o=f.b,s==c&&0==(o-=r++))return 0;if(!Lkn(t,h,f,o,u)){s=c-1,h[0]=a;continue}}else if(c=-1,!Lkn(t,h,f,0,u))return 0}return function(n,t){var i,r,c,a,u,o;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>nTn&&JX(t,n.p-TTn),u=t.q.getDate(),mG(t,1),n.k>=0&&function(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),Ivn(n,e)}(t,n.k),n.c>=0?mG(t,n.c):n.k>=0?(r=35-new y5(t.q.getFullYear()-TTn,t.q.getMonth(),35).q.getDate(),mG(t,e.Math.min(r,u))):mG(t,u),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function(n,t){n.q.setHours(t),Ivn(n,t)}(t,24==n.f&&n.g?0:n.f),n.j>=0&&function(n,t){var e;e=n.q.getHours()+(t/60|0),n.q.setMinutes(t),Ivn(n,e)}(t,n.j),n.n>=0&&function(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),Ivn(n,e)}(t,n.n),n.i>=0&&TI(t,t7(e7(Bcn(D3(t.q.getTime()),hTn),hTn),n.i)),n.a&&(JX(c=new uE,c.q.getFullYear()-TTn-80),LT(D3(t.q.getTime()),D3(c.q.getTime()))&&JX(t,c.q.getFullYear()-TTn+100)),n.d>=0)if(-1==n.c)(i=(7+n.d-t.q.getDay())%7)>3&&(i-=7),o=t.q.getMonth(),mG(t,t.q.getDate()+i),t.q.getMonth()!=o&&mG(t,t.q.getDate()+(i>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>nTn&&(a=t.q.getTimezoneOffset(),TI(t,t7(D3(t.q.getTime()),60*(n.o-a)*hTn))),!0}(u,i)?h[0]:0}(n,t,c=new y5((r=new uE).q.getFullYear()-TTn,r.q.getMonth(),r.q.getDate())))||i0}function LT(n,t){return k8(n,t)<0}function NT(n,t){return n.a.get(t)}function xT(n,t){return P_(n.e,t)}function DT(n){return vB(n),!1}function RT(n){Nz.call(this,n,21)}function KT(n,t){vG.call(this,n,t)}function _T(n,t){Uj.call(this,n,t)}function FT(n,t){Uj.call(this,n,t)}function BT(n){QF(),ix.call(this,n)}function HT(n,t){nK(n,n.length,t)}function qT(n,t){cF(n,n.length,t)}function GT(n,t,e){n.splice(t,0,e)}function zT(n,t){this.d=n,this.e=t}function UT(n,t){this.b=n,this.a=t}function XT(n,t){this.b=n,this.a=t}function WT(n,t){this.b=n,this.a=t}function VT(n,t){this.a=n,this.b=t}function QT(n,t){this.a=n,this.b=t}function YT(n,t){this.a=n,this.b=t}function JT(n,t){this.a=n,this.b=t}function ZT(n,t){this.a=n,this.b=t}function nM(n,t){this.b=n,this.a=t}function tM(n,t){this.b=n,this.a=t}function eM(n,t){Uj.call(this,n,t)}function iM(n,t){Uj.call(this,n,t)}function rM(n,t){Uj.call(this,n,t)}function cM(n,t){Uj.call(this,n,t)}function aM(n,t){Uj.call(this,n,t)}function uM(n,t){Uj.call(this,n,t)}function oM(n,t){Uj.call(this,n,t)}function sM(n,t){Uj.call(this,n,t)}function hM(n,t){Uj.call(this,n,t)}function fM(n,t){Uj.call(this,n,t)}function lM(n,t){Uj.call(this,n,t)}function bM(n,t){Uj.call(this,n,t)}function wM(n,t){Uj.call(this,n,t)}function dM(n,t){Uj.call(this,n,t)}function gM(n,t){Uj.call(this,n,t)}function pM(n,t){Uj.call(this,n,t)}function vM(n,t){Uj.call(this,n,t)}function mM(n,t){Uj.call(this,n,t)}function yM(n,t){this.a=n,this.b=t}function kM(n,t){this.a=n,this.b=t}function jM(n,t){this.a=n,this.b=t}function EM(n,t){this.a=n,this.b=t}function TM(n,t){this.a=n,this.b=t}function MM(n,t){this.a=n,this.b=t}function SM(n,t){this.a=n,this.b=t}function PM(n,t){this.a=n,this.b=t}function IM(n,t){this.a=n,this.b=t}function CM(n,t){this.b=n,this.a=t}function OM(n,t){this.b=n,this.a=t}function AM(n,t){this.b=n,this.a=t}function $M(n,t){this.b=n,this.a=t}function LM(n,t){this.c=n,this.d=t}function NM(n,t){this.e=n,this.d=t}function xM(n,t){this.a=n,this.b=t}function DM(n,t){this.b=t,this.c=n}function RM(n,t){Uj.call(this,n,t)}function KM(n,t){Uj.call(this,n,t)}function _M(n,t){Uj.call(this,n,t)}function FM(n,t){Uj.call(this,n,t)}function BM(n,t){Uj.call(this,n,t)}function HM(n,t){Uj.call(this,n,t)}function qM(n,t){Uj.call(this,n,t)}function GM(n,t){Uj.call(this,n,t)}function zM(n,t){Uj.call(this,n,t)}function UM(n,t){Uj.call(this,n,t)}function XM(n,t){Uj.call(this,n,t)}function WM(n,t){Uj.call(this,n,t)}function VM(n,t){Uj.call(this,n,t)}function QM(n,t){Uj.call(this,n,t)}function YM(n,t){Uj.call(this,n,t)}function JM(n,t){Uj.call(this,n,t)}function ZM(n,t){Uj.call(this,n,t)}function nS(n,t){Uj.call(this,n,t)}function tS(n,t){Uj.call(this,n,t)}function eS(n,t){Uj.call(this,n,t)}function iS(n,t){Uj.call(this,n,t)}function rS(n,t){Uj.call(this,n,t)}function cS(n,t){Uj.call(this,n,t)}function aS(n,t){Uj.call(this,n,t)}function uS(n,t){Uj.call(this,n,t)}function oS(n,t){Uj.call(this,n,t)}function sS(n,t){Uj.call(this,n,t)}function hS(n,t){Uj.call(this,n,t)}function fS(n,t){Uj.call(this,n,t)}function lS(n,t){Uj.call(this,n,t)}function bS(n,t){Uj.call(this,n,t)}function wS(n,t){Uj.call(this,n,t)}function dS(n,t){Uj.call(this,n,t)}function gS(n,t){Uj.call(this,n,t)}function pS(n,t){this.b=n,this.a=t}function vS(n,t){this.a=n,this.b=t}function mS(n,t){this.a=n,this.b=t}function yS(n,t){this.a=n,this.b=t}function kS(n,t){this.a=n,this.b=t}function jS(n,t){Uj.call(this,n,t)}function ES(n,t){Uj.call(this,n,t)}function TS(n,t){this.b=n,this.d=t}function MS(n,t){Uj.call(this,n,t)}function SS(n,t){Uj.call(this,n,t)}function PS(n,t){this.a=n,this.b=t}function IS(n,t){this.a=n,this.b=t}function CS(n,t){Uj.call(this,n,t)}function OS(n,t){Uj.call(this,n,t)}function AS(n,t){Uj.call(this,n,t)}function $S(n,t){Uj.call(this,n,t)}function LS(n,t){Uj.call(this,n,t)}function NS(n,t){Uj.call(this,n,t)}function xS(n,t){Uj.call(this,n,t)}function DS(n,t){Uj.call(this,n,t)}function RS(n,t){Uj.call(this,n,t)}function KS(n,t){Uj.call(this,n,t)}function _S(n,t){Uj.call(this,n,t)}function FS(n,t){Uj.call(this,n,t)}function BS(n,t){Uj.call(this,n,t)}function HS(n,t){Uj.call(this,n,t)}function qS(n,t){Uj.call(this,n,t)}function GS(n,t){Uj.call(this,n,t)}function zS(n,t){return KA(n.g,t)}function US(n,t){Uj.call(this,n,t)}function XS(n,t){Uj.call(this,n,t)}function WS(n,t){this.a=n,this.b=t}function VS(n,t){this.a=n,this.b=t}function QS(n,t){this.a=n,this.b=t}function YS(n,t){Uj.call(this,n,t)}function JS(n,t){Uj.call(this,n,t)}function ZS(n,t){Uj.call(this,n,t)}function nP(n,t){Uj.call(this,n,t)}function tP(n,t){Uj.call(this,n,t)}function eP(n,t){Uj.call(this,n,t)}function iP(n,t){Uj.call(this,n,t)}function rP(n,t){Uj.call(this,n,t)}function cP(n,t){Uj.call(this,n,t)}function aP(n,t){Uj.call(this,n,t)}function uP(n,t){Uj.call(this,n,t)}function oP(n,t){Uj.call(this,n,t)}function sP(n,t){Uj.call(this,n,t)}function hP(n,t){Uj.call(this,n,t)}function fP(n,t){Uj.call(this,n,t)}function lP(n,t){Uj.call(this,n,t)}function bP(n,t){this.a=n,this.b=t}function wP(n,t){this.a=n,this.b=t}function dP(n,t){this.a=n,this.b=t}function gP(n,t){this.a=n,this.b=t}function pP(n,t){this.a=n,this.b=t}function vP(n,t){this.a=n,this.b=t}function mP(n,t){this.a=n,this.b=t}function yP(n,t){Uj.call(this,n,t)}function kP(n,t){this.a=n,this.b=t}function jP(n,t){this.a=n,this.b=t}function EP(n,t){this.a=n,this.b=t}function TP(n,t){this.a=n,this.b=t}function MP(n,t){this.a=n,this.b=t}function SP(n,t){this.a=n,this.b=t}function PP(n,t){this.b=n,this.a=t}function IP(n,t){this.b=n,this.a=t}function CP(n,t){this.b=n,this.a=t}function OP(n,t){this.b=n,this.a=t}function AP(n,t){this.a=n,this.b=t}function $P(n,t){this.a=n,this.b=t}function LP(n,t){!function(n,t){if(CO(t,239))return function(n,t){var e;if(null==(e=g1(n.i,t)))throw hp(new hy("Node did not exist in input."));return f3(t,e),null}(n,Yx(t,33));if(CO(t,186))return function(n,t){var e;if(null==(e=BF(n.k,t)))throw hp(new hy("Port did not exist in input."));return f3(t,e),null}(n,Yx(t,118));if(CO(t,354))return function(n,t){return f3(t,BF(n.f,t)),null}(n,Yx(t,137));if(CO(t,352))return function(n,t){var e,i,r,c,a,u;if(!(a=Yx(BF(n.c,t),183)))throw hp(new hy("Edge did not exist in input."));return i=itn(a),!Sj((!t.a&&(t.a=new m_(tct,t,6,6)),t.a))&&(e=new Rx(n,i,u=new Sl),function(n,t){!function(n,t){var e;for(e=0;n.e!=n.i.gc();)sR(t,hen(n),d9(e)),e!=Yjn&&++e}(new UO(n),t)}((!t.a&&(t.a=new m_(tct,t,6,6)),t.a),e),OZ(a,QNn,u)),zQ(t,(Cjn(),Gnt))&&!(!(r=Yx(jln(t,Gnt),74))||wB(r))&&(XW(r,new mg(c=new Sl)),OZ(a,"junctionPoints",c)),ND(a,"container",EG(t).k),null}(n,Yx(t,79));if(t)return null;throw hp(new Qm(axn+Gun(new ay(x4(Gy(UKn,1),iEn,1,5,[t])))))}(n.a,Yx(t,56))}function NP(n,t){!function(n,t){dD(),eD(n,new mP(t,d9(t.e.c.length+t.g.c.length)))}(n.a,Yx(t,11))}function xP(){return Fy(),new xFn}function DP(){lz(),this.b=new Qp}function RP(){ywn(),this.a=new Qp}function KP(){uz(),wK.call(this)}function _P(n,t){Uj.call(this,n,t)}function FP(n,t){this.a=n,this.b=t}function BP(n,t){this.a=n,this.b=t}function HP(n,t){this.a=n,this.b=t}function qP(n,t){this.a=n,this.b=t}function GP(n,t){this.a=n,this.b=t}function zP(n,t){this.a=n,this.b=t}function UP(n,t){this.d=n,this.b=t}function XP(n,t){this.d=n,this.e=t}function WP(n,t){this.f=n,this.c=t}function VP(n,t){this.b=n,this.c=t}function QP(n,t){this.i=n,this.g=t}function YP(n,t){this.e=n,this.a=t}function JP(n,t){this.a=n,this.b=t}function ZP(n,t){n.i=null,J0(n,t)}function nI(n,t){return mnn(n.a,t)}function tI(n){return knn(n.c,n.b)}function eI(n){return n?n.dd():null}function iI(n){return null==n?null:n}function rI(n){return typeof n===Xjn}function cI(n){return typeof n===Wjn}function aI(n){return typeof n===Vjn}function uI(n,t){return n.Hd().Xb(t)}function oI(n,t){return function(n,t){for(MF(t);n.Ob();)if(!f4(Yx(n.Pb(),10)))return!1;return!0}(n.Kc(),t)}function sI(n,t){return 0==k8(n,t)}function hI(n,t){return 0!=k8(n,t)}function fI(n){return""+(vB(n),n)}function lI(n,t){return n.substr(t)}function bI(n){return A7(n),n.d.gc()}function wI(n){return function(n,t){var e,i,r;for(e=new pb(n.a.a);e.at?1:0}function iO(n,t){return k8(n,t)>0?n:t}function rO(n,t,e){return{l:n,m:t,h:e}}function cO(n,t){null!=n.a&&NP(t,n.a)}function aO(n){n.a=new $,n.c=new $}function uO(n){this.b=n,this.a=new ip}function oO(n){this.b=new et,this.a=n}function sO(n){oN.call(this),this.a=n}function hO(){_T.call(this,"Range",2)}function fO(){Mcn(),this.a=new Ubn(azn)}function lO(n,t,e){return Fnn(t,e,n.c)}function bO(n){return new QS(n.c,n.d)}function wO(n){return new QS(n.c,n.d)}function dO(n){return new QS(n.a,n.b)}function gO(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f;for(!e&&(e=function(n){var t;return(t=new p).a=n,t.b=function(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+XJ(n))}(n),t.c=VQ(fFn,TEn,2,2,6,1),t.c[0]=A2(n),t.c[1]=A2(n),t}(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),o=u=new bL(t7(D3(t.q.getTime()),r)),u.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,o=new bL(t7(D3(t.q.getTime()),r))),h=new $y,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw hp(new Qm("Missing trailing '"));a+11)throw hp(new Qm(GRn));for(h=dwn(n.e.Tg(),t),i=Yx(n.g,119),a=0;a0),c=Yx(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,S$(s.b>0),c=Yx(s.a.Xb(s.c=--s.b),17);s.b>0&&hB(s)}}(n,t,e),e}function $O(n,t,e){n.a=1502^t,n.b=e^kMn}function LO(n,t,e){return n.a[t.g][e.g]}function NO(n,t){return n.a[t.c.p][t.p]}function xO(n,t){return n.e[t.c.p][t.p]}function DO(n,t){return n.c[t.c.p][t.p]}function RO(n,t){return n.j[t.p]=function(n){var t,e,i,r;for(t=0,e=0,r=new pb(n.j);r.a1||e>1)return 2;return t+e==1?2:0}(t)}function KO(n,t){return n.a*=t,n.b*=t,n}function _O(n,t,e){return DF(n.g,t,e),e}function FO(n){n.a=Yx(H3(n.b.a,4),126)}function BO(n){n.a=Yx(H3(n.b.a,4),126)}function HO(n){xq(n,vxn),Sbn(n,function(n){var t,e,i,r,c;switch(xq(n,vxn),(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b).i+(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c).i){case 0:throw hp(new Qm("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b).i?IG(iun(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82))):IG(iun(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c).i){if(r=iun(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)),c=iun(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82)),IG(r)==IG(c))return IG(r);if(r==IG(c))return r;if(c==IG(r))return c}for(t=iun(Yx(kV(i=W_(n0(x4(Gy(QKn,1),iEn,20,0,[(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c)])))),82));Vfn(i);)if((e=iun(Yx(kV(i),82)))!=t&&!XZ(e,t))if(IG(e)==IG(t))t=IG(e);else if(!(t=Uln(t,e)))return null;return t}(n))}function qO(){qO=O,FFn=new Am(null)}function GO(){(GO=O)(),UFn=new z}function zO(){this.Bb|=256,this.Bb|=512}function UO(n){this.i=n,this.f=this.i.j}function XO(n,t,e){TD.call(this,n,t,e)}function WO(n,t,e){XO.call(this,n,t,e)}function VO(n,t,e){XO.call(this,n,t,e)}function QO(n,t,e){WO.call(this,n,t,e)}function YO(n,t,e){TD.call(this,n,t,e)}function JO(n,t,e){TD.call(this,n,t,e)}function ZO(n,t,e){CD.call(this,n,t,e)}function nA(n,t,e){CD.call(this,n,t,e)}function tA(n,t,e){ZO.call(this,n,t,e)}function eA(n,t,e){YO.call(this,n,t,e)}function iA(n,t){this.a=n,eE.call(this,t)}function rA(n,t){this.a=n,dy.call(this,t)}function cA(n,t){this.a=n,dy.call(this,t)}function aA(n,t){this.a=n,dy.call(this,t)}function uA(n){this.a=n,ol.call(this,n.d)}function oA(n){this.c=n,this.a=this.c.a}function sA(n,t){this.a=t,dy.call(this,n)}function hA(n,t){this.a=t,hW.call(this,n)}function fA(n,t){this.a=n,hW.call(this,t)}function lA(n,t){return function(n,t,e){try{!function(n,t,e){if(MF(t),e.Ob())for(kI(t,$F(e.Pb()));e.Ob();)kI(t,n.a),kI(t,$F(e.Pb()))}(n,t,e)}catch(n){throw CO(n=j4(n),597)?hp(new eV(n)):hp(n)}return t}(n,new Ay,t).a}function bA(n,t){return MF(t),new wA(n,t)}function wA(n,t){this.a=t,aE.call(this,n)}function dA(n){this.b=n,this.a=this.b.a.e}function gA(n){n.b.Qb(),--n.d.f.d,oK(n.d)}function pA(n){Zf.call(this,Yx(MF(n),35))}function vA(n){Zf.call(this,Yx(MF(n),35))}function mA(){Uj.call(this,"INSTANCE",0)}function yA(n){if(!n)throw hp(new $p)}function kA(n){if(!n)throw hp(new Lp)}function jA(n){if(!n)throw hp(new Kp)}function EA(){EA=O,ET(),yut=new Kf}function TA(){TA=O,$_n=!1,L_n=!0}function MA(n){nb.call(this,(vB(n),n))}function SA(n){nb.call(this,(vB(n),n))}function PA(n){fb.call(this,n),this.a=n}function IA(n){lb.call(this,n),this.a=n}function CA(n){Ny.call(this,n),this.a=n}function OA(){jO(this),qH(this),this._d()}function AA(n,t){this.a=t,aE.call(this,n)}function $A(n,t){return new jsn(n.a,n.b,t)}function LA(n,t){return n.lastIndexOf(t)}function NA(n,t,e){return n.indexOf(t,e)}function xA(n){return null==n?aEn:I7(n)}function DA(n){return null!=n.a?n.a:null}function RA(n,t){return null!=fG(n.a,t)}function KA(n,t){return!!t&&n.b[t.g]==t}function _A(n){return n.$H||(n.$H=++mBn)}function FA(n,t){return eD(t.a,n.a),n.a}function BA(n,t){return eD(t.b,n.a),n.a}function HA(n,t){return eD(t.a,n.a),n.a}function qA(n){return S$(null!=n.a),n.a}function GA(n){Mb.call(this,new tY(n))}function zA(n,t){Etn.call(this,n,t,null)}function UA(n){this.a=n,hb.call(this,n)}function XA(){XA=O,XHn=new _L(OSn,0)}function WA(n,t){return++n.b,eD(n.a,t)}function VA(n,t){return++n.b,uJ(n.a,t)}function QA(n,t){return Yx(_V(n.b,t),15)}function YA(n){return ZC(n.a)||ZC(n.b)}function JA(n,t,e){return $X(n,t,e,n.c)}function ZA(n,t,e){Yx(jJ(n,t),21).Fc(e)}function n$(n,t){kT(),this.a=n,this.b=t}function t$(n,t){jT(),this.b=n,this.c=t}function e$(n,t){gK(),this.f=t,this.d=n}function i$(n,t){qV(t,n),this.d=n,this.c=t}function r$(n){var t;t=n.a,n.a=n.b,n.b=t}function c$(n,t){return new NN(n,n.gc(),t)}function a$(n){this.d=n,UO.call(this,n)}function u$(n){this.c=n,UO.call(this,n)}function o$(n){this.c=n,a$.call(this,n)}function s$(){JE(),this.b=new qw(this)}function h$(n){return g0(n,UEn),new pQ(n)}function f$(n){return $q(),parseInt(n)||-1}function l$(n,t,e){return n.substr(t,e-t)}function b$(n,t,e){return NA(n,gun(t),e)}function w$(n){return rF(n.c,n.c.length)}function d$(n){return null!=n.f?n.f:""+n.g}function g$(n){return S$(0!=n.b),n.a.a.c}function p$(n){return S$(0!=n.b),n.c.b.c}function v$(n){CO(n,150)&&Yx(n,150).Gh()}function m$(n){return n.b=Yx(FH(n.a),42)}function y$(n){RE(),this.b=n,this.a=!0}function k$(n){KE(),this.b=n,this.a=!0}function j$(n){n.d=new P$(n),n.e=new rp}function E$(n){if(!n)throw hp(new Dp)}function T$(n){if(!n)throw hp(new $p)}function M$(n){if(!n)throw hp(new Lp)}function S$(n){if(!n)throw hp(new Kp)}function P$(n){oD.call(this,n,null,null)}function I$(){Uj.call(this,"POLYOMINO",0)}function C$(n,t,e,i){LK.call(this,n,t,e,i)}function O$(n,t){return!!n.q&&P_(n.q,t)}function A$(n,t,e){n.Zc(t).Rb(e)}function $$(n,t,e){return n.a+=t,n.b+=e,n}function L$(n,t,e){return n.a*=t,n.b*=e,n}function N$(n,t,e){return n.a-=t,n.b-=e,n}function x$(n,t){return n.a=t.a,n.b=t.b,n}function D$(n){return n.a=-n.a,n.b=-n.b,n}function R$(n){this.c=n,this.a=1,this.b=1}function K$(n){this.c=n,L1(n,0),N1(n,0)}function _$(n){ME.call(this),r0(this,n)}function F$(n){ljn(),sp(this),this.mf(n)}function B$(n,t){kT(),n$.call(this,n,t)}function H$(n,t){jT(),t$.call(this,n,t)}function q$(n,t){jT(),t$.call(this,n,t)}function G$(n,t){jT(),H$.call(this,n,t)}function z$(n,t,e){yY.call(this,n,t,e,2)}function U$(n,t){WC(),KR.call(this,n,t)}function X$(n,t){WC(),U$.call(this,n,t)}function W$(n,t){WC(),U$.call(this,n,t)}function V$(n,t){WC(),W$.call(this,n,t)}function Q$(n,t){WC(),KR.call(this,n,t)}function Y$(n,t){WC(),Q$.call(this,n,t)}function J$(n,t){WC(),KR.call(this,n,t)}function Z$(n,t,e){return Imn(SJ(n,t),e)}function nL(n,t){return P8(n.e,Yx(t,49))}function tL(n,t){t.$modCount=n.$modCount}function eL(){eL=O,s6n=new Og("root")}function iL(){iL=O,$ct=new Rv,new Kv}function rL(){this.a=new Zq,this.b=new Zq}function cL(){T0.call(this),this.Bb|=eMn}function aL(){Uj.call(this,"GROW_TREE",0)}function uL(n){return null==n?null:function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(Jpn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=VQ(Xot,sTn,25,4*(0!=(u=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,o=0;o>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,d=0==(-128&(i=n[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,c[a++]=hot[b],c[a++]=hot[w|s<<4],c[a++]=hot[h<<2|d],c[a++]=hot[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,c[a++]=hot[b],c[a++]=hot[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=0==(-128&t)?t>>2<<24>>24:(t>>2^192)<<24>>24,w=0==(-128&e)?e>>4<<24>>24:(e>>4^240)<<24>>24,c[a++]=hot[b],c[a++]=hot[w|s<<4],c[a++]=hot[h<<2],c[a++]=61),Vnn(c,0,c.length)}(n)}function oL(n){return null==n?null:function(n){var t,e,i,r;if(kdn(),null==n)return null;for(i=n.length,t=VQ(Xot,sTn,25,2*i,15,1),e=0;e>4],t[2*e+1]=lot[15&r];return Vnn(t,0,t.length)}(n)}function sL(n){null==n.o&&function(n){if(n.pe()){var t=n.c;return t.qe()?n.o="["+t.n:t.pe()?n.o="["+t.ne():n.o="[L"+t.ne()+";",n.b=t.me()+"[]",void(n.k=t.oe()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=Wnn(".",[e,Wnn("$",i)]),n.b=Wnn(".",[e,Wnn(".",i)]),n.k=i[i.length-1]}(n)}function hL(n){return QD(null==n||rI(n)),n}function fL(n){return QD(null==n||cI(n)),n}function lL(n){return QD(null==n||aI(n)),n}function bL(n){this.q=new e.Date(VU(n))}function wL(n,t){this.c=n,Xj.call(this,n,t)}function dL(n,t){this.a=n,wL.call(this,n,t)}function gL(n,t){this.d=n,Wl(this),this.b=t}function pL(n,t){ZQ.call(this,n),this.a=t}function vL(n,t){ZQ.call(this,n),this.a=t}function mL(n){hnn.call(this,0,0),this.f=n}function yL(n,t,e){dQ.call(this,n,t,e,null)}function kL(n,t,e){dQ.call(this,n,t,e,null)}function jL(n,t){return Yx(UJ(n.b,t),149)}function EL(n,t){return Yx(UJ(n.c,t),229)}function TL(n){return Yx(TR(n.a,n.b),287)}function ML(n){return new QS(n.c,n.d+n.a)}function SL(n){return hz(),wC(Yx(n,197))}function PL(){PL=O,UHn=J9((Ann(),nrt))}function IL(n,t){t.a?function(n,t){var e,i,r;if(!uF(n.a,t.b))throw hp(new Ym("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new sb(new gN(new UA(new ob(n.a.a).a).b));OT(i.a.a);)if(e=Yx(m$(i.a).cd(),65),u5(t.b,e))vk(n.b.a,t.b,e),r=!0;else if(r)break}(n,t):RA(n.a,t.b)}function CL(n,t){hBn||eD(n.a,t)}function OL(n,t){return xq(t,jSn),n.f=t,n}function AL(n,t,e){return opn(n,t,3,e)}function $L(n,t,e){return opn(n,t,6,e)}function LL(n,t,e){return opn(n,t,9,e)}function NL(n,t,e){++n.j,n.Ki(),XQ(n,t,e)}function xL(n,t,e){++n.j,n.Hi(t,n.oi(t,e))}function DL(n,t,e){n.Zc(t).Rb(e)}function RL(n,t,e){return rmn(n.c,n.b,t,e)}function KL(n,t){return(t&Yjn)%n.d.length}function _L(n,t){Og.call(this,n),this.a=t}function FL(n,t){Gg.call(this,n),this.a=t}function BL(n,t){Gg.call(this,n),this.a=t}function HL(n,t){this.c=n,FZ.call(this,t)}function qL(n,t){this.a=n,qg.call(this,t)}function GL(n,t){this.a=n,qg.call(this,t)}function zL(n){this.a=(g0(n,UEn),new pQ(n))}function UL(n){this.a=(g0(n,UEn),new pQ(n))}function XL(n){return!n.a&&(n.a=new w),n.a}function WL(n){return n>8?0:n+1}function VL(n,t,e){return YR(n,Yx(t,22),e)}function QL(n,t,e){return n.a+=Vnn(t,0,e),n}function YL(n,t){var e;return e=n.e,n.e=t,e}function JL(n,t){n[vMn].call(n,t)}function ZL(n,t){n.a.Vc(n.b,t),++n.b,n.c=-1}function nN(n){U_(n.e),n.d.b=n.d,n.d.a=n.d}function tN(n){n.b?tN(n.b):n.f.c.zc(n.e,n.d)}function eN(n,t){return qy(new Array(t),n)}function iN(n){return String.fromCharCode(n)}function rN(){this.a=new ip,this.b=new ip}function cN(){this.a=new bt,this.b=new Hp}function aN(){this.b=new Pk,this.c=new ip}function uN(){this.d=new Pk,this.e=new Pk}function oN(){this.n=new Pk,this.o=new Pk}function sN(){this.n=new Sv,this.i=new hC}function hN(){this.a=new Jh,this.b=new uc}function fN(){this.a=new ip,this.d=new ip}function lN(){this.b=new Qp,this.a=new Qp}function bN(){this.b=new rp,this.a=new rp}function wN(){this.b=new fj,this.a=new da}function dN(){sN.call(this),this.a=new Pk}function gN(n){Q3.call(this,n,(HY(),WFn))}function pN(n,t,e,i){FR.call(this,n,t,e,i)}function vN(n,t,e){return opn(n,t,11,e)}function mN(n,t){return n.a+=t.a,n.b+=t.b,n}function yN(n,t){return n.a-=t.a,n.b-=t.b,n}function kN(n,t){return null==xB(n.a,t,"")}function jN(n,t){Hm.call(this,pDn+n+Exn+t)}function EN(n,t,e,i){m_.call(this,n,t,e,i)}function TN(n,t,e,i){m_.call(this,n,t,e,i)}function MN(n,t,e,i){TN.call(this,n,t,e,i)}function SN(n,t,e,i){y_.call(this,n,t,e,i)}function PN(n,t,e,i){y_.call(this,n,t,e,i)}function IN(n,t,e,i){y_.call(this,n,t,e,i)}function CN(n,t,e,i){PN.call(this,n,t,e,i)}function ON(n,t,e,i){PN.call(this,n,t,e,i)}function AN(n,t,e,i){IN.call(this,n,t,e,i)}function $N(n,t,e,i){ON.call(this,n,t,e,i)}function LN(n,t,e,i){g_.call(this,n,t,e,i)}function NN(n,t,e){this.a=n,i$.call(this,t,e)}function xN(n,t,e){this.c=t,this.b=e,this.a=n}function DN(n,t){return n.Aj().Nh().Kh(n,t)}function RN(n,t){return n.Aj().Nh().Ih(n,t)}function KN(n,t){return vB(n),iI(n)===iI(t)}function _N(n,t){return vB(n),iI(n)===iI(t)}function FN(n,t){return $k(Dnn(n.a,t,!1))}function BN(n,t){return $k(Rnn(n.a,t,!1))}function HN(n,t){return n.b.sd(new JT(n,t))}function qN(n,t,e){return n.lastIndexOf(t,e)}function GN(n){return n.c?hJ(n.c.a,n,0):-1}function zN(n){return n==uit||n==sit||n==oit}function UN(n,t){return CO(t,15)&&Pdn(n.c,t)}function XN(n,t){return!!c6(n,t)}function WN(n,t){this.c=n,Z_.call(this,n,t)}function VN(n){this.c=n,PI.call(this,IEn,0)}function QN(n,t){aD.call(this,n,n.length,t)}function YN(n,t,e){return Yx(n.c,69).mk(t,e)}function JN(n,t,e){return function(n,t,e){return t.Rk(n.e,n.c,e)}(n,Yx(t,332),e)}function ZN(n,t,e){return function(n,t,e){var i,r,c;return i=t.ak(),c=t.dd(),r=i.$j()?Kq(n,4,i,c,null,$vn(n,i,c,CO(i,99)&&0!=(Yx(i,18).Bb&eMn)),!0):Kq(n,i.Kj()?2:1,i,c,i.zj(),-1,!0),e?e.Ei(r):e=r,e}(n,Yx(t,332),e)}function nx(n,t){return null==t?null:x8(n.b,t)}function tx(n){return cI(n)?(vB(n),n):n.ke()}function ex(n){return!isNaN(n)&&!isFinite(n)}function ix(n){px(),this.a=(XH(),new Ny(n))}function rx(n){dD(),this.d=n,this.a=new ep}function cx(n,t,e){this.a=n,this.b=t,this.c=e}function ax(n,t,e){this.a=n,this.b=t,this.c=e}function ux(n,t,e){this.d=n,this.b=e,this.a=t}function ox(n){aO(this),BH(this),C2(this,n)}function sx(n){AC(this),sD(this.c,0,n.Pc())}function hx(n){hB(n.a),iY(n.c,n.b),n.b=null}function fx(n){this.a=n,oE(),D3(Date.now())}function lx(){lx=O,pBn=new r,vBn=new r}function bx(){bx=O,KFn=new L,_Fn=new N}function wx(){wx=O,Cct=VQ(UKn,iEn,1,0,5,1)}function dx(){dx=O,Fat=VQ(UKn,iEn,1,0,5,1)}function gx(){gx=O,Bat=VQ(UKn,iEn,1,0,5,1)}function px(){px=O,new jp((XH(),XH(),TFn))}function vx(n,t){if(!n)throw hp(new Qm(t))}function mx(n){FR.call(this,n.d,n.c,n.a,n.b)}function yx(n){FR.call(this,n.d,n.c,n.a,n.b)}function kx(n,t,e){this.b=n,this.c=t,this.a=e}function jx(n,t,e){this.b=n,this.a=t,this.c=e}function Ex(n,t,e){this.a=n,this.b=t,this.c=e}function Tx(n,t,e){this.a=n,this.b=t,this.c=e}function Mx(n,t,e){this.a=n,this.b=t,this.c=e}function Sx(n,t,e){this.a=n,this.b=t,this.c=e}function Px(n,t,e){this.b=n,this.a=t,this.c=e}function Ix(n,t,e){this.e=t,this.b=n,this.d=e}function Cx(n){var t;return(t=new jn).e=n,t}function Ox(n){var t;return(t=new lv).b=n,t}function Ax(){Ax=O,aUn=new Ne,uUn=new xe}function $x(){$x=O,CXn=new vr,OXn=new mr}function Lx(n,t){this.c=n,this.a=t,this.b=t-n}function Nx(n,t,e){this.a=n,this.b=t,this.c=e}function xx(n,t,e){this.a=n,this.b=t,this.c=e}function Dx(n,t,e){this.a=n,this.b=t,this.c=e}function Rx(n,t,e){this.a=n,this.b=t,this.c=e}function Kx(n,t,e){this.a=n,this.b=t,this.c=e}function _x(n,t,e){this.e=n,this.a=t,this.c=e}function Fx(n,t,e){WC(),tG.call(this,n,t,e)}function Bx(n,t,e){WC(),iB.call(this,n,t,e)}function Hx(n,t,e){WC(),iB.call(this,n,t,e)}function qx(n,t,e){WC(),iB.call(this,n,t,e)}function Gx(n,t,e){WC(),Bx.call(this,n,t,e)}function zx(n,t,e){WC(),Bx.call(this,n,t,e)}function Ux(n,t,e){WC(),zx.call(this,n,t,e)}function Xx(n,t,e){WC(),Hx.call(this,n,t,e)}function Wx(n,t,e){WC(),qx.call(this,n,t,e)}function Vx(n,t){return MF(n),MF(t),new Fj(n,t)}function Qx(n,t){return MF(n),MF(t),new BD(n,t)}function Yx(n,t){return QD(null==n||Oen(n,t)),n}function Jx(n){var t;return zJ(t=new ip,n),t}function Zx(n){var t;return $2(t=new rv,n),t}function nD(n){var t;return $2(t=new ME,n),t}function tD(n){return!n.e&&(n.e=new ip),n.e}function eD(n,t){return n.c[n.c.length]=t,!0}function iD(n,t){this.c=n,this.b=t,this.a=!1}function rD(n){this.d=n,Wl(this),this.b=function(n){return CO(n,15)?Yx(n,15).Yc():n.Kc()}(n.d)}function cD(){this.a=";,;",this.b="",this.c=""}function aD(n,t,e){s_.call(this,t,e),this.a=n}function uD(n,t,e){this.b=n,MI.call(this,t,e)}function oD(n,t,e){this.c=n,zT.call(this,t,e)}function sD(n,t,e){hhn(e,0,n,t,e.length,!1)}function hD(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function fD(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function lD(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function bD(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function wD(n){return $3(function(n){return rO(~n.l&BTn,~n.m&BTn,~n.h&HTn)}(tC(n)?W3(n):n))}function dD(){dD=O,Ikn(),Y3n=qit,J3n=Eit}function gD(){this.b=ty(fL(oen((Bdn(),yGn))))}function pD(n){return HE(),VQ(UKn,iEn,1,n,5,1)}function vD(n){return new QS(n.c+n.b,n.d+n.a)}function mD(n){return S$(0!=n.b),VZ(n,n.a.a)}function yD(n){return S$(0!=n.b),VZ(n,n.c.b)}function kD(n,t){if(!n)throw hp(new qm(t))}function jD(n,t){if(!n)throw hp(new Qm(t))}function ED(n,t,e){LM.call(this,n,t),this.b=e}function TD(n,t,e){XP.call(this,n,t),this.c=e}function MD(n,t,e){RZ.call(this,t,e),this.d=n}function SD(n){gx(),yo.call(this),this.th(n)}function PD(n,t,e){this.a=n,HI.call(this,t,e)}function ID(n,t,e){this.a=n,HI.call(this,t,e)}function CD(n,t,e){XP.call(this,n,t),this.c=e}function OD(){wV(),uB.call(this,(mT(),aat))}function AD(n){return null!=n&&!$7(n,Wct,Vct)}function $D(n,t){return(u9(n)<<4|u9(t))&fTn}function LD(n,t){var e;n.n&&(e=t,eD(n.f,e))}function ND(n,t,e){OZ(n,t,new zF(e))}function xD(n,t){return n.g=t<0?-1:t,n}function DD(n,t){return function(n){var t;(t=e.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=t,n.b/=t)}(n),n.a*=t,n.b*=t,n}function RD(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function KD(n,t){return VW(n,t,n.c.b,n.c),!0}function _D(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function FD(n){this.b=n,this.a=DK(this.b.a).Ed()}function BD(n,t){this.b=n,this.a=t,_h.call(this)}function HD(n,t){this.a=n,this.b=t,_h.call(this)}function qD(n,t){s_.call(this,t,1040),this.a=n}function GD(n){return 0==n||isNaN(n)?n:n<0?-1:1}function zD(n,t){return ean(n,new LM(t.a,t.b))}function UD(n){var t;return t=n.n,n.a.b+t.d+t.a}function XD(n){var t;return t=n.n,n.e.b+t.d+t.a}function WD(n){var t;return t=n.n,n.e.a+t.b+t.c}function VD(n){return Ljn(),new BR(0,n)}function QD(n){if(!n)throw hp(new Vm(null))}function YD(){YD=O,XH(),jut=new bb(HRn)}function JD(){JD=O,new _en((wm(),n_n),(dm(),ZKn))}function ZD(){ZD=O,G_n=VQ(U_n,TEn,19,256,0,1)}function nR(n,t,e,i){F7.call(this,n,t,e,i,0,0)}function tR(n){return n.e.c.length+n.g.c.length}function eR(n){return n.e.c.length-n.g.c.length}function iR(n){return n.b.c.length-n.e.c.length}function rR(n){gx(),SD.call(this,n),this.a=-1}function cR(n,t){VP.call(this,n,t),this.a=this}function aR(n,t){var e;return(e=TF(n,t)).i=2,e}function uR(n,t){return++n.j,n.Ti(t)}function oR(n,t,e){return n.a=-1,ZA(n,t.g,e),n}function sR(n,t,e){!function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;null==(w=BF(n.e,i))&&(s=Yx(w=new Om,183),o=new zF(t+"_s"+r),OZ(s,rxn,o)),nB(e,b=Yx(w,183)),nq(g=new Om,"x",i.j),nq(g,"y",i.k),OZ(b,uxn,g),nq(f=new Om,"x",i.b),nq(f,"y",i.c),OZ(b,"endPoint",f),!Sj((!i.a&&(i.a=new XO(Qrt,i,5)),i.a))&&(c=new pg(h=new Sl),XW((!i.a&&(i.a=new XO(Qrt,i,5)),i.a),c),OZ(b,YNn,h)),!!Jen(i)&&jun(n.a,b,ZNn,ksn(n,Jen(i))),!!Zen(i)&&jun(n.a,b,JNn,ksn(n,Zen(i))),!(0==(!i.e&&(i.e=new AN(tct,i,10,9)),i.e).i)&&(a=new FP(n,l=new Sl),XW((!i.e&&(i.e=new AN(tct,i,10,9)),i.e),a),OZ(b,txn,l)),0!=(!i.g&&(i.g=new AN(tct,i,9,10)),i.g).i&&(u=new BP(n,d=new Sl),XW((!i.g&&(i.g=new AN(tct,i,9,10)),i.g),u),OZ(b,nxn,d))}(n.a,n.b,n.c,Yx(t,202),e)}function hR(n,t,e){return new xN(function(n){return 0>=n?new EE:function(n){return 0>n?new EE:new vL(null,new cV(n+1,n))}(n-1)}(n).Ie(),e,t)}function fR(n,t,e,i,r,c){return nan(n,t,e,i,r,0,c)}function lR(){lR=O,R_n=VQ(__n,TEn,217,256,0,1)}function bR(){bR=O,X_n=VQ(J_n,TEn,162,256,0,1)}function wR(){wR=O,Z_n=VQ(nFn,TEn,184,256,0,1)}function dR(){dR=O,F_n=VQ(B_n,TEn,172,128,0,1)}function gR(){hD(this,!1,!1,!1,!1)}function pR(n){VF(),this.a=(XH(),new bb(MF(n)))}function vR(n){for(MF(n);n.Ob();)n.Pb(),n.Qb()}function mR(n){this.c=n,this.b=this.c.d.vc().Kc()}function yR(n){this.c=n,this.a=new TE(this.c.a)}function kR(n){this.a=new kE(n.gc()),C2(this,n)}function jR(n){Mb.call(this,new bW),C2(this,n)}function ER(n,t){return n.a+=Vnn(t,0,t.length),n}function TR(n,t){return $z(t,n.c.length),n.c[t]}function MR(n,t){return $z(t,n.a.length),n.a[t]}function SR(n,t){HE(),ZQ.call(this,n),this.a=t}function PR(n,t){return function(n,t){return ytn(t7(ytn(n.a).a,t.a))}(Yx(n,162),Yx(t,162))}function IR(n){return n.c-Yx(TR(n.a,n.b),287).b}function CR(n){return n.q?n.q:(XH(),XH(),MFn)}function OR(n){return n.e.Hd().gc()*n.c.Hd().gc()}function AR(n,t,i){return e.Math.min(i/n,1/t)}function $R(n,t){return n?0:e.Math.max(0,t-1)}function LR(n){var t;return(t=han(n))?LR(t):n}function NR(n,t){return null==n.a&&qdn(n),n.a[t]}function xR(n){return n.c?n.c.f:n.e.b}function DR(n){return n.c?n.c.g:n.e.a}function RR(n){FZ.call(this,n.gc()),jF(this,n)}function KR(n,t){WC(),zg.call(this,t),this.a=n}function _R(n,t,e){this.a=n,XO.call(this,t,e,2)}function FR(n,t,e,i){fD(this,n,t,e,i)}function BR(n,t){Ljn(),np.call(this,n),this.a=t}function HR(n){this.b=new ME,this.a=n,this.c=-1}function qR(){this.d=new QS(0,0),this.e=new Qp}function GR(n){i$.call(this,0,0),this.a=n,this.b=0}function zR(n){this.a=n,this.c=new rp,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),rO(i&BTn,r&BTn,c&HTn)}(tC(n)?W3(n):n,t))}function XK(n,t){return function(n,t){return TA(),n==t?0:n?1:-1}((vB(n),n),(vB(t),t))}function WK(n,t){return $9((vB(n),n),(vB(t),t))}function VK(n,t){return MF(t),n.a.Ad(t)&&!n.b.Ad(t)}function QK(n,t){return W8(n,(vB(t),new Pb(t)))}function YK(n,t){return W8(n,(vB(t),new Ib(t)))}function JK(n){return Q2(),0!=Yx(n,11).e.c.length}function ZK(n){return Q2(),0!=Yx(n,11).g.c.length}function n_(n,t,e){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=Yx(TR(t.e,0),17).c.i)==(a=Yx(TR(e.e,0),17).c.i))return eO(Yx(Aun(Yx(TR(t.e,0),17),(Ojn(),IQn)),19).a,Yx(Aun(Yx(TR(e.e,0),17),IQn),19).a);for(f=0,l=(h=n.a).length;fu?1:0:(n.b&&(n.b._b(c)&&(r=Yx(n.b.xc(c),19).a),n.b._b(o)&&(u=Yx(n.b.xc(o),19).a)),ru?1:0)):0!=t.e.c.length&&0!=e.g.c.length?1:-1}(n,Yx(t,11),Yx(e,11))}function t_(n){return n.e?oQ(n.e):null}function e_(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function i_(n,t){if(n<0||n>=t)throw hp(new Gp)}function r_(n,t,e){return udn(),s3(n,t)&&s3(n,e)}function c_(n){return Chn(),!n.Hc(pit)&&!n.Hc(mit)}function a_(n){return new QS(n.c+n.b/2,n.d+n.a/2)}function u_(n,t){return t.kh()?P8(n.b,Yx(t,49)):t}function o_(n,t){this.e=n,this.d=0!=(64&t)?t|MEn:t}function s_(n,t){this.c=0,this.d=n,this.b=64|t|MEn}function h_(n){this.b=new pQ(11),this.a=(WH(),n)}function f_(n){this.b=null,this.a=(WH(),n||IFn)}function l_(n){this.a=xen(n.a),this.b=new sx(n.b)}function b_(n){this.b=n,a$.call(this,n),FO(this)}function w_(n){this.b=n,o$.call(this,n),BO(this)}function d_(n,t,e){this.a=n,EN.call(this,t,e,5,6)}function g_(n,t,e,i){this.b=n,XO.call(this,t,e,i)}function p_(n,t,e,i,r){kY.call(this,n,t,e,i,r,-1)}function v_(n,t,e,i,r){jY.call(this,n,t,e,i,r,-1)}function m_(n,t,e,i){XO.call(this,n,t,e),this.b=i}function y_(n,t,e,i){TD.call(this,n,t,e),this.b=i}function k_(n){WP.call(this,n,!1),this.a=!1}function j_(n,t){this.b=n,ol.call(this,n.b),this.a=t}function E_(n,t){VF(),Jj.call(this,n,$8(new ay(t)))}function T_(n,t){return Ljn(),new rB(n,t,0)}function M_(n,t){return Ljn(),new rB(6,n,t)}function S_(n,t){return _N(n.substr(0,t.length),t)}function P_(n,t){return aI(t)?hq(n,t):!!Dq(n.f,t)}function I_(n,t){for(vB(t);n.Ob();)t.td(n.Pb())}function C_(n,t,e){bdn(),this.e=n,this.d=t,this.a=e}function O_(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function A_(n){var t;for(t=n;t.f;)t=t.f;return t}function $_(n){var t;return S$(null!=(t=T5(n))),t}function L_(n){var t;return S$(null!=(t=function(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,DF(n.a,n.c,null),t)}(n))),t}function N_(n,t){var e;return qV(t,e=n.a.gc()),e-t}function x_(n,t){var e;for(e=0;en||n>t)throw hp(new Py("fromIndex: 0, toIndex: "+n+MMn+t))}(t,n.length),new qD(n,t)}(n,n.length))}function W_(n){return new $K(new sA(n.a.length,n.a))}function V_(n){return typeof n===Ujn||typeof n===Qjn}function Q_(n,t){return k8(n,t)<0?-1:k8(n,t)>0?1:0}function Y_(n,t,e){return jmn(n,Yx(t,46),Yx(e,167))}function J_(n,t){return Yx(KK(DK(n.a)).Xb(t),42).cd()}function Z_(n,t){this.d=n,UO.call(this,n),this.e=t}function nF(n){this.d=(vB(n),n),this.a=0,this.c=IEn}function tF(n,t){np.call(this,1),this.a=n,this.b=t}function eF(n,t){return n.c?eF(n.c,t):eD(n.b,t),n}function iF(n,t,e){var i;return i=VJ(n,t),ZX(n,t,e),i}function rF(n,t){return aJ(n.slice(0,t),n)}function cF(n,t,e){var i;for(i=0;i=14&&e<=16);case 11:return null!=t&&typeof t===Qjn;case 12:return null!=t&&(typeof t===Ujn||typeof t==Qjn);case 0:return Oen(t,n.__elementTypeId$);case 2:return V_(t)&&!(t.im===C);case 1:return V_(t)&&!(t.im===C)||Oen(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function RF(n,t){var e;return HU(t,e=n.a.gc()),e-1-t}function KF(n,t){return n.a+=String.fromCharCode(t),n}function _F(n,t){return n.a+=String.fromCharCode(t),n}function FF(n,t){for(vB(t);n.c0?(den(n,e,0),e.a+=String.fromCharCode(i),den(n,e,r=htn(t,c)),c+=r-1):39==i?c+1=n.g}function ZF(n,t,e){return tgn(n,h2(n,t,e))}function nB(n,t){var e;VJ(n,e=n.a.length),ZX(n,e,t)}function tB(n,t){console[n].call(console,t)}function eB(n,t){var e;++n.j,e=n.Vi(),n.Ii(n.oi(e,t))}function iB(n,t,e){zg.call(this,t),this.a=n,this.b=e}function rB(n,t,e){np.call(this,n),this.a=t,this.b=e}function cB(n,t,e){this.a=n,Gg.call(this,t),this.b=e}function aB(n,t,e){this.a=n,lX.call(this,8,t,null,e)}function uB(n){this.a=(vB(nRn),nRn),this.b=n,new Xv}function oB(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function sB(n){this.c=n,this.b=n.a.d.a,tL(n.a.e,this)}function hB(n){M$(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function fB(n){return e.Math.sqrt(n.a*n.a+n.b*n.b)}function lB(n,t){return i_(t,n.a.c.length),TR(n.a,t)}function bB(n,t){return iI(n)===iI(t)||null!=n&&Q8(n,t)}function wB(n){return n?n.dc():!n.Kc().Ob()}function dB(n){return!n.a&&n.c?n.c.b:n.a}function gB(n){return!n.a&&(n.a=new XO(Wrt,n,4)),n.a}function pB(n){return!n.d&&(n.d=new XO(hat,n,1)),n.d}function vB(n){if(null==n)throw hp(new Np);return n}function mB(n){n.c?n.c.He():(n.d=!0,function(n){var t,e,i,r,c;if(c=new ip,WZ(n.b,new Gb(c)),n.b.c=VQ(UKn,iEn,1,0,5,1),0!=c.c.length){for($z(0,c.c.length),t=Yx(c.c[0],78),e=1,i=c.c.length;e0;)n=n<<1|(n<0?1:0);return n}function qB(n,t){return iI(n)===iI(t)||null!=n&&Q8(n,t)}function GB(n,t){return rK(n.a,t)?n.b[Yx(t,22).g]:null}function zB(n,t,e,i){n.a=l$(n.a,0,t)+""+i+lI(n.a,e)}function UB(n,t){n.u.Hc((Chn(),pit))&&function(n,t){var i,r,c,a;for(i=(a=Yx(GB(n.b,t),124)).a,c=Yx(Yx(_V(n.r,t),21),84).Kc();c.Ob();)(r=Yx(c.Pb(),111)).c&&(i.a=e.Math.max(i.a,WD(r.c)));if(i.a>0)switch(t.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}(n,t),function(n,t){var e;n.C&&((e=Yx(GB(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}(n,t)}function XB(n,t){return Lz(t,n.length),n.charCodeAt(t)}function WB(){Im.call(this,"There is no more element.")}function VB(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function QB(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function YB(n,t,e,i){return h3(n,t,e,!1),f9(n,i),n}function JB(n){return!n.n&&(n.n=new m_(act,n,1,7)),n.n}function ZB(n){return!n.c&&(n.c=new m_(oct,n,9,9)),n.c}function nH(n){return n.e==qRn&&function(n,t){n.e=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),gxn)))?i:t.ne()}(n.g,n.b)),n.e}function tH(n){return n.f==qRn&&function(n,t){n.f=t}(n,function(n,t){var e,i;return(e=t.Hh(n.a))?(i=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),RRn)),_N(KRn,i)?OK(n,i1(t.Hj())):i):null}(n.g,n.b)),n.f}function eH(n){var t;return!(t=n.b)&&(n.b=t=new Qf(n)),t}function iH(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function rH(n){if(A7(n.d),n.d.d!=n.c)throw hp(new Dp)}function cH(n,t){this.b=n,this.c=t,this.a=new TE(this.b)}function aH(n,t,e){this.a=oTn,this.d=n,this.b=t,this.c=e}function uH(n,t){this.d=(vB(n),n),this.a=16449,this.c=t}function oH(n,t){Q9(n,ty(q1(t,"x")),ty(q1(t,"y")))}function sH(n,t){Q9(n,ty(q1(t,"x")),ty(q1(t,"y")))}function hH(n,t){return W9(n),new SR(n,new _Y(t,n.a))}function fH(n,t){return W9(n),new SR(n,new JV(t,n.a))}function lH(n,t){return W9(n),new pL(n,new QV(t,n.a))}function bH(n,t){return W9(n),new vL(n,new YV(t,n.a))}function wH(n){this.a=new ip,this.e=VQ(Wot,TEn,48,n,0,2)}function dH(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function gH(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function pH(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function vH(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function mH(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function yH(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function kH(n,t,e,i){Uj.call(this,n,t),this.a=e,this.b=i}function jH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function EH(n,t,i){(function(n,t){var e,i,r,c;for(function(n){var t;for(t=0;t(i=oG(e))&&++i,i}function SH(n){var t;return b1(t=new up,n),t}function PH(n){var t;return Xun(t=new up,n),t}function IH(n){return function(n){var t;return CO(t=Aun(n,(Ojn(),CQn)),160)?W7(Yx(t,160)):null}(n)||null}function CH(n){return!n.b&&(n.b=new m_(nct,n,12,3)),n.b}function OH(n,t,e){e.a?N1(n,t.b-n.f/2):L1(n,t.a-n.g/2)}function AH(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function $H(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function LH(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function NH(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function xH(n,t,e,i){WC(),AV.call(this,t,e,i),this.a=n}function DH(n,t,e,i){WC(),AV.call(this,t,e,i),this.a=n}function RH(n,t){this.a=n,gL.call(this,n,Yx(n.d,15).Zc(t))}function KH(n){this.f=n,this.c=this.f.e,n.f>0&&Icn(this)}function _H(n,t,e,i){this.b=n,this.c=i,PI.call(this,t,e)}function FH(n){return S$(n.b0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),n=new d,p_n=t?new E:n}function Lq(n,t){var e;return e=Nk(n.gm),null==t?e:e+": "+t}function Nq(n,t){var e;return pW(e=n.b.Qc(t),n.b.gc()),e}function xq(n,t){if(null==n)throw hp(new Zm(t));return n}function Dq(n,t){return q6(n,t,function(n,t){var e;return null==(e=n.a.get(t))?new Array:e}(n,null==t?0:n.b.se(t)))}function Rq(n,t,e){return e>=0&&_N(n.substr(e,t.length),t)}function Kq(n,t,e,i,r,c,a){return new oW(n.e,t,e,i,r,c,a)}function _q(n,t,e,i,r,c){this.a=n,E0.call(this,t,e,i,r,c)}function Fq(n,t,e,i,r,c){this.a=n,E0.call(this,t,e,i,r,c)}function Bq(n,t){this.g=n,this.d=x4(Gy(Gzn,1),kIn,10,0,[t])}function Hq(n,t){this.e=n,this.a=UKn,this.b=Zdn(t),this.c=t}function qq(n,t){sN.call(this),YZ(this),this.a=n,this.c=t}function Gq(n,t,e,i){DF(n.c[t.g],e.g,i),DF(n.c[e.g],t.g,i)}function zq(n,t,e,i){DF(n.c[t.g],t.g,e),DF(n.b[t.g],t.g,i)}function Uq(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function Xq(n){return 0==n.b.b?n.a.$e():mD(n.b)}function Wq(n){return iI(n.a)===iI((W2(),Gat))&&function(n){var t,e,i,r,c,a,u,o,s,h;for(t=new To,e=new To,s=_N(ZDn,(r=dpn(n.b,nRn))?lL(ynn((!r.b&&(r.b=new z$((xjn(),Dat),out,r)),r.b),tRn)):null),o=0;o=0?n.sh(i,e):pbn(n,t,e)}function wG(n,t,e){_G(),n&&xB(Sct,n,t),n&&xB(Mct,n,e)}function dG(n,t,e){this.i=new ip,this.b=n,this.g=t,this.a=e}function gG(n,t,e){this.c=new ip,this.e=n,this.f=t,this.b=e}function pG(n,t,e){this.a=new ip,this.e=n,this.f=t,this.c=e}function vG(n,t){jO(this),this.f=t,this.g=n,qH(this),this._d()}function mG(n,t){var e;e=n.q.getHours(),n.q.setDate(t),Ivn(n,e)}function yG(n,t){var e;for(MF(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function kG(n){var t;return L5(t=new Xk(IZ(n.length)),n),t}function jG(n,t){if(null==t)throw hp(new Np);return function(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(r5(),S_n)[typeof e];return r?r(e):Z6(typeof e)}(n,t)}function EG(n){return n.Db>>16!=3?null:Yx(n.Cb,33)}function TG(n){return n.Db>>16!=9?null:Yx(n.Cb,33)}function MG(n){return n.Db>>16!=6?null:Yx(n.Cb,79)}function SG(n){return n.Db>>16!=7?null:Yx(n.Cb,235)}function PG(n){return n.Db>>16!=7?null:Yx(n.Cb,160)}function IG(n){return n.Db>>16!=11?null:Yx(n.Cb,33)}function CG(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):zhn(n,t)}function OG(n,t){var e;return Eun(e=new jR(t),n),new sx(e)}function AG(n){var t;return t=n.d,t=n.si(n.f),fY(n,t),t.Ob()}function $G(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function LG(n,t){return e.Math.abs(n)>16!=3?null:Yx(n.Cb,147)}function BG(n){return n.Db>>16!=6?null:Yx(n.Cb,235)}function HG(n){return n.Db>>16!=17?null:Yx(n.Cb,26)}function qG(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function GG(n,t,e){return null==t?Ysn(n.f,null,e):r7(n.g,t,e)}function zG(n,t,e,i,r,c){return new yJ(n.e,t,n.aj(),e,i,r,c)}function UG(n,t,e){return n.a=l$(n.a,0,t)+""+e+lI(n.a,t),n}function XG(n,t,e){return eD(n.a,(KB(),gin(t,e),new Wj(t,e))),n}function WG(n){return jA(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function VG(n){return jA(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function QG(n,t){n.d&&uJ(n.d.e,n),n.d=t,n.d&&eD(n.d.e,n)}function YG(n,t){n.c&&uJ(n.c.g,n),n.c=t,n.c&&eD(n.c.g,n)}function JG(n,t){n.c&&uJ(n.c.a,n),n.c=t,n.c&&eD(n.c.a,n)}function ZG(n,t){n.i&&uJ(n.i.j,n),n.i=t,n.i&&eD(n.i.j,n)}function nz(n,t,e){this.a=t,this.c=n,this.b=(MF(e),new sx(e))}function tz(n,t,e){this.a=t,this.c=n,this.b=(MF(e),new sx(e))}function ez(n,t){this.a=n,this.c=dO(this.a),this.b=new Tq(t)}function iz(n,t){if(n<0||n>t)throw hp(new Hm(RMn+n+KMn+t))}function rz(n,t){return cK(n.a,t)?K_(n,Yx(t,22).g,null):null}function cz(){cz=O,o_n=z6((pm(),x4(Gy(s_n,1),XEn,538,0,[a_n])))}function az(){az=O,A3n=yK(new fX,($un(),tzn),($jn(),iXn))}function uz(){uz=O,$3n=yK(new fX,($un(),tzn),($jn(),iXn))}function oz(){oz=O,N3n=yK(new fX,($un(),tzn),($jn(),iXn))}function sz(){sz=O,c4n=oR(new fX,($un(),tzn),($jn(),CUn))}function hz(){hz=O,h4n=oR(new fX,($un(),tzn),($jn(),CUn))}function fz(){fz=O,b4n=oR(new fX,($un(),tzn),($jn(),CUn))}function lz(){lz=O,j4n=oR(new fX,($un(),tzn),($jn(),CUn))}function bz(){bz=O,c6n=yK(new fX,(Krn(),n5n),(ysn(),c5n))}function wz(n,t,e,i){this.c=n,this.d=i,pz(this,t),vz(this,e)}function dz(n){this.c=new ME,this.b=n.b,this.d=n.c,this.a=n.a}function gz(n){this.a=e.Math.cos(n),this.b=e.Math.sin(n)}function pz(n,t){n.a&&uJ(n.a.k,n),n.a=t,n.a&&eD(n.a.k,n)}function vz(n,t){n.b&&uJ(n.b.f,n),n.b=t,n.b&&eD(n.b.f,n)}function mz(n,t){(function(n,t,e){Yx(t.b,65),WZ(t.a,new xx(n,e,t))})(n,n.b,n.c),Yx(n.b.b,65),t&&Yx(t.b,65).b}function yz(n,t){CO(n.Cb,88)&&rhn(bV(Yx(n.Cb,88)),4),E2(n,t)}function kz(n,t){CO(n.Cb,179)&&(Yx(n.Cb,179).tb=null),E2(n,t)}function jz(n,t){return TT(),GJ(t)?new cR(t,n):new VP(t,n)}function Ez(n){var t;return Rk(),b1(t=new up,n),t}function Tz(n){var t;return Rk(),b1(t=new up,n),t}function Mz(n,t){var e;return e=new qF(n),t.c[t.c.length]=e,e}function Sz(n,t){var e;return(e=Yx(x8(QH(n.a),t),14))?e.gc():0}function Pz(n){return W9(n),WH(),WH(),HZ(n,CFn)}function Iz(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function Cz(n,t){cm.call(this,new kE(IZ(n))),g0(t,EEn),this.a=t}function Oz(n,t,e){i9(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function Az(n,t,e){var i;i9(t,e,n.c.length),i=e-t,uj(n.c,t,i)}function $z(n,t){if(n<0||n>=t)throw hp(new Hm(RMn+n+KMn+t))}function Lz(n,t){if(n<0||n>=t)throw hp(new Ly(RMn+n+KMn+t))}function Nz(n,t){this.b=(vB(n),n),this.a=0==(t&nMn)?64|t|MEn:t}function xz(n){$C(this),zp(this.a,j5(e.Math.max(8,n))<<1)}function Dz(n){return $5(x4(Gy(B7n,1),TEn,8,0,[n.i.n,n.n,n.a]))}function Rz(n,t){return function(n,t,e){var i,r,c,a,u,o;if(a=new go,u=dwn(n.e.Tg(),t),i=Yx(n.g,119),TT(),Yx(t,66).Oj())for(c=0;c0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function PU(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function IU(n){return hR(n.e.Hd().gc()*n.c.Hd().gc(),16,new qf(n))}function CU(n){return Yx(Htn(n,VQ(Nzn,yIn,17,n.c.length,0,1)),474)}function OU(n){return Yx(Htn(n,VQ(Gzn,kIn,10,n.c.length,0,1)),193)}function AU(n,t,e){MF(n),function(n){var t,e,i;for(XH(),JC(n.c,n.a),i=new pb(n.c);i.a=0&&d=t)throw hp(new Hm(function(n,t){if(n<0)return ngn(eEn,x4(Gy(UKn,1),iEn,1,5,["index",d9(n)]));if(t<0)throw hp(new Qm(rEn+t));return ngn("%s (%s) must be less than size (%s)",x4(Gy(UKn,1),iEn,1,5,["index",d9(n),d9(t)]))}(n,t)));return n}function qU(n,t,e){if(n<0||te)throw hp(new Hm(function(n,t,e){return n<0||n>e?Usn(n,e,"start index"):t<0||t>e?Usn(t,e,"end index"):ngn("end index (%s) must not be less than start index (%s)",x4(Gy(UKn,1),iEn,1,5,[d9(t),d9(n)]))}(n,t,e)))}function GU(n,t){if(__(n.a,t),t.d)throw hp(new Im(GMn));t.d=n}function zU(n,t){if(t.$modCount!=n.$modCount)throw hp(new Dp)}function UU(n,t){return!!CO(t,42)&&Fin(n.a,Yx(t,42))}function XU(n,t){return!!CO(t,42)&&Fin(n.a,Yx(t,42))}function WU(n,t){return!!CO(t,42)&&Fin(n.a,Yx(t,42))}function VU(n){var t;return tC(n)?-0==(t=n)?0:t:function(n){return gcn(n,(LJ(),A_n))<0?-function(n){return n.l+n.m*GTn+n.h*zTn}(h5(n)):n.l+n.m*GTn+n.h*zTn}(n)}function QU(n){var t;return yB(n),t=new F,Qk(n.a,new _b(t)),t}function YU(n){var t;return yB(n),t=new _,Qk(n.a,new Kb(t)),t}function JU(n,t){this.a=n,Vl.call(this,n),iz(t,n.gc()),this.b=t}function ZU(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function nX(n){return new pQ((g0(n,VEn),PZ(t7(t7(5,n),n/10|0))))}function tX(n){return Yx(Htn(n,VQ(rUn,jIn,11,n.c.length,0,1)),1943)}function eX(n,t,e){n.d&&uJ(n.d.e,n),n.d=t,n.d&&ZR(n.d.e,e,n)}function iX(n,t){(function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(m=0,0==t.f.b)for(p=new pb(n);p.a2e3&&(k_n=n,j_n=e.setTimeout(Ij,10)),0==y_n++&&(function(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=Zon(t,e)}while(n.a);n.a=e}}((py(),g_n)),!0)}();try{return function(n,t,e){return n.apply(t,e)}(n,t,i)}finally{!function(n){n&&function(n){var t,e;if(n.b){e=null;do{t=n.b,n.b=null,e=Zon(t,e)}while(n.b);n.b=e}}((py(),g_n)),--y_n,n&&-1!=j_n&&(function(n){e.clearTimeout(n)}(j_n),j_n=-1)}(r)}}function hX(n){var t;t=n.Wg(),this.a=CO(t,69)?Yx(t,69).Zh():t.Kc()}function fX(){hm.call(this),this.j.c=VQ(UKn,iEn,1,0,5,1),this.a=-1}function lX(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function bX(n,t,e,i){this.e=i,this.d=null,this.c=n,this.a=t,this.b=e}function wX(n,t,e){this.d=new sd(this),this.e=n,this.i=t,this.f=e}function dX(){dX=O,zVn=new nS(pSn,0),UVn=new nS("TOP_LEFT",1)}function gX(){gX=O,K3n=RB(d9(1),d9(4)),R3n=RB(d9(1),d9(2))}function pX(){pX=O,l9n=z6((eT(),x4(Gy(d9n,1),XEn,551,0,[h9n])))}function vX(){vX=O,s9n=z6((tT(),x4(Gy(f9n,1),XEn,482,0,[u9n])))}function mX(){mX=O,a7n=z6((iT(),x4(Gy(s7n,1),XEn,530,0,[r7n])))}function yX(){yX=O,yqn=z6((BE(),x4(Gy(Bqn,1),XEn,481,0,[vqn])))}function kX(n,t,e,i){return CO(e,54)?new C$(n,t,e,i):new LK(n,t,e,i)}function jX(n,t){return Yx(qA(QK(Yx(_V(n.k,t),15).Oc(),hWn)),113)}function EX(n,t){return Yx(qA(YK(Yx(_V(n.k,t),15).Oc(),hWn)),113)}function TX(n){return new Nz(function(n,t){var e,i;for(XH(),i=new ip,e=0;e0}function IX(n){return S$(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function CX(n,t){vB(t),DF(n.a,n.c,t),n.c=n.c+1&n.a.length-1,vrn(n)}function OX(n,t){vB(t),n.b=n.b-1&n.a.length-1,DF(n.a,n.b,t),vrn(n)}function AX(n,t){var e;for(e=n.j.c.length;e0&&smn(n.g,0,t,0,n.i),t}function _X(n,t){var e;return MT(),!(e=Yx(BF(Nct,n),55))||e.wj(t)}function FX(n){var t;for(t=0;n.Ob();)n.Pb(),t=t7(t,1);return PZ(t)}function BX(n,t){var e;return e=new $y,n.xd(e),e.a+="..",t.yd(e),e.a}function HX(n,t,e){return fvn(n,t,e,CO(t,99)&&0!=(Yx(t,18).Bb&eMn))}function qX(n,t,e){return function(n,t,e,i){var r,c,a,u,o,s;if(u=new go,o=dwn(n.e.Tg(),t),r=Yx(n.g,119),TT(),Yx(t,66).Oj())for(a=0;an.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=function(n){return(n.c+n.a)/2}(($z(i=function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;if(c=e,e=e&&(i=t,c=(o=(u.c+u.a)/2)-e,u.c<=o-e&&ZR(n,i++,new Lx(u.c,c)),(a=o+e)<=u.a&&(r=new Lx(a,u.a),iz(i,n.c.length),GT(n.c,i,r)))}(t,i,e)),o}(r,e,i))),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new wz((iQ(),K4n),t,c,1),new wz(K4n,c,a,1),r=new pb(e);r.a0;)i+=n.a[e],e-=e&-e;return i}function UW(n,t){var e;for(e=t;e;)$$(n,-e.i,-e.j),e=IG(e);return n}function XW(n,t){var e,i;for(vB(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function WW(n,t){var e;return new Wj(e=t.cd(),n.e.pc(e,Yx(t.dd(),14)))}function VW(n,t,e,i){var r;(r=new $).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function QW(n,t,e){var i;return $z(t,n.c.length),i=n.c[t],n.c[t]=e,i}function YW(n){return n.c&&n.d?Yz(n.c)+"->"+Yz(n.d):"e_"+_A(n)}function JW(n,t){return(W9(n),ej(new SR(n,new _Y(t,n.a)))).sd(dBn)}function ZW(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function nV(n){if(!n.c.Sb())throw hp(new Kp);return n.a=!0,n.c.Ub()}function tV(n){n.i=0,qT(n.b,null),qT(n.c,null),n.a=null,n.e=null,++n.g}function eV(n){KT.call(this,null==n?aEn:I7(n),CO(n,78)?Yx(n,78):null)}function iV(n){Tjn(),sp(this),this.a=new ME,a6(this,n),KD(this.a,n)}function rV(){AC(this),this.b=new QS(JTn,JTn),this.a=new QS(ZTn,ZTn)}function cV(n,t){this.c=0,this.b=t,SI.call(this,n,17493),this.a=this.c}function aV(n){uV(),hBn||(this.c=n,this.e=!0,this.a=new ip)}function uV(){uV=O,hBn=!0,oBn=!1,sBn=!1,lBn=!1,fBn=!1}function oV(n,t){return!!CO(t,149)&&_N(n.c,Yx(t,149).c)}function sV(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function hV(n,t){return Yx(UJ(n.d,t),23)||Yx(UJ(n.e,t),23)}function fV(n){this.b=n,UO.call(this,n),this.a=Yx(H3(this.b.a,4),126)}function lV(n){this.b=n,u$.call(this,n),this.a=Yx(H3(this.b.a,4),126)}function bV(n){return n.t||(n.t=new Kg(n),y9(new Um(n),0,n.t)),n.t}function wV(){var n,t;wV=O,Rk(),t=new Bp,gut=t,n=new qv,put=n}function dV(n){var t;return n.c||CO(t=n.r,88)&&(n.c=Yx(t,26)),n.c}function gV(n){return rO(n&BTn,n>>22&BTn,n<0?HTn:0)}function pV(n,t){var e,i;(e=Yx(function(n,t){MF(n);try{return n.Bc(t)}catch(n){if(CO(n=j4(n),205)||CO(n,173))return null;throw hp(n)}}(n.c,t),14))&&(i=e.gc(),e.$b(),n.d-=i)}function vV(n,t){var e;return!!(e=c6(n,t.cd()))&&qB(e.e,t.dd())}function mV(n,t){return 0==t||0==n.e?n:t>0?Nnn(n,t):Own(n,-t)}function yV(n,t){return 0==t||0==n.e?n:t>0?Own(n,t):Nnn(n,-t)}function kV(n){if(Vfn(n))return n.c=n.a,n.a.Pb();throw hp(new Kp)}function jV(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(bon(),_zn)&&e.k==_zn}function EV(n){var t;return o4(t=new jq,n),b5(t,(gjn(),$1n),null),t}function TV(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):tfn(n,t,e)}function MV(n,t,e,i){var r;for(r=0;rt)throw hp(new Hm(Usn(n,t,"index")));return n}function GV(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;for(c=0,a=0;an.d[r.p]&&(e+=zW(n.b,i)*Yx(a.b,19).a,OX(n.a,d9(i)));for(;!ry(n.a);)eZ(n.b,Yx($_(n.a),19).a)}return e}(n,e)}function uQ(n){var t;return n.a||CO(t=n.r,148)&&(n.a=Yx(t,148)),n.a}function oQ(n){return n.a?n.e?oQ(n.e):null:n}function sQ(n,t){return vB(t),n.c=0,"Initial capacity must not be negative")}function vQ(){vQ=O,oHn=z6((JZ(),x4(Gy(sHn,1),XEn,232,0,[rHn,cHn,aHn])))}function mQ(){mQ=O,dHn=z6((BY(),x4(Gy(gHn,1),XEn,461,0,[fHn,hHn,lHn])))}function yQ(){yQ=O,kHn=z6((OJ(),x4(Gy(GHn,1),XEn,462,0,[mHn,vHn,pHn])))}function kQ(){kQ=O,bBn=z6((C6(),x4(Gy(wBn,1),XEn,132,0,[cBn,aBn,uBn])))}function jQ(){jQ=O,XGn=z6((CJ(),x4(Gy(ezn,1),XEn,379,0,[GGn,qGn,zGn])))}function EQ(){EQ=O,Ozn=z6((e9(),x4(Gy(Lzn,1),XEn,423,0,[Izn,Pzn,Szn])))}function TQ(){TQ=O,PWn=z6((O0(),x4(Gy(AWn,1),XEn,314,0,[TWn,EWn,MWn])))}function MQ(){MQ=O,$Wn=z6((f0(),x4(Gy(KWn,1),XEn,337,0,[IWn,OWn,CWn])))}function SQ(){SQ=O,WWn=z6((i5(),x4(Gy(tVn,1),XEn,450,0,[zWn,GWn,UWn])))}function PQ(){PQ=O,ZXn=z6((v2(),x4(Gy(oWn,1),XEn,361,0,[YXn,QXn,VXn])))}function IQ(){IQ=O,GVn=z6((AJ(),x4(Gy(XVn,1),XEn,303,0,[BVn,HVn,FVn])))}function CQ(){CQ=O,_Vn=z6((r4(),x4(Gy(qVn,1),XEn,292,0,[DVn,RVn,xVn])))}function OQ(){OQ=O,E2n=z6((i8(),x4(Gy(I2n,1),XEn,378,0,[m2n,y2n,k2n])))}function AQ(){AQ=O,f3n=z6((d3(),x4(Gy(w3n,1),XEn,375,0,[u3n,o3n,s3n])))}function $Q(){$Q=O,Y2n=z6((k5(),x4(Gy(n3n,1),XEn,339,0,[W2n,X2n,V2n])))}function LQ(){LQ=O,a3n=z6((h0(),x4(Gy(h3n,1),XEn,452,0,[r3n,e3n,i3n])))}function NQ(){NQ=O,O3n=z6((F4(),x4(Gy(F3n,1),XEn,377,0,[P3n,I3n,S3n])))}function xQ(){xQ=O,y3n=z6(($6(),x4(Gy(T3n,1),XEn,336,0,[g3n,p3n,v3n])))}function DQ(){DQ=O,M3n=z6((V2(),x4(Gy(C3n,1),XEn,338,0,[E3n,k3n,j3n])))}function RQ(){RQ=O,W3n=z6((l0(),x4(Gy(V3n,1),XEn,454,0,[G3n,z3n,U3n])))}function KQ(){KQ=O,v6n=z6((m7(),x4(Gy(k6n,1),XEn,442,0,[g6n,w6n,d6n])))}function _Q(){_Q=O,P6n=z6((I6(),x4(Gy(r8n,1),XEn,380,0,[E6n,T6n,M6n])))}function FQ(){FQ=O,g8n=z6((p7(),x4(Gy(W8n,1),XEn,381,0,[b8n,w8n,l8n])))}function BQ(){BQ=O,h8n=z6((w3(),x4(Gy(f8n,1),XEn,293,0,[u8n,o8n,a8n])))}function HQ(){HQ=O,a9n=z6((v7(),x4(Gy(o9n,1),XEn,437,0,[e9n,i9n,r9n])))}function qQ(){qQ=O,Det=z6((O8(),x4(Gy(Bet,1),XEn,334,0,[Let,$et,Net])))}function GQ(){GQ=O,set=z6((ZZ(),x4(Gy(det,1),XEn,272,0,[cet,aet,uet])))}function zQ(n,t){return!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),mnn(n.o,t)}function UQ(n){return!n.g&&(n.g=new oo),!n.g.c&&(n.g.c=new Rg(n)),n.g.c}function XQ(n,t,e){var i,r;if(null!=e)for(i=0;i=r){for(a=1;ae||t=0?n._g(e,!0,!0):tfn(n,t,!0)}function MY(){MY=O,a6n=ltn(ltn(bT(new fX,(Krn(),J4n)),(ysn(),h5n)),a5n)}function SY(n){for(;!n.a;)if(!HN(n.c,new Fb(n)))return!1;return!0}function PY(n){return MF(n),CO(n,198)?Yx(n,198):new al(n)}function IY(){var n,t,e,i;IY=O,d7n=new bu,p7n=new wu,Cjn(),n=Ttt,t=d7n,e=itt,i=p7n,KB(),g7n=new Em(x4(Gy(i_n,1),DEn,42,0,[(gin(n,t),new Wj(n,t)),(gin(e,i),new Wj(e,i))]))}function CY(){CY=O,m6n=new xS("LEAF_NUMBER",0),y6n=new xS("NODE_SIZE",1)}function OY(n){n.a=VQ(Wot,MTn,25,n.b+1,15,1),n.c=VQ(Wot,MTn,25,n.b,15,1),n.d=0}function AY(n,t){if(null==n.g||t>=n.i)throw hp(new BI(t,n.i));return n.g[t]}function $Y(n,t,e){if(k6(n,e),null!=e&&!n.wj(e))throw hp(new Op);return e}function LY(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)c1(n,t);return KX(n)}function NY(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function xY(n,t){var e;return nW(t),(e=aJ(n.slice(0,t),n)).length=t,e}function DY(n,t,e,i){WH(),i=i||IFn,Xsn(n.slice(t,e),n,t,e,-t,i)}function RY(n,t,e,i,r){return t<0?tfn(n,e,i):Yx(e,66).Nj().Pj(n,n.yh(),t,i,r)}function KY(n,t){if(t.a)throw hp(new Im(GMn));__(n.a,t),t.a=n,!n.j&&(n.j=t)}function _Y(n,t){PI.call(this,t.rd(),-16449&t.qd()),vB(n),this.a=n,this.c=t}function FY(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),bQ(n,i,e)}function BY(){BY=O,fHn=new oM(ySn,0),hHn=new oM(pSn,1),lHn=new oM(kSn,2)}function HY(){HY=O,WFn=new _T("All",0),VFn=new CC,QFn=new hO,YFn=new OC}function qY(){qY=O,ZFn=z6((HY(),x4(Gy(nBn,1),XEn,297,0,[WFn,VFn,QFn,YFn])))}function GY(){GY=O,vzn=z6((_4(),x4(Gy(Czn,1),XEn,405,0,[bzn,gzn,wzn,dzn])))}function zY(){zY=O,ZHn=z6((e4(),x4(Gy(rqn,1),XEn,406,0,[YHn,WHn,VHn,QHn])))}function UY(){UY=O,cqn=z6((Sen(),x4(Gy(aqn,1),XEn,323,0,[tqn,nqn,eqn,iqn])))}function XY(){XY=O,pqn=z6((Pen(),x4(Gy(mqn,1),XEn,394,0,[bqn,lqn,wqn,dqn])))}function WY(){WY=O,e5n=z6((Krn(),x4(Gy(i5n,1),XEn,393,0,[Y4n,J4n,Z4n,n5n])))}function VY(){VY=O,jXn=z6((R4(),x4(Gy(AXn,1),XEn,360,0,[yXn,vXn,mXn,pXn])))}function QY(){QY=O,c8n=z6((Hin(),x4(Gy(s8n,1),XEn,340,0,[i8n,t8n,e8n,n8n])))}function YY(){YY=O,RXn=z6((K4(),x4(Gy(qXn,1),XEn,411,0,[$Xn,LXn,NXn,xXn])))}function JY(){JY=O,C2n=z6((Hen(),x4(Gy(x2n,1),XEn,197,0,[S2n,P2n,M2n,T2n])))}function ZY(){ZY=O,Srt=z6((P6(),x4(Gy(Crt,1),XEn,396,0,[jrt,Ert,krt,Trt])))}function nJ(){nJ=O,Het=z6((Frn(),x4(Gy(Jet,1),XEn,285,0,[Fet,Ret,Ket,_et])))}function tJ(){tJ=O,get=z6((g7(),x4(Gy(Eet,1),XEn,218,0,[wet,fet,het,bet])))}function eJ(){eJ=O,mrt=z6((unn(),x4(Gy(yrt,1),XEn,311,0,[prt,wrt,grt,drt])))}function iJ(){iJ=O,ert=z6((Ann(),x4(Gy(lrt,1),XEn,374,0,[Zit,nrt,Jit,Yit])))}function rJ(){rJ=O,Jvn(),iot=JTn,eot=ZTn,cot=new ib(JTn),rot=new ib(ZTn)}function cJ(){cJ=O,rVn=new WM(fIn,0),iVn=new WM("IMPROVE_STRAIGHTNESS",1)}function aJ(n,t){return 10!=QJ(t)&&x4(V5(t),t.hm,t.__elementTypeId$,QJ(t),n),n}function uJ(n,t){var e;return-1!=(e=hJ(n,t,0))&&(KV(n,e),!0)}function oJ(n,t){var e;return(e=Yx(zV(n.e,t),387))?(_D(e),e.e):null}function sJ(n){var t;return tC(n)&&(t=0-n,!isNaN(t))?t:$3(h5(n))}function hJ(n,t,e){for(;e0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=e.Math.min(n.c,n.f[s.p]),n.b=e.Math.max(n.b,n.f[s.p])):u&&(n.f[s.p]=l)}}(n,t,i),0==n.a.c.length||function(n,t){var e,i,r,c,a,u,o,s,h,f;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new pb(n.a);u.a=0?$en(n,e,!0,!0):tfn(n,t,!0)}function _J(n,t){var e,i;return JE(),e=SX(n),i=SX(t),!!e&&!!i&&!Een(e.k,i.k)}function FJ(n){(this.q?this.q:(XH(),XH(),MFn)).Ac(n.q?n.q:(XH(),XH(),MFn))}function BJ(n,t){sqn=new it,gqn=t,Yx((oqn=n).b,65),QQ(oqn,sqn,null),Bmn(oqn)}function HJ(n,t,e){var i;return i=n.g[t],_O(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function qJ(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function GJ(n){var t;return n.d!=n.r&&(t=fcn(n),n.e=!!t&&t.Cj()==KDn,n.d=t),n.e}function zJ(n,t){var e;for(MF(n),MF(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function UJ(n,t){var e;return(e=Yx(BF(n.e,t),387))?(OO(n,e),e.e):null}function XJ(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function WJ(n,t){return W9(n),new SR(n,new VN(new JV(t,n.a)))}function VJ(n,t){var e=n.a[t],i=(r5(),S_n)[typeof e];return i?i(e):Z6(typeof e)}function QJ(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function YJ(n){var t;return null!=(t=0==n.b.c.length?null:TR(n.b,0))&&e2(n,0),t}function JJ(n,t){for(;t[0]=0;)++t[0]}function ZJ(n,t){this.e=t,this.a=h4(n),this.a<54?this.f=VU(n):this.c=Utn(n)}function nZ(n,t,e,i){Ljn(),np.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function tZ(n,t,e){var i,r;for(i=10,r=0;rn.a[i]&&(i=e);return i}function uZ(n,t){return 0==t.e||0==n.e?pFn:(jfn(),Vbn(n,t))}function oZ(){oZ=O,kzn=new St,jzn=new Tt,mzn=new At,yzn=new $t,Ezn=new Lt}function sZ(){sZ=O,$Bn=new cM("BY_SIZE",0),LBn=new cM("BY_SIZE_AND_SHAPE",1)}function hZ(){hZ=O,Qqn=new fM("EADES",0),Yqn=new fM("FRUCHTERMAN_REINGOLD",1)}function fZ(){fZ=O,FWn=new zM("READING_DIRECTION",0),BWn=new zM("ROTATION",1)}function lZ(){lZ=O,_Wn=z6((min(),x4(Gy(HWn,1),XEn,335,0,[NWn,LWn,DWn,RWn,xWn])))}function bZ(){bZ=O,D2n=z6((ain(),x4(Gy(z2n,1),XEn,315,0,[N2n,A2n,$2n,O2n,L2n])))}function wZ(){wZ=O,GXn=z6((Tan(),x4(Gy(JXn,1),XEn,363,0,[_Xn,BXn,HXn,FXn,KXn])))}function dZ(){dZ=O,cYn=z6((d7(),x4(Gy(p2n,1),XEn,163,0,[iYn,ZQn,nYn,tYn,eYn])))}function gZ(){gZ=O,E9n=z6((Aon(),x4(Gy(c7n,1),XEn,316,0,[p9n,v9n,k9n,m9n,y9n])))}function pZ(){pZ=O,P7n=z6((Qtn(),x4(Gy(D7n,1),XEn,175,0,[T7n,E7n,k7n,M7n,j7n])))}function vZ(){vZ=O,t9n=z6((xbn(),x4(Gy(c9n,1),XEn,355,0,[Q8n,V8n,J8n,Y8n,Z8n])))}function mZ(){mZ=O,izn=z6(($un(),x4(Gy(azn,1),XEn,356,0,[YGn,JGn,ZGn,nzn,tzn])))}function yZ(){yZ=O,ret=z6((t9(),x4(Gy(oet,1),XEn,103,0,[tet,net,Ztt,Jtt,eet])))}function kZ(){kZ=O,ait=z6((Ytn(),x4(Gy(bit,1),XEn,249,0,[eit,rit,nit,tit,iit])))}function jZ(){jZ=O,zit=z6((Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])))}function EZ(n,t){var e;return(e=Yx(BF(n.a,t),134))||(e=new Zn,xB(n.a,t,e)),e}function TZ(n){var t;return!!(t=Yx(Aun(n,(Ojn(),YVn)),305))&&t.a==n}function MZ(n){var t;return!!(t=Yx(Aun(n,(Ojn(),YVn)),305))&&t.i==n}function SZ(n,t){return vB(t),e_(n),!!n.d.Ob()&&(t.td(n.d.Pb()),!0)}function PZ(n){return k8(n,Yjn)>0?Yjn:k8(n,nTn)<0?nTn:WR(n)}function IZ(n){return n<3?(g0(n,GEn),n+1):n=0&&t=-.01&&n.a<=SSn&&(n.a=0),n.b>=-.01&&n.b<=SSn&&(n.b=0),n}function $Z(n,t){return t==(bx(),bx(),_Fn)?n.toLocaleLowerCase():n.toLowerCase()}function LZ(n){return(0!=(2&n.i)?"interface ":0!=(1&n.i)?"":"class ")+(sL(n),n.o)}function NZ(n){var t;t=new zv,fY((!n.q&&(n.q=new m_(fat,n,11,10)),n.q),t)}function xZ(n){this.g=n,this.f=new ip,this.a=e.Math.min(this.g.c.c,this.g.d.c)}function DZ(n){this.b=new ip,this.a=new ip,this.c=new ip,this.d=new ip,this.e=n}function RZ(n,t){this.a=new rp,this.e=new rp,this.b=(i8(),k2n),this.c=n,this.b=t}function KZ(n,t,e){sN.call(this),YZ(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function _Z(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(pm(),a_n)}function FZ(n){if(n<0)throw hp(new Qm("Illegal Capacity: "+n));this.g=this.ri(n)}function BZ(n){var t;M$(!!n.c),t=n.c.a,VZ(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function HZ(n,t){var e;return W9(n),e=new _H(n,n.a.rd(),4|n.a.qd(),t),new SR(n,e)}function qZ(n,t){var e;for(e=n.Kc();e.Ob();)b5(Yx(e.Pb(),70),(Ojn(),kQn),t)}function GZ(n){var t;return(t=ty(fL(Aun(n,(gjn(),y1n)))))<0&&b5(n,y1n,t=0),t}function zZ(n,t,e,i,r,c){var a;YG(a=EV(i),r),QG(a,c),Qhn(n.a,i,new jx(a,t,e.f))}function UZ(n,t){var e;if(!(e=Ybn(n.Tg(),t)))throw hp(new Qm(mNn+t+jNn));return e}function XZ(n,t){var e;for(e=n;IG(e);)if((e=IG(e))==t)return!0;return!1}function WZ(n,t){var e,i,r,c;for(vB(t),r=0,c=(i=n.c).length;r>16!=6?null:Yx(Bfn(n),235)}(n))&&!t.kh()&&(n.w=t),t)}function r1(n){var t;return null==n?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(a=VQ(Xot,sTn,25,2*t,15,1),i=0,r=0;i>4&15,c=15&n[i],a[r++]=zrt[e],a[r++]=zrt[c];return Vnn(a,0,a.length)}(t=Yx(n,190),t.length)}function c1(n,t){if(null==n.g||t>=n.i)throw hp(new BI(t,n.i));return n.li(t,n.g[t])}function a1(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)n2(n.b,t),t=A9(t);n2(n.b,t)}function u1(n,t){var e,i,r,c;for(r=0,c=(i=n.d).length;r=14&&t<=16)),n}function f1(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function l1(n,t,e){var i,r;i=t;do{r=ty(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function b1(n,t){var e,i;i=n.a,e=function(n,t,e){var i,r;return r=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new p_(n,1,5,r,n.a),e?Pan(e,i):e=i),e}(n,t,null),i!=t&&!n.e&&(e=zyn(n,t,e)),e&&e.Fi()}function w1(n,t){return XC(),o0(ZEn),e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)}function d1(n,t){return XC(),o0(ZEn),e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)}function g1(n,t){return function(n){return n?n.i:null}(K2(n,t,WR(e7(BEn,HB(WR(e7(null==t?0:W5(t),HEn)),15)))))}function p1(){p1=O,zzn=z6((bon(),x4(Gy(Uzn,1),XEn,267,0,[Hzn,Bzn,_zn,qzn,Fzn,Kzn])))}function v1(){v1=O,dnt=z6((dan(),x4(Gy(iet,1),XEn,291,0,[bnt,lnt,fnt,snt,ont,hnt])))}function m1(){m1=O,V7n=z6((qen(),x4(Gy(wnt,1),XEn,248,0,[H7n,z7n,U7n,X7n,q7n,G7n])))}function y1(){y1=O,vWn=z6((psn(),x4(Gy(kWn,1),XEn,227,0,[bWn,dWn,lWn,wWn,gWn,fWn])))}function k1(){k1=O,jVn=z6((uon(),x4(Gy(LVn,1),XEn,275,0,[mVn,gVn,yVn,vVn,pVn,dVn])))}function j1(){j1=O,wVn=z6((Wcn(),x4(Gy(kVn,1),XEn,274,0,[hVn,sVn,lVn,oVn,fVn,uVn])))}function E1(){E1=O,v2n=z6((nun(),x4(Gy(j2n,1),XEn,313,0,[d2n,b2n,f2n,l2n,g2n,w2n])))}function T1(){T1=O,eVn=z6((pon(),x4(Gy(cVn,1),XEn,276,0,[QWn,VWn,JWn,YWn,nVn,ZWn])))}function M1(){M1=O,l5n=z6((ysn(),x4(Gy(Z5n,1),XEn,327,0,[h5n,a5n,o5n,u5n,s5n,c5n])))}function S1(){S1=O,jit=z6((Chn(),x4(Gy(Git,1),XEn,273,0,[mit,pit,vit,git,dit,yit])))}function P1(){P1=O,Tet=z6((vun(),x4(Gy(xet,1),XEn,312,0,[ket,met,jet,pet,yet,vet])))}function I1(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,0,e,n.a))}function C1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,1,e,n.b))}function O1(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,3,e,n.b))}function A1(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,3,e,n.f))}function $1(n,t){var e;e=n.g,n.g=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,4,e,n.g))}function L1(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,5,e,n.i))}function N1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,6,e,n.j))}function x1(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,1,e,n.j))}function D1(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,4,e,n.c))}function R1(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new aW(n,2,e,n.k))}function K1(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new uW(n,2,e,n.d))}function _1(n,t){var e;e=n.s,n.s=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new uW(n,4,e,n.s))}function F1(n,t){var e;e=n.t,n.t=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new uW(n,5,e,n.t))}function B1(n,t){var e;e=n.F,n.F=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,5,e,t))}function H1(n,t){var e;return(e=Yx(BF((MT(),Nct),n),55))?e.xj(t):VQ(UKn,iEn,1,t,5,1)}function q1(n,t){var e;return t in n.a&&(e=jG(n,t).he())?e.a:null}function G1(n,t){var e,i;return xk(),i=new uo,!!t&&Xbn(i,t),x0(e=i,n),e}function z1(n,t,e){if(k6(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw hp(new Op);return e}function U1(n,t){return n.n=t,n.n?(n.f=new ip,n.e=new ip):(n.f=null,n.e=null),n}function X1(n,t,e,i,r,c){var a;return e0(e,a=TF(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function W1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function V1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function Q1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function Y1(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function J1(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function Z1(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0),function(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,E$(e<(n.c-n.b&i)),e>=r?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,DF(n.a,t,n.a[i]),t=i;DF(n.a,n.c,null)}(n,t),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,DF(n.a,t,n.a[i]),t=i;DF(n.a,n.b,null),n.b=n.b+1&e}(n,t),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function u0(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=J6(n.f)),n.c).e}function o0(n){if(!(n>=0))throw hp(new Qm("tolerance ("+n+") must be >= 0"));return n}function s0(){return m7n||h6(m7n=new Jdn,x4(Gy(ZBn,1),iEn,130,0,[new $f])),m7n}function h0(){h0=O,r3n=new sS(MSn,0),e3n=new sS("INPUT",1),i3n=new sS("OUTPUT",2)}function f0(){f0=O,IWn=new qM("ARD",0),OWn=new qM("MSD",1),CWn=new qM("MANUAL",2)}function l0(){l0=O,G3n=new dS("BARYCENTER",0),z3n=new dS(KIn,1),U3n=new dS(_In,2)}function b0(n,t){var e;if(e=n.gc(),t<0||t>e)throw hp(new jN(t,e));return new WN(n,t)}function w0(n,t){var e;return CO(t,42)?n.c.Mc(t):(e=mnn(n,t),ttn(n,t),e)}function d0(n,t,e){return a8(n,t),E2(n,e),_1(n,0),F1(n,1),l9(n,!0),s9(n,!0),n}function g0(n,t){if(n<0)throw hp(new Qm(t+" cannot be negative but was: "+n));return n}function p0(n,t){var e,i;for(e=0,i=n.gc();e0?Yx(TR(e.a,i-1),10):null}function $0(n,t){var e;e=n.k,n.k=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,2,e,n.k))}function L0(n,t){var e;e=n.f,n.f=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,8,e,n.f))}function N0(n,t){var e;e=n.i,n.i=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,7,e,n.i))}function x0(n,t){var e;e=n.a,n.a=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,8,e,n.a))}function D0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,0,e,n.b))}function R0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,0,e,n.b))}function K0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,1,e,n.c))}function _0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,1,e,n.c))}function F0(n,t){var e;e=n.c,n.c=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,4,e,n.c))}function B0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,1,e,n.d))}function H0(n,t){var e;e=n.D,n.D=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,2,e,n.D))}function q0(n,t){n.r>0&&n.c0&&0!=n.g&&q0(n.i,t/n.r*n.i.d))}function G0(n,t){return Lwn(n.e,t)?(TT(),GJ(t)?new cR(t,n):new VP(t,n)):new JP(t,n)}function z0(n,t){return function(n){return n?n.g:null}(_2(n.a,t,WR(e7(BEn,HB(WR(e7(null==t?0:W5(t),HEn)),15)))))}function U0(n){var t;return(n=e.Math.max(n,2))>(t=j5(n))?(t<<=1)>0?t:zEn:t}function X0(n){switch(kA(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function W0(n,t){var e;return!!CO(t,8)&&(e=Yx(t,8),n.a==e.a&&n.b==e.b)}function V0(n,t,e){var i,r;return r=t>>5,i=31&t,Gz(UK(n.n[e][r],WR(GK(i,1))),3)}function Q0(n,t){var e;e=n.b,n.b=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,21,e,n.b))}function Y0(n,t){var e;e=n.d,n.d=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,11,e,n.d))}function J0(n,t){var e;e=n.j,n.j=t,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,13,e,n.j))}function Z0(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?t-1:t,pk(function(n,t){return n.j=t,n}(U1(xD(new am,e),n.n),n.j),n.k)}(n,n.g),KD(n.a,e),e.i=n,n.d=t,e)}function Z2(n,t,e){run(e,"DFS Treeifying phase",1),function(n,t){var e,i,r;for(r=t.b.b,n.a=new ME,n.b=VQ(Wot,MTn,25,r,15,1),e=0,i=Ztn(t.b,0);i.b!=i.d.c;)Yx(IX(i),86).g=e++}(n,t),function(n,t){var e,i,r,c,a;for(a=Yx(Aun(t,(cln(),X5n)),425),c=Ztn(t.b,0);c.b!=c.d.c;)if(r=Yx(IX(c),86),0==n.b[r.g]){switch(a.g){case 0:yin(n,r);break;case 1:gln(n,r)}n.b[r.g]=2}for(i=Ztn(n.a,0);i.b!=i.d.c;)V7((e=Yx(IX(i),188)).b.d,e,!0),V7(e.c.b,e,!0);b5(t,(ryn(),S5n),n.a)}(n,t),n.a=null,n.b=null,Ron(e)}function n3(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new ip,function(n){var t,e,i,r;for(r=V8(n.d,n.e).Kc();r.Ob();)for(i=Yx(r.Pb(),11),e=new pb(n.e==(Ikn(),qit)?i.e:i.g);e.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function e3(n,t){CD.call(this,sut,n,t),this.b=this,this.a=dwn(n.Tg(),CZ(this.e.Tg(),this.c))}function i3(n,t){var e,i;for(vB(t),i=t.vc().Kc();i.Ob();)e=Yx(i.Pb(),42),n.zc(e.cd(),e.dd())}function r3(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function c3(n){switch(n.g){case 2:return Ikn(),qit;case 4:return Ikn(),Eit;default:return n}}function a3(n){switch(n.g){case 1:return Ikn(),Bit;case 3:return Ikn(),Tit;default:return n}}function u3(n,t){return TA(),aI(n)?FV(n,lL(t)):cI(n)?WK(n,fL(t)):rI(n)?XK(n,hL(t)):n.wd(t)}function o3(n,t){t.q=n,n.d=e.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),eD(n.a,t)}function s3(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b0||h.j==qit&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new pb(h.g);r.a=0x8000000000000000?(LJ(),I_n):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=zTn&&(n-=(e=oG(n/zTn))*zTn),t=0,n>=GTn&&(n-=(t=oG(n/GTn))*GTn),r=rO(oG(n),t,e),i&&A5(r),r)}(n))}function R3(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}function K3(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw hp(new Kp)}function W3(n){var t,e,i;return e=0,(i=n)<0&&(i+=zTn,e=HTn),t=oG(i/GTn),rO(oG(i-t*GTn),t,e)}function V3(n){var t,e,i;for(i=0,e=new TE(n.a);e.a>22),r=n.h-t.h+(i>>22),rO(e&BTn,i&BTn,r&HTn)}function k4(n){var t;return n<128?(!(t=(dR(),F_n)[n])&&(t=F_n[n]=new eb(n)),t):new eb(n)}function j4(n){var t;return CO(n,78)?n:((t=n&&n.__java$exception)||Sp(t=new n8(n)),t)}function E4(n){if(CO(n,186))return Yx(n,118);if(n)return null;throw hp(new Zm(pxn))}function T4(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(Q8(t,w8(n)))return!0;return!1}function M4(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new ZU(n.e.f),n.a.Ob())}function S4(n,t){var e;return 0!=(e=t.Pc()).length&&(sD(n.c,n.c.length,e),!0)}function P4(n,t){var e;for(e=new pb(n.b);e.a=0,"Negative initial capacity"),jD(t>=0,"Non-positive load factor"),U_(this)}function a5(n,t,e){return!(n>=128)&&hI(n<64?Gz(GK(1,n),e):Gz(GK(1,n-64),t),0)}function u5(n,t){return!(!n||!t||n==t)&&y7(n.b.c,t.b.c+t.b.b)<0&&y7(t.b.c,n.b.c+n.b.b)<0}function o5(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new mH(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function s5(n){var t,i;for(null==n.j&&(n.j=($q(),function(n){var t,i,r;for(t="Sz",i="ez",r=e.Math.min(n.length,5)-1;r>=0;r--)if(_N(n[r].d,t)||_N(n[r].d,i)){n.length>=r+1&&n.splice(0,r+1);break}return n}(p_n.ce(n)))),t=0,i=n.j.length;t(i=n.gc()))throw hp(new jN(t,i));return n.hi()&&(e=OG(n,e)),n.Vh(t,e)}function l5(n,t,e){return null==e?(!n.q&&(n.q=new rp),zV(n.q,t)):(!n.q&&(n.q=new rp),xB(n.q,t,e)),n}function b5(n,t,e){return null==e?(!n.q&&(n.q=new rp),zV(n.q,t)):(!n.q&&(n.q=new rp),xB(n.q,t,e)),n}function w5(n){var t,i;return o4(i=new XV,n),b5(i,(d2(),EGn),n),function(n,t,i){var r,c,a,u,o;for(r=0,a=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));a.e!=a.i.gc();)u="",0==(!(c=Yx(hen(a),33)).n&&(c.n=new m_(act,c,1,7)),c.n).i||(u=Yx(c1((!c.n&&(c.n=new m_(act,c,1,7)),c.n),0),137).a),o4(o=new GF(u),c),b5(o,(d2(),EGn),c),o.b=r++,o.d.a=c.i+c.g/2,o.d.b=c.j+c.f/2,o.e.a=e.Math.max(c.g,1),o.e.b=e.Math.max(c.f,1),eD(t.e,o),Ysn(i.f,c,o),Yx(jln(c,(Bdn(),fGn)),98),Ran()}(n,i,t=new rp),function(n,t,i){var r,c,a,u,o,s,f,l;for(s=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new $K(bA(lbn(o=Yx(hen(s),33)).a.Kc(),new h));Vfn(c);){if(!(r=Yx(kV(c),79)).b&&(r.b=new AN(Zrt,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new AN(Zrt,r,5,8)),r.c.i<=1)))throw hp(new by("Graph must not contain hyperedges."));if(!Rfn(r)&&o!=iun(Yx(c1((!r.c&&(r.c=new AN(Zrt,r,5,8)),r.c),0),82)))for(o4(f=new rN,r),b5(f,(d2(),EGn),r),Cl(f,Yx(eI(Dq(i.f,o)),144)),Ol(f,Yx(BF(i,iun(Yx(c1((!r.c&&(r.c=new AN(Zrt,r,5,8)),r.c),0),82))),144)),eD(t.c,f),u=new UO((!r.n&&(r.n=new m_(act,r,1,7)),r.n));u.e!=u.i.gc();)o4(l=new wW(f,(a=Yx(hen(u),137)).a),a),b5(l,EGn,a),l.e.a=e.Math.max(a.g,1),l.e.b=e.Math.max(a.f,1),Wvn(l),eD(t.d,l)}}(n,i,t),i}function d5(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r>=1);return t}function E5(n){var t,e;return 32==(e=Yhn(n.h))?32==(t=Yhn(n.m))?Yhn(n.l)+32:t+20-10:e-12}function T5(n){var t;return null==(t=n.a[n.b])?null:(DF(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function M5(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function S5(n,t,e){var i,r;return i=new nY(t,e),r=new q,n.b=Hwn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function P5(n,t,e){var i,r,c;for(c=0,r=V8(t,e).Kc();r.Ob();)i=Yx(r.Pb(),11),xB(n.c,i,d9(c++))}function I5(n){var t,e;for(e=new pb(n.a.b);e.ae&&(e=n[t]);return e}function x5(n,t,e){var i;return Swn(n,t,i=new ip,(Ikn(),Eit),!0,!1),Swn(n,e,i,qit,!1,!1),i}function D5(n,t,e){var i,r;return r=cX(t,"labels"),function(n,t,e){var i,r,c,a;if(e)for(r=((i=new NK(e.a.length)).b-i.a)*i.c<0?(PT(),Fot):new oA(i);r.Ob();)(c=aX(e,Yx(r.Pb(),19).a))&&(a=G1(oX(c,zNn),t),xB(n.f,a,c),rxn in c.a&&$0(a,oX(c,rxn)),eun(c,a),ihn(c,a))}((i=new AP(n,e)).a,i.b,r),r}function R5(n,t){var e;for(e=0;e1||t>=0&&n.b<3)}function U5(n){var t,e;for(t=new Nv,e=Ztn(n,0);e.b!=e.d.c;)A$(t,0,new fC(Yx(IX(e),8)));return t}function X5(n){var t;for(t=new pb(n.a.b);t.a=n.b.c.length||(l6(n,2*t+1),(e=2*t+2)=0&&n[i]===t[i];i--);return i<0?0:LT(Gz(n[i],uMn),Gz(t[i],uMn))?-1:1}function d6(n,t){var e,i;return i=Yx(H3(n.a,4),126),e=VQ(Oct,vDn,415,t,0,1),null!=i&&smn(i,0,e,0,i.length),e}function g6(n,t){var e;return e=new xdn(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function p6(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(Nin(n,c,a))return!0;return!1}function v6(n,t,e){var i,r,c,a;for(vB(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function m6(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=Yx(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function y6(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){if(n.e)switch(n.b){case 1:!function(n,t,e){n.i=0,n.e=0,t!=e&&H5(n,t,e)}(n.c,t,e);break;case 0:!function(n,t,e){n.i=0,n.e=0,t!=e&&q5(n,t,e)}(n.c,t,e)}else YX(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function k6(n,t){if(!n.ai()&&null==t)throw hp(new Qm("The 'no null' constraint is violated"));return t}function j6(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),H0(n,null==t?null:(vB(t),t)),n.C&&n.yk(null)}function E6(n,t){return!(!n||n==t||!O$(t,(Ojn(),vQn)))&&Yx(Aun(t,(Ojn(),vQn)),10)!=n}function T6(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function M6(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function S6(n){vG.call(this,"The given string does not match the expected format for individual spacings.",n)}function P6(){P6=O,jrt=new yP("ELK",0),Ert=new yP("JSON",1),krt=new yP("DOT",2),Trt=new yP("SVG",3)}function I6(){I6=O,E6n=new DS(fIn,0),T6n=new DS("RADIAL_COMPACTION",1),M6n=new DS("WEDGE_COMPACTION",2)}function C6(){C6=O,cBn=new FT("CONCURRENT",0),aBn=new FT("IDENTITY_FINISH",1),uBn=new FT("UNORDERED",2)}function O6(){O6=O,BE(),jqn=new FI(ePn,Eqn=vqn),kqn=new Og(iPn),Tqn=new Og(rPn),Mqn=new Og(cPn)}function A6(){A6=O,SXn=new ji,PXn=new Ei,MXn=new Ti,TXn=new Mi,vB(new Si),EXn=new D}function $6(){$6=O,g3n=new lS("CONSERVATIVE",0),p3n=new lS("CONSERVATIVE_SOFT",1),v3n=new lS("SLOPPY",2)}function L6(){L6=O,Oet=new RC(15),Cet=new DC((Cjn(),utt),Oet),Aet=Ott,Met=ynt,Set=Jnt,Iet=ttt,Pet=ntt}function N6(n,t,e){var i,r;for(i=new ME,r=Ztn(e,0);r.b!=r.d.c;)KD(i,new fC(Yx(IX(r),8)));v6(n,t,i)}function x6(n){var t;return!n.a&&(n.a=new m_(sat,n,9,5)),0!=(t=n.a).i?function(n){return n.b?n.b:n.a}(Yx(c1(t,0),678)):null}function D6(n,t){var e;return e=t7(n,t),LT(Uz(n,t),0)|function(n,t){return k8(n,t)>=0}(Uz(n,e),0)?e:t7(IEn,Uz(UK(e,63),1))}function R6(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e0)return i_(t-1,n.a.c.length),KV(n.a,t-1);throw hp(new Rp)}function _6(n,t,e){if(n>t)throw hp(new Qm(NMn+n+xMn+t));if(n<0||t>e)throw hp(new Py(NMn+n+DMn+t+MMn+e))}function F6(n){if(!n.a||0==(8&n.a.i))throw hp(new Ym("Enumeration class expected for layout option "+n.f))}function B6(n){var t;++n.j,0==n.i?n.g=null:n.in$n?n-i>n$n:i-n>n$n)}function Q6(n,t){return n?t&&!n.j||CO(n,124)&&0==Yx(n,124).a.b?0:n.Re():0}function Y6(n,t){return n?t&&!n.k||CO(n,124)&&0==Yx(n,124).a.a?0:n.Se():0}function J6(n){return bdn(),n<0?-1!=n?new jen(-1,-n):lFn:n<=10?wFn[oG(n)]:new jen(1,n)}function Z6(n){throw r5(),hp(new Cm("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function n8(n){vy(),jO(this),qH(this),this.e=n,Cwn(this,n),this.g=null==n?aEn:I7(n),this.a="",this.b=n,this.a=""}function t8(){this.a=new nu,this.f=new Kd(this),this.b=new _d(this),this.i=new Fd(this),this.e=new Bd(this)}function e8(){vm.call(this,new tY(IZ(16))),g0(2,EEn),this.b=2,this.a=new IB(null,null,0,null),kp(this.a,this.a)}function i8(){i8=O,m2n=new eS("DUMMY_NODE_OVER",0),y2n=new eS("DUMMY_NODE_UNDER",1),k2n=new eS("EQUAL",2)}function r8(){r8=O,uzn=kG(x4(Gy(oet,1),XEn,103,0,[(t9(),Ztt),net])),ozn=kG(x4(Gy(oet,1),XEn,103,0,[eet,Jtt]))}function c8(n){return(Ikn(),xit).Hc(n.j)?ty(fL(Aun(n,(Ojn(),XQn)))):$5(x4(Gy(B7n,1),TEn,8,0,[n.i.n,n.n,n.a])).b}function a8(n,t){var e,i;e=n.nk(t,null),i=null,t&&(Rk(),b1(i=new up,n.r)),(e=fun(n,i,e))&&e.Fi()}function u8(n,t){var e,i,r;return i=!1,e=t.q.d,t.dr&&(san(t.q,r),i=e!=t.q.d)),i}function o8(n,t){var i,r,c,a,u;return a=t.i,u=t.j,r=a-(i=n.f).i,c=u-i.j,e.Math.sqrt(r*r+c*c)}function s8(n,t){var e;return(e=rtn(n))||(!Xrt&&(Xrt=new Oo),Cmn(),fY((e=new Yg(xsn(t))).Vk(),n)),e}function h8(n,t){var e,i;return(e=Yx(n.c.Bc(t),14))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function f8(n,t){var e;for(e=0;e=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function C8(n){var t,e,i,r;if(null!=n)for(e=0;e0&&a6(Yx(TR(n.a,n.a.c.length-1),570),t)||eD(n.a,new iV(t))}function _8(n){var t;return(t=new Ay).a+="VerticalSegment ",mI(t,n.e),t.a+=" ",yI(t,lA(new Ty,new pb(n.k))),t.a}function F8(n){var t;return(t=Yx(UJ(n.c.c,""),229))||(t=new dz(ok(uk(new pu,""),"Other")),Gtn(n.c.c,"",t)),t}function B8(n){var t;return 0!=(64&n.Db)?Kln(n):((t=new MA(Kln(n))).a+=" (name: ",pI(t,n.zb),t.a+=")",t.a)}function H8(n,t,e){var i,r;return r=n.sb,n.sb=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new p_(n,1,4,r,t),e?e.Ei(i):e=i),e}function q8(n,t){var e,i;for(e=0,i=i7(n,t).Kc();i.Ob();)e+=null!=Aun(Yx(i.Pb(),11),(Ojn(),RQn))?1:0;return e}function G8(n,t,e){var i,r,c;for(i=0,c=Ztn(n,0);c.b!=c.d.c&&!((r=ty(fL(IX(c))))>e);)r>=t&&++i;return i}function z8(n,t,e){var i,r;return r=n.r,n.r=t,0!=(4&n.Db)&&0==(1&n.Db)&&(i=new p_(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function U8(n,t){var e,i;return!(i=(e=Yx(t,676)).vk())&&e.wk(i=CO(t,88)?new UP(n,Yx(t,26)):new mU(n,Yx(t,148))),i}function X8(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&smn(n.g,t,n.g,t+1,n.i-t),DF(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function W8(n,t){var e;return e=new sn,n.a.sd(e)?(qO(),new Am(vB(fJ(n,e.a,t)))):(yB(n),qO(),qO(),FFn)}function V8(n,t){switch(t.g){case 2:case 1:return i7(n,t);case 3:case 4:return I3(i7(n,t))}return XH(),XH(),TFn}function Q8(n,t){return aI(n)?_N(n,t):cI(n)?KN(n,t):rI(n)?(vB(n),iI(n)===iI(t)):IK(n)?n.Fb(t):uK(n)?WI(n,t):Jz(n,t)}function Y8(n,t,e,i,r){0!=t&&0!=i&&(1==t?r[i]=Gen(r,e,i,n[0]):1==i?r[t]=Gen(r,n,t,e[0]):function(n,t,e,i,r){var c,a,u,o;if(iI(n)!==iI(t)||i!=r)for(u=0;ue)throw hp(new Hm(NMn+n+DMn+t+", size: "+e));if(n>t)throw hp(new Qm(NMn+n+xMn+t))}function r9(n,t,e){if(t<0)Ehn(n,e);else{if(!e.Ij())throw hp(new Qm(mNn+e.ne()+yNn));Yx(e,66).Nj().Vj(n,n.yh(),t)}}function c9(n,t,e,i,r,c){this.e=new ip,this.f=(h0(),r3n),eD(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function a9(n,t){var e,i;for(i=new UO(n);i.e!=i.i.gc();)if(e=Yx(hen(i),26),iI(t)===iI(e))return!0;return!1}function u9(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function o9(n){var t;return 0!=(64&n.Db)?Kln(n):((t=new MA(Kln(n))).a+=" (source: ",pI(t,n.d),t.a+=")",t.a)}function s9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,2,e,t))}function h9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,8,e,t))}function f9(n,t){var e;e=0!=(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,8,e,t))}function l9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,3,e,t))}function b9(n,t){var e;e=0!=(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,9,e,t))}function w9(n,t){var e;return-1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):tnn(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function d9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(ZD(),G_n)[t])&&(e=G_n[t]=new rb(n)),e):new rb(n)}function g9(n){var t,e;return n>-129&&n<128?(t=n+128,!(e=(wR(),Z_n)[t])&&(e=Z_n[t]=new ab(n)),e):new ab(n)}function p9(n){var t;return n.k==(bon(),_zn)&&((t=Yx(Aun(n,(Ojn(),hQn)),61))==(Ikn(),Tit)||t==Bit)}function v9(n,t,e){var i,r;return(r=Hln(n.b,t))&&(i=Yx(Imn(SJ(n,r),""),26))?Lln(n,i,t,e):null}function m9(n,t){var e,i;for(i=new UO(n);i.e!=i.i.gc();)if(e=Yx(hen(i),138),iI(t)===iI(e))return!0;return!1}function y9(n,t,e){var i;if(t>(i=n.gc()))throw hp(new jN(t,i));if(n.hi()&&n.Hc(e))throw hp(new Qm(kxn));n.Xh(t,e)}function k9(n,t){var e;if(CO(e=Ybn(n,t),322))return Yx(e,34);throw hp(new Qm(mNn+t+"' is not a valid attribute"))}function j9(n){var t,e,i;for(t=new ip,i=new pb(n.b);i.at?1:n==t?0==n?$9(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function L9(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=Vhn(n,t,e),n.$i(n.Zi(7,d9(e),i,t,r)),i):Vhn(n,t,e)}function N9(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.cd(),function(n,t,e){++n.e,--n.f,Yx(n.d[t].$c(e),133).dd()}(n,i=((e=t.Sh())&Yjn)%n.d.length,Bln(n,i,e,r)))}function x9(n,t){var e;e=0!=(n.Bb&DNn),t?n.Bb|=DNn:n.Bb&=-1025,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,10,e,t))}function D9(n,t){var e;e=0!=(n.Bb&nMn),t?n.Bb|=nMn:n.Bb&=-4097,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,12,e,t))}function R9(n,t){var e;e=0!=(n.Bb&_Dn),t?n.Bb|=_Dn:n.Bb&=-8193,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,15,e,t))}function K9(n,t){var e;e=0!=(n.Bb&FDn),t?n.Bb|=FDn:n.Bb&=-2049,0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new OV(n,1,11,e,t))}function _9(n){var t,e;for(e=Vln(i1(n)).Kc();e.Ob();)if(dpn(n,t=lL(e.Pb())))return dW((pT(),Jct),t);return null}function F9(n,t,e){var i;if(n.c)Pun(n.c,t,e);else for(i=new pb(n.b);i.a>10)+iMn&fTn,t[1]=56320+(1023&n)&fTn,Vnn(t,0,t.length)}function X9(n){var t;return(t=Yx(Aun(n,(gjn(),a1n)),103))==(t9(),tet)?ty(fL(Aun(n,RZn)))>=1?net:Jtt:t}function W9(n){if(n.c)W9(n.c);else if(n.d)throw hp(new Ym("Stream already terminated, can't be modified or used"))}function V9(n){var t;return 0!=(64&n.Db)?Kln(n):((t=new MA(Kln(n))).a+=" (identifier: ",pI(t,n.k),t.a+=")",t.a)}function Q9(n,t,e){var i;return xk(),I1(i=new ro,t),C1(i,e),n&&fY((!n.a&&(n.a=new XO(Qrt,n,5)),n.a),i),i}function Y9(n,t,e,i){var r,c;return vB(i),vB(e),null==(c=null==(r=n.xc(t))?e:PE(Yx(r,15),Yx(e,14)))?n.Bc(t):n.zc(t,c),c}function J9(n){var t,e,i,r;return n2(e=new cx(t=Yx(Ak((r=(i=n.gm).f)==u_n?i:r),9),Yx(eN(t,t.length),9),0),n),e}function Z9(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=Yx(r.Pb(),10),m4(e,Yx(TR(t,i.p),14)))return i;return null}function n7(n,t){var e;return tC(n)&&tC(t)&&XTn<(e=n-t)&&e>22),r=n.h+t.h+(i>>22),rO(e&BTn,i&BTn,r&HTn)}(tC(n)?W3(n):n,tC(t)?W3(t):t))}function e7(n,t){var e;return tC(n)&&tC(t)&&XTn<(e=n*t)&&e>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(u=8191&t.l),p=r*u,v=c*u,m=a*u,0!=(o=t.l>>13|(15&t.m)<<9)&&(g+=e*o,p+=i*o,v+=r*o,m+=c*o),0!=(s=t.m>>4&8191)&&(p+=e*s,v+=i*s,m+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(v+=e*h,m+=i*h),0!=(f=(1048320&t.h)>>8)&&(m+=e*f),b=((d=e*u)>>22)+(g>>9)+((262143&p)<<4)+((31&v)<<17),w=(p>>18)+(v>>5)+((4095&m)<<8),w+=(b+=(l=(d&BTn)+((511&g)<<13))>>22)>>22,rO(l&=BTn,b&=BTn,w&=HTn)}(tC(n)?W3(n):n,tC(t)?W3(t):t))}function i7(n,t){var e;return n.i||yhn(n),(e=Yx(GB(n.g,t),46))?new Oz(n.j,Yx(e.a,19).a,Yx(e.b,19).a):(XH(),XH(),TFn)}function r7(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,gq(n.b)):++n.d,i}function c7(){var n,t,i;Qan(),i=XFn+++Date.now(),n=oG(e.Math.floor(i*jMn))&TMn,t=oG(i-n*EMn),this.a=1502^n,this.b=t^kMn}function a7(n){var t,e;for(t=new ip,e=new pb(n.j);e.a>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function f7(n){var t,e,i;for(t=new UL(n.Hd().gc()),i=0,e=PY(n.Hd().Kc());e.Ob();)XG(t,e.Pb(),d9(i++));return function(n){var t;switch(KB(),n.c.length){case 0:return e_n;case 1:return function(n,t){return KB(),gin(n,t),new OB(n,t)}((t=Yx(vhn(new pb(n)),42)).cd(),t.dd());default:return new Em(Yx(Htn(n,VQ(i_n,DEn,42,n.c.length,0,1)),165))}}(t.a)}function l7(n,t){0==n.n.c.length&&eD(n.n,new gG(n.s,n.t,n.i)),eD(n.b,t),Cin(Yx(TR(n.n,n.n.c.length-1),211),t),uvn(n,t)}function b7(n){return n.c==n.b.b&&n.i==n.g.b||(n.a.c=VQ(UKn,iEn,1,0,5,1),S4(n.a,n.b),S4(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function w7(n,t){var e,i;for(i=0,e=Yx(t.Kb(n),20).Kc();e.Ob();)ny(hL(Aun(Yx(e.Pb(),17),(Ojn(),HQn))))||++i;return i}function d7(){d7=O,iYn=new cS(fIn,0),ZQn=new cS("FIRST",1),nYn=new cS(qIn,2),tYn=new cS("LAST",3),eYn=new cS(GIn,4)}function g7(){g7=O,wet=new tP(MSn,0),fet=new tP("POLYLINE",1),het=new tP("ORTHOGONAL",2),bet=new tP("SPLINES",3)}function p7(){p7=O,b8n=new _S("ASPECT_RATIO_DRIVEN",0),w8n=new _S("MAX_SCALE_DRIVEN",1),l8n=new _S("AREA_DRIVEN",2)}function v7(){v7=O,e9n=new BS("P1_STRUCTURE",0),i9n=new BS("P2_PROCESSING_ORDER",1),r9n=new BS("P3_EXECUTION",2)}function m7(){m7=O,g6n=new NS("OVERLAP_REMOVAL",0),w6n=new NS("COMPACTION",1),d6n=new NS("GRAPH_SIZE_CALCULATION",2)}function y7(n,t){return XC(),o0(ZEn),e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:QI(isNaN(n),isNaN(t))}function k7(n,t){var e,i;for(e=Ztn(n,0);e.b!=e.d.c;){if((i=ey(fL(IX(e))))==t)return;if(i>t){MU(e);break}}oF(e,t)}function j7(n,t){var e,i,r,c,a;if(e=t.f,Gtn(n.c.d,e,t),null!=t.g)for(c=0,a=(r=t.g).length;c>>0).toString(16):n.toString()}function C7(n){var t;this.a=new cx(t=Yx(n.e&&n.e(),9),Yx(eN(t,t.length),9),0),this.b=VQ(UKn,iEn,1,this.a.a.length,5,1)}function O7(n){var t,e,i;for(this.a=new oC,i=new pb(n);i.a=c)return t.c+i;return t.c+t.b.gc()}function x7(n,t){var e,i,r,c,a,u;for(i=0,e=0,a=0,u=(c=t).length;a0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function D7(n){var t,e,i;for((i=new Cy).a+="[",t=0,e=n.gc();tPPn,S=e.Math.abs(b.b-d.b)>PPn,(!i&&M&&S||i&&(M||S))&&KD(p.a,k)),C2(p.a,r),0==r.b?b=k:(S$(0!=r.b),b=Yx(r.c.b.c,8)),l4(w,l,g),G2(c)==T&&(dB(T.i)!=c.a&&dsn(g=new Pk,dB(T.i),m),b5(p,YQn,g)),Mon(w,p,m),f.a.zc(w,f);YG(p,j),QG(p,T)}for(h=f.a.ec().Kc();h.Ob();)YG(s=Yx(h.Pb(),17),null),QG(s,null);Ron(t)}(t,J2(r,1)),Ron(r)}function F7(n,t,e,i,r,c){this.a=n,this.c=t,this.b=e,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&AR(this.c,this.b,this.a)}function B7(n){cnn(),this.c=DV(x4(Gy(v7n,1),iEn,831,0,[o2n])),this.b=new rp,this.a=n,xB(this.b,s2n,1),WZ(h2n,new Qd(this))}function H7(n,t){var e;return n.d?P_(n.b,t)?Yx(BF(n.b,t),51):(e=t.Kf(),xB(n.b,t,e),e):t.Kf()}function q7(n,t){var e;return iI(n)===iI(t)||!!CO(t,91)&&(e=Yx(t,91),n.e==e.e&&n.d==e.d&&function(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function G7(n){switch(Ikn(),n.g){case 4:return Tit;case 1:return Eit;case 3:return Bit;case 2:return qit;default:return Hit}}function z7(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return z3(n,t)}function U7(n){switch(n.g){case 0:return new qa;case 1:return new Ua;default:throw hp(new Qm(FIn+(null!=n.f?n.f:""+n.g)))}}function X7(n){switch(n.g){case 0:return new om;case 1:return new Lv;default:throw hp(new Qm(V$n+(null!=n.f?n.f:""+n.g)))}}function W7(n){var t,e,i;return(e=n.zg())?CO(t=n.Ug(),160)&&null!=(i=W7(Yx(t,160)))?i+"."+e:e:null}function V7(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),iI(t)===iI(i)||null!=t&&Q8(t,i))return e&&r.Qb(),!0;return!1}function Q7(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function Y7(n,t){var e;if(t){for(e=0;eo.d&&(f=o.d+o.a+h));i.c.d=f,t.a.zc(i,t),s=e.Math.max(s,i.c.d+i.c.a)}return s}(n),SE(new SR(null,new Nz(n.d,16)),new Jb(n)),t}function nnn(n){var t;return 0!=(64&n.Db)?B8(n):((t=new MA(B8(n))).a+=" (instanceClassName: ",pI(t,n.D),t.a+=")",t.a)}function tnn(n,t){var e,i,r;if(null==n.i&&svn(n),e=n.i,-1!=(i=t.aj()))for(r=e.length;i>1,this.k=t-1>>1}function fnn(n,t,e){var i,r;for(i=Gz(e,uMn),r=0;0!=k8(i,0)&&r0&&(t.lengthn.i&&DF(t,n.i,null),t}function wnn(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),X8(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):X8(n,n.i,t),e}function dnn(n){var t;return PL(),t=new fC(Yx(n.e.We((Cjn(),ttt)),8)),n.B.Hc((Vgn(),crt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function gnn(n){return Hen(),(n.q?n.q:(XH(),XH(),MFn))._b((gjn(),Y1n))?Yx(Aun(n,Y1n),197):Yx(Aun(dB(n),J1n),197)}function pnn(n,t){var e,i;return i=null,O$(n,(gjn(),_0n))&&(e=Yx(Aun(n,_0n),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=Aun(dB(n),t)),i}function vnn(n,t){var e,i,r;return!!CO(t,42)&&(i=(e=Yx(t,42)).cd(),bB(r=x8(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function mnn(n,t){var e;return n.f>0&&(n.qj(),-1!=Bln(n,((e=null==t?0:W5(t))&Yjn)%n.d.length,e,t))}function ynn(n,t){var e,i;return n.f>0&&(n.qj(),e=efn(n,((i=null==t?0:W5(t))&Yjn)%n.d.length,i,t))?e.dd():null}function knn(n,t){var e,i,r,c;for(c=dwn(n.e.Tg(),t),e=Yx(n.g,119),r=0;r>5,t&=31,r=n.d+e+(0==t?0:1),function(n,t,e,i){var r,c,a;if(0==i)smn(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Rnn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function Knn(n,t,e,i){var r,c,a;return r=!1,function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;return l=n.c[t],b=n.c[e],!((w=Yx(Aun(l,(Ojn(),mQn)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(bon(),Bzn)&&b.k!=Bzn,v=(g=Yx(Aun(l,vQn),10))!=(p=Yx(Aun(b,vQn),10)),m=!!g&&g!=l||!!p&&p!=b,y=Iin(l,(Ikn(),Tit)),k=Iin(b,Bit),m|=Iin(l,Bit)||Iin(b,Tit),d&&(m&&v||y||k))||l.k==(bon(),qzn)&&b.k==Hzn||b.k==(bon(),qzn)&&l.k==Hzn)&&(h=n.c[t],c=n.c[e],r=Acn(n.e,h,c,(Ikn(),qit)),o=Acn(n.i,h,c,Eit),function(n,t,e){n.d=0,n.b=0,t.k==(bon(),qzn)&&e.k==qzn&&Yx(Aun(t,(Ojn(),CQn)),10)==Yx(Aun(e,CQn),10)&&(lJ(t).j==(Ikn(),Tit)?Wln(n,t,e):Wln(n,e,t)),t.k==qzn&&e.k==Bzn?lJ(t).j==(Ikn(),Tit)?n.d=1:n.b=1:e.k==qzn&&t.k==Bzn&&(lJ(e).j==(Ikn(),Tit)?n.b=1:n.d=1),function(n,t,e){t.k==(bon(),Hzn)&&e.k==Bzn&&(n.d=q8(t,(Ikn(),Bit)),n.b=q8(t,Tit)),e.k==Hzn&&t.k==Bzn&&(n.d=q8(e,(Ikn(),Tit)),n.b=q8(e,Bit))}(n,t,e)}(n.f,h,c),s=y6(n.b,h,c)+Yx(r.a,19).a+Yx(o.a,19).a+n.f.d,u=y6(n.b,c,h)+Yx(r.b,19).a+Yx(o.b,19).a+n.f.b,n.a&&(f=Yx(Aun(h,CQn),11),a=Yx(Aun(c,CQn),11),s+=Yx((i=Drn(n.g,f,a)).a,19).a,u+=Yx(i.b,19).a),s>u)}(n.f,e,i)&&(function(n,t,e){var i,r;Sun(n.e,t,e,(Ikn(),qit)),Sun(n.i,t,e,Eit),n.a&&(r=Yx(Aun(t,(Ojn(),CQn)),11),i=Yx(Aun(e,CQn),11),tU(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function _nn(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=Yx($_(t),10),u=Yx(i7(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Fnn(n,t,i){var r,c,a,u,o;return u=n.k,o=t.k,c=fL(pnn(n,r=i[u.g][o.g])),a=fL(pnn(t,r)),e.Math.max((vB(c),c),(vB(a),a))}function Bnn(n,t,e){var i,r,c;for(r=Yx(BF(n.b,e),177),i=0,c=new pb(t.j);c.at?1:QI(isNaN(n),isNaN(t)))>0}function Unn(n,t){return XC(),XC(),o0(ZEn),(e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:QI(isNaN(n),isNaN(t)))<0}function Xnn(n,t){return XC(),XC(),o0(ZEn),(e.Math.abs(n-t)<=ZEn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:QI(isNaN(n),isNaN(t)))<=0}function Wnn(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];ecMn)return e.fh();if((i=e.Zg())||e==n)break}return i}function ctn(n){return _G(),CO(n,156)?Yx(BF(Mct,NFn),288).vg(n):P_(Mct,V5(n))?Yx(BF(Mct,V5(n)),288).vg(n):null}function atn(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw hp(new Qm("Input edge is not connected to the input port."))}function utn(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+e.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function stn(n,t){var e;return iI(t)===iI(n)||!!CO(t,21)&&(e=Yx(t,21)).gc()==n.gc()&&n.Ic(e)}function htn(n,t){var e,i;for(Lz(t,n.length),e=n.charCodeAt(t),i=t+1;i=2*t&&eD(e,new Lx(a[i-1]+t,a[i]-t));return e}(e,i),SE(HZ(new SR(null,new Nz(function(n){var t,e,i,r,c,a,u;for(c=new oC,e=new pb(n);e.a2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}(t),1)),new ja),new yH(n,e,r,i)))}function wtn(n,t,e){var i;0!=(n.Db&t)?null==e?function(n,t){var e,i,r,c,a,u,o;if(1==(i=h7(254&n.Db)))n.Eb=null;else if(c=h1(n.Eb),2==i)r=Vin(n,t),n.Eb=c[0==r?1:0];else{for(a=VQ(UKn,iEn,1,i-1,5,1),e=2,u=0,o=0;e<=128;e<<=1)e==t?++u:0!=(n.Db&e)&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Vin(n,t))?n.Eb=e:DF(h1(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,u,o;if(0==(r=h7(254&n.Db)))n.Eb=e;else{if(1==r)a=VQ(UKn,iEn,1,2,5,1),0==Vin(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=VQ(UKn,iEn,1,r+1,5,1),c=h1(n.Eb),i=2,u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:0!=(n.Db&i)&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}(n,t,e)}function dtn(n){var t;return 0==(32&n.Db)&&0!=(t=vF(Yx(H3(n,16),26)||n.zh())-vF(n.zh()))&&wtn(n,32,VQ(UKn,iEn,1,t,5,1)),n}function gtn(n){var t,e;for(t=new pb(n.g);t.a0&&k8(n,128)<0?(t=WR(n)+128,!(e=(bR(),X_n)[t])&&(e=X_n[t]=new cb(n)),e):new cb(n)}function ktn(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),gxn)))?i:t.ne()}function jtn(n,t){var e,i;for(lz(),i=new $K(bA(a7(n).a.Kc(),new h));Vfn(i);)if((e=Yx(kV(i),17)).d.i==t||e.c.i==t)return e;return null}function Etn(n,t,e){this.c=n,this.f=new ip,this.e=new Pk,this.j=new gR,this.n=new gR,this.b=t,this.g=new mH(t.c,t.d,t.b,t.a),this.a=e}function Ttn(n){var t,e,i,r;for(this.a=new oC,this.d=new Qp,this.e=0,i=0,r=(e=n).length;iE&&(d.c=E-d.b),eD(u.d,new fK(d,P9(u,d))),m=t==Tit?e.Math.max(m,g.b+h.b.rf().b):e.Math.min(m,g.b));for(m+=t==Tit?n.t:-n.t,(y=Z7((u.e=m,u)))>0&&(Yx(GB(n.b,t),124).a.b=y),f=b.Kc();f.Ob();)!(h=Yx(f.Pb(),111)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else kkn(n,t)}(n,t):kkn(n,t):n.u.Hc(mit)&&(i?function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=Yx(Yx(_V(n.r,t),21),84)).gc()<=2||t==(Ikn(),Eit)||t==(Ikn(),qit))qkn(n,t);else{for(g=n.u.Hc((Chn(),yit)),i=t==(Ikn(),Tit)?(e4(),YHn):(e4(),WHn),v=t==Tit?(OJ(),pHn):(OJ(),mHn),r=Qy(Ox(i),n.s),p=t==Tit?JTn:ZTn,h=f.Kc();h.Ob();)!(o=Yx(h.Pb(),111)).c||o.c.d.c.length<=0||(d=o.b.rf(),w=o.e,(b=(l=o.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(u=l.n,l.e.b+u.d+u.a),g?(b.c=w.a-(c=l.n,l.e.a+c.b+c.c)-n.s,g=!1):b.c=w.a+d.a+n.s,xq(v,jSn),l.f=v,lY(l,(BY(),lHn)),eD(r.d,new fK(b,P9(r,b))),p=t==Tit?e.Math.min(p,w.b):e.Math.max(p,w.b+o.b.rf().b));for(p+=t==Tit?-n.t:n.t,Z7((r.e=p,r)),s=f.Kc();s.Ob();)!(o=Yx(s.Pb(),111)).c||o.c.d.c.length<=0||((b=o.c.i).c-=o.e.a,b.d-=o.e.b)}}(n,t):qkn(n,t))}function xtn(n,t){var e,i;++n.j,null!=t&&function(n,t){var e,i,r;if(iI(n)===iI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e=(r=n.length))return r;for(t=t>0?t:0;ti&&DF(t,i,null),t}function qtn(n,t){var e,i;for(i=n.a.length,t.lengthi&&DF(t,i,null),t}function Gtn(n,t,e){var i,r,c;return(r=Yx(BF(n.e,t),387))?(c=YL(r,e),OO(n,r),c):(i=new oD(n,t,e),xB(n.e,t,i),iG(i),null)}function ztn(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u;if(kdn(),null==n)return null;if((r=n.length)%2!=0)return null;for(t=xJ(n),e=VQ(Yot,LNn,25,c=r/2|0,15,1),i=0;i>24}return e}(Vvn(n,!0))))throw hp(new fy("Invalid hexBinary value: '"+n+"'"));return t}function Utn(n){return bdn(),k8(n,0)<0?0!=k8(n,-1)?new pan(-1,sJ(n)):lFn:k8(n,10)<=0?wFn[WR(n)]:new pan(1,n)}function Xtn(){return Njn(),x4(Gy(JHn,1),XEn,159,0,[BHn,FHn,HHn,$Hn,AHn,LHn,DHn,xHn,NHn,_Hn,KHn,RHn,CHn,IHn,OHn,SHn,MHn,PHn,EHn,jHn,THn,qHn])}function Wtn(n){var t;this.d=new ip,this.j=new Pk,this.g=new Pk,t=n.g.b,this.f=Yx(Aun(dB(t),(gjn(),a1n)),103),this.e=ty(fL(cen(t,F0n)))}function Vtn(n){this.b=new ip,this.e=new ip,this.d=n,this.a=!ej(hH(new SR(null,new nF(new UV(n.b))),new Cb(new Gr))).sd((HE(),dBn))}function Qtn(){Qtn=O,T7n=new US("PARENTS",0),E7n=new US("NODES",1),k7n=new US("EDGES",2),M7n=new US("PORTS",3),j7n=new US("LABELS",4)}function Ytn(){Ytn=O,eit=new aP("DISTRIBUTED",0),rit=new aP("JUSTIFIED",1),nit=new aP("BEGIN",2),tit=new aP(pSn,3),iit=new aP("END",4)}function Jtn(n){switch(n.g){case 1:return t9(),eet;case 4:return t9(),Ztt;case 2:return t9(),net;case 3:return t9(),Jtt}return t9(),tet}function Ztn(n,t){var e,i;if(iz(t,n.b),t>=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e=64&&t<128&&(r=zz(r,GK(1,t-64)));return r}function cen(n,t){var e,i;return i=null,O$(n,(Cjn(),Htt))&&(e=Yx(Aun(n,Htt),94)).Xe(t)&&(i=e.We(t)),null==i&&dB(n)&&(i=Aun(dB(n),t)),i}function aen(n,t){var e,i,r;(i=(r=t.d.i).k)!=(bon(),Hzn)&&i!=Kzn&&Vfn(e=new $K(bA(o7(r).a.Kc(),new h)))&&xB(n.k,t,Yx(kV(e),17))}function uen(n,t){var e,i,r;return i=CZ(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):zhn(n,i):e<0?zhn(n,i):Yx(i,66).Nj().Sj(n,n.yh(),e)}function oen(n){var t;if(CO(n.a,4)){if(null==(t=ctn(n.a)))throw hp(new Ym(ELn+n.b+"'. "+mLn+(sL(Ict),Ict.k)+yLn));return t}return n.a}function sen(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Jpn(),null==n)return null;if((w=function(n){var t,e,i;for(i=0,e=n.length,t=0;t>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return Pj(a=c[h++])&&Pj(u=c[h++])?(t=sot[a],e=sot[u],o=c[h++],s=c[h++],-1==sot[o]||-1==sot[s]?61==o&&61==s?0!=(15&e)?null:(smn(f,0,g=VQ(Yot,LNn,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=o&&61==s?0!=(3&(i=sot[o]))?null:(smn(f,0,g=VQ(Yot,LNn,25,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=sot[o],r=sot[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}(Vvn(n,!0))))throw hp(new fy("Invalid base64Binary value: '"+n+"'"));return t}function hen(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(t){throw CO(t=j4(t),73)?(n.mj(),hp(new Kp)):hp(t)}}function fen(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(t){throw CO(t=j4(t),73)?(n.mj(),hp(new Kp)):hp(t)}}function len(){len=O,Cjn(),Rqn=Ktt,Aqn=Nnt,Sqn=mnt,$qn=utt,pcn(),xqn=_Bn,Nqn=RBn,Dqn=BBn,Lqn=DBn,O6(),Iqn=jqn,Pqn=kqn,Cqn=Tqn,Oqn=Mqn}function ben(n){switch(VE(),this.c=new ip,this.d=n,n.g){case 0:case 2:this.a=DB(Tzn),this.b=JTn;break;case 3:case 1:this.a=Tzn,this.b=ZTn}}function wen(n,t,e){var i;if(n.c)L1(n.c,n.c.i+t),N1(n.c,n.c.j+e);else for(i=new pb(n.b);i.a0&&(eD(n.b,new iD(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=IO(VQ(Xot,sTn,25,-i,15,1))))}function gen(n,t){var e,i,r;for(e=n.o,r=Yx(Yx(_V(n.r,t),21),84).Kc();r.Ob();)(i=Yx(r.Pb(),111)).e.a=mrn(i,e.a),i.e.b=e.b*ty(fL(i.b.We(XHn)))}function pen(n,t){var e;return e=Yx(Aun(n,(gjn(),$1n)),74),MO(t,$zn)?e?BH(e):(e=new Nv,b5(n,$1n,e)):e&&b5(n,$1n,null),e}function ven(n){var t;return(t=new Ay).a+="n",n.k!=(bon(),Hzn)&&yI(yI((t.a+="(",t),d$(n.k).toLowerCase()),")"),yI((t.a+="_",t),yrn(n)),t.a}function men(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function yen(n,t){switch(t){case 7:return!n.e&&(n.e=new AN(nct,n,7,4)),void Hmn(n.e);case 8:return!n.d&&(n.d=new AN(nct,n,8,5)),void Hmn(n.d)}rnn(n,t)}function ken(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(n){throw CO(n=j4(n),109)?hp(new Hm("Can't get element "+t)):hp(n)}}function jen(n,t){this.e=n,t=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function Sen(){Sen=O,tqn=new iM(NSn,0),nqn=new iM(xSn,1),eqn=new iM(DSn,2),iqn=new iM(RSn,3),tqn.a=!1,nqn.a=!0,eqn.a=!1,iqn.a=!0}function Pen(){Pen=O,bqn=new eM(NSn,0),lqn=new eM(xSn,1),wqn=new eM(DSn,2),dqn=new eM(RSn,3),bqn.a=!1,lqn.a=!0,wqn.a=!1,dqn.a=!0}function Ien(n){var t,e,i;if(e=0,0==(i=idn(n)).c.length)return 1;for(t=new pb(i);t.ae.b)return!0}return!1}function Oen(n,t){return aI(n)?!!zjn[t]:n.hm?!!n.hm[t]:cI(n)?!!Gjn[t]:!!rI(n)&&!!qjn[t]}function Aen(n,t,e){return null==e?(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),ttn(n.o,t)):(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),xcn(n.o,t,e)),n}function $en(n,t,e,i){var r,c,a;return c=CZ(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):tfn(n,c,e):Yx(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Len(n,t,e,i){var r,c;e.mh(t)&&(TT(),GJ(t)?function(n,t){var e,i,r,c;for(i=0,r=t.gc();i=0)return i;if(n.Fk())for(e=0;e=(r=n.gc()))throw hp(new jN(t,r));if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw hp(new Qm(kxn));return n.mi(t,e)}function _en(n,t){if(this.a=Yx(MF(n),245),this.b=Yx(MF(t),245),n.vd(t)>0||n==(dm(),ZKn)||t==(wm(),n_n))throw hp(new Qm("Invalid range: "+BX(n,t)))}function Fen(n){var t,e;for(this.b=new ip,this.c=n,this.a=!1,e=new pb(n.a);e.a0),(t&-t)==t)return oG(t*Xln(n,31)*4.656612873077393e-10);do{i=(e=Xln(n,31))%t}while(e-i+(t-1)<0);return oG(i)}function Xen(n){var t,e,i;return lx(),null!=(i=vBn[e=":"+n])?oG((vB(i),i)):(t=null==(i=pBn[e])?function(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e0)for(i=new sx(Yx(_V(n.a,c),21)),XH(),JC(i,new ow(t)),r=new JU(c.b,0);r.b1&&(r=function(n,t){var e,i,r;for(e=HA(new ev,n),r=new pb(t);r.a(o=null==n.d?0:n.d.length)){for(h=n.d,n.d=VQ(Ect,yDn,63,2*o+4,0,1),c=0;cYAn;){for(a=t,u=0;e.Math.abs(t-a)0),c.a.Xb(c.c=--c.b),rvn(n,n.b-u,a,r,c),S$(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(i=0;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function gin(n,t){if(null==n)throw hp(new Zm("null key in entry: null="+t));if(null==t)throw hp(new Zm("null value in entry: "+n+"=null"))}function pin(n,t){var i;return i=x4(Gy(Jot,1),rMn,25,15,[Q6(n.a[0],t),Q6(n.a[1],t),Q6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function vin(n,t){var i;return i=x4(Gy(Jot,1),rMn,25,15,[Y6(n.a[0],t),Y6(n.a[1],t),Y6(n.a[2],t)]),n.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function min(){min=O,NWn=new GM("GREEDY",0),LWn=new GM(iCn,1),DWn=new GM(eCn,2),RWn=new GM("MODEL_ORDER",3),xWn=new GM("GREEDY_MODEL_ORDER",4)}function yin(n,t){var e,i,r;for(n.b[t.g]=1,i=Ztn(t.d,0);i.b!=i.d.c;)r=(e=Yx(IX(i),188)).c,1==n.b[r.g]?KD(n.a,e):2==n.b[r.g]?n.b[r.g]=1:yin(n,r)}function kin(n,t,e){var i,r,c,a;for(a=n.r+t,n.r+=t,n.d+=e,i=e/n.n.c.length,r=0,c=new pb(n.n);c.a0||!a&&0==u))}(n,e,i.d,r,c,a,u)&&t.Fc(i),(s=i.a[1])&&Lin(n,t,e,s,r,c,a,u))}function Nin(n,t,e){try{return sI(V0(n,t,e),1)}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function xin(n,t,e){try{return sI(V0(n,t,e),0)}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function Din(n,t,e){try{return sI(V0(n,t,e),2)}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function Rin(n,t){if(-1==n.g)throw hp(new Lp);n.mj();try{n.d._c(n.g,t),n.f=n.d.j}catch(n){throw CO(n=j4(n),73)?hp(new Dp):hp(n)}}function Kin(n,t,i){run(i,"Linear segments node placement",1),n.b=Yx(Aun(t,(Ojn(),zQn)),304),function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(O=new ip,w=new pb(t.b);w.a=0){for(o=null,u=new JU(h.a,s+1);u.b0&&s[r]&&(d=lO(n.b,s[r],c)),g=e.Math.max(g,c.c.c.b+d);for(a=new pb(f.e);a.ak)?(s=2,u=Yjn):0==s?(s=1,u=E):(s=0,u=E):(b=E>=u||u-E0?(f=Yx(TR(l.c.a,a-1),10),T=lO(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+T)):g=l.n.b-l.d.d,s=e.Math.min(g,s),ac&&DF(t,c,null),t}function Fin(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!(!(iI(r)===iI(i)||null!=r&&Q8(r,i))||null==i&&!n._b(e))}function Bin(n,t,e,i){var r,c;this.a=t,this.c=i,function(n,t){n.b=t}(this,new QS(-(r=n.a).c,-r.d)),mN(this.b,e),c=i/2,t.a?N$(this.b,0,c):N$(this.b,c,0),eD(n.c,this)}function Hin(){Hin=O,i8n=new RS(fIn,0),t8n=new RS(rCn,1),e8n=new RS("EDGE_LENGTH_BY_POSITION",2),n8n=new RS("CROSSING_MINIMIZATION_BY_POSITION",3)}function qin(n,t){var e,i;if(e=Yx(g1(n.g,t),33))return e;if(i=Yx(g1(n.j,t),118))return i;throw hp(new hy("Referenced shape does not exist: "+t))}function Gin(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw hp(new Qm("Node 'one' must be either source or target of edge 'edge'."))}function zin(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw hp(new Qm("Node "+t+" is neither source nor target of edge "+n))}function Uin(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b0&&(o+=r),s[h]=a,a+=u*(o+i)}function Win(n){var t,e,i;for(i=n.f,n.n=VQ(Jot,rMn,25,i,15,1),n.d=VQ(Jot,rMn,25,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function irn(n,t){var i;return i=x4(Gy(Jot,1),rMn,25,15,[zen(n,(JZ(),rHn),t),zen(n,cHn,t),zen(n,aHn,t)]),n.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function rrn(n,t,e){try{cgn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw CO(n=j4(n),73)?hp(new Hm(n.g+qSn+t+tEn+e+").")):hp(n)}}function crn(n,t,e){try{cgn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw CO(n=j4(n),73)?hp(new Hm(n.g+qSn+t+tEn+e+").")):hp(n)}}function arn(n){var t;O$(n,(gjn(),U1n))&&((t=Yx(Aun(n,U1n),21)).Hc((Eln(),Get))?(t.Mc(Get),t.Fc(Uet)):t.Hc(Uet)&&(t.Mc(Uet),t.Fc(Get)))}function urn(n){var t;O$(n,(gjn(),U1n))&&((t=Yx(Aun(n,U1n),21)).Hc((Eln(),Yet))?(t.Mc(Yet),t.Fc(Vet)):t.Hc(Vet)&&(t.Mc(Vet),t.Fc(Yet)))}function orn(n,t,e,i){var r,c;for(r=t;r0&&(c.b+=t),c}function brn(n,t){var i,r,c;for(c=new Pk,r=n.Kc();r.Ob();)bgn(i=Yx(r.Pb(),37),0,c.b),c.b+=i.f.b+t,c.a=e.Math.max(c.a,i.f.a);return c.a>0&&(c.a+=t),c}function wrn(n){var t,i,r;for(r=Yjn,i=new pb(n.a);i.a>16==6?n.Cb.ih(n,5,cct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function vrn(n){var t,i,r;n.b==n.c&&(r=n.a.length,i=j5(e.Math.max(8,r))<<1,0!=n.b?(Z0(n,t=eN(n.a,i),r),n.a=t,n.b=0):zp(n.a,i),n.c=r)}function mrn(n,t){var e;return(e=n.b).Xe((Cjn(),ytt))?e.Hf()==(Ikn(),qit)?-e.rf().a-ty(fL(e.We(ytt))):t+ty(fL(e.We(ytt))):e.Hf()==(Ikn(),qit)?-e.rf().a:t}function yrn(n){var t;return 0!=n.b.c.length&&Yx(TR(n.b,0),70).a?Yx(TR(n.b,0),70).a:null!=(t=IH(n))?t:""+(n.c?hJ(n.c.a,n,0):-1)}function krn(n){var t;return 0!=n.f.c.length&&Yx(TR(n.f,0),70).a?Yx(TR(n.f,0),70).a:null!=(t=IH(n))?t:""+(n.i?hJ(n.i.j,n,0):-1)}function jrn(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e0?n.c:0),c=e.Math.max(c,t.d),++r;n.e=a,n.b=c}function Mrn(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),n.o):(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),UQ(n.o)):$en(n,t,e,i)}function Srn(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&BTn,n.m=i&BTn,n.h=r&HTn,0)))}function Crn(n,t,e){var i,r;return a8(r=new Uv,t),E2(r,e),fY((!n.c&&(n.c=new m_(lat,n,12,10)),n.c),r),_1(i=r,0),F1(i,1),l9(i,!0),s9(i,!0),i}function Orn(n,t){var e,i;if(t>=n.i)throw hp(new BI(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&smn(n.g,t+1,n.g,t,i),DF(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function Arn(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,rat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function $rn(n){var t,e,i,r,c;for(r=Yjn,c=null,i=new pb(n.d);i.ae.a.c.length))throw hp(new Qm("index must be >= 0 and <= layer node count"));n.c&&uJ(n.c.a,n),n.c=e,e&&ZR(e.a,t,n)}function qrn(n,t){var e,i,r;for(i=new $K(bA(a7(n).a.Kc(),new h));Vfn(i);)return e=Yx(kV(i),17),new Bf(MF((r=Yx(t.Kb(e),10)).n.b+r.o.b/2));return gm(),gm(),zKn}function Grn(n,t){this.c=new rp,this.a=n,this.b=t,this.d=Yx(Aun(n,(Ojn(),zQn)),304),iI(Aun(n,(gjn(),X1n)))===iI((cJ(),iVn))?this.e=new Cv:this.e=new Iv}function zrn(n,t){var e,i;return i=null,n.Xe((Cjn(),Htt))&&(e=Yx(n.We(Htt),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=oen(t)),i}function Urn(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw CO(n=j4(n),109)?hp(new Hm("Can't remove element "+t)):hp(n)}}function Xrn(n,t){var e,i,r;for(vB(t),T$(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),eD(n.b,vB(e));return r!=n.b.c.length&&(l6(n,0),!0)}function Wrn(){Wrn=O,Cjn(),xGn=Hnt,new DC(Cnt,(TA(),!0)),KGn=Jnt,_Gn=ttt,FGn=itt,RGn=Qnt,BGn=att,HGn=Mtt,Lrn(),NGn=CGn,$Gn=SGn,LGn=IGn,DGn=OGn,AGn=MGn}function Vrn(n,t,e,i){var r,c,a;for(JG(t,Yx(i.Xb(0),29)),a=i.bd(1,i.gc()),c=Yx(e.Kb(t),20).Kc();c.Ob();)Vrn(n,(r=Yx(c.Pb(),17)).c.i==t?r.d.i:r.c.i,e,a)}function Qrn(n){var t;return t=new rp,O$(n,(Ojn(),QQn))?Yx(Aun(n,QQn),83):(SE(hH(new SR(null,new Nz(n.j,16)),new tr),new _w(t)),b5(n,QQn,t),t)}function Yrn(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,6,nct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),xrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Jrn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,Yrt,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),Rrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Zrn(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,uct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),_rt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ncn(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,oat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Tat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function tcn(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,ect,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),pat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ecn(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,cct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Lat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function icn(){this.a=new lo,this.g=new iin,this.j=new iin,this.b=new rp,this.d=new iin,this.i=new iin,this.k=new rp,this.c=new rp,this.e=new rp,this.f=new rp}function rcn(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;rcMn)return ccn(n,i);if(i==n)return!0}}return!1}function acn(n,t){var i,r,c;for(uJ(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=d$n,r=new pb(n.a);r.a>16==3?n.Cb.ih(n,12,uct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),Nrt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ocn(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,uct,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(ajn(),Krt),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function scn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,rat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Aat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function hcn(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,fat,t):(e=nin(Yx(CZ(Yx(H3(n,16),26)||(xjn(),Nat),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function fcn(n){var t;return 0==(1&n.Bb)&&n.r&&n.r.kh()&&(t=Yx(n.r,49),n.r=Yx(P8(n,t),138),n.r!=t&&0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,9,8,t,n.r))),n.r}function lcn(n,t,i){var r;return r=x4(Gy(Jot,1),rMn,25,15,[yun(n,(JZ(),rHn),t,i),yun(n,cHn,t,i),yun(n,aHn,t,i)]),n.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function bcn(n,t){var e,i,r;if(0!=(r=function(n,t){var e,i,r;for(r=new pQ(t.gc()),i=t.Kc();i.Ob();)(e=Yx(i.Pb(),286)).c==e.f?nsn(n,e,e.c):Von(n,e)||(r.c[r.c.length]=e);return r}(n,t)).c.length)for(JC(r,new ti),e=r.c.length,i=0;i>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function pcn(){pcn=O,$dn(),BBn=new FI(uSn,HBn=VBn),sZ(),_Bn=new FI(oSn,FBn=LBn),nen(),RBn=new FI(sSn,KBn=CBn),DBn=new FI(hSn,(TA(),!0))}function vcn(n,t,e){var i,r;i=t*e,CO(n.g,145)?(r=SX(n)).f.d?r.f.a||(n.d.a+=i+SSn):(n.d.d-=i+SSn,n.d.a+=i+SSn):CO(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function mcn(n,t,i){var r,c,a,u,o;for(c=n[i.g],o=new pb(t.d);o.a0?n.g:0),++i;t.b=r,t.e=c}function kcn(n){var t,e,i;if(i=n.b,mE(n.i,i.length)){for(e=2*i.length,n.b=VQ(c_n,qEn,317,e,0,1),n.c=VQ(c_n,qEn,317,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)phn(n,t,t);++n.g}}function jcn(n,t,e){var i;(i=t.c.i).k==(bon(),Bzn)?(b5(n,(Ojn(),TQn),Yx(Aun(i,TQn),11)),b5(n,MQn,Yx(Aun(i,MQn),11))):(b5(n,(Ojn(),TQn),t.c),b5(n,MQn,e.d))}function Ecn(n,t,i){var r,c,a,u,o,s;return udn(),u=t/2,a=i/2,o=1,s=1,(r=e.Math.abs(n.a))>u&&(o=u/r),(c=e.Math.abs(n.b))>a&&(s=a/c),KO(n,e.Math.min(o,s)),n}function Tcn(){uE.call(this),this.e=-1,this.a=!1,this.p=nTn,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=nTn}function Mcn(){Mcn=O,WGn=yK(oR(oR(oR(new fX,($un(),nzn),($jn(),NUn)),nzn,KUn),tzn,zUn),tzn,jUn),QGn=oR(oR(new fX,nzn,lUn),nzn,EUn),VGn=yK(new fX,tzn,MUn)}function Scn(n,t){var e,i,r,c;for(c=new rp,t.e=null,t.f=null,i=new pb(t.i);i.a0)try{i=ipn(t,nTn,Yjn)}catch(n){throw CO(n=j4(n),127)?hp(new mJ(n)):hp(n)}return!n.a&&(n.a=new Vg(n)),i<(e=n.a).i&&i>=0?Yx(c1(e,i),56):null}(n,0==(r=t.c.length)?"":($z(0,t.c.length),lL(t.c[0]))),i=1;i0&&(r=efn(n,(c&Yjn)%n.d.length,c,t))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function Dcn(n,t){var e,i,r,c;switch(U8(n,t)._k()){case 3:case 2:for(r=0,c=(e=emn(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/I8(2.718281828459045,n))}function Fcn(n,t){var e;if(n.ni()&&null!=t){for(e=0;e0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=e.Math.min(r,c))}function Ucn(n,t){var e;if(e=!1,aI(t)&&(e=!0,nB(n,new zF(lL(t)))),e||CO(t,236)&&(e=!0,nB(n,new Tl(tx(Yx(t,236))))),!e)throw hp(new Gm(ixn))}function Xcn(n){var t,e;switch(Yx(Aun(dB(n),(gjn(),A1n)),420).g){case 0:return t=n.n,e=n.o,new QS(t.a+e.a/2,t.b+e.b/2);case 1:return new fC(n.n);default:return null}}function Wcn(){Wcn=O,hVn=new VM(fIn,0),sVn=new VM("LEFTUP",1),lVn=new VM("RIGHTUP",2),oVn=new VM("LEFTDOWN",3),fVn=new VM("RIGHTDOWN",4),uVn=new VM("BALANCED",5)}function Vcn(n,t,e){switch(t){case 1:return!n.n&&(n.n=new m_(act,n,1,7)),Hmn(n.n),!n.n&&(n.n=new m_(act,n,1,7)),void jF(n.n,Yx(e,14));case 2:return void $0(n,lL(e))}J5(n,t,e)}function Qcn(n,t,e){switch(t){case 3:return void A1(n,ty(fL(e)));case 4:return void $1(n,ty(fL(e)));case 5:return void L1(n,ty(fL(e)));case 6:return void N1(n,ty(fL(e)))}Vcn(n,t,e)}function Ycn(n,t,e){var i,r;(i=fun(r=new Uv,t,null))&&i.Fi(),E2(r,e),fY((!n.c&&(n.c=new m_(lat,n,12,10)),n.c),r),_1(r,0),F1(r,1),l9(r,!0),s9(r,!0)}function Jcn(n,t){var e,i;return CO(e=NT(n.g,t),235)?((i=Yx(e,235)).Qh(),i.Nh()):CO(e,498)?i=Yx(e,1938).b:null}function Zcn(n,t,e,i){var r,c;return MF(t),MF(e),EJ(!!(c=Yx(nx(n.d,t),19)),"Row %s not in %s",t,n.e),EJ(!!(r=Yx(nx(n.b,e),19)),"Column %s not in %s",e,n.c),N4(n,c.a,r.a,i)}function nan(n,t,e,i,r,c,a){var u,o,s,h,f;if(f=Zin(u=(s=c==a-1)?i:0,h=r[c]),10!=i&&x4(Gy(n,a-c),t[c],e[c],u,f),!s)for(++c,o=0;o0?n.i:0)),++t;for(function(n,t){var e,i;for(vB(t),e=!1,i=new pb(n);i.a1||-1==u?(c=Yx(o,15),r.Wb(function(n,t){var e,i,r;for(i=new pQ(t.gc()),e=t.Kc();e.Ob();)(r=Qgn(n,Yx(e.Pb(),56)))&&(i.c[i.c.length]=r);return i}(n,c))):r.Wb(Qgn(n,Yx(o,56))))}function ban(n){switch(Yx(Aun(n.b,(gjn(),g1n)),375).g){case 1:SE(fH(WJ(new SR(null,new Nz(n.d,16)),new _r),new Fr),new Br);break;case 2:!function(n){var t,e,i,r,c,a,u;for(i=0,u=0,a=new pb(n.d);a.a0&&Nrn(this,this.c-1,(Ikn(),Eit)),this.c0&&n[0].length>0&&(this.c=ny(hL(Aun(dB(n[0][0]),(Ojn(),yQn))))),this.a=VQ(B3n,TEn,2018,n.length,0,2),this.b=VQ(X3n,TEn,2019,n.length,0,2),this.d=new e8}function Nan(n){return 0!=n.c.length&&(($z(0,n.c.length),Yx(n.c[0],17)).c.i.k==(bon(),Bzn)||JW(fH(new SR(null,new Nz(n,16)),new Kc),new _c))}function xan(n,t,e){return run(e,"Tree layout",1),_U(n.b),q_(n.b,(Krn(),Y4n),Y4n),q_(n.b,J4n,J4n),q_(n.b,Z4n,Z4n),q_(n.b,n5n,n5n),n.a=Zmn(n.b,t),function(n,t,e){var i,r,c;if(!(r=e)&&(r=new am),run(r,"Layout",n.a.c.length),ny(hL(Aun(t,(cln(),R5n)))))for(oE(),i=0;i=0?(e=Bcn(n,UTn),i=Snn(n,UTn)):(e=Bcn(t=UK(n,1),5e8),i=t7(GK(i=Snn(t,5e8),1),Gz(n,1))),zz(GK(i,32),Gz(e,uMn))}function Xan(n,t,e){var i;switch(S$(0!=t.b),i=Yx(VZ(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return oF(Ztn(t,0),i),t}function Wan(n,t,e,i){var r,c,a,u,o;switch(o=n.b,u=Ktn(a=(c=t.d).j,o.d[a.g],e),r=mN(dO(c.n),c.a),c.j.g){case 1:case 3:u.a+=r.a;break;case 2:case 4:u.b+=r.b}VW(i,u,i.c.b,i.c)}function Van(n,t,e){var i,r,c,a;for(a=hJ(n.e,t,0),(c=new pv).b=e,i=new JU(n.e,a);i.b=0;t--)zFn[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)GFn[n]=e,e*=.5}function Yan(n){var t,e;if(ny(hL(jln(n,(gjn(),I1n)))))for(e=new $K(bA(lbn(n).a.Kc(),new h));Vfn(e);)if(Whn(t=Yx(kV(e),79))&&ny(hL(jln(t,C1n))))return!0;return!1}function Jan(n,t){var e,i,r;__(n.f,t)&&(t.b=n,i=t.c,-1!=hJ(n.j,i,0)||eD(n.j,i),r=t.d,-1!=hJ(n.j,r,0)||eD(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new Wtn(n)),function(n,t){var e,i;for(i=new pb(t);i.a=n.f)break;c.c[c.c.length]=e}return c}function oun(n){var t,e,i,r;for(t=null,r=new pb(n.wf());r.a0&&smn(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;rc&&S_(s,$Z(e[u],KFn))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function dun(n,t,e){run(e,"Grow Tree",1),n.b=t.f,ny(hL(Aun(t,(y3(),hqn))))?(n.c=new it,mz(n,null)):n.c=new it,n.a=!1,iwn(n,t.f),b5(t,fqn,(TA(),!!n.a)),Ron(e)}function gun(n){var t,e;return n>=eMn?(t=iMn+(n-eMn>>10&1023)&fTn,e=56320+(n-eMn&1023)&fTn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&fTn)}function pun(n,t,e,i,r){var c,a,u;for(c=Vwn(n,t,e,i,r),u=!1;!c;)Nln(n,r,!0),u=!0,c=Vwn(n,t,e,i,r);u&&Nln(n,r,!1),0!=(a=G4(r)).c.length&&(n.d&&n.d.lg(a),pun(n,r,e,i,a))}function vun(){vun=O,ket=new eP(fIn,0),met=new eP("DIRECTED",1),jet=new eP("UNDIRECTED",2),pet=new eP("ASSOCIATION",3),yet=new eP("GENERALIZATION",4),vet=new eP("DEPENDENCY",5)}function mun(n,t){var e,i;for(vB(t),i=n.b.c.length,eD(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.ue(TR(n.b,i),t)<=0)return QW(n.b,e,t),!0;QW(n.b,e,TR(n.b,i))}return QW(n.b,i,t),!0}function yun(n,t,i,r){var c,a;if(c=0,i)c=Y6(n.a[i.g][t.g],r);else for(a=0;a=a)}function jun(n,t,e,i){var r;if(r=!1,aI(i)&&(r=!0,ND(t,e,lL(i))),r||rI(i)&&(r=!0,jun(n,t,e,i)),r||CO(i,236)&&(r=!0,nq(t,e,Yx(i,236))),!r)throw hp(new Gm(ixn))}function Eun(n,t){var e,i,r,c;if(vB(t),(c=n.a.gc())=hTn?"error":"warn",n.a),n.b&&Jbn(t,e,n.b,"Exception: ",!0))}function Aun(n,t){var e,i;return!n.q&&(n.q=new rp),null!=(i=BF(n.q,t))?i:(CO(e=t.wg(),4)&&(null==e?(!n.q&&(n.q=new rp),zV(n.q,t)):(!n.q&&(n.q=new rp),xB(n.q,t,e))),e)}function $un(){$un=O,YGn=new bM("P1_CYCLE_BREAKING",0),JGn=new bM("P2_LAYERING",1),ZGn=new bM("P3_NODE_ORDERING",2),nzn=new bM("P4_NODE_PLACEMENT",3),tzn=new bM("P5_EDGE_ROUTING",4)}function Lun(n,t){var e,i,r,c;for(i=(1==t?ozn:uzn).a.ec().Kc();i.Ob();)for(e=Yx(i.Pb(),103),c=Yx(_V(n.f.c,e),21).Kc();c.Ob();)r=Yx(c.Pb(),46),uJ(n.b.b,r.b),uJ(n.b.a,Yx(r.b,81).d)}function Nun(n,t){var e;if(oZ(),n.c==t.c){if(n.b==t.b||function(n,t){return _4(),n==bzn&&t==gzn||n==gzn&&t==bzn||n==dzn&&t==wzn||n==wzn&&t==dzn}(n.b,t.b)){if(e=function(n){return n==bzn||n==gzn}(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return eO(n.b.g,t.b.g)}return $9(n.c,t.c)}function xun(n,t){var e,i;if(zun(n,t))return!0;for(i=new pb(t);i.a=(r=n.Vi())||t<0)throw hp(new Hm(jxn+t+Exn+r));if(e>=r||e<0)throw hp(new Hm(Txn+e+Exn+r));return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function qun(n){var t,e,i;if(i=n,n)for(t=0,e=n.Ug();e;e=e.Ug()){if(++t>cMn)return qun(e);if(i=e,e==n)throw hp(new Ym("There is a cycle in the containment hierarchy of "+n))}return i}function Gun(n){var t,e,i;for(i=new J3(tEn,"[","]"),e=n.Kc();e.Ob();)HV(i,iI(t=e.Pb())===iI(n)?"(this Collection)":null==t?aEn:I7(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function zun(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;ei&&(Lz(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||t1&&(n.j.b+=n.e)):(n.j.a+=i.a,n.j.b=e.Math.max(n.j.b,i.b),n.d.c.length>1&&(n.j.a+=n.e))}function Qun(){Qun=O,UXn=x4(Gy(trt,1),lIn,61,0,[(Ikn(),Tit),Eit,Bit]),zXn=x4(Gy(trt,1),lIn,61,0,[Eit,Bit,qit]),XXn=x4(Gy(trt,1),lIn,61,0,[Bit,qit,Tit]),WXn=x4(Gy(trt,1),lIn,61,0,[qit,Tit,Eit])}function Yun(n,t,e,i){var r,c,a,u,o;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(o=n.b,r=c.j,u=null;r!=a.j;)u=0==t?A9(r):C9(r),KD(i,mN(Ktn(r,o.d[r.g],e),Ktn(u,o.d[u.g],e))),r=u}function Jun(n,t,e,i){var r,c,a,u,o;return u=Yx((a=Drn(n.a,t,e)).a,19).a,c=Yx(a.b,19).a,i&&(o=Yx(Aun(t,(Ojn(),RQn)),10),r=Yx(Aun(e,RQn),10),o&&r&&(YX(n.b,o,r),u+=n.b.i,c+=n.b.e)),u>c}function Zun(n){var t,e,i,r,c,a,u,o;for(this.a=xen(n),this.b=new ip,i=0,r=(e=n).length;i0&&(n.a[q.p]=J++)}for(rn=0,N=0,R=(A=i).length;N0;){for(S$(X.b>0),U=0,o=new pb((q=Yx(X.a.Xb(X.c=--X.b),11)).e);o.a0&&(q.j==(Ikn(),Tit)?(n.a[q.p]=rn,++rn):(n.a[q.p]=rn+K+F,++F))}rn+=F}for(z=new rp,d=new oC,$=0,x=(C=t).length;$h.b&&(h.b=W)):q.i.c==Y&&(Wh.c&&(h.c=W));for(DY(g,0,g.length,null),en=VQ(Wot,MTn,25,g.length,15,1),r=VQ(Wot,MTn,25,rn+1,15,1),v=0;v0;)T%2>0&&(c+=un[T+1]),++un[T=(T-1)/2|0];for(S=VQ(i4n,iEn,362,2*g.length,0,1),k=0;kTL(n.d).c?(n.i+=n.g.c,Cnn(n.d)):TL(n.d).c>TL(n.g).c?(n.e+=n.d.c,Cnn(n.g)):(n.i+=IR(n.g),n.e+=IR(n.d),Cnn(n.g),Cnn(n.d))}function ion(n,t,i,r){n.a.d=e.Math.min(t,i),n.a.a=e.Math.max(t,r)-n.a.d,to&&(s=o/r),(c=e.Math.abs(t.b-n.b))>a&&(h=a/c),u=e.Math.min(s,h),n.a+=u*(t.a-n.a),n.b+=u*(t.b-n.b)}function son(n,t,e,i,r){var c,a;for(a=!1,c=Yx(TR(e.b,0),33);Svn(n,t,c,i,r)&&(a=!0,oan(e,c),0!=e.b.c.length);)c=Yx(TR(e.b,0),33);return 0==e.b.c.length&&acn(e.j,e),a&&ern(t.q),a}function hon(n,t){var e,i,r,c;if(udn(),t.b<2)return!1;for(i=e=Yx(IX(c=Ztn(t,0)),8);c.b!=c.d.c;){if(Rbn(n,i,r=Yx(IX(c),8)))return!0;i=r}return!!Rbn(n,i,e)}function fon(n,t,e,i){return 0==e?(!n.o&&(n.o=new yY((ajn(),Frt),mct,n,0)),YN(n.o,t,i)):Yx(CZ(Yx(H3(n,16),26)||n.zh(),e),66).Nj().Rj(n,dtn(n),e-vF(n.zh()),t,i)}function lon(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=Yx(n.sb,49).ih(n,1,ict,e)),t&&(e=Yx(t,49).gh(n,1,ict,e)),(e=H8(n,t,e))&&e.Fi()):0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,4,t,t))}function bon(){bon=O,Hzn=new gM("NORMAL",0),Bzn=new gM("LONG_EDGE",1),_zn=new gM("EXTERNAL_PORT",2),qzn=new gM("NORTH_SOUTH_PORT",3),Fzn=new gM("LABEL",4),Kzn=new gM("BREAKING_POINT",5)}function won(n,t,e){var i;run(e,"Self-Loop routing",1),i=function(n){switch(Yx(Aun(n,(gjn(),b1n)),218).g){case 1:return new ic;case 3:return new oc;default:return new ec}}(t),dI(Aun(t,(tQ(),K7n))),SE(fH(hH(hH(WJ(new SR(null,new Nz(t.b,16)),new zi),new Ui),new Xi),new Wi),new yM(n,i)),Ron(e)}function don(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<n)throw hp(new Qm("k must be smaller than n"));return 0==t||t==n?1:0==n?0:_cn(n)/(_cn(t)*_cn(n-t))}function mon(n,t){var e,i,r,c;for(e=new SC(n);null!=e.g||e.c?null==e.g||0!=e.i&&Yx(e.g[e.i-1],47).Ob():AG(e);)if(CO(c=Yx(abn(e),56),160))for(i=Yx(c,160),r=0;r0&&ygn(n,e,t),r):function(n,t,e){var i,r,c;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?((c=WK(i.a,r.a))<0?ygn(n,t,e):c>0&&ygn(n,e,t),c):null!=i.a?(ygn(n,t,e),-1):null!=r.a?(ygn(n,e,t),1):0}(n,t,e)}function xon(n,t,e){var i,r,c,a;if(0!=t.b){for(i=new ME,a=Ztn(t,0);a.b!=a.d.c;)C2(i,q4(c=Yx(IX(a),86))),(r=c.e).a=Yx(Aun(c,(ryn(),O5n)),19).a,r.b=Yx(Aun(c,A5n),19).a;xon(n,i,J2(e,i.b/n.a|0))}}function Don(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(function(n,t,e){var i;return(i=omn(n,t,!1)).b<=t&&i.a<=e}(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=i.a,n.e.b=e.Math.max(n.e.b,i.b),n.d.c.length>1&&(n.e.a+=n.a))}function Bon(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function Hon(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function qon(n){if(CO(n,149))return function(n){var t,e,i,r,c;return c=cun(n),null!=n.a&&ND(c,"category",n.a),!Sj(new Yl(n.d))&&(OZ(c,"knownOptions",i=new Sl),t=new Mg(i),XW(new Yl(n.d),t)),!Sj(n.g)&&(OZ(c,"supportedFeatures",r=new Sl),e=new Sg(r),XW(n.g,e)),c}(Yx(n,149));if(CO(n,229))return function(n){var t,e,i;return i=cun(n),!Sj(n.c)&&(OZ(i,"knownLayouters",e=new Sl),t=new Pg(e),XW(n.c,t)),i}(Yx(n,229));if(CO(n,23))return function(n){var t,e,i;return i=cun(n),null!=n.e&&ND(i,dxn,n.e),!!n.k&&ND(i,"type",d$(n.k)),!Sj(n.j)&&(e=new Sl,OZ(i,VNn,e),t=new Ig(e),XW(n.j,t)),i}(Yx(n,23));throw hp(new Qm(axn+Gun(new ay(x4(Gy(UKn,1),iEn,1,5,[n])))))}function Gon(n,t,e,i){var r,c;if(t.k==(bon(),Bzn))for(c=new $K(bA(u7(t).a.Kc(),new h));Vfn(c);)if((r=Yx(kV(c),17)).c.i.k==Bzn&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function zon(n,t,e,i){var r;this.b=i,this.e=n==(l0(),z3n),r=t[e],this.d=fR(Vot,[TEn,wSn],[177,25],16,[r.length,r.length],2),this.a=fR(Wot,[TEn,MTn],[48,25],15,[r.length,r.length],2),this.c=new $an(t,e)}function Uon(n){var t,e,i;for(n.k=new Cz((Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])).length,n.j.c.length),i=new pb(n.j);i.a=e)return nsn(n,t,i.p),!0;return!1}function Qon(n){var t;return 0!=(64&n.Db)?yon(n):(t=new SA(wNn),!n.a||yI(yI((t.a+=' "',t),n.a),'"'),yI(tj(yI(tj(yI(tj(yI(tj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function Yon(n,t,e){var i,r,c,a,u;for(u=dwn(n.e.Tg(),t),r=Yx(n.g,119),i=0,a=0;a0&&esn(n,c,e));t.p=0}function isn(n){var t;this.c=new ME,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new cx(t=Yx(Ak(D7n),9),Yx(eN(t,t.length),9),0),this.g=n.f}function rsn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i=0?n.Bh(r):Ehn(n,i)}else r9(n,e,i)}function osn(n){var t,e;if(e=null,t=!1,CO(n,204)&&(t=!0,e=Yx(n,204).a),t||CO(n,258)&&(t=!0,e=""+Yx(n,258).a),t||CO(n,483)&&(t=!0,e=""+Yx(n,483).a),!t)throw hp(new Gm(ixn));return e}function ssn(n,t){var e,i;if(n.f){for(;t.Ob();)if(CO(i=(e=Yx(t.Pb(),72)).ak(),99)&&0!=(Yx(i,18).Bb&MNn)&&(!n.e||i.Gj()!=Vrt||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}return t.Ob()}function hsn(n,t){var e,i;if(n.f){for(;t.Sb();)if(CO(i=(e=Yx(t.Ub(),72)).ak(),99)&&0!=(Yx(i,18).Bb&MNn)&&(!n.e||i.Gj()!=Vrt||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}return t.Sb()}function fsn(n,t,e){var i,r,c,a,u,o;for(o=dwn(n.e.Tg(),t),i=0,u=n.i,r=Yx(n.g,119),a=0;a=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)WG(this);this.b=t,this.a=null}function Esn(n,t){var e,i;t.a?function(n,t){var e;if(!uF(n.b,t.b))throw hp(new Ym("Invalid hitboxes for scanline constraint calculation."));(C4(t.b,Yx(function(n,t){return $k(Rnn(n.a,t,!0))}(n.b,t.b),57))||C4(t.b,Yx(function(n,t){return $k(Dnn(n.a,t,!0))}(n.b,t.b),57)))&&(oE(),t.b),n.a[t.b.f]=Yx(BN(n.b,t.b),57),(e=Yx(FN(n.b,t.b),57))&&(n.a[e.f]=t.b)}(n,t):(!!(e=Yx(BN(n.b,t.b),57))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=Yx(FN(n.b,t.b),57))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),RA(n.b,t.b))}function Tsn(n,t){var e,i;if(e=Yx(GB(n.b,t),124),Yx(Yx(_V(n.r,t),21),84).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((Ann(),nrt))&&Xdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Yx(Yx(_V(n.r,t),21),84).Kc();i.Ob();)r+=(e=Yx(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),hdn(n,t)==(Ytn(),eit)&&(i+=2*n.w),e.a.a=i}function Msn(n,t){var e,i;if(e=Yx(GB(n.b,t),124),Yx(Yx(_V(n.r,t),21),84).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((Ann(),nrt))&&Wdn(n,t),i=function(n,t){var e,i,r;for(r=0,i=Yx(Yx(_V(n.r,t),21),84).Kc();i.Ob();)r+=(e=Yx(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),hdn(n,t)==(Ytn(),eit)&&(i+=2*n.w),e.a.b=i}function Ssn(n,t){var e,i,r,c;for(c=new ip,i=new pb(t);i.a=0&&_N(n.substr(u,2),"//")?(o=Btn(n,u+=2,Wct,Vct),i=n.substr(u,o-u),u=o):null==f||u!=n.length&&(Lz(u,n.length),47==n.charCodeAt(u))||(a=!1,-1==(o=NA(n,gun(35),u))&&(o=n.length),i=n.substr(u,o-u),u=o);if(!e&&u0&&58==XB(h,h.length-1)&&(r=h,u=o)),u0&&(Lz(0,e.length),47!=e.charCodeAt(0))))throw hp(new Qm("invalid opaquePart: "+e));if(n&&(null==t||!fE(Rct,t.toLowerCase()))&&null!=e&&$7(e,Wct,Vct))throw hp(new Qm(EDn+e));if(n&&null!=t&&fE(Rct,t.toLowerCase())&&!function(n){if(null!=n&&n.length>0&&33==XB(n,n.length-1))try{return null==xsn(l$(n,0,n.length-1)).e}catch(n){if(!CO(n=j4(n),32))throw hp(n)}return!1}(e))throw hp(new Qm(EDn+e));if(!function(n){var t;return null==n||(t=n.length)>0&&(Lz(t-1,n.length),58==n.charCodeAt(t-1))&&!$7(n,Wct,Vct)}(i))throw hp(new Qm("invalid device: "+i));if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;te.a&&(i.Hc((dan(),ont))?r=(t.a-e.a)/2:i.Hc(hnt)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((dan(),lnt))?c=(t.b-e.b)/2:i.Hc(fnt)&&(c=t.b-e.b)),Pun(n,r,c)}function Gsn(n,t,e,i,r,c,a,u,o,s,h,f,l){CO(n.Cb,88)&&rhn(bV(Yx(n.Cb,88)),4),E2(n,e),n.f=a,D9(n,u),K9(n,o),x9(n,s),R9(n,h),l9(n,f),H9(n,l),s9(n,!0),_1(n,r),n.ok(c),a8(n,t),null!=i&&(n.i=null,J0(n,i))}function zsn(n){var t,e;if(n.f){for(;n.n>0;){if(CO(e=(t=Yx(n.k.Xb(n.n-1),72)).ak(),99)&&0!=(Yx(e,18).Bb&MNn)&&(!n.e||e.Gj()!=Vrt||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}return n.n>0}function Usn(n,t,e){if(n<0)return ngn(eEn,x4(Gy(UKn,1),iEn,1,5,[e,d9(n)]));if(t<0)throw hp(new Qm(rEn+t));return ngn("%s (%s) must not be greater than size (%s)",x4(Gy(UKn,1),iEn,1,5,[e,d9(n),d9(t)]))}function Xsn(n,t,e,i,r,c){var a,u,o;if(i-e<7)!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.ue(n[c-1],n[c])>0;--c)a=n[c],DF(n,c,n[c-1]),DF(n,c-1,a)}(t,e,i,c);else if(Xsn(t,n,u=e+r,o=u+((a=i+r)-u>>1),-r,c),Xsn(t,n,o,a,-r,c),c.ue(n[o-1],n[o])<=0)for(;e=i||t=0?n.sh(c,e):pbn(n,r,e)}else E7(n,i,r,e)}function Qsn(n){var t,e,i,r,c;if(e=Yx(n,49).qh())try{if(i=null,(t=Hln((mT(),aat),spn(null==(c=e).e?c:(!c.c&&(c.c=new xdn(0!=(256&c.f),c.i,c.a,c.d,0!=(16&c.f),c.j,c.g,null)),c.c))))&&(r=t.rh())&&(i=r.Wk(function(n){return vB(n),n}(e.e))),i&&i!=n)return Qsn(i)}catch(c){if(!CO(c=j4(c),60))throw hp(c)}return n}function Ysn(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?new Array:i).length)n.a.set(a,r);else if(c=q6(n,t,r))return c.ed(e);return DF(r,r.length,new zT(t,e)),++n.c,gq(n.b),null}function Jsn(n,t){var e;return _U(n.a),q_(n.a,(p2(),h6n),h6n),q_(n.a,f6n,f6n),oR(e=new fX,f6n,(m7(),g6n)),iI(jln(t,(_rn(),F6n)))!==iI((I6(),E6n))&&oR(e,f6n,w6n),oR(e,f6n,d6n),aC(n.a,e),Zmn(n.a,t)}function Zsn(n){if(!n)return yy(),M_n;var t=n.valueOf?n.valueOf():n;if(t!==n){var i=S_n[typeof t];return i?i(t):Z6(typeof t)}return n instanceof Array||n instanceof e.Array?new jl(n):new Ml(n)}function nhn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Yx(GB(n.p,i),244)).i).b=Rhn(r),c.a=Dhn(r),c.b=e.Math.max(c.b,a.a),c.b>a.a&&!t&&(c.b=a.a),c.c=-(c.b-a.a)/2,i.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}cvn(r),hvn(r)}function thn(n,t,i){var r,c,a;switch(a=n.o,(c=(r=Yx(GB(n.p,i),244)).i).b=Rhn(r),c.a=Dhn(r),c.a=e.Math.max(c.a,a.b),c.a>a.b&&!t&&(c.a=a.b),c.d=-(c.a-a.b)/2,i.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}cvn(r),hvn(r)}function ehn(n,t){var e,i,r,c;if(udn(),t.b<2)return!1;for(i=e=Yx(IX(c=Ztn(t,0)),8);c.b!=c.d.c;){if(r=Yx(IX(c),8),!s3(n,i)||!s3(n,r))return!1;i=r}return!(!s3(n,i)||!s3(n,e))}function ihn(n,t){var e,i,r,c,a;return e=q1(a=n,"x"),function(n,t){L1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new lg(t).a,e),i=q1(a,"y"),function(n,t){N1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new bg(t).a,i),r=q1(a,qNn),function(n,t){$1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new wg(t).a,r),c=q1(a,HNn),function(n,t){A1(n,null==t||ex((vB(t),t))||isNaN((vB(t),t))?0:(vB(t),t))}(new dg(t).a,c),c}function rhn(n,t){Gdn(n,t),0!=(1&n.b)&&(n.a.a=null),0!=(2&n.b)&&(n.a.f=null),0!=(4&n.b)&&(n.a.g=null,n.a.i=null),0!=(16&n.b)&&(n.a.d=null,n.a.e=null),0!=(8&n.b)&&(n.a.b=null),0!=(32&n.b)&&(n.a.j=null,n.a.c=null)}function chn(n){var t,e,i,r,c;if(null==n)return aEn;for(c=new J3(tEn,"[","]"),i=0,r=(e=n).length;i0)for(a=n.c.d,r=KO(yN(new QS((u=n.d.d).a,u.b),a),1/(i+1)),c=new QS(a.a,a.b),e=new pb(n.a);e.a($z(c+1,t.c.length),Yx(t.c[c+1],19)).a-i&&++u,eD(r,($z(c+u,t.c.length),Yx(t.c[c+u],19))),a+=($z(c+u,t.c.length),Yx(t.c[c+u],19)).a-i,++e;e=0?n._g(e,!0,!0):tfn(n,r,!0),153),Yx(i,215).ol(t)}function Thn(n){var t,i;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),i=oG(e.Math.floor(e.Math.log(n)/.6931471805599453)),(!t||n!=e.Math.pow(2,i))&&++i,i):h4(D3(n))}function Mhn(n,t){var e,i,r;return o4(i=new rin(n),t),b5(i,(Ojn(),sQn),t),b5(i,(gjn(),g0n),(Ran(),oit)),b5(i,xZn,(qen(),G7n)),Al(i,(bon(),_zn)),ZG(e=new Ion,i),whn(e,(Ikn(),qit)),ZG(r=new Ion,i),whn(r,Eit),i}function Shn(n){switch(n.g){case 0:return new zm((l0(),G3n));case 1:return new bf;case 2:return new yf;default:throw hp(new Qm("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function Phn(n,t){var e,i,r,c;for(n.c[t.p]=!0,eD(n.a,t),c=new pb(t.j);c.a=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=By(F2(lH(hH(X_(n.a),new Mn),new Sn)));return a>0?a+n.n.d+n.n.a:0}function Rhn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=By(F2(lH(hH(X_(n.a),new En),new Tn)));else{for(t=0,r=0,c=(i=vin(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function Khn(n){var t,e;return(e=new Ay).a+="e_",null!=(t=function(n){return 0!=n.b.c.length&&Yx(TR(n.b,0),70).a?Yx(TR(n.b,0),70).a:IH(n)}(n))&&(e.a+=""+t),n.c&&n.d&&(yI((e.a+=" ",e),krn(n.c)),yI(mI((e.a+="[",e),n.c.i),"]"),yI((e.a+=pIn,e),krn(n.d)),yI(mI((e.a+="[",e),n.d.i),"]")),e.a}function _hn(n){switch(n.g){case 0:return new df;case 1:return new gf;case 2:return new wf;case 3:return new pf;default:throw hp(new Qm("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function Fhn(n,t,i,r,c){var a;switch(a=0,c.g){case 1:a=e.Math.max(0,t.b+n.b-(i.b+r));break;case 3:a=e.Math.max(0,-n.b-r);break;case 2:a=e.Math.max(0,-n.a-r);break;case 4:a=e.Math.max(0,t.a+n.a-(i.a+r))}return a}function Bhn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=fcn(n))&&(TT(),t.Cj()==KDn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function Hhn(n,t){var e,i,r,c;if(kjn(n),0!=n.c||123!=n.a)throw hp(new wy(Kjn((GC(),Hxn))));if(c=112==t,i=n.d,(e=b$(n.i,125,i))<0)throw hp(new wy(Kjn((GC(),qxn))));return r=l$(n.i,i,e),n.d=e+1,bY(r,c,512==(512&n.e))}function qhn(n,t,e,i,r){var c,a,u,o;return iI(o=nL(n,Yx(r,56)))!==iI(r)?(u=Yx(n.g[e],72),_O(n,e,zan(n,0,c=VX(t,o))),gC(n.e)&&(Pan(a=Kq(n,9,c.ak(),r,o,i,!1),new yJ(n.e,9,n.c,u,c,i,!1)),vJ(a)),o):r}function Ghn(n,t){var e,i;try{return function(n,t){var e;return T$(!!(e=(vB(n),n).g)),vB(t),e(t)}(n.a,t)}catch(r){if(CO(r=j4(r),32)){try{if(i=ipn(t,nTn,Yjn),e=Ak(n.a),i>=0&&i=0?n._g(e,!0,!0):tfn(n,r,!0),153),Yx(i,215).ll(t);throw hp(new Qm(mNn+t.ne()+jNn))}function Uhn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(Lz(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)Lz(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function Xhn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=($5(x4(Gy(B7n,1),TEn,8,0,[c.i.n,c.n,c.a])).b+$5(x4(Gy(B7n,1),TEn,8,0,[a.i.n,a.n,a.a])).b)/2,i=c.j==(Ikn(),Eit)?new QS(t+c.i.c.c.a+e,r):new QS(t-e,r),A$(n.a,0,i)}function Whn(n){var t,e,i;for(t=null,e=W_(n0(x4(Gy(QKn,1),iEn,20,0,[(!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c)])));Vfn(e);)if(i=iun(Yx(kV(e),82)),t){if(t!=i)return!1}else t=i;return!0}function Vhn(n,t,e){var i;if(++n.j,t>=n.i)throw hp(new Hm(jxn+t+Exn+n.i));if(e>=n.i)throw hp(new Hm(Txn+e+Exn+n.i));return i=n.g[e],t!=e&&(t>16)>>16&16),e+=t=(n>>=t)-256>>16&8,e+=t=(n<<=t)-nMn>>16&4,(e+=t=(n<<=t)-MEn>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function Jhn(n){var t,e,i,r;for(UH(),Fqn=new ip,_qn=new rp,Kqn=new ip,!n.a&&(n.a=new m_(uct,n,10,11)),function(n){var t,e,i,r,c,a,u,o,s,f;for(t=new rp,a=new UO(n);a.e!=a.i.gc();){for(c=Yx(hen(a),33),e=new Qp,xB(_qn,c,e),f=new ut,i=Yx(kW(new SR(null,new nF(new $K(bA(fbn(c).a.Kc(),new h)))),iK(f,mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[(C6(),aBn)])))),83),i0(e,Yx(i.xc((TA(),!0)),14),new ot),r=Yx(kW(hH(Yx(i.xc(!1),15).Lc(),new st),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[aBn]))),15).Kc();r.Ob();)(s=_un(Yx(r.Pb(),79)))&&((u=Yx(eI(Dq(t.f,s)),21))||(u=Awn(s),Ysn(t.f,s,u)),C2(e,u));for(i=Yx(kW(new SR(null,new nF(new $K(bA(lbn(c).a.Kc(),new h)))),iK(f,mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[aBn])))),83),i0(e,Yx(i.xc(!0),14),new ht),o=Yx(kW(hH(Yx(i.xc(!1),15).Lc(),new ft),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[aBn]))),15).Kc();o.Ob();)(s=Fun(Yx(o.Pb(),79)))&&((u=Yx(eI(Dq(t.f,s)),21))||(u=Awn(s),Ysn(t.f,s,u)),C2(e,u))}}(t=n.a),r=new UO(t);r.e!=r.i.gc();)i=Yx(hen(r),33),-1==hJ(Fqn,i,0)&&(e=new ip,eD(Kqn,e),$tn(i,e));return Kqn}function Zhn(n,t){var i,r,c,a,u,o,s,h;for(h=ty(fL(Aun(t,(gjn(),W0n)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,o=1;o0?1:QI(isNaN(r),isNaN(0)))>=0^(o0(UAn),(e.Math.abs(o)<=UAn||0==o||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:QI(isNaN(o),isNaN(0)))>=0)?e.Math.max(o,r):(o0(UAn),(e.Math.abs(r)<=UAn||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:QI(isNaN(r),isNaN(0)))>0?e.Math.sqrt(o*o+r*r):-e.Math.sqrt(o*o+r*r))}(a=r.b,u=c.b))>=0?i:(o=fB(yN(new QS(u.c+u.b/2,u.d+u.a/2),new QS(a.c+a.b/2,a.d+a.a/2))),-(Ppn(a,u)-1)*o)}function tfn(n,t,e){var i,r,c;if(c=iyn((wsn(),wut),n.Tg(),t))return TT(),Yx(c,66).Oj()||(c=Bz(PJ(wut,c))),r=Yx((i=n.Yg(c))>=0?n._g(i,!0,!0):tfn(n,c,!0),153),Yx(r,215).hl(t,e);throw hp(new Qm(mNn+t.ne()+jNn))}function efn(n,t,e,i){var r,c,a,u,o;if(r=n.d[t])if(c=r.g,o=r.i,null!=i){for(u=0;u>5),15,1))[e]=1<1;t>>=1)0!=(1&t)&&(i=uZ(i,e)),e=1==e.d?uZ(e,e):new Mtn(fpn(e.a,e.d,VQ(Wot,MTn,25,e.d<<1,15,1)));return uZ(i,e)}(n,t)}function rfn(n){var t,e,i;for(WE(),this.b=szn,this.c=(t9(),tet),this.f=(XE(),czn),this.a=n,Yy(this,new It),qbn(this),i=new pb(n.b);i.a=null.jm()?(abn(n),ufn(n)):t.Ob()}function ofn(n,t,i){var r,c,a,u;if(!(u=i)&&(u=xD(new am,0)),run(u,rIn,1),$yn(n.c,t),1==(a=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(n.c=n.d,l=null==(b=hL(Aun(t,(gjn(),C0n))))||(vB(b),b),c=Yx(Aun(t,(Ojn(),bQn)),21).Hc((edn(),SVn)),e=!((r=Yx(Aun(t,g0n),98))==(Ran(),uit)||r==sit||r==oit),!l||!e&&c)f=new ay(x4(Gy(Dzn,1),bIn,37,0,[t]));else{for(h=new pb(t.a);h.at.a&&(i.Hc((dan(),ont))?n.c.a+=(e.a-t.a)/2:i.Hc(hnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((dan(),lnt))?n.c.b+=(e.b-t.b)/2:i.Hc(fnt)&&(n.c.b+=e.b-t.b)),Yx(Aun(n,(Ojn(),bQn)),21).Hc((edn(),SVn))&&(e.a>t.a||e.b>t.b))for(u=new pb(n.a);u.a0?G7(e):O9(G7(e)),Aen(t,k0n,r)}function mfn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&JC(a,new Ur),r=a.c.length/2|0,i=0;i=0;)i=e[c],a.rl(i.ak())&&fY(r,i);!Xkn(n,r)&&gC(n.e)&&Xp(n,t.$j()?Kq(n,6,t,(XH(),TFn),null,-1,!1):Kq(n,t.Kj()?2:1,t,null,null,-1,!1))}function jfn(){var n,t;for(jfn=O,kFn=VQ(EFn,TEn,91,32,0,1),jFn=VQ(EFn,TEn,91,32,0,1),n=1,t=0;t<=18;t++)kFn[t]=Utn(n),jFn[t]=Utn(GK(n,t)),n=e7(n,5);for(;tc)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function Tfn(n){var t,e,i,r,c,a;for(lz(),e=new bW,i=new pb(n.e.b);i.a1?n.e*=ty(n.a):n.f/=ty(n.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new nbn(Yx(t.Pb(),561),n.e,n.f),eD(n.g,e)}(n),gtn(n),function(n){var t,i,r,c,a,u,o,s,h,f;for(i=function(n){var t,i,r,c,a,u,o,s,h,f;for(i=n.o,t=n.p,u=Yjn,c=nTn,o=Yjn,a=nTn,h=0;h=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(Yx(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&K3(n,new p_(n,9,e,c,r)),r):c}function Hfn(n){var t,e,i,r,c,a,u;for(c=0,r=n.f.e,e=0;e>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=r3(n)))return!1;e=i==r?-e:~e}return 0!=(e&t)}function Xfn(n,t){var e,i,r,c,a,u,o;if(c=t.e)for(e=Bfn(c),i=Yx(n.g,674),a=0;a>16)),15).Xc(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?HTn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?HTn:0,c=i?BTn:0,r=e>>t-44),rO(r&BTn,c&BTn,a&HTn)}function eln(n){var t,i,r,c,a,u;for(this.c=new ip,this.d=n,r=JTn,c=JTn,t=ZTn,i=ZTn,u=Ztn(n,0);u.b!=u.d.c;)a=Yx(IX(u),8),r=e.Math.min(r,a.a),c=e.Math.min(c,a.b),t=e.Math.max(t,a.a),i=e.Math.max(i,a.b);this.a=new mH(r,c,t-r,i-c)}function iln(n,t){var e,i,r,c;for(i=new pb(n.b);i.a0&&CO(t,42)&&(n.a.qj(),c=null==(o=(s=Yx(t,42)).cd())?0:W5(o),a=KL(n.a,c),e=n.a.d[a]))for(i=Yx(e.g,367),h=e.i,u=0;u=2)for(t=fL((i=c.Kc()).Pb());i.Ob();)a=t,t=fL(i.Pb()),r=e.Math.min(r,(vB(t),t-(vB(a),a)));return r}function gln(n,t){var e,i,r,c,a;VW(i=new ME,t,i.c.b,i.c);do{for(S$(0!=i.b),e=Yx(VZ(i,i.a.a),86),n.b[e.g]=1,c=Ztn(e.d,0);c.b!=c.d.c;)a=(r=Yx(IX(c),188)).c,1==n.b[a.g]?KD(n.a,r):2==n.b[a.g]?n.b[a.g]=1:VW(i,a,i.c.b,i.c)}while(0!=i.b)}function pln(n,t){var e,i,r;if(iI(t)===iI(MF(n)))return!0;if(!CO(t,15))return!1;if(i=Yx(t,15),(r=n.gc())!=i.gc())return!1;if(CO(i,54)){for(e=0;e0&&(r=e),a=new pb(n.f.e);a.a0&&c0):c<0&&-c0)}function Oln(n,t,e,i){var r,c,a,u,o,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new pb(n.c);s.a=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function Dln(n,t){var e,i,r,c,a,u;for(c=(1==t?ozn:uzn).a.ec().Kc();c.Ob();)for(r=Yx(c.Pb(),103),u=Yx(_V(n.f.c,r),21).Kc();u.Ob();)switch(a=Yx(u.Pb(),46),i=Yx(a.b,81),e=Yx(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function Rln(n,t){var e,i,r,c,a,u,o,s,h;for(s=-1,h=0,u=0,o=(a=n).length;u0&&++h;++s}return h}function Kln(n){var t;return(t=new SA(Nk(n.gm))).a+="@",yI(t,(W5(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",mI(t,n.qh()),n.$g()&&(t.a+=" eClass: ",mI(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",mI(t,n.$g()),t.a+=")"),t.a}function _ln(n){var t,e,i;if(n.e)throw hp(new Ym((sL(OBn),UMn+OBn.k+XMn)));for(n.d==(t9(),tet)&&ekn(n,Ztt),e=new pb(n.a.a);e.a=0)return r;for(c=1,a=new pb(t.j);a.a0&&t.ue(($z(r-1,n.c.length),Yx(n.c[r-1],10)),c)>0;)QW(n,r,($z(r-1,n.c.length),Yx(n.c[r-1],10))),--r;$z(r,n.c.length),n.c[r]=c}e.a=new rp,e.b=new rp}function zln(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==(Ikn(),Tit)||t==Eit?(qZ(Yx(T5(n),15),(Frn(),Ret)),qZ(Yx(T5(n),15),Ket)):(qZ(Yx(T5(n),15),(Frn(),Ket)),qZ(Yx(T5(n),15),Ret));else for(i=new VB(n);i.a!=i.b;)qZ(Yx(w8(i),15),e)}function Uln(n,t){var e,i,r,c,a,u;for(a=new JU(i=Jx(new $g(n)),i.c.length),u=new JU(r=Jx(new $g(t)),r.c.length),c=null;a.b>0&&u.b>0&&(S$(a.b>0),e=Yx(a.a.Xb(a.c=--a.b),33),S$(u.b>0),e==Yx(u.a.Xb(u.c=--u.b),33));)c=e;return c}function Xln(n,t){var i,r,c,a;return c=n.a*kMn+1502*n.b,a=n.b*kMn+11,c+=i=e.Math.floor(a*jMn),a-=i*EMn,c%=EMn,n.a=c,n.b=a,t<=24?e.Math.floor(n.a*GFn[t]):((r=n.a*(1<=2147483648&&(r-=oMn),r)}function Wln(n,t,e){var i,r,c,a;Wz(n,t)>Wz(n,e)?(i=i7(e,(Ikn(),Eit)),n.d=i.dc()?0:tR(Yx(i.Xb(0),11)),a=i7(t,qit),n.b=a.dc()?0:tR(Yx(a.Xb(0),11))):(r=i7(e,(Ikn(),qit)),n.d=r.dc()?0:tR(Yx(r.Xb(0),11)),c=i7(t,Eit),n.b=c.dc()?0:tR(Yx(c.Xb(0),11)))}function Vln(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(hRn))&&null!=(a=lL(ynn((!t.b&&(t.b=new z$((xjn(),Dat),out,t)),t.b),"conversionDelegates")))){for(u=new ip,r=0,c=(i=Ogn(a,"\\w+")).length;r>1,n.k=i-1>>1}(this,this.d,this.c),function(n){var t,e,i,r,c,a,u;for(e=_C(n.e),c=KO(N$(dO(KC(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,u=0;u0&&tyn(this,c)}function tbn(n,t,e,i,r,c){var a,u,o;if(!r[t.b]){for(r[t.b]=!0,!(a=i)&&(a=new XV),eD(a.e,t),o=c[t.b].Kc();o.Ob();)(u=Yx(o.Pb(),282)).d!=e&&u.c!=e&&(u.c!=t&&tbn(n,u.c,t,a,r,c),u.d!=t&&tbn(n,u.d,t,a,r,c),eD(a.c,u),S4(a.d,u.b));return a}return null}function ebn(n){var t,e,i;for(t=0,e=new pb(n.e);e.a=2}function ibn(n){var t,e;try{return null==n?aEn:I7(n)}catch(i){if(CO(i=j4(i),102))return t=i,e=Nk(V5(n))+"@"+(oE(),(Nen(n)>>>0).toString(16)),Ltn(O4(),(_E(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+Nk(t.gm)+">";throw hp(i)}}function rbn(n){switch(n.g){case 0:return new af;case 1:return new nf;case 2:return new cT;case 3:return new Cc;case 4:return new lN;case 5:return new uf;default:throw hp(new Qm("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function cbn(n,t,e){var i,r,c;for(c=new pb(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&KD(t,i.b));for(r=new pb(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&KD(e,i.a))}function abn(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),fY(n,n.d),n.c))return n.f;if(i=(t=Yx(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,fY(n,e);else for(n.d=null;!t.Ob()&&(DF(n.g,--n.i,null),0!=n.i);)t=Yx(n.g[n.i-1],47);return i}function ubn(n,t,i,r){var c,a,u;for(Al(c=new rin(n),(bon(),Fzn)),b5(c,(Ojn(),CQn),t),b5(c,BQn,r),b5(c,(gjn(),g0n),(Ran(),oit)),b5(c,TQn,t.c),b5(c,MQn,t.d),Bwn(t,c),u=e.Math.floor(i/2),a=new pb(c.j);a.a=0?n._g(i,!0,!0):tfn(n,c,!0),153),Yx(r,215).ml(t,e)}function vbn(n,t,e){run(e,"Eades radial",1),e.n&&t&&nU(e,RU(t),(P6(),jrt)),n.d=Yx(jln(t,(eL(),s6n)),33),n.c=ty(fL(jln(t,(_rn(),Q6n)))),n.e=Ven(Yx(jln(t,Y6n),293)),n.a=function(n){switch(n.g){case 0:return new Ga;case 1:return new za;default:throw hp(new Qm(y$n+(null!=n.f?n.f:""+n.g)))}}(Yx(jln(t,Z6n),426)),n.b=function(n){switch(n.g){case 1:return new _a;case 2:return new Fa;case 3:return new Ka;case 0:return null;default:throw hp(new Qm(y$n+(null!=n.f?n.f:""+n.g)))}}(Yx(jln(t,U6n),340)),function(n){var t,e,i,r,c;if(i=0,r=wPn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,qgn(n,n.d,0,0,w$n,e),(c=n.b.ig(n.d))0),c.a.Xb(c.c=--c.b),ZL(c,r),S$(c.b0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(ccn(n,t))throw hp(new Qm(CNn+Mfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Yrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,6,i)),(i=$L(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,6,t,t))}function Mbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(ccn(n,t))throw hp(new Qm(CNn+ogn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Zrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,9,i)),(i=LL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,9,t,t))}function Sbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(ccn(n,t))throw hp(new Qm(CNn+bmn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ucn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,12,i)),(i=AL(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,3,t,t))}function Pbn(n){var t,e,i,r,c;if(i=fcn(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(CO(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=Yx(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(t){if(!CO(t=j4(t),78))throw hp(t);n.g=null}n.i=r}return n.g}return null}function Ibn(n){var t;return eD(t=new ip,new ZT(new QS(n.c,n.d),new QS(n.c+n.b,n.d))),eD(t,new ZT(new QS(n.c,n.d),new QS(n.c,n.d+n.a))),eD(t,new ZT(new QS(n.c+n.b,n.d+n.a),new QS(n.c+n.b,n.d))),eD(t,new ZT(new QS(n.c+n.b,n.d+n.a),new QS(n.c,n.d+n.a))),t}function Cbn(n,t,e,i){var r,c,a;if(a=Hcn(t,e),i.c[i.c.length]=t,-1==n.j[a.p]||2==n.j[a.p]||n.a[t.p])return i;for(n.j[a.p]=-1,c=new $K(bA(a7(a).a.Kc(),new h));Vfn(c);)if(!ZW(r=Yx(kV(c),17))&&(ZW(r)||r.c.i.c!=r.d.i.c)&&r!=t)return Cbn(n,r,a,i);return i}function Obn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=Yx(r.Pb(),79),!Yx(BF(n.b,i),266)&&(IG(Kun(i))==IG(Bun(i))?Wwn(n,i,e):Kun(i)==IG(Bun(i))?null==BF(n.c,i)&&null!=BF(n.b,Bun(i))&&Gyn(n,i,e,!1):null==BF(n.d,i)&&null!=BF(n.b,Kun(i))&&Gyn(n,i,e,!0))}function Abn(n,t){var e,i,r,c,a,u,o;for(r=n.Kc();r.Ob();)for(i=Yx(r.Pb(),10),ZG(u=new Ion,i),whn(u,(Ikn(),Eit)),b5(u,(Ojn(),DQn),(TA(),!0)),a=t.Kc();a.Ob();)c=Yx(a.Pb(),10),ZG(o=new Ion,c),whn(o,qit),b5(o,DQn,!0),b5(e=new jq,DQn,!0),YG(e,u),QG(e,o)}function $bn(n,t,e,i){var r,c,a,u;r=Bnn(n,t,e),c=Bnn(n,e,t),a=Yx(BF(n.c,t),112),u=Yx(BF(n.c,e),112),r0&&w.a<=0){o.c=VQ(UKn,iEn,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=VQ(UKn,iEn,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=Yx(TR(o,Uen(r,o.c.length)),112),fG(m.a,a),a.g=h++,evn(a,t,e,i),o.c=VQ(UKn,iEn,1,0,5,1))}for(g=n.c.length+1,l=new pb(n);l.ai.b.g&&(c.c[c.c.length]=i);return c}function xbn(){xbn=O,Q8n=new FS("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),V8n=new FS("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),J8n=new FS("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),Y8n=new FS("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),Z8n=new FS("WHOLE_DRAWING",4)}function Dbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(ccn(n,t))throw hp(new Qm(CNn+ugn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ocn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=men(t,n,10,i)),(i=vN(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,11,t,t))}function Rbn(n,t,e){return udn(),(!s3(n,t)||!s3(n,e))&&(nkn(new QS(n.c,n.d),new QS(n.c+n.b,n.d),t,e)||nkn(new QS(n.c+n.b,n.d),new QS(n.c+n.b,n.d+n.a),t,e)||nkn(new QS(n.c+n.b,n.d+n.a),new QS(n.c,n.d+n.a),t,e)||nkn(new QS(n.c,n.d+n.a),new QS(n.c,n.d),t,e))}function Kbn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e>16!=7&&t){if(ccn(n,t))throw hp(new Qm(CNn+Qon(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Jrn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Yx(t,49).gh(n,1,Yrt,i)),(i=kK(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,7,t,t))}function Wbn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(ccn(n,t))throw hp(new Qm(CNn+o9(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?tcn(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Yx(t,49).gh(n,0,ect,i)),(i=jK(n,t,i))&&i.Fi()}else 0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,3,t,t))}function Vbn(n,t){var e,i,r,c,a,u,o,s,h;return jfn(),t.d>n.d&&(u=n,n=t,t=u),t.d<63?function(n,t){var e,i,r,c,a,u,o,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=WR(o=e7(Gz(n.a[0],uMn),Gz(t.a[0],uMn))),0==(s=WR(UK(o,32)))?new wQ(a,h):new C_(a,2,x4(Gy(Wot,1),MTn,25,15,[h,s]))):(Y8(n.a,e,t.a,i,r=VQ(Wot,MTn,25,c,15,1)),SU(u=new C_(a,c,r)),u)}(n,t):(s=yV(n,a=(-2&n.d)<<4),h=yV(t,a),i=Evn(n,mV(s,a)),r=Evn(t,mV(h,a)),o=Vbn(s,h),e=Vbn(i,r),c=mV(c=Smn(Smn(c=Vbn(Evn(s,i),Evn(r,h)),o),e),a),Smn(Smn(o=mV(o,a<<1),c),e))}function Qbn(n,t,e){var i,r,c,a,u;for(a=V8(n,e),u=VQ(Gzn,kIn,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)ny(hL(Aun(r=Yx(c.Pb(),11),(Ojn(),gQn))))&&(u[i++]=Yx(Aun(r,RQn),10));if(i=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!ny(hL(Aun(t.j,(Ojn(),lQn))))&&!ny(hL(Aun(t.j,(Ojn(),qQn))))),c|=t.q._f(u,r,e),c|=zdn(n,u[r],e,i);return __(n.c,t),c}function nwn(n,t,e){var i,r,c,a,u,o,s,h;for(s=0,h=(o=tX(n.j)).length;s1&&(n.a=!0),hK(Yx(e.b,65),mN(dO(Yx(t.b,65).c),KO(yN(dO(Yx(e.b,65).a),Yx(t.b,65).a),r))),mz(n,t),iwn(n,e)}function rwn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}XH(),JC(n.j,new bi)}function awn(n,t){var e,i,r,c,a,u,o,s,h;for(u=t.j,a=t.g,o=Yx(TR(u,u.c.length-1),113),$z(0,u.c.length),s=srn(n,a,o,h=Yx(u.c[0],113)),c=1;cs&&(o=e,h=r,s=i);t.a=h,t.c=o}function uwn(n){if(!n.a.d||!n.a.e)throw hp(new Ym((sL(eHn),eHn.k+" must have a source and target "+(sL(iHn),iHn.k+" specified."))));if(n.a.d==n.a.e)throw hp(new Ym("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return WA(n.a.d.g,n.a),WA(n.a.e.b,n.a),n.a}function own(n,t,e){var i,r,c,a,u,o;if(i=0,0!=t.b&&0!=e.b){c=Ztn(t,0),a=Ztn(e,0),u=ty(fL(IX(c))),o=ty(fL(IX(a))),r=!0;do{if(u>o-n.b&&uo-n.a&&ut.a&&(i.Hc((dan(),ont))?n.c.a+=(e.a-t.a)/2:i.Hc(hnt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((dan(),lnt))?n.c.b+=(e.b-t.b)/2:i.Hc(fnt)&&(n.c.b+=e.b-t.b)),Yx(Aun(n,(Ojn(),bQn)),21).Hc((edn(),SVn))&&(e.a>t.a||e.b>t.b))for(a=new pb(n.a);a.a0&&++l;++f}return l}function dwn(n,t){var e,i,r,c;return TT(),t?t==(ayn(),Zut)||(t==xut||t==Lut||t==Nut)&&n!=$ut?new ykn(n,t):((e=(i=Yx(t,677)).pk())||(nH(PJ((wsn(),wut),t)),e=i.pk()),!e.i&&(e.i=new rp),!(r=Yx(eI(Dq((c=e.i).f,n)),1942))&&xB(c,n,r=new ykn(n,t)),r):kut}function gwn(n,t){var e,i,r,c,a,u,o,s;for(u=Yx(Aun(n,(Ojn(),CQn)),11),o=$5(x4(Gy(B7n,1),TEn,8,0,[u.i.n,u.n,u.a])).a,s=n.i.n.b,r=0,c=(i=CU(n.e)).length;r0&&(c+=(a=Yx(TR(this.b,0),167)).o,r+=a.p),c*=2,r*=2,t>1?c=oG(e.Math.ceil(c*t)):r=oG(e.Math.ceil(r/t)),this.a=new hnn(c,r)}function Mwn(n,t,i,r,c,a){var u,o,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=Yx(BF(n.f,t.A),57)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,i.q&&i.o?(s=(b=Yx(BF(n.f,i.C),57)).d.c,++f):s=i.a.c,w=d+(o=(s-d)/e.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(u=t[a],o=i==(Ikn(),Eit)?r?i7(u,i):I3(i7(u,i)):r?I3(i7(u,i)):i7(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=Yx(f.Pb(),11),n.d[h.p]=s++;S4(e,o)}}function Pwn(n,t,e){var i,r,c,a,u,o,s,h;for(c=ty(fL(n.b.Kc().Pb())),s=ty(fL(function(n){var t;if(n){if((t=n).dc())throw hp(new Kp);return t.Xb(t.gc()-1)}return Iz(n.Kc())}(t.b))),i=KO(dO(n.a),s-e),r=KO(dO(t.a),e-c),KO(h=mN(i,r),1/(s-c)),this.a=h,this.b=new ip,u=!0,(a=n.b.Kc()).Pb();a.Ob();)o=ty(fL(a.Pb())),u&&o-e>YAn&&(this.b.Fc(e),u=!1),this.b.Fc(o);u&&this.b.Fc(e)}function Iwn(n){var t,i,r,c;if(function(n,t){var i,r,c,a,u,o,s;for(c=VQ(Wot,MTn,25,n.e.a.c.length,15,1),u=new pb(n.e.a);u.a0){for(oy(n.c);Yfn(n,Yx(Hz(new pb(n.e.a)),121))>5,t&=31,i>=n.d)return n.e<0?(bdn(),lFn):(bdn(),pFn);if(c=n.d-i,function(n,t,e,i,r){var c,a,u;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}}(r=VQ(Wot,MTn,25,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t!=0){for(e=0;e=0)&&(!(e=iyn((wsn(),wut),r,t))||((i=e.Zj())>1||-1==i)&&3!=TB(PJ(wut,e))))}function Nwn(n,t,e,i){var r,c,a,u,o;return u=iun(Yx(c1((!t.b&&(t.b=new AN(Zrt,t,4,7)),t.b),0),82)),o=iun(Yx(c1((!t.c&&(t.c=new AN(Zrt,t,5,8)),t.c),0),82)),IG(u)==IG(o)||XZ(o,u)?null:(a=EG(t))==e?i:(c=Yx(BF(n.a,a),10))&&(r=c.e)?r:null}function xwn(n,t,e){var i,r,c,a,u;if((c=n[function(n,t){return n?t-1:0}(e,n.length)])[0].k==(bon(),_zn))for(r=Zy(e,c.length),u=t.j,i=0;i>24}(n));break;case 2:n.g=k4(function(n){if(2!=n.p)throw hp(new Lp);return WR(n.f)&fTn}(n));break;case 3:n.g=function(n){if(3!=n.p)throw hp(new Lp);return n.e}(n);break;case 4:n.g=new ib(function(n){if(4!=n.p)throw hp(new Lp);return n.e}(n));break;case 6:n.g=ytn(function(n){if(6!=n.p)throw hp(new Lp);return n.f}(n));break;case 5:n.g=d9(function(n){if(5!=n.p)throw hp(new Lp);return WR(n.f)}(n));break;case 7:n.g=g9(function(n){if(7!=n.p)throw hp(new Lp);return WR(n.f)<<16>>16}(n))}return n.g}function Kwn(n){if(null==n.n)switch(n.p){case 0:n.n=function(n){if(0!=n.p)throw hp(new Lp);return hI(n.k,0)}(n)?(TA(),L_n):(TA(),$_n);break;case 1:n.n=iZ(function(n){if(1!=n.p)throw hp(new Lp);return WR(n.k)<<24>>24}(n));break;case 2:n.n=k4(function(n){if(2!=n.p)throw hp(new Lp);return WR(n.k)&fTn}(n));break;case 3:n.n=function(n){if(3!=n.p)throw hp(new Lp);return n.j}(n);break;case 4:n.n=new ib(function(n){if(4!=n.p)throw hp(new Lp);return n.j}(n));break;case 6:n.n=ytn(function(n){if(6!=n.p)throw hp(new Lp);return n.k}(n));break;case 5:n.n=d9(function(n){if(5!=n.p)throw hp(new Lp);return WR(n.k)}(n));break;case 7:n.n=g9(function(n){if(7!=n.p)throw hp(new Lp);return WR(n.k)<<16>>16}(n))}return n.n}function _wn(n){var t,e,i,r,c,a;for(r=new pb(n.a.a);r.a0&&(i[0]+=n.d,u-=i[0]),i[2]>0&&(i[2]+=n.d,u-=i[2]),a=e.Math.max(0,u),i[1]=e.Math.max(i[1],u),SV(n,cHn,c.c+r.b+i[0]-(i[1]-u)/2,i),t==cHn&&(n.c.b=a,n.c.c=c.c+r.b+(a-u)/2)}function Gwn(){this.c=VQ(Jot,rMn,25,(Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])).length,15,1),this.b=VQ(Jot,rMn,25,x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit]).length,15,1),this.a=VQ(Jot,rMn,25,x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit]).length,15,1),HT(this.c,JTn),HT(this.b,ZTn),HT(this.a,ZTn)}function zwn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=VQ(Wot,MTn,25,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=VQ(Wot,MTn,25,i+2,15,1),smn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||xln(n)}}function Uwn(n,t,e){var i,r,c,a,u,o;if(!MX(t)){for(run(o=J2(e,(CO(t,14)?Yx(t,14).gc():FX(t.Kc()))/n.a|0),a$n,1),u=new Ca,a=0,c=t.Kc();c.Ob();)i=Yx(c.Pb(),86),u=n0(x4(Gy(QKn,1),iEn,20,0,[u,new Dd(i)])),a1;)tdn(r,r.i-1);return i}function Jwn(n,t){var e,i,r,c,a,u;for(e=new ep,r=new pb(n.b);r.an.d[a.p]&&(e+=zW(n.b,c),OX(n.a,d9(c)));for(;!ry(n.a);)eZ(n.b,Yx($_(n.a),19).a)}return e}function ndn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new m_(uct,t,10,11)),t.a).i,r=new UO((!t.a&&(t.a=new m_(uct,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=Yx(hen(r),33)).a&&(i.a=new m_(uct,i,10,11)),i.a).i||(c+=ndn(n,i,!1));if(e)for(a=IG(t);a;)c+=(!a.a&&(a.a=new m_(uct,a,10,11)),a.a).i,a=IG(a);return c}function tdn(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=Orn(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e),c):(c=Orn(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi(),c)}function edn(){edn=O,TVn=new YM("COMMENTS",0),SVn=new YM("EXTERNAL_PORTS",1),PVn=new YM("HYPEREDGES",2),IVn=new YM("HYPERNODES",3),CVn=new YM("NON_FREE_PORTS",4),OVn=new YM("NORTH_SOUTH_PORTS",5),$Vn=new YM(cCn,6),EVn=new YM("CENTER_LABELS",7),MVn=new YM("END_LABELS",8),AVn=new YM("PARTITIONS",9)}function idn(n){var t,e,i,r,c;for(r=new ip,t=new kR((!n.a&&(n.a=new m_(uct,n,10,11)),n.a)),i=new $K(bA(lbn(n).a.Kc(),new h));Vfn(i);)CO(c1((!(e=Yx(kV(i),79)).b&&(e.b=new AN(Zrt,e,4,7)),e.b),0),186)||(c=iun(Yx(c1((!e.c&&(e.c=new AN(Zrt,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function rdn(n){var t,e,i,r,c;for(r=new Qp,t=new kR((!n.a&&(n.a=new m_(uct,n,10,11)),n.a)),i=new $K(bA(lbn(n).a.Kc(),new h));Vfn(i);)CO(c1((!(e=Yx(kV(i),79)).b&&(e.b=new AN(Zrt,e,4,7)),e.b),0),186)||(c=iun(Yx(c1((!e.c&&(e.c=new AN(Zrt,e,5,8)),e.c),0),82)),t.a._b(c)||r.a.zc(c,r));return r}function cdn(n,t){var i,r,c;IG(n)&&(c=Yx(Aun(t,(gjn(),n0n)),174),iI(jln(n,g0n))===iI((Ran(),lit))&&Aen(n,g0n,fit),dT(),r=hkn(new Xm(IG(n)),new e$(IG(n)?new Xm(IG(n)):null,n),!1,!0),n2(c,(Ann(),Yit)),(i=Yx(Aun(t,e0n),8)).a=e.Math.max(r.a,i.a),i.b=e.Math.max(r.b,i.b))}function adn(){adn=O,tWn=new kH(NSn,0,(Ikn(),Tit),Tit),rWn=new kH(DSn,1,Bit,Bit),nWn=new kH(xSn,2,Eit,Eit),uWn=new kH(RSn,3,qit,qit),iWn=new kH("NORTH_WEST_CORNER",4,qit,Tit),eWn=new kH("NORTH_EAST_CORNER",5,Tit,Eit),aWn=new kH("SOUTH_WEST_CORNER",6,Bit,qit),cWn=new kH("SOUTH_EAST_CORNER",7,Eit,Bit)}function udn(){udn=O,_7n=x4(Gy(Qot,1),tMn,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),e.Math.pow(2,-65)}function odn(n,t){var e,i,r,c,a;if(0==n.c.length)return new mP(d9(0),d9(0));for(e=($z(0,n.c.length),Yx(n.c[0],11)).j,a=0,c=t.g,i=t.g+1;a=h&&(s=r);s&&(f=e.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function hdn(n,t){var e;switch(e=null,t.g){case 1:n.e.Xe((Cjn(),gtt))&&(e=Yx(n.e.We(gtt),249));break;case 3:n.e.Xe((Cjn(),ptt))&&(e=Yx(n.e.We(ptt),249));break;case 2:n.e.Xe((Cjn(),dtt))&&(e=Yx(n.e.We(dtt),249));break;case 4:n.e.Xe((Cjn(),vtt))&&(e=Yx(n.e.We(vtt),249))}return!e&&(e=Yx(n.e.We((Cjn(),btt)),249)),e}function fdn(n,t,e){var i,r,c,a,u,o;for(t.p=1,r=t.c,o=inn(t,(h0(),i3n)).Kc();o.Ob();)for(i=new pb(Yx(o.Pb(),11).g);i.a$$n?JC(s,n.b):r<=$$n&&r>L$n?JC(s,n.d):r<=L$n&&r>N$n?JC(s,n.c):r<=N$n&&JC(s,n.a),a=ldn(n,s,a);return c}function bdn(){var n;for(bdn=O,bFn=new wQ(1,1),dFn=new wQ(1,10),pFn=new wQ(0,0),lFn=new wQ(-1,1),wFn=x4(Gy(EFn,1),TEn,91,0,[pFn,bFn,new wQ(1,2),new wQ(1,3),new wQ(1,4),new wQ(1,5),new wQ(1,6),new wQ(1,7),new wQ(1,8),new wQ(1,9),dFn]),gFn=VQ(EFn,TEn,91,32,0,1),n=0;n1&&(i=new QS(r,e.b),KD(t.a,i)),r0(t.a,x4(Gy(B7n,1),TEn,8,0,[f,h]))}function ydn(n){uT(n,new tun(rk(nk(ik(ek(new du,nNn),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Qu))),DU(n,nNn,fPn,Wit),DU(n,nNn,LPn,15),DU(n,nNn,xPn,d9(0)),DU(n,nNn,hPn,OPn)}function kdn(){var n,t,e,i,r,c;for(kdn=O,fot=VQ(Yot,LNn,25,255,15,1),lot=VQ(Xot,sTn,25,16,15,1),t=0;t<255;t++)fot[t]=-1;for(e=57;e>=48;e--)fot[e]=e-48<<24>>24;for(i=70;i>=65;i--)fot[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)fot[r]=r-97+10<<24>>24;for(c=0;c<10;c++)lot[c]=48+c&fTn;for(n=10;n<=15;n++)lot[n]=65+n-10&fTn}function jdn(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u=0;--i)for(t=e[i],r=0;r>19!=0)return"-"+Mdn(h5(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=Jmn(e,gV(UTn),!0),t=""+rj(P_n),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function Sdn(n,t,i,r){var c,a,u,o;if(FX((Ax(),new $K(bA(a7(t).a.Kc(),new h))))>=n.a)return-1;if(!Ban(t,i))return-1;if(MX(Yx(r.Kb(t),20)))return 1;for(c=0,u=Yx(r.Kb(t),20).Kc();u.Ob();){if(-1==(o=Sdn(n,(a=Yx(u.Pb(),17)).c.i==t?a.d.i:a.c.i,i,r)))return-1;if((c=e.Math.max(c,o))>n.c-1)return-1}return c+1}function Pdn(n,t){var e,i,r,c,a,u;if(iI(t)===iI(n))return!0;if(!CO(t,15))return!1;if(i=Yx(t,15),u=n.gc(),i.gc()!=u)return!1;if(a=i.Kc(),n.ni()){for(e=0;e0)if(n.qj(),null!=t){for(c=0;c0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=Ayn(new gF(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}(n,t,r),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new ip,f=new pb(n.b);f.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw hp(new Iy("Invalid hexadecimal"))}}function Adn(n,t,e){var i,r,c,a;for(run(e,"Processor order nodes",2),n.a=ty(fL(Aun(t,(cln(),V5n)))),r=new ME,a=Ztn(t.b,0);a.b!=a.d.c;)ny(hL(Aun(c=Yx(IX(a),86),(ryn(),C5n))))&&VW(r,c,r.c.b,r.c);S$(0!=r.b),Omn(n,i=Yx(r.a.a.c,86)),!e.b&&q0(e,1),agn(n,i,0-ty(fL(Aun(i,(ryn(),k5n))))/2,0),!e.b&&q0(e,1),Ron(e)}function $dn(){$dn=O,YBn=new aM("SPIRAL",0),UBn=new aM("LINE_BY_LINE",1),XBn=new aM("MANHATTAN",2),zBn=new aM("JITTER",3),VBn=new aM("QUADRANTS_LINE_BY_LINE",4),QBn=new aM("QUADRANTS_MANHATTAN",5),WBn=new aM("QUADRANTS_JITTER",6),GBn=new aM("COMBINE_LINE_BY_LINE_MANHATTAN",7),qBn=new aM("COMBINE_JITTER_MANHATTAN",8)}function Ldn(n,t,e,i){var r,c,a,u,o,s;for(o=qcn(n,e),s=qcn(t,e),r=!1;o&&s&&(i||Ern(o,s,e));)a=qcn(o,e),u=qcn(s,e),pJ(t),pJ(n),c=o.c,lyn(o,!1),lyn(s,!1),e?(Hrn(t,s.p,c),t.p=s.p,Hrn(n,o.p+1,c),n.p=o.p):(Hrn(n,o.p,c),n.p=o.p,Hrn(t,s.p+1,c),t.p=s.p),JG(o,null),JG(s,null),o=a,s=u,r=!0;return r}function Ndn(n,t,e,i){var r,c,a,u,o;for(r=!1,c=!1,u=new pb(i.j);u.a=t.length)throw hp(new Hm("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new rx(i),h2(this.e,this.c,(Ikn(),qit)),this.i=new rx(i),h2(this.i,this.c,Eit),this.f=new zR(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(bon(),_zn),this.a&&function(n,t,e){var i,r,c,a,u,o,s;u=(c=n.d.p).e,o=c.r,n.g=new rx(o),i=(a=n.d.o.c.p)>0?u[a-1]:VQ(Gzn,kIn,10,0,0,1),r=u[a],s=ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=Yx(BF(n.f,a.d.i),57),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new $K(bA(u7(b).a.Kc(),new h));Vfn(u);)0!=(a=Yx(kV(u),17)).a.b&&(t=Yx(p$(a.a),8),a.d.j==(Ikn(),Tit)&&((g=new _vn(t,new QS(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==Bit&&((g=new _vn(t,new QS(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}(n);break;case 3:r=new ip,SE(hH(fH(WJ(WJ(new SR(null,new Nz(n.d.b,16)),new Or),new Ar),new $r),new pr),new Yw(r)),i=r;break;default:throw hp(new Ym("Compaction not supported for "+t+" edges."))}(function(n,t){var i,r,c,a,u,o,s;if(0!=t.c.length){for(XH(),JR(t.c,t.c.length,null),r=Yx(Hz(c=new pb(t)),145);c.a0&&t0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:c_(n.u)&&((i=oun(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}(n,t),c=null,s=null,o){for(s=c=Yx((a=u.Kc()).Pb(),111);a.Ob();)s=Yx(a.Pb(),111);c.d.b=0,s.d.c=0,f&&!c.a&&(c.d.c=0)}l&&(function(n){var t,i,r,c,a;for(t=0,i=0,a=n.Kc();a.Ob();)r=Yx(a.Pb(),111),t=e.Math.max(t,r.d.b),i=e.Math.max(i,r.d.c);for(c=n.Kc();c.Ob();)(r=Yx(c.Pb(),111)).d.b=t,r.d.c=i}(u),o&&(c.d.b=0,s.d.c=0))}function Wdn(n,t){var i,r,c,a,u,o,s,h,f,l;if(u=Yx(Yx(_V(n.r,t),21),84),o=n.u.Hc((Chn(),mit)),i=n.u.Hc(git),r=n.u.Hc(dit),s=n.u.Hc(yit),l=n.B.Hc((Vgn(),frt)),h=!i&&!r&&(s||2==u.gc()),function(n,t){var i,r,c,a,u,o,s;for(o=Yx(Yx(_V(n.r,t),21),84).Kc();o.Ob();)(r=(u=Yx(o.Pb(),111)).c?XD(u.c):0)>0?u.a?r>(s=u.b.rf().b)&&(n.v||1==u.c.d.c.length?(a=(r-s)/2,u.d.d=a,u.d.a=a):(i=(Yx(TR(u.c.d,0),181).rf().b-s)/2,u.d.d=e.Math.max(0,i),u.d.a=r-i-s)):u.d.a=n.t+r:c_(n.u)&&((c=oun(u.b)).d<0&&(u.d.d=-c.d),c.d+c.a>u.b.rf().b&&(u.d.a=c.d+c.a-u.b.rf().b))}(n,t),f=null,c=null,o){for(c=f=Yx((a=u.Kc()).Pb(),111);a.Ob();)c=Yx(a.Pb(),111);f.d.d=0,c.d.a=0,h&&!f.a&&(f.d.a=0)}l&&(function(n){var t,i,r,c,a;for(i=0,t=0,a=n.Kc();a.Ob();)r=Yx(a.Pb(),111),i=e.Math.max(i,r.d.d),t=e.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=Yx(c.Pb(),111)).d.d=i,r.d.a=t}(u),o&&(f.d.d=0,c.d.a=0))}function Vdn(n,t,e){var i,r,c,a,u;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,eD(e.e,t),i==(bon(),Bzn)||i==qzn)for(r=new pb(t.j);r.a1||-1==a)&&(c|=16),0!=(r.Bb&MNn)&&(c|=64)),0!=(e.Bb&eMn)&&(c|=FDn),c|=DNn):CO(t,457)?c|=512:(i=t.Bj())&&0!=(1&i.i)&&(c|=256),0!=(512&n.Bb)&&(c|=128),c}function ngn(n,t){var e,i,r,c,a;for(n=null==n?aEn:(vB(n),n),r=0;rn.d[u.p]&&(e+=zW(n.b,c),OX(n.a,d9(c))):++a;for(e+=n.b.d*a;!ry(n.a);)eZ(n.b,Yx($_(n.a),19).a)}return e}function egn(n){var t,e,i,r,c,a,u;for(u=new rp,i=new pb(n.a.b);i.a=n.o)throw hp(new Gp);a=t>>5,c=GK(1,WR(GK(31&t,1))),n.n[e][a]=r?zz(n.n[e][a],c):Gz(n.n[e][a],wD(c)),c=GK(c,1),n.n[e][a]=i?zz(n.n[e][a],c):Gz(n.n[e][a],wD(c))}catch(i){throw CO(i=j4(i),320)?hp(new Hm(FSn+n.o+"*"+n.p+BSn+t+tEn+e+HSn)):hp(i)}}function agn(n,t,i,r){var c,a;t&&(c=ty(fL(Aun(t,(ryn(),M5n))))+r,a=i+ty(fL(Aun(t,k5n)))/2,b5(t,O5n,d9(WR(D3(e.Math.round(c))))),b5(t,A5n,d9(WR(D3(e.Math.round(a))))),0==t.d.b||agn(n,Yx(PO(new Rd(Ztn(new Dd(t).a.d,0))),86),i+ty(fL(Aun(t,k5n)))+n.a,r+ty(fL(Aun(t,j5n)))),null!=Aun(t,I5n)&&agn(n,Yx(Aun(t,I5n),86),i,r))}function ugn(n){var t,e,i;return 0!=(64&n.Db)?yon(n):(t=new SA(dNn),(e=n.k)?yI(yI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new m_(act,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new m_(act,n,1,7)),Yx(c1(n.n,0),137)).a)||yI(yI((t.a+=' "',t),i),'"'))),yI(tj(yI(tj(yI(tj(yI(tj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function ogn(n){var t,e,i;return 0!=(64&n.Db)?yon(n):(t=new SA(gNn),(e=n.k)?yI(yI((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new m_(act,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new m_(act,n,1,7)),Yx(c1(n.n,0),137)).a)||yI(yI((t.a+=' "',t),i),'"'))),yI(tj(yI(tj(yI(tj(yI(tj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function sgn(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=Yx(aG(n.a,t),149))){for(i=new ub(new Zl(n.b).a.vc().Kc());i.a.Ob();)if(c=Yx(i.a.Pb(),42),a=(e=Yx(c.dd(),149)).c,u=t.length,_N(a.substr(a.length-u,u),t)&&(t.length==a.length||46==XB(a,a.length-t.length-1))){if(r)return null;r=e}r&&GG(n.a,t,r)}return r}function hgn(n){var t,e,i;O$(n,(gjn(),U1n))&&((i=Yx(Aun(n,U1n),21)).dc()||(e=new cx(t=Yx(Ak(cit),9),Yx(eN(t,t.length),9),0),i.Hc((Eln(),Xet))?n2(e,Xet):n2(e,Wet),i.Hc(zet)||n2(e,zet),i.Hc(Get)?n2(e,Yet):i.Hc(qet)?n2(e,Qet):i.Hc(Uet)&&n2(e,Vet),i.Hc(Yet)?n2(e,Get):i.Hc(Qet)?n2(e,qet):i.Hc(Vet)&&n2(e,Uet),b5(n,U1n,e)))}function fgn(n){var t,e,i,r,c,a,u;for(r=Yx(Aun(n,(Ojn(),vQn)),10),$z(0,(i=n.j).c.length),e=Yx(i.c[0],11),a=new pb(r.j);a.ar.p?(whn(c,Bit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==Bit&&r.p>n.p&&(whn(c,Tit),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}function lgn(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(CO(t,239)||CO(t,354)||CO(t,186)))throw hp(new Qm("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,KD(c=new Nv,new QS(o,h)),KD(c,new QS(o,f)),KD(c,new QS(s,f)),KD(c,new QS(s,h)),o4(u=new eln(c),t),e&&xB(n.b,t,u),u}function bgn(n,t,e){var i,r,c,a,u,o,s,h;for(c=new QS(t,e),s=new pb(n.a);s.a1&&(i=new QS(r,e.b),KD(t.a,i)),r0(t.a,x4(Gy(B7n,1),TEn,8,0,[f,h]))}function Ign(n,t,e){var i,r,c,a,u,o;if(t){if(e<=-1){if(CO(i=CZ(t.Tg(),-1-e),99))return Yx(i,18);for(u=0,o=(a=Yx(t.ah(i),153)).gc();u0){for(r=o.length;r>0&&""==o[r-1];)--r;r=40)&&function(n){var t,e,i,r,c,a,u;for(n.o=new ep,i=new ME,a=new pb(n.e.a);a.a0,u=T7(t,c),VA(e?u.b:u.g,t),1==b7(u).c.length&&VW(i,u,i.c.b,i.c),r=new mP(c,t),OX(n.o,r),uJ(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new pb(n.e.a);c.a0&&KD(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&KD(n.e,c))))}function Xgn(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new pQ(t.c.length),s=new pb(t);s.a=0&&o0&&(Lz(0,n.length),45==n.charCodeAt(0)||(Lz(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw hp(new Iy(YTn+n+'"'));return a}function rpn(n){switch(n){case 100:return Rjn(TKn,!0);case 68:return Rjn(TKn,!1);case 119:return Rjn(MKn,!0);case 87:return Rjn(MKn,!1);case 115:return Rjn(SKn,!0);case 83:return Rjn(SKn,!1);case 99:return Rjn(PKn,!0);case 67:return Rjn(PKn,!1);case 105:return Rjn(IKn,!0);case 73:return Rjn(IKn,!1);default:throw hp(new Im(EKn+n.toString(16)))}}function cpn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&Yx(n.a[n.b],10).k==(bon(),Fzn)?_pn(Yx(n.a[n.b],10),(Frn(),Ret)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&Yx(n.a[n.c-1&n.a.length-1],10).k==(bon(),Fzn)?_pn(Yx(n.a[n.c-1&n.a.length-1],10),(Frn(),Ket)):2==(n.c-n.b&n.a.length-1)?(_pn(Yx(T5(n),10),(Frn(),Ret)),_pn(Yx(T5(n),10),Ket)):function(n,t){var e,i,r,c,a,u,o,s,h;for(o=h$(n.c-n.b&n.a.length-1),s=null,h=null,c=new VB(n);c.a!=c.b;)r=Yx(w8(c),10),e=(u=Yx(Aun(r,(Ojn(),TQn)),11))?u.i:null,i=(a=Yx(Aun(r,MQn),11))?a.i:null,s==e&&h==i||(vln(o,t),s=e,h=i),o.c[o.c.length]=r;vln(o,t)}(n,r),iW(n)}function apn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(XB(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=Uhn(n,t))&&t[0]==c)return!1;if(t[0]=0&&u!=e&&(c=new p_(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new p_(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function spn(n){var t,e,i;if(null==n.b){if(i=new Cy,null!=n.i&&(pI(i,n.i),i.a+=":"),0!=(256&n.f)){for(0!=(256&n.f)&&null!=n.a&&(function(n){return null!=n&&fE(Rct,n.toLowerCase())}(n.i)||(i.a+="//"),pI(i,n.a)),null!=n.d&&(i.a+="/",pI(i,n.d)),0!=(16&n.f)&&(i.a+="/"),t=0,e=n.j.length;t0&&(t.td(e),e.i&&T9(e))}(r=vwn(n,t),(a=Yx(ken(r,0),214)).c.Rf()?a.c.Lf()?new dd(n):new gd(n):new wd(n)),function(n){var t,e,i;for(i=new pb(n.b);i.a>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;rs)&&(o+u+omn(i,s,!1).a<=t.b&&(pY(e,c-e.s),e.c=!0,pY(i,c-e.s),Qen(i,e.s,e.t+e.d+u),i.k=!0,o3(e.q,i),h=!0,r&&(c0(t,i),i.j=t,n.c.length>a&&(acn(($z(a,n.c.length),Yx(n.c[a],200)),i),0==($z(a,n.c.length),Yx(n.c[a],200)).a.c.length&&KV(n,a)))),h)}function wpn(n,t,e){var i,r,c,a,u;if(0==t.p){for(t.p=1,(r=e)||(r=new mP(new ip,new cx(i=Yx(Ak(trt),9),Yx(eN(i,i.length),9),0))),Yx(r.a,15).Fc(t),t.k==(bon(),_zn)&&Yx(r.b,21).Fc(Yx(Aun(t,(Ojn(),hQn)),61)),a=new pb(t.j);a.a0)if(r=Yx(n.Ab.g,1934),null==t){for(c=0;c1)for(i=new pb(r);i.ai.s&&o=0&&s>=0&&oa)return Ikn(),Eit;break;case 4:case 3:if(h<0)return Ikn(),Tit;if(h+e>c)return Ikn(),Bit}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(Ikn(),qit):o+i>=1&&o-i>=0?(Ikn(),Eit):i<.5?(Ikn(),Tit):(Ikn(),Bit)}function Mpn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;for(e=!1,o=ty(fL(Aun(t,(gjn(),G0n)))),l=ZEn*o,r=new pb(t.b);r.aa.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function Spn(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new hC,o=t.Kc();o.Ob();)for(h=new pb(Yx(o.Pb(),839).wf());h.an.b/2+t.b/2||(c=e.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2?1:0==i&&0==c?0:0==i?a/c+1:0==c?r/i+1:e.Math.min(r/i,a/c)+1}function Ipn(n,t){var i,r,c,a,u,o;return(c=u0(n))==(o=u0(t))?n.e==t.e&&n.a<54&&t.a<54?n.ft.f?1:0:(r=n.e-t.e,(i=(n.d>0?n.d:e.Math.floor((n.a-1)*aMn)+1)-(t.d>0?t.d:e.Math.floor((t.a-1)*aMn)+1))>r+1?c:i0&&(u=uZ(u,xvn(r))),utn(a,u))):c0&&n.d!=(CJ(),zGn)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(CJ(),qGn)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new QS(u/c,t.d.b);case 2:return new QS(t.d.a,o/c);default:return new QS(u/c,o/c)}}function Opn(n,t){var e,i,r,c;if(A6(),c=Yx(Aun(n.i,(gjn(),g0n)),98),0!=n.j.g-t.j.g||c!=(Ran(),uit)&&c!=sit&&c!=oit)return 0;if(c==(Ran(),uit)&&(e=Yx(Aun(n,p0n),19),i=Yx(Aun(t,p0n),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return $9(n.n.a,t.n.a);case 2:return $9(n.n.b,t.n.b);case 3:return $9(t.n.a,n.n.a);case 4:return $9(t.n.b,n.n.b);default:throw hp(new Ym(mIn))}}function Apn(n){var t,e,i,r,c;for(eD(c=new pQ((!n.a&&(n.a=new XO(Qrt,n,5)),n.a).i+2),new QS(n.j,n.k)),SE(new SR(null,(!n.a&&(n.a=new XO(Qrt,n,5)),new Nz(n.a,16))),new Jd(c)),eD(c,new QS(n.b,n.c)),t=1;t0&&(Y4(o,!1,(t9(),Ztt)),Y4(o,!0,net)),WZ(t.g,new PM(n,e)),xB(n.g,t,e)}function Lpn(){var n;for(Lpn=O,W_n=x4(Gy(Wot,1),MTn,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),V_n=VQ(Wot,MTn,25,37,15,1),Q_n=x4(Gy(Wot,1),MTn,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Y_n=VQ(Qot,tMn,25,37,14,1),n=2;n<=36;n++)V_n[n]=oG(e.Math.pow(n,W_n[n])),Y_n[n]=Bcn(IEn,V_n[n])}function Npn(n){var t;if(1!=(!n.a&&(n.a=new m_(tct,n,6,6)),n.a).i)throw hp(new Qm(eNn+(!n.a&&(n.a=new m_(tct,n,6,6)),n.a).i));return t=new Nv,E4(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82))&&C2(t,mjn(n,E4(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)),!1)),E4(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82))&&C2(t,mjn(n,E4(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82)),!0)),t}function xpn(n,t){var e,i,r;for(r=!1,i=new $K(bA((t.d?n.a.c==(Jq(),d4n)?u7(t.b):o7(t.b):n.a.c==(Jq(),w4n)?u7(t.b):o7(t.b)).a.Kc(),new h));Vfn(i);)if(e=Yx(kV(i),17),(ny(n.a.f[n.a.g[t.b.p].p])||ZW(e)||e.c.i.c!=e.d.i.c)&&!ny(n.a.n[n.a.g[t.b.p].p])&&!ny(n.a.n[n.a.g[t.b.p].p])&&(r=!0,gE(n.b,n.a.g[zin(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function Dpn(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej())if(o=n.fj(),Q7(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new Ek(i),c=t+i,r=t;r0){for(u=0;u>16==-15&&n.Cb.nh()&&vJ(new kY(n.Cb,9,13,e,n.c,Ren(IJ(Yx(n.Cb,59)),n))):CO(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(CO(t=n.c,88)||(xjn(),t=Oat),CO(e,88)||(xjn(),e=Oat),vJ(new kY(n.Cb,9,10,e,t,Ren(tW(Yx(n.Cb,26)),n)))))),n.c}function Hpn(n,t,e){var i,r,c,a,u,o,s,h;for(run(e,"Hyperedge merging",1),function(n,t){var e,i,r,c;for((c=Yx(kW(WJ(WJ(new SR(null,new Nz(t.b,16)),new Re),new Ke),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[(C6(),aBn)]))),15)).Jc(new _e),e=0,r=c.Kc();r.Ob();)-1==(i=Yx(r.Pb(),11)).p&&wln(n,i,e++)}(n,t),u=new JU(t.b,0);u.be);return r}function Gpn(n,t){var e,i,r;i=0!=Xln(n.d,1),!ny(hL(Aun(t.j,(Ojn(),lQn))))&&!ny(hL(Aun(t.j,qQn)))||iI(Aun(t.j,(gjn(),XZn)))===iI((k5(),W2n))?t.c.Tf(t.e,i):i=ny(hL(Aun(t.j,lQn))),Zbn(n,t,i,!0),ny(hL(Aun(t.j,qQn)))&&b5(t.j,qQn,(TA(),!1)),ny(hL(Aun(t.j,lQn)))&&(b5(t.j,lQn,(TA(),!1)),b5(t.j,qQn,!0)),e=Rsn(n,t);do{if(k2(n),0==e)return 0;r=e,Zbn(n,t,i=!i,!1),e=Rsn(n,t)}while(r>e);return r}function zpn(n,t,e){var i,r,c,a,u,o,s;if(t==e)return!0;if(t=Xfn(n,t),e=Xfn(n,e),i=win(t)){if((o=win(e))!=i)return!!o&&(a=i.Dj())==o.Dj()&&null!=a;if(!t.d&&(t.d=new XO(hat,t,1)),r=(c=t.d).i,!e.d&&(e.d=new XO(hat,e,1)),r==(s=e.d).i)for(u=0;u0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}((IG(n)&&(dT(),new Xm(IG(n))),dT(),new e$(IG(n)?new Xm(IG(n)):null,n)),net),a=Yx(Aun(r,c0n),116),$G(i=r.d,a),$G(i,c),r}function Vpn(n,t){var i,r,c,a;return r=e.Math.abs(a_(n.b).a-a_(t.b).a),a=e.Math.abs(a_(n.b).b-a_(t.b).b),i=1,c=1,r>n.b.b/2+t.b.b/2&&(i=1-e.Math.min(e.Math.abs(n.b.c-(t.b.c+t.b.b)),e.Math.abs(n.b.c+n.b.b-t.b.c))/r),a>n.b.a/2+t.b.a/2&&(c=1-e.Math.min(e.Math.abs(n.b.d-(t.b.d+t.b.a)),e.Math.abs(n.b.d+n.b.a-t.b.d))/a),(1-e.Math.min(i,c))*e.Math.sqrt(r*r+a*a)}function Qpn(n){var t,i,r;for(gkn(n,n.e,n.f,(Yq(),X4n),!0,n.c,n.i),gkn(n,n.e,n.f,X4n,!1,n.c,n.i),gkn(n,n.e,n.f,W4n,!0,n.c,n.i),gkn(n,n.e,n.f,W4n,!1,n.c,n.i),function(n,t,e,i,r){var c,a,u,o,s,h,f;for(a=new pb(t);a.a=w&&(v>w&&(b.c=VQ(UKn,iEn,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=Yx(TR(b,Uen(t,b.c.length)),128),P.a.Bc(l),l.s=d++,cbn(l,M,j),b.c=VQ(UKn,iEn,1,0,5,1))}for(y=n.c.length+1,u=new pb(n);u.aS.s&&(hB(e),uJ(S.i,i),i.c>0&&(i.a=S,eD(S.t,i),i.b=E,eD(E.i,i)))})(n.i,Yx(Aun(n.d,(Ojn(),FQn)),230)),function(n){var t,i,r,c,a,u,o,s,h;for(s=new ME,u=new ME,c=new pb(n);c.a-1){for(r=Ztn(u,0);r.b!=r.d.c;)(i=Yx(IX(r),128)).v=a;for(;0!=u.b;)for(t=new pb((i=Yx(Urn(u,0),128)).i);t.a=65;e--)sot[e]=e-65<<24>>24;for(i=122;i>=97;i--)sot[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)sot[r]=r-48+52<<24>>24;for(sot[43]=62,sot[47]=63,c=0;c<=25;c++)hot[c]=65+c&fTn;for(a=26,o=0;a<=51;++a,o++)hot[a]=97+o&fTn;for(n=52,u=0;n<=61;++n,u++)hot[n]=48+u&fTn;hot[62]=43,hot[63]=47}function Zpn(n,t){var e,i,r,c,a,u,o;if(!TG(n))throw hp(new Ym(tNn));if(c=(i=TG(n)).g,r=i.f,c<=0&&r<=0)return Ikn(),Hit;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return Ikn(),qit;if(u+n.g>c)return Ikn(),Eit;break;case 4:case 3:if(o<0)return Ikn(),Tit;if(o+n.f>r)return Ikn(),Bit}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(Ikn(),qit):a+e>=1&&a-e>=0?(Ikn(),Eit):e<.5?(Ikn(),Tit):(Ikn(),Bit)}function nvn(n){var t,e,i,r,c,a;if(Ljn(),4!=n.e&&5!=n.e)throw hp(new Qm("Token#complementRanges(): must be RANGE: "+n.e));for(xln(c=n),Lmn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==jKn&&(i-=2),(r=new cU(4)).b=VQ(Wot,MTn,25,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(Kl(o,o.d-r.d),r.c==(iQ(),K4n)&&Dl(o,o.a-r.d),o.d<=0&&o.i>0&&VW(t,o,t.c.b,t.c));for(c=new pb(n.f);c.a0&&(_l(u,u.i-r.d),r.c==(iQ(),K4n)&&Rl(u,u.b-r.d),u.i<=0&&u.d>0&&VW(e,u,e.c.b,e.c))}function ivn(n,t,e){var i,r,c,a,u,o,s,h;for(run(e,"Processor compute fanout",1),U_(n.b),U_(n.a),u=null,c=Ztn(t.b,0);!u&&c.b!=c.d.c;)ny(hL(Aun(s=Yx(IX(c),86),(ryn(),C5n))))&&(u=s);for(VW(o=new ME,u,o.c.b,o.c),Ckn(n,o),h=Ztn(t.b,0);h.b!=h.d.c;)a=lL(Aun(s=Yx(IX(h),86),(ryn(),v5n))),r=null!=aG(n.b,a)?Yx(aG(n.b,a),19).a:0,b5(s,p5n,d9(r)),i=1+(null!=aG(n.a,a)?Yx(aG(n.a,a),19).a:0),b5(s,d5n,d9(i));Ron(e)}function rvn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(f=function(n,t){var e,i,r;for(r=new JU(n.e,0),e=0;r.bYAn)return e;i>-1e-6&&++e}return e}(n,e),u=0;u0),i.a.Xb(i.c=--i.b),h>f+u&&hB(i);for(c=new pb(l);c.a0),i.a.Xb(i.c=--i.b)}}function cvn(n){var t,i,r,c,a,u,o,s,h,f,l,b,w;if(i=n.i,t=n.n,0==n.b)for(w=i.c+t.b,b=i.b-t.b-t.c,s=0,f=(u=n.a).length;s0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=e.Math.max(r[1],l),vK(n.a[1],i.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(o=0,h=(a=n.a).length;oa&&(a=r,s.c=VQ(UKn,iEn,1,0,5,1)),r==a&&eD(s,new mP(e.c.i,e)));XH(),JC(s,n.c),ZR(n.b,u.p,s)}}(l,n),l.f=h$(l.d),function(n,t){var e,i,r,c,a,u,o,s;for(c=new pb(t.b);c.aa&&(a=r,s.c=VQ(UKn,iEn,1,0,5,1)),r==a&&eD(s,new mP(e.d.i,e)));XH(),JC(s,n.c),ZR(n.f,u.p,s)}}(l,n),l}function uvn(n,t){var i,r,c;for(c=Yx(TR(n.n,n.n.c.length-1),211).d,n.p=e.Math.min(n.p,t.g),n.r=e.Math.max(n.r,c),n.g=e.Math.max(n.g,t.g+(1==n.b.c.length?0:n.i)),n.o=e.Math.min(n.o,t.f),n.e+=t.f+(1==n.b.c.length?0:n.i),n.f=e.Math.max(n.f,t.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,i=new pb(n.n);i.a1)for(i=Ztn(r,0);i.b!=i.d.c;)for(c=0,u=new pb((e=Yx(IX(i),231)).e);u.a0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=e.Math.max(t[1],l),mK(n.a[1],r.d+i.d+t[0]-(t[1]-l)/2,t[1]);else for(w=r.d+i.d,b=r.a-i.d-i.a,s=0,f=(u=n.a).length;s=0&&c!=e)throw hp(new Qm(kxn));for(r=0,o=0;o0||0==y7(c.b.d,n.b.d+n.b.a)&&r.b<0||0==y7(c.b.d+c.b.a,n.b.d)&&r.b>0){o=0;break}}else o=e.Math.min(o,bhn(n,c,r));o=e.Math.min(o,bvn(n,a,o,r))}return o}function wvn(n,t){var e,i,r,c,a,u;if(n.b<2)throw hp(new Qm("The vector chain must contain at least a source and a target point."));for(S$(0!=n.b),TC(t,(i=Yx(n.a.a.c,8)).a,i.b),u=new a$((!t.a&&(t.a=new XO(Qrt,t,5)),t.a)),c=Ztn(n,1);c.aty(NO(a.g,a.d[0]).a)?(S$(o.b>0),o.a.Xb(o.c=--o.b),ZL(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(!u.e&&(u.e=new ip),u.e).Mc(t),s=(!u.e&&(u.e=new ip),u.e).Mc(e),(c||s)&&((!u.e&&(u.e=new ip),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)}function kvn(n){var t,e,i;if(dC(Yx(Aun(n,(gjn(),g0n)),98)))for(e=new pb(n.j);e.a>>0).toString(16),t.length-2,t.length):n>=eMn?"\\v"+l$(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&fTn)}return e}function Evn(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new C_(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=Gz(n.a[0],uMn),i=Gz(t.a[0],uMn),a<0&&(e=sJ(e)),o<0&&(i=sJ(i)),Utn(n7(e,i));if(-1==(r=c!=u?c>u?1:-1:w6(n.a,t.a,c)))f=-o,h=a==o?GV(t.a,u,n.a,c):WQ(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return bdn(),pFn;h=GV(n.a,c,t.a,u)}else h=WQ(n.a,c,t.a,u);return SU(s=new C_(f,h.length,h)),s}function Tvn(n){var t,e,i,r,c,a;for(this.e=new ip,this.a=new ip,e=n.b-1;e<3;e++)A$(n,0,Yx(ken(n,0),8));if(n.b<4)throw hp(new Qm("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(n,t){var e,i,r,c,a;if(t<2*n.b)throw hp(new Qm("The knot vector must have at least two time the dimension elements."));for(n.f=1,r=0;r=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=Yx(TR(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(Yx(TR(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return l7(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return eD(t.b,e),a=Yx(TR(t.n,t.n.c.length-1),211),eD(t.n,new gG(t.s,a.f+a.a+t.i,t.i)),Cin(Yx(TR(t.n,t.n.c.length-1),211),e),uvn(t,e),!0}return!1}function Pvn(n,t,e){var i,r,c,a;return n.ej()?(r=null,c=n.fj(),i=n.Zi(1,a=HJ(n,t,e),e,t,c),n.bj()&&!(n.ni()&&null!=a?Q8(a,e):iI(a)===iI(e))?(null!=a&&(r=n.dj(a,r)),r=n.cj(e,r),n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)):(n.ij()&&(r=n.lj(a,e,r)),r?(r.Ei(i),r.Fi()):n.$i(i)),a):(a=HJ(n,t,e),n.bj()&&!(n.ni()&&null!=a?Q8(a,e):iI(a)===iI(e))&&(r=null,null!=a&&(r=n.dj(a,null)),(r=n.cj(e,r))&&r.Fi()),a)}function Ivn(n,t){var i,r,c,a,u,o,s;t%=24,n.q.getHours()!=t&&((i=new e.Date(n.q.getTime())).setDate(i.getDate()+1),(u=n.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(o=u/60|0,s=u%60,r=n.q.getDate(),n.q.getHours()+o>=24&&++r,c=new e.Date(n.q.getFullYear(),n.q.getMonth(),r,t+o,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=t&&n.q.setTime(a)}function Cvn(n,t){var e,i,r,c;if(run(t,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new rln(n)).i&&(r.i=D2(r,new kc)),e=ty(r.i)*r.f/(null==r.i&&(r.i=D2(r,new kc)),ty(r.i)),r.b>e)Ron(t);else{switch(Yx(Aun(n,(gjn(),t2n)),337).g){case 2:c=new Tc;break;case 0:c=new wc;break;default:c=new Mc}if(i=c.Vf(n,r),!c.Wf())switch(Yx(Aun(n,u2n),338).g){case 2:i=dhn(r,i);break;case 1:i=uun(r,i)}(function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=Yx((i=e.Kc()).Pb(),19).a;a1||-1==w)if(f=Yx(d,69),l=Yx(h,69),f.dc())l.$b();else for(a=!!nin(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=Yx(u.Pb(),56),(r=Yx(UJ(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c);else null==d?h.Wb(null):null==(r=UJ(n,d))?n.b&&!nin(t)&&h.Wb(d):h.Wb(r)}function Nvn(n,t){var i,r,c,a,u,o,s,f;for(i=new Le,c=new $K(bA(u7(t).a.Kc(),new h));Vfn(c);)if(!ZW(r=Yx(kV(c),17))&&Ban(o=r.c.i,uUn)){if(-1==(f=Sdn(n,o,uUn,aUn)))continue;i.b=e.Math.max(i.b,f),!i.a&&(i.a=new ip),eD(i.a,o)}for(u=new $K(bA(o7(t).a.Kc(),new h));Vfn(u);)if(!ZW(a=Yx(kV(u),17))&&Ban(s=a.d.i,aUn)){if(-1==(f=Sdn(n,s,aUn,uUn)))continue;i.d=e.Math.max(i.d,f),!i.c&&(i.c=new ip),eD(i.c,s)}return i}function xvn(n){var t,e,i,r;if(jfn(),t=oG(n),n1e6)throw hp(new Bm("power of ten too big"));if(n<=Yjn)return mV(ifn(kFn[1],t),t);for(r=i=ifn(kFn[1],Yjn),e=D3(n-Yjn),t=oG(n%Yjn);k8(e,Yjn)>0;)r=uZ(r,i),e=n7(e,Yjn);for(r=mV(r=uZ(r,ifn(kFn[1],t)),Yjn),e=D3(n-Yjn);k8(e,Yjn)>0;)r=mV(r,Yjn),e=n7(e,Yjn);return mV(r,t)}function Dvn(n,t){var e,i,r,c,a;run(t,"Layer constraint postprocessing",1),0!=(a=n.b).c.length&&($z(0,a.c.length),function(n,t,e,i,r){var c,a,u,o,s,h;for(c=new pb(n.b);c.a1)););(u>0||l.Hc((Chn(),pit))&&(!c.n&&(c.n=new m_(act,c,1,7)),c.n).i>0)&&(o=!0),u>1&&(s=!0)}o&&t.Fc((edn(),SVn)),s&&t.Fc((edn(),PVn))}(t,i=Yx(Aun(r,(Ojn(),bQn)),21)),i.Hc((edn(),SVn)))for(e=new UO((!t.c&&(t.c=new m_(oct,t,9,9)),t.c));e.e!=e.i.gc();)bkn(n,t,r,Yx(hen(e),118));return 0!=Yx(jln(t,(gjn(),n0n)),174).gc()&&cdn(t,r),ny(hL(Aun(r,u0n)))&&i.Fc(AVn),O$(r,O0n)&&Rm(new B7(ty(fL(Aun(r,O0n)))),r),iI(jln(t,E1n))===iI((O8(),$et))?function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(a=new ME,v=Yx(Aun(e,(gjn(),a1n)),103),w=0,C2(a,(!t.a&&(t.a=new m_(uct,t,10,11)),t.a));0!=a.b;)s=Yx(0==a.b?null:(S$(0!=a.b),VZ(a,a.a.a)),33),(iI(jln(t,XZn))!==iI((k5(),W2n))||iI(jln(t,r1n))===iI((min(),RWn))||iI(jln(t,r1n))===iI((min(),xWn))||ny(hL(jln(t,VZn)))||iI(jln(t,HZn))!==iI((e9(),Izn)))&&!ny(hL(jln(s,UZn)))&&Aen(s,(Ojn(),IQn),d9(w++)),!ny(hL(jln(s,r0n)))&&(f=0!=(!s.a&&(s.a=new m_(uct,s,10,11)),s.a).i,b=Yan(s),l=iI(jln(s,E1n))===iI((O8(),$et)),g=null,(T=!zQ(s,(Cjn(),gnt))||_N(lL(jln(s,gnt)),CIn))&&l&&(f||b)&&(b5(g=Wpn(s),a1n,v),O$(g,O0n)&&Rm(new B7(ty(fL(Aun(g,O0n)))),g),0!=Yx(jln(s,n0n),174).gc()&&(h=g,SE(new SR(null,(!s.c&&(s.c=new m_(oct,s,9,9)),new Nz(s.c,16))),new gw(h)),cdn(s,g))),m=e,(y=Yx(BF(n.a,IG(s)),10))&&(m=y.e),d=Qyn(n,s,m),g&&(d.e=g,g.e=d,C2(a,(!s.a&&(s.a=new m_(uct,s,10,11)),s.a))));for(w=0,VW(a,t,a.c.b,a.c);0!=a.b;){for(o=new UO((!(c=Yx(0==a.b?null:(S$(0!=a.b),VZ(a,a.a.a)),33)).b&&(c.b=new m_(nct,c,12,3)),c.b));o.e!=o.i.gc();)dgn(u=Yx(hen(o),79)),(iI(jln(t,XZn))!==iI((k5(),W2n))||iI(jln(t,r1n))===iI((min(),RWn))||iI(jln(t,r1n))===iI((min(),xWn))||ny(hL(jln(t,VZn)))||iI(jln(t,HZn))!==iI((e9(),Izn)))&&Aen(u,(Ojn(),IQn),d9(w++)),j=iun(Yx(c1((!u.b&&(u.b=new AN(Zrt,u,4,7)),u.b),0),82)),E=iun(Yx(c1((!u.c&&(u.c=new AN(Zrt,u,5,8)),u.c),0),82)),ny(hL(jln(u,r0n)))||ny(hL(jln(j,r0n)))||ny(hL(jln(E,r0n)))||(p=c,Whn(u)&&ny(hL(jln(j,I1n)))&&ny(hL(jln(u,C1n)))||XZ(E,j)?p=j:XZ(j,E)&&(p=E),m=e,(y=Yx(BF(n.a,p),10))&&(m=y.e),b5(Ijn(n,u,p,m),(Ojn(),nQn),Nwn(n,u,t,e)));if(l=iI(jln(c,E1n))===iI((O8(),$et)))for(r=new UO((!c.a&&(c.a=new m_(uct,c,10,11)),c.a));r.e!=r.i.gc();)T=!zQ(i=Yx(hen(r),33),(Cjn(),gnt))||_N(lL(jln(i,gnt)),CIn),k=iI(jln(i,E1n))===iI($et),T&&k&&VW(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new UO((!t.a&&(t.a=new m_(uct,t,10,11)),t.a));r.e!=r.i.gc();)ny(hL(jln(i=Yx(hen(r),33),(gjn(),r0n))))||(iI(jln(t,XZn))===iI((k5(),W2n))&&iI(jln(t,r1n))!==iI((min(),RWn))&&iI(jln(t,r1n))!==iI((min(),xWn))&&!ny(hL(jln(t,VZn)))&&iI(jln(t,HZn))===iI((e9(),Izn))||ny(hL(jln(i,UZn)))||(Aen(i,(Ojn(),IQn),d9(f)),++f),Qyn(n,i,e));for(f=0,s=new UO((!t.b&&(t.b=new m_(nct,t,12,3)),t.b));s.e!=s.i.gc();)u=Yx(hen(s),79),(iI(jln(t,(gjn(),XZn)))!==iI((k5(),W2n))||iI(jln(t,r1n))===iI((min(),RWn))||iI(jln(t,r1n))===iI((min(),xWn))||ny(hL(jln(t,VZn)))||iI(jln(t,HZn))!==iI((e9(),Izn)))&&(Aen(u,(Ojn(),IQn),d9(f)),++f),w=Kun(u),d=Bun(u),h=ny(hL(jln(w,I1n))),b=!ny(hL(jln(u,r0n))),l=h&&Whn(u)&&ny(hL(jln(u,C1n))),c=IG(w)==t&&IG(w)==IG(d),a=(IG(w)==t&&d==t)^(IG(d)==t&&w==t),b&&!l&&(a||c)&&Ijn(n,u,t,e);if(IG(t))for(o=new UO(CH(IG(t)));o.e!=o.i.gc();)(w=Kun(u=Yx(hen(o),79)))==t&&Whn(u)&&(l=ny(hL(jln(w,(gjn(),I1n))))&&ny(hL(jln(u,C1n))))&&Ijn(n,u,t,e)}(n,t,r),r}function _vn(n,t,i,r){var c,a,u;if(this.j=new ip,this.k=new ip,this.b=new ip,this.c=new ip,this.e=new hC,this.i=new Nv,this.f=new cp,this.d=new ip,this.g=new ip,eD(this.b,n),eD(this.b,t),this.e.c=e.Math.min(n.a,t.a),this.e.d=e.Math.min(n.b,t.b),this.e.b=e.Math.abs(n.a-t.a),this.e.a=e.Math.abs(n.b-t.b),c=Yx(Aun(r,(gjn(),$1n)),74))for(u=Ztn(c,0);u.b!=u.d.c;)w1((a=Yx(IX(u),8)).a,n.a)&&KD(this.i,a);i&&eD(this.j,i),eD(this.k,r)}function Fvn(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(h=new h_(new rw(e)),x_(u=VQ(Vot,wSn,25,n.f.e.c.length,16,1),u.length),e[t.b]=0,s=new pb(n.f.e);s.as&&i>s)){r=!1,e.n&&LD(e,"bk node placement breaks on "+u+" which should have been after "+h);break}h=u,s=ty(t.p[u.p])+ty(t.d[u.p])+u.o.b+u.d.a}if(!r)break}return e.n&&LD(e,t+" is feasible: "+r),r}function Hvn(n,t,e,i){var r,c,a,u,o,s,h;if(e.d.i!=t.i){for(Al(r=new rin(n),(bon(),Bzn)),b5(r,(Ojn(),CQn),e),b5(r,(gjn(),g0n),(Ran(),oit)),i.c[i.c.length]=r,ZG(a=new Ion,r),whn(a,(Ikn(),qit)),ZG(u=new Ion,r),whn(u,Eit),h=e.d,QG(e,a),o4(c=new jq,e),b5(c,$1n,null),YG(c,u),QG(c,h),s=new JU(e.b,0);s.b=g&&n.e[s.p]>w*n.b||m>=i*g)&&(l.c[l.c.length]=o,o=new ip,C2(u,a),a.a.$b(),h-=f,b=e.Math.max(b,h*n.b+d),h+=m,v=m,m=0,f=0,d=0);return new mP(b,l)}function zvn(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(e=new ub(new Zl(n.c.b).a.vc().Kc());e.a.Ob();)u=Yx(e.a.Pb(),42),null==(r=(t=Yx(u.dd(),149)).a)&&(r=""),!(i=EL(n.c,r))&&0==r.length&&(i=F8(n)),i&&!V7(i.c,t,!1)&&KD(i.c,t);for(a=Ztn(n.a,0);a.b!=a.d.c;)c=Yx(IX(a),478),s=hV(n.c,c.a),l=hV(n.c,c.b),s&&l&&KD(s.c,new mP(l,c.c));for(BH(n.a),f=Ztn(n.b,0);f.b!=f.d.c;)h=Yx(IX(f),478),t=jL(n.c,h.a),o=hV(n.c,h.b),t&&o&&sT(t,o,h.c);BH(n.b)}function Uvn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Mo,c=new Mo,null==(t=Hat).a.zc(n,t)){for(r=new UO(Iq(n));r.e!=r.i.gc();)jF(a,Uvn(Yx(hen(r),26)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new m_(tat,n,21,17)),i=new UO(n.s);i.e!=i.i.gc();)CO(e=Yx(hen(i),170),99)&&fY(c,Yx(e,18));B6(c),n.r=new ID(n,(Yx(c1(aq((YF(),gat).o),6),18),c.i),c.g),jF(a,n.r),B6(a),n.f=new HI((Yx(c1(aq(gat.o),5),18),a.i),a.g),bV(n).b&=-3}return n.f}function Xvn(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w;for(a=n.o,i=VQ(Wot,MTn,25,a,15,1),r=VQ(Wot,MTn,25,a,15,1),e=n.p,t=VQ(Wot,MTn,25,e,15,1),c=VQ(Wot,MTn,25,e,15,1),s=0;s=0&&!Nin(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!Nin(n,u,w);)--u;c[w]=u}for(o=0;ot[l]&&li[o]&&cgn(n,o,l,!1,!0)}function Wvn(n){var t,e,i,r,c,a,u,o;e=ny(hL(Aun(n,(Bdn(),tGn)))),c=n.a.c.d,u=n.a.d.d,e?(a=KO(yN(new QS(u.a,u.b),c),.5),o=KO(dO(n.e),.5),t=yN(mN(new QS(c.a,c.b),a),o),x$(n.d,t)):(r=ty(fL(Aun(n.a,vGn))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function Vvn(n,t){var e,i,r,c,a,u,o;if(null==n)return null;if(0==(c=n.length))return"";for(o=VQ(Xot,sTn,25,c,15,1),YQ(0,c,n.length),YQ(0,c,o.length),aF(n,0,c,o,0),e=null,u=t,r=0,a=0;r0?l$(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function Qvn(n){uT(n,new tun(rk(nk(ik(ek(new du,uPn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new at))),DU(n,uPn,oPn,oen(Rqn)),DU(n,uPn,sPn,oen(Aqn)),DU(n,uPn,hPn,oen(Sqn)),DU(n,uPn,fPn,oen($qn)),DU(n,uPn,oSn,oen(xqn)),DU(n,uPn,sSn,oen(Nqn)),DU(n,uPn,uSn,oen(Dqn)),DU(n,uPn,hSn,oen(Lqn)),DU(n,uPn,ePn,oen(Iqn)),DU(n,uPn,iPn,oen(Pqn)),DU(n,uPn,rPn,oen(Cqn)),DU(n,uPn,cPn,oen(Oqn))}function Yvn(n,t,e,i){var r,c,a,u,o,s,h;if(Al(c=new rin(n),(bon(),qzn)),b5(c,(gjn(),g0n),(Ran(),oit)),r=0,t){for(b5(a=new Ion,(Ojn(),CQn),t),b5(c,CQn,t.i),whn(a,(Ikn(),qit)),ZG(a,c),s=0,h=(o=CU(t.e)).length;s=0&&l<=1&&b>=0&&b<=1?mN(new QS(n.a,n.b),KO(new QS(t.a,t.b),l)):null}function nmn(n){var t,i,r,c,a,u,o,s,h,f;for(s=new Jl(new Yl(Tfn(n)).a.vc().Kc());s.a.Ob();){for(r=Yx(s.a.Pb(),42),h=0,f=0,h=(o=Yx(r.cd(),10)).d.d,f=o.o.b+o.d.a,n.d[o.p]=0,t=o;(c=n.a[t.p])!=o;)i=jtn(t,c),0,u=n.c==(Jq(),w4n)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,a=ty(n.d[t.p])+u,n.d[c.p]=a,h=e.Math.max(h,c.d.d-a),f=e.Math.max(f,a+c.o.b+c.d.a),t=c;t=o;do{n.d[t.p]=ty(n.d[t.p])+h,t=n.a[t.p]}while(t!=o);n.b[o.p]=h+f}}function tmn(n){var t,i,r,c,a,u,o,s,h,f,l;for(n.b=!1,f=JTn,o=ZTn,l=JTn,s=ZTn,i=n.e.a.ec().Kc();i.Ob();)for(r=(t=Yx(i.Pb(),266)).a,f=e.Math.min(f,r.c),o=e.Math.max(o,r.c+r.b),l=e.Math.min(l,r.d),s=e.Math.max(s,r.d+r.a),a=new pb(t.c);a.a=($z(c,n.c.length),Yx(n.c[c],200)).e,!((s=omn(i,f,!1).a)>t.b&&!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,pY(e,Don(e,s))):(san(e.q,u),e.c=!0),pY(i,r-(e.s+e.r)),Qen(i,e.q.e+e.q.d,t.f),c0(t,i),n.c.length>c&&(acn(($z(c,n.c.length),Yx(n.c[c],200)),i),0==($z(c,n.c.length),Yx(n.c[c],200)).a.c.length&&KV(n,c)),h=!0),h))}function rmn(n,t,e,i){var r,c,a,u,o,s,h;if(h=dwn(n.e.Tg(),t),r=0,c=Yx(n.g,119),o=null,TT(),Yx(t,66).Oj()){for(u=0;u0?n.i:0)>t&&s>0&&(a=0,u+=s+n.i,c=e.Math.max(c,b),r+=s+n.i,s=0,b=0,i&&(++l,eD(n.n,new gG(n.s,u,n.i))),o=0),b+=h.g+(o>0?n.i:0),s=e.Math.max(s,h.f),i&&Cin(Yx(TR(n.n,l),211),h),a+=h.g+(o>0?n.i:0),++o;return c=e.Math.max(c,b),r+=s,i&&(n.r=c,n.d=r,Trn(n.j)),new mH(n.s,n.t,c,r)}function smn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(oE(),B_(n,"src"),B_(e,"dest"),l=V5(n),o=V5(e),kD(0!=(4&l.i),"srcType is not an array"),kD(0!=(4&o.i),"destType is not an array"),f=l.c,a=o.c,kD(0!=(1&f.i)?f==a:0==(1&a.i),"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw hp(new Cp);if(0==(1&f.i)&&l!=o)if(h=h1(n),c=h1(e),iI(n)===iI(e)&&ti;)DF(c,u,h[--t]);else for(u=i+r;i0&&hhn(n,t,e,i,r,!0)}function hmn(){hmn=O,mFn=x4(Gy(Wot,1),MTn,25,15,[nTn,1162261467,zEn,1220703125,362797056,1977326743,zEn,387420489,UTn,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,zEn,1291467969,1544804416,1838265625,60466176]),yFn=x4(Gy(Wot,1),MTn,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function fmn(n,t){var e,i,r,c,a;if(a=Yx(t,136),xln(n),xln(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=VQ(Wot,MTn,25,a.b.length,15,1),void smn(a.b,0,n.b,0,a.b.length);for(c=VQ(Wot,MTn,25,n.b.length+a.b.length,15,1),e=0,i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0&&(!(r=(!n.n&&(n.n=new m_(act,n,1,7)),Yx(c1(n.n,0),137)).a)||yI(yI((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new AN(Zrt,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",yI(t,lA(new Ty,new UO(n.b))),e&&(t.a+="]"),t.a+=pIn,e&&(t.a+="["),yI(t,lA(new Ty,new UO(n.c))),e&&(t.a+="]"),t.a)}function wmn(n,t){var e,i,r,c,a,u,o;if(n.a){if(o=null,null!=(u=n.a.ne())?t.a+=""+u:null!=(a=n.a.Dj())&&(-1!=(c=VI(a,gun(91)))?(o=a.substr(c),t.a+=""+l$(null==a?aEn:(vB(a),a),0,c)):t.a+=""+a),n.d&&0!=n.d.i){for(r=!0,t.a+="<",i=new UO(n.d);i.e!=i.i.gc();)e=Yx(hen(i),87),r?r=!1:t.a+=tEn,wmn(e,t);t.a+=">"}null!=o&&(t.a+=""+o)}else n.e?null!=(u=n.e.zb)&&(t.a+=""+u):(t.a+="?",n.b?(t.a+=" super ",wmn(n.b,t)):n.f&&(t.a+=" extends ",wmn(n.f,t)))}function dmn(n,t,e,i){var r,c,a,u,o,s;if(c=X9(i),!ny(hL(Aun(i,(gjn(),q1n))))&&!ny(hL(Aun(n,P1n)))||dC(Yx(Aun(n,g0n),98)))switch(ZG(u=new Ion,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,Hon(s,0,0,n.o.a,n.o.b),whn(u,Tpn(u,c))):(r=G7(c),whn(u,e==(h0(),i3n)?r:O9(r))),a=Yx(Aun(i,(Ojn(),bQn)),21),o=u.j,c.g){case 2:case 1:(o==(Ikn(),Tit)||o==Bit)&&a.Fc((edn(),OVn));break;case 4:case 3:(o==(Ikn(),Eit)||o==qit)&&a.Fc((edn(),OVn))}else r=G7(c),u=vpn(n,e,e==(h0(),i3n)?r:O9(r));return u}function gmn(n,t,i){var r,c,a,u,o,s,h;return e.Math.abs(t.s-t.c)h?new wz((iQ(),_4n),i,t,s-h):s>0&&h>0&&(new wz((iQ(),_4n),t,i,0),new wz(_4n,i,t,0))),a)}function pmn(n,t){var i,r,c,a,u;for(u=new t6(new Ql(n.f.b).a);u.b;){if(c=Yx((a=s1(u)).cd(),594),1==t){if(c.gf()!=(t9(),eet)&&c.gf()!=Jtt)continue}else if(c.gf()!=(t9(),Ztt)&&c.gf()!=net)continue;switch(r=Yx(Yx(a.dd(),46).b,81),i=Yx(Yx(a.dd(),46).a,189).c,c.gf().g){case 2:r.g.c=n.e.a,r.g.b=e.Math.max(1,r.g.b+i);break;case 1:r.g.c=r.g.c+i,r.g.b=e.Math.max(1,r.g.b-i);break;case 4:r.g.d=n.e.b,r.g.a=e.Math.max(1,r.g.a+i);break;case 3:r.g.d=r.g.d+i,r.g.a=e.Math.max(1,r.g.a-i)}}}function vmn(n,t){var e,i,r,c,a,u,o,s,f,l,b;for(i=new $K(bA(lbn(t).a.Kc(),new h));Vfn(i);)CO(c1((!(e=Yx(kV(i),79)).b&&(e.b=new AN(Zrt,e,4,7)),e.b),0),186)||(o=iun(Yx(c1((!e.c&&(e.c=new AN(Zrt,e,5,8)),e.c),0),82)),Rfn(e)||(a=t.i+t.g/2,u=t.j+t.f/2,f=o.i+o.g/2,l=o.j+o.f/2,(b=new Pk).a=f-a,b.b=l-u,Ecn(c=new QS(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,u=l-b.b,Ecn(s=new QS(b.a,b.b),o.g,o.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=u+b.b,x1(r=Ywn(e,!0,!0),a),R1(r,u),O1(r,f),D1(r,l),vmn(n,o)))}function mmn(n){uT(n,new tun(rk(nk(ik(ek(new du,J$n),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new tu))),DU(n,J$n,Z$n,oen(x9n)),DU(n,J$n,nLn,oen($9n)),DU(n,J$n,tLn,oen(A9n)),DU(n,J$n,eLn,oen(C9n)),DU(n,J$n,iLn,oen(O9n)),DU(n,J$n,fPn,I9n),DU(n,J$n,LPn,8),DU(n,J$n,rLn,oen(N9n)),DU(n,J$n,cLn,oen(T9n)),DU(n,J$n,aLn,oen(M9n)),DU(n,J$n,oAn,(TA(),!1))}function ymn(n,t,e){var i,r,c,a,u,o,s,h;return i=n.a.o==(RG(),m4n)?JTn:ZTn,!(u=xpn(n,new TS(t,e))).a&&u.c?(KD(n.d,u),i):u.a?(r=u.a.c,o=u.a.d,e?(s=n.a.c==(Jq(),d4n)?o:r,c=n.a.c==d4n?r:o,a=n.a.g[c.i.p],h=ty(n.a.p[a.p])+ty(n.a.d[c.i.p])+c.n.b+c.a.b-ty(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(Jq(),w4n)?o:r,c=n.a.c==w4n?r:o,h=ty(n.a.p[n.a.g[c.i.p].p])+ty(n.a.d[c.i.p])+c.n.b+c.a.b-ty(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(TA(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h):i}function kmn(n,t,e){var i,r,c,a,u,o,s;if(Lwn(n.e,t))TT(),kfn((u=Yx(t,66).Oj()?new cR(t,n):new VP(t,n)).c,u.b),TO(u,Yx(e,14));else{for(s=dwn(n.e.Tg(),t),i=Yx(n.g,119),c=0;cn.o.b)return!1;if(e=i7(n,Eit),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function Smn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return e=Gz(n.a[0],uMn),i=Gz(t.a[0],uMn),a==o?(w=WR(h=t7(e,i)),0==(b=WR(UK(h,32)))?new wQ(a,w):new C_(a,2,x4(Gy(Wot,1),MTn,25,15,[w,b]))):Utn(a<0?n7(i,e):n7(e,i));if(a==o)l=a,f=c>=u?WQ(n.a,c,t.a,u):WQ(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:w6(n.a,t.a,c)))return bdn(),pFn;1==r?(l=a,f=GV(n.a,c,t.a,u)):(l=o,f=GV(t.a,u,n.a,c))}return SU(s=new C_(l,f.length,f)),s}function Pmn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w;return l=ny(hL(Aun(t,(gjn(),G1n)))),b=null,a==(h0(),e3n)&&r.c.i==i?b=r.c:a==i3n&&r.d.i==i&&(b=r.d),(h=u)&&l&&!b?(eD(h.e,r),w=e.Math.max(ty(fL(Aun(h.d,y1n))),ty(fL(Aun(r,y1n)))),b5(h.d,y1n,w)):(Ikn(),f=Hit,b?f=b.j:dC(Yx(Aun(i,g0n),98))&&(f=a==e3n?qit:Eit),s=function(n,t,e,i,r,c){var a,u,o,s,h,f;return a=null,s=i==(h0(),e3n)?c.c:c.d,o=X9(t),s.i==e?(a=Yx(BF(n.b,s),10))||(b5(a=Jkn(s,Yx(Aun(e,(gjn(),g0n)),98),r,function(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=ny(hL(Aun(u=n.i,(gjn(),I1n)))),h=0,i=0,s=new pb(n.g);s.a=n.b[r+1])r+=2;else{if(!(e=eMn?pI(e,U9(i)):KF(e,i&fTn),c=new nG(10,null,0),function(n,t,e){i_(e,n.a.c.length),QW(n.a,e,t)}(n.a,c,a-1)):(c.bm().length,pI(e=new Oy,c.bm())),0==t.e?(i=t._l())>=eMn?pI(e,U9(i)):KF(e,i&fTn):pI(e,t.bm()),Yx(c,521).b=e.a):Up(n.a,t);else for(r=0;r0&&k8(r,-6)>=0){if(k8(r,0)>=0){for(c=e+WR(r),u=h-1;u>=c;u--)f[u+1]=f[u];return f[++c]=46,o&&(f[--e]=45),Vnn(f,e,h-e+1)}for(a=2;LT(a,t7(sJ(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,o&&(f[--e]=45),Vnn(f,e,h-e)}return w=e+1,i=h,l=new $y,o&&(l.a+="-"),i-w>=1?(_F(l,f[e]),l.a+=".",l.a+=Vnn(f,e+1,h-e-1)):l.a+=Vnn(f,e,h-e),l.a+="E",k8(r,0)>0&&(l.a+="+"),l.a+=""+HK(r),l.a}(D3(n.f),oG(n.e)),n.g):(r=pjn((!n.c&&(n.c=J6(n.f)),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=J6(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new Ay).a+=""+r,n.e>0&&i>=-6?i>=0?UG(c,e-oG(n.e),String.fromCharCode(46)):(c.a=l$(c.a,0,t-1)+"0."+lI(c.a,t-1),UG(c,t+1,Vnn(rFn,0,-oG(i)-1))):(e-t>=1&&(UG(c,t,String.fromCharCode(46)),++e),UG(c,e,String.fromCharCode(69)),i>0&&UG(c,++e,String.fromCharCode(43)),UG(c,++e,""+HK(D3(i)))),n.g=c.a,n.g))}function _mn(n,t,i){var r,c,a;if((c=Yx(Aun(t,(gjn(),BZn)),275))!=(uon(),mVn)){switch(run(i,"Horizontal Compaction",1),n.a=t,function(n,t){n.g=t}(r=new wfn(((a=new dJ).d=t,a.c=Yx(Aun(a.d,b1n),218),function(n){var t,e,i,r,c,a,u;for(t=!1,e=0,r=new pb(n.d.b);r.a0&&Y4(o,!0,(t9(),net)),a.k==(bon(),_zn)&&QB(o),xB(n.f,a,t)):((s=(i=Yx(fq(a7(a)),17)).c.i)==a&&(s=i.d.i),f=new mP(s,yN(dO(a.n),s.n)),xB(n.b,a,f))}(a),Fdn(a),a.a)),n.b),1===Yx(Aun(t,FZn),422).g?Uy(r,new a2(n.a)):Uy(r,(VH(),MBn)),c.g){case 1:_ln(r);break;case 2:_ln(ekn(r,(t9(),net)));break;case 3:_ln(zy(ekn(_ln(r),(t9(),net)),new gr));break;case 4:_ln(zy(ekn(_ln(r),(t9(),net)),new Gw(a)));break;case 5:_ln(function(n,t){return n.b=t,n}(r,IXn))}ekn(r,(t9(),Ztt)),r.e=!0,function(n){var t,i,r,c;for(SE(hH(new SR(null,new Nz(n.a.b,16)),new yr),new kr),function(n){var t,e,i,r,c;for(i=new t6(new Ql(n.b).a);i.b;)t=Yx((e=s1(i)).cd(),10),c=Yx(Yx(e.dd(),46).a,10),r=Yx(Yx(e.dd(),46).b,8),mN(OI(t.n),mN(dO(c.n),r))}(n),SE(hH(new SR(null,new Nz(n.a.b,16)),new jr),new Er),n.c==(g7(),bet)&&(SE(hH(WJ(new SR(null,new Nz(new Yl(n.f),1)),new Tr),new Mr),new Ww(n)),SE(hH(fH(WJ(WJ(new SR(null,new Nz(n.d.b,16)),new Sr),new Pr),new Ir),new Cr),new Qw(n))),c=new QS(JTn,JTn),t=new QS(ZTn,ZTn),r=new pb(n.a.b);r.a1&&(s=h.mg(s,n.a,o));return 1==s.c.length?Yx(TR(s,s.c.length-1),220):2==s.c.length?function(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p;return a=n.f,f=t.f,u=a==(xbn(),V8n)||a==Y8n,o=a==Q8n||a==V8n,l=f==Q8n||f==V8n,!u||f!=V8n&&f!=Y8n?a!=Q8n&&a!=J8n||f!=Q8n&&f!=J8n?o&&l?(a==Q8n?(h=n,s=t):(h=t,s=n),b=i.j+i.f,w=h.e+r.f,d=e.Math.max(b,w)-e.Math.min(i.j,h.e),c=(h.d+r.g-i.i)*d,g=i.i+i.g,p=s.d+r.g,c<=(e.Math.max(g,p)-e.Math.min(i.i,s.d))*(s.e+r.f-i.j)?n.f==Q8n?n:t:n.f==V8n?n:t):n:n.f==J8n?n:t:n.f==Y8n?n:t}(($z(0,s.c.length),Yx(s.c[0],220)),($z(1,s.c.length),Yx(s.c[1],220)),u,a):null}function Bmn(n){var t,i,r,c,a,u;for(WZ(n.a,new nt),i=new pb(n.a);i.a=e.Math.abs(r.b)?(r.b=0,a.d+a.a>u.d&&a.du.c&&a.c0){if(t=new QP(n.i,n.g),c=(e=n.i)<100?null:new Ek(e),n.ij())for(i=0;i0){for(u=n.g,s=n.i,xV(n),c=s<100?null:new Ek(s),i=0;i4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=Yx(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg())for(r=0;r0)if(t=new t3(n.Gi()),c=(e=h)<100?null:new Ek(e),NL(n,e,t.g),r=1==e?n.Zi(4,c1(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new UO(t);i.e!=i.i.gc();)c=n.dj(hen(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r);else NL(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(XH(),TFn),null,-1,o));else if(n.bj())if((h=n.Vi())>0){for(u=n.Wi(),s=h,NL(n,h,u),c=s<100?null:new Ek(s),i=0;i2*c?(h=new e1(f),s=DR(a)/xR(a),o=njn(h,t,new Sv,e,i,r,s),mN(OI(h.e),o),f.c=VQ(UKn,iEn,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=DR(h)*xR(h)+DR(a)*xR(a)):(f.c[f.c.length]=a,c+=DR(a)*xR(a));return f}(u,t,f.a,f.b,(s=r,vB(c),s));break;case 1:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(XH(),JC(n,new zu),a=nD(n),b=new ip,l=new ip,u=null,o=0;0!=a.b;)c=Yx(0==a.b?null:(S$(0!=a.b),VZ(a,a.a.a)),157),!u||DR(u)*xR(u)/21&&(o>DR(u)*xR(u)/2||0==a.b)&&(f=new e1(l),h=DR(u)/xR(u),s=njn(f,t,new Sv,e,i,r,h),mN(OI(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=VQ(UKn,iEn,1,0,5,1)));return S4(b,l),b}(u,t,f.a,f.b,(h=r,vB(c),h));break;default:w=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=VQ(Jot,rMn,25,n.c.length,15,1),Xrn(l=new h_(new Uu),n),s=0,b=new ip;0!=l.b.c.length;)if(a=Yx(0==l.b.c.length?null:TR(l.b,0),157),s>1&&DR(a)*xR(a)/2>u[0]){for(c=0;cu[c];)++c;f=new e1(new Oz(b,0,c+1)),h=DR(a)/xR(a),o=njn(f,t,new Sv,e,i,r,h),mN(OI(f.e),o),JQ(mun(l,f)),Xrn(l,new Oz(b,c+1,b.c.length)),b.c=VQ(UKn,iEn,1,0,5,1),s=0,nK(u,u.length,0)}else null!=(0==l.b.c.length?null:TR(l.b,0))&&e2(l,0),s>0&&(u[s]=u[s-1]),u[s]+=DR(a)*xR(a),++s,b.c[b.c.length]=a;return b}(u,t,f.a,f.b,(o=r,vB(c),o))}xkn(n,(b=njn(new e1(w),t,i,f.a,f.b,r,(vB(c),c))).a,b.b,!1,!0)}function Qmn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(c=0,a=0,s=new pb(n.a);s.a.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=u.d.b)&&(p=r),d=u.d.c,p>g.a-d-h&&(p=g.a-d-h),u.n.a=t+p}}function Ymn(n,t){var e,i,r,c,a,u,o,s,h;return s="",0==t.length?n.de(oTn,aTn,-1,-1):(_N((h=Wun(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=Wun(h.substr(a+1)),h=Wun(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=Wun(h.substr(0,a))),-1!=(a=VI(h,gun(46)))&&(h=h.substr(a+1)),(0==h.length||_N(h,"Anonymous function"))&&(h=aTn),u=LA(s,gun(58)),r=qN(s,gun(58),u-1),o=-1,i=-1,c=oTn,-1!=u&&-1!=r&&(c=s.substr(0,r),o=f$(s.substr(r+1,u-(r+1))),i=f$(s.substr(u+1))),n.de(c,h,o,i))}function Jmn(n,t,e){var i,r,c,a,u,o;if(0==t.l&&0==t.m&&0==t.h)throw hp(new Bm("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return e&&(P_n=rO(0,0,0)),rO(0,0,0);if(t.h==qTn&&0==t.m&&0==t.l)return function(n,t){return n.h==qTn&&0==n.m&&0==n.l?(t&&(P_n=rO(0,0,0)),JI((LJ(),O_n))):(t&&(P_n=rO(n.l,n.m,n.h)),rO(0,0,0))}(n,e);if(o=!1,t.h>>19!=0&&(t=h5(t),o=!o),a=function(n){var t,e,i;return 0!=((e=n.l)&e-1)||0!=((i=n.m)&i-1)||0!=((t=n.h)&t-1)||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?m0(e):0==t&&0!=i&&0==e?m0(i)+22:0!=t&&0==i&&0==e?m0(t)+44:-1}(t),c=!1,r=!1,i=!1,n.h==qTn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=tln(n,a),o&&A5(u),e&&(P_n=rO(0,0,0)),u;n=JI((LJ(),I_n)),i=!0,o=!o}else n.h>>19!=0&&(c=!0,n=h5(n),i=!0,o=!o);return-1!=a?_5(n,a,o,c,e):gcn(n,t)<0?(e&&(P_n=c?h5(n):rO(n.l,n.m,n.h)),rO(0,0,0)):function(n,t,e,i,r,c){var a,u,o,s,h,f;for(a=don(t,o=E5(t)-E5(n)),u=rO(0,0,0);o>=0&&(!Irn(n,a)||(o<22?u.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&A5(u),c&&(i?(P_n=h5(n),r&&(P_n=y4(P_n,(LJ(),O_n)))):P_n=rO(n.l,n.m,n.h)),u}(i?n:rO(n.l,n.m,n.h),t,o,c,r,e)}function Zmn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(n.e&&n.c.ct.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=Yx(a.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=Yx(u.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=Yx(o.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=Yx(c.Pb(),11),V6($5(x4(Gy(B7n,1),TEn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return r=function(n,t){var e;if(CO(e=Ybn(n.Tg(),t),99))return Yx(e,18);throw hp(new Qm(mNn+t+"' is not a valid reference"))}(n,t.substr(1,c-1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(o=new ip,f=t.length,a=O5(e),s=0;s=0?n._g(s,!1,!0):tfn(n,e,!1),58).Kc();c.Ob();){for(r=Yx(c.Pb(),56),h=0;h=0){i=Yx(TV(n,UZ(n,t.substr(1,e-1)),!1),58),o=0;try{o=ipn(t.substr(e+1),nTn,Yjn)}catch(n){throw CO(n=j4(n),127)?hp(new mJ(n)):hp(n)}if(o=0)return e;switch(TB(PJ(n,e))){case 2:if(_N("",U8(n,e.Hj()).ne())){if(o=$ln(n,t,u=tH(PJ(n,e)),nH(PJ(n,e))))return o;for(a=0,s=(r=Agn(n,t)).gc();a1,h=new UV(b.b);ZC(h.a)||ZC(h.b);)l=(s=Yx(ZC(h.a)?Hz(h.a):Hz(h.b),17)).c==b?s.d:s.c,e.Math.abs($5(x4(Gy(B7n,1),TEn,8,0,[l.i.n,l.n,l.a])).b-u.b)>1&&jwn(n,s,u,a,b)}}function ayn(){ayn=O,$ut=(_k(),Aut).b,xut=Yx(c1(aq(Aut.b),0),34),Lut=Yx(c1(aq(Aut.b),1),34),Nut=Yx(c1(aq(Aut.b),2),34),zut=Aut.bb,Yx(c1(aq(Aut.bb),0),34),Yx(c1(aq(Aut.bb),1),34),Xut=Aut.fb,Wut=Yx(c1(aq(Aut.fb),0),34),Yx(c1(aq(Aut.fb),1),34),Yx(c1(aq(Aut.fb),2),18),Qut=Aut.qb,Zut=Yx(c1(aq(Aut.qb),0),34),Yx(c1(aq(Aut.qb),1),18),Yx(c1(aq(Aut.qb),2),18),Yut=Yx(c1(aq(Aut.qb),3),34),Jut=Yx(c1(aq(Aut.qb),4),34),tot=Yx(c1(aq(Aut.qb),6),34),not=Yx(c1(aq(Aut.qb),5),18),Dut=Aut.j,Rut=Aut.k,Kut=Aut.q,_ut=Aut.w,Fut=Aut.B,But=Aut.A,Hut=Aut.C,qut=Aut.D,Gut=Aut._,Uut=Aut.cb,Vut=Aut.hb}function uyn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,j6(n,null)):(n.F=(vB(t),t),-1!=(i=VI(t,gun(60)))?(r=t.substr(0,i),-1==VI(t,gun(46))&&!_N(r,Xjn)&&!_N(r,BDn)&&!_N(r,HDn)&&!_N(r,qDn)&&!_N(r,GDn)&&!_N(r,zDn)&&!_N(r,UDn)&&!_N(r,XDn)&&(r=WDn),-1!=(e=LA(t,gun(62)))&&(r+=""+t.substr(e+1)),j6(n,r)):(r=t,-1==VI(t,gun(46))&&(-1!=(i=VI(t,gun(91)))&&(r=t.substr(0,i)),_N(r,Xjn)||_N(r,BDn)||_N(r,HDn)||_N(r,qDn)||_N(r,GDn)||_N(r,zDn)||_N(r,UDn)||_N(r,XDn)?r=t:(r=WDn,-1!=i&&(r+=""+t.substr(i)))),j6(n,r),r==t&&(n.F=n.D))),0!=(4&n.Db)&&0==(1&n.Db)&&K3(n,new p_(n,1,5,c,t))}function oyn(n,t){var e;if(null==t||_N(t,aEn))return null;if(0==t.length&&n.k!=(lsn(),A7n))return null;switch(n.k.g){case 1:return vtn(t,kLn)?(TA(),L_n):vtn(t,jLn)?(TA(),$_n):null;case 2:try{return d9(ipn(t,nTn,Yjn))}catch(n){if(CO(n=j4(n),127))return null;throw hp(n)}case 4:try{return gon(t)}catch(n){if(CO(n=j4(n),127))return null;throw hp(n)}case 3:return t;case 5:return F6(n),Ghn(n,t);case 6:return F6(n),function(n,t,e){var i,r,c,a,u,o,s;for(s=new cx(i=Yx(t.e&&t.e(),9),Yx(eN(i,i.length),9),0),a=0,u=(c=Ogn(e,"[\\[\\]\\s,]+")).length;a-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&ny(hL(t))!=hI(n.k,0);case 1:return null!=t&&Yx(t,217).a!=WR(n.k)<<24>>24;case 2:return null!=t&&Yx(t,172).a!=(WR(n.k)&fTn);case 6:return null!=t&&hI(Yx(t,162).a,n.k);case 5:return null!=t&&Yx(t,19).a!=WR(n.k);case 7:return null!=t&&Yx(t,184).a!=WR(n.k)<<16>>16;case 3:return null!=t&&ty(fL(t))!=n.j;case 4:return null!=t&&Yx(t,155).a!=n.j;default:return null==t?null!=n.n:!Q8(t,n.n)}}function hyn(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&iI(a=u_(n,Yx(e,56)))!==iI(e)?(n.Oi(t),n.Ui(t,$Y(n,0,a)),n.rk()&&(r=Yx(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,nin(Yx(CZ(Cq(n.b),n.aj()),18)).n,Yx(CZ(Cq(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,tnn(r.Tg(),nin(Yx(CZ(Cq(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),!Yx(a,49).eh()&&(i=Yx(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,nin(Yx(CZ(Cq(n.b),n.aj()),18)).n,Yx(CZ(Cq(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,tnn(i.Tg(),nin(Yx(CZ(Cq(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),gC(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function fyn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=ty(fL(Aun(n,(gjn(),R0n)))),r=ty(fL(Aun(n,Y0n))),b5(b=new Yu,R0n,f+r),v=(h=t).d,g=h.c.i,m=h.d.i,p=eC(g.c),y=eC(m.c),c=new ip,l=p;l<=y;l++)Al(o=new rin(n),(bon(),Bzn)),b5(o,(Ojn(),CQn),h),b5(o,g0n,(Ran(),oit)),b5(o,_0n,b),w=Yx(TR(n.b,l),29),l==p?Hrn(o,w.a.c.length-i,w):JG(o,w),(k=ty(fL(Aun(h,y1n))))<0&&b5(h,y1n,k=0),o.o.b=k,d=e.Math.floor(k/2),whn(u=new Ion,(Ikn(),qit)),ZG(u,o),u.n.b=d,whn(s=new Ion,Eit),ZG(s,o),s.n.b=d,QG(h,u),o4(a=new jq,h),b5(a,$1n,null),YG(a,s),QG(a,v),jcn(o,h,a),c.c[c.c.length]=a,h=a;return c}function lyn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(u=Yx($on(n,(Ikn(),qit)).Kc().Pb(),11).e,f=Yx($on(n,Eit).Kc().Pb(),11).g,a=u.c.length,g=Dz(Yx(TR(n.j,0),11));a-- >0;){for($z(0,u.c.length),b=Yx(u.c[0],17),$z(0,f.c.length),r=hJ((i=Yx(f.c[0],17)).d.e,i,0),eX(b,i.d,r),YG(i,null),QG(i,null),l=b.a,t&&KD(l,new fC(g)),e=Ztn(i.a,0);e.b!=e.d.c;)KD(l,new fC(Yx(IX(e),8)));for(d=b.b,h=new pb(i.b);h.a0&&(u=e.Math.max(u,X2(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(w=b+n.C.c,h&&(w+=f.d.c),u=e.Math.max(u,(XC(),o0(SSn),e.Math.abs(l-1)<=SSn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),i.n.b=0,i.a.a=u}function wyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w;if(i=Yx(GB(n.b,t),124),(s=Yx(Yx(_V(n.r,t),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(h=n.u.Hc((Chn(),pit)),u=0,n.A.Hc((Ann(),nrt))&&Wdn(n,t),o=s.Kc(),f=null,b=0,l=0;o.Ob();)a=ty(fL((r=Yx(o.Pb(),111)).b.We((XA(),XHn)))),c=r.b.rf().b,f?(w=l+f.d.a+n.w+r.d.d,u=e.Math.max(u,(XC(),o0(SSn),e.Math.abs(b-a)<=SSn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(u=e.Math.max(u,X2(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(w=l+n.C.a,h&&(w+=f.d.a),u=e.Math.max(u,(XC(),o0(SSn),e.Math.abs(b-1)<=SSn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),i.n.d=0,i.a.b=u}function dyn(n,t,e){var i,r,c,a,u,o;for(this.g=n,u=t.d.length,o=e.d.length,this.d=VQ(Gzn,kIn,10,u+o,0,1),a=0;a0?u1(this,this.f/this.a):null!=NO(t.g,t.d[0]).a&&null!=NO(e.g,e.d[0]).a?u1(this,(ty(NO(t.g,t.d[0]).a)+ty(NO(e.g,e.d[0]).a))/2):null!=NO(t.g,t.d[0]).a?u1(this,NO(t.g,t.d[0]).a):null!=NO(e.g,e.d[0]).a&&u1(this,NO(e.g,e.d[0]).a)}function gyn(n,t){var e,i,r,c,a,u,o,s,h;for(n.a=new HF(function(n){var t;return new cx(t=Yx(n.e&&n.e(),9),Yx(rF(t,t.length),9),t.length)}(oet)),i=new pb(t.a);i.a=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,b5(n,(gjn(),n0n),(Ann(),new cx(i=Yx(Ak(lrt),9),Yx(eN(i,i.length),9),0)))}function myn(n){var t,e,i,r,c,a,u,o,s,h;for(i=new ip,a=new pb(n.e.a);a.a1)for(d=VQ(Wot,MTn,25,n.b.b.c.length,15,1),f=0,h=new pb(n.b.b);h.a=u&&r<=o)u<=r&&c<=o?(e[h++]=r,e[h++]=c,i+=2):u<=r?(e[h++]=r,e[h++]=o,n.b[i]=o+1,a+=2):c<=o?(e[h++]=u,e[h++]=c,i+=2):(e[h++]=u,e[h++]=o,n.b[i]=o+1);else{if(!(oZEn)&&o<10);Yy(n.c,new Et),jyn(n),function(n){ikn(n,(t9(),Ztt)),n.d=!0}(n.c),function(n){var t,i,r,c,a,u,o,s;for(a=new pb(n.a.b);a.a=2){for(a=Yx(IX(o=Ztn(e,0)),8),u=Yx(IX(o),8);u.a0&&eD(n.p,l),eD(n.o,l);d=s+(t-=r),f+=t*n.e,QW(n.a,o,d9(d)),QW(n.b,o,f),n.j=e.Math.max(n.j,d),n.k=e.Math.max(n.k,f),n.d+=t,t+=p}}(n),n.q=Yx(Aun(t,(gjn(),F1n)),260),l=Yx(Aun(n.g,_1n),19).a,a=new hi,n.q.g){case 2:case 1:default:Amn(n,a);break;case 3:for(n.q=(_bn(),G2n),Amn(n,a),s=0,o=new pb(n.a);o.an.j&&(n.q=K2n,Amn(n,a));break;case 4:for(n.q=(_bn(),G2n),Amn(n,a),f=0,c=new pb(n.b);c.an.k&&(n.q=B2n,Amn(n,a));break;case 6:Amn(n,new Aw(oG(e.Math.ceil(n.f.length*l/100))));break;case 5:Amn(n,new $w(oG(e.Math.ceil(n.d*l/100))))}(function(n,t){var e,i,r,c,a,u;for(r=new ip,e=0;e<=n.i;e++)(i=new qF(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new pb(n.o);u.a=e}(this.k)}function Oyn(n,t){var e,i,r,c,a,u,o,s,f;for(u=!0,r=0,o=n.f[t.p],s=t.o.b+n.n,e=n.c[t.p][2],QW(n.a,o,d9(Yx(TR(n.a,o),19).a-1+e)),QW(n.b,o,ty(fL(TR(n.b,o)))-s+e*n.e),++o>=n.i?(++n.i,eD(n.a,d9(1)),eD(n.b,s)):(i=n.c[t.p][1],QW(n.a,o,d9(Yx(TR(n.a,o),19).a+1-i)),QW(n.b,o,ty(fL(TR(n.b,o)))+s-i*n.e)),(n.q==(_bn(),K2n)&&(Yx(TR(n.a,o),19).a>n.j||Yx(TR(n.a,o-1),19).a>n.j)||n.q==B2n&&(ty(fL(TR(n.b,o)))>n.k||ty(fL(TR(n.b,o-1)))>n.k))&&(u=!1),c=new $K(bA(u7(t).a.Kc(),new h));Vfn(c);)a=Yx(kV(c),17).c.i,n.f[a.p]==o&&(r+=Yx((f=Oyn(n,a)).a,19).a,u=u&&ny(hL(f.b)));return n.f[t.p]=o,new mP(d9(r+=n.c[t.p][0]),(TA(),!!u))}function Ayn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(l=new rp,u=new ip,jhn(n,i,n.d.fg(),u,l),jhn(n,r,n.d.gg(),u,l),n.b=.2*(g=dln(WJ(new SR(null,new Nz(u,16)),new Sa)),p=dln(WJ(new SR(null,new Nz(u,16)),new Pa)),e.Math.min(g,p)),a=0,o=0;o=2&&(v=Nbn(u,!0,b),!n.e&&(n.e=new xd(n)),btn(n.e,v,u,n.b)),Han(u,b),function(n){var t,i,r,c,a,u,o,s,h;for(s=new ip,u=new ip,a=new pb(n);a.a-1){for(c=new pb(u);c.a0||(Fl(o,e.Math.min(o.o,r.o-1)),_l(o,o.i-1),0==o.i&&(u.c[u.c.length]=o))}}(u),w=-1,f=new pb(u);f.ae))}(n)&&(i=(iI(Aun(n,E1n))===iI($et)?Yx(Aun(n,YZn),292):Yx(Aun(n,JZn),292))==(r4(),DVn)?($jn(),YUn):($jn(),fXn),oR(t,($un(),nzn),i)),Yx(Aun(n,c2n),377).g){case 1:oR(t,($un(),nzn),($jn(),sXn));break;case 2:yK(oR(oR(t,($un(),ZGn),($jn(),sUn)),nzn,hUn),tzn,fUn)}return iI(Aun(n,XZn))!==iI((k5(),W2n))&&oR(t,($un(),ZGn),($jn(),hXn)),t}(t)),b5(t,_Qn,Zmn(n.a,t))}function Lyn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(h=JTn,f=JTn,o=ZTn,s=ZTn,b=new pb(t.i);b.a=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[h++]=r,e[h++]=u-1,i+=2):(e[h++]=r,e[h++]=u-1,n.b[i]=o+1,a+=2);else{if(!(o0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,o,a,h=new nY(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=o.a[1],n.b&&(n.b.b=!1),e.b}function Byn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(i)for(r=-1,f=new JU(t,0);f.b0&&0==e.c&&(!t&&(t=new ip),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=Yx(KV(t,0),233)).b&&e.b.c.length>0)for(!e.b&&(e.b=new ip),c=new pb(e.b);c.ahJ(n,e,0))return new mP(r,e)}else if(ty(NO(r.g,r.d[0]).a)>ty(NO(e.g,e.d[0]).a))return new mP(r,e);for(u=(!e.e&&(e.e=new ip),e.e).Kc();u.Ob();)!(a=Yx(u.Pb(),233)).b&&(a.b=new ip),iz(0,(o=a.b).c.length),GT(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}function qyn(n,t){var e,i,r,c,a,u;if(null==n)return aEn;if(null!=t.a.zc(n,t))return"[...]";for(e=new J3(tEn,"[","]"),c=0,a=(r=n).length;c=14&&u<=16?CO(i,177)?HV(e,ohn(Yx(i,177))):CO(i,190)?HV(e,Kan(Yx(i,190))):CO(i,195)?HV(e,jon(Yx(i,195))):CO(i,2012)?HV(e,_an(Yx(i,2012))):CO(i,48)?HV(e,uhn(Yx(i,48))):CO(i,364)?HV(e,Ahn(Yx(i,364))):CO(i,832)?HV(e,ahn(Yx(i,832))):CO(i,104)&&HV(e,chn(Yx(i,104))):t.a._b(i)?(e.a?yI(e.a,e.b):e.a=new SA(e.d),vI(e.a,"[...]")):HV(e,qyn(h1(i),new kR(t))):HV(e,null==i?aEn:I7(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function Gyn(n,t,i,r){var c,a,u,o,s,h,f,l,b,w,d,g;for(w=Kon(Ywn(t,!1,!1)),r&&(w=U5(w)),g=ty(fL(jln(t,(len(),Aqn)))),S$(0!=w.b),b=Yx(w.a.a.c,8),h=Yx(ken(w,1),8),w.b>2?(S4(s=new ip,new Oz(w,1,w.b)),o4(d=new eln(yjn(s,g+n.a)),t),i.c[i.c.length]=d):d=Yx(BF(n.b,r?Kun(t):Bun(t)),266),u=Kun(t),r&&(u=Bun(t)),a=function(n,t){var i,r,c;return c=wPn,Pen(),r=bqn,c=e.Math.abs(n.b),(i=e.Math.abs(t.f-n.b))>16==-10?e=Yx(n.Cb,284).nk(t,e):n.Db>>16==-15&&(!t&&(xjn(),t=Pat),!u&&(xjn(),u=Pat),n.Cb.nh()&&(a=new yJ(n.Cb,1,13,u,t,Ren(IJ(Yx(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(CO(n.Cb,88))n.Db>>16==-23&&(CO(t,88)||(xjn(),t=Oat),CO(u,88)||(xjn(),u=Oat),n.Cb.nh()&&(a=new yJ(n.Cb,1,10,u,t,Ren(tW(Yx(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(CO(n.Cb,444))for(!(c=Yx(n.Cb,836)).b&&(c.b=new Xg(new Wv)),r=new Wg(new t6(new Ql(c.b.a).a));r.a.b;)e=zyn(i=Yx(s1(r.a).cd(),87),dbn(i,c),e);return e}function Uyn(n){var t,i,r,c,a,u,o,s,h,f,l,b;if((b=Yx(jln(n,(Cjn(),Jnt)),21)).dc())return null;if(o=0,u=0,b.Hc((Ann(),Zit))){for(f=Yx(jln(n,ktt),98),r=2,i=2,c=2,a=2,t=IG(n)?Yx(jln(IG(n),Pnt),103):Yx(jln(n,Pnt),103),h=new UO((!n.c&&(n.c=new m_(oct,n,9,9)),n.c));h.e!=h.i.gc();)if(s=Yx(hen(h),118),(l=Yx(jln(s,Itt),61))==(Ikn(),Hit)&&(l=Zpn(s,t),Aen(s,Itt,l)),f==(Ran(),oit))switch(l.g){case 1:r=e.Math.max(r,s.i+s.g);break;case 2:i=e.Math.max(i,s.j+s.f);break;case 3:c=e.Math.max(c,s.i+s.g);break;case 4:a=e.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:i+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}o=e.Math.max(r,c),u=e.Math.max(i,a)}return xkn(n,o,u,!0,!0)}function Xyn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(m=Yx(kW(HZ(hH(new SR(null,new Nz(t.d,16)),new td(i)),new ed(i)),mY(new H,new B,new rn,x4(Gy(wBn,1),XEn,132,0,[(C6(),aBn)]))),15),l=Yjn,f=nTn,s=new pb(t.b.j);s.a0)?s&&(h=d.p,a?++h:--h,f=!(Rbn(i=o5(Yx(TR(d.c.a,h),10)),y,e[0])||r_(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p0&&(t.a+=tEn),Jyn(Yx(hen(a),160),t);for(t.a+=pIn,u=new a$((!i.c&&(i.c=new AN(Zrt,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=tEn),Jyn(Yx(hen(u),160),t);t.a+=")"}}}function Zyn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(c=Yx(Aun(n,(Ojn(),CQn)),79)){for(i=n.a,mN(r=new fC(e),function(n){var t,e,i,r;if(r=Yx(Aun(n,(Ojn(),nQn)),37)){for(i=new Pk,t=dB(n.c.i);t!=r;)t=dB(e=t.e),$$(mN(mN(i,e.n),t.c),t.d.b,t.d.d);return i}return nUn}(n)),_3(n.d.i,n.c.i)?(l=n.c,yN(f=$5(x4(Gy(B7n,1),TEn,8,0,[l.n,l.a])),e)):f=Dz(n.c),VW(i,f,i.a,i.a.a),b=Dz(n.d),null!=Aun(n,YQn)&&mN(b,Yx(Aun(n,YQn),8)),VW(i,b,i.c.b,i.c),o1(i,r),L0(a=Ywn(c,!0,!0),Yx(c1((!c.b&&(c.b=new AN(Zrt,c,4,7)),c.b),0),82)),N0(a,Yx(c1((!c.c&&(c.c=new AN(Zrt,c,5,8)),c.c),0),82)),wvn(i,a),h=new pb(n.b);h.aa?1:QI(isNaN(0),isNaN(a)))<0&&(o0(UAn),(e.Math.abs(a-1)<=UAn||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:QI(isNaN(a),isNaN(1)))<0)&&(o0(UAn),(e.Math.abs(0-u)<=UAn||0==u||isNaN(0)&&isNaN(u)?0:0u?1:QI(isNaN(0),isNaN(u)))<0)&&(o0(UAn),(e.Math.abs(u-1)<=UAn||1==u||isNaN(u)&&isNaN(1)?0:u<1?-1:u>1?1:QI(isNaN(u),isNaN(1)))<0))}function tkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;if(p=function(n,t,e){var i,r,c,a,u,o,s,h;for(h=new ip,c=0,c0(s=new dU(0,e),new n6(0,0,s,e)),r=0,o=new UO(n);o.e!=o.i.gc();)u=Yx(hen(o),33),i=Yx(TR(s.a,s.a.c.length-1),187),r+u.g+(0==Yx(TR(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,c0(s=new dU(c,e),i=new n6(0,s.f,s,e)),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?l7(i,u):(c0(s,a=new n6(i.s+i.r+e,s.f,s,e)),l7(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}(t,i,n.g),c.n&&c.n&&a&&nU(c,RU(a),(P6(),jrt)),n.b)for(g=0;g0?n.g:0),++i;n.c=c,n.d=r}(n,p),c.n&&c.n&&a&&nU(c,RU(a),(P6(),jrt)),m=e.Math.max(n.d,r.a-(u.b+u.c)),o=(l=e.Math.max(n.c,r.b-(u.d+u.a)))-n.c,n.e&&n.f&&(m/l0&&(n.c[t.c.p][t.p].d+=Xln(n.i,24)*jMn*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function okn(n,t,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E;for(E=0,w=0,l=new pb(t.e);l.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o));if(i)for(u=new pb(m.e);u.a=h&&j>=p&&(b+=d.n.b+g.n.b+g.a.b-k,++o))}o>0&&(E+=b/o,++w)}w>0?(t.a=c*E/w,t.g=w):(t.a=0,t.g=0)}function skn(n,t){var i,r,c,a,u,o,s,h,f,l;for(r=new pb(n.a.b);r.aZTn||t.o==v4n&&hr.d,r.d=e.Math.max(r.d,t),o&&i&&(r.d=e.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:i=t>r.a,r.a=e.Math.max(r.a,t),o&&i&&(r.a=e.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:i=t>r.c,r.c=e.Math.max(r.c,t),o&&i&&(r.c=e.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:i=t>r.b,r.b=e.Math.max(r.b,t),o&&i&&(r.b=e.Math.max(r.b,r.c),r.c=r.b+c)}}}(o),function(n){switch(n.q.g){case 5:Rcn(n,(Ikn(),Tit)),Rcn(n,Bit);break;case 4:byn(n,(Ikn(),Tit)),byn(n,Bit);break;default:Tsn(n,(Ikn(),Tit)),Tsn(n,Bit)}}(o),function(n){switch(n.q.g){case 5:Kcn(n,(Ikn(),Eit)),Kcn(n,qit);break;case 4:wyn(n,(Ikn(),Eit)),wyn(n,qit);break;default:Msn(n,(Ikn(),Eit)),Msn(n,qit)}}(o),function(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc((Ann(),Zit))&&(Yx(GB(n.b,(Ikn(),Tit)),124).k=!0,Yx(GB(n.b,Bit),124).k=!0,t=n.q!=(Ran(),sit)&&n.q!=oit,Il(Yx(GB(n.b,Eit),124),t),Il(Yx(GB(n.b,qit),124),t),Il(n.g,t),n.A.Hc(nrt)&&(Yx(GB(n.b,Tit),124).j=!0,Yx(GB(n.b,Bit),124).j=!0,Yx(GB(n.b,Eit),124).k=!0,Yx(GB(n.b,qit),124).k=!0,n.g.k=!0)),n.A.Hc(Jit))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((Vgn(),ort)),c=0,a=(r=Xtn()).length;c0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}b5(n,(Ojn(),KQn),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=fit&&t!=lit&&u!=Hit)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}(s,c,r,Yx(jln(t,w0n),8)),o=new UO((!t.n&&(t.n=new m_(act,t,1,7)),t.n));o.e!=o.i.gc();)!ny(hL(jln(u=Yx(hen(o),137),r0n)))&&u.a&&eD(s.f,d8(u));switch(r.g){case 2:case 1:(s.j==(Ikn(),Tit)||s.j==Bit)&&i.Fc((edn(),OVn));break;case 4:case 3:(s.j==(Ikn(),Eit)||s.j==qit)&&i.Fc((edn(),OVn))}return s}function gkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m;for(l=null,r==(Yq(),X4n)?l=t:r==W4n&&(l=i),d=l.a.ec().Kc();d.Ob();){for(w=Yx(d.Pb(),11),g=$5(x4(Gy(B7n,1),TEn,8,0,[w.i.n,w.n,w.a])).b,m=new Qp,o=new Qp,h=new UV(w.b);ZC(h.a)||ZC(h.b);)if(ny(hL(Aun(s=Yx(ZC(h.a)?Hz(h.a):Hz(h.b),17),(Ojn(),HQn))))==c&&-1!=hJ(a,s,0)){if(p=s.d==w?s.c:s.d,v=$5(x4(Gy(B7n,1),TEn,8,0,[p.i.n,p.n,p.a])).b,e.Math.abs(v-g)<.2)continue;v1)for(XW(m,new PS(n,b=new qmn(w,m,r))),u.c[u.c.length]=b,f=m.a.ec().Kc();f.Ob();)uJ(a,Yx(f.Pb(),46).b);if(o.a.gc()>1)for(XW(o,new IS(n,b=new qmn(w,o,r))),u.c[u.c.length]=b,f=o.a.ec().Kc();f.Ob();)uJ(a,Yx(f.Pb(),46).b)}}function pkn(n){uT(n,new tun(tk(rk(nk(ik(ek(new du,C$n),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Ha),C$n))),DU(n,C$n,AAn,oen(V6n)),DU(n,C$n,LPn,oen(J6n)),DU(n,C$n,HPn,oen(H6n)),DU(n,C$n,eIn,oen(q6n)),DU(n,C$n,BPn,oen(G6n)),DU(n,C$n,qPn,oen(B6n)),DU(n,C$n,FPn,oen(z6n)),DU(n,C$n,GPn,oen(W6n)),DU(n,C$n,M$n,oen(_6n)),DU(n,C$n,T$n,oen(F6n)),DU(n,C$n,I$n,oen(U6n)),DU(n,C$n,j$n,oen(X6n)),DU(n,C$n,E$n,oen(Q6n)),DU(n,C$n,S$n,oen(Y6n)),DU(n,C$n,P$n,oen(Z6n))}function vkn(n){var t;if(this.r=function(n,t){return new Mq(Yx(MF(n),62),Yx(MF(t),62))}(new Pn,new In),this.b=new C7(Yx(MF(trt),290)),this.p=new C7(Yx(MF(trt),290)),this.i=new C7(Yx(MF(JHn),290)),this.e=n,this.o=new fC(n.rf()),this.D=n.Df()||ny(hL(n.We((Cjn(),Fnt)))),this.A=Yx(n.We((Cjn(),Jnt)),21),this.B=Yx(n.We(itt),21),this.q=Yx(n.We(ktt),98),this.u=Yx(n.We(Mtt),21),!function(n){return Chn(),!(V3(sG(tK(pit,x4(Gy(Git,1),XEn,273,0,[mit])),n))>1||V3(sG(tK(git,x4(Gy(Git,1),XEn,273,0,[dit,yit])),n))>1)}(this.u))throw hp(new ly("Invalid port label placement: "+this.u));if(this.v=ny(hL(n.We(Ptt))),this.j=Yx(n.We(Qnt),21),!function(n){return Eln(),!(V3(sG(tK(Xet,x4(Gy(cit,1),XEn,93,0,[Wet])),n))>1||V3(sG(tK(Get,x4(Gy(cit,1),XEn,93,0,[qet,Uet])),n))>1||V3(sG(tK(Yet,x4(Gy(cit,1),XEn,93,0,[Qet,Vet])),n))>1)}(this.j))throw hp(new ly("Invalid node label placement: "+this.j));this.n=Yx(zrn(n,Wnt),116),this.k=ty(fL(zrn(n,Gtt))),this.d=ty(fL(zrn(n,qtt))),this.w=ty(fL(zrn(n,Ytt))),this.s=ty(fL(zrn(n,ztt))),this.t=ty(fL(zrn(n,Utt))),this.C=Yx(zrn(n,Vtt),142),this.c=2*this.d,t=!this.B.Hc((Vgn(),irt)),this.f=new Stn(0,t,0),this.g=new Stn(1,t,0),Nm(this.f,(JZ(),cHn),this.g)}function mkn(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw hp(new Iy(aEn));if(s=n,o=!1,(c=n.length)>0&&(Lz(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(n=n.substr(1),--c,o=45==t)),0==c)throw hp(new Iy(YTn+s+'"'));for(;n.length>0&&(Lz(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(Lpn(),Q_n)[10])throw hp(new Iy(YTn+s+'"'));for(r=0;r0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(k8(f,u)<0)throw hp(new Iy(YTn+s+'"'));f=e7(f,h)}f=n7(f,i)}if(k8(f,0)>0)throw hp(new Iy(YTn+s+'"'));if(!o&&k8(f=sJ(f),0)<0)throw hp(new Iy(YTn+s+'"'));return f}function ykn(n,t){var e,i,r,c,a,u,o;if(YD(),this.a=new yO(this),this.b=n,this.c=t,this.f=G_(PJ((wsn(),wut),t)),this.f.dc())if((u=Dcn(wut,n))==t)for(this.e=!0,this.d=new ip,this.f=new fo,this.f.Fc(BRn),Yx(Imn(SJ(wut,i1(n)),""),26)==n&&this.f.Fc(OK(wut,i1(n))),r=$gn(wut,n).Kc();r.Ob();)switch(i=Yx(r.Pb(),170),TB(PJ(wut,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(G_(PJ(wut,i)))}else if(TT(),Yx(t,66).Oj())for(this.e=!0,this.f=null,this.d=new ip,a=0,o=(null==n.i&&svn(n),n.i).length;a=0&&a0&&(Yx(GB(n.b,t),124).a.b=i)}function jkn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(Lz(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(o=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(Lz(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=_N("%",a=t.substr(1,h-1))?null:$kn(a),i=0,o)try{i=ipn(t.substr(h+2),nTn,Yjn)}catch(n){throw CO(n=j4(n),127)?hp(new mJ(n)):hp(n)}for(d=b2(n.Wg());d.Ob();)if(CO(b=X3(d),510)&&(p=(r=Yx(b,590)).d,(null==v?null==p:_N(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=ipn(t.substr(s+1),nTn,Yjn)}catch(n){if(!CO(n=j4(n),127))throw hp(n);l=t}for(l=_N("%",l)?null:$kn(l),w=b2(n.Wg());w.Ob();)if(CO(b=X3(w),191)&&(g=(c=Yx(b,191)).ne(),(null==l?null==g:_N(l,g))&&0==e--))return c;return null}return eyn(n,t)}function Ekn(){var n,t,e;for(Ekn=O,new ZJ(1,0),new ZJ(10,0),new ZJ(0,0),iFn=VQ(vFn,TEn,240,11,0,1),rFn=VQ(Xot,sTn,25,100,15,1),cFn=x4(Gy(Jot,1),rMn,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),aFn=VQ(Wot,MTn,25,cFn.length,15,1),uFn=x4(Gy(Jot,1),rMn,25,15,[1,10,100,hTn,1e4,cMn,1e6,1e7,1e8,UTn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),oFn=VQ(Wot,MTn,25,uFn.length,15,1),sFn=VQ(vFn,TEn,240,11,0,1),n=0;nr+2&&a5((Lz(r+1,n.length),n.charCodeAt(r+1)),Gct,zct)&&a5((Lz(r+2,n.length),n.charCodeAt(r+2)),Gct,zct))if(e=$D((Lz(r+1,n.length),n.charCodeAt(r+1)),(Lz(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[u++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[u++]=e<<24>>24,i=2):224==(240&e)?(t[u++]=e<<24>>24,i=3):240==(248&e)&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:_F(o,((31&t[0])<<6|63&t[1])&fTn);break;case 3:_F(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&fTn)}u=0,i=0}}else{for(c=0;c0){if(a+i>n.length)return!1;u=Uhn(n.substr(0,a+i),t)}else u=Uhn(n,t);switch(c){case 71:return u=wun(n,a,x4(Gy(fFn,1),TEn,2,6,[STn,PTn]),t),r.e=u,!0;case 77:case 76:return function(n,t,e,i,r){return i<0?((i=wun(n,r,x4(Gy(fFn,1),TEn,2,6,[lTn,bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn]),t))<0&&(i=wun(n,r,x4(Gy(fFn,1),TEn,2,6,["Jan","Feb","Mar","Apr",gTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}(n,t,r,u,a);case 69:case 99:return function(n,t,e,i){var r;return(r=wun(n,e,x4(Gy(fFn,1),TEn,2,6,[ITn,CTn,OTn,ATn,$Tn,LTn,NTn]),t))<0&&(r=wun(n,e,x4(Gy(fFn,1),TEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}(n,t,a,r);case 97:return u=wun(n,a,x4(Gy(fFn,1),TEn,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return function(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length)return!1;if(43!=(u=XB(n,t[0]))&&45!=u)return!1;if(++t[0],(i=Uhn(n,t))<0)return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new uE).q.getFullYear()-TTn+TTn-80)%100,c.a=i==a,i+=100*(o/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:return!(u<0||(r.f=u,r.g=!1,0));case 107:return!(u<0||(r.f=u,r.g=!0,0));case 109:return!(u<0||(r.j=u,0));case 115:return!(u<0||(r.n=u,0));case 90:if(a=0&&_N(n.substr(t,3),"GMT")||t>=0&&_N(n.substr(t,3),"UTC")?(e[0]=t+3,apn(n,e,i)):apn(n,e,i)}(n,a,t,r);default:return!1}}function Nkn(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=VQ(UKn,iEn,1,0,5,1),n.i.c=VQ(UKn,iEn,1,0,5,1),n.g.a.$b(),t)for(a=new pb(t.a);a.a=1&&(j-h>0&&d>=0?(L1(l,l.i+k),N1(l,l.j+s*h)):j-h<0&&w>=0&&(L1(l,l.i+k*j),N1(l,l.j+s)));return Aen(n,(Cjn(),Jnt),(Ann(),new cx(a=Yx(Ak(lrt),9),Yx(eN(a,a.length),9),0))),new QS(E,f)}function Dkn(n){var t,i,r,c,a,u,o,s,h,f,l;if(f=IG(iun(Yx(c1((!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b),0),82)))==IG(iun(Yx(c1((!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c),0),82))),u=new Pk,(t=Yx(jln(n,(L6(),Met)),74))&&t.b>=2){if(0==(!n.a&&(n.a=new m_(tct,n,6,6)),n.a).i)xk(),i=new co,fY((!n.a&&(n.a=new m_(tct,n,6,6)),n.a),i);else if((!n.a&&(n.a=new m_(tct,n,6,6)),n.a).i>1)for(l=new a$((!n.a&&(n.a=new m_(tct,n,6,6)),n.a));l.e!=l.i.gc();)tan(l);wvn(t,Yx(c1((!n.a&&(n.a=new m_(tct,n,6,6)),n.a),0),202))}if(f)for(r=new UO((!n.a&&(n.a=new m_(tct,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new UO((!(i=Yx(hen(r),202)).a&&(i.a=new XO(Qrt,i,5)),i.a));s.e!=s.i.gc();)o=Yx(hen(s),469),u.a=e.Math.max(u.a,o.a),u.b=e.Math.max(u.b,o.b);for(a=new UO((!n.n&&(n.n=new m_(act,n,1,7)),n.n));a.e!=a.i.gc();)c=Yx(hen(a),137),(h=Yx(jln(c,Aet),8))&&jC(c,h.a,h.b),f&&(u.a=e.Math.max(u.a,c.i+c.g),u.b=e.Math.max(u.b,c.j+c.f));return u}function Rkn(n,t,e){var i,r,c,a,u;switch(i=t.i,c=n.i.o,r=n.i.d,u=n.n,a=$5(x4(Gy(B7n,1),TEn,8,0,[u,n.a])),n.j.g){case 1:OL(t,(OJ(),pHn)),i.d=-r.d-e-i.a,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(lY(t,(BY(),lHn)),i.c=a.a-ty(fL(Aun(n,PQn)))-e-i.b):(lY(t,(BY(),fHn)),i.c=a.a+ty(fL(Aun(n,PQn)))+e);break;case 2:lY(t,(BY(),fHn)),i.c=c.a+r.c+e,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(OL(t,(OJ(),pHn)),i.d=a.b-ty(fL(Aun(n,PQn)))-e-i.a):(OL(t,(OJ(),mHn)),i.d=a.b+ty(fL(Aun(n,PQn)))+e);break;case 3:OL(t,(OJ(),mHn)),i.d=c.b+r.a+e,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(lY(t,(BY(),lHn)),i.c=a.a-ty(fL(Aun(n,PQn)))-e-i.b):(lY(t,(BY(),fHn)),i.c=a.a+ty(fL(Aun(n,PQn)))+e);break;case 4:lY(t,(BY(),lHn)),i.c=-r.b-e-i.b,Yx(Yx(TR(t.d,0),181).We((Ojn(),kQn)),285)==(Frn(),Ret)?(OL(t,(OJ(),pHn)),i.d=a.b-ty(fL(Aun(n,PQn)))-e-i.a):(OL(t,(OJ(),mHn)),i.d=a.b+ty(fL(Aun(n,PQn)))+e)}}function Kkn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(w=0,S=0,s=new pb(n);s.aw&&(a&&(EI(j,b),EI(T,d9(h.b-1))),C=i.b,O+=b+t,b=0,f=e.Math.max(f,i.b+i.c+I)),L1(o,C),N1(o,O),f=e.Math.max(f,C+I+i.c),b=e.Math.max(b,l),C+=I+t;if(f=e.Math.max(f,r),(P=O+b+i.a)o&&(y=0,k+=u+v,u=0),zgn(g,i,y,k),t=e.Math.max(t,y+p.a),u=e.Math.max(u,p.b),y+=p.a+v;return g}function Fkn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;switch(h=new Nv,n.a.g){case 3:l=Yx(Aun(t.e,(Ojn(),WQn)),15),b=Yx(Aun(t.j,WQn),15),w=Yx(Aun(t.f,WQn),15),e=Yx(Aun(t.e,UQn),15),i=Yx(Aun(t.j,UQn),15),r=Yx(Aun(t.f,UQn),15),S4(a=new ip,l),b.Jc(new yc),S4(a,CO(b,152)?RV(Yx(b,152)):CO(b,131)?Yx(b,131).a:CO(b,54)?new Tm(b):new rE(b)),S4(a,w),S4(c=new ip,e),S4(c,CO(i,152)?RV(Yx(i,152)):CO(i,131)?Yx(i,131).a:CO(i,54)?new Tm(i):new rE(i)),S4(c,r),b5(t.f,WQn,a),b5(t.f,UQn,c),b5(t.f,VQn,t.f),b5(t.e,WQn,null),b5(t.e,UQn,null),b5(t.j,WQn,null),b5(t.j,UQn,null);break;case 1:C2(h,t.e.a),KD(h,t.i.n),C2(h,I3(t.j.a)),KD(h,t.a.n),C2(h,t.f.a);break;default:C2(h,t.e.a),C2(h,I3(t.j.a)),C2(h,t.f.a)}BH(t.f.a),C2(t.f.a,h),YG(t.f,t.e.c),u=Yx(Aun(t.e,(gjn(),$1n)),74),s=Yx(Aun(t.j,$1n),74),o=Yx(Aun(t.f,$1n),74),(u||s||o)&&(H_(f=new Nv,o),H_(f,s),H_(f,u),b5(t.f,$1n,f)),YG(t.j,null),QG(t.j,null),YG(t.e,null),QG(t.e,null),JG(t.a,null),JG(t.i,null),t.g&&Fkn(n,t.g)}function Bkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;return y=n.c[($z(0,t.c.length),Yx(t.c[0],17)).p],T=n.c[($z(1,t.c.length),Yx(t.c[1],17)).p],!(y.a.e.e-y.a.a-(y.b.e.e-y.b.a)==0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)==0||!CO(v=y.b.e.f,10)||(p=Yx(v,10),j=n.i[p.p],E=p.c?hJ(p.c.a,p,0):-1,a=JTn,E>0&&(c=Yx(TR(p.c.a,E-1),10),u=n.i[c.p],M=e.Math.ceil(lO(n.n,c,p)),a=j.a.e-p.d.d-(u.a.e+c.o.b+c.d.a)-M),h=JTn,E0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)<0,d=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&T.a.e.e-T.a.a-(T.b.e.e-T.b.a)>0,w=y.a.e.e+y.b.aT.b.e.e+T.a.a,k=0,!g&&!d&&(b?a+l>0?k=l:h-r>0&&(k=r):w&&(a+o>0?k=o:h-m>0&&(k=m))),j.a.e+=k,j.b&&(j.d.e+=k),1)))}function Hkn(n,t,i){var r,c,a,u,o,s,h,f,l,b;if(r=new mH(t.qf().a,t.qf().b,t.rf().a,t.rf().b),c=new hC,n.c)for(u=new pb(t.wf());u.a=2&&(i=Yx(r.Kc().Pb(),111),e=n.u.Hc((Chn(),git)),c=n.u.Hc(yit),!i.a&&!e&&(2==r.gc()||c))}(n,t),e=n.u.Hc((Chn(),dit)),o=s.Kc();o.Ob();)if((u=Yx(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:u.a?(f.c=(l.a-f.b)/2,lY(h,(BY(),hHn))):a||e?(f.c=-f.b-n.s,lY(h,(BY(),lHn))):(f.c=l.a+n.s,lY(h,(BY(),fHn))),f.d=-f.a-n.t,OL(h,(OJ(),pHn));break;case 3:u.a?(f.c=(l.a-f.b)/2,lY(h,(BY(),hHn))):a||e?(f.c=-f.b-n.s,lY(h,(BY(),lHn))):(f.c=l.a+n.s,lY(h,(BY(),fHn))),f.d=l.b+n.t,OL(h,(OJ(),mHn));break;case 2:u.a?(i=n.v?f.a:Yx(TR(h.d,0),181).rf().b,f.d=(l.b-i)/2,OL(h,(OJ(),vHn))):a||e?(f.d=-f.a-n.t,OL(h,(OJ(),pHn))):(f.d=l.b+n.t,OL(h,(OJ(),mHn))),f.c=l.a+n.s,lY(h,(BY(),fHn));break;case 4:u.a?(i=n.v?f.a:Yx(TR(h.d,0),181).rf().b,f.d=(l.b-i)/2,OL(h,(OJ(),vHn))):a||e?(f.d=-f.a-n.t,OL(h,(OJ(),pHn))):(f.d=l.b+n.t,OL(h,(OJ(),mHn))),f.c=-f.b-n.s,lY(h,(BY(),lHn))}a=!1}}function Gkn(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(Ljn(),0==hE(vot)){for(f=VQ(Got,TEn,117,yot.length,0,1),a=0;as&&(i.a+=IO(VQ(Xot,sTn,25,-s,15,1))),i.a+="Is",VI(o,gun(32))>=0)for(r=0;r=i.o.b/2}p?(g=Yx(Aun(i,(Ojn(),JQn)),15))?l?c=g:(r=Yx(Aun(i,QVn),15))?c=g.gc()<=r.gc()?g:r:(c=new ip,b5(i,QVn,c)):(c=new ip,b5(i,JQn,c)):(r=Yx(Aun(i,(Ojn(),QVn)),15))?f?c=r:(g=Yx(Aun(i,JQn),15))?c=r.gc()<=g.gc()?r:g:(c=new ip,b5(i,JQn,c)):(c=new ip,b5(i,QVn,c)),c.Fc(n),b5(n,(Ojn(),JVn),e),t.d==e?(QG(t,null),e.e.c.length+e.g.c.length==0&&ZG(e,null),function(n){var t,e;(t=Yx(Aun(n,(Ojn(),RQn)),10))&&(uJ((e=t.c).a,t),0==e.a.c.length&&uJ(dB(t).b,e))}(e)):(YG(t,null),e.e.c.length+e.g.c.length==0&&ZG(e,null)),BH(t.a)}function Ukn(n,t,i){var r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$;for(run(i,"MinWidth layering",1),d=t.b,M=t.a,$=Yx(Aun(t,(gjn(),R1n)),19).a,o=Yx(Aun(t,K1n),19).a,n.b=ty(fL(Aun(t,N0n))),n.d=JTn,j=new pb(M);j.a0){for(l=h<100?null:new Ek(h),w=new t3(t).g,g=VQ(Wot,MTn,25,h,15,1),i=0,m=new FZ(h),r=0;r=0;)if(null!=b?Q8(b,w[o]):iI(b)===iI(w[o])){g.length<=i&&smn(g,0,g=VQ(Wot,MTn,25,2*g.length,15,1),0,i),g[i++]=r,fY(m,w[o]);break n}if(iI(b)===iI(u))break}}if(s=m,w=m.g,h=i,i>g.length&&smn(g,0,g=VQ(Wot,MTn,25,i,15,1),0,i),i>0){for(v=!0,c=0;c=0;)Orn(n,g[a]);if(i!=h){for(r=h;--r>=i;)Orn(s,r);smn(g,0,g=VQ(Wot,MTn,25,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return iL(),iL(),$ct;for(e=new HL(n,t.gc()),r=new UO(n);r.e!=r.i.gc();)i=hen(r),t.Hc(i)&&fY(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(Orn(n,r),v=!0);if(v){if(null!=g){for(f=1==(e=t.gc())?zG(n,4,t.Kc().Pb(),null,g[0],d):zG(n,6,t,g,g[0],d),l=e<100?null:new Ek(e),r=t.Kc();r.Ob();)l=JN(n,Yx(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):K3(n.e,f)}else{for(l=function(n){return n<100?null:new Ek(n)}(t.gc()),r=t.Kc();r.Ob();)l=JN(n,Yx(b=r.Pb(),72),l);l&&l.Fi()}return!0}return!1}function Wkn(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y;for((i=new Fen(t)).a||function(n){var t,i,r,c,a;switch(c=Yx(TR(n.a,0),10),t=new rin(n),eD(n.a,t),t.o.a=e.Math.max(1,c.o.a),t.o.b=e.Math.max(1,c.o.b),t.n.a=c.n.a,t.n.b=c.n.b,Yx(Aun(c,(Ojn(),hQn)),61).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}ZG(r=new Ion,t),YG(i=new jq,a=Yx(TR(c.j,0),11)),QG(i,r),mN(OI(r.n),a.n),mN(OI(r.a),a.a)}(t),f=function(n){var t,e,i,r,c,a,u;for(u=new rV,a=new pb(n.a);a.a=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new ben((_4(),bzn)),$U(n,jzn,new ay(x4(Gy(lzn,1),iEn,369,0,[i]))),a=new ben(gzn),$U(n,kzn,new ay(x4(Gy(lzn,1),iEn,369,0,[a]))),r=new ben(wzn),$U(n,yzn,new ay(x4(Gy(lzn,1),iEn,369,0,[r]))),c=new ben(dzn),$U(n,mzn,new ay(x4(Gy(lzn,1),iEn,369,0,[c]))),kbn(i.c,bzn),kbn(r.c,wzn),kbn(c.c,dzn),kbn(a.c,gzn),u.a.c=VQ(UKn,iEn,1,0,5,1),S4(u.a,i.c),S4(u.a,I3(r.c)),S4(u.a,c.c),S4(u.a,I3(a.c)),u}(f)),i}function Vkn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(null==i.p[t.p]){o=!0,i.p[t.p]=0,u=t,d=i.o==(RG(),v4n)?ZTn:JTn;do{c=n.b.e[u.p],a=u.c.a.c.length,i.o==v4n&&c>0||i.o==m4n&&c(a=uan(n,e))?mgn(n,t,e):mgn(n,e,t),ra?1:0}return(i=Yx(Aun(t,(Ojn(),IQn)),19).a)>(c=Yx(Aun(e,IQn),19).a)?mgn(n,t,e):mgn(n,e,t),ic?1:0}function Ykn(n,t,e,i){var r,c,a,u,o,s,f,l,b,w,d,g;if(ny(hL(jln(t,(Cjn(),ctt)))))return XH(),XH(),TFn;if(o=0!=(!t.a&&(t.a=new m_(uct,t,10,11)),t.a).i,s=!(f=function(n){var t,e,i;if(ny(hL(jln(n,(Cjn(),Fnt))))){for(i=new ip,e=new $K(bA(lbn(n).a.Kc(),new h));Vfn(e);)Whn(t=Yx(kV(e),79))&&ny(hL(jln(t,Bnt)))&&(i.c[i.c.length]=t);return i}return XH(),XH(),TFn}(t)).dc(),o||s){if(!(r=Yx(jln(t,Ltt),149)))throw hp(new ly("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(g=zS(r,(zfn(),dct)),Otn(t),!o&&s&&!g)return XH(),XH(),TFn;if(u=new ip,iI(jln(t,Rnt))===iI((O8(),$et))&&(zS(r,lct)||zS(r,fct)))for(b=Udn(n,t),C2(w=new ME,(!t.a&&(t.a=new m_(uct,t,10,11)),t.a));0!=w.b;)Otn(l=Yx(0==w.b?null:(S$(0!=w.b),VZ(w,w.a.a)),33)),iI(jln(l,Rnt))===iI(Net)||zQ(l,gnt)&&!oV(r,jln(l,Ltt))?(S4(u,Ykn(n,l,e,i)),Aen(l,Rnt,Net),Fgn(l)):C2(w,(!l.a&&(l.a=new m_(uct,l,10,11)),l.a));else for(b=(!t.a&&(t.a=new m_(uct,t,10,11)),t.a).i,a=new UO((!t.a&&(t.a=new m_(uct,t,10,11)),t.a));a.e!=a.i.gc();)S4(u,Ykn(n,c=Yx(hen(a),33),e,i)),Fgn(c);for(d=new pb(u);d.a=0?G7(u):O9(G7(u)),n.Ye(k0n,b)),s=new Pk,l=!1,n.Xe(w0n)?(x$(s,Yx(n.We(w0n),8)),l=!0):function(n,t,e){n.a=t,n.b=e}(s,a.a/2,a.b/2),b.g){case 4:b5(h,x1n,(d7(),nYn)),b5(h,rQn,(i5(),UWn)),h.o.b=a.b,d<0&&(h.o.a=-d),whn(f,(Ikn(),Eit)),l||(s.a=a.a),s.a-=a.a;break;case 2:b5(h,x1n,(d7(),eYn)),b5(h,rQn,(i5(),GWn)),h.o.b=a.b,d<0&&(h.o.a=-d),whn(f,(Ikn(),qit)),l||(s.a=0);break;case 1:b5(h,pQn,(AJ(),HVn)),h.o.a=a.a,d<0&&(h.o.b=-d),whn(f,(Ikn(),Bit)),l||(s.b=a.b),s.b-=a.b;break;case 3:b5(h,pQn,(AJ(),FVn)),h.o.a=a.a,d<0&&(h.o.b=-d),whn(f,(Ikn(),Tit)),l||(s.b=0)}if(x$(f.n,s),b5(h,w0n,s),t==uit||t==sit||t==oit){if(w=0,t==uit&&n.Xe(p0n))switch(b.g){case 1:case 2:w=Yx(n.We(p0n),19).a;break;case 3:case 4:w=-Yx(n.We(p0n),19).a}else switch(b.g){case 4:case 2:w=c.b,t==sit&&(w/=r.b);break;case 1:case 3:w=c.a,t==sit&&(w/=r.a)}b5(h,KQn,w)}return b5(h,hQn,b),h}function Zkn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b;for(f=!1,s=n+1,$z(n,t.c.length),a=(h=Yx(t.c[n],200)).a,u=null,c=0;cs&&0==($z(s,t.c.length),Yx(t.c[s],200)).a.c.length;)uJ(t,($z(s,t.c.length),t.c[s]));if(!o){--c;continue}if(bpn(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(imn(t,h,r,o,e,s,i)){f=!0;continue}if(u8(h,r)){r.c=!0,f=!0;continue}}else if(u8(h,r)){r.c=!0,f=!0;continue}if(f)continue}u8(h,r)?(r.c=!0,f=!0,o&&(o.k=!1)):ern(r.q)}else oE(),acn(h,r),--c,f=!0;return f}function njn(n,t,i,r,c,a,u){var o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A;for(g=0,P=0,h=new pb(n.b);h.ag&&(a&&(EI(E,w),EI(M,d9(f.b-1)),eD(n.d,d),o.c=VQ(UKn,iEn,1,0,5,1)),O=i.b,A+=w+t,w=0,l=e.Math.max(l,i.b+i.c+C)),o.c[o.c.length]=s,wen(s,O,A),l=e.Math.max(l,O+C+i.c),w=e.Math.max(w,b),O+=C+t,d=s;if(S4(n.a,o),eD(n.d,Yx(TR(o,o.c.length-1),157)),l=e.Math.max(l,r),(I=A+w+i.a)1&&(u=e.Math.min(u,e.Math.abs(Yx(ken(o.a,1),8).b-f.b)))));else for(d=new pb(t.j);d.ac&&(a=b.a-c,u=Yjn,r.c=VQ(UKn,iEn,1,0,5,1),c=b.a),b.a>=c&&(r.c[r.c.length]=o,o.a.b>1&&(u=e.Math.min(u,e.Math.abs(Yx(ken(o.a,o.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&u>t.o.b/2){for(ZG(w=new Ion,t),whn(w,(Ikn(),Tit)),w.n.a=t.o.a/2,ZG(g=new Ion,t),whn(g,Bit),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new pb(r);s.a=h.b?YG(o,g):YG(o,w)):(h=Yx(yD(o.a),8),(0==o.a.b?Dz(o.c):Yx(p$(o.a),8)).b>=h.b?QG(o,g):QG(o,w)),(l=Yx(Aun(o,(gjn(),$1n)),74))&&V7(l,h,!0);t.n.a=c-t.o.a/2}}function ejn(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(s=t,$0(o=UX(n,RX(e),s),oX(s,rxn)),h=Yx(g1(n.g,Nhn(jG(s,_Nn))),33),i=null,(a=jG(s,"sourcePort"))&&(i=Nhn(a)),f=Yx(g1(n.j,i),118),!h)throw hp(new hy("An edge must have a source node (edge id: '"+itn(s)+sxn));if(f&&!bB(TG(f),h))throw hp(new hy("The source port of an edge must be a port of the edge's source node (edge id: '"+oX(s,rxn)+sxn));if(!o.b&&(o.b=new AN(Zrt,o,4,7)),fY(o.b,f||h),l=Yx(g1(n.g,Nhn(jG(s,lxn))),33),r=null,(u=jG(s,"targetPort"))&&(r=Nhn(u)),b=Yx(g1(n.j,r),118),!l)throw hp(new hy("An edge must have a target node (edge id: '"+itn(s)+sxn));if(b&&!bB(TG(b),l))throw hp(new hy("The target port of an edge must be a port of the edge's target node (edge id: '"+oX(s,rxn)+sxn));if(!o.c&&(o.c=new AN(Zrt,o,5,8)),fY(o.c,b||l),0==(!o.b&&(o.b=new AN(Zrt,o,4,7)),o.b).i||0==(!o.c&&(o.c=new AN(Zrt,o,5,8)),o.c).i)throw c=oX(s,rxn),hp(new hy(oxn+c+sxn));return eun(s,o),Iln(s,o),D5(n,s,o)}function ijn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;return l=function(n,t){var i,r,c,a,u,o,s,h,f,l,b;if(n.dc())return new Pk;for(s=0,f=0,r=n.Kc();r.Ob();)c=Yx(r.Pb(),37).f,s=e.Math.max(s,c.a),f+=c.a*c.b;for(s=e.Math.max(s,e.Math.sqrt(f)*ty(fL(Aun(Yx(n.Kc().Pb(),37),(gjn(),RZn))))),l=0,b=0,o=0,i=t,u=n.Kc();u.Ob();)l+(h=(a=Yx(u.Pb(),37)).f).a>s&&(l=0,b+=o+t,o=0),bgn(a,l,b),i=e.Math.max(i,l+h.a),o=e.Math.max(o,h.b),l+=h.a+t;return new QS(i+t,b+o+t)}(QA(n,(Ikn(),Cit)),t),d=lrn(QA(n,Oit),t),k=lrn(QA(n,Kit),t),M=brn(QA(n,Fit),t),b=brn(QA(n,Mit),t),m=lrn(QA(n,Rit),t),g=lrn(QA(n,Ait),t),E=lrn(QA(n,_it),t),j=lrn(QA(n,Sit),t),S=brn(QA(n,Iit),t),v=lrn(QA(n,xit),t),y=lrn(QA(n,Nit),t),T=lrn(QA(n,Pit),t),P=brn(QA(n,Dit),t),w=brn(QA(n,$it),t),p=lrn(QA(n,Lit),t),i=N5(x4(Gy(Jot,1),rMn,25,15,[m.a,M.a,E.a,P.a])),r=N5(x4(Gy(Jot,1),rMn,25,15,[d.a,l.a,k.a,p.a])),c=v.a,a=N5(x4(Gy(Jot,1),rMn,25,15,[g.a,b.a,j.a,w.a])),h=N5(x4(Gy(Jot,1),rMn,25,15,[m.b,d.b,g.b,y.b])),s=N5(x4(Gy(Jot,1),rMn,25,15,[M.b,l.b,b.b,p.b])),f=S.b,o=N5(x4(Gy(Jot,1),rMn,25,15,[E.b,k.b,j.b,T.b])),wY(QA(n,Cit),i+c,h+f),wY(QA(n,Lit),i+c,h+f),wY(QA(n,Oit),i+c,0),wY(QA(n,Kit),i+c,h+f+s),wY(QA(n,Fit),0,h+f),wY(QA(n,Mit),i+c+r,h+f),wY(QA(n,Ait),i+c+r,0),wY(QA(n,_it),0,h+f+s),wY(QA(n,Sit),i+c+r,h+f+s),wY(QA(n,Iit),0,h),wY(QA(n,xit),i,0),wY(QA(n,Pit),0,h+f+s),wY(QA(n,$it),i+c+r,0),(u=new Pk).a=N5(x4(Gy(Jot,1),rMn,25,15,[i+r+c+a,S.a,y.a,T.a])),u.b=N5(x4(Gy(Jot,1),rMn,25,15,[h+s+f+o,v.b,P.b,w.b])),u}function rjn(n,t,i){var r,c,a,u,o,s,f;if(run(i,"Network simplex node placement",1),n.e=t,n.n=Yx(Aun(t,(Ojn(),zQn)),304),function(n){var t,i,r,c,a,u,o,s,f,l,b,w;for(n.f=new Zp,o=0,r=0,c=new pb(n.e.b);c.a=s.c.c.length?GX((bon(),Hzn),Bzn):GX((bon(),Bzn),Bzn),h*=2,c=i.a.g,i.a.g=e.Math.max(c,c+(h-c)),a=i.b.g,i.b.g=e.Math.max(a,a+(h-a)),r=t}else mln(u),Mmn(($z(0,u.c.length),Yx(u.c[0],17)).d.i)||eD(n.o,u)}(n),Ron(a)),Yen(n.f),c=Yx(Aun(t,V0n),19).a*n.f.a.c.length,Ggn(Xy(Wy(Cx(n.f),c),!1),J2(i,1)),0!=n.d.a.gc()){for(run(a=J2(i,1),"Flexible Where Space Processing",1),u=Yx(qA(YK(fH(new SR(null,new Nz(n.f.a,16)),new qc),new Dc)),19).a,o=Yx(qA(QK(fH(new SR(null,new Nz(n.f.a,16)),new Gc),new Rc)),19).a-u,s=HA(new ev,n.f),f=HA(new ev,n.f),uwn(NE(LE($E(xE(new tv,2e4),o),s),f)),SE(hH(hH(X_(n.i),new zc),new Uc),new vH(u,s,o,f)),r=n.d.a.ec().Kc();r.Ob();)Yx(r.Pb(),213).g=1;Ggn(Xy(Wy(Cx(n.f),c),!1),J2(a,1)),Ron(a)}ny(hL(Aun(t,V1n)))&&(run(a=J2(i,1),"Straight Edges Post-Processing",1),function(n){var t,e,i;for(C2(e=new ME,n.o),i=new kv;0!=e.b;)Bkn(n,t=Yx(0==e.b?null:(S$(0!=e.b),VZ(e,e.a.a)),508),!0)&&eD(i.a,t);for(;0!=i.a.c.length;)Bkn(n,t=Yx(K6(i),508),!1)}(n),Ron(a)),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(e=new pb(n.e.b);e.a0)if(r=f.gc(),s=oG(e.Math.floor((r+1)/2))-1,c=oG(e.Math.ceil((r+1)/2))-1,t.o==m4n)for(h=c;h>=s;h--)t.a[y.p]==y&&(d=Yx(f.Xb(h),46),w=Yx(d.a,10),!gE(i,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(TA(),!!(ny(t.f[t.g[y.p].p])&y.k==(bon(),Bzn))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[y.p]==y&&(p=Yx(f.Xb(h),46),g=Yx(p.a,10),!gE(i,p.b)&&b=48&&t<=57))throw hp(new wy(Kjn((GC(),oDn))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw hp(new wy(Kjn((GC(),lDn))));if(e=i,44==t){if(r>=n.j)throw hp(new wy(Kjn((GC(),hDn))));if((t=XB(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw hp(new wy(Kjn((GC(),lDn))));if(i>e)throw hp(new wy(Kjn((GC(),fDn))))}else e=-1}if(125!=t)throw hp(new wy(Kjn((GC(),sDn))));n.sl(r)?(Ljn(),Ljn(),c=new cW(9,c),n.d=r+1):(Ljn(),Ljn(),c=new cW(3,c),n.d=r),c.dm(i),c.cm(e),kjn(n)}}return c}function ojn(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(w=new pQ(t.b),v=new pQ(t.b),l=new pQ(t.b),j=new pQ(t.b),d=new pQ(t.b),k=Ztn(t,0);k.b!=k.d.c;)for(u=new pb((m=Yx(IX(k),11)).g);u.a0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new pb(w);b.a1)for(b=new a$((!n.a&&(n.a=new m_(tct,n,6,6)),n.a));b.e!=b.i.gc();)tan(b);for(d=I,I>y+m?d=y+m:Ik+w?g=k+w:Cy-m&&dk-w&&gI+P?E=I+P:yC+j?T=C+j:kI-P&&EC-j&&Ti&&(f=i-1),(l=L+Xln(t,24)*jMn*h-h/2)<0?l=1:l>r&&(l=r-1),xk(),I1(c=new ro,f),C1(c,l),fY((!u.a&&(u.a=new XO(Qrt,u,5)),u.a),c)}function gjn(){gjn=O,Cjn(),A0n=Dtt,$0n=Rtt,L0n=Ktt,N0n=_tt,D0n=Ftt,R0n=Btt,F0n=qtt,H0n=ztt,q0n=Utt,B0n=Gtt,G0n=Xtt,U0n=Wtt,W0n=Ytt,_0n=Htt,Ajn(),O0n=ZJn,x0n=nZn,K0n=tZn,z0n=eZn,T0n=new DC(Att,d9(0)),M0n=QJn,S0n=YJn,P0n=JJn,c2n=SZn,Y0n=cZn,J0n=oZn,t2n=gZn,Z0n=fZn,n2n=bZn,u2n=AZn,a2n=IZn,i2n=jZn,e2n=yZn,r2n=TZn,Y1n=BJn,J1n=HJn,v1n=JYn,m1n=tJn,a0n=new RC(12),c0n=new DC(utt,a0n),g7(),b1n=new DC($nt,w1n=het),d0n=new DC(ytt,0),I0n=new DC($tt,d9(1)),RZn=new DC(mnt,OPn),r0n=ctt,g0n=ktt,k0n=Itt,c1n=Snt,xZn=pnt,E1n=Rnt,C0n=new DC(xtt,(TA(),!0)),I1n=Fnt,C1n=Bnt,n0n=Jnt,i0n=itt,t0n=ntt,t9(),a1n=new DC(Pnt,o1n=tet),U1n=Qnt,z1n=Wnt,m0n=Mtt,v0n=Ttt,y0n=Ptt,Ytn(),new DC(btt,s0n=rit),f0n=gtt,l0n=ptt,b0n=vtt,h0n=dtt,Q0n=rZn,B1n=SJn,F1n=TJn,V0n=iZn,x1n=gJn,r1n=KYn,i1n=DYn,VZn=kYn,QZn=jYn,JZn=PYn,YZn=EYn,e1n=NYn,q1n=IJn,G1n=CJn,A1n=sJn,Z1n=UJn,W1n=LJn,k1n=rJn,Q1n=_Jn,g1n=WYn,p1n=QYn,WZn=Tnt,X1n=OJn,BZn=hYn,FZn=oYn,_Zn=uYn,M1n=uJn,T1n=aJn,S1n=oJn,e0n=ttt,$1n=Gnt,y1n=Nnt,f1n=Ont,h1n=Cnt,ZZn=OYn,p0n=Ett,KZn=Ent,P1n=_nt,w0n=mtt,u0n=stt,o0n=ftt,R1n=mJn,K1n=kJn,E0n=Ott,DZn=aYn,_1n=EJn,l1n=GYn,s1n=HYn,H1n=Unt,L1n=bJn,V1n=DJn,X0n=Vtt,u1n=FYn,j0n=WJn,d1n=UYn,N1n=dJn,n1n=$Yn,O1n=qnt,D1n=vJn,t1n=LYn,XZn=mYn,zZn=gYn,qZn=wYn,GZn=dYn,UZn=vYn,HZn=lYn,j1n=cJn}function pjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(hmn(),T=n.e,w=n.d,r=n.a,0==T)switch(t){case 0:return"0";case 1:return sMn;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(j=new Ay).a+=t<0?"0E+":"0E",j.a+=-t,j.a}if(y=VQ(Xot,sTn,25,1+(m=10*w+1+7),15,1),e=m,1==w)if((u=r[0])<0){I=Gz(u,uMn);do{d=I,I=Bcn(I,10),y[--e]=48+WR(n7(d,e7(I,10)))&fTn}while(0!=k8(I,0))}else{I=u;do{d=I,I=I/10|0,y[--e]=d-10*I+48&fTn}while(0!=I)}else{smn(r,0,S=VQ(Wot,MTn,25,w,15,1),0,P=w);n:for(;;){for(E=0,s=P-1;s>=0;s--)p=Uan(t7(GK(E,32),Gz(S[s],uMn))),S[s]=WR(p),E=WR(zK(p,32));v=WR(E),g=e;do{y[--e]=48+v%10&fTn}while(0!=(v=v/10|0)&&0!=e);for(i=9-g+e,o=0;o0;o++)y[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==y[e];)++e}if(b=T<0,a=m-e-t-1,0==t)return b&&(y[--e]=45),Vnn(y,e,m-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=m-1;l>=h;l--)y[l+1]=y[l];return y[++h]=46,b&&(y[--e]=45),Vnn(y,e,m-e+1)}for(f=2;f<1-a;f++)y[--e]=48;return y[--e]=46,y[--e]=48,b&&(y[--e]=45),Vnn(y,e,m-e)}return M=e+1,c=m,k=new $y,b&&(k.a+="-"),c-M>=1?(_F(k,y[e]),k.a+=".",k.a+=Vnn(y,e+1,m-e-1)):k.a+=Vnn(y,e,m-e),k.a+="E",a>0&&(k.a+="+"),k.a+=""+a,k.a}function vjn(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;switch(n.c=t,n.g=new rp,dT(),R7(new Qb(new Xm(n.c))),v=lL(jln(n.c,(Dun(),C9n))),u=Yx(jln(n.c,A9n),316),y=Yx(jln(n.c,$9n),429),c=Yx(jln(n.c,T9n),482),m=Yx(jln(n.c,O9n),430),n.j=ty(fL(jln(n.c,L9n))),a=n.a,u.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw hp(new Qm(V$n+(null!=u.f?u.f:""+u.g)))}if(n.d=new dG(a,y,c),b5(n.d,(y3(),hqn),hL(jln(n.c,S9n))),n.d.c=ny(hL(jln(n.c,M9n))),0==uq(n.c).i)return n.d;for(h=new UO(uq(n.c));h.e!=h.i.gc();){for(l=(s=Yx(hen(h),33)).g/2,f=s.f/2,k=new QS(s.i+l,s.j+f);P_(n.g,k);)$$(k,(e.Math.random()-.5)*PPn,(e.Math.random()-.5)*PPn);w=Yx(jln(s,(Cjn(),Unt)),142),d=new ez(k,new mH(k.a-l-n.j/2-w.b,k.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),eD(n.d.i,d),xB(n.g,k,new mP(d,s))}switch(m.g){case 0:if(null==v)n.d.d=Yx(TR(n.d.i,0),65);else for(p=new pb(n.d.i);p.a1&&VW(f,v,f.c.b,f.c),BZ(c)));v=m}return f}function yjn(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new ip,u=new ip,g=t/2,b=n.gc(),r=Yx(n.Xb(0),8),p=Yx(n.Xb(1),8),eD(i,($z(0,(w=kln(r.a,r.b,p.a,p.b,g)).c.length),Yx(w.c[0],8))),eD(u,($z(1,w.c.length),Yx(w.c[1],8))),s=2;s=0;o--)KD(e,($z(o,a.c.length),Yx(a.c[o],8)));return e}function kjn(n){var t,e,i;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(t=XB(n.i,n.d++),n.a=t,1!=n.b){switch(t){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,n.d>=n.j)break;if(63!=XB(n.i,n.d))break;if(++n.d>=n.j)throw hp(new wy(Kjn((GC(),$xn))));switch(t=XB(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw hp(new wy(Kjn((GC(),$xn))));if(61==(t=XB(n.i,n.d++)))i=16;else{if(33!=t)throw hp(new wy(Kjn((GC(),Lxn))));i=17}break;case 35:for(;n.d=n.j)throw hp(new wy(Kjn((GC(),Axn))));n.a=XB(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw hp(new wy(Kjn((GC(),Axn))));n.a=XB(n.i,n.d++);break;case 45:512==(512&n.e)&&n.d=j||!qnn(v,i))&&(i=Mz(t,f)),JG(v,i),c=new $K(bA(u7(v).a.Kc(),new h));Vfn(c);)r=Yx(kV(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&JQ(mun(w,g)));for(s=f.c.length-1;s>=0;--s)eD(t.b,($z(s,f.c.length),Yx(f.c[s],29)));t.a.c=VQ(UKn,iEn,1,0,5,1),Ron(e)}else Ron(e)}function Ejn(n){var t,e,i,r,c,a,u,o;for(n.b=1,kjn(n),t=null,0==n.c&&94==n.a?(kjn(n),Ljn(),Ljn(),zwn(t=new cU(4),0,jKn),a=new cU(4)):(Ljn(),Ljn(),a=new cU(4)),r=!0;1!=(o=n.c);){if(0==o&&93==n.a&&!r){t&&(_yn(t,a),a=t);break}if(e=n.a,i=!1,10==o)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:fmn(a,rpn(e)),i=!0;break;case 105:case 73:case 99:case 67:fmn(a,rpn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(u=Hhn(n,e)))throw hp(new wy(Kjn((GC(),zxn))));fmn(a,u),i=!0;break;default:e=Tdn(n)}else if(24==o&&!r){if(t&&(_yn(t,a),a=t),_yn(a,Ejn(n)),0!=n.c||93!=n.a)throw hp(new wy(Kjn((GC(),Vxn))));break}if(kjn(n),!i){if(0==o){if(91==e)throw hp(new wy(Kjn((GC(),Qxn))));if(93==e)throw hp(new wy(Kjn((GC(),Yxn))));if(45==e&&!r&&93!=n.a)throw hp(new wy(Kjn((GC(),Jxn))))}if(0!=n.c||45!=n.a||45==e&&r)zwn(a,e,e);else{if(kjn(n),1==(o=n.c))throw hp(new wy(Kjn((GC(),Xxn))));if(0==o&&93==n.a)zwn(a,e,e),zwn(a,45,45);else{if(0==o&&93==n.a||24==o)throw hp(new wy(Kjn((GC(),Jxn))));if(c=n.a,0==o){if(91==c)throw hp(new wy(Kjn((GC(),Qxn))));if(93==c)throw hp(new wy(Kjn((GC(),Yxn))));if(45==c)throw hp(new wy(Kjn((GC(),Jxn))))}else 10==o&&(c=Tdn(n));if(kjn(n),e>c)throw hp(new wy(Kjn((GC(),tDn))));zwn(a,e,c)}}}r=!1}if(1==n.c)throw hp(new wy(Kjn((GC(),Xxn))));return xln(a),Lmn(a),n.b=0,kjn(n),a}function Tjn(){Tjn=O,ljn(),Qhn(Azn=new Zq,(Ikn(),Oit),Cit),Qhn(Azn,Fit,Cit),Qhn(Azn,Ait,Cit),Qhn(Azn,Rit,Cit),Qhn(Azn,Dit,Cit),Qhn(Azn,Nit,Cit),Qhn(Azn,Rit,Oit),Qhn(Azn,Cit,Mit),Qhn(Azn,Oit,Mit),Qhn(Azn,Fit,Mit),Qhn(Azn,Ait,Mit),Qhn(Azn,xit,Mit),Qhn(Azn,Rit,Mit),Qhn(Azn,Dit,Mit),Qhn(Azn,Nit,Mit),Qhn(Azn,Iit,Mit),Qhn(Azn,Cit,Kit),Qhn(Azn,Oit,Kit),Qhn(Azn,Mit,Kit),Qhn(Azn,Fit,Kit),Qhn(Azn,Ait,Kit),Qhn(Azn,xit,Kit),Qhn(Azn,Rit,Kit),Qhn(Azn,Iit,Kit),Qhn(Azn,_it,Kit),Qhn(Azn,Dit,Kit),Qhn(Azn,$it,Kit),Qhn(Azn,Nit,Kit),Qhn(Azn,Oit,Fit),Qhn(Azn,Ait,Fit),Qhn(Azn,Rit,Fit),Qhn(Azn,Nit,Fit),Qhn(Azn,Oit,Ait),Qhn(Azn,Fit,Ait),Qhn(Azn,Rit,Ait),Qhn(Azn,Ait,Ait),Qhn(Azn,Dit,Ait),Qhn(Azn,Cit,Sit),Qhn(Azn,Oit,Sit),Qhn(Azn,Mit,Sit),Qhn(Azn,Kit,Sit),Qhn(Azn,Fit,Sit),Qhn(Azn,Ait,Sit),Qhn(Azn,xit,Sit),Qhn(Azn,Rit,Sit),Qhn(Azn,_it,Sit),Qhn(Azn,Iit,Sit),Qhn(Azn,Nit,Sit),Qhn(Azn,Dit,Sit),Qhn(Azn,Lit,Sit),Qhn(Azn,Cit,_it),Qhn(Azn,Oit,_it),Qhn(Azn,Mit,_it),Qhn(Azn,Fit,_it),Qhn(Azn,Ait,_it),Qhn(Azn,xit,_it),Qhn(Azn,Rit,_it),Qhn(Azn,Iit,_it),Qhn(Azn,Nit,_it),Qhn(Azn,$it,_it),Qhn(Azn,Lit,_it),Qhn(Azn,Oit,Iit),Qhn(Azn,Fit,Iit),Qhn(Azn,Ait,Iit),Qhn(Azn,Rit,Iit),Qhn(Azn,_it,Iit),Qhn(Azn,Nit,Iit),Qhn(Azn,Dit,Iit),Qhn(Azn,Cit,Pit),Qhn(Azn,Oit,Pit),Qhn(Azn,Mit,Pit),Qhn(Azn,Fit,Pit),Qhn(Azn,Ait,Pit),Qhn(Azn,xit,Pit),Qhn(Azn,Rit,Pit),Qhn(Azn,Iit,Pit),Qhn(Azn,Nit,Pit),Qhn(Azn,Oit,Dit),Qhn(Azn,Mit,Dit),Qhn(Azn,Kit,Dit),Qhn(Azn,Ait,Dit),Qhn(Azn,Cit,$it),Qhn(Azn,Oit,$it),Qhn(Azn,Kit,$it),Qhn(Azn,Fit,$it),Qhn(Azn,Ait,$it),Qhn(Azn,xit,$it),Qhn(Azn,Rit,$it),Qhn(Azn,Rit,Lit),Qhn(Azn,Ait,Lit),Qhn(Azn,Iit,Cit),Qhn(Azn,Iit,Fit),Qhn(Azn,Iit,Mit),Qhn(Azn,xit,Cit),Qhn(Azn,xit,Oit),Qhn(Azn,xit,Kit)}function Mjn(n,t){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new eq(n.b,n.a,t,n.c);case 1:return new WO(n.a,t,tnn(t.Tg(),n.c));case 43:return new QO(n.a,t,tnn(t.Tg(),n.c));case 3:return new XO(n.a,t,tnn(t.Tg(),n.c));case 45:return new VO(n.a,t,tnn(t.Tg(),n.c));case 41:return new yY(Yx(fcn(n.c),26),n.a,t,tnn(t.Tg(),n.c));case 50:return new j0(Yx(fcn(n.c),26),n.a,t,tnn(t.Tg(),n.c));case 5:return new TN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 47:return new MN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 7:return new m_(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 49:return new EN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 9:return new tA(n.a,t,tnn(t.Tg(),n.c));case 11:return new nA(n.a,t,tnn(t.Tg(),n.c));case 13:return new ZO(n.a,t,tnn(t.Tg(),n.c));case 15:return new CD(n.a,t,tnn(t.Tg(),n.c));case 17:return new eA(n.a,t,tnn(t.Tg(),n.c));case 19:return new JO(n.a,t,tnn(t.Tg(),n.c));case 21:return new YO(n.a,t,tnn(t.Tg(),n.c));case 23:return new TD(n.a,t,tnn(t.Tg(),n.c));case 25:return new $N(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 27:return new AN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 29:return new CN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 31:return new SN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 33:return new ON(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 35:return new IN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 37:return new PN(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 39:return new y_(n.a,t,tnn(t.Tg(),n.c),n.d.n);case 40:return new e3(t,tnn(t.Tg(),n.c));default:throw hp(new Im("Unknown feature style: "+n.e))}}function Sjn(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;switch(run(i,"Brandes & Koepf node placement",1),n.a=t,n.c=avn(t),r=Yx(Aun(t,(gjn(),W1n)),274),w=ny(hL(Aun(t,V1n))),n.d=r==(Wcn(),hVn)&&!w||r==uVn,function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=VQ(Wot,MTn,25,d,15,1),f=0,h=new pb(t.b);h.aa)&&__(n.b,Yx(g.b,17));++u}c=a}}}(n,t),k=null,j=null,p=null,v=null,g0(4,UEn),g=new pQ(4),Yx(Aun(t,W1n),274).g){case 3:p=new Bgn(t,n.c.d,(RG(),v4n),(Jq(),w4n)),g.c[g.c.length]=p;break;case 1:v=new Bgn(t,n.c.d,(RG(),m4n),(Jq(),w4n)),g.c[g.c.length]=v;break;case 4:k=new Bgn(t,n.c.d,(RG(),v4n),(Jq(),d4n)),g.c[g.c.length]=k;break;case 2:j=new Bgn(t,n.c.d,(RG(),m4n),(Jq(),d4n)),g.c[g.c.length]=j;break;default:p=new Bgn(t,n.c.d,(RG(),v4n),(Jq(),w4n)),v=new Bgn(t,n.c.d,m4n,w4n),k=new Bgn(t,n.c.d,v4n,d4n),j=new Bgn(t,n.c.d,m4n,d4n),g.c[g.c.length]=k,g.c[g.c.length]=j,g.c[g.c.length]=p,g.c[g.c.length]=v}for(c=new kS(t,n.c),o=new pb(g);o.aE[s]&&(d=s),f=new pb(n.a.b);f.aAln(a))&&(l=a);for(!l&&($z(0,g.c.length),l=Yx(g.c[0],180)),d=new pb(t.b);d.a=-1900?1:0,yI(n,i>=4?x4(Gy(fFn,1),TEn,2,6,[STn,PTn])[u]:x4(Gy(fFn,1),TEn,2,6,["BC","AD"])[u]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-TTn+TTn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:tZ(n,i%100,2);break;default:tZ(n,i,t)}}(n,i,r);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:yI(n,x4(Gy(fFn,1),TEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:yI(n,x4(Gy(fFn,1),TEn,2,6,[lTn,bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn])[i]);break;case 3:yI(n,x4(Gy(fFn,1),TEn,2,6,["Jan","Feb","Mar","Apr",gTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:tZ(n,i+1,t)}}(n,i,r);break;case 107:tZ(n,0==(o=c.q.getHours())?24:o,i);break;case 83:!function(n,t,i){var r,c;k8(r=D3(i.q.getTime()),0)<0?(c=hTn-WR(Snn(sJ(r),hTn)))==hTn&&(c=0):c=WR(Snn(r,hTn)),1==t?_F(n,48+(c=e.Math.min((c+50)/100|0,9))&fTn):2==t?tZ(n,c=e.Math.min((c+5)/10|0,99),2):(tZ(n,c,3),t>3&&tZ(n,0,t-3))}(n,i,c);break;case 69:s=r.q.getDay(),yI(n,5==i?x4(Gy(fFn,1),TEn,2,6,["S","M","T","W","T","F","S"])[s]:4==i?x4(Gy(fFn,1),TEn,2,6,[ITn,CTn,OTn,ATn,$Tn,LTn,NTn])[s]:x4(Gy(fFn,1),TEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[s]);break;case 97:c.q.getHours()>=12&&c.q.getHours()<24?yI(n,x4(Gy(fFn,1),TEn,2,6,["AM","PM"])[1]):yI(n,x4(Gy(fFn,1),TEn,2,6,["AM","PM"])[0]);break;case 104:tZ(n,0==(h=c.q.getHours()%12)?12:h,i);break;case 75:tZ(n,c.q.getHours()%12,i);break;case 72:tZ(n,c.q.getHours(),i);break;case 99:f=r.q.getDay(),5==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["S","M","T","W","T","F","S"])[f]):4==i?yI(n,x4(Gy(fFn,1),TEn,2,6,[ITn,CTn,OTn,ATn,$Tn,LTn,NTn])[f]):3==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):tZ(n,f,1);break;case 76:l=r.q.getMonth(),5==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[l]):4==i?yI(n,x4(Gy(fFn,1),TEn,2,6,[lTn,bTn,wTn,dTn,gTn,pTn,vTn,mTn,yTn,kTn,jTn,ETn])[l]):3==i?yI(n,x4(Gy(fFn,1),TEn,2,6,["Jan","Feb","Mar","Apr",gTn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l]):tZ(n,l+1,i);break;case 81:b=r.q.getMonth()/3|0,yI(n,i<4?x4(Gy(fFn,1),TEn,2,6,["Q1","Q2","Q3","Q4"])[b]:x4(Gy(fFn,1),TEn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[b]);break;case 100:tZ(n,r.q.getDate(),i);break;case 109:tZ(n,c.q.getMinutes(),i);break;case 115:tZ(n,c.q.getSeconds(),i);break;case 122:yI(n,i<4?a.c[0]:a.c[1]);break;case 118:yI(n,a.b);break;case 90:yI(n,i<3?function(n){var t,e;return e=-n.a,t=x4(Gy(Xot,1),sTn,25,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&fTn,t[2]=t[2]+(e/60|0)%10&fTn,t[3]=t[3]+(e%60/10|0)&fTn,t[4]=t[4]+e%10&fTn,Vnn(t,0,t.length)}(a):3==i?function(n){var t,e;return e=-n.a,t=x4(Gy(Xot,1),sTn,25,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&fTn,t[2]=t[2]+(e/60|0)%10&fTn,t[4]=t[4]+(e%60/10|0)&fTn,t[5]=t[5]+e%10&fTn,Vnn(t,0,t.length)}(a):function(n){var t;return t=x4(Gy(Xot,1),sTn,25,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(t[3]=43,n=-n),t[4]=t[4]+((n/60|0)/10|0)&fTn,t[5]=t[5]+(n/60|0)%10&fTn,t[7]=t[7]+(n%60/10|0)&fTn,t[8]=t[8]+n%10&fTn,Vnn(t,0,t.length)}(a.a));break;default:return!1}return!0}function Ijn(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(dgn(t),o=Yx(c1((!t.b&&(t.b=new AN(Zrt,t,4,7)),t.b),0),82),h=Yx(c1((!t.c&&(t.c=new AN(Zrt,t,5,8)),t.c),0),82),u=iun(o),s=iun(h),a=0==(!t.a&&(t.a=new m_(tct,t,6,6)),t.a).i?null:Yx(c1((!t.a&&(t.a=new m_(tct,t,6,6)),t.a),0),202),j=Yx(BF(n.a,u),10),S=Yx(BF(n.a,s),10),E=null,P=null,CO(o,186)&&(CO(k=Yx(BF(n.a,o),299),11)?E=Yx(k,11):CO(k,10)&&(j=Yx(k,10),E=Yx(TR(j.j,0),11))),CO(h,186)&&(CO(M=Yx(BF(n.a,h),299),11)?P=Yx(M,11):CO(M,10)&&(S=Yx(M,10),P=Yx(TR(S.j,0),11))),!j||!S)throw hp(new by("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(o4(d=new jq,t),b5(d,(Ojn(),CQn),t),b5(d,(gjn(),$1n),null),b=Yx(Aun(i,bQn),21),j==S&&b.Fc((edn(),$Vn)),E||(h0(),y=i3n,T=null,a&&dC(Yx(Aun(j,g0n),98))&&(XX(T=new QS(a.j,a.k),EG(t)),UW(T,e),XZ(s,u)&&(y=e3n,mN(T,j.n))),E=dmn(j,T,y,i)),P||(h0(),y=e3n,I=null,a&&dC(Yx(Aun(S,g0n),98))&&(XX(I=new QS(a.b,a.c),EG(t)),UW(I,e)),P=dmn(S,I,y,dB(S))),YG(d,E),QG(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((edn(),PVn)),l=new UO((!t.n&&(t.n=new m_(act,t,1,7)),t.n));l.e!=l.i.gc();)if(!ny(hL(jln(f=Yx(hen(l),137),r0n)))&&f.a)switch(g=d8(f),eD(d.b,g),Yx(Aun(g,f1n),272).g){case 1:case 2:b.Fc((edn(),MVn));break;case 0:b.Fc((edn(),EVn)),b5(g,f1n,(ZZ(),cet))}if(c=Yx(Aun(i,i1n),314),p=Yx(Aun(i,Z1n),315),r=c==(O0(),EWn)||p==(ain(),A2n),a&&0!=(!a.a&&(a.a=new XO(Qrt,a,5)),a.a).i&&r){for(v=Kon(a),w=new Nv,m=Ztn(v,0);m.b!=m.d.c;)KD(w,new fC(Yx(IX(m),8)));b5(d,OQn,w)}return d}function Cjn(){var n,t;Cjn=O,gnt=new Og(CLn),Ltt=new Og(OLn),qen(),pnt=new FI(sAn,vnt=H7n),new tp,mnt=new FI(hPn,null),ynt=new Og(ALn),dan(),Mnt=tK(bnt,x4(Gy(iet,1),XEn,291,0,[snt])),Tnt=new FI(jAn,Mnt),Snt=new FI(oAn,(TA(),!1)),t9(),Pnt=new FI(bAn,Int=tet),g7(),$nt=new FI(xOn,Lnt=wet),Dnt=new FI(U$n,!1),O8(),Rnt=new FI(OOn,Knt=Let),ott=new RC(12),utt=new FI(fPn,ott),Hnt=new FI(RPn,!1),qnt=new FI(NAn,!1),att=new FI(FPn,!1),Ran(),ktt=new FI(KPn,jtt=lit),Ott=new Og(AAn),Att=new Og($Pn),$tt=new Og(xPn),xtt=new Og(DPn),znt=new Nv,Gnt=new FI(EAn,znt),Ent=new FI(SAn,!1),_nt=new FI(PAn,!1),new Og($Ln),Xnt=new Mv,Unt=new FI($An,Xnt),ctt=new FI(aAn,!1),new tp,Ntt=new FI(LLn,1),new FI(NLn,!0),d9(0),new FI(xLn,d9(100)),new FI(DLn,!1),d9(0),new FI(RLn,d9(4e3)),d9(0),new FI(KLn,d9(400)),new FI(_Ln,!1),new FI(FLn,!1),new FI(BLn,!0),new FI(HLn,!1),unn(),knt=new FI(ILn,jnt=prt),Dtt=new FI(WOn,10),Rtt=new FI(VOn,10),Ktt=new FI(oPn,20),_tt=new FI(QOn,10),Ftt=new FI(NPn,2),Btt=new FI(YOn,10),qtt=new FI(JOn,0),Gtt=new FI(tAn,5),ztt=new FI(ZOn,1),Utt=new FI(nAn,1),Xtt=new FI(LPn,20),Wtt=new FI(eAn,10),Ytt=new FI(iAn,10),Htt=new Og(rAn),Qtt=new sC,Vtt=new FI(LAn,Qtt),ftt=new Og(OAn),stt=new FI(CAn,htt=!1),Vnt=new RC(5),Wnt=new FI(wAn,Vnt),Eln(),t=Yx(Ak(cit),9),Ynt=new cx(t,Yx(eN(t,t.length),9),0),Qnt=new FI(qPn,Ynt),Ytn(),btt=new FI(pAn,wtt=eit),gtt=new Og(vAn),ptt=new Og(mAn),vtt=new Og(yAn),dtt=new Og(kAn),n=Yx(Ak(lrt),9),Znt=new cx(n,Yx(eN(n,n.length),9),0),Jnt=new FI(HPn,Znt),rtt=J9((Vgn(),crt)),itt=new FI(BPn,rtt),ett=new QS(0,0),ttt=new FI(eIn,ett),ntt=new FI(lAn,!1),ZZ(),Ont=new FI(TAn,Ant=cet),Cnt=new FI(_Pn,!1),new Og(qLn),d9(1),new FI(GLn,null),mtt=new Og(IAn),Ett=new Og(MAn),Ikn(),Itt=new FI(uAn,Ctt=Hit),ytt=new Og(cAn),Chn(),Stt=J9(mit),Mtt=new FI(GPn,Stt),Ttt=new FI(dAn,!1),Ptt=new FI(gAn,!0),Fnt=new FI(hAn,!1),Bnt=new FI(fAn,!1),Nnt=new FI(sPn,1),vun(),new FI(zLn,xnt=ket),ltt=!0}function Ojn(){var n,t;Ojn=O,CQn=new Og(zPn),nQn=new Og("coordinateOrigin"),_Qn=new Og("processors"),ZVn=new _L("compoundNode",(TA(),!1)),gQn=new _L("insideConnections",!1),OQn=new Og("originalBendpoints"),AQn=new Og("originalDummyNodePosition"),$Qn=new Og("originalLabelEdge"),BQn=new Og("representedLabels"),cQn=new Og("endLabels"),aQn=new Og("endLabel.origin"),kQn=new _L("labelSide",(Frn(),Fet)),PQn=new _L("maxEdgeThickness",0),HQn=new _L("reversed",!1),FQn=new Og(UPn),TQn=new _L("longEdgeSource",null),MQn=new _L("longEdgeTarget",null),EQn=new _L("longEdgeHasLabelDummies",!1),jQn=new _L("longEdgeBeforeLabelDummy",!1),rQn=new _L("edgeConstraint",(i5(),zWn)),vQn=new Og("inLayerLayoutUnit"),pQn=new _L("inLayerConstraint",(AJ(),BVn)),mQn=new _L("inLayerSuccessorConstraint",new ip),yQn=new _L("inLayerSuccessorConstraintBetweenNonDummies",!1),RQn=new Og("portDummy"),tQn=new _L("crossingHint",d9(0)),bQn=new _L("graphProperties",new cx(t=Yx(Ak(KVn),9),Yx(eN(t,t.length),9),0)),hQn=new _L("externalPortSide",(Ikn(),Hit)),fQn=new _L("externalPortSize",new Pk),oQn=new Og("externalPortReplacedDummies"),sQn=new Og("externalPortReplacedDummy"),uQn=new _L("externalPortConnections",new cx(n=Yx(Ak(trt),9),Yx(eN(n,n.length),9),0)),KQn=new _L(OSn,0),VVn=new Og("barycenterAssociates"),JQn=new Og("TopSideComments"),QVn=new Og("BottomSideComments"),JVn=new Og("CommentConnectionPort"),dQn=new _L("inputCollect",!1),xQn=new _L("outputCollect",!1),iQn=new _L("cyclic",!1),eQn=new Og("crossHierarchyMap"),YQn=new Og("targetOffset"),new _L("splineLabelSize",new Pk),zQn=new Og("spacings"),DQn=new _L("partitionConstraint",!1),YVn=new Og("breakingPoint.info"),VQn=new Og("splines.survivingEdge"),WQn=new Og("splines.route.start"),UQn=new Og("splines.edgeChain"),NQn=new Og("originalPortConstraints"),GQn=new Og("selfLoopHolder"),XQn=new Og("splines.nsPortY"),IQn=new Og("modelOrder"),SQn=new Og("longEdgeTargetNode"),lQn=new _L(aCn,!1),qQn=new _L(aCn,!1),wQn=new Og("layerConstraints.hiddenNodes"),LQn=new Og("layerConstraints.opposidePort"),QQn=new Og("targetNode.modelOrder")}function Ajn(){Ajn=O,fZ(),FYn=new FI(uCn,BYn=FWn),rJn=new FI(oCn,(TA(),!1)),dX(),sJn=new FI(sCn,hJn=zVn),IJn=new FI(hCn,!1),CJn=new FI(fCn,!0),aYn=new FI(lCn,!1),$J(),WJn=new FI(bCn,VJn=J2n),d9(1),iZn=new FI(wCn,d9(7)),rZn=new FI(dCn,!1),cJn=new FI(gCn,!1),min(),KYn=new FI(pCn,_Yn=NWn),nun(),SJn=new FI(vCn,PJn=d2n),d7(),gJn=new FI(mCn,pJn=iYn),d9(-1),dJn=new FI(yCn,d9(-1)),d9(-1),vJn=new FI(kCn,d9(-1)),d9(-1),mJn=new FI(jCn,d9(4)),d9(-1),kJn=new FI(ECn,d9(2)),_bn(),TJn=new FI(TCn,MJn=q2n),d9(0),EJn=new FI(MCn,d9(0)),bJn=new FI(SCn,d9(Yjn)),O0(),DYn=new FI(PCn,RYn=TWn),kYn=new FI(ICn,!1),OYn=new FI(CCn,.1),NYn=new FI(OCn,!1),d9(-1),$Yn=new FI(ACn,d9(-1)),d9(-1),LYn=new FI($Cn,d9(-1)),d9(0),jYn=new FI(LCn,d9(40)),r4(),PYn=new FI(NCn,IYn=RVn),EYn=new FI(xCn,TYn=xVn),ain(),UJn=new FI(DCn,XJn=O2n),DJn=new Og(RCn),cJ(),OJn=new FI(KCn,AJn=iVn),Wcn(),LJn=new FI(_Cn,NJn=hVn),new tp,_Jn=new FI(FCn,.3),BJn=new Og(BCn),Hen(),HJn=new FI(HCn,qJn=S2n),d3(),WYn=new FI(qCn,VYn=o3n),rQ(),QYn=new FI(GCn,YYn=b3n),$6(),JYn=new FI(zCn,ZYn=v3n),tJn=new FI(UCn,.2),UYn=new FI(XCn,2),ZJn=new FI(WCn,null),tZn=new FI(VCn,10),nZn=new FI(QCn,10),eZn=new FI(YCn,20),d9(0),QJn=new FI(JCn,d9(0)),d9(0),YJn=new FI(ZCn,d9(0)),d9(0),JJn=new FI(nOn,d9(0)),uYn=new FI(tOn,!1),uon(),hYn=new FI(eOn,fYn=mVn),aY(),oYn=new FI(iOn,sYn=yWn),uJn=new FI(rOn,!1),d9(0),aJn=new FI(cOn,d9(16)),d9(0),oJn=new FI(aOn,d9(5)),F4(),SZn=new FI(uOn,PZn=P3n),cZn=new FI(oOn,10),oZn=new FI(sOn,1),f0(),gZn=new FI(hOn,pZn=OWn),fZn=new Og(fOn),wZn=d9(1),d9(0),bZn=new FI(lOn,wZn),V2(),AZn=new FI(bOn,$Zn=k3n),IZn=new Og(wOn),jZn=new FI(dOn,!0),yZn=new FI(gOn,2),TZn=new FI(pOn,!0),pon(),GYn=new FI(vOn,zYn=ZWn),psn(),HYn=new FI(mOn,qYn=bWn),k5(),mYn=new FI(yOn,yYn=W2n),vYn=new FI(kOn,!1),e9(),lYn=new FI(jOn,bYn=Izn),i8(),gYn=new FI(EOn,pYn=m2n),wYn=new FI(TOn,0),dYn=new FI(MOn,0),lJn=DWn,fJn=EWn,yJn=w2n,jJn=w2n,wJn=f2n,O8(),AYn=$et,xYn=TWn,CYn=TWn,MYn=TWn,SYn=$et,RJn=L2n,KJn=O2n,$Jn=O2n,xJn=O2n,FJn=$2n,zJn=L2n,GJn=L2n,g7(),nJn=bet,eJn=bet,iJn=v3n,XYn=fet,aZn=I3n,uZn=S3n,sZn=I3n,hZn=S3n,vZn=I3n,mZn=S3n,lZn=CWn,dZn=OWn,LZn=I3n,NZn=S3n,CZn=I3n,OZn=S3n,EZn=S3n,kZn=S3n,MZn=S3n}function $jn(){$jn=O,vUn=new vM("DIRECTION_PREPROCESSOR",0),dUn=new vM("COMMENT_PREPROCESSOR",1),mUn=new vM("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),xUn=new vM("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),nXn=new vM("PARTITION_PREPROCESSOR",4),_Un=new vM("LABEL_DUMMY_INSERTER",5),aXn=new vM("SELF_LOOP_PREPROCESSOR",6),GUn=new vM("LAYER_CONSTRAINT_PREPROCESSOR",7),JUn=new vM("PARTITION_MIDPROCESSOR",8),OUn=new vM("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),WUn=new vM("NODE_PROMOTION",10),qUn=new vM("LAYER_CONSTRAINT_POSTPROCESSOR",11),ZUn=new vM("PARTITION_POSTPROCESSOR",12),SUn=new vM("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),oXn=new vM("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),sUn=new vM("BREAKING_POINT_INSERTER",15),XUn=new vM("LONG_EDGE_SPLITTER",16),eXn=new vM("PORT_SIDE_PROCESSOR",17),DUn=new vM("INVERTED_PORT_PROCESSOR",18),tXn=new vM("PORT_LIST_SORTER",19),hXn=new vM("SORT_BY_INPUT_ORDER_OF_MODEL",20),QUn=new vM("NORTH_SOUTH_PORT_PREPROCESSOR",21),hUn=new vM("BREAKING_POINT_PROCESSOR",22),YUn=new vM(KIn,23),fXn=new vM(_In,24),rXn=new vM("SELF_LOOP_PORT_RESTORER",25),sXn=new vM("SINGLE_EDGE_GRAPH_WRAPPER",26),RUn=new vM("IN_LAYER_CONSTRAINT_PROCESSOR",27),EUn=new vM("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),KUn=new vM("LABEL_AND_NODE_SIZE_PROCESSOR",29),NUn=new vM("INNERMOST_NODE_MARGIN_CALCULATOR",30),uXn=new vM("SELF_LOOP_ROUTER",31),bUn=new vM("COMMENT_NODE_MARGIN_CALCULATOR",32),kUn=new vM("END_LABEL_PREPROCESSOR",33),BUn=new vM("LABEL_DUMMY_SWITCHER",34),lUn=new vM("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),HUn=new vM("LABEL_SIDE_SELECTOR",36),$Un=new vM("HYPEREDGE_DUMMY_MERGER",37),PUn=new vM("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),zUn=new vM("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),CUn=new vM("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),gUn=new vM("CONSTRAINTS_POSTPROCESSOR",41),wUn=new vM("COMMENT_POSTPROCESSOR",42),LUn=new vM("HYPERNODE_PROCESSOR",43),IUn=new vM("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),UUn=new vM("LONG_EDGE_JOINER",45),cXn=new vM("SELF_LOOP_POSTPROCESSOR",46),fUn=new vM("BREAKING_POINT_REMOVER",47),VUn=new vM("NORTH_SOUTH_PORT_POSTPROCESSOR",48),AUn=new vM("HORIZONTAL_COMPACTOR",49),FUn=new vM("LABEL_DUMMY_REMOVER",50),TUn=new vM("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),jUn=new vM("END_LABEL_SORTER",52),iXn=new vM("REVERSED_EDGE_RESTORER",53),yUn=new vM("END_LABEL_POSTPROCESSOR",54),MUn=new vM("HIERARCHICAL_NODE_RESIZER",55),pUn=new vM("DIRECTION_POSTPROCESSOR",56)}function Ljn(){Ljn=O,Tot=new np(7),Mot=new BR(8,94),new BR(8,64),Sot=new BR(8,36),$ot=new BR(8,65),Lot=new BR(8,122),Not=new BR(8,90),Rot=new BR(8,98),Oot=new BR(8,66),xot=new BR(8,60),Kot=new BR(8,62),Eot=new np(11),zwn(jot=new cU(4),48,57),zwn(Dot=new cU(4),48,57),zwn(Dot,65,90),zwn(Dot,95,95),zwn(Dot,97,122),zwn(Aot=new cU(4),9,9),zwn(Aot,10,10),zwn(Aot,12,12),zwn(Aot,13,13),zwn(Aot,32,32),Pot=nvn(jot),Cot=nvn(Dot),Iot=nvn(Aot),vot=new rp,mot=new rp,yot=x4(Gy(fFn,1),TEn,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),pot=x4(Gy(fFn,1),TEn,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",AKn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),kot=x4(Gy(Wot,1),MTn,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function Njn(){Njn=O,BHn=new U2("OUT_T_L",0,(BY(),fHn),(OJ(),pHn),(JZ(),rHn),rHn,x4(Gy(YKn,1),iEn,21,0,[tK((Eln(),Wet),x4(Gy(cit,1),XEn,93,0,[Yet,Get]))])),FHn=new U2("OUT_T_C",1,hHn,pHn,rHn,cHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Yet,qet])),tK(Wet,x4(Gy(cit,1),XEn,93,0,[Yet,qet,zet]))])),HHn=new U2("OUT_T_R",2,lHn,pHn,rHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Yet,Uet]))])),$Hn=new U2("OUT_B_L",3,fHn,mHn,aHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,Get]))])),AHn=new U2("OUT_B_C",4,hHn,mHn,aHn,cHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,qet])),tK(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,qet,zet]))])),LHn=new U2("OUT_B_R",5,lHn,mHn,aHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Vet,Uet]))])),DHn=new U2("OUT_L_T",6,lHn,mHn,rHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Yet,zet]))])),xHn=new U2("OUT_L_C",7,lHn,vHn,cHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Qet])),tK(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Qet,zet]))])),NHn=new U2("OUT_L_B",8,lHn,pHn,aHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Get,Vet,zet]))])),_Hn=new U2("OUT_R_T",9,fHn,mHn,rHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Yet,zet]))])),KHn=new U2("OUT_R_C",10,fHn,vHn,cHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Qet])),tK(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Qet,zet]))])),RHn=new U2("OUT_R_B",11,fHn,pHn,aHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Wet,x4(Gy(cit,1),XEn,93,0,[Uet,Vet,zet]))])),CHn=new U2("IN_T_L",12,fHn,mHn,rHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Get])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Get,zet]))])),IHn=new U2("IN_T_C",13,hHn,mHn,rHn,cHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,qet])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,qet,zet]))])),OHn=new U2("IN_T_R",14,lHn,mHn,rHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Uet])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Yet,Uet,zet]))])),SHn=new U2("IN_C_L",15,fHn,vHn,cHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Get])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Get,zet]))])),MHn=new U2("IN_C_C",16,hHn,vHn,cHn,cHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,qet])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,qet,zet]))])),PHn=new U2("IN_C_R",17,lHn,vHn,cHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Uet])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Qet,Uet,zet]))])),EHn=new U2("IN_B_L",18,fHn,pHn,aHn,rHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Get])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Get,zet]))])),jHn=new U2("IN_B_C",19,hHn,pHn,aHn,cHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,qet])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,qet,zet]))])),THn=new U2("IN_B_R",20,lHn,pHn,aHn,aHn,x4(Gy(YKn,1),iEn,21,0,[tK(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Uet])),tK(Xet,x4(Gy(cit,1),XEn,93,0,[Vet,Uet,zet]))])),qHn=new U2(MSn,21,null,null,null,null,x4(Gy(YKn,1),iEn,21,0,[]))}function xjn(){xjn=O,vat=(YF(),gat).b,Yx(c1(aq(gat.b),0),34),Yx(c1(aq(gat.b),1),18),pat=gat.a,Yx(c1(aq(gat.a),0),34),Yx(c1(aq(gat.a),1),18),Yx(c1(aq(gat.a),2),18),Yx(c1(aq(gat.a),3),18),Yx(c1(aq(gat.a),4),18),mat=gat.o,Yx(c1(aq(gat.o),0),34),Yx(c1(aq(gat.o),1),34),kat=Yx(c1(aq(gat.o),2),18),Yx(c1(aq(gat.o),3),18),Yx(c1(aq(gat.o),4),18),Yx(c1(aq(gat.o),5),18),Yx(c1(aq(gat.o),6),18),Yx(c1(aq(gat.o),7),18),Yx(c1(aq(gat.o),8),18),Yx(c1(aq(gat.o),9),18),Yx(c1(aq(gat.o),10),18),Yx(c1(aq(gat.o),11),18),Yx(c1(aq(gat.o),12),18),Yx(c1(aq(gat.o),13),18),Yx(c1(aq(gat.o),14),18),Yx(c1(aq(gat.o),15),18),Yx(c1(cq(gat.o),0),59),Yx(c1(cq(gat.o),1),59),Yx(c1(cq(gat.o),2),59),Yx(c1(cq(gat.o),3),59),Yx(c1(cq(gat.o),4),59),Yx(c1(cq(gat.o),5),59),Yx(c1(cq(gat.o),6),59),Yx(c1(cq(gat.o),7),59),Yx(c1(cq(gat.o),8),59),Yx(c1(cq(gat.o),9),59),yat=gat.p,Yx(c1(aq(gat.p),0),34),Yx(c1(aq(gat.p),1),34),Yx(c1(aq(gat.p),2),34),Yx(c1(aq(gat.p),3),34),Yx(c1(aq(gat.p),4),18),Yx(c1(aq(gat.p),5),18),Yx(c1(cq(gat.p),0),59),Yx(c1(cq(gat.p),1),59),jat=gat.q,Yx(c1(aq(gat.q),0),34),Eat=gat.v,Yx(c1(aq(gat.v),0),18),Yx(c1(cq(gat.v),0),59),Yx(c1(cq(gat.v),1),59),Yx(c1(cq(gat.v),2),59),Tat=gat.w,Yx(c1(aq(gat.w),0),34),Yx(c1(aq(gat.w),1),34),Yx(c1(aq(gat.w),2),34),Yx(c1(aq(gat.w),3),18),Mat=gat.B,Yx(c1(aq(gat.B),0),18),Yx(c1(cq(gat.B),0),59),Yx(c1(cq(gat.B),1),59),Yx(c1(cq(gat.B),2),59),Iat=gat.Q,Yx(c1(aq(gat.Q),0),18),Yx(c1(cq(gat.Q),0),59),Cat=gat.R,Yx(c1(aq(gat.R),0),34),Oat=gat.S,Yx(c1(cq(gat.S),0),59),Yx(c1(cq(gat.S),1),59),Yx(c1(cq(gat.S),2),59),Yx(c1(cq(gat.S),3),59),Yx(c1(cq(gat.S),4),59),Yx(c1(cq(gat.S),5),59),Yx(c1(cq(gat.S),6),59),Yx(c1(cq(gat.S),7),59),Yx(c1(cq(gat.S),8),59),Yx(c1(cq(gat.S),9),59),Yx(c1(cq(gat.S),10),59),Yx(c1(cq(gat.S),11),59),Yx(c1(cq(gat.S),12),59),Yx(c1(cq(gat.S),13),59),Yx(c1(cq(gat.S),14),59),Aat=gat.T,Yx(c1(aq(gat.T),0),18),Yx(c1(aq(gat.T),2),18),$at=Yx(c1(aq(gat.T),3),18),Yx(c1(aq(gat.T),4),18),Yx(c1(cq(gat.T),0),59),Yx(c1(cq(gat.T),1),59),Yx(c1(aq(gat.T),1),18),Lat=gat.U,Yx(c1(aq(gat.U),0),34),Yx(c1(aq(gat.U),1),34),Yx(c1(aq(gat.U),2),18),Yx(c1(aq(gat.U),3),18),Yx(c1(aq(gat.U),4),18),Yx(c1(aq(gat.U),5),18),Yx(c1(cq(gat.U),0),59),Nat=gat.V,Yx(c1(aq(gat.V),0),18),xat=gat.W,Yx(c1(aq(gat.W),0),34),Yx(c1(aq(gat.W),1),34),Yx(c1(aq(gat.W),2),34),Yx(c1(aq(gat.W),3),18),Yx(c1(aq(gat.W),4),18),Yx(c1(aq(gat.W),5),18),Rat=gat.bb,Yx(c1(aq(gat.bb),0),34),Yx(c1(aq(gat.bb),1),34),Yx(c1(aq(gat.bb),2),34),Yx(c1(aq(gat.bb),3),34),Yx(c1(aq(gat.bb),4),34),Yx(c1(aq(gat.bb),5),34),Yx(c1(aq(gat.bb),6),34),Yx(c1(aq(gat.bb),7),18),Yx(c1(cq(gat.bb),0),59),Yx(c1(cq(gat.bb),1),59),Kat=gat.eb,Yx(c1(aq(gat.eb),0),34),Yx(c1(aq(gat.eb),1),34),Yx(c1(aq(gat.eb),2),34),Yx(c1(aq(gat.eb),3),34),Yx(c1(aq(gat.eb),4),34),Yx(c1(aq(gat.eb),5),34),Yx(c1(aq(gat.eb),6),18),Yx(c1(aq(gat.eb),7),18),Dat=gat.ab,Yx(c1(aq(gat.ab),0),34),Yx(c1(aq(gat.ab),1),34),Sat=gat.H,Yx(c1(aq(gat.H),0),18),Yx(c1(aq(gat.H),1),18),Yx(c1(aq(gat.H),2),18),Yx(c1(aq(gat.H),3),18),Yx(c1(aq(gat.H),4),18),Yx(c1(aq(gat.H),5),18),Yx(c1(cq(gat.H),0),59),_at=gat.db,Yx(c1(aq(gat.db),0),18),Pat=gat.M}function Djn(n){uT(n,new tun(ck(tk(rk(nk(ik(ek(new du,CIn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Ic),CIn),tK((zfn(),vct),x4(Gy(kct,1),XEn,237,0,[dct,gct,wct,pct,lct,fct]))))),DU(n,CIn,WOn,oen(A0n)),DU(n,CIn,VOn,oen($0n)),DU(n,CIn,oPn,oen(L0n)),DU(n,CIn,QOn,oen(N0n)),DU(n,CIn,NPn,oen(D0n)),DU(n,CIn,YOn,oen(R0n)),DU(n,CIn,JOn,oen(F0n)),DU(n,CIn,ZOn,oen(H0n)),DU(n,CIn,nAn,oen(q0n)),DU(n,CIn,tAn,oen(B0n)),DU(n,CIn,LPn,oen(G0n)),DU(n,CIn,eAn,oen(U0n)),DU(n,CIn,iAn,oen(W0n)),DU(n,CIn,rAn,oen(_0n)),DU(n,CIn,WCn,oen(O0n)),DU(n,CIn,QCn,oen(x0n)),DU(n,CIn,VCn,oen(K0n)),DU(n,CIn,YCn,oen(z0n)),DU(n,CIn,$Pn,d9(0)),DU(n,CIn,JCn,oen(M0n)),DU(n,CIn,ZCn,oen(S0n)),DU(n,CIn,nOn,oen(P0n)),DU(n,CIn,uOn,oen(c2n)),DU(n,CIn,oOn,oen(Y0n)),DU(n,CIn,sOn,oen(J0n)),DU(n,CIn,hOn,oen(t2n)),DU(n,CIn,fOn,oen(Z0n)),DU(n,CIn,lOn,oen(n2n)),DU(n,CIn,bOn,oen(u2n)),DU(n,CIn,wOn,oen(a2n)),DU(n,CIn,dOn,oen(i2n)),DU(n,CIn,gOn,oen(e2n)),DU(n,CIn,pOn,oen(r2n)),DU(n,CIn,BCn,oen(Y1n)),DU(n,CIn,HCn,oen(J1n)),DU(n,CIn,zCn,oen(v1n)),DU(n,CIn,UCn,oen(m1n)),DU(n,CIn,fPn,a0n),DU(n,CIn,xOn,w1n),DU(n,CIn,cAn,0),DU(n,CIn,xPn,d9(1)),DU(n,CIn,hPn,OPn),DU(n,CIn,aAn,oen(r0n)),DU(n,CIn,KPn,oen(g0n)),DU(n,CIn,uAn,oen(k0n)),DU(n,CIn,oAn,oen(c1n)),DU(n,CIn,sAn,oen(xZn)),DU(n,CIn,OOn,oen(E1n)),DU(n,CIn,DPn,(TA(),!0)),DU(n,CIn,hAn,oen(I1n)),DU(n,CIn,fAn,oen(C1n)),DU(n,CIn,HPn,oen(n0n)),DU(n,CIn,BPn,oen(i0n)),DU(n,CIn,lAn,oen(t0n)),DU(n,CIn,bAn,o1n),DU(n,CIn,qPn,oen(U1n)),DU(n,CIn,wAn,oen(z1n)),DU(n,CIn,GPn,oen(m0n)),DU(n,CIn,dAn,oen(v0n)),DU(n,CIn,gAn,oen(y0n)),DU(n,CIn,pAn,s0n),DU(n,CIn,vAn,oen(f0n)),DU(n,CIn,mAn,oen(l0n)),DU(n,CIn,yAn,oen(b0n)),DU(n,CIn,kAn,oen(h0n)),DU(n,CIn,dCn,oen(Q0n)),DU(n,CIn,vCn,oen(B1n)),DU(n,CIn,TCn,oen(F1n)),DU(n,CIn,wCn,oen(V0n)),DU(n,CIn,mCn,oen(x1n)),DU(n,CIn,pCn,oen(r1n)),DU(n,CIn,PCn,oen(i1n)),DU(n,CIn,ICn,oen(VZn)),DU(n,CIn,LCn,oen(QZn)),DU(n,CIn,NCn,oen(JZn)),DU(n,CIn,xCn,oen(YZn)),DU(n,CIn,OCn,oen(e1n)),DU(n,CIn,hCn,oen(q1n)),DU(n,CIn,fCn,oen(G1n)),DU(n,CIn,sCn,oen(A1n)),DU(n,CIn,DCn,oen(Z1n)),DU(n,CIn,_Cn,oen(W1n)),DU(n,CIn,oCn,oen(k1n)),DU(n,CIn,FCn,oen(Q1n)),DU(n,CIn,qCn,oen(g1n)),DU(n,CIn,GCn,oen(p1n)),DU(n,CIn,jAn,oen(WZn)),DU(n,CIn,KCn,oen(X1n)),DU(n,CIn,eOn,oen(BZn)),DU(n,CIn,iOn,oen(FZn)),DU(n,CIn,tOn,oen(_Zn)),DU(n,CIn,rOn,oen(M1n)),DU(n,CIn,cOn,oen(T1n)),DU(n,CIn,aOn,oen(S1n)),DU(n,CIn,eIn,oen(e0n)),DU(n,CIn,EAn,oen($1n)),DU(n,CIn,sPn,oen(y1n)),DU(n,CIn,TAn,oen(f1n)),DU(n,CIn,_Pn,oen(h1n)),DU(n,CIn,CCn,oen(ZZn)),DU(n,CIn,MAn,oen(p0n)),DU(n,CIn,SAn,oen(KZn)),DU(n,CIn,PAn,oen(P1n)),DU(n,CIn,IAn,oen(w0n)),DU(n,CIn,CAn,oen(u0n)),DU(n,CIn,OAn,oen(o0n)),DU(n,CIn,jCn,oen(R1n)),DU(n,CIn,ECn,oen(K1n)),DU(n,CIn,AAn,oen(E0n)),DU(n,CIn,lCn,oen(DZn)),DU(n,CIn,MCn,oen(_1n)),DU(n,CIn,vOn,oen(l1n)),DU(n,CIn,mOn,oen(s1n)),DU(n,CIn,$An,oen(H1n)),DU(n,CIn,SCn,oen(L1n)),DU(n,CIn,RCn,oen(V1n)),DU(n,CIn,LAn,oen(X0n)),DU(n,CIn,uCn,oen(u1n)),DU(n,CIn,bCn,oen(j0n)),DU(n,CIn,XCn,oen(d1n)),DU(n,CIn,yCn,oen(N1n)),DU(n,CIn,ACn,oen(n1n)),DU(n,CIn,NAn,oen(O1n)),DU(n,CIn,kCn,oen(D1n)),DU(n,CIn,$Cn,oen(t1n)),DU(n,CIn,yOn,oen(XZn)),DU(n,CIn,EOn,oen(zZn)),DU(n,CIn,TOn,oen(qZn)),DU(n,CIn,MOn,oen(GZn)),DU(n,CIn,kOn,oen(UZn)),DU(n,CIn,jOn,oen(HZn)),DU(n,CIn,gCn,oen(j1n))}function Rjn(n,t){var e;return dot||(dot=new rp,got=new rp,Ljn(),Ljn(),$nn(e=new cU(4),"\t\n\r\r "),GG(dot,SKn,e),GG(got,SKn,nvn(e)),$nn(e=new cU(4),CKn),GG(dot,TKn,e),GG(got,TKn,nvn(e)),$nn(e=new cU(4),CKn),GG(dot,TKn,e),GG(got,TKn,nvn(e)),$nn(e=new cU(4),OKn),fmn(e,Yx(aG(dot,TKn),117)),GG(dot,MKn,e),GG(got,MKn,nvn(e)),$nn(e=new cU(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),GG(dot,PKn,e),GG(got,PKn,nvn(e)),$nn(e=new cU(4),OKn),zwn(e,95,95),zwn(e,58,58),GG(dot,IKn,e),GG(got,IKn,nvn(e))),Yx(aG(t?dot:got,n),136)}function Kjn(n){return _N("_UI_EMFDiagnostic_marker",n)?"EMF Problem":_N("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":_N(Cxn,n)?"Wrong character.":_N(Oxn,n)?"Invalid reference number.":_N(Axn,n)?"A character is required after \\.":_N($xn,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":_N(Lxn,n)?"'(?<' or '(? toIndex: ",DMn=", toIndex: ",RMn="Index: ",KMn=", Size: ",_Mn="org.eclipse.elk.alg.common",FMn={62:1},BMn="org.eclipse.elk.alg.common.compaction",HMn="Scanline/EventHandler",qMn="org.eclipse.elk.alg.common.compaction.oned",GMn="CNode belongs to another CGroup.",zMn="ISpacingsHandler/1",UMn="The ",XMn=" instance has been finished already.",WMn="The direction ",VMn=" is not supported by the CGraph instance.",QMn="OneDimensionalCompactor",YMn="OneDimensionalCompactor/lambda$0$Type",JMn="Quadruplet",ZMn="ScanlineConstraintCalculator",nSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",tSn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",eSn="ScanlineConstraintCalculator/Timestamp",iSn="ScanlineConstraintCalculator/lambda$0$Type",rSn={169:1,45:1},cSn="org.eclipse.elk.alg.common.compaction.options",aSn="org.eclipse.elk.core.data",uSn="org.eclipse.elk.polyomino.traversalStrategy",oSn="org.eclipse.elk.polyomino.lowLevelSort",sSn="org.eclipse.elk.polyomino.highLevelSort",hSn="org.eclipse.elk.polyomino.fill",fSn={130:1},lSn="polyomino",bSn="org.eclipse.elk.alg.common.networksimplex",wSn={177:1,3:1,4:1},dSn="org.eclipse.elk.alg.common.nodespacing",gSn="org.eclipse.elk.alg.common.nodespacing.cellsystem",pSn="CENTER",vSn={212:1,326:1},mSn={3:1,4:1,5:1,595:1},ySn="LEFT",kSn="RIGHT",jSn="Vertical alignment cannot be null",ESn="BOTTOM",TSn="org.eclipse.elk.alg.common.nodespacing.internal",MSn="UNDEFINED",SSn=.01,PSn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",ISn="LabelPlacer/lambda$0$Type",CSn="LabelPlacer/lambda$1$Type",OSn="portRatioOrPosition",ASn="org.eclipse.elk.alg.common.overlaps",$Sn="DOWN",LSn="org.eclipse.elk.alg.common.polyomino",NSn="NORTH",xSn="EAST",DSn="SOUTH",RSn="WEST",KSn="org.eclipse.elk.alg.common.polyomino.structures",_Sn="Direction",FSn="Grid is only of size ",BSn=". Requested point (",HSn=") is out of bounds.",qSn=" Given center based coordinates were (",GSn="org.eclipse.elk.graph.properties",zSn="IPropertyHolder",USn={3:1,94:1,134:1},XSn="org.eclipse.elk.alg.common.spore",WSn="org.eclipse.elk.alg.common.utils",VSn={209:1},QSn="org.eclipse.elk.core",YSn="Connected Components Compaction",JSn="org.eclipse.elk.alg.disco",ZSn="org.eclipse.elk.alg.disco.graph",nPn="org.eclipse.elk.alg.disco.options",tPn="CompactionStrategy",ePn="org.eclipse.elk.disco.componentCompaction.strategy",iPn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",rPn="org.eclipse.elk.disco.debug.discoGraph",cPn="org.eclipse.elk.disco.debug.discoPolys",aPn="componentCompaction",uPn="org.eclipse.elk.disco",oPn="org.eclipse.elk.spacing.componentComponent",sPn="org.eclipse.elk.edge.thickness",hPn="org.eclipse.elk.aspectRatio",fPn="org.eclipse.elk.padding",lPn="org.eclipse.elk.alg.disco.transform",bPn=1.5707963267948966,wPn=17976931348623157e292,dPn={3:1,4:1,5:1,192:1},gPn={3:1,6:1,4:1,5:1,106:1,120:1},pPn="org.eclipse.elk.alg.force",vPn="ComponentsProcessor",mPn="ComponentsProcessor/1",yPn="org.eclipse.elk.alg.force.graph",kPn="Component Layout",jPn="org.eclipse.elk.alg.force.model",EPn="org.eclipse.elk.force.model",TPn="org.eclipse.elk.force.iterations",MPn="org.eclipse.elk.force.repulsivePower",SPn="org.eclipse.elk.force.temperature",PPn=.001,IPn="org.eclipse.elk.force.repulsion",CPn="org.eclipse.elk.alg.force.options",OPn=1.600000023841858,APn="org.eclipse.elk.force",$Pn="org.eclipse.elk.priority",LPn="org.eclipse.elk.spacing.nodeNode",NPn="org.eclipse.elk.spacing.edgeLabel",xPn="org.eclipse.elk.randomSeed",DPn="org.eclipse.elk.separateConnectedComponents",RPn="org.eclipse.elk.interactive",KPn="org.eclipse.elk.portConstraints",_Pn="org.eclipse.elk.edgeLabels.inline",FPn="org.eclipse.elk.omitNodeMicroLayout",BPn="org.eclipse.elk.nodeSize.options",HPn="org.eclipse.elk.nodeSize.constraints",qPn="org.eclipse.elk.nodeLabels.placement",GPn="org.eclipse.elk.portLabels.placement",zPn="origin",UPn="random",XPn="boundingBox.upLeft",WPn="boundingBox.lowRight",VPn="org.eclipse.elk.stress.fixed",QPn="org.eclipse.elk.stress.desiredEdgeLength",YPn="org.eclipse.elk.stress.dimension",JPn="org.eclipse.elk.stress.epsilon",ZPn="org.eclipse.elk.stress.iterationLimit",nIn="org.eclipse.elk.stress",tIn="ELK Stress",eIn="org.eclipse.elk.nodeSize.minimum",iIn="org.eclipse.elk.alg.force.stress",rIn="Layered layout",cIn="org.eclipse.elk.alg.layered",aIn="org.eclipse.elk.alg.layered.compaction.components",uIn="org.eclipse.elk.alg.layered.compaction.oned",oIn="org.eclipse.elk.alg.layered.compaction.oned.algs",sIn="org.eclipse.elk.alg.layered.compaction.recthull",hIn="org.eclipse.elk.alg.layered.components",fIn="NONE",lIn={3:1,6:1,4:1,9:1,5:1,122:1},bIn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},wIn="org.eclipse.elk.alg.layered.compound",dIn={51:1},gIn="org.eclipse.elk.alg.layered.graph",pIn=" -> ",vIn="Not supported by LGraph",mIn="Port side is undefined",yIn={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},kIn={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},jIn={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},EIn="([{\"' \t\r\n",TIn=")]}\"' \t\r\n",MIn="The given string contains parts that cannot be parsed as numbers.",SIn="org.eclipse.elk.core.math",PIn={3:1,4:1,142:1,207:1,414:1},IIn={3:1,4:1,116:1,207:1,414:1},CIn="org.eclipse.elk.layered",OIn="org.eclipse.elk.alg.layered.graph.transform",AIn="ElkGraphImporter",$In="ElkGraphImporter/lambda$0$Type",LIn="ElkGraphImporter/lambda$1$Type",NIn="ElkGraphImporter/lambda$2$Type",xIn="ElkGraphImporter/lambda$4$Type",DIn="Node margin calculation",RIn="org.eclipse.elk.alg.layered.intermediate",KIn="ONE_SIDED_GREEDY_SWITCH",_In="TWO_SIDED_GREEDY_SWITCH",FIn="No implementation is available for the layout processor ",BIn="IntermediateProcessorStrategy",HIn="Node '",qIn="FIRST_SEPARATE",GIn="LAST_SEPARATE",zIn="Odd port side processing",UIn="org.eclipse.elk.alg.layered.intermediate.compaction",XIn="org.eclipse.elk.alg.layered.intermediate.greedyswitch",WIn="org.eclipse.elk.alg.layered.p3order.counting",VIn={225:1},QIn="org.eclipse.elk.alg.layered.intermediate.loops",YIn="org.eclipse.elk.alg.layered.intermediate.loops.ordering",JIn="org.eclipse.elk.alg.layered.intermediate.loops.routing",ZIn="org.eclipse.elk.alg.layered.intermediate.preserveorder",nCn="org.eclipse.elk.alg.layered.intermediate.wrapping",tCn="org.eclipse.elk.alg.layered.options",eCn="INTERACTIVE",iCn="DEPTH_FIRST",rCn="EDGE_LENGTH",cCn="SELF_LOOPS",aCn="firstTryWithInitialOrder",uCn="org.eclipse.elk.layered.directionCongruency",oCn="org.eclipse.elk.layered.feedbackEdges",sCn="org.eclipse.elk.layered.interactiveReferencePoint",hCn="org.eclipse.elk.layered.mergeEdges",fCn="org.eclipse.elk.layered.mergeHierarchyEdges",lCn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",bCn="org.eclipse.elk.layered.portSortingStrategy",wCn="org.eclipse.elk.layered.thoroughness",dCn="org.eclipse.elk.layered.unnecessaryBendpoints",gCn="org.eclipse.elk.layered.generatePositionAndLayerIds",pCn="org.eclipse.elk.layered.cycleBreaking.strategy",vCn="org.eclipse.elk.layered.layering.strategy",mCn="org.eclipse.elk.layered.layering.layerConstraint",yCn="org.eclipse.elk.layered.layering.layerChoiceConstraint",kCn="org.eclipse.elk.layered.layering.layerId",jCn="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",ECn="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",TCn="org.eclipse.elk.layered.layering.nodePromotion.strategy",MCn="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",SCn="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",PCn="org.eclipse.elk.layered.crossingMinimization.strategy",ICn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",CCn="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",OCn="org.eclipse.elk.layered.crossingMinimization.semiInteractive",ACn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",$Cn="org.eclipse.elk.layered.crossingMinimization.positionId",LCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",NCn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",xCn="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",DCn="org.eclipse.elk.layered.nodePlacement.strategy",RCn="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",KCn="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",_Cn="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",FCn="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",BCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",HCn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",qCn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",GCn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",zCn="org.eclipse.elk.layered.edgeRouting.splines.mode",UCn="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",XCn="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",WCn="org.eclipse.elk.layered.spacing.baseValue",VCn="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",QCn="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",YCn="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",JCn="org.eclipse.elk.layered.priority.direction",ZCn="org.eclipse.elk.layered.priority.shortness",nOn="org.eclipse.elk.layered.priority.straightness",tOn="org.eclipse.elk.layered.compaction.connectedComponents",eOn="org.eclipse.elk.layered.compaction.postCompaction.strategy",iOn="org.eclipse.elk.layered.compaction.postCompaction.constraints",rOn="org.eclipse.elk.layered.highDegreeNodes.treatment",cOn="org.eclipse.elk.layered.highDegreeNodes.threshold",aOn="org.eclipse.elk.layered.highDegreeNodes.treeHeight",uOn="org.eclipse.elk.layered.wrapping.strategy",oOn="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",sOn="org.eclipse.elk.layered.wrapping.correctionFactor",hOn="org.eclipse.elk.layered.wrapping.cutting.strategy",fOn="org.eclipse.elk.layered.wrapping.cutting.cuts",lOn="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",bOn="org.eclipse.elk.layered.wrapping.validify.strategy",wOn="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",dOn="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",gOn="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",pOn="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",vOn="org.eclipse.elk.layered.edgeLabels.sideSelection",mOn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",yOn="org.eclipse.elk.layered.considerModelOrder.strategy",kOn="org.eclipse.elk.layered.considerModelOrder.noModelOrder",jOn="org.eclipse.elk.layered.considerModelOrder.components",EOn="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",TOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",MOn="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",SOn="layering",POn="layering.minWidth",IOn="layering.nodePromotion",COn="crossingMinimization",OOn="org.eclipse.elk.hierarchyHandling",AOn="crossingMinimization.greedySwitch",$On="nodePlacement",LOn="nodePlacement.bk",NOn="edgeRouting",xOn="org.eclipse.elk.edgeRouting",DOn="spacing",ROn="priority",KOn="compaction",_On="compaction.postCompaction",FOn="Specifies whether and how post-process compaction is applied.",BOn="highDegreeNodes",HOn="wrapping",qOn="wrapping.cutting",GOn="wrapping.validify",zOn="wrapping.multiEdge",UOn="edgeLabels",XOn="considerModelOrder",WOn="org.eclipse.elk.spacing.commentComment",VOn="org.eclipse.elk.spacing.commentNode",QOn="org.eclipse.elk.spacing.edgeEdge",YOn="org.eclipse.elk.spacing.edgeNode",JOn="org.eclipse.elk.spacing.labelLabel",ZOn="org.eclipse.elk.spacing.labelPortHorizontal",nAn="org.eclipse.elk.spacing.labelPortVertical",tAn="org.eclipse.elk.spacing.labelNode",eAn="org.eclipse.elk.spacing.nodeSelfLoop",iAn="org.eclipse.elk.spacing.portPort",rAn="org.eclipse.elk.spacing.individual",cAn="org.eclipse.elk.port.borderOffset",aAn="org.eclipse.elk.noLayout",uAn="org.eclipse.elk.port.side",oAn="org.eclipse.elk.debugMode",sAn="org.eclipse.elk.alignment",hAn="org.eclipse.elk.insideSelfLoops.activate",fAn="org.eclipse.elk.insideSelfLoops.yo",lAn="org.eclipse.elk.nodeSize.fixedGraphSize",bAn="org.eclipse.elk.direction",wAn="org.eclipse.elk.nodeLabels.padding",dAn="org.eclipse.elk.portLabels.nextToPortIfPossible",gAn="org.eclipse.elk.portLabels.treatAsGroup",pAn="org.eclipse.elk.portAlignment.default",vAn="org.eclipse.elk.portAlignment.north",mAn="org.eclipse.elk.portAlignment.south",yAn="org.eclipse.elk.portAlignment.west",kAn="org.eclipse.elk.portAlignment.east",jAn="org.eclipse.elk.contentAlignment",EAn="org.eclipse.elk.junctionPoints",TAn="org.eclipse.elk.edgeLabels.placement",MAn="org.eclipse.elk.port.index",SAn="org.eclipse.elk.commentBox",PAn="org.eclipse.elk.hypernode",IAn="org.eclipse.elk.port.anchor",CAn="org.eclipse.elk.partitioning.activate",OAn="org.eclipse.elk.partitioning.partition",AAn="org.eclipse.elk.position",$An="org.eclipse.elk.margins",LAn="org.eclipse.elk.spacing.portsSurrounding",NAn="org.eclipse.elk.interactiveLayout",xAn="org.eclipse.elk.core.util",DAn={3:1,4:1,5:1,593:1},RAn="NETWORK_SIMPLEX",KAn={123:1,51:1},_An="org.eclipse.elk.alg.layered.p1cycles",FAn="org.eclipse.elk.alg.layered.p2layers",BAn={402:1,225:1},HAn={832:1,3:1,4:1},qAn="org.eclipse.elk.alg.layered.p3order",GAn="org.eclipse.elk.alg.layered.p4nodes",zAn={3:1,4:1,5:1,840:1},UAn=1e-5,XAn="org.eclipse.elk.alg.layered.p4nodes.bk",WAn="org.eclipse.elk.alg.layered.p5edges",VAn="org.eclipse.elk.alg.layered.p5edges.orthogonal",QAn="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",YAn=1e-6,JAn="org.eclipse.elk.alg.layered.p5edges.splines",ZAn=.09999999999999998,n$n=1e-8,t$n=4.71238898038469,e$n=3.141592653589793,i$n="org.eclipse.elk.alg.mrtree",r$n="org.eclipse.elk.alg.mrtree.graph",c$n="org.eclipse.elk.alg.mrtree.intermediate",a$n="Set neighbors in level",u$n="DESCENDANTS",o$n="org.eclipse.elk.mrtree.weighting",s$n="org.eclipse.elk.mrtree.searchOrder",h$n="org.eclipse.elk.alg.mrtree.options",f$n="org.eclipse.elk.mrtree",l$n="org.eclipse.elk.tree",b$n="org.eclipse.elk.alg.radial",w$n=6.283185307179586,d$n=5e-324,g$n="org.eclipse.elk.alg.radial.intermediate",p$n="org.eclipse.elk.alg.radial.intermediate.compaction",v$n={3:1,4:1,5:1,106:1},m$n="org.eclipse.elk.alg.radial.intermediate.optimization",y$n="No implementation is available for the layout option ",k$n="org.eclipse.elk.alg.radial.options",j$n="org.eclipse.elk.radial.orderId",E$n="org.eclipse.elk.radial.radius",T$n="org.eclipse.elk.radial.compactor",M$n="org.eclipse.elk.radial.compactionStepSize",S$n="org.eclipse.elk.radial.sorter",P$n="org.eclipse.elk.radial.wedgeCriteria",I$n="org.eclipse.elk.radial.optimizationCriteria",C$n="org.eclipse.elk.radial",O$n="org.eclipse.elk.alg.radial.p1position.wedge",A$n="org.eclipse.elk.alg.radial.sorting",$$n=5.497787143782138,L$n=3.9269908169872414,N$n=2.356194490192345,x$n="org.eclipse.elk.alg.rectpacking",D$n="org.eclipse.elk.alg.rectpacking.firstiteration",R$n="org.eclipse.elk.alg.rectpacking.options",K$n="org.eclipse.elk.rectpacking.optimizationGoal",_$n="org.eclipse.elk.rectpacking.lastPlaceShift",F$n="org.eclipse.elk.rectpacking.currentPosition",B$n="org.eclipse.elk.rectpacking.desiredPosition",H$n="org.eclipse.elk.rectpacking.onlyFirstIteration",q$n="org.eclipse.elk.rectpacking.rowCompaction",G$n="org.eclipse.elk.rectpacking.expandToAspectRatio",z$n="org.eclipse.elk.rectpacking.targetWidth",U$n="org.eclipse.elk.expandNodes",X$n="org.eclipse.elk.rectpacking",W$n="org.eclipse.elk.alg.rectpacking.util",V$n="No implementation available for ",Q$n="org.eclipse.elk.alg.spore",Y$n="org.eclipse.elk.alg.spore.options",J$n="org.eclipse.elk.sporeCompaction",Z$n="org.eclipse.elk.underlyingLayoutAlgorithm",nLn="org.eclipse.elk.processingOrder.treeConstruction",tLn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",eLn="org.eclipse.elk.processingOrder.preferredRoot",iLn="org.eclipse.elk.processingOrder.rootSelection",rLn="org.eclipse.elk.structure.structureExtractionStrategy",cLn="org.eclipse.elk.compaction.compactionStrategy",aLn="org.eclipse.elk.compaction.orthogonal",uLn="org.eclipse.elk.overlapRemoval.maxIterations",oLn="org.eclipse.elk.overlapRemoval.runScanline",sLn="processingOrder",hLn="overlapRemoval",fLn="org.eclipse.elk.sporeOverlap",lLn="org.eclipse.elk.alg.spore.p1structure",bLn="org.eclipse.elk.alg.spore.p2processingorder",wLn="org.eclipse.elk.alg.spore.p3execution",dLn="Invalid index: ",gLn="org.eclipse.elk.core.alg",pLn={331:1},vLn={288:1},mLn="Make sure its type is registered with the ",yLn=" utility class.",kLn="true",jLn="false",ELn="Couldn't clone property '",TLn=.05,MLn="org.eclipse.elk.core.options",SLn=1.2999999523162842,PLn="org.eclipse.elk.box",ILn="org.eclipse.elk.box.packingMode",CLn="org.eclipse.elk.algorithm",OLn="org.eclipse.elk.resolvedAlgorithm",ALn="org.eclipse.elk.bendPoints",$Ln="org.eclipse.elk.labelManager",LLn="org.eclipse.elk.scaleFactor",NLn="org.eclipse.elk.animate",xLn="org.eclipse.elk.animTimeFactor",DLn="org.eclipse.elk.layoutAncestors",RLn="org.eclipse.elk.maxAnimTime",KLn="org.eclipse.elk.minAnimTime",_Ln="org.eclipse.elk.progressBar",FLn="org.eclipse.elk.validateGraph",BLn="org.eclipse.elk.validateOptions",HLn="org.eclipse.elk.zoomToFit",qLn="org.eclipse.elk.font.name",GLn="org.eclipse.elk.font.size",zLn="org.eclipse.elk.edge.type",ULn="partitioning",XLn="nodeLabels",WLn="portAlignment",VLn="nodeSize",QLn="port",YLn="portLabels",JLn="insideSelfLoops",ZLn="org.eclipse.elk.fixed",nNn="org.eclipse.elk.random",tNn="port must have a parent node to calculate the port side",eNn="The edge needs to have exactly one edge section. Found: ",iNn="org.eclipse.elk.core.util.adapters",rNn="org.eclipse.emf.ecore",cNn="org.eclipse.elk.graph",aNn="EMapPropertyHolder",uNn="ElkBendPoint",oNn="ElkGraphElement",sNn="ElkConnectableShape",hNn="ElkEdge",fNn="ElkEdgeSection",lNn="EModelElement",bNn="ENamedElement",wNn="ElkLabel",dNn="ElkNode",gNn="ElkPort",pNn={92:1,90:1},vNn="org.eclipse.emf.common.notify.impl",mNn="The feature '",yNn="' is not a valid changeable feature",kNn="Expecting null",jNn="' is not a valid feature",ENn="The feature ID",TNn=" is not a valid feature ID",MNn=32768,SNn={105:1,92:1,90:1,56:1,49:1,97:1},PNn="org.eclipse.emf.ecore.impl",INn="org.eclipse.elk.graph.impl",CNn="Recursive containment not allowed for ",ONn="The datatype '",ANn="' is not a valid classifier",$Nn="The value '",LNn={190:1,3:1,4:1},NNn="The class '",xNn="http://www.eclipse.org/elk/ElkGraph",DNn=1024,RNn="property",KNn="value",_Nn="source",FNn="properties",BNn="identifier",HNn="height",qNn="width",GNn="parent",zNn="text",UNn="children",XNn="hierarchical",WNn="sources",VNn="targets",QNn="sections",YNn="bendPoints",JNn="outgoingShape",ZNn="incomingShape",nxn="outgoingSections",txn="incomingSections",exn="org.eclipse.emf.common.util",ixn="Severe implementation error in the Json to ElkGraph importer.",rxn="id",cxn="org.eclipse.elk.graph.json",axn="Unhandled parameter types: ",uxn="startPoint",oxn="An edge must have at least one source and one target (edge id: '",sxn="').",hxn="Referenced edge section does not exist: ",fxn=" (edge id: '",lxn="target",bxn="sourcePoint",wxn="targetPoint",dxn="group",gxn="name",pxn="connectableShape cannot be null",vxn="edge cannot be null",mxn="Passed edge is not 'simple'.",yxn="org.eclipse.elk.graph.util",kxn="The 'no duplicates' constraint is violated",jxn="targetIndex=",Exn=", size=",Txn="sourceIndex=",Mxn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},Sxn={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},Pxn="logging",Ixn="measureExecutionTime",Cxn="parser.parse.1",Oxn="parser.parse.2",Axn="parser.next.1",$xn="parser.next.2",Lxn="parser.next.3",Nxn="parser.next.4",xxn="parser.factor.1",Dxn="parser.factor.2",Rxn="parser.factor.3",Kxn="parser.factor.4",_xn="parser.factor.5",Fxn="parser.factor.6",Bxn="parser.atom.1",Hxn="parser.atom.2",qxn="parser.atom.3",Gxn="parser.atom.4",zxn="parser.atom.5",Uxn="parser.cc.1",Xxn="parser.cc.2",Wxn="parser.cc.3",Vxn="parser.cc.5",Qxn="parser.cc.6",Yxn="parser.cc.7",Jxn="parser.cc.8",Zxn="parser.ope.1",nDn="parser.ope.2",tDn="parser.ope.3",eDn="parser.descape.1",iDn="parser.descape.2",rDn="parser.descape.3",cDn="parser.descape.4",aDn="parser.descape.5",uDn="parser.process.1",oDn="parser.quantifier.1",sDn="parser.quantifier.2",hDn="parser.quantifier.3",fDn="parser.quantifier.4",lDn="parser.quantifier.5",bDn="org.eclipse.emf.common.notify",wDn={415:1,672:1},dDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},gDn={366:1,143:1},pDn="index=",vDn={3:1,4:1,5:1,126:1},mDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},yDn={3:1,6:1,4:1,5:1,192:1},kDn={3:1,4:1,5:1,165:1,367:1},jDn=";/?:@&=+$,",EDn="invalid authority: ",TDn="EAnnotation",MDn="ETypedElement",SDn="EStructuralFeature",PDn="EAttribute",IDn="EClassifier",CDn="EEnumLiteral",ODn="EGenericType",ADn="EOperation",$Dn="EParameter",LDn="EReference",NDn="ETypeParameter",xDn="org.eclipse.emf.ecore.util",DDn={76:1},RDn={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},KDn="org.eclipse.emf.ecore.util.FeatureMap$Entry",_Dn=8192,FDn=2048,BDn="byte",HDn="char",qDn="double",GDn="float",zDn="int",UDn="long",XDn="short",WDn="java.lang.Object",VDn={3:1,4:1,5:1,247:1},QDn={3:1,4:1,5:1,673:1},YDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},JDn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},ZDn="mixed",nRn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",tRn="kind",eRn={3:1,4:1,5:1,674:1},iRn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},rRn={20:1,28:1,52:1,14:1,15:1,58:1,69:1},cRn={47:1,125:1,279:1},aRn={72:1,332:1},uRn="The value of type '",oRn="' must be of type '",sRn=1316,hRn="http://www.eclipse.org/emf/2002/Ecore",fRn=-32768,lRn="constraints",bRn="baseType",wRn="getEStructuralFeature",dRn="getFeatureID",gRn="feature",pRn="getOperationID",vRn="operation",mRn="defaultValue",yRn="eTypeParameters",kRn="isInstance",jRn="getEEnumLiteral",ERn="eContainingClass",TRn={55:1},MRn={3:1,4:1,5:1,119:1},SRn="org.eclipse.emf.ecore.resource",PRn={92:1,90:1,591:1,1935:1},IRn="org.eclipse.emf.ecore.resource.impl",CRn="unspecified",ORn="simple",ARn="attribute",$Rn="attributeWildcard",LRn="element",NRn="elementWildcard",xRn="collapse",DRn="itemType",RRn="namespace",KRn="##targetNamespace",_Rn="whiteSpace",FRn="wildcards",BRn="http://www.eclipse.org/emf/2003/XMLType",HRn="##any",qRn="uninitialized",GRn="The multiplicity constraint is violated",zRn="org.eclipse.emf.ecore.xml.type",URn="ProcessingInstruction",XRn="SimpleAnyType",WRn="XMLTypeDocumentRoot",VRn="org.eclipse.emf.ecore.xml.type.impl",QRn="INF",YRn="processing",JRn="ENTITIES_._base",ZRn="minLength",nKn="ENTITY",tKn="NCName",eKn="IDREFS_._base",iKn="integer",rKn="token",cKn="pattern",aKn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",uKn="\\i\\c*",oKn="[\\i-[:]][\\c-[:]]*",sKn="nonPositiveInteger",hKn="maxInclusive",fKn="NMTOKEN",lKn="NMTOKENS_._base",bKn="nonNegativeInteger",wKn="minInclusive",dKn="normalizedString",gKn="unsignedByte",pKn="unsignedInt",vKn="18446744073709551615",mKn="unsignedShort",yKn="processingInstruction",kKn="org.eclipse.emf.ecore.xml.type.internal",jKn=1114111,EKn="Internal Error: shorthands: \\u",TKn="xml:isDigit",MKn="xml:isWord",SKn="xml:isSpace",PKn="xml:isNameChar",IKn="xml:isInitialNameChar",CKn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",OKn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",AKn="Private Use",$Kn="ASSIGNED",LKn="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",NKn="UNASSIGNED",xKn={3:1,117:1},DKn="org.eclipse.emf.ecore.xml.type.util",RKn={3:1,4:1,5:1,368:1},KKn="org.eclipse.xtext.xbase.lib",_Kn="Cannot add elements to a Range",FKn="Cannot set elements in a Range",BKn="Cannot remove elements from a Range",HKn="locale",qKn="default",GKn="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,Bjn={},!Array.isArray&&(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Wfn(1,null,{},r),Fjn.Fb=function(n){return WI(this,n)},Fjn.Gb=function(){return this.gm},Fjn.Hb=function(){return _A(this)},Fjn.Ib=function(){return Nk(V5(this))+"@"+(W5(this)>>>0).toString(16)},Fjn.equals=function(n){return this.Fb(n)},Fjn.hashCode=function(){return this.Hb()},Fjn.toString=function(){return this.Ib()},Wfn(290,1,{290:1,2026:1},m5),Fjn.le=function(n){var t;return(t=new m5).i=4,t.c=n>1?qG(this,n-1):this,t},Fjn.me=function(){return sL(this),this.b},Fjn.ne=function(){return Nk(this)},Fjn.oe=function(){return sL(this),this.k},Fjn.pe=function(){return 0!=(4&this.i)},Fjn.qe=function(){return 0!=(1&this.i)},Fjn.Ib=function(){return LZ(this)},Fjn.i=0;var zKn,UKn=EF(Jjn,"Object",1),XKn=EF(Jjn,"Class",290);Wfn(1998,1,Zjn),EF(nEn,"Optional",1998),Wfn(1170,1998,Zjn,c),Fjn.Fb=function(n){return n===this},Fjn.Hb=function(){return 2040732332},Fjn.Ib=function(){return"Optional.absent()"},Fjn.Jb=function(n){return MF(n),gm(),zKn},EF(nEn,"Absent",1170),Wfn(628,1,{},Ty),EF(nEn,"Joiner",628);var WKn=aR(nEn,"Predicate");Wfn(582,1,{169:1,582:1,3:1,45:1},Ff),Fjn.Mb=function(n){return R5(this,n)},Fjn.Lb=function(n){return R5(this,n)},Fjn.Fb=function(n){var t;return!!CO(n,582)&&(t=Yx(n,582),sln(this.a,t.a))},Fjn.Hb=function(){return K5(this.a)+306654252},Fjn.Ib=function(){return function(n){var t,e,i,r;for(t=_F(yI(new SA("Predicates."),"and"),40),e=!0,r=new Vl(n);r.b0},Fjn.Pb=function(){if(this.c>=this.d)throw hp(new Kp);return this.Xb(this.c++)},Fjn.Tb=function(){return this.c},Fjn.Ub=function(){if(this.c<=0)throw hp(new Kp);return this.Xb(--this.c)},Fjn.Vb=function(){return this.c-1},Fjn.c=0,Fjn.d=0,EF(oEn,"AbstractIndexedListIterator",386),Wfn(699,198,uEn),Fjn.Ob=function(){return X0(this)},Fjn.Pb=function(){return bJ(this)},Fjn.e=1,EF(oEn,"AbstractIterator",699),Wfn(1986,1,{224:1}),Fjn.Zb=function(){return this.f||(this.f=this.ac())},Fjn.Fb=function(n){return f6(this,n)},Fjn.Hb=function(){return W5(this.Zb())},Fjn.dc=function(){return 0==this.gc()},Fjn.ec=function(){return FK(this)},Fjn.Ib=function(){return I7(this.Zb())},EF(oEn,"AbstractMultimap",1986),Wfn(726,1986,hEn),Fjn.$b=function(){v0(this)},Fjn._b=function(n){return Ok(this,n)},Fjn.ac=function(){return new Xj(this,this.c)},Fjn.ic=function(n){return this.hc()},Fjn.bc=function(){return new iA(this,this.c)},Fjn.jc=function(){return this.mc(this.hc())},Fjn.kc=function(){return new tm(this)},Fjn.lc=function(){return lun(this.c.vc().Nc(),new u,64,this.d)},Fjn.cc=function(n){return _V(this,n)},Fjn.fc=function(n){return h8(this,n)},Fjn.gc=function(){return this.d},Fjn.mc=function(n){return XH(),new fb(n)},Fjn.nc=function(){return new nm(this)},Fjn.oc=function(){return lun(this.c.Cc().Nc(),new a,64,this.d)},Fjn.pc=function(n,t){return new dQ(this,n,t,null)},Fjn.d=0,EF(oEn,"AbstractMapBasedMultimap",726),Wfn(1631,726,hEn),Fjn.hc=function(){return new pQ(this.a)},Fjn.jc=function(){return XH(),XH(),TFn},Fjn.cc=function(n){return Yx(_V(this,n),15)},Fjn.fc=function(n){return Yx(h8(this,n),15)},Fjn.Zb=function(){return QH(this)},Fjn.Fb=function(n){return f6(this,n)},Fjn.qc=function(n){return Yx(_V(this,n),15)},Fjn.rc=function(n){return Yx(h8(this,n),15)},Fjn.mc=function(n){return lq(Yx(n,15))},Fjn.pc=function(n,t){return kX(this,n,Yx(t,15),null)},EF(oEn,"AbstractListMultimap",1631),Wfn(732,1,fEn),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return this.c.Ob()||this.e.Ob()},Fjn.Pb=function(){var n;return this.e.Ob()||(n=Yx(this.c.Pb(),42),this.b=n.cd(),this.a=Yx(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Fjn.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},EF(oEn,"AbstractMapBasedMultimap/Itr",732),Wfn(1099,732,fEn,nm),Fjn.sc=function(n,t){return t},EF(oEn,"AbstractMapBasedMultimap/1",1099),Wfn(1100,1,{},a),Fjn.Kb=function(n){return Yx(n,14).Nc()},EF(oEn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),Wfn(1101,732,fEn,tm),Fjn.sc=function(n,t){return new Wj(n,t)},EF(oEn,"AbstractMapBasedMultimap/2",1101);var VKn=aR(lEn,"Map");Wfn(1967,1,bEn),Fjn.wc=function(n){S3(this,n)},Fjn.yc=function(n,t,e){return Y9(this,n,t,e)},Fjn.$b=function(){this.vc().$b()},Fjn.tc=function(n){return Fin(this,n)},Fjn._b=function(n){return!!Ian(this,n,!1)},Fjn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=Yx(t.Pb(),42).dd(),iI(n)===iI(e)||null!=n&&Q8(n,e))return!0;return!1},Fjn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!CO(n,83))return!1;if(i=Yx(n,83),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=Yx(e.Pb(),42),!this.tc(t))return!1;return!0},Fjn.xc=function(n){return eI(Ian(this,n,!1))},Fjn.Hb=function(){return W4(this.vc())},Fjn.dc=function(){return 0==this.gc()},Fjn.ec=function(){return new Yl(this)},Fjn.zc=function(n,t){throw hp(new sy("Put not supported on this map"))},Fjn.Ac=function(n){i3(this,n)},Fjn.Bc=function(n){return eI(Ian(this,n,!0))},Fjn.gc=function(){return this.vc().gc()},Fjn.Ib=function(){return Fan(this)},Fjn.Cc=function(){return new Zl(this)},EF(lEn,"AbstractMap",1967),Wfn(1987,1967,bEn),Fjn.bc=function(){return new eE(this)},Fjn.vc=function(){return _K(this)},Fjn.ec=function(){return this.g||(this.g=this.bc())},Fjn.Cc=function(){return this.i||(this.i=new iE(this))},EF(oEn,"Maps/ViewCachingAbstractMap",1987),Wfn(389,1987,bEn,Xj),Fjn.xc=function(n){return function(n,t){var e,i;return(e=Yx(x8(n.d,t),14))?(i=t,n.e.pc(i,e)):null}(this,n)},Fjn.Bc=function(n){return function(n,t){var e,i;return(e=Yx(n.d.Bc(t),14))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}(this,n)},Fjn.$b=function(){this.d==this.e.c?this.e.$b():vR(new mR(this))},Fjn._b=function(n){return R8(this.d,n)},Fjn.Ec=function(){return new zf(this)},Fjn.Dc=function(){return this.Ec()},Fjn.Fb=function(n){return this===n||Q8(this.d,n)},Fjn.Hb=function(){return W5(this.d)},Fjn.ec=function(){return this.e.ec()},Fjn.gc=function(){return this.d.gc()},Fjn.Ib=function(){return I7(this.d)},EF(oEn,"AbstractMapBasedMultimap/AsMap",389);var QKn=aR(Jjn,"Iterable");Wfn(28,1,wEn),Fjn.Jc=function(n){XW(this,n)},Fjn.Lc=function(){return this.Oc()},Fjn.Nc=function(){return new Nz(this,0)},Fjn.Oc=function(){return new SR(null,this.Nc())},Fjn.Fc=function(n){throw hp(new sy("Add not supported on this collection"))},Fjn.Gc=function(n){return C2(this,n)},Fjn.$b=function(){iH(this)},Fjn.Hc=function(n){return V7(this,n,!1)},Fjn.Ic=function(n){return m4(this,n)},Fjn.dc=function(){return 0==this.gc()},Fjn.Mc=function(n){return V7(this,n,!0)},Fjn.Pc=function(){return CK(this)},Fjn.Qc=function(n){return _in(this,n)},Fjn.Ib=function(){return Gun(this)},EF(lEn,"AbstractCollection",28);var YKn=aR(lEn,"Set");Wfn(dEn,28,gEn),Fjn.Nc=function(){return new Nz(this,1)},Fjn.Fb=function(n){return stn(this,n)},Fjn.Hb=function(){return W4(this)},EF(lEn,"AbstractSet",dEn),Wfn(1970,dEn,gEn),EF(oEn,"Sets/ImprovedAbstractSet",1970),Wfn(1971,1970,gEn),Fjn.$b=function(){this.Rc().$b()},Fjn.Hc=function(n){return vnn(this,n)},Fjn.dc=function(){return this.Rc().dc()},Fjn.Mc=function(n){var t;return!!this.Hc(n)&&(t=Yx(n,42),this.Rc().ec().Mc(t.cd()))},Fjn.gc=function(){return this.Rc().gc()},EF(oEn,"Maps/EntrySet",1971),Wfn(1097,1971,gEn,zf),Fjn.Hc=function(n){return D8(this.a.d.vc(),n)},Fjn.Kc=function(){return new mR(this.a)},Fjn.Rc=function(){return this.a},Fjn.Mc=function(n){var t;return!!D8(this.a.d.vc(),n)&&(t=Yx(n,42),pV(this.a.e,t.cd()),!0)},Fjn.Nc=function(){return Vx(this.a.d.vc().Nc(),new Uf(this.a))},EF(oEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),Wfn(1098,1,{},Uf),Fjn.Kb=function(n){return WW(this.a,Yx(n,42))},EF(oEn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),Wfn(730,1,fEn,mR),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){var n;return n=Yx(this.b.Pb(),42),this.a=Yx(n.dd(),14),WW(this.c,n)},Fjn.Ob=function(){return this.b.Ob()},Fjn.Qb=function(){x3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},EF(oEn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),Wfn(532,1970,gEn,eE),Fjn.$b=function(){this.b.$b()},Fjn.Hc=function(n){return this.b._b(n)},Fjn.Jc=function(n){MF(n),this.b.wc(new gl(n))},Fjn.dc=function(){return this.b.dc()},Fjn.Kc=function(){return new Mm(this.b.vc().Kc())},Fjn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},Fjn.gc=function(){return this.b.gc()},EF(oEn,"Maps/KeySet",532),Wfn(318,532,gEn,iA),Fjn.$b=function(){vR(new $j(this,this.b.vc().Kc()))},Fjn.Ic=function(n){return this.b.ec().Ic(n)},Fjn.Fb=function(n){return this===n||Q8(this.b.ec(),n)},Fjn.Hb=function(){return W5(this.b.ec())},Fjn.Kc=function(){return new $j(this,this.b.vc().Kc())},Fjn.Mc=function(n){var t,e;return e=0,(t=Yx(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},Fjn.Nc=function(){return this.b.ec().Nc()},EF(oEn,"AbstractMapBasedMultimap/KeySet",318),Wfn(731,1,fEn,$j),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return this.c.Ob()},Fjn.Pb=function(){return this.a=Yx(this.c.Pb(),42),this.a.cd()},Fjn.Qb=function(){var n;x3(!!this.a),n=Yx(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},EF(oEn,"AbstractMapBasedMultimap/KeySet/1",731),Wfn(491,389,{83:1,161:1},wL),Fjn.bc=function(){return this.Sc()},Fjn.ec=function(){return this.Tc()},Fjn.Sc=function(){return new Oj(this.c,this.Uc())},Fjn.Tc=function(){return this.b||(this.b=this.Sc())},Fjn.Uc=function(){return Yx(this.d,161)},EF(oEn,"AbstractMapBasedMultimap/SortedAsMap",491),Wfn(542,491,pEn,dL),Fjn.bc=function(){return new Aj(this.a,Yx(Yx(this.d,161),171))},Fjn.Sc=function(){return new Aj(this.a,Yx(Yx(this.d,161),171))},Fjn.ec=function(){return Yx(this.b||(this.b=new Aj(this.a,Yx(Yx(this.d,161),171))),271)},Fjn.Tc=function(){return Yx(this.b||(this.b=new Aj(this.a,Yx(Yx(this.d,161),171))),271)},Fjn.Uc=function(){return Yx(Yx(this.d,161),171)},EF(oEn,"AbstractMapBasedMultimap/NavigableAsMap",542),Wfn(490,318,vEn,Oj),Fjn.Nc=function(){return this.b.ec().Nc()},EF(oEn,"AbstractMapBasedMultimap/SortedKeySet",490),Wfn(388,490,mEn,Aj),EF(oEn,"AbstractMapBasedMultimap/NavigableKeySet",388),Wfn(541,28,wEn,dQ),Fjn.Fc=function(n){var t,e;return A7(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&tN(this)),t},Fjn.Gc=function(n){var t,e,i;return!n.dc()&&(A7(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&tN(this)),t)},Fjn.$b=function(){var n;A7(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,oK(this))},Fjn.Hc=function(n){return A7(this),this.d.Hc(n)},Fjn.Ic=function(n){return A7(this),this.d.Ic(n)},Fjn.Fb=function(n){return n===this||(A7(this),Q8(this.d,n))},Fjn.Hb=function(){return A7(this),W5(this.d)},Fjn.Kc=function(){return A7(this),new rD(this)},Fjn.Mc=function(n){var t;return A7(this),(t=this.d.Mc(n))&&(--this.f.d,oK(this)),t},Fjn.gc=function(){return bI(this)},Fjn.Nc=function(){return A7(this),this.d.Nc()},Fjn.Ib=function(){return A7(this),I7(this.d)},EF(oEn,"AbstractMapBasedMultimap/WrappedCollection",541);var JKn=aR(lEn,"List");Wfn(728,541,{20:1,28:1,14:1,15:1},LK),Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return A7(this),this.d.Nc()},Fjn.Vc=function(n,t){var e;A7(this),e=this.d.dc(),Yx(this.d,15).Vc(n,t),++this.a.d,e&&tN(this)},Fjn.Wc=function(n,t){var e,i,r;return!t.dc()&&(A7(this),r=this.d.gc(),(e=Yx(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&tN(this)),e)},Fjn.Xb=function(n){return A7(this),Yx(this.d,15).Xb(n)},Fjn.Xc=function(n){return A7(this),Yx(this.d,15).Xc(n)},Fjn.Yc=function(){return A7(this),new VC(this)},Fjn.Zc=function(n){return A7(this),new RH(this,n)},Fjn.$c=function(n){var t;return A7(this),t=Yx(this.d,15).$c(n),--this.a.d,oK(this),t},Fjn._c=function(n,t){return A7(this),Yx(this.d,15)._c(n,t)},Fjn.bd=function(n,t){return A7(this),kX(this.a,this.e,Yx(this.d,15).bd(n,t),this.b?this.b:this)},EF(oEn,"AbstractMapBasedMultimap/WrappedList",728),Wfn(1096,728,{20:1,28:1,14:1,15:1,54:1},C$),EF(oEn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),Wfn(620,1,fEn,rD),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return rH(this),this.b.Ob()},Fjn.Pb=function(){return rH(this),this.b.Pb()},Fjn.Qb=function(){gA(this)},EF(oEn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),Wfn(729,620,yEn,VC,RH),Fjn.Qb=function(){gA(this)},Fjn.Rb=function(n){var t;t=0==bI(this.a),(rH(this),Yx(this.b,125)).Rb(n),++this.a.a.d,t&&tN(this.a)},Fjn.Sb=function(){return(rH(this),Yx(this.b,125)).Sb()},Fjn.Tb=function(){return(rH(this),Yx(this.b,125)).Tb()},Fjn.Ub=function(){return(rH(this),Yx(this.b,125)).Ub()},Fjn.Vb=function(){return(rH(this),Yx(this.b,125)).Vb()},Fjn.Wb=function(n){(rH(this),Yx(this.b,125)).Wb(n)},EF(oEn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),Wfn(727,541,vEn,yL),Fjn.Nc=function(){return A7(this),this.d.Nc()},EF(oEn,"AbstractMapBasedMultimap/WrappedSortedSet",727),Wfn(1095,727,mEn,PC),EF(oEn,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),Wfn(1094,541,gEn,kL),Fjn.Nc=function(){return A7(this),this.d.Nc()},EF(oEn,"AbstractMapBasedMultimap/WrappedSet",1094),Wfn(1103,1,{},u),Fjn.Kb=function(n){return function(n){var t;return t=n.cd(),Vx(Yx(n.dd(),14).Nc(),new Xf(t))}(Yx(n,42))},EF(oEn,"AbstractMapBasedMultimap/lambda$1$Type",1103),Wfn(1102,1,{},Xf),Fjn.Kb=function(n){return new Wj(this.a,n)},EF(oEn,"AbstractMapBasedMultimap/lambda$2$Type",1102);var ZKn,n_n,t_n,e_n,i_n=aR(lEn,"Map/Entry");Wfn(345,1,kEn),Fjn.Fb=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),bB(this.cd(),t.cd())&&bB(this.dd(),t.dd()))},Fjn.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:W5(n))^(null==t?0:W5(t))},Fjn.ed=function(n){throw hp(new xp)},Fjn.Ib=function(){return this.cd()+"="+this.dd()},EF(oEn,jEn,345),Wfn(1988,28,wEn),Fjn.$b=function(){this.fd().$b()},Fjn.Hc=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),function(n,t,e){var i;return!!(i=Yx(n.Zb().xc(t),14))&&i.Hc(e)}(this.fd(),t.cd(),t.dd()))},Fjn.Mc=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),jU(this.fd(),t.cd(),t.dd()))},Fjn.gc=function(){return this.fd().d},EF(oEn,"Multimaps/Entries",1988),Wfn(733,1988,wEn,Wf),Fjn.Kc=function(){return this.a.kc()},Fjn.fd=function(){return this.a},Fjn.Nc=function(){return this.a.lc()},EF(oEn,"AbstractMultimap/Entries",733),Wfn(734,733,gEn,em),Fjn.Nc=function(){return this.a.lc()},Fjn.Fb=function(n){return _on(this,n)},Fjn.Hb=function(){return O2(this)},EF(oEn,"AbstractMultimap/EntrySet",734),Wfn(735,28,wEn,Vf),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(Yx(e.Pb(),14).Hc(t))return!0;return!1}(this.a,n)},Fjn.Kc=function(){return this.a.nc()},Fjn.gc=function(){return this.a.d},Fjn.Nc=function(){return this.a.oc()},EF(oEn,"AbstractMultimap/Values",735),Wfn(1989,28,{835:1,20:1,28:1,14:1}),Fjn.Jc=function(n){MF(n),eH(this).Jc(new dl(n))},Fjn.Nc=function(){var n;return lun(n=eH(this).Nc(),new y,64|1296&n.qd(),this.a.d)},Fjn.Fc=function(n){return jy(),!0},Fjn.Gc=function(n){return MF(this),MF(n),CO(n,543)?BU(Yx(n,835)):!n.dc()&&zJ(this,n.Kc())},Fjn.Hc=function(n){var t;return((t=Yx(x8(QH(this.a),n),14))?t.gc():0)>0},Fjn.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(CO(t,543)){if(r=Yx(t,835),n.a.d!=r.a.d||eH(n).gc()!=eH(r).gc())return!1;for(i=eH(r).Kc();i.Ob();)if(Sz(n,(e=Yx(i.Pb(),416)).a.cd())!=Yx(e.a.dd(),14).gc())return!1;return!0}return!1}(this,n)},Fjn.Hb=function(){return W5(eH(this))},Fjn.dc=function(){return eH(this).dc()},Fjn.Mc=function(n){return xhn(this,n,1)>0},Fjn.Ib=function(){return I7(eH(this))},EF(oEn,"AbstractMultiset",1989),Wfn(1991,1970,gEn),Fjn.$b=function(){v0(this.a.a)},Fjn.Hc=function(n){var t;return!(!CO(n,492)||(t=Yx(n,416),Yx(t.a.dd(),14).gc()<=0||Sz(this.a,t.a.cd())!=Yx(t.a.dd(),14).gc()))},Fjn.Mc=function(n){var t,e,i;return!(!CO(n,492)||(t=(e=Yx(n,416)).a.cd(),0==(i=Yx(e.a.dd(),14).gc())))&&function(n,t,e){var i,r,c;return g0(e,"oldCount"),g0(0,"newCount"),((i=Yx(x8(QH(n.a),t),14))?i.gc():0)==e&&(g0(0,"count"),(c=-((r=Yx(x8(QH(n.a),t),14))?r.gc():0))>0?jy():c<0&&xhn(n,t,-c),!0)}(this.a,t,i)},EF(oEn,"Multisets/EntrySet",1991),Wfn(1109,1991,gEn,Qf),Fjn.Kc=function(){return new Pm(_K(QH(this.a.a)).Kc())},Fjn.gc=function(){return QH(this.a.a).gc()},EF(oEn,"AbstractMultiset/EntrySet",1109),Wfn(619,726,hEn),Fjn.hc=function(){return this.gd()},Fjn.jc=function(){return this.hd()},Fjn.cc=function(n){return this.jd(n)},Fjn.fc=function(n){return this.kd(n)},Fjn.Zb=function(){return this.f||(this.f=this.ac())},Fjn.hd=function(){return XH(),XH(),SFn},Fjn.Fb=function(n){return f6(this,n)},Fjn.jd=function(n){return Yx(_V(this,n),21)},Fjn.kd=function(n){return Yx(h8(this,n),21)},Fjn.mc=function(n){return XH(),new Ny(Yx(n,21))},Fjn.pc=function(n,t){return new kL(this,n,Yx(t,21))},EF(oEn,"AbstractSetMultimap",619),Wfn(1657,619,hEn),Fjn.hc=function(){return new Vk(this.b)},Fjn.gd=function(){return new Vk(this.b)},Fjn.jc=function(){return LF(new Vk(this.b))},Fjn.hd=function(){return LF(new Vk(this.b))},Fjn.cc=function(n){return Yx(Yx(_V(this,n),21),84)},Fjn.jd=function(n){return Yx(Yx(_V(this,n),21),84)},Fjn.fc=function(n){return Yx(Yx(h8(this,n),21),84)},Fjn.kd=function(n){return Yx(Yx(h8(this,n),21),84)},Fjn.mc=function(n){return CO(n,271)?LF(Yx(n,271)):(XH(),new CA(Yx(n,84)))},Fjn.Zb=function(){return this.f||(this.f=CO(this.c,171)?new dL(this,Yx(this.c,171)):CO(this.c,161)?new wL(this,Yx(this.c,161)):new Xj(this,this.c))},Fjn.pc=function(n,t){return CO(t,271)?new PC(this,n,Yx(t,271)):new yL(this,n,Yx(t,84))},EF(oEn,"AbstractSortedSetMultimap",1657),Wfn(1658,1657,hEn),Fjn.Zb=function(){return Yx(Yx(this.f||(this.f=CO(this.c,171)?new dL(this,Yx(this.c,171)):CO(this.c,161)?new wL(this,Yx(this.c,161)):new Xj(this,this.c)),161),171)},Fjn.ec=function(){return Yx(Yx(this.i||(this.i=CO(this.c,171)?new Aj(this,Yx(this.c,171)):CO(this.c,161)?new Oj(this,Yx(this.c,161)):new iA(this,this.c)),84),271)},Fjn.bc=function(){return CO(this.c,171)?new Aj(this,Yx(this.c,171)):CO(this.c,161)?new Oj(this,Yx(this.c,161)):new iA(this,this.c)},EF(oEn,"AbstractSortedKeySortedSetMultimap",1658),Wfn(2010,1,{1947:1}),Fjn.Fb=function(n){return function(n,t){var e;return t===n||!!CO(t,664)&&(e=Yx(t,1947),stn(n.g||(n.g=new Yf(n)),e.g||(e.g=new Yf(e))))}(this,n)},Fjn.Hb=function(){return W4(this.g||(this.g=new Yf(this)))},Fjn.Ib=function(){return Fan(this.f||(this.f=new uA(this)))},EF(oEn,"AbstractTable",2010),Wfn(665,dEn,gEn,Yf),Fjn.$b=function(){Ey()},Fjn.Hc=function(n){var t,e;return!!CO(n,468)&&(t=Yx(n,682),!!(e=Yx(x8(PF(this.a),uI(t.c.e,t.b)),83))&&D8(e.vc(),new Wj(uI(t.c.c,t.a),bQ(t.c,t.b,t.a))))},Fjn.Kc=function(){return new rA(n=this.a,n.e.Hd().gc()*n.c.Hd().gc());var n},Fjn.Mc=function(n){var t,e;return!!CO(n,468)&&(t=Yx(n,682),!!(e=Yx(x8(PF(this.a),uI(t.c.e,t.b)),83))&&function(n,t){MF(n);try{return n.Mc(t)}catch(n){if(CO(n=j4(n),205)||CO(n,173))return!1;throw hp(n)}}(e.vc(),new Wj(uI(t.c.c,t.a),bQ(t.c,t.b,t.a))))},Fjn.gc=function(){return OR(this.a)},Fjn.Nc=function(){return hR((n=this.a).e.Hd().gc()*n.c.Hd().gc(),273,new Hf(n));var n},EF(oEn,"AbstractTable/CellSet",665),Wfn(1928,28,wEn,Jf),Fjn.$b=function(){Ey()},Fjn.Hc=function(n){return function(n,t){var e,i,r,c,a,u,o;for(u=0,o=(a=n.a).length;u=0?"+":"")+(i/60|0),t=YI(e.Math.abs(i)%60),(Cun(),AFn)[this.q.getDay()]+" "+$Fn[this.q.getMonth()]+" "+YI(this.q.getDate())+" "+YI(this.q.getHours())+":"+YI(this.q.getMinutes())+":"+YI(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var E_n,T_n,M_n,S_n,P_n,I_n,C_n,O_n,A_n,$_n,L_n,N_n=EF(lEn,"Date",199);Wfn(1915,199,_Tn,Tcn),Fjn.a=!1,Fjn.b=0,Fjn.c=0,Fjn.d=0,Fjn.e=0,Fjn.f=0,Fjn.g=!1,Fjn.i=0,Fjn.j=0,Fjn.k=0,Fjn.n=0,Fjn.o=0,Fjn.p=0,EF("com.google.gwt.i18n.shared.impl","DateRecord",1915),Wfn(1966,1,{}),Fjn.fe=function(){return null},Fjn.ge=function(){return null},Fjn.he=function(){return null},Fjn.ie=function(){return null},Fjn.je=function(){return null},EF(FTn,"JSONValue",1966),Wfn(216,1966,{216:1},Sl,jl),Fjn.Fb=function(n){return!!CO(n,216)&&Jz(this.a,Yx(n,216).a)},Fjn.ee=function(){return fp},Fjn.Hb=function(){return sq(this.a)},Fjn.fe=function(){return this},Fjn.Ib=function(){var n,t,e;for(e=new SA("["),t=0,n=this.a.length;t0&&(e.a+=","),mI(e,VJ(this,t));return e.a+="]",e.a},EF(FTn,"JSONArray",216),Wfn(483,1966,{483:1},El),Fjn.ee=function(){return lp},Fjn.ge=function(){return this},Fjn.Ib=function(){return TA(),""+this.a},Fjn.a=!1,EF(FTn,"JSONBoolean",483),Wfn(985,60,eTn,Cm),EF(FTn,"JSONException",985),Wfn(1023,1966,{},v),Fjn.ee=function(){return pp},Fjn.Ib=function(){return aEn},EF(FTn,"JSONNull",1023),Wfn(258,1966,{258:1},Tl),Fjn.Fb=function(n){return!!CO(n,258)&&this.a==Yx(n,258).a},Fjn.ee=function(){return bp},Fjn.Hb=function(){return ZI(this.a)},Fjn.he=function(){return this},Fjn.Ib=function(){return this.a+""},Fjn.a=0,EF(FTn,"JSONNumber",258),Wfn(183,1966,{183:1},Om,Ml),Fjn.Fb=function(n){return!!CO(n,183)&&Jz(this.a,Yx(n,183).a)},Fjn.ee=function(){return wp},Fjn.Hb=function(){return sq(this.a)},Fjn.ie=function(){return this},Fjn.Ib=function(){var n,t,e,i,r,c;for(c=new SA("{"),n=!0,i=0,r=(e=l2(this,VQ(fFn,TEn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},Fjn.c=0;var tFn=EF(Jjn,"StackTraceElement",310);zjn={3:1,475:1,35:1,2:1};var eFn,iFn,rFn,cFn,aFn,uFn,oFn,sFn,hFn,fFn=EF(Jjn,rTn,2);Wfn(107,418,{475:1},Cy,Oy,MA),EF(Jjn,"StringBuffer",107),Wfn(100,418,{475:1},Ay,$y,SA),EF(Jjn,"StringBuilder",100),Wfn(687,73,VTn,Ly),EF(Jjn,"StringIndexOutOfBoundsException",687),Wfn(2043,1,{}),Wfn(844,1,{},x),Fjn.Kb=function(n){return Yx(n,78).e},EF(Jjn,"Throwable/lambda$0$Type",844),Wfn(41,60,{3:1,102:1,60:1,78:1,41:1},xp,sy),EF(Jjn,"UnsupportedOperationException",41),Wfn(240,236,{3:1,35:1,236:1,240:1},ZJ,Wk),Fjn.wd=function(n){return Ipn(this,Yx(n,240))},Fjn.ke=function(){return gon(Kmn(this))},Fjn.Fb=function(n){var t;return this===n||!!CO(n,240)&&(t=Yx(n,240),this.e==t.e&&0==Ipn(this,t))},Fjn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=D3(this.f),this.b=WR(Gz(n,-1)),this.b=33*this.b+WR(Gz(zK(n,32),-1)),this.b=17*this.b+oG(this.e),this.b):(this.b=17*b8(this.c)+oG(this.e),this.b)},Fjn.Ib=function(){return Kmn(this)},Fjn.a=0,Fjn.b=0,Fjn.d=0,Fjn.e=0,Fjn.f=0;var lFn,bFn,wFn,dFn,gFn,pFn,vFn=EF("java.math","BigDecimal",240);Wfn(91,236,{3:1,35:1,236:1,91:1},jen,wQ,C_,pan,Mtn,IC),Fjn.wd=function(n){return utn(this,Yx(n,91))},Fjn.ke=function(){return gon(pjn(this,0))},Fjn.Fb=function(n){return q7(this,n)},Fjn.Hb=function(){return b8(this)},Fjn.Ib=function(){return pjn(this,0)},Fjn.b=-2,Fjn.c=0,Fjn.d=0,Fjn.e=0;var mFn,yFn,kFn,jFn,EFn=EF("java.math","BigInteger",91);Wfn(488,1967,bEn),Fjn.$b=function(){U_(this)},Fjn._b=function(n){return P_(this,n)},Fjn.uc=function(n){return m6(this,n,this.g)||m6(this,n,this.f)},Fjn.vc=function(){return new Ql(this)},Fjn.xc=function(n){return BF(this,n)},Fjn.zc=function(n,t){return xB(this,n,t)},Fjn.Bc=function(n){return zV(this,n)},Fjn.gc=function(){return hE(this)},EF(lEn,"AbstractHashMap",488),Wfn(261,dEn,gEn,Ql),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return XU(this,n)},Fjn.Kc=function(){return new t6(this.a)},Fjn.Mc=function(n){var t;return!!XU(this,n)&&(t=Yx(n,42).cd(),this.a.Bc(t),!0)},Fjn.gc=function(){return this.a.gc()},EF(lEn,"AbstractHashMap/EntrySet",261),Wfn(262,1,fEn,t6),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){return s1(this)},Fjn.Ob=function(){return this.b},Fjn.Qb=function(){oY(this)},Fjn.b=!1,EF(lEn,"AbstractHashMap/EntrySetIterator",262),Wfn(417,1,fEn,Vl),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return OT(this)},Fjn.Pb=function(){return FH(this)},Fjn.Qb=function(){hB(this)},Fjn.b=0,Fjn.c=-1,EF(lEn,"AbstractList/IteratorImpl",417),Wfn(96,417,yEn,JU),Fjn.Qb=function(){hB(this)},Fjn.Rb=function(n){ZL(this,n)},Fjn.Sb=function(){return this.b>0},Fjn.Tb=function(){return this.b},Fjn.Ub=function(){return S$(this.b>0),this.a.Xb(this.c=--this.b)},Fjn.Vb=function(){return this.b-1},Fjn.Wb=function(n){M$(-1!=this.c),this.a._c(this.c,n)},EF(lEn,"AbstractList/ListIteratorImpl",96),Wfn(219,52,WEn,Oz),Fjn.Vc=function(n,t){iz(n,this.b),this.c.Vc(this.a+n,t),++this.b},Fjn.Xb=function(n){return $z(n,this.b),this.c.Xb(this.a+n)},Fjn.$c=function(n){var t;return $z(n,this.b),t=this.c.$c(this.a+n),--this.b,t},Fjn._c=function(n,t){return $z(n,this.b),this.c._c(this.a+n,t)},Fjn.gc=function(){return this.b},Fjn.a=0,Fjn.b=0,EF(lEn,"AbstractList/SubList",219),Wfn(384,dEn,gEn,Yl),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return this.a._b(n)},Fjn.Kc=function(){return new Jl(this.a.vc().Kc())},Fjn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},Fjn.gc=function(){return this.a.gc()},EF(lEn,"AbstractMap/1",384),Wfn(691,1,fEn,Jl),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return this.a.Ob()},Fjn.Pb=function(){return Yx(this.a.Pb(),42).cd()},Fjn.Qb=function(){this.a.Qb()},EF(lEn,"AbstractMap/1/1",691),Wfn(226,28,wEn,Zl),Fjn.$b=function(){this.a.$b()},Fjn.Hc=function(n){return this.a.uc(n)},Fjn.Kc=function(){return new ub(this.a.vc().Kc())},Fjn.gc=function(){return this.a.gc()},EF(lEn,"AbstractMap/2",226),Wfn(294,1,fEn,ub),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return this.a.Ob()},Fjn.Pb=function(){return Yx(this.a.Pb(),42).dd()},Fjn.Qb=function(){this.a.Qb()},EF(lEn,"AbstractMap/2/1",294),Wfn(484,1,{484:1,42:1}),Fjn.Fb=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),qB(this.d,t.cd())&&qB(this.e,t.dd()))},Fjn.cd=function(){return this.d},Fjn.dd=function(){return this.e},Fjn.Hb=function(){return NC(this.d)^NC(this.e)},Fjn.ed=function(n){return YL(this,n)},Fjn.Ib=function(){return this.d+"="+this.e},EF(lEn,"AbstractMap/AbstractEntry",484),Wfn(383,484,{484:1,383:1,42:1},zT),EF(lEn,"AbstractMap/SimpleEntry",383),Wfn(1984,1,hMn),Fjn.Fb=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),qB(this.cd(),t.cd())&&qB(this.dd(),t.dd()))},Fjn.Hb=function(){return NC(this.cd())^NC(this.dd())},Fjn.Ib=function(){return this.cd()+"="+this.dd()},EF(lEn,jEn,1984),Wfn(1992,1967,pEn),Fjn.tc=function(n){return vV(this,n)},Fjn._b=function(n){return XN(this,n)},Fjn.vc=function(){return new hb(this)},Fjn.xc=function(n){return eI(c6(this,n))},Fjn.ec=function(){return new ob(this)},EF(lEn,"AbstractNavigableMap",1992),Wfn(739,dEn,gEn,hb),Fjn.Hc=function(n){return CO(n,42)&&vV(this.b,Yx(n,42))},Fjn.Kc=function(){return new gN(this.b)},Fjn.Mc=function(n){var t;return!!CO(n,42)&&(t=Yx(n,42),iY(this.b,t))},Fjn.gc=function(){return this.b.c},EF(lEn,"AbstractNavigableMap/EntrySet",739),Wfn(493,dEn,mEn,ob),Fjn.Nc=function(){return new RT(this)},Fjn.$b=function(){$m(this.a)},Fjn.Hc=function(n){return XN(this.a,n)},Fjn.Kc=function(){return new sb(new gN(new UA(this.a).b))},Fjn.Mc=function(n){return!!XN(this.a,n)&&(fG(this.a,n),!0)},Fjn.gc=function(){return this.a.c},EF(lEn,"AbstractNavigableMap/NavigableKeySet",493),Wfn(494,1,fEn,sb),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return OT(this.a.a)},Fjn.Pb=function(){return m$(this.a).cd()},Fjn.Qb=function(){hx(this.a)},EF(lEn,"AbstractNavigableMap/NavigableKeySet/1",494),Wfn(2004,28,wEn),Fjn.Fc=function(n){return JQ(mun(this,n)),!0},Fjn.Gc=function(n){return vB(n),jD(n!=this,"Can't add a queue to itself"),C2(this,n)},Fjn.$b=function(){for(;null!=YJ(this););},EF(lEn,"AbstractQueue",2004),Wfn(302,28,{4:1,20:1,28:1,14:1},ep,xz),Fjn.Fc=function(n){return CX(this,n),!0},Fjn.$b=function(){iW(this)},Fjn.Hc=function(n){return T4(new VB(this),n)},Fjn.dc=function(){return ry(this)},Fjn.Kc=function(){return new VB(this)},Fjn.Mc=function(n){return function(n,t){return!!T4(n,t)&&(a0(n),!0)}(new VB(this),n)},Fjn.gc=function(){return this.c-this.b&this.a.length-1},Fjn.Nc=function(){return new Nz(this,272)},Fjn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&DF(n,t,null),n},Fjn.b=0,Fjn.c=0,EF(lEn,"ArrayDeque",302),Wfn(446,1,fEn,VB),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return this.a!=this.b},Fjn.Pb=function(){return w8(this)},Fjn.Qb=function(){a0(this)},Fjn.a=0,Fjn.b=0,Fjn.c=-1,EF(lEn,"ArrayDeque/IteratorImpl",446),Wfn(12,52,fMn,ip,pQ,sx),Fjn.Vc=function(n,t){ZR(this,n,t)},Fjn.Fc=function(n){return eD(this,n)},Fjn.Wc=function(n,t){return H6(this,n,t)},Fjn.Gc=function(n){return S4(this,n)},Fjn.$b=function(){this.c=VQ(UKn,iEn,1,0,5,1)},Fjn.Hc=function(n){return-1!=hJ(this,n,0)},Fjn.Jc=function(n){WZ(this,n)},Fjn.Xb=function(n){return TR(this,n)},Fjn.Xc=function(n){return hJ(this,n,0)},Fjn.dc=function(){return 0==this.c.length},Fjn.Kc=function(){return new pb(this)},Fjn.$c=function(n){return KV(this,n)},Fjn.Mc=function(n){return uJ(this,n)},Fjn.Ud=function(n,t){Az(this,n,t)},Fjn._c=function(n,t){return QW(this,n,t)},Fjn.gc=function(){return this.c.length},Fjn.ad=function(n){JC(this,n)},Fjn.Pc=function(){return w$(this)},Fjn.Qc=function(n){return Htn(this,n)};var TFn,MFn,SFn,PFn,IFn,CFn,OFn,AFn,$Fn,LFn=EF(lEn,"ArrayList",12);Wfn(7,1,fEn,pb),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return ZC(this)},Fjn.Pb=function(){return Hz(this)},Fjn.Qb=function(){z_(this)},Fjn.a=0,Fjn.b=-1,EF(lEn,"ArrayList/1",7),Wfn(2013,e.Function,{},T),Fjn.te=function(n,t){return $9(n,t)},Wfn(154,52,lMn,ay),Fjn.Hc=function(n){return-1!=p0(this,n)},Fjn.Jc=function(n){var t,e,i,r;for(vB(n),i=0,r=(e=this.a).length;i>>0).toString(16))},Fjn.f=0,Fjn.i=ZTn;var EBn,TBn,MBn,SBn,PBn=EF(qMn,"CNode",57);Wfn(814,1,{},uv),EF(qMn,"CNode/CNodeBuilder",814),Wfn(1525,1,{},dn),Fjn.Oe=function(n,t){return 0},Fjn.Pe=function(n,t){return 0},EF(qMn,zMn,1525),Wfn(1790,1,{},gn),Fjn.Le=function(n){var t,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(h=JTn,r=new pb(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},Fjn.Se=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=x7(this,lcn(this,null,!0));else for(JZ(),i=0,r=(t=x4(Gy(sHn,1),XEn,232,0,[rHn,cHn,aHn])).length;i0?c+this.n.b+this.n.c:0},Fjn.Te=function(){var n,t,e,i,r;if(this.g)for(n=lcn(this,null,!1),JZ(),i=0,r=(e=x4(Gy(sHn,1),XEn,232,0,[rHn,cHn,aHn])).length;i0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=e.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=e.Math.max(r[1],i),MV(this,cHn,t.d+n.d+r[0]-(r[1]-i)/2,r)},Fjn.b=null,Fjn.d=0,Fjn.e=!1,Fjn.f=!1,Fjn.g=!1;var hHn,fHn,lHn,bHn=0,wHn=0;EF(gSn,"GridContainerCell",1473),Wfn(461,22,{3:1,35:1,22:1,461:1},oM);var dHn,gHn=X1(gSn,"HorizontalLabelAlignment",461,u_n,(function(){return BY(),x4(Gy(gHn,1),XEn,461,0,[fHn,hHn,lHn])}),(function(n){return BY(),rZ((mQ(),dHn),n)}));Wfn(306,212,{212:1,306:1},eG,KZ,qq),Fjn.Re=function(){return XD(this)},Fjn.Se=function(){return WD(this)},Fjn.a=0,Fjn.c=!1;var pHn,vHn,mHn,yHn=EF(gSn,"LabelCell",306);Wfn(244,326,{212:1,326:1,244:1},Stn),Fjn.Re=function(){return Dhn(this)},Fjn.Se=function(){return Rhn(this)},Fjn.Te=function(){cvn(this)},Fjn.Ue=function(){hvn(this)},Fjn.b=0,Fjn.c=0,Fjn.d=!1,EF(gSn,"StripContainerCell",244),Wfn(1626,1,YEn,En),Fjn.Mb=function(n){return function(n){return!!n&&n.k}(Yx(n,212))},EF(gSn,"StripContainerCell/lambda$0$Type",1626),Wfn(1627,1,{},Tn),Fjn.Fe=function(n){return Yx(n,212).Se()},EF(gSn,"StripContainerCell/lambda$1$Type",1627),Wfn(1628,1,YEn,Mn),Fjn.Mb=function(n){return function(n){return!!n&&n.j}(Yx(n,212))},EF(gSn,"StripContainerCell/lambda$2$Type",1628),Wfn(1629,1,{},Sn),Fjn.Fe=function(n){return Yx(n,212).Re()},EF(gSn,"StripContainerCell/lambda$3$Type",1629),Wfn(462,22,{3:1,35:1,22:1,462:1},sM);var kHn,jHn,EHn,THn,MHn,SHn,PHn,IHn,CHn,OHn,AHn,$Hn,LHn,NHn,xHn,DHn,RHn,KHn,_Hn,FHn,BHn,HHn,qHn,GHn=X1(gSn,"VerticalLabelAlignment",462,u_n,(function(){return OJ(),x4(Gy(GHn,1),XEn,462,0,[mHn,vHn,pHn])}),(function(n){return OJ(),rZ((yQ(),kHn),n)}));Wfn(789,1,{},vkn),Fjn.c=0,Fjn.d=0,Fjn.k=0,Fjn.s=0,Fjn.t=0,Fjn.v=!1,Fjn.w=0,Fjn.D=!1,EF(TSn,"NodeContext",789),Wfn(1471,1,FMn,Pn),Fjn.ue=function(n,t){return nC(Yx(n,61),Yx(t,61))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(TSn,"NodeContext/0methodref$comparePortSides$Type",1471),Wfn(1472,1,FMn,In),Fjn.ue=function(n,t){return function(n,t){var e;if(0!=(e=nC(n.b.Hf(),t.b.Hf())))return e;switch(n.b.Hf().g){case 1:case 2:return eO(n.b.sf(),t.b.sf());case 3:case 4:return eO(t.b.sf(),n.b.sf())}return 0}(Yx(n,111),Yx(t,111))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(TSn,"NodeContext/1methodref$comparePortContexts$Type",1472),Wfn(159,22,{3:1,35:1,22:1,159:1},U2);var zHn,UHn,XHn,WHn,VHn,QHn,YHn,JHn=X1(TSn,"NodeLabelLocation",159,u_n,Xtn,(function(n){return Njn(),rZ((LI(),zHn),n)}));Wfn(111,1,{111:1},gfn),Fjn.a=!1,EF(TSn,"PortContext",111),Wfn(1476,1,PEn,Cn),Fjn.td=function(n){oj(Yx(n,306))},EF(PSn,ISn,1476),Wfn(1477,1,YEn,On),Fjn.Mb=function(n){return!!Yx(n,111).c},EF(PSn,CSn,1477),Wfn(1478,1,PEn,An),Fjn.td=function(n){oj(Yx(n,111).c)},EF(PSn,"LabelPlacer/lambda$2$Type",1478),Wfn(1475,1,PEn,Ln),Fjn.td=function(n){PL(),function(n){n.b.tf(n.e)}(Yx(n,111))},EF(PSn,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),Wfn(790,1,PEn,kx),Fjn.td=function(n){hT(this.b,this.c,this.a,Yx(n,181))},Fjn.a=!1,Fjn.c=!1,EF(PSn,"NodeLabelCellCreator/lambda$0$Type",790),Wfn(1474,1,PEn,Yb),Fjn.td=function(n){!function(n,t){Fon(n.c,t)}(this.a,Yx(n,181))},EF(PSn,"PortContextCreator/lambda$0$Type",1474),Wfn(1829,1,{},Nn),EF(ASn,"GreedyRectangleStripOverlapRemover",1829),Wfn(1830,1,FMn,$n),Fjn.ue=function(n,t){return function(n,t){return $9(n.c.d,t.c.d)}(Yx(n,222),Yx(t,222))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(ASn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),Wfn(1786,1,{},lv),Fjn.a=5,Fjn.e=0,EF(ASn,"RectangleStripOverlapRemover",1786),Wfn(1787,1,FMn,Dn),Fjn.ue=function(n,t){return function(n,t){return $9(n.c.c,t.c.c)}(Yx(n,222),Yx(t,222))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(ASn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),Wfn(1789,1,FMn,Rn),Fjn.ue=function(n,t){return function(n,t){return $9(n.c.c+n.c.b,t.c.c+t.c.b)}(Yx(n,222),Yx(t,222))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(ASn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),Wfn(406,22,{3:1,35:1,22:1,406:1},hM);var ZHn,nqn,tqn,eqn,iqn,rqn=X1(ASn,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,u_n,(function(){return e4(),x4(Gy(rqn,1),XEn,406,0,[YHn,WHn,VHn,QHn])}),(function(n){return e4(),rZ((zY(),ZHn),n)}));Wfn(222,1,{222:1},fK),EF(ASn,"RectangleStripOverlapRemover/RectangleNode",222),Wfn(1788,1,PEn,Jb),Fjn.td=function(n){!function(n,t){var e,i;switch(i=t.c,e=t.a,n.b.g){case 0:e.d=n.e-i.a-i.d;break;case 1:e.d+=n.e;break;case 2:e.c=n.e-i.a-i.d;break;case 3:e.c=n.e+i.d}}(this.a,Yx(n,222))},EF(ASn,"RectangleStripOverlapRemover/lambda$1$Type",1788),Wfn(1304,1,FMn,Kn),Fjn.ue=function(n,t){return function(n,t){var e,i,r,c;return e=new _n,1==(r=2==(r=(i=Yx(kW(fH(new SR(null,new Nz(n.f,16)),e),kJ(new Q,new Y,new cn,new an,x4(Gy(wBn,1),XEn,132,0,[(C6(),uBn),aBn]))),21)).gc())?1:0)&&sI(Snn(Yx(kW(hH(i.Lc(),new Fn),k3(ytn(0),new en)),162).a,2),0)&&(r=0),1==(c=2==(c=(i=Yx(kW(fH(new SR(null,new Nz(t.f,16)),e),kJ(new Q,new Y,new cn,new an,x4(Gy(wBn,1),XEn,132,0,[uBn,aBn]))),21)).gc())?1:0)&&sI(Snn(Yx(kW(hH(i.Lc(),new Bn),k3(ytn(0),new en)),162).a,2),0)&&(c=0),r0?Y_(n.a,t,e):Y_(n.b,t,e)}(this,Yx(n,46),Yx(t,167))},EF(LSn,"SuccessorCombination",777),Wfn(644,1,{},Wn),Fjn.Ce=function(n,t){var i;return function(n){var t,i,r,c,a;return i=c=Yx(n.a,19).a,r=a=Yx(n.b,19).a,t=e.Math.max(e.Math.abs(c),e.Math.abs(a)),c<=0&&c==a?(i=0,r=a-1):c==-t&&a!=t?(i=a,r=c,a>=0&&++i):(i=-a,r=c),new mP(d9(i),d9(r))}((i=Yx(n,46),Yx(t,167),i))},EF(LSn,"SuccessorJitter",644),Wfn(643,1,{},Vn),Fjn.Ce=function(n,t){var i;return function(n){var t,i;if(t=Yx(n.a,19).a,i=Yx(n.b,19).a,t>=0){if(t==i)return new mP(d9(-t-1),d9(-t-1));if(t==-i)return new mP(d9(-t),d9(i+1))}return e.Math.abs(t)>e.Math.abs(i)?new mP(d9(-t),d9(t<0?i:i+1)):new mP(d9(t+1),d9(i))}((i=Yx(n,46),Yx(t,167),i))},EF(LSn,"SuccessorLineByLine",643),Wfn(568,1,{},Qn),Fjn.Ce=function(n,t){var e;return function(n){var t,e,i,r;return t=i=Yx(n.a,19).a,e=r=Yx(n.b,19).a,0==i&&0==r?e-=1:-1==i&&r<=0?(t=0,e-=2):i<=0&&r>0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new mP(d9(t),d9(e))}((e=Yx(n,46),Yx(t,167),e))},EF(LSn,"SuccessorManhattan",568),Wfn(1356,1,{},Yn),Fjn.Ce=function(n,t){var i;return function(n){var t,i,r;return i=Yx(n.a,19).a,r=Yx(n.b,19).a,i<(t=e.Math.max(e.Math.abs(i),e.Math.abs(r)))&&r==-t?new mP(d9(i+1),d9(r)):i==t&&r=-t&&r==t?new mP(d9(i-1),d9(r)):new mP(d9(i),d9(r-1))}((i=Yx(n,46),Yx(t,167),i))},EF(LSn,"SuccessorMaxNormWindingInMathPosSense",1356),Wfn(400,1,{},Zb),Fjn.Ce=function(n,t){return Y_(this,n,t)},Fjn.c=!1,Fjn.d=!1,Fjn.e=!1,Fjn.f=!1,EF(LSn,"SuccessorQuadrantsGeneric",400),Wfn(1357,1,{},Jn),Fjn.Kb=function(n){return Yx(n,324).a},EF(LSn,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),Wfn(323,22,{3:1,35:1,22:1,323:1},iM),Fjn.a=!1;var cqn,aqn=X1(KSn,_Sn,323,u_n,(function(){return Sen(),x4(Gy(aqn,1),XEn,323,0,[tqn,nqn,eqn,iqn])}),(function(n){return Sen(),rZ((UY(),cqn),n)}));Wfn(1298,1,{}),Fjn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=d9(0),r=0;r0&&L1(p,y*j),k>0&&N1(p,k*E);for(S3(n.b,new lt),t=new ip,u=new t6(new Ql(n.c).a);u.b;)i=Yx((a=s1(u)).cd(),79),e=Yx(a.dd(),395).a,r=Ywn(i,!1,!1),wvn(f=Xan(Kun(i),Kon(r),e),r),(m=_un(i))&&-1==hJ(t,m,0)&&(t.c[t.c.length]=m,OH(m,(S$(0!=f.b),Yx(f.a.a.c,8)),e));for(g=new t6(new Ql(n.d).a);g.b;)i=Yx((d=s1(g)).cd(),79),e=Yx(d.dd(),395).a,r=Ywn(i,!1,!1),f=Xan(Bun(i),U5(Kon(r)),e),wvn(f=U5(f),r),(m=Fun(i))&&-1==hJ(t,m,0)&&(t.c[t.c.length]=m,OH(m,(S$(0!=f.b),Yx(f.c.b.c,8)),e))}(r),Aen(n,Cqn,this.b),Ron(t)},Fjn.a=0,EF(JSn,"DisCoLayoutProvider",1132),Wfn(1244,1,{},ct),Fjn.c=!1,Fjn.e=0,Fjn.f=0,EF(JSn,"DisCoPolyominoCompactor",1244),Wfn(561,1,{561:1},qR),Fjn.b=!0,EF(ZSn,"DCComponent",561),Wfn(394,22,{3:1,35:1,22:1,394:1},eM),Fjn.a=!1;var pqn,vqn,mqn=X1(ZSn,"DCDirection",394,u_n,(function(){return Pen(),x4(Gy(mqn,1),XEn,394,0,[bqn,lqn,wqn,dqn])}),(function(n){return Pen(),rZ((XY(),pqn),n)}));Wfn(266,134,{3:1,266:1,94:1,134:1},eln),EF(ZSn,"DCElement",266),Wfn(395,1,{395:1},Bin),Fjn.c=0,EF(ZSn,"DCExtension",395),Wfn(755,134,USn,jk),EF(ZSn,"DCGraph",755),Wfn(481,22,{3:1,35:1,22:1,481:1},I$);var yqn,kqn,jqn,Eqn,Tqn,Mqn,Sqn,Pqn,Iqn,Cqn,Oqn,Aqn,$qn,Lqn,Nqn,xqn,Dqn,Rqn,Kqn,_qn,Fqn,Bqn=X1(nPn,tPn,481,u_n,(function(){return BE(),x4(Gy(Bqn,1),XEn,481,0,[vqn])}),(function(n){return BE(),rZ((yX(),yqn),n)}));Wfn(854,1,fSn,Fh),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ePn),aPn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Eqn),(lsn(),O7n)),Bqn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,iPn),aPn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),N7n),fFn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,rPn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),L7n),UKn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,cPn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),L7n),UKn),J9(T7n)))),Qvn((new Bh,n))},EF(nPn,"DisCoMetaDataProvider",854),Wfn(998,1,fSn,Bh),Fjn.Qe=function(n){Qvn(n)},EF(nPn,"DisCoOptions",998),Wfn(999,1,{},at),Fjn.$e=function(){return new rt},Fjn._e=function(n){},EF(nPn,"DisCoOptions/DiscoFactory",999),Wfn(562,167,{321:1,167:1,562:1},nbn),Fjn.a=0,Fjn.b=0,Fjn.c=0,Fjn.d=0,EF("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),Wfn(1268,1,YEn,ut),Fjn.Mb=function(n){return $I(n)},EF(lPn,"ElkGraphComponentsProcessor/lambda$0$Type",1268),Wfn(1269,1,{},ot),Fjn.Kb=function(n){return UH(),Kun(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$1$Type",1269),Wfn(1270,1,YEn,st),Fjn.Mb=function(n){return function(n){return UH(),Kun(n)==IG(Bun(n))}(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$2$Type",1270),Wfn(1271,1,{},ht),Fjn.Kb=function(n){return UH(),Bun(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$3$Type",1271),Wfn(1272,1,YEn,ft),Fjn.Mb=function(n){return function(n){return UH(),Bun(n)==IG(Kun(n))}(Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$4$Type",1272),Wfn(1273,1,YEn,tw),Fjn.Mb=function(n){return function(n,t){return UH(),n==IG(Kun(t))||n==IG(Bun(t))}(this.a,Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$5$Type",1273),Wfn(1274,1,{},ew),Fjn.Kb=function(n){return function(n,t){return UH(),n==Kun(t)?Bun(t):Kun(t)}(this.a,Yx(n,79))},EF(lPn,"ElkGraphComponentsProcessor/lambda$6$Type",1274),Wfn(1241,1,{},rW),Fjn.a=0,EF(lPn,"ElkGraphTransformer",1241),Wfn(1242,1,{},lt),Fjn.Od=function(n,t){!function(n,t,e){var i,r,c,a;n.a=e.b.d,CO(t,352)?(XW(c=Kon(r=Ywn(Yx(t,79),!1,!1)),i=new iw(n)),wvn(c,r),null!=t.We((Cjn(),Gnt))&&XW(Yx(t.We(Gnt),74),i)):((a=Yx(t,470)).Hg(a.Dg()+n.a.a),a.Ig(a.Eg()+n.a.b))}(this,Yx(n,160),Yx(t,266))},EF(lPn,"ElkGraphTransformer/OffsetApplier",1242),Wfn(1243,1,PEn,iw),Fjn.td=function(n){!function(n,t){$$(t,n.a.a.a,n.a.a.b)}(this,Yx(n,8))},EF(lPn,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),Wfn(753,1,{},bt),EF(pPn,vPn,753),Wfn(1232,1,FMn,wt),Fjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Yx(Aun(t,(Bdn(),bGn)),19).a-Yx(Aun(n,bGn),19).a)?(i=yN(dO(Yx(Aun(n,(d2(),kGn)),8)),Yx(Aun(n,jGn),8)),r=yN(dO(Yx(Aun(t,kGn),8)),Yx(Aun(t,jGn),8)),$9(i.a*i.b,r.a*r.b)):e}(Yx(n,231),Yx(t,231))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(pPn,mPn,1232),Wfn(740,209,VSn,iv),Fjn.Ze=function(n,t){bbn(this,n,t)},EF(pPn,"ForceLayoutProvider",740),Wfn(357,134,{3:1,357:1,94:1,134:1}),EF(yPn,"FParticle",357),Wfn(559,357,{3:1,559:1,357:1,94:1,134:1},dF),Fjn.Ib=function(){var n;return this.a?(n=hJ(this.a.a,this,0))>=0?"b"+n+"["+YW(this.a)+"]":"b["+YW(this.a)+"]":"b_"+_A(this)},EF(yPn,"FBendpoint",559),Wfn(282,134,{3:1,282:1,94:1,134:1},rN),Fjn.Ib=function(){return YW(this)},EF(yPn,"FEdge",282),Wfn(231,134,{3:1,231:1,94:1,134:1},XV);var Hqn,qqn,Gqn,zqn,Uqn,Xqn,Wqn,Vqn,Qqn,Yqn,Jqn=EF(yPn,"FGraph",231);Wfn(447,357,{3:1,447:1,357:1,94:1,134:1},wW),Fjn.Ib=function(){return null==this.b||0==this.b.length?"l["+YW(this.a)+"]":"l_"+this.b},EF(yPn,"FLabel",447),Wfn(144,357,{3:1,144:1,357:1,94:1,134:1},GF),Fjn.Ib=function(){return Yz(this)},Fjn.b=0,EF(yPn,"FNode",144),Wfn(2003,1,{}),Fjn.bf=function(n){Kpn(this,n)},Fjn.cf=function(){trn(this)},Fjn.d=0,EF(jPn,"AbstractForceModel",2003),Wfn(631,2003,{631:1},Z3),Fjn.af=function(n,t){var i,r,c,a;return mhn(this.f,n,t),c=yN(dO(t.d),n.d),a=e.Math.sqrt(c.a*c.a+c.b*c.b),r=e.Math.max(0,a-fB(n.e)/2-fB(t.e)/2),KO(c,((i=F5(this.e,n,t))>0?-function(n,t){return n>0?e.Math.log(n/t):-100}(r,this.c)*i:function(n,t){return n>0?t/(n*n):100*t}(r,this.b)*Yx(Aun(n,(Bdn(),bGn)),19).a)/a),c},Fjn.bf=function(n){Kpn(this,n),this.a=Yx(Aun(n,(Bdn(),iGn)),19).a,this.c=ty(fL(Aun(n,mGn))),this.b=ty(fL(Aun(n,dGn)))},Fjn.df=function(n){return n0?t*t/n:t*t*100}(r=e.Math.max(0,u-fB(n.e)/2-fB(t.e)/2),this.a)*Yx(Aun(n,(Bdn(),bGn)),19).a,(i=F5(this.e,n,t))>0&&(a-=function(n,t){return n*n/t}(r,this.a)*i),KO(c,a*this.b/u),c},Fjn.bf=function(n){var t,i,r,c,a,u,o;for(Kpn(this,n),this.b=ty(fL(Aun(n,(Bdn(),yGn)))),this.c=this.b/Yx(Aun(n,iGn),19).a,r=n.e.c.length,a=0,c=0,o=new pb(n.e);o.a0},Fjn.a=0,Fjn.b=0,Fjn.c=0,EF(jPn,"FruchtermanReingoldModel",632),Wfn(849,1,fSn,qh),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,EPn),""),"Force Model"),"Determines the model for force calculation."),Gqn),(lsn(),O7n)),UGn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TPn),""),"Iterations"),"The number of iterations on the force model."),d9(300)),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,MPn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),d9(0)),$7n),U_n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,SPn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),PPn),C7n),H_n),J9(T7n)))),xU(n,SPn,EPn,Vqn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,IPn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),C7n),H_n),J9(T7n)))),xU(n,IPn,EPn,Uqn),Mkn((new Gh,n))},EF(CPn,"ForceMetaDataProvider",849),Wfn(424,22,{3:1,35:1,22:1,424:1},fM);var Zqn,nGn,tGn,eGn,iGn,rGn,cGn,aGn,uGn,oGn,sGn,hGn,fGn,lGn,bGn,wGn,dGn,gGn,pGn,vGn,mGn,yGn,kGn,jGn,EGn,TGn,MGn,SGn,PGn,IGn,CGn,OGn,AGn,$Gn,LGn,NGn,xGn,DGn,RGn,KGn,_Gn,FGn,BGn,HGn,qGn,GGn,zGn,UGn=X1(CPn,"ForceModelStrategy",424,u_n,(function(){return hZ(),x4(Gy(UGn,1),XEn,424,0,[Qqn,Yqn])}),(function(n){return hZ(),rZ((MW(),Zqn),n)}));Wfn(988,1,fSn,Gh),Fjn.Qe=function(n){Mkn(n)},EF(CPn,"ForceOptions",988),Wfn(989,1,{},dt),Fjn.$e=function(){return new iv},Fjn._e=function(n){},EF(CPn,"ForceOptions/ForceFactory",989),Wfn(850,1,fSn,zh),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,VPn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(TA(),!1)),(lsn(),I7n)),D_n),J9((Qtn(),E7n))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,QPn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),C7n),H_n),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[k7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,YPn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),PGn),O7n),ezn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,JPn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),PPn),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ZPn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),d9(Yjn)),$7n),U_n),J9(T7n)))),Kyn((new Uh,n))},EF(CPn,"StressMetaDataProvider",850),Wfn(992,1,fSn,Uh),Fjn.Qe=function(n){Kyn(n)},EF(CPn,"StressOptions",992),Wfn(993,1,{},gt),Fjn.$e=function(){return new cN},Fjn._e=function(n){},EF(CPn,"StressOptions/StressFactory",993),Wfn(1128,209,VSn,cN),Fjn.Ze=function(n,t){var e,i,r,c;for(run(t,tIn,1),ny(hL(jln(n,(Wrn(),xGn))))?ny(hL(jln(n,BGn)))||rG(new Xb((dT(),new Xm(n)))):bbn(new iv,n,J2(t,1)),i=w5(n),c=(e=ovn(this.a,i)).Kc();c.Ob();)(r=Yx(c.Pb(),231)).e.c.length<=1||($mn(this.b,r),Mln(this.b),WZ(r.d,new pt));Okn(i=_kn(e)),Ron(t)},EF(iIn,"StressLayoutProvider",1128),Wfn(1129,1,PEn,pt),Fjn.td=function(n){Wvn(Yx(n,447))},EF(iIn,"StressLayoutProvider/lambda$0$Type",1129),Wfn(990,1,{},Hp),Fjn.c=0,Fjn.e=0,Fjn.g=0,EF(iIn,"StressMajorization",990),Wfn(379,22,{3:1,35:1,22:1,379:1},lM);var XGn,WGn,VGn,QGn,YGn,JGn,ZGn,nzn,tzn,ezn=X1(iIn,"StressMajorization/Dimension",379,u_n,(function(){return CJ(),x4(Gy(ezn,1),XEn,379,0,[GGn,qGn,zGn])}),(function(n){return CJ(),rZ((jQ(),XGn),n)}));Wfn(991,1,FMn,rw),Fjn.ue=function(n,t){return function(n,t,e){return $9(n[t.b],n[e.b])}(this.a,Yx(n,144),Yx(t,144))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(iIn,"StressMajorization/lambda$0$Type",991),Wfn(1229,1,{},gU),EF(cIn,"ElkLayered",1229),Wfn(1230,1,PEn,vt),Fjn.td=function(n){!function(n){var t;if((t=Yx(Aun(n,(gjn(),i1n)),314))==(O0(),TWn))throw hp(new by("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}(Yx(n,37))},EF(cIn,"ElkLayered/lambda$0$Type",1230),Wfn(1231,1,PEn,cw),Fjn.td=function(n){!function(n,t){b5(t,(gjn(),YZn),n)}(this.a,Yx(n,37))},EF(cIn,"ElkLayered/lambda$1$Type",1231),Wfn(1263,1,{},fO),EF(cIn,"GraphConfigurator",1263),Wfn(759,1,PEn,aw),Fjn.td=function(n){ron(this.a,Yx(n,10))},EF(cIn,"GraphConfigurator/lambda$0$Type",759),Wfn(760,1,{},mt),Fjn.Kb=function(n){return Mcn(),new SR(null,new Nz(Yx(n,29).a,16))},EF(cIn,"GraphConfigurator/lambda$1$Type",760),Wfn(761,1,PEn,uw),Fjn.td=function(n){ron(this.a,Yx(n,10))},EF(cIn,"GraphConfigurator/lambda$2$Type",761),Wfn(1127,209,VSn,cv),Fjn.Ze=function(n,t){var e;e=Kvn(new wv,n),iI(jln(n,(gjn(),E1n)))===iI((O8(),$et))?_7(this.a,e,t):ofn(this.a,e,t),Tkn(new Wh,e)},EF(cIn,"LayeredLayoutProvider",1127),Wfn(356,22,{3:1,35:1,22:1,356:1},bM);var izn,rzn,czn,azn=X1(cIn,"LayeredPhases",356,u_n,(function(){return $un(),x4(Gy(azn,1),XEn,356,0,[YGn,JGn,ZGn,nzn,tzn])}),(function(n){return $un(),rZ((mZ(),izn),n)}));Wfn(1651,1,{},y0),Fjn.i=0,EF(aIn,"ComponentsToCGraphTransformer",1651),Wfn(1652,1,{},yt),Fjn.ef=function(n,t){return e.Math.min(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},Fjn.ff=function(n,t){return e.Math.min(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},EF(aIn,"ComponentsToCGraphTransformer/1",1652),Wfn(81,1,{81:1}),Fjn.i=0,Fjn.k=!0,Fjn.o=ZTn;var uzn,ozn,szn,hzn=EF(uIn,"CNode",81);Wfn(460,81,{460:1,81:1},zA,Etn),Fjn.Ib=function(){return""},EF(aIn,"ComponentsToCGraphTransformer/CRectNode",460),Wfn(1623,1,{},kt),EF(aIn,"OneDimensionalComponentsCompaction",1623),Wfn(1624,1,{},jt),Fjn.Kb=function(n){return function(n){return r8(),TA(),0!=Yx(n.a,81).d.e}(Yx(n,46))},Fjn.Fb=function(n){return this===n},EF(aIn,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),Wfn(1625,1,{},Et),Fjn.Kb=function(n){return function(n){return r8(),TA(),!!(M7(Yx(n.a,81).j,Yx(n.b,103))||0!=Yx(n.a,81).d.e&&M7(Yx(n.a,81).j,Yx(n.b,103)))}(Yx(n,46))},Fjn.Fb=function(n){return this===n},EF(aIn,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),Wfn(1654,1,{},HF),EF(uIn,"CGraph",1654),Wfn(189,1,{189:1},Ttn),Fjn.b=0,Fjn.c=0,Fjn.e=0,Fjn.g=!0,Fjn.i=ZTn,EF(uIn,"CGroup",189),Wfn(1653,1,{},Pt),Fjn.ef=function(n,t){return e.Math.max(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},Fjn.ff=function(n,t){return e.Math.max(null!=n.a?ty(n.a):n.c.i,null!=t.a?ty(t.a):t.c.i)},EF(uIn,zMn,1653),Wfn(1655,1,{},rfn),Fjn.d=!1;var fzn=EF(uIn,QMn,1655);Wfn(1656,1,{},It),Fjn.Kb=function(n){return WE(),TA(),0!=Yx(Yx(n,46).a,81).d.e},Fjn.Fb=function(n){return this===n},EF(uIn,YMn,1656),Wfn(823,1,{},gR),Fjn.a=!1,Fjn.b=!1,Fjn.c=!1,Fjn.d=!1,EF(uIn,JMn,823),Wfn(1825,1,{},lK),EF(oIn,ZMn,1825);var lzn=aR(sIn,HMn);Wfn(1826,1,{369:1},yq),Fjn.Ke=function(n){!function(n,t){var e,i,r;t.a?(uF(n.b,t.b),n.a[t.b.i]=Yx(BN(n.b,t.b),81),(e=Yx(FN(n.b,t.b),81))&&(n.a[e.i]=t.b)):(!!(i=Yx(BN(n.b,t.b),81))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=Yx(FN(n.b,t.b),81))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),RA(n.b,t.b))}(this,Yx(n,466))},EF(oIn,nSn,1826),Wfn(1827,1,FMn,Ct),Fjn.ue=function(n,t){return function(n,t){return $9(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}(Yx(n,81),Yx(t,81))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(oIn,tSn,1827),Wfn(466,1,{466:1},CM),Fjn.a=!1,EF(oIn,eSn,466),Wfn(1828,1,FMn,Ot),Fjn.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=$9(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}(Yx(n,466),Yx(t,466))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(oIn,iSn,1828),Wfn(140,1,{140:1},LM,ED),Fjn.Fb=function(n){var t;return null!=n&&pzn==V5(n)&&(t=Yx(n,140),qB(this.c,t.c)&&qB(this.d,t.d))},Fjn.Hb=function(){return G6(x4(Gy(UKn,1),iEn,1,5,[this.c,this.d]))},Fjn.Ib=function(){return"("+this.c+tEn+this.d+(this.a?"cx":"")+this.b+")"},Fjn.a=!0,Fjn.c=0,Fjn.d=0;var bzn,wzn,dzn,gzn,pzn=EF(sIn,"Point",140);Wfn(405,22,{3:1,35:1,22:1,405:1},wM);var vzn,mzn,yzn,kzn,jzn,Ezn,Tzn,Mzn,Szn,Pzn,Izn,Czn=X1(sIn,"Point/Quadrant",405,u_n,(function(){return _4(),x4(Gy(Czn,1),XEn,405,0,[bzn,gzn,wzn,dzn])}),(function(n){return _4(),rZ((GY(),vzn),n)}));Wfn(1642,1,{},ov),Fjn.b=null,Fjn.c=null,Fjn.d=null,Fjn.e=null,Fjn.f=null,EF(sIn,"RectilinearConvexHull",1642),Wfn(574,1,{369:1},ben),Fjn.Ke=function(n){!function(n,t){n.a.ue(t.d,n.b)>0&&(eD(n.c,new ED(t.c,t.d,n.d)),n.b=t.d)}(this,Yx(n,140))},Fjn.b=0,EF(sIn,"RectilinearConvexHull/MaximalElementsEventHandler",574),Wfn(1644,1,FMn,Mt),Fjn.ue=function(n,t){return function(n,t){return VE(),$9((vB(n),n),(vB(t),t))}(fL(n),fL(t))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),Wfn(1643,1,{369:1},xZ),Fjn.Ke=function(n){zbn(this,Yx(n,140))},Fjn.a=0,Fjn.b=null,Fjn.c=null,Fjn.d=null,Fjn.e=null,EF(sIn,"RectilinearConvexHull/RectangleEventHandler",1643),Wfn(1645,1,FMn,St),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(t.d,n.d):$9(n.c,t.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$0$Type",1645),Wfn(1646,1,FMn,Tt),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(n.d,t.d):$9(n.c,t.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$1$Type",1646),Wfn(1647,1,FMn,At),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(t.d,n.d):$9(t.c,n.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$2$Type",1647),Wfn(1648,1,FMn,$t),Fjn.ue=function(n,t){return function(n,t){return oZ(),n.c==t.c?$9(n.d,t.d):$9(t.c,n.c)}(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$3$Type",1648),Wfn(1649,1,FMn,Lt),Fjn.ue=function(n,t){return Nun(Yx(n,140),Yx(t,140))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(sIn,"RectilinearConvexHull/lambda$4$Type",1649),Wfn(1650,1,{},tz),EF(sIn,"Scanline",1650),Wfn(2005,1,{}),EF(hIn,"AbstractGraphPlacer",2005),Wfn(325,1,{325:1},F$),Fjn.mf=function(n){return!!this.nf(n)&&(Qhn(this.b,Yx(Aun(n,(Ojn(),uQn)),21),n),!0)},Fjn.nf=function(n){var t,e,i;for(t=Yx(Aun(n,(Ojn(),uQn)),21),i=Yx(_V(Mzn,t),21).Kc();i.Ob();)if(e=Yx(i.Pb(),21),!Yx(_V(this.b,e),15).dc())return!1;return!0},EF(hIn,"ComponentGroup",325),Wfn(765,2005,{},sv),Fjn.of=function(n){var t;for(t=new pb(this.a);t.ai?1:0}(Yx(n,37),Yx(t,37))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(hIn,"ComponentsProcessor/lambda$0$Type",1265),Wfn(570,325,{325:1,570:1},iV),Fjn.mf=function(n){return a6(this,n)},Fjn.nf=function(n){return Fbn(this,n)},EF(hIn,"ModelOrderComponentGroup",570),Wfn(1291,2005,{},Dt),Fjn.lf=function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;if(1!=n.gc()){if(n.dc())return t.a.c=VQ(UKn,iEn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(iI(Aun(t,(gjn(),HZn)))===iI((e9(),Izn))){for(s=n.Kc();s.Ob();){for(p=0,d=new pb((u=Yx(s.Pb(),37)).a);d.ab&&(k=0,j+=l+c,l=0),bgn(u,k+(g=u.c).a,j+g.b),OI(g),i=e.Math.max(i,k+v.a),l=e.Math.max(l,v.b),k+=v.a+c;if(t.f.a=i,t.f.b=j+l,ny(hL(Aun(a,_Zn)))){for(bjn(r=new Nt,n,c),f=n.Kc();f.Ob();)mN(OI(Yx(f.Pb(),37).c),r.e);mN(OI(t.f),r.a)}dY(t,n)}else(m=Yx(n.Xb(0),37))!=t&&(t.a.c=VQ(UKn,iEn,1,0,5,1),Dgn(t,m,0,0),o4(t,m),HH(t.d,m.d),t.f.a=m.f.a,t.f.b=m.f.b)},EF(hIn,"SimpleRowGraphPlacer",1291),Wfn(1292,1,FMn,Rt),Fjn.ue=function(n,t){return function(n,t){var e;return 0==(e=t.p-n.p)?$9(n.f.a*n.f.b,t.f.a*t.f.b):e}(Yx(n,37),Yx(t,37))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(hIn,"SimpleRowGraphPlacer/1",1292),Wfn(1262,1,rSn,Kt),Fjn.Lb=function(n){var t;return!!(t=Yx(Aun(Yx(n,243).b,(gjn(),$1n)),74))&&0!=t.b},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){var t;return!!(t=Yx(Aun(Yx(n,243).b,(gjn(),$1n)),74))&&0!=t.b},EF(wIn,"CompoundGraphPostprocessor/1",1262),Wfn(1261,1,dIn,dv),Fjn.pf=function(n,t){Wen(this,Yx(n,37),t)},EF(wIn,"CompoundGraphPreprocessor",1261),Wfn(441,1,{441:1},c9),Fjn.c=!1,EF(wIn,"CompoundGraphPreprocessor/ExternalPort",441),Wfn(243,1,{243:1},jx),Fjn.Ib=function(){return d$(this.c)+":"+Khn(this.b)},EF(wIn,"CrossHierarchyEdge",243),Wfn(763,1,FMn,ow),Fjn.ue=function(n,t){return function(n,t,e){var i,r;return t.c==(h0(),i3n)&&e.c==e3n?-1:t.c==e3n&&e.c==i3n?1:(i=X6(t.a,n.a),r=X6(e.a,n.a),t.c==i3n?r-i:i-r)}(this,Yx(n,243),Yx(t,243))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(wIn,"CrossHierarchyEdgeComparator",763),Wfn(299,134,{3:1,299:1,94:1,134:1}),Fjn.p=0,EF(gIn,"LGraphElement",299),Wfn(17,299,{3:1,17:1,299:1,94:1,134:1},jq),Fjn.Ib=function(){return Khn(this)};var Nzn=EF(gIn,"LEdge",17);Wfn(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},k0),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new pb(this.b)},Fjn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Gun(this.a):0==this.a.c.length?"G-layered"+Gun(this.b):"G[layerless"+Gun(this.a)+", layers"+Gun(this.b)+"]"};var xzn,Dzn=EF(gIn,"LGraph",37);Wfn(657,1,{}),Fjn.qf=function(){return this.e.n},Fjn.We=function(n){return Aun(this.e,n)},Fjn.rf=function(){return this.e.o},Fjn.sf=function(){return this.e.p},Fjn.Xe=function(n){return O$(this.e,n)},Fjn.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},Fjn.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},Fjn.vf=function(n){this.e.p=n},EF(gIn,"LGraphAdapters/AbstractLShapeAdapter",657),Wfn(577,1,{839:1},sw),Fjn.wf=function(){var n,t;if(!this.b)for(this.b=h$(this.a.b.c.length),t=new pb(this.a.b);t.a0&&l8((Lz(t-1,n.length),n.charCodeAt(t-1)),TIn);)--t;if(r> ",n),krn(e)),yI(mI((n.a+="[",n),e.i),"]")),n.a},Fjn.c=!0,Fjn.d=!1;var nUn,tUn,eUn,iUn,rUn=EF(gIn,"LPort",11);Wfn(397,1,$En,fw),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new lw(new pb(this.a.e))},EF(gIn,"LPort/1",397),Wfn(1290,1,fEn,lw),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){return Yx(Hz(this.a),17).c},Fjn.Ob=function(){return ZC(this.a)},Fjn.Qb=function(){z_(this.a)},EF(gIn,"LPort/1/1",1290),Wfn(359,1,$En,bw),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new ww(new pb(this.a.g))},EF(gIn,"LPort/2",359),Wfn(762,1,fEn,ww),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){return Yx(Hz(this.a),17).d},Fjn.Ob=function(){return ZC(this.a)},Fjn.Qb=function(){z_(this.a)},EF(gIn,"LPort/2/1",762),Wfn(1283,1,$En,IM),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new UV(this)},EF(gIn,"LPort/CombineIter",1283),Wfn(201,1,fEn,UV),Fjn.Nb=function(n){I_(this,n)},Fjn.Qb=function(){Bk()},Fjn.Ob=function(){return YA(this)},Fjn.Pb=function(){return ZC(this.a)?Hz(this.a):Hz(this.b)},EF(gIn,"LPort/CombineIter/1",201),Wfn(1285,1,rSn,Bt),Fjn.Lb=function(n){return JK(n)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),0!=Yx(n,11).e.c.length},EF(gIn,"LPort/lambda$0$Type",1285),Wfn(1284,1,rSn,Ht),Fjn.Lb=function(n){return ZK(n)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),0!=Yx(n,11).g.c.length},EF(gIn,"LPort/lambda$1$Type",1284),Wfn(1286,1,rSn,qt),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Tit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Tit)},EF(gIn,"LPort/lambda$2$Type",1286),Wfn(1287,1,rSn,Gt),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Eit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Eit)},EF(gIn,"LPort/lambda$3$Type",1287),Wfn(1288,1,rSn,zt),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Bit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),Bit)},EF(gIn,"LPort/lambda$4$Type",1288),Wfn(1289,1,rSn,Ut),Fjn.Lb=function(n){return Q2(),Yx(n,11).j==(Ikn(),qit)},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return Q2(),Yx(n,11).j==(Ikn(),qit)},EF(gIn,"LPort/lambda$5$Type",1289),Wfn(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},qF),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new pb(this.a)},Fjn.Ib=function(){return"L_"+hJ(this.b.b,this,0)+Gun(this.a)},EF(gIn,"Layer",29),Wfn(1342,1,{},wv),EF(OIn,AIn,1342),Wfn(1346,1,{},Xt),Fjn.Kb=function(n){return iun(Yx(n,82))},EF(OIn,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),Wfn(1349,1,{},Wt),Fjn.Kb=function(n){return iun(Yx(n,82))},EF(OIn,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),Wfn(1343,1,PEn,dw),Fjn.td=function(n){vfn(this.a,Yx(n,118))},EF(OIn,$In,1343),Wfn(1344,1,PEn,gw),Fjn.td=function(n){vfn(this.a,Yx(n,118))},EF(OIn,LIn,1344),Wfn(1345,1,{},Vt),Fjn.Kb=function(n){return new SR(null,new Nz(function(n){return!n.c&&(n.c=new AN(Zrt,n,5,8)),n.c}(Yx(n,79)),16))},EF(OIn,NIn,1345),Wfn(1347,1,YEn,pw),Fjn.Mb=function(n){return function(n,t){return XZ(t,TG(n))}(this.a,Yx(n,33))},EF(OIn,xIn,1347),Wfn(1348,1,{},Qt),Fjn.Kb=function(n){return new SR(null,new Nz(function(n){return!n.b&&(n.b=new AN(Zrt,n,4,7)),n.b}(Yx(n,79)),16))},EF(OIn,"ElkGraphImporter/lambda$5$Type",1348),Wfn(1350,1,YEn,vw),Fjn.Mb=function(n){return function(n,t){return XZ(t,TG(n))}(this.a,Yx(n,33))},EF(OIn,"ElkGraphImporter/lambda$7$Type",1350),Wfn(1351,1,YEn,Yt),Fjn.Mb=function(n){return function(n){return Whn(n)&&ny(hL(jln(n,(gjn(),C1n))))}(Yx(n,79))},EF(OIn,"ElkGraphImporter/lambda$8$Type",1351),Wfn(1278,1,{},Wh),EF(OIn,"ElkGraphLayoutTransferrer",1278),Wfn(1279,1,YEn,mw),Fjn.Mb=function(n){return function(n,t){return UE(),!_3(t.d.i,n)}(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),Wfn(1280,1,PEn,yw),Fjn.td=function(n){UE(),eD(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),Wfn(1281,1,YEn,kw),Fjn.Mb=function(n){return function(n,t){return UE(),_3(t.d.i,n)}(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),Wfn(1282,1,PEn,jw),Fjn.td=function(n){UE(),eD(this.a,Yx(n,17))},EF(OIn,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),Wfn(1485,1,dIn,Jt),Fjn.pf=function(n,t){!function(n,t){run(t,DIn,1),SE(WJ(new SR(null,new Nz(n.b,16)),new Zt),new ne),Ron(t)}(Yx(n,37),t)},EF(RIn,"CommentNodeMarginCalculator",1485),Wfn(1486,1,{},Zt),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,29).a,16))},EF(RIn,"CommentNodeMarginCalculator/lambda$0$Type",1486),Wfn(1487,1,PEn,ne),Fjn.td=function(n){!function(n){var t,i,r,c,a,u,o,s,h,f,l,b;if(o=n.d,l=Yx(Aun(n,(Ojn(),JQn)),15),t=Yx(Aun(n,QVn),15),l||t){if(a=ty(fL(pnn(n,(gjn(),A0n)))),u=ty(fL(pnn(n,$0n))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=Yx(c.Pb(),10),h=e.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),o.d+=h+u}if(i=0,t){for(h=0,c=t.Kc();c.Ob();)r=Yx(c.Pb(),10),h=e.Math.max(h,r.o.b),i+=r.o.a;i+=a*(t.gc()-1),o.a+=h+u}(s=e.Math.max(b,i))>n.o.a&&(f=(s-n.o.a)/2,o.b=e.Math.max(o.b,f),o.c=e.Math.max(o.c,f))}}(Yx(n,10))},EF(RIn,"CommentNodeMarginCalculator/lambda$1$Type",1487),Wfn(1488,1,dIn,te),Fjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(run(t,"Comment post-processing",1),c=new pb(n.b);c.a0&&Jgn(($z(0,e.c.length),Yx(e.c[0],29)),n),e.c.length>1&&Jgn(Yx(TR(e,e.c.length-1),29),n),Ron(t)}(Yx(n,37),t)},EF(RIn,"HierarchicalPortPositionProcessor",1517),Wfn(1518,1,dIn,Vh),Fjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(n.b=t,n.a=Yx(Aun(t,(gjn(),T1n)),19).a,n.c=Yx(Aun(t,S1n),19).a,0==n.c&&(n.c=Yjn),g=new JU(t.b,0);g.b=n.a&&(r=Nvn(n,v),l=e.Math.max(l,r.b),y=e.Math.max(y,r.d),eD(o,new mP(v,r)));for(E=new ip,f=0;f0),g.a.Xb(g.c=--g.b),ZL(g,T=new qF(n.b)),S$(g.b=2){for(b=!0,e=Yx(Hz(h=new pb(r.j)),11),f=null;h.a0)}(Yx(n,17))},EF(RIn,"PartitionPreprocessor/lambda$2$Type",1577),Wfn(1578,1,PEn,ki),Fjn.td=function(n){!function(n){var t;mvn(n,!0),t=hTn,O$(n,(gjn(),M0n))&&(t+=Yx(Aun(n,M0n),19).a),b5(n,M0n,d9(t))}(Yx(n,17))},EF(RIn,"PartitionPreprocessor/lambda$3$Type",1578),Wfn(1579,1,dIn,rf),Fjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(run(t,"Port order processing",1),u=Yx(Aun(n,(gjn(),j0n)),421),e=new pb(n.b);e.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;uwn(NE(LE(xE($E(new tv,1),100),b),g))}}}(this),function(n){var t,e,i,r,c,a,u;for(c=new ME,r=new pb(n.d.a);r.a1)for(t=HA((e=new ev,++n.b,e),n.d),u=Ztn(c,0);u.b!=u.d.c;)a=Yx(IX(u),121),uwn(NE(LE(xE($E(new tv,1),0),t),a))}(this),Ggn(Cx(this.d),new am),c=new pb(this.a.a.b);c.a=g&&(eD(a,d9(f)),m=e.Math.max(m,y[f-1]-l),o+=d,p+=y[f-1]-p,l=y[f-1],d=s[f]),d=e.Math.max(d,s[f]),++f;o+=d}(w=e.Math.min(1/m,1/t.b/o))>r&&(r=w,i=a)}return i},Fjn.Wf=function(){return!1},EF(nCn,"MSDCutIndexHeuristic",802),Wfn(1617,1,dIn,Sc),Fjn.pf=function(n,t){Cvn(Yx(n,37),t)},EF(nCn,"SingleEdgeGraphWrapper",1617),Wfn(227,22,{3:1,35:1,22:1,227:1},FM);var vWn,mWn,yWn,kWn=X1(tCn,"CenterEdgeLabelPlacementStrategy",227,u_n,(function(){return psn(),x4(Gy(kWn,1),XEn,227,0,[bWn,dWn,lWn,wWn,gWn,fWn])}),(function(n){return psn(),rZ((y1(),vWn),n)}));Wfn(422,22,{3:1,35:1,22:1,422:1},BM);var jWn,EWn,TWn,MWn,SWn=X1(tCn,"ConstraintCalculationStrategy",422,u_n,(function(){return aY(),x4(Gy(SWn,1),XEn,422,0,[mWn,yWn])}),(function(n){return aY(),rZ((AW(),jWn),n)}));Wfn(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},HM),Fjn.Kf=function(){return Shn(this)},Fjn.Xf=function(){return Shn(this)};var PWn,IWn,CWn,OWn,AWn=X1(tCn,"CrossingMinimizationStrategy",314,u_n,(function(){return O0(),x4(Gy(AWn,1),XEn,314,0,[TWn,EWn,MWn])}),(function(n){return O0(),rZ((TQ(),PWn),n)}));Wfn(337,22,{3:1,35:1,22:1,337:1},qM);var $Wn,LWn,NWn,xWn,DWn,RWn,KWn=X1(tCn,"CuttingStrategy",337,u_n,(function(){return f0(),x4(Gy(KWn,1),XEn,337,0,[IWn,OWn,CWn])}),(function(n){return f0(),rZ((MQ(),$Wn),n)}));Wfn(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},GM),Fjn.Kf=function(){return fln(this)},Fjn.Xf=function(){return fln(this)};var _Wn,FWn,BWn,HWn=X1(tCn,"CycleBreakingStrategy",335,u_n,(function(){return min(),x4(Gy(HWn,1),XEn,335,0,[NWn,LWn,DWn,RWn,xWn])}),(function(n){return min(),rZ((lZ(),_Wn),n)}));Wfn(419,22,{3:1,35:1,22:1,419:1},zM);var qWn,GWn,zWn,UWn,XWn=X1(tCn,"DirectionCongruency",419,u_n,(function(){return fZ(),x4(Gy(XWn,1),XEn,419,0,[FWn,BWn])}),(function(n){return fZ(),rZ((PW(),qWn),n)}));Wfn(450,22,{3:1,35:1,22:1,450:1},UM);var WWn,VWn,QWn,YWn,JWn,ZWn,nVn,tVn=X1(tCn,"EdgeConstraint",450,u_n,(function(){return i5(),x4(Gy(tVn,1),XEn,450,0,[zWn,GWn,UWn])}),(function(n){return i5(),rZ((SQ(),WWn),n)}));Wfn(276,22,{3:1,35:1,22:1,276:1},XM);var eVn,iVn,rVn,cVn=X1(tCn,"EdgeLabelSideSelection",276,u_n,(function(){return pon(),x4(Gy(cVn,1),XEn,276,0,[QWn,VWn,JWn,YWn,nVn,ZWn])}),(function(n){return pon(),rZ((T1(),eVn),n)}));Wfn(479,22,{3:1,35:1,22:1,479:1},WM);var aVn,uVn,oVn,sVn,hVn,fVn,lVn,bVn=X1(tCn,"EdgeStraighteningStrategy",479,u_n,(function(){return cJ(),x4(Gy(bVn,1),XEn,479,0,[rVn,iVn])}),(function(n){return cJ(),rZ((IW(),aVn),n)}));Wfn(274,22,{3:1,35:1,22:1,274:1},VM);var wVn,dVn,gVn,pVn,vVn,mVn,yVn,kVn=X1(tCn,"FixedAlignment",274,u_n,(function(){return Wcn(),x4(Gy(kVn,1),XEn,274,0,[hVn,sVn,lVn,oVn,fVn,uVn])}),(function(n){return Wcn(),rZ((j1(),wVn),n)}));Wfn(275,22,{3:1,35:1,22:1,275:1},QM);var jVn,EVn,TVn,MVn,SVn,PVn,IVn,CVn,OVn,AVn,$Vn,LVn=X1(tCn,"GraphCompactionStrategy",275,u_n,(function(){return uon(),x4(Gy(LVn,1),XEn,275,0,[mVn,gVn,yVn,vVn,pVn,dVn])}),(function(n){return uon(),rZ((k1(),jVn),n)}));Wfn(256,22,{3:1,35:1,22:1,256:1},YM);var NVn,xVn,DVn,RVn,KVn=X1(tCn,"GraphProperties",256,u_n,(function(){return edn(),x4(Gy(KVn,1),XEn,256,0,[TVn,SVn,PVn,IVn,CVn,OVn,$Vn,EVn,MVn,AVn])}),(function(n){return edn(),rZ((n5(),NVn),n)}));Wfn(292,22,{3:1,35:1,22:1,292:1},JM);var _Vn,FVn,BVn,HVn,qVn=X1(tCn,"GreedySwitchType",292,u_n,(function(){return r4(),x4(Gy(qVn,1),XEn,292,0,[DVn,RVn,xVn])}),(function(n){return r4(),rZ((CQ(),_Vn),n)}));Wfn(303,22,{3:1,35:1,22:1,303:1},ZM);var GVn,zVn,UVn,XVn=X1(tCn,"InLayerConstraint",303,u_n,(function(){return AJ(),x4(Gy(XVn,1),XEn,303,0,[BVn,HVn,FVn])}),(function(n){return AJ(),rZ((IQ(),GVn),n)}));Wfn(420,22,{3:1,35:1,22:1,420:1},nS);var WVn,VVn,QVn,YVn,JVn,ZVn,nQn,tQn,eQn,iQn,rQn,cQn,aQn,uQn,oQn,sQn,hQn,fQn,lQn,bQn,wQn,dQn,gQn,pQn,vQn,mQn,yQn,kQn,jQn,EQn,TQn,MQn,SQn,PQn,IQn,CQn,OQn,AQn,$Qn,LQn,NQn,xQn,DQn,RQn,KQn,_Qn,FQn,BQn,HQn,qQn,GQn,zQn,UQn,XQn,WQn,VQn,QQn,YQn,JQn,ZQn,nYn,tYn,eYn,iYn,rYn=X1(tCn,"InteractiveReferencePoint",420,u_n,(function(){return dX(),x4(Gy(rYn,1),XEn,420,0,[zVn,UVn])}),(function(n){return dX(),rZ(($W(),WVn),n)}));Wfn(163,22,{3:1,35:1,22:1,163:1},cS);var cYn,aYn,uYn,oYn,sYn,hYn,fYn,lYn,bYn,wYn,dYn,gYn,pYn,vYn,mYn,yYn,kYn,jYn,EYn,TYn,MYn,SYn,PYn,IYn,CYn,OYn,AYn,$Yn,LYn,NYn,xYn,DYn,RYn,KYn,_Yn,FYn,BYn,HYn,qYn,GYn,zYn,UYn,XYn,WYn,VYn,QYn,YYn,JYn,ZYn,nJn,tJn,eJn,iJn,rJn,cJn,aJn,uJn,oJn,sJn,hJn,fJn,lJn,bJn,wJn,dJn,gJn,pJn,vJn,mJn,yJn,kJn,jJn,EJn,TJn,MJn,SJn,PJn,IJn,CJn,OJn,AJn,$Jn,LJn,NJn,xJn,DJn,RJn,KJn,_Jn,FJn,BJn,HJn,qJn,GJn,zJn,UJn,XJn,WJn,VJn,QJn,YJn,JJn,ZJn,nZn,tZn,eZn,iZn,rZn,cZn,aZn,uZn,oZn,sZn,hZn,fZn,lZn,bZn,wZn,dZn,gZn,pZn,vZn,mZn,yZn,kZn,jZn,EZn,TZn,MZn,SZn,PZn,IZn,CZn,OZn,AZn,$Zn,LZn,NZn,xZn,DZn,RZn,KZn,_Zn,FZn,BZn,HZn,qZn,GZn,zZn,UZn,XZn,WZn,VZn,QZn,YZn,JZn,ZZn,n1n,t1n,e1n,i1n,r1n,c1n,a1n,u1n,o1n,s1n,h1n,f1n,l1n,b1n,w1n,d1n,g1n,p1n,v1n,m1n,y1n,k1n,j1n,E1n,T1n,M1n,S1n,P1n,I1n,C1n,O1n,A1n,$1n,L1n,N1n,x1n,D1n,R1n,K1n,_1n,F1n,B1n,H1n,q1n,G1n,z1n,U1n,X1n,W1n,V1n,Q1n,Y1n,J1n,Z1n,n0n,t0n,e0n,i0n,r0n,c0n,a0n,u0n,o0n,s0n,h0n,f0n,l0n,b0n,w0n,d0n,g0n,p0n,v0n,m0n,y0n,k0n,j0n,E0n,T0n,M0n,S0n,P0n,I0n,C0n,O0n,A0n,$0n,L0n,N0n,x0n,D0n,R0n,K0n,_0n,F0n,B0n,H0n,q0n,G0n,z0n,U0n,X0n,W0n,V0n,Q0n,Y0n,J0n,Z0n,n2n,t2n,e2n,i2n,r2n,c2n,a2n,u2n,o2n,s2n,h2n,f2n,l2n,b2n,w2n,d2n,g2n,p2n=X1(tCn,"LayerConstraint",163,u_n,(function(){return d7(),x4(Gy(p2n,1),XEn,163,0,[iYn,ZQn,nYn,tYn,eYn])}),(function(n){return d7(),rZ((dZ(),cYn),n)}));Wfn(848,1,fSn,of),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,uCn),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),BYn),(lsn(),O7n)),XWn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oCn),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(TA(),!1)),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sCn),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),hJn),O7n),rYn),J9(T7n)))),xU(n,sCn,pCn,lJn),xU(n,sCn,PCn,fJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,hCn),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,fCn),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),I7n),D_n),J9(T7n)))),j7(n,new isn(function(n,t){return n.f=t,n}(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,lCn),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),I7n),D_n),J9(M7n)),x4(Gy(fFn,1),TEn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,bCn),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),VJn),O7n),c3n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,wCn),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),d9(7)),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,dCn),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,gCn),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,pCn),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),_Yn),O7n),HWn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,vCn),SOn),"Node Layering Strategy"),"Strategy for node layering."),PJn),O7n),j2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,mCn),SOn),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),pJn),O7n),p2n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,yCn),SOn),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),d9(-1)),$7n),U_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,kCn),SOn),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),d9(-1)),$7n),U_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,jCn),POn),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),d9(4)),$7n),U_n),J9(T7n)))),xU(n,jCn,vCn,yJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ECn),POn),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),d9(2)),$7n),U_n),J9(T7n)))),xU(n,ECn,vCn,jJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TCn),IOn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),MJn),O7n),Q2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,MCn),IOn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),d9(0)),$7n),U_n),J9(T7n)))),xU(n,MCn,TCn,null),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,SCn),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),d9(Yjn)),$7n),U_n),J9(T7n)))),xU(n,SCn,vCn,wJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,PCn),COn),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),RYn),O7n),AWn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ICn),COn),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,CCn),COn),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),C7n),H_n),J9(T7n)))),xU(n,CCn,OOn,AYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,OCn),COn),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),I7n),D_n),J9(T7n)))),xU(n,OCn,PCn,xYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ACn),COn),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),d9(-1)),$7n),U_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,$Cn),COn),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),d9(-1)),$7n),U_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LCn),AOn),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),d9(40)),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NCn),AOn),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),IYn),O7n),qVn),J9(T7n)))),xU(n,NCn,PCn,CYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,xCn),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),TYn),O7n),qVn),J9(T7n)))),xU(n,xCn,PCn,MYn),xU(n,xCn,OOn,SYn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,DCn),$On),"Node Placement Strategy"),"Strategy for node placement."),XJn),O7n),z2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,RCn),$On),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),I7n),D_n),J9(T7n)))),xU(n,RCn,DCn,RJn),xU(n,RCn,DCn,KJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,KCn),LOn),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),AJn),O7n),bVn),J9(T7n)))),xU(n,KCn,DCn,$Jn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,_Cn),LOn),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),NJn),O7n),kVn),J9(T7n)))),xU(n,_Cn,DCn,xJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,FCn),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),C7n),H_n),J9(T7n)))),xU(n,FCn,DCn,FJn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,BCn),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),O7n),x2n),J9(E7n)))),xU(n,BCn,DCn,zJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,HCn),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),qJn),O7n),x2n),J9(T7n)))),xU(n,HCn,DCn,GJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,qCn),NOn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),VYn),O7n),w3n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,GCn),NOn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),YYn),O7n),m3n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,zCn),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),ZYn),O7n),T3n),J9(T7n)))),xU(n,zCn,xOn,nJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,UCn),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),C7n),H_n),J9(T7n)))),xU(n,UCn,xOn,eJn),xU(n,UCn,zCn,iJn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,XCn),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),C7n),H_n),J9(T7n)))),xU(n,XCn,xOn,XYn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,WCn),DOn),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,VCn),DOn),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,QCn),DOn),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,YCn),DOn),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,JCn),ROn),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),d9(0)),$7n),U_n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ZCn),ROn),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),d9(0)),$7n),U_n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,nOn),ROn),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),d9(0)),$7n),U_n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,tOn),KOn),YSn),"Tries to further compact components (disconnected sub-graphs)."),!1),I7n),D_n),J9(T7n)))),xU(n,tOn,DPn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,eOn),_On),"Post Compaction Strategy"),FOn),fYn),O7n),LVn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,iOn),_On),"Post Compaction Constraint Calculation"),FOn),sYn),O7n),SWn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,rOn),BOn),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,cOn),BOn),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),d9(16)),$7n),U_n),J9(T7n)))),xU(n,cOn,rOn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,aOn),BOn),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),d9(5)),$7n),U_n),J9(T7n)))),xU(n,aOn,rOn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,uOn),HOn),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),PZn),O7n),F3n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oOn),HOn),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),C7n),H_n),J9(T7n)))),xU(n,oOn,uOn,aZn),xU(n,oOn,uOn,uZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sOn),HOn),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),C7n),H_n),J9(T7n)))),xU(n,sOn,uOn,sZn),xU(n,sOn,uOn,hZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,hOn),qOn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),pZn),O7n),KWn),J9(T7n)))),xU(n,hOn,uOn,vZn),xU(n,hOn,uOn,mZn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,fOn),qOn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),L7n),JKn),J9(T7n)))),xU(n,fOn,hOn,lZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,lOn),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),wZn),$7n),U_n),J9(T7n)))),xU(n,lOn,hOn,dZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,bOn),GOn),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),$Zn),O7n),C3n),J9(T7n)))),xU(n,bOn,uOn,LZn),xU(n,bOn,uOn,NZn),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,wOn),GOn),"Valid Indices for Wrapping"),null),L7n),JKn),J9(T7n)))),xU(n,wOn,uOn,CZn),xU(n,wOn,uOn,OZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,dOn),zOn),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),I7n),D_n),J9(T7n)))),xU(n,dOn,uOn,EZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,gOn),zOn),"Distance Penalty When Improving Cuts"),null),2),C7n),H_n),J9(T7n)))),xU(n,gOn,uOn,kZn),xU(n,gOn,dOn,!0),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,pOn),zOn),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),I7n),D_n),J9(T7n)))),xU(n,pOn,uOn,MZn),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,vOn),UOn),"Edge Label Side Selection"),"Method to decide on edge label sides."),zYn),O7n),cVn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,mOn),UOn),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),qYn),O7n),kWn),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,yOn),XOn),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),yYn),O7n),n3n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,kOn),XOn),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),I7n),D_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,jOn),XOn),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),bYn),O7n),Lzn),J9(T7n)))),xU(n,jOn,DPn,null),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,EOn),XOn),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),pYn),O7n),I2n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TOn),XOn),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),C7n),H_n),J9(T7n)))),xU(n,TOn,yOn,null),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,MOn),XOn),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),C7n),H_n),J9(T7n)))),xU(n,MOn,yOn,null),Djn((new ff,n))},EF(tCn,"LayeredMetaDataProvider",848),Wfn(986,1,fSn,ff),Fjn.Qe=function(n){Djn(n)},EF(tCn,"LayeredOptions",986),Wfn(987,1,{},Ic),Fjn.$e=function(){return new cv},Fjn._e=function(n){},EF(tCn,"LayeredOptions/LayeredFactory",987),Wfn(1372,1,{}),Fjn.a=0,EF(xAn,"ElkSpacings/AbstractSpacingsBuilder",1372),Wfn(779,1372,{},B7),EF(tCn,"LayeredSpacings/LayeredSpacingsBuilder",779),Wfn(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},tS),Fjn.Kf=function(){return rbn(this)},Fjn.Xf=function(){return rbn(this)};var v2n,m2n,y2n,k2n,j2n=X1(tCn,"LayeringStrategy",313,u_n,(function(){return nun(),x4(Gy(j2n,1),XEn,313,0,[d2n,b2n,f2n,l2n,g2n,w2n])}),(function(n){return nun(),rZ((E1(),v2n),n)}));Wfn(378,22,{3:1,35:1,22:1,378:1},eS);var E2n,T2n,M2n,S2n,P2n,I2n=X1(tCn,"LongEdgeOrderingStrategy",378,u_n,(function(){return i8(),x4(Gy(I2n,1),XEn,378,0,[m2n,y2n,k2n])}),(function(n){return i8(),rZ((OQ(),E2n),n)}));Wfn(197,22,{3:1,35:1,22:1,197:1},iS);var C2n,O2n,A2n,$2n,L2n,N2n,x2n=X1(tCn,"NodeFlexibility",197,u_n,(function(){return Hen(),x4(Gy(x2n,1),XEn,197,0,[S2n,P2n,M2n,T2n])}),(function(n){return Hen(),rZ((JY(),C2n),n)}));Wfn(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},rS),Fjn.Kf=function(){return hln(this)},Fjn.Xf=function(){return hln(this)};var D2n,R2n,K2n,_2n,F2n,B2n,H2n,q2n,G2n,z2n=X1(tCn,"NodePlacementStrategy",315,u_n,(function(){return ain(),x4(Gy(z2n,1),XEn,315,0,[N2n,A2n,$2n,O2n,L2n])}),(function(n){return ain(),rZ((bZ(),D2n),n)}));Wfn(260,22,{3:1,35:1,22:1,260:1},aS);var U2n,X2n,W2n,V2n,Q2n=X1(tCn,"NodePromotionStrategy",260,u_n,(function(){return _bn(),x4(Gy(Q2n,1),XEn,260,0,[q2n,K2n,B2n,_2n,F2n,R2n,H2n,G2n])}),(function(n){return _bn(),rZ((g3(),U2n),n)}));Wfn(339,22,{3:1,35:1,22:1,339:1},uS);var Y2n,J2n,Z2n,n3n=X1(tCn,"OrderingStrategy",339,u_n,(function(){return k5(),x4(Gy(n3n,1),XEn,339,0,[W2n,X2n,V2n])}),(function(n){return k5(),rZ(($Q(),Y2n),n)}));Wfn(421,22,{3:1,35:1,22:1,421:1},oS);var t3n,e3n,i3n,r3n,c3n=X1(tCn,"PortSortingStrategy",421,u_n,(function(){return $J(),x4(Gy(c3n,1),XEn,421,0,[J2n,Z2n])}),(function(n){return $J(),rZ((OW(),t3n),n)}));Wfn(452,22,{3:1,35:1,22:1,452:1},sS);var a3n,u3n,o3n,s3n,h3n=X1(tCn,"PortType",452,u_n,(function(){return h0(),x4(Gy(h3n,1),XEn,452,0,[r3n,e3n,i3n])}),(function(n){return h0(),rZ((LQ(),a3n),n)}));Wfn(375,22,{3:1,35:1,22:1,375:1},hS);var f3n,l3n,b3n,w3n=X1(tCn,"SelfLoopDistributionStrategy",375,u_n,(function(){return d3(),x4(Gy(w3n,1),XEn,375,0,[u3n,o3n,s3n])}),(function(n){return d3(),rZ((AQ(),f3n),n)}));Wfn(376,22,{3:1,35:1,22:1,376:1},fS);var d3n,g3n,p3n,v3n,m3n=X1(tCn,"SelfLoopOrderingStrategy",376,u_n,(function(){return rQ(),x4(Gy(m3n,1),XEn,376,0,[b3n,l3n])}),(function(n){return rQ(),rZ((CW(),d3n),n)}));Wfn(304,1,{304:1},pyn),EF(tCn,"Spacings",304),Wfn(336,22,{3:1,35:1,22:1,336:1},lS);var y3n,k3n,j3n,E3n,T3n=X1(tCn,"SplineRoutingMode",336,u_n,(function(){return $6(),x4(Gy(T3n,1),XEn,336,0,[g3n,p3n,v3n])}),(function(n){return $6(),rZ((xQ(),y3n),n)}));Wfn(338,22,{3:1,35:1,22:1,338:1},bS);var M3n,S3n,P3n,I3n,C3n=X1(tCn,"ValidifyStrategy",338,u_n,(function(){return V2(),x4(Gy(C3n,1),XEn,338,0,[E3n,k3n,j3n])}),(function(n){return V2(),rZ((DQ(),M3n),n)}));Wfn(377,22,{3:1,35:1,22:1,377:1},wS);var O3n,A3n,$3n,L3n,N3n,x3n,D3n,R3n,K3n,_3n,F3n=X1(tCn,"WrappingStrategy",377,u_n,(function(){return F4(),x4(Gy(F3n,1),XEn,377,0,[P3n,I3n,S3n])}),(function(n){return F4(),rZ((NQ(),O3n),n)}));Wfn(1383,1,KAn,lf),Fjn.Yf=function(n){return Yx(n,37),A3n},Fjn.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(run(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new ip,n.d=VQ(Vot,wSn,25,o,16,1),n.a=VQ(Vot,wSn,25,o,16,1),n.b=new ip,c=0,u=new pb(s);u.a0?S+1:1);for(a=new pb(k.g);a.a0?S+1:1)}0==n.c[s]?KD(n.e,d):0==n.a[s]&&KD(n.f,d),++s}for(w=-1,b=1,f=new ip,n.d=Yx(Aun(t,(Ojn(),FQn)),230);A>0;){for(;0!=n.e.b;)I=Yx(mD(n.e),10),n.b[I.p]=w--,Ugn(n,I),--A;for(;0!=n.f.b;)C=Yx(mD(n.f),10),n.b[C.p]=b++,Ugn(n,C),--A;if(A>0){for(l=nTn,v=new pb(m);v.a=l&&(y>l&&(f.c=VQ(UKn,iEn,1,0,5,1),l=y),f.c[f.c.length]=d);h=n.Zf(f),n.b[h.p]=b++,Ugn(n,h),--A}}for(P=m.c.length+1,s=0;sn.b[O]&&(mvn(i,!0),b5(t,iQn,(TA(),!0)));n.a=null,n.c=null,n.b=null,BH(n.f),BH(n.e),Ron(e)}(this,Yx(n,37),t)},Fjn.Zf=function(n){return Yx(TR(n,Uen(this.d,n.c.length)),10)},EF(_An,"GreedyCycleBreaker",782),Wfn(1386,782,KAn,KP),Fjn.Zf=function(n){var t,e,i,r;for(r=null,t=Yjn,i=new pb(n);i.a0&&esn(n,u,h);for(r=new pb(h);r.a=s){S$(v.b>0),v.a.Xb(v.c=--v.b);break}g.a>h&&(c?(S4(c.b,g.b),c.a=e.Math.max(c.a,g.a),hB(v)):(eD(g.b,l),g.c=e.Math.min(g.c,h),g.a=e.Math.max(g.a,s),c=g))}c||((c=new gv).c=h,c.a=s,ZL(v,c),eD(c.b,l))}for(o=t.b,f=0,p=new pb(r);p.at.p?-1:0}(Yx(n,10),Yx(t,10))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(FAn,"StretchWidthLayerer/1",1394),Wfn(402,1,BAn),Fjn.Nf=function(n,t,e,i,r,c){},Fjn._f=function(n,t,e){return Zgn(this,n,t,e)},Fjn.Mf=function(){this.g=VQ(Zot,HAn,25,this.d,15,1),this.f=VQ(Zot,HAn,25,this.d,15,1)},Fjn.Of=function(n,t){this.e[n]=VQ(Wot,MTn,25,t[n].length,15,1)},Fjn.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},Fjn.Qf=function(n,t,e,i){Yx(TR(i[n][t].j,e),11).p=this.d++},Fjn.b=0,Fjn.c=0,Fjn.d=0,EF(qAn,"AbstractBarycenterPortDistributor",402),Wfn(1633,1,FMn,od),Fjn.ue=function(n,t){return function(n,t,e){var i,r,c,a;return(c=t.j)!=(a=e.j)?c.g-a.g:(i=n.f[t.p],r=n.f[e.p],0==i&&0==r?0:0==i?-1:0==r?1:$9(i,r))}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(qAn,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),Wfn(817,1,VIn,wX),Fjn.Nf=function(n,t,e,i,r,c){},Fjn.Pf=function(n,t,e){},Fjn.Qf=function(n,t,e,i){},Fjn.Lf=function(){return!1},Fjn.Mf=function(){this.c=this.e.a,this.g=this.f.g},Fjn.Of=function(n,t){t[n][0].c.p=n},Fjn.Rf=function(){return!1},Fjn.ag=function(n,t,e,i){e?Ocn(this,n):(Gcn(this,n,i),Byn(this,n,t)),n.c.length>1&&(ny(hL(Aun(dB(($z(0,n.c.length),Yx(n.c[0],10))),(gjn(),VZn))))?Gln(n,this.d,Yx(this,660)):(XH(),JC(n,this.d)),u4(this.e,n))},Fjn.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=$R(e,n.length)&&(c=n[t-(e?1:-1)],lQ(this.f,c,e?(h0(),i3n):(h0(),e3n))),r=n[t][0],h=!i||r.k==(bon(),_zn),s=DV(n[t]),this.ag(s,h,!1,e),a=0,o=new pb(s);o.a"),n0?DG(this.a,n[t-1],n[t]):!e&&t0&&(e+=o.n.a+o.o.a/2,++f),b=new pb(o.j);b.a0&&(e/=f),g=VQ(Jot,rMn,25,i.a.c.length,15,1),u=0,s=new pb(i.a);s.a1&&(ny(hL(Aun(dB(($z(0,n.c.length),Yx(n.c[0],10))),(gjn(),VZn))))?Gln(n,this.d,this):(XH(),JC(n,this.d)),ny(hL(Aun(dB(($z(0,n.c.length),Yx(n.c[0],10))),VZn)))||u4(this.e,n))},EF(qAn,"ModelOrderBarycenterHeuristic",660),Wfn(1803,1,FMn,pd),Fjn.ue=function(n,t){return Non(this.a,Yx(n,10),Yx(t,10))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(qAn,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),Wfn(1403,1,KAn,yf),Fjn.Yf=function(n){var t;return Yx(n,37),oR(t=vC(Q3n),($un(),ZGn),($jn(),tXn)),t},Fjn.pf=function(n,t){!function(n){run(n,"No crossing minimization",1),Ron(n)}((Yx(n,37),t))},EF(qAn,"NoCrossingMinimizer",1403),Wfn(796,402,BAn,yk),Fjn.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new pb(n.j);h.a1&&(r.j==(Ikn(),Eit)?this.b[n]=!0:r.j==qit&&n>0&&(this.b[n-1]=!0))},Fjn.f=0,EF(WIn,"AllCrossingsCounter",1798),Wfn(587,1,{},s2),Fjn.b=0,Fjn.d=0,EF(WIn,"BinaryIndexedTree",587),Wfn(524,1,{},rx),EF(WIn,"CrossingsCounter",524),Wfn(1906,1,FMn,vd),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$0$Type",1906),Wfn(1907,1,FMn,md),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$1$Type",1907),Wfn(1908,1,FMn,yd),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$2$Type",1908),Wfn(1909,1,FMn,kd),Fjn.ue=function(n,t){return function(n,t,e){return eO(n.d[t.p],n.d[e.p])}(this.a,Yx(n,11),Yx(t,11))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(WIn,"CrossingsCounter/lambda$3$Type",1909),Wfn(1910,1,PEn,jd),Fjn.td=function(n){!function(n,t){dD(),eD(n,new mP(t,d9(t.e.c.length+t.g.c.length)))}(this.a,Yx(n,11))},EF(WIn,"CrossingsCounter/lambda$4$Type",1910),Wfn(1911,1,YEn,Ed),Fjn.Mb=function(n){return function(n,t){return dD(),t!=n}(this.a,Yx(n,11))},EF(WIn,"CrossingsCounter/lambda$5$Type",1911),Wfn(1912,1,PEn,Td),Fjn.td=function(n){NP(this,n)},EF(WIn,"CrossingsCounter/lambda$6$Type",1912),Wfn(1913,1,PEn,pS),Fjn.td=function(n){var t;dD(),OX(this.b,(t=this.a,Yx(n,11),t))},EF(WIn,"CrossingsCounter/lambda$7$Type",1913),Wfn(826,1,rSn,xc),Fjn.Lb=function(n){return dD(),O$(Yx(n,11),(Ojn(),RQn))},Fjn.Fb=function(n){return this===n},Fjn.Mb=function(n){return dD(),O$(Yx(n,11),(Ojn(),RQn))},EF(WIn,"CrossingsCounter/lambda$8$Type",826),Wfn(1905,1,{},Md),EF(WIn,"HyperedgeCrossingsCounter",1905),Wfn(467,1,{35:1,467:1},fN),Fjn.wd=function(n){return function(n,t){return n.et.e?1:n.ft.f?1:W5(n)-W5(t)}(this,Yx(n,467))},Fjn.b=0,Fjn.c=0,Fjn.e=0,Fjn.f=0;var n4n=EF(WIn,"HyperedgeCrossingsCounter/Hyperedge",467);Wfn(362,1,{35:1,362:1},gH),Fjn.wd=function(n){return function(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?W5(n.a)-W5(t.a):n.d==(GW(),e4n)&&t.d==t4n?-1:n.d==t4n&&t.d==e4n?1:0}(this,Yx(n,362))},Fjn.b=0,Fjn.c=0;var t4n,e4n,i4n=EF(WIn,"HyperedgeCrossingsCounter/HyperedgeCorner",362);Wfn(523,22,{3:1,35:1,22:1,523:1},gS);var r4n,c4n,a4n,u4n,o4n,s4n=X1(WIn,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,u_n,(function(){return GW(),x4(Gy(s4n,1),XEn,523,0,[e4n,t4n])}),(function(n){return GW(),rZ((NW(),r4n),n)}));Wfn(1405,1,KAn,hf),Fjn.Yf=function(n){return Yx(Aun(Yx(n,37),(Ojn(),bQn)),21).Hc((edn(),SVn))?c4n:null},Fjn.pf=function(n,t){!function(n,t,e){var i;for(run(e,"Interactive node placement",1),n.a=Yx(Aun(t,(Ojn(),zQn)),304),i=new pb(t.b);i.a1},EF(GAn,"NetworkSimplexPlacer/lambda$18$Type",1431),Wfn(1432,1,PEn,vH),Fjn.td=function(n){!function(n,t,e,i,r){hz(),uwn(NE(LE($E(xE(new tv,0),r.d.e-n),t),r.d)),uwn(NE(LE($E(xE(new tv,0),e-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,Yx(n,401))},Fjn.c=0,Fjn.d=0,EF(GAn,"NetworkSimplexPlacer/lambda$19$Type",1432),Wfn(1415,1,{},Xc),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$2$Type",1415),Wfn(1433,1,PEn,Cd),Fjn.td=function(n){!function(n,t){hz(),t.n.b+=n}(this.a,Yx(n,11))},Fjn.a=0,EF(GAn,"NetworkSimplexPlacer/lambda$20$Type",1433),Wfn(1434,1,{},Wc),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$21$Type",1434),Wfn(1435,1,PEn,Od),Fjn.td=function(n){RO(this.a,Yx(n,10))},EF(GAn,"NetworkSimplexPlacer/lambda$22$Type",1435),Wfn(1436,1,YEn,Vc),Fjn.Mb=function(n){return SL(n)},EF(GAn,"NetworkSimplexPlacer/lambda$23$Type",1436),Wfn(1437,1,{},Qc),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$24$Type",1437),Wfn(1438,1,YEn,Ad),Fjn.Mb=function(n){return function(n,t){return 2==n.j[t.p]}(this.a,Yx(n,10))},EF(GAn,"NetworkSimplexPlacer/lambda$25$Type",1438),Wfn(1439,1,PEn,yS),Fjn.td=function(n){!function(n,t,e){var i,r,c;for(r=new $K(bA(a7(e).a.Kc(),new h));Vfn(r);)ZW(i=Yx(kV(r),17))||!ZW(i)&&i.c.i.c==i.d.i.c||(c=Cbn(n,i,e,new yv)).c.length>1&&(t.c[t.c.length]=c)}(this.a,this.b,Yx(n,10))},EF(GAn,"NetworkSimplexPlacer/lambda$26$Type",1439),Wfn(1440,1,YEn,Yc),Fjn.Mb=function(n){return hz(),!ZW(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$27$Type",1440),Wfn(1441,1,YEn,Jc),Fjn.Mb=function(n){return hz(),!ZW(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$28$Type",1441),Wfn(1442,1,{},$d),Fjn.Ce=function(n,t){return AO(this.a,Yx(n,29),Yx(t,29))},EF(GAn,"NetworkSimplexPlacer/lambda$29$Type",1442),Wfn(1416,1,{},Zc),Fjn.Kb=function(n){return hz(),new SR(null,new nF(new $K(bA(o7(Yx(n,10)).a.Kc(),new h))))},EF(GAn,"NetworkSimplexPlacer/lambda$3$Type",1416),Wfn(1417,1,YEn,na),Fjn.Mb=function(n){return hz(),function(n){return hz(),!(ZW(n)||!ZW(n)&&n.c.i.c==n.d.i.c)}(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$4$Type",1417),Wfn(1418,1,PEn,Ld),Fjn.td=function(n){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b;i=HA(new ev,n.f),o=n.i[t.c.i.p],l=n.i[t.d.i.p],u=t.c,f=t.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=oG(e.Math.max(0,a-h)),c=oG(e.Math.max(0,h-a)),b=e.Math.max(1,Yx(Aun(t,(gjn(),P0n)),19).a)*GX(t.c.i.k,t.d.i.k),r=new vS(uwn(NE(LE($E(xE(new tv,b),c),i),Yx(BF(n.k,t.c),121))),uwn(NE(LE($E(xE(new tv,b),s),i),Yx(BF(n.k,t.d),121)))),n.c[t.p]=r}(this.a,Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$5$Type",1418),Wfn(1419,1,{},ta),Fjn.Kb=function(n){return hz(),new SR(null,new Nz(Yx(n,29).a,16))},EF(GAn,"NetworkSimplexPlacer/lambda$6$Type",1419),Wfn(1420,1,YEn,ea),Fjn.Mb=function(n){return hz(),Yx(n,10).k==(bon(),Hzn)},EF(GAn,"NetworkSimplexPlacer/lambda$7$Type",1420),Wfn(1421,1,{},ia),Fjn.Kb=function(n){return hz(),new SR(null,new nF(new $K(bA(a7(Yx(n,10)).a.Kc(),new h))))},EF(GAn,"NetworkSimplexPlacer/lambda$8$Type",1421),Wfn(1422,1,YEn,ra),Fjn.Mb=function(n){return hz(),function(n){return!ZW(n)&&n.c.i.c==n.d.i.c}(Yx(n,17))},EF(GAn,"NetworkSimplexPlacer/lambda$9$Type",1422),Wfn(1404,1,KAn,Sf),Fjn.Yf=function(n){return Yx(Aun(Yx(n,37),(Ojn(),bQn)),21).Hc((edn(),SVn))?b4n:null},Fjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l;for(run(t,"Simple node placement",1),l=Yx(Aun(n,(Ojn(),zQn)),304),o=0,a=new pb(n.b);a.a0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),b0&&(k-=d),Qmn(u,k),l=0,w=new pb(u.a);w.a0),o.a.Xb(o.c=--o.b)),s=.4*r*l,!a&&o.b"+this.b+" ("+((null!=(n=this.c).f?n.f:""+n.g)+")");var n},Fjn.d=0,EF(VAn,"HyperEdgeSegmentDependency",129),Wfn(520,22,{3:1,35:1,22:1,520:1},MS);var B4n,H4n,q4n,G4n,z4n,U4n,X4n,W4n,V4n=X1(VAn,"HyperEdgeSegmentDependency/DependencyType",520,u_n,(function(){return iQ(),x4(Gy(V4n,1),XEn,520,0,[_4n,K4n])}),(function(n){return iQ(),rZ((LW(),B4n),n)}));Wfn(1815,1,{},xd),EF(VAn,"HyperEdgeSegmentSplitter",1815),Wfn(1816,1,{},Ik),Fjn.a=0,Fjn.b=0,EF(VAn,"HyperEdgeSegmentSplitter/AreaRating",1816),Wfn(329,1,{329:1},Lx),Fjn.a=0,Fjn.b=0,Fjn.c=0,EF(VAn,"HyperEdgeSegmentSplitter/FreeArea",329),Wfn(1817,1,FMn,ja),Fjn.ue=function(n,t){return function(n,t){return $9(n.c-n.s,t.c-t.s)}(Yx(n,112),Yx(t,112))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(VAn,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),Wfn(1818,1,PEn,yH),Fjn.td=function(n){QX(this.a,this.d,this.c,this.b,Yx(n,112))},Fjn.b=0,EF(VAn,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),Wfn(1819,1,{},Ea),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).e,16))},EF(VAn,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),Wfn(1820,1,{},Ta),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).j,16))},EF(VAn,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),Wfn(1821,1,{},Ma),Fjn.Fe=function(n){return ty(fL(n))},EF(VAn,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),Wfn(655,1,{},gF),Fjn.a=0,Fjn.b=0,Fjn.c=0,EF(VAn,"OrthogonalRoutingGenerator",655),Wfn(1638,1,{},Sa),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).e,16))},EF(VAn,"OrthogonalRoutingGenerator/lambda$0$Type",1638),Wfn(1639,1,{},Pa),Fjn.Kb=function(n){return new SR(null,new Nz(Yx(n,112).j,16))},EF(VAn,"OrthogonalRoutingGenerator/lambda$1$Type",1639),Wfn(661,1,{}),EF(QAn,"BaseRoutingDirectionStrategy",661),Wfn(1807,661,{},Ov),Fjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aPPn&&(c=n,r=new QS(l,a=f),KD(u.a,r),kpn(this,u,c,r,!1),(b=n.r)&&(r=new QS(w=ty(fL(ken(b.e,0))),a),KD(u.a,r),kpn(this,u,c,r,!1),c=b,r=new QS(w,a=t+b.o*i),KD(u.a,r),kpn(this,u,c,r,!1)),r=new QS(g,a),KD(u.a,r),kpn(this,u,c,r,!1)))},Fjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Fjn.fg=function(){return Ikn(),Bit},Fjn.gg=function(){return Ikn(),Tit},EF(QAn,"NorthToSouthRoutingStrategy",1807),Wfn(1808,661,{},Av),Fjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*i,h=new pb(n.n);h.aPPn&&(c=n,r=new QS(l,a=f),KD(u.a,r),kpn(this,u,c,r,!1),(b=n.r)&&(r=new QS(w=ty(fL(ken(b.e,0))),a),KD(u.a,r),kpn(this,u,c,r,!1),c=b,r=new QS(w,a=t-b.o*i),KD(u.a,r),kpn(this,u,c,r,!1)),r=new QS(g,a),KD(u.a,r),kpn(this,u,c,r,!1)))},Fjn.eg=function(n){return n.i.n.a+n.n.a+n.a.a},Fjn.fg=function(){return Ikn(),Tit},Fjn.gg=function(){return Ikn(),Bit},EF(QAn,"SouthToNorthRoutingStrategy",1808),Wfn(1806,661,{},$v),Fjn.dg=function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*i,h=new pb(n.n);h.aPPn&&(c=n,r=new QS(a=f,l),KD(u.a,r),kpn(this,u,c,r,!0),(b=n.r)&&(r=new QS(a,w=ty(fL(ken(b.e,0)))),KD(u.a,r),kpn(this,u,c,r,!0),c=b,r=new QS(a=t+b.o*i,w),KD(u.a,r),kpn(this,u,c,r,!0)),r=new QS(a,g),KD(u.a,r),kpn(this,u,c,r,!0)))},Fjn.eg=function(n){return n.i.n.b+n.n.b+n.a.b},Fjn.fg=function(){return Ikn(),Eit},Fjn.gg=function(){return Ikn(),qit},EF(QAn,"WestToEastRoutingStrategy",1806),Wfn(813,1,{},Tvn),Fjn.Ib=function(){return Gun(this.a)},Fjn.b=0,Fjn.c=!1,Fjn.d=!1,Fjn.f=0,EF(JAn,"NubSpline",813),Wfn(407,1,{407:1},Pwn,Qq),EF(JAn,"NubSpline/PolarCP",407),Wfn(1453,1,KAn,grn),Fjn.Yf=function(n){return function(n){var t,e;return T3(t=new fX,H4n),(e=Yx(Aun(n,(Ojn(),bQn)),21)).Hc((edn(),$Vn))&&T3(t,U4n),e.Hc(EVn)&&T3(t,q4n),e.Hc(OVn)&&T3(t,z4n),e.Hc(MVn)&&T3(t,G4n),t}(Yx(n,37))},Fjn.pf=function(n,t){!function(n,t,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(run(i,"Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void Ron(i);v=ty(fL(Aun(t,(gjn(),z0n)))),o=ty(fL(Aun(t,K0n))),u=ty(fL(Aun(t,x0n))),T=Yx(Aun(t,v1n),336)==($6(),v3n),E=ty(fL(Aun(t,m1n))),n.d=t,n.j.c=VQ(UKn,iEn,1,0,5,1),n.a.c=VQ(UKn,iEn,1,0,5,1),U_(n.k),f=oI((s=Yx(TR(t.b,0),29)).a,(ywn(),D4n)),l=oI((d=Yx(TR(t.b,t.b.c.length-1),29)).a,D4n),g=new pb(t.b),p=null,I=0;do{for(Nkn(n,p,m=g.a0?(h=0,p&&(h+=o),h+=(M-1)*u,m&&(h+=o),T&&m&&(h=e.Math.max(h,hwn(m,u,v,E))),h("+this.c+") "+this.b},Fjn.c=0,EF(JAn,"SplineEdgeRouter/Dependency",268),Wfn(455,22,{3:1,35:1,22:1,455:1},SS);var Q4n,Y4n,J4n,Z4n,n5n,t5n=X1(JAn,"SplineEdgeRouter/SideToProcess",455,u_n,(function(){return Yq(),x4(Gy(t5n,1),XEn,455,0,[X4n,W4n])}),(function(n){return Yq(),rZ((RW(),Q4n),n)}));Wfn(1454,1,YEn,ya),Fjn.Mb=function(n){return kwn(),!Yx(n,128).o},EF(JAn,"SplineEdgeRouter/lambda$0$Type",1454),Wfn(1455,1,{},ma),Fjn.Ge=function(n){return kwn(),Yx(n,128).v+1},EF(JAn,"SplineEdgeRouter/lambda$1$Type",1455),Wfn(1456,1,PEn,PS),Fjn.td=function(n){!function(n,t,e){xB(n.b,Yx(e.b,17),t)}(this.a,this.b,Yx(n,46))},EF(JAn,"SplineEdgeRouter/lambda$2$Type",1456),Wfn(1457,1,PEn,IS),Fjn.td=function(n){!function(n,t,e){xB(n.b,Yx(e.b,17),t)}(this.a,this.b,Yx(n,46))},EF(JAn,"SplineEdgeRouter/lambda$3$Type",1457),Wfn(128,1,{35:1,128:1},Ksn,qmn),Fjn.wd=function(n){return function(n,t){return n.s-t.s}(this,Yx(n,128))},Fjn.b=0,Fjn.e=!1,Fjn.f=0,Fjn.g=0,Fjn.j=!1,Fjn.k=!1,Fjn.n=0,Fjn.o=!1,Fjn.p=!1,Fjn.q=!1,Fjn.s=0,Fjn.u=0,Fjn.v=0,Fjn.F=0,EF(JAn,"SplineSegment",128),Wfn(459,1,{459:1},ka),Fjn.a=0,Fjn.b=!1,Fjn.c=!1,Fjn.d=!1,Fjn.e=!1,Fjn.f=0,EF(JAn,"SplineSegment/EdgeInformation",459),Wfn(1234,1,{},da),EF(i$n,vPn,1234),Wfn(1235,1,FMn,ga),Fjn.ue=function(n,t){return function(n,t){var e,i,r;return 0==(e=Yx(Aun(t,(cln(),U5n)),19).a-Yx(Aun(n,U5n),19).a)?(i=yN(dO(Yx(Aun(n,(ryn(),b5n)),8)),Yx(Aun(n,w5n),8)),r=yN(dO(Yx(Aun(t,b5n),8)),Yx(Aun(t,w5n),8)),$9(i.a*i.b,r.a*r.b)):e}(Yx(n,135),Yx(t,135))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(i$n,mPn,1235),Wfn(1233,1,{},fj),EF(i$n,"MrTree",1233),Wfn(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},CS),Fjn.Kf=function(){return _hn(this)},Fjn.Xf=function(){return _hn(this)};var e5n,i5n=X1(i$n,"TreeLayoutPhases",393,u_n,(function(){return Krn(),x4(Gy(i5n,1),XEn,393,0,[Y4n,J4n,Z4n,n5n])}),(function(n){return Krn(),rZ((WY(),e5n),n)}));Wfn(1130,209,VSn,wN),Fjn.Ze=function(n,t){var i,r,c,a,u,o;for(ny(hL(jln(n,(cln(),H5n))))||rG(new Xb((dT(),new Xm(n)))),o4(u=new nQ,n),b5(u,(ryn(),E5n),n),function(n,t,i){var r,c,a,u,o;for(a=0,c=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));c.e!=c.i.gc();)u="",0==(!(r=Yx(hen(c),33)).n&&(r.n=new m_(act,r,1,7)),r.n).i||(u=Yx(c1((!r.n&&(r.n=new m_(act,r,1,7)),r.n),0),137).a),o4(o=new Z5(a++,t,u),r),b5(o,(ryn(),E5n),r),o.e.b=r.j+r.f/2,o.f.a=e.Math.max(r.g,1),o.e.a=r.i+r.g/2,o.f.b=e.Math.max(r.f,1),KD(t.b,o),Ysn(i.f,r,o)}(n,u,o=new rp),function(n,t,e){var i,r,c,a,u,o,s;for(a=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new $K(bA(lbn(c=Yx(hen(a),33)).a.Kc(),new h));Vfn(r);)Rfn(i=Yx(kV(r),79))||Rfn(i)||Whn(i)||(o=Yx(eI(Dq(e.f,c)),86),s=Yx(BF(e,iun(Yx(c1((!i.c&&(i.c=new AN(Zrt,i,5,8)),i.c),0),82))),86),o&&s&&(b5(u=new iq(o,s),(ryn(),E5n),i),o4(u,i),KD(o.d,u),KD(s.b,u),KD(t.a,u)))}(n,u,o),a=u,r=new pb(c=gpn(this.a,a));r.al&&(P=0,I+=f+E,f=0),gbn(k,u,P,I),t=e.Math.max(t,P+j.a),f=e.Math.max(f,j.b),P+=j.a+E;for(y=new rp,i=new rp,M=new pb(n);M.a"+Qz(this.c):"e_"+W5(this)},EF(r$n,"TEdge",188),Wfn(135,134,{3:1,135:1,94:1,134:1},nQ),Fjn.Ib=function(){var n,t,e,i,r;for(r=null,i=Ztn(this.b,0);i.b!=i.d.c;)r+=(null==(e=Yx(IX(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=Ztn(this.a,0);t.b!=t.d.c;)r+=((n=Yx(IX(t),188)).b&&n.c?Qz(n.b)+"->"+Qz(n.c):"e_"+W5(n))+"\n";return r};var r5n=EF(r$n,"TGraph",135);Wfn(633,502,{3:1,502:1,633:1,94:1,134:1}),EF(r$n,"TShape",633),Wfn(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Z5),Fjn.Ib=function(){return Qz(this)};var c5n,a5n,u5n,o5n,s5n,h5n,f5n=EF(r$n,"TNode",86);Wfn(255,1,$En,Dd),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return new Rd(Ztn(this.a.d,0))},EF(r$n,"TNode/2",255),Wfn(358,1,fEn,Rd),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){return Yx(IX(this.a),188).c},Fjn.Ob=function(){return ij(this.a)},Fjn.Qb=function(){BZ(this.a)},EF(r$n,"TNode/2/1",358),Wfn(1840,1,dIn,bN),Fjn.pf=function(n,t){ivn(this,Yx(n,135),t)},EF(c$n,"FanProcessor",1840),Wfn(327,22,{3:1,35:1,22:1,327:1,234:1},OS),Fjn.Kf=function(){switch(this.g){case 0:return new sm;case 1:return new bN;case 2:return new Oa;case 3:return new Ia;case 4:return new $a;case 5:return new La;default:throw hp(new Qm(FIn+(null!=this.f?this.f:""+this.g)))}};var l5n,b5n,w5n,d5n,g5n,p5n,v5n,m5n,y5n,k5n,j5n,E5n,T5n,M5n,S5n,P5n,I5n,C5n,O5n,A5n,$5n,L5n,N5n,x5n,D5n,R5n,K5n,_5n,F5n,B5n,H5n,q5n,G5n,z5n,U5n,X5n,W5n,V5n,Q5n,Y5n,J5n,Z5n=X1(c$n,BIn,327,u_n,(function(){return ysn(),x4(Gy(Z5n,1),XEn,327,0,[h5n,a5n,o5n,u5n,s5n,c5n])}),(function(n){return ysn(),rZ((M1(),l5n),n)}));Wfn(1843,1,dIn,Ia),Fjn.pf=function(n,t){Pln(this,Yx(n,135),t)},Fjn.a=0,EF(c$n,"LevelHeightProcessor",1843),Wfn(1844,1,$En,Ca),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return XH(),sE(),PFn},EF(c$n,"LevelHeightProcessor/1",1844),Wfn(1841,1,dIn,Oa),Fjn.pf=function(n,t){Nsn(this,Yx(n,135),t)},Fjn.a=0,EF(c$n,"NeighborsProcessor",1841),Wfn(1842,1,$En,Aa),Fjn.Jc=function(n){XW(this,n)},Fjn.Kc=function(){return XH(),sE(),PFn},EF(c$n,"NeighborsProcessor/1",1842),Wfn(1845,1,dIn,$a),Fjn.pf=function(n,t){Sln(this,Yx(n,135),t)},Fjn.a=0,EF(c$n,"NodePositionProcessor",1845),Wfn(1839,1,dIn,sm),Fjn.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(n.a.c=VQ(UKn,iEn,1,0,5,1),i=Ztn(t.b,0);i.b!=i.d.c;)0==(e=Yx(IX(i),86)).b.b&&(b5(e,(ryn(),C5n),(TA(),!0)),eD(n.a,e));switch(n.a.c.length){case 0:b5(r=new Z5(0,t,"DUMMY_ROOT"),(ryn(),C5n),(TA(),!0)),b5(r,g5n,!0),KD(t.b,r);break;case 1:break;default:for(c=new Z5(0,t,"SUPER_ROOT"),u=new pb(n.a);u.aw$n&&(c-=w$n),h=(o=Yx(jln(r,Ott),8)).a,l=o.b+n,(a=e.Math.atan2(l,h))<0&&(a+=w$n),(a+=t)>w$n&&(a-=w$n),XC(),o0(1e-10),e.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:QI(isNaN(c),isNaN(a))}(this.a,this.b,Yx(n,33),Yx(t,33))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},Fjn.a=0,Fjn.b=0,EF(b$n,"RadialUtil/lambda$0$Type",549),Wfn(1375,1,dIn,Da),Fjn.pf=function(n,t){!function(n,t){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(run(t,"Calculate Graph Size",1),t.n&&n&&nU(t,RU(n),(P6(),jrt)),o=wPn,s=wPn,a=d$n,u=d$n,l=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));l.e!=l.i.gc();)d=(h=Yx(hen(l),33)).i,g=h.j,v=h.g,r=h.f,c=Yx(jln(h,(Cjn(),Unt)),142),o=e.Math.min(o,d-c.b),s=e.Math.min(s,g-c.d),a=e.Math.max(a,d+v+c.c),u=e.Math.max(u,g+r+c.a);for(b=new QS(o-(w=Yx(jln(n,(Cjn(),utt)),116)).b,s-w.d),f=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));f.e!=f.i.gc();)L1(h=Yx(hen(f),33),h.i-b.a),N1(h,h.j-b.b);p=a-o+(w.b+w.c),i=u-s+(w.d+w.a),$1(n,p),A1(n,i),t.n&&n&&nU(t,RU(n),(P6(),jrt))}(Yx(n,33),t)},EF(g$n,"CalculateGraphSize",1375),Wfn(442,22,{3:1,35:1,22:1,442:1,234:1},NS),Fjn.Kf=function(){switch(this.g){case 0:return new Ba;case 1:return new xa;case 2:return new Da;default:throw hp(new Qm(FIn+(null!=this.f?this.f:""+this.g)))}};var v6n,m6n,y6n,k6n=X1(g$n,BIn,442,u_n,(function(){return m7(),x4(Gy(k6n,1),XEn,442,0,[g6n,w6n,d6n])}),(function(n){return m7(),rZ((KQ(),v6n),n)}));Wfn(645,1,{}),Fjn.e=1,Fjn.g=0,EF(p$n,"AbstractRadiusExtensionCompaction",645),Wfn(1772,645,{},rL),Fjn.hg=function(n){var t,e,i,r,c,a,u,o,s;for(this.c=Yx(jln(n,(eL(),s6n)),33),function(n,t){n.f=t}(this,this.c),this.d=Ven(Yx(jln(n,(_rn(),Y6n)),293)),(o=Yx(jln(n,_6n),19))&&Bl(this,o.a),Hl(this,(vB(u=fL(jln(n,(Cjn(),Xtt)))),u)),s=idn(this.c),this.d&&this.d.lg(s),function(n,t){var e,i,r;for(i=new pb(t);i.ai?1:0}(Yx(n,33),Yx(t,33))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(x$n,"RectPackingLayoutProvider/lambda$0$Type",1137),Wfn(1256,1,{},Nx),Fjn.a=0,Fjn.c=!1,EF(D$n,"AreaApproximation",1256);var l8n,b8n,w8n,d8n=aR(D$n,"BestCandidateFilter");Wfn(638,1,{526:1},Qa),Fjn.mg=function(n,t,i){var r,c,a,u,o,s;for(s=new ip,a=JTn,o=new pb(n);o.a1)for(i=new pb(n.a);i.a>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28);var n,t},Fjn.Jf=function(n){var t,e,i;for(e=0;e0&&f8((Lz(t-1,n.length),n.charCodeAt(t-1)),TIn);)--t;if(e>=t)throw hp(new Qm("The given string does not contain any numbers."));if(2!=(i=Ogn(n.substr(e,t-e),",|;|\r|\n")).length)throw hp(new Qm("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=gon(Wun(i[0])),this.b=gon(Wun(i[1]))}catch(n){throw CO(n=j4(n),127)?hp(new Qm(MIn+n)):hp(n)}},Fjn.Ib=function(){return"("+this.a+","+this.b+")"},Fjn.a=0,Fjn.b=0;var B7n=EF(SIn,"KVector",8);Wfn(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},Nv,kk,_$),Fjn.Pc=function(){return function(n){var t,e,i;for(t=0,i=VQ(B7n,TEn,8,n.b,0,1),e=Ztn(n,0);e.b!=e.d.c;)i[t++]=Yx(IX(e),8);return i}(this)},Fjn.Jf=function(n){var t,e,i,r,c;e=Ogn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),BH(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=gon(e[t]):c=gon(e[t]),r>0&&r%2!=0&&KD(this,new QS(i,c)),++r),++t}catch(n){throw CO(n=j4(n),127)?hp(new Qm("The given string does not match the expected format for vectors."+n)):hp(n)}},Fjn.Ib=function(){var n,t,e;for(n=new SA("("),t=Ztn(this,0);t.b!=t.d.c;)yI(n,(e=Yx(IX(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var H7n,q7n,G7n,z7n,U7n,X7n,W7n=EF(SIn,"KVectorChain",74);Wfn(248,22,{3:1,35:1,22:1,248:1},YS);var V7n,Q7n,Y7n,J7n,Z7n,nnt,tnt,ent,int,rnt,cnt,ant,unt,ont,snt,hnt,fnt,lnt,bnt,wnt=X1(MLn,"Alignment",248,u_n,(function(){return qen(),x4(Gy(wnt,1),XEn,248,0,[H7n,z7n,U7n,X7n,q7n,G7n])}),(function(n){return qen(),rZ((m1(),V7n),n)}));Wfn(979,1,fSn,Af),Fjn.Qe=function(n){Epn(n)},EF(MLn,"BoxLayouterOptions",979),Wfn(980,1,{},xu),Fjn.$e=function(){return new Gu},Fjn._e=function(n){},EF(MLn,"BoxLayouterOptions/BoxFactory",980),Wfn(291,22,{3:1,35:1,22:1,291:1},JS);var dnt,gnt,pnt,vnt,mnt,ynt,knt,jnt,Ent,Tnt,Mnt,Snt,Pnt,Int,Cnt,Ont,Ant,$nt,Lnt,Nnt,xnt,Dnt,Rnt,Knt,_nt,Fnt,Bnt,Hnt,qnt,Gnt,znt,Unt,Xnt,Wnt,Vnt,Qnt,Ynt,Jnt,Znt,ntt,ttt,ett,itt,rtt,ctt,att,utt,ott,stt,htt,ftt,ltt,btt,wtt,dtt,gtt,ptt,vtt,mtt,ytt,ktt,jtt,Ett,Ttt,Mtt,Stt,Ptt,Itt,Ctt,Ott,Att,$tt,Ltt,Ntt,xtt,Dtt,Rtt,Ktt,_tt,Ftt,Btt,Htt,qtt,Gtt,ztt,Utt,Xtt,Wtt,Vtt,Qtt,Ytt,Jtt,Ztt,net,tet,eet,iet=X1(MLn,"ContentAlignment",291,u_n,(function(){return dan(),x4(Gy(iet,1),XEn,291,0,[bnt,lnt,fnt,snt,ont,hnt])}),(function(n){return dan(),rZ((v1(),dnt),n)}));Wfn(684,1,fSn,$f),Fjn.Qe=function(n){j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,CLn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(lsn(),N7n)),fFn),J9((Qtn(),T7n))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,OLn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),L7n),y7n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sAn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),vnt),O7n),wnt),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,hPn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,ALn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),L7n),W7n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,jAn),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),Mnt),A7n),iet),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oAn),""),"Debug Mode"),"Whether additional debug information shall be generated."),(TA(),!1)),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,bAn),""),_Sn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Int),O7n),oet),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,xOn),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),Lnt),O7n),Eet),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,U$n),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,OOn),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Knt),O7n),Bet),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,fPn),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),ott),L7n),Zzn),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,RPn),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NAn),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,FPn),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,KPn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),jtt),O7n),kit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,AAn),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),L7n),B7n),tK(E7n,x4(Gy(D7n,1),XEn,175,0,[M7n,j7n]))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,$Pn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),$7n),U_n),tK(E7n,x4(Gy(D7n,1),XEn,175,0,[k7n]))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,xPn),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,DPn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,EAn),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),znt),L7n),W7n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,SAn),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),I7n),D_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,PAn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),I7n),D_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,$Ln),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),L7n),tst),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,$An),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Xnt),L7n),Rzn),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,aAn),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),I7n),D_n),tK(E7n,x4(Gy(D7n,1),XEn,175,0,[k7n,M7n,j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LLn),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),C7n),H_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NLn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,xLn),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),d9(100)),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,DLn),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,RLn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),d9(4e3)),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,KLn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),d9(400)),$7n),U_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,_Ln),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,FLn),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,BLn),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,HLn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ILn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),jnt),O7n),yrt),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,WOn),DOn),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,VOn),DOn),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,oPn),DOn),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,QOn),DOn),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,NPn),DOn),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,YOn),DOn),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,JOn),DOn),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,tAn),DOn),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,ZOn),DOn),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,nAn),DOn),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LPn),DOn),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,eAn),DOn),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),C7n),H_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,iAn),DOn),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),C7n),H_n),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,rAn),DOn),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),L7n),Mrt),tK(E7n,x4(Gy(D7n,1),XEn,175,0,[k7n,M7n,j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,LAn),DOn),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Qtt),L7n),Rzn),J9(T7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,OAn),ULn),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),$7n),U_n),tK(T7n,x4(Gy(D7n,1),XEn,175,0,[E7n]))))),xU(n,OAn,CAn,ltt),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,CAn),ULn),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),htt),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,wAn),XLn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Vnt),L7n),Zzn),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,qPn),XLn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Ynt),A7n),cit),tK(E7n,x4(Gy(D7n,1),XEn,175,0,[j7n]))))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,pAn),WLn),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),wtt),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,vAn),WLn),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,mAn),WLn),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,yAn),WLn),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,kAn),WLn),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),O7n),bit),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,HPn),VLn),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),Znt),A7n),lrt),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,BPn),VLn),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),rtt),A7n),vrt),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,eIn),VLn),"Node Size Minimum"),"The minimal size to which a node can be reduced."),ett),L7n),B7n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,lAn),VLn),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),I7n),D_n),J9(T7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,TAn),UOn),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Ant),O7n),det),J9(j7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,_Pn),UOn),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),I7n),D_n),J9(j7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,qLn),"font"),"Font Name"),"Font name used for a label."),N7n),fFn),J9(j7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,GLn),"font"),"Font Size"),"Font size used for a label."),$7n),U_n),J9(j7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,IAn),QLn),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),L7n),B7n),J9(M7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,MAn),QLn),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),$7n),U_n),J9(M7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,uAn),QLn),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Ctt),O7n),trt),J9(M7n)))),j7(n,new isn(dk(wk(gk(sk(bk(fk(lk(new Fu,cAn),QLn),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),C7n),H_n),J9(M7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,GPn),YLn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Stt),A7n),Git),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,dAn),YLn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),I7n),D_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,gAn),YLn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),I7n),D_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,hAn),JLn),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),I7n),D_n),J9(E7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,fAn),JLn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),I7n),D_n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,sPn),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),C7n),H_n),J9(k7n)))),j7(n,new isn(dk(wk(gk(hk(sk(bk(fk(lk(new Fu,zLn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),xnt),O7n),xet),J9(k7n)))),oT(n,new dz(ak(ok(uk(new pu,CIn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),oT(n,new dz(ak(ok(uk(new pu,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),oT(n,new dz(ak(ok(uk(new pu,APn),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),oT(n,new dz(ak(ok(uk(new pu,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),oT(n,new dz(ak(ok(uk(new pu,l$n),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),oT(n,new dz(ak(ok(uk(new pu,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),oT(n,new dz(ak(ok(uk(new pu,C$n),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Mgn((new Lf,n)),Epn((new Af,n)),ydn((new Nf,n))},EF(MLn,"CoreOptions",684),Wfn(103,22,{3:1,35:1,22:1,103:1},ZS);var ret,cet,aet,uet,oet=X1(MLn,_Sn,103,u_n,(function(){return t9(),x4(Gy(oet,1),XEn,103,0,[tet,net,Ztt,Jtt,eet])}),(function(n){return t9(),rZ((yZ(),ret),n)}));Wfn(272,22,{3:1,35:1,22:1,272:1},nP);var set,het,fet,bet,wet,det=X1(MLn,"EdgeLabelPlacement",272,u_n,(function(){return ZZ(),x4(Gy(det,1),XEn,272,0,[cet,aet,uet])}),(function(n){return ZZ(),rZ((GQ(),set),n)}));Wfn(218,22,{3:1,35:1,22:1,218:1},tP);var get,pet,vet,met,yet,ket,jet,Eet=X1(MLn,"EdgeRouting",218,u_n,(function(){return g7(),x4(Gy(Eet,1),XEn,218,0,[wet,fet,het,bet])}),(function(n){return g7(),rZ((tJ(),get),n)}));Wfn(312,22,{3:1,35:1,22:1,312:1},eP);var Tet,Met,Set,Pet,Iet,Cet,Oet,Aet,$et,Let,Net,xet=X1(MLn,"EdgeType",312,u_n,(function(){return vun(),x4(Gy(xet,1),XEn,312,0,[ket,met,jet,pet,yet,vet])}),(function(n){return vun(),rZ((P1(),Tet),n)}));Wfn(977,1,fSn,Lf),Fjn.Qe=function(n){Mgn(n)},EF(MLn,"FixedLayouterOptions",977),Wfn(978,1,{},Vu),Fjn.$e=function(){return new Hu},Fjn._e=function(n){},EF(MLn,"FixedLayouterOptions/FixedFactory",978),Wfn(334,22,{3:1,35:1,22:1,334:1},iP);var Det,Ret,Ket,_et,Fet,Bet=X1(MLn,"HierarchyHandling",334,u_n,(function(){return O8(),x4(Gy(Bet,1),XEn,334,0,[Let,$et,Net])}),(function(n){return O8(),rZ((qQ(),Det),n)}));Wfn(285,22,{3:1,35:1,22:1,285:1},rP);var Het,qet,Get,zet,Uet,Xet,Wet,Vet,Qet,Yet,Jet=X1(MLn,"LabelSide",285,u_n,(function(){return Frn(),x4(Gy(Jet,1),XEn,285,0,[Fet,Ret,Ket,_et])}),(function(n){return Frn(),rZ((nJ(),Het),n)}));Wfn(93,22,{3:1,35:1,22:1,93:1},cP);var Zet,nit,tit,eit,iit,rit,cit=X1(MLn,"NodeLabelPlacement",93,u_n,(function(){return Eln(),x4(Gy(cit,1),XEn,93,0,[Get,qet,Uet,Yet,Qet,Vet,Xet,Wet,zet])}),(function(n){return Eln(),rZ((n4(),Zet),n)}));Wfn(249,22,{3:1,35:1,22:1,249:1},aP);var ait,uit,oit,sit,hit,fit,lit,bit=X1(MLn,"PortAlignment",249,u_n,(function(){return Ytn(),x4(Gy(bit,1),XEn,249,0,[eit,rit,nit,tit,iit])}),(function(n){return Ytn(),rZ((kZ(),ait),n)}));Wfn(98,22,{3:1,35:1,22:1,98:1},uP);var wit,dit,git,pit,vit,mit,yit,kit=X1(MLn,"PortConstraints",98,u_n,(function(){return Ran(),x4(Gy(kit,1),XEn,98,0,[lit,fit,hit,uit,sit,oit])}),(function(n){return Ran(),rZ((n1(),wit),n)}));Wfn(273,22,{3:1,35:1,22:1,273:1},oP);var jit,Eit,Tit,Mit,Sit,Pit,Iit,Cit,Oit,Ait,$it,Lit,Nit,xit,Dit,Rit,Kit,_it,Fit,Bit,Hit,qit,Git=X1(MLn,"PortLabelPlacement",273,u_n,(function(){return Chn(),x4(Gy(Git,1),XEn,273,0,[mit,pit,vit,git,dit,yit])}),(function(n){return Chn(),rZ((S1(),jit),n)}));Wfn(61,22,{3:1,35:1,22:1,61:1},sP);var zit,Uit,Xit,Wit,Vit,Qit,Yit,Jit,Zit,nrt,trt=X1(MLn,"PortSide",61,u_n,(function(){return Ikn(),x4(Gy(trt,1),lIn,61,0,[Hit,Tit,Eit,Bit,qit])}),(function(n){return Ikn(),rZ((jZ(),zit),n)}));Wfn(981,1,fSn,Nf),Fjn.Qe=function(n){ydn(n)},EF(MLn,"RandomLayouterOptions",981),Wfn(982,1,{},Qu),Fjn.$e=function(){return new no},Fjn._e=function(n){},EF(MLn,"RandomLayouterOptions/RandomFactory",982),Wfn(374,22,{3:1,35:1,22:1,374:1},hP);var ert,irt,rrt,crt,art,urt,ort,srt,hrt,frt,lrt=X1(MLn,"SizeConstraint",374,u_n,(function(){return Ann(),x4(Gy(lrt,1),XEn,374,0,[Zit,nrt,Jit,Yit])}),(function(n){return Ann(),rZ((iJ(),ert),n)}));Wfn(259,22,{3:1,35:1,22:1,259:1},fP);var brt,wrt,drt,grt,prt,vrt=X1(MLn,"SizeOptions",259,u_n,(function(){return Vgn(),x4(Gy(vrt,1),XEn,259,0,[crt,urt,rrt,ort,srt,frt,hrt,art,irt])}),(function(n){return Vgn(),rZ((t5(),brt),n)}));Wfn(370,1,{1949:1},am),Fjn.b=!1,Fjn.c=0,Fjn.d=-1,Fjn.e=null,Fjn.f=null,Fjn.g=-1,Fjn.j=!1,Fjn.k=!1,Fjn.n=!1,Fjn.o=0,Fjn.q=0,Fjn.r=0,EF(xAn,"BasicProgressMonitor",370),Wfn(972,209,VSn,Gu),Fjn.Ze=function(n,t){var e,i,r,c,a,u,o,s,h;run(t,"Box layout",2),r=ey(fL(jln(n,(Run(),unt)))),c=Yx(jln(n,rnt),116),e=ny(hL(jln(n,Z7n))),i=ny(hL(jln(n,nnt))),0===Yx(jln(n,Y7n),311).g?(u=new sx((!n.a&&(n.a=new m_(uct,n,10,11)),n.a)),XH(),JC(u,new Vd(i)),a=u,o=Asn(n),(null==(s=fL(jln(n,Q7n)))||(vB(s),s<=0))&&(s=1.3),xkn(n,(h=Kkn(a,r,c,o.a,o.b,e,(vB(s),s))).a,h.b,!1,!0)):Vmn(n,r,c,e),Ron(t)},EF(xAn,"BoxLayoutProvider",972),Wfn(973,1,FMn,Vd),Fjn.ue=function(n,t){return function(n,t,e){var i,r,c;if(!(r=Yx(jln(t,(Run(),ant)),19))&&(r=d9(0)),!(c=Yx(jln(e,ant),19))&&(c=d9(0)),r.a>c.a)return-1;if(r.a0&&d.b>0&&xkn(g,d.a,d.b,!0,!0)),b=e.Math.max(b,g.i+g.g),w=e.Math.max(w,g.j+g.f),f=new UO((!g.n&&(g.n=new m_(act,g,1,7)),g.n));f.e!=f.i.gc();)o=Yx(hen(f),137),(T=Yx(jln(o,Aet),8))&&jC(o,T.a,T.b),b=e.Math.max(b,g.i+o.i+o.g),w=e.Math.max(w,g.j+o.j+o.f);for(k=new UO((!g.c&&(g.c=new m_(oct,g,9,9)),g.c));k.e!=k.i.gc();)for(y=Yx(hen(k),118),(T=Yx(jln(y,Aet),8))&&jC(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,b=e.Math.max(b,j+y.g),w=e.Math.max(w,E+y.f),s=new UO((!y.n&&(y.n=new m_(act,y,1,7)),y.n));s.e!=s.i.gc();)o=Yx(hen(s),137),(T=Yx(jln(o,Aet),8))&&jC(o,T.a,T.b),b=e.Math.max(b,j+o.i+o.g),w=e.Math.max(w,E+o.j+o.f);for(c=new $K(bA(lbn(g).a.Kc(),new h));Vfn(c);)l=Dkn(i=Yx(kV(c),79)),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b);for(r=new $K(bA(fbn(g).a.Kc(),new h));Vfn(r);)IG(Kun(i=Yx(kV(r),79)))!=n&&(l=Dkn(i),b=e.Math.max(b,l.a),w=e.Math.max(w,l.b))}if(a==(g7(),het))for(p=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new $K(bA(lbn(g=Yx(hen(p),33)).a.Kc(),new h));Vfn(r);)0==(u=Npn(i=Yx(kV(r),79))).b?Aen(i,Gnt,null):Aen(i,Gnt,u);ny(hL(jln(n,(L6(),Pet))))||xkn(n,b+(m=Yx(jln(n,Cet),116)).b+m.c,w+m.d+m.a,!0,!0),Ron(t)},EF(xAn,"FixedLayoutProvider",1138),Wfn(373,134,{3:1,414:1,373:1,94:1,134:1},Yu,FJ),Fjn.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(a=Ogn(n,";,;"),r=0,c=(i=a).length;r>16&fTn|n^(e&fTn)<<16},Fjn.Kc=function(){return new Zd(this)},Fjn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+I7(this.b)+")":null==this.b?"pair("+I7(this.a)+",null)":"pair("+I7(this.a)+","+I7(this.b)+")"},EF(xAn,"Pair",46),Wfn(983,1,fEn,Zd),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},Fjn.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw hp(new Kp)},Fjn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),hp(new Lp)},Fjn.b=!1,Fjn.c=!1,EF(xAn,"Pair/1",983),Wfn(448,1,{448:1},jH),Fjn.Fb=function(n){return qB(this.a,Yx(n,448).a)&&qB(this.c,Yx(n,448).c)&&qB(this.d,Yx(n,448).d)&&qB(this.b,Yx(n,448).b)},Fjn.Hb=function(){return G6(x4(Gy(UKn,1),iEn,1,5,[this.a,this.c,this.d,this.b]))},Fjn.Ib=function(){return"("+this.a+tEn+this.c+tEn+this.d+tEn+this.b+")"},EF(xAn,"Quadruple",448),Wfn(1126,209,VSn,no),Fjn.Ze=function(n,t){var i;run(t,"Random Layout",1),0!=(!n.a&&(n.a=new m_(uct,n,10,11)),n.a).i?(function(n,t,i,r,c){var a,u,o,s,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(y=0,g=0,d=0,w=1,m=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));m.e!=m.i.gc();)w+=FX(new $K(bA(lbn(p=Yx(hen(m),33)).a.Kc(),new h))),T=p.g,g=e.Math.max(g,T),b=p.f,d=e.Math.max(d,b),y+=T*b;for(u=y+2*r*r*w*(!n.a&&(n.a=new m_(uct,n,10,11)),n.a).i,a=e.Math.sqrt(u),s=e.Math.max(a*i,g),o=e.Math.max(a/i,d),v=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));v.e!=v.i.gc();)p=Yx(hen(v),33),M=c.b+(Xln(t,26)*mMn+Xln(t,27)*yMn)*(s-p.g),S=c.b+(Xln(t,26)*mMn+Xln(t,27)*yMn)*(o-p.f),L1(p,M),N1(p,S);for(E=s+(c.b+c.c),j=o+(c.d+c.a),k=new UO((!n.a&&(n.a=new m_(uct,n,10,11)),n.a));k.e!=k.i.gc();)for(l=new $K(bA(lbn(Yx(hen(k),33)).a.Kc(),new h));Vfn(l);)Rfn(f=Yx(kV(l),79))||djn(f,t,E,j);xkn(n,E+=c.b+c.c,j+=c.d+c.a,!1,!0)}(n,(i=Yx(jln(n,(Onn(),Vit)),19))&&0!=i.a?new jW(i.a):new c7,ey(fL(jln(n,Uit))),ey(fL(jln(n,Qit))),Yx(jln(n,Xit),116)),Ron(t)):Ron(t)},EF(xAn,"RandomLayoutProvider",1126),Wfn(553,1,{}),Fjn.qf=function(){return new QS(this.f.i,this.f.j)},Fjn.We=function(n){return Oq(n,(Cjn(),ytt))?jln(this.f,Irt):jln(this.f,n)},Fjn.rf=function(){return new QS(this.f.g,this.f.f)},Fjn.sf=function(){return this.g},Fjn.Xe=function(n){return zQ(this.f,n)},Fjn.tf=function(n){L1(this.f,n.a),N1(this.f,n.b)},Fjn.uf=function(n){$1(this.f,n.a),A1(this.f,n.b)},Fjn.vf=function(n){this.g=n},Fjn.g=0,EF(iNn,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),Wfn(554,1,{839:1},ng),Fjn.wf=function(){var n,t;if(!this.b)for(this.b=nX(JB(this.a).i),t=new UO(JB(this.a));t.e!=t.i.gc();)n=Yx(hen(t),137),eD(this.b,new Wm(n));return this.b},Fjn.b=null,EF(iNn,"ElkGraphAdapters/ElkEdgeAdapter",554),Wfn(301,553,{},Xm),Fjn.xf=function(){return hrn(this)},Fjn.a=null,EF(iNn,"ElkGraphAdapters/ElkGraphAdapter",301),Wfn(630,553,{181:1},Wm),EF(iNn,"ElkGraphAdapters/ElkLabelAdapter",630),Wfn(629,553,{680:1},e$),Fjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=nX(Yx(n.f,33).Ag().i),e=new UO(Yx(n.f,33).Ag());e.e!=e.i.gc();)t=Yx(hen(e),137),eD(n.b,new Wm(t));return n.b}(this)},Fjn.Af=function(){var n;return!(n=Yx(jln(this.f,(Cjn(),Unt)),142))&&(n=new Mv),n},Fjn.Cf=function(){return function(n){var t,e;if(!n.e)for(n.e=nX(ZB(Yx(n.f,33)).i),e=new UO(ZB(Yx(n.f,33)));e.e!=e.i.gc();)t=Yx(hen(e),118),eD(n.e,new Ag(t));return n.e}(this)},Fjn.Ef=function(n){var t;t=new yx(n),Aen(this.f,(Cjn(),Unt),t)},Fjn.Ff=function(n){Aen(this.f,(Cjn(),utt),new mx(n))},Fjn.yf=function(){return this.d},Fjn.zf=function(){var n,t;if(!this.a)for(this.a=new ip,t=new $K(bA(fbn(Yx(this.f,33)).a.Kc(),new h));Vfn(t);)n=Yx(kV(t),79),eD(this.a,new ng(n));return this.a},Fjn.Bf=function(){var n,t;if(!this.c)for(this.c=new ip,t=new $K(bA(lbn(Yx(this.f,33)).a.Kc(),new h));Vfn(t);)n=Yx(kV(t),79),eD(this.c,new ng(n));return this.c},Fjn.Df=function(){return 0!=uq(Yx(this.f,33)).i||ny(hL(Yx(this.f,33).We((Cjn(),Fnt))))},Fjn.Gf=function(){MJ(this,(dT(),Prt))},Fjn.a=null,Fjn.b=null,Fjn.c=null,Fjn.d=null,Fjn.e=null,EF(iNn,"ElkGraphAdapters/ElkNodeAdapter",629),Wfn(1266,553,{838:1},Ag),Fjn.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=nX(Yx(n.f,118).Ag().i),e=new UO(Yx(n.f,118).Ag());e.e!=e.i.gc();)t=Yx(hen(e),137),eD(n.b,new Wm(t));return n.b}(this)},Fjn.zf=function(){var n,t;if(!this.a)for(this.a=h$(Yx(this.f,118).xg().i),t=new UO(Yx(this.f,118).xg());t.e!=t.i.gc();)n=Yx(hen(t),79),eD(this.a,new ng(n));return this.a},Fjn.Bf=function(){var n,t;if(!this.c)for(this.c=h$(Yx(this.f,118).yg().i),t=new UO(Yx(this.f,118).yg());t.e!=t.i.gc();)n=Yx(hen(t),79),eD(this.c,new ng(n));return this.c},Fjn.Hf=function(){return Yx(Yx(this.f,118).We((Cjn(),Itt)),61)},Fjn.If=function(){var n,t,e,i,r,c,a;for(i=TG(Yx(this.f,118)),e=new UO(Yx(this.f,118).yg());e.e!=e.i.gc();)for(a=new UO((!(n=Yx(hen(e),79)).c&&(n.c=new AN(Zrt,n,5,8)),n.c));a.e!=a.i.gc();){if(XZ(iun(c=Yx(hen(a),82)),i))return!0;if(iun(c)==i&&ny(hL(jln(n,(Cjn(),Bnt)))))return!0}for(t=new UO(Yx(this.f,118).xg());t.e!=t.i.gc();)for(r=new UO((!(n=Yx(hen(t),79)).b&&(n.b=new AN(Zrt,n,4,7)),n.b));r.e!=r.i.gc();)if(XZ(iun(Yx(hen(r),82)),i))return!0;return!1},Fjn.a=null,Fjn.b=null,Fjn.c=null,EF(iNn,"ElkGraphAdapters/ElkPortAdapter",1266),Wfn(1267,1,FMn,to),Fjn.ue=function(n,t){return function(n,t){var e,i,r,c;if(0!=(c=Yx(jln(n,(Cjn(),Itt)),61).g-Yx(jln(t,Itt),61).g))return c;if(e=Yx(jln(n,Ett),19),i=Yx(jln(t,Ett),19),e&&i&&0!=(r=e.a-i.a))return r;switch(Yx(jln(n,Itt),61).g){case 1:return $9(n.i,t.i);case 2:return $9(n.j,t.j);case 3:return $9(t.i,n.i);case 4:return $9(t.j,n.j);default:throw hp(new Ym(mIn))}}(Yx(n,118),Yx(t,118))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(iNn,"ElkGraphAdapters/PortComparator",1267);var Ort,Art,$rt,Lrt,Nrt,xrt,Drt,Rrt,Krt,_rt,Frt,Brt,Hrt,qrt,Grt,zrt,Urt,Xrt,Wrt=aR(rNn,"EObject"),Vrt=aR(cNn,aNn),Qrt=aR(cNn,uNn),Yrt=aR(cNn,oNn),Jrt=aR(cNn,"ElkShape"),Zrt=aR(cNn,sNn),nct=aR(cNn,hNn),tct=aR(cNn,fNn),ect=aR(rNn,lNn),ict=aR(rNn,"EFactory"),rct=aR(rNn,bNn),cct=aR(rNn,"EPackage"),act=aR(cNn,wNn),uct=aR(cNn,dNn),oct=aR(cNn,gNn);Wfn(90,1,pNn),Fjn.Jg=function(){return this.Kg(),null},Fjn.Kg=function(){return null},Fjn.Lg=function(){return this.Kg(),!1},Fjn.Mg=function(){return!1},Fjn.Ng=function(n){K3(this,n)},EF(vNn,"BasicNotifierImpl",90),Wfn(97,90,SNn),Fjn.nh=function(){return gC(this)},Fjn.Og=function(n,t){return n},Fjn.Pg=function(){throw hp(new xp)},Fjn.Qg=function(n){var t;return t=nin(Yx(CZ(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,n)},Fjn.Rg=function(n,t){throw hp(new xp)},Fjn.Sg=function(n,t,e){return opn(this,n,t,e)},Fjn.Tg=function(){var n;return this.Pg()&&(n=this.Pg().ck())?n:this.zh()},Fjn.Ug=function(){return Bfn(this)},Fjn.Vg=function(){throw hp(new xp)},Fjn.Wg=function(){var n,t;return!(t=this.ph().dk())&&this.Pg().ik((kT(),t=null==(n=Wq(svn(this.Tg())))?Vat:new n$(this,n))),t},Fjn.Xg=function(n,t){return n},Fjn.Yg=function(n){return n.Gj()?n.aj():tnn(this.Tg(),n)},Fjn.Zg=function(){var n;return(n=this.Pg())?n.fk():null},Fjn.$g=function(){return this.Pg()?this.Pg().ck():null},Fjn._g=function(n,t,e){return $en(this,n,t,e)},Fjn.ah=function(n){return TY(this,n)},Fjn.bh=function(n,t){return TV(this,n,t)},Fjn.dh=function(){var n;return!!(n=this.Pg())&&n.gk()},Fjn.eh=function(){throw hp(new xp)},Fjn.fh=function(){return rtn(this)},Fjn.gh=function(n,t,e,i){return men(this,n,t,i)},Fjn.hh=function(n,t,e){return Yx(CZ(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),n,e)},Fjn.ih=function(n,t,e,i){return Uq(this,n,t,i)},Fjn.jh=function(n,t,e){return Yx(CZ(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),n,e)},Fjn.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},Fjn.lh=function(n){return uen(this,n)},Fjn.mh=function(n){return CG(this,n)},Fjn.oh=function(n){return eyn(this,n)},Fjn.ph=function(){throw hp(new xp)},Fjn.qh=function(){return this.Pg()?this.Pg().ek():null},Fjn.rh=function(){return rtn(this)},Fjn.sh=function(n,t){Vsn(this,n,t)},Fjn.th=function(n){this.ph().hk(n)},Fjn.uh=function(n){this.ph().kk(n)},Fjn.vh=function(n){this.ph().jk(n)},Fjn.wh=function(n,t){var e,i,r,c;return(c=this.Zg())&&n&&(t=Ten(c.Vk(),this,t),c.Zk(this)),(i=this.eh())&&(0!=(Ign(this,this.eh(),this.Vg()).Bb&eMn)?(r=i.fh())&&(n?!c&&r.Zk(this):r.Yk(this)):(t=(e=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},Fjn.xh=function(n){var t,e,i,r,c,a,u;if((c=tnn(e=this.Tg(),n))>=(t=this.Ah()))return Yx(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(!(a=iyn((wsn(),wut),e,n)))throw hp(new Qm(mNn+n.ne()+jNn));if(TT(),Yx(a,66).Oj()||(a=Bz(PJ(wut,a))),r=Yx((i=this.Yg(a))>=0?this._g(i,!0,!0):tfn(this,a,!0),153),(u=a.Zj())>1||-1==u)return Yx(Yx(r,215).hl(n,!1),76)}else if(n.$j())return Yx((i=this.Yg(n))>=0?this._g(i,!1,!0):tfn(this,n,!1),76);return new qP(this,n)},Fjn.yh=function(){return DJ(this)},Fjn.zh=function(){return(YF(),gat).S},Fjn.Ah=function(){return vF(this.zh())},Fjn.Bh=function(n){usn(this,n)},Fjn.Ib=function(){return Kln(this)},EF(PNn,"BasicEObjectImpl",97),Wfn(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),Fjn.Ch=function(n){return RJ(this)[n]},Fjn.Dh=function(n,t){DF(RJ(this),n,t)},Fjn.Eh=function(n){DF(RJ(this),n,null)},Fjn.Jg=function(){return Yx(H3(this,4),126)},Fjn.Kg=function(){throw hp(new xp)},Fjn.Lg=function(){return 0!=(4&this.Db)},Fjn.Pg=function(){throw hp(new xp)},Fjn.Fh=function(n){wtn(this,2,n)},Fjn.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},Fjn.Tg=function(){return Cq(this)},Fjn.Vg=function(){return this.Db>>16},Fjn.Wg=function(){var n;return kT(),null==(n=Wq(svn(Yx(H3(this,16),26)||this.zh())))?Vat:new n$(this,n)},Fjn.Mg=function(){return 0==(1&this.Db)},Fjn.Zg=function(){return Yx(H3(this,128),1935)},Fjn.$g=function(){return Yx(H3(this,16),26)},Fjn.dh=function(){return 0!=(32&this.Db)},Fjn.eh=function(){return Yx(H3(this,2),49)},Fjn.kh=function(){return 0!=(64&this.Db)},Fjn.ph=function(){throw hp(new xp)},Fjn.qh=function(){return Yx(H3(this,64),281)},Fjn.th=function(n){wtn(this,16,n)},Fjn.uh=function(n){wtn(this,128,n)},Fjn.vh=function(n){wtn(this,64,n)},Fjn.yh=function(){return dtn(this)},Fjn.Db=0,EF(PNn,"MinimalEObjectImpl",114),Wfn(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn.Fh=function(n){this.Cb=n},Fjn.eh=function(){return this.Cb},EF(PNn,"MinimalEObjectImpl/Container",115),Wfn(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return Mrn(this,n,t,e)},Fjn.jh=function(n,t,e){return fon(this,n,t,e)},Fjn.lh=function(n){return Zz(this,n)},Fjn.sh=function(n,t){J5(this,n,t)},Fjn.zh=function(){return ajn(),Hrt},Fjn.Bh=function(n){Q4(this,n)},Fjn.Ve=function(){return een(this)},Fjn.We=function(n){return jln(this,n)},Fjn.Xe=function(n){return zQ(this,n)},Fjn.Ye=function(n,t){return Aen(this,n,t)},EF(INn,"EMapPropertyHolderImpl",1985),Wfn(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ro),Fjn._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return $en(this,n,t,e)},Fjn.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return uen(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return void I1(this,ty(fL(t)));case 1:return void C1(this,ty(fL(t)))}Vsn(this,n,t)},Fjn.zh=function(){return ajn(),$rt},Fjn.Bh=function(n){switch(n){case 0:return void I1(this,0);case 1:return void C1(this,0)}usn(this,n)},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Kln(this):((n=new MA(Kln(this))).a+=" (x: ",Jk(n,this.a),n.a+=", y: ",Jk(n,this.b),n.a+=")",n.a)},Fjn.a=0,Fjn.b=0,EF(INn,"ElkBendPointImpl",567),Wfn(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return n9(this,n,t,e)},Fjn.hh=function(n,t,e){return sun(this,n,t,e)},Fjn.jh=function(n,t,e){return d4(this,n,t,e)},Fjn.lh=function(n){return z3(this,n)},Fjn.sh=function(n,t){Vcn(this,n,t)},Fjn.zh=function(){return ajn(),Drt},Fjn.Bh=function(n){A8(this,n)},Fjn.zg=function(){return this.k},Fjn.Ag=function(){return JB(this)},Fjn.Ib=function(){return V9(this)},Fjn.k=null,EF(INn,"ElkGraphElementImpl",723),Wfn(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return S7(this,n,t,e)},Fjn.lh=function(n){return z7(this,n)},Fjn.sh=function(n,t){Qcn(this,n,t)},Fjn.zh=function(){return ajn(),Brt},Fjn.Bh=function(n){rnn(this,n)},Fjn.Bg=function(){return this.f},Fjn.Cg=function(){return this.g},Fjn.Dg=function(){return this.i},Fjn.Eg=function(){return this.j},Fjn.Fg=function(n,t){kC(this,n,t)},Fjn.Gg=function(n,t){jC(this,n,t)},Fjn.Hg=function(n){L1(this,n)},Fjn.Ig=function(n){N1(this,n)},Fjn.Ib=function(){return yon(this)},Fjn.f=0,Fjn.g=0,Fjn.i=0,Fjn.j=0,EF(INn,"ElkShapeImpl",724),Wfn(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),Fjn._g=function(n,t,e){return bin(this,n,t,e)},Fjn.hh=function(n,t,e){return Lcn(this,n,t,e)},Fjn.jh=function(n,t,e){return Ncn(this,n,t,e)},Fjn.lh=function(n){return B5(this,n)},Fjn.sh=function(n,t){oln(this,n,t)},Fjn.zh=function(){return ajn(),Lrt},Fjn.Bh=function(n){yen(this,n)},Fjn.xg=function(){return!this.d&&(this.d=new AN(nct,this,8,5)),this.d},Fjn.yg=function(){return!this.e&&(this.e=new AN(nct,this,7,4)),this.e},EF(INn,"ElkConnectableShapeImpl",725),Wfn(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},io),Fjn.Qg=function(n){return ucn(this,n)},Fjn._g=function(n,t,e){switch(n){case 3:return EG(this);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new m_(tct,this,6,6)),this.a;case 7:return TA(),!this.b&&(this.b=new AN(Zrt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),this.c.i<=1));case 8:return TA(),!!Rfn(this);case 9:return TA(),!!Whn(this);case 10:return TA(),!this.b&&(this.b=new AN(Zrt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),0!=this.c.i)}return n9(this,n,t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ucn(this,e):this.Cb.ih(this,-1-i,null,e)),AL(this,Yx(n,33),e);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),wnn(this.b,n,e);case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),wnn(this.c,n,e);case 6:return!this.a&&(this.a=new m_(tct,this,6,6)),wnn(this.a,n,e)}return sun(this,n,t,e)},Fjn.jh=function(n,t,e){switch(t){case 3:return AL(this,null,e);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),Ten(this.b,n,e);case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),Ten(this.c,n,e);case 6:return!this.a&&(this.a=new m_(tct,this,6,6)),Ten(this.a,n,e)}return d4(this,n,t,e)},Fjn.lh=function(n){switch(n){case 3:return!!EG(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new AN(Zrt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),this.c.i<=1));case 8:return Rfn(this);case 9:return Whn(this);case 10:return!this.b&&(this.b=new AN(Zrt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new AN(Zrt,this,5,8)),0!=this.c.i)}return z3(this,n)},Fjn.sh=function(n,t){switch(n){case 3:return void Sbn(this,Yx(t,33));case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),Hmn(this.b),!this.b&&(this.b=new AN(Zrt,this,4,7)),void jF(this.b,Yx(t,14));case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),Hmn(this.c),!this.c&&(this.c=new AN(Zrt,this,5,8)),void jF(this.c,Yx(t,14));case 6:return!this.a&&(this.a=new m_(tct,this,6,6)),Hmn(this.a),!this.a&&(this.a=new m_(tct,this,6,6)),void jF(this.a,Yx(t,14))}Vcn(this,n,t)},Fjn.zh=function(){return ajn(),Nrt},Fjn.Bh=function(n){switch(n){case 3:return void Sbn(this,null);case 4:return!this.b&&(this.b=new AN(Zrt,this,4,7)),void Hmn(this.b);case 5:return!this.c&&(this.c=new AN(Zrt,this,5,8)),void Hmn(this.c);case 6:return!this.a&&(this.a=new m_(tct,this,6,6)),void Hmn(this.a)}A8(this,n)},Fjn.Ib=function(){return bmn(this)},EF(INn,"ElkEdgeImpl",352),Wfn(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},co),Fjn.Qg=function(n){return Yrn(this,n)},Fjn._g=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),this.a;case 6:return MG(this);case 7:return t?Zen(this):this.i;case 8:return t?Jen(this):this.f;case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),this.g;case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),this.e;case 11:return this.d}return Mrn(this,n,t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Yrn(this,e):this.Cb.ih(this,-1-i,null,e)),$L(this,Yx(n,79),e);case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),wnn(this.g,n,e);case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),wnn(this.e,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(ajn(),xrt),t),66).Nj().Qj(this,dtn(this),t-vF((ajn(),xrt)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),Ten(this.a,n,e);case 6:return $L(this,null,e);case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),Ten(this.g,n,e);case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),Ten(this.e,n,e)}return fon(this,n,t,e)},Fjn.lh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!MG(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return Zz(this,n)},Fjn.sh=function(n,t){switch(n){case 1:return void x1(this,ty(fL(t)));case 2:return void R1(this,ty(fL(t)));case 3:return void O1(this,ty(fL(t)));case 4:return void D1(this,ty(fL(t)));case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),Hmn(this.a),!this.a&&(this.a=new XO(Qrt,this,5)),void jF(this.a,Yx(t,14));case 6:return void Tbn(this,Yx(t,79));case 7:return void N0(this,Yx(t,82));case 8:return void L0(this,Yx(t,82));case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),Hmn(this.g),!this.g&&(this.g=new AN(tct,this,9,10)),void jF(this.g,Yx(t,14));case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),Hmn(this.e),!this.e&&(this.e=new AN(tct,this,10,9)),void jF(this.e,Yx(t,14));case 11:return void Y0(this,lL(t))}J5(this,n,t)},Fjn.zh=function(){return ajn(),xrt},Fjn.Bh=function(n){switch(n){case 1:return void x1(this,0);case 2:return void R1(this,0);case 3:return void O1(this,0);case 4:return void D1(this,0);case 5:return!this.a&&(this.a=new XO(Qrt,this,5)),void Hmn(this.a);case 6:return void Tbn(this,null);case 7:return void N0(this,null);case 8:return void L0(this,null);case 9:return!this.g&&(this.g=new AN(tct,this,9,10)),void Hmn(this.g);case 10:return!this.e&&(this.e=new AN(tct,this,10,9)),void Hmn(this.e);case 11:return void Y0(this,null)}Q4(this,n)},Fjn.Ib=function(){return Mfn(this)},Fjn.b=0,Fjn.c=0,Fjn.d=null,Fjn.j=0,Fjn.k=0,EF(INn,"ElkEdgeSectionImpl",439),Wfn(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Fjn._g=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab):RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.hh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e)):Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Qj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.jh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e)):Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.oh=function(n){return jkn(this,n)},Fjn.sh=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.uh=function(n){wtn(this,128,n)},Fjn.zh=function(){return xjn(),Iat},Fjn.Bh=function(n){if(0===n)return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.Gh=function(){this.Bb|=1},Fjn.Hh=function(n){return dpn(this,n)},Fjn.Bb=0,EF(PNn,"EModelElementImpl",150),Wfn(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},xf),Fjn.Ih=function(n,t){return Dyn(this,n,t)},Fjn.Jh=function(n){var t,e,i,r;if(this.a!=i1(n)||0!=(256&n.Bb))throw hp(new Qm(NNn+n.zb+ANn));for(e=Iq(n);0!=tW(e.a).i;){if(frn(t=Yx(hyn(e,0,CO(r=Yx(c1(tW(e.a),0),87).c,88)?Yx(r,26):(xjn(),Oat)),26)))return Yx(i=i1(t).Nh().Jh(t),49).th(n),i;e=Iq(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new rR(n):new SD(n)},Fjn.Kh=function(n,t){return fjn(this,n,t)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.a}return RY(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n),t,e)},Fjn.hh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 1:return this.a&&(e=Yx(this.a,49).ih(this,4,cct,e)),T8(this,Yx(n,235),e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Mat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Mat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 1:return T8(this,null,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Mat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Mat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return xX(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void Uun(this,Yx(t,235))}E7(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n),t)},Fjn.zh=function(){return xjn(),Mat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void Uun(this,null)}r9(this,n-vF((xjn(),Mat)),CZ(Yx(H3(this,16),26)||Mat,n))},EF(PNn,"EFactoryImpl",704),Wfn(DNn,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},ao),Fjn.Ih=function(n,t){switch(n.yj()){case 12:return Yx(t,146).tg();case 13:return I7(t);default:throw hp(new Qm(ONn+n.ne()+ANn))}},Fjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=i1(n))?Ren(t.Mh(),n):-1),n.G){case 4:return new uo;case 6:return new xv;case 7:return new Dv;case 8:return new io;case 9:return new ro;case 10:return new co;case 11:return new so;default:throw hp(new Qm(NNn+n.zb+ANn))}},Fjn.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw hp(new Qm(ONn+n.ne()+ANn))}},EF(INn,"ElkGraphFactoryImpl",DNn),Wfn(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),Fjn.Wg=function(){var n;return null==(n=Wq(svn(Yx(H3(this,16),26)||this.zh())))?(kT(),kT(),Vat):new B$(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.ne()}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void this.Lh(lL(t))}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),Cat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void this.Lh(null)}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.ne=function(){return this.zb},Fjn.Lh=function(n){E2(this,n)},Fjn.Ib=function(){return B8(this)},Fjn.zb=null,EF(PNn,"ENamedElementImpl",438),Wfn(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Sq),Fjn.Qg=function(n){return ecn(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new d_(this,iat,this)),this.rb;case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?Yx(this.Cb,235):null:SG(this)}return RY(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 4:return this.sb&&(e=Yx(this.sb,49).ih(this,1,ict,e)),H8(this,Yx(n,471),e);case 5:return!this.rb&&(this.rb=new d_(this,iat,this)),wnn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),wnn(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?ecn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,7,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Lat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Lat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 4:return H8(this,null,e);case 5:return!this.rb&&(this.rb=new d_(this,iat,this)),Ten(this.rb,n,e);case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),Ten(this.vb,n,e);case 7:return opn(this,null,7,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Lat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Lat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!SG(this)}return xX(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n))},Fjn.oh=function(n){return function(n,t){var e,i,r,c,a,u;if(!n.tb){for(!n.rb&&(n.rb=new d_(n,iat,n)),u=new kE((c=n.rb).i),r=new UO(c);r.e!=r.i.gc();)i=Yx(hen(r),138),(e=Yx(null==(a=i.ne())?Ysn(u.f,null,i):r7(u.g,a,i),138))&&(null==a?Ysn(u.f,null,e):r7(u.g,a,e));n.tb=u}return Yx(aG(n.tb,t),138)}(this,n)||jkn(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return void M2(this,lL(t));case 3:return void T2(this,lL(t));case 4:return void lon(this,Yx(t,471));case 5:return!this.rb&&(this.rb=new d_(this,iat,this)),Hmn(this.rb),!this.rb&&(this.rb=new d_(this,iat,this)),void jF(this.rb,Yx(t,14));case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),Hmn(this.vb),!this.vb&&(this.vb=new EN(cct,this,6,7)),void jF(this.vb,Yx(t,14))}E7(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n),t)},Fjn.vh=function(n){var t,e;if(n&&this.rb)for(e=new UO(this.rb);e.e!=e.i.gc();)CO(t=hen(e),351)&&(Yx(t,351).w=null);wtn(this,64,n)},Fjn.zh=function(){return xjn(),Lat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return void M2(this,null);case 3:return void T2(this,null);case 4:return void lon(this,null);case 5:return!this.rb&&(this.rb=new d_(this,iat,this)),void Hmn(this.rb);case 6:return!this.vb&&(this.vb=new EN(cct,this,6,7)),void Hmn(this.vb)}r9(this,n-vF((xjn(),Lat)),CZ(Yx(H3(this,16),26)||Lat,n))},Fjn.Gh=function(){Srn(this)},Fjn.Mh=function(){return!this.rb&&(this.rb=new d_(this,iat,this)),this.rb},Fjn.Nh=function(){return this.sb},Fjn.Oh=function(){return this.ub},Fjn.Ph=function(){return this.xb},Fjn.Qh=function(){return this.yb},Fjn.Rh=function(n){this.ub=n},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?B8(this):((n=new MA(B8(this))).a+=" (nsURI: ",pI(n,this.yb),n.a+=", nsPrefix: ",pI(n,this.xb),n.a+=")",n.a)},Fjn.xb=null,Fjn.yb=null,EF(PNn,"EPackageImpl",179),Wfn(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Gfn),Fjn.q=!1,Fjn.r=!1;var sct=!1;EF(INn,"ElkGraphPackageImpl",555),Wfn(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},uo),Fjn.Qg=function(n){return Jrn(this,n)},Fjn._g=function(n,t,e){switch(n){case 7:return PG(this);case 8:return this.a}return S7(this,n,t,e)},Fjn.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Jrn(this,e):this.Cb.ih(this,-1-i,null,e)),kK(this,Yx(n,160),e)):sun(this,n,t,e)},Fjn.jh=function(n,t,e){return 7==t?kK(this,null,e):d4(this,n,t,e)},Fjn.lh=function(n){switch(n){case 7:return!!PG(this);case 8:return!_N("",this.a)}return z7(this,n)},Fjn.sh=function(n,t){switch(n){case 7:return void Xbn(this,Yx(t,160));case 8:return void x0(this,lL(t))}Qcn(this,n,t)},Fjn.zh=function(){return ajn(),Rrt},Fjn.Bh=function(n){switch(n){case 7:return void Xbn(this,null);case 8:return void x0(this,"")}rnn(this,n)},Fjn.Ib=function(){return Qon(this)},Fjn.a="",EF(INn,"ElkLabelImpl",354),Wfn(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},xv),Fjn.Qg=function(n){return ocn(this,n)},Fjn._g=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new m_(oct,this,9,9)),this.c;case 10:return!this.a&&(this.a=new m_(uct,this,10,11)),this.a;case 11:return IG(this);case 12:return!this.b&&(this.b=new m_(nct,this,12,3)),this.b;case 13:return TA(),!this.a&&(this.a=new m_(uct,this,10,11)),this.a.i>0}return bin(this,n,t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new m_(oct,this,9,9)),wnn(this.c,n,e);case 10:return!this.a&&(this.a=new m_(uct,this,10,11)),wnn(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?ocn(this,e):this.Cb.ih(this,-1-i,null,e)),vN(this,Yx(n,33),e);case 12:return!this.b&&(this.b=new m_(nct,this,12,3)),wnn(this.b,n,e)}return Lcn(this,n,t,e)},Fjn.jh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new m_(oct,this,9,9)),Ten(this.c,n,e);case 10:return!this.a&&(this.a=new m_(uct,this,10,11)),Ten(this.a,n,e);case 11:return vN(this,null,e);case 12:return!this.b&&(this.b=new m_(nct,this,12,3)),Ten(this.b,n,e)}return Ncn(this,n,t,e)},Fjn.lh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!IG(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new m_(uct,this,10,11)),this.a.i>0}return B5(this,n)},Fjn.sh=function(n,t){switch(n){case 9:return!this.c&&(this.c=new m_(oct,this,9,9)),Hmn(this.c),!this.c&&(this.c=new m_(oct,this,9,9)),void jF(this.c,Yx(t,14));case 10:return!this.a&&(this.a=new m_(uct,this,10,11)),Hmn(this.a),!this.a&&(this.a=new m_(uct,this,10,11)),void jF(this.a,Yx(t,14));case 11:return void Dbn(this,Yx(t,33));case 12:return!this.b&&(this.b=new m_(nct,this,12,3)),Hmn(this.b),!this.b&&(this.b=new m_(nct,this,12,3)),void jF(this.b,Yx(t,14))}oln(this,n,t)},Fjn.zh=function(){return ajn(),Krt},Fjn.Bh=function(n){switch(n){case 9:return!this.c&&(this.c=new m_(oct,this,9,9)),void Hmn(this.c);case 10:return!this.a&&(this.a=new m_(uct,this,10,11)),void Hmn(this.a);case 11:return void Dbn(this,null);case 12:return!this.b&&(this.b=new m_(nct,this,12,3)),void Hmn(this.b)}yen(this,n)},Fjn.Ib=function(){return ugn(this)},EF(INn,"ElkNodeImpl",239),Wfn(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Dv),Fjn.Qg=function(n){return Zrn(this,n)},Fjn._g=function(n,t,e){return 9==n?TG(this):bin(this,n,t,e)},Fjn.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Zrn(this,e):this.Cb.ih(this,-1-i,null,e)),LL(this,Yx(n,33),e)):Lcn(this,n,t,e)},Fjn.jh=function(n,t,e){return 9==t?LL(this,null,e):Ncn(this,n,t,e)},Fjn.lh=function(n){return 9==n?!!TG(this):B5(this,n)},Fjn.sh=function(n,t){9!==n?oln(this,n,t):Mbn(this,Yx(t,33))},Fjn.zh=function(){return ajn(),_rt},Fjn.Bh=function(n){9!==n?yen(this,n):Mbn(this,null)},Fjn.Ib=function(){return ogn(this)},EF(INn,"ElkPortImpl",186);var hct=aR(exn,"BasicEMap/Entry");Wfn(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},so),Fjn.Fb=function(n){return this===n},Fjn.cd=function(){return this.b},Fjn.Hb=function(){return _A(this)},Fjn.Uh=function(n){D0(this,Yx(n,146))},Fjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return $en(this,n,t,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return uen(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return void D0(this,Yx(t,146));case 1:return void _0(this,t)}Vsn(this,n,t)},Fjn.zh=function(){return ajn(),Frt},Fjn.Bh=function(n){switch(n){case 0:return void D0(this,null);case 1:return void _0(this,null)}usn(this,n)},Fjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=n?W5(n):0),this.a},Fjn.dd=function(){return this.c},Fjn.Th=function(n){this.a=n},Fjn.ed=function(n){var t;return t=this.c,_0(this,n),t},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Kln(this):(yI(yI(yI(n=new Ay,this.b?this.b.tg():aEn),pIn),xA(this.c)),n.a)},Fjn.a=-1,Fjn.c=null;var fct,lct,bct,wct,dct,gct,pct,vct,mct=EF(INn,"ElkPropertyToValueMapEntryImpl",1092);Wfn(984,1,{},lo),EF(cxn,"JsonAdapter",984),Wfn(210,60,eTn,hy),EF(cxn,"JsonImportException",210),Wfn(857,1,{},icn),EF(cxn,"JsonImporter",857),Wfn(891,1,{},kP),EF(cxn,"JsonImporter/lambda$0$Type",891),Wfn(892,1,{},jP),EF(cxn,"JsonImporter/lambda$1$Type",892),Wfn(900,1,{},tg),EF(cxn,"JsonImporter/lambda$10$Type",900),Wfn(902,1,{},EP),EF(cxn,"JsonImporter/lambda$11$Type",902),Wfn(903,1,{},TP),EF(cxn,"JsonImporter/lambda$12$Type",903),Wfn(909,1,{},$H),EF(cxn,"JsonImporter/lambda$13$Type",909),Wfn(908,1,{},AH),EF(cxn,"JsonImporter/lambda$14$Type",908),Wfn(904,1,{},MP),EF(cxn,"JsonImporter/lambda$15$Type",904),Wfn(905,1,{},SP),EF(cxn,"JsonImporter/lambda$16$Type",905),Wfn(906,1,{},PP),EF(cxn,"JsonImporter/lambda$17$Type",906),Wfn(907,1,{},IP),EF(cxn,"JsonImporter/lambda$18$Type",907),Wfn(912,1,{},eg),EF(cxn,"JsonImporter/lambda$19$Type",912),Wfn(893,1,{},ig),EF(cxn,"JsonImporter/lambda$2$Type",893),Wfn(910,1,{},rg),EF(cxn,"JsonImporter/lambda$20$Type",910),Wfn(911,1,{},cg),EF(cxn,"JsonImporter/lambda$21$Type",911),Wfn(915,1,{},ag),EF(cxn,"JsonImporter/lambda$22$Type",915),Wfn(913,1,{},ug),EF(cxn,"JsonImporter/lambda$23$Type",913),Wfn(914,1,{},og),EF(cxn,"JsonImporter/lambda$24$Type",914),Wfn(917,1,{},sg),EF(cxn,"JsonImporter/lambda$25$Type",917),Wfn(916,1,{},hg),EF(cxn,"JsonImporter/lambda$26$Type",916),Wfn(918,1,PEn,CP),Fjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=jG(n,e))&&(r=osn(i)),Ftn(t,e,r)}(this.b,this.a,lL(n))},EF(cxn,"JsonImporter/lambda$27$Type",918),Wfn(919,1,PEn,OP),Fjn.td=function(n){!function(n,t,e){var i,r;r=null,(i=jG(n,e))&&(r=osn(i)),Ftn(t,e,r)}(this.b,this.a,lL(n))},EF(cxn,"JsonImporter/lambda$28$Type",919),Wfn(920,1,{},AP),EF(cxn,"JsonImporter/lambda$29$Type",920),Wfn(896,1,{},fg),EF(cxn,"JsonImporter/lambda$3$Type",896),Wfn(921,1,{},$P),EF(cxn,"JsonImporter/lambda$30$Type",921),Wfn(922,1,{},lg),EF(cxn,"JsonImporter/lambda$31$Type",922),Wfn(923,1,{},bg),EF(cxn,"JsonImporter/lambda$32$Type",923),Wfn(924,1,{},wg),EF(cxn,"JsonImporter/lambda$33$Type",924),Wfn(925,1,{},dg),EF(cxn,"JsonImporter/lambda$34$Type",925),Wfn(859,1,{},gg),EF(cxn,"JsonImporter/lambda$35$Type",859),Wfn(929,1,{},Rx),EF(cxn,"JsonImporter/lambda$36$Type",929),Wfn(926,1,PEn,pg),Fjn.td=function(n){!function(n,t){var e;nq(e=new Om,"x",t.a),nq(e,"y",t.b),nB(n,e)}(this.a,Yx(n,469))},EF(cxn,"JsonImporter/lambda$37$Type",926),Wfn(927,1,PEn,FP),Fjn.td=function(n){!function(n,t,e){Ucn(t,ksn(n,e))}(this.a,this.b,Yx(n,202))},EF(cxn,"JsonImporter/lambda$38$Type",927),Wfn(928,1,PEn,BP),Fjn.td=function(n){!function(n,t,e){Ucn(t,ksn(n,e))}(this.a,this.b,Yx(n,202))},EF(cxn,"JsonImporter/lambda$39$Type",928),Wfn(894,1,{},vg),EF(cxn,"JsonImporter/lambda$4$Type",894),Wfn(930,1,PEn,mg),Fjn.td=function(n){!function(n,t){var e;nq(e=new Om,"x",t.a),nq(e,"y",t.b),nB(n,e)}(this.a,Yx(n,8))},EF(cxn,"JsonImporter/lambda$40$Type",930),Wfn(895,1,{},yg),EF(cxn,"JsonImporter/lambda$5$Type",895),Wfn(899,1,{},kg),EF(cxn,"JsonImporter/lambda$6$Type",899),Wfn(897,1,{},jg),EF(cxn,"JsonImporter/lambda$7$Type",897),Wfn(898,1,{},Eg),EF(cxn,"JsonImporter/lambda$8$Type",898),Wfn(901,1,{},Tg),EF(cxn,"JsonImporter/lambda$9$Type",901),Wfn(948,1,PEn,Mg),Fjn.td=function(n){nB(this.a,new zF(lL(n)))},EF(cxn,"JsonMetaDataConverter/lambda$0$Type",948),Wfn(949,1,PEn,Sg),Fjn.td=function(n){!function(n,t){nB(n,new zF(null!=t.f?t.f:""+t.g))}(this.a,Yx(n,237))},EF(cxn,"JsonMetaDataConverter/lambda$1$Type",949),Wfn(950,1,PEn,Pg),Fjn.td=function(n){!function(n,t){null!=t.c&&nB(n,new zF(t.c))}(this.a,Yx(n,149))},EF(cxn,"JsonMetaDataConverter/lambda$2$Type",950),Wfn(951,1,PEn,Ig),Fjn.td=function(n){!function(n,t){nB(n,new zF(null!=t.f?t.f:""+t.g))}(this.a,Yx(n,175))},EF(cxn,"JsonMetaDataConverter/lambda$3$Type",951),Wfn(237,22,{3:1,35:1,22:1,237:1},_P);var yct,kct=X1(GSn,"GraphFeature",237,u_n,(function(){return zfn(),x4(Gy(kct,1),XEn,237,0,[vct,dct,gct,wct,pct,lct,fct,bct])}),(function(n){return zfn(),rZ((m3(),yct),n)}));Wfn(13,1,{35:1,146:1},Og,_L,FI,DC),Fjn.wd=function(n){return function(n,t){return FV(n.b,t.tg())}(this,Yx(n,146))},Fjn.Fb=function(n){return Oq(this,n)},Fjn.wg=function(){return oen(this)},Fjn.tg=function(){return this.b},Fjn.Hb=function(){return Xen(this.b)},Fjn.Ib=function(){return this.b},EF(GSn,"Property",13),Wfn(818,1,FMn,Cg),Fjn.ue=function(n,t){return function(n,t,e){var i,r;return i=Yx(t.We(n.a),35),r=Yx(e.We(n.a),35),null!=i&&null!=r?u3(i,r):null!=i?-1:null!=r?1:0}(this,Yx(n,94),Yx(t,94))},Fjn.Fb=function(n){return this===n},Fjn.ve=function(){return new Eb(this)},EF(GSn,"PropertyHolderComparator",818),Wfn(695,1,fEn,$g),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){return function(n){var t;if(!n.a)throw hp(new WB);return t=n.a,n.a=IG(n.a),t}(this)},Fjn.Qb=function(){Bk()},Fjn.Ob=function(){return!!this.a},EF(yxn,"ElkGraphUtil/AncestorIterator",695);var jct=aR(exn,"EList");Wfn(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),Fjn.Vc=function(n,t){y9(this,n,t)},Fjn.Fc=function(n){return fY(this,n)},Fjn.Wc=function(n,t){return f5(this,n,t)},Fjn.Gc=function(n){return jF(this,n)},Fjn.Zh=function(){return new u$(this)},Fjn.$h=function(){return new o$(this)},Fjn._h=function(n){return b0(this,n)},Fjn.ai=function(){return!0},Fjn.bi=function(n,t){},Fjn.ci=function(){},Fjn.di=function(n,t){XQ(this,n,t)},Fjn.ei=function(n,t,e){},Fjn.fi=function(n,t){},Fjn.gi=function(n,t,e){},Fjn.Fb=function(n){return Pdn(this,n)},Fjn.Hb=function(){return L4(this)},Fjn.hi=function(){return!1},Fjn.Kc=function(){return new UO(this)},Fjn.Yc=function(){return new a$(this)},Fjn.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw hp(new jN(n,t));return new Z_(this,n)},Fjn.ji=function(n,t){this.ii(n,this.Xc(t))},Fjn.Mc=function(n){return qJ(this,n)},Fjn.li=function(n,t){return t},Fjn._c=function(n,t){return Ken(this,n,t)},Fjn.Ib=function(){return D7(this)},Fjn.ni=function(){return!0},Fjn.oi=function(n,t){return k6(this,t)},EF(exn,"AbstractEList",67),Wfn(63,67,Mxn,go,FZ,t3),Fjn.Vh=function(n,t){return hun(this,n,t)},Fjn.Wh=function(n){return $in(this,n)},Fjn.Xh=function(n,t){X8(this,n,t)},Fjn.Yh=function(n){NV(this,n)},Fjn.pi=function(n){return AY(this,n)},Fjn.$b=function(){xV(this)},Fjn.Hc=function(n){return Fcn(this,n)},Fjn.Xb=function(n){return c1(this,n)},Fjn.qi=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.$c(t),!0)},Fjn.mi=function(n,t){return this.Ui(n,this.oi(n,t))},Fjn.gc=function(){return this.Vi()},Fjn.Pc=function(){return this.Wi()},Fjn.Qc=function(n){return this.Xi(n)},Fjn.Ib=function(){return this.Yi()},EF(exn,"DelegatingEList",1995),Wfn(1996,1995,dDn),Fjn.Vh=function(n,t){return Dpn(this,n,t)},Fjn.Wh=function(n){return this.Vh(this.Vi(),n)},Fjn.Xh=function(n,t){_fn(this,n,t)},Fjn.Yh=function(n){yfn(this,n)},Fjn.ai=function(){return!this.bj()},Fjn.$b=function(){Wmn(this)},Fjn.Zi=function(n,t,e,i,r){return new _q(this,n,t,e,i,r)},Fjn.$i=function(n){K3(this.Ai(),n)},Fjn._i=function(){return null},Fjn.aj=function(){return-1},Fjn.Ai=function(){return null},Fjn.bj=function(){return!1},Fjn.cj=function(n,t){return t},Fjn.dj=function(n,t){return t},Fjn.ej=function(){return!1},Fjn.fj=function(){return!this.Ri()},Fjn.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=Hun(this,n,t),this.$i(this.Zi(7,d9(t),e,n,i)),e):Hun(this,n,t)},Fjn.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=uR(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t),r):(r=uR(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi(),r)},Fjn.mi=function(n,t){return Rpn(this,n,t)},EF(vNn,"DelegatingNotifyingListImpl",1996),Wfn(143,1,gDn),Fjn.Ei=function(n){return Pan(this,n)},Fjn.Fi=function(){vJ(this)},Fjn.xi=function(){return this.d},Fjn._i=function(){return null},Fjn.gj=function(){return null},Fjn.yi=function(n){return-1},Fjn.zi=function(){return Rwn(this)},Fjn.Ai=function(){return null},Fjn.Bi=function(){return Kwn(this)},Fjn.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Fjn.hj=function(){return!1},Fjn.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(iI(n.Ai())===iI(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&iI(n.Ai())===iI(this.Ai())&&this.yi(null)==n.yi(null))return a=syn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new FZ(2),c<=i?(fY(o,this.n),fY(o,n.Bi()),this.g=x4(Gy(Wot,1),MTn,25,15,[this.o=c,i+1])):(fY(o,n.Bi()),fY(o,this.n),this.g=x4(Gy(Wot,1),MTn,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&iI(n.Ai())===iI(this.Ai())&&this.yi(null)==n.yi(null)){for(a=syn(this),i=n.Ci(),u=Yx(this.g,48),e=VQ(Wot,MTn,25,u.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:Zk(e,this.d)}if(Tgn(this)&&(e.a+=", touch: true"),e.a+=", position: ",Zk(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",gI(e,this.Ai()),e.a+=", feature: ",gI(e,this._i()),e.a+=", oldValue: ",gI(e,Kwn(this)),e.a+=", newValue: ",6==this.d&&CO(this.g,48)){for(t=Yx(this.g,48),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new kR(this),this.a=this.j),gE(this.b,n)):Fcn(this,n)},Fjn.ni=function(){return!0},Fjn.a=0,EF(exn,"AbstractEList/1",953),Wfn(295,73,VTn,jN),EF(exn,"AbstractEList/BasicIndexOutOfBoundsException",295),Wfn(40,1,fEn,UO),Fjn.Nb=function(n){I_(this,n)},Fjn.mj=function(){if(this.i.j!=this.f)throw hp(new Dp)},Fjn.nj=function(){return hen(this)},Fjn.Ob=function(){return this.e!=this.i.gc()},Fjn.Pb=function(){return this.nj()},Fjn.Qb=function(){tan(this)},Fjn.e=0,Fjn.f=0,Fjn.g=-1,EF(exn,"AbstractEList/EIterator",40),Wfn(278,40,yEn,a$,Z_),Fjn.Qb=function(){tan(this)},Fjn.Rb=function(n){Enn(this,n)},Fjn.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(n){throw CO(n=j4(n),73)?(this.mj(),hp(new Kp)):hp(n)}},Fjn.pj=function(n){Rin(this,n)},Fjn.Sb=function(){return 0!=this.e},Fjn.Tb=function(){return this.e},Fjn.Ub=function(){return this.oj()},Fjn.Vb=function(){return this.e-1},Fjn.Wb=function(n){this.pj(n)},EF(exn,"AbstractEList/EListIterator",278),Wfn(341,40,fEn,u$),Fjn.nj=function(){return fen(this)},Fjn.Qb=function(){throw hp(new xp)},EF(exn,"AbstractEList/NonResolvingEIterator",341),Wfn(385,278,yEn,o$,WN),Fjn.Rb=function(n){throw hp(new xp)},Fjn.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(n){throw CO(n=j4(n),73)?(this.mj(),hp(new Kp)):hp(n)}},Fjn.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(n){throw CO(n=j4(n),73)?(this.mj(),hp(new Kp)):hp(n)}},Fjn.Qb=function(){throw hp(new xp)},Fjn.Wb=function(n){throw hp(new xp)},EF(exn,"AbstractEList/NonResolvingEListIterator",385),Wfn(1982,67,mDn),Fjn.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=(i=t.gc())){for(e=d6(this,(s=null==(o=Yx(H3(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&smn(o,n,e,n+i,h),u=t.Kc(),c=0;ce)throw hp(new jN(n,e));return new PB(this,n)},Fjn.$b=function(){var n,t;++this.j,t=null==(n=Yx(H3(this.a,4),126))?0:n.length,xtn(this,null),XQ(this,t,n)},Fjn.Hc=function(n){var t,e,i,r;if(null!=(t=Yx(H3(this.a,4),126)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=Yx(H3(this.a,4),126))?0:t.length))throw hp(new jN(n,e));return t[n]},Fjn.Xc=function(n){var t,e,i;if(null!=(t=Yx(H3(this.a,4),126)))if(null!=n){for(e=0,i=t.length;ee)throw hp(new jN(n,e));return new SB(this,n)},Fjn.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=Hnn(this))?0:e.length))throw hp(new Hm(jxn+n+Exn+r));if(t>=r)throw hp(new Hm(Txn+t+Exn+r));return i=e[t],n!=t&&(n=(a=null==(e=Yx(H3(n.a,4),126))?0:e.length))throw hp(new jN(t,a));return r=e[t],1==a?i=null:(smn(e,0,i=VQ(Oct,vDn,415,a-1,0,1),0,t),(c=a-t-1)>0&&smn(e,t+1,i,t,c)),xtn(n,i),_sn(n,t,r),r}(this,n)},Fjn.mi=function(n,t){var e,i;return i=(e=Hnn(this))[n],FC(e,n,k6(this,t)),xtn(this,e),i},Fjn.gc=function(){var n;return null==(n=Yx(H3(this.a,4),126))?0:n.length},Fjn.Pc=function(){var n,t,e;return e=null==(n=Yx(H3(this.a,4),126))?0:n.length,t=VQ(Oct,vDn,415,e,0,1),e>0&&smn(n,0,t,0,e),t},Fjn.Qc=function(n){var t,e;return(e=null==(t=Yx(H3(this.a,4),126))?0:t.length)>0&&(n.lengthe&&DF(n,e,null),n},EF(exn,"ArrayDelegatingEList",1982),Wfn(1038,40,fEn,fV),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},Fjn.Qb=function(){tan(this),this.a=Yx(H3(this.b.a,4),126)},EF(exn,"ArrayDelegatingEList/EIterator",1038),Wfn(706,278,yEn,b_,SB),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},Fjn.pj=function(n){Rin(this,n),this.a=Yx(H3(this.b.a,4),126)},Fjn.Qb=function(){tan(this),this.a=Yx(H3(this.b.a,4),126)},EF(exn,"ArrayDelegatingEList/EListIterator",706),Wfn(1039,341,fEn,lV),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},EF(exn,"ArrayDelegatingEList/NonResolvingEIterator",1039),Wfn(707,385,yEn,w_,PB),Fjn.mj=function(){if(this.b.j!=this.f||iI(Yx(H3(this.b.a,4),126))!==iI(this.a))throw hp(new Dp)},EF(exn,"ArrayDelegatingEList/NonResolvingEListIterator",707),Wfn(606,295,VTn,BI),EF(exn,"BasicEList/BasicIndexOutOfBoundsException",606),Wfn(696,63,Mxn,QP),Fjn.Vc=function(n,t){throw hp(new xp)},Fjn.Fc=function(n){throw hp(new xp)},Fjn.Wc=function(n,t){throw hp(new xp)},Fjn.Gc=function(n){throw hp(new xp)},Fjn.$b=function(){throw hp(new xp)},Fjn.qi=function(n){throw hp(new xp)},Fjn.Kc=function(){return this.Zh()},Fjn.Yc=function(){return this.$h()},Fjn.Zc=function(n){return this._h(n)},Fjn.ii=function(n,t){throw hp(new xp)},Fjn.ji=function(n,t){throw hp(new xp)},Fjn.$c=function(n){throw hp(new xp)},Fjn.Mc=function(n){throw hp(new xp)},Fjn._c=function(n,t){throw hp(new xp)},EF(exn,"BasicEList/UnmodifiableEList",696),Wfn(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),Fjn.Vc=function(n,t){!function(n,t,e){n.c.Vc(t,Yx(e,133))}(this,n,Yx(t,42))},Fjn.Fc=function(n){return function(n,t){return n.c.Fc(Yx(t,133))}(this,Yx(n,42))},Fjn.Jc=function(n){XW(this,n)},Fjn.Xb=function(n){return Yx(c1(this.c,n),133)},Fjn.ii=function(n,t){return Yx(this.c.ii(n,t),42)},Fjn.ji=function(n,t){!function(n,t,e){n.c.ji(t,Yx(e,133))}(this,n,Yx(t,42))},Fjn.Lc=function(){return new SR(null,new Nz(this,16))},Fjn.$c=function(n){return Yx(this.c.$c(n),42)},Fjn._c=function(n,t){return function(n,t,e){return Yx(n.c._c(t,Yx(e,133)),42)}(this,n,Yx(t,42))},Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return new Nz(this,16)},Fjn.Oc=function(){return new SR(null,new Nz(this,16))},Fjn.Wc=function(n,t){return this.c.Wc(n,t)},Fjn.Gc=function(n){return this.c.Gc(n)},Fjn.$b=function(){this.c.$b()},Fjn.Hc=function(n){return this.c.Hc(n)},Fjn.Ic=function(n){return m4(this.c,n)},Fjn.qj=function(){var n,t;if(null==this.d){for(this.d=VQ(Ect,yDn,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)tin(this,Yx(n.nj(),133));this.e=t}},Fjn.Fb=function(n){return UN(this,n)},Fjn.Hb=function(){return L4(this.c)},Fjn.Xc=function(n){return this.c.Xc(n)},Fjn.rj=function(){this.c=new Lg(this)},Fjn.dc=function(){return 0==this.f},Fjn.Kc=function(){return this.c.Kc()},Fjn.Yc=function(){return this.c.Yc()},Fjn.Zc=function(n){return this.c.Zc(n)},Fjn.sj=function(){return UQ(this)},Fjn.tj=function(n,t,e){return new Kx(n,t,e)},Fjn.uj=function(){return new vo},Fjn.Mc=function(n){return w0(this,n)},Fjn.gc=function(){return this.f},Fjn.bd=function(n,t){return new Oz(this.c,n,t)},Fjn.Pc=function(){return this.c.Pc()},Fjn.Qc=function(n){return this.c.Qc(n)},Fjn.Ib=function(){return D7(this.c)},Fjn.e=0,Fjn.f=0,EF(exn,"BasicEMap",705),Wfn(1033,63,Mxn,Lg),Fjn.bi=function(n,t){!function(n,t){tin(n.a,t)}(this,Yx(t,133))},Fjn.ei=function(n,t,e){++(this,Yx(t,133),this).a.e},Fjn.fi=function(n,t){!function(n,t){N9(n.a,t)}(this,Yx(t,133))},Fjn.gi=function(n,t,e){!function(n,t,e){N9(n.a,e),tin(n.a,t)}(this,Yx(t,133),Yx(e,133))},Fjn.di=function(n,t){A3(this.a)},EF(exn,"BasicEMap/1",1033),Wfn(1034,63,Mxn,vo),Fjn.ri=function(n){return VQ(Lct,kDn,612,n,0,1)},EF(exn,"BasicEMap/2",1034),Wfn(1035,dEn,gEn,Ng),Fjn.$b=function(){this.a.c.$b()},Fjn.Hc=function(n){return mnn(this.a,n)},Fjn.Kc=function(){return 0==this.a.f?(iL(),$ct.a):new Tk(this.a)},Fjn.Mc=function(n){var t;return t=this.a.f,ttn(this.a,n),this.a.f!=t},Fjn.gc=function(){return this.a.f},EF(exn,"BasicEMap/3",1035),Wfn(1036,28,wEn,xg),Fjn.$b=function(){this.a.c.$b()},Fjn.Hc=function(n){return Idn(this.a,n)},Fjn.Kc=function(){return 0==this.a.f?(iL(),$ct.a):new Mk(this.a)},Fjn.gc=function(){return this.a.f},EF(exn,"BasicEMap/4",1036),Wfn(1037,dEn,gEn,Dg),Fjn.$b=function(){this.a.c.$b()},Fjn.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&CO(n,42)&&(this.a.qj(),r=null==(u=(o=Yx(n,42)).cd())?0:W5(u),c=KL(this.a,r),t=this.a.d[c]))for(e=Yx(t.g,367),s=t.i,a=0;a"+this.c},Fjn.a=0;var $ct,Lct=EF(exn,"BasicEMap/EntryImpl",612);Wfn(536,1,{},oo),EF(exn,"BasicEMap/View",536),Wfn(768,1,{}),Fjn.Fb=function(n){return sln((XH(),TFn),n)},Fjn.Hb=function(){return K5((XH(),TFn))},Fjn.Ib=function(){return Gun((XH(),TFn))},EF(exn,"ECollections/BasicEmptyUnmodifiableEList",768),Wfn(1312,1,yEn,mo),Fjn.Nb=function(n){I_(this,n)},Fjn.Rb=function(n){throw hp(new xp)},Fjn.Ob=function(){return!1},Fjn.Sb=function(){return!1},Fjn.Pb=function(){throw hp(new Kp)},Fjn.Tb=function(){return 0},Fjn.Ub=function(){throw hp(new Kp)},Fjn.Vb=function(){return-1},Fjn.Qb=function(){throw hp(new xp)},Fjn.Wb=function(n){throw hp(new xp)},EF(exn,"ECollections/BasicEmptyUnmodifiableEList/1",1312),Wfn(1310,768,{20:1,14:1,15:1,58:1},Rv),Fjn.Vc=function(n,t){wj()},Fjn.Fc=function(n){return dj()},Fjn.Wc=function(n,t){return gj()},Fjn.Gc=function(n){return pj()},Fjn.$b=function(){vj()},Fjn.Hc=function(n){return!1},Fjn.Ic=function(n){return!1},Fjn.Jc=function(n){XW(this,n)},Fjn.Xb=function(n){return CI((XH(),n)),null},Fjn.Xc=function(n){return-1},Fjn.dc=function(){return!0},Fjn.Kc=function(){return this.a},Fjn.Yc=function(){return this.a},Fjn.Zc=function(n){return this.a},Fjn.ii=function(n,t){return mj()},Fjn.ji=function(n,t){yj()},Fjn.Lc=function(){return new SR(null,new Nz(this,16))},Fjn.$c=function(n){return kj()},Fjn.Mc=function(n){return jj()},Fjn._c=function(n,t){return Ej()},Fjn.gc=function(){return 0},Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return new Nz(this,16)},Fjn.Oc=function(){return new SR(null,new Nz(this,16))},Fjn.bd=function(n,t){return XH(),new Oz(TFn,n,t)},Fjn.Pc=function(){return CK((XH(),TFn))},Fjn.Qc=function(n){return XH(),_in(TFn,n)},EF(exn,"ECollections/EmptyUnmodifiableEList",1310),Wfn(1311,768,{20:1,14:1,15:1,58:1,589:1},Kv),Fjn.Vc=function(n,t){wj()},Fjn.Fc=function(n){return dj()},Fjn.Wc=function(n,t){return gj()},Fjn.Gc=function(n){return pj()},Fjn.$b=function(){vj()},Fjn.Hc=function(n){return!1},Fjn.Ic=function(n){return!1},Fjn.Jc=function(n){XW(this,n)},Fjn.Xb=function(n){return CI((XH(),n)),null},Fjn.Xc=function(n){return-1},Fjn.dc=function(){return!0},Fjn.Kc=function(){return this.a},Fjn.Yc=function(){return this.a},Fjn.Zc=function(n){return this.a},Fjn.ii=function(n,t){return mj()},Fjn.ji=function(n,t){yj()},Fjn.Lc=function(){return new SR(null,new Nz(this,16))},Fjn.$c=function(n){return kj()},Fjn.Mc=function(n){return jj()},Fjn._c=function(n,t){return Ej()},Fjn.gc=function(){return 0},Fjn.ad=function(n){I2(this,n)},Fjn.Nc=function(){return new Nz(this,16)},Fjn.Oc=function(){return new SR(null,new Nz(this,16))},Fjn.bd=function(n,t){return XH(),new Oz(TFn,n,t)},Fjn.Pc=function(){return CK((XH(),TFn))},Fjn.Qc=function(n){return XH(),_in(TFn,n)},Fjn.sj=function(){return XH(),XH(),MFn},EF(exn,"ECollections/EmptyUnmodifiableEMap",1311);var Nct,xct=aR(exn,"Enumerator");Wfn(281,1,{281:1},xdn),Fjn.Fb=function(n){var t;return this===n||!!CO(n,281)&&(t=Yx(n,281),this.f==t.f&&function(n,t){return null==n?null==t:vtn(n,t)}(this.i,t.i)&&QR(this.a,0!=(256&this.f)?0!=(256&t.f)?t.a:null:0!=(256&t.f)?null:t.a)&&QR(this.d,t.d)&&QR(this.g,t.g)&&QR(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.Bh(e):Ehn(n,t)},EF(PNn,"BasicEObjectImpl/4",1027),Wfn(1983,1,{108:1}),Fjn.bk=function(n){this.e=0==n?Fat:VQ(UKn,iEn,1,n,5,1)},Fjn.Ch=function(n){return this.e[n]},Fjn.Dh=function(n,t){this.e[n]=t},Fjn.Eh=function(n){this.e[n]=null},Fjn.ck=function(){return this.c},Fjn.dk=function(){throw hp(new xp)},Fjn.ek=function(){throw hp(new xp)},Fjn.fk=function(){return this.d},Fjn.gk=function(){return null!=this.e},Fjn.hk=function(n){this.c=n},Fjn.ik=function(n){throw hp(new xp)},Fjn.jk=function(n){throw hp(new xp)},Fjn.kk=function(n){this.d=n},EF(PNn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),Wfn(185,1983,{108:1},Df),Fjn.dk=function(){return this.a},Fjn.ek=function(){return this.b},Fjn.ik=function(n){this.a=n},Fjn.jk=function(n){this.b=n},EF(PNn,"BasicEObjectImpl/EPropertiesHolderImpl",185),Wfn(506,97,SNn,yo),Fjn.Kg=function(){return this.f},Fjn.Pg=function(){return this.k},Fjn.Rg=function(n,t){this.g=n,this.i=t},Fjn.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},Fjn.Vg=function(){return this.i},Fjn.Mg=function(){return 0!=(1&this.j)},Fjn.eh=function(){return this.g},Fjn.kh=function(){return 0!=(4&this.j)},Fjn.ph=function(){return!this.k&&(this.k=new Df),this.k},Fjn.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},Fjn.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},Fjn.zh=function(){return(YF(),gat).S},Fjn.i=0,Fjn.j=1,EF(PNn,"EObjectImpl",506),Wfn(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},SD),Fjn.Ch=function(n){return this.e[n]},Fjn.Dh=function(n,t){this.e[n]=t},Fjn.Eh=function(n){this.e[n]=null},Fjn.Tg=function(){return this.d},Fjn.Yg=function(n){return tnn(this.d,n)},Fjn.$g=function(){return this.d},Fjn.dh=function(){return null!=this.e},Fjn.ph=function(){return!this.k&&(this.k=new ko),this.k},Fjn.th=function(n){this.d=n},Fjn.yh=function(){var n;return null==this.e&&(n=vF(this.d),this.e=0==n?Bat:VQ(UKn,iEn,1,n,5,1)),this},Fjn.Ah=function(){return 0},EF(PNn,"DynamicEObjectImpl",780),Wfn(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},rR),Fjn.Fb=function(n){return this===n},Fjn.Hb=function(){return _A(this)},Fjn.th=function(n){this.d=n,this.b=Ybn(n,"key"),this.c=Ybn(n,KNn)},Fjn.Sh=function(){var n;return-1==this.a&&(n=KJ(this,this.b),this.a=null==n?0:W5(n)),this.a},Fjn.cd=function(){return KJ(this,this.b)},Fjn.dd=function(){return KJ(this,this.c)},Fjn.Th=function(n){this.a=n},Fjn.Uh=function(n){bG(this,this.b,n)},Fjn.ed=function(n){var t;return t=KJ(this,this.c),bG(this,this.c,n),t},Fjn.a=0,EF(PNn,"DynamicEObjectImpl/BasicEMapEntry",1376),Wfn(1377,1,{108:1},ko),Fjn.bk=function(n){throw hp(new xp)},Fjn.Ch=function(n){throw hp(new xp)},Fjn.Dh=function(n,t){throw hp(new xp)},Fjn.Eh=function(n){throw hp(new xp)},Fjn.ck=function(){throw hp(new xp)},Fjn.dk=function(){return this.a},Fjn.ek=function(){return this.b},Fjn.fk=function(){return this.c},Fjn.gk=function(){throw hp(new xp)},Fjn.hk=function(n){throw hp(new xp)},Fjn.ik=function(n){this.a=n},Fjn.jk=function(n){this.b=n},Fjn.kk=function(n){this.c=n},EF(PNn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),Wfn(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},jo),Fjn.Qg=function(n){return tcn(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new z$((xjn(),Dat),out,this)),this.b):(!this.b&&(this.b=new z$((xjn(),Dat),out,this)),UQ(this.b));case 3:return FG(this);case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),this.a;case 5:return!this.c&&(this.c=new JO(Wrt,this,5)),this.c}return RY(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?tcn(this,e):this.Cb.ih(this,-1-i,null,e)),jK(this,Yx(n,147),e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),pat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),pat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 2:return!this.b&&(this.b=new z$((xjn(),Dat),out,this)),YN(this.b,n,e);case 3:return jK(this,null,e);case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),Ten(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),pat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),pat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!FG(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return xX(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void function(n,t){B0(n,null==t?null:(vB(t),t))}(this,lL(t));case 2:return!this.b&&(this.b=new z$((xjn(),Dat),out,this)),void P3(this.b,t);case 3:return void Wbn(this,Yx(t,147));case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),Hmn(this.a),!this.a&&(this.a=new XO(Wrt,this,4)),void jF(this.a,Yx(t,14));case 5:return!this.c&&(this.c=new JO(Wrt,this,5)),Hmn(this.c),!this.c&&(this.c=new JO(Wrt,this,5)),void jF(this.c,Yx(t,14))}E7(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n),t)},Fjn.zh=function(){return xjn(),pat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void B0(this,null);case 2:return!this.b&&(this.b=new z$((xjn(),Dat),out,this)),void this.b.c.$b();case 3:return void Wbn(this,null);case 4:return!this.a&&(this.a=new XO(Wrt,this,4)),void Hmn(this.a);case 5:return!this.c&&(this.c=new JO(Wrt,this,5)),void Hmn(this.c)}r9(this,n-vF((xjn(),pat)),CZ(Yx(H3(this,16),26)||pat,n))},Fjn.Ib=function(){return o9(this)},Fjn.d=null,EF(PNn,"EAnnotationImpl",510),Wfn(151,705,RDn,yY),Fjn.Xh=function(n,t){!function(n,t,e){Yx(n.c,69).Xh(t,e)}(this,n,Yx(t,42))},Fjn.lk=function(n,t){return function(n,t,e){return Yx(n.c,69).lk(t,e)}(this,Yx(n,42),t)},Fjn.pi=function(n){return Yx(Yx(this.c,69).pi(n),133)},Fjn.Zh=function(){return Yx(this.c,69).Zh()},Fjn.$h=function(){return Yx(this.c,69).$h()},Fjn._h=function(n){return Yx(this.c,69)._h(n)},Fjn.mk=function(n,t){return YN(this,n,t)},Fjn.Wj=function(n){return Yx(this.c,76).Wj(n)},Fjn.rj=function(){},Fjn.fj=function(){return Yx(this.c,76).fj()},Fjn.tj=function(n,t,e){var i;return(i=Yx(i1(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},Fjn.uj=function(){return new Jg(this)},Fjn.Wb=function(n){P3(this,n)},Fjn.Xj=function(){Yx(this.c,76).Xj()},EF(xDn,"EcoreEMap",151),Wfn(158,151,RDn,z$),Fjn.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=VQ(Ect,yDn,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=Yx(e.nj(),133)).Sh()&Yjn)%r.length])&&(n=r[i]=new Jg(this)),n.Fc(t);this.d=r}},EF(PNn,"EAnnotationImpl/1",158),Wfn(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),!!this.$j();case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i)}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void this.Lh(lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void _1(this,Yx(t,19).a);case 5:return void this.ok(Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi())}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),Kat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void this.Lh(null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void _1(this,0);case 5:return void this.ok(1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi())}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.Gh=function(){fcn(this),this.Bb|=1},Fjn.Yj=function(){return fcn(this)},Fjn.Zj=function(){return this.t},Fjn.$j=function(){var n;return(n=this.t)>1||-1==n},Fjn.hi=function(){return 0!=(512&this.Bb)},Fjn.nk=function(n,t){return z8(this,n,t)},Fjn.ok=function(n){F1(this,n)},Fjn.Ib=function(){return Sfn(this)},Fjn.s=0,Fjn.t=1,EF(PNn,"ETypedElementImpl",284),Wfn(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),Fjn.Qg=function(n){return Arn(this,n)},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),!!this.$j();case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return TA(),0!=(this.Bb&DNn);case 11:return TA(),0!=(this.Bb&FDn);case 12:return TA(),0!=(this.Bb&nMn);case 13:return this.j;case 14:return Pbn(this);case 15:return TA(),0!=(this.Bb&_Dn);case 16:return TA(),0!=(this.Bb&MEn);case 17:return HG(this)}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?Arn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,17,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Qj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e);case 17:return opn(this,null,17,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return 0==(this.Bb&DNn);case 11:return 0!=(this.Bb&FDn);case 12:return 0!=(this.Bb&nMn);case 13:return null!=this.j;case 14:return null!=Pbn(this);case 15:return 0!=(this.Bb&_Dn);case 16:return 0!=(this.Bb&MEn);case 17:return!!HG(this)}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void yz(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void _1(this,Yx(t,19).a);case 5:return void this.ok(Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 10:return void x9(this,ny(hL(t)));case 11:return void K9(this,ny(hL(t)));case 12:return void D9(this,ny(hL(t)));case 13:return void ZP(this,lL(t));case 15:return void R9(this,ny(hL(t)));case 16:return void H9(this,ny(hL(t)))}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),Rat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),4),void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void _1(this,0);case 5:return void this.ok(1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 10:return void x9(this,!0);case 11:return void K9(this,!1);case 12:return void D9(this,!1);case 13:return this.i=null,void J0(this,null);case 15:return void R9(this,!1);case 16:return void H9(this,!1)}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.Gh=function(){nH(PJ((wsn(),wut),this)),fcn(this),this.Bb|=1},Fjn.Gj=function(){return this.f},Fjn.zj=function(){return Pbn(this)},Fjn.Hj=function(){return HG(this)},Fjn.Lj=function(){return null},Fjn.pk=function(){return this.k},Fjn.aj=function(){return this.n},Fjn.Mj=function(){return fan(this)},Fjn.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=HG(this)).i&&svn(e),e.i).length,(i=this.Lj())&&vF(HG(i)),n=(a=(r=fcn(this)).Bj())?0!=(1&a.i)?a==Vot?D_n:a==Wot?U_n:a==Zot?q_n:a==Jot?H_n:a==Qot?J_n:a==nst?nFn:a==Yot?__n:B_n:a:null,t=Pbn(this),u=r.zj(),s7(this),0!=(this.Bb&MEn)&&((c=Dcn((wsn(),wut),e))&&c!=this||(c=Bz(PJ(wut,this))))?this.p=new zP(this,c):this.$j()?this.rk()?i?0!=(this.Bb&_Dn)?n?this.sk()?this.p=new LH(47,n,this,i):this.p=new LH(5,n,this,i):this.sk()?this.p=new sW(46,this,i):this.p=new sW(4,this,i):n?this.sk()?this.p=new LH(49,n,this,i):this.p=new LH(7,n,this,i):this.sk()?this.p=new sW(48,this,i):this.p=new sW(6,this,i):0!=(this.Bb&_Dn)?n?n==i_n?this.p=new _x(50,hct,this):this.sk()?this.p=new _x(43,n,this):this.p=new _x(1,n,this):this.sk()?this.p=new Hq(42,this):this.p=new Hq(0,this):n?n==i_n?this.p=new _x(41,hct,this):this.sk()?this.p=new _x(45,n,this):this.p=new _x(3,n,this):this.sk()?this.p=new Hq(44,this):this.p=new Hq(2,this):CO(r,148)?n==Xat?this.p=new Hq(40,this):0!=(512&this.Bb)?0!=(this.Bb&_Dn)?this.p=n?new _x(9,n,this):new Hq(8,this):this.p=n?new _x(11,n,this):new Hq(10,this):0!=(this.Bb&_Dn)?this.p=n?new _x(13,n,this):new Hq(12,this):this.p=n?new _x(15,n,this):new Hq(14,this):i?(o=i.t)>1||-1==o?this.sk()?0!=(this.Bb&_Dn)?this.p=n?new LH(25,n,this,i):new sW(24,this,i):this.p=n?new LH(27,n,this,i):new sW(26,this,i):0!=(this.Bb&_Dn)?this.p=n?new LH(29,n,this,i):new sW(28,this,i):this.p=n?new LH(31,n,this,i):new sW(30,this,i):this.sk()?0!=(this.Bb&_Dn)?this.p=n?new LH(33,n,this,i):new sW(32,this,i):this.p=n?new LH(35,n,this,i):new sW(34,this,i):0!=(this.Bb&_Dn)?this.p=n?new LH(37,n,this,i):new sW(36,this,i):this.p=n?new LH(39,n,this,i):new sW(38,this,i):this.sk()?0!=(this.Bb&_Dn)?this.p=n?new _x(17,n,this):new Hq(16,this):this.p=n?new _x(19,n,this):new Hq(18,this):0!=(this.Bb&_Dn)?this.p=n?new _x(21,n,this):new Hq(20,this):this.p=n?new _x(23,n,this):new Hq(22,this):this.qk()?this.sk()?this.p=new Fx(Yx(r,26),this,i):this.p=new tG(Yx(r,26),this,i):CO(r,148)?n==Xat?this.p=new Hq(40,this):0!=(this.Bb&_Dn)?this.p=n?new SK(t,u,this,(onn(),a==Wot?rut:a==Vot?Zat:a==Qot?cut:a==Zot?iut:a==Jot?eut:a==nst?uut:a==Yot?nut:a==Xot?tut:aut)):new DH(Yx(r,148),t,u,this):this.p=n?new MK(t,u,this,(onn(),a==Wot?rut:a==Vot?Zat:a==Qot?cut:a==Zot?iut:a==Jot?eut:a==nst?uut:a==Yot?nut:a==Xot?tut:aut)):new xH(Yx(r,148),t,u,this):this.rk()?i?0!=(this.Bb&_Dn)?this.sk()?this.p=new Ux(Yx(r,26),this,i):this.p=new zx(Yx(r,26),this,i):this.sk()?this.p=new Gx(Yx(r,26),this,i):this.p=new Bx(Yx(r,26),this,i):0!=(this.Bb&_Dn)?this.sk()?this.p=new V$(Yx(r,26),this):this.p=new W$(Yx(r,26),this):this.sk()?this.p=new X$(Yx(r,26),this):this.p=new U$(Yx(r,26),this):this.sk()?i?0!=(this.Bb&_Dn)?this.p=new Xx(Yx(r,26),this,i):this.p=new Hx(Yx(r,26),this,i):0!=(this.Bb&_Dn)?this.p=new Y$(Yx(r,26),this):this.p=new Q$(Yx(r,26),this):i?0!=(this.Bb&_Dn)?this.p=new Wx(Yx(r,26),this,i):this.p=new qx(Yx(r,26),this,i):0!=(this.Bb&_Dn)?this.p=new J$(Yx(r,26),this):this.p=new KR(Yx(r,26),this)),this.p},Fjn.Ij=function(){return 0!=(this.Bb&DNn)},Fjn.qk=function(){return!1},Fjn.rk=function(){return!1},Fjn.Jj=function(){return 0!=(this.Bb&MEn)},Fjn.Oj=function(){return GJ(this)},Fjn.sk=function(){return!1},Fjn.Kj=function(){return 0!=(this.Bb&_Dn)},Fjn.tk=function(n){this.k=n},Fjn.Lh=function(n){yz(this,n)},Fjn.Ib=function(){return Qdn(this)},Fjn.e=!1,Fjn.n=0,EF(PNn,"EStructuralFeatureImpl",449),Wfn(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},qv),Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),!!Bhn(this);case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return TA(),0!=(this.Bb&DNn);case 11:return TA(),0!=(this.Bb&FDn);case 12:return TA(),0!=(this.Bb&nMn);case 13:return this.j;case 14:return Pbn(this);case 15:return TA(),0!=(this.Bb&_Dn);case 16:return TA(),0!=(this.Bb&MEn);case 17:return HG(this);case 18:return TA(),0!=(this.Bb&MNn);case 19:return t?v4(this):uQ(this)}return RY(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n),t,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Bhn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return 0==(this.Bb&DNn);case 11:return 0!=(this.Bb&FDn);case 12:return 0!=(this.Bb&nMn);case 13:return null!=this.j;case 14:return null!=Pbn(this);case 15:return 0!=(this.Bb&_Dn);case 16:return 0!=(this.Bb&MEn);case 17:return!!HG(this);case 18:return 0!=(this.Bb&MNn);case 19:return!!uQ(this)}return xX(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void yz(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void _1(this,Yx(t,19).a);case 5:return void Ck(this,Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 10:return void x9(this,ny(hL(t)));case 11:return void K9(this,ny(hL(t)));case 12:return void D9(this,ny(hL(t)));case 13:return void ZP(this,lL(t));case 15:return void R9(this,ny(hL(t)));case 16:return void H9(this,ny(hL(t)));case 18:return void q9(this,ny(hL(t)))}E7(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n),t)},Fjn.zh=function(){return xjn(),vat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),4),void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void _1(this,0);case 5:return this.b=0,void F1(this,1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 10:return void x9(this,!0);case 11:return void K9(this,!1);case 12:return void D9(this,!1);case 13:return this.i=null,void J0(this,null);case 15:return void R9(this,!1);case 16:return void H9(this,!1);case 18:return void q9(this,!1)}r9(this,n-vF((xjn(),vat)),CZ(Yx(H3(this,16),26)||vat,n))},Fjn.Gh=function(){v4(this),nH(PJ((wsn(),wut),this)),fcn(this),this.Bb|=1},Fjn.$j=function(){return Bhn(this)},Fjn.nk=function(n,t){return this.b=0,this.a=null,z8(this,n,t)},Fjn.ok=function(n){Ck(this,n)},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Qdn(this):((n=new MA(Qdn(this))).a+=" (iD: ",nj(n,0!=(this.Bb&MNn)),n.a+=")",n.a)},Fjn.b=0,EF(PNn,"EAttributeImpl",322),Wfn(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),Fjn.uk=function(n){return n.Tg()==this},Fjn.Qg=function(n){return prn(this,n)},Fjn.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frn(this);case 4:return this.zj();case 5:return this.F;case 6:return t?i1(this):BG(this);case 7:return!this.A&&(this.A=new VO(zat,this,7)),this.A}return RY(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?prn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,6,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Qj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 6:return opn(this,null,6,e);case 7:return!this.A&&(this.A=new VO(zat,this,7)),Ten(this.A,n,e)}return Yx(CZ(Yx(H3(this,16),26)||this.zh(),t),66).Nj().Rj(this,dtn(this),t-vF(this.zh()),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frn(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!BG(this);case 7:return!!this.A&&0!=this.A.i}return xX(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void kz(this,lL(t));case 2:return void MC(this,lL(t));case 5:return void uyn(this,lL(t));case 7:return!this.A&&(this.A=new VO(zat,this,7)),Hmn(this.A),!this.A&&(this.A=new VO(zat,this,7)),void jF(this.A,Yx(t,14))}E7(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n),t)},Fjn.zh=function(){return xjn(),yat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,179)&&(Yx(this.Cb,179).tb=null),void E2(this,null);case 2:return j6(this,null),void B1(this,this.D);case 5:return void uyn(this,null);case 7:return!this.A&&(this.A=new VO(zat,this,7)),void Hmn(this.A)}r9(this,n-vF(this.zh()),CZ(Yx(H3(this,16),26)||this.zh(),n))},Fjn.yj=function(){var n;return-1==this.G&&(this.G=(n=i1(this))?Ren(n.Mh(),this):-1),this.G},Fjn.zj=function(){return null},Fjn.Aj=function(){return i1(this)},Fjn.vk=function(){return this.v},Fjn.Bj=function(){return frn(this)},Fjn.Cj=function(){return null!=this.D?this.D:this.B},Fjn.Dj=function(){return this.F},Fjn.wj=function(n){return Ypn(this,n)},Fjn.wk=function(n){this.v=n},Fjn.xk=function(n){N2(this,n)},Fjn.yk=function(n){this.C=n},Fjn.Lh=function(n){kz(this,n)},Fjn.Ib=function(){return nnn(this)},Fjn.C=null,Fjn.D=null,Fjn.G=-1,EF(PNn,"EClassifierImpl",351),Wfn(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Rf),Fjn.uk=function(n){return function(n,t){return t==n||Fcn(mbn(t),n)}(this,n.Tg())},Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frn(this);case 4:return null;case 5:return this.F;case 6:return t?i1(this):BG(this);case 7:return!this.A&&(this.A=new VO(zat,this,7)),this.A;case 8:return TA(),0!=(256&this.Bb);case 9:return TA(),0!=(512&this.Bb);case 10:return Iq(this);case 11:return!this.q&&(this.q=new m_(fat,this,11,10)),this.q;case 12:return emn(this);case 13:return Uvn(this);case 14:return Uvn(this),this.r;case 15:return emn(this),this.k;case 16:return $sn(this);case 17:return Avn(this);case 18:return svn(this);case 19:return mbn(this);case 20:return emn(this),this.o;case 21:return!this.s&&(this.s=new m_(tat,this,21,17)),this.s;case 22:return tW(this);case 23:return Edn(this)}return RY(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?prn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,6,e);case 11:return!this.q&&(this.q=new m_(fat,this,11,10)),wnn(this.q,n,e);case 21:return!this.s&&(this.s=new m_(tat,this,21,17)),wnn(this.s,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),mat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),mat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 6:return opn(this,null,6,e);case 7:return!this.A&&(this.A=new VO(zat,this,7)),Ten(this.A,n,e);case 11:return!this.q&&(this.q=new m_(fat,this,11,10)),Ten(this.q,n,e);case 21:return!this.s&&(this.s=new m_(tat,this,21,17)),Ten(this.s,n,e);case 22:return Ten(tW(this),n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),mat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),mat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frn(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!BG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==tW(this.u.a).i||this.n&&sin(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=emn(this).i;case 13:return 0!=Uvn(this).i;case 14:return Uvn(this),0!=this.r.i;case 15:return emn(this),0!=this.k.i;case 16:return 0!=$sn(this).i;case 17:return 0!=Avn(this).i;case 18:return 0!=svn(this).i;case 19:return 0!=mbn(this).i;case 20:return emn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&sin(this.n);case 23:return 0!=Edn(this).i}return xX(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n))},Fjn.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:Ybn(this,n))||jkn(this,n)},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void kz(this,lL(t));case 2:return void MC(this,lL(t));case 5:return void uyn(this,lL(t));case 7:return!this.A&&(this.A=new VO(zat,this,7)),Hmn(this.A),!this.A&&(this.A=new VO(zat,this,7)),void jF(this.A,Yx(t,14));case 8:return void h9(this,ny(hL(t)));case 9:return void b9(this,ny(hL(t)));case 10:return Wmn(Iq(this)),void jF(Iq(this),Yx(t,14));case 11:return!this.q&&(this.q=new m_(fat,this,11,10)),Hmn(this.q),!this.q&&(this.q=new m_(fat,this,11,10)),void jF(this.q,Yx(t,14));case 21:return!this.s&&(this.s=new m_(tat,this,21,17)),Hmn(this.s),!this.s&&(this.s=new m_(tat,this,21,17)),void jF(this.s,Yx(t,14));case 22:return Hmn(tW(this)),void jF(tW(this),Yx(t,14))}E7(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n),t)},Fjn.zh=function(){return xjn(),mat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,179)&&(Yx(this.Cb,179).tb=null),void E2(this,null);case 2:return j6(this,null),void B1(this,this.D);case 5:return void uyn(this,null);case 7:return!this.A&&(this.A=new VO(zat,this,7)),void Hmn(this.A);case 8:return void h9(this,!1);case 9:return void b9(this,!1);case 10:return void(this.u&&Wmn(this.u));case 11:return!this.q&&(this.q=new m_(fat,this,11,10)),void Hmn(this.q);case 21:return!this.s&&(this.s=new m_(tat,this,21,17)),void Hmn(this.s);case 22:return void(this.n&&Hmn(this.n))}r9(this,n-vF((xjn(),mat)),CZ(Yx(H3(this,16),26)||mat,n))},Fjn.Gh=function(){var n,t;if(emn(this),Uvn(this),$sn(this),Avn(this),svn(this),mbn(this),Edn(this),xV(function(n){return!n.c&&(n.c=new Bo),n.c}(bV(this))),this.s)for(n=0,t=this.s.i;n=0;--t)c1(this,t);return bnn(this,n)},Fjn.Xj=function(){Hmn(this)},Fjn.oi=function(n,t){return z1(this,0,t)},EF(xDn,"EcoreEList",622),Wfn(496,622,JDn,TD),Fjn.ai=function(){return!1},Fjn.aj=function(){return this.c},Fjn.bj=function(){return!1},Fjn.Fk=function(){return!0},Fjn.hi=function(){return!0},Fjn.li=function(n,t){return t},Fjn.ni=function(){return!1},Fjn.c=0,EF(xDn,"EObjectEList",496),Wfn(85,496,JDn,XO),Fjn.bj=function(){return!0},Fjn.Dk=function(){return!1},Fjn.rk=function(){return!0},EF(xDn,"EObjectContainmentEList",85),Wfn(545,85,JDn,WO),Fjn.ci=function(){this.b=!0},Fjn.fj=function(){return this.b},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.b,this.b=!1,K3(this.e,new OV(this.e,2,this.c,n,!1))):this.b=!1},Fjn.b=!1,EF(xDn,"EObjectContainmentEList/Unsettable",545),Wfn(1140,545,JDn,EK),Fjn.ii=function(n,t){var e,i;return e=Yx(L9(this,n,t),87),gC(this.e)&&Xp(this,new jY(this.a,7,(xjn(),kat),d9(t),CO(i=e.c,88)?Yx(i,26):Oat,n)),e},Fjn.jj=function(n,t){return function(n,t,e){var i,r;return i=new yJ(n.e,3,10,null,CO(r=t.c,88)?Yx(r,26):(xjn(),Oat),Ren(n,t),!1),e?e.Ei(i):e=i,e}(this,Yx(n,87),t)},Fjn.kj=function(n,t){return function(n,t,e){var i,r;return i=new yJ(n.e,4,10,CO(r=t.c,88)?Yx(r,26):(xjn(),Oat),null,Ren(n,t),!1),e?e.Ei(i):e=i,e}(this,Yx(n,87),t)},Fjn.lj=function(n,t,e){return function(n,t,e,i){var r,c,a;return r=new yJ(n.e,1,10,CO(a=t.c,88)?Yx(a,26):(xjn(),Oat),CO(c=e.c,88)?Yx(c,26):(xjn(),Oat),Ren(n,t),!1),i?i.Ei(r):i=r,i}(this,Yx(n,87),Yx(t,87),e)},Fjn.Zi=function(n,t,e,i,r){switch(n){case 3:return zG(this,n,t,e,i,this.i>1);case 5:return zG(this,n,t,e,i,this.i-Yx(e,15).gc()>0);default:return new yJ(this.e,n,this.c,t,e,i,!0)}},Fjn.ij=function(){return!0},Fjn.fj=function(){return sin(this)},Fjn.Xj=function(){Hmn(this)},EF(PNn,"EClassImpl/1",1140),Wfn(1154,1153,wDn),Fjn.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=function(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(n)))switch(e){case 1:case 9:null!=(u=n.Bi())&&(!(t=bV(Yx(u,473))).c&&(t.c=new Bo),qJ(t.c,n.Ai())),null!=(a=n.zi())&&0==(1&(r=Yx(a,473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),fY(t.c,Yx(n.Ai(),26)));break;case 3:null!=(a=n.zi())&&0==(1&(r=Yx(a,473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),fY(t.c,Yx(n.Ai(),26)));break;case 5:if(null!=(a=n.zi()))for(c=Yx(a,14).Kc();c.Ob();)0==(1&(r=Yx(c.Pb(),473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),fY(t.c,Yx(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&0==(1&(r=Yx(u,473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),qJ(t.c,n.Ai()));break;case 6:if(null!=(u=n.Bi()))for(c=Yx(u,14).Kc();c.Ob();)0==(1&(r=Yx(c.Pb(),473)).Bb)&&(!(t=bV(r)).c&&(t.c=new Bo),qJ(t.c,n.Ai()))}this.Hk(i)}},Fjn.Hk=function(n){Gdn(this,n)},Fjn.b=63,EF(PNn,"ESuperAdapter",1154),Wfn(1155,1154,wDn,Kg),Fjn.Hk=function(n){rhn(this,n)},EF(PNn,"EClassImpl/10",1155),Wfn(1144,696,JDn),Fjn.Vh=function(n,t){return hun(this,n,t)},Fjn.Wh=function(n){return $in(this,n)},Fjn.Xh=function(n,t){X8(this,n,t)},Fjn.Yh=function(n){NV(this,n)},Fjn.pi=function(n){return AY(this,n)},Fjn.mi=function(n,t){return HJ(this,n,t)},Fjn.lk=function(n,t){throw hp(new xp)},Fjn.Zh=function(){return new u$(this)},Fjn.$h=function(){return new o$(this)},Fjn._h=function(n){return b0(this,n)},Fjn.mk=function(n,t){throw hp(new xp)},Fjn.Wj=function(n){return this},Fjn.fj=function(){return 0!=this.i},Fjn.Wb=function(n){throw hp(new xp)},Fjn.Xj=function(){throw hp(new xp)},EF(xDn,"EcoreEList/UnmodifiableEList",1144),Wfn(319,1144,JDn,HI),Fjn.ni=function(){return!1},EF(xDn,"EcoreEList/UnmodifiableEList/FastCompare",319),Wfn(1147,319,JDn,p5),Fjn.Xc=function(n){var t,e;if(CO(n,170)&&-1!=(t=Yx(n,170).aj()))for(e=this.i;t4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=Yx(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),Yx(CZ(Cq(this.b),this.aj()).Yj(),26).Bj())==nin(Yx(CZ(Cq(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg())for(i=0;i1||-1==e)},Fjn.Dk=function(){var n;return!!CO(n=CZ(Cq(this.b),this.aj()),99)&&!!nin(Yx(n,18))},Fjn.Ek=function(){var n;return!!CO(n=CZ(Cq(this.b),this.aj()),99)&&0!=(Yx(n,18).Bb&eMn)},Fjn.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk())for(t=0,i=this.Vi();t=0;--n)hyn(this,n,this.Oi(n));return this.Wi()},Fjn.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)hyn(this,t,this.Oi(t));return this.Xi(n)},Fjn.Xj=function(){Wmn(this)},Fjn.oi=function(n,t){return $Y(this,0,t)},EF(xDn,"DelegatingEcoreEList",742),Wfn(1150,742,iRn,qL),Fjn.Hi=function(n,t){!function(n,t,e){y9(tW(n.a),t,Ez(e))}(this,n,Yx(t,26))},Fjn.Ii=function(n){!function(n,t){fY(tW(n.a),Ez(t))}(this,Yx(n,26))},Fjn.Oi=function(n){var t;return CO(t=Yx(c1(tW(this.a),n),87).c,88)?Yx(t,26):(xjn(),Oat)},Fjn.Ti=function(n){var t;return CO(t=Yx(tdn(tW(this.a),n),87).c,88)?Yx(t,26):(xjn(),Oat)},Fjn.Ui=function(n,t){return function(n,t,e){var i,r,c;return(0!=(64&(c=CO(r=(i=Yx(c1(tW(n.a),t),87)).c,88)?Yx(r,26):(xjn(),Oat)).Db)?P8(n.b,c):c)==e?Bpn(i):b1(i,e),c}(this,n,Yx(t,26))},Fjn.ai=function(){return!1},Fjn.Zi=function(n,t,e,i,r){return null},Fjn.Ji=function(){return new Fg(this)},Fjn.Ki=function(){Hmn(tW(this.a))},Fjn.Li=function(n){return a9(this,n)},Fjn.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!a9(this,t.Pb()))return!1;return!0},Fjn.Ni=function(n){var t,e,i;if(CO(n,15)&&(i=Yx(n,15)).gc()==tW(this.a).i){for(t=i.Kc(),e=new UO(this);t.Ob();)if(iI(t.Pb())!==iI(hen(e)))return!1;return!0}return!1},Fjn.Pi=function(){var n,t,e,i;for(t=1,n=new UO(tW(this.a));n.e!=n.i.gc();)t=31*t+((e=CO(i=Yx(hen(n),87).c,88)?Yx(i,26):(xjn(),Oat))?_A(e):0);return t},Fjn.Qi=function(n){var t,e,i,r;for(i=0,e=new UO(tW(this.a));e.e!=e.i.gc();){if(t=Yx(hen(e),87),iI(n)===iI(CO(r=t.c,88)?Yx(r,26):(xjn(),Oat)))return i;++i}return-1},Fjn.Ri=function(){return 0==tW(this.a).i},Fjn.Si=function(){return null},Fjn.Vi=function(){return tW(this.a).i},Fjn.Wi=function(){var n,t,e,i,r,c;for(c=tW(this.a).i,r=VQ(UKn,iEn,1,c,5,1),e=0,t=new UO(tW(this.a));t.e!=t.i.gc();)n=Yx(hen(t),87),r[e++]=CO(i=n.c,88)?Yx(i,26):(xjn(),Oat);return r},Fjn.Xi=function(n){var t,e,i,r;for(r=tW(this.a).i,n.lengthr&&DF(n,r,null),e=0,t=new UO(tW(this.a));t.e!=t.i.gc();)DF(n,e++,CO(i=Yx(hen(t),87).c,88)?Yx(i,26):(xjn(),Oat));return n},Fjn.Yi=function(){var n,t,e,i,r;for((r=new Cy).a+="[",n=tW(this.a),t=0,i=tW(this.a).i;t>16)>=0?prn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,6,e);case 9:return!this.a&&(this.a=new m_(sat,this,9,5)),wnn(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Eat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Eat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 6:return opn(this,null,6,e);case 7:return!this.A&&(this.A=new VO(zat,this,7)),Ten(this.A,n,e);case 9:return!this.a&&(this.a=new m_(sat,this,9,5)),Ten(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Eat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Eat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frn(this);case 4:return!!x6(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!BG(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return xX(this,n-vF((xjn(),Eat)),CZ(Yx(H3(this,16),26)||Eat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void kz(this,lL(t));case 2:return void MC(this,lL(t));case 5:return void uyn(this,lL(t));case 7:return!this.A&&(this.A=new VO(zat,this,7)),Hmn(this.A),!this.A&&(this.A=new VO(zat,this,7)),void jF(this.A,Yx(t,14));case 8:return void f9(this,ny(hL(t)));case 9:return!this.a&&(this.a=new m_(sat,this,9,5)),Hmn(this.a),!this.a&&(this.a=new m_(sat,this,9,5)),void jF(this.a,Yx(t,14))}E7(this,n-vF((xjn(),Eat)),CZ(Yx(H3(this,16),26)||Eat,n),t)},Fjn.zh=function(){return xjn(),Eat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,179)&&(Yx(this.Cb,179).tb=null),void E2(this,null);case 2:return j6(this,null),void B1(this,this.D);case 5:return void uyn(this,null);case 7:return!this.A&&(this.A=new VO(zat,this,7)),void Hmn(this.A);case 8:return void f9(this,!0);case 9:return!this.a&&(this.a=new m_(sat,this,9,5)),void Hmn(this.a)}r9(this,n-vF((xjn(),Eat)),CZ(Yx(H3(this,16),26)||Eat,n))},Fjn.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?Yx(this.Cb,671):null}return RY(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?ncn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,5,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Tat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Tat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 5:return opn(this,null,5,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Tat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Tat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!Yx(this.Cb,671))}return xX(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return void K1(this,Yx(t,19).a);case 3:return void hfn(this,Yx(t,1940));case 4:return void F0(this,lL(t))}E7(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n),t)},Fjn.zh=function(){return xjn(),Tat},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return void K1(this,0);case 3:return void hfn(this,null);case 4:return void F0(this,null)}r9(this,n-vF((xjn(),Tat)),CZ(Yx(H3(this,16),26)||Tat,n))},Fjn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},Fjn.b=null,Fjn.c=null,Fjn.d=0,EF(PNn,"EEnumLiteralImpl",573);var Wat,Vat,Qat,Yat=aR(PNn,"EFactoryImpl/InternalEDateTimeFormat");Wfn(489,1,{2015:1},Bg),EF(PNn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),Wfn(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},up),Fjn.Sg=function(n,t,e){var i;return e=opn(this,n,t,e),this.e&&CO(n,170)&&(i=dbn(this,this.e))!=this.c&&(e=zyn(this,i,e)),e},Fjn._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new XO(hat,this,1)),this.d;case 2:return t?Bpn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?win(this):this.a}return RY(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n),t,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return S8(this,null,e);case 1:return!this.d&&(this.d=new XO(hat,this,1)),Ten(this.d,n,e);case 3:return M8(this,null,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Sat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Sat)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return xX(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n))},Fjn.sh=function(n,t){switch(n){case 0:return void man(this,Yx(t,87));case 1:return!this.d&&(this.d=new XO(hat,this,1)),Hmn(this.d),!this.d&&(this.d=new XO(hat,this,1)),void jF(this.d,Yx(t,14));case 3:return void van(this,Yx(t,87));case 4:return void Xun(this,Yx(t,836));case 5:return void b1(this,Yx(t,138))}E7(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n),t)},Fjn.zh=function(){return xjn(),Sat},Fjn.Bh=function(n){switch(n){case 0:return void man(this,null);case 1:return!this.d&&(this.d=new XO(hat,this,1)),void Hmn(this.d);case 3:return void van(this,null);case 4:return void Xun(this,null);case 5:return void b1(this,null)}r9(this,n-vF((xjn(),Sat)),CZ(Yx(H3(this,16),26)||Sat,n))},Fjn.Ib=function(){var n;return(n=new SA(Kln(this))).a+=" (expression: ",wmn(this,n),n.a+=")",n.a},EF(PNn,"EGenericTypeImpl",241),Wfn(1969,1964,rRn),Fjn.Xh=function(n,t){DL(this,n,t)},Fjn.lk=function(n,t){return DL(this,this.gc(),n),t},Fjn.pi=function(n){return ken(this.Gi(),n)},Fjn.Zh=function(){return this.$h()},Fjn.Gi=function(){return new Qg(this)},Fjn.$h=function(){return this._h(0)},Fjn._h=function(n){return this.Gi().Zc(n)},Fjn.mk=function(n,t){return V7(this,n,!0),t},Fjn.ii=function(n,t){var e;return e=Urn(this,t),this.Zc(n).Rb(e),e},Fjn.ji=function(n,t){V7(this,t,!0),this.Zc(n).Rb(t)},EF(xDn,"AbstractSequentialInternalEList",1969),Wfn(486,1969,rRn,n$),Fjn.pi=function(n){return ken(this.Gi(),n)},Fjn.Zh=function(){return null==this.b?(jT(),jT(),Qat):this.Jk()},Fjn.Gi=function(){return new GI(this.a,this.b)},Fjn.$h=function(){return null==this.b?(jT(),jT(),Qat):this.Jk()},Fjn._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw hp(new Hm(pDn+n+", size=0"));return jT(),jT(),Qat}for(e=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=Vrt||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(c=this.b.bh(t,this.Lk()),this.f=(TT(),Yx(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=Yx(c,15),this.k=i):(i=Yx(c,69),this.k=this.j=i),CO(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?hsn(this,this.p):zsn(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=Yx(r,72)).ak(),e=n.dd(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},Fjn.Pb=function(){return X3(this)},Fjn.Tb=function(){return this.a},Fjn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw hp(new Kp)},Fjn.Vb=function(){return this.a-1},Fjn.Qb=function(){throw hp(new xp)},Fjn.Lk=function(){return!1},Fjn.Wb=function(n){throw hp(new xp)},Fjn.Mk=function(){return!0},Fjn.a=0,Fjn.d=0,Fjn.f=!1,Fjn.g=0,Fjn.n=0,Fjn.o=0,EF(xDn,"EContentsEList/FeatureIteratorImpl",279),Wfn(697,279,cRn,H$),Fjn.Lk=function(){return!0},EF(xDn,"EContentsEList/ResolvingFeatureIteratorImpl",697),Wfn(1157,697,cRn,G$),Fjn.Mk=function(){return!1},EF(PNn,"ENamedElementImpl/1/1",1157),Wfn(1158,279,cRn,q$),Fjn.Mk=function(){return!1},EF(PNn,"ENamedElementImpl/1/2",1158),Wfn(36,143,gDn,aW,uW,p_,kY,yJ,OV,W1,aU,V1,uU,PV,oU,J1,sU,IV,hU,Q1,fU,v_,jY,tq,Y1,lU,CV,bU),Fjn._i=function(){return hY(this)},Fjn.gj=function(){var n;return(n=hY(this))?n.zj():null},Fjn.yi=function(n){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},Fjn.Ai=function(){return this.c},Fjn.hj=function(){var n;return!!(n=hY(this))&&n.Kj()},Fjn.b=-1,EF(PNn,"ENotificationImpl",36),Wfn(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},zv),Fjn.Qg=function(n){return scn(this,n)},Fjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),(i=this.t)>1||-1==i;case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Yx(this.Cb,26):null;case 11:return!this.d&&(this.d=new VO(zat,this,11)),this.d;case 12:return!this.c&&(this.c=new m_(lat,this,12,10)),this.c;case 13:return!this.a&&(this.a=new GL(this,this)),this.a;case 14:return IJ(this)}return RY(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?scn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,10,e);case 12:return!this.c&&(this.c=new m_(lat,this,12,10)),wnn(this.c,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Aat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Aat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e);case 10:return opn(this,null,10,e);case 11:return!this.d&&(this.d=new VO(zat,this,11)),Ten(this.d,n,e);case 12:return!this.c&&(this.c=new m_(lat,this,12,10)),Ten(this.c,n,e);case 14:return Ten(IJ(this),n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Aat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Aat)),n,e)},Fjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return!(this.Db>>16!=10||!Yx(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==IJ(this.a.a).i||this.b&&hin(this.b));case 14:return!!this.b&&hin(this.b)}return xX(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void _1(this,Yx(t,19).a);case 5:return void F1(this,Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 11:return!this.d&&(this.d=new VO(zat,this,11)),Hmn(this.d),!this.d&&(this.d=new VO(zat,this,11)),void jF(this.d,Yx(t,14));case 12:return!this.c&&(this.c=new m_(lat,this,12,10)),Hmn(this.c),!this.c&&(this.c=new m_(lat,this,12,10)),void jF(this.c,Yx(t,14));case 13:return!this.a&&(this.a=new GL(this,this)),Wmn(this.a),!this.a&&(this.a=new GL(this,this)),void jF(this.a,Yx(t,14));case 14:return Hmn(IJ(this)),void jF(IJ(this),Yx(t,14))}E7(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n),t)},Fjn.zh=function(){return xjn(),Aat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void _1(this,0);case 5:return void F1(this,1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 11:return!this.d&&(this.d=new VO(zat,this,11)),void Hmn(this.d);case 12:return!this.c&&(this.c=new m_(lat,this,12,10)),void Hmn(this.c);case 13:return void(this.a&&Wmn(this.a));case 14:return void(this.b&&Hmn(this.b))}r9(this,n-vF((xjn(),Aat)),CZ(Yx(H3(this,16),26)||Aat,n))},Fjn.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&DF(n,i,null),e=0,t=new UO(IJ(this.a));t.e!=t.i.gc();)DF(n,e++,Yx(hen(t),87).c||(xjn(),Pat));return n},Fjn.Yi=function(){var n,t,e,i;for((i=new Cy).a+="[",n=IJ(this.a),t=0,e=IJ(this.a).i;t1);case 5:return zG(this,n,t,e,i,this.i-Yx(e,15).gc()>0);default:return new yJ(this.e,n,this.c,t,e,i,!0)}},Fjn.ij=function(){return!0},Fjn.fj=function(){return hin(this)},Fjn.Xj=function(){Hmn(this)},EF(PNn,"EOperationImpl/2",1341),Wfn(498,1,{1938:1,498:1},GP),EF(PNn,"EPackageImpl/1",498),Wfn(16,85,JDn,m_),Fjn.zk=function(){return this.d},Fjn.Ak=function(){return this.b},Fjn.Dk=function(){return!0},Fjn.b=0,EF(xDn,"EObjectContainmentWithInverseEList",16),Wfn(353,16,JDn,EN),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentWithInverseEList/Resolving",353),Wfn(298,353,JDn,d_),Fjn.ci=function(){this.a.tb=null},EF(PNn,"EPackageImpl/2",298),Wfn(1228,1,{},Oo),EF(PNn,"EPackageImpl/3",1228),Wfn(718,43,gMn,Xv),Fjn._b=function(n){return aI(n)?hq(this,n):!!Dq(this.f,n)},EF(PNn,"EPackageRegistryImpl",718),Wfn(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Uv),Fjn.Qg=function(n){return hcn(this,n)},Fjn._g=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),(i=this.t)>1||-1==i;case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?Yx(this.Cb,59):null}return RY(this,n-vF((xjn(),Nat)),CZ(Yx(H3(this,16),26)||Nat,n),t,e)},Fjn.hh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),wnn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?hcn(this,e):this.Cb.ih(this,-1-i,null,e)),opn(this,n,10,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Nat),t),66).Nj().Qj(this,dtn(this),t-vF((xjn(),Nat)),n,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 9:return kF(this,e);case 10:return opn(this,null,10,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),Nat),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),Nat)),n,e)},Fjn.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return!(this.Db>>16!=10||!Yx(this.Cb,59))}return xX(this,n-vF((xjn(),Nat)),CZ(Yx(H3(this,16),26)||Nat,n))},Fjn.zh=function(){return xjn(),Nat},EF(PNn,"EParameterImpl",509),Wfn(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},cL),Fjn._g=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TA(),0!=(256&this.Bb);case 3:return TA(),0!=(512&this.Bb);case 4:return d9(this.s);case 5:return d9(this.t);case 6:return TA(),(r=this.t)>1||-1==r;case 7:return TA(),this.s>=1;case 8:return t?fcn(this):this.r;case 9:return this.q;case 10:return TA(),0!=(this.Bb&DNn);case 11:return TA(),0!=(this.Bb&FDn);case 12:return TA(),0!=(this.Bb&nMn);case 13:return this.j;case 14:return Pbn(this);case 15:return TA(),0!=(this.Bb&_Dn);case 16:return TA(),0!=(this.Bb&MEn);case 17:return HG(this);case 18:return TA(),0!=(this.Bb&MNn);case 19:return TA(),!(!(i=nin(this))||0==(i.Bb&MNn));case 20:return TA(),0!=(this.Bb&eMn);case 21:return t?nin(this):this.b;case 22:return t?O5(this):dV(this);case 23:return!this.a&&(this.a=new JO(eat,this,23)),this.a}return RY(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n),t,e)},Fjn.lh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==pB(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==pB(this.q).i);case 10:return 0==(this.Bb&DNn);case 11:return 0!=(this.Bb&FDn);case 12:return 0!=(this.Bb&nMn);case 13:return null!=this.j;case 14:return null!=Pbn(this);case 15:return 0!=(this.Bb&_Dn);case 16:return 0!=(this.Bb&MEn);case 17:return!!HG(this);case 18:return 0!=(this.Bb&MNn);case 19:return!!(t=nin(this))&&0!=(t.Bb&MNn);case 20:return 0==(this.Bb&eMn);case 21:return!!this.b;case 22:return!!dV(this);case 23:return!!this.a&&0!=this.a.i}return xX(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n))},Fjn.sh=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void yz(this,lL(t));case 2:return void s9(this,ny(hL(t)));case 3:return void l9(this,ny(hL(t)));case 4:return void _1(this,Yx(t,19).a);case 5:return void F1(this,Yx(t,19).a);case 8:return void a8(this,Yx(t,138));case 9:return void((e=fun(this,Yx(t,87),null))&&e.Fi());case 10:return void x9(this,ny(hL(t)));case 11:return void K9(this,ny(hL(t)));case 12:return void D9(this,ny(hL(t)));case 13:return void ZP(this,lL(t));case 15:return void R9(this,ny(hL(t)));case 16:return void H9(this,ny(hL(t)));case 18:return void function(n,t){G9(n,t),CO(n.Cb,88)&&rhn(bV(Yx(n.Cb,88)),2)}(this,ny(hL(t)));case 20:return void z9(this,ny(hL(t)));case 21:return void Q0(this,Yx(t,18));case 23:return!this.a&&(this.a=new JO(eat,this,23)),Hmn(this.a),!this.a&&(this.a=new JO(eat,this,23)),void jF(this.a,Yx(t,14))}E7(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n),t)},Fjn.zh=function(){return xjn(),xat},Fjn.Bh=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),4),void E2(this,null);case 2:return void s9(this,!0);case 3:return void l9(this,!0);case 4:return void _1(this,0);case 5:return void F1(this,1);case 8:return void a8(this,null);case 9:return void((t=fun(this,null,null))&&t.Fi());case 10:return void x9(this,!0);case 11:return void K9(this,!1);case 12:return void D9(this,!1);case 13:return this.i=null,void J0(this,null);case 15:return void R9(this,!1);case 16:return void H9(this,!1);case 18:return G9(this,!1),void(CO(this.Cb,88)&&rhn(bV(Yx(this.Cb,88)),2));case 20:return void z9(this,!0);case 21:return void Q0(this,null);case 23:return!this.a&&(this.a=new JO(eat,this,23)),void Hmn(this.a)}r9(this,n-vF((xjn(),xat)),CZ(Yx(H3(this,16),26)||xat,n))},Fjn.Gh=function(){O5(this),nH(PJ((wsn(),wut),this)),fcn(this),this.Bb|=1},Fjn.Lj=function(){return nin(this)},Fjn.qk=function(){var n;return!!(n=nin(this))&&0!=(n.Bb&MNn)},Fjn.rk=function(){return 0!=(this.Bb&MNn)},Fjn.sk=function(){return 0!=(this.Bb&eMn)},Fjn.nk=function(n,t){return this.c=null,z8(this,n,t)},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Qdn(this):((n=new MA(Qdn(this))).a+=" (containment: ",nj(n,0!=(this.Bb&MNn)),n.a+=", resolveProxies: ",nj(n,0!=(this.Bb&eMn)),n.a+=")",n.a)},EF(PNn,"EReferenceImpl",99),Wfn(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Ao),Fjn.Fb=function(n){return this===n},Fjn.cd=function(){return this.b},Fjn.dd=function(){return this.c},Fjn.Hb=function(){return _A(this)},Fjn.Uh=function(n){!function(n,t){R0(n,null==t?null:(vB(t),t))}(this,lL(n))},Fjn.ed=function(n){return function(n,t){var e;return e=n.c,K0(n,t),e}(this,lL(n))},Fjn._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return RY(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n),t,e)},Fjn.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return xX(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n))},Fjn.sh=function(n,t){switch(n){case 0:return void function(n,t){R0(n,null==t?null:(vB(t),t))}(this,lL(t));case 1:return void K0(this,lL(t))}E7(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n),t)},Fjn.zh=function(){return xjn(),Dat},Fjn.Bh=function(n){switch(n){case 0:return void R0(this,null);case 1:return void K0(this,null)}r9(this,n-vF((xjn(),Dat)),CZ(Yx(H3(this,16),26)||Dat,n))},Fjn.Sh=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:Xen(n)),this.a},Fjn.Th=function(n){this.a=n},Fjn.Ib=function(){var n;return 0!=(64&this.Db)?Kln(this):((n=new MA(Kln(this))).a+=" (key: ",pI(n,this.b),n.a+=", value: ",pI(n,this.c),n.a+=")",n.a)},Fjn.a=-1,Fjn.b=null,Fjn.c=null;var Jat,Zat,nut,tut,eut,iut,rut,cut,aut,uut,out=EF(PNn,"EStringToStringMapEntryImpl",548),sut=aR(xDn,"FeatureMap/Entry/Internal");Wfn(565,1,aRn),Fjn.Ok=function(n){return this.Pk(Yx(n,49))},Fjn.Pk=function(n){return this.Ok(n)},Fjn.Fb=function(n){var t,e;return this===n||!!CO(n,72)&&(t=Yx(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():Q8(e,t.dd()))},Fjn.ak=function(){return this.c},Fjn.Hb=function(){var n;return n=this.dd(),W5(this.c)^(null==n?0:W5(n))},Fjn.Ib=function(){var n,t;return t=i1((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},EF(PNn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),Wfn(776,565,aRn,FL),Fjn.Pk=function(n){return new FL(this.c,n)},Fjn.dd=function(){return this.a},Fjn.Qk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=tnn(t.Tg(),n.c),r=e.gh(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},Fjn.Rk=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=tnn(t.Tg(),n.c),r=e.ih(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},EF(PNn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),Wfn(1314,1,{},zP),Fjn.Pj=function(n,t,e,i,r){return Yx(TY(n,this.b),215).nl(this.a).Wj(i)},Fjn.Qj=function(n,t,e,i,r){return Yx(TY(n,this.b),215).el(this.a,i,r)},Fjn.Rj=function(n,t,e,i,r){return Yx(TY(n,this.b),215).fl(this.a,i,r)},Fjn.Sj=function(n,t,e){return Yx(TY(n,this.b),215).nl(this.a).fj()},Fjn.Tj=function(n,t,e,i){Yx(TY(n,this.b),215).nl(this.a).Wb(i)},Fjn.Uj=function(n,t,e){return Yx(TY(n,this.b),215).nl(this.a)},Fjn.Vj=function(n,t,e){Yx(TY(n,this.b),215).nl(this.a).Xj()},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),Wfn(89,1,{},_x,LH,Hq,sW),Fjn.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=Mjn(this,n)),!r)switch(this.e){case 50:case 41:return Yx(c,589).sj();case 40:return Yx(c,215).kl()}return c},Fjn.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=Mjn(this,n)),Yx(c,69).lk(i,r)},Fjn.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=Yx(c,69).mk(i,r)),r},Fjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&Yx(i,76).fj()},Fjn.Tj=function(n,t,e,i){var r;!(r=Yx(t.Ch(e),76))&&t.Dh(e,r=Mjn(this,n)),r.Wb(i)},Fjn.Uj=function(n,t,e){var i;return null==(i=t.Ch(e))&&t.Dh(e,i=Mjn(this,n)),CO(i,76)?Yx(i,76):new Ug(Yx(t.Ch(e),15))},Fjn.Vj=function(n,t,e){var i;!(i=Yx(t.Ch(e),76))&&t.Dh(e,i=Mjn(this,n)),i.Xj()},Fjn.b=0,Fjn.e=0,EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),Wfn(504,1,{}),Fjn.Qj=function(n,t,e,i,r){throw hp(new xp)},Fjn.Rj=function(n,t,e,i,r){throw hp(new xp)},Fjn.Uj=function(n,t,e){return new NH(this,n,t,e)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),Wfn(1331,1,DDn,NH),Fjn.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},Fjn.fj=function(){return this.a.Sj(this.c,this.d,this.b)},Fjn.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},Fjn.Xj=function(){this.a.Vj(this.c,this.d,this.b)},Fjn.b=0,EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),Wfn(769,504,{},tG),Fjn.Pj=function(n,t,e,i,r){return Ign(n,n.eh(),n.Vg())==this.b?this.sk()&&i?Bfn(n):n.eh():null},Fjn.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=tnn(n.Tg(),this.e),n.Sg(i,a,r)},Fjn.Rj=function(n,t,e,i,r){var c;return c=tnn(n.Tg(),this.e),n.Sg(null,c,r)},Fjn.Sj=function(n,t,e){var i;return i=tnn(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},Fjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Ypn(this.a,i))throw hp(new Vm(uRn+(CO(i,56)?gan(Yx(i,56).Tg()):LZ(V5(i)))+oRn+this.a+"'"));if(r=n.eh(),a=tnn(n.Tg(),this.e),iI(i)!==iI(r)||n.Vg()!=a&&null!=i){if(ccn(n,Yx(i,56)))throw hp(new Qm(CNn+n.Ib()));o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=Yx(i,49))&&(o=u.gh(n,tnn(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&K3(n,new p_(n,1,a,i,i))},Fjn.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=tnn(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&K3(n,new v_(n,1,this.e,null,null))},Fjn.sk=function(){return!1},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),Wfn(1315,769,{},Fx),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),Wfn(563,504,{}),Fjn.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:iI(c)===iI(Jat)?null:c},Fjn.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(iI(i)===iI(Jat)||!Q8(i,this.b))},Fjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:iI(c)===iI(Jat)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,Jat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),K3(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,Jat):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},Fjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:iI(r)===iI(Jat)?null:r,t.Eh(e),K3(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},Fjn.Sk=function(n){throw hp(new Ap)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),Wfn(sRn,1,{},$o),Fjn.Tk=function(n,t,e,i,r){return new v_(n,t,e,i,r)},Fjn.Uk=function(n,t,e,i,r,c){return new tq(n,t,e,i,r,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",sRn),Wfn(1332,sRn,{},Lo),Fjn.Tk=function(n,t,e,i,r){return new CV(n,t,e,ny(hL(i)),ny(hL(r)))},Fjn.Uk=function(n,t,e,i,r,c){return new bU(n,t,e,ny(hL(i)),ny(hL(r)),c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),Wfn(1333,sRn,{},No),Fjn.Tk=function(n,t,e,i,r){return new W1(n,t,e,Yx(i,217).a,Yx(r,217).a)},Fjn.Uk=function(n,t,e,i,r,c){return new aU(n,t,e,Yx(i,217).a,Yx(r,217).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),Wfn(1334,sRn,{},xo),Fjn.Tk=function(n,t,e,i,r){return new V1(n,t,e,Yx(i,172).a,Yx(r,172).a)},Fjn.Uk=function(n,t,e,i,r,c){return new uU(n,t,e,Yx(i,172).a,Yx(r,172).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),Wfn(1335,sRn,{},Do),Fjn.Tk=function(n,t,e,i,r){return new PV(n,t,e,ty(fL(i)),ty(fL(r)))},Fjn.Uk=function(n,t,e,i,r,c){return new oU(n,t,e,ty(fL(i)),ty(fL(r)),c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),Wfn(1336,sRn,{},Ro),Fjn.Tk=function(n,t,e,i,r){return new J1(n,t,e,Yx(i,155).a,Yx(r,155).a)},Fjn.Uk=function(n,t,e,i,r,c){return new sU(n,t,e,Yx(i,155).a,Yx(r,155).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),Wfn(1337,sRn,{},Ko),Fjn.Tk=function(n,t,e,i,r){return new IV(n,t,e,Yx(i,19).a,Yx(r,19).a)},Fjn.Uk=function(n,t,e,i,r,c){return new hU(n,t,e,Yx(i,19).a,Yx(r,19).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),Wfn(1338,sRn,{},_o),Fjn.Tk=function(n,t,e,i,r){return new Q1(n,t,e,Yx(i,162).a,Yx(r,162).a)},Fjn.Uk=function(n,t,e,i,r,c){return new fU(n,t,e,Yx(i,162).a,Yx(r,162).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),Wfn(1339,sRn,{},Fo),Fjn.Tk=function(n,t,e,i,r){return new Y1(n,t,e,Yx(i,184).a,Yx(r,184).a)},Fjn.Uk=function(n,t,e,i,r,c){return new lU(n,t,e,Yx(i,184).a,Yx(r,184).a,c)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),Wfn(1317,563,{},xH),Fjn.Sk=function(n){if(!this.a.wj(n))throw hp(new Vm(uRn+V5(n)+oRn+this.a+"'"))},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),Wfn(1318,563,{},MK),Fjn.Sk=function(n){},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),Wfn(770,563,{}),Fjn.Sj=function(n,t,e){return null!=t.Ch(e)},Fjn.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):iI(c)===iI(Jat)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,Jat):(this.Sk(i),t.Dh(e,i)),K3(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,Jat):(this.Sk(i),t.Dh(e,i))},Fjn.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):iI(r)===iI(Jat)&&(r=null),t.Eh(e),K3(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),Wfn(1319,770,{},DH),Fjn.Sk=function(n){if(!this.a.wj(n))throw hp(new Vm(uRn+V5(n)+oRn+this.a+"'"))},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),Wfn(1320,770,{},SK),Fjn.Sk=function(n){},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),Wfn(398,504,{},KR),Fjn.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&iI(s)===iI(Jat))return null;if(this.sk()&&i&&null!=s){if((u=Yx(s,49)).kh()&&u!=(o=P8(n,u))){if(!Ypn(this.a,o))throw hp(new Vm(uRn+V5(o)+oRn+this.a+"'"));t.Dh(e,s=o),this.rk()&&(c=Yx(o,49),a=u.ih(n,this.b?tnn(u.Tg(),this.b):-1-tnn(n.Tg(),this.e),null,null),!c.eh()&&(a=c.gh(n,this.b?tnn(c.Tg(),this.b):-1-tnn(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&K3(n,new v_(n,9,this.e,u,o))}return s}return s},Fjn.Qj=function(n,t,e,i,r){var c,a;return iI(a=t.Ch(e))===iI(Jat)&&(a=null),t.Dh(e,i),this.bj()?iI(a)!==iI(i)&&null!=a&&(r=(c=Yx(a,49)).ih(n,tnn(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=Yx(a,49).ih(n,-1-tnn(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(!r&&(r=new Ek(4)),r.Ei(new v_(n,1,this.e,a,i))),r},Fjn.Rj=function(n,t,e,i,r){var c;return iI(c=t.Ch(e))===iI(Jat)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(!r&&(r=new Ek(4)),this.Kj()?r.Ei(new v_(n,2,this.e,c,null)):r.Ei(new v_(n,1,this.e,c,null))),r},Fjn.Sj=function(n,t,e){return null!=t.Ch(e)},Fjn.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!Ypn(this.a,i))throw hp(new Vm(uRn+(CO(i,56)?gan(Yx(i,56).Tg()):LZ(V5(i)))+oRn+this.a+"'"));u=null!=(o=t.Ch(e)),this.Kj()&&iI(o)===iI(Jat)&&(o=null),a=null,this.bj()?iI(o)!==iI(i)&&(null!=o&&(a=(r=Yx(o,49)).ih(n,tnn(r.Tg(),this.b),null,a)),null!=i&&(a=(r=Yx(i,49)).gh(n,tnn(r.Tg(),this.b),null,a))):this.rk()&&iI(o)!==iI(i)&&(null!=o&&(a=Yx(o,49).ih(n,-1-tnn(n.Tg(),this.e),null,a)),null!=i&&(a=Yx(i,49).gh(n,-1-tnn(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,Jat):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new tq(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):K3(n,c)):a&&a.Fi()},Fjn.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&iI(u)===iI(Jat)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=Yx(u,49)).ih(n,tnn(i.Tg(),this.b),null,c):this.rk()&&(c=Yx(u,49).ih(n,-1-tnn(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new tq(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):K3(n,r)):c&&c.Fi()},Fjn.bj=function(){return!1},Fjn.rk=function(){return!1},Fjn.sk=function(){return!1},Fjn.Kj=function(){return!1},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),Wfn(564,398,{},U$),Fjn.rk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),Wfn(1323,564,{},X$),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),Wfn(772,564,{},W$),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),Wfn(1325,772,{},V$),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),Wfn(640,564,{},Bx),Fjn.bj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),Wfn(1324,640,{},Gx),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),Wfn(773,640,{},zx),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),Wfn(1326,773,{},Ux),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),Wfn(641,398,{},Q$),Fjn.sk=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),Wfn(1327,641,{},Y$),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),Wfn(774,641,{},Hx),Fjn.bj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),Wfn(1328,774,{},Xx),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),Wfn(1321,398,{},J$),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),Wfn(771,398,{},qx),Fjn.bj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),Wfn(1322,771,{},Wx),Fjn.Kj=function(){return!0},EF(PNn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),Wfn(775,565,aRn,cB),Fjn.Pk=function(n){return new cB(this.a,this.c,n)},Fjn.dd=function(){return this.b},Fjn.Qk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.gh(t,tnn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},Fjn.Rk=function(n,t,e){return function(n,t,e,i){return e&&(i=e.ih(t,tnn(e.Tg(),n.c.Lj()),null,i)),i}(this,n,this.b,e)},EF(PNn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),Wfn(1329,1,DDn,Ug),Fjn.Wj=function(n){return this.a},Fjn.fj=function(){return CO(this.a,95)?Yx(this.a,95).fj():!this.a.dc()},Fjn.Wb=function(n){this.a.$b(),this.a.Gc(Yx(n,15))},Fjn.Xj=function(){CO(this.a,95)?Yx(this.a,95).Xj():this.a.$b()},EF(PNn,"EStructuralFeatureImpl/SettingMany",1329),Wfn(1330,565,aRn,fW),Fjn.Ok=function(n){return new BL((ayn(),tot),this.b.Ih(this.a,n))},Fjn.dd=function(){return null},Fjn.Qk=function(n,t,e){return e},Fjn.Rk=function(n,t,e){return e},EF(PNn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),Wfn(642,565,aRn,BL),Fjn.Ok=function(n){return new BL(this.c,n)},Fjn.dd=function(){return this.a},Fjn.Qk=function(n,t,e){return e},Fjn.Rk=function(n,t,e){return e},EF(PNn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),Wfn(391,497,Mxn,Bo),Fjn.ri=function(n){return VQ(rat,iEn,26,n,0,1)},Fjn.ni=function(){return!1},EF(PNn,"ESuperAdapter/1",391),Wfn(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},Ho),Fjn._g=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new _R(this,hat,this)),this.a}return RY(this,n-vF((xjn(),_at)),CZ(Yx(H3(this,16),26)||_at,n),t,e)},Fjn.jh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Ten(this.Ab,n,e);case 2:return!this.a&&(this.a=new _R(this,hat,this)),Ten(this.a,n,e)}return Yx(CZ(Yx(H3(this,16),26)||(xjn(),_at),t),66).Nj().Rj(this,dtn(this),t-vF((xjn(),_at)),n,e)},Fjn.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return xX(this,n-vF((xjn(),_at)),CZ(Yx(H3(this,16),26)||_at,n))},Fjn.sh=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),Hmn(this.Ab),!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void jF(this.Ab,Yx(t,14));case 1:return void E2(this,lL(t));case 2:return!this.a&&(this.a=new _R(this,hat,this)),Hmn(this.a),!this.a&&(this.a=new _R(this,hat,this)),void jF(this.a,Yx(t,14))}E7(this,n-vF((xjn(),_at)),CZ(Yx(H3(this,16),26)||_at,n),t)},Fjn.zh=function(){return xjn(),_at},Fjn.Bh=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new m_(Zct,this,0,3)),void Hmn(this.Ab);case 1:return void E2(this,null);case 2:return!this.a&&(this.a=new _R(this,hat,this)),void Hmn(this.a)}r9(this,n-vF((xjn(),_at)),CZ(Yx(H3(this,16),26)||_at,n))},EF(PNn,"ETypeParameterImpl",444),Wfn(445,85,JDn,_R),Fjn.cj=function(n,t){return function(n,t,e){var i,r;for(e=men(t,n.e,-1-n.c,e),r=new Wg(new t6(new Ql(EB(n.a).a).a));r.a.b;)e=zyn(i=Yx(s1(r.a).cd(),87),dbn(i,n.a),e);return e}(this,Yx(n,87),t)},Fjn.dj=function(n,t){return function(n,t,e){var i,r;for(e=Uq(t,n.e,-1-n.c,e),r=new Wg(new t6(new Ql(EB(n.a).a).a));r.a.b;)e=zyn(i=Yx(s1(r.a).cd(),87),dbn(i,n.a),e);return e}(this,Yx(n,87),t)},EF(PNn,"ETypeParameterImpl/1",445),Wfn(634,43,gMn,Wv),Fjn.ec=function(){return new Xg(this)},EF(PNn,"ETypeParameterImpl/2",634),Wfn(556,dEn,gEn,Xg),Fjn.Fc=function(n){return kN(this,Yx(n,87))},Fjn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=Yx(e.Pb(),87),null==xB(this.a,t,"")&&(i=!0);return i},Fjn.$b=function(){U_(this.a)},Fjn.Hc=function(n){return P_(this.a,n)},Fjn.Kc=function(){return new Wg(new t6(new Ql(this.a).a))},Fjn.Mc=function(n){return hQ(this,n)},Fjn.gc=function(){return hE(this.a)},EF(PNn,"ETypeParameterImpl/2/1",556),Wfn(557,1,fEn,Wg),Fjn.Nb=function(n){I_(this,n)},Fjn.Pb=function(){return Yx(s1(this.a).cd(),87)},Fjn.Ob=function(){return this.a.b},Fjn.Qb=function(){oY(this.a)},EF(PNn,"ETypeParameterImpl/2/1/1",557),Wfn(1276,43,gMn,Vv),Fjn._b=function(n){return aI(n)?hq(this,n):!!Dq(this.f,n)},Fjn.xc=function(n){var t;return CO(t=aI(n)?aG(this,n):eI(Dq(this.f,n)),837)?(t=Yx(t,837)._j(),xB(this,Yx(n,235),t),t):null!=t?t:null==n?(ET(),mut):null},EF(PNn,"EValidatorRegistryImpl",1276),Wfn(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},qo),Fjn.Ih=function(n,t){switch(n.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:I7(t);case 25:return r1(t);case 27:case 28:return function(n){return CO(n,172)?""+Yx(n,172).a:null==n?null:I7(n)}(t);case 29:return null==t?null:gO(Grt[0],Yx(t,199));case 41:return null==t?"":Nk(Yx(t,290));case 42:return I7(t);case 50:return lL(t);default:throw hp(new Qm(ONn+n.ne()+ANn))}},Fjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=i1(n))?Ren(t.Mh(),n):-1),n.G){case 0:return new qv;case 1:return new jo;case 2:return new Rf;case 4:return new Bp;case 5:return new Gv;case 6:return new Fp;case 7:return new xf;case 10:return new yo;case 11:return new zv;case 12:return new Sq;case 13:return new Uv;case 14:return new cL;case 17:return new Ao;case 18:return new up;case 19:return new Ho;default:throw hp(new Qm(NNn+n.zb+ANn))}},Fjn.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new Wk(t);case 21:return null==t?null:new IC(t);case 23:case 22:return null==t?null:function(n){if(vtn(kLn,n))return TA(),L_n;if(vtn(jLn,n))return TA(),$_n;throw hp(new Qm("Expecting true or false"))}(t);case 26:case 24:return null==t?null:iZ(ipn(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,u;if(null==n)return null;for(u=n.length,a=VQ(Yot,LNn,25,r=(u+1)/2|0,15,1),u%2!=0&&(a[--r]=Odn((Lz(u-1,n.length),n.charCodeAt(u-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=ipn(n,nTn,Yjn)&fTn}catch(e){if(!CO(e=j4(e),127))throw hp(e);t=xJ(n)[0]}return k4(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=ipn(n,nTn,Yjn)&fTn}catch(e){if(!CO(e=j4(e),127))throw hp(e);t=xJ(n)[0]}return k4(t)}(t);case 29:return function(n){var t,e;if(null==n)return null;for(t=null,e=0;e>16);case 50:return t;default:throw hp(new Qm(ONn+n.ne()+ANn))}},EF(PNn,"EcoreFactoryImpl",1313),Wfn(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},$B),Fjn.gb=!1,Fjn.hb=!1;var hut,fut=!1;EF(PNn,"EcorePackageImpl",547),Wfn(1184,1,{837:1},Go),Fjn._j=function(){return EA(),yut},EF(PNn,"EcorePackageImpl/1",1184),Wfn(1193,1,TRn,zo),Fjn.wj=function(n){return CO(n,147)},Fjn.xj=function(n){return VQ(ect,iEn,147,n,0,1)},EF(PNn,"EcorePackageImpl/10",1193),Wfn(1194,1,TRn,Uo),Fjn.wj=function(n){return CO(n,191)},Fjn.xj=function(n){return VQ(rct,iEn,191,n,0,1)},EF(PNn,"EcorePackageImpl/11",1194),Wfn(1195,1,TRn,Xo),Fjn.wj=function(n){return CO(n,56)},Fjn.xj=function(n){return VQ(Wrt,iEn,56,n,0,1)},EF(PNn,"EcorePackageImpl/12",1195),Wfn(1196,1,TRn,Wo),Fjn.wj=function(n){return CO(n,399)},Fjn.xj=function(n){return VQ(fat,QDn,59,n,0,1)},EF(PNn,"EcorePackageImpl/13",1196),Wfn(1197,1,TRn,Vo),Fjn.wj=function(n){return CO(n,235)},Fjn.xj=function(n){return VQ(cct,iEn,235,n,0,1)},EF(PNn,"EcorePackageImpl/14",1197),Wfn(1198,1,TRn,Qo),Fjn.wj=function(n){return CO(n,509)},Fjn.xj=function(n){return VQ(lat,iEn,2017,n,0,1)},EF(PNn,"EcorePackageImpl/15",1198),Wfn(1199,1,TRn,Yo),Fjn.wj=function(n){return CO(n,99)},Fjn.xj=function(n){return VQ(bat,VDn,18,n,0,1)},EF(PNn,"EcorePackageImpl/16",1199),Wfn(1200,1,TRn,Jo),Fjn.wj=function(n){return CO(n,170)},Fjn.xj=function(n){return VQ(tat,VDn,170,n,0,1)},EF(PNn,"EcorePackageImpl/17",1200),Wfn(1201,1,TRn,Zo),Fjn.wj=function(n){return CO(n,472)},Fjn.xj=function(n){return VQ(nat,iEn,472,n,0,1)},EF(PNn,"EcorePackageImpl/18",1201),Wfn(1202,1,TRn,ns),Fjn.wj=function(n){return CO(n,548)},Fjn.xj=function(n){return VQ(out,kDn,548,n,0,1)},EF(PNn,"EcorePackageImpl/19",1202),Wfn(1185,1,TRn,ts),Fjn.wj=function(n){return CO(n,322)},Fjn.xj=function(n){return VQ(eat,VDn,34,n,0,1)},EF(PNn,"EcorePackageImpl/2",1185),Wfn(1203,1,TRn,es),Fjn.wj=function(n){return CO(n,241)},Fjn.xj=function(n){return VQ(hat,eRn,87,n,0,1)},EF(PNn,"EcorePackageImpl/20",1203),Wfn(1204,1,TRn,is),Fjn.wj=function(n){return CO(n,444)},Fjn.xj=function(n){return VQ(zat,iEn,836,n,0,1)},EF(PNn,"EcorePackageImpl/21",1204),Wfn(1205,1,TRn,rs),Fjn.wj=function(n){return rI(n)},Fjn.xj=function(n){return VQ(D_n,TEn,476,n,8,1)},EF(PNn,"EcorePackageImpl/22",1205),Wfn(1206,1,TRn,cs),Fjn.wj=function(n){return CO(n,190)},Fjn.xj=function(n){return VQ(Yot,TEn,190,n,0,2)},EF(PNn,"EcorePackageImpl/23",1206),Wfn(1207,1,TRn,as),Fjn.wj=function(n){return CO(n,217)},Fjn.xj=function(n){return VQ(__n,TEn,217,n,0,1)},EF(PNn,"EcorePackageImpl/24",1207),Wfn(1208,1,TRn,us),Fjn.wj=function(n){return CO(n,172)},Fjn.xj=function(n){return VQ(B_n,TEn,172,n,0,1)},EF(PNn,"EcorePackageImpl/25",1208),Wfn(1209,1,TRn,os),Fjn.wj=function(n){return CO(n,199)},Fjn.xj=function(n){return VQ(N_n,TEn,199,n,0,1)},EF(PNn,"EcorePackageImpl/26",1209),Wfn(1210,1,TRn,ss),Fjn.wj=function(n){return!1},Fjn.xj=function(n){return VQ(est,iEn,2110,n,0,1)},EF(PNn,"EcorePackageImpl/27",1210),Wfn(1211,1,TRn,hs),Fjn.wj=function(n){return cI(n)},Fjn.xj=function(n){return VQ(H_n,TEn,333,n,7,1)},EF(PNn,"EcorePackageImpl/28",1211),Wfn(1212,1,TRn,fs),Fjn.wj=function(n){return CO(n,58)},Fjn.xj=function(n){return VQ(jct,dPn,58,n,0,1)},EF(PNn,"EcorePackageImpl/29",1212),Wfn(1186,1,TRn,ls),Fjn.wj=function(n){return CO(n,510)},Fjn.xj=function(n){return VQ(Zct,{3:1,4:1,5:1,1934:1},590,n,0,1)},EF(PNn,"EcorePackageImpl/3",1186),Wfn(1213,1,TRn,bs),Fjn.wj=function(n){return CO(n,573)},Fjn.xj=function(n){return VQ(xct,iEn,1940,n,0,1)},EF(PNn,"EcorePackageImpl/30",1213),Wfn(1214,1,TRn,ws),Fjn.wj=function(n){return CO(n,153)},Fjn.xj=function(n){return VQ(Eut,dPn,153,n,0,1)},EF(PNn,"EcorePackageImpl/31",1214),Wfn(1215,1,TRn,ds),Fjn.wj=function(n){return CO(n,72)},Fjn.xj=function(n){return VQ(Xat,MRn,72,n,0,1)},EF(PNn,"EcorePackageImpl/32",1215),Wfn(1216,1,TRn,gs),Fjn.wj=function(n){return CO(n,155)},Fjn.xj=function(n){return VQ(q_n,TEn,155,n,0,1)},EF(PNn,"EcorePackageImpl/33",1216),Wfn(1217,1,TRn,ps),Fjn.wj=function(n){return CO(n,19)},Fjn.xj=function(n){return VQ(U_n,TEn,19,n,0,1)},EF(PNn,"EcorePackageImpl/34",1217),Wfn(1218,1,TRn,vs),Fjn.wj=function(n){return CO(n,290)},Fjn.xj=function(n){return VQ(XKn,iEn,290,n,0,1)},EF(PNn,"EcorePackageImpl/35",1218),Wfn(1219,1,TRn,ms),Fjn.wj=function(n){return CO(n,162)},Fjn.xj=function(n){return VQ(J_n,TEn,162,n,0,1)},EF(PNn,"EcorePackageImpl/36",1219),Wfn(1220,1,TRn,ys),Fjn.wj=function(n){return CO(n,83)},Fjn.xj=function(n){return VQ(VKn,iEn,83,n,0,1)},EF(PNn,"EcorePackageImpl/37",1220),Wfn(1221,1,TRn,ks),Fjn.wj=function(n){return CO(n,591)},Fjn.xj=function(n){return VQ(vut,iEn,591,n,0,1)},EF(PNn,"EcorePackageImpl/38",1221),Wfn(1222,1,TRn,js),Fjn.wj=function(n){return!1},Fjn.xj=function(n){return VQ(ist,iEn,2111,n,0,1)},EF(PNn,"EcorePackageImpl/39",1222),Wfn(1187,1,TRn,Es),Fjn.wj=function(n){return CO(n,88)},Fjn.xj=function(n){return VQ(rat,iEn,26,n,0,1)},EF(PNn,"EcorePackageImpl/4",1187),Wfn(1223,1,TRn,Ts),Fjn.wj=function(n){return CO(n,184)},Fjn.xj=function(n){return VQ(nFn,TEn,184,n,0,1)},EF(PNn,"EcorePackageImpl/40",1223),Wfn(1224,1,TRn,Ms),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(PNn,"EcorePackageImpl/41",1224),Wfn(1225,1,TRn,Ss),Fjn.wj=function(n){return CO(n,588)},Fjn.xj=function(n){return VQ(Tct,iEn,588,n,0,1)},EF(PNn,"EcorePackageImpl/42",1225),Wfn(1226,1,TRn,Ps),Fjn.wj=function(n){return!1},Fjn.xj=function(n){return VQ(rst,TEn,2112,n,0,1)},EF(PNn,"EcorePackageImpl/43",1226),Wfn(1227,1,TRn,Is),Fjn.wj=function(n){return CO(n,42)},Fjn.xj=function(n){return VQ(i_n,DEn,42,n,0,1)},EF(PNn,"EcorePackageImpl/44",1227),Wfn(1188,1,TRn,Cs),Fjn.wj=function(n){return CO(n,138)},Fjn.xj=function(n){return VQ(iat,iEn,138,n,0,1)},EF(PNn,"EcorePackageImpl/5",1188),Wfn(1189,1,TRn,Os),Fjn.wj=function(n){return CO(n,148)},Fjn.xj=function(n){return VQ(cat,iEn,148,n,0,1)},EF(PNn,"EcorePackageImpl/6",1189),Wfn(1190,1,TRn,As),Fjn.wj=function(n){return CO(n,457)},Fjn.xj=function(n){return VQ(oat,iEn,671,n,0,1)},EF(PNn,"EcorePackageImpl/7",1190),Wfn(1191,1,TRn,$s),Fjn.wj=function(n){return CO(n,573)},Fjn.xj=function(n){return VQ(sat,iEn,678,n,0,1)},EF(PNn,"EcorePackageImpl/8",1191),Wfn(1192,1,TRn,Ls),Fjn.wj=function(n){return CO(n,471)},Fjn.xj=function(n){return VQ(ict,iEn,471,n,0,1)},EF(PNn,"EcorePackageImpl/9",1192),Wfn(1025,1982,mDn,Um),Fjn.bi=function(n,t){!function(n,t){var e,i,r;if(t.vi(n.a),null!=(r=Yx(H3(n.a,8),1936)))for(e=0,i=r.length;e0){if(Lz(0,n.length),47==n.charCodeAt(0)){for(c=new pQ(4),r=1,t=1;t0&&(n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,u;for(c=null,r=new k_((!n.a&&(n.a=new Vg(n)),n.a));ufn(r);)if(emn(a=(e=Yx(abn(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?RN(v4(u),e.ah(u)):null)&&_N(i,t)){c=e;break}return c}(this,n)},Fjn.Xk=function(){return this.c},Fjn.Ib=function(){return Nk(this.gm)+"@"+(W5(this)>>>0).toString(16)+" uri='"+this.d+"'"},Fjn.b=!1,EF(IRn,"ResourceImpl",781),Wfn(1379,781,PRn,Yg),EF(IRn,"BinaryResourceImpl",1379),Wfn(1169,694,Sxn),Fjn.si=function(n){return CO(n,56)?function(n,t){return n.a?t.Wg().Kc():Yx(t.Wg(),69).Zh()}(this,Yx(n,56)):CO(n,591)?new UO(Yx(n,591).Vk()):iI(n)===iI(this.f)?Yx(n,14).Kc():(iL(),$ct.a)},Fjn.Ob=function(){return ufn(this)},Fjn.a=!1,EF(xDn,"EcoreUtil/ContentTreeIterator",1169),Wfn(1380,1169,Sxn,k_),Fjn.si=function(n){return iI(n)===iI(this.f)?Yx(n,15).Kc():new hX(Yx(n,56))},EF(IRn,"ResourceImpl/5",1380),Wfn(648,1994,YDn,Vg),Fjn.Hc=function(n){return this.i<=4?Fcn(this,n):CO(n,49)&&Yx(n,49).Zg()==this.a},Fjn.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},Fjn.di=function(n,t){0==n?this.a.b||(this.a.b=!0):XQ(this,n,t)},Fjn.fi=function(n,t){},Fjn.gi=function(n,t,e){},Fjn.aj=function(){return 2},Fjn.Ai=function(){return this.a},Fjn.bj=function(){return!0},Fjn.cj=function(n,t){return Yx(n,49).wh(this.a,t)},Fjn.dj=function(n,t){return Yx(n,49).wh(null,t)},Fjn.ej=function(){return!1},Fjn.hi=function(){return!0},Fjn.ri=function(n){return VQ(Wrt,iEn,56,n,0,1)},Fjn.ni=function(){return!1},EF(IRn,"ResourceImpl/ContentsEList",648),Wfn(957,1964,WEn,Qg),Fjn.Zc=function(n){return this.a._h(n)},Fjn.gc=function(){return this.a.gc()},EF(xDn,"AbstractSequentialInternalEList/1",957),Wfn(624,1,{},OD),EF(xDn,"BasicExtendedMetaData",624),Wfn(1160,1,{},UP),Fjn.$k=function(){return null},Fjn._k=function(){return-2==this.a&&(n=this,t=function(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),tRn)))for(i=1;i<(wsn(),lut).length;++i)if(_N(lut[i],r))return i;return 0}(this.d,this.b),n.a=t),this.a;var n,t},Fjn.al=function(){return null},Fjn.bl=function(){return XH(),XH(),TFn},Fjn.ne=function(){return this.c==qRn&&(n=this,t=ktn(this.d,this.b),n.c=t),this.c;var n,t},Fjn.cl=function(){return 0},Fjn.a=-2,Fjn.c=qRn,EF(xDn,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),Wfn(1161,1,{},mU),Fjn.$k=function(){return this.a==(wV(),gut)&&function(n,t){n.a=t}(this,(n=this.f,t=this.b,(i=t.Hh(n.a))&&(!i.b&&(i.b=new z$((xjn(),Dat),out,i)),null!=(e=lL(ynn(i.b,bRn)))&&CO(c=-1==(r=e.lastIndexOf("#"))?Z$(n,t.Aj(),e):0==r?EY(n,null,e.substr(1)):EY(n,e.substr(0,r),e.substr(r+1)),148))?Yx(c,148):null)),this.a;var n,t,e,i,r,c},Fjn._k=function(){return 0},Fjn.al=function(){return this.c==(wV(),gut)&&function(n,t){n.c=t}(this,(n=this.f,t=this.b,(e=t.Hh(n.a))&&(!e.b&&(e.b=new z$((xjn(),Dat),out,e)),null!=(r=lL(ynn(e.b,DRn)))&&CO(c=-1==(i=r.lastIndexOf("#"))?Z$(n,t.Aj(),r):0==i?EY(n,null,r.substr(1)):EY(n,r.substr(0,i),r.substr(i+1)),148))?Yx(c,148):null)),this.c;var n,t,e,i,r,c},Fjn.bl=function(){return!this.d&&(n=this,t=function(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=lL(ynn((!e.b&&(e.b=new z$((xjn(),Dat),out,e)),e.b),"memberTypes")))){for(s=new ip,a=0,u=(c=Ogn(o,"\\w")).length;ae?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=Yx(L9(n,t,e),72),u!=o&&Xp(n,new jY(n.e,7,a,d9(u),b.dd(),o)),l}return Yx(L9(n,t,e),72)}(this,n,t)},Fjn.li=function(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(CO(a=e.ak(),99)&&0!=(Yx(a,18).Bb&eMn)&&(l=Yx(e.dd(),49),(d=P8(n.e,l))!=l)){if(_O(n,t,zan(n,0,h=VX(a,d))),f=null,gC(n.e)&&(i=iyn((wsn(),wut),n.e.Tg(),a))!=CZ(n.e.Tg(),n.c)){for(g=dwn(n.e.Tg(),a),u=0,c=Yx(n.g,119),o=0;o=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},EF(xDn,"BasicFeatureMap/FeatureEIterator",410),Wfn(662,410,yEn,qI),Fjn.Lk=function(){return!0},EF(xDn,"BasicFeatureMap/ResolvingFeatureEIterator",662),Wfn(955,486,rRn,vO),Fjn.Gi=function(){return this},EF(xDn,"EContentsEList/1",955),Wfn(956,486,rRn,GI),Fjn.Lk=function(){return!1},EF(xDn,"EContentsEList/2",956),Wfn(954,279,cRn,mO),Fjn.Nk=function(n){},Fjn.Ob=function(){return!1},Fjn.Sb=function(){return!1},EF(xDn,"EContentsEList/FeatureIteratorImpl/1",954),Wfn(825,585,JDn,ZO),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,K3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EDataTypeEList/Unsettable",825),Wfn(1849,585,JDn,nA),Fjn.hi=function(){return!0},EF(xDn,"EDataTypeUniqueEList",1849),Wfn(1850,825,JDn,tA),Fjn.hi=function(){return!0},EF(xDn,"EDataTypeUniqueEList/Unsettable",1850),Wfn(139,85,JDn,VO),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentEList/Resolving",139),Wfn(1163,545,JDn,QO),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentEList/Unsettable/Resolving",1163),Wfn(748,16,JDn,TN),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,K3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EObjectContainmentWithInverseEList/Unsettable",748),Wfn(1173,748,JDn,MN),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),Wfn(743,496,JDn,YO),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,K3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EObjectEList/Unsettable",743),Wfn(328,496,JDn,JO),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectResolvingEList",328),Wfn(1641,743,JDn,eA),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectResolvingEList/Unsettable",1641),Wfn(1381,1,{},Ns),EF(xDn,"EObjectValidator",1381),Wfn(546,496,JDn,y_),Fjn.zk=function(){return this.d},Fjn.Ak=function(){return this.b},Fjn.bj=function(){return!0},Fjn.Dk=function(){return!0},Fjn.b=0,EF(xDn,"EObjectWithInverseEList",546),Wfn(1176,546,JDn,SN),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseEList/ManyInverse",1176),Wfn(625,546,JDn,PN),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,K3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EObjectWithInverseEList/Unsettable",625),Wfn(1175,625,JDn,CN),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),Wfn(749,546,JDn,IN),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectWithInverseResolvingEList",749),Wfn(31,749,JDn,AN),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseResolvingEList/ManyInverse",31),Wfn(750,625,JDn,ON),Fjn.Ek=function(){return!0},Fjn.li=function(n,t){return $fn(this,n,Yx(t,56))},EF(xDn,"EObjectWithInverseResolvingEList/Unsettable",750),Wfn(1174,750,JDn,$N),Fjn.Ck=function(){return!0},EF(xDn,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),Wfn(1164,622,JDn),Fjn.ai=function(){return 0==(1792&this.b)},Fjn.ci=function(){this.b|=1},Fjn.Bk=function(){return 0!=(4&this.b)},Fjn.bj=function(){return 0!=(40&this.b)},Fjn.Ck=function(){return 0!=(16&this.b)},Fjn.Dk=function(){return 0!=(8&this.b)},Fjn.Ek=function(){return 0!=(this.b&FDn)},Fjn.rk=function(){return 0!=(32&this.b)},Fjn.Fk=function(){return 0!=(this.b&DNn)},Fjn.wj=function(n){return this.d?_X(this.d,n):this.ak().Yj().wj(n)},Fjn.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},Fjn.hi=function(){return 0!=(128&this.b)},Fjn.Xj=function(){var n;Hmn(this),0!=(2&this.b)&&(gC(this.e)?(n=0!=(1&this.b),this.b&=-2,Xp(this,new OV(this.e,2,tnn(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},Fjn.ni=function(){return 0==(1536&this.b)},Fjn.b=0,EF(xDn,"EcoreEList/Generic",1164),Wfn(1165,1164,JDn,eq),Fjn.ak=function(){return this.a},EF(xDn,"EcoreEList/Dynamic",1165),Wfn(747,63,Mxn,Jg),Fjn.ri=function(n){return H1(this.a.a,n)},EF(xDn,"EcoreEMap/1",747),Wfn(746,85,JDn,g_),Fjn.bi=function(n,t){tin(this.b,Yx(t,133))},Fjn.di=function(n,t){A3(this.b)},Fjn.ei=function(n,t,e){var i;++(i=this.b,Yx(t,133),i).e},Fjn.fi=function(n,t){N9(this.b,Yx(t,133))},Fjn.gi=function(n,t,e){N9(this.b,Yx(e,133)),iI(e)===iI(t)&&Yx(e,133).Th(function(n){return null==n?0:W5(n)}(Yx(t,133).cd())),tin(this.b,Yx(t,133))},EF(xDn,"EcoreEMap/DelegateEObjectContainmentEList",746),Wfn(1171,151,RDn,j0),EF(xDn,"EcoreEMap/Unsettable",1171),Wfn(1172,746,JDn,LN),Fjn.ci=function(){this.a=!0},Fjn.fj=function(){return this.a},Fjn.Xj=function(){var n;Hmn(this),gC(this.e)?(n=this.a,this.a=!1,K3(this.e,new OV(this.e,2,this.c,n,!1))):this.a=!1},Fjn.a=!1,EF(xDn,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),Wfn(1168,228,gMn,pF),Fjn.a=!1,Fjn.b=!1,EF(xDn,"EcoreUtil/Copier",1168),Wfn(745,1,fEn,hX),Fjn.Nb=function(n){I_(this,n)},Fjn.Ob=function(){return jnn(this)},Fjn.Pb=function(){var n;return jnn(this),n=this.b,this.b=null,n},Fjn.Qb=function(){this.a.Qb()},EF(xDn,"EcoreUtil/ProperContentIterator",745),Wfn(1382,1381,{},Kf),EF(xDn,"EcoreValidator",1382),aR(xDn,"FeatureMapUtil/Validator"),Wfn(1260,1,{1942:1},xs),Fjn.rl=function(n){return!0},EF(xDn,"FeatureMapUtil/1",1260),Wfn(757,1,{1942:1},ykn),Fjn.rl=function(n){var t;return this.c==n||(null==(t=hL(BF(this.a,n)))?function(n,t){var e;return n.f==jut?(e=TB(PJ((wsn(),wut),t)),n.e?4==e&&t!=(dfn(),Put)&&t!=(dfn(),Tut)&&t!=(dfn(),Mut)&&t!=(dfn(),Sut):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(Bz(PJ((wsn(),wut),t)))||n.d.Hc(iyn((wsn(),wut),n.b,t))))||!(!n.f||!Kbn((wsn(),n.f),tH(PJ(wut,t))))&&(e=TB(PJ(wut,t)),n.e?4==e:2==e)}(this,n)?(LV(this.a,n,(TA(),L_n)),!0):(LV(this.a,n,(TA(),$_n)),!1):t==(TA(),L_n))},Fjn.e=!1,EF(xDn,"FeatureMapUtil/BasicValidator",757),Wfn(758,43,gMn,yO),EF(xDn,"FeatureMapUtil/BasicValidator/Cache",758),Wfn(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},VP),Fjn.Vc=function(n,t){$wn(this.c,this.b,n,t)},Fjn.Fc=function(n){return Rgn(this.c,this.b,n)},Fjn.Wc=function(n,t){return function(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(TT(),a=(o=Yx(t,66).Oj())?i:new FZ(i.gc()),Lwn(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)fvn(n,t,s=h.Pb(),CO(t,99)&&0!=(Yx(t,18).Bb&eMn))||(c=VX(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=VX(t,s=h.Pb()),a.Fc(c)}else{for(f=dwn(n.e.Tg(),t),r=Yx(n.g,119),u=0;u1)throw hp(new Qm(GRn));o||(c=VX(t,i.Kc().Pb()),a.Fc(c))}return f5(n,fsn(n,t,e),a)}(this.c,this.b,n,t)},Fjn.Gc=function(n){return TO(this,n)},Fjn.Xh=function(n,t){!function(n,t,e,i){n.j=-1,Afn(n,fsn(n,t,e),(TT(),Yx(t,66).Mj().Ok(i)))}(this.c,this.b,n,t)},Fjn.lk=function(n,t){return Ydn(this.c,this.b,n,t)},Fjn.pi=function(n){return amn(this.c,this.b,n,!1)},Fjn.Zh=function(){return mC(this.c,this.b)},Fjn.$h=function(){return n=this.c,new Y3(this.b,n);var n},Fjn._h=function(n){return function(n,t,e){var i,r;for(r=new Y3(t,n),i=0;i0)if((i-=r.length-t)>=0){for(c.a+="0.";i>rFn.length;i-=rFn.length)ER(c,rFn);QL(c,rFn,oG(i)),yI(c,r.substr(t))}else yI(c,l$(r,t,oG(i=t-i))),c.a+=".",yI(c,lI(r,oG(i)));else{for(yI(c,r.substr(t));i<-rFn.length;i+=rFn.length)ER(c,rFn);QL(c,rFn,oG(-i))}return c.a}(Yx(t,240));case 15:case 14:return null==t?null:function(n){return n==JTn?QRn:n==ZTn?"-INF":""+n}(ty(fL(t)));case 17:return yan((ayn(),t));case 18:return yan(t);case 21:case 20:return null==t?null:function(n){return n==JTn?QRn:n==ZTn?"-INF":""+n}(Yx(t,155).a);case 27:return oL(Yx(t,190));case 30:return Yin((ayn(),Yx(t,15)));case 31:return Yin(Yx(t,15));case 40:case 59:case 48:return function(n){return null==n?null:I7(n)}((ayn(),t));case 42:return kan((ayn(),t));case 43:return kan(t);default:throw hp(new Qm(ONn+n.ne()+ANn))}},Fjn.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=i1(n))?Ren(t.Mh(),n):-1),n.G){case 0:return new Qv;case 1:return new Rs;case 2:return new Jv;case 3:return new Yv;default:throw hp(new Qm(NNn+n.zb+ANn))}},Fjn.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return sen(t);case 8:case 7:return null==t?null:function(n){if(n=Vvn(n,!0),_N(kLn,n)||_N("1",n))return TA(),L_n;if(_N(jLn,n)||_N("0",n))return TA(),$_n;throw hp(new fy("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:iZ(ipn((i=Vvn(t,!0)).length>0&&(Lz(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:iZ(ipn((r=Vvn(t,!0)).length>0&&(Lz(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return lL(fjn(this,(ayn(),Dut),t));case 12:return lL(fjn(this,(ayn(),Rut),t));case 13:return null==t?null:new Wk(Vvn(t,!0));case 15:case 14:return function(n){var t,e,i,r;if(null==n)return null;if(i=Vvn(n,!0),r=QRn.length,_N(i.substr(i.length-r,r),QRn))if(4==(e=i.length)){if(Lz(0,i.length),43==(t=i.charCodeAt(0)))return iot;if(45==t)return eot}else if(3==e)return iot;return gon(i)}(t);case 16:return lL(fjn(this,(ayn(),Kut),t));case 17:return Qnn((ayn(),t));case 18:return Qnn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Vvn(t,!0);case 21:case 20:return function(n){var t,e,i,r;if(null==n)return null;if(i=Vvn(n,!0),r=QRn.length,_N(i.substr(i.length-r,r),QRn))if(4==(e=i.length)){if(Lz(0,i.length),43==(t=i.charCodeAt(0)))return cot;if(45==t)return rot}else if(3==e)return cot;return new Vp(i)}(t);case 22:return lL(fjn(this,(ayn(),_ut),t));case 23:return lL(fjn(this,(ayn(),Fut),t));case 24:return lL(fjn(this,(ayn(),But),t));case 25:return lL(fjn(this,(ayn(),Hut),t));case 26:return lL(fjn(this,(ayn(),qut),t));case 27:return ztn(t);case 30:return Ynn((ayn(),t));case 31:return Ynn(t);case 32:return null==t?null:d9(ipn((h=Vvn(t,!0)).length>0&&(Lz(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,nTn,Yjn));case 33:return null==t?null:new IC((f=Vvn(t,!0)).length>0&&(Lz(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:d9(ipn((l=Vvn(t,!0)).length>0&&(Lz(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,nTn,Yjn));case 36:return null==t?null:ytn(mkn((b=Vvn(t,!0)).length>0&&(Lz(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:ytn(mkn((w=Vvn(t,!0)).length>0&&(Lz(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:case 59:case 48:return function(n){var t;return null==n?null:new IC((t=Vvn(n,!0)).length>0&&(Lz(0,t.length),43==t.charCodeAt(0))?t.substr(1):t)}((ayn(),t));case 42:return Jnn((ayn(),t));case 43:return Jnn(t);case 44:return null==t?null:new IC((d=Vvn(t,!0)).length>0&&(Lz(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new IC((g=Vvn(t,!0)).length>0&&(Lz(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return Vvn(t,!1);case 47:return lL(fjn(this,(ayn(),Gut),t));case 49:return lL(fjn(this,(ayn(),Uut),t));case 50:return null==t?null:g9(ipn((p=Vvn(t,!0)).length>0&&(Lz(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,fRn,32767)<<16>>16);case 51:return null==t?null:g9(ipn((c=Vvn(t,!0)).length>0&&(Lz(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,fRn,32767)<<16>>16);case 53:return lL(fjn(this,(ayn(),Vut),t));case 55:return null==t?null:g9(ipn((a=Vvn(t,!0)).length>0&&(Lz(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,fRn,32767)<<16>>16);case 56:return null==t?null:g9(ipn((u=Vvn(t,!0)).length>0&&(Lz(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,fRn,32767)<<16>>16);case 57:return null==t?null:ytn(mkn((o=Vvn(t,!0)).length>0&&(Lz(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:ytn(mkn((s=Vvn(t,!0)).length>0&&(Lz(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:d9(ipn((e=Vvn(t,!0)).length>0&&(Lz(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,nTn,Yjn));case 61:return null==t?null:d9(ipn(Vvn(t,!0),nTn,Yjn));default:throw hp(new Qm(ONn+n.ne()+ANn))}},EF(VRn,"XMLTypeFactoryImpl",1919),Wfn(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},AB),Fjn.N=!1,Fjn.O=!1;var sot,hot,fot,lot,bot,wot=!1;EF(VRn,"XMLTypePackageImpl",586),Wfn(1852,1,{837:1},Ks),Fjn._j=function(){return Fpn(),_ot},EF(VRn,"XMLTypePackageImpl/1",1852),Wfn(1861,1,TRn,_s),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/10",1861),Wfn(1862,1,TRn,Fs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/11",1862),Wfn(1863,1,TRn,Bs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/12",1863),Wfn(1864,1,TRn,Hs),Fjn.wj=function(n){return cI(n)},Fjn.xj=function(n){return VQ(H_n,TEn,333,n,7,1)},EF(VRn,"XMLTypePackageImpl/13",1864),Wfn(1865,1,TRn,qs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/14",1865),Wfn(1866,1,TRn,Gs),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(JKn,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/15",1866),Wfn(1867,1,TRn,zs),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(JKn,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/16",1867),Wfn(1868,1,TRn,Us),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/17",1868),Wfn(1869,1,TRn,Xs),Fjn.wj=function(n){return CO(n,155)},Fjn.xj=function(n){return VQ(q_n,TEn,155,n,0,1)},EF(VRn,"XMLTypePackageImpl/18",1869),Wfn(1870,1,TRn,Ws),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/19",1870),Wfn(1853,1,TRn,Vs),Fjn.wj=function(n){return CO(n,843)},Fjn.xj=function(n){return VQ(Cut,iEn,843,n,0,1)},EF(VRn,"XMLTypePackageImpl/2",1853),Wfn(1871,1,TRn,Qs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/20",1871),Wfn(1872,1,TRn,Ys),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/21",1872),Wfn(1873,1,TRn,Js),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/22",1873),Wfn(1874,1,TRn,Zs),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/23",1874),Wfn(1875,1,TRn,nh),Fjn.wj=function(n){return CO(n,190)},Fjn.xj=function(n){return VQ(Yot,TEn,190,n,0,2)},EF(VRn,"XMLTypePackageImpl/24",1875),Wfn(1876,1,TRn,th),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/25",1876),Wfn(1877,1,TRn,eh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/26",1877),Wfn(1878,1,TRn,ih),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(JKn,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/27",1878),Wfn(1879,1,TRn,rh),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(JKn,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/28",1879),Wfn(1880,1,TRn,ch),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/29",1880),Wfn(1854,1,TRn,ah),Fjn.wj=function(n){return CO(n,667)},Fjn.xj=function(n){return VQ(aot,iEn,2021,n,0,1)},EF(VRn,"XMLTypePackageImpl/3",1854),Wfn(1881,1,TRn,uh),Fjn.wj=function(n){return CO(n,19)},Fjn.xj=function(n){return VQ(U_n,TEn,19,n,0,1)},EF(VRn,"XMLTypePackageImpl/30",1881),Wfn(1882,1,TRn,oh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/31",1882),Wfn(1883,1,TRn,sh),Fjn.wj=function(n){return CO(n,162)},Fjn.xj=function(n){return VQ(J_n,TEn,162,n,0,1)},EF(VRn,"XMLTypePackageImpl/32",1883),Wfn(1884,1,TRn,hh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/33",1884),Wfn(1885,1,TRn,fh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/34",1885),Wfn(1886,1,TRn,lh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/35",1886),Wfn(1887,1,TRn,bh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/36",1887),Wfn(1888,1,TRn,wh),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(JKn,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/37",1888),Wfn(1889,1,TRn,dh),Fjn.wj=function(n){return CO(n,15)},Fjn.xj=function(n){return VQ(JKn,dPn,15,n,0,1)},EF(VRn,"XMLTypePackageImpl/38",1889),Wfn(1890,1,TRn,gh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/39",1890),Wfn(1855,1,TRn,ph),Fjn.wj=function(n){return CO(n,668)},Fjn.xj=function(n){return VQ(uot,iEn,2022,n,0,1)},EF(VRn,"XMLTypePackageImpl/4",1855),Wfn(1891,1,TRn,vh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/40",1891),Wfn(1892,1,TRn,mh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/41",1892),Wfn(1893,1,TRn,yh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/42",1893),Wfn(1894,1,TRn,kh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/43",1894),Wfn(1895,1,TRn,jh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/44",1895),Wfn(1896,1,TRn,Eh),Fjn.wj=function(n){return CO(n,184)},Fjn.xj=function(n){return VQ(nFn,TEn,184,n,0,1)},EF(VRn,"XMLTypePackageImpl/45",1896),Wfn(1897,1,TRn,Th),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/46",1897),Wfn(1898,1,TRn,Mh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/47",1898),Wfn(1899,1,TRn,Sh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/48",1899),Wfn(TTn,1,TRn,Ph),Fjn.wj=function(n){return CO(n,184)},Fjn.xj=function(n){return VQ(nFn,TEn,184,n,0,1)},EF(VRn,"XMLTypePackageImpl/49",TTn),Wfn(1856,1,TRn,Ih),Fjn.wj=function(n){return CO(n,669)},Fjn.xj=function(n){return VQ(oot,iEn,2023,n,0,1)},EF(VRn,"XMLTypePackageImpl/5",1856),Wfn(1901,1,TRn,Ch),Fjn.wj=function(n){return CO(n,162)},Fjn.xj=function(n){return VQ(J_n,TEn,162,n,0,1)},EF(VRn,"XMLTypePackageImpl/50",1901),Wfn(1902,1,TRn,Oh),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/51",1902),Wfn(1903,1,TRn,Ah),Fjn.wj=function(n){return CO(n,19)},Fjn.xj=function(n){return VQ(U_n,TEn,19,n,0,1)},EF(VRn,"XMLTypePackageImpl/52",1903),Wfn(1857,1,TRn,$h),Fjn.wj=function(n){return aI(n)},Fjn.xj=function(n){return VQ(fFn,TEn,2,n,6,1)},EF(VRn,"XMLTypePackageImpl/6",1857),Wfn(1858,1,TRn,Lh),Fjn.wj=function(n){return CO(n,190)},Fjn.xj=function(n){return VQ(Yot,TEn,190,n,0,2)},EF(VRn,"XMLTypePackageImpl/7",1858),Wfn(1859,1,TRn,Nh),Fjn.wj=function(n){return rI(n)},Fjn.xj=function(n){return VQ(D_n,TEn,476,n,8,1)},EF(VRn,"XMLTypePackageImpl/8",1859),Wfn(1860,1,TRn,xh),Fjn.wj=function(n){return CO(n,217)},Fjn.xj=function(n){return VQ(__n,TEn,217,n,0,1)},EF(VRn,"XMLTypePackageImpl/9",1860),Wfn(50,60,eTn,wy),EF(kKn,"RegEx/ParseException",50),Wfn(820,1,{},Dh),Fjn.sl=function(n){return n16*e)throw hp(new wy(Kjn((GC(),iDn))));e=16*e+r}if(125!=this.a)throw hp(new wy(Kjn((GC(),rDn))));if(e>jKn)throw hp(new wy(Kjn((GC(),cDn))));n=e}else{if(r=0,0!=this.c||(r=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(e=r,kjn(this),0!=this.c||(r=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));n=e=16*e+r}break;case 117:if(i=0,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));n=t=16*t+i;break;case 118:if(kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if(t=16*t+i,kjn(this),0!=this.c||(i=din(this.a))<0)throw hp(new wy(Kjn((GC(),eDn))));if((t=16*t+i)>jKn)throw hp(new wy(Kjn((GC(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw hp(new wy(Kjn((GC(),aDn))))}return n},Fjn.ul=function(n){var t;switch(n){case 100:t=32==(32&this.e)?Gkn("Nd",!0):(Ljn(),jot);break;case 68:t=32==(32&this.e)?Gkn("Nd",!1):(Ljn(),Pot);break;case 119:t=32==(32&this.e)?Gkn("IsWord",!0):(Ljn(),Dot);break;case 87:t=32==(32&this.e)?Gkn("IsWord",!1):(Ljn(),Cot);break;case 115:t=32==(32&this.e)?Gkn("IsSpace",!0):(Ljn(),Aot);break;case 83:t=32==(32&this.e)?Gkn("IsSpace",!1):(Ljn(),Iot);break;default:throw hp(new Im(EKn+n.toString(16)))}return t},Fjn.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,kjn(this),t=null,0==this.c&&94==this.a?(kjn(this),n?(Ljn(),Ljn(),s=new cU(5)):(Ljn(),Ljn(),zwn(t=new cU(4),0,jKn),s=new cU(4))):(Ljn(),Ljn(),s=new cU(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:fmn(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=Hhn(this,e)))throw hp(new wy(Kjn((GC(),zxn))));fmn(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=b$(this.i,58,this.d))<0)throw hp(new wy(Kjn((GC(),Uxn))));if(a=!0,94==XB(this.i,this.d)&&(++this.d,a=!1),!(u=bY(l$(this.i,this.d,c),a,512==(512&this.e))))throw hp(new wy(Kjn((GC(),Wxn))));if(fmn(s,u),i=!0,c+1>=this.j||93!=XB(this.i,c+1))throw hp(new wy(Kjn((GC(),Uxn))));this.d=c+2}if(kjn(this),!i)if(0!=this.c||45!=this.a)zwn(s,e,e);else{if(kjn(this),1==(f=this.c))throw hp(new wy(Kjn((GC(),Xxn))));0==f&&93==this.a?(zwn(s,e,e),zwn(s,45,45)):(o=this.a,10==f&&(o=this.tl()),kjn(this),zwn(s,e,o))}(this.e&DNn)==DNn&&0==this.c&&44==this.a&&kjn(this)}if(1==this.c)throw hp(new wy(Kjn((GC(),Xxn))));return t&&(_yn(t,s),s=t),xln(s),Lmn(s),this.b=0,kjn(this),s},Fjn.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw hp(new wy(Kjn((GC(),nDn))));if(kjn(this),9!=this.c)throw hp(new wy(Kjn((GC(),Zxn))));if(t=this.vl(!1),4==i)fmn(e,t);else if(45==n)_yn(e,t);else{if(38!=n)throw hp(new Im("ASSERT"));Eyn(e,t)}}return kjn(this),e},Fjn.xl=function(){var n,t;return n=this.a-48,Ljn(),Ljn(),t=new nG(12,null,n),!this.g&&(this.g=new Jp),Up(this.g,new Zg(n)),kjn(this),t},Fjn.yl=function(){return kjn(this),Ljn(),$ot},Fjn.zl=function(){return kjn(this),Ljn(),Oot},Fjn.Al=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Bl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Cl=function(){return kjn(this),r6()},Fjn.Dl=function(){return kjn(this),Ljn(),Not},Fjn.El=function(){return kjn(this),Ljn(),Rot},Fjn.Fl=function(){var n;if(this.d>=this.j||64!=(65504&(n=XB(this.i,this.d++))))throw hp(new wy(Kjn((GC(),Bxn))));return kjn(this),Ljn(),Ljn(),new BR(0,n-64)},Fjn.Gl=function(){return kjn(this),function(){var n,t,e,i,r,c;if(Ljn(),qot)return qot;for(fmn(n=new cU(4),Gkn($Kn,!0)),_yn(n,Gkn("M",!0)),_yn(n,Gkn("C",!0)),c=new cU(4),i=0;i<11;i++)zwn(c,i,i);return fmn(t=new cU(4),Gkn("M",!0)),zwn(t,4448,4607),zwn(t,65438,65439),Rmn(r=new HC(2),n),Rmn(r,Tot),(e=new HC(2)).$l(VR(c,Gkn("L",!0))),e.$l(t),e=new tF(r,e=new cW(3,e)),qot=e}()},Fjn.Hl=function(){return kjn(this),Ljn(),Kot},Fjn.Il=function(){var n;return Ljn(),Ljn(),n=new BR(0,105),kjn(this),n},Fjn.Jl=function(){return kjn(this),Ljn(),xot},Fjn.Kl=function(){return kjn(this),Ljn(),Lot},Fjn.Ll=function(n,t){return this.tl()},Fjn.Ml=function(){return kjn(this),Ljn(),Mot},Fjn.Nl=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw hp(new wy(Kjn((GC(),Kxn))));if(i=-1,t=null,49<=(n=XB(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new Jp),Up(this.g,new Zg(i)),++this.d,41!=XB(this.i,this.d))throw hp(new wy(Kjn((GC(),xxn))));++this.d}else switch(63==n&&--this.d,kjn(this),(t=ujn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));break;default:throw hp(new wy(Kjn((GC(),_xn))))}if(kjn(this),e=null,2==(r=etn(this)).e){if(2!=r.em())throw hp(new wy(Kjn((GC(),Fxn))));e=r.am(1),r=r.am(0)}if(7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),Ljn(),Ljn(),new nZ(i,t,r,e)},Fjn.Ol=function(){return kjn(this),Ljn(),Sot},Fjn.Pl=function(){var n;if(kjn(this),n=T_(24,etn(this)),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Ql=function(){var n;if(kjn(this),n=T_(20,etn(this)),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Rl=function(){var n;if(kjn(this),n=T_(22,etn(this)),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw hp(new wy(Kjn((GC(),Dxn))));if(45==t){for(++this.d;this.d=this.j)throw hp(new wy(Kjn((GC(),Dxn))))}if(58==t){if(++this.d,kjn(this),i=xF(etn(this),n,e),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));kjn(this)}else{if(41!=t)throw hp(new wy(Kjn((GC(),Rxn))));++this.d,kjn(this),i=xF(etn(this),n,e)}return i},Fjn.Tl=function(){var n;if(kjn(this),n=T_(21,etn(this)),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Ul=function(){var n;if(kjn(this),n=T_(23,etn(this)),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Vl=function(){var n,t;if(kjn(this),n=this.f++,t=M_(etn(this),n),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),t},Fjn.Wl=function(){var n;if(kjn(this),n=M_(etn(this),0),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Xl=function(n){return kjn(this),5==this.c?(kjn(this),VR(n,(Ljn(),Ljn(),new cW(9,n)))):VR(n,(Ljn(),Ljn(),new cW(3,n)))},Fjn.Yl=function(n){var t;return kjn(this),Ljn(),Ljn(),t=new HC(2),5==this.c?(kjn(this),Rmn(t,Tot),Rmn(t,n)):(Rmn(t,n),Rmn(t,Tot)),t},Fjn.Zl=function(n){return kjn(this),5==this.c?(kjn(this),Ljn(),Ljn(),new cW(9,n)):(Ljn(),Ljn(),new cW(3,n))},Fjn.a=0,Fjn.b=0,Fjn.c=0,Fjn.d=0,Fjn.e=0,Fjn.f=1,Fjn.g=null,Fjn.j=0,EF(kKn,"RegEx/RegexParser",820),Wfn(1824,820,{},Zv),Fjn.sl=function(n){return!1},Fjn.tl=function(){return Tdn(this)},Fjn.ul=function(n){return rpn(n)},Fjn.vl=function(n){return Ejn(this)},Fjn.wl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.xl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.yl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.zl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Al=function(){return kjn(this),rpn(67)},Fjn.Bl=function(){return kjn(this),rpn(73)},Fjn.Cl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Dl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.El=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Fl=function(){return kjn(this),rpn(99)},Fjn.Gl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Hl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Il=function(){return kjn(this),rpn(105)},Fjn.Jl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Kl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Ll=function(n,t){return fmn(n,rpn(t)),-1},Fjn.Ml=function(){return kjn(this),Ljn(),Ljn(),new BR(0,94)},Fjn.Nl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Ol=function(){return kjn(this),Ljn(),Ljn(),new BR(0,36)},Fjn.Pl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Ql=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Rl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Sl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Tl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Ul=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Vl=function(){var n;if(kjn(this),n=M_(etn(this),0),7!=this.c)throw hp(new wy(Kjn((GC(),xxn))));return kjn(this),n},Fjn.Wl=function(){throw hp(new wy(Kjn((GC(),uDn))))},Fjn.Xl=function(n){return kjn(this),VR(n,(Ljn(),Ljn(),new cW(3,n)))},Fjn.Yl=function(n){var t;return kjn(this),Ljn(),Ljn(),Rmn(t=new HC(2),n),Rmn(t,Tot),t},Fjn.Zl=function(n){return kjn(this),Ljn(),Ljn(),new cW(3,n)};var dot=null,got=null;EF(kKn,"RegEx/ParserForXMLSchema",1824),Wfn(117,1,xKn,np),Fjn.$l=function(n){throw hp(new Im("Not supported."))},Fjn._l=function(){return-1},Fjn.am=function(n){return null},Fjn.bm=function(){return null},Fjn.cm=function(n){},Fjn.dm=function(n){},Fjn.em=function(){return 0},Fjn.Ib=function(){return this.fm(0)},Fjn.fm=function(n){return 11==this.e?".":""},Fjn.e=0;var pot,vot,mot,yot,kot,jot,Eot,Tot,Mot,Sot,Pot,Iot,Cot,Oot,Aot,$ot,Lot,Not,xot,Dot,Rot,Kot,_ot,Fot,Bot=null,Hot=null,qot=null,Got=EF(kKn,"RegEx/Token",117);Wfn(136,117,{3:1,136:1,117:1},cU),Fjn.fm=function(n){var t,e,i;if(4==this.e)if(this==Eot)e=".";else if(this==jot)e="\\d";else if(this==Dot)e="\\w";else if(this==Aot)e="\\s";else{for((i=new Cy).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?pI(i,jvn(this.b[t])):(pI(i,jvn(this.b[t])),i.a+="-",pI(i,jvn(this.b[t+1])));i.a+="]",e=i.a}else if(this==Pot)e="\\D";else if(this==Cot)e="\\W";else if(this==Iot)e="\\S";else{for((i=new Cy).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?pI(i,jvn(this.b[t])):(pI(i,jvn(this.b[t])),i.a+="-",pI(i,jvn(this.b[t+1])));i.a+="]",e=i.a}return e},Fjn.a=!1,Fjn.c=!1,EF(kKn,"RegEx/RangeToken",136),Wfn(584,1,{584:1},Zg),Fjn.a=0,EF(kKn,"RegEx/RegexParser/ReferencePosition",584),Wfn(583,1,{3:1,583:1},Mj),Fjn.Fb=function(n){var t;return null!=n&&!!CO(n,583)&&(t=Yx(n,583),_N(this.b,t.b)&&this.a==t.a)},Fjn.Hb=function(){return Xen(this.b+"/"+fwn(this.a))},Fjn.Ib=function(){return this.c.fm(this.a)},Fjn.a=0,EF(kKn,"RegEx/RegularExpression",583),Wfn(223,117,xKn,BR),Fjn._l=function(){return this.a},Fjn.fm=function(n){var t,e;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:e="\\"+iN(this.a&fTn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=eMn?"\\v"+l$(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+iN(this.a&fTn)}break;case 8:e=this==Mot||this==Sot?""+iN(this.a&fTn):"\\"+iN(this.a&fTn);break;default:e=null}return e},Fjn.a=0,EF(kKn,"RegEx/Token/CharToken",223),Wfn(309,117,xKn,cW),Fjn.am=function(n){return this.a},Fjn.cm=function(n){this.b=n},Fjn.dm=function(n){this.c=n},Fjn.em=function(){return 1},Fjn.fm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw hp(new Im("Token#toString(): CLOSURE "+this.c+tEn+this.b));t=this.a.fm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw hp(new Im("Token#toString(): NONGREEDYCLOSURE "+this.c+tEn+this.b));t=this.a.fm(n)+"{"+this.c+",}?"}return t},Fjn.b=0,Fjn.c=0,EF(kKn,"RegEx/Token/ClosureToken",309),Wfn(821,117,xKn,tF),Fjn.am=function(n){return 0==n?this.a:this.b},Fjn.em=function(){return 2},Fjn.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},EF(kKn,"RegEx/Token/ConcatToken",821),Wfn(1822,117,xKn,nZ),Fjn.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw hp(new Im("Internal Error: "+n))},Fjn.em=function(){return this.b?2:1},Fjn.fm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},Fjn.c=0,EF(kKn,"RegEx/Token/ConditionToken",1822),Wfn(1823,117,xKn,rU),Fjn.am=function(n){return this.b},Fjn.em=function(){return 1},Fjn.fm=function(n){return"(?"+(0==this.a?"":fwn(this.a))+(0==this.c?"":fwn(this.c))+":"+this.b.fm(n)+")"},Fjn.a=0,Fjn.c=0,EF(kKn,"RegEx/Token/ModifierToken",1823),Wfn(822,117,xKn,rB),Fjn.am=function(n){return this.a},Fjn.em=function(){return 1},Fjn.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},Fjn.b=0,EF(kKn,"RegEx/Token/ParenToken",822),Wfn(521,117,{3:1,117:1,521:1},nG),Fjn.bm=function(){return this.b},Fjn.fm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(r=n.length,t=null,i=0;i=0?(t||(t=new Oy,i>0&&pI(t,n.substr(0,i))),t.a+="\\",KF(t,e&fTn)):t&&KF(t,e&fTn);return t?t.a:n}(this.b)},Fjn.a=0,EF(kKn,"RegEx/Token/StringToken",521),Wfn(465,117,xKn,HC),Fjn.$l=function(n){Rmn(this,n)},Fjn.am=function(n){return Yx(lB(this.a,n),117)},Fjn.em=function(){return this.a?this.a.a.c.length:0},Fjn.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=Yx(lB(this.a,0),117),r=3==(e=Yx(lB(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(c=new Cy,i=0;i=n.c.b:n.a<=n.c.b))throw hp(new Kp);return t=n.a,n.a+=n.c.c,++n.b,d9(t)}(this)},Fjn.Ub=function(){return function(n){if(n.b<=0)throw hp(new Kp);return--n.b,n.a-=n.c.c,d9(n.a)}(this)},Fjn.Wb=function(n){Yx(n,19),function(){throw hp(new sy(FKn))}()},Fjn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Fjn.Sb=function(){return this.b>0},Fjn.Tb=function(){return this.b},Fjn.Vb=function(){return this.b-1},Fjn.Qb=function(){throw hp(new sy(BKn))},Fjn.a=0,Fjn.b=0,EF(KKn,"ExclusiveRange/RangeIterator",254);var zot,Uot,Xot=MB(HDn,"C"),Wot=MB(zDn,"I"),Vot=MB(Xjn,"Z"),Qot=MB(UDn,"J"),Yot=MB(BDn,"B"),Jot=MB(qDn,"D"),Zot=MB(GDn,"F"),nst=MB(XDn,"S"),tst=aR("org.eclipse.elk.core.labels","ILabelManager"),est=aR(exn,"DiagnosticChain"),ist=aR(SRn,"ResourceSet"),rst=EF(exn,"InvocationTargetException",null),cst=(_y(),function(n){return _y(),function(){return sX(n,this,arguments)}}),ast=ast=function(n,t,e,i){Cj();var r=Hjn;function c(){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl)if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)},3522:function(n,t,e){"use strict";e.d(t,{diagram:function(){return v}});var i=e(4796),r=e(5740),c=e(8264),a=e(5103),u=e(7295);e(7484),e(7967),e(7856);const o=new u;let s={};const h={};let f={};const l=(n,t,e)=>{const i={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return i.TD=i.TB,a.l.info("abc88",e,t,n),i[e][t][n]},b=(n,t,e)=>{if(a.l.info("getNextPort abc88",{node:n,edgeDirection:t,graphDirection:e}),!s[n])switch(e){case"TB":case"TD":s[n]={inPosition:"north",outPosition:"south"};break;case"BT":s[n]={inPosition:"south",outPosition:"north"};break;case"RL":s[n]={inPosition:"east",outPosition:"west"};break;case"LR":s[n]={inPosition:"west",outPosition:"east"}}const i="in"===t?s[n].inPosition:s[n].outPosition;return"in"===t?s[n].inPosition=l(s[n].inPosition,t,e):s[n].outPosition=l(s[n].outPosition,t,e),i},w=function(n,t,e,i,c){const a=function(n,t,e){const i=((n,t,e)=>{const{parentById:i}=e,r=new Set;let c=n;for(;c;){if(r.add(c),c===t)return c;c=i[c]}for(c=t;c;){if(r.has(c))return c;c=i[c]}return"root"})(n,t,e);if(void 0===i||"root"===i)return{x:0,y:0};const r=f[i].offset;return{x:r.posX,y:r.posY}}(t.sourceId,t.targetId,c),u=t.sections[0].startPoint,o=t.sections[0].endPoint,s=(t.sections[0].bendPoints?t.sections[0].bendPoints:[]).map((n=>[n.x+a.x,n.y+a.y])),h=[[u.x+a.x,u.y+a.y],...s,[o.x+a.x,o.y+a.y]],l=(0,r.jvg)().curve(r.c_6),b=n.insert("path").attr("d",l(h)).attr("class","path "+e.classes).attr("fill","none"),w=n.insert("g").attr("class","edgeLabel"),d=(0,r.Ys)(w.node().appendChild(t.labelEl)),g=d.node().firstChild.getBoundingClientRect();d.attr("width",g.width),d.attr("height",g.height),w.attr("transform",`translate(${t.labels[0].x+a.x}, ${t.labels[0].y+a.y})`),function(n,t,e,i){let r="";switch(i&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.arrowTypeStart){case"arrow_cross":n.attr("marker-start","url("+r+"#"+e+"-crossStart)");break;case"arrow_point":n.attr("marker-start","url("+r+"#"+e+"-pointStart)");break;case"arrow_barb":n.attr("marker-start","url("+r+"#"+e+"-barbStart)");break;case"arrow_circle":n.attr("marker-start","url("+r+"#"+e+"-circleStart)");break;case"aggregation":n.attr("marker-start","url("+r+"#"+e+"-aggregationStart)");break;case"extension":n.attr("marker-start","url("+r+"#"+e+"-extensionStart)");break;case"composition":n.attr("marker-start","url("+r+"#"+e+"-compositionStart)");break;case"dependency":n.attr("marker-start","url("+r+"#"+e+"-dependencyStart)");break;case"lollipop":n.attr("marker-start","url("+r+"#"+e+"-lollipopStart)")}switch(t.arrowTypeEnd){case"arrow_cross":n.attr("marker-end","url("+r+"#"+e+"-crossEnd)");break;case"arrow_point":n.attr("marker-end","url("+r+"#"+e+"-pointEnd)");break;case"arrow_barb":n.attr("marker-end","url("+r+"#"+e+"-barbEnd)");break;case"arrow_circle":n.attr("marker-end","url("+r+"#"+e+"-circleEnd)");break;case"aggregation":n.attr("marker-end","url("+r+"#"+e+"-aggregationEnd)");break;case"extension":n.attr("marker-end","url("+r+"#"+e+"-extensionEnd)");break;case"composition":n.attr("marker-end","url("+r+"#"+e+"-compositionEnd)");break;case"dependency":n.attr("marker-end","url("+r+"#"+e+"-dependencyEnd)");break;case"lollipop":n.attr("marker-end","url("+r+"#"+e+"-lollipopEnd)")}}(b,e,i.type,i.arrowMarkerAbsolute)},d=(n,t)=>{n.forEach((n=>{n.children||(n.children=[]);const e=t.childrenById[n.id];e&&e.forEach((t=>{n.children.push(f[t])})),d(n.children,t)}))},g=(n,t,e,i,r,c,u)=>{e.forEach((function(e){if(e)if(f[e.id].offset={posX:e.x+n,posY:e.y+t,x:n,y:t,depth:u,width:e.width,height:e.height},"group"===e.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+u%5+" node").attr("x",e.x+n).attr("y",e.y+t).attr("width",e.width).attr("height",e.height);const c=i.insert("g").attr("class","label"),o=(0,a.c)().flowchart.htmlLabels?e.labelData.width/2:0;c.attr("transform",`translate(${e.labels[0].x+n+e.x+o}, ${e.labels[0].y+t+e.y+3})`),c.node().appendChild(e.labelData.labelNode),a.l.info("Id (UGH)= ",e.type,e.labels)}else a.l.info("Id (UGH)= ",e.id),e.el.attr("transform",`translate(${e.x+n+e.width/2}, ${e.y+t+e.height/2})`)})),e.forEach((function(e){e&&"group"===e.type&&g(n+e.x,t+e.y,e.children,i,r,c,u+1)}))},p={getClasses:function(n,t){a.l.info("Extracting classes"),t.db.clear("ver-2");try{return t.parse(n),t.db.getClasses()}catch(n){return{}}},draw:async function(n,t,e,i){var u;i.db.clear(),f={},s={},i.db.setGen("gen-2"),i.parser.parse(n);const l=(0,r.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let p={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(a.l.info("Drawing flowchart using v3 renderer",o),i.db.getDirection()){case"BT":p.layoutOptions["elk.direction"]="UP";break;case"TB":p.layoutOptions["elk.direction"]="DOWN";break;case"LR":p.layoutOptions["elk.direction"]="RIGHT";break;case"RL":p.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:v,flowchart:m}=(0,a.c)();let y;"sandbox"===v&&(y=(0,r.Ys)("#i"+t));const k="sandbox"===v?(0,r.Ys)(y.nodes()[0].contentDocument.body):(0,r.Ys)("body"),j="sandbox"===v?y.nodes()[0].contentDocument:document,E=k.select(`[id="${t}"]`);(0,c.a)(E,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const T=i.db.getVertices();let M;const S=i.db.getSubGraphs();a.l.info("Subgraphs - ",S);for(let n=S.length-1;n>=0;n--)M=S[n],i.db.addVertex(M.id,{text:M.title,type:M.labelType},"group",void 0,M.classes,M.dir);const P=E.insert("g").attr("class","subgraphs"),I=function(n){const t={parentById:{},childrenById:{}},e=n.getSubGraphs();return a.l.info("Subgraphs - ",e),e.forEach((function(n){n.nodes.forEach((function(e){t.parentById[e]=n.id,void 0===t.childrenById[n.id]&&(t.childrenById[n.id]=[]),t.childrenById[n.id].push(e)}))})),e.forEach((function(n){n.id,void 0!==t.parentById[n.id]&&t.parentById[n.id]})),t}(i.db);p=await async function(n,t,e,i,r,u,o){const s=e.select(`[id="${t}"]`).insert("g").attr("class","nodes"),h=Object.keys(n);return await Promise.all(h.map((async function(t){const e=n[t];let o="default";e.classes.length>0&&(o=e.classes.join(" ")),o+=" flowchart-label";const h=(0,a.k)(e.styles);let l=void 0!==e.text?e.text:e.id;const b={width:0,height:0},w=[{id:e.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:e.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:e.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:e.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let d=0,g="",p={};switch(e.type){case"round":d=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question",p={portConstraints:"FIXED_SIDE"};break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}const v={labelStyle:h.labelStyle,shape:g,labelText:l,labelType:e.labelType,rx:d,ry:d,class:o,style:h.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:r.db.getTooltip(e.id)||"",domId:r.db.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:(0,a.c)().flowchart.padding};let m,y;if("group"!==v.type)y=await(0,c.e)(s,v,e.dir),m=y.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:n,bbox:t}=await(0,c.l)(s,v,void 0,!0);b.width=t.width,b.wrappingWidth=(0,a.c)().flowchart.wrappingWidth,b.height=t.height,b.labelNode=n.node(),v.labelData=b}const k={id:e.id,ports:"diamond"===e.type?w:[],layoutOptions:p,labelText:l,labelData:b,domId:r.db.lookUpDomId(e.id),width:null==m?void 0:m.width,height:null==m?void 0:m.height,type:e.type,el:y,parent:u.parentById[e.id]};f[v.id]=k}))),o}(T,t,k,j,i,I,p);const C=E.insert("g").attr("class","edges edgePath"),O=i.db.getEdges();p=function(n,t,e,i){a.l.info("abc78 edges = ",n);const u=i.insert("g").attr("class","edgeLabels");let o,s,l={},w=t.db.getDirection();if(void 0!==n.defaultStyle){const t=(0,a.k)(n.defaultStyle);o=t.style,s=t.labelStyle}return n.forEach((function(t){const i="L-"+t.start+"-"+t.end;void 0===l[i]?(l[i]=0,a.l.info("abc78 new entry",i,l[i])):(l[i]++,a.l.info("abc78 new entry",i,l[i]));let d=i+"-"+l[i];a.l.info("abc78 new link id to be used is",i,d,l[i]);const g="LS-"+t.start,p="LE-"+t.end,v={style:"",labelStyle:""};switch(v.minlen=t.length||1,"arrow_open"===t.type?v.arrowhead="none":v.arrowhead="normal",v.arrowTypeStart="arrow_open",v.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":v.arrowTypeStart="arrow_cross";case"arrow_cross":v.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":v.arrowTypeStart="arrow_point";case"arrow_point":v.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":v.arrowTypeStart="arrow_circle";case"arrow_circle":v.arrowTypeEnd="arrow_circle"}let m="",y="";switch(t.stroke){case"normal":m="fill:none;",void 0!==o&&(m=o),void 0!==s&&(y=s),v.thickness="normal",v.pattern="solid";break;case"dotted":v.thickness="normal",v.pattern="dotted",v.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v.thickness="thick",v.pattern="solid",v.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=(0,a.k)(t.style);m=n.style,y=n.labelStyle}v.style=v.style+=m,v.labelStyle=v.labelStyle+=y,void 0!==t.interpolate?v.curve=(0,a.o)(t.interpolate,r.c_6):void 0!==n.defaultInterpolate?v.curve=(0,a.o)(n.defaultInterpolate,r.c_6):v.curve=(0,a.o)(h.curve,r.c_6),void 0===t.text?void 0!==t.style&&(v.arrowheadStyle="fill: #333"):(v.arrowheadStyle="fill: #333",v.labelpos="c"),v.labelType=t.labelType,v.label=t.text.replace(a.e.lineBreakRegex,"\n"),void 0===t.style&&(v.style=v.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),v.labelStyle=v.labelStyle.replace("color:","fill:"),v.id=d,v.classes="flowchart-link "+g+" "+p;const k=(0,c.f)(u,v),{source:j,target:E,sourceId:T,targetId:M}=((n,t)=>{let e=n.start,i=n.end;const r=e,c=i,a=f[e],u=f[i];return a&&u?("diamond"===a.type&&(e=`${e}-${b(e,"out",t)}`),"diamond"===u.type&&(i=`${i}-${b(i,"in",t)}`),{source:e,target:i,sourceId:r,targetId:c}):{source:e,target:i}})(t,w);a.l.debug("abc78 source and target",j,E),e.edges.push({id:"e"+t.start+t.end,sources:[j],targets:[E],sourceId:T,targetId:M,labelEl:k,labels:[{width:v.width,height:v.height,orgWidth:v.width,orgHeight:v.height,text:v.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:v})})),e}(O,i,p,E),Object.keys(f).forEach((n=>{const t=f[n];t.parent||p.children.push(t),void 0!==I.childrenById[n]&&(t.labels=[{text:t.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:t.labelData.width,height:t.labelData.height}],delete t.x,delete t.y,delete t.width,delete t.height)})),d(p.children,I),a.l.info("after layout",JSON.stringify(p,null,2));const A=await o.layout(p);g(0,0,A.children,E,P,i,0),a.l.info("after layout",A),null==(u=A.edges)||u.map((n=>{w(C,n,n.edgeData,i,I)})),(0,a.p)({},E,m.diagramPadding,m.useMaxWidth),l.remove()}},v={db:i.d,renderer:p,parser:i.p,styles:n=>`.label {\n font-family: ${n.fontFamily};\n color: ${n.nodeTextColor||n.textColor};\n }\n .cluster-label text {\n fill: ${n.titleColor};\n }\n .cluster-label span {\n color: ${n.titleColor};\n }\n\n .label text,span {\n fill: ${n.nodeTextColor||n.textColor};\n color: ${n.nodeTextColor||n.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${n.mainBkg};\n stroke: ${n.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${n.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${n.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${n.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${n.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${n.edgeLabelBackground};\n fill: ${n.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${n.clusterBkg};\n stroke: ${n.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${n.titleColor};\n }\n\n .cluster span {\n color: ${n.titleColor};\n }\n /* .cluster div {\n color: ${n.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${n.fontFamily};\n font-size: 12px;\n background: ${n.tertiaryColor};\n border: 1px solid ${n.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${n.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(n=>{let t="";for(let e=0;e<5;e++)t+=`\n .subgraph-lvl-${e} {\n fill: ${n[`surface${e}`]};\n stroke: ${n[`surfacePeer${e}`]};\n }\n `;return t})(n)}\n`}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/604-5faadc0f.chunk.min.js b/docs/themes/geekdoc/static/js/604-5faadc0f.chunk.min.js new file mode 100644 index 000000000..dfa2ed08e --- /dev/null +++ b/docs/themes/geekdoc/static/js/604-5faadc0f.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[604],{5604:function(e,t,l){l.d(t,{diagram:function(){return f}});var n=l(5321),o=l(5740),a=l(5625),i=l(5103),s=l(2759);l(7484),l(7967),l(7856),l(9451),l(9368);const d=e=>i.e.sanitizeText(e,(0,i.c)());let r={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const c=function(e,t,l,n,o){const a=Object.keys(e);i.l.info("keys:",a),i.l.info(e),a.filter((t=>e[t].parent==o)).forEach((function(l){var a,s;const r=e[l],c=r.cssClasses.join(" "),p=r.label??r.id,b={labelStyle:"",shape:"class_box",labelText:d(p),classData:r,rx:0,ry:0,class:c,style:"",id:r.id,domId:r.domId,tooltip:n.db.getTooltip(r.id,o)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(a=(0,i.c)().flowchart)?void 0:a.padding)??(null==(s=(0,i.c)().class)?void 0:s.padding)};t.setNode(r.id,b),o&&t.setParent(r.id,o),i.l.info("setNode",b)}))};function p(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const b={setConf:function(e){r={...r,...e}},draw:async function(e,t,l,n){i.l.info("Drawing class - ",t);const b=(0,i.c)().flowchart??(0,i.c)().class,f=(0,i.c)().securityLevel;i.l.info("config:",b);const u=(null==b?void 0:b.nodeSpacing)??50,g=(null==b?void 0:b.rankSpacing)??50,y=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:u,ranksep:g,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),h=n.db.getNamespaces(),v=n.db.getClasses(),w=n.db.getRelations(),k=n.db.getNotes();let x;i.l.info(w),function(e,t,l,n){const o=Object.keys(e);i.l.info("keys:",o),i.l.info(e),o.forEach((function(l){var o,a;const s=e[l],r={shape:"rect",id:s.id,domId:s.domId,labelText:d(s.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(o=(0,i.c)().flowchart)?void 0:o.padding)??(null==(a=(0,i.c)().class)?void 0:a.padding)};t.setNode(s.id,r),c(s.classes,t,0,n,s.id),i.l.info("setNode",r)}))}(h,y,0,n),c(v,y,0,n),function(e,t){const l=(0,i.c)().flowchart;let n=0;e.forEach((function(e){var a;n++;const s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:"id"+n,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:p(e.relation.type1),arrowTypeEnd:p(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,i.o)(null==l?void 0:l.curve,o.c_6)};if(i.l.info(s,e),void 0!==e.style){const t=(0,i.k)(e.style);s.style=t.style,s.labelStyle=t.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(a=(0,i.c)().flowchart)?void 0:a.htmlLabels)??(0,i.c)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(i.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,s,n)}))}(w,y),function(e,t,l,n){i.l.info(e),e.forEach((function(e,a){var s,c;const p=e,b=p.text,f={labelStyle:"",shape:"note",labelText:d(b),noteData:p,rx:0,ry:0,class:"",style:"",id:p.id,domId:p.id,tooltip:"",type:"note",padding:(null==(s=(0,i.c)().flowchart)?void 0:s.padding)??(null==(c=(0,i.c)().class)?void 0:c.padding)};if(t.setNode(p.id,f),i.l.info("setNode",f),!p.class||!(p.class in n))return;const u=l+a,g={id:`edgeNote${u}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,i.o)(r.curve,o.c_6)};t.setEdge(p.id,p.class,g,u)}))}(k,y,w.length+1,v),"sandbox"===f&&(x=(0,o.Ys)("#i"+t));const m="sandbox"===f?(0,o.Ys)(x.nodes()[0].contentDocument.body):(0,o.Ys)("body"),T=m.select(`[id="${t}"]`),S=m.select("#"+t+" g");if(await(0,s.r)(S,y,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),i.u.insertTitle(T,"classTitleText",(null==b?void 0:b.titleTopMargin)??5,n.db.getDiagramTitle()),(0,i.p)(y,T,null==b?void 0:b.diagramPadding,null==b?void 0:b.useMaxWidth),!(null==b?void 0:b.htmlLabels)){const e="sandbox"===f?x.nodes()[0].contentDocument:document,l=e.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of l){const l=t.getBBox(),n=e.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",l.width),n.setAttribute("height",l.height),t.insertBefore(n,t.firstChild)}}}},f={parser:n.p,db:n.d,renderer:b,styles:n.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,n.d.clear()}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/637-3456bdaf.chunk.min.js b/docs/themes/geekdoc/static/js/637-3456bdaf.chunk.min.js new file mode 100644 index 000000000..e71aa0824 --- /dev/null +++ b/docs/themes/geekdoc/static/js/637-3456bdaf.chunk.min.js @@ -0,0 +1,2 @@ +/*! For license information please see 637-3456bdaf.chunk.min.js.LICENSE.txt */ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[637],{7967:function(t,e){"use strict";e.N=void 0;var i=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,n=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.N=function(t){var e,l=(e=t||"",e.replace(r,(function(t,e){return String.fromCharCode(e)}))).replace(n,"").replace(o,"").trim();if(!l)return"about:blank";if(function(t){return s.indexOf(t[0])>-1}(l))return l;var h=l.match(a);if(!h)return l;var c=h[0];return i.test(c)?"about:blank":l}},7484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,i="millisecond",r="second",n="minute",o="hour",a="day",s="week",l="month",h="quarter",c="year",u="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},m=function(t,e,i){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(i)+t},y={s:m,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),r=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(n,2,"0")},m:function t(e,i){if(e.date()1)return t(a[0])}else{var s=e.name;b[s]=e,n=s}return!r&&n&&(_=n),n||!r&&_},v=function(t,e){if(C(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new T(i)},k=y;k.l=x,k.i=C,k.w=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function g(t){this.$L=x(t.locale,null,!0),this.parse(t)}var m=g.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r){var n=r[2]-1||0,o=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return k},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var i=v(t);return this.startOf(e)<=i&&i<=this.endOf(e)},m.isAfter=function(t,e){return v(t)1?i-1:0),n=1;n/gm),Z=a(/\${[\w\W]*}/gm),z=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),R=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U=a(/^html$/i);var H=Object.freeze({__proto__:null,MUSTACHE_EXPR:D,ERB_EXPR:$,TMPLIT_EXPR:Z,DATA_ATTR:z,ARIA_ATTR:j,IS_ALLOWED_URI:P,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:W,DOCTYPE_NAME:U});const Y=()=>"undefined"==typeof window?null:window;return function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y();const r=t=>e(t);if(r.version="3.0.3",r.removed=[],!i||!i.document||9!==i.document.nodeType)return r.isSupported=!1,r;const n=i.document,a=n.currentScript;let{document:s}=i;const{DocumentFragment:l,HTMLTemplateElement:h,Node:x,Element:v,NodeFilter:D,NamedNodeMap:$=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:Z,DOMParser:z,trustedTypes:j}=i,R=v.prototype,W=w(R,"cloneNode"),V=w(R,"nextSibling"),G=w(R,"childNodes"),X=w(R,"parentNode");if("function"==typeof h){const t=s.createElement("template");t.content&&t.content.ownerDocument&&(s=t.content.ownerDocument)}let J,Q="";const{implementation:K,createNodeIterator:tt,createDocumentFragment:et,getElementsByTagName:it}=s,{importNode:rt}=n;let nt={};r.isSupported="function"==typeof t&&"function"==typeof X&&K&&void 0!==K.createHTMLDocument;const{MUSTACHE_EXPR:ot,ERB_EXPR:at,TMPLIT_EXPR:st,DATA_ATTR:lt,ARIA_ATTR:ht,IS_SCRIPT_OR_DATA:ct,ATTR_WHITESPACE:ut}=H;let{IS_ALLOWED_URI:dt}=H,ft=null;const pt=k({},[...S,...B,...F,...M,...E]);let gt=null;const mt=k({},[...O,...I,...N,...q]);let yt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_t=null,bt=null,Ct=!0,xt=!0,vt=!1,kt=!0,Tt=!1,wt=!1,St=!1,Bt=!1,Ft=!1,Lt=!1,Mt=!1,At=!0,Et=!1,Ot=!0,It=!1,Nt={},qt=null;const Dt=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $t=null;const Zt=k({},["audio","video","img","source","image","track"]);let zt=null;const jt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pt="http://www.w3.org/1998/Math/MathML",Rt="http://www.w3.org/2000/svg",Wt="http://www.w3.org/1999/xhtml";let Ut=Wt,Ht=!1,Yt=null;const Vt=k({},[Pt,Rt,Wt],p);let Gt;const Xt=["application/xhtml+xml","text/html"];let Jt,Qt=null;const Kt=s.createElement("form"),te=function(t){return t instanceof RegExp||t instanceof Function},ee=function(t){if(!Qt||Qt!==t){if(t&&"object"==typeof t||(t={}),t=T(t),Gt=Gt=-1===Xt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Jt="application/xhtml+xml"===Gt?p:f,ft="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,Jt):pt,gt="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,Jt):mt,Yt="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,p):Vt,zt="ADD_URI_SAFE_ATTR"in t?k(T(jt),t.ADD_URI_SAFE_ATTR,Jt):jt,$t="ADD_DATA_URI_TAGS"in t?k(T(Zt),t.ADD_DATA_URI_TAGS,Jt):Zt,qt="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,Jt):Dt,_t="FORBID_TAGS"in t?k({},t.FORBID_TAGS,Jt):{},bt="FORBID_ATTR"in t?k({},t.FORBID_ATTR,Jt):{},Nt="USE_PROFILES"in t&&t.USE_PROFILES,Ct=!1!==t.ALLOW_ARIA_ATTR,xt=!1!==t.ALLOW_DATA_ATTR,vt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,kt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Tt=t.SAFE_FOR_TEMPLATES||!1,wt=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Lt=t.RETURN_DOM_FRAGMENT||!1,Mt=t.RETURN_TRUSTED_TYPE||!1,Bt=t.FORCE_BODY||!1,At=!1!==t.SANITIZE_DOM,Et=t.SANITIZE_NAMED_PROPS||!1,Ot=!1!==t.KEEP_CONTENT,It=t.IN_PLACE||!1,dt=t.ALLOWED_URI_REGEXP||P,Ut=t.NAMESPACE||Wt,yt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&te(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(yt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&te(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(yt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(yt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Tt&&(xt=!1),Lt&&(Ft=!0),Nt&&(ft=k({},[...E]),gt=[],!0===Nt.html&&(k(ft,S),k(gt,O)),!0===Nt.svg&&(k(ft,B),k(gt,I),k(gt,q)),!0===Nt.svgFilters&&(k(ft,F),k(gt,I),k(gt,q)),!0===Nt.mathMl&&(k(ft,M),k(gt,N),k(gt,q))),t.ADD_TAGS&&(ft===pt&&(ft=T(ft)),k(ft,t.ADD_TAGS,Jt)),t.ADD_ATTR&&(gt===mt&&(gt=T(gt)),k(gt,t.ADD_ATTR,Jt)),t.ADD_URI_SAFE_ATTR&&k(zt,t.ADD_URI_SAFE_ATTR,Jt),t.FORBID_CONTENTS&&(qt===Dt&&(qt=T(qt)),k(qt,t.FORBID_CONTENTS,Jt)),Ot&&(ft["#text"]=!0),wt&&k(ft,["html","head","body"]),ft.table&&(k(ft,["tbody"]),delete _t.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=t.TRUSTED_TYPES_POLICY,Q=J.createHTML("")}else void 0===J&&(J=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let i=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(i=e.getAttribute(r));const n="dompurify"+(i?"#"+i:"");try{return t.createPolicy(n,{createHTML(t){return t},createScriptURL(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}}(j,a)),null!==J&&"string"==typeof Q&&(Q=J.createHTML(""));o&&o(t),Qt=t}},ie=k({},["mi","mo","mn","ms","mtext"]),re=k({},["foreignobject","desc","title","annotation-xml"]),ne=k({},["title","style","font","a","script"]),oe=k({},B);k(oe,F),k(oe,L);const ae=k({},M);k(ae,A);const se=function(t){d(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},le=function(t,e){try{d(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){d(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!gt[t])if(Ft||Lt)try{se(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},he=function(t){let e,i;if(Bt)t=""+t;else{const e=g(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===Gt&&Ut===Wt&&(t=''+t+"");const r=J?J.createHTML(t):t;if(Ut===Wt)try{e=(new z).parseFromString(r,Gt)}catch(t){}if(!e||!e.documentElement){e=K.createDocument(Ut,"template",null);try{e.documentElement.innerHTML=Ht?Q:r}catch(t){}}const n=e.body||e.documentElement;return t&&i&&n.insertBefore(s.createTextNode(i),n.childNodes[0]||null),Ut===Wt?it.call(e,wt?"html":"body")[0]:wt?e.documentElement:n},ce=function(t){return tt.call(t.ownerDocument||t,t,D.SHOW_ELEMENT|D.SHOW_COMMENT|D.SHOW_TEXT,null,!1)},ue=function(t){return"object"==typeof x?t instanceof x:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},de=function(t,e,i){nt[t]&&c(nt[t],(t=>{t.call(r,e,i,Qt)}))},fe=function(t){let e;if(de("beforeSanitizeElements",t,null),(i=t)instanceof Z&&("string"!=typeof i.nodeName||"string"!=typeof i.textContent||"function"!=typeof i.removeChild||!(i.attributes instanceof $)||"function"!=typeof i.removeAttribute||"function"!=typeof i.setAttribute||"string"!=typeof i.namespaceURI||"function"!=typeof i.insertBefore||"function"!=typeof i.hasChildNodes))return se(t),!0;var i;const n=Jt(t.nodeName);if(de("uponSanitizeElement",t,{tagName:n,allowedTags:ft}),t.hasChildNodes()&&!ue(t.firstElementChild)&&(!ue(t.content)||!ue(t.content.firstElementChild))&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent))return se(t),!0;if(!ft[n]||_t[n]){if(!_t[n]&&ge(n)){if(yt.tagNameCheck instanceof RegExp&&b(yt.tagNameCheck,n))return!1;if(yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n))return!1}if(Ot&&!qt[n]){const e=X(t)||t.parentNode,i=G(t)||t.childNodes;if(i&&e)for(let r=i.length-1;r>=0;--r)e.insertBefore(W(i[r],!0),V(t))}return se(t),!0}return t instanceof v&&!function(t){let e=X(t);e&&e.tagName||(e={namespaceURI:Ut,tagName:"template"});const i=f(t.tagName),r=f(e.tagName);return!!Yt[t.namespaceURI]&&(t.namespaceURI===Rt?e.namespaceURI===Wt?"svg"===i:e.namespaceURI===Pt?"svg"===i&&("annotation-xml"===r||ie[r]):Boolean(oe[i]):t.namespaceURI===Pt?e.namespaceURI===Wt?"math"===i:e.namespaceURI===Rt?"math"===i&&re[r]:Boolean(ae[i]):t.namespaceURI===Wt?!(e.namespaceURI===Rt&&!re[r])&&!(e.namespaceURI===Pt&&!ie[r])&&!ae[i]&&(ne[i]||!oe[i]):!("application/xhtml+xml"!==Gt||!Yt[t.namespaceURI]))}(t)?(se(t),!0):"noscript"!==n&&"noembed"!==n||!b(/<\/no(script|embed)/i,t.innerHTML)?(Tt&&3===t.nodeType&&(e=t.textContent,e=m(e,ot," "),e=m(e,at," "),e=m(e,st," "),t.textContent!==e&&(d(r.removed,{element:t.cloneNode()}),t.textContent=e)),de("afterSanitizeElements",t,null),!1):(se(t),!0)},pe=function(t,e,i){if(At&&("id"===e||"name"===e)&&(i in s||i in Kt))return!1;if(xt&&!bt[e]&&b(lt,e));else if(Ct&&b(ht,e));else if(!gt[e]||bt[e]){if(!(ge(t)&&(yt.tagNameCheck instanceof RegExp&&b(yt.tagNameCheck,t)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(t))&&(yt.attributeNameCheck instanceof RegExp&&b(yt.attributeNameCheck,e)||yt.attributeNameCheck instanceof Function&&yt.attributeNameCheck(e))||"is"===e&&yt.allowCustomizedBuiltInElements&&(yt.tagNameCheck instanceof RegExp&&b(yt.tagNameCheck,i)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(i))))return!1}else if(zt[e]);else if(b(dt,m(i,ut,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(i,"data:")||!$t[t])if(vt&&!b(ct,m(i,ut,"")));else if(i)return!1;return!0},ge=function(t){return t.indexOf("-")>0},me=function(t){let e,i,n,o;de("beforeSanitizeAttributes",t,null);const{attributes:a}=t;if(!a)return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gt};for(o=a.length;o--;){e=a[o];const{name:l,namespaceURI:h}=e;if(i="value"===l?e.value:_(e.value),n=Jt(l),s.attrName=n,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,de("uponSanitizeAttribute",t,s),i=s.attrValue,s.forceKeepAttr)continue;if(le(l,t),!s.keepAttr)continue;if(!kt&&b(/\/>/i,i)){le(l,t);continue}Tt&&(i=m(i,ot," "),i=m(i,at," "),i=m(i,st," "));const c=Jt(t.nodeName);if(pe(c,n,i)){if(!Et||"id"!==n&&"name"!==n||(le(l,t),i="user-content-"+i),J&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(h);else switch(j.getAttributeType(c,n)){case"TrustedHTML":i=J.createHTML(i);break;case"TrustedScriptURL":i=J.createScriptURL(i)}try{h?t.setAttributeNS(h,l,i):t.setAttribute(l,i),u(r.removed)}catch(t){}}}de("afterSanitizeAttributes",t,null)},ye=function t(e){let i;const r=ce(e);for(de("beforeSanitizeShadowDOM",e,null);i=r.nextNode();)de("uponSanitizeShadowNode",i,null),fe(i)||(i.content instanceof l&&t(i.content),me(i));de("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e,i,o,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ht=!t,Ht&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ue(t)){if("function"!=typeof t.toString)throw C("toString is not a function");if("string"!=typeof(t=t.toString()))throw C("dirty is not a string, aborting")}if(!r.isSupported)return t;if(St||ee(s),r.removed=[],"string"==typeof t&&(It=!1),It){if(t.nodeName){const e=Jt(t.nodeName);if(!ft[e]||_t[e])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof x)e=he("\x3c!----\x3e"),i=e.ownerDocument.importNode(t,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?e=i:e.appendChild(i);else{if(!Ft&&!Tt&&!wt&&-1===t.indexOf("<"))return J&&Mt?J.createHTML(t):t;if(e=he(t),!e)return Ft?null:Mt?Q:""}e&&Bt&&se(e.firstChild);const h=ce(It?t:e);for(;o=h.nextNode();)fe(o)||(o.content instanceof l&&ye(o.content),me(o));if(It)return t;if(Ft){if(Lt)for(a=et.call(e.ownerDocument);e.firstChild;)a.appendChild(e.firstChild);else a=e;return(gt.shadowroot||gt.shadowrootmod)&&(a=rt.call(n,a,!0)),a}let c=wt?e.outerHTML:e.innerHTML;return wt&&ft["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&b(U,e.ownerDocument.doctype.name)&&(c="\n"+c),Tt&&(c=m(c,ot," "),c=m(c,at," "),c=m(c,st," ")),J&&Mt?J.createHTML(c):c},r.setConfig=function(t){ee(t),St=!0},r.clearConfig=function(){Qt=null,St=!1},r.isValidAttribute=function(t,e,i){Qt||ee({});const r=Jt(t),n=Jt(e);return pe(r,n,i)},r.addHook=function(t,e){"function"==typeof e&&(nt[t]=nt[t]||[],d(nt[t],e))},r.removeHook=function(t){if(nt[t])return u(nt[t])},r.removeHooks=function(t){nt[t]&&(nt[t]=[])},r.removeAllHooks=function(){nt={}},r}()}()},8464:function(t,e,i){"use strict";function r(t){for(var e=[],i=1;i=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i=n)&&(i=n)}return i}function n(t,e){let i;if(void 0===e)for(const e of t)null!=e&&(i>e||void 0===i&&e>=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i>n||void 0===i&&n>=n)&&(i=n)}return i}function o(t){return t}i.d(e,{Nb1:function(){return Ha},LLu:function(){return _},F5q:function(){return y},$0Z:function(){return os},Dts:function(){return ss},WQY:function(){return hs},qpX:function(){return us},u93:function(){return ds},tFB:function(){return ps},YY7:function(){return ys},OvA:function(){return bs},dCK:function(){return xs},zgE:function(){return Ts},fGX:function(){return Ss},$m7:function(){return Fs},c_6:function(){return Ga},fxm:function(){return Ms},FdL:function(){return $s},ak_:function(){return Zs},SxZ:function(){return Ps},eA_:function(){return Ws},jsv:function(){return Hs},iJ:function(){return Us},JHv:function(){return or},jvg:function(){return Qa},Fp7:function(){return r},VV$:function(){return n},ve8:function(){return es},BYU:function(){return Gr},PKp:function(){return tn},Xf:function(){return ya},Ys:function(){return _a},td_:function(){return ba},YPS:function(){return Zi},rr1:function(){return yn},i$Z:function(){return Gn},WQD:function(){return gn},Z_i:function(){return fn},F0B:function(){return qn},NGh:function(){return xn}});var a=1,s=2,l=3,h=4,c=1e-6;function u(t){return"translate("+t+",0)"}function d(t){return"translate(0,"+t+")"}function f(t){return e=>+t(e)}function p(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),i=>+t(i)+e}function g(){return!this.__axis}function m(t,e){var i=[],r=null,n=null,m=6,y=6,_=3,b="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,C=t===a||t===h?-1:1,x=t===h||t===s?"x":"y",v=t===a||t===l?u:d;function k(u){var d=null==r?e.ticks?e.ticks.apply(e,i):e.domain():r,k=null==n?e.tickFormat?e.tickFormat.apply(e,i):o:n,T=Math.max(m,0)+_,w=e.range(),S=+w[0]+b,B=+w[w.length-1]+b,F=(e.bandwidth?p:f)(e.copy(),b),L=u.selection?u.selection():u,M=L.selectAll(".domain").data([null]),A=L.selectAll(".tick").data(d,e).order(),E=A.exit(),O=A.enter().append("g").attr("class","tick"),I=A.select("line"),N=A.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(O),I=I.merge(O.append("line").attr("stroke","currentColor").attr(x+"2",C*m)),N=N.merge(O.append("text").attr("fill","currentColor").attr(x,C*T).attr("dy",t===a?"0em":t===l?"0.71em":"0.32em")),u!==L&&(M=M.transition(u),A=A.transition(u),I=I.transition(u),N=N.transition(u),E=E.transition(u).attr("opacity",c).attr("transform",(function(t){return isFinite(t=F(t))?v(t+b):this.getAttribute("transform")})),O.attr("opacity",c).attr("transform",(function(t){var e=this.parentNode.__axis;return v((e&&isFinite(e=e(t))?e:F(t))+b)}))),E.remove(),M.attr("d",t===h||t===s?y?"M"+C*y+","+S+"H"+b+"V"+B+"H"+C*y:"M"+b+","+S+"V"+B:y?"M"+S+","+C*y+"V"+b+"H"+B+"V"+C*y:"M"+S+","+b+"H"+B),A.attr("opacity",1).attr("transform",(function(t){return v(F(t)+b)})),I.attr(x+"2",C*m),N.attr(x,C*T).text(k),L.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===s?"start":t===h?"end":"middle"),L.each((function(){this.__axis=F}))}return k.scale=function(t){return arguments.length?(e=t,k):e},k.ticks=function(){return i=Array.from(arguments),k},k.tickArguments=function(t){return arguments.length?(i=null==t?[]:Array.from(t),k):i.slice()},k.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),k):r&&r.slice()},k.tickFormat=function(t){return arguments.length?(n=t,k):n},k.tickSize=function(t){return arguments.length?(m=y=+t,k):m},k.tickSizeInner=function(t){return arguments.length?(m=+t,k):m},k.tickSizeOuter=function(t){return arguments.length?(y=+t,k):y},k.tickPadding=function(t){return arguments.length?(_=+t,k):_},k.offset=function(t){return arguments.length?(b=+t,k):b},k}function y(t){return m(a,t)}function _(t){return m(l,t)}function b(){}function C(t){return null==t?b:function(){return this.querySelector(t)}}function x(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function v(){return[]}function k(t){return null==t?v:function(){return this.querySelectorAll(t)}}function T(t){return function(){return this.matches(t)}}function w(t){return function(e){return e.matches(t)}}var S=Array.prototype.find;function B(){return this.firstElementChild}var F=Array.prototype.filter;function L(){return Array.from(this.children)}function M(t){return new Array(t.length)}function A(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function E(t,e,i,r,n,o){for(var a,s=0,l=e.length,h=o.length;se?1:t>=e?0:NaN}A.prototype={constructor:A,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var D="http://www.w3.org/1999/xhtml",$={svg:"http://www.w3.org/2000/svg",xhtml:D,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Z(t){var e=t+="",i=e.indexOf(":");return i>=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),$.hasOwnProperty(e)?{space:$[e],local:t}:t}function z(t){return function(){this.removeAttribute(t)}}function j(t){return function(){this.removeAttributeNS(t.space,t.local)}}function P(t,e){return function(){this.setAttribute(t,e)}}function R(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}function U(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function H(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Y(t){return function(){this.style.removeProperty(t)}}function V(t,e,i){return function(){this.style.setProperty(t,e,i)}}function G(t,e,i){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,i)}}function X(t,e){return t.style.getPropertyValue(e)||H(t).getComputedStyle(t,null).getPropertyValue(e)}function J(t){return function(){delete this[t]}}function Q(t,e){return function(){this[t]=e}}function K(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new it(t)}function it(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function rt(t,e){for(var i=et(t),r=-1,n=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ft=[null];function Lt(t,e){this._groups=t,this._parents=e}function Mt(){return new Lt([[document.documentElement]],Ft)}Lt.prototype=Mt.prototype={constructor:Lt,select:function(t){"function"!=typeof t&&(t=C(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n=x&&(x=C+1);!(b=y[x])&&++x=0;)(r=n[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=q);for(var i=this._groups,r=i.length,n=new Array(r),o=0;o1?this.each((null==e?Y:"function"==typeof e?G:V)(t,e,null==i?"":i)):X(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?J:"function"==typeof e?K:Q)(t,e)):this.node()[t]},classed:function(t,e){var i=tt(t+"");if(arguments.length<2){for(var r=et(this.node()),n=-1,o=i.length;++n=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Tt:kt,r=0;r{}};function Ot(){for(var t,e=0,i=arguments.length,r={};e=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a0)for(var i,r,n=new Array(i),o=0;o=0&&e._call.call(void 0,t),e=e._next;--zt}()}finally{zt=0,function(){for(var t,e,i=Dt,r=1/0;i;)i._call?(r>i._time&&(r=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:Dt=e);$t=t,ee(r)}(),Ut=0}}function te(){var t=Yt.now(),e=t-Wt;e>Rt&&(Ht-=e,Wt=t)}function ee(t){zt||(jt&&(jt=clearTimeout(jt)),t-Ut>24?(t<1/0&&(jt=setTimeout(Kt,t-Yt.now()-Ht)),Pt&&(Pt=clearInterval(Pt))):(Pt||(Wt=Yt.now(),Pt=setInterval(te,Rt)),zt=1,Vt(Kt)))}function ie(t,e,i){var r=new Jt;return e=null==e?0:+e,r.restart((i=>{r.stop(),t(i+e)}),e,i),r}Jt.prototype=Qt.prototype={constructor:Jt,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?Gt():+i)+(null==e?0:+e),this._next||$t===this||($t?$t._next=this:Dt=this,$t=this),this._call=t,this._time=i,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=Zt("start","end","cancel","interrupt"),ne=[],oe=0,ae=3;function se(t,e,i,r,n,o){var a=t.__transition;if(a){if(i in a)return}else t.__transition={};!function(t,e,i){var r,n=t.__transition;function o(l){var h,c,u,d;if(1!==i.state)return s();for(h in n)if((d=n[h]).name===i.name){if(d.state===ae)return ie(o);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+hoe)throw new Error("too late; already scheduled");return i}function he(t,e){var i=ce(t,e);if(i.state>ae)throw new Error("too late; already running");return i}function ce(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function ue(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var de,fe=180/Math.PI,pe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ge(t,e,i,r,n,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*i+e*r)&&(i-=t*l,r-=e*l),(s=Math.sqrt(i*i+r*r))&&(i/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:i.push(n(i)+"rotate(",null,r)-2,x:ue(t,e)})):e&&i.push(n(i)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,i,o){t!==e?o.push({i:i.push(n(i)+"skewX(",null,r)-2,x:ue(t,e)}):e&&i.push(n(i)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,i,r,o,a){if(t!==i||e!==r){var s=o.push(n(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ue(t,i)},{i:s-2,x:ue(e,r)})}else 1===i&&1===r||o.push(n(o)+"scale("+i+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,i=-1,r=l.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===i?Pe(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===i?Pe(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Ae.exec(t))?new Ue(e[1],e[2],e[3],1):(e=Ee.exec(t))?new Ue(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Oe.exec(t))?Pe(e[1],e[2],e[3],e[4]):(e=Ie.exec(t))?Pe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ne.exec(t))?Je(e[1],e[2]/100,e[3]/100,1):(e=qe.exec(t))?Je(e[1],e[2]/100,e[3]/100,e[4]):De.hasOwnProperty(t)?je(De[t]):"transparent"===t?new Ue(NaN,NaN,NaN,0):null}function je(t){return new Ue(t>>16&255,t>>8&255,255&t,1)}function Pe(t,e,i,r){return r<=0&&(t=e=i=NaN),new Ue(t,e,i,r)}function Re(t){return t instanceof Te||(t=ze(t)),t?new Ue((t=t.rgb()).r,t.g,t.b,t.opacity):new Ue}function We(t,e,i,r){return 1===arguments.length?Re(t):new Ue(t,e,i,null==r?1:r)}function Ue(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}function He(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}`}function Ye(){const t=Ve(this.opacity);return`${1===t?"rgb(":"rgba("}${Ge(this.r)}, ${Ge(this.g)}, ${Ge(this.b)}${1===t?")":`, ${t})`}`}function Ve(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Xe(t){return((t=Ge(t))<16?"0":"")+t.toString(16)}function Je(t,e,i,r){return r<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,i,r)}function Qe(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof Te||(t=ze(t)),!t)return new Ke;if(t instanceof Ke)return t;var e=(t=t.rgb()).r/255,i=t.g/255,r=t.b/255,n=Math.min(e,i,r),o=Math.max(e,i,r),a=NaN,s=o-n,l=(o+n)/2;return s?(a=e===o?(i-r)/s+6*(i0&&l<1?0:a,new Ke(a,s,l,t.opacity)}function Ke(t,e,i,r){this.h=+t,this.s=+e,this.l=+i,this.opacity=+r}function ti(t){return(t=(t||0)%360)<0?t+360:t}function ei(t){return Math.max(0,Math.min(1,t||0))}function ii(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}function ri(t,e,i,r,n){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*i+(1+3*t+3*o-3*a)*r+a*n)/6}ve(Te,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Qe(this).formatHsl()},formatRgb:Ze,toString:Ze}),ve(Ue,We,ke(Te,{brighter(t){return t=null==t?Se:Math.pow(Se,t),new Ue(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?we:Math.pow(we,t),new Ue(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ue(Ge(this.r),Ge(this.g),Ge(this.b),Ve(this.opacity))},displayable(){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:He,formatHex:He,formatHex8:function(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}${Xe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ye,toString:Ye})),ve(Ke,(function(t,e,i,r){return 1===arguments.length?Qe(t):new Ke(t,e,i,null==r?1:r)}),ke(Te,{brighter(t){return t=null==t?Se:Math.pow(Se,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?we:Math.pow(we,t),new Ke(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*e,n=2*i-r;return new Ue(ii(t>=240?t-240:t+120,n,r),ii(t,n,r),ii(t<120?t+240:t-120,n,r),this.opacity)},clamp(){return new Ke(ti(this.h),ei(this.s),ei(this.l),Ve(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ve(this.opacity);return`${1===t?"hsl(":"hsla("}${ti(this.h)}, ${100*ei(this.s)}%, ${100*ei(this.l)}%${1===t?")":`, ${t})`}`}}));var ni=t=>()=>t;function oi(t,e){return function(i){return t+i*e}}function ai(t,e){var i=e-t;return i?oi(t,i):ni(isNaN(t)?e:t)}var si=function t(e){var i=function(t){return 1==(t=+t)?ai:function(e,i){return i-e?function(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(r){return Math.pow(t+r*e,i)}}(e,i,t):ni(isNaN(e)?i:e)}}(e);function r(t,e){var r=i((t=We(t)).r,(e=We(e)).r),n=i(t.g,e.g),o=i(t.b,e.b),a=ai(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function li(t){return function(e){var i,r,n=e.length,o=new Array(n),a=new Array(n),s=new Array(n);for(i=0;i=1?(i=1,e-1):Math.floor(i*e),n=t[r],o=t[r+1],a=r>0?t[r-1]:2*n-o,s=ro&&(n=e.slice(o,n),s[a]?s[a]+=n:s[++a]=n),(i=i[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ue(i,r)})),o=ci.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?le:he;return function(){var a=o(this,t),s=a.on;s!==r&&(n=(r=s).copy()).on(e,i),a.on=n}}(i,t,e))},attr:function(t,e){var i=Z(t),r="transform"===i?_e:di;return this.attrTween(t,"function"==typeof e?(i.local?_i:yi)(i,r,xe(this,"attr."+t,e)):null==e?(i.local?pi:fi)(i):(i.local?mi:gi)(i,r,e))},attrTween:function(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;var r=Z(t);return this.tween(i,(r.local?bi:Ci)(r,e))},style:function(t,e,i){var r="transform"==(t+="")?ye:di;return null==e?this.styleTween(t,function(t,e){var i,r,n;return function(){var o=X(this,t),a=(this.style.removeProperty(t),X(this,t));return o===a?null:o===i&&a===r?n:n=e(i=o,r=a)}}(t,r)).on("end.style."+t,Si(t)):"function"==typeof e?this.styleTween(t,function(t,e,i){var r,n,o;return function(){var a=X(this,t),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=X(this,t)),a===l?null:a===r&&l===n?o:(n=l,o=e(r=a,s))}}(t,r,xe(this,"style."+t,e))).each(function(t,e){var i,r,n,o,a="style."+e,s="end."+a;return function(){var l=he(this,t),h=l.on,c=null==l.value[a]?o||(o=Si(e)):void 0;h===i&&n===c||(r=(i=h).copy()).on(s,n=c),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,i){var r,n,o=i+"";return function(){var a=X(this,t);return a===o?null:a===r?n:n=e(r=a,i)}}(t,r,e),i).on("end.style."+t,null)},styleTween:function(t,e,i){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,i){var r,n;function o(){var o=e.apply(this,arguments);return o!==n&&(r=(n=o)&&function(t,e,i){return function(r){this.style.setProperty(t,e.call(this,r),i)}}(t,o,i)),r}return o._value=e,o}(t,e,null==i?"":i))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(xe(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,i;function r(){var r=t.apply(this,arguments);return r!==i&&(e=(i=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var i=this._id;if(t+="",arguments.length<2){for(var r,n=ce(this.node(),i).tween,o=0,a=n.length;o2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete o[n]):a=!1;a&&delete t.__transition}}(this,t)}))},At.prototype.transition=function(t){var e,i;t instanceof Fi?(e=t._id,t=t._name):(e=Li(),(i=Ai).time=Gt(),t=null==t?null:t+"");for(var r=this._groups,n=r.length,o=0;ofunction(t,e){return fetch(t,e).then(Di)}(e,i).then((e=>(new DOMParser).parseFromString(e,t)))}["w","e"].map(qi),["n","s"].map(qi),["n","w","e","s","nw","ne","sw","se"].map(qi),$i("application/xml"),$i("text/html");var Zi=$i("image/svg+xml");const zi=Math.PI/180,ji=180/Math.PI,Pi=.96422,Ri=1,Wi=.82521,Ui=4/29,Hi=6/29,Yi=3*Hi*Hi,Vi=Hi*Hi*Hi;function Gi(t){if(t instanceof Xi)return new Xi(t.l,t.a,t.b,t.opacity);if(t instanceof ir)return rr(t);t instanceof Ue||(t=Re(t));var e,i,r=tr(t.r),n=tr(t.g),o=tr(t.b),a=Ji((.2225045*r+.7168786*n+.0606169*o)/Ri);return r===n&&n===o?e=i=a:(e=Ji((.4360747*r+.3850649*n+.1430804*o)/Pi),i=Ji((.0139322*r+.0971045*n+.7141733*o)/Wi)),new Xi(116*a-16,500*(e-a),200*(a-i),t.opacity)}function Xi(t,e,i,r){this.l=+t,this.a=+e,this.b=+i,this.opacity=+r}function Ji(t){return t>Vi?Math.pow(t,1/3):t/Yi+Ui}function Qi(t){return t>Hi?t*t*t:Yi*(t-Ui)}function Ki(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function tr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function er(t,e,i,r){return 1===arguments.length?function(t){if(t instanceof ir)return new ir(t.h,t.c,t.l,t.opacity);if(t instanceof Xi||(t=Gi(t)),0===t.a&&0===t.b)return new ir(NaN,0180||i<-180?i-360*Math.round(i/360):i):ni(isNaN(t)?e:t)}));nr(ai);const ar=Math.sqrt(50),sr=Math.sqrt(10),lr=Math.sqrt(2);function hr(t,e,i){const r=(e-t)/Math.max(0,i),n=Math.floor(Math.log10(r)),o=r/Math.pow(10,n),a=o>=ar?10:o>=sr?5:o>=lr?2:1;let s,l,h;return n<0?(h=Math.pow(10,-n)/a,s=Math.round(t*h),l=Math.round(e*h),s/he&&--l,h=-h):(h=Math.pow(10,n)*a,s=Math.round(t/h),l=Math.round(e/h),s*he&&--l),le?1:t>=e?0:NaN}function fr(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function pr(t){let e,i,r;function n(t,r,n=0,o=t.length){if(n>>1;i(t[e],r)<0?n=e+1:o=e}while(ndr(t(e),i),r=(e,i)=>t(e)-i):(e=t===dr||t===fr?t:gr,i=t,r=t),{left:n,center:function(t,e,i=0,o=t.length){const a=n(t,e,i,o-1);return a>i&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,n=0,o=t.length){if(n>>1;i(t[e],r)<=0?n=e+1:o=e}while(ne&&(i=t,t=e,e=i),h=function(i){return Math.max(t,Math.min(e,i))}),r=l>2?Mr:Lr,n=o=null,u}function u(e){return null==e||isNaN(e=+e)?i:(n||(n=r(a.map(t),s,l)))(t(h(e)))}return u.invert=function(i){return h(e((o||(o=r(s,a.map(t),ue)))(i)))},u.domain=function(t){return arguments.length?(a=Array.from(t,wr),c()):a.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=Tr,c()},u.clamp=function(t){return arguments.length?(h=!!t||Br,c()):h!==Br},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(i=t,u):i},function(i,r){return t=i,e=r,c()}}()(Br,Br)}function Or(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Ir,Nr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function qr(t){if(!(e=Nr.exec(t)))throw new Error("invalid format: "+t);var e;return new Dr({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Dr(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function $r(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,r=t.slice(0,i);return[r.length>1?r[0]+r.slice(2):r,+t.slice(i+1)]}function Zr(t){return(t=$r(Math.abs(t)))?t[1]:NaN}function zr(t,e){var i=$r(t,e);if(!i)return t+"";var r=i[0],n=i[1];return n<0?"0."+new Array(-n).join("0")+r:r.length>n+1?r.slice(0,n+1)+"."+r.slice(n+1):r+new Array(n-r.length+2).join("0")}qr.prototype=Dr.prototype,Dr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var jr={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>zr(100*t,e),r:zr,s:function(t,e){var i=$r(t,e);if(!i)return t+"";var r=i[0],n=i[1],o=n-(Ir=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+$r(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Pr(t){return t}var Rr,Wr,Ur,Hr=Array.prototype.map,Yr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Vr(t){var e=t.domain;return t.ticks=function(t){var i=e();return function(t,e,i){if(!((i=+i)>0))return[];if((t=+t)==(e=+e))return[t];const r=e=n))return[];const s=o-n+1,l=new Array(s);if(r)if(a<0)for(let t=0;t0;){if((n=cr(l,h,i))===r)return o[a]=l,o[s]=h,e(o);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else{if(!(n<0))break;l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n}r=n}return t},t}function Gr(){var t=Er();return t.copy=function(){return Ar(t,Gr())},Or.apply(t,arguments),Vr(t)}Rr=function(t){var e,i,r=void 0===t.grouping||void 0===t.thousands?Pr:(e=Hr.call(t.grouping,Number),i=t.thousands+"",function(t,r){for(var n=t.length,o=[],a=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(n-=s,n+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(i)}),n=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Pr:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Hr.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",h=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=qr(t)).fill,i=t.align,u=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,_=t.type;"n"===_?(g=!0,_="g"):jr[_]||(void 0===m&&(m=12),y=!0,_="g"),(f||"0"===e&&"="===i)&&(f=!0,e="0",i="=");var b="$"===d?n:"#"===d&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",C="$"===d?o:/[%p]/.test(_)?l:"",x=jr[_],v=/[defgprs%]/.test(_);function k(t){var n,o,l,d=b,k=C;if("c"===_)k=x(t)+k,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:x(Math.abs(t),m),y&&(t=function(t){t:for(var e,i=t.length,r=1,n=-1;r0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==u&&(T=!1),d=(T?"("===u?u:h:"-"===u||"("===u?"":u)+d,k=("s"===_?Yr[8+Ir/3]:"")+k+(T&&"("===u?")":""),v)for(n=-1,o=t.length;++n(l=t.charCodeAt(n))||l>57){k=(46===l?a+t.slice(n+1):t.slice(n))+k,t=t.slice(0,n);break}}g&&!f&&(t=r(t,1/0));var w=d.length+t.length+k.length,S=w>1)+d+t+k+S.slice(w);break;default:t=S+d+t+k}return s(t)}return m=void 0===m?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:u,formatPrefix:function(t,e){var i=u(((t=qr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Zr(e)/3))),n=Math.pow(10,-r),o=Yr[8+r/3];return function(t){return i(n*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Wr=Rr.format,Ur=Rr.formatPrefix;class Xr extends Map{constructor(t,e=Qr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,i]of t)this.set(e,i)}get(t){return super.get(Jr(this,t))}has(t){return super.has(Jr(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):(t.set(r,i),i)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},i){const r=e(i);return t.has(r)&&(i=t.get(r),t.delete(r)),i}(this,t))}}function Jr({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):i}function Qr(t){return null!==t&&"object"==typeof t?t.valueOf():t}const Kr=Symbol("implicit");function tn(){var t=new Xr,e=[],i=[],r=Kr;function n(n){let o=t.get(n);if(void 0===o){if(r!==Kr)return r;t.set(n,o=e.push(n)-1)}return i[o%i.length]}return n.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new Xr;for(const r of i)t.has(r)||t.set(r,e.push(r)-1);return n},n.range=function(t){return arguments.length?(i=Array.from(t),n):i.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return tn(e,i).unknown(r)},Or.apply(n,arguments),n}const en=1e3,rn=6e4,nn=36e5,on=864e5,an=6048e5,sn=31536e6,ln=new Date,hn=new Date;function cn(t,e,i,r){function n(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),n.round=t=>{const e=n(t),i=n.ceil(t);return t-e(e(t=new Date(+t),null==i?1:Math.floor(i)),t),n.range=(i,r,o)=>{const a=[];if(i=n.ceil(i),o=null==o?1:Math.floor(o),!(i0))return a;let s;do{a.push(s=new Date(+i)),e(i,o),t(i)}while(scn((e=>{if(e>=e)for(;t(e),!i(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!i(t););else for(;--r>=0;)for(;e(t,1),!i(t););})),i&&(n.count=(e,r)=>(ln.setTime(+e),hn.setTime(+r),t(ln),t(hn),Math.floor(i(ln,hn))),n.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?n.filter(r?e=>r(e)%t==0:e=>n.count(0,e)%t==0):n:null)),n}const un=cn((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));un.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?cn((e=>{e.setTime(Math.floor(e/t)*t)}),((e,i)=>{e.setTime(+e+i*t)}),((e,i)=>(i-e)/t)):un:null),un.range;const dn=cn((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*en)}),((t,e)=>(e-t)/en),(t=>t.getUTCSeconds())),fn=(dn.range,cn((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*en)}),((t,e)=>{t.setTime(+t+e*rn)}),((t,e)=>(e-t)/rn),(t=>t.getMinutes()))),pn=(fn.range,cn((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*rn)}),((t,e)=>(e-t)/rn),(t=>t.getUTCMinutes()))),gn=(pn.range,cn((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*en-t.getMinutes()*rn)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getHours()))),mn=(gn.range,cn((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getUTCHours()))),yn=(mn.range,cn((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rn)/on),(t=>t.getDate()-1))),_n=(yn.range,cn((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/on),(t=>t.getUTCDate()-1))),bn=(_n.range,cn((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/on),(t=>Math.floor(t/on))));function Cn(t){return cn((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rn)/an))}bn.range;const xn=Cn(0),vn=Cn(1),kn=Cn(2),Tn=Cn(3),wn=Cn(4),Sn=Cn(5),Bn=Cn(6);function Fn(t){return cn((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/an))}xn.range,vn.range,kn.range,Tn.range,wn.range,Sn.range,Bn.range;const Ln=Fn(0),Mn=Fn(1),An=Fn(2),En=Fn(3),On=Fn(4),In=Fn(5),Nn=Fn(6),qn=(Ln.range,Mn.range,An.range,En.range,On.range,In.range,Nn.range,cn((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),Dn=(qn.range,cn((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),$n=(Dn.range,cn((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));$n.every=t=>isFinite(t=Math.floor(t))&&t>0?cn((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,i)=>{e.setFullYear(e.getFullYear()+i*t)})):null,$n.range;const Zn=cn((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));function zn(t,e,i,r,n,o){const a=[[dn,1,en],[dn,5,5e3],[dn,15,15e3],[dn,30,3e4],[o,1,rn],[o,5,3e5],[o,15,9e5],[o,30,18e5],[n,1,nn],[n,3,108e5],[n,6,216e5],[n,12,432e5],[r,1,on],[r,2,1728e5],[i,1,an],[e,1,2592e6],[e,3,7776e6],[t,1,sn]];function s(e,i,r){const n=Math.abs(i-e)/r,o=pr((([,,t])=>t)).right(a,n);if(o===a.length)return t.every(ur(e/sn,i/sn,r));if(0===o)return un.every(Math.max(ur(e,i,r),1));const[s,l]=a[n/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?cn((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,i)=>{e.setUTCFullYear(e.getUTCFullYear()+i*t)})):null,Zn.range;const[jn,Pn]=zn(Zn,Dn,Ln,bn,mn,pn),[Rn,Wn]=zn($n,qn,xn,yn,gn,fn);function Un(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Hn(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Yn(t,e,i){return{y:t,m:e,d:i,H:0,M:0,S:0,L:0}}var Vn,Gn,Xn={"-":"",_:" ",0:"0"},Jn=/^\s*\d+/,Qn=/^%/,Kn=/[\\^$*+?|[\]().{}]/g;function to(t,e,i){var r=t<0?"-":"",n=(r?-t:t)+"",o=n.length;return r+(o[t.toLowerCase(),e])))}function no(t,e,i){var r=Jn.exec(e.slice(i,i+1));return r?(t.w=+r[0],i+r[0].length):-1}function oo(t,e,i){var r=Jn.exec(e.slice(i,i+1));return r?(t.u=+r[0],i+r[0].length):-1}function ao(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.U=+r[0],i+r[0].length):-1}function so(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.V=+r[0],i+r[0].length):-1}function lo(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.W=+r[0],i+r[0].length):-1}function ho(t,e,i){var r=Jn.exec(e.slice(i,i+4));return r?(t.y=+r[0],i+r[0].length):-1}function co(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),i+r[0].length):-1}function uo(t,e,i){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),i+r[0].length):-1}function fo(t,e,i){var r=Jn.exec(e.slice(i,i+1));return r?(t.q=3*r[0]-3,i+r[0].length):-1}function po(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.m=r[0]-1,i+r[0].length):-1}function go(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.d=+r[0],i+r[0].length):-1}function mo(t,e,i){var r=Jn.exec(e.slice(i,i+3));return r?(t.m=0,t.d=+r[0],i+r[0].length):-1}function yo(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.H=+r[0],i+r[0].length):-1}function _o(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.M=+r[0],i+r[0].length):-1}function bo(t,e,i){var r=Jn.exec(e.slice(i,i+2));return r?(t.S=+r[0],i+r[0].length):-1}function Co(t,e,i){var r=Jn.exec(e.slice(i,i+3));return r?(t.L=+r[0],i+r[0].length):-1}function xo(t,e,i){var r=Jn.exec(e.slice(i,i+6));return r?(t.L=Math.floor(r[0]/1e3),i+r[0].length):-1}function vo(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?i+r[0].length:-1}function ko(t,e,i){var r=Jn.exec(e.slice(i));return r?(t.Q=+r[0],i+r[0].length):-1}function To(t,e,i){var r=Jn.exec(e.slice(i));return r?(t.s=+r[0],i+r[0].length):-1}function wo(t,e){return to(t.getDate(),e,2)}function So(t,e){return to(t.getHours(),e,2)}function Bo(t,e){return to(t.getHours()%12||12,e,2)}function Fo(t,e){return to(1+yn.count($n(t),t),e,3)}function Lo(t,e){return to(t.getMilliseconds(),e,3)}function Mo(t,e){return Lo(t,e)+"000"}function Ao(t,e){return to(t.getMonth()+1,e,2)}function Eo(t,e){return to(t.getMinutes(),e,2)}function Oo(t,e){return to(t.getSeconds(),e,2)}function Io(t){var e=t.getDay();return 0===e?7:e}function No(t,e){return to(xn.count($n(t)-1,t),e,2)}function qo(t){var e=t.getDay();return e>=4||0===e?wn(t):wn.ceil(t)}function Do(t,e){return t=qo(t),to(wn.count($n(t),t)+(4===$n(t).getDay()),e,2)}function $o(t){return t.getDay()}function Zo(t,e){return to(vn.count($n(t)-1,t),e,2)}function zo(t,e){return to(t.getFullYear()%100,e,2)}function jo(t,e){return to((t=qo(t)).getFullYear()%100,e,2)}function Po(t,e){return to(t.getFullYear()%1e4,e,4)}function Ro(t,e){var i=t.getDay();return to((t=i>=4||0===i?wn(t):wn.ceil(t)).getFullYear()%1e4,e,4)}function Wo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+to(e/60|0,"0",2)+to(e%60,"0",2)}function Uo(t,e){return to(t.getUTCDate(),e,2)}function Ho(t,e){return to(t.getUTCHours(),e,2)}function Yo(t,e){return to(t.getUTCHours()%12||12,e,2)}function Vo(t,e){return to(1+_n.count(Zn(t),t),e,3)}function Go(t,e){return to(t.getUTCMilliseconds(),e,3)}function Xo(t,e){return Go(t,e)+"000"}function Jo(t,e){return to(t.getUTCMonth()+1,e,2)}function Qo(t,e){return to(t.getUTCMinutes(),e,2)}function Ko(t,e){return to(t.getUTCSeconds(),e,2)}function ta(t){var e=t.getUTCDay();return 0===e?7:e}function ea(t,e){return to(Ln.count(Zn(t)-1,t),e,2)}function ia(t){var e=t.getUTCDay();return e>=4||0===e?On(t):On.ceil(t)}function ra(t,e){return t=ia(t),to(On.count(Zn(t),t)+(4===Zn(t).getUTCDay()),e,2)}function na(t){return t.getUTCDay()}function oa(t,e){return to(Mn.count(Zn(t)-1,t),e,2)}function aa(t,e){return to(t.getUTCFullYear()%100,e,2)}function sa(t,e){return to((t=ia(t)).getUTCFullYear()%100,e,2)}function la(t,e){return to(t.getUTCFullYear()%1e4,e,4)}function ha(t,e){var i=t.getUTCDay();return to((t=i>=4||0===i?On(t):On.ceil(t)).getUTCFullYear()%1e4,e,4)}function ca(){return"+0000"}function ua(){return"%"}function da(t){return+t}function fa(t){return Math.floor(+t/1e3)}function pa(t){return new Date(t)}function ga(t){return t instanceof Date?+t:+new Date(+t)}function ma(t,e,i,r,n,o,a,s,l,h){var c=Er(),u=c.invert,d=c.domain,f=h(".%L"),p=h(":%S"),g=h("%I:%M"),m=h("%I %p"),y=h("%a %d"),_=h("%b %d"),b=h("%B"),C=h("%Y");function x(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:da,s:fa,S:Oo,u:Io,U:No,V:Do,w:$o,W:Zo,x:null,X:null,y:zo,Y:Po,Z:Wo,"%":ua},C={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Uo,e:Uo,f:Xo,g:sa,G:ha,H:Ho,I:Yo,j:Vo,L:Go,m:Jo,M:Qo,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:da,s:fa,S:Ko,u:ta,U:ea,V:ra,w:na,W:oa,x:null,X:null,y:aa,Y:la,Z:ca,"%":ua},x={a:function(t,e,i){var r=f.exec(e.slice(i));return r?(t.w=p.get(r[0].toLowerCase()),i+r[0].length):-1},A:function(t,e,i){var r=u.exec(e.slice(i));return r?(t.w=d.get(r[0].toLowerCase()),i+r[0].length):-1},b:function(t,e,i){var r=y.exec(e.slice(i));return r?(t.m=_.get(r[0].toLowerCase()),i+r[0].length):-1},B:function(t,e,i){var r=g.exec(e.slice(i));return r?(t.m=m.get(r[0].toLowerCase()),i+r[0].length):-1},c:function(t,i,r){return T(t,e,i,r)},d:go,e:go,f:xo,g:co,G:ho,H:yo,I:yo,j:mo,L:Co,m:po,M:_o,p:function(t,e,i){var r=h.exec(e.slice(i));return r?(t.p=c.get(r[0].toLowerCase()),i+r[0].length):-1},q:fo,Q:ko,s:To,S:bo,u:oo,U:ao,V:so,w:no,W:lo,x:function(t,e,r){return T(t,i,e,r)},X:function(t,e,i){return T(t,r,e,i)},y:co,Y:ho,Z:uo,"%":vo};function v(t,e){return function(i){var r,n,o,a=[],s=-1,l=0,h=t.length;for(i instanceof Date||(i=new Date(+i));++s53)return null;"w"in o||(o.w=1),"Z"in o?(n=(r=Hn(Yn(o.y,0,1))).getUTCDay(),r=n>4||0===n?Mn.ceil(r):Mn(r),r=_n.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(n=(r=Un(Yn(o.y,0,1))).getDay(),r=n>4||0===n?vn.ceil(r):vn(r),r=yn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),n="Z"in o?Hn(Yn(o.y,0,1)).getUTCDay():Un(Yn(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(n+5)%7:o.w+7*o.U-(n+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Hn(o)):Un(o)}}function T(t,e,i,r){for(var n,o,a=0,s=e.length,l=i.length;a=l)return-1;if(37===(n=e.charCodeAt(a++))){if(n=e.charAt(a++),!(o=x[n in Xn?e.charAt(a++):n])||(r=o(t,i,r))<0)return-1}else if(n!=i.charCodeAt(r++))return-1}return r}return b.x=v(i,b),b.X=v(r,b),b.c=v(e,b),C.x=v(i,C),C.X=v(r,C),C.c=v(e,C),{format:function(t){var e=v(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=v(t+="",C);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}({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"]}),Gn=Vn.format,Vn.parse,Vn.utcFormat,Vn.utcParse;const xa=Math.abs,va=Math.atan2,ka=Math.cos,Ta=Math.max,wa=Math.min,Sa=Math.sin,Ba=Math.sqrt,Fa=1e-12,La=Math.PI,Ma=La/2,Aa=2*La;function Ea(t){return t>=1?Ma:t<=-1?-Ma:Math.asin(t)}const Oa=Math.PI,Ia=2*Oa,Na=1e-6,qa=Ia-Na;function Da(t){this._+=t[0];for(let e=1,i=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Da;const i=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;eNa)if(Math.abs(c*s-l*h)>Na&&n){let d=i-o,f=r-a,p=s*s+l*l,g=d*d+f*f,m=Math.sqrt(p),y=Math.sqrt(u),_=n*Math.tan((Oa-Math.acos((p+u-g)/(2*m*y)))/2),b=_/y,C=_/m;Math.abs(b-1)>Na&&this._append`L${t+b*h},${e+b*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+C*s},${this._y1=e+C*l}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,i,r,n,o){if(t=+t,e=+e,o=!!o,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=i*Math.cos(r),s=i*Math.sin(r),l=t+a,h=e+s,c=1^o,u=o?r-n:n-r;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>Na||Math.abs(this._y1-h)>Na)&&this._append`L${l},${h}`,i&&(u<0&&(u=u%Ia+Ia),u>qa?this._append`A${i},${i},0,1,${c},${t-a},${e-s}A${i},${i},0,1,${c},${this._x1=l},${this._y1=h}`:u>Na&&this._append`A${i},${i},0,${+(u>=Oa)},${c},${this._x1=t+i*Math.cos(n)},${this._y1=e+i*Math.sin(n)}`)}rect(t,e,i,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function Za(t){let e=3;return t.digits=function(i){if(!arguments.length)return e;if(null==i)e=null;else{const t=Math.floor(i);if(!(t>=0))throw new RangeError(`invalid digits: ${i}`);e=t}return t},()=>new $a(e)}function za(t){return t.innerRadius}function ja(t){return t.outerRadius}function Pa(t){return t.startAngle}function Ra(t){return t.endAngle}function Wa(t){return t&&t.padAngle}function Ua(t,e,i,r,n,o,a){var s=t-i,l=e-r,h=(a?o:-o)/Ba(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=i+c,g=r+u,m=(d+p)/2,y=(f+g)/2,_=p-d,b=g-f,C=_*_+b*b,x=n-o,v=d*g-p*f,k=(b<0?-1:1)*Ba(Ta(0,x*x*C-v*v)),T=(v*b-_*k)/C,w=(-v*_-b*k)/C,S=(v*b+_*k)/C,B=(-v*_+b*k)/C,F=T-m,L=w-y,M=S-m,A=B-y;return F*F+L*L>M*M+A*A&&(T=S,w=B),{cx:T,cy:w,x01:-c,y01:-u,x11:T*(n/x-1),y11:w*(n/x-1)}}function Ha(){var t=za,e=ja,i=Ca(0),r=null,n=Pa,o=Ra,a=Wa,s=null,l=Za(h);function h(){var h,c,u,d=+t.apply(this,arguments),f=+e.apply(this,arguments),p=n.apply(this,arguments)-Ma,g=o.apply(this,arguments)-Ma,m=xa(g-p),y=g>p;if(s||(s=h=l()),fFa)if(m>Aa-Fa)s.moveTo(f*ka(p),f*Sa(p)),s.arc(0,0,f,p,g,!y),d>Fa&&(s.moveTo(d*ka(g),d*Sa(g)),s.arc(0,0,d,g,p,y));else{var _,b,C=p,x=g,v=p,k=g,T=m,w=m,S=a.apply(this,arguments)/2,B=S>Fa&&(r?+r.apply(this,arguments):Ba(d*d+f*f)),F=wa(xa(f-d)/2,+i.apply(this,arguments)),L=F,M=F;if(B>Fa){var A=Ea(B/d*Sa(S)),E=Ea(B/f*Sa(S));(T-=2*A)>Fa?(v+=A*=y?1:-1,k-=A):(T=0,v=k=(p+g)/2),(w-=2*E)>Fa?(C+=E*=y?1:-1,x-=E):(w=0,C=x=(p+g)/2)}var O=f*ka(C),I=f*Sa(C),N=d*ka(k),q=d*Sa(k);if(F>Fa){var D,$=f*ka(x),Z=f*Sa(x),z=d*ka(v),j=d*Sa(v);if(m1?0:u<-1?La:Math.acos(u))/2),Y=Ba(D[0]*D[0]+D[1]*D[1]);L=wa(F,(d-Y)/(H-1)),M=wa(F,(f-Y)/(H+1))}else L=M=0}w>Fa?M>Fa?(_=Ua(z,j,O,I,f,M,y),b=Ua($,Z,N,q,f,M,y),s.moveTo(_.cx+_.x01,_.cy+_.y01),MFa&&T>Fa?L>Fa?(_=Ua(N,q,$,Z,d,-L,y),b=Ua(O,I,z,j,d,-L,y),s.lineTo(_.cx+_.x01,_.cy+_.y01),Lt?1:e>=t?0:NaN}function ts(t){return t}function es(){var t=ts,e=Ka,i=null,r=Ca(0),n=Ca(Aa),o=Ca(0);function a(a){var s,l,h,c,u,d=(a=Ya(a)).length,f=0,p=new Array(d),g=new Array(d),m=+r.apply(this,arguments),y=Math.min(Aa,Math.max(-Aa,n.apply(this,arguments)-m)),_=Math.min(Math.abs(y)/d,o.apply(this,arguments)),b=_*(y<0?-1:1);for(s=0;s0&&(f+=u);for(null!=e?p.sort((function(t,i){return e(g[t],g[i])})):null!=i&&p.sort((function(t,e){return i(a[t],a[e])})),s=0,h=f?(y-d*b)/f:0;s0?u*h:0)+b,g[l]={data:a[l],index:s,value:u,startAngle:m,endAngle:c,padAngle:_};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:Ca(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,i=null,a):e},a.sort=function(t){return arguments.length?(i=t,e=null,a):i},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Ca(+t),a):r},a.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:Ca(+t),a):n},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Ca(+t),a):o},a}function is(){}function rs(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function ns(t){this._context=t}function os(t){return new ns(t)}function as(t){this._context=t}function ss(t){return new as(t)}function ls(t){this._context=t}function hs(t){return new ls(t)}$a.prototype,Array.prototype.slice,Va.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},ns.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:rs(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:rs(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},as.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:rs(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ls.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,r):this._context.moveTo(i,r);break;case 3:this._point=4;default:rs(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class cs{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function us(t){return new cs(t,!0)}function ds(t){return new cs(t,!1)}function fs(t,e){this._basis=new ns(t),this._beta=e}fs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var r,n=t[0],o=e[0],a=t[i]-n,s=e[i]-o,l=-1;++l<=i;)r=l/i,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+r*a),this._beta*e[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var ps=function t(e){function i(t){return 1===e?new ns(t):new fs(t,e)}return i.beta=function(e){return t(+e)},i}(.85);function gs(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function ms(t,e){this._context=t,this._k=(1-e)/6}ms.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:gs(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:gs(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ys=function t(e){function i(t){return new ms(t,e)}return i.tension=function(e){return t(+e)},i}(0);function _s(t,e){this._context=t,this._k=(1-e)/6}_s.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:gs(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bs=function t(e){function i(t){return new _s(t,e)}return i.tension=function(e){return t(+e)},i}(0);function Cs(t,e){this._context=t,this._k=(1-e)/6}Cs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gs(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xs=function t(e){function i(t){return new Cs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function vs(t,e,i){var r=t._x1,n=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Fa){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Fa){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*h+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(r,n,o,a,t._x2,t._y2)}function ks(t,e){this._context=t,this._alpha=e}ks.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:vs(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ts=function t(e){function i(t){return e?new ks(t,e):new ms(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function ws(t,e){this._context=t,this._alpha=e}ws.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:vs(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ss=function t(e){function i(t){return e?new ws(t,e):new _s(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Bs(t,e){this._context=t,this._alpha=e}Bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:vs(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Fs=function t(e){function i(t){return e?new Bs(t,e):new Cs(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ls(t){this._context=t}function Ms(t){return new Ls(t)}function As(t){return t<0?-1:1}function Es(t,e,i){var r=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(r||n<0&&-0),a=(i-t._y1)/(n||r<0&&-0),s=(o*n+a*r)/(r+n);return(As(o)+As(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Os(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Is(t,e,i){var r=t._x0,n=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,n+s*e,o-s,a-s*i,o,a)}function Ns(t){this._context=t}function qs(t){this._context=new Ds(t)}function Ds(t){this._context=t}function $s(t){return new Ns(t)}function Zs(t){return new qs(t)}function zs(t){this._context=t}function js(t){var e,i,r=t.length-1,n=new Array(r),o=new Array(r),a=new Array(r);for(n[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(a[e]-n[e+1])/o[e];for(o[r-1]=(t[r]+n[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}},Ys.prototype={constructor:Ys,scale:function(t){return 1===t?this:new Ys(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Ys(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Ys(1,0,0),Ys.prototype},4549:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var r=i(5971),n=i(2142),o=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new class{constructor(){this.type=n.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.w.ALL}is(t){return this.type===t}}}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.w.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:i,l:n}=t;void 0===e&&(t.h=r.Z.channel.rgb2hsl(t,"h")),void 0===i&&(t.s=r.Z.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=r.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:i,b:n}=t;void 0===e&&(t.r=r.Z.channel.hsl2rgb(t,"r")),void 0===i&&(t.g=r.Z.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=r.Z.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},1767:function(t,e,i){"use strict";i.d(e,{Z:function(){return g}});var r=i(4549),n=i(2142);const o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(o.re);if(!e)return;const i=e[1],n=parseInt(i,16),a=i.length,s=a%4==0,l=a>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return r.Z.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{const{r:e,g:i,b:r,a:o}=t;return o<1?`#${n.Q[Math.round(e)]}${n.Q[Math.round(i)]}${n.Q[Math.round(r)]}${n.Q[Math.round(255*o)]}`:`#${n.Q[Math.round(e)]}${n.Q[Math.round(i)]}${n.Q[Math.round(r)]}`}};var a=o,s=i(5971);const l={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(l.hueRe);if(e){const[,t,i]=e;switch(i){case"grad":return s.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return s.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.Z.channel.clamp.h(360*parseFloat(t))}}return s.Z.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const i=t.match(l.re);if(!i)return;const[,n,o,a,h,c]=i;return r.Z.set({h:l._hue2deg(n),s:s.Z.channel.clamp.s(parseFloat(o)),l:s.Z.channel.clamp.l(parseFloat(a)),a:h?s.Z.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{h:e,s:i,l:r,a:n}=t;return n<1?`hsla(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}%, ${s.Z.lang.round(r)}%, ${n})`:`hsl(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}%, ${s.Z.lang.round(r)}%)`}};var h=l;const c={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=c.colors[t];if(e)return a.parse(e)},stringify:t=>{const e=a.stringify(t);for(const t in c.colors)if(c.colors[t]===e)return t}};var u=c;const d={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const i=t.match(d.re);if(!i)return;const[,n,o,a,l,h,c,u,f]=i;return r.Z.set({r:s.Z.channel.clamp.r(o?2.55*parseFloat(n):parseFloat(n)),g:s.Z.channel.clamp.g(l?2.55*parseFloat(a):parseFloat(a)),b:s.Z.channel.clamp.b(c?2.55*parseFloat(h):parseFloat(h)),a:u?s.Z.channel.clamp.a(f?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`rgba(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}, ${s.Z.lang.round(r)}, ${s.Z.lang.round(n)})`:`rgb(${s.Z.lang.round(e)}, ${s.Z.lang.round(i)}, ${s.Z.lang.round(r)})`}};var f=d;const p={format:{keyword:c,hex:a,rgb:d,rgba:d,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=a.parse(t)||f.parse(t)||h.parse(t)||u.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.w.HSL)||void 0===t.data.r?h.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?f.stringify(t):a.stringify(t)};var g=p},2142:function(t,e,i){"use strict";i.d(e,{Q:function(){return n},w:function(){return o}});var r=i(5971);const n={};for(let t=0;t<=255;t++)n[t]=r.Z.unit.dec2hex(t);const o={ALL:0,RGB:1,HSL:2}},6174:function(t,e,i){"use strict";var r=i(5971),n=i(1767);e.Z=(t,e,i)=>{const o=n.Z.parse(t),a=o[e],s=r.Z.channel.clamp[e](a+i);return a!==s&&(o[e]=s),n.Z.stringify(o)}},3438:function(t,e,i){"use strict";var r=i(5971),n=i(1767);e.Z=(t,e)=>{const i=n.Z.parse(t);for(const t in e)i[t]=r.Z.channel.clamp[t](e[t]);return n.Z.stringify(i)}},7201:function(t,e,i){"use strict";var r=i(6174);e.Z=(t,e)=>(0,r.Z)(t,"l",-e)},6500:function(t,e,i){"use strict";i.d(e,{Z:function(){return a}});var r=i(5971),n=i(1767),o=t=>(t=>{const{r:e,g:i,b:o}=n.Z.parse(t),a=.2126*r.Z.channel.toLinear(e)+.7152*r.Z.channel.toLinear(i)+.0722*r.Z.channel.toLinear(o);return r.Z.lang.round(a)})(t)>=.5,a=t=>!o(t)},2281:function(t,e,i){"use strict";var r=i(6174);e.Z=(t,e)=>(0,r.Z)(t,"l",e)},1117:function(t,e,i){"use strict";var r=i(5971),n=i(4549),o=i(1767),a=i(3438);e.Z=(t,e,i=0,s=1)=>{if("number"!=typeof t)return(0,a.Z)(t,{a:e});const l=n.Z.set({r:r.Z.channel.clamp.r(t),g:r.Z.channel.clamp.g(e),b:r.Z.channel.clamp.b(i),a:r.Z.channel.clamp.a(s)});return o.Z.stringify(l)}},5971:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});const r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t),hsl2rgb:({h:t,s:e,l:i},n)=>{if(!e)return 2.55*i;t/=360,e/=100;const o=(i/=100)<.5?i*(1+e):i+e-i*e,a=2*i-o;switch(n){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:i},r)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),o=Math.min(t,e,i),a=(n+o)/2;if("l"===r)return 100*a;if(n===o)return 0;const s=n-o;if("s"===r)return 100*(a>.5?s/(2-n-o):s/(n+o));switch(n){case t:return 60*((e-i)/s+(ee>i?Math.min(e,Math.max(i,t)):Math.min(i,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},2536:function(t,e,i){"use strict";i.d(e,{Z:function(){return s}});var r=i(9651),n=function(t,e){for(var i=t.length;i--;)if((0,r.Z)(t[i][0],e))return i;return-1},o=Array.prototype.splice;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var i=this.__data__,r=n(i,t);return r<0?(++this.size,i.push([t,e])):i[r][1]=e,this};var s=a},6183:function(t,e,i){"use strict";var r=i(2119),n=i(6092),o=(0,r.Z)(n.Z,"Map");e.Z=o},520:function(t,e,i){"use strict";i.d(e,{Z:function(){return d}});var r=(0,i(2119).Z)(Object,"create"),n=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=9007199254740991}},7226:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},7212:function(t,e,i){"use strict";i.d(e,{Z:function(){return c}});var r=i(1922),n=i(1656),o=i(8533),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=i(1162),l=i(4254),h=l.Z&&l.Z.isTypedArray,c=h?(0,s.Z)(h):function(t){return(0,o.Z)(t)&&(0,n.Z)(t.length)&&!!a[(0,r.Z)(t)]}},2454:function(t,e,i){"use strict";var r=i(520);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var a=t.apply(this,r);return i.cache=o.set(n,a)||o,a};return i.cache=new(n.Cache||r.Z),i}n.Cache=r.Z,e.Z=n},5103:function(t,e,i){"use strict";i.d(e,{A:function(){return Zi},B:function(){return _r},C:function(){return _t},D:function(){return Tt},E:function(){return cn},F:function(){return ar},G:function(){return ei},H:function(){return pn},I:function(){return Ai},J:function(){return Oi},K:function(){return Ln},Z:function(){return Ji},a:function(){return Bi},b:function(){return Si},c:function(){return hi},d:function(){return ht},e:function(){return pt},f:function(){return ti},g:function(){return wi},h:function(){return dr},i:function(){return mi},j:function(){return ur},k:function(){return nr},l:function(){return rt},m:function(){return bn},n:function(){return dt},o:function(){return ir},p:function(){return yi},q:function(){return li},r:function(){return Fi},s:function(){return Ti},t:function(){return Li},u:function(){return br},v:function(){return ki},w:function(){return hr},x:function(){return ft},y:function(){return sr},z:function(){return Di}});var r=i(8464),n=i(7484),o=i(7967),a=i(5740),s=i(7856),l=i(1767),h=i(3438),c=(t,e)=>{const i=l.Z.parse(t),r={};for(const t in e)e[t]&&(r[t]=i[t]+e[t]);return(0,h.Z)(t,r)},u=i(1117),d=(t,e=100)=>{const i=l.Z.parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,((t,e,i=50)=>{const{r:r,g:n,b:o,a:a}=l.Z.parse(t),{r:s,g:h,b:c,a:d}=l.Z.parse(e),f=i/100,p=2*f-1,g=a-d,m=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,y=1-m,_=r*m+s*y,b=n*m+h*y,C=o*m+c*y,x=a*f+d*(1-f);return(0,u.Z)(_,b,C,x)})(i,t,e)},f=i(7201),p=i(2281),g=i(6500),m=i(2454),y="comm",_="rule",b="decl",C=Math.abs,x=String.fromCharCode;function v(t){return t.trim()}function k(t,e,i){return t.replace(e,i)}function T(t,e){return t.indexOf(e)}function w(t,e){return 0|t.charCodeAt(e)}function S(t,e,i){return t.slice(e,i)}function B(t){return t.length}function F(t,e){return e.push(t),t}function L(t,e){for(var i="",r=0;r0?w(q,--I):0,E--,10===N&&(E=1,A--),N}function Z(){return N=I2||R(N)>3?"":" "}function H(t,e){for(;--e&&Z()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return P(t,j()+(e<6&&32==z()&&32==Z()))}function Y(t){for(;Z();)switch(N){case t:return I;case 34:case 39:34!==t&&39!==t&&Y(N);break;case 40:41===t&&Y(t);break;case 92:Z()}return I}function V(t,e){for(;Z()&&t+N!==57&&(t+N!==84||47!==z()););return"/*"+P(e,I-1)+"*"+x(47===t?t:Z())}function G(t){for(;!R(z());)Z();return P(t,I)}function X(t){return function(t){return q="",t}(J("",null,null,null,[""],t=function(t){return A=E=1,O=B(q=t),I=0,[]}(t),0,[0],t))}function J(t,e,i,r,n,o,a,s,l){for(var h=0,c=0,u=a,d=0,f=0,p=0,g=1,m=1,y=1,_=0,b="",C=n,v=o,S=r,L=b;m;)switch(p=_,_=Z()){case 40:if(108!=p&&58==w(L,u-1)){-1!=T(L+=k(W(_),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:L+=W(_);break;case 9:case 10:case 13:case 32:L+=U(p);break;case 92:L+=H(j()-1,7);continue;case 47:switch(z()){case 42:case 47:F(K(V(Z(),j()),e,i,l),l);break;default:L+="/"}break;case 123*g:s[h++]=B(L)*y;case 125*g:case 59:case 0:switch(_){case 0:case 125:m=0;case 59+c:-1==y&&(L=k(L,/\f/g,"")),f>0&&B(L)-u&&F(f>32?tt(L+";",r,i,u-1,l):tt(k(L," ","")+";",r,i,u-2,l),l);break;case 59:L+=";";default:if(F(S=Q(L,e,i,h,c,n,s,b,C=[],v=[],u,o),o),123===_)if(0===c)J(L,e,S,S,C,o,u,s,v);else switch(99===d&&110===w(L,3)?100:d){case 100:case 108:case 109:case 115:J(t,S,S,r&&F(Q(t,S,S,0,0,n,s,b,n,C=[],u,v),v),n,v,u,s,r?C:v);break;default:J(L,S,S,S,[""],v,0,s,v)}}h=c=f=0,g=y=1,b=L="",u=a;break;case 58:u=1+B(L),f=p;default:if(g<1)if(123==_)--g;else if(125==_&&0==g++&&125==$())continue;switch(L+=x(_),_*g){case 38:y=c>0?1:(L+="\f",-1);break;case 44:s[h++]=(B(L)-1)*y,y=1;break;case 64:45===z()&&(L+=W(Z())),d=z(),c=u=B(b=L+=G(j())),_++;break;case 45:45===p&&2==B(L)&&(g=0)}}return o}function Q(t,e,i,r,n,o,a,s,l,h,c,u){for(var d=n-1,f=0===n?o:[""],p=function(t){return t.length}(f),g=0,m=0,y=0;g0?f[b]+" "+x:k(x,/&\f/g,f[b])))&&(l[y++]=T);return D(t,e,i,0===n?_:s,l,h,c,u)}function K(t,e,i,r){return D(t,e,i,y,x(N),S(t,2,-2),0,r)}function tt(t,e,i,r,n){return D(t,e,i,b,S(t,0,r),S(t,r+1,-1),r,n)}var et=i(9697);const it={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},rt={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},nt=function(t="fatal"){let e=it.fatal;"string"==typeof t?(t=t.toLowerCase())in it&&(e=it[t]):"number"==typeof t&&(e=t),rt.trace=()=>{},rt.debug=()=>{},rt.info=()=>{},rt.warn=()=>{},rt.error=()=>{},rt.fatal=()=>{},e<=it.fatal&&(rt.fatal=console.error?console.error.bind(console,ot("FATAL"),"color: orange"):console.log.bind(console,"",ot("FATAL"))),e<=it.error&&(rt.error=console.error?console.error.bind(console,ot("ERROR"),"color: orange"):console.log.bind(console,"",ot("ERROR"))),e<=it.warn&&(rt.warn=console.warn?console.warn.bind(console,ot("WARN"),"color: orange"):console.log.bind(console,"",ot("WARN"))),e<=it.info&&(rt.info=console.info?console.info.bind(console,ot("INFO"),"color: lightblue"):console.log.bind(console,"",ot("INFO"))),e<=it.debug&&(rt.debug=console.debug?console.debug.bind(console,ot("DEBUG"),"color: lightgreen"):console.log.bind(console,"",ot("DEBUG"))),e<=it.trace&&(rt.trace=console.debug?console.debug.bind(console,ot("TRACE"),"color: lightgreen"):console.log.bind(console,"",ot("TRACE")))},ot=t=>`%c${n().format("ss.SSS")} : ${t} : `,at=//gi,st=t=>s.sanitize(t),lt=(t,e)=>{var i;if(!1!==(null==(i=e.flowchart)?void 0:i.htmlLabels)){const i=e.securityLevel;"antiscript"===i||"strict"===i?t=st(t):"loose"!==i&&(t=(t=(t=ut(t)).replace(//g,">")).replace(/=/g,"="),t=ct(t))}return t},ht=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(lt(t,e),e.dompurifyConfig).toString():s.sanitize(lt(t,e),{FORBID_TAGS:["style"]}).toString():t,ct=t=>t.replace(/#br#/g,"
    "),ut=t=>t.replace(at,"#br#"),dt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),ft=function(t){let e=t;if(t.split("~").length-1>=2){let t=e;do{e=t,t=e.replace(/~([^\s,:;]+)~/,"<$1>")}while(t!=e);return ft(t)}return e},pt={getRows:t=>t?ut(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:ht,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ht(t,e):t.flat().map((t=>ht(t,e))),hasBreaks:t=>at.test(t),splitBreaks:t=>t.split(at),lineBreakRegex:at,removeScript:st,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:dt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},gt=(t,e)=>c(t,e?{s:-40,l:10}:{s:-40,l:-10}),mt="#ffffff",yt="#f2f2f2",_t=t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=c(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=gt(this.primaryColor,this.darkMode),this.secondaryBorderColor=gt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=gt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,u.Z)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e};class bt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,p.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=gt(this.primaryColor,this.darkMode),this.secondaryBorderColor=gt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=gt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,p.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,p.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const Ct={base:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||c(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||c(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||gt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||gt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||gt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||gt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||d(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||d(this.tertiaryColor),this.lineColor=this.lineColor||d(this.background),this.arrowheadColor=this.arrowheadColor||d(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,f.Z)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,f.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||d(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,p.Z)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,p.Z)(this.primaryColor,16),this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=d(this.background),this.secondaryBorderColor=gt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=gt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,p.Z)(d("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,u.Z)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,f.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,f.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,u.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,u.Z)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,p.Z)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,p.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,p.Z)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=c(this.primaryColor,{h:64}),this.fillType3=c(this.secondaryColor,{h:64}),this.fillType4=c(this.primaryColor,{h:-64}),this.fillType5=c(this.secondaryColor,{h:-64}),this.fillType6=c(this.primaryColor,{h:128}),this.fillType7=c(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},default:{getThemeVariables:_t},forest:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,p.Z)("#cde498",10),this.primaryBorderColor=gt(this.primaryColor,this.darkMode),this.secondaryBorderColor=gt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=gt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.primaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,f.Z)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new bt;return e.calculate(t),e}}},xt={theme:"default",themeVariables:Ct.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,displayMode:"",axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0,textPosition:.75},quadrantChart:{chartWidth:500,chartHeight:500,titlePadding:10,titleFontSize:20,quadrantPadding:5,quadrantTextTopPadding:5,quadrantLabelFontSize:16,quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2,xAxisLabelPadding:5,xAxisLabelFontSize:16,xAxisPosition:"top",yAxisLabelPadding:5,yAxisLabelFontSize:16,yAxisPosition:"left",pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};xt.class&&(xt.class.arrowMarkerAbsolute=xt.arrowMarkerAbsolute),xt.gitGraph&&(xt.gitGraph.arrowMarkerAbsolute=xt.arrowMarkerAbsolute);const vt=(t,e="")=>Object.keys(t).reduce(((i,r)=>Array.isArray(t[r])?i:"object"==typeof t[r]&&null!==t[r]?[...i,e+r,...vt(t[r],"")]:[...i,e+r]),[]),kt=vt(xt,""),Tt=xt;function wt(t){return null==t}var St={isNothing:wt,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:wt(t)?[]:[t]},repeat:function(t,e){var i,r="";for(i=0;is&&(e=r-s+(o=" ... ").length),i-r>s&&(i=r+s-(a=" ...").length),{str:o+t.slice(e,i).replace(/\t/g,"→")+a,pos:r-e+o.length}}function At(t,e){return St.repeat(" ",e-t.length)+t}var Et=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var i,r=/\r?\n|\r|\0/g,n=[0],o=[],a=-1;i=r.exec(t.buffer);)o.push(i.index),n.push(i.index+i[0].length),t.position<=i.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var s,l,h="",c=Math.min(t.line+e.linesAfter,o.length).toString().length,u=e.maxLength-(e.indent+c+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=Mt(t.buffer,n[a-s],o[a-s],t.position-(n[a]-n[a-s]),u),h=St.repeat(" ",e.indent)+At((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=Mt(t.buffer,n[a],o[a],t.position,u),h+=St.repeat(" ",e.indent)+At((t.line+1).toString(),c)+" | "+l.str+"\n",h+=St.repeat("-",e.indent+c+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=Mt(t.buffer,n[a+s],o[a+s],t.position-(n[a]-n[a+s]),u),h+=St.repeat(" ",e.indent)+At((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")},Ot=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],It=["scalar","sequence","mapping"],Nt=function(t,e){var i,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===Ot.indexOf(e))throw new Lt('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(i=e.styleAliases||null,r={},null!==i&&Object.keys(i).forEach((function(t){i[t].forEach((function(e){r[String(e)]=t}))})),r),-1===It.indexOf(this.kind))throw new Lt('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function qt(t,e){var i=[];return t[e].forEach((function(t){var e=i.length;i.forEach((function(i,r){i.tag===t.tag&&i.kind===t.kind&&i.multi===t.multi&&(e=r)})),i[e]=t})),i}function Dt(t){return this.extend(t)}Dt.prototype.extend=function(t){var e=[],i=[];if(t instanceof Nt)i.push(t);else if(Array.isArray(t))i=i.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Lt("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(i=i.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof Nt))throw new Lt("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Lt("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new Lt("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),i.forEach((function(t){if(!(t instanceof Nt))throw new Lt("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(Dt.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=qt(r,"implicit"),r.compiledExplicit=qt(r,"explicit"),r.compiledTypeMap=function(){var t,e,i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(i.multi[t.kind].push(t),i.multi.fallback.push(t)):i[t.kind][t.tag]=i.fallback[t.tag]=t}for(t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Wt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Ut=/^[-+]?[0-9]+e/,Ht=new Nt("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Wt.test(t)||"_"===t[t.length-1])},construct:function(t){var e,i;return i="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===i?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:i*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||St.isNegativeZero(t))},represent:function(t,e){var i;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(St.isNegativeZero(t))return"-0.0";return i=t.toString(10),Ut.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),Yt=$t.extend({implicit:[Zt,zt,Rt,Ht]}),Vt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Gt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),Xt=new Nt("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Vt.exec(t)||null!==Gt.exec(t))},construct:function(t){var e,i,r,n,o,a,s,l,h=0,c=null;if(null===(e=Vt.exec(t))&&(e=Gt.exec(t)),null===e)throw new Error("Date resolve error");if(i=+e[1],r=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(i,r,n));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h=+h}return e[9]&&(c=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(i,r,n,o,a,s,h)),c&&l.setTime(l.getTime()-c),l},instanceOf:Date,represent:function(t){return t.toISOString()}}),Jt=new Nt("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Qt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",Kt=new Nt("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,i,r=0,n=t.length,o=Qt;for(i=0;i64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,i,r=t.replace(/[\r\n=]/g,""),n=r.length,o=Qt,a=0,s=[];for(e=0;e>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(e));return 0==(i=n%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===i?(s.push(a>>10&255),s.push(a>>2&255)):12===i&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,i,r="",n=0,o=t.length,a=Qt;for(e=0;e>18&63],r+=a[n>>12&63],r+=a[n>>6&63],r+=a[63&n]),n=(n<<8)+t[e];return 0==(i=o%3)?(r+=a[n>>18&63],r+=a[n>>12&63],r+=a[n>>6&63],r+=a[63&n]):2===i?(r+=a[n>>10&63],r+=a[n>>4&63],r+=a[n<<2&63],r+=a[64]):1===i&&(r+=a[n>>2&63],r+=a[n<<4&63],r+=a[64],r+=a[64]),r}}),te=Object.prototype.hasOwnProperty,ee=Object.prototype.toString,ie=new Nt("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,i,r,n,o,a=[],s=t;for(e=0,i=s.length;e>10),56320+(t-65536&1023))}for(var Le=new Array(256),Me=new Array(256),Ae=0;Ae<256;Ae++)Le[Ae]=Be(Ae)?1:0,Me[Ae]=Be(Ae);function Ee(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||se,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Oe(t,e){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=Et(i),new Lt(e,i)}function Ie(t,e){throw Oe(t,e)}function Ne(t,e){t.onWarning&&t.onWarning.call(null,Oe(t,e))}var qe={YAML:function(t,e,i){var r,n,o;null!==t.version&&Ie(t,"duplication of %YAML directive"),1!==i.length&&Ie(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&Ie(t,"ill-formed argument of the YAML directive"),n=parseInt(r[1],10),o=parseInt(r[2],10),1!==n&&Ie(t,"unacceptable YAML version of the document"),t.version=i[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&Ne(t,"unsupported YAML version of the document")},TAG:function(t,e,i){var r,n;2!==i.length&&Ie(t,"TAG directive accepts exactly two arguments"),r=i[0],n=i[1],be.test(r)||Ie(t,"ill-formed tag handle (first argument) of the TAG directive"),le.call(t.tagMap,r)&&Ie(t,'there is a previously declared suffix for "'+r+'" tag handle'),Ce.test(n)||Ie(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){Ie(t,"tag prefix is malformed: "+n)}t.tagMap[r]=n}};function De(t,e,i,r){var n,o,a,s;if(e1&&(t.result+=St.repeat("\n",e-1))}function We(t,e){var i,r,n=t.tag,o=t.anchor,a=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Ie(t,"tab characters must not be used in indentation")),45===r)&&Te(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,je(t,!0,-1)&&t.lineIndent<=e)a.push(null),r=t.input.charCodeAt(t.position);else if(i=t.line,Ye(t,e,ue,!1,!0),a.push(t.result),je(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&0!==r)Ie(t,"bad indentation of a sequence entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente)&&(y&&(a=t.line,s=t.lineStart,l=t.position),Ye(t,e,de,!0,n)&&(y?g=t.result:m=t.result),y||(Ze(t,d,f,p,g,m,a,s,l),p=g=m=null),je(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==h)Ie(t,"bad indentation of a mapping entry");else if(t.lineIndent=0))break;0===n?Ie(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?Ie(t,"repeat of an indentation width identifier"):(c=e+n-1,h=!0)}if(ke(o)){do{o=t.input.charCodeAt(++t.position)}while(ke(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!ve(o)&&0!==o)}for(;0!==o;){for(ze(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!h||t.lineIndentc&&(c=t.lineIndent),ve(o))u++;else{if(t.lineIndent0){for(n=a,o=0;n>0;n--)(a=Se(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:Ie(t,"expected hexadecimal character");t.result+=Fe(o),t.position++}else Ie(t,"unknown escape sequence");i=r=t.position}else ve(s)?(De(t,i,r,!0),Re(t,je(t,!1,e)),i=r=t.position):t.position===t.lineStart&&Pe(t)?Ie(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}Ie(t,"unexpected end of the stream within a double quoted scalar")}(t,d)?m=!0:function(t){var e,i,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!Te(r)&&!we(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Ie(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),le.call(t.anchorMap,i)||Ie(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],je(t,!0,-1),!0}(t)?(m=!0,null===t.tag&&null===t.anchor||Ie(t,"alias node should not have any properties")):function(t,e,i){var r,n,o,a,s,l,h,c,u=t.kind,d=t.result;if(Te(c=t.input.charCodeAt(t.position))||we(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c)return!1;if((63===c||45===c)&&(Te(r=t.input.charCodeAt(t.position+1))||i&&we(r)))return!1;for(t.kind="scalar",t.result="",n=o=t.position,a=!1;0!==c;){if(58===c){if(Te(r=t.input.charCodeAt(t.position+1))||i&&we(r))break}else if(35===c){if(Te(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Pe(t)||i&&we(c))break;if(ve(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,je(t,!1,-1),t.lineIndent>=e){a=!0,c=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=h;break}}a&&(De(t,n,o,!1),Re(t,t.line-s),n=o=t.position,a=!1),ke(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return De(t,n,o,!1),!!t.result||(t.kind=u,t.result=d,!1)}(t,d,he===i)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(m=s&&We(t,f))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&Ie(t,'unacceptable node kind for ! tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&Ie(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):Ie(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}function Ve(t){var e,i,r,n,o=t.position,a=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(n=t.input.charCodeAt(t.position))&&(je(t,!0,-1),n=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==n));){for(a=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!Te(n);)n=t.input.charCodeAt(++t.position);for(r=[],(i=t.input.slice(e,t.position)).length<1&&Ie(t,"directive name must not be less than one character in length");0!==n;){for(;ke(n);)n=t.input.charCodeAt(++t.position);if(35===n){do{n=t.input.charCodeAt(++t.position)}while(0!==n&&!ve(n));break}if(ve(n))break;for(e=t.position;0!==n&&!Te(n);)n=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==n&&ze(t),le.call(qe,i)?qe[i](t,i,r):Ne(t,'unknown document directive "'+i+'"')}je(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,je(t,!0,-1)):a&&Ie(t,"directives end mark is expected"),Ye(t,t.lineIndent-1,de,!1,!0),je(t,!0,-1),t.checkLineBreaks&&ye.test(t.input.slice(o,t.position))&&Ne(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Pe(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,je(t,!0,-1)):t.positionKe(t,e,i))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||r<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((i=>{"object"!=typeof e[i]||void 0!==t[i]&&"object"!=typeof t[i]?(n||"object"!=typeof t[i]&&"object"!=typeof e[i])&&(t[i]=e[i]):(void 0===t[i]&&(t[i]=Array.isArray(e[i])?[]:{}),t[i]=Ke(t[i],e[i],{depth:r-1,clobber:n}))})),t)},ti=Ke,ei=Object.freeze(Tt);let ii,ri=ti({},ei),ni=[],oi=ti({},ei);const ai=(t,e)=>{let i=ti({},t),r={};for(const t of e)ci(t),r=ti(r,t);if(i=ti(i,r),r.theme&&r.theme in Ct){const t=ti({},ii),e=ti(t.themeVariables||{},r.themeVariables);i.theme&&i.theme in Ct&&(i.themeVariables=Ct[i.theme].getThemeVariables(e))}return oi=i,gi(oi),oi},si=()=>ti({},ri),li=t=>(gi(t),ti(oi,t),hi()),hi=()=>ti({},oi),ci=t=>{["secure",...ri.secure??[]].forEach((e=>{void 0!==t[e]&&(rt.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&ci(t[e])}))},ui=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),ni.push(t),ai(ri,ni)},di=(t=ri)=>{ni=[],ai(t,ni)};var fi=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(fi||{});const pi={},gi=t=>{var e;t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(pi[e="LAZY_LOAD_DEPRECATED"]||(rt.warn(fi[e]),pi[e]=!0))},mi=function(t,e,i,r){const n=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r}(e,i,r);!function(t,e){for(let i of e)t.attr(i[0],i[1])}(t,n)},yi=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,a=n.height;rt.info(`SVG bounds: ${o}x${a}`,n);let s=0,l=0;rt.info(`Graph bounds: ${s}x${l}`,t),s=o+2*i,l=a+2*i,rt.info(`Calculated bounds: ${s}x${l}`),mi(e,l,s,r);const h=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",h)},_i={};let bi="",Ci="",xi="";const vi=t=>ht(t,hi()),ki=function(){bi="",xi="",Ci=""},Ti=function(t){bi=vi(t).replace(/^\s+/g,"")},wi=function(){return bi||Ci},Si=function(t){xi=vi(t).replace(/\n\s+/g,"\n")},Bi=function(){return xi},Fi=function(t){Ci=vi(t)},Li=function(){return Ci},Mi={getAccTitle:wi,setAccTitle:Ti,getDiagramTitle:Li,setDiagramTitle:Fi,getAccDescription:Bi,setAccDescription:Si,clear:ki},Ai=Object.freeze(Object.defineProperty({__proto__:null,clear:ki,default:Mi,getAccDescription:Bi,getAccTitle:wi,getDiagramTitle:Li,setAccDescription:Si,setAccTitle:Ti,setDiagramTitle:Fi},Symbol.toStringTag,{value:"Module"}));let Ei={};const Oi=function(t,e,i,r){rt.debug("parseDirective is being called",e,i,r);try{if(void 0!==e)switch(e=e.trim(),i){case"open_directive":Ei={};break;case"type_directive":if(!Ei)throw new Error("currentDirective is undefined");Ei.type=e.toLowerCase();break;case"arg_directive":if(!Ei)throw new Error("currentDirective is undefined");Ei.args=JSON.parse(e);break;case"close_directive":Ii(t,Ei,r),Ei=void 0}}catch(t){rt.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${i}`),rt.error(t.message)}},Ii=function(t,e,i){switch(rt.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===i&&(i="flowchart"),e.args[i]=e.args[t],delete e.args[t])})),rt.info("sanitize in handleDirective",e.args),gr(e.args),rt.info("sanitize in handleDirective (done)",e.args),ui(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":rt.warn("themeCss encountered");break;default:rt.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e)}},Ni=rt,qi=nt,Di=hi,$i=t=>ht(t,Di()),Zi=yi,zi=(t,e,i,r)=>Oi(t,e,i,r),ji={},Pi=(t,e,i)=>{if(ji[t])throw new Error(`Diagram ${t} already registered.`);var r,n;ji[t]=e,i&&Xi(t,i),r=t,void 0!==(n=e.styles)&&(_i[r]=n),e.injectUtils&&e.injectUtils(Ni,qi,Di,$i,Zi,Ai,zi)},Ri=t=>{if(t in ji)return ji[t];throw new Error(`Diagram ${t} not found.`)};class Wi extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const Ui=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Hi=/\s*%%.*\n/gm,Yi={},Vi=function(t,e){t=t.replace(Qe,"").replace(Ui,"").replace(Hi,"\n");for(const[i,{detector:r}]of Object.entries(Yi))if(r(t,e))return i;throw new Wi(`No diagram type detected matching given configuration for text: ${t}`)},Gi=(...t)=>{for(const{id:e,detector:i,loader:r}of t)Xi(e,i,r)},Xi=(t,e,i)=>{Yi[t]?rt.error(`Detector with key ${t} already exists`):Yi[t]={detector:e,loader:i},rt.debug(`Detector with key ${t} added${i?" with loader":""}`)},Ji="​",Qi={curveBasis:a.$0Z,curveBasisClosed:a.Dts,curveBasisOpen:a.WQY,curveBumpX:a.qpX,curveBumpY:a.u93,curveBundle:a.tFB,curveCardinalClosed:a.OvA,curveCardinalOpen:a.dCK,curveCardinal:a.YY7,curveCatmullRomClosed:a.fGX,curveCatmullRomOpen:a.$m7,curveCatmullRom:a.zgE,curveLinear:a.c_6,curveLinearClosed:a.fxm,curveMonotoneX:a.FdL,curveMonotoneY:a.ak_,curveNatural:a.SxZ,curveStep:a.eA_,curveStepAfter:a.jsv,curveStepBefore:a.iJ},Ki=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tr=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,er=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${tr.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(i,"").replace(/'/gm,'"'),rt.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const n=[];for(;null!==(r=Ki.exec(t));)if(r.index===Ki.lastIndex&&Ki.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:t,args:e})}return 0===n.length&&n.push({type:t,args:null}),1===n.length?n[0]:n}catch(i){return rt.error(`ERROR: ${i.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}};function ir(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Qi[i]||e}function rr(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function nr(t){let e="",i="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let or=0;const ar=()=>(or++,"id-"+Math.random().toString(36).substr(2,12)+"-"+or),sr=t=>function(t){let e="";for(let i=0;i{if(!t)return t;if(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},i),pt.lineBreakRegex.test(t))return t;const r=t.split(" "),n=[];let o="";return r.forEach(((t,a)=>{const s=dr(`${t} `,i),l=dr(o,i);if(s>e){const{hyphenatedStrings:r,remainingWord:a}=cr(t,e,"-",i);n.push(o,...r),o=a}else l+s>=e?(n.push(o),o=t):o=[o,t].filter(Boolean).join(" ");a+1===r.length&&n.push(o)})),n.filter((t=>""!==t)).join(i.joinWith)}),((t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`)),cr=(0,m.Z)(((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let a="";return n.forEach(((t,s)=>{const l=`${a}${t}`;if(dr(l,r)>=e){const t=s+1,e=n.length===t,r=`${l}${i}`;o.push(e?l:r),a=""}else a=l})),{hyphenatedStrings:o,remainingWord:a}}),((t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function ur(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),fr(t,e).height}function dr(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),fr(t,e).width}const fr=(0,m.Z)(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:i,fontFamily:r,fontWeight:n}=e;if(!t)return{width:0,height:0};const[,o]=_r(i),s=["sans-serif",r],l=t.split(pt.lineBreakRegex),h=[],c=(0,a.Ys)("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const t of s){let e=0;const i={width:0,height:0,lineHeight:0};for(const r of l){const a={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0};a.text=r||Ji;const s=lr(u,a).style("font-size",o).style("font-weight",n).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw new Error("svg element not in render tree");i.width=Math.round(Math.max(i.width,l.width)),e=Math.round(l.height),i.height+=e,i.lineHeight=Math.round(Math.max(i.lineHeight,e))}h.push(i)}return u.remove(),h[isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let pr;const gr=t=>{if(rt.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>gr(t))):Object.keys(t).forEach((e=>{rt.debug("Checking key",e),e.startsWith("__")&&(rt.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(rt.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(rt.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(rt.debug("sanitizing themeCss option"),t[e]=mr(t[e])),e.includes("fontFamily")&&(rt.debug("sanitizing fontFamily option"),t[e]=mr(t[e])),e.includes("altFontFamily")&&(rt.debug("sanitizing altFontFamily option"),t[e]=mr(t[e])),kt.includes(e)?"object"==typeof t[e]&&(rt.debug("sanitize deleting object",e),gr(t[e])):(rt.debug("sanitize deleting option",e),delete t[e])}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const i of e){const e=t.themeVariables[i];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[i]="")}}rt.debug("After sanitization",t)},mr=t=>{let e=0,i=0;for(const r of t){if(e{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},br={assignWithDepth:ti,wrapLabel:hr,calculateTextHeight:ur,calculateTextWidth:dr,calculateTextDimensions:fr,detectInit:function(t,e){const i=er(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const t=i.map((t=>t.args));gr(t),r=ti(r,[...t])}else r=i.args;if(r){let i=Vi(t,e);["config"].forEach((t=>{void 0!==r[t]&&("flowchart-v2"===i&&(i="flowchart"),r[i]=r[t],delete r[t])}))}return r},detectDirective:er,isSubstringInArray:function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1},interpolateToCurve:ir,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,i=0;t.forEach((t=>{i+=rr(t,e),e=t}));let r,n=i/2;return e=void 0,t.forEach((t=>{if(e&&!r){const i=rr(t,e);if(i=1&&(r={x:t.x,y:t.y}),o>0&&o<1&&(r={x:(1-o)*e.x+o*t.x,y:(1-o)*e.y+o*t.y})}}e=t})),r}(t)},calcCardinalityPosition:(t,e,i)=>{let r;rt.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());let n,o=25;r=void 0,e.forEach((t=>{if(r&&!n){const e=rr(t,r);if(e=1&&(n={x:t.x,y:t.y}),i>0&&i<1&&(n={x:(1-i)*r.x+i*t.x,y:(1-i)*r.y+i*t.y})}}r=t}));const a=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),l={x:0,y:0};return l.x=Math.sin(s)*a+(e[0].x+n.x)/2,l.y=-Math.cos(s)*a+(e[0].y+n.y)/2,l},calcTerminalLabelPosition:function(t,e,i){let r,n=JSON.parse(JSON.stringify(i));rt.info("our points",n),"start_left"!==e&&"start_right"!==e&&(n=n.reverse()),n.forEach((t=>{r=t}));let o,a=25+t;r=void 0,n.forEach((t=>{if(r&&!o){const e=rr(t,r);if(e=1&&(o={x:t.x,y:t.y}),i>0&&i<1&&(o={x:(1-i)*r.x+i*t.x,y:(1-i)*r.y+i*t.y})}}r=t}));const s=10+.5*t,l=Math.atan2(n[0].y-o.y,n[0].x-o.x),h={x:0,y:0};return h.x=Math.sin(l)*s+(n[0].x+o.x)/2,h.y=-Math.cos(l)*s+(n[0].y+o.y)/2,"start_left"===e&&(h.x=Math.sin(l+Math.PI)*s+(n[0].x+o.x)/2,h.y=-Math.cos(l+Math.PI)*s+(n[0].y+o.y)/2),"end_right"===e&&(h.x=Math.sin(l-Math.PI)*s+(n[0].x+o.x)/2-5,h.y=-Math.cos(l-Math.PI)*s+(n[0].y+o.y)/2-5),"end_left"===e&&(h.x=Math.sin(l)*s+(n[0].x+o.x)/2-5,h.y=-Math.cos(l)*s+(n[0].y+o.y)/2-5),h},formatUrl:function(t,e){const i=t.trim();if(i)return"loose"!==e.securityLevel?(0,o.N)(i):i},getStylesFromArray:nr,generateId:ar,random:sr,runFunc:(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let t=0;t{if(!r)return;const n=t.node().getBBox();t.append("text").text(r).attr("x",n.x+n.width/2).attr("y",-i).attr("class",e)},parseFontSize:_r},Cr="10.2.4",xr={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await i.e(648).then(i.bind(i,9648));return{id:"c4",diagram:t}}},vr="flowchart",kr={id:vr,detector:(t,e)=>{var i,r;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&/^\s*graph/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(105),i.e(264),i.e(759),i.e(796),i.e(177)]).then(i.bind(i,3177));return{id:vr,diagram:t}}},Tr="flowchart-v2",wr={id:Tr,detector:(t,e)=>{var i,r,n;return"dagre-d3"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&(!(!/^\s*graph/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))||/^\s*flowchart/.test(t))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(105),i.e(264),i.e(759),i.e(796),i.e(209)]).then(i.bind(i,5209));return{id:Tr,diagram:t}}},Sr={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(435)]).then(i.bind(i,7435));return{id:"er",diagram:t}}},Br="gitGraph",Fr={id:Br,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await i.e(978).then(i.bind(i,6978));return{id:Br,diagram:t}}},Lr="gantt",Mr={id:Lr,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await i.e(670).then(i.bind(i,670));return{id:Lr,diagram:t}}},Ar="info",Er={id:Ar,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await i.e(880).then(i.bind(i,5880));return{id:Ar,diagram:t}}},Or={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await i.e(851).then(i.bind(i,9851));return{id:"pie",diagram:t}}},Ir="quadrantChart",Nr={id:Ir,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await i.e(311).then(i.bind(i,3311));return{id:Ir,diagram:t}}},qr="requirement",Dr={id:qr,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(422)]).then(i.bind(i,5422));return{id:qr,diagram:t}}},$r="sequence",Zr={id:$r,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await i.e(770).then(i.bind(i,5935));return{id:$r,diagram:t}}},zr="class",jr={id:zr,detector:(t,e)=>{var i;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer)&&/^\s*classDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(321),i.e(861)]).then(i.bind(i,2861));return{id:zr,diagram:t}}},Pr="classDiagram",Rr={id:Pr,detector:(t,e)=>{var i;return!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer))||/^\s*classDiagram-v2/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(105),i.e(264),i.e(759),i.e(321),i.e(604)]).then(i.bind(i,5604));return{id:Pr,diagram:t}}},Wr="state",Ur={id:Wr,detector:(t,e)=>{var i;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)&&/^\s*stateDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(902),i.e(120)]).then(i.bind(i,120));return{id:Wr,diagram:t}}},Hr="stateDiagram",Yr={id:Hr,detector:(t,e)=>{var i;return!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(451),i.e(105),i.e(264),i.e(759),i.e(902),i.e(980)]).then(i.bind(i,7980));return{id:Hr,diagram:t}}},Vr="journey",Gr={id:Vr,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await i.e(246).then(i.bind(i,1246));return{id:Vr,diagram:t}}},Xr={setConf:function(){},draw:(t,e,i)=>{try{rt.debug("Renering svg for syntax error\n");const t=(0,a.Ys)("#"+e),r=t.append("g");r.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),r.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),r.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),r.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),r.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),r.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),r.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),r.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+i),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512")}catch(t){rt.error("Error while rendering info diagram"),rt.error((r=t)instanceof Error?r.message:String(r))}var r}},Jr={db:{clear:()=>{}},styles:()=>"",renderer:Xr,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},Qr="flowchart-elk",Kr={id:Qr,detector:(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(105),i.e(264),i.e(796),i.e(522)]).then(i.bind(i,3522));return{id:Qr,diagram:t}}},tn="timeline",en={id:tn,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await i.e(684).then(i.bind(i,684));return{id:tn,diagram:t}}},rn="mindmap",nn={id:rn,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(105),i.e(968)]).then(i.bind(i,9968));return{id:rn,diagram:t}}};let on=!1;const an=()=>{on||(on=!0,Pi("error",Jr,(t=>"error"===t.toLowerCase().trim())),Pi("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),Gi(xr,Rr,jr,Sr,Mr,Er,Or,Dr,Zr,Kr,wr,kr,nn,en,Fr,Yr,Ur,Gr,Nr))};class sn{constructor(t){var e,i;this.text=t,this.type="graph",this.text+="\n";const r=hi();try{this.type=Vi(t,r)}catch(t){this.type="error",this.detectError=t}const n=Ri(this.type);rt.debug("Type "+this.type),this.db=n.db,null==(i=(e=this.db).clear)||i.call(e),this.renderer=n.renderer,this.parser=n.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=t=>o((t=>t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,""))(function(t,e){var i,r;const n=t.match(Qe);if(n){const o=Je(n[1],{schema:Xe});return(null==o?void 0:o.title)&&(null==(i=e.setDiagramTitle)||i.call(e,o.title)),(null==o?void 0:o.displayMode)&&(null==(r=e.setDisplayMode)||r.call(e,o.displayMode)),t.slice(n[0].length)}return t}(t,this.db))),this.parser.parser.yy=this.db,n.init&&(n.init(r),rt.info("Initialized diagram "+this.type,r)),this.parse()}parse(){var t,e;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}const ln=async t=>{const e=Vi(t,hi());try{Ri(e)}catch(t){const i=Yi[e].loader;if(!i)throw new Wi(`Diagram ${e} not found.`);const{id:r,diagram:n}=await i();Pi(r,n)}return new sn(t)};let hn=[];const cn=t=>{hn.push(t)},un=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],dn=["foreignobject"],fn=["dominant-baseline"],pn=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},gn=(t,e,i=[])=>`\n.${t} ${e} { ${i.join(" !important; ")} !important; }`,mn=(t,e,i,r)=>{const n=((t,e,i={})=>{var r;let n="";if(void 0!==t.themeCSS&&(n+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(n+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(n+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,et.Z)(i)&&un.includes(e)){const e=t.htmlLabels||(null==(r=t.flowchart)?void 0:r.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in i){const r=i[t];(0,et.Z)(r.styles)||e.forEach((t=>{n+=gn(r.id,t,r.styles)})),(0,et.Z)(r.textStyles)||(n+=gn(r.id,"tspan",r.textStyles))}}return n})(t,e,i);return L(X(`${r}{${((t,e,i)=>{let r="";return t in _i&&_i[t]?r=_i[t](i):rt.warn(`No theme found for ${t}`),` & {\n font-family: ${i.fontFamily};\n font-size: ${i.fontSize};\n fill: ${i.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${i.errorBkgColor};\n }\n & .error-text {\n fill: ${i.errorTextColor};\n stroke: ${i.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${i.lineColor};\n stroke: ${i.lineColor};\n }\n & .marker.cross {\n stroke: ${i.lineColor};\n }\n\n & svg {\n font-family: ${i.fontFamily};\n font-size: ${i.fontSize};\n }\n\n ${r}\n\n ${e}\n`})(e,n,t.themeVariables)}}`),M)},yn=(t,e,i,r,n)=>{const o=t.append("div");o.attr("id",i),r&&o.attr("style",r);const a=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&a.attr("xmlns:xlink",n),a.append("g"),t};function _n(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const bn=Object.freeze({render:async function(t,e,i){var r,n,o,l;an(),di();const h=br.detectInit(e);h&&(gr(h),ui(h));const c=hi();rt.debug(c),e.length>((null==c?void 0:c.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa"),e=(e=e.replace(/\r\n?/g,"\n")).replace(/<(\w+)([^>]*)>/g,((t,e,i)=>"<"+e+i.replace(/="([^"]*)"/g,"='$1'")+">"));const u="#"+t,d="i"+t,f="#"+d,p="d"+t,g="#"+p;let m=(0,a.Ys)("body");const y="sandbox"===c.securityLevel,_="loose"===c.securityLevel,b=c.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),y){const t=_n((0,a.Ys)(i),d);m=(0,a.Ys)(t.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=(0,a.Ys)(i);yn(m,t,p,`font-family: ${b}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,i,r)=>{var n,o,a;null==(n=t.getElementById(e))||n.remove(),null==(o=t.getElementById(i))||o.remove(),null==(a=t.getElementById(r))||a.remove()})(document,t,p,d),y){const t=_n((0,a.Ys)("body"),d);m=(0,a.Ys)(t.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=(0,a.Ys)("body");yn(m,t,p)}let C,x;e=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e}(e);try{C=await ln(e)}catch(t){C=new sn("error"),x=t}const v=m.select(g).node(),k=C.type,T=v.firstChild,w=T.firstChild,S=un.includes(k)?C.renderer.getClasses(e,C):{},B=mn(c,k,S,u),F=document.createElement("style");F.innerHTML=B,T.insertBefore(F,w);try{await C.renderer.draw(e,t,Cr,C)}catch(i){throw Xr.draw(e,t,Cr),i}!function(t,e,i,r){(function(t,e){t.attr("role","graphics-document document"),(0,et.Z)(e)||t.attr("aria-roledescription",e)})(e,t),function(t,e,i,r){if(void 0!==t.insert&&(e||i)){if(i){const e="chart-desc-"+r;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(i)}if(e){const i="chart-title-"+r;t.attr("aria-labelledby",i),t.insert("title",":first-child").attr("id",i).text(e)}}}(e,i,r,e.attr("id"))}(k,m.select(`${g} svg`),null==(n=(r=C.db).getAccTitle)?void 0:n.call(r),null==(l=(o=C.db).getAccDescription)?void 0:l.call(o)),m.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let L=m.select(g).node().innerHTML;if(rt.debug("config.arrowMarkerAbsolute",c.arrowMarkerAbsolute),L=((t="",e,i)=>{let r=t;return i||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=pn(r),r=r.replace(/
    /g,"
    "),r})(L,y,dt(c.arrowMarkerAbsolute)),y?L=((t="",e)=>``)(L,m.select(g+" svg").node()):_||(L=s.sanitize(L,{ADD_TAGS:dn,ADD_ATTR:fn})),hn.forEach((t=>{t()})),hn=[],x)throw x;const M=y?f:g,A=(0,a.Ys)(M).node();return A&&"remove"in A&&A.remove(),{svg:L,bindFunctions:C.db.bindFunctions}},parse:async function(t,e){an();try{(await ln(t)).parse()}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},parseDirective:Oi,getDiagramFromText:ln,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),ii=ti({},t),(null==t?void 0:t.theme)&&t.theme in Ct?t.themeVariables=Ct[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Ct.default.getThemeVariables(t.themeVariables));const i="object"==typeof t?(r=t,ri=ti({},ei),ri=ti(ri,r),r.theme&&Ct[r.theme]&&(ri.themeVariables=Ct[r.theme].getThemeVariables(r.themeVariables)),ai(ri,ni),ri):si();var r;nt(i.logLevel),an()},getConfig:hi,setConfig:li,getSiteConfig:si,updateSiteConfig:t=>(ri=ti(ri,t),ai(ri,ni),ri),reset:()=>{di()},globalReset:()=>{di(ei)},defaultConfig:ei});nt(hi().logLevel),di(hi());const Cn=(t,e,i)=>{rt.warn(t),yr(t)?(i&&i(t.str,t.hash),e.push({...t,message:t.str,error:t})):(i&&i(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},xn=async function(t={querySelector:".mermaid"}){try{await vn(t)}catch(e){if(yr(e)&&rt.error(e.str),Ln.parseError&&Ln.parseError(e),!t.suppressErrors)throw rt.error("Use the suppressErrors option to suppress these errors"),e}},vn=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const n=bn.getConfig();let o;if(rt.debug((t?"":"No ")+"Callback function found"),i)o=i;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}rt.debug(`Found ${o.length} diagrams`),void 0!==(null==n?void 0:n.startOnLoad)&&(rt.debug("Start On Load: "+(null==n?void 0:n.startOnLoad)),bn.updateSiteConfig({startOnLoad:null==n?void 0:n.startOnLoad}));const a=new br.initIdGenerator(n.deterministicIds,n.deterministicIDSeed);let s;const l=[];for(const e of Array.from(o)){if(rt.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const i=`mermaid-${a.next()}`;s=e.innerHTML,s=(0,r.Z)(br.entityDecode(s)).trim().replace(//gi,"
    ");const n=br.detectInit(s);n&&rt.debug("Detected early reinit: ",n);try{const{svg:r,bindFunctions:n}=await Fn(i,s,e);e.innerHTML=r,t&&await t(i),n&&n(e)}catch(t){Cn(t,l,Ln.parseError)}}if(l.length>0)throw l[0]},kn=function(t){bn.initialize(t)},Tn=function(){if(Ln.startOnLoad){const{startOnLoad:t}=bn.getConfig();t&&Ln.run().catch((t=>rt.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",Tn,!1);const wn=[];let Sn=!1;const Bn=async()=>{if(!Sn){for(Sn=!0;wn.length>0;){const t=wn.shift();if(t)try{await t()}catch(t){rt.error("Error executing queue",t)}}Sn=!1}},Fn=(t,e,i)=>new Promise(((r,n)=>{wn.push((()=>new Promise(((o,a)=>{bn.render(t,e,i).then((t=>{o(t),r(t)}),(t=>{var e;rt.error("Error parsing",t),null==(e=Ln.parseError)||e.call(Ln,t),a(t),n(t)}))})))),Bn().catch(n)})),Ln={startOnLoad:!0,mermaidAPI:bn,parse:async(t,e)=>new Promise(((i,r)=>{wn.push((()=>new Promise(((n,o)=>{bn.parse(t,e).then((t=>{n(t),i(t)}),(t=>{var e;rt.error("Error parsing",t),null==(e=Ln.parseError)||e.call(Ln,t),o(t),r(t)}))})))),Bn().catch(r)})),render:Fn,init:async function(t,e,i){rt.warn("mermaid.init is deprecated. Please use run instead."),t&&kn(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await xn(r)},run:xn,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Gi(...t),!1===e&&await(async()=>{rt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Yi).map((async([t,{detector:e,loader:i}])=>{if(i)try{Ri(t)}catch(r){try{const{diagram:t,id:r}=await i();Pi(r,t,e)}catch(e){throw rt.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Yi[t],e}}})))).filter((t=>"rejected"===t.status));if(t.length>0){rt.error(`Failed to load ${t.length} external diagrams`);for(const e of t)rt.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:kn,parseError:void 0,contentLoaded:Tn,setParseErrorHandler:function(t){Ln.parseError=t},detectType:Vi}},6637:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return r.K}});var r=i(5103);i(7484),i(7967),i(5740),i(7856)}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/637-3456bdaf.chunk.min.js.LICENSE.txt b/docs/themes/geekdoc/static/js/637-3456bdaf.chunk.min.js.LICENSE.txt new file mode 100644 index 000000000..acc563389 --- /dev/null +++ b/docs/themes/geekdoc/static/js/637-3456bdaf.chunk.min.js.LICENSE.txt @@ -0,0 +1,9 @@ +/*! + * Wait for document loaded before starting the execution + */ + +/*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */ + +/*! Check if previously processed */ + +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ diff --git a/docs/themes/geekdoc/static/js/648-d659639f.chunk.min.js b/docs/themes/geekdoc/static/js/648-d659639f.chunk.min.js new file mode 100644 index 000000000..8a19cf88e --- /dev/null +++ b/docs/themes/geekdoc/static/js/648-d659639f.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[648],{9648:function(t,e,n){n.d(e,{diagram:function(){return Q}});var i=n(5103),a=n(5740),s=n(8770),r=n(7967),l=(n(7484),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,6],n=[1,7],i=[1,8],a=[1,9],s=[1,16],r=[1,11],l=[1,12],o=[1,13],h=[1,14],d=[1,15],u=[1,27],p=[1,33],y=[1,34],f=[1,35],g=[1,36],b=[1,37],_=[1,72],x=[1,73],m=[1,74],E=[1,75],A=[1,76],S=[1,77],v=[1,78],C=[1,38],k=[1,39],O=[1,40],T=[1,41],w=[1,42],D=[1,43],R=[1,44],N=[1,45],P=[1,46],M=[1,47],j=[1,48],B=[1,49],Y=[1,50],L=[1,51],I=[1,52],U=[1,53],F=[1,54],X=[1,55],z=[1,56],Q=[1,57],W=[1,59],$=[1,60],q=[1,61],V=[1,62],G=[1,63],H=[1,64],K=[1,65],J=[1,66],Z=[1,67],tt=[1,68],et=[1,69],nt=[24,52],it=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],at=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],st=[1,94],rt=[1,95],lt=[1,96],ot=[1,97],ct=[15,24,52],ht=[7,8,9,10,18,22,25,26,27,28],dt=[15,24,43,52],ut=[15,24,43,52,86,87,89,90],pt=[15,43],yt=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ft={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(t,e,n,i,a,s,r){var l=s.length-1;switch(a){case 4:i.setDirection("TB");break;case 5:i.setDirection("BT");break;case 6:i.setDirection("RL");break;case 7:i.setDirection("LR");break;case 11:i.parseDirective("%%{","open_directive");break;case 12:break;case 13:s[l]=s[l].trim().replace(/'/g,'"'),i.parseDirective(s[l],"arg_directive");break;case 14:i.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:i.setC4Type(s[l-3]);break;case 26:i.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 27:i.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 28:this.$=s[l].trim(),i.setTitle(this.$);break;case 29:case 30:this.$=s[l].trim(),i.setAccDescription(this.$);break;case 35:case 36:s[l].splice(2,0,"ENTERPRISE"),i.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 37:i.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 38:s[l].splice(2,0,"CONTAINER"),i.addContainerBoundary(...s[l]),this.$=s[l];break;case 39:i.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 40:i.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 41:i.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 42:i.popBoundaryParseStack();break;case 46:i.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 47:i.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 48:i.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 49:i.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 50:i.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 51:i.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 52:i.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 53:i.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 54:i.addContainer("container",...s[l]),this.$=s[l];break;case 55:i.addContainer("container_db",...s[l]),this.$=s[l];break;case 56:i.addContainer("container_queue",...s[l]),this.$=s[l];break;case 57:i.addContainer("external_container",...s[l]),this.$=s[l];break;case 58:i.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 59:i.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 60:i.addComponent("component",...s[l]),this.$=s[l];break;case 61:i.addComponent("component_db",...s[l]),this.$=s[l];break;case 62:i.addComponent("component_queue",...s[l]),this.$=s[l];break;case 63:i.addComponent("external_component",...s[l]),this.$=s[l];break;case 64:i.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 65:i.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 67:i.addRel("rel",...s[l]),this.$=s[l];break;case 68:i.addRel("birel",...s[l]),this.$=s[l];break;case 69:i.addRel("rel_u",...s[l]),this.$=s[l];break;case 70:i.addRel("rel_d",...s[l]),this.$=s[l];break;case 71:i.addRel("rel_l",...s[l]),this.$=s[l];break;case 72:i.addRel("rel_r",...s[l]),this.$=s[l];break;case 73:i.addRel("rel_b",...s[l]),this.$=s[l];break;case 74:s[l].splice(0,1),i.addRel("rel",...s[l]),this.$=s[l];break;case 75:i.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 76:i.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 77:i.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 78:this.$=[s[l]];break;case 79:s[l].unshift(s[l-1]),this.$=s[l];break;case 80:case 82:this.$=s[l].trim();break;case 81:let t={};t[s[l-1].trim()]=s[l].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:i,10:a,11:5,12:10,18:s,22:r,25:l,26:o,27:h,28:d},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:n,9:i,10:a,11:5,12:10,18:s,22:r,25:l,26:o,27:h,28:d},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:u},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:79,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:80,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:81,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{23:82,29:29,30:30,31:31,32:p,33:y,34:f,36:g,38:b,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:_,46:x,47:m,48:E,49:A,50:S,51:v,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et}),t(nt,[2,21]),t(it,[2,23],{15:[1,88]}),t(nt,[2,43],{15:[1,89]}),t(at,[2,26]),t(at,[2,27]),{35:[1,90]},{37:[1,91]},t(at,[2,30]),{45:92,85:93,86:st,87:rt,89:lt,90:ot},{45:98,85:93,86:st,87:rt,89:lt,90:ot},{45:99,85:93,86:st,87:rt,89:lt,90:ot},{45:100,85:93,86:st,87:rt,89:lt,90:ot},{45:101,85:93,86:st,87:rt,89:lt,90:ot},{45:102,85:93,86:st,87:rt,89:lt,90:ot},{45:103,85:93,86:st,87:rt,89:lt,90:ot},{45:104,85:93,86:st,87:rt,89:lt,90:ot},{45:105,85:93,86:st,87:rt,89:lt,90:ot},{45:106,85:93,86:st,87:rt,89:lt,90:ot},{45:107,85:93,86:st,87:rt,89:lt,90:ot},{45:108,85:93,86:st,87:rt,89:lt,90:ot},{45:109,85:93,86:st,87:rt,89:lt,90:ot},{45:110,85:93,86:st,87:rt,89:lt,90:ot},{45:111,85:93,86:st,87:rt,89:lt,90:ot},{45:112,85:93,86:st,87:rt,89:lt,90:ot},{45:113,85:93,86:st,87:rt,89:lt,90:ot},{45:114,85:93,86:st,87:rt,89:lt,90:ot},{45:115,85:93,86:st,87:rt,89:lt,90:ot},{45:116,85:93,86:st,87:rt,89:lt,90:ot},t(ct,[2,66]),{45:117,85:93,86:st,87:rt,89:lt,90:ot},{45:118,85:93,86:st,87:rt,89:lt,90:ot},{45:119,85:93,86:st,87:rt,89:lt,90:ot},{45:120,85:93,86:st,87:rt,89:lt,90:ot},{45:121,85:93,86:st,87:rt,89:lt,90:ot},{45:122,85:93,86:st,87:rt,89:lt,90:ot},{45:123,85:93,86:st,87:rt,89:lt,90:ot},{45:124,85:93,86:st,87:rt,89:lt,90:ot},{45:125,85:93,86:st,87:rt,89:lt,90:ot},{45:126,85:93,86:st,87:rt,89:lt,90:ot},{45:127,85:93,86:st,87:rt,89:lt,90:ot},{30:128,39:58,40:70,42:71,44:_,46:x,47:m,48:E,49:A,50:S,51:v,53:32,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:st,87:rt,89:lt,90:ot},{45:132,85:93,86:st,87:rt,89:lt,90:ot},{45:133,85:93,86:st,87:rt,89:lt,90:ot},{45:134,85:93,86:st,87:rt,89:lt,90:ot},{45:135,85:93,86:st,87:rt,89:lt,90:ot},{45:136,85:93,86:st,87:rt,89:lt,90:ot},{45:137,85:93,86:st,87:rt,89:lt,90:ot},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(ht,[2,9]),{14:142,21:u},{21:[2,13]},{1:[2,15]},t(nt,[2,22]),t(it,[2,24],{31:31,29:143,32:p,33:y,34:f,36:g,38:b}),t(nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:y,34:f,36:g,38:b,44:_,46:x,47:m,48:E,49:A,50:S,51:v,54:C,55:k,56:O,57:T,58:w,59:D,60:R,61:N,62:P,63:M,64:j,65:B,66:Y,67:L,68:I,69:U,70:F,71:X,72:z,73:Q,74:W,75:$,76:q,77:V,78:G,79:H,80:K,81:J,82:Z,83:tt,84:et}),t(at,[2,28]),t(at,[2,29]),t(ct,[2,46]),t(dt,[2,78],{85:93,45:145,86:st,87:rt,89:lt,90:ot}),t(ut,[2,80]),{88:[1,146]},t(ut,[2,82]),t(ut,[2,83]),t(ct,[2,47]),t(ct,[2,48]),t(ct,[2,49]),t(ct,[2,50]),t(ct,[2,51]),t(ct,[2,52]),t(ct,[2,53]),t(ct,[2,54]),t(ct,[2,55]),t(ct,[2,56]),t(ct,[2,57]),t(ct,[2,58]),t(ct,[2,59]),t(ct,[2,60]),t(ct,[2,61]),t(ct,[2,62]),t(ct,[2,63]),t(ct,[2,64]),t(ct,[2,65]),t(ct,[2,67]),t(ct,[2,68]),t(ct,[2,69]),t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(pt,[2,35]),t(pt,[2,36]),t(pt,[2,37]),t(pt,[2,38]),t(pt,[2,39]),t(pt,[2,40]),t(pt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(it,[2,25]),t(nt,[2,45]),t(dt,[2,79]),t(ut,[2,81]),t(ct,[2,31]),t(ct,[2,42]),t(yt,[2,32]),t(yt,[2,33],{15:[1,152]}),t(ht,[2,10]),t(yt,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],a=[],s=this.table,r="",l=0,o=0,c=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;a.push(p);var y=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,b,_,x,m,E,A,S,v={};;){if(g=e[e.length-1],this.defaultActions[g]?b=this.defaultActions[g]:(null==f&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),f=S),b=s[g]&&s[g][f]),void 0===b||!b.length||!b[0]){var C;for(x in A=[],s[g])this.terminals_[x]&&x>2&&A.push("'"+this.terminals_[x]+"'");C=h.showPosition?"Parse error on line "+(l+1)+":\n"+h.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:A})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(b[0]){case 1:e.push(f),i.push(h.yytext),a.push(h.yylloc),e.push(b[1]),f=null,o=h.yyleng,r=h.yytext,l=h.yylineno,p=h.yylloc;break;case 2:if(m=this.productions_[b[1]][1],v.$=i[i.length-m],v._$={first_line:a[a.length-(m||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(m||1)].first_column,last_column:a[a.length-1].last_column},y&&(v._$.range=[a[a.length-(m||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(v,[r,o,l,d.yy,b[1],i,a].concat(c))))return _;m&&(e=e.slice(0,-1*m*2),i=i.slice(0,-1*m),a=a.slice(0,-1*m)),e.push(this.productions_[b[1]][0]),i.push(v.$),a.push(v._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},gt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in a)this[s]=a[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function bt(){this.yy={}}return ft.lexer=gt,bt.prototype=ft,ft.Parser=bt,new bt}());l.parser=l;const o=l;let h=[],d=[""],u="global",p="",y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],g="",b=!1,_=4,x=2;var m;const E=function(t){return null==t?h:h.filter((e=>e.parentBoundary===t))},A=function(){return b},S={addPersonOrSystem:function(t,e,n,i,a,s,r){if(null===e||null===n)return;let l={};const o=h.find((t=>t.alias===e));if(o&&e===o.alias?l=o:(l.alias=e,h.push(l)),l.label=null==n?{text:""}:{text:n},null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.sprite=a;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=u,l.wrap=A()},addPersonOrSystemBoundary:function(t,e,n,i,a){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==n)s.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]={text:e}}else s.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.tags=i;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.link=a;s.parentBoundary=u,s.wrap=A(),p=u,u=t,d.push(p)},addContainer:function(t,e,n,i,a,s,r,l){if(null===e||null===n)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==n?{text:""}:{text:n},null==i)o.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.techn={text:i};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=A(),o.typeC4Shape={text:t},o.parentBoundary=u},addContainerBoundary:function(t,e,n,i,a){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==n)s.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]={text:e}}else s.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.tags=i;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.link=a;s.parentBoundary=u,s.wrap=A(),p=u,u=t,d.push(p)},addComponent:function(t,e,n,i,a,s,r,l){if(null===e||null===n)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==n?{text:""}:{text:n},null==i)o.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.techn={text:i};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=A(),o.typeC4Shape={text:t},o.parentBoundary=u},addDeploymentNode:function(t,e,n,i,a,s,r,l){if(null===e||null===n)return;let o={};const c=y.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,y.push(o)),o.label=null==n?{text:""}:{text:n},null==i)o.type={text:"node"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.type={text:i};if(null==a)o.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.descr={text:a};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=u,o.wrap=A(),p=u,u=e,d.push(p)},popBoundaryParseStack:function(){u=p,d.pop(),p=d.pop(),d.push(p)},addRel:function(t,e,n,i,a,s,r,l,o){if(null==t||null==e||null==n||null==i)return;let c={};const h=f.find((t=>t.from===e&&t.to===n));if(h?c=h:f.push(c),c.type=t,c.from=e,c.to=n,c.label={text:i},null==a)c.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]={text:e}}else c.techn={text:a};if(null==s)c.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]={text:e}}else c.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]=e}else c.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.link=o;c.wrap=A()},updateElStyle:function(t,e,n,i,a,s,r,l,o,c,d){let u=h.find((t=>t.alias===e));if(void 0!==u||(u=y.find((t=>t.alias===e)),void 0!==u)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];u[t]=e}else u.bgColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];u[t]=e}else u.fontColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]=e}else u.borderColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]=e}else u.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];u[t]=e}else u.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.legendText=c;if(null!=d)if("object"==typeof d){let[t,e]=Object.entries(d)[0];u[t]=e}else u.legendSprite=d}},updateRelStyle:function(t,e,n,i,a,s,r){const l=f.find((t=>t.from===e&&t.to===n));if(void 0!==l){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.textColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.lineColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},updateLayoutConfig:function(t,e,n){let i=_,a=x;if("object"==typeof e){const t=Object.values(e)[0];i=parseInt(t)}else i=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];a=parseInt(t)}else a=parseInt(n);i>=1&&(_=i),a>=1&&(x=a)},autoWrap:A,setWrap:function(t){b=t},getC4ShapeArray:E,getC4Shape:function(t){return h.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(E(t))},getBoundarys:function(t){return null==t?y:y.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return u},getParentBoundaryParse:function(){return p},getRels:function(){return f},getTitle:function(){return g},getC4Type:function(){return m},getC4ShapeInRow:function(){return _},getC4BoundaryInRow:function(){return x},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().c4,clear:function(){h=[],y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p="",u="global",d=[""],f=[],d=[""],g="",b=!1,_=4,x=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){let e=(0,i.d)(t,(0,i.c)());g=e},setC4Type:function(t){let e=(0,i.d)(t,(0,i.c)());m=e}},v=function(t,e){return(0,s.d)(t,e)},C=function(){function t(t,e,n,i,s,r,l){a(e.append("text").attr("x",n+s/2).attr("y",i+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,n,s,r,l,o,c){const{fontSize:h,fontFamily:d,fontWeight:u}=c,p=t.split(i.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":!function(t,e,n,i,a,s){const l=t.append("image");l.attr("width",e),l.attr("height",n),l.attr("x",i),l.attr("y",a);let o=s.startsWith("data:image/png;base64")?s:(0,r.N)(s);l.attr("xlink:href",o)}(h,48,48,e.x+e.width/2-24,e.y+e.image.Y,c)}let f=n[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=o,C(n)(e.label.text,h,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},f),f=n[e.typeC4Shape.text+"Font"](),f.fontColor=o,e.techn&&""!==(null==(i=e.techn)?void 0:i.text)?C(n)(e.techn.text,h,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},f):e.type&&""!==e.type.text&&C(n)(e.type.text,h,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},f),e.descr&&""!==e.descr.text&&(f=n.personFont(),f.fontColor=o,C(n)(e.descr.text,h,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},f)),e.height};let O=0,T=0,w=4,D=2;l.yy=S;let R={};class N{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,P(t.db.getConfig())}setData(t,e,n,i){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,i=this.nextData.starty+2*t.margin,a=i+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>w)&&(e=this.nextData.startx+t.margin+R.nextLinePaddingX,i=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=a=i+t.height,this.nextData.cnt=1),t.x=e,t.y=i,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",a,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",a,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},P(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const P=function(t){(0,i.f)(R,t),t.fontFamily&&(R.personFontFamily=R.systemFontFamily=R.messageFontFamily=t.fontFamily),t.fontSize&&(R.personFontSize=R.systemFontSize=R.messageFontSize=t.fontSize),t.fontWeight&&(R.personFontWeight=R.systemFontWeight=R.messageFontWeight=t.fontWeight)},M=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),j=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function B(t,e,n,a,s){if(!e[t].width)if(n)e[t].text=(0,i.w)(e[t].text,s,a),e[t].textLines=e[t].text.split(i.e.lineBreakRegex).length,e[t].width=s,e[t].height=(0,i.j)(e[t].text,a);else{let n=e[t].text.split(i.e.lineBreakRegex);e[t].textLines=n.length;let s=0;e[t].height=0,e[t].width=0;for(const r of n)e[t].width=Math.max((0,i.h)(r,a),e[t].width),s=(0,i.j)(r,a),e[t].height=e[t].height+s}}const Y=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=R.c4ShapeMargin-35;let a=e.wrap&&R.wrap,s=j(R);s.fontSize=s.fontSize+2,s.fontWeight="bold",B("label",e,a,s,(0,i.h)(e.label.text,s)),function(t,e,n){const i=t.append("g");let a=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let o={x:e.x,y:e.y,fill:a,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};v(i,o);let c=n.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=r,C(n)(e.label.text,i,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=n.boundaryFont(),c.fontColor=r,C(n)(e.type.text,i,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=n.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=r,C(n)(e.descr.text,i,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))}(t,e,R)},L=function(t,e,n,a){let s=0;for(const r of a){s=0;const a=n[r];let l=M(R,a.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,a.typeC4Shape.width=(0,i.h)("«"+a.typeC4Shape.text+"»",l),a.typeC4Shape.height=l.fontSize+2,a.typeC4Shape.Y=R.c4ShapePadding,s=a.typeC4Shape.Y+a.typeC4Shape.height-4,a.image={width:0,height:0,Y:0},a.typeC4Shape.text){case"person":case"external_person":a.image.width=48,a.image.height=48,a.image.Y=s,s=a.image.Y+a.image.height}a.sprite&&(a.image.width=48,a.image.height=48,a.image.Y=s,s=a.image.Y+a.image.height);let o=a.wrap&&R.wrap,c=R.width-2*R.c4ShapePadding,h=M(R,a.typeC4Shape.text);h.fontSize=h.fontSize+2,h.fontWeight="bold",B("label",a,o,h,c),a.label.Y=s+8,s=a.label.Y+a.label.height,a.type&&""!==a.type.text?(a.type.text="["+a.type.text+"]",B("type",a,o,M(R,a.typeC4Shape.text),c),a.type.Y=s+5,s=a.type.Y+a.type.height):a.techn&&""!==a.techn.text&&(a.techn.text="["+a.techn.text+"]",B("techn",a,o,M(R,a.techn.text),c),a.techn.Y=s+5,s=a.techn.Y+a.techn.height);let d=s,u=a.label.width;a.descr&&""!==a.descr.text&&(B("descr",a,o,M(R,a.typeC4Shape.text),c),a.descr.Y=s+20,s=a.descr.Y+a.descr.height,u=Math.max(a.label.width,a.descr.width),d=s-5*a.descr.textLines),u+=R.c4ShapePadding,a.width=Math.max(a.width||R.width,u,R.width),a.height=Math.max(a.height||R.height,d,R.height),a.margin=a.margin||R.c4ShapeMargin,t.insert(a),k(e,a,R)}t.bumpLastMargin(R.c4ShapeMargin)};class I{constructor(t,e){this.x=t,this.y=e}}let U=function(t,e){let n=t.x,i=t.y,a=e.x,s=e.y,r=n+t.width/2,l=i+t.height/2,o=Math.abs(n-a),c=Math.abs(i-s),h=c/o,d=t.height/t.width,u=null;return i==s&&na?u=new I(n,l):n==a&&is&&(u=new I(r,i)),n>a&&i=h?new I(n,l+h*t.width/2):new I(r-o/c*t.height/2,i+t.height):n=h?new I(n+t.width,l+h*t.width/2):new I(r+o/c*t.height/2,i+t.height):ns?u=d>=h?new I(n+t.width,l-h*t.width/2):new I(r+t.height/2*o/c,i):n>a&&i>s&&(u=d>=h?new I(n,l-t.width/2*h):new I(r-t.height/2*o/c,i)),u},F=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let i=U(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:U(e,n)}};function X(t,e,n,i,a){let s=new N(a);s.data.widthLimit=n.data.widthLimit/Math.min(D,i.length);for(let[r,l]of i.entries()){let i=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=i,i=l.image.Y+l.image.height);let o=l.wrap&&R.wrap,c=j(R);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",B("label",l,o,c,s.data.widthLimit),l.label.Y=i+8,i=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",B("type",l,o,j(R),s.data.widthLimit),l.type.Y=i+5,i=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=j(R);t.fontSize=t.fontSize-2,B("descr",l,o,t,s.data.widthLimit),l.descr.Y=i+20,i=l.descr.Y+l.descr.height}if(0==r||r%D==0){let t=n.data.startx+R.diagramMarginX,e=n.data.stopy+R.diagramMarginY+i;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+R.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=l.alias;let h=a.db.getC4ShapeArray(l.alias),d=a.db.getC4ShapeKeys(l.alias);d.length>0&&L(s,t,h,d),e=l.alias;let u=a.db.getBoundarys(e);u.length>0&&X(t,e,s,u,a),"global"!==l.alias&&Y(t,l,s),n.data.stopy=Math.max(s.data.stopy+R.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(s.data.stopx+R.c4ShapeMargin,n.data.stopx),O=Math.max(O,n.data.stopx),T=Math.max(T,n.data.stopy)}}const z={drawPersonOrSystemArray:L,drawBoundary:Y,setConf:P,draw:function(t,e,n,s){R=(0,i.c)().c4;const r=(0,i.c)().securityLevel;let l;"sandbox"===r&&(l=(0,a.Ys)("#i"+e));const o="sandbox"===r?(0,a.Ys)(l.nodes()[0].contentDocument.body):(0,a.Ys)("body");let c=s.db;s.db.setWrap(R.wrap),w=c.getC4ShapeInRow(),D=c.getC4BoundaryInRow(),i.l.debug(`C:${JSON.stringify(R,null,2)}`);const h="sandbox"===r?o.select(`[id="${e}"]`):(0,a.Ys)(`[id="${e}"]`);h.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"),function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(h),function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(h);let d=new N(s);d.setData(R.diagramMarginX,R.diagramMarginX,R.diagramMarginY,R.diagramMarginY),d.data.widthLimit=screen.availWidth,O=R.diagramMarginX,T=R.diagramMarginY;const u=s.db.getTitle();X(h,"",d,s.db.getBoundarys(""),s),function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(h),function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(h),function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(h),function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(h),function(t,e,n,a){let s=0;for(let t of e){s+=1;let e=t.wrap&&R.wrap,l={fontFamily:(r=R).messageFontFamily,fontSize:r.messageFontSize,fontWeight:r.messageFontWeight};"C4Dynamic"===a.db.getC4Type()&&(t.label.text=s+": "+t.label.text);let o=(0,i.h)(t.label.text,l);B("label",t,e,l,o),t.techn&&""!==t.techn.text&&(o=(0,i.h)(t.techn.text,l),B("techn",t,e,l,o)),t.descr&&""!==t.descr.text&&(o=(0,i.h)(t.descr.text,l),B("descr",t,e,l,o));let c=n(t.from),h=n(t.to),d=F(c,h);t.startPoint=d.startPoint,t.endPoint=d.endPoint}var r;((t,e,n)=>{const i=t.append("g");let a=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0,o="";if(0===a){let e=i.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)"),a=-1}else{let e=i.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)")}let c=n.messageFont();C(n)(t.label.text,i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},c),t.techn&&""!==t.techn.text&&(c=n.messageFont(),C(n)("["+t.techn.text+"]",i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},c))}})(t,e,R)}(h,s.db.getRels(),s.db.getC4Shape,s),d.data.stopx=O,d.data.stopy=T;const p=d.data;let y=p.stopy-p.starty+2*R.diagramMarginY;const f=p.stopx-p.startx+2*R.diagramMarginX;u&&h.append("text").text(u).attr("x",(p.stopx-p.startx)/2-4*R.diagramMarginX).attr("y",p.starty+R.diagramMarginY),(0,i.i)(h,y,f,R.useMaxWidth);const g=u?60:0;h.attr("viewBox",p.startx-R.diagramMarginX+" -"+(R.diagramMarginY+g)+" "+f+" "+(y+g)),i.l.debug("models:",p)}},Q={parser:o,db:S,renderer:z,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:t=>{z.setConf(t.c4)}}},8770:function(t,e,n){n.d(e,{a:function(){return s},b:function(){return o},c:function(){return l},d:function(){return a},e:function(){return h},f:function(){return r},g:function(){return c}});var i=n(7967);const a=function(t,e){const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return"undefined"!==e.class&&n.attr("class",e.class),n},s=function(t,e){a(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},r=function(t,e){const n=e.text.replace(//gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(n),i},l=function(t,e,n,a){const s=t.append("image");s.attr("x",e),s.attr("y",n);var r=(0,i.N)(a);s.attr("xlink:href",r)},o=function(t,e,n,a){const s=t.append("use");s.attr("x",e),s.attr("y",n);const r=(0,i.N)(a);s.attr("xlink:href","#"+r)},c=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},h=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/670-b8cde8a2.chunk.min.js b/docs/themes/geekdoc/static/js/670-b8cde8a2.chunk.min.js new file mode 100644 index 000000000..9caa42545 --- /dev/null +++ b/docs/themes/geekdoc/static/js/670-b8cde8a2.chunk.min.js @@ -0,0 +1 @@ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[670],{8734:function(t){t.exports=function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var r=this.$utils(),s=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return r.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return r.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return r.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(s)}}}()},285:function(t){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,s={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],l=function(t){var e=s[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var n,i=s.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},d={A:[r,function(t){this.afternoon=u(t,!1)}],a:[r,function(t){this.afternoon=u(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[n,o("day")],Do:[r,function(t){var e=s.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,o("month")],MM:[n,o("month")],MMM:[r,function(t){var e=l("months"),n=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[r,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function h(n){var i,r;i=n,r=s&&s.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var s=i&&i.toUpperCase();return n||r[i]||t[i]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=a.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var i=h(e)(t),r=i.year,s=i.month,a=i.day,o=i.hours,c=i.minutes,l=i.seconds,u=i.milliseconds,d=i.zone,f=new Date,m=a||(r||s?1:f.getDate()),p=r||f.getFullYear(),y=0;r&&!s||(y=s>0?s-1:f.getMonth());var k=o||0,g=c||0,v=l||0,b=u||0;return d?new Date(Date.UTC(p,y,m,k,g,v,b+60*d.offset*1e3)):n?new Date(Date.UTC(p,y,m,k,g,v,b)):new Date(p,y,m,k,g,v,b)}catch(t){return new Date("")}}(e,o,i),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&e!=this.format(o)&&(this.$d=new Date("")),s={}}else if(o instanceof Array)for(var f=o.length,m=1;m<=f;m+=1){a[1]=o[m-1];var p=n.apply(this,a);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}m===f&&(this.$d=new Date(""))}else r.call(this,t)}}}()},9542:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var r=function(e){return e.add(4-e.isoWeekday(),t)},s=n.prototype;s.isoWeekYear=function(){return r(this).year()},s.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,s,a,o=r(this),c=(n=this.isoWeekYear(),a=4-(s=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),s.isoWeekday()>4&&(a+=7),s.add(a,t));return o.diff(c,"week")+1},s.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=s.startOf;s.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):a.bind(this)(t,e)}}}()},670:function(t,e,n){"use strict";n.d(e,{diagram:function(){return U}});var i=n(7967),r=n(7484),s=n(9542),a=n(285),o=n(8734),c=n(5103),l=n(5740),u=(n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],s=[1,16],a=[1,17],o=[1,18],c=[1,19],l=[1,20],u=[1,21],d=[1,22],h=[1,23],f=[1,24],m=[1,25],p=[1,26],y=[1,27],k=[1,29],g=[1,31],v=[1,34],b=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],x={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,i,r,s,a){var o=s.length-1;switch(r){case 2:return s[o-1];case 3:case 7:case 8:this.$=[];break;case 4:s[o-1].push(s[o]),this.$=s[o-1];break;case 5:case 6:this.$=s[o];break;case 9:i.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 10:i.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 11:i.TopAxis(),this.$=s[o].substr(8);break;case 12:i.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 13:i.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 14:i.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 15:i.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 16:i.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 17:i.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 18:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 19:case 20:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 21:i.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 23:i.addTask(s[o-1],s[o]),this.$="task";break;case 27:this.$=s[o-1],i.setClickEvent(s[o-1],s[o],null);break;case 28:this.$=s[o-2],i.setClickEvent(s[o-2],s[o-1],s[o]);break;case 29:this.$=s[o-2],i.setClickEvent(s[o-2],s[o-1],null),i.setLink(s[o-2],s[o]);break;case 30:this.$=s[o-3],i.setClickEvent(s[o-3],s[o-2],s[o-1]),i.setLink(s[o-3],s[o]);break;case 31:this.$=s[o-2],i.setClickEvent(s[o-2],s[o],null),i.setLink(s[o-2],s[o-1]);break;case 32:this.$=s[o-3],i.setClickEvent(s[o-3],s[o-1],s[o]),i.setLink(s[o-3],s[o-2]);break;case 33:this.$=s[o-1],i.setLink(s[o-1],s[o]);break;case 34:case 40:this.$=s[o-1]+" "+s[o];break;case 35:case 36:case 38:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 37:case 39:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o];break;case 41:i.parseDirective("%%{","open_directive");break;case 42:i.parseDirective(s[o],"type_directive");break;case 43:s[o]=s[o].trim().replace(/'/g,'"'),i.parseDirective(s[o],"arg_directive");break;case 44:i.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:s,14:a,15:o,16:c,17:l,18:u,19:d,20:h,21:f,23:m,25:p,26:y,27:28,28:k,30:4,35:g,40:n},{32:32,33:[1,33],43:v},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:s,14:a,15:o,16:c,17:l,18:u,19:d,20:h,21:f,23:m,25:p,26:y,27:28,28:k,30:4,35:g,40:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(b,[2,25]),{32:47,43:v},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(b,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],s=this.table,a="",o=0,c=0,l=r.slice.call(arguments,1),u=Object.create(this.lexer),d={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(d.yy[h]=this.yy[h]);u.setInput(t,d.yy),d.yy.lexer=u,d.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var f=u.yylloc;r.push(f);var m=u.options&&u.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,y,k,g,v,b,x,T,_,$={};;){if(y=e[e.length-1],this.defaultActions[y]?k=this.defaultActions[y]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||u.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),k=s[y]&&s[y][p]),void 0===k||!k.length||!k[0]){var w;for(v in T=[],s[y])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");w=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(w,{text:u.match,token:this.terminals_[p]||p,line:u.yylineno,loc:f,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+p);switch(k[0]){case 1:e.push(p),i.push(u.yytext),r.push(u.yylloc),e.push(k[1]),p=null,c=u.yyleng,a=u.yytext,o=u.yylineno,f=u.yylloc;break;case 2:if(b=this.productions_[k[1]][1],$.$=i[i.length-b],$._$={first_line:r[r.length-(b||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(b||1)].first_column,last_column:r[r.length-1].last_column},m&&($._$.range=[r[r.length-(b||1)].range[0],r[r.length-1].range[1]]),void 0!==(g=this.performAction.apply($,[a,c,o,d.yy,k[1],i,r].concat(l))))return g;b&&(e=e.slice(0,-1*b*2),i=i.slice(0,-1*b),r=r.slice(0,-1*b)),e.push(this.productions_[k[1]][0]),i.push($.$),r.push($._$),x=s[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},T={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function _(){this.yy={}}return x.lexer=T,_.prototype=x,x.Parser=_,new _}());u.parser=u;const d=u;r.extend(s),r.extend(a),r.extend(o);let h,f="",m="",p="",y=[],k=[],g={},v=[],b=[],x="",T="";const _=["active","done","crit","milestone"];let $=[],w=!1,D=!1,S=0;const C=function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim())))},E=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let s,a;s=t.startTime instanceof Date?r(t.startTime):r(t.startTime,e,!0),s=s.add(1,"d"),a=t.endTime instanceof Date?r(t.endTime):r(t.endTime,e,!0);const[o,c]=M(s,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},M=function(t,e,n,i,r){let s=!1,a=null;for(;t<=e;)s||(a=e.toDate()),s=C(t,n,i,r),s&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},Y=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==i){let t=null;if(i[1].split(" ").forEach((function(e){let n=W(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n)})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}let s=r(n,e.trim(),!0);if(s.isValid())return s.toDate();{c.l.debug("Invalid date:"+n),c.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},A=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},L=function(t,e,n,i=!1){n=n.trim();let s=r(n,e.trim(),!0);if(s.isValid())return i&&(s=s.add(1,"d")),s.toDate();let a=r(t);const[o,c]=A(n);if(!Number.isNaN(o)){const t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()};let F=0;const I=function(t){return void 0===t?(F+=1,"task"+F):t};let O,z,B=[];const P={},W=function(t){const e=P[t];return B[e]},N=function(){const t=function(t){const e=B[t];let n="";switch(B[t].raw.startTime.type){case"prevTaskEnd":{const t=W(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=Y(0,f,B[t].raw.startTime.startData),n&&(B[t].startTime=n)}return B[t].startTime&&(B[t].endTime=L(B[t].startTime,f,B[t].raw.endTime.data,w),B[t].endTime&&(B[t].processed=!0,B[t].manualEndTime=r(B[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),E(B[t],f,k,y))),B[t].processed};let e=!0;for(const[n,i]of B.entries())t(n),e=e&&i.processed;return e},H=function(t,e){t.split(",").forEach((function(t){let n=W(t);void 0!==n&&n.classes.push(e)}))},G=function(t,e){$.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e()}))}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e()}))}))},j={parseDirective:function(t,e,n){c.m.parseDirective(this,t,e,n)},getConfig:()=>(0,c.c)().gantt,clear:function(){v=[],b=[],x="",$=[],F=0,O=void 0,z=void 0,B=[],f="",m="",T="",h=void 0,p="",y=[],k=[],w=!1,D=!1,S=0,g={},(0,c.v)()},setDateFormat:function(t){f=t},getDateFormat:function(){return f},enableInclusiveEndDates:function(){w=!0},endDatesAreInclusive:function(){return w},enableTopAxis:function(){D=!0},topAxisEnabled:function(){return D},setAxisFormat:function(t){m=t},getAxisFormat:function(){return m},setTickInterval:function(t){h=t},getTickInterval:function(){return h},setTodayMarker:function(t){p=t},getTodayMarker:function(){return p},setAccTitle:c.s,getAccTitle:c.g,setDiagramTitle:c.r,getDiagramTitle:c.t,setDisplayMode:function(t){T=t},getDisplayMode:function(){return T},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){x=t,v.push(t)},getSections:function(){return v},getTasks:function(){let t=N(),e=0;for(;!t&&e<10;)t=N(),e++;return b=B,b},addTask:function(t,e){const n={section:x,type:x,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};Z(i,r,_);for(let t=0;t{c.u.runFunc(e,...i)}))}(t,e,n)})),H(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.N)(e)),t.split(",").forEach((function(t){void 0!==W(t)&&(G(t,(()=>{window.open(n,"_self")})),g[t]=n)})),H(t,"clickable")},getLinks:function(){return g},bindFunctions:function(t){$.forEach((function(e){e(t)}))},parseDuration:A,isInvalidDate:C};function Z(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const r=new RegExp("^\\s*"+n+"\\s*$");t[0].match(r)&&(e[n]=!0,t.shift(1),i=!0)}))}const V=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),r=0;for(const t of i)for(let i=0;i=n[i]){n[i]=t.endTime,t.order=i+e,i>r&&(r=i);break}return r};let R;const U={parser:d,db:j,renderer:{setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const s=(0,c.c)().gantt,a=(0,c.c)().securityLevel;let o;"sandbox"===a&&(o=(0,l.Ys)("#i"+e));const u="sandbox"===a?(0,l.Ys)(o.nodes()[0].contentDocument.body):(0,l.Ys)("body"),d="sandbox"===a?o.nodes()[0].contentDocument:document,h=d.getElementById(e);R=h.parentElement.offsetWidth,void 0===R&&(R=1200),void 0!==s.useWidth&&(R=s.useWidth);const f=i.db.getTasks();let m=[];for(const t of f)m.push(t.type);m=function(t){const e={},n=[];for(let i=0,r=t.length;ie.type===t)).length}h.setAttribute("viewBox","0 0 "+R+" "+y);const k=u.select(`[id="${e}"]`),g=(0,l.Xf)().domain([(0,l.VV$)(f,(function(t){return t.startTime})),(0,l.Fp7)(f,(function(t){return t.endTime}))]).rangeRound([0,R-s.leftPadding-s.rightPadding]);f.sort((function(t,e){const n=t.startTime,i=e.startTime;let r=0;return n>i?r=1:nt?Math.min(t,e):e),0),h=c.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),f=i.db.getDateFormat();if(!d||!h)return;const m=[];let p=null,y=r(d);for(;y.valueOf()<=h;)i.db.isInvalidDate(y,f,l,u)?p?p.end=y:p={start:y,end:y}:p&&(m.push(p),p=null),y=y.add(1,"d");k.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return g(t.start)+n})).attr("y",s.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return g(e)-g(t.start)})).attr("height",o-e-s.gridLineStartPadding).attr("transform-origin",(function(e,i){return(g(e.start)+n+.5*(g(e.end)-g(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range")}(u,h,f,0,a,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,r){let a=(0,l.LLu)(g).tickSize(-r+e+s.gridLineStartPadding).tickFormat((0,l.i$Z)(i.db.getAxisFormat()||s.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||s.tickInterval);if(null!==o){const t=o[1];switch(o[2]){case"minute":a.ticks(l.Z_i.every(t));break;case"hour":a.ticks(l.WQD.every(t));break;case"day":a.ticks(l.rr1.every(t));break;case"week":a.ticks(l.NGh.every(t));break;case"month":a.ticks(l.F0B.every(t))}}if(k.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||s.topAxis){let n=(0,l.F5q)(g).tickSize(-r+e+s.gridLineStartPadding).tickFormat((0,l.i$Z)(i.db.getAxisFormat()||s.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1];switch(o[2]){case"minute":n.ticks(l.Z_i.every(t));break;case"hour":n.ticks(l.WQD.every(t));break;case"day":n.ticks(l.rr1.every(t));break;case"week":n.ticks(l.NGh.every(t));break;case"month":n.ticks(l.F0B.every(t))}}k.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(f,h,0,a),function(t,n,r,a,o,u,d){const h=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));k.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+r-2})).attr("width",(function(){return d-s.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of m.entries())if(t.type===n)return"section section"+e%s.numberSectionStyles;return"section section0"}));const f=k.append("g").selectAll("rect").data(t).enter(),p=i.db.getLinks();if(f.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))-.5*o:g(t.startTime)+a})).attr("y",(function(t,e){return t.order*n+r})).attr("width",(function(t){return t.milestone?o:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+r+.5*o).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of m.entries())t.type===i&&(n=e%s.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),f.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",s.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*o),t.milestone&&(n=e+o);const i=this.getBBox().width;return i>n-e?n+i+1.5*s.leftPadding>d?e+a-5:n+a+5:(n-e)/2+e+a})).attr("y",(function(t,e){return t.order*n+s.barHeight/2+(s.fontSize/2-2)+r})).attr("text-height",o).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+o);const i=this.getBBox().width;let r="";t.classes.length>0&&(r=t.classes.join(" "));let a=0;for(const[e,n]of m.entries())t.type===n&&(a=e%s.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+a:"activeText"+a),t.done?c=t.crit?c+" doneCritText"+a:c+" doneText"+a:t.crit&&(c=c+" critText"+a),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*s.leftPadding>d?r+" taskTextOutsideLeft taskTextOutside"+a+" "+c:r+" taskTextOutsideRight taskTextOutside"+a+" "+c+" width-"+i:r+" taskText taskText"+a+" "+c+" width-"+i})),"sandbox"===(0,c.c)().securityLevel){let t;t=(0,l.Ys)("#i"+e);const n=t.nodes()[0].contentDocument;f.filter((function(t){return void 0!==p[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const r=e.parentNode;var s=n.createElement("a");s.setAttribute("xlink:href",p[t.id]),s.setAttribute("target","_top"),r.appendChild(s),s.appendChild(e),s.appendChild(i)}))}}(t,u,h,f,o,0,n),function(t,e){let n=0;const i=Object.keys(p).map((t=>[t,p[t]]));k.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.lineBreakRegex),n=-(e.length-1)/2,i=d.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=d.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,i.appendChild(e)}return i})).attr("x",10).attr("y",(function(r,s){if(!(s>0))return r[1]*t/2+e;for(let a=0;a`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/684-c45993cc.chunk.min.js b/docs/themes/geekdoc/static/js/684-c45993cc.chunk.min.js new file mode 100644 index 000000000..1046cbb79 --- /dev/null +++ b/docs/themes/geekdoc/static/js/684-c45993cc.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[684],{684:function(t,e,n){n.d(e,{diagram:function(){return A}});var i=n(5103),s=n(5740),r=n(6500),a=n(2281),c=n(7201),o=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,26,27,28],s=[1,15],r=[1,16],a=[1,17],c=[1,18],o=[1,19],l=[1,23],h=[1,24],d=[1,27],u=[4,6,9,11,17,18,20,22,23,26,27,28],p={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,s,r,a){var c=r.length-1;switch(s){case 1:return r[c-1];case 3:case 7:case 8:this.$=[];break;case 4:r[c-1].push(r[c]),this.$=r[c-1];break;case 5:case 6:this.$=r[c];break;case 11:i.getCommonDb().setDiagramTitle(r[c].substr(6)),this.$=r[c].substr(6);break;case 12:this.$=r[c].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=r[c].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(r[c].substr(8)),this.$=r[c].substr(8);break;case 19:i.addTask(r[c],0,""),this.$=r[c];break;case 20:i.addEvent(r[c].substr(2)),this.$=r[c];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(r[c],"type_directive");break;case 23:r[c]=r[c].trim().replace(/'/g,'"'),i.parseDirective(r[c],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:e,7:3,12:4,28:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,28:n},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:r,20:a,22:c,23:o,24:20,25:21,26:l,27:h,28:n},{1:[2,2]},{14:25,15:[1,26],31:d},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:s,18:r,20:a,22:c,23:o,24:20,25:21,26:l,27:h,28:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,29]},{21:[1,30]},t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(i,[2,19]),t(i,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(u,[2,9]),{14:34,31:d},{31:[2,23]},{11:[1,35]},t(u,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",c=0,o=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,f,m,_,b,v,k,x,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==y&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),y=S),m=r[f]&&r[f][y]),void 0===m||!m.length||!m[0]){var $;for(b in x=[],r[f])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");$=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:p,expected:x})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+y);switch(m[0]){case 1:e.push(y),i.push(h.yytext),s.push(h.yylloc),e.push(m[1]),y=null,o=h.yyleng,a=h.yytext,c=h.yylineno,p=h.yylloc;break;case 2:if(v=this.productions_[m[1]][1],w.$=i[i.length-v],w._$={first_line:s[s.length-(v||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(v||1)].first_column,last_column:s[s.length-1].last_column},g&&(w._$.range=[s[s.length-(v||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(w,[a,o,c,d.yy,m[1],i,s].concat(l))))return _;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),s=s.slice(0,-1*v)),e.push(this.productions_[m[1]][0]),i.push(w.$),s.push(w._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0}},g={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};function y(){this.yy={}}return p.lexer=g,y.prototype=p,p.Parser=y,new y}());o.parser=o;const l=o;let h="",d=0;const u=[],p=[],g=[],y=()=>i.I,f=(t,e,n)=>{(0,i.J)(globalThis,t,e,n)},m=function(){u.length=0,p.length=0,h="",g.length=0,(0,i.v)()},_=function(t){h=t,u.push(t)},b=function(){return u},v=function(){let t=w(),e=0;for(;!t&&e<100;)t=w(),e++;return p.push(...g),p},k=function(t,e,n){const i={id:d++,section:h,type:h,task:t,score:e||0,events:n?[n]:[]};g.push(i)},x=function(t){g.find((t=>t.id===d-1)).events.push(t)},S=function(t){const e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},w=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},$={clear:m,getCommonDb:y,addSection:_,getSections:b,getTasks:v,addTask:k,addTaskOrg:S,addEvent:x,parseDirective:f},E=Object.freeze(Object.defineProperty({__proto__:null,addEvent:x,addSection:_,addTask:k,addTaskOrg:S,clear:m,default:$,getCommonDb:y,getSections:b,getTasks:v,parseDirective:f},Symbol.toStringTag,{value:"Module"}));function I(t,e){t.each((function(){var t,n=(0,s.Ys)(this),i=n.text().split(/(\s+|
    )/).reverse(),r=[],a=n.attr("y"),c=parseFloat(n.attr("dy")),o=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",c+"em");for(let s=0;se||"
    "===t)&&(r.pop(),o.text(r.join(" ").trim()),r="
    "===t?[""]:[t],o=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const T=function(t,e,n,i){const s=n%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),c=r.append("g"),o=c.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(I,e.width).node().getBBox(),l=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=o.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,c.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(a,e,s),e},D=function(t,e,n){const i=t.append("g"),s=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(I,e.width).node().getBBox(),r=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),s.height+1.1*r*.5+e.padding},C=function(t,e,n,s,r,a,c,o,l,h,d){var u;for(const o of e){const e={descr:o.task,section:n,number:n,width:150,padding:20,maxHeight:a};i.l.debug("taskNode",e);const p=t.append("g").attr("class","taskWrapper"),g=T(p,e,n,c).height;if(i.l.debug("taskHeight after draw",g),p.attr("transform",`translate(${s}, ${r})`),a=Math.max(a,g),o.events){const e=t.append("g").attr("class","lineWrapper");let i=a;r+=100,i+=L(t,o.events,n,s,r,c),r-=100,e.append("line").attr("x1",s+95).attr("y1",r+a).attr("x2",s+95).attr("y2",r+a+(d?a:h)+l+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,d&&!(null==(u=c.timeline)?void 0:u.disableMulticolor)&&n++}r-=10},L=function(t,e,n,s,r,a){let c=0;const o=r;r+=100;for(const o of e){const e={descr:o,section:n,number:n,width:150,padding:20,maxHeight:50};i.l.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=T(l,e,n,a).height;c+=h,l.attr("transform",`translate(${s}, ${r})`),r=r+10+h}return r=o,c},A={db:E,renderer:{setConf:()=>{},draw:function(t,e,n,r){var a,c,o,l;const h=(0,i.c)(),d=h.leftMargin??50;null==(c=(a=r.db).clear)||c.call(a),r.parser.parse(t+"\n"),i.l.debug("timeline",r.db);const u=h.securityLevel;let p;"sandbox"===u&&(p=(0,s.Ys)("#i"+e));const g=("sandbox"===u?(0,s.Ys)(p.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select("#"+e);g.append("g");const y=r.db.getTasks(),f=r.db.getCommonDb().getDiagramTitle();i.l.debug("task",y),g.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const m=r.db.getSections();i.l.debug("sections",m);let _=0,b=0,v=0,k=0,x=50+d,S=50;k=50;let w=0,$=!0;m.forEach((function(t){const e=D(g,{number:w,descr:t,section:w,width:150,padding:20,maxHeight:_},h);i.l.debug("sectionHeight before draw",e),_=Math.max(_,e+20)}));let E=0,I=0;i.l.debug("tasks.length",y.length);for(const[t,e]of y.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:b},s=D(g,n,h);i.l.debug("taskHeight before draw",s),b=Math.max(b,s+20),E=Math.max(E,e.events.length);let r=0;for(let t=0;t0?m.forEach((t=>{const e=y.filter((e=>e.section===t)),n={number:w,descr:t,section:w,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:_};i.l.debug("sectionNode",n);const s=g.append("g"),r=T(s,n,w,h);i.l.debug("sectionNode output",r),s.attr("transform",`translate(${x}, 50)`),S+=_+50,e.length>0&&C(g,e,w,x,S,b,h,0,I,_,!1),x+=200*Math.max(e.length,1),S=50,w++})):($=!1,C(g,y,w,x,S,b,h,0,I,_,!0));const L=g.node().getBBox();i.l.debug("bounds",L),f&&g.append("text").text(f).attr("x",L.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),v=$?_+b+150:b+100,g.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",v).attr("x2",L.width+3*d).attr("y2",v).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.p)(void 0,g,(null==(o=h.timeline)?void 0:o.padding)??50,(null==(l=h.timeline)?void 0:l.useMaxWidth)??!1)}},parser:l,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e(d.l.trace("In isDecendant",t," ",e," = ",h[t].includes(e)),!!h[t].includes(e)),u=(e,t,n,r)=>{d.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),d.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(t.children(i).length>0)u(i,t,n,r);else{const a=t.node(i);d.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.l.debug("Setting parent",i,e),n.setParent(i,e)):(d.l.info("In copy ",e,"root",r,"data",t.node(e),r),d.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const o=t.edges(i);d.l.debug("Copying Edges",o),o.forEach((i=>{d.l.info("Edge",i);const a=t.edge(i.v,i.w,i.name);d.l.info("Edge data",a,r);try{((e,t)=>(d.l.info("Decendants of ",t," is ",h[t]),d.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(h[t]?h[t].includes(e.v)||f(e.v,t)||f(e.w,t)||h[t].includes(e.w):(d.l.debug("Tilt, ",t,",not in decendants"),!1))))(i,r)?(d.l.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.l.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.l.error(e)}}))}d.l.debug("Removing node",i),t.removeNode(i)}))},w=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)g[i]=e,r=[...r,...w(i,t)];return r},p=(e,t)=>{d.l.trace("Searching",e);const n=t.children(e);if(d.l.trace("Searching children of id ",e,n),n.length<1)return d.l.trace("This is a valid node",e),e;for(const r of n){const n=p(r,t);if(n)return d.l.trace("Found replacement for",e," => ",n),n}},v=e=>c[e]&&c[e].externalConnections&&c[e]?c[e].id:e,y=(e,t)=>{if(d.l.warn("extractor - ",t,i.c(e),e.children("D")),t>10)return void d.l.error("Bailing out");let n=e.nodes(),r=!1;for(const t of n){const n=e.children(t);r=r||n.length>0}if(r){d.l.debug("Nodes = ",n,t);for(const r of n)if(d.l.debug("Extracting node",r,c,c[r]&&!c[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),c[r])if(!c[r].externalConnections&&e.children(r)&&e.children(r).length>0){d.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";c[r]&&c[r].clusterData&&c[r].clusterData.dir&&(n=c[r].clusterData.dir,d.l.warn("Fixing dir",c[r].clusterData.dir,n));const a=new o.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));d.l.warn("Old graph before copy",i.c(e)),u(r,e,a,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:c[r].clusterData,labelText:c[r].labelText,graph:a}),d.l.warn("New graph after copy node: (",r,")",i.c(a)),d.l.debug("Old graph after copy",i.c(e))}else d.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!c[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.l.debug(c);else d.l.debug("Not a cluster",r,t);n=e.nodes(),d.l.warn("New list of nodes",n);for(const r of n){const n=e.node(r);d.l.warn(" Now next level",r,n),n.clusterNode&&y(n.graph,t+1)}}else d.l.debug("Done, no node has children",e.nodes())},x=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=x(e,r);n=[...n,...i]})),n},m={rect:(e,t)=>{d.l.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=(0,d.n)((0,d.c)().flowchart.htmlLabels),o=n.insert("g").attr("class","cluster-label"),c="markdown"===t.labelType?(0,l.c)(o,t.labelText,{style:t.labelStyle,useHtmlLabels:i}):o.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let h=c.getBBox();if((0,d.n)((0,d.c)().flowchart.htmlLabels)){const e=c.children[0],t=(0,s.Ys)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}const g=0*t.padding,f=g/2,u=t.width<=h.width+g?h.width+g:t.width;t.width<=h.width+g?t.diff=(h.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,d.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-u/2).attr("y",t.y-t.height/2-f).attr("width",u).attr("height",t.height+g),i?o.attr("transform","translate("+(t.x-h.width/2)+", "+(t.y-t.height/2)+")"):o.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const w=r.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(e){return(0,a.i)(t,e)},n},roundedWithTitle:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),o=n.append("rect"),l=i.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let c=l.getBBox();if((0,d.n)((0,d.c)().flowchart.htmlLabels)){const e=l.children[0],t=(0,s.Ys)(l);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}c=l.getBBox();const h=0*t.padding,g=h/2,f=t.width<=c.width+t.padding?c.width+t.padding:t.width;t.width<=c.width+t.padding?t.diff=(c.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g).attr("width",f+h).attr("height",t.height+h),o.attr("class","inner").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g+c.height-1).attr("width",f+h).attr("height",t.height+h-c.height-3),i.attr("transform","translate("+(t.x-c.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,d.n)((0,d.c)().flowchart.htmlLabels)?5:3))+")");const u=r.node().getBBox();return t.height=u.height,t.intersect=function(e){return(0,a.i)(t,e)},n},noteGroup:(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2-d).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return(0,a.i)(t,e)},n},divider:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,a.i)(t,e)},n}};let b={};const N=async(e,t,n,o)=>{d.l.info("Graph in recursive render: XXX",i.c(t),o);const l=t.graph().rankdir;d.l.trace("Dir in recursive render - dir:",l);const s=e.insert("g").attr("class","root");t.nodes()?d.l.info("Recursive render XXX",t.nodes()):d.l.info("No nodes found for",t),t.edges().length>0&&d.l.trace("Recursive edges",t.edge(t.edges()[0]));const h=s.insert("g").attr("class","clusters"),g=s.insert("g").attr("class","edgePaths"),f=s.insert("g").attr("class","edgeLabels"),u=s.insert("g").attr("class","nodes");await Promise.all(t.nodes().map((async function(e){const r=t.node(e);if(void 0!==o){const n=JSON.parse(JSON.stringify(o.clusterData));d.l.info("Setting data for cluster XXX (",e,") ",n,o),t.setNode(o.id,n),t.parent(e)||(d.l.trace("Setting parent",e,o.id),t.setParent(e,o.id,n))}if(d.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){d.l.info("Cluster identified",e,r.width,t.node(e));const i=await N(u,r.graph,n,t.node(e)),o=i.elem;(0,a.u)(r,o),r.diff=i.diff||0,d.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,a.s)(o,r),d.l.warn("Recursive render complete ",o,r)}else t.children(e).length>0?(d.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),d.l.info(p(r.id,t)),c[r.id]={id:p(r.id,t),node:r}):(d.l.info("Node - the non recursive path",e,r.id,r),await(0,a.e)(u,t.node(e),l))}))),t.edges().forEach((function(e){const n=t.edge(e.v,e.w,e.name);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.l.info("Fix",c,"ids:",e.v,e.w,"Translateing: ",c[e.v],c[e.w]),(0,a.f)(f,n)})),t.edges().forEach((function(e){d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))})),d.l.info("#############################################"),d.l.info("### Layout ###"),d.l.info("#############################################"),d.l.info(t),(0,r.bK)(t),d.l.info("Graph after layout:",i.c(t));let w=0;return(e=>x(e,e.children()))(t).forEach((function(e){const n=t.node(e);d.l.info("Position "+e+": "+JSON.stringify(t.node(e))),d.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,a.p)(n):t.children(e).length>0?(((e,t)=>{d.l.trace("Inserting cluster");const n=t.shape||"rect";b[t.id]=m[n](e,t)})(h,n),c[n.id].node=n):(0,a.p)(n)})),t.edges().forEach((function(e){const r=t.edge(e);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r);const i=(0,a.g)(g,e,r,c,n,t);(0,a.h)(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);d.l.info(e,n.type,n.diff),"group"===n.type&&(w=n.diff)})),{elem:s,diff:w}},X=async(e,t,n,r,o)=>{(0,a.a)(e,n,r,o),(0,a.b)(),(0,a.d)(),b={},h={},g={},c={},d.l.warn("Graph at first:",i.c(t)),((e,t)=>{e?(d.l.debug("Opting in, graph "),e.nodes().forEach((function(t){e.children(t).length>0&&(d.l.warn("Cluster identified",t," Replacement id in edges: ",p(t,e)),h[t]=w(t,e),c[t]={id:p(t,e),clusterData:e.node(t)})})),e.nodes().forEach((function(t){const n=e.children(t),r=e.edges();n.length>0?(d.l.debug("Cluster identified",t,h),r.forEach((e=>{e.v!==t&&e.w!==t&&f(e.v,t)^f(e.w,t)&&(d.l.warn("Edge: ",e," leaves cluster ",t),d.l.warn("Decendants of XXX ",t,": ",h[t]),c[t].externalConnections=!0)}))):d.l.debug("Not a cluster ",t,h)})),e.edges().forEach((function(t){const n=e.edge(t);d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.l.warn("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c[t.v]," --- ",c[t.w]),c[t.v]&&c[t.w]&&c[t.v]===c[t.w]){d.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name);const a=t.w+"---"+t.v;e.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),l=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",l.label="",o.fromCluster=t.v,l.toCluster=t.v,e.setEdge(r,a,o,t.name+"-cyclic-special"),e.setEdge(a,i,l,t.name+"-cyclic-special")}else(c[t.v]||c[t.w])&&(d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v&&(n.fromCluster=t.v),i!==t.w&&(n.toCluster=t.w),d.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name))})),d.l.warn("Adjusted Graph",i.c(e)),y(e,0),d.l.trace(c)):d.l.debug("Opting out, no graph ")})(t),d.l.warn("Graph after:",i.c(t)),await N(e,t,r)}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/770-a679cffc.chunk.min.js b/docs/themes/geekdoc/static/js/770-a679cffc.chunk.min.js new file mode 100644 index 000000000..4a7da8169 --- /dev/null +++ b/docs/themes/geekdoc/static/js/770-a679cffc.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[770],{5935:function(t,e,a){a.d(e,{diagram:function(){return ut}});var i=a(5103),n=a(5740),r=a(8770),s=a(7967),o=(a(7484),a(7856),function(){var t=function(t,e,a,i){for(a=a||{},i=t.length;i--;a[t[i]]=e);return a},e=[1,2],a=[1,3],i=[1,5],n=[1,7],r=[2,5],s=[1,15],o=[1,17],c=[1,19],l=[1,21],h=[1,22],d=[1,23],p=[1,29],u=[1,30],g=[1,31],x=[1,32],y=[1,33],m=[1,34],f=[1,35],b=[1,36],T=[1,37],E=[1,38],_=[1,39],v=[1,40],w=[1,41],P=[1,43],k=[1,44],L=[1,46],I=[1,47],N=[1,48],M=[1,49],A=[1,50],S=[1,51],O=[1,54],D=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,53,54,55,57,58,63,64,65,66,74,84],R=[4,5,21,55,57],Y=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,55,57,58,63,64,65,66,74,84],$=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,54,55,57,58,63,64,65,66,74,84],C=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,53,55,57,58,63,64,65,66,74,84],B=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,55,57,58,63,64,65,66,74,84],V=[72,73,74],F=[1,128],W=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,53,54,55,57,58,63,64,65,66,74,84],q={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,par_over:48,critical:49,option_sections:50,break:51,option:52,and:53,else:54,participant:55,AS:56,participant_actor:57,note:58,placement:59,text2:60,over:61,actor_pair:62,links:63,link:64,properties:65,details:66,spaceList:67,",":68,left_of:69,right_of:70,signaltype:71,"+":72,"-":73,ACTOR:74,SOLID_OPEN_ARROW:75,DOTTED_OPEN_ARROW:76,SOLID_ARROW:77,DOTTED_ARROW:78,SOLID_CROSS:79,DOTTED_CROSS:80,SOLID_POINT:81,DOTTED_POINT:82,TXT:83,open_directive:84,type_directive:85,arg_directive:86,close_directive:87,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"par_over",49:"critical",51:"break",52:"option",53:"and",54:"else",55:"participant",56:"AS",57:"participant_actor",58:"note",61:"over",63:"links",64:"link",65:"properties",66:"details",68:",",69:"left_of",70:"right_of",72:"+",73:"-",74:"ACTOR",75:"SOLID_OPEN_ARROW",76:"DOTTED_OPEN_ARROW",77:"SOLID_ARROW",78:"DOTTED_ARROW",79:"SOLID_CROSS",80:"DOTTED_CROSS",81:"SOLID_POINT",82:"DOTTED_POINT",83:"TXT",84:"open_directive",85:"type_directive",86:"arg_directive",87:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[50,1],[50,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[67,2],[67,1],[62,3],[62,1],[59,1],[59,1],[22,5],[22,5],[22,4],[27,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[60,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,a,i,n,r,s){var o=r.length-1;switch(n){case 4:return i.apply(r[o]),r[o];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:r[o-1].push(r[o]),this.$=r[o-1];break;case 7:case 8:case 12:case 13:case 64:this.$=r[o];break;case 18:r[o-1].unshift({type:"boxStart",boxData:i.parseBoxData(r[o-2])}),r[o-1].push({type:"boxEnd",boxText:r[o-2]}),this.$=r[o-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(r[o-2]),sequenceIndexStep:Number(r[o-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(r[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:r[o-1]};break;case 25:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:r[o-1]};break;case 31:i.setDiagramTitle(r[o].substring(6)),this.$=r[o].substring(6);break;case 32:i.setDiagramTitle(r[o].substring(7)),this.$=r[o].substring(7);break;case 33:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 34:case 35:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 36:r[o-1].unshift({type:"loopStart",loopText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.LOOP_START}),r[o-1].push({type:"loopEnd",loopText:r[o-2],signalType:i.LINETYPE.LOOP_END}),this.$=r[o-1];break;case 37:r[o-1].unshift({type:"rectStart",color:i.parseMessage(r[o-2]),signalType:i.LINETYPE.RECT_START}),r[o-1].push({type:"rectEnd",color:i.parseMessage(r[o-2]),signalType:i.LINETYPE.RECT_END}),this.$=r[o-1];break;case 38:r[o-1].unshift({type:"optStart",optText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.OPT_START}),r[o-1].push({type:"optEnd",optText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.OPT_END}),this.$=r[o-1];break;case 39:r[o-1].unshift({type:"altStart",altText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.ALT_START}),r[o-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=r[o-1];break;case 40:r[o-1].unshift({type:"parStart",parText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.PAR_START}),r[o-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=r[o-1];break;case 41:r[o-1].unshift({type:"parStart",parText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.PAR_OVER_START}),r[o-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=r[o-1];break;case 42:r[o-1].unshift({type:"criticalStart",criticalText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.CRITICAL_START}),r[o-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=r[o-1];break;case 43:r[o-1].unshift({type:"breakStart",breakText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.BREAK_START}),r[o-1].push({type:"breakEnd",optText:i.parseMessage(r[o-2]),signalType:i.LINETYPE.BREAK_END}),this.$=r[o-1];break;case 46:this.$=r[o-3].concat([{type:"option",optionText:i.parseMessage(r[o-1]),signalType:i.LINETYPE.CRITICAL_OPTION},r[o]]);break;case 48:this.$=r[o-3].concat([{type:"and",parText:i.parseMessage(r[o-1]),signalType:i.LINETYPE.PAR_AND},r[o]]);break;case 50:this.$=r[o-3].concat([{type:"else",altText:i.parseMessage(r[o-1]),signalType:i.LINETYPE.ALT_ELSE},r[o]]);break;case 51:r[o-3].type="addParticipant",r[o-3].description=i.parseMessage(r[o-1]),this.$=r[o-3];break;case 52:r[o-1].type="addParticipant",this.$=r[o-1];break;case 53:r[o-3].type="addActor",r[o-3].description=i.parseMessage(r[o-1]),this.$=r[o-3];break;case 54:r[o-1].type="addActor",this.$=r[o-1];break;case 55:this.$=[r[o-1],{type:"addNote",placement:r[o-2],actor:r[o-1].actor,text:r[o]}];break;case 56:r[o-2]=[].concat(r[o-1],r[o-1]).slice(0,2),r[o-2][0]=r[o-2][0].actor,r[o-2][1]=r[o-2][1].actor,this.$=[r[o-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:r[o-2].slice(0,2),text:r[o]}];break;case 57:this.$=[r[o-1],{type:"addLinks",actor:r[o-1].actor,text:r[o]}];break;case 58:this.$=[r[o-1],{type:"addALink",actor:r[o-1].actor,text:r[o]}];break;case 59:this.$=[r[o-1],{type:"addProperties",actor:r[o-1].actor,text:r[o]}];break;case 60:this.$=[r[o-1],{type:"addDetails",actor:r[o-1].actor,text:r[o]}];break;case 63:this.$=[r[o-2],r[o]];break;case 65:this.$=i.PLACEMENT.LEFTOF;break;case 66:this.$=i.PLACEMENT.RIGHTOF;break;case 67:this.$=[r[o-4],r[o-1],{type:"addMessage",from:r[o-4].actor,to:r[o-1].actor,signalType:r[o-3],msg:r[o]},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:r[o-1]}];break;case 68:this.$=[r[o-4],r[o-1],{type:"addMessage",from:r[o-4].actor,to:r[o-1].actor,signalType:r[o-3],msg:r[o]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:r[o-4]}];break;case 69:this.$=[r[o-3],r[o-1],{type:"addMessage",from:r[o-3].actor,to:r[o-1].actor,signalType:r[o-2],msg:r[o]}];break;case 70:this.$={type:"addParticipant",actor:r[o]};break;case 71:this.$=i.LINETYPE.SOLID_OPEN;break;case 72:this.$=i.LINETYPE.DOTTED_OPEN;break;case 73:this.$=i.LINETYPE.SOLID;break;case 74:this.$=i.LINETYPE.DOTTED;break;case 75:this.$=i.LINETYPE.SOLID_CROSS;break;case 76:this.$=i.LINETYPE.DOTTED_CROSS;break;case 77:this.$=i.LINETYPE.SOLID_POINT;break;case 78:this.$=i.LINETYPE.DOTTED_POINT;break;case 79:this.$=i.parseMessage(r[o].trim().substring(1));break;case 80:i.parseDirective("%%{","open_directive");break;case 81:i.parseDirective(r[o],"type_directive");break;case 82:r[o]=r[o].trim().replace(/'/g,'"'),i.parseDirective(r[o],"arg_directive");break;case 83:i.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:a,6:4,7:i,14:6,84:n},{1:[3]},{3:8,4:e,5:a,6:4,7:i,14:6,84:n},{3:9,4:e,5:a,6:4,7:i,14:6,84:n},{3:10,4:e,5:a,6:4,7:i,14:6,84:n},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,55,57,58,63,64,65,66,74,84],r,{8:11}),{15:12,85:[1,13]},{85:[2,80]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{16:52,17:[1,53],87:O},t([17,87],[2,81]),t(D,[2,6]),{6:42,10:55,13:18,14:6,19:c,22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},t(D,[2,8]),t(D,[2,9]),t(D,[2,17]),{20:[1,56]},{5:[1,57]},{5:[1,60],24:[1,58],25:[1,59]},{27:61,74:S},{27:62,74:S},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},{5:[1,67]},t(D,[2,31]),t(D,[2,32]),{37:[1,68]},{39:[1,69]},t(D,[2,35]),{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},{20:[1,76]},{20:[1,77]},t(D,[2,44]),{27:78,74:S},{27:79,74:S},{71:80,75:[1,81],76:[1,82],77:[1,83],78:[1,84],79:[1,85],80:[1,86],81:[1,87],82:[1,88]},{59:89,61:[1,90],69:[1,91],70:[1,92]},{27:93,74:S},{27:94,74:S},{27:95,74:S},{27:96,74:S},t([5,56,68,75,76,77,78,79,80,81,82,83],[2,70]),{5:[1,97]},{18:98,86:[1,99]},{5:[2,83]},t(D,[2,7]),t(R,[2,10],{11:100}),t(D,[2,19]),{5:[1,102],24:[1,101]},{5:[1,103]},t(D,[2,23]),{5:[1,104]},{5:[1,105]},t(D,[2,26]),t(D,[2,27]),t(D,[2,28]),t(D,[2,29]),t(D,[2,30]),t(D,[2,33]),t(D,[2,34]),t(Y,r,{8:106}),t(Y,r,{8:107}),t(Y,r,{8:108}),t($,r,{45:109,8:110}),t(C,r,{47:111,8:112}),t(C,r,{8:112,47:113}),t(B,r,{50:114,8:115}),t(Y,r,{8:116}),{5:[1,118],56:[1,117]},{5:[1,120],56:[1,119]},{27:123,72:[1,121],73:[1,122],74:S},t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),{27:124,74:S},{27:126,62:125,74:S},{74:[2,65]},{74:[2,66]},{60:127,83:F},{60:129,83:F},{60:130,83:F},{60:131,83:F},t(W,[2,15]),{16:132,87:O},{87:[2,82]},{4:[1,135],5:[1,137],12:134,13:136,21:[1,133],55:P,57:k},{5:[1,138]},t(D,[2,21]),t(D,[2,22]),t(D,[2,24]),t(D,[2,25]),{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,139],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,140],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,141],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{21:[1,142]},{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,49],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,54:[1,143],55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{21:[1,144]},{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,47],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,53:[1,145],55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{21:[1,146]},{21:[1,147]},{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,45],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,52:[1,148],55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{4:s,5:o,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,149],22:20,23:l,26:h,27:45,28:d,29:24,30:25,31:26,32:27,33:28,34:p,35:u,36:g,38:x,40:y,41:m,42:f,43:b,44:T,46:E,48:_,49:v,51:w,55:P,57:k,58:L,63:I,64:N,65:M,66:A,74:S,84:n},{20:[1,150]},t(D,[2,52]),{20:[1,151]},t(D,[2,54]),{27:152,74:S},{27:153,74:S},{60:154,83:F},{60:155,83:F},{60:156,83:F},{68:[1,157],83:[2,64]},{5:[2,57]},{5:[2,79]},{5:[2,58]},{5:[2,59]},{5:[2,60]},{5:[1,158]},t(D,[2,18]),t(R,[2,11]),{13:159,55:P,57:k},t(R,[2,13]),t(R,[2,14]),t(D,[2,20]),t(D,[2,36]),t(D,[2,37]),t(D,[2,38]),t(D,[2,39]),{20:[1,160]},t(D,[2,40]),{20:[1,161]},t(D,[2,41]),t(D,[2,42]),{20:[1,162]},t(D,[2,43]),{5:[1,163]},{5:[1,164]},{60:165,83:F},{60:166,83:F},{5:[2,69]},{5:[2,55]},{5:[2,56]},{27:167,74:S},t(W,[2,16]),t(R,[2,12]),t($,r,{8:110,45:168}),t(C,r,{8:112,47:169}),t(B,r,{8:115,50:170}),t(D,[2,51]),t(D,[2,53]),{5:[2,67]},{5:[2,68]},{83:[2,63]},{21:[2,50]},{21:[2,48]},{21:[2,46]}],defaultActions:{7:[2,80],8:[2,1],9:[2,2],10:[2,3],54:[2,83],91:[2,65],92:[2,66],99:[2,82],127:[2,57],128:[2,79],129:[2,58],130:[2,59],131:[2,60],154:[2,69],155:[2,55],156:[2,56],165:[2,67],166:[2,68],167:[2,63],168:[2,50],169:[2,48],170:[2,46]},parseError:function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},parse:function(t){var e=[0],a=[],i=[null],n=[],r=this.table,s="",o=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;n.push(u);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,y,m,f,b,T,E,_,v,w={};;){if(y=e[e.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==x&&(v=void 0,"number"!=typeof(v=a.pop()||h.lex()||1)&&(v instanceof Array&&(v=(a=v).pop()),v=this.symbols_[v]||v),x=v),m=r[y]&&r[y][x]),void 0===m||!m.length||!m[0]){var P;for(b in _=[],r[y])this.terminals_[b]&&b>2&&_.push("'"+this.terminals_[b]+"'");P=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(P,{text:h.match,token:this.terminals_[x]||x,line:h.yylineno,loc:u,expected:_})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+x);switch(m[0]){case 1:e.push(x),i.push(h.yytext),n.push(h.yylloc),e.push(m[1]),x=null,c=h.yyleng,s=h.yytext,o=h.yylineno,u=h.yylloc;break;case 2:if(T=this.productions_[m[1]][1],w.$=i[i.length-T],w._$={first_line:n[n.length-(T||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(T||1)].first_column,last_column:n[n.length-1].last_column},g&&(w._$.range=[n[n.length-(T||1)].range[0],n[n.length-1].range[1]]),void 0!==(f=this.performAction.apply(w,[s,c,o,d.yy,m[1],i,n].concat(l))))return f;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),n=n.slice(0,-1*T)),e.push(this.productions_[m[1]][0]),i.push(w.$),n.push(w._$),E=r[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},z={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===i.length?this.yylloc.first_column:0)+i[i.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var a,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,a,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;re[0].length)){if(e=a,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,a,i){switch(a){case 0:return this.begin("open_directive"),84;case 1:return this.begin("type_directive"),85;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),87;case 4:return 86;case 5:case 54:case 67:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),55;case 14:return this.begin("ID"),57;case 15:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),74;case 16:return this.popState(),this.popState(),this.begin("LINE"),56;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),54;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),48;case 25:return this.begin("LINE"),53;case 26:return this.begin("LINE"),49;case 27:return this.begin("LINE"),52;case 28:return this.begin("LINE"),51;case 29:return this.popState(),20;case 30:return 21;case 31:return 69;case 32:return 70;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 66;case 37:return 61;case 38:return 58;case 39:return this.begin("ID"),26;case 40:return this.begin("ID"),28;case 41:return 34;case 42:return 35;case 43:return this.begin("acc_title"),36;case 44:return this.popState(),"acc_title_value";case 45:return this.begin("acc_descr"),38;case 46:return this.popState(),"acc_descr_value";case 47:this.begin("acc_descr_multiline");break;case 48:this.popState();break;case 49:return"acc_descr_multiline_value";case 50:return 7;case 51:return 23;case 52:return 25;case 53:return 68;case 55:return e.yytext=e.yytext.trim(),74;case 56:return 77;case 57:return 78;case 58:return 75;case 59:return 76;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 83;case 65:return 72;case 66:return 73;case 68:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[48,49],inclusive:!1},acc_descr:{rules:[46],inclusive:!1},acc_title:{rules:[44],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,29],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,28,30,31,32,33,34,35,36,37,38,39,40,41,42,43,45,47,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68],inclusive:!0}}};function H(){this.yy={}}return q.lexer=z,H.prototype=q,q.Parser=H,new H}());o.parser=o;const c=o;let l,h,d,p={},u=[],g=[],x=!1;const y=function(t,e,a,i){let n=d;const r=p[t];if(r){if(d&&r.box&&d!==r.box)throw new Error("A same participant should only be defined in one Box: "+r.name+" can't be in '"+r.box.name+"' and in '"+d.name+"' at the same time.");if(n=r.box?r.box:d,r.box=n,r&&e===r.name&&null==a)return}null!=a&&null!=a.text||(a={text:e,wrap:null,type:i}),null!=i&&null!=a.text||(a={text:e,wrap:null,type:i}),p[t]={box:n,name:e,description:a.text,wrap:void 0===a.wrap&&b()||!!a.wrap,prevActor:l,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},l&&p[l]&&(p[l].nextActor=t),d&&d.actorKeys.push(t),l=t},m=function(t,e,a={text:void 0,wrap:void 0},i){if(i===T.ACTIVE_END&&(t=>{let e,a=0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return g.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&b()||!!a.wrap,type:i}),!0},f=function(t){return p[t]},b=()=>void 0!==h?h:(0,i.c)().sequence.wrap,T={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},E=function(t,e,a){a.text,void 0===a.wrap&&b()||a.wrap;const i=[].concat(t,t);g.push({from:i[0],to:i[1],message:a.text,wrap:void 0===a.wrap&&b()||!!a.wrap,type:T.NOTE,placement:e})},_=function(t,e){const a=f(t);try{let t=(0,i.d)(e.text,(0,i.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),v(a,JSON.parse(t))}catch(t){i.l.error("error while parsing actor link text",t)}};function v(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}const w=function(t,e){const a=f(t);try{let t=(0,i.d)(e.text,(0,i.c)());P(a,JSON.parse(t))}catch(t){i.l.error("error while parsing actor properties text",t)}};function P(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}const k=function(t,e){const a=f(t),n=document.getElementById(e.text);try{const t=n.innerHTML,e=JSON.parse(t);e.properties&&P(a,e.properties),e.links&&v(a,e.links)}catch(t){i.l.error("error while parsing actor details text",t)}},L=function(t){if(Array.isArray(t))t.forEach((function(t){L(t)}));else switch(t.type){case"sequenceIndex":g.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":y(t.actor,t.actor,t.description,"participant");break;case"addActor":y(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":m(t.actor,void 0,void 0,t.signalType);break;case"addNote":E(t.actor,t.placement,t.text);break;case"addLinks":_(t.actor,t.text);break;case"addALink":!function(t,e){const a=f(t);try{const t={};let o=(0,i.d)(e.text,(0,i.c)());var n=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var r=o.slice(0,n-1).trim(),s=o.slice(n+1).trim();t[r]=s,v(a,t)}catch(t){i.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":w(t.actor,t.text);break;case"addDetails":k(t.actor,t.text);break;case"addMessage":m(t.from,t.to,t.msg,t.signalType);break;case"boxStart":e=t.boxData,u.push({name:e.text,wrap:void 0===e.wrap&&b()||!!e.wrap,fill:e.color,actorKeys:[]}),d=u.slice(-1)[0];break;case"boxEnd":d=void 0;break;case"loopStart":m(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":m(void 0,void 0,void 0,t.signalType);break;case"rectStart":m(void 0,void 0,t.color,t.signalType);break;case"optStart":m(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":m(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,i.s)(t.text);break;case"parStart":case"and":m(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":m(void 0,void 0,t.criticalText,t.signalType);break;case"option":m(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":m(void 0,void 0,t.breakText,t.signalType)}var e},I={addActor:y,addMessage:function(t,e,a,i){g.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&b()||!!a.wrap,answer:i})},addSignal:m,addLinks:_,addDetails:k,addProperties:w,autoWrap:b,setWrap:function(t){h=t},enableSequenceNumbers:function(){x=!0},disableSequenceNumbers:function(){x=!1},showSequenceNumbers:()=>x,getMessages:function(){return g},getActors:function(){return p},getActor:f,getActorKeys:function(){return Object.keys(p)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:i.g,getBoxes:function(){return u},getDiagramTitle:i.t,setDiagramTitle:i.r,parseDirective:function(t,e,a){i.m.parseDirective(this,t,e,a)},getConfig:()=>(0,i.c)().sequence,clear:function(){p={},u=[],g=[],x=!1,(0,i.v)()},parseMessage:function(t){const e=t.trim(),a={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return i.l.debug("parseMessage:",a),a},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let a=null!=e&&e[1]?e[1].trim():"transparent",n=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",n=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",n=t.trim())}return{color:a,text:void 0!==n?(0,i.d)(n.replace(/^:?(?:no)?wrap:/,""),(0,i.c)()):void 0,wrap:void 0!==n?null!==n.match(/^:?wrap:/)||null===n.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:T,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:E,setAccTitle:i.s,apply:L,setAccDescription:i.b,getAccDescription:i.a,hasAtLeastOneBox:function(){return u.length>0},hasAtLeastOneBoxWithTitle:function(){return u.some((t=>t.name))}},N=function(t,e){return(0,r.d)(t,e)},M=(t,e)=>{(0,i.E)((()=>{const a=document.querySelectorAll(t);0!==a.length&&(a[0].addEventListener("mouseover",(function(){A("actor"+e+"_popup")})),a[0].addEventListener("mouseout",(function(){S("actor"+e+"_popup")})))}))},A=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},S=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},O=function(t,e){let a=0,n=0;const r=e.text.split(i.e.lineBreakRegex),[s,o]=(0,i.B)(e.fontSize);let c=[],l=0,h=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":h=()=>Math.round(e.y+(a+n+e.textMargin)/2);break;case"bottom":case"end":h=()=>Math.round(e.y+(a+n+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[d,p]of r.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==s&&(l=d*s);const r=t.append("text");r.attr("x",e.x),r.attr("y",h()),void 0!==e.anchor&&r.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&r.style("font-family",e.fontFamily),void 0!==o&&r.style("font-size",o),void 0!==e.fontWeight&&r.style("font-weight",e.fontWeight),void 0!==e.fill&&r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class),void 0!==e.dy?r.attr("dy",e.dy):0!==l&&r.attr("dy",l);const u=p||i.Z;if(e.tspan){const t=r.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(u)}else r.text(u);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(n+=(r._groups||r)[0][0].getBBox().height,a=n),c.push(r)}return c},D=function(t,e){const a=t.append("polygon");var i,n,r,s;return a.attr("points",(i=e.x)+","+(n=e.y)+" "+(i+(r=e.width))+","+n+" "+(i+r)+","+(n+(s=e.height)-7)+" "+(i+r-8.4)+","+(n+s)+" "+i+","+(n+s)),a.attr("class","labelBox"),e.y=e.y+e.height/2,O(t,e),a};let R=-1;const Y=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},$=function(t,e){(0,r.a)(t,e)},C=function(){function t(t,e,a,i,r,s,o){n(e.append("text").attr("x",a+r/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,s,o,c,l){const{actorFontSize:h,actorFontFamily:d,actorFontWeight:p}=l,[u,g]=(0,i.B)(h),x=t.split(i.e.lineBreakRegex);for(let t=0;ta?c.width:a;const u=h.append("rect");if(u.attr("class","actorPopupMenuPanel"+d),u.attr("x",c.x),u.attr("y",c.height),u.attr("fill",c.fill),u.attr("stroke",c.stroke),u.attr("width",p),u.attr("height",c.height),u.attr("rx",c.rx),u.attr("ry",c.ry),null!=r){var g=20;for(let t in r){var x=h.append("a"),y=(0,s.N)(r[t]);x.attr("xlink:href",y),x.attr("target","_blank"),B(i)(t,x,c.x+10,c.height+g,p,20,{class:"actor"},i),g+=30}}return u.attr("height",g),{height:c.height+g,width:p}},z=function(t){return t.append("g")},H=function(t,e,a,i,n){const s=(0,r.g)(),o=e.anchored;s.x=e.startx,s.y=e.starty,s.class="activation"+n%3,s.width=e.stopx-e.startx,s.height=a-e.starty,N(o,s)},U=function(t,e,a,i){const{boxMargin:n,boxTextMargin:s,labelBoxHeight:o,labelBoxWidth:c,messageFontFamily:l,messageFontSize:h,messageFontWeight:d}=i,p=t.append("g"),u=function(t,e,a,i){return p.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",i).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let g=(0,r.e)();g.text=a,g.x=e.startx,g.y=e.starty,g.fontFamily=l,g.fontSize=h,g.fontWeight=d,g.anchor="middle",g.valign="middle",g.tspan=!1,g.width=c||50,g.height=o||20,g.textMargin=s,g.class="labelText",D(p,g),g={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0},g.text=e.title,g.x=e.startx+c/2+(e.stopx-e.startx)/2,g.y=e.starty+n+s,g.anchor="middle",g.valign="middle",g.textMargin=s,g.class="loopText",g.fontFamily=l,g.fontSize=h,g.fontWeight=d,g.wrap=!0;let x=O(p,g);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,a){if(t.message){g.text=t.message,g.x=e.startx+(e.stopx-e.startx)/2,g.y=e.sections[a].y+n+s,g.class="loopText",g.anchor="middle",g.valign="middle",g.tspan=!1,g.fontFamily=l,g.fontSize=h,g.fontWeight=d,g.wrap=e.wrap,x=O(p,g);let i=Math.round(x.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[a].height+=i-(n+s)}})),e.height=Math.round(e.stopy-e.starty),p},j=$,K=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},X=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},G=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},J=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},Z=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},Q=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},tt=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};s.N;let et={};const at={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,ct((0,i.c)())},updateVal:function(t,e,a,i){void 0===t[e]?t[e]=a:t[e]=i(a,t[e])},updateBounds:function(t,e,a,i){const n=this;let r=0;function s(s){return function(o){r++;const c=n.sequenceItems.length-r+1;n.updateVal(o,"starty",e-c*et.boxMargin,Math.min),n.updateVal(o,"stopy",i+c*et.boxMargin,Math.max),n.updateVal(at.data,"startx",t-c*et.boxMargin,Math.min),n.updateVal(at.data,"stopx",a+c*et.boxMargin,Math.max),"activation"!==s&&(n.updateVal(o,"startx",t-c*et.boxMargin,Math.min),n.updateVal(o,"stopx",a+c*et.boxMargin,Math.max),n.updateVal(at.data,"starty",e-c*et.boxMargin,Math.min),n.updateVal(at.data,"stopy",i+c*et.boxMargin,Math.max))}}this.sequenceItems.forEach(s()),this.activations.forEach(s("activation"))},insert:function(t,e,a,n){const r=i.e.getMin(t,a),s=i.e.getMax(t,a),o=i.e.getMin(e,n),c=i.e.getMax(e,n);this.updateVal(at.data,"startx",r,Math.min),this.updateVal(at.data,"starty",o,Math.min),this.updateVal(at.data,"stopx",s,Math.max),this.updateVal(at.data,"stopy",c,Math.max),this.updateBounds(r,o,s,c)},newActivation:function(t,e,a){const i=a[t.from.actor],n=lt(t.from.actor).length||0,r=i.x+i.width/2+(n-1)*et.activationWidth/2;this.activations.push({startx:r,starty:this.verticalPos+2,stopx:r+et.activationWidth,stopy:void 0,actor:t.from.actor,anchored:z(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:at.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=i.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},it=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),nt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),rt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),st=function(t,e,a,n,r,s,o){if(!0===r.hideUnusedParticipants){const t=new Set;s.forEach((e=>{t.add(e.from),t.add(e.to)})),a=a.filter((e=>t.has(e)))}let c,l=0,h=0,d=0;for(const r of a){const a=e[r],s=a.box;c&&c!=s&&(o||at.models.addBox(c),h+=et.boxMargin+c.margin),s&&s!=c&&(o||(s.x=l+h,s.y=n),h+=s.margin),a.width=a.width||et.width,a.height=i.e.getMax(a.height||et.height,et.height),a.margin=a.margin||et.actorMargin,a.x=l+h,a.y=at.getVerticalPos();const p=F(t,a,et,o);d=i.e.getMax(d,p),at.insert(a.x,n,a.x+a.width,a.height),l+=a.width+h,a.box&&(a.box.width=l+s.margin-a.box.x),h=a.margin,c=a.box,at.models.addActor(a)}c&&!o&&at.models.addBox(c),at.bumpVerticalPos(d)},ot=function(t,e,a,i){let n=0,r=0;for(const s of a){const a=e[s],o=pt(a),c=q(t,a,o,et,et.forceMenus,i);c.height>n&&(n=c.height),c.width+a.x>r&&(r=c.width+a.x)}return{maxHeight:n,maxWidth:r}},ct=function(t){(0,i.f)(et,t),t.fontFamily&&(et.actorFontFamily=et.noteFontFamily=et.messageFontFamily=t.fontFamily),t.fontSize&&(et.actorFontSize=et.noteFontSize=et.messageFontSize=t.fontSize),t.fontWeight&&(et.actorFontWeight=et.noteFontWeight=et.messageFontWeight=t.fontWeight)},lt=function(t){return at.activations.filter((function(e){return e.actor===t}))},ht=function(t,e){const a=e[t],n=lt(t);return[n.reduce((function(t,e){return i.e.getMin(t,e.startx)}),a.x+a.width/2),n.reduce((function(t,e){return i.e.getMax(t,e.stopx)}),a.x+a.width/2)]};function dt(t,e,a,n,r){at.bumpVerticalPos(a);let s=n;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,r=it(et);e.message=i.u.wrapLabel(`[${e.message}]`,a-2*et.wrapPadding,r),e.width=a,e.wrap=!0;const o=i.u.calculateTextDimensions(e.message,r),c=i.e.getMax(o.height,et.labelBoxHeight);s=n+c,i.l.debug(`${c} - ${e.message}`)}r(e),at.bumpVerticalPos(s)}const pt=function(t){let e=0;const a=rt(et);for(const n in t.links){const t=i.u.calculateTextDimensions(n,a).width+2*et.wrapPadding+2*et.boxMargin;e{const a=t[e];a.wrap&&(a.description=i.u.wrapLabel(a.description,et.width-2*et.wrapPadding,rt(et)));const r=i.u.calculateTextDimensions(a.description,rt(et));a.width=a.wrap?et.width:i.e.getMax(et.width,r.width+2*et.wrapPadding),a.height=a.wrap?i.e.getMax(r.height,et.height):et.height,n=i.e.getMax(n,a.height)}));for(const a in e){const n=t[a];if(!n)continue;const r=t[n.nextActor];if(!r){const t=e[a]+et.actorMargin-n.width/2;n.margin=i.e.getMax(t,et.actorMargin);continue}const s=e[a]+et.actorMargin-n.width/2-r.width/2;n.margin=i.e.getMax(s,et.actorMargin)}let r=0;return a.forEach((e=>{const a=it(et);let n=e.actorKeys.reduce(((e,a)=>e+(t[a].width+(t[a].margin||0))),0);n-=2*et.boxTextMargin,e.wrap&&(e.name=i.u.wrapLabel(e.name,n-2*et.wrapPadding,a));const s=i.u.calculateTextDimensions(e.name,a);r=i.e.getMax(s.height,r);const o=i.e.getMax(n,s.width+2*et.wrapPadding);if(e.margin=et.boxTextMargin,nt.textMaxHeight=r)),i.e.getMax(n,et.height)}(u,T,g),Q(p),Z(p),tt(p),f&&(at.bumpVerticalPos(et.boxMargin),b&&at.bumpVerticalPos(g[0].textMaxHeight)),st(p,u,x,0,et,y,!1);const E=function(t,e,a,n){const r={},s=[];let o,c,l;return t.forEach((function(t){switch(t.id=i.u.random({length:10}),t.type){case n.db.LINETYPE.LOOP_START:case n.db.LINETYPE.ALT_START:case n.db.LINETYPE.OPT_START:case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:case n.db.LINETYPE.CRITICAL_START:case n.db.LINETYPE.BREAK_START:s.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case n.db.LINETYPE.ALT_ELSE:case n.db.LINETYPE.PAR_AND:case n.db.LINETYPE.CRITICAL_OPTION:t.message&&(o=s.pop(),r[o.id]=o,r[t.id]=o,s.push(o));break;case n.db.LINETYPE.LOOP_END:case n.db.LINETYPE.ALT_END:case n.db.LINETYPE.OPT_END:case n.db.LINETYPE.PAR_END:case n.db.LINETYPE.CRITICAL_END:case n.db.LINETYPE.BREAK_END:o=s.pop(),r[o.id]=o;break;case n.db.LINETYPE.ACTIVE_START:{const a=e[t.from?t.from.actor:t.to.actor],i=lt(t.from?t.from.actor:t.to.actor).length,n=a.x+a.width/2+(i-1)*et.activationWidth/2,r={startx:n,stopx:n+et.activationWidth,actor:t.from.actor,enabled:!0};at.activations.push(r)}break;case n.db.LINETYPE.ACTIVE_END:{const e=at.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete at.activations.splice(e,1)[0]}}void 0!==t.placement?(c=function(t,e,a){const n=e[t.from].x,r=e[t.to].x,s=t.wrap&&t.message;let o=i.u.calculateTextDimensions(s?i.u.wrapLabel(t.message,et.width,nt(et)):t.message,nt(et));const c={width:s?et.width:i.e.getMax(et.width,o.width+2*et.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(c.width=s?i.e.getMax(et.width,o.width):i.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*et.noteMargin),c.startx=n+(e[t.from].width+et.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(c.width=s?i.e.getMax(et.width,o.width+2*et.noteMargin):i.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*et.noteMargin),c.startx=n-c.width+(e[t.from].width-et.actorMargin)/2):t.to===t.from?(o=i.u.calculateTextDimensions(s?i.u.wrapLabel(t.message,i.e.getMax(et.width,e[t.from].width),nt(et)):t.message,nt(et)),c.width=s?i.e.getMax(et.width,e[t.from].width):i.e.getMax(e[t.from].width,et.width,o.width+2*et.noteMargin),c.startx=n+(e[t.from].width-c.width)/2):(c.width=Math.abs(n+e[t.from].width/2-(r+e[t.to].width/2))+et.actorMargin,c.startx=n{o=t,o.from=i.e.getMin(o.from,c.startx),o.to=i.e.getMax(o.to,c.startx+c.width),o.width=i.e.getMax(o.width,Math.abs(o.from-o.to))-et.labelBoxWidth}))):(l=function(t,e,a){let n=!1;if([a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(n=!0),!n)return{};const r=ht(t.from,e),s=ht(t.to,e),o=r[0]<=s[0]?1:0,c=r[0]0&&s.forEach((a=>{if(o=a,l.startx===l.stopx){const a=e[t.from],n=e[t.to];o.from=i.e.getMin(a.x-l.width/2,a.x-a.width/2,o.from),o.to=i.e.getMax(n.x+l.width/2,n.x+a.width/2,o.to),o.width=i.e.getMax(o.width,Math.abs(o.to-o.from))-et.labelBoxWidth}else o.from=i.e.getMin(l.startx,o.from),o.to=i.e.getMax(l.stopx,o.to),o.width=i.e.getMax(o.width,l.width)-et.labelBoxWidth})))})),at.activations=[],i.l.debug("Loop type widths:",r),r}(y,u,0,s);K(p),J(p),X(p),G(p);let _=1,v=1;const w=[];y.forEach((function(t){let e,a,n;switch(t.type){case s.db.LINETYPE.NOTE:at.resetVerticalPos(),a=t.noteModel,function(t,e){at.bumpVerticalPos(et.boxMargin),e.height=et.boxMargin,e.starty=at.getVerticalPos();const a=(0,r.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||et.width,a.class="note";const i=t.append("g"),n=V(i,a),s=(0,r.e)();s.x=e.startx,s.y=e.starty,s.width=a.width,s.dy="1em",s.text=e.message,s.class="noteText",s.fontFamily=et.noteFontFamily,s.fontSize=et.noteFontSize,s.fontWeight=et.noteFontWeight,s.anchor=et.noteAlign,s.textMargin=et.noteMargin,s.valign="center";const o=O(i,s),c=Math.round(o.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));n.attr("height",c+2*et.noteMargin),e.height+=c+2*et.noteMargin,at.bumpVerticalPos(c+2*et.noteMargin),e.stopy=e.starty+c+2*et.noteMargin,e.stopx=e.startx+a.width,at.insert(e.startx,e.starty,e.stopx,e.stopy),at.models.addNote(e)}(p,a);break;case s.db.LINETYPE.ACTIVE_START:at.newActivation(t,p,u);break;case s.db.LINETYPE.ACTIVE_END:!function(t,e){const a=at.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),H(p,a,e,et,lt(t.from.actor).length),at.insert(a.startx,e-10,a.stopx,e)}(t,at.getVerticalPos());break;case s.db.LINETYPE.LOOP_START:dt(E,t,et.boxMargin,et.boxMargin+et.boxTextMargin,(t=>at.newLoop(t)));break;case s.db.LINETYPE.LOOP_END:e=at.endLoop(),U(p,e,"loop",et),at.bumpVerticalPos(e.stopy-at.getVerticalPos()),at.models.addLoop(e);break;case s.db.LINETYPE.RECT_START:dt(E,t,et.boxMargin,et.boxMargin,(t=>at.newLoop(void 0,t.message)));break;case s.db.LINETYPE.RECT_END:e=at.endLoop(),j(p,e),at.models.addLoop(e),at.bumpVerticalPos(e.stopy-at.getVerticalPos());break;case s.db.LINETYPE.OPT_START:dt(E,t,et.boxMargin,et.boxMargin+et.boxTextMargin,(t=>at.newLoop(t)));break;case s.db.LINETYPE.OPT_END:e=at.endLoop(),U(p,e,"opt",et),at.bumpVerticalPos(e.stopy-at.getVerticalPos()),at.models.addLoop(e);break;case s.db.LINETYPE.ALT_START:dt(E,t,et.boxMargin,et.boxMargin+et.boxTextMargin,(t=>at.newLoop(t)));break;case s.db.LINETYPE.ALT_ELSE:dt(E,t,et.boxMargin+et.boxTextMargin,et.boxMargin,(t=>at.addSectionToLoop(t)));break;case s.db.LINETYPE.ALT_END:e=at.endLoop(),U(p,e,"alt",et),at.bumpVerticalPos(e.stopy-at.getVerticalPos()),at.models.addLoop(e);break;case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:dt(E,t,et.boxMargin,et.boxMargin+et.boxTextMargin,(t=>at.newLoop(t))),at.saveVerticalPos();break;case s.db.LINETYPE.PAR_AND:dt(E,t,et.boxMargin+et.boxTextMargin,et.boxMargin,(t=>at.addSectionToLoop(t)));break;case s.db.LINETYPE.PAR_END:e=at.endLoop(),U(p,e,"par",et),at.bumpVerticalPos(e.stopy-at.getVerticalPos()),at.models.addLoop(e);break;case s.db.LINETYPE.AUTONUMBER:_=t.message.start||_,v=t.message.step||v,t.message.visible?s.db.enableSequenceNumbers():s.db.disableSequenceNumbers();break;case s.db.LINETYPE.CRITICAL_START:dt(E,t,et.boxMargin,et.boxMargin+et.boxTextMargin,(t=>at.newLoop(t)));break;case s.db.LINETYPE.CRITICAL_OPTION:dt(E,t,et.boxMargin+et.boxTextMargin,et.boxMargin,(t=>at.addSectionToLoop(t)));break;case s.db.LINETYPE.CRITICAL_END:e=at.endLoop(),U(p,e,"critical",et),at.bumpVerticalPos(e.stopy-at.getVerticalPos()),at.models.addLoop(e);break;case s.db.LINETYPE.BREAK_START:dt(E,t,et.boxMargin,et.boxMargin+et.boxTextMargin,(t=>at.newLoop(t)));break;case s.db.LINETYPE.BREAK_END:e=at.endLoop(),U(p,e,"break",et),at.bumpVerticalPos(e.stopy-at.getVerticalPos()),at.models.addLoop(e);break;default:try{at.resetVerticalPos(),n=t.msgModel,n.starty=at.getVerticalPos(),n.sequenceIndex=_,n.sequenceVisible=s.db.showSequenceNumbers();const e=function(t,e){at.bumpVerticalPos(10);const{startx:a,stopx:n,message:r}=e,s=i.e.splitBreaks(r).length,o=i.u.calculateTextDimensions(r,it(et)),c=o.height/s;let l;e.height+=c,at.bumpVerticalPos(c);let h=o.height-10;const d=o.width;if(a===n){l=at.getVerticalPos()+h,et.rightAngles||(h+=et.boxMargin,l=at.getVerticalPos()+h),h+=30;const t=i.e.getMax(d/2,et.width/2);at.insert(a-t,at.getVerticalPos()-10+h,n+t,at.getVerticalPos()+30+h)}else h+=et.boxMargin,l=at.getVerticalPos()+h,at.insert(a,l-10,n,l);return at.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,at.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}(0,n);w.push({messageModel:n,lineStartY:e}),at.models.addMessage(n)}catch(t){i.l.error("error while drawing message",t)}}[s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(_+=v)})),w.forEach((t=>function(t,e,a,n){const{startx:s,stopx:o,starty:c,message:l,type:h,sequenceIndex:d,sequenceVisible:p}=e,u=i.u.calculateTextDimensions(l,it(et)),g=(0,r.e)();g.x=s,g.y=c+10,g.width=o-s,g.class="messageText",g.dy="1em",g.text=l,g.fontFamily=et.messageFontFamily,g.fontSize=et.messageFontSize,g.fontWeight=et.messageFontWeight,g.anchor=et.messageAlign,g.valign="center",g.textMargin=et.wrapPadding,g.tspan=!1,O(t,g);const x=u.width;let y;s===o?y=et.rightAngles?t.append("path").attr("d",`M ${s},${a} H ${s+i.e.getMax(et.width/2,x/2)} V ${a+25} H ${s}`):t.append("path").attr("d","M "+s+","+a+" C "+(s+60)+","+(a-10)+" "+(s+60)+","+(a+30)+" "+s+","+(a+20)):(y=t.append("line"),y.attr("x1",s),y.attr("y1",a),y.attr("x2",o),y.attr("y2",a)),h===n.db.LINETYPE.DOTTED||h===n.db.LINETYPE.DOTTED_CROSS||h===n.db.LINETYPE.DOTTED_POINT||h===n.db.LINETYPE.DOTTED_OPEN?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";et.arrowMarkerAbsolute&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),y.attr("stroke-width",2),y.attr("stroke","none"),y.style("fill","none"),h!==n.db.LINETYPE.SOLID&&h!==n.db.LINETYPE.DOTTED||y.attr("marker-end","url("+m+"#arrowhead)"),h!==n.db.LINETYPE.SOLID_POINT&&h!==n.db.LINETYPE.DOTTED_POINT||y.attr("marker-end","url("+m+"#filled-head)"),h!==n.db.LINETYPE.SOLID_CROSS&&h!==n.db.LINETYPE.DOTTED_CROSS||y.attr("marker-end","url("+m+"#crosshead)"),(p||et.showSequenceNumbers)&&(y.attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",s).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(d))}(p,t.messageModel,t.lineStartY,s))),et.mirrorActors&&(at.bumpVerticalPos(2*et.boxMargin),st(p,u,x,at.getVerticalPos(),et,y,!0),at.bumpVerticalPos(et.boxMargin),Y(p,at.getVerticalPos())),at.models.boxes.forEach((function(t){t.height=at.getVerticalPos()-t.y,at.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",W(p,t,et)})),f&&at.bumpVerticalPos(et.boxMargin);const P=ot(p,u,x,d),{bounds:k}=at.getBounds();i.l.debug("For line height fix Querying: #"+e+" .actor-line"),(0,n.td_)("#"+e+" .actor-line").attr("y2",k.stopy);let L=k.stopy-k.starty;L`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`}},8770:function(t,e,a){a.d(e,{a:function(){return r},b:function(){return c},c:function(){return o},d:function(){return n},e:function(){return h},f:function(){return s},g:function(){return l}});var i=a(7967);const n=function(t,e){const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),a.attr("rx",e.rx),a.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return"undefined"!==e.class&&a.attr("class",e.class),a},r=function(t,e){n(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},s=function(t,e){const a=e.text.replace(//gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const n=i.append("tspan");return n.attr("x",e.x+2*e.textMargin),n.text(a),i},o=function(t,e,a,n){const r=t.append("image");r.attr("x",e),r.attr("y",a);var s=(0,i.N)(n);r.attr("xlink:href",s)},c=function(t,e,a,n){const r=t.append("use");r.attr("x",e),r.attr("y",a);const s=(0,i.N)(n);r.attr("xlink:href","#"+s)},l=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},h=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/796-b653a12b.chunk.min.js b/docs/themes/geekdoc/static/js/796-b653a12b.chunk.min.js new file mode 100644 index 000000000..20974fde2 --- /dev/null +++ b/docs/themes/geekdoc/static/js/796-b653a12b.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[796],{4796:function(t,e,u){u.d(e,{d:function(){return st},f:function(){return ut},p:function(){return n}});var s=u(5740),i=u(5103),r=function(){var t=function(t,e,u,s){for(u=u||{},s=t.length;s--;u[t[s]]=e);return u},e=[1,9],u=[1,7],s=[1,6],i=[1,8],r=[1,20,21,22,23,38,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],n=[2,10],c=[1,20],a=[1,21],o=[1,22],l=[1,23],h=[1,30],A=[1,32],d=[1,33],p=[1,34],y=[1,63],E=[1,49],f=[1,53],D=[1,36],k=[1,37],b=[1,38],g=[1,39],_=[1,40],F=[1,57],C=[1,64],B=[1,52],T=[1,54],m=[1,56],S=[1,60],v=[1,61],x=[1,41],L=[1,42],R=[1,43],I=[1,44],N=[1,62],$=[1,51],O=[1,55],P=[1,58],w=[1,59],U=[1,50],V=[1,67],M=[1,72],G=[1,20,21,22,23,38,42,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],Y=[1,76],K=[1,75],W=[1,77],j=[20,21,23,82,83],H=[1,100],Q=[1,105],z=[1,108],X=[1,109],q=[1,102],Z=[1,107],J=[1,110],tt=[1,103],et=[1,115],ut=[1,114],st=[1,104],it=[1,106],rt=[1,111],nt=[1,112],ct=[1,113],at=[1,116],ot=[20,21,22,23,82,83],lt=[20,21,22,23,54,82,83],ht=[20,21,22,23,40,52,54,56,58,60,62,64,66,67,68,70,72,74,75,77,82,83,93,97,107,108,111,113,114,124,125,126,127,128,129],At=[20,21,23],dt=[20,21,23,52,67,68,82,83,93,97,107,108,111,113,114,124,125,126,127,128,129],pt=[1,12,20,21,22,23,24,38,42,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],yt=[52,67,68,93,97,107,108,111,113,114,124,125,126,127,128,129],Et=[1,151],ft=[1,159],Dt=[1,160],kt=[1,161],bt=[1,162],gt=[1,146],_t=[1,147],Ft=[1,142],Ct=[1,143],Bt=[1,154],Tt=[1,155],mt=[1,156],St=[1,157],vt=[1,158],xt=[1,163],Lt=[1,164],Rt=[1,149],It=[1,152],Nt=[1,148],$t=[1,145],Ot=[20,21,22,23,38,42,44,46,48,52,67,68,88,89,90,91,92,93,97,107,108,111,113,114,120,121,122,123,124,125,126,127,128,129],Pt=[1,167],wt=[20,21,22,23,26,52,67,68,93,107,108,111,113,114,124,125,126,127,128,129],Ut=[20,21,22,23,24,26,38,40,41,42,52,57,59,61,63,65,67,68,69,71,73,74,76,78,82,83,88,89,90,91,92,93,94,97,107,108,111,113,114,115,116,124,125,126,127,128,129],Vt=[12,21,22,24],Mt=[22,108],Gt=[1,252],Yt=[1,247],Kt=[1,248],Wt=[1,256],jt=[1,253],Ht=[1,250],Qt=[1,249],zt=[1,251],Xt=[1,254],qt=[1,255],Zt=[1,257],Jt=[1,275],te=[20,21,23,108],ee=[20,21,22,23,67,68,88,104,107,108,111,112,113,114,115],ue={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,styledVertex:51,AMP:52,vertex:53,STYLE_SEPARATOR:54,idString:55,DOUBLECIRCLESTART:56,DOUBLECIRCLEEND:57,PS:58,PE:59,"(-":60,"-)":61,STADIUMSTART:62,STADIUMEND:63,SUBROUTINESTART:64,SUBROUTINEEND:65,VERTEX_WITH_PROPS_START:66,ALPHA:67,COLON:68,PIPE:69,CYLINDERSTART:70,CYLINDEREND:71,DIAMOND_START:72,DIAMOND_STOP:73,TAGEND:74,TRAPSTART:75,TRAPEND:76,INVTRAPSTART:77,INVTRAPEND:78,linkStatement:79,arrowText:80,TESTSTR:81,START_LINK:82,LINK:83,textToken:84,STR:85,MD_STR:86,keywords:87,STYLE:88,LINKSTYLE:89,CLASSDEF:90,CLASS:91,CLICK:92,DOWN:93,UP:94,textNoTags:95,textNoTagsToken:96,DEFAULT:97,stylesOpt:98,alphaNum:99,CALLBACKNAME:100,CALLBACKARGS:101,HREF:102,LINK_TARGET:103,HEX:104,numList:105,INTERPOLATE:106,NUM:107,COMMA:108,style:109,styleComponent:110,MINUS:111,UNIT:112,BRKT:113,DOT:114,PCT:115,TAGSTART:116,alphaNumToken:117,idStringToken:118,alphaNumStatement:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,PUNCTUATION:124,UNICODE_TEXT:125,PLUS:126,EQUALS:127,MULT:128,UNDERSCORE:129,graphCodeTokens:130,ARROW_CROSS:131,ARROW_POINT:132,ARROW_CIRCLE:133,ARROW_OPEN:134,QUOTE:135,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",54:"STYLE_SEPARATOR",56:"DOUBLECIRCLESTART",57:"DOUBLECIRCLEEND",58:"PS",59:"PE",60:"(-",61:"-)",62:"STADIUMSTART",63:"STADIUMEND",64:"SUBROUTINESTART",65:"SUBROUTINEEND",66:"VERTEX_WITH_PROPS_START",67:"ALPHA",68:"COLON",69:"PIPE",70:"CYLINDERSTART",71:"CYLINDEREND",72:"DIAMOND_START",73:"DIAMOND_STOP",74:"TAGEND",75:"TRAPSTART",76:"TRAPEND",77:"INVTRAPSTART",78:"INVTRAPEND",81:"TESTSTR",82:"START_LINK",83:"LINK",85:"STR",86:"MD_STR",88:"STYLE",89:"LINKSTYLE",90:"CLASSDEF",91:"CLASS",92:"CLICK",93:"DOWN",94:"UP",97:"DEFAULT",100:"CALLBACKNAME",101:"CALLBACKARGS",102:"HREF",103:"LINK_TARGET",104:"HEX",106:"INTERPOLATE",107:"NUM",108:"COMMA",111:"MINUS",112:"UNIT",113:"BRKT",114:"DOT",115:"PCT",116:"TAGSTART",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr",124:"PUNCTUATION",125:"UNICODE_TEXT",126:"PLUS",127:"EQUALS",128:"MULT",129:"UNDERSCORE",131:"ARROW_CROSS",132:"ARROW_POINT",133:"ARROW_CIRCLE",134:"ARROW_OPEN",135:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[51,1],[51,3],[53,4],[53,4],[53,6],[53,4],[53,4],[53,4],[53,8],[53,4],[53,4],[53,4],[53,6],[53,4],[53,4],[53,4],[53,4],[53,4],[53,1],[49,2],[49,3],[49,3],[49,1],[49,3],[79,1],[80,3],[39,1],[39,2],[39,1],[39,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[95,1],[95,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[105,1],[105,3],[98,1],[98,3],[109,1],[109,2],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[96,1],[96,1],[96,1],[96,1],[55,1],[55,2],[99,1],[99,2],[119,1],[119,1],[119,1],[119,1],[43,1],[43,1],[43,1],[43,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[118,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1],[130,1]],performAction:function(t,e,u,s,i,r,n){var c=r.length-1;switch(i){case 5:s.parseDirective("%%{","open_directive");break;case 6:s.parseDirective(r[c],"type_directive");break;case 7:r[c]=r[c].trim().replace(/'/g,'"'),s.parseDirective(r[c],"arg_directive");break;case 8:s.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(r[c])||r[c].length>0)&&r[c-1].push(r[c]),this.$=r[c-1];break;case 12:case 98:case 154:case 156:case 157:case 57:case 79:case 152:this.$=r[c];break;case 19:s.setDirection("TB"),this.$="TB";break;case 20:s.setDirection(r[c-1]),this.$=r[c-1];break;case 35:this.$=r[c-1].nodes;break;case 41:this.$=s.addSubGraph(r[c-6],r[c-1],r[c-4]);break;case 42:this.$=s.addSubGraph(r[c-3],r[c-1],r[c-3]);break;case 43:this.$=s.addSubGraph(void 0,r[c-1],void 0);break;case 45:this.$=r[c].trim(),s.setAccTitle(this.$);break;case 46:case 47:this.$=r[c].trim(),s.setAccDescription(this.$);break;case 51:s.addLink(r[c-2].stmt,r[c],r[c-1]),this.$={stmt:r[c],nodes:r[c].concat(r[c-2].nodes)};break;case 52:s.addLink(r[c-3].stmt,r[c-1],r[c-2]),this.$={stmt:r[c-1],nodes:r[c-1].concat(r[c-3].nodes)};break;case 53:this.$={stmt:r[c-1],nodes:r[c-1]};break;case 54:this.$={stmt:r[c],nodes:r[c]};break;case 55:case 125:case 127:this.$=[r[c]];break;case 56:this.$=r[c-4].concat(r[c]);break;case 58:this.$=r[c-2],s.setClass(r[c-2],r[c]);break;case 59:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"square");break;case 60:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"doublecircle");break;case 61:this.$=r[c-5],s.addVertex(r[c-5],r[c-2],"circle");break;case 62:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"ellipse");break;case 63:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"stadium");break;case 64:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"subroutine");break;case 65:this.$=r[c-7],s.addVertex(r[c-7],r[c-1],"rect",void 0,void 0,void 0,Object.fromEntries([[r[c-5],r[c-3]]]));break;case 66:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"cylinder");break;case 67:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"round");break;case 68:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"diamond");break;case 69:this.$=r[c-5],s.addVertex(r[c-5],r[c-2],"hexagon");break;case 70:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"odd");break;case 71:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"trapezoid");break;case 72:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"inv_trapezoid");break;case 73:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"lean_right");break;case 74:this.$=r[c-3],s.addVertex(r[c-3],r[c-1],"lean_left");break;case 75:this.$=r[c],s.addVertex(r[c]);break;case 76:r[c-1].text=r[c],this.$=r[c-1];break;case 77:case 78:r[c-2].text=r[c-1],this.$=r[c-2];break;case 80:var a=s.destructLink(r[c],r[c-2]);this.$={type:a.type,stroke:a.stroke,length:a.length,text:r[c-1]};break;case 81:a=s.destructLink(r[c]),this.$={type:a.type,stroke:a.stroke,length:a.length};break;case 82:this.$=r[c-1];break;case 83:case 85:this.$={text:r[c],type:"text"};break;case 84:this.$={text:r[c-1].text+""+r[c],type:r[c-1].type};break;case 86:this.$={text:r[c],type:"markdown"};break;case 99:case 155:case 153:this.$=r[c-1]+""+r[c];break;case 100:case 101:this.$=r[c-4],s.addClass(r[c-2],r[c]);break;case 102:this.$=r[c-4],s.setClass(r[c-2],r[c]);break;case 103:case 111:this.$=r[c-1],s.setClickEvent(r[c-1],r[c]);break;case 104:case 112:this.$=r[c-3],s.setClickEvent(r[c-3],r[c-2]),s.setTooltip(r[c-3],r[c]);break;case 105:this.$=r[c-2],s.setClickEvent(r[c-2],r[c-1],r[c]);break;case 106:this.$=r[c-4],s.setClickEvent(r[c-4],r[c-3],r[c-2]),s.setTooltip(r[c-4],r[c]);break;case 107:case 113:this.$=r[c-1],s.setLink(r[c-1],r[c]);break;case 108:case 114:this.$=r[c-3],s.setLink(r[c-3],r[c-2]),s.setTooltip(r[c-3],r[c]);break;case 109:case 115:this.$=r[c-3],s.setLink(r[c-3],r[c-2],r[c]);break;case 110:case 116:this.$=r[c-5],s.setLink(r[c-5],r[c-4],r[c]),s.setTooltip(r[c-5],r[c-2]);break;case 117:this.$=r[c-4],s.addVertex(r[c-2],void 0,void 0,r[c]);break;case 118:case 120:this.$=r[c-4],s.updateLink(r[c-2],r[c]);break;case 119:this.$=r[c-4],s.updateLink([r[c-2]],r[c]);break;case 121:this.$=r[c-8],s.updateLinkInterpolate([r[c-6]],r[c-2]),s.updateLink([r[c-6]],r[c]);break;case 122:this.$=r[c-8],s.updateLinkInterpolate(r[c-6],r[c-2]),s.updateLink(r[c-6],r[c]);break;case 123:this.$=r[c-6],s.updateLinkInterpolate([r[c-4]],r[c]);break;case 124:this.$=r[c-6],s.updateLinkInterpolate(r[c-4],r[c]);break;case 126:case 128:r[c-2].push(r[c]),this.$=r[c-2];break;case 130:this.$=r[c-1]+r[c];break;case 158:this.$="v";break;case 159:this.$="-";break;case 160:this.$={stmt:"dir",value:"TB"};break;case 161:this.$={stmt:"dir",value:"BT"};break;case 162:this.$={stmt:"dir",value:"RL"};break;case 163:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:u,22:s,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:u,22:s,24:i},t(r,n,{17:11}),{7:12,13:[1,13]},{16:14,21:u,22:s,24:i},{16:15,21:u,22:s,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,44:A,46:d,48:p,50:35,51:45,52:y,53:46,55:47,67:E,68:f,88:D,89:k,90:b,91:g,92:_,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,120:x,121:L,122:R,123:I,124:N,125:$,126:O,127:P,128:w,129:U},{8:65,10:[1,66],15:V},t([10,15],[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),{20:[1,69],21:[1,70],22:M,27:68,30:71},t(G,[2,11]),t(G,[2,12]),t(G,[2,13]),t(G,[2,14]),t(G,[2,15]),t(G,[2,16]),{9:73,20:Y,21:K,23:W,49:74,79:78,82:[1,79],83:[1,80]},{9:81,20:Y,21:K,23:W},{9:82,20:Y,21:K,23:W},{9:83,20:Y,21:K,23:W},{9:84,20:Y,21:K,23:W},{9:85,20:Y,21:K,23:W},{9:87,20:Y,21:K,22:[1,86],23:W},t(G,[2,44]),{45:[1,88]},{47:[1,89]},t(G,[2,47]),t(j,[2,54],{30:90,22:M}),{22:[1,91]},{22:[1,92]},{22:[1,93]},{22:[1,94]},{26:H,52:Q,67:z,68:X,85:[1,98],93:q,99:97,100:[1,95],102:[1,96],107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(G,[2,160]),t(G,[2,161]),t(G,[2,162]),t(G,[2,163]),t(ot,[2,55]),t(ot,[2,57],{54:[1,117]}),t(lt,[2,75],{118:130,40:[1,118],52:y,56:[1,119],58:[1,120],60:[1,121],62:[1,122],64:[1,123],66:[1,124],67:E,68:f,70:[1,125],72:[1,126],74:[1,127],75:[1,128],77:[1,129],93:F,97:C,107:B,108:T,111:m,113:S,114:v,124:N,125:$,126:O,127:P,128:w,129:U}),t(ht,[2,152]),t(ht,[2,177]),t(ht,[2,178]),t(ht,[2,179]),t(ht,[2,180]),t(ht,[2,181]),t(ht,[2,182]),t(ht,[2,183]),t(ht,[2,184]),t(ht,[2,185]),t(ht,[2,186]),t(ht,[2,187]),t(ht,[2,188]),t(ht,[2,189]),t(ht,[2,190]),t(ht,[2,191]),t(ht,[2,192]),{9:131,20:Y,21:K,23:W},{11:132,14:[1,133]},t(At,[2,8]),t(r,[2,20]),t(r,[2,26]),t(r,[2,27]),{21:[1,134]},t(dt,[2,34],{30:135,22:M}),t(G,[2,35]),{50:136,51:45,52:y,53:46,55:47,67:E,68:f,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,124:N,125:$,126:O,127:P,128:w,129:U},t(pt,[2,48]),t(pt,[2,49]),t(pt,[2,50]),t(yt,[2,79],{80:137,69:[1,139],81:[1,138]}),{22:Et,24:ft,26:Dt,38:kt,39:140,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t([52,67,68,69,81,93,97,107,108,111,113,114,124,125,126,127,128,129],[2,81]),t(G,[2,36]),t(G,[2,37]),t(G,[2,38]),t(G,[2,39]),t(G,[2,40]),{22:Et,24:ft,26:Dt,38:kt,39:165,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(Ot,n,{17:166}),t(G,[2,45]),t(G,[2,46]),t(j,[2,53],{52:Pt}),{26:H,52:Q,67:z,68:X,93:q,99:168,104:[1,169],107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},{97:[1,170],105:171,107:[1,172]},{26:H,52:Q,67:z,68:X,93:q,97:[1,173],99:174,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},{26:H,52:Q,67:z,68:X,93:q,99:175,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(At,[2,103],{22:[1,176],101:[1,177]}),t(At,[2,107],{22:[1,178]}),t(At,[2,111],{117:101,119:180,22:[1,179],26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,124:st,125:it,126:rt,127:nt,128:ct,129:at}),t(At,[2,113],{22:[1,181]}),t(wt,[2,154]),t(wt,[2,156]),t(wt,[2,157]),t(wt,[2,158]),t(wt,[2,159]),t(Ut,[2,164]),t(Ut,[2,165]),t(Ut,[2,166]),t(Ut,[2,167]),t(Ut,[2,168]),t(Ut,[2,169]),t(Ut,[2,170]),t(Ut,[2,171]),t(Ut,[2,172]),t(Ut,[2,173]),t(Ut,[2,174]),t(Ut,[2,175]),t(Ut,[2,176]),{52:y,55:182,67:E,68:f,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,124:N,125:$,126:O,127:P,128:w,129:U},{22:Et,24:ft,26:Dt,38:kt,39:183,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:184,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:186,42:bt,52:Q,58:[1,185],67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:187,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:188,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:189,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{67:[1,190]},{22:Et,24:ft,26:Dt,38:kt,39:191,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:192,42:bt,52:Q,67:z,68:X,72:[1,193],74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:194,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:195,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:196,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(ht,[2,153]),t(Vt,[2,3]),{8:197,15:V},{15:[2,7]},t(r,[2,28]),t(dt,[2,33]),t(j,[2,51],{30:198,22:M}),t(yt,[2,76],{22:[1,199]}),{22:[1,200]},{22:Et,24:ft,26:Dt,38:kt,39:201,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,74:gt,82:_t,83:[1,202],84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(Ut,[2,83]),t(Ut,[2,85]),t(Ut,[2,86]),t(Ut,[2,142]),t(Ut,[2,143]),t(Ut,[2,144]),t(Ut,[2,145]),t(Ut,[2,146]),t(Ut,[2,147]),t(Ut,[2,148]),t(Ut,[2,149]),t(Ut,[2,150]),t(Ut,[2,151]),t(Ut,[2,87]),t(Ut,[2,88]),t(Ut,[2,89]),t(Ut,[2,90]),t(Ut,[2,91]),t(Ut,[2,92]),t(Ut,[2,93]),t(Ut,[2,94]),t(Ut,[2,95]),t(Ut,[2,96]),t(Ut,[2,97]),{9:205,20:Y,21:K,22:Et,23:W,24:ft,26:Dt,38:kt,40:[1,204],42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,206],43:31,44:A,46:d,48:p,50:35,51:45,52:y,53:46,55:47,67:E,68:f,88:D,89:k,90:b,91:g,92:_,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,120:x,121:L,122:R,123:I,124:N,125:$,126:O,127:P,128:w,129:U},{22:M,30:207},{22:[1,208],26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:180,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:[1,209]},{22:[1,210]},{22:[1,211],108:[1,212]},t(Mt,[2,125]),{22:[1,213]},{22:[1,214],26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:180,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:[1,215],26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:180,124:st,125:it,126:rt,127:nt,128:ct,129:at},{85:[1,216]},t(At,[2,105],{22:[1,217]}),{85:[1,218],103:[1,219]},{85:[1,220]},t(wt,[2,155]),{85:[1,221],103:[1,222]},t(ot,[2,58],{118:130,52:y,67:E,68:f,93:F,97:C,107:B,108:T,111:m,113:S,114:v,124:N,125:$,126:O,127:P,128:w,129:U}),{22:Et,24:ft,26:Dt,38:kt,41:[1,223],42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,57:[1,224],67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:225,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,59:[1,226],67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,61:[1,227],67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,63:[1,228],67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,65:[1,229],67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{68:[1,230]},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,71:[1,231],74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,73:[1,232],74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,39:233,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,41:[1,234],42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,74:gt,76:[1,235],78:[1,236],82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,74:gt,76:[1,238],78:[1,237],82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{9:239,20:Y,21:K,23:W},t(j,[2,52],{52:Pt}),t(yt,[2,78]),t(yt,[2,77]),{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,69:[1,240],74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(yt,[2,80]),t(Ut,[2,84]),{22:Et,24:ft,26:Dt,38:kt,39:241,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(Ot,n,{17:242}),t(G,[2,43]),{51:243,52:y,53:46,55:47,67:E,68:f,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,124:N,125:$,126:O,127:P,128:w,129:U},{22:Gt,67:Yt,68:Kt,88:Wt,98:244,104:jt,107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{22:Gt,67:Yt,68:Kt,88:Wt,98:258,104:jt,107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{22:Gt,67:Yt,68:Kt,88:Wt,98:259,104:jt,106:[1,260],107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{22:Gt,67:Yt,68:Kt,88:Wt,98:261,104:jt,106:[1,262],107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{107:[1,263]},{22:Gt,67:Yt,68:Kt,88:Wt,98:264,104:jt,107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{22:Gt,67:Yt,68:Kt,88:Wt,98:265,104:jt,107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{26:H,52:Q,67:z,68:X,93:q,99:266,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(At,[2,104]),{85:[1,267]},t(At,[2,108],{22:[1,268]}),t(At,[2,109]),t(At,[2,112]),t(At,[2,114],{22:[1,269]}),t(At,[2,115]),t(lt,[2,59]),t(lt,[2,60]),{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,59:[1,270],67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(lt,[2,67]),t(lt,[2,62]),t(lt,[2,63]),t(lt,[2,64]),{67:[1,271]},t(lt,[2,66]),t(lt,[2,68]),{22:Et,24:ft,26:Dt,38:kt,42:bt,52:Q,67:z,68:X,73:[1,272],74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(lt,[2,70]),t(lt,[2,71]),t(lt,[2,73]),t(lt,[2,72]),t(lt,[2,74]),t(Vt,[2,4]),t([22,52,67,68,93,97,107,108,111,113,114,124,125,126,127,128,129],[2,82]),{22:Et,24:ft,26:Dt,38:kt,41:[1,273],42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,274],43:31,44:A,46:d,48:p,50:35,51:45,52:y,53:46,55:47,67:E,68:f,88:D,89:k,90:b,91:g,92:_,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,120:x,121:L,122:R,123:I,124:N,125:$,126:O,127:P,128:w,129:U},t(ot,[2,56]),t(At,[2,117],{108:Jt}),t(te,[2,127],{110:276,22:Gt,67:Yt,68:Kt,88:Wt,104:jt,107:Ht,111:Qt,112:zt,113:Xt,114:qt,115:Zt}),t(ee,[2,129]),t(ee,[2,131]),t(ee,[2,132]),t(ee,[2,133]),t(ee,[2,134]),t(ee,[2,135]),t(ee,[2,136]),t(ee,[2,137]),t(ee,[2,138]),t(ee,[2,139]),t(ee,[2,140]),t(ee,[2,141]),t(At,[2,118],{108:Jt}),t(At,[2,119],{108:Jt}),{22:[1,277]},t(At,[2,120],{108:Jt}),{22:[1,278]},t(Mt,[2,126]),t(At,[2,100],{108:Jt}),t(At,[2,101],{108:Jt}),t(At,[2,102],{117:101,119:180,26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,124:st,125:it,126:rt,127:nt,128:ct,129:at}),t(At,[2,106]),{103:[1,279]},{103:[1,280]},{59:[1,281]},{69:[1,282]},{73:[1,283]},{9:284,20:Y,21:K,23:W},t(G,[2,42]),{22:Gt,67:Yt,68:Kt,88:Wt,104:jt,107:Ht,109:285,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},t(ee,[2,130]),{26:H,52:Q,67:z,68:X,93:q,99:286,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},{26:H,52:Q,67:z,68:X,93:q,99:287,107:Z,108:J,111:tt,113:et,114:ut,117:101,119:99,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(At,[2,110]),t(At,[2,116]),t(lt,[2,61]),{22:Et,24:ft,26:Dt,38:kt,39:288,42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:141,85:Ft,86:Ct,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},t(lt,[2,69]),t(Ot,n,{17:289}),t(te,[2,128],{110:276,22:Gt,67:Yt,68:Kt,88:Wt,104:jt,107:Ht,111:Qt,112:zt,113:Xt,114:qt,115:Zt}),t(At,[2,123],{117:101,119:180,22:[1,290],26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,124:st,125:it,126:rt,127:nt,128:ct,129:at}),t(At,[2,124],{117:101,119:180,22:[1,291],26:H,52:Q,67:z,68:X,93:q,107:Z,108:J,111:tt,113:et,114:ut,124:st,125:it,126:rt,127:nt,128:ct,129:at}),{22:Et,24:ft,26:Dt,38:kt,41:[1,292],42:bt,52:Q,67:z,68:X,74:gt,82:_t,84:203,87:153,88:Bt,89:Tt,90:mt,91:St,92:vt,93:xt,94:Lt,96:144,97:Rt,107:Z,108:J,111:It,113:et,114:ut,115:Nt,116:$t,117:150,124:st,125:it,126:rt,127:nt,128:ct,129:at},{18:18,19:19,20:c,21:a,22:o,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,293],43:31,44:A,46:d,48:p,50:35,51:45,52:y,53:46,55:47,67:E,68:f,88:D,89:k,90:b,91:g,92:_,93:F,97:C,107:B,108:T,111:m,113:S,114:v,118:48,120:x,121:L,122:R,123:I,124:N,125:$,126:O,127:P,128:w,129:U},{22:Gt,67:Yt,68:Kt,88:Wt,98:294,104:jt,107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},{22:Gt,67:Yt,68:Kt,88:Wt,98:295,104:jt,107:Ht,109:245,110:246,111:Qt,112:zt,113:Xt,114:qt,115:Zt},t(lt,[2,65]),t(G,[2,41]),t(At,[2,121],{108:Jt}),t(At,[2,122],{108:Jt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],133:[2,7]},parseError:function(t,e){if(!e.recoverable){var u=new Error(t);throw u.hash=e,u}this.trace(t)},parse:function(t){var e=[0],u=[],s=[null],i=[],r=this.table,n="",c=0,a=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;i.push(d);var p=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,f,D,k,b,g,_,F,C={};;){if(E=e[e.length-1],this.defaultActions[E]?f=this.defaultActions[E]:(null==y&&(F=void 0,"number"!=typeof(F=u.pop()||l.lex()||1)&&(F instanceof Array&&(F=(u=F).pop()),F=this.symbols_[F]||F),y=F),f=r[E]&&r[E][y]),void 0===f||!f.length||!f[0]){var B;for(k in _=[],r[E])this.terminals_[k]&&k>2&&_.push("'"+this.terminals_[k]+"'");B=l.showPosition?"Parse error on line "+(c+1)+":\n"+l.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(B,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:d,expected:_})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(f[0]){case 1:e.push(y),s.push(l.yytext),i.push(l.yylloc),e.push(f[1]),y=null,a=l.yyleng,n=l.yytext,c=l.yylineno,d=l.yylloc;break;case 2:if(b=this.productions_[f[1]][1],C.$=s[s.length-b],C._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},p&&(C._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(D=this.performAction.apply(C,[n,a,c,h.yy,f[1],s,i].concat(o))))return D;b&&(e=e.slice(0,-1*b*2),s=s.slice(0,-1*b),i=i.slice(0,-1*b)),e.push(this.productions_[f[1]][0]),s.push(C.$),i.push(C._$),g=r[e[e.length-2]][e[e.length-1]],e.push(g);break;case 3:return!0}}return!0}},se={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,u=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===s.length?this.yylloc.first_column:0)+s[s.length-u.length].length-u[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var u,s,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],u=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,u,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;re[0].length)){if(e=u,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(u,i[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,u,s){switch(u){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:return this.begin("acc_title"),44;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),46;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 14:case 16:case 25:case 28:case 31:case 34:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("md_string");break;case 13:return"MD_STR";case 15:this.begin("string");break;case 17:return"STR";case 18:return 88;case 19:return 97;case 20:return 89;case 21:return 106;case 22:return 90;case 23:return 91;case 24:this.begin("href");break;case 26:return 102;case 27:this.begin("callbackname");break;case 29:this.popState(),this.begin("callbackargs");break;case 30:return 100;case 32:return 101;case 33:this.begin("click");break;case 35:return 92;case 36:case 37:case 38:return t.lex.firstGraph()&&this.begin("dir"),24;case 39:return 38;case 40:return 42;case 41:case 42:case 43:case 44:return 103;case 45:return this.popState(),25;case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:return this.popState(),26;case 56:return 120;case 57:return 121;case 58:return 122;case 59:return 123;case 60:return 107;case 61:return 113;case 62:return 54;case 63:return 68;case 64:return 52;case 65:return 20;case 66:return 108;case 67:return 128;case 68:case 69:case 70:case 71:return 83;case 72:case 73:case 74:return 82;case 75:return 60;case 76:return 61;case 77:return 62;case 78:return 63;case 79:return 64;case 80:return 65;case 81:return 66;case 82:return 70;case 83:return 71;case 84:return 56;case 85:return 57;case 86:return 111;case 87:return 114;case 88:return 129;case 89:return 126;case 90:return 115;case 91:case 92:return 127;case 93:return 116;case 94:return 74;case 95:return 94;case 96:return"SEP";case 97:return 93;case 98:return 67;case 99:return 76;case 100:return 75;case 101:return 78;case 102:return 77;case 103:return 124;case 104:return 125;case 105:return 69;case 106:return 58;case 107:return 59;case 108:return 40;case 109:return 41;case 110:return 72;case 111:return 73;case 112:return 135;case 113:return 21;case 114:return 22;case 115:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[31,32],inclusive:!1},callbackname:{rules:[28,29,30],inclusive:!1},href:{rules:[25,26],inclusive:!1},click:{rules:[34,35],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[45,46,47,48,49,50,51,52,53,54,55],inclusive:!1},acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},md_string:{rules:[13,14],inclusive:!1},string:{rules:[16,17],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,15,18,19,20,21,22,23,24,27,33,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],inclusive:!0}}};function ie(){this.yy={}}return ue.lexer=se,ie.prototype=ue,ue.Parser=ie,new ie}();r.parser=r;const n=r;let c,a,o=0,l=(0,i.c)(),h={},A=[],d={},p=[],y={},E={},f=0,D=!0,k=[];const b=t=>i.e.sanitizeText(t,l),g=function(t,e,u){i.m.parseDirective(this,t,e,u)},_=function(t){const e=Object.keys(h);for(const u of e)if(h[u].id===t)return h[u].domId;return t},F=function(t,e,u,s,r,n,c={}){let a,A=t;void 0!==A&&0!==A.trim().length&&(void 0===h[A]&&(h[A]={id:A,labelType:"text",domId:"flowchart-"+A+"-"+o,styles:[],classes:[]}),o++,void 0!==e?(l=(0,i.c)(),a=b(e.text.trim()),h[A].labelType=e.type,'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),h[A].text=a):void 0===h[A].text&&(h[A].text=t),void 0!==u&&(h[A].type=u),null!=s&&s.forEach((function(t){h[A].styles.push(t)})),null!=r&&r.forEach((function(t){h[A].classes.push(t)})),void 0!==n&&(h[A].dir=n),void 0===h[A].props?h[A].props=c:void 0!==c&&Object.assign(h[A].props,c))},C=function(t,e,u){const s={start:t,end:e,type:void 0,text:"",labelType:"text"};i.l.info("abc78 Got edge...",s);const r=u.text;void 0!==r&&(s.text=b(r.text.trim()),'"'===s.text[0]&&'"'===s.text[s.text.length-1]&&(s.text=s.text.substring(1,s.text.length-1)),s.labelType=r.type),void 0!==u&&(s.type=u.type,s.stroke=u.stroke,s.length=u.length),A.push(s)},B=function(t,e,u){let s,r;for(i.l.info("addLink (abc78)",t,e,u),s=0;s/)&&(c="LR"),c.match(/.*v/)&&(c="TB"),"TD"===c&&(c="TB")},x=function(t,e){t.split(",").forEach((function(t){let u=t;void 0!==h[u]&&h[u].classes.push(e),void 0!==y[u]&&y[u].classes.push(e)}))},L=function(t,e,u){t.split(",").forEach((function(t){void 0!==h[t]&&(h[t].link=i.u.formatUrl(e,l),h[t].linkTarget=u)})),x(t,"clickable")},R=function(t){return E[t]},I=function(t,e,u){t.split(",").forEach((function(t){!function(t,e,u){let s=_(t);if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof u){r=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,s.Ys)(this).classed("hover",!1)}))};k.push(U);const V=function(t="gen-1"){h={},d={},A=[],k=[U],p=[],y={},f=0,E=[],D=!0,a=t,(0,i.v)()},M=t=>{a=t||"gen-2"},G=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},Y=function(t,e,u){let s=t.text.trim(),r=u.text;t===u&&u.text.match(/\s/)&&(s=void 0);let n=[];const{nodeList:c,dir:o}=function(t){const e={boolean:{},number:{},string:{}},u=[];let s;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(s=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!u.includes(t)&&u.push(t))})),dir:s}}(n.concat.apply(n,e));if(n=c,"gen-1"===a)for(let t=0;t2e3)return;if(j[W]=e,p[e].id===t)return{result:!0,count:0};let s=0,i=1;for(;s=0){const u=H(t,e);if(u.result)return{result:!0,count:i+u.count};i+=u.count}s+=1}return{result:!1,count:i}},Q=function(t){return j[t]},z=function(){W=-1,p.length>0&&H("none",p.length-1)},X=function(){return p},q=()=>!!D&&(D=!1,!0),Z=(t,e)=>{const u=(t=>{const e=t.trim();let u=e.slice(0,-1),s="arrow_open";switch(e.slice(-1)){case"x":s="arrow_cross","x"===e[0]&&(s="double_"+s,u=u.slice(1));break;case">":s="arrow_point","<"===e[0]&&(s="double_"+s,u=u.slice(1));break;case"o":s="arrow_circle","o"===e[0]&&(s="double_"+s,u=u.slice(1))}let i="normal",r=u.length-1;"="===u[0]&&(i="thick"),"~"===u[0]&&(i="invisible");let n=((t,e)=>{const u=e.length;let s=0;for(let t=0;t{let e=t.trim(),u="arrow_open";switch(e[0]){case"<":u="arrow_point",e=e.slice(1);break;case"x":u="arrow_cross",e=e.slice(1);break;case"o":u="arrow_circle",e=e.slice(1)}let s="normal";return e.includes("=")&&(s="thick"),e.includes(".")&&(s="dotted"),{type:u,stroke:s}})(e),s.stroke!==u.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===s.type)s.type=u.type;else{if(s.type!==u.type)return{type:"INVALID",stroke:"INVALID"};s.type="double_"+s.type}return"double_arrow"===s.type&&(s.type="double_arrow_point"),s.length=u.length,s}return u},J=(t,e)=>{let u=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(u=!0)})),u},tt=(t,e)=>{const u=[];return t.nodes.forEach(((s,i)=>{J(e,s)||u.push(t.nodes[i])})),{nodes:u}},et={firstGraph:q},ut={parseDirective:g,defaultConfig:()=>i.G.flowchart,setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,addVertex:F,lookUpDomId:_,addLink:B,updateLinkInterpolate:T,updateLink:m,addClass:S,setDirection:v,setClass:x,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(E["gen-1"===a?_(t):t]=b(e))}))},getTooltip:R,setClickEvent:I,setLink:L,bindFunctions:N,getDirection:$,getVertices:O,getEdges:P,getClasses:w,clear:V,setGen:M,defaultStyle:G,addSubGraph:Y,getDepthFirstPos:Q,indexNodes:z,getSubGraphs:X,destructLink:Z,lex:et,exists:J,makeUniq:tt,setDiagramTitle:i.r,getDiagramTitle:i.t},st=Object.freeze(Object.defineProperty({__proto__:null,addClass:S,addLink:B,addSingleLink:C,addSubGraph:Y,addVertex:F,bindFunctions:N,clear:V,default:ut,defaultStyle:G,destructLink:Z,firstGraph:q,getClasses:w,getDepthFirstPos:Q,getDirection:$,getEdges:P,getSubGraphs:X,getTooltip:R,getVertices:O,indexNodes:z,lex:et,lookUpDomId:_,parseDirective:g,setClass:x,setClickEvent:I,setDirection:v,setGen:M,setLink:L,updateLink:m,updateLinkInterpolate:T},Symbol.toStringTag,{value:"Module"}))}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/851-43fe3c07.chunk.min.js b/docs/themes/geekdoc/static/js/851-43fe3c07.chunk.min.js new file mode 100644 index 000000000..436219c16 --- /dev/null +++ b/docs/themes/geekdoc/static/js/851-43fe3c07.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[851],{9851:function(t,e,i){i.d(e,{diagram:function(){return p}});var n=i(5103),s=i(5740),r=(i(7484),i(7967),i(7856),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,4],i=[1,5],n=[1,6],s=[1,7],r=[1,9],c=[1,11,13,15,17,19,20,26,27,28,29],a=[2,5],l=[1,6,11,13,15,17,19,20,26,27,28,29],o=[26,27,28],h=[2,8],u=[1,18],p=[1,19],y=[1,20],d=[1,21],g=[1,22],f=[1,23],_=[1,28],m=[6,26,27,28,29],v={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(t,e,i,n,s,r,c){var a=r.length-1;switch(s){case 4:n.setShowData(!0);break;case 7:this.$=r[a-1];break;case 9:n.addSection(r[a-1],n.cleanupValue(r[a]));break;case 10:this.$=r[a].trim(),n.setDiagramTitle(this.$);break;case 11:this.$=r[a].trim(),n.setAccTitle(this.$);break;case 12:case 13:this.$=r[a].trim(),n.setAccDescription(this.$);break;case 14:n.addSection(r[a].substr(8)),this.$=r[a].substr(8);break;case 21:n.parseDirective("%%{","open_directive");break;case 22:n.parseDirective(r[a],"type_directive");break;case 23:r[a]=r[a].trim().replace(/'/g,'"'),n.parseDirective(r[a],"arg_directive");break;case 24:n.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},{3:11,4:2,5:3,6:e,21:8,26:i,27:n,28:s,29:r},t(c,a,{7:12,8:[1,13]}),t(l,[2,18]),t(l,[2,19]),t(l,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(o,h,{21:8,9:16,10:17,5:24,1:[2,3],11:u,13:p,15:y,17:d,19:g,20:f,29:r}),t(c,a,{7:25}),{23:26,24:[1,27],32:_},t([24,32],[2,22]),t(c,[2,6]),{4:29,26:i,27:n,28:s},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(o,[2,13]),t(o,[2,14]),t(o,[2,15]),t(o,h,{21:8,9:16,10:17,5:24,1:[2,4],11:u,13:p,15:y,17:d,19:g,20:f,29:r}),t(m,[2,16]),{25:34,31:[1,35]},t(m,[2,24]),t(c,[2,7]),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),t(o,[2,12]),{23:36,32:_},{32:[2,23]},t(m,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],s=[],r=this.table,c="",a=0,l=0,o=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(u.yy[p]=this.yy[p]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var y=h.yylloc;s.push(y);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,f,_,m,v,b,k,x,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?_=this.defaultActions[f]:(null==g&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),g=S),_=r[f]&&r[f][g]),void 0===_||!_.length||!_[0]){var E;for(v in x=[],r[f])this.terminals_[v]&&v>2&&x.push("'"+this.terminals_[v]+"'");E=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:y,expected:x})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+g);switch(_[0]){case 1:e.push(g),n.push(h.yytext),s.push(h.yylloc),e.push(_[1]),g=null,l=h.yyleng,c=h.yytext,a=h.yylineno,y=h.yylloc;break;case 2:if(b=this.productions_[_[1]][1],w.$=n[n.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[c,l,a,u.yy,_[1],n,s].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[_[1]][0]),n.push(w.$),s.push(w._$),k=r[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0}},b={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function k(){this.yy={}}return v.lexer=b,k.prototype=v,v.Parser=k,new k}());r.parser=r;const c=r;let a={},l=!1;const o={parseDirective:function(t,e,i){n.m.parseDirective(this,t,e,i)},getConfig:()=>(0,n.c)().pie,addSection:function(t,e){t=n.e.sanitizeText(t,(0,n.c)()),void 0===a[t]&&(a[t]=e,n.l.debug("Added new section :",t))},getSections:()=>a,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){a={},l=!1,(0,n.v)()},setAccTitle:n.s,getAccTitle:n.g,setDiagramTitle:n.r,getDiagramTitle:n.t,setShowData:function(t){l=t},getShowData:function(){return l},getAccDescription:n.a,setAccDescription:n.b};let h,u=(0,n.c)();const p={parser:c,db:o,renderer:{draw:(t,e,i,r)=>{var c;try{u=(0,n.c)(),n.l.debug("Rendering info diagram\n"+t);const i=(0,n.c)().securityLevel;let b;"sandbox"===i&&(b=(0,s.Ys)("#i"+e));const k="sandbox"===i?(0,s.Ys)(b.nodes()[0].contentDocument.body):(0,s.Ys)("body"),x="sandbox"===i?b.nodes()[0].contentDocument:document;r.db.clear(),r.parser.parse(t),n.l.debug("Parsed info diagram");const S=x.getElementById(e);h=S.parentElement.offsetWidth,void 0===h&&(h=1200),void 0!==u.useWidth&&(h=u.useWidth),void 0!==u.pie.useWidth&&(h=u.pie.useWidth);const w=k.select("#"+e);(0,n.i)(w,450,h,u.pie.useMaxWidth),S.setAttribute("viewBox","0 0 "+h+" 450");var a=Math.min(h,450)/2-40,l=w.append("g").attr("transform","translate("+h/2+",225)"),o=r.db.getSections(),p=0;Object.keys(o).forEach((function(t){p+=o[t]}));const E=u.themeVariables;var y=[E.pie1,E.pie2,E.pie3,E.pie4,E.pie5,E.pie6,E.pie7,E.pie8,E.pie9,E.pie10,E.pie11,E.pie12];const D=(null==(c=u.pie)?void 0:c.textPosition)??.75;let[$]=(0,n.B)(E.pieOuterStrokeWidth);$??($=2);var d=(0,s.PKp)().range(y),g=Object.entries(o).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),f=(0,s.ve8)().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(g),_=(0,s.Nb1)().innerRadius(0).outerRadius(a),m=(0,s.Nb1)().innerRadius(a*D).outerRadius(a*D);l.append("circle").attr("cx",0).attr("cy",0).attr("r",a+$/2).attr("class","pieOuterCircle"),l.selectAll("mySlices").data(f).enter().append("path").attr("d",_).attr("fill",(function(t){return d(t.data.name)})).attr("class","pieCircle"),l.selectAll("mySlices").data(f).enter().append("text").text((function(t){return(t.data.value/p*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+m.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),l.append("text").text(r.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var v=l.selectAll(".legend").data(d.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*d.domain().length/2)+")"}));v.append("rect").attr("width",18).attr("height",18).style("fill",d).style("stroke",d),v.data(f).append("text").attr("x",22).attr("y",14).text((function(t){return r.db.getShowData()||u.showData||u.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(t){n.l.error("Error while rendering info diagram"),n.l.error(t)}}},styles:t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/861-619d670c.chunk.min.js b/docs/themes/geekdoc/static/js/861-619d670c.chunk.min.js new file mode 100644 index 000000000..64087d58a --- /dev/null +++ b/docs/themes/geekdoc/static/js/861-619d670c.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[861],{2861:function(t,e,a){a.d(e,{diagram:function(){return g}});var r=a(5321),n=a(5740),i=a(9451),d=a(5625),o=a(5103),s=a(8237);a(7484),a(7967),a(7856);let l={};const p=function(t){const e=Object.entries(l).find((e=>e[1].label===t));if(e)return e[0]},c={draw:function(t,e,a,r){const c=(0,o.c)().class;l={},o.l.info("Rendering diagram "+t);const g=(0,o.c)().securityLevel;let h;"sandbox"===g&&(h=(0,n.Ys)("#i"+e));const f="sandbox"===g?(0,n.Ys)(h.nodes()[0].contentDocument.body):(0,n.Ys)("body"),u=f.select(`[id='${e}']`);var x;(x=u).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),x.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),x.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),x.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),x.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),x.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),x.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),x.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");const y=new d.k({multigraph:!0});y.setGraph({isMultiGraph:!0}),y.setDefaultEdgeLabel((function(){return{}}));const b=r.db.getClasses(),m=Object.keys(b);for(const t of m){const e=b[t],a=s.s.drawClass(u,e,c,r);l[a.id]=a,y.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach((function(t){o.l.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),y.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")})),r.db.getNotes().forEach((function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=s.s.drawNote(u,t,c,r);l[e.id]=e,y.setNode(e.id,e),t.class&&t.class in b&&y.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,i.bK)(y),y.nodes().forEach((function(t){void 0!==t&&void 0!==y.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(y.node(t))),f.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(y.node(t).x-y.node(t).width/2)+","+(y.node(t).y-y.node(t).height/2)+" )"))})),y.edges().forEach((function(t){void 0!==t&&void 0!==y.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(y.edge(t))),s.s.drawEdge(u,y.edge(t),y.edge(t).relation,c,r))}));const w=u.node().getBBox(),k=w.width+40,E=w.height+40;(0,o.i)(u,E,k,c.useMaxWidth);const L=`${w.x-20} ${w.y-20} ${k} ${E}`;o.l.debug(`viewBox ${L}`),u.attr("viewBox",L)}},g={parser:r.p,db:r.d,renderer:c,styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}},8237:function(t,e,a){a.d(e,{p:function(){return o},s:function(){return p}});var r=a(5740),n=a(5103);let i=0;const d=function(t){let e=t.id;return t.type&&(e+="<"+t.type+">"),e},o=function(t){let e="",a="",r="",i="",d=t.substring(0,1),o=t.substring(t.length-1,t.length);d.match(/[#+~-]/)&&(i=d);let s=/[\s\w)~]/;o.match(s)||(a=l(o));const p=""===i?0:1;let c=""===a?t.length:t.length-1;const g=(t=t.substring(p,c)).indexOf("("),h=t.indexOf(")");if(g>1&&h>g&&h<=t.length){let d=t.substring(0,g).trim();const o=t.substring(g+1,h);if(e=i+d+"("+(0,n.x)(o.trim())+")",h0&&(k+=e.cssClasses.join(" "));const E=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*a.padding).attr("height",w.height+a.padding+.5*a.dividerMargin).attr("class",k).node().getBBox().width;return p.node().childNodes.forEach((function(t){t.setAttribute("x",(E-t.getBBox().width)/2)})),e.tooltip&&p.insert("title").text(e.tooltip),u.attr("x2",E),b.attr("x2",E),o.width=E,o.height=w.height+a.padding+.5*a.dividerMargin,o},drawEdge:function(t,e,a,d,o){const s=function(t){switch(t){case o.db.relationType.AGGREGATION:return"aggregation";case o.db.relationType.EXTENSION:return"extension";case o.db.relationType.COMPOSITION:return"composition";case o.db.relationType.DEPENDENCY:return"dependency";case o.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const l=e.points,p=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),c=t.append("path").attr("d",p(l)).attr("id","edge"+i).attr("class","relation");let g,h,f="";d.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==a.relation.lineType&&c.attr("class","relation dashed-line"),10==a.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==a.relation.type1&&c.attr("marker-start","url("+f+"#"+s(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&c.attr("marker-end","url("+f+"#"+s(a.relation.type2)+"End)");const u=e.points.length;let x,y,b,m,w=n.u.calcLabelPosition(e.points);if(g=w.x,h=w.y,u%2!=0&&u>1){let t=n.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=n.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[u-1]);n.l.debug("cardinality_1_point "+JSON.stringify(t)),n.l.debug("cardinality_2_point "+JSON.stringify(r)),x=t.x,y=t.y,b=r.x,m=r.y}if(void 0!==a.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",g).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=r;const n=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-d.padding/2).attr("y",n.y-d.padding/2).attr("width",n.width+d.padding).attr("height",n.height+d.padding)}n.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",y).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",b).attr("y",m).attr("fill","black").attr("font-size","6").text(a.relationTitle2),i++},drawNote:function(t,e,a,r){n.l.debug("Rendering note ",e,a);const i=e.id,d={id:i,text:e.text,width:0,height:0},o=t.append("g").attr("id",i).attr("class","classGroup");let s=o.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const l=JSON.parse(`"${e.text}"`).split("\n");l.forEach((function(t){n.l.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const p=o.node().getBBox(),c=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(c-t.getBBox().width)/2)})),d.width=c,d.height=p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin,d},parseMember:o}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/880-5781b8a1.chunk.min.js b/docs/themes/geekdoc/static/js/880-5781b8a1.chunk.min.js new file mode 100644 index 000000000..1a8c7e10e --- /dev/null +++ b/docs/themes/geekdoc/static/js/880-5781b8a1.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[880],{5880:function(t,i,n){n.d(i,{diagram:function(){return h}});var e=n(5740),s=n(5103),r=(n(7484),n(7967),n(7856),function(){var t=function(t,i,n,e){for(n=n||{},e=t.length;e--;n[t[e]]=i);return n},i=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,i,n,e,s,r,o){switch(r.length,s){case 1:return e;case 4:break;case 6:e.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(!i.recoverable){var n=new Error(t);throw n.hash=i,n}this.trace(t)},parse:function(t){var i=[0],n=[],e=[null],s=[],r=this.table,o="",h=0,l=0,c=s.slice.call(arguments,1),a=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);a.setInput(t,y.yy),y.yy.lexer=a,y.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var p=a.yylloc;s.push(p);var f=a.options&&a.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,m,d,k,x,b,v,w,I={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==g&&(w=void 0,"number"!=typeof(w=n.pop()||a.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=this.symbols_[w]||w),g=w),m=r[_]&&r[_][g]),void 0===m||!m.length||!m[0]){var S;for(k in v=[],r[_])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");S=a.showPosition?"Parse error on line "+(h+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(S,{text:a.match,token:this.terminals_[g]||g,line:a.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(m[0]){case 1:i.push(g),e.push(a.yytext),s.push(a.yylloc),i.push(m[1]),g=null,l=a.yyleng,o=a.yytext,h=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[m[1]][1],I.$=e[e.length-x],I._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},f&&(I._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(d=this.performAction.apply(I,[o,l,h,y.yy,m[1],e,s].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),e=e.slice(0,-1*x),s=s.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),e.push(I.$),s.push(I._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},e={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var e=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===e.length?this.yylloc.first_column:0)+e[e.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,e,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(e=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;ri[0].length)){if(i=n,e=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,s[e]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,n,e){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function s(){this.yy={}}return n.lexer=e,s.prototype=n,n.Parser=s,new s}());r.parser=r;let o=false;const h={parser:r,db:{clear:()=>{o=false},setInfo:t=>{o=t},getInfo:()=>o},renderer:{draw:(t,i,n)=>{try{s.l.debug("rendering info diagram\n"+t);const{securityLevel:r}=(0,s.c)();let o,h;"sandbox"===r&&(o=(0,e.Ys)("#i"+i),h=o.nodes()[0].contentDocument);const l=(void 0!==o&&null!=h?(0,e.Ys)(h):(0,e.Ys)("body")).select("#"+i);l.attr("height",100),l.attr("width",400),l.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n)}catch(t){s.l.error("error while rendering info diagram",t)}}}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/902-7a89ddf4.chunk.min.js b/docs/themes/geekdoc/static/js/902-7a89ddf4.chunk.min.js new file mode 100644 index 000000000..e0784ab26 --- /dev/null +++ b/docs/themes/geekdoc/static/js/902-7a89ddf4.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[902],{2902:function(t,e,i){i.d(e,{D:function(){return l},S:function(){return c},a:function(){return h},b:function(){return a},c:function(){return o},d:function(){return B},p:function(){return r},s:function(){return F}});var s=i(5103),n=function(){var t=function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},e=[1,2],i=[1,3],s=[1,5],n=[1,7],r=[2,5],o=[1,15],a=[1,17],c=[1,21],l=[1,22],h=[1,23],u=[1,24],d=[1,37],p=[1,25],y=[1,26],f=[1,27],g=[1,28],m=[1,29],_=[1,32],S=[1,33],k=[1,34],T=[1,35],b=[1,36],E=[1,39],v=[1,40],x=[1,41],D=[1,42],C=[1,38],$=[1,45],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],L=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],I=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],N={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(t,e,i,s,n,r,o){var a=r.length-1;switch(n){case 4:return s.setRootDoc(r[a]),r[a];case 5:this.$=[];break;case 6:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 7:case 8:case 12:this.$=r[a];break;case 9:this.$="nl";break;case 13:const t=r[a-1];t.description=s.trimColon(r[a]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 15:const e=s.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 19:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 20:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 21:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 22:this.$={stmt:"state",id:r[a],type:"fork"};break;case 23:this.$={stmt:"state",id:r[a],type:"join"};break;case 24:this.$={stmt:"state",id:r[a],type:"choice"};break;case 25:this.$={stmt:"state",id:s.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 30:this.$=r[a].trim(),s.setAccTitle(this.$);break;case 31:case 32:this.$=r[a].trim(),s.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 35:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 38:s.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:s.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:s.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:s.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""};break;case 50:s.parseDirective("%%{","open_directive");break;case 51:s.parseDirective(r[a],"type_directive");break;case 52:r[a]=r[a].trim().replace(/'/g,'"'),s.parseDirective(r[a],"arg_directive");break;case 53:s.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:i,6:4,7:s,45:6,60:n},{1:[3]},{3:8,4:e,5:i,6:4,7:s,45:6,60:n},{3:9,4:e,5:i,6:4,7:s,45:6,60:n},{3:10,4:e,5:i,6:4,7:s,45:6,60:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],r,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},{47:43,48:[1,44],63:$},t([48,63],[2,51]),t(A,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:l,19:h,22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,47],15:[1,48]}),t(A,[2,16]),{18:[1,49]},t(A,[2,18],{20:[1,50]}),{23:[1,51]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(A,[2,28]),t(A,[2,29]),{34:[1,56]},{36:[1,57]},t(A,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(L,[2,44],{57:[1,61]}),t(L,[2,45],{57:[1,62]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(I,[2,36]),{49:63,62:[1,64]},t(I,[2,53]),t(A,[2,7]),t(A,[2,13]),{13:65,24:d,56:C},t(A,[2,17]),t(O,r,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(A,[2,30]),t(A,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:$},{63:[2,52]},t(A,[2,14],{14:[1,76]}),{4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,21:[1,77],22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(A,[2,33]),t(A,[2,34]),t(A,[2,35]),t(L,[2,46]),t(L,[2,47]),t(I,[2,37]),t(A,[2,15]),t(A,[2,19]),t(O,r,{8:81}),t(A,[2,26]),t(A,[2,27]),{4:o,5:a,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:l,19:h,21:[1,82],22:u,24:d,25:p,26:y,27:f,28:g,29:m,32:31,33:_,35:S,37:k,38:T,42:b,45:6,50:E,51:v,52:x,53:D,56:C,60:n},t(A,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],s=[null],n=[],r=this.table,o="",a=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;n.push(p);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,m,_,S,k,T,b,E,v={};;){if(g=e[e.length-1],this.defaultActions[g]?m=this.defaultActions[g]:(null==f&&(E=void 0,"number"!=typeof(E=i.pop()||h.lex()||1)&&(E instanceof Array&&(E=(i=E).pop()),E=this.symbols_[E]||E),f=E),m=r[g]&&r[g][f]),void 0===m||!m.length||!m[0]){var x;for(S in b=[],r[g])this.terminals_[S]&&S>2&&b.push("'"+this.terminals_[S]+"'");x=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(x,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:b})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(m[0]){case 1:e.push(f),s.push(h.yytext),n.push(h.yylloc),e.push(m[1]),f=null,c=h.yyleng,o=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(k=this.productions_[m[1]][1],v.$=s[s.length-k],v._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},y&&(v._$.range=[n[n.length-(k||1)].range[0],n[n.length-1].range[1]]),void 0!==(_=this.performAction.apply(v,[o,c,a,u.yy,m[1],s,n].concat(l))))return _;k&&(e=e.slice(0,-1*k*2),s=s.slice(0,-1*k),n=n.slice(0,-1*k)),e.push(this.productions_[m[1]][0]),s.push(v.$),n.push(v._$),T=r[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0}},R={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;re[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,s){switch(i){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};function w(){this.yy={}}return N.lexer=R,w.prototype=N,N.Parser=w,new w}();n.parser=n;const r=n,o="TB",a="state",c="relation",l="default",h="divider",u="[*]",d="start",p=u,y="color",f="fill";let g="LR",m=[],_={},S={root:{relations:[],states:{},documents:{}}},k=S.root,T=0,b=0;const E=t=>JSON.parse(JSON.stringify(t)),v=(t,e,i)=>{if(e.stmt===c)v(t,e.state1,!0),v(t,e.state2,!1);else if(e.stmt===a&&("[*]"===e.id?(e.id=i?t.id+"_start":t.id+"_end",e.start=i):e.id=e.id.trim()),e.doc){const t=[];let i,n=[];for(i=0;i0&&n.length>0){const i={stmt:a,id:(0,s.F)(),type:"divider",doc:E(n)};t.push(E(i)),e.doc=t}e.doc.forEach((t=>v(e,t,!0)))}},x=function(t,e=l,i=null,n=null,r=null,o=null,a=null,c=null){const h=null==t?void 0:t.trim();void 0===k.states[h]?(s.l.info("Adding state ",h,n),k.states[h]={id:h,descriptions:[],type:e,doc:i,note:r,classes:[],styles:[],textStyles:[]}):(k.states[h].doc||(k.states[h].doc=i),k.states[h].type||(k.states[h].type=e)),n&&(s.l.info("Setting state description",h,n),"string"==typeof n&&I(h,n.trim()),"object"==typeof n&&n.forEach((t=>I(h,t.trim())))),r&&(k.states[h].note=r,k.states[h].note.text=s.e.sanitizeText(k.states[h].note.text,(0,s.c)())),o&&(s.l.info("Setting state classes",h,o),("string"==typeof o?[o]:o).forEach((t=>N(h,t.trim())))),a&&(s.l.info("Setting state styles",h,a),("string"==typeof a?[a]:a).forEach((t=>R(h,t.trim())))),c&&(s.l.info("Setting state styles",h,a),("string"==typeof c?[c]:c).forEach((t=>w(h,t.trim()))))},D=function(t){S={root:{relations:[],states:{},documents:{}}},k=S.root,T=0,_={},t||(0,s.v)()},C=function(t){return k.states[t]};function $(t=""){let e=t;return t===u&&(T++,e=`${d}${T}`),e}function A(t="",e=l){return t===u?d:e}const L=function(t,e,i){if("object"==typeof t)!function(t,e,i){let n=$(t.id.trim()),r=A(t.id.trim(),t.type),o=$(e.id.trim()),a=A(e.id.trim(),e.type);x(n,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),x(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),k.relations.push({id1:n,id2:o,relationTitle:s.e.sanitizeText(i,(0,s.c)())})}(t,e,i);else{const n=$(t.trim()),r=A(t),o=function(t=""){let e=t;return t===p&&(T++,e=`end${T}`),e}(e.trim()),a=function(t="",e=l){return t===p?"end":e}(e);x(n,r),x(o,a),k.relations.push({id1:n,id2:o,title:s.e.sanitizeText(i,(0,s.c)())})}},I=function(t,e){const i=k.states[t],n=e.startsWith(":")?e.replace(":","").trim():e;i.descriptions.push(s.e.sanitizeText(n,(0,s.c)()))},O=function(t,e=""){void 0===_[t]&&(_[t]={id:t,styles:[],textStyles:[]});const i=_[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(y)){const t=e.replace(f,"bgFill").replace(y,f);i.textStyles.push(t)}i.styles.push(e)}))},N=function(t,e){t.split(",").forEach((function(t){let i=C(t);if(void 0===i){const e=t.trim();x(e),i=C(e)}i.classes.push(e)}))},R=function(t,e){const i=C(t);void 0!==i&&i.textStyles.push(e)},w=function(t,e){const i=C(t);void 0!==i&&i.textStyles.push(e)},B={parseDirective:function(t,e,i){s.m.parseDirective(this,t,e,i)},getConfig:()=>(0,s.c)().state,addState:x,clear:D,getState:C,getStates:function(){return k.states},getRelations:function(){return k.relations},getClasses:function(){return _},getDirection:()=>g,addRelation:L,getDividerId:()=>(b++,"divider-id-"+b),setDirection:t=>{g=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){s.l.info("Documents = ",S)},getRootDoc:()=>m,setRootDoc:t=>{s.l.info("Setting root doc",t),m=t},getRootDocV2:()=>(v({id:"root"},{id:"root",doc:m},!0),{id:"root",doc:m}),extract:t=>{let e;e=t.doc?t.doc:t,s.l.info(e),D(!0),s.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case a:x(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case c:L(t.state1,t.state2,t.description);break;case"classDef":O(t.id.trim(),t.classes);break;case"applyClass":N(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:s.g,setAccTitle:s.s,getAccDescription:s.a,setAccDescription:s.b,addStyleClass:O,setCssClass:N,addDescription:I,setDiagramTitle:s.r,getDiagramTitle:s.t},F=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/968-bb8c6ba1.chunk.min.js b/docs/themes/geekdoc/static/js/968-bb8c6ba1.chunk.min.js new file mode 100644 index 000000000..dd9d39a99 --- /dev/null +++ b/docs/themes/geekdoc/static/js/968-bb8c6ba1.chunk.min.js @@ -0,0 +1,2 @@ +/*! For license information please see 968-bb8c6ba1.chunk.min.js.LICENSE.txt */ +(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[968],{4182:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=i},function(e,t,n){"use strict";var r=n(0).FDLayoutEdge;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){"use strict";var r=n(0).LGraph;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){"use strict";var r=n(0).LGraphManager;function i(e){r.call(this,e)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){"use strict";var r=n(0).FDLayoutNode,i=n(0).IMath;function a(e,t,n,i){r.call(this,e,t,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var e=this.graphManager.getLayout();this.displacementX=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),e.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},a.prototype.propogateDisplacementToChildren=function(e,t){for(var n,r=this.getChild().getNodes(),i=0;i0)this.positionNodesRadially(e);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),t=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(t),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var e=this.graphManager.getAllNodes(),t={},n=0;n1)for(s=0;sr&&(r=Math.floor(o.y)),a=Math.floor(o.x+l.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(c.WORLD_CENTER_X-o.x/2,c.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(e,t,n){var r=Math.max(this.maxDiagonalInTree(e),l.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(t,null,0,359,0,r);var i=v.calculateBounds(e),a=new y;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o1;){var y=v[0];v.splice(0,1);var b=c.indexOf(y);b>=0&&c.splice(b,1),g--,h--}d=null!=t?(c.indexOf(v[0])+1)%g:0;for(var x=Math.abs(r-n)/h,w=d;p!=h;w=++w%g){var E=c[w].getOtherEnd(e);if(E!=t){var _=(n+p*x)%360,T=(_+x)%360;m.branchRadialLayout(E,e,_,T,i+a,a),p++}}},m.maxDiagonalInTree=function(e){for(var t=g.MIN_VALUE,n=0;nt&&(t=r)}return t},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var e=this,t={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i1){var r="DummyCompound_"+n;e.memberGroups[r]=t[n];var i=t[n][0].getParent(),a=new o(e.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,e.idToDummyNode[r]=a;var s=e.getGraphManager().add(e.newGraph(),a),l=i.getChild();l.add(a);for(var u=0;u=0;e--){var t=this.compoundOrder[e],n=t.id,r=t.paddingLeft,i=t.paddingTop;this.adjustLocations(this.tiledMemberPack[n],t.rect.x,t.rect.y,r,i)}},m.prototype.repopulateZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack;Object.keys(t).forEach((function(n){var r=e.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;e.adjustLocations(t[n],r.rect.x,r.rect.y,i,a)}))},m.prototype.getToBeTiled=function(e){var t=e.id;if(null!=this.toBeTiled[t])return this.toBeTiled[t];var n=e.getChild();if(null==n)return this.toBeTiled[t]=!1,!1;for(var r=n.getNodes(),i=0;i0)return this.toBeTiled[t]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[t]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[t]=!0,!0},m.prototype.getNodeDegree=function(e){e.id;for(var t=e.getEdges(),n=0,r=0;rl&&(l=c.rect.height)}n+=l+e.verticalPadding}},m.prototype.tileCompoundMembers=function(e,t){var n=this;this.tiledMemberPack=[],Object.keys(e).forEach((function(r){var i=t[r];n.tiledMemberPack[r]=n.tileNodes(e[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},m.prototype.tileNodes=function(e,t){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:t,verticalPadding:l.TILING_PADDING_VERTICAL,horizontalPadding:l.TILING_PADDING_HORIZONTAL};e.sort((function(e,t){return e.rect.width*e.rect.height>t.rect.width*t.rect.height?-1:e.rect.width*e.rect.height0&&(a+=e.horizontalPadding),e.rowWidth[n]=a,e.width0&&(o+=e.verticalPadding);var s=0;o>e.rowHeight[n]&&(s=e.rowHeight[n],e.rowHeight[n]=o,s=e.rowHeight[n]-s),e.height+=s,e.rows[n].push(t)},m.prototype.getShortestRowIndex=function(e){for(var t=-1,n=Number.MAX_VALUE,r=0;rn&&(t=r,n=e.rowWidth[r]);return t},m.prototype.canAddHorizontal=function(e,t,n){var r=this.getShortestRowIndex(e);if(r<0)return!0;var i=e.rowWidth[r];if(i+e.horizontalPadding+t<=e.width)return!0;var a,o,s=0;return e.rowHeight[r]0&&(s=n+e.verticalPadding-e.rowHeight[r]),a=e.width-i>=t+e.horizontalPadding?(e.height+s)/(i+t+e.horizontalPadding):(e.height+s)/e.width,s=n+e.verticalPadding,(o=e.widtha&&t!=n){r.splice(-1,1),e.rows[n].push(i),e.rowWidth[t]=e.rowWidth[t]-a,e.rowWidth[n]=e.rowWidth[n]+a,e.width=e.rowWidth[instance.getLongestRowIndex(e)];for(var o=Number.MIN_VALUE,s=0;so&&(o=r[s].height);t>0&&(o+=e.verticalPadding);var l=e.rowHeight[t]+e.rowHeight[n];e.rowHeight[t]=o,e.rowHeight[n]0)for(var c=i;c<=a;c++)l[0]+=this.grid[c][o-1].length+this.grid[c][o].length-1;if(a0)for(c=o;c<=s;c++)l[3]+=this.grid[i-1][c].length+this.grid[i][c].length-1;for(var h,d,p=g.MAX_VALUE,f=0;f0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var p=function(e){e("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&p(cytoscape),e.exports=p}])},e.exports=r(n(4182))},1377:function(e,t,n){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:0},z=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(e)||function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+R+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,d=2*i-h;o=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[o,s,l,a]}return t}(e)},Y={transparent:[0,0,0,0],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],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],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],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]},X=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&e-u>=a}function f(){var e=$();if(g(e))return v(e);s=setTimeout(f,function(e){var n=t-(e-l);return h?me(n,a-(e-u)):n}(e))}function v(e){return s=void 0,d&&r?p(e):(r=i=void 0,o)}function y(){var e=$(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(f,t),c?p(e):o}(l);if(h)return clearTimeout(s),s=setTimeout(f,t),p(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=ve(t)||0,U(n)&&(c=!!n.leading,a=(h="maxWait"in n)?ye(ve(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v($())},y},xe=l?l.performance:null,we=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},Ee=function(){if(l){if(l.requestAnimationFrame)return function(e){l.requestAnimationFrame(e)};if(l.mozRequestAnimationFrame)return function(e){l.mozRequestAnimationFrame(e)};if(l.webkitRequestAnimationFrame)return function(e){l.webkitRequestAnimationFrame(e)};if(l.msRequestAnimationFrame)return function(e){l.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(we())}),1e3/60)}}(),_e=function(e){return Ee(e)},Te=we,De=9261,Ce=5381,Ne=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De;!(t=e.next()).done;)n=65599*n+t.value|0;return n},Ae=function(e){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:De)+e|0},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ce;return(t<<5)+t+e|0},ke=function(e){return 2097152*e[0]+e[1]},Se=function(e,t){return[Ae(e[0],t[0]),Le(e[1],t[1])]},Ie=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return Ne({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},Qe=function(e){e.splice(0,e.length)},Je=function(e,t,n){return n&&(t=S(n,t)),e[t]},et=function(e,t,n,r){n&&(t=S(n,t)),e[t]=r},tt="undefined"!=typeof Map?Map:function(){function e(){t(this,e),this._obj={}}return i(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),nt=function(){function e(n){if(t(this,e),this._obj=Object.create(null),this.size=0,null!=n){var r;r=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var i=0;i2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&T(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new rt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];y(t.classes)?l=t.classes:f(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);in;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;af;0<=f?++d:--d)v.push(a(e,r));return v},g=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},f=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i0;){var _=b.pop(),T=v(_),D=_.id();if(h[D]=T,T!==1/0)for(var C=_.neighborhood().intersect(p),N=0;N0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},ht={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t0;){if(l=v.pop(),u=l.id(),y.delete(u),w++,u===d){for(var E=[],_=i,T=d,D=b[T];E.unshift(_),null!=D&&E.unshift(D),null!=(_=m[T]);)D=b[T=_.id()];return{found:!0,distance:p[u],path:this.spawn(E),steps:w}}f[u]=!0;for(var C=l._private.edges,N=0;NN&&(p[C]=N,m[C]=D,b[C]=w),!i){var A=D*u+T;!i&&p[A]>N&&(p[A]=N,m[A]=T,b[A]=w)}}}for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=b(e);;){if(null==i)return t.spawn();var o=m(i),l=o.edge,u=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=l&&r.unshift(l),i=u}return s.spawn(r)},hasNegativeWeightCycle:g,negativeWeightCycles:v}}},mt=Math.sqrt(2),bt=function(e,t,n){0===n.length&&Ve("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===o&&t[d]===s||t[h]===s&&t[d]===o)&&l.splice(u,1)}for(var p=0;pr;){var i=Math.floor(Math.random()*t.length);t=bt(i,e,t),n--}return t},wt={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/mt);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},At=function(e,t){return Math.sqrt(Lt(e,t))},Lt=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},kt=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Pt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Bt=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var s=o(a,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ft=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},zt=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Gt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Yt=function(e,t){return Gt(e,t.x1,t.y1)&&Gt(e,t.x2,t.y2)},Xt=function(e,t,n,r,i,a,o){var s,l=sn(i,a),u=i/2,c=a/2,h=r-c-o;if((s=en(e,t,n,r,n-u+l-o,h,n+u-l+o,h,!1)).length>0)return s;var d=n+u+o;if((s=en(e,t,n,r,d,r-c+l-o,d,r+c-l+o,!1)).length>0)return s;var p=r+c+o;if((s=en(e,t,n,r,n-u+l-o,p,n+u-l+o,p,!1)).length>0)return s;var g,f=n-u-o;if((s=en(e,t,n,r,f,r-c+l-o,f,r+c-l+o,!1)).length>0)return s;var v=n-u+l,y=r-c+l;if((g=Qt(e,t,n,r,v,y,l+o)).length>0&&g[0]<=v&&g[1]<=y)return[g[0],g[1]];var m=n+u-l,b=r-c+l;if((g=Qt(e,t,n,r,m,b,l+o)).length>0&&g[0]>=m&&g[1]<=b)return[g[0],g[1]];var x=n+u-l,w=r+c-l;if((g=Qt(e,t,n,r,x,w,l+o)).length>0&&g[0]>=x&&g[1]>=w)return[g[0],g[1]];var E=n-u+l,_=r+c-l;return(g=Qt(e,t,n,r,E,_,l+o)).length>0&&g[0]<=E&&g[1]>=_?[g[0],g[1]]:[]},Vt=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),h=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},Ut=function(e,t,n,r,i,a,o,s,l){var u=Math.min(n,o,i)-l,c=Math.max(n,o,i)+l,h=Math.min(r,s,a)-l,d=Math.max(r,s,a)+l;return!(ec||td)},jt=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g,f,v,y,m,b,x,w=[];u=9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,c=3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,h=1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,0===(l=1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s)&&(l=1e-5),f=-27*(h/=l)+(u/=l)*(9*(c/=l)-u*u*2),p=(g=(3*c-u*u)/9)*g*g+(f/=54)*f,(d=w)[1]=0,b=u/3,p>0?(y=(y=f+Math.sqrt(p))<0?-Math.pow(-y,1/3):Math.pow(y,1/3),m=(m=f-Math.sqrt(p))<0?-Math.pow(-m,1/3):Math.pow(m,1/3),d[0]=-b+y+m,b+=(y+m)/2,d[4]=d[2]=-b,b=Math.sqrt(3)*(-m+y)/2,d[3]=b,d[5]=-b):(d[5]=d[3]=0,0===p?(x=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),d[0]=2*x-b,d[4]=d[2]=-(x+b)):(v=(g=-g)*g*g,v=Math.acos(f/Math.sqrt(v)),x=2*Math.sqrt(g),d[0]=-b+x*Math.cos(v/3),d[2]=-b+x*Math.cos((v+2*Math.PI)/3),d[4]=-b+x*Math.cos((v+4*Math.PI)/3)));for(var E=[],_=0;_<6;_+=2)Math.abs(w[_+1])<1e-7&&w[_]>=0&&w[_]<=1&&E.push(w[_]);E.push(1),E.push(0);for(var T,D,C,N=-1,A=0;A=0?Cl?(e-i)*(e-i)+(t-a)*(t-a):u-h},Ht=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Wt=function(e,t,n,r,i,a,o,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,d=Math.cos(-u),p=Math.sin(-u),g=0;g0){var f=Kt(c,-l);h=$t(f)}else h=c;return Ht(e,t,h)},$t=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c=0&&g<=1&&v.push(g),f>=0&&f<=1&&v.push(f),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},Jt=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},en=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,g=s-a,f=h*d-g*u,v=c*d-p*u,y=g*c-h*p;if(0!==y){var m=f/y,b=v/y,x=-.001;return x<=m&&m<=1.001&&x<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===f||0===v?Jt(e,n,o)===o?[o,s]:Jt(e,n,i)===i?[i,a]:Jt(i,o,n)===n?[n,r]:[]:[]},tn=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g=[],f=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0){var m=Kt(f,-s);u=$t(m)}else u=f}else u=n;for(var b=0;bu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(m)[0]:m.edgesTo(b)[0];var x=r(y);m=m.id(),h[m]>h[f]+x&&(h[m]=h[f]+x,d.nodes.indexOf(m)<0?d.push(m):d.updateItem(m),u[m]=0,l[m]=[]),h[m]==h[f]+x&&(u[m]=u[m]+u[f],l[m].push(f))}else for(var w=0;w0;){for(var D=n.pop(),C=0;C0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:An,o=r,s=0;s=2?On(e,t,n,0,Sn,In):On(e,t,n,0,kn)},squaredEuclidean:function(e,t,n){return On(e,t,n,0,Sn)},manhattan:function(e,t,n){return On(e,t,n,0,kn)},max:function(e,t,n){return On(e,t,n,-1/0,Mn)}};function Rn(e,t,n,r,i,a){var o;return o=v(e)?e:Pn[e]||Pn.euclidean,0===t&&v(e)?o(i,a):o(t,n,r,i,a)}Pn["squared-euclidean"]=Pn.squaredEuclidean,Pn.squaredeuclidean=Pn.squaredEuclidean;var Bn=Ke({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Fn=function(e){return Bn(e)},zn=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return Rn(e,r.length,a,(function(e){return r[e](t)}),o,s)},Gn=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;ln)return!1;return!0},Un=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,g=t[o],f=t[r[o]];p="dendrogram"===i.mode?{left:g,right:f,key:g.key}:{value:g.value.concat(f.value),key:g.key},e[g.index]=p,e.splice(f.index,1),t[g.key]=p;for(var v=0;vn[f.key][y.key]&&(a=n[f.key][y.key])):"max"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n0&&e.splice(0,t)):e=e.slice(t,n);for(var a=0,o=e.length-1;o>=0;o--){var s=e[o];i?isFinite(s)||(e[o]=-1/0,a++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+a]:(e[u-1+a]+e[u+a])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u=N?(A=N,N=k,L=S):k>A&&(A=k);for(var I=0;I0?1:0;T[_%u.minIterations*t+F]=z,B+=z}if(B>0&&(_>=u.minIterations-1||_==u.maxIterations-1)){for(var G=0,Y=0;Y0&&r.push(i);return r}(t,a,o),U=function(e,t,n){for(var r=ur(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return ur(e,t,n)}(t,r,V),j={},q=0;q1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(r&&n)if(s){if(i&&r!=i)return d;i=r}else{if(i&&r!=i&&n!=i)return d;i||(i=r)}else i||(i=l[0].id());var p=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=h[t][0],i!=(r=h[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],v=[];for(v=p(i);1!=v.length;)0==c[v[0]].length?(g.unshift(l.getElementById(v.shift())),g.unshift(l.getElementById(v.shift()))):v=p(v.shift()).concat(v);for(var y in g.unshift(l.getElementById(v.shift())),c)if(c[y].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},gr=function(){var e=this,t={},n=0,r=0,i=[],a=[],o={},s=function s(l,u,c){l===c&&(r+=1),t[u]={id:n,low:n++,cutVertex:!1};var h,d,p,g,f=e.getElementById(u).connectedEdges().intersection(e);0===f.size()?i.push(e.spawn(e.getElementById(u))):f.forEach((function(n){h=n.source().id(),d=n.target().id(),(p=h===u?d:h)!==c&&(g=n.id(),o[g]||(o[g]=!0,a.push({x:u,y:p,edge:n})),p in t?t[u].low=Math.min(t[u].low,t[p].id):(s(l,p,u),t[u].low=Math.min(t[u].low,t[p].low),t[u].id<=t[p].low&&(t[u].cutVertex=!0,function(n,r){for(var o=a.length-1,s=[],l=e.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(i.filter((function(e){return e.isLoop()}))):l.merge(i)}))})),i.push(l)}(u,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,s(n,n),t[n].cutVertex=r>1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:i}},fr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:a,components:r}},vr={};[ot,ct,ht,pt,ft,yt,wt,hn,pn,fn,yn,Nn,Zn,ar,hr,pr,{hopcroftTarjanBiconnected:gr,htbc:gr,htb:gr,hopcroftTarjanBiconnectedComponents:gr},{tarjanStronglyConnected:fr,tsc:fr,tscc:fr,tarjanStronglyConnectedComponents:fr}].forEach((function(e){z(vr,e)}));var yr=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};yr.prototype={fulfill:function(e){return mr(this,1,"fulfillValue",e)},reject:function(e){return mr(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new yr;return n.onFulfilled.push(wr(e,r,"fulfill")),n.onRejected.push(wr(t,r,"reject")),br(n),r.proxy}};var mr=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,br(e)),e},br=function(e){1===e.state?xr(e,"onFulfilled",e.fulfillValue):2===e.state&&xr(e,"onRejected",e.rejectReason)},xr=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n-1};var ci=function(e,t){var n=this.__data__,r=ai(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function hi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){y(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,i=[],a=0,o=n.length;a0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};Ki.className=Ki.classNames=Ki.classes;var Zi={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:M,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Zi.variable="(?:[\\w-.]|(?:\\\\"+Zi.metaChar+"))+",Zi.className="(?:[\\w-]|(?:\\\\"+Zi.metaChar+"))+",Zi.value=Zi.string+"|"+Zi.number,Zi.id=Zi.variable,function(){var e,t,n;for(e=Zi.comparatorOp.split("|"),n=0;n=0||"="!==t&&(Zi.comparatorOp+="|\\!"+t)}();var Qi=0,Ji=1,ea=2,ta=3,na=4,ra=5,ia=6,aa=7,oa=8,sa=9,la=10,ua=11,ca=12,ha=13,da=14,pa=15,ga=16,fa=17,va=18,ya=19,ma=20,ba=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*F(e,t)}(e.selector,t.selector)})),xa=function(){for(var e,t={},n=0;n0&&u.edgeCount>0)return je("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return je("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&je("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return f(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(i,a){return i.checks.reduce((function(o,s,l){return o+(a===i&&0===l?"$":"")+function(i,a){var o=i.type,s=i.value;switch(o){case Qi:var l=e(s);return l.substring(0,l.length-1);case ta:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case ra:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case na:return"["+i.field+"]";case ia:var p=i.operator;return"[["+i.field+n(e(p))+t(s)+"]]";case aa:return s;case oa:return"#"+s;case sa:return"."+s;case fa:case pa:return r(i.parent,a)+n(">")+r(i.child,a);case va:case ga:return r(i.ancestor,a)+" "+r(i.descendant,a);case ya:var g=r(i.left,a),f=r(i.subject,a),v=r(i.right,a);return g+(g.length>0?" ":"")+f+v;case ma:return""}}(s,a)}),"")},i="",a=0;a1&&a=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function Ga(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1],Ga)},Fa.forEachUp=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ya)},Fa.forEachUpAndDown=function(e){return za(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Xa)},Fa.ancestors=Fa.parents,(Pa=Ra={data:Wi.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Wi.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Wi.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Pa.data,Pa.removeAttr=Pa.removeData;var Va,Ua,ja=Ra,qa={};function Ha(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;ot})),minIndegree:Wa("indegree",(function(e,t){return et})),minOutdegree:Wa("outdegree",(function(e,t){return et}))}),z(qa,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===e?i:i[e]}for(var d=0;d0,y=v;v&&(g=g[0]);var b=y?g.position():{x:0,y:0};void 0!==t?p.position(e,t+b[e]):void 0!==i&&p.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=Va.point=Va.position,Va.modelPositions=Va.points=Va.positions,Va.renderedPoint=Va.renderedPosition,Va.relativePoint=Va.relativePosition;var Za,Qa,Ja=Ua;Za=Qa={},Qa.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},Qa.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},Qa.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,g=y(i.height.val-a.h,u,c),f=g.biasDiff,v=g.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-f+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},no=function(e,t){return null==t?e:to(e,t.x1,t.y1,t.x2,t.y2)},ro=function(e,t,n){return Je(e,t,n)},io=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Rt(u,1),to(e,u.x1,u.y1,u.x2,u.y2)}}},ao=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=ro(a,"labelWidth",n),p=ro(a,"labelHeight",n),g=ro(a,"labelX",n),f=ro(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,_=p,T=d,D=T/2,C=_/2;if(m)o=g-D,s=g+D,l=f-C,u=f+C;else{switch(c.value){case"left":o=g-T,s=g;break;case"center":o=g-D,s=g+D;break;case"right":o=g,s=g+T}switch(h.value){case"top":l=f-_,u=f;break;case"center":l=f-C,u=f+C;break;case"bottom":l=f,u=f+_}}o+=v-Math.max(x,w)-E-2,s+=v+Math.max(x,w)+E+2,l+=y-Math.max(x,w)-E-2,u+=y+Math.max(x,w)+E+2;var N=n||"main",A=i.labelBounds,L=A[N]=A[N]||{};L.x1=o,L.y1=l,L.x2=s,L.y2=u,L.w=s-o,L.h=u-l;var k=m&&"autorotate"===b.strValue,S=null!=b.pfValue&&0!==b.pfValue;if(k||S){var I=k?ro(i.rstyle,"labelAngle",n):b.pfValue,M=Math.cos(I),O=Math.sin(I),P=(o+s)/2,R=(l+u)/2;if(!m){switch(c.value){case"left":P=s;break;case"right":P=o}switch(h.value){case"top":R=u;break;case"bottom":R=l}}var B=function(e,t){return{x:(e-=P)*M-(t-=R)*O+P,y:e*O+t*M+R}},F=B(o,l),z=B(o,u),G=B(s,l),Y=B(s,u);o=Math.min(F.x,z.x,G.x,Y.x),s=Math.max(F.x,z.x,G.x,Y.x),l=Math.min(F.y,z.y,G.y,Y.y),u=Math.max(F.y,z.y,G.y,Y.y)}var X=N+"Rot",V=A[X]=A[X]||{};V.x1=o,V.y1=l,V.x2=s,V.y2=u,V.w=s-o,V.h=u-l,to(e,o,l,s,u),to(i.labelBounds.all,o,l,s,u)}return e}},oo=function(e){var t=0,n=function(e){return(e?1:0)<(r=A[1].x)){var L=n;n=r,r=L}if(i>(a=A[1].y)){var k=i;i=a,a=k}to(d,n-_,i-_,r+_,a+_)}}else if("bezier"===N||"unbundled-bezier"===N||"segments"===N||"taxi"===N){var S;switch(N){case"bezier":case"unbundled-bezier":S=v.bezierPts;break;case"segments":case"taxi":S=v.linePts}if(null!=S)for(var I=0;I(r=P.x)){var R=n;n=r,r=R}if((i=O.y)>(a=P.y)){var B=i;i=a,a=B}to(d,n-=_,i-=_,r+=_,a+=_)}if(c&&t.includeEdges&&f&&(io(d,e,"mid-source"),io(d,e,"mid-target"),io(d,e,"source"),io(d,e,"target")),c&&"yes"===e.pstyle("ghost").value){var F=e.pstyle("ghost-offset-x").pfValue,z=e.pstyle("ghost-offset-y").pfValue;to(d,d.x1+F,d.y1+z,d.x2+F,d.y2+z)}var G=p.bodyBounds=p.bodyBounds||{};Ft(G,d),Bt(G,y),Rt(G,1),c&&(n=d.x1,r=d.x2,i=d.y1,a=d.y2,to(d,n-E,i-E,r+E,a+E));var Y=p.overlayBounds=p.overlayBounds||{};Ft(Y,d),Bt(Y,y),Rt(Y,1);var X=p.labelBounds=p.labelBounds||{};null!=X.all?((l=X.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):X.all=Ot(),c&&t.includeLabels&&(t.includeMainLabels&&ao(d,e,null),f&&(t.includeSourceLabels&&ao(d,e,"source"),t.includeTargetLabels&&ao(d,e,"target")))}return d.x1=eo(d.x1),d.y1=eo(d.y1),d.x2=eo(d.x2),d.y2=eo(d.y2),d.w=eo(d.x2-d.x1),d.h=eo(d.y2-d.y1),d.w>0&&d.h>0&&b&&(Bt(d,y),Rt(d,1)),d}(e,uo),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=Ot(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?no(n,r.overlayBounds):no(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?no(n,r.labelBounds.all):(t.includeMainLabels&&no(n,r.labelBounds.mainRot),t.includeSourceLabels&&no(n,r.labelBounds.sourceRot),t.includeTargetLabels&&no(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},uo={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},co=oo(uo),ho=Ke(uo);Qa.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=Ot();var n=ho(e=e||uo),r=this;if(r.cy().styleEnabled())for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:No,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Lo.removeAllListeners=function(){return this.removeListener("*")},Lo.emit=Lo.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,y(t)||(t=[t]),Io(this,(function(e,a){null!=n&&(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],i=r.length);for(var o=function(n){var i=r[n];if(i.type===a.type&&(!i.namespace||i.namespace===a.namespace||".*"===i.namespace)&&e.eventMatches(e.context,i,a)){var o=[a];null!=t&&function(e,t){for(var n=0;n1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&f(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=this,i=0;ir&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=this,a=0;a=0&&i1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(m(e)){var i=e;r.applyBypass(this,i,false),this.emitAndNotify("style")}else if(f(e)){if(void 0===t){var a=this[0];return a?r.getStylePropertyValue(a,e):void 0}r.applyBypass(this,e,t,false),this.emitAndNotify("style")}else if(void 0===e){var o=this[0];return o?r.getRawStyle(o):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style(),r=this;if(void 0===e)for(var i=0;i0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),rs.neighbourhood=rs.neighborhood,rs.closedNeighbourhood=rs.closedNeighborhood,rs.openNeighbourhood=rs.openNeighborhood,z(rs,{source:Ba((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Ba((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:ss({attr:"source"}),targets:ss({attr:"target"})}),z(rs,{edgesWith:Ba(ls(),"edgesWith"),edgesTo:Ba(ls({thisIsSrc:!0}),"edgesTo")}),z(rs,{connectedEdges:Ba((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),rs.componentsOf=rs.components;var cs=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new tt,a=!1;if(t){if(t.length>0&&m(t[0])&&!E(t[0])){a=!0;for(var o=[],s=new rt,l=0,u=t.length;l0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u0){for(var B=e.length===i.length?i:new cs(a,e),F=0;F0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){var n=i[e.id()];t&&e.removed()||n||(i[e.id()]=!0,e.isNode()?(r.push(e),function(e){for(var t=e._private.edges,n=0;n0&&(e?_.emitAndNotify("remove"):t&&_.emit("remove"));for(var T=0;T=.001?function(t,r){for(var a=0;a0?i=l:r=l}while(Math.abs(s)>a&&++uh&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),fs=function(e,t,n,r){var i=ps(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},vs={linear:function(e,t,n){return e+(t-e)*n},ease:fs(.25,.1,.25,1),"ease-in":fs(.42,0,1,1),"ease-out":fs(0,0,.58,1),"ease-in-out":fs(.42,0,.58,1),"ease-in-sine":fs(.47,0,.745,.715),"ease-out-sine":fs(.39,.575,.565,1),"ease-in-out-sine":fs(.445,.05,.55,.95),"ease-in-quad":fs(.55,.085,.68,.53),"ease-out-quad":fs(.25,.46,.45,.94),"ease-in-out-quad":fs(.455,.03,.515,.955),"ease-in-cubic":fs(.55,.055,.675,.19),"ease-out-cubic":fs(.215,.61,.355,1),"ease-in-out-cubic":fs(.645,.045,.355,1),"ease-in-quart":fs(.895,.03,.685,.22),"ease-out-quart":fs(.165,.84,.44,1),"ease-in-out-quart":fs(.77,0,.175,1),"ease-in-quint":fs(.755,.05,.855,.06),"ease-out-quint":fs(.23,1,.32,1),"ease-in-out-quint":fs(.86,0,.07,1),"ease-in-expo":fs(.95,.05,.795,.035),"ease-out-expo":fs(.19,1,.22,1),"ease-in-out-expo":fs(1,0,0,1),"ease-in-circ":fs(.6,.04,.98,.335),"ease-out-circ":fs(.075,.82,.165,1),"ease-in-out-circ":fs(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return vs.linear;var r=gs(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":fs};function ys(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function ms(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function bs(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=ms(e,i),s=ms(t,i);if(b(o)&&b(s))return ys(a,o,s,n,r);if(y(o)&&y(s)){for(var l=[],u=0;u0?("spring"===h&&d.push(o.duration),o.easingImpl=vs[h].apply(null,d)):o.easingImpl=vs[h]}var p,g=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var v=o.startPosition,y=o.position;if(y&&i&&!e.locked()){var m={};ws(v.x,y.x)&&(m.x=bs(v.x,y.x,p,g)),ws(v.y,y.y)&&(m.y=bs(v.y,y.y,p,g)),e.position(m)}var b=o.startPan,x=o.pan,w=a.pan,E=null!=x&&r;E&&(ws(b.x,x.x)&&(w.x=bs(b.x,x.x,p,g)),ws(b.y,x.y)&&(w.y=bs(b.y,x.y,p,g)),e.emit("pan"));var _=o.startZoom,T=o.zoom,D=null!=T&&r;D&&(ws(_,T)&&(a.zoom=Mt(a.minZoom,bs(_,T,p,g),a.maxZoom)),e.emit("zoom")),(E||D)&&e.emit("viewport");var C=o.style;if(C&&C.length>0&&i){for(var N=0;N=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;d.stopped?(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Es(0,h,e),xs(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Ts={animate:Wi.animate(),animation:Wi.animation(),animated:Wi.animated(),clearQueue:Wi.clearQueue(),delay:Wi.delay(),delayAnimation:Wi.delayAnimation(),stop:Wi.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){_s(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&_e((function(n){_s(n,e),t()}))}()}}},Ds={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&E(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Cs=function(e){return f(e)?new Ia(e):e},Ns={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Ao(Ds,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Cs(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Cs(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},once:function(e,t,n){return this.emitter().one(e,Cs(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};Wi.eventAliasesOn(Ns);var As={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};As.jpeg=As.jpg;var Ls={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n,r=e.name,i=t.extension("layout",r);if(null!=i)return n=f(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(z({},e,{cy:t,eles:n}));Ve("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ve("A `name` must be specified to make a layout");else Ve("Layout options must be specified to make a layout")}};Ls.createLayout=Ls.makeLayout=Ls.layout;var ks={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Is.invalidateDimensions=Is.resize;var Ms={collection:function(e,t){return f(e)?this.$(e):w(e)?e.collection():y(e)?(t||(t={}),new cs(this,e,t.unique,t.removed)):new cs(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};Ms.elements=Ms.filter=Ms.$;var Os={},Ps="t";Os.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r0;if(d||h&&p){var g=void 0;d&&p||d?g=u.properties:p&&(g=u.mappedProperties);for(var f=0;f1&&(v=1),s.color){var E=i.valueMin[0],_=i.valueMax[0],T=i.valueMin[1],D=i.valueMax[1],C=i.valueMin[2],N=i.valueMax[2],A=null==i.valueMin[3]?1:i.valueMin[3],L=null==i.valueMax[3]?1:i.valueMax[3],k=[Math.round(E+(_-E)*v),Math.round(T+(D-T)*v),Math.round(C+(N-C)*v),Math.round(A+(L-A)*v)];n={bypass:i.bypass,name:i.name,value:k,strValue:"rgb("+k[0]+", "+k[1]+", "+k[2]+")"}}else{if(!s.number)return!1;var S=i.valueMin+(i.valueMax-i.valueMin)*v;n=this.parse(i.name,S,i.bypass,d)}if(!n)return f(),!1;n.mapping=i,i=n;break;case o.data:for(var I=i.field.split("."),M=h.data,O=0;O0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},Os.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},Os.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},Os.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!i.triggersBoundsOfParallelBeziers||("curve-style"!==t||"bezier"!==n&&"bezier"!==r)&&("display"!==t||"none"!==n&&"none"!==r)||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}))}))},Os.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Rs={applyBypass:function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?a.substr(t.length):""}function s(){n=n.length>r.length?n.substr(r.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var l=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){je("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}t=l[0];var u=l[1];if("core"!==u&&new Ia(u).invalid)je("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();else{var c=l[2],h=!1;n=c;for(var d=[];!n.match(/^\s*$/);){var p=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){je("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),h=!0;break}r=p[0];var g=p[1],f=p[2];this.properties[g]?i.parse(g,f)?(d.push({name:g,val:f}),s()):(je("Skipping property: Invalid property definition in: "+r),s()):(je("Skipping property: Invalid property name in: "+r),s())}if(h){o();break}i.selector(u);for(var v=0;v=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var p=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(e,c[4]);if(!g||g.mapped)return!1;var m=this.parse(e,c[5]);if(!m||m.mapped)return!1;if(g.pfValue===m.pfValue||g.strValue===m.strValue)return je("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(h.color){var x=g.value,w=m.value;if(!(x[0]!==w[0]||x[1]!==w[1]||x[2]!==w[2]||x[3]!==w[3]&&(null!=x[3]&&1!==x[3]||null!=w[3]&&1!==w[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:g.value,valueMax:m.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var E;if(E=l?t.split(/\s+/):y(t)?t:[t],h.evenMultiple&&E.length%2!=0)return null;for(var _=[],T=[],D=[],C="",N=!1,A=0;A0?" ":"")+k.strValue}return h.validate&&!h.validate(_,T)?null:h.singleEnum&&N?1===_.length&&f(_[0])?{name:e,value:_[0],strValue:_[0],bypass:n}:null:{name:e,value:_,pfValue:D,strValue:C,bypass:n,units:T}}var S,I,O=function(){for(var r=0;rh.max||h.strictMax&&t===h.max))return null;var z={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?z.pfValue=t:z.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(z.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(z.pfValue="rad"===P?t:(S=t,Math.PI*S/180)),"%"===P&&(z.pfValue=t/100),z}if(h.propList){var Y=[],X=""+t;if("none"===X);else{for(var V=X.split(/\s*,\s*|\s+/),U=0;U0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:a)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),b(e)?n=e:m(e)&&(n=e.level,null!=e.position?t=Et(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;b(l.x)&&(t.pan.x=l.x,o=!1),b(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(f(e)){var n=e;e=this.mutableElements().filter(n)}else w(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=l.getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};qs.centre=qs.center,qs.autolockNodes=qs.autolock,qs.autoungrabifyNodes=qs.autoungrabify;var Hs={data:Wi.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Wi.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Wi.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Wi.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Hs.attr=Hs.data,Hs.removeAttr=Hs.removeData;var Ws=function(e){var t=this,n=(e=z({},e)).container;n&&!x(n)&&x(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==l&&void 0!==n&&!e.headless,o=e;o.layout=z({name:a?"grid":"null"},o.layout),o.renderer=z({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},u=this._private={container:n,ready:!1,options:o,elements:new cs(this),listeners:[],aniEles:new cs(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:b(o.zoom)?o.zoom:1,pan:{x:m(o.pan)&&b(o.pan.x)?o.pan.x:0,y:m(o.pan)&&b(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});u.styleEnabled&&t.setStyle([]);var c=z({},o,o.renderer);t.initRenderer(c);!function(e,t){if(e.some(N))return _r.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],a=e[1];u.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(m(e)||y(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=z({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),u.ready=!0,v(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(w(n.roots))e=n.roots;else if(y(n.roots)){for(var c=[],h=0;h0;){var I=L.shift(),M=A(I,k);if(M)I.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(S);else if(null===M){je("Detected double maximal shift for node `"+I.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}N();var O=0;if(n.avoidOverlap)for(var P=0;P0&&b[0].length<=3?l/2:0),h=2*Math.PI/b[r].length*i;return 0===r&&1===b[0].length&&(c=1),{x:W+c*Math.cos(h),y:$+c*Math.sin(h)}}return{x:W+(i+1-(a+1)/2)*o,y:(r+1)*s}})),this};var tl={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function nl(e){this.options=z({},tl,e)}nl.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),c=0,h=0;h1&&t.avoidOverlap){c*=1.75;var f=Math.cos(u)-Math.cos(0),v=Math.sin(u)-Math.sin(0),y=Math.sqrt(c*c/(f*f+v*v));o=Math.max(y,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*u*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l.x+a,y:l.y+s}})),this};var rl,il={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function al(e){this.options=z({},il,e)}al.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=[],u=0,c=0;c0&&Math.abs(y[0].value-b.value)>=f&&(y=[],v.push(y)),y.push(b)}var x=u+t.minNodeSpacing;if(!t.avoidOverlap){var w=v.length>0&&v[0].length>1,E=(Math.min(o.w,o.h)/2-x)/(v.length+w?1:0);x=Math.min(x,E)}for(var _=0,T=0;T1&&t.avoidOverlap){var A=Math.cos(N)-Math.cos(0),L=Math.sin(N)-Math.sin(0),k=Math.sqrt(x*x/(A*A+L*L));_=Math.max(k,_)}D.r=_,_+=x}if(t.equidistant){for(var S=0,I=0,M=0;M=e.numIter||(gl(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&a(),_e(t)):(Cl(r,e),s())}();else{for(;u;)u=o(l),l++;Cl(r,e),s()}return this},sl.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},sl.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ll=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=Ot(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0)for(o.graphSet.push(E),u=0;ur.count?0:r.graph},cl=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*i/(f=Math.sqrt(i*i+a*a)),l=u*a/f;else{var u,c=bl(e,i,a),h=bl(t,-1*i,-1*a),d=h.x-c.x,p=h.y-c.y,g=d*d+p*p,f=Math.sqrt(g);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/g)*d/f,l=u*p/f}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},ml=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},bl=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},xl=function(e,t){for(var n=0;n1){var g=t.gravity*h/p,f=t.gravity*d/p;c.offsetX+=g,c.offsetY+=f}}}}},El=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Dl=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(h+=p+t.componentSpacing,c=0,d=0,p=0)}}},Nl={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Al(e){this.options=z({},Nl,e)}Al.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=Ot(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},d=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=p)l=d,u=p;else if(null!=d&&null==p)l=d,u=Math.ceil(o/l);else if(null==d&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var g=c(),f=h();(g-1)*f>=o?c(g-1):(f-1)*g>=o&&h(f-1)}else for(;u*l=o?h(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(S=0,k++)},M={},O=0;O(r=qt(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5(r=jt(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),_=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(w=0;w<_.length;w++){var T=_[w],D=s.arrowShapes[n.pstyle(T.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(D.roughCollide(e,t,E,T.angle,{x:T.x,y:T.y},C,d)&&D.collide(e,t,E,T.angle,{x:T.x,y:T.y},C,d))return v(n),!0}h&&u.length>0&&(y(m),y(b))}function b(e,t,n){return Je(e,t,n)}function x(n,r){var i,a=n._private,o=g;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),h=b(a.rscratch,"labelAngle",r),d=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,f=s.x1-o-d,y=s.x2+o-d,m=s.y1-o-p,x=s.y2+o-p;if(h){var w=Math.cos(h),E=Math.sin(h),_=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},T=_(f,m),D=_(f,x),C=_(y,m),N=_(y,x),A=[T.x+d,T.y+p,C.x+d,C.y+p,N.x+d,N.y+p,D.x+d,D.y+p];if(Ht(e,t,A))return v(n),!0}else if(Gt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r),c=Ot({x1:e=o,y1:t=l,x2:n=s,y2:r=u}),h=0;h0?Math.max(e-t,0):Math.min(e+t,0)},N=C(T,E),A=C(D,_),L=!1;"auto"===v?f=Math.abs(N)>Math.abs(A)?i:r:v===l||v===s?(f=r,L=!0):v!==a&&v!==o||(f=i,L=!0);var k,S=f===r,I=S?A:N,M=S?D:T,O=Nt(M),P=!1;L&&(m||x)||!(v===s&&M<0||v===l&&M>0||v===a&&M>0||v===o&&M<0)||(I=(O*=-1)*Math.abs(I),P=!0);var R=function(e){return Math.abs(e)=Math.abs(I)},B=R(k=m?(b<0?1+b:b)*I:(b<0?I:0)+b*O),F=R(Math.abs(I)-Math.abs(k));if(!B&&!F||P)if(S){var z=u.y1+k+(g?h/2*O:0),G=u.x1,Y=u.x2;n.segpts=[G,z,Y,z]}else{var X=u.x1+k+(g?c/2*O:0),V=u.y1,U=u.y2;n.segpts=[X,V,X,U]}else if(S){var j=Math.abs(M)<=h/2,q=Math.abs(T)<=d/2;if(j){var H=(u.x1+u.x2)/2,W=u.y1,$=u.y2;n.segpts=[H,W,H,$]}else if(q){var K=(u.y1+u.y2)/2,Z=u.x1,Q=u.x2;n.segpts=[Z,K,Q,K]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(M)<=c/2,ee=Math.abs(D)<=p/2;if(J){var te=(u.y1+u.y2)/2,ne=u.x1,re=u.x2;n.segpts=[ne,te,re,te]}else if(ee){var ie=(u.x1+u.x2)/2,ae=u.y1,oe=u.y2;n.segpts=[ie,ae,ie,oe]}else n.segpts=[u.x2,u.y1]}},Xl.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=!b(n.startX)||!b(n.startY),d=!b(n.arrowStartX)||!b(n.arrowStartY),p=!b(n.endX)||!b(n.endY),g=!b(n.arrowEndX)||!b(n.arrowEndY),f=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,v=At({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),y=vd.poolIndex()){var p=h;h=d,d=p}var g=s.srcPos=h.position(),f=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),m=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var _=0;_0){var X=u,V=Lt(X,Tt(t)),U=Lt(X,Tt(Y)),j=V;U2&&Lt(X,{x:Y[2],y:Y[3]})0){var ie=c,ae=Lt(ie,Tt(t)),oe=Lt(ie,Tt(re)),se=ae;oe2&&Lt(ie,{x:re[2],y:re[3]})=u||m){c={cp:f,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-d)/x.length,E=x.t1-x.t0,_=s?x.t0+E*w:x.t1-E*w;_=Mt(0,_,1),t=It(b.p0,b.p1,b.p2,_),i=function(e,t,n,r){var i=Mt(0,r-.001,1),a=Mt(0,r+.001,1),o=It(e,t,n,i),s=It(e,t,n,a);return $l(o,s)}(b.p0,b.p1,b.p2,_);break;case"straight":case"segments":case"haystack":for(var T,D,C,N,A=0,L=r.allpts.length,k=0;k+3=u));k+=2);var S=(u-D)/T;S=Mt(0,S,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=At(e,t),s=i/o,l=a/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(C,N,S),i=$l(C,N)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Hl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Hl.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Je(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,h=i.width,d=i.height+(l-1)*(a-1)*u;et(n.rstyle,"labelWidth",t,h),et(n.rscratch,"labelWidth",t,h),et(n.rstyle,"labelHeight",t,d),et(n.rscratch,"labelHeight",t,d),et(n.rscratch,"labelLineHeight",t,c)},Hl.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(et(n.rscratch,e,t,r),r):Je(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,d=[],p=/[\s\u200b]+/,g=h?"":" ",f=0;fc){for(var b=v.split(p),x="",w=0;wT);N++)D+=i[N],N===i.length-1&&(C=!0);return C||(D+="…"),D}return i},Hl.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Hl.calculateLabelDimensions=function(e,t){var n=Ie(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var d=0,p=0,g=t.split("\n"),f=0;f1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var N=r(t);v&&(e.hoverData.tapholdCancelled=!0);a=!0,n(f,["mousemove","vmousemove","tapdrag"],t,{x:h[0],y:h[1]});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:h[0],y:h[1]}}),g[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var L={originalEvent:t,type:"cxtdrag",position:{x:h[0],y:h[1]}};m?m.emit(L):o.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&f===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:h[0],y:h[1]}}),e.hoverData.cxtOver=f,f&&f.emit({originalEvent:t,type:"cxtdragover",position:{x:h[0],y:h[1]}}))}}else if(e.hoverData.dragging){if(a=!0,o.panningEnabled()&&o.userPanningEnabled()){var k;if(e.hoverData.justStartedPan){var S=e.hoverData.mdownPos;k={x:(h[0]-S[0])*s,y:(h[1]-S[1])*s},e.hoverData.justStartedPan=!1}else k={x:x[0]*s,y:x[1]*s};o.panBy(k),o.emit("dragpan"),e.hoverData.dragged=!0}h=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=g[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||f==y||(y&&n(y,["mouseout","tapdragout"],t,{x:h[0],y:h[1]}),f&&n(f,["mouseover","tapdragover"],t,{x:h[0],y:h[1]}),e.hoverData.last=f),m)if(v){if(o.boxSelectionEnabled()&&N)m&&m.grabbed()&&(c(E),m.emit("freeon"),E.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),E.emit("dragfree"))),A();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var I=!e.dragData.didDrag;I&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||l(E,{inDragLayer:!0});var M={x:0,y:0};if(b(x[0])&&b(x[1])&&(M.x+=x[0],M.y+=x[1],I)){var O=e.hoverData.dragDelta;O&&b(O[0])&&b(O[1])&&(M.x+=O[0],M.y+=O[1])}e.hoverData.draggingEles=!0,E.silentShift(M).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(x[0]),t.push(x[1])):(t[0]+=x[0],t[1]+=x[1])}();a=!0}else v&&(e.hoverData.dragging||!o.boxSelectionEnabled()||!N&&o.panningEnabled()&&o.userPanningEnabled()?!e.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&i(m,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,g[4]=0,e.data.bgActivePosistion=Tt(d),e.redrawHint("select",!0),e.redraw()):A(),m&&m.pannable()&&m.active()&&m.unactivate());return g[2]=h[0],g[3]=h[1],a?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(window,"mouseup",(function(i){if(e.hoverData.capture){e.hoverData.capture=!1;var a=e.cy,o=e.projectIntoViewport(i.clientX,i.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,h=e.hoverData.down,d=r(i);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,h&&h.unactivate(),3===e.hoverData.which){var p={originalEvent:i,type:"cxttapend",position:{x:o[0],y:o[1]}};if(h?h.emit(p):a.emit(p),!e.hoverData.cxtDragged){var g={originalEvent:i,type:"cxttap",position:{x:o[0],y:o[1]}};h?h.emit(g):a.emit(g)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(n(l,["mouseup","tapend","vmouseup"],i,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(n(h,["click","tap","vclick"],i,{x:o[0],y:o[1]}),m=!1,i.timeStamp-x<=a.multiClickDebounceTime()?(y&&clearTimeout(y),m=!0,x=null,n(h,["dblclick","dbltap","vdblclick"],i,{x:o[0],y:o[1]})):(y=setTimeout((function(){m||n(h,["oneclick","onetap","voneclick"],i,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),x=i.timeStamp)),null!=h||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||r(i)||(a.$(t).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=a.collection()),l!=h||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||d?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):d||(a.$(t).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var f=a.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),f.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:i,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||d||a.$(t).unmerge(f).unselect(),f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var v=h&&h.grabbed();c(u),v&&(h.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(h.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var E,_,T,D,C,N,A,L,k,S,I,M,O,P=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",P,!0),e.registerBinding(window,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||P(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var R,B,F,z,G,Y,X,V=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},U=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",R=function(t){if(e.hasTouchStarted=!0,w(t)){d(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var s=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=s[0],i[1]=s[1]}if(t.touches[1]&&(s=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),i[2]=s[0],i[3]=s[1]),t.touches[2]&&(s=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),i[4]=s[0],i[5]=s[1]),t.touches[1]){e.touchData.singleTouchMoved=!0,c(e.dragData.touchDragEles);var h=e.findContainerClientCoords();k=h[0],S=h[1],I=h[2],M=h[3],E=t.touches[0].clientX-k,_=t.touches[0].clientY-S,T=t.touches[1].clientX-k,D=t.touches[1].clientY-S,O=0<=E&&E<=I&&0<=T&&T<=I&&0<=_&&_<=M&&0<=D&&D<=M;var p=r.pan(),g=r.zoom();C=V(E,_,T,D),N=U(E,_,T,D),L=[((A=[(E+T)/2,(_+D)/2])[0]-p.x)/g,(A[1]-p.y)/g];if(N<4e4&&!t.touches[2]){var f=e.findNearestElement(i[0],i[1],!0,!0),v=e.findNearestElement(i[2],i[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=f):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=v):r.emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])r.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(i[0],i[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),e.touchData.start=m,e.touchData.starts=y,e.nodeIsGrabbable(m))){var b=e.dragData.touchDragEles=r.collection(),x=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),m.selected()?(x=r.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),l(x,{addToList:b})):u(m,{addToList:b}),o(m);var P=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};m.emit(P("grabon")),x?x.forEach((function(e){e.emit(P("grab"))})):m.emit(P("grab"))}n(m,["touchstart","tapstart","vmousedown"],t,{x:i[0],y:i[1]}),null==m&&(e.data.bgActivePosistion={x:s[0],y:s[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||n(e.touchData.start,["taphold"],t,{x:i[0],y:i[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var R=e.touchData.startPosition=[],B=0;B=e.touchTapThreshold2}if(r&&e.touchData.cxt){t.preventDefault();var A=t.touches[0].clientX-k,I=t.touches[0].clientY-S,M=t.touches[1].clientX-k,P=t.touches[1].clientY-S,R=U(A,I,M,P);if(R/N>=2.25||R>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):o.emit(B)}}if(r&&e.touchData.cxt){B={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):o.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(r&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,a[4]=1,a&&0!==a.length&&void 0!==a[0]?(a[2]=(s[0]+s[2]+s[4])/3,a[3]=(s[1]+s[3]+s[5])/3):(a[0]=(s[0]+s[2]+s[4])/3,a[1]=(s[1]+s[3]+s[5])/3,a[2]=(s[0]+s[2]+s[4])/3+1,a[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(r&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var z=0;z0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(window,"touchcancel",F=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(window,"touchend",z=function(r){var i=e.touchData.start;if(e.touchData.capture){0===r.touches.length&&(e.touchData.capture=!1),r.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,h=e.touchData.earlier;if(r.touches[0]){var d=e.projectIntoViewport(r.touches[0].clientX,r.touches[0].clientY);u[0]=d[0],u[1]=d[1]}if(r.touches[1]&&(d=e.projectIntoViewport(r.touches[1].clientX,r.touches[1].clientY),u[2]=d[0],u[3]=d[1]),r.touches[2]&&(d=e.projectIntoViewport(r.touches[2].clientX,r.touches[2].clientY),u[4]=d[0],u[5]=d[1]),i&&i.unactivate(),e.touchData.cxt){if(o={originalEvent:r,type:"cxttapend",position:{x:u[0],y:u[1]}},i?i.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:r,type:"cxttap",position:{x:u[0],y:u[1]}};i?i.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!r.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var g=s.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:r,position:{x:u[0],y:u[1]}});g.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),g.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),r.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(r.touches[1]);else if(r.touches[0]);else if(!r.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var f=e.dragData.touchDragEles;if(null!=i){var v=i._private.grabbed;c(f),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(i.emit("freeon"),f.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),f.emit("dragfree"))),n(i,["touchend","tapend","vmouseup","tapdragout"],r,{x:u[0],y:u[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);n(y,["touchend","tapend","vmouseup","tapdragout"],r,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),n(i,["tap","vclick"],r,{x:u[0],y:u[1]}),G=!1,r.timeStamp-X<=s.multiClickDebounceTime()?(Y&&clearTimeout(Y),G=!0,X=null,n(i,["dbltap","vdblclick"],r,{x:u[0],y:u[1]})):(Y=setTimeout((function(){G||n(i,["onetap","voneclick"],r,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=r.timeStamp)),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var A=[u[0],u[1]],L=Math.pow(A[0]-e,2)+Math.pow(A[1]-t,2),k=1;k0)return f[0]}return null},d=Object.keys(c),p=0;p0?l:Xt(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=sn(r,i),l=2*s;if(Wt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Wt(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!Ht(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!Zt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Zt(e,t,l,l,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",rn(3,0)),this.generateRoundPolygon("round-triangle",rn(3,0)),this.generatePolygon("rectangle",rn(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",rn(5,0)),this.generateRoundPolygon("round-pentagon",rn(5,0)),this.generatePolygon("hexagon",rn(6,0)),this.generateRoundPolygon("round-hexagon",rn(6,0)),this.generatePolygon("heptagon",rn(7,0)),this.generateRoundPolygon("round-heptagon",rn(7,0)),this.generatePolygon("octagon",rn(8,0)),this.generateRoundPolygon("round-octagon",rn(8,0));var r=new Array(20),i=on(5,0),a=on(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*f)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(g>=e.deqNoDrawCost*su)break;var v=e.deq(t,h,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())}),i(t))}}},uu=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;t(this,e),this.idsByKey=new tt,this.keyForId=new tt,this.cachesByLvl=new tt,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return i(e,[{key:"getIdsFor",value:function(e){null==e&&Ve("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new rt,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tt,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),cu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hu=Ke({getKey:null,doesEleInvalidateKey:Ge,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:ze,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),du=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=hu(t);z(n,r),n.lookup=new uu(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},pu=du.prototype;pu.reasons=cu,pu.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},pu.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},pu.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new lt((function(e,t){return t.reqs-e.reqs}))},pu.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},pu.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Ct(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,h=t.w*u,d=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var p,g=l.get(e,r);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||h>1024)return null;var f=a.getTextureQueue(p),v=f[f.length-2],y=function(){return a.recycleTexture(p,h)||a.addTexture(p,h)};v||(v=f[f.length-1]),v||(v=y()),v.width-v.usedWidthr;N--)D=a.getElement(e,t,n,N,cu.downscale);C()}else{var A;if(!x&&!w&&!E)for(var L=r-1;L>=-4;L--){var k=l.get(e,L);if(k){A=k;break}}if(b(A))return a.queueElement(e,r),A;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,d,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return g={x:v.usedWidth,texture:v,level:r,scale:u,width:h,height:c,scaledLabelShown:d},v.usedWidth+=Math.ceil(h+8),v.eleCaches.push(g),l.set(e,r,g),a.checkTextureFullness(v),g},pu.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},pu.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Ze(t,e):e.fullnessChecks++},pu.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;Ze(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qe(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Ze(r,a),n.push(a),a}},pu.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},pu.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=a.hasCache(u,s.level);if(r[l]=null,!c){i.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,cu.dequeue)}}return i},pu.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=Fe,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},pu.onDequeue=function(e){this.onDequeues.push(e)},pu.offDequeue=function(e){Ze(this.onDequeues,e)},pu.setupDequeueing=lu({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Ze(c,o)}}();var h=function(t){var i=(t=t||{}).after;if(function(){if(!o){o=Ot();for(var t=0;t16e6)return null;var a=r.makeLayer(o,n);if(null!=i){var s=c.indexOf(i)+1;c.splice(s,0,a)}else(void 0===t.insert||t.insert)&&c.unshift(a);return a};if(r.skipping&&!a)return null;for(var d=null,p=e.length/1,g=!a,f=0;f=p||!Yt(d.bb,v.boundingBox()))&&!(d=h({insert:!0,after:d})))return null;s||g?r.queueLayer(d,v):r.drawEleInLayer(d,v,n,t),d.eles.push(v),m[n]=d}}return s||(g?null:c)},fu.getEleLevelForLayerLevel=function(e,t){return e},fu.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,true),i.setImgSmoothing(a,!0))},fu.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},fu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},fu.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Te(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},fu.invalidateLayer=function(e){if(this.lastInvalidationTime=Te(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ze(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,g=t.pstyle("line-cap").value,f=u*c,v=u*c,y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;"straight-triangle"===h?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=g,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var b=t.pstyle("ghost-offset-x").pfValue,x=t.pstyle("ghost-offset-y").pfValue,w=t.pstyle("ghost-opacity").value,E=f*w;e.translate(b,x),y(E),m(E),e.translate(-b,-x)}i&&o.drawEdgeUnderlay(e,t),y(),m(),i&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},Mu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||a?t.lineCap="round":t.lineCap="butt",i.colorStrokeStyle(t,l[0],l[1],l[2],r),i.drawEdgePath(n,t,o.allpts,"solid")}}}};Iu.drawEdgeOverlay=Mu("overlay"),Iu.drawEdgeUnderlay=Mu("underlay"),Iu.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,g=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,g,a),t.isEdge()&&(o.drawText(e,t,"source",g,a),o.drawText(e,t,"target",g,a))):o.drawText(e,t,i,g,a),n&&e.translate(p.x1,p.y1)},Pu.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},Pu.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=Je(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},Pu.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=Je(a,"labelX",n),c=Je(a,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,i);var d,p=n?n+"-":"",g=Je(a,"labelWidth",n),f=Je(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(d),u=0,c=0),x){case"top":break;case"center":c+=f/2;break;case"bottom":c+=f}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,_=t.pstyle("text-border-width").pfValue,T=t.pstyle("text-background-padding").pfValue;if(w>0||_>0&&E>0){var D=u-T;switch(b){case"left":D-=g;break;case"center":D-=g/2}var C=c-f-T,N=g+2*T,A=f+2*T;if(w>0){var L=e.fillStyle,k=t.pstyle("text-background-color").value;e.fillStyle="rgba("+k[0]+","+k[1]+","+k[2]+","+w*o+")",0===t.pstyle("text-background-shape").strValue.indexOf("round")?function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}(e,D,C,N,A,2):e.fillRect(D,C,N,A),e.fillStyle=L}if(_>0&&E>0){var S=e.strokeStyle,I=e.lineWidth,M=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+E*o+")",e.lineWidth=_,e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=_/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(D,C,N,A),"double"===O){var P=_/2;e.strokeRect(D+P,C+P,N-2*P,A-2*P)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=S}}var R=2*t.pstyle("text-outline-width").pfValue;if(R>0&&(e.lineWidth=R),"wrap"===t.pstyle("text-wrap").value){var B=Je(a,"labelWrapCachedLines",n),F=Je(a,"labelLineHeight",n),z=g/2,G=this.getLabelJustification(t);switch("auto"===G||("left"===b?"left"===G?u+=-g:"center"===G&&(u+=-z):"center"===b?"left"===G?u+=-z:"right"===G&&(u+=z):"right"===b&&("center"===G?u+=z:"right"===G&&(u+=g))),x){case"top":case"center":case"bottom":c-=(B.length-1)*F}for(var Y=0;Y0&&e.strokeText(B[Y],u,c),e.fillText(B[Y],u,c),c+=F}else R>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var Ru={drawNode:function(e,t,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,h=t.position();if(b(h.x)&&b(h.y)&&(!s||t.visible())){var d,p,g=s?t.effectiveOpacity():1,f=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,x=new Array(m.length),w=new Array(m.length),E=0,_=0;_0&&void 0!==arguments[0]?arguments[0]:A;l.eleFillStyle(e,t,n)},M=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;l.colorStrokeStyle(e,L[0],L[1],L[2],t)},O=t.pstyle("shape").strValue,P=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var R=l.nodePathCache=l.nodePathCache||[],B=Me("polygon"===O?O+","+P.join(","):O,""+i,""+r),F=R[B];null!=F?(d=F,v=!0,c.pathCache=d):(d=new Path2D,R[B]=c.pathCache=d)}var z=function(){if(!v){var n=h;f&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,r,i)}f?e.fill(d):e.fill()},G=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(f||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,r,i)))},X=function(){var t=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(l.colorFillStyle(e,n,n,n,t),f?e.fill(d):e.fill())},V=function(){if(N>0){if(e.lineWidth=N,e.lineCap="butt",e.setLineDash)switch(k){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(f?e.stroke(d):e.stroke(),"double"===k){e.lineWidth=N/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var U=t.pstyle("ghost-offset-x").pfValue,j=t.pstyle("ghost-offset-y").pfValue,q=t.pstyle("ghost-opacity").value,H=q*g;e.translate(U,j),I(q*A),z(),G(H,!0),M(q*S),V(),Y(0!==C||0!==N),G(H,!1),X(H),e.translate(-U,-j)}f&&e.translate(-h.x,-h.y),o&&l.drawNodeUnderlay(e,t,h,r,i),f&&e.translate(h.x,h.y),I(),z(),G(g,!0),M(),V(),Y(0!==C||0!==N),G(g,!1),X(),f&&e.translate(-h.x,-h.y),l.drawElementText(e,t,null,a),o&&l.drawNodeOverlay(e,t,h,r,i),n&&e.translate(p.x1,p.y1)}}},Bu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n,r,i,a){if(n.visible()){var o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-opacity")).value,l=n.pstyle("".concat(e,"-color")).value,u=n.pstyle("".concat(e,"-shape")).value;if(s>0){if(r=r||n.position(),null==i||null==a){var c=n.padding();i=n.width()+2*c,a=n.height()+2*c}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o),t.fill()}}}};Ru.drawNodeOverlay=Bu("overlay"),Ru.drawNodeUnderlay=Bu("underlay"),Ru.hasPie=function(e){return(e=e[0])._private.hasPie},Ru.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var p=t.pstyle("pie-"+d+"-background-size").value,g=t.pstyle("pie-"+d+"-background-color").value,f=t.pstyle("pie-"+d+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,m=y+2*Math.PI*v;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],f),e.fill(),h+=v)}};var Fu={};Fu.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Fu.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==i?i:b,w=l.pan(),E={x:w.x,y:w.y},_={zoom:b,pan:{x:w.x,y:w.y}},T=o.prevViewport;void 0===T||_.zoom!==T.zoom||_.pan.x!==T.pan.x||_.pan.y!==T.pan.y||f&&!g||(o.motionBlurPxRatio=1),a&&(E=a),x*=s,E.x*=s,E.y*=s;var D=o.getCachedZSortedEles();function C(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function N(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,h=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,h):t||void 0!==r&&!r||e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var L=u.contexts[o.NODE],k=o.textureCache.texture;_=o.textureCache.viewport,L.setTransform(1,0,0,1,0,0),d?C(L,0,0,_.width,_.height):L.clearRect(0,0,_.width,_.height);var S=m.core("outside-texture-bg-color").value,I=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(L,S[0],S[1],S[2],I),L.fillRect(0,0,_.width,_.height),b=l.zoom(),N(L,!1),L.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),L.drawImage(k,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var M=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&O,R=[];if(R[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||R[o.NODE]){var B=d&&!R[o.NODE]&&1!==p;N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.nondrag,s,M):o.drawLayeredElements(L,D.nondrag,s,M),o.debug&&o.drawDebugPoints(L,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||R[o.DRAG])&&(B=d&&!R[o.DRAG]&&1!==p,N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.drag,s,M):o.drawCachedElements(L,D.drag,s,M),o.debug&&o.drawDebugPoints(L,D.drag),n||d||(c[o.DRAG]=!1)),o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(N(L=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var F=m.core("selection-box-border-width").value/b;L.lineWidth=F,L.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",L.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),F>0&&(L.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",L.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){b=o.cy.zoom();var z=u.bgActivePosistion;L.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",L.beginPath(),L.arc(z.x,z.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),L.fill()}var G=o.lastRedrawTime;if(o.showFps&&G){G=Math.round(G);var Y=Math.round(1e3/G);L.setTransform(1,0,0,1,0,0),L.fillStyle="rgba(255, 0, 0, 0.75)",L.strokeStyle="rgba(255, 0, 0, 0.75)",L.lineWidth=1,L.fillText("1 frame = "+G+" ms = "+Y+" fps",0,20);L.strokeRect(0,30,250,20),L.fillRect(0,30,250*Math.min(Y/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],V=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],U=u.contexts[o.DRAG],j=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],q=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||R[o.NODE])&&(q(X,V,R[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||R[o.DRAG])&&(q(U,j,R[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")};for(var zu={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var g=t.pan(),f={x:g.x*l,y:g.y*l};l*=t.zoom(),d.translate(f.x,f.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-f.x,-f.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},qu.png=function(e){return Wu(e,this.bufferCanvasImage(e),"image/png")},qu.jpg=function(e){return Wu(e,this.bufferCanvasImage(e),"image/jpeg")};var $u=Zu,Ku=Zu.prototype;function Zu(e){var t=this;t.data={canvases:new Array(Ku.CANVAS_LAYERS),contexts:new Array(Ku.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Ku.CANVAS_LAYERS),bufferCanvases:new Array(Ku.BUFFER_COUNT),bufferContexts:new Array(Ku.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};u&&u.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;st&&(this.rect.x-=(this.labelWidth-t)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(e){var t=this.rect.x;t>o.WORLD_BOUNDARY?t=o.WORLD_BOUNDARY:t<-o.WORLD_BOUNDARY&&(t=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var r=new l(t,n),i=e.inverseTransformPoint(r);this.setLocation(i.x,i.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},e.exports=u},function(e,t,n){"use strict";function r(e,t){null==e&&null==t?(this.x=0,this.y=0):(this.x=e,this.y=t)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(e){this.x=e},r.prototype.setY=function(e){this.y=e},r.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},e.exports=r},function(e,t,n){"use strict";var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),l=n(1),u=n(13),c=n(12),h=n(11);function d(e,t,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=e,null!=t&&t instanceof o?this.graphManager=t:null!=t&&t instanceof Layout&&(this.graphManager=t.graphManager)}for(var p in d.prototype=Object.create(r.prototype),r)d[p]=r[p];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(e,t,n){if(null==t&&null==n){var r=e;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=e;if(!(this.getNodes().indexOf(t)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(t.owner!=n.owner||t.owner!=this)throw"Both owners must be this graph!";return t.owner!=n.owner?null:(i.source=t,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),t.edges.push(i),n!=t&&n.edges.push(i),i)},d.prototype.remove=function(e){var t=e;if(e instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=t.edges.slice(),r=n.length,i=0;i-1&&c>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(c,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},d.prototype.updateLeftTop=function(){for(var e,t,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,l=0;l(e=u.getTop())&&(r=e),a>(t=u.getLeft())&&(a=t)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new c(this.left,this.top))},d.prototype.updateBounds=function(e){for(var t,n,r,a,o,s=i.MAX_VALUE,l=-i.MAX_VALUE,c=i.MAX_VALUE,h=-i.MAX_VALUE,d=this.nodes,p=d.length,g=0;g(t=f.getLeft())&&(s=t),l<(n=f.getRight())&&(l=n),c>(r=f.getTop())&&(c=r),h<(a=f.getBottom())&&(h=a)}var v=new u(s,c,l-s,h-c);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=d[0].getParent().paddingLeft?d[0].getParent().paddingLeft:this.margin,this.left=v.x-o,this.right=v.x+v.width+o,this.top=v.y-o,this.bottom=v.y+v.height+o},d.calculateBounds=function(e){for(var t,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,l=i.MAX_VALUE,c=-i.MAX_VALUE,h=e.length,d=0;d(t=p.getLeft())&&(o=t),s<(n=p.getRight())&&(s=n),l>(r=p.getTop())&&(l=r),c<(a=p.getBottom())&&(c=a)}return new u(o,l,s-o,c-l)},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var e=0,t=this.nodes,n=t.length,r=0;r=this.nodes.length){var l=0;i.forEach((function(t){t.owner==e&&l++})),l==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},e.exports=d},function(e,t,n){"use strict";var r,i=n(1);function a(e){r=n(5),this.layout=e,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var e=this.layout.newGraph(),t=this.layout.newNode(null),n=this.add(e,t);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(e,t,n,r,i){if(null==n&&null==r&&null==i){if(null==e)throw"Graph is null!";if(null==t)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),null!=e.parent)throw"Already has a parent!";if(null!=t.child)throw"Already has a child!";return e.parent=t,t.child=e,e}i=n,n=e;var a=(r=t).getOwner(),o=i.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(e){if(e instanceof r){var t=e;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(t.getEdges())).length,s=0;s=t.getRight()?n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight()):t.getX()<=e.getX()&&t.getRight()>=e.getRight()&&(n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight())),e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()?n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()):t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()&&(n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()));var a=Math.abs((t.getCenterY()-e.getCenterY())/(t.getCenterX()-e.getCenterX()));t.getCenterY()===e.getCenterY()&&t.getCenterX()===e.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]o)return n[0]=r,n[1]=l,n[2]=a,n[3]=b,!1;if(ia)return n[0]=s,n[1]=i,n[2]=y,n[3]=o,!1;if(ra?(n[0]=c,n[1]=h,_=!0):(n[0]=u,n[1]=l,_=!0):D===N&&(r>a?(n[0]=s,n[1]=l,_=!0):(n[0]=d,n[1]=h,_=!0)),-C===N?a>r?(n[2]=m,n[3]=b,T=!0):(n[2]=y,n[3]=v,T=!0):C===N&&(a>r?(n[2]=f,n[3]=v,T=!0):(n[2]=x,n[3]=b,T=!0)),_&&T)return!1;if(r>a?i>o?(A=this.getCardinalDirection(D,N,4),L=this.getCardinalDirection(C,N,2)):(A=this.getCardinalDirection(-D,N,3),L=this.getCardinalDirection(-C,N,1)):i>o?(A=this.getCardinalDirection(-D,N,1),L=this.getCardinalDirection(-C,N,3)):(A=this.getCardinalDirection(D,N,2),L=this.getCardinalDirection(C,N,4)),!_)switch(A){case 1:S=l,k=r+-g/N,n[0]=k,n[1]=S;break;case 2:k=d,S=i+p*N,n[0]=k,n[1]=S;break;case 3:S=h,k=r+g/N,n[0]=k,n[1]=S;break;case 4:k=c,S=i+-p*N,n[0]=k,n[1]=S}if(!T)switch(L){case 1:M=v,I=a+-E/N,n[2]=I,n[3]=M;break;case 2:I=x,M=o+w*N,n[2]=I,n[3]=M;break;case 3:M=b,I=a+E/N,n[2]=I,n[3]=M;break;case 4:I=m,M=o+-w*N,n[2]=I,n[3]=M}}return!1},i.getCardinalDirection=function(e,t,n){return e>t?n:1+n%4},i.getIntersection=function(e,t,n,i){if(null==i)return this.getIntersection2(e,t,n);var a,o,s,l,u,c,h,d=e.x,p=e.y,g=t.x,f=t.y,v=n.x,y=n.y,m=i.x,b=i.y;return 0==(h=(a=f-p)*(l=v-m)-(o=b-y)*(s=d-g))?null:new r((s*(c=m*y-v*b)-l*(u=g*p-d*f))/h,(o*u-a*c)/h)},i.angleOfVector=function(e,t,n,r){var i=void 0;return e!==n?(i=Math.atan((r-t)/(n-e)),n0?1:e<0?-1:0},r.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},r.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},e.exports=r},function(e,t,n){"use strict";function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0&&t;){for(s.push(u[0]);s.length>0&&t;){var c=s[0];s.splice(0,1),o.add(c);var h=c.getEdges();for(a=0;a-1&&u.splice(f,1)}o=new Set,l=new Map}else e=[]}return e},d.prototype.createDummyNodesForBendpoints=function(e){for(var t=[],n=e.source,r=this.graphManager.calcLowestCommonAncestor(e.source,e.target),i=0;i0){for(var i=this.edgeToDummyNodes.get(n),a=0;a=0&&t.splice(h,1),c.getNeighborsList().forEach((function(e){if(n.indexOf(e)<0){var t=r.get(e)-1;1==t&&l.push(e),r.set(e,t)}}))}n=n.concat(l),1!=t.length&&2!=t.length||(i=!0,a=t[0])}return a},d.prototype.setGraphManager=function(e){this.graphManager=e},e.exports=d},function(e,t,n){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},e.exports=r},function(e,t,n){"use strict";var r=n(4);function i(e,t){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(e){this.lworldExtX=e},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(e){this.lworldExtY=e},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},i.prototype.transformX=function(e){var t=0,n=this.lworldExtX;return 0!=n&&(t=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/n),t},i.prototype.transformY=function(e){var t=0,n=this.lworldExtY;return 0!=n&&(t=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/n),t},i.prototype.inverseTransformX=function(e){var t=0,n=this.ldeviceExtX;return 0!=n&&(t=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/n),t},i.prototype.inverseTransformY=function(e){var t=0,n=this.ldeviceExtY;return 0!=n&&(t=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/n),t},i.prototype.inverseTransformPoint=function(e){return new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y))},e.exports=i},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function l(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},l.prototype.calcIdealEdgeLengths=function(){for(var e,t,n,r,o,s,l=this.getGraphManager().getAllEdges(),u=0;ui.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(e>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},l.prototype.calcSpringForces=function(){for(var e,t=this.getAllEdges(),n=0;n0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,e=0;e(l=t.getEstimatedSize()*this.gravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i,e.gravitationForceY=-this.gravityConstant*a):(o>(l=t.getEstimatedSize()*this.compoundGravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,e.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},l.prototype.isConverged=function(){var e,t=!1;return this.totalIterations>this.maxIterations/3&&(t=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),e=this.totalDisplacement=s.length||u>=s[0].length))for(var c=0;ce}}]),e}();e.exports=a},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sequence1=t,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=t.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o=0;n--){var r=this.listeners[n];r.event===e&&r.callback===t&&this.listeners.splice(n,1)}},i.emit=function(e,t){for(var n=0;n2&&E.push("'"+this.terminals_[b]+"'");D=c.showPosition?"Parse error on line "+(s+1)+":\n"+c.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(D,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:p,expected:E})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+f);switch(y[0]){case 1:t.push(f),r.push(c.yytext),i.push(c.yylloc),t.push(y[1]),f=null,l=c.yyleng,o=c.yytext,s=c.yylineno,p=c.yylloc;break;case 2:if(x=this.productions_[y[1]][1],T.$=r[r.length-x],T._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},g&&(T._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[o,l,s,h.yy,y[1],r,i].concat(u))))return m;x&&(t=t.slice(0,-1*x*2),r=r.slice(0,-1*x),i=i.slice(0,-1*x)),t.push(this.productions_[y[1]][0]),r.push(T.$),i.push(T._$),w=a[t[t.length-2]][t[t.length-1]],t.push(w);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function b(){this.yy={}}return y.lexer=m,b.prototype=y,y.Parser=b,new b}());h.parser=h;const d=h,p=e=>(0,r.d)(e,(0,r.c)());let g=[],f=0,v={};const y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},m=(e,t)=>{v[e]=t},b=e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}};let x;const w=e=>v[e],E=Object.freeze(Object.defineProperty({__proto__:null,addNode:(e,t,n,i)=>{r.l.info("addNode",e,t,n,i);const a=(0,r.c)(),o={id:f++,nodeId:p(t),level:e,descr:p(n),type:i,children:[],width:(0,r.c)().mindmap.maxNodeWidth};switch(o.type){case y.ROUNDED_RECT:case y.RECT:case y.HEXAGON:o.padding=2*a.mindmap.padding;break;default:o.padding=a.mindmap.padding}const s=function(e){for(let t=g.length-1;t>=0;t--)if(g[t].level{g=[],f=0,v={}},decorateNode:e=>{const t=g[g.length-1];e&&e.icon&&(t.icon=p(e.icon)),e&&e.class&&(t.class=p(e.class))},getElementById:w,getLogger:()=>r.l,getMindmap:()=>g.length>0?g[0]:null,getNodeById:e=>g[e],getType:(e,t)=>{switch(r.l.debug("In get type",e,t),e){case"[":return y.RECT;case"(":return")"===t?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},nodeType:y,get parseError(){return x},sanitizeText:p,setElementForId:m,setErrorHandler:e=>{x=e},type2Str:b},Symbol.toStringTag,{value:"Module"}));function _(e,t,n,r){(function(e,t,n,r){const i=r.htmlLabels,o=n%11,s=e.append("g");t.section=o;let l="section-"+o;o<0&&(l+=" section-root"),s.attr("class",(t.class?t.class+" ":"")+"mindmap-node "+l);const u=s.append("g"),c=s.append("g"),h=t.descr.replace(/()/g,"\n");(0,a.c)(c,h,{useHtmlLabels:i,width:t.width,classes:"mindmap-node-label"}),i||c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const d=c.node().getBBox(),p=r.fontSize.replace?r.fontSize.replace("px",""):r.fontSize;if(t.height=d.height+1.1*p*.5+t.padding,t.width=d.width+2*t.padding,t.icon)if(t.type===y.CIRCLE)t.height+=50,t.width+=50,s.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+t.icon),c.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")");else{t.width+=50;const e=t.height;t.height=Math.max(e,60);const n=Math.abs(t.height-e);s.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+t.icon),c.attr("transform","translate("+(25+t.width/2)+", "+(n/2+t.padding/2)+")")}else if(i){const e=(t.width-d.width)/2,n=(t.height-d.height)/2;c.attr("transform","translate("+e+", "+n+")")}else{const e=t.width/2,n=t.padding/2;c.attr("transform","translate("+e+", "+n+")")}switch(t.type){case y.DEFAULT:!function(e,t,n){e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(u,t,o);break;case y.ROUNDED_RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("height",t.height).attr("rx",t.padding).attr("ry",t.padding).attr("width",t.width)}(u,t);break;case y.RECT:!function(e,t){e.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("height",t.height).attr("width",t.width)}(u,t);break;case y.CIRCLE:u.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),function(e,t){e.append("circle").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("r",t.width/2)}(u,t);break;case y.CLOUD:!function(e,t){const n=t.width,r=t.height,i=.15*n,a=.25*n,o=.35*n,s=.2*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 0 a${i},${i} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${i},${i} 1 0,1 ${.15*n},${1*r*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*r*.65}\n\n a${a},${i} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${i},${i} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${i},${i} 1 0,1 ${-1*n*.1},${-1*r*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*r*.65}\n\n H0 V0 Z`)}(u,t);break;case y.BANG:!function(e,t){const n=t.width,r=t.height,i=.15*n;e.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+b(t.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*n},${-1*r*.1}\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},0\n a${i},${i} 1 0,0 ${.25*n},${1*r*.1}\n\n a${i},${i} 1 0,0 ${.15*n},${1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*r*.34}\n a${i},${i} 1 0,0 ${-1*n*.15},${1*r*.33}\n\n a${i},${i} 1 0,0 ${-1*n*.25},${.15*r}\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},0\n a${i},${i} 1 0,0 ${-1*n*.25},${-1*r*.15}\n\n a${i},${i} 1 0,0 ${-1*n*.1},${-1*r*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*r*.34}\n a${i},${i} 1 0,0 ${.1*n},${-1*r*.33}\n\n H0 V0 Z`)}(u,t);break;case y.HEXAGON:!function(e,t){const n=t.height,r=n/4,i=t.width-t.padding+2*r;!function(e,t,n,r,i){e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("transform","translate("+(i.width-t)/2+", "+n+")")}(e,i,n,[{x:r,y:0},{x:i-r,y:0},{x:i,y:-n/2},{x:i-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],t)}(u,t)}m(t.id,s),t.height})(e,t,n,r),t.children&&t.children.forEach(((t,i)=>{_(e,t,n<0?i:n,r)}))}function T(e,t,n,r){t.add({group:"nodes",data:{id:e.id,labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach((i=>{T(i,t,n,r+1),t.add({group:"edges",data:{id:`${e.id}_${i.id}`,source:e.id,target:i.id,depth:r,section:i.section}})}))}function D(e,t){return new Promise((n=>{const a=(0,i.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=o({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),T(e,s,t,0),s.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),s.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),s.ready((e=>{r.l.info("Ready",e),n(s)}))}))}o.use(s);const C={db:E,renderer:{draw:async(e,t,n,a)=>{const o=(0,r.c)();o.htmlLabels=!1,a.db.clear(),a.parser.parse(e),r.l.debug("Rendering mindmap diagram\n"+e,a.parser);const s=(0,r.c)().securityLevel;let l;"sandbox"===s&&(l=(0,i.Ys)("#i"+t));const u=("sandbox"===s?(0,i.Ys)(l.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select("#"+t);u.append("g");const c=a.db.getMindmap(),h=u.append("g");h.attr("class","mindmap-edges");const d=u.append("g");d.attr("class","mindmap-nodes"),_(d,c,-1,o);const p=await D(c,o);!function(e,t){t.edges().map(((t,n)=>{const i=t.data();if(t[0]._private.bodyBounds){const a=t[0]._private.rscratch;r.l.trace("Edge: ",n,i),e.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}(h,p),function(e){e.nodes().map(((e,t)=>{const n=e.data();n.x=e.position().x,n.y=e.position().y,function(e){const t=w(e.id),n=e.x||0,r=e.y||0;t.attr("transform","translate("+n+","+r+")")}(n);const i=w(n.nodeId);r.l.info("Id:",t,"Position: (",e.position().x,", ",e.position().y,")",n),i.attr("transform",`translate(${e.position().x-n.width/2}, ${e.position().y-n.height/2})`),i.attr("attr",`apa-${t})`)}))}(p),(0,r.p)(void 0,u,o.mindmap.padding,o.mindmap.useMaxWidth)}},parser:d,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let t=0;t2&&x.push("'"+this.terminals_[k]+"'");E=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:y,expected:x})}if(d[0]instanceof Array&&d.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(d[0]){case 1:e.push(g),r.push(h.yytext),c.push(h.yylloc),e.push(d[1]),g=null,o=h.yyleng,s=h.yytext,a=h.yylineno,y=h.yylloc;break;case 2:if(_=this.productions_[d[1]][1],w.$=r[r.length-_],w._$={first_line:c[c.length-(_||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(_||1)].first_column,last_column:c[c.length-1].last_column},p&&(w._$.range=[c[c.length-(_||1)].range[0],c[c.length-1].range[1]]),void 0!==(f=this.performAction.apply(w,[s,o,a,m.yy,d[1],r,c].concat(l))))return f;_&&(e=e.slice(0,-1*_*2),r=r.slice(0,-1*_),c=c.slice(0,-1*_)),e.push(this.productions_[d[1]][0]),r.push(w.$),c.push(w._$),$=n[e[e.length-2]][e[e.length-1]],e.push($);break;case 3:return!0}}return!0}},x={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var c=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[c[0],c[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,r,c;if(this.options.backtrack_lexer&&(c={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(c.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in c)this[n]=c[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var c=this._currentRules(),n=0;ne[0].length)){if(e=i,r=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,c[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,c[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,r){switch(i){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};function v(){this.yy={}}return $.lexer=x,v.prototype=$,$.Parser=v,new v}());n.parser=n;const s=n;let a=(0,r.c)().gitGraph.mainBranchName,o=(0,r.c)().gitGraph.mainBranchOrder,l={},h=null,m={};m[a]={name:a,order:o};let u={};u[a]=h;let y=a,p="LR",g=0;function b(){return(0,r.y)({length:7})}let d={};const f=function(t){if(t=r.e.sanitizeText(t,(0,r.c)()),void 0===u[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{y=t;const e=u[y];h=l[e]}};function k(t,e,i){const r=t.indexOf(e);-1===r?t.push(i):t.splice(r,1,i)}function _(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let i="";t.forEach((function(t){i+=t===e?"\t*":"\t|"}));const c=[i,e.id,e.seq];for(let t in u)u[t]===e.id&&c.push(t);if(r.l.debug(c.join(" ")),e.parents&&2==e.parents.length){const i=l[e.parents[0]];k(t,e,i),t.push(l[e.parents[1]])}else{if(0==e.parents.length)return;{const i=l[e.parents];k(t,e,i)}}_(t=function(t,e){const i=Object.create(null);return t.reduce(((t,e)=>{const r=e.id;return i[r]||(i[r]=!0,t.push(e)),t}),[])}(t))}const $=function(){const t=Object.keys(l).map((function(t){return l[t]}));return t.forEach((function(t){r.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},v={parseDirective:function(t,e,i){r.m.parseDirective(this,t,e,i)},getConfig:()=>(0,r.c)().gitGraph,setDirection:function(t){p=t},setOptions:function(t){r.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{d=JSON.parse(t)}catch(t){r.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return d},commit:function(t,e,i,c){r.l.debug("Entering commit:",t,e,i,c),e=r.e.sanitizeText(e,(0,r.c)()),t=r.e.sanitizeText(t,(0,r.c)()),c=r.e.sanitizeText(c,(0,r.c)());const n={id:e||g+"-"+b(),message:t,seq:g++,type:i||x.NORMAL,tag:c||"",parents:null==h?[]:[h.id],branch:y};h=n,l[n.id]=n,u[y]=n.id,r.l.debug("in pushCommit "+n.id)},branch:function(t,e){if(t=r.e.sanitizeText(t,(0,r.c)()),void 0!==u[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}u[t]=null!=h?h.id:null,m[t]={name:t,order:e?parseInt(e,10):null},f(t),r.l.debug("in createBranch")},merge:function(t,e,i,c){t=r.e.sanitizeText(t,(0,r.c)()),e=r.e.sanitizeText(e,(0,r.c)());const n=l[u[y]],s=l[u[t]];if(y===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===n||!n){let e=new Error('Incorrect usage of "merge". Current branch ('+y+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===u[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===s||!s){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(n===s){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==l[e]){let r=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw r.hash={text:"merge "+t+e+i+c,token:"merge "+t+e+i+c,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+i+" "+c]},r}const a={id:e||g+"-"+b(),message:"merged branch "+t+" into "+y,seq:g++,parents:[null==h?null:h.id,u[t]],branch:y,type:x.MERGE,customType:i,customId:!!e,tag:c||""};h=a,l[a.id]=a,u[y]=a.id,r.l.debug(u),r.l.debug("in mergeBranch")},cherryPick:function(t,e,i){if(r.l.debug("Entering cherryPick:",t,e,i),t=r.e.sanitizeText(t,(0,r.c)()),e=r.e.sanitizeText(e,(0,r.c)()),i=r.e.sanitizeText(i,(0,r.c)()),!t||void 0===l[t]){let i=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw i.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},i}let c=l[t],n=c.branch;if(c.type===x.MERGE){let i=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw i.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},i}if(!e||void 0===l[e]){if(n===y){let i=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw i.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},i}const s=l[u[y]];if(void 0===s||!s){let i=new Error('Incorrect usage of "cherry-pick". Current branch ('+y+")has no commits");throw i.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},i}const a={id:g+"-"+b(),message:"cherry-picked "+c+" into "+y,seq:g++,parents:[null==h?null:h.id,c.id],branch:y,type:x.CHERRY_PICK,tag:i??"cherry-pick:"+c.id};h=a,l[a.id]=a,u[y]=a.id,r.l.debug(u),r.l.debug("in cherryPick")}},checkout:f,prettyPrint:function(){r.l.debug(l),_([$()[0]])},clear:function(){l={},h=null;let t=(0,r.c)().gitGraph.mainBranchName,e=(0,r.c)().gitGraph.mainBranchOrder;u={},u[t]=null,m={},m[t]={name:t,order:e},y=t,g=0,(0,r.v)()},getBranchesAsObjArray:function(){return Object.values(m).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})))},getBranches:function(){return u},getCommits:function(){return l},getCommitsArray:$,getCurrentBranch:function(){return y},getDirection:function(){return p},getHead:function(){return h},setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,setDiagramTitle:r.r,getDiagramTitle:r.t,commitType:x};let w={};let E={},T={},L=[],M=0;const I=(t,e,i)=>{const c=(0,r.z)().gitGraph,n=t.append("g").attr("class","commit-bullets"),s=t.append("g").attr("class","commit-labels");let a=0;Object.keys(e).sort(((t,i)=>e[t].seq-e[i].seq)).forEach((t=>{const r=e[t],o=E[r.branch].pos,l=a+10;if(i){let t,e=void 0!==r.customType&&""!==r.customType?r.customType:r.type;switch(e){case 0:default:t="commit-normal";break;case 1:t="commit-reverse";break;case 2:t="commit-highlight";break;case 3:t="commit-merge";break;case 4:t="commit-cherry-pick"}if(2===e){const e=n.append("rect");e.attr("x",l-10),e.attr("y",o-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${r.id} commit-highlight${E[r.branch].index%8} ${t}-outer`),n.append("rect").attr("x",l-6).attr("y",o-6).attr("height",12).attr("width",12).attr("class",`commit ${r.id} commit${E[r.branch].index%8} ${t}-inner`)}else if(4===e)n.append("circle").attr("cx",l).attr("cy",o).attr("r",10).attr("class",`commit ${r.id} ${t}`),n.append("circle").attr("cx",l-3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${t}`),n.append("circle").attr("cx",l+3).attr("cy",o+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${t}`),n.append("line").attr("x1",l+3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${t}`),n.append("line").attr("x1",l-3).attr("y1",o+1).attr("x2",l).attr("y2",o-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${t}`);else{const i=n.append("circle");if(i.attr("cx",l),i.attr("cy",o),i.attr("r",3===r.type?9:10),i.attr("class",`commit ${r.id} commit${E[r.branch].index%8}`),3===e){const e=n.append("circle");e.attr("cx",l),e.attr("cy",o),e.attr("r",6),e.attr("class",`commit ${t} ${r.id} commit${E[r.branch].index%8}`)}1===e&&n.append("path").attr("d",`M ${l-5},${o-5}L${l+5},${o+5}M${l-5},${o+5}L${l+5},${o-5}`).attr("class",`commit ${t} ${r.id} commit${E[r.branch].index%8}`)}}if(T[r.id]={x:a+10,y:o},i){const t=4,e=2;if(4!==r.type&&(r.customId&&3===r.type||3!==r.type)&&c.showCommitLabel){const t=s.append("g"),i=t.insert("rect").attr("class","commit-label-bkg"),n=t.append("text").attr("x",a).attr("y",o+25).attr("class","commit-label").text(r.id);let l=n.node().getBBox();if(i.attr("x",a+10-l.width/2-e).attr("y",o+13.5).attr("width",l.width+2*e).attr("height",l.height+2*e),n.attr("x",a+10-l.width/2),c.rotateCommitLabel){let e=-7.5-(l.width+10)/25*9.5,i=10+l.width/25*8.5;t.attr("transform","translate("+e+", "+i+") rotate(-45, "+a+", "+o+")")}}if(r.tag){const i=s.insert("polygon"),c=s.append("circle"),n=s.append("text").attr("y",o-16).attr("class","tag-label").text(r.tag);let l=n.node().getBBox();n.attr("x",a+10-l.width/2);const h=l.height/2,m=o-19.2;i.attr("class","tag-label-bkg").attr("points",`\n ${a-l.width/2-t/2},${m+e}\n ${a-l.width/2-t/2},${m-e}\n ${a+10-l.width/2-t},${m-h-e}\n ${a+10+l.width/2+t},${m-h-e}\n ${a+10+l.width/2+t},${m+h+e}\n ${a+10-l.width/2-t},${m+h+e}`),c.attr("cx",a-l.width/2+t/2).attr("cy",m).attr("r",1.5).attr("class","tag-hole")}}a+=50,a>M&&(M=a)}))},A=(t,e,i=0)=>{const r=t+Math.abs(t-e)/2;if(i>5)return r;if(L.every((t=>Math.abs(t-r)>=10)))return L.push(r),r;const c=Math.abs(t-e);return A(t,e-c/5,i+1)},O={parser:s,db:v,renderer:{draw:function(t,e,i,n){E={},T={},w={},M=0,L=[];const s=(0,r.z)(),a=s.gitGraph;r.l.debug("in gitgraph renderer",t+"\n","id:",e,i),w=n.db.getCommits();const o=n.db.getBranchesAsObjArray();let l=0;o.forEach(((t,e)=>{E[t.name]={pos:l,index:e},l+=50+(a.rotateCommitLabel?40:0)}));const h=(0,c.Ys)(`[id="${e}"]`);I(h,w,!1),a.showBranches&&((t,e)=>{const i=(0,r.z)().gitGraph,c=t.append("g");e.forEach(((t,e)=>{const r=e%8,n=E[t.name].pos,s=c.append("line");s.attr("x1",0),s.attr("y1",n),s.attr("x2",M),s.attr("y2",n),s.attr("class","branch branch"+r),L.push(n);const a=(t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let i=[];i="string"==typeof t?t.split(/\\n|\n|/gi):Array.isArray(t)?t:[];for(const t of i){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=t.trim(),e.appendChild(i)}return e})(t.name),o=c.insert("rect"),l=c.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+r);l.node().appendChild(a);let h=a.getBBox();o.attr("class","branchLabelBkg label"+r).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(!0===i.rotateCommitLabel?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),l.attr("transform","translate("+(-h.width-14-(!0===i.rotateCommitLabel?30:0))+", "+(n-h.height/2-1)+")"),o.attr("transform","translate(-19, "+(n-h.height/2)+")")}))})(h,o),((t,e)=>{const i=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const r=e[t];r.parents&&r.parents.length>0&&r.parents.forEach((t=>{((t,e,i,r)=>{const c=T[e.id],n=T[i.id],s=((t,e,i)=>Object.keys(i).filter((r=>i[r].branch===e.branch&&i[r].seq>t.seq&&i[r].seq0)(e,i,r);let a,o="",l="",h=0,m=0,u=E[i.branch].index;if(s){o="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",h=10,m=10,u=E[i.branch].index;const t=c.yn.y&&(o="A 20 20, 0, 0, 0,",h=20,m=20,u=E[e.branch].index,a=`M ${c.x} ${c.y} L ${n.x-h} ${c.y} ${o} ${n.x} ${c.y-m} L ${n.x} ${n.y}`),c.y===n.y&&(u=E[e.branch].index,a=`M ${c.x} ${c.y} L ${c.x} ${n.y-h} ${o} ${c.x+m} ${n.y} L ${n.x} ${n.y}`);t.append("path").attr("d",a).attr("class","arrow arrow"+u%8)})(i,e[t],r,e)}))}))})(h,w),I(h,w,!0),r.u.insertTitle(h,"gitTitleText",a.titleTopMargin,n.db.getDiagramTitle()),(0,r.A)(void 0,h,a.diagramPadding,a.useMaxWidth??s.useMaxWidth)}},styles:t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/980-8efa2815.chunk.min.js b/docs/themes/geekdoc/static/js/980-8efa2815.chunk.min.js new file mode 100644 index 000000000..ef459dbfd --- /dev/null +++ b/docs/themes/geekdoc/static/js/980-8efa2815.chunk.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgeekdoc=self.webpackChunkgeekdoc||[]).push([[980],{7980:function(e,t,s){s.d(t,{diagram:function(){return N}});var o=s(2902),r=s(5625),a=s(5740),i=s(5103),n=s(2759);s(7484),s(7967),s(7856),s(9451),s(9368);const d="rect",c="rectWithTitle",l="statediagram",p=`${l}-state`,g="transition",b=`${g} note-edge`,h=`${l}-note`,u=`${l}-cluster`,y=`${l}-cluster-alt`,f="parent",w="note",x="----",$=`${x}${w}`,m=`${x}${f}`,T="fill:none",k="fill: #333",S="text",D="normal";let A={},v=0;function B(e="",t=0,s="",o=x){return`state-${e}${null!==s&&s.length>0?`${o}${s}`:""}-${t}`}const E=(e,t,s,r,a,n)=>{const l=s.id,g=null==(x=r[l])?"":x.classes?x.classes.join(" "):"";var x;if("root"!==l){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==o.D&&(t=s.type),A[l]||(A[l]={id:l,shape:t,description:i.e.sanitizeText(l,(0,i.c)()),classes:`${g} ${p}`});const r=A[l];s.description&&(Array.isArray(r.description)?(r.shape=c,r.description.push(s.description)):r.description.length>0?(r.shape=c,r.description===l?r.description=[s.description]:r.description=[r.description,s.description]):(r.shape=d,r.description=s.description),r.description=i.e.sanitizeTextOrArray(r.description,(0,i.c)())),1===r.description.length&&r.shape===c&&(r.shape=d),!r.type&&s.doc&&(i.l.info("Setting cluster for ",l,R(s)),r.type="group",r.dir=R(s),r.shape=s.type===o.a?"divider":"roundedWithTitle",r.classes=r.classes+" "+u+" "+(n?y:""));const a={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:l,dir:r.dir,domId:B(l,v),type:r.type,padding:15,centerLabel:!0};if(s.note){const t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:l+$+"-"+v,domId:B(l,v,w),type:r.type,padding:15},o={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:r.classes,style:"",id:l+m,domId:B(l,v,f),type:"group",padding:0};v++;const i=l+m;e.setNode(i,o),e.setNode(t.id,t),e.setNode(l,a),e.setParent(l,i),e.setParent(t.id,i);let n=l,d=t.id;"left of"===s.note.position&&(n=t.id,d=l),e.setEdge(n,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:b,arrowheadStyle:k,labelpos:"c",labelType:S,thickness:D})}else e.setNode(l,a)}t&&"root"!==t.id&&(i.l.trace("Setting node ",l," to be child of its parent ",t.id),e.setParent(l,t.id)),s.doc&&(i.l.trace("Adding nodes children "),C(e,s,s.doc,r,a,!n))},C=(e,t,s,r,a,n)=>{i.l.trace("items",s),s.forEach((s=>{switch(s.stmt){case o.b:case o.D:E(e,t,s,r,a,n);break;case o.S:{E(e,t,s.state1,r,a,n),E(e,t,s.state2,r,a,n);const o={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:i.e.sanitizeText(s.description,(0,i.c)()),arrowheadStyle:k,labelpos:"c",labelType:S,thickness:D,classes:g};e.setEdge(s.state1.id,s.state2.id,o,v),v++}}}))},R=(e,t=o.c)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}]); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/colortheme-d3e4d351.bundle.min.js b/docs/themes/geekdoc/static/js/colortheme-d3e4d351.bundle.min.js new file mode 100644 index 000000000..13198f667 --- /dev/null +++ b/docs/themes/geekdoc/static/js/colortheme-d3e4d351.bundle.min.js @@ -0,0 +1 @@ +!function(){var t={1860:function(t){var e,n,r,i;e=this,n=this&&this.define,r={version:"2.14.2",areas:{},apis:{},nsdelim:".",inherit:function(t,e){for(var n in t)e.hasOwnProperty(n)||Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e},stringify:function(t,e){return void 0===t||"function"==typeof t?t+"":JSON.stringify(t,e||r.replace)},parse:function(t,e){try{return JSON.parse(t,e||r.revive)}catch(e){return t}},fn:function(t,e){for(var n in r.storeAPI[t]=e,r.apis)r.apis[n][t]=e},get:function(t,e){return t.getItem(e)},set:function(t,e,n){t.setItem(e,n)},remove:function(t,e){t.removeItem(e)},key:function(t,e){return t.key(e)},length:function(t){return t.length},clear:function(t){t.clear()},Store:function(t,e,n){var i=r.inherit(r.storeAPI,(function(t,e,n){return 0===arguments.length?i.getAll():"function"==typeof e?i.transact(t,e,n):void 0!==e?i.set(t,e,n):"string"==typeof t||"number"==typeof t?i.get(t):"function"==typeof t?i.each(t):t?i.setAll(t,e):i.clear()}));i._id=t;try{var s="__store2_test";e.setItem(s,"ok"),i._area=e,e.removeItem(s)}catch(t){i._area=r.storage("fake")}return i._ns=n||"",r.areas[t]||(r.areas[t]=i._area),r.apis[i._ns+i._id]||(r.apis[i._ns+i._id]=i),i},storeAPI:{area:function(t,e){var n=this[t];return n&&n.area||(n=r.Store(t,e,this._ns),this[t]||(this[t]=n)),n},namespace:function(t,e,n){if(n=n||this._delim||r.nsdelim,!t)return this._ns?this._ns.substring(0,this._ns.length-n.length):"";var i=t,s=this[i];if(!(s&&s.namespace||((s=r.Store(this._id,this._area,this._ns+i+n))._delim=n,this[i]||(this[i]=s),e)))for(var o in r.areas)s.area(o,r.areas[o]);return s},isFake:function(t){return t?(this._real=this._area,this._area=r.storage("fake")):!1===t&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(t){return this._area.has?this._area.has(this._in(t)):!!(this._in(t)in this._area)},size:function(){return this.keys().length},each:function(t,e){for(var n=0,i=r.length(this._area);nr.length(this._area)&&(i--,n--)}return e||this},keys:function(t){return this.each((function(t,e,n){n.push(t)}),t||[])},get:function(t,e){var n,i=r.get(this._area,this._in(t));return"function"==typeof e&&(n=e,e=null),null!==i?r.parse(i,n):null!=e?e:i},getAll:function(t){return this.each((function(t,e,n){n[t]=e}),t||{})},transact:function(t,e,n){var r=this.get(t,n),i=e(r);return this.set(t,void 0===i?r:i),this},set:function(t,e,n){var i,s=this.get(t);return null!=s&&!1===n?e:("function"==typeof n&&(i=n,n=void 0),r.set(this._area,this._in(t),r.stringify(e,i),n)||s)},setAll:function(t,e){var n,r;for(var i in t)r=t[i],this.set(i,r,e)!==r&&(n=!0);return n},add:function(t,e,n){var i=this.get(t);if(i instanceof Array)e=i.concat(e);else if(null!==i){var s=typeof i;if(s===typeof e&&"object"===s){for(var o in e)i[o]=e[o];e=i}else e=i+e}return r.set(this._area,this._in(t),r.stringify(e,n)),e},remove:function(t,e){var n=this.get(t,e);return r.remove(this._area,this._in(t)),n},clear:function(){return this._ns?this.each((function(t){r.remove(this._area,this._in(t))}),1):r.clear(this._area),this},clearAll:function(){var t=this._area;for(var e in r.areas)r.areas.hasOwnProperty(e)&&(this._area=r.areas[e],this.clear());return this._area=t,this},_in:function(t){return"string"!=typeof t&&(t=r.stringify(t)),this._ns?this._ns+t:t},_out:function(t){return this._ns?t&&0===t.indexOf(this._ns)?t.substring(this._ns.length):void 0:t}},storage:function(t){return r.inherit(r.storageAPI,{items:{},name:t})},storageAPI:{length:0,has:function(t){return this.items.hasOwnProperty(t)},key:function(t){var e=0;for(var n in this.items)if(this.has(n)&&t===e++)return n},setItem:function(t,e){this.has(t)||this.length++,this.items[t]=e},removeItem:function(t){this.has(t)&&(delete this.items[t],this.length--)},getItem:function(t){return this.has(t)?this.items[t]:null},clear:function(){for(var t in this.items)this.removeItem(t)}}},(i=r.Store("local",function(){try{return localStorage}catch(t){}}())).local=i,i._=r,i.area("session",function(){try{return sessionStorage}catch(t){}}()),i.area("page",r.storage("page")),"function"==typeof n&&void 0!==n.amd?n("store2",[],(function(){return i})):t.exports?t.exports=i:(e.store&&(r.conflict=e.store),e.store=i)},6914:function(t,e,n){"use strict";n.r(e),n.d(e,{COLOR_THEME_AUTO:function(){return s},COLOR_THEME_DARK:function(){return r},COLOR_THEME_LIGHT:function(){return i},THEME:function(){return o},TOGGLE_COLOR_THEMES:function(){return a}});const r="dark",i="light",s="auto",o="hugo-geekdoc",a=[s,r,i]}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={exports:{}};return t[r].call(s.exports,s,s.exports,n),s.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){const t=n(1860),{TOGGLE_COLOR_THEMES:e,THEME:r,COLOR_THEME_AUTO:i}=n(6914);function s(n=!0){if(t.isFake())return;let s=t.namespace(r),o=document.documentElement,a=e.includes(s.get("color-theme"))?s.get("color-theme"):i;o.setAttribute("class","color-toggle-"+a),a===i?o.removeAttribute("color-theme"):o.setAttribute("color-theme",a),n||location.reload()}s(),document.addEventListener("DOMContentLoaded",(n=>{document.getElementById("gdoc-color-theme").onclick=function(){let n=t.namespace(r),o=n.get("color-theme")||i,a=function(t=[],e){let n=t.indexOf(e),r=0;return n{t(document.body)})).catch((t=>console.error(t)))}))},3491:function(t,e,o){t.exports=o.p+"fonts/KaTeX_AMS-Regular.woff"},5537:function(t,e,o){t.exports=o.p+"fonts/KaTeX_AMS-Regular.woff2"},282:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Bold.woff"},4842:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Bold.woff2"},1420:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Regular.woff"},5148:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Caligraphic-Regular.woff2"},3873:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Bold.woff"},7925:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Bold.woff2"},7206:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Regular.woff"},1872:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Fraktur-Regular.woff2"},7888:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Bold.woff"},7823:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Bold.woff2"},6062:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-BoldItalic.woff"},8216:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-BoldItalic.woff2"},1411:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Italic.woff"},4968:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Italic.woff2"},9430:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Regular.woff"},556:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Main-Regular.woff2"},2379:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-BoldItalic.woff"},7312:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-BoldItalic.woff2"},8212:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-Italic.woff"},621:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Math-Italic.woff2"},3958:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Bold.woff"},8516:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Bold.woff2"},208:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Italic.woff"},9471:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Italic.woff2"},9229:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Regular.woff"},4671:function(t,e,o){t.exports=o.p+"fonts/KaTeX_SansSerif-Regular.woff2"},2629:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Script-Regular.woff"},9875:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Script-Regular.woff2"},8493:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size1-Regular.woff"},2986:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size1-Regular.woff2"},8398:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size2-Regular.woff"},4118:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size2-Regular.woff2"},498:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size3-Regular.woff"},8932:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size3-Regular.woff2"},8718:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size4-Regular.woff"},7633:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Size4-Regular.woff2"},2422:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Typewriter-Regular.woff"},4313:function(t,e,o){t.exports=o.p+"fonts/KaTeX_Typewriter-Regular.woff2"}},f={};function i(t){var e=f[t];if(void 0!==e)return e.exports;var o=f[t]={exports:{}};return r[t].call(o.exports,o,o.exports,i),o.exports}i.m=r,e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},i.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var r=Object.create(null);i.r(r);var f={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&o;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((function(t){f[t]=function(){return o[t]}}));return f.default=function(){return o},i.d(r,f),r},i.d=function(t,e){for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.f={},i.e=function(t){return Promise.all(Object.keys(i.f).reduce((function(e,o){return i.f[o](t,e),e}),[]))},i.u=function(t){return"js/"+t+"-341f79d9.chunk.min.js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o={},n="geekdoc:",i.l=function(t,e,r,f){if(o[t])o[t].push(e);else{var a,u;if(void 0!==r)for(var c=document.getElementsByTagName("script"),s=0;s-1&&!t;)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t+"../"}(),function(){var t={793:0};i.f.j=function(e,o){var n=i.o(t,e)?t[e]:void 0;if(0!==n)if(n)o.push(n[2]);else{var r=new Promise((function(o,r){n=t[e]=[o,r]}));o.push(n[2]=r);var f=i.p+i.u(e),a=new Error;i.l(f,(function(o){if(i.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var r=o&&("load"===o.type?"missing":o.type),f=o&&o.target&&o.target.src;a.message="Loading chunk "+e+" failed.\n("+r+": "+f+")",a.name="ChunkLoadError",a.type=r,a.request=f,n[1](a)}}),"chunk-"+e,e)}};var e=function(e,o){var n,r,f=o[0],a=o[1],u=o[2],c=0;if(f.some((function(e){return 0!==t[e]}))){for(n in a)i.o(a,n)&&(i.m[n]=a[n]);u&&u(i)}for(e&&e(o);c1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=f(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=f(t.value,e):(n=a()(t),l("copy")),n};function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function h(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===y(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=c()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,r=t.target,i=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==p(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?d(i,{container:o}):r?"cut"===n?s(r):d(r,{container:o}):void 0}({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(o?"success":"error",{action:n,text:o,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){var e=m("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],o=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(t,e)}},{key:"cut",value:function(t){return s(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}],n&&h(e.prototype,n),o&&h(e,o),a}(r()),S=b},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var o=n(828);function r(t,e,n,o,r){var c=i.apply(this,arguments);return t.addEventListener(n,c,r),{destroy:function(){t.removeEventListener(n,c,r)}}}function i(t,e,n,r){return function(n){n.delegateTarget=o(n.target,e),n.delegateTarget&&r.call(t,n)}}t.exports=function(t,e,n,o,i){return"function"==typeof t.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return r(t,e,n,o,i)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var o=n(879),r=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!o.string(e))throw new TypeError("Second argument must be a String");if(!o.fn(n))throw new TypeError("Third argument must be a Function");if(o.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(o.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}(t,e,n);if(o.string(t))return function(t,e,n){return r(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o',e.setAttribute("data-clipboard-text",n),e.setAttribute("data-copy-feedback","Copied!"),e.setAttribute("role","button"),e.setAttribute("aria-label","Copy"),t.classList.add("gdoc-post__codecontainer"),t.insertBefore(e,t.firstChild)}}n.r(e),n.d(e,{createCopyButton:function(){return o}})}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o].call(i.exports,i,i.exports,n),i.exports}n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){const{createCopyButton:t}=n(3243),e=n(2152);document.addEventListener("DOMContentLoaded",(function(n){new e(".clip").on("success",(function(t){const e=t.trigger;e.hasAttribute("data-copy-feedback")&&(e.classList.add("gdoc-post__codecopy--success"),e.querySelector(".gdoc-icon.copy").classList.add("hidden"),e.querySelector(".gdoc-icon.check").classList.remove("hidden"),setTimeout((function(){e.classList.remove("gdoc-post__codecopy--success"),e.querySelector(".gdoc-icon.copy").classList.remove("hidden"),e.querySelector(".gdoc-icon.check").classList.add("hidden")}),3e3)),t.clearSelection()})),document.querySelectorAll(".highlight").forEach((e=>t(e)))}))}()}(); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/main-fbb9c8b0.bundle.min.js.LICENSE.txt b/docs/themes/geekdoc/static/js/main-fbb9c8b0.bundle.min.js.LICENSE.txt new file mode 100644 index 000000000..5161813c4 --- /dev/null +++ b/docs/themes/geekdoc/static/js/main-fbb9c8b0.bundle.min.js.LICENSE.txt @@ -0,0 +1,6 @@ +/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */ diff --git a/docs/themes/geekdoc/static/js/mermaid-793cb063.bundle.min.js b/docs/themes/geekdoc/static/js/mermaid-793cb063.bundle.min.js new file mode 100644 index 000000000..35febb58d --- /dev/null +++ b/docs/themes/geekdoc/static/js/mermaid-793cb063.bundle.min.js @@ -0,0 +1 @@ +!function(){var t,e,n={1860:function(t){!function(e,n){var r={version:"2.14.2",areas:{},apis:{},nsdelim:".",inherit:function(t,e){for(var n in t)e.hasOwnProperty(n)||Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e},stringify:function(t,e){return void 0===t||"function"==typeof t?t+"":JSON.stringify(t,e||r.replace)},parse:function(t,e){try{return JSON.parse(t,e||r.revive)}catch(e){return t}},fn:function(t,e){for(var n in r.storeAPI[t]=e,r.apis)r.apis[n][t]=e},get:function(t,e){return t.getItem(e)},set:function(t,e,n){t.setItem(e,n)},remove:function(t,e){t.removeItem(e)},key:function(t,e){return t.key(e)},length:function(t){return t.length},clear:function(t){t.clear()},Store:function(t,e,n){var i=r.inherit(r.storeAPI,(function(t,e,n){return 0===arguments.length?i.getAll():"function"==typeof e?i.transact(t,e,n):void 0!==e?i.set(t,e,n):"string"==typeof t||"number"==typeof t?i.get(t):"function"==typeof t?i.each(t):t?i.setAll(t,e):i.clear()}));i._id=t;try{var a="__store2_test";e.setItem(a,"ok"),i._area=e,e.removeItem(a)}catch(t){i._area=r.storage("fake")}return i._ns=n||"",r.areas[t]||(r.areas[t]=i._area),r.apis[i._ns+i._id]||(r.apis[i._ns+i._id]=i),i},storeAPI:{area:function(t,e){var n=this[t];return n&&n.area||(n=r.Store(t,e,this._ns),this[t]||(this[t]=n)),n},namespace:function(t,e,n){if(n=n||this._delim||r.nsdelim,!t)return this._ns?this._ns.substring(0,this._ns.length-n.length):"";var i=t,a=this[i];if(!(a&&a.namespace||((a=r.Store(this._id,this._area,this._ns+i+n))._delim=n,this[i]||(this[i]=a),e)))for(var o in r.areas)a.area(o,r.areas[o]);return a},isFake:function(t){return t?(this._real=this._area,this._area=r.storage("fake")):!1===t&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(t){return this._area.has?this._area.has(this._in(t)):!!(this._in(t)in this._area)},size:function(){return this.keys().length},each:function(t,e){for(var n=0,i=r.length(this._area);nr.length(this._area)&&(i--,n--)}return e||this},keys:function(t){return this.each((function(t,e,n){n.push(t)}),t||[])},get:function(t,e){var n,i=r.get(this._area,this._in(t));return"function"==typeof e&&(n=e,e=null),null!==i?r.parse(i,n):null!=e?e:i},getAll:function(t){return this.each((function(t,e,n){n[t]=e}),t||{})},transact:function(t,e,n){var r=this.get(t,n),i=e(r);return this.set(t,void 0===i?r:i),this},set:function(t,e,n){var i,a=this.get(t);return null!=a&&!1===n?e:("function"==typeof n&&(i=n,n=void 0),r.set(this._area,this._in(t),r.stringify(e,i),n)||a)},setAll:function(t,e){var n,r;for(var i in t)r=t[i],this.set(i,r,e)!==r&&(n=!0);return n},add:function(t,e,n){var i=this.get(t);if(i instanceof Array)e=i.concat(e);else if(null!==i){var a=typeof i;if(a===typeof e&&"object"===a){for(var o in e)i[o]=e[o];e=i}else e=i+e}return r.set(this._area,this._in(t),r.stringify(e,n)),e},remove:function(t,e){var n=this.get(t,e);return r.remove(this._area,this._in(t)),n},clear:function(){return this._ns?this.each((function(t){r.remove(this._area,this._in(t))}),1):r.clear(this._area),this},clearAll:function(){var t=this._area;for(var e in r.areas)r.areas.hasOwnProperty(e)&&(this._area=r.areas[e],this.clear());return this._area=t,this},_in:function(t){return"string"!=typeof t&&(t=r.stringify(t)),this._ns?this._ns+t:t},_out:function(t){return this._ns?t&&0===t.indexOf(this._ns)?t.substring(this._ns.length):void 0:t}},storage:function(t){return r.inherit(r.storageAPI,{items:{},name:t})},storageAPI:{length:0,has:function(t){return this.items.hasOwnProperty(t)},key:function(t){var e=0;for(var n in this.items)if(this.has(n)&&t===e++)return n},setItem:function(t,e){this.has(t)||this.length++,this.items[t]=e},removeItem:function(t){this.has(t)&&(delete this.items[t],this.length--)},getItem:function(t){return this.has(t)?this.items[t]:null},clear:function(){for(var t in this.items)this.removeItem(t)}}},i=r.Store("local",function(){try{return localStorage}catch(t){}}());i.local=i,i._=r,i.area("session",function(){try{return sessionStorage}catch(t){}}()),i.area("page",r.storage("page")),"function"==typeof n&&void 0!==n.amd?n("store2",[],(function(){return i})):t.exports?t.exports=i:(e.store&&(r.conflict=e.store),e.store=i)}(this,this&&this.define)},6914:function(t,e,n){"use strict";n.r(e),n.d(e,{COLOR_THEME_AUTO:function(){return a},COLOR_THEME_DARK:function(){return r},COLOR_THEME_LIGHT:function(){return i},THEME:function(){return o},TOGGLE_COLOR_THEMES:function(){return s}});const r="dark",i="light",a="auto",o="hugo-geekdoc",s=[a,r,i]}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={exports:{}};return n[t].call(a.exports,a,a.exports,i),a.exports}i.m=n,i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.f={},i.e=function(t){return Promise.all(Object.keys(i.f).reduce((function(e,n){return i.f[n](t,e),e}),[]))},i.u=function(t){return"js/"+t+"-"+{105:"7a46a89c",120:"8522b24e",177:"040c64bb",209:"c3adcb05",246:"0f95be8b",264:"68fcc9b2",311:"5bd6ac4e",321:"479928b6",422:"156f22f0",435:"486719a5",451:"2756cb7b",522:"68ed520b",604:"5faadc0f",637:"3456bdaf",648:"d659639f",670:"b8cde8a2",684:"c45993cc",759:"e5cc88d0",770:"a679cffc",796:"b653a12b",851:"43fe3c07",861:"619d670c",880:"5781b8a1",902:"7a89ddf4",968:"bb8c6ba1",978:"b383dcdf",980:"8efa2815"}[t]+".chunk.min.js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t={},e="geekdoc:",i.l=function(n,r,a,o){if(t[n])t[n].push(r);else{var s,c;if(void 0!==a)for(var u=document.getElementsByTagName("script"),f=0;f-1&&!t;)t=n[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t+"../"}(),function(){var t={552:0};i.f.j=function(e,n){var r=i.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,i){r=t[e]=[n,i]}));n.push(r[2]=a);var o=i.p+i.u(e),s=new Error;i.l(o,(function(n){if(i.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,r[1](s)}}),"chunk-"+e,e)}};var e=function(e,n){var r,a,o=n[0],s=n[1],c=n[2],u=0;if(o.some((function(e){return 0!==t[e]}))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);c&&c(i)}for(e&&e(n);u{t.initialize({flowchart:{useMaxWidth:!0},theme:u,themeVariables:{darkMode:c}})})).catch((t=>console.error(t)))}))}()}(); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/search-83320133.bundle.min.js b/docs/themes/geekdoc/static/js/search-83320133.bundle.min.js new file mode 100644 index 000000000..3277206c7 --- /dev/null +++ b/docs/themes/geekdoc/static/js/search-83320133.bundle.min.js @@ -0,0 +1,2 @@ +/*! For license information please see search-83320133.bundle.min.js.LICENSE.txt */ +!function(){var t={3129:function(){!function(t){"use strict";var e;function n(t){return void 0===t||t}function r(t){const e=Array(t);for(let n=0;n=r))));l++);if(n)return i?A(c,r,0):void(e[e.length]=c)}return!n&&c}function A(t,e,n){return t=1===t.length?t[0]:[].concat.apply([],t),n||t.length>e?t.slice(n,n+e):t}function z(t,e,n,r){return t=n?(t=t[(r=r&&e>n)?e:n])&&t[r?n:e]:t[e]}function I(t,e,n,r,o){let i=0;if(t.constructor===Array)if(o)-1!==(e=t.indexOf(e))?1e||n)&&(o=o.slice(n,n+e)),r&&(o=F.call(this,o)),{tag:t,result:o}}function F(t){const e=Array(t.length);for(let n,r=0;r=this.m&&(l||!d[v])){var a=j(h,r,p),s="";switch(this.C){case"full":if(2a;c--)if(c-a>=this.m){var u=j(h,r,p,i,a);L(this,d,s=v.substring(a,c),u,t,n)}break}case"reverse":if(1=this.m&&L(this,d,s,j(h,r,p,i,c),t,n);s=""}case"forward":if(1=this.m&&L(this,d,s,a,t,n);break}default:if(this.F&&(a=Math.min(a/this.F(e,v,p)|0,h-1)),L(this,d,v,a,t,n),l&&1=this.m&&!i[v]){i[v]=1;const e=this.h&&v>a;L(this,f,e?a:v,j(s+(r/2>s?0:1),r,p,c-1,u-1),t,n,e?v:a)}}}}this.D||(this.register[t]=1)}}return this},e.search=function(t,e,n){n||(!e&&s(t)?t=(n=t).query:s(e)&&(n=e));let r,a,c,u=[],f=0;if(n){t=n.query||t,e=n.limit,f=n.offset||0;var d=n.context;a=n.suggest}if(t&&(r=(t=this.encode(""+t)).length,1=this.m&&!n[e]){if(!(this.s||a||this.map[e]))return u;l[i++]=e,n[e]=1}r=(t=l).length}if(!r)return u;e||(e=100),n=0,(d=this.depth&&1o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r=o?t:r(t,e,n)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},5189:function(t,e,n){var r=n(4174),o=n(1119),i=n(1243),a=n(1469);t.exports=function(t,e){return function(n,s){var c=a(n)?r:o,u=e?e():{};return c(n,t,i(s,2),u)}}},9291:function(t,e,n){var r=n(8612);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var i=n.length,a=e?i:-1,s=Object(n);(e?a--:++af))return!1;var l=c.get(t),h=c.get(e);if(l&&h)return l==e&&h==t;var p=-1,v=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++p-1&&t%1==0&&t-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},2634:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},4523:function(t,e,n){var r=n(8306);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},8016:function(t,e,n){var r=n(8983),o=n(2689),i=n(1903);t.exports=function(t){return o(t)?i(t):r(t)}},3140:function(t,e,n){var r=n(4286),o=n(2689),i=n(676);t.exports=function(t){return o(t)?i(t):r(t)}},5514:function(t,e,n){var r=n(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},327:function(t,e,n){var r=n(3448);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},1903:function(t){var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",f=u+c+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+u+c+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",l=RegExp(o+"(?="+o+")|"+d+f,"g");t.exports=function(t){for(var e=l.lastIndex=0;l.test(t);)++e;return e}},676:function(t){var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",f=u+c+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+u+c+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",l=RegExp(o+"(?="+o+")|"+d+f,"g");t.exports=function(t){return t.match(l)||[]}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:function(t,e,n){var r=n(7786);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},7739:function(t,e,n){var r=n(9465),o=n(5189),i=Object.prototype.hasOwnProperty,a=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},9095:function(t,e,n){var r=n(13),o=n(222);t.exports=function(t,e){return null!=t&&o(t,e,r)}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;t.exports=c},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},6347:function(t,e,n){var r=n(3933),o=n(7518),i=n(1167),a=i&&i.isRegExp,s=a?o(a):r;t.exports=s},3448:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},6719:function(t,e,n){var r=n(8749),o=n(7518),i=n(1167),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},8306:function(t,e,n){var r=n(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},9601:function(t,e,n){var r=n(371),o=n(9152),i=n(5403),a=n(327);t.exports=function(t){return i(t)?r(a(t)):o(t)}},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},8601:function(t,e,n){var r=n(4841);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},554:function(t,e,n){var r=n(8601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},4841:function(t,e,n){var r=n(7561),o=n(3218),i=n(3448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?NaN:+t}},9833:function(t,e,n){var r=n(531);t.exports=function(t){return null==t?"":r(t)}},9138:function(t,e,n){var r=n(531),o=n(180),i=n(2689),a=n(3218),s=n(6347),c=n(8016),u=n(3140),f=n(554),d=n(9833),l=/\w*$/;t.exports=function(t,e){var n=30,h="...";if(a(e)){var p="separator"in e?e.separator:p;n="length"in e?f(e.length):n,h="omission"in e?r(e.omission):h}var v=(t=d(t)).length;if(i(t)){var y=u(t);v=y.length}if(n>=v)return t;var m=n-c(h);if(m<1)return h;var g=y?o(y,0,m).join(""):t.slice(0,m);if(void 0===p)return g+h;if(y&&(m+=g.length-m),s(p)){if(t.slice(m).search(p)){var x,$=g;for(p.global||(p=RegExp(p.source,d(l.exec(p))+"g")),p.lastIndex=0;x=p.exec($);)var b=x.index;g=g.slice(0,void 0===b?m:b)}}else if(t.indexOf(r(p),m)!=m){var _=g.lastIndexOf(p);_>-1&&(g=g.slice(0,_))}return g+h}},9707:function(t,e,n){"use strict";function r(t,e){const n=typeof t;if(n!==typeof e)return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o1?e[i.href]=t:(i.hash="",""===r?n=i:d(t,e,n))}}else if(!0!==t&&!1!==t)return e;const i=n.href+(r?"#"+r:"");if(void 0!==e[i])throw new Error(`Duplicate schema URI "${i}".`);if(e[i]=t,!0===t||!1===t)return e;if(void 0===t.__absolute_uri__&&Object.defineProperty(t,"__absolute_uri__",{enumerable:!1,value:i}),t.$ref&&void 0===t.__absolute_ref__){const e=new URL(t.$ref,n.href);e.hash=e.hash,Object.defineProperty(t,"__absolute_ref__",{enumerable:!1,value:e.href})}if(t.$recursiveRef&&void 0===t.__absolute_recursive_ref__){const e=new URL(t.$recursiveRef,n.href);e.hash=e.hash,Object.defineProperty(t,"__absolute_recursive_ref__",{enumerable:!1,value:e.href})}t.$anchor&&(e[new URL("#"+t.$anchor,n.href).href]=t);for(let i in t){if(u[i])continue;const a=`${r}/${o(i)}`,f=t[i];if(Array.isArray(f)){if(s[i]){const t=f.length;for(let r=0;rt.length>1&&t.length<80&&(/^P\d+([.,]\d+)?W$/.test(t)||/^P[\dYMDTHS]*(\d[.,]\d+)?[YMDHS]$/.test(t)&&/^P([.,\d]+Y)?([.,\d]+M)?([.,\d]+D)?(T([.,\d]+H)?([.,\d]+M)?([.,\d]+S)?)?$/.test(t)),uri:function(t){return b.test(t)&&_.test(t)},"uri-reference":v(/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i),"uri-template":v(/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i),url:v(/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)(?:\.(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu),email:t=>{if('"'===t[0])return!1;const[e,n,...r]=t.split("@");return!(!e||!n||0!==r.length||e.length>64||n.length>253)&&"."!==e[0]&&!e.endsWith(".")&&!e.includes("..")&&!(!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(e))&&n.split(".").every((t=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(t)))},hostname:v(/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i),ipv4:v(/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/),ipv6:v(/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i),regex:function(t){if(w.test(t))return!1;try{return new RegExp(t),!0}catch(t){return!1}},uuid:v(/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i),"json-pointer":v(/^(?:\/(?:[^~/]|~0|~1)*)*$/),"json-pointer-uri-fragment":v(/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i),"relative-json-pointer":v(/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/)},m={...y,date:v(/^\d\d\d\d-[0-1]\d-[0-3]\d$/),time:v(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i),"date-time":v(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i),"uri-reference":v(/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i)};function g(t){const e=t.match(l);if(!e)return!1;const n=+e[1],r=+e[2],o=+e[3];return r>=1&&r<=12&&o>=1&&o<=(2==r&&function(t){return t%4==0&&(t%100!=0||t%400==0)}(n)?29:h[r])}function x(t,e){const n=e.match(p);if(!n)return!1;const r=+n[1],o=+n[2],i=+n[3],a=!!n[5];return(r<=23&&o<=59&&i<=59||23==r&&59==o&&60==i)&&(!t||a)}const $=/t|\s/i,b=/\/|:/,_=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,w=/[^\\]\\Z/;function k(t){let e,n=0,r=t.length,o=0;for(;o=55296&&e<=56319&&or(t,e)))||ct.push({instanceLocation:c,keyword:"enum",keywordLocation:`${u}/enum`,error:`Instance does not match any of ${JSON.stringify($)}.`}):$.some((e=>t===e))||ct.push({instanceLocation:c,keyword:"enum",keywordLocation:`${u}/enum`,error:`Instance does not match any of ${JSON.stringify($)}.`})),void 0!==_){const e=`${u}/not`;j(t,_,n,i,a,s,c,e).valid&&ct.push({instanceLocation:c,keyword:"not",keywordLocation:e,error:'Instance matched "not" schema.'})}let ut=[];if(void 0!==w){const e=`${u}/anyOf`,r=ct.length;let o=!1;for(let r=0;r{const u=Object.create(f),d=j(t,r,n,i,a,!0===y?s:null,c,`${e}/${o}`,u);return ct.push(...d.errors),d.valid&&ut.push(u),d.valid})).length;1===o?ct.length=r:ct.splice(r,0,{instanceLocation:c,keyword:"oneOf",keywordLocation:e,error:`Instance does not match exactly one subschema (${o} matches).`})}if("object"!==h&&"array"!==h||Object.assign(f,...ut),void 0!==A){const e=`${u}/if`;if(j(t,A,n,i,a,s,c,e,f).valid){if(void 0!==z){const r=j(t,z,n,i,a,s,c,`${u}/then`,f);r.valid||ct.push({instanceLocation:c,keyword:"if",keywordLocation:e,error:'Instance does not match "then" schema.'},...r.errors)}}else if(void 0!==I){const r=j(t,I,n,i,a,s,c,`${u}/else`,f);r.valid||ct.push({instanceLocation:c,keyword:"if",keywordLocation:e,error:'Instance does not match "else" schema.'},...r.errors)}}if("object"===h){if(void 0!==b)for(const e of b)e in t||ct.push({instanceLocation:c,keyword:"required",keywordLocation:`${u}/required`,error:`Instance does not have required property "${e}".`});const e=Object.keys(t);if(void 0!==M&&e.lengthF&&ct.push({instanceLocation:c,keyword:"maxProperties",keywordLocation:`${u}/maxProperties`,error:`Instance does not have at least ${F} properties.`}),void 0!==D){const e=`${u}/propertyNames`;for(const r in t){const t=`${c}/${o(r)}`,u=j(r,D,n,i,a,s,t,e);u.valid||ct.push({instanceLocation:c,keyword:"propertyNames",keywordLocation:e,error:`Property name "${r}" does not match schema.`},...u.errors)}}if(void 0!==q){const e=`${u}/dependantRequired`;for(const n in q)if(n in t){const r=q[n];for(const o of r)o in t||ct.push({instanceLocation:c,keyword:"dependentRequired",keywordLocation:e,error:`Instance has "${n}" but does not have "${o}".`})}}if(void 0!==N)for(const e in N){const r=`${u}/dependentSchemas`;if(e in t){const u=j(t,N[e],n,i,a,s,c,`${r}/${o(e)}`,f);u.valid||ct.push({instanceLocation:c,keyword:"dependentSchemas",keywordLocation:r,error:`Instance has "${e}" but does not match dependant schema.`},...u.errors)}}if(void 0!==T){const e=`${u}/dependencies`;for(const r in T)if(r in t){const u=T[r];if(Array.isArray(u))for(const n of u)n in t||ct.push({instanceLocation:c,keyword:"dependencies",keywordLocation:e,error:`Instance has "${r}" but does not have "${n}".`});else{const f=j(t,u,n,i,a,s,c,`${e}/${o(r)}`);f.valid||ct.push({instanceLocation:c,keyword:"dependencies",keywordLocation:e,error:`Instance has "${r}" but does not match dependant schema.`},...f.errors)}}}const r=Object.create(null);let d=!1;if(void 0!==E){const e=`${u}/properties`;for(const u in E){if(!(u in t))continue;const l=`${c}/${o(u)}`,h=j(t[u],E[u],n,i,a,s,l,`${e}/${o(u)}`);if(h.valid)f[u]=r[u]=!0;else if(d=a,ct.push({instanceLocation:c,keyword:"properties",keywordLocation:e,error:`Property "${u}" does not match schema.`},...h.errors),d)break}}if(!d&&void 0!==S){const e=`${u}/patternProperties`;for(const u in S){const l=new RegExp(u),h=S[u];for(const p in t){if(!l.test(p))continue;const v=`${c}/${o(p)}`,y=j(t[p],h,n,i,a,s,v,`${e}/${o(u)}`);y.valid?f[p]=r[p]=!0:(d=a,ct.push({instanceLocation:c,keyword:"patternProperties",keywordLocation:e,error:`Property "${p}" matches pattern "${u}" but does not match associated schema.`},...y.errors))}}}if(d||void 0===C){if(!d&&void 0!==R){const e=`${u}/unevaluatedProperties`;for(const r in t)if(!f[r]){const u=`${c}/${o(r)}`,d=j(t[r],R,n,i,a,s,u,e);d.valid?f[r]=!0:ct.push({instanceLocation:c,keyword:"unevaluatedProperties",keywordLocation:e,error:`Property "${r}" does not match unevaluated properties schema.`},...d.errors)}}}else{const e=`${u}/additionalProperties`;for(const u in t){if(r[u])continue;const l=`${c}/${o(u)}`,h=j(t[u],C,n,i,a,s,l,e);h.valid?f[u]=!0:(d=a,ct.push({instanceLocation:c,keyword:"additionalProperties",keywordLocation:e,error:`Property "${u}" does not match additional properties schema.`},...h.errors))}}}else if("array"===h){void 0!==Y&&t.length>Y&&ct.push({instanceLocation:c,keyword:"maxItems",keywordLocation:`${u}/maxItems`,error:`Array has too many items (${t.length} > ${Y}).`}),void 0!==K&&t.length=(J||0)&&(ct.length=o),void 0===J&&void 0===W&&0===d?ct.splice(o,0,{instanceLocation:c,keyword:"contains",keywordLocation:r,error:"Array does not contain item matching schema."}):void 0!==J&&dW&&ct.push({instanceLocation:c,keyword:"maxContains",keywordLocation:`${u}/maxContains`,error:`Array may contain at most ${W} items matching schema. ${d} items were found.`})}if(!d&&void 0!==G){const r=`${u}/unevaluatedItems`;for(;o=Q||t>Q)&&ct.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${u}/maximum`,error:`${t} is greater than ${et?"or equal to ":""} ${Q}.`})):(void 0!==Z&&tQ&&ct.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${u}/maximum`,error:`${t} is greater than ${Q}.`}),void 0!==tt&&t<=tt&&ct.push({instanceLocation:c,keyword:"exclusiveMinimum",keywordLocation:`${u}/exclusiveMinimum`,error:`${t} is less than ${tt}.`}),void 0!==et&&t>=et&&ct.push({instanceLocation:c,keyword:"exclusiveMaximum",keywordLocation:`${u}/exclusiveMaximum`,error:`${t} is greater than or equal to ${et}.`})),void 0!==nt){const e=t%nt;Math.abs(0-e)>=1.1920929e-7&&Math.abs(nt-e)>=1.1920929e-7&&ct.push({instanceLocation:c,keyword:"multipleOf",keywordLocation:`${u}/multipleOf`,error:`${t} is not a multiple of ${nt}.`})}}else if("string"===h){const e=void 0===rt&&void 0===ot?0:k(t);void 0!==rt&&eot&&ct.push({instanceLocation:c,keyword:"maxLength",keywordLocation:`${u}/maxLength`,error:`String is too long (${e} > ${ot}).`}),void 0===it||new RegExp(it).test(t)||ct.push({instanceLocation:c,keyword:"pattern",keywordLocation:`${u}/pattern`,error:"String does not match pattern."}),void 0!==P&&m[P]&&!m[P](t)&&ct.push({instanceLocation:c,keyword:"format",keywordLocation:`${u}/format`,error:`String does not match format "${P}".`})}return{valid:0===ct.length,errors:ct}}class L{constructor(t,e="2019-09",n=!0){this.schema=t,this.draft=e,this.shortCircuit=n,this.lookup=d(t)}validate(t){return j(t,this.schema,this.draft,this.lookup,this.shortCircuit)}addSchema(t,e){e&&(t={...t,$id:e}),d(t,this.lookup)}}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},function(){const t=n(7739),e=n(9138),{FlexSearch:r}=n(3129),{Validator:o}=n(9707);function i(t,e){t.removeEventListener("focus",i);const n=e.indexConfig?e.indexConfig:{tokenize:"forward"},o=e.dataFile;n.document={key:"id",index:["title","content","description"],store:["title","href","parent","description"]};const a=new r.Document(n);window.geekdocSearchIndex=a,c(o,(function(t){t.forEach((t=>{window.geekdocSearchIndex.add(t)}))}))}function a(t,n,r){const o=[];for(const i of t){const t=document.createElement("li"),a=t.appendChild(document.createElement("a")),s=a.appendChild(document.createElement("span"));if(a.href=i.href,s.classList.add("gdoc-search__entry--title"),s.textContent=i.title,a.classList.add("gdoc-search__entry"),!0===r){const t=a.appendChild(document.createElement("span"));t.classList.add("gdoc-search__entry--description"),t.textContent=e(i.description,{length:55,separator:" "})}n?n.appendChild(t):o.push(t)}return o}function s(t){if(!t.ok)throw Error("Failed to fetch '"+t.url+"': "+t.statusText);return t}function c(t,e){fetch(t).then(s).then((t=>t.json())).then((t=>e(t))).catch((function(t){t instanceof AggregateError?(console.error(t.message),t.errors.forEach((t=>{console.error(t)}))):console.error(t)}))}document.addEventListener("DOMContentLoaded",(function(e){const n=document.querySelector("#gdoc-search-input"),r=document.querySelector("#gdoc-search-results"),s=(u=n?n.dataset.siteBaseUrl:"",(f=document.createElement("a")).href=u,f.pathname);var u,f;const d=n?n.dataset.siteLang:"",l=new o({type:"object",properties:{dataFile:{type:"string"},indexConfig:{type:["object","null"]},showParent:{type:"boolean"},showDescription:{type:"boolean"}},additionalProperties:!1});var h,p;n&&c((h=s,(p="/search/"+d+".config.min.json")?h.replace(/\/+$/,"")+"/"+p.replace(/^\/+/,""):h),(function(e){const o=l.validate(e);if(!o.valid)throw AggregateError(o.errors.map((t=>new Error("Validation error: "+t.error))),"Schema validation failed");n&&(n.addEventListener("focus",(()=>{i(n,e)})),n.addEventListener("keyup",(()=>{!function(e,n,r){for(;n.firstChild;)n.removeChild(n.firstChild);if(!e.value)return n.classList.remove("has-hits");let o=function(t){const e=[],n=new Map;for(const r of t)for(const t of r.result)n.has(t.doc.href)||(n.set(t.doc.href,!0),e.push(t.doc));return e}(window.geekdocSearchIndex.search(e.value,{enrich:!0,limit:5}));if(o.length<1)return n.classList.remove("has-hits");n.classList.add("has-hits"),!0===r.showParent&&(o=t(o,(t=>t.parent)));const i=[];if(!0===r.showParent)for(const t in o){const e=document.createElement("li"),n=e.appendChild(document.createElement("span")),s=e.appendChild(document.createElement("ul"));t||n.remove(),n.classList.add("gdoc-search__section"),n.textContent=t,a(o[t],s,r.showDescription),i.push(e)}else{const t=document.createElement("li"),e=t.appendChild(document.createElement("span")),n=t.appendChild(document.createElement("ul"));e.textContent="Results",a(o,n,r.showDescription),i.push(t)}i.forEach((t=>{n.appendChild(t)}))}(n,r,e)})))}))}))}()}(); \ No newline at end of file diff --git a/docs/themes/geekdoc/static/js/search-83320133.bundle.min.js.LICENSE.txt b/docs/themes/geekdoc/static/js/search-83320133.bundle.min.js.LICENSE.txt new file mode 100644 index 000000000..1c041611b --- /dev/null +++ b/docs/themes/geekdoc/static/js/search-83320133.bundle.min.js.LICENSE.txt @@ -0,0 +1,7 @@ +/**! + * FlexSearch.js v0.7.31 (Compact) + * Copyright 2018-2022 Nextapps GmbH + * Author: Thomas Wilkerling + * Licence: Apache-2.0 + * https://github.com/nextapps-de/flexsearch + */ diff --git a/docs/themes/geekdoc/static/katex-66092164.min.css b/docs/themes/geekdoc/static/katex-66092164.min.css new file mode 100644 index 000000000..ec20ebe3b --- /dev/null +++ b/docs/themes/geekdoc/static/katex-66092164.min.css @@ -0,0 +1 @@ +@font-face{font-family:"KaTeX_AMS";src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Caligraphic";src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_Caligraphic";src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Fraktur";src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_Fraktur";src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:bold;font-style:italic}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype");font-weight:normal;font-style:italic}@font-face{font-family:"KaTeX_Main";src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Math";src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:bold;font-style:italic}@font-face{font-family:"KaTeX_Math";src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype");font-weight:normal;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:bold;font-style:normal}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:normal;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Script";src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size1";src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size2";src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size3";src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Size4";src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}@font-face{font-family:"KaTeX_Typewriter";src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:normal;font-style:normal}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none !important}.katex *{border-color:currentColor}.katex .katex-version::after{content:"0.16.8"}.katex .katex-mathml{position:absolute;clip:rect(1px, 1px, 1px, 1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:bold}.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:bold}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:bold;font-style:italic}.katex .amsrm{font-family:KaTeX_AMS}.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.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:bold}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.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;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-0.55555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.83333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.16666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.66666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.45666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.71428571em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.85714286em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.14285714em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.55555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.66666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.77777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.88888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.11111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.30444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.41666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.58333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.66666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.83333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.72833333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.34722222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.41666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.48611111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.55555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.69444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.83333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.44027778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.28935185em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.34722222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.40509259em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.46296296em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.52083333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.69444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.83333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.20023148em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.24108004em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.28929605em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.33751205em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.38572806em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.43394407em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.48216008em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.57859209em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.69431051em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.83317261em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.19961427em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.20096463em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.24115756em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.28135048em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.32154341em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.36173633em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.40192926em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.48231511em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.57877814em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.69453376em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.83360129em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.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{position:relative}.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.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{display:block;position:absolute;width:100%;height:inherit;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}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy::before,.katex .stretchy::after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-0.2em;margin-right:-0.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num::before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num::before{counter-increment:mmlEqnNo;content:"(" counter(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;position:absolute;left:calc(50% + .3em);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{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo} \ No newline at end of file diff --git a/docs/themes/geekdoc/static/main-ba0e2765.min.css b/docs/themes/geekdoc/static/main-ba0e2765.min.css new file mode 100644 index 000000000..35b3e9fea --- /dev/null +++ b/docs/themes/geekdoc/static/main-ba0e2765.min.css @@ -0,0 +1 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0;line-height:1.2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.flex{display:flex}.flex-auto{flex:1 1 auto}.flex-25{flex:1 1 25%}.flex-inline{display:inline-flex}.flex-even{flex:1 1}.flex-wrap{flex-wrap:wrap}.flex-grid{flex-direction:column;border:1px solid var(--accent-color);border-radius:.15rem;background:var(--accent-color-lite)}.flex-gap{flex-wrap:wrap;gap:1rem}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.text-center{text-align:center}.text-right{text-align:right}.no-wrap{white-space:nowrap}.hidden{display:none !important}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.table-wrap{overflow:auto;margin:1rem 0}.table-wrap>table{margin:0 !important}.badge-placeholder{display:inline-block;min-width:4rem}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans-Bold.woff2") format("woff2"),url("fonts/LiberationSans-Bold.woff") format("woff");font-weight:bold;font-style:normal;font-display:swap}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans-BoldItalic.woff2") format("woff2"),url("fonts/LiberationSans-BoldItalic.woff") format("woff");font-weight:bold;font-style:italic;font-display:swap}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans-Italic.woff2") format("woff2"),url("fonts/LiberationSans-Italic.woff") format("woff");font-weight:normal;font-style:italic;font-display:swap}@font-face{font-family:"Liberation Sans";src:url("fonts/LiberationSans.woff2") format("woff2"),url("fonts/LiberationSans.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:"Liberation Mono";src:url("fonts/LiberationMono.woff2") format("woff2"),url("fonts/LiberationMono.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:"Metropolis";src:url("fonts/Metropolis.woff2") format("woff2"),url("fonts/Metropolis.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}@font-face{font-family:"GeekdocIcons";src:url("fonts/GeekdocIcons.woff2") format("woff2"),url("fonts/GeekdocIcons.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap}body{font-family:"Liberation Sans",sans-serif}code,.gdoc-error__title{font-family:"Liberation Mono",monospace}.gdoc-header{font-family:"Metropolis",sans-serif}:root,:root[color-theme=light]{--code-max-height: none;--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: white;--body-font-color: rgb(52, 58, 64);--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(10, 83, 154);--link-color-visited: rgb(119, 73, 191);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: rgb(206, 212, 218);--accent-color: rgb(233, 236, 239);--accent-color-lite: rgb(248, 249, 250);--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: rgb(248, 249, 250);--code-accent-color: #e6eaed;--code-accent-color-lite: #f2f4f6;--code-font-color: rgb(70, 70, 70);--code-copy-background: rgb(248, 249, 250);--code-copy-font-color: #6b7784;--code-copy-border-color: #adb4bc;--code-copy-success-color: rgb(0, 200, 83)}:root .dark-mode-dim .gdoc-markdown img,:root[color-theme=light] .dark-mode-dim .gdoc-markdown img{filter:none}:root .gdoc-markdown .gdoc-hint,:root .gdoc-markdown .gdoc-props__tag,:root .gdoc-markdown .admonitionblock,:root[color-theme=light] .gdoc-markdown .gdoc-hint,:root[color-theme=light] .gdoc-markdown .gdoc-props__tag,:root[color-theme=light] .gdoc-markdown .admonitionblock{filter:none}:root .gdoc-markdown .gdoc-hint__title,:root .gdoc-markdown .admonitionblock table td:first-child,:root[color-theme=light] .gdoc-markdown .gdoc-hint__title,:root[color-theme=light] .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.05)}:root .chroma,:root[color-theme=light] .chroma{color:var(--code-font-color)}:root .chroma .lntable td:nth-child(2) code .hl,:root[color-theme=light] .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root .highlight pre.chroma,:root[color-theme=light] .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root .chroma .lntable,:root[color-theme=light] .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root .chroma .lntable pre.chroma,:root[color-theme=light] .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root .chroma .lntable td:first-child code,:root[color-theme=light] .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root .chroma .lntable td:nth-child(2),:root[color-theme=light] .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root .chroma .x,:root[color-theme=light] .chroma .x{color:inherit}:root .chroma .err,:root[color-theme=light] .chroma .err{color:#a61717;background-color:#e3d2d2}:root .chroma .lntd,:root[color-theme=light] .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root .chroma .hl,:root[color-theme=light] .chroma .hl{display:block;width:100%;background-color:#ffc}:root .chroma .lnt,:root[color-theme=light] .chroma .lnt{padding:0 .8em}:root .chroma .ln,:root[color-theme=light] .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em}:root .chroma .k,:root[color-theme=light] .chroma .k{color:#000;font-weight:bold}:root .chroma .kc,:root[color-theme=light] .chroma .kc{color:#000;font-weight:bold}:root .chroma .kd,:root[color-theme=light] .chroma .kd{color:#000;font-weight:bold}:root .chroma .kn,:root[color-theme=light] .chroma .kn{color:#000;font-weight:bold}:root .chroma .kp,:root[color-theme=light] .chroma .kp{color:#000;font-weight:bold}:root .chroma .kr,:root[color-theme=light] .chroma .kr{color:#000;font-weight:bold}:root .chroma .kt,:root[color-theme=light] .chroma .kt{color:#458;font-weight:bold}:root .chroma .n,:root[color-theme=light] .chroma .n{color:inherit}:root .chroma .na,:root[color-theme=light] .chroma .na{color:#006767}:root .chroma .nb,:root[color-theme=light] .chroma .nb{color:#556165}:root .chroma .bp,:root[color-theme=light] .chroma .bp{color:#676767}:root .chroma .nc,:root[color-theme=light] .chroma .nc{color:#458;font-weight:bold}:root .chroma .no,:root[color-theme=light] .chroma .no{color:#006767}:root .chroma .nd,:root[color-theme=light] .chroma .nd{color:#3c5d5d;font-weight:bold}:root .chroma .ni,:root[color-theme=light] .chroma .ni{color:purple}:root .chroma .ne,:root[color-theme=light] .chroma .ne{color:#900;font-weight:bold}:root .chroma .nf,:root[color-theme=light] .chroma .nf{color:#900;font-weight:bold}:root .chroma .fm,:root[color-theme=light] .chroma .fm{color:inherit}:root .chroma .nl,:root[color-theme=light] .chroma .nl{color:#900;font-weight:bold}:root .chroma .nn,:root[color-theme=light] .chroma .nn{color:#555}:root .chroma .nx,:root[color-theme=light] .chroma .nx{color:inherit}:root .chroma .py,:root[color-theme=light] .chroma .py{color:inherit}:root .chroma .nt,:root[color-theme=light] .chroma .nt{color:navy}:root .chroma .nv,:root[color-theme=light] .chroma .nv{color:#006767}:root .chroma .vc,:root[color-theme=light] .chroma .vc{color:#006767}:root .chroma .vg,:root[color-theme=light] .chroma .vg{color:#006767}:root .chroma .vi,:root[color-theme=light] .chroma .vi{color:#006767}:root .chroma .vm,:root[color-theme=light] .chroma .vm{color:inherit}:root .chroma .l,:root[color-theme=light] .chroma .l{color:inherit}:root .chroma .ld,:root[color-theme=light] .chroma .ld{color:inherit}:root .chroma .s,:root[color-theme=light] .chroma .s{color:#d14}:root .chroma .sa,:root[color-theme=light] .chroma .sa{color:#d14}:root .chroma .sb,:root[color-theme=light] .chroma .sb{color:#d14}:root .chroma .sc,:root[color-theme=light] .chroma .sc{color:#d14}:root .chroma .dl,:root[color-theme=light] .chroma .dl{color:#d14}:root .chroma .sd,:root[color-theme=light] .chroma .sd{color:#d14}:root .chroma .s2,:root[color-theme=light] .chroma .s2{color:#d14}:root .chroma .se,:root[color-theme=light] .chroma .se{color:#d14}:root .chroma .sh,:root[color-theme=light] .chroma .sh{color:#d14}:root .chroma .si,:root[color-theme=light] .chroma .si{color:#d14}:root .chroma .sx,:root[color-theme=light] .chroma .sx{color:#d14}:root .chroma .sr,:root[color-theme=light] .chroma .sr{color:#009926}:root .chroma .s1,:root[color-theme=light] .chroma .s1{color:#d14}:root .chroma .ss,:root[color-theme=light] .chroma .ss{color:#990073}:root .chroma .m,:root[color-theme=light] .chroma .m{color:#027e83}:root .chroma .mb,:root[color-theme=light] .chroma .mb{color:#027e83}:root .chroma .mf,:root[color-theme=light] .chroma .mf{color:#027e83}:root .chroma .mh,:root[color-theme=light] .chroma .mh{color:#027e83}:root .chroma .mi,:root[color-theme=light] .chroma .mi{color:#027e83}:root .chroma .il,:root[color-theme=light] .chroma .il{color:#027e83}:root .chroma .mo,:root[color-theme=light] .chroma .mo{color:#027e83}:root .chroma .o,:root[color-theme=light] .chroma .o{color:#000;font-weight:bold}:root .chroma .ow,:root[color-theme=light] .chroma .ow{color:#000;font-weight:bold}:root .chroma .p,:root[color-theme=light] .chroma .p{color:inherit}:root .chroma .c,:root[color-theme=light] .chroma .c{color:#676765;font-style:italic}:root .chroma .ch,:root[color-theme=light] .chroma .ch{color:#676765;font-style:italic}:root .chroma .cm,:root[color-theme=light] .chroma .cm{color:#676765;font-style:italic}:root .chroma .c1,:root[color-theme=light] .chroma .c1{color:#676765;font-style:italic}:root .chroma .cs,:root[color-theme=light] .chroma .cs{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cp,:root[color-theme=light] .chroma .cp{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cpf,:root[color-theme=light] .chroma .cpf{color:#676767;font-weight:bold;font-style:italic}:root .chroma .g,:root[color-theme=light] .chroma .g{color:inherit}:root .chroma .gd,:root[color-theme=light] .chroma .gd{color:#000;background-color:#fdd}:root .chroma .ge,:root[color-theme=light] .chroma .ge{color:#000;font-style:italic}:root .chroma .gr,:root[color-theme=light] .chroma .gr{color:#a00}:root .chroma .gh,:root[color-theme=light] .chroma .gh{color:#676767}:root .chroma .gi,:root[color-theme=light] .chroma .gi{color:#000;background-color:#dfd}:root .chroma .go,:root[color-theme=light] .chroma .go{color:#6f6f6f}:root .chroma .gp,:root[color-theme=light] .chroma .gp{color:#555}:root .chroma .gs,:root[color-theme=light] .chroma .gs{font-weight:bold}:root .chroma .gu,:root[color-theme=light] .chroma .gu{color:#5f5f5f}:root .chroma .gt,:root[color-theme=light] .chroma .gt{color:#a00}:root .chroma .gl,:root[color-theme=light] .chroma .gl{text-decoration:underline}:root .chroma .w,:root[color-theme=light] .chroma .w{color:#bbb}@media(prefers-color-scheme: light){:root{--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: white;--body-font-color: rgb(52, 58, 64);--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(10, 83, 154);--link-color-visited: rgb(119, 73, 191);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: rgb(206, 212, 218);--accent-color: rgb(233, 236, 239);--accent-color-lite: rgb(248, 249, 250);--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: rgb(248, 249, 250);--code-accent-color: #e6eaed;--code-accent-color-lite: #f2f4f6;--code-font-color: rgb(70, 70, 70);--code-copy-background: rgb(248, 249, 250);--code-copy-font-color: #6b7784;--code-copy-border-color: #adb4bc;--code-copy-success-color: rgb(0, 200, 83)}:root .dark-mode-dim .gdoc-markdown img{filter:none}:root .gdoc-markdown .gdoc-hint,:root .gdoc-markdown .gdoc-props__tag,:root .gdoc-markdown .admonitionblock{filter:none}:root .gdoc-markdown .gdoc-hint__title,:root .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.05)}:root .chroma{color:var(--code-font-color)}:root .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root .chroma .x{color:inherit}:root .chroma .err{color:#a61717;background-color:#e3d2d2}:root .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root .chroma .hl{display:block;width:100%;background-color:#ffc}:root .chroma .lnt{padding:0 .8em}:root .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em}:root .chroma .k{color:#000;font-weight:bold}:root .chroma .kc{color:#000;font-weight:bold}:root .chroma .kd{color:#000;font-weight:bold}:root .chroma .kn{color:#000;font-weight:bold}:root .chroma .kp{color:#000;font-weight:bold}:root .chroma .kr{color:#000;font-weight:bold}:root .chroma .kt{color:#458;font-weight:bold}:root .chroma .n{color:inherit}:root .chroma .na{color:#006767}:root .chroma .nb{color:#556165}:root .chroma .bp{color:#676767}:root .chroma .nc{color:#458;font-weight:bold}:root .chroma .no{color:#006767}:root .chroma .nd{color:#3c5d5d;font-weight:bold}:root .chroma .ni{color:purple}:root .chroma .ne{color:#900;font-weight:bold}:root .chroma .nf{color:#900;font-weight:bold}:root .chroma .fm{color:inherit}:root .chroma .nl{color:#900;font-weight:bold}:root .chroma .nn{color:#555}:root .chroma .nx{color:inherit}:root .chroma .py{color:inherit}:root .chroma .nt{color:navy}:root .chroma .nv{color:#006767}:root .chroma .vc{color:#006767}:root .chroma .vg{color:#006767}:root .chroma .vi{color:#006767}:root .chroma .vm{color:inherit}:root .chroma .l{color:inherit}:root .chroma .ld{color:inherit}:root .chroma .s{color:#d14}:root .chroma .sa{color:#d14}:root .chroma .sb{color:#d14}:root .chroma .sc{color:#d14}:root .chroma .dl{color:#d14}:root .chroma .sd{color:#d14}:root .chroma .s2{color:#d14}:root .chroma .se{color:#d14}:root .chroma .sh{color:#d14}:root .chroma .si{color:#d14}:root .chroma .sx{color:#d14}:root .chroma .sr{color:#009926}:root .chroma .s1{color:#d14}:root .chroma .ss{color:#990073}:root .chroma .m{color:#027e83}:root .chroma .mb{color:#027e83}:root .chroma .mf{color:#027e83}:root .chroma .mh{color:#027e83}:root .chroma .mi{color:#027e83}:root .chroma .il{color:#027e83}:root .chroma .mo{color:#027e83}:root .chroma .o{color:#000;font-weight:bold}:root .chroma .ow{color:#000;font-weight:bold}:root .chroma .p{color:inherit}:root .chroma .c{color:#676765;font-style:italic}:root .chroma .ch{color:#676765;font-style:italic}:root .chroma .cm{color:#676765;font-style:italic}:root .chroma .c1{color:#676765;font-style:italic}:root .chroma .cs{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cp{color:#676767;font-weight:bold;font-style:italic}:root .chroma .cpf{color:#676767;font-weight:bold;font-style:italic}:root .chroma .g{color:inherit}:root .chroma .gd{color:#000;background-color:#fdd}:root .chroma .ge{color:#000;font-style:italic}:root .chroma .gr{color:#a00}:root .chroma .gh{color:#676767}:root .chroma .gi{color:#000;background-color:#dfd}:root .chroma .go{color:#6f6f6f}:root .chroma .gp{color:#555}:root .chroma .gs{font-weight:bold}:root .chroma .gu{color:#5f5f5f}:root .chroma .gt{color:#a00}:root .chroma .gl{text-decoration:underline}:root .chroma .w{color:#bbb}}:root[color-theme=dark]{--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: #29363e;--body-font-color: #c2cfd7;--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(110, 168, 212);--link-color-visited: rgb(186, 142, 240);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: #192125;--accent-color: #212b32;--accent-color-lite: #253138;--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: #232e35;--code-accent-color: #1b2329;--code-accent-color-lite: #1f292f;--code-font-color: rgb(185, 185, 185);--code-copy-background: #29363e;--code-copy-font-color: #6b7784;--code-copy-border-color: #6b7784;--code-copy-success-color: rgba(0, 200, 83, 0.45)}:root[color-theme=dark] .dark-mode-dim .gdoc-markdown img{filter:brightness(0.75) grayscale(0.2)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint,:root[color-theme=dark] .gdoc-markdown .gdoc-props__tag,:root[color-theme=dark] .gdoc-markdown .admonitionblock{filter:saturate(2.5) brightness(0.85)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint a,:root[color-theme=dark] .gdoc-markdown .admonitionblock a{color:var(--hint-link-color)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint a:visited,:root[color-theme=dark] .gdoc-markdown .admonitionblock a:visited{color:var(--hint-link-color-visited)}:root[color-theme=dark] .gdoc-markdown .gdoc-hint__title,:root[color-theme=dark] .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.15)}:root[color-theme=dark] .chroma{color:var(--code-font-color)}:root[color-theme=dark] .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root[color-theme=dark] .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root[color-theme=dark] .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root[color-theme=dark] .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root[color-theme=dark] .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root[color-theme=dark] .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root[color-theme=dark] .chroma .x{color:inherit}:root[color-theme=dark] .chroma .err{color:inherit}:root[color-theme=dark] .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root[color-theme=dark] .chroma .hl{display:block;width:100%;background-color:#4f1605}:root[color-theme=dark] .chroma .lnt{padding:0 .8em}:root[color-theme=dark] .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em;color:#b3b3b3}:root[color-theme=dark] .chroma .k{color:#ff79c6}:root[color-theme=dark] .chroma .kc{color:#ff79c6}:root[color-theme=dark] .chroma .kd{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .kn{color:#ff79c6}:root[color-theme=dark] .chroma .kp{color:#ff79c6}:root[color-theme=dark] .chroma .kr{color:#ff79c6}:root[color-theme=dark] .chroma .kt{color:#8be9fd}:root[color-theme=dark] .chroma .n{color:inherit}:root[color-theme=dark] .chroma .na{color:#50fa7b}:root[color-theme=dark] .chroma .nb{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .bp{color:inherit}:root[color-theme=dark] .chroma .nc{color:#50fa7b}:root[color-theme=dark] .chroma .no{color:inherit}:root[color-theme=dark] .chroma .nd{color:inherit}:root[color-theme=dark] .chroma .ni{color:inherit}:root[color-theme=dark] .chroma .ne{color:inherit}:root[color-theme=dark] .chroma .nf{color:#50fa7b}:root[color-theme=dark] .chroma .fm{color:inherit}:root[color-theme=dark] .chroma .nl{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .nn{color:inherit}:root[color-theme=dark] .chroma .nx{color:inherit}:root[color-theme=dark] .chroma .py{color:inherit}:root[color-theme=dark] .chroma .nt{color:#ff79c6}:root[color-theme=dark] .chroma .nv{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vc{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vg{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vi{color:#8be9fd;font-style:italic}:root[color-theme=dark] .chroma .vm{color:inherit}:root[color-theme=dark] .chroma .l{color:inherit}:root[color-theme=dark] .chroma .ld{color:inherit}:root[color-theme=dark] .chroma .s{color:#f1fa8c}:root[color-theme=dark] .chroma .sa{color:#f1fa8c}:root[color-theme=dark] .chroma .sb{color:#f1fa8c}:root[color-theme=dark] .chroma .sc{color:#f1fa8c}:root[color-theme=dark] .chroma .dl{color:#f1fa8c}:root[color-theme=dark] .chroma .sd{color:#f1fa8c}:root[color-theme=dark] .chroma .s2{color:#f1fa8c}:root[color-theme=dark] .chroma .se{color:#f1fa8c}:root[color-theme=dark] .chroma .sh{color:#f1fa8c}:root[color-theme=dark] .chroma .si{color:#f1fa8c}:root[color-theme=dark] .chroma .sx{color:#f1fa8c}:root[color-theme=dark] .chroma .sr{color:#f1fa8c}:root[color-theme=dark] .chroma .s1{color:#f1fa8c}:root[color-theme=dark] .chroma .ss{color:#f1fa8c}:root[color-theme=dark] .chroma .m{color:#bd93f9}:root[color-theme=dark] .chroma .mb{color:#bd93f9}:root[color-theme=dark] .chroma .mf{color:#bd93f9}:root[color-theme=dark] .chroma .mh{color:#bd93f9}:root[color-theme=dark] .chroma .mi{color:#bd93f9}:root[color-theme=dark] .chroma .il{color:#bd93f9}:root[color-theme=dark] .chroma .mo{color:#bd93f9}:root[color-theme=dark] .chroma .o{color:#ff79c6}:root[color-theme=dark] .chroma .ow{color:#ff79c6}:root[color-theme=dark] .chroma .p{color:inherit}:root[color-theme=dark] .chroma .c{color:#96a6d8}:root[color-theme=dark] .chroma .ch{color:#96a6d8}:root[color-theme=dark] .chroma .cm{color:#96a6d8}:root[color-theme=dark] .chroma .c1{color:#96a6d8}:root[color-theme=dark] .chroma .cs{color:#96a6d8}:root[color-theme=dark] .chroma .cp{color:#ff79c6}:root[color-theme=dark] .chroma .cpf{color:#ff79c6}:root[color-theme=dark] .chroma .g{color:inherit}:root[color-theme=dark] .chroma .gd{color:#d98f90}:root[color-theme=dark] .chroma .ge{text-decoration:underline}:root[color-theme=dark] .chroma .gr{color:inherit}:root[color-theme=dark] .chroma .gh{font-weight:bold;color:inherit}:root[color-theme=dark] .chroma .gi{font-weight:bold}:root[color-theme=dark] .chroma .go{color:#8f9ea8}:root[color-theme=dark] .chroma .gp{color:inherit}:root[color-theme=dark] .chroma .gs{color:inherit}:root[color-theme=dark] .chroma .gu{font-weight:bold}:root[color-theme=dark] .chroma .gt{color:inherit}:root[color-theme=dark] .chroma .gl{text-decoration:underline}:root[color-theme=dark] .chroma .w{color:inherit}:root[code-theme=dark]{--code-background: #232e35;--code-accent-color: #1b2329;--code-accent-color-lite: #1f292f;--code-font-color: rgb(185, 185, 185);--code-copy-background: #29363e;--code-copy-font-color: #6b7784;--code-copy-border-color: #6b7784;--code-copy-success-color: rgba(0, 200, 83, 0.45)}:root[code-theme=dark] .chroma{color:var(--code-font-color)}:root[code-theme=dark] .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root[code-theme=dark] .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root[code-theme=dark] .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root[code-theme=dark] .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root[code-theme=dark] .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root[code-theme=dark] .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root[code-theme=dark] .chroma .x{color:inherit}:root[code-theme=dark] .chroma .err{color:inherit}:root[code-theme=dark] .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root[code-theme=dark] .chroma .hl{display:block;width:100%;background-color:#4f1605}:root[code-theme=dark] .chroma .lnt{padding:0 .8em}:root[code-theme=dark] .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em;color:#b3b3b3}:root[code-theme=dark] .chroma .k{color:#ff79c6}:root[code-theme=dark] .chroma .kc{color:#ff79c6}:root[code-theme=dark] .chroma .kd{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .kn{color:#ff79c6}:root[code-theme=dark] .chroma .kp{color:#ff79c6}:root[code-theme=dark] .chroma .kr{color:#ff79c6}:root[code-theme=dark] .chroma .kt{color:#8be9fd}:root[code-theme=dark] .chroma .n{color:inherit}:root[code-theme=dark] .chroma .na{color:#50fa7b}:root[code-theme=dark] .chroma .nb{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .bp{color:inherit}:root[code-theme=dark] .chroma .nc{color:#50fa7b}:root[code-theme=dark] .chroma .no{color:inherit}:root[code-theme=dark] .chroma .nd{color:inherit}:root[code-theme=dark] .chroma .ni{color:inherit}:root[code-theme=dark] .chroma .ne{color:inherit}:root[code-theme=dark] .chroma .nf{color:#50fa7b}:root[code-theme=dark] .chroma .fm{color:inherit}:root[code-theme=dark] .chroma .nl{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .nn{color:inherit}:root[code-theme=dark] .chroma .nx{color:inherit}:root[code-theme=dark] .chroma .py{color:inherit}:root[code-theme=dark] .chroma .nt{color:#ff79c6}:root[code-theme=dark] .chroma .nv{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vc{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vg{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vi{color:#8be9fd;font-style:italic}:root[code-theme=dark] .chroma .vm{color:inherit}:root[code-theme=dark] .chroma .l{color:inherit}:root[code-theme=dark] .chroma .ld{color:inherit}:root[code-theme=dark] .chroma .s{color:#f1fa8c}:root[code-theme=dark] .chroma .sa{color:#f1fa8c}:root[code-theme=dark] .chroma .sb{color:#f1fa8c}:root[code-theme=dark] .chroma .sc{color:#f1fa8c}:root[code-theme=dark] .chroma .dl{color:#f1fa8c}:root[code-theme=dark] .chroma .sd{color:#f1fa8c}:root[code-theme=dark] .chroma .s2{color:#f1fa8c}:root[code-theme=dark] .chroma .se{color:#f1fa8c}:root[code-theme=dark] .chroma .sh{color:#f1fa8c}:root[code-theme=dark] .chroma .si{color:#f1fa8c}:root[code-theme=dark] .chroma .sx{color:#f1fa8c}:root[code-theme=dark] .chroma .sr{color:#f1fa8c}:root[code-theme=dark] .chroma .s1{color:#f1fa8c}:root[code-theme=dark] .chroma .ss{color:#f1fa8c}:root[code-theme=dark] .chroma .m{color:#bd93f9}:root[code-theme=dark] .chroma .mb{color:#bd93f9}:root[code-theme=dark] .chroma .mf{color:#bd93f9}:root[code-theme=dark] .chroma .mh{color:#bd93f9}:root[code-theme=dark] .chroma .mi{color:#bd93f9}:root[code-theme=dark] .chroma .il{color:#bd93f9}:root[code-theme=dark] .chroma .mo{color:#bd93f9}:root[code-theme=dark] .chroma .o{color:#ff79c6}:root[code-theme=dark] .chroma .ow{color:#ff79c6}:root[code-theme=dark] .chroma .p{color:inherit}:root[code-theme=dark] .chroma .c{color:#96a6d8}:root[code-theme=dark] .chroma .ch{color:#96a6d8}:root[code-theme=dark] .chroma .cm{color:#96a6d8}:root[code-theme=dark] .chroma .c1{color:#96a6d8}:root[code-theme=dark] .chroma .cs{color:#96a6d8}:root[code-theme=dark] .chroma .cp{color:#ff79c6}:root[code-theme=dark] .chroma .cpf{color:#ff79c6}:root[code-theme=dark] .chroma .g{color:inherit}:root[code-theme=dark] .chroma .gd{color:#d98f90}:root[code-theme=dark] .chroma .ge{text-decoration:underline}:root[code-theme=dark] .chroma .gr{color:inherit}:root[code-theme=dark] .chroma .gh{font-weight:bold;color:inherit}:root[code-theme=dark] .chroma .gi{font-weight:bold}:root[code-theme=dark] .chroma .go{color:#8f9ea8}:root[code-theme=dark] .chroma .gp{color:inherit}:root[code-theme=dark] .chroma .gs{color:inherit}:root[code-theme=dark] .chroma .gu{font-weight:bold}:root[code-theme=dark] .chroma .gt{color:inherit}:root[code-theme=dark] .chroma .gl{text-decoration:underline}:root[code-theme=dark] .chroma .w{color:inherit}@media(prefers-color-scheme: dark){:root{--header-background: rgb(32, 83, 117);--header-font-color: rgb(255, 255, 255);--body-background: #29363e;--body-font-color: #c2cfd7;--mark-color: rgb(255, 171, 0);--button-background: #22597d;--button-border-color: rgb(32, 83, 117);--link-color: rgb(110, 168, 212);--link-color-visited: rgb(186, 142, 240);--hint-link-color: rgb(10, 83, 154);--hint-link-color-visited: rgb(119, 73, 191);--accent-color-dark: #192125;--accent-color: #212b32;--accent-color-lite: #253138;--control-icons: #b2bac1;--footer-background: rgb(17, 43, 60);--footer-font-color: rgb(255, 255, 255);--footer-link-color: rgb(246, 107, 14);--footer-link-color-visited: rgb(246, 107, 14);--code-background: #232e35;--code-accent-color: #1b2329;--code-accent-color-lite: #1f292f;--code-font-color: rgb(185, 185, 185);--code-copy-background: #29363e;--code-copy-font-color: #6b7784;--code-copy-border-color: #6b7784;--code-copy-success-color: rgba(0, 200, 83, 0.45)}:root .dark-mode-dim .gdoc-markdown img{filter:brightness(0.75) grayscale(0.2)}:root .gdoc-markdown .gdoc-hint,:root .gdoc-markdown .gdoc-props__tag,:root .gdoc-markdown .admonitionblock{filter:saturate(2.5) brightness(0.85)}:root .gdoc-markdown .gdoc-hint a,:root .gdoc-markdown .admonitionblock a{color:var(--hint-link-color)}:root .gdoc-markdown .gdoc-hint a:visited,:root .gdoc-markdown .admonitionblock a:visited{color:var(--hint-link-color-visited)}:root .gdoc-markdown .gdoc-hint__title,:root .gdoc-markdown .admonitionblock table td:first-child{background-color:rgba(134,142,150,.15)}:root .chroma{color:var(--code-font-color)}:root .chroma .lntable td:nth-child(2) code .hl{width:auto;margin-left:-0.5em;padding:0 .5em}:root .highlight pre.chroma{width:100%;overflow:auto;max-height:var(--code-max-height)}:root .chroma .lntable{border:1px solid var(--code-accent-color);border-radius:.15rem;border-spacing:0;padding:0;margin:0;width:100%;display:block;max-height:var(--code-max-height);overflow:auto}:root .chroma .lntable pre.chroma{max-height:none;border-radius:0;margin:0}:root .chroma .lntable td:first-child code{background-color:var(--code-accent-color-lite);border-right:1px solid var(--code-accent-color);padding-left:0;padding-right:0;border-radius:0}:root .chroma .lntable td:nth-child(2){width:100%;margin-left:2rem}:root .chroma .x{color:inherit}:root .chroma .err{color:inherit}:root .chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}:root .chroma .hl{display:block;width:100%;background-color:#4f1605}:root .chroma .lnt{padding:0 .8em}:root .chroma .ln{margin-right:.4em;padding:0 .4em 0 .4em;color:#b3b3b3}:root .chroma .k{color:#ff79c6}:root .chroma .kc{color:#ff79c6}:root .chroma .kd{color:#8be9fd;font-style:italic}:root .chroma .kn{color:#ff79c6}:root .chroma .kp{color:#ff79c6}:root .chroma .kr{color:#ff79c6}:root .chroma .kt{color:#8be9fd}:root .chroma .n{color:inherit}:root .chroma .na{color:#50fa7b}:root .chroma .nb{color:#8be9fd;font-style:italic}:root .chroma .bp{color:inherit}:root .chroma .nc{color:#50fa7b}:root .chroma .no{color:inherit}:root .chroma .nd{color:inherit}:root .chroma .ni{color:inherit}:root .chroma .ne{color:inherit}:root .chroma .nf{color:#50fa7b}:root .chroma .fm{color:inherit}:root .chroma .nl{color:#8be9fd;font-style:italic}:root .chroma .nn{color:inherit}:root .chroma .nx{color:inherit}:root .chroma .py{color:inherit}:root .chroma .nt{color:#ff79c6}:root .chroma .nv{color:#8be9fd;font-style:italic}:root .chroma .vc{color:#8be9fd;font-style:italic}:root .chroma .vg{color:#8be9fd;font-style:italic}:root .chroma .vi{color:#8be9fd;font-style:italic}:root .chroma .vm{color:inherit}:root .chroma .l{color:inherit}:root .chroma .ld{color:inherit}:root .chroma .s{color:#f1fa8c}:root .chroma .sa{color:#f1fa8c}:root .chroma .sb{color:#f1fa8c}:root .chroma .sc{color:#f1fa8c}:root .chroma .dl{color:#f1fa8c}:root .chroma .sd{color:#f1fa8c}:root .chroma .s2{color:#f1fa8c}:root .chroma .se{color:#f1fa8c}:root .chroma .sh{color:#f1fa8c}:root .chroma .si{color:#f1fa8c}:root .chroma .sx{color:#f1fa8c}:root .chroma .sr{color:#f1fa8c}:root .chroma .s1{color:#f1fa8c}:root .chroma .ss{color:#f1fa8c}:root .chroma .m{color:#bd93f9}:root .chroma .mb{color:#bd93f9}:root .chroma .mf{color:#bd93f9}:root .chroma .mh{color:#bd93f9}:root .chroma .mi{color:#bd93f9}:root .chroma .il{color:#bd93f9}:root .chroma .mo{color:#bd93f9}:root .chroma .o{color:#ff79c6}:root .chroma .ow{color:#ff79c6}:root .chroma .p{color:inherit}:root .chroma .c{color:#96a6d8}:root .chroma .ch{color:#96a6d8}:root .chroma .cm{color:#96a6d8}:root .chroma .c1{color:#96a6d8}:root .chroma .cs{color:#96a6d8}:root .chroma .cp{color:#ff79c6}:root .chroma .cpf{color:#ff79c6}:root .chroma .g{color:inherit}:root .chroma .gd{color:#d98f90}:root .chroma .ge{text-decoration:underline}:root .chroma .gr{color:inherit}:root .chroma .gh{font-weight:bold;color:inherit}:root .chroma .gi{font-weight:bold}:root .chroma .go{color:#8f9ea8}:root .chroma .gp{color:inherit}:root .chroma .gs{color:inherit}:root .chroma .gu{font-weight:bold}:root .chroma .gt{color:inherit}:root .chroma .gl{text-decoration:underline}:root .chroma .w{color:inherit}}html{font-size:16px;letter-spacing:.33px;scroll-behavior:smooth}html.color-toggle-hidden #gdoc-color-theme{display:none}html.color-toggle-light #gdoc-color-theme .gdoc_brightness_light{display:inline-block}html.color-toggle-light #gdoc-color-theme .gdoc_brightness_auto,html.color-toggle-light #gdoc-color-theme .gdoc_brightness_dark{display:none}html.color-toggle-dark #gdoc-color-theme .gdoc_brightness_dark{display:inline-block}html.color-toggle-dark #gdoc-color-theme .gdoc_brightness_auto,html.color-toggle-dark #gdoc-color-theme .gdoc_brightness_light{display:none}html.color-toggle-auto #gdoc-color-theme .gdoc_brightness_light{display:none}html.color-toggle-auto #gdoc-color-theme .gdoc_brightness_dark{display:none}html.color-toggle-auto #gdoc-color-theme .gdoc_brightness_auto{display:inline-block}html,body{min-width:20rem;overflow-x:hidden}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5,h6{font-weight:normal;display:flex;align-items:center}h4,h5,h6{font-size:1rem !important}a{text-decoration:none;color:var(--link-color)}a:hover{text-decoration:underline}a:visited{color:var(--link-color-visited)}i.gdoc-icon{font-family:"GeekdocIcons";font-style:normal}img{vertical-align:middle}#gdoc-color-theme{cursor:pointer}.fake-link:hover{background-image:linear-gradient(var(--link-color), var(--link-color));background-position:0 100%;background-size:100% 1px;background-repeat:no-repeat;text-decoration:none}.wrapper{display:flex;flex-direction:column;min-height:100vh;color:var(--body-font-color);background:var(--body-background);font-weight:normal}.container{width:100%;max-width:82rem;margin:0 auto;padding:1.25rem}svg.gdoc-icon{display:inline-block;width:1.25rem;height:1.25rem;vertical-align:middle;stroke-width:0;stroke:currentColor;fill:currentColor;position:relative}.gdoc-header{background:var(--header-background);color:var(--header-font-color);border-bottom:.3em solid var(--footer-background)}.gdoc-header__link,.gdoc-header__link:visited{color:var(--header-font-color)}.gdoc-header__link:hover{text-decoration:none}.gdoc-header svg.gdoc-icon{width:2rem;height:2rem}.gdoc-brand{font-size:2rem;line-height:2rem}.gdoc-brand__img{margin-right:1rem;width:2rem;height:2rem}.gdoc-menu-header__items{display:flex}.gdoc-menu-header__items>span{margin-left:.5rem}.gdoc-menu-header__control,.gdoc-menu-header__home{display:none}.gdoc-menu-header__control svg.gdoc-icon,.gdoc-menu-header__home svg.gdoc-icon{cursor:pointer}.gdoc-nav{flex:0 0 18rem}.gdoc-nav nav{width:18rem;padding:1rem 2rem 1rem 0}.gdoc-nav nav>ul>li>*{font-weight:normal}.gdoc-nav nav section{margin-top:2rem}.gdoc-nav__control{display:none;margin:0;padding:0}.gdoc-nav__control svg.gdoc-icon{cursor:pointer}.gdoc-nav__control svg.gdoc-icon.gdoc_menu{display:inline-block}.gdoc-nav__control svg.gdoc-icon.gdoc_arrow_back{display:none}.gdoc-nav__list{padding-left:1rem;margin:0;padding:0;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gdoc-nav__list ul{padding-left:1rem}.gdoc-nav__list li{margin:.75rem 0}.gdoc-nav__list svg.gdoc-icon{margin-right:.25rem}.gdoc-nav__toggle{display:none}.gdoc-nav__toggle~label{cursor:pointer}.gdoc-nav__toggle~label svg.gdoc-icon.toggle{width:1rem;height:1rem}.gdoc-nav__toggle:not(:checked)~ul,.gdoc-nav__toggle:not(:checked)~label svg.gdoc-icon.gdoc_keyboard_arrow_down{display:none}.gdoc-nav__toggle:not(:checked)~label svg.gdoc-icon.gdoc_keyboard_arrow_left{display:block}.gdoc-nav__toggle:checked~ul,.gdoc-nav__toggle:checked~label svg.gdoc-icon.gdoc_keyboard_arrow_down{display:block}.gdoc-nav__toggle:checked~label svg.gdoc-icon.gdoc_keyboard_arrow_left{display:none}.gdoc-nav--main>ul>li>span,.gdoc-nav--main>ul>li>span>a,.gdoc-nav--main>ul>li>label,.gdoc-nav--main>ul>li>label>a{font-weight:bold}.gdoc-nav__entry,.gdoc-language__entry{flex:1;color:var(--body-font-color)}.gdoc-nav__entry:hover,.gdoc-nav__entry.is-active,.gdoc-language__entry:hover,.gdoc-language__entry.is-active{text-decoration:underline;text-decoration-style:dashed !important}.gdoc-nav__entry:visited,.gdoc-language__entry:visited{color:var(--body-font-color)}.gdoc-search__list,.gdoc-language__list{background:var(--body-background);border-radius:.15rem;box-shadow:0 1px 3px 0 var(--accent-color-dark),0 1px 2px 0 var(--accent-color);position:absolute;margin:0;padding:.5rem .25rem !important;list-style:none;top:calc(100% + 0.5rem);z-index:2}.gdoc-page{min-width:18rem;flex-grow:1;padding:1rem 0}.gdoc-page h1,.gdoc-page h2,.gdoc-page h3,.gdoc-page h4,.gdoc-page h5,.gdoc-page h6{font-weight:600}.gdoc-page__header,.gdoc-page__footer{margin-bottom:1.5rem}.gdoc-page__header svg.gdoc-icon,.gdoc-page__footer svg.gdoc-icon{color:var(--control-icons)}.gdoc-page__header a,.gdoc-page__header a:visited,.gdoc-page__footer a,.gdoc-page__footer a:visited{color:var(--link-color)}.gdoc-page__header{background:var(--accent-color-lite);padding:.5rem 1rem;border-radius:.15rem}.gdoc-page__nav:hover{background-image:linear-gradient(var(--link-color), var(--link-color));background-position:0 100%;background-size:100% 1px;background-repeat:no-repeat}.gdoc-page__anchorwrap:hover .gdoc-page__anchor svg.gdoc-icon{color:var(--control-icons)}.gdoc-page__anchor{margin-left:.5rem}.gdoc-page__anchor svg.gdoc-icon{width:1.25em;height:1.25em;color:rgba(0,0,0,0)}.gdoc-page__anchor:focus svg.gdoc-icon{color:var(--control-icons)}.gdoc-page__footer{margin-top:2rem}.gdoc-page__footer a:hover{text-decoration:none}.gdoc-post{word-wrap:break-word;border-top:1px dashed #868e96;padding:2rem 0}.gdoc-post:first-of-type{padding-top:0}.gdoc-post__header h1{margin-top:0}.gdoc-post__header a,.gdoc-post__header a:visited{color:var(--body-font-color);text-decoration:none}.gdoc-post__header a:hover{background:none;text-decoration:underline;color:var(--body-font-color)}.gdoc-post:first-child{border-top:0}.gdoc-post:first-child h1{margin-top:0}.gdoc-post__readmore{margin:2rem 0}.gdoc-post__readmore a,.gdoc-post__readmore a:hover,.gdoc-post__readmore a:visited{color:var(--link-color);text-decoration:none !important}.gdoc-post__meta span svg.gdoc-icon{margin-left:-5px}.gdoc-post__meta>span{margin:.25rem 0}.gdoc-post__meta>span:not(:last-child){margin-right:.5rem}.gdoc-post__meta svg.gdoc-icon{font-size:1.25rem}.gdoc-post__meta .gdoc-button{margin:0 .125rem 0 0}.gdoc-post__meta--head{margin-bottom:2rem}.gdoc-post__codecontainer{position:relative}.gdoc-post__codecontainer:hover>.gdoc-post__codecopy{visibility:visible}.gdoc-post__codecopy{visibility:hidden;position:absolute;top:.5rem;right:.5rem;border:1.5px solid var(--code-copy-border-color);border-radius:.15rem;background:var(--code-copy-background);width:2rem;height:2rem}.gdoc-post__codecopy svg.gdoc-icon{top:0;width:1.25rem;height:1.25rem;color:var(--code-copy-font-color)}.gdoc-post__codecopy:hover{cursor:pointer}.gdoc-post__codecopy--success{border-color:var(--code-copy-success-color)}.gdoc-post__codecopy--success svg.gdoc-icon{color:var(--code-copy-success-color)}.gdoc-footer{background:var(--footer-background);color:var(--footer-font-color)}.gdoc-footer .fake-link:hover{background-image:linear-gradient(var(--footer-link-color), var(--footer-link-color))}.gdoc-footer__item{line-height:2rem}.gdoc-footer__item--row{margin-right:1rem}.gdoc-footer__link{color:var(--footer-link-color)}.gdoc-footer__link:visited{color:var(--footer-link-color-visited)}.gdoc-search{position:relative}.gdoc-search svg.gdoc-icon{position:absolute;left:.5rem;color:var(--control-icons);width:1.25rem;height:1.25rem}.gdoc-search::after{display:block;content:"";clear:both}.gdoc-search__input{width:100%;padding:.5rem;padding-left:2rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;border:1px solid rgba(0,0,0,0);border-radius:.15rem;background:var(--accent-color-lite);color:var(--body-font-color)}.gdoc-search__input:focus{outline:none !important;border:1px solid var(--accent-color)}.gdoc-search__list{visibility:hidden;left:0;width:100%}.gdoc-search__list ul{list-style:none;padding-left:0}.gdoc-search__list>li>span{font-weight:bold}.gdoc-search__list>li+li{margin-top:.25rem}.gdoc-search__list svg.gdoc-icon{margin-right:.25rem}.gdoc-search__section{display:flex;flex-direction:column;padding:.25rem !important}.gdoc-search__entry{display:flex;flex-direction:column;color:var(--body-font-color);padding:.25rem !important;border-radius:.15rem}.gdoc-search__entry:hover,.gdoc-search__entry.is-active{background:var(--accent-color-lite);text-decoration:none}.gdoc-search__entry:hover .gdoc-search__entry--title,.gdoc-search__entry.is-active .gdoc-search__entry--title{text-decoration-style:dashed !important;text-decoration:underline}.gdoc-search__entry:visited{color:var(--body-font-color)}.gdoc-search__entry--description{font-size:.875rem;font-style:italic}.gdoc-search:focus-within .gdoc-search__list.has-hits,.gdoc-search__list.has-hits:active{visibility:visible}.gdoc-language__selector{position:relative;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;margin:0;padding:0;width:100%}.gdoc-language__selector:focus .gdoc-language__list,.gdoc-language__selector:focus-within .gdoc-language__list,.gdoc-language__selector:active .gdoc-language__list{display:block}.gdoc-language__list{display:none;right:0;width:auto;white-space:nowrap}.gdoc-paging{padding:1rem 0}.gdoc-paging__item{flex:1 1 0}.gdoc-paging__item a:visited{color:var(--link-color)}.gdoc-paging__item a:hover,.gdoc-paging__item a:visited:hover{background:var(--link-color);color:#f8f9fa}.gdoc-paging__item--next{text-align:right}.gdoc-paging__item--prev{text-align:left}.gdoc-error{padding:6rem 1rem;margin:0 auto;max-width:45em}.gdoc-error svg.gdoc-icon{width:8rem;height:8rem;color:var(--body-font-color)}.gdoc-error__link,.gdoc-error__link:visited{color:var(--link-color)}.gdoc-error__message{padding-left:4rem}.gdoc-error__line{padding:.5rem 0}.gdoc-error__title{font-size:4rem}.gdoc-error__code{font-weight:bolder}.gdoc-toc{margin:1rem 0}.gdoc-toc li{margin:.25rem 0}.gdoc-toc__level--1 ul ul,.gdoc-toc__level--2 ul ul ul,.gdoc-toc__level--3 ul ul ul ul,.gdoc-toc__level--4 ul ul ul ul ul,.gdoc-toc__level--5 ul ul ul ul ul ul,.gdoc-toc__level--6 ul ul ul ul ul ul ul{display:none}.gdoc-toc a,.gdoc-toc a:visited{color:var(--link-color)}.gdoc-nav nav,.gdoc-page,.markdown{transition:.2s ease-in-out;transition-property:transform,margin-left,opacity;will-change:transform,margin-left}.breadcrumb{display:inline;padding:0;margin:0}.breadcrumb li{display:inline}.gdoc-markdown{line-height:1.6rem}.gdoc-markdown h1,.gdoc-markdown h2,.gdoc-markdown h3,.gdoc-markdown h4,.gdoc-markdown h5,.gdoc-markdown h6{font-weight:600}.gdoc-markdown h1>code,.gdoc-markdown h2>code,.gdoc-markdown h3>code,.gdoc-markdown h4>code,.gdoc-markdown h5>code,.gdoc-markdown h6>code{border-top:3px solid var(--accent-color);font-size:.75rem !important}.gdoc-markdown h4>code,.gdoc-markdown h5>code,.gdoc-markdown h6>code{font-size:.875rem !important}.gdoc-markdown b,.gdoc-markdown optgroup,.gdoc-markdown strong{font-weight:bolder}.gdoc-markdown a,.gdoc-markdown__link{text-decoration:none;border-bottom:1px solid rgba(0,0,0,0);line-height:normal}.gdoc-markdown a:hover,.gdoc-markdown__link:hover{text-decoration:underline}.gdoc-markdown__link--raw{text-decoration:none !important;color:#343a40 !important}.gdoc-markdown__link--raw:hover{text-decoration:none !important}.gdoc-markdown__link--raw:visited{color:#343a40 !important}.gdoc-markdown__link--code{text-decoration:none}.gdoc-markdown__link--code code{color:inherit !important}.gdoc-markdown__link--code:hover{background:none;color:var(--link-color) !important;text-decoration:underline}.gdoc-markdown__link--code:visited,.gdoc-markdown__link--code:visited:hover{color:var(--link-color-visited) !important}.gdoc-markdown__figure{padding:.25rem;margin:1rem 0;background-color:var(--accent-color);display:table;border-top-left-radius:.15rem;border-top-right-radius:.15rem}.gdoc-markdown__figure--round,.gdoc-markdown__figure--round img{border-radius:50% !important}.gdoc-markdown__figure figcaption{display:table-caption;caption-side:bottom;background-color:var(--accent-color);padding:0 .25rem .25rem;text-align:center;border-bottom-left-radius:.15rem;border-bottom-right-radius:.15rem}.gdoc-markdown__figure img{max-width:100%;height:auto}.gdoc-markdown img{max-width:100%;border-radius:.15rem}.gdoc-markdown blockquote{margin:1rem 0;padding:.5rem 1rem .5rem .75rem;border-left:3px solid var(--accent-color);border-radius:.15rem}.gdoc-markdown table:not(.lntable):not(.highlight){display:table;border-spacing:0;border-collapse:collapse;margin-top:1rem;margin-bottom:1rem;width:100%;text-align:left}.gdoc-markdown table:not(.lntable):not(.highlight) thead{border-bottom:3px solid var(--accent-color)}.gdoc-markdown table:not(.lntable):not(.highlight) tr th,.gdoc-markdown table:not(.lntable):not(.highlight) tr td{padding:.5rem 1rem}.gdoc-markdown table:not(.lntable):not(.highlight) tr{border-bottom:1.5px solid var(--accent-color)}.gdoc-markdown table:not(.lntable):not(.highlight) tr:nth-child(2n){background:var(--accent-color-lite)}.gdoc-markdown hr{height:1.5px;border:none;background:var(--accent-color)}.gdoc-markdown ul,.gdoc-markdown ol{padding-left:2rem}.gdoc-markdown dl dt{font-weight:bolder;margin-top:1rem}.gdoc-markdown dl dd{margin-left:2rem}.gdoc-markdown code{padding:.25rem .5rem}.gdoc-markdown pre,.gdoc-markdown code{background-color:var(--code-background);border-radius:.15rem;color:var(--code-font-color);font-size:.875rem;line-height:1rem}.gdoc-markdown pre code{display:block;padding:1rem;width:100%}.gdoc-markdown mark{background-color:var(--mark-color)}.gdoc-markdown__align--left{text-align:left}.gdoc-markdown__align--left h1,.gdoc-markdown__align--left h2,.gdoc-markdown__align--left h3,.gdoc-markdown__align--left h4,.gdoc-markdown__align--left h5,.gdoc-markdown__align--left h6{justify-content:flex-start}.gdoc-markdown__align--center{text-align:center}.gdoc-markdown__align--center h1,.gdoc-markdown__align--center h2,.gdoc-markdown__align--center h3,.gdoc-markdown__align--center h4,.gdoc-markdown__align--center h5,.gdoc-markdown__align--center h6{justify-content:center}.gdoc-markdown__align--right{text-align:right}.gdoc-markdown__align--right h1,.gdoc-markdown__align--right h2,.gdoc-markdown__align--right h3,.gdoc-markdown__align--right h4,.gdoc-markdown__align--right h5,.gdoc-markdown__align--right h6{justify-content:flex-end}.admonitionblock{margin:1rem 0;padding:0;border-left:3px solid var(--accent-color);border-radius:.15rem}.admonitionblock.info{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40}.admonitionblock.note{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40}.admonitionblock.ok{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40}.admonitionblock.tip{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40}.admonitionblock.important{border-left-color:#ffab00;background-color:#fdfaf4;color:#343a40}.admonitionblock.caution{border-left-color:#7300d3;background-color:#f8f2fd;color:#343a40}.admonitionblock.danger{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40}.admonitionblock.warning{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40}.admonitionblock table{margin:0 !important;padding:0 !important}.admonitionblock table tr{border:0 !important}.admonitionblock table td{display:block;padding:.25rem 1rem !important}.admonitionblock table td:first-child{background-color:rgba(134,142,150,.05);font-weight:bold}.admonitionblock table td:first-child.icon .title{display:flex;align-items:center}.admonitionblock table td:first-child.icon i.fa::after{content:attr(title);font-style:normal;padding-left:1.5rem}.admonitionblock table td:first-child.icon i.fa{color:#000;background-size:auto 90%;background-repeat:no-repeat;filter:invert(30%);margin-left:-5px}.admonitionblock table td:first-child.icon i.fa.icon-info{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.admonitionblock table td:first-child.icon i.fa.icon-note{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.admonitionblock table td:first-child.icon i.fa.icon-ok{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.admonitionblock table td:first-child.icon i.fa.icon-tip{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.admonitionblock table td:first-child.icon i.fa.icon-important{background-image:url(img/geekdoc-stack.svg#gdoc_error_outline)}.admonitionblock table td:first-child.icon i.fa.icon-caution{background-image:url(img/geekdoc-stack.svg#gdoc_dangerous)}.admonitionblock table td:first-child.icon i.fa.icon-danger{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.admonitionblock table td:first-child.icon i.fa.icon-warning{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.gdoc-expand{margin:1rem 0;border:1px solid var(--accent-color);border-radius:.15rem;overflow:hidden}.gdoc-expand__head{background:var(--accent-color-lite);padding:.5rem 1rem;cursor:pointer}.gdoc-expand__content{display:none;padding:0 1rem}.gdoc-expand__control:checked+.gdoc-expand__content{display:block}.gdoc-expand .gdoc-page__anchor{display:none}.gdoc-tabs{margin:1rem 0;border:1px solid var(--accent-color);border-radius:.15rem;overflow:hidden;display:flex;flex-wrap:wrap}.gdoc-tabs__label{display:inline-block;padding:.5rem 1rem;border-bottom:1px rgba(0,0,0,0);cursor:pointer}.gdoc-tabs__content{order:999;width:100%;border-top:1px solid var(--accent-color-lite);padding:0 1rem;display:none}.gdoc-tabs__control:checked+.gdoc-tabs__label{border-bottom:1.5px solid var(--link-color)}.gdoc-tabs__control:checked+.gdoc-tabs__label+.gdoc-tabs__content{display:block}.gdoc-tabs .gdoc-page__anchor{display:none}.gdoc-columns{margin:1rem 0}.gdoc-columns--regular>:first-child{flex:1}.gdoc-columns--small>:first-child{flex:.35;min-width:7rem}.gdoc-columns--large>:first-child{flex:1.65;min-width:33rem}.gdoc-columns__content{flex:1 1;min-width:13.2rem;padding:0}.gdoc-columns .gdoc-post__anchor{display:none}.gdoc-button{margin:1rem 0;display:inline-block;background:var(--accent-color-lite);border:1px solid var(--accent-color);border-radius:.15rem;cursor:pointer}.gdoc-button__link{display:inline-block;color:inherit !important;text-decoration:none !important}.gdoc-button:hover{background:var(--button-background);border-color:var(--button-border-color);color:#f8f9fa}.gdoc-button--regular{font-size:16px}.gdoc-button--regular .gdoc-button__link{padding:.25rem .5rem}.gdoc-button--large{font-size:1.25rem}.gdoc-button--large .gdoc-button__link{padding:.5rem 1rem}.gdoc-hint.info{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40;padding:0}.gdoc-hint.note{border-left-color:#0091ea;background-color:#f3f9fd;color:#343a40;padding:0}.gdoc-hint.ok{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40;padding:0}.gdoc-hint.tip{border-left-color:#00c853;background-color:#f2fdf6;color:#343a40;padding:0}.gdoc-hint.important{border-left-color:#ffab00;background-color:#fdfaf4;color:#343a40;padding:0}.gdoc-hint.caution{border-left-color:#7300d3;background-color:#f8f2fd;color:#343a40;padding:0}.gdoc-hint.danger{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40;padding:0}.gdoc-hint.warning{border-left-color:#d50000;background-color:#fdf2f2;color:#343a40;padding:0}.gdoc-hint__title{padding:.25rem 1rem;background-color:rgba(134,142,150,.05);font-weight:bold;color:rgba(52,58,64,.85)}.gdoc-hint__title i.fa::after{content:attr(title);font-style:normal;padding-left:1.5rem}.gdoc-hint__title i.fa{color:#000;background-size:auto 90%;background-repeat:no-repeat;filter:invert(30%);margin-left:-5px}.gdoc-hint__title i.fa.info{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.gdoc-hint__title i.fa.note{background-image:url(img/geekdoc-stack.svg#gdoc_info_outline)}.gdoc-hint__title i.fa.ok{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.gdoc-hint__title i.fa.tip{background-image:url(img/geekdoc-stack.svg#gdoc_check_circle_outline)}.gdoc-hint__title i.fa.important{background-image:url(img/geekdoc-stack.svg#gdoc_error_outline)}.gdoc-hint__title i.fa.caution{background-image:url(img/geekdoc-stack.svg#gdoc_dangerous)}.gdoc-hint__title i.fa.danger{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.gdoc-hint__title i.fa.warning{background-image:url(img/geekdoc-stack.svg#gdoc_fire)}.gdoc-hint__title .gdoc-icon{width:1.5rem;height:1.5rem;margin-left:-5px}.gdoc-hint__text{padding:.25rem 1rem}.gdoc-hint .gdoc-page__anchor{display:none}.gdoc-mermaid{font-family:"Liberation Sans",sans-serif}.gdoc-mermaid>svg{height:100%;padding:.5rem}.gdoc-props__title,.gdoc-props__default{font-family:"Liberation Mono",monospace}.gdoc-props__meta{line-height:normal;margin-bottom:.25rem}.gdoc-props__meta>span{margin-bottom:.125rem}.gdoc-props__meta>span:not(:last-child){margin-right:.5rem}.gdoc-props__tag.info{border-color:#e8f4fb;background-color:#f3f9fd}.gdoc-props__tag.note{border-color:#e8f4fb;background-color:#f3f9fd}.gdoc-props__tag.ok{border-color:#e5faee;background-color:#f2fdf6}.gdoc-props__tag.tip{border-color:#e5faee;background-color:#f2fdf6}.gdoc-props__tag.important{border-color:#fbf5e9;background-color:#fdfaf4}.gdoc-props__tag.caution{border-color:#f1e6fb;background-color:#f8f2fd}.gdoc-props__tag.danger{border-color:#fbe6e6;background-color:#fdf2f2}.gdoc-props__tag.warning{border-color:#fbe6e6;background-color:#fdf2f2}.gdoc-props__tag{font-size:.875rem;font-weight:normal;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:.15rem;padding:.125rem .25rem;color:#343a40}.gdoc-props__default{font-size:.875rem}.gdoc-progress{margin-bottom:1rem}.gdoc-progress__label{padding:.25rem 0}.gdoc-progress__label--name{font-weight:bold}.gdoc-progress__wrap{background-color:var(--accent-color-lite);border-radius:1em;box-shadow:inset 0 0 0 1px var(--accent-color)}.gdoc-progress__bar{height:1em;border-radius:1em;background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.125) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.125) 50%, rgba(255, 255, 255, 0.125) 75%, transparent 75%, transparent);background-size:2.5em 2.5em;background-color:#205375 !important} \ No newline at end of file diff --git a/docs/themes/geekdoc/static/mobile-79ddc617.min.css b/docs/themes/geekdoc/static/mobile-79ddc617.min.css new file mode 100644 index 000000000..abf3504d9 --- /dev/null +++ b/docs/themes/geekdoc/static/mobile-79ddc617.min.css @@ -0,0 +1 @@ +@media screen and (max-width: 41rem){.gdoc-nav{margin-left:-18rem;font-size:16px}.gdoc-nav__control{display:inline-block}.gdoc-header svg.gdoc-icon{width:1.5rem;height:1.5rem}.gdoc-brand{font-size:1.5rem;line-height:1.5rem}.gdoc-brand__img{display:none}.gdoc-menu-header__items{display:none}.gdoc-menu-header__control,.gdoc-menu-header__home{display:flex}.gdoc-error{padding:6rem 1rem}.gdoc-error svg.gdoc-icon{width:6rem;height:6rem}.gdoc-error__message{padding-left:2rem}.gdoc-error__line{padding:.25rem 0}.gdoc-error__title{font-size:2rem}.gdoc-page__header .breadcrumb,.hidden-mobile{display:none}.flex-mobile-column{flex-direction:column}.flex-mobile-column.gdoc-columns{margin:2rem 0}.flex-mobile-column .gdoc-columns__content{min-width:auto;margin:0}#menu-control:checked~main .gdoc-nav nav,#menu-control:checked~main .gdoc-page{transform:translateX(18rem)}#menu-control:checked~main .gdoc-page{opacity:.25}#menu-control:checked~.gdoc-header .gdoc-nav__control svg.gdoc-icon.gdoc_menu{display:none}#menu-control:checked~.gdoc-header .gdoc-nav__control svg.gdoc-icon.gdoc_arrow_back{display:inline-block}#menu-header-control:checked~.gdoc-header .gdoc-brand{display:none}#menu-header-control:checked~.gdoc-header .gdoc-menu-header__items{display:flex}#menu-header-control:checked~.gdoc-header .gdoc-menu-header__control svg.gdoc-icon.gdoc_keyboard_arrow_left{display:none}} \ No newline at end of file diff --git a/docs/themes/geekdoc/static/print-735ccc12.min.css b/docs/themes/geekdoc/static/print-735ccc12.min.css new file mode 100644 index 000000000..01994899b --- /dev/null +++ b/docs/themes/geekdoc/static/print-735ccc12.min.css @@ -0,0 +1 @@ +@media print{.gdoc-nav,.gdoc-footer .container span:not(:first-child),.gdoc-paging,.editpage{display:none}.gdoc-footer{border-top:1px solid #dee2e6}.gdoc-markdown pre{white-space:pre-wrap;overflow-wrap:break-word}.chroma code{border:1px solid #dee2e6;padding:.5rem !important;font-weight:normal !important}.gdoc-markdown code{font-weight:bold}a,a:visited{color:inherit !important;text-decoration:none !important}.gdoc-toc{flex:none}.gdoc-toc nav{position:relative;width:auto}.wrapper{display:block}.wrapper main{display:block}} \ No newline at end of file diff --git a/docs/themes/geekdoc/theme.toml b/docs/themes/geekdoc/theme.toml new file mode 100644 index 000000000..90b7cf59b --- /dev/null +++ b/docs/themes/geekdoc/theme.toml @@ -0,0 +1,12 @@ +name = "Geekdoc" +license = "MIT" +licenselink = "https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE" +description = "Hugo theme made for documentation" +homepage = "https://geekdocs.de/" +demosite = "https://geekdocs.de/" +tags = ["docs", "documentation", "responsive", "simple"] +min_version = "0.112.0" + +[author] + name = "Robert Kaussow" + homepage = "https://thegeeklab.de/" diff --git a/scripts/replace-in-minikube b/scripts/replace-in-minikube new file mode 100755 index 000000000..699a692d4 --- /dev/null +++ b/scripts/replace-in-minikube @@ -0,0 +1,9 @@ +#!/bin/bash + +# This script will swap out the cri-dockerd binary in an already running minikube + +minikube cp cri-dockerd /home/docker/cri-dockerd +minikube ssh -- 'sudo chmod +x /home/docker/cri-dockerd' +minikube ssh -- 'sudo systemctl stop cri-docker' +minikube ssh -- 'sudo mv /home/docker/cri-dockerd /usr/bin/cri-dockerd' +minikube ssh -- 'sudo systemctl start cri-docker'