diff --git a/.gitignore b/.gitignore index 8ee54e8..888a6ba 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,7 @@ coverage *.sw? *.tsbuildinfo + +.vscode + +src-vscode/media/ \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ec57826..fd2a786 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "elkjs": "^0.9.3", "primeicons": "^7.0.0", "primevue": "^4.2.1", + "util": "^0.12.5", "vue": "^3.5.12" }, "devDependencies": { @@ -4449,7 +4450,6 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "dev": true, "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" @@ -4647,7 +4647,6 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", @@ -5057,7 +5056,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", @@ -5201,7 +5199,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" @@ -5214,7 +5211,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -5805,7 +5801,6 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, "license": "MIT", "dependencies": { "is-callable": "^1.1.3" @@ -5865,7 +5860,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -5914,7 +5908,6 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -6064,7 +6057,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" @@ -6111,7 +6103,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" @@ -6124,7 +6115,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6137,7 +6127,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6150,7 +6139,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -6166,7 +6154,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -6291,6 +6278,22 @@ "node": ">= 0.4" } }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", @@ -6358,7 +6361,6 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -6445,7 +6447,6 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "dev": true, "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" @@ -6643,7 +6644,6 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "dev": true, "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" @@ -7588,7 +7588,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -8184,7 +8183,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", @@ -8940,6 +8938,19 @@ "punycode": "^2.1.0" } }, + "node_modules/util": { + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "which-typed-array": "^1.1.2" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -9691,7 +9702,6 @@ "version": "1.1.16", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.16.tgz", "integrity": "sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==", - "dev": true, "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", diff --git a/package.json b/package.json index 686adfe..dfa8164 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "elkjs": "^0.9.3", "primeicons": "^7.0.0", "primevue": "^4.2.1", + "util": "^0.12.5", "vue": "^3.5.12" }, "devDependencies": { @@ -44,4 +45,4 @@ "vite-plugin-pwa": "^0.21.0", "vue-tsc": "^2.1.10" } -} \ No newline at end of file +} diff --git a/src-vscode/LICENSE.md b/src-vscode/LICENSE.md new file mode 100644 index 0000000..d4d9b96 --- /dev/null +++ b/src-vscode/LICENSE.md @@ -0,0 +1,9 @@ +# License +The MIT License (MIT) +Copyright © 2024 Zazuko GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src-vscode/README.md b/src-vscode/README.md index fdcbd60..934a817 100644 --- a/src-vscode/README.md +++ b/src-vscode/README.md @@ -1,71 +1,44 @@ -# rdf-sketch README +# VSCode RDF Sketch -This is the README for your extension "rdf-sketch". After writing up a brief description, we recommend including the following sections. +This extension provides a way to visualize RDF data in [Visual Studio Code](https://code.visualstudio.com). -## Features - -Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file. - -For example if there is an image subfolder under your extension project workspace: - -\!\[feature X\]\(images/feature-x.png\) - -> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow. - -## Requirements - -If you have any requirements or dependencies, add a section describing those and how to install and configure them. - -## Extension Settings - -Include if your extension adds any VS Code settings through the `contributes.configuration` extension point. +This extension is based on our [Zazuko Sketch](https://sketch.zazuko.com/) web app. Code is available [here](https://github.com/zazuko/rdf-sketch). -For example: - -This extension contributes the following settings: - -* `myExtension.enable`: Enable/disable this extension. -* `myExtension.thing`: Set to `blah` to do something. - -## Known Issues - -Calling out known issues can help limit users opening duplicate issues against your extension. - -## Release Notes - -Users appreciate release notes as you update your extension. - -### 1.0.0 - -Initial release of ... +## Features -### 1.0.1 +* Visualize RDF data in a separate Visual Studio Code tab +* Auto-layout & zoom +* Search for nodes +* Move nodes around +* Navigate to the source node by clicking on the edge +* Navigate to the destination node by clicking Object in the triple -Fixed issue #. +## Installation -### 1.1.0 +You can install it directly from the Visual Studio Code Extension tab. It is available on the [Marketplace](https://marketplace.visualstudio.com/items?itemName=Zazuko.vscode-rdf-sketch) -Added features X, Y, and Z. +## Usage ---- +1. Open an RDF file in Visual Studio Code +2. Then click the preview icon on the top right corner of the editor ![Preview Button](images/preview-button.png) +3. A new tab will open with the visualization -## Following extension guidelines +# Demo -Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension. -* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines) -## Working with Markdown -You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts: +### Limitations -* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux). -* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux). -* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets. +* Currently, it only supports N3/Turtle RDF serializations. +* While you can move around boxes, the layout will not persist. Every time something in the data changes, it will auto-layout again and discard what you did before. +* [YMMV](https://www.urbandictionary.com/define.php?term=ymmv) regarding how much data and what kind of graph you can visualize in a useful way. -## For more information +## Development -* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown) -* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/) +To start the extension from this repository: -**Enjoy!** +- Open Visual Studio Code for this repository +- Open debug panel +- Hit *Run extension* on the upper right corner +- To open dev tools: `Ctrl+P` and toggle developer tools \ No newline at end of file diff --git a/src-vscode/images/preview-button.png b/src-vscode/images/preview-button.png new file mode 100644 index 0000000..8337109 Binary files /dev/null and b/src-vscode/images/preview-button.png differ diff --git a/src-vscode/images/zazuko.png b/src-vscode/images/zazuko.png new file mode 100644 index 0000000..9ce4af4 Binary files /dev/null and b/src-vscode/images/zazuko.png differ diff --git a/src-vscode/media/assets/main.css b/src-vscode/media/assets/main.css index 417151f..6fc832a 100644 --- a/src-vscode/media/assets/main.css +++ b/src-vscode/media/assets/main.css @@ -1 +1 @@ -@font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons.eot);src:url(/assets/primeicons.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons.woff2) format("woff2"),url(/assets/primeicons.woff) format("woff"),url(/assets/primeicons.ttf) format("truetype"),url(/assets/primeicons.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}@layer tailwind-base,primevue,tailwind-utilities;@layer tailwind-base{@tailwind base;}@layer tailwind-utilities{@tailwind components;@tailwind utilities;}body{height:100vh;max-height:100vh;overflow:hidden;margin:8px;font-family:Helvetica Neue,sans-serif}a{text-decoration:none}g.selected>*{stroke:#00f7ff!important;stroke-width:6!important}.vue-flow__minimap{background-color:#fff}.vue-flow__minimap.pannable{cursor:grab}.vue-flow__minimap.dragging{cursor:grabbing}.vue-flow__minimap-mask.pannable{cursor:grab}.vue-flow__controls{box-shadow:0 0 2px 1px #00000014}.vue-flow__controls-button{background:#fefefe;border:none;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:5px}.vue-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.vue-flow__controls-button:hover{background:#f4f4f4}.vue-flow__controls-button:disabled{pointer-events:none}.vue-flow__controls-button:disabled svg{fill-opacity:.4}.term[data-v-fe267915]{cursor:default;-webkit-user-select:text;user-select:text}.resource-card[data-v-7e3cd7d8]{border-radius:5px;background-color:#fff;box-shadow:0 4px 6px #c7bcbc1a;min-width:500px}.resource-card-header[data-v-7e3cd7d8]{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background-color:gray;border-top-left-radius:5px;border-top-right-radius:5px}.resource-title[data-v-7e3cd7d8]{font-weight:700}table[data-v-7e3cd7d8]{width:100%;border-collapse:collapse;color:gray}tr[data-v-7e3cd7d8]{position:relative}tr[data-v-7e3cd7d8]:not(:last-child){border-bottom:1px solid lightgray!important}.table-container[data-v-7e3cd7d8]{display:table;width:100%}.table-row[data-v-7e3cd7d8]{display:table-row;position:relative!important;border-bottom:1px solid gray;right:0;top:0}.predicate[data-v-7e3cd7d8],.object[data-v-7e3cd7d8]{display:table-cell;padding:16px 8px;text-align:left;color:#000}.predicate[data-v-7e3cd7d8]{padding-left:16px;text-align:left;color:#000;padding-top:16px;padding-bottom:16px}.object[data-v-7e3cd7d8]{padding-right:16px;text-align:left}.vue-flow{position:relative;width:100%;height:100%;overflow:hidden;z-index:0;direction:ltr}.vue-flow__container{position:absolute;height:100%;width:100%;left:0;top:0}.vue-flow__pane{z-index:1}.vue-flow__pane.draggable{cursor:grab}.vue-flow__pane.selection{cursor:pointer}.vue-flow__pane.dragging{cursor:grabbing}.vue-flow__transformationpane{transform-origin:0 0;z-index:2;pointer-events:none}.vue-flow__viewport{z-index:4;overflow:clip}.vue-flow__selection{z-index:6}.vue-flow__edge-labels{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible{outline:none}.vue-flow .vue-flow__edges{pointer-events:none;overflow:visible}.vue-flow__edge-path,.vue-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.vue-flow__edge{pointer-events:visibleStroke;cursor:pointer}.vue-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__edge.animated path.vue-flow__edge-interaction{stroke-dasharray:none;animation:none}.vue-flow__edge.inactive{pointer-events:none}.vue-flow__edge.selected,.vue-flow__edge:focus,.vue-flow__edge:focus-visible{outline:none}.vue-flow__edge.selected .vue-flow__edge-path,.vue-flow__edge:focus .vue-flow__edge-path,.vue-flow__edge:focus-visible .vue-flow__edge-path{stroke:#555}.vue-flow__edge-textwrapper{pointer-events:all}.vue-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__connection{pointer-events:none}.vue-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__connectionline{z-index:1001}.vue-flow__nodes{pointer-events:none;transform-origin:0 0}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{border-width:1px;border-style:solid;border-color:#bbb}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible,.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible,.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid #555}.vue-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.vue-flow__node.draggable{cursor:grab;pointer-events:all}.vue-flow__node.draggable.dragging{cursor:grabbing}.vue-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.vue-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.vue-flow__nodesselection-rect.dragging{cursor:grabbing}.vue-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px}.vue-flow__handle.connectable{pointer-events:all;cursor:crosshair}.vue-flow__handle-bottom{left:50%;bottom:0;transform:translate(-50%,50%)}.vue-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.vue-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.vue-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.vue-flow__edgeupdater{cursor:move;pointer-events:all}.vue-flow__panel{position:absolute;z-index:5;margin:15px}.vue-flow__panel.top{top:0}.vue-flow__panel.bottom{bottom:0}.vue-flow__panel.left{left:0}.vue-flow__panel.right{right:0}.vue-flow__panel.center{left:50%;transform:translate(-50%)}@keyframes dashdraw{0%{stroke-dashoffset:10}}:root{--vf-node-bg: #fff;--vf-node-text: #222;--vf-connection-path: #b1b1b7;--vf-handle: #555}.vue-flow__edge.updating .vue-flow__edge-path{stroke:#777}.vue-flow__edge-text{font-size:10px}.vue-flow__edge-textbg{fill:#fff}.vue-flow__connection-path{stroke:var(--vf-connection-path)}.vue-flow__node{cursor:grab}.vue-flow__node.selectable:focus,.vue-flow__node.selectable:focus-visible{outline:none}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{padding:10px;border-radius:3px;width:150px;font-size:12px;text-align:center;border-width:1px;border-style:solid;color:var(--vf-node-text);background-color:var(--vf-node-bg);border-color:var(--vf-node-color)}.vue-flow__node-default.selected,.vue-flow__node-default.selected:hover,.vue-flow__node-input.selected,.vue-flow__node-input.selected:hover,.vue-flow__node-output.selected,.vue-flow__node-output.selected:hover{box-shadow:0 0 0 .5px var(--vf-box-shadow)}.vue-flow__node-default .vue-flow__handle,.vue-flow__node-input .vue-flow__handle,.vue-flow__node-output .vue-flow__handle{background:var(--vf-handle)}.vue-flow__node-default.selectable:hover,.vue-flow__node-input.selectable:hover,.vue-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.vue-flow__node-input{--vf-node-color: var(--vf-node-color, #0041d0);--vf-handle: var(--vf-node-color, #0041d0);--vf-box-shadow: var(--vf-node-color, #0041d0);background:var(--vf-node-bg);border-color:var(--vf-node-color, #0041d0)}.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible{outline:none;border:1px solid var(--vf-node-color, #0041d0)}.vue-flow__node-default{--vf-handle: var(--vf-node-color, #1a192b);--vf-box-shadow: var(--vf-node-color, #1a192b);background:var(--vf-node-bg);border-color:var(--vf-node-color, #1a192b)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible{outline:none;border:1px solid var(--vf-node-color, #1a192b)}.vue-flow__node-output{--vf-handle: var(--vf-node-color, #ff0072);--vf-box-shadow: var(--vf-node-color, #ff0072);background:var(--vf-node-bg);border-color:var(--vf-node-color, #ff0072)}.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid var(--vf-node-color, #ff0072)}.vue-flow__nodesselection-rect,.vue-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible,.vue-flow__selection:focus,.vue-flow__selection:focus-visible{outline:none}.vue-flow__handle{width:6px;height:6px;background:var(--vf-handle);border:1px solid #fff;border-radius:100%}#menu{position:fixed;bottom:20px;right:20px;background-color:#fff;border:1px solid black;padding:10px;pointer-events:auto}.control{display:flex;flex-direction:row;align-items:center;gap:.5rem}.cog{margin-left:auto;margin-right:0;color:#8a9ba1} +@font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons.eot);src:url(/assets/primeicons.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons.woff2) format("woff2"),url(/assets/primeicons.woff) format("woff"),url(/assets/primeicons.ttf) format("truetype"),url(/assets/primeicons.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}@layer tailwind-base,primevue,tailwind-utilities;@layer tailwind-base{@tailwind base;}@layer tailwind-utilities{@tailwind components;@tailwind utilities;}body{height:100vh;max-height:100vh;overflow:hidden;margin:8px;font-family:Helvetica Neue,sans-serif}a{text-decoration:none}.term[data-v-3bf480c8]{cursor:default;-webkit-user-select:text;user-select:text}.literal[data-v-3bf480c8]{max-width:300px;text-overflow:ellipsis;overflow:hidden;display:block;white-space:nowrap}.resource-card[data-v-0fcec032]{border-radius:5px;background-color:#fff;box-shadow:0 4px 6px #6b6b6bcc;min-width:500px}.resource-card-header[data-v-0fcec032]{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background-color:gray;border-top-left-radius:5px;border-top-right-radius:5px}.resource-title[data-v-0fcec032]{font-weight:700}table[data-v-0fcec032]{width:100%;border-collapse:collapse;color:gray}tr[data-v-0fcec032]{position:relative}tr[data-v-0fcec032]:not(:last-child){border-bottom:1px solid lightgray!important}.table-container[data-v-0fcec032]{display:table;width:100%}.table-row[data-v-0fcec032]{display:table-row;position:relative!important;border-bottom:1px solid gray;right:0;top:0}.predicate[data-v-0fcec032],.object[data-v-0fcec032]{display:table-cell;padding:16px 8px;text-align:left;color:#000}.predicate[data-v-0fcec032]{padding-left:16px;text-align:left;color:#000;padding-top:16px;padding-bottom:16px}.object[data-v-0fcec032]{padding-right:16px;text-align:left}.vue-flow{position:relative;width:100%;height:100%;overflow:hidden;z-index:0;direction:ltr}.vue-flow__container{position:absolute;height:100%;width:100%;left:0;top:0}.vue-flow__pane{z-index:1}.vue-flow__pane.draggable{cursor:grab}.vue-flow__pane.selection{cursor:pointer}.vue-flow__pane.dragging{cursor:grabbing}.vue-flow__transformationpane{transform-origin:0 0;z-index:2;pointer-events:none}.vue-flow__viewport{z-index:4;overflow:clip}.vue-flow__selection{z-index:6}.vue-flow__edge-labels{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible{outline:none}.vue-flow .vue-flow__edges{pointer-events:none;overflow:visible}.vue-flow__edge-path,.vue-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.vue-flow__edge{pointer-events:visibleStroke;cursor:pointer}.vue-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__edge.animated path.vue-flow__edge-interaction{stroke-dasharray:none;animation:none}.vue-flow__edge.inactive{pointer-events:none}.vue-flow__edge.selected,.vue-flow__edge:focus,.vue-flow__edge:focus-visible{outline:none}.vue-flow__edge.selected .vue-flow__edge-path,.vue-flow__edge:focus .vue-flow__edge-path,.vue-flow__edge:focus-visible .vue-flow__edge-path{stroke:#555}.vue-flow__edge-textwrapper{pointer-events:all}.vue-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__connection{pointer-events:none}.vue-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__connectionline{z-index:1001}.vue-flow__nodes{pointer-events:none;transform-origin:0 0}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{border-width:1px;border-style:solid;border-color:#bbb}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible,.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible,.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid #555}.vue-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.vue-flow__node.draggable{cursor:grab;pointer-events:all}.vue-flow__node.draggable.dragging{cursor:grabbing}.vue-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.vue-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.vue-flow__nodesselection-rect.dragging{cursor:grabbing}.vue-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px}.vue-flow__handle.connectable{pointer-events:all;cursor:crosshair}.vue-flow__handle-bottom{left:50%;bottom:0;transform:translate(-50%,50%)}.vue-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.vue-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.vue-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.vue-flow__edgeupdater{cursor:move;pointer-events:all}.vue-flow__panel{position:absolute;z-index:5;margin:15px}.vue-flow__panel.top{top:0}.vue-flow__panel.bottom{bottom:0}.vue-flow__panel.left{left:0}.vue-flow__panel.right{right:0}.vue-flow__panel.center{left:50%;transform:translate(-50%)}@keyframes dashdraw{0%{stroke-dashoffset:10}}:root{--vf-node-bg: #fff;--vf-node-text: #222;--vf-connection-path: #b1b1b7;--vf-handle: #555}.vue-flow__edge.updating .vue-flow__edge-path{stroke:#777}.vue-flow__edge-text{font-size:10px}.vue-flow__edge-textbg{fill:#fff}.vue-flow__connection-path{stroke:var(--vf-connection-path)}.vue-flow__node{cursor:grab}.vue-flow__node.selectable:focus,.vue-flow__node.selectable:focus-visible{outline:none}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{padding:10px;border-radius:3px;width:150px;font-size:12px;text-align:center;border-width:1px;border-style:solid;color:var(--vf-node-text);background-color:var(--vf-node-bg);border-color:var(--vf-node-color)}.vue-flow__node-default.selected,.vue-flow__node-default.selected:hover,.vue-flow__node-input.selected,.vue-flow__node-input.selected:hover,.vue-flow__node-output.selected,.vue-flow__node-output.selected:hover{box-shadow:0 0 0 .5px var(--vf-box-shadow)}.vue-flow__node-default .vue-flow__handle,.vue-flow__node-input .vue-flow__handle,.vue-flow__node-output .vue-flow__handle{background:var(--vf-handle)}.vue-flow__node-default.selectable:hover,.vue-flow__node-input.selectable:hover,.vue-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.vue-flow__node-input{--vf-node-color: var(--vf-node-color, #0041d0);--vf-handle: var(--vf-node-color, #0041d0);--vf-box-shadow: var(--vf-node-color, #0041d0);background:var(--vf-node-bg);border-color:var(--vf-node-color, #0041d0)}.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible{outline:none;border:1px solid var(--vf-node-color, #0041d0)}.vue-flow__node-default{--vf-handle: var(--vf-node-color, #1a192b);--vf-box-shadow: var(--vf-node-color, #1a192b);background:var(--vf-node-bg);border-color:var(--vf-node-color, #1a192b)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible{outline:none;border:1px solid var(--vf-node-color, #1a192b)}.vue-flow__node-output{--vf-handle: var(--vf-node-color, #ff0072);--vf-box-shadow: var(--vf-node-color, #ff0072);background:var(--vf-node-bg);border-color:var(--vf-node-color, #ff0072)}.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid var(--vf-node-color, #ff0072)}.vue-flow__nodesselection-rect,.vue-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible,.vue-flow__selection:focus,.vue-flow__selection:focus-visible{outline:none}.vue-flow__handle{width:6px;height:6px;background:var(--vf-handle);border:1px solid #fff;border-radius:100%}#menu{position:fixed;bottom:20px;right:20px;background-color:#fff;border:1px solid black;padding:10px;pointer-events:auto}.control{display:flex;flex-direction:row;align-items:center;gap:.5rem}.cog{margin-left:auto;margin-right:0;color:#8a9ba1}span[data-v-ff7b29fe]{font-size:12px}.node-link[data-v-ff7b29fe]{cursor:pointer;text-decoration:underline}.search{background-color:#fff;max-height:40vh;height:40vh;border-top:solid 1px var(--p-datatable-header-cell-border-color)}.vscode-dark .search{background-color:#18181b} diff --git a/src-vscode/media/assets/main.js b/src-vscode/media/assets/main.js index d300f62..cad8367 100644 --- a/src-vscode/media/assets/main.js +++ b/src-vscode/media/assets/main.js @@ -1,80 +1,2731 @@ -var YVn=Object.defineProperty;var Q0n=l=>{throw TypeError(l);};var JVn=(l,a,w)=>a in l?YVn(l,a,{enumerable:!0,configurable:!0,writable:!0,value:w}):l[a]=w;var el=(l,a,w)=>JVn(l,typeof a!=="symbol"?a+"":a,w),Z2e=(l,a,w)=>a.has(l)||Q0n("Cannot "+w);var Fh=(l,a,w)=>(Z2e(l,a,"read from private field"),w?w.call(l):a.get(l)),I9=(l,a,w)=>a.has(l)?Q0n("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(l):a.set(l,w),nv=(l,a,w,g)=>(Z2e(l,a,"write to private field"),g?g.call(l,w):a.set(l,w),w),eme=(l,a,w)=>(Z2e(l,a,"access private method"),w);const QVn=Object.freeze(Object.defineProperty({__proto__:null,get _void(){return Nnt;},get acl(){return eQn;},get as(){return tQn;},get bibo(){return rQn;},get cc(){return oQn;},get cert(){return sQn;},get cnt(){return lQn;},get constant(){return hQn;},get crm(){return wQn;},get csvw(){return gQn;},get ctag(){return mQn;},get dash(){return EQn;},get dashSparql(){return yQn;},get dbo(){return SQn;},get dc11(){return TQn;},get dcam(){return xQn;},get dcat(){return IQn;},get dcmitype(){return NQn;},get dcterms(){return AQn;},get default(){return i2n;},get dig(){return LQn;},get discipline(){return RQn;},get doap(){return FQn;},get dpv(){return HQn;},get dqv(){return UQn;},get dtype(){return zQn;},get duv(){return WQn;},get earl(){return YQn;},get ebucore(){return QQn;},get exif(){return eZn;},get foaf(){return tZn;},get frbr(){return rZn;},get geo(){return oZn;},get geof(){return sZn;},get geor(){return lZn;},get gml(){return hZn;},get gn(){return wZn;},get gr(){return gZn;},get grddl(){return mZn;},get gs1(){return yZn;},get gtfs(){return EZn;},get http(){return SZn;},get hydra(){return TZn;},get ical(){return xZn;},get la(){return IZn;},get ldp(){return NZn;},get list(){return AZn;},get locn(){return LZn;},get log(){return RZn;},get lvont(){return FZn;},get m4i(){return HZn;},get ma(){return UZn;},get mads(){return zZn;},get math(){return WZn;},get oa(){return YZn;},get og(){return QZn;},get oidc(){return eet;},get org(){return tet;},get owl(){return ret;},get pim(){return oet;},get prefix(){return set;},get prov(){return aet;},get qb(){return det;},get qkdv(){return bet;},get quantitykind(){return pet;},get qudt(){return vet;},get rdau(){return ket;},get rdf(){return _et;},get rdfa(){return Tet;},get rdfs(){return xet;},get rev(){return Iet;},get rico(){return Net;},get rif(){return znt;},get rr(){return Aet;},get rss(){return Let;},get schema(){return Ret;},get sd(){return Fet;},get sdmx(){return Het;},get sem(){return Uet;},get set(){return zet;},get sf(){return Wet;},get sh(){return Yet;},get shex(){return Qet;},get shsh(){return ent;},get sioc(){return tnt;},get skos(){return rnt;},get skosxl(){return ont;},get solid(){return snt;},get sosa(){return lnt;},get sou(){return hnt;},get ssn(){return wnt;},get stat(){return gnt;},get string(){return mnt;},get test(){return ynt;},get time(){return Ent;},get unit(){return Snt;},get v(){return Wnt;},get vaem(){return Tnt;},get vann(){return xnt;},get vcard(){return Int;},get vs(){return Ant;},get wdr(){return Ynt;},get wdrs(){return Lnt;},get wgs(){return Rnt;},get xhv(){return Fnt;},get xkos(){return Hnt;},get xml(){return Qnt;},get xsd(){return Unt;}},Symbol.toStringTag,{value:"Module"}));(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload")){return;}for(const v of document.querySelectorAll('link[rel="modulepreload"]')){g(v);}new MutationObserver(v=>{for(const _ of v){if(_.type==="childList"){for(const p of _.addedNodes){p.tagName==="LINK"&&p.rel==="modulepreload"&&g(p);}}}}).observe(document,{childList:!0,subtree:!0});function w(v){const _={};return v.integrity&&(_.integrity=v.integrity),v.referrerPolicy&&(_.referrerPolicy=v.referrerPolicy),v.crossOrigin==="use-credentials"?_.credentials="include":v.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_;}function g(v){if(v.ep){return;}v.ep=!0;const _=w(v);fetch(v.href,_);}})();/** -* @vue/shared v3.5.12 +var J$n=Object.defineProperty;var X8t=n=>{throw TypeError(n)};var Y$n=(n,r,o)=>r in n?J$n(n,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[r]=o;var k$e=(n,r,o)=>Y$n(n,typeof r!="symbol"?r+"":r,o),R$e=(n,r,o)=>r.has(n)||X8t("Cannot "+o);var hb=(n,r,o)=>(R$e(n,r,"read from private field"),o?o.call(n):r.get(n)),Y$=(n,r,o)=>r.has(n)?X8t("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,o),aS=(n,r,o,l)=>(R$e(n,r,"write to private field"),l?l.call(n,o):r.set(n,o),o),A$e=(n,r,o)=>(R$e(n,r,"access private method"),o);const Q$n=Object.freeze(Object.defineProperty({__proto__:null,get _void(){return vFn},get acl(){return VMn},get as(){return KMn},get bibo(){return qMn},get cc(){return JMn},get cert(){return QMn},get cnt(){return eDn},get constant(){return nDn},get crm(){return iDn},get csvw(){return sDn},get ctag(){return lDn},get dash(){return dDn},get dashSparql(){return uDn},get dbo(){return bDn},get dc11(){return gDn},get dcam(){return mDn},get dcat(){return vDn},get dcmitype(){return SDn},get dcterms(){return kDn},get default(){return sVt},get dig(){return ADn},get discipline(){return xDn},get doap(){return IDn},get dpv(){return PDn},get dqv(){return NDn},get dtype(){return DDn},get duv(){return jDn},get earl(){return BDn},get ebucore(){return WDn},get exif(){return VDn},get foaf(){return KDn},get frbr(){return qDn},get geo(){return JDn},get geof(){return QDn},get geor(){return eLn},get gml(){return nLn},get gn(){return iLn},get gr(){return sLn},get grddl(){return lLn},get gs1(){return uLn},get gtfs(){return dLn},get http(){return bLn},get hydra(){return gLn},get ical(){return mLn},get la(){return vLn},get ldp(){return SLn},get list(){return kLn},get locn(){return ALn},get log(){return xLn},get lvont(){return ILn},get m4i(){return PLn},get ma(){return NLn},get mads(){return DLn},get math(){return jLn},get oa(){return BLn},get og(){return WLn},get oidc(){return VLn},get org(){return KLn},get owl(){return qLn},get pim(){return JLn},get prefix(){return QLn},get prov(){return ejn},get qb(){return njn},get qkdv(){return ijn},get quantitykind(){return sjn},get qudt(){return ljn},get rdau(){return ujn},get rdf(){return djn},get rdfa(){return bjn},get rdfs(){return gjn},get rev(){return mjn},get rico(){return vjn},get rif(){return NFn},get rr(){return Sjn},get rss(){return kjn},get schema(){return Ajn},get sd(){return xjn},get sdmx(){return Ijn},get sem(){return Pjn},get set(){return Njn},get sf(){return Djn},get sh(){return jjn},get shex(){return Bjn},get shsh(){return Wjn},get sioc(){return Vjn},get skos(){return Kjn},get skosxl(){return qjn},get solid(){return Jjn},get sosa(){return Qjn},get sou(){return eFn},get ssn(){return nFn},get stat(){return iFn},get string(){return sFn},get test(){return lFn},get time(){return uFn},get unit(){return dFn},get v(){return DFn},get vaem(){return bFn},get vann(){return gFn},get vcard(){return mFn},get vs(){return SFn},get wdr(){return jFn},get wdrs(){return kFn},get wgs(){return AFn},get xhv(){return xFn},get xkos(){return IFn},get xml(){return BFn},get xsd(){return PFn}},Symbol.toStringTag,{value:"Module"}));(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))l(h);new MutationObserver(h=>{for(const b of h)if(b.type==="childList")for(const g of b.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&l(g)}).observe(document,{childList:!0,subtree:!0});function o(h){const b={};return h.integrity&&(b.integrity=h.integrity),h.referrerPolicy&&(b.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?b.credentials="include":h.crossOrigin==="anonymous"?b.credentials="omit":b.credentials="same-origin",b}function l(h){if(h.ep)return;h.ep=!0;const b=o(h);fetch(h.href,b)}})();/** +* @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function xve(l){const a=Object.create(null);for(const w of l.split(",")){a[w]=1;}return w=>w in a;}const xs={},PT=[],fv=()=>{},ZVn=()=>!1,BX=l=>l.charCodeAt(0)===111&&l.charCodeAt(1)===110&&(l.charCodeAt(2)>122||l.charCodeAt(2)<97),Cve=l=>l.startsWith("onUpdate:"),ah=Object.assign,Ive=(l,a)=>{const w=l.indexOf(a);w>-1&&l.splice(w,1);},eWn=Object.prototype.hasOwnProperty,xu=(l,a)=>eWn.call(l,a),vc=Array.isArray,NT=l=>FX(l)==="[object Map]",wgn=l=>FX(l)==="[object Set]",Sc=l=>typeof l==="function",nl=l=>typeof l==="string",gy=l=>typeof l==="symbol",Fs=l=>l!==null&&typeof l==="object",bgn=l=>(Fs(l)||Sc(l))&&Sc(l.then)&&Sc(l.catch),ggn=Object.prototype.toString,FX=l=>ggn.call(l),nWn=l=>FX(l).slice(8,-1),pgn=l=>FX(l)==="[object Object]",Pve=l=>nl(l)&&l!=="NaN"&&l[0]!=="-"&&""+parseInt(l,10)===l,m$=xve(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),KX=l=>{const a=Object.create(null);return w=>a[w]||(a[w]=l(w));},tWn=/-(\w)/g,yg=KX(l=>l.replace(tWn,(a,w)=>w?w.toUpperCase():"")),iWn=/\B([A-Z])/g,Y9=KX(l=>l.replace(iWn,"-$1").toLowerCase()),HX=KX(l=>l.charAt(0).toUpperCase()+l.slice(1)),nme=KX(l=>l?`on${HX(l)}`:""),dy=(l,a)=>!Object.is(l,a),tme=(l,...a)=>{for(let w=0;w{Object.defineProperty(l,a,{configurable:!0,enumerable:!1,writable:g,value:w});},rWn=l=>{const a=parseFloat(l);return isNaN(a)?l:a;};let Z0n;const qX=()=>Z0n||(Z0n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"||typeof window<"u"?window:{});function kd(l){if(vc(l)){const a={};for(let w=0;w{if(w){const g=w.split(oWn);g.length>1&&(a[g[0].trim()]=g[1].trim());}}),a;}function f2(l){let a="";if(nl(l)){a=l;}else if(vc(l)){for(let w=0;w!!(l&&l.__v_isRef===!0),j5=l=>nl(l)?l:l==null?"":vc(l)||Fs(l)&&(l.toString===ggn||!Sc(l.toString))?ygn(l)?j5(l.value):JSON.stringify(l,kgn,2):String(l),kgn=(l,a)=>ygn(a)?kgn(l,a.value):NT(a)?{[`Map(${a.size})`]:[...a.entries()].reduce((w,[g,v],_)=>(w[ime(g,_)+" =>"]=v,w),{})}:wgn(a)?{[`Set(${a.size})`]:[...a.values()].map(w=>ime(w))}:gy(a)?ime(a):Fs(a)&&!vc(a)&&!pgn(a)?String(a):a,ime=(l,a="")=>{var w;return gy(l)?`Symbol(${(w=l.description)!=null?w:a})`:l;};/** -* @vue/reactivity v3.5.12 +**//*! #__NO_SIDE_EFFECTS__ */function vNe(n){const r=Object.create(null);for(const o of n.split(","))r[o]=1;return o=>o in r}const mc={},iN=[],kS=()=>{},Z$n=()=>!1,Ule=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),_Ne=n=>n.startsWith("onUpdate:"),kd=Object.assign,SNe=(n,r)=>{const o=n.indexOf(r);o>-1&&n.splice(o,1)},eIn=Object.prototype.hasOwnProperty,Sl=(n,r)=>eIn.call(n,r),ko=Array.isArray,oN=n=>Vle(n)==="[object Map]",OHt=n=>Vle(n)==="[object Set]",Ko=n=>typeof n=="function",pu=n=>typeof n=="string",Fk=n=>typeof n=="symbol",Tc=n=>n!==null&&typeof n=="object",NHt=n=>(Tc(n)||Ko(n))&&Ko(n.then)&&Ko(n.catch),MHt=Object.prototype.toString,Vle=n=>MHt.call(n),tIn=n=>Vle(n).slice(8,-1),DHt=n=>Vle(n)==="[object Object]",ENe=n=>pu(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,RV=vNe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gle=n=>{const r=Object.create(null);return o=>r[o]||(r[o]=n(o))},nIn=/-(\w)/g,iy=Gle(n=>n.replace(nIn,(r,o)=>o?o.toUpperCase():"")),rIn=/\B([A-Z])/g,L6=Gle(n=>n.replace(rIn,"-$1").toLowerCase()),Kle=Gle(n=>n.charAt(0).toUpperCase()+n.slice(1)),Jse=Gle(n=>n?`on${Kle(n)}`:""),bk=(n,r)=>!Object.is(n,r),C$e=(n,...r)=>{for(let o=0;o{Object.defineProperty(n,r,{configurable:!0,enumerable:!1,writable:l,value:o})},iIn=n=>{const r=parseFloat(n);return isNaN(r)?n:r},oIn=n=>{const r=pu(n)?Number(n):NaN;return isNaN(r)?n:r};let J8t;const zle=()=>J8t||(J8t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"||typeof window<"u"?window:{});function _g(n){if(ko(n)){const r={};for(let o=0;o{if(o){const l=o.split(aIn);l.length>1&&(r[l[0].trim()]=l[1].trim())}}),r}function Oo(n){let r="";if(pu(n))r=n;else if(ko(n))for(let o=0;o!!(n&&n.__v_isRef===!0),ll=n=>pu(n)?n:n==null?"":ko(n)||Tc(n)&&(n.toString===MHt||!Ko(n.toString))?FHt(n)?ll(n.value):JSON.stringify(n,BHt,2):String(n),BHt=(n,r)=>FHt(r)?BHt(n,r.value):oN(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((o,[l,h],b)=>(o[x$e(l,b)+" =>"]=h,o),{})}:OHt(r)?{[`Set(${r.size})`]:[...r.values()].map(o=>x$e(o))}:Fk(r)?x$e(r):Tc(r)&&!ko(r)&&!DHt(r)?String(r):r,x$e=(n,r="")=>{var o;return Fk(n)?`Symbol(${(o=n.description)!=null?o:r})`:n};/** +* @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let md;class Egn{constructor(a=!1){this.detached=a,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=md,!a&&md&&(this.index=(md.scopes||(md.scopes=[])).push(this)-1);}get active(){return this._active;}pause(){if(this._active){this._isPaused=!0;let a,w;if(this.scopes){for(a=0,w=this.scopes.length;a0){return;}if(y$){let a=y$;for(y$=void 0;a;){const w=a.next;a.next=void 0,a.flags&=-9,a=w;}}let l;for(;v$;){let a=v$;for(v$=void 0;a;){const w=a.next;if(a.next=void 0,a.flags&=-9,a.flags&1){try{a.trigger();}catch(g){l||(l=g);}}a=w;}}if(l){throw l;}}function Mgn(l){for(let a=l.deps;a;a=a.nextDep){a.version=-1,a.prevActiveLink=a.dep.activeLink,a.dep.activeLink=a;}}function xgn(l){let a,w=l.depsTail,g=w;for(;g;){const v=g.prevDep;g.version===-1?(g===w&&(w=v),$ve(g),aWn(g)):a=g,g.dep.activeLink=g.prevActiveLink,g.prevActiveLink=void 0,g=v;}l.deps=a,l.depsTail=w;}function Gme(l){for(let a=l.deps;a;a=a.nextDep){if(a.dep.version!==a.version||a.dep.computed&&(Cgn(a.dep.computed)||a.dep.version!==a.version)){return!0;}}return!!l._dirty;}function Cgn(l){if(l.flags&4&&!(l.flags&16)||(l.flags&=-17,l.globalVersion===j$)){return;}l.globalVersion=j$;const a=l.dep;if(l.flags|=2,a.version>0&&!l.isSSR&&l.deps&&!Gme(l)){l.flags&=-3;return;}const w=Ms,g=u2;Ms=l,u2=!0;try{Mgn(l);const v=l.fn(l._value);(a.version===0||dy(v,l._value))&&(l._value=v,a.version++);}catch(v){throw a.version++,v;}finally{Ms=w,u2=g,xgn(l),l.flags&=-3;}}function $ve(l,a=!1){const{dep:w,prevSub:g,nextSub:v}=l;if(g&&(g.nextSub=v,l.prevSub=void 0),v&&(v.prevSub=g,l.nextSub=void 0),w.subs===l&&(w.subs=g,!g&&w.computed)){w.computed.flags&=-5;for(let _=w.computed.deps;_;_=_.nextDep){$ve(_,!0);}}!a&&!--w.sc&&w.map&&w.map.delete(w.key);}function aWn(l){const{prevDep:a,nextDep:w}=l;a&&(a.nextDep=w,l.prevDep=void 0),w&&(w.prevDep=a,l.nextDep=void 0);}let u2=!0;const Ign=[];function x5(){Ign.push(u2),u2=!1;}function C5(){const l=Ign.pop();u2=l===void 0?!0:l;}function nwn(l){const{cleanup:a}=l;if(l.cleanup=void 0,a){const w=Ms;Ms=void 0;try{a();}finally{Ms=w;}}}let j$=0;class hWn{constructor(a,w){this.sub=a,this.dep=w,this.version=w.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0;}}class UX{constructor(a){this.computed=a,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0;}track(a){if(!Ms||!u2||Ms===this.computed){return;}let w=this.activeLink;if(w===void 0||w.sub!==Ms){w=this.activeLink=new hWn(Ms,this),Ms.deps?(w.prevDep=Ms.depsTail,Ms.depsTail.nextDep=w,Ms.depsTail=w):Ms.deps=Ms.depsTail=w,Pgn(w);}else if(w.version===-1&&(w.version=this.version,w.nextDep)){const g=w.nextDep;g.prevDep=w.prevDep,w.prevDep&&(w.prevDep.nextDep=g),w.prevDep=Ms.depsTail,w.nextDep=void 0,Ms.depsTail.nextDep=w,Ms.depsTail=w,Ms.deps===w&&(Ms.deps=g);}return w;}trigger(a){this.version++,j$++,this.notify(a);}notify(a){Ove();try{for(let w=this.subs;w;w=w.prevSub){w.sub.notify()&&w.sub.dep.notify();}}finally{Ave();}}}function Pgn(l){if(l.dep.sc++,l.sub.flags&4){const a=l.dep.computed;if(a&&!l.dep.subs){a.flags|=20;for(let g=a.deps;g;g=g.nextDep){Pgn(g);}}const w=l.dep.subs;w!==l&&(l.prevSub=w,w&&(w.nextSub=l)),l.dep.subs=l;}}const vX=new WeakMap,K9=Symbol(""),zme=Symbol(""),T$=Symbol("");function k1(l,a,w){if(u2&&Ms){let g=vX.get(l);g||vX.set(l,g=new Map);let v=g.get(w);v||(g.set(w,v=new UX),v.map=g,v.key=w),v.track();}}function fy(l,a,w,g,v,_){const p=vX.get(l);if(!p){j$++;return;}const j=C=>{C&&C.trigger();};if(Ove(),a==="clear"){p.forEach(j);}else{const C=vc(l),$=C&&Pve(w);if(C&&w==="length"){const A=Number(g);p.forEach((K,Q)=>{(Q==="length"||Q===T$||!gy(Q)&&Q>=A)&&j(K);});}else {switch((w!==void 0||p.has(void 0))&&j(p.get(w)),$&&j(p.get(T$)),a){case"add":C?$&&j(p.get("length")):(j(p.get(K9)),NT(l)&&j(p.get(zme)));break;case"delete":C||(j(p.get(K9)),NT(l)&&j(p.get(zme)));break;case"set":NT(l)&&j(p.get(K9));break;}}}Ave();}function dWn(l,a){const w=vX.get(l);return w&&w.get(a);}function TT(l){const a=bu(l);return a===l?a:(k1(a,"iterate",T$),vg(l)?a:a.map(E1));}function GX(l){return k1(l=bu(l),"iterate",T$),l;}const wWn={__proto__:null,[Symbol.iterator](){return cme(this,Symbol.iterator,E1);},concat(...l){return TT(this).concat(...l.map(a=>vc(a)?TT(a):a));},entries(){return cme(this,"entries",l=>(l[1]=E1(l[1]),l));},every(l,a){return oy(this,"every",l,a,void 0,arguments);},filter(l,a){return oy(this,"filter",l,a,w=>w.map(E1),arguments);},find(l,a){return oy(this,"find",l,a,E1,arguments);},findIndex(l,a){return oy(this,"findIndex",l,a,void 0,arguments);},findLast(l,a){return oy(this,"findLast",l,a,E1,arguments);},findLastIndex(l,a){return oy(this,"findLastIndex",l,a,void 0,arguments);},forEach(l,a){return oy(this,"forEach",l,a,void 0,arguments);},includes(...l){return ome(this,"includes",l);},indexOf(...l){return ome(this,"indexOf",l);},join(l){return TT(this).join(l);},lastIndexOf(...l){return ome(this,"lastIndexOf",l);},map(l,a){return oy(this,"map",l,a,void 0,arguments);},pop(){return f$(this,"pop");},push(...l){return f$(this,"push",l);},reduce(l,...a){return twn(this,"reduce",l,a);},reduceRight(l,...a){return twn(this,"reduceRight",l,a);},shift(){return f$(this,"shift");},some(l,a){return oy(this,"some",l,a,void 0,arguments);},splice(...l){return f$(this,"splice",l);},toReversed(){return TT(this).toReversed();},toSorted(l){return TT(this).toSorted(l);},toSpliced(...l){return TT(this).toSpliced(...l);},unshift(...l){return f$(this,"unshift",l);},values(){return cme(this,"values",E1);}};function cme(l,a,w){const g=GX(l),v=g[a]();return g!==l&&!vg(l)&&(v._next=v.next,v.next=()=>{const _=v._next();return _.value&&(_.value=w(_.value)),_;}),v;}const bWn=Array.prototype;function oy(l,a,w,g,v,_){const p=GX(l),j=p!==l&&!vg(l),C=p[a];if(C!==bWn[a]){const K=C.apply(l,_);return j?E1(K):K;}let $=w;p!==l&&(j?$=function(K,Q){return w.call(this,E1(K),Q,l);}:w.length>2&&($=function(K,Q){return w.call(this,K,Q,l);}));const A=C.call(p,$,g);return j&&v?v(A):A;}function twn(l,a,w,g){const v=GX(l);let _=w;return v!==l&&(vg(l)?w.length>3&&(_=function(p,j,C){return w.call(this,p,j,C,l);}):_=function(p,j,C){return w.call(this,p,E1(j),C,l);}),v[a](_,...g);}function ome(l,a,w){const g=bu(l);k1(g,"iterate",T$);const v=g[a](...w);return(v===-1||v===!1)&&Bve(w[0])?(w[0]=bu(w[0]),g[a](...w)):v;}function f$(l,a,w=[]){x5(),Ove();const g=bu(l)[a].apply(l,w);return Ave(),C5(),g;}const gWn=xve("__proto__,__v_isRef,__isVue"),Ngn=new Set(Object.getOwnPropertyNames(Symbol).filter(l=>l!=="arguments"&&l!=="caller").map(l=>Symbol[l]).filter(gy));function pWn(l){gy(l)||(l=String(l));const a=bu(this);return k1(a,"has",l),a.hasOwnProperty(l);}class Ogn{constructor(a=!1,w=!1){this._isReadonly=a,this._isShallow=w;}get(a,w,g){const v=this._isReadonly,_=this._isShallow;if(w==="__v_isReactive"){return!v;}if(w==="__v_isReadonly"){return v;}if(w==="__v_isShallow"){return _;}if(w==="__v_raw"){return g===(v?_?MWn:Dgn:_?Lgn:$gn).get(a)||Object.getPrototypeOf(a)===Object.getPrototypeOf(g)?a:void 0;}const p=vc(a);if(!v){let C;if(p&&(C=wWn[w])){return C;}if(w==="hasOwnProperty"){return pWn;}}const j=Reflect.get(a,w,Il(a)?a:g);return(gy(w)?Ngn.has(w):gWn(w))||(v||k1(a,"get",w),_)?j:Il(j)?p&&Pve(w)?j:j.value:Fs(j)?v?Dve(j):zX(j):j;}}class Agn extends Ogn{constructor(a=!1){super(!1,a);}set(a,w,g,v){let _=a[w];if(!this._isShallow){const C=G9(_);if(!vg(g)&&!G9(g)&&(_=bu(_),g=bu(g)),!vc(a)&&Il(_)&&!Il(g)){return C?!1:(_.value=g,!0);}}const p=vc(a)&&Pve(w)?Number(w)l,zW=l=>Reflect.getPrototypeOf(l);function EWn(l,a,w){return function(...g){const v=this.__v_raw,_=bu(v),p=NT(_),j=l==="entries"||l===Symbol.iterator&&p,C=l==="keys"&&p,$=v[l](...g),A=w?Vme:a?Wme:E1;return!a&&k1(_,"iterate",C?zme:K9),{next(){const{value:K,done:Q}=$.next();return Q?{value:K,done:Q}:{value:j?[A(K[0]),A(K[1])]:A(K),done:Q};},[Symbol.iterator](){return this;}};};}function VW(l){return function(...a){return l==="delete"?!1:l==="clear"?void 0:this;};}function _Wn(l,a){const w={get(v){const _=this.__v_raw,p=bu(_),j=bu(v);l||(dy(v,j)&&k1(p,"get",v),k1(p,"get",j));const{has:C}=zW(p),$=a?Vme:l?Wme:E1;if(C.call(p,v)){return $(_.get(v));}if(C.call(p,j)){return $(_.get(j));}_!==p&&_.get(v);},get size(){const v=this.__v_raw;return!l&&k1(bu(v),"iterate",K9),Reflect.get(v,"size",v);},has(v){const _=this.__v_raw,p=bu(_),j=bu(v);return l||(dy(v,j)&&k1(p,"has",v),k1(p,"has",j)),v===j?_.has(v):_.has(v)||_.has(j);},forEach(v,_){const p=this,j=p.__v_raw,C=bu(j),$=a?Vme:l?Wme:E1;return!l&&k1(C,"iterate",K9),j.forEach((A,K)=>v.call(_,$(A),$(K),p));}};return ah(w,l?{add:VW("add"),set:VW("set"),delete:VW("delete"),clear:VW("clear")}:{add(v){!a&&!vg(v)&&!G9(v)&&(v=bu(v));const _=bu(this);return zW(_).has.call(_,v)||(_.add(v),fy(_,"add",v,v)),this;},set(v,_){!a&&!vg(_)&&!G9(_)&&(_=bu(_));const p=bu(this),{has:j,get:C}=zW(p);let $=j.call(p,v);$||(v=bu(v),$=j.call(p,v));const A=C.call(p,v);return p.set(v,_),$?dy(_,A)&&fy(p,"set",v,_):fy(p,"add",v,_),this;},delete(v){const _=bu(this),{has:p,get:j}=zW(_);let C=p.call(_,v);C||(v=bu(v),C=p.call(_,v)),j&&j.call(_,v);const $=_.delete(v);return C&&fy(_,"delete",v,void 0),$;},clear(){const v=bu(this),_=v.size!==0,p=v.clear();return _&&fy(v,"clear",void 0,void 0),p;}}),["keys","values","entries",Symbol.iterator].forEach(v=>{w[v]=EWn(v,l,a);}),w;}function Lve(l,a){const w=_Wn(l,a);return(g,v,_)=>v==="__v_isReactive"?!l:v==="__v_isReadonly"?l:v==="__v_raw"?g:Reflect.get(xu(w,v)&&v in g?w:g,v,_);}const SWn={get:Lve(!1,!1)},jWn={get:Lve(!1,!0)},TWn={get:Lve(!0,!1)};const $gn=new WeakMap,Lgn=new WeakMap,Dgn=new WeakMap,MWn=new WeakMap;function xWn(l){switch(l){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0;}}function CWn(l){return l.__v_skip||!Object.isExtensible(l)?0:xWn(nWn(l));}function zX(l){return G9(l)?l:Rve(l,!1,vWn,SWn,$gn);}function IWn(l){return Rve(l,!1,kWn,jWn,Lgn);}function Dve(l){return Rve(l,!0,yWn,TWn,Dgn);}function Rve(l,a,w,g,v){if(!Fs(l)||l.__v_raw&&!(a&&l.__v_isReactive)){return l;}const _=v.get(l);if(_){return _;}const p=CWn(l);if(p===0){return l;}const j=new Proxy(l,p===2?g:w);return v.set(l,j),j;}function OT(l){return G9(l)?OT(l.__v_raw):!!(l&&l.__v_isReactive);}function G9(l){return!!(l&&l.__v_isReadonly);}function vg(l){return!!(l&&l.__v_isShallow);}function Bve(l){return l?!!l.__v_raw:!1;}function bu(l){const a=l&&l.__v_raw;return a?bu(a):l;}function H9(l){return!xu(l,"__v_skip")&&Object.isExtensible(l)&&mgn(l,"__v_skip",!0),l;}const E1=l=>Fs(l)?zX(l):l,Wme=l=>Fs(l)?Dve(l):l;function Il(l){return l?l.__v_isRef===!0:!1;}function su(l){return PWn(l,!1);}function PWn(l,a){return Il(l)?l:new NWn(l,a);}class NWn{constructor(a,w){this.dep=new UX,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=w?a:bu(a),this._value=w?a:E1(a),this.__v_isShallow=w;}get value(){return this.dep.track(),this._value;}set value(a){const w=this._rawValue,g=this.__v_isShallow||vg(a)||G9(a);a=g?a:bu(a),dy(a,w)&&(this._rawValue=a,this._value=g?a:E1(a),this.dep.trigger());}}function Xi(l){return Il(l)?l.value:l;}function ou(l){return Sc(l)?l():Xi(l);}const OWn={get:(l,a,w)=>a==="__v_raw"?l:Xi(Reflect.get(l,a,w)),set:(l,a,w,g)=>{const v=l[a];return Il(v)&&!Il(w)?(v.value=w,!0):Reflect.set(l,a,w,g);}};function Rgn(l){return OT(l)?l:new Proxy(l,OWn);}class AWn{constructor(a){this.__v_isRef=!0,this._value=void 0;const w=this.dep=new UX,{get:g,set:v}=a(w.track.bind(w),w.trigger.bind(w));this._get=g,this._set=v;}get value(){return this._value=this._get();}set value(a){this._set(a);}}function $Wn(l){return new AWn(l);}function LWn(l){const a=vc(l)?new Array(l.length):{};for(const w in l){a[w]=Bgn(l,w);}return a;}class DWn{constructor(a,w,g){this._object=a,this._key=w,this._defaultValue=g,this.__v_isRef=!0,this._value=void 0;}get value(){const a=this._object[this._key];return this._value=a===void 0?this._defaultValue:a;}set value(a){this._object[this._key]=a;}get dep(){return dWn(bu(this._object),this._key);}}class RWn{constructor(a){this._getter=a,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0;}get value(){return this._value=this._getter();}}function Cs(l,a,w){return Il(l)?l:Sc(l)?new RWn(l):Fs(l)&&arguments.length>1?Bgn(l,a,w):su(l);}function Bgn(l,a,w){const g=l[a];return Il(g)?g:new DWn(l,a,w);}class BWn{constructor(a,w,g){this.fn=a,this.setter=w,this._value=void 0,this.dep=new UX(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=j$-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!w,this.isSSR=g;}notify(){if(this.flags|=16,!(this.flags&8)&&Ms!==this){return Tgn(this,!0),!0;}}get value(){const a=this.dep.track();return Cgn(this),a&&(a.version=this.dep.version),this._value;}set value(a){this.setter&&this.setter(a);}}function FWn(l,a,w=!1){let g,v;return Sc(l)?g=l:(g=l.get,v=l.set),new BWn(g,v,w);}const WW={},yX=new WeakMap;let L9;function KWn(l,a=!1,w=L9){if(w){let g=yX.get(w);g||yX.set(w,g=[]),g.push(l);}}function HWn(l,a,w=xs){const{immediate:g,deep:v,once:_,scheduler:p,augmentJob:j,call:C}=w,$=Ce=>v?Ce:vg(Ce)||v===!1||v===0?E5(Ce,1):E5(Ce);let A,K,Q,ee,Y=!1,Ie=!1;if(Il(l)?(K=()=>l.value,Y=vg(l)):OT(l)?(K=()=>$(l),Y=!0):vc(l)?(Ie=!0,Y=l.some(Ce=>OT(Ce)||vg(Ce)),K=()=>l.map(Ce=>{if(Il(Ce)){return Ce.value;}if(OT(Ce)){return $(Ce);}if(Sc(Ce)){return C?C(Ce,2):Ce();}})):Sc(l)?a?K=C?()=>C(l,2):l:K=()=>{if(Q){x5();try{Q();}finally{C5();}}const Ce=L9;L9=A;try{return C?C(l,3,[ee]):l(ee);}finally{L9=Ce;}}:K=fv,a&&v){const Ce=K,gn=v===!0?1/0:v;K=()=>E5(Ce(),gn);}const Me=Nve(),oe=()=>{A.stop(),Me&&Ive(Me.effects,A);};if(_&&a){const Ce=a;a=(...gn)=>{Ce(...gn),oe();};}let ke=Ie?new Array(l.length).fill(WW):WW;const fe=Ce=>{if(!(!(A.flags&1)||!A.dirty&&!Ce)){if(a){const gn=A.run();if(v||Y||(Ie?gn.some((rt,jt)=>dy(rt,ke[jt])):dy(gn,ke))){Q&&Q();const rt=L9;L9=A;try{const jt=[gn,ke===WW?void 0:Ie&&ke[0]===WW?[]:ke,ee];C?C(a,3,jt):a(...jt),ke=gn;}finally{L9=rt;}}}else {A.run();}}};return j&&j(fe),A=new Sgn(K),A.scheduler=p?()=>p(fe,!1):fe,ee=Ce=>KWn(Ce,!1,A),Q=A.onStop=()=>{const Ce=yX.get(A);if(Ce){if(C){C(Ce,4);}else {for(const gn of Ce){gn();}}yX.delete(A);}},a?g?fe(!0):ke=A.run():p?p(fe.bind(null,!0),!0):A.run(),oe.pause=A.pause.bind(A),oe.resume=A.resume.bind(A),oe.stop=oe,oe;}function E5(l,a=1/0,w){if(a<=0||!Fs(l)||l.__v_skip||(w=w||new Set,w.has(l))){return l;}if(w.add(l),a--,Il(l)){E5(l.value,a,w);}else if(vc(l)){for(let g=0;g{E5(g,a,w);});}else if(pgn(l)){for(const g in l){E5(l[g],a,w);}for(const g of Object.getOwnPropertySymbols(l)){Object.prototype.propertyIsEnumerable.call(l,g)&&E5(l[g],a,w);}}return l;}/** -* @vue/runtime-core v3.5.12 +**/let gg;class HHt{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=gg,!r&&gg&&(this.index=(gg.scopes||(gg.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let r,o;if(this.scopes)for(r=0,o=this.scopes.length;r0)return;if(CV){let r=CV;for(CV=void 0;r;){const o=r.next;r.next=void 0,r.flags&=-9,r=o}}let n;for(;AV;){let r=AV;for(AV=void 0;r;){const o=r.next;if(r.next=void 0,r.flags&=-9,r.flags&1)try{r.trigger()}catch(l){n||(n=l)}r=o}}if(n)throw n}function KHt(n){for(let r=n.deps;r;r=r.nextDep)r.version=-1,r.prevActiveLink=r.dep.activeLink,r.dep.activeLink=r}function zHt(n){let r,o=n.depsTail,l=o;for(;l;){const h=l.prevDep;l.version===-1?(l===o&&(o=h),CNe(l),dIn(l)):r=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=h}n.deps=r,n.depsTail=o}function oPe(n){for(let r=n.deps;r;r=r.nextDep)if(r.dep.version!==r.version||r.dep.computed&&(qHt(r.dep.computed)||r.dep.version!==r.version))return!0;return!!n._dirty}function qHt(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===QV))return;n.globalVersion=QV;const r=n.dep;if(n.flags|=2,r.version>0&&!n.isSSR&&n.deps&&!oPe(n)){n.flags&=-3;return}const o=Ic,l=b2;Ic=n,b2=!0;try{KHt(n);const h=n.fn(n._value);(r.version===0||bk(h,n._value))&&(n._value=h,r.version++)}catch(h){throw r.version++,h}finally{Ic=o,b2=l,zHt(n),n.flags&=-3}}function CNe(n,r=!1){const{dep:o,prevSub:l,nextSub:h}=n;if(l&&(l.nextSub=h,n.prevSub=void 0),h&&(h.prevSub=l,n.nextSub=void 0),o.subs===n&&(o.subs=l,!l&&o.computed)){o.computed.flags&=-5;for(let b=o.computed.deps;b;b=b.nextDep)CNe(b,!0)}!r&&!--o.sc&&o.map&&o.map.delete(o.key)}function dIn(n){const{prevDep:r,nextDep:o}=n;r&&(r.nextDep=o,n.prevDep=void 0),o&&(o.prevDep=r,n.nextDep=void 0)}let b2=!0;const XHt=[];function j6(){XHt.push(b2),b2=!1}function F6(){const n=XHt.pop();b2=n===void 0?!0:n}function Y8t(n){const{cleanup:r}=n;if(n.cleanup=void 0,r){const o=Ic;Ic=void 0;try{r()}finally{Ic=o}}}let QV=0,hIn=class{constructor(r,o){this.sub=r,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class qle{constructor(r){this.computed=r,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(r){if(!Ic||!b2||Ic===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==Ic)o=this.activeLink=new hIn(Ic,this),Ic.deps?(o.prevDep=Ic.depsTail,Ic.depsTail.nextDep=o,Ic.depsTail=o):Ic.deps=Ic.depsTail=o,JHt(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const l=o.nextDep;l.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=l),o.prevDep=Ic.depsTail,o.nextDep=void 0,Ic.depsTail.nextDep=o,Ic.depsTail=o,Ic.deps===o&&(Ic.deps=l)}return o}trigger(r){this.version++,QV++,this.notify(r)}notify(r){RNe();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{ANe()}}}function JHt(n){if(n.dep.sc++,n.sub.flags&4){const r=n.dep.computed;if(r&&!n.dep.subs){r.flags|=20;for(let l=r.deps;l;l=l.nextDep)JHt(l)}const o=n.dep.subs;o!==n&&(n.prevSub=o,o&&(o.nextSub=n)),n.dep.subs=n}}const Mae=new WeakMap,FI=Symbol(""),sPe=Symbol(""),ZV=Symbol("");function op(n,r,o){if(b2&&Ic){let l=Mae.get(n);l||Mae.set(n,l=new Map);let h=l.get(o);h||(l.set(o,h=new qle),h.map=l,h.key=o),h.track()}}function ak(n,r,o,l,h,b){const g=Mae.get(n);if(!g){QV++;return}const m=S=>{S&&S.trigger()};if(RNe(),r==="clear")g.forEach(m);else{const S=ko(n),_=S&&ENe(o);if(S&&o==="length"){const k=Number(l);g.forEach((I,C)=>{(C==="length"||C===ZV||!Fk(C)&&C>=k)&&m(I)})}else switch((o!==void 0||g.has(void 0))&&m(g.get(o)),_&&m(g.get(ZV)),r){case"add":S?_&&m(g.get("length")):(m(g.get(FI)),oN(n)&&m(g.get(sPe)));break;case"delete":S||(m(g.get(FI)),oN(n)&&m(g.get(sPe)));break;case"set":oN(n)&&m(g.get(FI));break}}ANe()}function bIn(n,r){const o=Mae.get(n);return o&&o.get(r)}function E9(n){const r=Za(n);return r===n?r:(op(r,"iterate",ZV),ry(n)?r:r.map(sp))}function Xle(n){return op(n=Za(n),"iterate",ZV),n}const pIn={__proto__:null,[Symbol.iterator](){return I$e(this,Symbol.iterator,sp)},concat(...n){return E9(this).concat(...n.map(r=>ko(r)?E9(r):r))},entries(){return I$e(this,"entries",n=>(n[1]=sp(n[1]),n))},every(n,r){return X3(this,"every",n,r,void 0,arguments)},filter(n,r){return X3(this,"filter",n,r,o=>o.map(sp),arguments)},find(n,r){return X3(this,"find",n,r,sp,arguments)},findIndex(n,r){return X3(this,"findIndex",n,r,void 0,arguments)},findLast(n,r){return X3(this,"findLast",n,r,sp,arguments)},findLastIndex(n,r){return X3(this,"findLastIndex",n,r,void 0,arguments)},forEach(n,r){return X3(this,"forEach",n,r,void 0,arguments)},includes(...n){return T$e(this,"includes",n)},indexOf(...n){return T$e(this,"indexOf",n)},join(n){return E9(this).join(n)},lastIndexOf(...n){return T$e(this,"lastIndexOf",n)},map(n,r){return X3(this,"map",n,r,void 0,arguments)},pop(){return MU(this,"pop")},push(...n){return MU(this,"push",n)},reduce(n,...r){return Q8t(this,"reduce",n,r)},reduceRight(n,...r){return Q8t(this,"reduceRight",n,r)},shift(){return MU(this,"shift")},some(n,r){return X3(this,"some",n,r,void 0,arguments)},splice(...n){return MU(this,"splice",n)},toReversed(){return E9(this).toReversed()},toSorted(n){return E9(this).toSorted(n)},toSpliced(...n){return E9(this).toSpliced(...n)},unshift(...n){return MU(this,"unshift",n)},values(){return I$e(this,"values",sp)}};function I$e(n,r,o){const l=Xle(n),h=l[r]();return l!==n&&!ry(n)&&(h._next=h.next,h.next=()=>{const b=h._next();return b.value&&(b.value=o(b.value)),b}),h}const gIn=Array.prototype;function X3(n,r,o,l,h,b){const g=Xle(n),m=g!==n&&!ry(n),S=g[r];if(S!==gIn[r]){const I=S.apply(n,b);return m?sp(I):I}let _=o;g!==n&&(m?_=function(I,C){return o.call(this,sp(I),C,n)}:o.length>2&&(_=function(I,C){return o.call(this,I,C,n)}));const k=S.call(g,_,l);return m&&h?h(k):k}function Q8t(n,r,o,l){const h=Xle(n);let b=o;return h!==n&&(ry(n)?o.length>3&&(b=function(g,m,S){return o.call(this,g,m,S,n)}):b=function(g,m,S){return o.call(this,g,sp(m),S,n)}),h[r](b,...l)}function T$e(n,r,o){const l=Za(n);op(l,"iterate",ZV);const h=l[r](...o);return(h===-1||h===!1)&&INe(o[0])?(o[0]=Za(o[0]),l[r](...o)):h}function MU(n,r,o=[]){j6(),RNe();const l=Za(n)[r].apply(n,o);return ANe(),F6(),l}const wIn=vNe("__proto__,__v_isRef,__isVue"),YHt=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Fk));function mIn(n){Fk(n)||(n=String(n));const r=Za(this);return op(r,"has",n),r.hasOwnProperty(n)}class QHt{constructor(r=!1,o=!1){this._isReadonly=r,this._isShallow=o}get(r,o,l){if(o==="__v_skip")return r.__v_skip;const h=this._isReadonly,b=this._isShallow;if(o==="__v_isReactive")return!h;if(o==="__v_isReadonly")return h;if(o==="__v_isShallow")return b;if(o==="__v_raw")return l===(h?b?xIn:nWt:b?tWt:eWt).get(r)||Object.getPrototypeOf(r)===Object.getPrototypeOf(l)?r:void 0;const g=ko(r);if(!h){let S;if(g&&(S=pIn[o]))return S;if(o==="hasOwnProperty")return mIn}const m=Reflect.get(r,o,Xf(r)?r:l);return(Fk(o)?YHt.has(o):wIn(o))||(h||op(r,"get",o),b)?m:Xf(m)?g&&ENe(o)?m:m.value:Tc(m)?h?Jle(m):VG(m):m}}class ZHt extends QHt{constructor(r=!1){super(!1,r)}set(r,o,l,h){let b=r[o];if(!this._isShallow){const S=nT(b);if(!ry(l)&&!nT(l)&&(b=Za(b),l=Za(l)),!ko(r)&&Xf(b)&&!Xf(l))return S?!1:(b.value=l,!0)}const g=ko(r)&&ENe(o)?Number(o)n,$oe=n=>Reflect.getPrototypeOf(n);function EIn(n,r,o){return function(...l){const h=this.__v_raw,b=Za(h),g=oN(b),m=n==="entries"||n===Symbol.iterator&&g,S=n==="keys"&&g,_=h[n](...l),k=o?aPe:r?lPe:sp;return!r&&op(b,"iterate",S?sPe:FI),{next(){const{value:I,done:C}=_.next();return C?{value:I,done:C}:{value:m?[k(I[0]),k(I[1])]:k(I),done:C}},[Symbol.iterator](){return this}}}}function Ioe(n){return function(...r){return n==="delete"?!1:n==="clear"?void 0:this}}function kIn(n,r){const o={get(h){const b=this.__v_raw,g=Za(b),m=Za(h);n||(bk(h,m)&&op(g,"get",h),op(g,"get",m));const{has:S}=$oe(g),_=r?aPe:n?lPe:sp;if(S.call(g,h))return _(b.get(h));if(S.call(g,m))return _(b.get(m));b!==g&&b.get(h)},get size(){const h=this.__v_raw;return!n&&op(Za(h),"iterate",FI),Reflect.get(h,"size",h)},has(h){const b=this.__v_raw,g=Za(b),m=Za(h);return n||(bk(h,m)&&op(g,"has",h),op(g,"has",m)),h===m?b.has(h):b.has(h)||b.has(m)},forEach(h,b){const g=this,m=g.__v_raw,S=Za(m),_=r?aPe:n?lPe:sp;return!n&&op(S,"iterate",FI),m.forEach((k,I)=>h.call(b,_(k),_(I),g))}};return kd(o,n?{add:Ioe("add"),set:Ioe("set"),delete:Ioe("delete"),clear:Ioe("clear")}:{add(h){!r&&!ry(h)&&!nT(h)&&(h=Za(h));const b=Za(this);return $oe(b).has.call(b,h)||(b.add(h),ak(b,"add",h,h)),this},set(h,b){!r&&!ry(b)&&!nT(b)&&(b=Za(b));const g=Za(this),{has:m,get:S}=$oe(g);let _=m.call(g,h);_||(h=Za(h),_=m.call(g,h));const k=S.call(g,h);return g.set(h,b),_?bk(b,k)&&ak(g,"set",h,b):ak(g,"add",h,b),this},delete(h){const b=Za(this),{has:g,get:m}=$oe(b);let S=g.call(b,h);S||(h=Za(h),S=g.call(b,h)),m&&m.call(b,h);const _=b.delete(h);return S&&ak(b,"delete",h,void 0),_},clear(){const h=Za(this),b=h.size!==0,g=h.clear();return b&&ak(h,"clear",void 0,void 0),g}}),["keys","values","entries",Symbol.iterator].forEach(h=>{o[h]=EIn(h,n,r)}),o}function xNe(n,r){const o=kIn(n,r);return(l,h,b)=>h==="__v_isReactive"?!n:h==="__v_isReadonly"?n:h==="__v_raw"?l:Reflect.get(Sl(o,h)&&h in l?o:l,h,b)}const RIn={get:xNe(!1,!1)},AIn={get:xNe(!1,!0)},CIn={get:xNe(!0,!1)};const eWt=new WeakMap,tWt=new WeakMap,nWt=new WeakMap,xIn=new WeakMap;function $In(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function IIn(n){return n.__v_skip||!Object.isExtensible(n)?0:$In(tIn(n))}function VG(n){return nT(n)?n:$Ne(n,!1,vIn,RIn,eWt)}function TIn(n){return $Ne(n,!1,SIn,AIn,tWt)}function Jle(n){return $Ne(n,!0,_In,CIn,nWt)}function $Ne(n,r,o,l,h){if(!Tc(n)||n.__v_raw&&!(r&&n.__v_isReactive))return n;const b=h.get(n);if(b)return b;const g=IIn(n);if(g===0)return n;const m=new Proxy(n,g===2?l:o);return h.set(n,m),m}function sN(n){return nT(n)?sN(n.__v_raw):!!(n&&n.__v_isReactive)}function nT(n){return!!(n&&n.__v_isReadonly)}function ry(n){return!!(n&&n.__v_isShallow)}function INe(n){return n?!!n.__v_raw:!1}function Za(n){const r=n&&n.__v_raw;return r?Za(r):n}function BI(n){return!Sl(n,"__v_skip")&&Object.isExtensible(n)&&LHt(n,"__v_skip",!0),n}const sp=n=>Tc(n)?VG(n):n,lPe=n=>Tc(n)?Jle(n):n;function Xf(n){return n?n.__v_isRef===!0:!1}function fa(n){return PIn(n,!1)}function PIn(n,r){return Xf(n)?n:new OIn(n,r)}class OIn{constructor(r,o){this.dep=new qle,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?r:Za(r),this._value=o?r:sp(r),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(r){const o=this._rawValue,l=this.__v_isShallow||ry(r)||nT(r);r=l?r:Za(r),bk(r,o)&&(this._rawValue=r,this._value=l?r:sp(r),this.dep.trigger())}}function ii(n){return Xf(n)?n.value:n}function Qa(n){return Ko(n)?n():ii(n)}const NIn={get:(n,r,o)=>r==="__v_raw"?n:ii(Reflect.get(n,r,o)),set:(n,r,o,l)=>{const h=n[r];return Xf(h)&&!Xf(o)?(h.value=o,!0):Reflect.set(n,r,o,l)}};function rWt(n){return sN(n)?n:new Proxy(n,NIn)}class MIn{constructor(r){this.__v_isRef=!0,this._value=void 0;const o=this.dep=new qle,{get:l,set:h}=r(o.track.bind(o),o.trigger.bind(o));this._get=l,this._set=h}get value(){return this._value=this._get()}set value(r){this._set(r)}}function DIn(n){return new MIn(n)}function LIn(n){const r=ko(n)?new Array(n.length):{};for(const o in n)r[o]=iWt(n,o);return r}class jIn{constructor(r,o,l){this._object=r,this._key=o,this._defaultValue=l,this.__v_isRef=!0,this._value=void 0}get value(){const r=this._object[this._key];return this._value=r===void 0?this._defaultValue:r}set value(r){this._object[this._key]=r}get dep(){return bIn(Za(this._object),this._key)}}class FIn{constructor(r){this._getter=r,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Vu(n,r,o){return Xf(n)?n:Ko(n)?new FIn(n):Tc(n)&&arguments.length>1?iWt(n,r,o):fa(n)}function iWt(n,r,o){const l=n[r];return Xf(l)?l:new jIn(n,r,o)}class BIn{constructor(r,o,l){this.fn=r,this.setter=o,this._value=void 0,this.dep=new qle(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=QV-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=l}notify(){if(this.flags|=16,!(this.flags&8)&&Ic!==this)return GHt(this,!0),!0}get value(){const r=this.dep.track();return qHt(this),r&&(r.version=this.dep.version),this._value}set value(r){this.setter&&this.setter(r)}}function HIn(n,r,o=!1){let l,h;return Ko(n)?l=n:(l=n.get,h=n.set),new BIn(l,h,o)}const Toe={},Dae=new WeakMap;let mI;function WIn(n,r=!1,o=mI){if(o){let l=Dae.get(o);l||Dae.set(o,l=[]),l.push(n)}}function UIn(n,r,o=mc){const{immediate:l,deep:h,once:b,scheduler:g,augmentJob:m,call:S}=o,_=Q=>h?Q:ry(Q)||h===!1||h===0?lk(Q,1):lk(Q);let k,I,C,A,M=!1,D=!1;if(Xf(n)?(I=()=>n.value,M=ry(n)):sN(n)?(I=()=>_(n),M=!0):ko(n)?(D=!0,M=n.some(Q=>sN(Q)||ry(Q)),I=()=>n.map(Q=>{if(Xf(Q))return Q.value;if(sN(Q))return _(Q);if(Ko(Q))return S?S(Q,2):Q()})):Ko(n)?r?I=S?()=>S(n,2):n:I=()=>{if(C){j6();try{C()}finally{F6()}}const Q=mI;mI=k;try{return S?S(n,3,[A]):n(A)}finally{mI=Q}}:I=kS,r&&h){const Q=I,ne=h===!0?1/0:h;I=()=>lk(Q(),ne)}const H=kNe(),G=()=>{k.stop(),H&&H.active&&SNe(H.effects,k)};if(b&&r){const Q=r;r=(...ne)=>{Q(...ne),G()}}let Y=D?new Array(n.length).fill(Toe):Toe;const F=Q=>{if(!(!(k.flags&1)||!k.dirty&&!Q))if(r){const ne=k.run();if(h||M||(D?ne.some((be,De)=>bk(be,Y[De])):bk(ne,Y))){C&&C();const be=mI;mI=k;try{const De=[ne,Y===Toe?void 0:D&&Y[0]===Toe?[]:Y,A];S?S(r,3,De):r(...De),Y=ne}finally{mI=be}}}else k.run()};return m&&m(F),k=new UHt(I),k.scheduler=g?()=>g(F,!1):F,A=Q=>WIn(Q,!1,k),C=k.onStop=()=>{const Q=Dae.get(k);if(Q){if(S)S(Q,4);else for(const ne of Q)ne();Dae.delete(k)}},r?l?F(!0):Y=k.run():g?g(F.bind(null,!0),!0):k.run(),G.pause=k.pause.bind(k),G.resume=k.resume.bind(k),G.stop=G,G}function lk(n,r=1/0,o){if(r<=0||!Tc(n)||n.__v_skip||(o=o||new Set,o.has(n)))return n;if(o.add(n),r--,Xf(n))lk(n.value,r,o);else if(ko(n))for(let l=0;l{lk(l,r,o)});else if(DHt(n)){for(const l in n)lk(n[l],r,o);for(const l of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,l)&&lk(n[l],r,o)}return n}/** +* @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function B$(l,a,w,g){try{return g?l(...g):l();}catch(v){VX(v,a,w);}}function hv(l,a,w,g){if(Sc(l)){const v=B$(l,a,w,g);return v&&bgn(v)&&v.catch(_=>{VX(_,a,w);}),v;}if(vc(l)){const v=[];for(let _=0;_>>1,v=vd[g],_=M$(v);_=M$(w)?vd.push(l):vd.splice(UWn(a),0,l),l.flags|=1,Kgn();}}function Kgn(){kX||(kX=Fgn.then(qgn));}function GWn(l){vc(l)?AT.push(...l):m5&&l.id===-1?m5.splice(CT+1,0,l):l.flags&1||(AT.push(l),l.flags|=1),Kgn();}function iwn(l,a,w=iv+1){for(;wM$(w)-M$(g));if(AT.length=0,m5){m5.push(...a);return;}for(m5=a,CT=0;CTl.id==null?l.flags&2?-1:1/0:l.id;function qgn(l){try{for(iv=0;iv{g._d&&hwn(-1);const _=EX(a);let p;try{p=l(...v);}finally{EX(_),g._d&&hwn(1);}return p;};return g._n=!0,g._c=!0,g._d=!0,g;}function P9(l,a,w,g){const v=l.dirs,_=a&&a.dirs;for(let p=0;pl.__isTeleport;function Kve(l,a){l.shapeFlag&6&&l.component?(l.transition=a,Kve(l.component.subTree,a)):l.shapeFlag&128?(l.ssContent.transition=a.clone(l.ssContent),l.ssFallback.transition=a.clone(l.ssFallback)):l.transition=a;}/*! #__NO_SIDE_EFFECTS__ */function Bu(l,a){return Sc(l)?ah({name:l.name},a,{setup:l}):l;}function Ggn(l){l.ids=[l.ids[0]+l.ids[2]+++"-",0,0];}function Xme(l,a,w,g,v=!1){if(vc(l)){l.forEach((Y,Ie)=>Xme(Y,a&&(vc(a)?a[Ie]:a),w,g,v));return;}if($T(g)&&!v){return;}const _=g.shapeFlag&4?Vve(g.component):g.el,p=v?null:_,{i:j,r:C}=l,$=a&&a.r,A=j.refs===xs?j.refs={}:j.refs,K=j.setupState,Q=bu(K),ee=K===xs?()=>!1:Y=>xu(Q,Y);if($!=null&&$!==C&&(nl($)?(A[$]=null,ee($)&&(K[$]=null)):Il($)&&($.value=null)),Sc(C)){B$(C,j,12,[p,A]);}else{const Y=nl(C),Ie=Il(C);if(Y||Ie){const Me=()=>{if(l.f){const oe=Y?ee(C)?K[C]:A[C]:C.value;v?vc(oe)&&Ive(oe,_):vc(oe)?oe.includes(_)||oe.push(_):Y?(A[C]=[_],ee(C)&&(K[C]=A[C])):(C.value=[_],l.k&&(A[l.k]=C.value));}else {Y?(A[C]=p,ee(C)&&(K[C]=p)):Ie&&(C.value=p,l.k&&(A[l.k]=p));}};p?(Me.id=-1,Dw(Me,w)):Me();}}}qX().requestIdleCallback;qX().cancelIdleCallback;const $T=l=>!!l.type.__asyncLoader,zgn=l=>l.type.__isKeepAlive;function WWn(l,a){Vgn(l,"a",a);}function XWn(l,a){Vgn(l,"da",a);}function Vgn(l,a,w=Kh){const g=l.__wdc||(l.__wdc=()=>{let v=w;for(;v;){if(v.isDeactivated){return;}v=v.parent;}return l();});if(WX(a,g,w),w){let v=w.parent;for(;v&&v.parent;){zgn(v.parent.vnode)&&YWn(g,a,w,v),v=v.parent;}}}function YWn(l,a,w,g){const v=WX(a,l,g,!0);XX(()=>{Ive(g[a],v);},w);}function WX(l,a,w=Kh,g=!1){if(w){const v=w[l]||(w[l]=[]),_=a.__weh||(a.__weh=(...p)=>{x5();const j=F$(w),C=hv(a,w,l,p);return j(),C5(),C;});return g?v.unshift(_):v.push(_),_;}}const py=l=>(a,w=Kh)=>{(!C$||l==="sp")&&WX(l,(...g)=>a(...g),w);},Wgn=py("bm"),l2=py("m"),JWn=py("bu"),QWn=py("u"),Hve=py("bum"),XX=py("um"),ZWn=py("sp"),eXn=py("rtg"),nXn=py("rtc");function tXn(l,a=Kh){WX("ec",l,a);}const Xgn="components";function Ygn(l,a){return Qgn(Xgn,l,!0,a)||l;}const Jgn=Symbol.for("v-ndc");function IT(l){return nl(l)?Qgn(Xgn,l,!1)||l:l||Jgn;}function Qgn(l,a,w=!0,g=!1){const v=_1||Kh;if(v){const _=v.type;{const j=KXn(_,!1);if(j&&(j===a||j===yg(a)||j===HX(yg(a)))){return _;}}const p=rwn(v[l]||_[l],a)||rwn(v.appContext[l],a);return!p&&g?_:p;}}function rwn(l,a){return l&&(l[a]||l[yg(a)]||l[HX(yg(a))]);}function B9(l,a,w,g){let v;const _=w&&w[g],p=vc(l);if(p||nl(l)){const j=p&&OT(l);let C=!1;j&&(C=!vg(l),l=GX(l)),v=new Array(l.length);for(let $=0,A=l.length;$a(j,C,void 0,_&&_[C]));}else{const j=Object.keys(l);v=new Array(j.length);for(let C=0,$=j.length;C<$;C++){const A=j[C];v[C]=a(l[A],A,C,_&&_[C]);}}}else {v=[];}return w&&(w[g]=v),v;}function Jl(l,a,w={},g,v){if(_1.ce||_1.parent&&$T(_1.parent)&&_1.parent.ce){return a!=="default"&&(w.name=a),Wi(),lh(Ps,null,[zo("slot",w,g&&g())],64);}let _=l[a];_&&_._c&&(_._d=!1),Wi();const p=_&&Zgn(_(w)),j=w.key||p&&p.key,C=lh(Ps,{key:(j&&!gy(j)?j:`_${a}`)+(!p&&g?"_fb":"")},p||(g?g():[]),p&&l._===1?64:-2);return C.scopeId&&(C.slotScopeIds=[C.scopeId+"-s"]),_&&_._c&&(_._d=!0),C;}function Zgn(l){return l.some(a=>x$(a)?!(a.type===T5||a.type===Ps&&!Zgn(a.children)):!0)?l:null;}const Yme=l=>l?Epn(l)?Vve(l):Yme(l.parent):null,k$=ah(Object.create(null),{$:l=>l,$el:l=>l.vnode.el,$data:l=>l.data,$props:l=>l.props,$attrs:l=>l.attrs,$slots:l=>l.slots,$refs:l=>l.refs,$parent:l=>Yme(l.parent),$root:l=>Yme(l.root),$host:l=>l.ce,$emit:l=>l.emit,$options:l=>qve(l),$forceUpdate:l=>l.f||(l.f=()=>{Fve(l.update);}),$nextTick:l=>l.n||(l.n=s2.bind(l.proxy)),$watch:l=>jXn.bind(l)}),ume=(l,a)=>l!==xs&&!l.__isScriptSetup&&xu(l,a),iXn={get({_:l},a){if(a==="__v_skip"){return!0;}const{ctx:w,setupState:g,data:v,props:_,accessCache:p,type:j,appContext:C}=l;let $;if(a[0]!=="$"){const ee=p[a];if(ee!==void 0){switch(ee){case 1:return g[a];case 2:return v[a];case 4:return w[a];case 3:return _[a];}}else{if(ume(g,a)){return p[a]=1,g[a];}if(v!==xs&&xu(v,a)){return p[a]=2,v[a];}if(($=l.propsOptions[0])&&xu($,a)){return p[a]=3,_[a];}if(w!==xs&&xu(w,a)){return p[a]=4,w[a];}Jme&&(p[a]=0);}}const A=k$[a];let K,Q;if(A){return a==="$attrs"&&k1(l.attrs,"get",""),A(l);}if((K=j.__cssModules)&&(K=K[a])){return K;}if(w!==xs&&xu(w,a)){return p[a]=4,w[a];}if(Q=C.config.globalProperties,xu(Q,a)){return Q[a];}},set({_:l},a,w){const{data:g,setupState:v,ctx:_}=l;return ume(v,a)?(v[a]=w,!0):g!==xs&&xu(g,a)?(g[a]=w,!0):xu(l.props,a)||a[0]==="$"&&a.slice(1)in l?!1:(_[a]=w,!0);},has({_:{data:l,setupState:a,accessCache:w,ctx:g,appContext:v,propsOptions:_}},p){let j;return!!w[p]||l!==xs&&xu(l,p)||ume(a,p)||(j=_[0])&&xu(j,p)||xu(g,p)||xu(k$,p)||xu(v.config.globalProperties,p);},defineProperty(l,a,w){return w.get!=null?l._.accessCache[a]=0:xu(w,"value")&&this.set(l,a,w.value,null),Reflect.defineProperty(l,a,w);}};function rXn(){return epn().slots;}function cXn(){return epn().attrs;}function epn(){const l=JT();return l.setupContext||(l.setupContext=Spn(l));}function cwn(l){return vc(l)?l.reduce((a,w)=>(a[w]=null,a),{}):l;}function npn(l,a){const w={};for(const g in l){a.includes(g)||Object.defineProperty(w,g,{enumerable:!0,get:()=>l[g]});}return w;}let Jme=!0;function oXn(l){const a=qve(l),w=l.proxy,g=l.ctx;Jme=!1,a.beforeCreate&&own(a.beforeCreate,l,"bc");const{data:v,computed:_,methods:p,watch:j,provide:C,inject:$,created:A,beforeMount:K,mounted:Q,beforeUpdate:ee,updated:Y,activated:Ie,deactivated:Me,beforeDestroy:oe,beforeUnmount:ke,destroyed:fe,unmounted:Ce,render:gn,renderTracked:rt,renderTriggered:jt,errorCaptured:ft,serverPrefetch:gt,expose:Ct,inheritAttrs:ii,components:Sn,directives:V,filters:cn}=a;if($&&uXn($,g,null),p){for(const Jn in p){const ot=p[Jn];Sc(ot)&&(g[Jn]=ot.bind(w));}}if(v){const Jn=v.call(w,w);Fs(Jn)&&(l.data=zX(Jn));}if(Jme=!0,_){for(const Jn in _){const ot=_[Jn],Rt=Sc(ot)?ot.bind(w,w):Sc(ot.get)?ot.get.bind(w,w):fv,oi=!Sc(ot)&&Sc(ot.set)?ot.set.bind(w):fv,Ft=nc({get:Rt,set:oi});Object.defineProperty(g,Jn,{enumerable:!0,configurable:!0,get:()=>Ft.value,set:gi=>Ft.value=gi});}}if(j){for(const Jn in j){tpn(j[Jn],g,w,Jn);}}if(C){const Jn=Sc(C)?C.call(w):C;Reflect.ownKeys(Jn).forEach(ot=>{z9(ot,Jn[ot]);});}A&&own(A,l,"c");function _n(Jn,ot){vc(ot)?ot.forEach(Rt=>Jn(Rt.bind(w))):ot&&Jn(ot.bind(w));}if(_n(Wgn,K),_n(l2,Q),_n(JWn,ee),_n(QWn,Y),_n(WWn,Ie),_n(XWn,Me),_n(tXn,ft),_n(nXn,rt),_n(eXn,jt),_n(Hve,ke),_n(XX,Ce),_n(ZWn,gt),vc(Ct)){if(Ct.length){const Jn=l.exposed||(l.exposed={});Ct.forEach(ot=>{Object.defineProperty(Jn,ot,{get:()=>w[ot],set:Rt=>w[ot]=Rt});});}else {l.exposed||(l.exposed={});}}gn&&l.render===fv&&(l.render=gn),ii!=null&&(l.inheritAttrs=ii),Sn&&(l.components=Sn),V&&(l.directives=V),gt&&Ggn(l);}function uXn(l,a,w=fv){vc(l)&&(l=Qme(l));for(const g in l){const v=l[g];let _;Fs(v)?"default"in v?_=lv(v.from||g,v.default,!0):_=lv(v.from||g):_=lv(v),Il(_)?Object.defineProperty(a,g,{enumerable:!0,configurable:!0,get:()=>_.value,set:p=>_.value=p}):a[g]=_;}}function own(l,a,w){hv(vc(l)?l.map(g=>g.bind(a.proxy)):l.bind(a.proxy),a,w);}function tpn(l,a,w,g){let v=g.includes(".")?gpn(w,g):()=>w[g];if(nl(l)){const _=a[l];Sc(_)&&uu(v,_);}else if(Sc(l)){uu(v,l.bind(w));}else if(Fs(l)){if(vc(l)){l.forEach(_=>tpn(_,a,w,g));}else{const _=Sc(l.handler)?l.handler.bind(w):a[l.handler];Sc(_)&&uu(v,_,l);}}}function qve(l){const a=l.type,{mixins:w,extends:g}=a,{mixins:v,optionsCache:_,config:{optionMergeStrategies:p}}=l.appContext,j=_.get(a);let C;return j?C=j:!v.length&&!w&&!g?C=a:(C={},v.length&&v.forEach($=>_X(C,$,p,!0)),_X(C,a,p)),Fs(a)&&_.set(a,C),C;}function _X(l,a,w,g=!1){const{mixins:v,extends:_}=a;_&&_X(l,_,w,!0),v&&v.forEach(p=>_X(l,p,w,!0));for(const p in a){if(!(g&&p==="expose")){const j=sXn[p]||w&&w[p];l[p]=j?j(l[p],a[p]):a[p];}}return l;}const sXn={data:uwn,props:swn,emits:swn,methods:d$,computed:d$,beforeCreate:pd,created:pd,beforeMount:pd,mounted:pd,beforeUpdate:pd,updated:pd,beforeDestroy:pd,beforeUnmount:pd,destroyed:pd,unmounted:pd,activated:pd,deactivated:pd,errorCaptured:pd,serverPrefetch:pd,components:d$,directives:d$,watch:lXn,provide:uwn,inject:fXn};function uwn(l,a){return a?l?function(){return ah(Sc(l)?l.call(this,this):l,Sc(a)?a.call(this,this):a);}:a:l;}function fXn(l,a){return d$(Qme(l),Qme(a));}function Qme(l){if(vc(l)){const a={};for(let w=0;w1){return w&&Sc(a)?a.call(g&&g.proxy):a;}}}const rpn={},cpn=()=>Object.create(rpn),opn=l=>Object.getPrototypeOf(l)===rpn;function dXn(l,a,w,g=!1){const v={},_=cpn();l.propsDefaults=Object.create(null),upn(l,a,v,_);for(const p in l.propsOptions[0]){p in v||(v[p]=void 0);}w?l.props=g?v:IWn(v):l.type.props?l.props=v:l.props=_,l.attrs=_;}function wXn(l,a,w,g){const{props:v,attrs:_,vnode:{patchFlag:p}}=l,j=bu(v),[C]=l.propsOptions;let $=!1;if((g||p>0)&&!(p&16)){if(p&8){const A=l.vnode.dynamicProps;for(let K=0;K{C=!0;const[Q,ee]=spn(K,a,!0);ah(p,Q),ee&&j.push(...ee);};!w&&a.mixins.length&&a.mixins.forEach(A),l.extends&&A(l.extends),l.mixins&&l.mixins.forEach(A);}if(!_&&!C){return Fs(l)&&g.set(l,PT),PT;}if(vc(_)){for(let A=0;A<_.length;A++){const K=yg(_[A]);fwn(K)&&(p[K]=xs);}}else if(_){for(const A in _){const K=yg(A);if(fwn(K)){const Q=_[A],ee=p[K]=vc(Q)||Sc(Q)?{type:Q}:ah({},Q),Y=ee.type;let Ie=!1,Me=!0;if(vc(Y)){for(let oe=0;oel[0]==="_"||l==="$stable",Uve=l=>vc(l)?l.map(ov):[ov(l)],gXn=(l,a,w)=>{if(a._n){return a;}const g=mg((...v)=>Uve(a(...v)),w);return g._c=!1,g;},lpn=(l,a,w)=>{const g=l._ctx;for(const v in l){if(fpn(v)){continue;}const _=l[v];if(Sc(_)){a[v]=gXn(v,_,g);}else if(_!=null){const p=Uve(_);a[v]=()=>p;}}},apn=(l,a)=>{const w=Uve(a);l.slots.default=()=>w;},hpn=(l,a,w)=>{for(const g in a){(w||g!=="_")&&(l[g]=a[g]);}},pXn=(l,a,w)=>{const g=l.slots=cpn();if(l.vnode.shapeFlag&32){const v=a._;v?(hpn(g,a,w),w&&mgn(g,"_",v,!0)):lpn(a,g);}else {a&&apn(l,a);}},mXn=(l,a,w)=>{const{vnode:g,slots:v}=l;let _=!0,p=xs;if(g.shapeFlag&32){const j=a._;j?w&&j===1?_=!1:hpn(v,a,w):(_=!a.$stable,lpn(a,v)),p=a;}else {a&&(apn(l,a),p={default:1});}if(_){for(const j in v){!fpn(j)&&p[j]==null&&delete v[j];}}},Dw=NXn;function vXn(l){return yXn(l);}function yXn(l,a){const w=qX();w.__VUE__=!0;const{insert:g,remove:v,patchProp:_,createElement:p,createText:j,createComment:C,setText:$,setElementText:A,parentNode:K,nextSibling:Q,setScopeId:ee=fv,insertStaticContent:Y}=l,Ie=(ue,W,ie,se=null,ge=null,Fe=null,Fn=void 0,Dn=null,zn=!!W.dynamicChildren)=>{if(ue===W){return;}ue&&!l$(ue,W)&&(se=on(ue),gi(ue,ge,Fe,!0),ue=null),W.patchFlag===-2&&(zn=!1,W.dynamicChildren=null);const{type:Rn,ref:ei,shapeFlag:Yn}=W;switch(Rn){case JX:Me(ue,W,ie,se);break;case T5:oe(ue,W,ie,se);break;case lme:ue==null&&ke(W,ie,se,Fn);break;case Ps:Sn(ue,W,ie,se,ge,Fe,Fn,Dn,zn);break;default:Yn&1?gn(ue,W,ie,se,ge,Fe,Fn,Dn,zn):Yn&6?V(ue,W,ie,se,ge,Fe,Fn,Dn,zn):(Yn&64||Yn&128)&&Rn.process(ue,W,ie,se,ge,Fe,Fn,Dn,zn,ui);}ei!=null&&ge&&Xme(ei,ue&&ue.ref,Fe,W||ue,!W);},Me=(ue,W,ie,se)=>{if(ue==null){g(W.el=j(W.children),ie,se);}else{const ge=W.el=ue.el;W.children!==ue.children&&$(ge,W.children);}},oe=(ue,W,ie,se)=>{ue==null?g(W.el=C(W.children||""),ie,se):W.el=ue.el;},ke=(ue,W,ie,se)=>{[ue.el,ue.anchor]=Y(ue.children,W,ie,se,ue.el,ue.anchor);},fe=({el:ue,anchor:W},ie,se)=>{let ge;for(;ue&&ue!==W;){ge=Q(ue),g(ue,ie,se),ue=ge;}g(W,ie,se);},Ce=({el:ue,anchor:W})=>{let ie;for(;ue&&ue!==W;){ie=Q(ue),v(ue),ue=ie;}v(W);},gn=(ue,W,ie,se,ge,Fe,Fn,Dn,zn)=>{W.type==="svg"?Fn="svg":W.type==="math"&&(Fn="mathml"),ue==null?rt(W,ie,se,ge,Fe,Fn,Dn,zn):gt(ue,W,ge,Fe,Fn,Dn,zn);},rt=(ue,W,ie,se,ge,Fe,Fn,Dn)=>{let zn,Rn;const{props:ei,shapeFlag:Yn,transition:$t,dirs:Ti}=ue;if(zn=ue.el=p(ue.type,Fe,ei&&ei.is,ei),Yn&8?A(zn,ue.children):Yn&16&&ft(ue.children,zn,null,se,ge,sme(ue,Fe),Fn,Dn),Ti&&P9(ue,null,se,"created"),jt(zn,ue,ue.scopeId,Fn,se),ei){for(const F in ei){F!=="value"&&!m$(F)&&_(zn,F,null,ei[F],Fe,se);}"value"in ei&&_(zn,"value",null,ei.value,Fe),(Rn=ei.onVnodeBeforeMount)&&tv(Rn,se,ue);}Ti&&P9(ue,null,se,"beforeMount");const te=kXn(ge,$t);te&&$t.beforeEnter(zn),g(zn,W,ie),((Rn=ei&&ei.onVnodeMounted)||te||Ti)&&Dw(()=>{Rn&&tv(Rn,se,ue),te&&$t.enter(zn),Ti&&P9(ue,null,se,"mounted");},ge);},jt=(ue,W,ie,se,ge)=>{if(ie&&ee(ue,ie),se){for(let Fe=0;Fe{for(let Rn=zn;Rn{const Dn=W.el=ue.el;let{patchFlag:zn,dynamicChildren:Rn,dirs:ei}=W;zn|=ue.patchFlag&16;const Yn=ue.props||xs,$t=W.props||xs;let Ti;if(ie&&N9(ie,!1),(Ti=$t.onVnodeBeforeUpdate)&&tv(Ti,ie,W,ue),ei&&P9(W,ue,ie,"beforeUpdate"),ie&&N9(ie,!0),(Yn.innerHTML&&$t.innerHTML==null||Yn.textContent&&$t.textContent==null)&&A(Dn,""),Rn?Ct(ue.dynamicChildren,Rn,Dn,ie,se,sme(W,ge),Fe):Fn||ot(ue,W,Dn,null,ie,se,sme(W,ge),Fe,!1),zn>0){if(zn&16){ii(Dn,Yn,$t,ie,ge);}else if(zn&2&&Yn.class!==$t.class&&_(Dn,"class",null,$t.class,ge),zn&4&&_(Dn,"style",Yn.style,$t.style,ge),zn&8){const te=W.dynamicProps;for(let F=0;F{Ti&&tv(Ti,ie,W,ue),ei&&P9(W,ue,ie,"updated");},se);},Ct=(ue,W,ie,se,ge,Fe,Fn)=>{for(let Dn=0;Dn{if(W!==ie){if(W!==xs){for(const Fe in W){!m$(Fe)&&!(Fe in ie)&&_(ue,Fe,W[Fe],null,ge,se);}}for(const Fe in ie){if(m$(Fe)){continue;}const Fn=ie[Fe],Dn=W[Fe];Fn!==Dn&&Fe!=="value"&&_(ue,Fe,Dn,Fn,ge,se);}"value"in ie&&_(ue,"value",W.value,ie.value,ge);}},Sn=(ue,W,ie,se,ge,Fe,Fn,Dn,zn)=>{const Rn=W.el=ue?ue.el:j(""),ei=W.anchor=ue?ue.anchor:j("");let{patchFlag:Yn,dynamicChildren:$t,slotScopeIds:Ti}=W;Ti&&(Dn=Dn?Dn.concat(Ti):Ti),ue==null?(g(Rn,ie,se),g(ei,ie,se),ft(W.children||[],ie,ei,ge,Fe,Fn,Dn,zn)):Yn>0&&Yn&64&&$t&&ue.dynamicChildren?(Ct(ue.dynamicChildren,$t,ie,ge,Fe,Fn,Dn),(W.key!=null||ge&&W===ge.subTree)&&dpn(ue,W,!0)):ot(ue,W,ie,ei,ge,Fe,Fn,Dn,zn);},V=(ue,W,ie,se,ge,Fe,Fn,Dn,zn)=>{W.slotScopeIds=Dn,ue==null?W.shapeFlag&512?ge.ctx.activate(W,ie,se,Fn,zn):cn(W,ie,se,ge,Fe,Fn,zn):et(ue,W,zn);},cn=(ue,W,ie,se,ge,Fe,Fn)=>{const Dn=ue.component=DXn(ue,se,ge);if(zgn(ue)&&(Dn.ctx.renderer=ui),RXn(Dn,!1,Fn),Dn.asyncDep){if(ge&&ge.registerDep(Dn,_n,Fn),!ue.el){const zn=Dn.subTree=zo(T5);oe(null,zn,W,ie);}}else {_n(Dn,ue,W,ie,ge,Fe,Fn);}},et=(ue,W,ie)=>{const se=W.component=ue.component;if(IXn(ue,W,ie)){if(se.asyncDep&&!se.asyncResolved){Jn(se,W,ie);return;}else {se.next=W,se.update();}}else {W.el=ue.el,se.vnode=W;}},_n=(ue,W,ie,se,ge,Fe,Fn)=>{const Dn=()=>{if(ue.isMounted){let{next:Yn,bu:$t,u:Ti,parent:te,vnode:F}=ue;{const nt=wpn(ue);if(nt){Yn&&(Yn.el=F.el,Jn(ue,Yn,Fn)),nt.asyncDep.then(()=>{ue.isUnmounted||Dn();});return;}}let q=Yn,Pe;N9(ue,!1),Yn?(Yn.el=F.el,Jn(ue,Yn,Fn)):Yn=F,$t&&tme($t),(Pe=Yn.props&&Yn.props.onVnodeBeforeUpdate)&&tv(Pe,te,Yn,F),N9(ue,!0);const en=fme(ue),xn=ue.subTree;ue.subTree=en,Ie(xn,en,K(xn.el),on(xn),ue,ge,Fe),Yn.el=en.el,q===null&&PXn(ue,en.el),Ti&&Dw(Ti,ge),(Pe=Yn.props&&Yn.props.onVnodeUpdated)&&Dw(()=>tv(Pe,te,Yn,F),ge);}else{let Yn;const{el:$t,props:Ti}=W,{bm:te,m:F,parent:q,root:Pe,type:en}=ue,xn=$T(W);if(N9(ue,!1),te&&tme(te),!xn&&(Yn=Ti&&Ti.onVnodeBeforeMount)&&tv(Yn,q,W),N9(ue,!0),$t&&ye){const nt=()=>{ue.subTree=fme(ue),ye($t,ue.subTree,ue,ge,null);};xn&&en.__asyncHydrate?en.__asyncHydrate($t,ue,nt):nt();}else{Pe.ce&&Pe.ce._injectChildStyle(en);const nt=ue.subTree=fme(ue);Ie(null,nt,ie,se,ue,ge,Fe),W.el=nt.el;}if(F&&Dw(F,ge),!xn&&(Yn=Ti&&Ti.onVnodeMounted)){const nt=W;Dw(()=>tv(Yn,q,nt),ge);}(W.shapeFlag&256||q&&$T(q.vnode)&&q.vnode.shapeFlag&256)&&ue.a&&Dw(ue.a,ge),ue.isMounted=!0,W=ie=se=null;}};ue.scope.on();const zn=ue.effect=new Sgn(Dn);ue.scope.off();const Rn=ue.update=zn.run.bind(zn),ei=ue.job=zn.runIfDirty.bind(zn);ei.i=ue,ei.id=ue.uid,zn.scheduler=()=>Fve(ei),N9(ue,!0),Rn();},Jn=(ue,W,ie)=>{W.component=ue;const se=ue.vnode.props;ue.vnode=W,ue.next=null,wXn(ue,W.props,se,ie),mXn(ue,W.children,ie),x5(),iwn(ue),C5();},ot=(ue,W,ie,se,ge,Fe,Fn,Dn,zn=!1)=>{const Rn=ue&&ue.children,ei=ue?ue.shapeFlag:0,Yn=W.children,{patchFlag:$t,shapeFlag:Ti}=W;if($t>0){if($t&128){oi(Rn,Yn,ie,se,ge,Fe,Fn,Dn,zn);return;}else if($t&256){Rt(Rn,Yn,ie,se,ge,Fe,Fn,Dn,zn);return;}}Ti&8?(ei&16&&an(Rn,ge,Fe),Yn!==Rn&&A(ie,Yn)):ei&16?Ti&16?oi(Rn,Yn,ie,se,ge,Fe,Fn,Dn,zn):an(Rn,ge,Fe,!0):(ei&8&&A(ie,""),Ti&16&&ft(Yn,ie,se,ge,Fe,Fn,Dn,zn));},Rt=(ue,W,ie,se,ge,Fe,Fn,Dn,zn)=>{ue=ue||PT,W=W||PT;const Rn=ue.length,ei=W.length,Yn=Math.min(Rn,ei);let $t;for($t=0;$tei?an(ue,ge,Fe,!0,!1,Yn):ft(W,ie,se,ge,Fe,Fn,Dn,zn,Yn);},oi=(ue,W,ie,se,ge,Fe,Fn,Dn,zn)=>{let Rn=0;const ei=W.length;let Yn=ue.length-1,$t=ei-1;for(;Rn<=Yn&&Rn<=$t;){const Ti=ue[Rn],te=W[Rn]=zn?v5(W[Rn]):ov(W[Rn]);if(l$(Ti,te)){Ie(Ti,te,ie,null,ge,Fe,Fn,Dn,zn);}else {break;}Rn++;}for(;Rn<=Yn&&Rn<=$t;){const Ti=ue[Yn],te=W[$t]=zn?v5(W[$t]):ov(W[$t]);if(l$(Ti,te)){Ie(Ti,te,ie,null,ge,Fe,Fn,Dn,zn);}else {break;}Yn--,$t--;}if(Rn>Yn){if(Rn<=$t){const Ti=$t+1,te=Ti$t){for(;Rn<=Yn;){gi(ue[Rn],ge,Fe,!0),Rn++;}}else{const Ti=Rn,te=Rn,F=new Map;for(Rn=te;Rn<=$t;Rn++){const $c=W[Rn]=zn?v5(W[Rn]):ov(W[Rn]);$c.key!=null&&F.set($c.key,Rn);}let q,Pe=0;const en=$t-te+1;let xn=!1,nt=0;const sc=new Array(en);for(Rn=0;Rn=en){gi($c,ge,Fe,!0);continue;}let ko;if($c.key!=null){ko=F.get($c.key);}else {for(q=te;q<=$t;q++){if(sc[q-te]===0&&l$($c,W[q])){ko=q;break;}}}ko===void 0?gi($c,ge,Fe,!0):(sc[ko-te]=Rn+1,ko>=nt?nt=ko:xn=!0,Ie($c,W[ko],ie,null,ge,Fe,Fn,Dn,zn),Pe++);}const Fu=xn?EXn(sc):PT;for(q=Fu.length-1,Rn=en-1;Rn>=0;Rn--){const $c=te+Rn,ko=W[$c],Ko=$c+1{const{el:Fe,type:Fn,transition:Dn,children:zn,shapeFlag:Rn}=ue;if(Rn&6){Ft(ue.component.subTree,W,ie,se);return;}if(Rn&128){ue.suspense.move(W,ie,se);return;}if(Rn&64){Fn.move(ue,W,ie,ui);return;}if(Fn===Ps){g(Fe,W,ie);for(let Yn=0;YnDn.enter(Fe),ge);}else{const{leave:Yn,delayLeave:$t,afterLeave:Ti}=Dn,te=()=>g(Fe,W,ie),F=()=>{Yn(Fe,()=>{te(),Ti&&Ti();});};$t?$t(Fe,te,F):F();}}else {g(Fe,W,ie);}},gi=(ue,W,ie,se=!1,ge=!1)=>{const{type:Fe,props:Fn,ref:Dn,children:zn,dynamicChildren:Rn,shapeFlag:ei,patchFlag:Yn,dirs:$t,cacheIndex:Ti}=ue;if(Yn===-2&&(ge=!1),Dn!=null&&Xme(Dn,null,ie,ue,!0),Ti!=null&&(W.renderCache[Ti]=void 0),ei&256){W.ctx.deactivate(ue);return;}const te=ei&1&&$t,F=!$T(ue);let q;if(F&&(q=Fn&&Fn.onVnodeBeforeUnmount)&&tv(q,W,ue),ei&6){Ai(ue.component,ie,se);}else{if(ei&128){ue.suspense.unmount(ie,se);return;}te&&P9(ue,null,W,"beforeUnmount"),ei&64?ue.type.remove(ue,W,ie,ui,se):Rn&&!Rn.hasOnce&&(Fe!==Ps||Yn>0&&Yn&64)?an(Rn,W,ie,!1,!0):(Fe===Ps&&Yn&384||!ge&&ei&16)&&an(zn,W,ie),se&&di(ue);}(F&&(q=Fn&&Fn.onVnodeUnmounted)||te)&&Dw(()=>{q&&tv(q,W,ue),te&&P9(ue,null,W,"unmounted");},ie);},di=ue=>{const{type:W,el:ie,anchor:se,transition:ge}=ue;if(W===Ps){wi(ie,se);return;}if(W===lme){Ce(ue);return;}const Fe=()=>{v(ie),ge&&!ge.persisted&&ge.afterLeave&&ge.afterLeave();};if(ue.shapeFlag&1&&ge&&!ge.persisted){const{leave:Fn,delayLeave:Dn}=ge,zn=()=>Fn(ie,Fe);Dn?Dn(ue.el,Fe,zn):zn();}else {Fe();}},wi=(ue,W)=>{let ie;for(;ue!==W;){ie=Q(ue),v(ue),ue=ie;}v(W);},Ai=(ue,W,ie)=>{const{bum:se,scope:ge,job:Fe,subTree:Fn,um:Dn,m:zn,a:Rn}=ue;lwn(zn),lwn(Rn),se&&tme(se),ge.stop(),Fe&&(Fe.flags|=8,gi(Fn,ue,W,ie)),Dn&&Dw(Dn,W),Dw(()=>{ue.isUnmounted=!0;},W),W&&W.pendingBranch&&!W.isUnmounted&&ue.asyncDep&&!ue.asyncResolved&&ue.suspenseId===W.pendingId&&(W.deps--,W.deps===0&&W.resolve());},an=(ue,W,ie,se=!1,ge=!1,Fe=0)=>{for(let Fn=Fe;Fn{if(ue.shapeFlag&6){return on(ue.component.subTree);}if(ue.shapeFlag&128){return ue.suspense.next();}const W=Q(ue.anchor||ue.el),ie=W&&W[zWn];return ie?Q(ie):W;};let Qn=!1;const At=(ue,W,ie)=>{ue==null?W._vnode&&gi(W._vnode,null,null,!0):Ie(W._vnode||null,ue,W,null,null,null,ie),W._vnode=ue,Qn||(Qn=!0,iwn(),Hgn(),Qn=!1);},ui={p:Ie,um:gi,m:Ft,r:di,mt:cn,mc:ft,pc:ot,pbc:Ct,n:on,o:l};let me,ye;return{render:At,hydrate:me,createApp:hXn(At,me)};}function sme({type:l,props:a},w){return w==="svg"&&l==="foreignObject"||w==="mathml"&&l==="annotation-xml"&&a&&a.encoding&&a.encoding.includes("html")?void 0:w;}function N9({effect:l,job:a},w){w?(l.flags|=32,a.flags|=4):(l.flags&=-33,a.flags&=-5);}function kXn(l,a){return(!l||l&&!l.pendingBranch)&&a&&!a.persisted;}function dpn(l,a,w=!1){const g=l.children,v=a.children;if(vc(g)&&vc(v)){for(let _=0;_>1,l[w[j]]<$?_=j+1:p=j;}$0&&(a[g]=w[_-1]),w[_]=g);}}for(_=w.length,p=w[_-1];_-- >0;){w[_]=p,p=a[p];}return w;}function wpn(l){const a=l.subTree.component;if(a){return a.asyncDep&&!a.asyncResolved?a:wpn(a);}}function lwn(l){if(l){for(let a=0;alv(_Xn);function uu(l,a,w){return bpn(l,a,w);}function bpn(l,a,w=xs){const{immediate:g,deep:v,flush:_,once:p}=w,j=ah({},w),C=a&&g||!a&&_!=="post";let $;if(C$){if(_==="sync"){const ee=SXn();$=ee.__watcherHandles||(ee.__watcherHandles=[]);}else if(!C){const ee=()=>{};return ee.stop=fv,ee.resume=fv,ee.pause=fv,ee;}}const A=Kh;j.call=(ee,Y,Ie)=>hv(ee,A,Y,Ie);let K=!1;_==="post"?j.scheduler=ee=>{Dw(ee,A&&A.suspense);}:_!=="sync"&&(K=!0,j.scheduler=(ee,Y)=>{Y?ee():Fve(ee);}),j.augmentJob=ee=>{a&&(ee.flags|=4),K&&(ee.flags|=2,A&&(ee.id=A.uid,ee.i=A));};const Q=HWn(l,a,j);return C$&&($?$.push(Q):C&&Q()),Q;}function jXn(l,a,w){const g=this.proxy,v=nl(l)?l.includes(".")?gpn(g,l):()=>g[l]:l.bind(g,g);let _;Sc(a)?_=a:(_=a.handler,w=a);const p=F$(this),j=bpn(v,_.bind(g),w);return p(),j;}function gpn(l,a){const w=a.split(".");return()=>{let g=l;for(let v=0;va==="modelValue"||a==="model-value"?l.modelModifiers:l[`${a}Modifiers`]||l[`${yg(a)}Modifiers`]||l[`${Y9(a)}Modifiers`];function MXn(l,a,...w){if(l.isUnmounted){return;}const g=l.vnode.props||xs;let v=w;const _=a.startsWith("update:"),p=_&&TXn(g,a.slice(7));p&&(p.trim&&(v=w.map(A=>nl(A)?A.trim():A)),p.number&&(v=w.map(rWn)));let j,C=g[j=nme(a)]||g[j=nme(yg(a))];!C&&_&&(C=g[j=nme(Y9(a))]),C&&hv(C,l,6,v);const $=g[j+"Once"];if($){if(!l.emitted){l.emitted={};}else if(l.emitted[j]){return;}l.emitted[j]=!0,hv($,l,6,v);}}function ppn(l,a,w=!1){const g=a.emitsCache,v=g.get(l);if(v!==void 0){return v;}const _=l.emits;let p={},j=!1;if(!Sc(l)){const C=$=>{const A=ppn($,a,!0);A&&(j=!0,ah(p,A));};!w&&a.mixins.length&&a.mixins.forEach(C),l.extends&&C(l.extends),l.mixins&&l.mixins.forEach(C);}return!_&&!j?(Fs(l)&&g.set(l,null),null):(vc(_)?_.forEach(C=>p[C]=null):ah(p,_),Fs(l)&&g.set(l,p),p);}function YX(l,a){return!l||!BX(a)?!1:(a=a.slice(2).replace(/Once$/,""),xu(l,a[0].toLowerCase()+a.slice(1))||xu(l,Y9(a))||xu(l,a));}function fme(l){const{type:a,vnode:w,proxy:g,withProxy:v,propsOptions:[_],slots:p,attrs:j,emit:C,render:$,renderCache:A,props:K,data:Q,setupState:ee,ctx:Y,inheritAttrs:Ie}=l,Me=EX(l);let oe,ke;try{if(w.shapeFlag&4){const Ce=v||g,gn=Ce;oe=ov($.call(gn,Ce,A,K,ee,Q,Y)),ke=j;}else{const Ce=a;oe=ov(Ce.length>1?Ce(K,{attrs:j,slots:p,emit:C}):Ce(K,null)),ke=a.props?j:xXn(j);}}catch(Ce){E$.length=0,VX(Ce,l,1),oe=zo(T5);}let fe=oe;if(ke&&Ie!==!1){const Ce=Object.keys(ke),{shapeFlag:gn}=fe;Ce.length&&gn&7&&(_&&Ce.some(Cve)&&(ke=CXn(ke,_)),fe=UT(fe,ke,!1,!0));}return w.dirs&&(fe=UT(fe,null,!1,!0),fe.dirs=fe.dirs?fe.dirs.concat(w.dirs):w.dirs),w.transition&&Kve(fe,w.transition),oe=fe,EX(Me),oe;}const xXn=l=>{let a;for(const w in l){(w==="class"||w==="style"||BX(w))&&((a||(a={}))[w]=l[w]);}return a;},CXn=(l,a)=>{const w={};for(const g in l){(!Cve(g)||!(g.slice(9)in a))&&(w[g]=l[g]);}return w;};function IXn(l,a,w){const{props:g,children:v,component:_}=l,{props:p,children:j,patchFlag:C}=a,$=_.emitsOptions;if(a.dirs||a.transition){return!0;}if(w&&C>=0){if(C&1024){return!0;}if(C&16){return g?awn(g,p,$):!!p;}if(C&8){const A=a.dynamicProps;for(let K=0;Kl.__isSuspense;function NXn(l,a){a&&a.pendingBranch?vc(l)?a.effects.push(...l):a.effects.push(l):GWn(l);}const Ps=Symbol.for("v-fgt"),JX=Symbol.for("v-txt"),T5=Symbol.for("v-cmt"),lme=Symbol.for("v-stc"),E$=[];let yd=null;function Wi(l=!1){E$.push(yd=l?null:[]);}function OXn(){E$.pop(),yd=E$[E$.length-1]||null;}let qT=1;function hwn(l){qT+=l,l<0&&yd&&(yd.hasOnce=!0);}function vpn(l){return l.dynamicChildren=qT>0?yd||PT:null,OXn(),qT>0&&yd&&yd.push(l),l;}function uc(l,a,w,g,v,_){return vpn(Is(l,a,w,g,v,_,!0));}function lh(l,a,w,g,v){return vpn(zo(l,a,w,g,v,!0));}function x$(l){return l?l.__v_isVNode===!0:!1;}function l$(l,a){return l.type===a.type&&l.key===a.key;}const ypn=({key:l})=>l??null,fX=({ref:l,ref_key:a,ref_for:w})=>(typeof l==="number"&&(l=""+l),l!=null?nl(l)||Il(l)||Sc(l)?{i:_1,r:l,k:a,f:!!w}:l:null);function Is(l,a=null,w=null,g=0,v=null,_=l===Ps?0:1,p=!1,j=!1){const C={__v_isVNode:!0,__v_skip:!0,type:l,props:a,key:a&&ypn(a),ref:a&&fX(a),scopeId:Ugn,slotScopeIds:null,children:w,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:_,patchFlag:g,dynamicProps:v,dynamicChildren:null,appContext:null,ctx:_1};return j?(zve(C,w),_&128&&l.normalize(C)):w&&(C.shapeFlag|=nl(w)?8:16),qT>0&&!p&&yd&&(C.patchFlag>0||_&6)&&C.patchFlag!==32&&yd.push(C),C;}const zo=AXn;function AXn(l,a=null,w=null,g=0,v=null,_=!1){if((!l||l===Jgn)&&(l=T5),x$(l)){const j=UT(l,a,!0);return w&&zve(j,w),qT>0&&!_&&yd&&(j.shapeFlag&6?yd[yd.indexOf(l)]=j:yd.push(j)),j.patchFlag=-2,j;}if(HXn(l)&&(l=l.__vccOpts),a){a=eve(a);let{class:j,style:C}=a;j&&!nl(j)&&(a.class=f2(j)),Fs(C)&&(Bve(C)&&!vc(C)&&(C=ah({},C)),a.style=kd(C));}const p=nl(l)?1:mpn(l)?128:VWn(l)?64:Fs(l)?4:Sc(l)?2:0;return Is(l,a,w,g,v,p,_,!0);}function eve(l){return l?Bve(l)||opn(l)?ah({},l):l:null;}function UT(l,a,w=!1,g=!1){const{props:v,ref:_,patchFlag:p,children:j,transition:C}=l,$=a?kpn(v||{},a):v,A={__v_isVNode:!0,__v_skip:!0,type:l.type,props:$,key:$&&ypn($),ref:a&&a.ref?w&&_?vc(_)?_.concat(fX(a)):[_,fX(a)]:fX(a):_,scopeId:l.scopeId,slotScopeIds:l.slotScopeIds,children:j,target:l.target,targetStart:l.targetStart,targetAnchor:l.targetAnchor,staticCount:l.staticCount,shapeFlag:l.shapeFlag,patchFlag:a&&l.type!==Ps?p===-1?16:p|16:p,dynamicProps:l.dynamicProps,dynamicChildren:l.dynamicChildren,appContext:l.appContext,dirs:l.dirs,transition:C,component:l.component,suspense:l.suspense,ssContent:l.ssContent&&UT(l.ssContent),ssFallback:l.ssFallback&&UT(l.ssFallback),el:l.el,anchor:l.anchor,ctx:l.ctx,ce:l.ce};return C&&g&&Kve(A,C.clone(A)),A;}function Gve(l=" ",a=0){return zo(JX,null,l,a);}function Ia(l="",a=!1){return a?(Wi(),lh(T5,null,l)):zo(T5,null,l);}function ov(l){return l==null||typeof l==="boolean"?zo(T5):vc(l)?zo(Ps,null,l.slice()):x$(l)?v5(l):zo(JX,null,String(l));}function v5(l){return l.el===null&&l.patchFlag!==-1||l.memo?l:UT(l);}function zve(l,a){let w=0;const{shapeFlag:g}=l;if(a==null){a=null;}else if(vc(a)){w=16;}else if(typeof a==="object"){if(g&65){const v=a.default;v&&(v._c&&(v._d=!1),zve(l,v()),v._c&&(v._d=!0));return;}else{w=32;const v=a._;!v&&!opn(a)?a._ctx=_1:v===3&&_1&&(_1.slots._===1?a._=1:(a._=2,l.patchFlag|=1024));}}else {Sc(a)?(a={default:a,_ctx:_1},w=32):(a=String(a),g&64?(w=16,a=[Gve(a)]):w=8);}l.children=a,l.shapeFlag|=w;}function kpn(...l){const a={};for(let w=0;wKh||_1;let SX,nve;{const l=qX(),a=(w,g)=>{let v;return(v=l[w])||(v=l[w]=[]),v.push(g),_=>{v.length>1?v.forEach(p=>p(_)):v[0](_);};};SX=a("__VUE_INSTANCE_SETTERS__",w=>Kh=w),nve=a("__VUE_SSR_SETTERS__",w=>C$=w);}const F$=l=>{const a=Kh;return SX(l),l.scope.on(),()=>{l.scope.off(),SX(a);};},dwn=()=>{Kh&&Kh.scope.off(),SX(null);};function Epn(l){return l.vnode.shapeFlag&4;}let C$=!1;function RXn(l,a=!1,w=!1){a&&nve(a);const{props:g,children:v}=l.vnode,_=Epn(l);dXn(l,g,_,a),pXn(l,v,w);const p=_?BXn(l,a):void 0;return a&&nve(!1),p;}function BXn(l,a){const w=l.type;l.accessCache=Object.create(null),l.proxy=new Proxy(l.ctx,iXn);const{setup:g}=w;if(g){x5();const v=l.setupContext=g.length>1?Spn(l):null,_=F$(l),p=B$(g,l,0,[l.props,v]),j=bgn(p);if(C5(),_(),(j||l.sp)&&!$T(l)&&Ggn(l),j){if(p.then(dwn,dwn),a){return p.then(C=>{wwn(l,C,a);}).catch(C=>{VX(C,l,0);});}l.asyncDep=p;}else {wwn(l,p,a);}}else {_pn(l,a);}}function wwn(l,a,w){Sc(a)?l.type.__ssrInlineRender?l.ssrRender=a:l.render=a:Fs(a)&&(l.setupState=Rgn(a)),_pn(l,w);}let bwn;function _pn(l,a,w){const g=l.type;if(!l.render){if(!a&&bwn&&!g.render){const v=g.template||qve(l).template;if(v){const{isCustomElement:_,compilerOptions:p}=l.appContext.config,{delimiters:j,compilerOptions:C}=g,$=ah(ah({isCustomElement:_,delimiters:j},p),C);g.render=bwn(v,$);}}l.render=g.render||fv;}{const v=F$(l);x5();try{oXn(l);}finally{C5(),v();}}}const FXn={get(l,a){return k1(l,"get",""),l[a];}};function Spn(l){const a=w=>{l.exposed=w||{};};return{attrs:new Proxy(l.attrs,FXn),slots:l.slots,emit:l.emit,expose:a};}function Vve(l){return l.exposed?l.exposeProxy||(l.exposeProxy=new Proxy(Rgn(H9(l.exposed)),{get(a,w){if(w in a){return a[w];}if(w in k$){return k$[w](l);}},has(a,w){return w in a||w in k$;}})):l.proxy;}function KXn(l,a=!0){return Sc(l)?l.displayName||l.name:l.name||a&&l.__name;}function HXn(l){return Sc(l)&&"__vccOpts"in l;}const nc=(l,a)=>FWn(l,a,C$);function ns(l,a,w){const g=arguments.length;return g===2?Fs(a)&&!vc(a)?x$(a)?zo(l,null,[a]):zo(l,a):zo(l,null,a):(g>3?w=Array.prototype.slice.call(arguments,2):g===3&&x$(w)&&(w=[w]),zo(l,a,w));}function qXn(l,a){const w=l.memo;if(w.length!=a.length){return!1;}for(let g=0;g0&&yd&&yd.push(l),!0;}const UXn="3.5.12";/** -* @vue/runtime-dom v3.5.12 +**/function GG(n,r,o,l){try{return l?n(...l):n()}catch(h){Yle(h,r,o)}}function g2(n,r,o,l){if(Ko(n)){const h=GG(n,r,o,l);return h&&NHt(h)&&h.catch(b=>{Yle(b,r,o)}),h}if(ko(n)){const h=[];for(let b=0;b>>1,h=mg[l],b=eG(h);b=eG(o)?mg.push(n):mg.splice(GIn(r),0,n),n.flags|=1,sWt()}}function sWt(){Lae||(Lae=oWt.then(lWt))}function KIn(n){ko(n)?aN.push(...n):s6&&n.id===-1?s6.splice(N9+1,0,n):n.flags&1||(aN.push(n),n.flags|=1),sWt()}function Z8t(n,r,o=pS+1){for(;oeG(o)-eG(l));if(aN.length=0,s6){s6.push(...r);return}for(s6=r,N9=0;N9n.id==null?n.flags&2?-1:1/0:n.id;function lWt(n){try{for(pS=0;pS{l._d&&d7t(-1);const b=jae(r);let g;try{g=n(...h)}finally{jae(b),l._d&&d7t(1)}return g};return l._n=!0,l._c=!0,l._d=!0,l}function Bk(n,r){if(jh===null)return n;const o=ice(jh),l=n.dirs||(n.dirs=[]);for(let h=0;hn.__isTeleport,xV=n=>n&&(n.disabled||n.disabled===""),e7t=n=>n&&(n.defer||n.defer===""),t7t=n=>typeof SVGElement<"u"&&n instanceof SVGElement,n7t=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,cPe=(n,r)=>{const o=n&&n.to;return pu(o)?r?r(o):null:o},dWt={name:"Teleport",__isTeleport:!0,process(n,r,o,l,h,b,g,m,S,_){const{mc:k,pc:I,pbc:C,o:{insert:A,querySelector:M,createText:D,createComment:H}}=_,G=xV(r.props);let{shapeFlag:Y,children:F,dynamicChildren:Q}=r;if(n==null){const ne=r.el=D(""),be=r.anchor=D("");A(ne,o,l),A(be,o,l);const De=(Ae,qe)=>{Y&16&&(h&&h.isCE&&(h.ce._teleportTarget=Ae),k(F,Ae,qe,h,b,g,m,S))},Ee=()=>{const Ae=r.target=cPe(r.props,M),qe=hWt(Ae,r,D,A);Ae&&(g!=="svg"&&t7t(Ae)?g="svg":g!=="mathml"&&n7t(Ae)&&(g="mathml"),G||(De(Ae,qe),Qse(r,!1)))};G&&(De(o,be),Qse(r,!0)),e7t(r.props)?bg(()=>{Ee(),r.el.__isMounted=!0},b):Ee()}else{if(e7t(r.props)&&!n.el.__isMounted){bg(()=>{dWt.process(n,r,o,l,h,b,g,m,S,_),delete n.el.__isMounted},b);return}r.el=n.el,r.targetStart=n.targetStart;const ne=r.anchor=n.anchor,be=r.target=n.target,De=r.targetAnchor=n.targetAnchor,Ee=xV(n.props),Ae=Ee?o:be,qe=Ee?ne:De;if(g==="svg"||t7t(be)?g="svg":(g==="mathml"||n7t(be))&&(g="mathml"),Q?(C(n.dynamicChildren,Q,Ae,h,b,g,m),LNe(n,r,!0)):S||I(n,r,Ae,qe,h,b,g,m,!1),G)Ee?r.props&&n.props&&r.props.to!==n.props.to&&(r.props.to=n.props.to):Poe(r,o,ne,_,1);else if((r.props&&r.props.to)!==(n.props&&n.props.to)){const et=r.target=cPe(r.props,M);et&&Poe(r,et,null,_,0)}else Ee&&Poe(r,be,De,_,1);Qse(r,G)}},remove(n,r,o,{um:l,o:{remove:h}},b){const{shapeFlag:g,children:m,anchor:S,targetStart:_,targetAnchor:k,target:I,props:C}=n;if(I&&(h(_),h(k)),b&&h(S),g&16){const A=b||!xV(C);for(let M=0;M{n.isMounted=!0}),ece(()=>{n.isUnmounting=!0}),n}const qm=[Function,Array],bWt={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qm,onEnter:qm,onAfterEnter:qm,onEnterCancelled:qm,onBeforeLeave:qm,onLeave:qm,onAfterLeave:qm,onLeaveCancelled:qm,onBeforeAppear:qm,onAppear:qm,onAfterAppear:qm,onAppearCancelled:qm},pWt=n=>{const r=n.subTree;return r.component?pWt(r.component):r},JIn={name:"BaseTransition",props:bWt,setup(n,{slots:r}){const o=B6(),l=XIn();return()=>{const h=r.default&&mWt(r.default(),!0);if(!h||!h.length)return;const b=gWt(h),g=Za(n),{mode:m}=g;if(l.isLeaving)return P$e(b);const S=r7t(b);if(!S)return P$e(b);let _=uPe(S,g,l,o,I=>_=I);S.type!==yg&&tG(S,_);let k=o.subTree&&r7t(o.subTree);if(k&&k.type!==yg&&!II(S,k)&&pWt(o).type!==yg){let I=uPe(k,g,l,o);if(tG(k,I),m==="out-in"&&S.type!==yg)return l.isLeaving=!0,I.afterLeave=()=>{l.isLeaving=!1,o.job.flags&8||o.update(),delete I.afterLeave,k=void 0},P$e(b);m==="in-out"&&S.type!==yg?I.delayLeave=(C,A,M)=>{const D=wWt(l,k);D[String(k.key)]=k,C[a6]=()=>{A(),C[a6]=void 0,delete _.delayedLeave,k=void 0},_.delayedLeave=()=>{M(),delete _.delayedLeave,k=void 0}}:k=void 0}else k&&(k=void 0);return b}}};function gWt(n){let r=n[0];if(n.length>1){for(const o of n)if(o.type!==yg){r=o;break}}return r}const YIn=JIn;function wWt(n,r){const{leavingVNodes:o}=n;let l=o.get(r.type);return l||(l=Object.create(null),o.set(r.type,l)),l}function uPe(n,r,o,l,h){const{appear:b,mode:g,persisted:m=!1,onBeforeEnter:S,onEnter:_,onAfterEnter:k,onEnterCancelled:I,onBeforeLeave:C,onLeave:A,onAfterLeave:M,onLeaveCancelled:D,onBeforeAppear:H,onAppear:G,onAfterAppear:Y,onAppearCancelled:F}=r,Q=String(n.key),ne=wWt(o,n),be=(Ae,qe)=>{Ae&&g2(Ae,l,9,qe)},De=(Ae,qe)=>{const et=qe[1];be(Ae,qe),ko(Ae)?Ae.every(fe=>fe.length<=1)&&et():Ae.length<=1&&et()},Ee={mode:g,persisted:m,beforeEnter(Ae){let qe=S;if(!o.isMounted)if(b)qe=H||S;else return;Ae[a6]&&Ae[a6](!0);const et=ne[Q];et&&II(n,et)&&et.el[a6]&&et.el[a6](),be(qe,[Ae])},enter(Ae){let qe=_,et=k,fe=I;if(!o.isMounted)if(b)qe=G||_,et=Y||k,fe=F||I;else return;let L=!1;const ve=Ae[Ooe]=ye=>{L||(L=!0,ye?be(fe,[Ae]):be(et,[Ae]),Ee.delayedLeave&&Ee.delayedLeave(),Ae[Ooe]=void 0)};qe?De(qe,[Ae,ve]):ve()},leave(Ae,qe){const et=String(n.key);if(Ae[Ooe]&&Ae[Ooe](!0),o.isUnmounting)return qe();be(C,[Ae]);let fe=!1;const L=Ae[a6]=ve=>{fe||(fe=!0,qe(),ve?be(D,[Ae]):be(M,[Ae]),Ae[a6]=void 0,ne[et]===n&&delete ne[et])};ne[et]=n,A?De(A,[Ae,L]):L()},clone(Ae){const qe=uPe(Ae,r,o,l,h);return h&&h(qe),qe}};return Ee}function P$e(n){if(Qle(n))return n=N6(n),n.children=null,n}function r7t(n){if(!Qle(n))return fWt(n.type)&&n.children?gWt(n.children):n;const{shapeFlag:r,children:o}=n;if(o){if(r&16)return o[0];if(r&32&&Ko(o.default))return o.default()}}function tG(n,r){n.shapeFlag&6&&n.component?(n.transition=r,tG(n.component.subTree,r)):n.shapeFlag&128?(n.ssContent.transition=r.clone(n.ssContent),n.ssFallback.transition=r.clone(n.ssFallback)):n.transition=r}function mWt(n,r=!1,o){let l=[],h=0;for(let b=0;b1)for(let b=0;bFae(M,r&&(ko(r)?r[D]:r),o,l,h));return}if(lN(l)&&!h){l.shapeFlag&512&&l.type.__asyncResolved&&l.component.subTree.component&&Fae(n,r,o,l.component.subTree);return}const b=l.shapeFlag&4?ice(l.component):l.el,g=h?null:b,{i:m,r:S}=n,_=r&&r.r,k=m.refs===mc?m.refs={}:m.refs,I=m.setupState,C=Za(I),A=I===mc?()=>!1:M=>Sl(C,M);if(_!=null&&_!==S&&(pu(_)?(k[_]=null,A(_)&&(I[_]=null)):Xf(_)&&(_.value=null)),Ko(S))GG(S,m,12,[g,k]);else{const M=pu(S),D=Xf(S);if(M||D){const H=()=>{if(n.f){const G=M?A(S)?I[S]:k[S]:S.value;h?ko(G)&&SNe(G,b):ko(G)?G.includes(b)||G.push(b):M?(k[S]=[b],A(S)&&(I[S]=k[S])):(S.value=[b],n.k&&(k[n.k]=S.value))}else M?(k[S]=g,A(S)&&(I[S]=g)):D&&(S.value=g,n.k&&(k[n.k]=g))};g?(H.id=-1,bg(H,o)):H()}}}zle().requestIdleCallback;zle().cancelIdleCallback;const lN=n=>!!n.type.__asyncLoader,Qle=n=>n.type.__isKeepAlive;function QIn(n,r){vWt(n,"a",r)}function ZIn(n,r){vWt(n,"da",r)}function vWt(n,r,o=pb){const l=n.__wdc||(n.__wdc=()=>{let h=o;for(;h;){if(h.isDeactivated)return;h=h.parent}return n()});if(Zle(r,l,o),o){let h=o.parent;for(;h&&h.parent;)Qle(h.parent.vnode)&&eTn(l,r,o,h),h=h.parent}}function eTn(n,r,o,l){const h=Zle(r,n,l,!0);tce(()=>{SNe(l[r],h)},o)}function Zle(n,r,o=pb,l=!1){if(o){const h=o[n]||(o[n]=[]),b=r.__weh||(r.__weh=(...g)=>{j6();const m=KG(o),S=g2(r,o,n,g);return m(),F6(),S});return l?h.unshift(b):h.push(b),b}}const Hk=n=>(r,o=pb)=>{(!iG||n==="sp")&&Zle(n,(...l)=>r(...l),o)},PNe=Hk("bm"),dw=Hk("m"),tTn=Hk("bu"),nTn=Hk("u"),ece=Hk("bum"),tce=Hk("um"),rTn=Hk("sp"),iTn=Hk("rtg"),oTn=Hk("rtc");function sTn(n,r=pb){Zle("ec",n,r)}const ONe="components",aTn="directives";function Ii(n,r){return NNe(ONe,n,!0,r)||n}const _Wt=Symbol.for("v-ndc");function Bo(n){return pu(n)?NNe(ONe,n,!1)||n:n||_Wt}function Wk(n){return NNe(aTn,n)}function NNe(n,r,o=!0,l=!1){const h=jh||pb;if(h){const b=h.type;if(n===ONe){const m=KTn(b,!1);if(m&&(m===r||m===iy(r)||m===Kle(iy(r))))return b}const g=i7t(h[n]||b[n],r)||i7t(h.appContext[n],r);return!g&&l?b:g}}function i7t(n,r){return n&&(n[r]||n[iy(r)]||n[Kle(iy(r))])}function Wc(n,r,o,l){let h;const b=o&&o[l],g=ko(n);if(g||pu(n)){const m=g&&sN(n);let S=!1;m&&(S=!ry(n),n=Xle(n)),h=new Array(n.length);for(let _=0,k=n.length;_r(m,S,void 0,b&&b[S]));else{const m=Object.keys(n);h=new Array(m.length);for(let S=0,_=m.length;S<_;S++){const k=m[S];h[S]=r(n[k],k,S,b&&b[S])}}else h=[];return o&&(o[l]=h),h}function nG(n,r){for(let o=0;o{const b=l.fn(...h);return b&&(b.key=l.key),b}:l.fn)}return n}function li(n,r,o={},l,h){if(jh.ce||jh.parent&&lN(jh.parent)&&jh.parent.ce)return r!=="default"&&(o.name=r),Qe(),On(fi,null,[eo("slot",o,l&&l())],64);let b=n[r];b&&b._c&&(b._d=!1),Qe();const g=b&&SWt(b(o)),m=o.key||g&&g.key,S=On(fi,{key:(m&&!Fk(m)?m:`_${r}`)+(!g&&l?"_fb":"")},g||(l?l():[]),g&&n._===1?64:-2);return S.scopeId&&(S.slotScopeIds=[S.scopeId+"-s"]),b&&b._c&&(b._d=!0),S}function SWt(n){return n.some(r=>rG(r)?!(r.type===yg||r.type===fi&&!SWt(r.children)):!0)?n:null}function Noe(n,r){const o={};for(const l in n)o[/[A-Z]/.test(l)?`on:${l}`:Jse(l)]=n[l];return o}const fPe=n=>n?UWt(n)?ice(n):fPe(n.parent):null,$V=kd(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>fPe(n.parent),$root:n=>fPe(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>MNe(n),$forceUpdate:n=>n.f||(n.f=()=>{TNe(n.update)}),$nextTick:n=>n.n||(n.n=p2.bind(n.proxy)),$watch:n=>ITn.bind(n)}),O$e=(n,r)=>n!==mc&&!n.__isScriptSetup&&Sl(n,r),lTn={get({_:n},r){if(r==="__v_skip")return!0;const{ctx:o,setupState:l,data:h,props:b,accessCache:g,type:m,appContext:S}=n;let _;if(r[0]!=="$"){const A=g[r];if(A!==void 0)switch(A){case 1:return l[r];case 2:return h[r];case 4:return o[r];case 3:return b[r]}else{if(O$e(l,r))return g[r]=1,l[r];if(h!==mc&&Sl(h,r))return g[r]=2,h[r];if((_=n.propsOptions[0])&&Sl(_,r))return g[r]=3,b[r];if(o!==mc&&Sl(o,r))return g[r]=4,o[r];dPe&&(g[r]=0)}}const k=$V[r];let I,C;if(k)return r==="$attrs"&&op(n.attrs,"get",""),k(n);if((I=m.__cssModules)&&(I=I[r]))return I;if(o!==mc&&Sl(o,r))return g[r]=4,o[r];if(C=S.config.globalProperties,Sl(C,r))return C[r]},set({_:n},r,o){const{data:l,setupState:h,ctx:b}=n;return O$e(h,r)?(h[r]=o,!0):l!==mc&&Sl(l,r)?(l[r]=o,!0):Sl(n.props,r)||r[0]==="$"&&r.slice(1)in n?!1:(b[r]=o,!0)},has({_:{data:n,setupState:r,accessCache:o,ctx:l,appContext:h,propsOptions:b}},g){let m;return!!o[g]||n!==mc&&Sl(n,g)||O$e(r,g)||(m=b[0])&&Sl(m,g)||Sl(l,g)||Sl($V,g)||Sl(h.config.globalProperties,g)},defineProperty(n,r,o){return o.get!=null?n._.accessCache[r]=0:Sl(o,"value")&&this.set(n,r,o.value,null),Reflect.defineProperty(n,r,o)}};function cTn(){return EWt().slots}function uTn(){return EWt().attrs}function EWt(){const n=B6();return n.setupContext||(n.setupContext=GWt(n))}function o7t(n){return ko(n)?n.reduce((r,o)=>(r[o]=null,r),{}):n}function kWt(n,r){const o={};for(const l in n)r.includes(l)||Object.defineProperty(o,l,{enumerable:!0,get:()=>n[l]});return o}let dPe=!0;function fTn(n){const r=MNe(n),o=n.proxy,l=n.ctx;dPe=!1,r.beforeCreate&&s7t(r.beforeCreate,n,"bc");const{data:h,computed:b,methods:g,watch:m,provide:S,inject:_,created:k,beforeMount:I,mounted:C,beforeUpdate:A,updated:M,activated:D,deactivated:H,beforeDestroy:G,beforeUnmount:Y,destroyed:F,unmounted:Q,render:ne,renderTracked:be,renderTriggered:De,errorCaptured:Ee,serverPrefetch:Ae,expose:qe,inheritAttrs:et,components:fe,directives:L,filters:ve}=r;if(_&&dTn(_,l,null),g)for(const je in g){const Be=g[je];Ko(Be)&&(l[je]=Be.bind(o))}if(h){const je=h.call(o,o);Tc(je)&&(n.data=VG(je))}if(dPe=!0,b)for(const je in b){const Be=b[je],ze=Ko(Be)?Be.bind(o,o):Ko(Be.get)?Be.get.bind(o,o):kS,Ze=!Ko(Be)&&Ko(Be.set)?Be.set.bind(o):kS,Le=Fo({get:ze,set:Ze});Object.defineProperty(l,je,{enumerable:!0,configurable:!0,get:()=>Le.value,set:Ut=>Le.value=Ut})}if(m)for(const je in m)RWt(m[je],l,o,je);if(S){const je=Ko(S)?S.call(o):S;Reflect.ownKeys(je).forEach(Be=>{rT(Be,je[Be])})}k&&s7t(k,n,"c");function me(je,Be){ko(Be)?Be.forEach(ze=>je(ze.bind(o))):Be&&je(Be.bind(o))}if(me(PNe,I),me(dw,C),me(tTn,A),me(nTn,M),me(QIn,D),me(ZIn,H),me(sTn,Ee),me(oTn,be),me(iTn,De),me(ece,Y),me(tce,Q),me(rTn,Ae),ko(qe))if(qe.length){const je=n.exposed||(n.exposed={});qe.forEach(Be=>{Object.defineProperty(je,Be,{get:()=>o[Be],set:ze=>o[Be]=ze})})}else n.exposed||(n.exposed={});ne&&n.render===kS&&(n.render=ne),et!=null&&(n.inheritAttrs=et),fe&&(n.components=fe),L&&(n.directives=L),Ae&&yWt(n)}function dTn(n,r,o=kS){ko(n)&&(n=hPe(n));for(const l in n){const h=n[l];let b;Tc(h)?"default"in h?b=RS(h.from||l,h.default,!0):b=RS(h.from||l):b=RS(h),Xf(b)?Object.defineProperty(r,l,{enumerable:!0,configurable:!0,get:()=>b.value,set:g=>b.value=g}):r[l]=b}}function s7t(n,r,o){g2(ko(n)?n.map(l=>l.bind(r.proxy)):n.bind(r.proxy),r,o)}function RWt(n,r,o,l){let h=l.includes(".")?jWt(o,l):()=>o[l];if(pu(n)){const b=r[n];Ko(b)&&ua(h,b)}else if(Ko(n))ua(h,n.bind(o));else if(Tc(n))if(ko(n))n.forEach(b=>RWt(b,r,o,l));else{const b=Ko(n.handler)?n.handler.bind(o):r[n.handler];Ko(b)&&ua(h,b,n)}}function MNe(n){const r=n.type,{mixins:o,extends:l}=r,{mixins:h,optionsCache:b,config:{optionMergeStrategies:g}}=n.appContext,m=b.get(r);let S;return m?S=m:!h.length&&!o&&!l?S=r:(S={},h.length&&h.forEach(_=>Bae(S,_,g,!0)),Bae(S,r,g)),Tc(r)&&b.set(r,S),S}function Bae(n,r,o,l=!1){const{mixins:h,extends:b}=r;b&&Bae(n,b,o,!0),h&&h.forEach(g=>Bae(n,g,o,!0));for(const g in r)if(!(l&&g==="expose")){const m=hTn[g]||o&&o[g];n[g]=m?m(n[g],r[g]):r[g]}return n}const hTn={data:a7t,props:l7t,emits:l7t,methods:sV,computed:sV,beforeCreate:hg,created:hg,beforeMount:hg,mounted:hg,beforeUpdate:hg,updated:hg,beforeDestroy:hg,beforeUnmount:hg,destroyed:hg,unmounted:hg,activated:hg,deactivated:hg,errorCaptured:hg,serverPrefetch:hg,components:sV,directives:sV,watch:pTn,provide:a7t,inject:bTn};function a7t(n,r){return r?n?function(){return kd(Ko(n)?n.call(this,this):n,Ko(r)?r.call(this,this):r)}:r:n}function bTn(n,r){return sV(hPe(n),hPe(r))}function hPe(n){if(ko(n)){const r={};for(let o=0;o1)return o&&Ko(r)?r.call(l&&l.proxy):r}}const CWt={},xWt=()=>Object.create(CWt),$Wt=n=>Object.getPrototypeOf(n)===CWt;function mTn(n,r,o,l=!1){const h={},b=xWt();n.propsDefaults=Object.create(null),IWt(n,r,h,b);for(const g in n.propsOptions[0])g in h||(h[g]=void 0);o?n.props=l?h:TIn(h):n.type.props?n.props=h:n.props=b,n.attrs=b}function yTn(n,r,o,l){const{props:h,attrs:b,vnode:{patchFlag:g}}=n,m=Za(h),[S]=n.propsOptions;let _=!1;if((l||g>0)&&!(g&16)){if(g&8){const k=n.vnode.dynamicProps;for(let I=0;I{S=!0;const[C,A]=TWt(I,r,!0);kd(g,C),A&&m.push(...A)};!o&&r.mixins.length&&r.mixins.forEach(k),n.extends&&k(n.extends),n.mixins&&n.mixins.forEach(k)}if(!b&&!S)return Tc(n)&&l.set(n,iN),iN;if(ko(b))for(let k=0;kn[0]==="_"||n==="$stable",DNe=n=>ko(n)?n.map(_S):[_S(n)],_Tn=(n,r,o)=>{if(r._n)return r;const l=Xi((...h)=>DNe(r(...h)),o);return l._c=!1,l},OWt=(n,r,o)=>{const l=n._ctx;for(const h in n){if(PWt(h))continue;const b=n[h];if(Ko(b))r[h]=_Tn(h,b,l);else if(b!=null){const g=DNe(b);r[h]=()=>g}}},NWt=(n,r)=>{const o=DNe(r);n.slots.default=()=>o},MWt=(n,r,o)=>{for(const l in r)(o||l!=="_")&&(n[l]=r[l])},STn=(n,r,o)=>{const l=n.slots=xWt();if(n.vnode.shapeFlag&32){const h=r._;h?(MWt(l,r,o),o&&LHt(l,"_",h,!0)):OWt(r,l)}else r&&NWt(n,r)},ETn=(n,r,o)=>{const{vnode:l,slots:h}=n;let b=!0,g=mc;if(l.shapeFlag&32){const m=r._;m?o&&m===1?b=!1:MWt(h,r,o):(b=!r.$stable,OWt(r,h)),g=r}else r&&(NWt(n,r),g={default:1});if(b)for(const m in h)!PWt(m)&&g[m]==null&&delete h[m]},bg=LTn;function kTn(n){return RTn(n)}function RTn(n,r){const o=zle();o.__VUE__=!0;const{insert:l,remove:h,patchProp:b,createElement:g,createText:m,createComment:S,setText:_,setElementText:k,parentNode:I,nextSibling:C,setScopeId:A=kS,insertStaticContent:M}=n,D=(P,T,B,K=null,z=null,Se=null,_e=void 0,Pe=null,mt=!!T.dynamicChildren)=>{if(P===T)return;P&&!II(P,T)&&(K=at(P),Ut(P,z,Se,!0),P=null),T.patchFlag===-2&&(mt=!1,T.dynamicChildren=null);const{type:de,ref:zt,shapeFlag:Jt}=T;switch(de){case rce:H(P,T,B,K);break;case yg:G(P,T,B,K);break;case D$e:P==null&&Y(T,B,K,_e);break;case fi:fe(P,T,B,K,z,Se,_e,Pe,mt);break;default:Jt&1?ne(P,T,B,K,z,Se,_e,Pe,mt):Jt&6?L(P,T,B,K,z,Se,_e,Pe,mt):(Jt&64||Jt&128)&&de.process(P,T,B,K,z,Se,_e,Pe,mt,rn)}zt!=null&&z&&Fae(zt,P&&P.ref,Se,T||P,!T)},H=(P,T,B,K)=>{if(P==null)l(T.el=m(T.children),B,K);else{const z=T.el=P.el;T.children!==P.children&&_(z,T.children)}},G=(P,T,B,K)=>{P==null?l(T.el=S(T.children||""),B,K):T.el=P.el},Y=(P,T,B,K)=>{[P.el,P.anchor]=M(P.children,T,B,K,P.el,P.anchor)},F=({el:P,anchor:T},B,K)=>{let z;for(;P&&P!==T;)z=C(P),l(P,B,K),P=z;l(T,B,K)},Q=({el:P,anchor:T})=>{let B;for(;P&&P!==T;)B=C(P),h(P),P=B;h(T)},ne=(P,T,B,K,z,Se,_e,Pe,mt)=>{T.type==="svg"?_e="svg":T.type==="math"&&(_e="mathml"),P==null?be(T,B,K,z,Se,_e,Pe,mt):Ae(P,T,z,Se,_e,Pe,mt)},be=(P,T,B,K,z,Se,_e,Pe)=>{let mt,de;const{props:zt,shapeFlag:Jt,transition:In,dirs:vr}=P;if(mt=P.el=g(P.type,Se,zt&&zt.is,zt),Jt&8?k(mt,P.children):Jt&16&&Ee(P.children,mt,null,K,z,N$e(P,Se),_e,Pe),vr&&Q$(P,null,K,"created"),De(mt,P,P.scopeId,_e,K),zt){for(const ae in zt)ae!=="value"&&!RV(ae)&&b(mt,ae,null,zt[ae],Se,K);"value"in zt&&b(mt,"value",null,zt.value,Se),(de=zt.onVnodeBeforeMount)&&lS(de,K,P)}vr&&Q$(P,null,K,"beforeMount");const Ce=ATn(z,In);Ce&&In.beforeEnter(mt),l(mt,T,B),((de=zt&&zt.onVnodeMounted)||Ce||vr)&&bg(()=>{de&&lS(de,K,P),Ce&&In.enter(mt),vr&&Q$(P,null,K,"mounted")},z)},De=(P,T,B,K,z)=>{if(B&&A(P,B),K)for(let Se=0;Se{for(let de=mt;de{const Pe=T.el=P.el;let{patchFlag:mt,dynamicChildren:de,dirs:zt}=T;mt|=P.patchFlag&16;const Jt=P.props||mc,In=T.props||mc;let vr;if(B&&Z$(B,!1),(vr=In.onVnodeBeforeUpdate)&&lS(vr,B,T,P),zt&&Q$(T,P,B,"beforeUpdate"),B&&Z$(B,!0),(Jt.innerHTML&&In.innerHTML==null||Jt.textContent&&In.textContent==null)&&k(Pe,""),de?qe(P.dynamicChildren,de,Pe,B,K,N$e(T,z),Se):_e||Be(P,T,Pe,null,B,K,N$e(T,z),Se,!1),mt>0){if(mt&16)et(Pe,Jt,In,B,z);else if(mt&2&&Jt.class!==In.class&&b(Pe,"class",null,In.class,z),mt&4&&b(Pe,"style",Jt.style,In.style,z),mt&8){const Ce=T.dynamicProps;for(let ae=0;ae{vr&&lS(vr,B,T,P),zt&&Q$(T,P,B,"updated")},K)},qe=(P,T,B,K,z,Se,_e)=>{for(let Pe=0;Pe{if(T!==B){if(T!==mc)for(const Se in T)!RV(Se)&&!(Se in B)&&b(P,Se,T[Se],null,z,K);for(const Se in B){if(RV(Se))continue;const _e=B[Se],Pe=T[Se];_e!==Pe&&Se!=="value"&&b(P,Se,Pe,_e,z,K)}"value"in B&&b(P,"value",T.value,B.value,z)}},fe=(P,T,B,K,z,Se,_e,Pe,mt)=>{const de=T.el=P?P.el:m(""),zt=T.anchor=P?P.anchor:m("");let{patchFlag:Jt,dynamicChildren:In,slotScopeIds:vr}=T;vr&&(Pe=Pe?Pe.concat(vr):vr),P==null?(l(de,B,K),l(zt,B,K),Ee(T.children||[],B,zt,z,Se,_e,Pe,mt)):Jt>0&&Jt&64&&In&&P.dynamicChildren?(qe(P.dynamicChildren,In,B,z,Se,_e,Pe),(T.key!=null||z&&T===z.subTree)&&LNe(P,T,!0)):Be(P,T,B,zt,z,Se,_e,Pe,mt)},L=(P,T,B,K,z,Se,_e,Pe,mt)=>{T.slotScopeIds=Pe,P==null?T.shapeFlag&512?z.ctx.activate(T,B,K,_e,mt):ve(T,B,K,z,Se,_e,mt):ye(P,T,mt)},ve=(P,T,B,K,z,Se,_e)=>{const Pe=P.component=WTn(P,K,z);if(Qle(P)&&(Pe.ctx.renderer=rn),UTn(Pe,!1,_e),Pe.asyncDep){if(z&&z.registerDep(Pe,me,_e),!P.el){const mt=Pe.subTree=eo(yg);G(null,mt,T,B)}}else me(Pe,P,T,B,z,Se,_e)},ye=(P,T,B)=>{const K=T.component=P.component;if(MTn(P,T,B))if(K.asyncDep&&!K.asyncResolved){je(K,T,B);return}else K.next=T,K.update();else T.el=P.el,K.vnode=T},me=(P,T,B,K,z,Se,_e)=>{const Pe=()=>{if(P.isMounted){let{next:Jt,bu:In,u:vr,parent:Ce,vnode:ae}=P;{const pn=DWt(P);if(pn){Jt&&(Jt.el=ae.el,je(P,Jt,_e)),pn.asyncDep.then(()=>{P.isUnmounted||Pe()});return}}let ce=Jt,Ye;Z$(P,!1),Jt?(Jt.el=ae.el,je(P,Jt,_e)):Jt=ae,In&&C$e(In),(Ye=Jt.props&&Jt.props.onVnodeBeforeUpdate)&&lS(Ye,Ce,Jt,ae),Z$(P,!0);const pt=M$e(P),qt=P.subTree;P.subTree=pt,D(qt,pt,I(qt.el),at(qt),P,z,Se),Jt.el=pt.el,ce===null&&DTn(P,pt.el),vr&&bg(vr,z),(Ye=Jt.props&&Jt.props.onVnodeUpdated)&&bg(()=>lS(Ye,Ce,Jt,ae),z)}else{let Jt;const{el:In,props:vr}=T,{bm:Ce,m:ae,parent:ce,root:Ye,type:pt}=P,qt=lN(T);if(Z$(P,!1),Ce&&C$e(Ce),!qt&&(Jt=vr&&vr.onVnodeBeforeMount)&&lS(Jt,ce,T),Z$(P,!0),In&&Te){const pn=()=>{P.subTree=M$e(P),Te(In,P.subTree,P,z,null)};qt&&pt.__asyncHydrate?pt.__asyncHydrate(In,P,pn):pn()}else{Ye.ce&&Ye.ce._injectChildStyle(pt);const pn=P.subTree=M$e(P);D(null,pn,B,K,P,z,Se),T.el=pn.el}if(ae&&bg(ae,z),!qt&&(Jt=vr&&vr.onVnodeMounted)){const pn=T;bg(()=>lS(Jt,ce,pn),z)}(T.shapeFlag&256||ce&&lN(ce.vnode)&&ce.vnode.shapeFlag&256)&&P.a&&bg(P.a,z),P.isMounted=!0,T=B=K=null}};P.scope.on();const mt=P.effect=new UHt(Pe);P.scope.off();const de=P.update=mt.run.bind(mt),zt=P.job=mt.runIfDirty.bind(mt);zt.i=P,zt.id=P.uid,mt.scheduler=()=>TNe(zt),Z$(P,!0),de()},je=(P,T,B)=>{T.component=P;const K=P.vnode.props;P.vnode=T,P.next=null,yTn(P,T.props,K,B),ETn(P,T.children,B),j6(),Z8t(P),F6()},Be=(P,T,B,K,z,Se,_e,Pe,mt=!1)=>{const de=P&&P.children,zt=P?P.shapeFlag:0,Jt=T.children,{patchFlag:In,shapeFlag:vr}=T;if(In>0){if(In&128){Ze(de,Jt,B,K,z,Se,_e,Pe,mt);return}else if(In&256){ze(de,Jt,B,K,z,Se,_e,Pe,mt);return}}vr&8?(zt&16&&st(de,z,Se),Jt!==de&&k(B,Jt)):zt&16?vr&16?Ze(de,Jt,B,K,z,Se,_e,Pe,mt):st(de,z,Se,!0):(zt&8&&k(B,""),vr&16&&Ee(Jt,B,K,z,Se,_e,Pe,mt))},ze=(P,T,B,K,z,Se,_e,Pe,mt)=>{P=P||iN,T=T||iN;const de=P.length,zt=T.length,Jt=Math.min(de,zt);let In;for(In=0;Inzt?st(P,z,Se,!0,!1,Jt):Ee(T,B,K,z,Se,_e,Pe,mt,Jt)},Ze=(P,T,B,K,z,Se,_e,Pe,mt)=>{let de=0;const zt=T.length;let Jt=P.length-1,In=zt-1;for(;de<=Jt&&de<=In;){const vr=P[de],Ce=T[de]=mt?l6(T[de]):_S(T[de]);if(II(vr,Ce))D(vr,Ce,B,null,z,Se,_e,Pe,mt);else break;de++}for(;de<=Jt&&de<=In;){const vr=P[Jt],Ce=T[In]=mt?l6(T[In]):_S(T[In]);if(II(vr,Ce))D(vr,Ce,B,null,z,Se,_e,Pe,mt);else break;Jt--,In--}if(de>Jt){if(de<=In){const vr=In+1,Ce=vrIn)for(;de<=Jt;)Ut(P[de],z,Se,!0),de++;else{const vr=de,Ce=de,ae=new Map;for(de=Ce;de<=In;de++){const Ti=T[de]=mt?l6(T[de]):_S(T[de]);Ti.key!=null&&ae.set(Ti.key,de)}let ce,Ye=0;const pt=In-Ce+1;let qt=!1,pn=0;const Kr=new Array(pt);for(de=0;de=pt){Ut(Ti,z,Se,!0);continue}let to;if(Ti.key!=null)to=ae.get(Ti.key);else for(ce=Ce;ce<=In;ce++)if(Kr[ce-Ce]===0&&II(Ti,T[ce])){to=ce;break}to===void 0?Ut(Ti,z,Se,!0):(Kr[to-Ce]=de+1,to>=pn?pn=to:qt=!0,D(Ti,T[to],B,null,z,Se,_e,Pe,mt),Ye++)}const Ho=qt?CTn(Kr):iN;for(ce=Ho.length-1,de=pt-1;de>=0;de--){const Ti=Ce+de,to=T[Ti],xi=Ti+1{const{el:Se,type:_e,transition:Pe,children:mt,shapeFlag:de}=P;if(de&6){Le(P.component.subTree,T,B,K);return}if(de&128){P.suspense.move(T,B,K);return}if(de&64){_e.move(P,T,B,rn);return}if(_e===fi){l(Se,T,B);for(let Jt=0;JtPe.enter(Se),z);else{const{leave:Jt,delayLeave:In,afterLeave:vr}=Pe,Ce=()=>l(Se,T,B),ae=()=>{Jt(Se,()=>{Ce(),vr&&vr()})};In?In(Se,Ce,ae):ae()}else l(Se,T,B)},Ut=(P,T,B,K=!1,z=!1)=>{const{type:Se,props:_e,ref:Pe,children:mt,dynamicChildren:de,shapeFlag:zt,patchFlag:Jt,dirs:In,cacheIndex:vr}=P;if(Jt===-2&&(z=!1),Pe!=null&&Fae(Pe,null,B,P,!0),vr!=null&&(T.renderCache[vr]=void 0),zt&256){T.ctx.deactivate(P);return}const Ce=zt&1&&In,ae=!lN(P);let ce;if(ae&&(ce=_e&&_e.onVnodeBeforeUnmount)&&lS(ce,T,P),zt&6)ft(P.component,B,K);else{if(zt&128){P.suspense.unmount(B,K);return}Ce&&Q$(P,null,T,"beforeUnmount"),zt&64?P.type.remove(P,T,B,rn,K):de&&!de.hasOnce&&(Se!==fi||Jt>0&&Jt&64)?st(de,T,B,!1,!0):(Se===fi&&Jt&384||!z&&zt&16)&&st(mt,T,B),K&&se(P)}(ae&&(ce=_e&&_e.onVnodeUnmounted)||Ce)&&bg(()=>{ce&&lS(ce,T,P),Ce&&Q$(P,null,T,"unmounted")},B)},se=P=>{const{type:T,el:B,anchor:K,transition:z}=P;if(T===fi){Me(B,K);return}if(T===D$e){Q(P);return}const Se=()=>{h(B),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(P.shapeFlag&1&&z&&!z.persisted){const{leave:_e,delayLeave:Pe}=z,mt=()=>_e(B,Se);Pe?Pe(P.el,Se,mt):mt()}else Se()},Me=(P,T)=>{let B;for(;P!==T;)B=C(P),h(P),P=B;h(T)},ft=(P,T,B)=>{const{bum:K,scope:z,job:Se,subTree:_e,um:Pe,m:mt,a:de}=P;u7t(mt),u7t(de),K&&C$e(K),z.stop(),Se&&(Se.flags|=8,Ut(_e,P,T,B)),Pe&&bg(Pe,T),bg(()=>{P.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&P.asyncDep&&!P.asyncResolved&&P.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},st=(P,T,B,K=!1,z=!1,Se=0)=>{for(let _e=Se;_e{if(P.shapeFlag&6)return at(P.component.subTree);if(P.shapeFlag&128)return P.suspense.next();const T=C(P.anchor||P.el),B=T&&T[uWt];return B?C(B):T};let yt=!1;const Mt=(P,T,B)=>{P==null?T._vnode&&Ut(T._vnode,null,null,!0):D(T._vnode||null,P,T,null,null,null,B),T._vnode=P,yt||(yt=!0,Z8t(),aWt(),yt=!1)},rn={p:D,um:Ut,m:Le,r:se,mt:ve,mc:Ee,pc:Be,pbc:qe,n:at,o:n};let $e,Te;return{render:Mt,hydrate:$e,createApp:wTn(Mt,$e)}}function N$e({type:n,props:r},o){return o==="svg"&&n==="foreignObject"||o==="mathml"&&n==="annotation-xml"&&r&&r.encoding&&r.encoding.includes("html")?void 0:o}function Z$({effect:n,job:r},o){o?(n.flags|=32,r.flags|=4):(n.flags&=-33,r.flags&=-5)}function ATn(n,r){return(!n||n&&!n.pendingBranch)&&r&&!r.persisted}function LNe(n,r,o=!1){const l=n.children,h=r.children;if(ko(l)&&ko(h))for(let b=0;b>1,n[o[m]]<_?b=m+1:g=m;_0&&(r[l]=o[b-1]),o[b]=l)}}for(b=o.length,g=o[b-1];b-- >0;)o[b]=g,g=r[g];return o}function DWt(n){const r=n.subTree.component;if(r)return r.asyncDep&&!r.asyncResolved?r:DWt(r)}function u7t(n){if(n)for(let r=0;rRS(xTn);function ua(n,r,o){return LWt(n,r,o)}function LWt(n,r,o=mc){const{immediate:l,deep:h,flush:b,once:g}=o,m=kd({},o),S=r&&l||!r&&b!=="post";let _;if(iG){if(b==="sync"){const A=$Tn();_=A.__watcherHandles||(A.__watcherHandles=[])}else if(!S){const A=()=>{};return A.stop=kS,A.resume=kS,A.pause=kS,A}}const k=pb;m.call=(A,M,D)=>g2(A,k,M,D);let I=!1;b==="post"?m.scheduler=A=>{bg(A,k&&k.suspense)}:b!=="sync"&&(I=!0,m.scheduler=(A,M)=>{M?A():TNe(A)}),m.augmentJob=A=>{r&&(A.flags|=4),I&&(A.flags|=2,k&&(A.id=k.uid,A.i=k))};const C=UIn(n,r,m);return iG&&(_?_.push(C):S&&C()),C}function ITn(n,r,o){const l=this.proxy,h=pu(n)?n.includes(".")?jWt(l,n):()=>l[n]:n.bind(l,l);let b;Ko(r)?b=r:(b=r.handler,o=r);const g=KG(this),m=LWt(h,b.bind(l),o);return g(),m}function jWt(n,r){const o=r.split(".");return()=>{let l=n;for(let h=0;hr==="modelValue"||r==="model-value"?n.modelModifiers:n[`${r}Modifiers`]||n[`${iy(r)}Modifiers`]||n[`${L6(r)}Modifiers`];function PTn(n,r,...o){if(n.isUnmounted)return;const l=n.vnode.props||mc;let h=o;const b=r.startsWith("update:"),g=b&&TTn(l,r.slice(7));g&&(g.trim&&(h=o.map(k=>pu(k)?k.trim():k)),g.number&&(h=o.map(iIn)));let m,S=l[m=Jse(r)]||l[m=Jse(iy(r))];!S&&b&&(S=l[m=Jse(L6(r))]),S&&g2(S,n,6,h);const _=l[m+"Once"];if(_){if(!n.emitted)n.emitted={};else if(n.emitted[m])return;n.emitted[m]=!0,g2(_,n,6,h)}}function FWt(n,r,o=!1){const l=r.emitsCache,h=l.get(n);if(h!==void 0)return h;const b=n.emits;let g={},m=!1;if(!Ko(n)){const S=_=>{const k=FWt(_,r,!0);k&&(m=!0,kd(g,k))};!o&&r.mixins.length&&r.mixins.forEach(S),n.extends&&S(n.extends),n.mixins&&n.mixins.forEach(S)}return!b&&!m?(Tc(n)&&l.set(n,null),null):(ko(b)?b.forEach(S=>g[S]=null):kd(g,b),Tc(n)&&l.set(n,g),g)}function nce(n,r){return!n||!Ule(r)?!1:(r=r.slice(2).replace(/Once$/,""),Sl(n,r[0].toLowerCase()+r.slice(1))||Sl(n,L6(r))||Sl(n,r))}function M$e(n){const{type:r,vnode:o,proxy:l,withProxy:h,propsOptions:[b],slots:g,attrs:m,emit:S,render:_,renderCache:k,props:I,data:C,setupState:A,ctx:M,inheritAttrs:D}=n,H=jae(n);let G,Y;try{if(o.shapeFlag&4){const Q=h||l,ne=Q;G=_S(_.call(ne,Q,k,I,A,C,M)),Y=m}else{const Q=r;G=_S(Q.length>1?Q(I,{attrs:m,slots:g,emit:S}):Q(I,null)),Y=r.props?m:OTn(m)}}catch(Q){IV.length=0,Yle(Q,n,1),G=eo(yg)}let F=G;if(Y&&D!==!1){const Q=Object.keys(Y),{shapeFlag:ne}=F;Q.length&&ne&7&&(b&&Q.some(_Ne)&&(Y=NTn(Y,b)),F=N6(F,Y,!1,!0))}return o.dirs&&(F=N6(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(o.dirs):o.dirs),o.transition&&tG(F,o.transition),G=F,jae(H),G}const OTn=n=>{let r;for(const o in n)(o==="class"||o==="style"||Ule(o))&&((r||(r={}))[o]=n[o]);return r},NTn=(n,r)=>{const o={};for(const l in n)(!_Ne(l)||!(l.slice(9)in r))&&(o[l]=n[l]);return o};function MTn(n,r,o){const{props:l,children:h,component:b}=n,{props:g,children:m,patchFlag:S}=r,_=b.emitsOptions;if(r.dirs||r.transition)return!0;if(o&&S>=0){if(S&1024)return!0;if(S&16)return l?f7t(l,g,_):!!g;if(S&8){const k=r.dynamicProps;for(let I=0;In.__isSuspense;function LTn(n,r){r&&r.pendingBranch?ko(n)?r.effects.push(...n):r.effects.push(n):KIn(n)}const fi=Symbol.for("v-fgt"),rce=Symbol.for("v-txt"),yg=Symbol.for("v-cmt"),D$e=Symbol.for("v-stc"),IV=[];let vg=null;function Qe(n=!1){IV.push(vg=n?null:[])}function jTn(){IV.pop(),vg=IV[IV.length-1]||null}let PN=1;function d7t(n,r=!1){PN+=n,n<0&&vg&&r&&(vg.hasOnce=!0)}function HWt(n){return n.dynamicChildren=PN>0?vg||iN:null,jTn(),PN>0&&vg&&vg.push(n),n}function jt(n,r,o,l,h,b){return HWt(Mr(n,r,o,l,h,b,!0))}function On(n,r,o,l,h){return HWt(eo(n,r,o,l,h,!0))}function rG(n){return n?n.__v_isVNode===!0:!1}function II(n,r){return n.type===r.type&&n.key===r.key}const WWt=({key:n})=>n??null,Zse=({ref:n,ref_key:r,ref_for:o})=>(typeof n=="number"&&(n=""+n),n!=null?pu(n)||Xf(n)||Ko(n)?{i:jh,r:n,k:r,f:!!o}:n:null);function Mr(n,r=null,o=null,l=0,h=null,b=n===fi?0:1,g=!1,m=!1){const S={__v_isVNode:!0,__v_skip:!0,type:n,props:r,key:r&&WWt(r),ref:r&&Zse(r),scopeId:cWt,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:b,patchFlag:l,dynamicProps:h,dynamicChildren:null,appContext:null,ctx:jh};return m?(jNe(S,o),b&128&&n.normalize(S)):o&&(S.shapeFlag|=pu(o)?8:16),PN>0&&!g&&vg&&(S.patchFlag>0||b&6)&&S.patchFlag!==32&&vg.push(S),S}const eo=FTn;function FTn(n,r=null,o=null,l=0,h=null,b=!1){if((!n||n===_Wt)&&(n=yg),rG(n)){const m=N6(n,r,!0);return o&&jNe(m,o),PN>0&&!b&&vg&&(m.shapeFlag&6?vg[vg.indexOf(n)]=m:vg.push(m)),m.patchFlag=-2,m}if(zTn(n)&&(n=n.__vccOpts),r){r=pPe(r);let{class:m,style:S}=r;m&&!pu(m)&&(r.class=Oo(m)),Tc(S)&&(INe(S)&&!ko(S)&&(S=kd({},S)),r.style=_g(S))}const g=pu(n)?1:BWt(n)?128:fWt(n)?64:Tc(n)?4:Ko(n)?2:0;return Mr(n,r,o,l,h,g,b,!0)}function pPe(n){return n?INe(n)||$Wt(n)?kd({},n):n:null}function N6(n,r,o=!1,l=!1){const{props:h,ref:b,patchFlag:g,children:m,transition:S}=n,_=r?Ot(h||{},r):h,k={__v_isVNode:!0,__v_skip:!0,type:n.type,props:_,key:_&&WWt(_),ref:r&&r.ref?o&&b?ko(b)?b.concat(Zse(r)):[b,Zse(r)]:Zse(r):b,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:m,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:r&&n.type!==fi?g===-1?16:g|16:g,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:S,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&N6(n.ssContent),ssFallback:n.ssFallback&&N6(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return S&&l&&tG(k,S.clone(k)),k}function pk(n=" ",r=0){return eo(rce,null,n,r)}function kr(n="",r=!1){return r?(Qe(),On(yg,null,n)):eo(yg,null,n)}function _S(n){return n==null||typeof n=="boolean"?eo(yg):ko(n)?eo(fi,null,n.slice()):rG(n)?l6(n):eo(rce,null,String(n))}function l6(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:N6(n)}function jNe(n,r){let o=0;const{shapeFlag:l}=n;if(r==null)r=null;else if(ko(r))o=16;else if(typeof r=="object")if(l&65){const h=r.default;h&&(h._c&&(h._d=!1),jNe(n,h()),h._c&&(h._d=!0));return}else{o=32;const h=r._;!h&&!$Wt(r)?r._ctx=jh:h===3&&jh&&(jh.slots._===1?r._=1:(r._=2,n.patchFlag|=1024))}else Ko(r)?(r={default:r,_ctx:jh},o=32):(r=String(r),l&64?(o=16,r=[pk(r)]):o=8);n.children=r,n.shapeFlag|=o}function Ot(...n){const r={};for(let o=0;opb||jh;let Hae,gPe;{const n=zle(),r=(o,l)=>{let h;return(h=n[o])||(h=n[o]=[]),h.push(l),b=>{h.length>1?h.forEach(g=>g(b)):h[0](b)}};Hae=r("__VUE_INSTANCE_SETTERS__",o=>pb=o),gPe=r("__VUE_SSR_SETTERS__",o=>iG=o)}const KG=n=>{const r=pb;return Hae(n),n.scope.on(),()=>{n.scope.off(),Hae(r)}},h7t=()=>{pb&&pb.scope.off(),Hae(null)};function UWt(n){return n.vnode.shapeFlag&4}let iG=!1;function UTn(n,r=!1,o=!1){r&&gPe(r);const{props:l,children:h}=n.vnode,b=UWt(n);mTn(n,l,b,r),STn(n,h,o);const g=b?VTn(n,r):void 0;return r&&gPe(!1),g}function VTn(n,r){const o=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,lTn);const{setup:l}=o;if(l){j6();const h=n.setupContext=l.length>1?GWt(n):null,b=KG(n),g=GG(l,n,0,[n.props,h]),m=NHt(g);if(F6(),b(),(m||n.sp)&&!lN(n)&&yWt(n),m){if(g.then(h7t,h7t),r)return g.then(S=>{b7t(n,S,r)}).catch(S=>{Yle(S,n,0)});n.asyncDep=g}else b7t(n,g,r)}else VWt(n,r)}function b7t(n,r,o){Ko(r)?n.type.__ssrInlineRender?n.ssrRender=r:n.render=r:Tc(r)&&(n.setupState=rWt(r)),VWt(n,o)}let p7t;function VWt(n,r,o){const l=n.type;if(!n.render){if(!r&&p7t&&!l.render){const h=l.template||MNe(n).template;if(h){const{isCustomElement:b,compilerOptions:g}=n.appContext.config,{delimiters:m,compilerOptions:S}=l,_=kd(kd({isCustomElement:b,delimiters:m},g),S);l.render=p7t(h,_)}}n.render=l.render||kS}{const h=KG(n);j6();try{fTn(n)}finally{F6(),h()}}}const GTn={get(n,r){return op(n,"get",""),n[r]}};function GWt(n){const r=o=>{n.exposed=o||{}};return{attrs:new Proxy(n.attrs,GTn),slots:n.slots,emit:n.emit,expose:r}}function ice(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(rWt(BI(n.exposed)),{get(r,o){if(o in r)return r[o];if(o in $V)return $V[o](n)},has(r,o){return o in r||o in $V}})):n.proxy}function KTn(n,r=!0){return Ko(n)?n.displayName||n.name:n.name||r&&n.__name}function zTn(n){return Ko(n)&&"__vccOpts"in n}const Fo=(n,r)=>HIn(n,r,iG);function Hl(n,r,o){const l=arguments.length;return l===2?Tc(r)&&!ko(r)?rG(r)?eo(n,null,[r]):eo(n,r):eo(n,null,r):(l>3?o=Array.prototype.slice.call(arguments,2):l===3&&rG(o)&&(o=[o]),eo(n,r,o))}function qTn(n,r){const o=n.memo;if(o.length!=r.length)return!1;for(let l=0;l0&&vg&&vg.push(n),!0}const XTn="3.5.13";/** +* @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let tve;const gwn=typeof window<"u"&&window.trustedTypes;if(gwn){try{tve=gwn.createPolicy("vue",{createHTML:l=>l});}catch{}}const jpn=tve?l=>tve.createHTML(l):l=>l,GXn="http://www.w3.org/2000/svg",zXn="http://www.w3.org/1998/Math/MathML",sy=typeof document<"u"?document:null,pwn=sy&&sy.createElement("template"),VXn={insert:(l,a,w)=>{a.insertBefore(l,w||null);},remove:l=>{const a=l.parentNode;a&&a.removeChild(l);},createElement:(l,a,w,g)=>{const v=a==="svg"?sy.createElementNS(GXn,l):a==="mathml"?sy.createElementNS(zXn,l):w?sy.createElement(l,{is:w}):sy.createElement(l);return l==="select"&&g&&g.multiple!=null&&v.setAttribute("multiple",g.multiple),v;},createText:l=>sy.createTextNode(l),createComment:l=>sy.createComment(l),setText:(l,a)=>{l.nodeValue=a;},setElementText:(l,a)=>{l.textContent=a;},parentNode:l=>l.parentNode,nextSibling:l=>l.nextSibling,querySelector:l=>sy.querySelector(l),setScopeId(l,a){l.setAttribute(a,"");},insertStaticContent(l,a,w,g,v,_){const p=w?w.previousSibling:a.lastChild;if(v&&(v===_||v.nextSibling)){for(;a.insertBefore(v.cloneNode(!0),w),!(v===_||!(v=v.nextSibling));){;}}else{pwn.innerHTML=jpn(g==="svg"?`${l}`:g==="mathml"?`${l}`:l);const j=pwn.content;if(g==="svg"||g==="mathml"){const C=j.firstChild;for(;C.firstChild;){j.appendChild(C.firstChild);}j.removeChild(C);}a.insertBefore(j,w);}return[p?p.nextSibling:a.firstChild,w?w.previousSibling:a.lastChild];}},WXn=Symbol("_vtc");function XXn(l,a,w){const g=l[WXn];g&&(a=(a?[a,...g]:[...g]).join(" ")),a==null?l.removeAttribute("class"):w?l.setAttribute("class",a):l.className=a;}const mwn=Symbol("_vod"),YXn=Symbol("_vsh"),JXn=Symbol(""),QXn=/(^|;)\s*display\s*:/;function ZXn(l,a,w){const g=l.style,v=nl(w);let _=!1;if(w&&!v){if(a){if(nl(a)){for(const p of a.split(";")){const j=p.slice(0,p.indexOf(":")).trim();w[j]==null&&lX(g,j,"");}}else {for(const p in a){w[p]==null&&lX(g,p,"");}}}for(const p in w){p==="display"&&(_=!0),lX(g,p,w[p]);}}else if(v){if(a!==w){const p=g[JXn];p&&(w+=";"+p),g.cssText=w,_=QXn.test(w);}}else {a&&l.removeAttribute("style");}mwn in l&&(l[mwn]=_?g.display:"",l[YXn]&&(g.display="none"));}const vwn=/\s*!important$/;function lX(l,a,w){if(vc(w)){w.forEach(g=>lX(l,a,g));}else if(w==null&&(w=""),a.startsWith("--")){l.setProperty(a,w);}else{const g=eYn(l,a);vwn.test(w)?l.setProperty(Y9(g),w.replace(vwn,""),"important"):l[g]=w;}}const ywn=["Webkit","Moz","ms"],ame={};function eYn(l,a){const w=ame[a];if(w){return w;}let g=yg(a);if(g!=="filter"&&g in l){return ame[a]=g;}g=HX(g);for(let v=0;vhme||(cYn.then(()=>hme=0),hme=Date.now());function uYn(l,a){const w=g=>{if(!g._vts){g._vts=Date.now();}else if(g._vts<=w.attached){return;}hv(sYn(g,w.value),a,5,[g]);};return w.value=l,w.attached=oYn(),w;}function sYn(l,a){if(vc(a)){const w=l.stopImmediatePropagation;return l.stopImmediatePropagation=()=>{w.call(l),l._stopped=!0;},a.map(g=>v=>!v._stopped&&g&&g(v));}else {return a;}}const Twn=l=>l.charCodeAt(0)===111&&l.charCodeAt(1)===110&&l.charCodeAt(2)>96&&l.charCodeAt(2)<123,fYn=(l,a,w,g,v,_)=>{const p=v==="svg";a==="class"?XXn(l,g,p):a==="style"?ZXn(l,w,g):BX(a)?Cve(a)||iYn(l,a,w,g,_):(a[0]==="."?(a=a.slice(1),!0):a[0]==="^"?(a=a.slice(1),!1):lYn(l,a,g,p))?(_wn(l,a,g),!l.tagName.includes("-")&&(a==="value"||a==="checked"||a==="selected")&&Ewn(l,a,g,p,_,a!=="value")):l._isVueCE&&(/[A-Z]/.test(a)||!nl(g))?_wn(l,yg(a),g,_,a):(a==="true-value"?l._trueValue=g:a==="false-value"&&(l._falseValue=g),Ewn(l,a,g,p));};function lYn(l,a,w,g){if(g){return!!(a==="innerHTML"||a==="textContent"||a in l&&Twn(a)&&Sc(w));}if(a==="spellcheck"||a==="draggable"||a==="translate"||a==="form"||a==="list"&&l.tagName==="INPUT"||a==="type"&&l.tagName==="TEXTAREA"){return!1;}if(a==="width"||a==="height"){const v=l.tagName;if(v==="IMG"||v==="VIDEO"||v==="CANVAS"||v==="SOURCE"){return!1;}}return Twn(a)&&nl(w)?!1:a in l;}const aYn=ah({patchProp:fYn},VXn);let Mwn;function hYn(){return Mwn||(Mwn=vXn(aYn));}const dYn=(...l)=>{const a=hYn().createApp(...l),{mount:w}=a;return a.mount=g=>{const v=bYn(g);if(!v){return;}const _=a._component;!Sc(_)&&!_.render&&!_.template&&(_.template=v.innerHTML),v.nodeType===1&&(v.textContent="");const p=w(v,!1,wYn(v));return v instanceof Element&&(v.removeAttribute("v-cloak"),v.setAttribute("data-v-app","")),p;},a;};function wYn(l){if(l instanceof SVGElement){return"svg";}if(typeof MathMLElement==="function"&&l instanceof MathMLElement){return"mathml";}}function bYn(l){return nl(l)?document.querySelector(l):l;}let Tpn=class Mpn{constructor(a,{bind:w=!1}={}){this._factories=a.slice();for(const g of this._factories){typeof g.prototype.init==="function"&&g.prototype.init.call(this);for(const v of g.exports||[]){w?this[v]=g.prototype[v].bind(this):this[v]=g.prototype[v];}}}clone(){const a=new Mpn(this._factories);for(const w of a._factories){typeof w.prototype.clone==="function"&&w.prototype.clone.call(a,this);}return a;}};function xwn({parent:l,child:a}){return new Proxy({},{get(g,v){return a[v]||l[v];},set(g,v,_){return a[v]=_,!0;},has(g,v){return v in a||v in l;},ownKeys(){const g=Object.getOwnPropertyNames(l),v=Object.getOwnPropertyNames(a);return[...new Set([...g,...v]).values()];},getOwnPropertyDescriptor(g,v){return{enumerable:!v.toString().startsWith("_"),configurable:!0};}});}class I${constructor(a,{parent:w,bind:g=!1}={}){if(this._parent=w,a instanceof Tpn||a instanceof I$){return xwn({parent:w,child:a});}this._factories=a.slice();const v=w?xwn({parent:w,child:this}):this;for(const _ of this._factories){typeof _.prototype.init==="function"&&_.prototype.init.call(v);for(const p of _.exports||[]){g?this[p]=_.prototype[p].bind(v):this[p]=_.prototype[p];}}return v;}clone(){const a=new I$(this._factories,this._parent);for(const w of a._factories){typeof w.prototype.clone==="function"&&w.prototype.clone.call(a,this);}return a;}}var gYn=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function I5(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l;}function pYn(l){if(l.__esModule){return l;}var a=l.default;if(typeof a==="function"){var w=function g(){return this instanceof g?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments);};w.prototype=a.prototype;}else {w={};}return Object.defineProperty(w,"__esModule",{value:!0}),Object.keys(l).forEach(function(g){var v=Object.getOwnPropertyDescriptor(l,g);Object.defineProperty(w,g,v.get?v:{enumerable:!0,get:function(){return l[g];}});}),w;}var ive={exports:{}},Wve={exports:{}},DT=typeof Reflect==="object"?Reflect:null,Cwn=DT&&typeof DT.apply==="function"?DT.apply:function(a,w,g){return Function.prototype.apply.call(a,w,g);},aX;DT&&typeof DT.ownKeys==="function"?aX=DT.ownKeys:Object.getOwnPropertySymbols?aX=function(a){return Object.getOwnPropertyNames(a).concat(Object.getOwnPropertySymbols(a));}:aX=function(a){return Object.getOwnPropertyNames(a);};function mYn(l){console&&console.warn&&console.warn(l);}var xpn=Number.isNaN||function(a){return a!==a;};function ts(){ts.init.call(this);}Wve.exports=ts;Wve.exports.once=EYn;ts.EventEmitter=ts;ts.prototype._events=void 0;ts.prototype._eventsCount=0;ts.prototype._maxListeners=void 0;var Iwn=10;function QX(l){if(typeof l!=="function"){throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof l);}}Object.defineProperty(ts,"defaultMaxListeners",{enumerable:!0,get:function(){return Iwn;},set:function(l){if(typeof l!=="number"||l<0||xpn(l)){throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+l+".");}Iwn=l;}});ts.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0;};ts.prototype.setMaxListeners=function(a){if(typeof a!=="number"||a<0||xpn(a)){throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+a+".");}return this._maxListeners=a,this;};function Cpn(l){return l._maxListeners===void 0?ts.defaultMaxListeners:l._maxListeners;}ts.prototype.getMaxListeners=function(){return Cpn(this);};ts.prototype.emit=function(a){for(var w=[],g=1;g0&&(p=w[0]),p instanceof Error){throw p;}var j=new Error("Unhandled error."+(p?" ("+p.message+")":""));throw j.context=p,j;}var C=_[a];if(C===void 0){return!1;}if(typeof C==="function"){Cwn(C,this,w);}else {for(var $=C.length,A=Apn(C,$),g=0;g<$;++g){Cwn(A[g],this,w);}}return!0;};function Ipn(l,a,w,g){var v,_,p;if(QX(w),_=l._events,_===void 0?(_=l._events=Object.create(null),l._eventsCount=0):(_.newListener!==void 0&&(l.emit("newListener",a,w.listener?w.listener:w),_=l._events),p=_[a]),p===void 0){p=_[a]=w,++l._eventsCount;}else if(typeof p==="function"?p=_[a]=g?[w,p]:[p,w]:g?p.unshift(w):p.push(w),v=Cpn(l),v>0&&p.length>v&&!p.warned){p.warned=!0;var j=new Error("Possible EventEmitter memory leak detected. "+p.length+" "+String(a)+" listeners added. Use emitter.setMaxListeners() to increase limit");j.name="MaxListenersExceededWarning",j.emitter=l,j.type=a,j.count=p.length,mYn(j);}return l;}ts.prototype.addListener=function(a,w){return Ipn(this,a,w,!1);};ts.prototype.on=ts.prototype.addListener;ts.prototype.prependListener=function(a,w){return Ipn(this,a,w,!0);};function vYn(){if(!this.fired){return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments);}}function Ppn(l,a,w){var g={fired:!1,wrapFn:void 0,target:l,type:a,listener:w},v=vYn.bind(g);return v.listener=w,g.wrapFn=v,v;}ts.prototype.once=function(a,w){return QX(w),this.on(a,Ppn(this,a,w)),this;};ts.prototype.prependOnceListener=function(a,w){return QX(w),this.prependListener(a,Ppn(this,a,w)),this;};ts.prototype.removeListener=function(a,w){var g,v,_,p,j;if(QX(w),v=this._events,v===void 0){return this;}if(g=v[a],g===void 0){return this;}if(g===w||g.listener===w){--this._eventsCount===0?this._events=Object.create(null):(delete v[a],v.removeListener&&this.emit("removeListener",a,g.listener||w));}else if(typeof g!=="function"){for(_=-1,p=g.length-1;p>=0;p--){if(g[p]===w||g[p].listener===w){j=g[p].listener,_=p;break;}}if(_<0){return this;}_===0?g.shift():yYn(g,_),g.length===1&&(v[a]=g[0]),v.removeListener!==void 0&&this.emit("removeListener",a,j||w);}return this;};ts.prototype.off=ts.prototype.removeListener;ts.prototype.removeAllListeners=function(a){var w,g,v;if(g=this._events,g===void 0){return this;}if(g.removeListener===void 0){return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):g[a]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete g[a]),this;}if(arguments.length===0){var _=Object.keys(g),p;for(v=0;v<_.length;++v){p=_[v],p!=="removeListener"&&this.removeAllListeners(p);}return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this;}if(w=g[a],typeof w==="function"){this.removeListener(a,w);}else if(w!==void 0){for(v=w.length-1;v>=0;v--){this.removeListener(a,w[v]);}}return this;};function Npn(l,a,w){var g=l._events;if(g===void 0){return[];}var v=g[a];return v===void 0?[]:typeof v==="function"?w?[v.listener||v]:[v]:w?kYn(v):Apn(v,v.length);}ts.prototype.listeners=function(a){return Npn(this,a,!0);};ts.prototype.rawListeners=function(a){return Npn(this,a,!1);};ts.listenerCount=function(l,a){return typeof l.listenerCount==="function"?l.listenerCount(a):Opn.call(l,a);};ts.prototype.listenerCount=Opn;function Opn(l){var a=this._events;if(a!==void 0){var w=a[l];if(typeof w==="function"){return 1;}if(w!==void 0){return w.length;}}return 0;}ts.prototype.eventNames=function(){return this._eventsCount>0?aX(this._events):[];};function Apn(l,a){for(var w=new Array(a),g=0;g0){throw new Error("Invalid string. Length must be a multiple of 4");}var w=l.indexOf("=");w===-1&&(w=a);var g=w===a?0:4-w%4;return[w,g];}function TYn(l){var a=Rpn(l),w=a[0],g=a[1];return(w+g)*3/4-g;}function MYn(l,a,w){return(a+w)*3/4-w;}function xYn(l){var a,w=Rpn(l),g=w[0],v=w[1],_=new SYn(MYn(l,g,v)),p=0,j=v>0?g-4:g,C;for(C=0;C>16&255,_[p++]=a>>8&255,_[p++]=a&255;}return v===2&&(a=pg[l.charCodeAt(C)]<<2|pg[l.charCodeAt(C+1)]>>4,_[p++]=a&255),v===1&&(a=pg[l.charCodeAt(C)]<<10|pg[l.charCodeAt(C+1)]<<4|pg[l.charCodeAt(C+2)]>>2,_[p++]=a>>8&255,_[p++]=a&255),_;}function CYn(l){return uv[l>>18&63]+uv[l>>12&63]+uv[l>>6&63]+uv[l&63];}function IYn(l,a,w){for(var g,v=[],_=a;_j?j:p+_));}return g===1?(a=l[w-1],v.push(uv[a>>2]+uv[a<<4&63]+"==")):g===2&&(a=(l[w-2]<<8)+l[w-1],v.push(uv[a>>10]+uv[a>>4&63]+uv[a<<2&63]+"=")),v.join("");}var Xve={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Xve.read=function(l,a,w,g,v){var _,p,j=v*8-g-1,C=(1<>1,A=-7,K=w?v-1:0,Q=w?-1:1,ee=l[a+K];for(K+=Q,_=ee&(1<<-A)-1,ee>>=-A,A+=j;A>0;_=_*256+l[a+K],K+=Q,A-=8){;}for(p=_&(1<<-A)-1,_>>=-A,A+=g;A>0;p=p*256+l[a+K],K+=Q,A-=8){;}if(_===0){_=1-$;}else{if(_===C){return p?NaN:(ee?-1:1)*(1/0);}p=p+Math.pow(2,g),_=_-$;}return(ee?-1:1)*p*Math.pow(2,_-g);};Xve.write=function(l,a,w,g,v,_){var p,j,C,$=_*8-v-1,A=(1<<$)-1,K=A>>1,Q=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=g?0:_-1,Y=g?1:-1,Ie=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(j=isNaN(a)?1:0,p=A):(p=Math.floor(Math.log(a)/Math.LN2),a*(C=Math.pow(2,-p))<1&&(p--,C*=2),p+K>=1?a+=Q/C:a+=Q*Math.pow(2,1-K),a*C>=2&&(p++,C/=2),p+K>=A?(j=0,p=A):p+K>=1?(j=(a*C-1)*Math.pow(2,v),p=p+K):(j=a*Math.pow(2,K-1)*Math.pow(2,v),p=0));v>=8;l[w+ee]=j&255,ee+=Y,j/=256,v-=8){;}for(p=p<0;l[w+ee]=p&255,ee+=Y,p/=256,$-=8){;}l[w+ee-Y]|=Ie*128;};/*! +**/let wPe;const g7t=typeof window<"u"&&window.trustedTypes;if(g7t)try{wPe=g7t.createPolicy("vue",{createHTML:n=>n})}catch{}const KWt=wPe?n=>wPe.createHTML(n):n=>n,JTn="http://www.w3.org/2000/svg",YTn="http://www.w3.org/1998/Math/MathML",nk=typeof document<"u"?document:null,w7t=nk&&nk.createElement("template"),QTn={insert:(n,r,o)=>{r.insertBefore(n,o||null)},remove:n=>{const r=n.parentNode;r&&r.removeChild(n)},createElement:(n,r,o,l)=>{const h=r==="svg"?nk.createElementNS(JTn,n):r==="mathml"?nk.createElementNS(YTn,n):o?nk.createElement(n,{is:o}):nk.createElement(n);return n==="select"&&l&&l.multiple!=null&&h.setAttribute("multiple",l.multiple),h},createText:n=>nk.createTextNode(n),createComment:n=>nk.createComment(n),setText:(n,r)=>{n.nodeValue=r},setElementText:(n,r)=>{n.textContent=r},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>nk.querySelector(n),setScopeId(n,r){n.setAttribute(r,"")},insertStaticContent(n,r,o,l,h,b){const g=o?o.previousSibling:r.lastChild;if(h&&(h===b||h.nextSibling))for(;r.insertBefore(h.cloneNode(!0),o),!(h===b||!(h=h.nextSibling)););else{w7t.innerHTML=KWt(l==="svg"?`${n}`:l==="mathml"?`${n}`:n);const m=w7t.content;if(l==="svg"||l==="mathml"){const S=m.firstChild;for(;S.firstChild;)m.appendChild(S.firstChild);m.removeChild(S)}r.insertBefore(m,o)}return[g?g.nextSibling:r.firstChild,o?o.previousSibling:r.lastChild]}},ZA="transition",DU="animation",oG=Symbol("_vtc"),zWt={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ZTn=kd({},bWt,zWt),e8n=n=>(n.displayName="Transition",n.props=ZTn,n),qWt=e8n((n,{slots:r})=>Hl(YIn,t8n(n),r)),eI=(n,r=[])=>{ko(n)?n.forEach(o=>o(...r)):n&&n(...r)},m7t=n=>n?ko(n)?n.some(r=>r.length>1):n.length>1:!1;function t8n(n){const r={};for(const fe in n)fe in zWt||(r[fe]=n[fe]);if(n.css===!1)return r;const{name:o="v",type:l,duration:h,enterFromClass:b=`${o}-enter-from`,enterActiveClass:g=`${o}-enter-active`,enterToClass:m=`${o}-enter-to`,appearFromClass:S=b,appearActiveClass:_=g,appearToClass:k=m,leaveFromClass:I=`${o}-leave-from`,leaveActiveClass:C=`${o}-leave-active`,leaveToClass:A=`${o}-leave-to`}=n,M=n8n(h),D=M&&M[0],H=M&&M[1],{onBeforeEnter:G,onEnter:Y,onEnterCancelled:F,onLeave:Q,onLeaveCancelled:ne,onBeforeAppear:be=G,onAppear:De=Y,onAppearCancelled:Ee=F}=r,Ae=(fe,L,ve,ye)=>{fe._enterCancelled=ye,tI(fe,L?k:m),tI(fe,L?_:g),ve&&ve()},qe=(fe,L)=>{fe._isLeaving=!1,tI(fe,I),tI(fe,A),tI(fe,C),L&&L()},et=fe=>(L,ve)=>{const ye=fe?De:Y,me=()=>Ae(L,fe,ve);eI(ye,[L,me]),y7t(()=>{tI(L,fe?S:b),J3(L,fe?k:m),m7t(ye)||v7t(L,l,D,me)})};return kd(r,{onBeforeEnter(fe){eI(G,[fe]),J3(fe,b),J3(fe,g)},onBeforeAppear(fe){eI(be,[fe]),J3(fe,S),J3(fe,_)},onEnter:et(!1),onAppear:et(!0),onLeave(fe,L){fe._isLeaving=!0;const ve=()=>qe(fe,L);J3(fe,I),fe._enterCancelled?(J3(fe,C),E7t()):(E7t(),J3(fe,C)),y7t(()=>{fe._isLeaving&&(tI(fe,I),J3(fe,A),m7t(Q)||v7t(fe,l,H,ve))}),eI(Q,[fe,ve])},onEnterCancelled(fe){Ae(fe,!1,void 0,!0),eI(F,[fe])},onAppearCancelled(fe){Ae(fe,!0,void 0,!0),eI(Ee,[fe])},onLeaveCancelled(fe){qe(fe),eI(ne,[fe])}})}function n8n(n){if(n==null)return null;if(Tc(n))return[L$e(n.enter),L$e(n.leave)];{const r=L$e(n);return[r,r]}}function L$e(n){return oIn(n)}function J3(n,r){r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),(n[oG]||(n[oG]=new Set)).add(r)}function tI(n,r){r.split(/\s+/).forEach(l=>l&&n.classList.remove(l));const o=n[oG];o&&(o.delete(r),o.size||(n[oG]=void 0))}function y7t(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let r8n=0;function v7t(n,r,o,l){const h=n._endId=++r8n,b=()=>{h===n._endId&&l()};if(o!=null)return setTimeout(b,o);const{type:g,timeout:m,propCount:S}=i8n(n,r);if(!g)return l();const _=g+"end";let k=0;const I=()=>{n.removeEventListener(_,C),b()},C=A=>{A.target===n&&++k>=S&&I()};setTimeout(()=>{k(o[M]||"").split(", "),h=l(`${ZA}Delay`),b=l(`${ZA}Duration`),g=_7t(h,b),m=l(`${DU}Delay`),S=l(`${DU}Duration`),_=_7t(m,S);let k=null,I=0,C=0;r===ZA?g>0&&(k=ZA,I=g,C=b.length):r===DU?_>0&&(k=DU,I=_,C=S.length):(I=Math.max(g,_),k=I>0?g>_?ZA:DU:null,C=k?k===ZA?b.length:S.length:0);const A=k===ZA&&/\b(transform|all)(,|$)/.test(l(`${ZA}Property`).toString());return{type:k,timeout:I,propCount:C,hasTransform:A}}function _7t(n,r){for(;n.lengthS7t(o)+S7t(n[l])))}function S7t(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function E7t(){return document.body.offsetHeight}function o8n(n,r,o){const l=n[oG];l&&(r=(r?[r,...l]:[...l]).join(" ")),r==null?n.removeAttribute("class"):o?n.setAttribute("class",r):n.className=r}const k7t=Symbol("_vod"),s8n=Symbol("_vsh"),a8n=Symbol(""),l8n=/(^|;)\s*display\s*:/;function c8n(n,r,o){const l=n.style,h=pu(o);let b=!1;if(o&&!h){if(r)if(pu(r))for(const g of r.split(";")){const m=g.slice(0,g.indexOf(":")).trim();o[m]==null&&eae(l,m,"")}else for(const g in r)o[g]==null&&eae(l,g,"");for(const g in o)g==="display"&&(b=!0),eae(l,g,o[g])}else if(h){if(r!==o){const g=l[a8n];g&&(o+=";"+g),l.cssText=o,b=l8n.test(o)}}else r&&n.removeAttribute("style");k7t in n&&(n[k7t]=b?l.display:"",n[s8n]&&(l.display="none"))}const R7t=/\s*!important$/;function eae(n,r,o){if(ko(o))o.forEach(l=>eae(n,r,l));else if(o==null&&(o=""),r.startsWith("--"))n.setProperty(r,o);else{const l=u8n(n,r);R7t.test(o)?n.setProperty(L6(l),o.replace(R7t,""),"important"):n[l]=o}}const A7t=["Webkit","Moz","ms"],j$e={};function u8n(n,r){const o=j$e[r];if(o)return o;let l=iy(r);if(l!=="filter"&&l in n)return j$e[r]=l;l=Kle(l);for(let h=0;hF$e||(p8n.then(()=>F$e=0),F$e=Date.now());function w8n(n,r){const o=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=o.attached)return;g2(m8n(l,o.value),r,5,[l])};return o.value=n,o.attached=g8n(),o}function m8n(n,r){if(ko(r)){const o=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0},r.map(l=>h=>!h._stopped&&l&&l(h))}else return r}const P7t=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,y8n=(n,r,o,l,h,b)=>{const g=h==="svg";r==="class"?o8n(n,l,g):r==="style"?c8n(n,o,l):Ule(r)?_Ne(r)||h8n(n,r,o,l,b):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):v8n(n,r,l,g))?($7t(n,r,l),!n.tagName.includes("-")&&(r==="value"||r==="checked"||r==="selected")&&x7t(n,r,l,g,b,r!=="value")):n._isVueCE&&(/[A-Z]/.test(r)||!pu(l))?$7t(n,iy(r),l,b,r):(r==="true-value"?n._trueValue=l:r==="false-value"&&(n._falseValue=l),x7t(n,r,l,g))};function v8n(n,r,o,l){if(l)return!!(r==="innerHTML"||r==="textContent"||r in n&&P7t(r)&&Ko(o));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&n.tagName==="INPUT"||r==="type"&&n.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const h=n.tagName;if(h==="IMG"||h==="VIDEO"||h==="CANVAS"||h==="SOURCE")return!1}return P7t(r)&&pu(o)?!1:r in n}const _8n=["ctrl","shift","alt","meta"],S8n={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,r)=>_8n.some(o=>n[`${o}Key`]&&!r.includes(o))},XWt=(n,r)=>{const o=n._withMods||(n._withMods={}),l=r.join(".");return o[l]||(o[l]=(h,...b)=>{for(let g=0;g{const o=n._withKeys||(n._withKeys={}),l=r.join(".");return o[l]||(o[l]=h=>{if(!("key"in h))return;const b=L6(h.key);if(r.some(g=>g===b||E8n[g]===b))return n(h)})},k8n=kd({patchProp:y8n},QTn);let O7t;function R8n(){return O7t||(O7t=kTn(k8n))}const A8n=(...n)=>{const r=R8n().createApp(...n),{mount:o}=r;return r.mount=l=>{const h=x8n(l);if(!h)return;const b=r._component;!Ko(b)&&!b.render&&!b.template&&(b.template=h.innerHTML),h.nodeType===1&&(h.textContent="");const g=o(h,!1,C8n(h));return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),g},r};function C8n(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function x8n(n){return pu(n)?document.querySelector(n):n}var $8n=Object.defineProperty,N7t=Object.getOwnPropertySymbols,I8n=Object.prototype.hasOwnProperty,T8n=Object.prototype.propertyIsEnumerable,M7t=(n,r,o)=>r in n?$8n(n,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[r]=o,P8n=(n,r)=>{for(var o in r||(r={}))I8n.call(r,o)&&M7t(n,o,r[o]);if(N7t)for(var o of N7t(r))T8n.call(r,o)&&M7t(n,o,r[o]);return n};function oy(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!(n instanceof Date)&&typeof n=="object"&&Object.keys(n).length===0}function O8n(n,r,o,l=1){let h=-1;const b=oy(n),g=oy(r);return b&&g?h=0:b?h=l:g?h=-l:typeof n=="string"&&typeof r=="string"?h=o(n,r):h=nr?1:0,h}function mPe(n,r,o=new WeakSet){if(n===r)return!0;if(!n||!r||typeof n!="object"||typeof r!="object"||o.has(n)||o.has(r))return!1;o.add(n).add(r);let l=Array.isArray(n),h=Array.isArray(r),b,g,m;if(l&&h){if(g=n.length,g!=r.length)return!1;for(b=g;b--!==0;)if(!mPe(n[b],r[b],o))return!1;return!0}if(l!=h)return!1;let S=n instanceof Date,_=r instanceof Date;if(S!=_)return!1;if(S&&_)return n.getTime()==r.getTime();let k=n instanceof RegExp,I=r instanceof RegExp;if(k!=I)return!1;if(k&&I)return n.toString()==r.toString();let C=Object.keys(n);if(g=C.length,g!==Object.keys(r).length)return!1;for(b=g;b--!==0;)if(!Object.prototype.hasOwnProperty.call(r,C[b]))return!1;for(b=g;b--!==0;)if(m=C[b],!mPe(n[m],r[m],o))return!1;return!0}function N8n(n,r){return mPe(n,r)}function oce(n){return!!(n&&n.constructor&&n.call&&n.apply)}function ss(n){return!oy(n)}function Ea(n,r){if(!n||!r)return null;try{const o=n[r];if(ss(o))return o}catch{}if(Object.keys(n).length){if(oce(r))return r(n);if(r.indexOf(".")===-1)return n[r];{let o=r.split("."),l=n;for(let h=0,b=o.length;hc2(b)===h)||""],o),l.join("."),o):void 0:ny(n,o)}function zG(n,r=!0){return Array.isArray(n)&&(r||n.length!==0)}function D8n(n){return ss(n)&&!isNaN(n)}function L8n(n=""){return ss(n)&&n.length===1&&!!n.match(/\S| /)}function L7t(){return new Intl.Collator(void 0,{numeric:!0}).compare}function fk(n,r){if(r){const o=r.test(n);return r.lastIndex=0,o}return!1}function j8n(...n){const r=(o={},l={})=>{const h=P8n({},o);return Object.keys(l).forEach(b=>{DS(l[b])&&b in o&&DS(o[b])?h[b]=r(o[b],l[b]):h[b]=l[b]}),h};return n.reduce((o,l,h)=>h===0?l:r(o,l),{})}function TV(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function Xm(n){if(n&&/[\xC0-\xFF\u0100-\u017E]/.test(n)){const o={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let l in o)n=n.replace(o[l],l)}return n}function j7t(n,r,o){n&&r!==o&&(o>=n.length&&(o%=n.length,r%=n.length),n.splice(o,0,n.splice(r,1)[0]))}function F7t(n,r,o=1,l,h=1){const b=O8n(n,r,l,o);let g=o;return(oy(n)||oy(r))&&(g=h===1?o:h),g*b}function F8n(n){return B1(n,!1)?n[0].toUpperCase()+n.slice(1):n}function JWt(n){return B1(n)?n.replace(/(_)/g,"-").replace(/[A-Z]/g,(r,o)=>o===0?r:"-"+r.toLowerCase()).toLowerCase():n}function B7t(n){return B1(n)?n.replace(/[A-Z]/g,(r,o)=>o===0?r:"."+r.toLowerCase()).toLowerCase():n}function BNe(){const n=new Map;return{on(r,o){let l=n.get(r);return l?l.push(o):l=[o],n.set(r,l),this},off(r,o){let l=n.get(r);return l&&l.splice(l.indexOf(o)>>>0,1),this},emit(r,o){let l=n.get(r);l&&l.slice().map(h=>{h(o)})},clear(){n.clear()}}}var B8n=Object.defineProperty,H8n=Object.defineProperties,W8n=Object.getOwnPropertyDescriptors,Wae=Object.getOwnPropertySymbols,YWt=Object.prototype.hasOwnProperty,QWt=Object.prototype.propertyIsEnumerable,H7t=(n,r,o)=>r in n?B8n(n,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[r]=o,u2=(n,r)=>{for(var o in r||(r={}))YWt.call(r,o)&&H7t(n,o,r[o]);if(Wae)for(var o of Wae(r))QWt.call(r,o)&&H7t(n,o,r[o]);return n},W$e=(n,r)=>H8n(n,W8n(r)),Y3=(n,r)=>{var o={};for(var l in n)YWt.call(n,l)&&r.indexOf(l)<0&&(o[l]=n[l]);if(n!=null&&Wae)for(var l of Wae(n))r.indexOf(l)<0&&QWt.call(n,l)&&(o[l]=n[l]);return o},U8n=BNe(),l2=U8n;function W7t(n,r){zG(n)?n.push(...r||[]):DS(n)&&Object.assign(n,r)}function V8n(n){return DS(n)&&n.hasOwnProperty("value")&&n.hasOwnProperty("type")?n.value:n}function G8n(n){return n.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function yPe(n="",r=""){return G8n(`${B1(n,!1)&&B1(r,!1)?`${n}-`:n}${r}`)}function ZWt(n="",r=""){return`--${yPe(n,r)}`}function K8n(n=""){const r=(n.match(/{/g)||[]).length,o=(n.match(/}/g)||[]).length;return(r+o)%2!==0}function eUt(n,r="",o="",l=[],h){if(B1(n)){const b=/{([^}]*)}/g,g=n.trim();if(K8n(g))return;if(fk(g,b)){const m=g.replaceAll(b,k=>{const C=k.replace(/{|}/g,"").split(".").filter(A=>!l.some(M=>fk(A,M)));return`var(${ZWt(o,JWt(C.join("-")))}${ss(h)?`, ${h}`:""})`}),S=/(\d+\s+[\+\-\*\/]\s+\d+)/g,_=/var\([^)]+\)/g;return fk(m.replace(_,"0"),S)?`calc(${m})`:m}return g}else if(D8n(n))return n}function z8n(n,r,o){B1(r,!1)&&n.push(`${r}:${o};`)}function M9(n,r){return n?`${n}{${r}}`:""}var PV=(...n)=>q8n(nc.getTheme(),...n),q8n=(n={},r,o,l)=>{if(r){const{variable:h,options:b}=nc.defaults||{},{prefix:g,transform:m}=(n==null?void 0:n.options)||b||{},_=fk(r,/{([^}]*)}/g)?r:`{${r}}`;return l==="value"||oy(l)&&m==="strict"?nc.getTokenValue(r):eUt(_,void 0,g,[h.excludedKeyRegex],o)}return""};function X8n(n,r={}){const o=nc.defaults.variable,{prefix:l=o.prefix,selector:h=o.selector,excludedKeyRegex:b=o.excludedKeyRegex}=r,g=(_,k="")=>Object.entries(_).reduce((I,[C,A])=>{const M=fk(C,b)?yPe(k):yPe(k,JWt(C)),D=V8n(A);if(DS(D)){const{variables:H,tokens:G}=g(D,M);W7t(I.tokens,G),W7t(I.variables,H)}else I.tokens.push((l?M.replace(`${l}-`,""):M).replaceAll("-",".")),z8n(I.variables,ZWt(M),eUt(D,M,l,[b]));return I},{variables:[],tokens:[]}),{variables:m,tokens:S}=g(n,l);return{value:m,tokens:S,declarations:m.join(""),css:M9(h,m.join(""))}}var Zv={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(n){return{type:"class",selector:n,matched:this.pattern.test(n.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(n){return{type:"attr",selector:`:root${n}`,matched:this.pattern.test(n.trim())}}},media:{pattern:/^@media (.*)$/,resolve(n){return{type:"media",selector:`${n}{:root{[CSS]}}`,matched:this.pattern.test(n.trim())}}},system:{pattern:/^system$/,resolve(n){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(n.trim())}}},custom:{resolve(n){return{type:"custom",selector:n,matched:!0}}}},resolve(n){const r=Object.keys(this.rules).filter(o=>o!=="custom").map(o=>this.rules[o]);return[n].flat().map(o=>{var l;return(l=r.map(h=>h.resolve(o)).find(h=>h.matched))!=null?l:this.rules.custom.resolve(o)})}},_toVariables(n,r){return X8n(n,{prefix:r==null?void 0:r.prefix})},getCommon({name:n="",theme:r={},params:o,set:l,defaults:h}){var b,g,m,S,_,k,I;const{preset:C,options:A}=r;let M,D,H,G,Y,F,Q;if(ss(C)&&A.transform!=="strict"){const{primitive:ne,semantic:be,extend:De}=C,Ee=be||{},{colorScheme:Ae}=Ee,qe=Y3(Ee,["colorScheme"]),et=De||{},{colorScheme:fe}=et,L=Y3(et,["colorScheme"]),ve=Ae||{},{dark:ye}=ve,me=Y3(ve,["dark"]),je=fe||{},{dark:Be}=je,ze=Y3(je,["dark"]),Ze=ss(ne)?this._toVariables({primitive:ne},A):{},Le=ss(qe)?this._toVariables({semantic:qe},A):{},Ut=ss(me)?this._toVariables({light:me},A):{},se=ss(ye)?this._toVariables({dark:ye},A):{},Me=ss(L)?this._toVariables({semantic:L},A):{},ft=ss(ze)?this._toVariables({light:ze},A):{},st=ss(Be)?this._toVariables({dark:Be},A):{},[at,yt]=[(b=Ze.declarations)!=null?b:"",Ze.tokens],[Mt,rn]=[(g=Le.declarations)!=null?g:"",Le.tokens||[]],[$e,Te]=[(m=Ut.declarations)!=null?m:"",Ut.tokens||[]],[P,T]=[(S=se.declarations)!=null?S:"",se.tokens||[]],[B,K]=[(_=Me.declarations)!=null?_:"",Me.tokens||[]],[z,Se]=[(k=ft.declarations)!=null?k:"",ft.tokens||[]],[_e,Pe]=[(I=st.declarations)!=null?I:"",st.tokens||[]];M=this.transformCSS(n,at,"light","variable",A,l,h),D=yt;const mt=this.transformCSS(n,`${Mt}${$e}`,"light","variable",A,l,h),de=this.transformCSS(n,`${P}`,"dark","variable",A,l,h);H=`${mt}${de}`,G=[...new Set([...rn,...Te,...T])];const zt=this.transformCSS(n,`${B}${z}color-scheme:light`,"light","variable",A,l,h),Jt=this.transformCSS(n,`${_e}color-scheme:dark`,"dark","variable",A,l,h);Y=`${zt}${Jt}`,F=[...new Set([...K,...Se,...Pe])],Q=ny(C.css,{dt:PV})}return{primitive:{css:M,tokens:D},semantic:{css:H,tokens:G},global:{css:Y,tokens:F},style:Q}},getPreset({name:n="",preset:r={},options:o,params:l,set:h,defaults:b,selector:g}){var m,S,_;let k,I,C;if(ss(r)&&o.transform!=="strict"){const A=n.replace("-directive",""),M=r,{colorScheme:D,extend:H,css:G}=M,Y=Y3(M,["colorScheme","extend","css"]),F=H||{},{colorScheme:Q}=F,ne=Y3(F,["colorScheme"]),be=D||{},{dark:De}=be,Ee=Y3(be,["dark"]),Ae=Q||{},{dark:qe}=Ae,et=Y3(Ae,["dark"]),fe=ss(Y)?this._toVariables({[A]:u2(u2({},Y),ne)},o):{},L=ss(Ee)?this._toVariables({[A]:u2(u2({},Ee),et)},o):{},ve=ss(De)?this._toVariables({[A]:u2(u2({},De),qe)},o):{},[ye,me]=[(m=fe.declarations)!=null?m:"",fe.tokens||[]],[je,Be]=[(S=L.declarations)!=null?S:"",L.tokens||[]],[ze,Ze]=[(_=ve.declarations)!=null?_:"",ve.tokens||[]],Le=this.transformCSS(A,`${ye}${je}`,"light","variable",o,h,b,g),Ut=this.transformCSS(A,ze,"dark","variable",o,h,b,g);k=`${Le}${Ut}`,I=[...new Set([...me,...Be,...Ze])],C=ny(G,{dt:PV})}return{css:k,tokens:I,style:C}},getPresetC({name:n="",theme:r={},params:o,set:l,defaults:h}){var b;const{preset:g,options:m}=r,S=(b=g==null?void 0:g.components)==null?void 0:b[n];return this.getPreset({name:n,preset:S,options:m,params:o,set:l,defaults:h})},getPresetD({name:n="",theme:r={},params:o,set:l,defaults:h}){var b;const g=n.replace("-directive",""),{preset:m,options:S}=r,_=(b=m==null?void 0:m.directives)==null?void 0:b[g];return this.getPreset({name:g,preset:_,options:S,params:o,set:l,defaults:h})},applyDarkColorScheme(n){return!(n.darkModeSelector==="none"||n.darkModeSelector===!1)},getColorSchemeOption(n,r){var o;return this.applyDarkColorScheme(n)?this.regex.resolve(n.darkModeSelector===!0?r.options.darkModeSelector:(o=n.darkModeSelector)!=null?o:r.options.darkModeSelector):[]},getLayerOrder(n,r={},o,l){const{cssLayer:h}=r;return h?`@layer ${ny(h.order||"primeui",o)}`:""},getCommonStyleSheet({name:n="",theme:r={},params:o,props:l={},set:h,defaults:b}){const g=this.getCommon({name:n,theme:r,params:o,set:h,defaults:b}),m=Object.entries(l).reduce((S,[_,k])=>S.push(`${_}="${k}"`)&&S,[]).join(" ");return Object.entries(g||{}).reduce((S,[_,k])=>{if(k!=null&&k.css){const I=TV(k==null?void 0:k.css),C=`${_}-variables`;S.push(``)}return S},[]).join("")},getStyleSheet({name:n="",theme:r={},params:o,props:l={},set:h,defaults:b}){var g;const m={name:n,theme:r,params:o,set:h,defaults:b},S=(g=n.includes("-directive")?this.getPresetD(m):this.getPresetC(m))==null?void 0:g.css,_=Object.entries(l).reduce((k,[I,C])=>k.push(`${I}="${C}"`)&&k,[]).join(" ");return S?``:""},createTokens(n={},r,o="",l="",h={}){return Object.entries(n).forEach(([b,g])=>{const m=fk(b,r.variable.excludedKeyRegex)?o:o?`${o}.${B7t(b)}`:B7t(b),S=l?`${l}.${b}`:b;DS(g)?this.createTokens(g,r,m,S,h):(h[m]||(h[m]={paths:[],computed(_,k={}){var I,C;return this.paths.length===1?(I=this.paths[0])==null?void 0:I.computed(this.paths[0].scheme,k.binding):_&&_!=="none"?(C=this.paths.find(A=>A.scheme===_))==null?void 0:C.computed(_,k.binding):this.paths.map(A=>A.computed(A.scheme,k[A.scheme]))}}),h[m].paths.push({path:S,value:g,scheme:S.includes("colorScheme.light")?"light":S.includes("colorScheme.dark")?"dark":"none",computed(_,k={}){const I=/{([^}]*)}/g;let C=g;if(k.name=this.path,k.binding||(k.binding={}),fk(g,I)){const M=g.trim().replaceAll(I,G=>{var Y;const F=G.replace(/{|}/g,""),Q=(Y=h[F])==null?void 0:Y.computed(_,k);return zG(Q)&&Q.length===2?`light-dark(${Q[0].value},${Q[1].value})`:Q==null?void 0:Q.value}),D=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,H=/var\([^)]+\)/g;C=fk(M.replace(H,"0"),D)?`calc(${M})`:M}return oy(k.binding)&&delete k.binding,{colorScheme:_,path:this.path,paths:k,value:C.includes("undefined")?void 0:C}}}))}),h},getTokenValue(n,r,o){var l;const b=(S=>S.split(".").filter(k=>!fk(k.toLowerCase(),o.variable.excludedKeyRegex)).join("."))(r),g=r.includes("colorScheme.light")?"light":r.includes("colorScheme.dark")?"dark":void 0,m=[(l=n[b])==null?void 0:l.computed(g)].flat().filter(S=>S);return m.length===1?m[0].value:m.reduce((S={},_)=>{const k=_,{colorScheme:I}=k,C=Y3(k,["colorScheme"]);return S[I]=C,S},void 0)},getSelectorRule(n,r,o,l){return o==="class"||o==="attr"?M9(ss(r)?`${n}${r},${n} ${r}`:n,l):M9(n,ss(r)?M9(r,l):l)},transformCSS(n,r,o,l,h={},b,g,m){if(ss(r)){const{cssLayer:S}=h;if(l!=="style"){const _=this.getColorSchemeOption(h,g);r=o==="dark"?_.reduce((k,{type:I,selector:C})=>(ss(C)&&(k+=C.includes("[CSS]")?C.replace("[CSS]",r):this.getSelectorRule(C,m,I,r)),k),""):M9(m??":root",r)}if(S){const _={name:"primeui",order:"primeui"};DS(S)&&(_.name=ny(S.name,{name:n,type:l})),ss(_.name)&&(r=M9(`@layer ${_.name}`,r),b==null||b.layerNames(_.name))}return r}return""}},nc={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(n={}){const{theme:r}=n;r&&(this._theme=W$e(u2({},r),{options:u2(u2({},this.defaults.options),r.options)}),this._tokens=Zv.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var n;return((n=this.theme)==null?void 0:n.preset)||{}},get options(){var n;return((n=this.theme)==null?void 0:n.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(n){this.update({theme:n}),l2.emit("theme:change",n)},getPreset(){return this.preset},setPreset(n){this._theme=W$e(u2({},this.theme),{preset:n}),this._tokens=Zv.createTokens(n,this.defaults),this.clearLoadedStyleNames(),l2.emit("preset:change",n),l2.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(n){this._theme=W$e(u2({},this.theme),{options:n}),this.clearLoadedStyleNames(),l2.emit("options:change",n),l2.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(n){this._layerNames.add(n)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(n){return this._loadedStyleNames.has(n)},setLoadedStyleName(n){this._loadedStyleNames.add(n)},deleteLoadedStyleName(n){this._loadedStyleNames.delete(n)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(n){return Zv.getTokenValue(this.tokens,n,this.defaults)},getCommon(n="",r){return Zv.getCommon({name:n,theme:this.theme,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(n="",r){const o={name:n,theme:this.theme,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Zv.getPresetC(o)},getDirective(n="",r){const o={name:n,theme:this.theme,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Zv.getPresetD(o)},getCustomPreset(n="",r,o,l){const h={name:n,preset:r,options:this.options,selector:o,params:l,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Zv.getPreset(h)},getLayerOrderCSS(n=""){return Zv.getLayerOrder(n,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(n="",r,o="style",l){return Zv.transformCSS(n,r,l,o,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(n="",r,o={}){return Zv.getCommonStyleSheet({name:n,theme:this.theme,params:r,props:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(n,r,o={}){return Zv.getStyleSheet({name:n,theme:this.theme,params:r,props:o,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(n){this._loadingStyles.add(n)},onStyleUpdated(n){this._loadingStyles.add(n)},onStyleLoaded(n,{name:r}){this._loadingStyles.size&&(this._loadingStyles.delete(r),l2.emit(`theme:${r}:load`,n),!this._loadingStyles.size&&l2.emit("theme:load"))}};function J8n(n,r){return n?n.classList?n.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(n.className):!1}function aV(n,r){if(n&&r){const o=l=>{J8n(n,l)||(n.classList?n.classList.add(l):n.className+=" "+l)};[r].flat().filter(Boolean).forEach(l=>l.split(" ").forEach(o))}}function Uae(n){for(const r of document==null?void 0:document.styleSheets)try{for(const o of r==null?void 0:r.cssRules)for(const l of o==null?void 0:o.style)if(n.test(l))return{name:l,value:o.style.getPropertyValue(l).trim()}}catch{}return null}function Y8n(n){if(n){let r=document.createElement("a");if(r.download!==void 0){const{name:o,src:l}=n;return r.setAttribute("href",l),r.setAttribute("download",o),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),!0}}return!1}function Q8n(n,r){let o=new Blob([n],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(o,r+".csv"):Y8n({name:r+".csv",src:URL.createObjectURL(o)})||(n="data:text/csv;charset=utf-8,"+n,window.open(encodeURI(n)))}function _6(n,r){if(n&&r){const o=l=>{n.classList?n.classList.remove(l):n.className=n.className.replace(new RegExp("(^|\\b)"+l.split(" ").join("|")+"(\\b|$)","gi")," ")};[r].flat().filter(Boolean).forEach(l=>l.split(" ").forEach(o))}}function tUt(n){let r={width:0,height:0};return n&&(n.style.visibility="hidden",n.style.display="block",r.width=n.offsetWidth,r.height=n.offsetHeight,n.style.display="none",n.style.visibility="visible"),r}function nUt(){let n=window,r=document,o=r.documentElement,l=r.getElementsByTagName("body")[0],h=n.innerWidth||o.clientWidth||l.clientWidth,b=n.innerHeight||o.clientHeight||l.clientHeight;return{width:h,height:b}}function Z8n(){let n=document.documentElement;return(window.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}function e7n(){let n=document.documentElement;return(window.pageYOffset||n.scrollTop)-(n.clientTop||0)}function rUt(n,r,o=!0){var l,h,b,g;if(n){const m=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:tUt(n),S=m.height,_=m.width,k=r.offsetHeight,I=r.offsetWidth,C=r.getBoundingClientRect(),A=e7n(),M=Z8n(),D=nUt();let H,G,Y="top";C.top+k+S>D.height?(H=C.top+A-S,Y="bottom",H<0&&(H=A)):H=k+C.top+A,C.left+_>D.width?G=Math.max(0,C.left+M+I-_):G=C.left+M,n.style.top=H+"px",n.style.left=G+"px",n.style.transformOrigin=Y,o&&(n.style.marginTop=Y==="bottom"?`calc(${(h=(l=Uae(/-anchor-gutter$/))==null?void 0:l.value)!=null?h:"2px"} * -1)`:(g=(b=Uae(/-anchor-gutter$/))==null?void 0:b.value)!=null?g:"")}}function Vae(n,r){n&&(typeof r=="string"?n.style.cssText=r:Object.entries(r||{}).forEach(([o,l])=>n.style[o]=l))}function cp(n,r){if(n instanceof HTMLElement){let o=n.offsetWidth;if(r){let l=getComputedStyle(n);o+=parseFloat(l.marginLeft)+parseFloat(l.marginRight)}return o}return 0}function t7n(n,r,o=!0){var l,h,b,g;if(n){const m=n.offsetParent?{width:n.offsetWidth,height:n.offsetHeight}:tUt(n),S=r.offsetHeight,_=r.getBoundingClientRect(),k=nUt();let I,C,A="top";_.top+S+m.height>k.height?(I=-1*m.height,A="bottom",_.top+I<0&&(I=-1*_.top)):I=S,m.width>k.width?C=_.left*-1:_.left+m.width>k.width?C=(_.left+m.width-k.width)*-1:C=0,n.style.top=I+"px",n.style.left=C+"px",n.style.transformOrigin=A,o&&(n.style.marginTop=A==="bottom"?`calc(${(h=(l=Uae(/-anchor-gutter$/))==null?void 0:l.value)!=null?h:"2px"} * -1)`:(g=(b=Uae(/-anchor-gutter$/))==null?void 0:b.value)!=null?g:"")}}function ZN(n){return typeof HTMLElement=="object"?n instanceof HTMLElement:n&&typeof n=="object"&&n!==null&&n.nodeType===1&&typeof n.nodeName=="string"}function tae(){if(window.getSelection){const n=window.getSelection()||{};n.empty?n.empty():n.removeAllRanges&&n.rangeCount>0&&n.getRangeAt(0).getClientRects().length>0&&n.removeAllRanges()}}function Gae(n,r={}){if(ZN(n)){const o=(l,h)=>{var b,g;const m=(b=n==null?void 0:n.$attrs)!=null&&b[l]?[(g=n==null?void 0:n.$attrs)==null?void 0:g[l]]:[];return[h].flat().reduce((S,_)=>{if(_!=null){const k=typeof _;if(k==="string"||k==="number")S.push(_);else if(k==="object"){const I=Array.isArray(_)?o(l,_):Object.entries(_).map(([C,A])=>l==="style"&&(A||A===0)?`${C.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${A}`:A?C:void 0);S=I.length?S.concat(I.filter(C=>!!C)):S}}return S},m)};Object.entries(r).forEach(([l,h])=>{if(h!=null){const b=l.match(/^on(.+)/);b?n.addEventListener(b[1].toLowerCase(),h):l==="p-bind"||l==="pBind"?Gae(n,h):(h=l==="class"?[...new Set(o("class",h))].join(" ").trim():l==="style"?o("style",h).join(";").trim():h,(n.$attrs=n.$attrs||{})&&(n.$attrs[l]=h),n.setAttribute(l,h))}})}}function iUt(n,r={},...o){{const l=document.createElement(n);return Gae(l,r),l.append(...o),l}}function D9(n,r){return ZN(n)?Array.from(n.querySelectorAll(r)):[]}function x6(n,r){return ZN(n)?n.matches(r)?n:n.querySelector(r):null}function L1(n,r){n&&document.activeElement!==n&&n.focus(r)}function Mh(n,r){if(ZN(n)){const o=n.getAttribute(r);return isNaN(o)?o==="true"||o==="false"?o==="true":o:+o}}function HNe(n,r=""){let o=D9(n,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`),l=[];for(let h of o)getComputedStyle(h).display!="none"&&getComputedStyle(h).visibility!="hidden"&&l.push(h);return l}function TI(n,r){const o=HNe(n,r);return o.length>0?o[0]:null}function S6(n){if(n){let r=n.offsetHeight,o=getComputedStyle(n);return r-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),r}return 0}function n7n(n){if(n){n.style.visibility="hidden",n.style.display="block";let r=n.offsetHeight;return n.style.display="none",n.style.visibility="visible",r}return 0}function r7n(n){if(n){n.style.visibility="hidden",n.style.display="block";let r=n.offsetWidth;return n.style.display="none",n.style.visibility="visible",r}return 0}function WNe(n){if(n){let r=n.parentNode;return r&&r instanceof ShadowRoot&&r.host&&(r=r.host),r}return null}function nae(n){var r;if(n){let o=(r=WNe(n))==null?void 0:r.childNodes,l=0;if(o)for(let h=0;h0?o[o.length-1]:null}function UNe(n,r){let o=n.nextElementSibling;for(;o;){if(o.matches(r))return o;o=o.nextElementSibling}return null}function L9(n){if(n){let r=n.getBoundingClientRect();return{top:r.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:r.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function $6(n,r){if(n){let o=n.offsetHeight;if(r){let l=getComputedStyle(n);o+=parseFloat(l.marginTop)+parseFloat(l.marginBottom)}return o}return 0}function sUt(n,r=[]){const o=WNe(n);return o===null?r:sUt(o,r.concat([o]))}function VNe(n,r){let o=n.previousElementSibling;for(;o;){if(o.matches(r))return o;o=o.previousElementSibling}return null}function i7n(n){let r=[];if(n){let o=sUt(n);const l=/(auto|scroll)/,h=b=>{try{let g=window.getComputedStyle(b,null);return l.test(g.getPropertyValue("overflow"))||l.test(g.getPropertyValue("overflowX"))||l.test(g.getPropertyValue("overflowY"))}catch{return!1}};for(let b of o){let g=b.nodeType===1&&b.dataset.scrollselectors;if(g){let m=g.split(",");for(let S of m){let _=x6(b,S);_&&h(_)&&r.push(_)}}b.nodeType!==9&&h(b)&&r.push(b)}}return r}function U7t(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function o7n(n){return!!(n!==null&&typeof n<"u"&&n.nodeName&&WNe(n))}function E6(n){if(n){let r=n.offsetWidth,o=getComputedStyle(n);return r-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),r}return 0}function V7t(n,r,o){n[r].apply(n,o)}function s7n(){return/(android)/i.test(navigator.userAgent)}function U$e(n){if(n){const r=n.nodeName,o=n.parentElement&&n.parentElement.nodeName;return r==="INPUT"||r==="TEXTAREA"||r==="BUTTON"||r==="A"||o==="INPUT"||o==="TEXTAREA"||o==="BUTTON"||o==="A"||!!n.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function GNe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function G7t(n,r=""){return ZN(n)?n.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}, + [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${r}`):!1}function Kae(n){return!!(n&&n.offsetParent!=null)}function aUt(n){return n?getComputedStyle(n).direction==="rtl":!1}function lUt(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function KNe(n,r="",o){ZN(n)&&o!==null&&o!==void 0&&n.setAttribute(r,o)}var Moe={};function zNe(n="pui_id_"){return Moe.hasOwnProperty(n)||(Moe[n]=0),Moe[n]++,`${n}${Moe[n]}`}function a7n(){let n=[];const r=(g,m,S=999)=>{const _=h(g,m,S),k=_.value+(_.key===g?0:S)+1;return n.push({key:g,value:k}),k},o=g=>{n=n.filter(m=>m.value!==g)},l=(g,m)=>h(g).value,h=(g,m,S=0)=>[...n].reverse().find(_=>!0)||{key:g,value:S},b=g=>g&&parseInt(g.style.zIndex,10)||0;return{get:b,set:(g,m,S)=>{m&&(m.style.zIndex=String(r(g,!0,S)))},clear:g=>{g&&(o(b(g)),g.style.zIndex="")},getCurrent:g=>l(g)}}var uN=a7n(),Uu={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},zae={AND:"and",OR:"or"};function K7t(n,r){var o=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!o){if(Array.isArray(n)||(o=l7n(n))||r){o&&(n=o);var l=0,h=function(){};return{s:h,n:function(){return l>=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(_){throw _},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b,g=!0,m=!1;return{s:function(){o=o.call(n)},n:function(){var _=o.next();return g=_.done,_},e:function(_){m=!0,b=_},f:function(){try{g||o.return==null||o.return()}finally{if(m)throw b}}}}function l7n(n,r){if(n){if(typeof n=="string")return z7t(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?z7t(n,r):void 0}}function z7t(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);oo.getTime():r>o},gte:function(r,o){return o==null?!0:r==null?!1:r.getTime&&o.getTime?r.getTime()>=o.getTime():r>=o},dateIs:function(r,o){return o==null?!0:r==null?!1:r.toDateString()===o.toDateString()},dateIsNot:function(r,o){return o==null?!0:r==null?!1:r.toDateString()!==o.toDateString()},dateBefore:function(r,o){return o==null?!0:r==null?!1:r.getTime()o.getTime()}},register:function(r,o){this.filters[r]=o}};function sG(n){"@babel/helpers - typeof";return sG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},sG(n)}function q7t(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function X7t(n){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;B6()?dw(n):r?n():p2(n)}var h7n=0;function b7n(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=fa(!1),l=fa(n),h=fa(null),b=GNe()?window.document:void 0,g=r.document,m=g===void 0?b:g,S=r.immediate,_=S===void 0?!0:S,k=r.manual,I=k===void 0?!1:k,C=r.name,A=C===void 0?"style_".concat(++h7n):C,M=r.id,D=M===void 0?void 0:M,H=r.media,G=H===void 0?void 0:H,Y=r.nonce,F=Y===void 0?void 0:Y,Q=r.first,ne=Q===void 0?!1:Q,be=r.onMounted,De=be===void 0?void 0:be,Ee=r.onUpdated,Ae=Ee===void 0?void 0:Ee,qe=r.onLoad,et=qe===void 0?void 0:qe,fe=r.props,L=fe===void 0?{}:fe,ve=function(){},ye=function(Be){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(m){var Ze=X7t(X7t({},L),ze),Le=Ze.name||A,Ut=Ze.id||D,se=Ze.nonce||F;h.value=m.querySelector('style[data-primevue-style-id="'.concat(Le,'"]'))||m.getElementById(Ut)||m.createElement("style"),h.value.isConnected||(l.value=Be||n,Gae(h.value,{type:"text/css",id:Ut,media:G,nonce:se}),ne?m.head.prepend(h.value):m.head.appendChild(h.value),KNe(h.value,"data-primevue-style-id",Le),Gae(h.value,Ze),h.value.onload=function(Me){return et==null?void 0:et(Me,{name:Le})},De==null||De(Le)),!o.value&&(ve=ua(l,function(Me){h.value.textContent=Me,Ae==null||Ae(Le)},{immediate:!0}),o.value=!0)}},me=function(){!m||!o.value||(ve(),o7n(h.value)&&m.head.removeChild(h.value),o.value=!1)};return _&&!I&&d7n(ye),{id:D,name:A,el:h,css:l,unload:me,load:ye,isLoaded:Jle(o)}}function aG(n){"@babel/helpers - typeof";return aG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},aG(n)}function J7t(n,r){return m7n(n)||w7n(n,r)||g7n(n,r)||p7n()}function p7n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g7n(n,r){if(n){if(typeof n=="string")return Y7t(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Y7t(n,r):void 0}}function Y7t(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(b){return b},h=l(ny(r,{dt:PV}));return ss(h)?b7n(TV(h),V$e({name:this.name},o)):{}},loadCSS:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,r)},loadTheme:function(){var r=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.theme,o,function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return nc.transformCSS(o.name||r.name,"".concat(h).concat(l))})},getCommonTheme:function(r){return nc.getCommon(this.name,r)},getComponentTheme:function(r){return nc.getComponent(this.name,r)},getDirectiveTheme:function(r){return nc.getDirective(this.name,r)},getPresetTheme:function(r,o,l){return nc.getCustomPreset(this.name,r,o,l)},getLayerOrderThemeCSS:function(){return nc.getLayerOrderCSS(this.name)},getStyleSheet:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var l=ny(this.css,{dt:PV})||"",h=TV("".concat(l).concat(r)),b=Object.entries(o).reduce(function(g,m){var S=J7t(m,2),_=S[0],k=S[1];return g.push("".concat(_,'="').concat(k,'"'))&&g},[]).join(" ");return ss(h)?'"):""}return""},getCommonThemeStyleSheet:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return nc.getCommonStyleSheet(this.name,r,o)},getThemeStyleSheet:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=[nc.getStyleSheet(this.name,r,o)];if(this.theme){var h=this.name==="base"?"global-style":"".concat(this.name,"-style"),b=ny(this.theme,{dt:PV}),g=TV(nc.transformCSS(h,b)),m=Object.entries(o).reduce(function(S,_){var k=J7t(_,2),I=k[0],C=k[1];return S.push("".concat(I,'="').concat(C,'"'))&&S},[]).join(" ");ss(g)&&l.push('"))}return l.join("")},extend:function(r){return V$e(V$e({},this),{},{css:void 0,theme:void 0},r)}},Q9=BNe();function lG(n){"@babel/helpers - typeof";return lG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lG(n)}function Z7t(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function Doe(n){for(var r=1;r1)for(var o=1;o0&&(g=o[0]),g instanceof Error)throw g;var m=new Error("Unhandled error."+(g?" ("+g.message+")":""));throw m.context=g,m}var S=b[r];if(S===void 0)return!1;if(typeof S=="function")rPt(S,this,o);else for(var _=S.length,k=_Ut(S,_),l=0;l<_;++l)rPt(k[l],this,o);return!0};function wUt(n,r,o,l){var h,b,g;if(sce(o),b=n._events,b===void 0?(b=n._events=Object.create(null),n._eventsCount=0):(b.newListener!==void 0&&(n.emit("newListener",r,o.listener?o.listener:o),b=n._events),g=b[r]),g===void 0)g=b[r]=o,++n._eventsCount;else if(typeof g=="function"?g=b[r]=l?[o,g]:[g,o]:l?g.unshift(o):g.push(o),h=gUt(n),h>0&&g.length>h&&!g.warned){g.warned=!0;var m=new Error("Possible EventEmitter memory leak detected. "+g.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");m.name="MaxListenersExceededWarning",m.emitter=n,m.type=r,m.count=g.length,EOn(m)}return n}rc.prototype.addListener=function(r,o){return wUt(this,r,o,!1)};rc.prototype.on=rc.prototype.addListener;rc.prototype.prependListener=function(r,o){return wUt(this,r,o,!0)};function kOn(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function mUt(n,r,o){var l={fired:!1,wrapFn:void 0,target:n,type:r,listener:o},h=kOn.bind(l);return h.listener=o,l.wrapFn=h,h}rc.prototype.once=function(r,o){return sce(o),this.on(r,mUt(this,r,o)),this};rc.prototype.prependOnceListener=function(r,o){return sce(o),this.prependListener(r,mUt(this,r,o)),this};rc.prototype.removeListener=function(r,o){var l,h,b,g,m;if(sce(o),h=this._events,h===void 0)return this;if(l=h[r],l===void 0)return this;if(l===o||l.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete h[r],h.removeListener&&this.emit("removeListener",r,l.listener||o));else if(typeof l!="function"){for(b=-1,g=l.length-1;g>=0;g--)if(l[g]===o||l[g].listener===o){m=l[g].listener,b=g;break}if(b<0)return this;b===0?l.shift():ROn(l,b),l.length===1&&(h[r]=l[0]),h.removeListener!==void 0&&this.emit("removeListener",r,m||o)}return this};rc.prototype.off=rc.prototype.removeListener;rc.prototype.removeAllListeners=function(r){var o,l,h;if(l=this._events,l===void 0)return this;if(l.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):l[r]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete l[r]),this;if(arguments.length===0){var b=Object.keys(l),g;for(h=0;h=0;h--)this.removeListener(r,o[h]);return this};function yUt(n,r,o){var l=n._events;if(l===void 0)return[];var h=l[r];return h===void 0?[]:typeof h=="function"?o?[h.listener||h]:[h]:o?AOn(h):_Ut(h,h.length)}rc.prototype.listeners=function(r){return yUt(this,r,!0)};rc.prototype.rawListeners=function(r){return yUt(this,r,!1)};rc.listenerCount=function(n,r){return typeof n.listenerCount=="function"?n.listenerCount(r):vUt.call(n,r)};rc.prototype.listenerCount=vUt;function vUt(n){var r=this._events;if(r!==void 0){var o=r[n];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}rc.prototype.eventNames=function(){return this._eventsCount>0?iae(this._events):[]};function _Ut(n,r){for(var o=new Array(r),l=0;l0)throw new Error("Invalid string. Length must be a multiple of 4");var o=n.indexOf("=");o===-1&&(o=r);var l=o===r?0:4-o%4;return[o,l]}function TOn(n){var r=kUt(n),o=r[0],l=r[1];return(o+l)*3/4-l}function POn(n,r,o){return(r+o)*3/4-o}function OOn(n){var r,o=kUt(n),l=o[0],h=o[1],b=new $On(POn(n,l,h)),g=0,m=h>0?l-4:l,S;for(S=0;S>16&255,b[g++]=r>>8&255,b[g++]=r&255;return h===2&&(r=Ym[n.charCodeAt(S)]<<2|Ym[n.charCodeAt(S+1)]>>4,b[g++]=r&255),h===1&&(r=Ym[n.charCodeAt(S)]<<10|Ym[n.charCodeAt(S+1)]<<4|Ym[n.charCodeAt(S+2)]>>2,b[g++]=r>>8&255,b[g++]=r&255),b}function NOn(n){return ES[n>>18&63]+ES[n>>12&63]+ES[n>>6&63]+ES[n&63]}function MOn(n,r,o){for(var l,h=[],b=r;bm?m:g+b));return l===1?(r=n[o-1],h.push(ES[r>>2]+ES[r<<4&63]+"==")):l===2&&(r=(n[o-2]<<8)+n[o-1],h.push(ES[r>>10]+ES[r>>4&63]+ES[r<<2&63]+"=")),h.join("")}var XNe={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */XNe.read=function(n,r,o,l,h){var b,g,m=h*8-l-1,S=(1<>1,k=-7,I=o?h-1:0,C=o?-1:1,A=n[r+I];for(I+=C,b=A&(1<<-k)-1,A>>=-k,k+=m;k>0;b=b*256+n[r+I],I+=C,k-=8);for(g=b&(1<<-k)-1,b>>=-k,k+=l;k>0;g=g*256+n[r+I],I+=C,k-=8);if(b===0)b=1-_;else{if(b===S)return g?NaN:(A?-1:1)*(1/0);g=g+Math.pow(2,l),b=b-_}return(A?-1:1)*g*Math.pow(2,b-l)};XNe.write=function(n,r,o,l,h,b){var g,m,S,_=b*8-h-1,k=(1<<_)-1,I=k>>1,C=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=l?0:b-1,M=l?1:-1,D=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(m=isNaN(r)?1:0,g=k):(g=Math.floor(Math.log(r)/Math.LN2),r*(S=Math.pow(2,-g))<1&&(g--,S*=2),g+I>=1?r+=C/S:r+=C*Math.pow(2,1-I),r*S>=2&&(g++,S/=2),g+I>=k?(m=0,g=k):g+I>=1?(m=(r*S-1)*Math.pow(2,h),g=g+I):(m=r*Math.pow(2,I-1)*Math.pow(2,h),g=0));h>=8;n[o+A]=m&255,A+=M,m/=256,h-=8);for(g=g<0;n[o+A]=g&255,A+=M,g/=256,_-=8);n[o+A-M]|=D*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(l){const a=ZX,w=Xve,g=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null;l.Buffer=j,l.SlowBuffer=ke,l.INSPECT_MAX_BYTES=50;const v=2147483647;l.kMaxLength=v,j.TYPED_ARRAY_SUPPORT=_(),!j.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error==="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function _(){try{const te=new Uint8Array(1),F={foo:function(){return 42;}};return Object.setPrototypeOf(F,Uint8Array.prototype),Object.setPrototypeOf(te,F),te.foo()===42;}catch{return!1;}}Object.defineProperty(j.prototype,"parent",{enumerable:!0,get:function(){if(j.isBuffer(this)){return this.buffer;}}}),Object.defineProperty(j.prototype,"offset",{enumerable:!0,get:function(){if(j.isBuffer(this)){return this.byteOffset;}}});function p(te){if(te>v){throw new RangeError('The value "'+te+'" is invalid for option "size"');}const F=new Uint8Array(te);return Object.setPrototypeOf(F,j.prototype),F;}function j(te,F,q){if(typeof te==="number"){if(typeof F==="string"){throw new TypeError('The "string" argument must be of type string. Received type number');}return K(te);}return C(te,F,q);}j.poolSize=8192;function C(te,F,q){if(typeof te==="string"){return Q(te,F);}if(ArrayBuffer.isView(te)){return Y(te);}if(te==null){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof te);}if(Rn(te,ArrayBuffer)||te&&Rn(te.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Rn(te,SharedArrayBuffer)||te&&Rn(te.buffer,SharedArrayBuffer))){return Ie(te,F,q);}if(typeof te==="number"){throw new TypeError('The "value" argument must not be of type number. Received type number');}const Pe=te.valueOf&&te.valueOf();if(Pe!=null&&Pe!==te){return j.from(Pe,F,q);}const en=Me(te);if(en){return en;}if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof te[Symbol.toPrimitive]==="function"){return j.from(te[Symbol.toPrimitive]("string"),F,q);}throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof te);}j.from=function(te,F,q){return C(te,F,q);},Object.setPrototypeOf(j.prototype,Uint8Array.prototype),Object.setPrototypeOf(j,Uint8Array);function $(te){if(typeof te!=="number"){throw new TypeError('"size" argument must be of type number');}if(te<0){throw new RangeError('The value "'+te+'" is invalid for option "size"');}}function A(te,F,q){return $(te),te<=0?p(te):F!==void 0?typeof q==="string"?p(te).fill(F,q):p(te).fill(F):p(te);}j.alloc=function(te,F,q){return A(te,F,q);};function K(te){return $(te),p(te<0?0:oe(te)|0);}j.allocUnsafe=function(te){return K(te);},j.allocUnsafeSlow=function(te){return K(te);};function Q(te,F){if((typeof F!=="string"||F==="")&&(F="utf8"),!j.isEncoding(F)){throw new TypeError("Unknown encoding: "+F);}const q=fe(te,F)|0;let Pe=p(q);const en=Pe.write(te,F);return en!==q&&(Pe=Pe.slice(0,en)),Pe;}function ee(te){const F=te.length<0?0:oe(te.length)|0,q=p(F);for(let Pe=0;Pe=v){throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+v.toString(16)+" bytes");}return te|0;}function ke(te){return+te!=te&&(te=0),j.alloc(+te);}j.isBuffer=function(F){return F!=null&&F._isBuffer===!0&&F!==j.prototype;},j.compare=function(F,q){if(Rn(F,Uint8Array)&&(F=j.from(F,F.offset,F.byteLength)),Rn(q,Uint8Array)&&(q=j.from(q,q.offset,q.byteLength)),!j.isBuffer(F)||!j.isBuffer(q)){throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');}if(F===q){return 0;}let Pe=F.length,en=q.length;for(let xn=0,nt=Math.min(Pe,en);xnen.length?(j.isBuffer(nt)||(nt=j.from(nt)),nt.copy(en,xn)):Uint8Array.prototype.set.call(en,nt,xn);}else if(j.isBuffer(nt)){nt.copy(en,xn);}else {throw new TypeError('"list" argument must be an Array of Buffers');}xn+=nt.length;}return en;};function fe(te,F){if(j.isBuffer(te)){return te.length;}if(ArrayBuffer.isView(te)||Rn(te,ArrayBuffer)){return te.byteLength;}if(typeof te!=="string"){throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof te);}const q=te.length,Pe=arguments.length>2&&arguments[2]===!0;if(!Pe&&q===0){return 0;}let en=!1;for(;;){switch(F){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return ge(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q*2;case"hex":return q>>>1;case"base64":return Dn(te).length;default:if(en){return Pe?-1:ge(te).length;}F=(""+F).toLowerCase(),en=!0;}}}j.byteLength=fe;function Ce(te,F,q){let Pe=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0,F>>>=0,q<=F)){return"";}for(te||(te="utf8");;){switch(te){case"hex":return Rt(this,F,q);case"utf8":case"utf-8":return cn(this,F,q);case"ascii":return Jn(this,F,q);case"latin1":case"binary":return ot(this,F,q);case"base64":return V(this,F,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oi(this,F,q);default:if(Pe){throw new TypeError("Unknown encoding: "+te);}te=(te+"").toLowerCase(),Pe=!0;}}}j.prototype._isBuffer=!0;function gn(te,F,q){const Pe=te[F];te[F]=te[q],te[q]=Pe;}j.prototype.swap16=function(){const F=this.length;if(F%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits");}for(let q=0;qq&&(F+=" ... "),"";},g&&(j.prototype[g]=j.prototype.inspect),j.prototype.compare=function(F,q,Pe,en,xn){if(Rn(F,Uint8Array)&&(F=j.from(F,F.offset,F.byteLength)),!j.isBuffer(F)){throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof F);}if(q===void 0&&(q=0),Pe===void 0&&(Pe=F?F.length:0),en===void 0&&(en=0),xn===void 0&&(xn=this.length),q<0||Pe>F.length||en<0||xn>this.length){throw new RangeError("out of range index");}if(en>=xn&&q>=Pe){return 0;}if(en>=xn){return-1;}if(q>=Pe){return 1;}if(q>>>=0,Pe>>>=0,en>>>=0,xn>>>=0,this===F){return 0;}let nt=xn-en,sc=Pe-q;const Fu=Math.min(nt,sc),$c=this.slice(en,xn),ko=F.slice(q,Pe);for(let Ko=0;Ko2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),q=+q,ei(q)&&(q=en?0:te.length-1),q<0&&(q=te.length+q),q>=te.length){if(en){return-1;}q=te.length-1;}else if(q<0){if(en){q=0;}else {return-1;}}if(typeof F==="string"&&(F=j.from(F,Pe)),j.isBuffer(F)){return F.length===0?-1:jt(te,F,q,Pe,en);}if(typeof F==="number"){return F=F&255,typeof Uint8Array.prototype.indexOf==="function"?en?Uint8Array.prototype.indexOf.call(te,F,q):Uint8Array.prototype.lastIndexOf.call(te,F,q):jt(te,[F],q,Pe,en);}throw new TypeError("val must be string, number or Buffer");}function jt(te,F,q,Pe,en){let xn=1,nt=te.length,sc=F.length;if(Pe!==void 0&&(Pe=String(Pe).toLowerCase(),Pe==="ucs2"||Pe==="ucs-2"||Pe==="utf16le"||Pe==="utf-16le")){if(te.length<2||F.length<2){return-1;}xn=2,nt/=2,sc/=2,q/=2;}function Fu(ko,Ko){return xn===1?ko[Ko]:ko.readUInt16BE(Ko*xn);}let $c;if(en){let ko=-1;for($c=q;$cnt&&(q=nt-sc),$c=q;$c>=0;$c--){let ko=!0;for(let Ko=0;Koen&&(Pe=en)):Pe=en;const xn=F.length;Pe>xn/2&&(Pe=xn/2);let nt;for(nt=0;nt>>0,isFinite(Pe)?(Pe=Pe>>>0,en===void 0&&(en="utf8")):(en=Pe,Pe=void 0);}else {throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");}const xn=this.length-q;if((Pe===void 0||Pe>xn)&&(Pe=xn),F.length>0&&(Pe<0||q<0)||q>this.length){throw new RangeError("Attempt to write outside buffer bounds");}en||(en="utf8");let nt=!1;for(;;){switch(en){case"hex":return ft(this,F,q,Pe);case"utf8":case"utf-8":return gt(this,F,q,Pe);case"ascii":case"latin1":case"binary":return Ct(this,F,q,Pe);case"base64":return ii(this,F,q,Pe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sn(this,F,q,Pe);default:if(nt){throw new TypeError("Unknown encoding: "+en);}en=(""+en).toLowerCase(),nt=!0;}}},j.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)};};function V(te,F,q){return F===0&&q===te.length?a.fromByteArray(te):a.fromByteArray(te.slice(F,q));}function cn(te,F,q){q=Math.min(te.length,q);const Pe=[];let en=F;for(;en239?4:xn>223?3:xn>191?2:1;if(en+sc<=q){let Fu,$c,ko,Ko;switch(sc){case 1:xn<128&&(nt=xn);break;case 2:Fu=te[en+1],(Fu&192)===128&&(Ko=(xn&31)<<6|Fu&63,Ko>127&&(nt=Ko));break;case 3:Fu=te[en+1],$c=te[en+2],(Fu&192)===128&&($c&192)===128&&(Ko=(xn&15)<<12|(Fu&63)<<6|$c&63,Ko>2047&&(Ko<55296||Ko>57343)&&(nt=Ko));break;case 4:Fu=te[en+1],$c=te[en+2],ko=te[en+3],(Fu&192)===128&&($c&192)===128&&(ko&192)===128&&(Ko=(xn&15)<<18|(Fu&63)<<12|($c&63)<<6|ko&63,Ko>65535&&Ko<1114112&&(nt=Ko));}}nt===null?(nt=65533,sc=1):nt>65535&&(nt-=65536,Pe.push(nt>>>10&1023|55296),nt=56320|nt&1023),Pe.push(nt),en+=sc;}return _n(Pe);}const et=4096;function _n(te){const F=te.length;if(F<=et){return String.fromCharCode.apply(String,te);}let q="",Pe=0;for(;PePe)&&(q=Pe);let en="";for(let xn=F;xnPe&&(F=Pe),q<0?(q+=Pe,q<0&&(q=0)):q>Pe&&(q=Pe),qq){throw new RangeError("Trying to access beyond buffer length");}}j.prototype.readUintLE=j.prototype.readUIntLE=function(F,q,Pe){F=F>>>0,q=q>>>0,Pe||Ft(F,q,this.length);let en=this[F],xn=1,nt=0;for(;++nt>>0,q=q>>>0,Pe||Ft(F,q,this.length);let en=this[F+--q],xn=1;for(;q>0&&(xn*=256);){en+=this[F+--q]*xn;}return en;},j.prototype.readUint8=j.prototype.readUInt8=function(F,q){return F=F>>>0,q||Ft(F,1,this.length),this[F];},j.prototype.readUint16LE=j.prototype.readUInt16LE=function(F,q){return F=F>>>0,q||Ft(F,2,this.length),this[F]|this[F+1]<<8;},j.prototype.readUint16BE=j.prototype.readUInt16BE=function(F,q){return F=F>>>0,q||Ft(F,2,this.length),this[F]<<8|this[F+1];},j.prototype.readUint32LE=j.prototype.readUInt32LE=function(F,q){return F=F>>>0,q||Ft(F,4,this.length),(this[F]|this[F+1]<<8|this[F+2]<<16)+this[F+3]*16777216;},j.prototype.readUint32BE=j.prototype.readUInt32BE=function(F,q){return F=F>>>0,q||Ft(F,4,this.length),this[F]*16777216+(this[F+1]<<16|this[F+2]<<8|this[F+3]);},j.prototype.readBigUInt64LE=$t(function(F){F=F>>>0,ue(F,"offset");const q=this[F],Pe=this[F+7];(q===void 0||Pe===void 0)&&W(F,this.length-8);const en=q+this[++F]*2**8+this[++F]*2**16+this[++F]*2**24,xn=this[++F]+this[++F]*2**8+this[++F]*2**16+Pe*2**24;return BigInt(en)+(BigInt(xn)<>>0,ue(F,"offset");const q=this[F],Pe=this[F+7];(q===void 0||Pe===void 0)&&W(F,this.length-8);const en=q*2**24+this[++F]*2**16+this[++F]*2**8+this[++F],xn=this[++F]*2**24+this[++F]*2**16+this[++F]*2**8+Pe;return(BigInt(en)<>>0,q=q>>>0,Pe||Ft(F,q,this.length);let en=this[F],xn=1,nt=0;for(;++nt=xn&&(en-=Math.pow(2,8*q)),en;},j.prototype.readIntBE=function(F,q,Pe){F=F>>>0,q=q>>>0,Pe||Ft(F,q,this.length);let en=q,xn=1,nt=this[F+--en];for(;en>0&&(xn*=256);){nt+=this[F+--en]*xn;}return xn*=128,nt>=xn&&(nt-=Math.pow(2,8*q)),nt;},j.prototype.readInt8=function(F,q){return F=F>>>0,q||Ft(F,1,this.length),this[F]&128?(255-this[F]+1)*-1:this[F];},j.prototype.readInt16LE=function(F,q){F=F>>>0,q||Ft(F,2,this.length);const Pe=this[F]|this[F+1]<<8;return Pe&32768?Pe|4294901760:Pe;},j.prototype.readInt16BE=function(F,q){F=F>>>0,q||Ft(F,2,this.length);const Pe=this[F+1]|this[F]<<8;return Pe&32768?Pe|4294901760:Pe;},j.prototype.readInt32LE=function(F,q){return F=F>>>0,q||Ft(F,4,this.length),this[F]|this[F+1]<<8|this[F+2]<<16|this[F+3]<<24;},j.prototype.readInt32BE=function(F,q){return F=F>>>0,q||Ft(F,4,this.length),this[F]<<24|this[F+1]<<16|this[F+2]<<8|this[F+3];},j.prototype.readBigInt64LE=$t(function(F){F=F>>>0,ue(F,"offset");const q=this[F],Pe=this[F+7];(q===void 0||Pe===void 0)&&W(F,this.length-8);const en=this[F+4]+this[F+5]*2**8+this[F+6]*2**16+(Pe<<24);return(BigInt(en)<>>0,ue(F,"offset");const q=this[F],Pe=this[F+7];(q===void 0||Pe===void 0)&&W(F,this.length-8);const en=(q<<24)+this[++F]*2**16+this[++F]*2**8+this[++F];return(BigInt(en)<>>0,q||Ft(F,4,this.length),w.read(this,F,!0,23,4);},j.prototype.readFloatBE=function(F,q){return F=F>>>0,q||Ft(F,4,this.length),w.read(this,F,!1,23,4);},j.prototype.readDoubleLE=function(F,q){return F=F>>>0,q||Ft(F,8,this.length),w.read(this,F,!0,52,8);},j.prototype.readDoubleBE=function(F,q){return F=F>>>0,q||Ft(F,8,this.length),w.read(this,F,!1,52,8);};function gi(te,F,q,Pe,en,xn){if(!j.isBuffer(te)){throw new TypeError('"buffer" argument must be a Buffer instance');}if(F>en||Fte.length){throw new RangeError("Index out of range");}}j.prototype.writeUintLE=j.prototype.writeUIntLE=function(F,q,Pe,en){if(F=+F,q=q>>>0,Pe=Pe>>>0,!en){const sc=Math.pow(2,8*Pe)-1;gi(this,F,q,Pe,sc,0);}let xn=1,nt=0;for(this[q]=F&255;++nt>>0,Pe=Pe>>>0,!en){const sc=Math.pow(2,8*Pe)-1;gi(this,F,q,Pe,sc,0);}let xn=Pe-1,nt=1;for(this[q+xn]=F&255;--xn>=0&&(nt*=256);){this[q+xn]=F/nt&255;}return q+Pe;},j.prototype.writeUint8=j.prototype.writeUInt8=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,1,255,0),this[q]=F&255,q+1;},j.prototype.writeUint16LE=j.prototype.writeUInt16LE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,2,65535,0),this[q]=F&255,this[q+1]=F>>>8,q+2;},j.prototype.writeUint16BE=j.prototype.writeUInt16BE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,2,65535,0),this[q]=F>>>8,this[q+1]=F&255,q+2;},j.prototype.writeUint32LE=j.prototype.writeUInt32LE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,4,4294967295,0),this[q+3]=F>>>24,this[q+2]=F>>>16,this[q+1]=F>>>8,this[q]=F&255,q+4;},j.prototype.writeUint32BE=j.prototype.writeUInt32BE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,4,4294967295,0),this[q]=F>>>24,this[q+1]=F>>>16,this[q+2]=F>>>8,this[q+3]=F&255,q+4;};function di(te,F,q,Pe,en){ye(F,Pe,en,te,q,7);let xn=Number(F&BigInt(4294967295));te[q++]=xn,xn=xn>>8,te[q++]=xn,xn=xn>>8,te[q++]=xn,xn=xn>>8,te[q++]=xn;let nt=Number(F>>BigInt(32)&BigInt(4294967295));return te[q++]=nt,nt=nt>>8,te[q++]=nt,nt=nt>>8,te[q++]=nt,nt=nt>>8,te[q++]=nt,q;}function wi(te,F,q,Pe,en){ye(F,Pe,en,te,q,7);let xn=Number(F&BigInt(4294967295));te[q+7]=xn,xn=xn>>8,te[q+6]=xn,xn=xn>>8,te[q+5]=xn,xn=xn>>8,te[q+4]=xn;let nt=Number(F>>BigInt(32)&BigInt(4294967295));return te[q+3]=nt,nt=nt>>8,te[q+2]=nt,nt=nt>>8,te[q+1]=nt,nt=nt>>8,te[q]=nt,q+8;}j.prototype.writeBigUInt64LE=$t(function(F,q=0){return di(this,F,q,BigInt(0),BigInt("0xffffffffffffffff"));}),j.prototype.writeBigUInt64BE=$t(function(F,q=0){return wi(this,F,q,BigInt(0),BigInt("0xffffffffffffffff"));}),j.prototype.writeIntLE=function(F,q,Pe,en){if(F=+F,q=q>>>0,!en){const Fu=Math.pow(2,8*Pe-1);gi(this,F,q,Pe,Fu-1,-Fu);}let xn=0,nt=1,sc=0;for(this[q]=F&255;++xn>0)-sc&255;}return q+Pe;},j.prototype.writeIntBE=function(F,q,Pe,en){if(F=+F,q=q>>>0,!en){const Fu=Math.pow(2,8*Pe-1);gi(this,F,q,Pe,Fu-1,-Fu);}let xn=Pe-1,nt=1,sc=0;for(this[q+xn]=F&255;--xn>=0&&(nt*=256);){F<0&&sc===0&&this[q+xn+1]!==0&&(sc=1),this[q+xn]=(F/nt>>0)-sc&255;}return q+Pe;},j.prototype.writeInt8=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,1,127,-128),F<0&&(F=255+F+1),this[q]=F&255,q+1;},j.prototype.writeInt16LE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,2,32767,-32768),this[q]=F&255,this[q+1]=F>>>8,q+2;},j.prototype.writeInt16BE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,2,32767,-32768),this[q]=F>>>8,this[q+1]=F&255,q+2;},j.prototype.writeInt32LE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,4,2147483647,-2147483648),this[q]=F&255,this[q+1]=F>>>8,this[q+2]=F>>>16,this[q+3]=F>>>24,q+4;},j.prototype.writeInt32BE=function(F,q,Pe){return F=+F,q=q>>>0,Pe||gi(this,F,q,4,2147483647,-2147483648),F<0&&(F=4294967295+F+1),this[q]=F>>>24,this[q+1]=F>>>16,this[q+2]=F>>>8,this[q+3]=F&255,q+4;},j.prototype.writeBigInt64LE=$t(function(F,q=0){return di(this,F,q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"));}),j.prototype.writeBigInt64BE=$t(function(F,q=0){return wi(this,F,q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"));});function Ai(te,F,q,Pe,en,xn){if(q+Pe>te.length){throw new RangeError("Index out of range");}if(q<0){throw new RangeError("Index out of range");}}function an(te,F,q,Pe,en){return F=+F,q=q>>>0,en||Ai(te,F,q,4),w.write(te,F,q,Pe,23,4),q+4;}j.prototype.writeFloatLE=function(F,q,Pe){return an(this,F,q,!0,Pe);},j.prototype.writeFloatBE=function(F,q,Pe){return an(this,F,q,!1,Pe);};function on(te,F,q,Pe,en){return F=+F,q=q>>>0,en||Ai(te,F,q,8),w.write(te,F,q,Pe,52,8),q+8;}j.prototype.writeDoubleLE=function(F,q,Pe){return on(this,F,q,!0,Pe);},j.prototype.writeDoubleBE=function(F,q,Pe){return on(this,F,q,!1,Pe);},j.prototype.copy=function(F,q,Pe,en){if(!j.isBuffer(F)){throw new TypeError("argument should be a Buffer");}if(Pe||(Pe=0),!en&&en!==0&&(en=this.length),q>=F.length&&(q=F.length),q||(q=0),en>0&&en=this.length){throw new RangeError("Index out of range");}if(en<0){throw new RangeError("sourceEnd out of bounds");}en>this.length&&(en=this.length),F.length-q>>0,Pe=Pe===void 0?this.length:Pe>>>0,F||(F=0);let xn;if(typeof F==="number"){for(xn=q;xn2**32?en=ui(String(q)):typeof q==="bigint"&&(en=String(q),(q>BigInt(2)**BigInt(32)||q<-(BigInt(2)**BigInt(32)))&&(en=ui(en)),en+="n"),Pe+=` It must be ${F}. Received ${en}`,Pe;},RangeError);function ui(te){let F="",q=te.length;const Pe=te[0]==="-"?1:0;for(;q>=Pe+4;q-=3){F=`_${te.slice(q-3,q)}${F}`;}return`${te.slice(0,q)}${F}`;}function me(te,F,q){ue(F,"offset"),(te[F]===void 0||te[F+q]===void 0)&&W(F,te.length-(q+1));}function ye(te,F,q,Pe,en,xn){if(te>q||te= 0${nt} and < 2${nt} ** ${(xn+1)*8}${nt}`:sc=`>= -(2${nt} ** ${(xn+1)*8-1}${nt}) and < 2 ** ${(xn+1)*8-1}${nt}`,new Qn.ERR_OUT_OF_RANGE("value",sc,te);}me(Pe,en,xn);}function ue(te,F){if(typeof te!=="number"){throw new Qn.ERR_INVALID_ARG_TYPE(F,"number",te);}}function W(te,F,q){throw Math.floor(te)!==te?(ue(te,q),new Qn.ERR_OUT_OF_RANGE("offset","an integer",te)):F<0?new Qn.ERR_BUFFER_OUT_OF_BOUNDS:new Qn.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${F}`,te);}const ie=/[^+/0-9A-Za-z-_]/g;function se(te){if(te=te.split("=")[0],te=te.trim().replace(ie,""),te.length<2){return"";}for(;te.length%4!==0;){te=te+"=";}return te;}function ge(te,F){F=F||1/0;let q;const Pe=te.length;let en=null;const xn=[];for(let nt=0;nt55295&&q<57344){if(!en){if(q>56319){(F-=3)>-1&&xn.push(239,191,189);continue;}else if(nt+1===Pe){(F-=3)>-1&&xn.push(239,191,189);continue;}en=q;continue;}if(q<56320){(F-=3)>-1&&xn.push(239,191,189),en=q;continue;}q=(en-55296<<10|q-56320)+65536;}else {en&&(F-=3)>-1&&xn.push(239,191,189);}if(en=null,q<128){if((F-=1)<0){break;}xn.push(q);}else if(q<2048){if((F-=2)<0){break;}xn.push(q>>6|192,q&63|128);}else if(q<65536){if((F-=3)<0){break;}xn.push(q>>12|224,q>>6&63|128,q&63|128);}else if(q<1114112){if((F-=4)<0){break;}xn.push(q>>18|240,q>>12&63|128,q>>6&63|128,q&63|128);}else {throw new Error("Invalid code point");}}return xn;}function Fe(te){const F=[];for(let q=0;q>8,en=q%256,xn.push(en),xn.push(Pe);}return xn;}function Dn(te){return a.toByteArray(se(te));}function zn(te,F,q,Pe){let en;for(en=0;en=F.length||en>=te.length);++en){F[en+q]=te[en];}return en;}function Rn(te,F){return te instanceof F||te!=null&&te.constructor!=null&&te.constructor.name!=null&&te.constructor.name===F.name;}function ei(te){return te!==te;}const Yn=function(){const te="0123456789abcdef",F=new Array(256);for(let q=0;q<16;++q){const Pe=q*16;for(let en=0;en<16;++en){F[Pe+en]=te[q]+te[en];}}return F;}();function $t(te){return typeof BigInt>"u"?Ti:te;}function Ti(){throw new Error("BigInt not supported");}})(K$);const NYn={},OYn=Object.freeze(Object.defineProperty({__proto__:null,default:NYn},Symbol.toStringTag,{value:"Module"})),Yve=pYn(OYn);var wme,Pwn;function AYn(){if(Pwn){return wme;}Pwn=1;function l(Y,Ie){var Me=Object.keys(Y);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(Y);Ie&&(oe=oe.filter(function(ke){return Object.getOwnPropertyDescriptor(Y,ke).enumerable;})),Me.push.apply(Me,oe);}return Me;}function a(Y){for(var Ie=1;Ie0?this.tail.next=oe:this.head=oe,this.tail=oe,++this.length;}},{key:"unshift",value:function(Me){var oe={data:Me,next:this.head};this.length===0&&(this.tail=oe),this.head=oe,++this.length;}},{key:"shift",value:function(){if(this.length!==0){var Me=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Me;}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0;}},{key:"join",value:function(Me){if(this.length===0){return"";}for(var oe=this.head,ke=""+oe.data;oe=oe.next;){ke+=Me+oe.data;}return ke;}},{key:"concat",value:function(Me){if(this.length===0){return $.alloc(0);}for(var oe=$.allocUnsafe(Me>>>0),ke=this.head,fe=0;ke;){ee(ke.data,oe,fe),fe+=ke.data.length,ke=ke.next;}return oe;}},{key:"consume",value:function(Me,oe){var ke;return MeCe.length?Ce.length:Me;if(gn===Ce.length?fe+=Ce:fe+=Ce.slice(0,Me),Me-=gn,Me===0){gn===Ce.length?(++ke,oe.next?this.head=oe.next:this.head=this.tail=null):(this.head=oe,oe.data=Ce.slice(gn));break;}++ke;}return this.length-=ke,fe;}},{key:"_getBuffer",value:function(Me){var oe=$.allocUnsafe(Me),ke=this.head,fe=1;for(ke.data.copy(oe),Me-=ke.data.length;ke=ke.next;){var Ce=ke.data,gn=Me>Ce.length?Ce.length:Me;if(Ce.copy(oe,oe.length-Me,0,gn),Me-=gn,Me===0){gn===Ce.length?(++fe,ke.next?this.head=ke.next:this.head=this.tail=null):(this.head=ke,ke.data=Ce.slice(gn));break;}++fe;}return this.length-=fe,oe;}},{key:Q,value:function(Me,oe){return K(this,a(a({},oe),{},{depth:0,customInspect:!1}));}}]),Y;}(),wme;}function $Yn(l,a){var w=this,g=this._readableState&&this._readableState.destroyed,v=this._writableState&&this._writableState.destroyed;return g||v?(a?a(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(rve,this,l)):process.nextTick(rve,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(_){!a&&_?w._writableState?w._writableState.errorEmitted?process.nextTick(hX,w):(w._writableState.errorEmitted=!0,process.nextTick(Nwn,w,_)):process.nextTick(Nwn,w,_):a?(process.nextTick(hX,w),a(_)):process.nextTick(hX,w);}),this);}function Nwn(l,a){rve(l,a),hX(l);}function hX(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close");}function LYn(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1);}function rve(l,a){l.emit("error",a);}function DYn(l,a){var w=l._readableState,g=l._writableState;w&&w.autoDestroy||g&&g.autoDestroy?l.destroy(a):l.emit("error",a);}var Bpn={destroy:$Yn,undestroy:LYn,errorOrDestroy:DYn},J9={};function RYn(l,a){l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.__proto__=a;}var Fpn={};function Eg(l,a,w){w||(w=Error);function g(_,p,j){return typeof a==="string"?a:a(_,p,j);}var v=function(_){RYn(p,_);function p(j,C,$){return _.call(this,g(j,C,$))||this;}return p;}(w);v.prototype.name=w.name,v.prototype.code=l,Fpn[l]=v;}function Own(l,a){if(Array.isArray(l)){var w=l.length;return l=l.map(function(g){return String(g);}),w>2?"one of ".concat(a," ").concat(l.slice(0,w-1).join(", "),", or ")+l[w-1]:w===2?"one of ".concat(a," ").concat(l[0]," or ").concat(l[1]):"of ".concat(a," ").concat(l[0]);}else {return"of ".concat(a," ").concat(String(l));}}function BYn(l,a,w){return l.substr(0,a.length)===a;}function FYn(l,a,w){return(w===void 0||w>l.length)&&(w=l.length),l.substring(w-a.length,w)===a;}function KYn(l,a,w){return typeof w!=="number"&&(w=0),w+a.length>l.length?!1:l.indexOf(a,w)!==-1;}Eg("ERR_INVALID_OPT_VALUE",function(l,a){return'The value "'+a+'" is invalid for option "'+l+'"';},TypeError);Eg("ERR_INVALID_ARG_TYPE",function(l,a,w){var g;typeof a==="string"&&BYn(a,"not ")?(g="must not be",a=a.replace(/^not /,"")):g="must be";var v;if(FYn(l," argument")){v="The ".concat(l," ").concat(g," ").concat(Own(a,"type"));}else{var _=KYn(l,".")?"property":"argument";v='The "'.concat(l,'" ').concat(_," ").concat(g," ").concat(Own(a,"type"));}return v+=". Received type ".concat(typeof w),v;},TypeError);Eg("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Eg("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented";});Eg("ERR_STREAM_PREMATURE_CLOSE","Premature close");Eg("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed";});Eg("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Eg("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Eg("ERR_STREAM_WRITE_AFTER_END","write after end");Eg("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Eg("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l;},TypeError);Eg("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");J9.codes=Fpn;var HYn=J9.codes.ERR_INVALID_OPT_VALUE;function qYn(l,a,w){return l.highWaterMark!=null?l.highWaterMark:a?l[w]:null;}function UYn(l,a,w,g){var v=qYn(a,g,w);if(v!=null){if(!(isFinite(v)&&Math.floor(v)===v)||v<0){var _=g?w:"highWaterMark";throw new HYn(_,v);}return Math.floor(v);}return l.objectMode?16:16*1024;}var Kpn={getHighWaterMark:UYn},cve={exports:{}};typeof Object.create==="function"?cve.exports=function(a,w){w&&(a.super_=w,a.prototype=Object.create(w.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}));}:cve.exports=function(a,w){if(w){a.super_=w;var g=function(){};g.prototype=w.prototype,a.prototype=new g,a.prototype.constructor=a;}};var H$=cve.exports,GYn=zYn;function zYn(l,a){if(bme("noDeprecation")){return l;}var w=!1;function g(){if(!w){if(bme("throwDeprecation")){throw new Error(a);}bme("traceDeprecation")?console.trace(a):console.warn(a),w=!0;}return l.apply(this,arguments);}return g;}function bme(l){try{if(!window.localStorage){return!1;}}catch{return!1;}var a=window.localStorage[l];return a==null?!1:String(a).toLowerCase()==="true";}var gme,Awn;function Hpn(){if(Awn){return gme;}Awn=1,gme=ft;function l(an){var on=this;this.next=null,this.entry=null,this.finish=function(){Ai(on,an);};}var a;ft.WritableState=rt;var w={deprecate:GYn},g=Dpn,v=K$.Buffer,_=(typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function p(an){return v.from(an);}function j(an){return v.isBuffer(an)||an instanceof _;}var C=Bpn,$=Kpn,A=$.getHighWaterMark,K=J9.codes,Q=K.ERR_INVALID_ARG_TYPE,ee=K.ERR_METHOD_NOT_IMPLEMENTED,Y=K.ERR_MULTIPLE_CALLBACK,Ie=K.ERR_STREAM_CANNOT_PIPE,Me=K.ERR_STREAM_DESTROYED,oe=K.ERR_STREAM_NULL_VALUES,ke=K.ERR_STREAM_WRITE_AFTER_END,fe=K.ERR_UNKNOWN_ENCODING,Ce=C.errorOrDestroy;H$(ft,g);function gn(){}function rt(an,on,Qn){a=a||GT(),an=an||{},typeof Qn!=="boolean"&&(Qn=on instanceof a),this.objectMode=!!an.objectMode,Qn&&(this.objectMode=this.objectMode||!!an.writableObjectMode),this.highWaterMark=A(this,an,"writableHighWaterMark",Qn),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var At=an.decodeStrings===!1;this.decodeStrings=!At,this.defaultEncoding=an.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ui){_n(on,ui);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=an.emitClose!==!1,this.autoDestroy=!!an.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new l(this);}rt.prototype.getBuffer=function(){for(var on=this.bufferedRequest,Qn=[];on;){Qn.push(on),on=on.next;}return Qn;},function(){try{Object.defineProperty(rt.prototype,"buffer",{get:w.deprecate(function(){return this.getBuffer();},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}}();var jt;typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"?(jt=Function.prototype[Symbol.hasInstance],Object.defineProperty(ft,Symbol.hasInstance,{value:function(on){return jt.call(this,on)?!0:this!==ft?!1:on&&on._writableState instanceof rt;}})):jt=function(on){return on instanceof this;};function ft(an){a=a||GT();var on=this instanceof a;if(!on&&!jt.call(ft,this)){return new ft(an);}this._writableState=new rt(an,this,on),this.writable=!0,an&&(typeof an.write==="function"&&(this._write=an.write),typeof an.writev==="function"&&(this._writev=an.writev),typeof an.destroy==="function"&&(this._destroy=an.destroy),typeof an.final==="function"&&(this._final=an.final)),g.call(this);}ft.prototype.pipe=function(){Ce(this,new Ie);};function gt(an,on){var Qn=new ke;Ce(an,Qn),process.nextTick(on,Qn);}function Ct(an,on,Qn,At){var ui;return Qn===null?ui=new oe:typeof Qn!=="string"&&!on.objectMode&&(ui=new Q("chunk",["string","Buffer"],Qn)),ui?(Ce(an,ui),process.nextTick(At,ui),!1):!0;}ft.prototype.write=function(an,on,Qn){var At=this._writableState,ui=!1,me=!At.objectMode&&j(an);return me&&!v.isBuffer(an)&&(an=p(an)),typeof on==="function"&&(Qn=on,on=null),me?on="buffer":on||(on=At.defaultEncoding),typeof Qn!=="function"&&(Qn=gn),At.ending?gt(this,Qn):(me||Ct(this,At,an,Qn))&&(At.pendingcb++,ui=Sn(this,At,me,an,on,Qn)),ui;},ft.prototype.cork=function(){this._writableState.corked++;},ft.prototype.uncork=function(){var an=this._writableState;an.corked&&(an.corked--,!an.writing&&!an.corked&&!an.bufferProcessing&&an.bufferedRequest&&Rt(this,an));},ft.prototype.setDefaultEncoding=function(on){if(typeof on==="string"&&(on=on.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((on+"").toLowerCase())>-1)){throw new fe(on);}return this._writableState.defaultEncoding=on,this;},Object.defineProperty(ft.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer();}});function ii(an,on,Qn){return!an.objectMode&&an.decodeStrings!==!1&&typeof on==="string"&&(on=v.from(on,Qn)),on;}Object.defineProperty(ft.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark;}});function Sn(an,on,Qn,At,ui,me){if(!Qn){var ye=ii(on,At,ui);At!==ye&&(Qn=!0,ui="buffer",At=ye);}var ue=on.objectMode?1:At.length;on.length+=ue;var W=on.length */var Lwn;function VYn(){return Lwn||(Lwn=1,function(l,a){var w=K$,g=w.Buffer;function v(p,j){for(var C in p){j[C]=p[C];}}g.from&&g.alloc&&g.allocUnsafe&&g.allocUnsafeSlow?l.exports=w:(v(w,a),a.Buffer=_);function _(p,j,C){return g(p,j,C);}_.prototype=Object.create(g.prototype),v(g,_),_.from=function(p,j,C){if(typeof p==="number"){throw new TypeError("Argument must not be a number");}return g(p,j,C);},_.alloc=function(p,j,C){if(typeof p!=="number"){throw new TypeError("Argument must be a number");}var $=g(p);return j!==void 0?typeof C==="string"?$.fill(j,C):$.fill(j):$.fill(0),$;},_.allocUnsafe=function(p){if(typeof p!=="number"){throw new TypeError("Argument must be a number");}return g(p);},_.allocUnsafeSlow=function(p){if(typeof p!=="number"){throw new TypeError("Argument must be a number");}return w.SlowBuffer(p);};}(XW,XW.exports)),XW.exports;}var Dwn;function Rwn(){if(Dwn){return mme;}Dwn=1;var l=VYn().Buffer,a=l.isEncoding||function(oe){switch(oe=""+oe,oe&&oe.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1;}};function w(oe){if(!oe){return"utf8";}for(var ke;;){switch(oe){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return oe;default:if(ke){return;}oe=(""+oe).toLowerCase(),ke=!0;}}}function g(oe){var ke=w(oe);if(typeof ke!=="string"&&(l.isEncoding===a||!a(oe))){throw new Error("Unknown encoding: "+oe);}return ke||oe;}mme.StringDecoder=v;function v(oe){this.encoding=g(oe);var ke;switch(this.encoding){case"utf16le":this.text=K,this.end=Q,ke=4;break;case"utf8":this.fillLast=C,ke=4;break;case"base64":this.text=ee,this.end=Y,ke=3;break;default:this.write=Ie,this.end=Me;return;}this.lastNeed=0,this.lastTotal=0,this.lastChar=l.allocUnsafe(ke);}v.prototype.write=function(oe){if(oe.length===0){return"";}var ke,fe;if(this.lastNeed){if(ke=this.fillLast(oe),ke===void 0){return"";}fe=this.lastNeed,this.lastNeed=0;}else {fe=0;}return fe>5===6?2:oe>>4===14?3:oe>>3===30?4:oe>>6===2?-1:-2;}function p(oe,ke,fe){var Ce=ke.length-1;if(Ce=0?(gn>0&&(oe.lastNeed=gn-1),gn):--Ce=0?(gn>0&&(oe.lastNeed=gn-2),gn):--Ce=0?(gn>0&&(gn===2?gn=0:oe.lastNeed=gn-3),gn):0));}function j(oe,ke,fe){if((ke[0]&192)!==128){return oe.lastNeed=0,"�";}if(oe.lastNeed>1&&ke.length>1){if((ke[1]&192)!==128){return oe.lastNeed=1,"�";}if(oe.lastNeed>2&&ke.length>2&&(ke[2]&192)!==128){return oe.lastNeed=2,"�";}}}function C(oe){var ke=this.lastTotal-this.lastNeed,fe=j(this,oe);if(fe!==void 0){return fe;}if(this.lastNeed<=oe.length){return oe.copy(this.lastChar,ke,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);}oe.copy(this.lastChar,ke,0,oe.length),this.lastNeed-=oe.length;}function $(oe,ke){var fe=p(this,oe,ke);if(!this.lastNeed){return oe.toString("utf8",ke);}this.lastTotal=fe;var Ce=oe.length-(fe-this.lastNeed);return oe.copy(this.lastChar,0,Ce),oe.toString("utf8",ke,Ce);}function A(oe){var ke=oe&&oe.length?this.write(oe):"";return this.lastNeed?ke+"�":ke;}function K(oe,ke){if((oe.length-ke)%2===0){var fe=oe.toString("utf16le",ke);if(fe){var Ce=fe.charCodeAt(fe.length-1);if(Ce>=55296&&Ce<=56319){return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=oe[oe.length-2],this.lastChar[1]=oe[oe.length-1],fe.slice(0,-1);}}return fe;}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=oe[oe.length-1],oe.toString("utf16le",ke,oe.length-1);}function Q(oe){var ke=oe&&oe.length?this.write(oe):"";if(this.lastNeed){var fe=this.lastTotal-this.lastNeed;return ke+this.lastChar.toString("utf16le",0,fe);}return ke;}function ee(oe,ke){var fe=(oe.length-ke)%3;return fe===0?oe.toString("base64",ke):(this.lastNeed=3-fe,this.lastTotal=3,fe===1?this.lastChar[0]=oe[oe.length-1]:(this.lastChar[0]=oe[oe.length-2],this.lastChar[1]=oe[oe.length-1]),oe.toString("base64",ke,oe.length-fe));}function Y(oe){var ke=oe&&oe.length?this.write(oe):"";return this.lastNeed?ke+this.lastChar.toString("base64",0,3-this.lastNeed):ke;}function Ie(oe){return oe.toString(this.encoding);}function Me(oe){return oe&&oe.length?this.write(oe):"";}return mme;}var Bwn=J9.codes.ERR_STREAM_PREMATURE_CLOSE;function WYn(l){var a=!1;return function(){if(!a){a=!0;for(var w=arguments.length,g=new Array(w),v=0;v0){if(typeof ye!=="string"&&!se.objectMode&&Object.getPrototypeOf(ye)!==g.prototype&&(ye=_(ye)),W){se.endEmitted?gn(me,new oe):ii(me,se,ye,!0);}else if(se.ended){gn(me,new Ie);}else{if(se.destroyed){return!1;}se.reading=!1,se.decoder&&!ue?(ye=se.decoder.write(ye),se.objectMode||ye.length!==0?ii(me,se,ye,!1):Rt(me,se)):ii(me,se,ye,!1);}}else {W||(se.reading=!1,Rt(me,se));}}return!se.ended&&(se.length=V?me=V:(me--,me|=me>>>1,me|=me>>>2,me|=me>>>4,me|=me>>>8,me|=me>>>16,me++),me;}function et(me,ye){return me<=0||ye.length===0&&ye.ended?0:ye.objectMode?1:me!==me?ye.flowing&&ye.length?ye.buffer.head.data.length:ye.length:(me>ye.highWaterMark&&(ye.highWaterMark=cn(me)),me<=ye.length?me:ye.ended?ye.length:(ye.needReadable=!0,0));}gt.prototype.read=function(me){C("read",me),me=parseInt(me,10);var ye=this._readableState,ue=me;if(me!==0&&(ye.emittedReadable=!1),me===0&&ye.needReadable&&((ye.highWaterMark!==0?ye.length>=ye.highWaterMark:ye.length>0)||ye.ended)){return C("read: emitReadable",ye.length,ye.ended),ye.length===0&&ye.ended?Qn(this):Jn(this),null;}if(me=et(me,ye),me===0&&ye.ended){return ye.length===0&&Qn(this),null;}var W=ye.needReadable;C("need readable",W),(ye.length===0||ye.length-me0?ie=on(me,ye):ie=null,ie===null?(ye.needReadable=ye.length<=ye.highWaterMark,me=0):(ye.length-=me,ye.awaitDrain=0),ye.length===0&&(ye.ended||(ye.needReadable=!0),ue!==me&&ye.ended&&Qn(this)),ie!==null&&this.emit("data",ie),ie;};function _n(me,ye){if(C("onEofChunk"),!ye.ended){if(ye.decoder){var ue=ye.decoder.end();ue&&ue.length&&(ye.buffer.push(ue),ye.length+=ye.objectMode?1:ue.length);}ye.ended=!0,ye.sync?Jn(me):(ye.needReadable=!1,ye.emittedReadable||(ye.emittedReadable=!0,ot(me)));}}function Jn(me){var ye=me._readableState;C("emitReadable",ye.needReadable,ye.emittedReadable),ye.needReadable=!1,ye.emittedReadable||(C("emitReadable",ye.flowing),ye.emittedReadable=!0,process.nextTick(ot,me));}function ot(me){var ye=me._readableState;C("emitReadable_",ye.destroyed,ye.length,ye.ended),!ye.destroyed&&(ye.length||ye.ended)&&(me.emit("readable"),ye.emittedReadable=!1),ye.needReadable=!ye.flowing&&!ye.ended&&ye.length<=ye.highWaterMark,an(me);}function Rt(me,ye){ye.readingMore||(ye.readingMore=!0,process.nextTick(oi,me,ye));}function oi(me,ye){for(;!ye.reading&&!ye.ended&&(ye.length1&&ui(W.pipes,me)!==-1)&&!Dn&&(C("false write response, pause",W.awaitDrain),W.awaitDrain++),ue.pause());}function ei(te){C("onerror",te),Ti(),me.removeListener("error",ei),a(me,"error")===0&&gn(me,te);}jt(me,"error",ei);function Yn(){me.removeListener("finish",$t),Ti();}me.once("close",Yn);function $t(){C("onfinish"),me.removeListener("close",Yn),Ti();}me.once("finish",$t);function Ti(){C("unpipe"),ue.unpipe(me);}return me.emit("pipe",ue),W.flowing||(C("pipe resume"),ue.resume()),me;};function Ft(me){return function(){var ue=me._readableState;C("pipeOnDrain",ue.awaitDrain),ue.awaitDrain&&ue.awaitDrain--,ue.awaitDrain===0&&a(me,"data")&&(ue.flowing=!0,an(me));};}gt.prototype.unpipe=function(me){var ye=this._readableState,ue={hasUnpiped:!1};if(ye.pipesCount===0){return this;}if(ye.pipesCount===1){return me&&me!==ye.pipes?this:(me||(me=ye.pipes),ye.pipes=null,ye.pipesCount=0,ye.flowing=!1,me&&me.emit("unpipe",this,ue),this);}if(!me){var W=ye.pipes,ie=ye.pipesCount;ye.pipes=null,ye.pipesCount=0,ye.flowing=!1;for(var se=0;se0,W.flowing!==!1&&this.resume()):me==="readable"&&!W.endEmitted&&!W.readableListening&&(W.readableListening=W.needReadable=!0,W.flowing=!1,W.emittedReadable=!1,C("on readable",W.length,W.reading),W.length?Jn(this):W.reading||process.nextTick(di,this)),ue;},gt.prototype.addListener=gt.prototype.on,gt.prototype.removeListener=function(me,ye){var ue=w.prototype.removeListener.call(this,me,ye);return me==="readable"&&process.nextTick(gi,this),ue;},gt.prototype.removeAllListeners=function(me){var ye=w.prototype.removeAllListeners.apply(this,arguments);return(me==="readable"||me===void 0)&&process.nextTick(gi,this),ye;};function gi(me){var ye=me._readableState;ye.readableListening=me.listenerCount("readable")>0,ye.resumeScheduled&&!ye.paused?ye.flowing=!0:me.listenerCount("data")>0&&me.resume();}function di(me){C("readable nexttick read 0"),me.read(0);}gt.prototype.resume=function(){var me=this._readableState;return me.flowing||(C("resume"),me.flowing=!me.readableListening,wi(this,me)),me.paused=!1,this;};function wi(me,ye){ye.resumeScheduled||(ye.resumeScheduled=!0,process.nextTick(Ai,me,ye));}function Ai(me,ye){C("resume",ye.reading),ye.reading||me.read(0),ye.resumeScheduled=!1,me.emit("resume"),an(me),ye.flowing&&!ye.reading&&me.read(0);}gt.prototype.pause=function(){return C("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(C("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this;};function an(me){var ye=me._readableState;for(C("flow",ye.flowing);ye.flowing&&me.read()!==null;){;}}gt.prototype.wrap=function(me){var ye=this,ue=this._readableState,W=!1;me.on("end",function(){if(C("wrapped end"),ue.decoder&&!ue.ended){var ge=ue.decoder.end();ge&&ge.length&&ye.push(ge);}ye.push(null);}),me.on("data",function(ge){if(C("wrapped data"),ue.decoder&&(ge=ue.decoder.write(ge)),!(ue.objectMode&&ge==null)&&!(!ue.objectMode&&(!ge||!ge.length))){var Fe=ye.push(ge);Fe||(W=!0,me.pause());}});for(var ie in me){this[ie]===void 0&&typeof me[ie]==="function"&&(this[ie]=function(Fe){return function(){return me[Fe].apply(me,arguments);};}(ie));}for(var se=0;se=ye.length?(ye.decoder?ue=ye.buffer.join(""):ye.buffer.length===1?ue=ye.buffer.first():ue=ye.buffer.concat(ye.length),ye.buffer.clear()):ue=ye.buffer.consume(me,ye.decoder),ue;}function Qn(me){var ye=me._readableState;C("endReadable",ye.endEmitted),ye.endEmitted||(ye.ended=!0,process.nextTick(At,ye,me));}function At(me,ye){if(C("endReadableNT",me.endEmitted,me.length),!me.endEmitted&&me.length===0&&(me.endEmitted=!0,ye.readable=!1,ye.emit("end"),me.autoDestroy)){var ue=ye._writableState;(!ue||ue.autoDestroy&&ue.finished)&&ye.destroy();}}typeof Symbol==="function"&&(gt.from=function(me,ye){return Ce===void 0&&(Ce=QYn()),Ce(gt,me,ye);});function ui(me,ye){for(var ue=0,W=me.length;ue0;return lJn(p,C,$,function(A){v||(v=A),A&&_.forEach(Gwn),!C&&(_.forEach(Gwn),g(v));});});return a.reduce(aJn);}var wJn=dJn;(function(l,a){a=l.exports=Upn(),a.Stream=a,a.Readable=a,a.Writable=Hpn(),a.Duplex=GT(),a.Transform=Gpn,a.PassThrough=cJn,a.finished=Jve,a.pipeline=wJn;})(ive,ive.exports);var Wpn=ive.exports;const{Readable:bJn}=Wpn;function gJn(l){const a=l[Symbol.iterator](),w=new bJn({objectMode:!0,read:()=>{for(;;){const g=a.next().value;if(!g){w.push(null);return;}if(!w.push(g)){return;}}}});return w;}var pJn=gJn;const Xpn=I5(pJn),{promisify:mJn}=Yve,{finished:vJn}=Wpn;async function yJn(l,a){return a.on("data",w=>l.add(w)),await mJn(vJn)(a),l;}var kJn=yJn;const Ypn=I5(kJn);var EJn=class Jpn{constructor(a,w=new Map,g=0){this.prefix=a,this._existing=w,this.counter=g;}clone(){const{prefix:a,_existing:w,counter:g}=this;return new Jpn(a,new Map(w),g);}getId(a){const w=a&&this._existing.get(a);if(w){return w;}const g=this.prefix+this.counter;return this.counter++,a&&this._existing.set(a,g),g;}hasId(a){return this._existing.has(a);}getOldIds(){return[...this._existing.keys()];}};(function(l,a){if(l.setImmediate){return;}var w=1,g={},v=!1,_=l.document,p;function j(ke){typeof ke!=="function"&&(ke=new Function(""+ke));for(var fe=new Array(arguments.length-1),Ce=0;Ce"u"?typeof window>"u"?gYn:window:self);/*! + */(function(n){const r=ace,o=XNe,l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=m,n.SlowBuffer=Y,n.INSPECT_MAX_BYTES=50;const h=2147483647;n.kMaxLength=h,m.TYPED_ARRAY_SUPPORT=b(),!m.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function b(){try{const Ce=new Uint8Array(1),ae={foo:function(){return 42}};return Object.setPrototypeOf(ae,Uint8Array.prototype),Object.setPrototypeOf(Ce,ae),Ce.foo()===42}catch{return!1}}Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.buffer}}),Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.byteOffset}});function g(Ce){if(Ce>h)throw new RangeError('The value "'+Ce+'" is invalid for option "size"');const ae=new Uint8Array(Ce);return Object.setPrototypeOf(ae,m.prototype),ae}function m(Ce,ae,ce){if(typeof Ce=="number"){if(typeof ae=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return I(Ce)}return S(Ce,ae,ce)}m.poolSize=8192;function S(Ce,ae,ce){if(typeof Ce=="string")return C(Ce,ae);if(ArrayBuffer.isView(Ce))return M(Ce);if(Ce==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce);if(de(Ce,ArrayBuffer)||Ce&&de(Ce.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(de(Ce,SharedArrayBuffer)||Ce&&de(Ce.buffer,SharedArrayBuffer)))return D(Ce,ae,ce);if(typeof Ce=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Ye=Ce.valueOf&&Ce.valueOf();if(Ye!=null&&Ye!==Ce)return m.from(Ye,ae,ce);const pt=H(Ce);if(pt)return pt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ce[Symbol.toPrimitive]=="function")return m.from(Ce[Symbol.toPrimitive]("string"),ae,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce)}m.from=function(Ce,ae,ce){return S(Ce,ae,ce)},Object.setPrototypeOf(m.prototype,Uint8Array.prototype),Object.setPrototypeOf(m,Uint8Array);function _(Ce){if(typeof Ce!="number")throw new TypeError('"size" argument must be of type number');if(Ce<0)throw new RangeError('The value "'+Ce+'" is invalid for option "size"')}function k(Ce,ae,ce){return _(Ce),Ce<=0?g(Ce):ae!==void 0?typeof ce=="string"?g(Ce).fill(ae,ce):g(Ce).fill(ae):g(Ce)}m.alloc=function(Ce,ae,ce){return k(Ce,ae,ce)};function I(Ce){return _(Ce),g(Ce<0?0:G(Ce)|0)}m.allocUnsafe=function(Ce){return I(Ce)},m.allocUnsafeSlow=function(Ce){return I(Ce)};function C(Ce,ae){if((typeof ae!="string"||ae==="")&&(ae="utf8"),!m.isEncoding(ae))throw new TypeError("Unknown encoding: "+ae);const ce=F(Ce,ae)|0;let Ye=g(ce);const pt=Ye.write(Ce,ae);return pt!==ce&&(Ye=Ye.slice(0,pt)),Ye}function A(Ce){const ae=Ce.length<0?0:G(Ce.length)|0,ce=g(ae);for(let Ye=0;Ye=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return Ce|0}function Y(Ce){return+Ce!=Ce&&(Ce=0),m.alloc(+Ce)}m.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==m.prototype},m.compare=function(ae,ce){if(de(ae,Uint8Array)&&(ae=m.from(ae,ae.offset,ae.byteLength)),de(ce,Uint8Array)&&(ce=m.from(ce,ce.offset,ce.byteLength)),!m.isBuffer(ae)||!m.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===ce)return 0;let Ye=ae.length,pt=ce.length;for(let qt=0,pn=Math.min(Ye,pt);qtpt.length?(m.isBuffer(pn)||(pn=m.from(pn)),pn.copy(pt,qt)):Uint8Array.prototype.set.call(pt,pn,qt);else if(m.isBuffer(pn))pn.copy(pt,qt);else throw new TypeError('"list" argument must be an Array of Buffers');qt+=pn.length}return pt};function F(Ce,ae){if(m.isBuffer(Ce))return Ce.length;if(ArrayBuffer.isView(Ce)||de(Ce,ArrayBuffer))return Ce.byteLength;if(typeof Ce!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ce);const ce=Ce.length,Ye=arguments.length>2&&arguments[2]===!0;if(!Ye&&ce===0)return 0;let pt=!1;for(;;)switch(ae){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return z(Ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return Pe(Ce).length;default:if(pt)return Ye?-1:z(Ce).length;ae=(""+ae).toLowerCase(),pt=!0}}m.byteLength=F;function Q(Ce,ae,ce){let Ye=!1;if((ae===void 0||ae<0)&&(ae=0),ae>this.length||((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0,ae>>>=0,ce<=ae))return"";for(Ce||(Ce="utf8");;)switch(Ce){case"hex":return ze(this,ae,ce);case"utf8":case"utf-8":return ve(this,ae,ce);case"ascii":return je(this,ae,ce);case"latin1":case"binary":return Be(this,ae,ce);case"base64":return L(this,ae,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,ae,ce);default:if(Ye)throw new TypeError("Unknown encoding: "+Ce);Ce=(Ce+"").toLowerCase(),Ye=!0}}m.prototype._isBuffer=!0;function ne(Ce,ae,ce){const Ye=Ce[ae];Ce[ae]=Ce[ce],Ce[ce]=Ye}m.prototype.swap16=function(){const ae=this.length;if(ae%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let ce=0;cece&&(ae+=" ... "),""},l&&(m.prototype[l]=m.prototype.inspect),m.prototype.compare=function(ae,ce,Ye,pt,qt){if(de(ae,Uint8Array)&&(ae=m.from(ae,ae.offset,ae.byteLength)),!m.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ae);if(ce===void 0&&(ce=0),Ye===void 0&&(Ye=ae?ae.length:0),pt===void 0&&(pt=0),qt===void 0&&(qt=this.length),ce<0||Ye>ae.length||pt<0||qt>this.length)throw new RangeError("out of range index");if(pt>=qt&&ce>=Ye)return 0;if(pt>=qt)return-1;if(ce>=Ye)return 1;if(ce>>>=0,Ye>>>=0,pt>>>=0,qt>>>=0,this===ae)return 0;let pn=qt-pt,Kr=Ye-ce;const Ho=Math.min(pn,Kr),Ti=this.slice(pt,qt),to=ae.slice(ce,Ye);for(let xi=0;xi2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,zt(ce)&&(ce=pt?0:Ce.length-1),ce<0&&(ce=Ce.length+ce),ce>=Ce.length){if(pt)return-1;ce=Ce.length-1}else if(ce<0)if(pt)ce=0;else return-1;if(typeof ae=="string"&&(ae=m.from(ae,Ye)),m.isBuffer(ae))return ae.length===0?-1:De(Ce,ae,ce,Ye,pt);if(typeof ae=="number")return ae=ae&255,typeof Uint8Array.prototype.indexOf=="function"?pt?Uint8Array.prototype.indexOf.call(Ce,ae,ce):Uint8Array.prototype.lastIndexOf.call(Ce,ae,ce):De(Ce,[ae],ce,Ye,pt);throw new TypeError("val must be string, number or Buffer")}function De(Ce,ae,ce,Ye,pt){let qt=1,pn=Ce.length,Kr=ae.length;if(Ye!==void 0&&(Ye=String(Ye).toLowerCase(),Ye==="ucs2"||Ye==="ucs-2"||Ye==="utf16le"||Ye==="utf-16le")){if(Ce.length<2||ae.length<2)return-1;qt=2,pn/=2,Kr/=2,ce/=2}function Ho(to,xi){return qt===1?to[xi]:to.readUInt16BE(xi*qt)}let Ti;if(pt){let to=-1;for(Ti=ce;Tipn&&(ce=pn-Kr),Ti=ce;Ti>=0;Ti--){let to=!0;for(let xi=0;xipt&&(Ye=pt)):Ye=pt;const qt=ae.length;Ye>qt/2&&(Ye=qt/2);let pn;for(pn=0;pn>>0,isFinite(Ye)?(Ye=Ye>>>0,pt===void 0&&(pt="utf8")):(pt=Ye,Ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const qt=this.length-ce;if((Ye===void 0||Ye>qt)&&(Ye=qt),ae.length>0&&(Ye<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");pt||(pt="utf8");let pn=!1;for(;;)switch(pt){case"hex":return Ee(this,ae,ce,Ye);case"utf8":case"utf-8":return Ae(this,ae,ce,Ye);case"ascii":case"latin1":case"binary":return qe(this,ae,ce,Ye);case"base64":return et(this,ae,ce,Ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,ae,ce,Ye);default:if(pn)throw new TypeError("Unknown encoding: "+pt);pt=(""+pt).toLowerCase(),pn=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(Ce,ae,ce){return ae===0&&ce===Ce.length?r.fromByteArray(Ce):r.fromByteArray(Ce.slice(ae,ce))}function ve(Ce,ae,ce){ce=Math.min(Ce.length,ce);const Ye=[];let pt=ae;for(;pt239?4:qt>223?3:qt>191?2:1;if(pt+Kr<=ce){let Ho,Ti,to,xi;switch(Kr){case 1:qt<128&&(pn=qt);break;case 2:Ho=Ce[pt+1],(Ho&192)===128&&(xi=(qt&31)<<6|Ho&63,xi>127&&(pn=xi));break;case 3:Ho=Ce[pt+1],Ti=Ce[pt+2],(Ho&192)===128&&(Ti&192)===128&&(xi=(qt&15)<<12|(Ho&63)<<6|Ti&63,xi>2047&&(xi<55296||xi>57343)&&(pn=xi));break;case 4:Ho=Ce[pt+1],Ti=Ce[pt+2],to=Ce[pt+3],(Ho&192)===128&&(Ti&192)===128&&(to&192)===128&&(xi=(qt&15)<<18|(Ho&63)<<12|(Ti&63)<<6|to&63,xi>65535&&xi<1114112&&(pn=xi))}}pn===null?(pn=65533,Kr=1):pn>65535&&(pn-=65536,Ye.push(pn>>>10&1023|55296),pn=56320|pn&1023),Ye.push(pn),pt+=Kr}return me(Ye)}const ye=4096;function me(Ce){const ae=Ce.length;if(ae<=ye)return String.fromCharCode.apply(String,Ce);let ce="",Ye=0;for(;YeYe)&&(ce=Ye);let pt="";for(let qt=ae;qtYe&&(ae=Ye),ce<0?(ce+=Ye,ce<0&&(ce=0)):ce>Ye&&(ce=Ye),cece)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUintLE=m.prototype.readUIntLE=function(ae,ce,Ye){ae=ae>>>0,ce=ce>>>0,Ye||Le(ae,ce,this.length);let pt=this[ae],qt=1,pn=0;for(;++pn>>0,ce=ce>>>0,Ye||Le(ae,ce,this.length);let pt=this[ae+--ce],qt=1;for(;ce>0&&(qt*=256);)pt+=this[ae+--ce]*qt;return pt},m.prototype.readUint8=m.prototype.readUInt8=function(ae,ce){return ae=ae>>>0,ce||Le(ae,1,this.length),this[ae]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,2,this.length),this[ae]|this[ae+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,2,this.length),this[ae]<<8|this[ae+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+this[ae+3]*16777216},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,4,this.length),this[ae]*16777216+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},m.prototype.readBigUInt64LE=In(function(ae){ae=ae>>>0,P(ae,"offset");const ce=this[ae],Ye=this[ae+7];(ce===void 0||Ye===void 0)&&T(ae,this.length-8);const pt=ce+this[++ae]*2**8+this[++ae]*2**16+this[++ae]*2**24,qt=this[++ae]+this[++ae]*2**8+this[++ae]*2**16+Ye*2**24;return BigInt(pt)+(BigInt(qt)<>>0,P(ae,"offset");const ce=this[ae],Ye=this[ae+7];(ce===void 0||Ye===void 0)&&T(ae,this.length-8);const pt=ce*2**24+this[++ae]*2**16+this[++ae]*2**8+this[++ae],qt=this[++ae]*2**24+this[++ae]*2**16+this[++ae]*2**8+Ye;return(BigInt(pt)<>>0,ce=ce>>>0,Ye||Le(ae,ce,this.length);let pt=this[ae],qt=1,pn=0;for(;++pn=qt&&(pt-=Math.pow(2,8*ce)),pt},m.prototype.readIntBE=function(ae,ce,Ye){ae=ae>>>0,ce=ce>>>0,Ye||Le(ae,ce,this.length);let pt=ce,qt=1,pn=this[ae+--pt];for(;pt>0&&(qt*=256);)pn+=this[ae+--pt]*qt;return qt*=128,pn>=qt&&(pn-=Math.pow(2,8*ce)),pn},m.prototype.readInt8=function(ae,ce){return ae=ae>>>0,ce||Le(ae,1,this.length),this[ae]&128?(255-this[ae]+1)*-1:this[ae]},m.prototype.readInt16LE=function(ae,ce){ae=ae>>>0,ce||Le(ae,2,this.length);const Ye=this[ae]|this[ae+1]<<8;return Ye&32768?Ye|4294901760:Ye},m.prototype.readInt16BE=function(ae,ce){ae=ae>>>0,ce||Le(ae,2,this.length);const Ye=this[ae+1]|this[ae]<<8;return Ye&32768?Ye|4294901760:Ye},m.prototype.readInt32LE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},m.prototype.readInt32BE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},m.prototype.readBigInt64LE=In(function(ae){ae=ae>>>0,P(ae,"offset");const ce=this[ae],Ye=this[ae+7];(ce===void 0||Ye===void 0)&&T(ae,this.length-8);const pt=this[ae+4]+this[ae+5]*2**8+this[ae+6]*2**16+(Ye<<24);return(BigInt(pt)<>>0,P(ae,"offset");const ce=this[ae],Ye=this[ae+7];(ce===void 0||Ye===void 0)&&T(ae,this.length-8);const pt=(ce<<24)+this[++ae]*2**16+this[++ae]*2**8+this[++ae];return(BigInt(pt)<>>0,ce||Le(ae,4,this.length),o.read(this,ae,!0,23,4)},m.prototype.readFloatBE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,4,this.length),o.read(this,ae,!1,23,4)},m.prototype.readDoubleLE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,8,this.length),o.read(this,ae,!0,52,8)},m.prototype.readDoubleBE=function(ae,ce){return ae=ae>>>0,ce||Le(ae,8,this.length),o.read(this,ae,!1,52,8)};function Ut(Ce,ae,ce,Ye,pt,qt){if(!m.isBuffer(Ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(ae>pt||aeCe.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(ae,ce,Ye,pt){if(ae=+ae,ce=ce>>>0,Ye=Ye>>>0,!pt){const Kr=Math.pow(2,8*Ye)-1;Ut(this,ae,ce,Ye,Kr,0)}let qt=1,pn=0;for(this[ce]=ae&255;++pn>>0,Ye=Ye>>>0,!pt){const Kr=Math.pow(2,8*Ye)-1;Ut(this,ae,ce,Ye,Kr,0)}let qt=Ye-1,pn=1;for(this[ce+qt]=ae&255;--qt>=0&&(pn*=256);)this[ce+qt]=ae/pn&255;return ce+Ye},m.prototype.writeUint8=m.prototype.writeUInt8=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,1,255,0),this[ce]=ae&255,ce+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,2,65535,0),this[ce]=ae&255,this[ce+1]=ae>>>8,ce+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,2,65535,0),this[ce]=ae>>>8,this[ce+1]=ae&255,ce+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,4,4294967295,0),this[ce+3]=ae>>>24,this[ce+2]=ae>>>16,this[ce+1]=ae>>>8,this[ce]=ae&255,ce+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,4,4294967295,0),this[ce]=ae>>>24,this[ce+1]=ae>>>16,this[ce+2]=ae>>>8,this[ce+3]=ae&255,ce+4};function se(Ce,ae,ce,Ye,pt){Te(ae,Ye,pt,Ce,ce,7);let qt=Number(ae&BigInt(4294967295));Ce[ce++]=qt,qt=qt>>8,Ce[ce++]=qt,qt=qt>>8,Ce[ce++]=qt,qt=qt>>8,Ce[ce++]=qt;let pn=Number(ae>>BigInt(32)&BigInt(4294967295));return Ce[ce++]=pn,pn=pn>>8,Ce[ce++]=pn,pn=pn>>8,Ce[ce++]=pn,pn=pn>>8,Ce[ce++]=pn,ce}function Me(Ce,ae,ce,Ye,pt){Te(ae,Ye,pt,Ce,ce,7);let qt=Number(ae&BigInt(4294967295));Ce[ce+7]=qt,qt=qt>>8,Ce[ce+6]=qt,qt=qt>>8,Ce[ce+5]=qt,qt=qt>>8,Ce[ce+4]=qt;let pn=Number(ae>>BigInt(32)&BigInt(4294967295));return Ce[ce+3]=pn,pn=pn>>8,Ce[ce+2]=pn,pn=pn>>8,Ce[ce+1]=pn,pn=pn>>8,Ce[ce]=pn,ce+8}m.prototype.writeBigUInt64LE=In(function(ae,ce=0){return se(this,ae,ce,BigInt(0),BigInt("0xffffffffffffffff"))}),m.prototype.writeBigUInt64BE=In(function(ae,ce=0){return Me(this,ae,ce,BigInt(0),BigInt("0xffffffffffffffff"))}),m.prototype.writeIntLE=function(ae,ce,Ye,pt){if(ae=+ae,ce=ce>>>0,!pt){const Ho=Math.pow(2,8*Ye-1);Ut(this,ae,ce,Ye,Ho-1,-Ho)}let qt=0,pn=1,Kr=0;for(this[ce]=ae&255;++qt>0)-Kr&255;return ce+Ye},m.prototype.writeIntBE=function(ae,ce,Ye,pt){if(ae=+ae,ce=ce>>>0,!pt){const Ho=Math.pow(2,8*Ye-1);Ut(this,ae,ce,Ye,Ho-1,-Ho)}let qt=Ye-1,pn=1,Kr=0;for(this[ce+qt]=ae&255;--qt>=0&&(pn*=256);)ae<0&&Kr===0&&this[ce+qt+1]!==0&&(Kr=1),this[ce+qt]=(ae/pn>>0)-Kr&255;return ce+Ye},m.prototype.writeInt8=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,1,127,-128),ae<0&&(ae=255+ae+1),this[ce]=ae&255,ce+1},m.prototype.writeInt16LE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,2,32767,-32768),this[ce]=ae&255,this[ce+1]=ae>>>8,ce+2},m.prototype.writeInt16BE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,2,32767,-32768),this[ce]=ae>>>8,this[ce+1]=ae&255,ce+2},m.prototype.writeInt32LE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,4,2147483647,-2147483648),this[ce]=ae&255,this[ce+1]=ae>>>8,this[ce+2]=ae>>>16,this[ce+3]=ae>>>24,ce+4},m.prototype.writeInt32BE=function(ae,ce,Ye){return ae=+ae,ce=ce>>>0,Ye||Ut(this,ae,ce,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[ce]=ae>>>24,this[ce+1]=ae>>>16,this[ce+2]=ae>>>8,this[ce+3]=ae&255,ce+4},m.prototype.writeBigInt64LE=In(function(ae,ce=0){return se(this,ae,ce,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),m.prototype.writeBigInt64BE=In(function(ae,ce=0){return Me(this,ae,ce,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ft(Ce,ae,ce,Ye,pt,qt){if(ce+Ye>Ce.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function st(Ce,ae,ce,Ye,pt){return ae=+ae,ce=ce>>>0,pt||ft(Ce,ae,ce,4),o.write(Ce,ae,ce,Ye,23,4),ce+4}m.prototype.writeFloatLE=function(ae,ce,Ye){return st(this,ae,ce,!0,Ye)},m.prototype.writeFloatBE=function(ae,ce,Ye){return st(this,ae,ce,!1,Ye)};function at(Ce,ae,ce,Ye,pt){return ae=+ae,ce=ce>>>0,pt||ft(Ce,ae,ce,8),o.write(Ce,ae,ce,Ye,52,8),ce+8}m.prototype.writeDoubleLE=function(ae,ce,Ye){return at(this,ae,ce,!0,Ye)},m.prototype.writeDoubleBE=function(ae,ce,Ye){return at(this,ae,ce,!1,Ye)},m.prototype.copy=function(ae,ce,Ye,pt){if(!m.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(Ye||(Ye=0),!pt&&pt!==0&&(pt=this.length),ce>=ae.length&&(ce=ae.length),ce||(ce=0),pt>0&&pt=this.length)throw new RangeError("Index out of range");if(pt<0)throw new RangeError("sourceEnd out of bounds");pt>this.length&&(pt=this.length),ae.length-ce>>0,Ye=Ye===void 0?this.length:Ye>>>0,ae||(ae=0);let qt;if(typeof ae=="number")for(qt=ce;qt2**32?pt=rn(String(ce)):typeof ce=="bigint"&&(pt=String(ce),(ce>BigInt(2)**BigInt(32)||ce<-(BigInt(2)**BigInt(32)))&&(pt=rn(pt)),pt+="n"),Ye+=` It must be ${ae}. Received ${pt}`,Ye},RangeError);function rn(Ce){let ae="",ce=Ce.length;const Ye=Ce[0]==="-"?1:0;for(;ce>=Ye+4;ce-=3)ae=`_${Ce.slice(ce-3,ce)}${ae}`;return`${Ce.slice(0,ce)}${ae}`}function $e(Ce,ae,ce){P(ae,"offset"),(Ce[ae]===void 0||Ce[ae+ce]===void 0)&&T(ae,Ce.length-(ce+1))}function Te(Ce,ae,ce,Ye,pt,qt){if(Ce>ce||Ce= 0${pn} and < 2${pn} ** ${(qt+1)*8}${pn}`:Kr=`>= -(2${pn} ** ${(qt+1)*8-1}${pn}) and < 2 ** ${(qt+1)*8-1}${pn}`,new yt.ERR_OUT_OF_RANGE("value",Kr,Ce)}$e(Ye,pt,qt)}function P(Ce,ae){if(typeof Ce!="number")throw new yt.ERR_INVALID_ARG_TYPE(ae,"number",Ce)}function T(Ce,ae,ce){throw Math.floor(Ce)!==Ce?(P(Ce,ce),new yt.ERR_OUT_OF_RANGE("offset","an integer",Ce)):ae<0?new yt.ERR_BUFFER_OUT_OF_BOUNDS:new yt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${ae}`,Ce)}const B=/[^+/0-9A-Za-z-_]/g;function K(Ce){if(Ce=Ce.split("=")[0],Ce=Ce.trim().replace(B,""),Ce.length<2)return"";for(;Ce.length%4!==0;)Ce=Ce+"=";return Ce}function z(Ce,ae){ae=ae||1/0;let ce;const Ye=Ce.length;let pt=null;const qt=[];for(let pn=0;pn55295&&ce<57344){if(!pt){if(ce>56319){(ae-=3)>-1&&qt.push(239,191,189);continue}else if(pn+1===Ye){(ae-=3)>-1&&qt.push(239,191,189);continue}pt=ce;continue}if(ce<56320){(ae-=3)>-1&&qt.push(239,191,189),pt=ce;continue}ce=(pt-55296<<10|ce-56320)+65536}else pt&&(ae-=3)>-1&&qt.push(239,191,189);if(pt=null,ce<128){if((ae-=1)<0)break;qt.push(ce)}else if(ce<2048){if((ae-=2)<0)break;qt.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((ae-=3)<0)break;qt.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((ae-=4)<0)break;qt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return qt}function Se(Ce){const ae=[];for(let ce=0;ce>8,pt=ce%256,qt.push(pt),qt.push(Ye);return qt}function Pe(Ce){return r.toByteArray(K(Ce))}function mt(Ce,ae,ce,Ye){let pt;for(pt=0;pt=ae.length||pt>=Ce.length);++pt)ae[pt+ce]=Ce[pt];return pt}function de(Ce,ae){return Ce instanceof ae||Ce!=null&&Ce.constructor!=null&&Ce.constructor.name!=null&&Ce.constructor.name===ae.name}function zt(Ce){return Ce!==Ce}const Jt=function(){const Ce="0123456789abcdef",ae=new Array(256);for(let ce=0;ce<16;++ce){const Ye=ce*16;for(let pt=0;pt<16;++pt)ae[Ye+pt]=Ce[ce]+Ce[pt]}return ae}();function In(Ce){return typeof BigInt>"u"?vr:Ce}function vr(){throw new Error("BigInt not supported")}})(Xr);const LOn={},jOn=Object.freeze(Object.defineProperty({__proto__:null,default:LOn},Symbol.toStringTag,{value:"Module"})),JNe=vOn(jOn);var K$e,oPt;function FOn(){if(oPt)return K$e;oPt=1;function n(M,D){var H=Object.keys(M);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(M);D&&(G=G.filter(function(Y){return Object.getOwnPropertyDescriptor(M,Y).enumerable})),H.push.apply(H,G)}return H}function r(M){for(var D=1;D0?this.tail.next=G:this.head=G,this.tail=G,++this.length}},{key:"unshift",value:function(H){var G={data:H,next:this.head};this.length===0&&(this.tail=G),this.head=G,++this.length}},{key:"shift",value:function(){if(this.length!==0){var H=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,H}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(H){if(this.length===0)return"";for(var G=this.head,Y=""+G.data;G=G.next;)Y+=H+G.data;return Y}},{key:"concat",value:function(H){if(this.length===0)return _.alloc(0);for(var G=_.allocUnsafe(H>>>0),Y=this.head,F=0;Y;)A(Y.data,G,F),F+=Y.data.length,Y=Y.next;return G}},{key:"consume",value:function(H,G){var Y;return HQ.length?Q.length:H;if(ne===Q.length?F+=Q:F+=Q.slice(0,H),H-=ne,H===0){ne===Q.length?(++Y,G.next?this.head=G.next:this.head=this.tail=null):(this.head=G,G.data=Q.slice(ne));break}++Y}return this.length-=Y,F}},{key:"_getBuffer",value:function(H){var G=_.allocUnsafe(H),Y=this.head,F=1;for(Y.data.copy(G),H-=Y.data.length;Y=Y.next;){var Q=Y.data,ne=H>Q.length?Q.length:H;if(Q.copy(G,G.length-H,0,ne),H-=ne,H===0){ne===Q.length?(++F,Y.next?this.head=Y.next:this.head=this.tail=null):(this.head=Y,Y.data=Q.slice(ne));break}++F}return this.length-=F,G}},{key:C,value:function(H,G){return I(this,r(r({},G),{},{depth:0,customInspect:!1}))}}]),M}(),K$e}function BOn(n,r){var o=this,l=this._readableState&&this._readableState.destroyed,h=this._writableState&&this._writableState.destroyed;return l||h?(r?r(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ca.nextTick(kPe,this,n)):ca.nextTick(kPe,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(b){!r&&b?o._writableState?o._writableState.errorEmitted?ca.nextTick(oae,o):(o._writableState.errorEmitted=!0,ca.nextTick(sPt,o,b)):ca.nextTick(sPt,o,b):r?(ca.nextTick(oae,o),r(b)):ca.nextTick(oae,o)}),this)}function sPt(n,r){kPe(n,r),oae(n)}function oae(n){n._writableState&&!n._writableState.emitClose||n._readableState&&!n._readableState.emitClose||n.emit("close")}function HOn(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function kPe(n,r){n.emit("error",r)}function WOn(n,r){var o=n._readableState,l=n._writableState;o&&o.autoDestroy||l&&l.autoDestroy?n.destroy(r):n.emit("error",r)}var RUt={destroy:BOn,undestroy:HOn,errorOrDestroy:WOn},yT={};function UOn(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r}var AUt={};function ly(n,r,o){o||(o=Error);function l(b,g,m){return typeof r=="string"?r:r(b,g,m)}var h=function(b){UOn(g,b);function g(m,S,_){return b.call(this,l(m,S,_))||this}return g}(o);h.prototype.name=o.name,h.prototype.code=n,AUt[n]=h}function aPt(n,r){if(Array.isArray(n)){var o=n.length;return n=n.map(function(l){return String(l)}),o>2?"one of ".concat(r," ").concat(n.slice(0,o-1).join(", "),", or ")+n[o-1]:o===2?"one of ".concat(r," ").concat(n[0]," or ").concat(n[1]):"of ".concat(r," ").concat(n[0])}else return"of ".concat(r," ").concat(String(n))}function VOn(n,r,o){return n.substr(0,r.length)===r}function GOn(n,r,o){return(o===void 0||o>n.length)&&(o=n.length),n.substring(o-r.length,o)===r}function KOn(n,r,o){return typeof o!="number"&&(o=0),o+r.length>n.length?!1:n.indexOf(r,o)!==-1}ly("ERR_INVALID_OPT_VALUE",function(n,r){return'The value "'+r+'" is invalid for option "'+n+'"'},TypeError);ly("ERR_INVALID_ARG_TYPE",function(n,r,o){var l;typeof r=="string"&&VOn(r,"not ")?(l="must not be",r=r.replace(/^not /,"")):l="must be";var h;if(GOn(n," argument"))h="The ".concat(n," ").concat(l," ").concat(aPt(r,"type"));else{var b=KOn(n,".")?"property":"argument";h='The "'.concat(n,'" ').concat(b," ").concat(l," ").concat(aPt(r,"type"))}return h+=". Received type ".concat(typeof o),h},TypeError);ly("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ly("ERR_METHOD_NOT_IMPLEMENTED",function(n){return"The "+n+" method is not implemented"});ly("ERR_STREAM_PREMATURE_CLOSE","Premature close");ly("ERR_STREAM_DESTROYED",function(n){return"Cannot call "+n+" after a stream was destroyed"});ly("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ly("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ly("ERR_STREAM_WRITE_AFTER_END","write after end");ly("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ly("ERR_UNKNOWN_ENCODING",function(n){return"Unknown encoding: "+n},TypeError);ly("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");yT.codes=AUt;var zOn=yT.codes.ERR_INVALID_OPT_VALUE;function qOn(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function XOn(n,r,o,l){var h=qOn(r,l,o);if(h!=null){if(!(isFinite(h)&&Math.floor(h)===h)||h<0){var b=l?o:"highWaterMark";throw new zOn(b,h)}return Math.floor(h)}return n.objectMode?16:16*1024}var CUt={getHighWaterMark:XOn},RPe={exports:{}};typeof Object.create=="function"?RPe.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:RPe.exports=function(r,o){if(o){r.super_=o;var l=function(){};l.prototype=o.prototype,r.prototype=new l,r.prototype.constructor=r}};var eM=RPe.exports,JOn=YOn;function YOn(n,r){if(z$e("noDeprecation"))return n;var o=!1;function l(){if(!o){if(z$e("throwDeprecation"))throw new Error(r);z$e("traceDeprecation")?console.trace(r):console.warn(r),o=!0}return n.apply(this,arguments)}return l}function z$e(n){try{if(!window.localStorage)return!1}catch{return!1}var r=window.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}var q$e,lPt;function xUt(){if(lPt)return q$e;lPt=1,q$e=Ee;function n(st){var at=this;this.next=null,this.entry=null,this.finish=function(){ft(at,st)}}var r;Ee.WritableState=be;var o={deprecate:JOn},l=EUt,h=Xr.Buffer,b=(typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function g(st){return h.from(st)}function m(st){return h.isBuffer(st)||st instanceof b}var S=RUt,_=CUt,k=_.getHighWaterMark,I=yT.codes,C=I.ERR_INVALID_ARG_TYPE,A=I.ERR_METHOD_NOT_IMPLEMENTED,M=I.ERR_MULTIPLE_CALLBACK,D=I.ERR_STREAM_CANNOT_PIPE,H=I.ERR_STREAM_DESTROYED,G=I.ERR_STREAM_NULL_VALUES,Y=I.ERR_STREAM_WRITE_AFTER_END,F=I.ERR_UNKNOWN_ENCODING,Q=S.errorOrDestroy;eM(Ee,l);function ne(){}function be(st,at,yt){r=r||ON(),st=st||{},typeof yt!="boolean"&&(yt=at instanceof r),this.objectMode=!!st.objectMode,yt&&(this.objectMode=this.objectMode||!!st.writableObjectMode),this.highWaterMark=k(this,st,"writableHighWaterMark",yt),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Mt=st.decodeStrings===!1;this.decodeStrings=!Mt,this.defaultEncoding=st.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(rn){me(at,rn)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=st.emitClose!==!1,this.autoDestroy=!!st.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}be.prototype.getBuffer=function(){for(var at=this.bufferedRequest,yt=[];at;)yt.push(at),at=at.next;return yt},function(){try{Object.defineProperty(be.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var De;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(De=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ee,Symbol.hasInstance,{value:function(at){return De.call(this,at)?!0:this!==Ee?!1:at&&at._writableState instanceof be}})):De=function(at){return at instanceof this};function Ee(st){r=r||ON();var at=this instanceof r;if(!at&&!De.call(Ee,this))return new Ee(st);this._writableState=new be(st,this,at),this.writable=!0,st&&(typeof st.write=="function"&&(this._write=st.write),typeof st.writev=="function"&&(this._writev=st.writev),typeof st.destroy=="function"&&(this._destroy=st.destroy),typeof st.final=="function"&&(this._final=st.final)),l.call(this)}Ee.prototype.pipe=function(){Q(this,new D)};function Ae(st,at){var yt=new Y;Q(st,yt),ca.nextTick(at,yt)}function qe(st,at,yt,Mt){var rn;return yt===null?rn=new G:typeof yt!="string"&&!at.objectMode&&(rn=new C("chunk",["string","Buffer"],yt)),rn?(Q(st,rn),ca.nextTick(Mt,rn),!1):!0}Ee.prototype.write=function(st,at,yt){var Mt=this._writableState,rn=!1,$e=!Mt.objectMode&&m(st);return $e&&!h.isBuffer(st)&&(st=g(st)),typeof at=="function"&&(yt=at,at=null),$e?at="buffer":at||(at=Mt.defaultEncoding),typeof yt!="function"&&(yt=ne),Mt.ending?Ae(this,yt):($e||qe(this,Mt,st,yt))&&(Mt.pendingcb++,rn=fe(this,Mt,$e,st,at,yt)),rn},Ee.prototype.cork=function(){this._writableState.corked++},Ee.prototype.uncork=function(){var st=this._writableState;st.corked&&(st.corked--,!st.writing&&!st.corked&&!st.bufferProcessing&&st.bufferedRequest&&ze(this,st))},Ee.prototype.setDefaultEncoding=function(at){if(typeof at=="string"&&(at=at.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((at+"").toLowerCase())>-1))throw new F(at);return this._writableState.defaultEncoding=at,this},Object.defineProperty(Ee.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function et(st,at,yt){return!st.objectMode&&st.decodeStrings!==!1&&typeof at=="string"&&(at=h.from(at,yt)),at}Object.defineProperty(Ee.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function fe(st,at,yt,Mt,rn,$e){if(!yt){var Te=et(at,Mt,rn);Mt!==Te&&(yt=!0,rn="buffer",Mt=Te)}var P=at.objectMode?1:Mt.length;at.length+=P;var T=at.length */(function(n,r){var o=Xr,l=o.Buffer;function h(g,m){for(var S in g)m[S]=g[S]}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?n.exports=o:(h(o,r),r.Buffer=b);function b(g,m,S){return l(g,m,S)}b.prototype=Object.create(l.prototype),h(l,b),b.from=function(g,m,S){if(typeof g=="number")throw new TypeError("Argument must not be a number");return l(g,m,S)},b.alloc=function(g,m,S){if(typeof g!="number")throw new TypeError("Argument must be a number");var _=l(g);return m!==void 0?typeof S=="string"?_.fill(m,S):_.fill(m):_.fill(0),_},b.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return l(g)},b.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(g)}})(APe,APe.exports);var QOn=APe.exports,YNe=QOn.Buffer,uPt=YNe.isEncoding||function(n){switch(n=""+n,n&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ZOn(n){if(!n)return"utf8";for(var r;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(r)return;n=(""+n).toLowerCase(),r=!0}}function e9n(n){var r=ZOn(n);if(typeof r!="string"&&(YNe.isEncoding===uPt||!uPt(n)))throw new Error("Unknown encoding: "+n);return r||n}sy.StringDecoder=qG;function qG(n){this.encoding=e9n(n);var r;switch(this.encoding){case"utf16le":this.text=s9n,this.end=a9n,r=4;break;case"utf8":this.fillLast=r9n,r=4;break;case"base64":this.text=l9n,this.end=c9n,r=3;break;default:this.write=u9n,this.end=f9n;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=YNe.allocUnsafe(r)}qG.prototype.write=function(n){if(n.length===0)return"";var r,o;if(this.lastNeed){if(r=this.fillLast(n),r===void 0)return"";o=this.lastNeed,this.lastNeed=0}else o=0;return o>5===6?2:n>>4===14?3:n>>3===30?4:n>>6===2?-1:-2}function t9n(n,r,o){var l=r.length-1;if(l=0?(h>0&&(n.lastNeed=h-1),h):--l=0?(h>0&&(n.lastNeed=h-2),h):--l=0?(h>0&&(h===2?h=0:n.lastNeed=h-3),h):0))}function n9n(n,r,o){if((r[0]&192)!==128)return n.lastNeed=0,"�";if(n.lastNeed>1&&r.length>1){if((r[1]&192)!==128)return n.lastNeed=1,"�";if(n.lastNeed>2&&r.length>2&&(r[2]&192)!==128)return n.lastNeed=2,"�"}}function r9n(n){var r=this.lastTotal-this.lastNeed,o=n9n(this,n);if(o!==void 0)return o;if(this.lastNeed<=n.length)return n.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,r,0,n.length),this.lastNeed-=n.length}function i9n(n,r){var o=t9n(this,n,r);if(!this.lastNeed)return n.toString("utf8",r);this.lastTotal=o;var l=n.length-(o-this.lastNeed);return n.copy(this.lastChar,0,l),n.toString("utf8",r,l)}function o9n(n){var r=n&&n.length?this.write(n):"";return this.lastNeed?r+"�":r}function s9n(n,r){if((n.length-r)%2===0){var o=n.toString("utf16le",r);if(o){var l=o.charCodeAt(o.length-1);if(l>=55296&&l<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],o.slice(0,-1)}return o}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",r,n.length-1)}function a9n(n){var r=n&&n.length?this.write(n):"";if(this.lastNeed){var o=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,o)}return r}function l9n(n,r){var o=(n.length-r)%3;return o===0?n.toString("base64",r):(this.lastNeed=3-o,this.lastTotal=3,o===1?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",r,n.length-o))}function c9n(n){var r=n&&n.length?this.write(n):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function u9n(n){return n.toString(this.encoding)}function f9n(n){return n&&n.length?this.write(n):""}var fPt=yT.codes.ERR_STREAM_PREMATURE_CLOSE;function d9n(n){var r=!1;return function(){if(!r){r=!0;for(var o=arguments.length,l=new Array(o),h=0;h0)if(typeof Te!="string"&&!K.objectMode&&Object.getPrototypeOf(Te)!==l.prototype&&(Te=b(Te)),T)K.endEmitted?ne($e,new G):et($e,K,Te,!0);else if(K.ended)ne($e,new D);else{if(K.destroyed)return!1;K.reading=!1,K.decoder&&!P?(Te=K.decoder.write(Te),K.objectMode||Te.length!==0?et($e,K,Te,!1):ze($e,K)):et($e,K,Te,!1)}else T||(K.reading=!1,ze($e,K))}return!K.ended&&(K.length=L?$e=L:($e--,$e|=$e>>>1,$e|=$e>>>2,$e|=$e>>>4,$e|=$e>>>8,$e|=$e>>>16,$e++),$e}function ye($e,Te){return $e<=0||Te.length===0&&Te.ended?0:Te.objectMode?1:$e!==$e?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:($e>Te.highWaterMark&&(Te.highWaterMark=ve($e)),$e<=Te.length?$e:Te.ended?Te.length:(Te.needReadable=!0,0))}Ae.prototype.read=function($e){S("read",$e),$e=parseInt($e,10);var Te=this._readableState,P=$e;if($e!==0&&(Te.emittedReadable=!1),$e===0&&Te.needReadable&&((Te.highWaterMark!==0?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return S("read: emitReadable",Te.length,Te.ended),Te.length===0&&Te.ended?yt(this):je(this),null;if($e=ye($e,Te),$e===0&&Te.ended)return Te.length===0&&yt(this),null;var T=Te.needReadable;S("need readable",T),(Te.length===0||Te.length-$e0?B=at($e,Te):B=null,B===null?(Te.needReadable=Te.length<=Te.highWaterMark,$e=0):(Te.length-=$e,Te.awaitDrain=0),Te.length===0&&(Te.ended||(Te.needReadable=!0),P!==$e&&Te.ended&&yt(this)),B!==null&&this.emit("data",B),B};function me($e,Te){if(S("onEofChunk"),!Te.ended){if(Te.decoder){var P=Te.decoder.end();P&&P.length&&(Te.buffer.push(P),Te.length+=Te.objectMode?1:P.length)}Te.ended=!0,Te.sync?je($e):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,Be($e)))}}function je($e){var Te=$e._readableState;S("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(S("emitReadable",Te.flowing),Te.emittedReadable=!0,ca.nextTick(Be,$e))}function Be($e){var Te=$e._readableState;S("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&($e.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,st($e)}function ze($e,Te){Te.readingMore||(Te.readingMore=!0,ca.nextTick(Ze,$e,Te))}function Ze($e,Te){for(;!Te.reading&&!Te.ended&&(Te.length1&&rn(T.pipes,$e)!==-1)&&!Pe&&(S("false write response, pause",T.awaitDrain),T.awaitDrain++),P.pause())}function zt(Ce){S("onerror",Ce),vr(),$e.removeListener("error",zt),r($e,"error")===0&&ne($e,Ce)}De($e,"error",zt);function Jt(){$e.removeListener("finish",In),vr()}$e.once("close",Jt);function In(){S("onfinish"),$e.removeListener("close",Jt),vr()}$e.once("finish",In);function vr(){S("unpipe"),P.unpipe($e)}return $e.emit("pipe",P),T.flowing||(S("pipe resume"),P.resume()),$e};function Le($e){return function(){var P=$e._readableState;S("pipeOnDrain",P.awaitDrain),P.awaitDrain&&P.awaitDrain--,P.awaitDrain===0&&r($e,"data")&&(P.flowing=!0,st($e))}}Ae.prototype.unpipe=function($e){var Te=this._readableState,P={hasUnpiped:!1};if(Te.pipesCount===0)return this;if(Te.pipesCount===1)return $e&&$e!==Te.pipes?this:($e||($e=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,$e&&$e.emit("unpipe",this,P),this);if(!$e){var T=Te.pipes,B=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var K=0;K0,T.flowing!==!1&&this.resume()):$e==="readable"&&!T.endEmitted&&!T.readableListening&&(T.readableListening=T.needReadable=!0,T.flowing=!1,T.emittedReadable=!1,S("on readable",T.length,T.reading),T.length?je(this):T.reading||ca.nextTick(se,this)),P},Ae.prototype.addListener=Ae.prototype.on,Ae.prototype.removeListener=function($e,Te){var P=o.prototype.removeListener.call(this,$e,Te);return $e==="readable"&&ca.nextTick(Ut,this),P},Ae.prototype.removeAllListeners=function($e){var Te=o.prototype.removeAllListeners.apply(this,arguments);return($e==="readable"||$e===void 0)&&ca.nextTick(Ut,this),Te};function Ut($e){var Te=$e._readableState;Te.readableListening=$e.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:$e.listenerCount("data")>0&&$e.resume()}function se($e){S("readable nexttick read 0"),$e.read(0)}Ae.prototype.resume=function(){var $e=this._readableState;return $e.flowing||(S("resume"),$e.flowing=!$e.readableListening,Me(this,$e)),$e.paused=!1,this};function Me($e,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,ca.nextTick(ft,$e,Te))}function ft($e,Te){S("resume",Te.reading),Te.reading||$e.read(0),Te.resumeScheduled=!1,$e.emit("resume"),st($e),Te.flowing&&!Te.reading&&$e.read(0)}Ae.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function st($e){var Te=$e._readableState;for(S("flow",Te.flowing);Te.flowing&&$e.read()!==null;);}Ae.prototype.wrap=function($e){var Te=this,P=this._readableState,T=!1;$e.on("end",function(){if(S("wrapped end"),P.decoder&&!P.ended){var z=P.decoder.end();z&&z.length&&Te.push(z)}Te.push(null)}),$e.on("data",function(z){if(S("wrapped data"),P.decoder&&(z=P.decoder.write(z)),!(P.objectMode&&z==null)&&!(!P.objectMode&&(!z||!z.length))){var Se=Te.push(z);Se||(T=!0,$e.pause())}});for(var B in $e)this[B]===void 0&&typeof $e[B]=="function"&&(this[B]=function(Se){return function(){return $e[Se].apply($e,arguments)}}(B));for(var K=0;K=Te.length?(Te.decoder?P=Te.buffer.join(""):Te.buffer.length===1?P=Te.buffer.first():P=Te.buffer.concat(Te.length),Te.buffer.clear()):P=Te.buffer.consume($e,Te.decoder),P}function yt($e){var Te=$e._readableState;S("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,ca.nextTick(Mt,Te,$e))}function Mt($e,Te){if(S("endReadableNT",$e.endEmitted,$e.length),!$e.endEmitted&&$e.length===0&&($e.endEmitted=!0,Te.readable=!1,Te.emit("end"),$e.autoDestroy)){var P=Te._writableState;(!P||P.autoDestroy&&P.finished)&&Te.destroy()}}typeof Symbol=="function"&&(Ae.from=function($e,Te){return Q===void 0&&(Q=g9n()),Q(Ae,$e,Te)});function rn($e,Te){for(var P=0,T=$e.length;P0;return x9n(g,S,_,function(k){h||(h=k),k&&b.forEach(wPt),!S&&(b.forEach(wPt),l(h))})});return r.reduce($9n)}var P9n=T9n;(function(n,r){r=n.exports=IUt(),r.Stream=r,r.Readable=r,r.Writable=xUt(),r.Duplex=ON(),r.Transform=TUt,r.PassThrough=E9n,r.finished=QNe,r.pipeline=P9n})(_Pe,_Pe.exports);var ZNe=_Pe.exports;const{Readable:O9n}=ZNe;function N9n(n){const r=n[Symbol.iterator](),o=new O9n({objectMode:!0,read:()=>{for(;;){const l=r.next().value;if(!l){o.push(null);return}if(!o.push(l))return}}});return o}var M9n=N9n;const NUt=KS(M9n);var MUt={},DUt={},LUt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var h=42;r[o]=h;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var b=Object.getOwnPropertySymbols(r);if(b.length!==1||b[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var g=Object.getOwnPropertyDescriptor(r,o);if(g.value!==h||g.enumerable!==!0)return!1}return!0},D9n=LUt,eMe=function(){return D9n()&&!!Symbol.toStringTag},L9n=Error,j9n=EvalError,F9n=RangeError,B9n=ReferenceError,jUt=SyntaxError,uce=TypeError,H9n=URIError,mPt=typeof Symbol<"u"&&Symbol,W9n=LUt,U9n=function(){return typeof mPt!="function"||typeof Symbol!="function"||typeof mPt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:W9n()},tIe={__proto__:null,foo:{}},V9n=Object,G9n=function(){return{__proto__:tIe}.foo===tIe.foo&&!(tIe instanceof V9n)},K9n="Function.prototype.bind called on incompatible ",z9n=Object.prototype.toString,q9n=Math.max,X9n="[object Function]",yPt=function(r,o){for(var l=[],h=0;h"u"||!Dh?Sa:Dh(Uint8Array),WI={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Sa:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Sa:ArrayBuffer,"%ArrayIteratorPrototype%":R9&&Dh?Dh([][Symbol.iterator]()):Sa,"%AsyncFromSyncIteratorPrototype%":Sa,"%AsyncFunction%":j9,"%AsyncGenerator%":j9,"%AsyncGeneratorFunction%":j9,"%AsyncIteratorPrototype%":j9,"%Atomics%":typeof Atomics>"u"?Sa:Atomics,"%BigInt%":typeof BigInt>"u"?Sa:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Sa:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Sa:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Sa:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":iNn,"%eval%":eval,"%EvalError%":oNn,"%Float32Array%":typeof Float32Array>"u"?Sa:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Sa:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Sa:FinalizationRegistry,"%Function%":FUt,"%GeneratorFunction%":j9,"%Int8Array%":typeof Int8Array>"u"?Sa:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Sa:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Sa:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R9&&Dh?Dh(Dh([][Symbol.iterator]())):Sa,"%JSON%":typeof JSON=="object"?JSON:Sa,"%Map%":typeof Map>"u"?Sa:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R9||!Dh?Sa:Dh(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Sa:Promise,"%Proxy%":typeof Proxy>"u"?Sa:Proxy,"%RangeError%":sNn,"%ReferenceError%":aNn,"%Reflect%":typeof Reflect>"u"?Sa:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Sa:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R9||!Dh?Sa:Dh(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Sa:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R9&&Dh?Dh(""[Symbol.iterator]()):Sa,"%Symbol%":R9?Symbol:Sa,"%SyntaxError%":NN,"%ThrowTypeError%":cNn,"%TypedArray%":fNn,"%TypeError%":hN,"%Uint8Array%":typeof Uint8Array>"u"?Sa:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Sa:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Sa:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Sa:Uint32Array,"%URIError%":lNn,"%WeakMap%":typeof WeakMap>"u"?Sa:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Sa:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Sa:WeakSet};if(Dh)try{null.error}catch(n){var dNn=Dh(Dh(n));WI["%Error.prototype%"]=dNn}var hNn=function n(r){var o;if(r==="%AsyncFunction%")o=nIe("async function () {}");else if(r==="%GeneratorFunction%")o=nIe("function* () {}");else if(r==="%AsyncGeneratorFunction%")o=nIe("async function* () {}");else if(r==="%AsyncGenerator%"){var l=n("%AsyncGeneratorFunction%");l&&(o=l.prototype)}else if(r==="%AsyncIteratorPrototype%"){var h=n("%AsyncGenerator%");h&&Dh&&(o=Dh(h.prototype))}return WI[r]=o,o},vPt={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},XG=tMe,qae=rNn,bNn=XG.call(Function.call,Array.prototype.concat),pNn=XG.call(Function.apply,Array.prototype.splice),_Pt=XG.call(Function.call,String.prototype.replace),Xae=XG.call(Function.call,String.prototype.slice),gNn=XG.call(Function.call,RegExp.prototype.exec),wNn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,mNn=/\\(\\)?/g,yNn=function(r){var o=Xae(r,0,1),l=Xae(r,-1);if(o==="%"&&l!=="%")throw new NN("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&o!=="%")throw new NN("invalid intrinsic syntax, expected opening `%`");var h=[];return _Pt(r,wNn,function(b,g,m,S){h[h.length]=m?_Pt(S,mNn,"$1"):g||b}),h},vNn=function(r,o){var l=r,h;if(qae(vPt,l)&&(h=vPt[l],l="%"+h[0]+"%"),qae(WI,l)){var b=WI[l];if(b===j9&&(b=hNn(l)),typeof b>"u"&&!o)throw new hN("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:h,name:l,value:b}}throw new NN("intrinsic "+r+" does not exist!")},JG=function(r,o){if(typeof r!="string"||r.length===0)throw new hN("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new hN('"allowMissing" argument must be a boolean');if(gNn(/^%?[^%]*%?$/,r)===null)throw new NN("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=yNn(r),h=l.length>0?l[0]:"",b=vNn("%"+h+"%",o),g=b.name,m=b.value,S=!1,_=b.alias;_&&(h=_[0],pNn(l,bNn([0,1],_)));for(var k=1,I=!0;k=l.length){var D=HI(m,C);I=!!D,I&&"get"in D&&!("originalValue"in D.get)?m=D.get:m=m[C]}else I=qae(m,C),m=m[C];I&&!S&&(WI[g]=m)}}return m},BUt={exports:{}},iIe,SPt;function nMe(){if(SPt)return iIe;SPt=1;var n=JG,r=n("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return iIe=r,iIe}var _Nn=JG,sae=_Nn("%Object.getOwnPropertyDescriptor%",!0);if(sae)try{sae([],"length")}catch{sae=null}var rMe=sae,EPt=nMe(),SNn=jUt,A9=uce,kPt=rMe,ENn=function(r,o,l){if(!r||typeof r!="object"&&typeof r!="function")throw new A9("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new A9("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new A9("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new A9("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new A9("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new A9("`loose`, if provided, must be a boolean");var h=arguments.length>3?arguments[3]:null,b=arguments.length>4?arguments[4]:null,g=arguments.length>5?arguments[5]:null,m=arguments.length>6?arguments[6]:!1,S=!!kPt&&kPt(r,o);if(EPt)EPt(r,o,{configurable:g===null&&S?S.configurable:!g,enumerable:h===null&&S?S.enumerable:!h,value:l,writable:b===null&&S?S.writable:!b});else if(m||!h&&!b&&!g)r[o]=l;else throw new SNn("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},CPe=nMe(),HUt=function(){return!!CPe};HUt.hasArrayLengthDefineBug=function(){if(!CPe)return null;try{return CPe([],"length",{value:1}).length!==1}catch{return!0}};var kNn=HUt,RNn=JG,RPt=ENn,ANn=kNn(),APt=rMe,CPt=uce,CNn=RNn("%Math.floor%"),xNn=function(r,o){if(typeof r!="function")throw new CPt("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||CNn(o)!==o)throw new CPt("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],h=!0,b=!0;if("length"in r&&APt){var g=APt(r,"length");g&&!g.configurable&&(h=!1),g&&!g.writable&&(b=!1)}return(h||b||!l)&&(ANn?RPt(r,"length",o,!0,!0):RPt(r,"length",o)),r};(function(n){var r=tMe,o=JG,l=xNn,h=uce,b=o("%Function.prototype.apply%"),g=o("%Function.prototype.call%"),m=o("%Reflect.apply%",!0)||r.call(g,b),S=nMe(),_=o("%Math.max%");n.exports=function(C){if(typeof C!="function")throw new h("a function is required");var A=m(r,g,arguments);return l(A,1+_(0,C.length-(arguments.length-1)),!0)};var k=function(){return m(r,b,arguments)};S?S(n.exports,"apply",{value:k}):n.exports.apply=k})(BUt);var WUt=BUt.exports,UUt=JG,VUt=WUt,$Nn=VUt(UUt("String.prototype.indexOf")),GUt=function(r,o){var l=UUt(r,!!o);return typeof l=="function"&&$Nn(r,".prototype.")>-1?VUt(l):l},INn=eMe(),TNn=GUt,xPe=TNn("Object.prototype.toString"),fce=function(r){return INn&&r&&typeof r=="object"&&Symbol.toStringTag in r?!1:xPe(r)==="[object Arguments]"},KUt=function(r){return fce(r)?!0:r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&xPe(r)!=="[object Array]"&&xPe(r.callee)==="[object Function]"},PNn=function(){return fce(arguments)}();fce.isLegacyArguments=KUt;var ONn=PNn?fce:KUt,NNn=Object.prototype.toString,MNn=Function.prototype.toString,DNn=/^\s*(?:function)?\*/,zUt=eMe(),oIe=Object.getPrototypeOf,LNn=function(){if(!zUt)return!1;try{return Function("return function*() {}")()}catch{}},sIe,jNn=function(r){if(typeof r!="function")return!1;if(DNn.test(MNn.call(r)))return!0;if(!zUt){var o=NNn.call(r);return o==="[object GeneratorFunction]"}if(!oIe)return!1;if(typeof sIe>"u"){var l=LNn();sIe=l?oIe(l):!1}return oIe(r)===sIe},qUt=Function.prototype.toString,eN=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,$Pe,aae;if(typeof eN=="function"&&typeof Object.defineProperty=="function")try{$Pe=Object.defineProperty({},"length",{get:function(){throw aae}}),aae={},eN(function(){throw 42},null,$Pe)}catch(n){n!==aae&&(eN=null)}else eN=null;var FNn=/^\s*class\b/,IPe=function(r){try{var o=qUt.call(r);return FNn.test(o)}catch{return!1}},aIe=function(r){try{return IPe(r)?!1:(qUt.call(r),!0)}catch{return!1}},lae=Object.prototype.toString,BNn="[object Object]",HNn="[object Function]",WNn="[object GeneratorFunction]",UNn="[object HTMLAllCollection]",VNn="[object HTML document.all class]",GNn="[object HTMLCollection]",KNn=typeof Symbol=="function"&&!!Symbol.toStringTag,zNn=!(0 in[,]),TPe=function(){return!1};if(typeof document=="object"){var qNn=document.all;lae.call(qNn)===lae.call(document.all)&&(TPe=function(r){if((zNn||!r)&&(typeof r>"u"||typeof r=="object"))try{var o=lae.call(r);return(o===UNn||o===VNn||o===GNn||o===BNn)&&r("")==null}catch{}return!1})}var XNn=eN?function(r){if(TPe(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{eN(r,null,$Pe)}catch(o){if(o!==aae)return!1}return!IPe(r)&&aIe(r)}:function(r){if(TPe(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(KNn)return aIe(r);if(IPe(r))return!1;var o=lae.call(r);return o!==HNn&&o!==WNn&&!/^\[object HTML/.test(o)?!1:aIe(r)},JNn=XNn,YNn=Object.prototype.toString,XUt=Object.prototype.hasOwnProperty,QNn=function(r,o,l){for(var h=0,b=r.length;h=3&&(h=l),YNn.call(r)==="[object Array]"?QNn(r,o,h):typeof r=="string"?ZNn(r,o,h):eMn(r,o,h)},nMn=tMn,rMn=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],lIe=rMn,iMn=typeof globalThis>"u"?window:globalThis,oMn=function(){for(var r=[],o=0;o"u"?window:globalThis,PPe=sMn(),oMe=iMe("String.prototype.slice"),cIe=Object.getPrototypeOf,lMn=iMe("Array.prototype.indexOf",!0)||function(r,o){for(var l=0;l-1?o:o!=="Object"?!1:uMn(r)}return cae?cMn(r):null},fMn=YUt,dMn=function(r){return!!fMn(r)};(function(n){var r=ONn,o=jNn,l=YUt,h=dMn;function b(_e){return _e.call.bind(_e)}var g=typeof BigInt<"u",m=typeof Symbol<"u",S=b(Object.prototype.toString),_=b(Number.prototype.valueOf),k=b(String.prototype.valueOf),I=b(Boolean.prototype.valueOf);if(g)var C=b(BigInt.prototype.valueOf);if(m)var A=b(Symbol.prototype.valueOf);function M(_e,Pe){if(typeof _e!="object")return!1;try{return Pe(_e),!0}catch{return!1}}n.isArgumentsObject=r,n.isGeneratorFunction=o,n.isTypedArray=h;function D(_e){return typeof Promise<"u"&&_e instanceof Promise||_e!==null&&typeof _e=="object"&&typeof _e.then=="function"&&typeof _e.catch=="function"}n.isPromise=D;function H(_e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(_e):h(_e)||se(_e)}n.isArrayBufferView=H;function G(_e){return l(_e)==="Uint8Array"}n.isUint8Array=G;function Y(_e){return l(_e)==="Uint8ClampedArray"}n.isUint8ClampedArray=Y;function F(_e){return l(_e)==="Uint16Array"}n.isUint16Array=F;function Q(_e){return l(_e)==="Uint32Array"}n.isUint32Array=Q;function ne(_e){return l(_e)==="Int8Array"}n.isInt8Array=ne;function be(_e){return l(_e)==="Int16Array"}n.isInt16Array=be;function De(_e){return l(_e)==="Int32Array"}n.isInt32Array=De;function Ee(_e){return l(_e)==="Float32Array"}n.isFloat32Array=Ee;function Ae(_e){return l(_e)==="Float64Array"}n.isFloat64Array=Ae;function qe(_e){return l(_e)==="BigInt64Array"}n.isBigInt64Array=qe;function et(_e){return l(_e)==="BigUint64Array"}n.isBigUint64Array=et;function fe(_e){return S(_e)==="[object Map]"}fe.working=typeof Map<"u"&&fe(new Map);function L(_e){return typeof Map>"u"?!1:fe.working?fe(_e):_e instanceof Map}n.isMap=L;function ve(_e){return S(_e)==="[object Set]"}ve.working=typeof Set<"u"&&ve(new Set);function ye(_e){return typeof Set>"u"?!1:ve.working?ve(_e):_e instanceof Set}n.isSet=ye;function me(_e){return S(_e)==="[object WeakMap]"}me.working=typeof WeakMap<"u"&&me(new WeakMap);function je(_e){return typeof WeakMap>"u"?!1:me.working?me(_e):_e instanceof WeakMap}n.isWeakMap=je;function Be(_e){return S(_e)==="[object WeakSet]"}Be.working=typeof WeakSet<"u"&&Be(new WeakSet);function ze(_e){return Be(_e)}n.isWeakSet=ze;function Ze(_e){return S(_e)==="[object ArrayBuffer]"}Ze.working=typeof ArrayBuffer<"u"&&Ze(new ArrayBuffer);function Le(_e){return typeof ArrayBuffer>"u"?!1:Ze.working?Ze(_e):_e instanceof ArrayBuffer}n.isArrayBuffer=Le;function Ut(_e){return S(_e)==="[object DataView]"}Ut.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Ut(new DataView(new ArrayBuffer(1),0,1));function se(_e){return typeof DataView>"u"?!1:Ut.working?Ut(_e):_e instanceof DataView}n.isDataView=se;var Me=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function ft(_e){return S(_e)==="[object SharedArrayBuffer]"}function st(_e){return typeof Me>"u"?!1:(typeof ft.working>"u"&&(ft.working=ft(new Me)),ft.working?ft(_e):_e instanceof Me)}n.isSharedArrayBuffer=st;function at(_e){return S(_e)==="[object AsyncFunction]"}n.isAsyncFunction=at;function yt(_e){return S(_e)==="[object Map Iterator]"}n.isMapIterator=yt;function Mt(_e){return S(_e)==="[object Set Iterator]"}n.isSetIterator=Mt;function rn(_e){return S(_e)==="[object Generator]"}n.isGeneratorObject=rn;function $e(_e){return S(_e)==="[object WebAssembly.Module]"}n.isWebAssemblyCompiledModule=$e;function Te(_e){return M(_e,_)}n.isNumberObject=Te;function P(_e){return M(_e,k)}n.isStringObject=P;function T(_e){return M(_e,I)}n.isBooleanObject=T;function B(_e){return g&&M(_e,C)}n.isBigIntObject=B;function K(_e){return m&&M(_e,A)}n.isSymbolObject=K;function z(_e){return Te(_e)||P(_e)||T(_e)||B(_e)||K(_e)}n.isBoxedPrimitive=z;function Se(_e){return typeof Uint8Array<"u"&&(Le(_e)||st(_e))}n.isAnyArrayBuffer=Se,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(_e){Object.defineProperty(n,_e,{enumerable:!1,value:function(){throw new Error(_e+" is not supported in userland")}})})})(DUt);var hMn=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"};(function(n){var r={},o=Object.getOwnPropertyDescriptors||function(Me){for(var ft=Object.keys(Me),st={},at=0;at=at)return rn;switch(rn){case"%s":return String(st[ft++]);case"%d":return Number(st[ft++]);case"%j":try{return JSON.stringify(st[ft++])}catch{return"[Circular]"}default:return rn}}),Mt=st[ft];ft"u")return function(){return n.deprecate(se,Me).apply(this,arguments)};var ft=!1;function st(){if(!ft){if(ca.throwDeprecation)throw new Error(Me);ca.traceDeprecation?console.trace(Me):console.error(Me),ft=!0}return se.apply(this,arguments)}return st};var h={},b=/^$/;if(r.NODE_DEBUG){var g=r.NODE_DEBUG;g=g.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),b=new RegExp("^"+g+"$","i")}n.debuglog=function(se){if(se=se.toUpperCase(),!h[se])if(b.test(se)){var Me=ca.pid;h[se]=function(){var ft=n.format.apply(n,arguments);console.error("%s %d: %s",se,Me,ft)}}else h[se]=function(){};return h[se]};function m(se,Me){var ft={seen:[],stylize:_};return arguments.length>=3&&(ft.depth=arguments[2]),arguments.length>=4&&(ft.colors=arguments[3]),Y(Me)?ft.showHidden=Me:Me&&n._extend(ft,Me),Ee(ft.showHidden)&&(ft.showHidden=!1),Ee(ft.depth)&&(ft.depth=2),Ee(ft.colors)&&(ft.colors=!1),Ee(ft.customInspect)&&(ft.customInspect=!0),ft.colors&&(ft.stylize=S),I(ft,se,ft.depth)}n.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function S(se,Me){var ft=m.styles[Me];return ft?"\x1B["+m.colors[ft][0]+"m"+se+"\x1B["+m.colors[ft][1]+"m":se}function _(se,Me){return se}function k(se){var Me={};return se.forEach(function(ft,st){Me[ft]=!0}),Me}function I(se,Me,ft){if(se.customInspect&&Me&&L(Me.inspect)&&Me.inspect!==n.inspect&&!(Me.constructor&&Me.constructor.prototype===Me)){var st=Me.inspect(ft,se);return be(st)||(st=I(se,st,ft)),st}var at=C(se,Me);if(at)return at;var yt=Object.keys(Me),Mt=k(yt);if(se.showHidden&&(yt=Object.getOwnPropertyNames(Me)),fe(Me)&&(yt.indexOf("message")>=0||yt.indexOf("description")>=0))return A(Me);if(yt.length===0){if(L(Me)){var rn=Me.name?": "+Me.name:"";return se.stylize("[Function"+rn+"]","special")}if(Ae(Me))return se.stylize(RegExp.prototype.toString.call(Me),"regexp");if(et(Me))return se.stylize(Date.prototype.toString.call(Me),"date");if(fe(Me))return A(Me)}var $e="",Te=!1,P=["{","}"];if(G(Me)&&(Te=!0,P=["[","]"]),L(Me)){var T=Me.name?": "+Me.name:"";$e=" [Function"+T+"]"}if(Ae(Me)&&($e=" "+RegExp.prototype.toString.call(Me)),et(Me)&&($e=" "+Date.prototype.toUTCString.call(Me)),fe(Me)&&($e=" "+A(Me)),yt.length===0&&(!Te||Me.length==0))return P[0]+$e+P[1];if(ft<0)return Ae(Me)?se.stylize(RegExp.prototype.toString.call(Me),"regexp"):se.stylize("[Object]","special");se.seen.push(Me);var B;return Te?B=M(se,Me,ft,Mt,yt):B=yt.map(function(K){return D(se,Me,ft,Mt,K,Te)}),se.seen.pop(),H(B,$e,P)}function C(se,Me){if(Ee(Me))return se.stylize("undefined","undefined");if(be(Me)){var ft="'"+JSON.stringify(Me).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return se.stylize(ft,"string")}if(ne(Me))return se.stylize(""+Me,"number");if(Y(Me))return se.stylize(""+Me,"boolean");if(F(Me))return se.stylize("null","null")}function A(se){return"["+Error.prototype.toString.call(se)+"]"}function M(se,Me,ft,st,at){for(var yt=[],Mt=0,rn=Me.length;Mt-1&&(yt?rn=rn.split(` +`).map(function(Te){return" "+Te}).join(` +`).slice(2):rn=` +`+rn.split(` +`).map(function(Te){return" "+Te}).join(` +`))):rn=se.stylize("[Circular]","special")),Ee(Mt)){if(yt&&at.match(/^\d+$/))return rn;Mt=JSON.stringify(""+at),Mt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Mt=Mt.slice(1,-1),Mt=se.stylize(Mt,"name")):(Mt=Mt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Mt=se.stylize(Mt,"string"))}return Mt+": "+rn}function H(se,Me,ft){var st=se.reduce(function(at,yt){return yt.indexOf(` +`)>=0,at+yt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return st>60?ft[0]+(Me===""?"":Me+` + `)+" "+se.join(`, + `)+" "+ft[1]:ft[0]+Me+" "+se.join(", ")+" "+ft[1]}n.types=DUt;function G(se){return Array.isArray(se)}n.isArray=G;function Y(se){return typeof se=="boolean"}n.isBoolean=Y;function F(se){return se===null}n.isNull=F;function Q(se){return se==null}n.isNullOrUndefined=Q;function ne(se){return typeof se=="number"}n.isNumber=ne;function be(se){return typeof se=="string"}n.isString=be;function De(se){return typeof se=="symbol"}n.isSymbol=De;function Ee(se){return se===void 0}n.isUndefined=Ee;function Ae(se){return qe(se)&&ye(se)==="[object RegExp]"}n.isRegExp=Ae,n.types.isRegExp=Ae;function qe(se){return typeof se=="object"&&se!==null}n.isObject=qe;function et(se){return qe(se)&&ye(se)==="[object Date]"}n.isDate=et,n.types.isDate=et;function fe(se){return qe(se)&&(ye(se)==="[object Error]"||se instanceof Error)}n.isError=fe,n.types.isNativeError=fe;function L(se){return typeof se=="function"}n.isFunction=L;function ve(se){return se===null||typeof se=="boolean"||typeof se=="number"||typeof se=="string"||typeof se=="symbol"||typeof se>"u"}n.isPrimitive=ve,n.isBuffer=hMn;function ye(se){return Object.prototype.toString.call(se)}function me(se){return se<10?"0"+se.toString(10):se.toString(10)}var je=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Be(){var se=new Date,Me=[me(se.getHours()),me(se.getMinutes()),me(se.getSeconds())].join(":");return[se.getDate(),je[se.getMonth()],Me].join(" ")}n.log=function(){console.log("%s - %s",Be(),n.format.apply(n,arguments))},n.inherits=eM,n._extend=function(se,Me){if(!Me||!qe(Me))return se;for(var ft=Object.keys(Me),st=ft.length;st--;)se[ft[st]]=Me[ft[st]];return se};function ze(se,Me){return Object.prototype.hasOwnProperty.call(se,Me)}var Ze=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;n.promisify=function(Me){if(typeof Me!="function")throw new TypeError('The "original" argument must be of type Function');if(Ze&&Me[Ze]){var ft=Me[Ze];if(typeof ft!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ft,Ze,{value:ft,enumerable:!1,writable:!1,configurable:!0}),ft}function ft(){for(var st,at,yt=new Promise(function($e,Te){st=$e,at=Te}),Mt=[],rn=0;rnn.add(o)),await bMn(pMn)(r),n}var wMn=gMn;const QUt=KS(wMn);var sMe=class ZUt{constructor(r,o=new Map,l=0){this.prefix=r,this._existing=o,this.counter=l}clone(){const{prefix:r,_existing:o,counter:l}=this;return new ZUt(r,new Map(o),l)}getId(r){const o=r&&this._existing.get(r);if(o)return o;const l=this.prefix+this.counter;return this.counter++,r&&this._existing.set(r,l),l}hasId(r){return this._existing.has(r)}getOldIds(){return[...this._existing.keys()]}};(function(n,r){if(n.setImmediate)return;var o=1,l={},h=!1,b=n.document,g;function m(Y){typeof Y!="function"&&(Y=new Function(""+Y));for(var F=new Array(arguments.length-1),Q=0;Q"u"?typeof window>"u"?Uc:window:self);/*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const _me=self.crypto||self.msCrypto;var _Jn=class{constructor(a){if(!(_me&&_me.subtle)){throw new Error("crypto.subtle not found.");}if(a==="sha256"){this.algorithm={name:"SHA-256"};}else if(a==="sha1"){this.algorithm={name:"SHA-1"};}else {throw new Error(`Unsupported algorithm "${a}".`);}this._content="";}update(a){this._content+=a;}async digest(){const a=new TextEncoder().encode(this._content),w=new Uint8Array(await _me.subtle.digest(this.algorithm,a));let g="";for(let v=0;vv)&&($&&j>0&&C>a[j-1]||!$&&ja[j+1])&&(v=C,_=j);}if(v===null){this.done=!0;}else{const j=w.get(v)?_-1:_+1;a[_]=a[j],a[j]=v;for(const C of a){C>v&&w.set(C,!w.get(C));}}return g;}};/*! + */var eVt=class{constructor(r){this.current=r.sort(),this.done=!1,this.dir=new Map;for(let o=0;oh)&&(_&&m>0&&S>r[m-1]||!_&&mr[m+1])&&(h=S,b=m)}if(h===null)this.done=!0;else{const m=o.get(h)?b-1:b+1;r[b]=r[m],r[m]=h;for(const S of r)S>h&&o.set(S,!o.get(S))}return l}};/*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const jJn="http://www.w3.org/1999/02/22-rdf-syntax-ns#",Sme=jJn+"langString",jme="http://www.w3.org/2001/XMLSchema#string",t2="NamedNode",O9="BlankNode",dX="Literal",zwn="DefaultGraph",RT={};(()=>{const l="(?:<([^:]+:[^>]*)>)",w="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�"+"_",g=w+"0-9-·̀-ͯ‿-⁀",_="(_:(?:["+w+"0-9])(?:(?:["+g+".])*(?:["+g+"]))?)",p='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"',j="(?:\\^\\^"+l+")",$="(?:"+p+"(?:"+j+"|"+"(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))"+")?)",A="[ \\t]+",K="[ \\t]*",Q="(?:"+l+"|"+_+")"+A,ee=l+A,Y="(?:"+l+"|"+_+"|"+$+")"+K,Ie="(?:\\.|(?:(?:"+l+"|"+_+")"+K+"\\.))";RT.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,RT.empty=new RegExp("^"+K+"$"),RT.quad=new RegExp("^"+K+Q+ee+Y+Ie+K+"$");})();var TJn=class wX{static parse(a){const w=[],g={},v=a.split(RT.eoln);let _=0;for(const p of v){if(_++,RT.empty.test(p)){continue;}const j=p.match(RT.quad);if(j===null){throw new Error("N-Quads parse error on line "+_+".");}const C={subject:null,predicate:null,object:null,graph:null};if(j[1]!==void 0?C.subject={termType:t2,value:j[1]}:C.subject={termType:O9,value:j[2]},C.predicate={termType:t2,value:j[3]},j[4]!==void 0?C.object={termType:t2,value:j[4]}:j[5]!==void 0?C.object={termType:O9,value:j[5]}:(C.object={termType:dX,value:void 0,datatype:{termType:t2}},j[7]!==void 0?C.object.datatype.value=j[7]:j[8]!==void 0?(C.object.datatype.value=Sme,C.object.language=j[8]):C.object.datatype.value=jme,C.object.value=PJn(j[6])),j[9]!==void 0?C.graph={termType:t2,value:j[9]}:j[10]!==void 0?C.graph={termType:O9,value:j[10]}:C.graph={termType:zwn,value:""},!(C.graph.value in g)){g[C.graph.value]=[C],w.push(C);}else{let $=!0;const A=g[C.graph.value];for(const K of A){if(MJn(K,C)){$=!1;break;}}$&&(A.push(C),w.push(C));}}return w;}static serialize(a){Array.isArray(a)||(a=wX.legacyDatasetToQuads(a));const w=[];for(const g of a){w.push(wX.serializeQuad(g));}return w.sort().join("");}static serializeQuadComponents(a,w,g,v){let _="";return a.termType===t2?_+=`<${a.value}>`:_+=`${a.value}`,_+=` <${w.value}> `,g.termType===t2?_+=`<${g.value}>`:g.termType===O9?_+=g.value:(_+=`"${CJn(g.value)}"`,g.datatype.value===Sme?g.language&&(_+=`@${g.language}`):g.datatype.value!==jme&&(_+=`^^<${g.datatype.value}>`)),v.termType===t2?_+=` <${v.value}>`:v.termType===O9&&(_+=` ${v.value}`),_+=` . -`,_;}static serializeQuad(a){return wX.serializeQuadComponents(a.subject,a.predicate,a.object,a.graph);}static legacyDatasetToQuads(a){const w=[],g={"blank node":O9,IRI:t2,literal:dX};for(const v in a){a[v].forEach(p=>{const j={};for(const C in p){const $=p[C],A={termType:g[$.type],value:$.value};A.termType===dX&&(A.datatype={termType:t2},"datatype"in $&&(A.datatype.value=$.datatype),"language"in $?("datatype"in $||(A.datatype.value=Sme),A.language=$.language):"datatype"in $||(A.datatype.value=jme)),j[C]=A;}v==="@default"?j.graph={termType:zwn,value:""}:j.graph={termType:v.startsWith("_:")?O9:t2,value:v},w.push(j);});}return w;}};function MJn(l,a){return!(l.subject.termType===a.subject.termType&&l.object.termType===a.object.termType)||!(l.subject.value===a.subject.value&&l.predicate.value===a.predicate.value&&l.object.value===a.object.value)?!1:l.object.termType!==dX?!0:l.object.datatype.termType===a.object.datatype.termType&&l.object.language===a.object.language&&l.object.datatype.value===a.object.datatype.value;}const xJn=/["\\\n\r]/g;function CJn(l){return l.replace(xJn,function(a){switch(a){case'"':return'\\"';case"\\":return"\\\\";case` -`:return"\\n";case"\r":return"\\r";}});}const IJn=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function PJn(l){return l.replace(IJn,function(a,w,g,v){if(w){switch(w){case"t":return" ";case"b":return"\b";case"n":return` -`;case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\";}}if(g){return String.fromCharCode(parseInt(g,16));}if(v){throw new Error("Unsupported U escape");}});}/*! + */const mMn="http://www.w3.org/1999/02/22-rdf-syntax-ns#",fIe=mMn+"langString",dIe="http://www.w3.org/2001/XMLSchema#string",e2="NamedNode",nI="BlankNode",uae="Literal",IPt="DefaultGraph",bN={};(()=>{const n="(?:<([^:]+:[^>]*)>)",o="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�"+"_",l=o+"0-9-·̀-ͯ‿-⁀",b="(_:(?:["+o+"0-9])(?:(?:["+l+".])*(?:["+l+"]))?)",g='"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"',m="(?:\\^\\^"+n+")",_="(?:"+g+"(?:"+m+"|"+"(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*))"+")?)",k="[ \\t]+",I="[ \\t]*",C="(?:"+n+"|"+b+")"+k,A=n+k,M="(?:"+n+"|"+b+"|"+_+")"+I,D="(?:\\.|(?:(?:"+n+"|"+b+")"+I+"\\.))";bN.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,bN.empty=new RegExp("^"+I+"$"),bN.quad=new RegExp("^"+I+C+A+M+D+I+"$")})();var aMe=class fae{static parse(r){const o=[],l={},h=r.split(bN.eoln);let b=0;for(const g of h){if(b++,bN.empty.test(g))continue;const m=g.match(bN.quad);if(m===null)throw new Error("N-Quads parse error on line "+b+".");const S={subject:null,predicate:null,object:null,graph:null};if(m[1]!==void 0?S.subject={termType:e2,value:m[1]}:S.subject={termType:nI,value:m[2]},S.predicate={termType:e2,value:m[3]},m[4]!==void 0?S.object={termType:e2,value:m[4]}:m[5]!==void 0?S.object={termType:nI,value:m[5]}:(S.object={termType:uae,value:void 0,datatype:{termType:e2}},m[7]!==void 0?S.object.datatype.value=m[7]:m[8]!==void 0?(S.object.datatype.value=fIe,S.object.language=m[8]):S.object.datatype.value=dIe,S.object.value=EMn(m[6])),m[9]!==void 0?S.graph={termType:e2,value:m[9]}:m[10]!==void 0?S.graph={termType:nI,value:m[10]}:S.graph={termType:IPt,value:""},!(S.graph.value in l))l[S.graph.value]=[S],o.push(S);else{let _=!0;const k=l[S.graph.value];for(const I of k)if(yMn(I,S)){_=!1;break}_&&(k.push(S),o.push(S))}}return o}static serialize(r){Array.isArray(r)||(r=fae.legacyDatasetToQuads(r));const o=[];for(const l of r)o.push(fae.serializeQuad(l));return o.sort().join("")}static serializeQuadComponents(r,o,l,h){let b="";return r.termType===e2?b+=`<${r.value}>`:b+=`${r.value}`,b+=` <${o.value}> `,l.termType===e2?b+=`<${l.value}>`:l.termType===nI?b+=l.value:(b+=`"${_Mn(l.value)}"`,l.datatype.value===fIe?l.language&&(b+=`@${l.language}`):l.datatype.value!==dIe&&(b+=`^^<${l.datatype.value}>`)),h.termType===e2?b+=` <${h.value}>`:h.termType===nI&&(b+=` ${h.value}`),b+=` . +`,b}static serializeQuad(r){return fae.serializeQuadComponents(r.subject,r.predicate,r.object,r.graph)}static legacyDatasetToQuads(r){const o=[],l={"blank node":nI,IRI:e2,literal:uae};for(const h in r)r[h].forEach(g=>{const m={};for(const S in g){const _=g[S],k={termType:l[_.type],value:_.value};k.termType===uae&&(k.datatype={termType:e2},"datatype"in _&&(k.datatype.value=_.datatype),"language"in _?("datatype"in _||(k.datatype.value=fIe),k.language=_.language):"datatype"in _||(k.datatype.value=dIe)),m[S]=k}h==="@default"?m.graph={termType:IPt,value:""}:m.graph={termType:h.startsWith("_:")?nI:e2,value:h},o.push(m)});return o}};function yMn(n,r){return!(n.subject.termType===r.subject.termType&&n.object.termType===r.object.termType)||!(n.subject.value===r.subject.value&&n.predicate.value===r.predicate.value&&n.object.value===r.object.value)?!1:n.object.termType!==uae?!0:n.object.datatype.termType===r.object.datatype.termType&&n.object.language===r.object.language&&n.object.datatype.value===r.object.datatype.value}const vMn=/["\\\n\r]/g;function _Mn(n){return n.replace(vMn,function(r){switch(r){case'"':return'\\"';case"\\":return"\\\\";case` +`:return"\\n";case"\r":return"\\r"}})}const SMn=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g;function EMn(n){return n.replace(SMn,function(r,o,l,h){if(o)switch(o){case"t":return" ";case"b":return"\b";case"n":return` +`;case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(l)return String.fromCharCode(parseInt(l,16));if(h)throw new Error("Unsupported U escape")})}/*! * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. - */const Vwn=EJn,NJn=_Jn,OJn=SJn,Wwn=TJn;var AJn=class{constructor({createMessageDigest:a=()=>new NJn("sha256"),canonicalIdMap:w=new Map,maxDeepIterations:g=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new Vwn("_:c14n",w),this.createMessageDigest=a,this.maxDeepIterations=g,this.quads=null,this.deepIterations=null;}main(a){this.deepIterations=new Map,this.quads=a;for(const j of a){this._addBlankNodeQuadInfo({quad:j,component:j.subject}),this._addBlankNodeQuadInfo({quad:j,component:j.object}),this._addBlankNodeQuadInfo({quad:j,component:j.graph});}const w=new Map,g=[...this.blankNodeInfo.keys()];for(const j of g){this._hashAndTrackBlankNode({id:j,hashToBlankNodes:w});}const v=[...w.keys()].sort(),_=[];for(const j of v){const C=w.get(j);if(C.length>1){_.push(C);continue;}const $=C[0];this.canonicalIssuer.getId($);}for(const j of _){const C=[];for(const $ of j){if(this.canonicalIssuer.hasId($)){continue;}const A=new Vwn("_:b");A.getId($);const K=this.hashNDegreeQuads($,A);C.push(K);}C.sort($Jn);for(const $ of C){const A=$.issuer.getOldIds();for(const K of A){this.canonicalIssuer.getId(K);}}}const p=[];for(const j of this.quads){const C=Wwn.serializeQuadComponents(this._componentWithCanonicalId({component:j.subject}),j.predicate,this._componentWithCanonicalId({component:j.object}),this._componentWithCanonicalId({component:j.graph}));p.push(C);}return p.sort(),p.join("");}hashFirstDegreeQuads(a){const w=[],g=this.blankNodeInfo.get(a),v=g.quads;for(const p of v){const j={subject:null,predicate:p.predicate,object:null,graph:null};j.subject=this.modifyFirstDegreeComponent(a,p.subject,"subject"),j.object=this.modifyFirstDegreeComponent(a,p.object,"object"),j.graph=this.modifyFirstDegreeComponent(a,p.graph,"graph"),w.push(Wwn.serializeQuad(j));}w.sort();const _=this.createMessageDigest();for(const p of w){_.update(p);}return g.hash=_.digest(),g.hash;}hashRelatedBlankNode(a,w,g,v){let _;this.canonicalIssuer.hasId(a)?_=this.canonicalIssuer.getId(a):g.hasId(a)?_=g.getId(a):_=this.blankNodeInfo.get(a).hash;const p=this.createMessageDigest();return p.update(v),v!=="g"&&p.update(this.getRelatedPredicate(w)),p.update(_),p.digest();}hashNDegreeQuads(a,w){const g=this.deepIterations.get(a)||0;if(g>this.maxDeepIterations){throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);}this.deepIterations.set(a,g+1);const v=this.createMessageDigest(),_=this.createHashToRelated(a,w),p=[..._.keys()].sort();for(const j of p){v.update(j);let C="",$;const A=new OJn(_.get(j));for(;A.hasNext();){const K=A.next();let Q=w.clone(),ee="";const Y=[];let Ie=!1;for(const Me of K){if(this.canonicalIssuer.hasId(Me)?ee+=this.canonicalIssuer.getId(Me):(Q.hasId(Me)||Y.push(Me),ee+=Q.getId(Me)),C.length!==0&&ee>C){Ie=!0;break;}}if(!Ie){for(const Me of Y){const oe=this.hashNDegreeQuads(Me,Q);if(ee+=Q.getId(Me),ee+=`<${oe.hash}>`,Q=oe.issuer,C.length!==0&&ee>C){Ie=!0;break;}}Ie||(C.length===0||ee`;}createHashToRelated(a,w){const g=new Map,v=this.blankNodeInfo.get(a).quads;for(const _ of v){this._addRelatedBlankNodeHash({quad:_,component:_.subject,position:"s",id:a,issuer:w,hashToRelated:g}),this._addRelatedBlankNodeHash({quad:_,component:_.object,position:"o",id:a,issuer:w,hashToRelated:g}),this._addRelatedBlankNodeHash({quad:_,component:_.graph,position:"g",id:a,issuer:w,hashToRelated:g});}return g;}_hashAndTrackBlankNode({id:a,hashToBlankNodes:w}){const g=this.hashFirstDegreeQuads(a),v=w.get(g);v?v.push(a):w.set(g,[a]);}_addBlankNodeQuadInfo({quad:a,component:w}){if(w.termType!=="BlankNode"){return;}const g=w.value,v=this.blankNodeInfo.get(g);v?v.quads.add(a):this.blankNodeInfo.set(g,{quads:new Set([a]),hash:null});}_addRelatedBlankNodeHash({quad:a,component:w,position:g,id:v,issuer:_,hashToRelated:p}){if(!(w.termType==="BlankNode"&&w.value!==v)){return;}const j=w.value,C=this.hashRelatedBlankNode(j,a,_,g),$=p.get(C);$?$.push(j):p.set(C,[j]);}_componentWithCanonicalId({component:a}){return a.termType==="BlankNode"&&!a.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(a.value)}:a;}};function $Jn(l,a){return l.hasha.hash?1:0;}const LJn=AJn;function DJn(l){return new LJn().main(l);}var RJn=DJn;const Qpn=I5(RJn);function BJn(l,a){for(const w of a){l.add(w);}return l;}var FJn=BJn;const ove=I5(FJn);function KJn(l,a,w,g,v){const _=l.match(a,w,g,v);for(const p of _){l.delete(p);}return l;}var HJn=KJn;const Zpn=I5(HJn);function qJn(l,a){if(l.size!==a.size){return!1;}for(const w of l){if(!a.has(w)){return!1;}}return!0;}var UJn=qJn;const e2n=I5(UJn),GJn=l=>class{constructor(){el(this,"dataset");}init(){const a=l(this);this.dataset=(w=[])=>new a([...w]),this.dataset.Class=a,this.dataset.addAll=ove,this.dataset.deleteMatch=Zpn,this.dataset.equals=e2n;}},zJn=l=>class extends GJn(l){init(){super.init(),this.dataset.toCanonical=Qpn,this.dataset.toStream=Xpn,this.dataset.fromStream=a=>Ypn(this.dataset(),a);}};class n2n{constructor(a){this.value=a;}equals(a){return!!a&&a.termType===this.termType&&a.value===this.value;}}n2n.prototype.termType="BlankNode";class Qve{equals(a){return!!a&&a.termType===this.termType;}}Qve.prototype.termType="DefaultGraph";Qve.prototype.value="";function Xwn(l,a){if(!a){return null;}if(a.termType==="BlankNode"){return l.blankNode(a.value);}if(a.termType==="DefaultGraph"){return l.defaultGraph();}if(a.termType==="Literal"){return l.literal(a.value,a.language||l.namedNode(a.datatype.value));}if(a.termType==="NamedNode"){return l.namedNode(a.value);}if(a.termType==="Quad"){const w=l.fromTerm(a.subject),g=l.fromTerm(a.predicate),v=l.fromTerm(a.object),_=l.fromTerm(a.graph);return l.quad(w,g,v,_);}if(a.termType==="Variable"){return l.variable(a.value);}throw new Error(`unknown termType ${a.termType}`);}class uve{constructor(a,w,g){this.value=a,this.language=w,this.datatype=g;}equals(a){return!!a&&a.termType===this.termType&&a.value===this.value&&a.language===this.language&&a.datatype.equals(this.datatype);}}uve.prototype.termType="Literal";class tY{constructor(a){this.value=a;}equals(a){return!!a&&a.termType===this.termType&&a.value===this.value;}}tY.prototype.termType="NamedNode";class Zve{constructor(a,w,g,v){this.subject=a,this.predicate=w,this.object=g,this.graph=v;}equals(a){return!!a&&(a.termType==="Quad"||!a.termType)&&a.subject.equals(this.subject)&&a.predicate.equals(this.predicate)&&a.object.equals(this.object)&&a.graph.equals(this.graph);}}Zve.prototype.termType="Quad";Zve.prototype.value="";class t2n{constructor(a){this.value=a;}equals(a){return!!a&&a.termType===this.termType&&a.value===this.value;}}t2n.prototype.termType="Variable";const VJn=new tY("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),WJn=new tY("http://www.w3.org/2001/XMLSchema#string");class iY{constructor(){this.init();}init(){this._data={blankNodeCounter:0,defaultGraph:new Qve};}namedNode(a){return new tY(a);}blankNode(a){return a=a||"b"+ ++this._data.blankNodeCounter,new n2n(a);}literal(a,w){return typeof w==="string"?new uve(a,w,VJn):new uve(a,"",w||WJn);}variable(a){return new t2n(a);}defaultGraph(){return this._data.defaultGraph;}quad(a,w,g,v=this.defaultGraph()){return new Zve(a,w,g,v);}fromTerm(a){return Xwn(this,a);}fromQuad(a){return Xwn(this,a);}}iY.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];class Ywn extends Map{import(a,w,g){const v=this.get(a);return v?v.import(w,g):null;}}class XJn{constructor({factory:a}){this.factory=a,this.parsers=new Ywn,this.serializers=new Ywn;}import(a){if(a.parsers){for(const[w,g]of a.parsers){this.parsers.set(w,new g.constructor({factory:this.factory}));}}if(a.serializers){for(const[w,g]of a.serializers){this.serializers.set(w,new g.constructor({factory:this.factory}));}}return this;}}let YJn=class{init(){this.formats=new XJn({factory:this});}clone(a){this.formats.import(a.formats);}};const JJn=new iY,QJn={apply:(l,a,w)=>l(w[0]),get:(l,a)=>l(a)};function St(l,{factory:a=JJn}={}){const w=(g="")=>a.namedNode(`${l}${g.raw||g}`);return typeof Proxy>"u"?w:new Proxy(w,QJn);}let e3e=class{namespace(a){return St(a,{factory:this});}};e3e.exports=["namespace"];class i2n{init(){this.ns=QVn;}}const ZJn=St("http://www.w3.org/ns/auth/acl#"),eQn=ZJn,nQn=St("https://www.w3.org/ns/activitystreams#"),tQn=nQn,iQn=St("http://purl.org/ontology/bibo/"),rQn=iQn,cQn=St("http://creativecommons.org/ns#"),oQn=cQn,uQn=St("http://www.w3.org/ns/auth/cert#"),sQn=uQn,fQn=St("http://www.w3.org/2011/content#"),lQn=fQn,aQn=St("http://qudt.org/vocab/constant/"),hQn=aQn,dQn=St("http://www.cidoc-crm.org/cidoc-crm/"),wQn=dQn,bQn=St("http://www.w3.org/ns/csvw#"),gQn=bQn,pQn=St("http://commontag.org/ns#"),mQn=pQn,vQn=St("http://datashapes.org/sparql#"),yQn=vQn,kQn=St("http://datashapes.org/dash#"),EQn=kQn,_Qn=St("http://dbpedia.org/ontology/"),SQn=_Qn,jQn=St("http://purl.org/dc/elements/1.1/"),TQn=jQn,MQn=St("http://purl.org/dc/dcam/"),xQn=MQn,CQn=St("http://www.w3.org/ns/dcat#"),IQn=CQn,PQn=St("http://purl.org/dc/dcmitype/"),NQn=PQn,OQn=St("http://purl.org/dc/terms/"),AQn=OQn,$Qn=St("http://www.ics.forth.gr/isl/CRMdig/"),LQn=$Qn,DQn=St("http://qudt.org/vocab/discipline/"),RQn=DQn,BQn=St("http://usefulinc.com/ns/doap#"),FQn=BQn,KQn=St("http://www.w3.org/ns/dpv#"),HQn=KQn,qQn=St("http://www.w3.org/ns/dqv#"),UQn=qQn,GQn=St("http://www.linkedmodel.org/schema/dtype#"),zQn=GQn,VQn=St("http://www.w3.org/ns/duv#"),WQn=VQn,XQn=St("http://www.w3.org/ns/earl#"),YQn=XQn,JQn=St("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#"),QQn=JQn,ZQn=St("http://www.w3.org/2003/12/exif/ns#"),eZn=ZQn,nZn=St("http://xmlns.com/foaf/0.1/"),tZn=nZn,iZn=St("http://purl.org/vocab/frbr/core#"),rZn=iZn,cZn=St("http://www.opengis.net/ont/geosparql#"),oZn=cZn,uZn=St("http://www.opengis.net/def/function/geosparql/"),sZn=uZn,fZn=St("http://www.opengis.net/def/rule/geosparql/"),lZn=fZn,aZn=St("http://www.opengis.net/ont/gml#"),hZn=aZn,dZn=St("http://www.geonames.org/ontology#"),wZn=dZn,bZn=St("http://purl.org/goodrelations/v1#"),gZn=bZn,pZn=St("http://www.w3.org/2003/g/data-view#"),mZn=pZn,vZn=St("https://gs1.org/voc/"),yZn=vZn,kZn=St("http://vocab.gtfs.org/terms#"),EZn=kZn,_Zn=St("http://www.w3.org/2011/http#"),SZn=_Zn,jZn=St("http://www.w3.org/ns/hydra/core#"),TZn=jZn,MZn=St("http://www.w3.org/2002/12/cal/icaltzd#"),xZn=MZn,CZn=St("https://linked.art/ns/terms/"),IZn=CZn,PZn=St("http://www.w3.org/ns/ldp#"),NZn=PZn,OZn=St("http://www.w3.org/2000/10/swap/list#"),AZn=OZn,$Zn=St("http://www.w3.org/ns/locn#"),LZn=$Zn,DZn=St("http://www.w3.org/2000/10/swap/log#"),RZn=DZn,BZn=St("http://lexvo.org/ontology#"),FZn=BZn,KZn=St("http://w3id.org/nfdi4ing/metadata4ing#"),HZn=KZn,qZn=St("http://www.w3.org/ns/ma-ont#"),UZn=qZn,GZn=St("http://www.loc.gov/mads/rdf/v1#"),zZn=GZn,VZn=St("http://www.w3.org/2000/10/swap/math#"),WZn=VZn,XZn=St("http://www.w3.org/ns/oa#"),YZn=XZn,JZn=St("http://ogp.me/ns#"),QZn=JZn,ZZn=St("http://www.w3.org/ns/solid/oidc#"),eet=ZZn,net=St("http://www.w3.org/ns/org#"),tet=net,iet=St("http://www.w3.org/2002/07/owl#"),ret=iet,cet=St("http://www.w3.org/ns/pim/space#"),oet=cet,uet=St("http://qudt.org/vocab/prefix/"),set=uet,fet=St("http://www.w3.org/ns/prov#"),aet=fet,het=St("http://purl.org/linked-data/cube#"),det=het,wet=St("http://qudt.org/vocab/dimensionvector/"),bet=wet,get=St("http://qudt.org/vocab/quantitykind/"),pet=get,met=St("http://qudt.org/schema/qudt/"),vet=met,yet=St("http://rdaregistry.info/Elements/u/"),ket=yet,Eet=St("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),_et=Eet,jet=St("http://www.w3.org/ns/rdfa#"),Tet=jet,Met=St("http://www.w3.org/2000/01/rdf-schema#"),xet=Met,Cet=St("http://purl.org/stuff/rev#"),Iet=Cet,Pet=St("https://www.ica.org/standards/RiC/ontology#"),Net=Pet,Oet=St("http://www.w3.org/ns/r2rml#"),Aet=Oet,$et=St("http://purl.org/rss/1.0/"),Let=$et,Det=St("http://schema.org/"),Ret=Det,Bet=St("http://www.w3.org/ns/sparql-service-description#"),Fet=Bet,Ket=St("http://purl.org/linked-data/sdmx#"),Het=Ket,qet=St("http://semanticweb.cs.vu.nl/2009/11/sem/"),Uet=qet,Get=St("http://www.w3.org/2000/10/swap/set#"),zet=Get,Vet=St("http://www.opengis.net/ont/sf#"),Wet=Vet,Xet=St("http://www.w3.org/ns/shacl#"),Yet=Xet,Jet=St("http://www.w3.org/ns/shex#"),Qet=Jet,Zet=St("https://www.w3.org/ns/shacl-shacl#"),ent=Zet,nnt=St("http://rdfs.org/sioc/ns#"),tnt=nnt,int=St("http://www.w3.org/2004/02/skos/core#"),rnt=int,cnt=St("http://www.w3.org/2008/05/skos-xl#"),ont=cnt,unt=St("http://www.w3.org/ns/solid/terms#"),snt=unt,fnt=St("http://www.w3.org/ns/sosa/"),lnt=fnt,ant=St("http://qudt.org/vocab/sou/"),hnt=ant,dnt=St("http://www.w3.org/ns/ssn/"),wnt=dnt,bnt=St("http://www.w3.org/ns/posix/stat#"),gnt=bnt,pnt=St("http://www.w3.org/2000/10/swap/string#"),mnt=pnt,vnt=St("http://www.w3.org/2006/03/test-description#"),ynt=vnt,knt=St("http://www.w3.org/2006/time#"),Ent=knt,_nt=St("http://qudt.org/vocab/unit/"),Snt=_nt,jnt=St("http://www.linkedmodel.org/schema/vaem#"),Tnt=jnt,Mnt=St("http://purl.org/vocab/vann/"),xnt=Mnt,Cnt=St("http://www.w3.org/2006/vcard/ns#"),Int=Cnt,Pnt=St("http://rdfs.org/ns/void#"),Nnt=Pnt,Ont=St("http://www.w3.org/2003/06/sw-vocab-status/ns#"),Ant=Ont,$nt=St("http://www.w3.org/2007/05/powder-s#"),Lnt=$nt,Dnt=St("http://www.w3.org/2003/01/geo/wgs84_pos#"),Rnt=Dnt,Bnt=St("http://www.w3.org/1999/xhtml/vocab#"),Fnt=Bnt,Knt=St("http://rdf-vocabulary.ddialliance.org/xkos#"),Hnt=Knt,qnt=St("http://www.w3.org/2001/XMLSchema#"),Unt=qnt,Gnt=St("http://www.w3.org/2007/rif#"),znt=Gnt,Vnt=St("http://rdf.data-vocabulary.org/#"),Wnt=Vnt,Xnt=St("http://www.w3.org/2007/05/powder#"),Ynt=Xnt,Jnt=St("http://www.w3.org/XML/1998/namespace/"),Qnt=Jnt,n3e=l=>{const a=l.namespace("http://www.w3.org/2001/XMLSchema#"),w=l.namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#");return{first:w.first,nil:w.nil,rest:w.rest,langString:w.langString,xsd:a};};function j0(l,a){return typeof l>"u"||l===null?a:Array.isArray(l)?l:typeof l!=="string"&&l[Symbol.iterator]?[...l]:[l];}const Q9=new Tpn([e3e,iY]),{xsd:sve}=n3e(Q9);function Znt(l,a=Q9){return typeof l!=="boolean"?null:a.literal(l.toString(),sve("boolean"));}function ett(l,a=Q9){return typeof l!=="number"?null:Number.isInteger(l)?a.literal(l.toString(10),sve("integer")):a.literal(l.toString(10),sve("double"));}function ntt(l,a=Q9){return typeof l!=="string"?null:a.literal(l);}function ttt(l,a=Q9){return Znt(l,a)||ett(l,a)||ntt(l,a);}function itt(l,a){if(l&&typeof l!=="string"){throw new Error("Blank node identifier must be a string");}return a.blankNode(l);}function rtt(l,a,w){if(typeof l==="string"){return a=a&&(a.value||a.toString()),a&&a.indexOf(":")!==-1&&(a=w.namedNode(a)),w.literal(l.toString(),a);}const g=ttt(l,w);if(!g){throw new Error("The value cannot be converted to a literal node");}return g;}function Jwn(l,a){if(typeof l!=="string"){throw new Error("Named node must be an IRI string");}return a.namedNode(l);}function r2n(l,a="Literal",w,g){if(l&&typeof l==="object"&&l.termType){return l;}if(l&&l.constructor.name==="URL"){return Jwn(l.toString(),g);}if(a==="BlankNode"){return itt(l,g);}if(!(l===null||typeof l>"u")){if(a==="Literal"){return rtt(l,w,g);}if(a==="NamedNode"){return Jwn(l,g);}throw new Error("unknown type");}}function ctt(l,a,w,g){return(typeof l>"u"||l===null)&&!a?l:(j0(l)||[void 0]).reduce((v,_)=>typeof _==="object"&&_.terms?v.concat(_.terms):(v.push(r2n(_,a,w,g)),v),[]);}const Qwn=n3e(Q9);function ott(l,a){const w=a.termType!=="Literal",g=Qwn.langString.equals(a.datatype)||Qwn.xsd.string.equals(a.datatype);if(w||!g){return l;}const v=a.language.toLowerCase();return l.has(v)?l.get(v).push(a):l.set(v,[a]),l;}function utt(l){const a=l.reduce(ott,new Map),w=[...a.entries()];return g=>{const v=g.toLowerCase();if(v==="*"){return w[0]&&w[0][1];}const _=a.get(v);if(_){return _;}const p=w.find(([j])=>j.startsWith(v));return p&&p[1];};}function stt(l,{language:a}){const w=typeof a==="string"?[a]:a,g=utt(l);return w.map(g).find(Boolean)||[];}class t3e{constructor({dataset:a,graph:w,value:g,factory:v,namespace:_}){this.dataset=a,this.graph=w,this.factory=v,this.namespace=_,this.term=r2n(g,void 0,void 0,v);}clone({dataset:a=this.dataset,graph:w=this.graph,value:g,factory:v=this.factory,namespace:_=this.namespace}){return new t3e({dataset:a,graph:w,value:g,factory:v,namespace:_});}has(a,w){return this.matchProperty(j0(this.term),a,w,j0(this.graph),"subject").map(g=>this.clone({value:g}));}in(a){return this.matchProperty(null,a,j0(this.term),j0(this.graph),"subject").map(w=>this.clone({value:w}));}out(a,{language:w}={}){let g=this.matchProperty(j0(this.term),a,null,j0(this.graph),"object");return typeof w<"u"&&(g=stt(g,{language:w})),g.map(v=>this.clone({value:v}));}addIn(a,w){const g=[];return this.term&&w.forEach(v=>{a.forEach(_=>{this.dataset.add(this.factory.quad(v,_,this.term,this.graph));}),g.push(this.clone({value:v}));}),g;}addOut(a,w){const g=[];return this.term&&w.forEach(v=>{a.forEach(_=>{this.dataset.add(this.factory.quad(this.term,_,v,this.graph));}),g.push(this.clone({value:v}));}),g;}addList(a,w){this.term&&a.forEach(g=>{const v=w.map(()=>this.factory.blankNode());this.dataset.add(this.factory.quad(this.term,g,v[0]||this.namespace.nil,this.graph));for(let _=0;_{for(const g of this.dataset.match(this.term,w)){this.deleteItems(g);}});}deleteItems(a){let w=[a];for(;!w[w.length-1].object.equals(this.namespace.nil);){const g=w[w.length-1].object;w=w.concat([...this.dataset.match(g)]);}w.forEach(g=>{this.dataset.delete(g);});}match(a,w,g,v){if(!a&&!w&&!g&&!v){return[...this.dataset];}a=a||[null],w=w||[null],g=g||[null],v=v||[null];const _=[];for(const p of v){for(const j of a){for(const C of w){for(const $ of g){for(const A of this.dataset.match(j,C,$,p)){_.push(A);}}}}}return _;}matchProperty(a,w,g,v,_){return this.match(a,w,g,v).map(p=>p[_]);}deleteMatch(a,w,g,v){this.match(a,w,g,v).forEach(_=>{this.dataset.delete(_);});}}class S0{constructor({dataset:a,graph:w,term:g,value:v,factory:_,_context:p}){if(this.factory=_,this.namespace=n3e(_),p){this._context=p;return;}const j=g&&j0(g)||v&&j0(v)||[null];this._context=j.map(C=>new t3e({dataset:a,graph:w,value:C,factory:this.factory,namespace:this.namespace}));}get term(){const a=this.terms;if(a.length===1){return a[0];}}get terms(){return this._context.map(a=>a.term).filter(Boolean);}get value(){const a=this.term;return a&&a.value;}get values(){return this.terms.map(a=>a.value);}get dataset(){const a=this.datasets;if(a.length===1){return a[0];}}get datasets(){return this._context.map(a=>a.dataset).filter(Boolean);}any(){return S0.fromContext(this._context.map(a=>a.clone({})),this);}isList(){return this.term?!!(this.term.equals(this.namespace.nil)||this.out(this.namespace.first).term):!1;}list(){if(this.terms.length>1){throw new Error("iterator over multiple terms is not supported");}if(this.term&&(this.term.termType!=="NamedNode"&&this.term.termType!=="BlankNode"||!this.term.equals(this.namespace.nil)&&!this.out(this.namespace.first).term)){return null;}let a=this;return{[Symbol.iterator]:()=>({next:()=>{if(!a.term||a.term.equals(this.namespace.nil)){return{done:!0};}const w=a.out(this.namespace.first);if(w.terms.length>1){throw new Error(`Invalid list: multiple values for rdf:first on ${a.value}`);}const g=a.out(this.namespace.rest);if(g.terms.length>1){throw new Error(`Invalid list: multiple values for rdf:rest on ${a.value}`);}return a=g,{done:!1,value:w};}})};}toArray(){return this._context.map(a=>S0.fromContext(a,this)).filter(a=>a.terms.some(Boolean));}filter(a){const w=this._context.map(g=>S0.fromContext(g,this));return S0.fromContext(this._context.filter((g,v)=>a(S0.fromContext(g,this),v,w)),this);}forEach(a){return this.toArray().forEach(a),this;}map(a){return this.toArray().map(a);}toString(){return this.values.join();}node(a,{type:w,datatype:g,language:v}={}){a=this._toTermArray(a,w,g||v)||[null];const _=a.reduce((p,j)=>p.concat(this._context.reduce((C,$)=>C.concat([$.clone({value:j})]),[])),[]);return S0.fromContext(_,{factory:this.factory});}blankNode(a){return this.node(a,{type:"BlankNode"});}literal(a,w){return this.node(a,{type:"Literal",datatype:w});}namedNode(a){return this.node(a,{type:"NamedNode"});}in(a){a=this._toTermArray(a);const w=this._context.reduce((g,v)=>g.concat(v.in(a)),[]);return S0.fromContext(w,this);}out(a,w={}){a=this._toTermArray(a);const g=this._context.reduce((v,_)=>v.concat(_.out(a,w)),[]);return S0.fromContext(g,this);}has(a,w){a=this._toTermArray(a),w=this._toTermArray(w);const g=this._context.reduce((v,_)=>v.concat(_.has(a,w)),[]);return S0.fromContext(g,this);}addIn(a,w,g){if(!a){throw new Error("predicate parameter is required");}typeof w==="function"&&(g=w,w=null),a=this._toTermArray(a),w=this._toTermArray(w)||[this.factory.blankNode()];const v=this._context.map(_=>_.addIn(a,w));return g&&S0.fromContext(v,this).forEach(g),this;}addOut(a,w,g){if(!a){throw new Error("predicate parameter is required");}typeof w==="function"&&(g=w,w=null),a=this._toTermArray(a),w=this._toTermArray(w)||[this.factory.blankNode()];const v=this._context.map(_=>_.addOut(a,w));return g&&S0.fromContext(v,this).forEach(g),this;}addList(a,w){if(!a||!w){throw new Error("predicate and items parameter is required");}return a=this._toTermArray(a),w=this._toTermArray(w),this._context.forEach(g=>g.addList(a,w)),this;}deleteIn(a,w){return a=this._toTermArray(a),w=this._toTermArray(w),this._context.forEach(g=>g.deleteIn(a,w)),this;}deleteOut(a,w){return a=this._toTermArray(a),w=this._toTermArray(w),this._context.forEach(g=>g.deleteOut(a,w)),this;}deleteList(a){if(!a){throw new Error("predicate parameter is required");}return a=this._toTermArray(a),this._context.forEach(w=>w.deleteList(a)),this;}_toTermArray(a,w,g){return ctt(a,w,g,this.factory);}static fromContext(a,{factory:w}){return new S0({_context:j0(a),factory:w});}}function ftt({dataset:l,graph:a,term:w,value:g,factory:v=Q9,_context:_}){return new S0({dataset:l,graph:a,term:w,value:g,factory:v,_context:_});}class c2n{clownface({...a}={}){return!a.dataset&&typeof this.dataset==="function"&&(a.dataset=this.dataset()),ftt({...a,factory:this});}}c2n.exports=["clownface"];function ltt(l){return"_:"+l.value;}function att(l,a){return[...l].map(w=>a(w)).join(` + */const TPt=sMe,kMn=dce,RMn=eVt,PPt=aMe;var lMe=class{constructor({createMessageDigest:r=()=>new kMn("sha256"),canonicalIdMap:o=new Map,maxDeepIterations:l=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new TPt("_:c14n",o),this.createMessageDigest=r,this.maxDeepIterations=l,this.quads=null,this.deepIterations=null}main(r){this.deepIterations=new Map,this.quads=r;for(const m of r)this._addBlankNodeQuadInfo({quad:m,component:m.subject}),this._addBlankNodeQuadInfo({quad:m,component:m.object}),this._addBlankNodeQuadInfo({quad:m,component:m.graph});const o=new Map,l=[...this.blankNodeInfo.keys()];for(const m of l)this._hashAndTrackBlankNode({id:m,hashToBlankNodes:o});const h=[...o.keys()].sort(),b=[];for(const m of h){const S=o.get(m);if(S.length>1){b.push(S);continue}const _=S[0];this.canonicalIssuer.getId(_)}for(const m of b){const S=[];for(const _ of m){if(this.canonicalIssuer.hasId(_))continue;const k=new TPt("_:b");k.getId(_);const I=this.hashNDegreeQuads(_,k);S.push(I)}S.sort(AMn);for(const _ of S){const k=_.issuer.getOldIds();for(const I of k)this.canonicalIssuer.getId(I)}}const g=[];for(const m of this.quads){const S=PPt.serializeQuadComponents(this._componentWithCanonicalId({component:m.subject}),m.predicate,this._componentWithCanonicalId({component:m.object}),this._componentWithCanonicalId({component:m.graph}));g.push(S)}return g.sort(),g.join("")}hashFirstDegreeQuads(r){const o=[],l=this.blankNodeInfo.get(r),h=l.quads;for(const g of h){const m={subject:null,predicate:g.predicate,object:null,graph:null};m.subject=this.modifyFirstDegreeComponent(r,g.subject,"subject"),m.object=this.modifyFirstDegreeComponent(r,g.object,"object"),m.graph=this.modifyFirstDegreeComponent(r,g.graph,"graph"),o.push(PPt.serializeQuad(m))}o.sort();const b=this.createMessageDigest();for(const g of o)b.update(g);return l.hash=b.digest(),l.hash}hashRelatedBlankNode(r,o,l,h){let b;this.canonicalIssuer.hasId(r)?b=this.canonicalIssuer.getId(r):l.hasId(r)?b=l.getId(r):b=this.blankNodeInfo.get(r).hash;const g=this.createMessageDigest();return g.update(h),h!=="g"&&g.update(this.getRelatedPredicate(o)),g.update(b),g.digest()}hashNDegreeQuads(r,o){const l=this.deepIterations.get(r)||0;if(l>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(r,l+1);const h=this.createMessageDigest(),b=this.createHashToRelated(r,o),g=[...b.keys()].sort();for(const m of g){h.update(m);let S="",_;const k=new RMn(b.get(m));for(;k.hasNext();){const I=k.next();let C=o.clone(),A="";const M=[];let D=!1;for(const H of I)if(this.canonicalIssuer.hasId(H)?A+=this.canonicalIssuer.getId(H):(C.hasId(H)||M.push(H),A+=C.getId(H)),S.length!==0&&A>S){D=!0;break}if(!D){for(const H of M){const G=this.hashNDegreeQuads(H,C);if(A+=C.getId(H),A+=`<${G.hash}>`,C=G.issuer,S.length!==0&&A>S){D=!0;break}}D||(S.length===0||A`}createHashToRelated(r,o){const l=new Map,h=this.blankNodeInfo.get(r).quads;for(const b of h)this._addRelatedBlankNodeHash({quad:b,component:b.subject,position:"s",id:r,issuer:o,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:b,component:b.object,position:"o",id:r,issuer:o,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:b,component:b.graph,position:"g",id:r,issuer:o,hashToRelated:l});return l}_hashAndTrackBlankNode({id:r,hashToBlankNodes:o}){const l=this.hashFirstDegreeQuads(r),h=o.get(l);h?h.push(r):o.set(l,[r])}_addBlankNodeQuadInfo({quad:r,component:o}){if(o.termType!=="BlankNode")return;const l=o.value,h=this.blankNodeInfo.get(l);h?h.quads.add(r):this.blankNodeInfo.set(l,{quads:new Set([r]),hash:null})}_addRelatedBlankNodeHash({quad:r,component:o,position:l,id:h,issuer:b,hashToRelated:g}){if(!(o.termType==="BlankNode"&&o.value!==h))return;const m=o.value,S=this.hashRelatedBlankNode(m,r,b,l),_=g.get(S);_?_.push(m):g.set(S,[m])}_componentWithCanonicalId({component:r}){return r.termType==="BlankNode"&&!r.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(r.value)}:r}};function AMn(n,r){return n.hashr.hash?1:0}const CMn=lMe;function xMn(n){return new CMn().main(n)}var $Mn=xMn;const tVt=KS($Mn);function IMn(n,r){for(const o of r)n.add(o);return n}var TMn=IMn;const OPe=KS(TMn);function PMn(n,r,o,l,h){const b=n.match(r,o,l,h);for(const g of b)n.delete(g);return n}var OMn=PMn;const nVt=KS(OMn);function NMn(n,r){if(n.size!==r.size)return!1;for(const o of n)if(!r.has(o))return!1;return!0}var MMn=NMn;const rVt=KS(MMn),DMn=n=>class{constructor(){k$e(this,"dataset")}init(){const r=n(this);this.dataset=(o=[])=>new r([...o]),this.dataset.Class=r,this.dataset.addAll=OPe,this.dataset.deleteMatch=nVt,this.dataset.equals=rVt}},LMn=n=>class extends DMn(n){init(){super.init(),this.dataset.toCanonical=tVt,this.dataset.toStream=NUt,this.dataset.fromStream=r=>QUt(this.dataset(),r)}};let iVt=class{constructor(r){this.value=r}equals(r){return!!r&&r.termType===this.termType&&r.value===this.value}};iVt.prototype.termType="BlankNode";let cMe=class{equals(r){return!!r&&r.termType===this.termType}};cMe.prototype.termType="DefaultGraph";cMe.prototype.value="";function OPt(n,r){if(!r)return null;if(r.termType==="BlankNode")return n.blankNode(r.value);if(r.termType==="DefaultGraph")return n.defaultGraph();if(r.termType==="Literal")return n.literal(r.value,r.language||n.namedNode(r.datatype.value));if(r.termType==="NamedNode")return n.namedNode(r.value);if(r.termType==="Quad"){const o=n.fromTerm(r.subject),l=n.fromTerm(r.predicate),h=n.fromTerm(r.object),b=n.fromTerm(r.graph);return n.quad(o,l,h,b)}if(r.termType==="Variable")return n.variable(r.value);throw new Error(`unknown termType ${r.termType}`)}let NPe=class{constructor(r,o,l){this.value=r,this.language=o,this.datatype=l}equals(r){return!!r&&r.termType===this.termType&&r.value===this.value&&r.language===this.language&&r.datatype.equals(this.datatype)}};NPe.prototype.termType="Literal";let hce=class{constructor(r){this.value=r}equals(r){return!!r&&r.termType===this.termType&&r.value===this.value}};hce.prototype.termType="NamedNode";let uMe=class{constructor(r,o,l,h){this.subject=r,this.predicate=o,this.object=l,this.graph=h}equals(r){return!!r&&(r.termType==="Quad"||!r.termType)&&r.subject.equals(this.subject)&&r.predicate.equals(this.predicate)&&r.object.equals(this.object)&&r.graph.equals(this.graph)}};uMe.prototype.termType="Quad";uMe.prototype.value="";let oVt=class{constructor(r){this.value=r}equals(r){return!!r&&r.termType===this.termType&&r.value===this.value}};oVt.prototype.termType="Variable";const jMn=new hce("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),FMn=new hce("http://www.w3.org/2001/XMLSchema#string");let bce=class{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new cMe}}namedNode(r){return new hce(r)}blankNode(r){return r=r||"b"+ ++this._data.blankNodeCounter,new iVt(r)}literal(r,o){return typeof o=="string"?new NPe(r,o,jMn):new NPe(r,"",o||FMn)}variable(r){return new oVt(r)}defaultGraph(){return this._data.defaultGraph}quad(r,o,l,h=this.defaultGraph()){return new uMe(r,o,l,h)}fromTerm(r){return OPt(this,r)}fromQuad(r){return OPt(this,r)}};bce.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];class Qae extends Map{import(r,o,l){const h=this.get(r);return h?h.import(o,l):null}}class BMn{constructor({factory:r}){this.factory=r,this.parsers=new Qae,this.serializers=new Qae}import(r){if(r.parsers)for(const[o,l]of r.parsers)this.parsers.set(o,new l.constructor({factory:this.factory}));if(r.serializers)for(const[o,l]of r.serializers)this.serializers.set(o,new l.constructor({factory:this.factory}));return this}}let HMn=class{init(){this.formats=new BMn({factory:this})}clone(r){this.formats.import(r.formats)}};const fMe=new bce,WMn={apply:(n,r,o)=>n(o[0]),get:(n,r)=>n(r)};function Un(n,{factory:r=fMe}={}){const o=(l="")=>r.namedNode(`${n}${l.raw||l}`);return typeof Proxy>"u"?o:new Proxy(o,WMn)}let dMe=class{namespace(r){return Un(r,{factory:this})}};dMe.exports=["namespace"];class sVt{init(){this.ns=Q$n}}const UMn=Un("http://www.w3.org/ns/auth/acl#"),VMn=UMn,GMn=Un("https://www.w3.org/ns/activitystreams#"),KMn=GMn,zMn=Un("http://purl.org/ontology/bibo/"),qMn=zMn,XMn=Un("http://creativecommons.org/ns#"),JMn=XMn,YMn=Un("http://www.w3.org/ns/auth/cert#"),QMn=YMn,ZMn=Un("http://www.w3.org/2011/content#"),eDn=ZMn,tDn=Un("http://qudt.org/vocab/constant/"),nDn=tDn,rDn=Un("http://www.cidoc-crm.org/cidoc-crm/"),iDn=rDn,oDn=Un("http://www.w3.org/ns/csvw#"),sDn=oDn,aDn=Un("http://commontag.org/ns#"),lDn=aDn,cDn=Un("http://datashapes.org/sparql#"),uDn=cDn,fDn=Un("http://datashapes.org/dash#"),dDn=fDn,hDn=Un("http://dbpedia.org/ontology/"),bDn=hDn,pDn=Un("http://purl.org/dc/elements/1.1/"),gDn=pDn,wDn=Un("http://purl.org/dc/dcam/"),mDn=wDn,yDn=Un("http://www.w3.org/ns/dcat#"),vDn=yDn,_Dn=Un("http://purl.org/dc/dcmitype/"),SDn=_Dn,EDn=Un("http://purl.org/dc/terms/"),kDn=EDn,RDn=Un("http://www.ics.forth.gr/isl/CRMdig/"),ADn=RDn,CDn=Un("http://qudt.org/vocab/discipline/"),xDn=CDn,$Dn=Un("http://usefulinc.com/ns/doap#"),IDn=$Dn,TDn=Un("http://www.w3.org/ns/dpv#"),PDn=TDn,ODn=Un("http://www.w3.org/ns/dqv#"),NDn=ODn,MDn=Un("http://www.linkedmodel.org/schema/dtype#"),DDn=MDn,LDn=Un("http://www.w3.org/ns/duv#"),jDn=LDn,FDn=Un("http://www.w3.org/ns/earl#"),BDn=FDn,HDn=Un("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#"),WDn=HDn,UDn=Un("http://www.w3.org/2003/12/exif/ns#"),VDn=UDn,GDn=Un("http://xmlns.com/foaf/0.1/"),KDn=GDn,zDn=Un("http://purl.org/vocab/frbr/core#"),qDn=zDn,XDn=Un("http://www.opengis.net/ont/geosparql#"),JDn=XDn,YDn=Un("http://www.opengis.net/def/function/geosparql/"),QDn=YDn,ZDn=Un("http://www.opengis.net/def/rule/geosparql/"),eLn=ZDn,tLn=Un("http://www.opengis.net/ont/gml#"),nLn=tLn,rLn=Un("http://www.geonames.org/ontology#"),iLn=rLn,oLn=Un("http://purl.org/goodrelations/v1#"),sLn=oLn,aLn=Un("http://www.w3.org/2003/g/data-view#"),lLn=aLn,cLn=Un("https://gs1.org/voc/"),uLn=cLn,fLn=Un("http://vocab.gtfs.org/terms#"),dLn=fLn,hLn=Un("http://www.w3.org/2011/http#"),bLn=hLn,pLn=Un("http://www.w3.org/ns/hydra/core#"),gLn=pLn,wLn=Un("http://www.w3.org/2002/12/cal/icaltzd#"),mLn=wLn,yLn=Un("https://linked.art/ns/terms/"),vLn=yLn,_Ln=Un("http://www.w3.org/ns/ldp#"),SLn=_Ln,ELn=Un("http://www.w3.org/2000/10/swap/list#"),kLn=ELn,RLn=Un("http://www.w3.org/ns/locn#"),ALn=RLn,CLn=Un("http://www.w3.org/2000/10/swap/log#"),xLn=CLn,$Ln=Un("http://lexvo.org/ontology#"),ILn=$Ln,TLn=Un("http://w3id.org/nfdi4ing/metadata4ing#"),PLn=TLn,OLn=Un("http://www.w3.org/ns/ma-ont#"),NLn=OLn,MLn=Un("http://www.loc.gov/mads/rdf/v1#"),DLn=MLn,LLn=Un("http://www.w3.org/2000/10/swap/math#"),jLn=LLn,FLn=Un("http://www.w3.org/ns/oa#"),BLn=FLn,HLn=Un("http://ogp.me/ns#"),WLn=HLn,ULn=Un("http://www.w3.org/ns/solid/oidc#"),VLn=ULn,GLn=Un("http://www.w3.org/ns/org#"),KLn=GLn,zLn=Un("http://www.w3.org/2002/07/owl#"),qLn=zLn,XLn=Un("http://www.w3.org/ns/pim/space#"),JLn=XLn,YLn=Un("http://qudt.org/vocab/prefix/"),QLn=YLn,ZLn=Un("http://www.w3.org/ns/prov#"),ejn=ZLn,tjn=Un("http://purl.org/linked-data/cube#"),njn=tjn,rjn=Un("http://qudt.org/vocab/dimensionvector/"),ijn=rjn,ojn=Un("http://qudt.org/vocab/quantitykind/"),sjn=ojn,ajn=Un("http://qudt.org/schema/qudt/"),ljn=ajn,cjn=Un("http://rdaregistry.info/Elements/u/"),ujn=cjn,fjn=Un("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),djn=fjn,hjn=Un("http://www.w3.org/ns/rdfa#"),bjn=hjn,pjn=Un("http://www.w3.org/2000/01/rdf-schema#"),gjn=pjn,wjn=Un("http://purl.org/stuff/rev#"),mjn=wjn,yjn=Un("https://www.ica.org/standards/RiC/ontology#"),vjn=yjn,_jn=Un("http://www.w3.org/ns/r2rml#"),Sjn=_jn,Ejn=Un("http://purl.org/rss/1.0/"),kjn=Ejn,Rjn=Un("http://schema.org/"),Ajn=Rjn,Cjn=Un("http://www.w3.org/ns/sparql-service-description#"),xjn=Cjn,$jn=Un("http://purl.org/linked-data/sdmx#"),Ijn=$jn,Tjn=Un("http://semanticweb.cs.vu.nl/2009/11/sem/"),Pjn=Tjn,Ojn=Un("http://www.w3.org/2000/10/swap/set#"),Njn=Ojn,Mjn=Un("http://www.opengis.net/ont/sf#"),Djn=Mjn,Ljn=Un("http://www.w3.org/ns/shacl#"),jjn=Ljn,Fjn=Un("http://www.w3.org/ns/shex#"),Bjn=Fjn,Hjn=Un("https://www.w3.org/ns/shacl-shacl#"),Wjn=Hjn,Ujn=Un("http://rdfs.org/sioc/ns#"),Vjn=Ujn,Gjn=Un("http://www.w3.org/2004/02/skos/core#"),Kjn=Gjn,zjn=Un("http://www.w3.org/2008/05/skos-xl#"),qjn=zjn,Xjn=Un("http://www.w3.org/ns/solid/terms#"),Jjn=Xjn,Yjn=Un("http://www.w3.org/ns/sosa/"),Qjn=Yjn,Zjn=Un("http://qudt.org/vocab/sou/"),eFn=Zjn,tFn=Un("http://www.w3.org/ns/ssn/"),nFn=tFn,rFn=Un("http://www.w3.org/ns/posix/stat#"),iFn=rFn,oFn=Un("http://www.w3.org/2000/10/swap/string#"),sFn=oFn,aFn=Un("http://www.w3.org/2006/03/test-description#"),lFn=aFn,cFn=Un("http://www.w3.org/2006/time#"),uFn=cFn,fFn=Un("http://qudt.org/vocab/unit/"),dFn=fFn,hFn=Un("http://www.linkedmodel.org/schema/vaem#"),bFn=hFn,pFn=Un("http://purl.org/vocab/vann/"),gFn=pFn,wFn=Un("http://www.w3.org/2006/vcard/ns#"),mFn=wFn,yFn=Un("http://rdfs.org/ns/void#"),vFn=yFn,_Fn=Un("http://www.w3.org/2003/06/sw-vocab-status/ns#"),SFn=_Fn,EFn=Un("http://www.w3.org/2007/05/powder-s#"),kFn=EFn,RFn=Un("http://www.w3.org/2003/01/geo/wgs84_pos#"),AFn=RFn,CFn=Un("http://www.w3.org/1999/xhtml/vocab#"),xFn=CFn,$Fn=Un("http://rdf-vocabulary.ddialliance.org/xkos#"),IFn=$Fn,TFn=Un("http://www.w3.org/2001/XMLSchema#"),PFn=TFn,OFn=Un("http://www.w3.org/2007/rif#"),NFn=OFn,MFn=Un("http://rdf.data-vocabulary.org/#"),DFn=MFn,LFn=Un("http://www.w3.org/2007/05/powder#"),jFn=LFn,FFn=Un("http://www.w3.org/XML/1998/namespace/"),BFn=FFn,hMe=n=>{const r=n.namespace("http://www.w3.org/2001/XMLSchema#"),o=n.namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#");return{first:o.first,nil:o.nil,rest:o.rest,langString:o.langString,xsd:r}};function D1(n,r){return typeof n>"u"||n===null?r:Array.isArray(n)?n:typeof n!="string"&&n[Symbol.iterator]?[...n]:[n]}const vT=new cUt([dMe,bce]),{xsd:MPe}=hMe(vT);function HFn(n,r=vT){return typeof n!="boolean"?null:r.literal(n.toString(),MPe("boolean"))}function WFn(n,r=vT){return typeof n!="number"?null:Number.isInteger(n)?r.literal(n.toString(10),MPe("integer")):r.literal(n.toString(10),MPe("double"))}function UFn(n,r=vT){return typeof n!="string"?null:r.literal(n)}function VFn(n,r=vT){return HFn(n,r)||WFn(n,r)||UFn(n,r)}function GFn(n,r){if(n&&typeof n!="string")throw new Error("Blank node identifier must be a string");return r.blankNode(n)}function KFn(n,r,o){if(typeof n=="string")return r=r&&(r.value||r.toString()),r&&r.indexOf(":")!==-1&&(r=o.namedNode(r)),o.literal(n.toString(),r);const l=VFn(n,o);if(!l)throw new Error("The value cannot be converted to a literal node");return l}function NPt(n,r){if(typeof n!="string")throw new Error("Named node must be an IRI string");return r.namedNode(n)}function aVt(n,r="Literal",o,l){if(n&&typeof n=="object"&&n.termType)return n;if(n&&n.constructor.name==="URL")return NPt(n.toString(),l);if(r==="BlankNode")return GFn(n,l);if(!(n===null||typeof n>"u")){if(r==="Literal")return KFn(n,o,l);if(r==="NamedNode")return NPt(n,l);throw new Error("unknown type")}}function zFn(n,r,o,l){return(typeof n>"u"||n===null)&&!r?n:(D1(n)||[void 0]).reduce((h,b)=>typeof b=="object"&&b.terms?h.concat(b.terms):(h.push(aVt(b,r,o,l)),h),[])}const MPt=hMe(vT);function qFn(n,r){const o=r.termType!=="Literal",l=MPt.langString.equals(r.datatype)||MPt.xsd.string.equals(r.datatype);if(o||!l)return n;const h=r.language.toLowerCase();return n.has(h)?n.get(h).push(r):n.set(h,[r]),n}function XFn(n){const r=n.reduce(qFn,new Map),o=[...r.entries()];return l=>{const h=l.toLowerCase();if(h==="*")return o[0]&&o[0][1];const b=r.get(h);if(b)return b;const g=o.find(([m])=>m.startsWith(h));return g&&g[1]}}function JFn(n,{language:r}){const o=typeof r=="string"?[r]:r,l=XFn(n);return o.map(l).find(Boolean)||[]}class bMe{constructor({dataset:r,graph:o,value:l,factory:h,namespace:b}){this.dataset=r,this.graph=o,this.factory=h,this.namespace=b,this.term=aVt(l,void 0,void 0,h)}clone({dataset:r=this.dataset,graph:o=this.graph,value:l,factory:h=this.factory,namespace:b=this.namespace}){return new bMe({dataset:r,graph:o,value:l,factory:h,namespace:b})}has(r,o){return this.matchProperty(D1(this.term),r,o,D1(this.graph),"subject").map(l=>this.clone({value:l}))}in(r){return this.matchProperty(null,r,D1(this.term),D1(this.graph),"subject").map(o=>this.clone({value:o}))}out(r,{language:o}={}){let l=this.matchProperty(D1(this.term),r,null,D1(this.graph),"object");return typeof o<"u"&&(l=JFn(l,{language:o})),l.map(h=>this.clone({value:h}))}addIn(r,o){const l=[];return this.term&&o.forEach(h=>{r.forEach(b=>{this.dataset.add(this.factory.quad(h,b,this.term,this.graph))}),l.push(this.clone({value:h}))}),l}addOut(r,o){const l=[];return this.term&&o.forEach(h=>{r.forEach(b=>{this.dataset.add(this.factory.quad(this.term,b,h,this.graph))}),l.push(this.clone({value:h}))}),l}addList(r,o){this.term&&r.forEach(l=>{const h=o.map(()=>this.factory.blankNode());this.dataset.add(this.factory.quad(this.term,l,h[0]||this.namespace.nil,this.graph));for(let b=0;b{for(const l of this.dataset.match(this.term,o))this.deleteItems(l)})}deleteItems(r){let o=[r];for(;!o[o.length-1].object.equals(this.namespace.nil);){const l=o[o.length-1].object;o=o.concat([...this.dataset.match(l)])}o.forEach(l=>{this.dataset.delete(l)})}match(r,o,l,h){if(!r&&!o&&!l&&!h)return[...this.dataset];r=r||[null],o=o||[null],l=l||[null],h=h||[null];const b=[];for(const g of h)for(const m of r)for(const S of o)for(const _ of l)for(const k of this.dataset.match(m,S,_,g))b.push(k);return b}matchProperty(r,o,l,h,b){return this.match(r,o,l,h).map(g=>g[b])}deleteMatch(r,o,l,h){this.match(r,o,l,h).forEach(b=>{this.dataset.delete(b)})}}class M1{constructor({dataset:r,graph:o,term:l,value:h,factory:b,_context:g}){if(this.factory=b,this.namespace=hMe(b),g){this._context=g;return}const m=l&&D1(l)||h&&D1(h)||[null];this._context=m.map(S=>new bMe({dataset:r,graph:o,value:S,factory:this.factory,namespace:this.namespace}))}get term(){const r=this.terms;if(r.length===1)return r[0]}get terms(){return this._context.map(r=>r.term).filter(Boolean)}get value(){const r=this.term;return r&&r.value}get values(){return this.terms.map(r=>r.value)}get dataset(){const r=this.datasets;if(r.length===1)return r[0]}get datasets(){return this._context.map(r=>r.dataset).filter(Boolean)}any(){return M1.fromContext(this._context.map(r=>r.clone({})),this)}isList(){return this.term?!!(this.term.equals(this.namespace.nil)||this.out(this.namespace.first).term):!1}list(){if(this.terms.length>1)throw new Error("iterator over multiple terms is not supported");if(this.term&&(this.term.termType!=="NamedNode"&&this.term.termType!=="BlankNode"||!this.term.equals(this.namespace.nil)&&!this.out(this.namespace.first).term))return null;let r=this;return{[Symbol.iterator]:()=>({next:()=>{if(!r.term||r.term.equals(this.namespace.nil))return{done:!0};const o=r.out(this.namespace.first);if(o.terms.length>1)throw new Error(`Invalid list: multiple values for rdf:first on ${r.value}`);const l=r.out(this.namespace.rest);if(l.terms.length>1)throw new Error(`Invalid list: multiple values for rdf:rest on ${r.value}`);return r=l,{done:!1,value:o}}})}}toArray(){return this._context.map(r=>M1.fromContext(r,this)).filter(r=>r.terms.some(Boolean))}filter(r){const o=this._context.map(l=>M1.fromContext(l,this));return M1.fromContext(this._context.filter((l,h)=>r(M1.fromContext(l,this),h,o)),this)}forEach(r){return this.toArray().forEach(r),this}map(r){return this.toArray().map(r)}toString(){return this.values.join()}node(r,{type:o,datatype:l,language:h}={}){r=this._toTermArray(r,o,l||h)||[null];const b=r.reduce((g,m)=>g.concat(this._context.reduce((S,_)=>S.concat([_.clone({value:m})]),[])),[]);return M1.fromContext(b,{factory:this.factory})}blankNode(r){return this.node(r,{type:"BlankNode"})}literal(r,o){return this.node(r,{type:"Literal",datatype:o})}namedNode(r){return this.node(r,{type:"NamedNode"})}in(r){r=this._toTermArray(r);const o=this._context.reduce((l,h)=>l.concat(h.in(r)),[]);return M1.fromContext(o,this)}out(r,o={}){r=this._toTermArray(r);const l=this._context.reduce((h,b)=>h.concat(b.out(r,o)),[]);return M1.fromContext(l,this)}has(r,o){r=this._toTermArray(r),o=this._toTermArray(o);const l=this._context.reduce((h,b)=>h.concat(b.has(r,o)),[]);return M1.fromContext(l,this)}addIn(r,o,l){if(!r)throw new Error("predicate parameter is required");typeof o=="function"&&(l=o,o=null),r=this._toTermArray(r),o=this._toTermArray(o)||[this.factory.blankNode()];const h=this._context.map(b=>b.addIn(r,o));return l&&M1.fromContext(h,this).forEach(l),this}addOut(r,o,l){if(!r)throw new Error("predicate parameter is required");typeof o=="function"&&(l=o,o=null),r=this._toTermArray(r),o=this._toTermArray(o)||[this.factory.blankNode()];const h=this._context.map(b=>b.addOut(r,o));return l&&M1.fromContext(h,this).forEach(l),this}addList(r,o){if(!r||!o)throw new Error("predicate and items parameter is required");return r=this._toTermArray(r),o=this._toTermArray(o),this._context.forEach(l=>l.addList(r,o)),this}deleteIn(r,o){return r=this._toTermArray(r),o=this._toTermArray(o),this._context.forEach(l=>l.deleteIn(r,o)),this}deleteOut(r,o){return r=this._toTermArray(r),o=this._toTermArray(o),this._context.forEach(l=>l.deleteOut(r,o)),this}deleteList(r){if(!r)throw new Error("predicate parameter is required");return r=this._toTermArray(r),this._context.forEach(o=>o.deleteList(r)),this}_toTermArray(r,o,l){return zFn(r,o,l,this.factory)}static fromContext(r,{factory:o}){return new M1({_context:D1(r),factory:o})}}function YFn({dataset:n,graph:r,term:o,value:l,factory:h=vT,_context:b}){return new M1({dataset:n,graph:r,term:o,value:l,factory:h,_context:b})}class lVt{clownface({...r}={}){return!r.dataset&&typeof this.dataset=="function"&&(r.dataset=this.dataset()),YFn({...r,factory:this})}}lVt.exports=["clownface"];function QFn(n){return"_:"+n.value}function ZFn(n,r){return[...n].map(o=>r(o)).join(` `)+` -`;}function htt(){return"";}function o2n(l){return"<"+l.value+">";}const dtt=/["\\\\\n\r]/,wtt=/["\\\\\n\r]/g,btt={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r"};function gtt(l){return btt[l];}function ptt(l){return dtt.test(l)?l.replace(wtt,gtt):l;}function mtt(l){const a=ptt(l.value);return l.datatype.value==="http://www.w3.org/2001/XMLSchema#string"?'"'+a+'"':l.datatype.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"?'"'+a+'"@'+l.language:'"'+a+'"^^'+o2n(l.datatype);}function vtt(l,a){const w=a(l.subject),g=a(l.predicate),v=a(l.object),_=a(l.graph);return`${w} ${g} ${v} ${_?_+" ":""}.`;}function ytt(l){return"?"+l.value;}function sv(l){if(!l){return null;}if(l.termType==="BlankNode"){return ltt(l);}if(l.termType==="DefaultGraph"){return htt();}if(l.termType==="Literal"){return mtt(l);}if(l.termType==="NamedNode"){return o2n(l);}if(l.termType==="Quad"||l.subject&&l.predicate&&l.object&&l.graph){return vtt(l,sv);}if(l.termType==="Variable"){return ytt(l);}if(l[Symbol.iterator]){return att(l,sv);}throw new Error(`unknown termType ${l.termType}`);}class ktt{constructor(a){if(this.index=new Map,a){for(const[w,g]of a){this.set(w,g);}}}get size(){return this.index.size;}clear(){this.index.clear();}delete(a){return this.index.delete(sv(a));}*entries(){for(const[,{term:a,value:w}]of this.index){yield[a,w];}}forEach(a,w){for(const g of this.entries()){a.call(w,g[1],g[0],this);}}get(a){const w=this.index.get(sv(a));return w&&w.value;}has(a){return this.index.has(sv(a));}*keys(){for(const[,{term:a}]of this.index){yield a;}}set(a,w){const g=sv(a);return this.index.set(g,{term:a,value:w}),this;}*values(){for(const[,{value:a}]of this.index){yield a;}}[Symbol.iterator](){return this.entries()[Symbol.iterator]();}}let u2n=class{termMap(a){return new ktt(a);}};u2n.exports=["termMap"];function Zwn(l){try{return sv(l);}catch{return null;}}class jX{constructor(a){if(this.index=new Map,a){for(const w of a){this.add(w);}}}get size(){return this.index.size;}add(a){const w=sv(a);return this.index.has(w)||this.index.set(w,a),this;}clear(){this.index.clear();}delete(a){return a?this.index.delete(Zwn(a)):!1;}entries(){return this.values().entries();}forEach(a,w){return this.values().forEach(a,w);}has(a){return a?this.index.has(Zwn(a)):!1;}values(){return new Set(this.index.values());}keys(){return this.values();}[Symbol.iterator](){return this.index.values();}}let s2n=class{termSet(a){return new jX(a);}};s2n.exports=["termSet"];class Ett{constructor(){this.quadLevel=new Map;}add(a,w){this.quadLevel.set(sv(a),w);}has(a,w){const g=this.quadLevel.get(sv(a));return g===void 0?!1:g<=w;}}function Tme({backward:l,callback:a,dataset:w,filter:g,forward:v,term:_,visited:p=new Ett}){const j=(C,$)=>{const A=K=>{for(const Q of K){if(p.has(Q,$)){continue;}p.add(Q,$);const ee={dataset:w,level:$,quad:Q};g(ee)&&(a(ee),v&&j(Q.object,$+1),l&&j(Q.subject,$+1));}};v&&A(w.match(C)),l&&A(w.match(null,null,C));};j(_,0);}class _tt{constructor(a,{backward:w=!1,factory:g,forward:v=!0}){this.backward=w,this.factory=g,this.filter=a,this.forward=v;}forEach({term:a,dataset:w},g){Tme({backward:this.backward,callback:g,dataset:w,filter:this.filter,forward:this.forward,term:a});}match({term:a,dataset:w}){const g=this.factory.dataset();return Tme({backward:this.backward,callback:({quad:v})=>g.add(v),dataset:w,filter:this.filter,forward:this.forward,term:a}),g;}reduce({term:a,dataset:w},g,v){let _=v;return Tme({backward:this.backward,callback:p=>{_=g(p,_);},dataset:w,filter:this.filter,forward:this.forward,term:a}),_;}}class f2n{traverser(a,{backward:w=!1,forward:g=!0}={}){return new _tt(a,{backward:w,factory:this,forward:g});}}f2n.exports=["traverser"];const Stt=new I$([iY,YJn,e3e,i2n,c2n,u2n,s2n,f2n]);function jtt(l,{checkOpen:a=!0}={}){return l!==null&&typeof l==="object"&&(l.writable||l.readable||!a||l.writable===void 0&&l.readable===void 0)&&typeof l.pipe==="function";}function Ttt(l,{checkOpen:a=!0}={}){return jtt(l,{checkOpen:a})&&(l.readable||!a)&&typeof l.read==="function"&&typeof l.readable==="boolean"&&typeof l.readableObjectMode==="boolean"&&typeof l.destroy==="function"&&typeof l.destroyed==="boolean";}const Mtt=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);var cv,R$,_5,r2,YT,l2n,a2n;class xtt{constructor(a,w){I9(this,YT);I9(this,cv);I9(this,R$);I9(this,_5,!1);I9(this,r2);nv(this,cv,a),nv(this,R$,w);}next(){const a=()=>eme(this,YT,l2n).call(this);return nv(this,r2,Fh(this,r2)?Fh(this,r2).then(a,a):a()),Fh(this,r2);}return(a){const w=()=>eme(this,YT,a2n).call(this,a);return Fh(this,r2)?Fh(this,r2).then(w,w):w();}}cv=new WeakMap,R$=new WeakMap,_5=new WeakMap,r2=new WeakMap,YT=new WeakSet,l2n=async function(){if(Fh(this,_5)){return{done:!0,value:void 0};}let a;try{a=await Fh(this,cv).read();}catch(w){throw nv(this,r2,void 0),nv(this,_5,!0),Fh(this,cv).releaseLock(),w;}return a.done&&(nv(this,r2,void 0),nv(this,_5,!0),Fh(this,cv).releaseLock()),a;},a2n=async function(a){if(Fh(this,_5)){return{done:!0,value:a};}if(nv(this,_5,!0),!Fh(this,R$)){const w=Fh(this,cv).cancel(a);return Fh(this,cv).releaseLock(),await w,{done:!0,value:a};}return Fh(this,cv).releaseLock(),{done:!0,value:a};};const i3e=Symbol();function h2n(){return this[i3e].next();}Object.defineProperty(h2n,"name",{value:"next"});function d2n(l){return this[i3e].return(l);}Object.defineProperty(d2n,"name",{value:"return"});const Ctt=Object.create(Mtt,{next:{enumerable:!0,configurable:!0,writable:!0,value:h2n},return:{enumerable:!0,configurable:!0,writable:!0,value:d2n}});function Itt({preventCancel:l=!1}={}){const a=this.getReader(),w=new xtt(a,l),g=Object.create(Ctt);return g[i3e]=w,g;}const Ptt=l=>{if(Ttt(l,{checkOpen:!1})&&r3e.on!==void 0){return Ott(l);}if(typeof(l==null?void 0:l[Symbol.asyncIterator])==="function"){return l;}if(Ntt.call(l)==="[object ReadableStream]"){return Itt.call(l);}throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.");},{toString:Ntt}=Object.prototype,Ott=async function*(l){const a=new AbortController,w={};Att(l,a,w);try{for await(const[g]of r3e.on(l,"data",{signal:a.signal})){yield g;}}catch(g){if(w.error!==void 0){throw w.error;}if(!a.signal.aborted){throw g;}}finally{l.destroy();}},Att=async(l,a,w)=>{try{await r3e.finished(l,{cleanup:!0,readable:!0,writable:!1,error:!1});}catch(g){w.error=g;}finally{a.abort();}},r3e={},$tt=async(l,{init:a,convertChunk:w,getSize:g,truncateChunk:v,addChunk:_,getFinalChunk:p,finalize:j},{maxBuffer:C=Number.POSITIVE_INFINITY}={})=>{const $=Ptt(l),A=a();A.length=0;try{for await(const K of $){const Q=Dtt(K),ee=w[Q](K,A);w2n({convertedChunk:ee,state:A,getSize:g,truncateChunk:v,addChunk:_,maxBuffer:C});}return Ltt({state:A,convertChunk:w,getSize:g,truncateChunk:v,addChunk:_,getFinalChunk:p,maxBuffer:C}),j(A);}catch(K){const Q=typeof K==="object"&&K!==null?K:new Error(K);throw Q.bufferedData=j(A),Q;}},Ltt=({state:l,getSize:a,truncateChunk:w,addChunk:g,getFinalChunk:v,maxBuffer:_})=>{const p=v(l);p!==void 0&&w2n({convertedChunk:p,state:l,getSize:a,truncateChunk:w,addChunk:g,maxBuffer:_});},w2n=({convertedChunk:l,state:a,getSize:w,truncateChunk:g,addChunk:v,maxBuffer:_})=>{const p=w(l),j=a.length+p;if(j<=_){ebn(l,a,v,j);return;}const C=g(l,_-a.length);throw C!==void 0&&ebn(C,a,v,_),new Rtt;},ebn=(l,a,w,g)=>{a.contents=w(l,a,g),a.length=g;},Dtt=l=>{var g;const a=typeof l;if(a==="string"){return"string";}if(a!=="object"||l===null){return"others";}if((g=globalThis.Buffer)!=null&&g.isBuffer(l)){return"buffer";}const w=nbn.call(l);return w==="[object ArrayBuffer]"?"arrayBuffer":w==="[object DataView]"?"dataView":Number.isInteger(l.byteLength)&&Number.isInteger(l.byteOffset)&&nbn.call(l.buffer)==="[object ArrayBuffer]"?"typedArray":"others";},{toString:nbn}=Object.prototype;class Rtt extends Error{constructor(){super("maxBuffer exceeded");el(this,"name","MaxBufferError");}}const Btt=l=>l,Ftt=({contents:l})=>l,Ktt=l=>{throw new Error(`Streams in object mode are not supported: ${String(l)}`);},Htt=l=>l.length;async function qtt(l,a){return $tt(l,Wtt,a);}const Utt=()=>({contents:"",textDecoder:new TextDecoder}),YW=(l,{textDecoder:a})=>a.decode(l,{stream:!0}),Gtt=(l,{contents:a})=>a+l,ztt=(l,a)=>l.slice(0,a),Vtt=({textDecoder:l})=>{const a=l.decode();return a===""?void 0:a;},Wtt={init:Utt,convertChunk:{string:Btt,buffer:YW,arrayBuffer:YW,dataView:YW,typedArray:YW,others:Ktt},getSize:Htt,truncateChunk:ztt,addChunk:Gtt,getFinalChunk:Vtt,finalize:Ftt},Xtt={rif:"http://www.w3.org/2007/rif#",v:"http://rdf.data-vocabulary.org/#",wdr:"http://www.w3.org/2007/05/powder#",xml:"http://www.w3.org/XML/1998/namespace/"},Ytt={acl:"http://www.w3.org/ns/auth/acl#",as:"https://www.w3.org/ns/activitystreams#",bibo:"http://purl.org/ontology/bibo/",cc:"http://creativecommons.org/ns#",cert:"http://www.w3.org/ns/auth/cert#",cnt:"http://www.w3.org/2011/content#",constant:"http://qudt.org/vocab/constant/",crm:"http://www.cidoc-crm.org/cidoc-crm/",csvw:"http://www.w3.org/ns/csvw#",ctag:"http://commontag.org/ns#","dash-sparql":"http://datashapes.org/sparql#",dash:"http://datashapes.org/dash#",dbo:"http://dbpedia.org/ontology/",dc11:"http://purl.org/dc/elements/1.1/",dcam:"http://purl.org/dc/dcam/",dcat:"http://www.w3.org/ns/dcat#",dcmitype:"http://purl.org/dc/dcmitype/",dcterms:"http://purl.org/dc/terms/",dig:"http://www.ics.forth.gr/isl/CRMdig/",discipline:"http://qudt.org/vocab/discipline/",doap:"http://usefulinc.com/ns/doap#",dpv:"http://www.w3.org/ns/dpv#",dqv:"http://www.w3.org/ns/dqv#",dtype:"http://www.linkedmodel.org/schema/dtype#",duv:"http://www.w3.org/ns/duv#",earl:"http://www.w3.org/ns/earl#",ebucore:"http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",exif:"http://www.w3.org/2003/12/exif/ns#",foaf:"http://xmlns.com/foaf/0.1/",frbr:"http://purl.org/vocab/frbr/core#",geo:"http://www.opengis.net/ont/geosparql#",geof:"http://www.opengis.net/def/function/geosparql/",geor:"http://www.opengis.net/def/rule/geosparql/",gml:"http://www.opengis.net/ont/gml#",gn:"http://www.geonames.org/ontology#",gr:"http://purl.org/goodrelations/v1#",grddl:"http://www.w3.org/2003/g/data-view#",gs1:"https://gs1.org/voc/",gtfs:"http://vocab.gtfs.org/terms#",http:"http://www.w3.org/2011/http#",hydra:"http://www.w3.org/ns/hydra/core#",ical:"http://www.w3.org/2002/12/cal/icaltzd#",la:"https://linked.art/ns/terms/",ldp:"http://www.w3.org/ns/ldp#",list:"http://www.w3.org/2000/10/swap/list#",locn:"http://www.w3.org/ns/locn#",log:"http://www.w3.org/2000/10/swap/log#",lvont:"http://lexvo.org/ontology#",m4i:"http://w3id.org/nfdi4ing/metadata4ing#",ma:"http://www.w3.org/ns/ma-ont#",mads:"http://www.loc.gov/mads/rdf/v1#",math:"http://www.w3.org/2000/10/swap/math#",oa:"http://www.w3.org/ns/oa#",og:"http://ogp.me/ns#",oidc:"http://www.w3.org/ns/solid/oidc#",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pim:"http://www.w3.org/ns/pim/space#",prefix:"http://qudt.org/vocab/prefix/",prov:"http://www.w3.org/ns/prov#",qb:"http://purl.org/linked-data/cube#",qkdv:"http://qudt.org/vocab/dimensionvector/",quantitykind:"http://qudt.org/vocab/quantitykind/",qudt:"http://qudt.org/schema/qudt/",rdau:"http://rdaregistry.info/Elements/u/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfa:"http://www.w3.org/ns/rdfa#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rev:"http://purl.org/stuff/rev#",rico:"https://www.ica.org/standards/RiC/ontology#",rr:"http://www.w3.org/ns/r2rml#",rss:"http://purl.org/rss/1.0/",schema:"http://schema.org/",sd:"http://www.w3.org/ns/sparql-service-description#",sdmx:"http://purl.org/linked-data/sdmx#",sem:"http://semanticweb.cs.vu.nl/2009/11/sem/",set:"http://www.w3.org/2000/10/swap/set#",sf:"http://www.opengis.net/ont/sf#",sh:"http://www.w3.org/ns/shacl#",shex:"http://www.w3.org/ns/shex#",shsh:"http://www.w3.org/ns/shacl-shacl#",sioc:"http://rdfs.org/sioc/ns#",skos:"http://www.w3.org/2004/02/skos/core#",skosxl:"http://www.w3.org/2008/05/skos-xl#",solid:"http://www.w3.org/ns/solid/terms#",sosa:"http://www.w3.org/ns/sosa/",sou:"http://qudt.org/vocab/sou/",ssn:"http://www.w3.org/ns/ssn/",stat:"http://www.w3.org/ns/posix/stat#",string:"http://www.w3.org/2000/10/swap/string#",test:"http://www.w3.org/2006/03/test-description#",time:"http://www.w3.org/2006/time#",unit:"http://qudt.org/vocab/unit/",vaem:"http://www.linkedmodel.org/schema/vaem#",vann:"http://purl.org/vocab/vann/",vcard:"http://www.w3.org/2006/vcard/ns#",void:"http://rdfs.org/ns/void#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",vso:"http://purl.org/vso/ns#",wdrs:"http://www.w3.org/2007/05/powder-s#",wgs:"http://www.w3.org/2003/01/geo/wgs84_pos#",xhv:"http://www.w3.org/1999/xhtml/vocab#",xkos:"http://rdf-vocabulary.ddialliance.org/xkos#",xsd:"http://www.w3.org/2001/XMLSchema#"},fve={...Ytt,...Xtt};function Jtt(l,a={}){const w={...fve,...a},g=Array.from(Object.entries(w)).filter(([,v])=>l.startsWith(v));if(g.length){g.sort(([,_],[,p])=>p.length-_.length);const v=g[0];return l.replace(new RegExp(`^${v[1]}`),`${v[0]}:`);}return"";}function A9(l){return typeof l==="string"||l instanceof String;}const Qtt="http://www.w3.org/2001/XMLSchema#string";function Yl(l){if(typeof l==="string"){return l;}if(!l){return"";}if(typeof l.id<"u"&&l.termType!=="Quad"){return l.id;}let a,w,g,v;switch(l.termType){case"NamedNode":return l.value;case"BlankNode":return`_:${l.value}`;case"Variable":return`?${l.value}`;case"DefaultGraph":return"";case"Literal":return l.language?`"${l.value}"@${l.language}`:`"${l.value}"${l.datatype&&l.datatype.value!==Qtt?`^^${l.datatype.value}`:""}`;case"Quad":return a=Mme(Yl(l.subject)),w=Mme(Yl(l.predicate)),g=Mme(Yl(l.object)),v=l.graph.termType==="DefaultGraph"?"":` ${Yl(l.graph)}`,`<<${a} ${w} ${g}${v}>>`;default:throw new Error(`Unexpected termType: ${l.termType}`);}}const Ztt=/^"(.*".*)(?="[^"]*$)/;function Mme(l){return l.replace(Ztt,(a,w)=>`"${w.replace(/"/g,'""')}`);}class eit{constructor(a){if(this._size=0,this._graphs=Object.create(null),this._id=0,this._ids=Object.create(null),this._ids["><"]=0,this._entities=Object.create(null),this._quads=new Map,a){for(const w of a){this.add(w);}}}get size(){let a=this._size;if(a!==null){return a;}a=0;const w=this._graphs;let g,v;for(const _ in w){for(const p in g=w[_].subjects){for(const j in v=g[p]){a+=Object.keys(v[j]).length;}}}return this._size=a,this._size;}add(a){let w=Yl(a.subject),g=Yl(a.predicate),v=Yl(a.object);const _=Yl(a.graph);let p=this._graphs[_];p||(p=this._graphs[_]={subjects:{},predicates:{},objects:{}},Object.freeze(p));const j=this._ids,C=this._entities;return w=j[w]||(j[C[++this._id]=w]=this._id),g=j[g]||(j[C[++this._id]=g]=this._id),v=j[v]||(j[C[++this._id]=v]=this._id),this._addToIndex(p.subjects,w,g,v),this._addToIndex(p.predicates,g,v,w),this._addToIndex(p.objects,v,w,g),this._setQuad(w,g,v,_,a),this._size=null,this;}delete(a){let w=Yl(a.subject),g=Yl(a.predicate),v=Yl(a.object);const _=Yl(a.graph),p=this._ids,j=this._graphs;let C,$,A;if(!(w=p[w])||!(g=p[g])||!(v=p[v])||!(C=j[_])||!($=C.subjects[w])||!(A=$[g])||!(v in A)){return this;}this._removeFromIndex(C.subjects,w,g,v),this._removeFromIndex(C.predicates,g,v,w),this._removeFromIndex(C.objects,v,w,g),this._size!==null&&this._size--,this._deleteQuad(w,g,v,_);for(w in C.subjects){return this;}return delete j[_],this;}has(a){const w=Yl(a.subject),g=Yl(a.predicate),v=Yl(a.object),_=Yl(a.graph),p=this._graphs[_];if(!p){return!1;}const j=this._ids;let C,$,A;return A9(w)&&!(C=j[w])||A9(g)&&!($=j[g])||A9(v)&&!(A=j[v])?!1:this._countInIndex(p.objects,A,C,$)===1;}match(a,w,g,v){return this._createDataset(this._match(a,w,g,v));}[Symbol.iterator](){return this._match()[Symbol.iterator]();}_addToIndex(a,w,g,v){const _=a[w]||(a[w]={}),p=_[g]||(_[g]={}),j=v in p;return j||(p[v]=null),!j;}_removeFromIndex(a,w,g,v){const _=a[w],p=_[g];delete p[v];for(const j in p){return;}delete _[g];for(const j in _){return;}delete a[w];}_findInIndex(a,w,g,v,_,p,j,C,$,A){let K,Q,ee;w&&((K=a,a={})[w]=K[w]);for(const Y in a){if(Q=a[Y],Q){g&&((K=Q,Q={})[g]=K[g]);for(const Ie in Q){if(ee=Q[Ie],ee){const Me=v?v in ee?[v]:[]:Object.keys(ee);for(let oe=0;oea(w,this));}filter(a){return new this.constructor([...this].filter(w=>a(w,this)));}map(a){return new this.constructor([...this].map(w=>a(w,this)));}match(...a){return super.match(...a);}merge(...[a]){return ove(new this.constructor([...this]),a);}}function tit(l){return class extends nit{import(...[a]){return Ypn(this,a);}toCanonical(){return Qpn(this);}toStream(){return Xpn(this);}async serialize({format:a,prefixes:w=[]}){const g=l.formats.serializers.get(a);return g?qtt(g.import(this.toStream(),{prefixes:w.reduce((v,_)=>Array.isArray(_)?{...v,[_[0]]:_[1]}:_ in fve?{...v,[_]:fve[_]}:v,{})})):this.toCanonical();}};}function iit(){return new I$([zJn(tit)],{parent:Stt});}const rit=iit(),i2=rit;var HT;class cit{constructor(){I9(this,HT,{});}update(a){nv(this,HT,{}),a.forEach(w=>{Fh(this,HT)[w.prefix]=w.uri;});}get prefixes(){return Fh(this,HT);}}HT=new WeakMap;const oit=new cit;function TX(l){if(l.termType==="NamedNode"){const a=Jtt(l.value,oit.prefixes);return a||l.value;}return l.value;}function uit(l){const a=[...l].map(_=>_.subject),w=[...l].filter(_=>!_.predicate.equals(i2.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))).map(_=>_.object).filter(_=>_.termType==="BlankNode"||_.termType==="NamedNode"),v=[...new jX([...a,...w])].map(_=>{const j=[...l.match(_)].reduce((C,{predicate:$,object:A})=>{if(!C.has($.value)){const K={id:$.value,term:$,name:TX($),values:new jX};C.set($.value,K);}return C.get($.value).values.add(A),C;},new Map);return{id:_.value,term:_,name:TX(_),properties:[...j.values()]};});return console.log("resource from dataset "),v;}function sit(l){const a=new jX(l.map(g=>g.term)),w=l.flatMap(g=>g.properties.map(v=>({...v,resource:g}))).reduce((g,v)=>(v.values.forEach(_=>{const p=v.resource.term,j=_;a.has(j)&&g.push({source:p.value,target:j.value,sourceProperty:v.id,label:v.name});}),g),[]);return console.log(w),w;}function rY(l){return Nve()?(sX(l),!0):!1;}function ly(l){return typeof l==="function"?l():Xi(l);}const fit=typeof window<"u"&&typeof document<"u",lit=l=>typeof l<"u",ait=Object.prototype.toString,hit=l=>ait.call(l)==="[object Object]",dit=()=>{};function wit(l,a){function w(...g){return new Promise((v,_)=>{Promise.resolve(l(()=>a.apply(this,g),{fn:a,thisArg:this,args:g})).then(v).catch(_);});}return w;}const b2n=l=>l();function bit(l=b2n){const a=su(!0);function w(){a.value=!1;}function g(){a.value=!0;}const v=(..._)=>{a.value&&l(..._);};return{isActive:Dve(a),pause:w,resume:g,eventFilter:v};}function tbn(l,a=!1,w="Timeout"){return new Promise((g,v)=>{setTimeout(a?()=>v(w):g,l);});}function git(l,a,w={}){const{eventFilter:g=b2n,...v}=w;return uu(l,wit(g,a),v);}function xT(l,a,w={}){const{eventFilter:g,...v}=w,{eventFilter:_,pause:p,resume:j,isActive:C}=bit(g);return{stop:git(l,a,{...v,eventFilter:_}),pause:p,resume:j,isActive:C};}function pit(l,a={}){if(!Il(l)){return LWn(l);}const w=Array.isArray(l.value)?Array.from({length:l.value.length}):{};for(const g in l.value){w[g]=$Wn(()=>({get(){return l.value[g];},set(v){var _;if((_=ly(a.replaceRef))!=null?_:!0){if(Array.isArray(l.value)){const j=[...l.value];j[g]=v,l.value=j;}else{const j={...l.value,[g]:v};Object.setPrototypeOf(j,Object.getPrototypeOf(l.value)),l.value=j;}}else {l.value[g]=v;}}}));}return w;}function lve(l,a=!1){function w(K,{flush:Q="sync",deep:ee=!1,timeout:Y,throwOnTimeout:Ie}={}){let Me=null;const ke=[new Promise(fe=>{Me=uu(l,Ce=>{K(Ce)!==a&&(Me==null||Me(),fe(Ce));},{flush:Q,deep:ee,immediate:!0});})];return Y!=null&&ke.push(tbn(Y,Ie).then(()=>ly(l)).finally(()=>Me==null?void 0:Me())),Promise.race(ke);}function g(K,Q){if(!Il(K)){return w(Ce=>Ce===K,Q);}const{flush:ee="sync",deep:Y=!1,timeout:Ie,throwOnTimeout:Me}=Q??{};let oe=null;const fe=[new Promise(Ce=>{oe=uu([l,K],([gn,rt])=>{a!==(gn===rt)&&(oe==null||oe(),Ce(gn));},{flush:ee,deep:Y,immediate:!0});})];return Ie!=null&&fe.push(tbn(Ie,Me).then(()=>ly(l)).finally(()=>(oe==null||oe(),ly(l)))),Promise.race(fe);}function v(K){return w(Q=>!!Q,K);}function _(K){return g(null,K);}function p(K){return g(void 0,K);}function j(K){return w(Number.isNaN,K);}function C(K,Q){return w(ee=>{const Y=Array.from(ee);return Y.includes(K)||Y.includes(ly(K));},Q);}function $(K){return A(1,K);}function A(K=1,Q){let ee=-1;return w(()=>(ee+=1,ee>=K),Q);}return Array.isArray(ly(l))?{toMatch:w,toContains:C,changed:$,changedTimes:A,get not(){return lve(l,!a);}}:{toMatch:w,toBe:g,toBeTruthy:v,toBeNull:_,toBeNaN:j,toBeUndefined:p,changed:$,changedTimes:A,get not(){return lve(l,!a);}};}function ave(l){return lve(l);}function mit(l){var a;const w=ly(l);return(a=w==null?void 0:w.$el)!=null?a:w;}const g2n=fit?window:void 0;function p2n(...l){let a,w,g,v;if(typeof l[0]==="string"||Array.isArray(l[0])?([w,g,v]=l,a=g2n):[a,w,g,v]=l,!a){return dit;}Array.isArray(w)||(w=[w]),Array.isArray(g)||(g=[g]);const _=[],p=()=>{_.forEach(A=>A()),_.length=0;},j=(A,K,Q,ee)=>(A.addEventListener(K,Q,ee),()=>A.removeEventListener(K,Q,ee)),C=uu(()=>[mit(a),ly(v)],([A,K])=>{if(p(),!A){return;}const Q=hit(K)?{...K}:K;_.push(...w.flatMap(ee=>g.map(Y=>j(A,ee,Y,Q))));},{immediate:!0,flush:"post"}),$=()=>{C(),p();};return rY($),$;}function vit(l){return typeof l==="function"?l:typeof l==="string"?a=>a.key===l:Array.isArray(l)?a=>l.includes(a.key):()=>!0;}function ibn(...l){let a,w,g={};l.length===3?(a=l[0],w=l[1],g=l[2]):l.length===2?typeof l[1]==="object"?(a=!0,w=l[0],g=l[1]):(a=l[0],w=l[1]):(a=!0,w=l[0]);const{target:v=g2n,eventName:_="keydown",passive:p=!1,dedupe:j=!1}=g,C=vit(a);return p2n(v,_,A=>{A.repeat&&ly(j)||C(A)&&w(A);},p);}function yit(l){return JSON.parse(JSON.stringify(l));}function xme(l,a,w,g={}){var v,_,p;const{clone:j=!1,passive:C=!1,eventName:$,deep:A=!1,defaultValue:K,shouldEmit:Q}=g,ee=JT(),Y=w||(ee==null?void 0:ee.emit)||((v=ee==null?void 0:ee.$emit)==null?void 0:v.bind(ee))||((p=(_=ee==null?void 0:ee.proxy)==null?void 0:_.$emit)==null?void 0:p.bind(ee==null?void 0:ee.proxy));let Ie=$;a||(a="modelValue"),Ie=Ie||`update:${a.toString()}`;const Me=fe=>j?typeof j==="function"?j(fe):yit(fe):fe,oe=()=>lit(l[a])?Me(l[a]):K,ke=fe=>{Q?Q(fe)&&Y(Ie,fe):Y(Ie,fe);};if(C){const fe=oe(),Ce=su(fe);let gn=!1;return uu(()=>l[a],rt=>{gn||(gn=!0,Ce.value=Me(rt),s2(()=>gn=!1));}),uu(Ce,rt=>{!gn&&(rt!==l[a]||A)&&ke(rt);},{deep:A}),Ce;}else {return nc({get(){return oe();},set(fe){ke(fe);}});}}var kit={value:()=>{}};function cY(){for(var l=0,a=arguments.length,w={},g;l=0&&(g=w.slice(v+1),w=w.slice(0,v)),w&&!a.hasOwnProperty(w)){throw new Error("unknown type: "+w);}return{type:w,name:g};});}bX.prototype=cY.prototype={constructor:bX,on:function(l,a){var w=this._,g=Eit(l+"",w),v,_=-1,p=g.length;if(arguments.length<2){for(;++_0){for(var w=new Array(v),g=0,v,_;g=0&&(a=l.slice(0,w))!=="xmlns"&&(l=l.slice(w+1)),cbn.hasOwnProperty(a)?{space:cbn[a],local:l}:l;}function Sit(l){return function(){var a=this.ownerDocument,w=this.namespaceURI;return w===hve&&a.documentElement.namespaceURI===hve?a.createElement(l):a.createElementNS(w,l);};}function jit(l){return function(){return this.ownerDocument.createElementNS(l.space,l.local);};}function m2n(l){var a=oY(l);return(a.local?jit:Sit)(a);}function Tit(){}function c3e(l){return l==null?Tit:function(){return this.querySelector(l);};}function Mit(l){typeof l!=="function"&&(l=c3e(l));for(var a=this._groups,w=a.length,g=new Array(w),v=0;v=fe&&(fe=ke+1);!(gn=Me[fe])&&++fe=0;){(p=g[v])&&(_&&p.compareDocumentPosition(_)^4&&_.parentNode.insertBefore(p,_),_=p);}}return this;}function Qit(l){l||(l=Zit);function a(K,Q){return K&&Q?l(K.__data__,Q.__data__):!K-!Q;}for(var w=this._groups,g=w.length,v=new Array(g),_=0;_a?1:l>=a?0:NaN;}function ert(){var l=arguments[0];return arguments[0]=this,l.apply(null,arguments),this;}function nrt(){return Array.from(this);}function trt(){for(var l=this._groups,a=0,w=l.length;a1?this.each((a==null?drt:typeof a==="function"?brt:wrt)(l,a,w??"")):zT(this.node(),l);}function zT(l,a){return l.style.getPropertyValue(a)||_2n(l).getComputedStyle(l,null).getPropertyValue(a);}function prt(l){return function(){delete this[l];};}function mrt(l,a){return function(){this[l]=a;};}function vrt(l,a){return function(){var w=a.apply(this,arguments);w==null?delete this[l]:this[l]=w;};}function yrt(l,a){return arguments.length>1?this.each((a==null?prt:typeof a==="function"?vrt:mrt)(l,a)):this.node()[l];}function S2n(l){return l.trim().split(/^|\s+/);}function o3e(l){return l.classList||new j2n(l);}function j2n(l){this._node=l,this._names=S2n(l.getAttribute("class")||"");}j2n.prototype={add:function(l){var a=this._names.indexOf(l);a<0&&(this._names.push(l),this._node.setAttribute("class",this._names.join(" ")));},remove:function(l){var a=this._names.indexOf(l);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")));},contains:function(l){return this._names.indexOf(l)>=0;}};function T2n(l,a){for(var w=o3e(l),g=-1,v=a.length;++g=0&&(w=a.slice(g+1),a=a.slice(0,g)),{type:a,name:w};});}function Wrt(l){return function(){var a=this.__on;if(a){for(var w=0,g=-1,v=a.length,_;w()=>l;function dve(l,{sourceEvent:a,subject:w,target:g,identifier:v,active:_,x:p,y:j,dx:C,dy:$,dispatch:A}){Object.defineProperties(this,{type:{value:l,enumerable:!0,configurable:!0},sourceEvent:{value:a,enumerable:!0,configurable:!0},subject:{value:w,enumerable:!0,configurable:!0},target:{value:g,enumerable:!0,configurable:!0},identifier:{value:v,enumerable:!0,configurable:!0},active:{value:_,enumerable:!0,configurable:!0},x:{value:p,enumerable:!0,configurable:!0},y:{value:j,enumerable:!0,configurable:!0},dx:{value:C,enumerable:!0,configurable:!0},dy:{value:$,enumerable:!0,configurable:!0},_:{value:A}});}dve.prototype.on=function(){var l=this._.on.apply(this._,arguments);return l===this._?this:l;};function rct(l){return!l.ctrlKey&&!l.button;}function cct(){return this.parentNode;}function oct(l,a){return a??{x:l.x,y:l.y};}function uct(){return navigator.maxTouchPoints||"ontouchstart"in this;}function sct(){var l=rct,a=cct,w=oct,g=uct,v={},_=cY("start","drag","end"),p=0,j,C,$,A,K=0;function Q(Ce){Ce.on("mousedown.drag",ee).filter(g).on("touchstart.drag",Me).on("touchmove.drag",oe,ict).on("touchend.drag touchcancel.drag",ke).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)");}function ee(Ce,gn){if(!(A||!l.call(this,Ce,gn))){var rt=fe(this,a.call(this,Ce,gn),Ce,gn,"mouse");rt&&(c2(Ce.view).on("mousemove.drag",Y,N$).on("mouseup.drag",Ie,N$),I2n(Ce.view),Cme(Ce),$=!1,j=Ce.clientX,C=Ce.clientY,rt("start",Ce));}}function Y(Ce){if(BT(Ce),!$){var gn=Ce.clientX-j,rt=Ce.clientY-C;$=gn*gn+rt*rt>K;}v.mouse("drag",Ce);}function Ie(Ce){c2(Ce.view).on("mousemove.drag mouseup.drag",null),P2n(Ce.view,$),BT(Ce),v.mouse("end",Ce);}function Me(Ce,gn){if(l.call(this,Ce,gn)){var rt=Ce.changedTouches,jt=a.call(this,Ce,gn),ft=rt.length,gt,Ct;for(gt=0;gt>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):w===8?QW(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):w===4?QW(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=lct.exec(l))?new T0(a[1],a[2],a[3],1):(a=act.exec(l))?new T0(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=hct.exec(l))?QW(a[1],a[2],a[3],a[4]):(a=dct.exec(l))?QW(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=wct.exec(l))?hbn(a[1],a[2]/100,a[3]/100,1):(a=bct.exec(l))?hbn(a[1],a[2]/100,a[3]/100,a[4]):obn.hasOwnProperty(l)?fbn(obn[l]):l==="transparent"?new T0(NaN,NaN,NaN,0):null;}function fbn(l){return new T0(l>>16&255,l>>8&255,l&255,1);}function QW(l,a,w,g){return g<=0&&(l=a=w=NaN),new T0(l,a,w,g);}function mct(l){return l instanceof U$||(l=$$(l)),l?(l=l.rgb(),new T0(l.r,l.g,l.b,l.opacity)):new T0;}function wve(l,a,w,g){return arguments.length===1?mct(l):new T0(l,a,w,g??1);}function T0(l,a,w,g){this.r=+l,this.g=+a,this.b=+w,this.opacity=+g;}u3e(T0,wve,N2n(U$,{brighter(l){return l=l==null?xX:Math.pow(xX,l),new T0(this.r*l,this.g*l,this.b*l,this.opacity);},darker(l){return l=l==null?O$:Math.pow(O$,l),new T0(this.r*l,this.g*l,this.b*l,this.opacity);},rgb(){return this;},clamp(){return new T0(q9(this.r),q9(this.g),q9(this.b),CX(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:lbn,formatHex:lbn,formatHex8:vct,formatRgb:abn,toString:abn}));function lbn(){return`#${F9(this.r)}${F9(this.g)}${F9(this.b)}`;}function vct(){return`#${F9(this.r)}${F9(this.g)}${F9(this.b)}${F9((isNaN(this.opacity)?1:this.opacity)*255)}`;}function abn(){const l=CX(this.opacity);return`${l===1?"rgb(":"rgba("}${q9(this.r)}, ${q9(this.g)}, ${q9(this.b)}${l===1?")":`, ${l})`}`;}function CX(l){return isNaN(l)?1:Math.max(0,Math.min(1,l));}function q9(l){return Math.max(0,Math.min(255,Math.round(l)||0));}function F9(l){return l=q9(l),(l<16?"0":"")+l.toString(16);}function hbn(l,a,w,g){return g<=0?l=a=w=NaN:w<=0||w>=1?l=a=NaN:a<=0&&(l=NaN),new o2(l,a,w,g);}function O2n(l){if(l instanceof o2){return new o2(l.h,l.s,l.l,l.opacity);}if(l instanceof U$||(l=$$(l)),!l){return new o2;}if(l instanceof o2){return l;}l=l.rgb();var a=l.r/255,w=l.g/255,g=l.b/255,v=Math.min(a,w,g),_=Math.max(a,w,g),p=NaN,j=_-v,C=(_+v)/2;return j?(a===_?p=(w-g)/j+(w0&&C<1?0:p,new o2(p,j,C,l.opacity);}function yct(l,a,w,g){return arguments.length===1?O2n(l):new o2(l,a,w,g??1);}function o2(l,a,w,g){this.h=+l,this.s=+a,this.l=+w,this.opacity=+g;}u3e(o2,yct,N2n(U$,{brighter(l){return l=l==null?xX:Math.pow(xX,l),new o2(this.h,this.s,this.l*l,this.opacity);},darker(l){return l=l==null?O$:Math.pow(O$,l),new o2(this.h,this.s,this.l*l,this.opacity);},rgb(){var l=this.h%360+(this.h<0)*360,a=isNaN(l)||isNaN(this.s)?0:this.s,w=this.l,g=w+(w<.5?w:1-w)*a,v=2*w-g;return new T0(Ime(l>=240?l-240:l+120,v,g),Ime(l,v,g),Ime(l<120?l+240:l-120,v,g),this.opacity);},clamp(){return new o2(dbn(this.h),ZW(this.s),ZW(this.l),CX(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 l=CX(this.opacity);return`${l===1?"hsl(":"hsla("}${dbn(this.h)}, ${ZW(this.s)*100}%, ${ZW(this.l)*100}%${l===1?")":`, ${l})`}`;}}));function dbn(l){return l=(l||0)%360,l<0?l+360:l;}function ZW(l){return Math.max(0,Math.min(1,l||0));}function Ime(l,a,w){return(l<60?a+(w-a)*l/60:l<180?w:l<240?a+(w-a)*(240-l)/60:a)*255;}const A2n=l=>()=>l;function kct(l,a){return function(w){return l+w*a;};}function Ect(l,a,w){return l=Math.pow(l,w),a=Math.pow(a,w)-l,w=1/w,function(g){return Math.pow(l+g*a,w);};}function _ct(l){return(l=+l)==1?$2n:function(a,w){return w-a?Ect(a,w,l):A2n(isNaN(a)?w:a);};}function $2n(l,a){var w=a-l;return w?kct(l,w):A2n(isNaN(l)?a:l);}const wbn=function l(a){var w=_ct(a);function g(v,_){var p=w((v=wve(v)).r,(_=wve(_)).r),j=w(v.g,_.g),C=w(v.b,_.b),$=$2n(v.opacity,_.opacity);return function(A){return v.r=p(A),v.g=j(A),v.b=C(A),v.opacity=$(A),v+"";};}return g.gamma=l,g;}(1);function y5(l,a){return l=+l,a=+a,function(w){return l*(1-w)+a*w;};}var bve=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Pme=new RegExp(bve.source,"g");function Sct(l){return function(){return l;};}function jct(l){return function(a){return l(a)+"";};}function Tct(l,a){var w=bve.lastIndex=Pme.lastIndex=0,g,v,_,p=-1,j=[],C=[];for(l=l+"",a=a+"";(g=bve.exec(l))&&(v=Pme.exec(a));){(_=v.index)>w&&(_=a.slice(w,_),j[p]?j[p]+=_:j[++p]=_),(g=g[0])===(v=v[0])?j[p]?j[p]+=v:j[++p]=v:(j[++p]=null,C.push({i:p,x:y5(g,v)})),w=Pme.lastIndex;}return w180?A+=360:A-$>180&&($+=360),Q.push({i:K.push(v(K)+"rotate(",null,g)-2,x:y5($,A)})):A&&K.push(v(K)+"rotate("+A+g);}function j($,A,K,Q){$!==A?Q.push({i:K.push(v(K)+"skewX(",null,g)-2,x:y5($,A)}):A&&K.push(v(K)+"skewX("+A+g);}function C($,A,K,Q,ee,Y){if($!==K||A!==Q){var Ie=ee.push(v(ee)+"scale(",null,",",null,")");Y.push({i:Ie-4,x:y5($,K)},{i:Ie-2,x:y5(A,Q)});}else{(K!==1||Q!==1)&&ee.push(v(ee)+"scale("+K+","+Q+")");}}return function($,A){var K=[],Q=[];return $=l($),A=l(A),_($.translateX,$.translateY,A.translateX,A.translateY,K,Q),p($.rotate,A.rotate,K,Q),j($.skewX,A.skewX,K,Q),C($.scaleX,$.scaleY,A.scaleX,A.scaleY,K,Q),$=A=null,function(ee){for(var Y=-1,Ie=Q.length,Me;++Y=0&&l._call.call(void 0,a),l=l._next;}--VT;}function pbn(){V9=(PX=L$.now())+uY,VT=w$=0;try{Lct();}finally{VT=0,Rct(),V9=0;}}function Dct(){var l=L$.now(),a=l-PX;a>R2n&&(uY-=a,PX=l);}function Rct(){for(var l,a=IX,w,g=1/0;a;){a._call?(g>a._time&&(g=a._time),l=a,a=a._next):(w=a._next,a._next=null,a=l?l._next=w:IX=w);}b$=l,pve(g);}function pve(l){if(!VT){w$&&(w$=clearTimeout(w$));var a=l-V9;a>24?(l<1/0&&(w$=setTimeout(pbn,l-L$.now()-uY)),a$&&(a$=clearInterval(a$))):(a$||(PX=L$.now(),a$=setInterval(Dct,R2n)),VT=1,B2n(pbn));}}function mbn(l,a,w){var g=new NX;return a=a==null?0:+a,g.restart(v=>{g.stop(),l(v+a);},a,w),g;}var Bct=cY("start","end","cancel","interrupt"),Fct=[],K2n=0,vbn=1,mve=2,gX=3,ybn=4,vve=5,pX=6;function sY(l,a,w,g,v,_){var p=l.__transition;if(!p){l.__transition={};}else if(w in p){return;}Kct(l,w,{name:a,index:g,group:v,on:Bct,tween:Fct,time:_.time,delay:_.delay,duration:_.duration,ease:_.ease,timer:null,state:K2n});}function f3e(l,a){var w=a2(l,a);if(w.state>K2n){throw new Error("too late; already scheduled");}return w;}function dv(l,a){var w=a2(l,a);if(w.state>gX){throw new Error("too late; already running");}return w;}function a2(l,a){var w=l.__transition;if(!w||!(w=w[a])){throw new Error("transition not found");}return w;}function Kct(l,a,w){var g=l.__transition,v;g[a]=w,w.timer=F2n(_,0,w.time);function _($){w.state=vbn,w.timer.restart(p,w.delay,w.time),w.delay<=$&&p($-w.delay);}function p($){var A,K,Q,ee;if(w.state!==vbn){return C();}for(A in g){if(ee=g[A],ee.name===w.name){if(ee.state===gX){return mbn(p);}ee.state===ybn?(ee.state=pX,ee.timer.stop(),ee.on.call("interrupt",l,l.__data__,ee.index,ee.group),delete g[A]):+Amve&&g.state=0&&(a=a.slice(0,w)),!a||a==="start";});}function pot(l,a,w){var g,v,_=got(a)?f3e:dv;return function(){var p=_(this,l),j=p.on;j!==g&&(v=(g=j).copy()).on(a,w),p.on=v;};}function mot(l,a){var w=this._id;return arguments.length<2?a2(this.node(),w).on.on(l):this.each(pot(w,l,a));}function vot(l){return function(){var a=this.parentNode;for(var w in this.__transition){if(+w!==l){return;}}a&&a.removeChild(this);};}function yot(){return this.on("end.remove",vot(this._id));}function kot(l){var a=this._name,w=this._id;typeof l!=="function"&&(l=c3e(l));for(var g=this._groups,v=g.length,_=new Array(v),p=0;p()=>l;function zot(l,{sourceEvent:a,target:w,transform:g,dispatch:v}){Object.defineProperties(this,{type:{value:l,enumerable:!0,configurable:!0},sourceEvent:{value:a,enumerable:!0,configurable:!0},target:{value:w,enumerable:!0,configurable:!0},transform:{value:g,enumerable:!0,configurable:!0},_:{value:v}});}function hy(l,a,w){this.k=l,this.x=a,this.y=w;}hy.prototype={constructor:hy,scale:function(l){return l===1?this:new hy(this.k*l,this.x,this.y);},translate:function(l,a){return l===0&a===0?this:new hy(this.k,this.x+this.k*l,this.y+this.k*a);},apply:function(l){return[l[0]*this.k+this.x,l[1]*this.k+this.y];},applyX:function(l){return l*this.k+this.x;},applyY:function(l){return l*this.k+this.y;},invert:function(l){return[(l[0]-this.x)/this.k,(l[1]-this.y)/this.k];},invertX:function(l){return(l-this.x)/this.k;},invertY:function(l){return(l-this.y)/this.k;},rescaleX:function(l){return l.copy().domain(l.range().map(this.invertX,this).map(l.invert,l));},rescaleY:function(l){return l.copy().domain(l.range().map(this.invertY,this).map(l.invert,l));},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")";}};var WT=new hy(1,0,0);hy.prototype;function Nme(l){l.stopImmediatePropagation();}function h$(l){l.preventDefault(),l.stopImmediatePropagation();}function Vot(l){return(!l.ctrlKey||l.type==="wheel")&&!l.button;}function Wot(){var l=this;return l instanceof SVGElement?(l=l.ownerSVGElement||l,l.hasAttribute("viewBox")?(l=l.viewBox.baseVal,[[l.x,l.y],[l.x+l.width,l.y+l.height]]):[[0,0],[l.width.baseVal.value,l.height.baseVal.value]]):[[0,0],[l.clientWidth,l.clientHeight]];}function kbn(){return this.__zoom||WT;}function Xot(l){return-l.deltaY*(l.deltaMode===1?.05:l.deltaMode?1:.002)*(l.ctrlKey?10:1);}function Yot(){return navigator.maxTouchPoints||"ontouchstart"in this;}function Jot(l,a,w){var g=l.invertX(a[0][0])-w[0][0],v=l.invertX(a[1][0])-w[1][0],_=l.invertY(a[0][1])-w[0][1],p=l.invertY(a[1][1])-w[1][1];return l.translate(v>g?(g+v)/2:Math.min(0,g)||Math.max(0,v),p>_?(_+p)/2:Math.min(0,_)||Math.max(0,p));}function Qot(){var l=Vot,a=Wot,w=Jot,g=Xot,v=Yot,_=[0,1/0],p=[[-1/0,-1/0],[1/0,1/0]],j=250,C=Act,$=cY("start","zoom","end"),A,K,Q,ee=500,Y=150,Ie=0,Me=10;function oe(cn){cn.property("__zoom",kbn).on("wheel.zoom",ft,{passive:!1}).on("mousedown.zoom",gt).on("dblclick.zoom",Ct).filter(v).on("touchstart.zoom",ii).on("touchmove.zoom",Sn).on("touchend.zoom touchcancel.zoom",V).style("-webkit-tap-highlight-color","rgba(0,0,0,0)");}oe.transform=function(cn,et,_n,Jn){var ot=cn.selection?cn.selection():cn;ot.property("__zoom",kbn),cn!==ot?gn(cn,et,_n,Jn):ot.interrupt().each(function(){rt(this,arguments).event(Jn).start().zoom(null,typeof et==="function"?et.apply(this,arguments):et).end();});},oe.scaleBy=function(cn,et,_n,Jn){oe.scaleTo(cn,function(){var ot=this.__zoom.k,Rt=typeof et==="function"?et.apply(this,arguments):et;return ot*Rt;},_n,Jn);},oe.scaleTo=function(cn,et,_n,Jn){oe.transform(cn,function(){var ot=a.apply(this,arguments),Rt=this.__zoom,oi=_n==null?Ce(ot):typeof _n==="function"?_n.apply(this,arguments):_n,Ft=Rt.invert(oi),gi=typeof et==="function"?et.apply(this,arguments):et;return w(fe(ke(Rt,gi),oi,Ft),ot,p);},_n,Jn);},oe.translateBy=function(cn,et,_n,Jn){oe.transform(cn,function(){return w(this.__zoom.translate(typeof et==="function"?et.apply(this,arguments):et,typeof _n==="function"?_n.apply(this,arguments):_n),a.apply(this,arguments),p);},null,Jn);},oe.translateTo=function(cn,et,_n,Jn,ot){oe.transform(cn,function(){var Rt=a.apply(this,arguments),oi=this.__zoom,Ft=Jn==null?Ce(Rt):typeof Jn==="function"?Jn.apply(this,arguments):Jn;return w(WT.translate(Ft[0],Ft[1]).scale(oi.k).translate(typeof et==="function"?-et.apply(this,arguments):-et,typeof _n==="function"?-_n.apply(this,arguments):-_n),Rt,p);},Jn,ot);};function ke(cn,et){return et=Math.max(_[0],Math.min(_[1],et)),et===cn.k?cn:new hy(et,cn.x,cn.y);}function fe(cn,et,_n){var Jn=et[0]-_n[0]*cn.k,ot=et[1]-_n[1]*cn.k;return Jn===cn.x&&ot===cn.y?cn:new hy(cn.k,Jn,ot);}function Ce(cn){return[(+cn[0][0]+ +cn[1][0])/2,(+cn[0][1]+ +cn[1][1])/2];}function gn(cn,et,_n,Jn){cn.on("start.zoom",function(){rt(this,arguments).event(Jn).start();}).on("interrupt.zoom end.zoom",function(){rt(this,arguments).event(Jn).end();}).tween("zoom",function(){var ot=this,Rt=arguments,oi=rt(ot,Rt).event(Jn),Ft=a.apply(ot,Rt),gi=_n==null?Ce(Ft):typeof _n==="function"?_n.apply(ot,Rt):_n,di=Math.max(Ft[1][0]-Ft[0][0],Ft[1][1]-Ft[0][1]),wi=ot.__zoom,Ai=typeof et==="function"?et.apply(ot,Rt):et,an=C(wi.invert(gi).concat(di/wi.k),Ai.invert(gi).concat(di/Ai.k));return function(on){if(on===1){on=Ai;}else{var Qn=an(on),At=di/Qn[2];on=new hy(At,gi[0]-Qn[0]*At,gi[1]-Qn[1]*At);}oi.zoom(null,on);};});}function rt(cn,et,_n){return!_n&&cn.__zooming||new jt(cn,et);}function jt(cn,et){this.that=cn,this.args=et,this.active=0,this.sourceEvent=null,this.extent=a.apply(cn,et),this.taps=0;}jt.prototype={event:function(cn){return cn&&(this.sourceEvent=cn),this;},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this;},zoom:function(cn,et){return this.mouse&&cn!=="mouse"&&(this.mouse[1]=et.invert(this.mouse[0])),this.touch0&&cn!=="touch"&&(this.touch0[1]=et.invert(this.touch0[0])),this.touch1&&cn!=="touch"&&(this.touch1[1]=et.invert(this.touch1[0])),this.that.__zoom=et,this.emit("zoom"),this;},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this;},emit:function(cn){var et=c2(this.that).datum();$.call(cn,this.that,new zot(cn,{sourceEvent:this.sourceEvent,target:oe,type:cn,transform:this.that.__zoom,dispatch:$}),et);}};function ft(cn,...et){if(!l.apply(this,arguments)){return;}var _n=rt(this,et).event(cn),Jn=this.__zoom,ot=Math.max(_[0],Math.min(_[1],Jn.k*Math.pow(2,g.apply(this,arguments)))),Rt=rv(cn);if(_n.wheel){(_n.mouse[0][0]!==Rt[0]||_n.mouse[0][1]!==Rt[1])&&(_n.mouse[1]=Jn.invert(_n.mouse[0]=Rt)),clearTimeout(_n.wheel);}else{if(Jn.k===ot){return;}_n.mouse=[Rt,Jn.invert(Rt)],mX(this),_n.start();}h$(cn),_n.wheel=setTimeout(oi,Y),_n.zoom("mouse",w(fe(ke(Jn,ot),_n.mouse[0],_n.mouse[1]),_n.extent,p));function oi(){_n.wheel=null,_n.end();}}function gt(cn,...et){if(Q||!l.apply(this,arguments)){return;}var _n=cn.currentTarget,Jn=rt(this,et,!0).event(cn),ot=c2(cn.view).on("mousemove.zoom",gi,!0).on("mouseup.zoom",di,!0),Rt=rv(cn,_n),oi=cn.clientX,Ft=cn.clientY;I2n(cn.view),Nme(cn),Jn.mouse=[Rt,this.__zoom.invert(Rt)],mX(this),Jn.start();function gi(wi){if(h$(wi),!Jn.moved){var Ai=wi.clientX-oi,an=wi.clientY-Ft;Jn.moved=Ai*Ai+an*an>Ie;}Jn.event(wi).zoom("mouse",w(fe(Jn.that.__zoom,Jn.mouse[0]=rv(wi,_n),Jn.mouse[1]),Jn.extent,p));}function di(wi){ot.on("mousemove.zoom mouseup.zoom",null),P2n(wi.view,Jn.moved),h$(wi),Jn.event(wi).end();}}function Ct(cn,...et){if(l.apply(this,arguments)){var _n=this.__zoom,Jn=rv(cn.changedTouches?cn.changedTouches[0]:cn,this),ot=_n.invert(Jn),Rt=_n.k*(cn.shiftKey?.5:2),oi=w(fe(ke(_n,Rt),Jn,ot),a.apply(this,et),p);h$(cn),j>0?c2(this).transition().duration(j).call(gn,oi,Jn,cn):c2(this).call(oe.transform,oi,Jn,cn);}}function ii(cn,...et){if(l.apply(this,arguments)){var _n=cn.touches,Jn=_n.length,ot=rt(this,et,cn.changedTouches.length===Jn).event(cn),Rt,oi,Ft,gi;for(Nme(cn),oi=0;oi(l.Left="left",l.Top="top",l.Right="right",l.Bottom="bottom",l))(Ui||{}),a3e=(l=>(l.Partial="partial",l.Full="full",l))(a3e||{}),D9=(l=>(l.Bezier="default",l.SimpleBezier="simple-bezier",l.Straight="straight",l.Step="step",l.SmoothStep="smoothstep",l))(D9||{}),W9=(l=>(l.Strict="strict",l.Loose="loose",l))(W9||{}),yve=(l=>(l.Arrow="arrow",l.ArrowClosed="arrowclosed",l))(yve||{}),_$=(l=>(l.Free="free",l.Vertical="vertical",l.Horizontal="horizontal",l))(_$||{}),G2n=(l=>(l.TopLeft="top-left",l.TopCenter="top-center",l.TopRight="top-right",l.BottomLeft="bottom-left",l.BottomCenter="bottom-center",l.BottomRight="bottom-right",l))(G2n||{});function kve(l){var a,w;const g=((w=(a=l.composedPath)==null?void 0:a.call(l))==null?void 0:w[0])||l.target,v=typeof(g==null?void 0:g.hasAttribute)==="function"?g.hasAttribute("contenteditable"):!1,_=typeof(g==null?void 0:g.closest)==="function"?g.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(g==null?void 0:g.nodeName)||v||!!_;}function Zot(l){return l.ctrlKey||l.metaKey||l.shiftKey;}function Ebn(l,a,w,g){const v=a.split("+").map(_=>_.trim().toLowerCase());return v.length===1?l.toLowerCase()===a.toLowerCase():(g?w.delete(l.toLowerCase()):w.add(l.toLowerCase()),v.every((_,p)=>w.has(_)&&Array.from(w.values())[p]===v[p]));}function eut(l,a){return w=>{if(!w.code&&!w.key){return!1;}const g=nut(w.code,l);return Array.isArray(l)?l.some(v=>Ebn(w[g],v,a,w.type==="keyup")):Ebn(w[g],l,a,w.type==="keyup");};}function nut(l,a){return typeof a==="string"?l===a?"code":"key":a.includes(l)?"code":"key";}function S$(l,a){const w=Cs(()=>ou(a==null?void 0:a.actInsideInputWithModifier)??!1),g=Cs(()=>ou(a==null?void 0:a.target)??window),v=su(ou(l)===!0);let _=!1;const p=new Set;let j=$(ou(l));uu(()=>ou(l),(A,K)=>{typeof K==="boolean"&&typeof A!=="boolean"&&C(),j=$(A);},{immediate:!0}),l2(()=>{p2n(window,["blur","contextmenu"],C);}),ibn((...A)=>j(...A),A=>{_=Zot(A),!((!_||_&&!w.value)&&kve(A))&&(A.preventDefault(),v.value=!0);},{eventName:"keydown",target:g}),ibn((...A)=>j(...A),A=>{if(v.value){if((!_||_&&!w.value)&&kve(A)){return;}C();}},{eventName:"keyup",target:g});function C(){_=!1,p.clear(),v.value=ou(l)===!0;}function $(A){return A===null?(C(),()=>!1):typeof A==="boolean"?(C(),v.value=A,()=>!1):Array.isArray(A)||typeof A==="string"?eut(A,p):A;}return v;}const z2n="vue-flow__node-desc",V2n="vue-flow__edge-desc",tut="vue-flow__aria-live",W2n=["Enter"," ","Escape"],KT={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function Eve(l){return{...l.computedPosition||{x:0,y:0},width:l.dimensions.width||0,height:l.dimensions.height||0};}function _ve(l,a){const w=Math.max(0,Math.min(l.x+l.width,a.x+a.width)-Math.max(l.x,a.x)),g=Math.max(0,Math.min(l.y+l.height,a.y+a.height)-Math.max(l.y,a.y));return Math.ceil(w*g);}function fY(l){return{width:l.offsetWidth,height:l.offsetHeight};}function X9(l,a=0,w=1){return Math.min(Math.max(l,a),w);}function X2n(l,a){return{x:X9(l.x,a[0][0],a[1][0]),y:X9(l.y,a[0][1],a[1][1])};}function _bn(l){const a=l.getRootNode();return"elementFromPoint"in a?a:window.document;}function M5(l){return l&&typeof l==="object"&&"id"in l&&"source"in l&&"target"in l;}function U9(l){return l&&typeof l==="object"&&"id"in l&&"position"in l&&!M5(l);}function g$(l){return U9(l)&&"computedPosition"in l;}function tX(l){return!Number.isNaN(l)&&Number.isFinite(l);}function iut(l){return tX(l.width)&&tX(l.height)&&tX(l.x)&&tX(l.y);}function rut(l,a,w){const g={id:l.id.toString(),type:l.type??"default",dimensions:H9({width:0,height:0}),computedPosition:H9({z:0,...l.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:Ql(l.data)?l.data:{},events:H9(Ql(l.events)?l.events:{})};return Object.assign(a??g,l,{id:l.id.toString(),parentNode:w});}function Y2n(l,a,w){var g,v;const _={id:l.id.toString(),type:l.type??(a==null?void 0:a.type)??"default",source:l.source.toString(),target:l.target.toString(),sourceHandle:(g=l.sourceHandle)==null?void 0:g.toString(),targetHandle:(v=l.targetHandle)==null?void 0:v.toString(),updatable:l.updatable??(w==null?void 0:w.updatable),selectable:l.selectable??(w==null?void 0:w.selectable),focusable:l.focusable??(w==null?void 0:w.focusable),data:Ql(l.data)?l.data:{},events:H9(Ql(l.events)?l.events:{}),label:l.label??"",interactionWidth:l.interactionWidth??(w==null?void 0:w.interactionWidth),...w??{}};return Object.assign(a??_,l,{id:l.id.toString()});}function J2n(l,a,w,g){const v=typeof l==="string"?l:l.id,_=new Set,p=g==="source"?"target":"source";for(const j of w){j[p]===v&&_.add(j[g]);}return a.filter(j=>_.has(j.id));}function cut(...l){if(l.length===3){const[_,p,j]=l;return J2n(_,p,j,"target");}const[a,w]=l,g=typeof a==="string"?a:a.id;return w.filter(_=>M5(_)&&_.source===g).map(_=>w.find(p=>U9(p)&&p.id===_.target));}function out(...l){if(l.length===3){const[_,p,j]=l;return J2n(_,p,j,"source");}const[a,w]=l,g=typeof a==="string"?a:a.id;return w.filter(_=>M5(_)&&_.target===g).map(_=>w.find(p=>U9(p)&&p.id===_.source));}function Q2n({source:l,sourceHandle:a,target:w,targetHandle:g}){return`vueflow__edge-${l}${a??""}-${w}${g??""}`;}function uut(l,a){return a.some(w=>M5(w)&&w.source===l.source&&w.target===l.target&&(w.sourceHandle===l.sourceHandle||!w.sourceHandle&&!l.sourceHandle)&&(w.targetHandle===l.targetHandle||!w.targetHandle&&!l.targetHandle));}function Z2n({x:l,y:a},{x:w,y:g,zoom:v}){return{x:l*v+w,y:a*v+g};}function OX({x:l,y:a},{x:w,y:g,zoom:v},_=!1,[p,j]=[1,1]){const C={x:(l-w)/v,y:(a-g)/v};return _?{x:p*Math.round(C.x/p),y:j*Math.round(C.y/j)}:C;}function sut(l,a){return{x:Math.min(l.x,a.x),y:Math.min(l.y,a.y),x2:Math.max(l.x2,a.x2),y2:Math.max(l.y2,a.y2)};}function emn({x:l,y:a,width:w,height:g}){return{x:l,y:a,x2:l+w,y2:a+g};}function fut({x:l,y:a,x2:w,y2:g}){return{x:l,y:a,width:w-l,height:g-a};}function nmn(l){let a={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let w=0;w0,Me=(K??0)*(Q??0);(Y||Ie||ee>=Me||j.dragging)&&p.push(j);}return p;}function imn(l,a){const w=new Set;if(typeof l==="string"){w.add(l);}else if(l.length>=1){for(const g of l){w.add(g.id);}}return a.filter(g=>w.has(g.source)||w.has(g.target));}function Sbn(l,a,w,g,v,_=.1,p={x:0,y:0}){const j=a/(l.width*(1+_)),C=w/(l.height*(1+_)),$=Math.min(j,C),A=X9($,g,v),K=l.x+l.width/2,Q=l.y+l.height/2,ee=a/2-K*A+(p.x??0),Y=w/2-Q*A+(p.y??0);return{x:ee,y:Y,zoom:A};}function lut(l,a){return{x:a.x+l.x,y:a.y+l.y,z:(l.z>a.z?l.z:a.z)+1};}function rmn(l,a){if(!l.parentNode){return!1;}const w=a(l.parentNode);return w?w.selected?!0:rmn(w,a):!1;}function D$(l,a){return typeof l>"u"?"":typeof l==="string"?l:`${a?`${a}__`:""}${Object.keys(l).sort().map(g=>`${g}=${l[g]}`).join("&")}`;}function jbn(l,a,w){return lw?-X9(Math.abs(l-w),1,a)/a:0;}function cmn(l,a,w=15,g=40){const v=jbn(l.x,g,a.width-g)*w,_=jbn(l.y,g,a.height-g)*w;return[v,_];}function Ome(l,a){if(a){const w=l.position.x+l.dimensions.width-a.dimensions.width,g=l.position.y+l.dimensions.height-a.dimensions.height;if(w>0||g>0||l.position.x<0||l.position.y<0){let v={};if(typeof a.style==="function"?v={...a.style(a)}:a.style&&(v={...a.style}),v.width=v.width??`${a.dimensions.width}px`,v.height=v.height??`${a.dimensions.height}px`,w>0){if(typeof v.width==="string"){const _=Number(v.width.replace("px",""));v.width=`${_+w}px`;}else {v.width+=w;}}if(g>0){if(typeof v.height==="string"){const _=Number(v.height.replace("px",""));v.height=`${_+g}px`;}else {v.height+=g;}}if(l.position.x<0){const _=Math.abs(l.position.x);if(a.position.x=a.position.x-_,typeof v.width==="string"){const p=Number(v.width.replace("px",""));v.width=`${p+_}px`;}else {v.width+=_;}l.position.x=0;}if(l.position.y<0){const _=Math.abs(l.position.y);if(a.position.y=a.position.y-_,typeof v.height==="string"){const p=Number(v.height.replace("px",""));v.height=`${p+_}px`;}else {v.height+=_;}l.position.y=0;}a.dimensions.width=Number(v.width.toString().replace("px","")),a.dimensions.height=Number(v.height.toString().replace("px","")),typeof a.style==="function"?a.style=_=>{const p=a.style;return{...p(_),...v};}:a.style={...a.style,...v};}}}function Tbn(l,a){var w,g;const v=l.filter(p=>p.type==="add"||p.type==="remove");for(const p of v){if(p.type==="add"){a.findIndex(C=>C.id===p.item.id)===-1&&a.push(p.item);}else if(p.type==="remove"){const j=a.findIndex(C=>C.id===p.id);j!==-1&&a.splice(j,1);}}const _=a.map(p=>p.id);for(const p of a){for(const j of l){if(j.id===p.id){switch(j.type){case"select":p.selected=j.selected;break;case"position":if(g$(p)&&(typeof j.position<"u"&&(p.position=j.position),typeof j.dragging<"u"&&(p.dragging=j.dragging),p.expandParent&&p.parentNode)){const C=a[_.indexOf(p.parentNode)];C&&g$(C)&&Ome(p,C);}break;case"dimensions":if(g$(p)&&(typeof j.dimensions<"u"&&(p.dimensions=j.dimensions),typeof j.updateStyle<"u"&&j.updateStyle&&(p.style={...p.style||{},width:`${(w=j.dimensions)==null?void 0:w.width}px`,height:`${(g=j.dimensions)==null?void 0:g.height}px`}),typeof j.resizing<"u"&&(p.resizing=j.resizing),p.expandParent&&p.parentNode)){const C=a[_.indexOf(p.parentNode)];C&&g$(C)&&(!!C.dimensions.width&&!!C.dimensions.height?Ome(p,C):s2(()=>{Ome(p,C);}));}break;}}}}return a;}function p5(l,a){return{id:l,type:"select",selected:a};}function Mbn(l){return{item:l,type:"add"};}function xbn(l){return{id:l,type:"remove"};}function Cbn(l,a,w,g,v){return{id:l,source:a,target:w,sourceHandle:g||null,targetHandle:v||null,type:"remove"};}function k5(l,a=new Set,w=!1){const g=[];for(const[v,_]of l){const p=a.has(v);!(_.selected===void 0&&!p)&&_.selected!==p&&(w&&(_.selected=p),g.push(p5(_.id,p)));}return g;}function Di(l){const a=new Set;let w=!1;const g=()=>a.size>0;l&&(w=!0,a.add(l));const v=j=>{a.delete(j);};return{on:j=>{l&&w&&a.delete(l),a.add(j);const C=()=>{v(j),l&&w&&a.add(l);};return rY(C),{off:C};},off:v,trigger:j=>Promise.all(Array.from(a).map(C=>C(j))),hasListeners:g,fns:a};}function Ibn(l,a,w){let g=l;do{if(g&&g.matches(a)){return!0;}if(g===w){return!1;}g=g.parentElement;}while(g);return!1;}function aut(l,a,w,g,v){var _,p;const j=[];for(const C of l){(C.selected||C.id===v)&&(!C.parentNode||!rmn(C,g))&&(C.draggable||a&&typeof C.draggable>"u")&&j.push(H9({id:C.id,position:C.position||{x:0,y:0},distance:{x:w.x-((_=C.computedPosition)==null?void 0:_.x)||0,y:w.y-((p=C.computedPosition)==null?void 0:p.y)||0},from:C.computedPosition,extent:C.extent,parentNode:C.parentNode,dimensions:C.dimensions,expandParent:C.expandParent}));}return j;}function Ame({id:l,dragItems:a,findNode:w}){const g=[];for(const v of a){const _=w(v.id);_&&g.push(_);}return[l?g.find(v=>v.id===l):g[0],g];}function omn(l){if(Array.isArray(l)){switch(l.length){case 1:return[l[0],l[0],l[0],l[0]];case 2:return[l[0],l[1],l[0],l[1]];case 3:return[l[0],l[1],l[2],l[1]];case 4:return l;default:return[0,0,0,0];}}return[l,l,l,l];}function hut(l,a,w){const[g,v,_,p]=typeof l!=="string"?omn(l.padding):[0,0,0,0];return w&&typeof w.computedPosition.x<"u"&&typeof w.computedPosition.y<"u"&&typeof w.dimensions.width<"u"&&typeof w.dimensions.height<"u"?[[w.computedPosition.x+p,w.computedPosition.y+g],[w.computedPosition.x+w.dimensions.width-v,w.computedPosition.y+w.dimensions.height-_]]:!1;}function dut(l,a,w,g){let v=l.extent||w;if((v==="parent"||!Array.isArray(v)&&(v==null?void 0:v.range)==="parent")&&!l.expandParent){if(l.parentNode&&g&&l.dimensions.width&&l.dimensions.height){const _=hut(v,l,g);_&&(v=_);}else {a(new Pa(Zl.NODE_EXTENT_INVALID,l.id)),v=w;}}else if(Array.isArray(v)){const _=(g==null?void 0:g.computedPosition.x)||0,p=(g==null?void 0:g.computedPosition.y)||0;v=[[v[0][0]+_,v[0][1]+p],[v[1][0]+_,v[1][1]+p]];}else if(v!=="parent"&&(v!=null&&v.range)&&Array.isArray(v.range)){const[_,p,j,C]=omn(v.padding),$=(g==null?void 0:g.computedPosition.x)||0,A=(g==null?void 0:g.computedPosition.y)||0;v=[[v.range[0][0]+$+C,v.range[0][1]+A+_],[v.range[1][0]+$-p,v.range[1][1]+A-j]];}return v==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:v;}function wut({width:l,height:a},w){return[w[0],[w[1][0]-(l||0),w[1][1]-(a||0)]];}function h3e(l,a,w,g,v){const _=wut(l.dimensions,dut(l,w,g,v)),p=X2n(a,_);return{position:{x:p.x-((v==null?void 0:v.computedPosition.x)||0),y:p.y-((v==null?void 0:v.computedPosition.y)||0)},computedPosition:p};}function AX(l,a,w=Ui.Left){const g=((a==null?void 0:a.x)??0)+l.computedPosition.x,v=((a==null?void 0:a.y)??0)+l.computedPosition.y,{width:_,height:p}=a??put(l);switch((a==null?void 0:a.position)??w){case Ui.Top:return{x:g+_/2,y:v};case Ui.Right:return{x:g+_,y:v+p/2};case Ui.Bottom:return{x:g+_/2,y:v+p};case Ui.Left:return{x:g,y:v+p/2};}}function Pbn(l=[],a){return l.length&&(a?l.find(w=>w.id===a):l[0])||null;}function but({sourcePos:l,targetPos:a,sourceWidth:w,sourceHeight:g,targetWidth:v,targetHeight:_,width:p,height:j,viewport:C}){const $={x:Math.min(l.x,a.x),y:Math.min(l.y,a.y),x2:Math.max(l.x+w,a.x+v),y2:Math.max(l.y+g,a.y+_)};$.x===$.x2&&($.x2+=1),$.y===$.y2&&($.y2+=1);const A=emn({x:(0-C.x)/C.zoom,y:(0-C.y)/C.zoom,width:p/C.zoom,height:j/C.zoom}),K=Math.max(0,Math.min(A.x2,$.x2)-Math.max(A.x,$.x)),Q=Math.max(0,Math.min(A.y2,$.y2)-Math.max(A.y,$.y));return Math.ceil(K*Q)>0;}function gut(l,a,w=!1){const g=typeof l.zIndex==="number";let v=g?l.zIndex:0;const _=a(l.source),p=a(l.target);return!_||!p?0:(w&&(v=g?l.zIndex:Math.max(_.computedPosition.z||0,p.computedPosition.z||0)),v);}var Zl=(l=>(l.MISSING_STYLES="MISSING_STYLES",l.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",l.NODE_INVALID="NODE_INVALID",l.NODE_NOT_FOUND="NODE_NOT_FOUND",l.NODE_MISSING_PARENT="NODE_MISSING_PARENT",l.NODE_TYPE_MISSING="NODE_TYPE_MISSING",l.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",l.EDGE_INVALID="EDGE_INVALID",l.EDGE_NOT_FOUND="EDGE_NOT_FOUND",l.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",l.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",l.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",l.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",l.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",l.EDGE_ORPHANED="EDGE_ORPHANED",l.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",l))(Zl||{});const Nbn={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:l=>`Node is invalid -Node: ${l}`,NODE_NOT_FOUND:l=>`Node not found -Node: ${l}`,NODE_MISSING_PARENT:(l,a)=>`Node is missing a parent -Node: ${l} -Parent: ${a}`,NODE_TYPE_MISSING:l=>`Node type is missing -Type: ${l}`,NODE_EXTENT_INVALID:l=>`Only child nodes can use a parent extent -Node: ${l}`,EDGE_INVALID:l=>`An edge needs a source and a target -Edge: ${l}`,EDGE_SOURCE_MISSING:(l,a)=>`Edge source is missing -Edge: ${l} -Source: ${a}`,EDGE_TARGET_MISSING:(l,a)=>`Edge target is missing -Edge: ${l} -Target: ${a}`,EDGE_TYPE_MISSING:l=>`Edge type is missing -Type: ${l}`,EDGE_SOURCE_TARGET_SAME:(l,a,w)=>`Edge source and target are the same -Edge: ${l} -Source: ${a} -Target: ${w}`,EDGE_SOURCE_TARGET_MISSING:(l,a,w)=>`Edge source or target is missing -Edge: ${l} -Source: ${a} -Target: ${w}`,EDGE_ORPHANED:l=>`Edge was orphaned (suddenly missing source or target) and has been removed -Edge: ${l}`,EDGE_NOT_FOUND:l=>`Edge not found -Edge: ${l}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will be removed in the next major version. Please use the id parameter instead"};class Pa extends Error{constructor(a,...w){var g;super((g=Nbn[a])==null?void 0:g.call(Nbn,...w)),this.name="VueFlowError",this.code=a,this.args=w;}}function d3e(l){return"clientX"in l;}function S5(l,a){var w,g;const v=d3e(l),_=v?l.clientX:(w=l.touches)==null?void 0:w[0].clientX,p=v?l.clientY:(g=l.touches)==null?void 0:g[0].clientY;return{x:_-((a==null?void 0:a.left)??0),y:p-((a==null?void 0:a.top)??0)};}const $X=()=>{var l;return typeof navigator<"u"&&((l=navigator==null?void 0:navigator.userAgent)==null?void 0:l.indexOf("Mac"))>=0;};function put(l){var a,w;return{width:((a=l.dimensions)==null?void 0:a.width)??l.width??0,height:((w=l.dimensions)==null?void 0:w.height)??l.height??0};}function umn(){return{handleDomNode:null,isValid:!1,connection:{source:"",target:"",sourceHandle:null,targetHandle:null},endHandle:null};}function $me(l){l==null||l.classList.remove("valid","connecting","vue-flow__handle-valid","vue-flow__handle-connecting");}function Obn(l,a,w,g){const v=[];for(const _ of a[w]||[]){if(`${l.id}-${_.id}-${w}`!==g){const{x:p,y:j}=AX(l,_);v.push({id:_.id||null,type:w,nodeId:l.id,x:p,y:j});}}return v;}function mut(l,a,w,g,v,_){const{x:p,y:j}=S5(l),$=a.elementsFromPoint(p,j).find(Y=>Y.classList.contains("vue-flow__handle"));if($){const Y=$.getAttribute("data-nodeid");if(Y){const Ie=w3e(void 0,$),Me=$.getAttribute("data-handleid"),oe=_({nodeId:Y,id:Me,type:Ie});if(oe){const ke=v.find(fe=>fe.nodeId===Y&&fe.type===Ie&&fe.id===Me);return{handle:{id:Me,type:Ie,nodeId:Y,x:(ke==null?void 0:ke.x)||w.x,y:(ke==null?void 0:ke.y)||w.y},validHandleResult:oe};}}}let A=[],K=Number.POSITIVE_INFINITY;for(const Y of v){const Ie=Math.sqrt((Y.x-w.x)**2+(Y.y-w.y)**2);if(Ie<=g){const Me=_(Y);Ie<=K&&(IeY.isValid),ee=A.some(({handle:Y})=>Y.type==="target");return A.find(({handle:Y,validHandleResult:Ie})=>ee?Y.type==="target":Q?Ie.isValid:!0)||A[0];}function Abn(l,a,w,g,v,_,p,j,C,$,A){const K=_==="target",Q=j.querySelector(`.vue-flow__handle[data-id="${a==null?void 0:a.nodeId}-${a==null?void 0:a.id}-${a==null?void 0:a.type}"]`),{x:ee,y:Y}=S5(l),Ie=j.elementFromPoint(ee,Y),Me=Ie!=null&&Ie.classList.contains("vue-flow__handle")?Ie:Q,oe=umn();if(Me){oe.handleDomNode=Me;const ke=w3e(void 0,Me),fe=Me.getAttribute("data-nodeid"),Ce=Me.getAttribute("data-handleid"),gn=Me.classList.contains("connectable"),rt=Me.classList.contains("connectableend"),jt={source:K?fe:g,sourceHandle:K?Ce:v,target:K?g:fe,targetHandle:K?v:Ce};oe.connection=jt,gn&&rt&&(w===W9.Strict?K&&ke==="source"||!K&&ke==="target":fe!==g||Ce!==v)&&(oe.isValid=p(jt,{edges:C,nodes:$,sourceNode:A(jt.source),targetNode:A(jt.target)}),oe.endHandle={nodeId:fe,handleId:Ce,type:ke,position:oe.isValid?Me.getAttribute("data-handlepos"):null});}return oe;}function vut({nodes:l,nodeId:a,handleId:w,handleType:g}){const v=[];for(let _=0;_{const j=p.getBoundingClientRect();return{id:p.getAttribute("data-handleid"),position:p.getAttribute("data-handlepos"),x:(j.left-w.left)/g,y:(j.top-w.top)/g,...fY(p)};});}function Sve(l,a,w,g,v,_=!1,p){v.value=!1,l.selected?(_||l.selected&&a)&&(g([l]),s2(()=>{p.blur();})):w([l]);}function Ql(l){return typeof Xi(l)<"u";}function Eut(l,a,w,g){if(!l||!l.source||!l.target){return w(new Pa(Zl.EDGE_INVALID,(l==null?void 0:l.id)??"[ID UNKNOWN]")),!1;}let v;return M5(l)?v=l:v={...l,id:Q2n(l)},v=Y2n(v,void 0,g),uut(v,a)?!1:v;}function _ut(l,a,w,g,v,_){if(!a.source||!a.target){return _(new Pa(Zl.EDGE_INVALID,l.id)),!1;}const p=g(l.id);if(!p){return _(new Pa(Zl.EDGE_NOT_FOUND,l.id)),!1;}const{id:j,...C}=l,$={...C,id:v?Q2n(a):j,source:a.source,target:a.target,sourceHandle:a.sourceHandle,targetHandle:a.targetHandle};return w.splice(w.indexOf(p),1,$),$;}function Lbn(l,a,w){const g={},v=[];for(let _=0;_j.id===_.parentNode);_.parentNode&&!p&&w(new Pa(Zl.NODE_MISSING_PARENT,_.id,_.parentNode)),(_.parentNode||g[_.id])&&(g[_.id]&&(_.isParent=!0),p&&(p.isParent=!0));}return v;}function Dbn(l,a){l.clear();for(const w of a){const{id:g,source:v,target:_,sourceHandle:p=null,targetHandle:j=null}=w,C=`${v}-source-${p}`,$=`${_}-target-${j}`,A=l.get(C)||new Map,K=l.get($)||new Map,Q=H9({edgeId:g,source:v,target:_,sourceHandle:p,targetHandle:j});l.set(C,A.set(`${_}-${j}`,Q)),l.set($,K.set(`${v}-${p}`,Q));}}function Rbn(l,a,w,g,v,_,p,j){const C=[];for(const $ of l){const A=M5($)?$:Eut($,j,v,_);if(!A){continue;}const K=w(A.source),Q=w(A.target);if(!K||!Q){v(new Pa(Zl.EDGE_SOURCE_TARGET_MISSING,A.id,A.source,A.target));continue;}if(!K){v(new Pa(Zl.EDGE_SOURCE_MISSING,A.id,A.source));continue;}if(!Q){v(new Pa(Zl.EDGE_TARGET_MISSING,A.id,A.target));continue;}if(a&&!a(A,{edges:j,nodes:p,sourceNode:K,targetNode:Q})){v(new Pa(Zl.EDGE_INVALID,A.id));continue;}const ee=g(A.id);C.push({...Y2n(A,ee,_),sourceNode:K,targetNode:Q});}return C;}const Bbn=Symbol("vueFlow"),fmn=Symbol("nodeId"),lmn=Symbol("nodeRef"),Sut=Symbol("edgeId"),jut=Symbol("edgeRef"),aY=Symbol("slots");function amn(l){const{vueFlowRef:a,snapToGrid:w,snapGrid:g,noDragClassName:v,nodes:_,nodeExtent:p,nodeDragThreshold:j,viewport:C,autoPanOnNodeDrag:$,autoPanSpeed:A,nodesDraggable:K,panBy:Q,findNode:ee,multiSelectionActive:Y,nodesSelectionActive:Ie,selectNodesOnDrag:Me,removeSelectedElements:oe,addSelectedNodes:ke,updateNodePositions:fe,emits:Ce}=gs(),{onStart:gn,onDrag:rt,onStop:jt,onClick:ft,el:gt,disabled:Ct,id:ii,selectable:Sn,dragHandle:V}=l,cn=su(!1);let et=[],_n,Jn=null,ot={x:void 0,y:void 0},Rt={x:0,y:0},oi=null,Ft=!1,gi=0,di=!1;const wi=xut(),Ai=({x:me,y:ye})=>{ot={x:me,y:ye};let ue=!1;if(et=et.map(W=>{const ie={x:me-W.distance.x,y:ye-W.distance.y};w.value&&(ie.x=g.value[0]*Math.round(ie.x/g.value[0]),ie.y=g.value[1]*Math.round(ie.y/g.value[1]));const{computedPosition:se}=h3e(W,ie,Ce.error,p.value,W.parentNode?ee(W.parentNode):void 0);return ue=ue||W.position.x!==se.x||W.position.y!==se.y,W.position=se,W;}),!!ue&&(fe(et,!0,!0),cn.value=!0,oi)){const[W,ie]=Ame({id:ii,dragItems:et,findNode:ee});rt({event:oi,node:W,nodes:ie});}},an=()=>{if(!Jn){return;}const[me,ye]=cmn(Rt,Jn,A.value);if(me!==0||ye!==0){const ue={x:(ot.x??0)-me/C.value.zoom,y:(ot.y??0)-ye/C.value.zoom};Q({x:me,y:ye})&&Ai(ue);}gi=requestAnimationFrame(an);},on=(me,ye)=>{Ft=!0;const ue=ee(ii);!Me.value&&!Y.value&&ue&&(ue.selected||oe()),ue&&ou(Sn)&&Me.value&&Sve(ue,Y.value,ke,oe,Ie,!1,ye);const W=wi(me);if(ot=W,et=aut(_.value,K.value,W,ee,ii),et.length){const[ie,se]=Ame({id:ii,dragItems:et,findNode:ee});gn({event:me.sourceEvent,node:ie,nodes:se});}},Qn=(me,ye)=>{var ue;me.sourceEvent.type==="touchmove"&&me.sourceEvent.touches.length>1||(j.value===0&&on(me,ye),ot=wi(me),Jn=((ue=a.value)==null?void 0:ue.getBoundingClientRect())||null,Rt=S5(me.sourceEvent,Jn));},At=(me,ye)=>{const ue=wi(me);if(!di&&Ft&&$.value&&(di=!0,an()),!Ft){const W=ue.xSnapped-(ot.x??0),ie=ue.ySnapped-(ot.y??0);Math.sqrt(W*W+ie*ie)>j.value&&on(me,ye);}(ot.x!==ue.xSnapped||ot.y!==ue.ySnapped)&&et.length&&Ft&&(oi=me.sourceEvent,Rt=S5(me.sourceEvent,Jn),Ai(ue));},ui=me=>{if(!Ft&&!cn.value&&!Y.value){const ye=wi(me),ue=ye.xSnapped-(ot.x??0),W=ye.ySnapped-(ot.y??0),ie=Math.sqrt(ue*ue+W*W);ie!==0&&ie<=j.value&&(ft==null||ft(me.sourceEvent));return;}if(cn.value=!1,di=!1,Ft=!1,ot={x:void 0,y:void 0},cancelAnimationFrame(gi),et.length){fe(et,!1,!1);const[ye,ue]=Ame({id:ii,dragItems:et,findNode:ee});jt({event:me.sourceEvent,node:ye,nodes:ue});}};return uu([()=>ou(Ct),gt],([me,ye],ue,W)=>{if(ye){const ie=c2(ye);me||(_n=sct().on("start",se=>Qn(se,ye)).on("drag",se=>At(se,ye)).on("end",se=>ui(se)).filter(se=>{const ge=se.target,Fe=ou(V);return!se.button&&(!v.value||!Ibn(ge,`.${v.value}`,ye)&&(!Fe||Ibn(ge,Fe,ye)));}),ie.call(_n)),W(()=>{ie.on(".drag",null),_n&&(_n.on("start",null),_n.on("drag",null),_n.on("end",null));});}}),cn;}function Tut(){return{doubleClick:Di(),click:Di(),mouseEnter:Di(),mouseMove:Di(),mouseLeave:Di(),contextMenu:Di(),updateStart:Di(),update:Di(),updateEnd:Di()};}function Mut(l,a){const w=Tut();return w.doubleClick.on(g=>{var v,_;a.edgeDoubleClick(g),(_=(v=l.events)==null?void 0:v.doubleClick)==null||_.call(v,g);}),w.click.on(g=>{var v,_;a.edgeClick(g),(_=(v=l.events)==null?void 0:v.click)==null||_.call(v,g);}),w.mouseEnter.on(g=>{var v,_;a.edgeMouseEnter(g),(_=(v=l.events)==null?void 0:v.mouseEnter)==null||_.call(v,g);}),w.mouseMove.on(g=>{var v,_;a.edgeMouseMove(g),(_=(v=l.events)==null?void 0:v.mouseMove)==null||_.call(v,g);}),w.mouseLeave.on(g=>{var v,_;a.edgeMouseLeave(g),(_=(v=l.events)==null?void 0:v.mouseLeave)==null||_.call(v,g);}),w.contextMenu.on(g=>{var v,_;a.edgeContextMenu(g),(_=(v=l.events)==null?void 0:v.contextMenu)==null||_.call(v,g);}),w.updateStart.on(g=>{var v,_;a.edgeUpdateStart(g),(_=(v=l.events)==null?void 0:v.updateStart)==null||_.call(v,g);}),w.update.on(g=>{var v,_;a.edgeUpdate(g),(_=(v=l.events)==null?void 0:v.update)==null||_.call(v,g);}),w.updateEnd.on(g=>{var v,_;a.edgeUpdateEnd(g),(_=(v=l.events)==null?void 0:v.updateEnd)==null||_.call(v,g);}),Object.entries(w).reduce((g,[v,_])=>(g.emit[v]=_.trigger,g.on[v]=_.on,g),{emit:{},on:{}});}function xut(){const{viewport:l,snapGrid:a,snapToGrid:w}=gs();return({sourceEvent:g})=>{const v=g.touches?g.touches[0].clientX:g.clientX,_=g.touches?g.touches[0].clientY:g.clientY,p={x:(v-l.value.x)/l.value.zoom,y:(_-l.value.y)/l.value.zoom};return{xSnapped:w.value?a.value[0]*Math.round(p.x/a.value[0]):p.x,ySnapped:w.value?a.value[1]*Math.round(p.y/a.value[1]):p.y,...p};};}function iX(){return!0;}function hmn({handleId:l,nodeId:a,type:w,isValidConnection:g,edgeUpdaterType:v,onEdgeUpdate:_,onEdgeUpdateEnd:p}){const{vueFlowRef:j,connectionMode:C,connectionRadius:$,connectOnClick:A,connectionClickStartHandle:K,nodesConnectable:Q,autoPanOnConnect:ee,autoPanSpeed:Y,findNode:Ie,panBy:Me,startConnection:oe,updateConnection:ke,endConnection:fe,emits:Ce,viewport:gn,edges:rt,nodes:jt,isValidConnection:ft}=gs();let gt=null,Ct=!1,ii=null,Sn=null;function V(et){var _n;const Jn=ou(w)==="target",ot=d3e(et),Rt=_bn(et.target);if(ot&&et.button===0||!ot){let oi=function(se){ye=S5(se,ui);const{handle:ge,validHandleResult:Fe}=mut(se,Rt,OX(ye,gn.value,!1,[1,1]),$.value,W,Fn=>Abn(se,Fn,C.value,ou(a),ou(l),Jn?"target":"source",di,Rt,rt.value,jt.value,Ie));if(wi=ge,ue||(ie(),ue=!0),gt=Fe.connection,Ct=Fe.isValid,ii=Fe.handleDomNode,!(Ct&&wi&&(Sn!=null&&Sn.endHandle)&&Fe.endHandle&&Sn.endHandle.type===Fe.endHandle.type&&Sn.endHandle.nodeId===Fe.endHandle.nodeId&&Sn.endHandle.handleId===Fe.endHandle.handleId)){if(ke(wi&&Ct?Z2n({x:wi.x,y:wi.y},gn.value):ye,Fe.endHandle,yut(!!wi,Ct)),Sn=Fe,!wi&&!Ct&&!ii){return $me(me);}gt&>.source!==gt.target&&ii&&($me(me),me=ii,ii.classList.add("connecting","vue-flow__handle-connecting"),ii.classList.toggle("valid",Ct),ii.classList.toggle("vue-flow__handle-valid",Ct));}},Ft=function(se){(wi||ii)&>&&Ct&&(_?_(se,gt):Ce.connect(gt)),Ce.connectEnd(se),v&&(p==null||p(se)),$me(me),cancelAnimationFrame(Ai),fe(se),ue=!1,Ct=!1,gt=null,ii=null,Rt.removeEventListener("mousemove",oi),Rt.removeEventListener("mouseup",Ft),Rt.removeEventListener("touchmove",oi),Rt.removeEventListener("touchend",Ft);};const gi=Ie(ou(a));let di=ou(g)||ft.value||iX;!di&&gi&&(di=(Jn?gi.isValidSourcePos:gi.isValidTargetPos)||iX);let wi,Ai=0;const{x:an,y:on}=S5(et),Qn=Rt==null?void 0:Rt.elementFromPoint(an,on),At=w3e(ou(v),Qn),ui=(_n=j.value)==null?void 0:_n.getBoundingClientRect();if(!ui||!At){return;}let me,ye=S5(et,ui),ue=!1;const W=vut({nodes:jt.value,nodeId:ou(a),handleId:ou(l),handleType:At}),ie=()=>{if(!ee.value){return;}const[se,ge]=cmn(ye,ui,Y.value);Me({x:se,y:ge}),Ai=requestAnimationFrame(ie);};oe({nodeId:ou(a),handleId:ou(l),type:At,position:(Qn==null?void 0:Qn.getAttribute("data-handlepos"))||Ui.Top},{x:an-ui.left,y:on-ui.top}),Ce.connectStart({event:et,nodeId:ou(a),handleId:ou(l),handleType:At}),Rt.addEventListener("mousemove",oi),Rt.addEventListener("mouseup",Ft),Rt.addEventListener("touchmove",oi),Rt.addEventListener("touchend",Ft);}}function cn(et){if(!A.value){return;}const _n=ou(w)==="target";if(!K.value){Ce.clickConnectStart({event:et,nodeId:ou(a),handleId:ou(l)}),oe({nodeId:ou(a),type:ou(w),handleId:ou(l)},void 0,!0);}else{let Jn=ou(g)||ft.value||iX;const ot=Ie(ou(a));if(!Jn&&ot&&(Jn=(_n?ot.isValidSourcePos:ot.isValidTargetPos)||iX),ot&&(typeof ot.connectable>"u"?Q.value:ot.connectable)===!1){return;}const Rt=_bn(et.target),{connection:oi,isValid:Ft}=Abn(et,{nodeId:ou(a),id:ou(l),type:ou(w)},C.value,K.value.nodeId,K.value.handleId||null,K.value.type,Jn,Rt,rt.value,jt.value,Ie),gi=oi.source===oi.target;Ft&&!gi&&Ce.connect(oi),Ce.clickConnectEnd(et),fe(et,!0);}}return{handlePointerDown:V,handleClick:cn};}function Cut(){return lv(fmn,"");}function dmn(l){const a=l??Cut()??"",w=lv(lmn,su(null)),{findNode:g,edges:v,emits:_}=gs(),p=g(a);return p||_.error(new Pa(Zl.NODE_NOT_FOUND,a)),{id:a,nodeEl:w,node:p,parentNode:nc(()=>g(p.parentNode)),connectedEdges:nc(()=>imn([p],v.value))};}function Iut(){return{doubleClick:Di(),click:Di(),mouseEnter:Di(),mouseMove:Di(),mouseLeave:Di(),contextMenu:Di(),dragStart:Di(),drag:Di(),dragStop:Di()};}function Put(l,a){const w=Iut();return w.doubleClick.on(g=>{var v,_;a.nodeDoubleClick(g),(_=(v=l.events)==null?void 0:v.doubleClick)==null||_.call(v,g);}),w.click.on(g=>{var v,_;a.nodeClick(g),(_=(v=l.events)==null?void 0:v.click)==null||_.call(v,g);}),w.mouseEnter.on(g=>{var v,_;a.nodeMouseEnter(g),(_=(v=l.events)==null?void 0:v.mouseEnter)==null||_.call(v,g);}),w.mouseMove.on(g=>{var v,_;a.nodeMouseMove(g),(_=(v=l.events)==null?void 0:v.mouseMove)==null||_.call(v,g);}),w.mouseLeave.on(g=>{var v,_;a.nodeMouseLeave(g),(_=(v=l.events)==null?void 0:v.mouseLeave)==null||_.call(v,g);}),w.contextMenu.on(g=>{var v,_;a.nodeContextMenu(g),(_=(v=l.events)==null?void 0:v.contextMenu)==null||_.call(v,g);}),w.dragStart.on(g=>{var v,_;a.nodeDragStart(g),(_=(v=l.events)==null?void 0:v.dragStart)==null||_.call(v,g);}),w.drag.on(g=>{var v,_;a.nodeDrag(g),(_=(v=l.events)==null?void 0:v.drag)==null||_.call(v,g);}),w.dragStop.on(g=>{var v,_;a.nodeDragStop(g),(_=(v=l.events)==null?void 0:v.dragStop)==null||_.call(v,g);}),Object.entries(w).reduce((g,[v,_])=>(g.emit[v]=_.trigger,g.on[v]=_.on,g),{emit:{},on:{}});}function wmn(){const{getSelectedNodes:l,nodeExtent:a,updateNodePositions:w,findNode:g,snapGrid:v,snapToGrid:_,nodesDraggable:p,emits:j}=gs();return(C,$=!1)=>{const A=_.value?v.value[0]:5,K=_.value?v.value[1]:5,Q=$?4:1,ee=C.x*A*Q,Y=C.y*K*Q,Ie=[];for(const Me of l.value){if(Me.draggable||p&&typeof Me.draggable>"u"){const oe={x:Me.computedPosition.x+ee,y:Me.computedPosition.y+Y},{computedPosition:ke}=h3e(Me,oe,j.error,a.value,Me.parentNode?g(Me.parentNode):void 0);Ie.push({id:Me.id,position:ke,from:Me.position,distance:{x:C.x,y:C.y},dimensions:Me.dimensions});}}w(Ie,!0,!1);};}const Lme=.1;function g5(){return lY("Viewport not initialized yet."),Promise.resolve(!1);}const Nut={zoomIn:g5,zoomOut:g5,zoomTo:g5,fitView:g5,setCenter:g5,fitBounds:g5,project:l=>l,screenToFlowCoordinate:l=>l,flowToScreenCoordinate:l=>l,setViewport:g5,setTransform:g5,getViewport:()=>({x:0,y:0,zoom:1}),getTransform:()=>({x:0,y:0,zoom:1}),viewportInitialized:!1};function Out(l){function a(g,v){return new Promise(_=>{l.d3Selection&&l.d3Zoom?l.d3Zoom.scaleBy(Dme(l.d3Selection,v,()=>{_(!0);}),g):_(!1);});}function w(g,v,_,p){return new Promise(j=>{const{x:C,y:$}=X2n({x:-g,y:-v},l.translateExtent),A=WT.translate(-C,-$).scale(_);l.d3Selection&&l.d3Zoom?l.d3Zoom.transform(Dme(l.d3Selection,p,()=>{j(!0);}),A):j(!1);});}return nc(()=>l.d3Zoom&&l.d3Selection&&l.dimensions.width&&l.dimensions.height?{viewportInitialized:!0,zoomIn:v=>a(1.2,v==null?void 0:v.duration),zoomOut:v=>a(1/1.2,v==null?void 0:v.duration),zoomTo:(v,_)=>new Promise(p=>{l.d3Selection&&l.d3Zoom?l.d3Zoom.scaleTo(Dme(l.d3Selection,_==null?void 0:_.duration,()=>{p(!0);}),v):p(!1);}),setViewport:(v,_)=>w(v.x,v.y,v.zoom,_==null?void 0:_.duration),setTransform:(v,_)=>w(v.x,v.y,v.zoom,_==null?void 0:_.duration),getViewport:()=>({x:l.viewport.x,y:l.viewport.y,zoom:l.viewport.zoom}),getTransform:()=>({x:l.viewport.x,y:l.viewport.y,zoom:l.viewport.zoom}),fitView:(v={padding:Lme,includeHiddenNodes:!1,duration:0})=>{var _,p;const j=[];for(const Q of l.nodes){Q.dimensions.width&&Q.dimensions.height&&((v==null?void 0:v.includeHiddenNodes)||!Q.hidden)&&(!((_=v.nodes)!=null&&_.length)||(p=v.nodes)!=null&&p.length&&v.nodes.includes(Q.id))&&j.push(Q);}if(!j.length){return Promise.resolve(!1);}const C=nmn(j),{x:$,y:A,zoom:K}=Sbn(C,l.dimensions.width,l.dimensions.height,v.minZoom??l.minZoom,v.maxZoom??l.maxZoom,v.padding??Lme,v.offset);return w($,A,K,v==null?void 0:v.duration);},setCenter:(v,_,p)=>{const j=typeof(p==null?void 0:p.zoom)<"u"?p.zoom:l.maxZoom,C=l.dimensions.width/2-v*j,$=l.dimensions.height/2-_*j;return w(C,$,j,p==null?void 0:p.duration);},fitBounds:(v,_={padding:Lme})=>{const{x:p,y:j,zoom:C}=Sbn(v,l.dimensions.width,l.dimensions.height,l.minZoom,l.maxZoom,_.padding);return w(p,j,C,_==null?void 0:_.duration);},project:v=>OX(v,l.viewport,l.snapToGrid,l.snapGrid),screenToFlowCoordinate:v=>{if(l.vueFlowRef){const{x:_,y:p}=l.vueFlowRef.getBoundingClientRect(),j={x:v.x-_,y:v.y-p};return OX(j,l.viewport,l.snapToGrid,l.snapGrid);}return{x:0,y:0};},flowToScreenCoordinate:v=>{if(l.vueFlowRef){const{x:_,y:p}=l.vueFlowRef.getBoundingClientRect(),j={x:v.x+_,y:v.y+p};return Z2n(j,l.viewport);}return{x:0,y:0};}}:Nut);}function Dme(l,a=0,w){return l.transition().duration(a).on("end",w);}function Aut(l,a,w){const g=_gn(!0);return g.run(()=>{const v=()=>{g.run(()=>{let Ie,Me,oe=!!(w.nodes.value.length||w.edges.value.length);Ie=xT([l.modelValue,()=>{var ke,fe;return(fe=(ke=l.modelValue)==null?void 0:ke.value)==null?void 0:fe.length;}],([ke])=>{ke&&Array.isArray(ke)&&(Me==null||Me.pause(),w.setElements(ke),!Me&&!oe&&ke.length?oe=!0:Me==null||Me.resume());}),Me=xT([w.nodes,w.edges,()=>w.edges.value.length,()=>w.nodes.value.length],([ke,fe])=>{var Ce;(Ce=l.modelValue)!=null&&Ce.value&&Array.isArray(l.modelValue.value)&&(Ie==null||Ie.pause(),l.modelValue.value=[...ke,...fe],s2(()=>{Ie==null||Ie.resume();}));},{immediate:oe}),sX(()=>{Ie==null||Ie.stop(),Me==null||Me.stop();});});},_=()=>{g.run(()=>{let Ie,Me,oe=!!w.nodes.value.length;Ie=xT([l.nodes,()=>{var ke,fe;return(fe=(ke=l.nodes)==null?void 0:ke.value)==null?void 0:fe.length;}],([ke])=>{ke&&Array.isArray(ke)&&(Me==null||Me.pause(),w.setNodes(ke),!Me&&!oe&&ke.length?oe=!0:Me==null||Me.resume());}),Me=xT([w.nodes,()=>w.nodes.value.length],([ke])=>{var fe;(fe=l.nodes)!=null&&fe.value&&Array.isArray(l.nodes.value)&&(Ie==null||Ie.pause(),l.nodes.value=[...ke],s2(()=>{Ie==null||Ie.resume();}));},{immediate:oe}),sX(()=>{Ie==null||Ie.stop(),Me==null||Me.stop();});});},p=()=>{g.run(()=>{let Ie,Me,oe=!!w.edges.value.length;Ie=xT([l.edges,()=>{var ke,fe;return(fe=(ke=l.edges)==null?void 0:ke.value)==null?void 0:fe.length;}],([ke])=>{ke&&Array.isArray(ke)&&(Me==null||Me.pause(),w.setEdges(ke),!Me&&!oe&&ke.length?oe=!0:Me==null||Me.resume());}),Me=xT([w.edges,()=>w.edges.value.length],([ke])=>{var fe;(fe=l.edges)!=null&&fe.value&&Array.isArray(l.edges.value)&&(Ie==null||Ie.pause(),l.edges.value=[...ke],s2(()=>{Ie==null||Ie.resume();}));},{immediate:oe}),sX(()=>{Ie==null||Ie.stop(),Me==null||Me.stop();});});},j=()=>{g.run(()=>{uu(()=>a.maxZoom,()=>{a.maxZoom&&Ql(a.maxZoom)&&w.setMaxZoom(a.maxZoom);},{immediate:!0});});},C=()=>{g.run(()=>{uu(()=>a.minZoom,()=>{a.minZoom&&Ql(a.minZoom)&&w.setMinZoom(a.minZoom);},{immediate:!0});});},$=()=>{g.run(()=>{uu(()=>a.translateExtent,()=>{a.translateExtent&&Ql(a.translateExtent)&&w.setTranslateExtent(a.translateExtent);},{immediate:!0});});},A=()=>{g.run(()=>{uu(()=>a.nodeExtent,()=>{a.nodeExtent&&Ql(a.nodeExtent)&&w.setNodeExtent(a.nodeExtent);},{immediate:!0});});},K=()=>{g.run(()=>{uu(()=>a.applyDefault,()=>{Ql(a.applyDefault)&&(w.applyDefault.value=a.applyDefault);},{immediate:!0});});},Q=()=>{g.run(()=>{const Ie=async Me=>{let oe=Me;typeof a.autoConnect==="function"&&(oe=await a.autoConnect(Me)),oe!==!1&&w.addEdges([oe]);};uu(()=>a.autoConnect,()=>{Ql(a.autoConnect)&&(w.autoConnect.value=a.autoConnect);},{immediate:!0}),uu(w.autoConnect,(Me,oe,ke)=>{Me?w.onConnect(Ie):w.hooks.value.connect.off(Ie),ke(()=>{w.hooks.value.connect.off(Ie);});},{immediate:!0});});},ee=()=>{const Ie=["id","modelValue","translateExtent","nodeExtent","edges","nodes","maxZoom","minZoom","applyDefault","autoConnect"];for(const Me of Object.keys(a)){const oe=Me;if(!Ie.includes(oe)){const ke=Cs(()=>a[oe]),fe=w[oe];Il(fe)&&g.run(()=>{uu(ke,Ce=>{Ql(Ce)&&(fe.value=Ce);},{immediate:!0});});}}};(()=>{v(),_(),p(),C(),j(),$(),A(),K(),Q(),ee();})();}),()=>g.stop();}function $ut(){return{edgesChange:Di(),nodesChange:Di(),nodeDoubleClick:Di(),nodeClick:Di(),nodeMouseEnter:Di(),nodeMouseMove:Di(),nodeMouseLeave:Di(),nodeContextMenu:Di(),nodeDragStart:Di(),nodeDrag:Di(),nodeDragStop:Di(),nodesInitialized:Di(),miniMapNodeClick:Di(),miniMapNodeDoubleClick:Di(),miniMapNodeMouseEnter:Di(),miniMapNodeMouseMove:Di(),miniMapNodeMouseLeave:Di(),connect:Di(),connectStart:Di(),connectEnd:Di(),clickConnectStart:Di(),clickConnectEnd:Di(),paneReady:Di(),init:Di(),move:Di(),moveStart:Di(),moveEnd:Di(),selectionDragStart:Di(),selectionDrag:Di(),selectionDragStop:Di(),selectionContextMenu:Di(),selectionStart:Di(),selectionEnd:Di(),viewportChangeStart:Di(),viewportChange:Di(),viewportChangeEnd:Di(),paneScroll:Di(),paneClick:Di(),paneContextMenu:Di(),paneMouseEnter:Di(),paneMouseMove:Di(),paneMouseLeave:Di(),edgeContextMenu:Di(),edgeMouseEnter:Di(),edgeMouseMove:Di(),edgeMouseLeave:Di(),edgeDoubleClick:Di(),edgeClick:Di(),edgeUpdateStart:Di(),edgeUpdate:Di(),edgeUpdateEnd:Di(),updateNodeInternals:Di(),error:Di(l=>lY(l.message))};}function Lut(l,a){Wgn(()=>{for(const[w,g]of Object.entries(a.value)){const v=_=>{l(w,_);};g.fns.add(v),rY(()=>{g.off(v);});}});}function bmn(){return{vueFlowRef:null,viewportRef:null,nodes:[],edges:[],connectionLookup:new Map,nodeTypes:{},edgeTypes:{},initialized:!1,dimensions:{width:0,height:0},viewport:{x:0,y:0,zoom:1},d3Zoom:null,d3Selection:null,d3ZoomHandler:null,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],selectionMode:a3e.Full,paneDragging:!1,preventScrolling:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,panOnScroll:!1,panOnScrollSpeed:.5,panOnScrollMode:_$.Free,paneClickDistance:0,panOnDrag:!0,edgeUpdaterRadius:10,onlyRenderVisibleElements:!1,defaultViewport:{x:0,y:0,zoom:1},nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,defaultMarkerColor:"#b1b1b7",connectionLineStyle:{},connectionLineType:null,connectionLineOptions:{type:D9.Bezier,style:{}},connectionMode:W9.Loose,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectionPosition:{x:Number.NaN,y:Number.NaN},connectionRadius:20,connectOnClick:!0,connectionStatus:null,isValidConnection:null,snapGrid:[15,15],snapToGrid:!1,edgesUpdatable:!1,edgesFocusable:!0,nodesFocusable:!0,nodesConnectable:!0,nodesDraggable:!0,nodeDragThreshold:1,elementsSelectable:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,selectionKeyCode:"Shift",multiSelectionKeyCode:$X()?"Meta":"Control",zoomActivationKeyCode:$X()?"Meta":"Control",deleteKeyCode:"Backspace",panActivationKeyCode:"Space",hooks:$ut(),applyDefault:!0,autoConnect:!1,fitViewOnInit:!1,fitViewOnInitDone:!1,noDragClassName:"nodrag",noWheelClassName:"nowheel",noPanClassName:"nopan",defaultEdgeOptions:void 0,elevateEdgesOnSelect:!1,elevateNodesOnSelect:!0,autoPanOnNodeDrag:!0,autoPanOnConnect:!0,autoPanSpeed:15,disableKeyboardA11y:!1,ariaLiveMessage:""};}const Dut=["id","vueFlowRef","viewportRef","initialized","modelValue","nodes","edges","maxZoom","minZoom","translateExtent","hooks","defaultEdgeOptions"];function Rut(l,a,w){const g=Out(l),v=W=>{const ie=W??[];l.hooks.updateNodeInternals.trigger(ie);},_=W=>out(W,l.nodes,l.edges),p=W=>cut(W,l.nodes,l.edges),j=W=>imn(W,l.edges),C=({id:W,type:ie,nodeId:se})=>{var ge;return Array.from(((ge=l.connectionLookup.get(`${se}-${ie}-${W??null}`))==null?void 0:ge.values())??[]);},$=W=>{if(W){return a.value.get(W);}},A=W=>{if(W){return w.value.get(W);}},K=(W,ie,se)=>{var ge,Fe;const Fn=[];for(const Dn of W){const zn={id:Dn.id,type:"position",dragging:se,from:Dn.from};if(ie&&(zn.position=Dn.position,Dn.parentNode)){const Rn=$(Dn.parentNode);zn.position={x:zn.position.x-(((ge=Rn==null?void 0:Rn.computedPosition)==null?void 0:ge.x)??0),y:zn.position.y-(((Fe=Rn==null?void 0:Rn.computedPosition)==null?void 0:Fe.y)??0)};}Fn.push(zn);}Fn!=null&&Fn.length&&l.hooks.nodesChange.trigger(Fn);},Q=W=>{if(!l.vueFlowRef){return;}const ie=l.vueFlowRef.querySelector(".vue-flow__transformationpane");if(!ie){return;}const se=window.getComputedStyle(ie),{m22:ge}=new window.DOMMatrixReadOnly(se.transform),Fe=[];for(let Fn=0;Fn{l.fitViewOnInitDone=!0;}),Fe.length&&l.hooks.nodesChange.trigger(Fe);},ee=(W,ie)=>{const se=new Set,ge=new Set;for(const Dn of W){U9(Dn)?se.add(Dn.id):M5(Dn)&&ge.add(Dn.id);}const Fe=k5(a.value,se,!0),Fn=k5(w.value,ge);if(l.multiSelectionActive){for(const Dn of se){Fe.push(p5(Dn,ie));}for(const Dn of ge){Fn.push(p5(Dn,ie));}}Fe.length&&l.hooks.nodesChange.trigger(Fe),Fn.length&&l.hooks.edgesChange.trigger(Fn);},Y=W=>{if(l.multiSelectionActive){const ie=W.map(se=>p5(se.id,!0));l.hooks.nodesChange.trigger(ie);return;}l.hooks.nodesChange.trigger(k5(a.value,new Set(W.map(ie=>ie.id)),!0)),l.hooks.edgesChange.trigger(k5(w.value));},Ie=W=>{if(l.multiSelectionActive){const ie=W.map(se=>p5(se.id,!0));l.hooks.edgesChange.trigger(ie);return;}l.hooks.edgesChange.trigger(k5(w.value,new Set(W.map(ie=>ie.id)))),l.hooks.nodesChange.trigger(k5(a.value,new Set,!0));},Me=W=>{ee(W,!0);},oe=W=>{const se=(W||l.nodes).map(ge=>(ge.selected=!1,p5(ge.id,!1)));l.hooks.nodesChange.trigger(se);},ke=W=>{const se=(W||l.edges).map(ge=>(ge.selected=!1,p5(ge.id,!1)));l.hooks.edgesChange.trigger(se);},fe=W=>{if(!W||!W.length){return ee([],!1);}const ie=W.reduce((se,ge)=>{const Fe=p5(ge.id,!1);return U9(ge)?se.nodes.push(Fe):se.edges.push(Fe),se;},{nodes:[],edges:[]});ie.nodes.length&&l.hooks.nodesChange.trigger(ie.nodes),ie.edges.length&&l.hooks.edgesChange.trigger(ie.edges);},Ce=W=>{var ie;(ie=l.d3Zoom)==null||ie.scaleExtent([W,l.maxZoom]),l.minZoom=W;},gn=W=>{var ie;(ie=l.d3Zoom)==null||ie.scaleExtent([l.minZoom,W]),l.maxZoom=W;},rt=W=>{var ie;(ie=l.d3Zoom)==null||ie.translateExtent(W),l.translateExtent=W;},jt=W=>{l.nodeExtent=W,v();},ft=W=>{var ie;(ie=l.d3Zoom)==null||ie.clickDistance(W);},gt=W=>{l.nodesDraggable=W,l.nodesConnectable=W,l.elementsSelectable=W;},Ct=W=>{const ie=W instanceof Function?W(l.nodes):W;!l.initialized&&!ie.length||(l.nodes=Lbn(ie,$,l.hooks.error.trigger));},ii=W=>{const ie=W instanceof Function?W(l.edges):W;if(!l.initialized&&!ie.length){return;}const se=Rbn(ie,l.isValidConnection,$,A,l.hooks.error.trigger,l.defaultEdgeOptions,l.nodes,l.edges);Dbn(l.connectionLookup,se),l.edges=se;},Sn=W=>{const ie=W instanceof Function?W([...l.nodes,...l.edges]):W;!l.initialized&&!ie.length||(Ct(ie.filter(U9)),ii(ie.filter(M5)));},V=W=>{let ie=W instanceof Function?W(l.nodes):W;ie=Array.isArray(ie)?ie:[ie];const se=Lbn(ie,$,l.hooks.error.trigger),ge=[];for(const Fe of se){ge.push(Mbn(Fe));}ge.length&&l.hooks.nodesChange.trigger(ge);},cn=W=>{let ie=W instanceof Function?W(l.edges):W;ie=Array.isArray(ie)?ie:[ie];const se=Rbn(ie,l.isValidConnection,$,A,l.hooks.error.trigger,l.defaultEdgeOptions,l.nodes,l.edges),ge=[];for(const Fe of se){ge.push(Mbn(Fe));}ge.length&&l.hooks.edgesChange.trigger(ge);},et=(W,ie=!0,se=!1)=>{const ge=W instanceof Function?W(l.nodes):W,Fe=Array.isArray(ge)?ge:[ge],Fn=[],Dn=[];function zn(ei){const Yn=j(ei);for(const $t of Yn){(!Ql($t.deletable)||$t.deletable)&&Dn.push(Cbn($t.id,$t.source,$t.target,$t.sourceHandle,$t.targetHandle));}}function Rn(ei){const Yn=[];for(const $t of l.nodes){$t.parentNode===ei&&Yn.push($t);}if(Yn.length){for(const $t of Yn){Fn.push(xbn($t.id));}ie&&zn(Yn);for(const $t of Yn){Rn($t.id);}}}for(const ei of Fe){const Yn=typeof ei==="string"?$(ei):ei;Yn&&(Ql(Yn.deletable)&&!Yn.deletable||(Fn.push(xbn(Yn.id)),ie&&zn([Yn]),se&&Rn(Yn.id)));}Dn.length&&l.hooks.edgesChange.trigger(Dn),Fn.length&&l.hooks.nodesChange.trigger(Fn);},_n=W=>{const ie=W instanceof Function?W(l.edges):W,se=Array.isArray(ie)?ie:[ie],ge=[];for(const Fe of se){const Fn=typeof Fe==="string"?A(Fe):Fe;Fn&&(Ql(Fn.deletable)&&!Fn.deletable||ge.push(Cbn(typeof Fe==="string"?Fe:Fe.id,Fn.source,Fn.target,Fn.sourceHandle,Fn.targetHandle)));}l.hooks.edgesChange.trigger(ge);},Jn=(W,ie,se=!0)=>_ut(W,ie,l.edges,A,se,l.hooks.error.trigger),ot=(W,ie,se={replace:!1})=>{const ge=A(W);if(!ge){return;}const Fe=typeof ie==="function"?ie(ge):ie;ge.data=se.replace?Fe:{...ge.data,...Fe};},Rt=W=>Tbn(W,l.nodes),oi=W=>{const ie=Tbn(W,l.edges);return Dbn(l.connectionLookup,ie),ie;},Ft=(W,ie,se={replace:!1})=>{const ge=$(W);if(!ge){return;}const Fe=typeof ie==="function"?ie(ge):ie;se.replace?l.nodes.splice(l.nodes.indexOf(ge),1,Fe):Object.assign(ge,Fe);},gi=(W,ie,se={replace:!1})=>{const ge=$(W);if(!ge){return;}const Fe=typeof ie==="function"?ie(ge):ie;ge.data=se.replace?Fe:{...ge.data,...Fe};},di=(W,ie,se=!1)=>{se?l.connectionClickStartHandle=W:l.connectionStartHandle=W,l.connectionEndHandle=null,l.connectionStatus=null,ie&&(l.connectionPosition=ie);},wi=(W,ie=null,se=null)=>{l.connectionStartHandle&&(l.connectionPosition=W,l.connectionEndHandle=ie,l.connectionStatus=se);},Ai=(W,ie)=>{l.connectionPosition={x:Number.NaN,y:Number.NaN},l.connectionEndHandle=null,l.connectionStatus=null,ie?l.connectionClickStartHandle=null:l.connectionStartHandle=null;},an=W=>{const ie=iut(W),se=ie?null:g$(W)?W:$(W.id);return!ie&&!se?[null,null,ie]:[ie?W:Eve(se),se,ie];},on=(W,ie=!0,se=l.nodes)=>{const[ge,Fe,Fn]=an(W);if(!ge){return[];}const Dn=[];for(const zn of se||l.nodes){if(!Fn&&(zn.id===Fe.id||!zn.computedPosition)){continue;}const Rn=Eve(zn),ei=_ve(Rn,ge);(ie&&ei>0||ei>=Number(ge.width)*Number(ge.height))&&Dn.push(zn);}return Dn;},Qn=(W,ie,se=!0)=>{const[ge]=an(W);if(!ge){return!1;}const Fe=_ve(ge,ie);return se&&Fe>0||Fe>=Number(ge.width)*Number(ge.height);},At=W=>{const{viewport:ie,dimensions:se,d3Zoom:ge,d3Selection:Fe,translateExtent:Fn}=l;if(!ge||!Fe||!W.x&&!W.y){return!1;}const Dn=WT.translate(ie.x+W.x,ie.y+W.y).scale(ie.zoom),zn=[[0,0],[se.width,se.height]],Rn=ge.constrain()(Dn,zn,Fn),ei=l.viewport.x!==Rn.x||l.viewport.y!==Rn.y||l.viewport.zoom!==Rn.k;return ge.transform(Fe,Rn),ei;},ui=W=>{const ie=W instanceof Function?W(l):W,se=["d3Zoom","d3Selection","d3ZoomHandler","viewportRef","vueFlowRef","dimensions","hooks"];Ql(ie.defaultEdgeOptions)&&(l.defaultEdgeOptions=ie.defaultEdgeOptions);const ge=ie.modelValue||ie.nodes||ie.edges?[]:void 0;ge&&(ie.modelValue&&ge.push(...ie.modelValue),ie.nodes&&ge.push(...ie.nodes),ie.edges&&ge.push(...ie.edges),Sn(ge));const Fe=()=>{Ql(ie.maxZoom)&&gn(ie.maxZoom),Ql(ie.minZoom)&&Ce(ie.minZoom),Ql(ie.translateExtent)&&rt(ie.translateExtent);};for(const Fn of Object.keys(ie)){const Dn=Fn,zn=ie[Dn];![...Dut,...se].includes(Dn)&&Ql(zn)&&(l[Dn]=zn);}ave(()=>l.d3Zoom).not.toBeNull().then(Fe),l.initialized||(l.initialized=!0);};return{updateNodePositions:K,updateNodeDimensions:Q,setElements:Sn,setNodes:Ct,setEdges:ii,addNodes:V,addEdges:cn,removeNodes:et,removeEdges:_n,findNode:$,findEdge:A,updateEdge:Jn,updateEdgeData:ot,updateNode:Ft,updateNodeData:gi,applyEdgeChanges:oi,applyNodeChanges:Rt,addSelectedElements:Me,addSelectedNodes:Y,addSelectedEdges:Ie,setMinZoom:Ce,setMaxZoom:gn,setTranslateExtent:rt,setNodeExtent:jt,setPaneClickDistance:ft,removeSelectedElements:fe,removeSelectedNodes:oe,removeSelectedEdges:ke,startConnection:di,updateConnection:wi,endConnection:Ai,setInteractive:gt,setState:ui,getIntersectingNodes:on,getIncomers:_,getOutgoers:p,getConnectedEdges:j,getHandleConnections:C,isNodeIntersecting:Qn,panBy:At,fitView:W=>g.value.fitView(W),zoomIn:W=>g.value.zoomIn(W),zoomOut:W=>g.value.zoomOut(W),zoomTo:(W,ie)=>g.value.zoomTo(W,ie),setViewport:(W,ie)=>g.value.setViewport(W,ie),setTransform:(W,ie)=>g.value.setTransform(W,ie),getViewport:()=>g.value.getViewport(),getTransform:()=>g.value.getTransform(),setCenter:(W,ie,se)=>g.value.setCenter(W,ie,se),fitBounds:(W,ie)=>g.value.fitBounds(W,ie),project:W=>g.value.project(W),screenToFlowCoordinate:W=>g.value.screenToFlowCoordinate(W),flowToScreenCoordinate:W=>g.value.flowToScreenCoordinate(W),toObject:()=>{const W=[],ie=[];for(const se of l.nodes){const{computedPosition:ge,handleBounds:Fe,selected:Fn,dimensions:Dn,isParent:zn,resizing:Rn,dragging:ei,events:Yn,...$t}=se;W.push($t);}for(const se of l.edges){const{selected:ge,sourceNode:Fe,targetNode:Fn,events:Dn,...zn}=se;ie.push(zn);}return JSON.parse(JSON.stringify({nodes:W,edges:ie,position:[l.viewport.x,l.viewport.y],zoom:l.viewport.zoom,viewport:l.viewport}));},fromObject:W=>new Promise(ie=>{const{nodes:se,edges:ge,position:Fe,zoom:Fn,viewport:Dn}=W;if(se&&Ct(se),ge&&ii(ge),Dn!=null&&Dn.x&&(Dn!=null&&Dn.y)||Fe){const zn=(Dn==null?void 0:Dn.x)||Fe[0],Rn=(Dn==null?void 0:Dn.y)||Fe[1],ei=(Dn==null?void 0:Dn.zoom)||Fn||l.viewport.zoom;return ave(()=>g.value.viewportInitialized).toBe(!0).then(()=>{g.value.setViewport({x:zn,y:Rn,zoom:ei}).then(()=>{ie(!0);});});}else {ie(!0);}}),updateNodeInternals:v,viewportHelper:g,$reset:()=>{const W=bmn();if(l.edges=[],l.nodes=[],l.d3Zoom&&l.d3Selection){const ie=WT.translate(W.defaultViewport.x??0,W.defaultViewport.y??0).scale(X9(W.defaultViewport.zoom??1,W.minZoom,W.maxZoom)),se=l.viewportRef.getBoundingClientRect(),ge=[[0,0],[se.width,se.height]],Fe=l.d3Zoom.constrain()(ie,ge,W.translateExtent);l.d3Zoom.transform(l.d3Selection,Fe);}ui(W);},$destroy:()=>{}};}const But=["data-id","data-handleid","data-nodeid","data-handlepos"],Fut={name:"Handle",compatConfig:{MODE:3}},XT=Bu({...Fut,props:{id:{default:null},type:{},position:{default:()=>Ui.Top},isValidConnection:{type:Function},connectable:{type:[Boolean,Number,String,Function],default:void 0},connectableStart:{type:Boolean,default:!0},connectableEnd:{type:Boolean,default:!0}},setup(l,{expose:a}){const w=npn(l,["position","connectable","connectableStart","connectableEnd","id"]),g=Cs(()=>w.type??"source"),v=Cs(()=>w.isValidConnection??null),{connectionStartHandle:_,connectionClickStartHandle:p,connectionEndHandle:j,vueFlowRef:C,nodesConnectable:$,noDragClassName:A,noPanClassName:K}=gs(),{id:Q,node:ee,nodeEl:Y,connectedEdges:Ie}=dmn(),Me=su(),oe=Cs(()=>typeof l.connectableStart<"u"?l.connectableStart:!0),ke=Cs(()=>typeof l.connectableEnd<"u"?l.connectableEnd:!0),fe=Cs(()=>{var Ct,ii,Sn,V,cn,et;return((Ct=_.value)==null?void 0:Ct.nodeId)===Q&&((ii=_.value)==null?void 0:ii.handleId)===l.id&&((Sn=_.value)==null?void 0:Sn.type)===g.value||((V=j.value)==null?void 0:V.nodeId)===Q&&((cn=j.value)==null?void 0:cn.handleId)===l.id&&((et=j.value)==null?void 0:et.type)===g.value;}),Ce=Cs(()=>{var Ct,ii,Sn;return((Ct=p.value)==null?void 0:Ct.nodeId)===Q&&((ii=p.value)==null?void 0:ii.handleId)===l.id&&((Sn=p.value)==null?void 0:Sn.type)===g.value;}),{handlePointerDown:gn,handleClick:rt}=hmn({nodeId:Q,handleId:l.id,isValidConnection:v,type:g}),jt=nc(()=>typeof l.connectable==="string"&&l.connectable==="single"?!Ie.value.some(Ct=>{const ii=Ct[`${g.value}Handle`];return Ct[g.value]!==Q?!1:ii?ii===l.id:!0;}):typeof l.connectable==="number"?Ie.value.filter(Ct=>{const ii=Ct[`${g.value}Handle`];return Ct[g.value]!==Q?!1:ii?ii===l.id:!0;}).length{var Ct;if(!ee.dimensions.width||!ee.dimensions.height){return;}const ii=(Ct=ee.handleBounds[g.value])==null?void 0:Ct.find(ot=>ot.id===l.id);if(!C.value||ii){return;}const Sn=C.value.querySelector(".vue-flow__transformationpane");if(!Y.value||!Me.value||!Sn||!l.id){return;}const V=Y.value.getBoundingClientRect(),cn=Me.value.getBoundingClientRect(),et=window.getComputedStyle(Sn),{m22:_n}=new window.DOMMatrixReadOnly(et.transform),Jn={id:l.id,position:l.position,x:(cn.left-V.left)/_n,y:(cn.top-V.top)/_n,...fY(Me.value)};ee.handleBounds[g.value]=[...ee.handleBounds[g.value]??[],Jn];}),XX(()=>{const Ct=ee.handleBounds[g.value];Ct&&(ee.handleBounds[g.value]=Ct.filter(ii=>ii.id!==l.id));});function ft(Ct){const ii=d3e(Ct);jt.value&&oe.value&&(ii&&Ct.button===0||!ii)&&gn(Ct);}function gt(Ct){!Q||!p.value&&!oe.value||jt.value&&rt(Ct);}return a({handleClick:rt,handlePointerDown:gn,onClick:gt,onPointerDown:ft}),(Ct,ii)=>(Wi(),uc("div",{ref_key:"handle",ref:Me,"data-id":`${Xi(Q)}-${l.id}-${g.value}`,"data-handleid":l.id,"data-nodeid":Xi(Q),"data-handlepos":Ct.position,class:f2(["vue-flow__handle",[`vue-flow__handle-${Ct.position}`,`vue-flow__handle-${l.id}`,Xi(A),Xi(K),g.value,{connectable:jt.value,connecting:Ce.value,connectablestart:oe.value,connectableend:ke.value,connectionindicator:jt.value&&(oe.value&&!fe.value||ke.value&&fe.value)}]]),onMousedown:ft,onTouchstartPassive:ft,onClick:gt},[Jl(Ct.$slots,"default",{id:Ct.id})],42,But));}}),hY=function({sourcePosition:l=Ui.Bottom,targetPosition:a=Ui.Top,label:w,connectable:g=!0,isValidTargetPos:v,isValidSourcePos:_,data:p}){const j=p.label||w;return[ns(XT,{type:"target",position:a,connectable:g,isValidConnection:v}),typeof j!=="string"&&j?ns(j):ns("div",{innerHTML:j}),ns(XT,{type:"source",position:l,connectable:g,isValidConnection:_})];};hY.props=["sourcePosition","targetPosition","label","isValidTargetPos","isValidSourcePos","connectable","data"];hY.inheritAttrs=!1;hY.compatConfig={MODE:3};const Kut=hY,dY=function({targetPosition:l=Ui.Top,label:a,connectable:w=!0,isValidTargetPos:g,data:v}){const _=v.label||a;return[ns(XT,{type:"target",position:l,connectable:w,isValidConnection:g}),typeof _!=="string"&&_?ns(_):ns("div",{innerHTML:_})];};dY.props=["targetPosition","label","isValidTargetPos","connectable","data"];dY.inheritAttrs=!1;dY.compatConfig={MODE:3};const Hut=dY,wY=function({sourcePosition:l=Ui.Bottom,label:a,connectable:w=!0,isValidSourcePos:g,data:v}){const _=v.label||a;return[typeof _!=="string"&&_?ns(_):ns("div",{innerHTML:_}),ns(XT,{type:"source",position:l,connectable:w,isValidConnection:g})];};wY.props=["sourcePosition","label","isValidSourcePos","connectable","data"];wY.inheritAttrs=!1;wY.compatConfig={MODE:3};const qut=wY,Uut=["transform"],Gut=["width","height","x","y","rx","ry"],zut=["y"],Vut={name:"EdgeText",compatConfig:{MODE:3}},Wut=Bu({...Vut,props:{x:{},y:{},label:{},labelStyle:{default:()=>({})},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{default:()=>({})},labelBgPadding:{default:()=>[2,4]},labelBgBorderRadius:{default:2}},setup(l){const a=su({x:0,y:0,width:0,height:0}),w=su(null),g=nc(()=>`translate(${l.x-a.value.width/2} ${l.y-a.value.height/2})`);l2(v),uu([()=>l.x,()=>l.y,w,()=>l.label],v);function v(){if(!w.value){return;}const _=w.value.getBBox();(_.width!==a.value.width||_.height!==a.value.height)&&(a.value=_);}return(_,p)=>(Wi(),uc("g",{transform:g.value,class:"vue-flow__edge-textwrapper"},[_.labelShowBg?(Wi(),uc("rect",{key:0,class:"vue-flow__edge-textbg",width:`${a.value.width+2*_.labelBgPadding[0]}px`,height:`${a.value.height+2*_.labelBgPadding[1]}px`,x:-_.labelBgPadding[0],y:-_.labelBgPadding[1],style:kd(_.labelBgStyle),rx:_.labelBgBorderRadius,ry:_.labelBgBorderRadius},null,12,Gut)):Ia("",!0),Is("text",kpn(_.$attrs,{ref_key:"el",ref:w,class:"vue-flow__edge-text",y:a.value.height/2,dy:"0.3em",style:_.labelStyle}),[Jl(_.$slots,"default",{},()=>[typeof _.label!=="string"?(Wi(),lh(IT(_.label),{key:0})):(Wi(),uc(Ps,{key:1},[Gve(j5(_.label),1)],64))])],16,zut)],8,Uut));}}),Xut=["id","d","marker-end","marker-start"],Yut=["d","stroke-width"],Jut={name:"BaseEdge",inheritAttrs:!1,compatConfig:{MODE:3}},G$=Bu({...Jut,props:{id:{},labelX:{},labelY:{},path:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{default:20},style:{},labelStyle:{},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{}},setup(l,{expose:a}){const w=npn(l,["interactionWidth","labelShowBg"]),g=su(null),v=su(null),_=su(null),p=cXn();return a({pathEl:g,interactionEl:v,labelEl:_}),(j,C)=>(Wi(),uc(Ps,null,[Is("path",{id:j.id,ref_key:"pathEl",ref:g,d:j.path,style:kd(w.style),class:f2(["vue-flow__edge-path",Xi(p).class]),"marker-end":j.markerEnd,"marker-start":j.markerStart},null,14,Xut),j.interactionWidth?(Wi(),uc("path",{key:0,ref_key:"interactionEl",ref:v,fill:"none",d:j.path,"stroke-width":j.interactionWidth,"stroke-opacity":0,class:"vue-flow__edge-interaction"},null,8,Yut)):Ia("",!0),j.label&&j.labelX&&j.labelY?(Wi(),lh(Wut,{key:1,ref_key:"labelEl",ref:_,x:j.labelX,y:j.labelY,label:j.label,"label-show-bg":j.labelShowBg,"label-bg-style":j.labelBgStyle,"label-bg-padding":j.labelBgPadding,"label-bg-border-radius":j.labelBgBorderRadius,"label-style":j.labelStyle},null,8,["x","y","label","label-show-bg","label-bg-style","label-bg-padding","label-bg-border-radius","label-style"])):Ia("",!0)],64));}});function gmn({sourceX:l,sourceY:a,targetX:w,targetY:g}){const v=Math.abs(w-l)/2,_=w=0?.5*l:a*25*Math.sqrt(-l);}function Fbn({pos:l,x1:a,y1:w,x2:g,y2:v,c:_}){let p,j;switch(l){case Ui.Left:p=a-rX(a-g,_),j=w;break;case Ui.Right:p=a+rX(g-a,_),j=w;break;case Ui.Top:p=a,j=w-rX(w-v,_);break;case Ui.Bottom:p=a,j=w+rX(v-w,_);break;}return[p,j];}function LX(l){const{sourceX:a,sourceY:w,sourcePosition:g=Ui.Bottom,targetX:v,targetY:_,targetPosition:p=Ui.Top,curvature:j=.25}=l,[C,$]=Fbn({pos:g,x1:a,y1:w,x2:v,y2:_,c:j}),[A,K]=Fbn({pos:p,x1:v,y1:_,x2:a,y2:w,c:j}),[Q,ee,Y,Ie]=pmn({sourceX:a,sourceY:w,targetX:v,targetY:_,sourceControlX:C,sourceControlY:$,targetControlX:A,targetControlY:K});return[`M${a},${w} C${C},${$} ${A},${K} ${v},${_}`,Q,ee,Y,Ie];}function Kbn({pos:l,x1:a,y1:w,x2:g,y2:v}){let _,p;switch(l){case Ui.Left:case Ui.Right:_=.5*(a+g),p=w;break;case Ui.Top:case Ui.Bottom:_=a,p=.5*(w+v);break;}return[_,p];}function mmn(l){const{sourceX:a,sourceY:w,sourcePosition:g=Ui.Bottom,targetX:v,targetY:_,targetPosition:p=Ui.Top}=l,[j,C]=Kbn({pos:g,x1:a,y1:w,x2:v,y2:_}),[$,A]=Kbn({pos:p,x1:v,y1:_,x2:a,y2:w}),[K,Q,ee,Y]=pmn({sourceX:a,sourceY:w,targetX:v,targetY:_,sourceControlX:j,sourceControlY:C,targetControlX:$,targetControlY:A});return[`M${a},${w} C${j},${C} ${$},${A} ${v},${_}`,K,Q,ee,Y];}const Hbn={[Ui.Left]:{x:-1,y:0},[Ui.Right]:{x:1,y:0},[Ui.Top]:{x:0,y:-1},[Ui.Bottom]:{x:0,y:1}};function Qut({source:l,sourcePosition:a=Ui.Bottom,target:w}){return a===Ui.Left||a===Ui.Right?l.xl[K]?-1:1)*cn:oe[K]=($[K]>w[K]?-1:1)*cn;}}if(a!==g){const V=K==="x"?"y":"x",cn=p[K]===j[V],et=C[V]>$[V],_n=C[V]<$[V];(p[K]===1&&(!cn&&et||cn&&_n)||p[K]!==1&&(!cn&&_n||cn&&et))&&(ee=K==="x"?jt:ft);}const gt={x:C.x+Me.x,y:C.y+Me.y},Ct={x:$.x+oe.x,y:$.y+oe.y},ii=Math.max(Math.abs(gt.x-ee[0].x),Math.abs(Ct.x-ee[0].x)),Sn=Math.max(Math.abs(gt.y-ee[0].y),Math.abs(Ct.y-ee[0].y));ii>=Sn?(Y=(gt.x+Ct.x)/2,Ie=ee[0].y):(Y=ee[0].x,Ie=(gt.y+Ct.y)/2);}return[[l,{x:C.x+Me.x,y:C.y+Me.y},...ee,{x:$.x+oe.x,y:$.y+oe.y},w],Y,Ie,Ce,gn];}function est(l,a,w,g){const v=Math.min(qbn(l,a)/2,qbn(a,w)/2,g),{x:_,y:p}=a;if(l.x===_&&_===w.x||l.y===p&&p===w.y){return`L${_} ${p}`;}if(l.y===p){const $=l.x{let Ce;return fe>0&&fe{const[w,g,v]=nst(l);return ns(G$,{path:w,labelX:g,labelY:v,...a,...l});};}}),ist=tst,rst=Bu({name:"SmoothStepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","borderRadius","markerEnd","markerStart","interactionWidth","offset"],compatConfig:{MODE:3},setup(l,{attrs:a}){return()=>{const[w,g,v]=jve({...l,sourcePosition:l.sourcePosition??Ui.Bottom,targetPosition:l.targetPosition??Ui.Top});return ns(G$,{path:w,labelX:g,labelY:v,...a,...l});};}}),vmn=rst,cst=Bu({name:"StepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],setup(l,{attrs:a}){return()=>ns(vmn,{...l,...a,borderRadius:0});}}),ost=cst,ust=Bu({name:"BezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","curvature","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(l,{attrs:a}){return()=>{const[w,g,v]=LX({...l,sourcePosition:l.sourcePosition??Ui.Bottom,targetPosition:l.targetPosition??Ui.Top});return ns(G$,{path:w,labelX:g,labelY:v,...a,...l});};}}),sst=ust,fst=Bu({name:"SimpleBezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(l,{attrs:a}){return()=>{const[w,g,v]=mmn({...l,sourcePosition:l.sourcePosition??Ui.Bottom,targetPosition:l.targetPosition??Ui.Top});return ns(G$,{path:w,labelX:g,labelY:v,...a,...l});};}}),lst=fst,ast={input:qut,default:Kut,output:Hut},hst={default:sst,straight:ist,step:ost,smoothstep:vmn,simplebezier:lst};function dst(l,a,w){const g=nc(()=>Ie=>a.value.get(Ie)),v=nc(()=>Ie=>w.value.get(Ie)),_=nc(()=>{const Ie={...hst,...l.edgeTypes},Me=Object.keys(Ie);for(const oe of l.edges){oe.type&&!Me.includes(oe.type)&&(Ie[oe.type]=oe.type);}return Ie;}),p=nc(()=>{const Ie={...ast,...l.nodeTypes},Me=Object.keys(Ie);for(const oe of l.nodes){oe.type&&!Me.includes(oe.type)&&(Ie[oe.type]=oe.type);}return Ie;}),j=nc(()=>l.onlyRenderVisibleElements?tmn(l.nodes,{x:0,y:0,width:l.dimensions.width,height:l.dimensions.height},l.viewport,!0):l.nodes),C=nc(()=>{if(l.onlyRenderVisibleElements){const Ie=[];for(const Me of l.edges){const oe=a.value.get(Me.source),ke=a.value.get(Me.target);but({sourcePos:oe.computedPosition||{x:0,y:0},targetPos:ke.computedPosition||{x:0,y:0},sourceWidth:oe.dimensions.width,sourceHeight:oe.dimensions.height,targetWidth:ke.dimensions.width,targetHeight:ke.dimensions.height,width:l.dimensions.width,height:l.dimensions.height,viewport:l.viewport})&&Ie.push(Me);}return Ie;}return l.edges;}),$=nc(()=>[...j.value,...C.value]),A=nc(()=>{const Ie=[];for(const Me of l.nodes){Me.selected&&Ie.push(Me);}return Ie;}),K=nc(()=>{const Ie=[];for(const Me of l.edges){Me.selected&&Ie.push(Me);}return Ie;}),Q=nc(()=>[...A.value,...K.value]),ee=nc(()=>{const Ie=[];for(const Me of l.nodes){Me.dimensions.width&&Me.dimensions.height&&Me.handleBounds!==void 0&&Ie.push(Me);}return Ie;}),Y=nc(()=>j.value.length>0&&ee.value.length===j.value.length);return{getNode:g,getEdge:v,getElements:$,getEdgeTypes:_,getNodeTypes:p,getEdges:C,getNodes:j,getSelectedElements:Q,getSelectedNodes:A,getSelectedEdges:K,getNodesInitialized:ee,areNodesInitialized:Y};}class R9{constructor(){this.currentId=0,this.flows=new Map;}static getInstance(){var a;const w=(a=JT())==null?void 0:a.appContext.app,g=(w==null?void 0:w.config.globalProperties.$vueFlowStorage)??R9.instance;return R9.instance=g??new R9,w&&(w.config.globalProperties.$vueFlowStorage=R9.instance),R9.instance;}set(a,w){return this.flows.set(a,w);}get(a){return this.flows.get(a);}remove(a){return this.flows.delete(a);}create(a,w){const g=bmn(),v=zX(g),_={};for(const[Q,ee]of Object.entries(v.hooks)){const Y=`on${Q.charAt(0).toUpperCase()+Q.slice(1)}`;_[Y]=ee.on;}const p={};for(const[Q,ee]of Object.entries(v.hooks)){p[Q]=ee.trigger;}const j=nc(()=>{const Q=new Map;for(const ee of v.nodes){Q.set(ee.id,ee);}return Q;}),C=nc(()=>{const Q=new Map;for(const ee of v.edges){Q.set(ee.id,ee);}return Q;}),$=dst(v,j,C),A=Rut(v,j,C);A.setState({...v,...w});const K={..._,...$,...A,...pit(v),nodeLookup:j,edgeLookup:C,emits:p,id:a,vueFlowVersion:"1.41.4",$destroy:()=>{this.remove(a);}};return this.set(a,K),K;}getId(){return`vue-flow-${this.currentId++}`;}}function gs(l){const a=R9.getInstance(),w=Nve(),g=typeof l==="object",v=g?l:{id:l},_=v.id,p=_??(w==null?void 0:w.vueFlowId);let j;if(w){const C=lv(Bbn,null);typeof C<"u"&&C!==null&&(!p||C.id===p)&&(j=C);}if(j||p&&(j=a.get(p)),!j||p&&j.id!==p){const C=_??a.getId(),$=a.create(C,v);j=$,(w??_gn(!0)).run(()=>{uu($.applyDefault,(K,Q,ee)=>{const Y=Me=>{$.applyNodeChanges(Me);},Ie=Me=>{$.applyEdgeChanges(Me);};K?($.onNodesChange(Y),$.onEdgesChange(Ie)):($.hooks.value.nodesChange.off(Y),$.hooks.value.edgesChange.off(Ie)),ee(()=>{$.hooks.value.nodesChange.off(Y),$.hooks.value.edgesChange.off(Ie);});},{immediate:!0}),rY(()=>{if(j){const K=a.get(j.id);K?K.$destroy():lY(`No store instance found for id ${j.id} in storage.`);}});});}else {g&&j.setState(v);}if(w&&(z9(Bbn,j),w.vueFlowId=j.id),g){const C=JT();(C==null?void 0:C.type.name)!=="VueFlow"&&j.emits.error(new Pa(Zl.USEVUEFLOW_OPTIONS));}return j;}function wst(l){const{emits:a,dimensions:w}=gs();let g;l2(()=>{const v=l.value,_=()=>{if(!v){return;}const p=fY(v);(p.width===0||p.height===0)&&a.error(new Pa(Zl.MISSING_VIEWPORT_DIMENSIONS)),w.value={width:p.width||500,height:p.height||500};};_(),window.addEventListener("resize",_),v&&(g=new ResizeObserver(()=>_()),g.observe(v)),Hve(()=>{window.removeEventListener("resize",_),g&&v&&g.unobserve(v);});});}const bst={name:"UserSelection",compatConfig:{MODE:3}},gst=Bu({...bst,props:{userSelectionRect:{}},setup(l){return(a,w)=>(Wi(),uc("div",{class:"vue-flow__selection vue-flow__container",style:kd({width:`${a.userSelectionRect.width}px`,height:`${a.userSelectionRect.height}px`,transform:`translate(${a.userSelectionRect.x}px, ${a.userSelectionRect.y}px)`})},null,4));}}),pst=["tabIndex"],mst={name:"NodesSelection",compatConfig:{MODE:3}},vst=Bu({...mst,setup(l){const{emits:a,viewport:w,getSelectedNodes:g,noPanClassName:v,disableKeyboardA11y:_,userSelectionActive:p}=gs(),j=wmn(),C=su(null),$=amn({el:C,onStart(Y){a.selectionDragStart(Y);},onDrag(Y){a.selectionDrag(Y);},onStop(Y){a.selectionDragStop(Y);}});l2(()=>{var Y;_.value||(Y=C.value)==null||Y.focus({preventScroll:!0});});const A=nc(()=>nmn(g.value)),K=nc(()=>({width:`${A.value.width}px`,height:`${A.value.height}px`,top:`${A.value.y}px`,left:`${A.value.x}px`}));function Q(Y){a.selectionContextMenu({event:Y,nodes:g.value});}function ee(Y){_||KT[Y.key]&&j({x:KT[Y.key].x,y:KT[Y.key].y},Y.shiftKey);}return(Y,Ie)=>!Xi(p)&&A.value.width&&A.value.height?(Wi(),uc("div",{key:0,class:f2(["vue-flow__nodesselection vue-flow__container",Xi(v)]),style:kd({transform:`translate(${Xi(w).x}px,${Xi(w).y}px) scale(${Xi(w).zoom})`})},[Is("div",{ref_key:"el",ref:C,class:f2([{dragging:Xi($)},"vue-flow__nodesselection-rect"]),style:kd(K.value),tabIndex:Xi(_)?void 0:-1,onContextmenu:Q,onKeydown:ee},null,46,pst)],6)):Ia("",!0);}});function yst(l,a){return{x:l.clientX-a.left,y:l.clientY-a.top};}const kst={name:"Pane",compatConfig:{MODE:3}},Est=Bu({...kst,props:{isSelecting:{type:Boolean},selectionKeyPressed:{type:Boolean}},setup(l){const{vueFlowRef:a,nodes:w,viewport:g,emits:v,userSelectionActive:_,removeSelectedElements:p,panOnDrag:j,userSelectionRect:C,elementsSelectable:$,nodesSelectionActive:A,getSelectedEdges:K,getSelectedNodes:Q,removeNodes:ee,removeEdges:Y,selectionMode:Ie,deleteKeyCode:Me,multiSelectionKeyCode:oe,multiSelectionActive:ke,edgeLookup:fe,nodeLookup:Ce}=gs(),gn=su(null),rt=su(0),jt=su(0),ft=su(),gt=su(new Map),Ct=Cs(()=>$.value&&(l.isSelecting||_.value));let ii=!1,Sn=!1;const V=S$(Me,{actInsideInputWithModifier:!1}),cn=S$(oe);uu(V,di=>{di&&(ee(Q.value),Y(K.value),A.value=!1);}),uu(cn,di=>{ke.value=di;});function et(di,wi){return Ai=>{Ai.target===wi&&(di==null||di(Ai));};}function _n(){_.value=!1,C.value=null,rt.value=0,jt.value=0;}function Jn(di){if(ii){ii=!1;return;}v.paneClick(di),p(),A.value=!1;}function ot(di){var wi;if(Array.isArray(j.value)&&((wi=j.value)!=null&&wi.includes(2))){di.preventDefault();return;}v.paneContextMenu(di);}function Rt(di){v.paneScroll(di);}function oi(di){var wi,Ai,an,on,Qn;if(ft.value=(wi=a.value)==null?void 0:wi.getBoundingClientRect(),!$.value||!l.isSelecting||di.button!==0||di.target!==gn.value||!ft.value){return;}(an=(Ai=di.target)==null?void 0:Ai.setPointerCapture)==null||an.call(Ai,di.pointerId);const{x:At,y:ui}=yst(di,ft.value);Sn=!0,ii=!1,gt.value=new Map;for(const[me,ye]of fe.value){gt.value.set(ye.source,((on=gt.value.get(ye.source))==null?void 0:on.add(me))||new Set([me])),gt.value.set(ye.target,((Qn=gt.value.get(ye.target))==null?void 0:Qn.add(me))||new Set([me]));}p(),C.value={width:0,height:0,startX:At,startY:ui,x:At,y:ui},v.selectionStart(di);}function Ft(di){if(!ft.value||!C.value){return;}ii=!0;const{x:wi,y:Ai}=S5(di,ft.value),{startX:an=0,startY:on=0}=C.value,Qn={startX:an,startY:on,x:wi0&&(A.value=!0),_n(),v.selectionEnd(di),l.selectionKeyPressed&&(ii=!1),Sn=!1);}return(di,wi)=>(Wi(),uc("div",{ref_key:"container",ref:gn,class:f2(["vue-flow__pane vue-flow__container",{selection:di.isSelecting}]),onClick:wi[0]||(wi[0]=Ai=>Ct.value?void 0:et(Jn,gn.value)(Ai)),onContextmenu:wi[1]||(wi[1]=Ai=>et(ot,gn.value)(Ai)),onWheelPassive:wi[2]||(wi[2]=Ai=>et(Rt,gn.value)(Ai)),onPointerenter:wi[3]||(wi[3]=Ai=>Ct.value?void 0:Xi(v).paneMouseEnter(Ai)),onPointerdown:wi[4]||(wi[4]=Ai=>Ct.value?oi(Ai):Xi(v).paneMouseMove(Ai)),onPointermove:wi[5]||(wi[5]=Ai=>Ct.value?Ft(Ai):Xi(v).paneMouseMove(Ai)),onPointerup:wi[6]||(wi[6]=Ai=>Ct.value?gi(Ai):void 0),onPointerleave:wi[7]||(wi[7]=Ai=>Xi(v).paneMouseLeave(Ai))},[Jl(di.$slots,"default"),Xi(_)&&Xi(C)?(Wi(),lh(gst,{key:0,"user-selection-rect":Xi(C)},null,8,["user-selection-rect"])):Ia("",!0),Xi(A)&&Xi(Q).length?(Wi(),lh(vst,{key:1})):Ia("",!0)],34));}}),_st={name:"Transform",compatConfig:{MODE:3}},Sst=Bu({..._st,setup(l){const{viewport:a,fitViewOnInit:w,fitViewOnInitDone:g}=gs(),v=nc(()=>w.value?!g.value:!1),_=nc(()=>`translate(${a.value.x}px,${a.value.y}px) scale(${a.value.zoom})`);return(p,j)=>(Wi(),uc("div",{class:"vue-flow__transformationpane vue-flow__container",style:kd({transform:_.value,opacity:v.value?0:void 0})},[Jl(p.$slots,"default")],4));}}),jst={name:"Viewport",compatConfig:{MODE:3}},Tst=Bu({...jst,setup(l){const{minZoom:a,maxZoom:w,defaultViewport:g,translateExtent:v,zoomActivationKeyCode:_,selectionKeyCode:p,panActivationKeyCode:j,panOnScroll:C,panOnScrollMode:$,panOnScrollSpeed:A,panOnDrag:K,zoomOnDoubleClick:Q,zoomOnPinch:ee,zoomOnScroll:Y,preventScrolling:Ie,noWheelClassName:Me,noPanClassName:oe,emits:ke,connectionStartHandle:fe,userSelectionActive:Ce,paneDragging:gn,d3Zoom:rt,d3Selection:jt,d3ZoomHandler:ft,viewport:gt,viewportRef:Ct,paneClickDistance:ii}=gs();wst(Ct);const Sn=su(!1),V=su(!1);let cn=null,et=!1,_n=0,Jn={x:0,y:0,zoom:0};const ot=S$(j),Rt=S$(p),oi=S$(_),Ft=Cs(()=>(!Rt.value||Rt.value&&p.value===!0)&&(ot.value||K.value)),gi=Cs(()=>ot.value||C.value),di=Cs(()=>Rt.value||p.value===!0&&Ft.value!==!0);l2(()=>{if(!Ct.value){lY("Viewport element is missing");return;}const At=Ct.value,ui=At.getBoundingClientRect(),me=Qot().clickDistance(ii.value).scaleExtent([a.value,w.value]).translateExtent(v.value),ye=c2(At).call(me),ue=ye.on("wheel.zoom"),W=WT.translate(g.value.x??0,g.value.y??0).scale(X9(g.value.zoom??1,a.value,w.value)),ie=[[0,0],[ui.width,ui.height]],se=me.constrain()(W,ie,v.value);me.transform(ye,se),me.wheelDelta(Ai),rt.value=me,jt.value=ye,ft.value=ue,gt.value={x:se.x,y:se.y,zoom:se.k},me.on("start",ge=>{var Fe;if(!ge.sourceEvent){return null;}_n=ge.sourceEvent.button,Sn.value=!0;const Fn=on(ge.transform);((Fe=ge.sourceEvent)==null?void 0:Fe.type)==="mousedown"&&(gn.value=!0),Jn=Fn,ke.viewportChangeStart(Fn),ke.moveStart({event:ge,flowTransform:Fn});}),me.on("end",ge=>{if(!ge.sourceEvent){return null;}if(Sn.value=!1,gn.value=!1,wi(Ft.value,_n??0)&&!et&&ke.paneContextMenu(ge.sourceEvent),et=!1,an(Jn,ge.transform)){const Fe=on(ge.transform);Jn=Fe,ke.viewportChangeEnd(Fe),ke.moveEnd({event:ge,flowTransform:Fe});}}),me.filter(ge=>{var Fe,Fn,Dn;const zn=oi.value||Y.value,Rn=ee.value&&ge.ctrlKey,ei=ge.button;if((Ft.value===!0||Array.isArray(Ft.value)&&Ft.value.includes(1))&&ei===1&&ge.type==="mousedown"&&((Fe=ge.target)!=null&&Fe.closest(".vue-flow__node")||(Fn=ge.target)!=null&&Fn.closest(".vue-flow__edge"))){return!0;}if(!Ft.value&&!zn&&!gi.value&&!Q.value&&!ee.value||Ce.value||!Q.value&&ge.type==="dblclick"||Qn(ge,Me.value)&&ge.type==="wheel"||Qn(ge,oe.value)&&(ge.type!=="wheel"||gi.value&&ge.type==="wheel"&&!oi.value)||!ee.value&&ge.ctrlKey&&ge.type==="wheel"||!zn&&!gi.value&&!Rn&&ge.type==="wheel"){return!1;}if(!ee&&ge.type==="touchstart"&&((Dn=ge.touches)==null?void 0:Dn.length)>1){return ge.preventDefault(),!1;}if(!Ft.value&&(ge.type==="mousedown"||ge.type==="touchstart")||p.value===!0&&Array.isArray(K.value)&&K.value.includes(0)&&ei===0||Array.isArray(Ft.value)&&!Ft.value.includes(ei)&&(ge.type==="mousedown"||ge.type==="touchstart")){return!1;}const Yn=Array.isArray(Ft.value)&&Ft.value.includes(ei)||p.value===!0&&Array.isArray(Ft.value)&&!Ft.value.includes(0)||!ei||ei<=1;return(!ge.ctrlKey||ge.type==="wheel")&&Yn;}),uu([Ce,Ft],()=>{Ce.value&&!Sn.value?me.on("zoom",null):Ce.value||me.on("zoom",ge=>{gt.value={x:ge.transform.x,y:ge.transform.y,zoom:ge.transform.k};const Fe=on(ge.transform);et=wi(Ft.value,_n??0),ke.viewportChange(Fe),ke.move({event:ge,flowTransform:Fe});});},{immediate:!0}),uu([Ce,gi,$,oi,ee,Ie,Me],()=>{gi.value&&!oi.value&&!Ce.value?ye.on("wheel.zoom",ge=>{if(Qn(ge,Me.value)){return!1;}const Fe=oi.value||Y.value,Fn=ee.value&&ge.ctrlKey;if(!(!Ie.value||gi.value||Fe||Fn)){return!1;}ge.preventDefault(),ge.stopImmediatePropagation();const zn=ye.property("__zoom").k||1,Rn=$X();if(ge.ctrlKey&&ee.value&&Rn){const te=rv(ge),F=Ai(ge),q=zn*2**F;me.scaleTo(ye,q,te,ge);return;}const ei=ge.deltaMode===1?20:1;let Yn=$.value===_$.Vertical?0:ge.deltaX*ei,$t=$.value===_$.Horizontal?0:ge.deltaY*ei;!Rn&&ge.shiftKey&&$.value!==_$.Vertical&&!Yn&&$t&&(Yn=$t,$t=0),me.translateBy(ye,-(Yn/zn)*A.value,-($t/zn)*A.value);const Ti=on(ye.property("__zoom"));cn&&clearTimeout(cn),V.value?(ke.move({event:ge,flowTransform:Ti}),ke.viewportChange(Ti),cn=setTimeout(()=>{ke.moveEnd({event:ge,flowTransform:Ti}),ke.viewportChangeEnd(Ti),V.value=!1;},150)):(V.value=!0,ke.moveStart({event:ge,flowTransform:Ti}),ke.viewportChangeStart(Ti));},{passive:!1}):typeof ue<"u"&&ye.on("wheel.zoom",function(ge,Fe){const Fn=!Ie.value&&ge.type==="wheel"&&!ge.ctrlKey,Dn=oi.value||Y.value,zn=ee.value&&ge.ctrlKey;if(!Dn&&!C.value&&!zn&&ge.type==="wheel"||Fn||Qn(ge,Me.value)){return null;}ge.preventDefault(),ue.call(this,ge,Fe);},{passive:!1});},{immediate:!0});});function wi(At,ui){return ui===2&&Array.isArray(At)&&At.includes(2);}function Ai(At){const ui=At.ctrlKey&&$X()?10:1;return-At.deltaY*(At.deltaMode===1?.05:At.deltaMode?1:.002)*ui;}function an(At,ui){return At.x!==ui.x&&!Number.isNaN(ui.x)||At.y!==ui.y&&!Number.isNaN(ui.y)||At.zoom!==ui.k&&!Number.isNaN(ui.k);}function on(At){return{x:At.x,y:At.y,zoom:At.k};}function Qn(At,ui){return At.target.closest(`.${ui}`);}return(At,ui)=>(Wi(),uc("div",{ref_key:"viewportRef",ref:Ct,class:"vue-flow__viewport vue-flow__container"},[zo(Est,{"is-selecting":di.value,"selection-key-pressed":Xi(Rt),class:f2({connecting:!!Xi(fe),dragging:Xi(gn),draggable:Xi(K)===!0||Array.isArray(Xi(K))&&Xi(K).includes(0)})},{default:mg(()=>[zo(Sst,null,{default:mg(()=>[Jl(At.$slots,"default")]),_:3})]),_:3},8,["is-selecting","selection-key-pressed","class"])],512));}}),Mst=["id"],xst=["id"],Cst=["id"],Ist={name:"A11yDescriptions",compatConfig:{MODE:3}},Pst=Bu({...Ist,setup(l){const{id:a,disableKeyboardA11y:w,ariaLiveMessage:g}=gs();return(v,_)=>(Wi(),uc(Ps,null,[Is("div",{id:`${Xi(z2n)}-${Xi(a)}`,style:{display:"none"}}," Press enter or space to select a node. "+j5(Xi(w)?"":"You can then use the arrow keys to move the node around.")+" You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ",9,Mst),Is("div",{id:`${Xi(V2n)}-${Xi(a)}`,style:{display:"none"}}," Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ",8,xst),Xi(w)?Ia("",!0):(Wi(),uc("div",{key:0,id:`${Xi(tut)}-${Xi(a)}`,"aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(100%)"}},j5(Xi(g)),9,Cst))],64));}});function Nst(){const l=gs();uu(()=>l.viewportHelper.value.viewportInitialized,a=>{a&&setTimeout(()=>{l.emits.init(l),l.emits.paneReady(l);},1);});}function Ost(l,a,w){return w===Ui.Left?l-a:w===Ui.Right?l+a:l;}function Ast(l,a,w){return w===Ui.Top?l-a:w===Ui.Bottom?l+a:l;}const b3e=function({radius:l=10,centerX:a=0,centerY:w=0,position:g=Ui.Top,type:v}){return ns("circle",{class:`vue-flow__edgeupdater vue-flow__edgeupdater-${v}`,cx:Ost(a,l,g),cy:Ast(w,l,g),r:l,stroke:"transparent",fill:"transparent"});};b3e.props=["radius","centerX","centerY","position","type"];b3e.compatConfig={MODE:3};const Ubn=b3e,$st=Bu({name:"Edge",compatConfig:{MODE:3},props:["id"],setup(l){const{id:a,addSelectedEdges:w,connectionMode:g,edgeUpdaterRadius:v,emits:_,nodesSelectionActive:p,noPanClassName:j,getEdgeTypes:C,removeSelectedEdges:$,findEdge:A,findNode:K,isValidConnection:Q,multiSelectionActive:ee,disableKeyboardA11y:Y,elementsSelectable:Ie,edgesUpdatable:Me,edgesFocusable:oe,hooks:ke}=gs(),fe=nc(()=>A(l.id)),{emit:Ce,on:gn}=Mut(fe.value,_),rt=lv(aY),jt=JT(),ft=su(!1),gt=su(!1),Ct=su(""),ii=su(null),Sn=su("source"),V=su(null),cn=Cs(()=>typeof fe.value.selectable>"u"?Ie.value:fe.value.selectable),et=Cs(()=>typeof fe.value.updatable>"u"?Me.value:fe.value.updatable),_n=Cs(()=>typeof fe.value.focusable>"u"?oe.value:fe.value.focusable);z9(Sut,l.id),z9(jut,V);const Jn=nc(()=>fe.value.class instanceof Function?fe.value.class(fe.value):fe.value.class),ot=nc(()=>fe.value.style instanceof Function?fe.value.style(fe.value):fe.value.style),Rt=nc(()=>{const ie=fe.value.type||"default",se=rt==null?void 0:rt[`edge-${ie}`];if(se){return se;}let ge=fe.value.template??C.value[ie];if(typeof ge==="string"&&jt){const Fe=Object.keys(jt.appContext.components);Fe&&Fe.includes(ie)&&(ge=Ygn(ie,!1));}return ge&&typeof ge!=="string"?ge:(_.error(new Pa(Zl.EDGE_TYPE_MISSING,ge)),!1);}),{handlePointerDown:oi}=hmn({nodeId:Ct,handleId:ii,type:Sn,isValidConnection:Q,edgeUpdaterType:Sn,onEdgeUpdate:di,onEdgeUpdateEnd:wi});return()=>{const ie=K(fe.value.source),se=K(fe.value.target),ge="pathOptions"in fe.value?fe.value.pathOptions:{};if(!ie&&!se){return _.error(new Pa(Zl.EDGE_SOURCE_TARGET_MISSING,fe.value.id,fe.value.source,fe.value.target)),null;}if(!ie){return _.error(new Pa(Zl.EDGE_SOURCE_MISSING,fe.value.id,fe.value.source)),null;}if(!se){return _.error(new Pa(Zl.EDGE_TARGET_MISSING,fe.value.id,fe.value.target)),null;}if(!fe.value||fe.value.hidden||ie.hidden||se.hidden){return null;}let Fe;g.value===W9.Strict?Fe=ie.handleBounds.source:Fe=[...ie.handleBounds.source||[],...ie.handleBounds.target||[]];const Fn=Pbn(Fe,fe.value.sourceHandle);let Dn;g.value===W9.Strict?Dn=se.handleBounds.target:Dn=[...se.handleBounds.target||[],...se.handleBounds.source||[]];const zn=Pbn(Dn,fe.value.targetHandle),Rn=(Fn==null?void 0:Fn.position)||Ui.Bottom,ei=(zn==null?void 0:zn.position)||Ui.Top,{x:Yn,y:$t}=AX(ie,Fn,Rn),{x:Ti,y:te}=AX(se,zn,ei);return fe.value.sourceX=Yn,fe.value.sourceY=$t,fe.value.targetX=Ti,fe.value.targetY=te,ns("g",{ref:V,key:l.id,"data-id":l.id,class:["vue-flow__edge",`vue-flow__edge-${Rt.value===!1?"default":fe.value.type||"default"}`,j.value,Jn.value,{updating:ft.value,selected:fe.value.selected,animated:fe.value.animated,inactive:!cn.value&&!ke.value.edgeClick.hasListeners()}],onClick:an,onContextmenu:on,onDblclick:Qn,onMouseenter:At,onMousemove:ui,onMouseleave:me,onKeyDown:_n.value?W:void 0,tabIndex:_n.value?0:void 0,"aria-label":fe.value.ariaLabel===null?void 0:fe.value.ariaLabel||`Edge from ${fe.value.source} to ${fe.value.target}`,"aria-describedby":_n.value?`${V2n}-${a}`:void 0,role:_n.value?"button":"img"},[gt.value?null:ns(Rt.value===!1?C.value.default:Rt.value,{id:l.id,sourceNode:ie,targetNode:se,source:fe.value.source,target:fe.value.target,type:fe.value.type,updatable:et.value,selected:fe.value.selected,animated:fe.value.animated,label:fe.value.label,labelStyle:fe.value.labelStyle,labelShowBg:fe.value.labelShowBg,labelBgStyle:fe.value.labelBgStyle,labelBgPadding:fe.value.labelBgPadding,labelBgBorderRadius:fe.value.labelBgBorderRadius,data:fe.value.data,events:{...fe.value.events,...gn},style:ot.value,markerStart:`url('#${D$(fe.value.markerStart,a)}')`,markerEnd:`url('#${D$(fe.value.markerEnd,a)}')`,sourcePosition:Rn,targetPosition:ei,sourceX:Yn,sourceY:$t,targetX:Ti,targetY:te,sourceHandleId:fe.value.sourceHandle,targetHandleId:fe.value.targetHandle,interactionWidth:fe.value.interactionWidth,...ge}),[et.value==="source"||et.value===!0?[ns("g",{onMousedown:ye,onMouseenter:Ft,onMouseout:gi},ns(Ubn,{position:Rn,centerX:Yn,centerY:$t,radius:v.value,type:"source","data-type":"source"}))]:null,et.value==="target"||et.value===!0?[ns("g",{onMousedown:ue,onMouseenter:Ft,onMouseout:gi},ns(Ubn,{position:ei,centerX:Ti,centerY:te,radius:v.value,type:"target","data-type":"target"}))]:null]]);};function Ft(){ft.value=!0;}function gi(){ft.value=!1;}function di(ie,se){Ce.update({event:ie,edge:fe.value,connection:se});}function wi(ie){Ce.updateEnd({event:ie,edge:fe.value}),gt.value=!1;}function Ai(ie,se){ie.button===0&&(gt.value=!0,Ct.value=se?fe.value.target:fe.value.source,ii.value=(se?fe.value.targetHandle:fe.value.sourceHandle)??"",Sn.value=se?"target":"source",Ce.updateStart({event:ie,edge:fe.value}),oi(ie));}function an(ie){var se;const ge={event:ie,edge:fe.value};cn.value&&(p.value=!1,fe.value.selected&&ee.value?($([fe.value]),(se=V.value)==null||se.blur()):w([fe.value])),Ce.click(ge);}function on(ie){Ce.contextMenu({event:ie,edge:fe.value});}function Qn(ie){Ce.doubleClick({event:ie,edge:fe.value});}function At(ie){Ce.mouseEnter({event:ie,edge:fe.value});}function ui(ie){Ce.mouseMove({event:ie,edge:fe.value});}function me(ie){Ce.mouseLeave({event:ie,edge:fe.value});}function ye(ie){Ai(ie,!0);}function ue(ie){Ai(ie,!1);}function W(ie){var se;!Y.value&&W2n.includes(ie.key)&&cn.value&&(ie.key==="Escape"?((se=V.value)==null||se.blur(),$([A(l.id)])):w([A(l.id)]));}}}),Lst=$st,Dst={[Ui.Left]:Ui.Right,[Ui.Right]:Ui.Left,[Ui.Top]:Ui.Bottom,[Ui.Bottom]:Ui.Top},Rst=Bu({name:"ConnectionLine",compatConfig:{MODE:3},setup(){var l;const{id:a,connectionMode:w,connectionStartHandle:g,connectionEndHandle:v,connectionPosition:_,connectionLineType:p,connectionLineStyle:j,connectionLineOptions:C,connectionStatus:$,viewport:A,findNode:K}=gs(),Q=(l=lv(aY))==null?void 0:l["connection-line"],ee=nc(()=>{var ke;return K((ke=g.value)==null?void 0:ke.nodeId);}),Y=nc(()=>{var ke;return K((ke=v.value)==null?void 0:ke.nodeId)??null;}),Ie=nc(()=>({x:(_.value.x-A.value.x)/A.value.zoom,y:(_.value.y-A.value.y)/A.value.zoom})),Me=nc(()=>C.value.markerStart?`url(#${D$(C.value.markerStart,a)})`:""),oe=nc(()=>C.value.markerEnd?`url(#${D$(C.value.markerEnd,a)})`:"");return()=>{var ke,fe,Ce,gn;if(!ee.value||!g.value){return null;}const rt=g.value.handleId,jt=g.value.type,ft=ee.value.handleBounds;let gt=(ft==null?void 0:ft[jt])||[];if(w.value===W9.Loose){const Rt=(ft==null?void 0:ft[jt==="source"?"target":"source"])||[];gt=[...gt,...Rt];}if(!gt){return null;}const Ct=(rt?gt.find(Rt=>Rt.id===rt):gt[0])??null,ii=(Ct==null?void 0:Ct.position)||Ui.Top,{x:Sn,y:V}=AX(ee.value,Ct,ii);let cn=null;Y.value&&((ke=v.value)!=null&&ke.handleId)&&(w.value===W9.Strict?cn=((fe=Y.value.handleBounds[jt==="source"?"target":"source"])==null?void 0:fe.find(Rt=>{var oi;return Rt.id===((oi=v.value)==null?void 0:oi.handleId);}))||null:cn=((Ce=[...Y.value.handleBounds.source||[],...Y.value.handleBounds.target||[]])==null?void 0:Ce.find(Rt=>{var oi;return Rt.id===((oi=v.value)==null?void 0:oi.handleId);}))||null);const et=((gn=v.value)==null?void 0:gn.position)??(ii?Dst[ii]:null);if(!ii||!et){return null;}const _n=p.value??C.value.type??D9.Bezier;let Jn="";const ot={sourceX:Sn,sourceY:V,sourcePosition:ii,targetX:Ie.value.x,targetY:Ie.value.y,targetPosition:et};return _n===D9.Bezier?[Jn]=LX(ot):_n===D9.Step?[Jn]=jve({...ot,borderRadius:0}):_n===D9.SmoothStep?[Jn]=jve(ot):_n===D9.SimpleBezier?[Jn]=mmn(ot):Jn=`M${Sn},${V} ${Ie.value.x},${Ie.value.y}`,ns("svg",{class:"vue-flow__edges vue-flow__connectionline vue-flow__container"},ns("g",{class:"vue-flow__connection"},Q?ns(Q,{sourceX:Sn,sourceY:V,sourcePosition:ii,targetX:Ie.value.x,targetY:Ie.value.y,targetPosition:et,sourceNode:ee.value,sourceHandle:Ct,targetNode:Y.value,targetHandle:cn,markerEnd:oe.value,markerStart:Me.value,connectionStatus:$.value}):ns("path",{d:Jn,class:[C.value.class,$,"vue-flow__connection-path"],style:{...j.value,...C.value.style},"marker-end":oe.value,"marker-start":Me.value})));};}}),Bst=Rst,Fst=["id","markerWidth","markerHeight","markerUnits","orient"],Kst={name:"MarkerType",compatConfig:{MODE:3}},Hst=Bu({...Kst,props:{id:{},type:{},color:{default:"none"},width:{default:12.5},height:{default:12.5},markerUnits:{default:"strokeWidth"},orient:{default:"auto-start-reverse"},strokeWidth:{default:1}},setup(l){return(a,w)=>(Wi(),uc("marker",{id:a.id,class:"vue-flow__arrowhead",viewBox:"-10 -10 20 20",refX:"0",refY:"0",markerWidth:`${a.width}`,markerHeight:`${a.height}`,markerUnits:a.markerUnits,orient:a.orient},[a.type===Xi(yve).ArrowClosed?(Wi(),uc("polyline",{key:0,style:kd({stroke:a.color,fill:a.color,strokeWidth:a.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",points:"-5,-4 0,0 -5,4 -5,-4"},null,4)):Ia("",!0),a.type===Xi(yve).Arrow?(Wi(),uc("polyline",{key:1,style:kd({stroke:a.color,strokeWidth:a.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",points:"-5,-4 0,0 -5,4"},null,4)):Ia("",!0)],8,Fst));}}),qst={class:"vue-flow__marker vue-flow__container"},Ust={name:"MarkerDefinitions",compatConfig:{MODE:3}},Gst=Bu({...Ust,setup(l){const{id:a,edges:w,connectionLineOptions:g,defaultMarkerColor:v}=gs(),_=nc(()=>{const p=new Set,j=[],C=$=>{if($){const A=D$($,a);p.has(A)||(typeof $==="object"?j.push({...$,id:A,color:$.color||v.value}):j.push({id:A,color:v.value,type:$}),p.add(A));}};for(const $ of[g.value.markerEnd,g.value.markerStart]){C($);}for(const $ of w.value){for(const A of[$.markerStart,$.markerEnd]){C(A);}}return j.sort(($,A)=>$.id.localeCompare(A.id));});return(p,j)=>(Wi(),uc("svg",qst,[Is("defs",null,[(Wi(!0),uc(Ps,null,B9(_.value,C=>(Wi(),lh(Hst,{id:C.id,key:C.id,type:C.type,color:C.color,width:C.width,height:C.height,markerUnits:C.markerUnits,"stroke-width":C.strokeWidth,orient:C.orient},null,8,["id","type","color","width","height","markerUnits","stroke-width","orient"]))),128))])]));}}),zst={name:"Edges",compatConfig:{MODE:3}},Vst=Bu({...zst,setup(l){const{findNode:a,getEdges:w,elevateEdgesOnSelect:g}=gs();return(v,_)=>(Wi(),uc(Ps,null,[zo(Gst),(Wi(!0),uc(Ps,null,B9(Xi(w),p=>(Wi(),uc("svg",{key:p.id,class:"vue-flow__edges vue-flow__container",style:kd({zIndex:Xi(gut)(p,Xi(a),Xi(g))})},[zo(Xi(Lst),{id:p.id},null,8,["id"])],4))),128)),zo(Xi(Bst))],64));}}),Wst=Bu({name:"Node",compatConfig:{MODE:3},props:["id","resizeObserver"],setup(l){const{id:a,noPanClassName:w,selectNodesOnDrag:g,nodesSelectionActive:v,multiSelectionActive:_,emits:p,removeSelectedNodes:j,addSelectedNodes:C,updateNodeDimensions:$,onUpdateNodeInternals:A,getNodeTypes:K,nodeExtent:Q,elevateNodesOnSelect:ee,disableKeyboardA11y:Y,ariaLiveMessage:Ie,snapToGrid:Me,snapGrid:oe,nodeDragThreshold:ke,nodesDraggable:fe,elementsSelectable:Ce,nodesConnectable:gn,nodesFocusable:rt,hooks:jt}=gs(),ft=su(null);z9(lmn,ft),z9(fmn,l.id);const gt=lv(aY),Ct=JT(),ii=wmn(),{node:Sn,parentNode:V}=dmn(l.id),{emit:cn,on:et}=Put(Sn,p),_n=Cs(()=>typeof Sn.draggable>"u"?fe.value:Sn.draggable),Jn=Cs(()=>typeof Sn.selectable>"u"?Ce.value:Sn.selectable),ot=Cs(()=>typeof Sn.connectable>"u"?gn.value:Sn.connectable),Rt=Cs(()=>typeof Sn.focusable>"u"?rt.value:Sn.focusable),oi=Cs(()=>Jn.value||_n.value||jt.value.nodeClick.hasListeners()||jt.value.nodeDoubleClick.hasListeners()||jt.value.nodeMouseEnter.hasListeners()||jt.value.nodeMouseMove.hasListeners()||jt.value.nodeMouseLeave.hasListeners()),Ft=Cs(()=>!!Sn.dimensions.width&&!!Sn.dimensions.height),gi=nc(()=>{const se=Sn.type||"default",ge=gt==null?void 0:gt[`node-${se}`];if(ge){return ge;}let Fe=Sn.template||K.value[se];if(typeof Fe==="string"&&Ct){const Fn=Object.keys(Ct.appContext.components);Fn&&Fn.includes(se)&&(Fe=Ygn(se,!1));}return Fe&&typeof Fe!=="string"?Fe:(p.error(new Pa(Zl.NODE_TYPE_MISSING,Fe)),!1);}),di=amn({id:l.id,el:ft,disabled:()=>!_n.value,selectable:Jn,dragHandle:()=>Sn.dragHandle,onStart(se){cn.dragStart(se);},onDrag(se){cn.drag(se);},onStop(se){cn.dragStop(se);},onClick(se){W(se);}}),wi=nc(()=>Sn.class instanceof Function?Sn.class(Sn):Sn.class),Ai=nc(()=>{const se=(Sn.style instanceof Function?Sn.style(Sn):Sn.style)||{},ge=Sn.width instanceof Function?Sn.width(Sn):Sn.width,Fe=Sn.height instanceof Function?Sn.height(Sn):Sn.height;return!se.width&&ge&&(se.width=typeof ge==="string"?ge:`${ge}px`),!se.height&&Fe&&(se.height=typeof Fe==="string"?Fe:`${Fe}px`),se;}),an=Cs(()=>Number(Sn.zIndex??Ai.value.zIndex??0));return A(se=>{(se.includes(l.id)||!se.length)&&Qn();}),l2(()=>{uu(()=>Sn.hidden,(se=!1,ge,Fe)=>{!se&&ft.value&&(l.resizeObserver.observe(ft.value),Fe(()=>{ft.value&&l.resizeObserver.unobserve(ft.value);}));},{immediate:!0,flush:"post"});}),uu([()=>Sn.type,()=>Sn.sourcePosition,()=>Sn.targetPosition],()=>{s2(()=>{$([{id:l.id,nodeElement:ft.value,forceUpdate:!0}]);});}),uu([()=>Sn.position.x,()=>Sn.position.y,()=>{var se;return(se=V.value)==null?void 0:se.computedPosition.x;},()=>{var se;return(se=V.value)==null?void 0:se.computedPosition.y;},()=>{var se;return(se=V.value)==null?void 0:se.computedPosition.z;},an,()=>Sn.selected,()=>Sn.dimensions.height,()=>Sn.dimensions.width,()=>{var se;return(se=V.value)==null?void 0:se.dimensions.height;},()=>{var se;return(se=V.value)==null?void 0:se.dimensions.width;}],([se,ge,Fe,Fn,Dn,zn])=>{const Rn={x:se,y:ge,z:zn+(ee.value&&Sn.selected?1e3:0)};typeof Fe<"u"&&typeof Fn<"u"?Sn.computedPosition=lut({x:Fe,y:Fn,z:Dn},Rn):Sn.computedPosition=Rn;},{flush:"post",immediate:!0}),uu([()=>Sn.extent,Q],([se,ge],[Fe,Fn])=>{(se!==Fe||ge!==Fn)&&on();}),Sn.extent==="parent"||typeof Sn.extent==="object"&&"range"in Sn.extent&&Sn.extent.range==="parent"?ave(()=>Ft).toBe(!0).then(on):on(),()=>Sn.hidden?null:ns("div",{ref:ft,"data-id":Sn.id,class:["vue-flow__node",`vue-flow__node-${gi.value===!1?"default":Sn.type||"default"}`,{[w.value]:_n.value,dragging:di==null?void 0:di.value,draggable:_n.value,selected:Sn.selected,selectable:Jn.value,parent:Sn.isParent},wi.value],style:{visibility:Ft.value?"visible":"hidden",zIndex:Sn.computedPosition.z??an.value,transform:`translate(${Sn.computedPosition.x}px,${Sn.computedPosition.y}px)`,pointerEvents:oi.value?"all":"none",...Ai.value},tabIndex:Rt.value?0:void 0,role:Rt.value?"button":void 0,"aria-describedby":Y.value?void 0:`${z2n}-${a}`,"aria-label":Sn.ariaLabel,onMouseenter:At,onMousemove:ui,onMouseleave:me,onContextmenu:ye,onClick:W,onDblclick:ue,onKeydown:ie},[ns(gi.value===!1?K.value.default:gi.value,{id:Sn.id,type:Sn.type,data:Sn.data,events:{...Sn.events,...et},selected:Sn.selected,resizing:Sn.resizing,dragging:di.value,connectable:ot.value,position:Sn.computedPosition,dimensions:Sn.dimensions,isValidTargetPos:Sn.isValidTargetPos,isValidSourcePos:Sn.isValidSourcePos,parent:Sn.parentNode,parentNodeId:Sn.parentNode,zIndex:Sn.computedPosition.z??an.value,targetPosition:Sn.targetPosition,sourcePosition:Sn.sourcePosition,label:Sn.label,dragHandle:Sn.dragHandle,onUpdateNodeInternals:Qn})]);function on(){const se=Sn.computedPosition;Me.value&&(se.x=oe.value[0]*Math.round(se.x/oe.value[0]),se.y=oe.value[1]*Math.round(se.y/oe.value[1]));const{computedPosition:ge,position:Fe}=h3e(Sn,se,p.error,Q.value,V.value);(Sn.computedPosition.x!==ge.x||Sn.computedPosition.y!==ge.y)&&(Sn.computedPosition={...Sn.computedPosition,...ge}),(Sn.position.x!==Fe.x||Sn.position.y!==Fe.y)&&(Sn.position=Fe);}function Qn(){ft.value&&$([{id:l.id,nodeElement:ft.value,forceUpdate:!0}]);}function At(se){di!=null&&di.value||cn.mouseEnter({event:se,node:Sn});}function ui(se){di!=null&&di.value||cn.mouseMove({event:se,node:Sn});}function me(se){di!=null&&di.value||cn.mouseLeave({event:se,node:Sn});}function ye(se){return cn.contextMenu({event:se,node:Sn});}function ue(se){return cn.doubleClick({event:se,node:Sn});}function W(se){Jn.value&&(!g.value||!_n.value||ke.value>0)&&Sve(Sn,_.value,C,j,v,!1,ft.value),cn.click({event:se,node:Sn});}function ie(se){if(!(kve(se)||Y.value)){if(W2n.includes(se.key)&&Jn.value){const ge=se.key==="Escape";Sve(Sn,_.value,C,j,v,ge,ft.value);}else {_n.value&&Sn.selected&&KT[se.key]&&(Ie.value=`Moved selected node ${se.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~Sn.position.x}, y: ${~~Sn.position.y}`,ii({x:KT[se.key].x,y:KT[se.key].y},se.shiftKey));}}}}}),Xst=Wst;function Yst(l={includeHiddenNodes:!1}){const{nodes:a}=gs();return nc(()=>{if(a.value.length===0){return!1;}for(const w of a.value){if((l.includeHiddenNodes||!w.hidden)&&((w==null?void 0:w.handleBounds)===void 0||w.dimensions.width===0||w.dimensions.height===0)){return!1;}}return!0;});}const Jst={class:"vue-flow__nodes vue-flow__container"},Qst={name:"Nodes",compatConfig:{MODE:3}},Zst=Bu({...Qst,setup(l){const{getNodes:a,updateNodeDimensions:w,emits:g}=gs(),v=Yst(),_=su();return uu(v,p=>{p&&s2(()=>{g.nodesInitialized(a.value);});},{immediate:!0}),l2(()=>{_.value=new ResizeObserver(p=>{const j=p.map(C=>({id:C.target.getAttribute("data-id"),nodeElement:C.target,forceUpdate:!0}));s2(()=>w(j));});}),Hve(()=>{var p;return(p=_.value)==null?void 0:p.disconnect();}),(p,j)=>(Wi(),uc("div",Jst,[_.value?(Wi(!0),uc(Ps,{key:0},B9(Xi(a),(C,$,A,K)=>{const Q=[C.id];if(K&&K.key===C.id&&qXn(K,Q)){return K;}const ee=(Wi(),lh(Xi(Xst),{id:C.id,key:C.id,"resize-observer":_.value},null,8,["id","resize-observer"]));return ee.memo=Q,ee;},j,0),128)):Ia("",!0)]));}});function eft(){const{emits:l}=gs();l2(()=>{if(smn()){const a=document.querySelector(".vue-flow__pane");a&&window.getComputedStyle(a).zIndex!=="1"&&l.error(new Pa(Zl.MISSING_STYLES));}});}const nft=Is("div",{class:"vue-flow__edge-labels"},null,-1),tft={name:"VueFlow",compatConfig:{MODE:3}},ift=Bu({...tft,props:{id:{},modelValue:{},nodes:{},edges:{},edgeTypes:{},nodeTypes:{},connectionMode:{},connectionLineType:{},connectionLineStyle:{default:void 0},connectionLineOptions:{default:void 0},connectionRadius:{},isValidConnection:{type:[Function,null],default:void 0},deleteKeyCode:{default:void 0},selectionKeyCode:{type:[Boolean,null],default:void 0},multiSelectionKeyCode:{default:void 0},zoomActivationKeyCode:{default:void 0},panActivationKeyCode:{default:void 0},snapToGrid:{type:Boolean,default:void 0},snapGrid:{},onlyRenderVisibleElements:{type:Boolean,default:void 0},edgesUpdatable:{type:[Boolean,String],default:void 0},nodesDraggable:{type:Boolean,default:void 0},nodesConnectable:{type:Boolean,default:void 0},nodeDragThreshold:{},elementsSelectable:{type:Boolean,default:void 0},selectNodesOnDrag:{type:Boolean,default:void 0},panOnDrag:{type:[Boolean,Array],default:void 0},minZoom:{},maxZoom:{},defaultViewport:{},translateExtent:{},nodeExtent:{},defaultMarkerColor:{},zoomOnScroll:{type:Boolean,default:void 0},zoomOnPinch:{type:Boolean,default:void 0},panOnScroll:{type:Boolean,default:void 0},panOnScrollSpeed:{},panOnScrollMode:{},paneClickDistance:{},zoomOnDoubleClick:{type:Boolean,default:void 0},preventScrolling:{type:Boolean,default:void 0},selectionMode:{},edgeUpdaterRadius:{},fitViewOnInit:{type:Boolean,default:void 0},connectOnClick:{type:Boolean,default:void 0},applyDefault:{type:Boolean,default:void 0},autoConnect:{type:[Boolean,Function],default:void 0},noDragClassName:{},noWheelClassName:{},noPanClassName:{},defaultEdgeOptions:{},elevateEdgesOnSelect:{type:Boolean,default:void 0},elevateNodesOnSelect:{type:Boolean,default:void 0},disableKeyboardA11y:{type:Boolean,default:void 0},edgesFocusable:{type:Boolean,default:void 0},nodesFocusable:{type:Boolean,default:void 0},autoPanOnConnect:{type:Boolean,default:void 0},autoPanOnNodeDrag:{type:Boolean,default:void 0},autoPanSpeed:{}},emits:["nodesChange","edgesChange","nodesInitialized","paneReady","init","updateNodeInternals","error","connect","connectStart","connectEnd","clickConnectStart","clickConnectEnd","moveStart","move","moveEnd","selectionDragStart","selectionDrag","selectionDragStop","selectionContextMenu","selectionStart","selectionEnd","viewportChangeStart","viewportChange","viewportChangeEnd","paneScroll","paneClick","paneContextMenu","paneMouseEnter","paneMouseMove","paneMouseLeave","edgeUpdate","edgeContextMenu","edgeMouseEnter","edgeMouseMove","edgeMouseLeave","edgeDoubleClick","edgeClick","edgeUpdateStart","edgeUpdateEnd","nodeContextMenu","nodeMouseEnter","nodeMouseMove","nodeMouseLeave","nodeDoubleClick","nodeClick","nodeDragStart","nodeDrag","nodeDragStop","miniMapNodeClick","miniMapNodeDoubleClick","miniMapNodeMouseEnter","miniMapNodeMouseMove","miniMapNodeMouseLeave","update:modelValue","update:nodes","update:edges"],setup(l,{expose:a,emit:w}){const g=l,v=rXn(),_=xme(g,"modelValue",w),p=xme(g,"nodes",w),j=xme(g,"edges",w),C=gs(g),$=Aut({modelValue:_,nodes:p,edges:j},g,C);return Lut(w,C.hooks),Nst(),eft(),z9(aY,v),XX(()=>{$();}),a(C),(A,K)=>(Wi(),uc("div",{ref:Xi(C).vueFlowRef,class:"vue-flow"},[zo(Tst,null,{default:mg(()=>[zo(Vst),nft,zo(Zst),Jl(A.$slots,"zoom-pane")]),_:3}),Jl(A.$slots,"default"),zo(Pst)],512));}}),rft={name:"Panel",compatConfig:{MODE:3}},cft=Bu({...rft,props:{position:{}},setup(l){const a=l,{userSelectionActive:w}=gs(),g=nc(()=>`${a.position}`.split("-"));return(v,_)=>(Wi(),uc("div",{class:f2(["vue-flow__panel",g.value]),style:kd({pointerEvents:Xi(w)?"none":"all"})},[Jl(v.$slots,"default")],6));}});function Gbn(l,a){const{dimensions:{width:w,height:g},computedPosition:v}=l,_=a.computedPosition,p=w/2,j=g/2,C=v.x+p,$=v.y+j,A=_.x+p,K=_.y+j,Q=(A-C)/(2*p)-(K-$)/(2*j),ee=(A-C)/(2*p)+(K-$)/(2*j),Y=1/(Math.abs(Q)+Math.abs(ee)),Ie=Y*Q,Me=Y*ee,oe=p*(Ie+Me)+C,ke=j*(-Ie+Me)+$;return{x:oe,y:ke};}function zbn(l,a){const w={...l.computedPosition,...l.dimensions},g=Math.round(w.x),v=Math.round(w.y),_=Math.round(a.x),p=Math.round(a.y);return _<=g+1?Ui.Left:_>=g+w.width-1?Ui.Right:p<=v+1?Ui.Top:p>=w.y+w.height-1?Ui.Bottom:Ui.Top;}function oft(l,a){const w=Gbn(l,a),g=Gbn(a,l),v=zbn(l,w),_=zbn(a,g);return{sx:w.x,sy:w.y,tx:g.x,ty:g.y,sourcePos:v,targetPos:_};}const uft=Bu({__name:"FloatingEdge",props:{id:{},source:{},target:{},markerEndId:{},sourceNode:{},targetNode:{},style:{},markerEnd:{},markerStart:{},type:{},label:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{}},setup(l){const a=l,w=nc(()=>oft(a.sourceNode,a.targetNode));nc(()=>w.value.sx&&LX({sourceX:w.value.sx,sourceY:w.value.sy,targetX:w.value.tx,targetY:w.value.ty,sourcePosition:w.value.sourcePos,targetPosition:w.value.targetPos})||"");const g=nc(()=>{if(!w.value.sx){return"";}const v=a.sourceX,_=a.sourceY,p=a.sourcePosition;return LX({sourceX:v,sourceY:_,targetX:w.value.tx,targetY:w.value.ty,sourcePosition:p,targetPosition:w.value.targetPos});});return(v,_)=>(Wi(),uc(Ps,null,[_[0]||(_[0]=Is("line",{x1:"10",y1:"10",x2:"90",y2:"90",stroke:"black","marker-end":"url(#logo)"},null,-1)),zo(Xi(G$),{id:v.id,path:g.value[0],"marker-start":v.markerStart,"marker-end":v.markerEnd,style:kd(v.style)},null,8,["id","path","marker-start","marker-end","style"])],64));}}),sft={name:"ControlButton",compatConfig:{MODE:3}},fft=(l,a)=>{const w=l.__vccOpts||l;for(const[g,v]of a){w[g]=v;}return w;},lft={class:"vue-flow__controls-button"};function aft(l,a,w,g,v,_){return Wi(),uc("button",lft,[Jl(l.$slots,"default")]);}const cX=fft(sft,[["render",aft]]),hft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},dft=Is("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"},null,-1),wft=[dft];function bft(l,a){return Wi(),uc("svg",hft,wft);}const gft={render:bft},pft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},mft=Is("path",{d:"M0 0h32v4.2H0z"},null,-1),vft=[mft];function yft(l,a){return Wi(),uc("svg",pft,vft);}const kft={render:yft},Eft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},_ft=Is("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"},null,-1),Sft=[_ft];function jft(l,a){return Wi(),uc("svg",Eft,Sft);}const Tft={render:jft},Mft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},xft=Is("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"},null,-1),Cft=[xft];function Ift(l,a){return Wi(),uc("svg",Mft,Cft);}const Pft={render:Ift},Nft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},Oft=Is("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z"},null,-1),Aft=[Oft];function $ft(l,a){return Wi(),uc("svg",Nft,Aft);}const Lft={render:$ft},Dft={name:"Controls",compatConfig:{MODE:3}},Rft=Bu({...Dft,props:{showZoom:{type:Boolean,default:!0},showFitView:{type:Boolean,default:!0},showInteractive:{type:Boolean,default:!0},fitViewParams:{},position:{default:()=>G2n.BottomLeft}},emits:["zoomIn","zoomOut","fitView","interactionChange"],setup(l,{emit:a}){const{nodesDraggable:w,nodesConnectable:g,elementsSelectable:v,setInteractive:_,zoomIn:p,zoomOut:j,fitView:C,viewport:$,minZoom:A,maxZoom:K}=gs(),Q=Cs(()=>w.value||g.value||v.value),ee=Cs(()=>$.value.zoom<=A.value),Y=Cs(()=>$.value.zoom>=K.value);function Ie(){p(),a("zoomIn");}function Me(){j(),a("zoomOut");}function oe(){C(l.fitViewParams),a("fitView");}function ke(){_(!Q.value),a("interactionChange",!Q.value);}return(fe,Ce)=>(Wi(),lh(Xi(cft),{class:"vue-flow__controls",position:fe.position},{default:mg(()=>[Jl(fe.$slots,"top"),fe.showZoom?(Wi(),uc(Ps,{key:0},[Jl(fe.$slots,"control-zoom-in",{},()=>[zo(cX,{class:"vue-flow__controls-zoomin",disabled:Y.value,onClick:Ie},{default:mg(()=>[Jl(fe.$slots,"icon-zoom-in",{},()=>[(Wi(),lh(IT(Xi(gft))))])]),_:3},8,["disabled"])]),Jl(fe.$slots,"control-zoom-out",{},()=>[zo(cX,{class:"vue-flow__controls-zoomout",disabled:ee.value,onClick:Me},{default:mg(()=>[Jl(fe.$slots,"icon-zoom-out",{},()=>[(Wi(),lh(IT(Xi(kft))))])]),_:3},8,["disabled"])])],64)):Ia("",!0),fe.showFitView?Jl(fe.$slots,"control-fit-view",{key:1},()=>[zo(cX,{class:"vue-flow__controls-fitview",onClick:oe},{default:mg(()=>[Jl(fe.$slots,"icon-fit-view",{},()=>[(Wi(),lh(IT(Xi(Tft))))])]),_:3})]):Ia("",!0),fe.showInteractive?Jl(fe.$slots,"control-interactive",{key:2},()=>[fe.showInteractive?(Wi(),lh(cX,{key:0,class:"vue-flow__controls-interactive",onClick:ke},{default:mg(()=>[Q.value?Jl(fe.$slots,"icon-unlock",{key:0},()=>[(Wi(),lh(IT(Xi(Lft))))]):Ia("",!0),Q.value?Ia("",!0):Jl(fe.$slots,"icon-lock",{key:1},()=>[(Wi(),lh(IT(Xi(Pft))))])]),_:3})):Ia("",!0)]):Ia("",!0),Jl(fe.$slots,"default")]),_:3},8,["position"]));}});var Bft="\0",$9="\0",Vbn="";let Fft=class{constructor(a){el(this,"_isDirected",!0);el(this,"_isMultigraph",!1);el(this,"_isCompound",!1);el(this,"_label");el(this,"_defaultNodeLabelFn",()=>{});el(this,"_defaultEdgeLabelFn",()=>{});el(this,"_nodes",{});el(this,"_in",{});el(this,"_preds",{});el(this,"_out",{});el(this,"_sucs",{});el(this,"_edgeObjs",{});el(this,"_edgeLabels",{});el(this,"_nodeCount",0);el(this,"_edgeCount",0);el(this,"_parent");el(this,"_children");a&&(this._isDirected=Object.hasOwn(a,"directed")?a.directed:!0,this._isMultigraph=Object.hasOwn(a,"multigraph")?a.multigraph:!1,this._isCompound=Object.hasOwn(a,"compound")?a.compound:!1),this._isCompound&&(this._parent={},this._children={},this._children[$9]={});}isDirected(){return this._isDirected;}isMultigraph(){return this._isMultigraph;}isCompound(){return this._isCompound;}setGraph(a){return this._label=a,this;}graph(){return this._label;}setDefaultNodeLabel(a){return this._defaultNodeLabelFn=a,typeof a!=="function"&&(this._defaultNodeLabelFn=()=>a),this;}nodeCount(){return this._nodeCount;}nodes(){return Object.keys(this._nodes);}sources(){var a=this;return this.nodes().filter(w=>Object.keys(a._in[w]).length===0);}sinks(){var a=this;return this.nodes().filter(w=>Object.keys(a._out[w]).length===0);}setNodes(a,w){var g=arguments,v=this;return a.forEach(function(_){g.length>1?v.setNode(_,w):v.setNode(_);}),this;}setNode(a,w){return Object.hasOwn(this._nodes,a)?(arguments.length>1&&(this._nodes[a]=w),this):(this._nodes[a]=arguments.length>1?w:this._defaultNodeLabelFn(a),this._isCompound&&(this._parent[a]=$9,this._children[a]={},this._children[$9][a]=!0),this._in[a]={},this._preds[a]={},this._out[a]={},this._sucs[a]={},++this._nodeCount,this);}node(a){return this._nodes[a];}hasNode(a){return Object.hasOwn(this._nodes,a);}removeNode(a){var w=this;if(Object.hasOwn(this._nodes,a)){var g=v=>w.removeEdge(w._edgeObjs[v]);delete this._nodes[a],this._isCompound&&(this._removeFromParentsChildList(a),delete this._parent[a],this.children(a).forEach(function(v){w.setParent(v);}),delete this._children[a]),Object.keys(this._in[a]).forEach(g),delete this._in[a],delete this._preds[a],Object.keys(this._out[a]).forEach(g),delete this._out[a],delete this._sucs[a],--this._nodeCount;}return this;}setParent(a,w){if(!this._isCompound){throw new Error("Cannot set parent in a non-compound graph");}if(w===void 0){w=$9;}else{w+="";for(var g=w;g!==void 0;g=this.parent(g)){if(g===a){throw new Error("Setting "+w+" as parent of "+a+" would create a cycle");}}this.setNode(w);}return this.setNode(a),this._removeFromParentsChildList(a),this._parent[a]=w,this._children[w][a]=!0,this;}_removeFromParentsChildList(a){delete this._children[this._parent[a]][a];}parent(a){if(this._isCompound){var w=this._parent[a];if(w!==$9){return w;}}}children(a=$9){if(this._isCompound){var w=this._children[a];if(w){return Object.keys(w);}}else{if(a===$9){return this.nodes();}if(this.hasNode(a)){return[];}}}predecessors(a){var w=this._preds[a];if(w){return Object.keys(w);}}successors(a){var w=this._sucs[a];if(w){return Object.keys(w);}}neighbors(a){var w=this.predecessors(a);if(w){const v=new Set(w);for(var g of this.successors(a)){v.add(g);}return Array.from(v.values());}}isLeaf(a){var w;return this.isDirected()?w=this.successors(a):w=this.neighbors(a),w.length===0;}filterNodes(a){var w=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});w.setGraph(this.graph());var g=this;Object.entries(this._nodes).forEach(function([p,j]){a(p)&&w.setNode(p,j);}),Object.values(this._edgeObjs).forEach(function(p){w.hasNode(p.v)&&w.hasNode(p.w)&&w.setEdge(p,g.edge(p));});var v={};function _(p){var j=g.parent(p);return j===void 0||w.hasNode(j)?(v[p]=j,j):j in v?v[j]:_(j);}return this._isCompound&&w.nodes().forEach(p=>w.setParent(p,_(p))),w;}setDefaultEdgeLabel(a){return this._defaultEdgeLabelFn=a,typeof a!=="function"&&(this._defaultEdgeLabelFn=()=>a),this;}edgeCount(){return this._edgeCount;}edges(){return Object.values(this._edgeObjs);}setPath(a,w){var g=this,v=arguments;return a.reduce(function(_,p){return v.length>1?g.setEdge(_,p,w):g.setEdge(_,p),p;}),this;}setEdge(){var a,w,g,v,_=!1,p=arguments[0];typeof p==="object"&&p!==null&&"v"in p?(a=p.v,w=p.w,g=p.name,arguments.length===2&&(v=arguments[1],_=!0)):(a=p,w=arguments[1],g=arguments[3],arguments.length>2&&(v=arguments[2],_=!0)),a=""+a,w=""+w,g!==void 0&&(g=""+g);var j=p$(this._isDirected,a,w,g);if(Object.hasOwn(this._edgeLabels,j)){return _&&(this._edgeLabels[j]=v),this;}if(g!==void 0&&!this._isMultigraph){throw new Error("Cannot set a named edge when isMultigraph = false");}this.setNode(a),this.setNode(w),this._edgeLabels[j]=_?v:this._defaultEdgeLabelFn(a,w,g);var C=Kft(this._isDirected,a,w,g);return a=C.v,w=C.w,Object.freeze(C),this._edgeObjs[j]=C,Wbn(this._preds[w],a),Wbn(this._sucs[a],w),this._in[w][j]=C,this._out[a][j]=C,this._edgeCount++,this;}edge(a,w,g){var v=arguments.length===1?Rme(this._isDirected,arguments[0]):p$(this._isDirected,a,w,g);return this._edgeLabels[v];}edgeAsObj(){const a=this.edge(...arguments);return typeof a!=="object"?{label:a}:a;}hasEdge(a,w,g){var v=arguments.length===1?Rme(this._isDirected,arguments[0]):p$(this._isDirected,a,w,g);return Object.hasOwn(this._edgeLabels,v);}removeEdge(a,w,g){var v=arguments.length===1?Rme(this._isDirected,arguments[0]):p$(this._isDirected,a,w,g),_=this._edgeObjs[v];return _&&(a=_.v,w=_.w,delete this._edgeLabels[v],delete this._edgeObjs[v],Xbn(this._preds[w],a),Xbn(this._sucs[a],w),delete this._in[w][v],delete this._out[a][v],this._edgeCount--),this;}inEdges(a,w){var g=this._in[a];if(g){var v=Object.values(g);return w?v.filter(_=>_.v===w):v;}}outEdges(a,w){var g=this._out[a];if(g){var v=Object.values(g);return w?v.filter(_=>_.w===w):v;}}nodeEdges(a,w){var g=this.inEdges(a,w);if(g){return g.concat(this.outEdges(a,w));}}};function Wbn(l,a){l[a]?l[a]++:l[a]=1;}function Xbn(l,a){--l[a]||delete l[a];}function p$(l,a,w,g){var v=""+a,_=""+w;if(!l&&v>_){var p=v;v=_,_=p;}return v+Vbn+_+Vbn+(g===void 0?Bft:g);}function Kft(l,a,w,g){var v=""+a,_=""+w;if(!l&&v>_){var p=v;v=_,_=p;}var j={v,w:_};return g&&(j.name=g),j;}function Rme(l,a){return p$(l,a.v,a.w,a.name);}var g3e=Fft,Hft="2.2.4",qft={Graph:g3e,version:Hft},Uft=g3e,Gft={write:zft,read:Xft};function zft(l){var a={options:{directed:l.isDirected(),multigraph:l.isMultigraph(),compound:l.isCompound()},nodes:Vft(l),edges:Wft(l)};return l.graph()!==void 0&&(a.value=structuredClone(l.graph())),a;}function Vft(l){return l.nodes().map(function(a){var w=l.node(a),g=l.parent(a),v={v:a};return w!==void 0&&(v.value=w),g!==void 0&&(v.parent=g),v;});}function Wft(l){return l.edges().map(function(a){var w=l.edge(a),g={v:a.v,w:a.w};return a.name!==void 0&&(g.name=a.name),w!==void 0&&(g.value=w),g;});}function Xft(l){var a=new Uft(l.options).setGraph(l.value);return l.nodes.forEach(function(w){a.setNode(w.v,w.value),w.parent&&a.setParent(w.v,w.parent);}),l.edges.forEach(function(w){a.setEdge({v:w.v,w:w.w,name:w.name},w.value);}),a;}var Yft=Jft;function Jft(l){var a={},w=[],g;function v(_){Object.hasOwn(a,_)||(a[_]=!0,g.push(_),l.successors(_).forEach(v),l.predecessors(_).forEach(v));}return l.nodes().forEach(function(_){g=[],v(_),g.length&&w.push(g);}),w;}let Qft=class{constructor(){el(this,"_arr",[]);el(this,"_keyIndices",{});}size(){return this._arr.length;}keys(){return this._arr.map(function(a){return a.key;});}has(a){return Object.hasOwn(this._keyIndices,a);}priority(a){var w=this._keyIndices[a];if(w!==void 0){return this._arr[w].priority;}}min(){if(this.size()===0){throw new Error("Queue underflow");}return this._arr[0].key;}add(a,w){var g=this._keyIndices;if(a=String(a),!Object.hasOwn(g,a)){var v=this._arr,_=v.length;return g[a]=_,v.push({key:a,priority:w}),this._decrease(_),!0;}return!1;}removeMin(){this._swap(0,this._arr.length-1);var a=this._arr.pop();return delete this._keyIndices[a.key],this._heapify(0),a.key;}decrease(a,w){var g=this._keyIndices[a];if(w>this._arr[g].priority){throw new Error("New priority is greater than current priority. Key: "+a+" Old: "+this._arr[g].priority+" New: "+w);}this._arr[g].priority=w,this._decrease(g);}_heapify(a){var w=this._arr,g=2*a,v=g+1,_=a;g>1,!(w[v].priority1;function nlt(l,a,w,g){return tlt(l,String(a),w||elt,g||function(v){return l.outEdges(v);});}function tlt(l,a,w,g){var v={},_=new Zft,p,j,C=function($){var A=$.v!==p?$.v:$.w,K=v[A],Q=w($),ee=j.distance+Q;if(Q<0){throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+$+" Weight: "+Q);}ee0&&(p=_.removeMin(),j=v[p],j.distance!==Number.POSITIVE_INFINITY);){g(p).forEach(C);}return v;}var ilt=kmn,rlt=clt;function clt(l,a,w){return l.nodes().reduce(function(g,v){return g[v]=ilt(l,v,a,w),g;},{});}var Emn=olt;function olt(l){var a=0,w=[],g={},v=[];function _(p){var j=g[p]={onStack:!0,lowlink:a,index:a++};if(w.push(p),l.successors(p).forEach(function(A){Object.hasOwn(g,A)?g[A].onStack&&(j.lowlink=Math.min(j.lowlink,g[A].index)):(_(A),j.lowlink=Math.min(j.lowlink,g[A].lowlink));}),j.lowlink===j.index){var C=[],$;do {$=w.pop(),g[$].onStack=!1,C.push($);}while(p!==$);v.push(C);}}return l.nodes().forEach(function(p){Object.hasOwn(g,p)||_(p);}),v;}var ult=Emn,slt=flt;function flt(l){return ult(l).filter(function(a){return a.length>1||a.length===1&&l.hasEdge(a[0],a[0]);});}var llt=hlt,alt=()=>1;function hlt(l,a,w){return dlt(l,a||alt,w||function(g){return l.outEdges(g);});}function dlt(l,a,w){var g={},v=l.nodes();return v.forEach(function(_){g[_]={},g[_][_]={distance:0},v.forEach(function(p){_!==p&&(g[_][p]={distance:Number.POSITIVE_INFINITY});}),w(_).forEach(function(p){var j=p.v===_?p.w:p.v,C=a(p);g[_][j]={distance:C,predecessor:_};});}),v.forEach(function(_){var p=g[_];v.forEach(function(j){var C=g[j];v.forEach(function($){var A=C[_],K=p[$],Q=C[$],ee=A.distance+K.distance;eel.successors(j):j=>l.neighbors(j),v=w==="post"?plt:mlt,_=[],p={};return a.forEach(j=>{if(!l.hasNode(j)){throw new Error("Graph does not have node: "+j);}v(j,g,p,_);}),_;}function plt(l,a,w,g){for(var v=[[l,!1]];v.length>0;){var _=v.pop();_[1]?g.push(_[0]):Object.hasOwn(w,_[0])||(w[_[0]]=!0,v.push([_[0],!0]),Tmn(a(_[0]),p=>v.push([p,!1])));}}function mlt(l,a,w,g){for(var v=[l];v.length>0;){var _=v.pop();Object.hasOwn(w,_)||(w[_]=!0,g.push(_),Tmn(a(_),p=>v.push(p)));}}function Tmn(l,a){for(var w=l.length;w--;){a(l[w],w,l);}return l;}var vlt=jmn,ylt=klt;function klt(l,a){return vlt(l,a,"post");}var Elt=jmn,_lt=Slt;function Slt(l,a){return Elt(l,a,"pre");}var jlt=g3e,Tlt=ymn,Mlt=xlt;function xlt(l,a){var w=new jlt,g={},v=new Tlt,_;function p(C){var $=C.v===_?C.w:C.v,A=v.priority($);if(A!==void 0){var K=a(C);K0;){if(_=v.removeMin(),Object.hasOwn(g,_)){w.setEdge(_,g[_]);}else{if(j){throw new Error("Input graph is not connected: "+l);}j=!0;}l.nodeEdges(_).forEach(p);}return w;}var Clt={components:Yft,dijkstra:kmn,dijkstraAll:rlt,findCycles:slt,floydWarshall:llt,isAcyclic:wlt,postorder:ylt,preorder:_lt,prim:Mlt,tarjan:Emn,topsort:Smn},Jbn=qft,h2={Graph:Jbn.Graph,json:Gft,alg:Clt,version:Jbn.version};let Ilt=class{constructor(){let a={};a._next=a._prev=a,this._sentinel=a;}dequeue(){let a=this._sentinel,w=a._prev;if(w!==a){return Qbn(w),w;}}enqueue(a){let w=this._sentinel;a._prev&&a._next&&Qbn(a),a._next=w._next,w._next._prev=a,w._next=a,a._prev=w;}toString(){let a=[],w=this._sentinel,g=w._prev;for(;g!==w;){a.push(JSON.stringify(g,Plt)),g=g._prev;}return"["+a.join(", ")+"]";}};function Qbn(l){l._prev._next=l._next,l._next._prev=l._prev,delete l._next,delete l._prev;}function Plt(l,a){if(l!=="_next"&&l!=="_prev"){return a;}}var Nlt=Ilt;let Olt=h2.Graph,Alt=Nlt;var $lt=Dlt;let Llt=()=>1;function Dlt(l,a){if(l.nodeCount()<=1){return[];}let w=Blt(l,a||Llt);return Rlt(w.graph,w.buckets,w.zeroIdx).flatMap(v=>l.outEdges(v.v,v.w));}function Rlt(l,a,w){let g=[],v=a[a.length-1],_=a[0],p;for(;l.nodeCount();){for(;p=_.dequeue();){Bme(l,a,w,p);}for(;p=v.dequeue();){Bme(l,a,w,p);}if(l.nodeCount()){for(let j=a.length-2;j>0;--j){if(p=a[j].dequeue(),p){g=g.concat(Bme(l,a,w,p,!0));break;}}}}return g;}function Bme(l,a,w,g,v){let _=v?[]:void 0;return l.inEdges(g.v).forEach(p=>{let j=l.edge(p),C=l.node(p.v);v&&_.push({v:p.v,w:p.w}),C.out-=j,Mve(a,w,C);}),l.outEdges(g.v).forEach(p=>{let j=l.edge(p),C=p.w,$=l.node(C);$.in-=j,Mve(a,w,$);}),l.removeNode(g.v),_;}function Blt(l,a){let w=new Olt,g=0,v=0;l.nodes().forEach(j=>{w.setNode(j,{v:j,in:0,out:0});}),l.edges().forEach(j=>{let C=w.edge(j.v,j.w)||0,$=a(j),A=C+$;w.setEdge(j.v,j.w,A),v=Math.max(v,w.node(j.v).out+=$),g=Math.max(g,w.node(j.w).in+=$);});let _=Flt(v+g+3).map(()=>new Alt),p=g+1;return w.nodes().forEach(j=>{Mve(_,p,w.node(j));}),{graph:w,buckets:_,zeroIdx:p};}function Mve(l,a,w){w.out?w.in?l[w.out-w.in+a].enqueue(w):l[l.length-1].enqueue(w):l[0].enqueue(w);}function Flt(l){const a=[];for(let w=0;wa.setNode(w,l.node(w))),l.edges().forEach(w=>{let g=a.edge(w.v,w.w)||{weight:0,minlen:1},v=l.edge(w);a.setEdge(w.v,w.w,{weight:g.weight+v.weight,minlen:Math.max(g.minlen,v.minlen)});}),a;}function Hlt(l){let a=new Mmn({multigraph:l.isMultigraph()}).setGraph(l.graph());return l.nodes().forEach(w=>{l.children(w).length||a.setNode(w,l.node(w));}),l.edges().forEach(w=>{a.setEdge(w,l.edge(w));}),a;}function qlt(l){let a=l.nodes().map(w=>{let g={};return l.outEdges(w).forEach(v=>{g[v.w]=(g[v.w]||0)+l.edge(v).weight;}),g;});return p3e(l.nodes(),a);}function Ult(l){let a=l.nodes().map(w=>{let g={};return l.inEdges(w).forEach(v=>{g[v.v]=(g[v.v]||0)+l.edge(v).weight;}),g;});return p3e(l.nodes(),a);}function Glt(l,a){let w=l.x,g=l.y,v=a.x-w,_=a.y-g,p=l.width/2,j=l.height/2;if(!v&&!_){throw new Error("Not possible to find intersection inside of the rectangle");}let C,$;return Math.abs(_)*p>Math.abs(v)*j?(_<0&&(j=-j),C=j*v/_,$=j):(v<0&&(p=-p),C=p,$=p*_/v),{x:w+C,y:g+$};}function zlt(l){let a=Nmn(Imn(l)+1).map(()=>[]);return l.nodes().forEach(w=>{let g=l.node(w),v=g.rank;v!==void 0&&(a[v][g.order]=w);}),a;}function Vlt(l){let a=l.nodes().map(g=>{let v=l.node(g).rank;return v===void 0?Number.MAX_VALUE:v;}),w=bY(Math.min,a);l.nodes().forEach(g=>{let v=l.node(g);Object.hasOwn(v,"rank")&&(v.rank-=w);});}function Wlt(l){let a=l.nodes().map(p=>l.node(p).rank),w=bY(Math.min,a),g=[];l.nodes().forEach(p=>{let j=l.node(p).rank-w;g[j]||(g[j]=[]),g[j].push(p);});let v=0,_=l.graph().nodeRankFactor;Array.from(g).forEach((p,j)=>{p===void 0&&j%_!==0?--v:p!==void 0&&v&&p.forEach(C=>l.node(C).rank+=v);});}function Xlt(l,a,w,g){let v={width:0,height:0};return arguments.length>=4&&(v.rank=w,v.order=g),xmn(l,"border",v,a);}function Ylt(l,a=Cmn){const w=[];for(let g=0;gCmn){const w=Ylt(a);return l.apply(null,w.map(g=>l.apply(null,g)));}else {return l.apply(null,a);}}function Imn(l){const w=l.nodes().map(g=>{let v=l.node(g).rank;return v===void 0?Number.MIN_VALUE:v;});return bY(Math.max,w);}function Jlt(l,a){let w={lhs:[],rhs:[]};return l.forEach(g=>{a(g)?w.lhs.push(g):w.rhs.push(g);}),w;}function Qlt(l,a){let w=Date.now();try{return a();}finally{console.log(l+" time: "+(Date.now()-w)+"ms");}}function Zlt(l,a){return a();}let eat=0;function Pmn(l){var a=++eat;return toString(l)+a;}function Nmn(l,a,w=1){a==null&&(a=l,l=0);let g=_=>_a<_);const v=[];for(let _=l;g(_);_+=w){v.push(_);}return v;}function nat(l,a){const w={};for(const g of a){l[g]!==void 0&&(w[g]=l[g]);}return w;}function tat(l,a){let w=a;return typeof a==="string"&&(w=g=>g[a]),Object.entries(l).reduce((g,[v,_])=>(g[v]=w(_,v),g),{});}function p3e(l,a){return l.reduce((w,g,v)=>(w[g]=a[v],w),{});}let iat=$lt,rat=ea.uniqueId;var cat={run:oat,undo:sat};function oat(l){(l.graph().acyclicer==="greedy"?iat(l,w(l)):uat(l)).forEach(g=>{let v=l.edge(g);l.removeEdge(g),v.forwardName=g.name,v.reversed=!0,l.setEdge(g.w,g.v,v,rat("rev"));});function w(g){return v=>g.edge(v).weight;}}function uat(l){let a=[],w={},g={};function v(_){Object.hasOwn(g,_)||(g[_]=!0,w[_]=!0,l.outEdges(_).forEach(p=>{Object.hasOwn(w,p.w)?a.push(p):v(p.w);}),delete w[_]);}return l.nodes().forEach(v),a;}function sat(l){l.edges().forEach(a=>{let w=l.edge(a);if(w.reversed){l.removeEdge(a);let g=w.forwardName;delete w.reversed,delete w.forwardName,l.setEdge(a.w,a.v,w,g);}});}let fat=ea;var lat={run:aat,undo:dat};function aat(l){l.graph().dummyChains=[],l.edges().forEach(a=>hat(l,a));}function hat(l,a){let w=a.v,g=l.node(w).rank,v=a.w,_=l.node(v).rank,p=a.name,j=l.edge(a),C=j.labelRank;if(_===g+1){return;}l.removeEdge(a);let $,A,K;for(K=0,++g;g<_;++K,++g){j.points=[],A={width:0,height:0,edgeLabel:j,edgeObj:a,rank:g},$=fat.addDummyNode(l,"edge",A,"_d"),g===C&&(A.width=j.width,A.height=j.height,A.dummy="edge-label",A.labelpos=j.labelpos),l.setEdge(w,$,{weight:j.weight},p),K===0&&l.graph().dummyChains.push($),w=$;}l.setEdge(w,v,{weight:j.weight},p);}function dat(l){l.graph().dummyChains.forEach(a=>{let w=l.node(a),g=w.edgeLabel,v;for(l.setEdge(w.edgeObj,g);w.dummy;){v=l.successors(a)[0],l.removeNode(a),g.points.push({x:w.x,y:w.y}),w.dummy==="edge-label"&&(g.x=w.x,g.y=w.y,g.width=w.width,g.height=w.height),a=v,w=l.node(a);}});}const{applyWithChunking:wat}=ea;var gY={longestPath:bat,slack:gat};function bat(l){var a={};function w(g){var v=l.node(g);if(Object.hasOwn(a,g)){return v.rank;}a[g]=!0;let _=l.outEdges(g).map(j=>j==null?Number.POSITIVE_INFINITY:w(j.w)-l.edge(j).minlen);var p=wat(Math.min,_);return p===Number.POSITIVE_INFINITY&&(p=0),v.rank=p;}l.sources().forEach(w);}function gat(l,a){return l.node(a.w).rank-l.node(a.v).rank-l.edge(a).minlen;}var pat=h2.Graph,DX=gY.slack,Omn=mat;function mat(l){var a=new pat({directed:!1}),w=l.nodes()[0],g=l.nodeCount();a.setNode(w,{});for(var v,_;vat(a,l){var _=v.v,p=g===_?v.w:_;!l.hasNode(p)&&!DX(a,v)&&(l.setNode(p,{}),l.setEdge(g,p,{}),w(p));});}return l.nodes().forEach(w),l.nodeCount();}function yat(l,a){return a.edges().reduce((g,v)=>{let _=Number.POSITIVE_INFINITY;return l.hasNode(v.v)!==l.hasNode(v.w)&&(_=DX(a,v)),_a.node(g).rank+=w);}var Eat=Omn,Zbn=gY.slack,_at=gY.longestPath,Sat=h2.alg.preorder,jat=h2.alg.postorder,Tat=ea.simplify,Mat=Z9;Z9.initLowLimValues=v3e;Z9.initCutValues=m3e;Z9.calcCutValue=Amn;Z9.leaveEdge=Lmn;Z9.enterEdge=Dmn;Z9.exchangeEdges=Rmn;function Z9(l){l=Tat(l),_at(l);var a=Eat(l);v3e(a),m3e(a,l);for(var w,g;w=Lmn(a);){g=Dmn(a,l,w),Rmn(a,l,w,g);}}function m3e(l,a){var w=jat(l,l.nodes());w=w.slice(0,w.length-1),w.forEach(g=>xat(l,a,g));}function xat(l,a,w){var g=l.node(w),v=g.parent;l.edge(w,v).cutvalue=Amn(l,a,w);}function Amn(l,a,w){var g=l.node(w),v=g.parent,_=!0,p=a.edge(w,v),j=0;return p||(_=!1,p=a.edge(v,w)),j=p.weight,a.nodeEdges(w).forEach(C=>{var $=C.v===w,A=$?C.w:C.v;if(A!==v){var K=$===_,Q=a.edge(C).weight;if(j+=K?Q:-Q,Iat(l,w,A)){var ee=l.edge(w,A).cutvalue;j+=K?-ee:ee;}}}),j;}function v3e(l,a){arguments.length<2&&(a=l.nodes()[0]),$mn(l,{},1,a);}function $mn(l,a,w,g,v){var _=w,p=l.node(g);return a[g]=!0,l.neighbors(g).forEach(j=>{Object.hasOwn(a,j)||(w=$mn(l,a,w,j,g));}),p.low=_,p.lim=w++,v?p.parent=v:delete p.parent,w;}function Lmn(l){return l.edges().find(a=>l.edge(a).cutvalue<0);}function Dmn(l,a,w){var g=w.v,v=w.w;a.hasEdge(g,v)||(g=w.w,v=w.v);var _=l.node(g),p=l.node(v),j=_,C=!1;_.lim>p.lim&&(j=p,C=!0);var $=a.edges().filter(A=>C===egn(l,l.node(A.v),j)&&C!==egn(l,l.node(A.w),j));return $.reduce((A,K)=>Zbn(a,K)!a.node(v).parent),g=Sat(l,w);g=g.slice(1),g.forEach(v=>{var _=l.node(v).parent,p=a.edge(v,_),j=!1;p||(p=a.edge(_,v),j=!0),a.node(v).rank=a.node(_).rank+(j?p.minlen:-p.minlen);});}function Iat(l,a,w){return l.hasEdge(a,w);}function egn(l,a,w){return w.low<=a.lim&&a.lim<=w.lim;}var Pat=gY,Bmn=Pat.longestPath,Nat=Omn,Oat=Mat,Aat=$at;function $at(l){switch(l.graph().ranker){case"network-simplex":ngn(l);break;case"tight-tree":Dat(l);break;case"longest-path":Lat(l);break;default:ngn(l);}}var Lat=Bmn;function Dat(l){Bmn(l),Nat(l);}function ngn(l){Oat(l);}var Rat=Bat;function Bat(l){let a=Kat(l);l.graph().dummyChains.forEach(w=>{let g=l.node(w),v=g.edgeObj,_=Fat(l,a,v.v,v.w),p=_.path,j=_.lca,C=0,$=p[C],A=!0;for(;w!==v.w;){if(g=l.node(w),A){for(;($=p[C])!==j&&l.node($).maxRankp||j>a[C].lim));for($=C,C=g;(C=l.parent(C))!==$;){_.push(C);}return{path:v.concat(_.reverse()),lca:$};}function Kat(l){let a={},w=0;function g(v){let _=w;l.children(v).forEach(g),a[v]={low:_,lim:w++};}return l.children().forEach(g),a;}let RX=ea;var Hat={run:qat,cleanup:zat};function qat(l){let a=RX.addDummyNode(l,"root",{},"_root"),w=Uat(l),g=Object.values(w),v=RX.applyWithChunking(Math.max,g)-1,_=2*v+1;l.graph().nestingRoot=a,l.edges().forEach(j=>l.edge(j).minlen*=_);let p=Gat(l)+1;l.children().forEach(j=>Fmn(l,a,_,p,v,w,j)),l.graph().nodeRankFactor=_;}function Fmn(l,a,w,g,v,_,p){let j=l.children(p);if(!j.length){p!==a&&l.setEdge(a,p,{weight:0,minlen:w});return;}let C=RX.addBorderNode(l,"_bt"),$=RX.addBorderNode(l,"_bb"),A=l.node(p);l.setParent(C,p),A.borderTop=C,l.setParent($,p),A.borderBottom=$,j.forEach(K=>{Fmn(l,a,w,g,v,_,K);let Q=l.node(K),ee=Q.borderTop?Q.borderTop:K,Y=Q.borderBottom?Q.borderBottom:K,Ie=Q.borderTop?g:2*g,Me=ee!==Y?1:v-_[p]+1;l.setEdge(C,ee,{weight:Ie,minlen:Me,nestingEdge:!0}),l.setEdge(Y,$,{weight:Ie,minlen:Me,nestingEdge:!0});}),l.parent(p)||l.setEdge(a,C,{weight:0,minlen:v+_[p]});}function Uat(l){var a={};function w(g,v){var _=l.children(g);_&&_.length&&_.forEach(p=>w(p,v+1)),a[g]=v;}return l.children().forEach(g=>w(g,1)),a;}function Gat(l){return l.edges().reduce((a,w)=>a+l.edge(w).weight,0);}function zat(l){var a=l.graph();l.removeNode(a.nestingRoot),delete a.nestingRoot,l.edges().forEach(w=>{var g=l.edge(w);g.nestingEdge&&l.removeEdge(w);});}let Vat=ea;var Wat=Xat;function Xat(l){function a(w){let g=l.children(w),v=l.node(w);if(g.length&&g.forEach(a),Object.hasOwn(v,"minRank")){v.borderLeft=[],v.borderRight=[];for(let _=v.minRank,p=v.maxRank+1;_ign(l.node(a))),l.edges().forEach(a=>ign(l.edge(a)));}function ign(l){let a=l.width;l.width=l.height,l.height=a;}function Zat(l){l.nodes().forEach(a=>Fme(l.node(a))),l.edges().forEach(a=>{let w=l.edge(a);w.points.forEach(Fme),Object.hasOwn(w,"y")&&Fme(w);});}function Fme(l){l.y=-l.y;}function eht(l){l.nodes().forEach(a=>Kme(l.node(a))),l.edges().forEach(a=>{let w=l.edge(a);w.points.forEach(Kme),Object.hasOwn(w,"x")&&Kme(w);});}function Kme(l){let a=l.x;l.x=l.y,l.y=a;}let rgn=ea;var nht=tht;function tht(l){let a={},w=l.nodes().filter(C=>!l.children(C).length),g=w.map(C=>l.node(C).rank),v=rgn.applyWithChunking(Math.max,g),_=rgn.range(v+1).map(()=>[]);function p(C){if(a[C]){return;}a[C]=!0;let $=l.node(C);_[$.rank].push(C),l.successors(C).forEach(p);}return w.sort((C,$)=>l.node(C).rank-l.node($).rank).forEach(p),_;}let iht=ea.zipObject;var rht=cht;function cht(l,a){let w=0;for(let g=1;gA)),v=a.flatMap($=>l.outEdges($).map(A=>({pos:g[A.w],weight:l.edge(A).weight})).sort((A,K)=>A.pos-K.pos)),_=1;for(;_{let A=$.pos+_;j[A]+=$.weight;let K=0;for(;A>0;){A%2&&(K+=j[A+1]),A=A-1>>1,j[A]+=$.weight;}C+=$.weight*K;}),C;}var uht=sht;function sht(l,a=[]){return a.map(w=>{let g=l.inEdges(w);if(g.length){let v=g.reduce((_,p)=>{let j=l.edge(p),C=l.node(p.v);return{sum:_.sum+j.weight*C.order,weight:_.weight+j.weight};},{sum:0,weight:0});return{v:w,barycenter:v.sum/v.weight,weight:v.weight};}else {return{v:w};}});}let fht=ea;var lht=aht;function aht(l,a){let w={};l.forEach((v,_)=>{let p=w[v.v]={indegree:0,in:[],out:[],vs:[v.v],i:_};v.barycenter!==void 0&&(p.barycenter=v.barycenter,p.weight=v.weight);}),a.edges().forEach(v=>{let _=w[v.v],p=w[v.w];_!==void 0&&p!==void 0&&(p.indegree++,_.out.push(w[v.w]));});let g=Object.values(w).filter(v=>!v.indegree);return hht(g);}function hht(l){let a=[];function w(v){return _=>{_.merged||(_.barycenter===void 0||v.barycenter===void 0||_.barycenter>=v.barycenter)&&dht(v,_);};}function g(v){return _=>{_.in.push(v),--_.indegree===0&&l.push(_);};}for(;l.length;){let v=l.pop();a.push(v),v.in.reverse().forEach(w(v)),v.out.forEach(g(v));}return a.filter(v=>!v.merged).map(v=>fht.pick(v,["vs","i","barycenter","weight"]));}function dht(l,a){let w=0,g=0;l.weight&&(w+=l.barycenter*l.weight,g+=l.weight),a.weight&&(w+=a.barycenter*a.weight,g+=a.weight),l.vs=a.vs.concat(l.vs),l.barycenter=w/g,l.weight=g,l.i=Math.min(a.i,l.i),a.merged=!0;}let wht=ea;var bht=ght;function ght(l,a){let w=wht.partition(l,A=>Object.hasOwn(A,"barycenter")),g=w.lhs,v=w.rhs.sort((A,K)=>K.i-A.i),_=[],p=0,j=0,C=0;g.sort(pht(!!a)),C=cgn(_,v,C),g.forEach(A=>{C+=A.vs.length,_.push(A.vs),p+=A.barycenter*A.weight,j+=A.weight,C=cgn(_,v,C);});let $={vs:_.flat(!0)};return j&&($.barycenter=p/j,$.weight=j),$;}function cgn(l,a,w){let g;for(;a.length&&(g=a[a.length-1]).i<=w;){a.pop(),l.push(g.vs),w++;}return w;}function pht(l){return(a,w)=>a.barycenterw.barycenter?1:l?w.i-a.i:a.i-w.i;}let mht=uht,vht=lht,yht=bht;var kht=Hmn;function Hmn(l,a,w,g){let v=l.children(a),_=l.node(a),p=_?_.borderLeft:void 0,j=_?_.borderRight:void 0,C={};p&&(v=v.filter(Q=>Q!==p&&Q!==j));let $=mht(l,v);$.forEach(Q=>{if(l.children(Q.v).length){let ee=Hmn(l,Q.v,w,g);C[Q.v]=ee,Object.hasOwn(ee,"barycenter")&&_ht(Q,ee);}});let A=vht($,w);Eht(A,C);let K=yht(A,g);if(p&&(K.vs=[p,K.vs,j].flat(!0),l.predecessors(p).length)){let Q=l.node(l.predecessors(p)[0]),ee=l.node(l.predecessors(j)[0]);Object.hasOwn(K,"barycenter")||(K.barycenter=0,K.weight=0),K.barycenter=(K.barycenter*K.weight+Q.order+ee.order)/(K.weight+2),K.weight+=2;}return K;}function Eht(l,a){l.forEach(w=>{w.vs=w.vs.flatMap(g=>a[g]?a[g].vs:g);});}function _ht(l,a){l.barycenter!==void 0?(l.barycenter=(l.barycenter*l.weight+a.barycenter*a.weight)/(l.weight+a.weight),l.weight+=a.weight):(l.barycenter=a.barycenter,l.weight=a.weight);}let Sht=h2.Graph,jht=ea;var Tht=Mht;function Mht(l,a,w){let g=xht(l),v=new Sht({compound:!0}).setGraph({root:g}).setDefaultNodeLabel(_=>l.node(_));return l.nodes().forEach(_=>{let p=l.node(_),j=l.parent(_);(p.rank===a||p.minRank<=a&&a<=p.maxRank)&&(v.setNode(_),v.setParent(_,j||g),l[w](_).forEach(C=>{let $=C.v===_?C.w:C.v,A=v.edge($,_),K=A!==void 0?A.weight:0;v.setEdge($,_,{weight:l.edge(C).weight+K});}),Object.hasOwn(p,"minRank")&&v.setNode(_,{borderLeft:p.borderLeft[a],borderRight:p.borderRight[a]}));}),v;}function xht(l){for(var a;l.hasNode(a=jht.uniqueId("_root"));){;}return a;}var Cht=Iht;function Iht(l,a,w){let g={},v;w.forEach(_=>{let p=l.parent(_),j,C;for(;p;){if(j=l.parent(p),j?(C=g[j],g[j]=p):(C=v,v=p),C&&C!==p){a.setEdge(C,p);return;}p=j;}});}let Pht=nht,Nht=rht,Oht=kht,Aht=Tht,$ht=Cht,Lht=h2.Graph,oX=ea;var Dht=qmn;function qmn(l,a){if(a&&typeof a.customOrder==="function"){a.customOrder(l,qmn);return;}let w=oX.maxRank(l),g=ogn(l,oX.range(1,w+1),"inEdges"),v=ogn(l,oX.range(w-1,-1,-1),"outEdges"),_=Pht(l);if(ugn(l,_),a&&a.disableOptimalOrderHeuristic){return;}let p=Number.POSITIVE_INFINITY,j;for(let C=0,$=0;$<4;++C,++$){Rht(C%2?g:v,C%4>=2),_=oX.buildLayerMatrix(l);let A=Nht(l,_);Ag.node(p).order=j),$ht(g,w,_.vs);});}function ugn(l,a){Object.values(a).forEach(w=>w.forEach((g,v)=>l.node(g).order=v));}let Bht=h2.Graph,ay=ea;var Fht={positionX:qht,findType1Conflicts:Umn,findType2Conflicts:Gmn,addConflict:y3e,hasConflict:zmn,verticalAlignment:Vmn,horizontalCompaction:Wmn,alignCoordinates:Ymn,findSmallestWidthAlignment:Xmn,balance:Jmn};function Umn(l,a){let w={};function g(v,_){let p=0,j=0,C=v.length,$=_[_.length-1];return _.forEach((A,K)=>{let Q=Kht(l,A),ee=Q?l.node(Q).order:C;(Q||A===$)&&(_.slice(j,K+1).forEach(Y=>{l.predecessors(Y).forEach(Ie=>{let Me=l.node(Ie),oe=Me.order;(oe{A=_[K],l.node(A).dummy&&l.predecessors(A).forEach(Q=>{let ee=l.node(Q);ee.dummy&&(ee.order$)&&y3e(w,Q,A);});});}function v(_,p){let j=-1,C,$=0;return p.forEach((A,K)=>{if(l.node(A).dummy==="border"){let Q=l.predecessors(A);Q.length&&(C=l.node(Q[0]).order,g(p,$,K,j,C),$=K,j=C);}g(p,$,p.length,C,_.length);}),p;}return a.length&&a.reduce(v),w;}function Kht(l,a){if(l.node(a).dummy){return l.predecessors(a).find(w=>l.node(w).dummy);}}function y3e(l,a,w){if(a>w){let v=a;a=w,w=v;}let g=l[a];g||(l[a]=g={}),g[w]=!0;}function zmn(l,a,w){if(a>w){let g=a;a=w,w=g;}return!!l[a]&&Object.hasOwn(l[a],w);}function Vmn(l,a,w,g){let v={},_={},p={};return a.forEach(j=>{j.forEach((C,$)=>{v[C]=C,_[C]=C,p[C]=$;});}),a.forEach(j=>{let C=-1;j.forEach($=>{let A=g($);if(A.length){A=A.sort((Q,ee)=>p[Q]-p[ee]);let K=(A.length-1)/2;for(let Q=Math.floor(K),ee=Math.ceil(K);Q<=ee;++Q){let Y=A[Q];_[$]===$&&CMath.max(Q,_[ee.v]+p.edge(ee)),0);}function A(K){let Q=p.outEdges(K).reduce((Y,Ie)=>Math.min(Y,_[Ie.w]-p.edge(Ie)),Number.POSITIVE_INFINITY),ee=l.node(K);Q!==Number.POSITIVE_INFINITY&&ee.borderType!==j&&(_[K]=Math.max(_[K],Q));}return C($,p.predecessors.bind(p)),C(A,p.successors.bind(p)),Object.keys(g).forEach(K=>_[K]=_[w[K]]),_;}function Hht(l,a,w,g){let v=new Bht,_=l.graph(),p=Uht(_.nodesep,_.edgesep,g);return a.forEach(j=>{let C;j.forEach($=>{let A=w[$];if(v.setNode(A),C){var K=w[C],Q=v.edge(K,A);v.setEdge(K,A,Math.max(p(l,$,C),Q||0));}C=$;});}),v;}function Xmn(l,a){return Object.values(a).reduce((w,g)=>{let v=Number.NEGATIVE_INFINITY,_=Number.POSITIVE_INFINITY;Object.entries(g).forEach(([j,C])=>{let $=Ght(l,j)/2;v=Math.max(C+$,v),_=Math.min(C-$,_);});const p=v-_;return p{["l","r"].forEach(p=>{let j=_+p,C=l[j];if(C===a){return;}let $=Object.values(C),A=g-ay.applyWithChunking(Math.min,$);p!=="l"&&(A=v-ay.applyWithChunking(Math.max,$)),A&&(l[j]=ay.mapValues(C,K=>K+A));});});}function Jmn(l,a){return ay.mapValues(l.ul,(w,g)=>{if(a){return l[a.toLowerCase()][g];}{let v=Object.values(l).map(_=>_[g]).sort((_,p)=>_-p);return(v[1]+v[2])/2;}});}function qht(l){let a=ay.buildLayerMatrix(l),w=Object.assign(Umn(l,a),Gmn(l,a)),g={},v;["u","d"].forEach(p=>{v=p==="u"?a:Object.values(a).reverse(),["l","r"].forEach(j=>{j==="r"&&(v=v.map(K=>Object.values(K).reverse()));let C=(p==="u"?l.predecessors:l.successors).bind(l),$=Vmn(l,v,w,C),A=Wmn(l,v,$.root,$.align,j==="r");j==="r"&&(A=ay.mapValues(A,K=>-K)),g[p+j]=A;});});let _=Xmn(l,g);return Ymn(g,_),Jmn(g,l.graph().align);}function Uht(l,a,w){return(g,v,_)=>{let p=g.node(v),j=g.node(_),C=0,$;if(C+=p.width/2,Object.hasOwn(p,"labelpos")){switch(p.labelpos.toLowerCase()){case"l":$=-p.width/2;break;case"r":$=p.width/2;break;}}if($&&(C+=w?$:-$),$=0,C+=(p.dummy?a:l)/2,C+=(j.dummy?a:l)/2,C+=j.width/2,Object.hasOwn(j,"labelpos")){switch(j.labelpos.toLowerCase()){case"l":$=j.width/2;break;case"r":$=-j.width/2;break;}}return $&&(C+=w?$:-$),$=0,C;};}function Ght(l,a){return l.node(a).width;}let Qmn=ea,zht=Fht.positionX;var Vht=Wht;function Wht(l){l=Qmn.asNonCompoundGraph(l),Xht(l),Object.entries(zht(l)).forEach(([a,w])=>l.node(a).x=w);}function Xht(l){let a=Qmn.buildLayerMatrix(l),w=l.graph().ranksep,g=0;a.forEach(v=>{const _=v.reduce((p,j)=>{const C=l.node(j).height;return p>C?p:C;},0);v.forEach(p=>l.node(p).y=g+_/2),g+=_+w;});}let sgn=cat,fgn=lat,Yht=Aat,Jht=ea.normalizeRanks,Qht=Rat,Zht=ea.removeEmptyRanks,lgn=Hat,e1t=Wat,agn=Yat,n1t=Dht,t1t=Vht,kg=ea,i1t=h2.Graph;var r1t=c1t;function c1t(l,a){let w=a&&a.debugTiming?kg.time:kg.notime;w("layout",()=>{let g=w(" buildLayoutGraph",()=>b1t(l));w(" runLayout",()=>o1t(g,w,a)),w(" updateInputGraph",()=>u1t(l,g));});}function o1t(l,a,w){a(" makeSpaceForEdgeLabels",()=>g1t(l)),a(" removeSelfEdges",()=>j1t(l)),a(" acyclic",()=>sgn.run(l)),a(" nestingGraph.run",()=>lgn.run(l)),a(" rank",()=>Yht(kg.asNonCompoundGraph(l))),a(" injectEdgeLabelProxies",()=>p1t(l)),a(" removeEmptyRanks",()=>Zht(l)),a(" nestingGraph.cleanup",()=>lgn.cleanup(l)),a(" normalizeRanks",()=>Jht(l)),a(" assignRankMinMax",()=>m1t(l)),a(" removeEdgeLabelProxies",()=>v1t(l)),a(" normalize.run",()=>fgn.run(l)),a(" parentDummyChains",()=>Qht(l)),a(" addBorderSegments",()=>e1t(l)),a(" order",()=>n1t(l,w)),a(" insertSelfEdges",()=>T1t(l)),a(" adjustCoordinateSystem",()=>agn.adjust(l)),a(" position",()=>t1t(l)),a(" positionSelfEdges",()=>M1t(l)),a(" removeBorderNodes",()=>S1t(l)),a(" normalize.undo",()=>fgn.undo(l)),a(" fixupEdgeLabelCoords",()=>E1t(l)),a(" undoCoordinateSystem",()=>agn.undo(l)),a(" translateGraph",()=>y1t(l)),a(" assignNodeIntersects",()=>k1t(l)),a(" reversePoints",()=>_1t(l)),a(" acyclic.undo",()=>sgn.undo(l));}function u1t(l,a){l.nodes().forEach(w=>{let g=l.node(w),v=a.node(w);g&&(g.x=v.x,g.y=v.y,g.rank=v.rank,a.children(w).length&&(g.width=v.width,g.height=v.height));}),l.edges().forEach(w=>{let g=l.edge(w),v=a.edge(w);g.points=v.points,Object.hasOwn(v,"x")&&(g.x=v.x,g.y=v.y);}),l.graph().width=a.graph().width,l.graph().height=a.graph().height;}let s1t=["nodesep","edgesep","ranksep","marginx","marginy"],f1t={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},l1t=["acyclicer","ranker","rankdir","align"],a1t=["width","height"],hgn={width:0,height:0},h1t=["minlen","weight","width","height","labeloffset"],d1t={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},w1t=["labelpos"];function b1t(l){let a=new i1t({multigraph:!0,compound:!0}),w=qme(l.graph());return a.setGraph(Object.assign({},f1t,Hme(w,s1t),kg.pick(w,l1t))),l.nodes().forEach(g=>{let v=qme(l.node(g));const _=Hme(v,a1t);Object.keys(hgn).forEach(p=>{_[p]===void 0&&(_[p]=hgn[p]);}),a.setNode(g,_),a.setParent(g,l.parent(g));}),l.edges().forEach(g=>{let v=qme(l.edge(g));a.setEdge(g,Object.assign({},d1t,Hme(v,h1t),kg.pick(v,w1t)));}),a;}function g1t(l){let a=l.graph();a.ranksep/=2,l.edges().forEach(w=>{let g=l.edge(w);g.minlen*=2,g.labelpos.toLowerCase()!=="c"&&(a.rankdir==="TB"||a.rankdir==="BT"?g.width+=g.labeloffset:g.height+=g.labeloffset);});}function p1t(l){l.edges().forEach(a=>{let w=l.edge(a);if(w.width&&w.height){let g=l.node(a.v),_={rank:(l.node(a.w).rank-g.rank)/2+g.rank,e:a};kg.addDummyNode(l,"edge-proxy",_,"_ep");}});}function m1t(l){let a=0;l.nodes().forEach(w=>{let g=l.node(w);g.borderTop&&(g.minRank=l.node(g.borderTop).rank,g.maxRank=l.node(g.borderBottom).rank,a=Math.max(a,g.maxRank));}),l.graph().maxRank=a;}function v1t(l){l.nodes().forEach(a=>{let w=l.node(a);w.dummy==="edge-proxy"&&(l.edge(w.e).labelRank=w.rank,l.removeNode(a));});}function y1t(l){let a=Number.POSITIVE_INFINITY,w=0,g=Number.POSITIVE_INFINITY,v=0,_=l.graph(),p=_.marginx||0,j=_.marginy||0;function C($){let A=$.x,K=$.y,Q=$.width,ee=$.height;a=Math.min(a,A-Q/2),w=Math.max(w,A+Q/2),g=Math.min(g,K-ee/2),v=Math.max(v,K+ee/2);}l.nodes().forEach($=>C(l.node($))),l.edges().forEach($=>{let A=l.edge($);Object.hasOwn(A,"x")&&C(A);}),a-=p,g-=j,l.nodes().forEach($=>{let A=l.node($);A.x-=a,A.y-=g;}),l.edges().forEach($=>{let A=l.edge($);A.points.forEach(K=>{K.x-=a,K.y-=g;}),Object.hasOwn(A,"x")&&(A.x-=a),Object.hasOwn(A,"y")&&(A.y-=g);}),_.width=w-a+p,_.height=v-g+j;}function k1t(l){l.edges().forEach(a=>{let w=l.edge(a),g=l.node(a.v),v=l.node(a.w),_,p;w.points?(_=w.points[0],p=w.points[w.points.length-1]):(w.points=[],_=v,p=g),w.points.unshift(kg.intersectRect(g,_)),w.points.push(kg.intersectRect(v,p));});}function E1t(l){l.edges().forEach(a=>{let w=l.edge(a);if(Object.hasOwn(w,"x")){switch((w.labelpos==="l"||w.labelpos==="r")&&(w.width-=w.labeloffset),w.labelpos){case"l":w.x-=w.width/2+w.labeloffset;break;case"r":w.x+=w.width/2+w.labeloffset;break;}}});}function _1t(l){l.edges().forEach(a=>{let w=l.edge(a);w.reversed&&w.points.reverse();});}function S1t(l){l.nodes().forEach(a=>{if(l.children(a).length){let w=l.node(a),g=l.node(w.borderTop),v=l.node(w.borderBottom),_=l.node(w.borderLeft[w.borderLeft.length-1]),p=l.node(w.borderRight[w.borderRight.length-1]);w.width=Math.abs(p.x-_.x),w.height=Math.abs(v.y-g.y),w.x=_.x+w.width/2,w.y=g.y+w.height/2;}}),l.nodes().forEach(a=>{l.node(a).dummy==="border"&&l.removeNode(a);});}function j1t(l){l.edges().forEach(a=>{if(a.v===a.w){var w=l.node(a.v);w.selfEdges||(w.selfEdges=[]),w.selfEdges.push({e:a,label:l.edge(a)}),l.removeEdge(a);}});}function T1t(l){var a=kg.buildLayerMatrix(l);a.forEach(w=>{var g=0;w.forEach((v,_)=>{var p=l.node(v);p.order=_+g,(p.selfEdges||[]).forEach(j=>{kg.addDummyNode(l,"selfedge",{width:j.label.width,height:j.label.height,rank:p.rank,order:_+ ++g,e:j.e,label:j.label},"_se");}),delete p.selfEdges;});});}function M1t(l){l.nodes().forEach(a=>{var w=l.node(a);if(w.dummy==="selfedge"){var g=l.node(w.e.v),v=g.x+g.width/2,_=g.y,p=w.x-v,j=g.height/2;l.setEdge(w.e,w.label),l.removeNode(a),w.label.points=[{x:v+2*p/3,y:_-j},{x:v+5*p/6,y:_-j},{x:v+p,y:_},{x:v+5*p/6,y:_+j},{x:v+2*p/3,y:_+j}],w.label.x=w.x,w.label.y=w.y;}});}function Hme(l,a){return kg.mapValues(kg.pick(l,a),Number);}function qme(l){var a={};return l&&Object.entries(l).forEach(([w,g])=>{typeof w==="string"&&(w=w.toLowerCase()),a[w]=g;}),a;}let x1t=ea,C1t=h2.Graph;var I1t={debugOrdering:P1t};function P1t(l){let a=x1t.buildLayerMatrix(l),w=new C1t({compound:!0,multigraph:!0}).setGraph({});return l.nodes().forEach(g=>{w.setNode(g,{label:g}),w.setParent(g,"layer"+l.node(g).rank);}),l.edges().forEach(g=>w.setEdge(g.v,g.w,{},g.name)),a.forEach((g,v)=>{let _="layer"+v;w.setNode(_,{rank:"same"}),g.reduce((p,j)=>(w.setEdge(p,j,{style:"invis"}),j));}),w;}var N1t="1.1.4",O1t={graphlib:h2,layout:r1t,debug:I1t,util:{time:ea.time,notime:ea.notime},version:N1t};const Ume=I5(O1t);function uX(l){throw new Error('Could not dynamically require "'+l+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');}var Zmn={exports:{}};(function(l,a){(function(w){l.exports=w();})(function(){return function(){function w(g,v,_){function p($,A){if(!v[$]){if(!g[$]){var K=typeof uX==="function"&&uX;if(!A&&K){return K($,!0);}if(j){return j($,!0);}var Q=new Error("Cannot find module '"+$+"'");throw Q.code="MODULE_NOT_FOUND",Q;}var ee=v[$]={exports:{}};g[$][0].call(ee.exports,function(Y){var Ie=g[$][1][Y];return p(Ie||Y);},ee,ee.exports,w,g,v,_);}return v[$].exports;}for(var j=typeof uX==="function"&&uX,C=0;C<_.length;C++){p(_[C]);}return p;}return w;}()({1:[function(w,g,v){Object.defineProperty(v,"__esModule",{value:!0});var _=function(){function $(A,K){for(var Q=0;Q0&&arguments[0]!==void 0?arguments[0]:{},Q=K.defaultLayoutOptions,ee=Q===void 0?{}:Q,Y=K.algorithms,Ie=Y===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Y,Me=K.workerFactory,oe=K.workerUrl;if(p(this,$),this.defaultLayoutOptions=ee,this.initialized=!1,typeof oe>"u"&&typeof Me>"u"){throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");}var ke=Me;typeof oe<"u"&&typeof Me>"u"&&(ke=function(gn){return new Worker(gn);});var fe=ke(oe);if(typeof fe.postMessage!=="function"){throw new TypeError("Created worker does not provide the required 'postMessage' function.");}this.worker=new C(fe),this.worker.postMessage({cmd:"register",algorithms:Ie}).then(function(Ce){return A.initialized=!0;}).catch(console.err);}return _($,[{key:"layout",value:function(K){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=Q.layoutOptions,Y=ee===void 0?this.defaultLayoutOptions:ee,Ie=Q.logging,Me=Ie===void 0?!1:Ie,oe=Q.measureExecutionTime,ke=oe===void 0?!1:oe;return K?this.worker.postMessage({cmd:"layout",graph:K,layoutOptions:Y,options:{logging:Me,measureExecutionTime:ke}}):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&&this.worker.terminate();}}]),$;}();v.default=j;var C=function(){function $(A){var K=this;if(p(this,$),A===void 0){throw new Error("Missing mandatory parameter 'worker'.");}this.resolvers={},this.worker=A,this.worker.onmessage=function(Q){setTimeout(function(){K.receive(K,Q);},0);};}return _($,[{key:"postMessage",value:function(K){var Q=this.id||0;this.id=Q+1,K.id=Q;var ee=this;return new Promise(function(Y,Ie){ee.resolvers[Q]=function(Me,oe){Me?(ee.convertGwtStyleError(Me),Ie(Me)):Y(oe);},ee.worker.postMessage(K);});}},{key:"receive",value:function(K,Q){var ee=Q.data,Y=K.resolvers[ee.id];Y&&(delete K.resolvers[ee.id],ee.error?Y(ee.error):Y(null,ee.data));}},{key:"terminate",value:function(){this.worker&&this.worker.terminate();}},{key:"convertGwtStyleError",value:function(K){if(K){var Q=K.__java$exception;Q&&(Q.cause&&Q.cause.backingJsObject&&(K.cause=Q.cause.backingJsObject,this.convertGwtStyleError(K.cause)),delete K.__java$exception);}}}]),$;}();},{}],2:[function(w,g,v){(function(_){(function(){var p;typeof window<"u"?p=window:typeof _<"u"?p=_:typeof self<"u"&&(p=self);var j;function C(){}function $(){}function A(){}function K(){}function Q(){}function ee(){}function Y(){}function Ie(){}function Me(){}function oe(){}function ke(){}function fe(){}function Ce(){}function gn(){}function rt(){}function jt(){}function ft(){}function gt(){}function Ct(){}function ii(){}function Sn(){}function V(){}function cn(){}function et(){}function _n(){}function Jn(){}function ot(){}function Rt(){}function oi(){}function Ft(){}function gi(){}function di(){}function wi(){}function Ai(){}function an(){}function on(){}function Qn(){}function At(){}function ui(){}function me(){}function ye(){}function ue(){}function W(){}function ie(){}function se(){}function ge(){}function Fe(){}function Fn(){}function Dn(){}function zn(){}function Rn(){}function ei(){}function Yn(){}function $t(){}function Ti(){}function te(){}function F(){}function q(){}function Pe(){}function en(){}function xn(){}function nt(){}function sc(){}function Fu(){}function $c(){}function ko(){}function Ko(){}function k3e(){}function E3e(){}function _3e(){}function S3e(){}function j3e(){}function T3e(){}function M3e(){}function x3e(){}function C3e(){}function I3e(){}function P3e(){}function N3e(){}function O3e(){}function A3e(){}function $3e(){}function L3e(){}function D3e(){}function R3e(){}function B3e(){}function F3e(){}function K3e(){}function H3e(){}function q3e(){}function U3e(){}function pY(){}function G3e(){}function z3e(){}function V3e(){}function W3e(){}function z$(){}function V$(){}function QT(){}function X3e(){}function Y3e(){}function W$(){}function J3e(){}function Q3e(){}function Z3e(){}function ZT(){}function eye(){}function nye(){}function tye(){}function iye(){}function rye(){}function cye(){}function oye(){}function uye(){}function sye(){}function mY(){}function fye(){}function lye(){}function vY(){}function aye(){}function hye(){}function dye(){}function wye(){}function bye(){}function gye(){}function pye(){}function mye(){}function vye(){}function yye(){}function kye(){}function Eye(){}function _ye(){}function X$(){}function Sye(){}function jye(){}function Tye(){}function Mye(){}function xye(){}function Cye(){}function Iye(){}function Pye(){}function Nye(){}function yY(){}function kY(){}function Oye(){}function Aye(){}function $ye(){}function Lye(){}function Dye(){}function Rye(){}function Bye(){}function Fye(){}function Kye(){}function Hye(){}function qye(){}function Uye(){}function Gye(){}function zye(){}function Vye(){}function Wye(){}function Xye(){}function Yye(){}function Jye(){}function Qye(){}function Zye(){}function e4e(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function o4e(){}function u4e(){}function s4e(){}function f4e(){}function l4e(){}function a4e(){}function h4e(){}function d4e(){}function w4e(){}function b4e(){}function g4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function E4e(){}function _4e(){}function S4e(){}function j4e(){}function T4e(){}function M4e(){}function x4e(){}function C4e(){}function I4e(){}function P4e(){}function N4e(){}function O4e(){}function A4e(){}function $4e(){}function L4e(){}function D4e(){}function R4e(){}function B4e(){}function F4e(){}function K4e(){}function H4e(){}function q4e(){}function U4e(){}function G4e(){}function z4e(){}function V4e(){}function W4e(){}function X4e(){}function Y4e(){}function J4e(){}function Q4e(){}function Z4e(){}function e6e(){}function n6e(){}function t6e(){}function i6e(){}function r6e(){}function c6e(){}function o6e(){}function u6e(){}function s6e(){}function f6e(){}function l6e(){}function a6e(){}function h6e(){}function d6e(){}function w6e(){}function b6e(){}function g6e(){}function p6e(){}function m6e(){}function v6e(){}function y6e(){}function k6e(){}function E6e(){}function _6e(){}function S6e(){}function EY(){}function j6e(){}function T6e(){}function M6e(){}function x6e(){}function C6e(){}function I6e(){}function P6e(){}function N6e(){}function O6e(){}function A6e(){}function $6e(){}function L6e(){}function D6e(){}function R6e(){}function B6e(){}function F6e(){}function K6e(){}function H6e(){}function q6e(){}function U6e(){}function G6e(){}function z6e(){}function V6e(){}function W6e(){}function X6e(){}function Y6e(){}function J6e(){}function Q6e(){}function Z6e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function o5e(){}function u5e(){}function s5e(){}function f5e(){}function l5e(){}function a5e(){}function h5e(){}function d5e(){}function w5e(){}function b5e(){}function g5e(){}function p5e(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function E5e(){}function _5e(){}function S5e(){}function j5e(){}function T5e(){}function M5e(){}function x5e(){}function C5e(){}function I5e(){}function P5e(){}function N5e(){}function O5e(){}function A5e(){}function $5e(){}function L5e(){}function D5e(){}function R5e(){}function B5e(){}function F5e(){}function K5e(){}function H5e(){}function q5e(){}function _Y(){}function U5e(){}function G5e(){}function z5e(){}function V5e(){}function W5e(){}function X5e(){}function Y5e(){}function J5e(){}function Q5e(){}function Z5e(){}function SY(){}function e8e(){}function n8e(){}function t8e(){}function i8e(){}function r8e(){}function c8e(){}function jY(){}function TY(){}function o8e(){}function MY(){}function xY(){}function u8e(){}function s8e(){}function f8e(){}function l8e(){}function a8e(){}function h8e(){}function d8e(){}function w8e(){}function b8e(){}function g8e(){}function p8e(){}function CY(){}function m8e(){}function v8e(){}function y8e(){}function k8e(){}function E8e(){}function _8e(){}function S8e(){}function j8e(){}function T8e(){}function M8e(){}function x8e(){}function C8e(){}function I8e(){}function P8e(){}function N8e(){}function O8e(){}function A8e(){}function $8e(){}function L8e(){}function D8e(){}function R8e(){}function B8e(){}function F8e(){}function K8e(){}function H8e(){}function q8e(){}function U8e(){}function G8e(){}function z8e(){}function V8e(){}function W8e(){}function X8e(){}function Y8e(){}function J8e(){}function Q8e(){}function Z8e(){}function eke(){}function nke(){}function tke(){}function ike(){}function rke(){}function cke(){}function oke(){}function uke(){}function ske(){}function fke(){}function lke(){}function ake(){}function hke(){}function dke(){}function wke(){}function bke(){}function gke(){}function pke(){}function mke(){}function vke(){}function yke(){}function kke(){}function Eke(){}function _ke(){}function Ske(){}function jke(){}function Tke(){}function Mke(){}function xke(){}function Cke(){}function Ike(){}function Pke(){}function Nke(){}function Oke(){}function Ake(){}function $ke(){}function Lke(){}function Dke(){}function Rke(){}function Bke(){}function Fke(){}function Kke(){}function Hke(){}function qke(){}function Uke(){}function Gke(){}function zke(){}function Vke(){}function Wke(){}function Xke(){}function nvn(){}function Yke(){}function Jke(){}function Qke(){}function Zke(){}function e7e(){}function n7e(){}function t7e(){}function i7e(){}function r7e(){}function c7e(){}function o7e(){}function u7e(){}function s7e(){}function f7e(){}function l7e(){}function a7e(){}function h7e(){}function d7e(){}function w7e(){}function b7e(){}function g7e(){}function p7e(){}function m7e(){}function v7e(){}function y7e(){}function k7e(){}function E7e(){}function Y$(){}function J$(){}function _7e(){}function Q$(){}function S7e(){}function j7e(){}function T7e(){}function M7e(){}function x7e(){}function C7e(){}function I7e(){}function P7e(){}function N7e(){}function O7e(){}function IY(){}function A7e(){}function $7e(){}function L7e(){}function tvn(){}function D7e(){}function R7e(){}function B7e(){}function F7e(){}function K7e(){}function H7e(){}function q7e(){}function M0(){}function U7e(){}function wv(){}function PY(){}function G7e(){}function z7e(){}function V7e(){}function W7e(){}function X7e(){}function Y7e(){}function J7e(){}function Q7e(){}function Z7e(){}function e9e(){}function n9e(){}function t9e(){}function i9e(){}function r9e(){}function c9e(){}function o9e(){}function u9e(){}function s9e(){}function f9e(){}function Ke(){}function l9e(){}function a9e(){}function h9e(){}function d9e(){}function w9e(){}function b9e(){}function g9e(){}function p9e(){}function m9e(){}function v9e(){}function y9e(){}function k9e(){}function E9e(){}function Z$(){}function _9e(){}function S9e(){}function j9e(){}function eM(){}function T9e(){}function eL(){}function nM(){}function M9e(){}function NY(){}function x9e(){}function C9e(){}function I9e(){}function P9e(){}function N9e(){}function O9e(){}function tM(){}function A9e(){}function $9e(){}function iM(){}function L9e(){}function rM(){}function D9e(){}function OY(){}function R9e(){}function nL(){}function AY(){}function B9e(){}function F9e(){}function K9e(){}function H9e(){}function ivn(){}function q9e(){}function U9e(){}function G9e(){}function z9e(){}function V9e(){}function W9e(){}function X9e(){}function Y9e(){}function J9e(){}function Q9e(){}function my(){}function tL(){}function Z9e(){}function eEe(){}function nEe(){}function tEe(){}function iEe(){}function rEe(){}function cEe(){}function oEe(){}function uEe(){}function sEe(){}function fEe(){}function lEe(){}function aEe(){}function hEe(){}function dEe(){}function wEe(){}function bEe(){}function gEe(){}function pEe(){}function mEe(){}function vEe(){}function yEe(){}function kEe(){}function EEe(){}function _Ee(){}function SEe(){}function jEe(){}function TEe(){}function MEe(){}function xEe(){}function CEe(){}function IEe(){}function PEe(){}function NEe(){}function OEe(){}function AEe(){}function $Ee(){}function LEe(){}function DEe(){}function REe(){}function BEe(){}function FEe(){}function KEe(){}function HEe(){}function qEe(){}function UEe(){}function GEe(){}function zEe(){}function VEe(){}function WEe(){}function XEe(){}function YEe(){}function JEe(){}function QEe(){}function ZEe(){}function e_e(){}function n_e(){}function t_e(){}function i_e(){}function r_e(){}function c_e(){}function o_e(){}function u_e(){}function s_e(){}function f_e(){}function l_e(){}function a_e(){}function h_e(){}function d_e(){}function w_e(){}function b_e(){}function g_e(){}function p_e(){}function m_e(){}function v_e(){}function y_e(){}function k_e(){}function E_e(){}function __e(){}function S_e(){}function j_e(){}function T_e(){}function M_e(){}function x_e(){}function C_e(){}function I_e(){}function P_e(){}function N_e(){}function O_e(){}function A_e(){}function $_e(){}function L_e(){}function D_e(){}function R_e(){}function B_e(){}function F_e(){}function K_e(){}function H_e(){}function q_e(){}function U_e(){}function G_e(){}function $Y(){}function z_e(){}function V_e(){}function iL(){R5();}function W_e(){wE();}function X_e(){GI();}function Y_e(){fF();}function J_e(){fk();}function Q_e(){qce();}function Z_e(){bl();}function eSe(){Zre();}function nSe(){eS();}function tSe(){bE();}function iSe(){qE();}function rSe(){IPe();}function cSe(){n3();}function oSe(){rKe();}function uSe(){Qte();}function sSe(){zRe();}function fSe(){Zte();}function lSe(){$Ke();}function aSe(){GRe();}function hSe(){x4();}function dSe(){mqe();}function wSe(){pqe();}function bSe(){KBe();}function gSe(){vqe();}function pSe(){Gd();}function mSe(){NM();}function vSe(){Hue();}function ySe(){$e();}function kSe(){yqe();}function ESe(){Vqe();}function _Se(){VRe();}function SSe(){mVe();}function jSe(){WRe();}function TSe(){NJe();}function MSe(){yoe();}function xSe(){n1();}function CSe(){OGe();}function ISe(){So();}function PSe(){iBe();}function NSe(){e3();}function OSe(){tue();}function ASe(){zd();}function $Se(){iue();}function LSe(){wa();}function DSe(){cS();}function RSe(){$K();}function BSe(){UF();}function Pl(){O$e();}function FSe(){PC();}function KSe(){JI();}function LY(){Wt();}function HSe(){dI();}function qSe(){Cre();}function DY(){UB();}function RY(){vP();}function USe(){wue();}function BY(e){$n(e);}function GSe(e){this.a=e;}function cM(e){this.a=e;}function zSe(e){this.a=e;}function VSe(e){this.a=e;}function WSe(e){this.a=e;}function XSe(e){this.a=e;}function YSe(e){this.a=e;}function JSe(e){this.a=e;}function FY(e){this.a=e;}function KY(e){this.a=e;}function QSe(e){this.a=e;}function ZSe(e){this.a=e;}function rL(e){this.a=e;}function eje(e){this.a=e;}function nje(e){this.a=e;}function cL(e){this.a=e;}function oL(e){this.a=e;}function tje(e){this.a=e;}function uL(e){this.a=e;}function ije(e){this.a=e;}function rje(e){this.a=e;}function cje(e){this.a=e;}function HY(e){this.b=e;}function oje(e){this.c=e;}function uje(e){this.a=e;}function sje(e){this.a=e;}function fje(e){this.a=e;}function lje(e){this.a=e;}function aje(e){this.a=e;}function hje(e){this.a=e;}function dje(e){this.a=e;}function wje(e){this.a=e;}function bje(e){this.a=e;}function gje(e){this.a=e;}function pje(e){this.a=e;}function mje(e){this.a=e;}function vje(e){this.a=e;}function qY(e){this.a=e;}function UY(e){this.a=e;}function oM(e){this.a=e;}function eE(e){this.a=e;}function x0(){this.a=[];}function yje(e,n){e.a=n;}function rvn(e,n){e.a=n;}function cvn(e,n){e.b=n;}function ovn(e,n){e.b=n;}function uvn(e,n){e.b=n;}function GY(e,n){e.j=n;}function svn(e,n){e.g=n;}function fvn(e,n){e.i=n;}function lvn(e,n){e.c=n;}function avn(e,n){e.c=n;}function hvn(e,n){e.d=n;}function dvn(e,n){e.d=n;}function C0(e,n){e.k=n;}function wvn(e,n){e.c=n;}function zY(e,n){e.c=n;}function VY(e,n){e.a=n;}function bvn(e,n){e.a=n;}function gvn(e,n){e.f=n;}function pvn(e,n){e.a=n;}function mvn(e,n){e.b=n;}function sL(e,n){e.d=n;}function uM(e,n){e.i=n;}function WY(e,n){e.o=n;}function vvn(e,n){e.r=n;}function yvn(e,n){e.a=n;}function kvn(e,n){e.b=n;}function kje(e,n){e.e=n;}function Evn(e,n){e.f=n;}function XY(e,n){e.g=n;}function _vn(e,n){e.e=n;}function Svn(e,n){e.f=n;}function jvn(e,n){e.f=n;}function fL(e,n){e.a=n;}function lL(e,n){e.b=n;}function Tvn(e,n){e.n=n;}function Mvn(e,n){e.a=n;}function xvn(e,n){e.c=n;}function Cvn(e,n){e.c=n;}function Ivn(e,n){e.c=n;}function Pvn(e,n){e.a=n;}function Nvn(e,n){e.a=n;}function Ovn(e,n){e.d=n;}function Avn(e,n){e.d=n;}function $vn(e,n){e.e=n;}function Lvn(e,n){e.e=n;}function Dvn(e,n){e.g=n;}function Rvn(e,n){e.f=n;}function Bvn(e,n){e.j=n;}function Fvn(e,n){e.a=n;}function Kvn(e,n){e.a=n;}function Hvn(e,n){e.b=n;}function Eje(e){e.b=e.a;}function _je(e){e.c=e.d.d;}function YY(e){this.a=e;}function JY(e){this.a=e;}function QY(e){this.a=e;}function I0(e){this.a=e;}function P0(e){this.a=e;}function nE(e){this.a=e;}function Sje(e){this.a=e;}function ZY(e){this.a=e;}function tE(e){this.a=e;}function sM(e){this.a=e;}function Hh(e){this.a=e;}function _g(e){this.a=e;}function jje(e){this.a=e;}function Tje(e){this.a=e;}function aL(e){this.b=e;}function vy(e){this.b=e;}function yy(e){this.b=e;}function hL(e){this.a=e;}function Mje(e){this.a=e;}function dL(e){this.c=e;}function N(e){this.c=e;}function xje(e){this.c=e;}function P5(e){this.d=e;}function eJ(e){this.a=e;}function Tt(e){this.a=e;}function Cje(e){this.a=e;}function nJ(e){this.a=e;}function tJ(e){this.a=e;}function iJ(e){this.a=e;}function rJ(e){this.a=e;}function cJ(e){this.a=e;}function oJ(e){this.a=e;}function ky(e){this.a=e;}function Ije(e){this.a=e;}function Pje(e){this.a=e;}function Ey(e){this.a=e;}function Nje(e){this.a=e;}function Oje(e){this.a=e;}function Aje(e){this.a=e;}function $je(e){this.a=e;}function Lje(e){this.a=e;}function Dje(e){this.a=e;}function Rje(e){this.a=e;}function Bje(e){this.a=e;}function Fje(e){this.a=e;}function Kje(e){this.a=e;}function Hje(e){this.a=e;}function qje(e){this.a=e;}function Uje(e){this.a=e;}function Gje(e){this.a=e;}function zje(e){this.a=e;}function N5(e){this.a=e;}function Vje(e){this.a=e;}function Wje(e){this.a=e;}function Xje(e){this.a=e;}function Yje(e){this.a=e;}function fM(e){this.a=e;}function Jje(e){this.a=e;}function Qje(e){this.a=e;}function _y(e){this.a=e;}function uJ(e){this.a=e;}function Zje(e){this.a=e;}function eTe(e){this.a=e;}function nTe(e){this.a=e;}function tTe(e){this.a=e;}function iTe(e){this.a=e;}function rTe(e){this.a=e;}function sJ(e){this.a=e;}function fJ(e){this.a=e;}function lJ(e){this.a=e;}function O5(e){this.a=e;}function lM(e){this.e=e;}function Sy(e){this.a=e;}function cTe(e){this.a=e;}function bv(e){this.a=e;}function aJ(e){this.a=e;}function oTe(e){this.a=e;}function uTe(e){this.a=e;}function sTe(e){this.a=e;}function fTe(e){this.a=e;}function lTe(e){this.a=e;}function aTe(e){this.a=e;}function hTe(e){this.a=e;}function dTe(e){this.a=e;}function wTe(e){this.a=e;}function bTe(e){this.a=e;}function gTe(e){this.a=e;}function hJ(e){this.a=e;}function pTe(e){this.a=e;}function mTe(e){this.a=e;}function vTe(e){this.a=e;}function yTe(e){this.a=e;}function kTe(e){this.a=e;}function ETe(e){this.a=e;}function _Te(e){this.a=e;}function STe(e){this.a=e;}function jTe(e){this.a=e;}function TTe(e){this.a=e;}function MTe(e){this.a=e;}function xTe(e){this.a=e;}function CTe(e){this.a=e;}function ITe(e){this.a=e;}function PTe(e){this.a=e;}function NTe(e){this.a=e;}function OTe(e){this.a=e;}function ATe(e){this.a=e;}function $Te(e){this.a=e;}function LTe(e){this.a=e;}function DTe(e){this.a=e;}function RTe(e){this.a=e;}function BTe(e){this.a=e;}function FTe(e){this.a=e;}function KTe(e){this.a=e;}function HTe(e){this.a=e;}function qTe(e){this.a=e;}function UTe(e){this.a=e;}function GTe(e){this.a=e;}function zTe(e){this.a=e;}function VTe(e){this.a=e;}function WTe(e){this.a=e;}function XTe(e){this.a=e;}function YTe(e){this.a=e;}function JTe(e){this.a=e;}function QTe(e){this.a=e;}function ZTe(e){this.a=e;}function eMe(e){this.a=e;}function nMe(e){this.c=e;}function tMe(e){this.b=e;}function iMe(e){this.a=e;}function rMe(e){this.a=e;}function cMe(e){this.a=e;}function oMe(e){this.a=e;}function uMe(e){this.a=e;}function sMe(e){this.a=e;}function fMe(e){this.a=e;}function lMe(e){this.a=e;}function aMe(e){this.a=e;}function hMe(e){this.a=e;}function dMe(e){this.a=e;}function wMe(e){this.a=e;}function bMe(e){this.a=e;}function gMe(e){this.a=e;}function pMe(e){this.a=e;}function mMe(e){this.a=e;}function vMe(e){this.a=e;}function yMe(e){this.a=e;}function kMe(e){this.a=e;}function EMe(e){this.a=e;}function _Me(e){this.a=e;}function SMe(e){this.a=e;}function jMe(e){this.a=e;}function TMe(e){this.a=e;}function MMe(e){this.a=e;}function xMe(e){this.a=e;}function CMe(e){this.a=e;}function qh(e){this.a=e;}function d2(e){this.a=e;}function IMe(e){this.a=e;}function PMe(e){this.a=e;}function NMe(e){this.a=e;}function OMe(e){this.a=e;}function AMe(e){this.a=e;}function $Me(e){this.a=e;}function LMe(e){this.a=e;}function DMe(e){this.a=e;}function RMe(e){this.a=e;}function BMe(e){this.a=e;}function FMe(e){this.a=e;}function KMe(e){this.a=e;}function HMe(e){this.a=e;}function qMe(e){this.a=e;}function UMe(e){this.a=e;}function GMe(e){this.a=e;}function zMe(e){this.a=e;}function VMe(e){this.a=e;}function WMe(e){this.a=e;}function XMe(e){this.a=e;}function YMe(e){this.a=e;}function JMe(e){this.a=e;}function QMe(e){this.a=e;}function ZMe(e){this.a=e;}function exe(e){this.a=e;}function nxe(e){this.a=e;}function aM(e){this.a=e;}function txe(e){this.f=e;}function ixe(e){this.a=e;}function rxe(e){this.a=e;}function cxe(e){this.a=e;}function oxe(e){this.a=e;}function uxe(e){this.a=e;}function sxe(e){this.a=e;}function fxe(e){this.a=e;}function lxe(e){this.a=e;}function axe(e){this.a=e;}function hxe(e){this.a=e;}function dxe(e){this.a=e;}function wxe(e){this.a=e;}function bxe(e){this.a=e;}function gxe(e){this.a=e;}function pxe(e){this.a=e;}function mxe(e){this.a=e;}function vxe(e){this.a=e;}function yxe(e){this.a=e;}function kxe(e){this.a=e;}function Exe(e){this.a=e;}function _xe(e){this.a=e;}function Sxe(e){this.a=e;}function jxe(e){this.a=e;}function Txe(e){this.a=e;}function Mxe(e){this.a=e;}function xxe(e){this.a=e;}function Cxe(e){this.a=e;}function Ixe(e){this.a=e;}function wL(e){this.a=e;}function dJ(e){this.a=e;}function ki(e){this.b=e;}function Pxe(e){this.a=e;}function Nxe(e){this.a=e;}function Oxe(e){this.a=e;}function Axe(e){this.a=e;}function $xe(e){this.a=e;}function Lxe(e){this.a=e;}function Dxe(e){this.a=e;}function Rxe(e){this.b=e;}function Bxe(e){this.a=e;}function iE(e){this.a=e;}function Fxe(e){this.a=e;}function Kxe(e){this.a=e;}function wJ(e){this.c=e;}function hM(e){this.e=e;}function dM(e){this.a=e;}function wM(e){this.a=e;}function bL(e){this.a=e;}function Hxe(e){this.d=e;}function qxe(e){this.a=e;}function bJ(e){this.a=e;}function gJ(e){this.a=e;}function Bw(e){this.e=e;}function qvn(){this.a=0;}function lt(){cs(this);}function Te(){CD(this);}function gL(){TDe(this);}function Uxe(){}function Fw(){this.c=E2e;}function Gxe(e,n){e.b+=n;}function Uvn(e,n){n.Wb(e);}function Gvn(e){return e.a;}function zvn(e){return e.a;}function Vvn(e){return e.a;}function Wvn(e){return e.a;}function Xvn(e){return e.a;}function O(e){return e.e;}function Yvn(){return null;}function Jvn(){return null;}function Qvn(){nQ(),Pzn();}function Zvn(e){e.b.Of(e.e);}function zxe(e){e.b=new LL;}function A5(e,n){e.b=n-e.b;}function $5(e,n){e.a=n-e.a;}function yn(e,n){e.push(n);}function Vxe(e,n){e.sort(n);}function Wxe(e,n){n.jd(e.a);}function e3n(e,n){Tr(n,e);}function n3n(e,n,t){e.Yd(t,n);}function rE(e,n){e.e=n,n.b=e;}function pJ(e){Ra(),this.a=e;}function Xxe(e){Ra(),this.a=e;}function Yxe(e){Ra(),this.a=e;}function pL(e){sb(),this.a=e;}function Jxe(e){e4(),oG.le(e);}function mJ(){mJ=V,new lt;}function N0(){gAe.call(this);}function vJ(){gAe.call(this);}function yJ(){N0.call(this);}function mL(){N0.call(this);}function Qxe(){N0.call(this);}function cE(){N0.call(this);}function Ku(){N0.call(this);}function gv(){N0.call(this);}function It(){N0.call(this);}function sf(){N0.call(this);}function Zxe(){N0.call(this);}function ao(){N0.call(this);}function eCe(){N0.call(this);}function nCe(){this.a=this;}function bM(){this.Bb|=256;}function tCe(){this.b=new fOe;}function Sg(e,n){e.length=n;}function gM(e,n){xe(e.a,n);}function t3n(e,n){Gce(e.c,n);}function i3n(e,n){vr(e.b,n);}function r3n(e,n){BI(e.a,n);}function c3n(e,n){pF(e.a,n);}function jy(e,n){ai(e.e,n);}function pv(e){nP(e.c,e.b);}function o3n(e,n){e.kc().Nb(n);}function kJ(e){this.a=QCn(e);}function lr(){this.a=new lt;}function iCe(){this.a=new lt;}function EJ(){this.a=new EPe;}function pM(){this.a=new Te;}function vL(){this.a=new Te;}function _J(){this.a=new Te;}function Af(){this.a=new _3e;}function O0(){this.a=new QFe;}function SJ(){this.a=new mY;}function jJ(){this.a=new URe;}function TJ(){this.a=new t$e;}function rCe(){this.a=new Te;}function cCe(){this.a=new Te;}function oCe(){this.a=new Te;}function MJ(){this.a=new Te;}function uCe(){this.d=new Te;}function sCe(){this.a=new lBe;}function fCe(){this.a=new lr;}function lCe(){this.a=new lt;}function aCe(){this.b=new lt;}function hCe(){this.b=new Te;}function xJ(){this.e=new Te;}function dCe(){this.a=new pSe;}function wCe(){this.d=new Te;}function bCe(){bRe.call(this);}function gCe(){bRe.call(this);}function pCe(){Te.call(this);}function CJ(){yJ.call(this);}function IJ(){pM.call(this);}function mCe(){Ex.call(this);}function vCe(){MJ.call(this);}function L5(){Uxe.call(this);}function yL(){L5.call(this);}function mv(){Uxe.call(this);}function PJ(){mv.call(this);}function yCe(){$J.call(this);}function kCe(){$J.call(this);}function ECe(){$J.call(this);}function _Ce(){LJ.call(this);}function D5(){T9e.call(this);}function NJ(){T9e.call(this);}function Hu(){$i.call(this);}function SCe(){BCe.call(this);}function jCe(){BCe.call(this);}function TCe(){lt.call(this);}function MCe(){lt.call(this);}function xCe(){lt.call(this);}function kL(){_qe.call(this);}function CCe(){lr.call(this);}function ICe(){bM.call(this);}function EL(){bZ.call(this);}function OJ(){lt.call(this);}function _L(){bZ.call(this);}function SL(){lt.call(this);}function PCe(){lt.call(this);}function AJ(){rM.call(this);}function NCe(){AJ.call(this);}function OCe(){rM.call(this);}function ACe(){$Y.call(this);}function $J(){this.a=new lr;}function $Ce(){this.a=new lt;}function LCe(){this.a=new Te;}function LJ(){this.a=new lt;}function vv(){this.a=new $i;}function DCe(){this.j=new Te;}function RCe(){this.a=new LIe;}function BCe(){this.a=new L9e;}function DJ(){this.a=new p7e;}function R5(){R5=V,QU=new $;}function jL(){jL=V,ZU=new KCe;}function TL(){TL=V,eG=new FCe;}function FCe(){cL.call(this,"");}function KCe(){cL.call(this,"");}function HCe(e){zHe.call(this,e);}function qCe(e){zHe.call(this,e);}function RJ(e){FY.call(this,e);}function BJ(e){aPe.call(this,e);}function u3n(e){aPe.call(this,e);}function s3n(e){BJ.call(this,e);}function f3n(e){BJ.call(this,e);}function l3n(e){BJ.call(this,e);}function UCe(e){rB.call(this,e);}function GCe(e){rB.call(this,e);}function zCe(e){S$e.call(this,e);}function VCe(e){sQ.call(this,e);}function B5(e){xM.call(this,e);}function FJ(e){xM.call(this,e);}function WCe(e){xM.call(this,e);}function KJ(e){N$n.call(this,e);}function HJ(e){KJ.call(this,e);}function ho(e){GLe.call(this,e);}function XCe(e){ho.call(this,e);}function yv(){eE.call(this,{});}function YCe(){YCe=V,Prn=new ii;}function mM(){mM=V,iG=new zOe;}function JCe(){JCe=V,Rae=new C;}function qJ(){qJ=V,Bae=new gn;}function vM(){vM=V,d7=new ft;}function ML(e){Dy(),this.a=e;}function xL(e){gie(),this.a=e;}function Kw(e){hR(),this.f=e;}function CL(e){hR(),this.f=e;}function QCe(e){N$e(),this.a=e;}function ZCe(e){e.b=null,e.c=0;}function a3n(e,n){e.e=n,NYe(e,n);}function h3n(e,n){e.a=n,vLn(e);}function IL(e,n,t){e.a[n.g]=t;}function d3n(e,n,t){AOn(t,e,n);}function w3n(e,n){f5n(n.i,e.n);}function eIe(e,n){Oxn(e).Cd(n);}function b3n(e,n){e.a.ec().Mc(n);}function nIe(e,n){return e.g-n.g;}function g3n(e,n){return e*e/n;}function De(e){return $n(e),e;}function J(e){return $n(e),e;}function oE(e){return $n(e),e;}function p3n(e){return new oM(e);}function m3n(e){return new Rg(e);}function UJ(e){return $n(e),e;}function v3n(e){return $n(e),e;}function yM(e){ho.call(this,e);}function Kc(e){ho.call(this,e);}function tIe(e){ho.call(this,e);}function PL(e){GLe.call(this,e);}function Ty(e){ho.call(this,e);}function In(e){ho.call(this,e);}function Hc(e){ho.call(this,e);}function iIe(e){ho.call(this,e);}function kv(e){ho.call(this,e);}function S1(e){ho.call(this,e);}function j1(e){ho.call(this,e);}function Ev(e){ho.call(this,e);}function Na(e){ho.call(this,e);}function NL(e){ho.call(this,e);}function Lt(e){ho.call(this,e);}function is(e){$n(e),this.a=e;}function GJ(e){return Z0(e),e;}function F5(e){ine(e,e.length);}function K5(e){return e.b==e.c;}function jg(e){return!!e&&e.b;}function y3n(e){return!!e&&e.k;}function k3n(e){return!!e&&e.j;}function E3n(e,n,t){e.c.Ef(n,t);}function rIe(e,n){e.be(n),n.ae(e);}function _v(e){Ra(),this.a=xt(e);}function OL(){this.a=Nt(xt(gc));}function cIe(){throw O(new It);}function _3n(){throw O(new It);}function zJ(){throw O(new It);}function oIe(){throw O(new It);}function S3n(){throw O(new It);}function j3n(){throw O(new It);}function kM(){kM=V,e4();}function T1(){nE.call(this,"");}function H5(){nE.call(this,"");}function Ed(){nE.call(this,"");}function Sv(){nE.call(this,"");}function VJ(e){Kc.call(this,e);}function WJ(e){Kc.call(this,e);}function Oa(e){In.call(this,e);}function My(e){yy.call(this,e);}function uIe(e){My.call(this,e);}function AL(e){px.call(this,e);}function $L(e){MZ.call(this,e,0);}function LL(){Bne.call(this,12,3);}function L(e,n){return RRe(e,n);}function EM(e,n){return vB(e,n);}function T3n(e,n){return e.a-n.a;}function M3n(e,n){return e.a-n.a;}function x3n(e,n){return e.a-n.a;}function C3n(e,n){return n in e.a;}function sIe(e){return e.a?e.b:0;}function I3n(e){return e.a?e.b:0;}function P3n(e,n,t){n.Cd(e.a[t]);}function N3n(e,n,t){n.Pe(e.a[t]);}function O3n(e,n){e.b=new wc(n);}function A3n(e,n){return e.b=n,e;}function fIe(e,n){return e.c=n,e;}function lIe(e,n){return e.f=n,e;}function $3n(e,n){return e.g=n,e;}function XJ(e,n){return e.a=n,e;}function YJ(e,n){return e.f=n,e;}function L3n(e,n){return e.k=n,e;}function JJ(e,n){return e.a=n,e;}function D3n(e,n){return e.e=n,e;}function QJ(e,n){return e.e=n,e;}function R3n(e,n){return e.f=n,e;}function B3n(e,n){e.b=!0,e.d=n;}function F3n(e,n){return e.b-n.b;}function K3n(e,n){return e.g-n.g;}function H3n(e,n){return e?0:n-1;}function aIe(e,n){return e?0:n-1;}function q3n(e,n){return e?n-1:0;}function U3n(e,n){return e.s-n.s;}function G3n(e,n){return n.rg(e);}function Hw(e,n){return e.b=n,e;}function _M(e,n){return e.a=n,e;}function qw(e,n){return e.c=n,e;}function Uw(e,n){return e.d=n,e;}function Gw(e,n){return e.e=n,e;}function ZJ(e,n){return e.f=n,e;}function q5(e,n){return e.a=n,e;}function xy(e,n){return e.b=n,e;}function Cy(e,n){return e.c=n,e;}function qe(e,n){return e.c=n,e;}function sn(e,n){return e.b=n,e;}function Ue(e,n){return e.d=n,e;}function Ge(e,n){return e.e=n,e;}function z3n(e,n){return e.f=n,e;}function ze(e,n){return e.g=n,e;}function Ve(e,n){return e.a=n,e;}function We(e,n){return e.i=n,e;}function Xe(e,n){return e.j=n,e;}function V3n(e,n){Gd(),bo(n,e);}function W3n(e,n,t){l7n(e.a,n,t);}function SM(e){VD.call(this,e);}function hIe(e){dIn.call(this,e);}function dIe(e){zDe.call(this,e);}function eQ(e){zDe.call(this,e);}function _d(e){mb.call(this,e);}function wIe(e){LR.call(this,e);}function bIe(e){LR.call(this,e);}function gIe(){fZ.call(this,"");}function Hr(){this.a=0,this.b=0;}function pIe(){this.b=0,this.a=0;}function mIe(e,n){e.b=0,Wg(e,n);}function vIe(e,n){return e.k=n,e;}function X3n(e,n){return e.j=n,e;}function Y3n(e,n){e.c=n,e.b=!0;}function yIe(){yIe=V,Urn=uAn();}function Sd(){Sd=V,Ddn=mOn();}function kIe(){kIe=V,Lr=IAn();}function nQ(){nQ=V,p0=b4();}function Iy(){Iy=V,k2e=vOn();}function EIe(){EIe=V,k0n=yOn();}function tQ(){tQ=V,Ao=gLn();}function Nl(e){return e.e&&e.e();}function _Ie(e){return e.l|e.m<<22;}function SIe(e,n){return e.c._b(n);}function jIe(e,n){return EGe(e.b,n);}function DL(e){return e?e.d:null;}function J3n(e){return e?e.g:null;}function Q3n(e){return e?e.i:null;}function A0(e){return zh(e),e.o;}function w2(e,n){return e.a+=n,e;}function RL(e,n){return e.a+=n,e;}function M1(e,n){return e.a+=n,e;}function zw(e,n){return e.a+=n,e;}function iQ(e,n){for(;e.Bd(n);){;}}function jM(e){this.a=new jv(e);}function TIe(){throw O(new It);}function MIe(){throw O(new It);}function xIe(){throw O(new It);}function CIe(){throw O(new It);}function IIe(){throw O(new It);}function PIe(){throw O(new It);}function x1(e){this.a=new bR(e);}function NIe(){this.a=new Sk(gbe);}function OIe(){this.b=new Sk($we);}function AIe(){this.a=new Sk(Fbe);}function $Ie(){this.b=new Sk(XV);}function LIe(){this.b=new Sk(XV);}function TM(e){this.a=0,this.b=e;}function rQ(e){lZe(),Uzn(this,e);}function Py(e){return Nd(e),e.a;}function uE(e){return e.b!=e.d.c;}function cQ(e,n){return e.d[n.p];}function DIe(e,n){return uFn(e,n);}function oQ(e,n,t){e.splice(n,t);}function b2(e,n){for(;e.Re(n);){;}}function RIe(e){e.c?YYe(e):JYe(e);}function BIe(){throw O(new It);}function FIe(){throw O(new It);}function KIe(){throw O(new It);}function HIe(){throw O(new It);}function qIe(){throw O(new It);}function UIe(){throw O(new It);}function GIe(){throw O(new It);}function zIe(){throw O(new It);}function VIe(){throw O(new It);}function WIe(){throw O(new It);}function Z3n(){throw O(new ao);}function eyn(){throw O(new ao);}function sE(e){this.a=new XIe(e);}function XIe(e){rMn(this,e,L$n());}function fE(e){return!e||jDe(e);}function lE(e){return Ca[e]!=-1;}function nyn(){RN!=0&&(RN=0),BN=-1;}function YIe(){JU==null&&(JU=[]);}function aE(e,n){C2.call(this,e,n);}function Ny(e,n){aE.call(this,e,n);}function JIe(e,n){this.a=e,this.b=n;}function QIe(e,n){this.a=e,this.b=n;}function ZIe(e,n){this.a=e,this.b=n;}function ePe(e,n){this.a=e,this.b=n;}function nPe(e,n){this.a=e,this.b=n;}function tPe(e,n){this.a=e,this.b=n;}function iPe(e,n){this.a=e,this.b=n;}function Oy(e,n){this.e=e,this.d=n;}function uQ(e,n){this.b=e,this.c=n;}function rPe(e,n){this.b=e,this.a=n;}function cPe(e,n){this.b=e,this.a=n;}function oPe(e,n){this.b=e,this.a=n;}function uPe(e,n){this.b=e,this.a=n;}function sPe(e,n){this.a=e,this.b=n;}function BL(e,n){this.a=e,this.b=n;}function fPe(e,n){this.a=e,this.f=n;}function Vw(e,n){this.g=e,this.i=n;}function yt(e,n){this.f=e,this.g=n;}function lPe(e,n){this.b=e,this.c=n;}function aPe(e){pZ(e.dc()),this.c=e;}function tyn(e,n){this.a=e,this.b=n;}function hPe(e,n){this.a=e,this.b=n;}function dPe(e){this.a=o(xt(e),15);}function sQ(e){this.a=o(xt(e),15);}function wPe(e){this.a=o(xt(e),85);}function MM(e){this.b=o(xt(e),85);}function xM(e){this.b=o(xt(e),51);}function CM(){this.q=new p.Date;}function FL(e,n){this.a=e,this.b=n;}function bPe(e,n){return pu(e.b,n);}function hE(e,n){return e.b.Hc(n);}function gPe(e,n){return e.b.Ic(n);}function pPe(e,n){return e.b.Qc(n);}function mPe(e,n){return e.b.Hc(n);}function vPe(e,n){return e.c.uc(n);}function yPe(e,n){return hi(e.c,n);}function Ol(e,n){return e.a._b(n);}function kPe(e,n){return e>n&&n0;}function zL(e,n){return Lo(e,n)<0;}function DPe(e,n){return sR(e.a,n);}function kyn(e,n){BRe.call(this,e,n);}function bQ(e){MR(),S$e.call(this,e);}function gQ(e,n){NLe(e,e.length,n);}function gE(e,n){oDe(e,e.length,n);}function J5(e,n){return e.a.get(n);}function RPe(e,n){return pu(e.e,n);}function pQ(e){return $n(e),!1;}function mQ(e){this.a=o(xt(e),229);}function RM(e){ln.call(this,e,21);}function BM(e,n){yt.call(this,e,n);}function VL(e,n){yt.call(this,e,n);}function BPe(e,n){this.b=e,this.a=n;}function FM(e,n){this.d=e,this.e=n;}function FPe(e,n){this.a=e,this.b=n;}function KPe(e,n){this.a=e,this.b=n;}function HPe(e,n){this.a=e,this.b=n;}function qPe(e,n){this.a=e,this.b=n;}function Mv(e,n){this.a=e,this.b=n;}function UPe(e,n){this.b=e,this.a=n;}function vQ(e,n){this.b=e,this.a=n;}function yQ(e,n){yt.call(this,e,n);}function kQ(e,n){yt.call(this,e,n);}function g2(e,n){yt.call(this,e,n);}function WL(e,n){yt.call(this,e,n);}function XL(e,n){yt.call(this,e,n);}function YL(e,n){yt.call(this,e,n);}function KM(e,n){yt.call(this,e,n);}function EQ(e,n){this.b=e,this.a=n;}function HM(e,n){yt.call(this,e,n);}function _Q(e,n){this.b=e,this.a=n;}function qM(e,n){yt.call(this,e,n);}function GPe(e,n){this.b=e,this.a=n;}function SQ(e,n){yt.call(this,e,n);}function JL(e,n){yt.call(this,e,n);}function pE(e,n){yt.call(this,e,n);}function Q5(e,n,t){e.splice(n,0,t);}function Eyn(e,n,t){e.Mb(t)&&n.Cd(t);}function _yn(e,n,t){n.Pe(e.a.Ye(t));}function Syn(e,n,t){n.Dd(e.a.Ze(t));}function jyn(e,n,t){n.Cd(e.a.Kb(t));}function Tyn(e,n){return Uu(e.c,n);}function Myn(e,n){return Uu(e.e,n);}function UM(e,n){yt.call(this,e,n);}function GM(e,n){yt.call(this,e,n);}function Z5(e,n){yt.call(this,e,n);}function jQ(e,n){yt.call(this,e,n);}function ar(e,n){yt.call(this,e,n);}function zM(e,n){yt.call(this,e,n);}function zPe(e,n){this.a=e,this.b=n;}function VPe(e,n){this.a=e,this.b=n;}function WPe(e,n){this.a=e,this.b=n;}function XPe(e,n){this.a=e,this.b=n;}function YPe(e,n){this.a=e,this.b=n;}function JPe(e,n){this.a=e,this.b=n;}function QPe(e,n){this.b=e,this.a=n;}function ZPe(e,n){this.b=e,this.a=n;}function TQ(e,n){this.b=e,this.a=n;}function Ly(e,n){this.c=e,this.d=n;}function eNe(e,n){this.e=e,this.d=n;}function nNe(e,n){this.a=e,this.b=n;}function tNe(e,n){this.a=e,this.b=n;}function iNe(e,n){this.a=e,this.b=n;}function rNe(e,n){this.b=e,this.a=n;}function cNe(e,n){this.b=n,this.c=e;}function VM(e,n){yt.call(this,e,n);}function mE(e,n){yt.call(this,e,n);}function QL(e,n){yt.call(this,e,n);}function MQ(e,n){yt.call(this,e,n);}function e8(e,n){yt.call(this,e,n);}function ZL(e,n){yt.call(this,e,n);}function eD(e,n){yt.call(this,e,n);}function vE(e,n){yt.call(this,e,n);}function xQ(e,n){yt.call(this,e,n);}function nD(e,n){yt.call(this,e,n);}function n8(e,n){yt.call(this,e,n);}function CQ(e,n){yt.call(this,e,n);}function t8(e,n){yt.call(this,e,n);}function i8(e,n){yt.call(this,e,n);}function Mg(e,n){yt.call(this,e,n);}function tD(e,n){yt.call(this,e,n);}function iD(e,n){yt.call(this,e,n);}function IQ(e,n){yt.call(this,e,n);}function yE(e,n){yt.call(this,e,n);}function p2(e,n){yt.call(this,e,n);}function rD(e,n){yt.call(this,e,n);}function WM(e,n){yt.call(this,e,n);}function kE(e,n){yt.call(this,e,n);}function xg(e,n){yt.call(this,e,n);}function XM(e,n){yt.call(this,e,n);}function PQ(e,n){yt.call(this,e,n);}function cD(e,n){yt.call(this,e,n);}function oD(e,n){yt.call(this,e,n);}function uD(e,n){yt.call(this,e,n);}function sD(e,n){yt.call(this,e,n);}function fD(e,n){yt.call(this,e,n);}function lD(e,n){yt.call(this,e,n);}function aD(e,n){yt.call(this,e,n);}function oNe(e,n){this.b=e,this.a=n;}function NQ(e,n){yt.call(this,e,n);}function uNe(e,n){this.a=e,this.b=n;}function sNe(e,n){this.a=e,this.b=n;}function fNe(e,n){this.a=e,this.b=n;}function OQ(e,n){yt.call(this,e,n);}function AQ(e,n){yt.call(this,e,n);}function lNe(e,n){this.a=e,this.b=n;}function xyn(e,n){return qy(),n!=e;}function EE(e){return Zn(e.a),e.b;}function hD(e){return $Dn(e,e.c),e;}function aNe(){return yIe(),new Urn;}function hNe(){Mx(),this.a=new JZ;}function dNe(){lP(),this.a=new lr;}function wNe(){zR(),this.b=new lr;}function bNe(e,n){this.b=e,this.d=n;}function gNe(e,n){this.a=e,this.b=n;}function pNe(e,n){this.a=e,this.b=n;}function mNe(e,n){this.a=e,this.b=n;}function vNe(e,n){this.b=e,this.a=n;}function $Q(e,n){yt.call(this,e,n);}function LQ(e,n){yt.call(this,e,n);}function YM(e,n){yt.call(this,e,n);}function Yw(e,n){yt.call(this,e,n);}function dD(e,n){yt.call(this,e,n);}function JM(e,n){yt.call(this,e,n);}function DQ(e,n){yt.call(this,e,n);}function RQ(e,n){yt.call(this,e,n);}function _E(e,n){yt.call(this,e,n);}function BQ(e,n){yt.call(this,e,n);}function wD(e,n){yt.call(this,e,n);}function QM(e,n){yt.call(this,e,n);}function bD(e,n){yt.call(this,e,n);}function gD(e,n){yt.call(this,e,n);}function pD(e,n){yt.call(this,e,n);}function mD(e,n){yt.call(this,e,n);}function FQ(e,n){yt.call(this,e,n);}function vD(e,n){yt.call(this,e,n);}function KQ(e,n){yt.call(this,e,n);}function SE(e,n){yt.call(this,e,n);}function yD(e,n){yt.call(this,e,n);}function HQ(e,n){yt.call(this,e,n);}function jE(e,n){yt.call(this,e,n);}function qQ(e,n){yt.call(this,e,n);}function yNe(e,n){this.b=e,this.a=n;}function kNe(e,n){this.b=e,this.a=n;}function ENe(e,n){this.b=e,this.a=n;}function _Ne(e,n){this.b=e,this.a=n;}function UQ(e,n){this.a=e,this.b=n;}function SNe(e,n){this.a=e,this.b=n;}function jNe(e,n){this.a=e,this.b=n;}function ve(e,n){this.a=e,this.b=n;}function r8(e,n){yt.call(this,e,n);}function TE(e,n){yt.call(this,e,n);}function xv(e,n){yt.call(this,e,n);}function c8(e,n){yt.call(this,e,n);}function ME(e,n){yt.call(this,e,n);}function kD(e,n){yt.call(this,e,n);}function ZM(e,n){yt.call(this,e,n);}function o8(e,n){yt.call(this,e,n);}function ED(e,n){yt.call(this,e,n);}function ex(e,n){yt.call(this,e,n);}function m2(e,n){yt.call(this,e,n);}function xE(e,n){yt.call(this,e,n);}function u8(e,n){yt.call(this,e,n);}function s8(e,n){yt.call(this,e,n);}function CE(e,n){yt.call(this,e,n);}function nx(e,n){yt.call(this,e,n);}function v2(e,n){yt.call(this,e,n);}function _D(e,n){yt.call(this,e,n);}function TNe(e,n){yt.call(this,e,n);}function tx(e,n){yt.call(this,e,n);}function MNe(e,n){this.a=e,this.b=n;}function xNe(e,n){this.a=e,this.b=n;}function CNe(e,n){this.a=e,this.b=n;}function INe(e,n){this.a=e,this.b=n;}function PNe(e,n){this.a=e,this.b=n;}function NNe(e,n){this.a=e,this.b=n;}function Sr(e,n){this.a=e,this.b=n;}function ONe(e,n){this.a=e,this.b=n;}function ANe(e,n){this.a=e,this.b=n;}function $Ne(e,n){this.a=e,this.b=n;}function LNe(e,n){this.a=e,this.b=n;}function DNe(e,n){this.a=e,this.b=n;}function RNe(e,n){this.a=e,this.b=n;}function BNe(e,n){this.b=e,this.a=n;}function FNe(e,n){this.b=e,this.a=n;}function KNe(e,n){this.b=e,this.a=n;}function HNe(e,n){this.b=e,this.a=n;}function qNe(e,n){this.a=e,this.b=n;}function UNe(e,n){this.a=e,this.b=n;}function ix(e,n){yt.call(this,e,n);}function GNe(e,n){this.a=e,this.b=n;}function zNe(e,n){this.a=e,this.b=n;}function Cv(e,n){yt.call(this,e,n);}function VNe(e,n){this.f=e,this.c=n;}function GQ(e,n){return Uu(e.g,n);}function Cyn(e,n){return Uu(n.b,e);}function WNe(e,n){return MF(e.a,n);}function Iyn(e,n){return-e.b.af(n);}function Pyn(e,n){e&&Jt(mT,e,n);}function zQ(e,n){e.i=null,ZC(e,n);}function Nyn(e,n,t){BVe(n,vK(e,t));}function Oyn(e,n,t){BVe(n,vK(e,t));}function Ayn(e,n){sBn(e.a,o(n,58));}function XNe(e,n){rTn(e.a,o(n,12));}function rx(e,n){this.a=e,this.b=n;}function YNe(e,n){this.a=e,this.b=n;}function JNe(e,n){this.a=e,this.b=n;}function QNe(e,n){this.a=e,this.b=n;}function ZNe(e,n){this.a=e,this.b=n;}function eOe(e,n){this.d=e,this.b=n;}function nOe(e,n){this.e=e,this.a=n;}function IE(e,n){this.b=e,this.c=n;}function VQ(e,n){this.i=e,this.g=n;}function WQ(e,n){this.d=e,this.e=n;}function $yn(e,n){vTn(new Hn(e),n);}function cx(e){return V_(e.c,e.b);}function Jc(e){return e?e.md():null;}function Z(e){return e??null;}function Dr(e){return typeof e===hH;}function Cg(e){return typeof e===g3;}function Ig(e){return typeof e===Uue;}function Jw(e,n){return Lo(e,n)==0;}function ox(e,n){return Lo(e,n)>=0;}function f8(e,n){return Lo(e,n)!=0;}function ux(e,n){return LMn(e.Kc(),n);}function Md(e,n){return e.Rd().Xb(n);}function tOe(e){return vs(e),e.d.gc();}function sx(e){return k8(e==null),e;}function l8(e,n){return e.a+=""+n,e;}function Lc(e,n){return e.a+=""+n,e;}function a8(e,n){return e.a+=""+n,e;}function Vo(e,n){return e.a+=""+n,e;}function qt(e,n){return e.a+=""+n,e;}function XQ(e,n){return e.a+=""+n,e;}function Lyn(e){return""+($n(e),e);}function iOe(e){cs(this),V8(this,e);}function rOe(){Rne(),Uee.call(this);}function cOe(e,n){Xee.call(this,e,n);}function oOe(e,n){Xee.call(this,e,n);}function fx(e,n){Xee.call(this,e,n);}function dc(e,n){Ji(e,n,e.c.b,e.c);}function y2(e,n){Ji(e,n,e.a,e.a.a);}function YQ(e){return wn(e,0),null;}function uOe(){this.b=0,this.a=!1;}function sOe(){this.b=0,this.a=!1;}function fOe(){this.b=new jv(zg(12));}function lOe(){lOe=V,Rcn=Et(AF());}function aOe(){aOe=V,oun=Et(kYe());}function hOe(){hOe=V,Can=Et(eUe());}function JQ(){JQ=V,mJ(),Fae=new lt;}function Al(e){return e.a=0,e.b=0,e;}function dOe(e,n){return e.a=n.g+1,e;}function SD(e,n){$g.call(this,e,n);}function tn(e,n){Gi.call(this,e,n);}function k2(e,n){VQ.call(this,e,n);}function wOe(e,n){AE.call(this,e,n);}function jD(e,n){k4.call(this,e,n);}function Xt(e,n){LM(),Jt(e$,e,n);}function bOe(e,n){e.q.setTime(G0(n));}function Dyn(e){p.clearTimeout(e);}function Ryn(e){return xt(e),new h8(e);}function gOe(e,n){return Z(e)===Z(n);}function pOe(e,n){return e.a.a.a.cc(n);}function TD(e,n){return df(e.a,0,n);}function QQ(e){return K7n(o(e,74));}function Iv(e){return jr(($n(e),e));}function Byn(e){return jr(($n(e),e));}function mOe(e){return gu(e.l,e.m,e.h);}function ZQ(e,n){return $o(e.a,n.a);}function Fyn(e,n){return rDe(e.a,n.a);}function Kyn(e,n){return Si(e.a,n.a);}function Aa(e,n){return e.indexOf(n);}function Hyn(e,n){return e.j[n.p]==2;}function Qw(e,n){return e==n?0:e?1:-1;}function lx(e){return e<10?"0"+e:""+e;}function co(e){return typeof e===Uue;}function qyn(e){return e==Wb||e==jp;}function Uyn(e){return e==Wb||e==Sp;}function vOe(e,n){return $o(e.g,n.g);}function eZ(e){return eo(e.b.b,e,0);}function yOe(){Dx.call(this,0,0,0,0);}function $a(){nJ.call(this,new $1);}function nZ(e,n){o4(e,0,e.length,n);}function Gyn(e,n){return xe(e.a,n),n;}function zyn(e,n){return sl(),n.a+=e;}function Vyn(e,n){return sl(),n.a+=e;}function Wyn(e,n){return sl(),n.c+=e;}function Xyn(e,n){return xe(e.c,n),e;}function tZ(e,n){return Ws(e.a,n),e;}function kOe(e){this.a=aNe(),this.b=e;}function EOe(e){this.a=aNe(),this.b=e;}function wc(e){this.a=e.a,this.b=e.b;}function h8(e){this.a=e,iL.call(this);}function _Oe(e){this.a=e,iL.call(this);}function Pv(){hf.call(this,0,0,0,0);}function ax(e){return Ws(new dr,e);}function SOe(e){return nC(o(e,123));}function Ns(e){return e.vh()&&e.wh();}function E2(e){return e!=Ta&&e!=w0;}function Gh(e){return e==Xc||e==ro;}function _2(e){return e==If||e==Sa;}function jOe(e){return e==Om||e==Nm;}function Yyn(e,n){return $o(e.g,n.g);}function TOe(e,n){return new k4(n,e);}function Jyn(e,n){return new k4(n,e);}function iZ(e){return mkn(e.b.Kc(),e.a);}function MD(e,n){C4(e,n),w4(e,e.D);}function xD(e,n,t){GC(e,n),UC(e,t);}function S2(e,n,t){yb(e,n),vb(e,t);}function ff(e,n,t){vu(e,n),yu(e,t);}function PE(e,n,t){l4(e,n),h4(e,t);}function NE(e,n,t){a4(e,n),d4(e,t);}function MOe(e,n,t){BZ.call(this,e,n,t);}function rZ(e){VNe.call(this,e,!0);}function xOe(){BM.call(this,"Tail",3);}function COe(){BM.call(this,"Head",1);}function xd(e){Ga(),NMn.call(this,e);}function Zw(e){Dx.call(this,e,e,e,e);}function CD(e){e.c=ce(Ir,vn,1,0,5,1);}function cZ(e){return e.b&&WK(e),e.a;}function oZ(e){return e.b&&WK(e),e.c;}function Qyn(e,n){va||(e.b=n);}function Zyn(e,n){return e[e.length]=n;}function e4n(e,n){return e[e.length]=n;}function n4n(e,n){return Vg(n,ia(e));}function t4n(e,n){return Vg(n,ia(e));}function i4n(e,n){return YC(jR(e.d),n);}function r4n(e,n){return YC(jR(e.g),n);}function c4n(e,n){return YC(jR(e.j),n);}function qr(e,n){Gi.call(this,e.b,n);}function o4n(e,n){pt(Ho(e.a),YRe(n));}function u4n(e,n){pt(ms(e.a),JRe(n));}function s4n(e,n,t){ff(t,t.i+e,t.j+n);}function IOe(e,n,t){Yi(e.c[n.g],n.g,t);}function f4n(e,n,t){o(e.c,71).Gi(n,t);}function ID(e,n,t){return Yi(e,n,t),t;}function POe(e){mu(e.Sf(),new Yje(e));}function j2(e){return e!=null?xi(e):0;}function l4n(e){return e==null?0:xi(e);}function d8(e){si(),Bw.call(this,e);}function NOe(e){this.a=e,yee.call(this,e);}function na(){na=V,p.Math.log(2);}function lf(){lf=V,Rh=($Pe(),qdn);}function OOe(){OOe=V,lV=new ok(SW);}function Pt(){Pt=V,new AOe,new Te;}function AOe(){new lt,new lt,new lt;}function a4n(){throw O(new S1(brn));}function h4n(){throw O(new S1(brn));}function d4n(){throw O(new S1(grn));}function w4n(){throw O(new S1(grn));}function PD(e){this.a=e,MM.call(this,e);}function ND(e){this.a=e,MM.call(this,e);}function $Oe(e,n){sb(),this.a=e,this.b=n;}function b4n(e,n){xt(n),P2(e).Jc(new oe);}function sr(e,n){fR(e.c,e.c.length,n);}function wo(e){return e.an?1:0;}function sZ(e,n){return Lo(e,n)>0?e:n;}function gu(e,n,t){return{l:e,m:n,h:t};}function g4n(e,n){e.a!=null&&XNe(n,e.a);}function p4n(e){fc(e,null),Fr(e,null);}function m4n(e,n,t){return Jt(e.g,t,n);}function T2(e,n,t){return Pre(n,t,e.c);}function v4n(e,n,t){return Jt(e.k,t,n);}function y4n(e,n,t){return cGn(e,n,t),t;}function k4n(e,n){return qs(),n.n.b+=e;}function DOe(e){Pne.call(this),this.b=e;}function fZ(e){YZ.call(this),this.a=e;}function ROe(){BM.call(this,"Range",2);}function hx(e){this.b=e,this.a=new Te;}function BOe(e){this.b=new Z3e,this.a=e;}function FOe(e){e.a=new Ai,e.c=new Ai;}function KOe(e){e.a=new lt,e.d=new lt;}function HOe(e){VR(e,null),WR(e,null);}function qOe(e,n){return uGn(e.a,n,null);}function E4n(e,n){return Jt(e.a,n.a,n);}function Wr(e){return new ve(e.a,e.b);}function lZ(e){return new ve(e.c,e.d);}function _4n(e){return new ve(e.c,e.d);}function w8(e,n){return vUn(e.c,e.b,n);}function U(e,n){return e!=null&&RF(e,n);}function OD(e,n){return hxn(e.Kc(),n)!=-1;}function dx(e){return e.Ob()?e.Pb():null;}function S4n(e){this.b=(dn(),new dL(e));}function aZ(e){this.a=e,lt.call(this);}function UOe(){AE.call(this,null,null);}function GOe(){yx.call(this,null,null);}function zOe(){yt.call(this,"INSTANCE",0);}function VOe(){lce(),this.a=new Sk(u1e);}function WOe(e){return Ha(e,0,e.length);}function j4n(e,n){return new hAe(e.Kc(),n);}function hZ(e,n){return e.a.Bc(n)!=null;}function XOe(e,n){bt(e),e.Gc(o(n,15));}function T4n(e,n,t){e.c.bd(n,o(t,136));}function M4n(e,n,t){e.c.Ui(n,o(t,136));}function YOe(e,n){e.c&&(Oee(n),ERe(n));}function x4n(e,n){e.q.setHours(n),Ck(e,n);}function C4n(e,n){tb(n,e.a.a.a,e.a.a.b);}function I4n(e,n,t,i){Yi(e.a[n.g],t.g,i);}function AD(e,n,t){return e.a[n.g][t.g];}function P4n(e,n){return e.e[n.c.p][n.p];}function N4n(e,n){return e.c[n.c.p][n.p];}function ta(e,n){return e.a[n.c.p][n.p];}function O4n(e,n){return e.j[n.p]=URn(n);}function $D(e,n){return e.a.Bc(n)!=null;}function A4n(e,n){return J(re(n.a))<=e;}function $4n(e,n){return J(re(n.a))>=e;}function L4n(e,n){return gte(e.f,n.Pg());}function Nv(e,n){return e.a*n.a+e.b*n.b;}function D4n(e,n){return e.a0?n/(e*e):n*100;}function s6n(e,n){return e>0?n*n/e:n*n*100;}function Pg(e,n){return o(fa(e.a,n),34);}function f6n(e,n){return Gd(),fn(e,n.e,n);}function l6n(e,n,t){return OM(),t.Mg(e,n);}function a6n(e){return n1(),e.e.a+e.f.a/2;}function h6n(e,n,t){return n1(),t.e.a-e*n;}function d6n(e){return n1(),e.e.b+e.f.b/2;}function w6n(e,n,t){return n1(),t.e.b-e*n;}function TAe(e){e.d=new _Ae(e),e.e=new lt;}function MAe(){this.a=new wb,this.b=new wb;}function xAe(e){this.c=e,this.a=1,this.b=1;}function CAe(e){lH(),zxe(this),this.Ff(e);}function b6n(e,n,t){PC(),e.pf(n)&&t.Cd(e);}function g6n(e,n,t){return xe(n,FGe(e,t));}function tb(e,n,t){return e.a+=n,e.b+=t,e;}function p6n(e,n,t){return e.a*=n,e.b*=t,e;}function IZ(e,n){return e.a=n.a,e.b=n.b,e;}function kx(e){return e.a=-e.a,e.b=-e.b,e;}function m8(e,n,t){return e.a-=n,e.b-=t,e;}function IAe(e){$i.call(this),q8(this,e);}function PAe(){yt.call(this,"GROW_TREE",0);}function NAe(){yt.call(this,"POLYOMINO",0);}function As(e,n,t){Vu.call(this,e,n,t,2);}function m6n(e,n,t){rk(Ho(e.a),n,YRe(t));}function OAe(e,n){Y5(),AE.call(this,e,n);}function PZ(e,n){C1(),yx.call(this,e,n);}function AAe(e,n){C1(),PZ.call(this,e,n);}function $Ae(e,n){C1(),yx.call(this,e,n);}function v6n(e,n){return e.c.Fc(o(n,136));}function y6n(e,n,t){rk(ms(e.a),n,JRe(t));}function LAe(e){this.c=e,vu(e,0),yu(e,0);}function KD(e,n){lf(),Fx.call(this,e,n);}function DAe(e,n){lf(),KD.call(this,e,n);}function NZ(e,n){lf(),KD.call(this,e,n);}function OZ(e,n){lf(),Fx.call(this,e,n);}function RAe(e,n){lf(),NZ.call(this,e,n);}function BAe(e,n){lf(),OZ.call(this,e,n);}function FAe(e,n){lf(),Fx.call(this,e,n);}function k6n(e,n,t){return n.zl(e.e,e.c,t);}function E6n(e,n,t){return n.Al(e.e,e.c,t);}function AZ(e,n,t){return EP(y_(e,n),t);}function HD(e,n){return Fd(e.e,o(n,54));}function _6n(e){return e==null?null:WGn(e);}function S6n(e){return e==null?null:K$n(e);}function j6n(e){return e==null?null:uo(e);}function T6n(e){return e==null?null:uo(e);}function Le(e){return k8(e==null||Cg(e)),e;}function re(e){return k8(e==null||Ig(e)),e;}function Nt(e){return k8(e==null||Dr(e)),e;}function zh(e){e.o==null&&vRn(e);}function $Z(e){if(!e){throw O(new cE);}}function M6n(e){if(!e){throw O(new mL);}}function Zn(e){if(!e){throw O(new ao);}}function Ng(e){if(!e){throw O(new Ku);}}function KAe(e){if(!e){throw O(new sf);}}function Ky(){Ky=V,yT=new SCe,new jCe;}function I2(){I2=V,Lm=new ki("root");}function LZ(){_qe.call(this),this.Bb|=kc;}function x6n(e,n){this.d=e,_je(this),this.b=n;}function DZ(e,n){bB.call(this,e),this.a=n;}function RZ(e,n){bB.call(this,e),this.a=n;}function BZ(e,n,t){MC.call(this,e,n,t,null);}function HAe(e,n,t){MC.call(this,e,n,t,null);}function DE(e,n){this.c=e,Oy.call(this,e,n);}function v8(e,n){this.a=e,DE.call(this,e,n);}function FZ(e){this.q=new p.Date(G0(e));}function qAe(e){return e>8?0:e+1;}function UAe(e,n){va||xe(e.a,n);}function C6n(e,n){return bE(),y4(n.d.i,e);}function I6n(e,n){return n3(),new yJe(n,e);}function P6n(e,n,t){return e.Ne(n,t)<=0?t:n;}function N6n(e,n,t){return e.Ne(n,t)<=0?n:t;}function O6n(e,n){return o(fa(e.b,n),143);}function A6n(e,n){return o(fa(e.c,n),233);}function qD(e){return o(Re(e.a,e.b),294);}function GAe(e){return new ve(e.c,e.d+e.a);}function zAe(e){return $n(e),e?1231:1237;}function VAe(e){return qs(),jOe(o(e,203));}function Og(){Og=V,$he=Qe((Rs(),Ow));}function $6n(e,n){n.a?BDn(e,n):$D(e.a,n.b);}function RE(e,n,t){++e.j,e.tj(),wB(e,n,t);}function WAe(e,n,t){++e.j,e.qj(n,e.Zi(n,t));}function XAe(e,n,t){var i;i=e.fd(n),i.Rb(t);}function KZ(e,n,t){return t=Js(e,n,6,t),t;}function HZ(e,n,t){return t=Js(e,n,3,t),t;}function qZ(e,n,t){return t=Js(e,n,9,t),t;}function Da(e,n){return n_(n,dse),e.f=n,e;}function UZ(e,n){return(n&fi)%e.d.length;}function YAe(e,n,t){return _ue(e.c,e.b,n,t);}function JAe(e,n){this.c=e,mb.call(this,n);}function QAe(e,n){this.a=e,Rxe.call(this,n);}function BE(e,n){this.a=e,Rxe.call(this,n);}function Gi(e,n){ki.call(this,e),this.a=n;}function GZ(e,n){wJ.call(this,e),this.a=n;}function UD(e,n){wJ.call(this,e),this.a=n;}function L6n(e){jre.call(this,0,0),this.f=e;}function ZAe(e,n,t){return e.a+=Ha(n,0,t),e;}function FE(e){return!e.a&&(e.a=new Ct),e.a;}function zZ(e,n){var t;return t=e.e,e.e=n,t;}function VZ(e,n){var t;return t=n,!!e.Fe(t);}function D6n(e,n){return jn(),e==n?0:e?1:-1;}function Ag(e,n){e.a.bd(e.b,n),++e.b,e.c=-1;}function KE(e){e.b?KE(e.b):e.f.c.zc(e.e,e.d);}function e$e(e){cs(e.e),e.d.b=e.d,e.d.a=e.d;}function R6n(e,n,t){$0(),yje(e,n.Ve(e.a,t));}function WZ(e,n,t){return Hv(e,o(n,22),t);}function ul(e,n){return EM(new Array(n),e);}function B6n(e){return Mt(Id(e,32))^Mt(e);}function GD(e){return String.fromCharCode(e);}function F6n(e){return e==null?null:e.message;}function K6n(e,n,t){return e.apply(n,t);}function H6n(e,n){var t;t=e[UH],t.call(e,n);}function q6n(e,n){var t;t=e[UH],t.call(e,n);}function U6n(e,n){return bE(),!y4(n.d.i,e);}function XZ(e,n,t,i){Dx.call(this,e,n,t,i);}function n$e(){Ex.call(this),this.a=new Hr;}function YZ(){this.n=new Hr,this.o=new Hr;}function t$e(){this.b=new Hr,this.c=new Te;}function i$e(){this.a=new Te,this.b=new Te;}function r$e(){this.a=new mY,this.b=new tCe;}function JZ(){this.b=new $1,this.a=new $1;}function c$e(){this.b=new lr,this.a=new lr;}function o$e(){this.b=new lt,this.a=new lt;}function u$e(){this.b=new OIe,this.a=new oke;}function s$e(){this.a=new mSe,this.b=new J5e;}function f$e(){this.a=new Te,this.d=new Te;}function Ex(){this.n=new mv,this.i=new Pv;}function l$e(e){this.a=(Vs(e,dp),new fu(e));}function a$e(e){this.a=(Vs(e,dp),new fu(e));}function G6n(e){return e<100?null:new _d(e);}function z6n(e,n){return e.n.a=($n(n),n+10);}function V6n(e,n){return e.n.a=($n(n),n+10);}function W6n(e,n){return n==e||q4(cP(n),e);}function h$e(e,n){return Jt(e.a,n,"")==null;}function X6n(e,n){var t;return t=n.qi(e.a),t;}function li(e,n){return e.a+=n.a,e.b+=n.b,e;}function xr(e,n){return e.a-=n.a,e.b-=n.b,e;}function Y6n(e){return Sg(e.j.c,0),e.a=-1,e;}function QZ(e,n,t){return t=Js(e,n,11,t),t;}function J6n(e,n,t){t!=null&&JC(n,XF(e,t));}function Q6n(e,n,t){t!=null&&QC(n,XF(e,t));}function $v(e,n,t,i){he.call(this,e,n,t,i);}function ZZ(e,n,t,i){he.call(this,e,n,t,i);}function d$e(e,n,t,i){ZZ.call(this,e,n,t,i);}function w$e(e,n,t,i){Vx.call(this,e,n,t,i);}function zD(e,n,t,i){Vx.call(this,e,n,t,i);}function eee(e,n,t,i){Vx.call(this,e,n,t,i);}function b$e(e,n,t,i){zD.call(this,e,n,t,i);}function nee(e,n,t,i){zD.call(this,e,n,t,i);}function bn(e,n,t,i){eee.call(this,e,n,t,i);}function g$e(e,n,t,i){nee.call(this,e,n,t,i);}function p$e(e,n,t,i){Zee.call(this,e,n,t,i);}function $g(e,n){Kc.call(this,r7+e+ww+n);}function tee(e,n){return e.jk().wi().ri(e,n);}function iee(e,n){return e.jk().wi().ti(e,n);}function m$e(e,n){return $n(e),Z(e)===Z(n);}function un(e,n){return $n(e),Z(e)===Z(n);}function Z6n(e,n){return e.b.Bd(new KPe(e,n));}function e5n(e,n){return e.b.Bd(new HPe(e,n));}function v$e(e,n){return e.b.Bd(new qPe(e,n));}function n5n(e,n){return e.e=o(e.d.Kb(n),159);}function ree(e,n,t){return e.lastIndexOf(n,t);}function t5n(e,n,t){return Si(e[n.a],e[t.a]);}function i5n(e,n){return de(n,($e(),Nj),e);}function r5n(e,n){return $o(n.a.d.p,e.a.d.p);}function c5n(e,n){return $o(e.a.d.p,n.a.d.p);}function o5n(e,n){return Si(e.c-e.s,n.c-n.s);}function u5n(e,n){return Si(e.b.e.a,n.b.e.a);}function s5n(e,n){return Si(e.c.e.a,n.c.e.a);}function y$e(e){return e.c?eo(e.c.a,e,0):-1;}function Lv(e){return e==Nw||e==Lh||e==ru;}function cee(e,n){this.c=e,vR.call(this,e,n);}function k$e(e,n,t){this.a=e,MZ.call(this,n,t);}function E$e(e){this.c=e,fx.call(this,PS,0);}function _$e(e,n,t){this.c=n,this.b=t,this.a=e;}function HE(e){qy(),this.d=e,this.a=new x2;}function S$e(e){Ra(),this.a=(dn(),new My(e));}function f5n(e,n){Gh(e.f)?aRn(e,n):HAn(e,n);}function j$e(e,n){Ekn.call(this,e,e.length,n);}function l5n(e,n){va||n&&(e.d=n);}function T$e(e,n){return U(n,15)&&eJe(e.c,n);}function a5n(e,n,t){return o(e.c,71).Wk(n,t);}function _x(e,n,t){return o(e.c,71).Xk(n,t);}function h5n(e,n,t){return k6n(e,o(n,343),t);}function oee(e,n,t){return E6n(e,o(n,343),t);}function d5n(e,n,t){return VVe(e,o(n,343),t);}function M$e(e,n,t){return n$n(e,o(n,343),t);}function y8(e,n){return n==null?null:Jg(e.b,n);}function uee(e){return Ig(e)?($n(e),e):e.ue();}function Sx(e){return!isNaN(e)&&!isFinite(e);}function VD(e){FOe(this),Hs(this),Vr(this,e);}function rs(e){CD(this),_ee(this.c,0,e.Pc());}function af(e,n,t){this.a=e,this.b=n,this.c=t;}function x$e(e,n,t){this.a=e,this.b=n,this.c=t;}function C$e(e,n,t){this.d=e,this.b=t,this.a=n;}function I$e(e){this.a=e,Uh(),No(Date.now());}function P$e(e){Ls(e.a),Ete(e.c,e.b),e.b=null;}function WD(){WD=V,she=new an,Grn=new on;}function N$e(){N$e=V,Wdn=ce(Ir,vn,1,0,5,1);}function O$e(){O$e=V,h0n=ce(Ir,vn,1,0,5,1);}function see(){see=V,d0n=ce(Ir,vn,1,0,5,1);}function Ra(){Ra=V,new pJ((dn(),dn(),mc));}function w5n(e){return u4(),kt((BKe(),Wrn),e);}function b5n(e){return ss(),kt((CKe(),ecn),e);}function g5n(e){return PI(),kt((wFe(),ocn),e);}function p5n(e){return RC(),kt((bFe(),ucn),e);}function m5n(e){return dP(),kt((wUe(),scn),e);}function v5n(e){return Fl(),kt((MKe(),acn),e);}function y5n(e){return us(),kt((TKe(),dcn),e);}function k5n(e){return Nu(),kt((xKe(),bcn),e);}function E5n(e){return MP(),kt((lOe(),Rcn),e);}function _5n(e){return Sb(),kt((KKe(),Fcn),e);}function S5n(e){return u3(),kt((qKe(),Hcn),e);}function j5n(e){return ak(),kt((HKe(),Gcn),e);}function T5n(e){return PM(),kt((FBe(),zcn),e);}function M5n(e){return BC(),kt((gFe(),fon),e);}function x5n(e){return K8(),kt((IKe(),$on),e);}function C5n(e){return ic(),kt((SHe(),Bon),e);}function I5n(e){return _4(),kt((GKe(),Uon),e);}function P5n(e){return nw(),kt((UKe(),Yon),e);}function fee(e,n){if(!e){throw O(new In(n));}}function Hy(e){if(!e){throw O(new Hc(Gue));}}function XD(e,n){if(e!=n){throw O(new sf);}}function A$e(e,n,t){this.a=e,this.b=n,this.c=t;}function lee(e,n,t){this.a=e,this.b=n,this.c=t;}function $$e(e,n,t){this.a=e,this.b=n,this.c=t;}function jx(e,n,t){this.b=e,this.a=n,this.c=t;}function aee(e,n,t){this.b=e,this.c=n,this.a=t;}function hee(e,n,t){this.a=e,this.b=n,this.c=t;}function Tx(e,n,t){this.e=n,this.b=e,this.d=t;}function L$e(e,n,t){this.b=e,this.a=n,this.c=t;}function N5n(e,n,t){return $0(),e.a.Yd(n,t),n;}function YD(e){var n;return n=new S3e,n.e=e,n;}function dee(e){var n;return n=new uCe,n.b=e,n;}function qE(){qE=V,iO=new T4e,rO=new M4e;}function Mx(){Mx=V,aun=new e6e,lun=new n6e;}function sl(){sl=V,gun=new f5e,pun=new l5e;}function O5n(e){return Eb(),kt((uKe(),Mun),e);}function A5n(e){return hc(),kt((aOe(),oun),e);}function $5n(e){return lI(),kt((VKe(),fun),e);}function L5n(e){return aa(),kt((zKe(),yun),e);}function D5n(e){return tp(),kt((jHe(),Eun),e);}function R5n(e){return aP(),kt((Zqe(),xun),e);}function B5n(e){return a3(),kt((YHe(),Cun),e);}function F5n(e){return IC(),kt((_Fe(),Iun),e);}function K5n(e){return U8(),kt((cKe(),Pun),e);}function H5n(e){return VC(),kt((oKe(),Nun),e);}function q5n(e){return G1(),kt((THe(),Oun),e);}function U5n(e){return j_(),kt((vFe(),Aun),e);}function G5n(e){return G4(),kt((ZHe(),Fun),e);}function z5n(e){return Cc(),kt((IUe(),Kun),e);}function V5n(e){return E4(),kt((fKe(),Hun),e);}function W5n(e){return e1(),kt((lKe(),Uun),e);}function X5n(e){return vC(),kt((mFe(),Gun),e);}function Y5n(e){return rS(),kt((QHe(),Bun),e);}function J5n(e){return Q0(),kt((sKe(),Lun),e);}function Q5n(e){return QI(),kt((JHe(),Dun),e);}function Z5n(e){return m_(),kt((yFe(),Run),e);}function e8n(e){return Ef(),kt((xHe(),zun),e);}function n8n(e){return Y1(),kt((aUe(),gln),e);}function t8n(e){return ek(),kt((aKe(),pln),e);}function i8n(e){return ep(),kt((WKe(),mln),e);}function r8n(e){return lk(),kt((MHe(),vln),e);}function c8n(e){return Ff(),kt((PUe(),yln),e);}function o8n(e){return qa(),kt((XKe(),kln),e);}function u8n(e){return __(),kt((kFe(),Eln),e);}function s8n(e){return xc(),kt((wKe(),Sln),e);}function f8n(e){return uI(),kt((hKe(),jln),e);}function l8n(e){return J8(),kt((dKe(),Tln),e);}function a8n(e){return I4(),kt((bKe(),Mln),e);}function h8n(e){return zC(),kt((gKe(),xln),e);}function d8n(e){return aI(),kt((pKe(),Cln),e);}function w8n(e){return kb(),kt((jKe(),Gln),e);}function b8n(e){return R8(),kt((EFe(),Yln),e);}function g8n(e){return Fa(),kt((TFe(),ian),e);}function p8n(e){return ra(),kt((MFe(),can),e);}function m8n(e){return Dl(),kt((xFe(),yan),e);}function v8n(e){return bb(),kt((CFe(),Man),e);}function y8n(e){return l3(),kt((tHe(),xan),e);}function k8n(e){return Mk(),kt((hOe(),Can),e);}function E8n(e){return Q8(),kt((mKe(),Ian),e);}function _8n(e){return Z8(),kt((nHe(),Zan),e);}function S8n(e){return gC(),kt((SFe(),ehn),e);}function j8n(e){return eI(),kt((jFe(),chn),e);}function T8n(e){return WI(),kt((CHe(),uhn),e);}function M8n(e){return B_(),kt((vKe(),fhn),e);}function x8n(e){return NC(),kt((IFe(),shn),e);}function C8n(e){return KI(),kt((eHe(),Chn),e);}function I8n(e){return oI(),kt((yKe(),Ihn),e);}function P8n(e){return TI(),kt((kKe(),Phn),e);}function N8n(e){return DI(),kt((EKe(),Ohn),e);}function O8n(e){return yI(),kt((_Ke(),Lhn),e);}function A8n(e){return SC(),kt((PFe(),i1n),e);}function $8n(e){return p4(),kt((pFe(),cun),e);}function L8n(e){return On(),kt((eqe(),eun),e);}function D8n(e){return OC(),kt((SKe(),r1n),e);}function R8n(e){return zB(),kt((NFe(),c1n),e);}function B8n(e){return _k(),kt((IHe(),u1n),e);}function F8n(e){return AM(),kt((WBe(),f1n),e);}function K8n(e){return G_(),kt((NKe(),s1n),e);}function H8n(e){return $M(),kt((XBe(),a1n),e);}function q8n(e){return d_(),kt((OFe(),h1n),e);}function U8n(e){return oS(),kt((PHe(),d1n),e);}function G8n(e){return V5(),kt((YBe(),C1n),e);}function z8n(e){return $_(),kt((AFe(),I1n),e);}function V8n(e){return Hl(),kt((OHe(),L1n),e);}function W8n(e){return X1(),kt((Jqe(),R1n),e);}function X8n(e){return vh(),kt((nqe(),B1n),e);}function Y8n(e){return iw(),kt((tqe(),G1n),e);}function J8n(e){return br(),kt((NHe(),ldn),e);}function Q8n(e){return la(),kt((OKe(),adn),e);}function Z8n(e){return r1(),kt((iHe(),hdn),e);}function ekn(e){return YI(),kt((iqe(),ddn),e);}function nkn(e){return i1(),kt((PKe(),bdn),e);}function tkn(e){return Xs(),kt((rHe(),pdn),e);}function ikn(e){return op(),kt((dUe(),mdn),e);}function rkn(e){return H2(),kt((AHe(),vdn),e);}function ckn(e){return Kr(),kt((rqe(),ydn),e);}function okn(e){return fs(),kt((cqe(),kdn),e);}function ukn(e){return Oe(),kt(($He(),Edn),e);}function skn(e){return Rs(),kt((cHe(),Mdn),e);}function fkn(e){return ks(),kt((hUe(),xdn),e);}function lkn(e){return r3(),kt((AKe(),Cdn),e);}function akn(e,n){return $n(e),e+($n(n),n);}function hkn(e){return JD(),kt(($Fe(),Idn),e);}function dkn(e){return EI(),kt((oHe(),Pdn),e);}function wkn(e){return hI(),kt((uHe(),Adn),e);}function qy(){qy=V,Owe=(Oe(),An),fA=Kn;}function JD(){JD=V,Ype=new hLe,Jpe=new JLe;}function bkn(e){return!e.e&&(e.e=new Te),e.e;}function QD(e,n){this.c=e,this.a=n,this.b=n-e;}function D$e(e,n,t){this.a=e,this.b=n,this.c=t;}function ZD(e,n,t){this.a=e,this.b=n,this.c=t;}function wee(e,n,t){this.a=e,this.b=n,this.c=t;}function bee(e,n,t){this.a=e,this.b=n,this.c=t;}function R$e(e,n,t){this.a=e,this.b=n,this.c=t;}function B$e(e,n,t){this.a=e,this.b=n,this.c=t;}function P1(e,n,t){this.e=e,this.a=n,this.c=t;}function F$e(e,n,t){lf(),One.call(this,e,n,t);}function eR(e,n,t){lf(),gne.call(this,e,n,t);}function gee(e,n,t){lf(),gne.call(this,e,n,t);}function pee(e,n,t){lf(),gne.call(this,e,n,t);}function K$e(e,n,t){lf(),eR.call(this,e,n,t);}function mee(e,n,t){lf(),eR.call(this,e,n,t);}function H$e(e,n,t){lf(),mee.call(this,e,n,t);}function q$e(e,n,t){lf(),gee.call(this,e,n,t);}function U$e(e,n,t){lf(),pee.call(this,e,n,t);}function nR(e){Dx.call(this,e.d,e.c,e.a,e.b);}function vee(e){Dx.call(this,e.d,e.c,e.a,e.b);}function yee(e){this.d=e,_je(this),this.b=w7n(e.d);}function gkn(e){return V4(),kt((Qqe(),Vdn),e);}function UE(e,n){return xt(e),xt(n),new QIe(e,n);}function Dv(e,n){return xt(e),xt(n),new iLe(e,n);}function pkn(e,n){return xt(e),xt(n),new rLe(e,n);}function mkn(e,n){return xt(e),xt(n),new uPe(e,n);}function tR(e){return Zn(e.b!=0),pf(e,e.a.a);}function vkn(e){return Zn(e.b!=0),pf(e,e.c.b);}function ykn(e){return!e.c&&(e.c=new my),e.c;}function Uy(e){var n;return n=new Te,TB(n,e),n;}function kkn(e){var n;return n=new lr,TB(n,e),n;}function G$e(e){var n;return n=new EJ,BB(n,e),n;}function GE(e){var n;return n=new $i,BB(n,e),n;}function o(e,n){return k8(e==null||RF(e,n)),e;}function Ekn(e,n,t){ULe.call(this,n,t),this.a=e;}function z$e(e,n){this.c=e,this.b=n,this.a=!1;}function V$e(){this.a=";,;",this.b="",this.c="";}function W$e(e,n,t){this.b=e,cOe.call(this,n,t);}function kee(e,n,t){this.c=e,FM.call(this,n,t);}function Eee(e,n,t){Ly.call(this,e,n),this.b=t;}function _ee(e,n,t){boe(t,0,e,n,t.length,!1);}function dh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r;}function See(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r;}function _kn(e,n){n&&(e.b=n,e.a=(Nd(n),n.a));}function zE(e,n){if(!e){throw O(new In(n));}}function Rv(e,n){if(!e){throw O(new Hc(n));}}function jee(e,n){if(!e){throw O(new tIe(n));}}function Skn(e,n){return NM(),$o(e.d.p,n.d.p);}function jkn(e,n){return n1(),Si(e.e.b,n.e.b);}function Tkn(e,n){return n1(),Si(e.e.a,n.e.a);}function Mkn(e,n){return $o(fLe(e.d),fLe(n.d));}function xx(e,n){return n&&Qx(e,n.d)?n:null;}function xkn(e,n){return n==(Oe(),An)?e.c:e.d;}function Tee(e){return Dd(M7n(co(e)?Df(e):e));}function Ckn(e){return new ve(e.c+e.b,e.d+e.a);}function X$e(e){return e!=null&&!_F(e,m9,v9);}function Ikn(e,n){return(MGe(e)<<4|MGe(n))&gr;}function Y$e(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r;}function Mee(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n;}function xee(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t;}function Pkn(e,n){var t;return t=e.c,oie(e,n),t;}function Cee(e,n){return n<0?e.g=-1:e.g=n,e;}function Cx(e,n){return BTn(e),e.a*=n,e.b*=n,e;}function J$e(e,n,t){GHe.call(this,n,t),this.d=e;}function VE(e,n,t){WQ.call(this,e,n),this.c=t;}function Ix(e,n,t){WQ.call(this,e,n),this.c=t;}function Iee(e){see(),rM.call(this),this.ci(e);}function Q$e(){r4(),Q7n.call(this,(jd(),Qf));}function Z$e(e){return si(),new wh(0,e);}function eLe(){eLe=V,BW=(dn(),new hL(HU));}function Px(){Px=V,new Kre((TL(),eG),(jL(),ZU));}function nLe(){nLe=V,Wae=ce(Zr,_e,17,256,0,1);}function tLe(){this.b=J(re(Ae((bl(),OG))));}function iR(e){this.b=e,this.a=D0(this.b.a).Od();}function iLe(e,n){this.b=e,this.a=n,iL.call(this);}function rLe(e,n){this.a=e,this.b=n,iL.call(this);}function cLe(e,n,t){this.a=e,k2.call(this,n,t);}function oLe(e,n,t){this.a=e,k2.call(this,n,t);}function Gy(e,n,t){var i;i=new Rg(t),Bl(e,n,i);}function Pee(e,n,t){var i;return i=e[n],e[n]=t,i;}function Nx(e){var n;return n=e.slice(),vB(n,e);}function Ox(e){var n;return n=e.n,e.a.b+n.d+n.a;}function uLe(e){var n;return n=e.n,e.e.b+n.d+n.a;}function Nee(e){var n;return n=e.n,e.e.a+n.b+n.c;}function Oee(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null;}function Kt(e,n){return Ji(e,n,e.c.b,e.c),!0;}function Nkn(e){return e.a?e.a:PR(e);}function Okn(e){return zv(),yh(e)==Bi(qd(e));}function Akn(e){return zv(),qd(e)==Bi(yh(e));}function ib(e,n){return bk(e,new Ly(n.a,n.b));}function $kn(e,n){return eC(),zF(e,n),new CDe(e,n);}function Lkn(e,n){return e.c=n){throw O(new CJ);}}function Lg(e,n){return q_(e,($n(n),new Ije(n)));}function Fv(e,n){return q_(e,($n(n),new Pje(n)));}function zLe(e,n,t){return sVn(e,o(n,12),o(t,12));}function VLe(e){return Wu(),o(e,12).g.c.length!=0;}function WLe(e){return Wu(),o(e,12).e.c.length!=0;}function y7n(e,n){return n3(),Si(n.a.o.a,e.a.o.a);}function k7n(e,n){n.Bb&Oo&&!e.a.o&&(e.a.o=n);}function E7n(e,n){n.Ug("General 'Rotator",1),LGn(e);}function _7n(e,n,t){n.qf(t,J(re(qn(e.b,t)))*e.a);}function XLe(e,n,t){return Q2(),m4(e,n)&&m4(e,t);}function j8(e){return fs(),!e.Hc(m1)&&!e.Hc(b0);}function S7n(e){return e.e?yte(e.e):null;}function T8(e){return co(e)?""+e:ZYe(e);}function Qee(e){var n;for(n=e;n.f;){n=n.f;}return n;}function j7n(e,n,t){return Yi(n,0,Ree(n[0],t[0])),n;}function N1(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i;}function he(e,n,t,i){hr.call(this,e,n,t),this.b=i;}function Ar(e,n,t,i,r){pB.call(this,e,n,t,i,r,-1);}function M8(e,n,t,i,r){b_.call(this,e,n,t,i,r,-1);}function Vx(e,n,t,i){VE.call(this,e,n,t),this.b=i;}function YLe(e){VNe.call(this,e,!1),this.a=!1;}function JLe(){TNe.call(this,"LOOKAHEAD_LAYOUT",1);}function QLe(e){this.b=e,Ov.call(this,e),iAe(this);}function ZLe(e){this.b=e,$E.call(this,e),rAe(this);}function Dg(e,n,t){this.a=e,$v.call(this,n,t,5,6);}function Zee(e,n,t,i){this.b=e,hr.call(this,n,t,i);}function eDe(e,n){this.b=e,oje.call(this,e.b),this.a=n;}function nDe(e){this.a=Rze(e.a),this.b=new rs(e.b);}function ene(e,n){sb(),tyn.call(this,e,gI(new is(n)));}function Wx(e,n){return si(),new bne(e,n,0);}function gR(e,n){return si(),new bne(6,e,n);}function Xr(e,n){for($n(n);e.Ob();){n.Cd(e.Pb());}}function pu(e,n){return Dr(n)?BR(e,n):!!Mc(e.f,n);}function pR(e,n){return n.Vh()?Fd(e.b,o(n,54)):n;}function T7n(e,n){return un(e.substr(0,n.length),n);}function bh(e){return new Un(new kZ(e.a.length,e.a));}function Xx(e){return new ve(e.c+e.b/2,e.d+e.a/2);}function M7n(e){return gu(~e.l&Es,~e.m&Es,~e.h&a1);}function mR(e){return typeof e===MS||typeof e===dH;}function cs(e){e.f=new kOe(e),e.i=new EOe(e),++e.g;}function tDe(e){if(!e){throw O(new ao);}return e.d;}function Kv(e){var n;return n=Y8(e),Zn(n!=null),n;}function x7n(e){var n;return n=UCn(e),Zn(n!=null),n;}function Vy(e,n){var t;return t=e.a.gc(),bte(n,t),t-n;}function vr(e,n){var t;return t=e.a.zc(n,e),t==null;}function XE(e,n){return e.a.zc(n,(jn(),n0))==null;}function nne(e){return new rn(null,O7n(e,e.length));}function tne(e,n,t){return _Qe(e,o(n,42),o(t,176));}function Hv(e,n,t){return hl(e.a,n),Pee(e.b,n.g,t);}function C7n(e,n,t){zy(t,e.a.c.length),bf(e.a,t,n);}function ne(e,n,t,i){eGe(n,t,e.length),I7n(e,n,t,i);}function I7n(e,n,t,i){var r;for(r=n;r0?p.Math.log(e/n):-100;}function rDe(e,n){return Lo(e,n)<0?-1:Lo(e,n)>0?1:0;}function YE(e,n){XOe(e,U(n,160)?n:o(n,2036).Rl());}function one(e,n){if(e==null){throw O(new kv(n));}}function O7n(e,n){return $Tn(n,e.length),new aLe(e,n);}function une(e,n){return n?Vr(e,n):!1;}function A7n(){return mM(),R(L(Srn,1),we,549,0,[iG]);}function C8(e){return e.e==0?e:new B0(-e.e,e.d,e.a);}function $7n(e,n){return Si(e.c.c+e.c.b,n.c.c+n.c.b);}function JE(e,n){Ji(e.d,n,e.b.b,e.b),++e.a,e.c=null;}function cDe(e,n){return e.c?cDe(e.c,n):xe(e.b,n),e;}function L7n(e,n,t){var i;return i=Gg(e,n),nB(e,n,t),i;}function oDe(e,n,t){var i;for(i=0;i=e.g;}function Yi(e,n,t){return M6n(t==null||kHn(e,t)),e[n]=t;}function hne(e,n){return Pn(n,e.length+1),e.substr(n);}function xR(e,n){for($n(n);e.c=e?new fQ:cMn(e-1);}function Yr(e){return!e.a&&e.c?e.c.b:e.a;}function pne(e){return U(e,616)?e:new jRe(e);}function Nd(e){e.c?Nd(e.c):(Kd(e),e.d=!0);}function N8(e){e.c?e.c.$e():(e.d=!0,_Bn(e));}function TDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1;}function MDe(e){var n,t;return n=e.c.i.c,t=e.d.i.c,n==t;}function n9n(e,n){var t;t=e.Ih(n),t>=0?e.ki(t):ooe(e,n);}function xDe(e,n){e.c<0||e.b.b0;){e=e<<1|(e<0?1:0);}return e;}function LDe(e,n){var t;return t=new Wo(e),yn(n.c,t),t;}function DDe(e,n){e.u.Hc((fs(),m1))&&oDn(e,n),Sjn(e,n);}function Po(e,n){return Z(e)===Z(n)||e!=null&&hi(e,n);}function Dc(e,n){return sR(e.a,n)?e.b[o(n,22).g]:null;}function w9n(){return PM(),R(L(Rhe,1),we,489,0,[TG]);}function b9n(){return AM(),R(L(hge,1),we,490,0,[YV]);}function g9n(){return $M(),R(L(l1n,1),we,558,0,[JV]);}function p9n(){return V5(),R(L(Oge,1),we,539,0,[Yj]);}function nC(e){return!e.n&&(e.n=new he(Fc,e,1,7)),e.n;}function IR(e){return!e.c&&(e.c=new he(ws,e,9,9)),e.c;}function kne(e){return!e.c&&(e.c=new bn(ct,e,5,8)),e.c;}function m9n(e){return!e.b&&(e.b=new bn(ct,e,4,7)),e.b;}function QE(e){return e.j.c.length=0,_ne(e.c),Y6n(e.a),e;}function Qy(e){return e.e==M6&&Lvn(e,hPn(e.g,e.b)),e.e;}function ZE(e){return e.f==M6&&Rvn(e,iOn(e.g,e.b)),e.f;}function Qt(e,n,t,i){return oUe(e,n,t,!1),pI(e,i),e;}function RDe(e,n){this.b=e,vR.call(this,e,n),iAe(this);}function BDe(e,n){this.b=e,cee.call(this,e,n),rAe(this);}function O8(e){this.d=e,this.a=this.d.b,this.b=this.d.c;}function Ene(e,n){this.b=e,this.c=n,this.a=new Tv(this.b);}function tc(e,n){return Pn(n,e.length),e.charCodeAt(n);}function v9n(e,n){fre(e,J(t1(n,"x")),J(t1(n,"y")));}function y9n(e,n){fre(e,J(t1(n,"x")),J(t1(n,"y")));}function bi(e,n){return Kd(e),new rn(e,new Ote(n,e.a));}function Qc(e,n){return Kd(e),new rn(e,new mte(n,e.a));}function Bg(e,n){return Kd(e),new DZ(e,new WFe(n,e.a));}function tC(e,n){return Kd(e),new RZ(e,new XFe(n,e.a));}function k9n(e,n){return new fRe(o(xt(e),50),o(xt(n),50));}function E9n(e,n){return Si(e.d.c+e.d.b/2,n.d.c+n.d.b/2);}function FDe(e,n,t){t.a?yu(e,n.b-e.f/2):vu(e,n.a-e.g/2);}function _9n(e,n){return Si(e.g.c+e.g.b/2,n.g.c+n.g.b/2);}function S9n(e,n){return hQ(),Si(($n(e),e),($n(n),n));}function j9n(e){return e!=null&&hE(n$,e.toLowerCase());}function _ne(e){var n;for(n=e.Kc();n.Ob();){n.Pb(),n.Qb();}}function P2(e){var n;return n=e.b,!n&&(e.b=n=new QSe(e)),n;}function PR(e){var n;return n=fMn(e),n||null;}function KDe(e,n){var t,i;return t=e/n,i=jr(t),t>i&&++i,i;}function T9n(e,n,t){var i;i=o(e.d.Kb(t),159),i&&i.Nb(n);}function M9n(e,n,t){Cqn(e.a,t),oxn(t),YDn(e.b,t),Xqn(n,t);}function iC(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i;}function Sne(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i;}function HDe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i;}function hf(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i;}function qDe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i;}function NR(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i;}function UDe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i;}function OR(e,n,t){this.a=Jue,this.d=e,this.b=n,this.c=t;}function Uv(e,n,t,i){yt.call(this,e,n),this.a=t,this.b=i;}function GDe(e,n){this.d=($n(e),e),this.a=16449,this.c=n;}function zDe(e){this.a=new Te,this.e=ce(vt,_e,53,e,0,2);}function x9n(e){e.Ug("No crossing minimization",1),e.Vg();}function VDe(){ho.call(this,"There is no more element.");}function WDe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i;}function XDe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i;}function K0(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i;}function YDe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i;}function JDe(e,n,t,i){lf(),YFe.call(this,n,t,i),this.a=e;}function QDe(e,n,t,i){lf(),YFe.call(this,n,t,i),this.a=e;}function AR(e,n,t){var i,r;return i=Due(e),r=n.ti(t,i),r;}function Vh(e){var n,t;return t=(n=new Fw,n),f4(t,e),t;}function $R(e){var n,t;return t=(n=new Fw,n),Fce(t,e),t;}function C9n(e,n){var t;return t=qn(e.f,n),vie(n,t),null;}function ZDe(e){return!e.b&&(e.b=new he(or,e,12,3)),e.b;}function eRe(e){return k8(e==null||mR(e)&&e.Tm!==Sn),e;}function rC(e){return e.n&&(e.e!==nen&&e.je(),e.j=null),e;}function Zy(e){if(vs(e.d),e.d.d!=e.c){throw O(new sf);}}function jne(e){return Zn(e.b0&&NVe(this);}function nRe(e,n){this.a=e,x6n.call(this,e,o(e.d,15).fd(n));}function I9n(e,n){return Si(Gu(e)*$s(e),Gu(n)*$s(n));}function P9n(e,n){return Si(Gu(e)*$s(e),Gu(n)*$s(n));}function N9n(e){return Pb(e)&&De(Le(be(e,($e(),Ew))));}function O9n(e,n){return fn(e,o(M(n,($e(),V6)),17),n);}function A9n(e,n){return o(M(e,(Ee(),B3)),15).Fc(n),n;}function Tne(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e;}function tRe(e,n,t,i){this.b=e,this.c=i,fx.call(this,n,t);}function $9n(e,n,t){e.i=0,e.e=0,n!=t&&BUe(e,n,t);}function L9n(e,n,t){e.i=0,e.e=0,n!=t&&FUe(e,n,t);}function D9n(e,n,t){return z5(),lIn(o(qn(e.e,n),529),t);}function Gv(e){var n;return n=e.f,n||(e.f=new Oy(e,e.c));}function iRe(e,n){return K2(e.j,n.s,n.c)+K2(n.e,e.s,e.c);}function rRe(e,n){e.e&&!e.e.a&&(Gxe(e.e,n),rRe(e.e,n));}function cRe(e,n){e.d&&!e.d.a&&(Gxe(e.d,n),cRe(e.d,n));}function R9n(e,n){return-Si(Gu(e)*$s(e),Gu(n)*$s(n));}function B9n(e){return o(e.ld(),149).Pg()+":"+uo(e.md());}function oRe(){wK(this,new RY),this.wb=(Pd(),Tn),Iy();}function uRe(e){this.b=new Te,yr(this.b,this.b),this.a=e;}function Mne(e,n){new $i,this.a=new Hu,this.b=e,this.c=n;}function hb(){hb=V,ohe=new Ft,aG=new Ft,uhe=new gi;}function dn(){dn=V,mc=new _n,Ch=new ot,qN=new Rt;}function xne(){xne=V,icn=new $c,ccn=new qee,rcn=new ko;}function zv(){zv=V,JN=new Te,IG=new lt,CG=new Te;}function cC(e,n){if(e==null){throw O(new kv(n));}return e;}function oC(e){return!e.a&&(e.a=new he(ti,e,10,11)),e.a;}function vi(e){return!e.q&&(e.q=new he(Jf,e,11,10)),e.q;}function le(e){return!e.s&&(e.s=new he(Ru,e,21,17)),e.s;}function F9n(e){return xt(e),Wze(new Un(Vn(e.a.Kc(),new Y)));}function K9n(e,n){return Ds(e),Ds(n),nIe(o(e,22),o(n,22));}function H0(e,n,t){var i,r;i=uee(t),r=new oM(i),Bl(e,n,r);}function DR(e,n,t,i,r,c){b_.call(this,e,n,t,i,r,c?-2:-1);}function sRe(e,n,t,i){WQ.call(this,n,t),this.b=e,this.a=i;}function fRe(e,n){s3n.call(this,new bR(e)),this.a=e,this.b=n;}function Cne(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1;}function H9n(e){sl();var n;n=o(e.g,10),n.n.a=e.d.c+n.d.b;}function e4(){e4=V;var e,n;n=!XIn(),e=new jt,oG=n?new rt:e;}function RR(e){return dn(),U(e,59)?new AL(e):new px(e);}function uC(e){return U(e,16)?new E8(o(e,16)):kkn(e.Kc());}function q9n(e){return new oAe(e,e.e.Rd().gc()*e.c.Rd().gc());}function U9n(e){return new uAe(e,e.e.Rd().gc()*e.c.Rd().gc());}function Ine(e){return e&&e.hashCode?e.hashCode():nb(e);}function BR(e,n){return n==null?!!Mc(e.f,null):o7n(e.i,n);}function G9n(e,n){var t;return t=hZ(e.a,n),t&&(n.d=null),t;}function lRe(e,n,t){return e.f?e.f.ef(n,t):!1;}function e_(e,n,t,i){Yi(e.c[n.g],t.g,i),Yi(e.c[t.g],n.g,i);}function FR(e,n,t,i){Yi(e.c[n.g],n.g,t),Yi(e.b[n.g],n.g,i);}function z9n(e,n,t){return J(re(t.a))<=e&&J(re(t.b))>=n;}function aRe(e,n){this.g=e,this.d=R(L(Ph,1),Q1,10,0,[n]);}function hRe(e){this.c=e,this.b=new x1(o(xt(new Ko),50));}function dRe(e){this.c=e,this.b=new x1(o(xt(new vye),50));}function wRe(e){this.b=e,this.a=new x1(o(xt(new Q3e),50));}function bRe(){this.b=new lr,this.d=new $i,this.e=new IJ;}function Pne(){this.c=new Hr,this.d=new Hr,this.e=new Hr;}function db(){this.a=new Hu,this.b=(Vs(3,dp),new fu(3));}function O1(e,n){this.e=e,this.a=Ir,this.b=bJe(n),this.c=n;}function sC(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a;}function gRe(e,n,t,i,r,c){this.a=e,NB.call(this,n,t,i,r,c);}function pRe(e,n,t,i,r,c){this.a=e,NB.call(this,n,t,i,r,c);}function Od(e,n,t,i,r,c,s){return new iB(e.e,n,t,i,r,c,s);}function V9n(e,n,t){return t>=0&&un(e.substr(t,n.length),n);}function mRe(e,n){return U(n,149)&&un(e.b,o(n,149).Pg());}function W9n(e,n){return e.a?n.Gh().Kc():o(n.Gh(),71).Ii();}function vRe(e,n){var t;return t=e.b.Qc(n),dFe(t,e.b.gc()),t;}function n_(e,n){if(e==null){throw O(new kv(n));}return e;}function Zc(e){return e.u||(ps(e),e.u=new QAe(e,e)),e.u;}function KR(e){this.a=(dn(),U(e,59)?new AL(e):new px(e));}function Iu(e){var n;return n=o(Cn(e,16),29),n||e.ii();}function fC(e,n){var t;return t=A0(e.Rm),n==null?t:t+": "+n;}function df(e,n,t){return zr(n,t,e.length),e.substr(n,t-n);}function yRe(e,n){Ex.call(this),Hte(this),this.a=e,this.c=n;}function X9n(e){e&&fC(e,e.ie());}function Y9n(e){kM(),p.setTimeout(function(){throw e;},0);}function J9n(){return PI(),R(L(bhe,1),we,436,0,[vG,whe]);}function Q9n(){return RC(),R(L(phe,1),we,435,0,[ghe,yG]);}function Z9n(){return BC(),R(L(Ghe,1),we,432,0,[PG,QN]);}function eEn(){return p4(),R(L(run,1),we,517,0,[kj,GG]);}function nEn(){return vC(),R(L(xde,1),we,429,0,[kz,Mde]);}function tEn(){return j_(),R(L(hde,1),we,428,0,[xO,ade]);}function iEn(){return IC(),R(L(rde,1),we,431,0,[ide,oz]);}function rEn(){return __(),R(L(ywe,1),we,430,0,[tV,iV]);}function cEn(){return R8(),R(L(Xln,1),we,531,0,[H7,K7]);}function oEn(){return eI(),R(L(gbe,1),we,501,0,[mA,Dm]);}function uEn(){return Fa(),R(L(tan,1),we,523,0,[sg,cd]);}function sEn(){return ra(),R(L(ran,1),we,522,0,[Mw,Ea]);}function fEn(){return Dl(),R(L(van,1),we,528,0,[Kp,s0]);}function lEn(){return m_(),R(L(bde,1),we,488,0,[wde,IO]);}function aEn(){return SC(),R(L(cge,1),we,491,0,[VV,rge]);}function hEn(){return zB(),R(L(age,1),we,492,0,[fge,lge]);}function dEn(){return gC(),R(L(bbe,1),we,433,0,[jV,wbe]);}function wEn(){return NC(),R(L(mbe,1),we,434,0,[pbe,PV]);}function bEn(){return bb(),R(L(Tan,1),we,465,0,[f0,Am]);}function gEn(){return d_(),R(L(dge,1),we,438,0,[QV,CA]);}function pEn(){return $_(),R(L($ge,1),we,437,0,[PA,Age]);}function mEn(){return JD(),R(L(zA,1),we,347,0,[Ype,Jpe]);}function lC(e,n,t,i){return t>=0?e.Uh(n,t,i):e.Ch(null,t,i);}function t_(e){return e.b.b==0?e.a.sf():tR(e.b);}function vEn(e){if(e.p!=5){throw O(new Ku);}return Mt(e.f);}function yEn(e){if(e.p!=5){throw O(new Ku);}return Mt(e.k);}function Nne(e){return Z(e.a)===Z((UB(),LW))&&mUn(e),e.a;}function kEn(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=Rx(e.c,e.b,e.a));}function EEn(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=Rx(e.c,e.b,e.a));}function kRe(e,n){yvn(this,new ve(e.a,e.b)),kvn(this,GE(n));}function wb(){f3n.call(this,new jv(zg(12))),pZ(!0),this.a=2;}function HR(e,n,t){si(),Bw.call(this,e),this.b=n,this.a=t;}function One(e,n,t){lf(),hM.call(this,n),this.a=e,this.b=t;}function ERe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e;}function _En(e){return e.b==0?null:(Zn(e.b!=0),pf(e,e.a.a));}function Xo(e,n){return n==null?Jc(Mc(e.f,null)):J5(e.i,n);}function _Re(e,n,t,i,r){return new gK(e,(u4(),bG),n,t,i,r);}function aC(e,n){return lFe(n),VTn(e,ce(vt,Gt,28,n,15,1),n);}function hC(e,n){return cC(e,"set1"),cC(n,"set2"),new hPe(e,n);}function SEn(e,n){var t=cG[e.charCodeAt(0)];return t??e;}function SRe(e,n){var t,i;return t=n,i=new At,JQe(e,t,i),i.d;}function qR(e,n,t,i){var r;r=new n$e,n.a[t.g]=r,Hv(e.b,i,r);}function jEn(e,n){var t;return t=UTn(e.f,n),li(kx(t),e.f.d);}function i_(e){var n;nMn(e.a),POe(e.a),n=new fM(e.a),vre(n);}function TEn(e,n){cJe(e,!0),mu(e.e.Rf(),new aee(e,!0,n));}function MEn(e,n){return zv(),e==Bi(yh(n))||e==Bi(qd(n));}function xEn(e,n){return n1(),o(M(n,(So(),oh)),17).a==e;}function jr(e){return Math.max(Math.min(e,fi),-2147483648)|0;}function jRe(e){this.a=o(xt(e),277),this.b=(dn(),new SZ(e));}function TRe(e,n,t){this.i=new Te,this.b=e,this.g=n,this.a=t;}function Ane(e,n,t){this.a=new Te,this.e=e,this.f=n,this.c=t;}function dC(e,n,t){this.c=new Te,this.e=e,this.f=n,this.b=t;}function MRe(e){Ex.call(this),Hte(this),this.a=e,this.c=!0;}function CEn(e){function n(){}return n.prototype=e||{},new n;}function IEn(e){if(e.Ae()){return null;}var n=e.n;return DN[n];}function r_(e){return e.Db>>16!=3?null:o(e.Cb,27);}function ia(e){return e.Db>>16!=9?null:o(e.Cb,27);}function xRe(e){return e.Db>>16!=6?null:o(e.Cb,74);}function bb(){bb=V,f0=new LQ(k3,0),Am=new LQ(E3,1);}function Fa(){Fa=V,sg=new OQ(E3,0),cd=new OQ(k3,1);}function ra(){ra=V,Mw=new AQ(ZH,0),Ea=new AQ("UP",1);}function CRe(){CRe=V,jrn=Et((mM(),R(L(Srn,1),we,549,0,[iG])));}function IRe(e){var n;return n=new jM(zg(e.length)),Nie(n,e),n;}function PRe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e;}function PEn(e,n){return pUe(e,n)?(dqe(e),!0):!1;}function Wh(e,n){if(n==null){throw O(new gv);}return JIn(e,n);}function c_(e,n){var t;t=e.q.getHours(),e.q.setDate(n),Ck(e,t);}function $ne(e,n,t){var i;i=e.Ih(n),i>=0?e.bi(i,t):Ooe(e,n,t);}function NRe(e,n){var t;return t=e.Ih(n),t>=0?e.Wh(t):EK(e,n);}function ORe(e,n){var t;for(xt(n),t=e.a;t;t=t.c){n.Yd(t.g,t.i);}}function UR(e,n,t){var i;i=DUe(e,n,t),e.b=new tI(i.c.length);}function N2(e,n,t){wC(),e&&Jt(OW,e,n),e&&Jt(mT,e,t);}function NEn(e,n){return Mx(),jn(),o(n.a,17).a0;}function Lne(e){var n;return n=e.d,n=e.bj(e.f),pt(e,n),n.Ob();}function ARe(e,n){var t;return t=new Fee(n),cWe(t,e),new rs(t);}function $En(e){if(e.p!=0){throw O(new Ku);}return f8(e.f,0);}function LEn(e){if(e.p!=0){throw O(new Ku);}return f8(e.k,0);}function $Re(e){return e.Db>>16!=7?null:o(e.Cb,241);}function n4(e){return e.Db>>16!=6?null:o(e.Cb,241);}function LRe(e){return e.Db>>16!=7?null:o(e.Cb,167);}function Bi(e){return e.Db>>16!=11?null:o(e.Cb,27);}function Fg(e){return e.Db>>16!=17?null:o(e.Cb,29);}function DRe(e){return e.Db>>16!=3?null:o(e.Cb,155);}function Dne(e){var n;return Kd(e),n=new lr,bi(e,new qje(n));}function RRe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.ve(n));}function DEn(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),Ck(e,t);}function BRe(e,n){bx(this),this.f=n,this.g=e,rC(this),this.je();}function FRe(e,n){this.a=e,this.c=Wr(this.a),this.b=new sC(n);}function KRe(e,n,t){this.a=n,this.c=e,this.b=(xt(t),new rs(t));}function HRe(e,n,t){this.a=n,this.c=e,this.b=(xt(t),new rs(t));}function qRe(e){this.a=e,this.b=ce(zln,_e,2043,e.e.length,0,2);}function URe(){this.a=new $a,this.e=new lr,this.g=0,this.i=0;}function wC(){wC=V,OW=new lt,mT=new lt,Pyn(qrn,new O9e);}function GRe(){GRe=V,Iln=zu(new dr,(ic(),io),(hc(),Ej));}function Rne(){Rne=V,Pln=zu(new dr,(ic(),io),(hc(),Ej));}function zRe(){zRe=V,Oln=zu(new dr,(ic(),io),(hc(),Ej));}function VRe(){VRe=V,Jln=Ut(new dr,(ic(),io),(hc(),y7));}function qs(){qs=V,ean=Ut(new dr,(ic(),io),(hc(),y7));}function WRe(){WRe=V,nan=Ut(new dr,(ic(),io),(hc(),y7));}function zR(){zR=V,oan=Ut(new dr,(ic(),io),(hc(),y7));}function A8(e,n,t,i,r,c){return new Zh(e.e,n,e.Lj(),t,i,r,c);}function qc(e,n,t){return n==null?hu(e.f,null,t):jb(e.i,n,t);}function fc(e,n){e.c&&Pu(e.c.g,e),e.c=n,e.c&&xe(e.c.g,e);}function Ur(e,n){e.c&&Pu(e.c.a,e),e.c=n,e.c&&xe(e.c.a,e);}function bo(e,n){e.i&&Pu(e.i.j,e),e.i=n,e.i&&xe(e.i.j,e);}function Fr(e,n){e.d&&Pu(e.d.e,e),e.d=n,e.d&&xe(e.d.e,e);}function VR(e,n){e.a&&Pu(e.a.k,e),e.a=n,e.a&&xe(e.a.k,e);}function WR(e,n){e.b&&Pu(e.b.f,e),e.b=n,e.b&&xe(e.b.f,e);}function XRe(e,n){X7n(e,e.b,e.c),o(e.b.b,68),n&&o(n.b,68).b;}function REn(e,n){return Si(o(e.c,65).c.e.b,o(n.c,65).c.e.b);}function BEn(e,n){return Si(o(e.c,65).c.e.a,o(n.c,65).c.e.a);}function FEn(e){return lF(),jn(),o(e.a,86).d.e!=0;}function bC(e,n){U(e.Cb,184)&&(o(e.Cb,184).tb=null),lu(e,n);}function XR(e,n){U(e.Cb,90)&&cp(ps(o(e.Cb,90)),4),lu(e,n);}function KEn(e,n){lre(e,n),U(e.Cb,90)&&cp(ps(o(e.Cb,90)),2);}function HEn(e,n){var t,i;t=n.c,i=t!=null,i&&qv(e,new Rg(n.c));}function YRe(e){var n,t;return t=(Iy(),n=new Fw,n),f4(t,e),t;}function JRe(e){var n,t;return t=(Iy(),n=new Fw,n),f4(t,e),t;}function QRe(e){for(var n;;){if(n=e.Pb(),!e.Ob()){return n;}}}function qEn(e,n,t){return xe(e.a,(eC(),zF(n,t),new Vw(n,t))),e;}function Yo(e,n){return jc(),SB(n)?new Ax(n,e):new IE(n,e);}function o_(e){return Ga(),Lo(e,0)>=0?Hd(e):C8(Hd(R1(e)));}function UEn(e){var n;return n=o(Nx(e.b),9),new af(e.a,n,e.c);}function ZRe(e,n){var t;return t=o(Jg(Gv(e.a),n),16),t?t.gc():0;}function eBe(e,n,t){var i;jGe(n,t,e.c.length),i=t-n,oQ(e.c,n,i);}function A1(e,n,t){jGe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n;}function Vv(e){this.c=new $i,this.b=e.b,this.d=e.c,this.a=e.a;}function YR(e){this.a=p.Math.cos(e),this.b=p.Math.sin(e);}function q0(e,n,t,i){this.c=e,this.d=i,VR(this,n),WR(this,t);}function Bne(e,n){u3n.call(this,new jv(zg(e))),Vs(n,XZe),this.a=n;}function nBe(e,n,t){return new gK(e,(u4(),wG),null,!1,n,t);}function tBe(e,n,t){return new gK(e,(u4(),gG),n,t,null,!1);}function GEn(){return ss(),R(L(Vc,1),we,108,0,[dhe,fo,Ep]);}function zEn(){return Nu(),R(L(wcn,1),we,472,0,[Gl,i0,ml]);}function VEn(){return us(),R(L(hcn,1),we,471,0,[ih,t0,pl]);}function WEn(){return Fl(),R(L(_p,1),we,237,0,[Mo,du,xo]);}function XEn(){return K8(),R(L(o1e,1),we,391,0,[$G,AG,LG]);}function YEn(){return Eb(),R(L(JG,1),we,372,0,[Yb,r0,Xb]);}function JEn(){return U8(),R(L(ode,1),we,322,0,[E7,jj,cde]);}function QEn(){return VC(),R(L(sde,1),we,351,0,[ude,MO,uz]);}function ZEn(){return Q0(),R(L($un,1),we,460,0,[lz,K6,Em]);}function e_n(){return E4(),R(L(yz,1),we,299,0,[mz,vz,Tj]);}function n_n(){return e1(),R(L(qun,1),we,311,0,[Mj,Sm,L3]);}function t_n(){return ek(),R(L(lwe,1),we,390,0,[Xz,fwe,rA]);}function i_n(){return xc(),R(L(_ln,1),we,463,0,[R7,as,wu]);}function r_n(){return uI(),R(L(_we,1),we,387,0,[kwe,rV,Ewe]);}function c_n(){return J8(),R(L(Swe,1),we,349,0,[oV,cV,Rj]);}function o_n(){return I4(),R(L(Twe,1),we,350,0,[uV,jwe,B7]);}function u_n(){return zC(),R(L(Cwe,1),we,352,0,[xwe,sV,Mwe]);}function s_n(){return aI(),R(L(Iwe,1),we,388,0,[fV,e5,Fp]);}function f_n(){return kb(),R(L(Uln,1),we,464,0,[Bj,F7,sA]);}function ca(e){return po(R(L(Or,1),_e,8,0,[e.i.n,e.n,e.a]));}function l_n(){return Q8(),R(L(Vwe,1),we,392,0,[zwe,hV,Kj]);}function iBe(){iBe=V,nhn=zu(new dr,(l3(),U7),(Mk(),Dwe));}function gC(){gC=V,jV=new DQ("DFS",0),wbe=new DQ("BFS",1);}function rBe(e,n,t){var i;i=new K8e,i.b=n,i.a=t,++n.b,xe(e.d,i);}function a_n(e,n,t){var i;i=new wc(t.d),li(i,e),fre(n,i.a,i.b);}function h_n(e,n){JOe(e,Mt(Cr(cb(n,24),PP)),Mt(Cr(n,PP)));}function Kg(e,n){if(e<0||e>n){throw O(new Kc(ose+e+use+n));}}function wn(e,n){if(e<0||e>=n){throw O(new Kc(ose+e+use+n));}}function Pn(e,n){if(e<0||e>=n){throw O(new VJ(ose+e+use+n));}}function ln(e,n){this.b=($n(e),e),this.a=n&wp?n:n|64|Va;}function Fne(e){var n;return Kd(e),n=(hb(),hb(),aG),HC(e,n);}function d_n(e,n,t){var i;return i=Nk(e,n,!1),i.b<=n&&i.a<=t;}function w_n(){return OC(),R(L(sge,1),we,439,0,[WV,uge,oge]);}function b_n(){return yI(),R(L(qbe,1),we,394,0,[Hbe,qV,Kbe]);}function g_n(){return TI(),R(L(Fbe,1),we,445,0,[zj,EA,DV]);}function p_n(){return DI(),R(L(Nhn,1),we,456,0,[RV,FV,BV]);}function m_n(){return B_(),R(L(kbe,1),we,393,0,[vA,vbe,ybe]);}function v_n(){return oI(),R(L(Bbe,1),we,300,0,[LV,Rbe,Dbe]);}function y_n(){return i1(),R(L(Hpe,1),we,346,0,[BA,fd,f9]);}function k_n(){return G_(),R(L(XV,1),we,444,0,[TA,MA,xA]);}function E_n(){return la(),R(L(Ipe,1),we,278,0,[u5,Gp,s5]);}function __n(){return r3(),R(L(Xpe,1),we,280,0,[Wpe,Vp,GA]);}function gb(e){return xt(e),U(e,16)?new rs(o(e,16)):Uy(e.Kc());}function Kne(e,n){return e&&e.equals?e.equals(n):Z(e)===Z(n);}function Cr(e,n){return Dd(b7n(co(e)?Df(e):e,co(n)?Df(n):n));}function Ll(e,n){return Dd(g7n(co(e)?Df(e):e,co(n)?Df(n):n));}function JR(e,n){return Dd(p7n(co(e)?Df(e):e,co(n)?Df(n):n));}function S_n(e,n){var t;return t=($n(e),e).g,$Z(!!t),$n(n),t(n);}function cBe(e,n){var t,i;return i=Vy(e,n),t=e.a.fd(i),new lPe(e,t);}function j_n(e){return e.Db>>16!=6?null:o(jK(e),241);}function T_n(e){if(e.p!=2){throw O(new Ku);}return Mt(e.f)&gr;}function M_n(e){if(e.p!=2){throw O(new Ku);}return Mt(e.k)&gr;}function P(e){return Zn(e.ai?1:0;}function fBe(e,n){var t,i;return t=yB(n),i=t,o(qn(e.c,i),17).a;}function QR(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i;}function R_n(e,n,t){var i;e.n&&n&&t&&(i=new S9e,xe(e.e,i));}function ZR(e,n){if(vr(e.a,n),n.d){throw O(new ho(men));}n.d=e;}function Une(e,n){this.a=new Te,this.d=new Te,this.f=e,this.c=n;}function lBe(){this.c=new VOe,this.a=new ZFe,this.b=new aCe,CPe();}function aBe(){t3(),this.b=new lt,this.a=new lt,this.c=new Te;}function hBe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3;}function dBe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5;}function wBe(e,n,t,i,r,c){Ute.call(this,e,n,t,i,r),c&&(this.o=-2);}function bBe(e,n,t,i,r,c){Gte.call(this,e,n,t,i,r),c&&(this.o=-2);}function gBe(e,n,t,i,r,c){ste.call(this,e,n,t,i,r),c&&(this.o=-2);}function pBe(e,n,t,i,r,c){Wte.call(this,e,n,t,i,r),c&&(this.o=-2);}function mBe(e,n,t,i,r,c){fte.call(this,e,n,t,i,r),c&&(this.o=-2);}function vBe(e,n,t,i,r,c){zte.call(this,e,n,t,i,r),c&&(this.o=-2);}function yBe(e,n,t,i,r,c){Vte.call(this,e,n,t,i,r),c&&(this.o=-2);}function kBe(e,n,t,i,r,c){lte.call(this,e,n,t,i,r),c&&(this.o=-2);}function EBe(e,n,t,i){hM.call(this,t),this.b=e,this.c=n,this.d=i;}function _Be(e,n){this.f=e,this.a=(r4(),r$),this.c=r$,this.b=n;}function SBe(e,n){this.g=e,this.d=(r4(),c$),this.a=c$,this.b=n;}function Gne(e,n){!e.c&&(e.c=new er(e,0)),kP(e.c,(Ei(),k9),n);}function B_n(e,n){return kRn(e,n,U(n,102)&&(o(n,19).Bb&kc)!=0);}function F_n(e,n){return rDe(No(e.q.getTime()),No(n.q.getTime()));}function jBe(e){return cR(e.e.Rd().gc()*e.c.Rd().gc(),16,new XSe(e));}function K_n(e){return!!e.u&&Ho(e.u.a).i!=0&&!(e.n&&HF(e.n));}function H_n(e){return!!e.a&&ms(e.a.a).i!=0&&!(e.b&&qF(e.b));}function zne(e,n){return n==0?!!e.o&&e.o.f!=0:LF(e,n);}function q_n(e,n,t){var i;return i=o(e.Zb().xc(n),16),!!i&&i.Hc(t);}function TBe(e,n,t){var i;return i=o(e.Zb().xc(n),16),!!i&&i.Mc(t);}function MBe(e,n){var t;return t=1-n,e.a[t]=nI(e.a[t],t),nI(e,n);}function xBe(e,n){var t,i;return i=Cr(e,Ic),t=fl(n,32),Ll(t,i);}function CBe(e,n,t){var i;i=(xt(e),new rs(e)),GNn(new KRe(i,n,t));}function u_(e,n,t){var i;i=(xt(e),new rs(e)),zNn(new HRe(i,n,t));}function Eo(e,n,t,i,r,c){return oUe(e,n,t,c),nre(e,i),tre(e,r),e;}function IBe(e,n,t,i){return e.a+=""+df(n==null?Au:uo(n),t,i),e;}function Gr(e,n){this.a=e,P5.call(this,e),Kg(n,e.gc()),this.b=n;}function PBe(e){this.a=ce(Ir,vn,1,xie(p.Math.max(8,e))<<1,5,1);}function s_(e){return o(ha(e,ce(Ph,Q1,10,e.c.length,0,1)),199);}function Ka(e){return o(ha(e,ce(qG,gq,18,e.c.length,0,1)),483);}function NBe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c;}function $8(e){for(;e.d>0&&e.a[--e.d]==0;){;}e.a[e.d++]==0&&(e.e=0);}function OBe(e){return Zn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c;}function U_n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),Hs(e.d),Sg(e.e.a.c,0);}function ABe(e,n){var t;e.e=new DJ,t=up(n),sr(t,e.c),WYe(e,t,0);}function wr(e,n,t,i){var r;r=new PY,r.a=n,r.b=t,r.c=i,Kt(e.a,r);}function Se(e,n,t,i){var r;r=new PY,r.a=n,r.b=t,r.c=i,Kt(e.b,r);}function $Be(e,n,t){if(e<0||nt){throw O(new Kc(iLn(e,n,t)));}}function f_(e,n){if(e<0||e>=n){throw O(new Kc(ALn(e,n)));}return e;}function G_n(e){if(!("stack"in e)){try{throw e;}catch{}}return e;}function O2(e){return z5(),U(e.g,10)?o(e.g,10):null;}function z_n(e){return P2(e).dc()?!1:(b4n(e,new ke),!0);}function G0(e){var n;return co(e)?(n=e,n==-0?0:n):uTn(e);}function LBe(e,n){return U(n,44)?WF(e.a,o(n,44)):!1;}function DBe(e,n){return U(n,44)?WF(e.a,o(n,44)):!1;}function RBe(e,n){return U(n,44)?WF(e.a,o(n,44)):!1;}function Vne(e){var n;return Nd(e),n=new di,b2(e.a,new Fje(n)),n;}function Wne(){var e,n,t;return n=(t=(e=new Fw,e),t),xe(P2e,n),n;}function pC(e){var n;return Nd(e),n=new wi,b2(e.a,new Kje(n)),n;}function V_n(e,n){return e.a<=e.b?(n.Dd(e.a++),!0):!1;}function BBe(e){KB.call(this,e,(u4(),dG),null,!1,null,!1);}function FBe(){FBe=V,zcn=Et((PM(),R(L(Rhe,1),we,489,0,[TG])));}function KBe(){KBe=V,Nwe=ODe(je(1),je(4)),Pwe=ODe(je(1),je(2));}function W_n(e,n){return new ZD(n,m8(Wr(n.e),e,e),(jn(),!0));}function mC(e){return new fu((Vs(e,pH),FC(lc(lc(5,e),e/10|0))));}function X_n(e){return cR(e.e.Rd().gc()*e.c.Rd().gc(),273,new WSe(e));}function HBe(e){return o(ha(e,ce(nun,Yen,12,e.c.length,0,1)),2042);}function Y_n(e){return qs(),!yc(e)&&!(!yc(e)&&e.c.i.c==e.d.i.c);}function J_n(e,n){return e3(),o(M(n,(So(),$m)),17).a>=e.gc();}function L8(e,n){Ozn(n,e),Mee(e.d),Mee(o(M(e,($e(),JO)),214));}function eB(e,n){Azn(n,e),xee(e.d),xee(o(M(e,($e(),JO)),214));}function Q_n(e,n,t){e.d&&Pu(e.d.e,e),e.d=n,e.d&&rb(e.d.e,t,e);}function Z_n(e,n,t){return t.f.c.length>0?tne(e.a,n,t):tne(e.b,n,t);}function eSn(e,n,t){var i;i=pPn();try{return K6n(e,n,t);}finally{zSn(i);}}function pb(e,n){var t,i;return t=Wh(e,n),i=null,t&&(i=t.pe()),i;}function D8(e,n){var t,i;return t=Wh(e,n),i=null,t&&(i=t.se()),i;}function t4(e,n){var t,i;return t=Gg(e,n),i=null,t&&(i=t.se()),i;}function Xh(e,n){var t,i;return t=Wh(e,n),i=null,t&&(i=Vce(t)),i;}function nSn(e,n,t){var i;return i=R4(t),gP(e.g,i,n),gP(e.i,n,t),n;}function Xne(e,n,t){this.d=new ZTe(this),this.e=e,this.i=n,this.f=t;}function qBe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i;}function UBe(e,n,t,i){KOe(this),this.c=e,this.e=n,this.f=t,this.b=i;}function Yne(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1;}function GBe(e,n,t,i){return U(t,59)?new kAe(e,n,t,i):new Yee(e,n,t,i);}function i4(e){return U(e,16)?o(e,16).dc():!e.Kc().Ob();}function zBe(e){if(e.e.g!=e.b){throw O(new sf);}return!!e.c&&e.d>0;}function at(e){return Zn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c;}function Jne(e,n){$n(n),Yi(e.a,e.c,n),e.c=e.c+1&e.a.length-1,wVe(e);}function Ad(e,n){$n(n),e.b=e.b-1&e.a.length-1,Yi(e.a,e.b,n),wVe(e);}function VBe(e){var n;n=e.Gh(),this.a=U(n,71)?o(n,71).Ii():n.Kc();}function tSn(e){return new ln(KTn(o(e.a.md(),16).gc(),e.a.ld()),16);}function WBe(){WBe=V,f1n=Et((AM(),R(L(hge,1),we,490,0,[YV])));}function XBe(){XBe=V,a1n=Et(($M(),R(L(l1n,1),we,558,0,[JV])));}function YBe(){YBe=V,C1n=Et((V5(),R(L(Oge,1),we,539,0,[Yj])));}function iSn(){return nw(),R(L(l1e,1),we,389,0,[Tp,f1e,KG,HG]);}function rSn(){return u4(),R(L(UN,1),we,304,0,[dG,wG,bG,gG]);}function cSn(){return u3(),R(L(Kcn,1),we,332,0,[wj,dj,bj,gj]);}function oSn(){return ak(),R(L(Ucn,1),we,406,0,[pj,WN,XN,mj]);}function uSn(){return Sb(),R(L(Bcn,1),we,417,0,[hj,aj,SG,jG]);}function sSn(){return _4(),R(L(qon,1),we,416,0,[Wb,jp,Sp,pm]);}function fSn(){return aa(),R(L(vun,1),we,421,0,[$3,A6,$6,YG]);}function lSn(){return lI(),R(L(sun,1),we,371,0,[XG,kO,EO,_j]);}function aSn(){return ep(),R(L(Jz,1),we,203,0,[cA,Yz,Om,Nm]);}function hSn(){return qa(),R(L(vwe,1),we,284,0,[rd,mwe,eV,nV]);}function dSn(e){var n;return e.j==(Oe(),st)&&(n=LXe(e),Uu(n,Kn));}function wSn(e,n){var t;t=n.a,fc(t,n.c.d),Fr(t,n.d.d),Xg(t.a,e.n);}function Qne(e,n){var t;return t=o(fa(e.b,n),67),!t&&(t=new $i),t;}function Xv(e){return z5(),U(e.g,154)?o(e.g,154):null;}function bSn(e){e.a=null,e.e=null,Sg(e.b.c,0),Sg(e.f.c,0),e.c=null;}function vC(){vC=V,kz=new IQ(h6,0),Mde=new IQ("TOP_LEFT",1);}function R8(){R8=V,H7=new NQ("UPPER",0),K7=new NQ("LOWER",1);}function gSn(e,n){return Nv(new ve(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e);}function JBe(e,n){return o(Os(Lg(o(pi(e.k,n),15).Oc(),vm)),113);}function QBe(e,n){return o(Os(Fv(o(pi(e.k,n),15).Oc(),vm)),113);}function pSn(){return l3(),R(L($we,1),we,405,0,[hA,q7,U7,G7]);}function mSn(){return Z8(),R(L(dbe,1),we,353,0,[SV,pA,_V,EV]);}function vSn(){return KI(),R(L(Lbe,1),we,354,0,[$V,Abe,$be,Obe]);}function ySn(){return Rs(),R(L(w9,1),we,386,0,[hT,Ow,aT,zp]);}function kSn(){return Xs(),R(L(gdn,1),we,291,0,[sT,Ah,h0,uT]);}function ESn(){return r1(),R(L(SW,1),we,223,0,[_W,oT,f5,Y3]);}function _Sn(){return EI(),R(L(n2e,1),we,320,0,[MW,Qpe,e2e,Zpe]);}function SSn(){return hI(),R(L(Odn,1),we,415,0,[xW,i2e,t2e,r2e]);}function jSn(e){return wC(),pu(OW,e)?o(qn(OW,e),341).Qg():null;}function wf(e,n,t){return n<0?EK(e,t):o(t,69).wk().Bk(e,e.hi(),n);}function TSn(e,n,t){var i;return i=R4(t),gP(e.j,i,n),Jt(e.k,n,t),n;}function MSn(e,n,t){var i;return i=R4(t),gP(e.d,i,n),Jt(e.e,n,t),n;}function ZBe(e){var n,t;return n=(Sd(),t=new eL,t),e&&oP(n,e),n;}function Zne(e){var n;return n=e.aj(e.i),e.i>0&&Uo(e.g,0,n,0,e.i),n;}function eFe(e,n){var t;for(t=e.j.c.length;t>24;}function CSn(e){if(e.p!=1){throw O(new Ku);}return Mt(e.k)<<24>>24;}function ISn(e){if(e.p!=7){throw O(new Ku);}return Mt(e.k)<<16>>16;}function PSn(e){if(e.p!=7){throw O(new Ku);}return Mt(e.f)<<16>>16;}function A2(e,n){return n.e==0||e.e==0?b7:(Y4(),PK(e,n));}function iFe(e,n){return Z(n)===Z(e)?"(this Map)":n==null?Au:uo(n);}function NSn(e,n,t){return wR(re(Jc(Mc(e.f,n))),re(Jc(Mc(e.f,t))));}function OSn(e,n,t){var i;i=o(qn(e.g,t),60),xe(e.a.c,new Sr(n,i));}function rFe(e,n,t){e.i=0,e.e=0,n!=t&&(FUe(e,n,t),BUe(e,n,t));}function ASn(e,n,t,i,r){var c;c=$Rn(r,t,i),xe(n,MLn(r,c)),m$n(e,r,n);}function ete(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r;}function cFe(e,n){Pne.call(this),this.a=e,this.b=n,xe(this.a.b,this);}function oFe(e){this.b=new lt,this.c=new lt,this.d=new lt,this.a=e;}function uFe(e,n){var t;return t=new Sv,e.Gd(t),t.a+="..",n.Hd(t),t.a;}function sFe(e,n){var t;for(t=n;t;){tb(e,t.i,t.j),t=Bi(t);}return e;}function fFe(e,n,t){var i;return i=R4(t),Jt(e.b,i,n),Jt(e.c,n,t),n;}function Yh(e){var n;for(n=0;e.Ob();){e.Pb(),n=lc(n,1);}return FC(n);}function ph(e,n){jc();var t;return t=o(e,69).vk(),A$n(t,n),t.xl(n);}function $Sn(e,n,t){if(t){var i=t.oe();e.a[n]=i(t);}else {delete e.a[n];}}function nte(e,n){var t;t=e.q.getHours(),e.q.setFullYear(n+Xd),Ck(e,t);}function LSn(e,n){return o(n==null?Jc(Mc(e.f,null)):J5(e.i,n),288);}function tte(e,n){return e==(On(),cr)&&n==cr?4:e==cr||n==cr?8:32;}function yC(e,n,t){return mP(e,n,t,U(n,102)&&(o(n,19).Bb&kc)!=0);}function DSn(e,n,t){return e6(e,n,t,U(n,102)&&(o(n,19).Bb&kc)!=0);}function RSn(e,n,t){return xRn(e,n,t,U(n,102)&&(o(n,19).Bb&kc)!=0);}function ite(e){e.b!=e.c&&(e.a=ce(Ir,vn,1,8,5,1),e.b=0,e.c=0);}function B8(e){return Zn(e.a=0&&e.a[t]===n[t];t--){;}return t<0;}function kC(e){var n;return e?new Fee(e):(n=new $a,BB(n,e),n);}function GSn(e,n){var t,i;i=!1;do {t=CUe(e,n),i=i|t;}while(t);return i;}function zSn(e){e&&mTn((qJ(),Bae)),--RN,e&&BN!=-1&&(Dyn(BN),BN=-1);}function EC(e){Pce(),JOe(this,Mt(Cr(cb(e,24),PP)),Mt(Cr(e,PP)));}function wFe(){wFe=V,ocn=Et((PI(),R(L(bhe,1),we,436,0,[vG,whe])));}function bFe(){bFe=V,ucn=Et((RC(),R(L(phe,1),we,435,0,[ghe,yG])));}function gFe(){gFe=V,fon=Et((BC(),R(L(Ghe,1),we,432,0,[PG,QN])));}function pFe(){pFe=V,cun=Et((p4(),R(L(run,1),we,517,0,[kj,GG])));}function mFe(){mFe=V,Gun=Et((vC(),R(L(xde,1),we,429,0,[kz,Mde])));}function vFe(){vFe=V,Aun=Et((j_(),R(L(hde,1),we,428,0,[xO,ade])));}function yFe(){yFe=V,Run=Et((m_(),R(L(bde,1),we,488,0,[wde,IO])));}function kFe(){kFe=V,Eln=Et((__(),R(L(ywe,1),we,430,0,[tV,iV])));}function EFe(){EFe=V,Yln=Et((R8(),R(L(Xln,1),we,531,0,[H7,K7])));}function _Fe(){_Fe=V,Iun=Et((IC(),R(L(rde,1),we,431,0,[ide,oz])));}function SFe(){SFe=V,ehn=Et((gC(),R(L(bbe,1),we,433,0,[jV,wbe])));}function jFe(){jFe=V,chn=Et((eI(),R(L(gbe,1),we,501,0,[mA,Dm])));}function TFe(){TFe=V,ian=Et((Fa(),R(L(tan,1),we,523,0,[sg,cd])));}function MFe(){MFe=V,can=Et((ra(),R(L(ran,1),we,522,0,[Mw,Ea])));}function xFe(){xFe=V,yan=Et((Dl(),R(L(van,1),we,528,0,[Kp,s0])));}function CFe(){CFe=V,Man=Et((bb(),R(L(Tan,1),we,465,0,[f0,Am])));}function IFe(){IFe=V,shn=Et((NC(),R(L(mbe,1),we,434,0,[pbe,PV])));}function PFe(){PFe=V,i1n=Et((SC(),R(L(cge,1),we,491,0,[VV,rge])));}function NFe(){NFe=V,c1n=Et((zB(),R(L(age,1),we,492,0,[fge,lge])));}function OFe(){OFe=V,h1n=Et((d_(),R(L(dge,1),we,438,0,[QV,CA])));}function AFe(){AFe=V,I1n=Et(($_(),R(L($ge,1),we,437,0,[PA,Age])));}function $Fe(){$Fe=V,Idn=Et((JD(),R(L(zA,1),we,347,0,[Ype,Jpe])));}function VSn(){return br(),R(L(u9,1),we,88,0,[ja,ro,Xc,Sa,If]);}function WSn(){return Oe(),R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An]);}function XSn(e,n,t){return o(n==null?hu(e.f,null,t):jb(e.i,n,t),288);}function YSn(e){return(e.k==(On(),cr)||e.k==fr)&&Ii(e,(Ee(),T7));}function cB(e){return e.c&&e.d?qne(e.c)+"->"+qne(e.d):"e_"+nb(e);}function Jr(e,n){var t,i;for($n(n),i=e.Kc();i.Ob();){t=i.Pb(),n.Cd(t);}}function JSn(e,n){var t;t=new yv,H0(t,"x",n.a),H0(t,"y",n.b),qv(e,t);}function QSn(e,n){var t;t=new yv,H0(t,"x",n.a),H0(t,"y",n.b),qv(e,t);}function LFe(e,n){var t;for(t=n;t;){tb(e,-t.i,-t.j),t=Bi(t);}return e;}function cte(e,n){var t,i;for(t=n,i=0;t>0;){i+=e.a[t],t-=t&-t;}return i;}function bf(e,n,t){var i;return i=(wn(n,e.c.length),e.c[n]),e.c[n]=t,i;}function ote(e,n,t){e.a.c.length=0,_Un(e,n,t),e.a.c.length==0||YKn(e,n);}function l_(e){e.i=0,gE(e.b,null),gE(e.c,null),e.a=null,e.e=null,++e.g;}function _C(){_C=V,va=!0,Yrn=!1,Jrn=!1,Zrn=!1,Qrn=!1;}function oB(e){_C(),!va&&(this.c=e,this.e=!0,this.a=new Te);}function DFe(e,n){this.c=0,this.b=n,oOe.call(this,e,17493),this.a=this.c;}function RFe(e){FZe(),zxe(this),this.a=new $i,Bie(this,e),Kt(this.a,e);}function BFe(){CD(this),this.b=new ve(Fi,Fi),this.a=new ve(kr,kr);}function SC(){SC=V,VV=new FQ(Lse,0),rge=new FQ("TARGET_WIDTH",1);}function $2(e,n){return(Kd(e),Py(new rn(e,new Ote(n,e.a)))).Bd(N3);}function ZSn(){return ic(),R(L(u1e,1),we,367,0,[vl,Ih,Go,nu,io]);}function ejn(){return tp(),R(L(kun,1),we,375,0,[Sj,jO,TO,SO,_O]);}function njn(){return G1(),R(L(lde,1),we,348,0,[sz,fde,fz,F6,B6]);}function tjn(){return lk(),R(L(hwe,1),we,323,0,[awe,Qz,Zz,L7,D7]);}function ijn(){return Ef(),R(L(Kde,1),we,171,0,[Pj,x7,o0,C7,Pp]);}function rjn(){return WI(),R(L(ohn,1),we,368,0,[CV,TV,IV,MV,xV]);}function cjn(){return _k(),R(L(o1n,1),we,373,0,[Rm,G3,e9,Z7,Xj]);}function ojn(){return oS(),R(L(pge,1),we,324,0,[wge,ZV,gge,eW,bge]);}function ujn(){return Hl(),R(L(Oh,1),we,170,0,[mn,Mr,uh,xw,ud]);}function sjn(){return H2(),R(L(a9,1),we,256,0,[d0,fT,qpe,l9,Upe]);}function fjn(e){return kM(),function(){return eSn(e,this,arguments);};}function yc(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i;}function ute(e,n){return U(n,143)?un(e.c,o(n,143).c):!1;}function ps(e){return e.t||(e.t=new Lxe(e),rk(new QCe(e),0,e.t)),e.t;}function FFe(e){this.b=e,Hn.call(this,e),this.a=o(Cn(this.b.a,4),129);}function KFe(e){this.b=e,Av.call(this,e),this.a=o(Cn(this.b.a,4),129);}function ll(e,n,t,i,r){JFe.call(this,n,i,r),this.c=e,this.b=t;}function ste(e,n,t,i,r){hBe.call(this,n,i,r),this.c=e,this.a=t;}function fte(e,n,t,i,r){dBe.call(this,n,i,r),this.c=e,this.a=t;}function lte(e,n,t,i,r){JFe.call(this,n,i,r),this.c=e,this.a=t;}function uB(e,n){var t;return t=o(fa(e.d,n),23),t||o(fa(e.e,n),23);}function HFe(e,n){var t,i;return t=n.ld(),i=e.Fe(t),!!i&&Po(i.e,n.md());}function qFe(e,n){var t;return t=n.ld(),new Vw(t,e.e.pc(t,o(n.md(),16)));}function ljn(e,n){var t;return t=e.a.get(n),t??ce(Ir,vn,1,0,5,1);}function UFe(e){var n;return n=e.length,un(Bn.substr(Bn.length-n,n),e);}function it(e){if(wt(e)){return e.c=e.a,e.a.Pb();}throw O(new ao);}function ate(e,n){return n==0||e.e==0?e:n>0?OYe(e,n):ize(e,-n);}function Yv(e,n){return n==0||e.e==0?e:n>0?ize(e,n):OYe(e,-n);}function hte(e){kyn.call(this,e==null?Au:uo(e),U(e,82)?o(e,82):null);}function GFe(e){var n;return e.c||(n=e.r,U(n,90)&&(e.c=o(n,29))),e.c;}function sB(e){var n;return n=new db,no(n,e),de(n,($e(),Wc),null),n;}function zFe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(On(),fr)&&t.k==fr;}function fB(e){var n,t,i;return n=e&Es,t=e>>22&Es,i=e<0?a1:0,gu(n,t,i);}function ajn(e){var n,t,i,r;for(t=e,i=0,r=t.length;i=0?e.Lh(i,t,!0):Nb(e,n,t);}function djn(e,n,t){return Si(Nv(F4(e),Wr(n.b)),Nv(F4(e),Wr(t.b)));}function wjn(e,n,t){return Si(Nv(F4(e),Wr(n.e)),Nv(F4(e),Wr(t.e)));}function bjn(e,n){return p.Math.min($d(n.a,e.d.d.c),$d(n.b,e.d.d.c));}function a_(e,n){e._i(e.i+1),b8(e,e.i,e.Zi(e.i,n)),e.Mi(e.i++,n),e.Ni();}function F8(e){var n,t;++e.j,n=e.g,t=e.i,e.g=null,e.i=0,e.Oi(t,n),e.Ni();}function VFe(e,n,t){var i;i=new aZ(e.a),V8(i,e.a.a),hu(i.f,n,t),e.a.a=i;}function dte(e,n,t,i){var r;for(r=0;rn){throw O(new Kc(toe(e,n,"index")));}return e;}function L1(e,n){var t;return t=(wn(n,e.c.length),e.c[n]),oQ(e.c,n,1),t;}function gte(e,n){var t,i;return t=($n(e),e),i=($n(n),n),t==i?0:tn.p?-1:0;}function nKe(e){var n;return e.a||(n=e.r,U(n,156)&&(e.a=o(n,156))),e.a;}function kjn(e,n,t){var i;return++e.e,--e.f,i=o(e.d[n].gd(t),136),i.md();}function Ejn(e){var n,t;return n=e.ld(),t=o(e.md(),16),UE(t.Nc(),new JSe(n));}function tKe(e,n){return pu(e.a,n)?(Jv(e.a,n),!0):!1;}function Qv(e,n,t){return f_(n,e.e.Rd().gc()),f_(t,e.c.Rd().gc()),e.a[n][t];}function TC(e,n,t){this.a=e,this.b=n,this.c=t,xe(e.t,this),xe(n.i,this);}function MC(e,n,t,i){this.f=e,this.e=n,this.d=t,this.b=i,this.c=i?i.d:null;}function h_(){this.b=new $i,this.a=new $i,this.b=new $i,this.a=new $i;}function r4(){r4=V;var e,n;r$=(Iy(),n=new bM,n),c$=(e=new kL,e);}function _jn(e){var n;return Kd(e),n=new W$e(e,e.a.e,e.a.d|4),new DZ(e,n);}function iKe(e){var n;for(Nd(e),n=0;e.a.Bd(new en);){n=lc(n,1);}return n;}function xC(e,n){return $n(n),e.c=0,"Initial capacity must not be negative");}function CC(){CC=V,n9=new ki("org.eclipse.elk.labels.labelManager");}function rKe(){rKe=V,Q1e=new Gi("separateLayerConnections",(lI(),XG));}function Dl(){Dl=V,Kp=new $Q("REGULAR",0),s0=new $Q("CRITICAL",1);}function d_(){d_=V,QV=new HQ("FIXED",0),CA=new HQ("CENTER_NODE",1);}function IC(){IC=V,ide=new MQ("QUADRATIC",0),oz=new MQ("SCANLINE",1);}function cKe(){cKe=V,Pun=Et((U8(),R(L(ode,1),we,322,0,[E7,jj,cde])));}function oKe(){oKe=V,Nun=Et((VC(),R(L(sde,1),we,351,0,[ude,MO,uz])));}function uKe(){uKe=V,Mun=Et((Eb(),R(L(JG,1),we,372,0,[Yb,r0,Xb])));}function sKe(){sKe=V,Lun=Et((Q0(),R(L($un,1),we,460,0,[lz,K6,Em])));}function fKe(){fKe=V,Hun=Et((E4(),R(L(yz,1),we,299,0,[mz,vz,Tj])));}function lKe(){lKe=V,Uun=Et((e1(),R(L(qun,1),we,311,0,[Mj,Sm,L3])));}function aKe(){aKe=V,pln=Et((ek(),R(L(lwe,1),we,390,0,[Xz,fwe,rA])));}function hKe(){hKe=V,jln=Et((uI(),R(L(_we,1),we,387,0,[kwe,rV,Ewe])));}function dKe(){dKe=V,Tln=Et((J8(),R(L(Swe,1),we,349,0,[oV,cV,Rj])));}function wKe(){wKe=V,Sln=Et((xc(),R(L(_ln,1),we,463,0,[R7,as,wu])));}function bKe(){bKe=V,Mln=Et((I4(),R(L(Twe,1),we,350,0,[uV,jwe,B7])));}function gKe(){gKe=V,xln=Et((zC(),R(L(Cwe,1),we,352,0,[xwe,sV,Mwe])));}function pKe(){pKe=V,Cln=Et((aI(),R(L(Iwe,1),we,388,0,[fV,e5,Fp])));}function mKe(){mKe=V,Ian=Et((Q8(),R(L(Vwe,1),we,392,0,[zwe,hV,Kj])));}function vKe(){vKe=V,fhn=Et((B_(),R(L(kbe,1),we,393,0,[vA,vbe,ybe])));}function yKe(){yKe=V,Ihn=Et((oI(),R(L(Bbe,1),we,300,0,[LV,Rbe,Dbe])));}function kKe(){kKe=V,Phn=Et((TI(),R(L(Fbe,1),we,445,0,[zj,EA,DV])));}function EKe(){EKe=V,Ohn=Et((DI(),R(L(Nhn,1),we,456,0,[RV,FV,BV])));}function _Ke(){_Ke=V,Lhn=Et((yI(),R(L(qbe,1),we,394,0,[Hbe,qV,Kbe])));}function SKe(){SKe=V,r1n=Et((OC(),R(L(sge,1),we,439,0,[WV,uge,oge])));}function jKe(){jKe=V,Gln=Et((kb(),R(L(Uln,1),we,464,0,[Bj,F7,sA])));}function TKe(){TKe=V,dcn=Et((us(),R(L(hcn,1),we,471,0,[ih,t0,pl])));}function MKe(){MKe=V,acn=Et((Fl(),R(L(_p,1),we,237,0,[Mo,du,xo])));}function xKe(){xKe=V,bcn=Et((Nu(),R(L(wcn,1),we,472,0,[Gl,i0,ml])));}function CKe(){CKe=V,ecn=Et((ss(),R(L(Vc,1),we,108,0,[dhe,fo,Ep])));}function IKe(){IKe=V,$on=Et((K8(),R(L(o1e,1),we,391,0,[$G,AG,LG])));}function PKe(){PKe=V,bdn=Et((i1(),R(L(Hpe,1),we,346,0,[BA,fd,f9])));}function NKe(){NKe=V,s1n=Et((G_(),R(L(XV,1),we,444,0,[TA,MA,xA])));}function OKe(){OKe=V,adn=Et((la(),R(L(Ipe,1),we,278,0,[u5,Gp,s5])));}function AKe(){AKe=V,Cdn=Et((r3(),R(L(Xpe,1),we,280,0,[Wpe,Vp,GA])));}function sa(e,n){return!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),MF(e.o,n);}function Sjn(e,n){var t;e.C&&(t=o(Dc(e.b,n),127).n,t.d=e.C.d,t.a=e.C.a);}function kte(e){var n,t,i,r;r=e.d,n=e.a,t=e.b,i=e.c,e.d=t,e.a=i,e.b=r,e.c=n;}function jjn(e){return!e.g&&(e.g=new iM),!e.g.b&&(e.g.b=new Nxe(e)),e.g.b;}function w_(e){return!e.g&&(e.g=new iM),!e.g.c&&(e.g.c=new $xe(e)),e.g.c;}function Tjn(e){return!e.g&&(e.g=new iM),!e.g.d&&(e.g.d=new Oxe(e)),e.g.d;}function Mjn(e){return!e.g&&(e.g=new iM),!e.g.a&&(e.g.a=new Axe(e)),e.g.a;}function xjn(e,n,t,i){return t&&(i=t.Rh(n,qi(t.Dh(),e.c.uk()),null,i)),i;}function Cjn(e,n,t,i){return t&&(i=t.Th(n,qi(t.Dh(),e.c.uk()),null,i)),i;}function dB(e,n,t,i){var r;return r=ce(vt,Gt,28,n+1,15,1),OHn(r,e,n,t,i),r;}function ce(e,n,t,i,r,c){var s;return s=cVe(r,i),r!=10&&R(L(e,c),n,t,r,s),s;}function Ijn(e,n,t){var i,r;for(r=new k4(n,e),i=0;it||n=0?e.Lh(t,!0,!0):Nb(e,n,!0);}function Vjn(e,n,t){var i;return i=DUe(e,n,t),e.b=new tI(i.c.length),Uoe(e,i);}function Wjn(e){if(e.b<=0){throw O(new ao);}return--e.b,e.a-=e.c.c,je(e.a);}function Xjn(e){var n;if(!e.a){throw O(new VDe);}return n=e.a,e.a=Bi(e.a),n;}function Yjn(e){for(;!e.a;){if(!v$e(e.c,new Hje(e))){return!1;}}return!0;}function Zv(e){var n;return xt(e),U(e,204)?(n=o(e,204),n):new cje(e);}function Jjn(e){PC(),o(e.of((Wt(),Up)),181).Fc((fs(),lT)),e.qf(yW,null);}function PC(){PC=V,O1n=new K7e,$1n=new H7e,A1n=Bxn((Wt(),yW),O1n,a0,$1n);}function NC(){NC=V,pbe=new BQ("LEAF_NUMBER",0),PV=new BQ("NODE_SIZE",1);}function mB(e){e.a=ce(vt,Gt,28,e.b+1,15,1),e.c=ce(vt,Gt,28,e.b,15,1),e.d=0;}function Qjn(e,n){e.a.Ne(n.d,e.b)>0&&(xe(e.c,new Eee(n.c,n.d,e.d)),e.b=n.d);}function Pte(e,n){if(e.g==null||n>=e.i){throw O(new SD(n,e.i));}return e.g[n];}function RKe(e,n,t){if(M4(e,t),t!=null&&!e.fk(t)){throw O(new mL);}return t;}function vB(e,n){return S_(n)!=10&&R(Ds(n),n.Sm,n.__elementTypeId$,S_(n),e),e;}function o4(e,n,t,i){var r;i=(hb(),i||ohe),r=e.slice(n,t),ioe(r,e,n,t,-n,i);}function gf(e,n,t,i,r){return n<0?Nb(e,t,i):o(t,69).wk().yk(e,e.hi(),n,i,r);}function Zjn(e,n){return Si(J(re(M(e,(Ee(),Zb)))),J(re(M(n,Zb))));}function BKe(){BKe=V,Wrn=Et((u4(),R(L(UN,1),we,304,0,[dG,wG,bG,gG])));}function u4(){u4=V,dG=new BM("All",0),wG=new COe,bG=new ROe,gG=new xOe;}function us(){us=V,ih=new XL(k3,0),t0=new XL(h6,1),pl=new XL(E3,2);}function FKe(){FKe=V,vP(),B2e=Fi,L0n=kr,F2e=new tE(Fi),D0n=new tE(kr);}function KKe(){KKe=V,Fcn=Et((Sb(),R(L(Bcn,1),we,417,0,[hj,aj,SG,jG])));}function HKe(){HKe=V,Gcn=Et((ak(),R(L(Ucn,1),we,406,0,[pj,WN,XN,mj])));}function qKe(){qKe=V,Hcn=Et((u3(),R(L(Kcn,1),we,332,0,[wj,dj,bj,gj])));}function UKe(){UKe=V,Yon=Et((nw(),R(L(l1e,1),we,389,0,[Tp,f1e,KG,HG])));}function GKe(){GKe=V,Uon=Et((_4(),R(L(qon,1),we,416,0,[Wb,jp,Sp,pm])));}function zKe(){zKe=V,yun=Et((aa(),R(L(vun,1),we,421,0,[$3,A6,$6,YG])));}function VKe(){VKe=V,fun=Et((lI(),R(L(sun,1),we,371,0,[XG,kO,EO,_j])));}function WKe(){WKe=V,mln=Et((ep(),R(L(Jz,1),we,203,0,[cA,Yz,Om,Nm])));}function XKe(){XKe=V,kln=Et((qa(),R(L(vwe,1),we,284,0,[rd,mwe,eV,nV])));}function m_(){m_=V,wde=new CQ(Qa,0),IO=new CQ("IMPROVE_STRAIGHTNESS",1);}function YKe(e,n){var t,i;return i=n/e.c.Rd().gc()|0,t=n%e.c.Rd().gc(),Qv(e,i,t);}function JKe(e){var n;if(e.nl()){for(n=e.i-1;n>=0;--n){z(e,n);}}return Zne(e);}function Nte(e){var n,t;if(!e.b){return null;}for(t=e.b;n=t.a[0];){t=n;}return t;}function QKe(e){var n,t;if(!e.b){return null;}for(t=e.b;n=t.a[1];){t=n;}return t;}function eTn(e){return U(e,180)?""+o(e,180).a:e==null?null:uo(e);}function nTn(e){return U(e,180)?""+o(e,180).a:e==null?null:uo(e);}function ZKe(e,n){if(n.a){throw O(new ho(men));}vr(e.a,n),n.a=e,!e.j&&(e.j=n);}function Ote(e,n){fx.call(this,n.zd(),n.yd()&-16449),$n(e),this.a=e,this.c=n;}function tTn(e,n){return new ZD(n,tb(Wr(n.e),n.f.a+e,n.f.b+e),(jn(),!1));}function iTn(e,n){return qy(),xe(e,new Sr(n,je(n.e.c.length+n.g.c.length)));}function rTn(e,n){return qy(),xe(e,new Sr(n,je(n.e.c.length+n.g.c.length)));}function eHe(){eHe=V,Chn=Et((KI(),R(L(Lbe,1),we,354,0,[$V,Abe,$be,Obe])));}function nHe(){nHe=V,Zan=Et((Z8(),R(L(dbe,1),we,353,0,[SV,pA,_V,EV])));}function tHe(){tHe=V,xan=Et((l3(),R(L($we,1),we,405,0,[hA,q7,U7,G7])));}function iHe(){iHe=V,hdn=Et((r1(),R(L(SW,1),we,223,0,[_W,oT,f5,Y3])));}function rHe(){rHe=V,pdn=Et((Xs(),R(L(gdn,1),we,291,0,[sT,Ah,h0,uT])));}function cHe(){cHe=V,Mdn=Et((Rs(),R(L(w9,1),we,386,0,[hT,Ow,aT,zp])));}function oHe(){oHe=V,Pdn=Et((EI(),R(L(n2e,1),we,320,0,[MW,Qpe,e2e,Zpe])));}function uHe(){uHe=V,Adn=Et((hI(),R(L(Odn,1),we,415,0,[xW,i2e,t2e,r2e])));}function OC(){OC=V,WV=new vD(Lnn,0),uge=new vD(nle,1),oge=new vD(Qa,2);}function Ug(e,n,t,i,r){return $n(e),$n(n),$n(t),$n(i),$n(r),new rne(e,n,i);}function sHe(e,n){var t;return t=o(Jv(e.e,n),400),t?(Oee(t),t.e):null;}function Pu(e,n){var t;return t=eo(e,n,0),t==-1?!1:(L1(e,t),!0);}function fHe(e,n,t){var i;return Nd(e),i=new q,i.a=n,e.a.Nb(new UPe(i,t)),i.a;}function cTn(e){var n;return Nd(e),n=ce(Br,Bc,28,0,15,1),b2(e.a,new Bje(n)),n;}function Ate(e){var n;if(!$B(e)){throw O(new ao);}return e.e=1,n=e.d,e.d=null,n;}function R1(e){var n;return co(e)&&(n=0-e,!isNaN(n))?n:Dd(j4(e));}function eo(e,n,t){for(;t=0?$I(e,t,!0,!0):Nb(e,n,!0);}function Lte(e){var n;return n=V0(Cn(e,32)),n==null&&(ku(e),n=V0(Cn(e,32))),n;}function Dte(e){var n;return e.Oh()||(n=tt(e.Dh())-e.ji(),e.$h().Mk(n)),e.zh();}function bHe(e,n){Lhe=new ZT,qcn=n,p7=e,o(p7.b,68),Ste(p7,Lhe,null),IQe(p7);}function K8(){K8=V,$G=new JL("XY",0),AG=new JL("X",1),LG=new JL("Y",2);}function Nu(){Nu=V,Gl=new YL("TOP",0),i0=new YL(h6,1),ml=new YL(wse,2);}function e1(){e1=V,Mj=new iD(Qa,0),Sm=new iD("TOP",1),L3=new iD(wse,2);}function __(){__=V,tV=new PQ("INPUT_ORDER",0),iV=new PQ("PORT_DEGREE",1);}function s4(){s4=V,Kae=gu(Es,Es,524287),Nrn=gu(0,0,AS),Hae=fB(1),fB(2),qae=fB(0);}function SB(e){var n;return e.d!=e.r&&(n=Bf(e),e.e=!!n&&n.lk()==Nin,e.d=n),e.e;}function jB(e,n,t){var i;return i=e.g[n],b8(e,n,e.Zi(n,t)),e.Ri(n,t,i),e.Ni(),i;}function DC(e,n){var t;return t=e.dd(n),t>=0?(e.gd(t),!0):!1;}function TB(e,n){var t;for(xt(e),xt(n),t=!1;n.Ob();){t=t|e.Fc(n.Pb());}return t;}function fa(e,n){var t;return t=o(qn(e.e,n),400),t?(YOe(e,t),t.e):null;}function gHe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t);}function Gg(e,n){var t=e.a[n],i=(QB(),uG)[typeof t];return i?i(t):zie(typeof t);}function go(e,n){var t,i;return Kd(e),i=new mte(n,e.a),t=new E$e(i),new rn(e,t);}function MB(e){var n;return n=e.b.c.length==0?null:Re(e.b,0),n!=null&&DB(e,0),n;}function fTn(e,n){var t,i,r;r=n.c.i,t=o(qn(e.f,r),60),i=t.d.c-t.e.c,bie(n.a,i,0);}function Rte(e,n){var t;for(++e.d,++e.c[n],t=n+1;t=0;){++n[0];}}function lTn(e,n){vu(e,n==null||Sx(($n(n),n))||isNaN(($n(n),n))?0:($n(n),n));}function aTn(e,n){yu(e,n==null||Sx(($n(n),n))||isNaN(($n(n),n))?0:($n(n),n));}function hTn(e,n){yb(e,n==null||Sx(($n(n),n))||isNaN(($n(n),n))?0:($n(n),n));}function dTn(e,n){vb(e,n==null||Sx(($n(n),n))||isNaN(($n(n),n))?0:($n(n),n));}function wTn(e,n,t){return Nv(new ve(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)==($n(n),n);}function bTn(e,n){return U(n,102)&&o(n,19).Bb&kc?new jD(n,e):new k4(n,e);}function gTn(e,n){return U(n,102)&&o(n,19).Bb&kc?new jD(n,e):new k4(n,e);}function S_(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$;}function vHe(e,n){return n==(WD(),WD(),Grn)?e.toLocaleLowerCase():e.toLowerCase();}function yHe(e){if(!e.e){throw O(new ao);}return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f;}function Bte(e){if(!e.c){throw O(new ao);}return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f;}function kHe(e){var n;for(++e.a,n=e.c.a.length;e.ae.a[i]&&(i=t);}return i;}function EHe(e){var n;return n=o(M(e,(Ee(),Jb)),313),n?n.a==e:!1;}function _He(e){var n;return n=o(M(e,(Ee(),Jb)),313),n?n.i==e:!1;}function SHe(){SHe=V,Bon=Et((ic(),R(L(u1e,1),we,367,0,[vl,Ih,Go,nu,io])));}function jHe(){jHe=V,Eun=Et((tp(),R(L(kun,1),we,375,0,[Sj,jO,TO,SO,_O])));}function THe(){THe=V,Oun=Et((G1(),R(L(lde,1),we,348,0,[sz,fde,fz,F6,B6])));}function MHe(){MHe=V,vln=Et((lk(),R(L(hwe,1),we,323,0,[awe,Qz,Zz,L7,D7])));}function xHe(){xHe=V,zun=Et((Ef(),R(L(Kde,1),we,171,0,[Pj,x7,o0,C7,Pp])));}function CHe(){CHe=V,uhn=Et((WI(),R(L(ohn,1),we,368,0,[CV,TV,IV,MV,xV])));}function IHe(){IHe=V,u1n=Et((_k(),R(L(o1n,1),we,373,0,[Rm,G3,e9,Z7,Xj])));}function PHe(){PHe=V,d1n=Et((oS(),R(L(pge,1),we,324,0,[wge,ZV,gge,eW,bge])));}function NHe(){NHe=V,ldn=Et((br(),R(L(u9,1),we,88,0,[ja,ro,Xc,Sa,If])));}function OHe(){OHe=V,L1n=Et((Hl(),R(L(Oh,1),we,170,0,[mn,Mr,uh,xw,ud])));}function AHe(){AHe=V,vdn=Et((H2(),R(L(a9,1),we,256,0,[d0,fT,qpe,l9,Upe])));}function $He(){$He=V,Edn=Et((Oe(),R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An])));}function RC(){RC=V,ghe=new kQ("BY_SIZE",0),yG=new kQ("BY_SIZE_AND_SHAPE",1);}function BC(){BC=V,PG=new SQ("EADES",0),QN=new SQ("FRUCHTERMAN_REINGOLD",1);}function j_(){j_=V,xO=new xQ("READING_DIRECTION",0),ade=new xQ("ROTATION",1);}function H8(){H8=V,Von=new Eye,Won=new jye,Gon=new Tye,zon=new Sye,Xon=new Mye;}function LHe(e){this.b=new Te,this.a=new Te,this.c=new Te,this.d=new Te,this.e=e;}function DHe(e){this.g=e,this.f=new Te,this.a=p.Math.min(this.g.c.c,this.g.d.c);}function RHe(e,n,t){Ex.call(this),Hte(this),this.a=e,this.c=t,this.b=n.d,this.f=n.e;}function ETn(e,n,t){var i,r;for(r=new N(t);r.a=0&&n0?n-1:n,vIe(X3n(sqe(Cee(new vv,t),e.n),e.j),e.k);}function Gc(e){var n,t;t=(n=new EL,n),pt((!e.q&&(e.q=new he(Jf,e,11,10)),e.q),t);}function Fte(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(zh(e),e.o);}function FC(e){return Lo(e,fi)>0?fi:Lo(e,rc)<0?rc:Mt(e);}function zg(e){return e<3?(Vs(e,ZZe),e+1):e=-.01&&e.a<=ga&&(e.a=0),e.b>=-.01&&e.b<=ga&&(e.b=0),e;}function L2(e){Q2();var n,t;for(t=rle,n=0;nt&&(t=e[n]);}return t;}function HHe(e,n){var t;if(t=bS(e.Dh(),n),!t){throw O(new In(Zd+n+yU));}return t;}function Vg(e,n){var t;for(t=e;Bi(t);){if(t=Bi(t),t==n){return!0;}}return!1;}function OTn(e,n){var t,i,r;for(i=n.a.ld(),t=o(n.a.md(),16).gc(),r=0;re||e>n){throw O(new WJ("fromIndex: 0, toIndex: "+e+tse+n));}}function mb(e){if(e<0){throw O(new In("Illegal Capacity: "+e));}this.g=this.aj(e);}function Kte(e,n){return na(),al(Wd),p.Math.abs(e-n)<=Wd||e==n||isNaN(e)&&isNaN(n);}function IB(e,n){var t,i,r,c;for(i=e.d,r=0,c=i.length;r0&&(e.a/=n,e.b/=n),e;}function Gs(e){var n;return e.w?e.w:(n=j_n(e),n&&!n.Vh()&&(e.w=n),n);}function f4(e,n){var t,i;i=e.a,t=CCn(e,n,null),i!=n&&!e.e&&(t=i6(e,n,t)),t&&t.oj();}function VHe(e,n,t){var i,r;i=n;do {r=J(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];}while(i!=n);}function WHe(e,n,t){var i=function(){return e.apply(i,arguments);};return n.apply(i,t),i;}function FTn(e){var n;return e==null?null:(n=o(e,195),QAn(n,n.length));}function z(e,n){if(e.g==null||n>=e.i){throw O(new SD(n,e.i));}return e.Wi(n,e.g[n]);}function KTn(e,n){dn();var t,i;for(i=new Te,t=0;t=14&&n<=16))),e;}function kt(e,n){var t;return $n(n),t=e[":"+n],zE(!!t,"Enum constant undefined: "+n),t;}function ht(e,n,t,i,r,c){var s;return s=TR(e,n),fqe(t,s),s.i=r?8:0,s.f=i,s.e=r,s.g=c,s;}function Ute(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=e,this.a=t;}function Gte(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=e,this.a=t;}function zte(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=e,this.a=t;}function Vte(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=e,this.a=t;}function Wte(e,n,t,i,r){this.d=n,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=e,this.a=t;}function lqe(e,n){var t,i,r,c;for(i=n,r=0,c=i.length;r=0)){throw O(new In("tolerance ("+e+") must be >= 0"));}return e;}function hqe(e,n){var t;return U(n,44)?e.c.Mc(n):(t=MF(e,n),MI(e,n),t);}function Rc(e,n,t){return ew(e,n),lu(e,t),B1(e,0),Wg(e,1),U1(e,!0),q1(e,!0),e;}function M_(e,n){var t;if(t=e.gc(),n<0||n>t){throw O(new $g(n,t));}return new cee(e,n);}function WC(e,n){e.b=p.Math.max(e.b,n.d),e.e+=n.r+(e.a.c.length==0?0:e.c),xe(e.a,n);}function dqe(e){Ng(e.c>=0),nPn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1;}function XC(e){var n,t;for(t=e.c.Cc().Kc();t.Ob();){n=o(t.Pb(),16),n.$b();}e.c.$b(),e.d=0;}function JTn(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i=0;}function nie(e,n){e.r>0&&e.c0&&e.g!=0&&nie(e.i,n/e.r*e.i.d));}function tie(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,1,t,e.c));}function OB(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,4,t,e.c));}function g4(e,n){var t;t=e.k,e.k=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,2,t,e.k));}function AB(e,n){var t;t=e.D,e.D=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,2,t,e.D));}function JC(e,n){var t;t=e.f,e.f=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,8,t,e.f));}function QC(e,n){var t;t=e.i,e.i=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,7,t,e.i));}function iie(e,n){var t;t=e.a,e.a=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,8,t,e.a));}function rie(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,0,t,e.b));}function cie(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,0,t,e.b));}function oie(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,1,t,e.c));}function uie(e,n){var t;t=e.d,e.d=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,1,t,e.d));}function rMn(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new ACe:new $Y,e.c=mFn(i,e.b,e.a);}function jqe(e,n){return f1(e.e,n)?(jc(),SB(n)?new Ax(n,e):new IE(n,e)):new ZNe(n,e);}function cMn(e){var n,t;return 0>e?new fQ:(n=e+1,t=new DFe(n,e),new RZ(null,t));}function oMn(e,n){dn();var t;return t=new jv(1),Dr(e)?qc(t,e,n):hu(t.f,e,n),new dL(t);}function uMn(e,n){var t,i;return t=e.c,i=n.e[e.p],i>0?o(Re(t.a,i-1),10):null;}function sMn(e,n){var t,i;return t=e.o+e.p,i=n.o+n.p,tn?(n<<=1,n>0?n:Lk):n;}function $B(e){switch(mZ(e.e!=3),e.e){case 2:return!1;case 0:return!0;}return pjn(e);}function Mqe(e,n){var t;return U(n,8)?(t=o(n,8),e.a==t.a&&e.b==t.b):!1;}function lMn(e,n){var t;t=new ZT,o(n.b,68),o(n.b,68),o(n.b,68),mu(n.a,new bee(e,t,n));}function xqe(e,n){var t,i;for(i=n.vc().Kc();i.Ob();){t=o(i.Pb(),44),tS(e,t.ld(),t.md());}}function sie(e,n){var t;t=e.d,e.d=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,11,t,e.d));}function ZC(e,n){var t;t=e.j,e.j=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,13,t,e.j));}function fie(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,21,t,e.b));}function aMn(e,n){(_C(),va?null:n.c).length==0&&UAe(n,new ye),qc(e.a,va?null:n.c,n);}function hMn(e,n){n.Ug("Hierarchical port constraint processing",1),IPn(e),Yzn(e),n.Vg();}function Eb(){Eb=V,Yb=new QL("START",0),r0=new QL("MIDDLE",1),Xb=new QL("END",2);}function eI(){eI=V,mA=new RQ("P1_NODE_PLACEMENT",0),Dm=new RQ("P2_EDGE_ROUTING",1);}function Ld(){Ld=V,A3=new ki(Mse),nO=new ki(qen),v7=new ki(Uen),vj=new ki(Gen);}function _b(e){var n;return XD(e.f.g,e.d),Zn(e.b),e.c=e.a,n=o(e.a.Pb(),44),e.b=Eie(e),n;}function lie(e){var n;return e.b==null?(C1(),C1(),kT):(n=e.ul()?e.tl():e.sl(),n);}function Cqe(e,n){var t;return t=n==null?-1:eo(e.b,n,0),t<0?!1:(DB(e,t),!0);}function hl(e,n){var t;return $n(n),t=n.g,e.b[t]?!1:(Yi(e.b,t,n),++e.c,!0);}function nI(e,n){var t,i;return t=1-n,i=e.a[t],e.a[t]=i.a[n],i.a[n]=e,e.b=!0,i.b=!1,i;}function dMn(e,n){var t,i;for(i=n.Kc();i.Ob();){t=o(i.Pb(),272),e.b=!0,vr(e.e,t),t.b=e;}}function wMn(e,n){var t,i;return t=o(M(e,($e(),Dp)),8),i=o(M(n,Dp),8),Si(t.b,i.b);}function LB(e,n,t){var i,r,c;return c=n>>5,r=n&31,i=Cr(Id(e.n[t][c],Mt(fl(r,1))),3),i;}function Iqe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i0?1:0:(!e.c&&(e.c=o_(No(e.f))),e.c).e;}function Bqe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null);}function mMn(e,n){return _4(),e==Wb&&n==jp||e==jp&&n==Wb||e==pm&&n==Sp||e==Sp&&n==pm;}function vMn(e,n){return _4(),e==Wb&&n==Sp||e==Wb&&n==pm||e==jp&&n==pm||e==jp&&n==Sp;}function Fqe(e,n){return na(),al(ga),p.Math.abs(0-n)<=ga||n==0||isNaN(0)&&isNaN(n)?0:e/n;}function Kqe(e,n){return J(re(Os(q_(Qc(new rn(null,new ln(e.c.b,16)),new WTe(e)),n))));}function wie(e,n){return J(re(Os(q_(Qc(new rn(null,new ln(e.c.b,16)),new VTe(e)),n))));}function yMn(){return Cc(),R(L(pz,1),we,259,0,[NO,Cf,S7,OO,U6,_m,j7,H6,q6,AO]);}function kMn(){return Ff(),R(L(pwe,1),we,243,0,[oA,Lj,Dj,wwe,bwe,dwe,gwe,uA,ug,Bp]);}function EMn(e,n){var t;n.Ug("General Compactor",1),t=MIn(o(be(e,(zd(),OV)),393)),t.Cg(e);}function _Mn(e,n){var t,i;return t=o(be(e,(zd(),yA)),17),i=o(be(n,yA),17),$o(t.a,i.a);}function bie(e,n,t){var i,r;for(r=dt(e,0);r.b!=r.d.c;){i=o(at(r),8),i.a+=n,i.b+=t;}return e;}function G8(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b){if(t==i.a&&Ba(n,i.g)){return i;}}return null;}function z8(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d){if(t==i.f&&Ba(n,i.i)){return i;}}return null;}function SMn(e,n,t){var i,r,c;for(i=0,r=0;r>>31;}i!=0&&(e[t]=i);}function KB(e,n,t,i,r,c){var s;this.c=e,s=new Te,Wre(e,s,n,e.b,t,i,r,c),this.a=new Gr(s,0);}function Hqe(){this.c=new TM(0),this.b=new TM(ile),this.d=new TM(Cnn),this.a=new TM(fq);}function mf(e,n,t,i,r,c,s){yt.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=oa(s);}function ir(e,n,t,i,r,c,s,f,h,d,b,m,E){return VWe(e,n,t,i,r,c,s,f,h,d,b,m,E),yF(e,!1),e;}function jMn(e){return e.b.c.i.k==(On(),fr)?o(M(e.b.c.i,(Ee(),mi)),12):e.b.c;}function qqe(e){return e.b.d.i.k==(On(),fr)?o(M(e.b.d.i,(Ee(),mi)),12):e.b.d;}function TMn(e){var n;return n=pC(e),Jw(n.a,0)?(IM(),IM(),zrn):(IM(),new SAe(n.b));}function HB(e){var n;return n=Vne(e),Jw(n.a,0)?(Tg(),Tg(),hG):(Tg(),new BD(n.b));}function qB(e){var n;return n=Vne(e),Jw(n.a,0)?(Tg(),Tg(),hG):(Tg(),new BD(n.c));}function Uqe(e){switch(e.g){case 2:return Oe(),An;case 4:return Oe(),Kn;default:return e;}}function Gqe(e){switch(e.g){case 1:return Oe(),st;case 3:return Oe(),Nn;default:return e;}}function zqe(e){switch(e.g){case 0:return new x7e;case 1:return new C7e;default:return null;}}function n3(){n3=V,WG=new Gi("edgelabelcenterednessanalysis.includelabel",(jn(),n0));}function gie(){gie=V,qln=Ua(dOe(Ut(Ut(new dr,(ic(),Go),(hc(),dO)),nu,sO),io),hO);}function Vqe(){Vqe=V,Vln=Ua(dOe(Ut(Ut(new dr,(ic(),Go),(hc(),dO)),nu,sO),io),hO);}function UB(){UB=V,y9=new CCe,LW=R(L(Ru,1),dm,179,0,[]),w0n=R(L(Jf,1),Eae,62,0,[]);}function p4(){p4=V,kj=new jQ("TO_INTERNAL_LTR",0),GG=new jQ("TO_INPUT_DIRECTION",1);}function Wu(){Wu=V,g1e=new Oye,w1e=new Aye,b1e=new $ye,d1e=new Lye,p1e=new Dye,m1e=new Rye;}function MMn(e,n){n.Ug(onn,1),vre(ayn(new fM((G5(),new NR(e,!1,!1,new yY))))),n.Vg();}function xMn(e,n,t){t.Ug("DFS Treeifying phase",1),GIn(e,n),qBn(e,n),e.a=null,e.b=null,t.Vg();}function x_(e,n){return jn(),Dr(e)?gte(e,Nt(n)):Ig(e)?wR(e,re(n)):Cg(e)?m7n(e,Le(n)):e.Fd(n);}function V8(e,n){var t,i;for($n(n),i=n.vc().Kc();i.Ob();){t=o(i.Pb(),44),e.zc(t.ld(),t.md());}}function CMn(e,n,t){var i;for(i=t.Kc();i.Ob();){if(!yC(e,n,i.Pb())){return!1;}}return!0;}function IMn(e,n,t,i,r){var c;return t&&(c=qi(n.Dh(),e.c),r=t.Rh(n,-1-(c==-1?i:c),null,r)),r;}function PMn(e,n,t,i,r){var c;return t&&(c=qi(n.Dh(),e.c),r=t.Th(n,-1-(c==-1?i:c),null,r)),r;}function Wqe(e){var n;if(e.b==-2){if(e.e==0){n=-1;}else {for(n=0;e.a[n]==0;n++){;}}e.b=n;}return e.b;}function NMn(e){if($n(e),e.length==0){throw O(new Oa("Zero length BigInteger"));}DKn(this,e);}function pie(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g));}function Xqe(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new Te,ULn(this),dn(),sr(this.a,null);}function mie(e,n){n.q=e,e.d=p.Math.max(e.d,n.r),e.b+=n.d+(e.a.c.length==0?0:e.c),xe(e.a,n);}function m4(e,n){var t,i,r,c;return r=e.c,t=e.c+e.b,c=e.d,i=e.d+e.a,n.a>r&&n.ac&&n.br?t=r:Pn(n,t+1),e.a=df(e.a,0,n)+(""+i)+hne(e.a,t);}function rUe(e,n){e.a=lc(e.a,1),e.c=p.Math.min(e.c,n),e.b=p.Math.max(e.b,n),e.d=lc(e.d,n);}function BMn(e,n){return n1||e.Ob()){return++e.a,e.g=0,n=e.i,e.Ob(),n;}throw O(new ao);}function sUe(e){switch(e.a.g){case 1:return new dNe;case 3:return new dVe;default:return new TSe;}}function yie(e,n){switch(n){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null;}return zne(e,n);}function No(e){return $S>22),r=e.h+n.h+(i>>22),gu(t&Es,i&Es,r&a1);}function gUe(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),gu(t&Es,i&Es,r&a1);}function oxn(e){var n,t;for(ZGn(e),t=new N(e.d);t.ai){throw O(new $g(n,i));}return e.Si()&&(t=ARe(e,t)),e.Ei(n,t);}function S4(e,n,t,i,r){var c,s;for(s=t;s<=r;s++){for(c=n;c<=i;c++){U2(e,c,s)||bP(e,c,s,!0,!1);}}}function yxn(e){Q2();var n,t,i;for(t=ce(Or,_e,8,2,0,1),i=0,n=0;n<2;n++){i+=.5,t[n]=dNn(i,e);}return t;}function j4(e){var n,t,i;return n=~e.l+1&Es,t=~e.m+(n==0?1:0)&Es,i=~e.h+(n==0&&t==0?1:0)&a1,gu(n,t,i);}function xie(e){var n;if(e<0){return rc;}if(e==0){return 0;}for(n=Lk;!(n&e);n>>=1){;}return n;}function JB(e,n,t){return e>=128?!1:e<64?f8(Cr(fl(1,e),t),0):f8(Cr(fl(1,e-64),n),0);}function D_(e,n,t){return t==null?(!e.q&&(e.q=new lt),Jv(e.q,n)):(!e.q&&(e.q=new lt),Jt(e.q,n,t)),e;}function de(e,n,t){return t==null?(!e.q&&(e.q=new lt),Jv(e.q,n)):(!e.q&&(e.q=new lt),Jt(e.q,n,t)),e;}function MUe(e){var n,t;return t=new jC,no(t,e),de(t,(Ld(),A3),e),n=new lt,XHn(e,t,n),_Gn(e,t,n),t;}function xUe(e){var n,t;return n=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t;}function CUe(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;c=0,"Negative initial capacity"),zE(n>=0,"Non-positive load factor"),cs(this);}function Exn(e,n,t,i,r){var c,s;if(s=e.length,c=t.length,n<0||i<0||r<0||n+r>s||i+r>c){throw O(new yJ);}}function Nie(e,n){dn();var t,i,r,c,s;for(s=!1,i=n,r=0,c=i.length;r1||n>=0&&e.b<3);}function eF(e){var n,t,i;n=~e.l+1&Es,t=~e.m+(n==0?1:0)&Es,i=~e.h+(n==0&&t==0?1:0)&a1,e.l=n,e.m=t,e.h=i;}function $ie(e){dn();var n,t,i;for(i=1,t=e.Kc();t.Ob();){n=t.Pb(),i=31*i+(n!=null?xi(n):0),i=i|0;}return i;}function Mxn(e,n,t,i,r){var c;return c=Soe(e,n),t&&eF(c),r&&(e=yNn(e,n),i?e0=j4(e):e0=gu(e.l,e.m,e.h)),c;}function BUe(e,n,t){e.g=mK(e,n,(Oe(),Kn),e.b),e.d=mK(e,t,Kn,e.b),!(e.g.c==0||e.d.c==0)&&gWe(e);}function FUe(e,n,t){e.g=mK(e,n,(Oe(),An),e.j),e.d=mK(e,t,An,e.j),!(e.g.c==0||e.d.c==0)&&gWe(e);}function Lie(e,n){switch(n){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0;}return yre(e,n);}function xxn(e,n){switch(n.g){case 0:U(e.b,641)||(e.b=new iUe);break;case 1:U(e.b,642)||(e.b=new tLe);}}function KUe(e){switch(e.g){case 0:return new A7e;default:throw O(new In(bN+(e.f!=null?e.f:""+e.g)));}}function HUe(e){switch(e.g){case 0:return new O7e;default:throw O(new In(bN+(e.f!=null?e.f:""+e.g)));}}function Cxn(e,n,t){return!Py(bi(new rn(null,new ln(e.c,16)),new Ey(new xNe(n,t)))).Bd(($0(),N3));}function qUe(e,n){return Nv(F4(o(M(n,(So(),fg)),88)),new ve(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0;}function Ixn(e,n){for(;e.g==null&&!e.c?Lne(e):e.g==null||e.i!=0&&o(e.g[e.i-1],51).Ob();){Ayn(n,iP(e));}}function Z0(e){var n,t;for(t=new N(e.a.b);t.ai?1:0;}function Oxn(e){return xe(e.c,(t3(),N1n)),Kte(e.a,J(re(Ae((TF(),tA)))))?new y9e:new ZMe(e);}function Axn(e){for(;!e.d||!e.d.Ob();){if(e.b&&!K5(e.b)){e.d=o(Kv(e.b),51);}else {return null;}}return e.d;}function Rie(e){switch(e.g){case 1:return Cnn;default:case 2:return 0;case 3:return fq;case 4:return ile;}}function $xn(){si();var e;return HW||(e=n6n(Vd("M",!0)),e=Bx(Vd("M",!1),e),HW=e,HW);}function hI(){hI=V,xW=new ix("ELK",0),i2e=new ix("JSON",1),t2e=new ix("DOT",2),r2e=new ix("SVG",3);}function J8(){J8=V,oV=new uD("STACKED",0),cV=new uD("REVERSE_STACKED",1),Rj=new uD("SEQUENCED",2);}function Q8(){Q8=V,zwe=new dD(Qa,0),hV=new dD("MIDDLE_TO_MIDDLE",1),Kj=new dD("AVOID_OVERLAP",2);}function x4(){x4=V,ede=new g6e,nde=new p6e,wun=new w6e,dun=new m6e,hun=new b6e,Z1e=($n(hun),new oi);}function dI(){dI=V,Kpe=new Zw(15),wdn=new qr((Wt(),sd),Kpe),s9=V3,Dpe=V1n,Rpe=Iw,Fpe=Gm,Bpe=qp;}function R2(e,n){var t,i,r,c,s;for(i=n,r=0,c=i.length;r=e.b.c.length||(Fie(e,2*n+1),t=2*n+2,t0&&(n.Cd(t),t.i&&DCn(t));}}function Kie(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--){;}return i<0?0:zL(Cr(e[i],Ic),Cr(n[i],Ic))?-1:1;}function zUe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=Tqe(t),i=ce(Trn,NS,227,r,0,1),this.b=i;}function cF(e,n,t,i,r){var c,s;for(s=t;s<=r;s++){for(c=n;c<=i;c++){if(U2(e,c,s)){return!0;}}}return!1;}function Kxn(e,n){var t,i;for(i=e.Zb().Cc().Kc();i.Ob();){if(t=o(i.Pb(),16),t.Hc(n)){return!0;}}return!1;}function VUe(e,n,t){var i,r,c,s;for($n(t),s=!1,c=e.fd(n),r=t.Kc();r.Ob();){i=r.Pb(),c.Rb(i),s=!0;}return s;}function oF(e,n){var t,i;return i=o(Cn(e.a,4),129),t=ce(AW,DU,424,n,0,1),i!=null&&Uo(i,0,t,0,i.length),t;}function WUe(e,n){var t;return t=new AK((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t;}function Hxn(e,n){var t;return e===n?!0:U(n,85)?(t=o(n,85),Uce(D0(e),t.vc())):!1;}function XUe(e,n,t){var i,r;for(r=t.Kc();r.Ob();){if(i=o(r.Pb(),44),e.Be(n,i.md())){return!0;}}return!1;}function YUe(e,n,t){return e.d[n.p][t.p]||(GPn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p];}function qxn(e,n){var t;return!e||e==n||!Ii(n,(Ee(),Qb))?!1:(t=o(M(n,(Ee(),Qb)),10),t!=e);}function uF(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l();}}function JUe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l();}}function QUe(e){BRe.call(this,"The given string does not match the expected format for individual spacings.",e);}function Uxn(e,n){var t;n.Ug("Min Size Preprocessing",1),t=Zce(e),yi(e,(kh(),Y7),t.a),yi(e,_A,t.b),n.Vg();}function Gxn(e){var n,t,i;for(n=0,i=ce(Or,_e,8,e.b,0,1),t=dt(e,0);t.b!=t.d.c;){i[n++]=o(at(t),8);}return i;}function sF(e,n,t){var i,r,c;for(i=new $i,c=dt(t,0);c.b!=c.d.c;){r=o(at(c),8),Kt(i,new wc(r));}VUe(e,n,i);}function zxn(e,n){var t;return t=lc(e,n),zL(JR(e,n),0)|ox(JR(e,t),0)?t:lc(PS,JR(Id(t,63),1));}function Vxn(e,n){var t,i;return t=o(e.d.Bc(n),16),t?(i=e.e.hc(),i.Gc(t),e.e.d-=t.gc(),t.$b(),i):null;}function ZUe(e){var n;if(n=e.a.c.length,n>0){return zy(n-1,e.a.c.length),L1(e.a,n-1);}throw O(new Zxe);}function eGe(e,n,t){if(e>n){throw O(new In(NP+e+ben+n));}if(e<0||n>t){throw O(new WJ(NP+e+cse+n+tse+t));}}function C4(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),AB(e,n==null?null:($n(n),n)),e.C&&e.hl(null);}function Wxn(e,n){var t;t=Ae((TF(),tA))!=null&&n.Sg()!=null?J(re(n.Sg()))/J(re(Ae(tA))):1,Jt(e.b,n,t);}function Hie(e,n){var t,i;if(i=e.c[n],i!=0){for(e.c[n]=0,e.d-=i,t=n+1;tsN?e-t>sN:t-e>sN;}function aGe(e,n){var t;for(t=0;tr&&(KVe(n.q,r),i=t!=n.q.d)),i;}function hGe(e,n){var t,i,r,c,s,f,h,d;return h=n.i,d=n.j,i=e.f,r=i.i,c=i.j,s=h-r,f=d-c,t=p.Math.sqrt(s*s+f*f),t;}function Wie(e,n){var t,i;return i=xI(e),i||(t=(tH(),ZXe(n)),i=new Hxe(t),pt(i.El(),e)),i;}function K_(e,n){var t,i;return t=o(e.c.Bc(n),16),t?(i=e.hc(),i.Gc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc();}function cCn(e,n){var t,i;for(i=ys(e.d,1)!=0,t=!0;t;){t=!1,t=n.c.mg(n.e,i),t=t|gS(e,n,i,!1),i=!i;}hie(e);}function dGe(e,n,t,i){var r,c;e.a=n,c=i?0:1,e.f=(r=new TWe(e.c,e.a,t,c),new rJe(t,e.a,r,e.e,e.b,e.c==(kb(),F7)));}function bI(e){var n;return Zn(e.a!=e.b),n=e.d.a[e.a],KAe(e.b==e.d.c&&n!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,n;}function wGe(e){var n;if(e.c!=0){return e.c;}for(n=0;n=e.c.b:e.a<=e.c.b)){throw O(new ao);}return n=e.a,e.a+=e.c.c,++e.b,je(n);}function dF(e){var n;return n=new fZ(e.a),no(n,e),de(n,(Ee(),mi),e),n.o.a=e.g,n.o.b=e.f,n.n.a=e.i,n.n.b=e.j,n;}function wF(e){return(Oe(),Lu).Hc(e.j)?J(re(M(e,(Ee(),G6)))):po(R(L(Or,1),_e,8,0,[e.i.n,e.n,e.a])).b;}function uCn(e){var n;return n=ax(Hln),o(M(e,(Ee(),iu)),21).Hc((Cc(),U6))&&Ut(n,(ic(),Go),(hc(),gO)),n;}function sCn(e){var n,t,i,r;for(r=new lr,i=new N(e);i.a=0?n:-n;i>0;){i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);}return n<0?1/r:r;}function dCn(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;){i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);}return n<0?1/r:r;}function Fd(e,n){var t,i,r,c;return c=(r=e?xI(e):null,XWe((i=n,r&&r.Gl(),i))),c==n&&(t=xI(e),t&&t.Gl()),c;}function bGe(e,n,t){var i,r;return r=e.f,e.f=n,e.Db&4&&!(e.Db&1)&&(i=new Ar(e,1,0,r,n),t?t.nj(i):t=i),t;}function gGe(e,n,t){var i,r;return r=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&(i=new Ar(e,1,3,r,n),t?t.nj(i):t=i),t;}function Yie(e,n,t){var i,r;return r=e.a,e.a=n,e.Db&4&&!(e.Db&1)&&(i=new Ar(e,1,1,r,n),t?t.nj(i):t=i),t;}function pGe(e){var n,t;if(e!=null){for(t=0;t=i||n-129&&e<128?(nLe(),n=e+128,t=Wae[n],!t&&(t=Wae[n]=new YY(e)),t):new YY(e);}function P4(e){var n,t;return e>-129&&e<128?(mLe(),n=e+128,t=Qae[n],!t&&(t=Qae[n]=new QY(e)),t):new QY(e);}function yGe(e,n){var t;e.a.c.length>0&&(t=o(Re(e.a,e.a.c.length-1),579),Bie(t,n))||xe(e.a,new RFe(n));}function vCn(e){sl();var n,t;n=e.d.c-e.e.c,t=o(e.g,154),mu(t.b,new $Te(n)),mu(t.c,new LTe(n)),Jr(t.i,new DTe(n));}function kGe(e){var n;return n=new Ed,n.a+="VerticalSegment ",Vo(n,e.e),n.a+=" ",qt(n,gZ(new OL,new N(e.k))),n.a;}function bF(e,n){var t,i,r;for(t=0,r=mo(e,n).Kc();r.Ob();){i=o(r.Pb(),12),t+=M(i,(Ee(),ls))!=null?1:0;}return t;}function K2(e,n,t){var i,r,c;for(i=0,c=dt(e,0);c.b!=c.d.c&&(r=J(re(at(c))),!(r>t));){r>=n&&++i;}return i;}function EGe(e,n){xt(e);try{return e._b(n);}catch(t){if(t=Hi(t),U(t,212)||U(t,169)){return!1;}throw O(t);}}function Qie(e,n){xt(e);try{return e.Hc(n);}catch(t){if(t=Hi(t),U(t,212)||U(t,169)){return!1;}throw O(t);}}function yCn(e,n){xt(e);try{return e.Mc(n);}catch(t){if(t=Hi(t),U(t,212)||U(t,169)){return!1;}throw O(t);}}function Jg(e,n){xt(e);try{return e.xc(n);}catch(t){if(t=Hi(t),U(t,212)||U(t,169)){return null;}throw O(t);}}function kCn(e,n){xt(e);try{return e.Bc(n);}catch(t){if(t=Hi(t),U(t,212)||U(t,169)){return null;}throw O(t);}}function nk(e,n){switch(n.g){case 2:case 1:return mo(e,n);case 3:case 4:return kf(mo(e,n));}return dn(),dn(),mc;}function tk(e){var n;return e.Db&64?dl(e):(n=new $f(dl(e)),n.a+=" (name: ",Lc(n,e.zb),n.a+=")",n.a);}function ECn(e){var n;return n=o(fa(e.c.c,""),233),n||(n=new Vv(Cy(xy(new wv,""),"Other")),z1(e.c.c,"",n)),n;}function Zie(e,n,t){var i,r;return r=e.sb,e.sb=n,e.Db&4&&!(e.Db&1)&&(i=new Ar(e,1,4,r,n),t?t.nj(i):t=i),t;}function ere(e,n,t){var i,r;return r=e.r,e.r=n,e.Db&4&&!(e.Db&1)&&(i=new Ar(e,1,8,r,e.r),t?t.nj(i):t=i),t;}function _Cn(e,n,t){var i,r;return i=new Zh(e.e,4,13,(r=n.c,r||(hn(),xa)),null,V1(e,n),!1),t?t.nj(i):t=i,t;}function SCn(e,n,t){var i,r;return i=new Zh(e.e,3,13,null,(r=n.c,r||(hn(),xa)),V1(e,n),!1),t?t.nj(i):t=i,t;}function H1(e,n){var t,i;return t=o(n,691),i=t.el(),!i&&t.fl(i=U(n,90)?new eOe(e,o(n,29)):new _Be(e,o(n,156))),i;}function H_(e,n,t){var i;e._i(e.i+1),i=e.Zi(n,t),n!=e.i&&Uo(e.g,n,e.g,n+1,e.i-n),Yi(e.g,n,i),++e.i,e.Mi(n,t),e.Ni();}function jCn(e,n){var t;return n.a&&(t=n.a.a.length,e.a?qt(e.a,e.b):e.a=new Ks(e.d),IBe(e.a,n.a,n.d.length,t)),e;}function TCn(e,n){var t;e.c=n,e.a=PIn(n),e.a<54&&(e.f=(t=n.d>1?xBe(n.a[0],n.a[1]):xBe(n.a[0],0),G0(n.e>0?t:R1(t))));}function q_(e,n){var t;return t=new q,e.a.Bd(t)?(Dy(),new ML($n(fHe(e,t.a,n)))):(Nd(e),Dy(),Dy(),fhe);}function _Ge(e,n){var t;e.c.length!=0&&(t=o(ha(e,ce(Ph,Q1,10,e.c.length,0,1)),199),nZ(t,new E4e),gXe(t,n));}function SGe(e,n){var t;e.c.length!=0&&(t=o(ha(e,ce(Ph,Q1,10,e.c.length,0,1)),199),nZ(t,new _4e),gXe(t,n));}function hi(e,n){return Dr(e)?un(e,n):Ig(e)?m$e(e,n):Cg(e)?($n(e),Z(e)===Z(n)):Wee(e)?e.Fb(n):Kee(e)?gOe(e,n):Kne(e,n);}function vf(e,n,t){if(n<0){ooe(e,t);}else{if(!t.rk()){throw O(new In(Zd+t.xe()+n7));}o(t,69).wk().Ek(e,e.hi(),n);}}function jGe(e,n,t){if(e<0||n>t){throw O(new Kc(NP+e+cse+n+", size: "+t));}if(e>n){throw O(new In(NP+e+ben+n));}}function TGe(e){var n;return e.Db&64?dl(e):(n=new $f(dl(e)),n.a+=" (source: ",Lc(n,e.d),n.a+=")",n.a);}function MGe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0;}function MCn(e){MP();var n,t,i,r;for(t=AF(),i=0,r=t.length;i=0?Hd(e):C8(Hd(R1(e))));}function IGe(e,n,t,i,r,c){this.e=new Te,this.f=(xc(),R7),xe(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c;}function ICn(e,n,t){e.n=L0(E0,[_e,FH],[376,28],14,[t,jr(p.Math.ceil(n/32))],2),e.o=n,e.p=t,e.j=n-1>>1,e.k=t-1>>1;}function PGe(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63;}function NGe(e,n){var t,i;for(i=new Hn(e);i.e!=i.i.gc();){if(t=o(Wn(i),142),Z(n)===Z(t)){return!0;}}return!1;}function PCn(e,n,t){var i,r,c;return c=(r=W4(e.b,n),r),c&&(i=o(EP(y_(e,c),""),29),i)?xoe(e,i,n,t):null;}function gF(e,n,t){var i,r,c;return c=(r=W4(e.b,n),r),c&&(i=o(EP(y_(e,c),""),29),i)?Coe(e,i,n,t):null;}function NCn(e,n){var t;if(t=D2(e.i,n),t==null){throw O(new Na("Node did not exist in input."));}return vie(n,t),null;}function OCn(e,n){var t;if(t=bS(e,n),U(t,331)){return o(t,35);}throw O(new In(Zd+n+"' is not a valid attribute"));}function rk(e,n,t){var i;if(i=e.gc(),n>i){throw O(new $g(n,i));}if(e.Si()&&e.Hc(t)){throw O(new In(tj));}e.Gi(n,t);}function ACn(e,n){n.Ug("Sort end labels",1),tr(bi(go(new rn(null,new ln(e.b,16)),new o4e),new u4e),new s4e),n.Vg();}function br(){br=V,ja=new ME(Kk,0),ro=new ME(E3,1),Xc=new ME(k3,2),Sa=new ME(ZH,3),If=new ME("UP",4);}function G_(){G_=V,TA=new yD("P1_STRUCTURE",0),MA=new yD("P2_PROCESSING_ORDER",1),xA=new yD("P3_EXECUTION",2);}function OGe(){OGe=V,ihn=Ua(Ua(X5(Ua(Ua(X5(Ut(new dr,(l3(),q7),(Mk(),aV)),U7),Hwe),Uwe),G7),Rwe),Gwe);}function $Cn(e){switch(o(M(e,(Ee(),vw)),311).g){case 1:de(e,vw,(e1(),L3));break;case 2:de(e,vw,(e1(),Sm));}}function LCn(e){switch(e){case 0:return new ECe;case 1:return new yCe;case 2:return new kCe;default:throw O(new cE);}}function AGe(e){switch(e.g){case 2:return ro;case 1:return Xc;case 4:return Sa;case 3:return If;default:return ja;}}function rre(e,n){switch(e.b.g){case 0:case 1:return n;case 2:case 3:return new hf(n.d,0,n.a,n.b);default:return null;}}function cre(e){switch(e.g){case 1:return An;case 2:return Nn;case 3:return Kn;case 4:return st;default:return yo;}}function z_(e){switch(e.g){case 1:return st;case 2:return An;case 3:return Nn;case 4:return Kn;default:return yo;}}function mI(e){switch(e.g){case 1:return Kn;case 2:return st;case 3:return An;case 4:return Nn;default:return yo;}}function ore(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new he(Fc,e,1,7)),e.n;case 2:return e.k;}return Qre(e,n,t,i);}function ck(e,n,t){var i,r;return e.Pj()?(r=e.Qj(),i=_K(e,n,t),e.Jj(e.Ij(7,je(t),i,n,r)),i):_K(e,n,t);}function pF(e,n){var t,i,r;e.d==null?(++e.e,--e.f):(r=n.ld(),t=n.Bi(),i=(t&fi)%e.d.length,kjn(e,i,iYe(e,i,t,r)));}function N4(e,n){var t;t=(e.Bb&gl)!=0,n?e.Bb|=gl:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,10,t,n));}function O4(e,n){var t;t=(e.Bb&wp)!=0,n?e.Bb|=wp:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,12,t,n));}function A4(e,n){var t;t=(e.Bb&Qu)!=0,n?e.Bb|=Qu:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,15,t,n));}function $4(e,n){var t;t=(e.Bb&kp)!=0,n?e.Bb|=kp:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,11,t,n));}function DCn(e){var n;e.g&&(n=e.c.kg()?e.f:e.a,Hoe(n.a,e.o,!0),Hoe(n.a,e.o,!1),de(e.o,($e(),nr),(Kr(),Nw)));}function RCn(e){var n;if(!e.a){throw O(new Hc("Cannot offset an unassigned cut."));}n=e.c-e.b,e.b+=n,cRe(e,n),rRe(e,n);}function BCn(e,n){var t;if(t=qn(e.k,n),t==null){throw O(new Na("Port did not exist in input."));}return vie(n,t),null;}function FCn(e){var n,t;for(t=eYe(Gs(e)).Kc();t.Ob();){if(n=Nt(t.Pb()),xk(e,n)){return KSn((LPe(),t0n),n);}}return null;}function $Ge(e){var n,t;for(t=e.p.a.ec().Kc();t.Ob();){if(n=o(t.Pb(),218),n.f&&e.b[n.c]<-1e-10){return n;}}return null;}function KCn(e){var n,t;for(t=F0(new Ed,91),n=!0;e.Ob();){n||(t.a+=gc),n=!1,Vo(t,e.Pb());}return(t.a+="]",t).a;}function HCn(e){var n,t,i;for(n=new Te,i=new N(e.b);i.an?1:e==n?e==0?Si(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1;}function UCn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,Yi(e.a,e.c,null),n);}function GCn(e){var n,t,i;for(i=0,t=e.length,n=0;n=1?ro:Sa):t;}function XCn(e){switch(o(M(e,($e(),g1)),223).g){case 1:return new V5e;case 3:return new Q5e;default:return new z5e;}}function Kd(e){if(e.c){Kd(e.c);}else if(e.d){throw O(new Hc("Stream already terminated, can't be modified or used"));}}function jb(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i;}function YCn(e,n,t){var i,r;for(r=e.a.ec().Kc();r.Ob();){if(i=o(r.Pb(),10),O_(t,o(Re(n,i.p),16))){return i;}}return null;}function sre(e,n,t){var i;return i=0,n&&(_2(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(_2(e.a)?i+=t.f.a/2:i+=t.f.b/2),i;}function JCn(e,n,t){var i;i=t,!i&&(i=Cee(new vv,0)),i.Ug(Ven,2),Fze(e.b,n,i.eh(1)),hUn(e,n,i.eh(1)),bzn(n,i.eh(1)),i.Vg();}function fre(e,n,t){var i,r;return i=(Sd(),r=new eM,r),GC(i,n),UC(i,t),e&&pt((!e.a&&(e.a=new hr(of,e,5)),e.a),i),i;}function vF(e){var n;return e.Db&64?dl(e):(n=new $f(dl(e)),n.a+=" (identifier: ",Lc(n,e.k),n.a+=")",n.a);}function yF(e,n){var t;t=(e.Bb&Oo)!=0,n?e.Bb|=Oo:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,18,t,n));}function lre(e,n){var t;t=(e.Bb&Oo)!=0,n?e.Bb|=Oo:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,18,t,n));}function L4(e,n){var t;t=(e.Bb&Va)!=0,n?e.Bb|=Va:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,16,t,n));}function are(e,n){var t;t=(e.Bb&kc)!=0,n?e.Bb|=kc:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&ai(e,new ll(e,1,20,t,n));}function hre(e){var n;return n=ce(Of,Wa,28,2,15,1),e-=kc,n[0]=(e>>10)+LS&gr,n[1]=(e&1023)+56320&gr,Ha(n,0,n.length);}function QCn(e){var n;return n=ip(e),n>34028234663852886e22?Fi:n<-34028234663852886e22?kr:n;}function lc(e,n){var t;return co(e)&&co(n)&&(t=e+n,$S"+U0(n.c):"e_"+xi(n),e.b&&e.c?U0(e.b)+"->"+U0(e.c):"e_"+xi(e));}function nIn(e,n){return un(n.b&&n.c?U0(n.b)+"->"+U0(n.c):"e_"+xi(n),e.b&&e.c?U0(e.b)+"->"+U0(e.c):"e_"+xi(e));}function Tb(e,n){return na(),al(Wd),p.Math.abs(e-n)<=Wd||e==n||isNaN(e)&&isNaN(n)?0:en?1:Qw(isNaN(e),isNaN(n));}function r1(){r1=V,_W=new ZM(Kk,0),oT=new ZM("POLYLINE",1),f5=new ZM("ORTHOGONAL",2),Y3=new ZM("SPLINES",3);}function yI(){yI=V,Hbe=new mD("ASPECT_RATIO_DRIVEN",0),qV=new mD("MAX_SCALE_DRIVEN",1),Kbe=new mD("AREA_DRIVEN",2);}function tIn(e,n,t){var i;try{jxn(e,n,t);}catch(r){throw r=Hi(r),U(r,606)?(i=r,O(new hte(i))):O(r);}return n;}function iIn(e){var n,t,i;for(t=0,i=e.length;tn&&i.Ne(e[c-1],e[c])>0;--c){s=e[c],Yi(e,c,e[c-1]),Yi(e,c-1,s);}}}function Ye(e,n){var t,i,r,c,s;if(t=n.f,z1(e.c.d,t,n),n.g!=null){for(r=n.g,c=0,s=r.length;cn){OBe(t);break;}}JE(t,n);}function uIn(e,n){var t,i,r;i=O2(n),r=J(re(Zg(i,($e(),yl)))),t=p.Math.max(0,r/2-.5),wk(n,t,1),xe(e,new QPe(n,t));}function sIn(e,n,t){var i;t.Ug("Straight Line Edge Routing",1),t.dh(n,dle),i=o(be(n,(I2(),Lm)),27),kQe(e,i),t.dh(n,aN);}function dre(e,n){e.n.c.length==0&&xe(e.n,new dC(e.s,e.t,e.i)),xe(e.b,n),Vre(o(Re(e.n,e.n.c.length-1),209),n),iQe(e,n);}function ok(e){var n;this.a=(n=o(e.e&&e.e(),9),new af(n,o(ul(n,n.length),9),0)),this.b=ce(Ir,vn,1,this.a.a.length,5,1);}function uo(e){var n;return Array.isArray(e)&&e.Tm===Sn?A0(Ds(e))+"@"+(n=xi(e)>>>0,n.toString(16)):e.toString();}function fIn(e,n){return e.h==AS&&e.m==0&&e.l==0?(n&&(e0=gu(0,0,0)),mOe((s4(),Hae))):(n&&(e0=gu(e.l,e.m,e.h)),gu(0,0,0));}function lIn(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1;}}function BGe(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1;}}function wre(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j;}return ore(e,n,t,i);}function kI(e,n){if(n==e.d){return e.e;}if(n==e.e){return e.d;}throw O(new In("Node "+n+" not part of edge "+e));}function aIn(e,n){var t;if(t=bS(e.Dh(),n),U(t,102)){return o(t,19);}throw O(new In(Zd+n+"' is not a valid reference"));}function yf(e,n,t,i){if(n<0){Ooe(e,t,i);}else{if(!t.rk()){throw O(new In(Zd+t.xe()+n7));}o(t,69).wk().Ck(e,e.hi(),n,i);}}function vs(e){var n;if(e.b){if(vs(e.b),e.b.d!=e.c){throw O(new sf);}}else {e.d.dc()&&(n=o(e.f.c.xc(e.e),16),n&&(e.d=n));}}function hIn(e){Og();var n,t,i,r;for(n=e.o.b,i=o(o(pi(e.r,(Oe(),st)),21),87).Kc();i.Ob();){t=o(i.Pb(),117),r=t.e,r.b+=n;}}function dIn(e){var n,t,i;for(this.a=new $a,i=new N(e);i.a=r){return n.c+t;}}return n.c+n.b.gc();}function bIn(e,n){Ky();var t,i,r,c;for(i=JKe(e),r=n,o4(i,0,i.length,r),t=0;t0&&(i+=r,++t);}return t>1&&(i+=e.d*(t-1)),i;}function pIn(e){var n,t,i,r,c;return c=Nce(e),t=fE(e.c),i=!t,i&&(r=new x0,Bl(c,"knownLayouters",r),n=new Cxe(r),Jr(e.c,n)),c;}function pre(e){var n,t,i;for(i=new T1,i.a+="[",n=0,t=e.gc();n0&&(Pn(n-1,e.length),e.charCodeAt(n-1)==58)&&!_F(e,m9,v9));}function mre(e,n){var t;return Z(e)===Z(n)?!0:U(n,92)?(t=o(n,92),e.e==t.e&&e.d==t.d&&USn(e,t.a)):!1;}function c3(e){switch(Oe(),e.g){case 4:return Nn;case 1:return Kn;case 3:return st;case 2:return An;default:return yo;}}function kIn(e){var n,t;if(e.b){return e.b;}for(t=va?null:e.d;t;){if(n=va?null:t.b,n){return n;}t=va?null:t.d;}return $y(),hhe;}function vre(e){var n,t,i;for(i=J(re(e.a.of((Wt(),LA)))),t=new N(e.a.Sf());t.a>5,n=e&31,i=ce(vt,Gt,28,t+1,15,1),i[t]=1<3;){r*=10,--c;}e=(e+(r>>1))/r|0;}return i.i=e,!0;}function qi(e,n){var t,i,r;if(t=(e.i==null&&za(e),e.i),i=n.Lj(),i!=-1){for(r=t.length;i=0;--i){for(n=t[i],r=0;r>1,this.k=n-1>>1;}function LIn(e){PC(),o(e.of((Wt(),a0)),181).Hc((ks(),qA))&&(o(e.of(Up),181).Fc((fs(),J3)),o(e.of(a0),181).Mc(qA));}function zGe(e){var n,t;n=e.d==(a3(),L6),t=Ece(e),n&&!t||!n&&t?de(e.a,($e(),rh),(vh(),Qj)):de(e.a,($e(),rh),(vh(),Jj));}function TF(){TF=V,OM(),tA=($e(),og),bln=oa(R(L(cW,1),ele,149,0,[Aj,yl,Im,cg,Rp,Hz,Y6,J6,qz,A7,Cm,Tw,Pm]));}function DIn(e,n){var t;return t=o(oo(e,os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),t.Qc(dLe(t.gc()));}function VGe(e,n){var t,i;if(i=new ky(e.a.ad(n,!0)),i.a.gc()<=1){throw O(new gv);}return t=i.a.ec().Kc(),t.Pb(),o(t.Pb(),40);}function RIn(e,n,t){var i,r;return i=J(e.p[n.i.p])+J(e.d[n.i.p])+n.n.b+n.a.b,r=J(e.p[t.i.p])+J(e.d[t.i.p])+t.n.b+t.a.b,r-i;}function Tre(e,n){var t;return e.i>0&&(n.lengthe.i&&Yi(n,e.i,null),n;}function _I(e){var n;return e.Db&64?tk(e):(n=new $f(tk(e)),n.a+=" (instanceClassName: ",Lc(n,e.D),n.a+=")",n.a);}function SI(e){var n,t,i,r;for(r=0,t=0,i=e.length;t0?(e._j(),i=n==null?0:xi(n),r=(i&fi)%e.d.length,t=iYe(e,r,i,n),t!=-1):!1;}function WGe(e,n){var t,i;e.a=lc(e.a,1),e.c=p.Math.min(e.c,n),e.b=p.Math.max(e.b,n),e.d+=n,t=n-e.f,i=e.e+t,e.f=i-e.e-t,e.e=i;}function Mre(e,n){switch(n){case 3:vb(e,0);return;case 4:yb(e,0);return;case 5:vu(e,0);return;case 6:yu(e,0);return;}Jie(e,n);}function Mb(e,n){switch(n.g){case 1:return Dv(e.j,(Wu(),w1e));case 2:return Dv(e.j,(Wu(),g1e));default:return dn(),dn(),mc;}}function xre(e){sb();var n;switch(n=e.Pc(),n.length){case 0:return nG;case 1:return new oR(xt(n[0]));default:return new KR(iIn(n));}}function XGe(e,n){e.Xj();try{e.d.bd(e.e++,n),e.f=e.d.j,e.g=-1;}catch(t){throw t=Hi(t),U(t,77)?O(new sf):O(t);}}function xF(){xF=V,RW=new U9e,_2e=new G9e,S2e=new z9e,j2e=new V9e,T2e=new W9e,M2e=new X9e,x2e=new Y9e,C2e=new J9e,I2e=new Q9e;}function jI(e,n){JQ();var t,i;return t=FE((vM(),vM(),d7)),i=null,n==t&&(i=o(Xo(Fae,e),624)),i||(i=new wDe(e),n==t&&qc(Fae,e,i)),i;}function YGe(e){ep();var n;return(e.q?e.q:(dn(),dn(),Ch))._b(($e(),ig))?n=o(M(e,ig),203):n=o(M(Yr(e),O7),203),n;}function Zg(e,n){var t,i;return i=null,Ii(e,($e(),eA))&&(t=o(M(e,eA),96),t.pf(n)&&(i=t.of(n))),i==null&&(i=M(Yr(e),n)),i;}function JGe(e,n){var t,i,r;return U(n,44)?(t=o(n,44),i=t.ld(),r=Jg(e.Rc(),i),Ba(r,t.md())&&(r!=null||e.Rc()._b(i))):!1;}function Kl(e,n){var t,i,r;return e.f>0&&(e._j(),i=n==null?0:xi(n),r=(i&fi)%e.d.length,t=doe(e,r,i,n),t)?t.md():null;}function au(e,n,t){var i,r,c;return e.Pj()?(i=e.i,c=e.Qj(),H_(e,i,n),r=e.Ij(3,null,n,i,c),t?t.nj(r):t=r):H_(e,e.i,n),t;}function FIn(e,n,t){var i,r;return i=new Zh(e.e,4,10,(r=n.c,U(r,90)?o(r,29):(hn(),Zf)),null,V1(e,n),!1),t?t.nj(i):t=i,t;}function KIn(e,n,t){var i,r;return i=new Zh(e.e,3,10,null,(r=n.c,U(r,90)?o(r,29):(hn(),Zf)),V1(e,n),!1),t?t.nj(i):t=i,t;}function QGe(e){Og();var n;return n=new wc(o(e.e.of((Wt(),Gm)),8)),e.B.Hc((ks(),a5))&&(n.a<=0&&(n.a=20),n.b<=0&&(n.b=20)),n;}function Hd(e){Ga();var n,t;return t=Mt(e),n=Mt(Id(e,32)),n!=0?new oBe(t,n):t>10||t<0?new Jh(1,t):Rrn[t];}function W_(e,n){var t;return co(e)&&co(n)&&(t=e%n,$S=0?c=c.a[1]:(r=c,c=c.a[0]);}return r;}function Y_(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Ne(n,c.d),t&&i==0){return c;}i<=0?c=c.a[0]:(r=c,c=c.a[1]);}return r;}function VIn(e,n,t,i){var r,c,s;return r=!1,YUn(e.f,t,i)&&(bPn(e.f,e.a[n][t],e.a[n][i]),c=e.a[n],s=c[i],c[i]=c[t],c[t]=s,r=!0),r;}function tze(e,n,t){var i,r,c,s;for(r=o(qn(e.b,t),183),i=0,s=new N(n.j);s.a>5,n&=31,r=e.d+t+(n==0?0:1),i=ce(vt,Gt,28,r,15,1),GAn(i,e.a,t,n),c=new B0(e.e,r,i),$8(c),c;}function WIn(e,n){var t,i,r;for(i=new Un(Vn(ur(e).a.Kc(),new Y));wt(i);){if(t=o(it(i),18),r=t.d.i,r.c==n){return!1;}}return!0;}function Pre(e,n,t){var i,r,c,s,f;return s=e.k,f=n.k,i=t[s.g][f.g],r=re(Zg(e,i)),c=re(Zg(n,i)),p.Math.max(($n(r),r),($n(c),c));}function XIn(){return Error.stackTraceLimit>0?(p.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error;}function YIn(e,n){return na(),na(),al(Wd),(p.Math.abs(e-n)<=Wd||e==n||isNaN(e)&&isNaN(n)?0:en?1:Qw(isNaN(e),isNaN(n)))>0;}function Nre(e,n){return na(),na(),al(Wd),(p.Math.abs(e-n)<=Wd||e==n||isNaN(e)&&isNaN(n)?0:en?1:Qw(isNaN(e),isNaN(n)))<0;}function rze(e,n){return na(),na(),al(Wd),(p.Math.abs(e-n)<=Wd||e==n||isNaN(e)&&isNaN(n)?0:en?1:Qw(isNaN(e),isNaN(n)))<=0;}function IF(e,n){for(var t=0;!n[t]||n[t]=="";){t++;}for(var i=n[t++];t0&&this.b>0&&(this.g=Rx(this.c,this.b,this.a));}function JIn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(QB(),uG)[typeof i],c=r?r(i):zie(typeof i);return c;}function R4(e){var n,t,i;if(i=null,n=nh in e.a,t=!n,t){throw O(new Na("Every element must have an id."));}return i=h3(Wh(e,nh)),i;}function xb(e){var n,t;for(t=IWe(e),n=null;e.c==2;){ri(e),n||(n=(si(),si(),new d8(2)),cw(n,t),t=n),t.Jm(IWe(e));}return t;}function MI(e,n){var t,i,r;return e._j(),i=n==null?0:xi(n),r=(i&fi)%e.d.length,t=doe(e,r,i,n),t?(hqe(e,t),t.md()):null;}function aze(e,n){return e.e>n.e?1:e.en.d?e.e:e.d=48&&e<48+p.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1;}function QIn(e,n){if(n.c==e){return n.d;}if(n.d==e){return n.c;}throw O(new In("Input edge is not connected to the input port."));}function ZIn(e){if(CI(_6,e)){return jn(),I6;}if(CI(pU,e)){return jn(),n0;}throw O(new In("Expecting true or false"));}function $re(e){switch(typeof e){case hH:return F1(e);case Uue:return Iv(e);case g3:return zAe(e);default:return e==null?0:nb(e);}}function Ua(e,n){if(e.a<0){throw O(new Hc("Did not call before(...) or after(...) before calling add(...)."));}return CZ(e,e.a,n),e;}function Lre(e){return wC(),U(e,162)?o(qn(mT,qrn),295).Rg(e):pu(mT,Ds(e))?o(qn(mT,Ds(e)),295).Rg(e):null;}function ku(e){var n,t;return e.Db&32||(t=(n=o(Cn(e,16),29),tt(n||e.ii())-tt(e.ii())),t!=0&&o3(e,32,ce(Ir,vn,1,t,5,1))),e;}function o3(e,n,t){var i;e.Db&n?t==null?LDn(e,n):(i=JF(e,n),i==-1?e.Eb=t:Yi(V0(e.Eb),i,t)):t!=null&&cFn(e,n,t);}function ePn(e,n,t,i){var r,c;n.c.length!=0&&(r=XRn(t,i),c=YLn(n),tr(HC(new rn(null,new ln(c,1)),new J8e),new qDe(e,t,r,i)));}function nPn(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,KAe(t=c?(Zxn(e,n),-1):(Qxn(e,n),1);}function xI(e){var n,t,i;if(i=e.Jh(),!i){for(n=0,t=e.Ph();t;t=t.Ph()){if(++n>KH){return t.Qh();}if(i=t.Jh(),i||t==e){break;}}}return i;}function dze(e,n){var t;return Z(n)===Z(e)?!0:!U(n,21)||(t=o(n,21),t.gc()!=e.gc())?!1:e.Ic(t);}function tPn(e,n){return e.en.e?1:e.fn.f?1:xi(e)-xi(n);}function CI(e,n){return $n(e),n==null?!1:un(e,n)?!0:e.length==n.length&&un(e.toLowerCase(),n.toLowerCase());}function o1(e){var n,t;return Lo(e,-129)>0&&Lo(e,128)<0?(pLe(),n=Mt(e)+128,t=Xae[n],!t&&(t=Xae[n]=new JY(e)),t):new JY(e);}function nw(){nw=V,Tp=new GM(Qa,0),f1e=new GM("INSIDE_PORT_SIDE_GROUPS",1),KG=new GM("GROUP_MODEL_ORDER",2),HG=new GM(Ose,3);}function iPn(e){var n;return e.b||Y3n(e,(n=X6n(e.e,e.a),!n||!un(pU,Kl((!n.b&&(n.b=new As((hn(),_c),Io,n)),n.b),"qualified")))),e.c;}function rPn(e,n){var t,i;for(t=(Pn(n,e.length),e.charCodeAt(n)),i=n+1;i2e3&&(xrn=e,BN=p.setTimeout(nyn,10))),RN++==0?(pTn((qJ(),Bae)),!0):!1;}function mPn(e,n,t){var i;(Yrn?(kIn(e),!0):Jrn||Zrn?($y(),!0):Qrn&&($y(),!1))&&(i=new I$e(n),i.b=t,T$n(e,i));}function NF(e,n){var t;t=!e.A.Hc((Rs(),Ow))||e.q==(Kr(),ru),e.u.Hc((fs(),m1))?t?uzn(e,n):sZe(e,n):e.u.Hc(b0)&&(t?MGn(e,n):_Ze(e,n));}function vze(e){var n;Z(be(e,(Wt(),qm)))===Z((i1(),BA))&&(Bi(e)?(n=o(be(Bi(e),qm),346),yi(e,qm,n)):yi(e,qm,f9));}function vPn(e){var n,t;return Ii(e.d.i,($e(),V6))?(n=o(M(e.c.i,V6),17),t=o(M(e.d.i,V6),17),$o(n.a,t.a)>0):!1;}function yze(e,n,t){return new hf(p.Math.min(e.a,n.a)-t/2,p.Math.min(e.b,n.b)-t/2,p.Math.abs(e.a-n.a)+t,p.Math.abs(e.b-n.b)+t);}function kze(e){var n;this.d=new Te,this.j=new Hr,this.g=new Hr,n=e.g.b,this.f=o(M(Yr(n),($e(),nf)),88),this.e=J(re(OI(n,Rp)));}function Eze(e){this.d=new Te,this.e=new $1,this.c=ce(vt,Gt,28,(Oe(),R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An])).length,15,1),this.b=e;}function Bre(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new ve(0,i);case 2:case 4:return new ve(i,0);default:return null;}}function _ze(e,n,t){var i,r;r=o(t_(n.f),205);try{r.rf(e,t),xDe(n.f,r);}catch(c){throw c=Hi(c),U(c,103)?(i=c,O(i)):O(c);}}function Sze(e,n,t){var i,r,c,s,f,h;return i=null,f=Iue(b4(),n),c=null,f&&(r=null,h=xue(f,t),s=null,h!=null&&(s=e.qf(f,h)),r=s,c=r),i=c,i;}function OF(e,n,t,i){var r;if(r=e.length,n>=r){return r;}for(n=n>0?n:0;ni&&Yi(n,i,null),n;}function jze(e,n){var t,i;for(i=e.a.length,n.lengthi&&Yi(n,i,null),n;}function B4(e,n){var t,i;if(++e.j,n!=null&&(t=(i=e.a.Cb,U(i,99)?o(i,99).th():null),SDn(n,t))){o3(e.a,4,t);return;}o3(e.a,4,o(n,129));}function yPn(e){var n;if(e==null){return null;}if(n=jRn(Qo(e,!0)),n==null){throw O(new NL("Invalid hexBinary value: '"+e+"'"));}return n;}function II(e,n,t){var i;n.a.length>0&&(xe(e.b,new z$e(n.a,t)),i=n.a.length,0i&&(n.a+=WOe(ce(Of,Wa,28,-i,15,1))));}function Tze(e,n,t){var i,r,c;if(!t[n.d]){for(t[n.d]=!0,r=new N(F2(n));r.a=e.b>>1){for(i=e.c,t=e.b;t>n;--t){i=i.b;}}else {for(i=e.a.a,t=0;t=0?e.Wh(r):EK(e,i)):t<0?EK(e,i):o(i,69).wk().Bk(e,e.hi(),t);}function Ize(e){var n,t,i;for(i=(!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),e.o),t=i.c.Kc();t.e!=t.i.gc();){n=o(t.Yj(),44),n.md();}return w_(i);}function Ae(e){var n;if(U(e.a,4)){if(n=Lre(e.a),n==null){throw O(new Hc(Qnn+e.b+"'. "+Jnn+(zh(vT),vT.k)+Gle));}return n;}else {return e.a;}}function xPn(e,n){var t,i;if(e.j.length!=n.j.length){return!1;}for(t=0,i=e.j.length;t=64&&n<128&&(r=Ll(r,fl(1,n-64)));}return r;}function OI(e,n){var t,i;return i=null,Ii(e,(Wt(),W3))&&(t=o(M(e,W3),96),t.pf(n)&&(i=t.of(n))),i==null&&Yr(e)&&(i=M(Yr(e),n)),i;}function CPn(e,n){var t;return t=o(M(e,($e(),Wc)),75),OD(n,Jon)?t?Hs(t):(t=new Hu,de(e,Wc,t)):t&&de(e,Wc,null),t;}function fk(){fk=V,qhe=(Wt(),ype),xG=epe,Ycn=Fm,Hhe=sd,eon=(GI(),khe),Zcn=vhe,non=_he,Qcn=mhe,Jcn=(fF(),Bhe),MG=Vcn,Khe=Wcn,YN=Xcn;}function AI(e){switch(hQ(),this.c=new Te,this.d=e,e.g){case 0:case 2:this.a=yne(s1e),this.b=Fi;break;case 3:case 1:this.a=s1e,this.b=kr;}}function IPn(e){var n;Lv(o(M(e,($e(),nr)),101))&&(n=e.b,mXe((wn(0,n.c.length),o(n.c[0],30))),mXe(o(Re(n,n.c.length-1),30)));}function PPn(e,n){n.Ug("Self-Loop post-processing",1),tr(bi(bi(go(new rn(null,new ln(e.b,16)),new T6e),new M6e),new x6e),new C6e),n.Vg();}function Pze(e,n,t){var i,r;if(e.c){vu(e.c,e.c.i+n),yu(e.c,e.c.j+t);}else {for(r=new N(e.b);r.a=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t);}e.C&&(t.b=e.C.b,t.c=e.C.c);}function lk(){lk=V,awe=new kE(nle,0),Qz=new kE(yq,1),Zz=new kE("LINEAR_SEGMENTS",2),L7=new kE("BRANDES_KOEPF",3),D7=new kE(Tnn,4);}function ak(){ak=V,pj=new qM(AP,0),WN=new qM(eq,1),XN=new qM(nq,2),mj=new qM(tq,3),pj.a=!1,WN.a=!0,XN.a=!1,mj.a=!0;}function u3(){u3=V,wj=new HM(AP,0),dj=new HM(eq,1),bj=new HM(nq,2),gj=new HM(tq,3),wj.a=!1,dj.a=!0,bj.a=!1,gj.a=!0;}function s3(e,n,t,i){var r;return t>=0?e.Sh(n,t,i):(e.Ph()&&(i=(r=e.Fh(),r>=0?e.Ah(i):e.Ph().Th(e,-1-r,null,i))),e.Ch(n,t,i));}function Fre(e,n){switch(n){case 7:!e.e&&(e.e=new bn(or,e,7,4)),bt(e.e);return;case 8:!e.d&&(e.d=new bn(or,e,8,5)),bt(e.d);return;}Mre(e,n);}function yi(e,n,t){return t==null?(!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),MI(e.o,n)):(!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),tS(e.o,n,t)),e;}function $ze(e,n){dn();var t,i,r,c;for(t=e,c=n,U(e,21)&&!U(n,21)&&(t=n,c=e),r=t.Kc();r.Ob();){if(i=r.Pb(),c.Hc(i)){return!1;}}return!0;}function LPn(e,n,t,i){if(n.at.b){return!0;}}return!1;}function RF(e,n){return Dr(e)?!!krn[n]:e.Sm?!!e.Sm[n]:Ig(e)?!!yrn[n]:Cg(e)?!!vrn[n]:!1;}function DPn(e){var n;n=e.a;do {n=o(it(new Un(Vn(Nr(n).a.Kc(),new Y))),18).c.i,n.k==(On(),$r)&&e.b.Fc(n);}while(n.k==(On(),$r));e.b=kf(e.b);}function Lze(e,n){var t,i,r;for(r=e,i=new Un(Vn(Nr(n).a.Kc(),new Y));wt(i);){t=o(it(i),18),t.c.i.c&&(r=p.Math.max(r,t.c.i.c.p));}return r;}function RPn(e,n){var t,i,r;for(r=0,i=o(o(pi(e.r,n),21),87).Kc();i.Ob();){t=o(i.Pb(),117),r+=t.d.d+t.b.Mf().b+t.d.a,i.Ob()&&(r+=e.w);}return r;}function BPn(e,n){var t,i,r;for(r=0,i=o(o(pi(e.r,n),21),87).Kc();i.Ob();){t=o(i.Pb(),117),r+=t.d.b+t.b.Mf().a+t.d.c,i.Ob()&&(r+=e.w);}return r;}function Dze(e){var n,t,i,r;if(i=0,r=up(e),r.c.length==0){return 1;}for(t=new N(r);t.a=0?e.Lh(s,t,!0):Nb(e,c,t)):o(c,69).wk().yk(e,e.hi(),r,t,i);}function qPn(e,n,t,i){var r,c;c=n.pf((Wt(),Um))?o(n.of(Um),21):e.j,r=MCn(c),r!=(MP(),_G)&&(t&&!Ore(r)||Gce(TRn(e,r,i),n));}function UPn(e){switch(e.g){case 1:return Sb(),hj;case 3:return Sb(),aj;case 2:return Sb(),jG;case 4:return Sb(),SG;default:return null;}}function GPn(e,n,t){if(e.e){switch(e.b){case 1:$9n(e.c,n,t);break;case 0:L9n(e.c,n,t);}}else {rFe(e.c,n,t);}e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e;}function Rze(e){var n,t;if(e==null){return null;}for(t=ce(Ph,_e,199,e.length,0,2),n=0;n=0){return r;}if(e.ol()){for(i=0;i=r){throw O(new $g(n,r));}if(e.Si()&&(i=e.dd(t),i>=0&&i!=n)){throw O(new In(tj));}return e.Xi(n,t);}function Kre(e,n){if(this.a=o(xt(e),253),this.b=o(xt(n),253),e.Ed(n)>0||e==(jL(),ZU)||n==(TL(),eG)){throw O(new In("Invalid range: "+uFe(e,n)));}}function Bze(e){var n,t;for(this.b=new Te,this.c=e,this.a=!1,t=new N(e.a);t.a0),(n&-n)==n){return jr(n*ys(e,31)*4656612873077393e-25);}do {t=ys(e,31),i=t%n;}while(t-i+(n-1)<0);return jr(i);}function JPn(e,n,t){switch(t.g){case 1:e.a=n.a/2,e.b=0;break;case 2:e.a=n.a,e.b=n.b/2;break;case 3:e.a=n.a/2,e.b=n.b;break;case 4:e.a=0,e.b=n.b/2;}}function J_(e,n,t,i){var r,c;for(r=n;r1&&(c=VPn(e,n)),c;}function Hze(e){var n;return n=J(re(be(e,(Wt(),cT))))*p.Math.sqrt((!e.a&&(e.a=new he(ti,e,10,11)),e.a).i),new ve(n,n/J(re(be(e,DA))));}function FF(e){var n;return e.f&&e.f.Vh()&&(n=o(e.f,54),e.f=o(Fd(e,n),84),e.f!=n&&e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,9,8,n,e.f))),e.f;}function KF(e){var n;return e.i&&e.i.Vh()&&(n=o(e.i,54),e.i=o(Fd(e,n),84),e.i!=n&&e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,9,7,n,e.i))),e.i;}function Tc(e){var n;return e.b&&e.b.Db&64&&(n=e.b,e.b=o(Fd(e,n),19),e.b!=n&&e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,9,21,n,e.b))),e.b;}function BI(e,n){var t,i,r;e.d==null?(++e.e,++e.f):(i=n.Bi(),yBn(e,e.f+1),r=(i&fi)%e.d.length,t=e.d[r],!t&&(t=e.d[r]=e.dk()),t.Fc(n),++e.f);}function Ure(e,n,t){var i;return n.tk()?!1:n.Ik()!=-2?(i=n.ik(),i==null?t==null:hi(i,t)):n.qk()==e.e.Dh()&&t==null;}function FI(){var e;Vs(16,ZZe),e=Tqe(16),this.b=ce(tG,NS,303,e,0,1),this.c=ce(tG,NS,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0;}function u1(e){YZ.call(this),this.k=(On(),cr),this.j=(Vs(6,dp),new fu(6)),this.b=(Vs(2,dp),new fu(2)),this.d=new yL,this.f=new PJ,this.a=e;}function ZPn(e){var n,t;e.c.length<=1||(n=zYe(e,(Oe(),st)),OWe(e,o(n.a,17).a,o(n.b,17).a),t=zYe(e,An),OWe(e,o(t.a,17).a,o(t.b,17).a));}function eNn(e,n,t){var i,r;for(r=e.a.b,i=r.c.length;i102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10;}function zF(e,n){if(e==null){throw O(new kv("null key in entry: null="+n));}if(n==null){throw O(new kv("null value in entry: "+e+"=null"));}}function iNn(e,n){for(var t,i;e.Ob();){if(!n.Ob()||(t=e.Pb(),i=n.Pb(),!(Z(t)===Z(i)||t!=null&&hi(t,i)))){return!1;}}return!n.Ob();}function Gze(e,n){var t;return t=R(L(Br,1),Bc,28,15,[aF(e.a[0],n),aF(e.a[1],n),aF(e.a[2],n)]),e.d&&(t[0]=p.Math.max(t[0],t[2]),t[2]=t[0]),t;}function zze(e,n){var t;return t=R(L(Br,1),Bc,28,15,[wI(e.a[0],n),wI(e.a[1],n),wI(e.a[2],n)]),e.d&&(t[0]=p.Math.max(t[0],t[2]),t[2]=t[0]),t;}function zre(e,n,t){Lv(o(M(n,($e(),nr)),101))||(ote(e,n,W1(n,t)),ote(e,n,W1(n,(Oe(),st))),ote(e,n,W1(n,Nn)),dn(),sr(n.j,new QTe(e)));}function Vze(e){var n,t;for(e.c||EUn(e),t=new Hu,n=new N(e.a),P(n);n.a0&&(Pn(0,n.length),n.charCodeAt(0)==43)?(Pn(1,n.length+1),n.substr(1)):n));}function pNn(e){var n;return e==null?null:new xd((n=Qo(e,!0),n.length>0&&(Pn(0,n.length),n.charCodeAt(0)==43)?(Pn(1,n.length+1),n.substr(1)):n));}function Wre(e,n,t,i,r,c,s,f){var h,d;i&&(h=i.a[0],h&&Wre(e,n,t,h,r,c,s,f),nK(e,t,i.d,r,c,s,f)&&n.Fc(i),d=i.a[1],d&&Wre(e,n,t,d,r,c,s,f));}function U2(e,n,t){try{return Jw(LB(e,n,t),1);}catch(i){throw i=Hi(i),U(i,333)?O(new Kc(iq+e.o+"*"+e.p+rq+n+gc+t+cq)):O(i);}}function Qze(e,n,t){try{return Jw(LB(e,n,t),0);}catch(i){throw i=Hi(i),U(i,333)?O(new Kc(iq+e.o+"*"+e.p+rq+n+gc+t+cq)):O(i);}}function Zze(e,n,t){try{return Jw(LB(e,n,t),2);}catch(i){throw i=Hi(i),U(i,333)?O(new Kc(iq+e.o+"*"+e.p+rq+n+gc+t+cq)):O(i);}}function eVe(e,n){if(e.g==-1){throw O(new Ku);}e.Xj();try{e.d.hd(e.g,n),e.f=e.d.j;}catch(t){throw t=Hi(t),U(t,77)?O(new sf):O(t);}}function mNn(e){var n,t,i,r,c;for(i=new N(e.b);i.ac&&Yi(n,c,null),n;}function vNn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(h+=r),d[b]=s,s+=f*(h+i);}}function tVe(e){var n,t,i;for(i=e.f,e.n=ce(Br,Bc,28,i,15,1),e.d=ce(Br,Bc,28,i,15,1),n=0;n0?e.c:0),++r;}e.b=i,e.d=c;}function uVe(e,n){var t;return t=R(L(Br,1),Bc,28,15,[qre(e,(Fl(),Mo),n),qre(e,du,n),qre(e,xo,n)]),e.f&&(t[0]=p.Math.max(t[0],t[2]),t[2]=t[0]),t;}function MNn(e,n,t){var i;try{bP(e,n+e.j,t+e.k,!1,!0);}catch(r){throw r=Hi(r),U(r,77)?(i=r,O(new Kc(i.g+LP+n+gc+t+")."))):O(r);}}function xNn(e,n,t){var i;try{bP(e,n+e.j,t+e.k,!0,!1);}catch(r){throw r=Hi(r),U(r,77)?(i=r,O(new Kc(i.g+LP+n+gc+t+")."))):O(r);}}function sVe(e){var n;Ii(e,($e(),tg))&&(n=o(M(e,tg),21),n.Hc((op(),El))?(n.Mc(El),n.Fc(_l)):n.Hc(_l)&&(n.Mc(_l),n.Fc(El)));}function fVe(e){var n;Ii(e,($e(),tg))&&(n=o(M(e,tg),21),n.Hc((op(),jl))?(n.Mc(jl),n.Fc(Wf)):n.Hc(Wf)&&(n.Mc(Wf),n.Fc(jl)));}function QF(e,n,t,i){var r,c,s,f;return e.a==null&&I$n(e,n),s=n.b.j.c.length,c=t.d.p,f=i.d.p,r=f-1,r<0&&(r=s-1),c<=r?e.a[r]-e.a[c]:e.a[s-1]-e.a[c]+e.a[r];}function CNn(e){var n,t;if(!e.b){for(e.b=mC(o(e.f,27).kh().i),t=new Hn(o(e.f,27).kh());t.e!=t.i.gc();){n=o(Wn(t),135),xe(e.b,new CL(n));}}return e.b;}function INn(e){var n,t;if(!e.e){for(e.e=mC(IR(o(e.f,27)).i),t=new Hn(IR(o(e.f,27)));t.e!=t.i.gc();){n=o(Wn(t),123),xe(e.e,new txe(n));}}return e.e;}function lVe(e){var n,t;if(!e.a){for(e.a=mC(oC(o(e.f,27)).i),t=new Hn(oC(o(e.f,27)));t.e!=t.i.gc();){n=o(Wn(t),27),xe(e.a,new DD(e,n));}}return e.a;}function Ib(e){var n;if(!e.C&&(e.D!=null||e.B!=null)){if(n=pGn(e),n){e.hl(n);}else {try{e.hl(null);}catch(t){if(t=Hi(t),!U(t,63)){throw O(t);}}}}return e.C;}function PNn(e){switch(e.q.g){case 5:AVe(e,(Oe(),Nn)),AVe(e,st);break;case 4:LQe(e,(Oe(),Nn)),LQe(e,st);break;default:BWe(e,(Oe(),Nn)),BWe(e,st);}}function NNn(e){switch(e.q.g){case 5:$Ve(e,(Oe(),Kn)),$Ve(e,An);break;case 4:DQe(e,(Oe(),Kn)),DQe(e,An);break;default:FWe(e,(Oe(),Kn)),FWe(e,An);}}function G2(e,n){var t,i,r;for(r=new Hr,i=e.Kc();i.Ob();){t=o(i.Pb(),36),J4(t,r.a,0),r.a+=t.f.a+n,r.b=p.Math.max(r.b,t.f.b);}return r.b>0&&(r.b+=n),r;}function qI(e,n){var t,i,r;for(r=new Hr,i=e.Kc();i.Ob();){t=o(i.Pb(),36),J4(t,0,r.b),r.b+=t.f.b+n,r.a=p.Math.max(r.a,t.f.a);}return r.a>0&&(r.a+=n),r;}function aVe(e){var n,t,i;for(i=fi,t=new N(e.a);t.a>16==6?e.Cb.Th(e,5,Wl,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||e.ii()),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function ONn(e){e4();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` -`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` -`);}return[];}function ANn(e){var n;return n=(bqe(),Orn),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28;}function wVe(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=xie(p.Math.max(8,i))<<1,e.b!=0?(n=ul(e.a,t),Iqe(e,n,i),e.a=n,e.b=0):Sg(e.a,t),e.c=i);}function $Nn(e,n){var t;return t=e.b,t.pf((Wt(),js))?t.ag()==(Oe(),An)?-t.Mf().a-J(re(t.of(js))):n+J(re(t.of(js))):t.ag()==(Oe(),An)?-t.Mf().a:n;}function Z_(e){var n;return e.b.c.length!=0&&o(Re(e.b,0),72).a?o(Re(e.b,0),72).a:(n=PR(e),n??""+(e.c?eo(e.c.a,e,0):-1));}function UI(e){var n;return e.f.c.length!=0&&o(Re(e.f,0),72).a?o(Re(e.f,0),72).a:(n=PR(e),n??""+(e.i?eo(e.i.j,e,0):-1));}function LNn(e,n){var t,i;if(n<0||n>=e.gc()){return null;}for(t=n;t0?e.c:0),r=p.Math.max(r,n.d),++i;}e.e=c,e.b=r;}function RNn(e){var n,t;if(!e.b){for(e.b=mC(o(e.f,123).kh().i),t=new Hn(o(e.f,123).kh());t.e!=t.i.gc();){n=o(Wn(t),135),xe(e.b,new CL(n));}}return e.b;}function BNn(e,n){var t,i,r;if(n.dc()){return Ky(),Ky(),yT;}for(t=new JAe(e,n.gc()),r=new Hn(e);r.e!=r.i.gc();){i=Wn(r),n.Hc(i)&&pt(t,i);}return t;}function Qre(e,n,t,i){return n==0?i?(!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),e.o):(!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),w_(e.o)):$I(e,n,t,i);}function eK(e){var n,t;if(e.rb){for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&Es,e.m=i&Es,e.h=r&a1,!0);}function nK(e,n,t,i,r,c,s){var f,h;return!(n.Te()&&(h=e.a.Ne(t,i),h<0||!r&&h==0)||n.Ue()&&(f=e.a.Ne(t,c),f>0||!s&&f==0));}function qNn(e,n){x4();var t;if(t=e.j.g-n.j.g,t!=0){return 0;}switch(e.j.g){case 2:return kF(n,nde)-kF(e,nde);case 4:return kF(e,ede)-kF(n,ede);}return 0;}function UNn(e){switch(e.g){case 0:return az;case 1:return hz;case 2:return dz;case 3:return wz;case 4:return CO;case 5:return bz;default:return null;}}function zc(e,n,t){var i,r;return i=(r=new _L,ew(r,n),lu(r,t),pt((!e.c&&(e.c=new he(ag,e,12,10)),e.c),r),r),B1(i,0),Wg(i,1),U1(i,!0),q1(i,!0),i;}function f3(e,n){var t,i;if(n>=e.i){throw O(new SD(n,e.i));}return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Uo(e.g,n+1,e.g,n,i),Yi(e.g,--e.i,null),e.Qi(n,t),e.Ni(),t;}function bVe(e,n){var t,i;return e.Db>>16==17?e.Cb.Th(e,21,Yf,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||e.ii()),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function GNn(e){var n,t,i,r;for(dn(),sr(e.c,e.a),r=new N(e.c);r.at.a.c.length)){throw O(new In("index must be >= 0 and <= layer node count"));}e.c&&Pu(e.c.a,e),e.c=t,t&&rb(t.a,n,e);}function yVe(e,n){var t,i,r;for(i=new Un(Vn(c1(e).a.Kc(),new Y));wt(i);){return t=o(it(i),18),r=o(n.Kb(t),10),new cM(xt(r.n.b+r.o.b/2));}return R5(),R5(),QU;}function kVe(e,n){this.c=new lt,this.a=e,this.b=n,this.d=o(M(e,(Ee(),Mm)),312),Z(M(e,($e(),B0e)))===Z((m_(),IO))?this.e=new gCe:this.e=new bCe;}function dk(e,n){var t,i;return i=null,e.pf((Wt(),W3))&&(t=o(e.of(W3),96),t.pf(n)&&(i=t.of(n))),i==null&&e.Tf()&&(i=e.Tf().of(n)),i==null&&(i=Ae(n)),i;}function tK(e,n){var t,i;t=e.fd(n);try{return i=t.Pb(),t.Qb(),i;}catch(r){throw r=Hi(r),U(r,112)?O(new Kc("Can't remove element "+n)):O(r);}}function ZNn(e,n){var t,i,r;if(i=new CM,r=new Pie(i.q.getFullYear()-Xd,i.q.getMonth(),i.q.getDate()),t=lqn(e,n,r),t==0||t0?n:0),++t;}return new ve(i,r);}function ice(e,n){var t,i;return e.Db>>16==6?e.Cb.Th(e,6,or,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(Do(),VA)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function rce(e,n){var t,i;return e.Db>>16==7?e.Cb.Th(e,1,bT,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(Do(),o2e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function cce(e,n){var t,i;return e.Db>>16==9?e.Cb.Th(e,9,ti,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(Do(),s2e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function SVe(e,n){var t,i;return e.Db>>16==5?e.Cb.Th(e,9,t$,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(hn(),hd)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function jVe(e,n){var t,i;return e.Db>>16==7?e.Cb.Th(e,6,Wl,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(hn(),wd)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function oce(e,n){var t,i;return e.Db>>16==3?e.Cb.Th(e,0,pT,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(hn(),ad)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function TVe(){this.a=new P9e,this.g=new FI,this.j=new FI,this.b=new lt,this.d=new FI,this.i=new FI,this.k=new lt,this.c=new lt,this.e=new lt,this.f=new lt;}function tOn(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rKH){return K4(e,i);}if(i==e){return!0;}}}return!1;}function rOn(e){switch(vx(),e.q.g){case 5:sXe(e,(Oe(),Nn)),sXe(e,st);break;case 4:fYe(e,(Oe(),Nn)),fYe(e,st);break;default:hZe(e,(Oe(),Nn)),hZe(e,st);}}function cOn(e){switch(vx(),e.q.g){case 5:MXe(e,(Oe(),Kn)),MXe(e,An);break;case 4:Nze(e,(Oe(),Kn)),Nze(e,An);break;default:dZe(e,(Oe(),Kn)),dZe(e,An);}}function oOn(e){var n,t;n=o(M(e,(bl(),mon)),17),n?(t=n.a,t==0?de(e,(Ld(),nO),new jF):de(e,(Ld(),nO),new EC(t))):de(e,(Ld(),nO),new EC(1));}function uOn(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a);}return 0;}function sOn(e,n){switch(e.g){case 0:return n==(Ef(),o0)?kO:EO;case 1:return n==(Ef(),o0)?kO:_j;case 2:return n==(Ef(),o0)?_j:EO;default:return _j;}}function nS(e,n){var t,i,r;for(Pu(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=wle,i=new N(e.a);i.a>16==3?e.Cb.Th(e,12,ti,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(Do(),c2e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function sce(e,n){var t,i;return e.Db>>16==11?e.Cb.Th(e,10,ti,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(Do(),u2e)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function MVe(e,n){var t,i;return e.Db>>16==10?e.Cb.Th(e,11,Yf,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(hn(),dd)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function xVe(e,n){var t,i;return e.Db>>16==10?e.Cb.Th(e,12,Jf,n):(i=Tc(o(pn((t=o(Cn(e,16),29),t||(hn(),Qp)),e.Db>>16),19)),e.Cb.Th(e,i.n,i.f,n));}function Bf(e){var n;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(n=o(e.r,54),e.r=o(Fd(e,n),142),e.r!=n&&e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,9,8,n,e.r))),e.r;}function iK(e,n,t){var i;return i=R(L(Br,1),Bc,28,15,[Ace(e,(Fl(),Mo),n,t),Ace(e,du,n,t),Ace(e,xo,n,t)]),e.f&&(i[0]=p.Math.max(i[0],i[2]),i[2]=i[0]),i;}function fOn(e,n){var t,i,r;if(r=OPn(e,n),r.c.length!=0){for(sr(r,new V4e),t=r.c.length,i=0;i>19,d=n.h>>19,h!=d?d-h:(r=e.h,f=n.h,r!=f?r-f:(i=e.m,s=n.m,i!=s?i-s:(t=e.l,c=n.l,t-c)));}function GI(){GI=V,She=(dP(),kG),_he=new tn(sse,She),Ehe=(RC(),yG),khe=new tn(fse,Ehe),yhe=(PI(),vG),vhe=new tn(lse,yhe),mhe=new tn(ase,(jn(),!0));}function wk(e,n,t){var i,r;i=n*t,U(e.g,154)?(r=Xv(e),r.f.d?r.f.a||(e.d.a+=i+ga):(e.d.d-=i+ga,e.d.a+=i+ga)):U(e.g,10)&&(e.d.d-=i,e.d.a+=2*i);}function CVe(e,n,t){var i,r,c,s,f;for(r=e[t.g],f=new N(n.d);f.a0?e.b:0),++t;}n.b=i,n.e=r;}function IVe(e){var n,t,i;if(i=e.b,kPe(e.i,i.length)){for(t=i.length*2,e.b=ce(tG,NS,303,t,0,1),e.c=ce(tG,NS,303,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c){lS(e,n,n);}++e.g;}}function gOn(e,n,t,i){var r,c,s,f;for(r=0;rs&&(f=s/i),r>c&&(h=c/r),La(e,p.Math.min(f,h)),e;}function mOn(){vP();var e,n;try{if(n=o(vce((jd(),Qf),j6),2113),n){return n;}}catch(t){if(t=Hi(t),U(t,103)){e=t,sne((Pt(),e));}else {throw O(t);}}return new M9e;}function vOn(){vP();var e,n;try{if(n=o(vce((jd(),Qf),qf),2040),n){return n;}}catch(t){if(t=Hi(t),U(t,103)){e=t,sne((Pt(),e));}else {throw O(t);}}return new Z9e;}function yOn(){FKe();var e,n;try{if(n=o(vce((jd(),Qf),gw),2122),n){return n;}}catch(t){if(t=Hi(t),U(t,103)){e=t,sne((Pt(),e));}else {throw O(t);}}return new zEe;}function kOn(e,n,t){var i,r;return r=e.e,e.e=n,e.Db&4&&!(e.Db&1)&&(i=new Ar(e,1,4,r,n),t?t.nj(i):t=i),r!=n&&(n?t=i6(e,rP(e,n),t):t=i6(e,e.a,t)),t;}function PVe(){CM.call(this),this.e=-1,this.a=!1,this.p=rc,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=rc;}function EOn(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=Si(i,r),t==0){if(!e.a&&n.a){return-1;}if(!n.a&&e.a){return 1;}}return t;}function _On(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=Si(i,r),t==0){if(!e.a&&n.a){return-1;}if(!n.a&&e.a){return 1;}}return t;}function SOn(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=Si(i,r),t==0){if(!e.a&&n.a){return-1;}if(!n.a&&e.a){return 1;}}return t;}function lce(){lce=V,Lon=zu(Ut(Ut(Ut(new dr,(ic(),nu),(hc(),F1e)),nu,K1e),io,H1e),io,C1e),Ron=Ut(Ut(new dr,nu,E1e),nu,I1e),Don=zu(new dr,io,N1e);}function jOn(e){var n,t,i,r,c;for(n=o(M(e,(Ee(),T7)),85),c=e.n,i=n.Cc().Kc();i.Ob();){t=o(i.Pb(),314),r=t.i,r.c+=c.a,r.d+=c.b,t.c?YYe(t):JYe(t);}de(e,T7,null);}function TOn(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1;}}function MOn(e,n,t){var i,r;for(t.Ug("Interactive node placement",1),e.a=o(M(n,(Ee(),Mm)),312),r=new N(n.b);r.a0&&(s=(c&fi)%e.d.length,r=doe(e,s,c,n),r)?(f=r.nd(t),f):(i=e.ck(c,n,t),e.c.Fc(i),null);}function dce(e,n){var t,i,r,c;switch(H1(e,n).Kl()){case 3:case 2:{for(t=em(n),r=0,c=t.i;r=0;i--){if(un(e[i].d,n)||un(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break;}}return e;}function iS(e,n){var t;return co(e)&&co(n)&&(t=e/n,$S0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=p.Math.min(i,r));}function RVe(e){var n;n=o(M(o(_f(e.b,0),40),(So(),ube)),107),de(e,(Mi(),n5),new ve(0,0)),CJe(new h_,e,n.b+n.c-J(re(M(e,gV))),n.d+n.a-J(re(M(e,pV))));}function BVe(e,n){var t,i;if(i=!1,Dr(n)&&(i=!0,qv(e,new Rg(Nt(n)))),i||U(n,242)&&(i=!0,qv(e,(t=uee(o(n,242)),new oM(t)))),!i){throw O(new PL(lae));}}function UOn(e,n,t,i){var r,c,s;return r=new Zh(e.e,1,10,(s=n.c,U(s,90)?o(s,29):(hn(),Zf)),(c=t.c,U(c,90)?o(c,29):(hn(),Zf)),V1(e,n),!1),i?i.nj(r):i=r,i;}function gce(e){var n,t;switch(o(M(Yr(e),($e(),N0e)),429).g){case 0:return n=e.n,t=e.o,new ve(n.a+t.a/2,n.b+t.b/2);case 1:return new wc(e.n);default:return null;}}function rS(){rS=V,PO=new t8(Qa,0),pde=new t8("LEFTUP",1),vde=new t8("RIGHTUP",2),gde=new t8("LEFTDOWN",3),mde=new t8("RIGHTDOWN",4),gz=new t8("BALANCED",5);}function GOn(e,n,t){var i,r,c;if(i=Si(e.a[n.p],e.a[t.p]),i==0){if(r=o(M(n,(Ee(),B3)),15),c=o(M(t,B3),15),r.Hc(t)){return-1;}if(c.Hc(n)){return 1;}}return i;}function zOn(e){switch(e.g){case 1:return new s7e;case 2:return new f7e;case 3:return new u7e;case 0:return null;default:throw O(new In(iU+(e.f!=null?e.f:""+e.g)));}}function pce(e,n,t){switch(n){case 1:!e.n&&(e.n=new he(Fc,e,1,7)),bt(e.n),!e.n&&(e.n=new he(Fc,e,1,7)),Zi(e.n,o(t,16));return;case 2:g4(e,Nt(t));return;}Die(e,n,t);}function mce(e,n,t){switch(n){case 3:vb(e,J(re(t)));return;case 4:yb(e,J(re(t)));return;case 5:vu(e,J(re(t)));return;case 6:yu(e,J(re(t)));return;}pce(e,n,t);}function zI(e,n,t){var i,r,c;c=(i=new _L,i),r=da(c,n,null),r&&r.oj(),lu(c,t),pt((!e.c&&(e.c=new he(ag,e,12,10)),e.c),c),B1(c,0),Wg(c,1),U1(c,!0),q1(c,!0);}function vce(e,n){var t,i,r;return t=J5(e.i,n),U(t,241)?(r=o(t,241),r.zi()==null,r.wi()):U(t,507)?(i=o(t,2037),r=i.b,r):null;}function VOn(e,n,t,i){var r,c;return xt(n),xt(t),c=o(y8(e.d,n),17),hHe(!!c,"Row %s not in %s",n,e.e),r=o(y8(e.b,t),17),hHe(!!r,"Column %s not in %s",t,e.c),_Ue(e,c.a,r.a,i);}function FVe(e,n,t,i,r,c,s){var f,h,d,b,m;if(b=r[c],d=c==s-1,f=d?i:0,m=cVe(f,b),i!=10&&R(L(e,s-c),n[c],t[c],f,m),!d){for(++c,h=0;h1||f==-1?(c=o(h,15),r.Wb(IIn(e,c))):r.Wb(HK(e,o(h,58)))));}function eAn(e,n,t,i){YIe();var r=JU;function c(){for(var s=0;s0){return!1;}}return!0;}function iAn(e){var n,t,i,r,c;for(i=new Y0(new P0(e.b).a);i.b;){t=_b(i),n=o(t.ld(),10),c=o(o(t.md(),42).a,10),r=o(o(t.md(),42).b,8),li(Al(n.n),li(Wr(c.n),r));}}function rAn(e){switch(o(M(e.b,($e(),j0e)),387).g){case 1:tr(Qc(go(new rn(null,new ln(e.d,16)),new B5e),new F5e),new K5e);break;case 2:ZFn(e);break;case 0:PLn(e);}}function cAn(e,n,t){var i,r,c;for(i=t,!i&&(i=new vv),i.Ug("Layout",e.a.c.length),c=new N(e.a);c.aZq){return t;}r>-1e-6&&++t;}return t;}function kce(e,n){var t;n!=e.b?(t=null,e.b&&(t=lC(e.b,e,-4,t)),n&&(t=s3(n,e,-4,t)),t=gGe(e,n,t),t&&t.oj()):e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,3,n,n));}function qVe(e,n){var t;n!=e.f?(t=null,e.f&&(t=lC(e.f,e,-1,t)),n&&(t=s3(n,e,-1,t)),t=bGe(e,n,t),t&&t.oj()):e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,0,n,n));}function fAn(e,n,t,i){var r,c,s,f;return Ns(e.e)&&(r=n.Lk(),f=n.md(),c=t.md(),s=Od(e,1,r,f,c,r.Jk()?e6(e,r,c,U(r,102)&&(o(r,19).Bb&kc)!=0):-1,!0),i?i.nj(s):i=s),i;}function UVe(e){var n,t,i;if(e==null){return null;}if(t=o(e,15),t.dc()){return"";}for(i=new T1,n=t.Kc();n.Ob();){Lc(i,(Ei(),Nt(n.Pb()))),i.a+=" ";}return TD(i,i.a.length-1);}function GVe(e){var n,t,i;if(e==null){return null;}if(t=o(e,15),t.dc()){return"";}for(i=new T1,n=t.Kc();n.Ob();){Lc(i,(Ei(),Nt(n.Pb()))),i.a+=" ";}return TD(i,i.a.length-1);}function lAn(e,n,t){var i,r;return i=e.c[n.c.p][n.p],r=e.c[t.c.p][t.p],i.a!=null&&r.a!=null?wR(i.a,r.a):i.a!=null?-1:r.a!=null?1:0;}function aAn(e,n,t){return t.Ug("Tree layout",1),QE(e.b),$l(e.b,(l3(),hA),hA),$l(e.b,q7,q7),$l(e.b,U7,U7),$l(e.b,G7,G7),e.a=SS(e.b,n),cAn(e,n,t.eh(1)),t.Vg(),n;}function hAn(e,n){var t,i,r,c,s,f;if(n){for(c=n.a.length,t=new R0(c),f=(t.b-t.a)*t.c<0?(Td(),k0):new Cd(t);f.Ob();){s=o(f.Pb(),17),r=t4(n,s.a),i=new hxe(e),y9n(i.a,r);}}}function dAn(e,n){var t,i,r,c,s,f;if(n){for(c=n.a.length,t=new R0(c),f=(t.b-t.a)*t.c<0?(Td(),k0):new Cd(t);f.Ob();){s=o(f.Pb(),17),r=t4(n,s.a),i=new ixe(e),v9n(i.a,r);}}}function wAn(e){var n;if(e!=null&&e.length>0&&tc(e,e.length-1)==33){try{return n=ZXe(df(e,0,e.length-1)),n.e==null;}catch(t){if(t=Hi(t),!U(t,33)){throw O(t);}}}return!1;}function bAn(e,n,t){var i,r,c;switch(i=Yr(n),r=vI(i),c=new qo,bo(c,n),t.g){case 1:Tr(c,z_(c3(r)));break;case 2:Tr(c,c3(r));}return de(c,($e(),$p),re(M(e,$p))),c;}function Ece(e){var n,t;return n=o(it(new Un(Vn(Nr(e.a).a.Kc(),new Y))),18),t=o(it(new Un(Vn(ur(e.a).a.Kc(),new Y))),18),De(Le(M(n,(Ee(),ka))))||De(Le(M(t,ka)));}function tp(){tp=V,Sj=new mE("ONE_SIDE",0),jO=new mE("TWO_SIDES_CORNER",1),TO=new mE("TWO_SIDES_OPPOSING",2),SO=new mE("THREE_SIDES",3),_O=new mE("FOUR_SIDES",4);}function zVe(e,n){var t,i,r,c;for(c=new Te,r=0,i=n.Kc();i.Ob();){for(t=je(o(i.Pb(),17).a+r);t.a=e.f){break;}yn(c.c,t);}return c;}function gAn(e,n){var t,i,r,c,s;for(c=new N(n.a);c.a0&&gVe(this,this.c-1,(Oe(),Kn)),this.c0&&e[0].length>0&&(this.c=De(Le(M(Yr(e[0][0]),(Ee(),Ade))))),this.a=ce(Fln,_e,2117,e.length,0,2),this.b=ce(Kln,_e,2118,e.length,0,2),this.d=new lGe;}function kAn(e){return e.c.length==0?!1:(wn(0,e.c.length),o(e.c[0],18)).c.i.k==(On(),$r)?!0:$2(Qc(new rn(null,new ln(e,16)),new y8e),new k8e);}function XVe(e,n){var t,i,r,c,s,f,h;for(f=up(n),c=n.f,h=n.g,s=p.Math.sqrt(c*c+h*h),r=0,i=new N(f);i.a=0?(t=iS(e,IP),i=W_(e,IP)):(n=Id(e,1),t=iS(n,5e8),i=W_(n,5e8),i=lc(fl(i,1),Cr(e,1))),Ll(fl(i,32),Cr(t,Ic));}function QVe(e,n,t){var i,r;switch(i=(Zn(n.b!=0),o(pf(n,n.a.a),8)),t.g){case 0:i.b=0;break;case 2:i.b=e.f;break;case 3:i.a=0;break;default:i.a=e.g;}return r=dt(n,0),JE(r,i),n;}function ZVe(e,n,t,i){var r,c,s,f,h;switch(h=e.b,c=n.d,s=c.j,f=Bre(s,h.d[s.g],t),r=li(Wr(c.n),c.a),c.j.g){case 1:case 3:f.a+=r.a;break;case 2:case 4:f.b+=r.b;}Ji(i,f,i.c.b,i.c);}function OAn(e,n,t){var i,r,c,s;for(s=eo(e.e,n,0),c=new xJ,c.b=t,i=new Gr(e.e,s);i.b1;n>>=1){n&1&&(i=A2(i,t)),t.d==1?t=A2(t,t):t=new bze($Je(t.a,t.d,ce(vt,Gt,28,t.d<<1,15,1)));}return i=A2(i,t),i;}function Pce(){Pce=V;var e,n,t,i;for(lhe=ce(Br,Bc,28,25,15,1),ahe=ce(Br,Bc,28,33,15,1),i=152587890625e-16,n=32;n>=0;n--){ahe[n]=i,i*=.5;}for(t=1,e=24;e>=0;e--){lhe[e]=t,t*=.5;}}function BAn(e){var n,t;if(De(Le(be(e,($e(),Ap))))){for(t=new Un(Vn(s1(e).a.Kc(),new Y));wt(t);){if(n=o(it(t),74),Pb(n)&&De(Le(be(n,Ew)))){return!0;}}}return!1;}function eWe(e,n){var t,i,r;vr(e.f,n)&&(n.b=e,i=n.c,eo(e.j,i,0)!=-1||xe(e.j,i),r=n.d,eo(e.j,r,0)!=-1||xe(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new kze(e)),UMn(e.i,t)));}function FAn(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&un(e.substr(n,3),"GMT")||n>=0&&un(e.substr(n,3),"UTC"))&&(t[0]=n+3),lue(e,t,i);}function HAn(e,n){var t,i,r,c,s;for(c=e.g.a,s=e.g.b,i=new N(e.d);i.at;c--){e[c]|=n[c-t-1]>>>s,e[c-1]=n[c-t-1]<0&&Uo(e.g,n,e.g,n+i,f),s=t.Kc(),e.i+=i,r=0;r>4&15,c=e[i]&15,s[r++]=f2e[t],s[r++]=f2e[c];}return Ha(s,0,s.length);}function Ou(e){var n,t;return e>=kc?(n=LS+(e-kc>>10&1023)&gr,t=56320+(e-kc&1023)&gr,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&gr);}function ZAn(e,n){Og();var t,i,r,c;return r=o(o(pi(e.r,n),21),87),r.gc()>=2?(i=o(r.Kc().Pb(),117),t=e.u.Hc((fs(),d9)),c=e.u.Hc(J3),!i.a&&!t&&(r.gc()==2||c)):!1;}function iWe(e,n,t,i,r){var c,s,f;for(c=HYe(e,n,t,i,r),f=!1;!c;){tP(e,r,!0),f=!0,c=HYe(e,n,t,i,r);}f&&tP(e,r,!1),s=YB(r),s.c.length!=0&&(e.d&&e.d.Gg(s),iWe(e,r,t,i,s));}function YI(){YI=V,jW=new o8(Qa,0),Ope=new o8("DIRECTED",1),$pe=new o8("UNDIRECTED",2),Ppe=new o8("ASSOCIATION",3),Ape=new o8("GENERALIZATION",4),Npe=new o8("DEPENDENCY",5);}function e$n(e,n){var t;if(!ia(e)){throw O(new Hc(vtn));}switch(t=ia(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g);}return 0;}function n$n(e,n,t){var i,r,c;return i=n.Lk(),c=n.md(),r=i.Jk()?Od(e,4,i,c,null,e6(e,i,c,U(i,102)&&(o(i,19).Bb&kc)!=0),!0):Od(e,i.tk()?2:1,i,c,i.ik(),-1,!0),t?t.nj(r):t=r,t;}function U4(e,n){var t,i;for($n(n),i=e.b.c.length,xe(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.Ne(Re(e.b,i),n)<=0){return bf(e.b,t,n),!0;}bf(e.b,t,Re(e.b,i));}return bf(e.b,i,n),!0;}function Ace(e,n,t,i){var r,c;if(r=0,t){r=wI(e.a[t.g][n.g],i);}else {for(c=0;c=f);}function rWe(e){switch(e.g){case 0:return new _7e;case 1:return new S7e;default:throw O(new In("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)));}}function $ce(e,n,t,i){var r;if(r=!1,Dr(i)&&(r=!0,Gy(n,t,Nt(i))),r||Cg(i)&&(r=!0,$ce(e,n,t,i)),r||U(i,242)&&(r=!0,H0(n,t,o(i,242))),!r){throw O(new PL(lae));}}function i$n(e,n){var t,i,r;if(t=n.qi(e.a),t&&(r=Kl((!t.b&&(t.b=new As((hn(),_c),Io,t)),t.b),Hf),r!=null)){for(i=1;i<(Xu(),O2e).length;++i){if(un(O2e[i],r)){return i;}}}return 0;}function r$n(e,n){var t,i,r;if(t=n.qi(e.a),t&&(r=Kl((!t.b&&(t.b=new As((hn(),_c),Io,t)),t.b),Hf),r!=null)){for(i=1;i<(Xu(),A2e).length;++i){if(un(A2e[i],r)){return i;}}}return 0;}function cWe(e,n){var t,i,r,c;if($n(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;){c=c.a[r],r=e.a.Ne(t.d,c.d)>0?1:0;}c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null;}function u$n(e){var n,t,i,r;for(n=new Te,t=ce(Ts,Mh,28,e.a.c.length,16,1),ine(t,t.length),r=new N(e.a);r.a0&&PJe((wn(0,t.c.length),o(t.c[0],30)),e),t.c.length>1&&PJe(o(Re(t,t.c.length-1),30),e),n.Vg();}function f$n(e){fs();var n,t;return n=Pi(m1,R(L(FA,1),we,279,0,[b0])),!(I_(hC(n,e))>1||(t=Pi(d9,R(L(FA,1),we,279,0,[h9,J3])),I_(hC(t,e))>1));}function Dce(e,n){var t;t=Xo((jd(),Qf),e),U(t,507)?qc(Qf,e,new JNe(this,n)):qc(Qf,e,this),wK(this,n),n==(Iy(),k2e)?(this.wb=o(this,2038),o(n,2040)):this.wb=(Pd(),Tn);}function l$n(e){var n,t,i;if(e==null){return null;}for(n=null,t=0;t=J1?"error":i>=900?"warn":i>=800?"info":"log"),mDe(t,e.a),e.b&&Boe(n,t,e.b,"Exception: ",!0));}function M(e,n){var t,i;return i=(!e.q&&(e.q=new lt),qn(e.q,n)),i??(t=n.Sg(),U(t,4)&&(t==null?(!e.q&&(e.q=new lt),Jv(e.q,n)):(!e.q&&(e.q=new lt),Jt(e.q,n,t))),t);}function ic(){ic=V,vl=new pE("P1_CYCLE_BREAKING",0),Ih=new pE("P2_LAYERING",1),Go=new pE("P3_NODE_ORDERING",2),nu=new pE("P4_NODE_PLACEMENT",3),io=new pE("P5_EDGE_ROUTING",4);}function a$n(e,n){H8();var t;if(e.c==n.c){if(e.b==n.b||mMn(e.b,n.b)){if(t=qyn(e.b)?1:-1,e.a&&!n.a){return t;}if(!e.a&&n.a){return-t;}}return $o(e.b.g,n.b.g);}else {return Si(e.c,n.c);}}function lWe(e,n){var t,i,r;if(Bce(e,n)){return!0;}for(i=new N(n);i.a=r||n<0){throw O(new Kc(PU+n+ww+r));}if(t>=r||t<0){throw O(new Kc(NU+t+ww+r));}return n!=t?i=(c=e.Cj(t),e.qj(n,c),c):i=e.xj(t),i;}function dWe(e){var n,t,i;if(i=e,e){for(n=0,t=e.Eh();t;t=t.Eh()){if(++n>KH){return dWe(t);}if(i=t,t==e){throw O(new Hc("There is a cycle in the containment hierarchy of "+e));}}}return i;}function Ud(e){var n,t,i;for(i=new J0(gc,"[","]"),t=e.Kc();t.Ob();){n=t.Pb(),Qh(i,Z(n)===Z(e)?"(this Collection)":n==null?Au:uo(n));}return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c;}function Bce(e,n){var t,i;if(i=!1,n.gc()<2){return!1;}for(t=0;t1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=p.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e));}function Gd(){Gd=V,Sun=R(L(Ec,1),Ro,64,0,[(Oe(),Nn),Kn,st]),_un=R(L(Ec,1),Ro,64,0,[Kn,st,An]),jun=R(L(Ec,1),Ro,64,0,[st,An,Nn]),Tun=R(L(Ec,1),Ro,64,0,[An,Nn,Kn]);}function d$n(e,n,t,i){var r,c,s,f,h,d,b;if(s=e.c.d,f=e.d.d,s.j!=f.j){for(b=e.b,r=s.j,h=null;r!=f.j;){h=n==0?mI(r):cre(r),c=Bre(r,b.d[r.g],t),d=Bre(h,b.d[h.g],t),Kt(i,li(c,d)),r=h;}}}function w$n(e,n,t,i){var r,c,s,f,h;return s=pVe(e.a,n,t),f=o(s.a,17).a,c=o(s.b,17).a,i&&(h=o(M(n,(Ee(),ls)),10),r=o(M(t,ls),10),h&&r&&(rFe(e.b,h,r),f+=e.b.i,c+=e.b.e)),f>c;}function bWe(e){var n,t,i,r,c,s,f,h,d;for(this.a=Rze(e),this.b=new Te,t=e,i=0,r=t.length;iqD(e.d).c?(e.i+=e.g.c,CF(e.d)):qD(e.d).c>qD(e.g).c?(e.e+=e.d.c,CF(e.g)):(e.i+=TLe(e.g),e.e+=TLe(e.d),CF(e.g),CF(e.d));}}function m$n(e,n,t){var i,r,c,s;for(c=n.q,s=n.r,new q0((Dl(),s0),n,c,1),new q0(s0,c,s,1),r=new N(t);r.af&&(h=f/i),r>c&&(d=c/r),s=p.Math.min(h,d),e.a+=s*(n.a-e.a),e.b+=s*(n.b-e.b);}function E$n(e,n,t,i,r){var c,s;for(s=!1,c=o(Re(t.b,0),27);JHn(e,n,c,i,r)&&(s=!0,QOn(t,c),t.b.c.length!=0);){c=o(Re(t.b,0),27);}return t.b.c.length==0&&nS(t.j,t),s&&HI(n.q),s;}function _$n(e,n){Q2();var t,i,r,c;if(n.b<2){return!1;}for(c=dt(n,0),t=o(at(c),8),i=t;c.b!=c.d.c;){if(r=o(at(c),8),IK(e,i,r)){return!0;}i=r;}return!!IK(e,i,t);}function Kce(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new Vu((Do(),Dh),ld,e,0)),_x(e.o,n,i)):(c=o(pn((r=o(Cn(e,16),29),r||e.ii()),t),69),c.wk().Ak(e,ku(e),t-tt(e.ii()),n,i));}function wK(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=o(e.sb,54).Th(e,1,g9,t)),n&&(t=o(n,54).Rh(e,1,g9,t)),t=Zie(e,n,t),t&&t.oj()):e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,4,n,n));}function S$n(e,n){var t,i,r,c;if(n){r=t1(n,"x"),t=new fxe(e),l4(t.a,($n(r),r)),c=t1(n,"y"),i=new lxe(e),h4(i.a,($n(c),c));}else {throw O(new Na("All edge sections need an end point."));}}function j$n(e,n){var t,i,r,c;if(n){r=t1(n,"x"),t=new oxe(e),a4(t.a,($n(r),r)),c=t1(n,"y"),i=new uxe(e),d4(i.a,($n(c),c));}else {throw O(new Na("All edge sections need a start point."));}}function T$n(e,n){var t,i,r,c,s,f,h;for(i=GUe(e),c=0,f=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<e){throw O(new In("k must be smaller than n"));}return n==0||n==e?1:e==0?0:wce(e)/(wce(n)*wce(e-n));}function Hce(e,n){var t,i,r,c;for(t=new rZ(e);t.g==null&&!t.c?Lne(t):t.g==null||t.i!=0&&o(t.g[t.i-1],51).Ob();){if(c=o(iP(t),58),U(c,167)){for(i=o(c,167),r=0;r>4],n[t*2+1]=u$[c&15];}return Ha(n,0,n.length);}function H$n(e){eC();var n,t,i;switch(i=e.c.length,i){case 0:return Ern;case 1:return n=o(tXe(new N(e)),44),$kn(n.ld(),n.md());default:return t=o(ha(e,ce(pw,xP,44,e.c.length,0,1)),173),new KJ(t);}}function q$n(e){var n,t,i,r,c,s;for(n=new x2,t=new x2,Ad(n,e),Ad(t,e);t.b!=t.c;){for(r=o(Kv(t),36),s=new N(r.a);s.a0&&mS(e,t,n),r):PDn(e,n,t);}function zd(){zd=V,Mhn=(Wt(),V3),xhn=Pw,_hn=Iw,Shn=Gm,jhn=a0,Ehn=Um,Mbe=iT,Thn=Up,NV=(tue(),ahn),OV=hhn,Cbe=ghn,AV=vhn,Ibe=phn,Pbe=mhn,xbe=dhn,yA=whn,kA=bhn,Gj=yhn,Nbe=khn,Tbe=lhn;}function _We(e,n){var t,i,r,c,s;if(e.e<=n||d_n(e,e.g,n)){return e.g;}for(c=e.r,i=e.g,s=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=p.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a));}function W$n(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b;}}function X$n(e,n,t){var i,r,c;for(r=new Un(Vn(c1(t).a.Kc(),new Y));wt(r);){i=o(it(r),18),!yc(i)&&!(!yc(i)&&i.c.i.c==i.d.i.c)&&(c=dYe(e,i,t,new pCe),c.c.length>1&&yn(n.c,c));}}function jWe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e;}function Y$n(e){if(U(e,143)){return MBn(o(e,143));}if(U(e,233)){return pIn(o(e,233));}if(U(e,23)){return x$n(o(e,23));}throw O(new In(aae+Ud(new is(R(L(Ir,1),vn,1,5,[e])))));}function J$n(e,n,t,i,r){var c,s,f;for(c=!0,s=0;s>>r|t[s+i+1]<>>r,++s;}return c;}function zce(e,n,t,i){var r,c,s;if(n.k==(On(),$r)){for(c=new Un(Vn(Nr(n).a.Kc(),new Y));wt(c);){if(r=o(it(c),18),s=r.c.i.k,s==$r&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t){return!0;}}}return!1;}function Q$n(e,n){var t,i,r,c;return n&=63,t=e.h&a1,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),gu(i&Es,r&Es,c&a1);}function TWe(e,n,t,i){var r;this.b=i,this.e=e==(kb(),F7),r=n[t],this.d=L0(Ts,[_e,Mh],[183,28],16,[r.length,r.length],2),this.a=L0(vt,[_e,Gt],[53,28],15,[r.length,r.length],2),this.c=new Mce(n,t);}function Z$n(e){var n,t,i;for(e.k=new Bne((Oe(),R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An])).length,e.j.c.length),i=new N(e.j);i.a=t){return z4(e,n,i.p),!0;}}return!1;}function W2(e,n,t,i){var r,c,s,f,h,d;for(s=t.length,c=0,r=-1,d=vHe((Pn(n,e.length+1),e.substr(n)),(WD(),she)),f=0;fc&&T7n(d,vHe(t[f],she))&&(r=f,c=h);}return r>=0&&(i[0]=n+c),r;}function xWe(e){var n;return e.Db&64?bK(e):(n=new Ks(eae),!e.a||qt(qt((n.a+=' "',n),e.a),'"'),qt(zw(qt(zw(qt(zw(qt(zw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a);}function CWe(e,n,t){var i,r,c,s,f;for(f=Eu(e.e.Dh(),n),r=o(e.g,124),i=0,s=0;st?toe(e,t,"start index"):n<0||n>t?toe(n,t,"end index"):Tk("end index (%s) must not be less than start index (%s)",R(L(Ir,1),vn,1,5,[je(n),je(e)]));}function PWe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&NWe(e,c,t));}}n.p=0;}function He(e){var n;this.c=new $i,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=o(Nl(Oh),9),new af(n,o(ul(n,n.length),9),0)),this.g=e.f;}function cLn(e){var n,t,i,r;for(n=F0(qt(new Ks("Predicates."),"and"),40),t=!0,r=new P5(e);r.b0?f[s-1]:ce(Ph,Q1,10,0,0,1),r=f[s],d=s=0?e.ki(r):ooe(e,i);}else {throw O(new In(Zd+i.xe()+n7));}}else {throw O(new In(Itn+n+Ptn));}}else {vf(e,t,i);}}function Vce(e){var n,t;if(t=null,n=!1,U(e,211)&&(n=!0,t=o(e,211).a),n||U(e,263)&&(n=!0,t=""+o(e,263).a),n||U(e,493)&&(n=!0,t=""+o(e,493).a),!n){throw O(new PL(lae));}return t;}function Wce(e,n,t){var i,r,c,s,f,h;for(h=Eu(e.e.Dh(),n),i=0,f=e.i,r=o(e.g,124),s=0;s=e.d.b.c.length&&(n=new Wo(e.d),n.p=i.p-1,xe(e.d.b,n),t=new Wo(e.d),t.p=i.p,xe(e.d.b,t)),Ur(i,o(Re(e.d.b,i.p),30));}}function Jce(e,n,t){var i,r,c;if(!e.b[n.g]){for(e.b[n.g]=!0,i=t,!i&&(i=new h_),Kt(i.b,n),c=e.a[n.g].Kc();c.Ob();){r=o(c.Pb(),65),r.b!=n&&Jce(e,r.b,i),r.c!=n&&Jce(e,r.c,i),Kt(i.a,r);}return i;}return null;}function fLn(e){switch(e.g){case 0:case 1:case 2:return Oe(),Nn;case 3:case 4:case 5:return Oe(),st;case 6:case 7:case 8:return Oe(),An;case 9:case 10:case 11:return Oe(),Kn;default:return Oe(),yo;}}function lLn(e,n){var t;return e.c.length==0?!1:(t=YGe((wn(0,e.c.length),o(e.c[0],18)).c.i),qs(),t==(ep(),Om)||t==Nm?!0:$2(Qc(new rn(null,new ln(e,16)),new E8e),new gMe(n)));}function vK(e,n){if(U(n,207)){return r4n(e,o(n,27));}if(U(n,193)){return c4n(e,o(n,123));}if(U(n,452)){return i4n(e,o(n,166));}throw O(new In(aae+Ud(new is(R(L(Ir,1),vn,1,5,[n])))));}function RWe(e,n,t){var i,r;if(this.f=e,i=o(qn(e.b,n),260),r=i?i.a:0,bte(t,r),t>=(r/2|0)){for(this.e=i?i.c:null,this.d=r;t++0;){Bte(this);}}this.b=n,this.a=null;}function aLn(e,n){var t,i;n.a?GBn(e,n):(t=o(HL(e.b,n.b),60),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Fc(n.b),i=o(KL(e.b,n.b),60),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Fc(i),$D(e.b,n.b));}function BWe(e,n){var t,i;if(t=o(Dc(e.b,n),127),o(o(pi(e.r,n),21),87).dc()){t.n.b=0,t.n.c=0;return;}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Hc((Rs(),Ow))&&aJe(e,n),i=BPn(e,n),NK(e,n)==(H2(),d0)&&(i+=2*e.w),t.a.a=i;}function FWe(e,n){var t,i;if(t=o(Dc(e.b,n),127),o(o(pi(e.r,n),21),87).dc()){t.n.d=0,t.n.a=0;return;}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Hc((Rs(),Ow))&&hJe(e,n),i=RPn(e,n),NK(e,n)==(H2(),d0)&&(i+=2*e.w),t.a.b=i;}function hLn(e,n){var t,i,r,c;for(c=new Te,i=new N(n);i.ai&&(Pn(n-1,e.length),e.charCodeAt(n-1)<=32);){--n;}return i>0||nt.a&&(i.Hc((iw(),t9))?r=(n.a-t.a)/2:i.Hc(i9)&&(r=n.a-t.a)),n.b>t.b&&(i.Hc((iw(),c9))?c=(n.b-t.b)/2:i.Hc(r9)&&(c=n.b-t.b)),Lce(e,r,c);}function VWe(e,n,t,i,r,c,s,f,h,d,b,m,E){U(e.Cb,90)&&cp(ps(o(e.Cb,90)),4),lu(e,t),e.f=s,O4(e,f),$4(e,h),N4(e,d),A4(e,b),U1(e,m),L4(e,E),q1(e,!0),B1(e,r),e.Zk(c),ew(e,n),i!=null&&(e.i=null,ZC(e,i));}function toe(e,n,t){if(e<0){return Tk(UZe,R(L(Ir,1),vn,1,5,[t,je(e)]));}if(n<0){throw O(new In(GZe+n));}return Tk("%s (%s) must not be greater than size (%s)",R(L(Ir,1),vn,1,5,[t,je(e),je(n)]));}function ioe(e,n,t,i,r,c){var s,f,h,d;if(s=i-t,s<7){oIn(n,t,i,c);return;}if(h=t+r,f=i+r,d=h+(f-h>>1),ioe(n,e,h,d,-r,c),ioe(n,e,d,f,-r,c),c.Ne(e[d-1],e[d])<=0){for(;t=0?e.bi(c,t):Ooe(e,r,t);}else {throw O(new In(Zd+r.xe()+n7));}}else {throw O(new In(Itn+n+Ptn));}}else {yf(e,i,r,t);}}function WWe(e){var n,t;if(e.f){for(;e.n>0;){if(n=o(e.k.Xb(e.n-1),76),t=n.Lk(),U(t,102)&&o(t,19).Bb&Oo&&(!e.e||t.pk()!=h5||t.Lj()!=0)&&n.md()!=null){return!0;}--e.n;}return!1;}else {return e.n>0;}}function XWe(e){var n,t,i,r;if(t=o(e,54)._h(),t){try{if(i=null,n=W4((jd(),Qf),AJe(mIn(t))),n&&(r=n.ai(),r&&(i=r.Fl(v3n(t.e)))),i&&i!=e){return XWe(i);}}catch(c){if(c=Hi(c),!U(c,63)){throw O(c);}}}return e;}function xLn(e,n,t){var i,r,c;t.Ug("Remove overlaps",1),t.dh(n,dle),i=o(be(n,(I2(),Lm)),27),e.f=i,e.a=BF(o(be(n,(zd(),Gj)),300)),r=re(be(n,(Wt(),Pw))),XY(e,($n(r),r)),c=up(i),tZe(e,n,c,t),t.dh(n,aN);}function CLn(e){var n,t,i;if(De(Le(be(e,(Wt(),nT))))){for(i=new Te,t=new Un(Vn(s1(e).a.Kc(),new Y));wt(t);){n=o(it(t),74),Pb(n)&&De(Le(be(n,dW)))&&yn(i.c,n);}return i;}else {return dn(),dn(),mc;}}function YWe(e){if(!e){return YCe(),Prn;}var n=e.valueOf?e.valueOf():e;if(n!==e){var t=uG[typeof n];return t?t(n):zie(typeof n);}else {return e instanceof Array||e instanceof p.Array?new qY(e):new eE(e);}}function JWe(e,n,t){var i,r,c;switch(c=e.o,i=o(Dc(e.p,t),252),r=i.i,r.b=vk(i),r.a=mk(i),r.b=p.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b;}GK(i),zK(i);}function QWe(e,n,t){var i,r,c;switch(c=e.o,i=o(Dc(e.p,t),252),r=i.i,r.b=vk(i),r.a=mk(i),r.a=p.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a;}GK(i),zK(i);}function ILn(e,n){var t,i,r,c,s;if(!n.dc()){if(r=o(n.Xb(0),131),n.gc()==1){CYe(e,r,r,1,0,n);return;}for(t=1;t0){try{r=Ys(n,rc,fi);}catch(c){throw c=Hi(c),U(c,130)?(i=c,O(new AC(i))):O(c);}}return t=(!e.a&&(e.a=new bL(e)),e.a),r=0?o(z(t,r),58):null;}function ALn(e,n){if(e<0){return Tk(UZe,R(L(Ir,1),vn,1,5,["index",je(e)]));}if(n<0){throw O(new In(GZe+n));}return Tk("%s (%s) must be less than size (%s)",R(L(Ir,1),vn,1,5,["index",je(e),je(n)]));}function $Ln(e){var n,t,i,r,c;if(e==null){return Au;}for(c=new J0(gc,"[","]"),t=e,i=0,r=t.length;i=0?e.Lh(t,!0,!0):Nb(e,r,!0),160)),o(i,220).Zl(n);}else {throw O(new In(Zd+n.xe()+n7));}}function uoe(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=jr(p.Math.floor(p.Math.log(e)/.6931471805599453)),(!n||e!=p.Math.pow(2,t))&&++t,t):bUe(No(e));}function YLn(e){var n,t,i,r,c,s,f;for(c=new $a,t=new N(e);t.a2&&f.e.b+f.j.b<=2&&(r=f,i=s),c.a.zc(r,c),r.q=i);}return c;}function JLn(e,n,t){t.Ug("Eades radial",1),t.dh(n,aN),e.d=o(be(n,(I2(),Lm)),27),e.c=J(re(be(n,(zd(),kA)))),e.e=BF(o(be(n,Gj),300)),e.a=TIn(o(be(n,Nbe),434)),e.b=zOn(o(be(n,xbe),354)),xOn(e),t.dh(n,aN);}function QLn(e,n){if(n.Ug("Target Width Setter",1),sa(e,(wa(),zV))){yi(e,(kh(),Hp),re(be(e,zV)));}else {throw O(new j1("A target width has to be set if the TargetWidthWidthApproximator should be used."));}n.Vg();}function iXe(e,n){var t,i,r;return i=new u1(e),no(i,n),de(i,(Ee(),RO),n),de(i,($e(),nr),(Kr(),ru)),de(i,rh,(vh(),OA)),C0(i,(On(),fr)),t=new qo,bo(t,i),Tr(t,(Oe(),An)),r=new qo,bo(r,i),Tr(r,Kn),i;}function rXe(e){switch(e.g){case 0:return new xL((kb(),Bj));case 1:return new kSe;case 2:return new ESe;default:throw O(new In("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)));}}function cXe(e,n){var t,i,r,c,s;for(e.c[n.p]=!0,xe(e.a,n),s=new N(n.j);s.a=c){s.$b();}else {for(r=s.Kc(),i=0;i0?zJ():s<0&&fXe(e,n,-s),!0):!1;}function mk(e){var n,t,i,r,c,s,f;if(f=0,e.b==0){for(s=Gze(e,!0),n=0,i=s,r=0,c=i.length;r0&&(f+=t,++n);}n>1&&(f+=e.c*(n-1));}else {f=sIe(HB(Bg(bi(nne(e.a),new M3e),new x3e)));}return f>0?f+e.n.d+e.n.a:0;}function vk(e){var n,t,i,r,c,s,f;if(f=0,e.b==0){f=sIe(HB(Bg(bi(nne(e.a),new j3e),new T3e)));}else{for(s=zze(e,!0),n=0,i=s,r=0,c=i.length;r0&&(f+=t,++n);}n>1&&(f+=e.c*(n-1));}return f>0?f+e.n.b+e.n.c:0;}function cDn(e){var n,t;if(e.c.length!=2){throw O(new Hc("Order only allowed for two paths."));}n=(wn(0,e.c.length),o(e.c[0],18)),t=(wn(1,e.c.length),o(e.c[1],18)),n.d.i!=t.c.i&&(e.c.length=0,yn(e.c,t),yn(e.c,n));}function lXe(e,n,t){var i;for(S2(t,n.g,n.f),ff(t,n.i,n.j),i=0;i<(!n.a&&(n.a=new he(ti,n,10,11)),n.a).i;i++){lXe(e,o(z((!n.a&&(n.a=new he(ti,n,10,11)),n.a),i),27),o(z((!t.a&&(t.a=new he(ti,t,10,11)),t.a),i),27));}}function oDn(e,n){var t,i,r,c;for(c=o(Dc(e.b,n),127),t=c.a,r=o(o(pi(e.r,n),21),87).Kc();r.Ob();){i=o(r.Pb(),117),i.c&&(t.a=p.Math.max(t.a,Nee(i.c)));}if(t.a>0){switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s;}}}function uDn(e,n){var t,i,r;return t=o(M(n,(bl(),O3)),17).a-o(M(e,O3),17).a,t==0?(i=xr(Wr(o(M(e,(Ld(),vj)),8)),o(M(e,v7),8)),r=xr(Wr(o(M(n,vj),8)),o(M(n,v7),8)),Si(i.a*i.b,r.a*r.b)):t;}function sDn(e,n){var t,i,r;return t=o(M(n,(So(),gA)),17).a-o(M(e,gA),17).a,t==0?(i=xr(Wr(o(M(e,(Mi(),Hj)),8)),o(M(e,n5),8)),r=xr(Wr(o(M(n,Hj),8)),o(M(n,n5),8)),Si(i.a*i.b,r.a*r.b)):t;}function aXe(e){var n,t;return t=new Ed,t.a+="e_",n=nxn(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(qt((t.a+=" ",t),UI(e.c)),qt(Vo((t.a+="[",t),e.c.i),"]"),qt((t.a+=bq,t),UI(e.d)),qt(Vo((t.a+="[",t),e.d.i),"]")),t.a;}function hXe(e){switch(e.g){case 0:return new PSe;case 1:return new NSe;case 2:return new CSe;case 3:return new xSe;default:throw O(new In("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)));}}function loe(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=p.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=p.Math.max(0,-e.b-i);break;case 2:c=p.Math.max(0,-e.a-i);break;case 4:c=p.Math.max(0,n.a+e.a-(t.a+i));}return c;}function fDn(e,n,t){var i,r,c,s,f;if(t){for(r=t.a.length,i=new R0(r),f=(i.b-i.a)*i.c<0?(Td(),k0):new Cd(i);f.Ob();){s=o(f.Pb(),17),c=t4(t,s.a),rae in c.a||CU in c.a?_Kn(e,c,n):Hzn(e,c,n),K4n(o(qn(e.b,R4(c)),74));}}}function aoe(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=Bf(e),n&&(jc(),n.lk()==Nin)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1;}}function hoe(e,n){var t,i,r,c;if(ri(e),e.c!=0||e.a!=123){throw O(new Lt(Bt((Pt(),ein))));}if(c=n==112,i=e.d,t=Ry(e.i,125,i),t<0){throw O(new Lt(Bt((Pt(),nin))));}return r=df(e.i,i,t),e.d=t+1,LKe(r,c,(e.e&512)==512);}function dXe(e){var n,t,i,r,c,s,f;if(i=e.a.c.length,i>0){for(s=e.c.d,f=e.d.d,r=La(xr(new ve(f.a,f.b),s),1/(i+1)),c=new ve(s.a,s.b),t=new N(e.a);t.a=0&&i=0?e.Lh(t,!0,!0):Nb(e,r,!0),160)),o(i,220).Wl(n);}throw O(new In(Zd+n.xe()+yU));}function dDn(){wQ();var e;return g0n?o(W4((jd(),Qf),qf),2038):(Xt(pw,new REe),sGn(),e=o(U(Xo((jd(),Qf),qf),560)?Xo(Qf,qf):new IDe,560),g0n=!0,fVn(e),gVn(e),Jt((dQ(),y2e),e,new eEe),qc(Qf,qf,e),e);}function wDn(e,n){var t,i,r,c;e.j=-1,Ns(e.e)?(t=e.i,c=e.i!=0,a_(e,n),i=new Zh(e.e,3,e.c,null,n,t,c),r=n.zl(e.e,e.c,null),r=VVe(e,n,r),r?(r.nj(i),r.oj()):ai(e.e,i)):(a_(e,n),r=n.zl(e.e,e.c,null),r&&r.oj());}function eP(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length){return-1;}for(t=(Pn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));){t=(Pn(i,e.length),e.charCodeAt(i));}return i>n[0]?n[0]=i:r=-1,r;}function bDn(e){var n,t,i,r,c;return r=o(e.a,17).a,c=o(e.b,17).a,t=r,i=c,n=p.Math.max(p.Math.abs(r),p.Math.abs(c)),r<=0&&r==c?(t=0,i=c-1):r==-n&&c!=n?(t=c,i=r,c>=0&&++t):(t=-c,i=r),new Sr(je(t),je(i));}function gDn(e,n,t,i){var r,c,s,f,h,d;for(r=0;r=0&&d>=0&&h=e.i){throw O(new Kc(PU+n+ww+e.i));}if(t>=e.i){throw O(new Kc(NU+t+ww+e.i));}return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-wp,n=i>>16&4,t+=n,e<<=n,i=e-Va,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n);}function mDn(e){zv();var n,t,i,r;for(JN=new Te,IG=new lt,CG=new Te,n=(!e.a&&(e.a=new he(ti,e,10,11)),e.a),szn(n),r=new Hn(n);r.e!=r.i.gc();){i=o(Wn(r),27),eo(JN,i,0)==-1&&(t=new Te,xe(CG,t),pze(i,t));}return CG;}function vDn(e,n,t){var i,r,c,s;e.a=t.b.d,U(n,326)?(r=J2(o(n,74),!1,!1),c=uS(r),i=new nTe(e),Jr(c,i),kS(c,r),n.of((Wt(),lg))!=null&&Jr(o(n.of(lg),75),i)):(s=o(n,422),s.rh(s.nh()+e.a.a),s.sh(s.oh()+e.a.b));}function yDn(e,n){var t,i,r;for(r=new Te,i=dt(n.a,0);i.b!=i.d.c;){t=o(at(i),65),t.c.g==e.g&&Z(M(t.b,(So(),oh)))!==Z(M(t.c,oh))&&!$2(new rn(null,new ln(r,16)),new xMe(t))&&yn(r.c,t);}return sr(r,new ske),r;}function bXe(e,n,t){var i,r,c,s;return U(n,153)&&U(t,153)?(c=o(n,153),s=o(t,153),e.a[c.a][s.a]+e.a[s.a][c.a]):U(n,250)&&U(t,250)&&(i=o(n,250),r=o(t,250),i.a==r.a)?o(M(r.a,(bl(),O3)),17).a:0;}function gXe(e,n){var t,i,r,c,s,f,h,d;for(d=J(re(M(n,($e(),A7)))),h=e[0].n.a+e[0].o.a+e[0].d.c+d,f=1;f=0?t:(f=P8(xr(new ve(s.c+s.b/2,s.d+s.a/2),new ve(c.c+c.b/2,c.d+c.a/2))),-(HJe(c,s)-1)*f);}function EDn(e,n,t){var i;tr(new rn(null,(!t.a&&(t.a=new he(Li,t,6,6)),new ln(t.a,16))),new PNe(e,n)),tr(new rn(null,(!t.n&&(t.n=new he(Fc,t,1,7)),new ln(t.n,16))),new NNe(e,n)),i=o(be(t,(Wt(),lg)),75),i&&bie(i,e,n);}function Nb(e,n,t){var i,r,c;if(c=nm((Xu(),ec),e.Dh(),n),c){return jc(),o(c,69).xk()||(c=Wv(Uc(ec,c))),r=(i=e.Ih(c),o(i>=0?e.Lh(i,!0,!0):Nb(e,c,!0),160)),o(r,220).Sl(n,t);}throw O(new In(Zd+n.xe()+yU));}function doe(e,n,t,i){var r,c,s,f,h;if(r=e.d[n],r){if(c=r.g,h=r.i,i!=null){for(f=0;f=t&&(i=n,d=(h.c+h.a)/2,s=d-t,h.c<=d-t&&(r=new QD(h.c,s),rb(e,i++,r)),f=d+t,f<=h.a&&(c=new QD(f,h.a),Kg(i,e.c.length),Q5(e.c,i,c)));}function vXe(e,n,t){var i,r,c,s,f,h;if(!n.dc()){for(r=new $i,h=n.Kc();h.Ob();){for(f=o(h.Pb(),40),Jt(e.a,je(f.g),je(t)),s=(i=dt(new qh(f).a.d,0),new d2(i));uE(s.a);){c=o(at(s.a),65).c,Ji(r,c,r.c.b,r.c);}}vXe(e,r,t+1);}}function woe(e){var n;if(!e.c&&e.g==null){e.d=e.bj(e.f),pt(e,e.d),n=e.d;}else{if(e.g==null){return!0;}if(e.i==0){return!1;}n=o(e.g[e.i-1],51);}return n==e.b&&null.Vm>=null.Um()?(iP(e),woe(e)):n.Ob();}function yXe(e){if(this.a=e,e.c.i.k==(On(),fr)){this.c=e.c,this.d=o(M(e.c.i,(Ee(),Co)),64);}else if(e.d.i.k==fr){this.c=e.d,this.d=o(M(e.d.i,(Ee(),Co)),64);}else {throw O(new In("Edge "+e+" is not an external edge."));}}function kXe(e,n){var t,i,r;r=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,3,r,e.b)),n?n!=e&&(lu(e,n.zb),PB(e,n.d),t=(i=n.c,i??n.zb),OB(e,t==null||un(t,n.zb)?null:t)):(lu(e,null),PB(e,0),OB(e,null));}function EXe(e,n){var t;this.e=(sb(),xt(e),sb(),xre(e)),this.c=(xt(n),xre(n)),pZ(this.e.Rd().dc()==this.c.Rd().dc()),this.d=DGe(this.e),this.b=DGe(this.c),t=L0(Ir,[_e,vn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=t,JTn(this);}function _Xe(e){!cG&&(cG=yzn());var n=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(t){return SEn(t);});return'"'+n+'"';}function boe(e,n,t,i,r,c){var s,f,h,d,b;if(r!=0){for(Z(e)===Z(t)&&(e=e.slice(n,n+r),n=0),h=t,f=n,d=n+r;f=s){throw O(new $g(n,s));}return r=t[n],s==1?i=null:(i=ce(AW,DU,424,s-1,0,1),Uo(t,0,i,0,n),c=s-n-1,c>0&&Uo(t,n+1,i,n,c)),B4(e,i),zWe(e,n,r),r;}function jXe(e){var n,t;if(e.f){for(;e.n0?c=c3(t):c=z_(c3(t))),yi(n,W6,c);}function CDn(e,n){var t;n.Ug("Partition preprocessing",1),t=o(oo(bi(go(bi(new rn(null,new ln(e.a,16)),new l6e),new a6e),new h6e),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),tr(t.Oc(),new d6e),n.Vg();}function IDn(e,n){var t,i,r,c,s;for(s=e.j,n.a!=n.b&&sr(s,new q5e),r=s.c.length/2|0,i=0;i0&&mS(e,t,n),c):i.a!=null?(mS(e,n,t),-1):r.a!=null?(mS(e,t,n),1):0;}function NDn(e,n){var t,i,r,c,s;for(r=n.b.b,e.a=ce(xf,bp,15,r,0,1),e.b=ce(Ts,Mh,28,r,16,1),s=dt(n.b,0);s.b!=s.d.c;){c=o(at(s),40),e.a[c.g]=new $i;}for(i=dt(n.a,0);i.b!=i.d.c;){t=o(at(i),65),e.a[t.b.g].Fc(t),e.a[t.c.g].Fc(t);}}function CXe(e,n){var t,i,r,c;e.Pj()?(t=e.Ej(),c=e.Qj(),++e.j,e.qj(t,e.Zi(t,n)),i=e.Ij(3,null,n,t,c),e.Mj()?(r=e.Nj(n,null),r?(r.nj(i),r.oj()):e.Jj(i)):e.Jj(i)):(vDe(e,n),e.Mj()&&(r=e.Nj(n,null),r&&r.oj()));}function goe(e,n,t){var i,r,c;e.Pj()?(c=e.Qj(),H_(e,n,t),i=e.Ij(3,null,t,n,c),e.Mj()?(r=e.Nj(t,null),e.Tj()&&(r=e.Uj(t,r)),r?(r.nj(i),r.oj()):e.Jj(i)):e.Jj(i)):(H_(e,n,t),e.Mj()&&(r=e.Nj(t,null),r&&r.oj()));}function nP(e,n){var t,i,r,c,s;for(s=Eu(e.e.Dh(),n),r=new tM,t=o(e.g,124),c=e.i;--c>=0;){i=t[c],s.am(i.Lk())&&pt(r,i);}!SZe(e,r)&&Ns(e.e)&&jy(e,n.Jk()?Od(e,6,n,(dn(),mc),null,-1,!1):Od(e,n.tk()?2:1,n,null,null,-1,!1));}function ODn(e,n){var t,i,r,c,s;return e.a==(G4(),_7)?!0:(c=n.a.c,t=n.a.c+n.a.b,!(n.j&&(i=n.A,s=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>s)||n.q&&(i=n.C,s=i.c.c.a-i.o.a/2,r=i.n.a-t,r>s)));}function IXe(e){zR();var n,t,i,r,c,s,f;for(t=new $1,r=new N(e.e.b);r.a1?e.e*=J(e.a):e.f/=J(e.a),nCn(e),uPn(e),rKn(e),de(e.b,(fk(),YN),e.g);}function AXe(e,n,t){var i,r,c,s,f,h;for(i=0,h=t,n||(i=t*(e.c.length-1),h*=-1),c=new N(e);c.a=0?e.Ah(null):e.Ph().Th(e,-1-n,null,null)),e.Bh(o(r,54),t),i&&i.oj(),e.vh()&&e.wh()&&t>-1&&ai(e,new Ar(e,9,t,c,r)),r):c;}function voe(e,n){var t,i,r,c,s;for(c=e.b.Ce(n),i=(t=e.a.get(c),t??ce(Ir,vn,1,0,5,1)),s=0;s>5,r>=e.d){return e.e<0;}if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=Wqe(e),r>16)),15).dd(c),f0&&(!(Gh(e.a.c)&&n.n.d)&&!(_2(e.a.c)&&n.n.b)&&(n.g.d+=p.Math.max(0,i/2-.5)),!(Gh(e.a.c)&&n.n.a)&&!(_2(e.a.c)&&n.n.c)&&(n.g.a-=i-1));}}function qXe(e){var n,t,i,r,c;if(r=new Te,c=RJe(e,r),n=o(M(e,(Ee(),ls)),10),n){for(i=new N(n.j);i.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(s=i?a1:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(s=i?a1:0,c=i?Es:0,r=t>>n-44),gu(r&Es,c&Es,s&a1);}function TK(e){var n,t,i,r,c,s;for(this.c=new Te,this.d=e,i=Fi,r=Fi,n=kr,t=kr,s=dt(e,0);s.b!=s.d.c;){c=o(at(s),8),i=p.Math.min(i,c.a),r=p.Math.min(r,c.b),n=p.Math.max(n,c.a),t=p.Math.max(t,c.b);}this.a=new hf(i,r,n-i,t-r);}function GXe(e,n){var t,i,r,c,s,f;for(c=new N(e.b);c.a0&&U(n,44)&&(e.a._j(),d=o(n,44),h=d.ld(),c=h==null?0:xi(h),s=UZ(e.a,c),t=e.a.d[s],t)){for(i=o(t.g,379),b=t.i,f=0;f=2){for(t=r.Kc(),n=re(t.Pb());t.Ob();){c=n,n=re(t.Pb()),i=p.Math.min(i,($n(n),n-($n(c),c)));}}return i;}function nRn(e,n){var t,i,r;for(r=new Te,i=dt(n.a,0);i.b!=i.d.c;){t=o(at(i),65),t.b.g==e.g&&!un(t.b.c,fN)&&Z(M(t.b,(So(),oh)))!==Z(M(t.c,oh))&&!$2(new rn(null,new ln(r,16)),new CMe(t))&&yn(r.c,t);}return sr(r,new hke),r;}function tRn(e,n){var t,i,r;if(Z(n)===Z(xt(e))){return!0;}if(!U(n,15)||(i=o(n,15),r=e.gc(),r!=i.gc())){return!1;}if(U(i,59)){for(t=0;t0&&(r=t),s=new N(e.f.e);s.a0?(n-=1,t-=1):i>=0&&r<0?(n+=1,t+=1):i>0&&r>=0?(n-=1,t+=1):(n+=1,t-=1),new Sr(je(n),je(t));}function gRn(e,n){return e.cn.c?1:e.bn.b?1:e.a!=n.a?xi(e.a)-xi(n.a):e.d==(R8(),H7)&&n.d==K7?-1:e.d==K7&&n.d==H7?1:0;}function QXe(e,n){var t,i,r,c,s;return c=n.a,c.c.i==n.b?s=c.d:s=c.c,c.c.i==n.b?i=c.c:i=c.d,r=RIn(e.a,s,i),r>0&&r0):r<0&&-r0):!1;}function pRn(e,n,t,i){var r,c,s,f,h,d,b,m;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,m=new N(e.c);m.a>24;}return s;}function vRn(e){if(e.ze()){var n=e.c;n.Ae()?e.o="["+n.n:n.ze()?e.o="["+n.xe():e.o="[L"+n.xe()+";",e.b=n.we()+"[]",e.k=n.ye()+"[]";return;}var t=e.j,i=e.d;i=i.split("/"),e.o=IF(".",[t,IF("$",i)]),e.b=IF(".",[t,IF(".",i)]),e.k=i[i.length-1];}function yRn(e,n){var t,i,r,c,s;for(s=null,c=new N(e.e.a);c.a=0;n-=2){for(t=0;t<=n;t+=2){(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);}}e.c=!0;}}function _Rn(e,n){var t,i,r,c,s,f,h,d,b;for(d=-1,b=0,s=e,f=0,h=s.length;f0&&++b;}}++d;}return b;}function dl(e){var n,t;return t=new Ks(A0(e.Rm)),t.a+="@",qt(t,(n=xi(e)>>>0,n.toString(16))),e.Vh()?(t.a+=" (eProxyURI: ",Vo(t,e._h()),e.Kh()&&(t.a+=" eClass: ",Vo(t,e.Kh())),t.a+=")"):e.Kh()&&(t.a+=" (eClass: ",Vo(t,e.Kh()),t.a+=")"),t.a;}function Ek(e){var n,t,i,r;if(e.e){throw O(new Hc((zh(mG),XH+mG.k+YH)));}for(e.d==(br(),ja)&&_P(e,Xc),t=new N(e.a.a);t.a>24;}return t;}function TRn(e,n,t){var i,r,c;if(r=o(Dc(e.i,n),314),!r){if(r=new RHe(e.d,n,t),Hv(e.i,n,r),Ore(n)){I4n(e.a,n.c,n.b,r);}else {switch(c=fLn(n),i=o(Dc(e.p,c),252),c.g){case 1:case 3:r.j=!0,IL(i,n.b,r);break;case 4:case 2:r.k=!0,IL(i,n.c,r);}}}return r;}function MRn(e,n){var t,i,r,c,s,f,h,d,b;for(h=hh(e.c-e.b&e.a.length-1),d=null,b=null,c=new O8(e);c.a!=c.b;){r=o(bI(c),10),t=(f=o(M(r,(Ee(),zl)),12),f?f.i:null),i=(s=o(M(r,zf),12),s?s.i:null),(d!=t||b!=i)&&($Xe(h,n),d=t,b=i),yn(h.c,r);}$Xe(h,n);}function xRn(e,n,t,i){var r,c,s,f,h,d;if(f=new tM,h=Eu(e.e.Dh(),n),r=o(e.g,124),jc(),o(n,69).xk()){for(s=0;s=0){return r;}for(c=1,f=new N(n.j);f.a=0){return r;}for(c=1,f=new N(n.j);f.a0&&n.Ne((wn(r-1,e.c.length),o(e.c[r-1],10)),c)>0;){bf(e,r,(wn(r-1,e.c.length),o(e.c[r-1],10))),--r;}wn(r,e.c.length),e.c[r]=c;}t.a=new lt,t.b=new lt;}function CRn(e,n,t){var i,r,c,s,f,h,d,b;for(b=(i=o(n.e&&n.e(),9),new af(i,o(ul(i,i.length),9),0)),h=lp(t,"[\\[\\]\\s,]+"),c=h,s=0,f=c.length;s=0?(n||(n=new H5,i>0&&Lc(n,(zr(0,i,e.length),e.substr(0,i)))),n.a+="\\",Xy(n,t&gr)):n&&Xy(n,t&gr);}return n?n.a:e;}function PRn(e){var n,t,i;for(t=new N(e.a.a.b);t.a0&&(!(Gh(e.a.c)&&n.n.d)&&!(_2(e.a.c)&&n.n.b)&&(n.g.d-=p.Math.max(0,i/2-.5)),!(Gh(e.a.c)&&n.n.a)&&!(_2(e.a.c)&&n.n.c)&&(n.g.a+=p.Math.max(0,i-1)));}}function uYe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2){n==(Oe(),Nn)||n==Kn?(KC(o(Y8(e),15),(Xs(),Ah)),KC(o(Y8(e),15),h0)):(KC(o(Y8(e),15),(Xs(),h0)),KC(o(Y8(e),15),Ah));}else {for(r=new O8(e);r.a!=r.b;){i=o(bI(r),15),KC(i,t);}}}function NRn(e,n){var t,i,r,c,s,f,h;for(r=Uy(new dJ(e)),f=new Gr(r,r.c.length),c=Uy(new dJ(n)),h=new Gr(c,c.c.length),s=null;f.b>0&&h.b>0&&(t=(Zn(f.b>0),o(f.a.Xb(f.c=--f.b),27)),i=(Zn(h.b>0),o(h.a.Xb(h.c=--h.b),27)),t==i);){s=t;}return s;}function sYe(e,n,t){var i,r,c,s;fBe(e,n)>fBe(e,t)?(i=mo(t,(Oe(),Kn)),e.d=i.dc()?0:rR(o(i.Xb(0),12)),s=mo(n,An),e.b=s.dc()?0:rR(o(s.Xb(0),12))):(r=mo(t,(Oe(),An)),e.d=r.dc()?0:rR(o(r.Xb(0),12)),c=mo(n,Kn),e.b=c.dc()?0:rR(o(c.Xb(0),12)));}function fYe(e,n){var t,i,r,c;for(t=e.o.a,c=o(o(pi(e.r,n),21),87).Kc();c.Ob();){r=o(c.Pb(),117),r.e.a=t*J(re(r.b.of(VN))),r.e.b=(i=r.b,i.pf((Wt(),js))?i.ag()==(Oe(),Nn)?-i.Mf().b-J(re(i.of(js))):J(re(i.of(js))):i.ag()==(Oe(),Nn)?-i.Mf().b:0);}}function ORn(e,n){var t,i,r,c;for(n.Ug("Self-Loop pre-processing",1),i=new N(e.a);i.ae.c));s++){r.a>=e.s&&(c<0&&(c=s),f=s);}return h=(e.s+e.c)/2,c>=0&&(i=kKn(e,n,c,f),h=vyn((wn(i,n.c.length),o(n.c[i],339))),TDn(n,i,t)),h;}function _t(e,n,t){var i,r,c,s,f,h,d;for(s=(c=new OY,c),uie(s,($n(n),n)),d=(!s.b&&(s.b=new As((hn(),_c),Io,s)),s.b),h=1;h0&&pUn(this,r);}}function Ioe(e,n,t,i,r,c){var s,f,h;if(!r[n.a]){for(r[n.a]=!0,s=i,!s&&(s=new jC),xe(s.e,n),h=c[n.a].Kc();h.Ob();){f=o(h.Pb(),290),!(f.d==t||f.c==t)&&(f.c!=n&&Ioe(e,f.c,n,s,r,c),f.d!=n&&Ioe(e,f.d,n,s,r,c),xe(s.c,f),yr(s.d,f.b));}return s;}return null;}function LRn(e){var n,t,i,r,c,s,f;for(n=0,r=new N(e.e);r.a=2;}function DRn(e,n,t,i,r){var c,s,f,h,d,b;for(c=e.c.d.j,s=o(_f(t,0),8),b=1;b1||(n=Pi(El,R(L(Oc,1),we,95,0,[p1,_l])),I_(hC(n,e))>1)||(i=Pi(jl,R(L(Oc,1),we,95,0,[$h,Wf])),I_(hC(i,e))>1));}function Poe(e,n,t){var i,r,c;for(c=new N(e.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Kt(n,i.b));}for(r=new N(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Kt(t,i.a));}}function iP(e){var n,t,i,r,c;if(e.g==null&&(e.d=e.bj(e.f),pt(e,e.d),e.c)){return c=e.f,c;}if(n=o(e.g[e.i-1],51),r=n.Pb(),e.e=n,t=e.bj(r),t.Ob()){e.d=t,pt(e,t);}else {for(e.d=null;!n.Ob()&&(Yi(e.g,--e.i,null),e.i!=0);){i=o(e.g[e.i-1],51),n=i;}}return r;}function BRn(e,n){var t,i,r,c,s,f;if(i=n,r=i.Lk(),f1(e.e,r)){if(r.Si()&&yC(e,r,i.md())){return!1;}}else {for(f=Eu(e.e.Dh(),r),t=o(e.g,124),c=0;c1||t>1){return 2;}}return n+t==1?2:0;}function ys(e,n){var t,i,r,c,s,f;return c=e.a*GH+e.b*1502,f=e.b*GH+11,t=p.Math.floor(f*RS),c+=t,f-=t*nse,c%=nse,e.a=c,e.b=f,n<=24?p.Math.floor(e.a*lhe[n]):(r=e.a*(1<=2147483648&&(i-=4294967296),i);}function wYe(e,n,t){var i,r,c,s,f,h,d;for(c=new Te,d=new $i,s=new $i,uqn(e,d,s,n),BUn(e,d,s,n,t),h=new N(e);h.ai.b.g&&yn(c.c,i);}}return c;}function GRn(e,n,t){var i,r,c,s,f,h;for(f=e.c,s=(t.q?t.q:(dn(),dn(),Ch)).vc().Kc();s.Ob();){c=o(s.Pb(),44),i=!Py(bi(new rn(null,new ln(f,16)),new Ey(new SNe(n,c)))).Bd(($0(),N3)),i&&(h=c.md(),U(h,4)&&(r=Lre(h),r!=null&&(h=r)),n.qf(o(c.ld(),149),h));}}function zRn(e,n,t){var i,r;if(QE(e.b),$l(e.b,(G_(),TA),(V5(),Yj)),$l(e.b,MA,n.g),$l(e.b,xA,n.a),e.a=SS(e.b,n),t.Ug("Compaction by shrinking a tree",e.a.c.length),n.i.c.length>1){for(r=new N(e.a);r.a=0?e.Lh(i,!0,!0):Nb(e,c,!0),160)),o(r,220).Xl(n,t);}else {throw O(new In(Zd+n.xe()+n7));}}function rP(e,n){var t,i,r,c,s;if(n){for(c=U(e.Cb,90)||U(e.Cb,102),s=!c&&U(e.Cb,331),i=new Hn((!n.a&&(n.a=new _8(n,Ac,n)),n.a));i.e!=i.i.gc();){if(t=o(Wn(i),89),r=pP(t),c?U(r,90):s?U(r,156):r){return r;}}return c?(hn(),Zf):(hn(),xa);}else {return null;}}function VRn(e,n){var t,i,r,c;for(n.Ug("Resize child graph to fit parent.",1),i=new N(e.b);i.a=2*n&&xe(t,new QD(s[i-1]+n,s[i]-n));}return t;}function YRn(e,n,t){var i,r,c,s,f,h,d,b;if(t){for(c=t.a.length,i=new R0(c),f=(i.b-i.a)*i.c<0?(Td(),k0):new Cd(i);f.Ob();){s=o(f.Pb(),17),r=t4(t,s.a),r&&(h=TSn(e,(d=(Sd(),b=new NJ,b),n&&Aoe(d,n),d),r),g4(h,Xh(r,nh)),XI(r,h),roe(r,h),ZB(e,r,h));}}}function cP(e){var n,t,i,r,c,s;if(!e.j){if(s=new H9e,n=y9,c=n.a.zc(e,n),c==null){for(i=new Hn(Zc(e));i.e!=i.i.gc();){t=o(Wn(i),29),r=cP(t),Zi(s,r),pt(s,t);}n.a.Bc(e)!=null;}Yg(s),e.j=new k2((o(z(le((Pd(),Tn).o),11),19),s.i),s.g),ps(e).b&=-33;}return e.j;}function JRn(e){var n,t,i,r;if(e==null){return null;}if(i=Qo(e,!0),r=sj.length,un(i.substr(i.length-r,r),sj)){if(t=i.length,t==4){if(n=(Pn(0,i.length),i.charCodeAt(0)),n==43){return F2e;}if(n==45){return D0n;}}else if(t==3){return F2e;}}return new kJ(i);}function QRn(e){var n,t,i;return t=e.l,t&t-1||(i=e.m,i&i-1)||(n=e.h,n&n-1)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?Jte(t):n==0&&i!=0&&t==0?Jte(i)+22:n!=0&&i==0&&t==0?Jte(n)+44:-1;}function Y2(e,n){var t,i,r,c,s;for(r=n.a&e.f,c=null,i=e.b[r];;i=i.b){if(i==n){c?c.b=n.b:e.b[r]=n.b;break;}c=i;}for(s=n.f&e.f,c=null,t=e.c[s];;t=t.d){if(t==n){c?c.d=n.d:e.c[s]=n.d;break;}c=t;}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g;}function ZRn(e,n){var t;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(t=o(Lf(o(Jv(e.b,n.a),260)),260),t.a=0,++e.c):(t=o(Lf(o(qn(e.b,n.a),260)),260),--t.a,n.e?n.e.c=n.c:t.b=o(Lf(n.c),511),n.c?n.c.e=n.e:t.c=o(Lf(n.e),511)),--e.d;}function eBn(e){var n,t,i,r,c,s,f,h,d,b;for(t=e.o,n=e.p,s=fi,r=rc,f=fi,c=rc,d=0;d0),c.a.Xb(c.c=--c.b),Ag(c,r),Zn(c.b3&&mh(e,0,n-3));}function tBn(e){var n,t,i,r;return Z(M(e,($e(),Op)))===Z((i1(),fd))?!e.e&&Z(M(e,Nj))!==Z((E4(),Tj)):(i=o(M(e,Oz),299),r=De(Le(M(e,Az)))||Z(M(e,P7))===Z((U8(),jj)),n=o(M(e,v0e),17).a,t=e.a.c.length,!r&&i!=(E4(),Tj)&&(n==0||n>t));}function iBn(e){var n,t;for(t=0;t0);t++){;}if(t>0&&t0);n++){;}return n>0&&t>16!=6&&n){if(K4(e,n)){throw O(new In(t7+PXe(e)));}i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?ice(e,i):e.Cb.Th(e,-1-t,null,i))),n&&(i=s3(n,e,6,i)),i=KZ(e,n,i),i&&i.oj();}else {e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,6,n,n));}}function oP(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(K4(e,n)){throw O(new In(t7+mQe(e)));}i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?uce(e,i):e.Cb.Th(e,-1-t,null,i))),n&&(i=s3(n,e,12,i)),i=HZ(e,n,i),i&&i.oj();}else {e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,3,n,n));}}function Aoe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(K4(e,n)){throw O(new In(t7+gJe(e)));}i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?cce(e,i):e.Cb.Th(e,-1-t,null,i))),n&&(i=s3(n,e,9,i)),i=qZ(e,n,i),i&&i.oj();}else {e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,9,n,n));}}function X4(e){var n,t,i,r,c;if(i=Bf(e),c=e.j,c==null&&i){return e.Jk()?null:i.ik();}if(U(i,156)){if(t=i.jk(),t&&(r=t.wi(),r!=e.i)){if(n=o(i,156),n.nk()){try{e.g=r.ti(n,c);}catch(s){if(s=Hi(s),U(s,82)){e.g=null;}else {throw O(s);}}}e.i=r;}return e.g;}return null;}function mYe(e){var n;return n=new Te,xe(n,new Mv(new ve(e.c,e.d),new ve(e.c+e.b,e.d))),xe(n,new Mv(new ve(e.c,e.d),new ve(e.c,e.d+e.a))),xe(n,new Mv(new ve(e.c+e.b,e.d+e.a),new ve(e.c+e.b,e.d))),xe(n,new Mv(new ve(e.c+e.b,e.d+e.a),new ve(e.c,e.d+e.a))),n;}function rBn(e){var n,t,i;if(e==null){return Au;}try{return uo(e);}catch(r){if(r=Hi(r),U(r,103)){return n=r,i=A0(Ds(e))+"@"+(t=(Uh(),$re(e)>>>0),t.toString(16)),mPn(ixn(),($y(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+A0(n.Rm)+">";}throw O(r);}}function cBn(e,n,t){var i,r,c;for(c=n.a.ec().Kc();c.Ob();){r=o(c.Pb(),74),i=o(qn(e.b,r),272),!i&&(Bi(yh(r))==Bi(qd(r))?zBn(e,r,t):yh(r)==Bi(qd(r))?qn(e.c,r)==null&&qn(e.b,qd(r))!=null&&YQe(e,r,t,!1):qn(e.d,r)==null&&qn(e.b,yh(r))!=null&&YQe(e,r,t,!0));}}function oBn(e,n){var t,i,r,c,s,f,h;for(r=e.Kc();r.Ob();){for(i=o(r.Pb(),10),f=new qo,bo(f,i),Tr(f,(Oe(),Kn)),de(f,(Ee(),BO),(jn(),!0)),s=n.Kc();s.Ob();){c=o(s.Pb(),10),h=new qo,bo(h,c),Tr(h,An),de(h,BO,!0),t=new db,de(t,BO,!0),fc(t,f),Fr(t,h);}}}function uBn(e,n,t,i){var r,c,s,f;r=tze(e,n,t),c=tze(e,t,n),s=o(qn(e.c,n),118),f=o(qn(e.c,t),118),r1){for(n=eb((t=new O0,++e.b,t),e.d),f=dt(c,0);f.b!=f.d.c;){s=o(at(f),125),wl(rl(il(cl(tl(new Af,1),0),n),s));}}}function lBn(e,n,t){var i,r,c,s,f;for(t.Ug("Breaking Point Removing",1),e.a=o(M(n,($e(),g1)),223),c=new N(n.b);c.a>16!=11&&n){if(K4(e,n)){throw O(new In(t7+eue(e)));}i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?sce(e,i):e.Cb.Th(e,-1-t,null,i))),n&&(i=s3(n,e,10,i)),i=QZ(e,n,i),i&&i.oj();}else {e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,11,n,n));}}function aBn(e){var n,t,i,r;for(i=new Y0(new P0(e.b).a);i.b;){t=_b(i),r=o(t.ld(),12),n=o(t.md(),10),de(n,(Ee(),mi),r),de(r,ls,n),de(r,Cj,(jn(),!0)),Tr(r,o(M(n,Co),64)),M(n,Co),de(r.i,($e(),nr),(Kr(),l5)),o(M(Yr(r.i),iu),21).Fc((Cc(),U6));}}function hBn(e,n,t){var i,r,c,s,f,h;if(c=0,s=0,e.c){for(h=new N(e.d.i.j);h.ac.a?-1:r.ah){for(b=e.d,e.d=ce(a2e,yae,66,2*h+4,0,1),c=0;c=9223372036854776e3?(s4(),Kae):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=uw&&(i=jr(e/uw),e-=i*uw),t=0,e>=y3&&(t=jr(e/y3),e-=t*y3),n=jr(e),c=gu(n,t,i),r&&eF(c),c);}function _Bn(e){var n,t,i,r,c;if(c=new Te,mu(e.b,new zje(c)),e.b.c.length=0,c.c.length!=0){for(n=(wn(0,c.c.length),o(c.c[0],82)),t=1,i=c.c.length;t=-n&&i==n?new Sr(je(t-1),je(i)):new Sr(je(t),je(i-1));}function kYe(){return hc(),R(L($Vn,1),we,81,0,[x1e,j1e,mm,zG,V1e,fO,vO,xp,G1e,L1e,q1e,Mp,z1e,O1e,W1e,v1e,dO,VG,uO,gO,Y1e,bO,y1e,U1e,J1e,pO,X1e,sO,I1e,K1e,F1e,yO,_1e,oO,aO,E1e,O6,R1e,A1e,H1e,y7,T1e,S1e,B1e,$1e,hO,mO,k1e,wO,D1e,lO,P1e,C1e,Ej,cO,N1e,M1e]);}function TBn(e,n,t){e.d=0,e.b=0,n.k==(On(),tu)&&t.k==tu&&o(M(n,(Ee(),mi)),10)==o(M(t,mi),10)&&(yB(n).j==(Oe(),Nn)?sYe(e,n,t):sYe(e,t,n)),n.k==tu&&t.k==$r?yB(n).j==(Oe(),Nn)?e.d=1:e.b=1:t.k==tu&&n.k==$r&&(yB(t).j==(Oe(),Nn)?e.b=1:e.d=1),lNn(e,n,t);}function MBn(e){var n,t,i,r,c,s,f,h,d,b,m;return m=Nce(e),n=e.a,h=n!=null,h&&Gy(m,"category",e.a),r=fE(new I0(e.d)),s=!r,s&&(d=new x0,Bl(m,"knownOptions",d),t=new Mxe(d),Jr(new I0(e.d),t)),c=fE(e.g),f=!c,f&&(b=new x0,Bl(m,"supportedFeatures",b),i=new xxe(b),Jr(e.g,i)),m;}function xBn(e){var n,t,i,r,c,s,f,h,d;for(i=!1,n=336,t=0,c=new l$e(e.length),f=e,h=0,d=f.length;h>16!=7&&n){if(K4(e,n)){throw O(new In(t7+xWe(e)));}i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?rce(e,i):e.Cb.Th(e,-1-t,null,i))),n&&(i=o(n,54).Rh(e,1,bT,i)),i=Gee(e,n,i),i&&i.oj();}else {e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,7,n,n));}}function EYe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(K4(e,n)){throw O(new In(t7+TGe(e)));}i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?oce(e,i):e.Cb.Th(e,-1-t,null,i))),n&&(i=o(n,54).Rh(e,0,pT,i)),i=zee(e,n,i),i&&i.oj();}else {e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,3,n,n));}}function PK(e,n){Y4();var t,i,r,c,s,f,h,d,b;return n.d>e.d&&(f=e,e=n,n=f),n.d<63?gFn(e,n):(s=(e.d&-2)<<4,d=ate(e,s),b=ate(n,s),i=JK(e,Yv(d,s)),r=JK(n,Yv(b,s)),h=PK(d,b),t=PK(i,r),c=PK(JK(d,i),JK(r,b)),c=rH(rH(c,h),t),c=Yv(c,s),h=Yv(h,s<<1),rH(rH(h,c),t));}function Y1(){Y1=V,Wz=new p2(Tnn,0),cwe=new p2("LONGEST_PATH",1),owe=new p2("LONGEST_PATH_SOURCE",2),Vz=new p2("COFFMAN_GRAHAM",3),rwe=new p2(yq,4),uwe=new p2("STRETCH_WIDTH",5),iA=new p2("MIN_WIDTH",6),Q6=new p2("BF_MODEL_ORDER",7),Z6=new p2("DF_MODEL_ORDER",8);}function IBn(e,n,t){var i,r,c,s,f;for(s=nk(e,t),f=ce(Ph,Q1,10,n.length,0,1),i=0,c=s.Kc();c.Ob();){r=o(c.Pb(),12),De(Le(M(r,(Ee(),Cj))))&&(f[i++]=o(M(r,ls),10));}if(i=0;c+=t?1:-1){s=s|n.c.lg(h,c,t,i&&!De(Le(M(n.j,(Ee(),c0))))&&!De(Le(M(n.j,(Ee(),Tm))))),s=s|n.q.ug(h,c,t),s=s|fJe(e,h[c],t,i);}return vr(e.c,n),s;}function fP(e,n,t){var i,r,c,s,f,h,d,b,m,E;for(b=HBe(e.j),m=0,E=b.length;m1&&(e.a=!0),f7n(o(t.b,68),li(Wr(o(n.b,68).c),La(xr(Wr(o(t.b,68).a),o(n.b,68).a),r))),XRe(e,n),_Ye(e,t);}}function SYe(e){var n,t,i,r,c,s,f;for(c=new N(e.a.a);c.a0&&c>0?s.p=n++:i>0?s.p=t++:c>0?s.p=r++:s.p=t++;}}dn(),sr(e.j,new c6e);}function $Bn(e){var n,t;t=null,n=o(Re(e.g,0),18);do{if(t=n.d.i,Ii(t,(Ee(),zf))){return o(M(t,zf),12).i;}if(t.k!=(On(),cr)&&wt(new Un(Vn(ur(t).a.Kc(),new Y)))){n=o(it(new Un(Vn(ur(t).a.Kc(),new Y))),18);}else if(t.k!=cr){return null;}}while(t&&t.k!=(On(),cr));return t;}function LBn(e,n){var t,i,r,c,s,f,h,d,b;for(f=n.j,s=n.g,h=o(Re(f,f.c.length-1),113),b=(wn(0,f.c.length),o(f.c[0],113)),d=QF(e,s,h,b),c=1;cd&&(h=t,b=r,d=i);}n.a=b,n.c=h;}function DBn(e,n,t){var i,r,c,s,f,h,d;for(d=new x1(new aMe(e)),s=R(L(nun,1),Yen,12,0,[n,t]),f=0,h=s.length;fh-e.b&&fh-e.a&&f0?c.a?(f=c.b.Mf().a,t>f&&(r=(t-f)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:j8(e.u)&&(i=Oce(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a));}}function eFn(e,n){var t,i,r,c,s;s=new Te,t=n;do {c=o(qn(e.b,t),131),c.B=t.c,c.D=t.d,yn(s.c,c),t=o(qn(e.k,t),18);}while(t);return i=(wn(0,s.c.length),o(s.c[0],131)),i.j=!0,i.A=o(i.d.a.ec().Kc().Pb(),18).c.i,r=o(Re(s,s.c.length-1),131),r.q=!0,r.C=o(r.d.a.ec().Kc().Pb(),18).d.i,s;}function nFn(e){var n,t;if(n=o(e.a,17).a,t=o(e.b,17).a,n>=0){if(n==t){return new Sr(je(-n-1),je(-n-1));}if(n==-t){return new Sr(je(-n),je(t+1));}}return p.Math.abs(n)>p.Math.abs(t)?n<0?new Sr(je(-n),je(t)):new Sr(je(-n),je(t+1)):new Sr(je(n+1),je(t));}function tFn(e){var n,t;t=o(M(e,($e(),ju)),171),n=o(M(e,(Ee(),vw)),311),t==(Ef(),o0)?(de(e,ju,Pj),de(e,vw,(e1(),Sm))):t==Pp?(de(e,ju,Pj),de(e,vw,(e1(),L3))):n==(e1(),Sm)?(de(e,ju,o0),de(e,vw,Mj)):n==L3&&(de(e,ju,Pp),de(e,vw,Mj));}function lP(){lP=V,Fj=new G8e,wan=Ut(new dr,(ic(),Go),(hc(),uO)),pan=zu(Ut(new dr,Go,bO),io,wO),man=Ua(Ua(X5(zu(Ut(new dr,vl,vO),io,mO),nu),pO),yO),ban=zu(Ut(Ut(Ut(new dr,Ih,fO),nu,aO),nu,O6),io,lO),gan=zu(Ut(Ut(new dr,nu,O6),nu,oO),io,cO);}function jk(){jk=V,kan=Ut(zu(new dr,(ic(),io),(hc(),P1e)),Go,uO),jan=Ua(Ua(X5(zu(Ut(new dr,vl,vO),io,mO),nu),pO),yO),Ean=zu(Ut(Ut(Ut(new dr,Ih,fO),nu,aO),nu,O6),io,lO),San=Ut(Ut(new dr,Go,bO),io,wO),_an=zu(Ut(Ut(new dr,nu,O6),nu,oO),io,cO);}function iFn(e,n,t,i,r){var c,s;(!yc(n)&&n.c.i.c==n.d.i.c||!Mqe(po(R(L(Or,1),_e,8,0,[r.i.n,r.n,r.a])),t))&&!yc(n)&&(n.c==r?By(n.a,0,new wc(t)):Kt(n.a,new wc(t)),i&&!Ol(e.a,t)&&(s=o(M(n,($e(),Wc)),75),s||(s=new Hu,de(n,Wc,s)),c=new wc(t),Ji(s,c,s.c.b,s.c),vr(e.a,c)));}function MYe(e,n){var t,i,r,c;for(c=Mt(ac(Sh,gh(Mt(ac(n==null?0:xi(n),jh)),15))),t=c&e.b.length-1,r=null,i=e.b[t];i;r=i,i=i.a){if(i.d==c&&Ba(i.i,n)){return r?r.a=i.a:e.b[t]=i.a,rIe(o(Lf(i.c),604),o(Lf(i.f),604)),rE(o(Lf(i.b),227),o(Lf(i.e),227)),--e.f,++e.e,!0;}}return!1;}function rFn(e){var n,t;for(t=new Un(Vn(Nr(e).a.Kc(),new Y));wt(t);){if(n=o(it(t),18),n.c.i.k!=(On(),Fo)){throw O(new j1(vq+Z_(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."));}}}function cFn(e,n,t){var i,r,c,s,f,h,d;if(r=PGe(e.Db&254),r==0){e.Eb=t;}else{if(r==1){f=ce(Ir,vn,1,2,5,1),c=JF(e,n),c==0?(f[0]=t,f[1]=e.Eb):(f[0]=e.Eb,f[1]=t);}else {for(f=ce(Ir,vn,1,r+1,5,1),s=V0(e.Eb),i=2,h=0,d=0;i<=128;i<<=1){i==n?f[d++]=t:e.Db&i&&(f[d++]=s[h++]);}}e.Eb=f;}e.Db|=n;}function xYe(e,n,t){var i,r,c,s;for(this.b=new Te,r=0,i=0,s=new N(e);s.a0&&(c=o(Re(this.b,0),176),r+=c.o,i+=c.p),r*=2,i*=2,n>1?r=jr(p.Math.ceil(r*n)):i=jr(p.Math.ceil(i/n)),this.a=new jre(r,i);}function CYe(e,n,t,i,r,c){var s,f,h,d,b,m,E,S,T,x,I,D;for(b=i,n.j&&n.o?(S=o(qn(e.f,n.A),60),x=S.d.c+S.d.b,--b):x=n.a.c+n.a.b,m=r,t.q&&t.o?(S=o(qn(e.f,t.C),60),d=S.d.c,++m):d=t.a.c,I=d-x,h=p.Math.max(2,m-b),f=I/h,T=x+f,E=b;E=0;s+=r?1:-1){for(f=n[s],h=i==(Oe(),Kn)?r?mo(f,i):kf(mo(f,i)):r?kf(mo(f,i)):mo(f,i),c&&(e.c[f.p]=h.gc()),m=h.Kc();m.Ob();){b=o(m.Pb(),12),e.d[b.p]=d++;}yr(t,h);}}function PYe(e,n,t){var i,r,c,s,f,h,d,b;for(c=J(re(e.b.Kc().Pb())),d=J(re(txn(n.b))),i=La(Wr(e.a),d-t),r=La(Wr(n.a),t-c),b=li(i,r),La(b,1/(d-c)),this.a=b,this.b=new Te,f=!0,s=e.b.Kc(),s.Pb();s.Ob();){h=J(re(s.Pb())),f&&h-t>Zq&&(this.b.Fc(t),f=!1),this.b.Fc(h);}f&&this.b.Fc(t);}function oFn(e){var n,t,i,r;if(SKn(e,e.n),e.d.c.length>0){for(F5(e.c);Eoe(e,o(P(new N(e.e.a)),125))>5,n&=31,i>=e.d){return e.e<0?(Ga(),Drn):(Ga(),b7);}if(c=e.d-i,r=ce(vt,Gt,28,c+1,15,1),J$n(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n){for(t=0;t=0?!1:(t=nm((Xu(),ec),r,n),t?(i=t.Ik(),(i>1||i==-1)&&ab(Uc(ec,t))!=3):!0)):!1;}function lFn(e,n,t,i){var r,c,s,f,h;return f=to(o(z((!n.b&&(n.b=new bn(ct,n,4,7)),n.b),0),84)),h=to(o(z((!n.c&&(n.c=new bn(ct,n,5,8)),n.c),0),84)),Bi(f)==Bi(h)||Vg(h,f)?null:(s=r_(n),s==t?i:(c=o(qn(e.a,s),10),c&&(r=c.e,r)?r:null));}function aFn(e,n,t){var i,r,c,s,f;for(t.Ug("Longest path to source layering",1),e.a=n,f=e.a.a,e.b=ce(vt,Gt,28,f.c.length,15,1),i=0,s=new N(f);s.a0&&(t[0]+=e.d,s-=t[0]),t[2]>0&&(t[2]+=e.d,s-=t[2]),c=p.Math.max(0,s),t[1]=p.Math.max(t[1],s),dte(e,du,r.c+i.b+t[0]-(t[1]-s)/2,t),n==du&&(e.c.b=c,e.c.c=r.c+i.b+(c-s)/2);}function KYe(){this.c=ce(Br,Bc,28,(Oe(),R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An])).length,15,1),this.b=ce(Br,Bc,28,R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An]).length,15,1),this.a=ce(Br,Bc,28,R(L(Ec,1),Ro,64,0,[yo,Nn,Kn,st,An]).length,15,1),gQ(this.c,Fi),gQ(this.b,kr),gQ(this.a,kr);}function Jo(e,n,t){var i,r,c,s;if(n<=t?(r=n,c=t):(r=t,c=n),i=0,e.b==null){e.b=ce(vt,Gt,28,2,15,1),e.b[0]=r,e.b[1]=c,e.c=!0;}else{if(i=e.b.length,e.b[i-1]+1==r){e.b[i-1]=c;return;}s=ce(vt,Gt,28,i+2,15,1),Uo(e.b,0,s,0,i),e.b=s,e.b[i-1]>=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||X2(e);}}function pFn(e,n,t){var i,r,c,s,f,h,d;for(d=n.d,e.a=new fu(d.c.length),e.c=new lt,f=new N(d);f.a=0?e.Lh(d,!1,!0):Nb(e,t,!1),61));e:for(c=m.Kc();c.Ob();){for(r=o(c.Pb(),58),b=0;b1;){sp(r,r.i-1);}}return i;}function qYe(e,n){var t,i,r,c,s,f,h;for(t=new x2,c=new N(e.b);c.ae.d[s.p]&&(t+=cte(e.b,c),Ad(e.a,je(c)));}for(;!K5(e.a);){Rte(e.b,o(Kv(e.a),17).a);}}return t;}function _Fn(e){var n,t,i,r,c,s,f,h,d;for(e.a=new JZ,d=0,r=0,i=new N(e.i.b);i.af.d&&(b=f.d+f.a+d));}t.c.d=b,n.a.zc(t,n),h=p.Math.max(h,t.c.d+t.c.a);}return h;}function Cc(){Cc=V,NO=new Mg("COMMENTS",0),Cf=new Mg("EXTERNAL_PORTS",1),S7=new Mg("HYPEREDGES",2),OO=new Mg("HYPERNODES",3),U6=new Mg("NON_FREE_PORTS",4),_m=new Mg("NORTH_SOUTH_PORTS",5),j7=new Mg(wnn,6),H6=new Mg("CENTER_LABELS",7),q6=new Mg("END_LABELS",8),AO=new Mg("PARTITIONS",9);}function jFn(e,n,t,i,r){return i<0?(i=W2(e,r,R(L(Be,1),_e,2,6,[yH,kH,EH,_H,m3,SH,jH,TH,MH,xH,CH,IH]),n),i<0&&(i=W2(e,r,R(L(Be,1),_e,2,6,["Jan","Feb","Mar","Apr",m3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1;}function TFn(e,n,t,i,r){return i<0?(i=W2(e,r,R(L(Be,1),_e,2,6,[yH,kH,EH,_H,m3,SH,jH,TH,MH,xH,CH,IH]),n),i<0&&(i=W2(e,r,R(L(Be,1),_e,2,6,["Jan","Feb","Mar","Apr",m3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1;}function MFn(e,n,t,i,r,c){var s,f,h,d;if(f=32,i<0){if(n[0]>=e.length||(f=tc(e,n[0]),f!=43&&f!=45)||(++n[0],i=eP(e,n),i<0)){return!1;}f==45&&(i=-i);}return f==32&&n[0]-t==2&&r.b==2&&(h=new CM,d=h.q.getFullYear()-Xd+Xd-80,s=d%100,c.a=i==s,i+=(d/100|0)*100+(i=0?Hd(e):C8(Hd(R1(e)))),g7[n]=ox(fl(e,n),0)?Hd(fl(e,n)):C8(Hd(R1(fl(e,n)))),e=ac(e,5);}for(;n=d&&(h=i);}h&&(b=p.Math.max(b,h.a.o.a)),b>E&&(m=d,E=b);}return m;}function OFn(e){var n,t,i,r,c,s,f;for(c=new x1(o(xt(new R3e),50)),f=kr,t=new N(e.d);t.aFnn?sr(h,e.b):i<=Fnn&&i>Knn?sr(h,e.d):i<=Knn&&i>Hnn?sr(h,e.c):i<=Hnn&&sr(h,e.a),c=WYe(e,h,c);}return r;}function XYe(e,n,t,i){var r,c,s,f,h,d;for(r=(i.c+i.a)/2,Hs(n.j),Kt(n.j,r),Hs(t.e),Kt(t.e,r),d=new pIe,f=new N(e.f);f.a1,f&&(i=new ve(r,t.b),Kt(n.a,i)),q8(n.a,R(L(Or,1),_e,8,0,[E,m]));}function Goe(e,n,t){var i,r;for(n=48;t--){S9[t]=t-48<<24>>24;}for(i=70;i>=65;i--){S9[i]=i-65+10<<24>>24;}for(r=102;r>=97;r--){S9[r]=r-97+10<<24>>24;}for(c=0;c<10;c++){u$[c]=48+c&gr;}for(e=10;e<=15;e++){u$[e]=65+e-10&gr;}}function DFn(e,n){n.Ug("Process graph bounds",1),de(e,(Mi(),gV),EE(qB(Bg(new rn(null,new ln(e.b,16)),new Eke)))),de(e,pV,EE(qB(Bg(new rn(null,new ln(e.b,16)),new _ke)))),de(e,Ywe,EE(HB(Bg(new rn(null,new ln(e.b,16)),new Ske)))),de(e,Jwe,EE(HB(Bg(new rn(null,new ln(e.b,16)),new jke)))),n.Vg();}function RFn(e){var n,t,i,r,c;r=o(M(e,($e(),Sw)),21),c=o(M(e,ZO),21),t=new ve(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new wc(t),r.Hc((Rs(),zp))&&(i=o(M(e,z6),8),c.Hc((ks(),a5))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=p.Math.max(t.a,i.a),n.b=p.Math.max(t.b,i.b)),De(Le(M(e,Fz)))||wqn(e,t,n);}function BFn(e,n){var t,i,r,c;for(c=mo(n,(Oe(),st)).Kc();c.Ob();){i=o(c.Pb(),12),t=o(M(i,(Ee(),ls)),10),t&&wl(rl(il(cl(tl(new Af,0),.1),e.i[n.p].d),e.i[t.p].a));}for(r=mo(n,Nn).Kc();r.Ob();){i=o(r.Pb(),12),t=o(M(i,(Ee(),ls)),10),t&&wl(rl(il(cl(tl(new Af,0),.1),e.i[t.p].d),e.i[n.p].a));}}function OK(e){var n,t,i,r,c,s;if(!e.c){if(s=new R9e,n=y9,c=n.a.zc(e,n),c==null){for(i=new Hn(Ho(e));i.e!=i.i.gc();){t=o(Wn(i),89),r=pP(t),U(r,90)&&Zi(s,OK(o(r,29))),pt(s,t);}n.a.Bc(e)!=null,n.a.gc()==0;}AIn(s),Yg(s),e.c=new k2((o(z(le((Pd(),Tn).o),15),19),s.i),s.g),ps(e).b&=-33;}return e.c;}function Voe(e){var n;if(e.c!=10){throw O(new Lt(Bt((Pt(),EN))));}switch(n=e.a,n){case 110:n=10;break;case 114:n=13;break;case 116:n=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw O(new Lt(Bt((Pt(),Mf))));}return n;}function ZYe(e){var n,t,i,r,c;if(e.l==0&&e.m==0&&e.h==0){return"0";}if(e.h==AS&&e.m==0&&e.l==0){return"-9223372036854775808";}if(e.h>>19){return"-"+ZYe(j4(e));}for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=fB(IP),t=Mue(t,r,!0),n=""+_Ie(e0),!(t.l==0&&t.m==0&&t.h==0)){for(c=9-n.length;c>0;c--){n="0"+n;}}i=n+i;}return i;}function FFn(e){var n,t,i,r,c,s,f;for(n=!1,t=0,r=new N(e.d.b);r.a=e.a||!Cce(n,t)){return-1;}if(i4(o(i.Kb(n),20))){return 1;}for(r=0,s=o(i.Kb(n),20).Kc();s.Ob();){if(c=o(s.Pb(),18),h=c.c.i==n?c.d.i:c.c.i,f=Woe(e,h,t,i),f==-1||(r=p.Math.max(r,f),r>e.c-1)){return-1;}}return r+1;}function eJe(e,n){var t,i,r,c,s,f;if(Z(n)===Z(e)){return!0;}if(!U(n,15)||(i=o(n,15),f=e.gc(),i.gc()!=f)){return!1;}if(s=i.Kc(),e.Yi()){for(t=0;t0){if(e._j(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw O(new Oa("Invalid hexadecimal"));}}function dP(){dP=V,Nhe=new g2("SPIRAL",0),xhe=new g2("LINE_BY_LINE",1),Che=new g2("MANHATTAN",2),Mhe=new g2("JITTER",3),kG=new g2("QUADRANTS_LINE_BY_LINE",4),Phe=new g2("QUADRANTS_MANHATTAN",5),Ihe=new g2("QUADRANTS_JITTER",6),The=new g2("COMBINE_LINE_BY_LINE_MANHATTAN",7),jhe=new g2("COMBINE_JITTER_MANHATTAN",8);}function tJe(e,n,t,i){var r,c,s,f,h,d;for(h=rK(e,t),d=rK(n,t),r=!1;h&&d&&(i||DNn(h,d,t));){s=rK(h,t),f=rK(d,t),v_(n),v_(e),c=h.c,cH(h,!1),cH(d,!1),t?(np(n,d.p,c),n.p=d.p,np(e,h.p+1,c),e.p=h.p):(np(e,h.p,c),e.p=h.p,np(n,d.p+1,c),n.p=d.p),Ur(h,null),Ur(d,null),h=s,d=f,r=!0;}return r;}function iJe(e){switch(e.g){case 0:return new gSe;case 1:return new wSe;case 3:return new PPe;case 4:return new a8e;case 5:return new c$e;case 6:return new bSe;case 2:return new dSe;case 7:return new uSe;case 8:return new fSe;default:throw O(new In("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)));}}function zFn(e,n,t,i){var r,c,s,f,h;for(r=!1,c=!1,f=new N(i.j);f.a=n.length){throw O(new Kc("Greedy SwitchDecider: Free layer not in graph."));}this.c=n[e],this.e=new HE(i),RB(this.e,this.c,(Oe(),An)),this.i=new HE(i),RB(this.i,this.c,Kn),this.f=new ELe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(On(),fr),this.a&&oLn(this,e,n.length);}function cJe(e,n){var t,i,r,c,s,f;c=!e.B.Hc((ks(),dT)),s=e.B.Hc(TW),e.a=new GGe(s,c,e.c),e.n&&Tne(e.a.n,e.n),IL(e.g,(Fl(),du),e.a),n||(i=new sk(1,c,e.c),i.n.a=e.k,Hv(e.p,(Oe(),Nn),i),r=new sk(1,c,e.c),r.n.d=e.k,Hv(e.p,st,r),f=new sk(0,c,e.c),f.n.c=e.k,Hv(e.p,An,f),t=new sk(0,c,e.c),t.n.b=e.k,Hv(e.p,Kn,t));}function WFn(e){var n,t,i;switch(n=o(M(e.d,($e(),g1)),223),n.g){case 2:t=Lzn(e);break;case 3:t=(i=new Te,tr(bi(Qc(go(go(new rn(null,new ln(e.d.b,16)),new k5e),new E5e),new _5e),new s5e),new KTe(i)),i);break;default:throw O(new Hc("Compaction not supported for "+n+" edges."));}rUn(e,t),Jr(new I0(e.g),new BTe(e));}function XFn(e,n){var t,i,r,c,s,f,h;if(n.Ug("Process directions",1),t=o(M(e,(So(),fg)),88),t!=(br(),Sa)){for(r=dt(e.b,0);r.b!=r.d.c;){switch(i=o(at(r),40),f=o(M(i,(Mi(),qj)),17).a,h=o(M(i,Uj),17).a,t.g){case 4:h*=-1;break;case 1:c=f,f=h,h=c;break;case 2:s=f,f=-h,h=s;}de(i,qj,je(f)),de(i,Uj,je(h));}}n.Vg();}function YFn(e,n){var t;return t=new W$,n&&no(t,o(qn(e.a,bT),96)),U(n,422)&&no(t,o(qn(e.a,gT),96)),U(n,366)?(no(t,o(qn(e.a,Fc),96)),t):(U(n,84)&&no(t,o(qn(e.a,ct),96)),U(n,207)?(no(t,o(qn(e.a,ti),96)),t):U(n,193)?(no(t,o(qn(e.a,ws),96)),t):(U(n,326)&&no(t,o(qn(e.a,or),96)),t));}function JFn(e){var n,t,i,r,c,s,f,h;for(h=new BFe,f=new N(e.a);f.a0&&n=0){return!1;}if(n.p=t.b,xe(t.e,n),r==(On(),$r)||r==tu){for(s=new N(n.j);s.ae.d[f.p]&&(t+=cte(e.b,c),Ad(e.a,je(c)))):++s;}for(t+=e.b.d*s;!K5(e.a);){Rte(e.b,o(Kv(e.a),17).a);}}return t;}function bJe(e){var n,t,i,r,c,s;return c=0,n=Bf(e),n.kk()&&(c|=4),e.Bb&Qu&&(c|=2),U(e,102)?(t=o(e,19),r=Tc(t),t.Bb&Oo&&(c|=32),r&&(tt(Fg(r)),c|=8,s=r.t,(s>1||s==-1)&&(c|=16),r.Bb&Oo&&(c|=64)),t.Bb&kc&&(c|=kp),c|=gl):U(n,469)?c|=512:(i=n.kk(),i&&i.i&1&&(c|=256)),e.Bb&512&&(c|=128),c;}function fKn(e,n){var t;return e.f==BW?(t=ab(Uc((Xu(),ec),n)),e.e?t==4&&n!=(d3(),ey)&&n!=(d3(),Z3)&&n!=(d3(),FW)&&n!=(d3(),KW):t==2):e.d&&(e.d.Hc(n)||e.d.Hc(Wv(Uc((Xu(),ec),n)))||e.d.Hc(nm((Xu(),ec),e.b,n)))?!0:e.f&&$oe((Xu(),e.f),ZE(Uc(ec,n)))?(t=ab(Uc(ec,n)),e.e?t==4:t==2):!1;}function lKn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S;for(E=-1,S=0,d=e,b=0,m=d.length;b0&&++S;}}}++E;}return S;}function aKn(e,n,t,i){var r,c,s,f,h,d,b,m;return s=o(be(t,(Wt(),V3)),8),h=s.a,b=s.b+e,r=p.Math.atan2(b,h),r<0&&(r+=hw),r+=n,r>hw&&(r-=hw),f=o(be(i,V3),8),d=f.a,m=f.b+e,c=p.Math.atan2(m,d),c<0&&(c+=hw),c+=n,c>hw&&(c-=hw),na(),al(1e-10),p.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:Qw(isNaN(r),isNaN(c));}function LK(e){var n,t,i,r,c,s,f;for(f=new lt,i=new N(e.a.b);i.a=e.o){throw O(new CJ);}f=n>>5,s=n&31,c=fl(1,Mt(fl(s,1))),r?e.n[t][f]=Ll(e.n[t][f],c):e.n[t][f]=Cr(e.n[t][f],Tee(c)),c=fl(c,1),i?e.n[t][f]=Ll(e.n[t][f],c):e.n[t][f]=Cr(e.n[t][f],Tee(c));}catch(h){throw h=Hi(h),U(h,333)?O(new Kc(iq+e.o+"*"+e.p+rq+n+gc+t+cq)):O(h);}}function wKn(e,n,t,i){var r,c,s,f,h,d,b,m,E;for(E=new x1(new lMe(e)),f=R(L(Ph,1),Q1,10,0,[n,t]),h=0,d=f.length;h0&&(i=(!e.n&&(e.n=new he(Fc,e,1,7)),o(z(e.n,0),135)).a,!i||qt(qt((n.a+=' "',n),i),'"'))),qt(zw(qt(zw(qt(zw(qt(zw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a);}function gJe(e){var n,t,i;return e.Db&64?bK(e):(n=new Ks(tae),t=e.k,t?qt(qt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new he(Fc,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new he(Fc,e,1,7)),o(z(e.n,0),135)).a,!i||qt(qt((n.a+=' "',n),i),'"'))),qt(zw(qt(zw(qt(zw(qt(zw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a);}function pKn(e,n){var t,i,r,c,s;for(n==(J8(),cV)&&sS(o(pi(e.a,(tp(),Sj)),15)),r=o(pi(e.a,(tp(),Sj)),15).Kc();r.Ob();){switch(i=o(r.Pb(),105),t=o(Re(i.j,0),113).d.j,c=new rs(i.j),sr(c,new I5e),n.g){case 2:fK(e,c,t,(Eb(),r0),1);break;case 1:case 0:s=iBn(c),fK(e,new A1(c,0,s),t,(Eb(),r0),0),fK(e,new A1(c,s,c.c.length),t,r0,1);}}}function RK(e,n){var t,i,r,c,s,f,h;if(n==null||n.length==0){return null;}if(r=o(Xo(e.a,n),143),!r){for(i=(f=new Hh(e.b).a.vc().Kc(),new _g(f));i.a.Ob();){if(t=(c=o(i.a.Pb(),44),o(c.md(),143)),s=t.c,h=n.length,un(s.substr(s.length-h,h),n)&&(n.length==s.length||tc(s,s.length-n.length-1)==46)){if(r){return null;}r=t;}}r&&qc(e.a,n,r);}return r;}function mKn(e,n){var t,i,r,c;return t=new U3e,i=o(oo(Qc(new rn(null,new ln(e.f,16)),t),Ug(new ge,new Fe,new $t,new Ti,R(L(Vc,1),we,108,0,[(ss(),Ep),fo]))),21),r=i.gc(),i=o(oo(Qc(new rn(null,new ln(n.f,16)),t),Ug(new ge,new Fe,new $t,new Ti,R(L(Vc,1),we,108,0,[Ep,fo]))),21),c=i.gc(),rr.p?(Tr(c,st),c.d&&(f=c.o.b,n=c.a.b,c.a.b=f-n)):c.j==st&&r.p>e.p&&(Tr(c,Nn),c.d&&(f=c.o.b,n=c.a.b,c.a.b=-(f-n)));break;}}return r;}function pS(e,n,t,i,r){var c,s,f,h,d,b,m;if(!(U(n,207)||U(n,366)||U(n,193))){throw O(new In("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));}return s=e.a/2,h=n.i+i-s,b=n.j+r-s,d=h+n.g+e.a,m=b+n.f+e.a,c=new Hu,Kt(c,new ve(h,b)),Kt(c,new ve(h,m)),Kt(c,new ve(d,m)),Kt(c,new ve(d,b)),f=new TK(c),no(f,n),t&&Jt(e.b,n,f),f;}function J4(e,n,t){var i,r,c,s,f,h,d,b,m,E;for(c=new ve(n,t),b=new N(e.a);b.a1,f&&(i=new ve(r,t.b),Kt(n.a,i)),q8(n.a,R(L(Or,1),_e,8,0,[E,m]));}function Ff(){Ff=V,oA=new xg(Qa,0),Lj=new xg("NIKOLOV",1),Dj=new xg("NIKOLOV_PIXEL",2),wwe=new xg("NIKOLOV_IMPROVED",3),bwe=new xg("NIKOLOV_IMPROVED_PIXEL",4),dwe=new xg("DUMMYNODE_PERCENTAGE",5),gwe=new xg("NODECOUNT_PERCENTAGE",6),uA=new xg("NO_BOUNDARY",7),ug=new xg("MODEL_ORDER_LEFT_TO_RIGHT",8),Bp=new xg("MODEL_ORDER_RIGHT_TO_LEFT",9);}function xKn(e){var n,t,i,r,c;for(i=e.length,n=new H5,c=0;c=40,s&&CHn(e),Dqn(e),oFn(e),t=$Ge(e),i=0;t&&i0&&Kt(e.f,c)):(e.c[s]-=d+1,e.c[s]<=0&&e.a[s]>0&&Kt(e.e,c))));}}}function CJe(e,n,t,i){var r,c,s,f,h,d,b;for(h=new ve(t,i),xr(h,o(M(n,(Mi(),n5)),8)),b=dt(n.b,0);b.b!=b.d.c;){d=o(at(b),40),li(d.e,h),Kt(e.b,d);}for(f=o(oo(Dne(new rn(null,new ln(n.a,16))),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15).Kc();f.Ob();){for(s=o(f.Pb(),65),c=dt(s.a,0);c.b!=c.d.c;){r=o(at(c),8),r.a+=h.a,r.b+=h.b;}Kt(e.a,s);}}function fue(e,n){var t,i,r,c;if(0<(U(e,16)?o(e,16).gc():Yh(e.Kc()))){if(r=n,1=0&&hc*2?(b=new qC(m),d=Gu(s)/$s(s),h=fH(b,n,new mv,t,i,r,d),li(Al(b.e),h),m.c.length=0,c=0,yn(m.c,b),yn(m.c,s),c=Gu(b)*$s(b)+Gu(s)*$s(s)):(yn(m.c,s),c+=Gu(s)*$s(s));}return m;}function PJe(e,n){var t,i,r,c,s,f;if(f=o(M(n,($e(),nr)),101),f==(Kr(),Lh)||f==ru){for(r=new ve(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a).b,s=new N(e.a);s.at?n:t;d<=m;++d){d==t?f=i++:(c=r[d],b=T.am(c.Lk()),d==n&&(h=d==m&&!b?i-1:i),b&&++i);}return E=o(ck(e,n,t),76),f!=h&&jy(e,new b_(e.e,7,s,je(f),S.md(),h)),E;}}else {return o(_K(e,n,t),76);}return o(ck(e,n,t),76);}function VKn(e,n){var t,i,r,c,s,f,h;for(n.Ug("Port order processing",1),h=o(M(e,($e(),z0e)),430),i=new N(e.b);i.a=0&&(f=HNn(e,s),!(f&&(d<22?h.l|=1<>>1,s.m=b>>>1|(m&1)<<21,s.l=E>>>1|(b&1)<<21,--d;}return t&&eF(h),c&&(i?(e0=j4(e),r&&(e0=gUe(e0,(s4(),Hae)))):e0=gu(e.l,e.m,e.h)),h;}function YKn(e,n){var t,i,r,c,s,f,h,d,b,m;for(d=e.e[n.c.p][n.p]+1,h=n.c.a.c.length+1,f=new N(e.a);f.a0&&(Pn(0,e.length),e.charCodeAt(0)==45||(Pn(0,e.length),e.charCodeAt(0)==43))?1:0,i=s;it){throw O(new Oa(Rb+e+'"'));}return f;}function JKn(e){var n,t,i,r,c,s,f;for(s=new $i,c=new N(e.a);c.a1)&&n==1&&o(e.a[e.b],10).k==(On(),Fo)?b3(o(e.a[e.b],10),(Xs(),Ah)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&o(e.a[e.c-1&e.a.length-1],10).k==(On(),Fo)?b3(o(e.a[e.c-1&e.a.length-1],10),(Xs(),h0)):(e.c-e.b&e.a.length-1)==2?(b3(o(Y8(e),10),(Xs(),Ah)),b3(o(Y8(e),10),h0)):MRn(e,r),ite(e);}function eHn(e,n,t){var i,r,c,s,f;for(c=0,r=new Hn((!e.a&&(e.a=new he(ti,e,10,11)),e.a));r.e!=r.i.gc();){i=o(Wn(r),27),s="",(!i.n&&(i.n=new he(Fc,i,1,7)),i.n).i==0||(s=o(z((!i.n&&(i.n=new he(Fc,i,1,7)),i.n),0),135).a),f=new nF(c++,n,s),no(f,i),de(f,(Mi(),V7),i),f.e.b=i.j+i.f/2,f.f.a=p.Math.max(i.g,1),f.e.a=i.i+i.g/2,f.f.b=p.Math.max(i.f,1),Kt(n.b,f),hu(t.f,i,f);}}function nHn(e){var n,t,i,r,c;i=o(M(e,(Ee(),mi)),27),c=o(be(i,($e(),Sw)),181).Hc((Rs(),Ow)),e.e||(r=o(M(e,iu),21),n=new ve(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Hc((Cc(),Cf))?(yi(i,nr,(Kr(),ru)),$b(i,n.a,n.b,!1,!0)):De(Le(be(i,Fz)))||$b(i,n.a,n.b,!0,!0)),c?yi(i,Sw,Qe(Ow)):yi(i,Sw,(t=o(Nl(w9),9),new af(t,o(ul(t,t.length),9),0)));}function lue(e,n,t){var i,r,c,s;if(n[0]>=e.length){return t.o=0,!0;}switch(tc(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0;}if(++n[0],c=n[0],s=eP(e,n),s==0&&n[0]==c){return!1;}if(n[0]f&&(f=r,b.c.length=0),r==f&&xe(b,new Sr(t.c.i,t)));}dn(),sr(b,e.c),rb(e.b,h.p,b);}}}function cHn(e,n){var t,i,r,c,s,f,h,d,b;for(s=new N(n.b);s.af&&(f=r,b.c.length=0),r==f&&xe(b,new Sr(t.d.i,t)));}dn(),sr(b,e.c),rb(e.f,h.p,b);}}}function oHn(e,n){var t,i,r,c,s,f,h,d;if(d=Le(M(n,(So(),Wan))),d==null||($n(d),d)){for(NDn(e,n),r=new Te,h=dt(n.b,0);h.b!=h.d.c;){s=o(at(h),40),t=Jce(e,s,null),t&&(no(t,n),yn(r.c,t));}if(e.a=null,e.b=null,r.c.length>1){for(i=new N(r);i.a=0&&f!=t&&(c=new Ar(e,1,f,s,null),i?i.nj(c):i=c),t>=0&&(c=new Ar(e,1,t,f==t?s:null,n),i?i.nj(c):i=c)),i;}function AJe(e){var n,t,i;if(e.b==null){if(i=new T1,e.i!=null&&(Lc(i,e.i),i.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(j9n(e.i)||(i.a+="//"),Lc(i,e.a)),e.d!=null&&(i.a+="/",Lc(i,e.d)),e.f&16&&(i.a+="/"),n=0,t=e.j.length;nE?!1:(m=(h=Nk(i,E,!1),h.a),b+f+m<=n.b&&(g_(t,c-t.s),t.c=!0,g_(i,c-t.s),Q_(i,t.s,t.t+t.d+f),i.k=!0,mie(t.q,i),S=!0,r&&(WC(n,i),i.j=n,e.c.length>s&&(nS((wn(s,e.c.length),o(e.c[s],186)),i),(wn(s,e.c.length),o(e.c[s],186)).a.c.length==0&&L1(e,s)))),S);}function dHn(e,n){var t,i,r,c,s,f;if(n.Ug("Partition midprocessing",1),r=new wb,tr(bi(new rn(null,new ln(e.a,16)),new u6e),new xTe(r)),r.d!=0){for(f=o(oo(Fne((c=r.i,new rn(null,(c||(r.i=new C2(r,r.c))).Nc()))),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),i=f.Kc(),t=o(i.Pb(),17);i.Ob();){s=o(i.Pb(),17),oBn(o(pi(r,t),21),o(pi(r,s),21)),t=s;}n.Vg();}}function DJe(e,n,t){var i,r,c,s,f,h,d,b;if(n.p==0){for(n.p=1,s=t,s||(r=new Te,c=(i=o(Nl(Ec),9),new af(i,o(ul(i,i.length),9),0)),s=new Sr(r,c)),o(s.a,15).Fc(n),n.k==(On(),fr)&&o(s.b,21).Fc(o(M(n,(Ee(),Co)),64)),h=new N(n.j);h.a0){if(r=o(e.Ab.g,2033),n==null){for(c=0;ct.s&&fs){return Oe(),Kn;}break;case 4:case 3:if(b<0){return Oe(),Nn;}if(b+t>c){return Oe(),st;}}return h=(d+f/2)/s,i=(b+t/2)/c,h+i<=1&&h-i<=0?(Oe(),An):h+i>=1&&h-i>=0?(Oe(),Kn):i<.5?(Oe(),Nn):(Oe(),st);}function mHn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x;for(t=!1,b=J(re(M(n,($e(),og)))),T=Wd*b,r=new N(n.b);r.ah+T&&(x=m.g+E.g,E.a=(E.g*E.a+m.g*m.a)/x,E.g=x,m.f=E,t=!0)),c=f,m=E;}}return t;}function KJe(e,n,t,i,r,c,s){var f,h,d,b,m,E;for(E=new Pv,d=n.Kc();d.Ob();){for(f=o(d.Pb(),853),m=new N(f.Rf());m.a0?f.a?(d=f.b.Mf().b,r>d&&(e.v||f.c.d.c.length==1?(s=(r-d)/2,f.d.d=s,f.d.a=s):(t=o(Re(f.c.d,0),187).Mf().b,i=(t-d)/2,f.d.d=p.Math.max(0,i),f.d.a=r-i-d))):f.d.a=e.t+r:j8(e.u)&&(c=Oce(f.b),c.d<0&&(f.d.d=-c.d),c.d+c.a>f.b.Mf().b&&(f.d.a=c.d+c.a-f.b.Mf().b));}}function bl(){bl=V,O3=new qr((Wt(),rT),je(1)),eO=new qr(Pw,80),yon=new qr(kpe,5),lon=new qr(Fm,w6),mon=new qr(kW,je(1)),von=new qr(EW,(jn(),!0)),Xhe=new Zw(50),gon=new qr(sd,Xhe),zhe=tT,Yhe=o9,aon=new qr(aW,!1),Whe=iT,won=qp,bon=a0,don=Iw,hon=Um,pon=Up,Vhe=(qce(),ion),OG=uon,ZN=ton,NG=ron,Jhe=oon,_on=o5,Son=RA,Eon=cT,kon=DA,Qhe=(r3(),Vp),new qr(X3,Qhe);}function kHn(e,n){var t;switch(S_(e)){case 6:return Dr(n);case 7:return Ig(n);case 8:return Cg(n);case 3:return Array.isArray(n)&&(t=S_(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===dH;case 12:return n!=null&&(typeof n===MS||typeof n===dH);case 0:return RF(n,e.__elementTypeId$);case 2:return mR(n)&&n.Tm!==Sn;case 1:return mR(n)&&n.Tm!==Sn||RF(n,e.__elementTypeId$);default:return!0;}}function EHn(e){var n,t,i,r;i=e.o,Og(),e.A.dc()||hi(e.A,$he)?r=i.a:(e.D?r=p.Math.max(i.a,vk(e.f)):r=vk(e.f),e.A.Hc((Rs(),aT))&&!e.B.Hc((ks(),b9))&&(r=p.Math.max(r,vk(o(Dc(e.p,(Oe(),Nn)),252))),r=p.Math.max(r,vk(o(Dc(e.p,st),252)))),n=tUe(e),n&&(r=p.Math.max(r,n.a))),De(Le(e.e.Tf().of((Wt(),qp))))?i.a=p.Math.max(i.a,r):i.a=r,t=e.f.i,t.c=0,t.b=r,GK(e.f);}function HJe(e,n){var t,i,r,c;return i=p.Math.min(p.Math.abs(e.c-(n.c+n.b)),p.Math.abs(e.c+e.b-n.c)),c=p.Math.min(p.Math.abs(e.d-(n.d+n.a)),p.Math.abs(e.d+e.a-n.d)),t=p.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=p.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:p.Math.min(i/t,c/r)+1;}function _Hn(e,n){var t,i,r,c,s,f,h;for(c=0,f=0,h=0,r=new N(e.f.e);r.a0&&e.d!=(K8(),LG)&&(f+=s*(i.d.a+e.a[n.a][i.a]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(K8(),AG)&&(h+=s*(i.d.b+e.a[n.a][i.a]*(n.d.b-i.d.b)/t)));}switch(e.d.g){case 1:return new ve(f/c,n.d.b);case 2:return new ve(n.d.a,h/c);default:return new ve(f/c,h/c);}}function qJe(e){var n,t,i,r,c,s;for(t=(!e.a&&(e.a=new hr(of,e,5)),e.a).i+2,s=new fu(t),xe(s,new ve(e.j,e.k)),tr(new rn(null,(!e.a&&(e.a=new hr(of,e,5)),new ln(e.a,16))),new exe(s)),xe(s,new ve(e.b,e.c)),n=1;n0&&(L_(h,!1,(br(),Xc)),L_(h,!0,ro)),mu(n.g,new iNe(e,t)),Jt(e.g,n,t);}function zJe(){zJe=V;var e;for(Yae=R(L(vt,1),Gt,28,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]),sG=ce(vt,Gt,28,37,15,1),Arn=R(L(vt,1),Gt,28,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]),Jae=ce(E0,FH,28,37,14,1),e=2;e<=36;e++){sG[e]=jr(p.Math.pow(e,Yae[e])),Jae[e]=iS(PS,sG[e]);}}function SHn(e){var n;if((!e.a&&(e.a=new he(Li,e,6,6)),e.a).i!=1){throw O(new In(ytn+(!e.a&&(e.a=new he(Li,e,6,6)),e.a).i));}return n=new Hu,A_(o(z((!e.b&&(e.b=new bn(ct,e,4,7)),e.b),0),84))&&Vr(n,AZe(e,A_(o(z((!e.b&&(e.b=new bn(ct,e,4,7)),e.b),0),84)),!1)),A_(o(z((!e.c&&(e.c=new bn(ct,e,5,8)),e.c),0),84))&&Vr(n,AZe(e,A_(o(z((!e.c&&(e.c=new bn(ct,e,5,8)),e.c),0),84)),!0)),n;}function VJe(e,n){var t,i,r,c,s;for(n.d?r=e.a.c==(Fa(),sg)?Nr(n.b):ur(n.b):r=e.a.c==(Fa(),cd)?Nr(n.b):ur(n.b),c=!1,i=new Un(Vn(r.a.Kc(),new Y));wt(i);){if(t=o(it(i),18),s=De(e.a.f[e.a.g[n.b.p].p]),!(!s&&!yc(t)&&t.c.i.c==t.d.i.c)&&!(De(e.a.n[e.a.g[n.b.p].p])||De(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,Ol(e.b,e.a.g[SNn(t,n.b).p]))){return n.c=!0,n.a=t,n;}}return n.c=c,n.a=null,n;}function hue(e,n,t){var i,r,c,s,f,h,d;if(i=t.gc(),i==0){return!1;}if(e.Pj()){if(h=e.Qj(),kre(e,n,t),s=i==1?e.Ij(3,null,t.Kc().Pb(),n,h):e.Ij(5,null,t,n,h),e.Mj()){for(f=i<100?null:new _d(i),c=n+i,r=n;r0){for(s=0;s>16==-15&&e.Cb.Yh()&&EB(new pB(e.Cb,9,13,t,e.c,V1(ms(o(e.Cb,62)),e))):U(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(n=e.c,U(n,90)||(n=(hn(),Zf)),U(t,90)||(t=(hn(),Zf)),EB(new pB(e.Cb,9,10,t,n,V1(Ho(o(e.Cb,29)),e)))))),e.c;}function MHn(e,n,t){var i,r,c,s,f,h,d,b,m;for(t.Ug("Hyperedge merging",1),JDn(e,n),h=new Gr(n.b,0);h.b0,f=kI(n,c),jZ(t?f.b:f.g,n),F2(f).c.length==1&&Ji(i,f,i.c.b,i.c),r=new Sr(c,n),Ad(e.o,r),Pu(e.e.a,c));}}function eQe(e,n){var t,i,r,c,s,f,h;return i=p.Math.abs(Xx(e.b).a-Xx(n.b).a),f=p.Math.abs(Xx(e.b).b-Xx(n.b).b),r=0,h=0,t=1,s=1,i>e.b.b/2+n.b.b/2&&(r=p.Math.min(p.Math.abs(e.b.c-(n.b.c+n.b.b)),p.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),f>e.b.a/2+n.b.a/2&&(h=p.Math.min(p.Math.abs(e.b.d-(n.b.d+n.b.a)),p.Math.abs(e.b.d+e.b.a-n.b.d)),s=1-h/f),c=p.Math.min(t,s),(1-c)*p.Math.sqrt(i*i+f*f);}function IHn(e){var n,t,i,r;for(sH(e,e.e,e.f,(bb(),f0),!0,e.c,e.i),sH(e,e.e,e.f,f0,!1,e.c,e.i),sH(e,e.e,e.f,Am,!0,e.c,e.i),sH(e,e.e,e.f,Am,!1,e.c,e.i),THn(e,e.c,e.e,e.f,e.i),i=new Gr(e.i,0);i.b=65;t--){Ca[t]=t-65<<24>>24;}for(i=122;i>=97;i--){Ca[i]=i-97+26<<24>>24;}for(r=57;r>=48;r--){Ca[r]=r-48+52<<24>>24;}for(Ca[43]=62,Ca[47]=63,c=0;c<=25;c++){bd[c]=65+c&gr;}for(s=26,h=0;s<=51;++s,h++){bd[s]=97+h&gr;}for(e=52,f=0;e<=61;++e,f++){bd[e]=48+f&gr;}bd[62]=43,bd[63]=47;}function nQe(e,n){var t,i,r,c,s,f;return r=die(e),f=die(n),r==f?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:p.Math.floor((e.a-1)*sen)+1)-(n.d>0?n.d:p.Math.floor((n.a-1)*sen)+1),t>i+1?r:t0&&(s=A2(s,hQe(i))),aze(c,s))):rd&&(E=0,S+=h+n,h=0),J4(s,E,S),t=p.Math.max(t,E+b.a),h=p.Math.max(h,b.b),E+=b.a+n;}return new ve(t+n,S+h+n);}function gue(e,n){var t,i,r,c,s,f,h;if(!ia(e)){throw O(new Hc(vtn));}if(i=ia(e),c=i.g,r=i.f,c<=0&&r<=0){return Oe(),yo;}switch(f=e.i,h=e.j,n.g){case 2:case 1:if(f<0){return Oe(),An;}if(f+e.g>c){return Oe(),Kn;}break;case 4:case 3:if(h<0){return Oe(),Nn;}if(h+e.f>r){return Oe(),st;}}return s=(f+e.g/2)/c,t=(h+e.f/2)/r,s+t<=1&&s-t<=0?(Oe(),An):s+t>=1&&s-t>=0?(Oe(),Kn):t<.5?(Oe(),Nn):(Oe(),st);}function OHn(e,n,t,i,r){var c,s;if(c=lc(Cr(n[0],Ic),Cr(i[0],Ic)),e[0]=Mt(c),c=cb(c,32),t>=r){for(s=1;s0&&(r.b[s++]=0,r.b[s++]=c.b[0]-1),n=1;n0&&(sL(h,h.d-r.d),r.c==(Dl(),s0)&&pvn(h,h.a-r.d),h.d<=0&&h.i>0&&Ji(n,h,n.c.b,n.c)));}for(c=new N(e.f);c.a0&&(uM(f,f.i-r.d),r.c==(Dl(),s0)&&mvn(f,f.b-r.d),f.i<=0&&f.d>0&&Ji(t,f,t.c.b,t.c)));}}function LHn(e,n,t,i,r){var c,s,f,h,d,b,m,E,S;for(dn(),sr(e,new w9e),s=GE(e),S=new Te,E=new Te,f=null,h=0;s.b!=0;){c=o(s.b==0?null:(Zn(s.b!=0),pf(s,s.a.a)),163),!f||Gu(f)*$s(f)/21&&(h>Gu(f)*$s(f)/2||s.b==0)&&(m=new qC(E),b=Gu(f)/$s(f),d=fH(m,n,new mv,t,i,r,b),li(Al(m.e),d),f=m,yn(S.c,m),h=0,E.c.length=0));}return yr(S,E),S;}function Uo(e,n,t,i,r){Uh();var c,s,f,h,d,b,m;if(one(e,"src"),one(t,"dest"),m=Ds(e),h=Ds(t),jee((m.i&4)!=0,"srcType is not an array"),jee((h.i&4)!=0,"destType is not an array"),b=m.c,s=h.c,jee(b.i&1?b==s:(s.i&1)==0,"Array types don't match"),Exn(e,n,t,i,r),!(b.i&1)&&m!=h){if(d=V0(e),c=V0(t),Z(e)===Z(t)&&ni;){Yi(c,f,d[--n]);}}else {for(f=i+r;i0),i.a.Xb(i.c=--i.b),m>E+h&&Ls(i);}for(s=new N(S);s.a0),i.a.Xb(i.c=--i.b);}}}}function RHn(){si();var e,n,t,i,r,c;if(qW){return qW;}for(e=new Us(4),ap(e,Vd(XU,!0)),$k(e,Vd("M",!0)),$k(e,Vd("C",!0)),c=new Us(4),i=0;i<11;i++){Jo(c,i,i);}return n=new Us(4),ap(n,Vd("M",!0)),Jo(n,4448,4607),Jo(n,65438,65439),r=new d8(2),cw(r,e),cw(r,T9),t=new d8(2),t.Jm(Bx(c,Vd("L",!0))),t.Jm(n),t=new Hg(3,t),t=new cne(r,t),qW=t,qW;}function lp(e,n){var t,i,r,c,s,f,h,d;for(t=new RegExp(n,"g"),h=ce(Be,_e,2,0,6,1),i=0,d=e,c=null;;){if(f=t.exec(d),f==null||d==""){h[i]=d;break;}else {s=f.index,h[i]=(zr(0,s,d.length),d.substr(0,s)),d=df(d,s+f[0].length,d.length),t.lastIndex=0,c==d&&(h[i]=(zr(0,1,d.length),d.substr(0,1)),d=(Pn(1,d.length+1),d.substr(1))),c=d,++i;}}if(e.length>0){for(r=h.length;r>0&&h[r-1]=="";){--r;}r0&&(m-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(m-=i[2]+e.c),i[1]=p.Math.max(i[1],m),qx(e.a[1],t.c+n.b+i[0]-(i[1]-m)/2,i[1]);}for(c=e.a,f=0,d=c.length;f0?(e.n.c.length-1)*e.i:0,i=new N(e.n);i.a1){for(i=dt(r,0);i.b!=i.d.c;){for(t=o(at(i),235),c=0,h=new N(t.e);h.a0&&(n[0]+=e.c,m-=n[0]),n[2]>0&&(m-=n[2]+e.c),n[1]=p.Math.max(n[1],m),Ux(e.a[1],i.d+t.d+n[0]-(n[1]-m)/2,n[1]);}else {for(T=i.d+t.d,S=i.a-t.d-t.a,s=e.a,h=0,b=s.length;h0||Tb(r.b.d,e.b.d+e.b.a)==0&&i.b<0||Tb(r.b.d+r.b.a,e.b.d)==0&&i.b>0){f=0;break;}}else {f=p.Math.min(f,eXe(e,r,i));}f=p.Math.min(f,cQe(e,c,f,i));}return f;}function kS(e,n){var t,i,r,c,s,f,h;if(e.b<2){throw O(new In("The vector chain must contain at least a source and a target point."));}for(r=(Zn(e.b!=0),o(e.a.a.c,8)),NE(n,r.a,r.b),h=new Ov((!n.a&&(n.a=new hr(of,n,5)),n.a)),s=dt(e,1);s.a=0&&c!=t)){throw O(new In(tj));}for(r=0,h=0;hJ(ta(s.g,s.d[0]).a)?(Zn(h.b>0),h.a.Xb(h.c=--h.b),Ag(h,s),r=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new Te),f.e).Mc(n),d=(!f.e&&(f.e=new Te),f.e).Mc(t),(c||d)&&((!f.e&&(f.e=new Te),f.e).Fc(s),++s.c));}r||yn(i.c,s);}function GHn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D;return m=e.a.i+e.a.g/2,E=e.a.i+e.a.g/2,T=n.i+n.g/2,I=n.j+n.f/2,f=new ve(T,I),d=o(be(n,(Wt(),V3)),8),d.a=d.a+m,d.b=d.b+E,c=(f.b-d.b)/(f.a-d.a),i=f.b-c*f.a,x=t.i+t.g/2,D=t.j+t.f/2,h=new ve(x,D),b=o(be(t,V3),8),b.a=b.a+m,b.b=b.b+E,s=(h.b-b.b)/(h.a-b.a),r=h.b-s*h.a,S=(i-r)/(s-c),d.a>>0,"0"+n.toString(16)),i="\\x"+df(t,t.length-2,t.length)):e>=kc?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+df(t,t.length-6,t.length)):i=""+String.fromCharCode(e&gr);}return i;}function fQe(e){var n,t,i;if(E2(o(M(e,($e(),nr)),101))){for(t=new N(e.j);t.a=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(s=o(Re(n.n,n.n.c.length-1),209),s.e+s.d+t.g+r<=i&&(c=o(Re(n.n,n.n.c.length-1),209),c.f-e.f+t.f<=e.b||e.a.c.length==1)){return dre(n,t),!0;}if(n.s+t.g<=i&&(n.t+n.d+t.f+r<=e.b||e.a.c.length==1)){return xe(n.b,t),f=o(Re(n.n,n.n.c.length-1),209),xe(n.n,new dC(n.s,f.f+f.a+n.i,n.i)),Vre(o(Re(n.n,n.n.c.length-1),209),t),iQe(n,t),!0;}}return!1;}function aQe(e,n,t){var i,r,c,s;return e.Pj()?(r=null,c=e.Qj(),i=e.Ij(1,s=jB(e,n,t),t,n,c),e.Mj()&&!(e.Yi()&&s!=null?hi(s,t):Z(s)===Z(t))?(s!=null&&(r=e.Oj(s,r)),r=e.Nj(t,r),e.Tj()&&(r=e.Wj(s,t,r)),r?(r.nj(i),r.oj()):e.Jj(i)):(e.Tj()&&(r=e.Wj(s,t,r)),r?(r.nj(i),r.oj()):e.Jj(i)),s):(s=jB(e,n,t),e.Mj()&&!(e.Yi()&&s!=null?hi(s,t):Z(s)===Z(t))&&(r=null,s!=null&&(r=e.Oj(s,null)),r=e.Nj(t,r),r&&r.oj()),s);}function QHn(e,n){var t,i,r,c,s;if(n.Ug("Path-Like Graph Wrapping",1),e.b.c.length==0){n.Vg();return;}if(r=new _oe(e),s=(r.i==null&&(r.i=wie(r,new jY)),J(r.i)*r.f),t=s/(r.i==null&&(r.i=wie(r,new jY)),J(r.i)),r.b>t){n.Vg();return;}switch(o(M(e,($e(),Gz)),351).g){case 2:c=new MY;break;case 0:c=new SY;break;default:c=new xY;}if(i=c.og(e,r),!c.pg()){switch(o(M(e,nA),352).g){case 2:i=nXe(r,i);break;case 1:i=zVe(r,i);}}Vqn(e,r,i),n.Vg();}function Ck(e,n){var t,i,r,c,s,f,h,d;n%=24,e.q.getHours()!=n&&(i=new p.Date(e.q.getTime()),i.setDate(i.getDate()+1),f=e.q.getTimezoneOffset()-i.getTimezoneOffset(),f>0&&(h=f/60|0,d=f%60,r=e.q.getDate(),t=e.q.getHours(),t+h>=24&&++r,c=new p.Date(e.q.getFullYear(),e.q.getMonth(),r,n+h,e.q.getMinutes()+d,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),s=e.q.getTime(),e.q.setTime(s+36e5),e.q.getHours()!=n&&e.q.setTime(s);}function ZHn(e,n){var t,i,r,c;if(h_n(e.d,e.e),e.c.a.$b(),J(re(M(n.j,($e(),qO))))!=0||J(re(M(n.j,qO)))!=0){for(t=um,Z(M(n.j,Nh))!==Z((qa(),rd))&&de(n.j,(Ee(),c0),(jn(),!0)),c=o(M(n.j,$7),17).a,r=0;rr&&++d,xe(s,(wn(f+d,n.c.length),o(n.c[f+d],17))),h+=(wn(f+d,n.c.length),o(n.c[f+d],17)).a-i,++t;t=I&&e.e[h.p]>T*e.b||G>=t*I)&&(yn(E.c,f),f=new Te,Vr(s,c),c.a.$b(),d-=b,S=p.Math.max(S,d*e.b+x),d+=G,H=G,G=0,b=0,x=0);}return new Sr(S,E);}function VK(e){var n,t,i,r,c,s,f;if(!e.d){if(f=new F9e,n=y9,c=n.a.zc(e,n),c==null){for(i=new Hn(Zc(e));i.e!=i.i.gc();){t=o(Wn(i),29),Zi(f,VK(t));}n.a.Bc(e)!=null,n.a.gc()==0;}for(s=f.i,r=(!e.q&&(e.q=new he(Jf,e,11,10)),new Hn(e.q));r.e!=r.i.gc();++s){o(Wn(r),411);}Zi(f,(!e.q&&(e.q=new he(Jf,e,11,10)),e.q)),Yg(f),e.d=new k2((o(z(le((Pd(),Tn).o),9),19),f.i),f.g),e.e=o(f.g,688),e.e==null&&(e.e=w0n),ps(e).b&=-17;}return e.d;}function e6(e,n,t,i){var r,c,s,f,h,d;if(d=Eu(e.e.Dh(),n),h=0,r=o(e.g,124),jc(),o(n,69).xk()){for(s=0;s1||T==-1){if(m=o(x,71),E=o(b,71),m.dc()){E.$b();}else {for(s=!!Tc(n),c=0,f=e.a?m.Kc():m.Ii();f.Ob();){d=o(f.Pb(),58),r=o(fa(e,d),58),r?(s?(h=E.dd(r),h==-1?E.Gi(c,r):c!=h&&E.Ui(c,r)):E.Gi(c,r),++c):e.b&&!s&&(E.Gi(c,d),++c);}}}else {x==null?b.Wb(null):(r=fa(e,x),r==null?e.b&&!Tc(n)&&b.Wb(x):b.Wb(r));}}}function rqn(e,n){var t,i,r,c,s,f,h,d;for(t=new j4e,r=new Un(Vn(Nr(n).a.Kc(),new Y));wt(r);){if(i=o(it(r),18),!yc(i)&&(f=i.c.i,Cce(f,rO))){if(d=Woe(e,f,rO,iO),d==-1){continue;}t.b=p.Math.max(t.b,d),!t.a&&(t.a=new Te),xe(t.a,f);}}for(s=new Un(Vn(ur(n).a.Kc(),new Y));wt(s);){if(c=o(it(s),18),!yc(c)&&(h=c.d.i,Cce(h,iO))){if(d=Woe(e,h,iO,rO),d==-1){continue;}t.d=p.Math.max(t.d,d),!t.c&&(t.c=new Te),xe(t.c,h);}}return t;}function cqn(e,n,t,i){var r,c,s,f,h,d,b;if(t.d.i!=n.i){for(r=new u1(e),C0(r,(On(),$r)),de(r,(Ee(),mi),t),de(r,($e(),nr),(Kr(),ru)),yn(i.c,r),s=new qo,bo(s,r),Tr(s,(Oe(),An)),f=new qo,bo(f,r),Tr(f,Kn),b=t.d,Fr(t,s),c=new db,no(c,t),de(c,Wc,null),fc(c,f),Fr(c,b),d=new Gr(t.b,0);d.b1e6){throw O(new yM("power of ten too big"));}if(e<=fi){return Yv(hS(P3[1],n),n);}for(i=hS(P3[1],fi),r=i,t=No(e-fi),n=jr(e%fi);Lo(t,fi)>0;){r=A2(r,i),t=Rf(t,fi);}for(r=A2(r,hS(P3[1],n)),r=Yv(r,fi),t=No(e-fi);Lo(t,fi)>0;){r=Yv(r,fi),t=Rf(t,fi);}return r=Yv(r,n),r;}function dQe(e){var n,t,i,r,c,s,f,h,d,b;for(h=new N(e.a);h.ad&&i>d){b=f,d=J(n.p[f.p])+J(n.d[f.p])+f.o.b+f.d.a;}else{r=!1,t._g()&&t.bh("bk node placement breaks on "+f+" which should have been after "+b);break;}}if(!r){break;}}return t._g()&&t.bh(n+" is feasible: "+r),r;}function yue(e,n,t,i){var r,c,s,f,h,d,b,m,E;if(c=new u1(e),C0(c,(On(),tu)),de(c,($e(),nr),(Kr(),ru)),r=0,n){for(s=new qo,de(s,(Ee(),mi),n),de(c,mi,n.i),Tr(s,(Oe(),An)),bo(s,c),E=Ka(n.e),d=E,b=0,m=d.length;b0){if(r<0&&b.a&&(r=h,c=d[0],i=0),r>=0){if(f=b.b,h==r&&(f-=i++,f==0)){return 0;}if(!pZe(n,d,b,f,s)){h=r-1,d[0]=c;continue;}}else if(r=-1,!pZe(n,d,b,0,s)){return 0;}}else{if(r=-1,tc(b.c,0)==32){if(m=d[0],mHe(n,d),d[0]>m){continue;}}else if(V9n(n,b.c,d[0])){d[0]+=b.c.length;continue;}return 0;}}return XGn(s,t)?d[0]:0;}function aqn(e,n,t){var i,r,c,s,f,h,d,b,m,E;for(b=new zx(new tTe(t)),f=ce(Ts,Mh,28,e.f.e.c.length,16,1),ine(f,f.length),t[n.a]=0,d=new N(e.f.e);d.a=0&&!U2(e,b,m);){--m;}r[b]=m;}for(S=0;S=0&&!U2(e,f,T);){--f;}c[T]=f;}for(h=0;hn[E]&&Ei[h]&&bP(e,h,E,!1,!0);}}}function kue(e){var n,t,i,r,c,s,f,h;t=De(Le(M(e,(bl(),aon)))),c=e.a.c.d,f=e.a.d.d,t?(s=La(xr(new ve(f.a,f.b),c),.5),h=La(Wr(e.e),.5),n=xr(li(new ve(c.a,c.b),s),h),IZ(e.d,n)):(r=J(re(M(e.a,yon))),i=e.d,c.a>=f.a?c.b>=f.b?(i.a=f.a+(c.a-f.a)/2+r,i.b=f.b+(c.b-f.b)/2-r-e.e.b):(i.a=f.a+(c.a-f.a)/2+r,i.b=c.b+(f.b-c.b)/2+r):c.b>=f.b?(i.a=c.a+(f.a-c.a)/2+r,i.b=f.b+(c.b-f.b)/2+r):(i.a=c.a+(f.a-c.a)/2+r,i.b=c.b+(f.b-c.b)/2-r-e.e.b));}function Pk(e){var n,t,i,r,c,s,f,h;if(!e.f){if(h=new AY,f=new AY,n=y9,s=n.a.zc(e,n),s==null){for(c=new Hn(Zc(e));c.e!=c.i.gc();){r=o(Wn(c),29),Zi(h,Pk(r));}n.a.Bc(e)!=null,n.a.gc()==0;}for(i=(!e.s&&(e.s=new he(Ru,e,21,17)),new Hn(e.s));i.e!=i.i.gc();){t=o(Wn(i),179),U(t,102)&&pt(f,o(t,19));}Yg(f),e.r=new cLe(e,(o(z(le((Pd(),Tn).o),6),19),f.i),f.g),Zi(h,e.r),Yg(h),e.f=new k2((o(z(le(Tn.o),5),19),h.i),h.g),ps(e).b&=-3;}return e.f;}function bQe(e){Ww(e,new rw(Gw(Hw(Uw(qw(new M0,lw),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new tye))),Se(e,lw,uq,Ae(qhe)),Se(e,lw,sq,Ae(xG)),Se(e,lw,S3,Ae(Ycn)),Se(e,lw,Bb,Ae(Hhe)),Se(e,lw,fse,Ae(eon)),Se(e,lw,lse,Ae(Zcn)),Se(e,lw,sse,Ae(non)),Se(e,lw,ase,Ae(Qcn)),Se(e,lw,mse,Ae(Jcn)),Se(e,lw,vse,Ae(MG)),Se(e,lw,yse,Ae(Khe)),Se(e,lw,kse,Ae(YN));}function vP(){vP=V,f2e=R(L(Of,1),Wa,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Udn=new RegExp(`[ -\r\f]+`);try{p9=R(L(VVn,1),vn,2114,0,[new iE((JQ(),jI("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",FE((vM(),vM(),d7))))),new iE(jI("yyyy-MM-dd'T'HH:mm:ss'.'SSS",FE(d7))),new iE(jI("yyyy-MM-dd'T'HH:mm:ss",FE(d7))),new iE(jI("yyyy-MM-dd'T'HH:mm",FE(d7))),new iE(jI("yyyy-MM-dd",FE(d7)))]);}catch(e){if(e=Hi(e),!U(e,82)){throw O(e);}}}function dqn(e,n){var t,i,r,c;if(r=ys(e.d,1)!=0,i=nue(e,n),i==0&&De(Le(M(n.j,(Ee(),c0))))){return 0;}!De(Le(M(n.j,(Ee(),c0))))&&!De(Le(M(n.j,Tm)))||Z(M(n.j,($e(),Nh)))===Z((qa(),rd))?n.c.mg(n.e,r):r=De(Le(M(n.j,c0))),gS(e,n,r,!0),De(Le(M(n.j,Tm)))&&de(n.j,Tm,(jn(),!1)),De(Le(M(n.j,c0)))&&(de(n.j,c0,(jn(),!1)),de(n.j,Tm,!0)),t=nue(e,n);do{if(hie(e),t==0){return 0;}r=!r,c=t,gS(e,n,r,!1),t=nue(e,n);}while(c>t);return c;}function gQe(e,n){var t,i,r,c;if(r=ys(e.d,1)!=0,i=ZI(e,n),i==0&&De(Le(M(n.j,(Ee(),c0))))){return 0;}!De(Le(M(n.j,(Ee(),c0))))&&!De(Le(M(n.j,Tm)))||Z(M(n.j,($e(),Nh)))===Z((qa(),rd))?n.c.mg(n.e,r):r=De(Le(M(n.j,c0))),gS(e,n,r,!0),De(Le(M(n.j,Tm)))&&de(n.j,Tm,(jn(),!1)),De(Le(M(n.j,c0)))&&(de(n.j,c0,(jn(),!1)),de(n.j,Tm,!0)),t=ZI(e,n);do{if(hie(e),t==0){return 0;}r=!r,c=t,gS(e,n,r,!1),t=ZI(e,n);}while(c>t);return c;}function Eue(e,n,t,i){var r,c,s,f,h,d,b,m,E;return h=xr(new ve(t.a,t.b),e),d=h.a*n.b-h.b*n.a,b=n.a*i.b-n.b*i.a,m=(h.a*i.b-h.b*i.a)/b,E=d/b,b==0?d==0?(r=li(new ve(t.a,t.b),La(new ve(i.a,i.b),.5)),c=$d(e,r),s=$d(li(new ve(e.a,e.b),n),r),f=p.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c=0&&m<=1&&E>=0&&E<=1?li(new ve(e.a,e.b),La(new ve(n.a,n.b),m)):null;}function wqn(e,n,t){var i,r,c,s,f;if(i=o(M(e,($e(),Nz)),21),t.a>n.a&&(i.Hc((iw(),t9))?e.c.a+=(t.a-n.a)/2:i.Hc(i9)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Hc((iw(),c9))?e.c.b+=(t.b-n.b)/2:i.Hc(r9)&&(e.c.b+=t.b-n.b)),o(M(e,(Ee(),iu)),21).Hc((Cc(),Cf))&&(t.a>n.a||t.b>n.b)){for(f=new N(e.a);f.an.a&&(i.Hc((iw(),t9))?e.c.a+=(t.a-n.a)/2:i.Hc(i9)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Hc((iw(),c9))?e.c.b+=(t.b-n.b)/2:i.Hc(r9)&&(e.c.b+=t.b-n.b)),o(M(e,(Ee(),iu)),21).Hc((Cc(),Cf))&&(t.a>n.a||t.b>n.b)){for(s=new N(e.a);s.a0?e.i:0)>n&&h>0&&(c=0,s+=h+e.i,r=p.Math.max(r,E),i+=h+e.i,h=0,E=0,t&&(++m,xe(e.n,new dC(e.s,s,e.i))),f=0),E+=d.g+(f>0?e.i:0),h=p.Math.max(h,d.f),t&&Vre(o(Re(e.n,m),209),d),c+=d.g+(f>0?e.i:0),++f;}return r=p.Math.max(r,E),i+=h,t&&(e.r=r,e.d=i,Jre(e.j)),new hf(e.s,e.t,r,i);}function WK(e){var n,t,i,r,c,s,f,h,d,b,m,E;for(e.b=!1,m=Fi,h=kr,E=Fi,d=kr,i=e.e.a.ec().Kc();i.Ob();){for(t=o(i.Pb(),272),r=t.a,m=p.Math.min(m,r.c),h=p.Math.max(h,r.c+r.b),E=p.Math.min(E,r.d),d=p.Math.max(d,r.d+r.a),s=new N(t.c);s.ae.o.a&&(b=(h-e.o.a)/2,f.b=p.Math.max(f.b,b),f.c=p.Math.max(f.c,b));}}function mqn(e){var n,t,i,r,c,s,f,h;for(c=new aBe,Xyn(c,(t3(),P1n)),i=(r=FB(e,ce(Be,_e,2,0,6,1)),new P5(new is(new FL(e,r).b)));i.bf?1:-1:Kie(e.a,n.a,c),r==-1){m=-h,b=s==h?aB(n.a,f,e.a,c):dB(n.a,f,e.a,c);}else if(m=s,s==h){if(r==0){return Ga(),b7;}b=aB(e.a,c,n.a,f);}else {b=dB(e.a,c,n.a,f);}return d=new B0(m,b.length,b),$8(d),d;}function vqn(e,n){var t,i,r,c;if(c=ZJe(n),!n.c&&(n.c=new he(ws,n,9,9)),tr(new rn(null,(!n.c&&(n.c=new he(ws,n,9,9)),new ln(n.c,16))),new oTe(c)),r=o(M(c,(Ee(),iu)),21),aGn(n,r),r.Hc((Cc(),Cf))){for(i=new Hn((!n.c&&(n.c=new he(ws,n,9,9)),n.c));i.e!=i.i.gc();){t=o(Wn(i),123),FGn(e,n,c,t);}}return o(be(n,($e(),Sw)),181).gc()!=0&&GYe(n,c),De(Le(M(c,q0e)))&&r.Fc(AO),Ii(c,Oj)&&eIe(new Sre(J(re(M(c,Oj)))),c),Z(be(n,Op))===Z((i1(),fd))?lVn(e,n,c):Wzn(e,n,c),c;}function yqn(e){var n,t,i,r,c,s,f,h;for(r=new N(e.b);r.a0?df(t.a,0,c-1):""):(zr(0,c-1,e.length),e.substr(0,c-1)):t?t.a:e;}function kqn(e,n){var t,i,r,c,s,f,h;for(n.Ug("Sort By Input Model "+M(e,($e(),Nh)),1),r=0,i=new N(e.b);i.a=e.b.length?(c[r++]=s.b[i++],c[r++]=s.b[i++]):i>=s.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):s.b[i]0?e.i:0)),++n;}for(ure(e.n,h),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=Fi,e.p=Fi,c=new N(e.b);c.a0&&(r=(!e.n&&(e.n=new he(Fc,e,1,7)),o(z(e.n,0),135)).a,!r||qt(qt((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new bn(ct,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new bn(ct,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",qt(n,gZ(new OL,new Hn(e.b))),t&&(n.a+="]"),n.a+=bq,t&&(n.a+="["),qt(n,gZ(new OL,new Hn(e.c))),t&&(n.a+="]"),n.a);}function _qn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn;for(ae=e.c,pe=n.c,t=eo(ae.a,e,0),i=eo(pe.a,n,0),G=o(Mb(e,(xc(),as)).Kc().Pb(),12),Je=o(Mb(e,wu).Kc().Pb(),12),X=o(Mb(n,as).Kc().Pb(),12),kn=o(Mb(n,wu).Kc().Pb(),12),D=Ka(G.e),Ne=Ka(Je.g),H=Ka(X.e),Ze=Ka(kn.g),np(e,i,pe),s=H,b=0,T=s.length;bb?new q0((Dl(),Kp),t,n,d-b):d>0&&b>0&&(new q0((Dl(),Kp),n,t,0),new q0(Kp,t,n,0))),s);}function Tqn(e,n,t){var i,r,c;for(e.a=new Te,c=dt(n.b,0);c.b!=c.d.c;){for(r=o(at(c),40);o(M(r,(So(),oh)),17).a>e.a.c.length-1;){xe(e.a,new Sr(um,rle));}i=o(M(r,oh),17).a,t==(br(),Xc)||t==ro?(r.e.aJ(re(o(Re(e.a,i),42).b))&&lL(o(Re(e.a,i),42),r.e.a+r.f.a)):(r.e.bJ(re(o(Re(e.a,i),42).b))&&lL(o(Re(e.a,i),42),r.e.b+r.f.b));}}function vQe(e,n,t,i){var r,c,s,f,h,d,b;if(c=vI(i),f=De(Le(M(i,($e(),D0e)))),(f||De(Le(M(e,WO))))&&!E2(o(M(e,nr),101))){r=c3(c),h=aue(e,t,t==(xc(),wu)?r:z_(r));}else {switch(h=new qo,bo(h,e),n?(b=h.n,b.a=n.a-e.n.a,b.b=n.b-e.n.b,jWe(b,0,0,e.o.a,e.o.b),Tr(h,FJe(h,c))):(r=c3(c),Tr(h,t==(xc(),wu)?r:z_(r))),s=o(M(i,(Ee(),iu)),21),d=h.j,c.g){case 2:case 1:(d==(Oe(),Nn)||d==st)&&s.Fc((Cc(),_m));break;case 4:case 3:(d==(Oe(),Kn)||d==An)&&s.Fc((Cc(),_m));}}return h;}function yQe(e,n){var t,i,r,c,s,f;for(s=new Y0(new P0(e.f.b).a);s.b;){if(c=_b(s),r=o(c.ld(),602),n==1){if(r.Af()!=(br(),If)&&r.Af()!=Sa){continue;}}else if(r.Af()!=(br(),Xc)&&r.Af()!=ro){continue;}switch(i=o(o(c.md(),42).b,86),f=o(o(c.md(),42).a,194),t=f.c,r.Af().g){case 2:i.g.c=e.e.a,i.g.b=p.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=p.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=p.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=p.Math.max(1,i.g.a-t);}}}function Mqn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x;for(f=ce(vt,Gt,28,n.b.c.length,15,1),d=ce(UG,we,273,n.b.c.length,0,1),h=ce(Ph,Q1,10,n.b.c.length,0,1),m=e.a,E=0,S=m.length;E0&&h[i]&&(T=T2(e.b,h[i],r)),x=p.Math.max(x,r.c.c.b+T);}for(c=new N(b.e);c.a1){throw O(new In(uj));}h||(c=ph(n,i.Kc().Pb()),s.Fc(c));}return Mie(e,Wce(e,n,t),s);}function kP(e,n,t){var i,r,c,s,f,h,d,b;if(f1(e.e,n)){h=(jc(),o(n,69).xk()?new Ax(n,e):new IE(n,e)),nP(h.c,h.b),w8(h,o(t,16));}else{for(b=Eu(e.e.Dh(),n),i=o(e.g,124),s=0;s";}h!=null&&(n.a+=""+h);}else {e.e?(f=e.e.zb,f!=null&&(n.a+=""+f)):(n.a+="?",e.b?(n.a+=" super ",ZK(e.b,n)):e.f&&(n.a+=" extends ",ZK(e.f,n)));}}function Nqn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1;}function Oqn(e){var n,t,i,r;if(i=aH((!e.c&&(e.c=o_(No(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0){return i;}if(n=die(e)<0?1:0,t=e.e,r=(i.length+1+p.Math.abs(jr(e.e)),new Sv),n==1&&(r.a+="-"),e.e>0){if(t-=i.length-n,t>=0){for(r.a+="0.";t>mw.length;t-=mw.length){bLe(r,mw);}ZAe(r,mw,jr(t)),qt(r,(Pn(n,i.length+1),i.substr(n)));}else {t=n-t,qt(r,df(i,n,jr(t))),r.a+=".",qt(r,hne(i,jr(t)));}}else{for(qt(r,(Pn(n,i.length+1),i.substr(n)));t<-mw.length;t+=mw.length){bLe(r,mw);}ZAe(r,mw,jr(-t));}return r.a;}function eH(e){var n,t,i,r,c,s,f,h,d;return!(e.k!=(On(),cr)||e.j.c.length<=1||(c=o(M(e,($e(),nr)),101),c==(Kr(),ru))||(r=(ep(),(e.q?e.q:(dn(),dn(),Ch))._b(ig)?i=o(M(e,ig),203):i=o(M(Yr(e),O7),203),i),r==cA)||!(r==Om||r==Nm)&&(s=J(re(Zg(e,A7))),n=o(M(e,$j),140),!n&&(n=new XZ(s,s,s,s)),d=mo(e,(Oe(),An)),h=n.d+n.a+(d.gc()-1)*s,h>e.o.b||(t=mo(e,Kn),f=n.d+n.a+(t.gc()-1)*s,f>e.o.b)));}function Aqn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I;n.Ug("Orthogonal edge routing",1),d=J(re(M(e,($e(),Pm)))),t=J(re(M(e,Cm))),i=J(re(M(e,Tw))),E=new _R(0,t),I=0,s=new Gr(e.b,0),f=null,b=null,h=null,m=null;do {b=s.b0?(S=(T-1)*t,f&&(S+=i),b&&(S+=i),Sn||De(Le(be(h,(wa(),Wj)))))&&(r=0,c+=b.b+t,yn(m.c,b),b=new Une(c,t),i=new tF(0,b.f,b,t),WC(b,i),r=0),i.b.c.length==0||!De(Le(be(Bi(h),(wa(),GV))))&&(h.f>=i.o&&h.f<=i.f||i.a*.5<=h.f&&i.a*1.5>=h.f)?dre(i,h):(s=new tF(i.s+i.r+t,b.f,b,t),WC(b,s),dre(s,h)),r=h.i+h.g;}return yn(m.c,b),m;}function Ok(e){var n,t,i,r;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,r=0;r=e.b[r+1]){r+=2;}else if(t0){for(i=new rs(o(pi(e.a,c),21)),dn(),sr(i,new lJ(n)),r=new Gr(c.b,0);r.b0&&i>=-6?i>=0?OE(c,t-jr(e.e),"."):(GB(c,n-1,n-1,"0."),OE(c,n+1,Ha(mw,0,-jr(i)-1))):(t-n>=1&&(OE(c,n,"."),++t),OE(c,t,"E"),i>0&&OE(c,++t,"+"),OE(c,++t,""+T8(No(i)))),e.g=c.a,e.g));}function Uqn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne;i=J(re(M(n,($e(),F0e)))),ae=o(M(n,$7),17).a,E=4,r=3,pe=20/ae,S=!1,h=0,s=fi;do{for(c=h!=1,m=h!=0,Ne=0,I=e.a,H=0,X=I.length;Hae)?(h=2,s=fi):h==0?(h=1,s=Ne):(h=0,s=Ne)):(S=Ne>=s||s-Ne0?1:Qw(isNaN(i),isNaN(0)))>=0^(al(eh),(p.Math.abs(f)<=eh||f==0||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:Qw(isNaN(f),isNaN(0)))>=0)?p.Math.max(f,i):(al(eh),(p.Math.abs(i)<=eh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Qw(isNaN(i),isNaN(0)))>0?p.Math.sqrt(f*f+i*i):-p.Math.sqrt(f*f+i*i));}function cw(e,n){var t,i,r,c,s,f;if(n){if(!e.a&&(e.a=new pM),e.e==2){gM(e.a,n);return;}if(n.e==1){for(r=0;r=kc?Lc(t,hre(i)):Xy(t,i&gr),s=new HR(10,null,0),C7n(e.a,s,f-1)):(t=(s.Mm().length+c,new H5),Lc(t,s.Mm())),n.e==0?(i=n.Km(),i>=kc?Lc(t,hre(i)):Xy(t,i&gr)):Lc(t,n.Mm()),o(s,530).b=t.a;}}function Vqn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I;if(!t.dc()){for(f=0,E=0,i=t.Kc(),T=o(i.Pb(),17).a;f1&&(h=d.Hg(h,e.a,f));}return h.c.length==1?o(Re(h,h.c.length-1),238):h.c.length==2?Lqn((wn(0,h.c.length),o(h.c[0],238)),(wn(1,h.c.length),o(h.c[1],238)),s,c):null;}function Qqn(e,n,t){var i,r,c,s,f,h,d;for(t.Ug("Find roots",1),e.a.c.length=0,r=dt(n.b,0);r.b!=r.d.c;){i=o(at(r),40),i.b.b==0&&(de(i,(Mi(),l0),(jn(),!0)),xe(e.a,i));}switch(e.a.c.length){case 0:c=new nF(0,n,"DUMMY_ROOT"),de(c,(Mi(),l0),(jn(),!0)),de(c,wV,!0),Kt(n.b,c);break;case 1:break;default:for(s=new nF(0,n,fN),h=new N(e.a);h.a=p.Math.abs(i.b)?(i.b=0,c.d+c.a>s.d&&c.ds.c&&c.c0){if(n=new VQ(e.i,e.g),t=e.i,c=t<100?null:new _d(t),e.Tj()){for(i=0;i0){for(f=e.g,d=e.i,F8(e),c=d<100?null:new _d(d),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,s=(e.h&1048320)>>8,f=n.l&8191,h=n.l>>13|(n.m&15)<<9,d=n.m>>4&8191,b=n.m>>17|(n.h&255)<<5,m=(n.h&1048320)>>8,Ze=t*f,Je=i*f,kn=r*f,En=c*f,Xn=s*f,h!=0&&(Je+=t*h,kn+=i*h,En+=r*h,Xn+=c*h),d!=0&&(kn+=t*d,En+=i*d,Xn+=r*d),b!=0&&(En+=t*b,Xn+=i*b),m!=0&&(Xn+=t*m),S=Ze&Es,T=(Je&511)<<13,E=S+T,I=Ze>>22,D=Je>>9,H=(kn&262143)<<4,G=(En&31)<<17,x=I+D+H+G,ae=kn>>18,pe=En>>5,Ne=(Xn&4095)<<8,X=ae+pe+Ne,x+=E>>22,E&=Es,X+=x>>22,x&=Es,X&=a1,gu(E,x,X);}function PQe(e){var n,t,i,r,c,s,f;if(f=o(Re(e.j,0),12),f.g.c.length!=0&&f.e.c.length!=0){throw O(new Hc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));}if(f.g.c.length!=0){for(c=Fi,t=new N(f.g);t.a4){if(e.fk(n)){if(e.al()){if(r=o(n,54),i=r.Eh(),h=i==e.e&&(e.ml()?r.yh(r.Fh(),e.il())==e.jl():-1-r.Fh()==e.Lj()),e.nl()&&!h&&!i&&r.Jh()){for(c=0;c0&&NWe(e,f,m);}for(r=new N(m);r.ae.d[s.p]&&(t+=cte(e.b,c)*o(h.b,17).a,Ad(e.a,je(c)));}for(;!K5(e.a);){Rte(e.b,o(Kv(e.a),17).a);}}return t;}function iUn(e,n){var t,i,r,c,s,f,h,d,b,m;if(b=o(M(e,(Ee(),Co)),64),i=o(Re(e.j,0),12),b==(Oe(),Nn)?Tr(i,st):b==st&&Tr(i,Nn),o(M(n,($e(),Sw)),181).Hc((Rs(),Ow))){if(h=J(re(M(e,Y6))),d=J(re(M(e,J6))),s=J(re(M(e,Rp))),f=o(M(n,Lp),21),f.Hc((fs(),m1))){for(t=d,m=e.o.a/2-i.n.a,c=new N(i.f);c.a0&&(d=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(d=e.n.b/r);}de(e,(Ee(),Zb),d);}if(h=e.o,s=e.a,i){s.a=i.a,s.b=i.b,e.d=!0;}else if(n!=Ta&&n!=w0&&f!=yo){switch(f.g){case 1:s.a=h.a/2;break;case 2:s.a=h.a,s.b=h.b/2;break;case 3:s.a=h.a/2,s.b=h.b;break;case 4:s.b=h.b/2;}}else {s.a=h.a/2,s.b=h.b/2;}}function Ak(e){var n,t,i,r,c,s,f,h,d,b;if(e.Pj()){if(b=e.Ej(),h=e.Qj(),b>0){if(n=new pie(e.pj()),t=b,c=t<100?null:new _d(t),RE(e,t,n.g),r=t==1?e.Ij(4,z(n,0),null,0,h):e.Ij(6,n,null,-1,h),e.Mj()){for(i=new Hn(n);i.e!=i.i.gc();){c=e.Oj(Wn(i),c);}c?(c.nj(r),c.oj()):e.Jj(r);}else {c?(c.nj(r),c.oj()):e.Jj(r);}}else {RE(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(dn(),mc),null,-1,h));}}else if(e.Mj()){if(b=e.Ej(),b>0){for(f=e.Fj(),d=b,RE(e,b,f),c=d<100?null:new _d(d),i=0;i1&&Gu(s)*$s(s)/2>f[0]){for(c=0;cf[c];){++c;}T=new A1(x,0,c+1),m=new qC(T),b=Gu(s)/$s(s),h=fH(m,n,new mv,t,i,r,b),li(Al(m.e),h),Rv(U4(E,m),l6),S=new A1(x,c+1,x.c.length),nce(E,S),x.c.length=0,d=0,NLe(f,f.length,0);}else {I=E.b.c.length==0?null:Re(E.b,0),I!=null&&DB(E,0),d>0&&(f[d]=f[d-1]),f[d]+=Gu(s)*$s(s),++d,yn(x.c,s);}}return x;}function fUn(e,n){var t,i,r,c;t=n.b,c=new rs(t.j),r=0,i=t.j,i.c.length=0,ob(o(X0(e.b,(Oe(),Nn),(Eb(),Yb)),15),t),r=J_(c,r,new N5e,i),ob(o(X0(e.b,Nn,r0),15),t),r=J_(c,r,new j5e,i),ob(o(X0(e.b,Nn,Xb),15),t),ob(o(X0(e.b,Kn,Yb),15),t),ob(o(X0(e.b,Kn,r0),15),t),r=J_(c,r,new O5e,i),ob(o(X0(e.b,Kn,Xb),15),t),ob(o(X0(e.b,st,Yb),15),t),r=J_(c,r,new A5e,i),ob(o(X0(e.b,st,r0),15),t),r=J_(c,r,new $5e,i),ob(o(X0(e.b,st,Xb),15),t),ob(o(X0(e.b,An,Yb),15),t),r=J_(c,r,new x5e,i),ob(o(X0(e.b,An,r0),15),t),ob(o(X0(e.b,An,Xb),15),t);}function lUn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S;for(f=new N(n);f.a.5?D-=s*2*(T-.5):T<.5&&(D+=c*2*(.5-T)),r=f.d.b,DI.a-x-b&&(D=I.a-x-b),f.n.a=n+D;}}function wUn(e){var n,t,i,r,c;if(i=o(M(e,($e(),ju)),171),i==(Ef(),o0)){for(t=new Un(Vn(Nr(e).a.Kc(),new Y));wt(t);){if(n=o(it(t),18),!zFe(n)){throw O(new j1(vq+Z_(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."));}}}else if(i==Pp){for(c=new Un(Vn(ur(e).a.Kc(),new Y));wt(c);){if(r=o(it(c),18),!zFe(r)){throw O(new j1(vq+Z_(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."));}}}}function SS(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T;if(e.e&&e.c.c>19&&(n=j4(n),h=!h),s=QRn(n),c=!1,r=!1,i=!1,e.h==AS&&e.m==0&&e.l==0){if(r=!0,c=!0,s==-1){e=mOe((s4(),Kae)),i=!0,h=!h;}else {return f=Soe(e,s),h&&eF(f),t&&(e0=gu(0,0,0)),f;}}else {e.h>>19&&(c=!0,e=j4(e),i=!0,h=!h);}return s!=-1?Mxn(e,s,h,c,t):fce(e,n)<0?(t&&(c?e0=j4(e):e0=gu(e.l,e.m,e.h)),gu(0,0,0)):XKn(i?e:gu(e.l,e.m,e.h),n,h,c,r,t);}function rH(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T;if(s=e.e,h=n.e,s==0){return n;}if(h==0){return e;}if(c=e.d,f=n.d,c+f==2){return t=Cr(e.a[0],Ic),i=Cr(n.a[0],Ic),s==h?(b=lc(t,i),T=Mt(b),S=Mt(Id(b,32)),S==0?new Jh(s,T):new B0(s,2,R(L(vt,1),Gt,28,15,[T,S]))):(Ga(),ox(s<0?Rf(i,t):Rf(t,i),0)?Hd(s<0?Rf(i,t):Rf(t,i)):C8(Hd(R1(s<0?Rf(i,t):Rf(t,i)))));}if(s==h){E=s,m=c>=f?dB(e.a,c,n.a,f):dB(n.a,f,e.a,c);}else{if(r=c!=f?c>f?1:-1:Kie(e.a,n.a,c),r==0){return Ga(),b7;}r==1?(E=s,m=aB(e.a,c,n.a,f)):(E=h,m=aB(n.a,f,e.a,c));}return d=new B0(E,m.length,m),$8(d),d;}function gUn(e,n){var t,i,r,c,s,f,h;if(!(e.g>n.f||n.g>e.f)){for(t=0,i=0,s=e.w.a.ec().Kc();s.Ob();){r=o(s.Pb(),12),hF(po(R(L(Or,1),_e,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;}for(f=e.r.a.ec().Kc();f.Ob();){r=o(f.Pb(),12),hF(po(R(L(Or,1),_e,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;}for(h=n.w.a.ec().Kc();h.Ob();){r=o(h.Pb(),12),hF(po(R(L(Or,1),_e,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;}for(c=n.r.a.ec().Kc();c.Ob();){r=o(c.Pb(),12),hF(po(R(L(Or,1),_e,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;}t=0){return t;}switch(ab(Uc(e,t))){case 2:{if(un("",H1(e,t.qk()).xe())){if(h=ZE(Uc(e,t)),f=Qy(Uc(e,t)),b=xoe(e,n,h,f),b){return b;}for(r=rue(e,n),s=0,m=r.gc();s1){throw O(new In(uj));}for(b=Eu(e.e.Dh(),n),i=o(e.g,124),s=0;s1,d=new ua(E.b);wo(d.a)||wo(d.b);){h=o(wo(d.a)?P(d.a):P(d.b),18),m=h.c==E?h.d:h.c,p.Math.abs(po(R(L(Or,1),_e,8,0,[m.i.n,m.n,m.a])).b-s.b)>1&&iFn(e,h,s,c,E);}}}}function EUn(e){var n,t,i,r,c,s;if(r=new Gr(e.e,0),i=new Gr(e.a,0),e.d){for(t=0;tZq;){for(c=n,s=0;p.Math.abs(n-c)0),r.a.Xb(r.c=--r.b),DHn(e,e.b-s,c,i,r),Zn(r.b0),i.a.Xb(i.c=--i.b);}if(!e.d){for(t=0;t0?(e.f[b.p]=S/(b.e.c.length+b.g.c.length),e.c=p.Math.min(e.c,e.f[b.p]),e.b=p.Math.max(e.b,e.f[b.p])):f&&(e.f[b.p]=S);}}function SUn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1;}function jUn(e,n,t){var i,r,c,s;for(t.Ug("Graph transformation ("+e.a+")",1),s=gb(n.a),c=new N(n.b);c.a=f.b.c)&&(f.b=n),(!f.c||n.c<=f.c.c)&&(f.d=f.c,f.c=n),(!f.e||n.d>=f.e.d)&&(f.e=n),(!f.f||n.d<=f.f.d)&&(f.f=n);}return i=new AI((_4(),Wb)),u_(e,Won,new is(R(L(yj,1),vn,382,0,[i]))),s=new AI(jp),u_(e,Von,new is(R(L(yj,1),vn,382,0,[s]))),r=new AI(Sp),u_(e,zon,new is(R(L(yj,1),vn,382,0,[r]))),c=new AI(pm),u_(e,Gon,new is(R(L(yj,1),vn,382,0,[c]))),CK(i.c,Wb),CK(r.c,Sp),CK(c.c,pm),CK(s.c,jp),f.a.c.length=0,yr(f.a,i.c),yr(f.a,kf(r.c)),yr(f.a,c.c),yr(f.a,kf(s.c)),f;}function xUn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T;for(n.Ug(znn,1),S=J(re(be(e,(kh(),Hp)))),s=J(re(be(e,(wa(),Q7)))),f=o(be(e,J7),107),aie((!e.a&&(e.a=new he(ti,e,10,11)),e.a)),b=MQe((!e.a&&(e.a=new he(ti,e,10,11)),e.a),S,s),!e.a&&(e.a=new he(ti,e,10,11)),d=new N(b);d.a0&&(e.a=h+(S-1)*c,n.c.b+=e.a,n.f.b+=e.a)),T.a.gc()!=0&&(E=new _R(1,c),S=Pue(E,n,T,x,n.f.b+h-n.c.b),S>0&&(n.f.b+=h+(S-1)*c));}function AQe(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;for(b=J(re(M(e,($e(),cg)))),i=J(re(M(e,Y0e))),E=new Z$,de(E,cg,b+i),d=n,D=d.d,x=d.c.i,H=d.d.i,I=eZ(x.c),G=eZ(H.c),r=new Te,m=I;m<=G;m++){f=new u1(e),C0(f,(On(),$r)),de(f,(Ee(),mi),d),de(f,nr,(Kr(),ru)),de(f,eA,E),S=o(Re(e.b,m),30),m==I?np(f,S.a.c.length-t,S):Ur(f,S),X=J(re(M(d,td))),X<0&&(X=0,de(d,td,X)),f.o.b=X,T=p.Math.floor(X/2),s=new qo,Tr(s,(Oe(),An)),bo(s,f),s.n.b=T,h=new qo,Tr(h,Kn),bo(h,f),h.n.b=T,Fr(d,s),c=new db,no(c,d),de(c,Wc,null),fc(c,h),Fr(c,D),pOn(f,d,c),yn(r.c,c),d=c;}return r;}function cH(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G;for(h=o(W1(e,(Oe(),An)).Kc().Pb(),12).e,S=o(W1(e,Kn).Kc().Pb(),12).g,f=h.c.length,G=ca(o(Re(e.j,0),12));f-- >0;){for(x=(wn(0,h.c.length),o(h.c[0],18)),r=(wn(0,S.c.length),o(S.c[0],18)),H=r.d.e,c=eo(H,r,0),Q_n(x,r.d,c),fc(r,null),Fr(r,null),T=x.a,n&&Kt(T,new wc(G)),i=dt(r.a,0);i.b!=i.d.c;){t=o(at(i),8),Kt(T,new wc(t));}for(D=x.b,E=new N(r.b);E.as)&&vr(e.b,o(I.b,18));}}++f;}c=s;}}}}}function xue(e,n){var t;if(n==null||un(n,Au)||n.length==0&&e.k!=(X1(),z3)){return null;}switch(e.k.g){case 1:return CI(n,_6)?(jn(),I6):CI(n,pU)?(jn(),n0):null;case 2:try{return je(Ys(n,rc,fi));}catch(i){if(i=Hi(i),U(i,130)){return null;}throw O(i);}case 4:try{return ip(n);}catch(i){if(i=Hi(i),U(i,130)){return null;}throw O(i);}case 3:return n;case 5:return nGe(e),wXe(e,n);case 6:return nGe(e),CRn(e,e.a,n);case 7:try{return t=FDn(e),t.cg(n),t;}catch(i){if(i=Hi(i),U(i,33)){return null;}throw O(i);}default:throw O(new Hc("Invalid type set for this layout option."));}}function Cue(e){var n;switch(e.d){case 1:{if(e.Sj()){return e.o!=-2;}break;}case 2:{if(e.Sj()){return e.o==-2;}break;}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1;}switch(n=e.Rj(),e.p){case 0:return n!=null&&De(Le(n))!=f8(e.k,0);case 1:return n!=null&&o(n,222).a!=Mt(e.k)<<24>>24;case 2:return n!=null&&o(n,180).a!=(Mt(e.k)&gr);case 6:return n!=null&&f8(o(n,168).a,e.k);case 5:return n!=null&&o(n,17).a!=Mt(e.k);case 7:return n!=null&&o(n,191).a!=Mt(e.k)<<16>>16;case 3:return n!=null&&J(re(n))!=e.j;case 4:return n!=null&&o(n,161).a!=e.j;default:return n==null?e.n!=null:!hi(n,e.n);}}function jS(e,n,t){var i,r,c,s;return e.ol()&&e.nl()&&(s=pR(e,o(t,58)),Z(s)!==Z(t))?(e.xj(n),e.Dj(n,RKe(e,n,s)),e.al()&&(c=(r=o(t,54),e.ml()?e.kl()?r.Th(e.b,Tc(o(pn(Iu(e.b),e.Lj()),19)).n,o(pn(Iu(e.b),e.Lj()).Hk(),29).kk(),null):r.Th(e.b,qi(r.Dh(),Tc(o(pn(Iu(e.b),e.Lj()),19))),null,null):r.Th(e.b,-1-e.Lj(),null,null)),!o(s,54).Ph()&&(c=(i=o(s,54),e.ml()?e.kl()?i.Rh(e.b,Tc(o(pn(Iu(e.b),e.Lj()),19)).n,o(pn(Iu(e.b),e.Lj()).Hk(),29).kk(),c):i.Rh(e.b,qi(i.Dh(),Tc(o(pn(Iu(e.b),e.Lj()),19))),null,c):i.Rh(e.b,-1-e.Lj(),null,c))),c&&c.oj()),Ns(e.b)&&e.Jj(e.Ij(9,t,s,n,!1)),s):t;}function $Qe(e){var n,t,i,r,c,s,f,h,d,b;for(i=new Te,s=new N(e.e.a);s.a0&&(s=p.Math.max(s,Fqe(e.C.b+i.d.b,r))),b=i,m=r,E=c;}e.C&&e.C.c>0&&(S=E+e.C.c,d&&(S+=b.d.c),s=p.Math.max(s,(na(),al(ga),p.Math.abs(m-1)<=ga||m==1||isNaN(m)&&isNaN(1)?0:S/(1-m)))),t.n.b=0,t.a.a=s;}function DQe(e,n){var t,i,r,c,s,f,h,d,b,m,E,S;if(t=o(Dc(e.b,n),127),h=o(o(pi(e.r,n),21),87),h.dc()){t.n.d=0,t.n.a=0;return;}for(d=e.u.Hc((fs(),m1)),s=0,e.A.Hc((Rs(),Ow))&&hJe(e,n),f=h.Kc(),b=null,E=0,m=0;f.Ob();){i=o(f.Pb(),117),c=J(re(i.b.of((vx(),VN)))),r=i.b.Mf().b,b?(S=m+b.d.a+e.w+i.d.d,s=p.Math.max(s,(na(),al(ga),p.Math.abs(E-c)<=ga||E==c||isNaN(E)&&isNaN(c)?0:S/(c-E)))):e.C&&e.C.d>0&&(s=p.Math.max(s,Fqe(e.C.d+i.d.d,c))),b=i,E=c,m=r;}e.C&&e.C.a>0&&(S=m+e.C.a,d&&(S+=b.d.a),s=p.Math.max(s,(na(),al(ga),p.Math.abs(E-1)<=ga||E==1||isNaN(E)&&isNaN(1)?0:S/(1-E)))),t.n.d=0,t.a.b=s;}function PUn(e,n,t,i,r,c,s,f){var h,d,b,m,E,S,T,x,I,D;if(T=!1,d=Loe(t.q,n.f+n.b-t.q.f),S=i.f>n.b&&f,D=r-(t.q.e+d-s),m=(h=Nk(i,D,!1),h.a),S&&m>i.f){return!1;}if(S){for(E=0,I=new N(n.d);I.a=(wn(c,e.c.length),o(e.c[c],186)).e,!S&&m>n.b&&!b)?!1:((b||S||m<=n.b)&&(b&&m>n.b?(t.d=m,g_(t,_We(t,m))):(KVe(t.q,d),t.c=!0),g_(i,r-(t.s+t.r)),Q_(i,t.q.e+t.q.d,n.f),WC(n,i),e.c.length>c&&(nS((wn(c,e.c.length),o(e.c[c],186)),i),(wn(c,e.c.length),o(e.c[c],186)).a.c.length==0&&L1(e,c)),T=!0),T);}function RQe(e,n,t){var i,r,c,s,f,h;for(this.g=e,f=n.d.length,h=t.d.length,this.d=ce(Ph,Q1,10,f+h,0,1),s=0;s0?IB(this,this.f/this.a):ta(n.g,n.d[0]).a!=null&&ta(t.g,t.d[0]).a!=null?IB(this,(J(ta(n.g,n.d[0]).a)+J(ta(t.g,t.d[0]).a))/2):ta(n.g,n.d[0]).a!=null?IB(this,ta(n.g,n.d[0]).a):ta(t.g,t.d[0]).a!=null&&IB(this,ta(t.g,t.d[0]).a);}function NUn(e,n){var t,i,r,c,s,f,h,d,b,m;for(e.a=new pDe(wxn(u9)),i=new N(n.a);i.a=1&&(I-s>0&&m>=0?(h.n.a+=x,h.n.b+=c*s):I-s<0&&b>=0&&(h.n.a+=x*I,h.n.b+=c));}e.o.a=n.a,e.o.b=n.b,de(e,($e(),Sw),(Rs(),i=o(Nl(w9),9),new af(i,o(ul(i,i.length),9),0)));}function $Un(e,n,t,i,r,c){var s;if(!(n==null||!_F(n,p2e,m2e))){throw O(new In("invalid scheme: "+n));}if(!e&&!(t!=null&&Aa(t,Ou(35))==-1&&t.length>0&&(Pn(0,t.length),t.charCodeAt(0)!=47))){throw O(new In("invalid opaquePart: "+t));}if(e&&!(n!=null&&hE(n$,n.toLowerCase()))&&!(t==null||!_F(t,m9,v9))){throw O(new In(yin+t));}if(e&&n!=null&&hE(n$,n.toLowerCase())&&!wAn(t)){throw O(new In(yin+t));}if(!yIn(i)){throw O(new In("invalid device: "+i));}if(!rCn(r)){throw s=r==null?"invalid segments: null":"invalid segment: "+eCn(r),O(new In(s));}if(!(c==null||Aa(c,Ou(35))==-1)){throw O(new In("invalid query: "+c));}}function LUn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D;if(t.Ug("Network simplex layering",1),e.b=n,D=o(M(n,($e(),$7)),17).a*4,I=e.b.a,I.c.length<1){t.Vg();return;}for(c=OKn(e,I),x=null,r=dt(c,0);r.b!=r.d.c;){for(i=o(at(r),15),f=D*jr(p.Math.sqrt(i.gc())),s=WKn(i),KK(XJ(L3n(YJ(YD(s),f),x),!0),t.eh(1)),E=e.b.b,T=new N(s.a);T.a1){for(x=ce(vt,Gt,28,e.b.b.c.length,15,1),m=0,d=new N(e.b.b);d.a0){II(e,t,0),t.a+=String.fromCharCode(i),r=rPn(n,c),II(e,t,r),c+=r-1;continue;}i==39?c+10&&T.a<=0){h.c.length=0,yn(h.c,T);break;}S=T.i-T.d,S>=f&&(S>f&&(h.c.length=0,f=S),yn(h.c,T));}h.c.length!=0&&(s=o(Re(h,RI(r,h.c.length)),118),G.a.Bc(s)!=null,s.g=b++,pue(s,n,t,i),h.c.length=0);}for(I=e.c.length+1,E=new N(e);E.akr||n.o==Mw&&b=f&&r<=h){f<=r&&c<=h?(t[b++]=r,t[b++]=c,i+=2):f<=r?(t[b++]=r,t[b++]=h,e.b[i]=h+1,s+=2):c<=h?(t[b++]=f,t[b++]=c,i+=2):(t[b++]=f,t[b++]=h,e.b[i]=h+1);}else if(hWd)&&f<10);QJ(e.c,new gye),HQe(e),P7n(e.c),TUn(e.f);}function GUn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x;for(t=o(M(e,($e(),nr)),101),s=e.f,c=e.d,f=s.a+c.b+c.c,h=0-c.d-e.c.b,b=s.b+c.d+c.a-e.c.b,d=new Te,m=new Te,r=new N(n);r.a=2){for(h=dt(t,0),s=o(at(h),8),f=o(at(h),8);f.a0&&L_(d,!0,(br(),ro)),f.k==(On(),fr)&&TDe(d),Jt(e.f,f,n);}}}function WUn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;for(r=o(M(e,(Mi(),V7)),27),d=fi,b=fi,f=rc,h=rc,G=dt(e.b,0);G.b!=G.d.c;){D=o(at(G),40),S=D.e,T=D.f,d=p.Math.min(d,S.a-T.a/2),b=p.Math.min(b,S.b-T.b/2),f=p.Math.max(f,S.a+T.a/2),h=p.Math.max(h,S.b+T.b/2);}for(E=o(be(r,(So(),ube)),107),H=dt(e.b,0);H.b!=H.d.c;){D=o(at(H),40),m=M(D,V7),U(m,207)&&(c=o(m,27),ff(c,D.e.a,D.e.b),wS(c,D));}for(I=dt(e.a,0);I.b!=I.d.c;){x=o(at(I),65),i=o(M(x,V7),74),i&&(n=x.a,t=J2(i,!0,!0),kS(n,t));}X=f-d+(E.b+E.c),s=h-b+(E.d+E.a),De(Le(be(r,(Wt(),qp))))||$b(r,X,s,!1,!1),yi(r,Hm,X-(E.b+E.c)),yi(r,Km,s-(E.d+E.a));}function UQe(e,n){var t,i,r,c,s,f,h,d,b,m;for(h=!0,r=0,d=e.g[n.p],b=n.o.b+e.o,t=e.d[n.p][2],bf(e.b,d,je(o(Re(e.b,d),17).a-1+t)),bf(e.c,d,J(re(Re(e.c,d)))-b+t*e.f),++d,d>=e.j?(++e.j,xe(e.b,je(1)),xe(e.c,b)):(i=e.d[n.p][1],bf(e.b,d,je(o(Re(e.b,d),17).a+1-i)),bf(e.c,d,J(re(Re(e.c,d)))+b-i*e.f)),(e.r==(Ff(),Lj)&&(o(Re(e.b,d),17).a>e.k||o(Re(e.b,d-1),17).a>e.k)||e.r==Dj&&(J(re(Re(e.c,d)))>e.n||J(re(Re(e.c,d-1)))>e.n))&&(h=!1),s=new Un(Vn(Nr(n).a.Kc(),new Y));wt(s);){c=o(it(s),18),f=c.c.i,e.g[f.p]==d&&(m=UQe(e,f),r=r+o(m.a,17).a,h=h&&De(Le(m.b)));}return e.g[n.p]=d,r=r+e.d[n.p][0],new Sr(je(r),(jn(),!!h));}function GQe(e,n){var t,i,r,c,s;t=J(re(M(n,($e(),yl)))),t<2&&de(n,yl,2),i=o(M(n,nf),88),i==(br(),ja)&&de(n,nf,vI(n)),r=o(M(n,sln),17),r.a==0?de(n,(Ee(),K3),new jF):de(n,(Ee(),K3),new EC(r.a)),c=Le(M(n,N7)),c==null&&de(n,N7,(jn(),Z(M(n,g1))===Z((r1(),f5)))),tr(new rn(null,new ln(n.a,16)),new sJ(e)),tr(go(new rn(null,new ln(n.b,16)),new vY),new fJ(e)),s=new BQe(n),de(n,(Ee(),Mm),s),QE(e.a),$l(e.a,(ic(),vl),o(M(n,kw),188)),$l(e.a,Ih,o(M(n,_w),188)),$l(e.a,Go,o(M(n,P7),188)),$l(e.a,nu,o(M(n,QO),188)),$l(e.a,io,WMn(o(M(n,g1),223))),tZ(e.a,qzn(n)),de(n,Mz,SS(e.a,n));}function Pue(e,n,t,i,r){var c,s,f,h,d,b,m,E,S,T,x,I,D;for(m=new lt,s=new Te,UWe(e,t,e.d.Ag(),s,m),UWe(e,i,e.d.Bg(),s,m),e.b=.2*(x=XXe(go(new rn(null,new ln(s,16)),new nke)),I=XXe(go(new rn(null,new ln(s,16)),new tke)),p.Math.min(x,I)),c=0,f=0;f=2&&(D=wYe(s,!0,E),!e.e&&(e.e=new jMe(e)),ePn(e.e,D,s,e.b)),JVe(s,E),eGn(s),S=-1,b=new N(s);b.af);}function zQe(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H;for(d=Fi,b=Fi,f=kr,h=kr,E=new N(n.i);E.a-1){for(r=dt(f,0);r.b!=r.d.c;){i=o(at(r),131),i.v=s;}for(;f.b!=0;){for(i=o(tK(f,0),131),t=new N(i.i);t.a-1){for(c=new N(f);c.a0)&&(WY(h,p.Math.min(h.o,r.o-1)),uM(h,h.i-1),h.i==0&&yn(f.c,h));}}}}function WQe(e,n,t,i,r){var c,s,f,h;return h=Fi,s=!1,f=Eue(e,xr(new ve(n.a,n.b),e),li(new ve(t.a,t.b),r),xr(new ve(i.a,i.b),t)),c=!!f&&!(p.Math.abs(f.a-e.a)<=Hb&&p.Math.abs(f.b-e.b)<=Hb||p.Math.abs(f.a-n.a)<=Hb&&p.Math.abs(f.b-n.b)<=Hb),f=Eue(e,xr(new ve(n.a,n.b),e),t,r),f&&((p.Math.abs(f.a-e.a)<=Hb&&p.Math.abs(f.b-e.b)<=Hb)==(p.Math.abs(f.a-n.a)<=Hb&&p.Math.abs(f.b-n.b)<=Hb)||c?h=p.Math.min(h,P8(xr(f,t))):s=!0),f=Eue(e,xr(new ve(n.a,n.b),e),i,r),f&&(s||(p.Math.abs(f.a-e.a)<=Hb&&p.Math.abs(f.b-e.b)<=Hb)==(p.Math.abs(f.a-n.a)<=Hb&&p.Math.abs(f.b-n.b)<=Hb)||c)&&(h=p.Math.min(h,P8(xr(f,i)))),h;}function XQe(e){Ww(e,new rw(_M(Gw(Hw(Uw(qw(new M0,Yd),zen),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new aye),_u))),Se(e,Yd,Uk,Ae(i1e)),Se(e,Yd,FP,(jn(),!0)),Se(e,Yd,sm,Ae(Pon)),Se(e,Yd,T3,Ae(Non)),Se(e,Yd,j3,Ae(Oon)),Se(e,Yd,g6,Ae(Ion)),Se(e,Yd,Gk,Ae(c1e)),Se(e,Yd,p6,Ae(Aon)),Se(e,Yd,xse,Ae(t1e)),Se(e,Yd,Ise,Ae(e1e)),Se(e,Yd,Pse,Ae(n1e)),Se(e,Yd,Nse,Ae(r1e)),Se(e,Yd,Cse,Ae(tO));}function nGn(e){var n,t,i,r,c,s,f,h;for(n=null,i=new N(e);i.a0&&t.c==0&&(!n&&(n=new Te),yn(n.c,t));}if(n){for(;n.c.length!=0;){if(t=o(L1(n,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Te),new N(t.b));c.aeo(e,t,0)){return new Sr(r,t);}}else if(J(ta(r.g,r.d[0]).a)>J(ta(t.g,t.d[0]).a)){return new Sr(r,t);}}}for(f=(!t.e&&(t.e=new Te),t.e).Kc();f.Ob();){s=o(f.Pb(),239),h=(!s.b&&(s.b=new Te),s.b),Kg(0,h.c.length),Q5(h.c,0,t),s.c==h.c.length&&yn(n.c,s);}}}return null;}function tGn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D;for(n.Ug("Interactive crossing minimization",1),s=0,c=new N(e.b);c.a0&&(t+=h.n.a+h.o.a/2,++m),T=new N(h.j);T.a0&&(t/=m),D=ce(Br,Bc,28,i.a.c.length,15,1),f=0,d=new N(i.a);d.a=f&&r<=h){f<=r&&c<=h?i+=2:f<=r?(e.b[i]=h+1,s+=2):c<=h?(t[b++]=r,t[b++]=f-1,i+=2):(t[b++]=r,t[b++]=f-1,e.b[i]=h+1,s+=2);}else if(h2?(b=new Te,yr(b,new A1(D,1,D.b)),c=LZe(b,G+e.a),H=new TK(c),no(H,n),yn(t.c,H)):i?H=o(qn(e.b,yh(n)),272):H=o(qn(e.b,qd(n)),272),h=yh(n),i&&(h=qd(n)),s=nLn(I,h),d=G+e.a,s.a?(d+=p.Math.abs(I.b-m.b),x=new ve(m.a,(m.b+I.b)/2)):(d+=p.Math.abs(I.a-m.a),x=new ve((m.a+I.a)/2,m.b)),i?Jt(e.d,n,new Xre(H,s,x,d)):Jt(e.c,n,new Xre(H,s,x,d)),Jt(e.b,n,H),T=(!n.n&&(n.n=new he(Fc,n,1,7)),n.n),S=new Hn(T);S.e!=S.i.gc();){E=o(Wn(S),135),r=pS(e,E,!0,0,0),yn(t.c,r);}}function iGn(e){var n,t,i,r,c,s,f;if(!e.A.dc()){if(e.A.Hc((Rs(),hT))&&(o(Dc(e.b,(Oe(),Nn)),127).k=!0,o(Dc(e.b,st),127).k=!0,n=e.q!=(Kr(),Lh)&&e.q!=ru,GY(o(Dc(e.b,Kn),127),n),GY(o(Dc(e.b,An),127),n),GY(e.g,n),e.A.Hc(Ow)&&(o(Dc(e.b,Nn),127).j=!0,o(Dc(e.b,st),127).j=!0,o(Dc(e.b,Kn),127).k=!0,o(Dc(e.b,An),127).k=!0,e.g.k=!0)),e.A.Hc(aT)){for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,f=e.B.Hc((ks(),b9)),r=AF(),c=0,s=r.length;c0),o(b.a.Xb(b.c=--b.b),18));c!=i&&b.b>0;){e.a[c.p]=!0,e.a[i.p]=!0,c=(Zn(b.b>0),o(b.a.Xb(b.c=--b.b),18));}b.b>0&&Ls(b);}}}}}function JQe(e,n,t){var i,r,c,s,f,h,d,b,m,E,S;if(!e.b){return!1;}for(s=null,E=null,h=new gB(null,null),r=1,h.a[1]=e.b,m=h;m.a[r];){d=r,f=E,E=m,m=m.a[r],i=e.a.Ne(n,m.d),r=i<0?0:1,i==0&&(!t.c||Po(m.e,t.d))&&(s=m),!(m&&m.b)&&!jg(m.a[r])&&(jg(m.a[1-r])?E=E.a[d]=nI(m,r):jg(m.a[1-r])||(S=E.a[1-d],S&&(!jg(S.a[1-d])&&!jg(S.a[d])?(E.b=!1,S.b=!0,m.b=!0):(c=f.a[1]==E?1:0,jg(S.a[d])?f.a[c]=MBe(E,d):jg(S.a[1-d])&&(f.a[c]=nI(E,d)),m.b=f.a[c].b=!0,f.a[c].a[0].b=!1,f.a[c].a[1].b=!1))));}return s&&(t.b=!0,t.d=s.e,m!=s&&(b=new gB(m.d,m.e),o$n(e,h,s,b),E==s&&(E=b)),E.a[E.a[1]==m?1:0]=m.a[m.a[0]?0:1],--e.c),e.b=h.a[1],e.b&&(e.b.b=!1),t.b;}function oGn(e){var n,t,i,r,c,s,f,h,d,b,m,E;for(r=new N(e.a.a.b);r.a0?r-=864e5:r+=864e5,h=new FZ(lc(No(n.q.getTime()),r))),b=new Sv,d=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(s=c+1;s=d){throw O(new In("Missing trailing '"));}s+1=14&&b<=16))?n.a._b(i)?(t.a?qt(t.a,t.b):t.a=new Ks(t.d),a8(t.a,"[...]")):(f=V0(i),d=new E8(n),Qh(t,ZQe(f,d))):U(i,183)?Qh(t,RLn(o(i,183))):U(i,195)?Qh(t,_An(o(i,195))):U(i,201)?Qh(t,O$n(o(i,201))):U(i,2111)?Qh(t,SAn(o(i,2111))):U(i,53)?Qh(t,DLn(o(i,53))):U(i,376)?Qh(t,nDn(o(i,376))):U(i,846)?Qh(t,LLn(o(i,846))):U(i,109)&&Qh(t,$Ln(o(i,109))):Qh(t,i==null?Au:uo(i));}return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c;}function t6(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,C4(e,null)):(e.F=($n(n),n),i=Aa(n,Ou(60)),i!=-1?(r=(zr(0,i,n.length),n.substr(0,i)),Aa(n,Ou(46))==-1&&!un(r,g3)&&!un(r,c7)&&!un(r,SN)&&!un(r,o7)&&!un(r,u7)&&!un(r,s7)&&!un(r,f7)&&!un(r,l7)&&(r=Oin),t=gx(n,Ou(62)),t!=-1&&(r+=""+(Pn(t+1,n.length+1),n.substr(t+1))),C4(e,r)):(r=n,Aa(n,Ou(46))==-1&&(i=Aa(n,Ou(91)),i!=-1&&(r=(zr(0,i,n.length),n.substr(0,i))),!un(r,g3)&&!un(r,c7)&&!un(r,SN)&&!un(r,o7)&&!un(r,u7)&&!un(r,s7)&&!un(r,f7)&&!un(r,l7)?(r=Oin,i!=-1&&(r+=""+(Pn(i,n.length+1),n.substr(i)))):r=n),C4(e,r),r==n&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&ai(e,new Ar(e,1,5,c,n));}function eZe(e,n){var t,i,r,c,s,f,h,d,b,m;if(h=n.length-1,f=(Pn(h,n.length),n.charCodeAt(h)),f==93){if(s=Aa(n,Ou(91)),s>=0){return r=aIn(e,(zr(1,s,n.length),n.substr(1,s-1))),b=(zr(s+1,h,n.length),n.substr(s+1,h-(s+1))),Dzn(e,b,r);}}else{if(t=-1,zae==null&&(zae=new RegExp("\\d")),zae.test(String.fromCharCode(f))&&(t=ree(n,Ou(46),h-1),t>=0)){i=o(lB(e,HHe(e,(zr(1,t,n.length),n.substr(1,t-1))),!1),61),d=0;try{d=Ys((Pn(t+1,n.length+1),n.substr(t+1)),rc,fi);}catch(E){throw E=Hi(E),U(E,130)?(c=E,O(new AC(c))):O(E);}if(d>16==-10?t=o(e.Cb,292).Yk(n,t):e.Db>>16==-15&&(!n&&(n=(hn(),xa)),!d&&(d=(hn(),xa)),e.Cb.Yh()&&(h=new Zh(e.Cb,1,13,d,n,V1(ms(o(e.Cb,62)),e),!1),t?t.nj(h):t=h));}else if(U(e.Cb,90)){e.Db>>16==-23&&(U(n,90)||(n=(hn(),Zf)),U(d,90)||(d=(hn(),Zf)),e.Cb.Yh()&&(h=new Zh(e.Cb,1,10,d,n,V1(Ho(o(e.Cb,29)),e),!1),t?t.nj(h):t=h));}else if(U(e.Cb,457)){for(f=o(e.Cb,850),s=(!f.b&&(f.b=new dM(new SL)),f.b),c=(i=new Y0(new P0(s.a).a),new wM(i));c.a.b;){r=o(_b(c.a).ld(),89),t=i6(r,rP(r,f),t);}}}return t;}function aGn(e,n){var t,i,r,c,s,f,h,d,b,m,E;for(s=De(Le(be(e,($e(),Ap)))),E=o(be(e,Lp),21),h=!1,d=!1,m=new Hn((!e.c&&(e.c=new he(ws,e,9,9)),e.c));m.e!=m.i.gc()&&(!h||!d);){for(c=o(Wn(m),123),f=0,r=bh(zs(R(L(ef,1),vn,20,0,[(!c.d&&(c.d=new bn(or,c,8,5)),c.d),(!c.e&&(c.e=new bn(or,c,7,4)),c.e)])));wt(r)&&(i=o(it(r),74),b=s&&Pb(i)&&De(Le(be(i,Ew))),t=NQe((!i.b&&(i.b=new bn(ct,i,4,7)),i.b),c)?e==Bi(to(o(z((!i.c&&(i.c=new bn(ct,i,5,8)),i.c),0),84))):e==Bi(to(o(z((!i.b&&(i.b=new bn(ct,i,4,7)),i.b),0),84))),!((b||t)&&(++f,f>1)));){;}(f>0||E.Hc((fs(),m1))&&(!c.n&&(c.n=new he(Fc,c,1,7)),c.n).i>0)&&(h=!0),f>1&&(d=!0);}h&&n.Fc((Cc(),Cf)),d&&n.Fc((Cc(),S7));}function nZe(e){var n,t,i,r,c,s,f,h,d,b,m,E;if(E=o(be(e,(Wt(),Iw)),21),E.dc()){return null;}if(f=0,s=0,E.Hc((Rs(),hT))){for(b=o(be(e,o9),101),i=2,t=2,r=2,c=2,n=Bi(e)?o(be(Bi(e),Cw),88):o(be(e,Cw),88),d=new Hn((!e.c&&(e.c=new he(ws,e,9,9)),e.c));d.e!=d.i.gc();){if(h=o(Wn(d),123),m=o(be(h,zm),64),m==(Oe(),yo)&&(m=gue(h,n),yi(h,zm,m)),b==(Kr(),ru)){switch(m.g){case 1:i=p.Math.max(i,h.i+h.g);break;case 2:t=p.Math.max(t,h.j+h.f);break;case 3:r=p.Math.max(r,h.i+h.g);break;case 4:c=p.Math.max(c,h.j+h.f);}}else {switch(m.g){case 1:i+=h.g+2;break;case 2:t+=h.f+2;break;case 3:r+=h.g+2;break;case 4:c+=h.f+2;}}}f=p.Math.max(i,r),s=p.Math.max(t,c);}return $b(e,f,s,!0,!0);}function oH(e,n,t,i,r){var c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;for(H=o(oo(HC(bi(new rn(null,new ln(n.d,16)),new GTe(t)),new zTe(t)),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),m=fi,b=rc,h=new N(n.b.j);h.a0,d?d&&(E=D.p,s?++E:--E,m=o(Re(D.c.a,E),10),i=jUe(m),S=!(IK(i,pe,t[0])||XLe(i,pe,t[0]))):S=!0),T=!1,ae=n.D.i,ae&&ae.c&&f.e&&(b=s&&ae.p>0||!s&&ae.p=0){for(h=null,f=new Gr(b.a,d+1);f.bs?1:Qw(isNaN(0),isNaN(s)))<0&&(al(eh),(p.Math.abs(s-1)<=eh||s==1||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:Qw(isNaN(s),isNaN(1)))<0)&&(al(eh),(p.Math.abs(0-f)<=eh||f==0||isNaN(0)&&isNaN(f)?0:0f?1:Qw(isNaN(0),isNaN(f)))<0)&&(al(eh),(p.Math.abs(f-1)<=eh||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:Qw(isNaN(f),isNaN(1)))<0)),c);}function pGn(e){var n,t,i,r;if(t=e.D!=null?e.D:e.B,n=Aa(t,Ou(91)),n!=-1){i=(zr(0,n,t.length),t.substr(0,n)),r=new T1;do {r.a+="[";}while((n=Ry(t,91,++n))!=-1);un(i,g3)?r.a+="Z":un(i,c7)?r.a+="B":un(i,SN)?r.a+="C":un(i,o7)?r.a+="D":un(i,u7)?r.a+="F":un(i,s7)?r.a+="I":un(i,f7)?r.a+="J":un(i,l7)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null;}catch(c){if(c=Hi(c),!U(c,63)){throw O(c);}}}else if(Aa(t,Ou(46))==-1){if(un(t,g3)){return Ts;}if(un(t,c7)){return es;}if(un(t,SN)){return Of;}if(un(t,o7)){return Br;}if(un(t,u7)){return e2;}if(un(t,s7)){return vt;}if(un(t,f7)){return E0;}if(un(t,l7)){return Qm;}}return null;}function mGn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne;for(e.e=n,f=mDn(n),pe=new Te,i=new N(f);i.a=0&&x=d.c.c.length?b=tte((On(),cr),$r):b=tte((On(),$r),$r),b*=2,c=t.a.g,t.a.g=p.Math.max(c,c+(b-c)),s=t.b.g,t.b.g=p.Math.max(s,s+(b-s)),r=n;}}}}}function EGn(e){var n,t,i,r;for(tr(bi(new rn(null,new ln(e.a.b,16)),new a5e),new h5e),iAn(e),tr(bi(new rn(null,new ln(e.a.b,16)),new d5e),new w5e),e.c==(r1(),Y3)&&(tr(bi(go(new rn(null,new ln(new I0(e.f),1)),new b5e),new g5e),new RTe(e)),tr(bi(Qc(go(go(new rn(null,new ln(e.d.b,16)),new p5e),new m5e),new v5e),new y5e),new FTe(e))),r=new ve(Fi,Fi),n=new ve(kr,kr),i=new N(e.a.b);i.a0&&(n.a+=gc),SP(o(Wn(f),167),n);}for(n.a+=bq,h=new Ov((!i.c&&(i.c=new bn(ct,i,5,8)),i.c));h.e!=h.i.gc();){h.e>0&&(n.a+=gc),SP(o(Wn(h),167),n);}n.a+=")";}}function _Gn(e,n,t){var i,r,c,s,f,h,d,b;for(h=new Hn((!e.a&&(e.a=new he(ti,e,10,11)),e.a));h.e!=h.i.gc();){for(f=o(Wn(h),27),r=new Un(Vn(s1(f).a.Kc(),new Y));wt(r);){if(i=o(it(r),74),!i.b&&(i.b=new bn(ct,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new bn(ct,i,5,8)),i.c.i<=1))){throw O(new Ev("Graph must not contain hyperedges."));}if(!kk(i)&&f!=to(o(z((!i.c&&(i.c=new bn(ct,i,5,8)),i.c),0),84))){for(d=new i$e,no(d,i),de(d,(Ld(),A3),i),lvn(d,o(Jc(Mc(t.f,f)),153)),dvn(d,o(qn(t,to(o(z((!i.c&&(i.c=new bn(ct,i,5,8)),i.c),0),84))),153)),xe(n.c,d),s=new Hn((!i.n&&(i.n=new he(Fc,i,1,7)),i.n));s.e!=s.i.gc();){c=o(Wn(s),135),b=new cFe(d,c.a),no(b,c),de(b,A3,c),b.e.a=p.Math.max(c.g,1),b.e.b=p.Math.max(c.f,1),kue(b),xe(n.d,b);}}}}}function SGn(e,n,t){var i,r,c,s,f,h,d,b,m,E;switch(t.Ug("Node promotion heuristic",1),e.i=n,e.r=o(M(n,($e(),u0)),243),e.r!=(Ff(),ug)&&e.r!=Bp?JGn(e):_Fn(e),b=o(M(e.i,L0e),17).a,c=new t6e,e.r.g){case 2:case 1:n6(e,c);break;case 3:for(e.r=uA,n6(e,c),h=0,f=new N(e.b);f.ae.k&&(e.r=Lj,n6(e,c));break;case 4:for(e.r=uA,n6(e,c),d=0,r=new N(e.c);r.ae.n&&(e.r=Dj,n6(e,c));break;case 6:E=jr(p.Math.ceil(e.g.length*b/100)),n6(e,new TTe(E));break;case 5:m=jr(p.Math.ceil(e.e*b/100)),n6(e,new MTe(m));break;case 8:BZe(e,!0);break;case 9:BZe(e,!1);break;default:n6(e,c);}e.r!=ug&&e.r!=Bp?VBn(e,n):dKn(e,n),t.Vg();}function jGn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G;for(m=e.b,b=new Gr(m,0),Ag(b,new Wo(e)),H=!1,s=1;b.b0&&(E.d+=b.n.d,E.d+=b.d),E.a>0&&(E.a+=b.n.a,E.a+=b.d),E.b>0&&(E.b+=b.n.b,E.b+=b.d),E.c>0&&(E.c+=b.n.c,E.c+=b.d),E;}function iZe(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T;for(E=t.d,m=t.c,c=new ve(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),s=c.b,d=new N(e.a);d.a0&&(e.c[n.c.p][n.p].d+=ys(e.i,24)*RS*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b);}}function xGn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I;for(T=new N(e);T.ai.d,i.d=p.Math.max(i.d,n),f&&t&&(i.d=p.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=p.Math.max(i.a,n),f&&t&&(i.a=p.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=p.Math.max(i.c,n),f&&t&&(i.c=p.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=p.Math.max(i.b,n),f&&t&&(i.b=p.Math.max(i.b,i.c),i.c=i.b+r);}}}}function cZe(e,n){var t,i,r,c,s,f,h,d,b;return d="",n.length==0?e.ne(Jue,mH,-1,-1):(b=rp(n),un(b.substr(0,3),"at ")&&(b=(Pn(3,b.length+1),b.substr(3))),b=b.replace(/\[.*?\]/g,""),s=b.indexOf("("),s==-1?(s=b.indexOf("@"),s==-1?(d=b,b=""):(d=rp((Pn(s+1,b.length+1),b.substr(s+1))),b=rp((zr(0,s,b.length),b.substr(0,s))))):(t=b.indexOf(")",s),d=(zr(s+1,t,b.length),b.substr(s+1,t-(s+1))),b=rp((zr(0,s,b.length),b.substr(0,s)))),s=Aa(b,Ou(46)),s!=-1&&(b=(Pn(s+1,b.length+1),b.substr(s+1))),(b.length==0||un(b,"Anonymous function"))&&(b=mH),f=gx(d,Ou(58)),r=ree(d,Ou(58),f-1),h=-1,i=-1,c=Jue,f!=-1&&r!=-1&&(c=(zr(0,r,d.length),d.substr(0,r)),h=EAe((zr(r+1,f,d.length),d.substr(r+1,f-(r+1)))),i=EAe((Pn(f+1,d.length+1),d.substr(f+1)))),e.ne(c,b,h,i));}function PGn(e){var n,t,i,r,c,s,f,h,d,b,m;for(d=new N(e);d.a0||b.j==An&&b.e.c.length-b.g.c.length<0)){n=!1;break;}for(r=new N(b.g);r.a=d&&ae>=I&&(E+=T.n.b+x.n.b+x.a.b-X,++f));}}if(t){for(s=new N(H.e);s.a=d&&ae>=I&&(E+=T.n.b+x.n.b+x.a.b-X,++f));}}}f>0&&(pe+=E/f,++S);}S>0?(n.a=r*pe/S,n.g=S):(n.a=0,n.g=0);}function OGn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne;for(c=e.f.b,E=c.a,b=c.b,T=e.e.g,S=e.e.f,S2(e.e,c.a,c.b),pe=E/T,Ne=b/S,d=new Hn(nC(e.e));d.e!=d.i.gc();){h=o(Wn(d),135),vu(h,h.i*pe),yu(h,h.j*Ne);}for(H=new Hn(IR(e.e));H.e!=H.i.gc();){D=o(Wn(H),123),X=D.i,ae=D.j,X>0&&vu(D,X*pe),ae>0&&yu(D,ae*Ne);}for(W8(e.b,new sye),n=new Te,f=new Y0(new P0(e.c).a);f.b;){s=_b(f),i=o(s.ld(),74),t=o(s.md(),407).a,r=J2(i,!1,!1),m=QVe(yh(i),uS(r),t),kS(m,r),G=aWe(i),G&&eo(n,G,0)==-1&&(yn(n.c,G),FDe(G,(Zn(m.b!=0),o(m.a.a.c,8)),t));}for(I=new Y0(new P0(e.d).a);I.b;){x=_b(I),i=o(x.ld(),74),t=o(x.md(),407).a,r=J2(i,!1,!1),m=QVe(qd(i),R_(uS(r)),t),m=R_(m),kS(m,r),G=hWe(i),G&&eo(n,G,0)==-1&&(yn(n.c,G),FDe(G,(Zn(m.b!=0),o(m.c.b.c,8)),t));}}function oZe(e,n,t,i){var r,c,s,f,h;return f=new $ue(n),SBn(f,i),r=!0,e&&e.pf((Wt(),Cw))&&(c=o(e.of((Wt(),Cw)),88),r=c==(br(),ja)||c==Xc||c==ro),cJe(f,!1),mu(f.e.Rf(),new aee(f,!1,r)),qR(f,f.f,(Fl(),Mo),(Oe(),Nn)),qR(f,f.f,xo,st),qR(f,f.g,Mo,An),qR(f,f.g,xo,Kn),Aze(f,Nn),Aze(f,st),DDe(f,Kn),DDe(f,An),Og(),s=f.A.Hc((Rs(),zp))&&f.B.Hc((ks(),wT))?QGe(f):null,s&&O3n(f.a,s),IGn(f),PNn(f),NNn(f),iGn(f),EHn(f),rOn(f),NF(f,Nn),NF(f,st),sKn(f),Yqn(f),t&&(hIn(f),cOn(f),NF(f,Kn),NF(f,An),h=f.B.Hc((ks(),b9)),JWe(f,h,Nn),JWe(f,h,st),QWe(f,h,Kn),QWe(f,h,An),tr(new rn(null,new ln(new Hh(f.i),0)),new P3e),tr(bi(new rn(null,fne(f.r).a.oc()),new N3e),new O3e),vAn(f),f.e.Pf(f.o),tr(new rn(null,fne(f.r).a.oc()),new A3e)),f.o;}function AGn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x;for(d=Fi,i=new N(e.a.b);i.a1){for(S=new jue(T,G,i),Jr(G,new gNe(e,S)),yn(s.c,S),m=G.a.ec().Kc();m.Ob();){b=o(m.Pb(),42),Pu(c,b.b);}}if(f.a.gc()>1){for(S=new jue(T,f,i),Jr(f,new pNe(e,S)),yn(s.c,S),m=f.a.ec().Kc();m.Ob();){b=o(m.Pb(),42),Pu(c,b.b);}}}}function RGn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D;if(x=e.n,I=e.o,E=e.d,m=J(re(Zg(e,($e(),Kz)))),n){for(b=m*(n.gc()-1),S=0,h=n.Kc();h.Ob();){s=o(h.Pb(),10),b+=s.o.a,S=p.Math.max(S,s.o.b);}for(D=x.a-(b-I.a)/2,c=x.b-E.d+S,i=I.a/(n.gc()+1),r=i,f=n.Kc();f.Ob();){s=o(f.Pb(),10),s.n.a=D,s.n.b=c-s.o.b,D+=s.o.a+m,d=bYe(s),d.n.a=s.o.a/2-d.a.a,d.n.b=s.o.b,T=o(M(s,(Ee(),$O)),12),T.e.c.length+T.g.c.length==1&&(T.n.a=r-T.a.a,T.n.b=0,bo(T,e)),r+=i;}}if(t){for(b=m*(t.gc()-1),S=0,h=t.Kc();h.Ob();){s=o(h.Pb(),10),b+=s.o.a,S=p.Math.max(S,s.o.b);}for(D=x.a-(b-I.a)/2,c=x.b+I.b+E.a-S,i=I.a/(t.gc()+1),r=i,f=t.Kc();f.Ob();){s=o(f.Pb(),10),s.n.a=D,s.n.b=c,D+=s.o.a+m,d=bYe(s),d.n.a=s.o.a/2-d.a.a,d.n.b=0,T=o(M(s,(Ee(),$O)),12),T.e.c.length+T.g.c.length==1&&(T.n.a=r-T.a.a,T.n.b=I.b,bo(T,e)),r+=i;}}}function BGn(e,n){var t,i,r,c,s,f;if(o(M(n,(Ee(),iu)),21).Hc((Cc(),Cf))){for(f=new N(n.a);f.a=0&&s0&&(o(Dc(e.b,n),127).a.b=t);}function UGn(e,n,t,i){var r,c,s,f,h,d,b,m,E,S,T,x;if(E=J(re(M(e,($e(),Y6)))),S=J(re(M(e,J6))),m=J(re(M(e,Rp))),f=e.o,c=o(Re(e.j,0),12),s=c.n,x=uLn(c,m),!!x){if(n.Hc((fs(),m1))){switch(o(M(e,(Ee(),Co)),64).g){case 1:x.c=(f.a-x.b)/2-s.a,x.d=S;break;case 3:x.c=(f.a-x.b)/2-s.a,x.d=-S-x.a;break;case 2:t&&c.e.c.length==0&&c.g.c.length==0?(b=i?x.a:o(Re(c.f,0),72).o.b,x.d=(f.b-b)/2-s.b):x.d=f.b+S-s.b,x.c=-E-x.b;break;case 4:t&&c.e.c.length==0&&c.g.c.length==0?(b=i?x.a:o(Re(c.f,0),72).o.b,x.d=(f.b-b)/2-s.b):x.d=f.b+S-s.b,x.c=E;}}else if(n.Hc(b0)){switch(o(M(e,(Ee(),Co)),64).g){case 1:case 3:x.c=s.a+E;break;case 2:case 4:t&&!c.c?(b=i?x.a:o(Re(c.f,0),72).o.b,x.d=(f.b-b)/2-s.b):x.d=s.b+S;}}for(r=x.d,d=new N(c.f);d.a=n.length){return{done:!0};}var r=n[i++];return{value:[r,t.get(r)],done:!1};}};},KFn()||(e.prototype.createObject=function(){return{};},e.prototype.get=function(n){return this.obj[":"+n];},e.prototype.set=function(n,t){this.obj[":"+n]=t;},e.prototype[UH]=function(n){delete this.obj[":"+n];},e.prototype.keys=function(){var n=[];for(var t in this.obj){t.charCodeAt(0)==58&&n.push(t.substring(1));}return n;}),e;}function Mi(){Mi=V,V7=new ki(Mse),new Gi("DEPTH",je(0)),bV=new Gi("FAN",je(0)),Xwe=new Gi(Nnn,je(0)),l0=new Gi("ROOT",(jn(),!1)),mV=new Gi("LEFTNEIGHBOR",null),Pan=new Gi("RIGHTNEIGHBOR",null),wA=new Gi("LEFTSIBLING",null),vV=new Gi("RIGHTSIBLING",null),wV=new Gi("DUMMY",!1),new Gi("LEVEL",je(0)),Qwe=new Gi("REMOVABLE_EDGES",new $i),qj=new Gi("XCOOR",je(0)),Uj=new Gi("YCOOR",je(0)),bA=new Gi("LEVELHEIGHT",0),Vl=new Gi("LEVELMIN",0),kl=new Gi("LEVELMAX",0),gV=new Gi("GRAPH_XMIN",0),pV=new Gi("GRAPH_YMIN",0),Ywe=new Gi("GRAPH_XMAX",0),Jwe=new Gi("GRAPH_YMAX",0),Wwe=new Gi("COMPACT_LEVEL_ASCENSION",!1),dV=new Gi("COMPACT_CONSTRAINTS",new Te),z7=new Gi("ID",""),W7=new Gi("POSITION",je(0)),od=new Gi("PRELIM",0),t5=new Gi("MODIFIER",0),n5=new ki(Uen),Hj=new ki(Gen);}function WGn(e){bue();var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I;if(e==null){return null;}if(m=e.length*8,m==0){return"";}for(f=m%24,S=m/24|0,E=f!=0?S+1:S,c=null,c=ce(Of,Wa,28,E*4,15,1),d=0,b=0,n=0,t=0,i=0,s=0,r=0,h=0;h>24,d=(n&3)<<24>>24,T=n&-128?(n>>2^192)<<24>>24:n>>2<<24>>24,x=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,I=i&-128?(i>>6^252)<<24>>24:i>>6<<24>>24,c[s++]=bd[T],c[s++]=bd[x|d<<4],c[s++]=bd[b<<2|I],c[s++]=bd[i&63];}return f==8?(n=e[r],d=(n&3)<<24>>24,T=n&-128?(n>>2^192)<<24>>24:n>>2<<24>>24,c[s++]=bd[T],c[s++]=bd[d<<4],c[s++]=61,c[s++]=61):f==16&&(n=e[r],t=e[r+1],b=(t&15)<<24>>24,d=(n&3)<<24>>24,T=n&-128?(n>>2^192)<<24>>24:n>>2<<24>>24,x=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,c[s++]=bd[T],c[s++]=bd[x|d<<4],c[s++]=bd[b<<2],c[s++]=61),Ha(c,0,c.length);}function XGn(e,n){var t,i,r,c,s,f,h;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>rc&&nte(n,e.p-Xd),s=n.q.getDate(),c_(n,1),e.k>=0&&DEn(n,e.k),e.c>=0?c_(n,e.c):e.k>=0?(h=new Pie(n.q.getFullYear()-Xd,n.q.getMonth(),35),i=35-h.q.getDate(),c_(n,p.Math.min(i,s))):c_(n,s),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),x4n(n,e.f==24&&e.g?0:e.f),e.j>=0&&vjn(n,e.j),e.n>=0&&Pjn(n,e.n),e.i>=0&&bOe(n,lc(ac(iS(No(n.q.getTime()),J1),J1),e.i)),e.a&&(r=new CM,nte(r,r.q.getFullYear()-Xd-80),zL(No(n.q.getTime()),No(r.q.getTime()))&&nte(n,r.q.getFullYear()-Xd+100)),e.d>=0){if(e.c==-1){t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),f=n.q.getMonth(),c_(n,n.q.getDate()+t),n.q.getMonth()!=f&&c_(n,n.q.getDate()+(t>0?-7:7));}else if(n.q.getDay()!=e.d){return!1;}}return e.o>rc&&(c=n.q.getTimezoneOffset(),bOe(n,lc(No(n.q.getTime()),(e.o-c)*60*J1))),!0;}function aZe(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;if(r=M(n,(Ee(),mi)),!!U(r,207)){for(T=o(r,27),x=n.e,E=new wc(n.c),c=n.d,E.a+=c.b,E.b+=c.d,X=o(be(T,($e(),ZO)),181),Uu(X,(ks(),KA))&&(S=o(be(T,K0e),107),rvn(S,c.a),hvn(S,c.d),cvn(S,c.b),avn(S,c.c)),t=new Te,b=new N(n.a);b.ai.c.length-1;){xe(i,new Sr(um,rle));}t=o(M(r,oh),17).a,Gh(o(M(e,fg),88))?(r.e.aJ(re((wn(t,i.c.length),o(i.c[t],42)).b))&&lL((wn(t,i.c.length),o(i.c[t],42)),r.e.a+r.f.a)):(r.e.bJ(re((wn(t,i.c.length),o(i.c[t],42)).b))&&lL((wn(t,i.c.length),o(i.c[t],42)),r.e.b+r.f.b));}for(c=dt(e.b,0);c.b!=c.d.c;){r=o(at(c),40),t=o(M(r,(So(),oh)),17).a,de(r,(Mi(),Vl),re((wn(t,i.c.length),o(i.c[t],42)).a)),de(r,kl,re((wn(t,i.c.length),o(i.c[t],42)).b));}n.Vg();}function JGn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x;for(e.o=J(re(M(e.i,($e(),og)))),e.f=J(re(M(e.i,Tw))),e.j=e.i.b.c.length,f=e.j-1,E=0,e.k=0,e.n=0,e.b=oa(ce(Zr,_e,17,e.j,0,1)),e.c=oa(ce(mr,_e,345,e.j,7,1)),s=new N(e.i.b);s.a0&&xe(e.q,b),xe(e.p,b);}n-=i,S=h+n,d+=n*e.f,bf(e.b,f,je(S)),bf(e.c,f,d),e.k=p.Math.max(e.k,S),e.n=p.Math.max(e.n,d),e.e+=n,n+=x;}}function Oe(){Oe=V;var e;yo=new CE(Kk,0),Nn=new CE(AP,1),Kn=new CE(eq,2),st=new CE(nq,3),An=new CE(tq,4),Ma=(dn(),new My((e=o(Nl(Ec),9),new af(e,o(ul(e,e.length),9),0)))),Tl=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[]))),Pf=K1(Pi(Kn,R(L(Ec,1),Ro,64,0,[]))),rf=K1(Pi(st,R(L(Ec,1),Ro,64,0,[]))),Xf=K1(Pi(An,R(L(Ec,1),Ro,64,0,[]))),Lu=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[st]))),Tu=K1(Pi(Kn,R(L(Ec,1),Ro,64,0,[An]))),Ml=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[An]))),hs=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[Kn]))),cf=K1(Pi(st,R(L(Ec,1),Ro,64,0,[An]))),Nf=K1(Pi(Kn,R(L(Ec,1),Ro,64,0,[st]))),ds=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[Kn,An]))),$u=K1(Pi(Kn,R(L(Ec,1),Ro,64,0,[st,An]))),Du=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[st,An]))),Zu=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[Kn,st]))),cu=K1(Pi(Nn,R(L(Ec,1),Ro,64,0,[Kn,st,An])));}function QGn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne;for(n.Ug(ann,1),x=new Te,pe=new Te,d=new N(e.b);d.a0&&(G-=S),Tue(s,G),b=0,E=new N(s.a);E.a0),f.a.Xb(f.c=--f.b)),h=.4*i*b,!c&&f.b0&&(h=(Pn(0,n.length),n.charCodeAt(0)),h!=64)){if(h==37&&(m=n.lastIndexOf("%"),d=!1,m!=0&&(m==E-1||(d=(Pn(m+1,n.length),n.charCodeAt(m+1)==46))))){if(s=(zr(1,m,n.length),n.substr(1,m-1)),G=un("%",s)?null:Due(s),i=0,d){try{i=Ys((Pn(m+2,n.length+1),n.substr(m+2)),rc,fi);}catch(X){throw X=Hi(X),U(X,130)?(f=X,O(new AC(f))):O(X);}}for(I=lie(e.Gh());I.Ob();){if(T=sI(I),U(T,519)&&(r=o(T,598),H=r.d,(G==null?H==null:un(G,H))&&i--==0)){return r;}}return null;}if(b=n.lastIndexOf("."),S=b==-1?n:(zr(0,b,n.length),n.substr(0,b)),t=0,b!=-1){try{t=Ys((Pn(b+1,n.length+1),n.substr(b+1)),rc,fi);}catch(X){if(X=Hi(X),U(X,130)){S=n;}else {throw O(X);}}}for(S=un("%",S)?null:Due(S),x=lie(e.Gh());x.Ob();){if(T=sI(x),U(T,197)&&(c=o(T,197),D=c.xe(),(S==null?D==null:un(S,D))&&t--==0)){return c;}}return null;}return eZe(e,n);}function ozn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H;for(b=new lt,h=new wb,i=new N(e.a.a.b);i.an.d.c){if(S=e.c[n.a.d],I=e.c[m.a.d],S==I){continue;}wl(rl(il(cl(tl(new Af,1),100),S),I));}}}}}}}}function uzn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe;if(E=o(o(pi(e.r,n),21),87),n==(Oe(),Kn)||n==An){sZe(e,n);return;}for(c=n==Nn?(Sb(),aj):(Sb(),hj),X=n==Nn?(Nu(),Gl):(Nu(),ml),t=o(Dc(e.b,n),127),i=t.i,r=i.c+L2(R(L(Br,1),Bc,28,15,[t.n.b,e.C.b,e.k])),D=i.c+i.b-L2(R(L(Br,1),Bc,28,15,[t.n.c,e.C.c,e.k])),s=JJ(dee(c),e.t),H=n==Nn?kr:Fi,m=E.Kc();m.Ob();){d=o(m.Pb(),117),!(!d.c||d.c.d.c.length<=0)&&(I=d.b.Mf(),x=d.e,S=d.c,T=S.i,T.b=(h=S.n,S.e.a+h.b+h.c),T.a=(f=S.n,S.e.b+f.d+f.a),n_(X,dse),S.f=X,Rl(S,(us(),pl)),T.c=x.a-(T.b-I.a)/2,ae=p.Math.min(r,x.a),pe=p.Math.max(D,x.a+I.a),T.cpe&&(T.c=pe-T.b),xe(s.d,new aR(T,rre(s,T))),H=n==Nn?p.Math.max(H,x.b+d.b.Mf().b):p.Math.min(H,x.b));}for(H+=n==Nn?e.t:-e.t,G=_re((s.e=H,s)),G>0&&(o(Dc(e.b,n),127).a.b=G),b=E.Kc();b.Ob();){d=o(b.Pb(),117),!(!d.c||d.c.d.c.length<=0)&&(T=d.c.i,T.c-=d.e.a,T.d-=d.e.b);}}function szn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S;for(n=new lt,h=new Hn(e);h.e!=h.i.gc();){for(f=o(Wn(h),27),t=new lr,Jt(IG,f,t),S=new iye,r=o(oo(new rn(null,new ub(new Un(Vn(dS(f).a.Kc(),new Y)))),PLe(S,os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)])))),85),aqe(t,o(r.xc((jn(),!0)),16),new rye),i=o(oo(bi(o(r.xc(!1),15).Lc(),new cye),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo]))),15),s=i.Kc();s.Ob();){c=o(s.Pb(),74),E=aWe(c),E&&(d=o(Jc(Mc(n.f,E)),21),d||(d=AYe(E),hu(n.f,E,d)),Vr(t,d));}for(r=o(oo(new rn(null,new ub(new Un(Vn(s1(f).a.Kc(),new Y)))),PLe(S,os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo])))),85),aqe(t,o(r.xc(!0),16),new oye),i=o(oo(bi(o(r.xc(!1),15).Lc(),new uye),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo]))),15),m=i.Kc();m.Ob();){b=o(m.Pb(),74),E=hWe(b),E&&(d=o(Jc(Mc(n.f,E)),21),d||(d=AYe(E),hu(n.f,E,d)),Vr(t,d));}}}function fzn(e,n){YK();var t,i,r,c,s,f,h,d,b,m,E,S,T,x;if(h=Lo(e,0)<0,h&&(e=R1(e)),Lo(e,0)==0){switch(n){case 0:return"0";case 1:return f6;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 S=new Ed,n<0?S.a+="0E+":S.a+="0E",S.a+=n==rc?"2147483648":""+-n,S.a;}}b=18,m=ce(Of,Wa,28,b+1,15,1),t=b,x=e;do {d=x,x=iS(x,10),m[--t]=Mt(lc(48,Rf(d,ac(x,10))))&gr;}while(Lo(x,0)!=0);if(r=Rf(Rf(Rf(b,t),n),1),n==0){return h&&(m[--t]=45),Ha(m,t,b-t);}if(n>0&&Lo(r,-6)>=0){if(Lo(r,0)>=0){for(c=t+Mt(r),f=b-1;f>=c;f--){m[f+1]=m[f];}return m[++c]=46,h&&(m[--t]=45),Ha(m,t,b-t+1);}for(s=2;zL(s,lc(R1(r),1));s++){m[--t]=48;}return m[--t]=46,m[--t]=48,h&&(m[--t]=45),Ha(m,t,b-t);}return T=t+1,i=b,E=new Sv,h&&(E.a+="-"),i-T>=1?(F0(E,m[t]),E.a+=".",E.a+=Ha(m,t+1,b-t-1)):E.a+=Ha(m,t,b-t),E.a+="E",Lo(r,0)>0&&(E.a+="+"),E.a+=""+T8(r),E.a;}function $b(e,n,t,i,r){var c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe;if(I=new ve(e.g,e.f),x=Zce(e),x.a=p.Math.max(x.a,n),x.b=p.Math.max(x.b,t),pe=x.a/I.a,b=x.b/I.b,X=x.a-I.a,h=x.b-I.b,i){for(s=Bi(e)?o(be(Bi(e),(Wt(),Cw)),88):o(be(e,(Wt(),Cw)),88),f=Z(be(e,(Wt(),o9)))===Z((Kr(),ru)),H=new Hn((!e.c&&(e.c=new he(ws,e,9,9)),e.c));H.e!=H.i.gc();){switch(D=o(Wn(H),123),G=o(be(D,zm),64),G==(Oe(),yo)&&(G=gue(D,s),yi(D,zm,G)),G.g){case 1:f||vu(D,D.i*pe);break;case 2:vu(D,D.i+X),f||yu(D,D.j*b);break;case 3:f||vu(D,D.i*pe),yu(D,D.j+h);break;case 4:f||yu(D,D.j*b);}}}if(S2(e,x.a,x.b),r){for(E=new Hn((!e.n&&(e.n=new he(Fc,e,1,7)),e.n));E.e!=E.i.gc();){m=o(Wn(E),135),S=m.i+m.g/2,T=m.j+m.f/2,ae=S/I.a,d=T/I.b,ae+d>=1&&(ae-d>0&&T>=0?(vu(m,m.i+X),yu(m,m.j+h*d)):ae-d<0&&S>=0&&(vu(m,m.i+X*ae),yu(m,m.j+h)));}}return yi(e,(Wt(),Iw),(Rs(),c=o(Nl(w9),9),new af(c,o(ul(c,c.length),9),0))),new ve(pe,b);}function bZe(e){Ww(e,new rw(_M(Gw(Hw(Uw(qw(new M0,jf),"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 h7e),jf))),Se(e,jf,cN,Ae(Mhn)),Se(e,jf,gp,Ae(xhn)),Se(e,jf,sm,Ae(_hn)),Se(e,jf,T3,Ae(Shn)),Se(e,jf,j3,Ae(jhn)),Se(e,jf,g6,Ae(Ehn)),Se(e,jf,Gk,Ae(Mbe)),Se(e,jf,p6,Ae(Thn)),Se(e,jf,cU,Ae(NV)),Se(e,jf,rU,Ae(OV)),Se(e,jf,hN,Ae(Cbe)),Se(e,jf,oU,Ae(AV)),Se(e,jf,uU,Ae(Ibe)),Se(e,jf,_le,Ae(Pbe)),Se(e,jf,Ele,Ae(xbe)),Se(e,jf,mle,Ae(yA)),Se(e,jf,vle,Ae(kA)),Se(e,jf,yle,Ae(Gj)),Se(e,jf,kle,Ae(Nbe)),Se(e,jf,ple,Ae(Tbe));}function jP(e){var n,t,i,r,c,s,f,h,d,b,m;if(e==null){throw O(new Oa(Au));}if(d=e,c=e.length,h=!1,c>0&&(n=(Pn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Pn(1,e.length+1),e.substr(1)),--c,h=n==45)),c==0){throw O(new Oa(Rb+d+'"'));}for(;e.length>0&&(Pn(0,e.length),e.charCodeAt(0)==48);){e=(Pn(1,e.length+1),e.substr(1)),--c;}if(c>(zJe(),Arn)[10]){throw O(new Oa(Rb+d+'"'));}for(r=0;r0&&(m=-parseInt((zr(0,i,e.length),e.substr(0,i)),10),e=(Pn(i,e.length+1),e.substr(i)),c-=i,t=!1);c>=s;){if(i=parseInt((zr(0,s,e.length),e.substr(0,s)),10),e=(Pn(s,e.length+1),e.substr(s)),c-=s,t){t=!1;}else{if(Lo(m,f)<0){throw O(new Oa(Rb+d+'"'));}m=ac(m,b);}m=Rf(m,i);}if(Lo(m,0)>0){throw O(new Oa(Rb+d+'"'));}if(!h&&(m=R1(m),Lo(m,0)<0)){throw O(new Oa(Rb+d+'"'));}return m;}function Due(e){tH();var n,t,i,r,c,s,f,h;if(e==null){return null;}if(r=Aa(e,Ou(37)),r<0){return e;}for(h=new Ks((zr(0,r,e.length),e.substr(0,r))),n=ce(es,hm,28,4,15,1),f=0,i=0,s=e.length;rr+2&&JB((Pn(r+1,e.length),e.charCodeAt(r+1)),b2e,g2e)&&JB((Pn(r+2,e.length),e.charCodeAt(r+2)),b2e,g2e)){if(t=Ikn((Pn(r+1,e.length),e.charCodeAt(r+1)),(Pn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[f++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[f++]=t<<24>>24,i=2):(t&240)==224?(n[f++]=t<<24>>24,i=3):(t&248)==240&&(n[f++]=t<<24>>24,i=4)),i>0){if(f==i){switch(f){case 2:{F0(h,((n[0]&31)<<6|n[1]&63)&gr);break;}case 3:{F0(h,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&gr);break;}}f=0,i=0;}}else{for(c=0;c=2){if((!e.a&&(e.a=new he(Li,e,6,6)),e.a).i==0){t=(Sd(),r=new nM,r),pt((!e.a&&(e.a=new he(Li,e,6,6)),e.a),t);}else if((!e.a&&(e.a=new he(Li,e,6,6)),e.a).i>1){for(E=new Ov((!e.a&&(e.a=new he(Li,e,6,6)),e.a));E.e!=E.i.gc();){gk(E);}}kS(n,o(z((!e.a&&(e.a=new he(Li,e,6,6)),e.a),0),166));}if(m){for(i=new Hn((!e.a&&(e.a=new he(Li,e,6,6)),e.a));i.e!=i.i.gc();){for(t=o(Wn(i),166),d=new Hn((!t.a&&(t.a=new hr(of,t,5)),t.a));d.e!=d.i.gc();){h=o(Wn(d),377),f.a=p.Math.max(f.a,h.a),f.b=p.Math.max(f.b,h.b);}}}for(s=new Hn((!e.n&&(e.n=new he(Fc,e,1,7)),e.n));s.e!=s.i.gc();){c=o(Wn(s),135),b=o(be(c,s9),8),b&&ff(c,b.a,b.b),m&&(f.a=p.Math.max(f.a,c.i+c.g),f.b=p.Math.max(f.b,c.j+c.f));}return f;}function pZe(e,n,t,i,r){var c,s,f;if(mHe(e,n),s=n[0],c=tc(t.c,0),f=-1,Aie(t)){if(i>0){if(s+i>e.length){return!1;}f=eP((zr(0,s+i,e.length),e.substr(0,s+i)),n);}else {f=eP(e,n);}}switch(c){case 71:return f=W2(e,s,R(L(Be,1),_e,2,6,[ten,ien]),n),r.e=f,!0;case 77:return jFn(e,n,r,f,s);case 76:return TFn(e,n,r,f,s);case 69:return pLn(e,n,s,r);case 99:return mLn(e,n,s,r);case 97:return f=W2(e,s,R(L(Be,1),_e,2,6,["AM","PM"]),n),r.b=f,!0;case 121:return MFn(e,n,s,f,t,r);case 100:return f<=0?!1:(r.c=f,!0);case 83:return f<0?!1:OIn(f,s,n[0],r);case 104:f==12&&(f=0);case 75:case 72:return f<0?!1:(r.f=f,r.g=!1,!0);case 107:return f<0?!1:(r.f=f,r.g=!0,!0);case 109:return f<0?!1:(r.j=f,!0);case 115:return f<0?!1:(r.n=f,!0);case 90:if(sZe[h]&&(I=h),m=new N(e.a.b);m.a1;){if(r=mBn(n),m=c.g,T=o(be(n,J7),107),x=J(re(be(n,jA))),(!n.a&&(n.a=new he(ti,n,10,11)),n.a).i>1&&J(re(be(n,(kh(),HV))))!=Fi&&(c.c+(T.b+T.c))/(c.b+(T.d+T.a))1&&J(re(be(n,(kh(),KV))))!=Fi&&(c.c+(T.b+T.c))/(c.b+(T.d+T.a))>x&&yi(r,(kh(),Hp),p.Math.max(J(re(be(n,Y7))),J(re(be(r,Hp)))-J(re(be(n,KV))))),S=new UQ(i,b),h=DZe(S,r,E),d=h.g,d>=m&&d==d){for(s=0;s<(!r.a&&(r.a=new he(ti,r,10,11)),r.a).i;s++){lXe(e,o(z((!r.a&&(r.a=new he(ti,r,10,11)),r.a),s),27),o(z((!n.a&&(n.a=new he(ti,n,10,11)),n.a),s),27));}UHe(n,S),EEn(c,h.c),kEn(c,h.b);}--f;}yi(n,(kh(),i5),c.b),yi(n,U3,c.c),t.Vg();}function dzn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H;for(n.Ug("Interactive node layering",1),t=new Te,E=new N(e.a);E.a=f){Zn(H.b>0),H.a.Xb(H.c=--H.b);break;}else {I.a>h&&(i?(yr(i.b,I.b),i.a=p.Math.max(i.a,I.a),Ls(H)):(xe(I.b,b),I.c=p.Math.min(I.c,h),I.a=p.Math.max(I.a,f),i=I));}}i||(i=new hCe,i.c=h,i.a=f,Ag(H,i),xe(i.b,b));}for(s=e.b,d=0,D=new N(t);D.aS&&(c&&(dc(pe,E),dc(Ze,je(d.b-1))),ci=t.b,zi+=E+n,E=0,b=p.Math.max(b,t.b+t.c+Xn)),vu(f,ci),yu(f,zi),b=p.Math.max(b,ci+Xn+t.c),E=p.Math.max(E,m),ci+=Xn+n;}if(b=p.Math.max(b,i),En=zi+E+t.a,EnJa,Je=p.Math.abs(E.b-T.b)>Ja,(!t&&Ze&&Je||t&&(Ze||Je))&&Kt(I.a,X)),Vr(I.a,i),i.b==0?E=X:E=(Zn(i.b!=0),o(i.c.b.c,8)),ZMn(S,m,x),qqe(r)==Ne&&(Yr(Ne.i)!=r.a&&(x=new Hr,Xce(x,Yr(Ne.i),H)),de(I,Cz,x)),$$n(S,I,H),b.a.zc(S,b);}fc(I,ae),Fr(I,Ne);}for(d=b.a.ec().Kc();d.Ob();){h=o(d.Pb(),18),fc(h,null),Fr(h,null);}n.Vg();}function gzn(e,n){var t,i,r,c,s,f,h,d,b,m,E;for(r=o(M(e,(So(),fg)),88),b=r==(br(),Xc)||r==ro?Sa:ro,t=o(oo(bi(new rn(null,new ln(e.b,16)),new mke),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),h=o(oo(Qc(t.Oc(),new OMe(n)),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo]))),15),h.Gc(o(oo(Qc(t.Oc(),new AMe(n)),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo]))),16)),h.jd(new $Me(b)),E=new x1(new LMe(r)),i=new lt,f=h.Kc();f.Ob();){s=o(f.Pb(),240),d=o(s.a,40),De(Le(s.c))?(E.a.zc(d,(jn(),n0))==null,new ky(E.a.Zc(d,!1)).a.gc()>0&&Jt(i,d,o(new ky(E.a.Zc(d,!1)).a.Vc(),40)),new ky(E.a.ad(d,!0)).a.gc()>1&&Jt(i,VGe(E,d),d)):(new ky(E.a.Zc(d,!1)).a.gc()>0&&(c=o(new ky(E.a.Zc(d,!1)).a.Vc(),40),Z(c)===Z(Jc(Mc(i.f,d)))&&o(M(d,(Mi(),dV)),15).Fc(c)),new ky(E.a.ad(d,!0)).a.gc()>1&&(m=VGe(E,d),Z(Jc(Mc(i.f,m)))===Z(d)&&o(M(m,(Mi(),dV)),15).Fc(d)),E.a.Bc(d)!=null);}}function mZe(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;if(e.gc()==1){return o(e.Xb(0),235);}if(e.gc()<=0){return new jC;}for(r=e.Kc();r.Ob();){for(t=o(r.Pb(),235),T=0,b=fi,m=fi,h=rc,d=rc,S=new N(t.e);S.af&&(G=0,X+=s+D,s=0),HKn(x,t,G,X),n=p.Math.max(n,G+I.a),s=p.Math.max(s,I.b),G+=I.a+D;}return x;}function pzn(e){bue();var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I;if(e==null||(c=LC(e),T=GCn(c),T%4!=0)){return null;}if(x=T/4|0,x==0){return ce(es,hm,28,0,15,1);}for(m=null,n=0,t=0,i=0,r=0,s=0,f=0,h=0,d=0,S=0,E=0,b=0,m=ce(es,hm,28,x*3,15,1);S>4)<<24>>24,m[E++]=((t&15)<<4|i>>2&15)<<24>>24,m[E++]=(i<<6|r)<<24>>24;}return!lE(s=c[b++])||!lE(f=c[b++])?null:(n=Ca[s],t=Ca[f],h=c[b++],d=c[b++],Ca[h]==-1||Ca[d]==-1?h==61&&d==61?t&15?null:(I=ce(es,hm,28,S*3+1,15,1),Uo(m,0,I,0,S*3),I[E]=(n<<2|t>>4)<<24>>24,I):h!=61&&d==61?(i=Ca[h],i&3?null:(I=ce(es,hm,28,S*3+2,15,1),Uo(m,0,I,0,S*3),I[E++]=(n<<2|t>>4)<<24>>24,I[E]=((t&15)<<4|i>>2&15)<<24>>24,I)):null:(i=Ca[h],r=Ca[d],m[E++]=(n<<2|t>>4)<<24>>24,m[E++]=((t&15)<<4|i>>2&15)<<24>>24,m[E++]=(i<<6|r)<<24>>24,m));}function mzn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae;for(n.Ug(ann,1),T=o(M(e,($e(),g1)),223),r=new N(e.b);r.a=2){for(x=!0,E=new N(c.j),t=o(P(E),12),S=null;E.a0){if(i=m.gc(),d=jr(p.Math.floor((i+1)/2))-1,r=jr(p.Math.ceil((i+1)/2))-1,n.o==Ea){for(b=r;b>=d;b--){n.a[X.p]==X&&(x=o(m.Xb(b),42),T=o(x.a,10),!Ol(t,x.b)&&S>e.b.e[T.p]&&(n.a[T.p]=X,n.g[X.p]=n.g[T.p],n.a[X.p]=n.g[X.p],n.f[n.g[X.p].p]=(jn(),!!(De(n.f[n.g[X.p].p])&X.k==(On(),$r))),S=e.b.e[T.p]));}}else {for(b=d;b<=r;b++){n.a[X.p]==X&&(D=o(m.Xb(b),42),I=o(D.a,10),!Ol(t,D.b)&&S0&&(r=o(Re(I.c.a,pe-1),10),s=e.i[r.p],Ze=p.Math.ceil(T2(e.n,r,I)),c=ae.a.e-I.d.d-(s.a.e+r.o.b+r.d.a)-Ze),d=Fi,pe0&&Ne.a.e.e-Ne.a.a-(Ne.b.e.e-Ne.b.a)<0,T=G.a.e.e-G.a.a-(G.b.e.e-G.b.a)<0&&Ne.a.e.e-Ne.a.a-(Ne.b.e.e-Ne.b.a)>0,S=G.a.e.e+G.b.aNe.b.e.e+Ne.a.a,X=0,!x&&!T&&(E?c+m>0?X=m:d-i>0&&(X=i):S&&(c+f>0?X=f:d-H>0&&(X=H))),ae.a.e+=X,ae.b&&(ae.d.e+=X),!1));}function yZe(e,n,t){var i,r,c,s,f,h,d,b,m,E;if(i=new hf(n.Lf().a,n.Lf().b,n.Mf().a,n.Mf().b),r=new Pv,e.c){for(s=new N(n.Rf());s.ad&&(i.a+=WOe(ce(Of,Wa,28,-d,15,1))),i.a+="Is",Aa(h,Ou(32))>=0){for(r=0;r=i.o.b/2;}else {H=!m;}H?(D=o(M(i,(Ee(),H3)),15),D?E?c=D:(r=o(M(i,D3),15),r?D.gc()<=r.gc()?c=D:c=r:(c=new Te,de(i,D3,c))):(c=new Te,de(i,H3,c))):(r=o(M(i,(Ee(),D3)),15),r?m?c=r:(D=o(M(i,H3),15),D?r.gc()<=D.gc()?c=r:c=D:(c=new Te,de(i,H3,c))):(c=new Te,de(i,D3,c))),c.Fc(e),de(e,(Ee(),$O),t),n.d==t?(Fr(n,null),t.e.c.length+t.g.c.length==0&&bo(t,null),Lxn(t)):(fc(n,null),t.e.c.length+t.g.c.length==0&&bo(t,null)),Hs(n.a);}function Ezn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn,ci,zi;for(t.Ug("MinWidth layering",1),S=n.b,Ne=n.a,zi=o(M(n,($e(),A0e)),17).a,f=o(M(n,$0e),17).a,e.b=J(re(M(n,yl))),e.d=Fi,X=new N(Ne);X.a0?(d=0,I&&(d+=f),d+=(Je-1)*s,G&&(d+=f),Ze&&G&&(d=p.Math.max(d,HBn(G,s,H,Ne))),d=e.a&&(i=rqn(e,H),b=p.Math.max(b,i.b),X=p.Math.max(X,i.d),xe(f,new Sr(H,i)));}for(Ze=new Te,d=0;d0),I.a.Xb(I.c=--I.b),Je=new Wo(e.b),Ag(I,Je),Zn(I.b0){for(E=b<100?null:new _d(b),d=new pie(n),T=d.g,D=ce(vt,Gt,28,b,15,1),i=0,X=new mb(b),r=0;r=0;){if(S!=null?hi(S,T[h]):Z(S)===Z(T[h])){D.length<=i&&(I=D,D=ce(vt,Gt,28,2*D.length,15,1),Uo(I,0,D,0,i)),D[i++]=r,pt(X,T[h]);break e;}}if(S=S,Z(S)===Z(f)){break;}}}if(d=X,T=X.g,b=i,i>D.length&&(I=D,D=ce(vt,Gt,28,i,15,1),Uo(I,0,D,0,i)),i>0){for(G=!0,c=0;c=0;){f3(e,D[s]);}if(i!=b){for(r=b;--r>=i;){f3(d,r);}I=D,D=ce(vt,Gt,28,i,15,1),Uo(I,0,D,0,i);}n=d;}}}else {for(n=BNn(e,n),r=e.i;--r>=0;){n.Hc(e.g[r])&&(f3(e,r),G=!0);}}if(G){if(D!=null){for(t=n.gc(),m=t==1?A8(e,4,n.Kc().Pb(),null,D[0],x):A8(e,6,n,D,D[0],x),E=t<100?null:new _d(t),r=n.Kc();r.Ob();){S=r.Pb(),E=oee(e,o(S,76),E);}E?(E.nj(m),E.oj()):ai(e.e,m);}else{for(E=G6n(n.gc()),r=n.Kc();r.Ob();){S=r.Pb(),E=oee(e,o(S,76),E);}E&&E.oj();}return!0;}else {return!1;}}function jzn(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G;for(t=new Bze(n),t.a||ZKn(n),d=JFn(n),h=new wb,I=new KYe,x=new N(n.a);x.a0||t.o==Ea&&r=t;}function Mzn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn;for(G=n,H=new wb,X=new wb,b=pb(G,cae),i=new WDe(e,t,H,X),V$n(i.a,i.b,i.c,i.d,b),h=(Ne=H.i,Ne||(H.i=new C2(H,H.c))),Je=h.Kc();Je.Ob();){for(Ze=o(Je.Pb(),166),r=o(pi(H,Ze),21),x=r.Kc();x.Ob();){if(T=x.Pb(),ae=o(D2(e.d,T),166),ae){f=(!Ze.e&&(Ze.e=new bn(Li,Ze,10,9)),Ze.e),pt(f,ae);}else {throw s=Xh(G,nh),E=Rtn+T+Btn+s,S=E+T6,O(new Na(S));}}}for(d=(pe=X.i,pe||(X.i=new C2(X,X.c))),En=d.Kc();En.Ob();){for(kn=o(En.Pb(),166),c=o(pi(X,kn),21),D=c.Kc();D.Ob();){if(I=D.Pb(),ae=o(D2(e.d,I),166),ae){m=(!kn.g&&(kn.g=new bn(Li,kn,9,10)),kn.g),pt(m,ae);}else {throw s=Xh(G,nh),E=Rtn+I+Btn+s,S=E+T6,O(new Na(S));}}}!t.b&&(t.b=new bn(ct,t,4,7)),t.b.i!=0&&(!t.c&&(t.c=new bn(ct,t,5,8)),t.c.i!=0)&&(!t.b&&(t.b=new bn(ct,t,4,7)),t.b.i<=1&&(!t.c&&(t.c=new bn(ct,t,5,8)),t.c.i<=1))&&(!t.a&&(t.a=new he(Li,t,6,6)),t.a).i==1&&(Xn=o(z((!t.a&&(t.a=new he(Li,t,6,6)),t.a),0),166),!FF(Xn)&&!KF(Xn)&&(JC(Xn,o(z((!t.b&&(t.b=new bn(ct,t,4,7)),t.b),0),84)),QC(Xn,o(z((!t.c&&(t.c=new bn(ct,t,5,8)),t.c),0),84))));}function xzn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn;for(G=e.a,X=0,ae=G.length;X0?(m=o(Re(E.c.a,s-1),10),Ze=T2(e.b,E,m),I=E.n.b-E.d.d-(m.n.b+m.o.b+m.d.a+Ze)):I=E.n.b-E.d.d,d=p.Math.min(I,d),s1&&(s=p.Math.min(s,p.Math.abs(o(_f(f.a,1),8).b-b.b)))));}}}else {for(x=new N(n.j);x.ar&&(c=E.a-r,s=fi,i.c.length=0,r=E.a),E.a>=r&&(yn(i.c,f),f.a.b>1&&(s=p.Math.min(s,p.Math.abs(o(_f(f.a,f.a.b-2),8).b-E.b)))));}}}if(i.c.length!=0&&c>n.o.a/2&&s>n.o.b/2){for(S=new qo,bo(S,n),Tr(S,(Oe(),Nn)),S.n.a=n.o.a/2,D=new qo,bo(D,n),Tr(D,st),D.n.a=n.o.a/2,D.n.b=n.o.b,h=new N(i);h.a=d.b?fc(f,D):fc(f,S)):(d=o(vkn(f.a),8),I=f.a.b==0?ca(f.c):o(ol(f.a),8),I.b>=d.b?Fr(f,D):Fr(f,S)),m=o(M(f,($e(),Wc)),75),m&&Qg(m,d,!0);}n.n.a=r-n.o.a/2;}}function Izn(e,n,t){var i,r,c,s,f,h,d,b,m,E;for(f=dt(e.b,0);f.b!=f.d.c;){if(s=o(at(f),40),!un(s.c,fN)){for(d=nRn(s,e),n==(br(),Xc)||n==ro?sr(d,new qke):sr(d,new Uke),h=d.c.length,i=0;i=0?S=c3(f):S=z_(c3(f)),e.qf(W6,S)),d=new Hr,E=!1,e.pf(rg)?(IZ(d,o(e.of(rg),8)),E=!0):F4n(d,s.a/2,s.b/2),S.g){case 4:de(b,ju,(Ef(),o0)),de(b,DO,(Q0(),Em)),b.o.b=s.b,x<0&&(b.o.a=-x),Tr(m,(Oe(),Kn)),E||(d.a=s.a),d.a-=s.a;break;case 2:de(b,ju,(Ef(),Pp)),de(b,DO,(Q0(),K6)),b.o.b=s.b,x<0&&(b.o.a=-x),Tr(m,(Oe(),An)),E||(d.a=0);break;case 1:de(b,vw,(e1(),Sm)),b.o.a=s.a,x<0&&(b.o.b=-x),Tr(m,(Oe(),st)),E||(d.b=s.b),d.b-=s.b;break;case 3:de(b,vw,(e1(),L3)),b.o.a=s.a,x<0&&(b.o.b=-x),Tr(m,(Oe(),Nn)),E||(d.b=0);}if(IZ(m.n,d),de(b,rg,d),n==Nw||n==Lh||n==ru){if(T=0,n==Nw&&e.pf(id)){switch(S.g){case 1:case 2:T=o(e.of(id),17).a;break;case 3:case 4:T=-o(e.of(id),17).a;}}else {switch(S.g){case 4:case 2:T=c.b,n==Lh&&(T/=r.b);break;case 1:case 3:T=c.a,n==Lh&&(T/=r.a);}}de(b,Zb,T);}return de(b,Co,S),b;}function Pzn(){nQ();function e(i){var r=this;this.dispatch=function(c){var s=c.data;switch(s.cmd){case"algorithms":var f=Ere((dn(),new yy(new Hh(p0.b))));i.postMessage({id:s.id,data:f});break;case"categories":var h=Ere((dn(),new yy(new Hh(p0.c))));i.postMessage({id:s.id,data:h});break;case"options":var d=Ere((dn(),new yy(new Hh(p0.d))));i.postMessage({id:s.id,data:d});break;case"register":AUn(s.algorithms),i.postMessage({id:s.id});break;case"layout":fqn(s.graph,s.layoutOptions||{},s.options||{}),i.postMessage({id:s.id,data:s.graph});break;}},this.saveDispatch=function(c){try{r.dispatch(c);}catch(s){i.postMessage({id:c.data.id,error:s});}};}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c});}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c});},0);};}if(typeof document===WH&&typeof self!==WH){var t=new e(self);self.onmessage=t.saveDispatch;}else {typeof g!==WH&&g.exports&&(Object.defineProperty(v,"__esModule",{value:!0}),g.exports={default:n,Worker:n});}}function TZe(e,n,t){var i,r,c,s,f,h,d,b,m,E;for(b=new u1(t),no(b,n),de(b,(Ee(),mi),n),b.o.a=n.g,b.o.b=n.f,b.n.a=n.i,b.n.b=n.j,xe(t.a,b),Jt(e.a,n,b),((!n.a&&(n.a=new he(ti,n,10,11)),n.a).i!=0||De(Le(be(n,($e(),Ap)))))&&de(b,Ide,(jn(),!0)),d=o(M(t,iu),21),m=o(M(b,($e(),nr)),101),m==(Kr(),w0)?de(b,nr,Ta):m!=Ta&&d.Fc((Cc(),U6)),E=0,i=o(M(t,nf),88),h=new Hn((!n.c&&(n.c=new he(ws,n,9,9)),n.c));h.e!=h.i.gc();){f=o(Wn(h),123),r=Bi(n),(Z(be(r,Nh))!==Z((qa(),rd))||Z(be(r,kw))===Z((G1(),F6))||Z(be(r,kw))===Z((G1(),B6))||De(Le(be(r,ng)))||Z(be(r,Np))!==Z((nw(),Tp))||Z(be(r,u0))===Z((Ff(),ug))||Z(be(r,u0))===Z((Ff(),Bp))||Z(be(r,_w))===Z((Y1(),Q6))||Z(be(r,_w))===Z((Y1(),Z6)))&&!De(Le(be(n,UO)))&&yi(f,_i,je(E++)),De(Le(be(f,jw)))||KGn(e,f,b,d,i,m);}for(s=new Hn((!n.n&&(n.n=new he(Fc,n,1,7)),n.n));s.e!=s.i.gc();){c=o(Wn(s),135),!De(Le(be(c,jw)))&&c.a&&xe(b.b,dF(c));}return De(Le(M(b,I7)))&&d.Fc((Cc(),NO)),De(Le(M(b,WO)))&&(d.Fc((Cc(),OO)),d.Fc(S7),de(b,nr,Ta)),b;}function fH(e,n,t,i,r,c,s){var f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn,ci,zi;for(x=0,kn=0,d=new N(e.b);d.ax&&(c&&(dc(pe,S),dc(Ze,je(b.b-1)),xe(e.d,T),f.c.length=0),ci=t.b,zi+=S+n,S=0,m=p.Math.max(m,t.b+t.c+Xn)),yn(f.c,h),Pze(h,ci,zi),m=p.Math.max(m,ci+Xn+t.c),S=p.Math.max(S,E),ci+=Xn+n,T=h;}if(yr(e.a,f),xe(e.d,o(Re(f,f.c.length-1),163)),m=p.Math.max(m,i),En=zi+S+t.a,Enr.d.d+r.d.a?b.f.d=!0:(b.f.d=!0,b.f.a=!0))),i.b!=i.d.c&&(n=t);}b&&(c=o(qn(e.f,s.d.i),60),n.bc.d.d+c.d.a?b.f.d=!0:(b.f.d=!0,b.f.a=!0));}}for(f=new Un(Vn(Nr(S).a.Kc(),new Y));wt(f);){s=o(it(f),18),s.a.b!=0&&(n=o(ol(s.a),8),s.d.j==(Oe(),Nn)&&(I=new Ik(n,new ve(n.a,r.d.d),r,s),I.f.a=!0,I.a=s.d,yn(x.c,I)),s.d.j==st&&(I=new Ik(n,new ve(n.a,r.d.d+r.d.a),r,s),I.f.d=!0,I.a=s.d,yn(x.c,I)));}}}return x;}function Dzn(e,n,t){var i,r,c,s,f,h,d,b,m,E;for(h=new Te,m=n.length,s=Oie(t),d=0;d=T&&(H>T&&(S.c.length=0,T=H),yn(S.c,s));}S.c.length!=0&&(E=o(Re(S,RI(n,S.c.length)),131),En.a.Bc(E)!=null,E.s=x++,Poe(E,Je,pe),S.c.length=0);}for(X=e.c.length+1,f=new N(e);f.akn.s&&(Ls(t),Pu(kn.i,i),i.c>0&&(i.a=kn,xe(kn.t,i),i.b=Ne,xe(Ne.i,i)));}}}function MZe(e,n,t,i,r){var c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En;for(x=new fu(n.b),X=new fu(n.b),E=new fu(n.b),Ze=new fu(n.b),I=new fu(n.b),Ne=dt(n,0);Ne.b!=Ne.d.c;){for(ae=o(at(Ne),12),f=new N(ae.g);f.a0,D=ae.g.c.length>0,d&&D?yn(E.c,ae):d?yn(x.c,ae):D&&yn(X.c,ae);}for(T=new N(x);T.aH.nh()-d.b&&(E=H.nh()-d.b),S>H.oh()-d.d&&(S=H.oh()-d.d),b0){for(G=dt(e.f,0);G.b!=G.d.c;){H=o(at(G),10),H.p+=E-e.e;}Yce(e),Hs(e.f),Goe(e,i,S);}else{for(Kt(e.f,S),S.p=i,e.e=p.Math.max(e.e,i),c=new Un(Vn(Nr(S).a.Kc(),new Y));wt(c);){r=o(it(c),18),!r.c.i.c&&r.c.i.k==(On(),Fo)&&(Kt(e.f,r.c.i),r.c.i.p=i-1);}e.c=i;}}else {Yce(e),Hs(e.f),i=0,wt(new Un(Vn(Nr(S).a.Kc(),new Y)))?(E=0,E=Lze(E,S),i=E+2,Goe(e,i,S)):(Kt(e.f,S),S.p=0,e.e=p.Math.max(e.e,0),e.b=o(Re(e.d.b,0),30),e.c=0);}}for(e.f.b==0||Yce(e),e.d.a.c.length=0,D=new Te,d=new N(e.d.b);d.a=48&&n<=57){for(i=n-48;r=48&&n<=57;){if(i=i*10+n-48,i<0){throw O(new Lt(Bt((Pt(),mae))));}}}else {throw O(new Lt(Bt((Pt(),ain))));}if(t=i,n==44){if(r>=e.j){throw O(new Lt(Bt((Pt(),din))));}if((n=tc(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;){if(t=t*10+n-48,t<0){throw O(new Lt(Bt((Pt(),mae))));}}if(i>t){throw O(new Lt(Bt((Pt(),win))));}}else {t=-1;}}if(n!=125){throw O(new Lt(Bt((Pt(),hin))));}e.bm(r)?(c=(si(),si(),new Hg(9,c)),e.d=r+1):(c=(si(),si(),new Hg(3,c)),e.d=r),c.Om(i),c.Nm(t),ri(e);}}return c;}function qzn(e){var n,t,i,r,c;switch(t=o(M(e,(Ee(),iu)),21),n=ax(Lon),r=o(M(e,($e(),Op)),346),r==(i1(),fd)&&Ws(n,Don),De(Le(M(e,Rz)))?Ut(n,(ic(),vl),(hc(),VG)):Ut(n,(ic(),Go),(hc(),VG)),M(e,(CC(),n9))!=null&&Ws(n,Ron),(De(Le(M(e,P0e)))||De(Le(M(e,M0e))))&&zu(n,(ic(),io),(hc(),T1e)),o(M(e,nf),88).g){case 2:case 3:case 4:zu(Ut(n,(ic(),vl),(hc(),x1e)),io,M1e);}switch(t.Hc((Cc(),NO))&&zu(Ut(Ut(n,(ic(),vl),(hc(),j1e)),nu,_1e),io,S1e),Z(M(e,u0))!==Z((Ff(),oA))&&Ut(n,(ic(),Go),(hc(),q1e)),t.Hc(AO)&&(Ut(n,(ic(),vl),(hc(),V1e)),Ut(n,Ih,G1e),Ut(n,Go,z1e)),Z(M(e,HO))!==Z((G4(),_7))&&Z(M(e,g1))!==Z((r1(),oT))&&zu(n,(ic(),io),(hc(),D1e)),De(Le(M(e,C0e)))&&Ut(n,(ic(),Go),(hc(),L1e)),De(Le(M(e,Az)))&&Ut(n,(ic(),Go),(hc(),W1e)),tBn(e)&&(Z(M(e,Op))===Z(fd)?i=o(M(e,Nj),299):i=o(M(e,Oz),299),c=i==(E4(),mz)?(hc(),U1e):(hc(),J1e),Ut(n,(ic(),nu),c)),o(M(e,iwe),388).g){case 1:Ut(n,(ic(),nu),(hc(),X1e));break;case 2:zu(Ut(Ut(n,(ic(),Go),(hc(),v1e)),nu,y1e),io,k1e);}return Z(M(e,Nh))!==Z((qa(),rd))&&Ut(n,(ic(),Go),(hc(),Y1e)),n;}function PZe(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G;if(pu(e.a,n)){if(Ol(o(qn(e.a,n),49),t)){return 1;}}else {Jt(e.a,n,new lr);}if(pu(e.a,t)){if(Ol(o(qn(e.a,t),49),n)){return-1;}}else {Jt(e.a,t,new lr);}if(pu(e.e,n)){if(Ol(o(qn(e.e,n),49),t)){return-1;}}else {Jt(e.e,n,new lr);}if(pu(e.e,t)){if(Ol(o(qn(e.a,t),49),n)){return 1;}}else {Jt(e.e,t,new lr);}if(e.c==(qa(),eV)||!Ii(n,(Ee(),_i))||!Ii(t,(Ee(),_i))){for(m=null,d=new N(n.j);d.as?Q4(e,n,t):Q4(e,t,n),rs?1:0;}}return i=o(M(n,(Ee(),_i)),17).a,c=o(M(t,_i),17).a,i>c?Q4(e,n,t):Q4(e,t,n),ic?1:0;}function Lb(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I;if(t==null){return null;}if(e.a!=n.jk()){throw O(new In(S6+n.xe()+Ub));}if(U(n,469)){if(I=AFn(o(n,685),t),!I){throw O(new In(kU+t+"' is not a valid enumerator of '"+n.xe()+"'"));}return I;}switch(H1((Xu(),ec),n).Nl()){case 2:{t=Qo(t,!1);break;}case 3:{t=Qo(t,!0);break;}}if(i=H1(ec,n).Jl(),i){return i.jk().wi().ti(i,t);}if(E=H1(ec,n).Ll(),E){for(I=new Te,d=rF(t),b=0,m=d.length;b1){for(T=new Ov((!e.a&&(e.a=new he(Li,e,6,6)),e.a));T.e!=T.i.gc();){gk(T);}}for(s=o(z((!e.a&&(e.a=new he(Li,e,6,6)),e.a),0),166),I=ci,ci>ae+X?I=ae+X:cipe+x?D=pe+x:ziae-X&&Ipe-x&&Dci+Xn?Ze=ci+Xn:aezi+Ne?Je=zi+Ne:peci-Xn&&Zezi-Ne&&Jet&&(E=t-1),S=gd+ys(n,24)*RS*m-m/2,S<0?S=1:S>i&&(S=i-1),r=(Sd(),h=new eM,h),GC(r,E),UC(r,S),pt((!s.a&&(s.a=new hr(of,s,5)),s.a),r);}}function NZe(e){Ww(e,new rw(Gw(Hw(Uw(qw(new M0,_s),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new E7e))),Se(e,_s,S3,1.3),Se(e,_s,b6,(jn(),!1)),Se(e,_s,Bb,Jbe),Se(e,_s,gp,15),Se(e,_s,rN,Ae(Xhn)),Se(e,_s,sm,Ae(Qhn)),Se(e,_s,T3,Ae(e1n)),Se(e,_s,j3,Ae(n1n)),Se(e,_s,g6,Ae(Jhn)),Se(e,_s,Gk,Ae(UV)),Se(e,_s,p6,Ae(t1n)),Se(e,_s,Nle,Ae(nge)),Se(e,_s,Ole,Ae(ege)),Se(e,_s,Ple,Ae(zV)),Se(e,_s,Ile,Ae(tge)),Se(e,_s,Ale,Ae(Ybe)),Se(e,_s,$le,Ae(GV)),Se(e,_s,Lle,Ae(Xbe)),Se(e,_s,Dle,Ae(Zbe)),Se(e,_s,Uk,Ae(Wbe)),Se(e,_s,oN,Ae(Yhn)),Se(e,_s,xle,Ae(Vj)),Se(e,_s,Mle,Ae(Vbe)),Se(e,_s,Cle,Ae(Wj)),Se(e,_s,Tle,Ae(Qbe));}function aH(e,n){YK();var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne;if(G=e.e,b=e.d,r=e.a,G==0){switch(n){case 0:return"0";case 1:return f6;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 D=new Ed,D.a+="0E",D.a+=-n,D.a;}}if(x=b*10+1+7,I=ce(Of,Wa,28,x+1,15,1),t=x,b==1){if(c=r[0],c<0){Ne=Cr(c,Ic);do {m=Ne,Ne=iS(Ne,10),I[--t]=48+Mt(Rf(m,ac(Ne,10)))&gr;}while(Lo(Ne,0)!=0);}else{Ne=c;do {m=Ne,Ne=Ne/10|0,I[--t]=48+(m-Ne*10)&gr;}while(Ne!=0);}}else{X=ce(vt,Gt,28,b,15,1),pe=b,Uo(r,0,X,0,pe);e:for(;;){for(H=0,f=pe-1;f>=0;f--){ae=lc(fl(H,32),Cr(X[f],Ic)),S=NAn(ae),X[f]=Mt(S),H=Mt(cb(S,32));}T=Mt(H),E=t;do {I[--t]=48+T%10&gr;}while((T=T/10|0)!=0&&t!=0);for(i=9-E+t,s=0;s0;s++){I[--t]=48;}for(h=pe-1;X[h]==0;h--){if(h==0){break e;}}pe=h+1;}for(;I[t]==48;){++t;}}return d=G<0,d&&(I[--t]=45),Ha(I,t,x-t);}function OZe(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe;switch(e.c=n,e.g=new lt,t=(Xw(),new Kw(e.c)),i=new fM(t),vre(i),G=Nt(be(e.c,(cS(),kge))),h=o(be(e.c,tW),324),ae=o(be(e.c,iW),437),s=o(be(e.c,mge),490),X=o(be(e.c,nW),438),e.j=J(re(be(e.c,g1n))),f=e.a,h.g){case 0:f=e.a;break;case 1:f=e.b;break;case 2:f=e.i;break;case 3:f=e.e;break;case 4:f=e.f;break;default:throw O(new In(bN+(h.f!=null?h.f:""+h.g)));}if(e.d=new TRe(f,ae,s),de(e.d,(v4(),m7),Le(be(e.c,w1n))),e.d.c=De(Le(be(e.c,vge))),oC(e.c).i==0){return e.d;}for(m=new Hn(oC(e.c));m.e!=m.i.gc();){for(b=o(Wn(m),27),S=b.g/2,E=b.f/2,pe=new ve(b.i+S,b.j+E);pu(e.g,pe);){tb(pe,(p.Math.random()-.5)*Ja,(p.Math.random()-.5)*Ja);}x=o(be(b,(Wt(),c5)),140),I=new FRe(pe,new hf(pe.a-S-e.j/2-x.b,pe.b-E-e.j/2-x.d,b.g+e.j+(x.b+x.c),b.f+e.j+(x.d+x.a))),xe(e.d.i,I),Jt(e.g,pe,new Sr(I,b));}switch(X.g){case 0:if(G==null){e.d.d=o(Re(e.d.i,0),68);}else {for(H=new N(e.d.i);H.a0?Xn+1:1);}for(s=new N(pe.g);s.a0?Xn+1:1);}}e.c[d]==0?Kt(e.e,x):e.a[d]==0&&Kt(e.f,x),++d;}for(T=-1,S=1,m=new Te,e.d=o(M(n,(Ee(),K3)),234);uf>0;){for(;e.e.b!=0;){zi=o(tR(e.e),10),e.b[zi.p]=T--,sue(e,zi),--uf;}for(;e.f.b!=0;){bs=o(tR(e.f),10),e.b[bs.p]=S++,sue(e,bs),--uf;}if(uf>0){for(E=rc,H=new N(G);H.a=E&&(X>E&&(m.c.length=0,E=X),yn(m.c,x)));}b=e.sg(m),e.b[b.p]=S++,sue(e,b),--uf;}}for(ci=G.c.length+1,d=0;de.b[Yc]&&(Ab(i,!0),de(n,xj,(jn(),!0)));}}}e.a=null,e.c=null,e.b=null,Hs(e.f),Hs(e.e),t.Vg();}function AZe(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe;for(ae=o(z((!e.a&&(e.a=new he(Li,e,6,6)),e.a),0),166),b=new Hu,X=new lt,pe=qJe(ae),hu(X.f,ae,pe),E=new lt,i=new $i,T=bh(zs(R(L(ef,1),vn,20,0,[(!n.d&&(n.d=new bn(or,n,8,5)),n.d),(!n.e&&(n.e=new bn(or,n,7,4)),n.e)])));wt(T);){if(S=o(it(T),74),(!e.a&&(e.a=new he(Li,e,6,6)),e.a).i!=1){throw O(new In(ytn+(!e.a&&(e.a=new he(Li,e,6,6)),e.a).i));}S!=e&&(I=o(z((!S.a&&(S.a=new he(Li,S,6,6)),S.a),0),166),Ji(i,I,i.c.b,i.c),x=o(Jc(Mc(X.f,I)),13),x||(x=qJe(I),hu(X.f,I,x)),m=t?xr(new wc(o(Re(pe,pe.c.length-1),8)),o(Re(x,x.c.length-1),8)):xr(new wc((wn(0,pe.c.length),o(pe.c[0],8))),(wn(0,x.c.length),o(x.c[0],8))),hu(E.f,I,m));}if(i.b!=0){for(D=o(Re(pe,t?pe.c.length-1:0),8),d=1;d1&&Ji(b,D,b.c.b,b.c),CB(r)));}D=H;}}return b;}function $Ze(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn;for(t.Ug($nn,1),kn=o(oo(bi(new rn(null,new ln(n,16)),new Jke),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),b=o(oo(bi(new rn(null,new ln(n,16)),new RMe(n)),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo]))),15),T=o(oo(bi(new rn(null,new ln(n,16)),new DMe(n)),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[fo]))),15),x=ce(dA,lN,40,n.gc(),0,1),s=0;s=0&&Je=0&&!x[S]){x[S]=r,b.gd(f),--f;break;}if(S=Je-E,S=0&&!x[S]){x[S]=r,b.gd(f),--f;break;}}}for(T.jd(new Qke),h=x.length-1;h>=0;h--){!x[h]&&!T.dc()&&(x[h]=o(T.Xb(0),40),T.gd(0));}for(d=0;d=0;h--){Kt(t,(wn(h,s.c.length),o(s.c[h],8)));}return t;}function DZe(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;for(G=J(re(be(n,(kh(),Hp)))),S=J(re(be(n,Y7))),E=J(re(be(n,_A))),aie((!n.a&&(n.a=new he(ti,n,10,11)),n.a)),D=MQe((!n.a&&(n.a=new he(ti,n,10,11)),n.a),G,e.b),I=0;IE&&nS((wn(E,n.c.length),o(n.c[E],186)),b),b=null;n.c.length>E&&(wn(E,n.c.length),o(n.c[E],186)).a.c.length==0;){Pu(n,(wn(E,n.c.length),n.c[E]));}}if(!b){--s;continue;}if(!De(Le(o(Re(b.b,0),27).of((wa(),Wj))))&&hHn(n,T,c,b,I,t,E,i)){x=!0;continue;}if(I){if(S=T.b,m=b.f,!De(Le(o(Re(b.b,0),27).of(Wj)))&&PUn(n,T,c,b,t,E,i,r)){if(x=!0,S=e.j){e.a=-1,e.c=1;return;}if(n=tc(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j){throw O(new Lt(Bt((Pt(),EN))));}e.a=tc(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||tc(e.i,e.d)!=63){break;}if(++e.d>=e.j){throw O(new Lt(Bt((Pt(),AU))));}switch(n=tc(e.i,e.d++),n){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(e.d>=e.j){throw O(new Lt(Bt((Pt(),AU))));}if(n=tc(e.i,e.d++),n==61){i=16;}else if(n==33){i=17;}else {throw O(new Lt(Bt((Pt(),Vtn))));}break;case 35:for(;e.d=e.j){throw O(new Lt(Bt((Pt(),EN))));}e.a=tc(e.i,e.d++);break;default:i=0;}e.c=i;}function Zzn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I;if(t.Ug("Process compaction",1),!!De(Le(M(n,(So(),tbe))))){for(r=o(M(n,fg),88),S=J(re(M(n,kV))),Tqn(e,n,r),gzn(n,S/2/2),T=n.b,W0(T,new IMe(r)),d=dt(T,0);d.b!=d.d.c;){if(h=o(at(d),40),!De(Le(M(h,(Mi(),l0))))){if(i=QFn(h,r),x=VHn(h,n),m=0,E=0,i){switch(I=i.e,r.g){case 2:m=I.a-S-h.f.a,x.e.a-S-h.f.am&&(m=x.e.a+x.f.a+S),E=m+h.f.a;break;case 4:m=I.b-S-h.f.b,x.e.b-S-h.f.bm&&(m=x.e.b+x.f.b+S),E=m+h.f.b;}}else if(x){switch(r.g){case 2:m=x.e.a-S-h.f.a,E=m+h.f.a;break;case 1:m=x.e.a+x.f.a+S,E=m+h.f.a;break;case 4:m=x.e.b-S-h.f.b,E=m+h.f.b;break;case 3:m=x.e.b+x.f.b+S,E=m+h.f.b;}}Z(M(n,yV))===Z((Q8(),Kj))?(c=m,s=E,f=T4(bi(new rn(null,new ln(e.a,16)),new vNe(c,s))),f.a!=null?r==(br(),Xc)||r==ro?h.e.a=m:h.e.b=m:(r==(br(),Xc)||r==If?f=T4(bi(XHe(new rn(null,new ln(e.a,16))),new PMe(c))):f=T4(bi(XHe(new rn(null,new ln(e.a,16))),new NMe(c))),f.a!=null&&(r==Xc||r==ro?h.e.a=J(re((Zn(f.a!=null),o(f.a,42)).a)):h.e.b=J(re((Zn(f.a!=null),o(f.a,42)).a)))),f.a!=null&&(b=eo(e.a,(Zn(f.a!=null),f.a),0),b>0&&b!=o(M(h,oh),17).a&&(de(h,Wwe,(jn(),!0)),de(h,oh,je(b))))):r==(br(),Xc)||r==ro?h.e.a=m:h.e.b=m;}}t.Vg();}}function RZe(e){var n,t,i,r,c,s,f,h,d;for(e.b=1,ri(e),n=null,e.c==0&&e.a==94?(ri(e),n=(si(),si(),new Us(4)),Jo(n,0,x6),f=new Us(4)):f=(si(),si(),new Us(4)),r=!0;(d=e.c)!=1;){if(d==0&&e.a==93&&!r){n&&($k(n,f),f=n);break;}if(t=e.a,i=!1,d==10){switch(t){case 100:case 68:case 119:case 87:case 115:case 83:ap(f,Z4(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(ap(f,Z4(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(h=hoe(e,t),!h){throw O(new Lt(Bt((Pt(),$U))));}ap(f,h),i=!0;break;default:t=Voe(e);}}else if(d==24&&!r){if(n&&($k(n,f),f=n),c=RZe(e),$k(f,c),e.c!=0||e.a!=93){throw O(new Lt(Bt((Pt(),iin))));}break;}if(ri(e),!i){if(d==0){if(t==91){throw O(new Lt(Bt((Pt(),gae))));}if(t==93){throw O(new Lt(Bt((Pt(),pae))));}if(t==45&&!r&&e.a!=93){throw O(new Lt(Bt((Pt(),LU))));}}if(e.c!=0||e.a!=45||t==45&&r){Jo(f,t,t);}else{if(ri(e),(d=e.c)==1){throw O(new Lt(Bt((Pt(),_N))));}if(d==0&&e.a==93){Jo(f,t,t),Jo(f,45,45);}else{if(d==0&&e.a==93||d==24){throw O(new Lt(Bt((Pt(),LU))));}if(s=e.a,d==0){if(s==91){throw O(new Lt(Bt((Pt(),gae))));}if(s==93){throw O(new Lt(Bt((Pt(),pae))));}if(s==45){throw O(new Lt(Bt((Pt(),LU))));}}else {d==10&&(s=Voe(e));}if(ri(e),t>s){throw O(new Lt(Bt((Pt(),oin))));}Jo(f,t,s);}}}r=!1;}if(e.c==1){throw O(new Lt(Bt((Pt(),_N))));}return X2(f),Ok(f),e.b=0,ri(e),f;}function eVn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae;if(t.Ug("Coffman-Graham Layering",1),n.a.c.length==0){t.Vg();return;}for(ae=o(M(n,($e(),O0e)),17).a,h=0,s=0,E=new N(n.a);E.a=ae||!WIn(D,i))&&(i=LDe(n,b)),Ur(D,i),c=new Un(Vn(Nr(D).a.Kc(),new Y));wt(c);){r=o(it(c),18),!e.a[r.p]&&(x=r.c.i,--e.e[x.p],e.e[x.p]==0&&Rv(U4(S,x),l6));}}for(d=b.c.length-1;d>=0;--d){xe(n.b,(wn(d,b.c.length),o(b.c[d],30)));}n.a.c.length=0,t.Vg();}function BZe(e,n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X;X=!1;do {for(X=!1,c=n?new I0(e.a.b).a.gc()-2:1;n?c>=0:co(M(I,_i),17).a)&&(G=!1);}if(G){for(h=n?c+1:c-1,f=Qne(e.a,je(h)),s=!1,H=!0,i=!1,b=dt(f,0);b.b!=b.d.c;){d=o(at(b),10),Ii(d,_i)?d.p!=m.p&&(s=s|(n?o(M(d,_i),17).ao(M(m,_i),17).a),H=!1):!s&&H&&d.k==(On(),Fo)&&(i=!0,n?E=o(it(new Un(Vn(Nr(d).a.Kc(),new Y))),18).c.i:E=o(it(new Un(Vn(ur(d).a.Kc(),new Y))),18).d.i,E==m&&(n?t=o(it(new Un(Vn(ur(d).a.Kc(),new Y))),18).d.i:t=o(it(new Un(Vn(Nr(d).a.Kc(),new Y))),18).c.i,(n?o(Pg(e.a,t),17).a-o(Pg(e.a,E),17).a:o(Pg(e.a,E),17).a-o(Pg(e.a,t),17).a)<=2&&(H=!1)));}if(i&&H&&(n?t=o(it(new Un(Vn(ur(m).a.Kc(),new Y))),18).d.i:t=o(it(new Un(Vn(Nr(m).a.Kc(),new Y))),18).c.i,(n?o(Pg(e.a,t),17).a-o(Pg(e.a,m),17).a:o(Pg(e.a,m),17).a-o(Pg(e.a,t),17).a)<=2&&t.k==(On(),cr)&&(H=!1)),s||H){for(x=gYe(e,m,n);x.a.gc()!=0;){T=o(x.a.ec().Kc().Pb(),10),x.a.Bc(T)!=null,Vr(x,gYe(e,T,n));}--S,X=!0;}}}}}}while(X);}function nVn(e){_t(e.c,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#decimal"])),_t(e.d,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#integer"])),_t(e.e,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#boolean"])),_t(e.f,Ht,R(L(Be,1),_e,2,6,[cc,"EBoolean",ni,"EBoolean:Object"])),_t(e.i,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#byte"])),_t(e.g,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#hexBinary"])),_t(e.j,Ht,R(L(Be,1),_e,2,6,[cc,"EByte",ni,"EByte:Object"])),_t(e.n,Ht,R(L(Be,1),_e,2,6,[cc,"EChar",ni,"EChar:Object"])),_t(e.t,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#double"])),_t(e.u,Ht,R(L(Be,1),_e,2,6,[cc,"EDouble",ni,"EDouble:Object"])),_t(e.F,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#float"])),_t(e.G,Ht,R(L(Be,1),_e,2,6,[cc,"EFloat",ni,"EFloat:Object"])),_t(e.I,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#int"])),_t(e.J,Ht,R(L(Be,1),_e,2,6,[cc,"EInt",ni,"EInt:Object"])),_t(e.N,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#long"])),_t(e.O,Ht,R(L(Be,1),_e,2,6,[cc,"ELong",ni,"ELong:Object"])),_t(e.Z,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#short"])),_t(e.$,Ht,R(L(Be,1),_e,2,6,[cc,"EShort",ni,"EShort:Object"])),_t(e._,Ht,R(L(Be,1),_e,2,6,[cc,"http://www.w3.org/2001/XMLSchema#string"]));}function tVn(e,n,t,i,r,c,s){var f,h,d,b,m,E,S,T;return E=o(i.a,17).a,S=o(i.b,17).a,m=e.b,T=e.c,f=0,b=0,n==(br(),Xc)||n==ro?(b=EE(CGe(Bg(Qc(new rn(null,new ln(t.b,16)),new e7e),new Lke))),m.e.b+m.f.b/2>b?(d=++S,f=J(re(Os(Lg(Qc(new rn(null,new ln(t.b,16)),new ENe(r,d)),new Dke))))):(h=++E,f=J(re(Os(Fv(Qc(new rn(null,new ln(t.b,16)),new _Ne(r,h)),new Rke)))))):(b=EE(CGe(Bg(Qc(new rn(null,new ln(t.b,16)),new Hke),new $ke))),m.e.a+m.f.a/2>b?(d=++S,f=J(re(Os(Lg(Qc(new rn(null,new ln(t.b,16)),new yNe(r,d)),new Bke))))):(h=++E,f=J(re(Os(Fv(Qc(new rn(null,new ln(t.b,16)),new kNe(r,h)),new Fke)))))),n==Xc?(dc(e.a,new ve(J(re(M(m,(Mi(),Vl))))-r,f)),dc(e.a,new ve(T.e.a+T.f.a+r+c,f)),dc(e.a,new ve(T.e.a+T.f.a+r+c,T.e.b+T.f.b/2)),dc(e.a,new ve(T.e.a+T.f.a,T.e.b+T.f.b/2))):n==ro?(dc(e.a,new ve(J(re(M(m,(Mi(),kl))))+r,m.e.b+m.f.b/2)),dc(e.a,new ve(m.e.a+m.f.a+r,f)),dc(e.a,new ve(T.e.a-r-c,f)),dc(e.a,new ve(T.e.a-r-c,T.e.b+T.f.b/2)),dc(e.a,new ve(T.e.a,T.e.b+T.f.b/2))):n==If?(dc(e.a,new ve(f,J(re(M(m,(Mi(),Vl))))-r)),dc(e.a,new ve(f,T.e.b+T.f.b+r+c)),dc(e.a,new ve(T.e.a+T.f.a/2,T.e.b+T.f.b+r+c)),dc(e.a,new ve(T.e.a+T.f.a/2,T.e.b+T.f.b+r))):(e.a.b==0||(o(ol(e.a),8).b=J(re(M(m,(Mi(),kl))))+r*o(s.b,17).a),dc(e.a,new ve(f,J(re(M(m,(Mi(),kl))))+r*o(s.b,17).a)),dc(e.a,new ve(f,T.e.b-r*o(s.a,17).a-c))),new Sr(je(E),je(S));}function iVn(e){var n,t,i,r,c,s,f,h,d,b,m,E,S;if(s=!0,m=null,i=null,r=null,n=!1,S=Zdn,d=null,c=null,f=0,h=OF(e,f,p2e,m2e),h=0&&un(e.substr(f,2),"//")?(f+=2,h=OF(e,f,m9,v9),i=(zr(f,h,e.length),e.substr(f,h-f)),f=h):m!=null&&(f==e.length||(Pn(f,e.length),e.charCodeAt(f)!=47))&&(s=!1,h=EZ(e,Ou(35),f),h==-1&&(h=e.length),i=(zr(f,h,e.length),e.substr(f,h-f)),f=h);}if(!t&&f0&&tc(b,b.length-1)==58&&(r=b,f=h)),fxK(c))&&(m=c);}}for(!m&&(m=(wn(0,I.c.length),o(I.c[0],185))),x=new N(n.b);x.am&&(En=0,Xn+=b+Ne,b=0),CJe(ae,s,En,Xn),n=p.Math.max(n,En+pe.a),b=p.Math.max(b,pe.b),En+=pe.a+Ne;}for(X=new lt,t=new lt,Je=new N(e);Je.a=-1900?1:0,t>=4?qt(e,R(L(Be,1),_e,2,6,[ten,ien])[f]):qt(e,R(L(Be,1),_e,2,6,["BC","AD"])[f]);break;case 121:_Pn(e,t,i);break;case 77:KKn(e,t,i);break;case 107:h=r.q.getHours(),h==0?mh(e,24,t):mh(e,h,t);break;case 83:nBn(e,t,r);break;case 69:b=i.q.getDay(),t==5?qt(e,R(L(Be,1),_e,2,6,["S","M","T","W","T","F","S"])[b]):t==4?qt(e,R(L(Be,1),_e,2,6,[PH,NH,OH,AH,$H,LH,DH])[b]):qt(e,R(L(Be,1),_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[b]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?qt(e,R(L(Be,1),_e,2,6,["AM","PM"])[1]):qt(e,R(L(Be,1),_e,2,6,["AM","PM"])[0]);break;case 104:m=r.q.getHours()%12,m==0?mh(e,12,t):mh(e,m,t);break;case 75:E=r.q.getHours()%12,mh(e,E,t);break;case 72:S=r.q.getHours(),mh(e,S,t);break;case 99:T=i.q.getDay(),t==5?qt(e,R(L(Be,1),_e,2,6,["S","M","T","W","T","F","S"])[T]):t==4?qt(e,R(L(Be,1),_e,2,6,[PH,NH,OH,AH,$H,LH,DH])[T]):t==3?qt(e,R(L(Be,1),_e,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]):mh(e,T,1);break;case 76:x=i.q.getMonth(),t==5?qt(e,R(L(Be,1),_e,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[x]):t==4?qt(e,R(L(Be,1),_e,2,6,[yH,kH,EH,_H,m3,SH,jH,TH,MH,xH,CH,IH])[x]):t==3?qt(e,R(L(Be,1),_e,2,6,["Jan","Feb","Mar","Apr",m3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[x]):mh(e,x+1,t);break;case 81:I=i.q.getMonth()/3|0,t<4?qt(e,R(L(Be,1),_e,2,6,["Q1","Q2","Q3","Q4"])[I]):qt(e,R(L(Be,1),_e,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[I]);break;case 100:D=i.q.getDate(),mh(e,D,t);break;case 109:d=r.q.getMinutes(),mh(e,d,t);break;case 115:s=r.q.getSeconds(),mh(e,s,t);break;case 122:t<4?qt(e,c.c[0]):qt(e,c.c[1]);break;case 118:qt(e,c.b);break;case 90:t<3?qt(e,WLn(c)):t==3?qt(e,ZLn(c)):qt(e,eDn(c.a));break;default:return!1;}return!0;}function Kue(e,n,t,i){var r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn,ci;if(mJe(n),h=o(z((!n.b&&(n.b=new bn(ct,n,4,7)),n.b),0),84),b=o(z((!n.c&&(n.c=new bn(ct,n,5,8)),n.c),0),84),f=to(h),d=to(b),s=(!n.a&&(n.a=new he(Li,n,6,6)),n.a).i==0?null:o(z((!n.a&&(n.a=new he(Li,n,6,6)),n.a),0),166),Ne=o(qn(e.a,f),10),En=o(qn(e.a,d),10),Ze=null,Xn=null,U(h,193)&&(pe=o(qn(e.a,h),305),U(pe,12)?Ze=o(pe,12):U(pe,10)&&(Ne=o(pe,10),Ze=o(Re(Ne.j,0),12))),U(b,193)&&(kn=o(qn(e.a,b),305),U(kn,12)?Xn=o(kn,12):U(kn,10)&&(En=o(kn,10),Xn=o(Re(En.j,0),12))),!Ne||!En){throw O(new Ev("The source or the target of edge "+n+" 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(x=new db,no(x,n),de(x,(Ee(),mi),n),de(x,($e(),Wc),null),S=o(M(i,iu),21),Ne==En&&S.Fc((Cc(),j7)),Ze||(ae=(xc(),wu),Je=null,s&&E2(o(M(Ne,nr),101))&&(Je=new ve(s.j,s.k),sFe(Je,r_(n)),LFe(Je,t),Vg(d,f)&&(ae=as,li(Je,Ne.n))),Ze=vQe(Ne,Je,ae,i)),Xn||(ae=(xc(),as),ci=null,s&&E2(o(M(En,nr),101))&&(ci=new ve(s.b,s.c),sFe(ci,r_(n)),LFe(ci,t)),Xn=vQe(En,ci,ae,Yr(En))),fc(x,Ze),Fr(x,Xn),(Ze.e.c.length>1||Ze.g.c.length>1||Xn.e.c.length>1||Xn.g.c.length>1)&&S.Fc((Cc(),S7)),E=new Hn((!n.n&&(n.n=new he(Fc,n,1,7)),n.n));E.e!=E.i.gc();){if(m=o(Wn(E),135),!De(Le(be(m,jw)))&&m.a){switch(I=dF(m),xe(x.b,I),o(M(I,ch),278).g){case 1:case 2:S.Fc((Cc(),q6));break;case 0:S.Fc((Cc(),H6)),de(I,ch,(la(),u5));}}}if(c=o(M(i,P7),322),D=o(M(i,QO),323),r=c==(U8(),jj)||D==(lk(),Qz),s&&(!s.a&&(s.a=new hr(of,s,5)),s.a).i!=0&&r){for(H=uS(s),T=new Hu,X=dt(H,0);X.b!=X.d.c;){G=o(at(X),8),Kt(T,new wc(G));}de(x,$de,T);}return x;}function uVn(e,n,t,i){var r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn,ci,zi;for(Je=0,kn=0,Ne=new lt,ae=o(Os(Lg(Qc(new rn(null,new ln(e.b,16)),new Kke),new Xke)),17).a+1,Ze=ce(vt,Gt,28,ae,15,1),I=ce(vt,Gt,28,ae,15,1),x=0;x1){for(f=Xn+1;fd.b.e.b*(1-D)+d.c.e.b*D));T++){;}if(pe.gc()>0&&(ci=d.a.b==0?Wr(d.b.e):o(ol(d.a),8),G=li(Wr(o(pe.Xb(pe.gc()-1),40).e),o(pe.Xb(pe.gc()-1),40).f),E=li(Wr(o(pe.Xb(0),40).e),o(pe.Xb(0),40).f),T>=pe.gc()-1&&ci.b>G.b&&d.c.e.b>G.b||T<=0&&ci.bd.b.e.a*(1-D)+d.c.e.a*D));T++){;}if(pe.gc()>0&&(ci=d.a.b==0?Wr(d.b.e):o(ol(d.a),8),G=li(Wr(o(pe.Xb(pe.gc()-1),40).e),o(pe.Xb(pe.gc()-1),40).f),E=li(Wr(o(pe.Xb(0),40).e),o(pe.Xb(0),40).f),T>=pe.gc()-1&&ci.a>G.a&&d.c.e.a>G.a||T<=0&&ci.a=J(re(M(e,(Mi(),Jwe))))&&++kn):(S.f&&S.d.e.a<=J(re(M(e,(Mi(),gV))))&&++Je,S.g&&S.c.e.a+S.c.f.a>=J(re(M(e,(Mi(),Ywe))))&&++kn);}}else {X==0?foe(d):X<0&&(++Ze[Xn],++I[zi],En=tVn(d,n,e,new Sr(je(Je),je(kn)),t,i,new Sr(je(I[zi]),je(Ze[Xn]))),Je=o(En.a,17).a,kn=o(En.b,17).a);}}}function sVn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H;if(i=n,h=t,e.b&&i.j==(Oe(),An)&&h.j==(Oe(),An)&&(H=i,i=h,h=H),pu(e.a,i)){if(Ol(o(qn(e.a,i),49),h)){return 1;}}else {Jt(e.a,i,new lr);}if(pu(e.a,h)){if(Ol(o(qn(e.a,h),49),i)){return-1;}}else {Jt(e.a,h,new lr);}if(pu(e.d,i)){if(Ol(o(qn(e.d,i),49),h)){return-1;}}else {Jt(e.d,i,new lr);}if(pu(e.d,h)){if(Ol(o(qn(e.a,h),49),i)){return 1;}}else {Jt(e.d,h,new lr);}if(i.j!=h.j){return D=Yyn(i.j,h.j),D==-1?Sf(e,h,i):Sf(e,i,h),D;}if(i.e.c.length!=0&&h.e.c.length!=0){if(e.b&&(D=iGe(i,h),D!=0)){return D==-1?Sf(e,h,i):D==1&&Sf(e,i,h),D;}if(c=o(Re(i.e,0),18).c.i,b=o(Re(h.e,0),18).c.i,c==b){return r=o(M(o(Re(i.e,0),18),(Ee(),_i)),17).a,d=o(M(o(Re(h.e,0),18),_i),17).a,r>d?Sf(e,i,h):Sf(e,h,i),rd?1:0;}for(T=e.c,x=0,I=T.length;xd?Sf(e,i,h):Sf(e,h,i),rd?1:0):e.b&&(D=iGe(i,h),D!=0)?(D==-1?Sf(e,h,i):D==1&&Sf(e,i,h),D):(s=0,m=0,Ii(o(Re(i.g,0),18),_i)&&(s=o(M(o(Re(i.g,0),18),_i),17).a),Ii(o(Re(h.g,0),18),_i)&&(m=o(M(o(Re(i.g,0),18),_i),17).a),f&&f==E?De(Le(M(o(Re(i.g,0),18),ka)))&&!De(Le(M(o(Re(h.g,0),18),ka)))?(Sf(e,i,h),1):!De(Le(M(o(Re(i.g,0),18),ka)))&&De(Le(M(o(Re(h.g,0),18),ka)))?(Sf(e,h,i),-1):(s>m?Sf(e,i,h):Sf(e,h,i),sm?1:0):(e.f&&(e.f._b(f)&&(s=o(e.f.xc(f),17).a),e.f._b(E)&&(m=o(e.f.xc(E),17).a)),s>m?Sf(e,i,h):Sf(e,h,i),sm?1:0))):i.e.c.length!=0&&h.g.c.length!=0?(Sf(e,i,h),1):i.g.c.length!=0&&h.e.c.length!=0?(Sf(e,h,i),-1):Ii(i,(Ee(),_i))&&Ii(h,_i)?(r=o(M(i,_i),17).a,d=o(M(h,_i),17).a,r>d?Sf(e,i,h):Sf(e,h,i),rd?1:0):(Sf(e,h,i),-1);}function fVn(e){e.gb||(e.gb=!0,e.b=_o(e,0),Qi(e.b,18),Ni(e.b,19),e.a=_o(e,1),Qi(e.a,1),Ni(e.a,2),Ni(e.a,3),Ni(e.a,4),Ni(e.a,5),e.o=_o(e,2),Qi(e.o,8),Qi(e.o,9),Ni(e.o,10),Ni(e.o,11),Ni(e.o,12),Ni(e.o,13),Ni(e.o,14),Ni(e.o,15),Ni(e.o,16),Ni(e.o,17),Ni(e.o,18),Ni(e.o,19),Ni(e.o,20),Ni(e.o,21),Ni(e.o,22),Ni(e.o,23),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),Gc(e.o),e.p=_o(e,3),Qi(e.p,2),Qi(e.p,3),Qi(e.p,4),Qi(e.p,5),Ni(e.p,6),Ni(e.p,7),Gc(e.p),Gc(e.p),e.q=_o(e,4),Qi(e.q,8),e.v=_o(e,5),Ni(e.v,9),Gc(e.v),Gc(e.v),Gc(e.v),e.w=_o(e,6),Qi(e.w,2),Qi(e.w,3),Qi(e.w,4),Ni(e.w,5),e.B=_o(e,7),Ni(e.B,1),Gc(e.B),Gc(e.B),Gc(e.B),e.Q=_o(e,8),Ni(e.Q,0),Gc(e.Q),e.R=_o(e,9),Qi(e.R,1),e.S=_o(e,10),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),Gc(e.S),e.T=_o(e,11),Ni(e.T,10),Ni(e.T,11),Ni(e.T,12),Ni(e.T,13),Ni(e.T,14),Gc(e.T),Gc(e.T),e.U=_o(e,12),Qi(e.U,2),Qi(e.U,3),Ni(e.U,4),Ni(e.U,5),Ni(e.U,6),Ni(e.U,7),Gc(e.U),e.V=_o(e,13),Ni(e.V,10),e.W=_o(e,14),Qi(e.W,18),Qi(e.W,19),Qi(e.W,20),Ni(e.W,21),Ni(e.W,22),Ni(e.W,23),e.bb=_o(e,15),Qi(e.bb,10),Qi(e.bb,11),Qi(e.bb,12),Qi(e.bb,13),Qi(e.bb,14),Qi(e.bb,15),Qi(e.bb,16),Ni(e.bb,17),Gc(e.bb),Gc(e.bb),e.eb=_o(e,16),Qi(e.eb,2),Qi(e.eb,3),Qi(e.eb,4),Qi(e.eb,5),Qi(e.eb,6),Qi(e.eb,7),Ni(e.eb,8),Ni(e.eb,9),e.ab=_o(e,17),Qi(e.ab,0),Qi(e.ab,1),e.H=_o(e,18),Ni(e.H,0),Ni(e.H,1),Ni(e.H,2),Ni(e.H,3),Ni(e.H,4),Ni(e.H,5),Gc(e.H),e.db=_o(e,19),Ni(e.db,2),e.c=Zt(e,20),e.d=Zt(e,21),e.e=Zt(e,22),e.f=Zt(e,23),e.i=Zt(e,24),e.g=Zt(e,25),e.j=Zt(e,26),e.k=Zt(e,27),e.n=Zt(e,28),e.r=Zt(e,29),e.s=Zt(e,30),e.t=Zt(e,31),e.u=Zt(e,32),e.fb=Zt(e,33),e.A=Zt(e,34),e.C=Zt(e,35),e.D=Zt(e,36),e.F=Zt(e,37),e.G=Zt(e,38),e.I=Zt(e,39),e.J=Zt(e,40),e.L=Zt(e,41),e.M=Zt(e,42),e.N=Zt(e,43),e.O=Zt(e,44),e.P=Zt(e,45),e.X=Zt(e,46),e.Y=Zt(e,47),e.Z=Zt(e,48),e.$=Zt(e,49),e._=Zt(e,50),e.cb=Zt(e,51),e.K=Zt(e,52));}function lVn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn;for(s=new $i,pe=o(M(t,($e(),nf)),88),x=0,Vr(s,(!n.a&&(n.a=new he(ti,n,10,11)),n.a));s.b!=0;){b=o(s.b==0?null:(Zn(s.b!=0),pf(s,s.a.a)),27),d=Bi(b),(Z(be(d,Nh))!==Z((qa(),rd))||Z(be(d,kw))===Z((G1(),F6))||Z(be(d,kw))===Z((G1(),B6))||De(Le(be(d,ng)))||Z(be(d,Np))!==Z((nw(),Tp))||Z(be(d,u0))===Z((Ff(),ug))||Z(be(d,u0))===Z((Ff(),Bp))||Z(be(d,_w))===Z((Y1(),Q6))||Z(be(d,_w))===Z((Y1(),Z6)))&&!De(Le(be(b,UO)))&&yi(b,(Ee(),_i),je(x++)),D=!De(Le(be(b,jw))),D&&(E=(!b.a&&(b.a=new he(ti,b,10,11)),b.a).i!=0,T=BAn(b),S=Z(be(b,Op))===Z((i1(),fd)),Xn=!sa(b,(Wt(),r5))||UFe(Nt(be(b,r5))),X=null,Xn&&S&&(E||T)&&(X=ZJe(b),de(X,nf,pe),Ii(X,Oj)&&eIe(new Sre(J(re(M(X,Oj)))),X),o(be(b,Sw),181).gc()!=0&&(m=X,tr(new rn(null,(!b.c&&(b.c=new he(ws,b,9,9)),new ln(b.c,16))),new uTe(m)),GYe(b,X))),Ne=t,Ze=o(qn(e.a,Bi(b)),10),Ze&&(Ne=Ze.e),G=TZe(e,b,Ne),X&&(G.e=X,X.e=G,Vr(s,(!b.a&&(b.a=new he(ti,b,10,11)),b.a))));}for(x=0,Ji(s,n,s.c.b,s.c);s.b!=0;){for(c=o(s.b==0?null:(Zn(s.b!=0),pf(s,s.a.a)),27),h=new Hn((!c.b&&(c.b=new he(or,c,12,3)),c.b));h.e!=h.i.gc();){f=o(Wn(h),74),mJe(f),(Z(be(n,Nh))!==Z((qa(),rd))||Z(be(n,kw))===Z((G1(),F6))||Z(be(n,kw))===Z((G1(),B6))||De(Le(be(n,ng)))||Z(be(n,Np))!==Z((nw(),Tp))||Z(be(n,u0))===Z((Ff(),ug))||Z(be(n,u0))===Z((Ff(),Bp))||Z(be(n,_w))===Z((Y1(),Q6))||Z(be(n,_w))===Z((Y1(),Z6)))&&yi(f,(Ee(),_i),je(x++)),kn=to(o(z((!f.b&&(f.b=new bn(ct,f,4,7)),f.b),0),84)),En=to(o(z((!f.c&&(f.c=new bn(ct,f,5,8)),f.c),0),84)),!(De(Le(be(f,jw)))||De(Le(be(kn,jw)))||De(Le(be(En,jw))))&&(I=Pb(f)&&De(Le(be(kn,Ap)))&&De(Le(be(f,Ew))),ae=c,I||Vg(En,kn)?ae=kn:Vg(kn,En)&&(ae=En),Ne=t,Ze=o(qn(e.a,ae),10),Ze&&(Ne=Ze.e),H=Kue(e,f,ae,Ne),de(H,(Ee(),Pde),lFn(e,f,n,t)));}if(S=Z(be(c,Op))===Z((i1(),fd)),S){for(r=new Hn((!c.a&&(c.a=new he(ti,c,10,11)),c.a));r.e!=r.i.gc();){i=o(Wn(r),27),Xn=!sa(i,(Wt(),r5))||UFe(Nt(be(i,r5))),Je=Z(be(i,Op))===Z(fd),Xn&&Je&&Ji(s,i,s.c.b,s.c);}}}}function Ee(){Ee=V;var e,n;mi=new ki(Mse),Pde=new ki("coordinateOrigin"),Mz=new ki("processors"),Ide=new Gi("compoundNode",(jn(),!1)),Cj=new Gi("insideConnections",!1),$de=new ki("originalBendpoints"),Lde=new ki("originalDummyNodePosition"),Dde=new ki("originalLabelEdge"),M7=new ki("representedLabels"),T7=new ki("endLabels"),R3=new ki("endLabel.origin"),F3=new Gi("labelSide",(Xs(),sT)),jm=new Gi("maxEdgeThickness",0),ka=new Gi("reversed",!1),K3=new ki(qen),zl=new Gi("longEdgeSource",null),zf=new Gi("longEdgeTarget",null),Ip=new Gi("longEdgeHasLabelDummies",!1),Ij=new Gi("longEdgeBeforeLabelDummy",!1),DO=new Gi("edgeConstraint",(Q0(),lz)),Qb=new ki("inLayerLayoutUnit"),vw=new Gi("inLayerConstraint",(e1(),Mj)),B3=new Gi("inLayerSuccessorConstraint",new Te),Ade=new Gi("inLayerSuccessorConstraintBetweenNonDummies",!1),ls=new ki("portDummy"),LO=new Gi("crossingHint",je(0)),iu=new Gi("graphProperties",(n=o(Nl(pz),9),new af(n,o(ul(n,n.length),9),0))),Co=new Gi("externalPortSide",(Oe(),yo)),Ode=new Gi("externalPortSize",new Hr),Ez=new ki("externalPortReplacedDummies"),RO=new ki("externalPortReplacedDummy"),b1=new Gi("externalPortConnections",(e=o(Nl(Ec),9),new af(e,o(ul(e,e.length),9),0))),Zb=new Gi(Aen,0),Cde=new ki("barycenterAssociates"),H3=new ki("TopSideComments"),D3=new ki("BottomSideComments"),$O=new ki("CommentConnectionPort"),Sz=new Gi("inputCollect",!1),Tz=new Gi("outputCollect",!1),xj=new Gi("cyclic",!1),Nde=new ki("crossHierarchyMap"),Cz=new ki("targetOffset"),new Gi("splineLabelSize",new Hr),Mm=new ki("spacings"),BO=new Gi("partitionConstraint",!1),Jb=new ki("breakingPoint.info"),Fde=new ki("splines.survivingEdge"),yw=new ki("splines.route.start"),xm=new ki("splines.edgeChain"),Bde=new ki("originalPortConstraints"),eg=new ki("selfLoopHolder"),G6=new ki("splines.nsPortY"),_i=new ki("modelOrder"),jz=new ki("longEdgeTargetNode"),c0=new Gi(bnn,!1),Tm=new Gi(bnn,!1),_z=new ki("layerConstraints.hiddenNodes"),Rde=new ki("layerConstraints.opposidePort"),xz=new ki("targetNode.modelOrder");}function aVn(e,n,t,i){var r,c,s,f,h,d,b,m,E,S,T;for(m=dt(e.b,0);m.b!=m.d.c;){if(b=o(at(m),40),!un(b.c,fN)){for(c=o(oo(new rn(null,new ln(yDn(b,e),16)),os(new se,new ie,new Yn,R(L(Vc,1),we,108,0,[(ss(),fo)]))),15),n==(br(),Xc)||n==ro?c.jd(new Gke):c.jd(new zke),T=c.gc(),r=0;r0&&(f=o(ol(o(c.Xb(r),65).a),8).a,E=b.e.a+b.f.a/2,h=o(ol(o(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&p.Math.abs(h-S)/(p.Math.abs(f-E)/40)>50&&(S>h?dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a+i/5.3,b.e.b+b.f.b*s-i/2)):dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a+i/5.3,b.e.b+b.f.b*s+i/2)))),dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a,b.e.b+b.f.b*s))):n==ro?(d=J(re(M(b,(Mi(),Vl)))),b.e.a-i>d?dc(o(c.Xb(r),65).a,new ve(d-t,b.e.b+b.f.b*s)):o(c.Xb(r),65).a.b>0&&(f=o(ol(o(c.Xb(r),65).a),8).a,E=b.e.a+b.f.a/2,h=o(ol(o(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&p.Math.abs(h-S)/(p.Math.abs(f-E)/40)>50&&(S>h?dc(o(c.Xb(r),65).a,new ve(b.e.a-i/5.3,b.e.b+b.f.b*s-i/2)):dc(o(c.Xb(r),65).a,new ve(b.e.a-i/5.3,b.e.b+b.f.b*s+i/2)))),dc(o(c.Xb(r),65).a,new ve(b.e.a,b.e.b+b.f.b*s))):n==If?(d=J(re(M(b,(Mi(),kl)))),b.e.b+b.f.b+i0&&(f=o(ol(o(c.Xb(r),65).a),8).a,E=b.e.a+b.f.a/2,h=o(ol(o(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&p.Math.abs(f-E)/(p.Math.abs(h-S)/40)>50&&(E>f?dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s-i/2,b.e.b+i/5.3+b.f.b)):dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s+i/2,b.e.b+i/5.3+b.f.b)))),dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s,b.e.b+b.f.b))):(d=J(re(M(b,(Mi(),Vl)))),qUe(o(c.Xb(r),65),e)?dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s,o(ol(o(c.Xb(r),65).a),8).b)):b.e.b-i>d?dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s,d-t)):o(c.Xb(r),65).a.b>0&&(f=o(ol(o(c.Xb(r),65).a),8).a,E=b.e.a+b.f.a/2,h=o(ol(o(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&p.Math.abs(f-E)/(p.Math.abs(h-S)/40)>50&&(E>f?dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s-i/2,b.e.b-i/5.3)):dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s+i/2,b.e.b-i/5.3)))),dc(o(c.Xb(r),65).a,new ve(b.e.a+b.f.a*s,b.e.b)));}}}}function Wt(){Wt=V;var e,n;r5=new ki(etn),Vm=new ki(ntn),Vge=(vh(),oW),z1n=new tn($fe,Vge),Fm=new tn(S3,null),V1n=new ki(Wle),Xge=(iw(),Pi(fW,R(L(lW,1),we,298,0,[sW]))),Zj=new tn(rN,Xge),eT=new tn(QS,(jn(),!1)),Yge=(br(),ja),Cw=new tn(Wq,Yge),Zge=(r1(),_W),Qge=new tn(JS,Zge),Y1n=new tn(zle,!1),tpe=(i1(),BA),qm=new tn(iN,tpe),ape=new Zw(12),sd=new tn(Bb,ape),tT=new tn(Uk,!1),wW=new tn(oN,!1),iT=new tn(Gk,!1),gpe=(Kr(),w0),o9=new tn(wq,gpe),V3=new ki(cN),rT=new ki(HS),kW=new ki(BP),EW=new ki(qk),ipe=new Hu,lg=new tn(zfe,ipe),X1n=new tn(Xfe,!1),J1n=new tn(Yfe,!1),rpe=new L5,c5=new tn(Qfe,rpe),$A=new tn(Ofe,!1),ndn=new tn(ttn,1),Hm=new ki(itn),Km=new ki(rtn),o5=new tn(qS,!1),new tn(ctn,!0),je(0),new tn(otn,je(100)),new tn(utn,!1),je(0),new tn(stn,je(4e3)),je(0),new tn(ftn,je(400)),new tn(ltn,!1),new tn(atn,!1),new tn(htn,!0),new tn(dtn,!1),Wge=(EI(),MW),W1n=new tn(Vle,Wge),tdn=new tn(Efe,10),idn=new tn(_fe,10),ype=new tn(uq,20),rdn=new tn(Sfe,10),kpe=new tn(dq,2),Epe=new tn(Vq,10),_pe=new tn(jfe,0),LA=new tn(xfe,5),Spe=new tn(Tfe,1),jpe=new tn(Mfe,1),Pw=new tn(gp,20),cdn=new tn(Cfe,10),xpe=new tn(Ife,10),W3=new ki(Pfe),Mpe=new yOe,Tpe=new tn(Zfe,Mpe),Z1n=new ki(Yq),hpe=!1,Q1n=new tn(Xq,hpe),ope=new Zw(5),cpe=new tn(Rfe,ope),upe=(op(),n=o(Nl(Oc),9),new af(n,o(ul(n,n.length),9),0)),Um=new tn(g6,upe),wpe=(H2(),d0),dpe=new tn(Kfe,wpe),gW=new ki(Hfe),pW=new ki(qfe),mW=new ki(Ufe),bW=new ki(Gfe),spe=(e=o(Nl(w9),9),new af(e,o(ul(e,e.length),9),0)),Iw=new tn(sm,spe),lpe=Qe((ks(),a5)),a0=new tn(j3,lpe),fpe=new ve(0,0),Gm=new tn(T3,fpe),qp=new tn(b6,!1),Jge=(la(),u5),hW=new tn(Vfe,Jge),aW=new tn(FP,!1),je(1),new tn(wtn,null),bpe=new ki(Jfe),vW=new ki(Wfe),vpe=(Oe(),yo),zm=new tn(Afe,vpe),js=new ki(Nfe),ppe=(fs(),Qe(b0)),Up=new tn(p6,ppe),yW=new tn(Bfe,!1),mpe=new tn(Ffe,!0),RA=new tn(US,1),Cpe=new tn(Xle,null),cT=new tn(GS,150),DA=new tn(zS,1.414),X3=new tn(Fb,null),odn=new tn(Yle,1),nT=new tn(Lfe,!1),dW=new tn(Dfe,!1),epe=new tn(sq,1),npe=(YI(),jW),new tn(btn,npe),edn=!0,sdn=(r3(),Vp),fdn=Vp,udn=Vp;}function hc(){hc=V,x1e=new ar("DIRECTION_PREPROCESSOR",0),j1e=new ar("COMMENT_PREPROCESSOR",1),mm=new ar("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),zG=new ar("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),V1e=new ar("PARTITION_PREPROCESSOR",4),fO=new ar("LABEL_DUMMY_INSERTER",5),vO=new ar("SELF_LOOP_PREPROCESSOR",6),xp=new ar("LAYER_CONSTRAINT_PREPROCESSOR",7),G1e=new ar("PARTITION_MIDPROCESSOR",8),L1e=new ar("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),q1e=new ar("NODE_PROMOTION",10),Mp=new ar("LAYER_CONSTRAINT_POSTPROCESSOR",11),z1e=new ar("PARTITION_POSTPROCESSOR",12),O1e=new ar("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),W1e=new ar("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),v1e=new ar("BREAKING_POINT_INSERTER",15),dO=new ar("LONG_EDGE_SPLITTER",16),VG=new ar("PORT_SIDE_PROCESSOR",17),uO=new ar("INVERTED_PORT_PROCESSOR",18),gO=new ar("PORT_LIST_SORTER",19),Y1e=new ar("SORT_BY_INPUT_ORDER_OF_MODEL",20),bO=new ar("NORTH_SOUTH_PORT_PREPROCESSOR",21),y1e=new ar("BREAKING_POINT_PROCESSOR",22),U1e=new ar(unn,23),J1e=new ar(snn,24),pO=new ar("SELF_LOOP_PORT_RESTORER",25),X1e=new ar("SINGLE_EDGE_GRAPH_WRAPPER",26),sO=new ar("IN_LAYER_CONSTRAINT_PROCESSOR",27),I1e=new ar("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),K1e=new ar("LABEL_AND_NODE_SIZE_PROCESSOR",29),F1e=new ar("INNERMOST_NODE_MARGIN_CALCULATOR",30),yO=new ar("SELF_LOOP_ROUTER",31),_1e=new ar("COMMENT_NODE_MARGIN_CALCULATOR",32),oO=new ar("END_LABEL_PREPROCESSOR",33),aO=new ar("LABEL_DUMMY_SWITCHER",34),E1e=new ar("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),O6=new ar("LABEL_SIDE_SELECTOR",36),R1e=new ar("HYPEREDGE_DUMMY_MERGER",37),A1e=new ar("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),H1e=new ar("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),y7=new ar("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),T1e=new ar("CONSTRAINTS_POSTPROCESSOR",41),S1e=new ar("COMMENT_POSTPROCESSOR",42),B1e=new ar("HYPERNODE_PROCESSOR",43),$1e=new ar("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),hO=new ar("LONG_EDGE_JOINER",45),mO=new ar("SELF_LOOP_POSTPROCESSOR",46),k1e=new ar("BREAKING_POINT_REMOVER",47),wO=new ar("NORTH_SOUTH_PORT_POSTPROCESSOR",48),D1e=new ar("HORIZONTAL_COMPACTOR",49),lO=new ar("LABEL_DUMMY_REMOVER",50),P1e=new ar("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),C1e=new ar("END_LABEL_SORTER",52),Ej=new ar("REVERSED_EDGE_RESTORER",53),cO=new ar("END_LABEL_POSTPROCESSOR",54),N1e=new ar("HIERARCHICAL_NODE_RESIZER",55),M1e=new ar("DIRECTION_POSTPROCESSOR",56);}function Hue(){Hue=V,Jde=(j_(),xO),ksn=new tn(Dse,Jde),Osn=new tn(Rse,(jn(),!1)),i0e=(vC(),kz),Rsn=new tn(UP,i0e),Zsn=new tn(Bse,!1),efn=new tn(Fse,!0),Vun=new tn(Kse,!1),a0e=(__(),tV),bfn=new tn(Hse,a0e),je(1),_fn=new tn(qse,je(7)),Sfn=new tn(Use,!1),Asn=new tn(Gse,!1),Yde=(G1(),sz),ysn=new tn(kq,Yde),o0e=(Y1(),Wz),Qsn=new tn(YS,o0e),r0e=(Ef(),Pj),Usn=new tn(zse,r0e),je(-1),qsn=new tn(Vse,null),je(-1),Gsn=new tn(Wse,je(-1)),je(-1),zsn=new tn(Eq,je(4)),je(-1),Wsn=new tn(_q,je(2)),c0e=(Ff(),oA),Jsn=new tn(Sq,c0e),je(0),Ysn=new tn(jq,je(0)),Ksn=new tn(Tq,je(fi)),Xde=(U8(),E7),vsn=new tn(Wk,Xde),rsn=new tn(Xse,!1),asn=new tn(Mq,.1),psn=new tn(xq,!1),dsn=new tn(Yse,null),wsn=new tn(Jse,null),je(-1),bsn=new tn(Qse,null),je(-1),gsn=new tn(Zse,je(-1)),je(0),csn=new tn(efe,je(40)),Wde=(E4(),vz),fsn=new tn(Cq,Wde),Vde=Tj,osn=new tn(GP,Vde),l0e=(lk(),L7),wfn=new tn(fm,l0e),cfn=new ki(zP),u0e=(m_(),IO),nfn=new tn(Iq,u0e),s0e=(rS(),PO),ifn=new tn(Pq,s0e),sfn=new tn(Nq,.3),lfn=new ki(Oq),f0e=(ep(),cA),afn=new tn(Aq,f0e),e0e=(uI(),rV),Tsn=new tn(nfe,e0e),n0e=(J8(),oV),Msn=new tn(tfe,n0e),t0e=(I4(),B7),xsn=new tn(VP,t0e),Isn=new tn(WP,.2),Ssn=new tn($q,2),vfn=new tn(ife,null),kfn=new tn(rfe,10),yfn=new tn(cfe,10),Efn=new tn(ofe,20),je(0),gfn=new tn(ufe,je(0)),je(0),pfn=new tn(sfe,je(0)),je(0),mfn=new tn(ffe,je(0)),Wun=new tn(Lq,!1),qde=(G4(),_7),Yun=new tn(lfe,qde),Hde=(IC(),oz),Xun=new tn(afe,Hde),Lsn=new tn(XP,!1),je(0),$sn=new tn(Dq,je(16)),je(0),Dsn=new tn(Rq,je(5)),w0e=(aI(),fV),Ufn=new tn(h1,w0e),jfn=new tn(YP,10),xfn=new tn(JP,1),d0e=(VC(),MO),$fn=new tn(Xk,d0e),Pfn=new ki(Bq),h0e=je(1),je(0),Ofn=new tn(Fq,h0e),b0e=(zC(),sV),Wfn=new tn(QP,b0e),Gfn=new ki(ZP),Ffn=new tn(eN,!0),Rfn=new tn(nN,2),Hfn=new tn(Kq,!0),Zde=(QI(),CO),_sn=new tn(hfe,Zde),Qde=(a3(),D6),Esn=new tn(dfe,Qde),zde=(qa(),rd),isn=new tn(tN,zde),tsn=new tn(wfe,!1),nsn=new tn(bfe,!1),Ude=(nw(),Tp),Jun=new tn(Hq,Ude),Gde=(ek(),Xz),esn=new tn(gfe,Gde),Qun=new tn(qq,0),Zun=new tn(Uq,0),Fsn=fz,Bsn=jj,Vsn=iA,Xsn=iA,Hsn=Vz,hsn=(i1(),fd),msn=E7,lsn=E7,usn=E7,ssn=fd,ofn=D7,ufn=L7,tfn=L7,rfn=L7,ffn=Zz,dfn=D7,hfn=D7,Csn=(r1(),Y3),Psn=Y3,Nsn=B7,jsn=oT,Tfn=e5,Mfn=Fp,Cfn=e5,Ifn=Fp,Lfn=e5,Dfn=Fp,Nfn=uz,Afn=MO,Xfn=e5,Yfn=Fp,zfn=e5,Vfn=Fp,Kfn=Fp,Bfn=Fp,qfn=Fp;}function hVn(e,n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn,En,Xn,ci,zi,bs,Yc,uf,Zm,gd,xl,Cl,$w,ty,_0,iy,sh,Bh,bg,ry,ev,fh,Lw,y1,Y0n,Q2e,gg,M9,UW,cy,x9,n2,C9,GW,J0n;for(Q2e=0,ci=n,Yc=0,gd=ci.length;Yc0&&(e.a[sh.p]=Q2e++);}}for(x9=0,zi=t,uf=0,xl=zi.length;uf0;){for(sh=(Zn(ev.b>0),o(ev.a.Xb(ev.c=--ev.b),12)),ry=0,f=new N(sh.e);f.a0&&(sh.j==(Oe(),Nn)?(e.a[sh.p]=x9,++x9):(e.a[sh.p]=x9+Cl+ty,++ty));}x9+=ty;}for(bg=new lt,T=new $a,Xn=n,bs=0,Zm=Xn.length;bsd.b&&(d.b=fh)):sh.i.c==Y0n&&(fhd.c&&(d.c=fh));}}for(o4(x,0,x.length,null),cy=ce(vt,Gt,28,x.length,15,1),i=ce(vt,Gt,28,x9+1,15,1),D=0;D0;){Ne%2>0&&(r+=GW[Ne+1]),Ne=(Ne-1)/2|0,++GW[Ne];}}for(Je=ce(Wln,vn,374,x.length*2,0,1),X=0;X0&&t_(bs.f),be(D,Cpe)!=null&&(f=o(be(D,Cpe),347),bg=f.Tg(D),S2(D,p.Math.max(D.g,bg.a),p.Math.max(D.f,bg.b)));}}if(xl=o(be(n,sd),107),S=n.g-(xl.b+xl.c),E=n.f-(xl.d+xl.a),fh.bh("Available Child Area: ("+S+"|"+E+")"),yi(n,Fm,S/E),_ze(n,r,i.eh(Zm)),o(be(n,X3),280)==GA&&(Rue(n),S2(n,xl.b+J(re(be(n,Hm)))+xl.c,xl.d+J(re(be(n,Km)))+xl.a)),fh.bh("Executed layout algorithm: "+Nt(be(n,r5))+" on node "+n.k),o(be(n,X3),280)==Vp){if(S<0||E<0){throw O(new j1("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));}for(sa(n,Hm)||sa(n,Km)||Rue(n),x=J(re(be(n,Hm))),T=J(re(be(n,Km))),fh.bh("Desired Child Area: ("+x+"|"+T+")"),$w=S/x,ty=E/T,Cl=p.Math.min($w,p.Math.min(ty,J(re(be(n,odn))))),yi(n,RA,Cl),fh.bh(n.k+" -- Local Scale Factor (X|Y): ("+$w+"|"+ty+")"),X=o(be(n,Zj),21),c=0,s=0,Cl<$w&&(X.Hc((iw(),t9))?c=(S/2-x*Cl/2)/Cl:X.Hc(i9)&&(c=(S-x*Cl)/Cl)),Cl'?":un(Vtn,e)?"'(?<' or '(? toIndex: ",cse=", toIndex: ",ose="Index: ",use=", Size: ",a6="org.eclipse.elk.alg.common",Dt={50:1},gen="org.eclipse.elk.alg.common.compaction",pen="Scanline/EventHandler",Th="org.eclipse.elk.alg.common.compaction.oned",men="CNode belongs to another CGroup.",ven="ISpacingsHandler/1",XH="The ",YH=" instance has been finished already.",yen="The direction ",ken=" is not supported by the CGraph instance.",Een="OneDimensionalCompactor",_en="OneDimensionalCompactor/lambda$0$Type",Sen="Quadruplet",jen="ScanlineConstraintCalculator",Ten="ScanlineConstraintCalculator/ConstraintsScanlineHandler",Men="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",xen="ScanlineConstraintCalculator/Timestamp",Cen="ScanlineConstraintCalculator/lambda$0$Type",Xa={178:1,46:1},JH="org.eclipse.elk.alg.common.compaction.options",vo="org.eclipse.elk.core.data",sse="org.eclipse.elk.polyomino.traversalStrategy",fse="org.eclipse.elk.polyomino.lowLevelSort",lse="org.eclipse.elk.polyomino.highLevelSort",ase="org.eclipse.elk.polyomino.fill",Kf={134:1},QH="polyomino",Fk="org.eclipse.elk.alg.common.networksimplex",Mh={183:1,3:1,4:1},Ien="org.eclipse.elk.alg.common.nodespacing",sw="org.eclipse.elk.alg.common.nodespacing.cellsystem",h6="CENTER",Pen={217:1,336:1},hse={3:1,4:1,5:1,603:1},k3="LEFT",E3="RIGHT",dse="Vertical alignment cannot be null",wse="BOTTOM",OP="org.eclipse.elk.alg.common.nodespacing.internal",Kk="UNDEFINED",ga=.01,BS="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",Nen="LabelPlacer/lambda$0$Type",Oen="LabelPlacer/lambda$1$Type",Aen="portRatioOrPosition",d6="org.eclipse.elk.alg.common.overlaps",ZH="DOWN",Ya="org.eclipse.elk.alg.common.polyomino",AP="NORTH",eq="EAST",nq="SOUTH",tq="WEST",$P="org.eclipse.elk.alg.common.polyomino.structures",bse="Direction",iq="Grid is only of size ",rq=". Requested point (",cq=") is out of bounds.",LP=" Given center based coordinates were (",FS="org.eclipse.elk.graph.properties",$en="IPropertyHolder",gse={3:1,96:1,137:1},_3="org.eclipse.elk.alg.common.spore",Len="org.eclipse.elk.alg.common.utils",fw={205:1},cm="org.eclipse.elk.core",Den="Connected Components Compaction",Ren="org.eclipse.elk.alg.disco",DP="org.eclipse.elk.alg.disco.graph",oq="org.eclipse.elk.alg.disco.options",pse="CompactionStrategy",mse="org.eclipse.elk.disco.componentCompaction.strategy",vse="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",yse="org.eclipse.elk.disco.debug.discoGraph",kse="org.eclipse.elk.disco.debug.discoPolys",Ben="componentCompaction",lw="org.eclipse.elk.disco",uq="org.eclipse.elk.spacing.componentComponent",sq="org.eclipse.elk.edge.thickness",S3="org.eclipse.elk.aspectRatio",Bb="org.eclipse.elk.padding",om="org.eclipse.elk.alg.disco.transform",fq=1.5707963267948966,um=17976931348623157e292,bp={3:1,4:1,5:1,198:1},Fen={3:1,6:1,4:1,5:1,100:1,115:1},lq="org.eclipse.elk.alg.force",Ese="ComponentsProcessor",Ken="ComponentsProcessor/1",_se="ElkGraphImporter/lambda$0$Type",KS="org.eclipse.elk.alg.force.graph",Hen="Component Layout",Sse="org.eclipse.elk.alg.force.model",RP="org.eclipse.elk.force.model",jse="org.eclipse.elk.force.iterations",Tse="org.eclipse.elk.force.repulsivePower",aq="org.eclipse.elk.force.temperature",Ja=.001,hq="org.eclipse.elk.force.repulsion",Hk="org.eclipse.elk.alg.force.options",w6=1.600000023841858,_u="org.eclipse.elk.force",HS="org.eclipse.elk.priority",gp="org.eclipse.elk.spacing.nodeNode",dq="org.eclipse.elk.spacing.edgeLabel",BP="org.eclipse.elk.randomSeed",qk="org.eclipse.elk.separateConnectedComponents",Uk="org.eclipse.elk.interactive",wq="org.eclipse.elk.portConstraints",FP="org.eclipse.elk.edgeLabels.inline",Gk="org.eclipse.elk.omitNodeMicroLayout",b6="org.eclipse.elk.nodeSize.fixedGraphSize",j3="org.eclipse.elk.nodeSize.options",sm="org.eclipse.elk.nodeSize.constraints",g6="org.eclipse.elk.nodeLabels.placement",p6="org.eclipse.elk.portLabels.placement",qS="org.eclipse.elk.topdownLayout",US="org.eclipse.elk.topdown.scaleFactor",GS="org.eclipse.elk.topdown.hierarchicalNodeWidth",zS="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",Fb="org.eclipse.elk.topdown.nodeType",Mse="origin",qen="random",Uen="boundingBox.upLeft",Gen="boundingBox.lowRight",xse="org.eclipse.elk.stress.fixed",Cse="org.eclipse.elk.stress.desiredEdgeLength",Ise="org.eclipse.elk.stress.dimension",Pse="org.eclipse.elk.stress.epsilon",Nse="org.eclipse.elk.stress.iterationLimit",Yd="org.eclipse.elk.stress",zen="ELK Stress",T3="org.eclipse.elk.nodeSize.minimum",KP="org.eclipse.elk.alg.force.stress",Ven="Layered layout",M3="org.eclipse.elk.alg.layered",VS="org.eclipse.elk.alg.layered.compaction.components",zk="org.eclipse.elk.alg.layered.compaction.oned",HP="org.eclipse.elk.alg.layered.compaction.oned.algs",aw="org.eclipse.elk.alg.layered.compaction.recthull",pa="org.eclipse.elk.alg.layered.components",Qa="NONE",Ose="MODEL_ORDER",Ro={3:1,6:1,4:1,9:1,5:1,126:1},Wen={3:1,6:1,4:1,5:1,150:1,100:1,115:1},qP="org.eclipse.elk.alg.layered.compound",Ci={47:1},Zo="org.eclipse.elk.alg.layered.graph",bq=" -> ",Xen="Not supported by LGraph",Ase="Port side is undefined",gq={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},Q1={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},Yen={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},Jen=`([{"' \r -`,Qen=`)]}"' \r -`,Zen="The given string contains parts that cannot be parsed as numbers.",WS="org.eclipse.elk.core.math",enn={3:1,4:1,140:1,214:1,423:1},nnn={3:1,4:1,107:1,214:1,423:1},Z1="org.eclipse.elk.alg.layered.graph.transform",tnn="ElkGraphImporter",inn="ElkGraphImporter/lambda$1$Type",rnn="ElkGraphImporter/lambda$2$Type",cnn="ElkGraphImporter/lambda$4$Type",Ln="org.eclipse.elk.alg.layered.intermediate",onn="Node margin calculation",unn="ONE_SIDED_GREEDY_SWITCH",snn="TWO_SIDED_GREEDY_SWITCH",pq="No implementation is available for the layout processor ",mq="IntermediateProcessorStrategy",vq="Node '",fnn="FIRST_SEPARATE",lnn="LAST_SEPARATE",ann="Odd port side processing",_r="org.eclipse.elk.alg.layered.intermediate.compaction",Vk="org.eclipse.elk.alg.layered.intermediate.greedyswitch",xh="org.eclipse.elk.alg.layered.p3order.counting",XS={230:1},x3="org.eclipse.elk.alg.layered.intermediate.loops",Zs="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Jd="org.eclipse.elk.alg.layered.intermediate.loops.routing",$se="org.eclipse.elk.alg.layered.intermediate.preserveorder",Za="org.eclipse.elk.alg.layered.intermediate.wrapping",Bo="org.eclipse.elk.alg.layered.options",yq="INTERACTIVE",Lse="GREEDY",hnn="DEPTH_FIRST",dnn="EDGE_LENGTH",wnn="SELF_LOOPS",bnn="firstTryWithInitialOrder",Dse="org.eclipse.elk.layered.directionCongruency",Rse="org.eclipse.elk.layered.feedbackEdges",UP="org.eclipse.elk.layered.interactiveReferencePoint",Bse="org.eclipse.elk.layered.mergeEdges",Fse="org.eclipse.elk.layered.mergeHierarchyEdges",Kse="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Hse="org.eclipse.elk.layered.portSortingStrategy",qse="org.eclipse.elk.layered.thoroughness",Use="org.eclipse.elk.layered.unnecessaryBendpoints",Gse="org.eclipse.elk.layered.generatePositionAndLayerIds",kq="org.eclipse.elk.layered.cycleBreaking.strategy",YS="org.eclipse.elk.layered.layering.strategy",zse="org.eclipse.elk.layered.layering.layerConstraint",Vse="org.eclipse.elk.layered.layering.layerChoiceConstraint",Wse="org.eclipse.elk.layered.layering.layerId",Eq="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",_q="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",Sq="org.eclipse.elk.layered.layering.nodePromotion.strategy",jq="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",Tq="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",Wk="org.eclipse.elk.layered.crossingMinimization.strategy",Xse="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",Mq="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",xq="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Yse="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Jse="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Qse="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Zse="org.eclipse.elk.layered.crossingMinimization.positionId",efe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",Cq="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",GP="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",fm="org.eclipse.elk.layered.nodePlacement.strategy",zP="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",Iq="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",Pq="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",Nq="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",Oq="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",Aq="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",nfe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",tfe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",VP="org.eclipse.elk.layered.edgeRouting.splines.mode",WP="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",$q="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",ife="org.eclipse.elk.layered.spacing.baseValue",rfe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",cfe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",ofe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",ufe="org.eclipse.elk.layered.priority.direction",sfe="org.eclipse.elk.layered.priority.shortness",ffe="org.eclipse.elk.layered.priority.straightness",Lq="org.eclipse.elk.layered.compaction.connectedComponents",lfe="org.eclipse.elk.layered.compaction.postCompaction.strategy",afe="org.eclipse.elk.layered.compaction.postCompaction.constraints",XP="org.eclipse.elk.layered.highDegreeNodes.treatment",Dq="org.eclipse.elk.layered.highDegreeNodes.threshold",Rq="org.eclipse.elk.layered.highDegreeNodes.treeHeight",h1="org.eclipse.elk.layered.wrapping.strategy",YP="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",JP="org.eclipse.elk.layered.wrapping.correctionFactor",Xk="org.eclipse.elk.layered.wrapping.cutting.strategy",Bq="org.eclipse.elk.layered.wrapping.cutting.cuts",Fq="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",QP="org.eclipse.elk.layered.wrapping.validify.strategy",ZP="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",eN="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",nN="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",Kq="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",hfe="org.eclipse.elk.layered.edgeLabels.sideSelection",dfe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",tN="org.eclipse.elk.layered.considerModelOrder.strategy",wfe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",bfe="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Hq="org.eclipse.elk.layered.considerModelOrder.components",gfe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",qq="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Uq="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Gq="layering",gnn="layering.minWidth",pnn="layering.nodePromotion",m6="crossingMinimization",iN="org.eclipse.elk.hierarchyHandling",mnn="crossingMinimization.greedySwitch",vnn="nodePlacement",ynn="nodePlacement.bk",knn="edgeRouting",JS="org.eclipse.elk.edgeRouting",ma="spacing",pfe="priority",mfe="compaction",Enn="compaction.postCompaction",_nn="Specifies whether and how post-process compaction is applied.",vfe="highDegreeNodes",yfe="wrapping",Snn="wrapping.cutting",jnn="wrapping.validify",kfe="wrapping.multiEdge",zq="edgeLabels",Yk="considerModelOrder",Efe="org.eclipse.elk.spacing.commentComment",_fe="org.eclipse.elk.spacing.commentNode",Sfe="org.eclipse.elk.spacing.edgeEdge",Vq="org.eclipse.elk.spacing.edgeNode",jfe="org.eclipse.elk.spacing.labelLabel",Tfe="org.eclipse.elk.spacing.labelPortHorizontal",Mfe="org.eclipse.elk.spacing.labelPortVertical",xfe="org.eclipse.elk.spacing.labelNode",Cfe="org.eclipse.elk.spacing.nodeSelfLoop",Ife="org.eclipse.elk.spacing.portPort",Pfe="org.eclipse.elk.spacing.individual",Nfe="org.eclipse.elk.port.borderOffset",Ofe="org.eclipse.elk.noLayout",Afe="org.eclipse.elk.port.side",QS="org.eclipse.elk.debugMode",$fe="org.eclipse.elk.alignment",Lfe="org.eclipse.elk.insideSelfLoops.activate",Dfe="org.eclipse.elk.insideSelfLoops.yo",Wq="org.eclipse.elk.direction",Rfe="org.eclipse.elk.nodeLabels.padding",Bfe="org.eclipse.elk.portLabels.nextToPortIfPossible",Ffe="org.eclipse.elk.portLabels.treatAsGroup",Kfe="org.eclipse.elk.portAlignment.default",Hfe="org.eclipse.elk.portAlignment.north",qfe="org.eclipse.elk.portAlignment.south",Ufe="org.eclipse.elk.portAlignment.west",Gfe="org.eclipse.elk.portAlignment.east",rN="org.eclipse.elk.contentAlignment",zfe="org.eclipse.elk.junctionPoints",Vfe="org.eclipse.elk.edgeLabels.placement",Wfe="org.eclipse.elk.port.index",Xfe="org.eclipse.elk.commentBox",Yfe="org.eclipse.elk.hypernode",Jfe="org.eclipse.elk.port.anchor",Xq="org.eclipse.elk.partitioning.activate",Yq="org.eclipse.elk.partitioning.partition",cN="org.eclipse.elk.position",Qfe="org.eclipse.elk.margins",Zfe="org.eclipse.elk.spacing.portsSurrounding",oN="org.eclipse.elk.interactiveLayout",To="org.eclipse.elk.core.util",ele={3:1,4:1,5:1,601:1},Tnn="NETWORK_SIMPLEX",nle="SIMPLE",Pc={106:1,47:1},uN="org.eclipse.elk.alg.layered.p1cycles",d1="org.eclipse.elk.alg.layered.p2layers",tle={413:1,230:1},Mnn={846:1,3:1,4:1},Ju="org.eclipse.elk.alg.layered.p3order",Nc="org.eclipse.elk.alg.layered.p4nodes",xnn={3:1,4:1,5:1,854:1},eh=1e-5,Qd="org.eclipse.elk.alg.layered.p4nodes.bk",Jq="org.eclipse.elk.alg.layered.p5edges",ql="org.eclipse.elk.alg.layered.p5edges.orthogonal",Qq="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Zq=1e-6,pp="org.eclipse.elk.alg.layered.p5edges.splines",eU=.09999999999999998,sN=1e-8,Cnn=4.71238898038469,ile=3.141592653589793,w1="org.eclipse.elk.alg.mrtree",nU=.10000000149011612,fN="SUPER_ROOT",Jk="org.eclipse.elk.alg.mrtree.graph",rle=-17976931348623157e292,eu="org.eclipse.elk.alg.mrtree.intermediate",Inn="Processor compute fanout",lN={3:1,6:1,4:1,5:1,534:1,100:1,115:1},Pnn="Set neighbors in level",ZS="org.eclipse.elk.alg.mrtree.options",Nnn="DESCENDANTS",cle="org.eclipse.elk.mrtree.compaction",ole="org.eclipse.elk.mrtree.edgeEndTextureLength",ule="org.eclipse.elk.mrtree.treeLevel",sle="org.eclipse.elk.mrtree.positionConstraint",fle="org.eclipse.elk.mrtree.weighting",lle="org.eclipse.elk.mrtree.edgeRoutingMode",ale="org.eclipse.elk.mrtree.searchOrder",Onn="Position Constraint",Su="org.eclipse.elk.mrtree",Ann="org.eclipse.elk.tree",$nn="Processor arrange level",v6="org.eclipse.elk.alg.mrtree.p2order",Bs="org.eclipse.elk.alg.mrtree.p4route",hle="org.eclipse.elk.alg.radial",hw=6.283185307179586,dle="Before",wle=5e-324,aN="After",ble="org.eclipse.elk.alg.radial.intermediate",Lnn="COMPACTION",tU="org.eclipse.elk.alg.radial.intermediate.compaction",Dnn={3:1,4:1,5:1,100:1},gle="org.eclipse.elk.alg.radial.intermediate.optimization",iU="No implementation is available for the layout option ",Qk="org.eclipse.elk.alg.radial.options",ple="org.eclipse.elk.radial.centerOnRoot",mle="org.eclipse.elk.radial.orderId",vle="org.eclipse.elk.radial.radius",hN="org.eclipse.elk.radial.rotate",rU="org.eclipse.elk.radial.compactor",cU="org.eclipse.elk.radial.compactionStepSize",yle="org.eclipse.elk.radial.sorter",kle="org.eclipse.elk.radial.wedgeCriteria",Ele="org.eclipse.elk.radial.optimizationCriteria",oU="org.eclipse.elk.radial.rotation.targetAngle",uU="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",_le="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",Rnn="Compaction",Sle="rotation",jf="org.eclipse.elk.radial",Bnn="org.eclipse.elk.alg.radial.p1position.wedge",jle="org.eclipse.elk.alg.radial.sorting",Fnn=5.497787143782138,Knn=3.9269908169872414,Hnn=2.356194490192345,qnn="org.eclipse.elk.alg.rectpacking",dN="org.eclipse.elk.alg.rectpacking.intermediate",sU="org.eclipse.elk.alg.rectpacking.options",Tle="org.eclipse.elk.rectpacking.trybox",Mle="org.eclipse.elk.rectpacking.currentPosition",xle="org.eclipse.elk.rectpacking.desiredPosition",Cle="org.eclipse.elk.rectpacking.inNewRow",Ile="org.eclipse.elk.rectpacking.widthApproximation.strategy",Ple="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Nle="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Ole="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Ale="org.eclipse.elk.rectpacking.packing.strategy",$le="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Lle="org.eclipse.elk.rectpacking.packing.compaction.iterations",Dle="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",fU="widthApproximation",Unn="Compaction Strategy",Gnn="packing.compaction",_s="org.eclipse.elk.rectpacking",y6="org.eclipse.elk.alg.rectpacking.p1widthapproximation",wN="org.eclipse.elk.alg.rectpacking.p2packing",znn="No Compaction",Rle="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",ej="org.eclipse.elk.alg.rectpacking.util",bN="No implementation available for ",mp="org.eclipse.elk.alg.spore",vp="org.eclipse.elk.alg.spore.options",Kb="org.eclipse.elk.sporeCompaction",lU="org.eclipse.elk.underlyingLayoutAlgorithm",Ble="org.eclipse.elk.processingOrder.treeConstruction",Fle="org.eclipse.elk.processingOrder.spanningTreeCostFunction",aU="org.eclipse.elk.processingOrder.preferredRoot",hU="org.eclipse.elk.processingOrder.rootSelection",dU="org.eclipse.elk.structure.structureExtractionStrategy",Kle="org.eclipse.elk.compaction.compactionStrategy",Hle="org.eclipse.elk.compaction.orthogonal",qle="org.eclipse.elk.overlapRemoval.maxIterations",Ule="org.eclipse.elk.overlapRemoval.runScanline",wU="processingOrder",Vnn="overlapRemoval",k6="org.eclipse.elk.sporeOverlap",Wnn="org.eclipse.elk.alg.spore.p1structure",bU="org.eclipse.elk.alg.spore.p2processingorder",gU="org.eclipse.elk.alg.spore.p3execution",Xnn="Topdown Layout",Ynn="Invalid index: ",E6="org.eclipse.elk.core.alg",lm={341:1},yp={295:1},Jnn="Make sure its type is registered with the ",Gle=" utility class.",_6="true",pU="false",Qnn="Couldn't clone property '",Hb=.05,Ss="org.eclipse.elk.core.options",Znn=1.2999999523162842,qb="org.eclipse.elk.box",zle="org.eclipse.elk.expandNodes",Vle="org.eclipse.elk.box.packingMode",etn="org.eclipse.elk.algorithm",ntn="org.eclipse.elk.resolvedAlgorithm",Wle="org.eclipse.elk.bendPoints",pVn="org.eclipse.elk.labelManager",ttn="org.eclipse.elk.scaleFactor",itn="org.eclipse.elk.childAreaWidth",rtn="org.eclipse.elk.childAreaHeight",ctn="org.eclipse.elk.animate",otn="org.eclipse.elk.animTimeFactor",utn="org.eclipse.elk.layoutAncestors",stn="org.eclipse.elk.maxAnimTime",ftn="org.eclipse.elk.minAnimTime",ltn="org.eclipse.elk.progressBar",atn="org.eclipse.elk.validateGraph",htn="org.eclipse.elk.validateOptions",dtn="org.eclipse.elk.zoomToFit",mVn="org.eclipse.elk.font.name",wtn="org.eclipse.elk.font.size",Xle="org.eclipse.elk.topdown.sizeApproximator",Yle="org.eclipse.elk.topdown.scaleCap",btn="org.eclipse.elk.edge.type",gtn="partitioning",ptn="nodeLabels",gN="portAlignment",mU="nodeSize",vU="port",Jle="portLabels",nj="topdown",mtn="insideSelfLoops",Zk="org.eclipse.elk.fixed",pN="org.eclipse.elk.random",Qle={3:1,34:1,22:1,347:1},vtn="port must have a parent node to calculate the port side",ytn="The edge needs to have exactly one edge section. Found: ",e7="org.eclipse.elk.core.util.adapters",Tf="org.eclipse.emf.ecore",am="org.eclipse.elk.graph",ktn="EMapPropertyHolder",Etn="ElkBendPoint",_tn="ElkGraphElement",Stn="ElkConnectableShape",Zle="ElkEdge",jtn="ElkEdgeSection",Ttn="EModelElement",Mtn="ENamedElement",eae="ElkLabel",nae="ElkNode",tae="ElkPort",xtn={94:1,93:1},C3="org.eclipse.emf.common.notify.impl",Zd="The feature '",n7="' is not a valid changeable feature",Ctn="Expecting null",yU="' is not a valid feature",Itn="The feature ID",Ptn=" is not a valid feature ID",Oo=32768,Ntn={110:1,94:1,93:1,58:1,54:1,99:1},Mn="org.eclipse.emf.ecore.impl",dw="org.eclipse.elk.graph.impl",t7="Recursive containment not allowed for ",S6="The datatype '",Ub="' is not a valid classifier",kU="The value '",hm={195:1,3:1,4:1},EU="The class '",j6="http://www.eclipse.org/elk/ElkGraph",iae="property",i7="value",_U="source",Otn="properties",Atn="identifier",SU="height",jU="width",TU="parent",MU="text",xU="children",$tn="hierarchical",rae="sources",CU="targets",cae="sections",mN="bendPoints",oae="outgoingShape",uae="incomingShape",sae="outgoingSections",fae="incomingSections",pc="org.eclipse.emf.common.util",lae="Severe implementation error in the Json to ElkGraph importer.",nh="id",Qr="org.eclipse.elk.graph.json",aae="Unhandled parameter types: ",Ltn="startPoint",Dtn="An edge must have at least one source and one target (edge id: '",T6="').",Rtn="Referenced edge section does not exist: ",Btn=" (edge id: '",hae="target",Ftn="sourcePoint",Ktn="targetPoint",vN="group",ni="name",Htn="connectableShape cannot be null",qtn="edge cannot be null",IU="Passed edge is not 'simple'.",yN="org.eclipse.elk.graph.util",tj="The 'no duplicates' constraint is violated",PU="targetIndex=",ww=", size=",NU="sourceIndex=",th={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},OU={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},kN="logging",Utn="measureExecutionTime",Gtn="parser.parse.1",ztn="parser.parse.2",EN="parser.next.1",AU="parser.next.2",Vtn="parser.next.3",Wtn="parser.next.4",bw="parser.factor.1",dae="parser.factor.2",Xtn="parser.factor.3",Ytn="parser.factor.4",Jtn="parser.factor.5",Qtn="parser.factor.6",Ztn="parser.atom.1",ein="parser.atom.2",nin="parser.atom.3",wae="parser.atom.4",$U="parser.atom.5",bae="parser.cc.1",_N="parser.cc.2",tin="parser.cc.3",iin="parser.cc.5",gae="parser.cc.6",pae="parser.cc.7",LU="parser.cc.8",rin="parser.ope.1",cin="parser.ope.2",oin="parser.ope.3",ed="parser.descape.1",uin="parser.descape.2",sin="parser.descape.3",fin="parser.descape.4",lin="parser.descape.5",Mf="parser.process.1",ain="parser.quantifier.1",hin="parser.quantifier.2",din="parser.quantifier.3",win="parser.quantifier.4",mae="parser.quantifier.5",bin="org.eclipse.emf.common.notify",vae={424:1,686:1},gin={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},ij={378:1,152:1},r7="index=",DU={3:1,4:1,5:1,129:1},pin={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},yae={3:1,6:1,4:1,5:1,198:1},min={3:1,4:1,5:1,173:1,379:1},vin=";/?:@&=+$,",yin="invalid authority: ",kin="EAnnotation",Ein="ETypedElement",_in="EStructuralFeature",Sin="EAttribute",jin="EClassifier",Tin="EEnumLiteral",Min="EGenericType",xin="EOperation",Cin="EParameter",Iin="EReference",Pin="ETypeParameter",Ri="org.eclipse.emf.ecore.util",RU={79:1},kae={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},Nin="org.eclipse.emf.ecore.util.FeatureMap$Entry",Qu=8192,kp=2048,c7="byte",SN="char",o7="double",u7="float",s7="int",f7="long",l7="short",Oin="java.lang.Object",dm={3:1,4:1,5:1,254:1},Eae={3:1,4:1,5:1,688:1},Ain={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},so={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},rj="mixed",Ht="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Hf="kind",$in={3:1,4:1,5:1,689:1},_ae={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},jN={20:1,31:1,56:1,16:1,15:1,61:1,71:1},TN={51:1,128:1,287:1},MN={76:1,343:1},xN="The value of type '",CN="' must be of type '",wm=1352,qf="http://www.eclipse.org/emf/2002/Ecore",IN=-32768,Gb="constraints",cc="baseType",Lin="getEStructuralFeature",Din="getFeatureID",a7="feature",Rin="getOperationID",Sae="operation",Bin="defaultValue",Fin="eTypeParameters",Kin="isInstance",Hin="getEEnumLiteral",qin="eContainingClass",Yt={57:1},Uin={3:1,4:1,5:1,124:1},Gin="org.eclipse.emf.ecore.resource",zin={94:1,93:1,599:1,2034:1},BU="org.eclipse.emf.ecore.resource.impl",jae="unspecified",cj="simple",PN="attribute",Vin="attributeWildcard",NN="element",FU="elementWildcard",Ul="collapse",KU="itemType",ON="namespace",oj="##targetNamespace",Uf="whiteSpace",Tae="wildcards",gw="http://www.eclipse.org/emf/2003/XMLType",HU="##any",M6="uninitialized",uj="The multiplicity constraint is violated",AN="org.eclipse.emf.ecore.xml.type",Win="ProcessingInstruction",Xin="SimpleAnyType",Yin="XMLTypeDocumentRoot",pr="org.eclipse.emf.ecore.xml.type.impl",sj="INF",Jin="processing",Qin="ENTITIES_._base",Mae="minLength",xae="ENTITY",$N="NCName",Zin="IDREFS_._base",Cae="integer",qU="token",UU="pattern",ern="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Iae="\\i\\c*",nrn="[\\i-[:]][\\c-[:]]*",trn="nonPositiveInteger",fj="maxInclusive",Pae="NMTOKEN",irn="NMTOKENS_._base",Nae="nonNegativeInteger",lj="minInclusive",rrn="normalizedString",crn="unsignedByte",orn="unsignedInt",urn="18446744073709551615",srn="unsignedShort",frn="processingInstruction",nd="org.eclipse.emf.ecore.xml.type.internal",x6=1114111,lrn="Internal Error: shorthands: \\u",h7="xml:isDigit",GU="xml:isWord",zU="xml:isSpace",VU="xml:isNameChar",WU="xml:isInitialNameChar",arn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",hrn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",drn="Private Use",XU="ASSIGNED",YU="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",Oae="UNASSIGNED",C6={3:1,122:1},wrn="org.eclipse.emf.ecore.xml.type.util",LN={3:1,4:1,5:1,381:1},Aae="org.eclipse.xtext.xbase.lib",brn="Cannot add elements to a Range",grn="Cannot set elements in a Range",prn="Cannot remove elements from a Range",mrn="user.agent",u,DN,JU;p.goog=p.goog||{},p.goog.global=p.goog.global||p,DN={},y(1,null,{},C),u.Fb=function(n){return gOe(this,n);},u.Gb=function(){return this.Rm;},u.Hb=function(){return nb(this);},u.Ib=function(){var n;return A0(Ds(this))+"@"+(n=xi(this)>>>0,n.toString(16));},u.equals=function(e){return this.Fb(e);},u.hashCode=function(){return this.Hb();},u.toString=function(){return this.Ib();};var vrn,yrn,krn;y(297,1,{297:1,2124:1},Cie),u.ve=function(n){var t;return t=new Cie,t.i=4,n>1?t.c=RRe(this,n-1):t.c=this,t;},u.we=function(){return zh(this),this.b;},u.xe=function(){return A0(this);},u.ye=function(){return zh(this),this.k;},u.ze=function(){return(this.i&4)!=0;},u.Ae=function(){return(this.i&1)!=0;},u.Ib=function(){return Fte(this);},u.i=0;var Ir=k(jo,"Object",1),$ae=k(jo,"Class",297);y(2096,1,xS),k(CS,"Optional",2096),y(1191,2096,xS,$),u.Fb=function(n){return n===this;},u.Hb=function(){return 2040732332;},u.Ib=function(){return"Optional.absent()";},u.Jb=function(n){return xt(n),R5(),QU;};var QU;k(CS,"Absent",1191),y(636,1,{},OL),k(CS,"Joiner",636);var vVn=Vi(CS,"Predicate");y(589,1,{178:1,589:1,3:1,46:1},GSe),u.Mb=function(n){return RUe(this,n);},u.Lb=function(n){return RUe(this,n);},u.Fb=function(n){var t;return U(n,589)?(t=o(n,589),Toe(this.a,t.a)):!1;},u.Hb=function(){return $ie(this.a)+306654252;},u.Ib=function(){return cLn(this.a);},k(CS,"Predicates/AndPredicate",589),y(419,2096,{419:1,3:1},cM),u.Fb=function(n){var t;return U(n,419)?(t=o(n,419),hi(this.a,t.a)):!1;},u.Hb=function(){return 1502476572+xi(this.a);},u.Ib=function(){return zZe+this.a+")";},u.Jb=function(n){return new cM(cC(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."));},k(CS,"Present",419),y(204,1,r6),u.Nb=function(n){Xr(this,n);},u.Qb=function(){cIe();},k(nn,"UnmodifiableIterator",204),y(2076,204,c6),u.Qb=function(){cIe();},u.Rb=function(n){throw O(new It);},u.Wb=function(n){throw O(new It);},k(nn,"UnmodifiableListIterator",2076),y(399,2076,c6),u.Ob=function(){return this.c0;},u.Pb=function(){if(this.c>=this.d){throw O(new ao);}return this.Xb(this.c++);},u.Tb=function(){return this.c;},u.Ub=function(){if(this.c<=0){throw O(new ao);}return this.Xb(--this.c);},u.Vb=function(){return this.c-1;},u.c=0,u.d=0,k(nn,"AbstractIndexedListIterator",399),y(713,204,r6),u.Ob=function(){return $B(this);},u.Pb=function(){return Ate(this);},u.e=1,k(nn,"AbstractIterator",713),y(2084,1,{229:1}),u.Zb=function(){var n;return n=this.f,n||(this.f=this.ac());},u.Fb=function(n){return iF(this,n);},u.Hb=function(){return xi(this.Zb());},u.dc=function(){return this.gc()==0;},u.ec=function(){return Bv(this);},u.Ib=function(){return uo(this.Zb());},k(nn,"AbstractMultimap",2084),y(742,2084,ow),u.$b=function(){XC(this);},u._b=function(n){return SIe(this,n);},u.ac=function(){return new Oy(this,this.c);},u.ic=function(n){return this.hc();},u.bc=function(){return new C2(this,this.c);},u.jc=function(){return this.mc(this.hc());},u.kc=function(){return new qCe(this);},u.lc=function(){return hK(this.c.vc().Nc(),new K,64,this.d);},u.cc=function(n){return pi(this,n);},u.fc=function(n){return K_(this,n);},u.gc=function(){return this.d;},u.mc=function(n){return dn(),new yy(n);},u.nc=function(){return new HCe(this);},u.oc=function(){return hK(this.c.Cc().Nc(),new A,64,this.d);},u.pc=function(n,t){return new MC(this,n,t,null);},u.d=0,k(nn,"AbstractMapBasedMultimap",742),y(1696,742,ow),u.hc=function(){return new fu(this.a);},u.jc=function(){return dn(),dn(),mc;},u.cc=function(n){return o(pi(this,n),15);},u.fc=function(n){return o(K_(this,n),15);},u.Zb=function(){return Gv(this);},u.Fb=function(n){return iF(this,n);},u.qc=function(n){return o(pi(this,n),15);},u.rc=function(n){return o(K_(this,n),15);},u.mc=function(n){return RR(o(n,15));},u.pc=function(n,t){return GBe(this,n,o(t,15),null);},k(nn,"AbstractListMultimap",1696),y(748,1,Rr),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return this.c.Ob()||this.e.Ob();},u.Pb=function(){var n;return this.e.Ob()||(n=o(this.c.Pb(),44),this.b=n.ld(),this.a=o(n.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb());},u.Qb=function(){this.e.Qb(),o(Lf(this.a),16).dc()&&this.c.Qb(),--this.d.d;},k(nn,"AbstractMapBasedMultimap/Itr",748),y(1129,748,Rr,HCe),u.sc=function(n,t){return t;},k(nn,"AbstractMapBasedMultimap/1",1129),y(1130,1,{},A),u.Kb=function(n){return o(n,16).Nc();},k(nn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),y(1131,748,Rr,qCe),u.sc=function(n,t){return new Vw(n,t);},k(nn,"AbstractMapBasedMultimap/2",1131);var Lae=Vi(ut,"Map");y(2065,1,Db),u.wc=function(n){W8(this,n);},u.yc=function(n,t,i){return EF(this,n,t,i);},u.$b=function(){this.vc().$b();},u.tc=function(n){return WF(this,n);},u._b=function(n){return!!Sce(this,n,!1);},u.uc=function(n){var t,i,r;for(i=this.vc().Kc();i.Ob();){if(t=o(i.Pb(),44),r=t.md(),Z(n)===Z(r)||n!=null&&hi(n,r)){return!0;}}return!1;},u.Fb=function(n){var t,i,r;if(n===this){return!0;}if(!U(n,85)||(r=o(n,85),this.gc()!=r.gc())){return!1;}for(i=r.vc().Kc();i.Ob();){if(t=o(i.Pb(),44),!this.tc(t)){return!1;}}return!0;},u.xc=function(n){return Jc(Sce(this,n,!1));},u.Hb=function(){return jie(this.vc());},u.dc=function(){return this.gc()==0;},u.ec=function(){return new I0(this);},u.zc=function(n,t){throw O(new S1("Put not supported on this map"));},u.Ac=function(n){V8(this,n);},u.Bc=function(n){return Jc(Sce(this,n,!0));},u.gc=function(){return this.vc().gc();},u.Ib=function(){return YVe(this);},u.Cc=function(){return new Hh(this);},k(ut,"AbstractMap",2065),y(2085,2065,Db),u.bc=function(){return new MM(this);},u.vc=function(){return KLe(this);},u.ec=function(){var n;return n=this.g,n||(this.g=this.bc());},u.Cc=function(){var n;return n=this.i,n||(this.i=new wPe(this));},k(nn,"Maps/ViewCachingAbstractMap",2085),y(402,2085,Db,Oy),u.xc=function(n){return STn(this,n);},u.Bc=function(n){return Vxn(this,n);},u.$b=function(){this.d==this.e.c?this.e.$b():Lx(new Dee(this));},u._b=function(n){return EGe(this.d,n);},u.Ec=function(){return new zSe(this);},u.Dc=function(){return this.Ec();},u.Fb=function(n){return this===n||hi(this.d,n);},u.Hb=function(){return xi(this.d);},u.ec=function(){return this.e.ec();},u.gc=function(){return this.d.gc();},u.Ib=function(){return uo(this.d);},k(nn,"AbstractMapBasedMultimap/AsMap",402);var ef=Vi(jo,"Iterable");y(31,1,hp),u.Jc=function(n){Jr(this,n);},u.Lc=function(){return this.Oc();},u.Nc=function(){return new ln(this,0);},u.Oc=function(){return new rn(null,this.Nc());},u.Fc=function(n){throw O(new S1("Add not supported on this collection"));},u.Gc=function(n){return Vr(this,n);},u.$b=function(){_ne(this);},u.Hc=function(n){return Qg(this,n,!1);},u.Ic=function(n){return O_(this,n);},u.dc=function(){return this.gc()==0;},u.Mc=function(n){return Qg(this,n,!0);},u.Pc=function(){return Vee(this);},u.Qc=function(n){return hk(this,n);},u.Ib=function(){return Ud(this);},k(ut,"AbstractCollection",31);var Gf=Vi(ut,"Set");y(ba,31,Yu),u.Nc=function(){return new ln(this,1);},u.Fb=function(n){return dze(this,n);},u.Hb=function(){return jie(this);},k(ut,"AbstractSet",ba),y(2068,ba,Yu),k(nn,"Sets/ImprovedAbstractSet",2068),y(2069,2068,Yu),u.$b=function(){this.Rc().$b();},u.Hc=function(n){return JGe(this,n);},u.dc=function(){return this.Rc().dc();},u.Mc=function(n){var t;return this.Hc(n)&&U(n,44)?(t=o(n,44),this.Rc().ec().Mc(t.ld())):!1;},u.gc=function(){return this.Rc().gc();},k(nn,"Maps/EntrySet",2069),y(1127,2069,Yu,zSe),u.Hc=function(n){return Qie(this.a.d.vc(),n);},u.Kc=function(){return new Dee(this.a);},u.Rc=function(){return this.a;},u.Mc=function(n){var t;return Qie(this.a.d.vc(),n)?(t=o(Lf(o(n,44)),44),hjn(this.a.e,t.ld()),!0):!1;},u.Nc=function(){return UE(this.a.d.vc().Nc(),new VSe(this.a));},k(nn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),y(1128,1,{},VSe),u.Kb=function(n){return qFe(this.a,o(n,44));},k(nn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),y(746,1,Rr,Dee),u.Nb=function(n){Xr(this,n);},u.Pb=function(){var n;return n=o(this.b.Pb(),44),this.a=o(n.md(),16),qFe(this.c,n);},u.Ob=function(){return this.b.Ob();},u.Qb=function(){Hy(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null;},k(nn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),y(542,2068,Yu,MM),u.$b=function(){this.b.$b();},u.Hc=function(n){return this.b._b(n);},u.Jc=function(n){xt(n),this.b.wc(new lje(n));},u.dc=function(){return this.b.dc();},u.Kc=function(){return new B5(this.b.vc().Kc());},u.Mc=function(n){return this.b._b(n)?(this.b.Bc(n),!0):!1;},u.gc=function(){return this.b.gc();},k(nn,"Maps/KeySet",542),y(327,542,Yu,C2),u.$b=function(){var n;Lx((n=this.b.vc().Kc(),new uQ(this,n)));},u.Ic=function(n){return this.b.ec().Ic(n);},u.Fb=function(n){return this===n||hi(this.b.ec(),n);},u.Hb=function(){return xi(this.b.ec());},u.Kc=function(){var n;return n=this.b.vc().Kc(),new uQ(this,n);},u.Mc=function(n){var t,i;return i=0,t=o(this.b.Bc(n),16),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0;},u.Nc=function(){return this.b.ec().Nc();},k(nn,"AbstractMapBasedMultimap/KeySet",327),y(747,1,Rr,uQ),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return this.c.Ob();},u.Pb=function(){return this.a=o(this.c.Pb(),44),this.a.ld();},u.Qb=function(){var n;Hy(!!this.a),n=o(this.a.md(),16),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null;},k(nn,"AbstractMapBasedMultimap/KeySet/1",747),y(503,402,{85:1,133:1},DE),u.bc=function(){return this.Sc();},u.ec=function(){return this.Uc();},u.Sc=function(){return new aE(this.c,this.Wc());},u.Tc=function(){return this.Wc().Tc();},u.Uc=function(){var n;return n=this.b,n||(this.b=this.Sc());},u.Vc=function(){return this.Wc().Vc();},u.Wc=function(){return o(this.d,133);},k(nn,"AbstractMapBasedMultimap/SortedAsMap",503),y(446,503,zue,v8),u.bc=function(){return new Ny(this.a,o(o(this.d,133),139));},u.Sc=function(){return new Ny(this.a,o(o(this.d,133),139));},u.ec=function(){var n;return n=this.b,o(n||(this.b=new Ny(this.a,o(o(this.d,133),139))),277);},u.Uc=function(){var n;return n=this.b,o(n||(this.b=new Ny(this.a,o(o(this.d,133),139))),277);},u.Wc=function(){return o(o(this.d,133),139);},u.Xc=function(n){return o(o(this.d,133),139).Xc(n);},u.Yc=function(n){return o(o(this.d,133),139).Yc(n);},u.Zc=function(n,t){return new v8(this.a,o(o(this.d,133),139).Zc(n,t));},u.$c=function(n){return o(o(this.d,133),139).$c(n);},u._c=function(n){return o(o(this.d,133),139)._c(n);},u.ad=function(n,t){return new v8(this.a,o(o(this.d,133),139).ad(n,t));},k(nn,"AbstractMapBasedMultimap/NavigableAsMap",446),y(502,327,VZe,aE),u.Nc=function(){return this.b.ec().Nc();},k(nn,"AbstractMapBasedMultimap/SortedKeySet",502),y(401,502,Vue,Ny),k(nn,"AbstractMapBasedMultimap/NavigableKeySet",401),y(551,31,hp,MC),u.Fc=function(n){var t,i;return vs(this),i=this.d.dc(),t=this.d.Fc(n),t&&(++this.f.d,i&&KE(this)),t;},u.Gc=function(n){var t,i,r;return n.dc()?!1:(r=(vs(this),this.d.gc()),t=this.d.Gc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&KE(this)),t);},u.$b=function(){var n;n=(vs(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,Hx(this));},u.Hc=function(n){return vs(this),this.d.Hc(n);},u.Ic=function(n){return vs(this),this.d.Ic(n);},u.Fb=function(n){return n===this?!0:(vs(this),hi(this.d,n));},u.Hb=function(){return vs(this),xi(this.d);},u.Kc=function(){return vs(this),new yee(this);},u.Mc=function(n){var t;return vs(this),t=this.d.Mc(n),t&&(--this.f.d,Hx(this)),t;},u.gc=function(){return tOe(this);},u.Nc=function(){return vs(this),this.d.Nc();},u.Ib=function(){return vs(this),uo(this.d);},k(nn,"AbstractMapBasedMultimap/WrappedCollection",551);var xf=Vi(ut,"List");y(744,551,{20:1,31:1,16:1,15:1},Yee),u.jd=function(n){W0(this,n);},u.Nc=function(){return vs(this),this.d.Nc();},u.bd=function(n,t){var i;vs(this),i=this.d.dc(),o(this.d,15).bd(n,t),++this.a.d,i&&KE(this);},u.cd=function(n,t){var i,r,c;return t.dc()?!1:(c=(vs(this),this.d.gc()),i=o(this.d,15).cd(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&KE(this)),i);},u.Xb=function(n){return vs(this),o(this.d,15).Xb(n);},u.dd=function(n){return vs(this),o(this.d,15).dd(n);},u.ed=function(){return vs(this),new NOe(this);},u.fd=function(n){return vs(this),new nRe(this,n);},u.gd=function(n){var t;return vs(this),t=o(this.d,15).gd(n),--this.a.d,Hx(this),t;},u.hd=function(n,t){return vs(this),o(this.d,15).hd(n,t);},u.kd=function(n,t){return vs(this),GBe(this.a,this.e,o(this.d,15).kd(n,t),this.b?this.b:this);},k(nn,"AbstractMapBasedMultimap/WrappedList",744),y(1126,744,{20:1,31:1,16:1,15:1,59:1},kAe),k(nn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),y(628,1,Rr,yee),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return Zy(this),this.b.Ob();},u.Pb=function(){return Zy(this),this.b.Pb();},u.Qb=function(){cAe(this);},k(nn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),y(745,628,Eh,NOe,nRe),u.Qb=function(){cAe(this);},u.Rb=function(n){var t;t=tOe(this.a)==0,(Zy(this),o(this.b,128)).Rb(n),++this.a.a.d,t&&KE(this.a);},u.Sb=function(){return(Zy(this),o(this.b,128)).Sb();},u.Tb=function(){return(Zy(this),o(this.b,128)).Tb();},u.Ub=function(){return(Zy(this),o(this.b,128)).Ub();},u.Vb=function(){return(Zy(this),o(this.b,128)).Vb();},u.Wb=function(n){(Zy(this),o(this.b,128)).Wb(n);},k(nn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),y(743,551,VZe,BZ),u.Nc=function(){return vs(this),this.d.Nc();},k(nn,"AbstractMapBasedMultimap/WrappedSortedSet",743),y(1125,743,Vue,MOe),k(nn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),y(1124,551,Yu,HAe),u.Nc=function(){return vs(this),this.d.Nc();},k(nn,"AbstractMapBasedMultimap/WrappedSet",1124),y(1133,1,{},K),u.Kb=function(n){return Ejn(o(n,44));},k(nn,"AbstractMapBasedMultimap/lambda$1$Type",1133),y(1132,1,{},JSe),u.Kb=function(n){return new Vw(this.a,n);},k(nn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var pw=Vi(ut,"Map/Entry");y(358,1,wH),u.Fb=function(n){var t;return U(n,44)?(t=o(n,44),Ba(this.ld(),t.ld())&&Ba(this.md(),t.md())):!1;},u.Hb=function(){var n,t;return n=this.ld(),t=this.md(),(n==null?0:xi(n))^(t==null?0:xi(t));},u.nd=function(n){throw O(new It);},u.Ib=function(){return this.ld()+"="+this.md();},k(nn,WZe,358),y(2086,31,hp),u.$b=function(){this.od().$b();},u.Hc=function(n){var t;return U(n,44)?(t=o(n,44),q_n(this.od(),t.ld(),t.md())):!1;},u.Mc=function(n){var t;return U(n,44)?(t=o(n,44),TBe(this.od(),t.ld(),t.md())):!1;},u.gc=function(){return this.od().d;},k(nn,"Multimaps/Entries",2086),y(749,2086,hp,FY),u.Kc=function(){return this.a.kc();},u.od=function(){return this.a;},u.Nc=function(){return this.a.lc();},k(nn,"AbstractMultimap/Entries",749),y(750,749,Yu,RJ),u.Nc=function(){return this.a.lc();},u.Fb=function(n){return Uce(this,n);},u.Hb=function(){return Dqe(this);},k(nn,"AbstractMultimap/EntrySet",750),y(751,31,hp,KY),u.$b=function(){this.a.$b();},u.Hc=function(n){return Kxn(this.a,n);},u.Kc=function(){return this.a.nc();},u.gc=function(){return this.a.d;},u.Nc=function(){return this.a.oc();},k(nn,"AbstractMultimap/Values",751),y(2087,31,{849:1,20:1,31:1,16:1}),u.Jc=function(n){xt(n),P2(this).Jc(new gje(n));},u.Nc=function(){var n;return n=P2(this).Nc(),hK(n,new fe,64|n.yd()&1296,this.a.d);},u.Fc=function(n){return zJ(),!0;},u.Gc=function(n){return xt(this),xt(n),U(n,552)?z_n(o(n,849)):!n.dc()&&TB(this,n.Kc());},u.Hc=function(n){var t;return t=o(Jg(Gv(this.a),n),16),(t?t.gc():0)>0;},u.Fb=function(n){return wRn(this,n);},u.Hb=function(){return xi(P2(this));},u.dc=function(){return P2(this).dc();},u.Mc=function(n){return fXe(this,n,1)>0;},u.Ib=function(){return uo(P2(this));},k(nn,"AbstractMultiset",2087),y(2089,2068,Yu),u.$b=function(){XC(this.a.a);},u.Hc=function(n){var t,i;return U(n,504)?(i=o(n,425),o(i.a.md(),16).gc()<=0?!1:(t=ZRe(this.a,i.a.ld()),t==o(i.a.md(),16).gc())):!1;},u.Mc=function(n){var t,i,r,c;return U(n,504)&&(i=o(n,425),t=i.a.ld(),r=o(i.a.md(),16).gc(),r!=0)?(c=this.a,rDn(c,t,r)):!1;},k(nn,"Multisets/EntrySet",2089),y(1139,2089,Yu,QSe),u.Kc=function(){return new WCe(KLe(Gv(this.a.a)).Kc());},u.gc=function(){return Gv(this.a.a).gc();},k(nn,"AbstractMultiset/EntrySet",1139),y(627,742,ow),u.hc=function(){return this.pd();},u.jc=function(){return this.qd();},u.cc=function(n){return this.rd(n);},u.fc=function(n){return this.sd(n);},u.Zb=function(){var n;return n=this.f,n||(this.f=this.ac());},u.qd=function(){return dn(),dn(),qN;},u.Fb=function(n){return iF(this,n);},u.rd=function(n){return o(pi(this,n),21);},u.sd=function(n){return o(K_(this,n),21);},u.mc=function(n){return dn(),new My(o(n,21));},u.pc=function(n,t){return new HAe(this,n,o(t,21));},k(nn,"AbstractSetMultimap",627),y(1723,627,ow),u.hc=function(){return new x1(this.b);},u.pd=function(){return new x1(this.b);},u.jc=function(){return pne(new x1(this.b));},u.qd=function(){return pne(new x1(this.b));},u.cc=function(n){return o(o(pi(this,n),21),87);},u.rd=function(n){return o(o(pi(this,n),21),87);},u.fc=function(n){return o(o(K_(this,n),21),87);},u.sd=function(n){return o(o(K_(this,n),21),87);},u.mc=function(n){return U(n,277)?pne(o(n,277)):(dn(),new SZ(o(n,87)));},u.Zb=function(){var n;return n=this.f,n||(this.f=U(this.c,139)?new v8(this,o(this.c,139)):U(this.c,133)?new DE(this,o(this.c,133)):new Oy(this,this.c));},u.pc=function(n,t){return U(t,277)?new MOe(this,n,o(t,277)):new BZ(this,n,o(t,87));},k(nn,"AbstractSortedSetMultimap",1723),y(1724,1723,ow),u.Zb=function(){var n;return n=this.f,o(o(n||(this.f=U(this.c,139)?new v8(this,o(this.c,139)):U(this.c,133)?new DE(this,o(this.c,133)):new Oy(this,this.c)),133),139);},u.ec=function(){var n;return n=this.i,o(o(n||(this.i=U(this.c,139)?new Ny(this,o(this.c,139)):U(this.c,133)?new aE(this,o(this.c,133)):new C2(this,this.c)),87),277);},u.bc=function(){return U(this.c,139)?new Ny(this,o(this.c,139)):U(this.c,133)?new aE(this,o(this.c,133)):new C2(this,this.c);},k(nn,"AbstractSortedKeySortedSetMultimap",1724),y(2109,1,{2046:1}),u.Fb=function(n){return BOn(this,n);},u.Hb=function(){var n;return jie((n=this.g,n||(this.g=new rL(this))));},u.Ib=function(){var n;return YVe((n=this.f,n||(this.f=new yZ(this))));},k(nn,"AbstractTable",2109),y(679,ba,Yu,rL),u.$b=function(){oIe();},u.Hc=function(n){var t,i;return U(n,479)?(t=o(n,697),i=o(Jg(aDe(this.a),Md(t.c.e,t.b)),85),!!i&&Qie(i.vc(),new Vw(Md(t.c.c,t.a),Qv(t.c,t.b,t.a)))):!1;},u.Kc=function(){return q9n(this.a);},u.Mc=function(n){var t,i;return U(n,479)?(t=o(n,697),i=o(Jg(aDe(this.a),Md(t.c.e,t.b)),85),!!i&&yCn(i.vc(),new Vw(Md(t.c.c,t.a),Qv(t.c,t.b,t.a)))):!1;},u.gc=function(){return wLe(this.a);},u.Nc=function(){return X_n(this.a);},k(nn,"AbstractTable/CellSet",679),y(2025,31,hp,eje),u.$b=function(){oIe();},u.Hc=function(n){return PAn(this.a,n);},u.Kc=function(){return U9n(this.a);},u.gc=function(){return wLe(this.a);},u.Nc=function(){return jBe(this.a);},k(nn,"AbstractTable/Values",2025),y(1697,1696,ow),k(nn,"ArrayListMultimapGwtSerializationDependencies",1697),y(520,1697,ow,LL,Bne),u.hc=function(){return new fu(this.a);},u.a=0,k(nn,"ArrayListMultimap",520),y(678,2109,{678:1,2046:1,3:1},EXe),k(nn,"ArrayTable",678),y(2021,399,c6,oAe),u.Xb=function(n){return new Iie(this.a,n);},k(nn,"ArrayTable/1",2021),y(2022,1,{},WSe),u.td=function(n){return new Iie(this.a,n);},k(nn,"ArrayTable/1methodref$getCell$Type",2022),y(2110,1,{697:1}),u.Fb=function(n){var t;return n===this?!0:U(n,479)?(t=o(n,697),Ba(Md(this.c.e,this.b),Md(t.c.e,t.b))&&Ba(Md(this.c.c,this.a),Md(t.c.c,t.a))&&Ba(Qv(this.c,this.b,this.a),Qv(t.c,t.b,t.a))):!1;},u.Hb=function(){return F_(R(L(Ir,1),vn,1,5,[Md(this.c.e,this.b),Md(this.c.c,this.a),Qv(this.c,this.b,this.a)]));},u.Ib=function(){return"("+Md(this.c.e,this.b)+","+Md(this.c.c,this.a)+")="+Qv(this.c,this.b,this.a);},k(nn,"Tables/AbstractCell",2110),y(479,2110,{479:1,697:1},Iie),u.a=0,u.b=0,u.d=0,k(nn,"ArrayTable/2",479),y(2024,1,{},XSe),u.td=function(n){return YKe(this.a,n);},k(nn,"ArrayTable/2methodref$getValue$Type",2024),y(2023,399,c6,uAe),u.Xb=function(n){return YKe(this.a,n);},k(nn,"ArrayTable/3",2023),y(2077,2065,Db),u.$b=function(){Lx(this.kc());},u.vc=function(){return new fje(this);},u.lc=function(){return new GDe(this.kc(),this.gc());},k(nn,"Maps/IteratorBasedAbstractMap",2077),y(842,2077,Db),u.$b=function(){throw O(new It);},u._b=function(n){return jIe(this.c,n);},u.kc=function(){return new sAe(this,this.c.b.c.gc());},u.lc=function(){return cR(this.c.b.c.gc(),16,new YSe(this));},u.xc=function(n){var t;return t=o(y8(this.c,n),17),t?this.vd(t.a):null;},u.dc=function(){return this.c.b.c.dc();},u.ec=function(){return dR(this.c);},u.zc=function(n,t){var i;if(i=o(y8(this.c,n),17),!i){throw O(new In(this.ud()+" "+n+" not in "+dR(this.c)));}return this.wd(i.a,t);},u.Bc=function(n){throw O(new It);},u.gc=function(){return this.c.b.c.gc();},k(nn,"ArrayTable/ArrayMap",842),y(2020,1,{},YSe),u.td=function(n){return dDe(this.a,n);},k(nn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),y(2018,358,wH,JIe),u.ld=function(){return i6n(this.a,this.b);},u.md=function(){return this.a.vd(this.b);},u.nd=function(n){return this.a.wd(this.b,n);},u.b=0,k(nn,"ArrayTable/ArrayMap/1",2018),y(2019,399,c6,sAe),u.Xb=function(n){return dDe(this.a,n);},k(nn,"ArrayTable/ArrayMap/2",2019),y(2017,842,Db,eDe),u.ud=function(){return"Column";},u.vd=function(n){return Qv(this.b,this.a,n);},u.wd=function(n,t){return _Ue(this.b,this.a,n,t);},u.a=0,k(nn,"ArrayTable/Row",2017),y(843,842,Db,yZ),u.vd=function(n){return new eDe(this.a,n);},u.zc=function(n,t){return o(t,85),S3n();},u.wd=function(n,t){return o(t,85),j3n();},u.ud=function(){return"Row";},k(nn,"ArrayTable/RowMap",843),y(1157,1,Qs,QIe),u.Ad=function(n){return(this.a.yd()&-262&n)!=0;},u.yd=function(){return this.a.yd()&-262;},u.zd=function(){return this.a.zd();},u.Nb=function(n){this.a.Nb(new ePe(n,this.b));},u.Bd=function(n){return this.a.Bd(new ZIe(n,this.b));},k(nn,"CollectSpliterators/1",1157),y(1158,1,Gn,ZIe),u.Cd=function(n){this.a.Cd(this.b.Kb(n));},k(nn,"CollectSpliterators/1/lambda$0$Type",1158),y(1159,1,Gn,ePe),u.Cd=function(n){this.a.Cd(this.b.Kb(n));},k(nn,"CollectSpliterators/1/lambda$1$Type",1159),y(1154,1,Qs,_$e),u.Ad=function(n){return((16464|this.b)&n)!=0;},u.yd=function(){return 16464|this.b;},u.zd=function(){return this.a.zd();},u.Nb=function(n){this.a.Qe(new tPe(n,this.c));},u.Bd=function(n){return this.a.Re(new nPe(n,this.c));},u.b=0,k(nn,"CollectSpliterators/1WithCharacteristics",1154),y(1155,1,IS,nPe),u.Dd=function(n){this.a.Cd(this.b.td(n));},k(nn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),y(1156,1,IS,tPe),u.Dd=function(n){this.a.Cd(this.b.td(n));},k(nn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),y(1150,1,Qs),u.Ad=function(n){return(this.a&n)!=0;},u.yd=function(){return this.a;},u.zd=function(){return this.e&&(this.b=sZ(this.b,this.e.zd())),sZ(this.b,0);},u.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new iPe(this,n)),this.b=0;},u.Bd=function(n){for(;;){if(this.e&&this.e.Bd(n)){return f8(this.b,PS)&&(this.b=Rf(this.b,1)),!0;}if(this.e=null,!this.c.Bd(new nje(this))){return!1;}}},u.a=0,u.b=0,k(nn,"CollectSpliterators/FlatMapSpliterator",1150),y(1152,1,Gn,nje),u.Cd=function(n){n5n(this.a,n);},k(nn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),y(1153,1,Gn,iPe),u.Cd=function(n){T9n(this.a,this.b,n);},k(nn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),y(1151,1150,Qs,qBe),k(nn,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),y(253,1,bH),u.Fd=function(n){return this.Ed(o(n,253));},u.Ed=function(n){var t;return n==(TL(),eG)?1:n==(jL(),ZU)?-1:(t=(Px(),x_(this.a,n.a)),t!=0?t:U(this,526)==U(n,526)?0:U(this,526)?1:-1);},u.Id=function(){return this.a;},u.Fb=function(n){return Yre(this,n);},k(nn,"Cut",253),y(1823,253,bH,KCe),u.Ed=function(n){return n==this?0:1;},u.Gd=function(n){throw O(new vJ);},u.Hd=function(n){n.a+="+∞)";},u.Id=function(){throw O(new Hc(YZe));},u.Hb=function(){return Uh(),$re(this);},u.Jd=function(n){return!1;},u.Ib=function(){return"+∞";};var ZU;k(nn,"Cut/AboveAll",1823),y(526,253,{253:1,526:1,3:1,34:1},wAe),u.Gd=function(n){Vo((n.a+="(",n),this.a);},u.Hd=function(n){F0(Vo(n,this.a),93);},u.Hb=function(){return~xi(this.a);},u.Jd=function(n){return Px(),x_(this.a,n)<0;},u.Ib=function(){return"/"+this.a+"\\";},k(nn,"Cut/AboveValue",526),y(1822,253,bH,FCe),u.Ed=function(n){return n==this?0:-1;},u.Gd=function(n){n.a+="(-∞";},u.Hd=function(n){throw O(new vJ);},u.Id=function(){throw O(new Hc(YZe));},u.Hb=function(){return Uh(),$re(this);},u.Jd=function(n){return!0;},u.Ib=function(){return"-∞";};var eG;k(nn,"Cut/BelowAll",1822),y(1824,253,bH,bAe),u.Gd=function(n){Vo((n.a+="[",n),this.a);},u.Hd=function(n){F0(Vo(n,this.a),41);},u.Hb=function(){return xi(this.a);},u.Jd=function(n){return Px(),x_(this.a,n)<=0;},u.Ib=function(){return"\\"+this.a+"/";},k(nn,"Cut/BelowValue",1824),y(547,1,_h),u.Jc=function(n){Jr(this,n);},u.Ib=function(){return KCn(o(cC(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc());},k(nn,"FluentIterable",547),y(442,547,_h,h8),u.Kc=function(){return new Un(Vn(this.a.Kc(),new Y));},k(nn,"FluentIterable/2",442),y(1059,547,_h,_Oe),u.Kc=function(){return bh(this);},k(nn,"FluentIterable/3",1059),y(724,399,c6,kZ),u.Xb=function(n){return this.a[n].Kc();},k(nn,"FluentIterable/3/1",724),y(2070,1,{}),u.Ib=function(){return uo(this.Kd().b);},k(nn,"ForwardingObject",2070),y(2071,2070,JZe),u.Kd=function(){return this.Ld();},u.Jc=function(n){Jr(this,n);},u.Lc=function(){return this.Oc();},u.Nc=function(){return new ln(this,0);},u.Oc=function(){return new rn(null,this.Nc());},u.Fc=function(n){return this.Ld(),MIe();},u.Gc=function(n){return this.Ld(),xIe();},u.$b=function(){this.Ld(),CIe();},u.Hc=function(n){return this.Ld().Hc(n);},u.Ic=function(n){return this.Ld().Ic(n);},u.dc=function(){return this.Ld().b.dc();},u.Kc=function(){return this.Ld().Kc();},u.Mc=function(n){return this.Ld(),IIe();},u.gc=function(){return this.Ld().b.gc();},u.Pc=function(){return this.Ld().Pc();},u.Qc=function(n){return this.Ld().Qc(n);},k(nn,"ForwardingCollection",2071),y(2078,31,Wue),u.Kc=function(){return this.Od();},u.Fc=function(n){throw O(new It);},u.Gc=function(n){throw O(new It);},u.Md=function(){var n;return n=this.c,n||(this.c=this.Nd());},u.$b=function(){throw O(new It);},u.Hc=function(n){return n!=null&&Qg(this,n,!1);},u.Nd=function(){switch(this.gc()){case 0:return sb(),sb(),nG;case 1:return sb(),new oR(xt(this.Od().Pb()));default:return new ene(this,this.Pc());}},u.Mc=function(n){throw O(new It);},k(nn,"ImmutableCollection",2078),y(727,2078,Wue,pJ),u.Kc=function(){return Zv(this.a.Kc());},u.Hc=function(n){return n!=null&&this.a.Hc(n);},u.Ic=function(n){return this.a.Ic(n);},u.dc=function(){return this.a.dc();},u.Od=function(){return Zv(this.a.Kc());},u.gc=function(){return this.a.gc();},u.Pc=function(){return this.a.Pc();},u.Qc=function(n){return this.a.Qc(n);},u.Ib=function(){return uo(this.a);},k(nn,"ForwardingImmutableCollection",727),y(307,2078,o6),u.Kc=function(){return this.Od();},u.ed=function(){return this.Pd(0);},u.fd=function(n){return this.Pd(n);},u.jd=function(n){W0(this,n);},u.Nc=function(){return new ln(this,16);},u.kd=function(n,t){return this.Qd(n,t);},u.bd=function(n,t){throw O(new It);},u.cd=function(n,t){throw O(new It);},u.Md=function(){return this;},u.Fb=function(n){return tRn(this,n);},u.Hb=function(){return YMn(this);},u.dd=function(n){return n==null?-1:vNn(this,n);},u.Od=function(){return this.Pd(0);},u.Pd=function(n){return RD(this,n);},u.gd=function(n){throw O(new It);},u.hd=function(n,t){throw O(new It);},u.Qd=function(n,t){var i;return gI((i=new dPe(this),new A1(i,n,t)));};var nG;k(nn,"ImmutableList",307),y(2105,307,o6),u.Kc=function(){return Zv(this.Rd().Kc());},u.kd=function(n,t){return gI(this.Rd().kd(n,t));},u.Hc=function(n){return n!=null&&this.Rd().Hc(n);},u.Ic=function(n){return this.Rd().Ic(n);},u.Fb=function(n){return hi(this.Rd(),n);},u.Xb=function(n){return Md(this,n);},u.Hb=function(){return xi(this.Rd());},u.dd=function(n){return this.Rd().dd(n);},u.dc=function(){return this.Rd().dc();},u.Od=function(){return Zv(this.Rd().Kc());},u.gc=function(){return this.Rd().gc();},u.Qd=function(n,t){return gI(this.Rd().kd(n,t));},u.Pc=function(){return this.Rd().Qc(ce(Ir,vn,1,this.Rd().gc(),5,1));},u.Qc=function(n){return this.Rd().Qc(n);},u.Ib=function(){return uo(this.Rd());},k(nn,"ForwardingImmutableList",2105),y(729,1,u6),u.vc=function(){return D0(this);},u.wc=function(n){W8(this,n);},u.ec=function(){return dR(this);},u.yc=function(n,t,i){return EF(this,n,t,i);},u.Cc=function(){return this.Vd();},u.$b=function(){throw O(new It);},u._b=function(n){return this.xc(n)!=null;},u.uc=function(n){return this.Vd().Hc(n);},u.Td=function(){return new Xxe(this);},u.Ud=function(){return new Yxe(this);},u.Fb=function(n){return Hxn(this,n);},u.Hb=function(){return D0(this).Hb();},u.dc=function(){return this.gc()==0;},u.zc=function(n,t){return _3n();},u.Bc=function(n){throw O(new It);},u.Ib=function(){return C$n(this);},u.Vd=function(){return this.e?this.e:this.e=this.Ud();},u.c=null,u.d=null,u.e=null;var Ern;k(nn,"ImmutableMap",729),y(730,729,u6),u._b=function(n){return jIe(this,n);},u.uc=function(n){return vPe(this.b,n);},u.Sd=function(){return vGe(new ZSe(this));},u.Td=function(){return vGe($De(this.b));},u.Ud=function(){return Ra(),new pJ(ADe(this.b));},u.Fb=function(n){return yPe(this.b,n);},u.xc=function(n){return y8(this,n);},u.Hb=function(){return xi(this.b.c);},u.dc=function(){return this.b.c.dc();},u.gc=function(){return this.b.c.gc();},u.Ib=function(){return uo(this.b.c);},k(nn,"ForwardingImmutableMap",730),y(2072,2071,gH),u.Kd=function(){return this.Wd();},u.Ld=function(){return this.Wd();},u.Nc=function(){return new ln(this,1);},u.Fb=function(n){return n===this||this.Wd().Fb(n);},u.Hb=function(){return this.Wd().Hb();},k(nn,"ForwardingSet",2072),y(1085,2072,gH,ZSe),u.Kd=function(){return Jy(this.a.b);},u.Ld=function(){return Jy(this.a.b);},u.Hc=function(n){if(U(n,44)&&o(n,44).ld()==null){return!1;}try{return mPe(Jy(this.a.b),n);}catch(t){if(t=Hi(t),U(t,212)){return!1;}throw O(t);}},u.Wd=function(){return Jy(this.a.b);},u.Qc=function(n){var t;return t=vRe(Jy(this.a.b),n),Jy(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=lx(p.Math.abs(i)%60),(sWe(),Krn)[this.q.getDay()]+" "+Hrn[this.q.getMonth()]+" "+lx(this.q.getDate())+" "+lx(this.q.getHours())+":"+lx(this.q.getMinutes())+":"+lx(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear();};var FN=k(ut,"Date",206);y(2015,206,oen,PVe),u.a=!1,u.b=0,u.c=0,u.d=0,u.e=0,u.f=0,u.g=!1,u.i=0,u.j=0,u.k=0,u.n=0,u.o=0,u.p=0,k("com.google.gwt.i18n.shared.impl","DateRecord",2015),y(2064,1,{}),u.pe=function(){return null;},u.qe=function(){return null;},u.re=function(){return null;},u.se=function(){return null;},u.te=function(){return null;},k(v3,"JSONValue",2064),y(221,2064,{221:1},x0,qY),u.Fb=function(n){return U(n,221)?Kne(this.a,o(n,221).a):!1;},u.oe=function(){return Wvn;},u.Hb=function(){return Ine(this.a);},u.pe=function(){return this;},u.Ib=function(){var n,t,i;for(i=new Ks("["),t=0,n=this.a.length;t0&&(i.a+=","),Vo(i,Gg(this,t));}return i.a+="]",i.a;},k(v3,"JSONArray",221),y(493,2064,{493:1},UY),u.oe=function(){return Xvn;},u.qe=function(){return this;},u.Ib=function(){return jn(),""+this.a;},u.a=!1;var Crn,Irn;k(v3,"JSONBoolean",493),y(997,63,l1,XCe),k(v3,"JSONException",997),y(1036,2064,{},ii),u.oe=function(){return Yvn;},u.Ib=function(){return Au;};var Prn;k(v3,"JSONNull",1036),y(263,2064,{263:1},oM),u.Fb=function(n){return U(n,263)?this.a==o(n,263).a:!1;},u.oe=function(){return zvn;},u.Hb=function(){return Iv(this.a);},u.re=function(){return this;},u.Ib=function(){return this.a+"";},u.a=0,k(v3,"JSONNumber",263),y(190,2064,{190:1},yv,eE),u.Fb=function(n){return U(n,190)?Kne(this.a,o(n,190).a):!1;},u.oe=function(){return Vvn;},u.Hb=function(){return Ine(this.a);},u.se=function(){return this;},u.Ib=function(){var n,t,i,r,c,s,f;for(f=new Ks("{"),n=!0,s=FB(this,ce(Be,_e,2,0,6,1)),i=s,r=0,c=i.length;r=0?":"+this.c:"")+")";},u.c=0;var Zae=k(jo,"StackTraceElement",319);krn={3:1,484:1,34:1,2:1};var Be=k(jo,Xue,2);y(111,427,{484:1},T1,H5,$f),k(jo,"StringBuffer",111),y(104,427,{484:1},Ed,Sv,Ks),k(jo,"StringBuilder",104),y(702,77,BH,VJ),k(jo,"StringIndexOutOfBoundsException",702),y(2145,1,{});var $rn;y(48,63,{3:1,103:1,63:1,82:1,48:1},It,S1),k(jo,"UnsupportedOperationException",48),y(247,242,{3:1,34:1,242:1,247:1},U_,rQ),u.Fd=function(n){return nQe(this,o(n,247));},u.ue=function(){return ip(CQe(this));},u.Fb=function(n){var t;return this===n?!0:U(n,247)?(t=o(n,247),this.e==t.e&&nQe(this,t)==0):!1;},u.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=No(this.f),this.b=Mt(Cr(n,-1)),this.b=33*this.b+Mt(Cr(cb(n,32),-1)),this.b=17*this.b+jr(this.e),this.b):(this.b=17*wGe(this.c)+jr(this.e),this.b);},u.Ib=function(){return CQe(this);},u.a=0,u.b=0,u.d=0,u.e=0,u.f=0;var Lrn,mw,ehe,nhe,the,ihe,rhe,che,fG=k("java.math","BigDecimal",247);y(92,242,{3:1,34:1,242:1,92:1},Jh,oBe,B0,bze,xd),u.Fd=function(n){return aze(this,o(n,92));},u.ue=function(){return ip(aH(this,0));},u.Fb=function(n){return mre(this,n);},u.Hb=function(){return wGe(this);},u.Ib=function(){return aH(this,0);},u.b=-2,u.c=0,u.d=0,u.e=0;var Drn,KN,Rrn,lG,HN,b7,bm=k("java.math","BigInteger",92),Brn,Frn,P3,g7;y(498,2065,Db),u.$b=function(){cs(this);},u._b=function(n){return pu(this,n);},u.uc=function(n){return XUe(this,n,this.i)||XUe(this,n,this.f);},u.vc=function(){return new P0(this);},u.xc=function(n){return qn(this,n);},u.zc=function(n,t){return Jt(this,n,t);},u.Bc=function(n){return Jv(this,n);},u.gc=function(){return U5(this);},u.g=0,k(ut,"AbstractHashMap",498),y(267,ba,Yu,P0),u.$b=function(){this.a.$b();},u.Hc=function(n){return LBe(this,n);},u.Kc=function(){return new Y0(this.a);},u.Mc=function(n){var t;return LBe(this,n)?(t=o(n,44).ld(),this.a.Bc(t),!0):!1;},u.gc=function(){return this.a.gc();},k(ut,"AbstractHashMap/EntrySet",267),y(268,1,Rr,Y0),u.Nb=function(n){Xr(this,n);},u.Pb=function(){return _b(this);},u.Ob=function(){return this.b;},u.Qb=function(){aHe(this);},u.b=!1,u.d=0,k(ut,"AbstractHashMap/EntrySetIterator",268),y(426,1,Rr,P5),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return UL(this);},u.Pb=function(){return jne(this);},u.Qb=function(){Ls(this);},u.b=0,u.c=-1,k(ut,"AbstractList/IteratorImpl",426),y(98,426,Eh,Gr),u.Qb=function(){Ls(this);},u.Rb=function(n){Ag(this,n);},u.Sb=function(){return this.b>0;},u.Tb=function(){return this.b;},u.Ub=function(){return Zn(this.b>0),this.a.Xb(this.c=--this.b);},u.Vb=function(){return this.b-1;},u.Wb=function(n){Ng(this.c!=-1),this.a.hd(this.c,n);},k(ut,"AbstractList/ListIteratorImpl",98),y(244,56,s6,A1),u.bd=function(n,t){Kg(n,this.b),this.c.bd(this.a+n,t),++this.b;},u.Xb=function(n){return wn(n,this.b),this.c.Xb(this.a+n);},u.gd=function(n){var t;return wn(n,this.b),t=this.c.gd(this.a+n),--this.b,t;},u.hd=function(n,t){return wn(n,this.b),this.c.hd(this.a+n,t);},u.gc=function(){return this.b;},u.a=0,u.b=0,k(ut,"AbstractList/SubList",244),y(266,ba,Yu,I0),u.$b=function(){this.a.$b();},u.Hc=function(n){return this.a._b(n);},u.Kc=function(){var n;return n=this.a.vc().Kc(),new sM(n);},u.Mc=function(n){return this.a._b(n)?(this.a.Bc(n),!0):!1;},u.gc=function(){return this.a.gc();},k(ut,"AbstractMap/1",266),y(541,1,Rr,sM),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return this.a.Ob();},u.Pb=function(){var n;return n=o(this.a.Pb(),44),n.ld();},u.Qb=function(){this.a.Qb();},k(ut,"AbstractMap/1/1",541),y(231,31,hp,Hh),u.$b=function(){this.a.$b();},u.Hc=function(n){return this.a.uc(n);},u.Kc=function(){var n;return n=this.a.vc().Kc(),new _g(n);},u.gc=function(){return this.a.gc();},k(ut,"AbstractMap/2",231),y(301,1,Rr,_g),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return this.a.Ob();},u.Pb=function(){var n;return n=o(this.a.Pb(),44),n.md();},u.Qb=function(){this.a.Qb();},k(ut,"AbstractMap/2/1",301),y(494,1,{494:1,44:1}),u.Fb=function(n){var t;return U(n,44)?(t=o(n,44),Po(this.d,t.ld())&&Po(this.e,t.md())):!1;},u.ld=function(){return this.d;},u.md=function(){return this.e;},u.Hb=function(){return j2(this.d)^j2(this.e);},u.nd=function(n){return zZ(this,n);},u.Ib=function(){return this.d+"="+this.e;},k(ut,"AbstractMap/AbstractEntry",494),y(397,494,{494:1,397:1,44:1},FM),k(ut,"AbstractMap/SimpleEntry",397),y(2082,1,HH),u.Fb=function(n){var t;return U(n,44)?(t=o(n,44),Po(this.ld(),t.ld())&&Po(this.md(),t.md())):!1;},u.Hb=function(){return j2(this.ld())^j2(this.md());},u.Ib=function(){return this.ld()+"="+this.md();},k(ut,WZe,2082),y(2090,2065,zue),u.Xc=function(n){return DL(this.Ee(n));},u.tc=function(n){return HFe(this,n);},u._b=function(n){return VZ(this,n);},u.vc=function(){return new aL(this);},u.Tc=function(){return tDe(this.Ge());},u.Yc=function(n){return DL(this.He(n));},u.xc=function(n){var t;return t=n,Jc(this.Fe(t));},u.$c=function(n){return DL(this.Ie(n));},u.ec=function(){return new jje(this);},u.Vc=function(){return tDe(this.Je());},u._c=function(n){return DL(this.Ke(n));},k(ut,"AbstractNavigableMap",2090),y(629,ba,Yu,aL),u.Hc=function(n){return U(n,44)&&HFe(this.b,o(n,44));},u.Kc=function(){return this.b.De();},u.Mc=function(n){var t;return U(n,44)?(t=o(n,44),this.b.Le(t)):!1;},u.gc=function(){return this.b.gc();},k(ut,"AbstractNavigableMap/EntrySet",629),y(1146,ba,Vue,jje),u.Nc=function(){return new RM(this);},u.$b=function(){this.a.$b();},u.Hc=function(n){return VZ(this.a,n);},u.Kc=function(){var n;return n=this.a.vc().b.De(),new Tje(n);},u.Mc=function(n){return VZ(this.a,n)?(this.a.Bc(n),!0):!1;},u.gc=function(){return this.a.gc();},k(ut,"AbstractNavigableMap/NavigableKeySet",1146),y(1147,1,Rr,Tje),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return UL(this.a.a);},u.Pb=function(){var n;return n=jAe(this.a),n.ld();},u.Qb=function(){P$e(this.a);},k(ut,"AbstractNavigableMap/NavigableKeySet/1",1147),y(2103,31,hp),u.Fc=function(n){return Rv(U4(this,n),l6),!0;},u.Gc=function(n){return $n(n),zE(n!=this,"Can't add a queue to itself"),Vr(this,n);},u.$b=function(){for(;MB(this)!=null;){;}},k(ut,"AbstractQueue",2103),y(310,31,{4:1,20:1,31:1,16:1},x2,PBe),u.Fc=function(n){return Jne(this,n),!0;},u.$b=function(){ite(this);},u.Hc=function(n){return pUe(new O8(this),n);},u.dc=function(){return K5(this);},u.Kc=function(){return new O8(this);},u.Mc=function(n){return PEn(new O8(this),n);},u.gc=function(){return this.c-this.b&this.a.length-1;},u.Nc=function(){return new ln(this,272);},u.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&Yi(n,t,null),n;},u.b=0,u.c=0,k(ut,"ArrayDeque",310),y(459,1,Rr,O8),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return this.a!=this.b;},u.Pb=function(){return bI(this);},u.Qb=function(){dqe(this);},u.a=0,u.b=0,u.c=-1,k(ut,"ArrayDeque/IteratorImpl",459),y(13,56,fen,Te,fu,rs),u.bd=function(n,t){rb(this,n,t);},u.Fc=function(n){return xe(this,n);},u.cd=function(n,t){return Uie(this,n,t);},u.Gc=function(n){return yr(this,n);},u.$b=function(){Sg(this.c,0);},u.Hc=function(n){return eo(this,n,0)!=-1;},u.Jc=function(n){mu(this,n);},u.Xb=function(n){return Re(this,n);},u.dd=function(n){return eo(this,n,0);},u.dc=function(){return this.c.length==0;},u.Kc=function(){return new N(this);},u.gd=function(n){return L1(this,n);},u.Mc=function(n){return Pu(this,n);},u.ce=function(n,t){eBe(this,n,t);},u.hd=function(n,t){return bf(this,n,t);},u.gc=function(){return this.c.length;},u.jd=function(n){sr(this,n);},u.Pc=function(){return Nx(this.c);},u.Qc=function(n){return ha(this,n);};var yVn=k(ut,"ArrayList",13);y(7,1,Rr,N),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return wo(this);},u.Pb=function(){return P(this);},u.Qb=function(){x8(this);},u.a=0,u.b=-1,k(ut,"ArrayList/1",7),y(2112,p.Function,{},et),u.Me=function(n,t){return Si(n,t);},y(151,56,len,is),u.Hc=function(n){return wqe(this,n)!=-1;},u.Jc=function(n){var t,i,r,c;for($n(n),i=this.a,r=0,c=i.length;r0){throw O(new In(ise+n+" greater than "+this.e));}return this.f.Te()?_Re(this.c,this.b,this.a,n,t):nBe(this.c,n,t);},u.zc=function(n,t){if(!nK(this.c,this.f,n,this.b,this.a,this.e,this.d)){throw O(new In(n+" outside the range "+this.b+" to "+this.e));}return AUe(this.c,n,t);},u.Bc=function(n){var t;return t=n,nK(this.c,this.f,t,this.b,this.a,this.e,this.d)?SRe(this.c,t):null;},u.Le=function(n){return Qx(this,n.ld())&&Ete(this.c,n);},u.gc=function(){var n,t,i;if(this.f.Te()?this.a?t=D4(this.c,this.b,!0):t=D4(this.c,this.b,!1):t=Nte(this.c),!(t&&Qx(this,t.d)&&t)){return 0;}for(n=0,i=new KB(this.c,this.f,this.b,this.a,this.e,this.d);UL(i.a);i.b=o(jne(i.a),44)){++n;}return n;},u.ad=function(n,t){if(this.f.Te()&&this.c.a.Ne(n,this.b)<0){throw O(new In(ise+n+den+this.b));}return this.f.Ue()?_Re(this.c,n,t,this.e,this.d):tBe(this.c,n,t);},u.a=!1,u.d=!1,k(ut,"TreeMap/SubMap",631),y(304,22,zH,BM),u.Te=function(){return!1;},u.Ue=function(){return!1;};var dG,wG,bG,gG,UN=ht(ut,"TreeMap/SubMapType",304,mt,rSn,w5n);y(1143,304,zH,COe),u.Ue=function(){return!0;},ht(ut,"TreeMap/SubMapType/1",1143,UN,null,null),y(1144,304,zH,ROe),u.Te=function(){return!0;},u.Ue=function(){return!0;},ht(ut,"TreeMap/SubMapType/2",1144,UN,null,null),y(1145,304,zH,xOe),u.Te=function(){return!0;},ht(ut,"TreeMap/SubMapType/3",1145,UN,null,null);var Wrn;y(157,ba,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},EJ,x1,ky),u.Nc=function(){return new RM(this);},u.Fc=function(n){return XE(this,n);},u.$b=function(){this.a.$b();},u.Hc=function(n){return this.a._b(n);},u.Kc=function(){return this.a.ec().Kc();},u.Mc=function(n){return $D(this,n);},u.gc=function(){return this.a.gc();};var TVn=k(ut,"TreeSet",157);y(1082,1,{},Ije),u.Ve=function(n,t){return P6n(this.a,n,t);},k(VH,"BinaryOperator/lambda$0$Type",1082),y(1083,1,{},Pje),u.Ve=function(n,t){return N6n(this.a,n,t);},k(VH,"BinaryOperator/lambda$1$Type",1083),y(952,1,{},ui),u.Kb=function(n){return n;},k(VH,"Function/lambda$0$Type",952),y(395,1,Ot,Ey),u.Mb=function(n){return!this.a.Mb(n);},k(VH,"Predicate/lambda$2$Type",395),y(581,1,{581:1});var Xrn=k(Bk,"Handler",581);y(2107,1,xS),u.xe=function(){return"DUMMY";},u.Ib=function(){return this.xe();};var hhe;k(Bk,"Level",2107),y(1706,2107,xS,me),u.xe=function(){return"INFO";},k(Bk,"Level/LevelInfo",1706),y(1843,1,{},iCe);var pG;k(Bk,"LogManager",1843),y(1896,1,xS,I$e),u.b=null,k(Bk,"LogRecord",1896),y(525,1,{525:1},oB),u.e=!1;var Yrn=!1,Jrn=!1,va=!1,Qrn=!1,Zrn=!1;k(Bk,"Logger",525),y(835,581,{581:1},ye),k(Bk,"SimpleConsoleLogHandler",835),y(108,22,{3:1,34:1,22:1,108:1},VL);var dhe,fo,Ep,Vc=ht(Er,"Collector/Characteristics",108,mt,GEn,b5n),ecn;y(758,1,{},rne),k(Er,"CollectorImpl",758),y(1074,1,{},ue),u.Ve=function(n,t){return jCn(o(n,213),o(t,213));},k(Er,"Collectors/10methodref$merge$Type",1074),y(1075,1,{},W),u.Kb=function(n){return NBe(o(n,213));},k(Er,"Collectors/11methodref$toString$Type",1075),y(1076,1,{},Nje),u.Kb=function(n){return jn(),!!QQ(n);},k(Er,"Collectors/12methodref$test$Type",1076),y(144,1,{},ie),u.Yd=function(n,t){o(n,16).Fc(t);},k(Er,"Collectors/20methodref$add$Type",144),y(146,1,{},se),u.Xe=function(){return new Te;},k(Er,"Collectors/21methodref$ctor$Type",146),y(359,1,{},ge),u.Xe=function(){return new lr;},k(Er,"Collectors/23methodref$ctor$Type",359),y(360,1,{},Fe),u.Yd=function(n,t){vr(o(n,49),t);},k(Er,"Collectors/24methodref$add$Type",360),y(1069,1,{},Fn),u.Ve=function(n,t){return _Pe(o(n,15),o(t,16));},k(Er,"Collectors/4methodref$addAll$Type",1069),y(1073,1,{},Dn),u.Yd=function(n,t){Qh(o(n,213),o(t,484));},k(Er,"Collectors/9methodref$add$Type",1073),y(1072,1,{},V$e),u.Xe=function(){return new J0(this.a,this.b,this.c);},k(Er,"Collectors/lambda$15$Type",1072),y(1077,1,{},zn),u.Xe=function(){var n;return n=new $1,z1(n,(jn(),!1),new Te),z1(n,!0,new Te),n;},k(Er,"Collectors/lambda$22$Type",1077),y(1078,1,{},Oje),u.Xe=function(){return R(L(Ir,1),vn,1,5,[this.a]);},k(Er,"Collectors/lambda$25$Type",1078),y(1079,1,{},Aje),u.Yd=function(n,t){Jkn(this.a,V0(n));},k(Er,"Collectors/lambda$26$Type",1079),y(1080,1,{},$je),u.Ve=function(n,t){return j7n(this.a,V0(n),V0(t));},k(Er,"Collectors/lambda$27$Type",1080),y(1081,1,{},Rn),u.Kb=function(n){return V0(n)[0];},k(Er,"Collectors/lambda$28$Type",1081),y(728,1,{},ei),u.Ve=function(n,t){return Ree(n,t);},k(Er,"Collectors/lambda$4$Type",728),y(145,1,{},Yn),u.Ve=function(n,t){return oyn(o(n,16),o(t,16));},k(Er,"Collectors/lambda$42$Type",145),y(361,1,{},$t),u.Ve=function(n,t){return uyn(o(n,49),o(t,49));},k(Er,"Collectors/lambda$50$Type",361),y(362,1,{},Ti),u.Kb=function(n){return o(n,49);},k(Er,"Collectors/lambda$51$Type",362),y(1068,1,{},Lje),u.Yd=function(n,t){Pxn(this.a,o(n,85),t);},k(Er,"Collectors/lambda$7$Type",1068),y(1070,1,{},te),u.Ve=function(n,t){return uxn(o(n,85),o(t,85),new Fn);},k(Er,"Collectors/lambda$8$Type",1070),y(1071,1,{},Dje),u.Kb=function(n){return rIn(this.a,o(n,85));},k(Er,"Collectors/lambda$9$Type",1071),y(550,1,{}),u.$e=function(){N8(this);},u.d=!1,k(Er,"TerminatableStream",550),y(827,550,rse,DZ),u.$e=function(){N8(this);},k(Er,"DoubleStreamImpl",827),y(1847,736,Qs,W$e),u.Re=function(n){return uNn(this,o(n,189));},u.a=null,k(Er,"DoubleStreamImpl/2",1847),y(1848,1,DS,Rje),u.Pe=function(n){e4n(this.a,n);},k(Er,"DoubleStreamImpl/2/lambda$0$Type",1848),y(1845,1,DS,Bje),u.Pe=function(n){Zyn(this.a,n);},k(Er,"DoubleStreamImpl/lambda$0$Type",1845),y(1846,1,DS,Fje),u.Pe=function(n){WGe(this.a,n);},k(Er,"DoubleStreamImpl/lambda$2$Type",1846),y(1397,735,Qs,DFe),u.Re=function(n){return V_n(this,o(n,202));},u.a=0,u.b=0,u.c=0,k(Er,"IntStream/5",1397),y(806,550,rse,RZ),u.$e=function(){N8(this);},u._e=function(){return Nd(this),this.a;},k(Er,"IntStreamImpl",806),y(807,550,rse,fQ),u.$e=function(){N8(this);},u._e=function(){return Nd(this),vZ(),Vrn;},k(Er,"IntStreamImpl/Empty",807),y(1687,1,IS,Kje),u.Dd=function(n){rUe(this.a,n);},k(Er,"IntStreamImpl/lambda$4$Type",1687);var MVn=Vi(Er,"Stream");y(26,550,{533:1,687:1,848:1},rn),u.$e=function(){N8(this);};var N3;k(Er,"StreamImpl",26),y(1102,500,Qs,E$e),u.Bd=function(n){for(;Yjn(this);){if(this.a.Bd(n)){return!0;}N8(this.b),this.b=null,this.a=null;}return!1;},k(Er,"StreamImpl/1",1102),y(1103,1,Gn,Hje),u.Cd=function(n){_kn(this.a,o(n,848));},k(Er,"StreamImpl/1/lambda$0$Type",1103),y(1104,1,Ot,qje),u.Mb=function(n){return vr(this.a,n);},k(Er,"StreamImpl/1methodref$add$Type",1104),y(1105,500,Qs,tRe),u.Bd=function(n){var t;return this.a||(t=new Te,this.b.a.Nb(new Uje(t)),dn(),sr(t,this.c),this.a=new ln(t,16)),BHe(this.a,n);},u.a=null,k(Er,"StreamImpl/5",1105),y(1106,1,Gn,Uje),u.Cd=function(n){xe(this.a,n);},k(Er,"StreamImpl/5/2methodref$add$Type",1106),y(737,500,Qs,Ote),u.Bd=function(n){for(this.b=!1;!this.b&&this.c.Bd(new FPe(this,n));){;}return this.b;},u.b=!1,k(Er,"StreamImpl/FilterSpliterator",737),y(1096,1,Gn,FPe),u.Cd=function(n){v7n(this.a,this.b,n);},k(Er,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),y(1091,736,Qs,WFe),u.Re=function(n){return Z6n(this,o(n,189));},k(Er,"StreamImpl/MapToDoubleSpliterator",1091),y(1095,1,Gn,KPe),u.Cd=function(n){_yn(this.a,this.b,n);},k(Er,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),y(1090,735,Qs,XFe),u.Re=function(n){return e5n(this,o(n,202));},k(Er,"StreamImpl/MapToIntSpliterator",1090),y(1094,1,Gn,HPe),u.Cd=function(n){Syn(this.a,this.b,n);},k(Er,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),y(734,500,Qs,mte),u.Bd=function(n){return v$e(this,n);},k(Er,"StreamImpl/MapToObjSpliterator",734),y(1093,1,Gn,qPe),u.Cd=function(n){jyn(this.a,this.b,n);},k(Er,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),y(1092,500,Qs,Sqe),u.Bd=function(n){for(;GL(this.b,0);){if(!this.a.Bd(new F)){return!1;}this.b=Rf(this.b,1);}return this.a.Bd(n);},u.b=0,k(Er,"StreamImpl/SkipSpliterator",1092),y(1097,1,Gn,F),u.Cd=function(n){},k(Er,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),y(626,1,Gn,q),u.Cd=function(n){yje(this,n);},k(Er,"StreamImpl/ValueConsumer",626),y(1098,1,Gn,Pe),u.Cd=function(n){$0();},k(Er,"StreamImpl/lambda$0$Type",1098),y(1099,1,Gn,en),u.Cd=function(n){$0();},k(Er,"StreamImpl/lambda$1$Type",1099),y(1100,1,{},Gje),u.Ve=function(n,t){return N5n(this.a,n,t);},k(Er,"StreamImpl/lambda$4$Type",1100),y(1101,1,Gn,UPe),u.Cd=function(n){R6n(this.b,this.a,n);},k(Er,"StreamImpl/lambda$5$Type",1101),y(1107,1,Gn,zje),u.Cd=function(n){XMn(this.a,o(n,380));},k(Er,"TerminatableStream/lambda$0$Type",1107),y(2142,1,{}),y(2014,1,{},xn),k("javaemul.internal","ConsoleLogger",2014);var xVn=0;y(2134,1,{}),y(1830,1,Gn,nt),u.Cd=function(n){o(n,317);},k(a6,"BowyerWatsonTriangulation/lambda$0$Type",1830),y(1831,1,Gn,Vje),u.Cd=function(n){Vr(this.a,o(n,317).e);},k(a6,"BowyerWatsonTriangulation/lambda$1$Type",1831),y(1832,1,Gn,sc),u.Cd=function(n){o(n,177);},k(a6,"BowyerWatsonTriangulation/lambda$2$Type",1832),y(1827,1,Dt,Wje),u.Ne=function(n,t){return NSn(this.a,o(n,177),o(t,177));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(a6,"NaiveMinST/lambda$0$Type",1827),y(449,1,{},N5),k(a6,"NodeMicroLayout",449),y(177,1,{177:1},Mv),u.Fb=function(n){var t;return U(n,177)?(t=o(n,177),Po(this.a,t.a)&&Po(this.b,t.b)||Po(this.a,t.b)&&Po(this.b,t.a)):!1;},u.Hb=function(){return j2(this.a)+j2(this.b);};var CVn=k(a6,"TEdge",177);y(317,1,{317:1},mue),u.Fb=function(n){var t;return U(n,317)?(t=o(n,317),$C(this,t.a)&&$C(this,t.b)&&$C(this,t.c)):!1;},u.Hb=function(){return j2(this.a)+j2(this.b)+j2(this.c);},k(a6,"TTriangle",317),y(225,1,{225:1},hx),k(a6,"Tree",225),y(1218,1,{},KRe),k(gen,"Scanline",1218);var ncn=Vi(gen,pen);y(1758,1,{},LHe),k(Th,"CGraph",1758),y(316,1,{316:1},URe),u.b=0,u.c=0,u.d=0,u.g=0,u.i=0,u.k=kr,k(Th,"CGroup",316),y(830,1,{},jJ),k(Th,"CGroup/CGroupBuilder",830),y(60,1,{60:1},t$e),u.Ib=function(){var n;return this.j?Nt(this.j.Kb(this)):(zh(GN),GN.o+"@"+(n=nb(this)>>>0,n.toString(16)));},u.f=0,u.i=kr;var GN=k(Th,"CNode",60);y(829,1,{},TJ),k(Th,"CNode/CNodeBuilder",829);var tcn;y(1590,1,{},Fu),u.ff=function(n,t){return 0;},u.gf=function(n,t){return 0;},k(Th,ven,1590),y(1853,1,{},$c),u.cf=function(n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I;for(b=Fi,r=new N(n.a.b);r.ar.d.c||r.d.c==s.d.c&&r.d.b0?n+this.n.d+this.n.a:0;},u.kf=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].kf());}else if(this.g){c=gre(this,iK(this,null,!0));}else {for(t=(Fl(),R(L(_p,1),we,237,0,[Mo,du,xo])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0;},u.lf=function(){var n,t,i,r,c;if(this.g){for(n=iK(this,null,!1),i=(Fl(),R(L(_p,1),we,237,0,[Mo,du,xo])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=p.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=p.Math.max(r[1],i),wte(this,du,t.d+n.d+r[0]-(r[1]-i)/2,r);},u.b=null,u.d=0,u.e=!1,u.f=!1,u.g=!1;var EG=0,zN=0;k(sw,"GridContainerCell",1538),y(471,22,{3:1,34:1,22:1,471:1},XL);var t0,ih,pl,hcn=ht(sw,"HorizontalLabelAlignment",471,mt,VEn,y5n),dcn;y(314,217,{217:1,314:1},MRe,RHe,yRe),u.jf=function(){return uLe(this);},u.kf=function(){return Nee(this);},u.a=0,u.c=!1;var IVn=k(sw,"LabelCell",314);y(252,336,{217:1,336:1,252:1},sk),u.jf=function(){return mk(this);},u.kf=function(){return vk(this);},u.lf=function(){GK(this);},u.mf=function(){zK(this);},u.b=0,u.c=0,u.d=!1,k(sw,"StripContainerCell",252),y(1691,1,Ot,j3e),u.Mb=function(n){return y3n(o(n,217));},k(sw,"StripContainerCell/lambda$0$Type",1691),y(1692,1,{},T3e),u.Ye=function(n){return o(n,217).kf();},k(sw,"StripContainerCell/lambda$1$Type",1692),y(1693,1,Ot,M3e),u.Mb=function(n){return k3n(o(n,217));},k(sw,"StripContainerCell/lambda$2$Type",1693),y(1694,1,{},x3e),u.Ye=function(n){return o(n,217).jf();},k(sw,"StripContainerCell/lambda$3$Type",1694),y(472,22,{3:1,34:1,22:1,472:1},YL);var ml,i0,Gl,wcn=ht(sw,"VerticalLabelAlignment",472,mt,zEn,k5n),bcn;y(800,1,{},$ue),u.c=0,u.d=0,u.k=0,u.s=0,u.t=0,u.v=!1,u.w=0,u.D=!1,u.F=!1,k(OP,"NodeContext",800),y(1536,1,Dt,C3e),u.Ne=function(n,t){return vOe(o(n,64),o(t,64));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(OP,"NodeContext/0methodref$comparePortSides$Type",1536),y(1537,1,Dt,I3e),u.Ne=function(n,t){return YAn(o(n,117),o(t,117));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(OP,"NodeContext/1methodref$comparePortContexts$Type",1537),y(164,22,{3:1,34:1,22:1,164:1},mf);var gcn,pcn,mcn,vcn,ycn,kcn,Ecn,_cn,Scn,jcn,Tcn,Mcn,xcn,Ccn,Icn,Pcn,Ncn,Ocn,Acn,$cn,Lcn,_G,Dcn=ht(OP,"NodeLabelLocation",164,mt,AF,E5n),Rcn;y(117,1,{117:1},TXe),u.a=!1,k(OP,"PortContext",117),y(1541,1,Gn,P3e),u.Cd=function(n){RIe(o(n,314));},k(BS,Nen,1541),y(1542,1,Ot,N3e),u.Mb=function(n){return!!o(n,117).c;},k(BS,Oen,1542),y(1543,1,Gn,O3e),u.Cd=function(n){RIe(o(n,117).c);},k(BS,"LabelPlacer/lambda$2$Type",1543);var $he;y(1540,1,Gn,A3e),u.Cd=function(n){Og(),Zvn(o(n,117));},k(BS,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),y(801,1,Gn,aee),u.Cd=function(n){dyn(this.b,this.c,this.a,o(n,187));},u.a=!1,u.c=!1,k(BS,"NodeLabelCellCreator/lambda$0$Type",801),y(1539,1,Gn,Jje),u.Cd=function(n){t3n(this.a,o(n,187));},k(BS,"PortContextCreator/lambda$0$Type",1539);var VN;y(1902,1,{},$3e),k(d6,"GreedyRectangleStripOverlapRemover",1902),y(1903,1,Dt,L3e),u.Ne=function(n,t){return G4n(o(n,226),o(t,226));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(d6,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),y(1849,1,{},uCe),u.a=5,u.e=0,k(d6,"RectangleStripOverlapRemover",1849),y(1850,1,Dt,D3e),u.Ne=function(n,t){return z4n(o(n,226),o(t,226));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(d6,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),y(1852,1,Dt,R3e),u.Ne=function(n,t){return $7n(o(n,226),o(t,226));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(d6,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),y(417,22,{3:1,34:1,22:1,417:1},KM);var aj,SG,jG,hj,Bcn=ht(d6,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,mt,uSn,_5n),Fcn;y(226,1,{226:1},aR),k(d6,"RectangleStripOverlapRemover/RectangleNode",226),y(1851,1,Gn,Qje),u.Cd=function(n){ENn(this.a,o(n,226));},k(d6,"RectangleStripOverlapRemover/lambda$1$Type",1851),y(1323,1,Dt,B3e),u.Ne=function(n,t){return Kqn(o(n,176),o(t,176));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ya,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),y(1326,1,{},F3e),u.Kb=function(n){return o(n,334).a;},k(Ya,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),y(1327,1,Ot,K3e),u.Mb=function(n){return o(n,332).a;},k(Ya,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),y(1328,1,Ot,H3e),u.Mb=function(n){return o(n,332).a;},k(Ya,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),y(1321,1,Dt,q3e),u.Ne=function(n,t){return mKn(o(n,176),o(t,176));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ya,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),y(1324,1,{},U3e),u.Kb=function(n){return o(n,334).a;},k(Ya,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),y(781,1,Dt,pY),u.Ne=function(n,t){return exn(o(n,176),o(t,176));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ya,"PolyominoCompactor/MinNumOfExtensionsComparator",781),y(1319,1,Dt,G3e),u.Ne=function(n,t){return sMn(o(n,330),o(t,330));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ya,"PolyominoCompactor/MinPerimeterComparator",1319),y(1320,1,Dt,z3e),u.Ne=function(n,t){return zPn(o(n,330),o(t,330));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ya,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),y(1322,1,Dt,V3e),u.Ne=function(n,t){return RKn(o(n,176),o(t,176));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ya,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),y(1325,1,{},W3e),u.Kb=function(n){return o(n,334).a;},k(Ya,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),y(782,1,{},EQ),u.Ve=function(n,t){return Z_n(this,o(n,42),o(t,176));},k(Ya,"SuccessorCombination",782),y(649,1,{},z$),u.Ve=function(n,t){var i;return bDn((i=o(n,42),o(t,176),i));},k(Ya,"SuccessorJitter",649),y(648,1,{},V$),u.Ve=function(n,t){var i;return nFn((i=o(n,42),o(t,176),i));},k(Ya,"SuccessorLineByLine",648),y(573,1,{},QT),u.Ve=function(n,t){var i;return bRn((i=o(n,42),o(t,176),i));},k(Ya,"SuccessorManhattan",573),y(1344,1,{},X3e),u.Ve=function(n,t){var i;return jBn((i=o(n,42),o(t,176),i));},k(Ya,"SuccessorMaxNormWindingInMathPosSense",1344),y(409,1,{},_y),u.Ve=function(n,t){return tne(this,n,t);},u.c=!1,u.d=!1,u.e=!1,u.f=!1,k(Ya,"SuccessorQuadrantsGeneric",409),y(1345,1,{},Y3e),u.Kb=function(n){return o(n,334).a;},k(Ya,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),y(332,22,{3:1,34:1,22:1,332:1},HM),u.a=!1;var dj,wj,bj,gj,Kcn=ht($P,bse,332,mt,cSn,S5n),Hcn;y(1317,1,{}),u.Ib=function(){var n,t,i,r,c,s;for(i=" ",n=je(0),c=0;c=0?"b"+n+"["+cB(this.a)+"]":"b["+cB(this.a)+"]"):"b_"+nb(this);},k(KS,"FBendpoint",250),y(290,137,{3:1,290:1,96:1,137:1},i$e),u.Ib=function(){return cB(this);},k(KS,"FEdge",290),y(235,137,{3:1,235:1,96:1,137:1},jC);var NVn=k(KS,"FGraph",235);y(454,309,{3:1,454:1,309:1,96:1,137:1},cFe),u.Ib=function(){return this.b==null||this.b.length==0?"l["+cB(this.a)+"]":"l_"+this.b;},k(KS,"FLabel",454),y(153,309,{3:1,153:1,309:1,96:1,137:1},DOe),u.Ib=function(){return qne(this);},u.a=0,k(KS,"FNode",153),y(2100,1,{}),u.vf=function(n){due(this,n);},u.wf=function(){oVe(this);},u.d=0,k(Sse,"AbstractForceModel",2100),y(641,2100,{641:1},iUe),u.uf=function(n,t){var i,r,c,s,f;return OQe(this.f,n,t),c=xr(Wr(t.d),n.d),f=p.Math.sqrt(c.a*c.a+c.b*c.b),r=p.Math.max(0,f-P8(n.e)/2-P8(t.e)/2),i=bXe(this.e,n,t),i>0?s=-N7n(r,this.c)*i:s=u6n(r,this.b)*o(M(n,(bl(),O3)),17).a,La(c,s/f),c;},u.vf=function(n){due(this,n),this.a=o(M(n,(bl(),ZN)),17).a,this.c=J(re(M(n,eO))),this.b=J(re(M(n,NG)));},u.xf=function(n){return n0&&(s-=g3n(r,this.a)*i),La(c,s*this.b/f),c;},u.vf=function(n){var t,i,r,c,s,f,h;for(due(this,n),this.b=J(re(M(n,(bl(),OG)))),this.c=this.b/o(M(n,ZN),17).a,r=n.e.c.length,s=0,c=0,h=new N(n.e);h.a0;},u.a=0,u.b=0,u.c=0,k(Sse,"FruchtermanReingoldModel",642),y(860,1,Kf,Q_e),u.hf=function(n){Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,RP),""),"Force Model"),"Determines the model for force calculation."),Uhe),(X1(),Ki)),Ghe),Qe((Hl(),mn))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,jse),""),"Iterations"),"The number of iterations on the force model."),je(300)),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Tse),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),je(0)),lo),Zr),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,aq),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Ja),oc),mr),Qe(mn)))),wr(n,aq,RP,son),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,hq),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),oc),mr),Qe(mn)))),wr(n,hq,RP,con),kZe((new Z_e,n));};var ton,ion,Uhe,ron,con,oon,uon,son;k(Hk,"ForceMetaDataProvider",860),y(432,22,{3:1,34:1,22:1,432:1},SQ);var PG,QN,Ghe=ht(Hk,"ForceModelStrategy",432,mt,Z9n,M5n),fon;y(J1,1,Kf,Z_e),u.hf=function(n){kZe(n);};var lon,aon,zhe,ZN,Vhe,hon,don,won,bon,Whe,gon,Xhe,Yhe,pon,O3,mon,NG,Jhe,von,yon,eO,OG,kon,Eon,_on,Qhe,Son;k(Hk,"ForceOptions",J1),y(1001,1,{},dye),u.sf=function(){var n;return n=new SJ,n;},u.tf=function(n){},k(Hk,"ForceOptions/ForceFactory",1001);var vj,v7,A3,nO;y(861,1,Kf,eSe),u.hf=function(n){Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,xse),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(jn(),!1)),(X1(),Pr)),rr),Qe((Hl(),Mr))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Cse),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),oc),mr),Pi(mn,R(L(Oh,1),we,170,0,[uh]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Ise),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Zhe),Ki),o1e),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Pse),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Ja),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Nse),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),je(fi)),lo),Zr),Qe(mn)))),XQe((new nSe,n));};var jon,Ton,Zhe,Mon,xon,Con;k(Hk,"StressMetaDataProvider",861),y(1004,1,Kf,nSe),u.hf=function(n){XQe(n);};var tO,e1e,n1e,t1e,i1e,r1e,Ion,Pon,Non,Oon,c1e,Aon;k(Hk,"StressOptions",1004),y(1005,1,{},aye),u.sf=function(){var n;return n=new r$e,n;},u.tf=function(n){},k(Hk,"StressOptions/StressFactory",1005),y(1110,205,fw,r$e),u.rf=function(n,t){var i,r,c,s,f;for(t.Ug(zen,1),De(Le(be(n,(eS(),i1e))))?De(Le(be(n,c1e)))||i_((i=new N5((Xw(),new Kw(n))),i)):hYe(new SJ,n,t.eh(1)),c=MUe(n),r=rQe(this.a,c),f=r.Kc();f.Ob();){s=o(f.Pb(),235),!(s.e.c.length<=1)&&(Rqn(this.b,s),lRn(this.b),mu(s.d,new hye));}c=mZe(r),xZe(c),t.Vg();},k(KP,"StressLayoutProvider",1110),y(1111,1,Gn,hye),u.Cd=function(n){kue(o(n,454));},k(KP,"StressLayoutProvider/lambda$0$Type",1111),y(1002,1,{},tCe),u.c=0,u.e=0,u.g=0,k(KP,"StressMajorization",1002),y(391,22,{3:1,34:1,22:1,391:1},JL);var AG,$G,LG,o1e=ht(KP,"StressMajorization/Dimension",391,mt,XEn,x5n),$on;y(1003,1,Dt,tTe),u.Ne=function(n,t){return t5n(this.a,o(n,153),o(t,153));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(KP,"StressMajorization/lambda$0$Type",1003),y(1192,1,{},lBe),k(M3,"ElkLayered",1192),y(1193,1,Gn,iTe),u.Cd=function(n){BLn(this.a,o(n,36));},k(M3,"ElkLayered/lambda$0$Type",1193),y(1194,1,Gn,rTe),u.Cd=function(n){i5n(this.a,o(n,36));},k(M3,"ElkLayered/lambda$1$Type",1194),y(1281,1,{},VOe);var Lon,Don,Ron;k(M3,"GraphConfigurator",1281),y(770,1,Gn,sJ),u.Cd=function(n){vWe(this.a,o(n,10));},k(M3,"GraphConfigurator/lambda$0$Type",770),y(771,1,{},vY),u.Kb=function(n){return lce(),new rn(null,new ln(o(n,30).a,16));},k(M3,"GraphConfigurator/lambda$1$Type",771),y(772,1,Gn,fJ),u.Cd=function(n){vWe(this.a,o(n,10));},k(M3,"GraphConfigurator/lambda$2$Type",772),y(1109,205,fw,sCe),u.rf=function(n,t){var i;i=vqn(new lCe,n),Z(be(n,($e(),Op)))===Z((i1(),fd))?JCn(this.a,i,t):oRn(this.a,i,t),t.$g()||aZe(new tSe,i);},k(M3,"LayeredLayoutProvider",1109),y(367,22,{3:1,34:1,22:1,367:1},pE);var vl,Ih,Go,nu,io,u1e=ht(M3,"LayeredPhases",367,mt,ZSn,C5n),Bon;y(1717,1,{},kqe),u.i=0;var Fon;k(VS,"ComponentsToCGraphTransformer",1717);var Kon;y(1718,1,{},lye),u.yf=function(n,t){return p.Math.min(n.a!=null?J(n.a):n.c.i,t.a!=null?J(t.a):t.c.i);},u.zf=function(n,t){return p.Math.min(n.a!=null?J(n.a):n.c.i,t.a!=null?J(t.a):t.c.i);},k(VS,"ComponentsToCGraphTransformer/1",1718),y(86,1,{86:1}),u.i=0,u.k=!0,u.o=kr;var DG=k(zk,"CNode",86);y(470,86,{470:1,86:1},xZ,Rre),u.Ib=function(){return"";},k(VS,"ComponentsToCGraphTransformer/CRectNode",470),y(1688,1,{},wye);var RG,BG;k(VS,"OneDimensionalComponentsCompaction",1688),y(1689,1,{},bye),u.Kb=function(n){return FEn(o(n,42));},u.Fb=function(n){return this===n;},k(VS,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),y(1690,1,{},gye),u.Kb=function(n){return ZCn(o(n,42));},u.Fb=function(n){return this===n;},k(VS,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),y(1720,1,{},pDe),k(zk,"CGraph",1720),y(194,1,{194:1},PF),u.b=0,u.c=0,u.e=0,u.g=!0,u.i=kr,k(zk,"CGroup",194),y(1719,1,{},pye),u.yf=function(n,t){return p.Math.max(n.a!=null?J(n.a):n.c.i,t.a!=null?J(t.a):t.c.i);},u.zf=function(n,t){return p.Math.max(n.a!=null?J(n.a):n.c.i,t.a!=null?J(t.a):t.c.i);},k(zk,ven,1719),y(1721,1,{},pXe),u.d=!1;var Hon,FG=k(zk,Een,1721);y(1722,1,{},mye),u.Kb=function(n){return aQ(),jn(),o(o(n,42).a,86).d.e!=0;},u.Fb=function(n){return this===n;},k(zk,_en,1722),y(833,1,{},Bee),u.a=!1,u.b=!1,u.c=!1,u.d=!1,k(zk,Sen,833),y(1898,1,{},OLe),k(HP,jen,1898);var yj=Vi(aw,pen);y(1899,1,{382:1},dRe),u.bf=function(n){wFn(this,o(n,476));},k(HP,Ten,1899),y(Xd,1,Dt,vye),u.Ne=function(n,t){return _9n(o(n,86),o(t,86));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(HP,Men,Xd),y(476,1,{476:1},TQ),u.a=!1,k(HP,xen,476),y(1901,1,Dt,yye),u.Ne=function(n,t){return SOn(o(n,476),o(t,476));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(HP,Cen,1901),y(148,1,{148:1},Ly,Eee),u.Fb=function(n){var t;return n==null||OVn!=Ds(n)?!1:(t=o(n,148),Po(this.c,t.c)&&Po(this.d,t.d));},u.Hb=function(){return F_(R(L(Ir,1),vn,1,5,[this.c,this.d]));},u.Ib=function(){return"("+this.c+gc+this.d+(this.a?"cx":"")+this.b+")";},u.a=!0,u.c=0,u.d=0;var OVn=k(aw,"Point",148);y(416,22,{3:1,34:1,22:1,416:1},UM);var Wb,Sp,pm,jp,qon=ht(aw,"Point/Quadrant",416,mt,sSn,I5n),Uon;y(1708,1,{},oCe),u.b=null,u.c=null,u.d=null,u.e=null,u.f=null;var Gon,zon,Von,Won,Xon;k(aw,"RectilinearConvexHull",1708),y(583,1,{382:1},AI),u.bf=function(n){Qjn(this,o(n,148));},u.b=0;var s1e;k(aw,"RectilinearConvexHull/MaximalElementsEventHandler",583),y(1710,1,Dt,kye),u.Ne=function(n,t){return S9n(re(n),re(t));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(aw,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),y(1709,1,{382:1},DHe),u.bf=function(n){CBn(this,o(n,148));},u.a=0,u.b=null,u.c=null,u.d=null,u.e=null,k(aw,"RectilinearConvexHull/RectangleEventHandler",1709),y(1711,1,Dt,Eye),u.Ne=function(n,t){return N_n(o(n,148),o(t,148));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(aw,"RectilinearConvexHull/lambda$0$Type",1711),y(1712,1,Dt,jye),u.Ne=function(n,t){return O_n(o(n,148),o(t,148));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(aw,"RectilinearConvexHull/lambda$1$Type",1712),y(1713,1,Dt,Tye),u.Ne=function(n,t){return P_n(o(n,148),o(t,148));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(aw,"RectilinearConvexHull/lambda$2$Type",1713),y(1714,1,Dt,Sye),u.Ne=function(n,t){return A_n(o(n,148),o(t,148));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(aw,"RectilinearConvexHull/lambda$3$Type",1714),y(1715,1,Dt,Mye),u.Ne=function(n,t){return a$n(o(n,148),o(t,148));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(aw,"RectilinearConvexHull/lambda$4$Type",1715),y(1716,1,{},HRe),k(aw,"Scanline",1716),y(2104,1,{}),k(pa,"AbstractGraphPlacer",2104),y(335,1,{335:1},CAe),u.Ff=function(n){return this.Gf(n)?(fn(this.b,o(M(n,(Ee(),b1)),21),n),!0):!1;},u.Gf=function(n){var t,i,r,c;for(t=o(M(n,(Ee(),b1)),21),c=o(pi(ji,t),21),r=c.Kc();r.Ob();){if(i=o(r.Pb(),21),!o(pi(this.b,i),15).dc()){return!1;}}return!0;};var ji;k(pa,"ComponentGroup",335),y(779,2104,{},MJ),u.Hf=function(n){var t,i;for(i=new N(this.a);i.ai&&(m=0,E+=h+r,h=0),d=s.c,J4(s,m+d.a,E+d.b),Al(d),c=p.Math.max(c,m+b.a),h=p.Math.max(h,b.b),m+=b.a+r;}t.f.a=c,t.f.b=E+h;},u.Jf=function(n,t){var i,r,c,s,f;if(Z(M(t,($e(),Np)))===Z((nw(),Tp))){for(r=n.Kc();r.Ob();){for(i=o(r.Pb(),36),f=0,s=new N(i.a);s.ai&&!o(M(s,(Ee(),b1)),21).Hc((Oe(),Nn))||d&&o(M(d,(Ee(),b1)),21).Hc((Oe(),Kn))||o(M(s,(Ee(),b1)),21).Hc((Oe(),An)))&&(S=E,T+=h+r,h=0),b=s.c,o(M(s,(Ee(),b1)),21).Hc((Oe(),Nn))&&(S=c+r),J4(s,S+b.a,T+b.b),c=p.Math.max(c,S+m.a),o(M(s,b1),21).Hc(st)&&(E=p.Math.max(E,S+m.a+r)),Al(b),h=p.Math.max(h,m.b),S+=m.a+r,d=s;}t.f.a=c,t.f.b=T+h;},u.Jf=function(n,t){},k(pa,"ModelOrderRowGraphPlacer",1313),y(1311,1,Dt,Iye),u.Ne=function(n,t){return JMn(o(n,36),o(t,36));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(pa,"SimpleRowGraphPlacer/1",1311);var Jon;y(1280,1,Xa,Pye),u.Lb=function(n){var t;return t=o(M(o(n,249).b,($e(),Wc)),75),!!t&&t.b!=0;},u.Fb=function(n){return this===n;},u.Mb=function(n){var t;return t=o(M(o(n,249).b,($e(),Wc)),75),!!t&&t.b!=0;},k(qP,"CompoundGraphPostprocessor/1",1280),y(1279,1,Ci,aCe),u.Kf=function(n,t){Fze(this,o(n,36),t);},k(qP,"CompoundGraphPreprocessor",1279),y(453,1,{453:1},IGe),u.c=!1,k(qP,"CompoundGraphPreprocessor/ExternalPort",453),y(249,1,{249:1},jx),u.Ib=function(){return FD(this.c)+":"+aXe(this.b);},k(qP,"CrossHierarchyEdge",249),y(777,1,Dt,lJ),u.Ne=function(n,t){return QNn(this,o(n,249),o(t,249));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(qP,"CrossHierarchyEdgeComparator",777),y(305,137,{3:1,305:1,96:1,137:1}),u.p=0,k(Zo,"LGraphElement",305),y(18,305,{3:1,18:1,305:1,96:1,137:1},db),u.Ib=function(){return aXe(this);};var qG=k(Zo,"LEdge",18);y(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},eie),u.Jc=function(n){Jr(this,n);},u.Kc=function(){return new N(this.b);},u.Ib=function(){return this.b.c.length==0?"G-unlayered"+Ud(this.a):this.a.c.length==0?"G-layered"+Ud(this.b):"G[layerless"+Ud(this.a)+", layers"+Ud(this.b)+"]";};var Qon=k(Zo,"LGraph",36),Zon;y(666,1,{}),u.Lf=function(){return this.e.n;},u.of=function(n){return M(this.e,n);},u.Mf=function(){return this.e.o;},u.Nf=function(){return this.e.p;},u.pf=function(n){return Ii(this.e,n);},u.Of=function(n){this.e.n.a=n.a,this.e.n.b=n.b;},u.Pf=function(n){this.e.o.a=n.a,this.e.o.b=n.b;},u.Qf=function(n){this.e.p=n;},k(Zo,"LGraphAdapters/AbstractLShapeAdapter",666),y(474,1,{853:1},O5),u.Rf=function(){var n,t;if(!this.b){for(this.b=hh(this.a.b.c.length),t=new N(this.a.b);t.a0&&uGe((Pn(t-1,n.length),n.charCodeAt(t-1)),Qen);){--t;}if(s> ",n),UI(i)),qt(Vo((n.a+="[",n),i.i),"]")),n.a;},u.c=!0,u.d=!1;var d1e,w1e,b1e,g1e,p1e,m1e,nun=k(Zo,"LPort",12);y(408,1,_h,Sy),u.Jc=function(n){Jr(this,n);},u.Kc=function(){var n;return n=new N(this.a.e),new cTe(n);},k(Zo,"LPort/1",408),y(1309,1,Rr,cTe),u.Nb=function(n){Xr(this,n);},u.Pb=function(){return o(P(this.a),18).c;},u.Ob=function(){return wo(this.a);},u.Qb=function(){x8(this.a);},k(Zo,"LPort/1/1",1309),y(369,1,_h,bv),u.Jc=function(n){Jr(this,n);},u.Kc=function(){var n;return n=new N(this.a.g),new aJ(n);},k(Zo,"LPort/2",369),y(776,1,Rr,aJ),u.Nb=function(n){Xr(this,n);},u.Pb=function(){return o(P(this.a),18).d;},u.Ob=function(){return wo(this.a);},u.Qb=function(){x8(this.a);},k(Zo,"LPort/2/1",776),y(1302,1,_h,WPe),u.Jc=function(n){Jr(this,n);},u.Kc=function(){return new ua(this);},k(Zo,"LPort/CombineIter",1302),y(208,1,Rr,ua),u.Nb=function(n){Xr(this,n);},u.Qb=function(){TIe();},u.Ob=function(){return p8(this);},u.Pb=function(){return wo(this.a)?P(this.a):P(this.b);},k(Zo,"LPort/CombineIter/1",208),y(1303,1,Xa,Oye),u.Lb=function(n){return VLe(n);},u.Fb=function(n){return this===n;},u.Mb=function(n){return Wu(),o(n,12).g.c.length!=0;},k(Zo,"LPort/lambda$0$Type",1303),y(1304,1,Xa,Aye),u.Lb=function(n){return WLe(n);},u.Fb=function(n){return this===n;},u.Mb=function(n){return Wu(),o(n,12).e.c.length!=0;},k(Zo,"LPort/lambda$1$Type",1304),y(1305,1,Xa,$ye),u.Lb=function(n){return Wu(),o(n,12).j==(Oe(),Nn);},u.Fb=function(n){return this===n;},u.Mb=function(n){return Wu(),o(n,12).j==(Oe(),Nn);},k(Zo,"LPort/lambda$2$Type",1305),y(1306,1,Xa,Lye),u.Lb=function(n){return Wu(),o(n,12).j==(Oe(),Kn);},u.Fb=function(n){return this===n;},u.Mb=function(n){return Wu(),o(n,12).j==(Oe(),Kn);},k(Zo,"LPort/lambda$3$Type",1306),y(1307,1,Xa,Dye),u.Lb=function(n){return Wu(),o(n,12).j==(Oe(),st);},u.Fb=function(n){return this===n;},u.Mb=function(n){return Wu(),o(n,12).j==(Oe(),st);},k(Zo,"LPort/lambda$4$Type",1307),y(1308,1,Xa,Rye),u.Lb=function(n){return Wu(),o(n,12).j==(Oe(),An);},u.Fb=function(n){return this===n;},u.Mb=function(n){return Wu(),o(n,12).j==(Oe(),An);},k(Zo,"LPort/lambda$5$Type",1308),y(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},Wo),u.Jc=function(n){Jr(this,n);},u.Kc=function(){return new N(this.a);},u.Ib=function(){return"L_"+eo(this.b.b,this,0)+Ud(this.a);},k(Zo,"Layer",30),y(1330,1,{},lCe),k(Z1,tnn,1330),y(1334,1,{},Bye),u.Kb=function(n){return to(o(n,84));},k(Z1,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),y(1337,1,{},Fye),u.Kb=function(n){return to(o(n,84));},k(Z1,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),y(1331,1,Gn,oTe),u.Cd=function(n){xXe(this.a,o(n,123));},k(Z1,_se,1331),y(1332,1,Gn,uTe),u.Cd=function(n){xXe(this.a,o(n,123));},k(Z1,inn,1332),y(1333,1,{},Kye),u.Kb=function(n){return new rn(null,new ln(kne(o(n,74)),16));},k(Z1,rnn,1333),y(1335,1,Ot,sTe),u.Mb=function(n){return n4n(this.a,o(n,27));},k(Z1,cnn,1335),y(1336,1,{},Hye),u.Kb=function(n){return new rn(null,new ln(m9n(o(n,74)),16));},k(Z1,"ElkGraphImporter/lambda$5$Type",1336),y(1338,1,Ot,fTe),u.Mb=function(n){return t4n(this.a,o(n,27));},k(Z1,"ElkGraphImporter/lambda$7$Type",1338),y(1339,1,Ot,qye),u.Mb=function(n){return N9n(o(n,74));},k(Z1,"ElkGraphImporter/lambda$8$Type",1339),y(1297,1,{},tSe);var tun;k(Z1,"ElkGraphLayoutTransferrer",1297),y(1298,1,Ot,lTe),u.Mb=function(n){return U6n(this.a,o(n,18));},k(Z1,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),y(1299,1,Gn,aTe),u.Cd=function(n){bE(),xe(this.a,o(n,18));},k(Z1,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),y(1300,1,Ot,hTe),u.Mb=function(n){return C6n(this.a,o(n,18));},k(Z1,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),y(1301,1,Gn,dTe),u.Cd=function(n){bE(),xe(this.a,o(n,18));},k(Z1,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),y(819,1,{},JZ),k(Ln,"BiLinkedHashMultiMap",819),y(1550,1,Ci,Uye),u.Kf=function(n,t){pMn(o(n,36),t);},k(Ln,"CommentNodeMarginCalculator",1550),y(1551,1,{},Gye),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"CommentNodeMarginCalculator/lambda$0$Type",1551),y(1552,1,Gn,zye),u.Cd=function(n){pqn(o(n,10));},k(Ln,"CommentNodeMarginCalculator/lambda$1$Type",1552),y(1553,1,Ci,Vye),u.Kf=function(n,t){kFn(o(n,36),t);},k(Ln,"CommentPostprocessor",1553),y(1554,1,Ci,Wye),u.Kf=function(n,t){qGn(o(n,36),t);},k(Ln,"CommentPreprocessor",1554),y(1555,1,Ci,Xye),u.Kf=function(n,t){RBn(o(n,36),t);},k(Ln,"ConstraintsPostprocessor",1555),y(1556,1,Ci,Yye),u.Kf=function(n,t){GMn(o(n,36),t);},k(Ln,"EdgeAndLayerConstraintEdgeReverser",1556),y(1557,1,Ci,Jye),u.Kf=function(n,t){$In(o(n,36),t);},k(Ln,"EndLabelPostprocessor",1557),y(1558,1,{},Qye),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"EndLabelPostprocessor/lambda$0$Type",1558),y(1559,1,Ot,Zye),u.Mb=function(n){return YSn(o(n,10));},k(Ln,"EndLabelPostprocessor/lambda$1$Type",1559),y(1560,1,Gn,e4e),u.Cd=function(n){jOn(o(n,10));},k(Ln,"EndLabelPostprocessor/lambda$2$Type",1560),y(1561,1,Ci,n4e),u.Kf=function(n,t){dLn(o(n,36),t);},k(Ln,"EndLabelPreprocessor",1561),y(1562,1,{},t4e),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"EndLabelPreprocessor/lambda$0$Type",1562),y(1563,1,Gn,$$e),u.Cd=function(n){wyn(this.a,this.b,this.c,o(n,10));},u.a=0,u.b=0,u.c=!1,k(Ln,"EndLabelPreprocessor/lambda$1$Type",1563),y(1564,1,Ot,i4e),u.Mb=function(n){return Z(M(o(n,72),($e(),ch)))===Z((la(),s5));},k(Ln,"EndLabelPreprocessor/lambda$2$Type",1564),y(1565,1,Gn,wTe),u.Cd=function(n){Kt(this.a,o(n,72));},k(Ln,"EndLabelPreprocessor/lambda$3$Type",1565),y(1566,1,Ot,r4e),u.Mb=function(n){return Z(M(o(n,72),($e(),ch)))===Z((la(),Gp));},k(Ln,"EndLabelPreprocessor/lambda$4$Type",1566),y(1567,1,Gn,bTe),u.Cd=function(n){Kt(this.a,o(n,72));},k(Ln,"EndLabelPreprocessor/lambda$5$Type",1567),y(1615,1,Ci,W_e),u.Kf=function(n,t){ACn(o(n,36),t);};var iun;k(Ln,"EndLabelSorter",1615),y(1616,1,Dt,c4e),u.Ne=function(n,t){return dPn(o(n,466),o(t,466));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"EndLabelSorter/1",1616),y(466,1,{466:1},uRe),k(Ln,"EndLabelSorter/LabelGroup",466),y(1617,1,{},o4e),u.Kb=function(n){return wE(),new rn(null,new ln(o(n,30).a,16));},k(Ln,"EndLabelSorter/lambda$0$Type",1617),y(1618,1,Ot,u4e),u.Mb=function(n){return wE(),o(n,10).k==(On(),cr);},k(Ln,"EndLabelSorter/lambda$1$Type",1618),y(1619,1,Gn,s4e),u.Cd=function(n){M$n(o(n,10));},k(Ln,"EndLabelSorter/lambda$2$Type",1619),y(1620,1,Ot,f4e),u.Mb=function(n){return wE(),Z(M(o(n,72),($e(),ch)))===Z((la(),Gp));},k(Ln,"EndLabelSorter/lambda$3$Type",1620),y(1621,1,Ot,l4e),u.Mb=function(n){return wE(),Z(M(o(n,72),($e(),ch)))===Z((la(),s5));},k(Ln,"EndLabelSorter/lambda$4$Type",1621),y(1568,1,Ci,a4e),u.Kf=function(n,t){Pqn(this,o(n,36));},u.b=0,u.c=0,k(Ln,"FinalSplineBendpointsCalculator",1568),y(1569,1,{},h4e),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),y(1570,1,{},d4e),u.Kb=function(n){return new rn(null,new ub(new Un(Vn(ur(o(n,10)).a.Kc(),new Y))));},k(Ln,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),y(1571,1,Ot,w4e),u.Mb=function(n){return!yc(o(n,18));},k(Ln,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),y(1572,1,Ot,b4e),u.Mb=function(n){return Ii(o(n,18),(Ee(),yw));},k(Ln,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),y(1573,1,Gn,gTe),u.Cd=function(n){FKn(this.a,o(n,131));},k(Ln,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),y(1574,1,Gn,g4e),u.Cd=function(n){sS(o(n,18).a);},k(Ln,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),y(803,1,Ci,hJ),u.Kf=function(n,t){jUn(this,o(n,36),t);},k(Ln,"GraphTransformer",803),y(517,22,{3:1,34:1,22:1,517:1},jQ);var GG,kj,run=ht(Ln,"GraphTransformer/Mode",517,mt,eEn,$8n),cun;y(1575,1,Ci,p4e),u.Kf=function(n,t){VRn(o(n,36),t);},k(Ln,"HierarchicalNodeResizingProcessor",1575),y(1576,1,Ci,m4e),u.Kf=function(n,t){hMn(o(n,36),t);},k(Ln,"HierarchicalPortConstraintProcessor",1576),y(1577,1,Dt,v4e),u.Ne=function(n,t){return APn(o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"HierarchicalPortConstraintProcessor/NodeComparator",1577),y(1578,1,Ci,y4e),u.Kf=function(n,t){$Hn(o(n,36),t);},k(Ln,"HierarchicalPortDummySizeProcessor",1578),y(1579,1,Ci,k4e),u.Kf=function(n,t){GFn(this,o(n,36),t);},u.a=0,k(Ln,"HierarchicalPortOrthogonalEdgeRouter",1579),y(1580,1,Dt,E4e),u.Ne=function(n,t){return V4n(o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"HierarchicalPortOrthogonalEdgeRouter/1",1580),y(1581,1,Dt,_4e),u.Ne=function(n,t){return Zjn(o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"HierarchicalPortOrthogonalEdgeRouter/2",1581),y(1582,1,Ci,S4e),u.Kf=function(n,t){s$n(o(n,36),t);},k(Ln,"HierarchicalPortPositionProcessor",1582),y(1583,1,Ci,iSe),u.Kf=function(n,t){Szn(this,o(n,36));},u.a=0,u.c=0;var iO,rO;k(Ln,"HighDegreeNodeLayeringProcessor",1583),y(580,1,{580:1},j4e),u.b=-1,u.d=-1,k(Ln,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),y(1584,1,{},T4e),u.Kb=function(n){return qE(),Nr(o(n,10));},u.Fb=function(n){return this===n;},k(Ln,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),y(1585,1,{},M4e),u.Kb=function(n){return qE(),ur(o(n,10));},u.Fb=function(n){return this===n;},k(Ln,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),y(1591,1,Ci,x4e),u.Kf=function(n,t){MHn(this,o(n,36),t);},k(Ln,"HyperedgeDummyMerger",1591),y(804,1,{},hee),u.a=!1,u.b=!1,u.c=!1,k(Ln,"HyperedgeDummyMerger/MergeState",804),y(1592,1,{},C4e),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"HyperedgeDummyMerger/lambda$0$Type",1592),y(1593,1,{},I4e),u.Kb=function(n){return new rn(null,new ln(o(n,10).j,16));},k(Ln,"HyperedgeDummyMerger/lambda$1$Type",1593),y(1594,1,Gn,P4e),u.Cd=function(n){o(n,12).p=-1;},k(Ln,"HyperedgeDummyMerger/lambda$2$Type",1594),y(1595,1,Ci,N4e),u.Kf=function(n,t){jHn(o(n,36),t);},k(Ln,"HypernodesProcessor",1595),y(1596,1,Ci,O4e),u.Kf=function(n,t){AHn(o(n,36),t);},k(Ln,"InLayerConstraintProcessor",1596),y(1597,1,Ci,A4e),u.Kf=function(n,t){MMn(o(n,36),t);},k(Ln,"InnermostNodeMarginCalculator",1597),y(1598,1,Ci,$4e),u.Kf=function(n,t){BGn(this,o(n,36));},u.a=kr,u.b=kr,u.c=Fi,u.d=Fi;var AVn=k(Ln,"InteractiveExternalPortPositioner",1598);y(1599,1,{},L4e),u.Kb=function(n){return o(n,18).d.i;},u.Fb=function(n){return this===n;},k(Ln,"InteractiveExternalPortPositioner/lambda$0$Type",1599),y(1600,1,{},pTe),u.Kb=function(n){return W4n(this.a,re(n));},u.Fb=function(n){return this===n;},k(Ln,"InteractiveExternalPortPositioner/lambda$1$Type",1600),y(1601,1,{},D4e),u.Kb=function(n){return o(n,18).c.i;},u.Fb=function(n){return this===n;},k(Ln,"InteractiveExternalPortPositioner/lambda$2$Type",1601),y(1602,1,{},mTe),u.Kb=function(n){return X4n(this.a,re(n));},u.Fb=function(n){return this===n;},k(Ln,"InteractiveExternalPortPositioner/lambda$3$Type",1602),y(1603,1,{},vTe),u.Kb=function(n){return z6n(this.a,re(n));},u.Fb=function(n){return this===n;},k(Ln,"InteractiveExternalPortPositioner/lambda$4$Type",1603),y(1604,1,{},yTe),u.Kb=function(n){return V6n(this.a,re(n));},u.Fb=function(n){return this===n;},k(Ln,"InteractiveExternalPortPositioner/lambda$5$Type",1604),y(81,22,{3:1,34:1,22:1,81:1,196:1},ar),u.dg=function(){switch(this.g){case 15:return new e8e;case 22:return new n8e;case 47:return new r8e;case 28:case 35:return new W4e;case 32:return new Uye;case 42:return new Vye;case 1:return new Wye;case 41:return new Xye;case 56:return new hJ((p4(),kj));case 0:return new hJ((p4(),GG));case 2:return new Yye;case 54:return new Jye;case 33:return new n4e;case 51:return new a4e;case 55:return new p4e;case 13:return new m4e;case 38:return new y4e;case 44:return new k4e;case 40:return new S4e;case 9:return new iSe;case 49:return new yAe;case 37:return new x4e;case 43:return new N4e;case 27:return new O4e;case 30:return new A4e;case 3:return new $4e;case 18:return new B4e;case 29:return new F4e;case 5:return new rSe;case 50:return new R4e;case 34:return new cSe;case 36:return new X4e;case 52:return new W_e;case 11:return new Y4e;case 7:return new oSe;case 39:return new J4e;case 45:return new Q4e;case 16:return new Z4e;case 10:return new hNe;case 48:return new i6e;case 21:return new r6e;case 23:return new xL((kb(),F7));case 8:return new o6e;case 12:return new s6e;case 4:return new f6e;case 19:return new hSe;case 17:return new v6e;case 53:return new y6e;case 6:return new N6e;case 25:return new dCe;case 46:return new j6e;case 31:return new s$e;case 14:return new F6e;case 26:return new u8e;case 20:return new G6e;case 24:return new xL((kb(),sA));default:throw O(new In(pq+(this.f!=null?this.f:""+this.g)));}};var v1e,y1e,k1e,E1e,_1e,S1e,j1e,T1e,M1e,x1e,mm,cO,oO,C1e,I1e,P1e,N1e,O1e,A1e,$1e,y7,L1e,D1e,R1e,B1e,F1e,zG,uO,sO,K1e,fO,lO,aO,O6,Mp,xp,H1e,hO,dO,q1e,wO,bO,U1e,G1e,z1e,V1e,gO,VG,Ej,pO,mO,vO,yO,W1e,X1e,Y1e,J1e,$Vn=ht(Ln,mq,81,mt,kYe,A5n),oun;y(1605,1,Ci,B4e),u.Kf=function(n,t){DGn(o(n,36),t);},k(Ln,"InvertedPortProcessor",1605),y(1606,1,Ci,F4e),u.Kf=function(n,t){NKn(o(n,36),t);},k(Ln,"LabelAndNodeSizeProcessor",1606),y(1607,1,Ot,K4e),u.Mb=function(n){return o(n,10).k==(On(),cr);},k(Ln,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),y(1608,1,Ot,H4e),u.Mb=function(n){return o(n,10).k==(On(),fr);},k(Ln,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),y(1609,1,Gn,L$e),u.Cd=function(n){byn(this.b,this.a,this.c,o(n,10));},u.a=!1,u.c=!1,k(Ln,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),y(1610,1,Ci,rSe),u.Kf=function(n,t){fGn(o(n,36),t);};var uun;k(Ln,"LabelDummyInserter",1610),y(1611,1,Xa,q4e),u.Lb=function(n){return Z(M(o(n,72),($e(),ch)))===Z((la(),u5));},u.Fb=function(n){return this===n;},u.Mb=function(n){return Z(M(o(n,72),($e(),ch)))===Z((la(),u5));},k(Ln,"LabelDummyInserter/1",1611),y(1612,1,Ci,R4e),u.Kf=function(n,t){JUn(o(n,36),t);},k(Ln,"LabelDummyRemover",1612),y(1613,1,Ot,U4e),u.Mb=function(n){return De(Le(M(o(n,72),($e(),$z))));},k(Ln,"LabelDummyRemover/lambda$0$Type",1613),y(1378,1,Ci,cSe),u.Kf=function(n,t){qUn(this,o(n,36),t);},u.a=null;var WG;k(Ln,"LabelDummySwitcher",1378),y(293,1,{293:1},yJe),u.c=0,u.d=null,u.f=0,k(Ln,"LabelDummySwitcher/LabelDummyInfo",293),y(1379,1,{},G4e),u.Kb=function(n){return n3(),new rn(null,new ln(o(n,30).a,16));},k(Ln,"LabelDummySwitcher/lambda$0$Type",1379),y(1380,1,Ot,z4e),u.Mb=function(n){return n3(),o(n,10).k==(On(),Fo);},k(Ln,"LabelDummySwitcher/lambda$1$Type",1380),y(1381,1,{},kTe),u.Kb=function(n){return I6n(this.a,o(n,10));},k(Ln,"LabelDummySwitcher/lambda$2$Type",1381),y(1382,1,Gn,ETe),u.Cd=function(n){Y7n(this.a,o(n,293));},k(Ln,"LabelDummySwitcher/lambda$3$Type",1382),y(1383,1,Dt,V4e),u.Ne=function(n,t){return y7n(o(n,293),o(t,293));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"LabelDummySwitcher/lambda$4$Type",1383),y(802,1,Ci,W4e),u.Kf=function(n,t){Njn(o(n,36),t);},k(Ln,"LabelManagementProcessor",802),y(1614,1,Ci,X4e),u.Kf=function(n,t){fFn(o(n,36),t);},k(Ln,"LabelSideSelector",1614),y(1622,1,Ci,Y4e),u.Kf=function(n,t){YHn(o(n,36),t);},k(Ln,"LayerConstraintPostprocessor",1622),y(1623,1,Ci,oSe),u.Kf=function(n,t){GDn(o(n,36),t);};var Q1e;k(Ln,"LayerConstraintPreprocessor",1623),y(371,22,{3:1,34:1,22:1,371:1},zM);var _j,kO,EO,XG,sun=ht(Ln,"LayerConstraintPreprocessor/HiddenNodeConnections",371,mt,lSn,$5n),fun;y(1624,1,Ci,J4e),u.Kf=function(n,t){dUn(o(n,36),t);},k(Ln,"LayerSizeAndGraphHeightCalculator",1624),y(1625,1,Ci,Q4e),u.Kf=function(n,t){WRn(o(n,36),t);},k(Ln,"LongEdgeJoiner",1625),y(1626,1,Ci,Z4e),u.Kf=function(n,t){Hqn(o(n,36),t);},k(Ln,"LongEdgeSplitter",1626),y(1627,1,Ci,hNe),u.Kf=function(n,t){SGn(this,o(n,36),t);},u.e=0,u.f=0,u.j=0,u.k=0,u.n=0,u.o=0;var lun,aun;k(Ln,"NodePromotion",1627),y(1628,1,Dt,e6e),u.Ne=function(n,t){return Dxn(o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"NodePromotion/1",1628),y(1629,1,Dt,n6e),u.Ne=function(n,t){return Rxn(o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"NodePromotion/2",1629),y(1630,1,{},t6e),u.Kb=function(n){return o(n,42),Mx(),jn(),!0;},u.Fb=function(n){return this===n;},k(Ln,"NodePromotion/lambda$0$Type",1630),y(1631,1,{},TTe),u.Kb=function(n){return OEn(this.a,o(n,42));},u.Fb=function(n){return this===n;},u.a=0,k(Ln,"NodePromotion/lambda$1$Type",1631),y(1632,1,{},MTe),u.Kb=function(n){return NEn(this.a,o(n,42));},u.Fb=function(n){return this===n;},u.a=0,k(Ln,"NodePromotion/lambda$2$Type",1632),y(1633,1,Ci,i6e),u.Kf=function(n,t){mzn(o(n,36),t);},k(Ln,"NorthSouthPortPostprocessor",1633),y(1634,1,Ci,r6e),u.Kf=function(n,t){QGn(o(n,36),t);},k(Ln,"NorthSouthPortPreprocessor",1634),y(1635,1,Dt,c6e),u.Ne=function(n,t){return QMn(o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"NorthSouthPortPreprocessor/lambda$0$Type",1635),y(1636,1,Ci,o6e),u.Kf=function(n,t){dHn(o(n,36),t);},k(Ln,"PartitionMidprocessor",1636),y(1637,1,Ot,u6e),u.Mb=function(n){return Ii(o(n,10),($e(),V6));},k(Ln,"PartitionMidprocessor/lambda$0$Type",1637),y(1638,1,Gn,xTe),u.Cd=function(n){O9n(this.a,o(n,10));},k(Ln,"PartitionMidprocessor/lambda$1$Type",1638),y(1639,1,Ci,s6e),u.Kf=function(n,t){bBn(o(n,36),t);},k(Ln,"PartitionPostprocessor",1639),y(1640,1,Ci,f6e),u.Kf=function(n,t){CDn(o(n,36),t);},k(Ln,"PartitionPreprocessor",1640),y(1641,1,Ot,l6e),u.Mb=function(n){return Ii(o(n,10),($e(),V6));},k(Ln,"PartitionPreprocessor/lambda$0$Type",1641),y(1642,1,{},a6e),u.Kb=function(n){return new rn(null,new ub(new Un(Vn(ur(o(n,10)).a.Kc(),new Y))));},k(Ln,"PartitionPreprocessor/lambda$1$Type",1642),y(1643,1,Ot,h6e),u.Mb=function(n){return vPn(o(n,18));},k(Ln,"PartitionPreprocessor/lambda$2$Type",1643),y(1644,1,Gn,d6e),u.Cd=function(n){bxn(o(n,18));},k(Ln,"PartitionPreprocessor/lambda$3$Type",1644),y(1645,1,Ci,hSe),u.Kf=function(n,t){VKn(o(n,36),t);};var Z1e,hun,dun,wun,ede,nde;k(Ln,"PortListSorter",1645),y(1648,1,Dt,w6e),u.Ne=function(n,t){return aFe(o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"PortListSorter/lambda$0$Type",1648),y(1650,1,Dt,b6e),u.Ne=function(n,t){return UJe(o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"PortListSorter/lambda$1$Type",1650),y(1646,1,{},g6e),u.Kb=function(n){return x4(),o(n,12).e;},k(Ln,"PortListSorter/lambda$2$Type",1646),y(1647,1,{},p6e),u.Kb=function(n){return x4(),o(n,12).g;},k(Ln,"PortListSorter/lambda$3$Type",1647),y(1649,1,Dt,m6e),u.Ne=function(n,t){return qNn(o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"PortListSorter/lambda$4$Type",1649),y(1651,1,Ci,v6e),u.Kf=function(n,t){rRn(o(n,36),t);},k(Ln,"PortSideProcessor",1651),y(1652,1,Ci,y6e),u.Kf=function(n,t){cKn(o(n,36),t);},k(Ln,"ReversedEdgeRestorer",1652),y(1657,1,Ci,dCe),u.Kf=function(n,t){jNn(this,o(n,36),t);},k(Ln,"SelfLoopPortRestorer",1657),y(1658,1,{},k6e),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"SelfLoopPortRestorer/lambda$0$Type",1658),y(1659,1,Ot,E6e),u.Mb=function(n){return o(n,10).k==(On(),cr);},k(Ln,"SelfLoopPortRestorer/lambda$1$Type",1659),y(1660,1,Ot,_6e),u.Mb=function(n){return Ii(o(n,10),(Ee(),eg));},k(Ln,"SelfLoopPortRestorer/lambda$2$Type",1660),y(1661,1,{},S6e),u.Kb=function(n){return o(M(o(n,10),(Ee(),eg)),337);},k(Ln,"SelfLoopPortRestorer/lambda$3$Type",1661),y(1662,1,Gn,STe),u.Cd=function(n){F$n(this.a,o(n,337));},k(Ln,"SelfLoopPortRestorer/lambda$4$Type",1662),y(805,1,Gn,EY),u.Cd=function(n){Z$n(o(n,105));},k(Ln,"SelfLoopPortRestorer/lambda$5$Type",805),y(1663,1,Ci,j6e),u.Kf=function(n,t){PPn(o(n,36),t);},k(Ln,"SelfLoopPostProcessor",1663),y(1664,1,{},T6e),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"SelfLoopPostProcessor/lambda$0$Type",1664),y(1665,1,Ot,M6e),u.Mb=function(n){return o(n,10).k==(On(),cr);},k(Ln,"SelfLoopPostProcessor/lambda$1$Type",1665),y(1666,1,Ot,x6e),u.Mb=function(n){return Ii(o(n,10),(Ee(),eg));},k(Ln,"SelfLoopPostProcessor/lambda$2$Type",1666),y(1667,1,Gn,C6e),u.Cd=function(n){HOn(o(n,10));},k(Ln,"SelfLoopPostProcessor/lambda$3$Type",1667),y(1668,1,{},I6e),u.Kb=function(n){return new rn(null,new ln(o(n,105).f,1));},k(Ln,"SelfLoopPostProcessor/lambda$4$Type",1668),y(1669,1,Gn,_Te),u.Cd=function(n){wSn(this.a,o(n,340));},k(Ln,"SelfLoopPostProcessor/lambda$5$Type",1669),y(1670,1,Ot,P6e),u.Mb=function(n){return!!o(n,105).i;},k(Ln,"SelfLoopPostProcessor/lambda$6$Type",1670),y(1671,1,Gn,jTe),u.Cd=function(n){w3n(this.a,o(n,105));},k(Ln,"SelfLoopPostProcessor/lambda$7$Type",1671),y(1653,1,Ci,N6e),u.Kf=function(n,t){ORn(o(n,36),t);},k(Ln,"SelfLoopPreProcessor",1653),y(1654,1,{},O6e),u.Kb=function(n){return new rn(null,new ln(o(n,105).f,1));},k(Ln,"SelfLoopPreProcessor/lambda$0$Type",1654),y(1655,1,{},A6e),u.Kb=function(n){return o(n,340).a;},k(Ln,"SelfLoopPreProcessor/lambda$1$Type",1655),y(1656,1,Gn,$6e),u.Cd=function(n){p4n(o(n,18));},k(Ln,"SelfLoopPreProcessor/lambda$2$Type",1656),y(1672,1,Ci,s$e),u.Kf=function(n,t){k$n(this,o(n,36),t);},k(Ln,"SelfLoopRouter",1672),y(1673,1,{},L6e),u.Kb=function(n){return new rn(null,new ln(o(n,30).a,16));},k(Ln,"SelfLoopRouter/lambda$0$Type",1673),y(1674,1,Ot,D6e),u.Mb=function(n){return o(n,10).k==(On(),cr);},k(Ln,"SelfLoopRouter/lambda$1$Type",1674),y(1675,1,Ot,R6e),u.Mb=function(n){return Ii(o(n,10),(Ee(),eg));},k(Ln,"SelfLoopRouter/lambda$2$Type",1675),y(1676,1,{},B6e),u.Kb=function(n){return o(M(o(n,10),(Ee(),eg)),337);},k(Ln,"SelfLoopRouter/lambda$3$Type",1676),y(1677,1,Gn,zPe),u.Cd=function(n){M9n(this.a,this.b,o(n,337));},k(Ln,"SelfLoopRouter/lambda$4$Type",1677),y(1678,1,Ci,F6e),u.Kf=function(n,t){JBn(o(n,36),t);},k(Ln,"SemiInteractiveCrossMinProcessor",1678),y(1679,1,Ot,K6e),u.Mb=function(n){return o(n,10).k==(On(),cr);},k(Ln,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),y(1680,1,Ot,H6e),u.Mb=function(n){return jLe(o(n,10))._b(($e(),Dp));},k(Ln,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),y(1681,1,Dt,q6e),u.Ne=function(n,t){return wMn(o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ln,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),y(1682,1,{},U6e),u.Ve=function(n,t){return A9n(o(n,10),o(t,10));},k(Ln,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),y(1684,1,Ci,G6e),u.Kf=function(n,t){kqn(o(n,36),t);},k(Ln,"SortByInputModelProcessor",1684),y(1685,1,Ot,z6e),u.Mb=function(n){return o(n,12).g.c.length!=0;},k(Ln,"SortByInputModelProcessor/lambda$0$Type",1685),y(1686,1,Gn,CTe),u.Cd=function(n){rLn(this.a,o(n,12));},k(Ln,"SortByInputModelProcessor/lambda$1$Type",1686),y(1759,817,{},$qe),u.df=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new Te,tr(bi(new rn(null,new ln(this.c.a.b,16)),new o5e),new nNe(this,t)),fS(this,new W6e),mu(t,new X6e),t.c.length=0,tr(bi(new rn(null,new ln(this.c.a.b,16)),new Y6e),new PTe(t)),fS(this,new J6e),mu(t,new Q6e),t.c.length=0,i=LOe(qB(Bg(new rn(null,new ln(this.c.a.b,16)),new NTe(this))),new Z6e),tr(new rn(null,new ln(this.c.a.a,16)),new XPe(i,t)),fS(this,new n5e),mu(t,new t5e),t.c.length=0;break;case 3:r=new Te,fS(this,new V6e),c=LOe(qB(Bg(new rn(null,new ln(this.c.a.b,16)),new ITe(this))),new e5e),tr(bi(new rn(null,new ln(this.c.a.b,16)),new i5e),new JPe(c,r)),fS(this,new r5e),mu(r,new c5e),r.c.length=0;break;default:throw O(new eCe);}},u.b=0,k(_r,"EdgeAwareScanlineConstraintCalculation",1759),y(1760,1,Xa,V6e),u.Lb=function(n){return U(o(n,60).g,154);},u.Fb=function(n){return this===n;},u.Mb=function(n){return U(o(n,60).g,154);},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),y(1761,1,{},ITe),u.Ye=function(n){return KLn(this.a,o(n,60));},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),y(1769,1,CP,VPe),u.de=function(){wk(this.a,this.b,-1);},u.b=0,k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),y(1771,1,Xa,W6e),u.Lb=function(n){return U(o(n,60).g,154);},u.Fb=function(n){return this===n;},u.Mb=function(n){return U(o(n,60).g,154);},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),y(1772,1,Gn,X6e),u.Cd=function(n){o(n,380).de();},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),y(1773,1,Ot,Y6e),u.Mb=function(n){return U(o(n,60).g,10);},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),y(1775,1,Gn,PTe),u.Cd=function(n){uIn(this.a,o(n,60));},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),y(1774,1,CP,QPe),u.de=function(){wk(this.b,this.a,-1);},u.a=0,k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),y(1776,1,Xa,J6e),u.Lb=function(n){return U(o(n,60).g,10);},u.Fb=function(n){return this===n;},u.Mb=function(n){return U(o(n,60).g,10);},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),y(1777,1,Gn,Q6e),u.Cd=function(n){o(n,380).de();},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),y(1778,1,{},NTe),u.Ye=function(n){return HLn(this.a,o(n,60));},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),y(1779,1,{},Z6e),u.We=function(){return 0;},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),y(1762,1,{},e5e),u.We=function(){return 0;},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),y(1781,1,Gn,XPe),u.Cd=function(n){h7n(this.a,this.b,o(n,316));},u.a=0,k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),y(1780,1,CP,YPe),u.de=function(){YXe(this.a,this.b,-1);},u.b=0,k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),y(1782,1,Xa,n5e),u.Lb=function(n){return o(n,60),!0;},u.Fb=function(n){return this===n;},u.Mb=function(n){return o(n,60),!0;},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),y(1783,1,Gn,t5e),u.Cd=function(n){o(n,380).de();},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),y(1763,1,Ot,i5e),u.Mb=function(n){return U(o(n,60).g,10);},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),y(1765,1,Gn,JPe),u.Cd=function(n){d7n(this.a,this.b,o(n,60));},u.a=0,k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),y(1764,1,CP,ZPe),u.de=function(){wk(this.b,this.a,-1);},u.a=0,k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),y(1766,1,Xa,r5e),u.Lb=function(n){return o(n,60),!0;},u.Fb=function(n){return this===n;},u.Mb=function(n){return o(n,60),!0;},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),y(1767,1,Gn,c5e),u.Cd=function(n){o(n,380).de();},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),y(1768,1,Ot,o5e),u.Mb=function(n){return U(o(n,60).g,154);},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),y(1770,1,Gn,nNe),u.Cd=function(n){PTn(this.a,this.b,o(n,60));},k(_r,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),y(1586,1,Ci,yAe),u.Kf=function(n,t){Wqn(this,o(n,36),t);};var bun;k(_r,"HorizontalGraphCompactor",1586),y(1587,1,{},OTe),u.ff=function(n,t){var i,r,c;return $te(n,t)||(i=O2(n),r=O2(t),i&&i.k==(On(),fr)||r&&r.k==(On(),fr))?0:(c=o(M(this.a.a,(Ee(),Mm)),312),Z4n(c,i?i.k:(On(),$r),r?r.k:(On(),$r)));},u.gf=function(n,t){var i,r,c;return $te(n,t)?1:(i=O2(n),r=O2(t),c=o(M(this.a.a,(Ee(),Mm)),312),TZ(c,i?i.k:(On(),$r),r?r.k:(On(),$r)));},k(_r,"HorizontalGraphCompactor/1",1587),y(1588,1,{},u5e),u.ef=function(n,t){return z5(),n.a.i==0;},k(_r,"HorizontalGraphCompactor/lambda$0$Type",1588),y(1589,1,{},ATe),u.ef=function(n,t){return D9n(this.a,n,t);},k(_r,"HorizontalGraphCompactor/lambda$1$Type",1589),y(1730,1,{},lHe);var gun,pun;k(_r,"LGraphToCGraphTransformer",1730),y(1738,1,Ot,s5e),u.Mb=function(n){return n!=null;},k(_r,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),y(1731,1,{},f5e),u.Kb=function(n){return sl(),uo(M(o(o(n,60).g,10),(Ee(),mi)));},k(_r,"LGraphToCGraphTransformer/lambda$0$Type",1731),y(1732,1,{},l5e),u.Kb=function(n){return sl(),kGe(o(o(n,60).g,154));},k(_r,"LGraphToCGraphTransformer/lambda$1$Type",1732),y(1741,1,Ot,a5e),u.Mb=function(n){return sl(),U(o(n,60).g,10);},k(_r,"LGraphToCGraphTransformer/lambda$10$Type",1741),y(1742,1,Gn,h5e),u.Cd=function(n){H9n(o(n,60));},k(_r,"LGraphToCGraphTransformer/lambda$11$Type",1742),y(1743,1,Ot,d5e),u.Mb=function(n){return sl(),U(o(n,60).g,154);},k(_r,"LGraphToCGraphTransformer/lambda$12$Type",1743),y(1747,1,Gn,w5e),u.Cd=function(n){vCn(o(n,60));},k(_r,"LGraphToCGraphTransformer/lambda$13$Type",1747),y(1744,1,Gn,$Te),u.Cd=function(n){zyn(this.a,o(n,8));},u.a=0,k(_r,"LGraphToCGraphTransformer/lambda$14$Type",1744),y(1745,1,Gn,LTe),u.Cd=function(n){Wyn(this.a,o(n,116));},u.a=0,k(_r,"LGraphToCGraphTransformer/lambda$15$Type",1745),y(1746,1,Gn,DTe),u.Cd=function(n){Vyn(this.a,o(n,8));},u.a=0,k(_r,"LGraphToCGraphTransformer/lambda$16$Type",1746),y(1748,1,{},b5e),u.Kb=function(n){return sl(),new rn(null,new ub(new Un(Vn(ur(o(n,10)).a.Kc(),new Y))));},k(_r,"LGraphToCGraphTransformer/lambda$17$Type",1748),y(1749,1,Ot,g5e),u.Mb=function(n){return sl(),yc(o(n,18));},k(_r,"LGraphToCGraphTransformer/lambda$18$Type",1749),y(1750,1,Gn,RTe),u.Cd=function(n){fTn(this.a,o(n,18));},k(_r,"LGraphToCGraphTransformer/lambda$19$Type",1750),y(1734,1,Gn,BTe),u.Cd=function(n){L_n(this.a,o(n,154));},k(_r,"LGraphToCGraphTransformer/lambda$2$Type",1734),y(1751,1,{},p5e),u.Kb=function(n){return sl(),new rn(null,new ln(o(n,30).a,16));},k(_r,"LGraphToCGraphTransformer/lambda$20$Type",1751),y(1752,1,{},m5e),u.Kb=function(n){return sl(),new rn(null,new ub(new Un(Vn(ur(o(n,10)).a.Kc(),new Y))));},k(_r,"LGraphToCGraphTransformer/lambda$21$Type",1752),y(1753,1,{},v5e),u.Kb=function(n){return sl(),o(M(o(n,18),(Ee(),yw)),15);},k(_r,"LGraphToCGraphTransformer/lambda$22$Type",1753),y(1754,1,Ot,y5e),u.Mb=function(n){return e6n(o(n,15));},k(_r,"LGraphToCGraphTransformer/lambda$23$Type",1754),y(1755,1,Gn,FTe),u.Cd=function(n){ILn(this.a,o(n,15));},k(_r,"LGraphToCGraphTransformer/lambda$24$Type",1755),y(1733,1,Gn,tNe),u.Cd=function(n){OSn(this.a,this.b,o(n,154));},k(_r,"LGraphToCGraphTransformer/lambda$3$Type",1733),y(1735,1,{},k5e),u.Kb=function(n){return sl(),new rn(null,new ln(o(n,30).a,16));},k(_r,"LGraphToCGraphTransformer/lambda$4$Type",1735),y(1736,1,{},E5e),u.Kb=function(n){return sl(),new rn(null,new ub(new Un(Vn(ur(o(n,10)).a.Kc(),new Y))));},k(_r,"LGraphToCGraphTransformer/lambda$5$Type",1736),y(1737,1,{},_5e),u.Kb=function(n){return sl(),o(M(o(n,18),(Ee(),yw)),15);},k(_r,"LGraphToCGraphTransformer/lambda$6$Type",1737),y(1739,1,Gn,KTe),u.Cd=function(n){qLn(this.a,o(n,15));},k(_r,"LGraphToCGraphTransformer/lambda$8$Type",1739),y(1740,1,Gn,iNe),u.Cd=function(n){m4n(this.a,this.b,o(n,154));},k(_r,"LGraphToCGraphTransformer/lambda$9$Type",1740),y(1729,1,{},S5e),u.cf=function(n){var t,i,r,c,s;for(this.a=n,this.d=new vL,this.c=ce(Ahe,vn,125,this.a.a.a.c.length,0,1),this.b=0,i=new N(this.a.a.a);i.a=I&&(xe(s,je(m)),G=p.Math.max(G,X[m-1]-E),h+=x,D+=X[m-1]-D,E=X[m-1],x=d[m]),x=p.Math.max(x,d[m]),++m;}h+=x;}T=p.Math.min(1/G,1/t.b/h),T>r&&(r=T,i=s);}return i;},u.pg=function(){return!1;},k(Za,"MSDCutIndexHeuristic",816),y(1683,1,Ci,u8e),u.Kf=function(n,t){QHn(o(n,36),t);},k(Za,"SingleEdgeGraphWrapper",1683),y(232,22,{3:1,34:1,22:1,232:1},e8);var ym,L6,D6,Cp,k7,km,R6=ht(Bo,"CenterEdgeLabelPlacementStrategy",232,mt,Djn,B5n),Cun;y(431,22,{3:1,34:1,22:1,431:1},MQ);var ide,oz,rde=ht(Bo,"ConstraintCalculationStrategy",431,mt,iEn,F5n),Iun;y(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},ZL),u.dg=function(){return rXe(this);},u.qg=function(){return rXe(this);};var jj,E7,cde,ode=ht(Bo,"CrossingMinimizationStrategy",322,mt,JEn,K5n),Pun;y(351,22,{3:1,34:1,22:1,351:1},eD);var ude,uz,MO,sde=ht(Bo,"CuttingStrategy",351,mt,QEn,H5n),Nun;y(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},vE),u.dg=function(){return WXe(this);},u.qg=function(){return WXe(this);};var fde,sz,B6,fz,F6,lde=ht(Bo,"CycleBreakingStrategy",348,mt,njn,q5n),Oun;y(428,22,{3:1,34:1,22:1,428:1},xQ);var xO,ade,hde=ht(Bo,"DirectionCongruency",428,mt,tEn,U5n),Aun;y(460,22,{3:1,34:1,22:1,460:1},nD);var K6,lz,Em,$un=ht(Bo,"EdgeConstraint",460,mt,ZEn,J5n),Lun;y(283,22,{3:1,34:1,22:1,283:1},n8);var az,hz,dz,wz,CO,bz,dde=ht(Bo,"EdgeLabelSideSelection",283,mt,Ajn,Q5n),Dun;y(488,22,{3:1,34:1,22:1,488:1},CQ);var IO,wde,bde=ht(Bo,"EdgeStraighteningStrategy",488,mt,lEn,Z5n),Run;y(281,22,{3:1,34:1,22:1,281:1},t8);var gz,gde,pde,PO,mde,vde,yde=ht(Bo,"FixedAlignment",281,mt,$jn,Y5n),Bun;y(282,22,{3:1,34:1,22:1,282:1},i8);var kde,Ede,_de,Sde,_7,jde,Tde=ht(Bo,"GraphCompactionStrategy",282,mt,Ljn,G5n),Fun;y(259,22,{3:1,34:1,22:1,259:1},Mg);var H6,NO,q6,Cf,S7,OO,U6,_m,AO,j7,pz=ht(Bo,"GraphProperties",259,mt,yMn,z5n),Kun;y(299,22,{3:1,34:1,22:1,299:1},tD);var Tj,mz,vz,yz=ht(Bo,"GreedySwitchType",299,mt,e_n,V5n),Hun;y(311,22,{3:1,34:1,22:1,311:1},iD);var L3,Mj,Sm,qun=ht(Bo,"InLayerConstraint",311,mt,n_n,W5n),Uun;y(429,22,{3:1,34:1,22:1,429:1},IQ);var kz,Mde,xde=ht(Bo,"InteractiveReferencePoint",429,mt,nEn,X5n),Gun,Cde,D3,Jb,$O,Ide,Pde,LO,Nde,xj,DO,T7,R3,b1,Ez,RO,Co,Ode,c0,iu,_z,Sz,Cj,vw,Qb,B3,Ade,F3,Ij,Ip,zl,zf,jz,jm,_i,mi,$de,Lde,Dde,Rde,Bde,Tz,BO,ls,Zb,Mz,K3,M7,ka,Tm,eg,Mm,xm,G6,yw,Fde,xz,Cz,H3;y(171,22,{3:1,34:1,22:1,171:1},yE);var x7,o0,C7,Pp,Pj,Kde=ht(Bo,"LayerConstraint",171,mt,ijn,e8n),zun;y(859,1,Kf,vSe),u.hf=function(n){Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Dse),""),"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."),Jde),(X1(),Ki)),hde),Qe((Hl(),mn))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Rse),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(jn(),!1)),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,UP),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),i0e),Ki),xde),Qe(mn)))),wr(n,UP,kq,Fsn),wr(n,UP,Wk,Bsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Bse),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Fse),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(z3n(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Kse),""),"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),Pr),rr),Qe(xw)),R(L(Be,1),_e,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Hse),""),"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."),a0e),Ki),ywe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,qse),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),je(7)),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Use),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Gse),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,kq),"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)."),Yde),Ki),lde),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,YS),Gq),"Node Layering Strategy"),"Strategy for node layering."),o0e),Ki),swe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,zse),Gq),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),r0e),Ki),Kde),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Vse),Gq),"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."),null),lo),Zr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Wse),Gq),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),je(-1)),lo),Zr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Eq),gnn),"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."),je(4)),lo),Zr),Qe(mn)))),wr(n,Eq,YS,Vsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,_q),gnn),"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."),je(2)),lo),Zr),Qe(mn)))),wr(n,_q,YS,Xsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Sq),pnn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),c0e),Ki),pwe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,jq),pnn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),je(0)),lo),Zr),Qe(mn)))),wr(n,jq,Sq,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Tq),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),je(fi)),lo),Zr),Qe(mn)))),wr(n,Tq,YS,Hsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Wk),m6),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),Xde),Ki),ode),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Xse),m6),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Mq),m6),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),oc),mr),Qe(mn)))),wr(n,Mq,iN,hsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,xq),m6),"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),Pr),rr),Qe(mn)))),wr(n,xq,Wk,msn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Yse),m6),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),Bm),Be),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Jse),m6),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),Bm),Be),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Qse),m6),"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."),null),lo),Zr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Zse),m6),"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."),je(-1)),lo),Zr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,efe),mnn),"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."),je(40)),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Cq),mnn),"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."),Wde),Ki),yz),Qe(mn)))),wr(n,Cq,Wk,lsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,GP),"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."),Vde),Ki),yz),Qe(mn)))),wr(n,GP,Wk,usn),wr(n,GP,iN,ssn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,fm),vnn),"Node Placement Strategy"),"Strategy for node placement."),l0e),Ki),hwe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,zP),vnn),"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."),Pr),rr),Qe(mn)))),wr(n,zP,fm,ofn),wr(n,zP,fm,ufn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Iq),ynn),"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."),u0e),Ki),bde),Qe(mn)))),wr(n,Iq,fm,tfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Pq),ynn),"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."),s0e),Ki),yde),Qe(mn)))),wr(n,Pq,fm,rfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Nq),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),oc),mr),Qe(mn)))),wr(n,Nq,fm,ffn),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Oq),"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."),Ki),Jz),Qe(Mr)))),wr(n,Oq,fm,dfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Aq),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),f0e),Ki),Jz),Qe(mn)))),wr(n,Aq,fm,hfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,nfe),knn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),e0e),Ki),_we),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,tfe),knn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),n0e),Ki),Swe),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,VP),"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."),t0e),Ki),Twe),Qe(mn)))),wr(n,VP,JS,Csn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,WP),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),oc),mr),Qe(mn)))),wr(n,WP,JS,Psn),wr(n,WP,VP,Nsn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,$q),"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),oc),mr),Qe(mn)))),wr(n,$q,JS,jsn),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,ife),ma),"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."),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,rfe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,cfe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ofe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ufe),pfe),"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."),je(0)),lo),Zr),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,sfe),pfe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),je(0)),lo),Zr),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ffe),pfe),"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."),je(0)),lo),Zr),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Lq),mfe),Den),"Tries to further compact components (disconnected sub-graphs)."),!1),Pr),rr),Qe(mn)))),wr(n,Lq,qk,!0),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,lfe),Enn),"Post Compaction Strategy"),_nn),qde),Ki),Tde),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,afe),Enn),"Post Compaction Constraint Calculation"),_nn),Hde),Ki),rde),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,XP),vfe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Dq),vfe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),je(16)),lo),Zr),Qe(mn)))),wr(n,Dq,XP,!0),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Rq),vfe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),je(5)),lo),Zr),Qe(mn)))),wr(n,Rq,XP,!0),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,h1),yfe),"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'."),w0e),Ki),Iwe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,YP),yfe),"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),oc),mr),Qe(mn)))),wr(n,YP,h1,Tfn),wr(n,YP,h1,Mfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,JP),yfe),"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),oc),mr),Qe(mn)))),wr(n,JP,h1,Cfn),wr(n,JP,h1,Ifn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Xk),Snn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),d0e),Ki),sde),Qe(mn)))),wr(n,Xk,h1,Lfn),wr(n,Xk,h1,Dfn),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Bq),Snn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),_a),xf),Qe(mn)))),wr(n,Bq,Xk,Nfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Fq),"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."),h0e),lo),Zr),Qe(mn)))),wr(n,Fq,Xk,Afn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,QP),jnn),"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."),b0e),Ki),Cwe),Qe(mn)))),wr(n,QP,h1,Xfn),wr(n,QP,h1,Yfn),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,ZP),jnn),"Valid Indices for Wrapping"),null),_a),xf),Qe(mn)))),wr(n,ZP,h1,zfn),wr(n,ZP,h1,Vfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,eN),kfe),"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),Pr),rr),Qe(mn)))),wr(n,eN,h1,Kfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,nN),kfe),"Distance Penalty When Improving Cuts"),null),2),oc),mr),Qe(mn)))),wr(n,nN,h1,Bfn),wr(n,nN,eN,!0),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Kq),kfe),"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),Pr),rr),Qe(mn)))),wr(n,Kq,h1,qfn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,hfe),zq),"Edge Label Side Selection"),"Method to decide on edge label sides."),Zde),Ki),dde),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,dfe),zq),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Qde),Ki),R6),Pi(mn,R(L(Oh,1),we,170,0,[ud]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,tN),Yk),"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."),zde),Ki),vwe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,wfe),Yk),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,bfe),Yk),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Pr),rr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Hq),Yk),"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."),Ude),Ki),l1e),Qe(mn)))),wr(n,Hq,qk,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,gfe),Yk),"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."),Gde),Ki),lwe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,qq),Yk),"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),oc),mr),Qe(mn)))),wr(n,qq,tN,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Uq),Yk),"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),oc),mr),Qe(mn)))),wr(n,Uq,tN,null),HZe((new ySe,n));};var Vun,Wun,Xun,Hde,Yun,qde,Jun,Ude,Qun,Zun,esn,Gde,nsn,tsn,isn,zde,rsn,csn,osn,Vde,usn,ssn,fsn,Wde,lsn,asn,hsn,dsn,wsn,bsn,gsn,psn,msn,vsn,Xde,ysn,Yde,ksn,Jde,Esn,Qde,_sn,Zde,Ssn,jsn,Tsn,e0e,Msn,n0e,xsn,t0e,Csn,Isn,Psn,Nsn,Osn,Asn,$sn,Lsn,Dsn,Rsn,i0e,Bsn,Fsn,Ksn,Hsn,qsn,Usn,r0e,Gsn,zsn,Vsn,Wsn,Xsn,Ysn,Jsn,c0e,Qsn,o0e,Zsn,efn,nfn,u0e,tfn,ifn,s0e,rfn,cfn,ofn,ufn,sfn,ffn,lfn,afn,f0e,hfn,dfn,wfn,l0e,bfn,a0e,gfn,pfn,mfn,vfn,yfn,kfn,Efn,_fn,Sfn,jfn,Tfn,Mfn,xfn,Cfn,Ifn,Pfn,Nfn,Ofn,h0e,Afn,$fn,d0e,Lfn,Dfn,Rfn,Bfn,Ffn,Kfn,Hfn,qfn,Ufn,w0e,Gfn,zfn,Vfn,Wfn,b0e,Xfn,Yfn;k(Bo,"LayeredMetaDataProvider",859),y(998,1,Kf,ySe),u.hf=function(n){HZe(n);};var rh,Iz,FO,I7,KO,g0e,HO,Np,qO,p0e,m0e,UO,Pz,Nh,Nz,ng,v0e,Nj,Oz,y0e,Jfn,Qfn,Zfn,GO,Az,P7,kw,eln,nf,k0e,E0e,zO,$z,ch,VO,g1,_0e,S0e,j0e,Lz,Dz,T0e,td,Rz,M0e,Op,x0e,C0e,I0e,WO,Ap,Ew,P0e,N0e,Wc,O0e,nln,ju,XO,A0e,$0e,L0e,u0,_w,YO,D0e,R0e,JO,tg,B0e,Bz,N7,F0e,ig,O7,QO,Sw,Fz,z6,ZO,jw,K0e,H0e,q0e,V6,U0e,tln,iln,rln,cln,rg,$p,nr,id,oln,Lp,G0e,W6,z0e,Dp,uln,X6,V0e,q3,sln,fln,Oj,Kz,W0e,Aj,yl,Cm,Im,cg,Tw,eA,Rp,Hz,Y6,J6,og,Pm,qz,$j,A7,$7,lln,aln,hln,X0e,dln,Uz,Y0e,J0e,Q0e,Z0e,Gz,ewe,nwe,twe,iwe,zz,nA;k(Bo,"LayeredOptions",998),y(999,1,{},s8e),u.sf=function(){var n;return n=new sCe,n;},u.tf=function(n){},k(Bo,"LayeredOptions/LayeredFactory",999),y(1391,1,{}),u.a=0;var wln;k(To,"ElkSpacings/AbstractSpacingsBuilder",1391),y(792,1391,{},Sre);var tA,bln;k(Bo,"LayeredSpacings/LayeredSpacingsBuilder",792),y(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},p2),u.dg=function(){return iJe(this);},u.qg=function(){return iJe(this);};var Q6,Vz,Z6,rwe,cwe,owe,iA,Wz,uwe,swe=ht(Bo,"LayeringStrategy",265,mt,YTn,n8n),gln;y(390,22,{3:1,34:1,22:1,390:1},rD);var Xz,fwe,rA,lwe=ht(Bo,"LongEdgeOrderingStrategy",390,mt,t_n,t8n),pln;y(203,22,{3:1,34:1,22:1,203:1},WM);var Nm,Om,cA,Yz,Jz=ht(Bo,"NodeFlexibility",203,mt,aSn,i8n),mln;y(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},kE),u.dg=function(){return VXe(this);},u.qg=function(){return VXe(this);};var L7,Qz,Zz,D7,awe,hwe=ht(Bo,"NodePlacementStrategy",323,mt,tjn,r8n),vln;y(243,22,{3:1,34:1,22:1,243:1},xg);var dwe,ug,Bp,Lj,wwe,bwe,Dj,gwe,oA,uA,pwe=ht(Bo,"NodePromotionStrategy",243,mt,kMn,c8n),yln;y(284,22,{3:1,34:1,22:1,284:1},XM);var mwe,rd,eV,nV,vwe=ht(Bo,"OrderingStrategy",284,mt,hSn,o8n),kln;y(430,22,{3:1,34:1,22:1,430:1},PQ);var tV,iV,ywe=ht(Bo,"PortSortingStrategy",430,mt,rEn,u8n),Eln;y(463,22,{3:1,34:1,22:1,463:1},cD);var as,wu,R7,_ln=ht(Bo,"PortType",463,mt,i_n,s8n),Sln;y(387,22,{3:1,34:1,22:1,387:1},oD);var kwe,rV,Ewe,_we=ht(Bo,"SelfLoopDistributionStrategy",387,mt,r_n,f8n),jln;y(349,22,{3:1,34:1,22:1,349:1},uD);var cV,Rj,oV,Swe=ht(Bo,"SelfLoopOrderingStrategy",349,mt,c_n,l8n),Tln;y(312,1,{312:1},BQe),k(Bo,"Spacings",312),y(350,22,{3:1,34:1,22:1,350:1},sD);var uV,jwe,B7,Twe=ht(Bo,"SplineRoutingMode",350,mt,o_n,a8n),Mln;y(352,22,{3:1,34:1,22:1,352:1},fD);var sV,Mwe,xwe,Cwe=ht(Bo,"ValidifyStrategy",352,mt,u_n,h8n),xln;y(388,22,{3:1,34:1,22:1,388:1},lD);var Fp,fV,e5,Iwe=ht(Bo,"WrappingStrategy",388,mt,s_n,d8n),Cln;y(1398,1,Pc,aSe),u.rg=function(n){return o(n,36),Iln;},u.Kf=function(n,t){Gqn(this,o(n,36),t);};var Iln;k(uN,"DepthFirstCycleBreaker",1398),y(793,1,Pc,Uee),u.rg=function(n){return o(n,36),Pln;},u.Kf=function(n,t){Xzn(this,o(n,36),t);},u.sg=function(n){return o(Re(n,RI(this.d,n.c.length)),10);};var Pln;k(uN,"GreedyCycleBreaker",793),y(1401,793,Pc,rOe),u.sg=function(n){var t,i,r,c;for(c=null,t=fi,r=new N(n);r.a1&&(De(Le(M(Yr((wn(0,n.c.length),o(n.c[0],10))),($e(),ng))))?oYe(n,this.d,o(this,669)):(dn(),sr(n,this.d)),uUe(this.e,n));},u.lg=function(n,t,i,r){var c,s,f,h,d,b,m;for(t!=SLe(i,n.length)&&(s=n[t-(i?1:-1)],vte(this.f,s,i?(xc(),wu):(xc(),as))),c=n[t][0],m=!r||c.k==(On(),fr),b=oa(n[t]),this.vg(b,m,!1,i),f=0,d=new N(b);d.a"),n0?UR(this.a,n[t-1],n[t]):!i&&t1&&(De(Le(M(Yr((wn(0,n.c.length),o(n.c[0],10))),($e(),ng))))?oYe(n,this.d,this):(dn(),sr(n,this.d)),De(Le(M(Yr((wn(0,n.c.length),o(n.c[0],10))),ng)))||uUe(this.e,n));},k(Ju,"ModelOrderBarycenterHeuristic",669),y(1866,1,Dt,uMe),u.Ne=function(n,t){return G$n(this.a,o(n,10),o(t,10));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Ju,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),y(1423,1,Pc,ESe),u.rg=function(n){var t;return o(n,36),t=ax(Vln),Ut(t,(ic(),Go),(hc(),gO)),t;},u.Kf=function(n,t){x9n((o(n,36),t));};var Vln;k(Ju,"NoCrossingMinimizer",1423),y(809,413,tle,eQ),u.tg=function(n,t,i){var r,c,s,f,h,d,b,m,E,S,T;switch(E=this.g,i.g){case 1:{for(c=0,s=0,m=new N(n.j);m.a1&&(c.j==(Oe(),Kn)?this.b[n]=!0:c.j==An&&n>0&&(this.b[n-1]=!0));},u.f=0,k(xh,"AllCrossingsCounter",1861),y(595,1,{},tI),u.b=0,u.d=0,k(xh,"BinaryIndexedTree",595),y(532,1,{},HE);var Owe,fA;k(xh,"CrossingsCounter",532),y(1950,1,Dt,sMe),u.Ne=function(n,t){return e7n(this.a,o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(xh,"CrossingsCounter/lambda$0$Type",1950),y(1951,1,Dt,fMe),u.Ne=function(n,t){return n7n(this.a,o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(xh,"CrossingsCounter/lambda$1$Type",1951),y(1952,1,Dt,lMe),u.Ne=function(n,t){return t7n(this.a,o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(xh,"CrossingsCounter/lambda$2$Type",1952),y(1953,1,Dt,aMe),u.Ne=function(n,t){return i7n(this.a,o(n,12),o(t,12));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(xh,"CrossingsCounter/lambda$3$Type",1953),y(1954,1,Gn,hMe),u.Cd=function(n){iTn(this.a,o(n,12));},k(xh,"CrossingsCounter/lambda$4$Type",1954),y(1955,1,Ot,dMe),u.Mb=function(n){return xyn(this.a,o(n,12));},k(xh,"CrossingsCounter/lambda$5$Type",1955),y(1956,1,Gn,wMe),u.Cd=function(n){XNe(this,n);},k(xh,"CrossingsCounter/lambda$6$Type",1956),y(1957,1,Gn,oNe),u.Cd=function(n){var t;qy(),Ad(this.b,(t=this.a,o(n,12),t));},k(xh,"CrossingsCounter/lambda$7$Type",1957),y(839,1,Xa,CY),u.Lb=function(n){return qy(),Ii(o(n,12),(Ee(),ls));},u.Fb=function(n){return this===n;},u.Mb=function(n){return qy(),Ii(o(n,12),(Ee(),ls));},k(xh,"CrossingsCounter/lambda$8$Type",839),y(1949,1,{},bMe),k(xh,"HyperedgeCrossingsCounter",1949),y(478,1,{34:1,478:1},f$e),u.Fd=function(n){return tPn(this,o(n,478));},u.b=0,u.c=0,u.e=0,u.f=0;var LVn=k(xh,"HyperedgeCrossingsCounter/Hyperedge",478);y(374,1,{34:1,374:1},iC),u.Fd=function(n){return gRn(this,o(n,374));},u.b=0,u.c=0;var Wln=k(xh,"HyperedgeCrossingsCounter/HyperedgeCorner",374);y(531,22,{3:1,34:1,22:1,531:1},NQ);var K7,H7,Xln=ht(xh,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,mt,cEn,b8n),Yln;y(1425,1,Pc,_Se),u.rg=function(n){return o(M(o(n,36),(Ee(),iu)),21).Hc((Cc(),Cf))?Jln:null;},u.Kf=function(n,t){MOn(this,o(n,36),t);};var Jln;k(Nc,"InteractiveNodePlacer",1425),y(1426,1,Pc,SSe),u.rg=function(n){return o(M(o(n,36),(Ee(),iu)),21).Hc((Cc(),Cf))?Qln:null;},u.Kf=function(n,t){aNn(this,o(n,36),t);};var Qln,lA,aA;k(Nc,"LinearSegmentsNodePlacer",1426),y(261,1,{34:1,261:1},xJ),u.Fd=function(n){return F3n(this,o(n,261));},u.Fb=function(n){var t;return U(n,261)?(t=o(n,261),this.b==t.b):!1;},u.Hb=function(){return this.b;},u.Ib=function(){return"ls"+Ud(this.e);},u.a=0,u.b=0,u.c=-1,u.d=-1,u.g=0;var Zln=k(Nc,"LinearSegmentsNodePlacer/LinearSegment",261);y(1428,1,Pc,ALe),u.rg=function(n){return o(M(o(n,36),(Ee(),iu)),21).Hc((Cc(),Cf))?ean:null;},u.Kf=function(n,t){Fzn(this,o(n,36),t);},u.b=0,u.g=0;var ean;k(Nc,"NetworkSimplexPlacer",1428),y(1447,1,Dt,m8e),u.Ne=function(n,t){return $o(o(n,17).a,o(t,17).a);},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Nc,"NetworkSimplexPlacer/0methodref$compare$Type",1447),y(1449,1,Dt,v8e),u.Ne=function(n,t){return $o(o(n,17).a,o(t,17).a);},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Nc,"NetworkSimplexPlacer/1methodref$compare$Type",1449),y(655,1,{655:1},uNe);var DVn=k(Nc,"NetworkSimplexPlacer/EdgeRep",655);y(412,1,{412:1},Sne),u.b=!1;var RVn=k(Nc,"NetworkSimplexPlacer/NodeRep",412);y(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},pCe),k(Nc,"NetworkSimplexPlacer/Path",515),y(1429,1,{},y8e),u.Kb=function(n){return o(n,18).d.i.k;},k(Nc,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),y(1430,1,Ot,k8e),u.Mb=function(n){return o(n,273)==(On(),$r);},k(Nc,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),y(1431,1,{},E8e),u.Kb=function(n){return o(n,18).d.i;},k(Nc,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),y(1432,1,Ot,gMe),u.Mb=function(n){return VAe(YGe(o(n,10)));},k(Nc,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),y(1433,1,Ot,_8e),u.Mb=function(n){return Rkn(o(n,12));},k(Nc,"NetworkSimplexPlacer/lambda$0$Type",1433),y(1434,1,Gn,sNe),u.Cd=function(n){v4n(this.a,this.b,o(n,12));},k(Nc,"NetworkSimplexPlacer/lambda$1$Type",1434),y(1443,1,Gn,pMe),u.Cd=function(n){GLn(this.a,o(n,18));},k(Nc,"NetworkSimplexPlacer/lambda$10$Type",1443),y(1444,1,{},S8e),u.Kb=function(n){return qs(),new rn(null,new ln(o(n,30).a,16));},k(Nc,"NetworkSimplexPlacer/lambda$11$Type",1444),y(1445,1,Gn,mMe),u.Cd=function(n){BFn(this.a,o(n,10));},k(Nc,"NetworkSimplexPlacer/lambda$12$Type",1445),y(1446,1,{},j8e),u.Kb=function(n){return qs(),je(o(n,125).e);},k(Nc,"NetworkSimplexPlacer/lambda$13$Type",1446),y(1448,1,{},T8e),u.Kb=function(n){return qs(),je(o(n,125).e);},k(Nc,"NetworkSimplexPlacer/lambda$15$Type",1448),y(1450,1,Ot,M8e),u.Mb=function(n){return qs(),o(n,412).c.k==(On(),cr);},k(Nc,"NetworkSimplexPlacer/lambda$17$Type",1450),y(1451,1,Ot,x8e),u.Mb=function(n){return qs(),o(n,412).c.j.c.length>1;},k(Nc,"NetworkSimplexPlacer/lambda$18$Type",1451),y(1452,1,Gn,HDe),u.Cd=function(n){SIn(this.c,this.b,this.d,this.a,o(n,412));},u.c=0,u.d=0,k(Nc,"NetworkSimplexPlacer/lambda$19$Type",1452),y(1435,1,{},C8e),u.Kb=function(n){return qs(),new rn(null,new ln(o(n,30).a,16));},k(Nc,"NetworkSimplexPlacer/lambda$2$Type",1435),y(1453,1,Gn,vMe),u.Cd=function(n){k4n(this.a,o(n,12));},u.a=0,k(Nc,"NetworkSimplexPlacer/lambda$20$Type",1453),y(1454,1,{},I8e),u.Kb=function(n){return qs(),new rn(null,new ln(o(n,30).a,16));},k(Nc,"NetworkSimplexPlacer/lambda$21$Type",1454),y(1455,1,Gn,yMe),u.Cd=function(n){O4n(this.a,o(n,10));},k(Nc,"NetworkSimplexPlacer/lambda$22$Type",1455),y(1456,1,Ot,P8e),u.Mb=function(n){return VAe(n);},k(Nc,"NetworkSimplexPlacer/lambda$23$Type",1456),y(1457,1,{},N8e),u.Kb=function(n){return qs(),new rn(null,new ln(o(n,30).a,16));},k(Nc,"NetworkSimplexPlacer/lambda$24$Type",1457),y(1458,1,Ot,kMe),u.Mb=function(n){return Hyn(this.a,o(n,10));},k(Nc,"NetworkSimplexPlacer/lambda$25$Type",1458),y(1459,1,Gn,fNe),u.Cd=function(n){X$n(this.a,this.b,o(n,10));},k(Nc,"NetworkSimplexPlacer/lambda$26$Type",1459),y(1460,1,Ot,O8e),u.Mb=function(n){return qs(),!yc(o(n,18));},k(Nc,"NetworkSimplexPlacer/lambda$27$Type",1460),y(1461,1,Ot,A8e),u.Mb=function(n){return qs(),!yc(o(n,18));},k(Nc,"NetworkSimplexPlacer/lambda$28$Type",1461),y(1462,1,{},EMe),u.Ve=function(n,t){return y4n(this.a,o(n,30),o(t,30));},k(Nc,"NetworkSimplexPlacer/lambda$29$Type",1462),y(1436,1,{},$8e),u.Kb=function(n){return qs(),new rn(null,new ub(new Un(Vn(ur(o(n,10)).a.Kc(),new Y))));},k(Nc,"NetworkSimplexPlacer/lambda$3$Type",1436),y(1437,1,Ot,L8e),u.Mb=function(n){return qs(),Y_n(o(n,18));},k(Nc,"NetworkSimplexPlacer/lambda$4$Type",1437),y(1438,1,Gn,_Me),u.Cd=function(n){WHn(this.a,o(n,18));},k(Nc,"NetworkSimplexPlacer/lambda$5$Type",1438),y(1439,1,{},D8e),u.Kb=function(n){return qs(),new rn(null,new ln(o(n,30).a,16));},k(Nc,"NetworkSimplexPlacer/lambda$6$Type",1439),y(1440,1,Ot,R8e),u.Mb=function(n){return qs(),o(n,10).k==(On(),cr);},k(Nc,"NetworkSimplexPlacer/lambda$7$Type",1440),y(1441,1,{},B8e),u.Kb=function(n){return qs(),new rn(null,new ub(new Un(Vn(c1(o(n,10)).a.Kc(),new Y))));},k(Nc,"NetworkSimplexPlacer/lambda$8$Type",1441),y(1442,1,Ot,F8e),u.Mb=function(n){return qs(),Dkn(o(n,18));},k(Nc,"NetworkSimplexPlacer/lambda$9$Type",1442),y(1424,1,Pc,jSe),u.rg=function(n){return o(M(o(n,36),(Ee(),iu)),21).Hc((Cc(),Cf))?nan:null;},u.Kf=function(n,t){xqn(o(n,36),t);};var nan;k(Nc,"SimpleNodePlacer",1424),y(185,1,{185:1},Z2),u.Ib=function(){var n;return n="",this.c==(Fa(),sg)?n+=E3:this.c==cd&&(n+=k3),this.o==(ra(),Mw)?n+=ZH:this.o==Ea?n+="UP":n+="BALANCED",n;},k(Qd,"BKAlignedLayout",185),y(523,22,{3:1,34:1,22:1,523:1},OQ);var cd,sg,tan=ht(Qd,"BKAlignedLayout/HDirection",523,mt,uEn,g8n),ian;y(522,22,{3:1,34:1,22:1,522:1},AQ);var Mw,Ea,ran=ht(Qd,"BKAlignedLayout/VDirection",522,mt,sEn,p8n),can;y(1699,1,{},lNe),k(Qd,"BKAligner",1699),y(1702,1,{},kVe),k(Qd,"BKCompactor",1702),y(663,1,{663:1},K8e),u.a=0,k(Qd,"BKCompactor/ClassEdge",663),y(467,1,{467:1},wCe),u.a=null,u.b=0,k(Qd,"BKCompactor/ClassNode",467),y(1427,1,Pc,wNe),u.rg=function(n){return o(M(o(n,36),(Ee(),iu)),21).Hc((Cc(),Cf))?oan:null;},u.Kf=function(n,t){rVn(this,o(n,36),t);},u.d=!1;var oan;k(Qd,"BKNodePlacer",1427),y(1700,1,{},H8e),u.d=0,k(Qd,"NeighborhoodInformation",1700),y(1701,1,Dt,SMe),u.Ne=function(n,t){return NTn(this,o(n,42),o(t,42));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Qd,"NeighborhoodInformation/NeighborComparator",1701),y(823,1,{}),k(Qd,"ThresholdStrategy",823),y(1825,823,{},bCe),u.wg=function(n,t,i){return this.a.o==(ra(),Ea)?Fi:kr;},u.xg=function(){},k(Qd,"ThresholdStrategy/NullThresholdStrategy",1825),y(587,1,{587:1},bNe),u.c=!1,u.d=!1,k(Qd,"ThresholdStrategy/Postprocessable",587),y(1826,823,{},gCe),u.wg=function(n,t,i){var r,c,s;return c=t==i,r=this.a.a[i.p]==t,c||r?(s=n,this.a.c==(Fa(),sg)?(c&&(s=QK(this,t,!0)),!isNaN(s)&&!isFinite(s)&&r&&(s=QK(this,i,!1))):(c&&(s=QK(this,t,!0)),!isNaN(s)&&!isFinite(s)&&r&&(s=QK(this,i,!1))),s):n;},u.xg=function(){for(var n,t,i,r,c;this.d.b!=0;){c=o(_En(this.d),587),r=VJe(this,c),r.a&&(n=r.a,i=De(this.a.f[this.a.g[c.b.p].p]),!(!i&&!yc(n)&&n.c.i.c==n.d.i.c)&&(t=QXe(this,c),t||Gyn(this.e,c)));}for(;this.e.a.c.length!=0;){QXe(this,o(ZUe(this.e),587));}},k(Qd,"ThresholdStrategy/SimpleThresholdStrategy",1826),y(645,1,{645:1,188:1,196:1},q8e),u.dg=function(){return sUe(this);},u.qg=function(){return sUe(this);};var lV;k(Jq,"EdgeRouterFactory",645),y(1485,1,Pc,TSe),u.rg=function(n){return bFn(o(n,36));},u.Kf=function(n,t){Aqn(o(n,36),t);};var uan,san,fan,lan,aan,Awe,han,dan;k(Jq,"OrthogonalEdgeRouter",1485),y(1478,1,Pc,dNe),u.rg=function(n){return DOn(o(n,36));},u.Kf=function(n,t){rzn(this,o(n,36),t);};var wan,ban,gan,pan,Fj,man;k(Jq,"PolylineEdgeRouter",1478),y(1479,1,Xa,G8e),u.Lb=function(n){return kie(o(n,10));},u.Fb=function(n){return this===n;},u.Mb=function(n){return kie(o(n,10));},k(Jq,"PolylineEdgeRouter/1",1479),y(1872,1,Ot,z8e),u.Mb=function(n){return o(n,132).c==(Dl(),s0);},k(ql,"HyperEdgeCycleDetector/lambda$0$Type",1872),y(1873,1,{},V8e),u.Ze=function(n){return o(n,132).d;},k(ql,"HyperEdgeCycleDetector/lambda$1$Type",1873),y(1874,1,Ot,W8e),u.Mb=function(n){return o(n,132).c==(Dl(),s0);},k(ql,"HyperEdgeCycleDetector/lambda$2$Type",1874),y(1875,1,{},X8e),u.Ze=function(n){return o(n,132).d;},k(ql,"HyperEdgeCycleDetector/lambda$3$Type",1875),y(1876,1,{},Y8e),u.Ze=function(n){return o(n,132).d;},k(ql,"HyperEdgeCycleDetector/lambda$4$Type",1876),y(1877,1,{},U8e),u.Ze=function(n){return o(n,132).d;},k(ql,"HyperEdgeCycleDetector/lambda$5$Type",1877),y(118,1,{34:1,118:1},P_),u.Fd=function(n){return K3n(this,o(n,118));},u.Fb=function(n){var t;return U(n,118)?(t=o(n,118),this.g==t.g):!1;},u.Hb=function(){return this.g;},u.Ib=function(){var n,t,i,r;for(n=new Ks("{"),r=new N(this.n);r.a"+this.b+" ("+o6n(this.c)+")";},u.d=0,k(ql,"HyperEdgeSegmentDependency",132),y(528,22,{3:1,34:1,22:1,528:1},$Q);var s0,Kp,van=ht(ql,"HyperEdgeSegmentDependency/DependencyType",528,mt,fEn,m8n),yan;y(1878,1,{},jMe),k(ql,"HyperEdgeSegmentSplitter",1878),y(1879,1,{},pIe),u.a=0,u.b=0,k(ql,"HyperEdgeSegmentSplitter/AreaRating",1879),y(339,1,{339:1},QD),u.a=0,u.b=0,u.c=0,k(ql,"HyperEdgeSegmentSplitter/FreeArea",339),y(1880,1,Dt,J8e),u.Ne=function(n,t){return o5n(o(n,118),o(t,118));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(ql,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),y(1881,1,Gn,qDe),u.Cd=function(n){ASn(this.a,this.d,this.c,this.b,o(n,118));},u.b=0,k(ql,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),y(1882,1,{},Q8e),u.Kb=function(n){return new rn(null,new ln(o(n,118).e,16));},k(ql,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),y(1883,1,{},Z8e),u.Kb=function(n){return new rn(null,new ln(o(n,118).j,16));},k(ql,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),y(1884,1,{},eke),u.Ye=function(n){return J(re(n));},k(ql,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),y(664,1,{},_R),u.a=0,u.b=0,u.c=0,k(ql,"OrthogonalRoutingGenerator",664),y(1703,1,{},nke),u.Kb=function(n){return new rn(null,new ln(o(n,118).e,16));},k(ql,"OrthogonalRoutingGenerator/lambda$0$Type",1703),y(1704,1,{},tke),u.Kb=function(n){return new rn(null,new ln(o(n,118).j,16));},k(ql,"OrthogonalRoutingGenerator/lambda$1$Type",1704),y(670,1,{}),k(Qq,"BaseRoutingDirectionStrategy",670),y(1870,670,{},yCe),u.yg=function(n,t,i){var r,c,s,f,h,d,b,m,E,S,T,x,I;if(!(n.r&&!n.q)){for(m=t+n.o*i,b=new N(n.n);b.aJa&&(s=m,c=n,r=new ve(E,s),Kt(f.a,r),Ob(this,f,c,r,!1),S=n.r,S&&(T=J(re(_f(S.e,0))),r=new ve(T,s),Kt(f.a,r),Ob(this,f,c,r,!1),s=t+S.o*i,c=S,r=new ve(T,s),Kt(f.a,r),Ob(this,f,c,r,!1)),r=new ve(I,s),Kt(f.a,r),Ob(this,f,c,r,!1)));}}}},u.zg=function(n){return n.i.n.a+n.n.a+n.a.a;},u.Ag=function(){return Oe(),st;},u.Bg=function(){return Oe(),Nn;},k(Qq,"NorthToSouthRoutingStrategy",1870),y(1871,670,{},kCe),u.yg=function(n,t,i){var r,c,s,f,h,d,b,m,E,S,T,x,I;if(!(n.r&&!n.q)){for(m=t-n.o*i,b=new N(n.n);b.aJa&&(s=m,c=n,r=new ve(E,s),Kt(f.a,r),Ob(this,f,c,r,!1),S=n.r,S&&(T=J(re(_f(S.e,0))),r=new ve(T,s),Kt(f.a,r),Ob(this,f,c,r,!1),s=t-S.o*i,c=S,r=new ve(T,s),Kt(f.a,r),Ob(this,f,c,r,!1)),r=new ve(I,s),Kt(f.a,r),Ob(this,f,c,r,!1)));}}}},u.zg=function(n){return n.i.n.a+n.n.a+n.a.a;},u.Ag=function(){return Oe(),Nn;},u.Bg=function(){return Oe(),st;},k(Qq,"SouthToNorthRoutingStrategy",1871),y(1869,670,{},ECe),u.yg=function(n,t,i){var r,c,s,f,h,d,b,m,E,S,T,x,I;if(!(n.r&&!n.q)){for(m=t+n.o*i,b=new N(n.n);b.aJa&&(s=m,c=n,r=new ve(s,E),Kt(f.a,r),Ob(this,f,c,r,!0),S=n.r,S&&(T=J(re(_f(S.e,0))),r=new ve(s,T),Kt(f.a,r),Ob(this,f,c,r,!0),s=t+S.o*i,c=S,r=new ve(s,T),Kt(f.a,r),Ob(this,f,c,r,!0)),r=new ve(s,I),Kt(f.a,r),Ob(this,f,c,r,!0)));}}}},u.zg=function(n){return n.i.n.b+n.n.b+n.a.b;},u.Ag=function(){return Oe(),Kn;},u.Bg=function(){return Oe(),An;},k(Qq,"WestToEastRoutingStrategy",1869),y(828,1,{},vue),u.Ib=function(){return Ud(this.a);},u.b=0,u.c=!1,u.d=!1,u.f=0,k(pp,"NubSpline",828),y(418,1,{418:1},PYe,kRe),k(pp,"NubSpline/PolarCP",418),y(1480,1,Pc,dVe),u.rg=function(n){return TAn(o(n,36));},u.Kf=function(n,t){_zn(this,o(n,36),t);};var kan,Ean,_an,San,jan;k(pp,"SplineEdgeRouter",1480),y(274,1,{274:1},TC),u.Ib=function(){return this.a+" ->("+this.c+") "+this.b;},u.c=0,k(pp,"SplineEdgeRouter/Dependency",274),y(465,22,{3:1,34:1,22:1,465:1},LQ);var f0,Am,Tan=ht(pp,"SplineEdgeRouter/SideToProcess",465,mt,bEn,v8n),Man;y(1481,1,Ot,ike),u.Mb=function(n){return jk(),!o(n,131).o;},k(pp,"SplineEdgeRouter/lambda$0$Type",1481),y(1482,1,{},rke),u.Ze=function(n){return jk(),o(n,131).v+1;},k(pp,"SplineEdgeRouter/lambda$1$Type",1482),y(1483,1,Gn,gNe),u.Cd=function(n){Kkn(this.a,this.b,o(n,42));},k(pp,"SplineEdgeRouter/lambda$2$Type",1483),y(1484,1,Gn,pNe),u.Cd=function(n){Hkn(this.a,this.b,o(n,42));},k(pp,"SplineEdgeRouter/lambda$3$Type",1484),y(131,1,{34:1,131:1},GWe,jue),u.Fd=function(n){return U3n(this,o(n,131));},u.b=0,u.e=!1,u.f=0,u.g=0,u.j=!1,u.k=!1,u.n=0,u.o=!1,u.p=!1,u.q=!1,u.s=0,u.u=0,u.v=0,u.F=0,k(pp,"SplineSegment",131),y(468,1,{468:1},cke),u.a=0,u.b=!1,u.c=!1,u.d=!1,u.e=!1,u.f=0,k(pp,"SplineSegment/EdgeInformation",468),y(1198,1,{},oke),k(w1,Ese,1198),y(1199,1,Dt,uke),u.Ne=function(n,t){return sDn(o(n,121),o(t,121));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(w1,Ken,1199),y(1197,1,{},OIe),k(w1,"MrTree",1197),y(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},YM),u.dg=function(){return hXe(this);},u.qg=function(){return hXe(this);};var hA,q7,U7,G7,$we=ht(w1,"TreeLayoutPhases",405,mt,pSn,y8n),xan;y(1112,205,fw,u$e),u.rf=function(n,t){var i,r,c,s,f,h,d,b;for(De(Le(be(n,(So(),obe))))||i_((i=new N5((Xw(),new Kw(n))),i)),f=t.eh(nU),f.Ug("build tGraph",1),h=(d=new h_,no(d,n),de(d,(Mi(),V7),n),b=new lt,eHn(n,d,b),vHn(n,d,b),d),f.Vg(),f=t.eh(nU),f.Ug("Split graph",1),s=oHn(this.a,h),f.Vg(),c=new N(s);c.a"+U0(this.c):"e_"+xi(this);},k(Jk,"TEdge",65),y(121,137,{3:1,121:1,96:1,137:1},h_),u.Ib=function(){var n,t,i,r,c;for(c=null,r=dt(this.b,0);r.b!=r.d.c;){i=o(at(r),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` -`;}for(t=dt(this.a,0);t.b!=t.d.c;){n=o(at(t),65),c+=(n.b&&n.c?U0(n.b)+"->"+U0(n.c):"e_"+xi(n))+` -`;}return c;};var BVn=k(Jk,"TGraph",121);y(643,508,{3:1,508:1,643:1,96:1,137:1}),k(Jk,"TShape",643),y(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},nF),u.Ib=function(){return U0(this);};var dA=k(Jk,"TNode",40);y(236,1,_h,qh),u.Jc=function(n){Jr(this,n);},u.Kc=function(){var n;return n=dt(this.a.d,0),new d2(n);},k(Jk,"TNode/2",236),y(329,1,Rr,d2),u.Nb=function(n){Xr(this,n);},u.Pb=function(){return o(at(this.a),65).c;},u.Ob=function(){return uE(this.a);},u.Qb=function(){CB(this.a);},k(Jk,"TNode/2/1",329),y(1923,1,Ci,wke),u.Kf=function(n,t){Zzn(this,o(n,121),t);},k(eu,"CompactionProcessor",1923),y(1924,1,Dt,IMe),u.Ne=function(n,t){return FMn(this.a,o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$0$Type",1924),y(1925,1,Ot,vNe),u.Mb=function(n){return z9n(this.b,this.a,o(n,42));},u.a=0,u.b=0,k(eu,"CompactionProcessor/lambda$1$Type",1925),y(1934,1,Dt,bke),u.Ne=function(n,t){return D7n(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$10$Type",1934),y(1935,1,Dt,gke),u.Ne=function(n,t){return J4n(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$11$Type",1935),y(1936,1,Dt,pke),u.Ne=function(n,t){return R7n(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$12$Type",1936),y(1926,1,Ot,PMe),u.Mb=function(n){return A4n(this.a,o(n,42));},u.a=0,k(eu,"CompactionProcessor/lambda$2$Type",1926),y(1927,1,Ot,NMe),u.Mb=function(n){return $4n(this.a,o(n,42));},u.a=0,k(eu,"CompactionProcessor/lambda$3$Type",1927),y(1928,1,Ot,mke),u.Mb=function(n){return o(n,40).c.indexOf(fN)==-1;},k(eu,"CompactionProcessor/lambda$4$Type",1928),y(1929,1,{},OMe),u.Kb=function(n){return W_n(this.a,o(n,40));},u.a=0,k(eu,"CompactionProcessor/lambda$5$Type",1929),y(1930,1,{},AMe),u.Kb=function(n){return tTn(this.a,o(n,40));},u.a=0,k(eu,"CompactionProcessor/lambda$6$Type",1930),y(1931,1,Dt,$Me),u.Ne=function(n,t){return djn(this.a,o(n,240),o(t,240));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$7$Type",1931),y(1932,1,Dt,LMe),u.Ne=function(n,t){return wjn(this.a,o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$8$Type",1932),y(1933,1,Dt,vke),u.Ne=function(n,t){return Q4n(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(eu,"CompactionProcessor/lambda$9$Type",1933),y(1921,1,Ci,yke),u.Kf=function(n,t){XFn(o(n,121),t);},k(eu,"DirectionProcessor",1921),y(1913,1,Ci,o$e),u.Kf=function(n,t){pHn(this,o(n,121),t);},k(eu,"FanProcessor",1913),y(1937,1,Ci,kke),u.Kf=function(n,t){DFn(o(n,121),t);},k(eu,"GraphBoundsProcessor",1937),y(1938,1,{},Eke),u.Ye=function(n){return o(n,40).e.a;},k(eu,"GraphBoundsProcessor/lambda$0$Type",1938),y(1939,1,{},_ke),u.Ye=function(n){return o(n,40).e.b;},k(eu,"GraphBoundsProcessor/lambda$1$Type",1939),y(1940,1,{},Ske),u.Ye=function(n){return pyn(o(n,40));},k(eu,"GraphBoundsProcessor/lambda$2$Type",1940),y(1941,1,{},jke),u.Ye=function(n){return gyn(o(n,40));},k(eu,"GraphBoundsProcessor/lambda$3$Type",1941),y(262,22,{3:1,34:1,22:1,262:1,196:1},Yw),u.dg=function(){switch(this.g){case 0:return new LCe;case 1:return new o$e;case 2:return new $Ce;case 3:return new Ike;case 4:return new Mke;case 8:return new Tke;case 5:return new yke;case 6:return new Nke;case 7:return new wke;case 9:return new kke;case 10:return new Oke;default:throw O(new In(pq+(this.f!=null?this.f:""+this.g)));}};var Lwe,Dwe,Rwe,Bwe,Fwe,Kwe,Hwe,qwe,Uwe,Gwe,aV,FVn=ht(eu,mq,262,mt,eUe,k8n),Can;y(1920,1,Ci,Tke),u.Kf=function(n,t){YGn(o(n,121),t);},k(eu,"LevelCoordinatesProcessor",1920),y(1918,1,Ci,Mke),u.Kf=function(n,t){pBn(this,o(n,121),t);},u.a=0,k(eu,"LevelHeightProcessor",1918),y(1919,1,_h,xke),u.Jc=function(n){Jr(this,n);},u.Kc=function(){return dn(),Ay(),N6;},k(eu,"LevelHeightProcessor/1",1919),y(1914,1,Ci,$Ce),u.Kf=function(n,t){PFn(this,o(n,121),t);},k(eu,"LevelProcessor",1914),y(1915,1,Ot,Cke),u.Mb=function(n){return De(Le(M(o(n,40),(Mi(),l0))));},k(eu,"LevelProcessor/lambda$0$Type",1915),y(1916,1,Ci,Ike),u.Kf=function(n,t){wLn(this,o(n,121),t);},u.a=0,k(eu,"NeighborsProcessor",1916),y(1917,1,_h,Pke),u.Jc=function(n){Jr(this,n);},u.Kc=function(){return dn(),Ay(),N6;},k(eu,"NeighborsProcessor/1",1917),y(1922,1,Ci,Nke),u.Kf=function(n,t){gHn(this,o(n,121),t);},u.a=0,k(eu,"NodePositionProcessor",1922),y(1912,1,Ci,LCe),u.Kf=function(n,t){Qqn(this,o(n,121),t);},k(eu,"RootProcessor",1912),y(1942,1,Ci,Oke),u.Kf=function(n,t){WPn(o(n,121),t);},k(eu,"Untreeifyer",1942),y(392,22,{3:1,34:1,22:1,392:1},dD);var Kj,hV,zwe,Vwe=ht(ZS,"EdgeRoutingMode",392,mt,l_n,E8n),Ian,Hj,n5,dV,Wwe,Xwe,wV,bV,Ywe,gV,Jwe,pV,z7,mV,wA,bA,kl,Vl,t5,V7,W7,od,Qwe,Pan,vV,l0,qj,Uj;y(862,1,Kf,MSe),u.hf=function(n){Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,cle),""),Onn),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(jn(),!1)),(X1(),Pr)),rr),Qe((Hl(),mn))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ole),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ule),""),"Tree Level"),"The index for the tree level the node is in"),je(0)),lo),Zr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,sle),""),Onn),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),je(-1)),lo),Zr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,fle),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),nbe),Ki),dbe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,lle),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),Zwe),Ki),Vwe),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ale),""),"Search Order"),"Which search order to use when computing a spanning tree."),ebe),Ki),bbe),Qe(mn)))),EZe((new ISe,n));};var Nan,Oan,Aan,Zwe,$an,Lan,ebe,Dan,Ran,nbe;k(ZS,"MrTreeMetaDataProvider",862),y(1006,1,Kf,ISe),u.hf=function(n){EZe(n);};var Ban,tbe,ibe,fg,rbe,cbe,yV,Fan,Kan,Han,qan,Uan,Gan,zan,obe,ube,sbe,Van,$m,gA,fbe,Wan,lbe,kV,Xan,Yan,Jan,abe,Qan,oh,hbe;k(ZS,"MrTreeOptions",1006),y(1007,1,{},Ake),u.sf=function(){var n;return n=new u$e,n;},u.tf=function(n){},k(ZS,"MrTreeOptions/MrtreeFactory",1007),y(353,22,{3:1,34:1,22:1,353:1},JM);var EV,pA,_V,SV,dbe=ht(ZS,"OrderWeighting",353,mt,mSn,_8n),Zan;y(433,22,{3:1,34:1,22:1,433:1},DQ);var wbe,jV,bbe=ht(ZS,"TreeifyingOrder",433,mt,dEn,S8n),ehn;y(1486,1,Pc,PSe),u.rg=function(n){return o(n,121),nhn;},u.Kf=function(n,t){xMn(this,o(n,121),t);};var nhn;k("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),y(1487,1,Pc,NSe),u.rg=function(n){return o(n,121),thn;},u.Kf=function(n,t){$Fn(this,o(n,121),t);};var thn;k(v6,"NodeOrderer",1487),y(1494,1,{},nvn),u.td=function(n){return dLe(n);},k(v6,"NodeOrderer/0methodref$lambda$6$Type",1494),y(1488,1,Ot,Yke),u.Mb=function(n){return e3(),De(Le(M(o(n,40),(Mi(),l0))));},k(v6,"NodeOrderer/lambda$0$Type",1488),y(1489,1,Ot,Jke),u.Mb=function(n){return e3(),o(M(o(n,40),(So(),$m)),17).a<0;},k(v6,"NodeOrderer/lambda$1$Type",1489),y(1490,1,Ot,RMe),u.Mb=function(n){return iMn(this.a,o(n,40));},k(v6,"NodeOrderer/lambda$2$Type",1490),y(1491,1,Ot,DMe),u.Mb=function(n){return J_n(this.a,o(n,40));},k(v6,"NodeOrderer/lambda$3$Type",1491),y(1492,1,Dt,Qke),u.Ne=function(n,t){return TTn(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(v6,"NodeOrderer/lambda$4$Type",1492),y(1493,1,Ot,Zke),u.Mb=function(n){return e3(),o(M(o(n,40),(Mi(),bV)),17).a!=0;},k(v6,"NodeOrderer/lambda$5$Type",1493),y(1495,1,Pc,CSe),u.rg=function(n){return o(n,121),ihn;},u.Kf=function(n,t){qKn(this,o(n,121),t);},u.b=0;var ihn;k("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),y(1496,1,Pc,xSe),u.rg=function(n){return o(n,121),rhn;},u.Kf=function(n,t){jKn(o(n,121),t);};var rhn,KVn=k(Bs,"EdgeRouter",1496);y(1498,1,Dt,Xke),u.Ne=function(n,t){return $o(o(n,17).a,o(t,17).a);},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/0methodref$compare$Type",1498),y(1503,1,{},Lke),u.Ye=function(n){return J(re(n));},k(Bs,"EdgeRouter/1methodref$doubleValue$Type",1503),y(1505,1,Dt,Dke),u.Ne=function(n,t){return Si(J(re(n)),J(re(t)));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/2methodref$compare$Type",1505),y(1507,1,Dt,Rke),u.Ne=function(n,t){return Si(J(re(n)),J(re(t)));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/3methodref$compare$Type",1507),y(1509,1,{},$ke),u.Ye=function(n){return J(re(n));},k(Bs,"EdgeRouter/4methodref$doubleValue$Type",1509),y(1511,1,Dt,Bke),u.Ne=function(n,t){return Si(J(re(n)),J(re(t)));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/5methodref$compare$Type",1511),y(1513,1,Dt,Fke),u.Ne=function(n,t){return Si(J(re(n)),J(re(t)));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/6methodref$compare$Type",1513),y(1497,1,{},Kke),u.Kb=function(n){return n1(),o(M(o(n,40),(So(),oh)),17);},k(Bs,"EdgeRouter/lambda$0$Type",1497),y(1508,1,{},Hke),u.Kb=function(n){return a6n(o(n,40));},k(Bs,"EdgeRouter/lambda$11$Type",1508),y(1510,1,{},yNe),u.Kb=function(n){return Bkn(this.b,this.a,o(n,40));},u.a=0,u.b=0,k(Bs,"EdgeRouter/lambda$13$Type",1510),y(1512,1,{},kNe),u.Kb=function(n){return h6n(this.b,this.a,o(n,40));},u.a=0,u.b=0,k(Bs,"EdgeRouter/lambda$15$Type",1512),y(1514,1,Dt,qke),u.Ne=function(n,t){return SPn(o(n,65),o(t,65));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/lambda$17$Type",1514),y(1515,1,Dt,Uke),u.Ne=function(n,t){return jPn(o(n,65),o(t,65));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/lambda$18$Type",1515),y(1516,1,Dt,Gke),u.Ne=function(n,t){return MPn(o(n,65),o(t,65));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/lambda$19$Type",1516),y(1499,1,Ot,BMe),u.Mb=function(n){return xEn(this.a,o(n,40));},u.a=0,k(Bs,"EdgeRouter/lambda$2$Type",1499),y(1517,1,Dt,zke),u.Ne=function(n,t){return TPn(o(n,65),o(t,65));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/lambda$20$Type",1517),y(1500,1,Dt,Vke),u.Ne=function(n,t){return jkn(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/lambda$3$Type",1500),y(1501,1,Dt,Wke),u.Ne=function(n,t){return Tkn(o(n,40),o(t,40));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"EdgeRouter/lambda$4$Type",1501),y(1502,1,{},e7e),u.Kb=function(n){return d6n(o(n,40));},k(Bs,"EdgeRouter/lambda$5$Type",1502),y(1504,1,{},ENe),u.Kb=function(n){return Fkn(this.b,this.a,o(n,40));},u.a=0,u.b=0,k(Bs,"EdgeRouter/lambda$7$Type",1504),y(1506,1,{},_Ne),u.Kb=function(n){return w6n(this.b,this.a,o(n,40));},u.a=0,u.b=0,k(Bs,"EdgeRouter/lambda$9$Type",1506),y(675,1,{675:1},nVe),u.e=0,u.f=!1,u.g=!1,k(Bs,"MultiLevelEdgeNodeNodeGap",675),y(1943,1,Dt,n7e),u.Ne=function(n,t){return REn(o(n,240),o(t,240));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),y(1944,1,Dt,t7e),u.Ne=function(n,t){return BEn(o(n,240),o(t,240));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(Bs,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var Lm;y(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},RQ),u.dg=function(){return KGe(this);},u.qg=function(){return KGe(this);};var mA,Dm,gbe=ht(hle,"RadialLayoutPhases",501,mt,oEn,j8n),chn;y(1113,205,fw,NIe),u.rf=function(n,t){var i,r,c,s,f,h;if(i=TYe(this,n),t.Ug("Radial layout",i.c.length),De(Le(be(n,(zd(),Mbe))))||i_((r=new N5((Xw(),new Kw(n))),r)),h=CAn(n),yi(n,(I2(),Lm),h),!h){throw O(new In("The given graph is not a tree!"));}for(c=J(re(be(n,kA))),c==0&&(c=oXe(n)),yi(n,kA,c),f=new N(TYe(this,n));f.a=3){for(pe=o(z(X,0),27),Ne=o(z(X,1),27),s=0;s+2=pe.f+Ne.f+m||Ne.f>=ae.f+pe.f+m){Ze=!0;break;}else{++s;}}}else {Ze=!0;}if(!Ze){for(S=X.i,h=new Hn(X);h.e!=h.i.gc();){f=o(Wn(h),27),yi(f,(Wt(),rT),je(S)),--S;}tQe(n,new vv),t.Vg();return;}for(i=(QE(this.a),$l(this.a,(TI(),zj),o(be(n,tge),188)),$l(this.a,EA,o(be(n,Ybe),188)),$l(this.a,DV,o(be(n,Zbe),188)),tZ(this.a,(kn=new dr,Ut(kn,zj,(DI(),FV)),Ut(kn,EA,BV),De(Le(be(n,Wbe)))&&Ut(kn,zj,RV),kn)),SS(this.a,n)),b=1/i.c.length,x=new N(i);x.a0&&aGe((Pn(t-1,n.length),n.charCodeAt(t-1)),Qen);){--t;}if(r>=t){throw O(new In("The given string does not contain any numbers."));}if(c=lp((zr(r,t,n.length),n.substr(r,t-r)),`,|;|\r| -`),c.length!=2){throw O(new In("Exactly two numbers are expected, "+c.length+" were found."));}try{this.a=ip(rp(c[0])),this.b=ip(rp(c[1]));}catch(s){throw s=Hi(s),U(s,130)?(i=s,O(new In(Zen+i))):O(s);}},u.Ib=function(){return"("+this.a+","+this.b+")";},u.a=0,u.b=0;var Or=k(WS,"KVector",8);y(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Hu,SM,IAe),u.Pc=function(){return Gxn(this);},u.cg=function(n){var t,i,r,c,s,f;r=lp(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),Hs(this);try{for(i=0,s=0,c=0,f=0;i0&&(s%2==0?c=ip(r[i]):f=ip(r[i]),s>0&&s%2!=0&&Kt(this,new ve(c,f)),++s),++i;}}catch(h){throw h=Hi(h),U(h,130)?(t=h,O(new In("The given string does not match the expected format for vectors."+t))):O(h);}},u.Ib=function(){var n,t,i;for(n=new Ks("("),t=dt(this,0);t.b!=t.d.c;){i=o(at(t),8),qt(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");}return(n.a+=")",n).a;};var Bge=k(WS,"KVectorChain",75);y(255,22,{3:1,34:1,22:1,255:1},r8);var oW,NA,OA,Jj,Qj,AA,Fge=ht(Ss,"Alignment",255,mt,Hjn,X8n),B1n;y(991,1,Kf,KSe),u.hf=function(n){BJe(n);};var Kge,uW,F1n,Hge,qge,K1n,Uge,H1n,q1n,Gge,zge,U1n;k(Ss,"BoxLayouterOptions",991),y(992,1,{},l9e),u.sf=function(){var n;return n=new d9e,n;},u.tf=function(n){},k(Ss,"BoxLayouterOptions/BoxFactory",992),y(298,22,{3:1,34:1,22:1,298:1},c8);var t9,sW,i9,r9,c9,fW,lW=ht(Ss,"ContentAlignment",298,mt,qjn,Y8n),G1n;y(699,1,Kf,LY),u.hf=function(n){Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,etn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(X1(),Bm)),Be),Qe((Hl(),mn))))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,ntn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),_a),UVn),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,$fe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Vge),Ki),Fge),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,S3),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Wle),""),"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."),_a),Bge),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,rN),""),"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."),Xge),z3),lW),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,QS),""),"Debug Mode"),"Whether additional debug information shall be generated."),(jn(),!1)),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Wq),""),bse),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Yge),Ki),u9),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,JS),""),"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."),Zge),Ki),SW),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,zle),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,iN),""),"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`."),tpe),Ki),Hpe),Pi(mn,R(L(Oh,1),we,170,0,[Mr]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Bb),""),"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."),ape),_a),h1e),Pi(mn,R(L(Oh,1),we,170,0,[Mr]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Uk),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,oN),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Gk),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,wq),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),gpe),Ki),Gpe),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,cN),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),_a),Or),Pi(Mr,R(L(Oh,1),we,170,0,[xw,ud]))))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,HS),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),lo),Zr),Pi(Mr,R(L(Oh,1),we,170,0,[uh]))))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,BP),""),"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)."),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,qk),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,zfe),""),"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."),ipe),_a),Bge),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Xfe),""),"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),Pr),rr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Yfe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Pr),rr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,pVn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),_a),XVn),Pi(mn,R(L(Oh,1),we,170,0,[ud]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Qfe),""),"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."),rpe),_a),a1e),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Ofe),""),"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),Pr),rr),Pi(Mr,R(L(Oh,1),we,170,0,[uh,xw,ud]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ttn),""),"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),oc),mr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,itn),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,rtn),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,qS),""),Xnn),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),Pr),rr),Qe(mn)))),wr(n,qS,Fb,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ctn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,otn),""),"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'."),je(100)),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,utn),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,stn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),je(4e3)),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ftn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),je(400)),lo),Zr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,ltn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,atn),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,htn),""),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,dtn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Vle),"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."),Wge),Ki),n2e),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Efe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,_fe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,uq),ma),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Sfe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,dq),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Vq),ma),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,jfe),ma),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,xfe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Tfe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Mfe),ma),"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),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,gp),ma),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Cfe),ma),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),oc),mr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Ife),ma),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),oc),mr),Pi(mn,R(L(Oh,1),we,170,0,[Mr]))))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Pfe),ma),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),_a),Ndn),Pi(Mr,R(L(Oh,1),we,170,0,[uh,xw,ud]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Zfe),ma),"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."),Mpe),_a),a1e),Qe(mn)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Yq),gtn),"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)."),lo),Zr),Pi(mn,R(L(Oh,1),we,170,0,[Mr]))))),wr(n,Yq,Xq,edn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Xq),gtn),"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."),hpe),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Rfe),ptn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),ope),_a),h1e),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,g6),ptn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),upe),z3),Oc),Pi(Mr,R(L(Oh,1),we,170,0,[ud]))))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Kfe),gN),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),wpe),Ki),a9),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Hfe),gN),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Ki),a9),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,qfe),gN),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Ki),a9),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Ufe),gN),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Ki),a9),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Gfe),gN),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Ki),a9),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,sm),mU),"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."),spe),z3),w9),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,j3),mU),"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."),lpe),z3),Vpe),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,T3),mU),"Node Size Minimum"),"The minimal size to which a node can be reduced."),fpe),_a),Or),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,b6),mU),"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),Pr),rr),Qe(mn)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Vfe),zq),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Jge),Ki),Ipe),Qe(ud)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,FP),zq),"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),Pr),rr),Qe(ud)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,mVn),"font"),"Font Name"),"Font name used for a label."),Bm),Be),Qe(ud)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,wtn),"font"),"Font Size"),"Font size used for a label."),lo),Zr),Qe(ud)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Jfe),vU),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),_a),Or),Qe(xw)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Wfe),vU),"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."),lo),Zr),Qe(xw)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Afe),vU),"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."),vpe),Ki),Ec),Qe(xw)))),Ye(n,new He(We(Ve(Xe(qe(ze(Ue(Ge(new Ke,Nfe),vU),"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."),oc),mr),Qe(xw)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,p6),Jle),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),ppe),z3),FA),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Bfe),Jle),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Pr),rr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Ffe),Jle),"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),Pr),rr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,US),nj),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),oc),mr),Qe(mn)))),wr(n,US,Fb,sdn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Xle),nj),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Ki),zA),Qe(Mr)))),wr(n,Xle,Fb,fdn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,GS),nj),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),oc),mr),Pi(mn,R(L(Oh,1),we,170,0,[Mr]))))),wr(n,GS,Fb,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,zS),nj),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),oc),mr),Pi(mn,R(L(Oh,1),we,170,0,[Mr]))))),wr(n,zS,Fb,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Fb),nj),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Ki),Xpe),Qe(Mr)))),wr(n,Fb,b6,null),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Yle),nj),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),oc),mr),Qe(mn)))),wr(n,Yle,Fb,udn),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Lfe),mtn),"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),Pr),rr),Qe(Mr)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,Dfe),mtn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Pr),rr),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,sq),"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),oc),mr),Qe(uh)))),Ye(n,new He(We(Ve(Xe(sn(qe(ze(Ue(Ge(new Ke,btn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),npe),Ki),Lpe),Qe(uh)))),W5(n,new Vv(q5(Cy(xy(new wv,Bn),"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.'))),W5(n,new Vv(q5(Cy(xy(new wv,"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.`))),W5(n,new Vv(q5(Cy(xy(new wv,_u),"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."))),W5(n,new Vv(q5(Cy(xy(new wv,"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."))),W5(n,new Vv(q5(Cy(xy(new wv,Ann),"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."))),W5(n,new Vv(q5(Cy(xy(new wv,"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."))),W5(n,new Vv(q5(Cy(xy(new wv,jf),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),SJe((new HSe,n)),BJe((new KSe,n)),QYe((new qSe,n));};var r5,z1n,Vge,Fm,V1n,W1n,Wge,Km,Hm,X1n,Zj,Xge,eT,Cw,Yge,aW,hW,Jge,Qge,Zge,epe,npe,Y1n,qm,tpe,J1n,nT,dW,tT,wW,lg,ipe,c5,rpe,cpe,ope,Um,upe,Iw,spe,qp,Gm,fpe,a0,lpe,$A,iT,sd,ape,Q1n,hpe,Z1n,edn,dpe,wpe,bW,gW,pW,mW,bpe,js,o9,gpe,vW,yW,Up,ppe,mpe,zm,vpe,V3,rT,kW,Vm,ndn,EW,tdn,idn,ype,rdn,kpe,Epe,W3,_pe,LA,Spe,jpe,Pw,cdn,Tpe,Mpe,xpe,DA,cT,o5,X3,odn,udn,RA,sdn,Cpe,fdn;k(Ss,"CoreOptions",699),y(88,22,{3:1,34:1,22:1,88:1},ME);var Sa,Xc,ro,ja,If,u9=ht(Ss,bse,88,mt,VSn,J8n),ldn;y(278,22,{3:1,34:1,22:1,278:1},kD);var u5,Gp,s5,Ipe=ht(Ss,"EdgeLabelPlacement",278,mt,E_n,Q8n),adn;y(223,22,{3:1,34:1,22:1,223:1},ZM);var f5,oT,Y3,_W,SW=ht(Ss,"EdgeRouting",223,mt,ESn,Z8n),hdn;y(321,22,{3:1,34:1,22:1,321:1},o8);var Ppe,Npe,Ope,Ape,jW,$pe,Lpe=ht(Ss,"EdgeType",321,mt,Kjn,ekn),ddn;y(989,1,Kf,HSe),u.hf=function(n){SJe(n);};var Dpe,Rpe,Bpe,Fpe,wdn,Kpe,s9;k(Ss,"FixedLayouterOptions",989),y(990,1,{},a9e),u.sf=function(){var n;return n=new E9e,n;},u.tf=function(n){},k(Ss,"FixedLayouterOptions/FixedFactory",990),y(346,22,{3:1,34:1,22:1,346:1},ED);var fd,BA,f9,Hpe=ht(Ss,"HierarchyHandling",346,mt,y_n,nkn),bdn;y(291,22,{3:1,34:1,22:1,291:1},ex);var Ah,h0,uT,sT,gdn=ht(Ss,"LabelSide",291,mt,kSn,tkn),pdn;y(95,22,{3:1,34:1,22:1,95:1},m2);var p1,El,Vf,_l,tf,Sl,Wf,$h,jl,Oc=ht(Ss,"NodeLabelPlacement",95,mt,HTn,ikn),mdn;y(256,22,{3:1,34:1,22:1,256:1},xE);var qpe,l9,d0,Upe,fT,a9=ht(Ss,"PortAlignment",256,mt,sjn,rkn),vdn;y(101,22,{3:1,34:1,22:1,101:1},u8);var Nw,ru,Lh,l5,Ta,w0,Gpe=ht(Ss,"PortConstraints",101,mt,Fjn,ckn),ydn;y(279,22,{3:1,34:1,22:1,279:1},s8);var h9,d9,m1,lT,b0,J3,FA=ht(Ss,"PortLabelPlacement",279,mt,Bjn,okn),kdn;y(64,22,{3:1,34:1,22:1,64:1},CE);var Kn,Nn,Pf,Nf,$u,Tu,Ma,Tl,hs,Zu,cu,ds,Lu,Du,Ml,rf,cf,Xf,st,yo,An,Ec=ht(Ss,"PortSide",64,mt,WSn,ukn),Edn;y(993,1,Kf,qSe),u.hf=function(n){QYe(n);};var _dn,Sdn,zpe,jdn,Tdn;k(Ss,"RandomLayouterOptions",993),y(994,1,{},h9e),u.sf=function(){var n;return n=new v9e,n;},u.tf=function(n){},k(Ss,"RandomLayouterOptions/RandomFactory",994),y(386,22,{3:1,34:1,22:1,386:1},nx);var zp,aT,hT,Ow,w9=ht(Ss,"SizeConstraint",386,mt,ySn,skn),Mdn;y(264,22,{3:1,34:1,22:1,264:1},v2);var dT,KA,a5,TW,wT,b9,HA,qA,UA,Vpe=ht(Ss,"SizeOptions",264,mt,eMn,fkn),xdn;y(280,22,{3:1,34:1,22:1,280:1},_D);var Vp,Wpe,GA,Xpe=ht(Ss,"TopdownNodeTypes",280,mt,__n,lkn),Cdn;y(347,22,Qle);var Ype,Jpe,zA=ht(Ss,"TopdownSizeApproximator",347,mt,mEn,hkn);y(987,347,Qle,hLe),u.Tg=function(n){return Hze(n);},ht(Ss,"TopdownSizeApproximator/1",987,zA,null,null),y(988,347,Qle,JLe),u.Tg=function(n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je,kn;for(t=o(be(n,(Wt(),Vm)),143),Ne=(Sd(),T=new D5,T),wS(Ne,n),Ze=new lt,s=new Hn((!n.a&&(n.a=new he(ti,n,10,11)),n.a));s.e!=s.i.gc();){r=o(Wn(s),27),G=(S=new D5,S),uP(G,Ne),wS(G,r),kn=Hze(r),S2(G,p.Math.max(r.g,kn.a),p.Math.max(r.f,kn.b)),hu(Ze.f,r,G);}for(c=new Hn((!n.a&&(n.a=new he(ti,n,10,11)),n.a));c.e!=c.i.gc();){for(r=o(Wn(c),27),m=new Hn((!r.e&&(r.e=new bn(or,r,7,4)),r.e));m.e!=m.i.gc();){b=o(Wn(m),74),ae=o(Jc(Mc(Ze.f,r)),27),pe=o(qn(Ze,z((!b.c&&(b.c=new bn(ct,b,5,8)),b.c),0)),27),X=(E=new eL,E),pt((!X.b&&(X.b=new bn(ct,X,4,7)),X.b),ae),pt((!X.c&&(X.c=new bn(ct,X,5,8)),X.c),pe),oP(X,Bi(ae)),wS(X,b);}}I=o(t_(t.f),205);try{I.rf(Ne,new j9e),xDe(t.f,I);}catch(En){throw En=Hi(En),U(En,103)?(x=En,O(x)):O(En);}return sa(Ne,Hm)||sa(Ne,Km)||Rue(Ne),d=J(re(be(Ne,Hm))),h=J(re(be(Ne,Km))),f=d/h,i=J(re(be(Ne,cT)))*p.Math.sqrt((!Ne.a&&(Ne.a=new he(ti,Ne,10,11)),Ne.a).i),Je=o(be(Ne,sd),107),H=Je.b+Je.c+1,D=Je.d+Je.a+1,new ve(p.Math.max(H,i),p.Math.max(D,i/f));},ht(Ss,"TopdownSizeApproximator/2",988,zA,null,null);var Idn;y(344,1,{871:1},vv),u.Ug=function(n,t){return nWe(this,n,t);},u.Vg=function(){SWe(this);},u.Wg=function(){return this.q;},u.Xg=function(){return this.f?RR(this.f):null;},u.Yg=function(){return RR(this.a);},u.Zg=function(){return this.p;},u.$g=function(){return!1;},u._g=function(){return this.n;},u.ah=function(){return this.p!=null&&!this.b;},u.bh=function(n){var t;this.n&&(t=n,xe(this.f,t));},u.dh=function(n,t){var i,r;this.n&&n&&R_n(this,(i=new fDe,r=HK(i,n),vGn(i),r),(hI(),xW));},u.eh=function(n){var t;return this.b?null:(t=_Tn(this,this.g),Kt(this.a,t),t.i=this,this.d=n,t);},u.fh=function(n){n>0&&!this.b&&nie(this,n);},u.b=!1,u.c=0,u.d=-1,u.e=null,u.f=null,u.g=-1,u.j=!1,u.k=!1,u.n=!1,u.o=0,u.q=0,u.r=0,k(To,"BasicProgressMonitor",344),y(717,205,fw,d9e),u.rf=function(n,t){tQe(n,t);},k(To,"BoxLayoutProvider",717),y(983,1,Dt,JMe),u.Ne=function(n,t){return vBn(this,o(n,27),o(t,27));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},u.a=!1,k(To,"BoxLayoutProvider/1",983),y(163,1,{163:1},qC,LAe),u.Ib=function(){return this.c?eue(this.c):Ud(this.b);},k(To,"BoxLayoutProvider/Group",163),y(320,22,{3:1,34:1,22:1,320:1},tx);var Qpe,Zpe,e2e,MW,n2e=ht(To,"BoxLayoutProvider/PackingMode",320,mt,_Sn,dkn),Pdn;y(984,1,Dt,w9e),u.Ne=function(n,t){return R9n(o(n,163),o(t,163));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(To,"BoxLayoutProvider/lambda$0$Type",984),y(985,1,Dt,b9e),u.Ne=function(n,t){return I9n(o(n,163),o(t,163));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(To,"BoxLayoutProvider/lambda$1$Type",985),y(986,1,Dt,g9e),u.Ne=function(n,t){return P9n(o(n,163),o(t,163));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(To,"BoxLayoutProvider/lambda$2$Type",986),y(1384,1,{845:1},p9e),u.Mg=function(n,t){return OM(),!U(t,167)||DIe((t3(),o(n,167)),t);},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),y(1385,1,Gn,QMe),u.Cd=function(n){Wxn(this.a,o(n,149));},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),y(1386,1,Gn,y9e),u.Cd=function(n){o(n,96),OM();},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),y(1390,1,Gn,ZMe),u.Cd=function(n){gMn(this.a,o(n,96));},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),y(1388,1,Ot,MNe),u.Mb=function(n){return Cxn(this.a,this.b,o(n,149));},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),y(1387,1,Ot,xNe),u.Mb=function(n){return l6n(this.a,this.b,o(n,845));},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),y(1389,1,Gn,CNe),u.Cd=function(n){_7n(this.a,this.b,o(n,149));},k(To,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),y(947,1,{},k9e),u.Kb=function(n){return SOe(n);},u.Fb=function(n){return this===n;},k(To,"ElkUtil/lambda$0$Type",947),y(948,1,Gn,INe),u.Cd=function(n){EDn(this.a,this.b,o(n,74));},u.a=0,u.b=0,k(To,"ElkUtil/lambda$1$Type",948),y(949,1,Gn,PNe),u.Cd=function(n){d3n(this.a,this.b,o(n,166));},u.a=0,u.b=0,k(To,"ElkUtil/lambda$2$Type",949),y(950,1,Gn,NNe),u.Cd=function(n){s4n(this.a,this.b,o(n,135));},u.a=0,u.b=0,k(To,"ElkUtil/lambda$3$Type",950),y(951,1,Gn,exe),u.Cd=function(n){Ukn(this.a,o(n,377));},k(To,"ElkUtil/lambda$4$Type",951),y(325,1,{34:1,325:1},qvn),u.Fd=function(n){return D4n(this,o(n,242));},u.Fb=function(n){var t;return U(n,325)?(t=o(n,325),this.a==t.a):!1;},u.Hb=function(){return jr(this.a);},u.Ib=function(){return this.a+" (exclusive)";},u.a=0,k(To,"ExclusiveBounds/ExclusiveLowerBound",325),y(1119,205,fw,E9e),u.rf=function(n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H,G,X,ae,pe,Ne,Ze,Je;for(t.Ug("Fixed Layout",1),s=o(be(n,(Wt(),Qge)),223),E=0,S=0,G=new Hn((!n.a&&(n.a=new he(ti,n,10,11)),n.a));G.e!=G.i.gc();){for(D=o(Wn(G),27),Je=o(be(D,(dI(),s9)),8),Je&&(ff(D,Je.a,Je.b),o(be(D,Rpe),181).Hc((Rs(),zp))&&(T=o(be(D,Fpe),8),T.a>0&&T.b>0&&$b(D,T.a,T.b,!0,!0))),E=p.Math.max(E,D.i+D.g),S=p.Math.max(S,D.j+D.f),b=new Hn((!D.n&&(D.n=new he(Fc,D,1,7)),D.n));b.e!=b.i.gc();){h=o(Wn(b),135),Je=o(be(h,s9),8),Je&&ff(h,Je.a,Je.b),E=p.Math.max(E,D.i+h.i+h.g),S=p.Math.max(S,D.j+h.j+h.f);}for(pe=new Hn((!D.c&&(D.c=new he(ws,D,9,9)),D.c));pe.e!=pe.i.gc();){for(ae=o(Wn(pe),123),Je=o(be(ae,s9),8),Je&&ff(ae,Je.a,Je.b),Ne=D.i+ae.i,Ze=D.j+ae.j,E=p.Math.max(E,Ne+ae.g),S=p.Math.max(S,Ze+ae.f),d=new Hn((!ae.n&&(ae.n=new he(Fc,ae,1,7)),ae.n));d.e!=d.i.gc();){h=o(Wn(d),135),Je=o(be(h,s9),8),Je&&ff(h,Je.a,Je.b),E=p.Math.max(E,Ne+h.i+h.g),S=p.Math.max(S,Ze+h.j+h.f);}}for(c=new Un(Vn(s1(D).a.Kc(),new Y));wt(c);){i=o(it(c),74),m=gZe(i),E=p.Math.max(E,m.a),S=p.Math.max(S,m.b);}for(r=new Un(Vn(dS(D).a.Kc(),new Y));wt(r);){i=o(it(r),74),Bi(yh(i))!=n&&(m=gZe(i),E=p.Math.max(E,m.a),S=p.Math.max(S,m.b));}}if(s==(r1(),f5)){for(H=new Hn((!n.a&&(n.a=new he(ti,n,10,11)),n.a));H.e!=H.i.gc();){for(D=o(Wn(H),27),r=new Un(Vn(s1(D).a.Kc(),new Y));wt(r);){i=o(it(r),74),f=SHn(i),f.b==0?yi(i,lg,null):yi(i,lg,f);}}}De(Le(be(n,(dI(),Bpe))))||(X=o(be(n,wdn),107),I=E+X.b+X.c,x=S+X.d+X.a,$b(n,I,x,!0,!0)),t.Vg();},k(To,"FixedLayoutProvider",1119),y(385,137,{3:1,423:1,385:1,96:1,137:1},Z$,wHe),u.cg=function(n){var t,i,r,c,s,f,h,d,b;if(n){try{for(d=lp(n,";,;"),s=d,f=0,h=s.length;f>16&gr|t^r<<16;},u.Kc=function(){return new nxe(this);},u.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+uo(this.b)+")":this.b==null?"pair("+uo(this.a)+",null)":"pair("+uo(this.a)+","+uo(this.b)+")";},k(To,"Pair",42),y(995,1,Rr,nxe),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null);},u.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null){return this.b=!0,this.a.a;}if(!this.c&&this.a.b!=null){return this.c=!0,this.a.b;}throw O(new ao);},u.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),O(new Ku);},u.b=!1,u.c=!1,k(To,"Pair/1",995),y(455,1,{455:1},UDe),u.Fb=function(n){return Po(this.a,o(n,455).a)&&Po(this.c,o(n,455).c)&&Po(this.d,o(n,455).d)&&Po(this.b,o(n,455).b);},u.Hb=function(){return F_(R(L(Ir,1),vn,1,5,[this.a,this.c,this.d,this.b]));},u.Ib=function(){return"("+this.a+gc+this.c+gc+this.d+gc+this.b+")";},k(To,"Quadruple",455),y(1108,205,fw,v9e),u.rf=function(n,t){var i,r,c,s,f;if(t.Ug("Random Layout",1),(!n.a&&(n.a=new he(ti,n,10,11)),n.a).i==0){t.Vg();return;}s=o(be(n,(Cre(),jdn)),17),s&&s.a!=0?c=new EC(s.a):c=new jF,i=oE(re(be(n,_dn))),f=oE(re(be(n,Tdn))),r=o(be(n,Sdn),107),HGn(n,c,i,f,r),t.Vg();},k(To,"RandomLayoutProvider",1108),y(240,1,{240:1},ZD),u.Fb=function(n){return Po(this.a,o(n,240).a)&&Po(this.b,o(n,240).b)&&Po(this.c,o(n,240).c);},u.Hb=function(){return F_(R(L(Ir,1),vn,1,5,[this.a,this.b,this.c]));},u.Ib=function(){return"("+this.a+gc+this.b+gc+this.c+")";},k(To,"Triple",240);var $dn;y(562,1,{}),u.Lf=function(){return new ve(this.f.i,this.f.j);},u.of=function(n){return mRe(n,(Wt(),js))?be(this.f,Ldn):be(this.f,n);},u.Mf=function(){return new ve(this.f.g,this.f.f);},u.Nf=function(){return this.g;},u.pf=function(n){return sa(this.f,n);},u.Of=function(n){vu(this.f,n.a),yu(this.f,n.b);},u.Pf=function(n){yb(this.f,n.a),vb(this.f,n.b);},u.Qf=function(n){this.g=n;},u.g=0;var Ldn;k(e7,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),y(563,1,{853:1},aM),u.Rf=function(){var n,t;if(!this.b){for(this.b=mC(nC(this.a).i),t=new Hn(nC(this.a));t.e!=t.i.gc();){n=o(Wn(t),135),xe(this.b,new CL(n));}}return this.b;},u.b=null,k(e7,"ElkGraphAdapters/ElkEdgeAdapter",563),y(289,562,{},Kw),u.Sf=function(){return lVe(this);},u.a=null,k(e7,"ElkGraphAdapters/ElkGraphAdapter",289),y(640,562,{187:1},CL),k(e7,"ElkGraphAdapters/ElkLabelAdapter",640),y(639,562,{695:1},DD),u.Rf=function(){return CNn(this);},u.Vf=function(){var n;return n=o(be(this.f,(Wt(),c5)),140),!n&&(n=new L5),n;},u.Xf=function(){return INn(this);},u.Zf=function(n){var t;t=new nR(n),yi(this.f,(Wt(),c5),t);},u.$f=function(n){yi(this.f,(Wt(),sd),new vee(n));},u.Tf=function(){return this.d;},u.Uf=function(){var n,t;if(!this.a){for(this.a=new Te,t=new Un(Vn(dS(o(this.f,27)).a.Kc(),new Y));wt(t);){n=o(it(t),74),xe(this.a,new aM(n));}}return this.a;},u.Wf=function(){var n,t;if(!this.c){for(this.c=new Te,t=new Un(Vn(s1(o(this.f,27)).a.Kc(),new Y));wt(t);){n=o(it(t),74),xe(this.c,new aM(n));}}return this.c;},u.Yf=function(){return oC(o(this.f,27)).i!=0||De(Le(o(this.f,27).of((Wt(),nT))));},u._f=function(){sTn(this,(Xw(),$dn));},u.a=null,u.b=null,u.c=null,u.d=null,u.e=null,k(e7,"ElkGraphAdapters/ElkNodeAdapter",639),y(1284,562,{852:1},txe),u.Rf=function(){return RNn(this);},u.Uf=function(){var n,t;if(!this.a){for(this.a=hh(o(this.f,123).hh().i),t=new Hn(o(this.f,123).hh());t.e!=t.i.gc();){n=o(Wn(t),74),xe(this.a,new aM(n));}}return this.a;},u.Wf=function(){var n,t;if(!this.c){for(this.c=hh(o(this.f,123).ih().i),t=new Hn(o(this.f,123).ih());t.e!=t.i.gc();){n=o(Wn(t),74),xe(this.c,new aM(n));}}return this.c;},u.ag=function(){return o(o(this.f,123).of((Wt(),zm)),64);},u.bg=function(){var n,t,i,r,c,s,f,h;for(r=ia(o(this.f,123)),i=new Hn(o(this.f,123).ih());i.e!=i.i.gc();){for(n=o(Wn(i),74),h=new Hn((!n.c&&(n.c=new bn(ct,n,5,8)),n.c));h.e!=h.i.gc();){if(f=o(Wn(h),84),Vg(to(f),r)){return!0;}if(to(f)==r&&De(Le(be(n,(Wt(),dW))))){return!0;}}}for(t=new Hn(o(this.f,123).hh());t.e!=t.i.gc();){for(n=o(Wn(t),74),s=new Hn((!n.b&&(n.b=new bn(ct,n,4,7)),n.b));s.e!=s.i.gc();){if(c=o(Wn(s),84),Vg(to(c),r)){return!0;}}}return!1;},u.a=null,u.b=null,u.c=null,k(e7,"ElkGraphAdapters/ElkPortAdapter",1284),y(1285,1,Dt,m9e),u.Ne=function(n,t){return gKn(o(n,123),o(t,123));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(e7,"ElkGraphAdapters/PortComparator",1285);var g0=Vi(Tf,"EObject"),h5=Vi(am,ktn),of=Vi(am,Etn),bT=Vi(am,_tn),gT=Vi(am,"ElkShape"),ct=Vi(am,Stn),or=Vi(am,Zle),Li=Vi(am,jtn),pT=Vi(Tf,Ttn),g9=Vi(Tf,"EFactory"),Ddn,CW=Vi(Tf,Mtn),Wl=Vi(Tf,"EPackage"),Lr,Rdn,Bdn,c2e,VA,Fdn,o2e,u2e,s2e,Dh,Kdn,Hdn,Fc=Vi(am,eae),ti=Vi(am,nae),ws=Vi(am,tae);y(93,1,xtn),u.th=function(){return this.uh(),null;},u.uh=function(){return null;},u.vh=function(){return this.uh(),!1;},u.wh=function(){return!1;},u.xh=function(n){ai(this,n);},k(C3,"BasicNotifierImpl",93),y(99,93,Ntn),u.Yh=function(){return Ns(this);},u.yh=function(n,t){return n;},u.zh=function(){throw O(new It);},u.Ah=function(n){var t;return t=Tc(o(pn(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,n);},u.Bh=function(n,t){throw O(new It);},u.Ch=function(n,t,i){return Js(this,n,t,i);},u.Dh=function(){var n;return this.zh()&&(n=this.zh().Nk(),n)?n:this.ii();},u.Eh=function(){return jK(this);},u.Fh=function(){throw O(new It);},u.Gh=function(){var n,t;return t=this.$h().Ok(),!t&&this.zh().Tk(t=(Y5(),n=Nne(za(this.Dh())),n==null?DW:new AE(this,n))),t;},u.Hh=function(n,t){return n;},u.Ih=function(n){var t;return t=n.pk(),t?n.Lj():qi(this.Dh(),n);},u.Jh=function(){var n;return n=this.zh(),n?n.Qk():null;},u.Kh=function(){return this.zh()?this.zh().Nk():null;},u.Lh=function(n,t,i){return $I(this,n,t,i);},u.Mh=function(n){return c4(this,n);},u.Nh=function(n,t){return lB(this,n,t);},u.Oh=function(){var n;return n=this.zh(),!!n&&n.Rk();},u.Ph=function(){throw O(new It);},u.Qh=function(){return xI(this);},u.Rh=function(n,t,i,r){return s3(this,n,t,r);},u.Sh=function(n,t,i){var r;return r=o(pn(this.Dh(),t),69),r.wk().zk(this,this.hi(),t-this.ji(),n,i);},u.Th=function(n,t,i,r){return lC(this,n,t,r);},u.Uh=function(n,t,i){var r;return r=o(pn(this.Dh(),t),69),r.wk().Ak(this,this.hi(),t-this.ji(),n,i);},u.Vh=function(){return!!this.zh()&&!!this.zh().Pk();},u.Wh=function(n){return LF(this,n);},u.Xh=function(n){return NRe(this,n);},u.Zh=function(n){return eZe(this,n);},u.$h=function(){throw O(new It);},u._h=function(){return this.zh()?this.zh().Pk():null;},u.ai=function(){return xI(this);},u.bi=function(n,t){yK(this,n,t);},u.ci=function(n){this.$h().Sk(n);},u.di=function(n){this.$h().Vk(n);},u.ei=function(n){this.$h().Uk(n);},u.fi=function(n,t){var i,r,c,s;return s=this.Jh(),s&&n&&(t=bc(s.El(),this,t),s.Il(this)),r=this.Ph(),r&&(BK(this,this.Ph(),this.Fh()).Bb&kc?(c=r.Qh(),c&&(n?!s&&c.Il(this):c.Hl(this))):(t=(i=this.Fh(),i>=0?this.Ah(t):this.Ph().Th(this,-1-i,null,t)),t=this.Ch(null,-1,t))),this.di(n),t;},u.gi=function(n){var t,i,r,c,s,f,h,d;if(i=this.Dh(),s=qi(i,n),t=this.ji(),s>=t){return o(n,69).wk().Dk(this,this.hi(),s-t);}if(s<=-1){if(f=nm((Xu(),ec),i,n),f){if(jc(),o(f,69).xk()||(f=Wv(Uc(ec,f))),c=(r=this.Ih(f),o(r>=0?this.Lh(r,!0,!0):Nb(this,f,!0),160)),d=f.Ik(),d>1||d==-1){return o(o(c,220).Sl(n,!1),79);}}else {throw O(new In(Zd+n.xe()+yU));}}else if(n.Jk()){return r=this.Ih(n),o(r>=0?this.Lh(r,!1,!0):Nb(this,n,!1),79);}return h=new YNe(this,n),h;},u.hi=function(){return Dte(this);},u.ii=function(){return(Pd(),Tn).S;},u.ji=function(){return tt(this.ii());},u.ki=function(n){pK(this,n);},u.Ib=function(){return dl(this);},k(Mn,"BasicEObjectImpl",99);var qdn;y(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),u.li=function(n){var t;return t=Lte(this),t[n];},u.mi=function(n,t){var i;i=Lte(this),Yi(i,n,t);},u.ni=function(n){var t;t=Lte(this),Yi(t,n,null);},u.th=function(){return o(Cn(this,4),129);},u.uh=function(){throw O(new It);},u.vh=function(){return(this.Db&4)!=0;},u.zh=function(){throw O(new It);},u.oi=function(n){o3(this,2,n);},u.Bh=function(n,t){this.Db=t<<16|this.Db&255,this.oi(n);},u.Dh=function(){return Iu(this);},u.Fh=function(){return this.Db>>16;},u.Gh=function(){var n,t;return Y5(),t=Nne(za((n=o(Cn(this,16),29),n||this.ii()))),t==null?DW:new AE(this,t);},u.wh=function(){return(this.Db&1)==0;},u.Jh=function(){return o(Cn(this,128),2034);},u.Kh=function(){return o(Cn(this,16),29);},u.Oh=function(){return(this.Db&32)!=0;},u.Ph=function(){return o(Cn(this,2),54);},u.Vh=function(){return(this.Db&64)!=0;},u.$h=function(){throw O(new It);},u._h=function(){return o(Cn(this,64),288);},u.ci=function(n){o3(this,16,n);},u.di=function(n){o3(this,128,n);},u.ei=function(n){o3(this,64,n);},u.hi=function(){return ku(this);},u.Db=0,k(Mn,"MinimalEObjectImpl",119),y(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),u.oi=function(n){this.Cb=n;},u.Ph=function(){return this.Cb;},k(Mn,"MinimalEObjectImpl/Container",120),y(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),u.Lh=function(n,t,i){return Qre(this,n,t,i);},u.Uh=function(n,t,i){return Kce(this,n,t,i);},u.Wh=function(n){return zne(this,n);},u.bi=function(n,t){Die(this,n,t);},u.ii=function(){return Do(),Hdn;},u.ki=function(n){Tie(this,n);},u.nf=function(){return Ize(this);},u.gh=function(){return!this.o&&(this.o=new Vu((Do(),Dh),ld,this,0)),this.o;},u.of=function(n){return be(this,n);},u.pf=function(n){return sa(this,n);},u.qf=function(n,t){return yi(this,n,t);},k(dw,"EMapPropertyHolderImpl",2083),y(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},eM),u.Lh=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b;}return $I(this,n,t,i);},u.Wh=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0;}return LF(this,n);},u.bi=function(n,t){switch(n){case 0:GC(this,J(re(t)));return;case 1:UC(this,J(re(t)));return;}yK(this,n,t);},u.ii=function(){return Do(),Rdn;},u.ki=function(n){switch(n){case 0:GC(this,0);return;case 1:UC(this,0);return;}pK(this,n);},u.Ib=function(){var n;return this.Db&64?dl(this):(n=new $f(dl(this)),n.a+=" (x: ",w2(n,this.a),n.a+=", y: ",w2(n,this.b),n.a+=")",n.a);},u.a=0,u.b=0,k(dw,"ElkBendPointImpl",572),y(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),u.Lh=function(n,t,i){return ore(this,n,t,i);},u.Sh=function(n,t,i){return lK(this,n,t,i);},u.Uh=function(n,t,i){return VB(this,n,t,i);},u.Wh=function(n){return yie(this,n);},u.bi=function(n,t){pce(this,n,t);},u.ii=function(){return Do(),Fdn;},u.ki=function(n){Jie(this,n);},u.jh=function(){return this.k;},u.kh=function(){return nC(this);},u.Ib=function(){return vF(this);},u.k=null,k(dw,"ElkGraphElementImpl",739),y(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),u.Lh=function(n,t,i){return wre(this,n,t,i);},u.Wh=function(n){return yre(this,n);},u.bi=function(n,t){mce(this,n,t);},u.ii=function(){return Do(),Kdn;},u.ki=function(n){Mre(this,n);},u.lh=function(){return this.f;},u.mh=function(){return this.g;},u.nh=function(){return this.i;},u.oh=function(){return this.j;},u.ph=function(n,t){S2(this,n,t);},u.qh=function(n,t){ff(this,n,t);},u.rh=function(n){vu(this,n);},u.sh=function(n){yu(this,n);},u.Ib=function(){return bK(this);},u.f=0,u.g=0,u.i=0,u.j=0,k(dw,"ElkShapeImpl",740),y(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),u.Lh=function(n,t,i){return Gre(this,n,t,i);},u.Sh=function(n,t,i){return ace(this,n,t,i);},u.Uh=function(n,t,i){return hce(this,n,t,i);},u.Wh=function(n){return Lie(this,n);},u.bi=function(n,t){joe(this,n,t);},u.ii=function(){return Do(),Bdn;},u.ki=function(n){Fre(this,n);},u.hh=function(){return!this.d&&(this.d=new bn(or,this,8,5)),this.d;},u.ih=function(){return!this.e&&(this.e=new bn(or,this,7,4)),this.e;},k(dw,"ElkConnectableShapeImpl",741),y(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},eL),u.Ah=function(n){return uce(this,n);},u.Lh=function(n,t,i){switch(n){case 3:return r_(this);case 4:return!this.b&&(this.b=new bn(ct,this,4,7)),this.b;case 5:return!this.c&&(this.c=new bn(ct,this,5,8)),this.c;case 6:return!this.a&&(this.a=new he(Li,this,6,6)),this.a;case 7:return jn(),!this.b&&(this.b=new bn(ct,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new bn(ct,this,5,8)),this.c.i<=1));case 8:return jn(),!!kk(this);case 9:return jn(),!!Pb(this);case 10:return jn(),!this.b&&(this.b=new bn(ct,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new bn(ct,this,5,8)),this.c.i!=0);}return ore(this,n,t,i);},u.Sh=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?uce(this,i):this.Cb.Th(this,-1-r,null,i))),HZ(this,o(n,27),i);case 4:return!this.b&&(this.b=new bn(ct,this,4,7)),au(this.b,n,i);case 5:return!this.c&&(this.c=new bn(ct,this,5,8)),au(this.c,n,i);case 6:return!this.a&&(this.a=new he(Li,this,6,6)),au(this.a,n,i);}return lK(this,n,t,i);},u.Uh=function(n,t,i){switch(t){case 3:return HZ(this,null,i);case 4:return!this.b&&(this.b=new bn(ct,this,4,7)),bc(this.b,n,i);case 5:return!this.c&&(this.c=new bn(ct,this,5,8)),bc(this.c,n,i);case 6:return!this.a&&(this.a=new he(Li,this,6,6)),bc(this.a,n,i);}return VB(this,n,t,i);},u.Wh=function(n){switch(n){case 3:return!!r_(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new bn(ct,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new bn(ct,this,5,8)),this.c.i<=1));case 8:return kk(this);case 9:return Pb(this);case 10:return!this.b&&(this.b=new bn(ct,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new bn(ct,this,5,8)),this.c.i!=0);}return yie(this,n);},u.bi=function(n,t){switch(n){case 3:oP(this,o(t,27));return;case 4:!this.b&&(this.b=new bn(ct,this,4,7)),bt(this.b),!this.b&&(this.b=new bn(ct,this,4,7)),Zi(this.b,o(t,16));return;case 5:!this.c&&(this.c=new bn(ct,this,5,8)),bt(this.c),!this.c&&(this.c=new bn(ct,this,5,8)),Zi(this.c,o(t,16));return;case 6:!this.a&&(this.a=new he(Li,this,6,6)),bt(this.a),!this.a&&(this.a=new he(Li,this,6,6)),Zi(this.a,o(t,16));return;}pce(this,n,t);},u.ii=function(){return Do(),c2e;},u.ki=function(n){switch(n){case 3:oP(this,null);return;case 4:!this.b&&(this.b=new bn(ct,this,4,7)),bt(this.b);return;case 5:!this.c&&(this.c=new bn(ct,this,5,8)),bt(this.c);return;case 6:!this.a&&(this.a=new he(Li,this,6,6)),bt(this.a);return;}Jie(this,n);},u.Ib=function(){return mQe(this);},k(dw,"ElkEdgeImpl",326),y(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},nM),u.Ah=function(n){return ice(this,n);},u.Lh=function(n,t,i){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 hr(of,this,5)),this.a;case 6:return xRe(this);case 7:return t?KF(this):this.i;case 8:return t?FF(this):this.f;case 9:return!this.g&&(this.g=new bn(Li,this,9,10)),this.g;case 10:return!this.e&&(this.e=new bn(Li,this,10,9)),this.e;case 11:return this.d;}return Qre(this,n,t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?ice(this,i):this.Cb.Th(this,-1-c,null,i))),KZ(this,o(n,74),i);case 9:return!this.g&&(this.g=new bn(Li,this,9,10)),au(this.g,n,i);case 10:return!this.e&&(this.e=new bn(Li,this,10,9)),au(this.e,n,i);}return s=o(pn((r=o(Cn(this,16),29),r||(Do(),VA)),t),69),s.wk().zk(this,ku(this),t-tt((Do(),VA)),n,i);},u.Uh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new hr(of,this,5)),bc(this.a,n,i);case 6:return KZ(this,null,i);case 9:return!this.g&&(this.g=new bn(Li,this,9,10)),bc(this.g,n,i);case 10:return!this.e&&(this.e=new bn(Li,this,10,9)),bc(this.e,n,i);}return Kce(this,n,t,i);},u.Wh=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!xRe(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null;}return zne(this,n);},u.bi=function(n,t){switch(n){case 1:a4(this,J(re(t)));return;case 2:d4(this,J(re(t)));return;case 3:l4(this,J(re(t)));return;case 4:h4(this,J(re(t)));return;case 5:!this.a&&(this.a=new hr(of,this,5)),bt(this.a),!this.a&&(this.a=new hr(of,this,5)),Zi(this.a,o(t,16));return;case 6:pYe(this,o(t,74));return;case 7:QC(this,o(t,84));return;case 8:JC(this,o(t,84));return;case 9:!this.g&&(this.g=new bn(Li,this,9,10)),bt(this.g),!this.g&&(this.g=new bn(Li,this,9,10)),Zi(this.g,o(t,16));return;case 10:!this.e&&(this.e=new bn(Li,this,10,9)),bt(this.e),!this.e&&(this.e=new bn(Li,this,10,9)),Zi(this.e,o(t,16));return;case 11:sie(this,Nt(t));return;}Die(this,n,t);},u.ii=function(){return Do(),VA;},u.ki=function(n){switch(n){case 1:a4(this,0);return;case 2:d4(this,0);return;case 3:l4(this,0);return;case 4:h4(this,0);return;case 5:!this.a&&(this.a=new hr(of,this,5)),bt(this.a);return;case 6:pYe(this,null);return;case 7:QC(this,null);return;case 8:JC(this,null);return;case 9:!this.g&&(this.g=new bn(Li,this,9,10)),bt(this.g);return;case 10:!this.e&&(this.e=new bn(Li,this,10,9)),bt(this.e);return;case 11:sie(this,null);return;}Tie(this,n);},u.Ib=function(){return PXe(this);},u.b=0,u.c=0,u.d=null,u.j=0,u.k=0,k(dw,"ElkEdgeSectionImpl",452),y(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),u.Lh=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab):gf(this,n-tt(this.ii()),pn((r=o(Cn(this,16),29),r||this.ii()),n),t,i);},u.Sh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i)):(c=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),c.wk().zk(this,ku(this),t-tt(this.ii()),n,i));},u.Uh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i)):(c=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,ku(this),t-tt(this.ii()),n,i));},u.Wh=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:wf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.Zh=function(n){return Lue(this,n);},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;}yf(this,n-tt(this.ii()),pn((i=o(Cn(this,16),29),i||this.ii()),n),t);},u.di=function(n){o3(this,128,n);},u.ii=function(){return hn(),u0n;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;}vf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.pi=function(){this.Bb|=1;},u.qi=function(n){return xk(this,n);},u.Bb=0,k(Mn,"EModelElementImpl",158),y(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},RY),u.ri=function(n,t){return VQe(this,n,t);},u.si=function(n){var t,i,r,c,s;if(this.a!=Gs(n)||n.Bb&256){throw O(new In(EU+n.zb+Ub));}for(r=Zc(n);Ho(r.a).i!=0;){if(i=o(jS(r,0,(t=o(z(Ho(r.a),0),89),s=t.c,U(s,90)?o(s,29):(hn(),Zf))),29),Ib(i)){return c=Gs(i).wi().si(i),o(c,54).ci(n),c;}r=Zc(i);}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new lLe(n):new Iee(n);},u.ti=function(n,t){return Lb(this,n,t);},u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.a;}return gf(this,n-tt((hn(),y0)),pn((r=o(Cn(this,16),29),r||y0),n),t,i);},u.Sh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 1:return this.a&&(i=o(this.a,54).Th(this,4,Wl,i)),Yie(this,o(n,241),i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),y0)),t),69),c.wk().zk(this,ku(this),t-tt((hn(),y0)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 1:return Yie(this,null,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),y0)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),y0)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a;}return wf(this,n-tt((hn(),y0)),pn((t=o(Cn(this,16),29),t||y0),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:wWe(this,o(t,241));return;}yf(this,n-tt((hn(),y0)),pn((i=o(Cn(this,16),29),i||y0),n),t);},u.ii=function(){return hn(),y0;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:wWe(this,null);return;}vf(this,n-tt((hn(),y0)),pn((t=o(Cn(this,16),29),t||y0),n));};var p9,f2e,Udn;k(Mn,"EFactoryImpl",720),y(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},M9e),u.ri=function(n,t){switch(n.hk()){case 12:return o(t,149).Pg();case 13:return uo(t);default:throw O(new In(S6+n.xe()+Ub));}},u.si=function(n){var t,i,r,c,s,f,h,d;switch(n.G==-1&&(n.G=(t=Gs(n),t?V1(t.vi(),n):-1)),n.G){case 4:return s=new NY,s;case 6:return f=new D5,f;case 7:return h=new NJ,h;case 8:return r=new eL,r;case 9:return i=new eM,i;case 10:return c=new nM,c;case 11:return d=new x9e,d;default:throw O(new In(EU+n.zb+Ub));}},u.ti=function(n,t){switch(n.hk()){case 13:case 12:return null;default:throw O(new In(S6+n.xe()+Ub));}},k(dw,"ElkGraphFactoryImpl",1037),y(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),u.Gh=function(){var n,t;return t=(n=o(Cn(this,16),29),Nne(za(n||this.ii()))),t==null?(Y5(),Y5(),DW):new OAe(this,t);},u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.xe();}return gf(this,n-tt(this.ii()),pn((r=o(Cn(this,16),29),r||this.ii()),n),t,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;}return wf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:this.ui(Nt(t));return;}yf(this,n-tt(this.ii()),pn((i=o(Cn(this,16),29),i||this.ii()),n),t);},u.ii=function(){return hn(),s0n;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:this.ui(null);return;}vf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.xe=function(){return this.zb;},u.ui=function(n){lu(this,n);},u.Ib=function(){return tk(this);},u.zb=null,k(Mn,"ENamedElementImpl",448),y(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},oRe),u.Ah=function(n){return jVe(this,n);},u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,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 Dg(this,Xl,this)),this.rb;case 6:return!this.vb&&(this.vb=new $v(Wl,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?o(this.Cb,241):null:$Re(this);}return gf(this,n-tt((hn(),wd)),pn((r=o(Cn(this,16),29),r||wd),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 4:return this.sb&&(i=o(this.sb,54).Th(this,1,g9,i)),Zie(this,o(n,480),i);case 5:return!this.rb&&(this.rb=new Dg(this,Xl,this)),au(this.rb,n,i);case 6:return!this.vb&&(this.vb=new $v(Wl,this,6,7)),au(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?jVe(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,7,i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),wd)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),wd)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 4:return Zie(this,null,i);case 5:return!this.rb&&(this.rb=new Dg(this,Xl,this)),bc(this.rb,n,i);case 6:return!this.vb&&(this.vb=new $v(Wl,this,6,7)),bc(this.vb,n,i);case 7:return Js(this,null,7,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),wd)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),wd)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!$Re(this);}return wf(this,n-tt((hn(),wd)),pn((t=o(Cn(this,16),29),t||wd),n));},u.Zh=function(n){var t;return t=PBn(this,n),t||Lue(this,n);},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:lu(this,Nt(t));return;case 2:rI(this,Nt(t));return;case 3:iI(this,Nt(t));return;case 4:wK(this,o(t,480));return;case 5:!this.rb&&(this.rb=new Dg(this,Xl,this)),bt(this.rb),!this.rb&&(this.rb=new Dg(this,Xl,this)),Zi(this.rb,o(t,16));return;case 6:!this.vb&&(this.vb=new $v(Wl,this,6,7)),bt(this.vb),!this.vb&&(this.vb=new $v(Wl,this,6,7)),Zi(this.vb,o(t,16));return;}yf(this,n-tt((hn(),wd)),pn((i=o(Cn(this,16),29),i||wd),n),t);},u.ei=function(n){var t,i;if(n&&this.rb){for(i=new Hn(this.rb);i.e!=i.i.gc();){t=Wn(i),U(t,364)&&(o(t,364).w=null);}}o3(this,64,n);},u.ii=function(){return hn(),wd;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:lu(this,null);return;case 2:rI(this,null);return;case 3:iI(this,null);return;case 4:wK(this,null);return;case 5:!this.rb&&(this.rb=new Dg(this,Xl,this)),bt(this.rb);return;case 6:!this.vb&&(this.vb=new $v(Wl,this,6,7)),bt(this.vb);return;}vf(this,n-tt((hn(),wd)),pn((t=o(Cn(this,16),29),t||wd),n));},u.pi=function(){eK(this);},u.vi=function(){return!this.rb&&(this.rb=new Dg(this,Xl,this)),this.rb;},u.wi=function(){return this.sb;},u.xi=function(){return this.ub;},u.yi=function(){return this.xb;},u.zi=function(){return this.yb;},u.Ai=function(n){this.ub=n;},u.Ib=function(){var n;return this.Db&64?tk(this):(n=new $f(tk(this)),n.a+=" (nsURI: ",Lc(n,this.yb),n.a+=", nsPrefix: ",Lc(n,this.xb),n.a+=")",n.a);},u.xb=null,u.yb=null,k(Mn,"EPackageImpl",184),y(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},FXe),u.q=!1,u.r=!1;var Gdn=!1;k(dw,"ElkGraphPackageImpl",569),y(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},NY),u.Ah=function(n){return rce(this,n);},u.Lh=function(n,t,i){switch(n){case 7:return LRe(this);case 8:return this.a;}return wre(this,n,t,i);},u.Sh=function(n,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?rce(this,i):this.Cb.Th(this,-1-r,null,i))),Gee(this,o(n,167),i);}return lK(this,n,t,i);},u.Uh=function(n,t,i){return t==7?Gee(this,null,i):VB(this,n,t,i);},u.Wh=function(n){switch(n){case 7:return!!LRe(this);case 8:return!un("",this.a);}return yre(this,n);},u.bi=function(n,t){switch(n){case 7:Roe(this,o(t,167));return;case 8:iie(this,Nt(t));return;}mce(this,n,t);},u.ii=function(){return Do(),o2e;},u.ki=function(n){switch(n){case 7:Roe(this,null);return;case 8:iie(this,"");return;}Mre(this,n);},u.Ib=function(){return xWe(this);},u.a="",k(dw,"ElkLabelImpl",366),y(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},D5),u.Ah=function(n){return sce(this,n);},u.Lh=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new he(ws,this,9,9)),this.c;case 10:return!this.a&&(this.a=new he(ti,this,10,11)),this.a;case 11:return Bi(this);case 12:return!this.b&&(this.b=new he(or,this,12,3)),this.b;case 13:return jn(),!this.a&&(this.a=new he(ti,this,10,11)),this.a.i>0;}return Gre(this,n,t,i);},u.Sh=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new he(ws,this,9,9)),au(this.c,n,i);case 10:return!this.a&&(this.a=new he(ti,this,10,11)),au(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?sce(this,i):this.Cb.Th(this,-1-r,null,i))),QZ(this,o(n,27),i);case 12:return!this.b&&(this.b=new he(or,this,12,3)),au(this.b,n,i);}return ace(this,n,t,i);},u.Uh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new he(ws,this,9,9)),bc(this.c,n,i);case 10:return!this.a&&(this.a=new he(ti,this,10,11)),bc(this.a,n,i);case 11:return QZ(this,null,i);case 12:return!this.b&&(this.b=new he(or,this,12,3)),bc(this.b,n,i);}return hce(this,n,t,i);},u.Wh=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Bi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new he(ti,this,10,11)),this.a.i>0;}return Lie(this,n);},u.bi=function(n,t){switch(n){case 9:!this.c&&(this.c=new he(ws,this,9,9)),bt(this.c),!this.c&&(this.c=new he(ws,this,9,9)),Zi(this.c,o(t,16));return;case 10:!this.a&&(this.a=new he(ti,this,10,11)),bt(this.a),!this.a&&(this.a=new he(ti,this,10,11)),Zi(this.a,o(t,16));return;case 11:uP(this,o(t,27));return;case 12:!this.b&&(this.b=new he(or,this,12,3)),bt(this.b),!this.b&&(this.b=new he(or,this,12,3)),Zi(this.b,o(t,16));return;}joe(this,n,t);},u.ii=function(){return Do(),u2e;},u.ki=function(n){switch(n){case 9:!this.c&&(this.c=new he(ws,this,9,9)),bt(this.c);return;case 10:!this.a&&(this.a=new he(ti,this,10,11)),bt(this.a);return;case 11:uP(this,null);return;case 12:!this.b&&(this.b=new he(or,this,12,3)),bt(this.b);return;}Fre(this,n);},u.Ib=function(){return eue(this);},k(dw,"ElkNodeImpl",207),y(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},NJ),u.Ah=function(n){return cce(this,n);},u.Lh=function(n,t,i){return n==9?ia(this):Gre(this,n,t,i);},u.Sh=function(n,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?cce(this,i):this.Cb.Th(this,-1-r,null,i))),qZ(this,o(n,27),i);}return ace(this,n,t,i);},u.Uh=function(n,t,i){return t==9?qZ(this,null,i):hce(this,n,t,i);},u.Wh=function(n){return n==9?!!ia(this):Lie(this,n);},u.bi=function(n,t){switch(n){case 9:Aoe(this,o(t,27));return;}joe(this,n,t);},u.ii=function(){return Do(),s2e;},u.ki=function(n){switch(n){case 9:Aoe(this,null);return;}Fre(this,n);},u.Ib=function(){return gJe(this);},k(dw,"ElkPortImpl",193);var zdn=Vi(pc,"BasicEMap/Entry");y(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},x9e),u.Fb=function(n){return this===n;},u.ld=function(){return this.b;},u.Hb=function(){return nb(this);},u.Di=function(n){rie(this,o(n,149));},u.Lh=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c;}return $I(this,n,t,i);},u.Wh=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null;}return LF(this,n);},u.bi=function(n,t){switch(n){case 0:rie(this,o(t,149));return;case 1:tie(this,t);return;}yK(this,n,t);},u.ii=function(){return Do(),Dh;},u.ki=function(n){switch(n){case 0:rie(this,null);return;case 1:tie(this,null);return;}pK(this,n);},u.Bi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?xi(n):0),this.a;},u.md=function(){return this.c;},u.Ci=function(n){this.a=n;},u.nd=function(n){var t;return t=this.c,tie(this,n),t;},u.Ib=function(){var n;return this.Db&64?dl(this):(n=new Ed,qt(qt(qt(n,this.b?this.b.Pg():Au),bq),g8(this.c)),n.a);},u.a=-1,u.c=null;var ld=k(dw,"ElkPropertyToValueMapEntryImpl",1122);y(996,1,{},P9e),k(Qr,"JsonAdapter",996),y(216,63,l1,Na),k(Qr,"JsonImportException",216),y(868,1,{},TVe),k(Qr,"JsonImporter",868),y(903,1,{},ONe),k(Qr,"JsonImporter/lambda$0$Type",903),y(904,1,{},ANe),k(Qr,"JsonImporter/lambda$1$Type",904),y(912,1,{},ixe),k(Qr,"JsonImporter/lambda$10$Type",912),y(914,1,{},$Ne),k(Qr,"JsonImporter/lambda$11$Type",914),y(915,1,{},LNe),k(Qr,"JsonImporter/lambda$12$Type",915),y(921,1,{},WDe),k(Qr,"JsonImporter/lambda$13$Type",921),y(920,1,{},XDe),k(Qr,"JsonImporter/lambda$14$Type",920),y(916,1,{},DNe),k(Qr,"JsonImporter/lambda$15$Type",916),y(917,1,{},RNe),k(Qr,"JsonImporter/lambda$16$Type",917),y(918,1,{},BNe),k(Qr,"JsonImporter/lambda$17$Type",918),y(919,1,{},FNe),k(Qr,"JsonImporter/lambda$18$Type",919),y(924,1,{},rxe),k(Qr,"JsonImporter/lambda$19$Type",924),y(905,1,{},cxe),k(Qr,"JsonImporter/lambda$2$Type",905),y(922,1,{},oxe),k(Qr,"JsonImporter/lambda$20$Type",922),y(923,1,{},uxe),k(Qr,"JsonImporter/lambda$21$Type",923),y(927,1,{},sxe),k(Qr,"JsonImporter/lambda$22$Type",927),y(925,1,{},fxe),k(Qr,"JsonImporter/lambda$23$Type",925),y(926,1,{},lxe),k(Qr,"JsonImporter/lambda$24$Type",926),y(929,1,{},axe),k(Qr,"JsonImporter/lambda$25$Type",929),y(928,1,{},hxe),k(Qr,"JsonImporter/lambda$26$Type",928),y(930,1,Gn,KNe),u.Cd=function(n){Gjn(this.b,this.a,Nt(n));},k(Qr,"JsonImporter/lambda$27$Type",930),y(931,1,Gn,HNe),u.Cd=function(n){zjn(this.b,this.a,Nt(n));},k(Qr,"JsonImporter/lambda$28$Type",931),y(932,1,{},qNe),k(Qr,"JsonImporter/lambda$29$Type",932),y(908,1,{},dxe),k(Qr,"JsonImporter/lambda$3$Type",908),y(933,1,{},UNe),k(Qr,"JsonImporter/lambda$30$Type",933),y(934,1,{},wxe),k(Qr,"JsonImporter/lambda$31$Type",934),y(935,1,{},bxe),k(Qr,"JsonImporter/lambda$32$Type",935),y(936,1,{},gxe),k(Qr,"JsonImporter/lambda$33$Type",936),y(937,1,{},pxe),k(Qr,"JsonImporter/lambda$34$Type",937),y(870,1,{},mxe),k(Qr,"JsonImporter/lambda$35$Type",870),y(941,1,{},R$e),k(Qr,"JsonImporter/lambda$36$Type",941),y(938,1,Gn,vxe),u.Cd=function(n){JSn(this.a,o(n,377));},k(Qr,"JsonImporter/lambda$37$Type",938),y(939,1,Gn,GNe),u.Cd=function(n){Nyn(this.a,this.b,o(n,166));},k(Qr,"JsonImporter/lambda$38$Type",939),y(940,1,Gn,zNe),u.Cd=function(n){Oyn(this.a,this.b,o(n,166));},k(Qr,"JsonImporter/lambda$39$Type",940),y(906,1,{},yxe),k(Qr,"JsonImporter/lambda$4$Type",906),y(942,1,Gn,kxe),u.Cd=function(n){QSn(this.a,o(n,8));},k(Qr,"JsonImporter/lambda$40$Type",942),y(907,1,{},Exe),k(Qr,"JsonImporter/lambda$5$Type",907),y(911,1,{},_xe),k(Qr,"JsonImporter/lambda$6$Type",911),y(909,1,{},Sxe),k(Qr,"JsonImporter/lambda$7$Type",909),y(910,1,{},jxe),k(Qr,"JsonImporter/lambda$8$Type",910),y(913,1,{},Txe),k(Qr,"JsonImporter/lambda$9$Type",913),y(961,1,Gn,Mxe),u.Cd=function(n){qv(this.a,new Rg(Nt(n)));},k(Qr,"JsonMetaDataConverter/lambda$0$Type",961),y(962,1,Gn,xxe),u.Cd=function(n){q7n(this.a,o(n,245));},k(Qr,"JsonMetaDataConverter/lambda$1$Type",962),y(963,1,Gn,Cxe),u.Cd=function(n){HEn(this.a,o(n,143));},k(Qr,"JsonMetaDataConverter/lambda$2$Type",963),y(964,1,Gn,Ixe),u.Cd=function(n){U7n(this.a,o(n,170));},k(Qr,"JsonMetaDataConverter/lambda$3$Type",964),y(245,22,{3:1,34:1,22:1,245:1},Cv);var WA,XA,IW,YA,JA,QA,PW,NW,ZA=ht(FS,"GraphFeature",245,mt,MTn,gkn),Vdn;y(11,1,{34:1,149:1},ki,Gi,tn,qr),u.Fd=function(n){return R4n(this,o(n,149));},u.Fb=function(n){return mRe(this,n);},u.Sg=function(){return Ae(this);},u.Pg=function(){return this.b;},u.Hb=function(){return F1(this.b);},u.Ib=function(){return this.b;},k(FS,"Property",11),y(671,1,Dt,wL),u.Ne=function(n,t){return WCn(this,o(n,96),o(t,96));},u.Fb=function(n){return this===n;},u.Oe=function(){return new Tt(this);},k(FS,"PropertyHolderComparator",671),y(709,1,Rr,dJ),u.Nb=function(n){Xr(this,n);},u.Pb=function(){return Xjn(this);},u.Qb=function(){TIe();},u.Ob=function(){return!!this.a;},k(yN,"ElkGraphUtil/AncestorIterator",709);var l2e=Vi(pc,"EList");y(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),u.bd=function(n,t){rk(this,n,t);},u.Fc=function(n){return pt(this,n);},u.cd=function(n,t){return Mie(this,n,t);},u.Gc=function(n){return Zi(this,n);},u.Ii=function(){return new Av(this);},u.Ji=function(){return new $E(this);},u.Ki=function(n){return M_(this,n);},u.Li=function(){return!0;},u.Mi=function(n,t){},u.Ni=function(){},u.Oi=function(n,t){wB(this,n,t);},u.Pi=function(n,t,i){},u.Qi=function(n,t){},u.Ri=function(n,t,i){},u.Fb=function(n){return eJe(this,n);},u.Hb=function(){return _ie(this);},u.Si=function(){return!1;},u.Kc=function(){return new Hn(this);},u.ed=function(){return new Ov(this);},u.fd=function(n){var t;if(t=this.gc(),n<0||n>t){throw O(new $g(n,t));}return new vR(this,n);},u.Ui=function(n,t){this.Ti(n,this.dd(t));},u.Mc=function(n){return DC(this,n);},u.Wi=function(n,t){return t;},u.hd=function(n,t){return q2(this,n,t);},u.Ib=function(){return pre(this);},u.Yi=function(){return!0;},u.Zi=function(n,t){return M4(this,t);},k(pc,"AbstractEList",70),y(66,70,th,tM,mb,pie),u.Ei=function(n,t){return aK(this,n,t);},u.Fi=function(n){return Jze(this,n);},u.Gi=function(n,t){H_(this,n,t);},u.Hi=function(n){a_(this,n);},u.$i=function(n){return Pte(this,n);},u.$b=function(){F8(this);},u.Hc=function(n){return q4(this,n);},u.Xb=function(n){return z(this,n);},u._i=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.gd(t),!0):!1;},u.Xi=function(n,t){return this.Dj(n,this.Zi(n,t));},u.gc=function(){return this.Ej();},u.Pc=function(){return this.Fj();},u.Qc=function(n){return this.Gj(n);},u.Ib=function(){return this.Hj();},k(pc,"DelegatingEList",2093),y(2094,2093,gin),u.Ei=function(n,t){return hue(this,n,t);},u.Fi=function(n){return this.Ei(this.Ej(),n);},u.Gi=function(n,t){KXe(this,n,t);},u.Hi=function(n){CXe(this,n);},u.Li=function(){return!this.Mj();},u.$b=function(){Ak(this);},u.Ij=function(n,t,i,r,c){return new pRe(this,n,t,i,r,c);},u.Jj=function(n){ai(this.jj(),n);},u.Kj=function(){return null;},u.Lj=function(){return-1;},u.jj=function(){return null;},u.Mj=function(){return!1;},u.Nj=function(n,t){return t;},u.Oj=function(n,t){return t;},u.Pj=function(){return!1;},u.Qj=function(){return!this.Aj();},u.Ti=function(n,t){var i,r;return this.Pj()?(r=this.Qj(),i=Rce(this,n,t),this.Jj(this.Ij(7,je(t),i,n,r)),i):Rce(this,n,t);},u.gd=function(n){var t,i,r,c;return this.Pj()?(i=null,r=this.Qj(),t=this.Ij(4,c=$x(this,n),null,n,r),this.Mj()&&c?(i=this.Oj(c,i),i?(i.nj(t),i.oj()):this.Jj(t)):i?(i.nj(t),i.oj()):this.Jj(t),c):(c=$x(this,n),this.Mj()&&c&&(i=this.Oj(c,null),i&&i.oj()),c);},u.Xi=function(n,t){return WJe(this,n,t);},k(C3,"DelegatingNotifyingListImpl",2094),y(152,1,ij),u.nj=function(n){return _ce(this,n);},u.oj=function(){EB(this);},u.gj=function(){return this.d;},u.Kj=function(){return null;},u.Rj=function(){return null;},u.hj=function(n){return-1;},u.ij=function(){return $Ye(this);},u.jj=function(){return null;},u.kj=function(){return qoe(this);},u.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o;},u.Sj=function(){return!1;},u.mj=function(n){var t,i,r,c,s,f,h,d,b,m,E;switch(this.d){case 1:case 2:switch(c=n.gj(),c){case 1:case 2:if(s=n.jj(),Z(s)===Z(this.jj())&&this.hj(null)==n.hj(null)){return this.g=n.ij(),n.gj()==1&&(this.d=1),!0;}}case 4:{switch(c=n.gj(),c){case 4:{if(s=n.jj(),Z(s)===Z(this.jj())&&this.hj(null)==n.hj(null)){return b=Cue(this),d=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=n.lj(),this.d=6,E=new mb(2),d<=f?(pt(E,this.n),pt(E,n.kj()),this.g=R(L(vt,1),Gt,28,15,[this.o=d,f+1])):(pt(E,n.kj()),pt(E,this.n),this.g=R(L(vt,1),Gt,28,15,[this.o=f,d])),this.n=E,b||(this.o=-2-this.o-1),!0;}break;}}break;}case 6:{switch(c=n.gj(),c){case 4:{if(s=n.jj(),Z(s)===Z(this.jj())&&this.hj(null)==n.hj(null)){for(b=Cue(this),f=n.lj(),m=o(this.g,53),r=ce(vt,Gt,28,m.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break;}case 2:{r.a+="UNSET";break;}case 3:{r.a+="ADD";break;}case 5:{r.a+="ADD_MANY";break;}case 4:{r.a+="REMOVE";break;}case 6:{r.a+="REMOVE_MANY";break;}case 7:{r.a+="MOVE";break;}case 8:{r.a+="REMOVING_ADAPTER";break;}case 9:{r.a+="RESOLVE";break;}default:{RL(r,this.d);break;}}if(EJe(this)&&(r.a+=", touch: true"),r.a+=", position: ",RL(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",l8(r,this.jj()),r.a+=", feature: ",l8(r,this.Kj()),r.a+=", oldValue: ",l8(r,qoe(this)),r.a+=", newValue: ",this.d==6&&U(this.g,53)){for(i=o(this.g,53),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new E8(this),this.a=this.j),Ol(this.b,n)):q4(this,n);},u.Yi=function(){return!0;},u.a=0,k(pc,"AbstractEList/1",966),y(302,77,BH,$g),k(pc,"AbstractEList/BasicIndexOutOfBoundsException",302),y(37,1,Rr,Hn),u.Nb=function(n){Xr(this,n);},u.Xj=function(){if(this.i.j!=this.f){throw O(new sf);}},u.Yj=function(){return Wn(this);},u.Ob=function(){return this.e!=this.i.gc();},u.Pb=function(){return this.Yj();},u.Qb=function(){gk(this);},u.e=0,u.f=0,u.g=-1,k(pc,"AbstractEList/EIterator",37),y(286,37,Eh,Ov,vR),u.Qb=function(){gk(this);},u.Rb=function(n){XGe(this,n);},u.Zj=function(){var n;try{return n=this.d.Xb(--this.e),this.Xj(),this.g=this.e,n;}catch(t){throw t=Hi(t),U(t,77)?(this.Xj(),O(new ao)):O(t);}},u.$j=function(n){eVe(this,n);},u.Sb=function(){return this.e!=0;},u.Tb=function(){return this.e;},u.Ub=function(){return this.Zj();},u.Vb=function(){return this.e-1;},u.Wb=function(n){this.$j(n);},k(pc,"AbstractEList/EListIterator",286),y(355,37,Rr,Av),u.Yj=function(){return DF(this);},u.Qb=function(){throw O(new It);},k(pc,"AbstractEList/NonResolvingEIterator",355),y(398,286,Eh,$E,cee),u.Rb=function(n){throw O(new It);},u.Yj=function(){var n;try{return n=this.c.Vi(this.e),this.Xj(),this.g=this.e++,n;}catch(t){throw t=Hi(t),U(t,77)?(this.Xj(),O(new ao)):O(t);}},u.Zj=function(){var n;try{return n=this.c.Vi(--this.e),this.Xj(),this.g=this.e,n;}catch(t){throw t=Hi(t),U(t,77)?(this.Xj(),O(new ao)):O(t);}},u.Qb=function(){throw O(new It);},u.Wb=function(n){throw O(new It);},k(pc,"AbstractEList/NonResolvingEListIterator",398),y(2080,70,pin),u.Ei=function(n,t){var i,r,c,s,f,h,d,b,m,E,S;if(c=t.gc(),c!=0){for(b=o(Cn(this.a,4),129),m=b==null?0:b.length,S=m+c,r=oF(this,S),E=m-n,E>0&&Uo(b,n,r,n+c,E),d=t.Kc(),f=0;fi){throw O(new $g(n,i));}return new BDe(this,n);},u.$b=function(){var n,t;++this.j,n=o(Cn(this.a,4),129),t=n==null?0:n.length,B4(this,null),wB(this,t,n);},u.Hc=function(n){var t,i,r,c,s;if(t=o(Cn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,s=r.length;c=i){throw O(new $g(n,i));}return t[n];},u.dd=function(n){var t,i,r;if(t=o(Cn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;ii){throw O(new $g(n,i));}return new RDe(this,n);},u.Ti=function(n,t){var i,r,c;if(i=cze(this),c=i==null?0:i.length,n>=c){throw O(new Kc(PU+n+ww+c));}if(t>=c){throw O(new Kc(NU+t+ww+c));}return r=i[t],n!=t&&(n0&&Uo(n,0,t,0,i),t;},u.Qc=function(n){var t,i,r;return t=o(Cn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.lengthr&&Yi(n,r,null),n;};var Wdn;k(pc,"ArrayDelegatingEList",2080),y(1051,37,Rr,FFe),u.Xj=function(){if(this.b.j!=this.f||Z(o(Cn(this.b.a,4),129))!==Z(this.a)){throw O(new sf);}},u.Qb=function(){gk(this),this.a=o(Cn(this.b.a,4),129);},k(pc,"ArrayDelegatingEList/EIterator",1051),y(722,286,Eh,QLe,RDe),u.Xj=function(){if(this.b.j!=this.f||Z(o(Cn(this.b.a,4),129))!==Z(this.a)){throw O(new sf);}},u.$j=function(n){eVe(this,n),this.a=o(Cn(this.b.a,4),129);},u.Qb=function(){gk(this),this.a=o(Cn(this.b.a,4),129);},k(pc,"ArrayDelegatingEList/EListIterator",722),y(1052,355,Rr,KFe),u.Xj=function(){if(this.b.j!=this.f||Z(o(Cn(this.b.a,4),129))!==Z(this.a)){throw O(new sf);}},k(pc,"ArrayDelegatingEList/NonResolvingEIterator",1052),y(723,398,Eh,ZLe,BDe),u.Xj=function(){if(this.b.j!=this.f||Z(o(Cn(this.b.a,4),129))!==Z(this.a)){throw O(new sf);}},k(pc,"ArrayDelegatingEList/NonResolvingEListIterator",723),y(615,302,BH,SD),k(pc,"BasicEList/BasicIndexOutOfBoundsException",615),y(710,66,th,VQ),u.bd=function(n,t){throw O(new It);},u.Fc=function(n){throw O(new It);},u.cd=function(n,t){throw O(new It);},u.Gc=function(n){throw O(new It);},u.$b=function(){throw O(new It);},u._i=function(n){throw O(new It);},u.Kc=function(){return this.Ii();},u.ed=function(){return this.Ji();},u.fd=function(n){return this.Ki(n);},u.Ti=function(n,t){throw O(new It);},u.Ui=function(n,t){throw O(new It);},u.gd=function(n){throw O(new It);},u.Mc=function(n){throw O(new It);},u.hd=function(n,t){throw O(new It);},k(pc,"BasicEList/UnmodifiableEList",710),y(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),u.bd=function(n,t){T4n(this,n,o(t,44));},u.Fc=function(n){return v6n(this,o(n,44));},u.Jc=function(n){Jr(this,n);},u.Xb=function(n){return o(z(this.c,n),136);},u.Ti=function(n,t){return o(this.c.Ti(n,t),44);},u.Ui=function(n,t){M4n(this,n,o(t,44));},u.Lc=function(){return new rn(null,new ln(this,16));},u.gd=function(n){return o(this.c.gd(n),44);},u.hd=function(n,t){return H7n(this,n,o(t,44));},u.jd=function(n){W0(this,n);},u.Nc=function(){return new ln(this,16);},u.Oc=function(){return new rn(null,new ln(this,16));},u.cd=function(n,t){return this.c.cd(n,t);},u.Gc=function(n){return this.c.Gc(n);},u.$b=function(){this.c.$b();},u.Hc=function(n){return this.c.Hc(n);},u.Ic=function(n){return O_(this.c,n);},u._j=function(){var n,t,i;if(this.d==null){for(this.d=ce(a2e,yae,66,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();){n=o(t.Yj(),136),BI(this,n);}this.e=i;}},u.Fb=function(n){return T$e(this,n);},u.Hb=function(){return _ie(this.c);},u.dd=function(n){return this.c.dd(n);},u.ak=function(){this.c=new Pxe(this);},u.dc=function(){return this.f==0;},u.Kc=function(){return this.c.Kc();},u.ed=function(){return this.c.ed();},u.fd=function(n){return this.c.fd(n);},u.bk=function(){return w_(this);},u.ck=function(n,t,i){return new B$e(n,t,i);},u.dk=function(){return new $9e;},u.Mc=function(n){return hqe(this,n);},u.gc=function(){return this.f;},u.kd=function(n,t){return new A1(this.c,n,t);},u.Pc=function(){return this.c.Pc();},u.Qc=function(n){return this.c.Qc(n);},u.Ib=function(){return pre(this.c);},u.e=0,u.f=0,k(pc,"BasicEMap",721),y(1046,66,th,Pxe),u.Mi=function(n,t){r3n(this,o(t,136));},u.Pi=function(n,t,i){var r;++(r=this,o(t,136),r).a.e;},u.Qi=function(n,t){c3n(this,o(t,136));},u.Ri=function(n,t,i){r6n(this,o(t,136),o(i,136));},u.Oi=function(n,t){cUe(this.a);},k(pc,"BasicEMap/1",1046),y(1047,66,th,$9e),u.aj=function(n){return ce(zVn,min,621,n,0,1);},k(pc,"BasicEMap/2",1047),y(1048,ba,Yu,Nxe),u.$b=function(){this.a.c.$b();},u.Hc=function(n){return MF(this.a,n);},u.Kc=function(){return this.a.f==0?(Ky(),yT.a):new wIe(this.a);},u.Mc=function(n){var t;return t=this.a.f,MI(this.a,n),this.a.f!=t;},u.gc=function(){return this.a.f;},k(pc,"BasicEMap/3",1048),y(1049,31,hp,Oxe),u.$b=function(){this.a.c.$b();},u.Hc=function(n){return nJe(this.a,n);},u.Kc=function(){return this.a.f==0?(Ky(),yT.a):new bIe(this.a);},u.gc=function(){return this.a.f;},k(pc,"BasicEMap/4",1049),y(1050,ba,Yu,Axe),u.$b=function(){this.a.c.$b();},u.Hc=function(n){var t,i,r,c,s,f,h,d,b;if(this.a.f>0&&U(n,44)&&(this.a._j(),d=o(n,44),h=d.ld(),c=h==null?0:xi(h),s=UZ(this.a,c),t=this.a.d[s],t)){for(i=o(t.g,379),b=t.i,f=0;f"+this.c;},u.a=0;var zVn=k(pc,"BasicEMap/EntryImpl",621);y(546,1,{},iM),k(pc,"BasicEMap/View",546);var yT;y(783,1,{}),u.Fb=function(n){return Toe((dn(),mc),n);},u.Hb=function(){return $ie((dn(),mc));},u.Ib=function(){return Ud((dn(),mc));},k(pc,"ECollections/BasicEmptyUnmodifiableEList",783),y(1348,1,Eh,L9e),u.Nb=function(n){Xr(this,n);},u.Rb=function(n){throw O(new It);},u.Ob=function(){return!1;},u.Sb=function(){return!1;},u.Pb=function(){throw O(new ao);},u.Tb=function(){return 0;},u.Ub=function(){throw O(new ao);},u.Vb=function(){return-1;},u.Qb=function(){throw O(new It);},u.Wb=function(n){throw O(new It);},k(pc,"ECollections/BasicEmptyUnmodifiableEList/1",1348),y(1346,783,{20:1,16:1,15:1,61:1},SCe),u.bd=function(n,t){BIe();},u.Fc=function(n){return FIe();},u.cd=function(n,t){return KIe();},u.Gc=function(n){return HIe();},u.$b=function(){qIe();},u.Hc=function(n){return!1;},u.Ic=function(n){return!1;},u.Jc=function(n){Jr(this,n);},u.Xb=function(n){return YQ((dn(),n)),null;},u.dd=function(n){return-1;},u.dc=function(){return!0;},u.Kc=function(){return this.a;},u.ed=function(){return this.a;},u.fd=function(n){return this.a;},u.Ti=function(n,t){return UIe();},u.Ui=function(n,t){GIe();},u.Lc=function(){return new rn(null,new ln(this,16));},u.gd=function(n){return zIe();},u.Mc=function(n){return VIe();},u.hd=function(n,t){return WIe();},u.gc=function(){return 0;},u.jd=function(n){W0(this,n);},u.Nc=function(){return new ln(this,16);},u.Oc=function(){return new rn(null,new ln(this,16));},u.kd=function(n,t){return dn(),new A1(mc,n,t);},u.Pc=function(){return Vee((dn(),mc));},u.Qc=function(n){return dn(),hk(mc,n);},k(pc,"ECollections/EmptyUnmodifiableEList",1346),y(1347,783,{20:1,16:1,15:1,61:1,597:1},jCe),u.bd=function(n,t){BIe();},u.Fc=function(n){return FIe();},u.cd=function(n,t){return KIe();},u.Gc=function(n){return HIe();},u.$b=function(){qIe();},u.Hc=function(n){return!1;},u.Ic=function(n){return!1;},u.Jc=function(n){Jr(this,n);},u.Xb=function(n){return YQ((dn(),n)),null;},u.dd=function(n){return-1;},u.dc=function(){return!0;},u.Kc=function(){return this.a;},u.ed=function(){return this.a;},u.fd=function(n){return this.a;},u.Ti=function(n,t){return UIe();},u.Ui=function(n,t){GIe();},u.Lc=function(){return new rn(null,new ln(this,16));},u.gd=function(n){return zIe();},u.Mc=function(n){return VIe();},u.hd=function(n,t){return WIe();},u.gc=function(){return 0;},u.jd=function(n){W0(this,n);},u.Nc=function(){return new ln(this,16);},u.Oc=function(){return new rn(null,new ln(this,16));},u.kd=function(n,t){return dn(),new A1(mc,n,t);},u.Pc=function(){return Vee((dn(),mc));},u.Qc=function(n){return dn(),hk(mc,n);},u.bk=function(){return dn(),dn(),Ch;},k(pc,"ECollections/EmptyUnmodifiableEMap",1347);var d2e=Vi(pc,"Enumerator"),e$;y(288,1,{288:1},AK),u.Fb=function(n){var t;return this===n?!0:U(n,288)?(t=o(n,288),this.f==t.f&&r7n(this.i,t.i)&&uR(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&uR(this.d,t.d)&&uR(this.g,t.g)&&uR(this.e,t.e)&&xPn(this,t)):!1;},u.Hb=function(){return this.f;},u.Ib=function(){return AJe(this);},u.f=0;var Xdn=0,Ydn=0,Jdn=0,Qdn=0,w2e=0,b2e=0,g2e=0,p2e=0,m2e=0,Zdn,m9=0,v9=0,e0n=0,n0n=0,n$,v2e;k(pc,"URI",288),y(1121,45,rm,TCe),u.zc=function(n,t){return o(qc(this,Nt(n),o(t,288)),288);},k(pc,"URI/URICache",1121),y(506,66,th,I9e,Kx),u.Si=function(){return!0;},k(pc,"UniqueEList",506),y(590,63,l1,AC),k(pc,"WrappedException",590);var Vt=Vi(Tf,kin),Wp=Vi(Tf,Ein),Ru=Vi(Tf,_in),Xp=Vi(Tf,Sin),Xl=Vi(Tf,jin),Yf=Vi(Tf,"EClass"),$W=Vi(Tf,"EDataType"),t0n;y(1233,45,rm,MCe),u.xc=function(n){return Dr(n)?Xo(this,n):Jc(Mc(this.f,n));},k(Tf,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var t$=Vi(Tf,"EEnum"),v1=Vi(Tf,Tin),Ac=Vi(Tf,Min),Jf=Vi(Tf,xin),Qf,ag=Vi(Tf,Cin),Yp=Vi(Tf,Iin);y(1042,1,{},C9e),u.Ib=function(){return"NIL";},k(Tf,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var i0n;y(1041,45,rm,xCe),u.xc=function(n){return Dr(n)?Xo(this,n):Jc(Mc(this.f,n));},k(Tf,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var Mu=Vi(Tf,Pin),Q3=Vi(Tf,"EValidator/PatternMatcher"),y2e,k2e,Tn,ad,Jp,m0,r0n,c0n,o0n,v0,hd,y0,hg,xa,u0n,s0n,Zf,dd,f0n,wd,Qp,Wm,_c,l0n,a0n,dg,i$=Vi(Ri,"FeatureMap/Entry");y(545,1,{76:1},rx),u.Lk=function(){return this.a;},u.md=function(){return this.b;},k(Mn,"BasicEObjectImpl/1",545),y(1040,1,RU,YNe),u.Fk=function(n){return lB(this.a,this.b,n);},u.Qj=function(){return NRe(this.a,this.b);},u.Wb=function(n){$ne(this.a,this.b,n);},u.Gk=function(){n9n(this.a,this.b);},k(Mn,"BasicEObjectImpl/4",1040),y(2081,1,{114:1}),u.Mk=function(n){this.e=n==0?h0n:ce(Ir,vn,1,n,5,1);},u.li=function(n){return this.e[n];},u.mi=function(n,t){this.e[n]=t;},u.ni=function(n){this.e[n]=null;},u.Nk=function(){return this.c;},u.Ok=function(){throw O(new It);},u.Pk=function(){throw O(new It);},u.Qk=function(){return this.d;},u.Rk=function(){return this.e!=null;},u.Sk=function(n){this.c=n;},u.Tk=function(n){throw O(new It);},u.Uk=function(n){throw O(new It);},u.Vk=function(n){this.d=n;};var h0n;k(Mn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),y(192,2081,{114:1},Pl),u.Ok=function(){return this.a;},u.Pk=function(){return this.b;},u.Tk=function(n){this.a=n;},u.Uk=function(n){this.b=n;},k(Mn,"BasicEObjectImpl/EPropertiesHolderImpl",192),y(516,99,Ntn,rM),u.uh=function(){return this.f;},u.zh=function(){return this.k;},u.Bh=function(n,t){this.g=n,this.i=t;},u.Dh=function(){return this.j&2?this.$h().Nk():this.ii();},u.Fh=function(){return this.i;},u.wh=function(){return(this.j&1)!=0;},u.Ph=function(){return this.g;},u.Vh=function(){return(this.j&4)!=0;},u.$h=function(){return!this.k&&(this.k=new Pl),this.k;},u.ci=function(n){this.$h().Sk(n),n?this.j|=2:this.j&=-3;},u.ei=function(n){this.$h().Uk(n),n?this.j|=4:this.j&=-5;},u.ii=function(){return(Pd(),Tn).S;},u.i=0,u.j=1,k(Mn,"EObjectImpl",516),y(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},Iee),u.li=function(n){return this.e[n];},u.mi=function(n,t){this.e[n]=t;},u.ni=function(n){this.e[n]=null;},u.Dh=function(){return this.d;},u.Ih=function(n){return qi(this.d,n);},u.Kh=function(){return this.d;},u.Oh=function(){return this.e!=null;},u.$h=function(){return!this.k&&(this.k=new D9e),this.k;},u.ci=function(n){this.d=n;},u.hi=function(){var n;return this.e==null&&(n=tt(this.d),this.e=n==0?d0n:ce(Ir,vn,1,n,5,1)),this;},u.ji=function(){return 0;};var d0n;k(Mn,"DynamicEObjectImpl",798),y(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},lLe),u.Fb=function(n){return this===n;},u.Hb=function(){return nb(this);},u.ci=function(n){this.d=n,this.b=bS(n,"key"),this.c=bS(n,i7);},u.Bi=function(){var n;return this.a==-1&&(n=_B(this,this.b),this.a=n==null?0:xi(n)),this.a;},u.ld=function(){return _B(this,this.b);},u.md=function(){return _B(this,this.c);},u.Ci=function(n){this.a=n;},u.Di=function(n){$ne(this,this.b,n);},u.nd=function(n){var t;return t=_B(this,this.c),$ne(this,this.c,n),t;},u.a=0,k(Mn,"DynamicEObjectImpl/BasicEMapEntry",1522),y(1523,1,{114:1},D9e),u.Mk=function(n){throw O(new It);},u.li=function(n){throw O(new It);},u.mi=function(n,t){throw O(new It);},u.ni=function(n){throw O(new It);},u.Nk=function(){throw O(new It);},u.Ok=function(){return this.a;},u.Pk=function(){return this.b;},u.Qk=function(){return this.c;},u.Rk=function(){throw O(new It);},u.Sk=function(n){throw O(new It);},u.Tk=function(n){this.a=n;},u.Uk=function(n){this.b=n;},u.Vk=function(n){this.c=n;},k(Mn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),y(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},OY),u.Ah=function(n){return oce(this,n);},u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new As((hn(),_c),Io,this)),this.b):(!this.b&&(this.b=new As((hn(),_c),Io,this)),w_(this.b));case 3:return DRe(this);case 4:return!this.a&&(this.a=new hr(g0,this,4)),this.a;case 5:return!this.c&&(this.c=new M2(g0,this,5)),this.c;}return gf(this,n-tt((hn(),ad)),pn((r=o(Cn(this,16),29),r||ad),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?oce(this,i):this.Cb.Th(this,-1-c,null,i))),zee(this,o(n,155),i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),ad)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),ad)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 2:return!this.b&&(this.b=new As((hn(),_c),Io,this)),_x(this.b,n,i);case 3:return zee(this,null,i);case 4:return!this.a&&(this.a=new hr(g0,this,4)),bc(this.a,n,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),ad)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),ad)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!DRe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0;}return wf(this,n-tt((hn(),ad)),pn((t=o(Cn(this,16),29),t||ad),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:Gkn(this,Nt(t));return;case 2:!this.b&&(this.b=new As((hn(),_c),Io,this)),cI(this.b,t);return;case 3:EYe(this,o(t,155));return;case 4:!this.a&&(this.a=new hr(g0,this,4)),bt(this.a),!this.a&&(this.a=new hr(g0,this,4)),Zi(this.a,o(t,16));return;case 5:!this.c&&(this.c=new M2(g0,this,5)),bt(this.c),!this.c&&(this.c=new M2(g0,this,5)),Zi(this.c,o(t,16));return;}yf(this,n-tt((hn(),ad)),pn((i=o(Cn(this,16),29),i||ad),n),t);},u.ii=function(){return hn(),ad;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:uie(this,null);return;case 2:!this.b&&(this.b=new As((hn(),_c),Io,this)),this.b.c.$b();return;case 3:EYe(this,null);return;case 4:!this.a&&(this.a=new hr(g0,this,4)),bt(this.a);return;case 5:!this.c&&(this.c=new M2(g0,this,5)),bt(this.c);return;}vf(this,n-tt((hn(),ad)),pn((t=o(Cn(this,16),29),t||ad),n));},u.Ib=function(){return TGe(this);},u.d=null,k(Mn,"EAnnotationImpl",519),y(141,721,kae,Vu),u.Gi=function(n,t){f4n(this,n,o(t,44));},u.Wk=function(n,t){return a5n(this,o(n,44),t);},u.$i=function(n){return o(o(this.c,71).$i(n),136);},u.Ii=function(){return o(this.c,71).Ii();},u.Ji=function(){return o(this.c,71).Ji();},u.Ki=function(n){return o(this.c,71).Ki(n);},u.Xk=function(n,t){return _x(this,n,t);},u.Fk=function(n){return o(this.c,79).Fk(n);},u.ak=function(){},u.Qj=function(){return o(this.c,79).Qj();},u.ck=function(n,t,i){var r;return r=o(Gs(this.b).wi().si(this.b),136),r.Ci(n),r.Di(t),r.nd(i),r;},u.dk=function(){return new bJ(this);},u.Wb=function(n){cI(this,n);},u.Gk=function(){o(this.c,79).Gk();},k(Ri,"EcoreEMap",141),y(165,141,kae,As),u._j=function(){var n,t,i,r,c,s;if(this.d==null){for(s=ce(a2e,yae,66,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();){t=o(i.Yj(),136),r=t.Bi(),c=(r&fi)%s.length,n=s[c],!n&&(n=s[c]=new bJ(this)),n.Fc(t);}this.d=s;}},k(Mn,"EAnnotationImpl/1",165),y(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),u.Lh=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return jn(),!!(this.Bb&256);case 3:return jn(),!!(this.Bb&512);case 4:return je(this.s);case 5:return je(this.t);case 6:return jn(),!!this.Jk();case 7:return jn(),c=this.s,c>=1;case 8:return t?Bf(this):this.r;case 9:return this.q;}return gf(this,n-tt(this.ii()),pn((r=o(Cn(this,16),29),r||this.ii()),n),t,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 9:return ER(this,i);}return c=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,ku(this),t-tt(this.ii()),n,i);},u.Wh=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&fb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fb(this.q).i==0);}return wf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.bi=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:this.ui(Nt(t));return;case 2:q1(this,De(Le(t)));return;case 3:U1(this,De(Le(t)));return;case 4:B1(this,o(t,17).a);return;case 5:this.Zk(o(t,17).a);return;case 8:ew(this,o(t,142));return;case 9:r=da(this,o(t,89),null),r&&r.oj();return;}yf(this,n-tt(this.ii()),pn((i=o(Cn(this,16),29),i||this.ii()),n),t);},u.ii=function(){return hn(),a0n;},u.ki=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:this.ui(null);return;case 2:q1(this,!0);return;case 3:U1(this,!0);return;case 4:B1(this,0);return;case 5:this.Zk(1);return;case 8:ew(this,null);return;case 9:i=da(this,null,null),i&&i.oj();return;}vf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.pi=function(){Bf(this),this.Bb|=1;},u.Hk=function(){return Bf(this);},u.Ik=function(){return this.t;},u.Jk=function(){var n;return n=this.t,n>1||n==-1;},u.Si=function(){return(this.Bb&512)!=0;},u.Yk=function(n,t){return ere(this,n,t);},u.Zk=function(n){Wg(this,n);},u.Ib=function(){return poe(this);},u.s=0,u.t=1,k(Mn,"ETypedElementImpl",292),y(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),u.Ah=function(n){return bVe(this,n);},u.Lh=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return jn(),!!(this.Bb&256);case 3:return jn(),!!(this.Bb&512);case 4:return je(this.s);case 5:return je(this.t);case 6:return jn(),!!this.Jk();case 7:return jn(),c=this.s,c>=1;case 8:return t?Bf(this):this.r;case 9:return this.q;case 10:return jn(),!!(this.Bb&gl);case 11:return jn(),!!(this.Bb&kp);case 12:return jn(),!!(this.Bb&wp);case 13:return this.j;case 14:return X4(this);case 15:return jn(),!!(this.Bb&Qu);case 16:return jn(),!!(this.Bb&Va);case 17:return Fg(this);}return gf(this,n-tt(this.ii()),pn((r=o(Cn(this,16),29),r||this.ii()),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?bVe(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,17,i);}return s=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),s.wk().zk(this,ku(this),t-tt(this.ii()),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 9:return ER(this,i);case 17:return Js(this,null,17,i);}return c=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,ku(this),t-tt(this.ii()),n,i);},u.Wh=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&fb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fb(this.q).i==0);case 10:return(this.Bb&gl)==0;case 11:return(this.Bb&kp)!=0;case 12:return(this.Bb&wp)!=0;case 13:return this.j!=null;case 14:return X4(this)!=null;case 15:return(this.Bb&Qu)!=0;case 16:return(this.Bb&Va)!=0;case 17:return!!Fg(this);}return wf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.bi=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:XR(this,Nt(t));return;case 2:q1(this,De(Le(t)));return;case 3:U1(this,De(Le(t)));return;case 4:B1(this,o(t,17).a);return;case 5:this.Zk(o(t,17).a);return;case 8:ew(this,o(t,142));return;case 9:r=da(this,o(t,89),null),r&&r.oj();return;case 10:N4(this,De(Le(t)));return;case 11:$4(this,De(Le(t)));return;case 12:O4(this,De(Le(t)));return;case 13:zQ(this,Nt(t));return;case 15:A4(this,De(Le(t)));return;case 16:L4(this,De(Le(t)));return;}yf(this,n-tt(this.ii()),pn((i=o(Cn(this,16),29),i||this.ii()),n),t);},u.ii=function(){return hn(),l0n;},u.ki=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:U(this.Cb,90)&&cp(ps(o(this.Cb,90)),4),lu(this,null);return;case 2:q1(this,!0);return;case 3:U1(this,!0);return;case 4:B1(this,0);return;case 5:this.Zk(1);return;case 8:ew(this,null);return;case 9:i=da(this,null,null),i&&i.oj();return;case 10:N4(this,!0);return;case 11:$4(this,!1);return;case 12:O4(this,!1);return;case 13:this.i=null,ZC(this,null);return;case 15:A4(this,!1);return;case 16:L4(this,!1);return;}vf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.pi=function(){Qy(Uc((Xu(),ec),this)),Bf(this),this.Bb|=1;},u.pk=function(){return this.f;},u.ik=function(){return X4(this);},u.qk=function(){return Fg(this);},u.uk=function(){return null;},u.$k=function(){return this.k;},u.Lj=function(){return this.n;},u.vk=function(){return VI(this);},u.wk=function(){var n,t,i,r,c,s,f,h,d;return this.p||(i=Fg(this),(i.i==null&&za(i),i.i).length,r=this.uk(),r&&tt(Fg(r)),c=Bf(this),f=c.kk(),n=f?f.i&1?f==Ts?rr:f==vt?Zr:f==e2?P6:f==Br?mr:f==E0?zb:f==Qm?Vb:f==es?I3:w7:f:null,t=X4(this),h=c.ik(),cIn(this),this.Bb&Va&&((s=dce((Xu(),ec),i))&&s!=this||(s=Wv(Uc(ec,this))))?this.p=new QNe(this,s):this.Jk()?this.al()?r?this.Bb&Qu?n?this.bl()?this.p=new K0(47,n,this,r):this.p=new K0(5,n,this,r):this.bl()?this.p=new z0(46,this,r):this.p=new z0(4,this,r):n?this.bl()?this.p=new K0(49,n,this,r):this.p=new K0(7,n,this,r):this.bl()?this.p=new z0(48,this,r):this.p=new z0(6,this,r):this.Bb&Qu?n?n==pw?this.p=new P1(50,zdn,this):this.bl()?this.p=new P1(43,n,this):this.p=new P1(1,n,this):this.bl()?this.p=new O1(42,this):this.p=new O1(0,this):n?n==pw?this.p=new P1(41,zdn,this):this.bl()?this.p=new P1(45,n,this):this.p=new P1(3,n,this):this.bl()?this.p=new O1(44,this):this.p=new O1(2,this):U(c,156)?n==i$?this.p=new O1(40,this):this.Bb&512?this.Bb&Qu?n?this.p=new P1(9,n,this):this.p=new O1(8,this):n?this.p=new P1(11,n,this):this.p=new O1(10,this):this.Bb&Qu?n?this.p=new P1(13,n,this):this.p=new O1(12,this):n?this.p=new P1(15,n,this):this.p=new O1(14,this):r?(d=r.t,d>1||d==-1?this.bl()?this.Bb&Qu?n?this.p=new K0(25,n,this,r):this.p=new z0(24,this,r):n?this.p=new K0(27,n,this,r):this.p=new z0(26,this,r):this.Bb&Qu?n?this.p=new K0(29,n,this,r):this.p=new z0(28,this,r):n?this.p=new K0(31,n,this,r):this.p=new z0(30,this,r):this.bl()?this.Bb&Qu?n?this.p=new K0(33,n,this,r):this.p=new z0(32,this,r):n?this.p=new K0(35,n,this,r):this.p=new z0(34,this,r):this.Bb&Qu?n?this.p=new K0(37,n,this,r):this.p=new z0(36,this,r):n?this.p=new K0(39,n,this,r):this.p=new z0(38,this,r)):this.bl()?this.Bb&Qu?n?this.p=new P1(17,n,this):this.p=new O1(16,this):n?this.p=new P1(19,n,this):this.p=new O1(18,this):this.Bb&Qu?n?this.p=new P1(21,n,this):this.p=new O1(20,this):n?this.p=new P1(23,n,this):this.p=new O1(22,this):this._k()?this.bl()?this.p=new F$e(o(c,29),this,r):this.p=new One(o(c,29),this,r):U(c,156)?n==i$?this.p=new O1(40,this):this.Bb&Qu?n?this.p=new BLe(t,h,this,(xF(),f==vt?x2e:f==Ts?_2e:f==E0?C2e:f==e2?M2e:f==Br?T2e:f==Qm?I2e:f==es?S2e:f==Of?j2e:RW)):this.p=new QDe(o(c,156),t,h,this):n?this.p=new RLe(t,h,this,(xF(),f==vt?x2e:f==Ts?_2e:f==E0?C2e:f==e2?M2e:f==Br?T2e:f==Qm?I2e:f==es?S2e:f==Of?j2e:RW)):this.p=new JDe(o(c,156),t,h,this):this.al()?r?this.Bb&Qu?this.bl()?this.p=new H$e(o(c,29),this,r):this.p=new mee(o(c,29),this,r):this.bl()?this.p=new K$e(o(c,29),this,r):this.p=new eR(o(c,29),this,r):this.Bb&Qu?this.bl()?this.p=new RAe(o(c,29),this):this.p=new NZ(o(c,29),this):this.bl()?this.p=new DAe(o(c,29),this):this.p=new KD(o(c,29),this):this.bl()?r?this.Bb&Qu?this.p=new q$e(o(c,29),this,r):this.p=new gee(o(c,29),this,r):this.Bb&Qu?this.p=new BAe(o(c,29),this):this.p=new OZ(o(c,29),this):r?this.Bb&Qu?this.p=new U$e(o(c,29),this,r):this.p=new pee(o(c,29),this,r):this.Bb&Qu?this.p=new FAe(o(c,29),this):this.p=new Fx(o(c,29),this)),this.p;},u.rk=function(){return(this.Bb&gl)!=0;},u._k=function(){return!1;},u.al=function(){return!1;},u.sk=function(){return(this.Bb&Va)!=0;},u.xk=function(){return SB(this);},u.bl=function(){return!1;},u.tk=function(){return(this.Bb&Qu)!=0;},u.cl=function(n){this.k=n;},u.ui=function(n){XR(this,n);},u.Ib=function(){return wP(this);},u.e=!1,u.n=0,k(Mn,"EStructuralFeatureImpl",462),y(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},kL),u.Lh=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return jn(),!!(this.Bb&256);case 3:return jn(),!!(this.Bb&512);case 4:return je(this.s);case 5:return je(this.t);case 6:return jn(),!!aoe(this);case 7:return jn(),c=this.s,c>=1;case 8:return t?Bf(this):this.r;case 9:return this.q;case 10:return jn(),!!(this.Bb&gl);case 11:return jn(),!!(this.Bb&kp);case 12:return jn(),!!(this.Bb&wp);case 13:return this.j;case 14:return X4(this);case 15:return jn(),!!(this.Bb&Qu);case 16:return jn(),!!(this.Bb&Va);case 17:return Fg(this);case 18:return jn(),!!(this.Bb&Oo);case 19:return t?WB(this):nKe(this);}return gf(this,n-tt((hn(),Jp)),pn((r=o(Cn(this,16),29),r||Jp),n),t,i);},u.Wh=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return aoe(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&fb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fb(this.q).i==0);case 10:return(this.Bb&gl)==0;case 11:return(this.Bb&kp)!=0;case 12:return(this.Bb&wp)!=0;case 13:return this.j!=null;case 14:return X4(this)!=null;case 15:return(this.Bb&Qu)!=0;case 16:return(this.Bb&Va)!=0;case 17:return!!Fg(this);case 18:return(this.Bb&Oo)!=0;case 19:return!!nKe(this);}return wf(this,n-tt((hn(),Jp)),pn((t=o(Cn(this,16),29),t||Jp),n));},u.bi=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:XR(this,Nt(t));return;case 2:q1(this,De(Le(t)));return;case 3:U1(this,De(Le(t)));return;case 4:B1(this,o(t,17).a);return;case 5:mIe(this,o(t,17).a);return;case 8:ew(this,o(t,142));return;case 9:r=da(this,o(t,89),null),r&&r.oj();return;case 10:N4(this,De(Le(t)));return;case 11:$4(this,De(Le(t)));return;case 12:O4(this,De(Le(t)));return;case 13:zQ(this,Nt(t));return;case 15:A4(this,De(Le(t)));return;case 16:L4(this,De(Le(t)));return;case 18:yF(this,De(Le(t)));return;}yf(this,n-tt((hn(),Jp)),pn((i=o(Cn(this,16),29),i||Jp),n),t);},u.ii=function(){return hn(),Jp;},u.ki=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:U(this.Cb,90)&&cp(ps(o(this.Cb,90)),4),lu(this,null);return;case 2:q1(this,!0);return;case 3:U1(this,!0);return;case 4:B1(this,0);return;case 5:this.b=0,Wg(this,1);return;case 8:ew(this,null);return;case 9:i=da(this,null,null),i&&i.oj();return;case 10:N4(this,!0);return;case 11:$4(this,!1);return;case 12:O4(this,!1);return;case 13:this.i=null,ZC(this,null);return;case 15:A4(this,!1);return;case 16:L4(this,!1);return;case 18:yF(this,!1);return;}vf(this,n-tt((hn(),Jp)),pn((t=o(Cn(this,16),29),t||Jp),n));},u.pi=function(){WB(this),Qy(Uc((Xu(),ec),this)),Bf(this),this.Bb|=1;},u.Jk=function(){return aoe(this);},u.Yk=function(n,t){return this.b=0,this.a=null,ere(this,n,t);},u.Zk=function(n){mIe(this,n);},u.Ib=function(){var n;return this.Db&64?wP(this):(n=new $f(wP(this)),n.a+=" (iD: ",M1(n,(this.Bb&Oo)!=0),n.a+=")",n.a);},u.b=0,k(Mn,"EAttributeImpl",331),y(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),u.dl=function(n){return n.Dh()==this;},u.Ah=function(n){return ZF(this,n);},u.Bh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n;},u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ib(this);case 4:return this.ik();case 5:return this.F;case 6:return t?Gs(this):n4(this);case 7:return!this.A&&(this.A=new qu(Mu,this,7)),this.A;}return gf(this,n-tt(this.ii()),pn((r=o(Cn(this,16),29),r||this.ii()),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?ZF(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,6,i);}return s=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),s.wk().zk(this,ku(this),t-tt(this.ii()),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 6:return Js(this,null,6,i);case 7:return!this.A&&(this.A=new qu(Mu,this,7)),bc(this.A,n,i);}return c=o(pn((r=o(Cn(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,ku(this),t-tt(this.ii()),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ib(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!n4(this);case 7:return!!this.A&&this.A.i!=0;}return wf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:bC(this,Nt(t));return;case 2:MD(this,Nt(t));return;case 5:t6(this,Nt(t));return;case 7:!this.A&&(this.A=new qu(Mu,this,7)),bt(this.A),!this.A&&(this.A=new qu(Mu,this,7)),Zi(this.A,o(t,16));return;}yf(this,n-tt(this.ii()),pn((i=o(Cn(this,16),29),i||this.ii()),n),t);},u.ii=function(){return hn(),r0n;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:U(this.Cb,184)&&(o(this.Cb,184).tb=null),lu(this,null);return;case 2:C4(this,null),w4(this,this.D);return;case 5:t6(this,null);return;case 7:!this.A&&(this.A=new qu(Mu,this,7)),bt(this.A);return;}vf(this,n-tt(this.ii()),pn((t=o(Cn(this,16),29),t||this.ii()),n));},u.hk=function(){var n;return this.G==-1&&(this.G=(n=Gs(this),n?V1(n.vi(),this):-1)),this.G;},u.ik=function(){return null;},u.jk=function(){return Gs(this);},u.el=function(){return this.v;},u.kk=function(){return Ib(this);},u.lk=function(){return this.D!=null?this.D:this.B;},u.mk=function(){return this.F;},u.fk=function(n){return qK(this,n);},u.fl=function(n){this.v=n;},u.gl=function(n){Bqe(this,n);},u.hl=function(n){this.C=n;},u.ui=function(n){bC(this,n);},u.Ib=function(){return _I(this);},u.C=null,u.D=null,u.G=-1,k(Mn,"EClassifierImpl",364),y(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},DY),u.dl=function(n){return W6n(this,n.Dh());},u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ib(this);case 4:return null;case 5:return this.F;case 6:return t?Gs(this):n4(this);case 7:return!this.A&&(this.A=new qu(Mu,this,7)),this.A;case 8:return jn(),!!(this.Bb&256);case 9:return jn(),!!(this.Bb&512);case 10:return Zc(this);case 11:return!this.q&&(this.q=new he(Jf,this,11,10)),this.q;case 12:return em(this);case 13:return Pk(this);case 14:return Pk(this),this.r;case 15:return em(this),this.k;case 16:return eoe(this);case 17:return VK(this);case 18:return za(this);case 19:return cP(this);case 20:return em(this),this.o;case 21:return!this.s&&(this.s=new he(Ru,this,21,17)),this.s;case 22:return Ho(this);case 23:return OK(this);}return gf(this,n-tt((hn(),m0)),pn((r=o(Cn(this,16),29),r||m0),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?ZF(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,6,i);case 11:return!this.q&&(this.q=new he(Jf,this,11,10)),au(this.q,n,i);case 21:return!this.s&&(this.s=new he(Ru,this,21,17)),au(this.s,n,i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),m0)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),m0)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 6:return Js(this,null,6,i);case 7:return!this.A&&(this.A=new qu(Mu,this,7)),bc(this.A,n,i);case 11:return!this.q&&(this.q=new he(Jf,this,11,10)),bc(this.q,n,i);case 21:return!this.s&&(this.s=new he(Ru,this,21,17)),bc(this.s,n,i);case 22:return bc(Ho(this),n,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),m0)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),m0)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ib(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!n4(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Ho(this.u.a).i!=0&&!(this.n&&HF(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return em(this).i!=0;case 13:return Pk(this).i!=0;case 14:return Pk(this),this.r.i!=0;case 15:return em(this),this.k.i!=0;case 16:return eoe(this).i!=0;case 17:return VK(this).i!=0;case 18:return za(this).i!=0;case 19:return cP(this).i!=0;case 20:return em(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&HF(this.n);case 23:return OK(this).i!=0;}return wf(this,n-tt((hn(),m0)),pn((t=o(Cn(this,16),29),t||m0),n));},u.Zh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:bS(this,n),t||Lue(this,n);},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:bC(this,Nt(t));return;case 2:MD(this,Nt(t));return;case 5:t6(this,Nt(t));return;case 7:!this.A&&(this.A=new qu(Mu,this,7)),bt(this.A),!this.A&&(this.A=new qu(Mu,this,7)),Zi(this.A,o(t,16));return;case 8:nre(this,De(Le(t)));return;case 9:tre(this,De(Le(t)));return;case 10:Ak(Zc(this)),Zi(Zc(this),o(t,16));return;case 11:!this.q&&(this.q=new he(Jf,this,11,10)),bt(this.q),!this.q&&(this.q=new he(Jf,this,11,10)),Zi(this.q,o(t,16));return;case 21:!this.s&&(this.s=new he(Ru,this,21,17)),bt(this.s),!this.s&&(this.s=new he(Ru,this,21,17)),Zi(this.s,o(t,16));return;case 22:bt(Ho(this)),Zi(Ho(this),o(t,16));return;}yf(this,n-tt((hn(),m0)),pn((i=o(Cn(this,16),29),i||m0),n),t);},u.ii=function(){return hn(),m0;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:U(this.Cb,184)&&(o(this.Cb,184).tb=null),lu(this,null);return;case 2:C4(this,null),w4(this,this.D);return;case 5:t6(this,null);return;case 7:!this.A&&(this.A=new qu(Mu,this,7)),bt(this.A);return;case 8:nre(this,!1);return;case 9:tre(this,!1);return;case 10:this.u&&Ak(this.u);return;case 11:!this.q&&(this.q=new he(Jf,this,11,10)),bt(this.q);return;case 21:!this.s&&(this.s=new he(Ru,this,21,17)),bt(this.s);return;case 22:this.n&&bt(this.n);return;}vf(this,n-tt((hn(),m0)),pn((t=o(Cn(this,16),29),t||m0),n));},u.pi=function(){var n,t;if(em(this),Pk(this),eoe(this),VK(this),za(this),cP(this),OK(this),F8(ykn(ps(this))),this.s){for(n=0,t=this.s.i;n=0;--t){z(this,t);}}return Tre(this,n);},u.Gk=function(){bt(this);},u.Zi=function(n,t){return uqe(this,n,t);},k(Ri,"EcoreEList",632),y(505,632,so,VE),u.Li=function(){return!1;},u.Lj=function(){return this.c;},u.Mj=function(){return!1;},u.ol=function(){return!0;},u.Si=function(){return!0;},u.Wi=function(n,t){return t;},u.Yi=function(){return!1;},u.c=0,k(Ri,"EObjectEList",505),y(83,505,so,hr),u.Mj=function(){return!0;},u.ml=function(){return!1;},u.al=function(){return!0;},k(Ri,"EObjectContainmentEList",83),y(555,83,so,wx),u.Ni=function(){this.b=!0;},u.Qj=function(){return this.b;},u.Gk=function(){var n;bt(this),Ns(this.e)?(n=this.b,this.b=!1,ai(this.e,new ll(this.e,2,this.c,n,!1))):this.b=!1;},u.b=!1,k(Ri,"EObjectContainmentEList/Unsettable",555),y(1161,555,so,LLe),u.Ti=function(n,t){var i,r;return i=o(ck(this,n,t),89),Ns(this.e)&&jy(this,new b_(this.a,7,(hn(),c0n),je(t),(r=i.c,U(r,90)?o(r,29):Zf),n)),i;},u.Uj=function(n,t){return KIn(this,o(n,89),t);},u.Vj=function(n,t){return FIn(this,o(n,89),t);},u.Wj=function(n,t,i){return UOn(this,o(n,89),o(t,89),i);},u.Ij=function(n,t,i,r,c){switch(n){case 3:return A8(this,n,t,i,r,this.i>1);case 5:return A8(this,n,t,i,r,this.i-o(i,15).gc()>0);default:return new Zh(this.e,n,this.c,t,i,r,!0);}},u.Tj=function(){return!0;},u.Qj=function(){return HF(this);},u.Gk=function(){bt(this);},k(Mn,"EClassImpl/1",1161),y(1175,1174,vae),u.dj=function(n){var t,i,r,c,s,f,h;if(i=n.gj(),i!=8){if(r=EPn(n),r==0){switch(i){case 1:case 9:{h=n.kj(),h!=null&&(t=ps(o(h,482)),!t.c&&(t.c=new my),DC(t.c,n.jj())),f=n.ij(),f!=null&&(c=o(f,482),c.Bb&1||(t=ps(c),!t.c&&(t.c=new my),pt(t.c,o(n.jj(),29))));break;}case 3:{f=n.ij(),f!=null&&(c=o(f,482),c.Bb&1||(t=ps(c),!t.c&&(t.c=new my),pt(t.c,o(n.jj(),29))));break;}case 5:{if(f=n.ij(),f!=null){for(s=o(f,16).Kc();s.Ob();){c=o(s.Pb(),482),c.Bb&1||(t=ps(c),!t.c&&(t.c=new my),pt(t.c,o(n.jj(),29)));}}break;}case 4:{h=n.kj(),h!=null&&(c=o(h,482),c.Bb&1||(t=ps(c),!t.c&&(t.c=new my),DC(t.c,n.jj())));break;}case 6:{if(h=n.kj(),h!=null){for(s=o(h,16).Kc();s.Ob();){c=o(s.Pb(),482),c.Bb&1||(t=ps(c),!t.c&&(t.c=new my),DC(t.c,n.jj()));}}break;}}}this.ql(r);}},u.ql=function(n){sJe(this,n);},u.b=63,k(Mn,"ESuperAdapter",1175),y(1176,1175,vae,Lxe),u.ql=function(n){cp(this,n);},k(Mn,"EClassImpl/10",1176),y(1165,710,so),u.Ei=function(n,t){return aK(this,n,t);},u.Fi=function(n){return Jze(this,n);},u.Gi=function(n,t){H_(this,n,t);},u.Hi=function(n){a_(this,n);},u.$i=function(n){return Pte(this,n);},u.Xi=function(n,t){return jB(this,n,t);},u.Wk=function(n,t){throw O(new It);},u.Ii=function(){return new Av(this);},u.Ji=function(){return new $E(this);},u.Ki=function(n){return M_(this,n);},u.Xk=function(n,t){throw O(new It);},u.Fk=function(n){return this;},u.Qj=function(){return this.i!=0;},u.Wb=function(n){throw O(new It);},u.Gk=function(){throw O(new It);},k(Ri,"EcoreEList/UnmodifiableEList",1165),y(328,1165,so,k2),u.Yi=function(){return!1;},k(Ri,"EcoreEList/UnmodifiableEList/FastCompare",328),y(1168,328,so,NUe),u.dd=function(n){var t,i,r;if(U(n,179)&&(t=o(n,179),i=t.Lj(),i!=-1)){for(r=this.i;i4){if(this.fk(n)){if(this.al()){if(r=o(n,54),i=r.Eh(),h=i==this.b&&(this.ml()?r.yh(r.Fh(),o(pn(Iu(this.b),this.Lj()).Hk(),29).kk())==Tc(o(pn(Iu(this.b),this.Lj()),19)).n:-1-r.Fh()==this.Lj()),this.nl()&&!h&&!i&&r.Jh()){for(c=0;c1||r==-1)):!1;},u.ml=function(){var n,t,i;return t=pn(Iu(this.b),this.Lj()),U(t,102)?(n=o(t,19),i=Tc(n),!!i):!1;},u.nl=function(){var n,t;return t=pn(Iu(this.b),this.Lj()),U(t,102)?(n=o(t,19),(n.Bb&kc)!=0):!1;},u.dd=function(n){var t,i,r,c;if(r=this.zj(n),r>=0){return r;}if(this.ol()){for(i=0,c=this.Ej();i=0;--n){jS(this,n,this.xj(n));}}return this.Fj();},u.Qc=function(n){var t;if(this.nl()){for(t=this.Ej()-1;t>=0;--t){jS(this,t,this.xj(t));}}return this.Gj(n);},u.Gk=function(){Ak(this);},u.Zi=function(n,t){return RKe(this,n,t);},k(Ri,"DelegatingEcoreEList",756),y(1171,756,_ae,QAe),u.qj=function(n,t){m6n(this,n,o(t,29));},u.rj=function(n){o4n(this,o(n,29));},u.xj=function(n){var t,i;return t=o(z(Ho(this.a),n),89),i=t.c,U(i,90)?o(i,29):(hn(),Zf);},u.Cj=function(n){var t,i;return t=o(sp(Ho(this.a),n),89),i=t.c,U(i,90)?o(i,29):(hn(),Zf);},u.Dj=function(n,t){return bNn(this,n,o(t,29));},u.Li=function(){return!1;},u.Ij=function(n,t,i,r,c){return null;},u.sj=function(){return new Bxe(this);},u.tj=function(){bt(Ho(this.a));},u.uj=function(n){return xGe(this,n);},u.vj=function(n){var t,i;for(i=n.Kc();i.Ob();){if(t=i.Pb(),!xGe(this,t)){return!1;}}return!0;},u.wj=function(n){var t,i,r;if(U(n,15)&&(r=o(n,15),r.gc()==Ho(this.a).i)){for(t=r.Kc(),i=new Hn(this);t.Ob();){if(Z(t.Pb())!==Z(Wn(i))){return!1;}}return!0;}return!1;},u.yj=function(){var n,t,i,r,c;for(i=1,t=new Hn(Ho(this.a));t.e!=t.i.gc();){n=o(Wn(t),89),r=(c=n.c,U(c,90)?o(c,29):(hn(),Zf)),i=31*i+(r?nb(r):0);}return i;},u.zj=function(n){var t,i,r,c;for(r=0,i=new Hn(Ho(this.a));i.e!=i.i.gc();){if(t=o(Wn(i),89),Z(n)===Z((c=t.c,U(c,90)?o(c,29):(hn(),Zf)))){return r;}++r;}return-1;},u.Aj=function(){return Ho(this.a).i==0;},u.Bj=function(){return null;},u.Ej=function(){return Ho(this.a).i;},u.Fj=function(){var n,t,i,r,c,s;for(s=Ho(this.a).i,c=ce(Ir,vn,1,s,5,1),i=0,t=new Hn(Ho(this.a));t.e!=t.i.gc();){n=o(Wn(t),89),c[i++]=(r=n.c,U(r,90)?o(r,29):(hn(),Zf));}return c;},u.Gj=function(n){var t,i,r,c,s,f,h;for(h=Ho(this.a).i,n.lengthh&&Yi(n,h,null),r=0,i=new Hn(Ho(this.a));i.e!=i.i.gc();){t=o(Wn(i),89),s=(f=t.c,U(f,90)?o(f,29):(hn(),Zf)),Yi(n,r++,s);}return n;},u.Hj=function(){var n,t,i,r,c;for(c=new T1,c.a+="[",n=Ho(this.a),t=0,r=Ho(this.a).i;t>16,c>=0?ZF(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,6,i);case 9:return!this.a&&(this.a=new he(v1,this,9,5)),au(this.a,n,i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),v0)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),v0)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 6:return Js(this,null,6,i);case 7:return!this.A&&(this.A=new qu(Mu,this,7)),bc(this.A,n,i);case 9:return!this.a&&(this.a=new he(v1,this,9,5)),bc(this.a,n,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),v0)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),v0)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ib(this);case 4:return!!qie(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!n4(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0;}return wf(this,n-tt((hn(),v0)),pn((t=o(Cn(this,16),29),t||v0),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:bC(this,Nt(t));return;case 2:MD(this,Nt(t));return;case 5:t6(this,Nt(t));return;case 7:!this.A&&(this.A=new qu(Mu,this,7)),bt(this.A),!this.A&&(this.A=new qu(Mu,this,7)),Zi(this.A,o(t,16));return;case 8:pI(this,De(Le(t)));return;case 9:!this.a&&(this.a=new he(v1,this,9,5)),bt(this.a),!this.a&&(this.a=new he(v1,this,9,5)),Zi(this.a,o(t,16));return;}yf(this,n-tt((hn(),v0)),pn((i=o(Cn(this,16),29),i||v0),n),t);},u.ii=function(){return hn(),v0;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:U(this.Cb,184)&&(o(this.Cb,184).tb=null),lu(this,null);return;case 2:C4(this,null),w4(this,this.D);return;case 5:t6(this,null);return;case 7:!this.A&&(this.A=new qu(Mu,this,7)),bt(this.A);return;case 8:pI(this,!0);return;case 9:!this.a&&(this.a=new he(v1,this,9,5)),bt(this.a);return;}vf(this,n-tt((hn(),v0)),pn((t=o(Cn(this,16),29),t||v0),n));},u.pi=function(){var n,t;if(this.a){for(n=0,t=this.a.i;n>16==5?o(this.Cb,685):null;}return gf(this,n-tt((hn(),hd)),pn((r=o(Cn(this,16),29),r||hd),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?SVe(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,5,i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),hd)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),hd)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 5:return Js(this,null,5,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),hd)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),hd)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&o(this.Cb,685));}return wf(this,n-tt((hn(),hd)),pn((t=o(Cn(this,16),29),t||hd),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:lu(this,Nt(t));return;case 2:PB(this,o(t,17).a);return;case 3:kXe(this,o(t,2039));return;case 4:OB(this,Nt(t));return;}yf(this,n-tt((hn(),hd)),pn((i=o(Cn(this,16),29),i||hd),n),t);},u.ii=function(){return hn(),hd;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:lu(this,null);return;case 2:PB(this,0);return;case 3:kXe(this,null);return;case 4:OB(this,null);return;}vf(this,n-tt((hn(),hd)),pn((t=o(Cn(this,16),29),t||hd),n));},u.Ib=function(){var n;return n=this.c,n??this.zb;},u.b=null,u.c=null,u.d=0,k(Mn,"EEnumLiteralImpl",582);var VVn=Vi(Mn,"EFactoryImpl/InternalEDateTimeFormat");y(499,1,{2114:1},iE),k(Mn,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),y(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},Fw),u.Ch=function(n,t,i){var r;return i=Js(this,n,t,i),this.e&&U(n,179)&&(r=rP(this,this.e),r!=this.c&&(i=i6(this,r,i))),i;},u.Lh=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new hr(Ac,this,1)),this.d;case 2:return t?pP(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?GF(this):this.a;}return gf(this,n-tt((hn(),hg)),pn((r=o(Cn(this,16),29),r||hg),n),t,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return bGe(this,null,i);case 1:return!this.d&&(this.d=new hr(Ac,this,1)),bc(this.d,n,i);case 3:return gGe(this,null,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),hg)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),hg)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a;}return wf(this,n-tt((hn(),hg)),pn((t=o(Cn(this,16),29),t||hg),n));},u.bi=function(n,t){var i;switch(n){case 0:qVe(this,o(t,89));return;case 1:!this.d&&(this.d=new hr(Ac,this,1)),bt(this.d),!this.d&&(this.d=new hr(Ac,this,1)),Zi(this.d,o(t,16));return;case 3:kce(this,o(t,89));return;case 4:Fce(this,o(t,850));return;case 5:f4(this,o(t,142));return;}yf(this,n-tt((hn(),hg)),pn((i=o(Cn(this,16),29),i||hg),n),t);},u.ii=function(){return hn(),hg;},u.ki=function(n){var t;switch(n){case 0:qVe(this,null);return;case 1:!this.d&&(this.d=new hr(Ac,this,1)),bt(this.d);return;case 3:kce(this,null);return;case 4:Fce(this,null);return;case 5:f4(this,null);return;}vf(this,n-tt((hn(),hg)),pn((t=o(Cn(this,16),29),t||hg),n));},u.Ib=function(){var n;return n=new Ks(dl(this)),n.a+=" (expression: ",ZK(this,n),n.a+=")",n.a;};var E2e;k(Mn,"EGenericTypeImpl",248),y(2067,2062,jN),u.Gi=function(n,t){XAe(this,n,t);},u.Wk=function(n,t){return XAe(this,this.gc(),n),t;},u.$i=function(n){return _f(this.pj(),n);},u.Ii=function(){return this.Ji();},u.pj=function(){return new qxe(this);},u.Ji=function(){return this.Ki(0);},u.Ki=function(n){return this.pj().fd(n);},u.Xk=function(n,t){return Qg(this,n,!0),t;},u.Ti=function(n,t){var i,r;return r=tK(this,t),i=this.fd(n),i.Rb(r),r;},u.Ui=function(n,t){var i;Qg(this,t,!0),i=this.fd(n),i.Rb(t);},k(Ri,"AbstractSequentialInternalEList",2067),y(496,2067,jN,AE),u.$i=function(n){return _f(this.pj(),n);},u.Ii=function(){return this.b==null?(C1(),C1(),kT):this.sl();},u.pj=function(){return new wOe(this.a,this.b);},u.Ji=function(){return this.b==null?(C1(),C1(),kT):this.sl();},u.Ki=function(n){var t,i;if(this.b==null){if(n<0||n>1){throw O(new Kc(r7+n+", size=0"));}return C1(),C1(),kT;}for(i=this.sl(),t=0;t0;){if(t=this.c[--this.d],(!this.e||t.pk()!=h5||t.Lj()!=0)&&(!this.vl()||this.b.Xh(t))){if(s=this.b.Nh(t,this.ul()),this.f=(jc(),o(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=o(s,15),this.k=r):(r=o(s,71),this.k=this.j=r),U(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?DWe(this,this.p):WWe(this)){return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(n=o(c,76),n.Lk(),i=n.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0;}}else if(s!=null){return this.k=null,this.p=null,i=s,this.i=i,this.g=-2,!0;}}}return this.k=null,this.p=null,this.g=-1,!1;}else {return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(n=o(c,76),n.Lk(),i=n.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0;}}},u.Pb=function(){return sI(this);},u.Tb=function(){return this.a;},u.Ub=function(){var n;if(this.g<-1||this.Sb()){return--this.a,this.g=0,n=this.i,this.Sb(),n;}throw O(new ao);},u.Vb=function(){return this.a-1;},u.Qb=function(){throw O(new It);},u.ul=function(){return!1;},u.Wb=function(n){throw O(new It);},u.vl=function(){return!0;},u.a=0,u.d=0,u.f=!1,u.g=0,u.n=0,u.o=0;var kT;k(Ri,"EContentsEList/FeatureIteratorImpl",287),y(711,287,TN,PZ),u.ul=function(){return!0;},k(Ri,"EContentsEList/ResolvingFeatureIteratorImpl",711),y(1178,711,TN,AAe),u.vl=function(){return!1;},k(Mn,"ENamedElementImpl/1/1",1178),y(1179,287,TN,$Ae),u.vl=function(){return!1;},k(Mn,"ENamedElementImpl/1/2",1179),y(39,152,ij,qg,tB,Ar,pB,Zh,ll,Ute,wBe,Gte,bBe,ste,gBe,Wte,pBe,fte,mBe,zte,vBe,M8,b_,DR,Vte,yBe,lte,kBe),u.Kj=function(){return Mte(this);},u.Rj=function(){var n;return n=Mte(this),n?n.ik():null;},u.hj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,n);},u.jj=function(){return this.c;},u.Sj=function(){var n;return n=Mte(this),n?n.tk():!1;},u.b=-1,k(Mn,"ENotificationImpl",39),y(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},EL),u.Ah=function(n){return MVe(this,n);},u.Lh=function(n,t,i){var r,c,s;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return jn(),!!(this.Bb&256);case 3:return jn(),!!(this.Bb&512);case 4:return je(this.s);case 5:return je(this.t);case 6:return jn(),s=this.t,s>1||s==-1;case 7:return jn(),c=this.s,c>=1;case 8:return t?Bf(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?o(this.Cb,29):null;case 11:return!this.d&&(this.d=new qu(Mu,this,11)),this.d;case 12:return!this.c&&(this.c=new he(ag,this,12,10)),this.c;case 13:return!this.a&&(this.a=new BE(this,this)),this.a;case 14:return ms(this);}return gf(this,n-tt((hn(),dd)),pn((r=o(Cn(this,16),29),r||dd),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?MVe(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,10,i);case 12:return!this.c&&(this.c=new he(ag,this,12,10)),au(this.c,n,i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),dd)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),dd)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 9:return ER(this,i);case 10:return Js(this,null,10,i);case 11:return!this.d&&(this.d=new qu(Mu,this,11)),bc(this.d,n,i);case 12:return!this.c&&(this.c=new he(ag,this,12,10)),bc(this.c,n,i);case 14:return bc(ms(this),n,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),dd)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),dd)),n,i);},u.Wh=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&fb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fb(this.q).i==0);case 10:return!!(this.Db>>16==10&&o(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&ms(this.a.a).i!=0&&!(this.b&&qF(this.b));case 14:return!!this.b&&qF(this.b);}return wf(this,n-tt((hn(),dd)),pn((t=o(Cn(this,16),29),t||dd),n));},u.bi=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:lu(this,Nt(t));return;case 2:q1(this,De(Le(t)));return;case 3:U1(this,De(Le(t)));return;case 4:B1(this,o(t,17).a);return;case 5:Wg(this,o(t,17).a);return;case 8:ew(this,o(t,142));return;case 9:r=da(this,o(t,89),null),r&&r.oj();return;case 11:!this.d&&(this.d=new qu(Mu,this,11)),bt(this.d),!this.d&&(this.d=new qu(Mu,this,11)),Zi(this.d,o(t,16));return;case 12:!this.c&&(this.c=new he(ag,this,12,10)),bt(this.c),!this.c&&(this.c=new he(ag,this,12,10)),Zi(this.c,o(t,16));return;case 13:!this.a&&(this.a=new BE(this,this)),Ak(this.a),!this.a&&(this.a=new BE(this,this)),Zi(this.a,o(t,16));return;case 14:bt(ms(this)),Zi(ms(this),o(t,16));return;}yf(this,n-tt((hn(),dd)),pn((i=o(Cn(this,16),29),i||dd),n),t);},u.ii=function(){return hn(),dd;},u.ki=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:lu(this,null);return;case 2:q1(this,!0);return;case 3:U1(this,!0);return;case 4:B1(this,0);return;case 5:Wg(this,1);return;case 8:ew(this,null);return;case 9:i=da(this,null,null),i&&i.oj();return;case 11:!this.d&&(this.d=new qu(Mu,this,11)),bt(this.d);return;case 12:!this.c&&(this.c=new he(ag,this,12,10)),bt(this.c);return;case 13:this.a&&Ak(this.a);return;case 14:this.b&&bt(this.b);return;}vf(this,n-tt((hn(),dd)),pn((t=o(Cn(this,16),29),t||dd),n));},u.pi=function(){var n,t;if(this.c){for(n=0,t=this.c.i;nh&&Yi(n,h,null),r=0,i=new Hn(ms(this.a));i.e!=i.i.gc();){t=o(Wn(i),89),s=(f=t.c,f||(hn(),xa)),Yi(n,r++,s);}return n;},u.Hj=function(){var n,t,i,r,c;for(c=new T1,c.a+="[",n=ms(this.a),t=0,r=ms(this.a).i;t1);case 5:return A8(this,n,t,i,r,this.i-o(i,15).gc()>0);default:return new Zh(this.e,n,this.c,t,i,r,!0);}},u.Tj=function(){return!0;},u.Qj=function(){return qF(this);},u.Gk=function(){bt(this);},k(Mn,"EOperationImpl/2",1377),y(507,1,{2037:1,507:1},JNe),k(Mn,"EPackageImpl/1",507),y(14,83,so,he),u.il=function(){return this.d;},u.jl=function(){return this.b;},u.ml=function(){return!0;},u.b=0,k(Ri,"EObjectContainmentWithInverseEList",14),y(365,14,so,$v),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectContainmentWithInverseEList/Resolving",365),y(308,365,so,Dg),u.Ni=function(){this.a.tb=null;},k(Mn,"EPackageImpl/2",308),y(1278,1,{},ivn),k(Mn,"EPackageImpl/3",1278),y(733,45,rm,OJ),u._b=function(n){return Dr(n)?BR(this,n):!!Mc(this.f,n);},k(Mn,"EPackageRegistryImpl",733),y(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},_L),u.Ah=function(n){return xVe(this,n);},u.Lh=function(n,t,i){var r,c,s;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return jn(),!!(this.Bb&256);case 3:return jn(),!!(this.Bb&512);case 4:return je(this.s);case 5:return je(this.t);case 6:return jn(),s=this.t,s>1||s==-1;case 7:return jn(),c=this.s,c>=1;case 8:return t?Bf(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?o(this.Cb,62):null;}return gf(this,n-tt((hn(),Qp)),pn((r=o(Cn(this,16),29),r||Qp),n),t,i);},u.Sh=function(n,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),au(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?xVe(this,i):this.Cb.Th(this,-1-c,null,i))),Js(this,n,10,i);}return s=o(pn((r=o(Cn(this,16),29),r||(hn(),Qp)),t),69),s.wk().zk(this,ku(this),t-tt((hn(),Qp)),n,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 9:return ER(this,i);case 10:return Js(this,null,10,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),Qp)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),Qp)),n,i);},u.Wh=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&fb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fb(this.q).i==0);case 10:return!!(this.Db>>16==10&&o(this.Cb,62));}return wf(this,n-tt((hn(),Qp)),pn((t=o(Cn(this,16),29),t||Qp),n));},u.ii=function(){return hn(),Qp;},k(Mn,"EParameterImpl",518),y(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},LZ),u.Lh=function(n,t,i){var r,c,s,f;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return jn(),!!(this.Bb&256);case 3:return jn(),!!(this.Bb&512);case 4:return je(this.s);case 5:return je(this.t);case 6:return jn(),f=this.t,f>1||f==-1;case 7:return jn(),c=this.s,c>=1;case 8:return t?Bf(this):this.r;case 9:return this.q;case 10:return jn(),!!(this.Bb&gl);case 11:return jn(),!!(this.Bb&kp);case 12:return jn(),!!(this.Bb&wp);case 13:return this.j;case 14:return X4(this);case 15:return jn(),!!(this.Bb&Qu);case 16:return jn(),!!(this.Bb&Va);case 17:return Fg(this);case 18:return jn(),!!(this.Bb&Oo);case 19:return jn(),s=Tc(this),!!(s&&s.Bb&Oo);case 20:return jn(),!!(this.Bb&kc);case 21:return t?Tc(this):this.b;case 22:return t?Oie(this):GFe(this);case 23:return!this.a&&(this.a=new M2(Xp,this,23)),this.a;}return gf(this,n-tt((hn(),Wm)),pn((r=o(Cn(this,16),29),r||Wm),n),t,i);},u.Wh=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&fb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fb(this.q).i==0);case 10:return(this.Bb&gl)==0;case 11:return(this.Bb&kp)!=0;case 12:return(this.Bb&wp)!=0;case 13:return this.j!=null;case 14:return X4(this)!=null;case 15:return(this.Bb&Qu)!=0;case 16:return(this.Bb&Va)!=0;case 17:return!!Fg(this);case 18:return(this.Bb&Oo)!=0;case 19:return r=Tc(this),!!r&&(r.Bb&Oo)!=0;case 20:return(this.Bb&kc)==0;case 21:return!!this.b;case 22:return!!GFe(this);case 23:return!!this.a&&this.a.i!=0;}return wf(this,n-tt((hn(),Wm)),pn((t=o(Cn(this,16),29),t||Wm),n));},u.bi=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:XR(this,Nt(t));return;case 2:q1(this,De(Le(t)));return;case 3:U1(this,De(Le(t)));return;case 4:B1(this,o(t,17).a);return;case 5:Wg(this,o(t,17).a);return;case 8:ew(this,o(t,142));return;case 9:r=da(this,o(t,89),null),r&&r.oj();return;case 10:N4(this,De(Le(t)));return;case 11:$4(this,De(Le(t)));return;case 12:O4(this,De(Le(t)));return;case 13:zQ(this,Nt(t));return;case 15:A4(this,De(Le(t)));return;case 16:L4(this,De(Le(t)));return;case 18:KEn(this,De(Le(t)));return;case 20:are(this,De(Le(t)));return;case 21:fie(this,o(t,19));return;case 23:!this.a&&(this.a=new M2(Xp,this,23)),bt(this.a),!this.a&&(this.a=new M2(Xp,this,23)),Zi(this.a,o(t,16));return;}yf(this,n-tt((hn(),Wm)),pn((i=o(Cn(this,16),29),i||Wm),n),t);},u.ii=function(){return hn(),Wm;},u.ki=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:U(this.Cb,90)&&cp(ps(o(this.Cb,90)),4),lu(this,null);return;case 2:q1(this,!0);return;case 3:U1(this,!0);return;case 4:B1(this,0);return;case 5:Wg(this,1);return;case 8:ew(this,null);return;case 9:i=da(this,null,null),i&&i.oj();return;case 10:N4(this,!0);return;case 11:$4(this,!1);return;case 12:O4(this,!1);return;case 13:this.i=null,ZC(this,null);return;case 15:A4(this,!1);return;case 16:L4(this,!1);return;case 18:lre(this,!1),U(this.Cb,90)&&cp(ps(o(this.Cb,90)),2);return;case 20:are(this,!0);return;case 21:fie(this,null);return;case 23:!this.a&&(this.a=new M2(Xp,this,23)),bt(this.a);return;}vf(this,n-tt((hn(),Wm)),pn((t=o(Cn(this,16),29),t||Wm),n));},u.pi=function(){Oie(this),Qy(Uc((Xu(),ec),this)),Bf(this),this.Bb|=1;},u.uk=function(){return Tc(this);},u._k=function(){var n;return n=Tc(this),!!n&&(n.Bb&Oo)!=0;},u.al=function(){return(this.Bb&Oo)!=0;},u.bl=function(){return(this.Bb&kc)!=0;},u.Yk=function(n,t){return this.c=null,ere(this,n,t);},u.Ib=function(){var n;return this.Db&64?wP(this):(n=new $f(wP(this)),n.a+=" (containment: ",M1(n,(this.Bb&Oo)!=0),n.a+=", resolveProxies: ",M1(n,(this.Bb&kc)!=0),n.a+=")",n.a);},k(Mn,"EReferenceImpl",102),y(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},q9e),u.Fb=function(n){return this===n;},u.ld=function(){return this.b;},u.md=function(){return this.c;},u.Hb=function(){return nb(this);},u.Di=function(n){zkn(this,Nt(n));},u.nd=function(n){return Pkn(this,Nt(n));},u.Lh=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c;}return gf(this,n-tt((hn(),_c)),pn((r=o(Cn(this,16),29),r||_c),n),t,i);},u.Wh=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null;}return wf(this,n-tt((hn(),_c)),pn((t=o(Cn(this,16),29),t||_c),n));},u.bi=function(n,t){var i;switch(n){case 0:Vkn(this,Nt(t));return;case 1:oie(this,Nt(t));return;}yf(this,n-tt((hn(),_c)),pn((i=o(Cn(this,16),29),i||_c),n),t);},u.ii=function(){return hn(),_c;},u.ki=function(n){var t;switch(n){case 0:cie(this,null);return;case 1:oie(this,null);return;}vf(this,n-tt((hn(),_c)),pn((t=o(Cn(this,16),29),t||_c),n));},u.Bi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:F1(n)),this.a;},u.Ci=function(n){this.a=n;},u.Ib=function(){var n;return this.Db&64?dl(this):(n=new $f(dl(this)),n.a+=" (key: ",Lc(n,this.b),n.a+=", value: ",Lc(n,this.c),n.a+=")",n.a);},u.a=-1,u.b=null,u.c=null;var Io=k(Mn,"EStringToStringMapEntryImpl",561),b0n=Vi(Ri,"FeatureMap/Entry/Internal");y(576,1,MN),u.xl=function(n){return this.yl(o(n,54));},u.yl=function(n){return this.xl(n);},u.Fb=function(n){var t,i;return this===n?!0:U(n,76)?(t=o(n,76),t.Lk()==this.c?(i=this.md(),i==null?t.md()==null:hi(i,t.md())):!1):!1;},u.Lk=function(){return this.c;},u.Hb=function(){var n;return n=this.md(),xi(this.c)^(n==null?0:xi(n));},u.Ib=function(){var n,t;return n=this.c,t=Gs(n.qk()).yi(),n.xe(),(t!=null&&t.length!=0?t+":"+n.xe():n.xe())+"="+this.md();},k(Mn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),y(791,576,MN,GZ),u.yl=function(n){return new GZ(this.c,n);},u.md=function(){return this.a;},u.zl=function(n,t,i){return IMn(this,n,this.a,t,i);},u.Al=function(n,t,i){return PMn(this,n,this.a,t,i);},k(Mn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),y(1350,1,{},QNe),u.yk=function(n,t,i,r,c){var s;return s=o(c4(n,this.b),220),s.Yl(this.a).Fk(r);},u.zk=function(n,t,i,r,c){var s;return s=o(c4(n,this.b),220),s.Pl(this.a,r,c);},u.Ak=function(n,t,i,r,c){var s;return s=o(c4(n,this.b),220),s.Ql(this.a,r,c);},u.Bk=function(n,t,i){var r;return r=o(c4(n,this.b),220),r.Yl(this.a).Qj();},u.Ck=function(n,t,i,r){var c;c=o(c4(n,this.b),220),c.Yl(this.a).Wb(r);},u.Dk=function(n,t,i){return o(c4(n,this.b),220).Yl(this.a);},u.Ek=function(n,t,i){var r;r=o(c4(n,this.b),220),r.Yl(this.a).Gk();},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),y(91,1,{},P1,K0,O1,z0),u.yk=function(n,t,i,r,c){var s;if(s=t.li(i),s==null&&t.mi(i,s=TP(this,n)),!c){switch(this.e){case 50:case 41:return o(s,597).bk();case 40:return o(s,220).Vl();}}return s;},u.zk=function(n,t,i,r,c){var s,f;return f=t.li(i),f==null&&t.mi(i,f=TP(this,n)),s=o(f,71).Wk(r,c),s;},u.Ak=function(n,t,i,r,c){var s;return s=t.li(i),s!=null&&(c=o(s,71).Xk(r,c)),c;},u.Bk=function(n,t,i){var r;return r=t.li(i),r!=null&&o(r,79).Qj();},u.Ck=function(n,t,i,r){var c;c=o(t.li(i),79),!c&&t.mi(i,c=TP(this,n)),c.Wb(r);},u.Dk=function(n,t,i){var r,c;return c=t.li(i),c==null&&t.mi(i,c=TP(this,n)),U(c,79)?o(c,79):(r=o(t.li(i),15),new Kxe(r));},u.Ek=function(n,t,i){var r;r=o(t.li(i),79),!r&&t.mi(i,r=TP(this,n)),r.Gk();},u.b=0,u.e=0,k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),y(512,1,{}),u.zk=function(n,t,i,r,c){throw O(new It);},u.Ak=function(n,t,i,r,c){throw O(new It);},u.Dk=function(n,t,i){return new YDe(this,n,t,i);};var Rh;k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),y(1367,1,RU,YDe),u.Fk=function(n){return this.a.yk(this.c,this.d,this.b,n,!0);},u.Qj=function(){return this.a.Bk(this.c,this.d,this.b);},u.Wb=function(n){this.a.Ck(this.c,this.d,this.b,n);},u.Gk=function(){this.a.Ek(this.c,this.d,this.b);},u.b=0,k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),y(784,512,{},One),u.yk=function(n,t,i,r,c){return BK(n,n.Ph(),n.Fh())==this.b?this.bl()&&r?jK(n):n.Ph():null;},u.zk=function(n,t,i,r,c){var s,f;return n.Ph()&&(c=(s=n.Fh(),s>=0?n.Ah(c):n.Ph().Th(n,-1-s,null,c))),f=qi(n.Dh(),this.e),n.Ch(r,f,c);},u.Ak=function(n,t,i,r,c){var s;return s=qi(n.Dh(),this.e),n.Ch(null,s,c);},u.Bk=function(n,t,i){var r;return r=qi(n.Dh(),this.e),!!n.Ph()&&n.Fh()==r;},u.Ck=function(n,t,i,r){var c,s,f,h,d;if(r!=null&&!qK(this.a,r)){throw O(new Ty(xN+(U(r,58)?yce(o(r,58).Dh()):Fte(Ds(r)))+CN+this.a+"'"));}if(c=n.Ph(),f=qi(n.Dh(),this.e),Z(r)!==Z(c)||n.Fh()!=f&&r!=null){if(K4(n,o(r,58))){throw O(new In(t7+n.Ib()));}d=null,c&&(d=(s=n.Fh(),s>=0?n.Ah(d):n.Ph().Th(n,-1-s,null,d))),h=o(r,54),h&&(d=h.Rh(n,qi(h.Dh(),this.b),null,d)),d=n.Ch(h,f,d),d&&d.oj();}else {n.vh()&&n.wh()&&ai(n,new Ar(n,1,f,r,r));}},u.Ek=function(n,t,i){var r,c,s,f;r=n.Ph(),r?(f=(c=n.Fh(),c>=0?n.Ah(null):n.Ph().Th(n,-1-c,null,null)),s=qi(n.Dh(),this.e),f=n.Ch(null,s,f),f&&f.oj()):n.vh()&&n.wh()&&ai(n,new M8(n,1,this.e,null,null));},u.bl=function(){return!1;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),y(1351,784,{},F$e),u.bl=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),y(574,512,{}),u.yk=function(n,t,i,r,c){var s;return s=t.li(i),s==null?this.b:Z(s)===Z(Rh)?null:s;},u.Bk=function(n,t,i){var r;return r=t.li(i),r!=null&&(Z(r)===Z(Rh)||!hi(r,this.b));},u.Ck=function(n,t,i,r){var c,s;n.vh()&&n.wh()?(c=(s=t.li(i),s==null?this.b:Z(s)===Z(Rh)?null:s),r==null?this.c!=null?(t.mi(i,null),r=this.b):this.b!=null?t.mi(i,Rh):t.mi(i,null):(this.Bl(r),t.mi(i,r)),ai(n,this.d.Cl(n,1,this.e,c,r))):r==null?this.c!=null?t.mi(i,null):this.b!=null?t.mi(i,Rh):t.mi(i,null):(this.Bl(r),t.mi(i,r));},u.Ek=function(n,t,i){var r,c;n.vh()&&n.wh()?(r=(c=t.li(i),c==null?this.b:Z(c)===Z(Rh)?null:c),t.ni(i),ai(n,this.d.Cl(n,1,this.e,r,this.b))):t.ni(i);},u.Bl=function(n){throw O(new Qxe);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),y(wm,1,{},U9e),u.Cl=function(n,t,i,r,c){return new M8(n,t,i,r,c);},u.Dl=function(n,t,i,r,c,s){return new DR(n,t,i,r,c,s);};var _2e,S2e,j2e,T2e,M2e,x2e,C2e,RW,I2e;k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",wm),y(1368,wm,{},G9e),u.Cl=function(n,t,i,r,c){return new lte(n,t,i,De(Le(r)),De(Le(c)));},u.Dl=function(n,t,i,r,c,s){return new kBe(n,t,i,De(Le(r)),De(Le(c)),s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),y(1369,wm,{},z9e),u.Cl=function(n,t,i,r,c){return new Ute(n,t,i,o(r,222).a,o(c,222).a);},u.Dl=function(n,t,i,r,c,s){return new wBe(n,t,i,o(r,222).a,o(c,222).a,s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),y(1370,wm,{},V9e),u.Cl=function(n,t,i,r,c){return new Gte(n,t,i,o(r,180).a,o(c,180).a);},u.Dl=function(n,t,i,r,c,s){return new bBe(n,t,i,o(r,180).a,o(c,180).a,s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),y(1371,wm,{},W9e),u.Cl=function(n,t,i,r,c){return new ste(n,t,i,J(re(r)),J(re(c)));},u.Dl=function(n,t,i,r,c,s){return new gBe(n,t,i,J(re(r)),J(re(c)),s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),y(1372,wm,{},X9e),u.Cl=function(n,t,i,r,c){return new Wte(n,t,i,o(r,161).a,o(c,161).a);},u.Dl=function(n,t,i,r,c,s){return new pBe(n,t,i,o(r,161).a,o(c,161).a,s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),y(1373,wm,{},Y9e),u.Cl=function(n,t,i,r,c){return new fte(n,t,i,o(r,17).a,o(c,17).a);},u.Dl=function(n,t,i,r,c,s){return new mBe(n,t,i,o(r,17).a,o(c,17).a,s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),y(1374,wm,{},J9e),u.Cl=function(n,t,i,r,c){return new zte(n,t,i,o(r,168).a,o(c,168).a);},u.Dl=function(n,t,i,r,c,s){return new vBe(n,t,i,o(r,168).a,o(c,168).a,s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),y(1375,wm,{},Q9e),u.Cl=function(n,t,i,r,c){return new Vte(n,t,i,o(r,191).a,o(c,191).a);},u.Dl=function(n,t,i,r,c,s){return new yBe(n,t,i,o(r,191).a,o(c,191).a,s);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),y(1353,574,{},JDe),u.Bl=function(n){if(!this.a.fk(n)){throw O(new Ty(xN+Ds(n)+CN+this.a+"'"));}},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),y(1354,574,{},RLe),u.Bl=function(n){},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),y(785,574,{}),u.Bk=function(n,t,i){var r;return r=t.li(i),r!=null;},u.Ck=function(n,t,i,r){var c,s;n.vh()&&n.wh()?(c=!0,s=t.li(i),s==null?(c=!1,s=this.b):Z(s)===Z(Rh)&&(s=null),r==null?this.c!=null?(t.mi(i,null),r=this.b):t.mi(i,Rh):(this.Bl(r),t.mi(i,r)),ai(n,this.d.Dl(n,1,this.e,s,r,!c))):r==null?this.c!=null?t.mi(i,null):t.mi(i,Rh):(this.Bl(r),t.mi(i,r));},u.Ek=function(n,t,i){var r,c;n.vh()&&n.wh()?(r=!0,c=t.li(i),c==null?(r=!1,c=this.b):Z(c)===Z(Rh)&&(c=null),t.ni(i),ai(n,this.d.Dl(n,2,this.e,c,this.b,r))):t.ni(i);},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),y(1355,785,{},QDe),u.Bl=function(n){if(!this.a.fk(n)){throw O(new Ty(xN+Ds(n)+CN+this.a+"'"));}},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),y(1356,785,{},BLe),u.Bl=function(n){},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),y(410,512,{},Fx),u.yk=function(n,t,i,r,c){var s,f,h,d,b;if(b=t.li(i),this.tk()&&Z(b)===Z(Rh)){return null;}if(this.bl()&&r&&b!=null){if(h=o(b,54),h.Vh()&&(d=Fd(n,h),h!=d)){if(!qK(this.a,d)){throw O(new Ty(xN+Ds(d)+CN+this.a+"'"));}t.mi(i,b=d),this.al()&&(s=o(d,54),f=h.Th(n,this.b?qi(h.Dh(),this.b):-1-qi(n.Dh(),this.e),null,null),!s.Ph()&&(f=s.Rh(n,this.b?qi(s.Dh(),this.b):-1-qi(n.Dh(),this.e),null,f)),f&&f.oj()),n.vh()&&n.wh()&&ai(n,new M8(n,9,this.e,h,d));}return b;}else {return b;}},u.zk=function(n,t,i,r,c){var s,f;return f=t.li(i),Z(f)===Z(Rh)&&(f=null),t.mi(i,r),this.Mj()?Z(f)!==Z(r)&&f!=null&&(s=o(f,54),c=s.Th(n,qi(s.Dh(),this.b),null,c)):this.al()&&f!=null&&(c=o(f,54).Th(n,-1-qi(n.Dh(),this.e),null,c)),n.vh()&&n.wh()&&(!c&&(c=new _d(4)),c.nj(new M8(n,1,this.e,f,r))),c;},u.Ak=function(n,t,i,r,c){var s;return s=t.li(i),Z(s)===Z(Rh)&&(s=null),t.ni(i),n.vh()&&n.wh()&&(!c&&(c=new _d(4)),this.tk()?c.nj(new M8(n,2,this.e,s,null)):c.nj(new M8(n,1,this.e,s,null))),c;},u.Bk=function(n,t,i){var r;return r=t.li(i),r!=null;},u.Ck=function(n,t,i,r){var c,s,f,h,d;if(r!=null&&!qK(this.a,r)){throw O(new Ty(xN+(U(r,58)?yce(o(r,58).Dh()):Fte(Ds(r)))+CN+this.a+"'"));}d=t.li(i),h=d!=null,this.tk()&&Z(d)===Z(Rh)&&(d=null),f=null,this.Mj()?Z(d)!==Z(r)&&(d!=null&&(c=o(d,54),f=c.Th(n,qi(c.Dh(),this.b),null,f)),r!=null&&(c=o(r,54),f=c.Rh(n,qi(c.Dh(),this.b),null,f))):this.al()&&Z(d)!==Z(r)&&(d!=null&&(f=o(d,54).Th(n,-1-qi(n.Dh(),this.e),null,f)),r!=null&&(f=o(r,54).Rh(n,-1-qi(n.Dh(),this.e),null,f))),r==null&&this.tk()?t.mi(i,Rh):t.mi(i,r),n.vh()&&n.wh()?(s=new DR(n,1,this.e,d,r,this.tk()&&!h),f?(f.nj(s),f.oj()):ai(n,s)):f&&f.oj();},u.Ek=function(n,t,i){var r,c,s,f,h;h=t.li(i),f=h!=null,this.tk()&&Z(h)===Z(Rh)&&(h=null),s=null,h!=null&&(this.Mj()?(r=o(h,54),s=r.Th(n,qi(r.Dh(),this.b),null,s)):this.al()&&(s=o(h,54).Th(n,-1-qi(n.Dh(),this.e),null,s))),t.ni(i),n.vh()&&n.wh()?(c=new DR(n,this.tk()?2:1,this.e,h,null,f),s?(s.nj(c),s.oj()):ai(n,c)):s&&s.oj();},u.Mj=function(){return!1;},u.al=function(){return!1;},u.bl=function(){return!1;},u.tk=function(){return!1;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),y(575,410,{},KD),u.al=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),y(1359,575,{},DAe),u.bl=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),y(787,575,{},NZ),u.tk=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),y(1361,787,{},RAe),u.bl=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),y(650,575,{},eR),u.Mj=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),y(1360,650,{},K$e),u.bl=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),y(788,650,{},mee),u.tk=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),y(1362,788,{},H$e),u.bl=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),y(651,410,{},OZ),u.bl=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),y(1363,651,{},BAe),u.tk=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),y(789,651,{},gee),u.Mj=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),y(1364,789,{},q$e),u.tk=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),y(1357,410,{},FAe),u.tk=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),y(786,410,{},pee),u.Mj=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),y(1358,786,{},U$e),u.tk=function(){return!0;},k(Mn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),y(790,576,MN,wne),u.yl=function(n){return new wne(this.a,this.c,n);},u.md=function(){return this.b;},u.zl=function(n,t,i){return xjn(this,n,this.b,i);},u.Al=function(n,t,i){return Cjn(this,n,this.b,i);},k(Mn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),y(1365,1,RU,Kxe),u.Fk=function(n){return this.a;},u.Qj=function(){return U(this.a,97)?o(this.a,97).Qj():!this.a.dc();},u.Wb=function(n){this.a.$b(),this.a.Gc(o(n,15));},u.Gk=function(){U(this.a,97)?o(this.a,97).Gk():this.a.$b();},k(Mn,"EStructuralFeatureImpl/SettingMany",1365),y(1366,576,MN,hFe),u.xl=function(n){return new UD((Ei(),_9),this.b.ri(this.a,n));},u.md=function(){return null;},u.zl=function(n,t,i){return i;},u.Al=function(n,t,i){return i;},k(Mn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),y(652,576,MN,UD),u.xl=function(n){return new UD(this.c,n);},u.md=function(){return this.a;},u.zl=function(n,t,i){return i;},u.Al=function(n,t,i){return i;},k(Mn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),y(403,506,th,my),u.aj=function(n){return ce(Yf,vn,29,n,0,1);},u.Yi=function(){return!1;},k(Mn,"ESuperAdapter/1",403),y(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},tL),u.Lh=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new _8(this,Ac,this)),this.a;}return gf(this,n-tt((hn(),dg)),pn((r=o(Cn(this,16),29),r||dg),n),t,i);},u.Uh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bc(this.Ab,n,i);case 2:return!this.a&&(this.a=new _8(this,Ac,this)),bc(this.a,n,i);}return c=o(pn((r=o(Cn(this,16),29),r||(hn(),dg)),t),69),c.wk().Ak(this,ku(this),t-tt((hn(),dg)),n,i);},u.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0;}return wf(this,n-tt((hn(),dg)),pn((t=o(Cn(this,16),29),t||dg),n));},u.bi=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab),!this.Ab&&(this.Ab=new he(Vt,this,0,3)),Zi(this.Ab,o(t,16));return;case 1:lu(this,Nt(t));return;case 2:!this.a&&(this.a=new _8(this,Ac,this)),bt(this.a),!this.a&&(this.a=new _8(this,Ac,this)),Zi(this.a,o(t,16));return;}yf(this,n-tt((hn(),dg)),pn((i=o(Cn(this,16),29),i||dg),n),t);},u.ii=function(){return hn(),dg;},u.ki=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new he(Vt,this,0,3)),bt(this.Ab);return;case 1:lu(this,null);return;case 2:!this.a&&(this.a=new _8(this,Ac,this)),bt(this.a);return;}vf(this,n-tt((hn(),dg)),pn((t=o(Cn(this,16),29),t||dg),n));},k(Mn,"ETypeParameterImpl",457),y(458,83,so,_8),u.Nj=function(n,t){return qAn(this,o(n,89),t);},u.Oj=function(n,t){return UAn(this,o(n,89),t);},k(Mn,"ETypeParameterImpl/1",458),y(647,45,rm,SL),u.ec=function(){return new dM(this);},k(Mn,"ETypeParameterImpl/2",647),y(570,ba,Yu,dM),u.Fc=function(n){return h$e(this,o(n,89));},u.Gc=function(n){var t,i,r;for(r=!1,i=n.Kc();i.Ob();){t=o(i.Pb(),89),Jt(this.a,t,"")==null&&(r=!0);}return r;},u.$b=function(){cs(this.a);},u.Hc=function(n){return pu(this.a,n);},u.Kc=function(){var n;return n=new Y0(new P0(this.a).a),new wM(n);},u.Mc=function(n){return tKe(this,n);},u.gc=function(){return U5(this.a);},k(Mn,"ETypeParameterImpl/2/1",570),y(571,1,Rr,wM),u.Nb=function(n){Xr(this,n);},u.Pb=function(){return o(_b(this.a).ld(),89);},u.Ob=function(){return this.a.b;},u.Qb=function(){aHe(this.a);},k(Mn,"ETypeParameterImpl/2/1/1",571),y(1329,45,rm,PCe),u._b=function(n){return Dr(n)?BR(this,n):!!Mc(this.f,n);},u.xc=function(n){var t,i;return t=Dr(n)?Xo(this,n):Jc(Mc(this.f,n)),U(t,851)?(i=o(t,851),t=i.Kk(),Jt(this,o(n,241),t),t):t??(n==null?(qL(),p0n):null);},k(Mn,"EValidatorRegistryImpl",1329),y(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Z9e),u.ri=function(n,t){switch(n.hk()){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 t==null?null:uo(t);case 25:return FTn(t);case 27:return eTn(t);case 28:return nTn(t);case 29:return t==null?null:qOe(p9[0],o(t,206));case 41:return t==null?"":A0(o(t,297));case 42:return uo(t);case 50:return Nt(t);default:throw O(new In(S6+n.xe()+Ub));}},u.si=function(n){var t,i,r,c,s,f,h,d,b,m,E,S,T,x,I,D;switch(n.G==-1&&(n.G=(S=Gs(n),S?V1(S.vi(),n):-1)),n.G){case 0:return i=new kL,i;case 1:return t=new OY,t;case 2:return r=new DY,r;case 4:return c=new bM,c;case 5:return s=new ICe,s;case 6:return f=new nCe,f;case 7:return h=new RY,h;case 10:return b=new rM,b;case 11:return m=new EL,m;case 12:return E=new oRe,E;case 13:return T=new _L,T;case 14:return x=new LZ,x;case 17:return I=new q9e,I;case 18:return d=new Fw,d;case 19:return D=new tL,D;default:throw O(new In(EU+n.zb+Ub));}},u.ti=function(n,t){switch(n.hk()){case 20:return t==null?null:new rQ(t);case 21:return t==null?null:new xd(t);case 23:case 22:return t==null?null:ZIn(t);case 26:case 24:return t==null?null:E_(Ys(t,-128,127)<<24>>24);case 25:return mRn(t);case 27:return FNn(t);case 28:return KNn(t);case 29:return l$n(t);case 32:case 31:return t==null?null:ip(t);case 38:case 37:return t==null?null:new kJ(t);case 40:case 39:return t==null?null:je(Ys(t,rc,fi));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:o1(jP(t));case 49:case 48:return t==null?null:P4(Ys(t,IN,32767)<<16>>16);case 50:return t;default:throw O(new In(S6+n.xe()+Ub));}},k(Mn,"EcoreFactoryImpl",1349),y(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},IDe),u.gb=!1,u.hb=!1;var P2e,g0n=!1;k(Mn,"EcorePackageImpl",560),y(1234,1,{851:1},eEe),u.Kk=function(){return tAe(),m0n;},k(Mn,"EcorePackageImpl/1",1234),y(1243,1,Yt,nEe),u.fk=function(n){return U(n,155);},u.gk=function(n){return ce(pT,vn,155,n,0,1);},k(Mn,"EcorePackageImpl/10",1243),y(1244,1,Yt,tEe),u.fk=function(n){return U(n,197);},u.gk=function(n){return ce(CW,vn,197,n,0,1);},k(Mn,"EcorePackageImpl/11",1244),y(1245,1,Yt,iEe),u.fk=function(n){return U(n,58);},u.gk=function(n){return ce(g0,vn,58,n,0,1);},k(Mn,"EcorePackageImpl/12",1245),y(1246,1,Yt,rEe),u.fk=function(n){return U(n,411);},u.gk=function(n){return ce(Jf,Eae,62,n,0,1);},k(Mn,"EcorePackageImpl/13",1246),y(1247,1,Yt,cEe),u.fk=function(n){return U(n,241);},u.gk=function(n){return ce(Wl,vn,241,n,0,1);},k(Mn,"EcorePackageImpl/14",1247),y(1248,1,Yt,oEe),u.fk=function(n){return U(n,518);},u.gk=function(n){return ce(ag,vn,2116,n,0,1);},k(Mn,"EcorePackageImpl/15",1248),y(1249,1,Yt,uEe),u.fk=function(n){return U(n,102);},u.gk=function(n){return ce(Yp,dm,19,n,0,1);},k(Mn,"EcorePackageImpl/16",1249),y(1250,1,Yt,sEe),u.fk=function(n){return U(n,179);},u.gk=function(n){return ce(Ru,dm,179,n,0,1);},k(Mn,"EcorePackageImpl/17",1250),y(1251,1,Yt,fEe),u.fk=function(n){return U(n,481);},u.gk=function(n){return ce(Wp,vn,481,n,0,1);},k(Mn,"EcorePackageImpl/18",1251),y(1252,1,Yt,lEe),u.fk=function(n){return U(n,561);},u.gk=function(n){return ce(Io,min,561,n,0,1);},k(Mn,"EcorePackageImpl/19",1252),y(1235,1,Yt,aEe),u.fk=function(n){return U(n,331);},u.gk=function(n){return ce(Xp,dm,35,n,0,1);},k(Mn,"EcorePackageImpl/2",1235),y(1253,1,Yt,hEe),u.fk=function(n){return U(n,248);},u.gk=function(n){return ce(Ac,$in,89,n,0,1);},k(Mn,"EcorePackageImpl/20",1253),y(1254,1,Yt,dEe),u.fk=function(n){return U(n,457);},u.gk=function(n){return ce(Mu,vn,850,n,0,1);},k(Mn,"EcorePackageImpl/21",1254),y(1255,1,Yt,wEe),u.fk=function(n){return Cg(n);},u.gk=function(n){return ce(rr,_e,485,n,8,1);},k(Mn,"EcorePackageImpl/22",1255),y(1256,1,Yt,bEe),u.fk=function(n){return U(n,195);},u.gk=function(n){return ce(es,_e,195,n,0,2);},k(Mn,"EcorePackageImpl/23",1256),y(1257,1,Yt,gEe),u.fk=function(n){return U(n,222);},u.gk=function(n){return ce(I3,_e,222,n,0,1);},k(Mn,"EcorePackageImpl/24",1257),y(1258,1,Yt,pEe),u.fk=function(n){return U(n,180);},u.gk=function(n){return ce(w7,_e,180,n,0,1);},k(Mn,"EcorePackageImpl/25",1258),y(1259,1,Yt,mEe),u.fk=function(n){return U(n,206);},u.gk=function(n){return ce(FN,_e,206,n,0,1);},k(Mn,"EcorePackageImpl/26",1259),y(1260,1,Yt,vEe),u.fk=function(n){return!1;},u.gk=function(n){return ce(X2e,vn,2215,n,0,1);},k(Mn,"EcorePackageImpl/27",1260),y(1261,1,Yt,yEe),u.fk=function(n){return Ig(n);},u.gk=function(n){return ce(mr,_e,345,n,7,1);},k(Mn,"EcorePackageImpl/28",1261),y(1262,1,Yt,kEe),u.fk=function(n){return U(n,61);},u.gk=function(n){return ce(l2e,bp,61,n,0,1);},k(Mn,"EcorePackageImpl/29",1262),y(1236,1,Yt,EEe),u.fk=function(n){return U(n,519);},u.gk=function(n){return ce(Vt,{3:1,4:1,5:1,2033:1},598,n,0,1);},k(Mn,"EcorePackageImpl/3",1236),y(1263,1,Yt,_Ee),u.fk=function(n){return U(n,582);},u.gk=function(n){return ce(d2e,vn,2039,n,0,1);},k(Mn,"EcorePackageImpl/30",1263),y(1264,1,Yt,SEe),u.fk=function(n){return U(n,160);},u.gk=function(n){return ce(L2e,bp,160,n,0,1);},k(Mn,"EcorePackageImpl/31",1264),y(1265,1,Yt,jEe),u.fk=function(n){return U(n,76);},u.gk=function(n){return ce(i$,Uin,76,n,0,1);},k(Mn,"EcorePackageImpl/32",1265),y(1266,1,Yt,TEe),u.fk=function(n){return U(n,161);},u.gk=function(n){return ce(P6,_e,161,n,0,1);},k(Mn,"EcorePackageImpl/33",1266),y(1267,1,Yt,MEe),u.fk=function(n){return U(n,17);},u.gk=function(n){return ce(Zr,_e,17,n,0,1);},k(Mn,"EcorePackageImpl/34",1267),y(1268,1,Yt,xEe),u.fk=function(n){return U(n,297);},u.gk=function(n){return ce($ae,vn,297,n,0,1);},k(Mn,"EcorePackageImpl/35",1268),y(1269,1,Yt,CEe),u.fk=function(n){return U(n,168);},u.gk=function(n){return ce(zb,_e,168,n,0,1);},k(Mn,"EcorePackageImpl/36",1269),y(1270,1,Yt,IEe),u.fk=function(n){return U(n,85);},u.gk=function(n){return ce(Lae,vn,85,n,0,1);},k(Mn,"EcorePackageImpl/37",1270),y(1271,1,Yt,PEe),u.fk=function(n){return U(n,599);},u.gk=function(n){return ce(N2e,vn,599,n,0,1);},k(Mn,"EcorePackageImpl/38",1271),y(1272,1,Yt,NEe),u.fk=function(n){return!1;},u.gk=function(n){return ce(Y2e,vn,2216,n,0,1);},k(Mn,"EcorePackageImpl/39",1272),y(1237,1,Yt,OEe),u.fk=function(n){return U(n,90);},u.gk=function(n){return ce(Yf,vn,29,n,0,1);},k(Mn,"EcorePackageImpl/4",1237),y(1273,1,Yt,AEe),u.fk=function(n){return U(n,191);},u.gk=function(n){return ce(Vb,_e,191,n,0,1);},k(Mn,"EcorePackageImpl/40",1273),y(1274,1,Yt,$Ee),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(Mn,"EcorePackageImpl/41",1274),y(1275,1,Yt,LEe),u.fk=function(n){return U(n,596);},u.gk=function(n){return ce(h2e,vn,596,n,0,1);},k(Mn,"EcorePackageImpl/42",1275),y(1276,1,Yt,DEe),u.fk=function(n){return!1;},u.gk=function(n){return ce(J2e,_e,2217,n,0,1);},k(Mn,"EcorePackageImpl/43",1276),y(1277,1,Yt,REe),u.fk=function(n){return U(n,44);},u.gk=function(n){return ce(pw,xP,44,n,0,1);},k(Mn,"EcorePackageImpl/44",1277),y(1238,1,Yt,BEe),u.fk=function(n){return U(n,142);},u.gk=function(n){return ce(Xl,vn,142,n,0,1);},k(Mn,"EcorePackageImpl/5",1238),y(1239,1,Yt,FEe),u.fk=function(n){return U(n,156);},u.gk=function(n){return ce($W,vn,156,n,0,1);},k(Mn,"EcorePackageImpl/6",1239),y(1240,1,Yt,KEe),u.fk=function(n){return U(n,469);},u.gk=function(n){return ce(t$,vn,685,n,0,1);},k(Mn,"EcorePackageImpl/7",1240),y(1241,1,Yt,HEe),u.fk=function(n){return U(n,582);},u.gk=function(n){return ce(v1,vn,694,n,0,1);},k(Mn,"EcorePackageImpl/8",1241),y(1242,1,Yt,qEe),u.fk=function(n){return U(n,480);},u.gk=function(n){return ce(g9,vn,480,n,0,1);},k(Mn,"EcorePackageImpl/9",1242),y(1038,2080,pin,QCe),u.Mi=function(n,t){xCn(this,o(t,424));},u.Qi=function(n,t){zWe(this,n,o(t,424));},k(Mn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),y(1039,152,ij,yDe),u.jj=function(){return this.a.a;},k(Mn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),y(1067,1066,{},AOe),k("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var N2e=Vi(Gin,"Resource");y(799,1524,zin),u.Hl=function(n){},u.Il=function(n){},u.El=function(){return!this.a&&(this.a=new bL(this)),this.a;},u.Fl=function(n){var t,i,r,c,s;if(r=n.length,r>0){if(Pn(0,n.length),n.charCodeAt(0)==47){for(s=new fu(4),c=1,t=1;t0&&(n=(zr(0,i,n.length),n.substr(0,i))));}}return iDn(this,n);},u.Gl=function(){return this.c;},u.Ib=function(){var n;return A0(this.Rm)+"@"+(n=xi(this)>>>0,n.toString(16))+" uri='"+this.d+"'";},u.b=!1,k(BU,"ResourceImpl",799),y(1525,799,zin,Hxe),k(BU,"BinaryResourceImpl",1525),y(1190,708,OU),u.bj=function(n){return U(n,58)?W9n(this,o(n,58)):U(n,599)?new Hn(o(n,599).El()):Z(n)===Z(this.f)?o(n,16).Kc():(Ky(),yT.a);},u.Ob=function(){return woe(this);},u.a=!1,k(Ri,"EcoreUtil/ContentTreeIterator",1190),y(1526,1190,OU,YLe),u.bj=function(n){return Z(n)===Z(this.f)?o(n,15).Kc():new VBe(o(n,58));},k(BU,"ResourceImpl/5",1526),y(658,2092,Ain,bL),u.Hc=function(n){return this.i<=4?q4(this,n):U(n,54)&&o(n,54).Jh()==this.a;},u.Mi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0));},u.Oi=function(n,t){n==0?this.a.b||(this.a.b=!0):wB(this,n,t);},u.Qi=function(n,t){},u.Ri=function(n,t,i){},u.Lj=function(){return 2;},u.jj=function(){return this.a;},u.Mj=function(){return!0;},u.Nj=function(n,t){var i;return i=o(n,54),t=i.fi(this.a,t),t;},u.Oj=function(n,t){var i;return i=o(n,54),i.fi(null,t);},u.Pj=function(){return!1;},u.Si=function(){return!0;},u.aj=function(n){return ce(g0,vn,58,n,0,1);},u.Yi=function(){return!1;},k(BU,"ResourceImpl/ContentsEList",658),y(970,2062,s6,qxe),u.fd=function(n){return this.a.Ki(n);},u.gc=function(){return this.a.gc();},k(Ri,"AbstractSequentialInternalEList/1",970);var O2e,A2e,ec,$2e;y(634,1,{},Q$e);var r$,c$;k(Ri,"BasicExtendedMetaData",634),y(1181,1,{},eOe),u.Jl=function(){return null;},u.Kl=function(){return this.a==-2&&Mvn(this,i$n(this.d,this.b)),this.a;},u.Ll=function(){return null;},u.Ml=function(){return dn(),dn(),mc;},u.xe=function(){return this.c==M6&&xvn(this,gze(this.d,this.b)),this.c;},u.Nl=function(){return 0;},u.a=-2,u.c=M6,k(Ri,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),y(1182,1,{},_Be),u.Jl=function(){return this.a==(r4(),r$)&&Pvn(this,tKn(this.f,this.b)),this.a;},u.Kl=function(){return 0;},u.Ll=function(){return this.c==(r4(),r$)&&Cvn(this,iKn(this.f,this.b)),this.c;},u.Ml=function(){return!this.d&&Ovn(this,KHn(this.f,this.b)),this.d;},u.xe=function(){return this.e==M6&&$vn(this,gze(this.f,this.b)),this.e;},u.Nl=function(){return this.g==-2&&Dvn(this,EAn(this.f,this.b)),this.g;},u.e=M6,u.g=-2,k(Ri,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),y(1180,1,{},nOe),u.b=!1,u.c=!1,k(Ri,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),y(1183,1,{},SBe),u.c=-2,u.e=M6,u.f=M6,k(Ri,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),y(593,632,so,Ix),u.Lj=function(){return this.c;},u.ol=function(){return!1;},u.Wi=function(n,t){return t;},u.c=0,k(Ri,"EDataTypeEList",593);var L2e=Vi(Ri,"FeatureMap");y(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},er),u.bd=function(n,t){kBn(this,n,o(t,76));},u.Fc=function(n){return BRn(this,o(n,76));},u.Hi=function(n){G7n(this,o(n,76));},u.Nj=function(n,t){return h5n(this,o(n,76),t);},u.Oj=function(n,t){return oee(this,o(n,76),t);},u.Ti=function(n,t){return zKn(this,n,t);},u.Wi=function(n,t){return OUn(this,n,o(t,76));},u.hd=function(n,t){return sFn(this,n,o(t,76));},u.Uj=function(n,t){return d5n(this,o(n,76),t);},u.Vj=function(n,t){return M$e(this,o(n,76),t);},u.Wj=function(n,t,i){return fAn(this,o(n,76),o(t,76),i);},u.Zi=function(n,t){return sK(this,n,o(t,76));},u.Ol=function(n,t){return cue(this,n,t);},u.cd=function(n,t){var i,r,c,s,f,h,d,b,m;for(b=new mb(t.gc()),c=t.Kc();c.Ob();){if(r=o(c.Pb(),76),s=r.Lk(),f1(this.e,s)){(!s.Si()||!yC(this,s,r.md())&&!q4(b,r))&&pt(b,r);}else{for(m=Eu(this.e.Dh(),s),i=o(this.g,124),f=!0,h=0;h=0;){if(t=n[this.c],this.k.am(t.Lk())){return this.j=this.f?t:t.md(),this.i=-2,!0;}}return this.i=-1,this.g=-1,!1;},k(Ri,"BasicFeatureMap/FeatureEIterator",420),y(676,420,Eh,jD),u.ul=function(){return!0;},k(Ri,"BasicFeatureMap/ResolvingFeatureEIterator",676),y(968,496,jN,UOe),u.pj=function(){return this;},k(Ri,"EContentsEList/1",968),y(969,496,jN,wOe),u.ul=function(){return!1;},k(Ri,"EContentsEList/2",969),y(967,287,TN,GOe),u.wl=function(n){},u.Ob=function(){return!1;},u.Sb=function(){return!1;},k(Ri,"EContentsEList/FeatureIteratorImpl/1",967),y(840,593,so,dZ),u.Ni=function(){this.a=!0;},u.Qj=function(){return this.a;},u.Gk=function(){var n;bt(this),Ns(this.e)?(n=this.a,this.a=!1,ai(this.e,new ll(this.e,2,this.c,n,!1))):this.a=!1;},u.a=!1,k(Ri,"EDataTypeEList/Unsettable",840),y(1958,593,so,QOe),u.Si=function(){return!0;},k(Ri,"EDataTypeUniqueEList",1958),y(1959,840,so,ZOe),u.Si=function(){return!0;},k(Ri,"EDataTypeUniqueEList/Unsettable",1959),y(147,83,so,qu),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectContainmentEList/Resolving",147),y(1184,555,so,eAe),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectContainmentEList/Unsettable/Resolving",1184),y(766,14,so,ZZ),u.Ni=function(){this.a=!0;},u.Qj=function(){return this.a;},u.Gk=function(){var n;bt(this),Ns(this.e)?(n=this.a,this.a=!1,ai(this.e,new ll(this.e,2,this.c,n,!1))):this.a=!1;},u.a=!1,k(Ri,"EObjectContainmentWithInverseEList/Unsettable",766),y(1222,766,so,d$e),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),y(757,505,so,wZ),u.Ni=function(){this.a=!0;},u.Qj=function(){return this.a;},u.Gk=function(){var n;bt(this),Ns(this.e)?(n=this.a,this.a=!1,ai(this.e,new ll(this.e,2,this.c,n,!1))):this.a=!1;},u.a=!1,k(Ri,"EObjectEList/Unsettable",757),y(338,505,so,M2),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectResolvingEList",338),y(1844,757,so,nAe),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectResolvingEList/Unsettable",1844),y(1527,1,{},UEe);var p0n;k(Ri,"EObjectValidator",1527),y(559,505,so,Vx),u.il=function(){return this.d;},u.jl=function(){return this.b;},u.Mj=function(){return!0;},u.ml=function(){return!0;},u.b=0,k(Ri,"EObjectWithInverseEList",559),y(1225,559,so,w$e),u.ll=function(){return!0;},k(Ri,"EObjectWithInverseEList/ManyInverse",1225),y(635,559,so,zD),u.Ni=function(){this.a=!0;},u.Qj=function(){return this.a;},u.Gk=function(){var n;bt(this),Ns(this.e)?(n=this.a,this.a=!1,ai(this.e,new ll(this.e,2,this.c,n,!1))):this.a=!1;},u.a=!1,k(Ri,"EObjectWithInverseEList/Unsettable",635),y(1224,635,so,b$e),u.ll=function(){return!0;},k(Ri,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),y(767,559,so,eee),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectWithInverseResolvingEList",767),y(32,767,so,bn),u.ll=function(){return!0;},k(Ri,"EObjectWithInverseResolvingEList/ManyInverse",32),y(768,635,so,nee),u.nl=function(){return!0;},u.Wi=function(n,t){return w3(this,n,o(t,58));},k(Ri,"EObjectWithInverseResolvingEList/Unsettable",768),y(1223,768,so,g$e),u.ll=function(){return!0;},k(Ri,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),y(1185,632,so),u.Li=function(){return(this.b&1792)==0;},u.Ni=function(){this.b|=1;},u.kl=function(){return(this.b&4)!=0;},u.Mj=function(){return(this.b&40)!=0;},u.ll=function(){return(this.b&16)!=0;},u.ml=function(){return(this.b&8)!=0;},u.nl=function(){return(this.b&kp)!=0;},u.al=function(){return(this.b&32)!=0;},u.ol=function(){return(this.b&gl)!=0;},u.fk=function(n){return this.d?tFe(this.d,n):this.Lk().Hk().fk(n);},u.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0;},u.Si=function(){return(this.b&128)!=0;},u.Gk=function(){var n;bt(this),this.b&2&&(Ns(this.e)?(n=(this.b&1)!=0,this.b&=-2,jy(this,new ll(this.e,2,qi(this.e.Dh(),this.Lk()),n,!1))):this.b&=-2);},u.Yi=function(){return(this.b&1536)==0;},u.b=0,k(Ri,"EcoreEList/Generic",1185),y(1186,1185,so,sRe),u.Lk=function(){return this.a;},k(Ri,"EcoreEList/Dynamic",1186),y(765,66,th,bJ),u.aj=function(n){return T_(this.a.a,n);},k(Ri,"EcoreEMap/1",765),y(764,83,so,Zee),u.Mi=function(n,t){BI(this.b,o(t,136));},u.Oi=function(n,t){cUe(this.b);},u.Pi=function(n,t,i){var r;++(r=this.b,o(t,136),r).e;},u.Qi=function(n,t){pF(this.b,o(t,136));},u.Ri=function(n,t,i){pF(this.b,o(i,136)),Z(i)===Z(t)&&o(i,136).Ci(l4n(o(t,136).ld())),BI(this.b,o(t,136));},k(Ri,"EcoreEMap/DelegateEObjectContainmentEList",764),y(1220,141,kae,Eqe),k(Ri,"EcoreEMap/Unsettable",1220),y(1221,764,so,p$e),u.Ni=function(){this.a=!0;},u.Qj=function(){return this.a;},u.Gk=function(){var n;bt(this),Ns(this.e)?(n=this.a,this.a=!1,ai(this.e,new ll(this.e,2,this.c,n,!1))):this.a=!1;},u.a=!1,k(Ri,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),y(1189,215,rm,fDe),u.a=!1,u.b=!1,k(Ri,"EcoreUtil/Copier",1189),y(759,1,Rr,VBe),u.Nb=function(n){Xr(this,n);},u.Ob=function(){return nze(this);},u.Pb=function(){var n;return nze(this),n=this.b,this.b=null,n;},u.Qb=function(){this.a.Qb();},k(Ri,"EcoreUtil/ProperContentIterator",759),y(1528,1527,{},USe);var m0n;k(Ri,"EcoreValidator",1528);var v0n;Vi(Ri,"FeatureMapUtil/Validator"),y(1295,1,{2041:1},GEe),u.am=function(n){return!0;},k(Ri,"FeatureMapUtil/1",1295),y(773,1,{2041:1},Aue),u.am=function(n){var t;return this.c==n?!0:(t=Le(qn(this.a,n)),t==null?fKn(this,n)?(VFe(this.a,n,(jn(),I6)),!0):(VFe(this.a,n,(jn(),n0)),!1):t==(jn(),I6));},u.e=!1;var BW;k(Ri,"FeatureMapUtil/BasicValidator",773),y(774,45,rm,aZ),k(Ri,"FeatureMapUtil/BasicValidator/Cache",774),y(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},IE),u.bd=function(n,t){LYe(this.c,this.b,n,t);},u.Fc=function(n){return cue(this.c,this.b,n);},u.cd=function(n,t){return Iqn(this.c,this.b,n,t);},u.Gc=function(n){return w8(this,n);},u.Gi=function(n,t){jTn(this.c,this.b,n,t);},u.Wk=function(n,t){return Joe(this.c,this.b,n,t);},u.$i=function(n){return yP(this.c,this.b,n,!1);},u.Ii=function(){return TOe(this.c,this.b);},u.Ji=function(){return Jyn(this.c,this.b);},u.Ki=function(n){return Ijn(this.c,this.b,n);},u.Xk=function(n,t){return YAe(this,n,t);},u.$b=function(){pv(this);},u.Hc=function(n){return yC(this.c,this.b,n);},u.Ic=function(n){return CMn(this.c,this.b,n);},u.Xb=function(n){return yP(this.c,this.b,n,!0);},u.Fk=function(n){return this;},u.dd=function(n){return DSn(this.c,this.b,n);},u.dc=function(){return cx(this);},u.Qj=function(){return!V_(this.c,this.b);},u.Kc=function(){return bTn(this.c,this.b);},u.ed=function(){return gTn(this.c,this.b);},u.fd=function(n){return VCn(this.c,this.b,n);},u.Ti=function(n,t){return JJe(this.c,this.b,n,t);},u.Ui=function(n,t){Ojn(this.c,this.b,n,t);},u.gd=function(n){return CWe(this.c,this.b,n);},u.Mc=function(n){return PKn(this.c,this.b,n);},u.hd=function(n,t){return oQe(this.c,this.b,n,t);},u.Wb=function(n){nP(this.c,this.b),w8(this,o(n,15));},u.gc=function(){return zCn(this.c,this.b);},u.Pc=function(){return B_n(this.c,this.b);},u.Qc=function(n){return RSn(this.c,this.b,n);},u.Ib=function(){var n,t;for(t=new T1,t.a+="[",n=TOe(this.c,this.b);uF(n);){Lc(t,g8(LI(n))),uF(n)&&(t.a+=gc);}return t.a+="]",t.a;},u.Gk=function(){nP(this.c,this.b);},k(Ri,"FeatureMapUtil/FeatureEList",509),y(644,39,ij,iB),u.hj=function(n){return ik(this,n);},u.mj=function(n){var t,i,r,c,s,f,h;switch(this.d){case 1:case 2:{if(s=n.jj(),Z(s)===Z(this.c)&&ik(this,null)==n.hj(null)){return this.g=n.ij(),n.gj()==1&&(this.d=1),!0;}break;}case 3:{switch(c=n.gj(),c){case 3:{if(s=n.jj(),Z(s)===Z(this.c)&&ik(this,null)==n.hj(null)){return this.d=5,t=new mb(2),pt(t,this.g),pt(t,n.ij()),this.g=t,!0;}break;}}break;}case 5:{switch(c=n.gj(),c){case 3:{if(s=n.jj(),Z(s)===Z(this.c)&&ik(this,null)==n.hj(null)){return i=o(this.g,16),i.Fc(n.ij()),!0;}break;}}break;}case 4:{switch(c=n.gj(),c){case 3:{if(s=n.jj(),Z(s)===Z(this.c)&&ik(this,null)==n.hj(null)){return this.d=1,this.g=n.ij(),!0;}break;}case 4:{if(s=n.jj(),Z(s)===Z(this.c)&&ik(this,null)==n.hj(null)){return this.d=6,h=new mb(2),pt(h,this.n),pt(h,n.kj()),this.n=h,f=R(L(vt,1),Gt,28,15,[this.o,n.lj()]),this.g=f,!0;}break;}}break;}case 6:{switch(c=n.gj(),c){case 4:{if(s=n.jj(),Z(s)===Z(this.c)&&ik(this,null)==n.hj(null)){return i=o(this.n,16),i.Fc(n.kj()),f=o(this.g,53),r=ce(vt,Gt,28,f.length+1,15,1),Uo(f,0,r,0,f.length),r[f.length]=n.lj(),this.g=r,!0;}break;}}break;}}return!1;},k(Ri,"FeatureMapUtil/FeatureENotificationImpl",644),y(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Ax),u.Ol=function(n,t){return cue(this.c,n,t);},u.Pl=function(n,t,i){return Joe(this.c,n,t,i);},u.Ql=function(n,t,i){return _ue(this.c,n,t,i);},u.Rl=function(){return this;},u.Sl=function(n,t){return _S(this.c,n,t);},u.Tl=function(n){return o(yP(this.c,this.b,n,!1),76).Lk();},u.Ul=function(n){return o(yP(this.c,this.b,n,!1),76).md();},u.Vl=function(){return this.a;},u.Wl=function(n){return!V_(this.c,n);},u.Xl=function(n,t){kP(this.c,n,t);},u.Yl=function(n){return jqe(this.c,n);},u.Zl=function(n){iVe(this.c,n);},k(Ri,"FeatureMapUtil/FeatureFeatureMap",564),y(1294,1,RU,ZNe),u.Fk=function(n){return yP(this.b,this.a,-1,n);},u.Qj=function(){return!V_(this.b,this.a);},u.Wb=function(n){kP(this.b,this.a,n);},u.Gk=function(){nP(this.b,this.a);},k(Ri,"FeatureMapUtil/FeatureValue",1294);var Z3,FW,KW,ey,y0n,ET=Vi(AN,"AnyType");y(680,63,l1,NL),k(AN,"InvalidDatatypeValueException",680);var o$=Vi(AN,Win),_T=Vi(AN,Xin),D2e=Vi(AN,Yin),k0n,Ao,R2e,Aw,E0n,_0n,S0n,j0n,T0n,M0n,x0n,C0n,I0n,P0n,N0n,Xm,O0n,Ym,k9,A0n,wg,ST,jT,$0n,E9,_9;y(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},AJ),u.Lh=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new er(this,0)),this.c):(!this.c&&(this.c=new er(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new er(this,0)),o(Yo(this.c,(Ei(),Aw)),160)):(!this.c&&(this.c=new er(this,0)),o(o(Yo(this.c,(Ei(),Aw)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new er(this,2)),this.b):(!this.b&&(this.b=new er(this,2)),this.b.b);}return gf(this,n-tt(this.ii()),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():this.ii(),n),t,i);},u.Uh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new er(this,0)),vS(this.c,n,i);case 1:return(!this.c&&(this.c=new er(this,0)),o(o(Yo(this.c,(Ei(),Aw)),160),71)).Xk(n,i);case 2:return!this.b&&(this.b=new er(this,2)),vS(this.b,n,i);}return r=o(pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():this.ii(),t),69),r.wk().Ak(this,Dte(this),t-tt(this.ii()),n,i);},u.Wh=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new er(this,0)),o(Yo(this.c,(Ei(),Aw)),160)).dc();case 2:return!!this.b&&this.b.i!=0;}return wf(this,n-tt(this.ii()),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():this.ii(),n));},u.bi=function(n,t){switch(n){case 0:!this.c&&(this.c=new er(this,0)),YE(this.c,t);return;case 1:(!this.c&&(this.c=new er(this,0)),o(o(Yo(this.c,(Ei(),Aw)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new er(this,2)),YE(this.b,t);return;}yf(this,n-tt(this.ii()),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():this.ii(),n),t);},u.ii=function(){return Ei(),R2e;},u.ki=function(n){switch(n){case 0:!this.c&&(this.c=new er(this,0)),bt(this.c);return;case 1:(!this.c&&(this.c=new er(this,0)),o(Yo(this.c,(Ei(),Aw)),160)).$b();return;case 2:!this.b&&(this.b=new er(this,2)),bt(this.b);return;}vf(this,n-tt(this.ii()),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():this.ii(),n));},u.Ib=function(){var n;return this.j&4?dl(this):(n=new $f(dl(this)),n.a+=" (mixed: ",l8(n,this.c),n.a+=", anyAttribute: ",l8(n,this.b),n.a+=")",n.a);},k(pr,"AnyTypeImpl",844),y(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},t_e),u.Lh=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b;}return gf(this,n-tt((Ei(),Xm)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Xm,n),t,i);},u.Wh=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null;}return wf(this,n-tt((Ei(),Xm)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Xm,n));},u.bi=function(n,t){switch(n){case 0:Fvn(this,Nt(t));return;case 1:Hvn(this,Nt(t));return;}yf(this,n-tt((Ei(),Xm)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Xm,n),t);},u.ii=function(){return Ei(),Xm;},u.ki=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return;}vf(this,n-tt((Ei(),Xm)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Xm,n));},u.Ib=function(){var n;return this.j&4?dl(this):(n=new $f(dl(this)),n.a+=" (data: ",Lc(n,this.a),n.a+=", target: ",Lc(n,this.b),n.a+=")",n.a);},u.a=null,u.b=null,k(pr,"ProcessingInstructionImpl",681),y(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},NCe),u.Lh=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new er(this,0)),this.c):(!this.c&&(this.c=new er(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new er(this,0)),o(Yo(this.c,(Ei(),Aw)),160)):(!this.c&&(this.c=new er(this,0)),o(o(Yo(this.c,(Ei(),Aw)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new er(this,2)),this.b):(!this.b&&(this.b=new er(this,2)),this.b.b);case 3:return!this.c&&(this.c=new er(this,0)),Nt(_S(this.c,(Ei(),k9),!0));case 4:return iee(this.a,(!this.c&&(this.c=new er(this,0)),Nt(_S(this.c,(Ei(),k9),!0))));case 5:return this.a;}return gf(this,n-tt((Ei(),Ym)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Ym,n),t,i);},u.Wh=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new er(this,0)),o(Yo(this.c,(Ei(),Aw)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new er(this,0)),Nt(_S(this.c,(Ei(),k9),!0))!=null;case 4:return iee(this.a,(!this.c&&(this.c=new er(this,0)),Nt(_S(this.c,(Ei(),k9),!0))))!=null;case 5:return!!this.a;}return wf(this,n-tt((Ei(),Ym)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Ym,n));},u.bi=function(n,t){switch(n){case 0:!this.c&&(this.c=new er(this,0)),YE(this.c,t);return;case 1:(!this.c&&(this.c=new er(this,0)),o(o(Yo(this.c,(Ei(),Aw)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new er(this,2)),YE(this.b,t);return;case 3:Gne(this,Nt(t));return;case 4:Gne(this,tee(this.a,t));return;case 5:Kvn(this,o(t,156));return;}yf(this,n-tt((Ei(),Ym)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Ym,n),t);},u.ii=function(){return Ei(),Ym;},u.ki=function(n){switch(n){case 0:!this.c&&(this.c=new er(this,0)),bt(this.c);return;case 1:(!this.c&&(this.c=new er(this,0)),o(Yo(this.c,(Ei(),Aw)),160)).$b();return;case 2:!this.b&&(this.b=new er(this,2)),bt(this.b);return;case 3:!this.c&&(this.c=new er(this,0)),kP(this.c,(Ei(),k9),null);return;case 4:Gne(this,tee(this.a,null));return;case 5:this.a=null;return;}vf(this,n-tt((Ei(),Ym)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():Ym,n));},k(pr,"SimpleAnyTypeImpl",682),y(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},OCe),u.Lh=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new er(this,0)),this.a):(!this.a&&(this.a=new er(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new Vu((hn(),_c),Io,this,1)),this.b):(!this.b&&(this.b=new Vu((hn(),_c),Io,this,1)),w_(this.b));case 2:return i?(!this.c&&(this.c=new Vu((hn(),_c),Io,this,2)),this.c):(!this.c&&(this.c=new Vu((hn(),_c),Io,this,2)),w_(this.c));case 3:return!this.a&&(this.a=new er(this,0)),Yo(this.a,(Ei(),ST));case 4:return!this.a&&(this.a=new er(this,0)),Yo(this.a,(Ei(),jT));case 5:return!this.a&&(this.a=new er(this,0)),Yo(this.a,(Ei(),E9));case 6:return!this.a&&(this.a=new er(this,0)),Yo(this.a,(Ei(),_9));}return gf(this,n-tt((Ei(),wg)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():wg,n),t,i);},u.Uh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new er(this,0)),vS(this.a,n,i);case 1:return!this.b&&(this.b=new Vu((hn(),_c),Io,this,1)),_x(this.b,n,i);case 2:return!this.c&&(this.c=new Vu((hn(),_c),Io,this,2)),_x(this.c,n,i);case 5:return!this.a&&(this.a=new er(this,0)),YAe(Yo(this.a,(Ei(),E9)),n,i);}return r=o(pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():(Ei(),wg),t),69),r.wk().Ak(this,Dte(this),t-tt((Ei(),wg)),n,i);},u.Wh=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new er(this,0)),!cx(Yo(this.a,(Ei(),ST)));case 4:return!this.a&&(this.a=new er(this,0)),!cx(Yo(this.a,(Ei(),jT)));case 5:return!this.a&&(this.a=new er(this,0)),!cx(Yo(this.a,(Ei(),E9)));case 6:return!this.a&&(this.a=new er(this,0)),!cx(Yo(this.a,(Ei(),_9)));}return wf(this,n-tt((Ei(),wg)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():wg,n));},u.bi=function(n,t){switch(n){case 0:!this.a&&(this.a=new er(this,0)),YE(this.a,t);return;case 1:!this.b&&(this.b=new Vu((hn(),_c),Io,this,1)),cI(this.b,t);return;case 2:!this.c&&(this.c=new Vu((hn(),_c),Io,this,2)),cI(this.c,t);return;case 3:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),ST))),!this.a&&(this.a=new er(this,0)),w8(Yo(this.a,ST),o(t,16));return;case 4:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),jT))),!this.a&&(this.a=new er(this,0)),w8(Yo(this.a,jT),o(t,16));return;case 5:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),E9))),!this.a&&(this.a=new er(this,0)),w8(Yo(this.a,E9),o(t,16));return;case 6:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),_9))),!this.a&&(this.a=new er(this,0)),w8(Yo(this.a,_9),o(t,16));return;}yf(this,n-tt((Ei(),wg)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():wg,n),t);},u.ii=function(){return Ei(),wg;},u.ki=function(n){switch(n){case 0:!this.a&&(this.a=new er(this,0)),bt(this.a);return;case 1:!this.b&&(this.b=new Vu((hn(),_c),Io,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Vu((hn(),_c),Io,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),ST)));return;case 4:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),jT)));return;case 5:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),E9)));return;case 6:!this.a&&(this.a=new er(this,0)),pv(Yo(this.a,(Ei(),_9)));return;}vf(this,n-tt((Ei(),wg)),pn(this.j&2?(!this.k&&(this.k=new Pl),this.k).Nk():wg,n));},u.Ib=function(){var n;return this.j&4?dl(this):(n=new $f(dl(this)),n.a+=" (mixed: ",l8(n,this.a),n.a+=")",n.a);},k(pr,"XMLTypeDocumentRootImpl",683),y(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},zEe),u.ri=function(n,t){switch(n.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:uo(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Nt(t);case 6:return _6n(o(t,195));case 12:case 47:case 49:case 11:return VQe(this,n,t);case 13:return t==null?null:Oqn(o(t,247));case 15:case 14:return t==null?null:B7n(J(re(t)));case 17:return UVe((Ei(),t));case 18:return UVe(t);case 21:case 20:return t==null?null:F7n(o(t,161).a);case 27:return S6n(o(t,195));case 30:return rVe((Ei(),o(t,15)));case 31:return rVe(o(t,15));case 40:return T6n((Ei(),t));case 42:return GVe((Ei(),t));case 43:return GVe(t);case 59:case 48:return j6n((Ei(),t));default:throw O(new In(S6+n.xe()+Ub));}},u.si=function(n){var t,i,r,c,s;switch(n.G==-1&&(n.G=(i=Gs(n),i?V1(i.vi(),n):-1)),n.G){case 0:return t=new AJ,t;case 1:return r=new t_e,r;case 2:return c=new NCe,c;case 3:return s=new OCe,s;default:throw O(new In(EU+n.zb+Ub));}},u.ti=function(n,t){var i,r,c,s,f,h,d,b,m,E,S,T,x,I,D,H;switch(n.hk()){case 5:case 52:case 4:return t;case 6:return NPn(t);case 8:case 7:return t==null?null:mAn(t);case 9:return t==null?null:E_(Ys((r=Qo(t,!0),r.length>0&&(Pn(0,r.length),r.charCodeAt(0)==43)?(Pn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:E_(Ys((c=Qo(t,!0),c.length>0&&(Pn(0,c.length),c.charCodeAt(0)==43)?(Pn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Nt(Lb(this,(Ei(),S0n),t));case 12:return Nt(Lb(this,(Ei(),j0n),t));case 13:return t==null?null:new rQ(Qo(t,!0));case 15:case 14:return KRn(t);case 16:return Nt(Lb(this,(Ei(),T0n),t));case 17:return oze((Ei(),t));case 18:return oze(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Qo(t,!0);case 21:case 20:return JRn(t);case 22:return Nt(Lb(this,(Ei(),M0n),t));case 23:return Nt(Lb(this,(Ei(),x0n),t));case 24:return Nt(Lb(this,(Ei(),C0n),t));case 25:return Nt(Lb(this,(Ei(),I0n),t));case 26:return Nt(Lb(this,(Ei(),P0n),t));case 27:return yPn(t);case 30:return uze((Ei(),t));case 31:return uze(t);case 32:return t==null?null:je(Ys((m=Qo(t,!0),m.length>0&&(Pn(0,m.length),m.charCodeAt(0)==43)?(Pn(1,m.length+1),m.substr(1)):m),rc,fi));case 33:return t==null?null:new xd((E=Qo(t,!0),E.length>0&&(Pn(0,E.length),E.charCodeAt(0)==43)?(Pn(1,E.length+1),E.substr(1)):E));case 34:return t==null?null:je(Ys((S=Qo(t,!0),S.length>0&&(Pn(0,S.length),S.charCodeAt(0)==43)?(Pn(1,S.length+1),S.substr(1)):S),rc,fi));case 36:return t==null?null:o1(jP((T=Qo(t,!0),T.length>0&&(Pn(0,T.length),T.charCodeAt(0)==43)?(Pn(1,T.length+1),T.substr(1)):T)));case 37:return t==null?null:o1(jP((x=Qo(t,!0),x.length>0&&(Pn(0,x.length),x.charCodeAt(0)==43)?(Pn(1,x.length+1),x.substr(1)):x)));case 40:return pNn((Ei(),t));case 42:return sze((Ei(),t));case 43:return sze(t);case 44:return t==null?null:new xd((I=Qo(t,!0),I.length>0&&(Pn(0,I.length),I.charCodeAt(0)==43)?(Pn(1,I.length+1),I.substr(1)):I));case 45:return t==null?null:new xd((D=Qo(t,!0),D.length>0&&(Pn(0,D.length),D.charCodeAt(0)==43)?(Pn(1,D.length+1),D.substr(1)):D));case 46:return Qo(t,!1);case 47:return Nt(Lb(this,(Ei(),N0n),t));case 59:case 48:return gNn((Ei(),t));case 49:return Nt(Lb(this,(Ei(),O0n),t));case 50:return t==null?null:P4(Ys((H=Qo(t,!0),H.length>0&&(Pn(0,H.length),H.charCodeAt(0)==43)?(Pn(1,H.length+1),H.substr(1)):H),IN,32767)<<16>>16);case 51:return t==null?null:P4(Ys((s=Qo(t,!0),s.length>0&&(Pn(0,s.length),s.charCodeAt(0)==43)?(Pn(1,s.length+1),s.substr(1)):s),IN,32767)<<16>>16);case 53:return Nt(Lb(this,(Ei(),A0n),t));case 55:return t==null?null:P4(Ys((f=Qo(t,!0),f.length>0&&(Pn(0,f.length),f.charCodeAt(0)==43)?(Pn(1,f.length+1),f.substr(1)):f),IN,32767)<<16>>16);case 56:return t==null?null:P4(Ys((h=Qo(t,!0),h.length>0&&(Pn(0,h.length),h.charCodeAt(0)==43)?(Pn(1,h.length+1),h.substr(1)):h),IN,32767)<<16>>16);case 57:return t==null?null:o1(jP((d=Qo(t,!0),d.length>0&&(Pn(0,d.length),d.charCodeAt(0)==43)?(Pn(1,d.length+1),d.substr(1)):d)));case 58:return t==null?null:o1(jP((b=Qo(t,!0),b.length>0&&(Pn(0,b.length),b.charCodeAt(0)==43)?(Pn(1,b.length+1),b.substr(1)):b)));case 60:return t==null?null:je(Ys((i=Qo(t,!0),i.length>0&&(Pn(0,i.length),i.charCodeAt(0)==43)?(Pn(1,i.length+1),i.substr(1)):i),rc,fi));case 61:return t==null?null:je(Ys(Qo(t,!0),rc,fi));default:throw O(new In(S6+n.xe()+Ub));}};var L0n,B2e,D0n,F2e;k(pr,"XMLTypeFactoryImpl",2028),y(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},PDe),u.N=!1,u.O=!1;var R0n=!1;k(pr,"XMLTypePackageImpl",594),y(1961,1,{851:1},VEe),u.Kk=function(){return wue(),V0n;},k(pr,"XMLTypePackageImpl/1",1961),y(1970,1,Yt,WEe),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/10",1970),y(1971,1,Yt,XEe),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/11",1971),y(1972,1,Yt,YEe),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/12",1972),y(1973,1,Yt,JEe),u.fk=function(n){return Ig(n);},u.gk=function(n){return ce(mr,_e,345,n,7,1);},k(pr,"XMLTypePackageImpl/13",1973),y(1974,1,Yt,QEe),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/14",1974),y(1975,1,Yt,ZEe),u.fk=function(n){return U(n,15);},u.gk=function(n){return ce(xf,bp,15,n,0,1);},k(pr,"XMLTypePackageImpl/15",1975),y(1976,1,Yt,e_e),u.fk=function(n){return U(n,15);},u.gk=function(n){return ce(xf,bp,15,n,0,1);},k(pr,"XMLTypePackageImpl/16",1976),y(1977,1,Yt,n_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/17",1977),y(1978,1,Yt,i_e),u.fk=function(n){return U(n,161);},u.gk=function(n){return ce(P6,_e,161,n,0,1);},k(pr,"XMLTypePackageImpl/18",1978),y(1979,1,Yt,r_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/19",1979),y(1962,1,Yt,c_e),u.fk=function(n){return U(n,857);},u.gk=function(n){return ce(ET,vn,857,n,0,1);},k(pr,"XMLTypePackageImpl/2",1962),y(1980,1,Yt,o_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/20",1980),y(1981,1,Yt,u_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/21",1981),y(1982,1,Yt,s_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/22",1982),y(1983,1,Yt,f_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/23",1983),y(1984,1,Yt,l_e),u.fk=function(n){return U(n,195);},u.gk=function(n){return ce(es,_e,195,n,0,2);},k(pr,"XMLTypePackageImpl/24",1984),y(1985,1,Yt,a_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/25",1985),y(1986,1,Yt,h_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/26",1986),y(1987,1,Yt,d_e),u.fk=function(n){return U(n,15);},u.gk=function(n){return ce(xf,bp,15,n,0,1);},k(pr,"XMLTypePackageImpl/27",1987),y(1988,1,Yt,w_e),u.fk=function(n){return U(n,15);},u.gk=function(n){return ce(xf,bp,15,n,0,1);},k(pr,"XMLTypePackageImpl/28",1988),y(1989,1,Yt,b_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/29",1989),y(1963,1,Yt,g_e),u.fk=function(n){return U(n,681);},u.gk=function(n){return ce(o$,vn,2119,n,0,1);},k(pr,"XMLTypePackageImpl/3",1963),y(1990,1,Yt,p_e),u.fk=function(n){return U(n,17);},u.gk=function(n){return ce(Zr,_e,17,n,0,1);},k(pr,"XMLTypePackageImpl/30",1990),y(1991,1,Yt,m_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/31",1991),y(1992,1,Yt,v_e),u.fk=function(n){return U(n,168);},u.gk=function(n){return ce(zb,_e,168,n,0,1);},k(pr,"XMLTypePackageImpl/32",1992),y(1993,1,Yt,y_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/33",1993),y(1994,1,Yt,k_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/34",1994),y(1995,1,Yt,E_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/35",1995),y(1996,1,Yt,__e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/36",1996),y(1997,1,Yt,S_e),u.fk=function(n){return U(n,15);},u.gk=function(n){return ce(xf,bp,15,n,0,1);},k(pr,"XMLTypePackageImpl/37",1997),y(1998,1,Yt,j_e),u.fk=function(n){return U(n,15);},u.gk=function(n){return ce(xf,bp,15,n,0,1);},k(pr,"XMLTypePackageImpl/38",1998),y(1999,1,Yt,T_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/39",1999),y(1964,1,Yt,M_e),u.fk=function(n){return U(n,682);},u.gk=function(n){return ce(_T,vn,2120,n,0,1);},k(pr,"XMLTypePackageImpl/4",1964),y(2e3,1,Yt,x_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/40",2e3),y(2001,1,Yt,C_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/41",2001),y(2002,1,Yt,I_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/42",2002),y(2003,1,Yt,P_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/43",2003),y(2004,1,Yt,N_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/44",2004),y(2005,1,Yt,O_e),u.fk=function(n){return U(n,191);},u.gk=function(n){return ce(Vb,_e,191,n,0,1);},k(pr,"XMLTypePackageImpl/45",2005),y(2006,1,Yt,A_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/46",2006),y(2007,1,Yt,$_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/47",2007),y(2008,1,Yt,L_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/48",2008),y(2009,1,Yt,D_e),u.fk=function(n){return U(n,191);},u.gk=function(n){return ce(Vb,_e,191,n,0,1);},k(pr,"XMLTypePackageImpl/49",2009),y(1965,1,Yt,R_e),u.fk=function(n){return U(n,683);},u.gk=function(n){return ce(D2e,vn,2121,n,0,1);},k(pr,"XMLTypePackageImpl/5",1965),y(2010,1,Yt,B_e),u.fk=function(n){return U(n,168);},u.gk=function(n){return ce(zb,_e,168,n,0,1);},k(pr,"XMLTypePackageImpl/50",2010),y(2011,1,Yt,F_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/51",2011),y(2012,1,Yt,K_e),u.fk=function(n){return U(n,17);},u.gk=function(n){return ce(Zr,_e,17,n,0,1);},k(pr,"XMLTypePackageImpl/52",2012),y(1966,1,Yt,H_e),u.fk=function(n){return Dr(n);},u.gk=function(n){return ce(Be,_e,2,n,6,1);},k(pr,"XMLTypePackageImpl/6",1966),y(1967,1,Yt,q_e),u.fk=function(n){return U(n,195);},u.gk=function(n){return ce(es,_e,195,n,0,2);},k(pr,"XMLTypePackageImpl/7",1967),y(1968,1,Yt,U_e),u.fk=function(n){return Cg(n);},u.gk=function(n){return ce(rr,_e,485,n,8,1);},k(pr,"XMLTypePackageImpl/8",1968),y(1969,1,Yt,G_e),u.fk=function(n){return U(n,222);},u.gk=function(n){return ce(I3,_e,222,n,0,1);},k(pr,"XMLTypePackageImpl/9",1969);var Ca,bd,S9,u$,B;y(55,63,l1,Lt),k(nd,"RegEx/ParseException",55),y(836,1,{},$Y),u.bm=function(n){return ni*16){throw O(new Lt(Bt((Pt(),uin))));}i=i*16+c;}while(!0);if(this.a!=125){throw O(new Lt(Bt((Pt(),sin))));}if(i>x6){throw O(new Lt(Bt((Pt(),fin))));}n=i;}else{if(c=0,this.c!=0||(c=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(i=c,ri(this),this.c!=0||(c=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}i=i*16+c,n=i;}break;case 117:if(r=0,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}t=t*16+r,n=t;break;case 118:if(ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,ri(this),this.c!=0||(r=tw(this.a))<0){throw O(new Lt(Bt((Pt(),ed))));}if(t=t*16+r,t>x6){throw O(new Lt(Bt((Pt(),"parser.descappe.4"))));}n=t;break;case 65:case 90:case 122:throw O(new Lt(Bt((Pt(),lin))));}return n;},u.dm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?Vd("Nd",!0):(si(),s$);break;case 68:i=(this.e&32)==32?Vd("Nd",!1):(si(),z2e);break;case 119:i=(this.e&32)==32?Vd("IsWord",!0):(si(),b5);break;case 87:i=(this.e&32)==32?Vd("IsWord",!1):(si(),W2e);break;case 115:i=(this.e&32)==32?Vd("IsSpace",!0):(si(),ny);break;case 83:i=(this.e&32)==32?Vd("IsSpace",!1):(si(),V2e);break;default:throw O(new ho((t=n,lrn+t.toString(16))));}return i;},u.em=function(n){var t,i,r,c,s,f,h,d,b,m,E,S;for(this.b=1,ri(this),t=null,this.c==0&&this.a==94?(ri(this),n?m=(si(),si(),new Us(5)):(t=(si(),si(),new Us(4)),Jo(t,0,x6),m=new Us(4))):m=(si(),si(),new Us(4)),c=!0;(S=this.c)!=1&&!(S==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,S==10){switch(i){case 100:case 68:case 119:case 87:case 115:case 83:ap(m,this.dm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.um(m,i),i<0&&(r=!0);break;case 112:case 80:if(E=hoe(this,i),!E){throw O(new Lt(Bt((Pt(),$U))));}ap(m,E),r=!0;break;default:i=this.cm();}}else if(S==20){if(f=Ry(this.i,58,this.d),f<0){throw O(new Lt(Bt((Pt(),bae))));}if(h=!0,tc(this.i,this.d)==94&&(++this.d,h=!1),s=df(this.i,this.d,f),d=LKe(s,h,(this.e&512)==512),!d){throw O(new Lt(Bt((Pt(),tin))));}if(ap(m,d),r=!0,f+1>=this.j||tc(this.i,f+1)!=93){throw O(new Lt(Bt((Pt(),bae))));}this.d=f+2;}if(ri(this),!r){if(this.c!=0||this.a!=45){Jo(m,i,i);}else{if(ri(this),(S=this.c)==1){throw O(new Lt(Bt((Pt(),_N))));}S==0&&this.a==93?(Jo(m,i,i),Jo(m,45,45)):(b=this.a,S==10&&(b=this.cm()),ri(this),Jo(m,i,b));}}(this.e&gl)==gl&&this.c==0&&this.a==44&&ri(this);}if(this.c==1){throw O(new Lt(Bt((Pt(),_N))));}return t&&($k(t,m),m=t),X2(m),Ok(m),this.b=0,ri(this),m;},u.fm=function(){var n,t,i,r;for(i=this.em(!1);(r=this.c)!=7;){if(n=this.a,r==0&&(n==45||n==38)||r==4){if(ri(this),this.c!=9){throw O(new Lt(Bt((Pt(),rin))));}if(t=this.em(!1),r==4){ap(i,t);}else if(n==45){$k(i,t);}else if(n==38){qQe(i,t);}else {throw O(new ho("ASSERT"));}}else {throw O(new Lt(Bt((Pt(),cin))));}}return ri(this),i;},u.gm=function(){var n,t;return n=this.a-48,t=(si(),si(),new HR(12,null,n)),!this.g&&(this.g=new pM),gM(this.g,new gJ(n)),ri(this),t;},u.hm=function(){return ri(this),si(),K0n;},u.im=function(){return ri(this),si(),F0n;},u.jm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.km=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.lm=function(){return ri(this),$xn();},u.mm=function(){return ri(this),si(),q0n;},u.nm=function(){return ri(this),si(),G0n;},u.om=function(){var n;if(this.d>=this.j||((n=tc(this.i,this.d++))&65504)!=64){throw O(new Lt(Bt((Pt(),Ztn))));}return ri(this),si(),si(),new wh(0,n-64);},u.pm=function(){return ri(this),RHn();},u.qm=function(){return ri(this),si(),z0n;},u.rm=function(){var n;return n=(si(),si(),new wh(0,105)),ri(this),n;},u.sm=function(){return ri(this),si(),U0n;},u.tm=function(){return ri(this),si(),H0n;},u.um=function(n,t){return this.cm();},u.vm=function(){return ri(this),si(),U2e;},u.wm=function(){var n,t,i,r,c;if(this.d+1>=this.j){throw O(new Lt(Bt((Pt(),Ytn))));}if(r=-1,t=null,n=tc(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new pM),gM(this.g,new gJ(r)),++this.d,tc(this.i,this.d)!=41){throw O(new Lt(Bt((Pt(),bw))));}++this.d;}else {switch(n==63&&--this.d,ri(this),t=Bue(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}break;default:throw O(new Lt(Bt((Pt(),Jtn))));}}if(ri(this),c=xb(this),i=null,c.e==2){if(c.Pm()!=2){throw O(new Lt(Bt((Pt(),Qtn))));}i=c.Lm(1),c=c.Lm(0);}if(this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),si(),si(),new pHe(r,t,c,i);},u.xm=function(){return ri(this),si(),G2e;},u.ym=function(){var n;if(ri(this),n=Wx(24,xb(this)),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.zm=function(){var n;if(ri(this),n=Wx(20,xb(this)),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.Am=function(){var n;if(ri(this),n=Wx(22,xb(this)),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.Bm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j){throw O(new Lt(Bt((Pt(),dae))));}if(t==45){for(++this.d;this.d=this.j){throw O(new Lt(Bt((Pt(),dae))));}}if(t==58){if(++this.d,ri(this),r=hDe(xb(this),n,i),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}ri(this);}else if(t==41){++this.d,ri(this),r=hDe(xb(this),n,i);}else {throw O(new Lt(Bt((Pt(),Xtn))));}return r;},u.Cm=function(){var n;if(ri(this),n=Wx(21,xb(this)),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.Dm=function(){var n;if(ri(this),n=Wx(23,xb(this)),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.Em=function(){var n,t;if(ri(this),n=this.f++,t=gR(xb(this),n),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),t;},u.Fm=function(){var n;if(ri(this),n=gR(xb(this),0),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.Gm=function(n){return ri(this),this.c==5?(ri(this),Bx(n,(si(),si(),new Hg(9,n)))):Bx(n,(si(),si(),new Hg(3,n)));},u.Hm=function(n){var t;return ri(this),t=(si(),si(),new d8(2)),this.c==5?(ri(this),cw(t,T9),cw(t,n)):(cw(t,n),cw(t,T9)),t;},u.Im=function(n){return ri(this),this.c==5?(ri(this),si(),si(),new Hg(9,n)):(si(),si(),new Hg(3,n));},u.a=0,u.b=0,u.c=0,u.d=0,u.e=0,u.f=1,u.g=null,u.j=0,k(nd,"RegEx/RegexParser",836),y(1947,836,{},ACe),u.bm=function(n){return!1;},u.cm=function(){return Voe(this);},u.dm=function(n){return Z4(n);},u.em=function(n){return RZe(this);},u.fm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.gm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.hm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.im=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.jm=function(){return ri(this),Z4(67);},u.km=function(){return ri(this),Z4(73);},u.lm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.mm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.nm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.om=function(){return ri(this),Z4(99);},u.pm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.qm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.rm=function(){return ri(this),Z4(105);},u.sm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.tm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.um=function(n,t){return ap(n,Z4(t)),-1;},u.vm=function(){return ri(this),si(),si(),new wh(0,94);},u.wm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.xm=function(){return ri(this),si(),si(),new wh(0,36);},u.ym=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.zm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.Am=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.Bm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.Cm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.Dm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.Em=function(){var n;if(ri(this),n=gR(xb(this),0),this.c!=7){throw O(new Lt(Bt((Pt(),bw))));}return ri(this),n;},u.Fm=function(){throw O(new Lt(Bt((Pt(),Mf))));},u.Gm=function(n){return ri(this),Bx(n,(si(),si(),new Hg(3,n)));},u.Hm=function(n){var t;return ri(this),t=(si(),si(),new d8(2)),cw(t,n),cw(t,T9),t;},u.Im=function(n){return ri(this),si(),si(),new Hg(3,n);};var Jm=null,d5=null;k(nd,"RegEx/ParserForXMLSchema",1947),y(122,1,C6,Bw),u.Jm=function(n){throw O(new ho("Not supported."));},u.Km=function(){return-1;},u.Lm=function(n){return null;},u.Mm=function(){return null;},u.Nm=function(n){},u.Om=function(n){},u.Pm=function(){return 0;},u.Ib=function(){return this.Qm(0);},u.Qm=function(n){return this.e==11?".":"";},u.e=0;var K2e,w5,j9,B0n,H2e,Zp=null,s$,HW=null,q2e,T9,qW=null,U2e,G2e,z2e,V2e,W2e,F0n,ny,K0n,H0n,q0n,U0n,b5,G0n,z0n,WVn=k(nd,"RegEx/Token",122);y(138,122,{3:1,138:1,122:1},Us),u.Qm=function(n){var t,i,r;if(this.e==4){if(this==q2e){i=".";}else if(this==s$){i="\\d";}else if(this==b5){i="\\w";}else if(this==ny){i="\\s";}else{for(r=new T1,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Lc(r,ES(this.b[t])):(Lc(r,ES(this.b[t])),r.a+="-",Lc(r,ES(this.b[t+1])));}r.a+="]",i=r.a;}}else if(this==z2e){i="\\D";}else if(this==W2e){i="\\W";}else if(this==V2e){i="\\S";}else{for(r=new T1,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Lc(r,ES(this.b[t])):(Lc(r,ES(this.b[t])),r.a+="-",Lc(r,ES(this.b[t+1])));}r.a+="]",i=r.a;}return i;},u.a=!1,u.c=!1,k(nd,"RegEx/RangeToken",138),y(592,1,{592:1},gJ),u.a=0,k(nd,"RegEx/RegexParser/ReferencePosition",592),y(591,1,{3:1,591:1},XIe),u.Fb=function(n){var t;return n==null||!U(n,591)?!1:(t=o(n,591),un(this.b,t.b)&&this.a==t.a);},u.Hb=function(){return F1(this.b+"/"+Foe(this.a));},u.Ib=function(){return this.c.Qm(this.a);},u.a=0,k(nd,"RegEx/RegularExpression",591),y(228,122,C6,wh),u.Km=function(){return this.a;},u.Qm=function(n){var t,i,r;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:r="\\"+GD(this.a&gr);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=kc?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+df(i,i.length-6,i.length)):r=""+GD(this.a&gr);}break;case 8:this==U2e||this==G2e?r=""+GD(this.a&gr):r="\\"+GD(this.a&gr);break;default:r=null;}return r;},u.a=0,k(nd,"RegEx/Token/CharToken",228),y(318,122,C6,Hg),u.Lm=function(n){return this.a;},u.Nm=function(n){this.b=n;},u.Om=function(n){this.c=n;},u.Pm=function(){return 1;},u.Qm=function(n){var t;if(this.e==3){if(this.c<0&&this.b<0){t=this.a.Qm(n)+"*";}else if(this.c==this.b){t=this.a.Qm(n)+"{"+this.c+"}";}else if(this.c>=0&&this.b>=0){t=this.a.Qm(n)+"{"+this.c+","+this.b+"}";}else if(this.c>=0&&this.b<0){t=this.a.Qm(n)+"{"+this.c+",}";}else {throw O(new ho("Token#toString(): CLOSURE "+this.c+gc+this.b));}}else if(this.c<0&&this.b<0){t=this.a.Qm(n)+"*?";}else if(this.c==this.b){t=this.a.Qm(n)+"{"+this.c+"}?";}else if(this.c>=0&&this.b>=0){t=this.a.Qm(n)+"{"+this.c+","+this.b+"}?";}else if(this.c>=0&&this.b<0){t=this.a.Qm(n)+"{"+this.c+",}?";}else {throw O(new ho("Token#toString(): NONGREEDYCLOSURE "+this.c+gc+this.b));}return t;},u.b=0,u.c=0,k(nd,"RegEx/Token/ClosureToken",318),y(837,122,C6,cne),u.Lm=function(n){return n==0?this.a:this.b;},u.Pm=function(){return 2;},u.Qm=function(n){var t;return this.b.e==3&&this.b.Lm(0)==this.a?t=this.a.Qm(n)+"+":this.b.e==9&&this.b.Lm(0)==this.a?t=this.a.Qm(n)+"+?":t=this.a.Qm(n)+(""+this.b.Qm(n)),t;},k(nd,"RegEx/Token/ConcatToken",837),y(1945,122,C6,pHe),u.Lm=function(n){if(n==0){return this.d;}if(n==1){return this.b;}throw O(new ho("Internal Error: "+n));},u.Pm=function(){return this.b?2:1;},u.Qm=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t;},u.c=0,k(nd,"RegEx/Token/ConditionToken",1945),y(1946,122,C6,uBe),u.Lm=function(n){return this.b;},u.Pm=function(){return 1;},u.Qm=function(n){return"(?"+(this.a==0?"":Foe(this.a))+(this.c==0?"":Foe(this.c))+":"+this.b.Qm(n)+")";},u.a=0,u.c=0,k(nd,"RegEx/Token/ModifierToken",1946),y(838,122,C6,bne),u.Lm=function(n){return this.a;},u.Pm=function(){return 1;},u.Qm=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Qm(n)+")":t="("+this.a.Qm(n)+")";break;case 20:t="(?="+this.a.Qm(n)+")";break;case 21:t="(?!"+this.a.Qm(n)+")";break;case 22:t="(?<="+this.a.Qm(n)+")";break;case 23:t="(?"+this.a.Qm(n)+")";}return t;},u.b=0,k(nd,"RegEx/Token/ParenToken",838),y(530,122,{3:1,122:1,530:1},HR),u.Mm=function(){return this.b;},u.Qm=function(n){return this.e==12?"\\"+this.a:IRn(this.b);},u.a=0,k(nd,"RegEx/Token/StringToken",530),y(477,122,C6,d8),u.Jm=function(n){cw(this,n);},u.Lm=function(n){return o(lb(this.a,n),122);},u.Pm=function(){return this.a?this.a.a.c.length:0;},u.Qm=function(n){var t,i,r,c,s;if(this.e==1){if(this.a.a.c.length==2){t=o(lb(this.a,0),122),i=o(lb(this.a,1),122),i.e==3&&i.Lm(0)==t?c=t.Qm(n)+"+":i.e==9&&i.Lm(0)==t?c=t.Qm(n)+"+?":c=t.Qm(n)+(""+i.Qm(n));}else{for(s=new T1,r=0;r=this.c.b:this.a<=this.c.b;},u.Sb=function(){return this.b>0;},u.Tb=function(){return this.b;},u.Vb=function(){return this.b-1;},u.Qb=function(){throw O(new S1(prn));},u.a=0,u.b=0,k(Aae,"ExclusiveRange/RangeIterator",258);var Of=Yy(SN,"C"),vt=Yy(s7,"I"),Ts=Yy(g3,"Z"),E0=Yy(f7,"J"),es=Yy(c7,"B"),Br=Yy(o7,"D"),e2=Yy(u7,"F"),Qm=Yy(l7,"S"),XVn=Vi("org.eclipse.elk.core.labels","ILabelManager"),X2e=Vi(pc,"DiagnosticChain"),Y2e=Vi(Gin,"ResourceSet"),J2e=k(pc,"InvocationTargetException",null),W0n=(kM(),fjn),X0n=X0n=eAn;tMn(Qvn),QTn("permProps",[[["locale","default"],[mrn,"gecko1_8"]],[["locale","default"],[mrn,"safari"]]]),X0n(null,"elk",null);}).call(this);}).call(this,typeof window<"u"?window:typeof self<"u"?self:typeof window<"u"?window:{});},{}],3:[function(w,g,v){function _(A,K){if(!(A instanceof K)){throw new TypeError("Cannot call a class as a function");}}function p(A,K){if(!A){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return K&&(typeof K==="object"||typeof K==="function")?K:A;}function j(A,K){if(typeof K!=="function"&&K!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof K);}A.prototype=Object.create(K&&K.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),K&&(Object.setPrototypeOf?Object.setPrototypeOf(A,K):A.__proto__=K);}var C=w("./elk-api.js").default,$=function(A){j(K,A);function K(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_(this,K);var ee=Object.assign({},Q),Y=!1;try{w.resolve("web-worker"),Y=!0;}catch{}if(Q.workerUrl){if(Y){var Ie=w("web-worker");ee.workerFactory=function(ke){return new Ie(ke);};}else {console.warn(`Web worker requested but 'web-worker' package not installed. +`}function eBn(){return""}function cVt(n){return"<"+n.value+">"}const tBn=/["\\\\\n\r]/,nBn=/["\\\\\n\r]/g,rBn={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r"};function iBn(n){return rBn[n]}function oBn(n){return tBn.test(n)?n.replace(nBn,iBn):n}function sBn(n){const r=oBn(n.value);return n.datatype.value==="http://www.w3.org/2001/XMLSchema#string"?'"'+r+'"':n.datatype.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"?'"'+r+'"@'+n.language:'"'+r+'"^^'+cVt(n.datatype)}function aBn(n,r){const o=r(n.subject),l=r(n.predicate),h=r(n.object),b=r(n.graph);return`${o} ${l} ${h} ${b?b+" ":""}.`}function lBn(n){return"?"+n.value}function h2(n){if(!n)return null;if(n.termType==="BlankNode")return QFn(n);if(n.termType==="DefaultGraph")return eBn();if(n.termType==="Literal")return sBn(n);if(n.termType==="NamedNode")return cVt(n);if(n.termType==="Quad"||n.subject&&n.predicate&&n.object&&n.graph)return aBn(n,h2);if(n.termType==="Variable")return lBn(n);if(n[Symbol.iterator])return ZFn(n,h2);throw new Error(`unknown termType ${n.termType}`)}class cBn{constructor(r){if(this.index=new Map,r)for(const[o,l]of r)this.set(o,l)}get size(){return this.index.size}clear(){this.index.clear()}delete(r){return this.index.delete(h2(r))}*entries(){for(const[,{term:r,value:o}]of this.index)yield[r,o]}forEach(r,o){for(const l of this.entries())r.call(o,l[1],l[0],this)}get(r){const o=this.index.get(h2(r));return o&&o.value}has(r){return this.index.has(h2(r))}*keys(){for(const[,{term:r}]of this.index)yield r}set(r,o){const l=h2(r);return this.index.set(l,{term:r,value:o}),this}*values(){for(const[,{value:r}]of this.index)yield r}[Symbol.iterator](){return this.entries()[Symbol.iterator]()}}let uVt=class{termMap(r){return new cBn(r)}};uVt.exports=["termMap"];function DPt(n){try{return h2(n)}catch{return null}}class Zae{constructor(r){if(this.index=new Map,r)for(const o of r)this.add(o)}get size(){return this.index.size}add(r){const o=h2(r);return this.index.has(o)||this.index.set(o,r),this}clear(){this.index.clear()}delete(r){return r?this.index.delete(DPt(r)):!1}entries(){return this.values().entries()}forEach(r,o){return this.values().forEach(r,o)}has(r){return r?this.index.has(DPt(r)):!1}values(){return new Set(this.index.values())}keys(){return this.values()}[Symbol.iterator](){return this.index.values()}}let fVt=class{termSet(r){return new Zae(r)}};fVt.exports=["termSet"];class uBn{constructor(){this.quadLevel=new Map}add(r,o){this.quadLevel.set(h2(r),o)}has(r,o){const l=this.quadLevel.get(h2(r));return l===void 0?!1:l<=o}}function hIe({backward:n,callback:r,dataset:o,filter:l,forward:h,term:b,visited:g=new uBn}){const m=(S,_)=>{const k=I=>{for(const C of I){if(g.has(C,_))continue;g.add(C,_);const A={dataset:o,level:_,quad:C};l(A)&&(r(A),h&&m(C.object,_+1),n&&m(C.subject,_+1))}};h&&k(o.match(S)),n&&k(o.match(null,null,S))};m(b,0)}class fBn{constructor(r,{backward:o=!1,factory:l,forward:h=!0}){this.backward=o,this.factory=l,this.filter=r,this.forward=h}forEach({term:r,dataset:o},l){hIe({backward:this.backward,callback:l,dataset:o,filter:this.filter,forward:this.forward,term:r})}match({term:r,dataset:o}){const l=this.factory.dataset();return hIe({backward:this.backward,callback:({quad:h})=>l.add(h),dataset:o,filter:this.filter,forward:this.forward,term:r}),l}reduce({term:r,dataset:o},l,h){let b=h;return hIe({backward:this.backward,callback:g=>{b=l(g,b)},dataset:o,filter:this.filter,forward:this.forward,term:r}),b}}class dVt{traverser(r,{backward:o=!1,forward:l=!0}={}){return new fBn(r,{backward:o,factory:this,forward:l})}}dVt.exports=["traverser"];const dBn=new uG([bce,HMn,dMe,sVt,lVt,uVt,fVt,dVt]);function hBn(n,{checkOpen:r=!0}={}){return n!==null&&typeof n=="object"&&(n.writable||n.readable||!r||n.writable===void 0&&n.readable===void 0)&&typeof n.pipe=="function"}function bBn(n,{checkOpen:r=!0}={}){return hBn(n,{checkOpen:r})&&(n.readable||!r)&&typeof n.read=="function"&&typeof n.readable=="boolean"&&typeof n.readableObjectMode=="boolean"&&typeof n.destroy=="function"&&typeof n.destroyed=="boolean"}const pBn=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);var vS,UG,C6,a2,QN,hVt,bVt;class gBn{constructor(r,o){Y$(this,QN);Y$(this,vS);Y$(this,UG);Y$(this,C6,!1);Y$(this,a2);aS(this,vS,r),aS(this,UG,o)}next(){const r=()=>A$e(this,QN,hVt).call(this);return aS(this,a2,hb(this,a2)?hb(this,a2).then(r,r):r()),hb(this,a2)}return(r){const o=()=>A$e(this,QN,bVt).call(this,r);return hb(this,a2)?hb(this,a2).then(o,o):o()}}vS=new WeakMap,UG=new WeakMap,C6=new WeakMap,a2=new WeakMap,QN=new WeakSet,hVt=async function(){if(hb(this,C6))return{done:!0,value:void 0};let r;try{r=await hb(this,vS).read()}catch(o){throw aS(this,a2,void 0),aS(this,C6,!0),hb(this,vS).releaseLock(),o}return r.done&&(aS(this,a2,void 0),aS(this,C6,!0),hb(this,vS).releaseLock()),r},bVt=async function(r){if(hb(this,C6))return{done:!0,value:r};if(aS(this,C6,!0),!hb(this,UG)){const o=hb(this,vS).cancel(r);return hb(this,vS).releaseLock(),await o,{done:!0,value:r}}return hb(this,vS).releaseLock(),{done:!0,value:r}};const pMe=Symbol();function pVt(){return this[pMe].next()}Object.defineProperty(pVt,"name",{value:"next"});function gVt(n){return this[pMe].return(n)}Object.defineProperty(gVt,"name",{value:"return"});const wBn=Object.create(pBn,{next:{enumerable:!0,configurable:!0,writable:!0,value:pVt},return:{enumerable:!0,configurable:!0,writable:!0,value:gVt}});function mBn({preventCancel:n=!1}={}){const r=this.getReader(),o=new gBn(r,n),l=Object.create(wBn);return l[pMe]=o,l}const yBn=n=>{if(bBn(n,{checkOpen:!1})&&gMe.on!==void 0)return _Bn(n);if(typeof(n==null?void 0:n[Symbol.asyncIterator])=="function")return n;if(vBn.call(n)==="[object ReadableStream]")return mBn.call(n);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:vBn}=Object.prototype,_Bn=async function*(n){const r=new AbortController,o={};SBn(n,r,o);try{for await(const[l]of gMe.on(n,"data",{signal:r.signal}))yield l}catch(l){if(o.error!==void 0)throw o.error;if(!r.signal.aborted)throw l}finally{n.destroy()}},SBn=async(n,r,o)=>{try{await gMe.finished(n,{cleanup:!0,readable:!0,writable:!1,error:!1})}catch(l){o.error=l}finally{r.abort()}},gMe={},EBn=async(n,{init:r,convertChunk:o,getSize:l,truncateChunk:h,addChunk:b,getFinalChunk:g,finalize:m},{maxBuffer:S=Number.POSITIVE_INFINITY}={})=>{const _=yBn(n),k=r();k.length=0;try{for await(const I of _){const C=RBn(I),A=o[C](I,k);wVt({convertedChunk:A,state:k,getSize:l,truncateChunk:h,addChunk:b,maxBuffer:S})}return kBn({state:k,convertChunk:o,getSize:l,truncateChunk:h,addChunk:b,getFinalChunk:g,maxBuffer:S}),m(k)}catch(I){const C=typeof I=="object"&&I!==null?I:new Error(I);throw C.bufferedData=m(k),C}},kBn=({state:n,getSize:r,truncateChunk:o,addChunk:l,getFinalChunk:h,maxBuffer:b})=>{const g=h(n);g!==void 0&&wVt({convertedChunk:g,state:n,getSize:r,truncateChunk:o,addChunk:l,maxBuffer:b})},wVt=({convertedChunk:n,state:r,getSize:o,truncateChunk:l,addChunk:h,maxBuffer:b})=>{const g=o(n),m=r.length+g;if(m<=b){LPt(n,r,h,m);return}const S=l(n,b-r.length);throw S!==void 0&&LPt(S,r,h,b),new ABn},LPt=(n,r,o,l)=>{r.contents=o(n,r,l),r.length=l},RBn=n=>{var l;const r=typeof n;if(r==="string")return"string";if(r!=="object"||n===null)return"others";if((l=globalThis.Buffer)!=null&&l.isBuffer(n))return"buffer";const o=jPt.call(n);return o==="[object ArrayBuffer]"?"arrayBuffer":o==="[object DataView]"?"dataView":Number.isInteger(n.byteLength)&&Number.isInteger(n.byteOffset)&&jPt.call(n.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:jPt}=Object.prototype;class ABn extends Error{constructor(){super("maxBuffer exceeded");k$e(this,"name","MaxBufferError")}}const CBn=n=>n,xBn=({contents:n})=>n,$Bn=n=>{throw new Error(`Streams in object mode are not supported: ${String(n)}`)},IBn=n=>n.length;async function TBn(n,r){return EBn(n,DBn,r)}const PBn=()=>({contents:"",textDecoder:new TextDecoder}),Loe=(n,{textDecoder:r})=>r.decode(n,{stream:!0}),OBn=(n,{contents:r})=>r+n,NBn=(n,r)=>n.slice(0,r),MBn=({textDecoder:n})=>{const r=n.decode();return r===""?void 0:r},DBn={init:PBn,convertChunk:{string:CBn,buffer:Loe,arrayBuffer:Loe,dataView:Loe,typedArray:Loe,others:$Bn},getSize:IBn,truncateChunk:NBn,addChunk:OBn,getFinalChunk:MBn,finalize:xBn},LBn={rif:"http://www.w3.org/2007/rif#",v:"http://rdf.data-vocabulary.org/#",wdr:"http://www.w3.org/2007/05/powder#",xml:"http://www.w3.org/XML/1998/namespace/"},jBn={acl:"http://www.w3.org/ns/auth/acl#",as:"https://www.w3.org/ns/activitystreams#",bibo:"http://purl.org/ontology/bibo/",cc:"http://creativecommons.org/ns#",cert:"http://www.w3.org/ns/auth/cert#",cnt:"http://www.w3.org/2011/content#",constant:"http://qudt.org/vocab/constant/",crm:"http://www.cidoc-crm.org/cidoc-crm/",csvw:"http://www.w3.org/ns/csvw#",ctag:"http://commontag.org/ns#","dash-sparql":"http://datashapes.org/sparql#",dash:"http://datashapes.org/dash#",dbo:"http://dbpedia.org/ontology/",dc11:"http://purl.org/dc/elements/1.1/",dcam:"http://purl.org/dc/dcam/",dcat:"http://www.w3.org/ns/dcat#",dcmitype:"http://purl.org/dc/dcmitype/",dcterms:"http://purl.org/dc/terms/",dig:"http://www.ics.forth.gr/isl/CRMdig/",discipline:"http://qudt.org/vocab/discipline/",doap:"http://usefulinc.com/ns/doap#",dpv:"http://www.w3.org/ns/dpv#",dqv:"http://www.w3.org/ns/dqv#",dtype:"http://www.linkedmodel.org/schema/dtype#",duv:"http://www.w3.org/ns/duv#",earl:"http://www.w3.org/ns/earl#",ebucore:"http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",exif:"http://www.w3.org/2003/12/exif/ns#",foaf:"http://xmlns.com/foaf/0.1/",frbr:"http://purl.org/vocab/frbr/core#",geo:"http://www.opengis.net/ont/geosparql#",geof:"http://www.opengis.net/def/function/geosparql/",geor:"http://www.opengis.net/def/rule/geosparql/",gml:"http://www.opengis.net/ont/gml#",gn:"http://www.geonames.org/ontology#",gr:"http://purl.org/goodrelations/v1#",grddl:"http://www.w3.org/2003/g/data-view#",gs1:"https://gs1.org/voc/",gtfs:"http://vocab.gtfs.org/terms#",http:"http://www.w3.org/2011/http#",hydra:"http://www.w3.org/ns/hydra/core#",ical:"http://www.w3.org/2002/12/cal/icaltzd#",la:"https://linked.art/ns/terms/",ldp:"http://www.w3.org/ns/ldp#",list:"http://www.w3.org/2000/10/swap/list#",locn:"http://www.w3.org/ns/locn#",log:"http://www.w3.org/2000/10/swap/log#",lvont:"http://lexvo.org/ontology#",m4i:"http://w3id.org/nfdi4ing/metadata4ing#",ma:"http://www.w3.org/ns/ma-ont#",mads:"http://www.loc.gov/mads/rdf/v1#",math:"http://www.w3.org/2000/10/swap/math#",oa:"http://www.w3.org/ns/oa#",og:"http://ogp.me/ns#",oidc:"http://www.w3.org/ns/solid/oidc#",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pim:"http://www.w3.org/ns/pim/space#",prefix:"http://qudt.org/vocab/prefix/",prov:"http://www.w3.org/ns/prov#",qb:"http://purl.org/linked-data/cube#",qkdv:"http://qudt.org/vocab/dimensionvector/",quantitykind:"http://qudt.org/vocab/quantitykind/",qudt:"http://qudt.org/schema/qudt/",rdau:"http://rdaregistry.info/Elements/u/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfa:"http://www.w3.org/ns/rdfa#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rev:"http://purl.org/stuff/rev#",rico:"https://www.ica.org/standards/RiC/ontology#",rr:"http://www.w3.org/ns/r2rml#",rss:"http://purl.org/rss/1.0/",schema:"http://schema.org/",sd:"http://www.w3.org/ns/sparql-service-description#",sdmx:"http://purl.org/linked-data/sdmx#",sem:"http://semanticweb.cs.vu.nl/2009/11/sem/",set:"http://www.w3.org/2000/10/swap/set#",sf:"http://www.opengis.net/ont/sf#",sh:"http://www.w3.org/ns/shacl#",shex:"http://www.w3.org/ns/shex#",shsh:"http://www.w3.org/ns/shacl-shacl#",sioc:"http://rdfs.org/sioc/ns#",skos:"http://www.w3.org/2004/02/skos/core#",skosxl:"http://www.w3.org/2008/05/skos-xl#",solid:"http://www.w3.org/ns/solid/terms#",sosa:"http://www.w3.org/ns/sosa/",sou:"http://qudt.org/vocab/sou/",ssn:"http://www.w3.org/ns/ssn/",stat:"http://www.w3.org/ns/posix/stat#",string:"http://www.w3.org/2000/10/swap/string#",test:"http://www.w3.org/2006/03/test-description#",time:"http://www.w3.org/2006/time#",unit:"http://qudt.org/vocab/unit/",vaem:"http://www.linkedmodel.org/schema/vaem#",vann:"http://purl.org/vocab/vann/",vcard:"http://www.w3.org/2006/vcard/ns#",void:"http://rdfs.org/ns/void#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",vso:"http://purl.org/vso/ns#",wdrs:"http://www.w3.org/2007/05/powder-s#",wgs:"http://www.w3.org/2003/01/geo/wgs84_pos#",xhv:"http://www.w3.org/1999/xhtml/vocab#",xkos:"http://rdf-vocabulary.ddialliance.org/xkos#",xsd:"http://www.w3.org/2001/XMLSchema#"},DPe={...jBn,...LBn};function FBn(n,r={}){const o={...DPe,...r},l=Array.from(Object.entries(o)).filter(([,h])=>n.startsWith(h));if(l.length){l.sort(([,b],[,g])=>g.length-b.length);const h=l[0];return n.replace(new RegExp(`^${h[1]}`),`${h[0]}:`)}return""}function rI(n){return typeof n=="string"||n instanceof String}const BBn="http://www.w3.org/2001/XMLSchema#string";function vd(n){if(typeof n=="string")return n;if(!n)return"";if(typeof n.id<"u"&&n.termType!=="Quad")return n.id;let r,o,l,h;switch(n.termType){case"NamedNode":return n.value;case"BlankNode":return`_:${n.value}`;case"Variable":return`?${n.value}`;case"DefaultGraph":return"";case"Literal":return n.language?`"${n.value}"@${n.language}`:`"${n.value}"${n.datatype&&n.datatype.value!==BBn?`^^${n.datatype.value}`:""}`;case"Quad":return r=bIe(vd(n.subject)),o=bIe(vd(n.predicate)),l=bIe(vd(n.object)),h=n.graph.termType==="DefaultGraph"?"":` ${vd(n.graph)}`,`<<${r} ${o} ${l}${h}>>`;default:throw new Error(`Unexpected termType: ${n.termType}`)}}const HBn=/^"(.*".*)(?="[^"]*$)/;function bIe(n){return n.replace(HBn,(r,o)=>`"${o.replace(/"/g,'""')}`)}class WBn{constructor(r){if(this._size=0,this._graphs=Object.create(null),this._id=0,this._ids=Object.create(null),this._ids["><"]=0,this._entities=Object.create(null),this._quads=new Map,r)for(const o of r)this.add(o)}get size(){let r=this._size;if(r!==null)return r;r=0;const o=this._graphs;let l,h;for(const b in o)for(const g in l=o[b].subjects)for(const m in h=l[g])r+=Object.keys(h[m]).length;return this._size=r,this._size}add(r){let o=vd(r.subject),l=vd(r.predicate),h=vd(r.object);const b=vd(r.graph);let g=this._graphs[b];g||(g=this._graphs[b]={subjects:{},predicates:{},objects:{}},Object.freeze(g));const m=this._ids,S=this._entities;return o=m[o]||(m[S[++this._id]=o]=this._id),l=m[l]||(m[S[++this._id]=l]=this._id),h=m[h]||(m[S[++this._id]=h]=this._id),this._addToIndex(g.subjects,o,l,h),this._addToIndex(g.predicates,l,h,o),this._addToIndex(g.objects,h,o,l),this._setQuad(o,l,h,b,r),this._size=null,this}delete(r){let o=vd(r.subject),l=vd(r.predicate),h=vd(r.object);const b=vd(r.graph),g=this._ids,m=this._graphs;let S,_,k;if(!(o=g[o])||!(l=g[l])||!(h=g[h])||!(S=m[b])||!(_=S.subjects[o])||!(k=_[l])||!(h in k))return this;this._removeFromIndex(S.subjects,o,l,h),this._removeFromIndex(S.predicates,l,h,o),this._removeFromIndex(S.objects,h,o,l),this._size!==null&&this._size--,this._deleteQuad(o,l,h,b);for(o in S.subjects)return this;return delete m[b],this}has(r){const o=vd(r.subject),l=vd(r.predicate),h=vd(r.object),b=vd(r.graph),g=this._graphs[b];if(!g)return!1;const m=this._ids;let S,_,k;return rI(o)&&!(S=m[o])||rI(l)&&!(_=m[l])||rI(h)&&!(k=m[h])?!1:this._countInIndex(g.objects,k,S,_)===1}match(r,o,l,h){return this._createDataset(this._match(r,o,l,h))}[Symbol.iterator](){return this._match()[Symbol.iterator]()}_addToIndex(r,o,l,h){const b=r[o]||(r[o]={}),g=b[l]||(b[l]={}),m=h in g;return m||(g[h]=null),!m}_removeFromIndex(r,o,l,h){const b=r[o],g=b[l];delete g[h];for(const m in g)return;delete b[l];for(const m in b)return;delete r[o]}_findInIndex(r,o,l,h,b,g,m,S,_,k){let I,C,A;o&&((I=r,r={})[o]=I[o]);for(const M in r)if(C=r[M],C){l&&((I=C,C={})[l]=I[l]);for(const D in C)if(A=C[D],A){const H=h?h in A?[h]:[]:Object.keys(A);for(let G=0;Gr(o,this))}filter(r){return new this.constructor([...this].filter(o=>r(o,this)))}map(r){return new this.constructor([...this].map(o=>r(o,this)))}match(...r){return super.match(...r)}merge(...[r]){return OPe(new this.constructor([...this]),r)}}function VBn(n){return class extends UBn{import(...[r]){return QUt(this,r)}toCanonical(){return tVt(this)}toStream(){return NUt(this)}async serialize({format:r,prefixes:o=[]}){const l=n.formats.serializers.get(r);return l?TBn(l.import(this.toStream(),{prefixes:o.reduce((h,b)=>Array.isArray(b)?{...h,[b[0]]:b[1]}:b in DPe?{...h,[b]:DPe[b]}:h,{})})):this.toCanonical()}}}function GBn(){return new uG([LMn(VBn)],{parent:dBn})}const mVt=GBn();class pce{constructor(r,o){this.Impl=r,this.options=o}import(r,o){const l=new this.Impl(r,{...this.options,...o});return r.on("end",()=>{l.readable||l.emit("end")}),r.on("error",h=>{l.emit("error",h)}),l}}const pIe=new Set(["_write","_writableState","writable"]);function wMe(n){return new Proxy(n,{has(r,o){return pIe.has(o)?!1:Reflect.has(...arguments)},get(r,o){if(pIe.has(o))return;const l=Reflect.get(...arguments);return l&&typeof l.bind=="function"?l.bind(r):l},set(r,o,l){if(!pIe.has(o))return Reflect.set(...arguments)}})}var yVt={},LU={},{Buffer:k6}=Xr,Qs={},vVt=Qs.LEFT_BRACE=1,dae=Qs.RIGHT_BRACE=2,_Vt=Qs.LEFT_BRACKET=3,LPe=Qs.RIGHT_BRACKET=4,hae=Qs.COLON=5,ele=Qs.COMMA=6,SVt=Qs.TRUE=7,EVt=Qs.FALSE=8,kVt=Qs.NULL=9,tle=Qs.STRING=10,RVt=Qs.NUMBER=11,yI=Qs.START=17,AVt=Qs.STOP=18,FPt=Qs.TRUE1=33,BPt=Qs.TRUE2=34,HPt=Qs.TRUE3=35,WPt=Qs.FALSE1=49,UPt=Qs.FALSE2=50,VPt=Qs.FALSE3=51,GPt=Qs.FALSE4=52,KPt=Qs.NULL1=65,zPt=Qs.NULL2=66,qPt=Qs.NULL3=67,XPt=Qs.NUMBER1=81,gIe=Qs.NUMBER3=83,t2=Qs.STRING1=97,JPt=Qs.STRING2=98,YPt=Qs.STRING3=99,KBn=Qs.STRING4=100,zBn=Qs.STRING5=101,QPt=Qs.STRING6=102,tN=Qs.VALUE=113,wIe=Qs.KEY=114,joe=Qs.OBJECT=129,Foe=Qs.ARRAY=130,qBn=92,XBn=47,JBn=8,YBn=12,QBn=10,ZBn=13,eHn=9,mMe=64*1024;function Boe(n){return k6.alloc?k6.alloc(n):new k6(n)}function M6(){this.tState=yI,this.value=void 0,this.string=void 0,this.stringBuffer=Boe(mMe),this.stringBufferOffset=0,this.unicode=void 0,this.highSurrogate=void 0,this.key=void 0,this.mode=void 0,this.stack=[],this.state=tN,this.bytes_remaining=0,this.bytes_in_sequence=0,this.temp_buffs={2:Boe(2),3:Boe(3),4:Boe(4)},this.offset=-1}M6.toknam=function(n){for(var r=Object.keys(Qs),o=0,l=r.length;o=mMe&&(this.string+=this.stringBuffer.toString("utf8"),this.stringBufferOffset=0),this.stringBuffer[this.stringBufferOffset++]=n};hw.appendStringBuf=function(n,r,o){var l=n.length;typeof r=="number"&&(typeof o=="number"?o<0?l=n.length-r+o:l=o-r:l=n.length-r),l<0&&(l=0),this.stringBufferOffset+l>mMe&&(this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0),n.copy(this.stringBuffer,this.stringBufferOffset,r,o),this.stringBufferOffset+=l};hw.write=function(n){typeof n=="string"&&(n=new k6(n));for(var r,o=0,l=n.length;o=48&&r<64)this.string=String.fromCharCode(r),this.tState=gIe;else if(!(r===32||r===9||r===10||r===13))return this.charError(n,o)}else if(this.tState===t2)if(r=n[o],this.bytes_remaining>0){for(var h=0;h=128){if(r<=193||r>244)return this.onError(new Error("Invalid UTF-8 character at position "+o+" in state "+M6.toknam(this.tState)));if(r>=194&&r<=223&&(this.bytes_in_sequence=2),r>=224&&r<=239&&(this.bytes_in_sequence=3),r>=240&&r<=244&&(this.bytes_in_sequence=4),this.bytes_in_sequence+o>n.length){for(var b=0;b<=n.length-1-o;b++)this.temp_buffs[this.bytes_in_sequence][b]=n[o+b];this.bytes_remaining=o+this.bytes_in_sequence-n.length,o=n.length-1}else this.appendStringBuf(n,o,o+this.bytes_in_sequence),o=o+this.bytes_in_sequence-1}else if(r===34)this.tState=yI,this.string+=this.stringBuffer.toString("utf8",0,this.stringBufferOffset),this.stringBufferOffset=0,this.onToken(tle,this.string),this.offset+=k6.byteLength(this.string,"utf8")+1,this.string=void 0;else if(r===92)this.tState=JPt;else if(r>=32)this.appendStringChar(r);else return this.charError(n,o);else if(this.tState===JPt)if(r=n[o],r===34)this.appendStringChar(r),this.tState=t2;else if(r===92)this.appendStringChar(qBn),this.tState=t2;else if(r===47)this.appendStringChar(XBn),this.tState=t2;else if(r===98)this.appendStringChar(JBn),this.tState=t2;else if(r===102)this.appendStringChar(YBn),this.tState=t2;else if(r===110)this.appendStringChar(QBn),this.tState=t2;else if(r===114)this.appendStringChar(ZBn),this.tState=t2;else if(r===116)this.appendStringChar(eHn),this.tState=t2;else if(r===117)this.unicode="",this.tState=YPt;else return this.charError(n,o);else if(this.tState===YPt||this.tState===KBn||this.tState===zBn||this.tState===QPt)if(r=n[o],r>=48&&r<64||r>64&&r<=70||r>96&&r<=102){if(this.unicode+=String.fromCharCode(r),this.tState++===QPt){var g=parseInt(this.unicode,16);this.unicode=void 0,this.highSurrogate!==void 0&&g>=56320&&g<57344?(this.appendStringBuf(new k6(String.fromCharCode(this.highSurrogate,g))),this.highSurrogate=void 0):this.highSurrogate===void 0&&g>=55296&&g<56320?this.highSurrogate=g:(this.highSurrogate!==void 0&&(this.appendStringBuf(new k6(String.fromCharCode(this.highSurrogate))),this.highSurrogate=void 0),this.appendStringBuf(new k6(String.fromCharCode(g)))),this.tState=t2}}else return this.charError(n,o);else if(this.tState===XPt||this.tState===gIe)switch(r=n[o],r){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 46:case 101:case 69:case 43:case 45:this.string+=String.fromCharCode(r),this.tState=gIe;break;default:this.tState=yI;var m=this.numberReviver(this.string,n,o);if(m)return m;this.offset+=this.string.length-1,this.string=void 0,o--;break}else if(this.tState===FPt)if(n[o]===114)this.tState=BPt;else return this.charError(n,o);else if(this.tState===BPt)if(n[o]===117)this.tState=HPt;else return this.charError(n,o);else if(this.tState===HPt)if(n[o]===101)this.tState=yI,this.onToken(SVt,!0),this.offset+=3;else return this.charError(n,o);else if(this.tState===WPt)if(n[o]===97)this.tState=UPt;else return this.charError(n,o);else if(this.tState===UPt)if(n[o]===108)this.tState=VPt;else return this.charError(n,o);else if(this.tState===VPt)if(n[o]===115)this.tState=GPt;else return this.charError(n,o);else if(this.tState===GPt)if(n[o]===101)this.tState=yI,this.onToken(EVt,!1),this.offset+=4;else return this.charError(n,o);else if(this.tState===KPt)if(n[o]===117)this.tState=zPt;else return this.charError(n,o);else if(this.tState===zPt)if(n[o]===108)this.tState=qPt;else return this.charError(n,o);else if(this.tState===qPt)if(n[o]===108)this.tState=yI,this.onToken(kVt,null),this.offset+=3;else return this.charError(n,o)};hw.onToken=function(n,r){};hw.parseError=function(n,r){this.tState=AVt,this.onError(new Error("Unexpected "+M6.toknam(n)+(r?"("+JSON.stringify(r)+")":"")+" in state "+M6.toknam(this.state)))};hw.push=function(){this.stack.push({value:this.value,key:this.key,mode:this.mode})};hw.pop=function(){var n=this.value,r=this.stack.pop();this.value=r.value,this.key=r.key,this.mode=r.mode,this.emit(n),this.mode||(this.state=tN)};hw.emit=function(n){this.mode&&(this.state=ele),this.onValue(n)};hw.onValue=function(n){};hw.onToken=function(n,r){if(this.state===tN)if(n===tle||n===RVt||n===SVt||n===EVt||n===kVt)this.value&&(this.value[this.key]=r),this.emit(r);else if(n===vVt)this.push(),this.value?this.value=this.value[this.key]={}:this.value={},this.key=void 0,this.state=wIe,this.mode=joe;else if(n===_Vt)this.push(),this.value?this.value=this.value[this.key]=[]:this.value=[],this.key=0,this.mode=Foe,this.state=tN;else if(n===dae)if(this.mode===joe)this.pop();else return this.parseError(n,r);else if(n===LPe)if(this.mode===Foe)this.pop();else return this.parseError(n,r);else return this.parseError(n,r);else if(this.state===wIe)if(n===tle)this.key=r,this.state=hae;else if(n===dae)this.pop();else return this.parseError(n,r);else if(this.state===hae)if(n===hae)this.state=tN;else return this.parseError(n,r);else if(this.state===ele)if(n===ele)this.mode===Foe?(this.key++,this.state=tN):this.mode===joe&&(this.state=wIe);else if(n===LPe&&this.mode===Foe||n===dae&&this.mode===joe)this.pop();else return this.parseError(n,r);else return this.parseError(n,r)};hw.numberReviver=function(n,r,o){var l=Number(n);if(isNaN(l))return this.charError(r,o);n.match(/[0-9]+/)==n&&l.toString()!=n?this.onToken(tle,n):this.onToken(RVt,l)};M6.C=Qs;var tHn=M6,Sg={},gce={},YG={},O6={};Object.defineProperty(O6,"__esModule",{value:!0});O6.removeDotSegmentsOfPath=O6.removeDotSegments=O6.resolve=void 0;function nHn(n,r){r=r||"";const o=r.indexOf("#");if(o>0&&(r=r.substr(0,o)),!n.length){if(r.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${r}' for value '${n}'`);return r}if(n.startsWith("?")){const _=r.indexOf("?");return _>0&&(r=r.substr(0,_)),r+n}if(n.startsWith("#"))return r+n;if(!r.length){const _=n.indexOf(":");if(_<0)throw new Error(`Found invalid relative IRI '${n}' for a missing baseIRI`);return vI(n,_)}const l=n.indexOf(":");if(l>=0)return vI(n,l);const h=r.indexOf(":");if(h<0)throw new Error(`Found invalid baseIRI '${r}' for value '${n}'`);const b=r.substr(0,h+1);if(n.indexOf("//")===0)return b+vI(n,l);let g;if(r.indexOf("//",h)===h+1){if(g=r.indexOf("/",h+3),g<0)return r.length>h+3?r+"/"+vI(n,l):b+vI(n,l)}else if(g=r.indexOf("/",h+1),g<0)return b+vI(n,l);if(n.indexOf("/")===0)return r.substr(0,g)+nle(n);let m=r.substr(g);const S=m.lastIndexOf("/");return S>=0&&Sl.join("")).join("/")}O6.removeDotSegments=nle;function vI(n,r){let o=r+1;r>=0?n[r+1]==="/"&&n[r+2]==="/"&&(o=r+3):n[0]==="/"&&n[1]==="/"&&(o=2);const l=n.indexOf("/",o);if(l<0)return n;const h=n.substr(0,l),b=n.substr(l);return h+nle(b)}O6.removeDotSegmentsOfPath=vI;function ZPt(n){return!n||n==="#"||n==="?"||n==="/"}(function(n){var r=Uc&&Uc.__createBinding||(Object.create?function(l,h,b,g){g===void 0&&(g=b),Object.defineProperty(l,g,{enumerable:!0,get:function(){return h[b]}})}:function(l,h,b,g){g===void 0&&(g=b),l[g]=h[b]}),o=Uc&&Uc.__exportStar||function(l,h){for(var b in l)b!=="default"&&!Object.prototype.hasOwnProperty.call(h,b)&&r(h,l,b)};Object.defineProperty(n,"__esModule",{value:!0}),o(O6,n)})(YG);var tM={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ERROR_CODES=n.ErrorCoded=void 0;class r extends Error{constructor(l,h){super(l),this.code=h}}n.ErrorCoded=r,function(o){o.COLLIDING_KEYWORDS="colliding keywords",o.CONFLICTING_INDEXES="conflicting indexes",o.CYCLIC_IRI_MAPPING="cyclic IRI mapping",o.INVALID_ID_VALUE="invalid @id value",o.INVALID_INDEX_VALUE="invalid @index value",o.INVALID_NEST_VALUE="invalid @nest value",o.INVALID_PREFIX_VALUE="invalid @prefix value",o.INVALID_PROPAGATE_VALUE="invalid @propagate value",o.INVALID_REVERSE_VALUE="invalid @reverse value",o.INVALID_IMPORT_VALUE="invalid @import value",o.INVALID_VERSION_VALUE="invalid @version value",o.INVALID_BASE_IRI="invalid base IRI",o.INVALID_CONTAINER_MAPPING="invalid container mapping",o.INVALID_CONTEXT_ENTRY="invalid context entry",o.INVALID_CONTEXT_NULLIFICATION="invalid context nullification",o.INVALID_DEFAULT_LANGUAGE="invalid default language",o.INVALID_INCLUDED_VALUE="invalid @included value",o.INVALID_IRI_MAPPING="invalid IRI mapping",o.INVALID_JSON_LITERAL="invalid JSON literal",o.INVALID_KEYWORD_ALIAS="invalid keyword alias",o.INVALID_LANGUAGE_MAP_VALUE="invalid language map value",o.INVALID_LANGUAGE_MAPPING="invalid language mapping",o.INVALID_LANGUAGE_TAGGED_STRING="invalid language-tagged string",o.INVALID_LANGUAGE_TAGGED_VALUE="invalid language-tagged value",o.INVALID_LOCAL_CONTEXT="invalid local context",o.INVALID_REMOTE_CONTEXT="invalid remote context",o.INVALID_REVERSE_PROPERTY="invalid reverse property",o.INVALID_REVERSE_PROPERTY_MAP="invalid reverse property map",o.INVALID_REVERSE_PROPERTY_VALUE="invalid reverse property value",o.INVALID_SCOPED_CONTEXT="invalid scoped context",o.INVALID_SCRIPT_ELEMENT="invalid script element",o.INVALID_SET_OR_LIST_OBJECT="invalid set or list object",o.INVALID_TERM_DEFINITION="invalid term definition",o.INVALID_TYPE_MAPPING="invalid type mapping",o.INVALID_TYPE_VALUE="invalid type value",o.INVALID_TYPED_VALUE="invalid typed value",o.INVALID_VALUE_OBJECT="invalid value object",o.INVALID_VALUE_OBJECT_VALUE="invalid value object value",o.INVALID_VOCAB_MAPPING="invalid vocab mapping",o.IRI_CONFUSED_WITH_PREFIX="IRI confused with prefix",o.KEYWORD_REDEFINITION="keyword redefinition",o.LOADING_DOCUMENT_FAILED="loading document failed",o.LOADING_REMOTE_CONTEXT_FAILED="loading remote context failed",o.MULTIPLE_CONTEXT_LINK_HEADERS="multiple context link headers",o.PROCESSING_MODE_CONFLICT="processing mode conflict",o.PROTECTED_TERM_REDEFINITION="protected term redefinition",o.CONTEXT_OVERFLOW="context overflow",o.INVALID_BASE_DIRECTION="invalid base direction",o.RECURSIVE_CONTEXT_INCLUSION="recursive context inclusion",o.INVALID_STREAMING_KEY_ORDER="invalid streaming key order",o.INVALID_EMBEDDED_NODE="invalid embedded node",o.INVALID_ANNOTATION="invalid annotation"}(n.ERROR_CODES||(n.ERROR_CODES={}))})(tM);var QG={},rHn=/^utf-?8|ascii|utf-?16-?le|ucs-?2|base-?64|latin-?1$/i,iHn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,oHn=/\s|\uFEFF|\xA0/,sHn=/\r?\n[\x20\x09]+/g,aHn=/[;,"]/,lHn=/[;,"]|\s/,cHn=/^[!#$%&'*+\-\.^_`|~\da-zA-Z]+$/,Q3={IDLE:1,URI:2,ATTR:4};function eOt(n){return n.replace(iHn,"")}function bae(n){return oHn.test(n)}function uHn(n,r){for(;bae(n[r]);)r++;return r}function tOt(n){return lHn.test(n)||!cHn.test(n)}function fHn(n,r){return Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every(o=>o in r&&n[o]===r[o])}class Hc{constructor(r){this.refs=[],r&&this.parse(r)}rel(r){for(var o=[],l=r.toLowerCase(),h=0;hfHn(o,r))||this.refs.push(r),this}has(r,o){r=r.toLowerCase(),o=o.toLowerCase();for(var l=0;l",b);if(m===-1)throw new Error("Expected end of URI delimiter at offset "+b);g={uri:r.slice(b+1,m)},b=m,l=Q3.URI}else throw new Error('Unexpected character "'+r[b]+'" at offset '+b);b++}else if(l===Q3.URI)if(bae(r[b])){b++;continue}else if(r[b]===";")l=Q3.ATTR,b++;else if(r[b]===",")l=Q3.IDLE,b++;else throw new Error('Unexpected character "'+r[b]+'" at offset '+b);else if(l===Q3.ATTR){if(r[b]===";"||bae(r[b])){b++;continue}var m=r.indexOf("=",b);m===-1&&(m=r.indexOf(";",b)),m===-1&&(m=r.length);var S=eOt(r.slice(b,m)).toLowerCase(),_="";if(b=m+1,b=uHn(r,b),r[b]==='"')for(b++;b"),r.push(o);return r.join(", ")}}Hc.isCompatibleEncoding=function(n){return rHn.test(n)};Hc.parse=function(n,r){return new Hc().parse(n,r)};Hc.isSingleOccurenceAttr=function(n){return n==="rel"||n==="type"||n==="media"||n==="title"||n==="title*"};Hc.isTokenAttr=function(n){return n==="rel"||n==="type"||n==="anchor"};Hc.escapeQuotes=function(n){return n.replace(/"/g,'\\"')};Hc.expandRelations=function(n){var r=n.rel.split(" ");return r.map(function(o){var l=Object.assign({},n);return l.rel=o,l})};Hc.parseExtendedValue=function(n){var r=/([^']+)?(?:'([^']*)')?(.+)/.exec(n);return{language:r[2].toLowerCase(),encoding:Hc.isCompatibleEncoding(r[1])?null:r[1].toLowerCase(),value:Hc.isCompatibleEncoding(r[1])?decodeURIComponent(r[3]):r[3]}};Hc.formatExtendedAttribute=function(n,r){var o=(r.encoding||"utf-8").toUpperCase(),l=r.language||"en",h="";return Xr.Buffer.isBuffer(r.value)&&Hc.isCompatibleEncoding(o)?h=r.value.toString(o):Xr.Buffer.isBuffer(r.value)?h=r.value.toString("hex").replace(/[0-9a-f]{2}/gi,"%$1"):h=encodeURIComponent(r.value),n+"="+o+"'"+l+"'"+h};Hc.formatAttribute=function(n,r){return Array.isArray(r)?r.map(o=>Hc.formatAttribute(n,o)).join("; "):n[n.length-1]==="*"||typeof r!="string"?Hc.formatExtendedAttribute(n,r):(Hc.isTokenAttr(n)?r=tOt(r)?'"'+Hc.escapeQuotes(r)+'"':Hc.escapeQuotes(r):tOt(r)&&(r=encodeURIComponent(r),r=r.replace(/%20/g," ").replace(/%2C/g,",").replace(/%3B/g,";"),r='"'+r+'"'),n+"="+r)};var CVt=Hc;Object.defineProperty(QG,"__esModule",{value:!0});QG.FetchDocumentLoader=void 0;const nOt=tM,dHn=CVt,hHn=YG;class bHn{constructor(r){this.fetcher=r}async load(r){const o=await(this.fetcher||fetch)(r,{headers:new Headers({accept:"application/ld+json"})});if(o.ok&&o.headers){let l=o.headers.get("Content-Type");if(l){const h=l.indexOf(";");h>0&&(l=l.substr(0,h))}if(l==="application/ld+json")return await o.json();if(o.headers.has("Link")){let h;if(o.headers.forEach((b,g)=>{if(g==="link"){const m=(0,dHn.parse)(b);for(const S of m.get("type","application/ld+json"))if(S.rel==="alternate"){if(h)throw new Error("Multiple JSON-LD alternate links were found on "+r);h=(0,hHn.resolve)(S.uri,r)}}}),h)return this.load(h)}throw new nOt.ErrorCoded(`Unsupported JSON-LD media type ${l}`,nOt.ERROR_CODES.LOADING_DOCUMENT_FAILED)}else throw new Error(o.statusText||`Status code: ${o.status}`)}}QG.FetchDocumentLoader=bHn;var yMe={},nM={};Object.defineProperty(nM,"__esModule",{value:!0});nM.Util=void 0;let bw=class tk{static isCompactIri(r){return r.indexOf(":")>0&&!(r&&r[0]==="#")}static getPrefix(r,o){if(r&&r[0]==="#")return null;const l=r.indexOf(":");if(l>=0){if(r.length>l+1&&r.charAt(l+1)==="/"&&r.charAt(l+2)==="/")return null;const h=r.substr(0,l);if(h==="_")return null;if(o[h])return h}return null}static getContextValueId(r){if(r===null||typeof r=="string")return r;const o=r["@id"];return o||null}static isSimpleTermDefinitionPrefix(r,o){return!tk.isPotentialKeyword(r)&&(o.allowPrefixNonGenDelims||typeof r=="string"&&(r[0]==="_"||tk.isPrefixIriEndingWithGenDelim(r)))}static isPotentialKeyword(r){return typeof r=="string"&&tk.KEYWORD_REGEX.test(r)}static isPrefixIriEndingWithGenDelim(r){return tk.ENDS_WITH_GEN_DELIM.test(r)}static isPrefixValue(r){return r&&(typeof r=="string"||r&&typeof r=="object")}static isValidIri(r){return!!(r&&tk.IRI_REGEX.test(r))}static isValidIriWeak(r){return!!r&&r[0]!==":"&&tk.IRI_REGEX_WEAK.test(r)}static isValidKeyword(r){return tk.VALID_KEYWORDS[r]}static isTermProtected(r,o){const l=r[o];return typeof l!="string"&&l&&l["@protected"]}static hasProtectedTerms(r){for(const o of Object.keys(r))if(tk.isTermProtected(r,o))return!0;return!1}static isReservedInternalKeyword(r){return r.startsWith("@__")}static deepEqual(r,o){const l=Object.keys(r),h=Object.keys(o);return l.length!==h.length?!1:l.every(b=>{const g=r[b],m=o[b];return g===m||g!==null&&m!==null&&typeof g=="object"&&typeof m=="object"&&this.deepEqual(g,m)})}};bw.IRI_REGEX=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^ "<>{}|\\\[\]`#]*(#[^#]*)?$/;bw.IRI_REGEX_WEAK=/(?::[^:])|\//;bw.KEYWORD_REGEX=/^@[a-z]+$/i;bw.ENDS_WITH_GEN_DELIM=/[:/?#\[\]@]$/;bw.REGEX_LANGUAGE_TAG=/^[a-zA-Z]+(-[a-zA-Z0-9]+)*$/;bw.REGEX_DIRECTION_TAG=/^(ltr)|(rtl)$/;bw.VALID_KEYWORDS={"@annotation":!0,"@base":!0,"@container":!0,"@context":!0,"@direction":!0,"@graph":!0,"@id":!0,"@import":!0,"@included":!0,"@index":!0,"@json":!0,"@language":!0,"@list":!0,"@nest":!0,"@none":!0,"@prefix":!0,"@propagate":!0,"@protected":!0,"@reverse":!0,"@set":!0,"@type":!0,"@value":!0,"@version":!0,"@vocab":!0};bw.EXPAND_KEYS_BLACKLIST=["@base","@vocab","@language","@version","@direction"];bw.ALIAS_DOMAIN_BLACKLIST=["@container","@graph","@id","@index","@list","@nest","@none","@prefix","@reverse","@set","@type","@value","@version"];bw.ALIAS_RANGE_BLACKLIST=["@context","@preserve"];bw.CONTAINERS=["@list","@set","@index","@language","@graph","@id","@type"];bw.CONTAINERS_1_0=["@list","@set","@index"];nM.Util=bw;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.defaultExpandOptions=n.JsonLdContextNormalized=void 0;const r=YG,o=tM,l=nM;class h{constructor(g){this.contextRaw=g}getContextRaw(){return this.contextRaw}expandTerm(g,m,S=n.defaultExpandOptions){const _=this.contextRaw[g];if(_===null||_&&_["@id"]===null)return null;let k=!0;if(_&&m){const H=l.Util.getContextValueId(_);if(H&&H!==g)if(typeof H!="string"||!l.Util.isValidIri(H)&&!l.Util.isValidKeyword(H))l.Util.isPotentialKeyword(H)||(k=!1);else return H}const I=l.Util.getPrefix(g,this.contextRaw),C=this.contextRaw["@vocab"],A=(!!C||C==="")&&C.indexOf(":")<0,M=this.contextRaw["@base"],D=l.Util.isPotentialKeyword(g);if(I){const H=this.contextRaw[I],G=l.Util.getContextValueId(H);if(G){if(typeof H=="string"||!S.allowPrefixForcing){if(!l.Util.isSimpleTermDefinitionPrefix(G,S))return g}else if(G[0]!=="_"&&!D&&!H["@prefix"]&&!(g in this.contextRaw))return g;return G+g.substr(I.length+1)}}else if(m&&(C||C===""||S.allowVocabRelativeToBase&&M&&A)&&!D&&!l.Util.isCompactIri(g))if(A){if(S.allowVocabRelativeToBase)return(C||M?(0,r.resolve)(C,M):"")+g;throw new o.ErrorCoded(`Relative vocab expansion for term '${g}' with vocab '${C}' is not allowed.`,o.ERROR_CODES.INVALID_VOCAB_MAPPING)}else return C+g;else if(!m&&M&&!D&&!l.Util.isCompactIri(g))return(0,r.resolve)(g,M);if(k)return g;throw new o.ErrorCoded(`Invalid IRI mapping found for context entry '${g}': '${JSON.stringify(_)}'`,o.ERROR_CODES.INVALID_IRI_MAPPING)}compactIri(g,m){if(m&&this.contextRaw["@vocab"]&&g.startsWith(this.contextRaw["@vocab"]))return g.substr(this.contextRaw["@vocab"].length);if(!m&&this.contextRaw["@base"]&&g.startsWith(this.contextRaw["@base"]))return g.substr(this.contextRaw["@base"].length);const S={prefix:"",suffix:g};for(const _ in this.contextRaw){const k=this.contextRaw[_];if(k&&!l.Util.isPotentialKeyword(_)){const I=l.Util.getContextValueId(k);if(g.startsWith(I)){const C=g.substr(I.length);if(C)C.length=0&&(b!=="@type"||typeof h[b]=="object"&&!(h[b]["@protected"]||h[b]["@container"]==="@set")))throw new hr.ErrorCoded(`Keywords can not be aliased to something else. +Tried mapping ${b} to ${JSON.stringify(g)}`,hr.ERROR_CODES.KEYWORD_REDEFINITION);if(Po.Util.ALIAS_RANGE_BLACKLIST.indexOf(Po.Util.getContextValueId(g))>=0)throw new hr.ErrorCoded(`Aliasing to certain keywords is not allowed. +Tried mapping ${b} to ${JSON.stringify(g)}`,hr.ERROR_CODES.INVALID_KEYWORD_ALIAS);if(g&&Po.Util.isPotentialKeyword(Po.Util.getContextValueId(g))&&g["@prefix"]===!0)throw new hr.ErrorCoded(`Tried to use keyword aliases as prefix: '${b}': '${JSON.stringify(g)}'`,hr.ERROR_CODES.INVALID_TERM_DEFINITION);for(;Po.Util.isPrefixValue(h[b]);){const m=h[b];let S=!1;if(typeof m=="string")h[b]=r.expandTerm(m,!0),S=S||m!==h[b];else{const _=m["@id"],k=m["@type"],I=!("@prefix"in m)||Po.Util.isValidIri(b);if("@id"in m)_!=null&&typeof _=="string"&&(h[b]=Object.assign(Object.assign({},h[b]),{"@id":r.expandTerm(_,!0)}),S=S||_!==h[b]["@id"]);else if(!Po.Util.isPotentialKeyword(b)&&I){const C=r.expandTerm(b,!0);C!==b&&(h[b]=Object.assign(Object.assign({},h[b]),{"@id":C}),S=!0)}if(k&&typeof k=="string"&&k!=="@vocab"&&(!m["@container"]||!m["@container"]["@type"])&&I){let C=r.expandTerm(k,!0);o&&k===C&&(C=r.expandTerm(k,!1)),C!==k&&(S=!0,h[b]=Object.assign(Object.assign({},h[b]),{"@type":C}))}}if(!S)break}}}normalize(r,{processingMode:o,normalizeLanguageTags:l}){if(l||o===1)for(const h of Object.keys(r))if(h==="@language"&&typeof r[h]=="string")r[h]=r[h].toLowerCase();else{const b=r[h];if(b&&typeof b=="object"&&typeof b["@language"]=="string"){const g=b["@language"].toLowerCase();g!==b["@language"]&&(r[h]=Object.assign(Object.assign({},b),{"@language":g}))}}}containersToHash(r){for(const o of Object.keys(r)){const l=r[o];if(l&&typeof l=="object"){if(typeof l["@container"]=="string")r[o]=Object.assign(Object.assign({},l),{"@container":{[l["@container"]]:!0}});else if(Array.isArray(l["@container"])){const h={};for(const b of l["@container"])h[b]=!0;r[o]=Object.assign(Object.assign({},l),{"@container":h})}}}}applyScopedProtected(r,{processingMode:o},l){if(o&&o>=1.1&&r["@protected"]){for(const h of Object.keys(r))if(!Po.Util.isReservedInternalKeyword(h)&&!Po.Util.isPotentialKeyword(h)&&!Po.Util.isTermProtected(r,h)){const b=r[h];b&&typeof b=="object"?"@protected"in r[h]||(r[h]=Object.assign(Object.assign({},r[h]),{"@protected":!0})):(r[h]={"@id":b,"@protected":!0},Po.Util.isSimpleTermDefinitionPrefix(b,l)&&(r[h]=Object.assign(Object.assign({},r[h]),{"@prefix":!0})))}delete r["@protected"]}}validateKeywordRedefinitions(r,o,l,h){for(const b of h??Object.keys(o))if(Po.Util.isTermProtected(r,b)&&(typeof o[b]=="string"?o[b]={"@id":o[b],"@protected":!0}:o[b]=Object.assign(Object.assign({},o[b]),{"@protected":!0}),!Po.Util.deepEqual(r[b],o[b])))throw new hr.ErrorCoded(`Attempted to override the protected keyword ${b} from ${JSON.stringify(Po.Util.getContextValueId(r[b]))} to ${JSON.stringify(Po.Util.getContextValueId(o[b]))}`,hr.ERROR_CODES.PROTECTED_TERM_REDEFINITION)}validate(r,{processingMode:o}){for(const l of Object.keys(r)){if(Po.Util.isReservedInternalKeyword(l))continue;if(l==="")throw new hr.ErrorCoded(`The empty term is not allowed, got: '${l}': '${JSON.stringify(r[l])}'`,hr.ERROR_CODES.INVALID_TERM_DEFINITION);const h=r[l],b=typeof h;if(Po.Util.isPotentialKeyword(l)){switch(l.substr(1)){case"vocab":if(h!==null&&b!=="string")throw new hr.ErrorCoded(`Found an invalid @vocab IRI: ${h}`,hr.ERROR_CODES.INVALID_VOCAB_MAPPING);break;case"base":if(h!==null&&b!=="string")throw new hr.ErrorCoded(`Found an invalid @base IRI: ${r[l]}`,hr.ERROR_CODES.INVALID_BASE_IRI);break;case"language":h!==null&&ok.validateLanguage(h,!0,hr.ERROR_CODES.INVALID_DEFAULT_LANGUAGE);break;case"version":if(h!==null&&b!=="number")throw new hr.ErrorCoded(`Found an invalid @version number: ${h}`,hr.ERROR_CODES.INVALID_VERSION_VALUE);break;case"direction":h!==null&&ok.validateDirection(h,!0);break;case"propagate":if(o===1)throw new hr.ErrorCoded(`Found an illegal @propagate keyword: ${h}`,hr.ERROR_CODES.INVALID_CONTEXT_ENTRY);if(h!==null&&b!=="boolean")throw new hr.ErrorCoded(`Found an invalid @propagate value: ${h}`,hr.ERROR_CODES.INVALID_PROPAGATE_VALUE);break}if(Po.Util.isValidKeyword(l)&&Po.Util.isValidKeyword(Po.Util.getContextValueId(h)))throw new hr.ErrorCoded(`Illegal keyword alias in term value, found: '${l}': '${Po.Util.getContextValueId(h)}'`,hr.ERROR_CODES.KEYWORD_REDEFINITION);continue}if(h!==null)switch(b){case"string":if(Po.Util.getPrefix(h,r)===l)throw new hr.ErrorCoded(`Detected cyclical IRI mapping in context entry: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.CYCLIC_IRI_MAPPING);if(Po.Util.isValidIriWeak(l)){if(h==="@type")throw new hr.ErrorCoded(`IRIs can not be mapped to @type, found: '${l}': '${h}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING);if(Po.Util.isValidIri(h)&&h!==new n2.JsonLdContextNormalized(r).expandTerm(l))throw new hr.ErrorCoded(`IRIs can not be mapped to other IRIs, found: '${l}': '${h}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING)}break;case"object":if(!Po.Util.isCompactIri(l)&&!("@id"in h)&&(h["@type"]==="@id"?!r["@base"]:!r["@vocab"]))throw new hr.ErrorCoded(`Missing @id in context entry: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING);for(const g of Object.keys(h)){const m=h[g];if(m)switch(g){case"@id":if(Po.Util.isValidKeyword(m)&&m!=="@type"&&m!=="@id"&&m!=="@graph"&&m!=="@nest")throw new hr.ErrorCoded(`Illegal keyword alias in term value, found: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING);if(Po.Util.isValidIriWeak(l)){if(m==="@type")throw new hr.ErrorCoded(`IRIs can not be mapped to @type, found: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING);if(Po.Util.isValidIri(m)&&m!==new n2.JsonLdContextNormalized(r).expandTerm(l))throw new hr.ErrorCoded(`IRIs can not be mapped to other IRIs, found: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING)}if(typeof m!="string")throw new hr.ErrorCoded(`Detected non-string @id in context entry: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_IRI_MAPPING);if(Po.Util.getPrefix(m,r)===l)throw new hr.ErrorCoded(`Detected cyclical IRI mapping in context entry: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.CYCLIC_IRI_MAPPING);break;case"@type":if(h["@container"]==="@type"&&m!=="@id"&&m!=="@vocab")throw new hr.ErrorCoded(`@container: @type only allows @type: @id or @vocab, but got: '${l}': '${m}'`,hr.ERROR_CODES.INVALID_TYPE_MAPPING);if(typeof m!="string")throw new hr.ErrorCoded(`The value of an '@type' must be a string, got '${JSON.stringify(b)}'`,hr.ERROR_CODES.INVALID_TYPE_MAPPING);if(m!=="@id"&&m!=="@vocab"&&(o===1||m!=="@json")&&(o===1||m!=="@none")&&(m[0]==="_"||!Po.Util.isValidIri(m)))throw new hr.ErrorCoded(`A context @type must be an absolute IRI, found: '${l}': '${m}'`,hr.ERROR_CODES.INVALID_TYPE_MAPPING);break;case"@reverse":if(typeof m=="string"&&h["@id"]&&h["@id"]!==m)throw new hr.ErrorCoded(`Found non-matching @id and @reverse term values in '${l}':'${m}' and '${h["@id"]}'`,hr.ERROR_CODES.INVALID_REVERSE_PROPERTY);if("@nest"in h)throw new hr.ErrorCoded(`@nest is not allowed in the reverse property '${l}'`,hr.ERROR_CODES.INVALID_REVERSE_PROPERTY);break;case"@container":if(o===1&&(Object.keys(m).length>1||Po.Util.CONTAINERS_1_0.indexOf(Object.keys(m)[0])<0))throw new hr.ErrorCoded(`Invalid term @container for '${l}' ('${Object.keys(m)}') in 1.0, must be only one of ${Po.Util.CONTAINERS_1_0.join(", ")}`,hr.ERROR_CODES.INVALID_CONTAINER_MAPPING);for(const S of Object.keys(m)){if(S==="@list"&&h["@reverse"])throw new hr.ErrorCoded(`Term value can not be @container: @list and @reverse at the same time on '${l}'`,hr.ERROR_CODES.INVALID_REVERSE_PROPERTY);if(Po.Util.CONTAINERS.indexOf(S)<0)throw new hr.ErrorCoded(`Invalid term @container for '${l}' ('${S}'), must be one of ${Po.Util.CONTAINERS.join(", ")}`,hr.ERROR_CODES.INVALID_CONTAINER_MAPPING)}break;case"@language":ok.validateLanguage(m,!0,hr.ERROR_CODES.INVALID_LANGUAGE_MAPPING);break;case"@direction":ok.validateDirection(m,!0);break;case"@prefix":if(m!==null&&typeof m!="boolean")throw new hr.ErrorCoded(`Found an invalid term @prefix boolean in: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_PREFIX_VALUE);if(!("@id"in h)&&!Po.Util.isValidIri(l))throw new hr.ErrorCoded(`Invalid @prefix definition for '${l}' ('${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_TERM_DEFINITION);break;case"@index":if(o===1||!h["@container"]||!h["@container"]["@index"])throw new hr.ErrorCoded(`Attempt to add illegal key to value object: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_TERM_DEFINITION);break;case"@nest":if(Po.Util.isPotentialKeyword(m)&&m!=="@nest")throw new hr.ErrorCoded(`Found an invalid term @nest value in: '${l}': '${JSON.stringify(h)}'`,hr.ERROR_CODES.INVALID_NEST_VALUE)}}break;default:throw new hr.ErrorCoded(`Found an invalid term value: '${l}': '${h}'`,hr.ERROR_CODES.INVALID_TERM_DEFINITION)}}}applyBaseEntry(r,o,l){return typeof r=="string"||(l&&!("@base"in r)&&o.parentContext&&typeof o.parentContext=="object"&&"@base"in o.parentContext&&(r["@base"]=o.parentContext["@base"],o.parentContext["@__baseDocument"]&&(r["@__baseDocument"]=!0)),o.baseIRI&&!o.external&&("@base"in r?r["@base"]!==null&&typeof r["@base"]=="string"&&!Po.Util.isValidIri(r["@base"])&&(r["@base"]=(0,rOt.resolve)(r["@base"],o.parentContext&&o.parentContext["@base"]||o.baseIRI)):(r["@base"]=o.baseIRI,r["@__baseDocument"]=!0))),r}normalizeContextIri(r,o){if(!Po.Util.isValidIri(r))try{r=(0,rOt.resolve)(r,o)}catch{throw new Error(`Invalid context IRI: ${r}`)}return this.redirectSchemaOrgHttps&&r.startsWith("http://schema.org")&&(r="https://schema.org/"),r}async parseInnerContexts(r,o,l){for(const h of l??Object.keys(r)){const b=r[h];if(b&&typeof b=="object"&&"@context"in b&&b["@context"]!==null&&!o.ignoreScopedContexts){if(this.validateContext)try{const g=Object.assign(Object.assign({},r),{[h]:Object.assign({},r[h])});delete g[h]["@context"],await this.parse(b["@context"],Object.assign(Object.assign({},o),{external:!1,parentContext:g,ignoreProtection:!0,ignoreRemoteScopedContexts:!0,ignoreScopedContexts:!0}))}catch(g){throw new hr.ErrorCoded(g.message,hr.ERROR_CODES.INVALID_SCOPED_CONTEXT)}r[h]=Object.assign(Object.assign({},b),{"@context":(await this.parse(b["@context"],Object.assign(Object.assign({},o),{external:!1,minimalProcessing:!0,ignoreRemoteScopedContexts:!0,parentContext:r}))).getContextRaw()})}}return r}async parse(r,o={},l={}){const{baseIRI:h,parentContext:b,external:g,processingMode:m=ok.DEFAULT_PROCESSING_MODE,normalizeLanguageTags:S,ignoreProtection:_,minimalProcessing:k}=o,I=o.remoteContexts||{};if(Object.keys(I).length>=this.remoteContextsDepthLimit)throw new hr.ErrorCoded("Detected an overflow in remote context inclusions: "+Object.keys(I),hr.ERROR_CODES.CONTEXT_OVERFLOW);if(r==null){if(!_&&b&&Po.Util.hasProtectedTerms(b))throw new hr.ErrorCoded("Illegal context nullification when terms are protected",hr.ERROR_CODES.INVALID_CONTEXT_NULLIFICATION);return new n2.JsonLdContextNormalized(this.applyBaseEntry({},o,!1))}else if(typeof r=="string"){const C=this.normalizeContextIri(r,h),A=this.getOverriddenLoad(C,o);if(A)return new n2.JsonLdContextNormalized(A);const M=await this.parse(await this.load(C),Object.assign(Object.assign({},o),{baseIRI:C,external:!0,remoteContexts:Object.assign(Object.assign({},I),{[C]:!0})}));return this.applyBaseEntry(M.getContextRaw(),o,!0),M}else if(Array.isArray(r)){const C=[],A=await Promise.all(r.map((D,H)=>{if(typeof D=="string"){const G=this.normalizeContextIri(D,h);C[H]=G;const Y=this.getOverriddenLoad(G,o);return Y||this.load(G)}else return D}));if(k)return new n2.JsonLdContextNormalized(A);const M=await A.reduce((D,H,G)=>D.then(Y=>this.parse(H,Object.assign(Object.assign({},o),{baseIRI:C[G]||o.baseIRI,external:!!C[G]||o.external,parentContext:Y.getContextRaw(),remoteContexts:C[G]?Object.assign(Object.assign({},I),{[C[G]]:!0}):I}),{skipValidation:G=1.1){if(typeof r["@import"]!="string")throw new hr.ErrorCoded("An @import value must be a string, but got "+typeof r["@import"],hr.ERROR_CODES.INVALID_IMPORT_VALUE);C=await this.loadImportContext(this.normalizeContextIri(r["@import"],h)),delete r["@import"]}else throw new hr.ErrorCoded("Context importing is not supported in JSON-LD 1.0",hr.ERROR_CODES.INVALID_CONTEXT_ENTRY);this.applyScopedProtected(C,{processingMode:m},n2.defaultExpandOptions);const A=Object.assign(C,r);this.idifyReverseTerms(A),this.normalize(A,{processingMode:m,normalizeLanguageTags:S}),this.applyScopedProtected(A,{processingMode:m},n2.defaultExpandOptions);const M=Object.keys(A),D=[];if(typeof b=="object")for(const G in b)G in A?D.push(G):A[G]=b[G];await this.parseInnerContexts(A,o,M);const H=new n2.JsonLdContextNormalized(A);return(A&&A["@version"]||ok.DEFAULT_PROCESSING_MODE)>=1.1&&(r["@vocab"]&&typeof r["@vocab"]=="string"||r["@vocab"]==="")&&(b&&"@vocab"in b&&r["@vocab"].indexOf(":")<0?A["@vocab"]=b["@vocab"]+r["@vocab"]:(Po.Util.isCompactIri(r["@vocab"])||r["@vocab"]in A)&&(A["@vocab"]=H.expandTerm(r["@vocab"],!0))),this.expandPrefixedTerms(H,this.expandContentTypeToBase,M),!_&&b&&m>=1.1&&this.validateKeywordRedefinitions(b,A,n2.defaultExpandOptions,D),this.validateContext&&!l.skipValidation&&this.validate(A,{processingMode:m}),H}else throw new hr.ErrorCoded(`Tried parsing a context that is not a string, array or object, but got ${r}`,hr.ERROR_CODES.INVALID_LOCAL_CONTEXT)}async load(r){const o=this.documentCache[r];if(o)return o;let l;try{l=await this.documentLoader.load(r)}catch(h){throw new hr.ErrorCoded(`Failed to load remote context ${r}: ${h.message}`,hr.ERROR_CODES.LOADING_REMOTE_CONTEXT_FAILED)}if(!("@context"in l))throw new hr.ErrorCoded(`Missing @context in remote context at ${r}`,hr.ERROR_CODES.INVALID_REMOTE_CONTEXT);return this.documentCache[r]=l["@context"]}getOverriddenLoad(r,o){if(r in(o.remoteContexts||{})){if(o.ignoreRemoteScopedContexts)return r;throw new hr.ErrorCoded("Detected a cyclic context inclusion of "+r,hr.ERROR_CODES.RECURSIVE_CONTEXT_INCLUSION)}return null}async loadImportContext(r){let o=await this.load(r);if(typeof o!="object"||Array.isArray(o))throw new hr.ErrorCoded("An imported context must be a single object: "+r,hr.ERROR_CODES.INVALID_REMOTE_CONTEXT);if("@import"in o)throw new hr.ErrorCoded("An imported context can not import another context: "+r,hr.ERROR_CODES.INVALID_CONTEXT_ENTRY);return o=Object.assign({},o),this.containersToHash(o),o}}ok.DEFAULT_PROCESSING_MODE=1.1;gce.ContextParser=ok;var xVt={};Object.defineProperty(xVt,"__esModule",{value:!0});var $Vt={};Object.defineProperty($Vt,"__esModule",{value:!0});(function(n){var r=Uc&&Uc.__createBinding||(Object.create?function(l,h,b,g){g===void 0&&(g=b);var m=Object.getOwnPropertyDescriptor(h,b);(!m||("get"in m?!h.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return h[b]}}),Object.defineProperty(l,g,m)}:function(l,h,b,g){g===void 0&&(g=b),l[g]=h[b]}),o=Uc&&Uc.__exportStar||function(l,h){for(var b in l)b!=="default"&&!Object.prototype.hasOwnProperty.call(h,b)&&r(h,l,b)};Object.defineProperty(n,"__esModule",{value:!0}),o(gce,n),o(tM,n),o(QG,n),o(xVt,n),o($Vt,n),o(yMe,n),o(nM,n)})(Sg);var IVt={exports:{}},mIe={exports:{}},df={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},TVt={exports:{}},jU={exports:{}},iOt;function Zo(){if(iOt)return jU.exports;iOt=1;const{AbortController:n,AbortSignal:r}=typeof self<"u"?self:typeof window<"u"?window:void 0;return jU.exports=n,jU.exports.AbortSignal=r,jU.exports.default=n,jU.exports}(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=df,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(TVt);var Eg=TVt.exports,vMe={};const{format:gHn,inspect:rle,AggregateError:wHn}=Eg,mHn=globalThis.AggregateError||wHn,yHn=Symbol("kIsNodeError"),vHn=["string","function","number","object","Function","Object","boolean","bigint","symbol"],_Hn=/^([A-Z][a-z0-9]*)+$/,SHn="__node_internal_",wce={};function UI(n,r){if(!n)throw new wce.ERR_INTERNAL_ASSERTION(r)}function oOt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function EHn(n,r,o){if(typeof r=="function")return UI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return UI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:gHn(r,...o)}function gb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(EHn(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[yHn]=!0,wce[n]=l}function sOt(n){const r=SHn+n.name;return Object.defineProperty(n,"name",{value:r}),n}function kHn(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new mHn([r,n],r.message);return o.code=r.code,o}return n||r}let RHn=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new wce.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};gb("ERR_ASSERTION","%s",Error);gb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{UI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)UI(typeof S=="string","All expected entries have to be of type string"),vHn.includes(S)?h.push(S.toLowerCase()):_Hn.test(S)?b.push(S):(UI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=rle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=rle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);gb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=rle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);gb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);gb("ERR_MISSING_ARGS",(...n)=>{UI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);gb("ERR_OUT_OF_RANGE",(n,r,o)=>{UI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=oOt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=oOt(l)),l+="n"):l=rle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);gb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);gb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);gb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);gb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);gb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);gb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);gb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);gb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);gb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);gb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);gb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var H1={AbortError:RHn,aggregateTwoErrors:sOt(kHn),hideStackFrames:sOt,codes:wce};const{ArrayIsArray:_Me,ArrayPrototypeIncludes:PVt,ArrayPrototypeJoin:OVt,ArrayPrototypeMap:AHn,NumberIsInteger:SMe,NumberIsNaN:CHn,NumberMAX_SAFE_INTEGER:xHn,NumberMIN_SAFE_INTEGER:$Hn,NumberParseInt:IHn,ObjectPrototypeHasOwnProperty:THn,RegExpPrototypeExec:NVt,String:PHn,StringPrototypeToUpperCase:OHn,StringPrototypeTrim:NHn}=df,{hideStackFrames:cy,codes:{ERR_SOCKET_BAD_PORT:MHn,ERR_INVALID_ARG_TYPE:up,ERR_INVALID_ARG_VALUE:rM,ERR_OUT_OF_RANGE:iT,ERR_UNKNOWN_SIGNAL:aOt}}=H1,{normalizeEncoding:DHn}=Eg,{isAsyncFunction:LHn,isArrayBufferView:jHn}=Eg.types,lOt={};function FHn(n){return n===(n|0)}function BHn(n){return n===n>>>0}const HHn=/^[0-7]+$/,WHn="must be a 32-bit unsigned integer or an octal string";function UHn(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(NVt(HHn,n)===null)throw new rM(r,n,WHn);n=IHn(n,8)}return MVt(n,r),n}const VHn=cy((n,r,o=$Hn,l=xHn)=>{if(typeof n!="number")throw new up(r,"number",n);if(!SMe(n))throw new iT(r,"an integer",n);if(nl)throw new iT(r,`>= ${o} && <= ${l}`,n)}),GHn=cy((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new up(r,"number",n);if(!SMe(n))throw new iT(r,"an integer",n);if(nl)throw new iT(r,`>= ${o} && <= ${l}`,n)}),MVt=cy((n,r,o=!1)=>{if(typeof n!="number")throw new up(r,"number",n);if(!SMe(n))throw new iT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new iT(r,`>= ${l} && <= ${h}`,n)});function EMe(n,r){if(typeof n!="string")throw new up(r,"string",n)}function KHn(n,r,o=void 0,l){if(typeof n!="number")throw new up(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&CHn(n))throw new iT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const zHn=cy((n,r,o)=>{if(!PVt(o,n)){const h="must be one of: "+OVt(AHn(o,b=>typeof b=="string"?`'${b}'`:PHn(b)),", ");throw new rM(r,n,h)}});function DVt(n,r){if(typeof n!="boolean")throw new up(r,"boolean",n)}function yIe(n,r,o){return n==null||!THn(n,r)?o:n[r]}const qHn=cy((n,r,o=null)=>{const l=yIe(o,"allowArray",!1),h=yIe(o,"allowFunction",!1);if(!yIe(o,"nullable",!1)&&n===null||!l&&_Me(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new up(r,"Object",n)}),XHn=cy((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new up(r,"a dictionary",n)}),mce=cy((n,r,o=0)=>{if(!_Me(n))throw new up(r,"Array",n);if(n.length{if(!jHn(n))throw new up(r,["Buffer","TypedArray","DataView"],n)});function tWn(n,r){const o=DHn(r),l=n.length;if(o==="hex"&&l%2!==0)throw new rM("encoding",r,`is invalid for data of length ${l}`)}function nWn(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&NHn(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new MHn(r,n,o);return n|0}const LVt=cy((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new up(r,"AbortSignal",n)}),rWn=cy((n,r)=>{if(typeof n!="function")throw new up(r,"Function",n)}),iWn=cy((n,r)=>{if(typeof n!="function"||LHn(n))throw new up(r,"Function",n)}),oWn=cy((n,r)=>{if(n!==void 0)throw new up(r,"undefined",n)});function sWn(n,r,o){if(!PVt(o,n))throw new up(r,`('${OVt(o,"|")}')`,n)}const aWn=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function cOt(n,r){if(typeof n>"u"||!NVt(aWn,n))throw new rM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function lWn(n){if(typeof n=="string")return cOt(n,"hints"),n;if(_Me(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var ZG={isInt32:FHn,isUint32:BHn,parseFileMode:UHn,validateArray:mce,validateStringArray:JHn,validateBooleanArray:YHn,validateAbortSignalArray:QHn,validateBoolean:DVt,validateBuffer:eWn,validateDictionary:XHn,validateEncoding:tWn,validateFunction:rWn,validateInt32:GHn,validateInteger:VHn,validateNumber:KHn,validateObject:qHn,validateOneOf:zHn,validatePlainFunction:iWn,validatePort:nWn,validateSignalName:ZHn,validateString:EMe,validateUint32:MVt,validateUndefined:oWn,validateUnion:sWn,validateAbortSignal:LVt,validateLinkHeaderValue:lWn},kMe={exports:{}};const{SymbolAsyncIterator:uOt,SymbolIterator:fOt,SymbolFor:_T}=df,jVt=_T("nodejs.stream.destroyed"),FVt=_T("nodejs.stream.errored"),jPe=_T("nodejs.stream.readable"),FPe=_T("nodejs.stream.writable"),BVt=_T("nodejs.stream.disturbed"),cWn=_T("nodejs.webstream.isClosedPromise"),uWn=_T("nodejs.webstream.controllerErrorFunction");function yce(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function vce(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function fWn(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function zS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function HVt(n){return!!(n&&!zS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function WVt(n){return!!(n&&!zS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function UVt(n){return!!(n&&!zS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function dWn(n){return HVt(n)||WVt(n)||UVt(n)}function hWn(n,r){return n==null?!1:r===!0?typeof n[uOt]=="function":r===!1?typeof n[fOt]=="function":typeof n[uOt]=="function"||typeof n[fOt]=="function"}function _ce(n){if(!zS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[jVt]||l!=null&&l.destroyed)}function VVt(n){if(!vce(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function bWn(n,r){if(!vce(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function pWn(n){if(!yce(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function GVt(n,r){if(!yce(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function KVt(n){return n&&n[jPe]!=null?n[jPe]:typeof(n==null?void 0:n.readable)!="boolean"?null:_ce(n)?!1:yce(n)&&n.readable&&!GVt(n)}function zVt(n){return n&&n[FPe]!=null?n[FPe]:typeof(n==null?void 0:n.writable)!="boolean"?null:_ce(n)?!1:vce(n)&&n.writable&&!VVt(n)}function gWn(n,r){return zS(n)?_ce(n)?!0:!((r==null?void 0:r.readable)!==!1&&KVt(n)||(r==null?void 0:r.writable)!==!1&&zVt(n)):null}function wWn(n){var r,o;return zS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function mWn(n){var r,o;return zS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function yWn(n){if(!zS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&qVt(n)?n._closed:null}function qVt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function XVt(n){return typeof n._sent100=="boolean"&&qVt(n)}function vWn(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function _Wn(n){if(!zS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&XVt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function SWn(n){var r;return!!(n&&((r=n[BVt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function EWn(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[FVt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var Vk={isDestroyed:_ce,kIsDestroyed:jVt,isDisturbed:SWn,kIsDisturbed:BVt,isErrored:EWn,kIsErrored:FVt,isReadable:KVt,kIsReadable:jPe,kIsClosedPromise:cWn,kControllerErrorFunction:uWn,kIsWritable:FPe,isClosed:yWn,isDuplexNodeStream:fWn,isFinished:gWn,isIterable:hWn,isReadableNodeStream:yce,isReadableStream:HVt,isReadableEnded:pWn,isReadableFinished:GVt,isReadableErrored:mWn,isNodeStream:zS,isWebStream:dWn,isWritable:zVt,isWritableNodeStream:vce,isWritableStream:WVt,isWritableEnded:VVt,isWritableFinished:bWn,isWritableErrored:wWn,isServerRequest:vWn,isServerResponse:XVt,willEmitClose:_Wn,isTransformStream:UVt};const c6=yi,{AbortError:JVt,codes:kWn}=H1,{ERR_INVALID_ARG_TYPE:RWn,ERR_STREAM_PREMATURE_CLOSE:dOt}=kWn,{kEmptyObject:BPe,once:HPe}=Eg,{validateAbortSignal:AWn,validateFunction:CWn,validateObject:xWn,validateBoolean:$Wn}=ZG,{Promise:IWn,PromisePrototypeThen:TWn,SymbolDispose:YVt}=df,{isClosed:PWn,isReadable:hOt,isReadableNodeStream:vIe,isReadableStream:OWn,isReadableFinished:bOt,isReadableErrored:pOt,isWritable:gOt,isWritableNodeStream:wOt,isWritableStream:NWn,isWritableFinished:mOt,isWritableErrored:yOt,isNodeStream:MWn,willEmitClose:DWn,kIsClosedPromise:LWn}=Vk;let pN;function jWn(n){return n.setHeader&&typeof n.abort=="function"}const WPe=()=>{};function QVt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=BPe):r==null?r=BPe:xWn(r,"options"),CWn(o,"callback"),AWn(r.signal,"options.signal"),o=HPe(o),OWn(n)||NWn(n))return FWn(n,r,o);if(!MWn(n))throw new RWn("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:vIe(n),g=(h=r.writable)!==null&&h!==void 0?h:wOt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=DWn(n)&&vIe(n)===b&&wOt(n)===g,I=mOt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=bOt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=PWn(n);const G=()=>{H=!0;const ne=yOt(n)||pOt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&vIe(n,!0)&&!bOt(n,!1))return o.call(n,new dOt);if(g&&!I&&!mOt(n,!1))return o.call(n,new dOt);o.call(n)},Y=()=>{H=!0;const ne=yOt(n)||pOt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};jWn(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?c6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||c6.nextTick(Y):(!b&&(!k||hOt(n))&&(I||gOt(n)===!1)||!g&&(!k||gOt(n))&&(A||hOt(n)===!1)||S&&n.req&&n.aborted)&&c6.nextTick(Y);const Q=()=>{o=WPe,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new JVt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)c6.nextTick(ne);else{pN=pN||Eg.addAbortListener;const be=pN(r.signal,ne),De=o;o=HPe((...Ee)=>{be[YVt](),De.apply(n,Ee)})}}return Q}function FWn(n,r,o){let l=!1,h=WPe;if(r.signal)if(h=()=>{l=!0,o.call(n,new JVt(void 0,{cause:r.signal.reason}))},r.signal.aborted)c6.nextTick(h);else{pN=pN||Eg.addAbortListener;const g=pN(r.signal,h),m=o;o=HPe((...S)=>{g[YVt](),m.apply(n,S)})}const b=(...g)=>{l||c6.nextTick(()=>o.apply(n,g))};return TWn(n[LWn].promise,b,b),WPe}function BWn(n,r){var o;let l=!1;return r===null&&(r=BPe),(o=r)!==null&&o!==void 0&&o.cleanup&&($Wn(r.cleanup,"cleanup"),l=r.cleanup),new IWn((h,b)=>{const g=QVt(n,r,m=>{l&&g(),m?b(m):h()})})}kMe.exports=QVt;kMe.exports.finished=BWn;var H6=kMe.exports;const AS=yi,{aggregateTwoErrors:HWn,codes:{ERR_MULTIPLE_CALLBACK:WWn},AbortError:UWn}=H1,{Symbol:ZVt}=df,{kIsDestroyed:VWn,isDestroyed:GWn,isFinished:KWn,isServerRequest:zWn}=Vk,eGt=ZVt("kDestroy"),UPe=ZVt("kConstruct");function tGt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function qWn(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(tGt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?vOt(this,n,r):this.once(eGt,function(b){vOt(this,HWn(b,n),r)}),this)}function vOt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;tGt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?AS.nextTick(XWn,n,b):AS.nextTick(nGt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function XWn(n,r){VPe(n,r),nGt(n)}function nGt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function VPe(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function JWn(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function GPe(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?AS.nextTick(VPe,n,r):VPe(n,r))}function YWn(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(UPe,r),!(n.listenerCount(UPe)>1)&&AS.nextTick(QWn,n)}function QWn(n){let r=!1;function o(l){if(r){GPe(n,l??new WWn);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(eGt,l):l?GPe(n,l,!0):AS.nextTick(ZWn,n)}try{n._construct(l=>{AS.nextTick(o,l)})}catch(l){AS.nextTick(o,l)}}function ZWn(n){n.emit(UPe)}function _Ot(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function rGt(n){n.emit("close")}function eUn(n,r){n.emit("error",r),AS.nextTick(rGt,n)}function tUn(n,r){!n||GWn(n)||(!r&&!KWn(n)&&(r=new UWn),zWn(n)?(n.socket=null,n.destroy(r)):_Ot(n)?n.abort():_Ot(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?AS.nextTick(eUn,n,r):AS.nextTick(rGt,n),n.destroyed||(n[VWn]=!0))}var iM={construct:YWn,destroyer:tUn,destroy:qWn,undestroy:JWn,errorOrDestroy:GPe};const{ArrayIsArray:nUn,ObjectSetPrototypeOf:iGt}=df,{EventEmitter:Sce}=Zs;function Ece(n){Sce.call(this,n)}iGt(Ece.prototype,Sce.prototype);iGt(Ece,Sce);Ece.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),Sce.listenerCount(this,"error")===0&&this.emit("error",k)}KPe(o,"error",S),KPe(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function KPe(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):nUn(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var RMe={Stream:Ece,prependListener:KPe},oGt={exports:{}};(function(n){const{SymbolDispose:r}=df,{AbortError:o,codes:l}=H1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=Vk,m=H6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||Eg.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(oGt);var kce=oGt.exports;const{StringPrototypeSlice:SOt,SymbolIterator:rUn,TypedArrayPrototypeSet:Hoe,Uint8Array:iUn}=df,{Buffer:_Ie}=Xr,{inspect:oUn}=Eg;var sUn=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return _Ie.alloc(0);const o=_Ie.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)Hoe(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=SOt(b,0,r),this.head=l,l.data=SOt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=_Ie.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)Hoe(o,g,l-r),r-=g.length;else{r===g.length?(Hoe(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(Hoe(o,new iUn(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return oUn(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:aUn,NumberIsInteger:lUn}=df,{validateInteger:cUn}=ZG,{ERR_INVALID_ARG_VALUE:uUn}=H1.codes;let sGt=16*1024,aGt=16;function fUn(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function lGt(n){return n?aGt:sGt}function dUn(n,r){cUn(r,"value",0),n?aGt=r:sGt=r}function hUn(n,r,o,l){const h=fUn(r,l,o);if(h!=null){if(!lUn(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new uUn(b,h)}return aUn(h)}return lGt(n.objectMode)}var Rce={getHighWaterMark:hUn,getDefaultHighWaterMark:lGt,setDefaultHighWaterMark:dUn};const EOt=yi,{PromisePrototypeThen:bUn,SymbolAsyncIterator:kOt,SymbolIterator:ROt}=df,{Buffer:pUn}=Xr,{ERR_INVALID_ARG_TYPE:gUn,ERR_STREAM_NULL_VALUES:wUn}=H1.codes;function mUn(n,r,o){let l;if(typeof r=="string"||r instanceof pUn)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[kOt])h=!0,l=r[kOt]();else if(r&&r[ROt])h=!1,l=r[ROt]();else throw new gUn("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){bUn(m(_),()=>EOt.nextTick(k,_),I=>EOt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new wUn;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var cGt=mUn,SIe,AOt;function Ace(){if(AOt)return SIe;AOt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=df;SIe=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=RMe,{Buffer:H}=Xr,{addAbortSignal:G}=kce,Y=H6;let F=Eg.debuglog("stream",E=>{F=E});const Q=sUn,ne=iM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=Rce,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=H1,{validateObject:ye}=ZG,me=C("kPaused"),{StringDecoder:je}=sy,Be=cGt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof mk()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof mk();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},SIe}var EIe,COt;function AMe(){if(COt)return EIe;COt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=df;EIe=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=RMe.Stream,{Buffer:C}=Xr,A=iM,{addAbortSignal:M}=kce,{getHighWaterMark:D,getDefaultHighWaterMark:H}=Rce,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=H1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof mk()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof mk();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return kIe}var RIe,$Ot;function mk(){if($Ot)return RIe;$Ot=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=df;RIe=g;const h=Ace(),b=AMe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function EUn(){this._final!==zPe&&zPe.call(this)}yk.prototype._final=zPe;yk.prototype._transform=function(n,r,o){throw new _Un("_transform()")};yk.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=ile(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,$Un.destroyer(n,b||new PUn("pipe")))},cleanup:h}}function BUn(n){return MUn(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function PIe(n){if(_I(n))return n;if(pae(n))return HUn(n);throw new qPe("val",["Readable","Iterable","AsyncIterable"],n)}async function*HUn(n){IIe||(IIe=Ace()),yield*IIe.prototype[AUn].call(n)}async function Woe(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new RUn((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=ile(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?IUn(h,_):_)}finally{S(),r.off("drain",g)}}async function OIe(n,r,o,{end:l}){F9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function WUn(...n){return bGt(n,xUn(BUn(n)))}function bGt(n,r,o){if(n.length===1&&kUn(n[0])&&(n=n[0]),n.length<2)throw new TUn("streams");const l=new FUn,h=l.signal,b=o==null?void 0:o.signal,g=[];DUn(b,"options.signal");function m(){M(new NUn)}TIe=TIe||Eg.addAbortListener;let S;b&&(S=TIe(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[CUn](),l.abort(),F&&(_||g.forEach(ne=>ne()),lV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(TOt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=POt(F,Q,ne);I.push(Ae),CIe(F)&&De&&g.push(qe)}F.on("error",Ee),CIe(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!_I(D))throw new AIe("Iterable, AsyncIterable or Stream","source",D)}else _I(F)||pae(F)||F9(F)?D=F:D=IOt.from(F);else if(typeof F=="function"){if(F9(D)){var H;D=PIe((H=D)===null||H===void 0?void 0:H.readable)}else D=PIe(D);if(D=F(D,{signal:h}),Q){if(!_I(D,!0))throw new AIe("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;$Ie||($Ie=hGt);const Ee=new $Ie({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),lV.nextTick(A)},fe=>{Ee.destroy(fe),lV.nextTick(A,fe)});else if(_I(D,!0))C++,Woe(D,Ee,A,{end:be});else if(xIe(D)||F9(D)){const fe=D.readable||D;C++,Woe(fe,Ee,A,{end:be})}else throw new AIe("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=POt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(TOt(F)){if(pae(D)){C+=2;const Ee=UUn(D,F,A,{end:be});CIe(F)&&De&&g.push(Ee)}else if(F9(D)||xIe(D)){const Ee=D.readable||D;C++,Woe(Ee,F,A,{end:be})}else if(_I(D))C++,Woe(D,F,A,{end:be});else throw new qPe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(LUn(F)){if(pae(D))C++,OIe(PIe(D),F,A,{end:be});else if(xIe(D)||_I(D))C++,OIe(D,F,A,{end:be});else if(F9(D))C++,OIe(D.readable,F,A,{end:be});else throw new qPe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=IOt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&lV.nextTick(m),D}function UUn(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new OUn)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};jUn(n)?lV.nextTick(b):n.once("end",b)}else o();return ile(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),ile(r,{readable:!1,writable:!0},o)}var $Me={pipelineImpl:bGt,pipeline:WUn};const{pipeline:VUn}=$Me,Uoe=mk(),{destroyer:GUn}=iM,{isNodeStream:Voe,isReadable:OOt,isWritable:NOt,isWebStream:NIe,isTransformStream:iI,isWritableStream:MOt,isReadableStream:DOt}=Vk,{AbortError:KUn,codes:{ERR_INVALID_ARG_VALUE:LOt,ERR_MISSING_ARGS:zUn}}=H1,qUn=H6;var pGt=function(...r){if(r.length===0)throw new zUn("streams");if(r.length===1)return Uoe.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=Uoe.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=Uoe.from(r[A])}for(let A=0;A0&&!(NOt(r[A])||MOt(r[A])||iI(r[A])))throw new LOt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=VUn(r,S),I=!!(NOt(_)||MOt(_)||iI(_)),C=!!(OOt(k)||DOt(k)||iI(k));if(m=new Uoe({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(Voe(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(NIe(_)){const D=(iI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=iI(k)?k.readable:k;qUn(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(Voe(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(NIe(k)){const M=(iI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new KUn),b=null,l=null,h=null,g===null?M(A):(g=M,Voe(k)&&GUn(k,A))},m};const XUn=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:JUn,ERR_INVALID_ARG_TYPE:eK,ERR_MISSING_ARGS:YUn,ERR_OUT_OF_RANGE:QUn},AbortError:LS}=H1,{validateAbortSignal:ST,validateInteger:jOt,validateObject:ET}=ZG,ZUn=df.Symbol("kWeak"),eVn=df.Symbol("kResistStopPropagation"),{finished:tVn}=H6,nVn=pGt,{addAbortSignalNoValidate:rVn}=kce,{isWritable:iVn,isNodeStream:oVn}=Vk,{deprecate:sVn}=Eg,{ArrayPrototypePush:aVn,Boolean:lVn,MathFloor:FOt,Number:cVn,NumberIsNaN:uVn,Promise:BOt,PromiseReject:HOt,PromiseResolve:fVn,PromisePrototypeThen:WOt,Symbol:gGt}=df,ole=gGt("kEmpty"),UOt=gGt("kEof");function dVn(n,r){if(r!=null&&ET(r,"options"),(r==null?void 0:r.signal)!=null&&ST(r.signal,"options.signal"),oVn(n)&&!iVn(n))throw new JUn("stream",n,"must be writable");const o=nVn(this,n);return r!=null&&r.signal&&rVn(r.signal,o),o}function Cce(n,r){if(typeof n!="function")throw new eK("fn",["Function","AsyncFunction"],n);r!=null&&ET(r,"options"),(r==null?void 0:r.signal)!=null&&ST(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=FOt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=FOt(r.highWaterMark)),jOt(o,"options.concurrency",1),jOt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=Eg.AbortSignalAny([r==null?void 0:r.signal].filter(lVn)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new BOt(Y=>{k=Y})}m.push(UOt)}catch(G){const Y=HOt(G);WOt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===UOt)return;if(b.aborted)throw new LS;G!==ole&&(yield G),m.shift(),D()}await new BOt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function hVn(n=void 0){return n!=null&&ET(n,"options"),(n==null?void 0:n.signal)!=null&&ST(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new LS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function wGt(n,r=void 0){for await(const o of IMe.call(this,n,r))return!0;return!1}async function bVn(n,r=void 0){if(typeof n!="function")throw new eK("fn",["Function","AsyncFunction"],n);return!await wGt.call(this,async(...o)=>!await n(...o),r)}async function pVn(n,r){for await(const o of IMe.call(this,n,r))return o}async function gVn(n,r){if(typeof n!="function")throw new eK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),ole}for await(const l of Cce.call(this,o,r));}function IMe(n,r){if(typeof n!="function")throw new eK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:ole}return Cce.call(this,o,r)}let wVn=class extends YUn{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function mVn(n,r,o){var l;if(typeof n!="function")throw new eK("reducer",["Function","AsyncFunction"],n);o!=null&&ET(o,"options"),(o==null?void 0:o.signal)!=null&&ST(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new LS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await tVn(this.destroy(_)),_}const b=new XUn,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[ZUn]:this,[eVn]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new LS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new wVn}finally{b.abort()}return r}async function yVn(n){n!=null&&ET(n,"options"),(n==null?void 0:n.signal)!=null&&ST(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new LS(void 0,{cause:n.signal.reason});aVn(r,l)}return r}function vVn(n,r){const o=Cce.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function mGt(n){if(n=cVn(n),uVn(n))return 0;if(n<0)throw new QUn("number",">= 0",n);return n}function _Vn(n,r=void 0){return r!=null&&ET(r,"options"),(r==null?void 0:r.signal)!=null&&ST(r.signal,"options.signal"),n=mGt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new LS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new LS;n--<=0&&(yield b)}}).call(this)}function SVn(n,r=void 0){return r!=null&&ET(r,"options"),(r==null?void 0:r.signal)!=null&&ST(r.signal,"options.signal"),n=mGt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new LS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new LS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}vMe.streamReturningOperators={asIndexedPairs:sVn(hVn,"readable.asIndexedPairs will be removed in a future version."),drop:_Vn,filter:IMe,flatMap:vVn,map:Cce,take:SVn,compose:dVn};vMe.promiseReturningOperators={every:bVn,forEach:gVn,reduce:mVn,toArray:yVn,some:wGt,find:pVn};var MIe,VOt;function yGt(){if(VOt)return MIe;VOt=1;const{ArrayPrototypePop:n,Promise:r}=df,{isIterable:o,isNodeStream:l,isWebStream:h}=Vk,{pipelineImpl:b}=$Me,{finished:g}=H6;vGt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return MIe={finished:g,pipeline:m},MIe}var GOt;function vGt(){if(GOt)return mIe.exports;GOt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=df,{promisify:{custom:h}}=Eg,{streamReturningOperators:b,promiseReturningOperators:g}=vMe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=H1,S=pGt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=Rce,{pipeline:I}=$Me,{destroyer:C}=iM,A=H6,M=yGt(),D=Vk,H=mIe.exports=RMe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=Ace();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=AMe(),H.Duplex=mk(),H.Transform=fGt,H.PassThrough=hGt,H.pipeline=I;const{addAbortSignal:G}=kce;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},mIe.exports}(function(n){const r=vGt(),o=yGt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(IVt);var EVn=IVt.exports,xce={},FU={},TMe={},tK={};Object.defineProperty(tK,"__esModule",{value:!0});tK.BlankNode=void 0;let kVn=class{constructor(r){this.termType="BlankNode",this.value=r}equals(r){return!!r&&r.termType==="BlankNode"&&r.value===this.value}};tK.BlankNode=kVn;var $ce={},nK={};Object.defineProperty(nK,"__esModule",{value:!0});nK.DefaultGraph=void 0;let XPe=class{constructor(){this.termType="DefaultGraph",this.value=""}equals(r){return!!r&&r.termType==="DefaultGraph"}};nK.DefaultGraph=XPe;XPe.INSTANCE=new XPe;var rK={},oM={};Object.defineProperty(oM,"__esModule",{value:!0});oM.NamedNode=void 0;let RVn=class{constructor(r){this.termType="NamedNode",this.value=r}equals(r){return!!r&&r.termType==="NamedNode"&&r.value===this.value}};oM.NamedNode=RVn;Object.defineProperty(rK,"__esModule",{value:!0});rK.Literal=void 0;const _Gt=oM;let PMe=class JPe{constructor(r,o){this.termType="Literal",this.value=r,typeof o=="string"?(this.language=o,this.datatype=JPe.RDF_LANGUAGE_STRING):o?(this.language="",this.datatype=o):(this.language="",this.datatype=JPe.XSD_STRING)}equals(r){return!!r&&r.termType==="Literal"&&r.value===this.value&&r.language===this.language&&this.datatype.equals(r.datatype)}};rK.Literal=PMe;PMe.RDF_LANGUAGE_STRING=new _Gt.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString");PMe.XSD_STRING=new _Gt.NamedNode("http://www.w3.org/2001/XMLSchema#string");var iK={};Object.defineProperty(iK,"__esModule",{value:!0});iK.Quad=void 0;let AVn=class{constructor(r,o,l,h){this.termType="Quad",this.value="",this.subject=r,this.predicate=o,this.object=l,this.graph=h}equals(r){return!!r&&(r.termType==="Quad"||!r.termType)&&this.subject.equals(r.subject)&&this.predicate.equals(r.predicate)&&this.object.equals(r.object)&&this.graph.equals(r.graph)}};iK.Quad=AVn;var oK={};Object.defineProperty(oK,"__esModule",{value:!0});oK.Variable=void 0;let CVn=class{constructor(r){this.termType="Variable",this.value=r}equals(r){return!!r&&r.termType==="Variable"&&r.value===this.value}};oK.Variable=CVn;Object.defineProperty($ce,"__esModule",{value:!0});$ce.DataFactory=void 0;const xVn=tK,$Vn=nK,KOt=rK,IVn=oM,TVn=iK,PVn=oK;let OVn=0,NVn=class{constructor(r){this.blankNodeCounter=0,r=r||{},this.blankNodePrefix=r.blankNodePrefix||`df_${OVn++}_`}namedNode(r){return new IVn.NamedNode(r)}blankNode(r){return new xVn.BlankNode(r||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(r,o){return new KOt.Literal(r,o)}variable(r){return new PVn.Variable(r)}defaultGraph(){return $Vn.DefaultGraph.INSTANCE}quad(r,o,l,h){return new TVn.Quad(r,o,l,h||this.defaultGraph())}fromTerm(r){switch(r.termType){case"NamedNode":return this.namedNode(r.value);case"BlankNode":return this.blankNode(r.value);case"Literal":return r.language?this.literal(r.value,r.language):r.datatype.equals(KOt.Literal.XSD_STRING)?this.literal(r.value):this.literal(r.value,this.fromTerm(r.datatype));case"Variable":return this.variable(r.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(r.subject),this.fromTerm(r.predicate),this.fromTerm(r.object),this.fromTerm(r.graph))}}fromQuad(r){return this.fromTerm(r)}resetBlankNodeCounter(){this.blankNodeCounter=0}};$ce.DataFactory=NVn;(function(n){var r=Uc&&Uc.__createBinding||(Object.create?function(l,h,b,g){g===void 0&&(g=b),Object.defineProperty(l,g,{enumerable:!0,get:function(){return h[b]}})}:function(l,h,b,g){g===void 0&&(g=b),l[g]=h[b]}),o=Uc&&Uc.__exportStar||function(l,h){for(var b in l)b!=="default"&&!Object.prototype.hasOwnProperty.call(h,b)&&r(h,l,b)};Object.defineProperty(n,"__esModule",{value:!0}),o(tK,n),o($ce,n),o(nK,n),o(rK,n),o(oM,n),o(iK,n),o(oK,n)})(TMe);var BU={},Ice={};Object.defineProperty(Ice,"__esModule",{value:!0});Ice.ContainerHandlerIdentifier=void 0;class MVn{canCombineWithGraph(){return!0}async handle(r,o,l,h,b,g){let m;if(o.emittedStack[g+1]&&o.idStack[g+1])m=o.idStack[g+1][0];else{const k=await l.getContainerKey(h[g],h,g)!==null?await l.resourceToTerm(await o.getContext(h),h[g]):l.dataFactory.blankNode();if(!k){o.emittedStack[g]=!1;return}m=k,o.idStack[g+1]=[m]}let S=o.idStack[g];S||(S=o.idStack[g]=[]),S.some(_=>_.equals(m))||S.push(m),await o.handlePendingContainerFlushBuffers()||(o.emittedStack[g]=!1)}}Ice.ContainerHandlerIdentifier=MVn;var HU={},WU={},zOt;function Tce(){if(zOt)return WU;zOt=1,Object.defineProperty(WU,"__esModule",{value:!0}),WU.EntryHandlerPredicate=void 0;const n=Sg,r=kT();let o=class SGt{static async handlePredicateObject(h,b,g,m,S,_,k,I,C){const A=await b.getPropertiesDepth(g,m),M=await b.getDepthOffsetGraph(m,g),D=m-M,H=h.idStack[A];if(H&&!C)for(const G of H)if(M>=0){const F=h.idStack[D-1];if(F)for(const Q of F)b.emitQuadChecked(m,G,S,_,Q,k,I);else k?(b.validateReverseSubject(_),h.getUnidentifiedGraphBufferSafe(D-1).push({subject:_,predicate:S,object:G,isEmbedded:I})):h.getUnidentifiedGraphBufferSafe(D-1).push({subject:G,predicate:S,object:_,isEmbedded:I})}else{const F=await b.getGraphContainerValue(g,A);b.emitQuadChecked(m,G,S,_,F,k,I)}else if(k&&b.validateReverseSubject(_),C){if(h.rdfstar){h.idStack[m]&&h.emitError(new n.ErrorCoded(`Found an illegal @id inside an annotation: ${h.idStack[m][0].value}`,n.ERROR_CODES.INVALID_ANNOTATION));for(let F=0;F=0;F--){const Q=G[F];Q.depth>A&&(Y.nestedAnnotations.push(Q),G.splice(F,1))}}}else h.getUnidentifiedValueBufferSafe(A).push({predicate:S,object:_,reverse:k,isEmbedded:I})}isPropertyHandler(){return!0}isStackProcessor(){return!0}async validate(h,b,g,m,S){const _=g[m];if(_){const k=await h.getContext(g);if(!h.jsonLiteralStack[m]&&await b.predicateToTerm(k,g[m]))return r.Util.getContextValueType(k,_)==="@json"&&(h.jsonLiteralStack[m+1]=!0),!0}return!1}async test(h,b,g,m,S){return m[S]}async handle(h,b,g,m,S,_,k){const I=m[_],C=await h.getContext(m),A=await b.predicateToTerm(C,g);if(A){const M=await b.valueToTerm(C,g,S,_,m);if(M.length)for(let D of M){let H=await b.unaliasKeywordParent(m,_);const G=r.Util.isPropertyReverse(C,I,H);let Y=0;for(;H==="@reverse"||typeof H=="number";)typeof H=="number"?Y++:_--,H=await b.unaliasKeywordParent(m,_-Y);const F=r.Util.isPropertyInEmbeddedNode(H);b.validateReverseInEmbeddedNode(g,G,F);const Q=r.Util.isPropertyInAnnotationObject(H);if(S){const ne="@list"in r.Util.getContextValueContainer(C,g);if(ne||S["@list"]){if((ne&&!Array.isArray(S)&&!S["@list"]||S["@list"]&&!Array.isArray(S["@list"]))&&D!==b.rdfNil){const be=b.dataFactory.blankNode();h.emitQuad(_,b.dataFactory.quad(be,b.rdfRest,b.rdfNil,b.getDefaultGraph())),h.emitQuad(_,b.dataFactory.quad(be,b.rdfFirst,D,b.getDefaultGraph())),D=be}if(G&&!h.allowSubjectList)throw new n.ErrorCoded(`Found illegal list value in subject position at ${g}`,n.ERROR_CODES.INVALID_REVERSE_PROPERTY_VALUE)}}await SGt.handlePredicateObject(h,b,m,_,A,D,G,F,Q)}}}};return WU.EntryHandlerPredicate=o,WU}var qOt;function DVn(){if(qOt)return HU;qOt=1,Object.defineProperty(HU,"__esModule",{value:!0}),HU.ContainerHandlerIndex=void 0;const n=Sg,r=Tce(),o=kT();let l=class{canCombineWithGraph(){return!0}async handle(b,g,m,S,_,k){if(!Array.isArray(_)){const I="@graph"in b,C=await g.getContext(S),A=S[k-1],M=o.Util.getContextValueIndex(C,A);if(M){if(n.Util.isPotentialKeyword(M))throw new n.ErrorCoded(`Keywords can not be used as @index value, got: ${M}`,n.ERROR_CODES.INVALID_TERM_DEFINITION);if(typeof M!="string")throw new n.ErrorCoded(`@index values must be strings, got: ${M}`,n.ERROR_CODES.INVALID_TERM_DEFINITION);if(typeof _!="object"){if(o.Util.getContextValueType(C,A)!=="@id")throw new n.ErrorCoded(`Property-based index containers require nodes as values or strings with @type: @id, but got: ${_}`,n.ERROR_CODES.INVALID_VALUE_OBJECT);const G=m.resourceToTerm(C,_);G&&(g.idStack[k+1]=[G])}const H=m.createVocabOrBaseTerm(C,M);if(H){const G=await m.valueToTerm(C,M,await m.getContainerKey(S[k],S,k),k,S);if(I){const Y=await m.getGraphContainerValue(S,k+1);for(const F of G)g.emitQuad(k,m.dataFactory.quad(Y,H,F,m.getDefaultGraph()))}else for(const Y of G)await r.EntryHandlerPredicate.handlePredicateObject(g,m,S,k+1,H,Y,!1,!1,!1)}}const D=I?2:1;await g.newOnValueJob(S.slice(0,S.length-D),_,k-D,!0),await g.handlePendingContainerFlushBuffers()}g.emittedStack[k]=!1}};return HU.ContainerHandlerIndex=l,HU}var Pce={};Object.defineProperty(Pce,"__esModule",{value:!0});Pce.ContainerHandlerLanguage=void 0;const XOt=Sg;class LVn{canCombineWithGraph(){return!1}async handle(r,o,l,h,b,g){const m=await l.getContainerKey(h[g],h,g);if(Array.isArray(b))b=b.map(S=>({"@value":S,"@language":m}));else{if(typeof b!="string")throw new XOt.ErrorCoded(`Got invalid language map value, got '${JSON.stringify(b)}', but expected string`,XOt.ERROR_CODES.INVALID_LANGUAGE_MAP_VALUE);b={"@value":b,"@language":m}}await o.newOnValueJob(h.slice(0,h.length-1),b,g-1,!0),o.emittedStack[g]=!1}}Pce.ContainerHandlerLanguage=LVn;var UU={},JOt;function jVn(){if(JOt)return UU;JOt=1,Object.defineProperty(UU,"__esModule",{value:!0}),UU.ContainerHandlerType=void 0;const n=Tce(),r=kT();let o=class{canCombineWithGraph(){return!1}async handle(h,b,g,m,S,_){if(!Array.isArray(S)){if(typeof S=="string"){const C=await b.getContext(m),M=r.Util.getContextValueType(C,m[_-1])==="@vocab"?await g.createVocabOrBaseTerm(C,S):await g.resourceToTerm(C,S);if(M){const D={"@id":M.termType==="NamedNode"?M.value:S};await b.newOnValueJob(m.slice(0,m.length-1),D,_-1,!0),b.idStack[_+1]=[M]}}else{const C=!!b.idStack[_+1];C||delete b.idStack[_],await b.newOnValueJob(m.slice(0,m.length-1),S,_-1,!0),C||(b.idStack[_+1]=b.idStack[_])}const k=await g.getContainerKey(m[_],m,_),I=k!==null?g.createVocabOrBaseTerm(await b.getContext(m),k):null;I&&await n.EntryHandlerPredicate.handlePredicateObject(b,g,m,_+1,g.rdfType,I,!1,!1,!1),await b.handlePendingContainerFlushBuffers()}b.emittedStack[_]=!1}};return UU.ContainerHandlerType=o,UU}var YOt;function EGt(){if(YOt)return BU;YOt=1,Object.defineProperty(BU,"__esModule",{value:!0}),BU.EntryHandlerContainer=void 0;const n=Ice,r=DVn(),o=Pce,l=jVn(),h=kT();let b=class r6{static isSimpleGraphContainer(m){return"@graph"in m&&("@set"in m&&Object.keys(m).length===2||Object.keys(m).length===1)}static isComplexGraphContainer(m){return"@graph"in m&&("@set"in m&&Object.keys(m).length>2||!("@set"in m)&&Object.keys(m).length>1)}static getContainerGraphIndex(m,S,_){let k=r6.isSimpleGraphContainer(m),I="";for(let C=S;C<_.length;C++)(!k||typeof _[C]=="number")&&(I+=":"+_[C]),!k&&typeof _[C]!="number"&&(k=!0);return I}static async getContainerHandler(m,S,_){const k={containers:{"@set":!0},depth:_,fallback:!0};let I=!1;const C=await m.getContext(S,2);for(let A=_-1;A>=0;A--)if(typeof S[A]!="number"){const M=h.Util.getContextValue(C,"@container",S[A],!1);if(M&&r6.isSimpleGraphContainer(M))return{containers:M,depth:A+1,fallback:!1};const D=h.Util.getContextValue(C,"@container",S[A-1],!1);if(D){const H="@graph"in D;for(const G in r6.CONTAINER_HANDLERS)if(D[G])return H?r6.CONTAINER_HANDLERS[G].canCombineWithGraph()?{containers:D,depth:A,fallback:!1}:k:I?k:{containers:D,depth:A,fallback:!1};return k}else{if(I)return k;I=!0}}return k}static async isBufferableContainerHandler(m,S,_){const k=await r6.getContainerHandler(m,S,_);return!k.fallback&&!("@graph"in k.containers)}isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(m,S,_,k,I){return!!await this.test(m,S,null,_,k)}async test(m,S,_,k,I){const C=h.Util.getContextValueContainer(await m.getContext(k,2),k[I-1]);for(const A in r6.CONTAINER_HANDLERS)if(C[A])return{containers:C,handler:r6.CONTAINER_HANDLERS[A]};return null}async handle(m,S,_,k,I,C,A){return A.handler.handle(A.containers,m,S,k,I,C)}};return b.CONTAINER_HANDLERS={"@id":new n.ContainerHandlerIdentifier,"@index":new r.ContainerHandlerIndex,"@language":new o.ContainerHandlerLanguage,"@type":new l.ContainerHandlerType},BU.EntryHandlerContainer=b,BU}var kGt=function n(r){return r===null||typeof r!="object"||r.toJSON!=null?JSON.stringify(r):Array.isArray(r)?"["+r.reduce((o,l,h)=>{const b=h===0?"":",",g=l===void 0||typeof l=="symbol"?null:l;return o+b+n(g)},"")+"]":"{"+Object.keys(r).sort().reduce((o,l,h)=>{if(r[l]===void 0||typeof r[l]=="symbol")return o;const b=o.length===0?"":",";return o+b+n(l)+":"+n(r[l])},"")+"}"},QOt;function kT(){if(QOt)return FU;QOt=1,Object.defineProperty(FU,"__esModule",{value:!0}),FU.Util=void 0;const n=Sg,r=TMe,o=EGt(),l=kGt;let h=class Bl{constructor(g){this.parsingContext=g.parsingContext,this.dataFactory=g.dataFactory||new r.DataFactory,this.rdfFirst=this.dataFactory.namedNode(Bl.RDF+"first"),this.rdfRest=this.dataFactory.namedNode(Bl.RDF+"rest"),this.rdfNil=this.dataFactory.namedNode(Bl.RDF+"nil"),this.rdfType=this.dataFactory.namedNode(Bl.RDF+"type"),this.rdfJson=this.dataFactory.namedNode(Bl.RDF+"JSON")}static getContextValue(g,m,S,_){const k=g.getContextRaw()[S];if(!k)return _;const I=k[m];return I===void 0?_:I}static getContextValueContainer(g,m){return Bl.getContextValue(g,"@container",m,{"@set":!0})}static getContextValueType(g,m){const S=Bl.getContextValue(g,"@type",m,null);return S==="@none"?null:S}static getContextValueLanguage(g,m){return Bl.getContextValue(g,"@language",m,g.getContextRaw()["@language"]||null)}static getContextValueDirection(g,m){return Bl.getContextValue(g,"@direction",m,g.getContextRaw()["@direction"]||null)}static isContextValueReverse(g,m){return!!Bl.getContextValue(g,"@reverse",m,null)}static getContextValueIndex(g,m){return Bl.getContextValue(g,"@index",m,g.getContextRaw()["@index"]||null)}static isPropertyReverse(g,m,S){return S==="@reverse"!==Bl.isContextValueReverse(g,m)}static isPropertyInEmbeddedNode(g){return g==="@id"}static isPropertyInAnnotationObject(g){return g==="@annotation"}static isValidIri(g){return g!==null&&n.Util.isValidIri(g)}static isPrefixArray(g,m){if(g.length>m.length)return!1;for(let S=0;S1)throw new n.ErrorCoded(`Found illegal neighbouring entries next to @set for key: '${m}'`,n.ERROR_CODES.INVALID_SET_OR_LIST_OBJECT);return[]}else if("@list"in S){if(Object.keys(S).length>1)throw new n.ErrorCoded(`Found illegal neighbouring entries next to @list for key: '${m}'`,n.ERROR_CODES.INVALID_SET_OR_LIST_OBJECT);const C=S["@list"];return Array.isArray(C)?C.length===0?[this.rdfNil]:this.parsingContext.idStack[_+1]||[]:await this.valueToTerm(await this.parsingContext.getContext(k),m,C,_-1,k.slice(0,-1))}else{if("@reverse"in S&&typeof S["@reverse"]=="boolean")return[];if("@graph"in Bl.getContextValueContainer(await this.parsingContext.getContext(k),m)){const C=this.parsingContext.graphContainerTermStack[_+1];return C?Object.values(C):[this.dataFactory.blankNode()]}else if("@id"in S){if(Object.keys(S).length>1&&(g=await this.parsingContext.getContext(k,0)),"@context"in S&&(g=await this.parsingContext.parseContext(S["@context"],g.getContextRaw())),S["@type"]==="@vocab")return this.nullableTermToArray(this.createVocabOrBaseTerm(g,S["@id"]));{const C=S["@id"];let A;if(typeof C=="object")if(this.parsingContext.rdfstar)A=this.parsingContext.idStack[_+1][0];else throw new n.ErrorCoded(`Found illegal @id '${S}'`,n.ERROR_CODES.INVALID_ID_VALUE);else A=this.resourceToTerm(g,C);return this.nullableTermToArray(A)}}else return this.parsingContext.emittedStack[_+1]||S&&typeof S=="object"&&Object.keys(S).length===0?this.parsingContext.idStack[_+1]||(this.parsingContext.idStack[_+1]=[this.dataFactory.blankNode()]):[]}case"string":return this.nullableTermToArray(this.stringValueToTerm(_,await this.getContextSelfOrPropertyScoped(g,m),m,S,null));case"boolean":return this.nullableTermToArray(this.stringValueToTerm(_,await this.getContextSelfOrPropertyScoped(g,m),m,(!!S).toString(),this.dataFactory.namedNode(Bl.XSD_BOOLEAN)));case"number":return this.nullableTermToArray(this.stringValueToTerm(_,await this.getContextSelfOrPropertyScoped(g,m),m,S,this.dataFactory.namedNode(S%1===0&&S<1e21?Bl.XSD_INTEGER:Bl.XSD_DOUBLE)));default:return this.parsingContext.emitError(new Error(`Could not determine the RDF type of a ${I}`)),[]}}async getContextSelfOrPropertyScoped(g,m){const S=g.getContextRaw()[m];return S&&typeof S=="object"&&"@context"in S&&(g=await this.parsingContext.parseContext(S,g.getContextRaw(),!0)),g}nullableTermToArray(g){return g?[g]:[]}predicateToTerm(g,m){const S=g.expandTerm(m,!0,this.parsingContext.getExpandOptions());if(!S)return null;if(S[0]==="_"&&S[1]===":")return this.parsingContext.produceGeneralizedRdf?this.dataFactory.blankNode(S.substr(2)):null;if(Bl.isValidIri(S))return this.dataFactory.namedNode(S);if(S&&this.parsingContext.strictValues)this.parsingContext.emitError(new n.ErrorCoded(`Invalid predicate IRI: ${S}`,n.ERROR_CODES.INVALID_IRI_MAPPING));else return null;return null}resourceToTerm(g,m){if(m.startsWith("_:"))return this.dataFactory.blankNode(m.substr(2));const S=g.expandTerm(m,!1,this.parsingContext.getExpandOptions());if(!Bl.isValidIri(S))if(S&&this.parsingContext.strictValues)this.parsingContext.emitError(new Error(`Invalid resource IRI: ${S}`));else return null;return this.dataFactory.namedNode(S)}createVocabOrBaseTerm(g,m){if(m.startsWith("_:"))return this.dataFactory.blankNode(m.substr(2));const S=this.parsingContext.getExpandOptions();let _=g.expandTerm(m,!0,S);if(_===m&&(_=g.expandTerm(m,!1,S)),!Bl.isValidIri(_))if(_&&this.parsingContext.strictValues&&!_.startsWith("@"))this.parsingContext.emitError(new Error(`Invalid term IRI: ${_}`));else return null;return this.dataFactory.namedNode(_)}intToString(g,m){return typeof g=="number"?Number.isFinite(g)?g%1===0&&(!m||m.value!==Bl.XSD_DOUBLE)?Number(g).toString():g.toExponential(15).replace(/(\d)0*e\+?/,"$1E"):g>0?"INF":"-INF":g}stringValueToTerm(g,m,S,_,k){const I=Bl.getContextValueType(m,S);if(I)if(I==="@id"){if(!k)return this.resourceToTerm(m,this.intToString(_,k))}else if(I==="@vocab"){if(!k)return this.createVocabOrBaseTerm(m,this.intToString(_,k))}else k=this.dataFactory.namedNode(I);if(!k){const C=Bl.getContextValueLanguage(m,S),A=Bl.getContextValueDirection(m,S);return A&&this.parsingContext.rdfDirection?this.createLanguageDirectionLiteral(g,this.intToString(_,k),C,A):this.dataFactory.literal(this.intToString(_,k),C)}return this.dataFactory.literal(this.intToString(_,k),k)}createLanguageDirectionLiteral(g,m,S,_){if(this.parsingContext.rdfDirection==="i18n-datatype")return S||(S=""),this.dataFactory.literal(m,this.dataFactory.namedNode(`https://www.w3.org/ns/i18n#${S}_${_}`));{const k=this.dataFactory.blankNode(),I=this.getDefaultGraph();return this.parsingContext.emitQuad(g,this.dataFactory.quad(k,this.dataFactory.namedNode(Bl.RDF+"value"),this.dataFactory.literal(m),I)),S&&this.parsingContext.emitQuad(g,this.dataFactory.quad(k,this.dataFactory.namedNode(Bl.RDF+"language"),this.dataFactory.literal(S),I)),this.parsingContext.emitQuad(g,this.dataFactory.quad(k,this.dataFactory.namedNode(Bl.RDF+"direction"),this.dataFactory.literal(_),I)),k}}valueToJsonString(g){return l(g)}async unaliasKeyword(g,m,S,_,k){if(Number.isInteger(g))return g;if(!_){const I=this.parsingContext.unaliasedKeywordCacheStack[S];if(I)return I}if(!n.Util.isPotentialKeyword(g)){k=k||await this.parsingContext.getContext(m);let I=k.getContextRaw()[g];I&&typeof I=="object"&&(I=I["@id"]),n.Util.isValidKeyword(I)&&(g=I)}return _?g:this.parsingContext.unaliasedKeywordCacheStack[S]=g}async unaliasKeywordParent(g,m){return await this.unaliasKeyword(m>0&&g[m-1],g,m-1)}async unaliasKeywords(g,m,S,_){const k={};for(const I in g)k[await this.unaliasKeyword(I,m,S+1,!0,_)]=g[I];return k}async isLiteral(g,m){for(let S=m;S>=0;S--){if(await this.unaliasKeyword(g[S],g,S)==="@annotation")return!1;if(this.parsingContext.literalStack[S]||this.parsingContext.jsonLiteralStack[S])return!0}return!1}async getDepthOffsetGraph(g,m){for(let S=g-1;S>0;S--)if(await this.unaliasKeyword(m[S],m,S)==="@graph"){const _=(await o.EntryHandlerContainer.getContainerHandler(this.parsingContext,m,S)).containers;return o.EntryHandlerContainer.isComplexGraphContainer(_)?-1:g-S-1}return-1}validateReverseSubject(g){if(g.termType==="Literal")throw new n.ErrorCoded(`Found illegal literal in subject position: ${g.value}`,n.ERROR_CODES.INVALID_REVERSE_PROPERTY_VALUE)}getDefaultGraph(){return this.parsingContext.defaultGraph||this.dataFactory.defaultGraph()}async getGraphContainerValue(g,m){let S=this.getDefaultGraph();const{containers:_,depth:k}=await o.EntryHandlerContainer.getContainerHandler(this.parsingContext,g,m);if("@graph"in _){const I=o.EntryHandlerContainer.getContainerGraphIndex(_,k,g),C=this.parsingContext.graphContainerTermStack[k];if(S=C?C[I]:null,!S){let A=null;if("@id"in _){const M=await this.getContainerKey(g[k],g,k);M!==null&&(A=await this.resourceToTerm(await this.parsingContext.getContext(g),M))}A||(A=this.dataFactory.blankNode()),this.parsingContext.graphContainerTermStack[k]||(this.parsingContext.graphContainerTermStack[k]={}),S=this.parsingContext.graphContainerTermStack[k][I]=A}}return S}async getPropertiesDepth(g,m){let S=m;for(let _=m-1;_>0;_--)if(typeof g[_]!="number"){const k=await this.unaliasKeyword(g[_],g,_);if(k==="@reverse")return _;if(k==="@nest")S=_;else return S}return S}async getContainerKey(g,m,S){const _=await this.unaliasKeyword(g,m,S);return _==="@none"?null:_}validateReverseInEmbeddedNode(g,m,S){if(S&&m&&!this.parsingContext.rdfstarReverseInEmbedded)throw new n.ErrorCoded(`Illegal reverse property in embedded node in ${g}`,n.ERROR_CODES.INVALID_EMBEDDED_NODE)}emitQuadChecked(g,m,S,_,k,I,C){let A;if(I?(this.validateReverseSubject(_),A=this.dataFactory.quad(_,S,m,k)):A=this.dataFactory.quad(m,S,_,k),C){if(A.graph.termType!=="DefaultGraph"&&(A=this.dataFactory.quad(A.subject,A.predicate,A.object)),this.parsingContext.idStack[g-1])throw new n.ErrorCoded("Illegal multiple properties in an embedded node",n.ERROR_CODES.INVALID_EMBEDDED_NODE);this.parsingContext.idStack[g-1]=[A]}else this.parsingContext.emitQuad(g,A);const M=this.parsingContext.annotationsBuffer[g];if(M){for(const D of M)this.emitAnnotation(g,A,D);delete this.parsingContext.annotationsBuffer[g]}}emitAnnotation(g,m,S){let _;S.reverse?(this.validateReverseSubject(S.object),_=this.dataFactory.quad(S.object,S.predicate,m)):_=this.dataFactory.quad(m,S.predicate,S.object),this.parsingContext.emitQuad(g,_);for(const k of S.nestedAnnotations)this.emitAnnotation(g,_,k)}};return h.XSD="http://www.w3.org/2001/XMLSchema#",h.XSD_BOOLEAN=h.XSD+"boolean",h.XSD_INTEGER=h.XSD+"integer",h.XSD_DOUBLE=h.XSD+"double",h.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#",FU.Util=h,FU}Object.defineProperty(xce,"__esModule",{value:!0});xce.EntryHandlerArrayValue=void 0;const FVn=kT(),ZOt=Sg;class BVn{isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(r,o,l,h,b){return this.test(r,o,null,l,h)}async test(r,o,l,h,b){return typeof h[b]=="number"}async handle(r,o,l,h,b,g){let m=await o.unaliasKeywordParent(h,g);if(m==="@list"){let S=null,_=0;for(let k=g-2;k>0;k--){const I=h[k];if(typeof I=="string"||typeof I=="number"){_=k,S=I;break}}if(S!==null){const k=await o.valueToTerm(await r.getContext(h),S,b,g,h);for(const I of k)await this.handleListElement(r,o,I,b,g,h.slice(0,_),_);k.length===0&&await this.handleListElement(r,o,null,b,g,h.slice(0,_),_)}}else if(m==="@set")await r.newOnValueJob(h.slice(0,-2),b,g-2,!1);else if(m!==void 0&&m!=="@type"){for(let _=g-1;_>0;_--)if(typeof h[_]!="number"){m=await o.unaliasKeyword(h[_],h,_);break}const S=await r.getContext(h.slice(0,-1));if("@list"in FVn.Util.getContextValueContainer(S,m)){r.emittedStack[g+1]=!0;const _=await o.valueToTerm(await r.getContext(h),m,b,g,h);for(const k of _)await this.handleListElement(r,o,k,b,g,h.slice(0,-1),g-1);_.length===0&&await this.handleListElement(r,o,null,b,g,h.slice(0,-1),g-1)}else r.shiftStack(g,1),await r.newOnValueJob(h.slice(0,-1),b,g-1,!1),r.contextTree.removeContext(h.slice(0,-1))}}async handleListElement(r,o,l,h,b,g,m){let S=r.listPointerStack[b];if(h!==null&&(await o.unaliasKeywords(h,g,b))["@value"]!==null){if(!S||!S.value){const _=o.dataFactory.blankNode();S={value:_,listRootDepth:m,listId:_}}else{const _=o.dataFactory.blankNode();r.emitQuad(b,o.dataFactory.quad(S.value,o.rdfRest,_,o.getDefaultGraph())),S.value=_}l&&r.emitQuad(b,o.dataFactory.quad(S.value,o.rdfFirst,l,o.getDefaultGraph()))}else S||(S={listRootDepth:m,listId:o.rdfNil});r.listPointerStack[b]=S,r.rdfstar&&r.annotationsBuffer[b]&&r.emitError(new ZOt.ErrorCoded("Found an illegal annotation inside a list",ZOt.ERROR_CODES.INVALID_ANNOTATION))}}xce.EntryHandlerArrayValue=BVn;var Oce={};Object.defineProperty(Oce,"__esModule",{value:!0});Oce.EntryHandlerInvalidFallback=void 0;class HVn{isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(r,o,l,h,b){return!1}async test(r,o,l,h,b){return!0}async handle(r,o,l,h,b,g){r.emittedStack[g]=!1}}Oce.EntryHandlerInvalidFallback=HVn;var Nce={},w2={};Object.defineProperty(w2,"__esModule",{value:!0});w2.EntryHandlerKeyword=void 0;class WVn{constructor(r){this.keyword=r}isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(r,o,l,h,b){return!1}async test(r,o,l,h,b){return l===this.keyword}}w2.EntryHandlerKeyword=WVn;Object.defineProperty(Nce,"__esModule",{value:!0});Nce.EntryHandlerKeywordContext=void 0;const e9t=Sg,UVn=w2;class VVn extends UVn.EntryHandlerKeyword{constructor(){super("@context")}isStackProcessor(){return!1}async handle(r,o,l,h,b,g){r.streamingProfile&&(r.processingStack[g]||r.processingType[g]||r.idStack[g]!==void 0)&&r.emitError(new e9t.ErrorCoded("Found an out-of-order context, while streaming is enabled.(disable `streamingProfile`)",e9t.ERROR_CODES.INVALID_STREAMING_KEY_ORDER));const m=r.getContext(h),S=r.parseContext(b,(await m).getContextRaw());r.contextTree.setContext(h.slice(0,-1),S),r.emitContext(b),await r.validateContext(await S)}}Nce.EntryHandlerKeywordContext=VVn;var Mce={};Object.defineProperty(Mce,"__esModule",{value:!0});Mce.EntryHandlerKeywordGraph=void 0;const GVn=w2;class KVn extends GVn.EntryHandlerKeyword{constructor(){super("@graph")}async handle(r,o,l,h,b,g){r.graphStack[g+1]=!0}}Mce.EntryHandlerKeywordGraph=KVn;var Dce={};Object.defineProperty(Dce,"__esModule",{value:!0});Dce.EntryHandlerKeywordId=void 0;const cS=Sg,zVn=w2;class qVn extends zVn.EntryHandlerKeyword{constructor(){super("@id")}isStackProcessor(){return!1}async handle(r,o,l,h,b,g){if(typeof b!="string"){if(r.rdfstar&&typeof b=="object"){const S=Object.keys(b);S.length===1&&S[0]==="@id"&&r.emitError(new cS.ErrorCoded(`Invalid embedded node without property with @id ${b["@id"]}`,cS.ERROR_CODES.INVALID_EMBEDDED_NODE))}else r.emitError(new cS.ErrorCoded(`Found illegal @id '${b}'`,cS.ERROR_CODES.INVALID_ID_VALUE));return}const m=await o.getPropertiesDepth(h,g);if(r.idStack[m]!==void 0&&(r.idStack[m][0].listHead?r.emitError(new cS.ErrorCoded(`Found illegal neighbouring entries next to @list for key: '${h[g-1]}'`,cS.ERROR_CODES.INVALID_SET_OR_LIST_OBJECT)):r.emitError(new cS.ErrorCoded(`Found duplicate @ids '${r.idStack[m][0].value}' and '${b}'`,cS.ERROR_CODES.COLLIDING_KEYWORDS))),r.rdfstar&&r.annotationsBuffer[g])for(const S of r.annotationsBuffer[g])S.depth===g&&r.emitError(new cS.ErrorCoded(`Found an illegal @id inside an annotation: ${b}`,cS.ERROR_CODES.INVALID_ANNOTATION));r.idStack[m]=o.nullableTermToArray(await o.resourceToTerm(await r.getContext(h),b))}}Dce.EntryHandlerKeywordId=qVn;var Lce={};Object.defineProperty(Lce,"__esModule",{value:!0});Lce.EntryHandlerKeywordIncluded=void 0;const C9=Sg,XVn=w2;class JVn extends XVn.EntryHandlerKeyword{constructor(){super("@included")}async handle(r,o,l,h,b,g){typeof b!="object"&&r.emitError(new C9.ErrorCoded(`Found illegal @included '${b}'`,C9.ERROR_CODES.INVALID_INCLUDED_VALUE));const m=await o.unaliasKeywords(b,h,g,await r.getContext(h));"@value"in m&&r.emitError(new C9.ErrorCoded(`Found an illegal @included @value node '${JSON.stringify(b)}'`,C9.ERROR_CODES.INVALID_INCLUDED_VALUE)),"@list"in m&&r.emitError(new C9.ErrorCoded(`Found an illegal @included @list node '${JSON.stringify(b)}'`,C9.ERROR_CODES.INVALID_INCLUDED_VALUE)),r.emittedStack[g]=!1}}Lce.EntryHandlerKeywordIncluded=JVn;var jce={};Object.defineProperty(jce,"__esModule",{value:!0});jce.EntryHandlerKeywordNest=void 0;const Goe=Sg,YVn=w2;class QVn extends YVn.EntryHandlerKeyword{constructor(){super("@nest")}async handle(r,o,l,h,b,g){typeof b!="object"&&r.emitError(new Goe.ErrorCoded(`Found invalid @nest entry for '${l}': '${b}'`,Goe.ERROR_CODES.INVALID_NEST_VALUE)),"@value"in await o.unaliasKeywords(b,h,g,await r.getContext(h))&&r.emitError(new Goe.ErrorCoded(`Found an invalid @value node for '${l}'`,Goe.ERROR_CODES.INVALID_NEST_VALUE)),r.emittedStack[g]=!1}}jce.EntryHandlerKeywordNest=QVn;var Fce={};Object.defineProperty(Fce,"__esModule",{value:!0});Fce.EntryHandlerKeywordType=void 0;const VU=Sg,Koe=kT(),ZVn=Tce(),eGn=w2;class tGn extends eGn.EntryHandlerKeyword{constructor(){super("@type")}isStackProcessor(){return!1}async handle(r,o,l,h,b,g){const m=h[g],S=await r.getContext(h),_=o.rdfType,k=await o.unaliasKeywordParent(h,g),I=Koe.Util.isPropertyReverse(S,m,k),C=Koe.Util.isPropertyInEmbeddedNode(k);o.validateReverseInEmbeddedNode(l,I,C);const A=Koe.Util.isPropertyInAnnotationObject(k),M=Array.isArray(b)?b:[b];for(const G of M){typeof G!="string"&&r.emitError(new VU.ErrorCoded(`Found illegal @type '${G}'`,VU.ERROR_CODES.INVALID_TYPE_VALUE));const Y=o.createVocabOrBaseTerm(S,G);Y&&await ZVn.EntryHandlerPredicate.handlePredicateObject(r,o,h,g,_,Y,I,C,A)}let D=Promise.resolve(S),H=!1;for(const G of M.sort()){const Y=Koe.Util.getContextValue(S,"@context",G,null);Y&&(H=!0,D=D.then(F=>r.parseContext(Y,F.getContextRaw())))}r.streamingProfile&&(H||!r.streamingProfileAllowOutOfOrderPlainType)&&(r.processingStack[g]||r.idStack[g])&&r.emitError(new VU.ErrorCoded("Found an out-of-order type-scoped context, while streaming is enabled.(disable `streamingProfile`)",VU.ERROR_CODES.INVALID_STREAMING_KEY_ORDER)),H&&(D=D.then(G=>G.getContextRaw()["@propagate"]!==!0?new VU.JsonLdContextNormalized(Object.assign(Object.assign({},G.getContextRaw()),{"@propagate":!1,"@__propagateFallback":S.getContextRaw()})):G),r.contextTree.setContext(h.slice(0,h.length-1),D)),r.processingType[g]=!0}}Fce.EntryHandlerKeywordType=tGn;var Bce={};Object.defineProperty(Bce,"__esModule",{value:!0});Bce.EntryHandlerKeywordUnknownFallback=void 0;const NV=Sg;class Hce{isPropertyHandler(){return!1}isStackProcessor(){return!0}async validate(r,o,l,h,b){const g=await o.unaliasKeyword(l[h],l,h);return NV.Util.isPotentialKeyword(g)?!(!b&&g==="@list"):!1}async test(r,o,l,h,b){return NV.Util.isPotentialKeyword(l)}async handle(r,o,l,h,b,g){const m=Hce.VALID_KEYWORDS_TYPES[l];m!==void 0?m&&typeof b!==m.type&&r.emitError(new NV.ErrorCoded(`Invalid value type for '${l}' with value '${b}'`,m.errorCode)):r.strictValues&&r.emitError(new Error(`Unknown keyword '${l}' with value '${b}'`)),r.emittedStack[g]=!1}}Hce.VALID_KEYWORDS_TYPES={"@index":{type:"string",errorCode:NV.ERROR_CODES.INVALID_INDEX_VALUE},"@list":null,"@reverse":{type:"object",errorCode:NV.ERROR_CODES.INVALID_REVERSE_VALUE},"@set":null,"@value":null};Bce.EntryHandlerKeywordUnknownFallback=Hce;var Wce={};Object.defineProperty(Wce,"__esModule",{value:!0});Wce.EntryHandlerKeywordValue=void 0;const nGn=w2;class rGn extends nGn.EntryHandlerKeyword{constructor(){super("@value")}async validate(r,o,l,h,b){const g=l[h];return g&&!r.literalStack[h]&&await this.test(r,o,g,l,h)&&(r.literalStack[h]=!0),super.validate(r,o,l,h,b)}async test(r,o,l,h,b){return await o.unaliasKeyword(h[b],h.slice(0,h.length-1),b-1,!0)==="@value"}async handle(r,o,l,h,b,g){r.literalStack[g]=!0,delete r.unidentifiedValuesBuffer[g],delete r.unidentifiedGraphsBuffer[g],r.emittedStack[g]=!1}}Wce.EntryHandlerKeywordValue=rGn;var GU={},Uce={};Object.defineProperty(Uce,"__esModule",{value:!0});Uce.ContextTree=void 0;class OMe{constructor(){this.subTrees={}}getContext(r){if(r.length>0){const[o,...l]=r,h=this.subTrees[o];if(h){const b=h.getContext(l);if(b)return b.then(({context:g,depth:m})=>({context:g,depth:m+1}))}}return this.context?this.context.then(o=>({context:o,depth:0})):null}setContext(r,o){if(r.length===0)this.context=o;else{const[l,...h]=r;let b=this.subTrees[l];b||(b=this.subTrees[l]=new OMe),b.setContext(h,o)}}removeContext(r){this.setContext(r,null)}}Uce.ContextTree=OMe;var t9t;function iGn(){if(t9t)return GU;t9t=1,Object.defineProperty(GU,"__esModule",{value:!0}),GU.ParsingContext=void 0;const n=Sg,r=tM,o=Uce,l=AGt();let h=class RGt{constructor(g){this.contextParser=new n.ContextParser({documentLoader:g.documentLoader,skipValidation:g.skipContextValidation}),this.streamingProfile=!!g.streamingProfile,this.baseIRI=g.baseIRI,this.produceGeneralizedRdf=!!g.produceGeneralizedRdf,this.allowSubjectList=!!g.allowSubjectList,this.processingMode=g.processingMode||l.JsonLdParser.DEFAULT_PROCESSING_MODE,this.strictValues=!!g.strictValues,this.validateValueIndexes=!!g.validateValueIndexes,this.defaultGraph=g.defaultGraph,this.rdfDirection=g.rdfDirection,this.normalizeLanguageTags=g.normalizeLanguageTags,this.streamingProfileAllowOutOfOrderPlainType=g.streamingProfileAllowOutOfOrderPlainType,this.rdfstar=g.rdfstar!==!1,this.rdfstarReverseInEmbedded=g.rdfstarReverseInEmbedded,this.topLevelProperties=!1,this.activeProcessingMode=parseFloat(this.processingMode),this.processingStack=[],this.processingType=[],this.emittedStack=[],this.idStack=[],this.graphStack=[],this.graphContainerTermStack=[],this.listPointerStack=[],this.contextTree=new o.ContextTree,this.literalStack=[],this.validationStack=[],this.unaliasedKeywordCacheStack=[],this.jsonLiteralStack=[],this.unidentifiedValuesBuffer=[],this.unidentifiedGraphsBuffer=[],this.annotationsBuffer=[],this.pendingContainerFlushBuffers=[],this.parser=g.parser,g.context?(this.rootContext=this.parseContext(g.context),this.rootContext.then(m=>this.validateContext(m))):this.rootContext=Promise.resolve(new n.JsonLdContextNormalized(this.baseIRI?{"@base":this.baseIRI,"@__baseDocument":!0}:{}))}async parseContext(g,m,S){return this.contextParser.parse(g,{baseIRI:this.baseIRI,ignoreProtection:S,normalizeLanguageTags:this.normalizeLanguageTags,parentContext:m,processingMode:this.activeProcessingMode})}validateContext(g){const m=g.getContextRaw()["@version"];if(m){if(this.activeProcessingMode&&m>this.activeProcessingMode)throw new r.ErrorCoded(`Unsupported JSON-LD version '${m}' under active processing mode ${this.activeProcessingMode}.`,r.ERROR_CODES.PROCESSING_MODE_CONFLICT);if(this.activeProcessingMode&&m0&&S.context.getContextRaw()["@propagate"]===!1&&S.depth!==m&&!_);return S.depth===0&&S.context.getContextRaw()["@propagate"]===!1&&S.depth!==m&&(S.context=new n.JsonLdContextNormalized({})),S}async newOnValueJob(g,m,S,_){await this.parser.newOnValueJob(g,m,S,_)}async handlePendingContainerFlushBuffers(){if(this.pendingContainerFlushBuffers.length>0){for(const g of this.pendingContainerFlushBuffers)await this.parser.flushBuffer(g.depth,g.keys),this.parser.flushStacks(g.depth);return this.pendingContainerFlushBuffers.splice(0,this.pendingContainerFlushBuffers.length),!0}else return!1}emitQuad(g,m){g===1&&(this.topLevelProperties=!0),this.parser.push(m)}emitError(g){this.parser.emit("error",g)}emitContext(g){this.parser.emit("context",g)}getUnidentifiedValueBufferSafe(g){let m=this.unidentifiedValuesBuffer[g];return m||(m=[],this.unidentifiedValuesBuffer[g]=m),m}getUnidentifiedGraphBufferSafe(g){let m=this.unidentifiedGraphsBuffer[g];return m||(m=[],this.unidentifiedGraphsBuffer[g]=m),m}getAnnotationsBufferSafe(g){let m=this.annotationsBuffer[g];return m||(m=[],this.annotationsBuffer[g]=m),m}getExpandOptions(){return RGt.EXPAND_OPTIONS[this.activeProcessingMode]}shiftStack(g,m){const S=this.idStack[g+m];if(S&&(this.idStack[g]=S,this.emittedStack[g]=!0,delete this.idStack[g+m]),this.pendingContainerFlushBuffers.length)for(const _ of this.pendingContainerFlushBuffers)_.depth>=g+m&&(_.depth-=m,_.keys.splice(g,m));this.unidentifiedValuesBuffer[g+m]&&(this.unidentifiedValuesBuffer[g]=this.unidentifiedValuesBuffer[g+m],delete this.unidentifiedValuesBuffer[g+m]),this.annotationsBuffer[g+m-1]&&(this.annotationsBuffer[g-1]||(this.annotationsBuffer[g-1]=[]),this.annotationsBuffer[g-1]=[...this.annotationsBuffer[g-1],...this.annotationsBuffer[g+m-1]],delete this.annotationsBuffer[g+m-1])}};return h.EXPAND_OPTIONS={1:{allowPrefixForcing:!1,allowPrefixNonGenDelims:!1,allowVocabRelativeToBase:!1},1.1:{allowPrefixForcing:!0,allowPrefixNonGenDelims:!1,allowVocabRelativeToBase:!0}},GU.ParsingContext=h,GU}var Vce={};Object.defineProperty(Vce,"__esModule",{value:!0});Vce.EntryHandlerKeywordAnnotation=void 0;const oGn=w2,n9t=Sg;class sGn extends oGn.EntryHandlerKeyword{constructor(){super("@annotation")}async handle(r,o,l,h,b,g){(typeof b=="string"||typeof b=="object"&&b["@value"])&&r.emitError(new n9t.ErrorCoded(`Found illegal annotation value: ${JSON.stringify(b)}`,n9t.ERROR_CODES.INVALID_ANNOTATION))}}Vce.EntryHandlerKeywordAnnotation=sGn;var r9t;function AGt(){if(r9t)return LU;r9t=1,Object.defineProperty(LU,"__esModule",{value:!0}),LU.JsonLdParser=void 0;const n=tHn,r=Sg,o=EVn,l=xce,h=EGt(),b=Oce,g=Tce(),m=Nce,S=Mce,_=Dce,k=Lce,I=jce,C=Fce,A=Bce,M=Wce,D=iGn(),H=kT(),G=CVt,Y=Vce;let F=class B9 extends o.Transform{constructor(ne){super({readableObjectMode:!0}),ne=ne||{},this.options=ne,this.parsingContext=new D.ParsingContext(Object.assign({parser:this},ne)),this.util=new H.Util({dataFactory:ne.dataFactory,parsingContext:this.parsingContext}),this.jsonParser=new n,this.contextJobs=[],this.typeJobs=[],this.contextAwaitingJobs=[],this.lastDepth=0,this.lastKeys=[],this.lastOnValueJob=Promise.resolve(),this.attachJsonParserListeners(),this.on("end",()=>{typeof this.jsonParser.mode<"u"&&this.emit("error",new Error("Unclosed document"))})}static fromHttpResponse(ne,be,De,Ee){let Ae,qe=["application/activity+json"];if(Ee&&Ee.wellKnownMediaTypes&&(qe=Ee.wellKnownMediaTypes),be!=="application/ld+json"&&!qe.includes(be)){if(be!=="application/json"&&!be.endsWith("+json"))throw new r.ErrorCoded(`Unsupported JSON-LD media type ${be}`,r.ERROR_CODES.LOADING_DOCUMENT_FAILED);if(De&&De.has("Link")&&De.forEach((fe,L)=>{if(L==="link"){const ve=(0,G.parse)(fe);for(const ye of ve.get("rel","http://www.w3.org/ns/json-ld#context")){if(Ae)throw new r.ErrorCoded("Multiple JSON-LD context link headers were found on "+ne,r.ERROR_CODES.MULTIPLE_CONTEXT_LINK_HEADERS);Ae=ye.uri}}}),!Ae&&!(Ee!=null&&Ee.ignoreMissingContextLinkHeader))throw new r.ErrorCoded(`Missing context link header for media type ${be} on ${ne}`,r.ERROR_CODES.LOADING_DOCUMENT_FAILED)}let et;if(De&&De.has("Content-Type")){const fe=De.get("Content-Type"),L=/; *profile=([^"]*)/.exec(fe);L&&L[1]==="http://www.w3.org/ns/json-ld#streaming"&&(et=!0)}return new B9(Object.assign({baseIRI:ne,context:Ae,streamingProfile:et},Ee||{}))}import(ne){if("pipe"in ne){ne.on("error",De=>be.emit("error",De));const be=ne.pipe(new B9(this.options));return be}else{const be=new o.PassThrough({readableObjectMode:!0});ne.on("error",Ee=>De.emit("error",Ee)),ne.on("data",Ee=>be.push(Ee)),ne.on("end",()=>be.push(null));const De=be.pipe(new B9(this.options));return De}}_transform(ne,be,De){this.jsonParser.write(ne),this.lastOnValueJob.then(()=>De(),Ee=>De(Ee))}async newOnValueJob(ne,be,De,Ee){let Ae=!0;if(Ee&&De1&&(L=this.parsingContext.validationStack[this.parsingContext.validationStack.length-1].property);for(let ve=Math.max(1,this.parsingContext.validationStack.length-1);ve=0?this.parsingContext.idStack[ne-L-1]:[await this.util.getGraphContainerValue(be,ne)];if(ve)for(const ye of ve){this.parsingContext.emittedStack[ne]=!0;for(const me of Ae)this.util.emitQuadChecked(ne,fe,me.predicate,me.object,ye,me.reverse,me.isEmbedded)}else{const ye=this.parsingContext.getUnidentifiedGraphBufferSafe(ne-await this.util.getDepthOffsetGraph(ne,be)-1);for(const me of Ae)me.reverse?ye.push({object:fe,predicate:me.predicate,subject:me.object,isEmbedded:me.isEmbedded}):ye.push({object:me.object,predicate:me.predicate,subject:fe,isEmbedded:me.isEmbedded})}}this.parsingContext.unidentifiedValuesBuffer.splice(ne,1),this.parsingContext.literalStack.splice(ne,1),this.parsingContext.jsonLiteralStack.splice(ne,1)}const qe=this.parsingContext.unidentifiedGraphsBuffer[ne];if(qe){for(const fe of De){const L=ne===1&&fe.termType==="BlankNode"&&!this.parsingContext.topLevelProperties?this.util.getDefaultGraph():fe;this.parsingContext.emittedStack[ne]=!0;for(const ve of qe)this.parsingContext.emitQuad(ne,this.util.dataFactory.quad(ve.subject,ve.predicate,ve.object,L))}this.parsingContext.unidentifiedGraphsBuffer.splice(ne,1)}const et=this.parsingContext.annotationsBuffer[ne];if(et){et.length>0&&ne===1&&this.parsingContext.emitError(new r.ErrorCoded("Annotations can not be made on top-level nodes",r.ERROR_CODES.INVALID_ANNOTATION));const fe=this.parsingContext.getAnnotationsBufferSafe(ne-1);for(const L of et)fe.push(L);delete this.parsingContext.annotationsBuffer[ne]}}async validateKey(ne,be,De){for(const Ee of B9.ENTRY_HANDLERS)if(await Ee.validate(this.parsingContext,this.util,ne,be,De))return{valid:!0,property:De||Ee.isPropertyHandler()};return{valid:!1,property:!1}}attachJsonParserListeners(){this.jsonParser.onValue=ne=>{const be=this.jsonParser.stack.length,De=new Array(be+1).fill(0).map((Ee,Ae)=>Ae===be?this.jsonParser.key:this.jsonParser.stack[Ae].key);if(!this.isParsingContextInner(be)){const Ee=()=>this.newOnValueJob(De,ne,be,!0);if(!this.parsingContext.streamingProfile&&!this.parsingContext.contextTree.getContext(De.slice(0,-1)))if(De[be]==="@context"){let Ae=this.contextJobs[be];Ae||(Ae=this.contextJobs[be]=[]),Ae.push(Ee)}else this.contextAwaitingJobs.push({job:Ee,keys:De,depth:be});else this.lastOnValueJob=this.lastOnValueJob.then(Ee);!this.parsingContext.streamingProfile&&be===0&&(this.lastOnValueJob=this.lastOnValueJob.then(()=>this.executeBufferedJobs()))}},this.jsonParser.onError=ne=>{this.emit("error",ne)}}isParsingContextInner(ne){for(let be=ne;be>0;be--)if(this.jsonParser.stack[be-1].key==="@context")return!0;return!1}async executeBufferedJobs(){for(const be of this.contextJobs)if(be)for(const De of be)await De();this.parsingContext.unaliasedKeywordCacheStack.splice(0);const ne=[];for(const be of this.contextAwaitingJobs)await this.util.unaliasKeyword(be.keys[be.depth],be.keys,be.depth,!0)==="@type"||typeof be.keys[be.depth]=="number"&&await this.util.unaliasKeyword(be.keys[be.depth-1],be.keys,be.depth-1,!0)==="@type"?this.typeJobs.push({job:be.job,keys:be.keys.slice(0,be.keys.length-1)}):ne.push(be);for(const be of ne){if(this.typeJobs.length>0){const De=[],Ee=[];for(let et=0;etet.keys.length-fe.keys.length);for(const et of Ae)await et.job();const qe=Ee.sort().reverse();for(const et of qe)this.typeJobs.splice(et,1)}await be.job()}}};return F.DEFAULT_PROCESSING_MODE="1.1",F.ENTRY_HANDLERS=[new l.EntryHandlerArrayValue,new m.EntryHandlerKeywordContext,new _.EntryHandlerKeywordId,new k.EntryHandlerKeywordIncluded,new S.EntryHandlerKeywordGraph,new I.EntryHandlerKeywordNest,new C.EntryHandlerKeywordType,new M.EntryHandlerKeywordValue,new Y.EntryHandlerKeywordAnnotation,new h.EntryHandlerContainer,new A.EntryHandlerKeywordUnknownFallback,new g.EntryHandlerPredicate,new b.EntryHandlerInvalidFallback],LU.JsonLdParser=F,LU}(function(n){var r=Uc&&Uc.__createBinding||(Object.create?function(l,h,b,g){g===void 0&&(g=b);var m=Object.getOwnPropertyDescriptor(h,b);(!m||("get"in m?!h.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return h[b]}}),Object.defineProperty(l,g,m)}:function(l,h,b,g){g===void 0&&(g=b),l[g]=h[b]}),o=Uc&&Uc.__exportStar||function(l,h){for(var b in l)b!=="default"&&!Object.prototype.hasOwnProperty.call(h,b)&&r(h,l,b)};Object.defineProperty(n,"__esModule",{value:!0}),o(AGt(),n)})(yVt);var CGt={exports:{}},DIe={exports:{}},hf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},xGt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=hf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(xGt);var kg=xGt.exports,NMe={};const{format:aGn,inspect:sle,AggregateError:lGn}=kg,cGn=globalThis.AggregateError||lGn,uGn=Symbol("kIsNodeError"),fGn=["string","function","number","object","Function","Object","boolean","bigint","symbol"],dGn=/^([A-Z][a-z0-9]*)+$/,hGn="__node_internal_",Gce={};function VI(n,r){if(!n)throw new Gce.ERR_INTERNAL_ASSERTION(r)}function i9t(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function bGn(n,r,o){if(typeof r=="function")return VI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return VI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:aGn(r,...o)}function wb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(bGn(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[uGn]=!0,Gce[n]=l}function o9t(n){const r=hGn+n.name;return Object.defineProperty(n,"name",{value:r}),n}function pGn(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new cGn([r,n],r.message);return o.code=r.code,o}return n||r}let gGn=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new Gce.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};wb("ERR_ASSERTION","%s",Error);wb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{VI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)VI(typeof S=="string","All expected entries have to be of type string"),fGn.includes(S)?h.push(S.toLowerCase()):dGn.test(S)?b.push(S):(VI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=sle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=sle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);wb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=sle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);wb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);wb("ERR_MISSING_ARGS",(...n)=>{VI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);wb("ERR_OUT_OF_RANGE",(n,r,o)=>{VI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=i9t(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=i9t(l)),l+="n"):l=sle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);wb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);wb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);wb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);wb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);wb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);wb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);wb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);wb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);wb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);wb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);wb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var W1={AbortError:gGn,aggregateTwoErrors:o9t(pGn),hideStackFrames:o9t,codes:Gce};const{ArrayIsArray:MMe,ArrayPrototypeIncludes:$Gt,ArrayPrototypeJoin:IGt,ArrayPrototypeMap:wGn,NumberIsInteger:DMe,NumberIsNaN:mGn,NumberMAX_SAFE_INTEGER:yGn,NumberMIN_SAFE_INTEGER:vGn,NumberParseInt:_Gn,ObjectPrototypeHasOwnProperty:SGn,RegExpPrototypeExec:TGt,String:EGn,StringPrototypeToUpperCase:kGn,StringPrototypeTrim:RGn}=hf,{hideStackFrames:uy,codes:{ERR_SOCKET_BAD_PORT:AGn,ERR_INVALID_ARG_TYPE:fp,ERR_INVALID_ARG_VALUE:sM,ERR_OUT_OF_RANGE:oT,ERR_UNKNOWN_SIGNAL:s9t}}=W1,{normalizeEncoding:CGn}=kg,{isAsyncFunction:xGn,isArrayBufferView:$Gn}=kg.types,a9t={};function IGn(n){return n===(n|0)}function TGn(n){return n===n>>>0}const PGn=/^[0-7]+$/,OGn="must be a 32-bit unsigned integer or an octal string";function NGn(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(TGt(PGn,n)===null)throw new sM(r,n,OGn);n=_Gn(n,8)}return PGt(n,r),n}const MGn=uy((n,r,o=vGn,l=yGn)=>{if(typeof n!="number")throw new fp(r,"number",n);if(!DMe(n))throw new oT(r,"an integer",n);if(nl)throw new oT(r,`>= ${o} && <= ${l}`,n)}),DGn=uy((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new fp(r,"number",n);if(!DMe(n))throw new oT(r,"an integer",n);if(nl)throw new oT(r,`>= ${o} && <= ${l}`,n)}),PGt=uy((n,r,o=!1)=>{if(typeof n!="number")throw new fp(r,"number",n);if(!DMe(n))throw new oT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new oT(r,`>= ${l} && <= ${h}`,n)});function LMe(n,r){if(typeof n!="string")throw new fp(r,"string",n)}function LGn(n,r,o=void 0,l){if(typeof n!="number")throw new fp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&mGn(n))throw new oT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const jGn=uy((n,r,o)=>{if(!$Gt(o,n)){const h="must be one of: "+IGt(wGn(o,b=>typeof b=="string"?`'${b}'`:EGn(b)),", ");throw new sM(r,n,h)}});function OGt(n,r){if(typeof n!="boolean")throw new fp(r,"boolean",n)}function LIe(n,r,o){return n==null||!SGn(n,r)?o:n[r]}const FGn=uy((n,r,o=null)=>{const l=LIe(o,"allowArray",!1),h=LIe(o,"allowFunction",!1);if(!LIe(o,"nullable",!1)&&n===null||!l&&MMe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new fp(r,"Object",n)}),BGn=uy((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new fp(r,"a dictionary",n)}),Kce=uy((n,r,o=0)=>{if(!MMe(n))throw new fp(r,"Array",n);if(n.length{if(!$Gn(n))throw new fp(r,["Buffer","TypedArray","DataView"],n)});function KGn(n,r){const o=CGn(r),l=n.length;if(o==="hex"&&l%2!==0)throw new sM("encoding",r,`is invalid for data of length ${l}`)}function zGn(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&RGn(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new AGn(r,n,o);return n|0}const NGt=uy((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new fp(r,"AbortSignal",n)}),qGn=uy((n,r)=>{if(typeof n!="function")throw new fp(r,"Function",n)}),XGn=uy((n,r)=>{if(typeof n!="function"||xGn(n))throw new fp(r,"Function",n)}),JGn=uy((n,r)=>{if(n!==void 0)throw new fp(r,"undefined",n)});function YGn(n,r,o){if(!$Gt(o,n))throw new fp(r,`('${IGt(o,"|")}')`,n)}const QGn=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function l9t(n,r){if(typeof n>"u"||!TGt(QGn,n))throw new sM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function ZGn(n){if(typeof n=="string")return l9t(n,"hints"),n;if(MMe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var sK={isInt32:IGn,isUint32:TGn,parseFileMode:NGn,validateArray:Kce,validateStringArray:HGn,validateBooleanArray:WGn,validateAbortSignalArray:UGn,validateBoolean:OGt,validateBuffer:GGn,validateDictionary:BGn,validateEncoding:KGn,validateFunction:qGn,validateInt32:DGn,validateInteger:MGn,validateNumber:LGn,validateObject:FGn,validateOneOf:jGn,validatePlainFunction:XGn,validatePort:zGn,validateSignalName:VGn,validateString:LMe,validateUint32:PGt,validateUndefined:JGn,validateUnion:YGn,validateAbortSignal:NGt,validateLinkHeaderValue:ZGn},jMe={exports:{}};const{SymbolAsyncIterator:c9t,SymbolIterator:u9t,SymbolFor:RT}=hf,MGt=RT("nodejs.stream.destroyed"),DGt=RT("nodejs.stream.errored"),YPe=RT("nodejs.stream.readable"),QPe=RT("nodejs.stream.writable"),LGt=RT("nodejs.stream.disturbed"),eKn=RT("nodejs.webstream.isClosedPromise"),tKn=RT("nodejs.webstream.controllerErrorFunction");function zce(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function qce(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function nKn(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function qS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function jGt(n){return!!(n&&!qS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function FGt(n){return!!(n&&!qS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function BGt(n){return!!(n&&!qS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function rKn(n){return jGt(n)||FGt(n)||BGt(n)}function iKn(n,r){return n==null?!1:r===!0?typeof n[c9t]=="function":r===!1?typeof n[u9t]=="function":typeof n[c9t]=="function"||typeof n[u9t]=="function"}function Xce(n){if(!qS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[MGt]||l!=null&&l.destroyed)}function HGt(n){if(!qce(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function oKn(n,r){if(!qce(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function sKn(n){if(!zce(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function WGt(n,r){if(!zce(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function UGt(n){return n&&n[YPe]!=null?n[YPe]:typeof(n==null?void 0:n.readable)!="boolean"?null:Xce(n)?!1:zce(n)&&n.readable&&!WGt(n)}function VGt(n){return n&&n[QPe]!=null?n[QPe]:typeof(n==null?void 0:n.writable)!="boolean"?null:Xce(n)?!1:qce(n)&&n.writable&&!HGt(n)}function aKn(n,r){return qS(n)?Xce(n)?!0:!((r==null?void 0:r.readable)!==!1&&UGt(n)||(r==null?void 0:r.writable)!==!1&&VGt(n)):null}function lKn(n){var r,o;return qS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function cKn(n){var r,o;return qS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function uKn(n){if(!qS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&GGt(n)?n._closed:null}function GGt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function KGt(n){return typeof n._sent100=="boolean"&&GGt(n)}function fKn(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function dKn(n){if(!qS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&KGt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function hKn(n){var r;return!!(n&&((r=n[LGt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function bKn(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[DGt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var Gk={isDestroyed:Xce,kIsDestroyed:MGt,isDisturbed:hKn,kIsDisturbed:LGt,isErrored:bKn,kIsErrored:DGt,isReadable:UGt,kIsReadable:YPe,kIsClosedPromise:eKn,kControllerErrorFunction:tKn,kIsWritable:QPe,isClosed:uKn,isDuplexNodeStream:nKn,isFinished:aKn,isIterable:iKn,isReadableNodeStream:zce,isReadableStream:jGt,isReadableEnded:sKn,isReadableFinished:WGt,isReadableErrored:cKn,isNodeStream:qS,isWebStream:rKn,isWritable:VGt,isWritableNodeStream:qce,isWritableStream:FGt,isWritableEnded:HGt,isWritableFinished:oKn,isWritableErrored:lKn,isServerRequest:fKn,isServerResponse:KGt,willEmitClose:dKn,isTransformStream:BGt};const u6=yi,{AbortError:zGt,codes:pKn}=W1,{ERR_INVALID_ARG_TYPE:gKn,ERR_STREAM_PREMATURE_CLOSE:f9t}=pKn,{kEmptyObject:ZPe,once:eOe}=kg,{validateAbortSignal:wKn,validateFunction:mKn,validateObject:yKn,validateBoolean:vKn}=sK,{Promise:_Kn,PromisePrototypeThen:SKn,SymbolDispose:qGt}=hf,{isClosed:EKn,isReadable:d9t,isReadableNodeStream:jIe,isReadableStream:kKn,isReadableFinished:h9t,isReadableErrored:b9t,isWritable:p9t,isWritableNodeStream:g9t,isWritableStream:RKn,isWritableFinished:w9t,isWritableErrored:m9t,isNodeStream:AKn,willEmitClose:CKn,kIsClosedPromise:xKn}=Gk;let gN;function $Kn(n){return n.setHeader&&typeof n.abort=="function"}const tOe=()=>{};function XGt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=ZPe):r==null?r=ZPe:yKn(r,"options"),mKn(o,"callback"),wKn(r.signal,"options.signal"),o=eOe(o),kKn(n)||RKn(n))return IKn(n,r,o);if(!AKn(n))throw new gKn("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:jIe(n),g=(h=r.writable)!==null&&h!==void 0?h:g9t(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=CKn(n)&&jIe(n)===b&&g9t(n)===g,I=w9t(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=h9t(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=EKn(n);const G=()=>{H=!0;const ne=m9t(n)||b9t(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&jIe(n,!0)&&!h9t(n,!1))return o.call(n,new f9t);if(g&&!I&&!w9t(n,!1))return o.call(n,new f9t);o.call(n)},Y=()=>{H=!0;const ne=m9t(n)||b9t(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};$Kn(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?u6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||u6.nextTick(Y):(!b&&(!k||d9t(n))&&(I||p9t(n)===!1)||!g&&(!k||p9t(n))&&(A||d9t(n)===!1)||S&&n.req&&n.aborted)&&u6.nextTick(Y);const Q=()=>{o=tOe,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new zGt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)u6.nextTick(ne);else{gN=gN||kg.addAbortListener;const be=gN(r.signal,ne),De=o;o=eOe((...Ee)=>{be[qGt](),De.apply(n,Ee)})}}return Q}function IKn(n,r,o){let l=!1,h=tOe;if(r.signal)if(h=()=>{l=!0,o.call(n,new zGt(void 0,{cause:r.signal.reason}))},r.signal.aborted)u6.nextTick(h);else{gN=gN||kg.addAbortListener;const g=gN(r.signal,h),m=o;o=eOe((...S)=>{g[qGt](),m.apply(n,S)})}const b=(...g)=>{l||u6.nextTick(()=>o.apply(n,g))};return SKn(n[xKn].promise,b,b),tOe}function TKn(n,r){var o;let l=!1;return r===null&&(r=ZPe),(o=r)!==null&&o!==void 0&&o.cleanup&&(vKn(r.cleanup,"cleanup"),l=r.cleanup),new _Kn((h,b)=>{const g=XGt(n,r,m=>{l&&g(),m?b(m):h()})})}jMe.exports=XGt;jMe.exports.finished=TKn;var W6=jMe.exports;const CS=yi,{aggregateTwoErrors:PKn,codes:{ERR_MULTIPLE_CALLBACK:OKn},AbortError:NKn}=W1,{Symbol:JGt}=hf,{kIsDestroyed:MKn,isDestroyed:DKn,isFinished:LKn,isServerRequest:jKn}=Gk,YGt=JGt("kDestroy"),nOe=JGt("kConstruct");function QGt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function FKn(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(QGt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?y9t(this,n,r):this.once(YGt,function(b){y9t(this,PKn(b,n),r)}),this)}function y9t(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;QGt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?CS.nextTick(BKn,n,b):CS.nextTick(ZGt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function BKn(n,r){rOe(n,r),ZGt(n)}function ZGt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function rOe(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function HKn(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function iOe(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?CS.nextTick(rOe,n,r):rOe(n,r))}function WKn(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(nOe,r),!(n.listenerCount(nOe)>1)&&CS.nextTick(UKn,n)}function UKn(n){let r=!1;function o(l){if(r){iOe(n,l??new OKn);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(YGt,l):l?iOe(n,l,!0):CS.nextTick(VKn,n)}try{n._construct(l=>{CS.nextTick(o,l)})}catch(l){CS.nextTick(o,l)}}function VKn(n){n.emit(nOe)}function v9t(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function eKt(n){n.emit("close")}function GKn(n,r){n.emit("error",r),CS.nextTick(eKt,n)}function KKn(n,r){!n||DKn(n)||(!r&&!LKn(n)&&(r=new NKn),jKn(n)?(n.socket=null,n.destroy(r)):v9t(n)?n.abort():v9t(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?CS.nextTick(GKn,n,r):CS.nextTick(eKt,n),n.destroyed||(n[MKn]=!0))}var aM={construct:WKn,destroyer:KKn,destroy:FKn,undestroy:HKn,errorOrDestroy:iOe};const{ArrayIsArray:zKn,ObjectSetPrototypeOf:tKt}=hf,{EventEmitter:Jce}=Zs;function Yce(n){Jce.call(this,n)}tKt(Yce.prototype,Jce.prototype);tKt(Yce,Jce);Yce.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),Jce.listenerCount(this,"error")===0&&this.emit("error",k)}oOe(o,"error",S),oOe(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function oOe(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):zKn(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var FMe={Stream:Yce,prependListener:oOe},nKt={exports:{}};(function(n){const{SymbolDispose:r}=hf,{AbortError:o,codes:l}=W1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=Gk,m=W6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||kg.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(nKt);var Qce=nKt.exports;const{StringPrototypeSlice:_9t,SymbolIterator:qKn,TypedArrayPrototypeSet:zoe,Uint8Array:XKn}=hf,{Buffer:FIe}=Xr,{inspect:JKn}=kg;var YKn=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return FIe.alloc(0);const o=FIe.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)zoe(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=_9t(b,0,r),this.head=l,l.data=_9t(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=FIe.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)zoe(o,g,l-r),r-=g.length;else{r===g.length?(zoe(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(zoe(o,new XKn(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return JKn(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:QKn,NumberIsInteger:ZKn}=hf,{validateInteger:ezn}=sK,{ERR_INVALID_ARG_VALUE:tzn}=W1.codes;let rKt=16*1024,iKt=16;function nzn(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function oKt(n){return n?iKt:rKt}function rzn(n,r){ezn(r,"value",0),n?iKt=r:rKt=r}function izn(n,r,o,l){const h=nzn(r,l,o);if(h!=null){if(!ZKn(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new tzn(b,h)}return QKn(h)}return oKt(n.objectMode)}var Zce={getHighWaterMark:izn,getDefaultHighWaterMark:oKt,setDefaultHighWaterMark:rzn};const S9t=yi,{PromisePrototypeThen:ozn,SymbolAsyncIterator:E9t,SymbolIterator:k9t}=hf,{Buffer:szn}=Xr,{ERR_INVALID_ARG_TYPE:azn,ERR_STREAM_NULL_VALUES:lzn}=W1.codes;function czn(n,r,o){let l;if(typeof r=="string"||r instanceof szn)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[E9t])h=!0,l=r[E9t]();else if(r&&r[k9t])h=!1,l=r[k9t]();else throw new azn("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){ozn(m(_),()=>S9t.nextTick(k,_),I=>S9t.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new lzn;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var sKt=czn,BIe,R9t;function eue(){if(R9t)return BIe;R9t=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=hf;BIe=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=FMe,{Buffer:H}=Xr,{addAbortSignal:G}=Qce,Y=W6;let F=kg.debuglog("stream",E=>{F=E});const Q=YKn,ne=aM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=Zce,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=W1,{validateObject:ye}=sK,me=C("kPaused"),{StringDecoder:je}=sy,Be=sKt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof vk()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof vk();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},BIe}var HIe,A9t;function BMe(){if(A9t)return HIe;A9t=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=hf;HIe=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=FMe.Stream,{Buffer:C}=Xr,A=aM,{addAbortSignal:M}=Qce,{getHighWaterMark:D,getDefaultHighWaterMark:H}=Zce,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=W1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof vk()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof vk();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return WIe}var UIe,x9t;function vk(){if(x9t)return UIe;x9t=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=hf;UIe=g;const h=eue(),b=BMe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function bzn(){this._final!==sOe&&sOe.call(this)}_k.prototype._final=sOe;_k.prototype._transform=function(n,r,o){throw new dzn("_transform()")};_k.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=ale(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,vzn.destroyer(n,b||new Ezn("pipe")))},cleanup:h}}function Tzn(n){return Azn(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function JIe(n){if(SI(n))return n;if(gae(n))return Pzn(n);throw new aOe("val",["Readable","Iterable","AsyncIterable"],n)}async function*Pzn(n){qIe||(qIe=eue()),yield*qIe.prototype[wzn].call(n)}async function qoe(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new gzn((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=ale(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?_zn(h,_):_)}finally{S(),r.off("drain",g)}}async function YIe(n,r,o,{end:l}){H9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function Ozn(...n){return fKt(n,yzn(Tzn(n)))}function fKt(n,r,o){if(n.length===1&&pzn(n[0])&&(n=n[0]),n.length<2)throw new Szn("streams");const l=new Izn,h=l.signal,b=o==null?void 0:o.signal,g=[];Czn(b,"options.signal");function m(){M(new Rzn)}XIe=XIe||kg.addAbortListener;let S;b&&(S=XIe(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[mzn](),l.abort(),F&&(_||g.forEach(ne=>ne()),cV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(I9t(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=T9t(F,Q,ne);I.push(Ae),GIe(F)&&De&&g.push(qe)}F.on("error",Ee),GIe(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!SI(D))throw new VIe("Iterable, AsyncIterable or Stream","source",D)}else SI(F)||gae(F)||H9(F)?D=F:D=$9t.from(F);else if(typeof F=="function"){if(H9(D)){var H;D=JIe((H=D)===null||H===void 0?void 0:H.readable)}else D=JIe(D);if(D=F(D,{signal:h}),Q){if(!SI(D,!0))throw new VIe("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;zIe||(zIe=uKt);const Ee=new zIe({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),cV.nextTick(A)},fe=>{Ee.destroy(fe),cV.nextTick(A,fe)});else if(SI(D,!0))C++,qoe(D,Ee,A,{end:be});else if(KIe(D)||H9(D)){const fe=D.readable||D;C++,qoe(fe,Ee,A,{end:be})}else throw new VIe("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=T9t(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(I9t(F)){if(gae(D)){C+=2;const Ee=Nzn(D,F,A,{end:be});GIe(F)&&De&&g.push(Ee)}else if(H9(D)||KIe(D)){const Ee=D.readable||D;C++,qoe(Ee,F,A,{end:be})}else if(SI(D))C++,qoe(D,F,A,{end:be});else throw new aOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(xzn(F)){if(gae(D))C++,YIe(JIe(D),F,A,{end:be});else if(KIe(D)||SI(D))C++,YIe(D,F,A,{end:be});else if(H9(D))C++,YIe(D.readable,F,A,{end:be});else throw new aOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=$9t.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&cV.nextTick(m),D}function Nzn(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new kzn)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};$zn(n)?cV.nextTick(b):n.once("end",b)}else o();return ale(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),ale(r,{readable:!1,writable:!0},o)}var UMe={pipelineImpl:fKt,pipeline:Ozn};const{pipeline:Mzn}=UMe,Xoe=vk(),{destroyer:Dzn}=aM,{isNodeStream:Joe,isReadable:P9t,isWritable:O9t,isWebStream:QIe,isTransformStream:oI,isWritableStream:N9t,isReadableStream:M9t}=Gk,{AbortError:Lzn,codes:{ERR_INVALID_ARG_VALUE:D9t,ERR_MISSING_ARGS:jzn}}=W1,Fzn=W6;var dKt=function(...r){if(r.length===0)throw new jzn("streams");if(r.length===1)return Xoe.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=Xoe.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=Xoe.from(r[A])}for(let A=0;A0&&!(O9t(r[A])||N9t(r[A])||oI(r[A])))throw new D9t(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=Mzn(r,S),I=!!(O9t(_)||N9t(_)||oI(_)),C=!!(P9t(k)||M9t(k)||oI(k));if(m=new Xoe({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(Joe(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(QIe(_)){const D=(oI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=oI(k)?k.readable:k;Fzn(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(Joe(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(QIe(k)){const M=(oI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new Lzn),b=null,l=null,h=null,g===null?M(A):(g=M,Joe(k)&&Dzn(k,A))},m};const Bzn=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Hzn,ERR_INVALID_ARG_TYPE:aK,ERR_MISSING_ARGS:Wzn,ERR_OUT_OF_RANGE:Uzn},AbortError:jS}=W1,{validateAbortSignal:AT,validateInteger:L9t,validateObject:CT}=sK,Vzn=hf.Symbol("kWeak"),Gzn=hf.Symbol("kResistStopPropagation"),{finished:Kzn}=W6,zzn=dKt,{addAbortSignalNoValidate:qzn}=Qce,{isWritable:Xzn,isNodeStream:Jzn}=Gk,{deprecate:Yzn}=kg,{ArrayPrototypePush:Qzn,Boolean:Zzn,MathFloor:j9t,Number:eqn,NumberIsNaN:tqn,Promise:F9t,PromiseReject:B9t,PromiseResolve:nqn,PromisePrototypeThen:H9t,Symbol:hKt}=hf,lle=hKt("kEmpty"),W9t=hKt("kEof");function rqn(n,r){if(r!=null&&CT(r,"options"),(r==null?void 0:r.signal)!=null&&AT(r.signal,"options.signal"),Jzn(n)&&!Xzn(n))throw new Hzn("stream",n,"must be writable");const o=zzn(this,n);return r!=null&&r.signal&&qzn(r.signal,o),o}function tue(n,r){if(typeof n!="function")throw new aK("fn",["Function","AsyncFunction"],n);r!=null&&CT(r,"options"),(r==null?void 0:r.signal)!=null&&AT(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=j9t(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=j9t(r.highWaterMark)),L9t(o,"options.concurrency",1),L9t(l,"options.highWaterMark",0),l+=o,(async function*(){const b=kg.AbortSignalAny([r==null?void 0:r.signal].filter(Zzn)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new F9t(Y=>{k=Y})}m.push(W9t)}catch(G){const Y=B9t(G);H9t(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===W9t)return;if(b.aborted)throw new jS;G!==lle&&(yield G),m.shift(),D()}await new F9t(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function iqn(n=void 0){return n!=null&&CT(n,"options"),(n==null?void 0:n.signal)!=null&&AT(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new jS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function bKt(n,r=void 0){for await(const o of VMe.call(this,n,r))return!0;return!1}async function oqn(n,r=void 0){if(typeof n!="function")throw new aK("fn",["Function","AsyncFunction"],n);return!await bKt.call(this,async(...o)=>!await n(...o),r)}async function sqn(n,r){for await(const o of VMe.call(this,n,r))return o}async function aqn(n,r){if(typeof n!="function")throw new aK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),lle}for await(const l of tue.call(this,o,r));}function VMe(n,r){if(typeof n!="function")throw new aK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:lle}return tue.call(this,o,r)}let lqn=class extends Wzn{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function cqn(n,r,o){var l;if(typeof n!="function")throw new aK("reducer",["Function","AsyncFunction"],n);o!=null&&CT(o,"options"),(o==null?void 0:o.signal)!=null&&AT(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new jS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await Kzn(this.destroy(_)),_}const b=new Bzn,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[Vzn]:this,[Gzn]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new jS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new lqn}finally{b.abort()}return r}async function uqn(n){n!=null&&CT(n,"options"),(n==null?void 0:n.signal)!=null&&AT(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new jS(void 0,{cause:n.signal.reason});Qzn(r,l)}return r}function fqn(n,r){const o=tue.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function pKt(n){if(n=eqn(n),tqn(n))return 0;if(n<0)throw new Uzn("number",">= 0",n);return n}function dqn(n,r=void 0){return r!=null&&CT(r,"options"),(r==null?void 0:r.signal)!=null&&AT(r.signal,"options.signal"),n=pKt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new jS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new jS;n--<=0&&(yield b)}}).call(this)}function hqn(n,r=void 0){return r!=null&&CT(r,"options"),(r==null?void 0:r.signal)!=null&&AT(r.signal,"options.signal"),n=pKt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new jS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new jS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}NMe.streamReturningOperators={asIndexedPairs:Yzn(iqn,"readable.asIndexedPairs will be removed in a future version."),drop:dqn,filter:VMe,flatMap:fqn,map:tue,take:hqn,compose:rqn};NMe.promiseReturningOperators={every:oqn,forEach:aqn,reduce:cqn,toArray:uqn,some:bKt,find:sqn};var ZIe,U9t;function gKt(){if(U9t)return ZIe;U9t=1;const{ArrayPrototypePop:n,Promise:r}=hf,{isIterable:o,isNodeStream:l,isWebStream:h}=Gk,{pipelineImpl:b}=UMe,{finished:g}=W6;wKt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return ZIe={finished:g,pipeline:m},ZIe}var V9t;function wKt(){if(V9t)return DIe.exports;V9t=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=hf,{promisify:{custom:h}}=kg,{streamReturningOperators:b,promiseReturningOperators:g}=NMe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=W1,S=dKt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=Zce,{pipeline:I}=UMe,{destroyer:C}=aM,A=W6,M=gKt(),D=Gk,H=DIe.exports=FMe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=eue();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=BMe(),H.Duplex=vk(),H.Transform=lKt,H.PassThrough=uKt,H.pipeline=I;const{addAbortSignal:G}=Qce;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},DIe.exports}(function(n){const r=wKt(),o=gKt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(CGt);var bqn=CGt.exports;const lOe="null:";function pqn(n){return r=>r.termType!=="NamedNode"||!r.value.startsWith(lOe)?null:n.namedNode(r.value.slice(lOe.length))}function gqn(n){const r=pqn(n);return o=>{const l=r(o.subject),h=r(o.predicate),b=r(o.object),g=r(o.graph);return l||h||b||g?n.quad(l||o.subject,h||o.predicate,b||o.object,g||o.graph):o}}let wqn=class{constructor(r,{baseIRI:o=lOe,context:l=null,documentLoader:h,factory:b=fMe}={}){const g=new yVt.JsonLdParser({baseIRI:o,context:l,dataFactory:b,documentLoader:h,streamingProfile:!1});r.pipe(g);const m=gqn(b),S=new bqn.Transform({objectMode:!0,transform:(_,k,I)=>{I(null,m(_))}});return g.on("context",_=>{Object.entries(_).forEach(([k,I])=>{S.emit("prefix",k,b.namedNode(I))})}),g.on("error",_=>S.destroy(_)),g.pipe(S),wMe(S)}},mqn=class extends pce{constructor(r){super(wqn,r)}};/*! queue-microtask. MIT License. Feross Aboukhadijeh */let G9t;var yqn=typeof queueMicrotask=="function"?queueMicrotask.bind(window):n=>(G9t||(G9t=Promise.resolve())).then(n).catch(r=>setTimeout(()=>{throw r},0));const vqn=KS(yqn),KU="http://www.w3.org/1999/02/22-rdf-syntax-ns#",zU="http://www.w3.org/2001/XMLSchema#",eTe="http://www.w3.org/2000/10/swap/",gS={xsd:{decimal:`${zU}decimal`,boolean:`${zU}boolean`,double:`${zU}double`,integer:`${zU}integer`,string:`${zU}string`},rdf:{type:`${KU}type`,nil:`${KU}nil`,first:`${KU}first`,rest:`${KU}rest`,langString:`${KU}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${eTe}reify#forSome`,forAll:`${eTe}reify#forAll`},log:{implies:`${eTe}log#implies`}},{xsd:Yoe}=gS,_qn=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,K9t={"\\":"\\","'":"'",'"':'"',n:` +`,r:"\r",t:" ",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},Sqn=/[\x00-\x20<>\\"\{\}\|\^\`]/,Eqn={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},kqn=/$0^/;class Rqn{constructor(r){if(this._iri=/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,this._unescapedIri=/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,this._simpleQuotedString=/^"([^"\\\r\n]*)"(?=[^"])/,this._simpleApostropheString=/^'([^'\\\r\n]*)'(?=[^'])/,this._langcode=/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,this._prefix=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,this._prefixed=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/,this._variable=/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/,this._blank=/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/,this._number=/^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/,this._boolean=/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/,this._keyword=/^@[a-z]+(?=[\s#<:])/i,this._sparqlKeyword=/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,this._shortPredicates=/^a(?=[\s#()\[\]\{\}"'<>])/,this._newline=/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,this._comment=/#([^\n\r]*)/,this._whitespace=/^[ \t]+/,this._endOfFile=/^(?:#[^\n\r]*)?$/,r=r||{},this._lineMode=!!r.lineMode){this._n3Mode=!1;for(const o in this)!(o in Eqn)&&this[o]instanceof RegExp&&(this[o]=kqn)}else this._n3Mode=r.n3!==!1;this.comments=!!r.comments,this._literalClosingPos=0}_tokenizeToEnd(r,o){let l=this._input,h=l.length;for(;;){let m,S;for(;m=this._newline.exec(l);)this.comments&&(S=this._comment.exec(m[0]))&&b("comment",S[1],"",this._line,m[0].length),l=l.substr(m[0].length,l.length),h=l.length,this._line++;if(!m&&(m=this._whitespace.exec(l))&&(l=l.substr(m[0].length,l.length)),this._endOfFile.test(l))return o&&(this.comments&&(S=this._comment.exec(l))&&b("comment",S[1],"",this._line,l.length),l=null,b("eof","","",this._line,0)),this._input=l;const _=this._line,k=l[0];let I="",C="",A="",M=null,D=0,H=!1;switch(k){case"^":if(l.length<3)break;if(l[1]==="^"){if(this._previousMarker="^^",l=l.substr(2),l[0]!=="<"){H=!0;break}}else{this._n3Mode&&(D=1,I="^");break}case"<":if(M=this._unescapedIri.exec(l))I="IRI",C=M[1];else if(M=this._iri.exec(l)){if(C=this._unescape(M[1]),C===null||Sqn.test(C))return g(this);I="IRI"}else l.length>1&&l[1]==="<"?(I="<<",D=2):this._n3Mode&&l.length>1&&l[1]==="="&&(I="inverse",D=2,C=">");break;case">":l.length>1&&l[1]===">"&&(I=">>",D=2);break;case"_":((M=this._blank.exec(l))||o&&(M=this._blank.exec(`${l} `)))&&(I="blank",A="_",C=M[1]);break;case'"':if(M=this._simpleQuotedString.exec(l))C=M[1];else if({value:C,matchLength:D}=this._parseLiteral(l),C===null)return g(this);(M!==null||D!==0)&&(I="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(M=this._simpleApostropheString.exec(l))C=M[1];else if({value:C,matchLength:D}=this._parseLiteral(l),C===null)return g(this);(M!==null||D!==0)&&(I="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(M=this._variable.exec(l))&&(I="var",C=M[0]);break;case"@":this._previousMarker==="literal"&&(M=this._langcode.exec(l))?(I="langcode",C=M[1]):(M=this._keyword.exec(l))&&(I=M[0]);break;case".":if(l.length===1?o:l[1]<"0"||l[1]>"9"){I=".",D=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(M=this._number.exec(l)||o&&(M=this._number.exec(`${l} `)))&&(I="literal",C=M[0],A=typeof M[1]=="string"?Yoe.double:typeof M[2]=="string"?Yoe.decimal:Yoe.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(M=this._sparqlKeyword.exec(l))?I=M[0].toUpperCase():H=!0;break;case"f":case"t":(M=this._boolean.exec(l))?(I="literal",C=M[0],A=Yoe.boolean):H=!0;break;case"a":(M=this._shortPredicates.exec(l))?(I="abbreviation",C="a"):H=!0;break;case"=":this._n3Mode&&l.length>1&&(I="abbreviation",l[1]!==">"?(D=1,C="="):(D=2,C=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"}":this._lineMode||(D=1,I=k);break;case"{":!this._lineMode&&l.length>=2&&(l[1]==="|"?(I="{|",D=2):(I=k,D=1));break;case"|":l.length>=2&&l[1]==="}"&&(I="|}",D=2);break;default:H=!0}if(H&&((this._previousMarker==="@prefix"||this._previousMarker==="PREFIX")&&(M=this._prefix.exec(l))?(I="prefix",C=M[1]||""):((M=this._prefixed.exec(l))||o&&(M=this._prefixed.exec(`${l} `)))&&(I="prefixed",A=M[1]||"",C=this._unescape(M[2]))),this._previousMarker==="^^")switch(I){case"prefixed":I="type";break;case"IRI":I="typeIRI";break;default:I=""}if(!I)return o||!/^'''|^"""/.test(l)&&/\n|\r/.test(l)?g(this):this._input=l;const G=D||M[0].length,Y=b(I,C,A,_,G);this.previousToken=Y,this._previousMarker=I,l=l.substr(G,l.length)}function b(m,S,_,k,I){const C=l?h-l.length:h,A=C+I,M={type:m,value:S,prefix:_,line:k,start:C,end:A};return r(null,M),M}function g(m){r(m._syntaxError(/^\S*/.exec(l)[0]))}}_unescape(r){let o=!1;const l=r.replace(_qn,(h,b,g,m)=>{if(typeof b=="string")return String.fromCharCode(Number.parseInt(b,16));if(typeof g=="string"){let S=Number.parseInt(g,16);return S<=65535?String.fromCharCode(Number.parseInt(g,16)):String.fromCharCode(55296+((S-=65536)>>10),56320+(S&1023))}return m in K9t?K9t[m]:(o=!0,"")});return o?null:l}_parseLiteral(r){if(r.length>=3){const o=r.match(/^(?:"""|"|'''|'|)/)[0],l=o.length;let h=Math.max(this._literalClosingPos,l);for(;(h=r.indexOf(o,h))>0;){let b=0;for(;r[h-b-1]==="\\";)b++;if(b%2===0){const g=r.substring(l,h),m=g.split(/\r\n|\r|\n/).length-1,S=h+l;if(l===1&&m!==0||l===3&&this._lineMode)break;return this._line+=m,{value:this._unescape(g),matchLength:S}}h++}this._literalClosingPos=r.length-l+1}return{value:"",matchLength:0}}_syntaxError(r){this._input=null;const o=new Error(`Unexpected "${r}" on line ${this._line}.`);return o.context={token:void 0,line:this._line,previousToken:this.previousToken},o}_readStartingBom(r){return r.startsWith("\uFEFF")?r.substr(1):r}tokenize(r,o){if(this._line=1,typeof r=="string")if(this._input=this._readStartingBom(r),typeof o=="function")vqn(()=>this._tokenizeToEnd(o,!0));else{const l=[];let h;if(this._tokenizeToEnd((b,g)=>b?h=b:l.push(g),!0),h)throw h;return l}else this._pendingBuffer=null,typeof r.setEncoding=="function"&&r.setEncoding("utf8"),r.on("data",l=>{this._input!==null&&l.length!==0&&(this._pendingBuffer&&(l=Xr.Buffer.concat([this._pendingBuffer,l]),this._pendingBuffer=null),l[l.length-1]&128?this._pendingBuffer=l:(typeof this._input>"u"?this._input=this._readStartingBom(typeof l=="string"?l:l.toString()):this._input+=l,this._tokenizeToEnd(o,!1)))}),r.on("end",()=>{typeof this._input=="string"&&this._tokenizeToEnd(o,!0)}),r.on("error",o)}}const{rdf:Aqn,xsd:W9}=gS;let lK,Cqn=0;const xqn={namedNode:vKt,blankNode:_Kt,variable:EKt,literal:SKt,defaultGraph:Pqn,quad:cOe,triple:cOe,fromTerm:uV,fromQuad:kKt};class Kk{constructor(r){this.id=r}get value(){return this.id}equals(r){return r instanceof Kk?this.id===r.id:!!r&&this.termType===r.termType&&this.value===r.value}hashCode(){return 0}toJSON(){return{termType:this.termType,value:this.value}}}class mKt extends Kk{get termType(){return"NamedNode"}}class DV extends Kk{get termType(){return"Literal"}get value(){return this.id.substring(1,this.id.lastIndexOf('"'))}get language(){const r=this.id;let o=r.lastIndexOf('"')+1;return o0?"INF":"-INF")))),o===""||o===W9.string?new DV(`"${n}"`):new DV(`"${n}"^^${o}`)}function EKt(n){return new Iqn(n)}function Pqn(){return lK}function cOe(n,r,o,l){return new yKt(n,r,o,l)}function uV(n){if(n instanceof Kk)return n;switch(n.termType){case"NamedNode":return vKt(n.value);case"BlankNode":return _Kt(n.value);case"Variable":return EKt(n.value);case"DefaultGraph":return lK;case"Literal":return SKt(n.value,n.language||n.datatype);case"Quad":return kKt(n);default:throw new Error(`Unexpected termType: ${n.termType}`)}}function kKt(n){if(n instanceof yKt)return n;if(n.termType!=="Quad")throw new Error(`Unexpected termType: ${n.termType}`);return cOe(uV(n.subject),uV(n.predicate),uV(n.object),uV(n.graph))}let z9t=0;class RKt{constructor(r){this._contextStack=[],this._graph=null,r=r||{},this._setBase(r.baseIRI),r.factory&&AKt(this,r.factory);const o=typeof r.format=="string"?r.format.match(/\w*$/)[0].toLowerCase():"",l=/turtle/.test(o),h=/trig/.test(o),b=/triple/.test(o),g=/quad/.test(o),m=this._n3Mode=/n3/.test(o),S=b||g;(this._supportsNamedGraphs=!(l||m))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(l||h||b||m),this._supportsRDFStar=o===""||/star|\*$/.test(o),S&&(this._resolveRelativeIRI=_=>null),this._blankNodePrefix=typeof r.blankNodePrefix!="string"?"":r.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=r.lexer||new Rqn({lineMode:S,n3:m}),this._explicitQuantifiers=!!r.explicitQuantifiers}static _resetBlankNodePrefix(){z9t=0}_setBase(r){if(!r)this._base="",this._basePath="";else{const o=r.indexOf("#");o>=0&&(r=r.substr(0,o)),this._base=r,this._basePath=r.indexOf("/")<0?r:r.replace(/[^\/?]*(?:\?.*)?$/,""),r=r.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=r[0],this._baseScheme=r[1]}}_saveContext(r,o,l,h,b){const g=this._n3Mode;this._contextStack.push({type:r,subject:l,predicate:h,object:b,graph:o,inverse:g?this._inversePredicate:!1,blankPrefix:g?this._prefixes._:"",quantified:g?this._quantified:null}),g&&(this._inversePredicate=!1,this._prefixes._=this._graph?`${this._graph.value}.`:".",this._quantified=Object.create(this._quantified))}_restoreContext(r,o){const l=this._contextStack.pop();if(!l||l.type!==r)return this._error(`Unexpected ${o.type}`,o);this._subject=l.subject,this._predicate=l.predicate,this._object=l.object,this._graph=l.graph,this._n3Mode&&(this._inversePredicate=l.inverse,this._prefixes._=l.blankPrefix,this._quantified=l.quantified)}_readInTopContext(r){switch(r.type){case"eof":return this._graph!==null?this._error("Unclosed graph",r):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(r)}}_readEntity(r,o){let l;switch(r.type){case"IRI":case"typeIRI":const h=this._resolveIRI(r.value);if(h===null)return this._error("Invalid IRI",r);l=this._factory.namedNode(h);break;case"type":case"prefixed":const b=this._prefixes[r.prefix];if(b===void 0)return this._error(`Undefined prefix "${r.prefix}:"`,r);l=this._factory.namedNode(b+r.value);break;case"blank":l=this._factory.blankNode(this._prefixes[r.prefix]+r.value);break;case"var":l=this._factory.variable(r.value.substr(1));break;default:return this._error(`Expected entity but got ${r.type}`,r)}return!o&&this._n3Mode&&l.id in this._quantified&&(l=this._quantified[l.id]),l}_readSubject(r){switch(this._predicate=null,r.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._factory.blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._factory.blankNode(),null,null),this._readSubject):this._error("Unexpected graph",r);case"}":return this._readPunctuation(r);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier="blankNode",this._readQuantifierList):this._error('Unexpected "@forSome"',r);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier="variable",this._readQuantifierList):this._error('Unexpected "@forAll"',r);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",r);if(r.prefix.length===0)return this._literalValue=r.value,this._completeSubjectLiteral;this._subject=this._factory.literal(r.value,this._factory.namedNode(r.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",r);default:if((this._subject=this._readEntity(r))===void 0)return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(r){const o=r.type;switch(o){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[r.value];break;case".":case"]":case"}":return this._predicate===null?this._error(`Unexpected ${o}`,r):(this._subject=null,o==="]"?this._readBlankNodeTail(r):this._readPunctuation(r));case";":return this._predicate!==null?this._readPredicate:this._error("Expected predicate but got ;",r);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._factory.blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",r);default:if((this._predicate=this._readEntity(r))===void 0)return}return this._readObject}_readObject(r){switch(r.type){case"literal":if(r.prefix.length===0)return this._literalValue=r.value,this._readDataTypeOrLang;this._object=this._factory.literal(r.value,this._factory.namedNode(r.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._factory.blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",r);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF-star syntax",r);default:if((this._object=this._readEntity(r))===void 0)return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(r){return r.type==="{"?this._readGraph(r):this._readPredicate(r)}_readGraph(r){return r.type!=="{"?this._error(`Expected graph but got ${r.type}`,r):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(r){return r.type==="]"?(this._subject=null,this._readBlankNodeTail(r)):(this._predicate=null,this._readPredicate(r))}_readBlankNodeTail(r){if(r.type!=="]")return this._readBlankNodePunctuation(r);this._subject!==null&&this._emit(this._subject,this._predicate,this._object,this._graph);const o=this._predicate===null;return this._restoreContext("blank",r),this._object!==null?this._getContextEndReader():this._predicate!==null?this._readObject:o?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(r){switch(r.type){case".":case"}":return this._subject=null,this._readPunctuation(r);default:return this._readPredicate(r)}}_readListItem(r){let o=null,l=null,h=this._readListItem;const b=this._subject,g=this._contextStack,m=g[g.length-1];switch(r.type){case"[":this._saveContext("blank",this._graph,l=this._factory.blankNode(),this.RDF_FIRST,this._subject=o=this._factory.blankNode()),h=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,l=this._factory.blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext("list",r),g.length!==0&&g[g.length-1].type==="list"&&this._emit(this._subject,this._predicate,this._object,this._graph),this._predicate===null){if(h=this._readPredicate,this._subject===this.RDF_NIL)return h}else if(h=this._getContextEndReader(),this._object===this.RDF_NIL)return h;l=this.RDF_NIL;break;case"literal":r.prefix.length===0?(this._literalValue=r.value,h=this._readListItemDataTypeOrLang):(o=this._factory.literal(r.value,this._factory.namedNode(r.prefix)),h=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._factory.blankNode()),this._readSubject):this._error("Unexpected graph",r);default:if((o=this._readEntity(r))===void 0)return}if(l===null&&(this._subject=l=this._factory.blankNode()),b===null?m.predicate===null?m.subject=l:m.object=l:this._emit(b,this.RDF_REST,l,this._graph),o!==null){if(this._n3Mode&&(r.type==="IRI"||r.type==="prefixed"))return this._saveContext("item",this._graph,l,this.RDF_FIRST,o),this._subject=o,this._predicate=null,this._getPathReader(this._readListItem);this._emit(l,this.RDF_FIRST,o,this._graph)}return h}_readDataTypeOrLang(r){return this._completeObjectLiteral(r,!1)}_readListItemDataTypeOrLang(r){return this._completeObjectLiteral(r,!0)}_completeLiteral(r){let o=this._factory.literal(this._literalValue);switch(r.type){case"type":case"typeIRI":const l=this._readEntity(r);if(l===void 0)return;o=this._factory.literal(this._literalValue,l),r=null;break;case"langcode":o=this._factory.literal(this._literalValue,r.value),r=null;break}return{token:r,literal:o}}_completeSubjectLiteral(r){return this._subject=this._completeLiteral(r).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(r,o){const l=this._completeLiteral(r);if(l)return this._object=l.literal,o&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),l.token===null?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(l.token))}_readFormulaTail(r){return r.type!=="}"?this._readPunctuation(r):(this._subject!==null&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext("formula",r),this._object===null?this._readPredicate:this._getContextEndReader())}_readPunctuation(r){let o,l=this._graph;const h=this._subject,b=this._inversePredicate;switch(r.type){case"}":if(this._graph===null)return this._error("Unexpected graph closing",r);if(this._n3Mode)return this._readFormulaTail(r);this._graph=null;case".":this._subject=null,o=this._contextStack.length?this._readSubject:this._readInTopContext,b&&(this._inversePredicate=!1);break;case";":o=this._readPredicate;break;case",":o=this._readObject;break;case"{|":if(!this._supportsRDFStar)return this._error("Unexpected RDF-star syntax",r);const g=this._predicate,m=this._object;this._subject=this._factory.quad(h,g,m,this.DEFAULTGRAPH),o=this._readPredicate;break;case"|}":if(this._subject.termType!=="Quad")return this._error("Unexpected asserted triple closing",r);this._subject=null,o=this._readPunctuation;break;default:if(this._supportsQuads&&this._graph===null&&(l=this._readEntity(r))!==void 0){o=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,r)}if(h!==null){const g=this._predicate,m=this._object;b?this._emit(m,g,h,l):this._emit(h,g,m,l)}return o}_readBlankNodePunctuation(r){let o;switch(r.type){case";":o=this._readPredicate;break;case",":o=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,r)}return this._emit(this._subject,this._predicate,this._object,this._graph),o}_readQuadPunctuation(r){return r.type!=="."?this._error("Expected dot to follow quad",r):this._readInTopContext}_readPrefix(r){return r.type!=="prefix"?this._error("Expected prefix to follow @prefix",r):(this._prefix=r.value,this._readPrefixIRI)}_readPrefixIRI(r){if(r.type!=="IRI")return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,r);const o=this._readEntity(r);return this._prefixes[this._prefix]=o.value,this._prefixCallback(this._prefix,o),this._readDeclarationPunctuation}_readBaseIRI(r){const o=r.type==="IRI"&&this._resolveIRI(r.value);return o?(this._setBase(o),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",r)}_readNamedGraphLabel(r){switch(r.type){case"IRI":case"blank":case"prefixed":return this._readSubject(r),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",r)}}_readNamedGraphBlankLabel(r){return r.type!=="]"?this._error("Invalid graph label",r):(this._subject=this._factory.blankNode(),this._readGraph)}_readDeclarationPunctuation(r){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(r)):r.type!=="."?this._error("Expected declaration to end with a dot",r):this._readInTopContext}_readQuantifierList(r){let o;switch(r.type){case"IRI":case"prefixed":if((o=this._readEntity(r,!0))!==void 0)break;default:return this._error(`Unexpected ${r.type}`,r)}return this._explicitQuantifiers?(this._subject===null?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._factory.blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,o,this.QUANTIFIERS_GRAPH)):this._quantified[o.id]=this._factory[this._quantifier](this._factory.blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(r){return r.type===","?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(r))}_getPathReader(r){return this._afterPath=r,this._readPath}_readPath(r){switch(r.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const o=this._contextStack,l=o.length&&o[o.length-1];if(l&&l.type==="item"){const h=this._subject;this._restoreContext("item",r),this._emit(this._subject,this.RDF_FIRST,h,this._graph)}return this._afterPath(r)}}_readForwardPath(r){let o,l;const h=this._factory.blankNode();if((l=this._readEntity(r))!==void 0)return this._predicate===null?(o=this._subject,this._subject=h):(o=this._object,this._object=h),this._emit(o,l,h,this._graph),this._readPath}_readBackwardPath(r){const o=this._factory.blankNode();let l,h;if((l=this._readEntity(r))!==void 0)return this._predicate===null?(h=this._subject,this._subject=o):(h=this._object,this._object=o),this._emit(o,l,h,this._graph),this._readPath}_readRDFStarTailOrGraph(r){return r.type!==">>"?this._supportsQuads&&this._graph===null&&(this._graph=this._readEntity(r))!==void 0?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,r):this._readRDFStarTail(r)}_readRDFStarTail(r){if(r.type!==">>")return this._error(`Expected >> but got ${r.type}`,r);const o=this._factory.quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext("<<",r),this._subject===null?(this._subject=o,this._readPredicate):(this._object=o,this._getContextEndReader())}_getContextEndReader(){const r=this._contextStack;if(!r.length)return this._readPunctuation;switch(r[r.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(r,o,l,h){this._callback(null,this._factory.quad(r,o,l,h||this.DEFAULTGRAPH))}_error(r,o){const l=new Error(`${r} on line ${o.line}.`);l.context={token:o,line:o.line,previousToken:this._lexer.previousToken},this._callback(l),this._callback=Qoe}_resolveIRI(r){return/^[a-z][a-z0-9+.-]*:/i.test(r)?r:this._resolveRelativeIRI(r)}_resolveRelativeIRI(r){if(!r.length)return this._base;switch(r[0]){case"#":return this._base+r;case"?":return this._base.replace(/(?:\?.*)?$/,r);case"/":return(r[1]==="/"?this._baseScheme:this._baseRoot)+this._removeDotSegments(r);default:return/^[^/:]*:/.test(r)?null:this._removeDotSegments(this._basePath+r)}}_removeDotSegments(r){if(!/(^|\/)\.\.?($|[/#?])/.test(r))return r;const o=r.length;let l="",h=-1,b=-1,g=0,m="/";for(;h=b&&(l=l.substr(0,g)),m!=="/")return`${l}/${r.substr(h+1)}`;g=h+1}}}m=r[++h]}return l+r.substring(g)}parse(r,o,l){let h,b,g;if(o&&(o.onQuad||o.onPrefix||o.onComment)?(h=o.onQuad,b=o.onPrefix,g=o.onComment):(h=o,b=l),this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${z9t++}_`,this._prefixCallback=b||Qoe,this._inversePredicate=!1,this._quantified=Object.create(null),!h){const S=[];let _;if(this._callback=(k,I)=>{k?_=k:I&&S.push(I)},this._lexer.tokenize(r).every(k=>this._readCallback=this._readCallback(k)),_)throw _;return S}let m=(S,_)=>{S!==null?(this._callback(S),this._callback=Qoe):this._readCallback&&(this._readCallback=this._readCallback(_))};g&&(this._lexer.comments=!0,m=(S,_)=>{S!==null?(this._callback(S),this._callback=Qoe):this._readCallback&&(_.type==="comment"?g(_.value):this._readCallback=this._readCallback(_))}),this._callback=h,this._lexer.tokenize(r,m)}}function Qoe(){}function AKt(n,r){n._factory=r,n.DEFAULTGRAPH=r.defaultGraph(),n.RDF_FIRST=r.namedNode(gS.rdf.first),n.RDF_REST=r.namedNode(gS.rdf.rest),n.RDF_NIL=r.namedNode(gS.rdf.nil),n.N3_FORALL=r.namedNode(gS.r.forAll),n.N3_FORSOME=r.namedNode(gS.r.forSome),n.ABBREVIATIONS={a:r.namedNode(gS.rdf.type),"=":r.namedNode(gS.owl.sameAs),">":r.namedNode(gS.log.implies)},n.QUANTIFIERS_GRAPH=r.namedNode("urn:n3:quantifiers")}AKt(RKt.prototype,xqn);var CKt={exports:{}},tTe={exports:{}},bf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},xKt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=bf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(xKt);var Rg=xKt.exports,GMe={};const{format:Oqn,inspect:cle,AggregateError:Nqn}=Rg,Mqn=globalThis.AggregateError||Nqn,Dqn=Symbol("kIsNodeError"),Lqn=["string","function","number","object","Function","Object","boolean","bigint","symbol"],jqn=/^([A-Z][a-z0-9]*)+$/,Fqn="__node_internal_",nue={};function GI(n,r){if(!n)throw new nue.ERR_INTERNAL_ASSERTION(r)}function q9t(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function Bqn(n,r,o){if(typeof r=="function")return GI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return GI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:Oqn(r,...o)}function mb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(Bqn(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[Dqn]=!0,nue[n]=l}function X9t(n){const r=Fqn+n.name;return Object.defineProperty(n,"name",{value:r}),n}function Hqn(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new Mqn([r,n],r.message);return o.code=r.code,o}return n||r}let Wqn=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new nue.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};mb("ERR_ASSERTION","%s",Error);mb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{GI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)GI(typeof S=="string","All expected entries have to be of type string"),Lqn.includes(S)?h.push(S.toLowerCase()):jqn.test(S)?b.push(S):(GI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=cle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=cle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);mb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=cle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);mb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);mb("ERR_MISSING_ARGS",(...n)=>{GI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);mb("ERR_OUT_OF_RANGE",(n,r,o)=>{GI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=q9t(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=q9t(l)),l+="n"):l=cle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);mb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);mb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);mb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);mb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);mb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);mb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);mb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);mb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);mb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);mb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);mb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var U1={AbortError:Wqn,aggregateTwoErrors:X9t(Hqn),hideStackFrames:X9t,codes:nue};const{ArrayIsArray:KMe,ArrayPrototypeIncludes:$Kt,ArrayPrototypeJoin:IKt,ArrayPrototypeMap:Uqn,NumberIsInteger:zMe,NumberIsNaN:Vqn,NumberMAX_SAFE_INTEGER:Gqn,NumberMIN_SAFE_INTEGER:Kqn,NumberParseInt:zqn,ObjectPrototypeHasOwnProperty:qqn,RegExpPrototypeExec:TKt,String:Xqn,StringPrototypeToUpperCase:Jqn,StringPrototypeTrim:Yqn}=bf,{hideStackFrames:fy,codes:{ERR_SOCKET_BAD_PORT:Qqn,ERR_INVALID_ARG_TYPE:dp,ERR_INVALID_ARG_VALUE:lM,ERR_OUT_OF_RANGE:sT,ERR_UNKNOWN_SIGNAL:J9t}}=U1,{normalizeEncoding:Zqn}=Rg,{isAsyncFunction:eXn,isArrayBufferView:tXn}=Rg.types,Y9t={};function nXn(n){return n===(n|0)}function rXn(n){return n===n>>>0}const iXn=/^[0-7]+$/,oXn="must be a 32-bit unsigned integer or an octal string";function sXn(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(TKt(iXn,n)===null)throw new lM(r,n,oXn);n=zqn(n,8)}return PKt(n,r),n}const aXn=fy((n,r,o=Kqn,l=Gqn)=>{if(typeof n!="number")throw new dp(r,"number",n);if(!zMe(n))throw new sT(r,"an integer",n);if(nl)throw new sT(r,`>= ${o} && <= ${l}`,n)}),lXn=fy((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new dp(r,"number",n);if(!zMe(n))throw new sT(r,"an integer",n);if(nl)throw new sT(r,`>= ${o} && <= ${l}`,n)}),PKt=fy((n,r,o=!1)=>{if(typeof n!="number")throw new dp(r,"number",n);if(!zMe(n))throw new sT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new sT(r,`>= ${l} && <= ${h}`,n)});function qMe(n,r){if(typeof n!="string")throw new dp(r,"string",n)}function cXn(n,r,o=void 0,l){if(typeof n!="number")throw new dp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&Vqn(n))throw new sT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const uXn=fy((n,r,o)=>{if(!$Kt(o,n)){const h="must be one of: "+IKt(Uqn(o,b=>typeof b=="string"?`'${b}'`:Xqn(b)),", ");throw new lM(r,n,h)}});function OKt(n,r){if(typeof n!="boolean")throw new dp(r,"boolean",n)}function nTe(n,r,o){return n==null||!qqn(n,r)?o:n[r]}const fXn=fy((n,r,o=null)=>{const l=nTe(o,"allowArray",!1),h=nTe(o,"allowFunction",!1);if(!nTe(o,"nullable",!1)&&n===null||!l&&KMe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new dp(r,"Object",n)}),dXn=fy((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new dp(r,"a dictionary",n)}),rue=fy((n,r,o=0)=>{if(!KMe(n))throw new dp(r,"Array",n);if(n.length{if(!tXn(n))throw new dp(r,["Buffer","TypedArray","DataView"],n)});function mXn(n,r){const o=Zqn(r),l=n.length;if(o==="hex"&&l%2!==0)throw new lM("encoding",r,`is invalid for data of length ${l}`)}function yXn(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&Yqn(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new Qqn(r,n,o);return n|0}const NKt=fy((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new dp(r,"AbortSignal",n)}),vXn=fy((n,r)=>{if(typeof n!="function")throw new dp(r,"Function",n)}),_Xn=fy((n,r)=>{if(typeof n!="function"||eXn(n))throw new dp(r,"Function",n)}),SXn=fy((n,r)=>{if(n!==void 0)throw new dp(r,"undefined",n)});function EXn(n,r,o){if(!$Kt(o,n))throw new dp(r,`('${IKt(o,"|")}')`,n)}const kXn=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Q9t(n,r){if(typeof n>"u"||!TKt(kXn,n))throw new lM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function RXn(n){if(typeof n=="string")return Q9t(n,"hints"),n;if(KMe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var cK={isInt32:nXn,isUint32:rXn,parseFileMode:sXn,validateArray:rue,validateStringArray:hXn,validateBooleanArray:bXn,validateAbortSignalArray:pXn,validateBoolean:OKt,validateBuffer:wXn,validateDictionary:dXn,validateEncoding:mXn,validateFunction:vXn,validateInt32:lXn,validateInteger:aXn,validateNumber:cXn,validateObject:fXn,validateOneOf:uXn,validatePlainFunction:_Xn,validatePort:yXn,validateSignalName:gXn,validateString:qMe,validateUint32:PKt,validateUndefined:SXn,validateUnion:EXn,validateAbortSignal:NKt,validateLinkHeaderValue:RXn},XMe={exports:{}};const{SymbolAsyncIterator:Z9t,SymbolIterator:eNt,SymbolFor:xT}=bf,MKt=xT("nodejs.stream.destroyed"),DKt=xT("nodejs.stream.errored"),uOe=xT("nodejs.stream.readable"),fOe=xT("nodejs.stream.writable"),LKt=xT("nodejs.stream.disturbed"),AXn=xT("nodejs.webstream.isClosedPromise"),CXn=xT("nodejs.webstream.controllerErrorFunction");function iue(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function oue(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function xXn(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function XS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function jKt(n){return!!(n&&!XS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function FKt(n){return!!(n&&!XS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function BKt(n){return!!(n&&!XS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function $Xn(n){return jKt(n)||FKt(n)||BKt(n)}function IXn(n,r){return n==null?!1:r===!0?typeof n[Z9t]=="function":r===!1?typeof n[eNt]=="function":typeof n[Z9t]=="function"||typeof n[eNt]=="function"}function sue(n){if(!XS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[MKt]||l!=null&&l.destroyed)}function HKt(n){if(!oue(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function TXn(n,r){if(!oue(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function PXn(n){if(!iue(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function WKt(n,r){if(!iue(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function UKt(n){return n&&n[uOe]!=null?n[uOe]:typeof(n==null?void 0:n.readable)!="boolean"?null:sue(n)?!1:iue(n)&&n.readable&&!WKt(n)}function VKt(n){return n&&n[fOe]!=null?n[fOe]:typeof(n==null?void 0:n.writable)!="boolean"?null:sue(n)?!1:oue(n)&&n.writable&&!HKt(n)}function OXn(n,r){return XS(n)?sue(n)?!0:!((r==null?void 0:r.readable)!==!1&&UKt(n)||(r==null?void 0:r.writable)!==!1&&VKt(n)):null}function NXn(n){var r,o;return XS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function MXn(n){var r,o;return XS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function DXn(n){if(!XS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&GKt(n)?n._closed:null}function GKt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function KKt(n){return typeof n._sent100=="boolean"&&GKt(n)}function LXn(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function jXn(n){if(!XS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&KKt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function FXn(n){var r;return!!(n&&((r=n[LKt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function BXn(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[DKt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var zk={isDestroyed:sue,kIsDestroyed:MKt,isDisturbed:FXn,kIsDisturbed:LKt,isErrored:BXn,kIsErrored:DKt,isReadable:UKt,kIsReadable:uOe,kIsClosedPromise:AXn,kControllerErrorFunction:CXn,kIsWritable:fOe,isClosed:DXn,isDuplexNodeStream:xXn,isFinished:OXn,isIterable:IXn,isReadableNodeStream:iue,isReadableStream:jKt,isReadableEnded:PXn,isReadableFinished:WKt,isReadableErrored:MXn,isNodeStream:XS,isWebStream:$Xn,isWritable:VKt,isWritableNodeStream:oue,isWritableStream:FKt,isWritableEnded:HKt,isWritableFinished:TXn,isWritableErrored:NXn,isServerRequest:LXn,isServerResponse:KKt,willEmitClose:jXn,isTransformStream:BKt};const f6=yi,{AbortError:zKt,codes:HXn}=U1,{ERR_INVALID_ARG_TYPE:WXn,ERR_STREAM_PREMATURE_CLOSE:tNt}=HXn,{kEmptyObject:dOe,once:hOe}=Rg,{validateAbortSignal:UXn,validateFunction:VXn,validateObject:GXn,validateBoolean:KXn}=cK,{Promise:zXn,PromisePrototypeThen:qXn,SymbolDispose:qKt}=bf,{isClosed:XXn,isReadable:nNt,isReadableNodeStream:rTe,isReadableStream:JXn,isReadableFinished:rNt,isReadableErrored:iNt,isWritable:oNt,isWritableNodeStream:sNt,isWritableStream:YXn,isWritableFinished:aNt,isWritableErrored:lNt,isNodeStream:QXn,willEmitClose:ZXn,kIsClosedPromise:eJn}=zk;let wN;function tJn(n){return n.setHeader&&typeof n.abort=="function"}const bOe=()=>{};function XKt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=dOe):r==null?r=dOe:GXn(r,"options"),VXn(o,"callback"),UXn(r.signal,"options.signal"),o=hOe(o),JXn(n)||YXn(n))return nJn(n,r,o);if(!QXn(n))throw new WXn("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:rTe(n),g=(h=r.writable)!==null&&h!==void 0?h:sNt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=ZXn(n)&&rTe(n)===b&&sNt(n)===g,I=aNt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=rNt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=XXn(n);const G=()=>{H=!0;const ne=lNt(n)||iNt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&rTe(n,!0)&&!rNt(n,!1))return o.call(n,new tNt);if(g&&!I&&!aNt(n,!1))return o.call(n,new tNt);o.call(n)},Y=()=>{H=!0;const ne=lNt(n)||iNt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};tJn(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?f6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||f6.nextTick(Y):(!b&&(!k||nNt(n))&&(I||oNt(n)===!1)||!g&&(!k||oNt(n))&&(A||nNt(n)===!1)||S&&n.req&&n.aborted)&&f6.nextTick(Y);const Q=()=>{o=bOe,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new zKt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)f6.nextTick(ne);else{wN=wN||Rg.addAbortListener;const be=wN(r.signal,ne),De=o;o=hOe((...Ee)=>{be[qKt](),De.apply(n,Ee)})}}return Q}function nJn(n,r,o){let l=!1,h=bOe;if(r.signal)if(h=()=>{l=!0,o.call(n,new zKt(void 0,{cause:r.signal.reason}))},r.signal.aborted)f6.nextTick(h);else{wN=wN||Rg.addAbortListener;const g=wN(r.signal,h),m=o;o=hOe((...S)=>{g[qKt](),m.apply(n,S)})}const b=(...g)=>{l||f6.nextTick(()=>o.apply(n,g))};return qXn(n[eJn].promise,b,b),bOe}function rJn(n,r){var o;let l=!1;return r===null&&(r=dOe),(o=r)!==null&&o!==void 0&&o.cleanup&&(KXn(r.cleanup,"cleanup"),l=r.cleanup),new zXn((h,b)=>{const g=XKt(n,r,m=>{l&&g(),m?b(m):h()})})}XMe.exports=XKt;XMe.exports.finished=rJn;var U6=XMe.exports;const xS=yi,{aggregateTwoErrors:iJn,codes:{ERR_MULTIPLE_CALLBACK:oJn},AbortError:sJn}=U1,{Symbol:JKt}=bf,{kIsDestroyed:aJn,isDestroyed:lJn,isFinished:cJn,isServerRequest:uJn}=zk,YKt=JKt("kDestroy"),pOe=JKt("kConstruct");function QKt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function fJn(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(QKt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?cNt(this,n,r):this.once(YKt,function(b){cNt(this,iJn(b,n),r)}),this)}function cNt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;QKt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?xS.nextTick(dJn,n,b):xS.nextTick(ZKt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function dJn(n,r){gOe(n,r),ZKt(n)}function ZKt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function gOe(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function hJn(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function wOe(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?xS.nextTick(gOe,n,r):gOe(n,r))}function bJn(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(pOe,r),!(n.listenerCount(pOe)>1)&&xS.nextTick(pJn,n)}function pJn(n){let r=!1;function o(l){if(r){wOe(n,l??new oJn);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(YKt,l):l?wOe(n,l,!0):xS.nextTick(gJn,n)}try{n._construct(l=>{xS.nextTick(o,l)})}catch(l){xS.nextTick(o,l)}}function gJn(n){n.emit(pOe)}function uNt(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function ezt(n){n.emit("close")}function wJn(n,r){n.emit("error",r),xS.nextTick(ezt,n)}function mJn(n,r){!n||lJn(n)||(!r&&!cJn(n)&&(r=new sJn),uJn(n)?(n.socket=null,n.destroy(r)):uNt(n)?n.abort():uNt(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?xS.nextTick(wJn,n,r):xS.nextTick(ezt,n),n.destroyed||(n[aJn]=!0))}var cM={construct:bJn,destroyer:mJn,destroy:fJn,undestroy:hJn,errorOrDestroy:wOe};const{ArrayIsArray:yJn,ObjectSetPrototypeOf:tzt}=bf,{EventEmitter:aue}=Zs;function lue(n){aue.call(this,n)}tzt(lue.prototype,aue.prototype);tzt(lue,aue);lue.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),aue.listenerCount(this,"error")===0&&this.emit("error",k)}mOe(o,"error",S),mOe(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function mOe(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):yJn(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var JMe={Stream:lue,prependListener:mOe},nzt={exports:{}};(function(n){const{SymbolDispose:r}=bf,{AbortError:o,codes:l}=U1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=zk,m=U6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||Rg.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(nzt);var cue=nzt.exports;const{StringPrototypeSlice:fNt,SymbolIterator:vJn,TypedArrayPrototypeSet:Zoe,Uint8Array:_Jn}=bf,{Buffer:iTe}=Xr,{inspect:SJn}=Rg;var EJn=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return iTe.alloc(0);const o=iTe.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)Zoe(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=fNt(b,0,r),this.head=l,l.data=fNt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=iTe.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)Zoe(o,g,l-r),r-=g.length;else{r===g.length?(Zoe(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(Zoe(o,new _Jn(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return SJn(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:kJn,NumberIsInteger:RJn}=bf,{validateInteger:AJn}=cK,{ERR_INVALID_ARG_VALUE:CJn}=U1.codes;let rzt=16*1024,izt=16;function xJn(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function ozt(n){return n?izt:rzt}function $Jn(n,r){AJn(r,"value",0),n?izt=r:rzt=r}function IJn(n,r,o,l){const h=xJn(r,l,o);if(h!=null){if(!RJn(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new CJn(b,h)}return kJn(h)}return ozt(n.objectMode)}var uue={getHighWaterMark:IJn,getDefaultHighWaterMark:ozt,setDefaultHighWaterMark:$Jn};const dNt=yi,{PromisePrototypeThen:TJn,SymbolAsyncIterator:hNt,SymbolIterator:bNt}=bf,{Buffer:PJn}=Xr,{ERR_INVALID_ARG_TYPE:OJn,ERR_STREAM_NULL_VALUES:NJn}=U1.codes;function MJn(n,r,o){let l;if(typeof r=="string"||r instanceof PJn)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[hNt])h=!0,l=r[hNt]();else if(r&&r[bNt])h=!1,l=r[bNt]();else throw new OJn("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){TJn(m(_),()=>dNt.nextTick(k,_),I=>dNt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new NJn;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var szt=MJn,oTe,pNt;function fue(){if(pNt)return oTe;pNt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=bf;oTe=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=JMe,{Buffer:H}=Xr,{addAbortSignal:G}=cue,Y=U6;let F=Rg.debuglog("stream",E=>{F=E});const Q=EJn,ne=cM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=uue,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=U1,{validateObject:ye}=cK,me=C("kPaused"),{StringDecoder:je}=sy,Be=szt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof Sk()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof Sk();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},oTe}var sTe,gNt;function YMe(){if(gNt)return sTe;gNt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=bf;sTe=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=JMe.Stream,{Buffer:C}=Xr,A=cM,{addAbortSignal:M}=cue,{getHighWaterMark:D,getDefaultHighWaterMark:H}=uue,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=U1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof Sk()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof Sk();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return aTe}var lTe,mNt;function Sk(){if(mNt)return lTe;mNt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=bf;lTe=g;const h=fue(),b=YMe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function BJn(){this._final!==yOe&&yOe.call(this)}Ek.prototype._final=yOe;Ek.prototype._transform=function(n,r,o){throw new jJn("_transform()")};Ek.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=ule(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,KJn.destroyer(n,b||new XJn("pipe")))},cleanup:h}}function rYn(n){return QJn(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function pTe(n){if(EI(n))return n;if(wae(n))return iYn(n);throw new vOe("val",["Readable","Iterable","AsyncIterable"],n)}async function*iYn(n){hTe||(hTe=fue()),yield*hTe.prototype[UJn].call(n)}async function ese(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new WJn((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=ule(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?zJn(h,_):_)}finally{S(),r.off("drain",g)}}async function gTe(n,r,o,{end:l}){U9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function oYn(...n){return fzt(n,GJn(rYn(n)))}function fzt(n,r,o){if(n.length===1&&HJn(n[0])&&(n=n[0]),n.length<2)throw new qJn("streams");const l=new nYn,h=l.signal,b=o==null?void 0:o.signal,g=[];ZJn(b,"options.signal");function m(){M(new YJn)}bTe=bTe||Rg.addAbortListener;let S;b&&(S=bTe(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[VJn](),l.abort(),F&&(_||g.forEach(ne=>ne()),fV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(vNt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=_Nt(F,Q,ne);I.push(Ae),uTe(F)&&De&&g.push(qe)}F.on("error",Ee),uTe(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!EI(D))throw new cTe("Iterable, AsyncIterable or Stream","source",D)}else EI(F)||wae(F)||U9(F)?D=F:D=yNt.from(F);else if(typeof F=="function"){if(U9(D)){var H;D=pTe((H=D)===null||H===void 0?void 0:H.readable)}else D=pTe(D);if(D=F(D,{signal:h}),Q){if(!EI(D,!0))throw new cTe("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;dTe||(dTe=uzt);const Ee=new dTe({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),fV.nextTick(A)},fe=>{Ee.destroy(fe),fV.nextTick(A,fe)});else if(EI(D,!0))C++,ese(D,Ee,A,{end:be});else if(fTe(D)||U9(D)){const fe=D.readable||D;C++,ese(fe,Ee,A,{end:be})}else throw new cTe("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=_Nt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(vNt(F)){if(wae(D)){C+=2;const Ee=sYn(D,F,A,{end:be});uTe(F)&&De&&g.push(Ee)}else if(U9(D)||fTe(D)){const Ee=D.readable||D;C++,ese(Ee,F,A,{end:be})}else if(EI(D))C++,ese(D,F,A,{end:be});else throw new vOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(eYn(F)){if(wae(D))C++,gTe(pTe(D),F,A,{end:be});else if(fTe(D)||EI(D))C++,gTe(D,F,A,{end:be});else if(U9(D))C++,gTe(D.readable,F,A,{end:be});else throw new vOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=yNt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&fV.nextTick(m),D}function sYn(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new JJn)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};tYn(n)?fV.nextTick(b):n.once("end",b)}else o();return ule(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),ule(r,{readable:!1,writable:!0},o)}var eDe={pipelineImpl:fzt,pipeline:oYn};const{pipeline:aYn}=eDe,tse=Sk(),{destroyer:lYn}=cM,{isNodeStream:nse,isReadable:SNt,isWritable:ENt,isWebStream:wTe,isTransformStream:sI,isWritableStream:kNt,isReadableStream:RNt}=zk,{AbortError:cYn,codes:{ERR_INVALID_ARG_VALUE:ANt,ERR_MISSING_ARGS:uYn}}=U1,fYn=U6;var dzt=function(...r){if(r.length===0)throw new uYn("streams");if(r.length===1)return tse.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=tse.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=tse.from(r[A])}for(let A=0;A0&&!(ENt(r[A])||kNt(r[A])||sI(r[A])))throw new ANt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=aYn(r,S),I=!!(ENt(_)||kNt(_)||sI(_)),C=!!(SNt(k)||RNt(k)||sI(k));if(m=new tse({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(nse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(wTe(_)){const D=(sI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=sI(k)?k.readable:k;fYn(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(nse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(wTe(k)){const M=(sI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new cYn),b=null,l=null,h=null,g===null?M(A):(g=M,nse(k)&&lYn(k,A))},m};const dYn=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:hYn,ERR_INVALID_ARG_TYPE:uK,ERR_MISSING_ARGS:bYn,ERR_OUT_OF_RANGE:pYn},AbortError:FS}=U1,{validateAbortSignal:$T,validateInteger:CNt,validateObject:IT}=cK,gYn=bf.Symbol("kWeak"),wYn=bf.Symbol("kResistStopPropagation"),{finished:mYn}=U6,yYn=dzt,{addAbortSignalNoValidate:vYn}=cue,{isWritable:_Yn,isNodeStream:SYn}=zk,{deprecate:EYn}=Rg,{ArrayPrototypePush:kYn,Boolean:RYn,MathFloor:xNt,Number:AYn,NumberIsNaN:CYn,Promise:$Nt,PromiseReject:INt,PromiseResolve:xYn,PromisePrototypeThen:TNt,Symbol:hzt}=bf,fle=hzt("kEmpty"),PNt=hzt("kEof");function $Yn(n,r){if(r!=null&&IT(r,"options"),(r==null?void 0:r.signal)!=null&&$T(r.signal,"options.signal"),SYn(n)&&!_Yn(n))throw new hYn("stream",n,"must be writable");const o=yYn(this,n);return r!=null&&r.signal&&vYn(r.signal,o),o}function due(n,r){if(typeof n!="function")throw new uK("fn",["Function","AsyncFunction"],n);r!=null&&IT(r,"options"),(r==null?void 0:r.signal)!=null&&$T(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=xNt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=xNt(r.highWaterMark)),CNt(o,"options.concurrency",1),CNt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=Rg.AbortSignalAny([r==null?void 0:r.signal].filter(RYn)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new $Nt(Y=>{k=Y})}m.push(PNt)}catch(G){const Y=INt(G);TNt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===PNt)return;if(b.aborted)throw new FS;G!==fle&&(yield G),m.shift(),D()}await new $Nt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function IYn(n=void 0){return n!=null&&IT(n,"options"),(n==null?void 0:n.signal)!=null&&$T(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new FS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function bzt(n,r=void 0){for await(const o of tDe.call(this,n,r))return!0;return!1}async function TYn(n,r=void 0){if(typeof n!="function")throw new uK("fn",["Function","AsyncFunction"],n);return!await bzt.call(this,async(...o)=>!await n(...o),r)}async function PYn(n,r){for await(const o of tDe.call(this,n,r))return o}async function OYn(n,r){if(typeof n!="function")throw new uK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),fle}for await(const l of due.call(this,o,r));}function tDe(n,r){if(typeof n!="function")throw new uK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:fle}return due.call(this,o,r)}let NYn=class extends bYn{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function MYn(n,r,o){var l;if(typeof n!="function")throw new uK("reducer",["Function","AsyncFunction"],n);o!=null&&IT(o,"options"),(o==null?void 0:o.signal)!=null&&$T(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new FS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await mYn(this.destroy(_)),_}const b=new dYn,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[gYn]:this,[wYn]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new FS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new NYn}finally{b.abort()}return r}async function DYn(n){n!=null&&IT(n,"options"),(n==null?void 0:n.signal)!=null&&$T(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new FS(void 0,{cause:n.signal.reason});kYn(r,l)}return r}function LYn(n,r){const o=due.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function pzt(n){if(n=AYn(n),CYn(n))return 0;if(n<0)throw new pYn("number",">= 0",n);return n}function jYn(n,r=void 0){return r!=null&&IT(r,"options"),(r==null?void 0:r.signal)!=null&&$T(r.signal,"options.signal"),n=pzt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new FS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new FS;n--<=0&&(yield b)}}).call(this)}function FYn(n,r=void 0){return r!=null&&IT(r,"options"),(r==null?void 0:r.signal)!=null&&$T(r.signal,"options.signal"),n=pzt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new FS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new FS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}GMe.streamReturningOperators={asIndexedPairs:EYn(IYn,"readable.asIndexedPairs will be removed in a future version."),drop:jYn,filter:tDe,flatMap:LYn,map:due,take:FYn,compose:$Yn};GMe.promiseReturningOperators={every:TYn,forEach:OYn,reduce:MYn,toArray:DYn,some:bzt,find:PYn};var mTe,ONt;function gzt(){if(ONt)return mTe;ONt=1;const{ArrayPrototypePop:n,Promise:r}=bf,{isIterable:o,isNodeStream:l,isWebStream:h}=zk,{pipelineImpl:b}=eDe,{finished:g}=U6;wzt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return mTe={finished:g,pipeline:m},mTe}var NNt;function wzt(){if(NNt)return tTe.exports;NNt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=bf,{promisify:{custom:h}}=Rg,{streamReturningOperators:b,promiseReturningOperators:g}=GMe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=U1,S=dzt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=uue,{pipeline:I}=eDe,{destroyer:C}=cM,A=U6,M=gzt(),D=zk,H=tTe.exports=JMe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=fue();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=YMe(),H.Duplex=Sk(),H.Transform=lzt,H.PassThrough=uzt,H.pipeline=I;const{addAbortSignal:G}=cue;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},tTe.exports}(function(n){const r=wzt(),o=gzt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(CKt);var BYn=CKt.exports;class HYn extends BYn.Transform{constructor(r){super({decodeStrings:!0}),this._readableState.objectMode=!0;const o=new RKt(r);let l,h;const b={onQuad:(g,m)=>{g&&this.emit("error",g)||m&&this.push(m)},onPrefix:(g,m)=>{this.emit("prefix",g,m)}};r&&r.comments&&(b.onComment=g=>{this.emit("comment",g)}),o.parse({on:(g,m)=>{switch(g){case"data":l=m;break;case"end":h=m;break}}},b),this._transform=(g,m,S)=>{l(g),S()},this._flush=g=>{h(),g()}}import(r){return r.on("data",o=>{this.write(o)}),r.on("end",()=>{this.end()}),r.on("error",o=>{this.emit("error",o)}),this}}class WYn{constructor(r,{baseIRI:o="",factory:l=fMe,...h}={}){const b={blankNode:l.blankNode.bind(l),defaultGraph:l.defaultGraph.bind(l),literal:l.literal.bind(l),namedNode:l.namedNode.bind(l),quad:l.quad.bind(l)},g=new HYn({baseIRI:o,factory:b,...h});return r.pipe(g),wMe(g)}}class qU extends pce{constructor(r){super(WYn,r)}}var mzt={exports:{}},yTe={exports:{}},pf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},yzt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=pf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(yzt);var Ag=yzt.exports,nDe={};const{format:UYn,inspect:dle,AggregateError:VYn}=Ag,GYn=globalThis.AggregateError||VYn,KYn=Symbol("kIsNodeError"),zYn=["string","function","number","object","Function","Object","boolean","bigint","symbol"],qYn=/^([A-Z][a-z0-9]*)+$/,XYn="__node_internal_",hue={};function KI(n,r){if(!n)throw new hue.ERR_INTERNAL_ASSERTION(r)}function MNt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function JYn(n,r,o){if(typeof r=="function")return KI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return KI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:UYn(r,...o)}function yb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(JYn(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[KYn]=!0,hue[n]=l}function DNt(n){const r=XYn+n.name;return Object.defineProperty(n,"name",{value:r}),n}function YYn(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new GYn([r,n],r.message);return o.code=r.code,o}return n||r}let QYn=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new hue.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};yb("ERR_ASSERTION","%s",Error);yb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{KI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)KI(typeof S=="string","All expected entries have to be of type string"),zYn.includes(S)?h.push(S.toLowerCase()):qYn.test(S)?b.push(S):(KI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=dle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=dle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);yb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=dle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);yb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);yb("ERR_MISSING_ARGS",(...n)=>{KI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);yb("ERR_OUT_OF_RANGE",(n,r,o)=>{KI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=MNt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=MNt(l)),l+="n"):l=dle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);yb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);yb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);yb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);yb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);yb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);yb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);yb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);yb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);yb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);yb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);yb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var V1={AbortError:QYn,aggregateTwoErrors:DNt(YYn),hideStackFrames:DNt,codes:hue};const{ArrayIsArray:rDe,ArrayPrototypeIncludes:vzt,ArrayPrototypeJoin:_zt,ArrayPrototypeMap:ZYn,NumberIsInteger:iDe,NumberIsNaN:eQn,NumberMAX_SAFE_INTEGER:tQn,NumberMIN_SAFE_INTEGER:nQn,NumberParseInt:rQn,ObjectPrototypeHasOwnProperty:iQn,RegExpPrototypeExec:Szt,String:oQn,StringPrototypeToUpperCase:sQn,StringPrototypeTrim:aQn}=pf,{hideStackFrames:dy,codes:{ERR_SOCKET_BAD_PORT:lQn,ERR_INVALID_ARG_TYPE:hp,ERR_INVALID_ARG_VALUE:uM,ERR_OUT_OF_RANGE:aT,ERR_UNKNOWN_SIGNAL:LNt}}=V1,{normalizeEncoding:cQn}=Ag,{isAsyncFunction:uQn,isArrayBufferView:fQn}=Ag.types,jNt={};function dQn(n){return n===(n|0)}function hQn(n){return n===n>>>0}const bQn=/^[0-7]+$/,pQn="must be a 32-bit unsigned integer or an octal string";function gQn(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(Szt(bQn,n)===null)throw new uM(r,n,pQn);n=rQn(n,8)}return Ezt(n,r),n}const wQn=dy((n,r,o=nQn,l=tQn)=>{if(typeof n!="number")throw new hp(r,"number",n);if(!iDe(n))throw new aT(r,"an integer",n);if(nl)throw new aT(r,`>= ${o} && <= ${l}`,n)}),mQn=dy((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new hp(r,"number",n);if(!iDe(n))throw new aT(r,"an integer",n);if(nl)throw new aT(r,`>= ${o} && <= ${l}`,n)}),Ezt=dy((n,r,o=!1)=>{if(typeof n!="number")throw new hp(r,"number",n);if(!iDe(n))throw new aT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new aT(r,`>= ${l} && <= ${h}`,n)});function oDe(n,r){if(typeof n!="string")throw new hp(r,"string",n)}function yQn(n,r,o=void 0,l){if(typeof n!="number")throw new hp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&eQn(n))throw new aT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const vQn=dy((n,r,o)=>{if(!vzt(o,n)){const h="must be one of: "+_zt(ZYn(o,b=>typeof b=="string"?`'${b}'`:oQn(b)),", ");throw new uM(r,n,h)}});function kzt(n,r){if(typeof n!="boolean")throw new hp(r,"boolean",n)}function vTe(n,r,o){return n==null||!iQn(n,r)?o:n[r]}const _Qn=dy((n,r,o=null)=>{const l=vTe(o,"allowArray",!1),h=vTe(o,"allowFunction",!1);if(!vTe(o,"nullable",!1)&&n===null||!l&&rDe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new hp(r,"Object",n)}),SQn=dy((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new hp(r,"a dictionary",n)}),bue=dy((n,r,o=0)=>{if(!rDe(n))throw new hp(r,"Array",n);if(n.length{if(!fQn(n))throw new hp(r,["Buffer","TypedArray","DataView"],n)});function xQn(n,r){const o=cQn(r),l=n.length;if(o==="hex"&&l%2!==0)throw new uM("encoding",r,`is invalid for data of length ${l}`)}function $Qn(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&aQn(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new lQn(r,n,o);return n|0}const Rzt=dy((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new hp(r,"AbortSignal",n)}),IQn=dy((n,r)=>{if(typeof n!="function")throw new hp(r,"Function",n)}),TQn=dy((n,r)=>{if(typeof n!="function"||uQn(n))throw new hp(r,"Function",n)}),PQn=dy((n,r)=>{if(n!==void 0)throw new hp(r,"undefined",n)});function OQn(n,r,o){if(!vzt(o,n))throw new hp(r,`('${_zt(o,"|")}')`,n)}const NQn=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function FNt(n,r){if(typeof n>"u"||!Szt(NQn,n))throw new uM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function MQn(n){if(typeof n=="string")return FNt(n,"hints"),n;if(rDe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var fK={isInt32:dQn,isUint32:hQn,parseFileMode:gQn,validateArray:bue,validateStringArray:EQn,validateBooleanArray:kQn,validateAbortSignalArray:RQn,validateBoolean:kzt,validateBuffer:CQn,validateDictionary:SQn,validateEncoding:xQn,validateFunction:IQn,validateInt32:mQn,validateInteger:wQn,validateNumber:yQn,validateObject:_Qn,validateOneOf:vQn,validatePlainFunction:TQn,validatePort:$Qn,validateSignalName:AQn,validateString:oDe,validateUint32:Ezt,validateUndefined:PQn,validateUnion:OQn,validateAbortSignal:Rzt,validateLinkHeaderValue:MQn},sDe={exports:{}};const{SymbolAsyncIterator:BNt,SymbolIterator:HNt,SymbolFor:TT}=pf,Azt=TT("nodejs.stream.destroyed"),Czt=TT("nodejs.stream.errored"),_Oe=TT("nodejs.stream.readable"),SOe=TT("nodejs.stream.writable"),xzt=TT("nodejs.stream.disturbed"),DQn=TT("nodejs.webstream.isClosedPromise"),LQn=TT("nodejs.webstream.controllerErrorFunction");function pue(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function gue(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function jQn(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function JS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function $zt(n){return!!(n&&!JS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function Izt(n){return!!(n&&!JS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function Tzt(n){return!!(n&&!JS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function FQn(n){return $zt(n)||Izt(n)||Tzt(n)}function BQn(n,r){return n==null?!1:r===!0?typeof n[BNt]=="function":r===!1?typeof n[HNt]=="function":typeof n[BNt]=="function"||typeof n[HNt]=="function"}function wue(n){if(!JS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[Azt]||l!=null&&l.destroyed)}function Pzt(n){if(!gue(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function HQn(n,r){if(!gue(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function WQn(n){if(!pue(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function Ozt(n,r){if(!pue(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function Nzt(n){return n&&n[_Oe]!=null?n[_Oe]:typeof(n==null?void 0:n.readable)!="boolean"?null:wue(n)?!1:pue(n)&&n.readable&&!Ozt(n)}function Mzt(n){return n&&n[SOe]!=null?n[SOe]:typeof(n==null?void 0:n.writable)!="boolean"?null:wue(n)?!1:gue(n)&&n.writable&&!Pzt(n)}function UQn(n,r){return JS(n)?wue(n)?!0:!((r==null?void 0:r.readable)!==!1&&Nzt(n)||(r==null?void 0:r.writable)!==!1&&Mzt(n)):null}function VQn(n){var r,o;return JS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function GQn(n){var r,o;return JS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function KQn(n){if(!JS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&Dzt(n)?n._closed:null}function Dzt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function Lzt(n){return typeof n._sent100=="boolean"&&Dzt(n)}function zQn(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function qQn(n){if(!JS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&Lzt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function XQn(n){var r;return!!(n&&((r=n[xzt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function JQn(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[Czt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var qk={isDestroyed:wue,kIsDestroyed:Azt,isDisturbed:XQn,kIsDisturbed:xzt,isErrored:JQn,kIsErrored:Czt,isReadable:Nzt,kIsReadable:_Oe,kIsClosedPromise:DQn,kControllerErrorFunction:LQn,kIsWritable:SOe,isClosed:KQn,isDuplexNodeStream:jQn,isFinished:UQn,isIterable:BQn,isReadableNodeStream:pue,isReadableStream:$zt,isReadableEnded:WQn,isReadableFinished:Ozt,isReadableErrored:GQn,isNodeStream:JS,isWebStream:FQn,isWritable:Mzt,isWritableNodeStream:gue,isWritableStream:Izt,isWritableEnded:Pzt,isWritableFinished:HQn,isWritableErrored:VQn,isServerRequest:zQn,isServerResponse:Lzt,willEmitClose:qQn,isTransformStream:Tzt};const d6=yi,{AbortError:jzt,codes:YQn}=V1,{ERR_INVALID_ARG_TYPE:QQn,ERR_STREAM_PREMATURE_CLOSE:WNt}=YQn,{kEmptyObject:EOe,once:kOe}=Ag,{validateAbortSignal:ZQn,validateFunction:eZn,validateObject:tZn,validateBoolean:nZn}=fK,{Promise:rZn,PromisePrototypeThen:iZn,SymbolDispose:Fzt}=pf,{isClosed:oZn,isReadable:UNt,isReadableNodeStream:_Te,isReadableStream:sZn,isReadableFinished:VNt,isReadableErrored:GNt,isWritable:KNt,isWritableNodeStream:zNt,isWritableStream:aZn,isWritableFinished:qNt,isWritableErrored:XNt,isNodeStream:lZn,willEmitClose:cZn,kIsClosedPromise:uZn}=qk;let mN;function fZn(n){return n.setHeader&&typeof n.abort=="function"}const ROe=()=>{};function Bzt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=EOe):r==null?r=EOe:tZn(r,"options"),eZn(o,"callback"),ZQn(r.signal,"options.signal"),o=kOe(o),sZn(n)||aZn(n))return dZn(n,r,o);if(!lZn(n))throw new QQn("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:_Te(n),g=(h=r.writable)!==null&&h!==void 0?h:zNt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=cZn(n)&&_Te(n)===b&&zNt(n)===g,I=qNt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=VNt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=oZn(n);const G=()=>{H=!0;const ne=XNt(n)||GNt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&_Te(n,!0)&&!VNt(n,!1))return o.call(n,new WNt);if(g&&!I&&!qNt(n,!1))return o.call(n,new WNt);o.call(n)},Y=()=>{H=!0;const ne=XNt(n)||GNt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};fZn(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?d6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||d6.nextTick(Y):(!b&&(!k||UNt(n))&&(I||KNt(n)===!1)||!g&&(!k||KNt(n))&&(A||UNt(n)===!1)||S&&n.req&&n.aborted)&&d6.nextTick(Y);const Q=()=>{o=ROe,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new jzt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)d6.nextTick(ne);else{mN=mN||Ag.addAbortListener;const be=mN(r.signal,ne),De=o;o=kOe((...Ee)=>{be[Fzt](),De.apply(n,Ee)})}}return Q}function dZn(n,r,o){let l=!1,h=ROe;if(r.signal)if(h=()=>{l=!0,o.call(n,new jzt(void 0,{cause:r.signal.reason}))},r.signal.aborted)d6.nextTick(h);else{mN=mN||Ag.addAbortListener;const g=mN(r.signal,h),m=o;o=kOe((...S)=>{g[Fzt](),m.apply(n,S)})}const b=(...g)=>{l||d6.nextTick(()=>o.apply(n,g))};return iZn(n[uZn].promise,b,b),ROe}function hZn(n,r){var o;let l=!1;return r===null&&(r=EOe),(o=r)!==null&&o!==void 0&&o.cleanup&&(nZn(r.cleanup,"cleanup"),l=r.cleanup),new rZn((h,b)=>{const g=Bzt(n,r,m=>{l&&g(),m?b(m):h()})})}sDe.exports=Bzt;sDe.exports.finished=hZn;var V6=sDe.exports;const $S=yi,{aggregateTwoErrors:bZn,codes:{ERR_MULTIPLE_CALLBACK:pZn},AbortError:gZn}=V1,{Symbol:Hzt}=pf,{kIsDestroyed:wZn,isDestroyed:mZn,isFinished:yZn,isServerRequest:vZn}=qk,Wzt=Hzt("kDestroy"),AOe=Hzt("kConstruct");function Uzt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function _Zn(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(Uzt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?JNt(this,n,r):this.once(Wzt,function(b){JNt(this,bZn(b,n),r)}),this)}function JNt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;Uzt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?$S.nextTick(SZn,n,b):$S.nextTick(Vzt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function SZn(n,r){COe(n,r),Vzt(n)}function Vzt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function COe(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function EZn(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function xOe(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?$S.nextTick(COe,n,r):COe(n,r))}function kZn(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(AOe,r),!(n.listenerCount(AOe)>1)&&$S.nextTick(RZn,n)}function RZn(n){let r=!1;function o(l){if(r){xOe(n,l??new pZn);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(Wzt,l):l?xOe(n,l,!0):$S.nextTick(AZn,n)}try{n._construct(l=>{$S.nextTick(o,l)})}catch(l){$S.nextTick(o,l)}}function AZn(n){n.emit(AOe)}function YNt(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function Gzt(n){n.emit("close")}function CZn(n,r){n.emit("error",r),$S.nextTick(Gzt,n)}function xZn(n,r){!n||mZn(n)||(!r&&!yZn(n)&&(r=new gZn),vZn(n)?(n.socket=null,n.destroy(r)):YNt(n)?n.abort():YNt(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?$S.nextTick(CZn,n,r):$S.nextTick(Gzt,n),n.destroyed||(n[wZn]=!0))}var fM={construct:kZn,destroyer:xZn,destroy:_Zn,undestroy:EZn,errorOrDestroy:xOe};const{ArrayIsArray:$Zn,ObjectSetPrototypeOf:Kzt}=pf,{EventEmitter:mue}=Zs;function yue(n){mue.call(this,n)}Kzt(yue.prototype,mue.prototype);Kzt(yue,mue);yue.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),mue.listenerCount(this,"error")===0&&this.emit("error",k)}$Oe(o,"error",S),$Oe(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function $Oe(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):$Zn(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var aDe={Stream:yue,prependListener:$Oe},zzt={exports:{}};(function(n){const{SymbolDispose:r}=pf,{AbortError:o,codes:l}=V1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=qk,m=V6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||Ag.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(zzt);var vue=zzt.exports;const{StringPrototypeSlice:QNt,SymbolIterator:IZn,TypedArrayPrototypeSet:rse,Uint8Array:TZn}=pf,{Buffer:STe}=Xr,{inspect:PZn}=Ag;var OZn=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return STe.alloc(0);const o=STe.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)rse(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=QNt(b,0,r),this.head=l,l.data=QNt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=STe.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)rse(o,g,l-r),r-=g.length;else{r===g.length?(rse(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(rse(o,new TZn(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return PZn(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:NZn,NumberIsInteger:MZn}=pf,{validateInteger:DZn}=fK,{ERR_INVALID_ARG_VALUE:LZn}=V1.codes;let qzt=16*1024,Xzt=16;function jZn(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function Jzt(n){return n?Xzt:qzt}function FZn(n,r){DZn(r,"value",0),n?Xzt=r:qzt=r}function BZn(n,r,o,l){const h=jZn(r,l,o);if(h!=null){if(!MZn(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new LZn(b,h)}return NZn(h)}return Jzt(n.objectMode)}var _ue={getHighWaterMark:BZn,getDefaultHighWaterMark:Jzt,setDefaultHighWaterMark:FZn};const ZNt=yi,{PromisePrototypeThen:HZn,SymbolAsyncIterator:eMt,SymbolIterator:tMt}=pf,{Buffer:WZn}=Xr,{ERR_INVALID_ARG_TYPE:UZn,ERR_STREAM_NULL_VALUES:VZn}=V1.codes;function GZn(n,r,o){let l;if(typeof r=="string"||r instanceof WZn)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[eMt])h=!0,l=r[eMt]();else if(r&&r[tMt])h=!1,l=r[tMt]();else throw new UZn("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){HZn(m(_),()=>ZNt.nextTick(k,_),I=>ZNt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new VZn;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var Yzt=GZn,ETe,nMt;function Sue(){if(nMt)return ETe;nMt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=pf;ETe=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=aDe,{Buffer:H}=Xr,{addAbortSignal:G}=vue,Y=V6;let F=Ag.debuglog("stream",E=>{F=E});const Q=OZn,ne=fM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=_ue,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=V1,{validateObject:ye}=fK,me=C("kPaused"),{StringDecoder:je}=sy,Be=Yzt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof kk()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof kk();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},ETe}var kTe,rMt;function lDe(){if(rMt)return kTe;rMt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=pf;kTe=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=aDe.Stream,{Buffer:C}=Xr,A=fM,{addAbortSignal:M}=vue,{getHighWaterMark:D,getDefaultHighWaterMark:H}=_ue,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=V1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof kk()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof kk();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return RTe}var ATe,oMt;function kk(){if(oMt)return ATe;oMt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=pf;ATe=g;const h=Sue(),b=lDe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function JZn(){this._final!==IOe&&IOe.call(this)}Rk.prototype._final=IOe;Rk.prototype._transform=function(n,r,o){throw new qZn("_transform()")};Rk.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=hle(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,ner.destroyer(n,b||new oer("pipe")))},cleanup:h}}function her(n){return ler(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function OTe(n){if(kI(n))return n;if(mae(n))return ber(n);throw new TOe("val",["Readable","Iterable","AsyncIterable"],n)}async function*ber(n){TTe||(TTe=Sue()),yield*TTe.prototype[ZZn].call(n)}async function ise(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new QZn((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=hle(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?rer(h,_):_)}finally{S(),r.off("drain",g)}}async function NTe(n,r,o,{end:l}){V9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function per(...n){return nqt(n,ter(her(n)))}function nqt(n,r,o){if(n.length===1&&YZn(n[0])&&(n=n[0]),n.length<2)throw new ier("streams");const l=new der,h=l.signal,b=o==null?void 0:o.signal,g=[];cer(b,"options.signal");function m(){M(new aer)}PTe=PTe||Ag.addAbortListener;let S;b&&(S=PTe(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[eer](),l.abort(),F&&(_||g.forEach(ne=>ne()),dV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(aMt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=lMt(F,Q,ne);I.push(Ae),xTe(F)&&De&&g.push(qe)}F.on("error",Ee),xTe(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!kI(D))throw new CTe("Iterable, AsyncIterable or Stream","source",D)}else kI(F)||mae(F)||V9(F)?D=F:D=sMt.from(F);else if(typeof F=="function"){if(V9(D)){var H;D=OTe((H=D)===null||H===void 0?void 0:H.readable)}else D=OTe(D);if(D=F(D,{signal:h}),Q){if(!kI(D,!0))throw new CTe("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;ITe||(ITe=tqt);const Ee=new ITe({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),dV.nextTick(A)},fe=>{Ee.destroy(fe),dV.nextTick(A,fe)});else if(kI(D,!0))C++,ise(D,Ee,A,{end:be});else if($Te(D)||V9(D)){const fe=D.readable||D;C++,ise(fe,Ee,A,{end:be})}else throw new CTe("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=lMt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(aMt(F)){if(mae(D)){C+=2;const Ee=ger(D,F,A,{end:be});xTe(F)&&De&&g.push(Ee)}else if(V9(D)||$Te(D)){const Ee=D.readable||D;C++,ise(Ee,F,A,{end:be})}else if(kI(D))C++,ise(D,F,A,{end:be});else throw new TOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(uer(F)){if(mae(D))C++,NTe(OTe(D),F,A,{end:be});else if($Te(D)||kI(D))C++,NTe(D,F,A,{end:be});else if(V9(D))C++,NTe(D.readable,F,A,{end:be});else throw new TOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=sMt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&dV.nextTick(m),D}function ger(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new ser)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};fer(n)?dV.nextTick(b):n.once("end",b)}else o();return hle(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),hle(r,{readable:!1,writable:!0},o)}var fDe={pipelineImpl:nqt,pipeline:per};const{pipeline:wer}=fDe,ose=kk(),{destroyer:mer}=fM,{isNodeStream:sse,isReadable:cMt,isWritable:uMt,isWebStream:MTe,isTransformStream:aI,isWritableStream:fMt,isReadableStream:dMt}=qk,{AbortError:yer,codes:{ERR_INVALID_ARG_VALUE:hMt,ERR_MISSING_ARGS:ver}}=V1,_er=V6;var rqt=function(...r){if(r.length===0)throw new ver("streams");if(r.length===1)return ose.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=ose.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=ose.from(r[A])}for(let A=0;A0&&!(uMt(r[A])||fMt(r[A])||aI(r[A])))throw new hMt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=wer(r,S),I=!!(uMt(_)||fMt(_)||aI(_)),C=!!(cMt(k)||dMt(k)||aI(k));if(m=new ose({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(sse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(MTe(_)){const D=(aI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=aI(k)?k.readable:k;_er(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(sse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(MTe(k)){const M=(aI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new yer),b=null,l=null,h=null,g===null?M(A):(g=M,sse(k)&&mer(k,A))},m};const Ser=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Eer,ERR_INVALID_ARG_TYPE:dK,ERR_MISSING_ARGS:ker,ERR_OUT_OF_RANGE:Rer},AbortError:BS}=V1,{validateAbortSignal:PT,validateInteger:bMt,validateObject:OT}=fK,Aer=pf.Symbol("kWeak"),Cer=pf.Symbol("kResistStopPropagation"),{finished:xer}=V6,$er=rqt,{addAbortSignalNoValidate:Ier}=vue,{isWritable:Ter,isNodeStream:Per}=qk,{deprecate:Oer}=Ag,{ArrayPrototypePush:Ner,Boolean:Mer,MathFloor:pMt,Number:Der,NumberIsNaN:Ler,Promise:gMt,PromiseReject:wMt,PromiseResolve:jer,PromisePrototypeThen:mMt,Symbol:iqt}=pf,ble=iqt("kEmpty"),yMt=iqt("kEof");function Fer(n,r){if(r!=null&&OT(r,"options"),(r==null?void 0:r.signal)!=null&&PT(r.signal,"options.signal"),Per(n)&&!Ter(n))throw new Eer("stream",n,"must be writable");const o=$er(this,n);return r!=null&&r.signal&&Ier(r.signal,o),o}function Eue(n,r){if(typeof n!="function")throw new dK("fn",["Function","AsyncFunction"],n);r!=null&&OT(r,"options"),(r==null?void 0:r.signal)!=null&&PT(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=pMt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=pMt(r.highWaterMark)),bMt(o,"options.concurrency",1),bMt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=Ag.AbortSignalAny([r==null?void 0:r.signal].filter(Mer)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new gMt(Y=>{k=Y})}m.push(yMt)}catch(G){const Y=wMt(G);mMt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===yMt)return;if(b.aborted)throw new BS;G!==ble&&(yield G),m.shift(),D()}await new gMt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function Ber(n=void 0){return n!=null&&OT(n,"options"),(n==null?void 0:n.signal)!=null&&PT(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new BS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function oqt(n,r=void 0){for await(const o of dDe.call(this,n,r))return!0;return!1}async function Her(n,r=void 0){if(typeof n!="function")throw new dK("fn",["Function","AsyncFunction"],n);return!await oqt.call(this,async(...o)=>!await n(...o),r)}async function Wer(n,r){for await(const o of dDe.call(this,n,r))return o}async function Uer(n,r){if(typeof n!="function")throw new dK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),ble}for await(const l of Eue.call(this,o,r));}function dDe(n,r){if(typeof n!="function")throw new dK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:ble}return Eue.call(this,o,r)}let Ver=class extends ker{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function Ger(n,r,o){var l;if(typeof n!="function")throw new dK("reducer",["Function","AsyncFunction"],n);o!=null&&OT(o,"options"),(o==null?void 0:o.signal)!=null&&PT(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new BS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await xer(this.destroy(_)),_}const b=new Ser,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[Aer]:this,[Cer]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new BS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new Ver}finally{b.abort()}return r}async function Ker(n){n!=null&&OT(n,"options"),(n==null?void 0:n.signal)!=null&&PT(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new BS(void 0,{cause:n.signal.reason});Ner(r,l)}return r}function zer(n,r){const o=Eue.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function sqt(n){if(n=Der(n),Ler(n))return 0;if(n<0)throw new Rer("number",">= 0",n);return n}function qer(n,r=void 0){return r!=null&&OT(r,"options"),(r==null?void 0:r.signal)!=null&&PT(r.signal,"options.signal"),n=sqt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new BS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new BS;n--<=0&&(yield b)}}).call(this)}function Xer(n,r=void 0){return r!=null&&OT(r,"options"),(r==null?void 0:r.signal)!=null&&PT(r.signal,"options.signal"),n=sqt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new BS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new BS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}nDe.streamReturningOperators={asIndexedPairs:Oer(Ber,"readable.asIndexedPairs will be removed in a future version."),drop:qer,filter:dDe,flatMap:zer,map:Eue,take:Xer,compose:Fer};nDe.promiseReturningOperators={every:Her,forEach:Uer,reduce:Ger,toArray:Ker,some:oqt,find:Wer};var DTe,vMt;function aqt(){if(vMt)return DTe;vMt=1;const{ArrayPrototypePop:n,Promise:r}=pf,{isIterable:o,isNodeStream:l,isWebStream:h}=qk,{pipelineImpl:b}=fDe,{finished:g}=V6;lqt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return DTe={finished:g,pipeline:m},DTe}var _Mt;function lqt(){if(_Mt)return yTe.exports;_Mt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=pf,{promisify:{custom:h}}=Ag,{streamReturningOperators:b,promiseReturningOperators:g}=nDe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=V1,S=rqt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=_ue,{pipeline:I}=fDe,{destroyer:C}=fM,A=V6,M=aqt(),D=qk,H=yTe.exports=aDe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=Sue();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=lDe(),H.Duplex=kk(),H.Transform=Zzt,H.PassThrough=tqt,H.pipeline=I;const{addAbortSignal:G}=vue;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},yTe.exports}(function(n){const r=lqt(),o=aqt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(mzt);var Jer=mzt.exports;let Yer=class{constructor(r){const o=new Jer.Transform({objectMode:!0,transform:(l,h,b)=>{b(null,`${h2(l)} +`)}});return r.pipe(o),wMe(o)}},ase=class extends pce{constructor(){super(Yer)}};var Qer={exports:{}},LTe={exports:{}},gf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},cqt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=gf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(cqt);var Cg=cqt.exports,hDe={};const{format:Zer,inspect:ple,AggregateError:etr}=Cg,ttr=globalThis.AggregateError||etr,ntr=Symbol("kIsNodeError"),rtr=["string","function","number","object","Function","Object","boolean","bigint","symbol"],itr=/^([A-Z][a-z0-9]*)+$/,otr="__node_internal_",kue={};function zI(n,r){if(!n)throw new kue.ERR_INTERNAL_ASSERTION(r)}function SMt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function str(n,r,o){if(typeof r=="function")return zI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return zI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:Zer(r,...o)}function vb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(str(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[ntr]=!0,kue[n]=l}function EMt(n){const r=otr+n.name;return Object.defineProperty(n,"name",{value:r}),n}function atr(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new ttr([r,n],r.message);return o.code=r.code,o}return n||r}let ltr=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new kue.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};vb("ERR_ASSERTION","%s",Error);vb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{zI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)zI(typeof S=="string","All expected entries have to be of type string"),rtr.includes(S)?h.push(S.toLowerCase()):itr.test(S)?b.push(S):(zI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=ple(o,{depth:-1});l+=`. Received ${S}`}}else{let S=ple(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);vb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=ple(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);vb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);vb("ERR_MISSING_ARGS",(...n)=>{zI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);vb("ERR_OUT_OF_RANGE",(n,r,o)=>{zI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=SMt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=SMt(l)),l+="n"):l=ple(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);vb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);vb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);vb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);vb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);vb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);vb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);vb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);vb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);vb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);vb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);vb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var G1={AbortError:ltr,aggregateTwoErrors:EMt(atr),hideStackFrames:EMt,codes:kue};const{ArrayIsArray:bDe,ArrayPrototypeIncludes:uqt,ArrayPrototypeJoin:fqt,ArrayPrototypeMap:ctr,NumberIsInteger:pDe,NumberIsNaN:utr,NumberMAX_SAFE_INTEGER:ftr,NumberMIN_SAFE_INTEGER:dtr,NumberParseInt:htr,ObjectPrototypeHasOwnProperty:btr,RegExpPrototypeExec:dqt,String:ptr,StringPrototypeToUpperCase:gtr,StringPrototypeTrim:wtr}=gf,{hideStackFrames:hy,codes:{ERR_SOCKET_BAD_PORT:mtr,ERR_INVALID_ARG_TYPE:bp,ERR_INVALID_ARG_VALUE:dM,ERR_OUT_OF_RANGE:lT,ERR_UNKNOWN_SIGNAL:kMt}}=G1,{normalizeEncoding:ytr}=Cg,{isAsyncFunction:vtr,isArrayBufferView:_tr}=Cg.types,RMt={};function Str(n){return n===(n|0)}function Etr(n){return n===n>>>0}const ktr=/^[0-7]+$/,Rtr="must be a 32-bit unsigned integer or an octal string";function Atr(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(dqt(ktr,n)===null)throw new dM(r,n,Rtr);n=htr(n,8)}return hqt(n,r),n}const Ctr=hy((n,r,o=dtr,l=ftr)=>{if(typeof n!="number")throw new bp(r,"number",n);if(!pDe(n))throw new lT(r,"an integer",n);if(nl)throw new lT(r,`>= ${o} && <= ${l}`,n)}),xtr=hy((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new bp(r,"number",n);if(!pDe(n))throw new lT(r,"an integer",n);if(nl)throw new lT(r,`>= ${o} && <= ${l}`,n)}),hqt=hy((n,r,o=!1)=>{if(typeof n!="number")throw new bp(r,"number",n);if(!pDe(n))throw new lT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new lT(r,`>= ${l} && <= ${h}`,n)});function gDe(n,r){if(typeof n!="string")throw new bp(r,"string",n)}function $tr(n,r,o=void 0,l){if(typeof n!="number")throw new bp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&utr(n))throw new lT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const Itr=hy((n,r,o)=>{if(!uqt(o,n)){const h="must be one of: "+fqt(ctr(o,b=>typeof b=="string"?`'${b}'`:ptr(b)),", ");throw new dM(r,n,h)}});function bqt(n,r){if(typeof n!="boolean")throw new bp(r,"boolean",n)}function jTe(n,r,o){return n==null||!btr(n,r)?o:n[r]}const Ttr=hy((n,r,o=null)=>{const l=jTe(o,"allowArray",!1),h=jTe(o,"allowFunction",!1);if(!jTe(o,"nullable",!1)&&n===null||!l&&bDe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new bp(r,"Object",n)}),Ptr=hy((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new bp(r,"a dictionary",n)}),Rue=hy((n,r,o=0)=>{if(!bDe(n))throw new bp(r,"Array",n);if(n.length{if(!_tr(n))throw new bp(r,["Buffer","TypedArray","DataView"],n)});function jtr(n,r){const o=ytr(r),l=n.length;if(o==="hex"&&l%2!==0)throw new dM("encoding",r,`is invalid for data of length ${l}`)}function Ftr(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&wtr(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new mtr(r,n,o);return n|0}const pqt=hy((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new bp(r,"AbortSignal",n)}),Btr=hy((n,r)=>{if(typeof n!="function")throw new bp(r,"Function",n)}),Htr=hy((n,r)=>{if(typeof n!="function"||vtr(n))throw new bp(r,"Function",n)}),Wtr=hy((n,r)=>{if(n!==void 0)throw new bp(r,"undefined",n)});function Utr(n,r,o){if(!uqt(o,n))throw new bp(r,`('${fqt(o,"|")}')`,n)}const Vtr=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function AMt(n,r){if(typeof n>"u"||!dqt(Vtr,n))throw new dM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function Gtr(n){if(typeof n=="string")return AMt(n,"hints"),n;if(bDe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var hK={isInt32:Str,isUint32:Etr,parseFileMode:Atr,validateArray:Rue,validateStringArray:Otr,validateBooleanArray:Ntr,validateAbortSignalArray:Mtr,validateBoolean:bqt,validateBuffer:Ltr,validateDictionary:Ptr,validateEncoding:jtr,validateFunction:Btr,validateInt32:xtr,validateInteger:Ctr,validateNumber:$tr,validateObject:Ttr,validateOneOf:Itr,validatePlainFunction:Htr,validatePort:Ftr,validateSignalName:Dtr,validateString:gDe,validateUint32:hqt,validateUndefined:Wtr,validateUnion:Utr,validateAbortSignal:pqt,validateLinkHeaderValue:Gtr},wDe={exports:{}};const{SymbolAsyncIterator:CMt,SymbolIterator:xMt,SymbolFor:NT}=gf,gqt=NT("nodejs.stream.destroyed"),wqt=NT("nodejs.stream.errored"),POe=NT("nodejs.stream.readable"),OOe=NT("nodejs.stream.writable"),mqt=NT("nodejs.stream.disturbed"),Ktr=NT("nodejs.webstream.isClosedPromise"),ztr=NT("nodejs.webstream.controllerErrorFunction");function Aue(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function Cue(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function qtr(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function YS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function yqt(n){return!!(n&&!YS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function vqt(n){return!!(n&&!YS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function _qt(n){return!!(n&&!YS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function Xtr(n){return yqt(n)||vqt(n)||_qt(n)}function Jtr(n,r){return n==null?!1:r===!0?typeof n[CMt]=="function":r===!1?typeof n[xMt]=="function":typeof n[CMt]=="function"||typeof n[xMt]=="function"}function xue(n){if(!YS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[gqt]||l!=null&&l.destroyed)}function Sqt(n){if(!Cue(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function Ytr(n,r){if(!Cue(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function Qtr(n){if(!Aue(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function Eqt(n,r){if(!Aue(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function kqt(n){return n&&n[POe]!=null?n[POe]:typeof(n==null?void 0:n.readable)!="boolean"?null:xue(n)?!1:Aue(n)&&n.readable&&!Eqt(n)}function Rqt(n){return n&&n[OOe]!=null?n[OOe]:typeof(n==null?void 0:n.writable)!="boolean"?null:xue(n)?!1:Cue(n)&&n.writable&&!Sqt(n)}function Ztr(n,r){return YS(n)?xue(n)?!0:!((r==null?void 0:r.readable)!==!1&&kqt(n)||(r==null?void 0:r.writable)!==!1&&Rqt(n)):null}function enr(n){var r,o;return YS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function tnr(n){var r,o;return YS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function nnr(n){if(!YS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&Aqt(n)?n._closed:null}function Aqt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function Cqt(n){return typeof n._sent100=="boolean"&&Aqt(n)}function rnr(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function inr(n){if(!YS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&Cqt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function onr(n){var r;return!!(n&&((r=n[mqt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function snr(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[wqt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var Xk={isDestroyed:xue,kIsDestroyed:gqt,isDisturbed:onr,kIsDisturbed:mqt,isErrored:snr,kIsErrored:wqt,isReadable:kqt,kIsReadable:POe,kIsClosedPromise:Ktr,kControllerErrorFunction:ztr,kIsWritable:OOe,isClosed:nnr,isDuplexNodeStream:qtr,isFinished:Ztr,isIterable:Jtr,isReadableNodeStream:Aue,isReadableStream:yqt,isReadableEnded:Qtr,isReadableFinished:Eqt,isReadableErrored:tnr,isNodeStream:YS,isWebStream:Xtr,isWritable:Rqt,isWritableNodeStream:Cue,isWritableStream:vqt,isWritableEnded:Sqt,isWritableFinished:Ytr,isWritableErrored:enr,isServerRequest:rnr,isServerResponse:Cqt,willEmitClose:inr,isTransformStream:_qt};const h6=yi,{AbortError:xqt,codes:anr}=G1,{ERR_INVALID_ARG_TYPE:lnr,ERR_STREAM_PREMATURE_CLOSE:$Mt}=anr,{kEmptyObject:NOe,once:MOe}=Cg,{validateAbortSignal:cnr,validateFunction:unr,validateObject:fnr,validateBoolean:dnr}=hK,{Promise:hnr,PromisePrototypeThen:bnr,SymbolDispose:$qt}=gf,{isClosed:pnr,isReadable:IMt,isReadableNodeStream:FTe,isReadableStream:gnr,isReadableFinished:TMt,isReadableErrored:PMt,isWritable:OMt,isWritableNodeStream:NMt,isWritableStream:wnr,isWritableFinished:MMt,isWritableErrored:DMt,isNodeStream:mnr,willEmitClose:ynr,kIsClosedPromise:vnr}=Xk;let yN;function _nr(n){return n.setHeader&&typeof n.abort=="function"}const DOe=()=>{};function Iqt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=NOe):r==null?r=NOe:fnr(r,"options"),unr(o,"callback"),cnr(r.signal,"options.signal"),o=MOe(o),gnr(n)||wnr(n))return Snr(n,r,o);if(!mnr(n))throw new lnr("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:FTe(n),g=(h=r.writable)!==null&&h!==void 0?h:NMt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=ynr(n)&&FTe(n)===b&&NMt(n)===g,I=MMt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=TMt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=pnr(n);const G=()=>{H=!0;const ne=DMt(n)||PMt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&FTe(n,!0)&&!TMt(n,!1))return o.call(n,new $Mt);if(g&&!I&&!MMt(n,!1))return o.call(n,new $Mt);o.call(n)},Y=()=>{H=!0;const ne=DMt(n)||PMt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};_nr(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?h6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||h6.nextTick(Y):(!b&&(!k||IMt(n))&&(I||OMt(n)===!1)||!g&&(!k||OMt(n))&&(A||IMt(n)===!1)||S&&n.req&&n.aborted)&&h6.nextTick(Y);const Q=()=>{o=DOe,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new xqt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)h6.nextTick(ne);else{yN=yN||Cg.addAbortListener;const be=yN(r.signal,ne),De=o;o=MOe((...Ee)=>{be[$qt](),De.apply(n,Ee)})}}return Q}function Snr(n,r,o){let l=!1,h=DOe;if(r.signal)if(h=()=>{l=!0,o.call(n,new xqt(void 0,{cause:r.signal.reason}))},r.signal.aborted)h6.nextTick(h);else{yN=yN||Cg.addAbortListener;const g=yN(r.signal,h),m=o;o=MOe((...S)=>{g[$qt](),m.apply(n,S)})}const b=(...g)=>{l||h6.nextTick(()=>o.apply(n,g))};return bnr(n[vnr].promise,b,b),DOe}function Enr(n,r){var o;let l=!1;return r===null&&(r=NOe),(o=r)!==null&&o!==void 0&&o.cleanup&&(dnr(r.cleanup,"cleanup"),l=r.cleanup),new hnr((h,b)=>{const g=Iqt(n,r,m=>{l&&g(),m?b(m):h()})})}wDe.exports=Iqt;wDe.exports.finished=Enr;var G6=wDe.exports;const IS=yi,{aggregateTwoErrors:knr,codes:{ERR_MULTIPLE_CALLBACK:Rnr},AbortError:Anr}=G1,{Symbol:Tqt}=gf,{kIsDestroyed:Cnr,isDestroyed:xnr,isFinished:$nr,isServerRequest:Inr}=Xk,Pqt=Tqt("kDestroy"),LOe=Tqt("kConstruct");function Oqt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function Tnr(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(Oqt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?LMt(this,n,r):this.once(Pqt,function(b){LMt(this,knr(b,n),r)}),this)}function LMt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;Oqt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?IS.nextTick(Pnr,n,b):IS.nextTick(Nqt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function Pnr(n,r){jOe(n,r),Nqt(n)}function Nqt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function jOe(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function Onr(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function FOe(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?IS.nextTick(jOe,n,r):jOe(n,r))}function Nnr(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(LOe,r),!(n.listenerCount(LOe)>1)&&IS.nextTick(Mnr,n)}function Mnr(n){let r=!1;function o(l){if(r){FOe(n,l??new Rnr);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(Pqt,l):l?FOe(n,l,!0):IS.nextTick(Dnr,n)}try{n._construct(l=>{IS.nextTick(o,l)})}catch(l){IS.nextTick(o,l)}}function Dnr(n){n.emit(LOe)}function jMt(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function Mqt(n){n.emit("close")}function Lnr(n,r){n.emit("error",r),IS.nextTick(Mqt,n)}function jnr(n,r){!n||xnr(n)||(!r&&!$nr(n)&&(r=new Anr),Inr(n)?(n.socket=null,n.destroy(r)):jMt(n)?n.abort():jMt(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?IS.nextTick(Lnr,n,r):IS.nextTick(Mqt,n),n.destroyed||(n[Cnr]=!0))}var hM={construct:Nnr,destroyer:jnr,destroy:Tnr,undestroy:Onr,errorOrDestroy:FOe};const{ArrayIsArray:Fnr,ObjectSetPrototypeOf:Dqt}=gf,{EventEmitter:$ue}=Zs;function Iue(n){$ue.call(this,n)}Dqt(Iue.prototype,$ue.prototype);Dqt(Iue,$ue);Iue.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),$ue.listenerCount(this,"error")===0&&this.emit("error",k)}BOe(o,"error",S),BOe(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function BOe(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):Fnr(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var mDe={Stream:Iue,prependListener:BOe},Lqt={exports:{}};(function(n){const{SymbolDispose:r}=gf,{AbortError:o,codes:l}=G1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=Xk,m=G6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||Cg.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(Lqt);var Tue=Lqt.exports;const{StringPrototypeSlice:FMt,SymbolIterator:Bnr,TypedArrayPrototypeSet:lse,Uint8Array:Hnr}=gf,{Buffer:BTe}=Xr,{inspect:Wnr}=Cg;var Unr=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return BTe.alloc(0);const o=BTe.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)lse(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=FMt(b,0,r),this.head=l,l.data=FMt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=BTe.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)lse(o,g,l-r),r-=g.length;else{r===g.length?(lse(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(lse(o,new Hnr(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return Wnr(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:Vnr,NumberIsInteger:Gnr}=gf,{validateInteger:Knr}=hK,{ERR_INVALID_ARG_VALUE:znr}=G1.codes;let jqt=16*1024,Fqt=16;function qnr(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function Bqt(n){return n?Fqt:jqt}function Xnr(n,r){Knr(r,"value",0),n?Fqt=r:jqt=r}function Jnr(n,r,o,l){const h=qnr(r,l,o);if(h!=null){if(!Gnr(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new znr(b,h)}return Vnr(h)}return Bqt(n.objectMode)}var Pue={getHighWaterMark:Jnr,getDefaultHighWaterMark:Bqt,setDefaultHighWaterMark:Xnr};const BMt=yi,{PromisePrototypeThen:Ynr,SymbolAsyncIterator:HMt,SymbolIterator:WMt}=gf,{Buffer:Qnr}=Xr,{ERR_INVALID_ARG_TYPE:Znr,ERR_STREAM_NULL_VALUES:err}=G1.codes;function trr(n,r,o){let l;if(typeof r=="string"||r instanceof Qnr)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[HMt])h=!0,l=r[HMt]();else if(r&&r[WMt])h=!1,l=r[WMt]();else throw new Znr("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){Ynr(m(_),()=>BMt.nextTick(k,_),I=>BMt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new err;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var Hqt=trr,HTe,UMt;function Oue(){if(UMt)return HTe;UMt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=gf;HTe=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=mDe,{Buffer:H}=Xr,{addAbortSignal:G}=Tue,Y=G6;let F=Cg.debuglog("stream",E=>{F=E});const Q=Unr,ne=hM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=Pue,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=G1,{validateObject:ye}=hK,me=C("kPaused"),{StringDecoder:je}=sy,Be=Hqt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof Ak()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof Ak();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},HTe}var WTe,VMt;function yDe(){if(VMt)return WTe;VMt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=gf;WTe=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=mDe.Stream,{Buffer:C}=Xr,A=hM,{addAbortSignal:M}=Tue,{getHighWaterMark:D,getDefaultHighWaterMark:H}=Pue,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=G1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof Ak()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof Ak();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return UTe}var VTe,KMt;function Ak(){if(KMt)return VTe;KMt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=gf;VTe=g;const h=Oue(),b=yDe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function srr(){this._final!==HOe&&HOe.call(this)}Ck.prototype._final=HOe;Ck.prototype._transform=function(n,r,o){throw new irr("_transform()")};Ck.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=gle(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,drr.destroyer(n,b||new prr("pipe")))},cleanup:h}}function Err(n){return mrr(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function YTe(n){if(RI(n))return n;if(yae(n))return krr(n);throw new WOe("val",["Readable","Iterable","AsyncIterable"],n)}async function*krr(n){XTe||(XTe=Oue()),yield*XTe.prototype[crr].call(n)}async function cse(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new lrr((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=gle(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?hrr(h,_):_)}finally{S(),r.off("drain",g)}}async function QTe(n,r,o,{end:l}){G9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function Rrr(...n){return Kqt(n,frr(Err(n)))}function Kqt(n,r,o){if(n.length===1&&arr(n[0])&&(n=n[0]),n.length<2)throw new brr("streams");const l=new Srr,h=l.signal,b=o==null?void 0:o.signal,g=[];yrr(b,"options.signal");function m(){M(new wrr)}JTe=JTe||Cg.addAbortListener;let S;b&&(S=JTe(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[urr](),l.abort(),F&&(_||g.forEach(ne=>ne()),hV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(qMt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=XMt(F,Q,ne);I.push(Ae),KTe(F)&&De&&g.push(qe)}F.on("error",Ee),KTe(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!RI(D))throw new GTe("Iterable, AsyncIterable or Stream","source",D)}else RI(F)||yae(F)||G9(F)?D=F:D=zMt.from(F);else if(typeof F=="function"){if(G9(D)){var H;D=YTe((H=D)===null||H===void 0?void 0:H.readable)}else D=YTe(D);if(D=F(D,{signal:h}),Q){if(!RI(D,!0))throw new GTe("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;qTe||(qTe=Gqt);const Ee=new qTe({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),hV.nextTick(A)},fe=>{Ee.destroy(fe),hV.nextTick(A,fe)});else if(RI(D,!0))C++,cse(D,Ee,A,{end:be});else if(zTe(D)||G9(D)){const fe=D.readable||D;C++,cse(fe,Ee,A,{end:be})}else throw new GTe("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=XMt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(qMt(F)){if(yae(D)){C+=2;const Ee=Arr(D,F,A,{end:be});KTe(F)&&De&&g.push(Ee)}else if(G9(D)||zTe(D)){const Ee=D.readable||D;C++,cse(Ee,F,A,{end:be})}else if(RI(D))C++,cse(D,F,A,{end:be});else throw new WOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(vrr(F)){if(yae(D))C++,QTe(YTe(D),F,A,{end:be});else if(zTe(D)||RI(D))C++,QTe(D,F,A,{end:be});else if(G9(D))C++,QTe(D.readable,F,A,{end:be});else throw new WOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=zMt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&hV.nextTick(m),D}function Arr(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new grr)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};_rr(n)?hV.nextTick(b):n.once("end",b)}else o();return gle(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),gle(r,{readable:!1,writable:!0},o)}var SDe={pipelineImpl:Kqt,pipeline:Rrr};const{pipeline:Crr}=SDe,use=Ak(),{destroyer:xrr}=hM,{isNodeStream:fse,isReadable:JMt,isWritable:YMt,isWebStream:ZTe,isTransformStream:lI,isWritableStream:QMt,isReadableStream:ZMt}=Xk,{AbortError:$rr,codes:{ERR_INVALID_ARG_VALUE:eDt,ERR_MISSING_ARGS:Irr}}=G1,Trr=G6;var zqt=function(...r){if(r.length===0)throw new Irr("streams");if(r.length===1)return use.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=use.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=use.from(r[A])}for(let A=0;A0&&!(YMt(r[A])||QMt(r[A])||lI(r[A])))throw new eDt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=Crr(r,S),I=!!(YMt(_)||QMt(_)||lI(_)),C=!!(JMt(k)||ZMt(k)||lI(k));if(m=new use({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(fse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(ZTe(_)){const D=(lI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=lI(k)?k.readable:k;Trr(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(fse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(ZTe(k)){const M=(lI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new $rr),b=null,l=null,h=null,g===null?M(A):(g=M,fse(k)&&xrr(k,A))},m};const Prr=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Orr,ERR_INVALID_ARG_TYPE:bK,ERR_MISSING_ARGS:Nrr,ERR_OUT_OF_RANGE:Mrr},AbortError:HS}=G1,{validateAbortSignal:MT,validateInteger:tDt,validateObject:DT}=hK,Drr=gf.Symbol("kWeak"),Lrr=gf.Symbol("kResistStopPropagation"),{finished:jrr}=G6,Frr=zqt,{addAbortSignalNoValidate:Brr}=Tue,{isWritable:Hrr,isNodeStream:Wrr}=Xk,{deprecate:Urr}=Cg,{ArrayPrototypePush:Vrr,Boolean:Grr,MathFloor:nDt,Number:Krr,NumberIsNaN:zrr,Promise:rDt,PromiseReject:iDt,PromiseResolve:qrr,PromisePrototypeThen:oDt,Symbol:qqt}=gf,wle=qqt("kEmpty"),sDt=qqt("kEof");function Xrr(n,r){if(r!=null&&DT(r,"options"),(r==null?void 0:r.signal)!=null&&MT(r.signal,"options.signal"),Wrr(n)&&!Hrr(n))throw new Orr("stream",n,"must be writable");const o=Frr(this,n);return r!=null&&r.signal&&Brr(r.signal,o),o}function Nue(n,r){if(typeof n!="function")throw new bK("fn",["Function","AsyncFunction"],n);r!=null&&DT(r,"options"),(r==null?void 0:r.signal)!=null&&MT(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=nDt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=nDt(r.highWaterMark)),tDt(o,"options.concurrency",1),tDt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=Cg.AbortSignalAny([r==null?void 0:r.signal].filter(Grr)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new rDt(Y=>{k=Y})}m.push(sDt)}catch(G){const Y=iDt(G);oDt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===sDt)return;if(b.aborted)throw new HS;G!==wle&&(yield G),m.shift(),D()}await new rDt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function Jrr(n=void 0){return n!=null&&DT(n,"options"),(n==null?void 0:n.signal)!=null&&MT(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new HS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function Xqt(n,r=void 0){for await(const o of EDe.call(this,n,r))return!0;return!1}async function Yrr(n,r=void 0){if(typeof n!="function")throw new bK("fn",["Function","AsyncFunction"],n);return!await Xqt.call(this,async(...o)=>!await n(...o),r)}async function Qrr(n,r){for await(const o of EDe.call(this,n,r))return o}async function Zrr(n,r){if(typeof n!="function")throw new bK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),wle}for await(const l of Nue.call(this,o,r));}function EDe(n,r){if(typeof n!="function")throw new bK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:wle}return Nue.call(this,o,r)}let eir=class extends Nrr{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function tir(n,r,o){var l;if(typeof n!="function")throw new bK("reducer",["Function","AsyncFunction"],n);o!=null&&DT(o,"options"),(o==null?void 0:o.signal)!=null&&MT(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new HS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await jrr(this.destroy(_)),_}const b=new Prr,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[Drr]:this,[Lrr]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new HS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new eir}finally{b.abort()}return r}async function nir(n){n!=null&&DT(n,"options"),(n==null?void 0:n.signal)!=null&&MT(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new HS(void 0,{cause:n.signal.reason});Vrr(r,l)}return r}function rir(n,r){const o=Nue.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function Jqt(n){if(n=Krr(n),zrr(n))return 0;if(n<0)throw new Mrr("number",">= 0",n);return n}function iir(n,r=void 0){return r!=null&&DT(r,"options"),(r==null?void 0:r.signal)!=null&&MT(r.signal,"options.signal"),n=Jqt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new HS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new HS;n--<=0&&(yield b)}}).call(this)}function oir(n,r=void 0){return r!=null&&DT(r,"options"),(r==null?void 0:r.signal)!=null&&MT(r.signal,"options.signal"),n=Jqt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new HS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new HS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}hDe.streamReturningOperators={asIndexedPairs:Urr(Jrr,"readable.asIndexedPairs will be removed in a future version."),drop:iir,filter:EDe,flatMap:rir,map:Nue,take:oir,compose:Xrr};hDe.promiseReturningOperators={every:Yrr,forEach:Zrr,reduce:tir,toArray:nir,some:Xqt,find:Qrr};var e8e,aDt;function Yqt(){if(aDt)return e8e;aDt=1;const{ArrayPrototypePop:n,Promise:r}=gf,{isIterable:o,isNodeStream:l,isWebStream:h}=Xk,{pipelineImpl:b}=SDe,{finished:g}=G6;Qqt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return e8e={finished:g,pipeline:m},e8e}var lDt;function Qqt(){if(lDt)return LTe.exports;lDt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=gf,{promisify:{custom:h}}=Cg,{streamReturningOperators:b,promiseReturningOperators:g}=hDe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=G1,S=zqt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=Pue,{pipeline:I}=SDe,{destroyer:C}=hM,A=G6,M=Yqt(),D=Xk,H=LTe.exports=mDe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=Oue();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=yDe(),H.Duplex=Ak(),H.Transform=Uqt,H.PassThrough=Gqt,H.pipeline=I;const{addAbortSignal:G}=Tue;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},LTe.exports}(function(n){const r=Qqt(),o=Yqt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(Qer);var sir={exports:{}},t8e={exports:{}},wf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},Zqt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=wf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(Zqt);var xg=Zqt.exports,kDe={};const{format:air,inspect:mle,AggregateError:lir}=xg,cir=globalThis.AggregateError||lir,uir=Symbol("kIsNodeError"),fir=["string","function","number","object","Function","Object","boolean","bigint","symbol"],dir=/^([A-Z][a-z0-9]*)+$/,hir="__node_internal_",Mue={};function qI(n,r){if(!n)throw new Mue.ERR_INTERNAL_ASSERTION(r)}function cDt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function bir(n,r,o){if(typeof r=="function")return qI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return qI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:air(r,...o)}function _b(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(bir(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[uir]=!0,Mue[n]=l}function uDt(n){const r=hir+n.name;return Object.defineProperty(n,"name",{value:r}),n}function pir(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new cir([r,n],r.message);return o.code=r.code,o}return n||r}let gir=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new Mue.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};_b("ERR_ASSERTION","%s",Error);_b("ERR_INVALID_ARG_TYPE",(n,r,o)=>{qI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)qI(typeof S=="string","All expected entries have to be of type string"),fir.includes(S)?h.push(S.toLowerCase()):dir.test(S)?b.push(S):(qI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=mle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=mle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);_b("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=mle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);_b("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);_b("ERR_MISSING_ARGS",(...n)=>{qI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);_b("ERR_OUT_OF_RANGE",(n,r,o)=>{qI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=cDt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=cDt(l)),l+="n"):l=mle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);_b("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);_b("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);_b("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);_b("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);_b("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);_b("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);_b("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);_b("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);_b("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);_b("ERR_STREAM_WRITE_AFTER_END","write after end",Error);_b("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var K1={AbortError:gir,aggregateTwoErrors:uDt(pir),hideStackFrames:uDt,codes:Mue};const{ArrayIsArray:RDe,ArrayPrototypeIncludes:eXt,ArrayPrototypeJoin:tXt,ArrayPrototypeMap:wir,NumberIsInteger:ADe,NumberIsNaN:mir,NumberMAX_SAFE_INTEGER:yir,NumberMIN_SAFE_INTEGER:vir,NumberParseInt:_ir,ObjectPrototypeHasOwnProperty:Sir,RegExpPrototypeExec:nXt,String:Eir,StringPrototypeToUpperCase:kir,StringPrototypeTrim:Rir}=wf,{hideStackFrames:by,codes:{ERR_SOCKET_BAD_PORT:Air,ERR_INVALID_ARG_TYPE:pp,ERR_INVALID_ARG_VALUE:bM,ERR_OUT_OF_RANGE:cT,ERR_UNKNOWN_SIGNAL:fDt}}=K1,{normalizeEncoding:Cir}=xg,{isAsyncFunction:xir,isArrayBufferView:$ir}=xg.types,dDt={};function Iir(n){return n===(n|0)}function Tir(n){return n===n>>>0}const Pir=/^[0-7]+$/,Oir="must be a 32-bit unsigned integer or an octal string";function Nir(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(nXt(Pir,n)===null)throw new bM(r,n,Oir);n=_ir(n,8)}return rXt(n,r),n}const Mir=by((n,r,o=vir,l=yir)=>{if(typeof n!="number")throw new pp(r,"number",n);if(!ADe(n))throw new cT(r,"an integer",n);if(nl)throw new cT(r,`>= ${o} && <= ${l}`,n)}),Dir=by((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new pp(r,"number",n);if(!ADe(n))throw new cT(r,"an integer",n);if(nl)throw new cT(r,`>= ${o} && <= ${l}`,n)}),rXt=by((n,r,o=!1)=>{if(typeof n!="number")throw new pp(r,"number",n);if(!ADe(n))throw new cT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new cT(r,`>= ${l} && <= ${h}`,n)});function CDe(n,r){if(typeof n!="string")throw new pp(r,"string",n)}function Lir(n,r,o=void 0,l){if(typeof n!="number")throw new pp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&mir(n))throw new cT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const jir=by((n,r,o)=>{if(!eXt(o,n)){const h="must be one of: "+tXt(wir(o,b=>typeof b=="string"?`'${b}'`:Eir(b)),", ");throw new bM(r,n,h)}});function iXt(n,r){if(typeof n!="boolean")throw new pp(r,"boolean",n)}function n8e(n,r,o){return n==null||!Sir(n,r)?o:n[r]}const Fir=by((n,r,o=null)=>{const l=n8e(o,"allowArray",!1),h=n8e(o,"allowFunction",!1);if(!n8e(o,"nullable",!1)&&n===null||!l&&RDe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new pp(r,"Object",n)}),Bir=by((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new pp(r,"a dictionary",n)}),Due=by((n,r,o=0)=>{if(!RDe(n))throw new pp(r,"Array",n);if(n.length{if(!$ir(n))throw new pp(r,["Buffer","TypedArray","DataView"],n)});function Kir(n,r){const o=Cir(r),l=n.length;if(o==="hex"&&l%2!==0)throw new bM("encoding",r,`is invalid for data of length ${l}`)}function zir(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&Rir(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new Air(r,n,o);return n|0}const oXt=by((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new pp(r,"AbortSignal",n)}),qir=by((n,r)=>{if(typeof n!="function")throw new pp(r,"Function",n)}),Xir=by((n,r)=>{if(typeof n!="function"||xir(n))throw new pp(r,"Function",n)}),Jir=by((n,r)=>{if(n!==void 0)throw new pp(r,"undefined",n)});function Yir(n,r,o){if(!eXt(o,n))throw new pp(r,`('${tXt(o,"|")}')`,n)}const Qir=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function hDt(n,r){if(typeof n>"u"||!nXt(Qir,n))throw new bM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function Zir(n){if(typeof n=="string")return hDt(n,"hints"),n;if(RDe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var pK={isInt32:Iir,isUint32:Tir,parseFileMode:Nir,validateArray:Due,validateStringArray:Hir,validateBooleanArray:Wir,validateAbortSignalArray:Uir,validateBoolean:iXt,validateBuffer:Gir,validateDictionary:Bir,validateEncoding:Kir,validateFunction:qir,validateInt32:Dir,validateInteger:Mir,validateNumber:Lir,validateObject:Fir,validateOneOf:jir,validatePlainFunction:Xir,validatePort:zir,validateSignalName:Vir,validateString:CDe,validateUint32:rXt,validateUndefined:Jir,validateUnion:Yir,validateAbortSignal:oXt,validateLinkHeaderValue:Zir},xDe={exports:{}};const{SymbolAsyncIterator:bDt,SymbolIterator:pDt,SymbolFor:LT}=wf,sXt=LT("nodejs.stream.destroyed"),aXt=LT("nodejs.stream.errored"),UOe=LT("nodejs.stream.readable"),VOe=LT("nodejs.stream.writable"),lXt=LT("nodejs.stream.disturbed"),eor=LT("nodejs.webstream.isClosedPromise"),tor=LT("nodejs.webstream.controllerErrorFunction");function Lue(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function jue(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function nor(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function QS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function cXt(n){return!!(n&&!QS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function uXt(n){return!!(n&&!QS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function fXt(n){return!!(n&&!QS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function ror(n){return cXt(n)||uXt(n)||fXt(n)}function ior(n,r){return n==null?!1:r===!0?typeof n[bDt]=="function":r===!1?typeof n[pDt]=="function":typeof n[bDt]=="function"||typeof n[pDt]=="function"}function Fue(n){if(!QS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[sXt]||l!=null&&l.destroyed)}function dXt(n){if(!jue(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function oor(n,r){if(!jue(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function sor(n){if(!Lue(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function hXt(n,r){if(!Lue(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function bXt(n){return n&&n[UOe]!=null?n[UOe]:typeof(n==null?void 0:n.readable)!="boolean"?null:Fue(n)?!1:Lue(n)&&n.readable&&!hXt(n)}function pXt(n){return n&&n[VOe]!=null?n[VOe]:typeof(n==null?void 0:n.writable)!="boolean"?null:Fue(n)?!1:jue(n)&&n.writable&&!dXt(n)}function aor(n,r){return QS(n)?Fue(n)?!0:!((r==null?void 0:r.readable)!==!1&&bXt(n)||(r==null?void 0:r.writable)!==!1&&pXt(n)):null}function lor(n){var r,o;return QS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function cor(n){var r,o;return QS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function uor(n){if(!QS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&gXt(n)?n._closed:null}function gXt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function wXt(n){return typeof n._sent100=="boolean"&&gXt(n)}function dor(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function hor(n){if(!QS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&wXt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function bor(n){var r;return!!(n&&((r=n[lXt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function por(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[aXt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var Jk={isDestroyed:Fue,kIsDestroyed:sXt,isDisturbed:bor,kIsDisturbed:lXt,isErrored:por,kIsErrored:aXt,isReadable:bXt,kIsReadable:UOe,kIsClosedPromise:eor,kControllerErrorFunction:tor,kIsWritable:VOe,isClosed:uor,isDuplexNodeStream:nor,isFinished:aor,isIterable:ior,isReadableNodeStream:Lue,isReadableStream:cXt,isReadableEnded:sor,isReadableFinished:hXt,isReadableErrored:cor,isNodeStream:QS,isWebStream:ror,isWritable:pXt,isWritableNodeStream:jue,isWritableStream:uXt,isWritableEnded:dXt,isWritableFinished:oor,isWritableErrored:lor,isServerRequest:dor,isServerResponse:wXt,willEmitClose:hor,isTransformStream:fXt};const b6=yi,{AbortError:mXt,codes:gor}=K1,{ERR_INVALID_ARG_TYPE:wor,ERR_STREAM_PREMATURE_CLOSE:gDt}=gor,{kEmptyObject:GOe,once:KOe}=xg,{validateAbortSignal:mor,validateFunction:yor,validateObject:vor,validateBoolean:_or}=pK,{Promise:Sor,PromisePrototypeThen:Eor,SymbolDispose:yXt}=wf,{isClosed:kor,isReadable:wDt,isReadableNodeStream:r8e,isReadableStream:Ror,isReadableFinished:mDt,isReadableErrored:yDt,isWritable:vDt,isWritableNodeStream:_Dt,isWritableStream:Aor,isWritableFinished:SDt,isWritableErrored:EDt,isNodeStream:Cor,willEmitClose:xor,kIsClosedPromise:$or}=Jk;let vN;function Ior(n){return n.setHeader&&typeof n.abort=="function"}const zOe=()=>{};function vXt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=GOe):r==null?r=GOe:vor(r,"options"),yor(o,"callback"),mor(r.signal,"options.signal"),o=KOe(o),Ror(n)||Aor(n))return Tor(n,r,o);if(!Cor(n))throw new wor("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:r8e(n),g=(h=r.writable)!==null&&h!==void 0?h:_Dt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=xor(n)&&r8e(n)===b&&_Dt(n)===g,I=SDt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=mDt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=kor(n);const G=()=>{H=!0;const ne=EDt(n)||yDt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&r8e(n,!0)&&!mDt(n,!1))return o.call(n,new gDt);if(g&&!I&&!SDt(n,!1))return o.call(n,new gDt);o.call(n)},Y=()=>{H=!0;const ne=EDt(n)||yDt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};Ior(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?b6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||b6.nextTick(Y):(!b&&(!k||wDt(n))&&(I||vDt(n)===!1)||!g&&(!k||vDt(n))&&(A||wDt(n)===!1)||S&&n.req&&n.aborted)&&b6.nextTick(Y);const Q=()=>{o=zOe,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new mXt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)b6.nextTick(ne);else{vN=vN||xg.addAbortListener;const be=vN(r.signal,ne),De=o;o=KOe((...Ee)=>{be[yXt](),De.apply(n,Ee)})}}return Q}function Tor(n,r,o){let l=!1,h=zOe;if(r.signal)if(h=()=>{l=!0,o.call(n,new mXt(void 0,{cause:r.signal.reason}))},r.signal.aborted)b6.nextTick(h);else{vN=vN||xg.addAbortListener;const g=vN(r.signal,h),m=o;o=KOe((...S)=>{g[yXt](),m.apply(n,S)})}const b=(...g)=>{l||b6.nextTick(()=>o.apply(n,g))};return Eor(n[$or].promise,b,b),zOe}function Por(n,r){var o;let l=!1;return r===null&&(r=GOe),(o=r)!==null&&o!==void 0&&o.cleanup&&(_or(r.cleanup,"cleanup"),l=r.cleanup),new Sor((h,b)=>{const g=vXt(n,r,m=>{l&&g(),m?b(m):h()})})}xDe.exports=vXt;xDe.exports.finished=Por;var K6=xDe.exports;const TS=yi,{aggregateTwoErrors:Oor,codes:{ERR_MULTIPLE_CALLBACK:Nor},AbortError:Mor}=K1,{Symbol:_Xt}=wf,{kIsDestroyed:Dor,isDestroyed:Lor,isFinished:jor,isServerRequest:For}=Jk,SXt=_Xt("kDestroy"),qOe=_Xt("kConstruct");function EXt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function Bor(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(EXt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?kDt(this,n,r):this.once(SXt,function(b){kDt(this,Oor(b,n),r)}),this)}function kDt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;EXt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?TS.nextTick(Hor,n,b):TS.nextTick(kXt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function Hor(n,r){XOe(n,r),kXt(n)}function kXt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function XOe(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function Wor(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function JOe(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?TS.nextTick(XOe,n,r):XOe(n,r))}function Uor(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(qOe,r),!(n.listenerCount(qOe)>1)&&TS.nextTick(Vor,n)}function Vor(n){let r=!1;function o(l){if(r){JOe(n,l??new Nor);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(SXt,l):l?JOe(n,l,!0):TS.nextTick(Gor,n)}try{n._construct(l=>{TS.nextTick(o,l)})}catch(l){TS.nextTick(o,l)}}function Gor(n){n.emit(qOe)}function RDt(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function RXt(n){n.emit("close")}function Kor(n,r){n.emit("error",r),TS.nextTick(RXt,n)}function zor(n,r){!n||Lor(n)||(!r&&!jor(n)&&(r=new Mor),For(n)?(n.socket=null,n.destroy(r)):RDt(n)?n.abort():RDt(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?TS.nextTick(Kor,n,r):TS.nextTick(RXt,n),n.destroyed||(n[Dor]=!0))}var pM={construct:Uor,destroyer:zor,destroy:Bor,undestroy:Wor,errorOrDestroy:JOe};const{ArrayIsArray:qor,ObjectSetPrototypeOf:AXt}=wf,{EventEmitter:Bue}=Zs;function Hue(n){Bue.call(this,n)}AXt(Hue.prototype,Bue.prototype);AXt(Hue,Bue);Hue.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),Bue.listenerCount(this,"error")===0&&this.emit("error",k)}YOe(o,"error",S),YOe(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function YOe(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):qor(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var $De={Stream:Hue,prependListener:YOe},CXt={exports:{}};(function(n){const{SymbolDispose:r}=wf,{AbortError:o,codes:l}=K1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=Jk,m=K6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||xg.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(CXt);var Wue=CXt.exports;const{StringPrototypeSlice:ADt,SymbolIterator:Xor,TypedArrayPrototypeSet:dse,Uint8Array:Jor}=wf,{Buffer:i8e}=Xr,{inspect:Yor}=xg;var Qor=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return i8e.alloc(0);const o=i8e.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)dse(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=ADt(b,0,r),this.head=l,l.data=ADt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=i8e.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)dse(o,g,l-r),r-=g.length;else{r===g.length?(dse(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(dse(o,new Jor(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return Yor(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:Zor,NumberIsInteger:esr}=wf,{validateInteger:tsr}=pK,{ERR_INVALID_ARG_VALUE:nsr}=K1.codes;let xXt=16*1024,$Xt=16;function rsr(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function IXt(n){return n?$Xt:xXt}function isr(n,r){tsr(r,"value",0),n?$Xt=r:xXt=r}function osr(n,r,o,l){const h=rsr(r,l,o);if(h!=null){if(!esr(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new nsr(b,h)}return Zor(h)}return IXt(n.objectMode)}var Uue={getHighWaterMark:osr,getDefaultHighWaterMark:IXt,setDefaultHighWaterMark:isr};const CDt=yi,{PromisePrototypeThen:ssr,SymbolAsyncIterator:xDt,SymbolIterator:$Dt}=wf,{Buffer:asr}=Xr,{ERR_INVALID_ARG_TYPE:lsr,ERR_STREAM_NULL_VALUES:csr}=K1.codes;function usr(n,r,o){let l;if(typeof r=="string"||r instanceof asr)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[xDt])h=!0,l=r[xDt]();else if(r&&r[$Dt])h=!1,l=r[$Dt]();else throw new lsr("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){ssr(m(_),()=>CDt.nextTick(k,_),I=>CDt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new csr;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var TXt=usr,o8e,IDt;function Vue(){if(IDt)return o8e;IDt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=wf;o8e=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=$De,{Buffer:H}=Xr,{addAbortSignal:G}=Wue,Y=K6;let F=xg.debuglog("stream",E=>{F=E});const Q=Qor,ne=pM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=Uue,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=K1,{validateObject:ye}=pK,me=C("kPaused"),{StringDecoder:je}=sy,Be=TXt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof xk()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof xk();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},o8e}var s8e,TDt;function IDe(){if(TDt)return s8e;TDt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=wf;s8e=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=$De.Stream,{Buffer:C}=Xr,A=pM,{addAbortSignal:M}=Wue,{getHighWaterMark:D,getDefaultHighWaterMark:H}=Uue,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=K1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof xk()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof xk();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return a8e}var l8e,ODt;function xk(){if(ODt)return l8e;ODt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=wf;l8e=g;const h=Vue(),b=IDe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function psr(){this._final!==QOe&&QOe.call(this)}$k.prototype._final=QOe;$k.prototype._transform=function(n,r,o){throw new hsr("_transform()")};$k.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=yle(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,_sr.destroyer(n,b||new ksr("pipe")))},cleanup:h}}function Psr(n){return Csr(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function p8e(n){if(AI(n))return n;if(vae(n))return Osr(n);throw new ZOe("val",["Readable","Iterable","AsyncIterable"],n)}async function*Osr(n){h8e||(h8e=Vue()),yield*h8e.prototype[msr].call(n)}async function hse(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new wsr((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=yle(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?Ssr(h,_):_)}finally{S(),r.off("drain",g)}}async function g8e(n,r,o,{end:l}){K9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function Nsr(...n){return DXt(n,vsr(Psr(n)))}function DXt(n,r,o){if(n.length===1&&gsr(n[0])&&(n=n[0]),n.length<2)throw new Esr("streams");const l=new Tsr,h=l.signal,b=o==null?void 0:o.signal,g=[];xsr(b,"options.signal");function m(){M(new Asr)}b8e=b8e||xg.addAbortListener;let S;b&&(S=b8e(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[ysr](),l.abort(),F&&(_||g.forEach(ne=>ne()),bV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(MDt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=DDt(F,Q,ne);I.push(Ae),u8e(F)&&De&&g.push(qe)}F.on("error",Ee),u8e(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!AI(D))throw new c8e("Iterable, AsyncIterable or Stream","source",D)}else AI(F)||vae(F)||K9(F)?D=F:D=NDt.from(F);else if(typeof F=="function"){if(K9(D)){var H;D=p8e((H=D)===null||H===void 0?void 0:H.readable)}else D=p8e(D);if(D=F(D,{signal:h}),Q){if(!AI(D,!0))throw new c8e("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;d8e||(d8e=MXt);const Ee=new d8e({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),bV.nextTick(A)},fe=>{Ee.destroy(fe),bV.nextTick(A,fe)});else if(AI(D,!0))C++,hse(D,Ee,A,{end:be});else if(f8e(D)||K9(D)){const fe=D.readable||D;C++,hse(fe,Ee,A,{end:be})}else throw new c8e("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=DDt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(MDt(F)){if(vae(D)){C+=2;const Ee=Msr(D,F,A,{end:be});u8e(F)&&De&&g.push(Ee)}else if(K9(D)||f8e(D)){const Ee=D.readable||D;C++,hse(Ee,F,A,{end:be})}else if(AI(D))C++,hse(D,F,A,{end:be});else throw new ZOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if($sr(F)){if(vae(D))C++,g8e(p8e(D),F,A,{end:be});else if(f8e(D)||AI(D))C++,g8e(D,F,A,{end:be});else if(K9(D))C++,g8e(D.readable,F,A,{end:be});else throw new ZOe("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=NDt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&bV.nextTick(m),D}function Msr(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new Rsr)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};Isr(n)?bV.nextTick(b):n.once("end",b)}else o();return yle(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),yle(r,{readable:!1,writable:!0},o)}var ODe={pipelineImpl:DXt,pipeline:Nsr};const{pipeline:Dsr}=ODe,bse=xk(),{destroyer:Lsr}=pM,{isNodeStream:pse,isReadable:LDt,isWritable:jDt,isWebStream:w8e,isTransformStream:cI,isWritableStream:FDt,isReadableStream:BDt}=Jk,{AbortError:jsr,codes:{ERR_INVALID_ARG_VALUE:HDt,ERR_MISSING_ARGS:Fsr}}=K1,Bsr=K6;var LXt=function(...r){if(r.length===0)throw new Fsr("streams");if(r.length===1)return bse.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=bse.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=bse.from(r[A])}for(let A=0;A0&&!(jDt(r[A])||FDt(r[A])||cI(r[A])))throw new HDt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=Dsr(r,S),I=!!(jDt(_)||FDt(_)||cI(_)),C=!!(LDt(k)||BDt(k)||cI(k));if(m=new bse({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(pse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(w8e(_)){const D=(cI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=cI(k)?k.readable:k;Bsr(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(pse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(w8e(k)){const M=(cI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new jsr),b=null,l=null,h=null,g===null?M(A):(g=M,pse(k)&&Lsr(k,A))},m};const Hsr=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Wsr,ERR_INVALID_ARG_TYPE:gK,ERR_MISSING_ARGS:Usr,ERR_OUT_OF_RANGE:Vsr},AbortError:WS}=K1,{validateAbortSignal:jT,validateInteger:WDt,validateObject:FT}=pK,Gsr=wf.Symbol("kWeak"),Ksr=wf.Symbol("kResistStopPropagation"),{finished:zsr}=K6,qsr=LXt,{addAbortSignalNoValidate:Xsr}=Wue,{isWritable:Jsr,isNodeStream:Ysr}=Jk,{deprecate:Qsr}=xg,{ArrayPrototypePush:Zsr,Boolean:ear,MathFloor:UDt,Number:tar,NumberIsNaN:nar,Promise:VDt,PromiseReject:GDt,PromiseResolve:rar,PromisePrototypeThen:KDt,Symbol:jXt}=wf,vle=jXt("kEmpty"),zDt=jXt("kEof");function iar(n,r){if(r!=null&&FT(r,"options"),(r==null?void 0:r.signal)!=null&&jT(r.signal,"options.signal"),Ysr(n)&&!Jsr(n))throw new Wsr("stream",n,"must be writable");const o=qsr(this,n);return r!=null&&r.signal&&Xsr(r.signal,o),o}function Gue(n,r){if(typeof n!="function")throw new gK("fn",["Function","AsyncFunction"],n);r!=null&&FT(r,"options"),(r==null?void 0:r.signal)!=null&&jT(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=UDt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=UDt(r.highWaterMark)),WDt(o,"options.concurrency",1),WDt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=xg.AbortSignalAny([r==null?void 0:r.signal].filter(ear)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new VDt(Y=>{k=Y})}m.push(zDt)}catch(G){const Y=GDt(G);KDt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===zDt)return;if(b.aborted)throw new WS;G!==vle&&(yield G),m.shift(),D()}await new VDt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function oar(n=void 0){return n!=null&&FT(n,"options"),(n==null?void 0:n.signal)!=null&&jT(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new WS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function FXt(n,r=void 0){for await(const o of NDe.call(this,n,r))return!0;return!1}async function sar(n,r=void 0){if(typeof n!="function")throw new gK("fn",["Function","AsyncFunction"],n);return!await FXt.call(this,async(...o)=>!await n(...o),r)}async function aar(n,r){for await(const o of NDe.call(this,n,r))return o}async function lar(n,r){if(typeof n!="function")throw new gK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),vle}for await(const l of Gue.call(this,o,r));}function NDe(n,r){if(typeof n!="function")throw new gK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:vle}return Gue.call(this,o,r)}let car=class extends Usr{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function uar(n,r,o){var l;if(typeof n!="function")throw new gK("reducer",["Function","AsyncFunction"],n);o!=null&&FT(o,"options"),(o==null?void 0:o.signal)!=null&&jT(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new WS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await zsr(this.destroy(_)),_}const b=new Hsr,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[Gsr]:this,[Ksr]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new WS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new car}finally{b.abort()}return r}async function far(n){n!=null&&FT(n,"options"),(n==null?void 0:n.signal)!=null&&jT(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new WS(void 0,{cause:n.signal.reason});Zsr(r,l)}return r}function dar(n,r){const o=Gue.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function BXt(n){if(n=tar(n),nar(n))return 0;if(n<0)throw new Vsr("number",">= 0",n);return n}function har(n,r=void 0){return r!=null&&FT(r,"options"),(r==null?void 0:r.signal)!=null&&jT(r.signal,"options.signal"),n=BXt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new WS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new WS;n--<=0&&(yield b)}}).call(this)}function bar(n,r=void 0){return r!=null&&FT(r,"options"),(r==null?void 0:r.signal)!=null&&jT(r.signal,"options.signal"),n=BXt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new WS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new WS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}kDe.streamReturningOperators={asIndexedPairs:Qsr(oar,"readable.asIndexedPairs will be removed in a future version."),drop:har,filter:NDe,flatMap:dar,map:Gue,take:bar,compose:iar};kDe.promiseReturningOperators={every:sar,forEach:lar,reduce:uar,toArray:far,some:FXt,find:aar};var m8e,qDt;function HXt(){if(qDt)return m8e;qDt=1;const{ArrayPrototypePop:n,Promise:r}=wf,{isIterable:o,isNodeStream:l,isWebStream:h}=Jk,{pipelineImpl:b}=ODe,{finished:g}=K6;WXt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return m8e={finished:g,pipeline:m},m8e}var XDt;function WXt(){if(XDt)return t8e.exports;XDt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=wf,{promisify:{custom:h}}=xg,{streamReturningOperators:b,promiseReturningOperators:g}=kDe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=K1,S=LXt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=Uue,{pipeline:I}=ODe,{destroyer:C}=pM,A=K6,M=HXt(),D=Jk,H=t8e.exports=$De.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=Vue();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=IDe(),H.Duplex=xk(),H.Transform=OXt,H.PassThrough=MXt,H.pipeline=I;const{addAbortSignal:G}=Wue;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},t8e.exports}(function(n){const r=WXt(),o=HXt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(sir);Un("http://www.w3.org/1999/02/22-rdf-syntax-ns#");Un("http://www.w3.org/1999/02/22-rdf-syntax-ns#");Un("http://www.w3.org/2001/XMLSchema#");var UXt={exports:{}},y8e={exports:{}},mf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},VXt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=mf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(VXt);var $g=VXt.exports,MDe={};const{format:par,inspect:_le,AggregateError:gar}=$g,war=globalThis.AggregateError||gar,mar=Symbol("kIsNodeError"),yar=["string","function","number","object","Function","Object","boolean","bigint","symbol"],_ar=/^([A-Z][a-z0-9]*)+$/,Sar="__node_internal_",Kue={};function XI(n,r){if(!n)throw new Kue.ERR_INTERNAL_ASSERTION(r)}function JDt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function Ear(n,r,o){if(typeof r=="function")return XI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return XI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:par(r,...o)}function Sb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(Ear(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[mar]=!0,Kue[n]=l}function YDt(n){const r=Sar+n.name;return Object.defineProperty(n,"name",{value:r}),n}function kar(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new war([r,n],r.message);return o.code=r.code,o}return n||r}let Rar=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new Kue.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};Sb("ERR_ASSERTION","%s",Error);Sb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{XI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)XI(typeof S=="string","All expected entries have to be of type string"),yar.includes(S)?h.push(S.toLowerCase()):_ar.test(S)?b.push(S):(XI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=_le(o,{depth:-1});l+=`. Received ${S}`}}else{let S=_le(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);Sb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=_le(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);Sb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);Sb("ERR_MISSING_ARGS",(...n)=>{XI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);Sb("ERR_OUT_OF_RANGE",(n,r,o)=>{XI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=JDt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=JDt(l)),l+="n"):l=_le(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);Sb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Sb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Sb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Sb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Sb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Sb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Sb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Sb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Sb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Sb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Sb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var z1={AbortError:Rar,aggregateTwoErrors:YDt(kar),hideStackFrames:YDt,codes:Kue};const{ArrayIsArray:DDe,ArrayPrototypeIncludes:GXt,ArrayPrototypeJoin:KXt,ArrayPrototypeMap:Aar,NumberIsInteger:LDe,NumberIsNaN:Car,NumberMAX_SAFE_INTEGER:xar,NumberMIN_SAFE_INTEGER:$ar,NumberParseInt:Iar,ObjectPrototypeHasOwnProperty:Tar,RegExpPrototypeExec:zXt,String:Par,StringPrototypeToUpperCase:Oar,StringPrototypeTrim:Nar}=mf,{hideStackFrames:py,codes:{ERR_SOCKET_BAD_PORT:Mar,ERR_INVALID_ARG_TYPE:gp,ERR_INVALID_ARG_VALUE:gM,ERR_OUT_OF_RANGE:uT,ERR_UNKNOWN_SIGNAL:QDt}}=z1,{normalizeEncoding:Dar}=$g,{isAsyncFunction:Lar,isArrayBufferView:jar}=$g.types,ZDt={};function Far(n){return n===(n|0)}function Bar(n){return n===n>>>0}const Har=/^[0-7]+$/,War="must be a 32-bit unsigned integer or an octal string";function Uar(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(zXt(Har,n)===null)throw new gM(r,n,War);n=Iar(n,8)}return qXt(n,r),n}const Var=py((n,r,o=$ar,l=xar)=>{if(typeof n!="number")throw new gp(r,"number",n);if(!LDe(n))throw new uT(r,"an integer",n);if(nl)throw new uT(r,`>= ${o} && <= ${l}`,n)}),Gar=py((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new gp(r,"number",n);if(!LDe(n))throw new uT(r,"an integer",n);if(nl)throw new uT(r,`>= ${o} && <= ${l}`,n)}),qXt=py((n,r,o=!1)=>{if(typeof n!="number")throw new gp(r,"number",n);if(!LDe(n))throw new uT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new uT(r,`>= ${l} && <= ${h}`,n)});function jDe(n,r){if(typeof n!="string")throw new gp(r,"string",n)}function Kar(n,r,o=void 0,l){if(typeof n!="number")throw new gp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&Car(n))throw new uT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const zar=py((n,r,o)=>{if(!GXt(o,n)){const h="must be one of: "+KXt(Aar(o,b=>typeof b=="string"?`'${b}'`:Par(b)),", ");throw new gM(r,n,h)}});function XXt(n,r){if(typeof n!="boolean")throw new gp(r,"boolean",n)}function v8e(n,r,o){return n==null||!Tar(n,r)?o:n[r]}const qar=py((n,r,o=null)=>{const l=v8e(o,"allowArray",!1),h=v8e(o,"allowFunction",!1);if(!v8e(o,"nullable",!1)&&n===null||!l&&DDe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new gp(r,"Object",n)}),Xar=py((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new gp(r,"a dictionary",n)}),zue=py((n,r,o=0)=>{if(!DDe(n))throw new gp(r,"Array",n);if(n.length{if(!jar(n))throw new gp(r,["Buffer","TypedArray","DataView"],n)});function tlr(n,r){const o=Dar(r),l=n.length;if(o==="hex"&&l%2!==0)throw new gM("encoding",r,`is invalid for data of length ${l}`)}function nlr(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&Nar(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new Mar(r,n,o);return n|0}const JXt=py((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new gp(r,"AbortSignal",n)}),rlr=py((n,r)=>{if(typeof n!="function")throw new gp(r,"Function",n)}),ilr=py((n,r)=>{if(typeof n!="function"||Lar(n))throw new gp(r,"Function",n)}),olr=py((n,r)=>{if(n!==void 0)throw new gp(r,"undefined",n)});function slr(n,r,o){if(!GXt(o,n))throw new gp(r,`('${KXt(o,"|")}')`,n)}const alr=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function eLt(n,r){if(typeof n>"u"||!zXt(alr,n))throw new gM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function llr(n){if(typeof n=="string")return eLt(n,"hints"),n;if(DDe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var wK={isInt32:Far,isUint32:Bar,parseFileMode:Uar,validateArray:zue,validateStringArray:Jar,validateBooleanArray:Yar,validateAbortSignalArray:Qar,validateBoolean:XXt,validateBuffer:elr,validateDictionary:Xar,validateEncoding:tlr,validateFunction:rlr,validateInt32:Gar,validateInteger:Var,validateNumber:Kar,validateObject:qar,validateOneOf:zar,validatePlainFunction:ilr,validatePort:nlr,validateSignalName:Zar,validateString:jDe,validateUint32:qXt,validateUndefined:olr,validateUnion:slr,validateAbortSignal:JXt,validateLinkHeaderValue:llr},FDe={exports:{}};const{SymbolAsyncIterator:tLt,SymbolIterator:nLt,SymbolFor:BT}=mf,YXt=BT("nodejs.stream.destroyed"),QXt=BT("nodejs.stream.errored"),e9e=BT("nodejs.stream.readable"),t9e=BT("nodejs.stream.writable"),ZXt=BT("nodejs.stream.disturbed"),clr=BT("nodejs.webstream.isClosedPromise"),ulr=BT("nodejs.webstream.controllerErrorFunction");function que(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function Xue(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function flr(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function ZS(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function eJt(n){return!!(n&&!ZS(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function tJt(n){return!!(n&&!ZS(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function nJt(n){return!!(n&&!ZS(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function dlr(n){return eJt(n)||tJt(n)||nJt(n)}function hlr(n,r){return n==null?!1:r===!0?typeof n[tLt]=="function":r===!1?typeof n[nLt]=="function":typeof n[tLt]=="function"||typeof n[nLt]=="function"}function Jue(n){if(!ZS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[YXt]||l!=null&&l.destroyed)}function rJt(n){if(!Xue(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function blr(n,r){if(!Xue(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function plr(n){if(!que(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function iJt(n,r){if(!que(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function oJt(n){return n&&n[e9e]!=null?n[e9e]:typeof(n==null?void 0:n.readable)!="boolean"?null:Jue(n)?!1:que(n)&&n.readable&&!iJt(n)}function sJt(n){return n&&n[t9e]!=null?n[t9e]:typeof(n==null?void 0:n.writable)!="boolean"?null:Jue(n)?!1:Xue(n)&&n.writable&&!rJt(n)}function glr(n,r){return ZS(n)?Jue(n)?!0:!((r==null?void 0:r.readable)!==!1&&oJt(n)||(r==null?void 0:r.writable)!==!1&&sJt(n)):null}function wlr(n){var r,o;return ZS(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function mlr(n){var r,o;return ZS(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function ylr(n){if(!ZS(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&aJt(n)?n._closed:null}function aJt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function lJt(n){return typeof n._sent100=="boolean"&&aJt(n)}function vlr(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function _lr(n){if(!ZS(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&lJt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function Slr(n){var r;return!!(n&&((r=n[ZXt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function Elr(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[QXt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var Yk={isDestroyed:Jue,kIsDestroyed:YXt,isDisturbed:Slr,kIsDisturbed:ZXt,isErrored:Elr,kIsErrored:QXt,isReadable:oJt,kIsReadable:e9e,kIsClosedPromise:clr,kControllerErrorFunction:ulr,kIsWritable:t9e,isClosed:ylr,isDuplexNodeStream:flr,isFinished:glr,isIterable:hlr,isReadableNodeStream:que,isReadableStream:eJt,isReadableEnded:plr,isReadableFinished:iJt,isReadableErrored:mlr,isNodeStream:ZS,isWebStream:dlr,isWritable:sJt,isWritableNodeStream:Xue,isWritableStream:tJt,isWritableEnded:rJt,isWritableFinished:blr,isWritableErrored:wlr,isServerRequest:vlr,isServerResponse:lJt,willEmitClose:_lr,isTransformStream:nJt};const p6=yi,{AbortError:cJt,codes:klr}=z1,{ERR_INVALID_ARG_TYPE:Rlr,ERR_STREAM_PREMATURE_CLOSE:rLt}=klr,{kEmptyObject:n9e,once:r9e}=$g,{validateAbortSignal:Alr,validateFunction:Clr,validateObject:xlr,validateBoolean:$lr}=wK,{Promise:Ilr,PromisePrototypeThen:Tlr,SymbolDispose:uJt}=mf,{isClosed:Plr,isReadable:iLt,isReadableNodeStream:_8e,isReadableStream:Olr,isReadableFinished:oLt,isReadableErrored:sLt,isWritable:aLt,isWritableNodeStream:lLt,isWritableStream:Nlr,isWritableFinished:cLt,isWritableErrored:uLt,isNodeStream:Mlr,willEmitClose:Dlr,kIsClosedPromise:Llr}=Yk;let _N;function jlr(n){return n.setHeader&&typeof n.abort=="function"}const i9e=()=>{};function fJt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=n9e):r==null?r=n9e:xlr(r,"options"),Clr(o,"callback"),Alr(r.signal,"options.signal"),o=r9e(o),Olr(n)||Nlr(n))return Flr(n,r,o);if(!Mlr(n))throw new Rlr("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:_8e(n),g=(h=r.writable)!==null&&h!==void 0?h:lLt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=Dlr(n)&&_8e(n)===b&&lLt(n)===g,I=cLt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=oLt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=Plr(n);const G=()=>{H=!0;const ne=uLt(n)||sLt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&_8e(n,!0)&&!oLt(n,!1))return o.call(n,new rLt);if(g&&!I&&!cLt(n,!1))return o.call(n,new rLt);o.call(n)},Y=()=>{H=!0;const ne=uLt(n)||sLt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};jlr(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?p6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||p6.nextTick(Y):(!b&&(!k||iLt(n))&&(I||aLt(n)===!1)||!g&&(!k||aLt(n))&&(A||iLt(n)===!1)||S&&n.req&&n.aborted)&&p6.nextTick(Y);const Q=()=>{o=i9e,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new cJt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)p6.nextTick(ne);else{_N=_N||$g.addAbortListener;const be=_N(r.signal,ne),De=o;o=r9e((...Ee)=>{be[uJt](),De.apply(n,Ee)})}}return Q}function Flr(n,r,o){let l=!1,h=i9e;if(r.signal)if(h=()=>{l=!0,o.call(n,new cJt(void 0,{cause:r.signal.reason}))},r.signal.aborted)p6.nextTick(h);else{_N=_N||$g.addAbortListener;const g=_N(r.signal,h),m=o;o=r9e((...S)=>{g[uJt](),m.apply(n,S)})}const b=(...g)=>{l||p6.nextTick(()=>o.apply(n,g))};return Tlr(n[Llr].promise,b,b),i9e}function Blr(n,r){var o;let l=!1;return r===null&&(r=n9e),(o=r)!==null&&o!==void 0&&o.cleanup&&($lr(r.cleanup,"cleanup"),l=r.cleanup),new Ilr((h,b)=>{const g=fJt(n,r,m=>{l&&g(),m?b(m):h()})})}FDe.exports=fJt;FDe.exports.finished=Blr;var z6=FDe.exports;const PS=yi,{aggregateTwoErrors:Hlr,codes:{ERR_MULTIPLE_CALLBACK:Wlr},AbortError:Ulr}=z1,{Symbol:dJt}=mf,{kIsDestroyed:Vlr,isDestroyed:Glr,isFinished:Klr,isServerRequest:zlr}=Yk,hJt=dJt("kDestroy"),o9e=dJt("kConstruct");function bJt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function qlr(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(bJt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?fLt(this,n,r):this.once(hJt,function(b){fLt(this,Hlr(b,n),r)}),this)}function fLt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;bJt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?PS.nextTick(Xlr,n,b):PS.nextTick(pJt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function Xlr(n,r){s9e(n,r),pJt(n)}function pJt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function s9e(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function Jlr(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function a9e(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?PS.nextTick(s9e,n,r):s9e(n,r))}function Ylr(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(o9e,r),!(n.listenerCount(o9e)>1)&&PS.nextTick(Qlr,n)}function Qlr(n){let r=!1;function o(l){if(r){a9e(n,l??new Wlr);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit(hJt,l):l?a9e(n,l,!0):PS.nextTick(Zlr,n)}try{n._construct(l=>{PS.nextTick(o,l)})}catch(l){PS.nextTick(o,l)}}function Zlr(n){n.emit(o9e)}function dLt(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function gJt(n){n.emit("close")}function ecr(n,r){n.emit("error",r),PS.nextTick(gJt,n)}function tcr(n,r){!n||Glr(n)||(!r&&!Klr(n)&&(r=new Ulr),zlr(n)?(n.socket=null,n.destroy(r)):dLt(n)?n.abort():dLt(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?PS.nextTick(ecr,n,r):PS.nextTick(gJt,n),n.destroyed||(n[Vlr]=!0))}var wM={construct:Ylr,destroyer:tcr,destroy:qlr,undestroy:Jlr,errorOrDestroy:a9e};const{ArrayIsArray:ncr,ObjectSetPrototypeOf:wJt}=mf,{EventEmitter:Yue}=Zs;function Que(n){Yue.call(this,n)}wJt(Que.prototype,Yue.prototype);wJt(Que,Yue);Que.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),Yue.listenerCount(this,"error")===0&&this.emit("error",k)}l9e(o,"error",S),l9e(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function l9e(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):ncr(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var BDe={Stream:Que,prependListener:l9e},mJt={exports:{}};(function(n){const{SymbolDispose:r}=mf,{AbortError:o,codes:l}=z1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=Yk,m=z6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||$g.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(mJt);var Zue=mJt.exports;const{StringPrototypeSlice:hLt,SymbolIterator:rcr,TypedArrayPrototypeSet:gse,Uint8Array:icr}=mf,{Buffer:S8e}=Xr,{inspect:ocr}=$g;var scr=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return S8e.alloc(0);const o=S8e.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)gse(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=hLt(b,0,r),this.head=l,l.data=hLt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=S8e.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)gse(o,g,l-r),r-=g.length;else{r===g.length?(gse(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(gse(o,new icr(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return ocr(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:acr,NumberIsInteger:lcr}=mf,{validateInteger:ccr}=wK,{ERR_INVALID_ARG_VALUE:ucr}=z1.codes;let yJt=16*1024,vJt=16;function fcr(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function _Jt(n){return n?vJt:yJt}function dcr(n,r){ccr(r,"value",0),n?vJt=r:yJt=r}function hcr(n,r,o,l){const h=fcr(r,l,o);if(h!=null){if(!lcr(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new ucr(b,h)}return acr(h)}return _Jt(n.objectMode)}var efe={getHighWaterMark:hcr,getDefaultHighWaterMark:_Jt,setDefaultHighWaterMark:dcr};const bLt=yi,{PromisePrototypeThen:bcr,SymbolAsyncIterator:pLt,SymbolIterator:gLt}=mf,{Buffer:pcr}=Xr,{ERR_INVALID_ARG_TYPE:gcr,ERR_STREAM_NULL_VALUES:wcr}=z1.codes;function mcr(n,r,o){let l;if(typeof r=="string"||r instanceof pcr)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[pLt])h=!0,l=r[pLt]();else if(r&&r[gLt])h=!1,l=r[gLt]();else throw new gcr("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){bcr(m(_),()=>bLt.nextTick(k,_),I=>bLt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new wcr;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var SJt=mcr,E8e,wLt;function tfe(){if(wLt)return E8e;wLt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=mf;E8e=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=BDe,{Buffer:H}=Xr,{addAbortSignal:G}=Zue,Y=z6;let F=$g.debuglog("stream",E=>{F=E});const Q=scr,ne=wM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=efe,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=z1,{validateObject:ye}=wK,me=C("kPaused"),{StringDecoder:je}=sy,Be=SJt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof Ik()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof Ik();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},E8e}var k8e,mLt;function HDe(){if(mLt)return k8e;mLt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=mf;k8e=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=BDe.Stream,{Buffer:C}=Xr,A=wM,{addAbortSignal:M}=Zue,{getHighWaterMark:D,getDefaultHighWaterMark:H}=efe,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=z1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof Ik()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof Ik();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return R8e}var A8e,vLt;function Ik(){if(vLt)return A8e;vLt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=mf;A8e=g;const h=tfe(),b=HDe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function Ecr(){this._final!==c9e&&c9e.call(this)}Tk.prototype._final=c9e;Tk.prototype._transform=function(n,r,o){throw new _cr("_transform()")};Tk.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=Sle(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,$cr.destroyer(n,b||new Pcr("pipe")))},cleanup:h}}function Bcr(n){return Mcr(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function O8e(n){if(CI(n))return n;if(_ae(n))return Hcr(n);throw new u9e("val",["Readable","Iterable","AsyncIterable"],n)}async function*Hcr(n){T8e||(T8e=tfe()),yield*T8e.prototype[Acr].call(n)}async function wse(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new Rcr((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=Sle(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?Icr(h,_):_)}finally{S(),r.off("drain",g)}}async function N8e(n,r,o,{end:l}){z9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function Wcr(...n){return CJt(n,xcr(Bcr(n)))}function CJt(n,r,o){if(n.length===1&&kcr(n[0])&&(n=n[0]),n.length<2)throw new Tcr("streams");const l=new Fcr,h=l.signal,b=o==null?void 0:o.signal,g=[];Dcr(b,"options.signal");function m(){M(new Ncr)}P8e=P8e||$g.addAbortListener;let S;b&&(S=P8e(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[Ccr](),l.abort(),F&&(_||g.forEach(ne=>ne()),pV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(SLt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=ELt(F,Q,ne);I.push(Ae),x8e(F)&&De&&g.push(qe)}F.on("error",Ee),x8e(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!CI(D))throw new C8e("Iterable, AsyncIterable or Stream","source",D)}else CI(F)||_ae(F)||z9(F)?D=F:D=_Lt.from(F);else if(typeof F=="function"){if(z9(D)){var H;D=O8e((H=D)===null||H===void 0?void 0:H.readable)}else D=O8e(D);if(D=F(D,{signal:h}),Q){if(!CI(D,!0))throw new C8e("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;I8e||(I8e=AJt);const Ee=new I8e({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),pV.nextTick(A)},fe=>{Ee.destroy(fe),pV.nextTick(A,fe)});else if(CI(D,!0))C++,wse(D,Ee,A,{end:be});else if($8e(D)||z9(D)){const fe=D.readable||D;C++,wse(fe,Ee,A,{end:be})}else throw new C8e("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=ELt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(SLt(F)){if(_ae(D)){C+=2;const Ee=Ucr(D,F,A,{end:be});x8e(F)&&De&&g.push(Ee)}else if(z9(D)||$8e(D)){const Ee=D.readable||D;C++,wse(Ee,F,A,{end:be})}else if(CI(D))C++,wse(D,F,A,{end:be});else throw new u9e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(Lcr(F)){if(_ae(D))C++,N8e(O8e(D),F,A,{end:be});else if($8e(D)||CI(D))C++,N8e(D,F,A,{end:be});else if(z9(D))C++,N8e(D.readable,F,A,{end:be});else throw new u9e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=_Lt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&pV.nextTick(m),D}function Ucr(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new Ocr)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};jcr(n)?pV.nextTick(b):n.once("end",b)}else o();return Sle(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),Sle(r,{readable:!1,writable:!0},o)}var VDe={pipelineImpl:CJt,pipeline:Wcr};const{pipeline:Vcr}=VDe,mse=Ik(),{destroyer:Gcr}=wM,{isNodeStream:yse,isReadable:kLt,isWritable:RLt,isWebStream:M8e,isTransformStream:uI,isWritableStream:ALt,isReadableStream:CLt}=Yk,{AbortError:Kcr,codes:{ERR_INVALID_ARG_VALUE:xLt,ERR_MISSING_ARGS:zcr}}=z1,qcr=z6;var xJt=function(...r){if(r.length===0)throw new zcr("streams");if(r.length===1)return mse.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=mse.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=mse.from(r[A])}for(let A=0;A0&&!(RLt(r[A])||ALt(r[A])||uI(r[A])))throw new xLt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=Vcr(r,S),I=!!(RLt(_)||ALt(_)||uI(_)),C=!!(kLt(k)||CLt(k)||uI(k));if(m=new mse({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(yse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(M8e(_)){const D=(uI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=uI(k)?k.readable:k;qcr(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(yse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(M8e(k)){const M=(uI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new Kcr),b=null,l=null,h=null,g===null?M(A):(g=M,yse(k)&&Gcr(k,A))},m};const Xcr=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:Jcr,ERR_INVALID_ARG_TYPE:mK,ERR_MISSING_ARGS:Ycr,ERR_OUT_OF_RANGE:Qcr},AbortError:US}=z1,{validateAbortSignal:HT,validateInteger:$Lt,validateObject:WT}=wK,Zcr=mf.Symbol("kWeak"),eur=mf.Symbol("kResistStopPropagation"),{finished:tur}=z6,nur=xJt,{addAbortSignalNoValidate:rur}=Zue,{isWritable:iur,isNodeStream:our}=Yk,{deprecate:sur}=$g,{ArrayPrototypePush:aur,Boolean:lur,MathFloor:ILt,Number:cur,NumberIsNaN:uur,Promise:TLt,PromiseReject:PLt,PromiseResolve:fur,PromisePrototypeThen:OLt,Symbol:$Jt}=mf,Ele=$Jt("kEmpty"),NLt=$Jt("kEof");function dur(n,r){if(r!=null&&WT(r,"options"),(r==null?void 0:r.signal)!=null&&HT(r.signal,"options.signal"),our(n)&&!iur(n))throw new Jcr("stream",n,"must be writable");const o=nur(this,n);return r!=null&&r.signal&&rur(r.signal,o),o}function nfe(n,r){if(typeof n!="function")throw new mK("fn",["Function","AsyncFunction"],n);r!=null&&WT(r,"options"),(r==null?void 0:r.signal)!=null&&HT(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=ILt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=ILt(r.highWaterMark)),$Lt(o,"options.concurrency",1),$Lt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=$g.AbortSignalAny([r==null?void 0:r.signal].filter(lur)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new TLt(Y=>{k=Y})}m.push(NLt)}catch(G){const Y=PLt(G);OLt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===NLt)return;if(b.aborted)throw new US;G!==Ele&&(yield G),m.shift(),D()}await new TLt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function hur(n=void 0){return n!=null&&WT(n,"options"),(n==null?void 0:n.signal)!=null&&HT(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new US({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function IJt(n,r=void 0){for await(const o of GDe.call(this,n,r))return!0;return!1}async function bur(n,r=void 0){if(typeof n!="function")throw new mK("fn",["Function","AsyncFunction"],n);return!await IJt.call(this,async(...o)=>!await n(...o),r)}async function pur(n,r){for await(const o of GDe.call(this,n,r))return o}async function gur(n,r){if(typeof n!="function")throw new mK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),Ele}for await(const l of nfe.call(this,o,r));}function GDe(n,r){if(typeof n!="function")throw new mK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:Ele}return nfe.call(this,o,r)}let wur=class extends Ycr{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function mur(n,r,o){var l;if(typeof n!="function")throw new mK("reducer",["Function","AsyncFunction"],n);o!=null&&WT(o,"options"),(o==null?void 0:o.signal)!=null&&HT(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new US(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await tur(this.destroy(_)),_}const b=new Xcr,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[Zcr]:this,[eur]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new US;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new wur}finally{b.abort()}return r}async function yur(n){n!=null&&WT(n,"options"),(n==null?void 0:n.signal)!=null&&HT(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new US(void 0,{cause:n.signal.reason});aur(r,l)}return r}function vur(n,r){const o=nfe.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function TJt(n){if(n=cur(n),uur(n))return 0;if(n<0)throw new Qcr("number",">= 0",n);return n}function _ur(n,r=void 0){return r!=null&&WT(r,"options"),(r==null?void 0:r.signal)!=null&&HT(r.signal,"options.signal"),n=TJt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new US;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new US;n--<=0&&(yield b)}}).call(this)}function Sur(n,r=void 0){return r!=null&&WT(r,"options"),(r==null?void 0:r.signal)!=null&&HT(r.signal,"options.signal"),n=TJt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new US;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new US;if(n-- >0&&(yield b),n<=0)return}}).call(this)}MDe.streamReturningOperators={asIndexedPairs:sur(hur,"readable.asIndexedPairs will be removed in a future version."),drop:_ur,filter:GDe,flatMap:vur,map:nfe,take:Sur,compose:dur};MDe.promiseReturningOperators={every:bur,forEach:gur,reduce:mur,toArray:yur,some:IJt,find:pur};var D8e,MLt;function PJt(){if(MLt)return D8e;MLt=1;const{ArrayPrototypePop:n,Promise:r}=mf,{isIterable:o,isNodeStream:l,isWebStream:h}=Yk,{pipelineImpl:b}=VDe,{finished:g}=z6;OJt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return D8e={finished:g,pipeline:m},D8e}var DLt;function OJt(){if(DLt)return y8e.exports;DLt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=mf,{promisify:{custom:h}}=$g,{streamReturningOperators:b,promiseReturningOperators:g}=MDe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=z1,S=xJt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=efe,{pipeline:I}=VDe,{destroyer:C}=wM,A=z6,M=PJt(),D=Yk,H=y8e.exports=BDe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=tfe();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=HDe(),H.Duplex=Ik(),H.Transform=kJt,H.PassThrough=AJt,H.pipeline=I;const{addAbortSignal:G}=Zue;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},y8e.exports}(function(n){const r=OJt(),o=PJt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(UXt);var Eur=UXt.exports;class kur{constructor(r){this.stream=r,this.array=[]}push(r){this.array.push(r)}end(){this.stream.push(this.array),this.stream.push(null)}}class Rur{constructor(r){this.stream=r,this.first=!0,this.stream.push("[")}push(r){this.first?this.first=!1:this.stream.push(","),this.stream.push(JSON.stringify(r))}end(){this.stream.push("]"),this.stream.push(null)}}class WV extends Eur.Readable{constructor(r,{encoding:o="object"}={}){if(super({objectMode:!0,read:()=>{}}),o==="object"&&(this.encoder=new kur(this)),o==="string"&&(this.encoder=new Rur(this)),!this.encoder)throw new Error(`unknown encoding: ${o}`);r.on("data",l=>{const h={};let b=h;l.graph.termType!=="DefaultGraph"&&(h["@id"]=l.graph.value,h["@graph"]={},b=h["@graph"]),b["@id"]=WV.subjectValue(l.subject),l.predicate.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"?b["@type"]=WV.subjectValue(l.object):b[l.predicate.value]=WV.objectValue(l.object),this.encoder.push(h)}),r.on("end",()=>this.encoder.end()),r.on("error",l=>this.emit("error",l))}static subjectValue(r){return r.termType==="BlankNode"?"_:"+r.value:r.value}static objectValue(r){return r.termType==="NamedNode"?{"@id":r.value}:r.termType==="BlankNode"?{"@id":"_:"+r.value}:r.language?{"@language":r.language,"@value":r.value}:r.datatype&&r.datatype.value!=="http://www.w3.org/2001/XMLSchema#string"?{"@type":r.datatype.value,"@value":r.value}:r.value}}class Aur extends pce{constructor(r){super(WV,r)}}class Cur extends Aur{constructor({...r}={}){super({...r,encoding:"string"})}}var NJt={};/*! + * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. + */const LLt=sMe,xur=dce,$ur=eVt,jLt=aMe;var MJt=class{constructor({createMessageDigest:r=()=>new xur("sha256"),canonicalIdMap:o=new Map,maxDeepIterations:l=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new LLt("_:c14n",o),this.createMessageDigest=r,this.maxDeepIterations=l,this.quads=null,this.deepIterations=null}async main(r){this.deepIterations=new Map,this.quads=r;for(const S of r)this._addBlankNodeQuadInfo({quad:S,component:S.subject}),this._addBlankNodeQuadInfo({quad:S,component:S.object}),this._addBlankNodeQuadInfo({quad:S,component:S.graph});const o=new Map,l=[...this.blankNodeInfo.keys()];let h=0;for(const S of l)++h%100===0&&await this._yield(),await this._hashAndTrackBlankNode({id:S,hashToBlankNodes:o});const b=[...o.keys()].sort(),g=[];for(const S of b){const _=o.get(S);if(_.length>1){g.push(_);continue}const k=_[0];this.canonicalIssuer.getId(k)}for(const S of g){const _=[];for(const k of S){if(this.canonicalIssuer.hasId(k))continue;const I=new LLt("_:b");I.getId(k);const C=await this.hashNDegreeQuads(k,I);_.push(C)}_.sort(Iur);for(const k of _){const I=k.issuer.getOldIds();for(const C of I)this.canonicalIssuer.getId(C)}}const m=[];for(const S of this.quads){const _=jLt.serializeQuadComponents(this._componentWithCanonicalId(S.subject),S.predicate,this._componentWithCanonicalId(S.object),this._componentWithCanonicalId(S.graph));m.push(_)}return m.sort(),m.join("")}async hashFirstDegreeQuads(r){const o=[],l=this.blankNodeInfo.get(r),h=l.quads;for(const g of h){const m={subject:null,predicate:g.predicate,object:null,graph:null};m.subject=this.modifyFirstDegreeComponent(r,g.subject,"subject"),m.object=this.modifyFirstDegreeComponent(r,g.object,"object"),m.graph=this.modifyFirstDegreeComponent(r,g.graph,"graph"),o.push(jLt.serializeQuad(m))}o.sort();const b=this.createMessageDigest();for(const g of o)b.update(g);return l.hash=await b.digest(),l.hash}async hashRelatedBlankNode(r,o,l,h){let b;this.canonicalIssuer.hasId(r)?b=this.canonicalIssuer.getId(r):l.hasId(r)?b=l.getId(r):b=this.blankNodeInfo.get(r).hash;const g=this.createMessageDigest();return g.update(h),h!=="g"&&g.update(this.getRelatedPredicate(o)),g.update(b),g.digest()}async hashNDegreeQuads(r,o){const l=this.deepIterations.get(r)||0;if(l>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(r,l+1);const h=this.createMessageDigest(),b=await this.createHashToRelated(r,o),g=[...b.keys()].sort();for(const m of g){h.update(m);let S="",_;const k=new $ur(b.get(m));let I=0;for(;k.hasNext();){const C=k.next();++I%3===0&&await this._yield();let A=o.clone(),M="";const D=[];let H=!1;for(const G of C)if(this.canonicalIssuer.hasId(G)?M+=this.canonicalIssuer.getId(G):(A.hasId(G)||D.push(G),M+=A.getId(G)),S.length!==0&&M>S){H=!0;break}if(!H){for(const G of D){const Y=await this.hashNDegreeQuads(G,A);if(M+=A.getId(G),M+=`<${Y.hash}>`,A=Y.issuer,S.length!==0&&M>S){H=!0;break}}H||(S.length===0||M`}async createHashToRelated(r,o){const l=new Map,h=this.blankNodeInfo.get(r).quads;let b=0;for(const g of h)++b%100===0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:g,component:g.subject,position:"s",id:r,issuer:o,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:g,component:g.object,position:"o",id:r,issuer:o,hashToRelated:l}),this._addRelatedBlankNodeHash({quad:g,component:g.graph,position:"g",id:r,issuer:o,hashToRelated:l})]);return l}async _hashAndTrackBlankNode({id:r,hashToBlankNodes:o}){const l=await this.hashFirstDegreeQuads(r),h=o.get(l);h?h.push(r):o.set(l,[r])}_addBlankNodeQuadInfo({quad:r,component:o}){if(o.termType!=="BlankNode")return;const l=o.value,h=this.blankNodeInfo.get(l);h?h.quads.add(r):this.blankNodeInfo.set(l,{quads:new Set([r]),hash:null})}async _addRelatedBlankNodeHash({quad:r,component:o,position:l,id:h,issuer:b,hashToRelated:g}){if(!(o.termType==="BlankNode"&&o.value!==h))return;const m=o.value,S=await this.hashRelatedBlankNode(m,r,b,l),_=g.get(S);_?_.push(m):g.set(S,[m])}_componentWithCanonicalId(r){return r.termType==="BlankNode"&&!r.value.startsWith(this.canonicalIssuer.prefix)?{termType:"BlankNode",value:this.canonicalIssuer.getId(r.value)}:r}async _yield(){return new Promise(r=>setImmediate(r))}};function Iur(n,r){return n.hashr.hash?1:0}/*! + * Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved. + */const Tur=dce,Pur=MJt;var Our=class extends Pur{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new Tur("sha1")}modifyFirstDegreeComponent(r,o,l){return o.termType!=="BlankNode"?o:l==="graph"?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:o.value===r?"_:a":"_:z"}}getRelatedPredicate(r){return r.predicate.value}async createHashToRelated(r,o){const l=new Map,h=this.blankNodeInfo.get(r).quads;let b=0;for(const g of h){let m,S;if(g.subject.termType==="BlankNode"&&g.subject.value!==r)S=g.subject.value,m="p";else if(g.object.termType==="BlankNode"&&g.object.value!==r)S=g.object.value,m="r";else continue;++b%100===0&&await this._yield();const _=await this.hashRelatedBlankNode(S,g,o,m),k=l.get(_);k?k.push(S):l.set(_,[S])}return l}};/*! + * Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. + */const Nur=dce,Mur=lMe;var Dur=class extends Mur{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new Nur("sha1")}modifyFirstDegreeComponent(r,o,l){return o.termType!=="BlankNode"?o:l==="graph"?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:o.value===r?"_:a":"_:z"}}getRelatedPredicate(r){return r.predicate.value}createHashToRelated(r,o){const l=new Map,h=this.blankNodeInfo.get(r).quads;for(const b of h){let g,m;if(b.subject.termType==="BlankNode"&&b.subject.value!==r)m=b.subject.value,g="p";else if(b.object.termType==="BlankNode"&&b.object.value!==r)m=b.object.value,g="r";else continue;const S=this.hashRelatedBlankNode(m,b,o,g),_=l.get(S);_?_.push(m):l.set(S,[m])}return l}};(function(n){const r=MJt,o=Our,l=lMe,h=Dur;let b;try{b=JNe}catch{}function g(m){return Array.isArray(m)?m:n.NQuads.legacyDatasetToQuads(m)}n.NQuads=aMe,n.IdentifierIssuer=sMe,n._rdfCanonizeNative=function(m){return m&&(b=m),b},n.canonize=async function(m,S){const _=g(m);if(S.useNative){if(!b)throw new Error("rdf-canonize-native not available");if(S.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return new Promise((k,I)=>b.canonize(_,S,(C,A)=>C?I(C):k(A)))}if(S.algorithm==="URDNA2015")return new r(S).main(_);if(S.algorithm==="URGNA2012"){if(S.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new o(S).main(_)}throw"algorithm"in S?new Error("Invalid RDF Dataset Canonicalization algorithm: "+S.algorithm):new Error("No RDF Dataset Canonicalization algorithm specified.")},n._canonizeSync=function(m,S){const _=g(m);if(S.useNative){if(!b)throw new Error("rdf-canonize-native not available");if(S.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return b.canonizeSync(_,S)}if(S.algorithm==="URDNA2015")return new l(S).main(_);if(S.algorithm==="URGNA2012"){if(S.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new h(S).main(_)}throw"algorithm"in S?new Error("Invalid RDF Dataset Canonicalization algorithm: "+S.algorithm):new Error("No RDF Dataset Canonicalization algorithm specified.")}})(NJt);var KDe=NJt;const ay={};var pw=ay;ay.isArray=Array.isArray;ay.isBoolean=n=>typeof n=="boolean"||Object.prototype.toString.call(n)==="[object Boolean]";ay.isDouble=n=>ay.isNumber(n)&&(String(n).indexOf(".")!==-1||Math.abs(n)>=1e21);ay.isEmptyObject=n=>ay.isObject(n)&&Object.keys(n).length===0;ay.isNumber=n=>typeof n=="number"||Object.prototype.toString.call(n)==="[object Number]";ay.isNumeric=n=>!isNaN(parseFloat(n))&&isFinite(n);ay.isObject=n=>Object.prototype.toString.call(n)==="[object Object]";ay.isString=n=>typeof n=="string"||Object.prototype.toString.call(n)==="[object String]";ay.isUndefined=n=>typeof n>"u";const fT=pw,Pk={};var Qk=Pk;Pk.isSubject=n=>fT.isObject(n)&&!("@value"in n||"@set"in n||"@list"in n)?Object.keys(n).length>1||!("@id"in n):!1;Pk.isSubjectReference=n=>fT.isObject(n)&&Object.keys(n).length===1&&"@id"in n;Pk.isValue=n=>fT.isObject(n)&&"@value"in n;Pk.isList=n=>fT.isObject(n)&&"@list"in n;Pk.isGraph=n=>fT.isObject(n)&&"@graph"in n&&Object.keys(n).filter(r=>r!=="@id"&&r!=="@index").length===1;Pk.isSimpleGraph=n=>Pk.isGraph(n)&&!("@id"in n);Pk.isBlankNode=n=>{if(fT.isObject(n)){if("@id"in n){const r=n["@id"];return!fT.isString(r)||r.indexOf("_:")===0}return Object.keys(n).length===0||!("@value"in n||"@set"in n||"@list"in n)}return!1};var gy=class extends Error{constructor(r="An unspecified JSON-LD error occurred.",o="jsonld.Error",l={}){super(r),this.name=o,this.message=r,this.details=l}};const dG=Qk,ap=pw,DJt=KDe.IdentifierIssuer,Lur=gy,jur=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,Fur=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,Bur=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,Hur=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,Wur=/^@[a-zA-Z]+$/,FLt={headers:{accept:"application/ld+json, application/json"}},cl={};var wy=cl;cl.IdentifierIssuer=DJt;cl.REGEX_BCP47=jur;cl.REGEX_KEYWORD=Wur;cl.clone=function(n){if(n&&typeof n=="object"){let r;if(ap.isArray(n)){r=[];for(let o=0;o{if(Object.keys(n).some(o=>o.toLowerCase()==="accept"))throw new RangeError('Accept header may not be specified; only "'+FLt.headers.accept+'" is supported.');return Object.assign({Accept:FLt.headers.accept},n)};cl.parseLinkHeader=n=>{const r={},o=n.match(Fur);for(let l=0;l{if(!ap.isString(n)&&!(ap.isArray(n)&&n.every(o=>ap.isString(o)))){if(r&&ap.isObject(n))switch(Object.keys(n).length){case 0:return;case 1:if("@default"in n&&cl.asArray(n["@default"]).every(o=>ap.isString(o)))return}throw new Lur('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:n})}};cl.hasProperty=(n,r)=>{if(n.hasOwnProperty(r)){const o=n[r];return!ap.isArray(o)||o.length>0}return!1};cl.hasValue=(n,r,o)=>{if(cl.hasProperty(n,r)){let l=n[r];const h=dG.isList(l);if(ap.isArray(l)||h){h&&(l=l["@list"]);for(let b=0;b{if(l=l||{},"propertyIsArray"in l||(l.propertyIsArray=!1),"valueIsArray"in l||(l.valueIsArray=!1),"allowDuplicate"in l||(l.allowDuplicate=!0),"prependValue"in l||(l.prependValue=!1),l.valueIsArray)n[r]=o;else if(ap.isArray(o)){o.length===0&&l.propertyIsArray&&!n.hasOwnProperty(r)&&(n[r]=[]),l.prependValue&&(o=o.concat(n[r]),n[r]=[]);for(let h=0;h[].concat(n[r]||[]);cl.removeProperty=(n,r)=>{delete n[r]};cl.removeValue=(n,r,o,l)=>{l=l||{},"propertyIsArray"in l||(l.propertyIsArray=!1);const h=cl.getValues(n,r).filter(b=>!cl.compareValues(b,o));h.length===0?cl.removeProperty(n,r):h.length===1&&!l.propertyIsArray?n[r]=h[0]:n[r]=h};cl.relabelBlankNodes=(n,r)=>{r=r||{};const o=r.issuer||new DJt("_:b");return Sae(o,n)};cl.compareValues=(n,r)=>n===r||dG.isValue(n)&&dG.isValue(r)&&n["@value"]===r["@value"]&&n["@type"]===r["@type"]&&n["@language"]===r["@language"]&&n["@index"]===r["@index"]?!0:ap.isObject(n)&&"@id"in n&&ap.isObject(r)&&"@id"in r?n["@id"]===r["@id"]:!1;cl.compareShortestLeast=(n,r)=>n.length{const o={},l=lp.parsers[r||"full"],h=l.regex.exec(n);let b=l.keys.length;for(;b--;)o[l.keys[b]]=h[b]===void 0?null:h[b];return(o.scheme==="https"&&o.port==="443"||o.scheme==="http"&&o.port==="80")&&(o.href=o.href.replace(":"+o.port,""),o.authority=o.authority.replace(":"+o.port,""),o.port=null),o.normalizedPath=lp.removeDotSegments(o.path),o};lp.prependBase=(n,r)=>{if(n===null||lp.isAbsolute(r))return r;(!n||rfe.isString(n))&&(n=lp.parse(n||""));const o=lp.parse(r),l={protocol:n.protocol||""};if(o.authority!==null)l.authority=o.authority,l.path=o.path,l.query=o.query;else if(l.authority=n.authority,o.path==="")l.path=n.path,o.query!==null?l.query=o.query:l.query=n.query;else{if(o.path.indexOf("/")===0)l.path=o.path;else{let b=n.path;b=b.substr(0,b.lastIndexOf("/")+1),(b.length>0||n.authority)&&b.substr(-1)!=="/"&&(b+="/"),b+=o.path,l.path=b}l.query=o.query}o.path!==""&&(l.path=lp.removeDotSegments(l.path));let h=l.protocol;return l.authority!==null&&(h+="//"+l.authority),h+=l.path,l.query!==null&&(h+="?"+l.query),o.fragment!==null&&(h+="#"+o.fragment),h===""&&(h="./"),h};lp.removeBase=(n,r)=>{if(n===null)return r;(!n||rfe.isString(n))&&(n=lp.parse(n||""));let o="";if(n.href!==""?o+=(n.protocol||"")+"//"+(n.authority||""):r.indexOf("//")&&(o+="//"),r.indexOf(o)!==0)return r;const l=lp.parse(r.substr(o.length)),h=n.normalizedPath.split("/"),b=l.normalizedPath.split("/"),g=l.fragment||l.query?0:1;for(;h.length>0&&b.length>g&&h[0]===b[0];)h.shift(),b.shift();let m="";if(h.length>0){h.pop();for(let S=0;S{if(n.length===0)return"";const r=n.split("/"),o=[];for(;r.length>0;){const l=r.shift(),h=r.length===0;if(l==="."){h&&o.push("");continue}if(l===".."){o.pop(),h&&o.push("");continue}o.push(l)}return n[0]==="/"&&o.length>0&&o[0]!==""&&o.unshift(""),o.length===1&&o[0]===""?"/":o.join("/")};const Uur=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;lp.isAbsolute=n=>rfe.isString(n)&&Uur.test(n);lp.isRelative=n=>rfe.isString(n);const{parseLinkHeader:Vur,buildHeaders:Gur}=wy,{LINK_HEADER_CONTEXT:Kur}=zDe,JU=gy,zur=LJt(),{prependBase:qur}=q6,Xur=/(^|(\r\n))link:/i;var Jur=({secure:n,headers:r={},xhr:o}={headers:{}})=>{return r=Gur(r),new zur().wrapLoader(h);async function h(b){if(b.indexOf("http:")!==0&&b.indexOf("https:")!==0)throw new JU('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:b});if(n&&b.indexOf("https")!==0)throw new JU(`URL could not be dereferenced; secure mode is enabled and the URL's scheme is not "https".`,"jsonld.InvalidUrl",{code:"loading document failed",url:b});let g;try{g=await Yur(o,b,r)}catch(I){throw new JU("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:b,cause:I})}if(g.status>=400)throw new JU("URL could not be dereferenced: "+g.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:b,httpStatusCode:g.status});let m={contextUrl:null,documentUrl:b,document:g.response},S=null;const _=g.getResponseHeader("Content-Type");let k;if(Xur.test(g.getAllResponseHeaders())&&(k=g.getResponseHeader("Link")),k&&_!=="application/ld+json"){const I=Vur(k),C=I[Kur];if(Array.isArray(C))throw new JU("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:b});C&&(m.contextUrl=C.target),S=I.alternate,S&&S.type=="application/ld+json"&&!(_||"").match(/^application\/(\w*\+)?json$/)&&(m=await h(qur(b,S.target)))}return m}};function Yur(n,r,o){n=n||XMLHttpRequest;const l=new n;return new Promise((h,b)=>{l.onload=()=>h(l),l.onerror=g=>b(g),l.open("GET",r,!0);for(const g in o)l.setRequestHeader(g,o[g]);l.send()})}const Qur=Jur,qDe={};var Zur=qDe;qDe.setupDocumentLoaders=function(n){typeof XMLHttpRequest<"u"&&(n.documentLoaders.xhr=Qur,n.useDocumentLoader("xhr"))};qDe.setupGlobals=function(n){typeof globalThis.JsonLdProcessor>"u"&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:n.JsonLdProcessor})};var j8e,HLt;function efr(){return HLt||(HLt=1,j8e=function(n){n.prototype[Symbol.iterator]=function*(){for(let r=this.head;r;r=r.next)yield r.value}}),j8e}var tfr=el;el.Node=dT;el.create=el;function el(n){var r=this;if(r instanceof el||(r=new el),r.tail=null,r.head=null,r.length=0,n&&typeof n.forEach=="function")n.forEach(function(h){r.push(h)});else if(arguments.length>0)for(var o=0,l=arguments.length;o1)o=r;else if(this.head)l=this.head.next,o=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var h=0;l!==null;h++)o=n(o,l.value,h),l=l.next;return o};el.prototype.reduceReverse=function(n,r){var o,l=this.tail;if(arguments.length>1)o=r;else if(this.tail)l=this.tail.prev,o=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var h=this.length-1;l!==null;h--)o=n(o,l.value,h),l=l.prev;return o};el.prototype.toArray=function(){for(var n=new Array(this.length),r=0,o=this.head;o!==null;r++)n[r]=o.value,o=o.next;return n};el.prototype.toArrayReverse=function(){for(var n=new Array(this.length),r=0,o=this.tail;o!==null;r++)n[r]=o.value,o=o.prev;return n};el.prototype.slice=function(n,r){r=r||this.length,r<0&&(r+=this.length),n=n||0,n<0&&(n+=this.length);var o=new el;if(rthis.length&&(r=this.length);for(var l=0,h=this.head;h!==null&&lthis.length&&(r=this.length);for(var l=this.length,h=this.tail;h!==null&&l>r;l--)h=h.prev;for(;h!==null&&l>n;l--,h=h.prev)o.push(h.value);return o};el.prototype.splice=function(n,r,...o){n>this.length&&(n=this.length-1),n<0&&(n=this.length+n);for(var l=0,h=this.head;h!==null&&l1;class sfr{constructor(r){if(typeof r=="number"&&(r={max:r}),r||(r={}),r.max&&(typeof r.max!="number"||r.max<0))throw new TypeError("max must be a non-negative number");this[PI]=r.max||1/0;const o=r.length||F8e;if(this[x9]=typeof o!="function"?F8e:o,this[UV]=r.stale||!1,r.maxAge&&typeof r.maxAge!="number")throw new TypeError("maxAge must be a number");this[DI]=r.maxAge||0,this[rk]=r.dispose,this[WLt]=r.noDisposeOnSet||!1,this[jJt]=r.updateAgeOnGet||!1,this.reset()}set max(r){if(typeof r!="number"||r<0)throw new TypeError("max must be a non-negative number");this[PI]=r||1/0,YU(this)}get max(){return this[PI]}set allowStale(r){this[UV]=!!r}get allowStale(){return this[UV]}set maxAge(r){if(typeof r!="number")throw new TypeError("maxAge must be a non-negative number");this[DI]=r,YU(this)}get maxAge(){return this[DI]}set lengthCalculator(r){typeof r!="function"&&(r=F8e),r!==this[x9]&&(this[x9]=r,this[sk]=0,this[Nh].forEach(o=>{o.length=this[x9](o.value,o.key),this[sk]+=o.length})),YU(this)}get lengthCalculator(){return this[x9]}get length(){return this[sk]}get itemCount(){return this[Nh].length}rforEach(r,o){o=o||this;for(let l=this[Nh].tail;l!==null;){const h=l.prev;ULt(this,r,l,o),l=h}}forEach(r,o){o=o||this;for(let l=this[Nh].head;l!==null;){const h=l.next;ULt(this,r,l,o),l=h}}keys(){return this[Nh].toArray().map(r=>r.key)}values(){return this[Nh].toArray().map(r=>r.value)}reset(){this[rk]&&this[Nh]&&this[Nh].length&&this[Nh].forEach(r=>this[rk](r.key,r.value)),this[s2]=new Map,this[Nh]=new ofr,this[sk]=0}dump(){return this[Nh].map(r=>kle(this,r)?!1:{k:r.key,v:r.value,e:r.now+(r.maxAge||0)}).toArray().filter(r=>r)}dumpLru(){return this[Nh]}set(r,o,l){if(l=l||this[DI],l&&typeof l!="number")throw new TypeError("maxAge must be a number");const h=l?Date.now():0,b=this[x9](o,r);if(this[s2].has(r)){if(b>this[PI])return SN(this,this[s2].get(r)),!1;const S=this[s2].get(r).value;return this[rk]&&(this[WLt]||this[rk](r,S.value)),S.now=h,S.maxAge=l,S.value=o,this[sk]+=b-S.length,S.length=b,this.get(r),YU(this),!0}const g=new afr(r,o,b,h,l);return g.length>this[PI]?(this[rk]&&this[rk](r,o),!1):(this[sk]+=g.length,this[Nh].unshift(g),this[s2].set(r,this[Nh].head),YU(this),!0)}has(r){if(!this[s2].has(r))return!1;const o=this[s2].get(r).value;return!kle(this,o)}get(r){return B8e(this,r,!0)}peek(r){return B8e(this,r,!1)}pop(){const r=this[Nh].tail;return r?(SN(this,r),r.value):null}del(r){SN(this,this[s2].get(r))}load(r){this.reset();const o=Date.now();for(let l=r.length-1;l>=0;l--){const h=r[l],b=h.e||0;if(b===0)this.set(h.k,h.v);else{const g=b-o;g>0&&this.set(h.k,h.v,g)}}}prune(){this[s2].forEach((r,o)=>B8e(this,o,!1))}}const B8e=(n,r,o)=>{const l=n[s2].get(r);if(l){const h=l.value;if(kle(n,h)){if(SN(n,l),!n[UV])return}else o&&(n[jJt]&&(l.value.now=Date.now()),n[Nh].unshiftNode(l));return h.value}},kle=(n,r)=>{if(!r||!r.maxAge&&!n[DI])return!1;const o=Date.now()-r.now;return r.maxAge?o>r.maxAge:n[DI]&&o>n[DI]},YU=n=>{if(n[sk]>n[PI])for(let r=n[Nh].tail;n[sk]>n[PI]&&r!==null;){const o=r.prev;SN(n,r),r=o}},SN=(n,r)=>{if(r){const o=r.value;n[rk]&&n[rk](o.key,o.value),n[sk]-=o.length,n[s2].delete(o.key),n[Nh].removeNode(r)}};class afr{constructor(r,o,l,h,b){this.key=r,this.value=o,this.length=l,this.now=h,this.maxAge=b||0}}const ULt=(n,r,o,l)=>{let h=o.value;kle(n,h)&&(SN(n,o),n[UV]||(h=void 0)),h&&r.call(l,h.value,h.key,n)};var FJt=sfr;const lfr=FJt,cfr=10;var ufr=class{constructor({document:r}){this.document=r,this.cache=new lfr({max:cfr})}getProcessed(r){return this.cache.get(r)}setProcessed(r,o){this.cache.set(r,o)}};const{isArray:f9e,isObject:VV,isString:Rle}=pw,{asArray:ffr}=wy,{prependBase:d9e}=q6,gV=gy,VLt=ufr,GLt=10;var dfr=class{constructor({sharedCache:r}){this.perOpCache=new Map,this.sharedCache=r}async resolve({activeCtx:r,context:o,documentLoader:l,base:h,cycles:b=new Set}){o&&VV(o)&&o["@context"]&&(o=o["@context"]),o=ffr(o);const g=[];for(const m of o){if(Rle(m)){let k=this._get(m);k||(k=await this._resolveRemoteContext({activeCtx:r,url:m,documentLoader:l,base:h,cycles:b})),f9e(k)?g.push(...k):g.push(k);continue}if(m===null){g.push(new VLt({document:null}));continue}VV(m)||hfr(o);const S=JSON.stringify(m);let _=this._get(S);_||(_=new VLt({document:m}),this._cacheResolvedContext({key:S,resolved:_,tag:"static"})),g.push(_)}return g}_get(r){let o=this.perOpCache.get(r);if(!o){const l=this.sharedCache.get(r);l&&(o=l.get("static"),o&&this.perOpCache.set(r,o))}return o}_cacheResolvedContext({key:r,resolved:o,tag:l}){if(this.perOpCache.set(r,o),l!==void 0){let h=this.sharedCache.get(r);h||(h=new Map,this.sharedCache.set(r,h)),h.set(l,o)}return o}async _resolveRemoteContext({activeCtx:r,url:o,documentLoader:l,base:h,cycles:b}){o=d9e(h,o);const{context:g,remoteDoc:m}=await this._fetchContext({activeCtx:r,url:o,documentLoader:l,cycles:b});h=m.documentUrl||o,h9e({context:g,base:h});const S=await this.resolve({activeCtx:r,context:g,documentLoader:l,base:h,cycles:b});return this._cacheResolvedContext({key:o,resolved:S,tag:m.tag}),S}async _fetchContext({activeCtx:r,url:o,documentLoader:l,cycles:h}){if(h.size>GLt)throw new gV("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:r.processingMode==="json-ld-1.0"?"loading remote context failed":"context overflow",max:GLt});if(h.has(o))throw new gV("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:r.processingMode==="json-ld-1.0"?"recursive context inclusion":"context overflow",url:o});h.add(o);let b,g;try{g=await l(o),b=g.document||null,Rle(b)&&(b=JSON.parse(b))}catch(m){throw new gV("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:o,cause:m})}if(!VV(b))throw new gV("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:o});return"@context"in b?b={"@context":b["@context"]}:b={"@context":{}},g.contextUrl&&(f9e(b["@context"])||(b["@context"]=[b["@context"]]),b["@context"].push(g.contextUrl)),{context:b,remoteDoc:g}}};function hfr(n){throw new gV("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:n})}function h9e({context:n,base:r}){if(!n)return;const o=n["@context"];if(Rle(o)){n["@context"]=d9e(r,o);return}if(f9e(o)){for(let l=0;l{const r=[].concat(n.safe?uw.safeEventHandler:[],n.eventHandler?BJt(n.eventHandler):[],uw.defaultEventHandler?uw.defaultEventHandler:[]);return r.length===0?null:r};uw.handleEvent=({event:n,options:r})=>{HJt({event:n,handlers:r.eventHandler})};function HJt({event:n,handlers:r}){let o=!0;for(let l=0;o&&l{o=!0}});else if(typeof h=="object")n.code in h?h[n.code]({event:n,next:()=>{o=!0}}):o=!0;else throw new XDe("Invalid event handler.","jsonld.InvalidEventHandler",{event:n})}return o}const gfr=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference","rdfDirection not set"]);uw.safeEventHandler=function({event:r,next:o}){if(r.level==="warning"&&gfr.has(r.code))throw new XDe("Safe mode validation error.","jsonld.ValidationError",{event:r});o()};uw.logEventHandler=function({event:r,next:o}){console.log(`EVENT: ${r.message}`,{event:r}),o()};uw.logWarningEventHandler=function({event:r,next:o}){r.level==="warning"&&console.warn(`WARNING: ${r.message}`,{event:r}),o()};uw.unhandledEventHandler=function({event:r}){throw new XDe("No handler for event.","jsonld.UnhandledEvent",{event:r})};uw.setDefaultEventHandler=function({eventHandler:n}={}){uw.defaultEventHandler=n?BJt(n):null};const KLt=wy,wo=gy,{isArray:WJt,isObject:R6,isString:j1,isUndefined:wfr}=pw,{isAbsolute:JI,isRelative:mfr,prependBase:GV}=q6,{handleEvent:EN}=yK,{REGEX_BCP47:yfr,REGEX_KEYWORD:Eae,asArray:UJt,compareShortestLeast:vfr}=wy,vse=new Map,_fr=1e4,Bc={};var UT=Bc;Bc.process=async({activeCtx:n,localCtx:r,options:o,propagate:l=!0,overrideProtected:h=!1,cycles:b=new Set})=>{if(R6(r)&&"@context"in r&&WJt(r["@context"])&&(r=r["@context"]),UJt(r).length===0)return n;const m=[],S=[({event:C,next:A})=>{m.push(C),A()}];o.eventHandler&&S.push(o.eventHandler);const _=o;o={...o,eventHandler:S};const k=await o.contextResolver.resolve({activeCtx:n,context:r,documentLoader:o.documentLoader,base:o.base});R6(k[0].document)&&typeof k[0].document["@propagate"]=="boolean"&&(l=k[0].document["@propagate"]);let I=n;!l&&!I.previousContext&&(I=I.clone(),I.previousContext=n);for(const C of k){let{document:A}=C;if(n=I,A===null){if(!h&&Object.keys(n.protected).length!==0)throw new wo("Tried to nullify a context with protected terms outside of a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"});I=n=Bc.getInitialContext(o).clone();continue}const M=C.getProcessed(n);if(M){if(_.eventHandler)for(const H of M.events)EN({event:H,options:_});I=n=M.context;continue}if(R6(A)&&"@context"in A&&(A=A["@context"]),!R6(A))throw new wo("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:A});I=I.clone();const D=new Map;if("@version"in A){if(A["@version"]!==1.1)throw new wo("Unsupported JSON-LD version: "+A["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:A});if(n.processingMode&&n.processingMode==="json-ld-1.0")throw new wo("@version: "+A["@version"]+" not compatible with "+n.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:A});I.processingMode="json-ld-1.1",I["@version"]=A["@version"],D.set("@version",!0)}if(I.processingMode=I.processingMode||n.processingMode,"@base"in A){let H=A["@base"];if(!(H===null||JI(H)))if(mfr(H))H=GV(I["@base"],H);else throw new wo('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:A});I["@base"]=H,D.set("@base",!0)}if("@vocab"in A){const H=A["@vocab"];if(H===null)delete I["@vocab"];else if(j1(H)){if(!JI(H)&&Bc.processingMode(I,1))throw new wo('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:A});{const G=nN(I,H,{vocab:!0,base:!0},void 0,void 0,o);JI(G)||o.eventHandler&&EN({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:G}},options:o}),I["@vocab"]=G}}else throw new wo('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:A});D.set("@vocab",!0)}if("@language"in A){const H=A["@language"];if(H===null)delete I["@language"];else if(j1(H))H.match(yfr)||o.eventHandler&&EN({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:H}},options:o}),I["@language"]=H.toLowerCase();else throw new wo('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:A});D.set("@language",!0)}if("@direction"in A){const H=A["@direction"];if(n.processingMode==="json-ld-1.0")throw new wo("Invalid JSON-LD syntax; @direction not compatible with "+n.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:A});if(H===null)delete I["@direction"];else{if(H!=="ltr"&&H!=="rtl")throw new wo('Invalid JSON-LD syntax; the value of "@direction" in a @context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:A});I["@direction"]=H}D.set("@direction",!0)}if("@propagate"in A){const H=A["@propagate"];if(n.processingMode==="json-ld-1.0")throw new wo("Invalid JSON-LD syntax; @propagate not compatible with "+n.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:A});if(typeof H!="boolean")throw new wo("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:r});D.set("@propagate",!0)}if("@import"in A){const H=A["@import"];if(n.processingMode==="json-ld-1.0")throw new wo("Invalid JSON-LD syntax; @import not compatible with "+n.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:A});if(!j1(H))throw new wo("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:r});const G=await o.contextResolver.resolve({activeCtx:n,context:H,documentLoader:o.documentLoader,base:o.base});if(G.length!==1)throw new wo("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:r});const Y=G[0].getProcessed(n);if(Y)A=Y;else{const F=G[0].document;if("@import"in F)throw new wo("Invalid JSON-LD syntax: imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:r});for(const Q in F)A.hasOwnProperty(Q)||(A[Q]=F[Q]);G[0].setProcessed(n,A)}D.set("@import",!0)}D.set("@protected",A["@protected"]||!1);for(const H in A)if(Bc.createTermDefinition({activeCtx:I,localCtx:A,term:H,defined:D,options:o,overrideProtected:h}),R6(A[H])&&"@context"in A[H]){const G=A[H]["@context"];let Y=!0;if(j1(G)){const F=GV(o.base,G);b.has(F)?Y=!1:b.add(F)}if(Y)try{await Bc.process({activeCtx:I.clone(),localCtx:A[H]["@context"],overrideProtected:!0,options:o,cycles:b})}catch{throw new wo("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:A[H]["@context"],term:H})}}C.setProcessed(n,{context:I,events:m})}return I};Bc.createTermDefinition=({activeCtx:n,localCtx:r,term:o,defined:l,options:h,overrideProtected:b=!1})=>{if(l.has(o)){if(l.get(o))return;throw new wo("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:r,term:o})}l.set(o,!1);let g;if(r.hasOwnProperty(o)&&(g=r[o]),o==="@type"&&R6(g)&&(g["@container"]||"@set")==="@set"&&Bc.processingMode(n,1.1)){const A=["@container","@id","@protected"],M=Object.keys(g);if(M.length===0||M.some(D=>!A.includes(D)))throw new wo("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:r,term:o})}else{if(Bc.isKeyword(o))throw new wo("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:r,term:o});if(o.match(Eae)){h.eventHandler&&EN({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are reserved for future use and dropped.',details:{term:o}},options:h});return}else if(o==="")throw new wo("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:r})}const m=n.mappings.get(o);n.mappings.has(o)&&n.mappings.delete(o);let S=!1;if((j1(g)||g===null)&&(S=!0,g={"@id":g}),!R6(g))throw new wo("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:r});const _={};n.mappings.set(o,_),_.reverse=!1;const k=["@container","@id","@language","@reverse","@type"];Bc.processingMode(n,1.1)&&k.push("@context","@direction","@index","@nest","@prefix","@protected");for(const A in g)if(!k.includes(A))throw new wo("Invalid JSON-LD syntax; a term definition must not contain "+A,"jsonld.SyntaxError",{code:"invalid term definition",context:r});const I=o.indexOf(":");if(_._termHasColon=I>0,"@reverse"in g){if("@id"in g)throw new wo("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:r});if("@nest"in g)throw new wo("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:r});const A=g["@reverse"];if(!j1(A))throw new wo("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:r});if(A.match(Eae)){h.eventHandler&&EN({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are reserved for future use and dropped.',details:{reverse:A}},options:h}),m?n.mappings.set(o,m):n.mappings.delete(o);return}const M=nN(n,A,{vocab:!0,base:!1},r,l,h);if(!JI(M))throw new wo("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:r});_["@id"]=M,_.reverse=!0}else if("@id"in g){let A=g["@id"];if(A&&!j1(A))throw new wo("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:r});if(A===null)_["@id"]=null;else if(!Bc.isKeyword(A)&&A.match(Eae)){h.eventHandler&&EN({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are reserved for future use and dropped.',details:{id:A}},options:h}),m?n.mappings.set(o,m):n.mappings.delete(o);return}else if(A!==o){if(A=nN(n,A,{vocab:!0,base:!1},r,l,h),!JI(A)&&!Bc.isKeyword(A))throw new wo("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:r});if(o.match(/(?::[^:])|\//)){const M=new Map(l).set(o,!0);if(nN(n,o,{vocab:!0,base:!1},r,M,h)!==A)throw new wo("Invalid JSON-LD syntax; term in form of IRI must expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:r})}_["@id"]=A,_._prefix=S&&!_._termHasColon&&A.match(/[:\/\?#\[\]@]$/)!==null}}if(!("@id"in _))if(_._termHasColon){const A=o.substr(0,I);if(r.hasOwnProperty(A)&&Bc.createTermDefinition({activeCtx:n,localCtx:r,term:A,defined:l,options:h}),n.mappings.has(A)){const M=o.substr(I+1);_["@id"]=n.mappings.get(A)["@id"]+M}else _["@id"]=o}else if(o==="@type")_["@id"]=o;else{if(!("@vocab"in n))throw new wo("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:r,term:o});_["@id"]=n["@vocab"]+o}if((g["@protected"]===!0||l.get("@protected")===!0&&g["@protected"]!==!1)&&(n.protected[o]=!0,_.protected=!0),l.set(o,!0),"@type"in g){let A=g["@type"];if(!j1(A))throw new wo("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:r});if(A==="@json"||A==="@none"){if(Bc.processingMode(n,1))throw new wo(`Invalid JSON-LD syntax; an @context @type value must not be "${A}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:r})}else if(A!=="@id"&&A!=="@vocab"){if(A=nN(n,A,{vocab:!0,base:!1},r,l,h),!JI(A))throw new wo("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:r});if(A.indexOf("_:")===0)throw new wo("Invalid JSON-LD syntax; an @context @type value must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:r})}_["@type"]=A}if("@container"in g){const A=j1(g["@container"])?[g["@container"]]:g["@container"]||[],M=["@list","@set","@index","@language"];let D=!0;const H=A.includes("@set");if(Bc.processingMode(n,1.1)){if(M.push("@graph","@id","@type"),A.includes("@list")){if(A.length!==1)throw new wo("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:r})}else if(A.includes("@graph")){if(A.some(G=>G!=="@graph"&&G!=="@id"&&G!=="@index"&&G!=="@set"))throw new wo("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:r})}else D&=A.length<=(H?2:1);if(A.includes("@type")&&(_["@type"]=_["@type"]||"@id",!["@id","@vocab"].includes(_["@type"])))throw new wo("Invalid JSON-LD syntax; container: @type requires @type to be @id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:r})}else D&=!WJt(g["@container"]),D&=A.length<=1;if(D&=A.every(G=>M.includes(G)),D&=!(H&&A.includes("@list")),!D)throw new wo("Invalid JSON-LD syntax; @context @container value must be one of the following: "+M.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:r});if(_.reverse&&!A.every(G=>["@index","@set"].includes(G)))throw new wo("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:r});_["@container"]=A}if("@index"in g){if(!("@container"in g)||!_["@container"].includes("@index"))throw new wo(`Invalid JSON-LD syntax; @index without @index in @container: "${g["@index"]}" on term "${o}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:r});if(!j1(g["@index"])||g["@index"].indexOf("@")===0)throw new wo(`Invalid JSON-LD syntax; @index must expand to an IRI: "${g["@index"]}" on term "${o}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:r});_["@index"]=g["@index"]}if("@context"in g&&(_["@context"]=g["@context"]),"@language"in g&&!("@type"in g)){let A=g["@language"];if(A!==null&&!j1(A))throw new wo("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:r});A!==null&&(A=A.toLowerCase()),_["@language"]=A}if("@prefix"in g){if(o.match(/:|\//))throw new wo("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:r});if(Bc.isKeyword(_["@id"]))throw new wo("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:r});if(typeof g["@prefix"]=="boolean")_._prefix=g["@prefix"]===!0;else throw new wo("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:r})}if("@direction"in g){const A=g["@direction"];if(A!==null&&A!=="ltr"&&A!=="rtl")throw new wo('Invalid JSON-LD syntax; @direction value must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:r});_["@direction"]=A}if("@nest"in g){const A=g["@nest"];if(!j1(A)||A!=="@nest"&&A.indexOf("@")===0)throw new wo("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:r});_["@nest"]=A}// disallow aliasing @context and @preserve +const C=_["@id"];if(C==="@context"||C==="@preserve")throw new wo("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:r});if(m&&m.protected&&!b&&(n.protected[o]=!0,_.protected=!0,!b9e(m,_)))throw new wo("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:r,term:o})};Bc.expandIri=(n,r,o,l)=>nN(n,r,o,void 0,void 0,l);function nN(n,r,o,l,h,b){if(r===null||!j1(r)||Bc.isKeyword(r))return r;if(r.match(Eae))return null;if(l&&l.hasOwnProperty(r)&&h.get(r)!==!0&&Bc.createTermDefinition({activeCtx:n,localCtx:l,term:r,defined:h,options:b}),o=o||{},o.vocab){const m=n.mappings.get(r);if(m===null)return null;if(R6(m)&&"@id"in m)return m["@id"]}const g=r.indexOf(":");if(g>0){const m=r.substr(0,g),S=r.substr(g+1);if(m==="_"||S.indexOf("//")===0)return r;l&&l.hasOwnProperty(m)&&Bc.createTermDefinition({activeCtx:n,localCtx:l,term:m,defined:h,options:b});const _=n.mappings.get(m);if(_&&_._prefix)return _["@id"]+S;if(JI(r))return r}if(o.vocab&&"@vocab"in n)r=n["@vocab"]+r;else if(o.base){let m,S;"@base"in n?n["@base"]?(S=GV(b.base,n["@base"]),m=GV(S,r)):(S=n["@base"],m=r):(S=b.base,m=GV(b.base,r)),r=m}return r}Bc.getInitialContext=n=>{const r=JSON.stringify({processingMode:n.processingMode}),o=vse.get(r);if(o)return o;const l={processingMode:n.processingMode,mappings:new Map,inverse:null,getInverse:h,clone:m,revertToPreviousContext:S,protected:{}};return vse.size===_fr&&vse.clear(),vse.set(r,l),l;function h(){const _=this;if(_.inverse)return _.inverse;const k=_.inverse={},I=_.fastCurieMap={},C={},A=(_["@language"]||"@none").toLowerCase(),M=_["@direction"],D=_.mappings,H=[...D.keys()].sort(vfr);for(const G of H){const Y=D.get(G);if(Y===null)continue;let F=Y["@container"]||"@none";if(F=[].concat(F).sort().join(""),Y["@id"]===null)continue;const Q=UJt(Y["@id"]);for(const ne of Q){let be=k[ne];const De=Bc.isKeyword(ne);if(be)!De&&!Y._termHasColon&&C[ne].push(G);else if(k[ne]=be={},!De&&!Y._termHasColon){C[ne]=[G];const Ee={iri:ne,terms:C[ne]};ne[0]in I?I[ne[0]].push(Ee):I[ne[0]]=[Ee]}if(be[F]||(be[F]={"@language":{},"@type":{},"@any":{}}),be=be[F],g(G,be["@any"],"@none"),Y.reverse)g(G,be["@type"],"@reverse");else if(Y["@type"]==="@none")g(G,be["@any"],"@none"),g(G,be["@language"],"@none"),g(G,be["@type"],"@none");else if("@type"in Y)g(G,be["@type"],Y["@type"]);else if("@language"in Y&&"@direction"in Y){const Ee=Y["@language"],Ae=Y["@direction"];Ee&&Ae?g(G,be["@language"],`${Ee}_${Ae}`.toLowerCase()):Ee?g(G,be["@language"],Ee.toLowerCase()):Ae?g(G,be["@language"],`_${Ae}`):g(G,be["@language"],"@null")}else"@language"in Y?g(G,be["@language"],(Y["@language"]||"@null").toLowerCase()):"@direction"in Y?Y["@direction"]?g(G,be["@language"],`_${Y["@direction"]}`):g(G,be["@language"],"@none"):M?(g(G,be["@language"],`_${M}`),g(G,be["@language"],"@none"),g(G,be["@type"],"@none")):(g(G,be["@language"],A),g(G,be["@language"],"@none"),g(G,be["@type"],"@none"))}}for(const G in I)b(I,G,1);return k}function b(_,k,I){const C=_[k],A=_[k]={};let M,D;for(const H of C)M=H.iri,I>=M.length?D="":D=M[I],D in A?A[D].push(H):A[D]=[H];for(const H in A)H!==""&&b(A,H,I+1)}function g(_,k,I){k.hasOwnProperty(I)||(k[I]=_)}function m(){const _={};return _.mappings=KLt.clone(this.mappings),_.clone=this.clone,_.inverse=null,_.getInverse=this.getInverse,_.protected=KLt.clone(this.protected),this.previousContext&&(_.previousContext=this.previousContext.clone()),_.revertToPreviousContext=this.revertToPreviousContext,"@base"in this&&(_["@base"]=this["@base"]),"@language"in this&&(_["@language"]=this["@language"]),"@vocab"in this&&(_["@vocab"]=this["@vocab"]),_}function S(){return this.previousContext?this.previousContext.clone():this}};Bc.getContextValue=(n,r,o)=>{if(r===null)return o==="@context"?void 0:null;if(n.mappings.has(r)){const l=n.mappings.get(r);if(wfr(o))return l;if(l.hasOwnProperty(o))return l[o]}if(o==="@language"&&o in n||o==="@direction"&&o in n)return n[o];if(o!=="@context")return null};Bc.processingMode=(n,r)=>r.toString()>="1.1"?!n.processingMode||n.processingMode>="json-ld-"+r.toString():n.processingMode==="json-ld-1.0";Bc.isKeyword=n=>{if(!j1(n)||n[0]!=="@")return!1;switch(n){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1};function b9e(n,r){if(!(n&&typeof n=="object")||!(r&&typeof r=="object"))return n===r;const o=Array.isArray(n);if(o!==Array.isArray(r))return!1;if(o){if(n.length!==r.length)return!1;for(let b=0;b{if(o==null)return null;if(r==="@default"&&(l=Object.assign({},l,{isFrame:!1})),!ty(o)&&!Jm(o))return!h&&(r===null||_d(n,r,{vocab:!0},l)==="@graph")?(l.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:o}},options:l}),null):zJt({activeCtx:n,activeProperty:r,value:o,options:l});if(ty(o)){let M=[];const D=cw(n,r,"@container")||[];h=h||D.includes("@list");for(let H=0;H1?H.slice().sort():H:[H];for(const Y of G){const F=cw(g,Y,"@context");Ale(F)||(n=await KV({activeCtx:n,localCtx:F,options:l,propagate:!1}))}}let C={};await KJt({activeCtx:n,activeProperty:r,expandedActiveProperty:m,element:o,expandedParent:C,options:l,insideList:h,typeKey:I,typeScopedContext:g}),_=Object.keys(C);let A=_.length;if("@value"in C){if("@type"in C&&("@language"in C||"@direction"in C))throw new bu('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:C});let M=A-1;if("@type"in C&&(M-=1),"@index"in C&&(M-=1),"@language"in C&&(M-=1),"@direction"in C&&(M-=1),M!==0)throw new bu('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:C});const D=C["@value"]===null?[]:o2(C["@value"]),H=Rfr(C,"@type");if(!(kae(n,1.1)&&H.includes("@json")&&H.length===1))if(D.length===0)l.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:C}},options:l}),C=null;else{if(!D.every(G=>ip(G)||p9e(G))&&"@language"in C)throw new bu("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:C});if(!H.every(G=>Rae(G)&&!(ip(G)&&G.indexOf("_:")===0)||p9e(G)))throw new bu('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:C})}}else if("@type"in C&&!ty(C["@type"]))C["@type"]=[C["@type"]];else if("@set"in C||"@list"in C){if(A>1&&!(A===2&&"@index"in C))throw new bu('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:C});"@set"in C&&(C=C["@set"],_=Object.keys(C),A=_.length)}else A===1&&"@language"in C&&(l.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:C}},options:l}),C=null);return Jm(C)&&!l.keepFreeFloatingNodes&&!h&&(r===null||m==="@graph"||(cw(n,r,"@container")||[]).includes("@graph"))&&(C=GJt({value:C,count:A,options:l})),C};function GJt({value:n,count:r,options:o}){if(r===0||"@value"in n||"@list"in n||r===1&&"@id"in n){if(o.eventHandler){let l,h;r===0?(l="empty object",h="Dropping empty object."):"@value"in n?(l="object with only @value",h="Dropping object with only @value."):"@list"in n?(l="object with only @list",h="Dropping object with only @list."):r===1&&"@id"in n&&(l="object with only @id",h="Dropping object with only @id."),Zm({event:{type:["JsonLdEvent"],code:l,level:"warning",message:h,details:{value:n}},options:o})}return null}return n}async function KJt({activeCtx:n,activeProperty:r,expandedActiveProperty:o,element:l,expandedParent:h,options:b={},insideList:g,typeKey:m,typeScopedContext:S}){const _=Object.keys(l).sort(),k=[];let I;const C=l[m]&&_d(n,ty(l[m])?l[m][0]:l[m],{vocab:!0},{...b,typeExpansion:!0})==="@json";for(const A of _){let M=l[A],D;if(A==="@context")continue;const H=_d(n,A,{vocab:!0},b);if(H===null||!(Rae(H)||w9e(H))){b.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an absolute IRI or keyword.",details:{property:A,expandedProperty:H}},options:b});continue}if(w9e(H)){if(o==="@reverse")throw new bu("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:M});if(H in h&&H!=="@included"&&H!=="@type")throw new bu("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:H})}if(H==="@id"){if(!ip(M)){if(!b.isFrame)throw new bu('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:M});if(Jm(M)){if(!p9e(M))throw new bu('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:M})}else if(ty(M)){if(!M.every(Q=>ip(Q)))throw new bu('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:M})}else throw new bu('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:M})}lw(h,"@id",o2(M).map(Q=>{if(ip(Q)){const ne=_d(n,Q,{base:!0},b);return b.eventHandler&&(ne===null?Zm(Q===null?{event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:Q}},options:b}:{event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:Q}},options:b}):Rae(ne)||Zm({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:Q,expandedId:ne}},options:b})),ne}return Q}),{propertyIsArray:b.isFrame});continue}if(H==="@type"){Jm(M)&&(M=Object.fromEntries(Object.entries(M).map(([Q,ne])=>[_d(S,Q,{vocab:!0}),o2(ne).map(be=>_d(S,be,{base:!0,vocab:!0},{...b,typeExpansion:!0}))]))),Afr(M,b.isFrame),lw(h,"@type",o2(M).map(Q=>{if(ip(Q)){const ne=_d(S,Q,{base:!0,vocab:!0},{...b,typeExpansion:!0});return ne!=="@json"&&!Rae(ne)&&b.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:Q}},options:b}),ne}return Q}),{propertyIsArray:!!b.isFrame});continue}if(H==="@included"&&kae(n,1.1)){const Q=o2(await I6.expand({activeCtx:n,activeProperty:r,element:M,options:b}));if(!Q.every(ne=>Efr(ne)))throw new bu("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:M});lw(h,"@included",Q,{propertyIsArray:!0});continue}if(H==="@graph"&&!(Jm(M)||ty(M)))throw new bu('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:M});if(H==="@value"){I=M,C&&kae(n,1.1)?h["@value"]=M:lw(h,"@value",M,{propertyIsArray:b.isFrame});continue}if(H==="@language"){if(M===null)continue;if(!ip(M)&&!b.isFrame)throw new bu('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:M});M=o2(M).map(Q=>ip(Q)?Q.toLowerCase():Q);for(const Q of M)ip(Q)&&!Q.match(VJt)&&b.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:Q}},options:b});lw(h,"@language",M,{propertyIsArray:b.isFrame});continue}if(H==="@direction"){if(!ip(M)&&!b.isFrame)throw new bu('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:M});M=o2(M);for(const Q of M)if(ip(Q)&&Q!=="ltr"&&Q!=="rtl")throw new bu('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:M});lw(h,"@direction",M,{propertyIsArray:b.isFrame});continue}if(H==="@index"){if(!ip(M))throw new bu('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:M});lw(h,"@index",M);continue}if(H==="@reverse"){if(!Jm(M))throw new bu('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:M});if(D=await I6.expand({activeCtx:n,activeProperty:"@reverse",element:M,options:b}),"@reverse"in D)for(const ne in D["@reverse"])lw(h,ne,D["@reverse"][ne],{propertyIsArray:!0});let Q=h["@reverse"]||null;for(const ne in D){if(ne==="@reverse")continue;Q===null&&(Q=h["@reverse"]={}),lw(Q,ne,[],{propertyIsArray:!0});const be=D[ne];for(let De=0;DeQ==="@id"||Q==="@index")){if(D=o2(D),b.isFrame||(D=D.filter(Q=>{const ne=Object.keys(Q).length;return GJt({value:Q,count:ne,options:b})!==null})),D.length===0)continue;D=D.map(Q=>({"@graph":o2(Q)}))}if(G.mappings.has(A)&&G.mappings.get(A).reverse){const Q=h["@reverse"]=h["@reverse"]||{};D=o2(D);for(let ne=0;ne_d(n,H,{vocab:!0},b)==="@value"))throw new bu("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:D});await KJt({activeCtx:n,activeProperty:r,expandedActiveProperty:o,element:D,expandedParent:h,options:b,insideList:g,typeScopedContext:S,typeKey:m})}}}function zJt({activeCtx:n,activeProperty:r,value:o,options:l}){if(o==null)return null;const h=_d(n,r,{vocab:!0},l);if(h==="@id")return _d(n,o,{base:!0},l);if(h==="@type")return _d(n,o,{vocab:!0,base:!0},{...l,typeExpansion:!0});const b=cw(n,r,"@type");if((b==="@id"||h==="@graph")&&ip(o)){const m=_d(n,o,{base:!0},l);return m===null&&o.match(kfr)&&l.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:r}},options:l}),{"@id":m}}if(b==="@vocab"&&ip(o))return{"@id":_d(n,o,{vocab:!0,base:!0},l)};if(w9e(h))return o;const g={};if(b&&!["@id","@vocab","@none"].includes(b))g["@type"]=b;else if(ip(o)){const m=cw(n,r,"@language");m!==null&&(g["@language"]=m);const S=cw(n,r,"@direction");S!==null&&(g["@direction"]=S)}return["boolean","number","string"].includes(typeof o)||(o=o.toString()),g["@value"]=o,g}function xfr(n,r,o,l){const h=[],b=Object.keys(r).sort();for(const g of b){const m=_d(n,g,{vocab:!0},l);let S=r[g];ty(S)||(S=[S]);for(const _ of S){if(_===null)continue;if(!ip(_))throw new bu("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:r});const k={"@value":_};m!=="@none"&&(g.match(VJt)||l.eventHandler&&Zm({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:g}},options:l}),k["@language"]=g.toLowerCase()),o&&(k["@direction"]=o),h.push(k)}}return h}async function W8e({activeCtx:n,options:r,activeProperty:o,value:l,asGraph:h,indexKey:b,propertyIndex:g}){const m=[],S=Object.keys(l).sort(),_=b==="@type";for(let k of S){if(_){const A=cw(n,k,"@context");Ale(A)||(n=await KV({activeCtx:n,localCtx:A,propagate:!1,options:r}))}let I=l[k];ty(I)||(I=[I]),I=await I6.expand({activeCtx:n,activeProperty:o,element:I,options:r,insideList:!1,insideIndex:!0});let C;g?k==="@none"?C="@none":C=zJt({activeCtx:n,activeProperty:b,value:k,options:r}):C=_d(n,k,{vocab:!0},r),b==="@id"?k=_d(n,k,{base:!0},r):_&&(k=C);for(let A of I){if(h&&!Sfr(A)&&(A={"@graph":[A]}),b==="@type")C==="@none"||(A["@type"]?A["@type"]=[k].concat(A["@type"]):A["@type"]=[k]);else{if(g9e(A)&&!["@language","@type","@index"].includes(b))throw new bu(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${b}".`,"jsonld.SyntaxError",{code:"invalid value object",value:A});g?C!=="@none"&&lw(A,g,C,{propertyIsArray:!0,prependValue:!0}):C!=="@none"&&!(b in A)&&(A[b]=k)}m.push(A)}}return m}const{isKeyword:qJt}=UT,bS=Qk,U8e=pw,SS=wy,$fr=gy,wg={};var ife=wg;wg.createMergedNodeMap=(n,r)=>{r=r||{};const o=r.issuer||new SS.IdentifierIssuer("_:b"),l={"@default":{}};return wg.createNodeMap(n,l,"@default",o),wg.mergeNodeMaps(l)};wg.createNodeMap=(n,r,o,l,h,b)=>{if(U8e.isArray(n)){for(const _ of n)wg.createNodeMap(_,r,o,l,void 0,b);return}if(!U8e.isObject(n)){b&&b.push(n);return}if(bS.isValue(n)){if("@type"in n){let _=n["@type"];_.indexOf("_:")===0&&(n["@type"]=_=l.getId(_))}b&&b.push(n);return}else if(b&&bS.isList(n)){const _=[];wg.createNodeMap(n["@list"],r,o,l,h,_),b.push({"@list":_});return}if("@type"in n){const _=n["@type"];for(const k of _)k.indexOf("_:")===0&&l.getId(k)}U8e.isUndefined(h)&&(h=bS.isBlankNode(n)?l.getId(n["@id"]):n["@id"]),b&&b.push({"@id":h});const g=r[o],m=g[h]=g[h]||{};m["@id"]=h;const S=Object.keys(n).sort();for(let _ of S){if(_==="@id")continue;if(_==="@reverse"){const I={"@id":h},C=n["@reverse"];for(const A in C){const M=C[A];for(const D of M){let H=D["@id"];bS.isBlankNode(D)&&(H=l.getId(H)),wg.createNodeMap(D,r,o,l,H),SS.addValue(g[H],A,I,{propertyIsArray:!0,allowDuplicate:!1})}}continue}if(_==="@graph"){h in r||(r[h]={}),wg.createNodeMap(n[_],r,h,l);continue}if(_==="@included"){wg.createNodeMap(n[_],r,o,l);continue}if(_!=="@type"&&qJt(_)){if(_==="@index"&&_ in m&&(n[_]!==m[_]||n[_]["@id"]!==m[_]["@id"]))throw new $fr("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:m});m[_]=n[_];continue}const k=n[_];if(_.indexOf("_:")===0&&(_=l.getId(_)),k.length===0){SS.addValue(m,_,[],{propertyIsArray:!0});continue}for(let I of k)if(_==="@type"&&(I=I.indexOf("_:")===0?l.getId(I):I),bS.isSubject(I)||bS.isSubjectReference(I)){if("@id"in I&&!I["@id"])continue;const C=bS.isBlankNode(I)?l.getId(I["@id"]):I["@id"];SS.addValue(m,_,{"@id":C},{propertyIsArray:!0,allowDuplicate:!1}),wg.createNodeMap(I,r,o,l,C)}else if(bS.isValue(I))SS.addValue(m,_,I,{propertyIsArray:!0,allowDuplicate:!1});else if(bS.isList(I)){const C=[];wg.createNodeMap(I["@list"],r,o,l,h,C),I={"@list":C},SS.addValue(m,_,I,{propertyIsArray:!0,allowDuplicate:!1})}else wg.createNodeMap(I,r,o,l,h),SS.addValue(m,_,I,{propertyIsArray:!0,allowDuplicate:!1})}};wg.mergeNodeMapGraphs=n=>{const r={};for(const o of Object.keys(n).sort())for(const l of Object.keys(n[o]).sort()){const h=n[o][l];l in r||(r[l]={"@id":l});const b=r[l];for(const g of Object.keys(h).sort())if(qJt(g)&&g!=="@type")b[g]=SS.clone(h[g]);else for(const m of h[g])SS.addValue(b,g,SS.clone(m),{propertyIsArray:!0,allowDuplicate:!1})}return r};wg.mergeNodeMaps=n=>{const r=n["@default"],o=Object.keys(n).sort();for(const l of o){if(l==="@default")continue;const h=n[l];let b=r[l];b?"@graph"in b||(b["@graph"]=[]):r[l]=b={"@id":l,"@graph":[]};const g=b["@graph"];for(const m of Object.keys(h).sort()){const S=h[m];bS.isSubjectReference(S)||g.push(S)}}return r};const{isSubjectReference:Ifr}=Qk,{createMergedNodeMap:Tfr}=ife,XJt={};var Pfr=XJt;XJt.flatten=n=>{const r=Tfr(n),o=[],l=Object.keys(r).sort();for(let h=0;h{const{useRdfType:o=!1,useNativeTypes:l=!1,rdfDirection:h=null}=r,b={},g={"@default":b},m={};if(h){if(h==="compound-literal")throw new m9e("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:h});if(h!=="i18n-datatype")throw new m9e("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:h})}for(const k of n){const I=k.graph.termType==="DefaultGraph"?"@default":k.graph.value;I in g||(g[I]={}),I!=="@default"&&!(I in b)&&(b[I]={"@id":I});const C=g[I],A=k.subject.value,M=k.predicate.value,D=k.object;A in C||(C[A]={"@id":A});const H=C[A],G=D.termType.endsWith("Node");if(G&&!(D.value in C)&&(C[D.value]={"@id":D.value}),M===Nfr&&!o&&G){qLt(H,"@type",D.value,{propertyIsArray:!0});continue}const Y=Lfr(D,l,h,r);if(qLt(H,M,Y,{propertyIsArray:!0}),G)if(D.value===z8e){const F=C[D.value];"usages"in F||(F.usages=[]),F.usages.push({node:H,property:M,value:Y})}else D.value in m?m[D.value]=!1:m[D.value]={node:H,property:M,value:Y}}for(const k in g){const I=g[k];if(!(z8e in I))continue;const C=I[z8e];if(C.usages){for(let A of C.usages){let M=A.node,D=A.property,H=A.value;const G=[],Y=[];let F=Object.keys(M).length;for(;D===K8e&&wV.isObject(m[M["@id"]])&&wV.isArray(M[G8e])&&M[G8e].length===1&&wV.isArray(M[K8e])&&M[K8e].length===1&&(F===3||F===4&&wV.isArray(M["@type"])&&M["@type"].length===1&&M["@type"][0]===Ofr)&&(G.push(M[G8e][0]),Y.push(M["@id"]),A=m[M["@id"]],M=A.node,D=A.property,H=A.value,F=Object.keys(M).length,!!V8e.isBlankNode(M)););delete H["@id"],H["@list"]=G.reverse();for(const Q of Y)delete I[Q]}delete C.usages}}const S=[],_=Object.keys(b).sort();for(const k of _){const I=b[k];if(k in g){const C=I["@graph"]=[],A=g[k],M=Object.keys(A).sort();for(const D of M){const H=A[D];V8e.isSubjectReference(H)||C.push(H)}}V8e.isSubjectReference(I)||S.push(I)}return S};function Lfr(n,r,o,l){if(n.termType.endsWith("Node"))return{"@id":n.value};const h={"@value":n.value};if(n.language)n.language.match(zLt)||l.eventHandler&&XLt({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:n.language}},options:l}),h["@language"]=n.language;else{let b=n.datatype.value;if(b||(b=q8e),b===Mfr){b="@json";try{h["@value"]=JSON.parse(h["@value"])}catch(g){throw new m9e("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:h["@value"],cause:g})}}if(r){if(b===JLt)h["@value"]==="true"?h["@value"]=!0:h["@value"]==="false"&&(h["@value"]=!1);else if(wV.isNumeric(h["@value"]))if(b===QLt){const g=parseInt(h["@value"],10);g.toFixed(0)===h["@value"]&&(h["@value"]=g)}else b===YLt&&(h["@value"]=parseFloat(h["@value"]));[JLt,QLt,YLt,q8e].includes(b)||(h["@type"]=b)}else if(o==="i18n-datatype"&&b.startsWith("https://www.w3.org/ns/i18n#")){const[,g,m]=b.split(/[#_]/);g.length>0&&(h["@language"]=g,g.match(zLt)||l.eventHandler&&XLt({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:g}},options:l})),h["@direction"]=m}else b!==q8e&&(h["@type"]=b)}return h}const{createNodeMap:jfr}=ife,{isKeyword:Ffr}=UT,ZLt=Qk,Bfr=kGt,ejt=gy,QU=pw,Hfr=wy,{handleEvent:YI}=yK,{RDF_FIRST:Wfr,RDF_REST:Ufr,RDF_NIL:Vfr,RDF_TYPE:Gfr,RDF_JSON_LITERAL:Kfr,RDF_LANGSTRING:zfr,XSD_BOOLEAN:qfr,XSD_DOUBLE:tjt,XSD_INTEGER:Xfr,XSD_STRING:Jfr}=zDe,{isAbsolute:Cle}=q6,YJt={};var Yfr=YJt;YJt.toRDF=(n,r)=>{const o=new Hfr.IdentifierIssuer("_:b"),l={"@default":{}};jfr(n,l,"@default",o);const h=[],b=Object.keys(l).sort();for(const g of b){let m;if(g==="@default")m={termType:"DefaultGraph",value:""};else if(Cle(g))g.startsWith("_:")?m={termType:"BlankNode"}:m={termType:"NamedNode"},m.value=g;else{r.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:g}},options:r});continue}Qfr(h,l[g],m,o,r)}return h};function Qfr(n,r,o,l,h){const b=Object.keys(r).sort();for(const g of b){const m=r[g],S=Object.keys(m).sort();for(let _ of S){const k=m[_];if(_==="@type")_=Gfr;else if(Ffr(_))continue;for(const I of k){const C={termType:g.startsWith("_:")?"BlankNode":"NamedNode",value:g};if(!Cle(g)){h.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:g}},options:h});continue}const A={termType:_.startsWith("_:")?"BlankNode":"NamedNode",value:_};if(!Cle(_)){h.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:_}},options:h});continue}if(A.termType==="BlankNode"&&!h.produceGeneralizedRdf){h.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:l.getOldIds().find(D=>l.getId(D)===_)}},options:h});continue}const M=y9e(I,l,n,o,h.rdfDirection,h);M&&n.push({subject:C,predicate:A,object:M,graph:o})}}}}function Zfr(n,r,o,l,h,b){const g={termType:"NamedNode",value:Wfr},m={termType:"NamedNode",value:Ufr},S={termType:"NamedNode",value:Vfr},_=n.pop(),k=_?{termType:"BlankNode",value:r.getId()}:S;let I=k;for(const C of n){const A=y9e(C,r,o,l,h,b),M={termType:"BlankNode",value:r.getId()};o.push({subject:I,predicate:g,object:A,graph:l}),o.push({subject:I,predicate:m,object:M,graph:l}),I=M}if(_){const C=y9e(_,r,o,l,h,b);o.push({subject:I,predicate:g,object:C,graph:l}),o.push({subject:I,predicate:m,object:S,graph:l})}return k}function y9e(n,r,o,l,h,b){const g={};if(ZLt.isValue(n)){g.termType="Literal",g.value=void 0,g.datatype={termType:"NamedNode"};let m=n["@value"];const S=n["@type"]||null;if(S==="@json")g.value=Bfr(m),g.datatype.value=Kfr;else if(QU.isBoolean(m))g.value=m.toString(),g.datatype.value=S||qfr;else if(QU.isDouble(m)||S===tjt)QU.isDouble(m)||(m=parseFloat(m)),g.value=m.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),g.datatype.value=S||tjt;else if(QU.isNumber(m))g.value=m.toFixed(0),g.datatype.value=S||Xfr;else if("@direction"in n&&h==="i18n-datatype"){const _=(n["@language"]||"").toLowerCase(),k=n["@direction"],I=`https://www.w3.org/ns/i18n#${_}_${k}`;g.datatype.value=I,g.value=m}else{if("@direction"in n&&h==="compound-literal")throw new ejt("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:h});if("@direction"in n&&h)throw new ejt("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:h});"@language"in n?("@direction"in n&&!h&&b.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:g.value}},options:b}),g.value=m,g.datatype.value=S||zfr,g.language=n["@language"]):("@direction"in n&&!h&&b.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:g.value}},options:b}),g.value=m,g.datatype.value=S||Jfr)}}else if(ZLt.isList(n)){const m=Zfr(n["@list"],r,o,l,h,b);g.termType=m.termType,g.value=m.value}else{const m=QU.isObject(n)?n["@id"]:n;g.termType=m.startsWith("_:")?"BlankNode":"NamedNode",g.value=m}return g.termType==="NamedNode"&&!Cle(g.value)?(b.eventHandler&&YI({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:g.value}},options:b}),null):g}const{isKeyword:v9e}=UT,Qm=Qk,yc=pw,Lh=wy,njt=q6,zV=gy,{createNodeMap:edr,mergeNodeMapGraphs:tdr}=ife,ey={};var ndr=ey;ey.frameMergedOrDefault=(n,r,o)=>{const l={options:o,embedded:!1,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}},h=new Lh.IdentifierIssuer("_:b");edr(n,l.graphMap,"@default",h),o.merged&&(l.graphMap["@merged"]=tdr(l.graphMap),l.graph="@merged"),l.subjects=l.graphMap[l.graph];const b=[];ey.frame(l,Object.keys(l.subjects).sort(),r,b),o.pruneBlankNodeIdentifiers&&(o.bnodesToClear=Object.keys(l.bnodeMap).filter(g=>l.bnodeMap[g].length===1));// remove @preserve from results +return o.link={},Aae(b,o)};ey.frame=(n,r,o,l,h=null)=>{QJt(o),o=o[0];const b=n.options,g={embed:_se(o,b,"embed"),explicit:_se(o,b,"explicit"),requireAll:_se(o,b,"requireAll")};n.link.hasOwnProperty(n.graph)||(n.link[n.graph]={});const m=n.link[n.graph],S=idr(n,r,o,g),_=Object.keys(S).sort();for(const k of _){const I=S[k];if(h===null?n.uniqueEmbeds={[n.graph]:{}}:n.uniqueEmbeds[n.graph]=n.uniqueEmbeds[n.graph]||{},g.embed==="@link"&&k in m){fI(l,h,m[k]);continue}const C={"@id":k};if(k.indexOf("_:")===0&&Lh.addValue(n.bnodeMap,k,C,{propertyIsArray:!0}),m[k]=C,(g.embed==="@first"||g.embed==="@last")&&n.is11)throw new zV("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:o});if(!(!n.embedded&&n.uniqueEmbeds[n.graph].hasOwnProperty(k))){if(n.embedded&&(g.embed==="@never"||rdr(I,n.graph,n.subjectStack))){fI(l,h,C);continue}if(n.embedded&&(g.embed=="@first"||g.embed=="@once")&&n.uniqueEmbeds[n.graph].hasOwnProperty(k)){fI(l,h,C);continue}if(g.embed==="@last"&&k in n.uniqueEmbeds[n.graph]&&odr(n,k),n.uniqueEmbeds[n.graph][k]={parent:l,property:h},n.subjectStack.push({subject:I,graph:n.graph}),k in n.graphMap){let A=!1,M=null;"@graph"in o?(M=o["@graph"][0],A=!(k==="@merged"||k==="@default"),yc.isObject(M)||(M={})):(A=n.graph!=="@merged",M={}),A&&ey.frame({...n,graph:k,embedded:!1},Object.keys(n.graphMap[k]).sort(),[M],C,"@graph")}"@included"in o&&ey.frame({...n,embedded:!1},r,o["@included"],C,"@included");for(const A of Object.keys(I).sort()){if(v9e(A)){if(C[A]=Lh.clone(I[A]),A==="@type")for(const M of I["@type"])M.indexOf("_:")===0&&Lh.addValue(n.bnodeMap,M,C,{propertyIsArray:!0});continue}if(!(g.explicit&&!(A in o)))for(const M of I[A]){const D=A in o?o[A]:rjt(g);if(Qm.isList(M)){const H=o[A]&&o[A][0]&&o[A][0]["@list"]?o[A][0]["@list"]:rjt(g),G={"@list":[]};fI(C,A,G);const Y=M["@list"];for(const F of Y)Qm.isSubjectReference(F)?ey.frame({...n,embedded:!0},[F["@id"]],H,G,"@list"):fI(G,"@list",Lh.clone(F))}else Qm.isSubjectReference(M)?ey.frame({...n,embedded:!0},[M["@id"]],D,C,A):_9e(D[0],M)&&fI(C,A,Lh.clone(M))}}for(const A of Object.keys(o).sort()){if(A==="@type"){if(!yc.isObject(o[A][0])||!("@default"in o[A][0]))continue}else if(v9e(A))continue;const M=o[A][0]||{};if(!_se(M,b,"omitDefault")&&!(A in C)){let H="@null";"@default"in M&&(H=Lh.clone(M["@default"])),yc.isArray(H)||(H=[H]),C[A]=[{"@preserve":H}]}}for(const A of Object.keys(o["@reverse"]||{}).sort()){const M=o["@reverse"][A];for(const D of Object.keys(n.subjects))Lh.getValues(n.subjects[D],A).some(G=>G["@id"]===k)&&(C["@reverse"]=C["@reverse"]||{},Lh.addValue(C["@reverse"],A,[],{propertyIsArray:!0}),ey.frame({...n,embedded:!0},[D],M,C["@reverse"][A],h))}fI(l,h,C),n.subjectStack.pop()}}};ey.cleanupNull=(n,r)=>{if(yc.isArray(n))return n.map(l=>ey.cleanupNull(l,r)).filter(l=>l);if(n==="@null")return null;if(yc.isObject(n)){if("@id"in n){const o=n["@id"];if(r.link.hasOwnProperty(o)){const l=r.link[o].indexOf(n);if(l!==-1)return r.link[o][l];r.link[o].push(n)}else r.link[o]=[n]}for(const o in n)n[o]=ey.cleanupNull(n[o],r)}return n};function rjt(n){const r={};for(const o in n)n[o]!==void 0&&(r["@"+o]=[n[o]]);return[r]}function rdr(n,r,o){for(let l=o.length-1;l>=0;--l){const h=o[l];if(h.graph===r&&h.subject["@id"]===n["@id"])return!0}return!1}function _se(n,r,o){const l="@"+o;let h=l in n?n[l][0]:r[o];if(o==="embed"){if(h===!0)h="@once";else if(h===!1)h="@never";else if(h!=="@always"&&h!=="@never"&&h!=="@link"&&h!=="@first"&&h!=="@last"&&h!=="@once")throw new zV("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:n})}return h}function QJt(n){if(!yc.isArray(n)||n.length!==1||!yc.isObject(n[0]))throw new zV("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:n});if("@id"in n[0]){for(const r of Lh.asArray(n[0]["@id"]))if(!(yc.isObject(r)||njt.isAbsolute(r))||yc.isString(r)&&r.indexOf("_:")===0)throw new zV("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:n})}if("@type"in n[0]){for(const r of Lh.asArray(n[0]["@type"]))if(!(yc.isObject(r)||njt.isAbsolute(r)||r==="@json")||yc.isString(r)&&r.indexOf("_:")===0)throw new zV("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:n})}}function idr(n,r,o,l){const h={};for(const b of r){const g=n.graphMap[n.graph][b];ZJt(n,g,o,l)&&(h[b]=g)}return h}function ZJt(n,r,o,l){let h=!0,b=!1;for(const g in o){let m=!1;const S=Lh.getValues(r,g),_=Lh.getValues(o,g).length===0;if(g==="@id"){if(yc.isEmptyObject(o["@id"][0]||{})?m=!0:o["@id"].length>=0&&(m=o["@id"].includes(S[0])),!l.requireAll)return m}else if(g==="@type"){if(h=!1,_){if(S.length>0)return!1;m=!0}else if(o["@type"].length===1&&yc.isEmptyObject(o["@type"][0]))m=S.length>0;else for(const k of o["@type"])yc.isObject(k)&&"@default"in k?m=!0:m=m||S.some(I=>I===k);if(!l.requireAll)return m}else{if(v9e(g))continue;{const k=Lh.getValues(o,g)[0];let I=!1;if(k&&(QJt([k]),I="@default"in k),h=!1,S.length===0&&I)continue;if(S.length>0&&_)return!1;if(k===void 0){if(S.length>0)return!1;m=!0}else if(Qm.isList(k)){const C=k["@list"][0];if(Qm.isList(S[0])){const A=S[0]["@list"];Qm.isValue(C)?m=A.some(M=>_9e(C,M)):(Qm.isSubject(C)||Qm.isSubjectReference(C))&&(m=A.some(M=>ijt(n,C,M,l)))}}else Qm.isValue(k)?m=S.some(C=>_9e(k,C)):Qm.isSubjectReference(k)?m=S.some(C=>ijt(n,k,C,l)):yc.isObject(k)?m=S.length>0:m=!1}}if(!m&&l.requireAll)return!1;b=b||m}return h||b}function odr(n,r){const o=n.uniqueEmbeds[n.graph],l=o[r],h=l.parent,b=l.property,g={"@id":r};if(yc.isArray(h)){for(let S=0;S{const _=Object.keys(o);for(const k of _)k in o&&yc.isObject(o[k].parent)&&o[k].parent["@id"]===S&&(delete o[k],m(k))};m(r)}/** + * Removes the @preserve keywords from expanded result of framing. + * + * @param input the framed, framed output. + * @param options the framing options used. + * + * @return the resulting output. + */function Aae(n,r){if(yc.isArray(n))return n.map(o=>Aae(o,r));if(yc.isObject(n)){// remove @preserve +if("@preserve"in n)return n["@preserve"][0];if(Qm.isValue(n))return n;if(Qm.isList(n))return n["@list"]=Aae(n["@list"],r),n;if("@id"in n){const o=n["@id"];if(r.link.hasOwnProperty(o)){const l=r.link[o].indexOf(n);if(l!==-1)return r.link[o][l];r.link[o].push(n)}else r.link[o]=[n]}for(const o in n){if(o==="@id"&&r.bnodesToClear.includes(n[o])){delete n["@id"];continue}n[o]=Aae(n[o],r)}}return n}function fI(n,r,o){yc.isObject(n)?Lh.addValue(n,r,o,{propertyIsArray:!0}):n.push(o)}function ijt(n,r,o,l){if(!("@id"in o))return!1;const h=n.subjects[o["@id"]];return h&&ZJt(n,h,r,l)}function _9e(n,r){const o=r["@value"],l=r["@type"],h=r["@language"],b=n["@value"]?yc.isArray(n["@value"])?n["@value"]:[n["@value"]]:[],g=n["@type"]?yc.isArray(n["@type"])?n["@type"]:[n["@type"]]:[],m=n["@language"]?yc.isArray(n["@language"])?n["@language"]:[n["@language"]]:[];return b.length===0&&g.length===0&&m.length===0?!0:!(!(b.includes(o)||yc.isEmptyObject(b[0]))||!(!l&&g.length===0||g.includes(l)||l&&yc.isEmptyObject(g[0]))||!(!h&&m.length===0||m.includes(h)||h&&yc.isEmptyObject(m[0])))}const JDe=gy,{isArray:e6,isObject:T6,isString:eYt,isUndefined:X8e}=pw,{isList:S9e,isValue:ck,isGraph:tYt,isSimpleGraph:ojt,isSubjectReference:J8e}=Qk,{expandIri:nYt,getContextValue:pg,isKeyword:rYt,process:Y8e,processingMode:sdr}=UT,{removeBase:sjt,prependBase:adr}=q6,{REGEX_KEYWORD:ldr,addValue:sw,asArray:Sse,compareShortestLeast:cdr}=wy,Is={};var udr=Is;Is.compact=async({activeCtx:n,activeProperty:r=null,element:o,options:l={}})=>{if(e6(o)){let b=[];for(let g=0;g1&&(_=Array.from(_).sort());const k=n;for(const C of _){const A=Is.compactIri({activeCtx:k,iri:C,relativeTo:{vocab:!0}}),M=pg(m,A,"@context");X8e(M)||(n=await Y8e({activeCtx:n,localCtx:M,options:l,propagate:!1}))}const I=Object.keys(o).sort();for(const C of I){const A=o[C];if(C==="@id"){let M=Sse(A).map(H=>Is.compactIri({activeCtx:n,iri:H,relativeTo:{vocab:!1},base:l.base}));M.length===1&&(M=M[0]);const D=Is.compactIri({activeCtx:n,iri:"@id",relativeTo:{vocab:!0}});g[D]=M;continue}if(C==="@type"){let M=Sse(A).map(F=>Is.compactIri({activeCtx:m,iri:F,relativeTo:{vocab:!0}}));M.length===1&&(M=M[0]);const D=Is.compactIri({activeCtx:n,iri:"@type",relativeTo:{vocab:!0}}),Y=(pg(n,D,"@container")||[]).includes("@set")&&sdr(n,1.1)||e6(M)&&A.length===0;sw(g,D,M,{propertyIsArray:Y});continue}if(C==="@reverse"){const M=await Is.compact({activeCtx:n,activeProperty:"@reverse",element:A,options:l});for(const D in M)if(n.mappings.has(D)&&n.mappings.get(D).reverse){const H=M[D],Y=(pg(n,D,"@container")||[]).includes("@set")||!l.compactArrays;sw(g,D,H,{propertyIsArray:Y}),delete M[D]}if(Object.keys(M).length>0){const D=Is.compactIri({activeCtx:n,iri:C,relativeTo:{vocab:!0}});sw(g,D,M)}continue}if(C==="@preserve"){const M=await Is.compact({activeCtx:n,activeProperty:r,element:A,options:l});e6(M)&&M.length===0||sw(g,C,M);continue}if(C==="@index"){if((pg(n,r,"@container")||[]).includes("@index"))continue;const D=Is.compactIri({activeCtx:n,iri:C,relativeTo:{vocab:!0}});sw(g,D,A);continue}if(C!=="@graph"&&C!=="@list"&&C!=="@included"&&rYt(C)){const M=Is.compactIri({activeCtx:n,iri:C,relativeTo:{vocab:!0}});sw(g,M,A);continue}if(!e6(A))throw new JDe("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(A.length===0){const M=Is.compactIri({activeCtx:n,iri:C,value:A,relativeTo:{vocab:!0},reverse:b}),D=n.mappings.has(M)?n.mappings.get(M)["@nest"]:null;let H=g;D&&(ajt(n,D,l),T6(g[D])||(g[D]={}),H=g[D]),sw(H,M,A,{propertyIsArray:!0})}for(const M of A){const D=Is.compactIri({activeCtx:n,iri:C,value:M,relativeTo:{vocab:!0},reverse:b}),H=n.mappings.has(D)?n.mappings.get(D)["@nest"]:null;let G=g;H&&(ajt(n,H,l),T6(g[H])||(g[H]={}),G=g[H]);const Y=pg(n,D,"@container")||[],F=tYt(M),Q=S9e(M);let ne;Q?ne=M["@list"]:F&&(ne=M["@graph"]);let be=await Is.compact({activeCtx:n,activeProperty:D,element:Q||F?ne:M,options:l});if(Q)if(e6(be)||(be=[be]),!Y.includes("@list"))be={[Is.compactIri({activeCtx:n,iri:"@list",relativeTo:{vocab:!0}})]:be},"@index"in M&&(be[Is.compactIri({activeCtx:n,iri:"@index",relativeTo:{vocab:!0}})]=M["@index"]);else{sw(G,D,be,{valueIsArray:!0,allowDuplicate:!0});continue}if(F)if(Y.includes("@graph")&&(Y.includes("@id")||Y.includes("@index")&&ojt(M))){let De;G.hasOwnProperty(D)?De=G[D]:G[D]=De={};const Ee=(Y.includes("@id")?M["@id"]:M["@index"])||Is.compactIri({activeCtx:n,iri:"@none",relativeTo:{vocab:!0}});sw(De,Ee,be,{propertyIsArray:!l.compactArrays||Y.includes("@set")})}else Y.includes("@graph")&&ojt(M)?(e6(be)&&be.length>1&&(be={"@included":be}),sw(G,D,be,{propertyIsArray:!l.compactArrays||Y.includes("@set")})):(e6(be)&&be.length===1&&l.compactArrays&&(be=be[0]),be={[Is.compactIri({activeCtx:n,iri:"@graph",relativeTo:{vocab:!0}})]:be},"@id"in M&&(be[Is.compactIri({activeCtx:n,iri:"@id",relativeTo:{vocab:!0}})]=M["@id"]),"@index"in M&&(be[Is.compactIri({activeCtx:n,iri:"@index",relativeTo:{vocab:!0}})]=M["@index"]),sw(G,D,be,{propertyIsArray:!l.compactArrays||Y.includes("@set")}));else if(Y.includes("@language")||Y.includes("@index")||Y.includes("@id")||Y.includes("@type")){let De;G.hasOwnProperty(D)?De=G[D]:G[D]=De={};let Ee;if(Y.includes("@language"))ck(be)&&(be=be["@value"]),Ee=M["@language"];else if(Y.includes("@index")){const Ae=pg(n,D,"@index")||"@index",qe=Is.compactIri({activeCtx:n,iri:Ae,relativeTo:{vocab:!0}});if(Ae==="@index")Ee=M["@index"],delete be[qe];else{let et;if([Ee,...et]=Sse(be[Ae]||[]),!eYt(Ee))Ee=null;else switch(et.length){case 0:delete be[Ae];break;case 1:be[Ae]=et[0];break;default:be[Ae]=et;break}}}else if(Y.includes("@id")){const Ae=Is.compactIri({activeCtx:n,iri:"@id",relativeTo:{vocab:!0}});Ee=be[Ae],delete be[Ae]}else if(Y.includes("@type")){const Ae=Is.compactIri({activeCtx:n,iri:"@type",relativeTo:{vocab:!0}});let qe;switch([Ee,...qe]=Sse(be[Ae]||[]),qe.length){case 0:delete be[Ae];break;case 1:be[Ae]=qe[0];break;default:be[Ae]=qe;break}Object.keys(be).length===1&&"@id"in M&&(be=await Is.compact({activeCtx:n,activeProperty:D,element:{"@id":M["@id"]},options:l}))}Ee||(Ee=Is.compactIri({activeCtx:n,iri:"@none",relativeTo:{vocab:!0}})),sw(De,Ee,be,{propertyIsArray:Y.includes("@set")})}else{const De=!l.compactArrays||Y.includes("@set")||Y.includes("@list")||e6(be)&&be.length===0||C==="@list"||C==="@graph";sw(G,D,be,{propertyIsArray:De})}}}return g}return o};Is.compactIri=({activeCtx:n,iri:r,value:o=null,relativeTo:l={vocab:!1},reverse:h=!1,base:b=null})=>{if(r===null)return r;n.isPropertyTermScoped&&n.previousContext&&(n=n.previousContext);const g=n.getInverse();if(rYt(r)&&r in g&&"@none"in g[r]&&"@type"in g[r]["@none"]&&"@none"in g[r]["@none"]["@type"])return g[r]["@none"]["@type"]["@none"];if(l.vocab&&r in g){const I=n["@language"]||"@none",C=[];T6(o)&&"@index"in o&&!("@graph"in o)&&C.push("@index","@index@set"),T6(o)&&"@preserve"in o&&(o=o["@preserve"][0]),tYt(o)?("@index"in o&&C.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in o&&C.push("@graph@id","@graph@id@set"),C.push("@graph","@graph@set","@set"),"@index"in o||C.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in o||C.push("@graph@id","@graph@id@set")):T6(o)&&!ck(o)&&C.push("@id","@id@set","@type","@set@type");let A="@language",M="@null";if(h)A="@type",M="@reverse",C.push("@set");else if(S9e(o)){"@index"in o||C.push("@list");const H=o["@list"];if(H.length===0)A="@any",M="@none";else{let G=H.length===0?I:null,Y=null;for(let F=0;F=0;--I){const C=S[I],A=C.terms;for(const M of A){const D=M+":"+r.substr(C.iri.length);n.mappings.get(M)._prefix&&(!n.mappings.has(D)||o===null&&n.mappings.get(D)["@id"]===r)&&(m===null||cdr(D,m)<0)&&(m=D)}}if(m!==null)return m;for(const[I,C]of n.mappings)if(C&&C._prefix&&r.startsWith(I+":"))throw new JDe(`Absolute IRI "${r}" confused with prefix "${I}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:n});if(!l.vocab)if("@base"in n)if(n["@base"]){const I=sjt(adr(b,n["@base"]),r);return ldr.test(I)?`./${I}`:I}else return r;else return sjt(b,r);return r};Is.compactValue=({activeCtx:n,activeProperty:r,value:o,options:l})=>{if(ck(o)){const m=pg(n,r,"@type"),S=pg(n,r,"@language"),_=pg(n,r,"@direction"),k=pg(n,r,"@container")||[],I="@index"in o&&!k.includes("@index");if(!I&&m!=="@none"&&(o["@type"]===m||"@language"in o&&o["@language"]===S&&"@direction"in o&&o["@direction"]===_||"@language"in o&&o["@language"]===S||"@direction"in o&&o["@direction"]===_))return o["@value"];const C=Object.keys(o).length,A=C===1||C===2&&"@index"in o&&!I,M="@language"in n,D=eYt(o["@value"]),H=n.mappings.has(r)&&n.mappings.get(r)["@language"]===null;if(A&&m!=="@none"&&(!M||!D||H))return o["@value"];const G={};return I&&(G[Is.compactIri({activeCtx:n,iri:"@index",relativeTo:{vocab:!0}})]=o["@index"]),"@type"in o?G[Is.compactIri({activeCtx:n,iri:"@type",relativeTo:{vocab:!0}})]=Is.compactIri({activeCtx:n,iri:o["@type"],relativeTo:{vocab:!0}}):"@language"in o&&(G[Is.compactIri({activeCtx:n,iri:"@language",relativeTo:{vocab:!0}})]=o["@language"]),"@direction"in o&&(G[Is.compactIri({activeCtx:n,iri:"@direction",relativeTo:{vocab:!0}})]=o["@direction"]),G[Is.compactIri({activeCtx:n,iri:"@value",relativeTo:{vocab:!0}})]=o["@value"],G}const h=nYt(n,r,{vocab:!0},l),b=pg(n,r,"@type"),g=Is.compactIri({activeCtx:n,iri:o["@id"],relativeTo:{vocab:b==="@vocab"},base:l.base});return b==="@id"||b==="@vocab"||h==="@graph"?g:{[Is.compactIri({activeCtx:n,iri:"@id",relativeTo:{vocab:!0}})]:g}};function fdr(n,r,o,l,h,b){b===null&&(b="@null");const g=[];if((b==="@id"||b==="@reverse")&&T6(o)&&"@id"in o){b==="@reverse"&&g.push("@reverse");const S=Is.compactIri({activeCtx:n,iri:o["@id"],relativeTo:{vocab:!0}});n.mappings.has(S)&&n.mappings.get(S)&&n.mappings.get(S)["@id"]===o["@id"]?g.push.apply(g,["@vocab","@id"]):g.push.apply(g,["@id","@vocab"])}else{g.push(b);const S=g.find(_=>_.includes("_"));S&&g.push(S.replace(/^[^_]+_/,"_"))}g.push("@none");const m=n.inverse[r];for(const S of l){if(!(S in m))continue;const _=m[S][h];for(const k of g)if(k in _)return _[k]}return null}function ajt(n,r,o){if(nYt(n,r,{vocab:!0},o)!=="@nest")throw new JDe("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}var Q8e,ljt;function ddr(){return ljt||(ljt=1,Q8e=n=>{class r{toString(){return"[object JsonLdProcessor]"}}return Object.defineProperty(r,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(r.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:r}),r.compact=function(o,l){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):n.compact(o,l)},r.expand=function(o){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):n.expand(o)},r.flatten=function(o){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):n.flatten(o)},r}),Q8e}/** + * A JavaScript implementation of the JSON-LD API. + * + * @author Dave Longley + * + * @license BSD 3-Clause License + * Copyright (c) 2011-2022 Digital Bazaar, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * Neither the name of the Digital Bazaar, Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */const cjt=KDe,ujt=Zur,i6=wy,Z3=dfr,Z8e=i6.IdentifierIssuer,uS=gy,hdr=FJt,Ese=bfr,{expand:bdr}=Cfr,{flatten:pdr}=Pfr,{fromRDF:gdr}=Dfr,{toRDF:wdr}=Yfr,{frameMergedOrDefault:mdr,cleanupNull:ydr}=ndr,{isArray:$9,isObject:dI,isString:fS}=pw,{isSubjectReference:vdr}=Qk,{expandIri:_dr,getInitialContext:kse,process:fjt,processingMode:e7e}=UT,{compact:Sdr,compactIri:Edr}=udr,{createNodeMap:kdr,createMergedNodeMap:Rdr,mergeNodeMaps:Adr}=ife,{logEventHandler:Cdr,logWarningEventHandler:xdr,safeEventHandler:$dr,setDefaultEventHandler:Idr,setupEventHandler:Tdr,strictEventHandler:Pdr,unhandledEventHandler:Odr}=yK,iYt=function(n){const r={},l=new hdr({max:100});n.compact=async function(b,g,m){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");if(g===null)throw new uS("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});if(b===null)return null;m=h(m,{base:fS(b)?b:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new Z8e("_:b"),contextResolver:new Z3({sharedCache:l})}),m.link&&(m.skipExpansion=!0),m.compactToRelative||delete m.base;let S;m.skipExpansion?S=b:S=await n.expand(b,m);const _=await n.processContext(kse(m),g,m);let k=await Sdr({activeCtx:_,element:S,options:m});m.compactArrays&&!m.graph&&$9(k)?k.length===1?k=k[0]:k.length===0&&(k={}):m.graph&&dI(k)&&(k=[k]),dI(g)&&"@context"in g&&(g=g["@context"]),g=i6.clone(g),$9(g)||(g=[g]);const I=g;g=[];for(let A=0;A0)&&g.push(I[A]);const C=g.length>0;if(g.length===1&&(g=g[0]),$9(k)){const A=Edr({activeCtx:_,iri:"@graph",relativeTo:{vocab:!0}}),M=k;k={},C&&(k["@context"]=g),k[A]=M}else if(dI(k)&&C){const A=k;k={"@context":g};for(const M in A)k[M]=A[M]}return k},n.expand=async function(b,g){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");g=h(g,{keepFreeFloatingNodes:!1,contextResolver:new Z3({sharedCache:l})});const m={},S=[];if("expandContext"in g){const C=i6.clone(g.expandContext);dI(C)&&"@context"in C?m.expandContext=C:m.expandContext={"@context":C},S.push(m.expandContext)}let _;if(!fS(b))m.input=i6.clone(b);else{const C=await n.get(b,g);_=C.documentUrl,m.input=C.document,C.contextUrl&&(m.remoteContext={"@context":C.contextUrl},S.push(m.remoteContext))}"base"in g||(g.base=_||"");let k=kse(g);for(const C of S)k=await fjt({activeCtx:k,localCtx:C,options:g});let I=await bdr({activeCtx:k,element:m.input,options:g});return dI(I)&&"@graph"in I&&Object.keys(I).length===1?I=I["@graph"]:I===null&&(I=[]),$9(I)||(I=[I]),I},n.flatten=async function(b,g,m){if(arguments.length<1)return new TypeError("Could not flatten, too few arguments.");typeof g=="function"?g=null:g=g||null,m=h(m,{base:fS(b)?b:"",contextResolver:new Z3({sharedCache:l})});const S=await n.expand(b,m),_=pdr(S);return g===null?_:(m.graph=!0,m.skipExpansion=!0,await n.compact(_,g,m))},n.frame=async function(b,g,m){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");if(m=h(m,{base:fS(b)?b:"",embed:"@once",explicit:!1,requireAll:!1,omitDefault:!1,bnodesToClear:[],contextResolver:new Z3({sharedCache:l})}),fS(g)){const H=await n.get(g,m);if(g=H.document,H.contextUrl){let G=g["@context"];G?$9(G)?G.push(H.contextUrl):G=[G,H.contextUrl]:G=H.contextUrl,g["@context"]=G}}const S=g?g["@context"]||{}:{},_=await n.processContext(kse(m),S,m);m.hasOwnProperty("omitGraph")||(m.omitGraph=e7e(_,1.1)),m.hasOwnProperty("pruneBlankNodeIdentifiers")||(m.pruneBlankNodeIdentifiers=e7e(_,1.1));const k=await n.expand(b,m),I={...m};I.isFrame=!0,I.keepFreeFloatingNodes=!0;const C=await n.expand(g,I),A=Object.keys(g).map(H=>_dr(_,H,{vocab:!0}));I.merged=!A.includes("@graph"),I.is11=e7e(_,1.1);const M=mdr(k,C,I);I.graph=!m.omitGraph,I.skipExpansion=!0,I.link={},I.framing=!0;let D=await n.compact(M,S,I);return I.link={},D=ydr(D,I),D},n.link=async function(b,g,m){const S={};return g&&(S["@context"]=g),S["@embed"]="@link",n.frame(b,S,m)},n.normalize=n.canonize=async function(b,g){if(arguments.length<1)throw new TypeError("Could not canonize, too few arguments.");if(g=h(g,{base:fS(b)?b:null,algorithm:"URDNA2015",skipExpansion:!1,safe:!0,contextResolver:new Z3({sharedCache:l})}),"inputFormat"in g){if(g.inputFormat!=="application/n-quads"&&g.inputFormat!=="application/nquads")throw new uS("Unknown canonicalization input format.","jsonld.CanonizeError");const _=Ese.parse(b);return cjt.canonize(_,g)}const m={...g};delete m.format,m.produceGeneralizedRdf=!1;const S=await n.toRDF(b,m);return cjt.canonize(S,g)},n.fromRDF=async function(b,g){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");g=h(g,{format:fS(b)?"application/n-quads":void 0});const{format:m}=g;let{rdfParser:S}=g;if(m){if(S=S||r[m],!S)throw new uS("Unknown input format.","jsonld.UnknownFormat",{format:m})}else S=()=>b;const _=await S(b);return gdr(_,g)},n.toRDF=async function(b,g){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");g=h(g,{base:fS(b)?b:"",skipExpansion:!1,contextResolver:new Z3({sharedCache:l})});let m;g.skipExpansion?m=b:m=await n.expand(b,g);const S=wdr(m,g);if(g.format){if(g.format==="application/n-quads"||g.format==="application/nquads")return Ese.serialize(S);throw new uS("Unknown output format.","jsonld.UnknownFormat",{format:g.format})}return S},n.createNodeMap=async function(b,g){if(arguments.length<1)throw new TypeError("Could not create node map, too few arguments.");g=h(g,{base:fS(b)?b:"",contextResolver:new Z3({sharedCache:l})});const m=await n.expand(b,g);return Rdr(m,g)},n.merge=async function(b,g,m){if(arguments.length<1)throw new TypeError("Could not merge, too few arguments.");if(!$9(b))throw new TypeError('Could not merge, "docs" must be an array.');typeof g=="function"?g=null:g=g||null,m=h(m,{contextResolver:new Z3({sharedCache:l})});const S=await Promise.all(b.map(H=>{const G={...m};return n.expand(H,G)}));let _=!0;"mergeNodes"in m&&(_=m.mergeNodes);const k=m.issuer||new Z8e("_:b"),I={"@default":{}};for(let H=0;Hn._documentLoader,set:b=>n._documentLoader=b}),n.documentLoader=async b=>{throw new uS("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:b})},n.get=async function(b,g){let m;typeof g.documentLoader=="function"?m=g.documentLoader:m=n.documentLoader;const S=await m(b);try{if(!S.document)throw new uS("No remote document found at the given URL.","jsonld.NullRemoteDocument");fS(S.document)&&(S.document=JSON.parse(S.document))}catch(_){throw new uS("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:_,remoteDoc:S})}return S},n.processContext=async function(b,g,m){return m=h(m,{base:"",contextResolver:new Z3({sharedCache:l})}),g===null?kse(m):(g=i6.clone(g),dI(g)&&"@context"in g||(g={"@context":g}),fjt({activeCtx:b,localCtx:g,options:m}))},n.getContextValue=UT.getContextValue,n.documentLoaders={},n.useDocumentLoader=function(b){if(!(b in n.documentLoaders))throw new uS('Unknown document loader type: "'+b+'"',"jsonld.UnknownDocumentLoader",{type:b});n.documentLoader=n.documentLoaders[b].apply(n,Array.prototype.slice.call(arguments,1))},n.registerRDFParser=function(b,g){r[b]=g},n.unregisterRDFParser=function(b){delete r[b]},n.registerRDFParser("application/n-quads",Ese.parse),n.registerRDFParser("application/nquads",Ese.parse),n.url=q6,n.logEventHandler=Cdr,n.logWarningEventHandler=xdr,n.safeEventHandler=$dr,n.setDefaultEventHandler=Idr,n.strictEventHandler=Pdr,n.unhandledEventHandler=Odr,n.util=i6,Object.assign(n,i6),n.promises=n,n.RequestQueue=LJt(),n.JsonLdProcessor=ddr()(n),ujt.setupGlobals(n),ujt.setupDocumentLoaders(n);function h(b,{documentLoader:g=n.documentLoader,...m}){if(b&&"compactionMap"in b)throw new uS('"compactionMap" not supported.',"jsonld.OptionsError");if(b&&"expansionMap"in b)throw new uS('"expansionMap" not supported.',"jsonld.OptionsError");return Object.assign({},{documentLoader:g},m,b,{eventHandler:Tdr({options:b})})}return n},oYt=function(){return iYt(function(){return oYt()})};iYt(oYt);var Ndr={exports:{}},t7e={exports:{}},yf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},sYt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=yf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(sYt);var Ig=sYt.exports,YDe={};const{format:Mdr,inspect:xle,AggregateError:Ddr}=Ig,Ldr=globalThis.AggregateError||Ddr,jdr=Symbol("kIsNodeError"),Fdr=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Bdr=/^([A-Z][a-z0-9]*)+$/,Hdr="__node_internal_",ofe={};function QI(n,r){if(!n)throw new ofe.ERR_INTERNAL_ASSERTION(r)}function djt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function Wdr(n,r,o){if(typeof r=="function")return QI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return QI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:Mdr(r,...o)}function Eb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(Wdr(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[jdr]=!0,ofe[n]=l}function hjt(n){const r=Hdr+n.name;return Object.defineProperty(n,"name",{value:r}),n}function Udr(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new Ldr([r,n],r.message);return o.code=r.code,o}return n||r}let Vdr=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new ofe.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};Eb("ERR_ASSERTION","%s",Error);Eb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{QI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)QI(typeof S=="string","All expected entries have to be of type string"),Fdr.includes(S)?h.push(S.toLowerCase()):Bdr.test(S)?b.push(S):(QI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=xle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=xle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);Eb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=xle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);Eb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);Eb("ERR_MISSING_ARGS",(...n)=>{QI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);Eb("ERR_OUT_OF_RANGE",(n,r,o)=>{QI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=djt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=djt(l)),l+="n"):l=xle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);Eb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);Eb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);Eb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);Eb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);Eb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);Eb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Eb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);Eb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);Eb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);Eb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);Eb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var q1={AbortError:Vdr,aggregateTwoErrors:hjt(Udr),hideStackFrames:hjt,codes:ofe};const{ArrayIsArray:QDe,ArrayPrototypeIncludes:aYt,ArrayPrototypeJoin:lYt,ArrayPrototypeMap:Gdr,NumberIsInteger:ZDe,NumberIsNaN:Kdr,NumberMAX_SAFE_INTEGER:zdr,NumberMIN_SAFE_INTEGER:qdr,NumberParseInt:Xdr,ObjectPrototypeHasOwnProperty:Jdr,RegExpPrototypeExec:cYt,String:Ydr,StringPrototypeToUpperCase:Qdr,StringPrototypeTrim:Zdr}=yf,{hideStackFrames:my,codes:{ERR_SOCKET_BAD_PORT:ehr,ERR_INVALID_ARG_TYPE:wp,ERR_INVALID_ARG_VALUE:mM,ERR_OUT_OF_RANGE:hT,ERR_UNKNOWN_SIGNAL:bjt}}=q1,{normalizeEncoding:thr}=Ig,{isAsyncFunction:nhr,isArrayBufferView:rhr}=Ig.types,pjt={};function ihr(n){return n===(n|0)}function ohr(n){return n===n>>>0}const shr=/^[0-7]+$/,ahr="must be a 32-bit unsigned integer or an octal string";function lhr(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(cYt(shr,n)===null)throw new mM(r,n,ahr);n=Xdr(n,8)}return uYt(n,r),n}const chr=my((n,r,o=qdr,l=zdr)=>{if(typeof n!="number")throw new wp(r,"number",n);if(!ZDe(n))throw new hT(r,"an integer",n);if(nl)throw new hT(r,`>= ${o} && <= ${l}`,n)}),uhr=my((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new wp(r,"number",n);if(!ZDe(n))throw new hT(r,"an integer",n);if(nl)throw new hT(r,`>= ${o} && <= ${l}`,n)}),uYt=my((n,r,o=!1)=>{if(typeof n!="number")throw new wp(r,"number",n);if(!ZDe(n))throw new hT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new hT(r,`>= ${l} && <= ${h}`,n)});function eLe(n,r){if(typeof n!="string")throw new wp(r,"string",n)}function fhr(n,r,o=void 0,l){if(typeof n!="number")throw new wp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&Kdr(n))throw new hT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const dhr=my((n,r,o)=>{if(!aYt(o,n)){const h="must be one of: "+lYt(Gdr(o,b=>typeof b=="string"?`'${b}'`:Ydr(b)),", ");throw new mM(r,n,h)}});function fYt(n,r){if(typeof n!="boolean")throw new wp(r,"boolean",n)}function n7e(n,r,o){return n==null||!Jdr(n,r)?o:n[r]}const hhr=my((n,r,o=null)=>{const l=n7e(o,"allowArray",!1),h=n7e(o,"allowFunction",!1);if(!n7e(o,"nullable",!1)&&n===null||!l&&QDe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new wp(r,"Object",n)}),bhr=my((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new wp(r,"a dictionary",n)}),sfe=my((n,r,o=0)=>{if(!QDe(n))throw new wp(r,"Array",n);if(n.length{if(!rhr(n))throw new wp(r,["Buffer","TypedArray","DataView"],n)});function vhr(n,r){const o=thr(r),l=n.length;if(o==="hex"&&l%2!==0)throw new mM("encoding",r,`is invalid for data of length ${l}`)}function _hr(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&Zdr(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new ehr(r,n,o);return n|0}const dYt=my((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new wp(r,"AbortSignal",n)}),Shr=my((n,r)=>{if(typeof n!="function")throw new wp(r,"Function",n)}),Ehr=my((n,r)=>{if(typeof n!="function"||nhr(n))throw new wp(r,"Function",n)}),khr=my((n,r)=>{if(n!==void 0)throw new wp(r,"undefined",n)});function Rhr(n,r,o){if(!aYt(o,n))throw new wp(r,`('${lYt(o,"|")}')`,n)}const Ahr=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function gjt(n,r){if(typeof n>"u"||!cYt(Ahr,n))throw new mM(r,n,'must be an array or string of format "; rel=preload; as=style"')}function Chr(n){if(typeof n=="string")return gjt(n,"hints"),n;if(QDe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var vK={isInt32:ihr,isUint32:ohr,parseFileMode:lhr,validateArray:sfe,validateStringArray:phr,validateBooleanArray:ghr,validateAbortSignalArray:whr,validateBoolean:fYt,validateBuffer:yhr,validateDictionary:bhr,validateEncoding:vhr,validateFunction:Shr,validateInt32:uhr,validateInteger:chr,validateNumber:fhr,validateObject:hhr,validateOneOf:dhr,validatePlainFunction:Ehr,validatePort:_hr,validateSignalName:mhr,validateString:eLe,validateUint32:uYt,validateUndefined:khr,validateUnion:Rhr,validateAbortSignal:dYt,validateLinkHeaderValue:Chr},tLe={exports:{}};const{SymbolAsyncIterator:wjt,SymbolIterator:mjt,SymbolFor:VT}=yf,hYt=VT("nodejs.stream.destroyed"),bYt=VT("nodejs.stream.errored"),E9e=VT("nodejs.stream.readable"),k9e=VT("nodejs.stream.writable"),pYt=VT("nodejs.stream.disturbed"),xhr=VT("nodejs.webstream.isClosedPromise"),$hr=VT("nodejs.webstream.controllerErrorFunction");function afe(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function lfe(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function Ihr(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function eE(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function gYt(n){return!!(n&&!eE(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function wYt(n){return!!(n&&!eE(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function mYt(n){return!!(n&&!eE(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function Thr(n){return gYt(n)||wYt(n)||mYt(n)}function Phr(n,r){return n==null?!1:r===!0?typeof n[wjt]=="function":r===!1?typeof n[mjt]=="function":typeof n[wjt]=="function"||typeof n[mjt]=="function"}function cfe(n){if(!eE(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[hYt]||l!=null&&l.destroyed)}function yYt(n){if(!lfe(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function Ohr(n,r){if(!lfe(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function Nhr(n){if(!afe(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function vYt(n,r){if(!afe(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function _Yt(n){return n&&n[E9e]!=null?n[E9e]:typeof(n==null?void 0:n.readable)!="boolean"?null:cfe(n)?!1:afe(n)&&n.readable&&!vYt(n)}function SYt(n){return n&&n[k9e]!=null?n[k9e]:typeof(n==null?void 0:n.writable)!="boolean"?null:cfe(n)?!1:lfe(n)&&n.writable&&!yYt(n)}function Mhr(n,r){return eE(n)?cfe(n)?!0:!((r==null?void 0:r.readable)!==!1&&_Yt(n)||(r==null?void 0:r.writable)!==!1&&SYt(n)):null}function Dhr(n){var r,o;return eE(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function Lhr(n){var r,o;return eE(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function jhr(n){if(!eE(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&EYt(n)?n._closed:null}function EYt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function kYt(n){return typeof n._sent100=="boolean"&&EYt(n)}function Fhr(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function Bhr(n){if(!eE(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&kYt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function Hhr(n){var r;return!!(n&&((r=n[pYt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function Whr(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[bYt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var Zk={isDestroyed:cfe,kIsDestroyed:hYt,isDisturbed:Hhr,kIsDisturbed:pYt,isErrored:Whr,kIsErrored:bYt,isReadable:_Yt,kIsReadable:E9e,kIsClosedPromise:xhr,kControllerErrorFunction:$hr,kIsWritable:k9e,isClosed:jhr,isDuplexNodeStream:Ihr,isFinished:Mhr,isIterable:Phr,isReadableNodeStream:afe,isReadableStream:gYt,isReadableEnded:Nhr,isReadableFinished:vYt,isReadableErrored:Lhr,isNodeStream:eE,isWebStream:Thr,isWritable:SYt,isWritableNodeStream:lfe,isWritableStream:wYt,isWritableEnded:yYt,isWritableFinished:Ohr,isWritableErrored:Dhr,isServerRequest:Fhr,isServerResponse:kYt,willEmitClose:Bhr,isTransformStream:mYt};const g6=yi,{AbortError:RYt,codes:Uhr}=q1,{ERR_INVALID_ARG_TYPE:Vhr,ERR_STREAM_PREMATURE_CLOSE:yjt}=Uhr,{kEmptyObject:R9e,once:A9e}=Ig,{validateAbortSignal:Ghr,validateFunction:Khr,validateObject:zhr,validateBoolean:qhr}=vK,{Promise:Xhr,PromisePrototypeThen:Jhr,SymbolDispose:AYt}=yf,{isClosed:Yhr,isReadable:vjt,isReadableNodeStream:r7e,isReadableStream:Qhr,isReadableFinished:_jt,isReadableErrored:Sjt,isWritable:Ejt,isWritableNodeStream:kjt,isWritableStream:Zhr,isWritableFinished:Rjt,isWritableErrored:Ajt,isNodeStream:ebr,willEmitClose:tbr,kIsClosedPromise:nbr}=Zk;let kN;function rbr(n){return n.setHeader&&typeof n.abort=="function"}const C9e=()=>{};function CYt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=R9e):r==null?r=R9e:zhr(r,"options"),Khr(o,"callback"),Ghr(r.signal,"options.signal"),o=A9e(o),Qhr(n)||Zhr(n))return ibr(n,r,o);if(!ebr(n))throw new Vhr("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:r7e(n),g=(h=r.writable)!==null&&h!==void 0?h:kjt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=tbr(n)&&r7e(n)===b&&kjt(n)===g,I=Rjt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=_jt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=Yhr(n);const G=()=>{H=!0;const ne=Ajt(n)||Sjt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&r7e(n,!0)&&!_jt(n,!1))return o.call(n,new yjt);if(g&&!I&&!Rjt(n,!1))return o.call(n,new yjt);o.call(n)},Y=()=>{H=!0;const ne=Ajt(n)||Sjt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};rbr(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?g6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||g6.nextTick(Y):(!b&&(!k||vjt(n))&&(I||Ejt(n)===!1)||!g&&(!k||Ejt(n))&&(A||vjt(n)===!1)||S&&n.req&&n.aborted)&&g6.nextTick(Y);const Q=()=>{o=C9e,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new RYt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)g6.nextTick(ne);else{kN=kN||Ig.addAbortListener;const be=kN(r.signal,ne),De=o;o=A9e((...Ee)=>{be[AYt](),De.apply(n,Ee)})}}return Q}function ibr(n,r,o){let l=!1,h=C9e;if(r.signal)if(h=()=>{l=!0,o.call(n,new RYt(void 0,{cause:r.signal.reason}))},r.signal.aborted)g6.nextTick(h);else{kN=kN||Ig.addAbortListener;const g=kN(r.signal,h),m=o;o=A9e((...S)=>{g[AYt](),m.apply(n,S)})}const b=(...g)=>{l||g6.nextTick(()=>o.apply(n,g))};return Jhr(n[nbr].promise,b,b),C9e}function obr(n,r){var o;let l=!1;return r===null&&(r=R9e),(o=r)!==null&&o!==void 0&&o.cleanup&&(qhr(r.cleanup,"cleanup"),l=r.cleanup),new Xhr((h,b)=>{const g=CYt(n,r,m=>{l&&g(),m?b(m):h()})})}tLe.exports=CYt;tLe.exports.finished=obr;var X6=tLe.exports;const OS=yi,{aggregateTwoErrors:sbr,codes:{ERR_MULTIPLE_CALLBACK:abr},AbortError:lbr}=q1,{Symbol:xYt}=yf,{kIsDestroyed:cbr,isDestroyed:ubr,isFinished:fbr,isServerRequest:dbr}=Zk,$Yt=xYt("kDestroy"),x9e=xYt("kConstruct");function IYt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function hbr(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(IYt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?Cjt(this,n,r):this.once($Yt,function(b){Cjt(this,sbr(b,n),r)}),this)}function Cjt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;IYt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?OS.nextTick(bbr,n,b):OS.nextTick(TYt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function bbr(n,r){$9e(n,r),TYt(n)}function TYt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function $9e(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function pbr(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function I9e(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?OS.nextTick($9e,n,r):$9e(n,r))}function gbr(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(x9e,r),!(n.listenerCount(x9e)>1)&&OS.nextTick(wbr,n)}function wbr(n){let r=!1;function o(l){if(r){I9e(n,l??new abr);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit($Yt,l):l?I9e(n,l,!0):OS.nextTick(mbr,n)}try{n._construct(l=>{OS.nextTick(o,l)})}catch(l){OS.nextTick(o,l)}}function mbr(n){n.emit(x9e)}function xjt(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function PYt(n){n.emit("close")}function ybr(n,r){n.emit("error",r),OS.nextTick(PYt,n)}function vbr(n,r){!n||ubr(n)||(!r&&!fbr(n)&&(r=new lbr),dbr(n)?(n.socket=null,n.destroy(r)):xjt(n)?n.abort():xjt(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?OS.nextTick(ybr,n,r):OS.nextTick(PYt,n),n.destroyed||(n[cbr]=!0))}var yM={construct:gbr,destroyer:vbr,destroy:hbr,undestroy:pbr,errorOrDestroy:I9e};const{ArrayIsArray:_br,ObjectSetPrototypeOf:OYt}=yf,{EventEmitter:ufe}=Zs;function ffe(n){ufe.call(this,n)}OYt(ffe.prototype,ufe.prototype);OYt(ffe,ufe);ffe.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),ufe.listenerCount(this,"error")===0&&this.emit("error",k)}T9e(o,"error",S),T9e(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function T9e(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):_br(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var nLe={Stream:ffe,prependListener:T9e},NYt={exports:{}};(function(n){const{SymbolDispose:r}=yf,{AbortError:o,codes:l}=q1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=Zk,m=X6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||Ig.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(NYt);var dfe=NYt.exports;const{StringPrototypeSlice:$jt,SymbolIterator:Sbr,TypedArrayPrototypeSet:Rse,Uint8Array:Ebr}=yf,{Buffer:i7e}=Xr,{inspect:kbr}=Ig;var Rbr=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return i7e.alloc(0);const o=i7e.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)Rse(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=$jt(b,0,r),this.head=l,l.data=$jt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=i7e.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)Rse(o,g,l-r),r-=g.length;else{r===g.length?(Rse(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(Rse(o,new Ebr(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return kbr(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:Abr,NumberIsInteger:Cbr}=yf,{validateInteger:xbr}=vK,{ERR_INVALID_ARG_VALUE:$br}=q1.codes;let MYt=16*1024,DYt=16;function Ibr(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function LYt(n){return n?DYt:MYt}function Tbr(n,r){xbr(r,"value",0),n?DYt=r:MYt=r}function Pbr(n,r,o,l){const h=Ibr(r,l,o);if(h!=null){if(!Cbr(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new $br(b,h)}return Abr(h)}return LYt(n.objectMode)}var hfe={getHighWaterMark:Pbr,getDefaultHighWaterMark:LYt,setDefaultHighWaterMark:Tbr};const Ijt=yi,{PromisePrototypeThen:Obr,SymbolAsyncIterator:Tjt,SymbolIterator:Pjt}=yf,{Buffer:Nbr}=Xr,{ERR_INVALID_ARG_TYPE:Mbr,ERR_STREAM_NULL_VALUES:Dbr}=q1.codes;function Lbr(n,r,o){let l;if(typeof r=="string"||r instanceof Nbr)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[Tjt])h=!0,l=r[Tjt]();else if(r&&r[Pjt])h=!1,l=r[Pjt]();else throw new Mbr("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){Obr(m(_),()=>Ijt.nextTick(k,_),I=>Ijt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new Dbr;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var jYt=Lbr,o7e,Ojt;function bfe(){if(Ojt)return o7e;Ojt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=yf;o7e=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=nLe,{Buffer:H}=Xr,{addAbortSignal:G}=dfe,Y=X6;let F=Ig.debuglog("stream",E=>{F=E});const Q=Rbr,ne=yM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=hfe,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=q1,{validateObject:ye}=vK,me=C("kPaused"),{StringDecoder:je}=sy,Be=jYt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof Ok()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof Ok();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},o7e}var s7e,Njt;function rLe(){if(Njt)return s7e;Njt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=yf;s7e=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=nLe.Stream,{Buffer:C}=Xr,A=yM,{addAbortSignal:M}=dfe,{getHighWaterMark:D,getDefaultHighWaterMark:H}=hfe,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=q1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof Ok()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof Ok();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return a7e}var l7e,Djt;function Ok(){if(Djt)return l7e;Djt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=yf;l7e=g;const h=bfe(),b=rLe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function Wbr(){this._final!==P9e&&P9e.call(this)}Nk.prototype._final=P9e;Nk.prototype._transform=function(n,r,o){throw new Bbr("_transform()")};Nk.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=$le(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,qbr.destroyer(n,b||new Ybr("pipe")))},cleanup:h}}function opr(n){return epr(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function p7e(n){if(xI(n))return n;if(Cae(n))return spr(n);throw new O9e("val",["Readable","Iterable","AsyncIterable"],n)}async function*spr(n){h7e||(h7e=bfe()),yield*h7e.prototype[Gbr].call(n)}async function Ase(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new Vbr((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=$le(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?Xbr(h,_):_)}finally{S(),r.off("drain",g)}}async function g7e(n,r,o,{end:l}){q9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function apr(...n){return UYt(n,zbr(opr(n)))}function UYt(n,r,o){if(n.length===1&&Ubr(n[0])&&(n=n[0]),n.length<2)throw new Jbr("streams");const l=new ipr,h=l.signal,b=o==null?void 0:o.signal,g=[];tpr(b,"options.signal");function m(){M(new Zbr)}b7e=b7e||Ig.addAbortListener;let S;b&&(S=b7e(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[Kbr](),l.abort(),F&&(_||g.forEach(ne=>ne()),mV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(jjt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=Fjt(F,Q,ne);I.push(Ae),u7e(F)&&De&&g.push(qe)}F.on("error",Ee),u7e(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!xI(D))throw new c7e("Iterable, AsyncIterable or Stream","source",D)}else xI(F)||Cae(F)||q9(F)?D=F:D=Ljt.from(F);else if(typeof F=="function"){if(q9(D)){var H;D=p7e((H=D)===null||H===void 0?void 0:H.readable)}else D=p7e(D);if(D=F(D,{signal:h}),Q){if(!xI(D,!0))throw new c7e("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;d7e||(d7e=WYt);const Ee=new d7e({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),mV.nextTick(A)},fe=>{Ee.destroy(fe),mV.nextTick(A,fe)});else if(xI(D,!0))C++,Ase(D,Ee,A,{end:be});else if(f7e(D)||q9(D)){const fe=D.readable||D;C++,Ase(fe,Ee,A,{end:be})}else throw new c7e("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=Fjt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(jjt(F)){if(Cae(D)){C+=2;const Ee=lpr(D,F,A,{end:be});u7e(F)&&De&&g.push(Ee)}else if(q9(D)||f7e(D)){const Ee=D.readable||D;C++,Ase(Ee,F,A,{end:be})}else if(xI(D))C++,Ase(D,F,A,{end:be});else throw new O9e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(npr(F)){if(Cae(D))C++,g7e(p7e(D),F,A,{end:be});else if(f7e(D)||xI(D))C++,g7e(D,F,A,{end:be});else if(q9(D))C++,g7e(D.readable,F,A,{end:be});else throw new O9e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=Ljt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&mV.nextTick(m),D}function lpr(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new Qbr)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};rpr(n)?mV.nextTick(b):n.once("end",b)}else o();return $le(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),$le(r,{readable:!1,writable:!0},o)}var sLe={pipelineImpl:UYt,pipeline:apr};const{pipeline:cpr}=sLe,Cse=Ok(),{destroyer:upr}=yM,{isNodeStream:xse,isReadable:Bjt,isWritable:Hjt,isWebStream:w7e,isTransformStream:hI,isWritableStream:Wjt,isReadableStream:Ujt}=Zk,{AbortError:fpr,codes:{ERR_INVALID_ARG_VALUE:Vjt,ERR_MISSING_ARGS:dpr}}=q1,hpr=X6;var VYt=function(...r){if(r.length===0)throw new dpr("streams");if(r.length===1)return Cse.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=Cse.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=Cse.from(r[A])}for(let A=0;A0&&!(Hjt(r[A])||Wjt(r[A])||hI(r[A])))throw new Vjt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=cpr(r,S),I=!!(Hjt(_)||Wjt(_)||hI(_)),C=!!(Bjt(k)||Ujt(k)||hI(k));if(m=new Cse({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(xse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(w7e(_)){const D=(hI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=hI(k)?k.readable:k;hpr(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(xse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(w7e(k)){const M=(hI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new fpr),b=null,l=null,h=null,g===null?M(A):(g=M,xse(k)&&upr(k,A))},m};const bpr=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:ppr,ERR_INVALID_ARG_TYPE:_K,ERR_MISSING_ARGS:gpr,ERR_OUT_OF_RANGE:wpr},AbortError:VS}=q1,{validateAbortSignal:GT,validateInteger:Gjt,validateObject:KT}=vK,mpr=yf.Symbol("kWeak"),ypr=yf.Symbol("kResistStopPropagation"),{finished:vpr}=X6,_pr=VYt,{addAbortSignalNoValidate:Spr}=dfe,{isWritable:Epr,isNodeStream:kpr}=Zk,{deprecate:Rpr}=Ig,{ArrayPrototypePush:Apr,Boolean:Cpr,MathFloor:Kjt,Number:xpr,NumberIsNaN:$pr,Promise:zjt,PromiseReject:qjt,PromiseResolve:Ipr,PromisePrototypeThen:Xjt,Symbol:GYt}=yf,Ile=GYt("kEmpty"),Jjt=GYt("kEof");function Tpr(n,r){if(r!=null&&KT(r,"options"),(r==null?void 0:r.signal)!=null&>(r.signal,"options.signal"),kpr(n)&&!Epr(n))throw new ppr("stream",n,"must be writable");const o=_pr(this,n);return r!=null&&r.signal&&Spr(r.signal,o),o}function pfe(n,r){if(typeof n!="function")throw new _K("fn",["Function","AsyncFunction"],n);r!=null&&KT(r,"options"),(r==null?void 0:r.signal)!=null&>(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=Kjt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=Kjt(r.highWaterMark)),Gjt(o,"options.concurrency",1),Gjt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=Ig.AbortSignalAny([r==null?void 0:r.signal].filter(Cpr)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new zjt(Y=>{k=Y})}m.push(Jjt)}catch(G){const Y=qjt(G);Xjt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===Jjt)return;if(b.aborted)throw new VS;G!==Ile&&(yield G),m.shift(),D()}await new zjt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function Ppr(n=void 0){return n!=null&&KT(n,"options"),(n==null?void 0:n.signal)!=null&>(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new VS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function KYt(n,r=void 0){for await(const o of aLe.call(this,n,r))return!0;return!1}async function Opr(n,r=void 0){if(typeof n!="function")throw new _K("fn",["Function","AsyncFunction"],n);return!await KYt.call(this,async(...o)=>!await n(...o),r)}async function Npr(n,r){for await(const o of aLe.call(this,n,r))return o}async function Mpr(n,r){if(typeof n!="function")throw new _K("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),Ile}for await(const l of pfe.call(this,o,r));}function aLe(n,r){if(typeof n!="function")throw new _K("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:Ile}return pfe.call(this,o,r)}let Dpr=class extends gpr{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function Lpr(n,r,o){var l;if(typeof n!="function")throw new _K("reducer",["Function","AsyncFunction"],n);o!=null&&KT(o,"options"),(o==null?void 0:o.signal)!=null&>(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new VS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await vpr(this.destroy(_)),_}const b=new bpr,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[mpr]:this,[ypr]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new VS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new Dpr}finally{b.abort()}return r}async function jpr(n){n!=null&&KT(n,"options"),(n==null?void 0:n.signal)!=null&>(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new VS(void 0,{cause:n.signal.reason});Apr(r,l)}return r}function Fpr(n,r){const o=pfe.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function zYt(n){if(n=xpr(n),$pr(n))return 0;if(n<0)throw new wpr("number",">= 0",n);return n}function Bpr(n,r=void 0){return r!=null&&KT(r,"options"),(r==null?void 0:r.signal)!=null&>(r.signal,"options.signal"),n=zYt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new VS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new VS;n--<=0&&(yield b)}}).call(this)}function Hpr(n,r=void 0){return r!=null&&KT(r,"options"),(r==null?void 0:r.signal)!=null&>(r.signal,"options.signal"),n=zYt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new VS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new VS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}YDe.streamReturningOperators={asIndexedPairs:Rpr(Ppr,"readable.asIndexedPairs will be removed in a future version."),drop:Bpr,filter:aLe,flatMap:Fpr,map:pfe,take:Hpr,compose:Tpr};YDe.promiseReturningOperators={every:Opr,forEach:Mpr,reduce:Lpr,toArray:jpr,some:KYt,find:Npr};var m7e,Yjt;function qYt(){if(Yjt)return m7e;Yjt=1;const{ArrayPrototypePop:n,Promise:r}=yf,{isIterable:o,isNodeStream:l,isWebStream:h}=Zk,{pipelineImpl:b}=sLe,{finished:g}=X6;XYt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return m7e={finished:g,pipeline:m},m7e}var Qjt;function XYt(){if(Qjt)return t7e.exports;Qjt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=yf,{promisify:{custom:h}}=Ig,{streamReturningOperators:b,promiseReturningOperators:g}=YDe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=q1,S=VYt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=hfe,{pipeline:I}=sLe,{destroyer:C}=yM,A=X6,M=qYt(),D=Zk,H=t7e.exports=nLe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=bfe();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=rLe(),H.Duplex=Ok(),H.Transform=BYt,H.PassThrough=WYt,H.pipeline=I;const{addAbortSignal:G}=dfe;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},t7e.exports}(function(n){const r=XYt(),o=qYt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(Ndr);var JYt={},UN={},VN={},YYt={};(function(n){/** + * Character classes and associated utilities for the 5th edition of XML 1.0. + * + * @author Louis-Dominique Dubeau + * @license MIT + * @copyright Louis-Dominique Dubeau + */Object.defineProperty(n,"__esModule",{value:!0}),n.CHAR=` +\r -퟿-�𐀀-􏿿`,n.S=` \r +`,n.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",n.NAME_CHAR="-"+n.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",n.CHAR_RE=new RegExp("^["+n.CHAR+"]$","u"),n.S_RE=new RegExp("^["+n.S+"]+$","u"),n.NAME_START_CHAR_RE=new RegExp("^["+n.NAME_START_CHAR+"]$","u"),n.NAME_CHAR_RE=new RegExp("^["+n.NAME_CHAR+"]$","u"),n.NAME_RE=new RegExp("^["+n.NAME_START_CHAR+"]["+n.NAME_CHAR+"]*$","u"),n.NMTOKEN_RE=new RegExp("^["+n.NAME_CHAR+"]+$","u");var r=9,o=10,l=13,h=32;n.S_LIST=[h,o,l,r];function b(_){return _>=h&&_<=55295||_===o||_===l||_===r||_>=57344&&_<=65533||_>=65536&&_<=1114111}n.isChar=b;function g(_){return _===h||_===o||_===l||_===r}n.isS=g;function m(_){return _>=65&&_<=90||_>=97&&_<=122||_===58||_===95||_===8204||_===8205||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533||_>=65536&&_<=983039}n.isNameStartChar=m;function S(_){return m(_)||_>=48&&_<=57||_===45||_===46||_===183||_>=768&&_<=879||_>=8255&&_<=8256}n.isNameChar=S})(YYt);var QYt={};(function(n){/** + * Character classes and associated utilities for the 2nd edition of XML 1.1. + * + * @author Louis-Dominique Dubeau + * @license MIT + * @copyright Louis-Dominique Dubeau + */Object.defineProperty(n,"__esModule",{value:!0}),n.CHAR="-퟿-�𐀀-􏿿",n.RESTRICTED_CHAR="-\b\v\f--„†-Ÿ",n.S=` \r +`,n.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",n.NAME_CHAR="-"+n.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",n.CHAR_RE=new RegExp("^["+n.CHAR+"]$","u"),n.RESTRICTED_CHAR_RE=new RegExp("^["+n.RESTRICTED_CHAR+"]$","u"),n.S_RE=new RegExp("^["+n.S+"]+$","u"),n.NAME_START_CHAR_RE=new RegExp("^["+n.NAME_START_CHAR+"]$","u"),n.NAME_CHAR_RE=new RegExp("^["+n.NAME_CHAR+"]$","u"),n.NAME_RE=new RegExp("^["+n.NAME_START_CHAR+"]["+n.NAME_CHAR+"]*$","u"),n.NMTOKEN_RE=new RegExp("^["+n.NAME_CHAR+"]+$","u");var r=9,o=10,l=13,h=32;n.S_LIST=[h,o,l,r];function b(I){return I>=1&&I<=55295||I>=57344&&I<=65533||I>=65536&&I<=1114111}n.isChar=b;function g(I){return I>=1&&I<=8||I===11||I===12||I>=14&&I<=31||I>=127&&I<=132||I>=134&&I<=159}n.isRestrictedChar=g;function m(I){return I===9||I===10||I===13||I>31&&I<127||I===133||I>159&&I<=55295||I>=57344&&I<=65533||I>=65536&&I<=1114111}n.isCharAndNotRestricted=m;function S(I){return I===h||I===o||I===l||I===r}n.isS=S;function _(I){return I>=65&&I<=90||I>=97&&I<=122||I===58||I===95||I===8204||I===8205||I>=192&&I<=214||I>=216&&I<=246||I>=248&&I<=767||I>=880&&I<=893||I>=895&&I<=8191||I>=8304&&I<=8591||I>=11264&&I<=12271||I>=12289&&I<=55295||I>=63744&&I<=64975||I>=65008&&I<=65533||I>=65536&&I<=983039}n.isNameStartChar=_;function k(I){return _(I)||I>=48&&I<=57||I===45||I===46||I===183||I>=768&&I<=879||I>=8255&&I<=8256}n.isNameChar=k})(QYt);var ZYt={};(function(n){/** + * Character class utilities for XML NS 1.0 edition 3. + * + * @author Louis-Dominique Dubeau + * @license MIT + * @copyright Louis-Dominique Dubeau + */Object.defineProperty(n,"__esModule",{value:!0}),n.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",n.NC_NAME_CHAR="-"+n.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",n.NC_NAME_START_CHAR_RE=new RegExp("^["+n.NC_NAME_START_CHAR+"]$","u"),n.NC_NAME_CHAR_RE=new RegExp("^["+n.NC_NAME_CHAR+"]$","u"),n.NC_NAME_RE=new RegExp("^["+n.NC_NAME_START_CHAR+"]["+n.NC_NAME_CHAR+"]*$","u");function r(l){return l>=65&&l<=90||l===95||l>=97&&l<=122||l>=192&&l<=214||l>=216&&l<=246||l>=248&&l<=767||l>=880&&l<=893||l>=895&&l<=8191||l>=8204&&l<=8205||l>=8304&&l<=8591||l>=11264&&l<=12271||l>=12289&&l<=55295||l>=63744&&l<=64975||l>=65008&&l<=65533||l>=65536&&l<=983039}n.isNCNameStartChar=r;function o(l){return r(l)||l===45||l===46||l>=48&&l<=57||l===183||l>=768&&l<=879||l>=8255&&l<=8256}n.isNCNameChar=o})(ZYt);Object.defineProperty(VN,"__esModule",{value:!0});VN.SaxesParser=VN.EVENTS=void 0;const vM=YYt,Wpr=QYt,lLe=ZYt;var N1=vM.isS,Upr=vM.isChar,ZU=vM.isNameStartChar,Zjt=vM.isNameChar,eQt=vM.S_LIST,Vpr=vM.NAME_RE,Gpr=Wpr.isChar,Kpr=lLe.isNCNameStartChar,zpr=lLe.isNCNameChar,qpr=lLe.NC_NAME_RE;const xae="http://www.w3.org/XML/1998/namespace",rN="http://www.w3.org/2000/xmlns/",Xpr={__proto__:null,xml:xae,xmlns:rN},Jpr={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},du=-1,dS=-2,eFt=0,Ypr=1,y7e=2,Qpr=3,I9=4,Zpr=5,egr=6,tgr=7,v7e=8,ngr=9,rgr=10,igr=11,ogr=12,dg=13,$se=14,_7e=15,sgr=16,S7e=17,agr=18,lgr=19,E7e=20,cgr=21,ugr=22,fgr=23,tFt=24,k7e=25,Ise=26,nFt=27,dgr=28,hgr=29,rFt=30,bgr=31,pgr=32,bI=33,ggr=34,R7e=35,eV=36,A7e=37,wgr=38,iFt=39,oFt=40,mgr=41,sFt=42,ygr=43,vgr=44,C7e=9,i2=10,x7e=13,aFt=32,lFt=33,tQt=34,yV=38,nQt=39,Tse=45,Pse=47,_gr=59,w6=60,X9=61,eh=62,bb=63,rQt=91,J9=93,cFt=133,uFt=8232,Ose=n=>n===tQt||n===nQt,iQt=[tQt,nQt],Sgr=[...iQt,rQt,eh],Egr=[...iQt,w6,J9],kgr=[X9,bb,...eQt],Rgr=[...eQt,eh,yV,w6];function N9e(n,r,o){switch(r){case"xml":o!==xae&&n.fail(`xml prefix must be bound to ${xae}.`);break;case"xmlns":o!==rN&&n.fail(`xmlns prefix must be bound to ${rN}.`);break}switch(o){case rN:n.fail(r===""?`the default namespace may not be set to ${o}.`:`may not assign a prefix (even "xmlns") to the URI ${rN}.`);break;case xae:switch(r){case"xml":break;case"":n.fail(`the default namespace may not be set to ${o}.`);break;default:n.fail("may not assign the xml namespace to another prefix.")}break}}function Agr(n,r){for(const o of Object.keys(r))N9e(n,o,r[o])}const Cgr=n=>qpr.test(n),xgr=n=>Vpr.test(n),pI=0,fFt=1,$7e=2;VN.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const dFt={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class $gr{get closed(){return this._closed}constructor(r){this.opt=r??{},this.fragmentOpt=!!this.opt.fragment;const o=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,o){this.nameStartCheck=Kpr,this.nameCheck=zpr,this.isName=Cgr,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},Xpr);const l=this.opt.additionalNamespaces;l!=null&&(Agr(this,l),Object.assign(this.ns,l))}else this.nameStartCheck=ZU,this.nameCheck=Zjt,this.isName=xgr,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){var r;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=pI,this.attribList=[];const{fragmentOpt:o}=this;this.state=o?dg:eFt,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=o,this.xmlDeclPossible=!o,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:l}=this.opt;if(l===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");l="1.0"}this.setXMLVersion(l),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Jpr),(r=this.readyHandler)===null||r===void 0||r.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(r,o){this[dFt[r]]=o}off(r){this[dFt[r]]=void 0}makeError(r){var o;let l=(o=this.fileName)!==null&&o!==void 0?o:"";return this.trackPosition&&(l.length>0&&(l+=":"),l+=`${this.line}:${this.column}`),l.length>0&&(l+=": "),new Error(l+r)}fail(r){const o=this.makeError(r),l=this.errorHandler;if(l===void 0)throw o;return l(o),this}write(r){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let o=!1;r===null?(o=!0,r=""):typeof r=="object"&&(r=r.toString()),this.carriedFromPrevious!==void 0&&(r=`${this.carriedFromPrevious}${r}`,this.carriedFromPrevious=void 0);let l=r.length;const h=r.charCodeAt(l-1);!o&&(h===x7e||h>=55296&&h<=56319)&&(this.carriedFromPrevious=r[l-1],l--,r=r.slice(0,l));const{stateTable:b}=this;for(this.chunk=r,this.i=0;this.i=r.length)return du;const l=r.charCodeAt(o);if(this.column++,l<55296){if(l>=aFt||l===C7e)return l;switch(l){case i2:return this.line++,this.column=0,this.positionAtNewLine=this.position,i2;case x7e:return r.charCodeAt(o+1)===i2&&(this.i=o+2),this.line++,this.column=0,this.positionAtNewLine=this.position,dS;default:return this.fail("disallowed character."),l}}if(l>56319)return l>=57344&&l<=65533||this.fail("disallowed character."),l;const h=65536+(l-55296)*1024+(r.charCodeAt(o+1)-56320);return this.i=o+2,h>1114111&&this.fail("disallowed character."),h}getCode11(){const{chunk:r,i:o}=this;if(this.prevI=o,this.i=o+1,o>=r.length)return du;const l=r.charCodeAt(o);if(this.column++,l<55296){if(l>31&&l<127||l>159&&l!==uFt||l===C7e)return l;switch(l){case i2:return this.line++,this.column=0,this.positionAtNewLine=this.position,i2;case x7e:{const b=r.charCodeAt(o+1);(b===i2||b===cFt)&&(this.i=o+2)}case cFt:case uFt:return this.line++,this.column=0,this.positionAtNewLine=this.position,dS;default:return this.fail("disallowed character."),l}}if(l>56319)return l>=57344&&l<=65533||this.fail("disallowed character."),l;const h=65536+(l-55296)*1024+(r.charCodeAt(o+1)-56320);return this.i=o+2,h>1114111&&this.fail("disallowed character."),h}getCodeNorm(){const r=this.getCode();return r===dS?i2:r}unget(){this.i=this.prevI,this.column--}captureTo(r){let{i:o}=this;const{chunk:l}=this;for(;;){const h=this.getCode(),b=h===dS,g=b?i2:h;if(g===du||r.includes(g))return this.text+=l.slice(o,this.prevI),g;b&&(this.text+=`${l.slice(o,this.prevI)} +`,o=this.i)}}captureToChar(r){let{i:o}=this;const{chunk:l}=this;for(;;){let h=this.getCode();switch(h){case dS:this.text+=`${l.slice(o,this.prevI)} +`,o=this.i,h=i2;break;case du:return this.text+=l.slice(o),!1}if(h===r)return this.text+=l.slice(o,this.prevI),!0}}captureNameChars(){const{chunk:r,i:o}=this;for(;;){const l=this.getCode();if(l===du)return this.name+=r.slice(o),du;if(!Zjt(l))return this.name+=r.slice(o,this.prevI),l===dS?i2:l}}skipSpaces(){for(;;){const r=this.getCodeNorm();if(r===du||!N1(r))return r}}setXMLVersion(r){this.currentXMLVersion=r,r==="1.0"?(this.isChar=Upr,this.getCode=this.getCode10):(this.isChar=Gpr,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=Ypr}sBeginWhitespace(){const r=this.i,o=this.skipSpaces();switch(this.prevI!==r&&(this.xmlDeclPossible=!1),o){case w6:if(this.state=_7e,this.text.length!==0)throw new Error("no-empty text at start");break;case du:break;default:this.unget(),this.state=dg,this.xmlDeclPossible=!1}}sDoctype(){var r;const o=this.captureTo(Sgr);switch(o){case eh:{(r=this.doctypeHandler)===null||r===void 0||r.call(this,this.text),this.text="",this.state=dg,this.doctype=!0;break}case du:break;default:this.text+=String.fromCodePoint(o),o===rQt?this.state=I9:Ose(o)&&(this.state=Qpr,this.q=o)}}sDoctypeQuote(){const r=this.q;this.captureToChar(r)&&(this.text+=String.fromCodePoint(r),this.q=null,this.state=y7e)}sDTD(){const r=this.captureTo(Egr);r!==du&&(this.text+=String.fromCodePoint(r),r===J9?this.state=y7e:r===w6?this.state=egr:Ose(r)&&(this.state=Zpr,this.q=r))}sDTDQuoted(){const r=this.q;this.captureToChar(r)&&(this.text+=String.fromCodePoint(r),this.state=I9,this.q=null)}sDTDOpenWaka(){const r=this.getCodeNorm();switch(this.text+=String.fromCodePoint(r),r){case lFt:this.state=tgr,this.openWakaBang="";break;case bb:this.state=igr;break;default:this.state=I9}}sDTDOpenWakaBang(){const r=String.fromCodePoint(this.getCodeNorm()),o=this.openWakaBang+=r;this.text+=r,o!=="-"&&(this.state=o==="--"?v7e:I9,this.openWakaBang="")}sDTDComment(){this.captureToChar(Tse)&&(this.text+="-",this.state=ngr)}sDTDCommentEnding(){const r=this.getCodeNorm();this.text+=String.fromCodePoint(r),this.state=r===Tse?rgr:v7e}sDTDCommentEnded(){const r=this.getCodeNorm();this.text+=String.fromCodePoint(r),r===eh?this.state=I9:(this.fail("malformed comment."),this.state=v7e)}sDTDPI(){this.captureToChar(bb)&&(this.text+="?",this.state=ogr)}sDTDPIEnding(){const r=this.getCodeNorm();this.text+=String.fromCodePoint(r),r===eh&&(this.state=I9)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:r}=this;const{chunk:o}=this;e:for(;;)switch(this.getCode()){case dS:this.entity+=`${o.slice(r,this.prevI)} +`,r=this.i;break;case _gr:{const{entityReturnState:l}=this,h=this.entity+o.slice(r,this.prevI);this.state=l;let b;h===""?(this.fail("empty entity name."),b="&;"):(b=this.parseEntity(h),this.entity=""),(l!==dg||this.textHandler!==void 0)&&(this.text+=b);break e}case du:this.entity+=o.slice(r);break e}}sOpenWaka(){const r=this.getCode();if(ZU(r))this.state=ggr,this.unget(),this.xmlDeclPossible=!1;else switch(r){case Pse:this.state=ygr,this.xmlDeclPossible=!1;break;case lFt:this.state=sgr,this.openWakaBang="",this.xmlDeclPossible=!1;break;case bb:this.state=fgr;break;default:this.fail("disallowed character in tag name"),this.state=dg,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":!this.sawRoot&&!this.reportedTextBeforeRoot&&(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=E7e,this.openWakaBang="";break;case"--":this.state=S7e,this.openWakaBang="";break;case"DOCTYPE":this.state=y7e,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(Tse)&&(this.state=agr)}sCommentEnding(){var r;const o=this.getCodeNorm();o===Tse?(this.state=lgr,(r=this.commentHandler)===null||r===void 0||r.call(this,this.text),this.text=""):(this.text+=`-${String.fromCodePoint(o)}`,this.state=S7e)}sCommentEnded(){const r=this.getCodeNorm();r!==eh?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(r)}`,this.state=S7e):this.state=dg}sCData(){this.captureToChar(J9)&&(this.state=cgr)}sCDataEnding(){const r=this.getCodeNorm();r===J9?this.state=ugr:(this.text+=`]${String.fromCodePoint(r)}`,this.state=E7e)}sCDataEnding2(){var r;const o=this.getCodeNorm();switch(o){case eh:{(r=this.cdataHandler)===null||r===void 0||r.call(this,this.text),this.text="",this.state=dg;break}case J9:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(o)}`,this.state=E7e}}sPIFirstChar(){const r=this.getCodeNorm();this.nameStartCheck(r)?(this.piTarget+=String.fromCodePoint(r),this.state=tFt):r===bb||N1(r)?(this.fail("processing instruction without a target."),this.state=r===bb?Ise:k7e):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r),this.state=tFt)}sPIRest(){const{chunk:r,i:o}=this;for(;;){const l=this.getCodeNorm();if(l===du){this.piTarget+=r.slice(o);return}if(!this.nameCheck(l)){this.piTarget+=r.slice(o,this.prevI);const h=l===bb;h||N1(l)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=h?bI:nFt):this.state=h?Ise:k7e:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(l));break}}}sPIBody(){if(this.text.length===0){const r=this.getCodeNorm();r===bb?this.state=Ise:N1(r)||(this.text=String.fromCodePoint(r))}else this.captureToChar(bb)&&(this.state=Ise)}sPIEnding(){var r;const o=this.getCodeNorm();if(o===eh){const{piTarget:l}=this;l.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),(r=this.piHandler)===null||r===void 0||r.call(this,{target:l,body:this.text}),this.piTarget=this.text="",this.state=dg}else o===bb?this.text+="?":(this.text+=`?${String.fromCodePoint(o)}`,this.state=k7e);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const r=this.skipSpaces();if(r===bb){this.state=bI;return}r!==du&&(this.state=dgr,this.name=String.fromCodePoint(r))}sXMLDeclName(){const r=this.captureTo(kgr);if(r===bb){this.state=bI,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(N1(r)||r===X9){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=r===X9?rFt:hgr}}sXMLDeclEq(){const r=this.getCodeNorm();if(r===bb){this.state=bI,this.fail("XML declaration is incomplete.");return}N1(r)||(r!==X9&&this.fail("value required."),this.state=rFt)}sXMLDeclValueStart(){const r=this.getCodeNorm();if(r===bb){this.state=bI,this.fail("XML declaration is incomplete.");return}N1(r)||(Ose(r)?this.q=r:(this.fail("value must be quoted."),this.q=aFt),this.state=bgr)}sXMLDeclValue(){const r=this.captureTo([this.q,bb]);if(r===bb){this.state=bI,this.text="",this.fail("XML declaration is incomplete.");return}if(r===du)return;const o=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const l=o;this.xmlDecl.version=l,/^1\.[0-9]+$/.test(l)?this.opt.forceXMLVersion||this.setXMLVersion(l):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(o)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=o;break;case"standalone":o!=="yes"&&o!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=o;break}this.name="",this.state=pgr}sXMLDeclSeparator(){const r=this.getCodeNorm();if(r===bb){this.state=bI;return}N1(r)||(this.fail("whitespace required."),this.unget()),this.state=nFt}sXMLDeclEnding(){var r;this.getCodeNorm()===eh?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),(r=this.xmldeclHandler)===null||r===void 0||r.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=dg):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var r;const o=this.captureNameChars();if(o===du)return;const l=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=l.ns=Object.create(null)),(r=this.openTagStartHandler)===null||r===void 0||r.call(this,l),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),o){case eh:this.openTag();break;case Pse:this.state=R7e;break;default:N1(o)||this.fail("disallowed character in tag name."),this.state=eV}}sOpenTagSlash(){this.getCode()===eh?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=eV)}sAttrib(){const r=this.skipSpaces();r!==du&&(ZU(r)?(this.unget(),this.state=A7e):r===eh?this.openTag():r===Pse?this.state=R7e:this.fail("disallowed character in attribute name."))}sAttribName(){const r=this.captureNameChars();r===X9?this.state=iFt:N1(r)?this.state=wgr:r===eh?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):r!==du&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const r=this.skipSpaces();switch(r){case du:return;case X9:this.state=iFt;break;default:this.fail("attribute without value."),this.text="",this.name="",r===eh?this.openTag():ZU(r)?(this.unget(),this.state=A7e):(this.fail("disallowed character in attribute name."),this.state=eV)}}sAttribValue(){const r=this.getCodeNorm();Ose(r)?(this.q=r,this.state=oFt):N1(r)||(this.fail("unquoted attribute value."),this.state=sFt,this.unget())}sAttribValueQuoted(){const{q:r,chunk:o}=this;let{i:l}=this;for(;;)switch(this.getCode()){case r:this.pushAttrib(this.name,this.text+o.slice(l,this.prevI)),this.name=this.text="",this.q=null,this.state=mgr;return;case yV:this.text+=o.slice(l,this.prevI),this.state=$se,this.entityReturnState=oFt;return;case i2:case dS:case C7e:this.text+=`${o.slice(l,this.prevI)} `,l=this.i;break;case w6:this.text+=o.slice(l,this.prevI),this.fail("disallowed character.");return;case du:this.text+=o.slice(l);return}}sAttribValueClosed(){const r=this.getCodeNorm();N1(r)?this.state=eV:r===eh?this.openTag():r===Pse?this.state=R7e:ZU(r)?(this.fail("no whitespace between attributes."),this.unget(),this.state=A7e):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const r=this.captureTo(Rgr);switch(r){case yV:this.state=$se,this.entityReturnState=sFt;break;case w6:this.fail("disallowed character.");break;case du:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",r===eh?this.openTag():this.state=eV}}sCloseTag(){const r=this.captureNameChars();r===eh?this.closeTag():N1(r)?this.state=vgr:r!==du&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case eh:this.closeTag();break;case du:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:r,forbiddenState:o}=this;const{chunk:l,textHandler:h}=this;e:for(;;)switch(this.getCode()){case w6:{if(this.state=_7e,h!==void 0){const{text:b}=this,g=l.slice(r,this.prevI);b.length!==0?(h(b+g),this.text=""):g.length!==0&&h(g)}o=pI;break e}case yV:this.state=$se,this.entityReturnState=dg,h!==void 0&&(this.text+=l.slice(r,this.prevI)),o=pI;break e;case J9:switch(o){case pI:o=fFt;break;case fFt:o=$7e;break;case $7e:break;default:throw new Error("impossible state")}break;case eh:o===$7e&&this.fail('the string "]]>" is disallowed in char data.'),o=pI;break;case dS:h!==void 0&&(this.text+=`${l.slice(r,this.prevI)} +`),r=this.i,o=pI;break;case du:h!==void 0&&(this.text+=l.slice(r));break e;default:o=pI}this.forbiddenState=o}handleTextOutsideRoot(){let{i:r}=this;const{chunk:o,textHandler:l}=this;let h=!1;e:for(;;){const b=this.getCode();switch(b){case w6:{if(this.state=_7e,l!==void 0){const{text:g}=this,m=o.slice(r,this.prevI);g.length!==0?(l(g+m),this.text=""):m.length!==0&&l(m)}break e}case yV:this.state=$se,this.entityReturnState=dg,l!==void 0&&(this.text+=o.slice(r,this.prevI)),h=!0;break e;case dS:l!==void 0&&(this.text+=`${o.slice(r,this.prevI)} +`),r=this.i;break;case du:l!==void 0&&(this.text+=o.slice(r));break e;default:N1(b)||(h=!0)}}h&&(!this.sawRoot&&!this.reportedTextBeforeRoot&&(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(r,o){var l;const{prefix:h,local:b}=this.qname(r),g={name:r,prefix:h,local:b,value:o};if(this.attribList.push(g),(l=this.attributeHandler)===null||l===void 0||l.call(this,g),h==="xmlns"){const m=o.trim();this.currentXMLVersion==="1.0"&&m===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[b]=m,N9e(this,b,m)}else if(r==="xmlns"){const m=o.trim();this.topNS[""]=m,N9e(this,"",m)}}pushAttribPlain(r,o){var l;const h={name:r,value:o};this.attribList.push(h),(l=this.attributeHandler)===null||l===void 0||l.call(this,h)}end(){var r,o;this.sawRoot||this.fail("document must contain a root element.");const{tags:l}=this;for(;l.length>0;){const b=l.pop();this.fail(`unclosed tag: ${b.name}`)}this.state!==eFt&&this.state!==dg&&this.fail("unexpected end.");const{text:h}=this;return h.length!==0&&((r=this.textHandler)===null||r===void 0||r.call(this,h),this.text=""),this._closed=!0,(o=this.endHandler)===null||o===void 0||o.call(this),this._init(),this}resolve(r){var o,l;let h=this.topNS[r];if(h!==void 0)return h;const{tags:b}=this;for(let g=b.length-1;g>=0;g--)if(h=b[g].ns[r],h!==void 0)return h;return h=this.ns[r],h!==void 0?h:(l=(o=this.opt).resolvePrefix)===null||l===void 0?void 0:l.call(o,r)}qname(r){const o=r.indexOf(":");if(o===-1)return{prefix:"",local:r};const l=r.slice(o+1),h=r.slice(0,o);return(h===""||l===""||l.includes(":"))&&this.fail(`malformed name: ${r}.`),{prefix:h,local:l}}processAttribsNS(){var r;const{attribList:o}=this,l=this.tag;{const{prefix:g,local:m}=this.qname(l.name);l.prefix=g,l.local=m;const S=l.uri=(r=this.resolve(g))!==null&&r!==void 0?r:"";g!==""&&(g==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),S===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(g)}.`),l.uri=g))}if(o.length===0)return;const{attributes:h}=l,b=new Set;for(const g of o){const{name:m,prefix:S,local:_}=g;let k,I;S===""?(k=m==="xmlns"?rN:"",I=m):(k=this.resolve(S),k===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(S)}.`),k=S),I=`{${k}}${_}`),b.has(I)&&this.fail(`duplicate attribute: ${I}.`),b.add(I),g.uri=k,h[m]=g}this.attribList=[]}processAttribsPlain(){const{attribList:r}=this,o=this.tag.attributes;for(const{name:l,value:h}of r)o[l]!==void 0&&this.fail(`duplicate attribute: ${l}.`),o[l]=h;this.attribList=[]}openTag(){var r;this.processAttribs();const{tags:o}=this,l=this.tag;l.isSelfClosing=!1,(r=this.openTagHandler)===null||r===void 0||r.call(this,l),o.push(l),this.state=dg,this.name=""}openSelfClosingTag(){var r,o,l;this.processAttribs();const{tags:h}=this,b=this.tag;b.isSelfClosing=!0,(r=this.openTagHandler)===null||r===void 0||r.call(this,b),(o=this.closeTagHandler)===null||o===void 0||o.call(this,b),(this.tag=(l=h[h.length-1])!==null&&l!==void 0?l:null)===null&&(this.closedRoot=!0),this.state=dg,this.name=""}closeTag(){const{tags:r,name:o}=this;if(this.state=dg,this.name="",o===""){this.fail("weird empty close tag."),this.text+="";return}const l=this.closeTagHandler;let h=r.length;for(;h-- >0;){const b=this.tag=r.pop();if(this.topNS=b.ns,l==null||l(b),b.name===o)break;this.fail("unexpected close tag.")}h===0?this.closedRoot=!0:h<0&&(this.fail(`unmatched closing tag: ${o}.`),this.text+=``)}parseEntity(r){if(r[0]!=="#"){const l=this.ENTITIES[r];return l!==void 0?l:(this.fail(this.isName(r)?"undefined entity.":"disallowed character in entity name."),`&${r};`)}let o=NaN;return r[1]==="x"&&/^#x[0-9a-f]+$/i.test(r)?o=parseInt(r.slice(2),16):/^#[0-9]+$/.test(r)&&(o=parseInt(r.slice(1),10)),this.isChar(o)?String.fromCodePoint(o):(this.fail("malformed character entity."),`&${r};`)}}VN.SaxesParser=$gr;var oQt={exports:{}},I7e={exports:{}},vf={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,o){return n.slice(r,o)},Error,FunctionPrototypeCall(n,r,...o){return n.call(r,...o)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,o){return Object.defineProperty(n,r,o)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,o){return n.then(r,o)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,o){return n.slice(r,o)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,r,o){return n.set(r,o)},Boolean,Uint8Array},sQt={exports:{}};(function(n){const r=Xr,{kResistStopPropagation:o,SymbolDispose:l}=vf,h=globalThis.AbortSignal||Zo().AbortSignal,b=globalThis.AbortController||Zo().AbortController,g=Object.getPrototypeOf(async function(){}).constructor,m=globalThis.Blob||r.Blob,S=typeof m<"u"?function(A){return A instanceof m}:function(A){return!1},_=(C,A)=>{if(C!==void 0&&(C===null||typeof C!="object"||!("aborted"in C)))throw new ERR_INVALID_ARG_TYPE(A,"AbortSignal",C)},k=(C,A)=>{if(typeof C!="function")throw new ERR_INVALID_ARG_TYPE(A,"Function",C)};class I extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let D=0;D{C=D,A=H}),resolve:C,reject:A}},promisify(C){return new Promise((A,M)=>{C((D,...H)=>D?M(D):A(...H))})},debuglog(){return function(){}},format(C,...A){return C.replace(/%([sdifj])/g,function(...[M,D]){const H=A.shift();return D==="f"?H.toFixed(6):D==="j"?JSON.stringify(H):D==="s"&&typeof H=="object"?`${H.constructor!==Object?H.constructor.name:""} {}`.trim():H.toString()})},inspect(C){switch(typeof C){case"string":if(C.includes("'"))if(C.includes('"')){if(!C.includes("`")&&!C.includes("${"))return`\`${C}\``}else return`"${C}"`;return`'${C}'`;case"number":return isNaN(C)?"NaN":Object.is(C,-0)?String(C):C;case"bigint":return`${String(C)}n`;case"boolean":case"undefined":return String(C);case"object":return"{}"}},types:{isAsyncFunction(C){return C instanceof g},isArrayBufferView(C){return ArrayBuffer.isView(C)}},isBlob:S,deprecate(C,A){return C},addAbortListener:Zs.addAbortListener||function(A,M){if(A===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",A);_(A,"signal"),k(M,"listener");let D;return A.aborted?queueMicrotask(()=>M()):(A.addEventListener("abort",M,{__proto__:null,once:!0,[o]:!0}),D=()=>{A.removeEventListener("abort",M)}),{__proto__:null,[l](){var H;(H=D)===null||H===void 0||H()}}},AbortSignalAny:h.any||function(A){if(A.length===1)return A[0];const M=new b,D=()=>M.abort();return A.forEach(H=>{_(H,"signals"),H.addEventListener("abort",D,{once:!0})}),M.signal.addEventListener("abort",()=>{A.forEach(H=>H.removeEventListener("abort",D))},{once:!0}),M.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(sQt);var Tg=sQt.exports,cLe={};const{format:Igr,inspect:Tle,AggregateError:Tgr}=Tg,Pgr=globalThis.AggregateError||Tgr,Ogr=Symbol("kIsNodeError"),Ngr=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Mgr=/^([A-Z][a-z0-9]*)+$/,Dgr="__node_internal_",gfe={};function ZI(n,r){if(!n)throw new gfe.ERR_INTERNAL_ASSERTION(r)}function hFt(n){let r="",o=n.length;const l=n[0]==="-"?1:0;for(;o>=l+4;o-=3)r=`_${n.slice(o-3,o)}${r}`;return`${n.slice(0,o)}${r}`}function Lgr(n,r,o){if(typeof r=="function")return ZI(r.length<=o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${r.length}).`),r(...o);const l=(r.match(/%[dfijoOs]/g)||[]).length;return ZI(l===o.length,`Code: ${n}; The provided arguments length (${o.length}) does not match the required ones (${l}).`),o.length===0?r:Igr(r,...o)}function kb(n,r,o){o||(o=Error);class l extends o{constructor(...b){super(Lgr(n,r,b))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(l.prototype,{name:{value:o.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),l.prototype.code=n,l.prototype[Ogr]=!0,gfe[n]=l}function bFt(n){const r=Dgr+n.name;return Object.defineProperty(n,"name",{value:r}),n}function jgr(n,r){if(n&&r&&n!==r){if(Array.isArray(r.errors))return r.errors.push(n),r;const o=new Pgr([r,n],r.message);return o.code=r.code,o}return n||r}let Fgr=class extends Error{constructor(r="The operation was aborted",o=void 0){if(o!==void 0&&typeof o!="object")throw new gfe.ERR_INVALID_ARG_TYPE("options","Object",o);super(r,o),this.code="ABORT_ERR",this.name="AbortError"}};kb("ERR_ASSERTION","%s",Error);kb("ERR_INVALID_ARG_TYPE",(n,r,o)=>{ZI(typeof n=="string","'name' must be a string"),Array.isArray(r)||(r=[r]);let l="The ";n.endsWith(" argument")?l+=`${n} `:l+=`"${n}" ${n.includes(".")?"property":"argument"} `,l+="must be ";const h=[],b=[],g=[];for(const S of r)ZI(typeof S=="string","All expected entries have to be of type string"),Ngr.includes(S)?h.push(S.toLowerCase()):Mgr.test(S)?b.push(S):(ZI(S!=="object",'The value "object" should be written as "Object"'),g.push(S));if(b.length>0){const S=h.indexOf("object");S!==-1&&(h.splice(h,S,1),b.push("Object"))}if(h.length>0){switch(h.length){case 1:l+=`of type ${h[0]}`;break;case 2:l+=`one of type ${h[0]} or ${h[1]}`;break;default:{const S=h.pop();l+=`one of type ${h.join(", ")}, or ${S}`}}(b.length>0||g.length>0)&&(l+=" or ")}if(b.length>0){switch(b.length){case 1:l+=`an instance of ${b[0]}`;break;case 2:l+=`an instance of ${b[0]} or ${b[1]}`;break;default:{const S=b.pop();l+=`an instance of ${b.join(", ")}, or ${S}`}}g.length>0&&(l+=" or ")}switch(g.length){case 0:break;case 1:g[0].toLowerCase()!==g[0]&&(l+="an "),l+=`${g[0]}`;break;case 2:l+=`one of ${g[0]} or ${g[1]}`;break;default:{const S=g.pop();l+=`one of ${g.join(", ")}, or ${S}`}}if(o==null)l+=`. Received ${o}`;else if(typeof o=="function"&&o.name)l+=`. Received function ${o.name}`;else if(typeof o=="object"){var m;if((m=o.constructor)!==null&&m!==void 0&&m.name)l+=`. Received an instance of ${o.constructor.name}`;else{const S=Tle(o,{depth:-1});l+=`. Received ${S}`}}else{let S=Tle(o,{colors:!1});S.length>25&&(S=`${S.slice(0,25)}...`),l+=`. Received type ${typeof o} (${S})`}return l},TypeError);kb("ERR_INVALID_ARG_VALUE",(n,r,o="is invalid")=>{let l=Tle(r);return l.length>128&&(l=l.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${o}. Received ${l}`},TypeError);kb("ERR_INVALID_RETURN_VALUE",(n,r,o)=>{var l;const h=o!=null&&(l=o.constructor)!==null&&l!==void 0&&l.name?`instance of ${o.constructor.name}`:`type ${typeof o}`;return`Expected ${n} to be returned from the "${r}" function but got ${h}.`},TypeError);kb("ERR_MISSING_ARGS",(...n)=>{ZI(n.length>0,"At least one arg needs to be specified");let r;const o=n.length;switch(n=(Array.isArray(n)?n:[n]).map(l=>`"${l}"`).join(" or "),o){case 1:r+=`The ${n[0]} argument`;break;case 2:r+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const l=n.pop();r+=`The ${n.join(", ")}, and ${l} arguments`}break}return`${r} must be specified`},TypeError);kb("ERR_OUT_OF_RANGE",(n,r,o)=>{ZI(r,'Missing "range" argument');let l;return Number.isInteger(o)&&Math.abs(o)>2**32?l=hFt(String(o)):typeof o=="bigint"?(l=String(o),(o>2n**32n||o<-(2n**32n))&&(l=hFt(l)),l+="n"):l=Tle(o),`The value of "${n}" is out of range. It must be ${r}. Received ${l}`},RangeError);kb("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);kb("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);kb("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);kb("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);kb("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);kb("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);kb("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);kb("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);kb("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);kb("ERR_STREAM_WRITE_AFTER_END","write after end",Error);kb("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var X1={AbortError:Fgr,aggregateTwoErrors:bFt(jgr),hideStackFrames:bFt,codes:gfe};const{ArrayIsArray:uLe,ArrayPrototypeIncludes:aQt,ArrayPrototypeJoin:lQt,ArrayPrototypeMap:Bgr,NumberIsInteger:fLe,NumberIsNaN:Hgr,NumberMAX_SAFE_INTEGER:Wgr,NumberMIN_SAFE_INTEGER:Ugr,NumberParseInt:Vgr,ObjectPrototypeHasOwnProperty:Ggr,RegExpPrototypeExec:cQt,String:Kgr,StringPrototypeToUpperCase:zgr,StringPrototypeTrim:qgr}=vf,{hideStackFrames:yy,codes:{ERR_SOCKET_BAD_PORT:Xgr,ERR_INVALID_ARG_TYPE:mp,ERR_INVALID_ARG_VALUE:_M,ERR_OUT_OF_RANGE:bT,ERR_UNKNOWN_SIGNAL:pFt}}=X1,{normalizeEncoding:Jgr}=Tg,{isAsyncFunction:Ygr,isArrayBufferView:Qgr}=Tg.types,gFt={};function Zgr(n){return n===(n|0)}function e1r(n){return n===n>>>0}const t1r=/^[0-7]+$/,n1r="must be a 32-bit unsigned integer or an octal string";function r1r(n,r,o){if(typeof n>"u"&&(n=o),typeof n=="string"){if(cQt(t1r,n)===null)throw new _M(r,n,n1r);n=Vgr(n,8)}return uQt(n,r),n}const i1r=yy((n,r,o=Ugr,l=Wgr)=>{if(typeof n!="number")throw new mp(r,"number",n);if(!fLe(n))throw new bT(r,"an integer",n);if(nl)throw new bT(r,`>= ${o} && <= ${l}`,n)}),o1r=yy((n,r,o=-2147483648,l=2147483647)=>{if(typeof n!="number")throw new mp(r,"number",n);if(!fLe(n))throw new bT(r,"an integer",n);if(nl)throw new bT(r,`>= ${o} && <= ${l}`,n)}),uQt=yy((n,r,o=!1)=>{if(typeof n!="number")throw new mp(r,"number",n);if(!fLe(n))throw new bT(r,"an integer",n);const l=o?1:0,h=4294967295;if(nh)throw new bT(r,`>= ${l} && <= ${h}`,n)});function dLe(n,r){if(typeof n!="string")throw new mp(r,"string",n)}function s1r(n,r,o=void 0,l){if(typeof n!="number")throw new mp(r,"number",n);if(o!=null&&nl||(o!=null||l!=null)&&Hgr(n))throw new bT(r,`${o!=null?`>= ${o}`:""}${o!=null&&l!=null?" && ":""}${l!=null?`<= ${l}`:""}`,n)}const a1r=yy((n,r,o)=>{if(!aQt(o,n)){const h="must be one of: "+lQt(Bgr(o,b=>typeof b=="string"?`'${b}'`:Kgr(b)),", ");throw new _M(r,n,h)}});function fQt(n,r){if(typeof n!="boolean")throw new mp(r,"boolean",n)}function T7e(n,r,o){return n==null||!Ggr(n,r)?o:n[r]}const l1r=yy((n,r,o=null)=>{const l=T7e(o,"allowArray",!1),h=T7e(o,"allowFunction",!1);if(!T7e(o,"nullable",!1)&&n===null||!l&&uLe(n)||typeof n!="object"&&(!h||typeof n!="function"))throw new mp(r,"Object",n)}),c1r=yy((n,r)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new mp(r,"a dictionary",n)}),wfe=yy((n,r,o=0)=>{if(!uLe(n))throw new mp(r,"Array",n);if(n.length{if(!Qgr(n))throw new mp(r,["Buffer","TypedArray","DataView"],n)});function p1r(n,r){const o=Jgr(r),l=n.length;if(o==="hex"&&l%2!==0)throw new _M("encoding",r,`is invalid for data of length ${l}`)}function g1r(n,r="Port",o=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&qgr(n).length===0||+n!==+n>>>0||n>65535||n===0&&!o)throw new Xgr(r,n,o);return n|0}const dQt=yy((n,r)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new mp(r,"AbortSignal",n)}),w1r=yy((n,r)=>{if(typeof n!="function")throw new mp(r,"Function",n)}),m1r=yy((n,r)=>{if(typeof n!="function"||Ygr(n))throw new mp(r,"Function",n)}),y1r=yy((n,r)=>{if(n!==void 0)throw new mp(r,"undefined",n)});function v1r(n,r,o){if(!aQt(o,n))throw new mp(r,`('${lQt(o,"|")}')`,n)}const _1r=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function wFt(n,r){if(typeof n>"u"||!cQt(_1r,n))throw new _M(r,n,'must be an array or string of format "; rel=preload; as=style"')}function S1r(n){if(typeof n=="string")return wFt(n,"hints"),n;if(uLe(n)){const r=n.length;let o="";if(r===0)return o;for(let l=0;l; rel=preload; as=style"')}var SK={isInt32:Zgr,isUint32:e1r,parseFileMode:r1r,validateArray:wfe,validateStringArray:u1r,validateBooleanArray:f1r,validateAbortSignalArray:d1r,validateBoolean:fQt,validateBuffer:b1r,validateDictionary:c1r,validateEncoding:p1r,validateFunction:w1r,validateInt32:o1r,validateInteger:i1r,validateNumber:s1r,validateObject:l1r,validateOneOf:a1r,validatePlainFunction:m1r,validatePort:g1r,validateSignalName:h1r,validateString:dLe,validateUint32:uQt,validateUndefined:y1r,validateUnion:v1r,validateAbortSignal:dQt,validateLinkHeaderValue:S1r},hLe={exports:{}};const{SymbolAsyncIterator:mFt,SymbolIterator:yFt,SymbolFor:zT}=vf,hQt=zT("nodejs.stream.destroyed"),bQt=zT("nodejs.stream.errored"),M9e=zT("nodejs.stream.readable"),D9e=zT("nodejs.stream.writable"),pQt=zT("nodejs.stream.disturbed"),E1r=zT("nodejs.webstream.isClosedPromise"),k1r=zT("nodejs.webstream.controllerErrorFunction");function mfe(n,r=!1){var o;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!r||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((o=n._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!n._writableState||n._readableState))}function yfe(n){var r;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((r=n._writableState)===null||r===void 0?void 0:r.writable)!==!1))}function R1r(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function tE(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function gQt(n){return!!(n&&!tE(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function wQt(n){return!!(n&&!tE(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function mQt(n){return!!(n&&!tE(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function A1r(n){return gQt(n)||wQt(n)||mQt(n)}function C1r(n,r){return n==null?!1:r===!0?typeof n[mFt]=="function":r===!1?typeof n[yFt]=="function":typeof n[mFt]=="function"||typeof n[yFt]=="function"}function vfe(n){if(!tE(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!!(n.destroyed||n[hQt]||l!=null&&l.destroyed)}function yQt(n){if(!yfe(n))return null;if(n.writableEnded===!0)return!0;const r=n._writableState;return r!=null&&r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function x1r(n,r){if(!yfe(n))return null;if(n.writableFinished===!0)return!0;const o=n._writableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.finished)!="boolean"?null:!!(o.finished||r===!1&&o.ended===!0&&o.length===0)}function $1r(n){if(!mfe(n))return null;if(n.readableEnded===!0)return!0;const r=n._readableState;return!r||r.errored?!1:typeof(r==null?void 0:r.ended)!="boolean"?null:r.ended}function vQt(n,r){if(!mfe(n))return null;const o=n._readableState;return o!=null&&o.errored?!1:typeof(o==null?void 0:o.endEmitted)!="boolean"?null:!!(o.endEmitted||r===!1&&o.ended===!0&&o.length===0)}function _Qt(n){return n&&n[M9e]!=null?n[M9e]:typeof(n==null?void 0:n.readable)!="boolean"?null:vfe(n)?!1:mfe(n)&&n.readable&&!vQt(n)}function SQt(n){return n&&n[D9e]!=null?n[D9e]:typeof(n==null?void 0:n.writable)!="boolean"?null:vfe(n)?!1:yfe(n)&&n.writable&&!yQt(n)}function I1r(n,r){return tE(n)?vfe(n)?!0:!((r==null?void 0:r.readable)!==!1&&_Qt(n)||(r==null?void 0:r.writable)!==!1&&SQt(n)):null}function T1r(n){var r,o;return tE(n)?n.writableErrored?n.writableErrored:(r=(o=n._writableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function P1r(n){var r,o;return tE(n)?n.readableErrored?n.readableErrored:(r=(o=n._readableState)===null||o===void 0?void 0:o.errored)!==null&&r!==void 0?r:null:null}function O1r(n){if(!tE(n))return null;if(typeof n.closed=="boolean")return n.closed;const r=n._writableState,o=n._readableState;return typeof(r==null?void 0:r.closed)=="boolean"||typeof(o==null?void 0:o.closed)=="boolean"?(r==null?void 0:r.closed)||(o==null?void 0:o.closed):typeof n._closed=="boolean"&&EQt(n)?n._closed:null}function EQt(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function kQt(n){return typeof n._sent100=="boolean"&&EQt(n)}function N1r(n){var r;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((r=n.req)===null||r===void 0?void 0:r.upgradeOrConnect)===void 0}function M1r(n){if(!tE(n))return null;const r=n._writableState,o=n._readableState,l=r||o;return!l&&kQt(n)||!!(l&&l.autoDestroy&&l.emitClose&&l.closed===!1)}function D1r(n){var r;return!!(n&&((r=n[pQt])!==null&&r!==void 0?r:n.readableDidRead||n.readableAborted))}function L1r(n){var r,o,l,h,b,g,m,S,_,k;return!!(n&&((r=(o=(l=(h=(b=(g=n[bQt])!==null&&g!==void 0?g:n.readableErrored)!==null&&b!==void 0?b:n.writableErrored)!==null&&h!==void 0?h:(m=n._readableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&l!==void 0?l:(S=n._writableState)===null||S===void 0?void 0:S.errorEmitted)!==null&&o!==void 0?o:(_=n._readableState)===null||_===void 0?void 0:_.errored)!==null&&r!==void 0?r:!((k=n._writableState)===null||k===void 0)&&k.errored))}var eR={isDestroyed:vfe,kIsDestroyed:hQt,isDisturbed:D1r,kIsDisturbed:pQt,isErrored:L1r,kIsErrored:bQt,isReadable:_Qt,kIsReadable:M9e,kIsClosedPromise:E1r,kControllerErrorFunction:k1r,kIsWritable:D9e,isClosed:O1r,isDuplexNodeStream:R1r,isFinished:I1r,isIterable:C1r,isReadableNodeStream:mfe,isReadableStream:gQt,isReadableEnded:$1r,isReadableFinished:vQt,isReadableErrored:P1r,isNodeStream:tE,isWebStream:A1r,isWritable:SQt,isWritableNodeStream:yfe,isWritableStream:wQt,isWritableEnded:yQt,isWritableFinished:x1r,isWritableErrored:T1r,isServerRequest:N1r,isServerResponse:kQt,willEmitClose:M1r,isTransformStream:mQt};const m6=yi,{AbortError:RQt,codes:j1r}=X1,{ERR_INVALID_ARG_TYPE:F1r,ERR_STREAM_PREMATURE_CLOSE:vFt}=j1r,{kEmptyObject:L9e,once:j9e}=Tg,{validateAbortSignal:B1r,validateFunction:H1r,validateObject:W1r,validateBoolean:U1r}=SK,{Promise:V1r,PromisePrototypeThen:G1r,SymbolDispose:AQt}=vf,{isClosed:K1r,isReadable:_Ft,isReadableNodeStream:P7e,isReadableStream:z1r,isReadableFinished:SFt,isReadableErrored:EFt,isWritable:kFt,isWritableNodeStream:RFt,isWritableStream:q1r,isWritableFinished:AFt,isWritableErrored:CFt,isNodeStream:X1r,willEmitClose:J1r,kIsClosedPromise:Y1r}=eR;let RN;function Q1r(n){return n.setHeader&&typeof n.abort=="function"}const F9e=()=>{};function CQt(n,r,o){var l,h;if(arguments.length===2?(o=r,r=L9e):r==null?r=L9e:W1r(r,"options"),H1r(o,"callback"),B1r(r.signal,"options.signal"),o=j9e(o),z1r(n)||q1r(n))return Z1r(n,r,o);if(!X1r(n))throw new F1r("stream",["ReadableStream","WritableStream","Stream"],n);const b=(l=r.readable)!==null&&l!==void 0?l:P7e(n),g=(h=r.writable)!==null&&h!==void 0?h:RFt(n),m=n._writableState,S=n._readableState,_=()=>{n.writable||C()};let k=J1r(n)&&P7e(n)===b&&RFt(n)===g,I=AFt(n,!1);const C=()=>{I=!0,n.destroyed&&(k=!1),!(k&&(!n.readable||b))&&(!b||A)&&o.call(n)};let A=SFt(n,!1);const M=()=>{A=!0,n.destroyed&&(k=!1),!(k&&(!n.writable||g))&&(!g||I)&&o.call(n)},D=ne=>{o.call(n,ne)};let H=K1r(n);const G=()=>{H=!0;const ne=CFt(n)||EFt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);if(b&&!A&&P7e(n,!0)&&!SFt(n,!1))return o.call(n,new vFt);if(g&&!I&&!AFt(n,!1))return o.call(n,new vFt);o.call(n)},Y=()=>{H=!0;const ne=CFt(n)||EFt(n);if(ne&&typeof ne!="boolean")return o.call(n,ne);o.call(n)},F=()=>{n.req.on("finish",C)};Q1r(n)?(n.on("complete",C),k||n.on("abort",G),n.req?F():n.on("request",F)):g&&!m&&(n.on("end",_),n.on("close",_)),!k&&typeof n.aborted=="boolean"&&n.on("aborted",G),n.on("end",M),n.on("finish",C),r.error!==!1&&n.on("error",D),n.on("close",G),H?m6.nextTick(G):m!=null&&m.errorEmitted||S!=null&&S.errorEmitted?k||m6.nextTick(Y):(!b&&(!k||_Ft(n))&&(I||kFt(n)===!1)||!g&&(!k||kFt(n))&&(A||_Ft(n)===!1)||S&&n.req&&n.aborted)&&m6.nextTick(Y);const Q=()=>{o=F9e,n.removeListener("aborted",G),n.removeListener("complete",C),n.removeListener("abort",G),n.removeListener("request",F),n.req&&n.req.removeListener("finish",C),n.removeListener("end",_),n.removeListener("close",_),n.removeListener("finish",C),n.removeListener("end",M),n.removeListener("error",D),n.removeListener("close",G)};if(r.signal&&!H){const ne=()=>{const be=o;Q(),be.call(n,new RQt(void 0,{cause:r.signal.reason}))};if(r.signal.aborted)m6.nextTick(ne);else{RN=RN||Tg.addAbortListener;const be=RN(r.signal,ne),De=o;o=j9e((...Ee)=>{be[AQt](),De.apply(n,Ee)})}}return Q}function Z1r(n,r,o){let l=!1,h=F9e;if(r.signal)if(h=()=>{l=!0,o.call(n,new RQt(void 0,{cause:r.signal.reason}))},r.signal.aborted)m6.nextTick(h);else{RN=RN||Tg.addAbortListener;const g=RN(r.signal,h),m=o;o=j9e((...S)=>{g[AQt](),m.apply(n,S)})}const b=(...g)=>{l||m6.nextTick(()=>o.apply(n,g))};return G1r(n[Y1r].promise,b,b),F9e}function e0r(n,r){var o;let l=!1;return r===null&&(r=L9e),(o=r)!==null&&o!==void 0&&o.cleanup&&(U1r(r.cleanup,"cleanup"),l=r.cleanup),new V1r((h,b)=>{const g=CQt(n,r,m=>{l&&g(),m?b(m):h()})})}hLe.exports=CQt;hLe.exports.finished=e0r;var J6=hLe.exports;const NS=yi,{aggregateTwoErrors:t0r,codes:{ERR_MULTIPLE_CALLBACK:n0r},AbortError:r0r}=X1,{Symbol:xQt}=vf,{kIsDestroyed:i0r,isDestroyed:o0r,isFinished:s0r,isServerRequest:a0r}=eR,$Qt=xQt("kDestroy"),B9e=xQt("kConstruct");function IQt(n,r,o){n&&(n.stack,r&&!r.errored&&(r.errored=n),o&&!o.errored&&(o.errored=n))}function l0r(n,r){const o=this._readableState,l=this._writableState,h=l||o;return l!=null&&l.destroyed||o!=null&&o.destroyed?(typeof r=="function"&&r(),this):(IQt(n,l,o),l&&(l.destroyed=!0),o&&(o.destroyed=!0),h.constructed?xFt(this,n,r):this.once($Qt,function(b){xFt(this,t0r(b,n),r)}),this)}function xFt(n,r,o){let l=!1;function h(b){if(l)return;l=!0;const g=n._readableState,m=n._writableState;IQt(b,m,g),m&&(m.closed=!0),g&&(g.closed=!0),typeof o=="function"&&o(b),b?NS.nextTick(c0r,n,b):NS.nextTick(TQt,n)}try{n._destroy(r||null,h)}catch(b){h(b)}}function c0r(n,r){H9e(n,r),TQt(n)}function TQt(n){const r=n._readableState,o=n._writableState;o&&(o.closeEmitted=!0),r&&(r.closeEmitted=!0),(o!=null&&o.emitClose||r!=null&&r.emitClose)&&n.emit("close")}function H9e(n,r){const o=n._readableState,l=n._writableState;l!=null&&l.errorEmitted||o!=null&&o.errorEmitted||(l&&(l.errorEmitted=!0),o&&(o.errorEmitted=!0),n.emit("error",r))}function u0r(){const n=this._readableState,r=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),r&&(r.constructed=!0,r.destroyed=!1,r.closed=!1,r.closeEmitted=!1,r.errored=null,r.errorEmitted=!1,r.finalCalled=!1,r.prefinished=!1,r.ended=r.writable===!1,r.ending=r.writable===!1,r.finished=r.writable===!1)}function W9e(n,r,o){const l=n._readableState,h=n._writableState;if(h!=null&&h.destroyed||l!=null&&l.destroyed)return this;l!=null&&l.autoDestroy||h!=null&&h.autoDestroy?n.destroy(r):r&&(r.stack,h&&!h.errored&&(h.errored=r),l&&!l.errored&&(l.errored=r),o?NS.nextTick(H9e,n,r):H9e(n,r))}function f0r(n,r){if(typeof n._construct!="function")return;const o=n._readableState,l=n._writableState;o&&(o.constructed=!1),l&&(l.constructed=!1),n.once(B9e,r),!(n.listenerCount(B9e)>1)&&NS.nextTick(d0r,n)}function d0r(n){let r=!1;function o(l){if(r){W9e(n,l??new n0r);return}r=!0;const h=n._readableState,b=n._writableState,g=b||h;h&&(h.constructed=!0),b&&(b.constructed=!0),g.destroyed?n.emit($Qt,l):l?W9e(n,l,!0):NS.nextTick(h0r,n)}try{n._construct(l=>{NS.nextTick(o,l)})}catch(l){NS.nextTick(o,l)}}function h0r(n){n.emit(B9e)}function $Ft(n){return(n==null?void 0:n.setHeader)&&typeof n.abort=="function"}function PQt(n){n.emit("close")}function b0r(n,r){n.emit("error",r),NS.nextTick(PQt,n)}function p0r(n,r){!n||o0r(n)||(!r&&!s0r(n)&&(r=new r0r),a0r(n)?(n.socket=null,n.destroy(r)):$Ft(n)?n.abort():$Ft(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(r):typeof n.close=="function"?n.close():r?NS.nextTick(b0r,n,r):NS.nextTick(PQt,n),n.destroyed||(n[i0r]=!0))}var SM={construct:f0r,destroyer:p0r,destroy:l0r,undestroy:u0r,errorOrDestroy:W9e};const{ArrayIsArray:g0r,ObjectSetPrototypeOf:OQt}=vf,{EventEmitter:_fe}=Zs;function Sfe(n){_fe.call(this,n)}OQt(Sfe.prototype,_fe.prototype);OQt(Sfe,_fe);Sfe.prototype.pipe=function(n,r){const o=this;function l(k){n.writable&&n.write(k)===!1&&o.pause&&o.pause()}o.on("data",l);function h(){o.readable&&o.resume&&o.resume()}n.on("drain",h),!n._isStdio&&(!r||r.end!==!1)&&(o.on("end",g),o.on("close",m));let b=!1;function g(){b||(b=!0,n.end())}function m(){b||(b=!0,typeof n.destroy=="function"&&n.destroy())}function S(k){_(),_fe.listenerCount(this,"error")===0&&this.emit("error",k)}U9e(o,"error",S),U9e(n,"error",S);function _(){o.removeListener("data",l),n.removeListener("drain",h),o.removeListener("end",g),o.removeListener("close",m),o.removeListener("error",S),n.removeListener("error",S),o.removeListener("end",_),o.removeListener("close",_),n.removeListener("close",_)}return o.on("end",_),o.on("close",_),n.on("close",_),n.emit("pipe",o),n};function U9e(n,r,o){if(typeof n.prependListener=="function")return n.prependListener(r,o);!n._events||!n._events[r]?n.on(r,o):g0r(n._events[r])?n._events[r].unshift(o):n._events[r]=[o,n._events[r]]}var bLe={Stream:Sfe,prependListener:U9e},NQt={exports:{}};(function(n){const{SymbolDispose:r}=vf,{AbortError:o,codes:l}=X1,{isNodeStream:h,isWebStream:b,kControllerErrorFunction:g}=eR,m=J6,{ERR_INVALID_ARG_TYPE:S}=l;let _;const k=(I,C)=>{if(typeof I!="object"||!("aborted"in I))throw new S(C,"AbortSignal",I)};n.exports.addAbortSignal=function(C,A){if(k(C,"signal"),!h(A)&&!b(A))throw new S("stream",["ReadableStream","WritableStream","Stream"],A);return n.exports.addAbortSignalNoValidate(C,A)},n.exports.addAbortSignalNoValidate=function(I,C){if(typeof I!="object"||!("aborted"in I))return C;const A=h(C)?()=>{C.destroy(new o(void 0,{cause:I.reason}))}:()=>{C[g](new o(void 0,{cause:I.reason}))};if(I.aborted)A();else{_=_||Tg.addAbortListener;const M=_(I,A);m(C,M[r])}return C}})(NQt);var Efe=NQt.exports;const{StringPrototypeSlice:IFt,SymbolIterator:w0r,TypedArrayPrototypeSet:Nse,Uint8Array:m0r}=vf,{Buffer:O7e}=Xr,{inspect:y0r}=Tg;var v0r=class{constructor(){this.head=null,this.tail=null,this.length=0}push(r){const o={data:r,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length}unshift(r){const o={data:r,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}shift(){if(this.length===0)return;const r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}clear(){this.head=this.tail=null,this.length=0}join(r){if(this.length===0)return"";let o=this.head,l=""+o.data;for(;(o=o.next)!==null;)l+=r+o.data;return l}concat(r){if(this.length===0)return O7e.alloc(0);const o=O7e.allocUnsafe(r>>>0);let l=this.head,h=0;for(;l;)Nse(o,l.data,h),h+=l.data.length,l=l.next;return o}consume(r,o){const l=this.head.data;if(rb.length)o+=b,r-=b.length;else{r===b.length?(o+=b,++h,l.next?this.head=l.next:this.head=this.tail=null):(o+=IFt(b,0,r),this.head=l,l.data=IFt(b,r));break}++h}while((l=l.next)!==null);return this.length-=h,o}_getBuffer(r){const o=O7e.allocUnsafe(r),l=r;let h=this.head,b=0;do{const g=h.data;if(r>g.length)Nse(o,g,l-r),r-=g.length;else{r===g.length?(Nse(o,g,l-r),++b,h.next?this.head=h.next:this.head=this.tail=null):(Nse(o,new m0r(g.buffer,g.byteOffset,r),l-r),this.head=h,h.data=g.slice(r));break}++b}while((h=h.next)!==null);return this.length-=b,o}[Symbol.for("nodejs.util.inspect.custom")](r,o){return y0r(this,{...o,depth:0,customInspect:!1})}};const{MathFloor:_0r,NumberIsInteger:S0r}=vf,{validateInteger:E0r}=SK,{ERR_INVALID_ARG_VALUE:k0r}=X1.codes;let MQt=16*1024,DQt=16;function R0r(n,r,o){return n.highWaterMark!=null?n.highWaterMark:r?n[o]:null}function LQt(n){return n?DQt:MQt}function A0r(n,r){E0r(r,"value",0),n?DQt=r:MQt=r}function C0r(n,r,o,l){const h=R0r(r,l,o);if(h!=null){if(!S0r(h)||h<0){const b=l?`options.${o}`:"options.highWaterMark";throw new k0r(b,h)}return _0r(h)}return LQt(n.objectMode)}var kfe={getHighWaterMark:C0r,getDefaultHighWaterMark:LQt,setDefaultHighWaterMark:A0r};const TFt=yi,{PromisePrototypeThen:x0r,SymbolAsyncIterator:PFt,SymbolIterator:OFt}=vf,{Buffer:$0r}=Xr,{ERR_INVALID_ARG_TYPE:I0r,ERR_STREAM_NULL_VALUES:T0r}=X1.codes;function P0r(n,r,o){let l;if(typeof r=="string"||r instanceof $0r)return new n({objectMode:!0,...o,read(){this.push(r),this.push(null)}});let h;if(r&&r[PFt])h=!0,l=r[PFt]();else if(r&&r[OFt])h=!1,l=r[OFt]();else throw new I0r("iterable",["Iterable"],r);const b=new n({objectMode:!0,highWaterMark:1,...o});let g=!1;b._read=function(){g||(g=!0,S())},b._destroy=function(_,k){x0r(m(_),()=>TFt.nextTick(k,_),I=>TFt.nextTick(k,I||_))};async function m(_){const k=_!=null,I=typeof l.throw=="function";if(k&&I){const{value:C,done:A}=await l.throw(_);if(await C,A)return}if(typeof l.return=="function"){const{value:C}=await l.return();await C}}async function S(){for(;;){try{const{value:_,done:k}=h?await l.next():l.next();if(k)b.push(null);else{const I=_&&typeof _.then=="function"?await _:_;if(I===null)throw g=!1,new T0r;if(b.push(I))continue;g=!1}}catch(_){b.destroy(_)}break}}return b}var jQt=P0r,N7e,NFt;function Rfe(){if(NFt)return N7e;NFt=1;const n=yi,{ArrayPrototypeIndexOf:r,NumberIsInteger:o,NumberIsNaN:l,NumberParseInt:h,ObjectDefineProperties:b,ObjectKeys:g,ObjectSetPrototypeOf:m,Promise:S,SafeSet:_,SymbolAsyncDispose:k,SymbolAsyncIterator:I,Symbol:C}=vf;N7e=de,de.ReadableState=mt;const{EventEmitter:A}=Zs,{Stream:M,prependListener:D}=bLe,{Buffer:H}=Xr,{addAbortSignal:G}=Efe,Y=J6;let F=Tg.debuglog("stream",E=>{F=E});const Q=v0r,ne=SM,{getHighWaterMark:be,getDefaultHighWaterMark:De}=kfe,{aggregateTwoErrors:Ee,codes:{ERR_INVALID_ARG_TYPE:Ae,ERR_METHOD_NOT_IMPLEMENTED:qe,ERR_OUT_OF_RANGE:et,ERR_STREAM_PUSH_AFTER_EOF:fe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:L},AbortError:ve}=X1,{validateObject:ye}=SK,me=C("kPaused"),{StringDecoder:je}=sy,Be=jQt;m(de.prototype,M.prototype),m(de,M);const ze=()=>{},{errorOrDestroy:Ze}=ne,Le=1,Ut=2,se=4,Me=8,ft=16,st=32,at=64,yt=128,Mt=256,rn=512,$e=1024,Te=2048,P=4096,T=8192,B=16384,K=32768,z=65536,Se=1<<17,_e=1<<18;function Pe(E){return{enumerable:!1,get(){return(this.state&E)!==0},set(R){R?this.state|=E:this.state&=~E}}}b(mt.prototype,{objectMode:Pe(Le),ended:Pe(Ut),endEmitted:Pe(se),reading:Pe(Me),constructed:Pe(ft),sync:Pe(st),needReadable:Pe(at),emittedReadable:Pe(yt),readableListening:Pe(Mt),resumeScheduled:Pe(rn),errorEmitted:Pe($e),emitClose:Pe(Te),autoDestroy:Pe(P),destroyed:Pe(T),closed:Pe(B),closeEmitted:Pe(K),multiAwaitDrain:Pe(z),readingMore:Pe(Se),dataEmitted:Pe(_e)});function mt(E,R,ee){typeof ee!="boolean"&&(ee=R instanceof Mk()),this.state=Te|P|ft|st,E&&E.objectMode&&(this.state|=Le),ee&&E&&E.readableObjectMode&&(this.state|=Le),this.highWaterMark=E?be(this,E,"readableHighWaterMark",ee):De(!1),this.buffer=new Q,this.length=0,this.pipes=[],this.flowing=null,this[me]=null,E&&E.emitClose===!1&&(this.state&=~Te),E&&E.autoDestroy===!1&&(this.state&=~P),this.errored=null,this.defaultEncoding=E&&E.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,E&&E.encoding&&(this.decoder=new je(E.encoding),this.encoding=E.encoding)}function de(E){if(!(this instanceof de))return new de(E);const R=this instanceof Mk();this._readableState=new mt(E,this,R),E&&(typeof E.read=="function"&&(this._read=E.read),typeof E.destroy=="function"&&(this._destroy=E.destroy),typeof E.construct=="function"&&(this._construct=E.construct),E.signal&&!R&&G(E.signal,this)),M.call(this,E),ne.construct(this,()=>{this._readableState.needReadable&&pt(this,this._readableState)})}de.prototype.destroy=ne.destroy,de.prototype._undestroy=ne.undestroy,de.prototype._destroy=function(E,R){R(E)},de.prototype[A.captureRejectionSymbol]=function(E){this.destroy(E)},de.prototype[k]=function(){let E;return this.destroyed||(E=this.readableEnded?null:new ve,this.destroy(E)),new S((R,ee)=>Y(this,te=>te&&te!==E?ee(te):R(null)))},de.prototype.push=function(E,R){return zt(this,E,R,!1)},de.prototype.unshift=function(E,R){return zt(this,E,R,!0)};function zt(E,R,ee,te){F("readableAddChunk",R);const he=E._readableState;let cn;if(he.state&Le||(typeof R=="string"?(ee=ee||he.defaultEncoding,he.encoding!==ee&&(te&&he.encoding?R=H.from(R,ee).toString(he.encoding):(R=H.from(R,ee),ee=""))):R instanceof H?ee="":M._isUint8Array(R)?(R=M._uint8ArrayToBuffer(R),ee=""):R!=null&&(cn=new Ae("chunk",["string","Buffer","Uint8Array"],R))),cn)Ze(E,cn);else if(R===null)he.state&=~Me,ae(E,he);else if(he.state&Le||R&&R.length>0)if(te)if(he.state&se)Ze(E,new L);else{if(he.destroyed||he.errored)return!1;Jt(E,he,R,!0)}else if(he.ended)Ze(E,new fe);else{if(he.destroyed||he.errored)return!1;he.state&=~Me,he.decoder&&!ee?(R=he.decoder.write(R),he.objectMode||R.length!==0?Jt(E,he,R,!1):pt(E,he)):Jt(E,he,R,!1)}else te||(he.state&=~Me,pt(E,he));return!he.ended&&(he.length0?(R.state&z?R.awaitDrainWriters.clear():R.awaitDrainWriters=null,R.dataEmitted=!0,E.emit("data",ee)):(R.length+=R.objectMode?1:ee.length,te?R.buffer.unshift(ee):R.buffer.push(ee),R.state&at&&ce(E)),pt(E,R)}de.prototype.isPaused=function(){const E=this._readableState;return E[me]===!0||E.flowing===!1},de.prototype.setEncoding=function(E){const R=new je(E);this._readableState.decoder=R,this._readableState.encoding=this._readableState.decoder.encoding;const ee=this._readableState.buffer;let te="";for(const he of ee)te+=R.write(he);return ee.clear(),te!==""&&ee.push(te),this._readableState.length=te.length,this};const In=1073741824;function vr(E){if(E>In)throw new et("size","<= 1GiB",E);return E--,E|=E>>>1,E|=E>>>2,E|=E>>>4,E|=E>>>8,E|=E>>>16,E++,E}function Ce(E,R){return E<=0||R.length===0&&R.ended?0:R.state&Le?1:l(E)?R.flowing&&R.length?R.buffer.first().length:R.length:E<=R.length?E:R.ended?R.length:0}de.prototype.read=function(E){F("read",E),E===void 0?E=NaN:o(E)||(E=h(E,10));const R=this._readableState,ee=E;if(E>R.highWaterMark&&(R.highWaterMark=vr(E)),E!==0&&(R.state&=~yt),E===0&&R.needReadable&&((R.highWaterMark!==0?R.length>=R.highWaterMark:R.length>0)||R.ended))return F("read: emitReadable",R.length,R.ended),R.length===0&&R.ended?Bs(this):ce(this),null;if(E=Ce(E,R),E===0&&R.ended)return R.length===0&&Bs(this),null;let te=(R.state&at)!==0;if(F("need readable",te),(R.length===0||R.length-E0?he=kl(E,R):he=null,he===null?(R.needReadable=R.length<=R.highWaterMark,E=0):(R.length-=E,R.multiAwaitDrain?R.awaitDrainWriters.clear():R.awaitDrainWriters=null),R.length===0&&(R.ended||(R.needReadable=!0),ee!==E&&R.ended&&Bs(this)),he!==null&&!R.errorEmitted&&!R.closeEmitted&&(R.dataEmitted=!0,this.emit("data",he)),he};function ae(E,R){if(F("onEofChunk"),!R.ended){if(R.decoder){const ee=R.decoder.end();ee&&ee.length&&(R.buffer.push(ee),R.length+=R.objectMode?1:ee.length)}R.ended=!0,R.sync?ce(E):(R.needReadable=!1,R.emittedReadable=!0,Ye(E))}}function ce(E){const R=E._readableState;F("emitReadable",R.needReadable,R.emittedReadable),R.needReadable=!1,R.emittedReadable||(F("emitReadable",R.flowing),R.emittedReadable=!0,n.nextTick(Ye,E))}function Ye(E){const R=E._readableState;F("emitReadable_",R.destroyed,R.length,R.ended),!R.destroyed&&!R.errored&&(R.length||R.ended)&&(E.emit("readable"),R.emittedReadable=!1),R.needReadable=!R.flowing&&!R.ended&&R.length<=R.highWaterMark,xi(E)}function pt(E,R){!R.readingMore&&R.constructed&&(R.readingMore=!0,n.nextTick(qt,E,R))}function qt(E,R){for(;!R.reading&&!R.ended&&(R.length1&&te.pipes.includes(E)&&(F("false write response, pause",te.awaitDrainWriters.size),te.awaitDrainWriters.add(E)),ee.pause()),Ur||(Ur=pn(ee,E),E.on("drain",Ur))}ee.on("data",$l);function $l(Vr){F("ondata");const _r=E.write(Vr);F("dest.write",_r),_r===!1&&xl()}function Ws(Vr){if(F("onerror",Vr),Ui(),E.removeListener("error",Ws),E.listenerCount("error")===0){const _r=E._writableState||E._readableState;_r&&!_r.errorEmitted?Ze(E,Vr):E.emit("error",Vr)}}D(E,"error",Ws);function Us(){E.removeListener("finish",Vs),Ui()}E.once("close",Us);function Vs(){F("onfinish"),E.removeListener("close",Us),Ui()}E.once("finish",Vs);function Ui(){F("unpipe"),ee.unpipe(E)}return E.emit("pipe",ee),E.writableNeedDrain===!0?xl():te.flowing||(F("pipe resume"),ee.resume()),E};function pn(E,R){return function(){const te=E._readableState;te.awaitDrainWriters===R?(F("pipeOnDrain",1),te.awaitDrainWriters=null):te.multiAwaitDrain&&(F("pipeOnDrain",te.awaitDrainWriters.size),te.awaitDrainWriters.delete(R)),(!te.awaitDrainWriters||te.awaitDrainWriters.size===0)&&E.listenerCount("data")&&E.resume()}}de.prototype.unpipe=function(E){const R=this._readableState,ee={hasUnpiped:!1};if(R.pipes.length===0)return this;if(!E){const he=R.pipes;R.pipes=[],this.pause();for(let cn=0;cn0,te.flowing!==!1&&this.resume()):E==="readable"&&!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.flowing=!1,te.emittedReadable=!1,F("on readable",te.length,te.reading),te.length?ce(this):te.reading||n.nextTick(Ho,this)),ee},de.prototype.addListener=de.prototype.on,de.prototype.removeListener=function(E,R){const ee=M.prototype.removeListener.call(this,E,R);return E==="readable"&&n.nextTick(Kr,this),ee},de.prototype.off=de.prototype.removeListener,de.prototype.removeAllListeners=function(E){const R=M.prototype.removeAllListeners.apply(this,arguments);return(E==="readable"||E===void 0)&&n.nextTick(Kr,this),R};function Kr(E){const R=E._readableState;R.readableListening=E.listenerCount("readable")>0,R.resumeScheduled&&R[me]===!1?R.flowing=!0:E.listenerCount("data")>0?E.resume():R.readableListening||(R.flowing=null)}function Ho(E){F("readable nexttick read 0"),E.read(0)}de.prototype.resume=function(){const E=this._readableState;return E.flowing||(F("resume"),E.flowing=!E.readableListening,Ti(this,E)),E[me]=!1,this};function Ti(E,R){R.resumeScheduled||(R.resumeScheduled=!0,n.nextTick(to,E,R))}function to(E,R){F("resume",R.reading),R.reading||E.read(0),R.resumeScheduled=!1,E.emit("resume"),xi(E),R.flowing&&!R.reading&&E.read(0)}de.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[me]=!0,this};function xi(E){const R=E._readableState;for(F("flow",R.flowing);R.flowing&&E.read()!==null;);}de.prototype.wrap=function(E){let R=!1;E.on("data",te=>{!this.push(te)&&E.pause&&(R=!0,E.pause())}),E.on("end",()=>{this.push(null)}),E.on("error",te=>{Ze(this,te)}),E.on("close",()=>{this.destroy()}),E.on("destroy",()=>{this.destroy()}),this._read=()=>{R&&E.resume&&(R=!1,E.resume())};const ee=g(E);for(let te=1;te{he=Pn?Ee(he,Pn):null,ee(),ee=ze});try{for(;;){const Pn=E.destroyed?null:E.read();if(Pn!==null)yield Pn;else{if(he)throw he;if(he===null)return;await new S(te)}}}catch(Pn){throw he=Ee(he,Pn),he}finally{(he||(R==null?void 0:R.destroyOnReturn)!==!1)&&(he===void 0||E._readableState.autoDestroy)?ne.destroyer(E,null):(E.off("readable",te),cn())}}b(de.prototype,{readable:{__proto__:null,get(){const E=this._readableState;return!!E&&E.readable!==!1&&!E.destroyed&&!E.errorEmitted&&!E.endEmitted},set(E){this._readableState&&(this._readableState.readable=!!E)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(E){this._readableState&&(this._readableState.flowing=E)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(E){this._readableState&&(this._readableState.destroyed=E)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),b(mt.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[me]!==!1},set(E){this[me]=!!E}}}),de._fromList=kl;function kl(E,R){if(R.length===0)return null;let ee;return R.objectMode?ee=R.buffer.shift():!E||E>=R.length?(R.decoder?ee=R.buffer.join(""):R.buffer.length===1?ee=R.buffer.first():ee=R.buffer.concat(R.length),R.buffer.clear()):ee=R.buffer.consume(E,R.decoder),ee}function Bs(E){const R=E._readableState;F("endReadable",R.endEmitted),R.endEmitted||(R.ended=!0,n.nextTick(Qf,R,E))}function Qf(E,R){if(F("endReadableNT",E.endEmitted,E.length),!E.errored&&!E.closeEmitted&&!E.endEmitted&&E.length===0){if(E.endEmitted=!0,R.emit("end"),R.writable&&R.allowHalfOpen===!1)n.nextTick(Zf,R);else if(E.autoDestroy){const ee=R._writableState;(!ee||ee.autoDestroy&&(ee.finished||ee.writable===!1))&&R.destroy()}}}function Zf(E){E.writable&&!E.writableEnded&&!E.destroyed&&E.end()}de.from=function(E,R){return Be(de,E,R)};let Hs;function Rl(){return Hs===void 0&&(Hs={}),Hs}return de.fromWeb=function(E,R){return Rl().newStreamReadableFromReadableStream(E,R)},de.toWeb=function(E,R){return Rl().newReadableStreamFromStreamReadable(E,R)},de.wrap=function(E,R){var ee,te;return new de({objectMode:(ee=(te=E.readableObjectMode)!==null&&te!==void 0?te:E.objectMode)!==null&&ee!==void 0?ee:!0,...R,destroy(he,cn){ne.destroyer(E,he),cn(he)}}).wrap(E)},N7e}var M7e,MFt;function pLe(){if(MFt)return M7e;MFt=1;const n=yi,{ArrayPrototypeSlice:r,Error:o,FunctionPrototypeSymbolHasInstance:l,ObjectDefineProperty:h,ObjectDefineProperties:b,ObjectSetPrototypeOf:g,StringPrototypeToLowerCase:m,Symbol:S,SymbolHasInstance:_}=vf;M7e=ye,ye.WritableState=L;const{EventEmitter:k}=Zs,I=bLe.Stream,{Buffer:C}=Xr,A=SM,{addAbortSignal:M}=Efe,{getHighWaterMark:D,getDefaultHighWaterMark:H}=kfe,{ERR_INVALID_ARG_TYPE:G,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_MULTIPLE_CALLBACK:F,ERR_STREAM_CANNOT_PIPE:Q,ERR_STREAM_DESTROYED:ne,ERR_STREAM_ALREADY_FINISHED:be,ERR_STREAM_NULL_VALUES:De,ERR_STREAM_WRITE_AFTER_END:Ee,ERR_UNKNOWN_ENCODING:Ae}=X1.codes,{errorOrDestroy:qe}=A;g(ye.prototype,I.prototype),g(ye,I);function et(){}const fe=S("kOnFinished");function L(P,T,B){typeof B!="boolean"&&(B=T instanceof Mk()),this.objectMode=!!(P&&P.objectMode),B&&(this.objectMode=this.objectMode||!!(P&&P.writableObjectMode)),this.highWaterMark=P?D(this,P,"writableHighWaterMark",B):H(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const K=!!(P&&P.decodeStrings===!1);this.decodeStrings=!K,this.defaultEncoding=P&&P.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=Ze.bind(void 0,T),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,ve(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!P||P.emitClose!==!1,this.autoDestroy=!P||P.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[fe]=[]}function ve(P){P.buffered=[],P.bufferedIndex=0,P.allBuffers=!0,P.allNoop=!0}L.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},h(L.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function ye(P){const T=this instanceof Mk();if(!T&&!l(ye,this))return new ye(P);this._writableState=new L(P,this,T),P&&(typeof P.write=="function"&&(this._write=P.write),typeof P.writev=="function"&&(this._writev=P.writev),typeof P.destroy=="function"&&(this._destroy=P.destroy),typeof P.final=="function"&&(this._final=P.final),typeof P.construct=="function"&&(this._construct=P.construct),P.signal&&M(P.signal,this)),I.call(this,P),A.construct(this,()=>{const B=this._writableState;B.writing||Me(this,B),yt(this,B)})}h(ye,_,{__proto__:null,value:function(P){return l(this,P)?!0:this!==ye?!1:P&&P._writableState instanceof L}}),ye.prototype.pipe=function(){qe(this,new Q)};function me(P,T,B,K){const z=P._writableState;if(typeof B=="function")K=B,B=z.defaultEncoding;else{if(!B)B=z.defaultEncoding;else if(B!=="buffer"&&!C.isEncoding(B))throw new Ae(B);typeof K!="function"&&(K=et)}if(T===null)throw new De;if(!z.objectMode)if(typeof T=="string")z.decodeStrings!==!1&&(T=C.from(T,B),B="buffer");else if(T instanceof C)B="buffer";else if(I._isUint8Array(T))T=I._uint8ArrayToBuffer(T),B="buffer";else throw new G("chunk",["string","Buffer","Uint8Array"],T);let Se;return z.ending?Se=new Ee:z.destroyed&&(Se=new ne("write")),Se?(n.nextTick(K,Se),qe(P,Se,!0),Se):(z.pendingcb++,je(P,z,T,B,K))}ye.prototype.write=function(P,T,B){return me(this,P,T,B)===!0},ye.prototype.cork=function(){this._writableState.corked++},ye.prototype.uncork=function(){const P=this._writableState;P.corked&&(P.corked--,P.writing||Me(this,P))},ye.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=m(T)),!C.isEncoding(T))throw new Ae(T);return this._writableState.defaultEncoding=T,this};function je(P,T,B,K,z){const Se=T.objectMode?1:B.length;T.length+=Se;const _e=T.lengthB.bufferedIndex&&Me(P,B),K?B.afterWriteTickInfo!==null&&B.afterWriteTickInfo.cb===z?B.afterWriteTickInfo.count++:(B.afterWriteTickInfo={count:1,cb:z,stream:P,state:B},n.nextTick(Le,B.afterWriteTickInfo)):Ut(P,B,1,z))}function Le({stream:P,state:T,count:B,cb:K}){return T.afterWriteTickInfo=null,Ut(P,T,B,K)}function Ut(P,T,B,K){for(!T.ending&&!P.destroyed&&T.length===0&&T.needDrain&&(T.needDrain=!1,P.emit("drain"));B-- >0;)T.pendingcb--,K();T.destroyed&&se(T),yt(P,T)}function se(P){if(P.writing)return;for(let z=P.bufferedIndex;z1&&P._writev){T.pendingcb-=Se-1;const Pe=T.allNoop?et:de=>{for(let zt=_e;zt256?(B.splice(0,_e),T.bufferedIndex=0):T.bufferedIndex=_e}T.bufferProcessing=!1}ye.prototype._write=function(P,T,B){if(this._writev)this._writev([{chunk:P,encoding:T}],B);else throw new Y("_write()")},ye.prototype._writev=null,ye.prototype.end=function(P,T,B){const K=this._writableState;typeof P=="function"?(B=P,P=null,T=null):typeof T=="function"&&(B=T,T=null);let z;if(P!=null){const Se=me(this,P,T);Se instanceof o&&(z=Se)}return K.corked&&(K.corked=1,this.uncork()),z||(!K.errored&&!K.ending?(K.ending=!0,yt(this,K,!0),K.ended=!0):K.finished?z=new be("end"):K.destroyed&&(z=new ne("end"))),typeof B=="function"&&(z||K.finished?n.nextTick(B,z):K[fe].push(B)),this};function ft(P){return P.ending&&!P.destroyed&&P.constructed&&P.length===0&&!P.errored&&P.buffered.length===0&&!P.finished&&!P.writing&&!P.errorEmitted&&!P.closeEmitted}function st(P,T){let B=!1;function K(z){if(B){qe(P,z??F());return}if(B=!0,T.pendingcb--,z){const Se=T[fe].splice(0);for(let _e=0;_e{ft(z)?Mt(K,z):z.pendingcb--},P,T)):ft(T)&&(T.pendingcb++,Mt(P,T))))}function Mt(P,T){T.pendingcb--,T.finished=!0;const B=T[fe].splice(0);for(let K=0;K{if(se!=null)throw new M("nully","body",se)},se=>{D(Le,se)});return Le=new Ae({objectMode:!0,readable:!1,write:je,final(se){Be(async()=>{try{await Ut,n.nextTick(se,null)}catch(Me){n.nextTick(se,Me)}})},destroy:ze})}throw new M("Iterable, AsyncIterable or AsyncFunction",ve,me)}if(be(L))return fe(L.arrayBuffer());if(h(L))return Q(Ae,L,{objectMode:!0,writable:!1});if(_(L==null?void 0:L.readable)&&k(L==null?void 0:L.writable))return Ae.fromWeb(L);if(typeof(L==null?void 0:L.writable)=="object"||typeof(L==null?void 0:L.readable)=="object"){const me=L!=null&&L.readable?g(L==null?void 0:L.readable)?L==null?void 0:L.readable:fe(L.readable):void 0,je=L!=null&&L.writable?m(L==null?void 0:L.writable)?L==null?void 0:L.writable:fe(L.writable):void 0;return et({readable:me,writable:je})}const ye=L==null?void 0:L.then;if(typeof ye=="function"){let me;return Ee(ye,L,je=>{je!=null&&me.push(je),me.push(null)},je=>{D(me,je)}),me=new Ae({objectMode:!0,writable:!1,read(){}})}throw new A(ve,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function qe(fe){let{promise:L,resolve:ve}=F();const ye=new De,me=ye.signal;return{value:fe(async function*(){for(;;){const Be=L;L=null;const{chunk:ze,done:Ze,cb:Le}=await Be;if(n.nextTick(Le),Ze)return;if(me.aborted)throw new C(void 0,{cause:me.reason});({promise:L,resolve:ve}=F()),yield ze}}(),{signal:me}),write(Be,ze,Ze){const Le=ve;ve=null,Le({chunk:Be,done:!1,cb:Ze})},final(Be){const ze=ve;ve=null,ze({done:!0,cb:Be})},destroy(Be,ze){ye.abort(),ze(Be)}}}function et(fe){const L=fe.readable&&typeof fe.readable.read!="function"?G.wrap(fe.readable):fe.readable,ve=fe.writable;let ye=!!o(L),me=!!l(ve),je,Be,ze,Ze,Le;function Ut(se){const Me=Ze;Ze=null,Me?Me(se):se&&Le.destroy(se)}return Le=new Ae({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(ve!=null&&ve.writableObjectMode),readable:ye,writable:me}),me&&(I(ve,se=>{me=!1,se&&D(L,se),Ut(se)}),Le._write=function(se,Me,ft){ve.write(se,Me)?ft():je=ft},Le._final=function(se){ve.end(),Be=se},ve.on("drain",function(){if(je){const se=je;je=null,se()}}),ve.on("finish",function(){if(Be){const se=Be;Be=null,se()}})),ye&&(I(L,se=>{ye=!1,se&&D(L,se),Ut(se)}),L.on("readable",function(){if(ze){const se=ze;ze=null,se()}}),L.on("end",function(){Le.push(null)}),Le._read=function(){for(;;){const se=L.read();if(se===null){ze=Le._read;return}if(!Le.push(se))return}}),Le._destroy=function(se,Me){!se&&Ze!==null&&(se=new C),ze=null,je=null,Be=null,Ze===null?Me(se):(Ze=Me,D(ve,se),D(L,se))},Le}return D7e}var L7e,LFt;function Mk(){if(LFt)return L7e;LFt=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:o,ObjectSetPrototypeOf:l}=vf;L7e=g;const h=Rfe(),b=pLe();l(g.prototype,h.prototype),l(g,h);{const k=o(b.prototype);for(let I=0;I{if(r){n?n(r):this.destroy(r);return}o!=null&&this.push(o),this.push(null),n&&n()}):(this.push(null),n&&n())}function L0r(){this._final!==V9e&&V9e.call(this)}Dk.prototype._final=V9e;Dk.prototype._transform=function(n,r,o){throw new M0r("_transform()")};Dk.prototype._write=function(n,r,o){const l=this._readableState,h=this._writableState,b=l.length;this._transform(n,r,(g,m)=>{if(g){o(g);return}m!=null&&this.push(m),h.ended||b===l.length||l.length{l=!0});const h=Ple(n,{readable:r,writable:o},b=>{l=!b});return{destroy:b=>{l||(l=!0,U0r.destroyer(n,b||new K0r("pipe")))},cleanup:h}}function ewr(n){return X0r(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function V7e(n){if($I(n))return n;if($ae(n))return twr(n);throw new G9e("val",["Readable","Iterable","AsyncIterable"],n)}async function*twr(n){W7e||(W7e=Rfe()),yield*W7e.prototype[B0r].call(n)}async function Mse(n,r,o,{end:l}){let h,b=null;const g=_=>{if(_&&(h=_),b){const k=b;b=null,k()}},m=()=>new F0r((_,k)=>{h?k(h):b=()=>{h?k(h):_()}});r.on("drain",g);const S=Ple(r,{readable:!1},g);try{r.writableNeedDrain&&await m();for await(const _ of n)r.write(_)||await m();l&&(r.end(),await m()),o()}catch(_){o(h!==_?V0r(h,_):_)}finally{S(),r.off("drain",g)}}async function G7e(n,r,o,{end:l}){Y9(r)&&(r=r.writable);const h=r.getWriter();try{for await(const b of n)await h.ready,h.write(b).catch(()=>{});await h.ready,l&&await h.close(),o()}catch(b){try{await h.abort(b),o(b)}catch(g){o(g)}}}function nwr(...n){return UQt(n,W0r(ewr(n)))}function UQt(n,r,o){if(n.length===1&&j0r(n[0])&&(n=n[0]),n.length<2)throw new G0r("streams");const l=new Z0r,h=l.signal,b=o==null?void 0:o.signal,g=[];J0r(b,"options.signal");function m(){M(new q0r)}U7e=U7e||Tg.addAbortListener;let S;b&&(S=U7e(b,m));let _,k;const I=[];let C=0;function A(Y){M(Y,--C===0)}function M(Y,F){var Q;if(Y&&(!_||_.code==="ERR_STREAM_PREMATURE_CLOSE")&&(_=Y),!(!_&&!F)){for(;I.length;)I.shift()(_);(Q=S)===null||Q===void 0||Q[H0r](),l.abort(),F&&(_||g.forEach(ne=>ne()),vV.nextTick(r,_,k))}}let D;for(let Y=0;Y0,be=Q||(o==null?void 0:o.end)!==!1,De=Y===n.length-1;if(FFt(F)){let Ee=function(Ae){Ae&&Ae.name!=="AbortError"&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"&&A(Ae)};if(be){const{destroy:Ae,cleanup:qe}=BFt(F,Q,ne);I.push(Ae),F7e(F)&&De&&g.push(qe)}F.on("error",Ee),F7e(F)&&De&&g.push(()=>{F.removeListener("error",Ee)})}if(Y===0)if(typeof F=="function"){if(D=F({signal:h}),!$I(D))throw new j7e("Iterable, AsyncIterable or Stream","source",D)}else $I(F)||$ae(F)||Y9(F)?D=F:D=jFt.from(F);else if(typeof F=="function"){if(Y9(D)){var H;D=V7e((H=D)===null||H===void 0?void 0:H.readable)}else D=V7e(D);if(D=F(D,{signal:h}),Q){if(!$I(D,!0))throw new j7e("AsyncIterable",`transform[${Y-1}]`,D)}else{var G;H7e||(H7e=WQt);const Ee=new H7e({objectMode:!0}),Ae=(G=D)===null||G===void 0?void 0:G.then;if(typeof Ae=="function")C++,Ae.call(D,fe=>{k=fe,fe!=null&&Ee.write(fe),be&&Ee.end(),vV.nextTick(A)},fe=>{Ee.destroy(fe),vV.nextTick(A,fe)});else if($I(D,!0))C++,Mse(D,Ee,A,{end:be});else if(B7e(D)||Y9(D)){const fe=D.readable||D;C++,Mse(fe,Ee,A,{end:be})}else throw new j7e("AsyncIterable or Promise","destination",D);D=Ee;const{destroy:qe,cleanup:et}=BFt(D,!1,!0);I.push(qe),De&&g.push(et)}}else if(FFt(F)){if($ae(D)){C+=2;const Ee=rwr(D,F,A,{end:be});F7e(F)&&De&&g.push(Ee)}else if(Y9(D)||B7e(D)){const Ee=D.readable||D;C++,Mse(Ee,F,A,{end:be})}else if($I(D))C++,Mse(D,F,A,{end:be});else throw new G9e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else if(Y0r(F)){if($ae(D))C++,G7e(V7e(D),F,A,{end:be});else if(B7e(D)||$I(D))C++,G7e(D,F,A,{end:be});else if(Y9(D))C++,G7e(D.readable,F,A,{end:be});else throw new G9e("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],D);D=F}else D=jFt.from(F)}return(h!=null&&h.aborted||b!=null&&b.aborted)&&vV.nextTick(m),D}function rwr(n,r,o,{end:l}){let h=!1;if(r.on("close",()=>{h||o(new z0r)}),n.pipe(r,{end:!1}),l){let b=function(){h=!0,r.end()};Q0r(n)?vV.nextTick(b):n.once("end",b)}else o();return Ple(n,{readable:!0,writable:!1},b=>{const g=n._readableState;b&&b.code==="ERR_STREAM_PREMATURE_CLOSE"&&g&&g.ended&&!g.errored&&!g.errorEmitted?n.once("end",o).once("error",o):o(b)}),Ple(r,{readable:!1,writable:!0},o)}var mLe={pipelineImpl:UQt,pipeline:nwr};const{pipeline:iwr}=mLe,Dse=Mk(),{destroyer:owr}=SM,{isNodeStream:Lse,isReadable:HFt,isWritable:WFt,isWebStream:K7e,isTransformStream:gI,isWritableStream:UFt,isReadableStream:VFt}=eR,{AbortError:swr,codes:{ERR_INVALID_ARG_VALUE:GFt,ERR_MISSING_ARGS:awr}}=X1,lwr=J6;var VQt=function(...r){if(r.length===0)throw new awr("streams");if(r.length===1)return Dse.from(r[0]);const o=[...r];if(typeof r[0]=="function"&&(r[0]=Dse.from(r[0])),typeof r[r.length-1]=="function"){const A=r.length-1;r[A]=Dse.from(r[A])}for(let A=0;A0&&!(WFt(r[A])||UFt(r[A])||gI(r[A])))throw new GFt(`streams[${A}]`,o[A],"must be writable")}let l,h,b,g,m;function S(A){const M=g;g=null,M?M(A):A?m.destroy(A):!C&&!I&&m.destroy()}const _=r[0],k=iwr(r,S),I=!!(WFt(_)||UFt(_)||gI(_)),C=!!(HFt(k)||VFt(k)||gI(k));if(m=new Dse({writableObjectMode:!!(_!=null&&_.writableObjectMode),readableObjectMode:!!(k!=null&&k.readableObjectMode),writable:I,readable:C}),I){if(Lse(_))m._write=function(M,D,H){_.write(M,D)?H():l=H},m._final=function(M){_.end(),h=M},_.on("drain",function(){if(l){const M=l;l=null,M()}});else if(K7e(_)){const D=(gI(_)?_.writable:_).getWriter();m._write=async function(H,G,Y){try{await D.ready,D.write(H).catch(()=>{}),Y()}catch(F){Y(F)}},m._final=async function(H){try{await D.ready,D.close().catch(()=>{}),h=H}catch(G){H(G)}}}const A=gI(k)?k.readable:k;lwr(A,()=>{if(h){const M=h;h=null,M()}})}if(C){if(Lse(k))k.on("readable",function(){if(b){const A=b;b=null,A()}}),k.on("end",function(){m.push(null)}),m._read=function(){for(;;){const A=k.read();if(A===null){b=m._read;return}if(!m.push(A))return}};else if(K7e(k)){const M=(gI(k)?k.readable:k).getReader();m._read=async function(){for(;;)try{const{value:D,done:H}=await M.read();if(!m.push(D))return;if(H){m.push(null);return}}catch{return}}}}return m._destroy=function(A,M){!A&&g!==null&&(A=new swr),b=null,l=null,h=null,g===null?M(A):(g=M,Lse(k)&&owr(k,A))},m};const cwr=globalThis.AbortController||Zo().AbortController,{codes:{ERR_INVALID_ARG_VALUE:uwr,ERR_INVALID_ARG_TYPE:EK,ERR_MISSING_ARGS:fwr,ERR_OUT_OF_RANGE:dwr},AbortError:GS}=X1,{validateAbortSignal:qT,validateInteger:KFt,validateObject:XT}=SK,hwr=vf.Symbol("kWeak"),bwr=vf.Symbol("kResistStopPropagation"),{finished:pwr}=J6,gwr=VQt,{addAbortSignalNoValidate:wwr}=Efe,{isWritable:mwr,isNodeStream:ywr}=eR,{deprecate:vwr}=Tg,{ArrayPrototypePush:_wr,Boolean:Swr,MathFloor:zFt,Number:Ewr,NumberIsNaN:kwr,Promise:qFt,PromiseReject:XFt,PromiseResolve:Rwr,PromisePrototypeThen:JFt,Symbol:GQt}=vf,Ole=GQt("kEmpty"),YFt=GQt("kEof");function Awr(n,r){if(r!=null&&XT(r,"options"),(r==null?void 0:r.signal)!=null&&qT(r.signal,"options.signal"),ywr(n)&&!mwr(n))throw new uwr("stream",n,"must be writable");const o=gwr(this,n);return r!=null&&r.signal&&wwr(r.signal,o),o}function Afe(n,r){if(typeof n!="function")throw new EK("fn",["Function","AsyncFunction"],n);r!=null&&XT(r,"options"),(r==null?void 0:r.signal)!=null&&qT(r.signal,"options.signal");let o=1;(r==null?void 0:r.concurrency)!=null&&(o=zFt(r.concurrency));let l=o-1;return(r==null?void 0:r.highWaterMark)!=null&&(l=zFt(r.highWaterMark)),KFt(o,"options.concurrency",1),KFt(l,"options.highWaterMark",0),l+=o,(async function*(){const b=Tg.AbortSignalAny([r==null?void 0:r.signal].filter(Swr)),g=this,m=[],S={signal:b};let _,k,I=!1,C=0;function A(){I=!0,M()}function M(){C-=1,D()}function D(){k&&!I&&C=l||C>=o)&&await new qFt(Y=>{k=Y})}m.push(YFt)}catch(G){const Y=XFt(G);JFt(Y,M,A),m.push(Y)}finally{I=!0,_&&(_(),_=null)}}H();try{for(;;){for(;m.length>0;){const G=await m[0];if(G===YFt)return;if(b.aborted)throw new GS;G!==Ole&&(yield G),m.shift(),D()}await new qFt(G=>{_=G})}}finally{I=!0,k&&(k(),k=null)}}).call(this)}function Cwr(n=void 0){return n!=null&&XT(n,"options"),(n==null?void 0:n.signal)!=null&&qT(n.signal,"options.signal"),(async function*(){let o=0;for await(const h of this){var l;if(n!=null&&(l=n.signal)!==null&&l!==void 0&&l.aborted)throw new GS({cause:n.signal.reason});yield[o++,h]}}).call(this)}async function KQt(n,r=void 0){for await(const o of yLe.call(this,n,r))return!0;return!1}async function xwr(n,r=void 0){if(typeof n!="function")throw new EK("fn",["Function","AsyncFunction"],n);return!await KQt.call(this,async(...o)=>!await n(...o),r)}async function $wr(n,r){for await(const o of yLe.call(this,n,r))return o}async function Iwr(n,r){if(typeof n!="function")throw new EK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h),Ole}for await(const l of Afe.call(this,o,r));}function yLe(n,r){if(typeof n!="function")throw new EK("fn",["Function","AsyncFunction"],n);async function o(l,h){return await n(l,h)?l:Ole}return Afe.call(this,o,r)}class Twr extends fwr{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function Pwr(n,r,o){var l;if(typeof n!="function")throw new EK("reducer",["Function","AsyncFunction"],n);o!=null&&XT(o,"options"),(o==null?void 0:o.signal)!=null&&qT(o.signal,"options.signal");let h=arguments.length>1;if(o!=null&&(l=o.signal)!==null&&l!==void 0&&l.aborted){const _=new GS(void 0,{cause:o.signal.reason});throw this.once("error",()=>{}),await pwr(this.destroy(_)),_}const b=new cwr,g=b.signal;if(o!=null&&o.signal){const _={once:!0,[hwr]:this,[bwr]:!0};o.signal.addEventListener("abort",()=>b.abort(),_)}let m=!1;try{for await(const _ of this){var S;if(m=!0,o!=null&&(S=o.signal)!==null&&S!==void 0&&S.aborted)throw new GS;h?r=await n(r,_,{signal:g}):(r=_,h=!0)}if(!m&&!h)throw new Twr}finally{b.abort()}return r}async function Owr(n){n!=null&&XT(n,"options"),(n==null?void 0:n.signal)!=null&&qT(n.signal,"options.signal");const r=[];for await(const l of this){var o;if(n!=null&&(o=n.signal)!==null&&o!==void 0&&o.aborted)throw new GS(void 0,{cause:n.signal.reason});_wr(r,l)}return r}function Nwr(n,r){const o=Afe.call(this,n,r);return(async function*(){for await(const h of o)yield*h}).call(this)}function zQt(n){if(n=Ewr(n),kwr(n))return 0;if(n<0)throw new dwr("number",">= 0",n);return n}function Mwr(n,r=void 0){return r!=null&&XT(r,"options"),(r==null?void 0:r.signal)!=null&&qT(r.signal,"options.signal"),n=zQt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new GS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new GS;n--<=0&&(yield b)}}).call(this)}function Dwr(n,r=void 0){return r!=null&&XT(r,"options"),(r==null?void 0:r.signal)!=null&&qT(r.signal,"options.signal"),n=zQt(n),(async function*(){var l;if(r!=null&&(l=r.signal)!==null&&l!==void 0&&l.aborted)throw new GS;for await(const b of this){var h;if(r!=null&&(h=r.signal)!==null&&h!==void 0&&h.aborted)throw new GS;if(n-- >0&&(yield b),n<=0)return}}).call(this)}cLe.streamReturningOperators={asIndexedPairs:vwr(Cwr,"readable.asIndexedPairs will be removed in a future version."),drop:Mwr,filter:yLe,flatMap:Nwr,map:Afe,take:Dwr,compose:Awr};cLe.promiseReturningOperators={every:xwr,forEach:Iwr,reduce:Pwr,toArray:Owr,some:KQt,find:$wr};var z7e,QFt;function qQt(){if(QFt)return z7e;QFt=1;const{ArrayPrototypePop:n,Promise:r}=vf,{isIterable:o,isNodeStream:l,isWebStream:h}=eR,{pipelineImpl:b}=mLe,{finished:g}=J6;XQt();function m(...S){return new r((_,k)=>{let I,C;const A=S[S.length-1];if(A&&typeof A=="object"&&!l(A)&&!o(A)&&!h(A)){const M=n(S);I=M.signal,C=M.end}b(S,(M,D)=>{M?k(M):_(D)},{signal:I,end:C})})}return z7e={finished:g,pipeline:m},z7e}var ZFt;function XQt(){if(ZFt)return I7e.exports;ZFt=1;const{Buffer:n}=Xr,{ObjectDefineProperty:r,ObjectKeys:o,ReflectApply:l}=vf,{promisify:{custom:h}}=Tg,{streamReturningOperators:b,promiseReturningOperators:g}=cLe,{codes:{ERR_ILLEGAL_CONSTRUCTOR:m}}=X1,S=VQt,{setDefaultHighWaterMark:_,getDefaultHighWaterMark:k}=kfe,{pipeline:I}=mLe,{destroyer:C}=SM,A=J6,M=qQt(),D=eR,H=I7e.exports=bLe.Stream;H.isDestroyed=D.isDestroyed,H.isDisturbed=D.isDisturbed,H.isErrored=D.isErrored,H.isReadable=D.isReadable,H.isWritable=D.isWritable,H.Readable=Rfe();for(const F of o(b)){let ne=function(...be){if(new.target)throw m();return H.Readable.from(l(Q,this,be))};var Y=ne;const Q=b[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}for(const F of o(g)){let ne=function(...De){if(new.target)throw m();return l(Q,this,De)};var Y=ne;const Q=g[F];r(ne,"name",{__proto__:null,value:Q.name}),r(ne,"length",{__proto__:null,value:Q.length}),r(H.Readable.prototype,F,{__proto__:null,value:ne,enumerable:!1,configurable:!0,writable:!0})}H.Writable=pLe(),H.Duplex=Mk(),H.Transform=BQt,H.PassThrough=WQt,H.pipeline=I;const{addAbortSignal:G}=Efe;return H.addAbortSignal=G,H.finished=A,H.destroy=C,H.compose=S,H.setDefaultHighWaterMark=_,H.getDefaultHighWaterMark=k,r(H,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return M}}),r(I,h,{__proto__:null,enumerable:!0,get(){return M.pipeline}}),r(A,h,{__proto__:null,enumerable:!0,get(){return M.finished}}),H.Stream=H,H._isUint8Array=function(Q){return Q instanceof Uint8Array},H._uint8ArrayToBuffer=function(Q){return n.from(Q.buffer,Q.byteOffset,Q.byteLength)},I7e.exports}(function(n){const r=XQt(),o=qQt(),l=r.Readable.destroy;n.exports=r.Readable,n.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,n.exports._isUint8Array=r._isUint8Array,n.exports.isDisturbed=r.isDisturbed,n.exports.isErrored=r.isErrored,n.exports.isReadable=r.isReadable,n.exports.Readable=r.Readable,n.exports.Writable=r.Writable,n.exports.Duplex=r.Duplex,n.exports.Transform=r.Transform,n.exports.PassThrough=r.PassThrough,n.exports.addAbortSignal=r.addAbortSignal,n.exports.finished=r.finished,n.exports.destroy=r.destroy,n.exports.destroy=l,n.exports.pipeline=r.pipeline,n.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get(){return o}}),n.exports.Stream=r.Stream,n.exports.default=n.exports})(oQt);var Lwr=oQt.exports,Cfe={};Object.defineProperty(Cfe,"__esModule",{value:!0});Cfe.ParseError=void 0;class jwr extends Error{constructor(r,o){const l=r.saxParser;super(r.trackPosition?`Line ${l.line} column ${l.column+1}: ${o}`:o)}}Cfe.ParseError=jwr;var JQt={},YQt={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.validateIri=n.IriValidationStrategy=void 0;function r(){const m="[!$&'()*+,;=]",S="%[a-fA-F0-9]{2}",_="([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",k=`${_}\\.${_}\\.${_}\\.${_}`,I="[a-fA-F0-9]{1,4}",C=`(${I}:${I}|${k})`,A=`((${I}:){6}${C}|::(${I}:){5}${C}|(${I})?::(${I}:){4}${C}|((${I}:){0,1}${I})?::(${I}:){3}${C}|((${I}:){0,2}${I})?::(${I}:){2}${C}|((${I}:){0,3}${I})?::${I}:${C}|((${I}:){0,4}${I})?::${C}|((${I}:){0,5}${I})?::${I}|((${I}:){0,6}${I})?::)`,M=`v[a-fA-F0-9]+\\.(${m}|${m}|":)+`,D=`\\[(${A}|${M})\\]`,H="[0-9]*",G="[a-zA-Z][a-zA-Z0-9+\\-.]*",F="[-󰀀-󿿽􀀀-􏿽]",be="[a-zA-Z0-9\\-._~ -퟿豈-﷏ﷰ-￯𐀀-🿽𠀀-𯿽𰀀-𿿽񀀀-񏿽񐀀-񟿽񠀀-񯿽񰀀-񿿽򀀀-򏿽򐀀-򟿽򠀀-򯿽򰀀-򿿽󀀀-󏿽󐀀-󟿽󡀀-󯿽]",De=`(${be}|${S}|${m}|[:@])*`,Ee=`(${De}|[\\/?])*`,Ae=`(${De}|${F}|[\\/?])*`,qe=`(${De})+`,et=`(${De})*`,fe="",L=`${qe}(\\/${et})*`,ve=`\\/(${qe}(\\/${et})*)?`,ye=`(\\/${et})*`,me=`(${be}|${S}|${m})*`,je=`(${D}|${k}|${me})`,Ze=`(\\/\\/${`(${`(${be}|${S}|${m}|:)*`}@)?${je}(:${H})?`}${ye}|${ve}|${L}|${fe})`,Le=`^${G}:${Ze}(\\?${Ae})?(#${Ee})?$`;return new RegExp(Le,"u")}const o=r(),l=/^[A-Za-z][\d+-.A-Za-z]*:[^\u0000-\u0020"<>\\^`{|}]*$/u;var h;(function(g){g.Strict="strict",g.Pragmatic="pragmatic",g.None="none"})(h=n.IriValidationStrategy||(n.IriValidationStrategy={}));function b(g,m=h.Strict){switch(m){case h.Strict:return o.test(g)?void 0:new Error(`Invalid IRI according to RFC 3987: '${g}'`);case h.Pragmatic:return l.test(g)?void 0:new Error(`Invalid IRI according to RDF Turtle: '${g}'`);case h.None:return;default:return new Error(`Not supported validation strategy "${m}"`)}}n.validateIri=b})(YQt);(function(n){var r=Uc&&Uc.__createBinding||(Object.create?function(l,h,b,g){g===void 0&&(g=b);var m=Object.getOwnPropertyDescriptor(h,b);(!m||("get"in m?!h.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return h[b]}}),Object.defineProperty(l,g,m)}:function(l,h,b,g){g===void 0&&(g=b),l[g]=h[b]}),o=Uc&&Uc.__exportStar||function(l,h){for(var b in l)b!=="default"&&!Object.prototype.hasOwnProperty.call(h,b)&&r(h,l,b)};Object.defineProperty(n,"__esModule",{value:!0}),o(YQt,n)})(JQt);Object.defineProperty(UN,"__esModule",{value:!0});UN.ParseType=UN.RdfXmlParser=void 0;const eBt=YG,Fwr=VN,tBt=Lwr,Bwr=Cfe,Hwr=TMe,q7e=JQt;let JT=class Wu extends tBt.Transform{constructor(r){super({readableObjectMode:!0}),this.activeTagStack=[],this.nodeIds={},r&&(Object.assign(this,r),this.options=r),this.dataFactory||(this.dataFactory=new Hwr.DataFactory),this.baseIRI||(this.baseIRI=""),this.defaultGraph||(this.defaultGraph=this.dataFactory.defaultGraph()),this.validateUri!==!1&&(this.validateUri=!0),this.iriValidationStrategy||(this.iriValidationStrategy=this.validateUri?q7e.IriValidationStrategy.Pragmatic:q7e.IriValidationStrategy.None),this.saxParser=new Fwr.SaxesParser({xmlns:!0,position:this.trackPosition}),this.attachSaxListeners()}import(r){const o=new tBt.PassThrough({readableObjectMode:!0});r.on("error",h=>l.emit("error",h)),r.on("data",h=>o.push(h)),r.on("end",()=>o.push(null));const l=o.pipe(new Wu(this.options));return l}_transform(r,o,l){try{this.saxParser.write(r)}catch(h){return l(h)}l()}newParseError(r){return new Bwr.ParseError(this,r)}valueToUri(r,o){return this.uriToNamedNode((0,eBt.resolve)(r,o.baseIRI))}uriToNamedNode(r){const o=(0,q7e.validateIri)(r,this.iriValidationStrategy);if(o instanceof Error)throw this.newParseError(o.message);return this.dataFactory.namedNode(r)}validateNcname(r){if(!Wu.NCNAME_MATCHER.test(r))throw this.newParseError(`Not a valid NCName: ${r}`)}attachSaxListeners(){this.saxParser.on("error",r=>this.emit("error",r)),this.saxParser.on("opentag",this.onTag.bind(this)),this.saxParser.on("text",this.onText.bind(this)),this.saxParser.on("cdata",this.onText.bind(this)),this.saxParser.on("closetag",this.onCloseTag.bind(this)),this.saxParser.on("doctype",this.onDoctype.bind(this))}onTag(r){const o=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;let l=ik.RESOURCE;if(o&&(o.hadChildren=!0,l=o.childrenParseType),o&&o.childrenStringTags){const b=r.name;let g="";for(const k in r.attributes)g+=` ${k}="${r.attributes[k].value}"`;const S=`<${`${b}${g}`}>`;o.childrenStringTags.push(S);const _={childrenStringTags:o.childrenStringTags};_.childrenStringEmitClosingTag=``,this.activeTagStack.push(_);return}const h={};o?(h.language=o.language,h.baseIRI=o.baseIRI):h.baseIRI=this.baseIRI,this.activeTagStack.push(h),l===ik.RESOURCE?this.onTagResource(r,h,o,!o):this.onTagProperty(r,h,o)}onTagResource(r,o,l,h){o.childrenParseType=ik.PROPERTY;let b=!0;if(r.uri===Wu.RDF){if(!h&&Wu.FORBIDDEN_NODE_ELEMENTS.indexOf(r.local)>=0)throw this.newParseError(`Illegal node element name: ${r.local}`);switch(r.local){case"RDF":o.childrenParseType=ik.RESOURCE;case"Description":b=!1}}const g=[],m=[];let S=null,_=!1,k=!1,I=null;for(const C in r.attributes){const A=r.attributes[C];if(l&&A.uri===Wu.RDF)switch(A.local){case"about":if(S)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${A.value} and ${S} where found.`);S=A.value;continue;case"ID":if(S)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${A.value} and ${S} where found.`);this.validateNcname(A.value),S="#"+A.value,_=!0;continue;case"nodeID":if(S)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${A.value} and ${S} where found.`);this.validateNcname(A.value),S=A.value,k=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"type":I=A.value;continue;case"aboutEach":throw this.newParseError("rdf:aboutEach is not supported.");case"aboutEachPrefix":throw this.newParseError("rdf:aboutEachPrefix is not supported.");case"li":throw this.newParseError("rdf:li on node elements are not supported.")}else if(A.uri===Wu.XML){if(A.local==="lang"){o.language=A.value===""?null:A.value.toLowerCase();continue}else if(A.local==="base"){o.baseIRI=(0,eBt.resolve)(A.value,o.baseIRI);continue}}A.prefix!=="xml"&&A.prefix!=="xmlns"&&(A.prefix!==""||A.local!=="xmlns")&&A.uri&&(g.push(this.uriToNamedNode(A.uri+A.local)),m.push(A.value))}if(S!==null&&(o.subject=k?this.dataFactory.blankNode(S):this.valueToUri(S,o),_&&this.claimNodeId(o.subject)),o.subject||(o.subject=this.dataFactory.blankNode()),b){const C=this.uriToNamedNode(r.uri+r.local);this.emitTriple(o.subject,this.dataFactory.namedNode(Wu.RDF+"type"),C,l?l.reifiedStatementId:null)}if(l){if(l.predicate)if(l.childrenCollectionSubject){const C=this.dataFactory.blankNode();this.emitTriple(l.childrenCollectionSubject,l.childrenCollectionPredicate,C,l.reifiedStatementId),this.emitTriple(C,this.dataFactory.namedNode(Wu.RDF+"first"),o.subject,o.reifiedStatementId),l.childrenCollectionSubject=C,l.childrenCollectionPredicate=this.dataFactory.namedNode(Wu.RDF+"rest")}else{this.emitTriple(l.subject,l.predicate,o.subject,l.reifiedStatementId);for(let C=0;C=0)throw this.newParseError(`Illegal property element name: ${r.local}`);o.predicateSubPredicates=[],o.predicateSubObjects=[];let h=!1,b=!1,g=null,m=!0;const S=[],_=[];for(const k in r.attributes){const I=r.attributes[k];if(I.uri===Wu.RDF)switch(I.local){case"resource":if(g)throw this.newParseError(`Found both rdf:resource (${I.value}) and rdf:nodeID (${g}).`);if(h)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:resource (${I.value})`);o.hadChildren=!0,g=I.value,m=!1;continue;case"datatype":if(b)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:datatype (${I.value}).`);if(h)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${I.value})`);o.datatype=this.valueToUri(I.value,o);continue;case"nodeID":if(b)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:nodeID (${I.value}).`);if(o.hadChildren)throw this.newParseError(`Found both rdf:resource and rdf:nodeID (${I.value}).`);if(h)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID (${I.value})`);this.validateNcname(I.value),o.hadChildren=!0,g=I.value,m=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"parseType":if(b)throw this.newParseError("rdf:parseType is not allowed when non-rdf:* property attributes are present");if(o.datatype)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${o.datatype.value})`);if(g)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID or rdf:resource (${g})`);if(I.value==="Resource"){h=!0,o.childrenParseType=ik.PROPERTY;const C=this.dataFactory.blankNode();this.emitTriple(o.subject,o.predicate,C,o.reifiedStatementId),o.subject=C,o.predicate=null}else I.value==="Collection"?(h=!0,o.hadChildren=!0,o.childrenCollectionSubject=o.subject,o.childrenCollectionPredicate=o.predicate,m=!1):I.value==="Literal"&&(h=!0,o.childrenTagsToString=!0,o.childrenStringTags=[]);continue;case"ID":this.validateNcname(I.value),o.reifiedStatementId=this.valueToUri("#"+I.value,o),this.claimNodeId(o.reifiedStatementId);continue}else if(I.uri===Wu.XML&&I.local==="lang"){o.language=I.value===""?null:I.value.toLowerCase();continue}if(I.prefix!=="xml"&&I.prefix!=="xmlns"&&(I.prefix!==""||I.local!=="xmlns")&&I.uri){if(h||o.datatype)throw this.newParseError(`Found illegal rdf:* properties on property element with attribute: ${I.value}`);o.hadChildren=!0,b=!0,S.push(this.uriToNamedNode(I.uri+I.local)),_.push(this.dataFactory.literal(I.value,o.datatype||o.language))}}if(g!==null){const k=o.subject;o.subject=m?this.dataFactory.blankNode(g):this.valueToUri(g,o),this.emitTriple(k,o.predicate,o.subject,o.reifiedStatementId);for(let I=0;I/g,(o,l,h)=>(this.saxParser.ENTITIES[l]=h,""))}};UN.RdfXmlParser=JT;JT.MIME_TYPE="application/rdf+xml";JT.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#";JT.XML="http://www.w3.org/XML/1998/namespace";JT.FORBIDDEN_NODE_ELEMENTS=["RDF","ID","about","bagID","parseType","resource","nodeID","li","aboutEach","aboutEachPrefix"];JT.FORBIDDEN_PROPERTY_ELEMENTS=["Description","RDF","ID","about","bagID","parseType","resource","nodeID","aboutEach","aboutEachPrefix"];JT.NCNAME_MATCHER=/^([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_])([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_\-.0-9#xB7\u{0300}-\u{036F}\u{203F}-\u{2040}])*$/u;var ik;(function(n){n[n.RESOURCE=0]="RESOURCE",n[n.PROPERTY=1]="PROPERTY"})(ik||(UN.ParseType=ik={}));(function(n){var r=Uc&&Uc.__createBinding||(Object.create?function(l,h,b,g){g===void 0&&(g=b);var m=Object.getOwnPropertyDescriptor(h,b);(!m||("get"in m?!h.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return h[b]}}),Object.defineProperty(l,g,m)}:function(l,h,b,g){g===void 0&&(g=b),l[g]=h[b]}),o=Uc&&Uc.__exportStar||function(l,h){for(var b in l)b!=="default"&&!Object.prototype.hasOwnProperty.call(h,b)&&r(h,l,b)};Object.defineProperty(n,"__esModule",{value:!0}),o(UN,n)})(JYt);class Wwr extends JYt.RdfXmlParser{constructor({factory:r,...o}={}){super({...o,dataFactory:r})}}const Uwr=new Qae([["application/ld+json",new mqn],["application/trig",new qU],["application/n-quads",new qU],["application/n-triples",new qU],["text/n3",new qU],["text/turtle",new qU],["application/rdf+xml",new Wwr]]),Vwr=new Qae([["application/ld+json",new Cur],["application/n-quads",new ase],["application/n-triples",new ase],["text/n3",new ase],["text/turtle",new ase]]),Gwr={parsers:Uwr,serializers:Vwr};mVt.formats.import(Gwr);const Iae=mVt;var IN;class Kwr{constructor(){Y$(this,IN,{})}update(r){aS(this,IN,{}),r.forEach(o=>{hb(this,IN)[o.prefix]=o.uri})}get prefixes(){return hb(this,IN)}}IN=new WeakMap;const QQt=new Kwr;function AN(n){if(n.termType==="NamedNode"){const r=FBn(n.value,QQt.prefixes);return r||n.value}return n.value}function zwr(n){const r=[...n].map(b=>b.subject),o=[...n].filter(b=>!b.predicate.equals(Iae.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))).map(b=>b.object).filter(b=>b.termType==="BlankNode"||b.termType==="NamedNode");return[...new Zae([...r,...o])].map(b=>{const S=[...[...n.match(b)].reduce((_,{predicate:k,object:I})=>{if(!_.has(k.value)){const C={id:k.value,term:k,name:AN(k),values:new Zae};_.set(k.value,C)}return _.get(k.value).values.add(I),_},new Map).values()].sort((_,k)=>_.name==="rdf:type"?-1:k.name==="rdf:type"?1:_.name.localeCompare(k.name));return{id:b.value===""?"_:nobody":b.value,term:b,name:AN(b),properties:S}})}function qwr(n){const r=new Zae(n.map(l=>l.term));return n.flatMap(l=>l.properties.map(h=>({...h,resource:l}))).reduce((l,h)=>(h.values.forEach(b=>{const g=h.resource.term,m=b;r.has(m)&&l.push({source:g.value,target:m.value,sourceProperty:h.id,label:h.name})}),l),[])}function xfe(n){return kNe()?(Yse(n),!0):!1}function uk(n){return typeof n=="function"?n():ii(n)}const Xwr=typeof window<"u"&&typeof document<"u",Jwr=n=>typeof n<"u",Ywr=Object.prototype.toString,Qwr=n=>Ywr.call(n)==="[object Object]",Zwr=()=>{};function emr(n,r){function o(...l){return new Promise((h,b)=>{Promise.resolve(n(()=>r.apply(this,l),{fn:r,thisArg:this,args:l})).then(h).catch(b)})}return o}const ZQt=n=>n();function tmr(n=ZQt){const r=fa(!0);function o(){r.value=!1}function l(){r.value=!0}const h=(...b)=>{r.value&&n(...b)};return{isActive:Jle(r),pause:o,resume:l,eventFilter:h}}function nBt(n,r=!1,o="Timeout"){return new Promise((l,h)=>{setTimeout(r?()=>h(o):l,n)})}function nmr(n,r,o={}){const{eventFilter:l=ZQt,...h}=o;return ua(n,emr(l,r),h)}function T9(n,r,o={}){const{eventFilter:l,...h}=o,{eventFilter:b,pause:g,resume:m,isActive:S}=tmr(l);return{stop:nmr(n,r,{...h,eventFilter:b}),pause:g,resume:m,isActive:S}}function rmr(n,r={}){if(!Xf(n))return LIn(n);const o=Array.isArray(n.value)?Array.from({length:n.value.length}):{};for(const l in n.value)o[l]=DIn(()=>({get(){return n.value[l]},set(h){var b;if((b=uk(r.replaceRef))!=null?b:!0)if(Array.isArray(n.value)){const m=[...n.value];m[l]=h,n.value=m}else{const m={...n.value,[l]:h};Object.setPrototypeOf(m,Object.getPrototypeOf(n.value)),n.value=m}else n.value[l]=h}}));return o}function K9e(n,r=!1){function o(I,{flush:C="sync",deep:A=!1,timeout:M,throwOnTimeout:D}={}){let H=null;const Y=[new Promise(F=>{H=ua(n,Q=>{I(Q)!==r&&(H==null||H(),F(Q))},{flush:C,deep:A,immediate:!0})})];return M!=null&&Y.push(nBt(M,D).then(()=>uk(n)).finally(()=>H==null?void 0:H())),Promise.race(Y)}function l(I,C){if(!Xf(I))return o(Q=>Q===I,C);const{flush:A="sync",deep:M=!1,timeout:D,throwOnTimeout:H}=C??{};let G=null;const F=[new Promise(Q=>{G=ua([n,I],([ne,be])=>{r!==(ne===be)&&(G==null||G(),Q(ne))},{flush:A,deep:M,immediate:!0})})];return D!=null&&F.push(nBt(D,H).then(()=>uk(n)).finally(()=>(G==null||G(),uk(n)))),Promise.race(F)}function h(I){return o(C=>!!C,I)}function b(I){return l(null,I)}function g(I){return l(void 0,I)}function m(I){return o(Number.isNaN,I)}function S(I,C){return o(A=>{const M=Array.from(A);return M.includes(I)||M.includes(uk(I))},C)}function _(I){return k(1,I)}function k(I=1,C){let A=-1;return o(()=>(A+=1,A>=I),C)}return Array.isArray(uk(n))?{toMatch:o,toContains:S,changed:_,changedTimes:k,get not(){return K9e(n,!r)}}:{toMatch:o,toBe:l,toBeTruthy:h,toBeNull:b,toBeNaN:m,toBeUndefined:g,changed:_,changedTimes:k,get not(){return K9e(n,!r)}}}function z9e(n){return K9e(n)}function imr(n){var r;const o=uk(n);return(r=o==null?void 0:o.$el)!=null?r:o}const eZt=Xwr?window:void 0;function tZt(...n){let r,o,l,h;if(typeof n[0]=="string"||Array.isArray(n[0])?([o,l,h]=n,r=eZt):[r,o,l,h]=n,!r)return Zwr;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const b=[],g=()=>{b.forEach(k=>k()),b.length=0},m=(k,I,C,A)=>(k.addEventListener(I,C,A),()=>k.removeEventListener(I,C,A)),S=ua(()=>[imr(r),uk(h)],([k,I])=>{if(g(),!k)return;const C=Qwr(I)?{...I}:I;b.push(...o.flatMap(A=>l.map(M=>m(k,A,M,C))))},{immediate:!0,flush:"post"}),_=()=>{S(),g()};return xfe(_),_}function omr(n){return typeof n=="function"?n:typeof n=="string"?r=>r.key===n:Array.isArray(n)?r=>n.includes(r.key):()=>!0}function rBt(...n){let r,o,l={};n.length===3?(r=n[0],o=n[1],l=n[2]):n.length===2?typeof n[1]=="object"?(r=!0,o=n[0],l=n[1]):(r=n[0],o=n[1]):(r=!0,o=n[0]);const{target:h=eZt,eventName:b="keydown",passive:g=!1,dedupe:m=!1}=l,S=omr(r);return tZt(h,b,k=>{k.repeat&&uk(m)||S(k)&&o(k)},g)}function smr(n){return JSON.parse(JSON.stringify(n))}function X7e(n,r,o,l={}){var h,b,g;const{clone:m=!1,passive:S=!1,eventName:_,deep:k=!1,defaultValue:I,shouldEmit:C}=l,A=B6(),M=o||(A==null?void 0:A.emit)||((h=A==null?void 0:A.$emit)==null?void 0:h.bind(A))||((g=(b=A==null?void 0:A.proxy)==null?void 0:b.$emit)==null?void 0:g.bind(A==null?void 0:A.proxy));let D=_;r||(r="modelValue"),D=D||`update:${r.toString()}`;const H=F=>m?typeof m=="function"?m(F):smr(F):F,G=()=>Jwr(n[r])?H(n[r]):I,Y=F=>{C?C(F)&&M(D,F):M(D,F)};if(S){const F=G(),Q=fa(F);let ne=!1;return ua(()=>n[r],be=>{ne||(ne=!0,Q.value=H(be),p2(()=>ne=!1))}),ua(Q,be=>{!ne&&(be!==n[r]||k)&&Y(be)},{deep:k}),Q}else return Fo({get(){return G()},set(F){Y(F)}})}var amr={value:()=>{}};function $fe(){for(var n=0,r=arguments.length,o={},l;n=0&&(l=o.slice(h+1),o=o.slice(0,h)),o&&!r.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:l}})}Tae.prototype=$fe.prototype={constructor:Tae,on:function(n,r){var o=this._,l=lmr(n+"",o),h,b=-1,g=l.length;if(arguments.length<2){for(;++b0)for(var o=new Array(h),l=0,h,b;l=0&&(r=n.slice(0,o))!=="xmlns"&&(n=n.slice(o+1)),oBt.hasOwnProperty(r)?{space:oBt[r],local:n}:n}function umr(n){return function(){var r=this.ownerDocument,o=this.namespaceURI;return o===q9e&&r.documentElement.namespaceURI===q9e?r.createElement(n):r.createElementNS(o,n)}}function fmr(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function nZt(n){var r=Ife(n);return(r.local?fmr:umr)(r)}function dmr(){}function vLe(n){return n==null?dmr:function(){return this.querySelector(n)}}function hmr(n){typeof n!="function"&&(n=vLe(n));for(var r=this._groups,o=r.length,l=new Array(o),h=0;h=F&&(F=Y+1);!(ne=H[F])&&++F=0;)(g=l[h])&&(b&&g.compareDocumentPosition(b)^4&&b.parentNode.insertBefore(g,b),b=g);return this}function jmr(n){n||(n=Fmr);function r(I,C){return I&&C?n(I.__data__,C.__data__):!I-!C}for(var o=this._groups,l=o.length,h=new Array(l),b=0;br?1:n>=r?0:NaN}function Bmr(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function Hmr(){return Array.from(this)}function Wmr(){for(var n=this._groups,r=0,o=n.length;r1?this.each((r==null?Zmr:typeof r=="function"?tyr:eyr)(n,r,o??"")):KN(this.node(),n)}function KN(n,r){return n.style.getPropertyValue(r)||aZt(n).getComputedStyle(n,null).getPropertyValue(r)}function ryr(n){return function(){delete this[n]}}function iyr(n,r){return function(){this[n]=r}}function oyr(n,r){return function(){var o=r.apply(this,arguments);o==null?delete this[n]:this[n]=o}}function syr(n,r){return arguments.length>1?this.each((r==null?ryr:typeof r=="function"?oyr:iyr)(n,r)):this.node()[n]}function lZt(n){return n.trim().split(/^|\s+/)}function _Le(n){return n.classList||new cZt(n)}function cZt(n){this._node=n,this._names=lZt(n.getAttribute("class")||"")}cZt.prototype={add:function(n){var r=this._names.indexOf(n);r<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var r=this._names.indexOf(n);r>=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function uZt(n,r){for(var o=_Le(n),l=-1,h=r.length;++l=0&&(o=r.slice(l+1),r=r.slice(0,l)),{type:r,name:o}})}function Nyr(n){return function(){var r=this.__on;if(r){for(var o=0,l=-1,h=r.length,b;o()=>n;function X9e(n,{sourceEvent:r,subject:o,target:l,identifier:h,active:b,x:g,y:m,dx:S,dy:_,dispatch:k}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},subject:{value:o,enumerable:!0,configurable:!0},target:{value:l,enumerable:!0,configurable:!0},identifier:{value:h,enumerable:!0,configurable:!0},active:{value:b,enumerable:!0,configurable:!0},x:{value:g,enumerable:!0,configurable:!0},y:{value:m,enumerable:!0,configurable:!0},dx:{value:S,enumerable:!0,configurable:!0},dy:{value:_,enumerable:!0,configurable:!0},_:{value:k}})}X9e.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function Vyr(n){return!n.ctrlKey&&!n.button}function Gyr(){return this.parentNode}function Kyr(n,r){return r??{x:n.x,y:n.y}}function zyr(){return navigator.maxTouchPoints||"ontouchstart"in this}function qyr(){var n=Vyr,r=Gyr,o=Kyr,l=zyr,h={},b=$fe("start","drag","end"),g=0,m,S,_,k,I=0;function C(Q){Q.on("mousedown.drag",A).filter(l).on("touchstart.drag",H).on("touchmove.drag",G,Uyr).on("touchend.drag touchcancel.drag",Y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function A(Q,ne){if(!(k||!n.call(this,Q,ne))){var be=F(this,r.call(this,Q,ne),Q,ne,"mouse");be&&(f2(Q.view).on("mousemove.drag",M,hG).on("mouseup.drag",D,hG),bZt(Q.view),J7e(Q),_=!1,m=Q.clientX,S=Q.clientY,be("start",Q))}}function M(Q){if(CN(Q),!_){var ne=Q.clientX-m,be=Q.clientY-S;_=ne*ne+be*be>I}h.mouse("drag",Q)}function D(Q){f2(Q.view).on("mousemove.drag mouseup.drag",null),pZt(Q.view,_),CN(Q),h.mouse("end",Q)}function H(Q,ne){if(n.call(this,Q,ne)){var be=Q.changedTouches,De=r.call(this,Q,ne),Ee=be.length,Ae,qe;for(Ae=0;Ae>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):o===8?Fse(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):o===4?Fse(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=Jyr.exec(n))?new F1(r[1],r[2],r[3],1):(r=Yyr.exec(n))?new F1(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=Qyr.exec(n))?Fse(r[1],r[2],r[3],r[4]):(r=Zyr.exec(n))?Fse(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=evr.exec(n))?dBt(r[1],r[2]/100,r[3]/100,1):(r=tvr.exec(n))?dBt(r[1],r[2]/100,r[3]/100,r[4]):sBt.hasOwnProperty(n)?cBt(sBt[n]):n==="transparent"?new F1(NaN,NaN,NaN,0):null}function cBt(n){return new F1(n>>16&255,n>>8&255,n&255,1)}function Fse(n,r,o,l){return l<=0&&(n=r=o=NaN),new F1(n,r,o,l)}function ivr(n){return n instanceof RK||(n=gG(n)),n?(n=n.rgb(),new F1(n.r,n.g,n.b,n.opacity)):new F1}function J9e(n,r,o,l){return arguments.length===1?ivr(n):new F1(n,r,o,l??1)}function F1(n,r,o,l){this.r=+n,this.g=+r,this.b=+o,this.opacity=+l}SLe(F1,J9e,gZt(RK,{brighter(n){return n=n==null?Mle:Math.pow(Mle,n),new F1(this.r*n,this.g*n,this.b*n,this.opacity)},darker(n){return n=n==null?bG:Math.pow(bG,n),new F1(this.r*n,this.g*n,this.b*n,this.opacity)},rgb(){return this},clamp(){return new F1(eT(this.r),eT(this.g),eT(this.b),Dle(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:uBt,formatHex:uBt,formatHex8:ovr,formatRgb:fBt,toString:fBt}));function uBt(){return`#${LI(this.r)}${LI(this.g)}${LI(this.b)}`}function ovr(){return`#${LI(this.r)}${LI(this.g)}${LI(this.b)}${LI((isNaN(this.opacity)?1:this.opacity)*255)}`}function fBt(){const n=Dle(this.opacity);return`${n===1?"rgb(":"rgba("}${eT(this.r)}, ${eT(this.g)}, ${eT(this.b)}${n===1?")":`, ${n})`}`}function Dle(n){return isNaN(n)?1:Math.max(0,Math.min(1,n))}function eT(n){return Math.max(0,Math.min(255,Math.round(n)||0))}function LI(n){return n=eT(n),(n<16?"0":"")+n.toString(16)}function dBt(n,r,o,l){return l<=0?n=r=o=NaN:o<=0||o>=1?n=r=NaN:r<=0&&(n=NaN),new d2(n,r,o,l)}function wZt(n){if(n instanceof d2)return new d2(n.h,n.s,n.l,n.opacity);if(n instanceof RK||(n=gG(n)),!n)return new d2;if(n instanceof d2)return n;n=n.rgb();var r=n.r/255,o=n.g/255,l=n.b/255,h=Math.min(r,o,l),b=Math.max(r,o,l),g=NaN,m=b-h,S=(b+h)/2;return m?(r===b?g=(o-l)/m+(o0&&S<1?0:g,new d2(g,m,S,n.opacity)}function svr(n,r,o,l){return arguments.length===1?wZt(n):new d2(n,r,o,l??1)}function d2(n,r,o,l){this.h=+n,this.s=+r,this.l=+o,this.opacity=+l}SLe(d2,svr,gZt(RK,{brighter(n){return n=n==null?Mle:Math.pow(Mle,n),new d2(this.h,this.s,this.l*n,this.opacity)},darker(n){return n=n==null?bG:Math.pow(bG,n),new d2(this.h,this.s,this.l*n,this.opacity)},rgb(){var n=this.h%360+(this.h<0)*360,r=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,l=o+(o<.5?o:1-o)*r,h=2*o-l;return new F1(Y7e(n>=240?n-240:n+120,h,l),Y7e(n,h,l),Y7e(n<120?n+240:n-120,h,l),this.opacity)},clamp(){return new d2(hBt(this.h),Bse(this.s),Bse(this.l),Dle(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 n=Dle(this.opacity);return`${n===1?"hsl(":"hsla("}${hBt(this.h)}, ${Bse(this.s)*100}%, ${Bse(this.l)*100}%${n===1?")":`, ${n})`}`}}));function hBt(n){return n=(n||0)%360,n<0?n+360:n}function Bse(n){return Math.max(0,Math.min(1,n||0))}function Y7e(n,r,o){return(n<60?r+(o-r)*n/60:n<180?o:n<240?r+(o-r)*(240-n)/60:r)*255}const mZt=n=>()=>n;function avr(n,r){return function(o){return n+o*r}}function lvr(n,r,o){return n=Math.pow(n,o),r=Math.pow(r,o)-n,o=1/o,function(l){return Math.pow(n+l*r,o)}}function cvr(n){return(n=+n)==1?yZt:function(r,o){return o-r?lvr(r,o,n):mZt(isNaN(r)?o:r)}}function yZt(n,r){var o=r-n;return o?avr(n,o):mZt(isNaN(n)?r:n)}const bBt=function n(r){var o=cvr(r);function l(h,b){var g=o((h=J9e(h)).r,(b=J9e(b)).r),m=o(h.g,b.g),S=o(h.b,b.b),_=yZt(h.opacity,b.opacity);return function(k){return h.r=g(k),h.g=m(k),h.b=S(k),h.opacity=_(k),h+""}}return l.gamma=n,l}(1);function y6(n,r){return n=+n,r=+r,function(o){return n*(1-o)+r*o}}var Y9e=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Q7e=new RegExp(Y9e.source,"g");function uvr(n){return function(){return n}}function fvr(n){return function(r){return n(r)+""}}function dvr(n,r){var o=Y9e.lastIndex=Q7e.lastIndex=0,l,h,b,g=-1,m=[],S=[];for(n=n+"",r=r+"";(l=Y9e.exec(n))&&(h=Q7e.exec(r));)(b=h.index)>o&&(b=r.slice(o,b),m[g]?m[g]+=b:m[++g]=b),(l=l[0])===(h=h[0])?m[g]?m[g]+=h:m[++g]=h:(m[++g]=null,S.push({i:g,x:y6(l,h)})),o=Q7e.lastIndex;return o180?k+=360:k-_>180&&(_+=360),C.push({i:I.push(h(I)+"rotate(",null,l)-2,x:y6(_,k)})):k&&I.push(h(I)+"rotate("+k+l)}function m(_,k,I,C){_!==k?C.push({i:I.push(h(I)+"skewX(",null,l)-2,x:y6(_,k)}):k&&I.push(h(I)+"skewX("+k+l)}function S(_,k,I,C,A,M){if(_!==I||k!==C){var D=A.push(h(A)+"scale(",null,",",null,")");M.push({i:D-4,x:y6(_,I)},{i:D-2,x:y6(k,C)})}else(I!==1||C!==1)&&A.push(h(A)+"scale("+I+","+C+")")}return function(_,k){var I=[],C=[];return _=n(_),k=n(k),b(_.translateX,_.translateY,k.translateX,k.translateY,I,C),g(_.rotate,k.rotate,I,C),m(_.skewX,k.skewX,I,C),S(_.scaleX,_.scaleY,k.scaleX,k.scaleY,I,C),_=k=null,function(A){for(var M=-1,D=C.length,H;++M=0&&n._call.call(void 0,r),n=n._next;--zN}function wBt(){pT=(jle=wG.now())+Tfe,zN=_V=0;try{Svr()}finally{zN=0,kvr(),pT=0}}function Evr(){var n=wG.now(),r=n-jle;r>SZt&&(Tfe-=r,jle=n)}function kvr(){for(var n,r=Lle,o,l=1/0;r;)r._call?(l>r._time&&(l=r._time),n=r,r=r._next):(o=r._next,r._next=null,r=n?n._next=o:Lle=o);SV=n,Z9e(l)}function Z9e(n){if(!zN){_V&&(_V=clearTimeout(_V));var r=n-pT;r>24?(n<1/0&&(_V=setTimeout(wBt,n-wG.now()-Tfe)),tV&&(tV=clearInterval(tV))):(tV||(jle=wG.now(),tV=setInterval(Evr,SZt)),zN=1,EZt(wBt))}}function mBt(n,r,o){var l=new Fle;return r=r==null?0:+r,l.restart(h=>{l.stop(),n(h+r)},r,o),l}var Rvr=$fe("start","end","cancel","interrupt"),Avr=[],RZt=0,yBt=1,eNe=2,Pae=3,vBt=4,tNe=5,Oae=6;function Pfe(n,r,o,l,h,b){var g=n.__transition;if(!g)n.__transition={};else if(o in g)return;Cvr(n,o,{name:r,index:l,group:h,on:Rvr,tween:Avr,time:b.time,delay:b.delay,duration:b.duration,ease:b.ease,timer:null,state:RZt})}function kLe(n,r){var o=m2(n,r);if(o.state>RZt)throw new Error("too late; already scheduled");return o}function nE(n,r){var o=m2(n,r);if(o.state>Pae)throw new Error("too late; already running");return o}function m2(n,r){var o=n.__transition;if(!o||!(o=o[r]))throw new Error("transition not found");return o}function Cvr(n,r,o){var l=n.__transition,h;l[r]=o,o.timer=kZt(b,0,o.time);function b(_){o.state=yBt,o.timer.restart(g,o.delay,o.time),o.delay<=_&&g(_-o.delay)}function g(_){var k,I,C,A;if(o.state!==yBt)return S();for(k in l)if(A=l[k],A.name===o.name){if(A.state===Pae)return mBt(g);A.state===vBt?(A.state=Oae,A.timer.stop(),A.on.call("interrupt",n,n.__data__,A.index,A.group),delete l[k]):+keNe&&l.state=0&&(r=r.slice(0,o)),!r||r==="start"})}function r2r(n,r,o){var l,h,b=n2r(r)?kLe:nE;return function(){var g=b(this,n),m=g.on;m!==l&&(h=(l=m).copy()).on(r,o),g.on=h}}function i2r(n,r){var o=this._id;return arguments.length<2?m2(this.node(),o).on.on(n):this.each(r2r(o,n,r))}function o2r(n){return function(){var r=this.parentNode;for(var o in this.__transition)if(+o!==n)return;r&&r.removeChild(this)}}function s2r(){return this.on("end.remove",o2r(this._id))}function a2r(n){var r=this._name,o=this._id;typeof n!="function"&&(n=vLe(n));for(var l=this._groups,h=l.length,b=new Array(h),g=0;g()=>n;function P2r(n,{sourceEvent:r,target:o,transform:l,dispatch:h}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},transform:{value:l,enumerable:!0,configurable:!0},_:{value:h}})}function hk(n,r,o){this.k=n,this.x=r,this.y=o}hk.prototype={constructor:hk,scale:function(n){return n===1?this:new hk(this.k*n,this.x,this.y)},translate:function(n,r){return n===0&r===0?this:new hk(this.k,this.x+this.k*n,this.y+this.k*r)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var qN=new hk(1,0,0);hk.prototype;function Z7e(n){n.stopImmediatePropagation()}function nV(n){n.preventDefault(),n.stopImmediatePropagation()}function O2r(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function N2r(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]):[[0,0],[n.clientWidth,n.clientHeight]]}function _Bt(){return this.__zoom||qN}function M2r(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function D2r(){return navigator.maxTouchPoints||"ontouchstart"in this}function L2r(n,r,o){var l=n.invertX(r[0][0])-o[0][0],h=n.invertX(r[1][0])-o[1][0],b=n.invertY(r[0][1])-o[0][1],g=n.invertY(r[1][1])-o[1][1];return n.translate(h>l?(l+h)/2:Math.min(0,l)||Math.max(0,h),g>b?(b+g)/2:Math.min(0,b)||Math.max(0,g))}function j2r(){var n=O2r,r=N2r,o=L2r,l=M2r,h=D2r,b=[0,1/0],g=[[-1/0,-1/0],[1/0,1/0]],m=250,S=vvr,_=$fe("start","zoom","end"),k,I,C,A=500,M=150,D=0,H=10;function G(ve){ve.property("__zoom",_Bt).on("wheel.zoom",Ee,{passive:!1}).on("mousedown.zoom",Ae).on("dblclick.zoom",qe).filter(h).on("touchstart.zoom",et).on("touchmove.zoom",fe).on("touchend.zoom touchcancel.zoom",L).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}G.transform=function(ve,ye,me,je){var Be=ve.selection?ve.selection():ve;Be.property("__zoom",_Bt),ve!==Be?ne(ve,ye,me,je):Be.interrupt().each(function(){be(this,arguments).event(je).start().zoom(null,typeof ye=="function"?ye.apply(this,arguments):ye).end()})},G.scaleBy=function(ve,ye,me,je){G.scaleTo(ve,function(){var Be=this.__zoom.k,ze=typeof ye=="function"?ye.apply(this,arguments):ye;return Be*ze},me,je)},G.scaleTo=function(ve,ye,me,je){G.transform(ve,function(){var Be=r.apply(this,arguments),ze=this.__zoom,Ze=me==null?Q(Be):typeof me=="function"?me.apply(this,arguments):me,Le=ze.invert(Ze),Ut=typeof ye=="function"?ye.apply(this,arguments):ye;return o(F(Y(ze,Ut),Ze,Le),Be,g)},me,je)},G.translateBy=function(ve,ye,me,je){G.transform(ve,function(){return o(this.__zoom.translate(typeof ye=="function"?ye.apply(this,arguments):ye,typeof me=="function"?me.apply(this,arguments):me),r.apply(this,arguments),g)},null,je)},G.translateTo=function(ve,ye,me,je,Be){G.transform(ve,function(){var ze=r.apply(this,arguments),Ze=this.__zoom,Le=je==null?Q(ze):typeof je=="function"?je.apply(this,arguments):je;return o(qN.translate(Le[0],Le[1]).scale(Ze.k).translate(typeof ye=="function"?-ye.apply(this,arguments):-ye,typeof me=="function"?-me.apply(this,arguments):-me),ze,g)},je,Be)};function Y(ve,ye){return ye=Math.max(b[0],Math.min(b[1],ye)),ye===ve.k?ve:new hk(ye,ve.x,ve.y)}function F(ve,ye,me){var je=ye[0]-me[0]*ve.k,Be=ye[1]-me[1]*ve.k;return je===ve.x&&Be===ve.y?ve:new hk(ve.k,je,Be)}function Q(ve){return[(+ve[0][0]+ +ve[1][0])/2,(+ve[0][1]+ +ve[1][1])/2]}function ne(ve,ye,me,je){ve.on("start.zoom",function(){be(this,arguments).event(je).start()}).on("interrupt.zoom end.zoom",function(){be(this,arguments).event(je).end()}).tween("zoom",function(){var Be=this,ze=arguments,Ze=be(Be,ze).event(je),Le=r.apply(Be,ze),Ut=me==null?Q(Le):typeof me=="function"?me.apply(Be,ze):me,se=Math.max(Le[1][0]-Le[0][0],Le[1][1]-Le[0][1]),Me=Be.__zoom,ft=typeof ye=="function"?ye.apply(Be,ze):ye,st=S(Me.invert(Ut).concat(se/Me.k),ft.invert(Ut).concat(se/ft.k));return function(at){if(at===1)at=ft;else{var yt=st(at),Mt=se/yt[2];at=new hk(Mt,Ut[0]-yt[0]*Mt,Ut[1]-yt[1]*Mt)}Ze.zoom(null,at)}})}function be(ve,ye,me){return!me&&ve.__zooming||new De(ve,ye)}function De(ve,ye){this.that=ve,this.args=ye,this.active=0,this.sourceEvent=null,this.extent=r.apply(ve,ye),this.taps=0}De.prototype={event:function(ve){return ve&&(this.sourceEvent=ve),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(ve,ye){return this.mouse&&ve!=="mouse"&&(this.mouse[1]=ye.invert(this.mouse[0])),this.touch0&&ve!=="touch"&&(this.touch0[1]=ye.invert(this.touch0[0])),this.touch1&&ve!=="touch"&&(this.touch1[1]=ye.invert(this.touch1[0])),this.that.__zoom=ye,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(ve){var ye=f2(this.that).datum();_.call(ve,this.that,new P2r(ve,{sourceEvent:this.sourceEvent,target:G,type:ve,transform:this.that.__zoom,dispatch:_}),ye)}};function Ee(ve,...ye){if(!n.apply(this,arguments))return;var me=be(this,ye).event(ve),je=this.__zoom,Be=Math.max(b[0],Math.min(b[1],je.k*Math.pow(2,l.apply(this,arguments)))),ze=yS(ve);if(me.wheel)(me.mouse[0][0]!==ze[0]||me.mouse[0][1]!==ze[1])&&(me.mouse[1]=je.invert(me.mouse[0]=ze)),clearTimeout(me.wheel);else{if(je.k===Be)return;me.mouse=[ze,je.invert(ze)],Nae(this),me.start()}nV(ve),me.wheel=setTimeout(Ze,M),me.zoom("mouse",o(F(Y(je,Be),me.mouse[0],me.mouse[1]),me.extent,g));function Ze(){me.wheel=null,me.end()}}function Ae(ve,...ye){if(C||!n.apply(this,arguments))return;var me=ve.currentTarget,je=be(this,ye,!0).event(ve),Be=f2(ve.view).on("mousemove.zoom",Ut,!0).on("mouseup.zoom",se,!0),ze=yS(ve,me),Ze=ve.clientX,Le=ve.clientY;bZt(ve.view),Z7e(ve),je.mouse=[ze,this.__zoom.invert(ze)],Nae(this),je.start();function Ut(Me){if(nV(Me),!je.moved){var ft=Me.clientX-Ze,st=Me.clientY-Le;je.moved=ft*ft+st*st>D}je.event(Me).zoom("mouse",o(F(je.that.__zoom,je.mouse[0]=yS(Me,me),je.mouse[1]),je.extent,g))}function se(Me){Be.on("mousemove.zoom mouseup.zoom",null),pZt(Me.view,je.moved),nV(Me),je.event(Me).end()}}function qe(ve,...ye){if(n.apply(this,arguments)){var me=this.__zoom,je=yS(ve.changedTouches?ve.changedTouches[0]:ve,this),Be=me.invert(je),ze=me.k*(ve.shiftKey?.5:2),Ze=o(F(Y(me,ze),je,Be),r.apply(this,ye),g);nV(ve),m>0?f2(this).transition().duration(m).call(ne,Ze,je,ve):f2(this).call(G.transform,Ze,je,ve)}}function et(ve,...ye){if(n.apply(this,arguments)){var me=ve.touches,je=me.length,Be=be(this,ye,ve.changedTouches.length===je).event(ve),ze,Ze,Le,Ut;for(Z7e(ve),Ze=0;Ze(n.Left="left",n.Top="top",n.Right="right",n.Bottom="bottom",n))(mi||{}),ALe=(n=>(n.Partial="partial",n.Full="full",n))(ALe||{}),OI=(n=>(n.Bezier="default",n.SimpleBezier="simple-bezier",n.Straight="straight",n.Step="step",n.SmoothStep="smoothstep",n))(OI||{}),gT=(n=>(n.Strict="strict",n.Loose="loose",n))(gT||{}),Ble=(n=>(n.Arrow="arrow",n.ArrowClosed="arrowclosed",n))(Ble||{}),JV=(n=>(n.Free="free",n.Vertical="vertical",n.Horizontal="horizontal",n))(JV||{});function nNe(n){var r,o;const l=((o=(r=n.composedPath)==null?void 0:r.call(n))==null?void 0:o[0])||n.target,h=typeof(l==null?void 0:l.hasAttribute)=="function"?l.hasAttribute("contenteditable"):!1,b=typeof(l==null?void 0:l.closest)=="function"?l.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(l==null?void 0:l.nodeName)||h||!!b}function F2r(n){return n.ctrlKey||n.metaKey||n.shiftKey}function SBt(n,r,o,l){const h=r.replace("+",` +`).replace(` + +`,` ++`).split(` +`).map(g=>g.trim().toLowerCase());if(h.length===1)return n.toLowerCase()===r.toLowerCase();l||o.add(n.toLowerCase());const b=h.every((g,m)=>o.has(g)&&Array.from(o.values())[m]===h[m]);return l&&o.delete(n.toLowerCase()),b}function B2r(n,r){return o=>{if(!o.code&&!o.key)return!1;const l=H2r(o.code,n);return Array.isArray(n)?n.some(h=>SBt(o[l],h,r,o.type==="keyup")):SBt(o[l],n,r,o.type==="keyup")}}function H2r(n,r){return r.includes(n)?"code":"key"}function YV(n,r){const o=Vu(()=>Qa(r==null?void 0:r.actInsideInputWithModifier)??!1),l=Vu(()=>Qa(r==null?void 0:r.target)??window),h=fa(Qa(n)===!0);let b=!1;const g=new Set;let m=_(Qa(n));ua(()=>Qa(n),(k,I)=>{typeof I=="boolean"&&typeof k!="boolean"&&S(),m=_(k)},{immediate:!0}),dw(()=>{tZt(window,["blur","contextmenu"],S)}),rBt((...k)=>m(...k),k=>{b=F2r(k),!((!b||b&&!o.value)&&nNe(k))&&(k.preventDefault(),h.value=!0)},{eventName:"keydown",target:l}),rBt((...k)=>m(...k),k=>{if(h.value){if((!b||b&&!o.value)&&nNe(k))return;b=!1,h.value=!1}},{eventName:"keyup",target:l});function S(){b=!1,g.clear(),h.value=Qa(n)===!0}function _(k){return k===null?(S(),()=>!1):typeof k=="boolean"?(S(),h.value=k,()=>!1):Array.isArray(k)||typeof k=="string"?B2r(k,g):k}return h}const $Zt="vue-flow__node-desc",IZt="vue-flow__edge-desc",W2r="vue-flow__aria-live",TZt=["Enter"," ","Escape"],$N={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function rNe(n){return{...n.computedPosition||{x:0,y:0},width:n.dimensions.width||0,height:n.dimensions.height||0}}function iNe(n,r){const o=Math.max(0,Math.min(n.x+n.width,r.x+r.width)-Math.max(n.x,r.x)),l=Math.max(0,Math.min(n.y+n.height,r.y+r.height)-Math.max(n.y,r.y));return Math.ceil(o*l)}function Ofe(n){return{width:n.offsetWidth,height:n.offsetHeight}}function wT(n,r=0,o=1){return Math.min(Math.max(n,r),o)}function PZt(n,r){return{x:wT(n.x,r[0][0],r[1][0]),y:wT(n.y,r[0][1],r[1][1])}}function EBt(n){const r=n.getRootNode();return"elementFromPoint"in r?r:window.document}function D6(n){return n&&typeof n=="object"&&"id"in n&&"source"in n&&"target"in n}function tT(n){return n&&typeof n=="object"&&"id"in n&&"position"in n&&!D6(n)}function EV(n){return tT(n)&&"computedPosition"in n}function Use(n){return!Number.isNaN(n)&&Number.isFinite(n)}function U2r(n){return Use(n.width)&&Use(n.height)&&Use(n.x)&&Use(n.y)}function V2r(n,r,o){const l={id:n.id.toString(),type:n.type??"default",dimensions:BI({width:0,height:0}),computedPosition:BI({z:0,...n.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:Sd(n.data)?n.data:{},events:BI(Sd(n.events)?n.events:{})};return Object.assign(r??l,n,{id:n.id.toString(),parentNode:o})}function OZt(n,r,o){var l,h;const b={id:n.id.toString(),type:n.type??(r==null?void 0:r.type)??"default",source:n.source.toString(),target:n.target.toString(),sourceHandle:(l=n.sourceHandle)==null?void 0:l.toString(),targetHandle:(h=n.targetHandle)==null?void 0:h.toString(),updatable:n.updatable??(o==null?void 0:o.updatable),selectable:n.selectable??(o==null?void 0:o.selectable),focusable:n.focusable??(o==null?void 0:o.focusable),data:Sd(n.data)?n.data:{},events:BI(Sd(n.events)?n.events:{}),label:n.label??"",interactionWidth:n.interactionWidth??(o==null?void 0:o.interactionWidth),...o??{}};return Object.assign(r??b,n,{id:n.id.toString()})}function NZt(n,r,o,l){const h=typeof n=="string"?n:n.id,b=new Set,g=l==="source"?"target":"source";for(const m of o)m[g]===h&&b.add(m[l]);return r.filter(m=>b.has(m.id))}function G2r(...n){if(n.length===3){const[b,g,m]=n;return NZt(b,g,m,"target")}const[r,o]=n,l=typeof r=="string"?r:r.id;return o.filter(b=>D6(b)&&b.source===l).map(b=>o.find(g=>tT(g)&&g.id===b.target))}function K2r(...n){if(n.length===3){const[b,g,m]=n;return NZt(b,g,m,"source")}const[r,o]=n,l=typeof r=="string"?r:r.id;return o.filter(b=>D6(b)&&b.target===l).map(b=>o.find(g=>tT(g)&&g.id===b.source))}function MZt({source:n,sourceHandle:r,target:o,targetHandle:l}){return`vueflow__edge-${n}${r??""}-${o}${l??""}`}function z2r(n,r){return r.some(o=>D6(o)&&o.source===n.source&&o.target===n.target&&(o.sourceHandle===n.sourceHandle||!o.sourceHandle&&!n.sourceHandle)&&(o.targetHandle===n.targetHandle||!o.targetHandle&&!n.targetHandle))}function DZt({x:n,y:r},{x:o,y:l,zoom:h}){return{x:n*h+o,y:r*h+l}}function mG({x:n,y:r},{x:o,y:l,zoom:h},b=!1,g=[1,1]){const m={x:(n-o)/h,y:(r-l)/h};return b?Nfe(m,g):m}function q2r(n,r){return{x:Math.min(n.x,r.x),y:Math.min(n.y,r.y),x2:Math.max(n.x2,r.x2),y2:Math.max(n.y2,r.y2)}}function LZt({x:n,y:r,width:o,height:l}){return{x:n,y:r,x2:n+o,y2:r+l}}function X2r({x:n,y:r,x2:o,y2:l}){return{x:n,y:r,width:o-n,height:l-r}}function jZt(n){let r={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let o=0;o0,H=(I??0)*(C??0);(M||D||A>=H||m.dragging)&&g.push(m)}return g}function BZt(n,r){const o=new Set;if(typeof n=="string")o.add(n);else if(n.length>=1)for(const l of n)o.add(l.id);return r.filter(l=>o.has(l.source)||o.has(l.target))}function kBt(n,r,o,l,h,b=.1,g={x:0,y:0}){const m=r/(n.width*(1+b)),S=o/(n.height*(1+b)),_=Math.min(m,S),k=wT(_,l,h),I=n.x+n.width/2,C=n.y+n.height/2,A=r/2-I*k+(g.x??0),M=o/2-C*k+(g.y??0);return{x:A,y:M,zoom:k}}function J2r(n,r){return{x:r.x+n.x,y:r.y+n.y,z:(n.z>r.z?n.z:r.z)+1}}function HZt(n,r){if(!n.parentNode)return!1;const o=r(n.parentNode);return o?o.selected?!0:HZt(o,r):!1}function yG(n,r){return typeof n>"u"?"":typeof n=="string"?n:`${r?`${r}__`:""}${Object.keys(n).sort().map(l=>`${l}=${n[l]}`).join("&")}`}function RBt(n,r,o){return no?-wT(Math.abs(n-o),1,r)/r:0}function WZt(n,r,o=15,l=40){const h=RBt(n.x,l,r.width-l)*o,b=RBt(n.y,l,r.height-l)*o;return[h,b]}function ePe(n,r){if(r){const o=n.position.x+n.dimensions.width-r.dimensions.width,l=n.position.y+n.dimensions.height-r.dimensions.height;if(o>0||l>0||n.position.x<0||n.position.y<0){let h={};if(typeof r.style=="function"?h={...r.style(r)}:r.style&&(h={...r.style}),h.width=h.width??`${r.dimensions.width}px`,h.height=h.height??`${r.dimensions.height}px`,o>0)if(typeof h.width=="string"){const b=Number(h.width.replace("px",""));h.width=`${b+o}px`}else h.width+=o;if(l>0)if(typeof h.height=="string"){const b=Number(h.height.replace("px",""));h.height=`${b+l}px`}else h.height+=l;if(n.position.x<0){const b=Math.abs(n.position.x);if(r.position.x=r.position.x-b,typeof h.width=="string"){const g=Number(h.width.replace("px",""));h.width=`${g+b}px`}else h.width+=b;n.position.x=0}if(n.position.y<0){const b=Math.abs(n.position.y);if(r.position.y=r.position.y-b,typeof h.height=="string"){const g=Number(h.height.replace("px",""));h.height=`${g+b}px`}else h.height+=b;n.position.y=0}r.dimensions.width=Number(h.width.toString().replace("px","")),r.dimensions.height=Number(h.height.toString().replace("px","")),typeof r.style=="function"?r.style=b=>{const g=r.style;return{...g(b),...h}}:r.style={...r.style,...h}}}}function ABt(n,r){var o,l;const h=n.filter(g=>g.type==="add"||g.type==="remove");for(const g of h)if(g.type==="add")r.findIndex(S=>S.id===g.item.id)===-1&&r.push(g.item);else if(g.type==="remove"){const m=r.findIndex(S=>S.id===g.id);m!==-1&&r.splice(m,1)}const b=r.map(g=>g.id);for(const g of r)for(const m of n)if(m.id===g.id)switch(m.type){case"select":g.selected=m.selected;break;case"position":if(EV(g)&&(typeof m.position<"u"&&(g.position=m.position),typeof m.dragging<"u"&&(g.dragging=m.dragging),g.expandParent&&g.parentNode)){const S=r[b.indexOf(g.parentNode)];S&&EV(S)&&ePe(g,S)}break;case"dimensions":if(EV(g)&&(typeof m.dimensions<"u"&&(g.dimensions=m.dimensions),typeof m.updateStyle<"u"&&m.updateStyle&&(g.style={...g.style||{},width:`${(o=m.dimensions)==null?void 0:o.width}px`,height:`${(l=m.dimensions)==null?void 0:l.height}px`}),typeof m.resizing<"u"&&(g.resizing=m.resizing),g.expandParent&&g.parentNode)){const S=r[b.indexOf(g.parentNode)];S&&EV(S)&&(!!S.dimensions.width&&!!S.dimensions.height?ePe(g,S):p2(()=>{ePe(g,S)}))}break}return r}function o6(n,r){return{id:n,type:"select",selected:r}}function CBt(n){return{item:n,type:"add"}}function xBt(n){return{id:n,type:"remove"}}function $Bt(n,r,o,l,h){return{id:n,source:r,target:o,sourceHandle:l||null,targetHandle:h||null,type:"remove"}}function v6(n,r=new Set,o=!1){const l=[];for(const[h,b]of n){const g=r.has(h);!(b.selected===void 0&&!g)&&b.selected!==g&&(o&&(b.selected=g),l.push(o6(b.id,g)))}return l}function ni(n){const r=new Set;let o=!1;const l=()=>r.size>0;n&&(o=!0,r.add(n));const h=m=>{r.delete(m)};return{on:m=>{n&&o&&r.delete(n),r.add(m);const S=()=>{h(m),n&&o&&r.add(n)};return xfe(S),{off:S}},off:h,trigger:m=>Promise.all(Array.from(r).map(S=>S(m))),hasListeners:l,fns:r}}function IBt(n,r,o){let l=n;do{if(l&&l.matches(r))return!0;if(l===o)return!1;l=l.parentElement}while(l);return!1}function Y2r(n,r,o,l,h){var b,g;const m=[];for(const S of n)(S.selected||S.id===h)&&(!S.parentNode||!HZt(S,l))&&(S.draggable||r&&typeof S.draggable>"u")&&m.push(BI({id:S.id,position:S.position||{x:0,y:0},distance:{x:o.x-((b=S.computedPosition)==null?void 0:b.x)||0,y:o.y-((g=S.computedPosition)==null?void 0:g.y)||0},from:S.computedPosition,extent:S.extent,parentNode:S.parentNode,dimensions:S.dimensions,expandParent:S.expandParent}));return m}function tPe({id:n,dragItems:r,findNode:o}){const l=[];for(const h of r){const b=o(h.id);b&&l.push(b)}return[n?l.find(h=>h.id===n):l[0],l]}function UZt(n){if(Array.isArray(n))switch(n.length){case 1:return[n[0],n[0],n[0],n[0]];case 2:return[n[0],n[1],n[0],n[1]];case 3:return[n[0],n[1],n[2],n[1]];case 4:return n;default:return[0,0,0,0]}return[n,n,n,n]}function Q2r(n,r,o){const[l,h,b,g]=typeof n!="string"?UZt(n.padding):[0,0,0,0];return o&&typeof o.computedPosition.x<"u"&&typeof o.computedPosition.y<"u"&&typeof o.dimensions.width<"u"&&typeof o.dimensions.height<"u"?[[o.computedPosition.x+g,o.computedPosition.y+l],[o.computedPosition.x+o.dimensions.width-h,o.computedPosition.y+o.dimensions.height-b]]:!1}function Z2r(n,r,o,l){let h=n.extent||o;if((h==="parent"||!Array.isArray(h)&&(h==null?void 0:h.range)==="parent")&&!n.expandParent)if(n.parentNode&&l&&n.dimensions.width&&n.dimensions.height){const b=Q2r(h,n,l);b&&(h=b)}else r(new th(Ed.NODE_EXTENT_INVALID,n.id)),h=o;else if(Array.isArray(h)){const b=(l==null?void 0:l.computedPosition.x)||0,g=(l==null?void 0:l.computedPosition.y)||0;h=[[h[0][0]+b,h[0][1]+g],[h[1][0]+b,h[1][1]+g]]}else if(h!=="parent"&&(h!=null&&h.range)&&Array.isArray(h.range)){const[b,g,m,S]=UZt(h.padding),_=(l==null?void 0:l.computedPosition.x)||0,k=(l==null?void 0:l.computedPosition.y)||0;h=[[h.range[0][0]+_+S,h.range[0][1]+k+b],[h.range[1][0]+_-g,h.range[1][1]+k-m]]}return h==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:h}function e_r({width:n,height:r},o){return[o[0],[o[1][0]-(n||0),o[1][1]-(r||0)]]}function CLe(n,r,o,l,h){const b=e_r(n.dimensions,Z2r(n,o,l,h)),g=PZt(r,b);return{position:{x:g.x-((h==null?void 0:h.computedPosition.x)||0),y:g.y-((h==null?void 0:h.computedPosition.y)||0)},computedPosition:g}}function Hle(n,r,o=mi.Left){const l=((r==null?void 0:r.x)??0)+n.computedPosition.x,h=((r==null?void 0:r.y)??0)+n.computedPosition.y,{width:b,height:g}=r??r_r(n);switch((r==null?void 0:r.position)??o){case mi.Top:return{x:l+b/2,y:h};case mi.Right:return{x:l+b,y:h+g/2};case mi.Bottom:return{x:l+b/2,y:h+g};case mi.Left:return{x:l,y:h+g/2}}}function TBt(n=[],r){return n.length&&(r?n.find(o=>o.id===r):n[0])||null}function t_r({sourcePos:n,targetPos:r,sourceWidth:o,sourceHeight:l,targetWidth:h,targetHeight:b,width:g,height:m,viewport:S}){const _={x:Math.min(n.x,r.x),y:Math.min(n.y,r.y),x2:Math.max(n.x+o,r.x+h),y2:Math.max(n.y+l,r.y+b)};_.x===_.x2&&(_.x2+=1),_.y===_.y2&&(_.y2+=1);const k=LZt({x:(0-S.x)/S.zoom,y:(0-S.y)/S.zoom,width:g/S.zoom,height:m/S.zoom}),I=Math.max(0,Math.min(k.x2,_.x2)-Math.max(k.x,_.x)),C=Math.max(0,Math.min(k.y2,_.y2)-Math.max(k.y,_.y));return Math.ceil(I*C)>0}function n_r(n,r,o=!1){const l=typeof n.zIndex=="number";let h=l?n.zIndex:0;const b=r(n.source),g=r(n.target);return!b||!g?0:(o&&(h=l?n.zIndex:Math.max(b.computedPosition.z||0,g.computedPosition.z||0)),h)}var Ed=(n=>(n.MISSING_STYLES="MISSING_STYLES",n.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",n.NODE_INVALID="NODE_INVALID",n.NODE_NOT_FOUND="NODE_NOT_FOUND",n.NODE_MISSING_PARENT="NODE_MISSING_PARENT",n.NODE_TYPE_MISSING="NODE_TYPE_MISSING",n.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",n.EDGE_INVALID="EDGE_INVALID",n.EDGE_NOT_FOUND="EDGE_NOT_FOUND",n.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",n.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",n.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",n.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",n.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",n.EDGE_ORPHANED="EDGE_ORPHANED",n.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",n))(Ed||{});const PBt={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:n=>`Node is invalid +Node: ${n}`,NODE_NOT_FOUND:n=>`Node not found +Node: ${n}`,NODE_MISSING_PARENT:(n,r)=>`Node is missing a parent +Node: ${n} +Parent: ${r}`,NODE_TYPE_MISSING:n=>`Node type is missing +Type: ${n}`,NODE_EXTENT_INVALID:n=>`Only child nodes can use a parent extent +Node: ${n}`,EDGE_INVALID:n=>`An edge needs a source and a target +Edge: ${n}`,EDGE_SOURCE_MISSING:(n,r)=>`Edge source is missing +Edge: ${n} +Source: ${r}`,EDGE_TARGET_MISSING:(n,r)=>`Edge target is missing +Edge: ${n} +Target: ${r}`,EDGE_TYPE_MISSING:n=>`Edge type is missing +Type: ${n}`,EDGE_SOURCE_TARGET_SAME:(n,r,o)=>`Edge source and target are the same +Edge: ${n} +Source: ${r} +Target: ${o}`,EDGE_SOURCE_TARGET_MISSING:(n,r,o)=>`Edge source or target is missing +Edge: ${n} +Source: ${r} +Target: ${o}`,EDGE_ORPHANED:n=>`Edge was orphaned (suddenly missing source or target) and has been removed +Edge: ${n}`,EDGE_NOT_FOUND:n=>`Edge not found +Edge: ${n}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will be removed in the next major version. Please use the id parameter instead"};class th extends Error{constructor(r,...o){var l;super((l=PBt[r])==null?void 0:l.call(PBt,...o)),this.name="VueFlowError",this.code=r,this.args=o}}function xLe(n){return"clientX"in n}function VZt(n){return"sourceEvent"in n}function gk(n,r){var o,l;const h=xLe(n),b=h?n.clientX:(o=n.touches)==null?void 0:o[0].clientX,g=h?n.clientY:(l=n.touches)==null?void 0:l[0].clientY;return{x:b-((r==null?void 0:r.left)??0),y:g-((r==null?void 0:r.top)??0)}}const Wle=()=>{var n;return typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)==null?void 0:n.indexOf("Mac"))>=0};function r_r(n){var r,o;return{width:((r=n.dimensions)==null?void 0:r.width)??n.width??0,height:((o=n.dimensions)==null?void 0:o.height)??n.height??0}}function Nfe(n,r=[1,1]){return{x:r[0]*Math.round(n.x/r[0]),y:r[1]*Math.round(n.y/r[1])}}function GZt(){return{handleDomNode:null,isValid:!1,connection:{source:"",target:"",sourceHandle:null,targetHandle:null},endHandle:null}}function nPe(n){n==null||n.classList.remove("valid","connecting","vue-flow__handle-valid","vue-flow__handle-connecting")}function OBt(n,r,o,l){const h=[];for(const b of r[o]||[])if(`${n.id}-${b.id}-${o}`!==l){const{x:g,y:m}=Hle(n,b);h.push({id:b.id||null,type:o,nodeId:n.id,x:g,y:m})}return h}function i_r(n,r,o,l,h,b){const{x:g,y:m}=gk(n),_=r.elementsFromPoint(g,m).find(M=>M.classList.contains("vue-flow__handle"));if(_){const M=_.getAttribute("data-nodeid");if(M){const D=$Le(void 0,_),H=_.getAttribute("data-handleid"),G=b({nodeId:M,id:H,type:D});if(G){const Y=h.find(F=>F.nodeId===M&&F.type===D&&F.id===H);return{handle:{id:H,type:D,nodeId:M,x:(Y==null?void 0:Y.x)||o.x,y:(Y==null?void 0:Y.y)||o.y},validHandleResult:G}}}}let k=[],I=Number.POSITIVE_INFINITY;for(const M of h){const D=Math.sqrt((M.x-o.x)**2+(M.y-o.y)**2);if(D<=l){const H=b(M);D<=I&&(DM.isValid),A=k.some(({handle:M})=>M.type==="target");return k.find(({handle:M,validHandleResult:D})=>A?M.type==="target":C?D.isValid:!0)||k[0]}function NBt(n,r,o,l,h,b,g,m,S,_,k){const I=b==="target",C=m.querySelector(`.vue-flow__handle[data-id="${r==null?void 0:r.nodeId}-${r==null?void 0:r.id}-${r==null?void 0:r.type}"]`),{x:A,y:M}=gk(n),D=m.elementFromPoint(A,M),H=D!=null&&D.classList.contains("vue-flow__handle")?D:C,G=GZt();if(H){G.handleDomNode=H;const Y=$Le(void 0,H),F=H.getAttribute("data-nodeid"),Q=H.getAttribute("data-handleid"),ne=H.classList.contains("connectable"),be=H.classList.contains("connectableend"),De={source:I?F:l,sourceHandle:I?Q:h,target:I?l:F,targetHandle:I?h:Q};G.connection=De,ne&&be&&(o===gT.Strict?I&&Y==="source"||!I&&Y==="target":F!==l||Q!==h)&&(G.isValid=g(De,{edges:S,nodes:_,sourceNode:k(De.source),targetNode:k(De.target)}),G.endHandle={nodeId:F,handleId:Q,type:Y,position:G.isValid?H.getAttribute("data-handlepos"):null})}return G}function o_r({nodes:n,nodeId:r,handleId:o,handleType:l}){const h=[];for(let b=0;b{const m=g.getBoundingClientRect();return{id:g.getAttribute("data-handleid"),position:g.getAttribute("data-handlepos"),x:(m.left-o.left)/l,y:(m.top-o.top)/l,...Ofe(g)}})}function oNe(n,r,o,l,h,b=!1,g){h.value=!1,n.selected?(b||n.selected&&r)&&(l([n]),p2(()=>{g.blur()})):o([n])}function Sd(n){return typeof ii(n)<"u"}function l_r(n,r,o,l){if(!n||!n.source||!n.target)return o(new th(Ed.EDGE_INVALID,(n==null?void 0:n.id)??"[ID UNKNOWN]")),!1;let h;return D6(n)?h=n:h={...n,id:MZt(n)},h=OZt(h,void 0,l),z2r(h,r)?!1:h}function c_r(n,r,o,l,h,b){if(!r.source||!r.target)return b(new th(Ed.EDGE_INVALID,n.id)),!1;const g=l(n.id);if(!g)return b(new th(Ed.EDGE_NOT_FOUND,n.id)),!1;const{id:m,...S}=n,_={...S,id:h?MZt(r):m,source:r.source,target:r.target,sourceHandle:r.sourceHandle,targetHandle:r.targetHandle};return o.splice(o.indexOf(g),1,_),_}function DBt(n,r,o){const l={},h=[];for(let b=0;bm.id===b.parentNode);b.parentNode&&!g&&o(new th(Ed.NODE_MISSING_PARENT,b.id,b.parentNode)),(b.parentNode||l[b.id])&&(l[b.id]&&(b.isParent=!0),g&&(g.isParent=!0))}return h}function LBt(n,r){n.clear();for(const o of r){const{id:l,source:h,target:b,sourceHandle:g=null,targetHandle:m=null}=o,S=`${h}-source-${g}`,_=`${b}-target-${m}`,k=n.get(S)||new Map,I=n.get(_)||new Map,C=BI({edgeId:l,source:h,target:b,sourceHandle:g,targetHandle:m});n.set(S,k.set(`${b}-${m}`,C)),n.set(_,I.set(`${h}-${g}`,C))}}function jBt(n,r,o,l,h,b,g,m){const S=[];for(const _ of n){const k=D6(_)?_:l_r(_,m,h,b);if(!k)continue;const I=o(k.source),C=o(k.target);if(!I||!C){h(new th(Ed.EDGE_SOURCE_TARGET_MISSING,k.id,k.source,k.target));continue}if(!I){h(new th(Ed.EDGE_SOURCE_MISSING,k.id,k.source));continue}if(!C){h(new th(Ed.EDGE_TARGET_MISSING,k.id,k.target));continue}if(r&&!r(k,{edges:m,nodes:g,sourceNode:I,targetNode:C})){h(new th(Ed.EDGE_INVALID,k.id));continue}const A=l(k.id);S.push({...OZt(k,A,b),sourceNode:I,targetNode:C})}return S}const FBt=Symbol("vueFlow"),zZt=Symbol("nodeId"),qZt=Symbol("nodeRef"),u_r=Symbol("edgeId"),f_r=Symbol("edgeRef"),Dfe=Symbol("slots");function XZt(n){const{vueFlowRef:r,snapToGrid:o,snapGrid:l,noDragClassName:h,nodes:b,nodeExtent:g,nodeDragThreshold:m,viewport:S,autoPanOnNodeDrag:_,autoPanSpeed:k,nodesDraggable:I,panBy:C,findNode:A,multiSelectionActive:M,nodesSelectionActive:D,selectNodesOnDrag:H,removeSelectedElements:G,addSelectedNodes:Y,updateNodePositions:F,emits:Q}=Vc(),{onStart:ne,onDrag:be,onStop:De,onClick:Ee,el:Ae,disabled:qe,id:et,selectable:fe,dragHandle:L}=n,ve=fa(!1);let ye=[],me,je=null,Be={x:void 0,y:void 0},ze={x:0,y:0},Ze=null,Le=!1,Ut=0,se=!1;const Me=b_r(),ft=({x:$e,y:Te})=>{Be={x:$e,y:Te};let P=!1;if(ye=ye.map(T=>{const B={x:$e-T.distance.x,y:Te-T.distance.y},{computedPosition:K}=CLe(T,o.value?Nfe(B,l.value):B,Q.error,g.value,T.parentNode?A(T.parentNode):void 0);return P=P||T.position.x!==K.x||T.position.y!==K.y,T.position=K,T}),!!P&&(F(ye,!0,!0),ve.value=!0,Ze)){const[T,B]=tPe({id:et,dragItems:ye,findNode:A});be({event:Ze,node:T,nodes:B})}},st=()=>{if(!je)return;const[$e,Te]=WZt(ze,je,k.value);if($e!==0||Te!==0){const P={x:(Be.x??0)-$e/S.value.zoom,y:(Be.y??0)-Te/S.value.zoom};C({x:$e,y:Te})&&ft(P)}Ut=requestAnimationFrame(st)},at=($e,Te)=>{Le=!0;const P=A(et);!H.value&&!M.value&&P&&(P.selected||G()),P&&Qa(fe)&&H.value&&oNe(P,M.value,Y,G,D,!1,Te);const T=Me($e.sourceEvent);if(Be=T,ye=Y2r(b.value,I.value,T,A,et),ye.length){const[B,K]=tPe({id:et,dragItems:ye,findNode:A});ne({event:$e.sourceEvent,node:B,nodes:K})}},yt=($e,Te)=>{var P;$e.sourceEvent.type==="touchmove"&&$e.sourceEvent.touches.length>1||(m.value===0&&at($e,Te),Be=Me($e.sourceEvent),je=((P=r.value)==null?void 0:P.getBoundingClientRect())||null,ze=gk($e.sourceEvent,je))},Mt=($e,Te)=>{const P=Me($e.sourceEvent);if(!se&&Le&&_.value&&(se=!0,st()),!Le){const T=P.xSnapped-(Be.x??0),B=P.ySnapped-(Be.y??0);Math.sqrt(T*T+B*B)>m.value&&at($e,Te)}(Be.x!==P.xSnapped||Be.y!==P.ySnapped)&&ye.length&&Le&&(Ze=$e.sourceEvent,ze=gk($e.sourceEvent,je),ft(P))},rn=$e=>{if(!VZt($e)&&!Le&&!ve.value&&!M.value){const Te=$e,P=Me(Te),T=P.xSnapped-(Be.x??0),B=P.ySnapped-(Be.y??0),K=Math.sqrt(T*T+B*B);K!==0&&K<=m.value&&(Ee==null||Ee(Te));return}if(ve.value=!1,se=!1,Le=!1,Be={x:void 0,y:void 0},cancelAnimationFrame(Ut),ye.length){F(ye,!1,!1);const[Te,P]=tPe({id:et,dragItems:ye,findNode:A});De({event:$e.sourceEvent,node:Te,nodes:P})}};return ua([()=>Qa(qe),Ae],([$e,Te],P,T)=>{if(Te){const B=f2(Te);$e||(me=qyr().on("start",K=>yt(K,Te)).on("drag",K=>Mt(K,Te)).on("end",K=>rn(K)).filter(K=>{const z=K.target,Se=Qa(L);return!K.button&&(!h.value||!IBt(z,`.${h.value}`,Te)&&(!Se||IBt(z,Se,Te)))}),B.call(me)),T(()=>{B.on(".drag",null),me&&(me.on("start",null),me.on("drag",null),me.on("end",null))})}}),ve}function d_r(){return{doubleClick:ni(),click:ni(),mouseEnter:ni(),mouseMove:ni(),mouseLeave:ni(),contextMenu:ni(),updateStart:ni(),update:ni(),updateEnd:ni()}}function h_r(n,r){const o=d_r();return o.doubleClick.on(l=>{var h,b;r.edgeDoubleClick(l),(b=(h=n.events)==null?void 0:h.doubleClick)==null||b.call(h,l)}),o.click.on(l=>{var h,b;r.edgeClick(l),(b=(h=n.events)==null?void 0:h.click)==null||b.call(h,l)}),o.mouseEnter.on(l=>{var h,b;r.edgeMouseEnter(l),(b=(h=n.events)==null?void 0:h.mouseEnter)==null||b.call(h,l)}),o.mouseMove.on(l=>{var h,b;r.edgeMouseMove(l),(b=(h=n.events)==null?void 0:h.mouseMove)==null||b.call(h,l)}),o.mouseLeave.on(l=>{var h,b;r.edgeMouseLeave(l),(b=(h=n.events)==null?void 0:h.mouseLeave)==null||b.call(h,l)}),o.contextMenu.on(l=>{var h,b;r.edgeContextMenu(l),(b=(h=n.events)==null?void 0:h.contextMenu)==null||b.call(h,l)}),o.updateStart.on(l=>{var h,b;r.edgeUpdateStart(l),(b=(h=n.events)==null?void 0:h.updateStart)==null||b.call(h,l)}),o.update.on(l=>{var h,b;r.edgeUpdate(l),(b=(h=n.events)==null?void 0:h.update)==null||b.call(h,l)}),o.updateEnd.on(l=>{var h,b;r.edgeUpdateEnd(l),(b=(h=n.events)==null?void 0:h.updateEnd)==null||b.call(h,l)}),Object.entries(o).reduce((l,[h,b])=>(l.emit[h]=b.trigger,l.on[h]=b.on,l),{emit:{},on:{}})}function b_r(){const{viewport:n,snapGrid:r,snapToGrid:o}=Vc();return l=>{const h=VZt(l)?l.sourceEvent:l,{x:b,y:g}=gk(h),m=mG({x:b,y:g},n.value),{x:S,y:_}=o.value?Nfe(m,r.value):m;return{xSnapped:S,ySnapped:_,...m}}}function Vse(){return!0}function JZt({handleId:n,nodeId:r,type:o,isValidConnection:l,edgeUpdaterType:h,onEdgeUpdate:b,onEdgeUpdateEnd:g}){const{vueFlowRef:m,connectionMode:S,connectionRadius:_,connectOnClick:k,connectionClickStartHandle:I,nodesConnectable:C,autoPanOnConnect:A,autoPanSpeed:M,findNode:D,panBy:H,startConnection:G,updateConnection:Y,endConnection:F,emits:Q,viewport:ne,edges:be,nodes:De,isValidConnection:Ee}=Vc();let Ae=null,qe=!1,et=null,fe=null;function L(ye){var me;const je=Qa(o)==="target",Be=xLe(ye),ze=EBt(ye.target);if(Be&&ye.button===0||!Be){let Ze=function(K){Te=gk(K,rn);const{handle:z,validHandleResult:Se}=i_r(K,ze,mG(Te,ne.value,!1,[1,1]),_.value,T,_e=>NBt(K,_e,S.value,Qa(r),Qa(n),je?"target":"source",se,ze,be.value,De.value,D));if(Me=z,P||(B(),P=!0),Ae=Se.connection,qe=Se.isValid,et=Se.handleDomNode,!(qe&&Me&&(fe!=null&&fe.endHandle)&&Se.endHandle&&fe.endHandle.type===Se.endHandle.type&&fe.endHandle.nodeId===Se.endHandle.nodeId&&fe.endHandle.handleId===Se.endHandle.handleId)){if(Y(Me&&qe?DZt({x:Me.x,y:Me.y},ne.value):Te,Se.endHandle,s_r(!!Me,qe)),fe=Se,!Me&&!qe&&!et)return nPe($e);Ae&&Ae.source!==Ae.target&&et&&(nPe($e),$e=et,et.classList.add("connecting","vue-flow__handle-connecting"),et.classList.toggle("valid",qe),et.classList.toggle("vue-flow__handle-valid",qe))}},Le=function(K){(Me||et)&&Ae&&qe&&(b?b(K,Ae):Q.connect(Ae)),Q.connectEnd(K),h&&(g==null||g(K)),nPe($e),cancelAnimationFrame(ft),F(K),P=!1,qe=!1,Ae=null,et=null,ze.removeEventListener("mousemove",Ze),ze.removeEventListener("mouseup",Le),ze.removeEventListener("touchmove",Ze),ze.removeEventListener("touchend",Le)};const Ut=D(Qa(r));let se=Qa(l)||Ee.value||Vse;!se&&Ut&&(se=(je?Ut.isValidSourcePos:Ut.isValidTargetPos)||Vse);let Me,ft=0;const{x:st,y:at}=gk(ye),yt=ze==null?void 0:ze.elementFromPoint(st,at),Mt=$Le(Qa(h),yt),rn=(me=m.value)==null?void 0:me.getBoundingClientRect();if(!rn||!Mt)return;let $e,Te=gk(ye,rn),P=!1;const T=o_r({nodes:De.value,nodeId:Qa(r),handleId:Qa(n),handleType:Mt}),B=()=>{if(!A.value)return;const[K,z]=WZt(Te,rn,M.value);H({x:K,y:z}),ft=requestAnimationFrame(B)};G({nodeId:Qa(r),handleId:Qa(n),type:Mt,position:(yt==null?void 0:yt.getAttribute("data-handlepos"))||mi.Top},{x:st-rn.left,y:at-rn.top}),Q.connectStart({event:ye,nodeId:Qa(r),handleId:Qa(n),handleType:Mt}),ze.addEventListener("mousemove",Ze),ze.addEventListener("mouseup",Le),ze.addEventListener("touchmove",Ze),ze.addEventListener("touchend",Le)}}function ve(ye){if(!k.value)return;const me=Qa(o)==="target";if(!I.value)Q.clickConnectStart({event:ye,nodeId:Qa(r),handleId:Qa(n)}),G({nodeId:Qa(r),type:Qa(o),handleId:Qa(n)},void 0,!0);else{let je=Qa(l)||Ee.value||Vse;const Be=D(Qa(r));if(!je&&Be&&(je=(me?Be.isValidSourcePos:Be.isValidTargetPos)||Vse),Be&&(typeof Be.connectable>"u"?C.value:Be.connectable)===!1)return;const ze=EBt(ye.target),{connection:Ze,isValid:Le}=NBt(ye,{nodeId:Qa(r),id:Qa(n),type:Qa(o)},S.value,I.value.nodeId,I.value.handleId||null,I.value.type,je,ze,be.value,De.value,D),Ut=Ze.source===Ze.target;Le&&!Ut&&Q.connect(Ze),Q.clickConnectEnd(ye),F(ye,!0)}}return{handlePointerDown:L,handleClick:ve}}function p_r(){return RS(zZt,"")}function YZt(n){const r=n??p_r()??"",o=RS(qZt,fa(null)),{findNode:l,edges:h,emits:b}=Vc(),g=l(r);return g||b.error(new th(Ed.NODE_NOT_FOUND,r)),{id:r,nodeEl:o,node:g,parentNode:Fo(()=>l(g.parentNode)),connectedEdges:Fo(()=>BZt([g],h.value))}}function g_r(){return{doubleClick:ni(),click:ni(),mouseEnter:ni(),mouseMove:ni(),mouseLeave:ni(),contextMenu:ni(),dragStart:ni(),drag:ni(),dragStop:ni()}}function w_r(n,r){const o=g_r();return o.doubleClick.on(l=>{var h,b;r.nodeDoubleClick(l),(b=(h=n.events)==null?void 0:h.doubleClick)==null||b.call(h,l)}),o.click.on(l=>{var h,b;r.nodeClick(l),(b=(h=n.events)==null?void 0:h.click)==null||b.call(h,l)}),o.mouseEnter.on(l=>{var h,b;r.nodeMouseEnter(l),(b=(h=n.events)==null?void 0:h.mouseEnter)==null||b.call(h,l)}),o.mouseMove.on(l=>{var h,b;r.nodeMouseMove(l),(b=(h=n.events)==null?void 0:h.mouseMove)==null||b.call(h,l)}),o.mouseLeave.on(l=>{var h,b;r.nodeMouseLeave(l),(b=(h=n.events)==null?void 0:h.mouseLeave)==null||b.call(h,l)}),o.contextMenu.on(l=>{var h,b;r.nodeContextMenu(l),(b=(h=n.events)==null?void 0:h.contextMenu)==null||b.call(h,l)}),o.dragStart.on(l=>{var h,b;r.nodeDragStart(l),(b=(h=n.events)==null?void 0:h.dragStart)==null||b.call(h,l)}),o.drag.on(l=>{var h,b;r.nodeDrag(l),(b=(h=n.events)==null?void 0:h.drag)==null||b.call(h,l)}),o.dragStop.on(l=>{var h,b;r.nodeDragStop(l),(b=(h=n.events)==null?void 0:h.dragStop)==null||b.call(h,l)}),Object.entries(o).reduce((l,[h,b])=>(l.emit[h]=b.trigger,l.on[h]=b.on,l),{emit:{},on:{}})}function QZt(){const{getSelectedNodes:n,nodeExtent:r,updateNodePositions:o,findNode:l,snapGrid:h,snapToGrid:b,nodesDraggable:g,emits:m}=Vc();return(S,_=!1)=>{const k=b.value?h.value[0]:5,I=b.value?h.value[1]:5,C=_?4:1,A=S.x*k*C,M=S.y*I*C,D=[];for(const H of n.value)if(H.draggable||g&&typeof H.draggable>"u"){const G={x:H.computedPosition.x+A,y:H.computedPosition.y+M},{computedPosition:Y}=CLe(H,G,m.error,r.value,H.parentNode?l(H.parentNode):void 0);D.push({id:H.id,position:Y,from:H.position,distance:{x:S.x,y:S.y},dimensions:H.dimensions})}o(D,!0,!1)}}const rPe=.1;function t6(){return Mfe("Viewport not initialized yet."),Promise.resolve(!1)}const m_r={zoomIn:t6,zoomOut:t6,zoomTo:t6,fitView:t6,setCenter:t6,fitBounds:t6,project:n=>n,screenToFlowCoordinate:n=>n,flowToScreenCoordinate:n=>n,setViewport:t6,setTransform:t6,getViewport:()=>({x:0,y:0,zoom:1}),getTransform:()=>({x:0,y:0,zoom:1}),viewportInitialized:!1};function y_r(n){function r(l,h){return new Promise(b=>{n.d3Selection&&n.d3Zoom?n.d3Zoom.scaleBy(iPe(n.d3Selection,h,()=>{b(!0)}),l):b(!1)})}function o(l,h,b,g){return new Promise(m=>{const{x:S,y:_}=PZt({x:-l,y:-h},n.translateExtent),k=qN.translate(-S,-_).scale(b);n.d3Selection&&n.d3Zoom?n.d3Zoom.transform(iPe(n.d3Selection,g,()=>{m(!0)}),k):m(!1)})}return Fo(()=>n.d3Zoom&&n.d3Selection&&n.dimensions.width&&n.dimensions.height?{viewportInitialized:!0,zoomIn:h=>r(1.2,h==null?void 0:h.duration),zoomOut:h=>r(1/1.2,h==null?void 0:h.duration),zoomTo:(h,b)=>new Promise(g=>{n.d3Selection&&n.d3Zoom?n.d3Zoom.scaleTo(iPe(n.d3Selection,b==null?void 0:b.duration,()=>{g(!0)}),h):g(!1)}),setViewport:(h,b)=>o(h.x,h.y,h.zoom,b==null?void 0:b.duration),setTransform:(h,b)=>o(h.x,h.y,h.zoom,b==null?void 0:b.duration),getViewport:()=>({x:n.viewport.x,y:n.viewport.y,zoom:n.viewport.zoom}),getTransform:()=>({x:n.viewport.x,y:n.viewport.y,zoom:n.viewport.zoom}),fitView:(h={padding:rPe,includeHiddenNodes:!1,duration:0})=>{var b,g;const m=[];for(const C of n.nodes)C.dimensions.width&&C.dimensions.height&&((h==null?void 0:h.includeHiddenNodes)||!C.hidden)&&(!((b=h.nodes)!=null&&b.length)||(g=h.nodes)!=null&&g.length&&h.nodes.includes(C.id))&&m.push(C);if(!m.length)return Promise.resolve(!1);const S=jZt(m),{x:_,y:k,zoom:I}=kBt(S,n.dimensions.width,n.dimensions.height,h.minZoom??n.minZoom,h.maxZoom??n.maxZoom,h.padding??rPe,h.offset);return o(_,k,I,h==null?void 0:h.duration)},setCenter:(h,b,g)=>{const m=typeof(g==null?void 0:g.zoom)<"u"?g.zoom:n.maxZoom,S=n.dimensions.width/2-h*m,_=n.dimensions.height/2-b*m;return o(S,_,m,g==null?void 0:g.duration)},fitBounds:(h,b={padding:rPe})=>{const{x:g,y:m,zoom:S}=kBt(h,n.dimensions.width,n.dimensions.height,n.minZoom,n.maxZoom,b.padding);return o(g,m,S,b==null?void 0:b.duration)},project:h=>mG(h,n.viewport,n.snapToGrid,n.snapGrid),screenToFlowCoordinate:h=>{if(n.vueFlowRef){const{x:b,y:g}=n.vueFlowRef.getBoundingClientRect(),m={x:h.x-b,y:h.y-g};return mG(m,n.viewport,n.snapToGrid,n.snapGrid)}return{x:0,y:0}},flowToScreenCoordinate:h=>{if(n.vueFlowRef){const{x:b,y:g}=n.vueFlowRef.getBoundingClientRect(),m={x:h.x+b,y:h.y+g};return DZt(m,n.viewport)}return{x:0,y:0}}}:m_r)}function iPe(n,r=0,o){return n.transition().duration(r).on("end",o)}function v_r(n,r,o){const l=WHt(!0);return l.run(()=>{const h=()=>{l.run(()=>{let D,H,G=!!(o.nodes.value.length||o.edges.value.length);D=T9([n.modelValue,()=>{var Y,F;return(F=(Y=n.modelValue)==null?void 0:Y.value)==null?void 0:F.length}],([Y])=>{Y&&Array.isArray(Y)&&(H==null||H.pause(),o.setElements(Y),!H&&!G&&Y.length?G=!0:H==null||H.resume())}),H=T9([o.nodes,o.edges,()=>o.edges.value.length,()=>o.nodes.value.length],([Y,F])=>{var Q;(Q=n.modelValue)!=null&&Q.value&&Array.isArray(n.modelValue.value)&&(D==null||D.pause(),n.modelValue.value=[...Y,...F],p2(()=>{D==null||D.resume()}))},{immediate:G}),Yse(()=>{D==null||D.stop(),H==null||H.stop()})})},b=()=>{l.run(()=>{let D,H,G=!!o.nodes.value.length;D=T9([n.nodes,()=>{var Y,F;return(F=(Y=n.nodes)==null?void 0:Y.value)==null?void 0:F.length}],([Y])=>{Y&&Array.isArray(Y)&&(H==null||H.pause(),o.setNodes(Y),!H&&!G&&Y.length?G=!0:H==null||H.resume())}),H=T9([o.nodes,()=>o.nodes.value.length],([Y])=>{var F;(F=n.nodes)!=null&&F.value&&Array.isArray(n.nodes.value)&&(D==null||D.pause(),n.nodes.value=[...Y],p2(()=>{D==null||D.resume()}))},{immediate:G}),Yse(()=>{D==null||D.stop(),H==null||H.stop()})})},g=()=>{l.run(()=>{let D,H,G=!!o.edges.value.length;D=T9([n.edges,()=>{var Y,F;return(F=(Y=n.edges)==null?void 0:Y.value)==null?void 0:F.length}],([Y])=>{Y&&Array.isArray(Y)&&(H==null||H.pause(),o.setEdges(Y),!H&&!G&&Y.length?G=!0:H==null||H.resume())}),H=T9([o.edges,()=>o.edges.value.length],([Y])=>{var F;(F=n.edges)!=null&&F.value&&Array.isArray(n.edges.value)&&(D==null||D.pause(),n.edges.value=[...Y],p2(()=>{D==null||D.resume()}))},{immediate:G}),Yse(()=>{D==null||D.stop(),H==null||H.stop()})})},m=()=>{l.run(()=>{ua(()=>r.maxZoom,()=>{r.maxZoom&&Sd(r.maxZoom)&&o.setMaxZoom(r.maxZoom)},{immediate:!0})})},S=()=>{l.run(()=>{ua(()=>r.minZoom,()=>{r.minZoom&&Sd(r.minZoom)&&o.setMinZoom(r.minZoom)},{immediate:!0})})},_=()=>{l.run(()=>{ua(()=>r.translateExtent,()=>{r.translateExtent&&Sd(r.translateExtent)&&o.setTranslateExtent(r.translateExtent)},{immediate:!0})})},k=()=>{l.run(()=>{ua(()=>r.nodeExtent,()=>{r.nodeExtent&&Sd(r.nodeExtent)&&o.setNodeExtent(r.nodeExtent)},{immediate:!0})})},I=()=>{l.run(()=>{ua(()=>r.applyDefault,()=>{Sd(r.applyDefault)&&(o.applyDefault.value=r.applyDefault)},{immediate:!0})})},C=()=>{l.run(()=>{const D=async H=>{let G=H;typeof r.autoConnect=="function"&&(G=await r.autoConnect(H)),G!==!1&&o.addEdges([G])};ua(()=>r.autoConnect,()=>{Sd(r.autoConnect)&&(o.autoConnect.value=r.autoConnect)},{immediate:!0}),ua(o.autoConnect,(H,G,Y)=>{H?o.onConnect(D):o.hooks.value.connect.off(D),Y(()=>{o.hooks.value.connect.off(D)})},{immediate:!0})})},A=()=>{const D=["id","modelValue","translateExtent","nodeExtent","edges","nodes","maxZoom","minZoom","applyDefault","autoConnect"];for(const H of Object.keys(r)){const G=H;if(!D.includes(G)){const Y=Vu(()=>r[G]),F=o[G];Xf(F)&&l.run(()=>{ua(Y,Q=>{Sd(Q)&&(F.value=Q)},{immediate:!0})})}}};(()=>{h(),b(),g(),S(),m(),_(),k(),I(),C(),A()})()}),()=>l.stop()}function __r(){return{edgesChange:ni(),nodesChange:ni(),nodeDoubleClick:ni(),nodeClick:ni(),nodeMouseEnter:ni(),nodeMouseMove:ni(),nodeMouseLeave:ni(),nodeContextMenu:ni(),nodeDragStart:ni(),nodeDrag:ni(),nodeDragStop:ni(),nodesInitialized:ni(),miniMapNodeClick:ni(),miniMapNodeDoubleClick:ni(),miniMapNodeMouseEnter:ni(),miniMapNodeMouseMove:ni(),miniMapNodeMouseLeave:ni(),connect:ni(),connectStart:ni(),connectEnd:ni(),clickConnectStart:ni(),clickConnectEnd:ni(),paneReady:ni(),init:ni(),move:ni(),moveStart:ni(),moveEnd:ni(),selectionDragStart:ni(),selectionDrag:ni(),selectionDragStop:ni(),selectionContextMenu:ni(),selectionStart:ni(),selectionEnd:ni(),viewportChangeStart:ni(),viewportChange:ni(),viewportChangeEnd:ni(),paneScroll:ni(),paneClick:ni(),paneContextMenu:ni(),paneMouseEnter:ni(),paneMouseMove:ni(),paneMouseLeave:ni(),edgeContextMenu:ni(),edgeMouseEnter:ni(),edgeMouseMove:ni(),edgeMouseLeave:ni(),edgeDoubleClick:ni(),edgeClick:ni(),edgeUpdateStart:ni(),edgeUpdate:ni(),edgeUpdateEnd:ni(),updateNodeInternals:ni(),error:ni(n=>Mfe(n.message))}}function S_r(n,r){PNe(()=>{for(const[o,l]of Object.entries(r.value)){const h=b=>{n(o,b)};l.fns.add(h),xfe(()=>{l.off(h)})}})}function ZZt(){return{vueFlowRef:null,viewportRef:null,nodes:[],edges:[],connectionLookup:new Map,nodeTypes:{},edgeTypes:{},initialized:!1,dimensions:{width:0,height:0},viewport:{x:0,y:0,zoom:1},d3Zoom:null,d3Selection:null,d3ZoomHandler:null,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],selectionMode:ALe.Full,paneDragging:!1,preventScrolling:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,panOnScroll:!1,panOnScrollSpeed:.5,panOnScrollMode:JV.Free,paneClickDistance:0,panOnDrag:!0,edgeUpdaterRadius:10,onlyRenderVisibleElements:!1,defaultViewport:{x:0,y:0,zoom:1},nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,defaultMarkerColor:"#b1b1b7",connectionLineStyle:{},connectionLineType:null,connectionLineOptions:{type:OI.Bezier,style:{}},connectionMode:gT.Loose,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectionPosition:{x:Number.NaN,y:Number.NaN},connectionRadius:20,connectOnClick:!0,connectionStatus:null,isValidConnection:null,snapGrid:[15,15],snapToGrid:!1,edgesUpdatable:!1,edgesFocusable:!0,nodesFocusable:!0,nodesConnectable:!0,nodesDraggable:!0,nodeDragThreshold:1,elementsSelectable:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,selectionKeyCode:"Shift",multiSelectionKeyCode:Wle()?"Meta":"Control",zoomActivationKeyCode:Wle()?"Meta":"Control",deleteKeyCode:"Backspace",panActivationKeyCode:"Space",hooks:__r(),applyDefault:!0,autoConnect:!1,fitViewOnInit:!1,fitViewOnInitDone:!1,noDragClassName:"nodrag",noWheelClassName:"nowheel",noPanClassName:"nopan",defaultEdgeOptions:void 0,elevateEdgesOnSelect:!1,elevateNodesOnSelect:!0,autoPanOnNodeDrag:!0,autoPanOnConnect:!0,autoPanSpeed:15,disableKeyboardA11y:!1,ariaLiveMessage:""}}const E_r=["id","vueFlowRef","viewportRef","initialized","modelValue","nodes","edges","maxZoom","minZoom","translateExtent","hooks","defaultEdgeOptions"];function k_r(n,r,o){const l=y_r(n),h=T=>{const B=T??[];n.hooks.updateNodeInternals.trigger(B)},b=T=>K2r(T,n.nodes,n.edges),g=T=>G2r(T,n.nodes,n.edges),m=T=>BZt(T,n.edges),S=({id:T,type:B,nodeId:K})=>{var z;return Array.from(((z=n.connectionLookup.get(`${K}-${B}-${T??null}`))==null?void 0:z.values())??[])},_=T=>{if(T)return r.value.get(T)},k=T=>{if(T)return o.value.get(T)},I=(T,B,K)=>{var z,Se;const _e=[];for(const Pe of T){const mt={id:Pe.id,type:"position",dragging:K,from:Pe.from};if(B&&(mt.position=Pe.position,Pe.parentNode)){const de=_(Pe.parentNode);mt.position={x:mt.position.x-(((z=de==null?void 0:de.computedPosition)==null?void 0:z.x)??0),y:mt.position.y-(((Se=de==null?void 0:de.computedPosition)==null?void 0:Se.y)??0)}}_e.push(mt)}_e!=null&&_e.length&&n.hooks.nodesChange.trigger(_e)},C=T=>{if(!n.vueFlowRef)return;const B=n.vueFlowRef.querySelector(".vue-flow__transformationpane");if(!B)return;const K=window.getComputedStyle(B),{m22:z}=new window.DOMMatrixReadOnly(K.transform),Se=[];for(let _e=0;_e{n.fitViewOnInitDone=!0}),Se.length&&n.hooks.nodesChange.trigger(Se)},A=(T,B)=>{const K=new Set,z=new Set;for(const Pe of T)tT(Pe)?K.add(Pe.id):D6(Pe)&&z.add(Pe.id);const Se=v6(r.value,K,!0),_e=v6(o.value,z);if(n.multiSelectionActive){for(const Pe of K)Se.push(o6(Pe,B));for(const Pe of z)_e.push(o6(Pe,B))}Se.length&&n.hooks.nodesChange.trigger(Se),_e.length&&n.hooks.edgesChange.trigger(_e)},M=T=>{if(n.multiSelectionActive){const B=T.map(K=>o6(K.id,!0));n.hooks.nodesChange.trigger(B);return}n.hooks.nodesChange.trigger(v6(r.value,new Set(T.map(B=>B.id)),!0)),n.hooks.edgesChange.trigger(v6(o.value))},D=T=>{if(n.multiSelectionActive){const B=T.map(K=>o6(K.id,!0));n.hooks.edgesChange.trigger(B);return}n.hooks.edgesChange.trigger(v6(o.value,new Set(T.map(B=>B.id)))),n.hooks.nodesChange.trigger(v6(r.value,new Set,!0))},H=T=>{A(T,!0)},G=T=>{const K=(T||n.nodes).map(z=>(z.selected=!1,o6(z.id,!1)));n.hooks.nodesChange.trigger(K)},Y=T=>{const K=(T||n.edges).map(z=>(z.selected=!1,o6(z.id,!1)));n.hooks.edgesChange.trigger(K)},F=T=>{if(!T||!T.length)return A([],!1);const B=T.reduce((K,z)=>{const Se=o6(z.id,!1);return tT(z)?K.nodes.push(Se):K.edges.push(Se),K},{nodes:[],edges:[]});B.nodes.length&&n.hooks.nodesChange.trigger(B.nodes),B.edges.length&&n.hooks.edgesChange.trigger(B.edges)},Q=T=>{var B;(B=n.d3Zoom)==null||B.scaleExtent([T,n.maxZoom]),n.minZoom=T},ne=T=>{var B;(B=n.d3Zoom)==null||B.scaleExtent([n.minZoom,T]),n.maxZoom=T},be=T=>{var B;(B=n.d3Zoom)==null||B.translateExtent(T),n.translateExtent=T},De=T=>{n.nodeExtent=T,h()},Ee=T=>{var B;(B=n.d3Zoom)==null||B.clickDistance(T)},Ae=T=>{n.nodesDraggable=T,n.nodesConnectable=T,n.elementsSelectable=T},qe=T=>{const B=T instanceof Function?T(n.nodes):T;!n.initialized&&!B.length||(n.nodes=DBt(B,_,n.hooks.error.trigger))},et=T=>{const B=T instanceof Function?T(n.edges):T;if(!n.initialized&&!B.length)return;const K=jBt(B,n.isValidConnection,_,k,n.hooks.error.trigger,n.defaultEdgeOptions,n.nodes,n.edges);LBt(n.connectionLookup,K),n.edges=K},fe=T=>{const B=T instanceof Function?T([...n.nodes,...n.edges]):T;!n.initialized&&!B.length||(qe(B.filter(tT)),et(B.filter(D6)))},L=T=>{let B=T instanceof Function?T(n.nodes):T;B=Array.isArray(B)?B:[B];const K=DBt(B,_,n.hooks.error.trigger),z=[];for(const Se of K)z.push(CBt(Se));z.length&&n.hooks.nodesChange.trigger(z)},ve=T=>{let B=T instanceof Function?T(n.edges):T;B=Array.isArray(B)?B:[B];const K=jBt(B,n.isValidConnection,_,k,n.hooks.error.trigger,n.defaultEdgeOptions,n.nodes,n.edges),z=[];for(const Se of K)z.push(CBt(Se));z.length&&n.hooks.edgesChange.trigger(z)},ye=(T,B=!0,K=!1)=>{const z=T instanceof Function?T(n.nodes):T,Se=Array.isArray(z)?z:[z],_e=[],Pe=[];function mt(zt){const Jt=m(zt);for(const In of Jt)(!Sd(In.deletable)||In.deletable)&&Pe.push($Bt(In.id,In.source,In.target,In.sourceHandle,In.targetHandle))}function de(zt){const Jt=[];for(const In of n.nodes)In.parentNode===zt&&Jt.push(In);if(Jt.length){for(const In of Jt)_e.push(xBt(In.id));B&&mt(Jt);for(const In of Jt)de(In.id)}}for(const zt of Se){const Jt=typeof zt=="string"?_(zt):zt;Jt&&(Sd(Jt.deletable)&&!Jt.deletable||(_e.push(xBt(Jt.id)),B&&mt([Jt]),K&&de(Jt.id)))}Pe.length&&n.hooks.edgesChange.trigger(Pe),_e.length&&n.hooks.nodesChange.trigger(_e)},me=T=>{const B=T instanceof Function?T(n.edges):T,K=Array.isArray(B)?B:[B],z=[];for(const Se of K){const _e=typeof Se=="string"?k(Se):Se;_e&&(Sd(_e.deletable)&&!_e.deletable||z.push($Bt(typeof Se=="string"?Se:Se.id,_e.source,_e.target,_e.sourceHandle,_e.targetHandle)))}n.hooks.edgesChange.trigger(z)},je=(T,B,K=!0)=>c_r(T,B,n.edges,k,K,n.hooks.error.trigger),Be=(T,B,K={replace:!1})=>{const z=k(T);if(!z)return;const Se=typeof B=="function"?B(z):B;z.data=K.replace?Se:{...z.data,...Se}},ze=T=>ABt(T,n.nodes),Ze=T=>{const B=ABt(T,n.edges);return LBt(n.connectionLookup,B),B},Le=(T,B,K={replace:!1})=>{const z=_(T);if(!z)return;const Se=typeof B=="function"?B(z):B;K.replace?n.nodes.splice(n.nodes.indexOf(z),1,Se):Object.assign(z,Se)},Ut=(T,B,K={replace:!1})=>{const z=_(T);if(!z)return;const Se=typeof B=="function"?B(z):B;z.data=K.replace?Se:{...z.data,...Se}},se=(T,B,K=!1)=>{K?n.connectionClickStartHandle=T:n.connectionStartHandle=T,n.connectionEndHandle=null,n.connectionStatus=null,B&&(n.connectionPosition=B)},Me=(T,B=null,K=null)=>{n.connectionStartHandle&&(n.connectionPosition=T,n.connectionEndHandle=B,n.connectionStatus=K)},ft=(T,B)=>{n.connectionPosition={x:Number.NaN,y:Number.NaN},n.connectionEndHandle=null,n.connectionStatus=null,B?n.connectionClickStartHandle=null:n.connectionStartHandle=null},st=T=>{const B=U2r(T),K=B?null:EV(T)?T:_(T.id);return!B&&!K?[null,null,B]:[B?T:rNe(K),K,B]},at=(T,B=!0,K=n.nodes)=>{const[z,Se,_e]=st(T);if(!z)return[];const Pe=[];for(const mt of K||n.nodes){if(!_e&&(mt.id===Se.id||!mt.computedPosition))continue;const de=rNe(mt),zt=iNe(de,z);(B&&zt>0||zt>=Number(z.width)*Number(z.height))&&Pe.push(mt)}return Pe},yt=(T,B,K=!0)=>{const[z]=st(T);if(!z)return!1;const Se=iNe(z,B);return K&&Se>0||Se>=Number(z.width)*Number(z.height)},Mt=T=>{const{viewport:B,dimensions:K,d3Zoom:z,d3Selection:Se,translateExtent:_e}=n;if(!z||!Se||!T.x&&!T.y)return!1;const Pe=qN.translate(B.x+T.x,B.y+T.y).scale(B.zoom),mt=[[0,0],[K.width,K.height]],de=z.constrain()(Pe,mt,_e),zt=n.viewport.x!==de.x||n.viewport.y!==de.y||n.viewport.zoom!==de.k;return z.transform(Se,de),zt},rn=T=>{const B=T instanceof Function?T(n):T,K=["d3Zoom","d3Selection","d3ZoomHandler","viewportRef","vueFlowRef","dimensions","hooks"];Sd(B.defaultEdgeOptions)&&(n.defaultEdgeOptions=B.defaultEdgeOptions);const z=B.modelValue||B.nodes||B.edges?[]:void 0;z&&(B.modelValue&&z.push(...B.modelValue),B.nodes&&z.push(...B.nodes),B.edges&&z.push(...B.edges),fe(z));const Se=()=>{Sd(B.maxZoom)&&ne(B.maxZoom),Sd(B.minZoom)&&Q(B.minZoom),Sd(B.translateExtent)&&be(B.translateExtent)};for(const _e of Object.keys(B)){const Pe=_e,mt=B[Pe];![...E_r,...K].includes(Pe)&&Sd(mt)&&(n[Pe]=mt)}z9e(()=>n.d3Zoom).not.toBeNull().then(Se),n.initialized||(n.initialized=!0)};return{updateNodePositions:I,updateNodeDimensions:C,setElements:fe,setNodes:qe,setEdges:et,addNodes:L,addEdges:ve,removeNodes:ye,removeEdges:me,findNode:_,findEdge:k,updateEdge:je,updateEdgeData:Be,updateNode:Le,updateNodeData:Ut,applyEdgeChanges:Ze,applyNodeChanges:ze,addSelectedElements:H,addSelectedNodes:M,addSelectedEdges:D,setMinZoom:Q,setMaxZoom:ne,setTranslateExtent:be,setNodeExtent:De,setPaneClickDistance:Ee,removeSelectedElements:F,removeSelectedNodes:G,removeSelectedEdges:Y,startConnection:se,updateConnection:Me,endConnection:ft,setInteractive:Ae,setState:rn,getIntersectingNodes:at,getIncomers:b,getOutgoers:g,getConnectedEdges:m,getHandleConnections:S,isNodeIntersecting:yt,panBy:Mt,fitView:T=>l.value.fitView(T),zoomIn:T=>l.value.zoomIn(T),zoomOut:T=>l.value.zoomOut(T),zoomTo:(T,B)=>l.value.zoomTo(T,B),setViewport:(T,B)=>l.value.setViewport(T,B),setTransform:(T,B)=>l.value.setTransform(T,B),getViewport:()=>l.value.getViewport(),getTransform:()=>l.value.getTransform(),setCenter:(T,B,K)=>l.value.setCenter(T,B,K),fitBounds:(T,B)=>l.value.fitBounds(T,B),project:T=>l.value.project(T),screenToFlowCoordinate:T=>l.value.screenToFlowCoordinate(T),flowToScreenCoordinate:T=>l.value.flowToScreenCoordinate(T),toObject:()=>{const T=[],B=[];for(const K of n.nodes){const{computedPosition:z,handleBounds:Se,selected:_e,dimensions:Pe,isParent:mt,resizing:de,dragging:zt,events:Jt,...In}=K;T.push(In)}for(const K of n.edges){const{selected:z,sourceNode:Se,targetNode:_e,events:Pe,...mt}=K;B.push(mt)}return JSON.parse(JSON.stringify({nodes:T,edges:B,position:[n.viewport.x,n.viewport.y],zoom:n.viewport.zoom,viewport:n.viewport}))},fromObject:T=>new Promise(B=>{const{nodes:K,edges:z,position:Se,zoom:_e,viewport:Pe}=T;if(K&&qe(K),z&&et(z),Pe!=null&&Pe.x&&(Pe!=null&&Pe.y)||Se){const mt=(Pe==null?void 0:Pe.x)||Se[0],de=(Pe==null?void 0:Pe.y)||Se[1],zt=(Pe==null?void 0:Pe.zoom)||_e||n.viewport.zoom;return z9e(()=>l.value.viewportInitialized).toBe(!0).then(()=>{l.value.setViewport({x:mt,y:de,zoom:zt}).then(()=>{B(!0)})})}else B(!0)}),updateNodeInternals:h,viewportHelper:l,$reset:()=>{const T=ZZt();if(n.edges=[],n.nodes=[],n.d3Zoom&&n.d3Selection){const B=qN.translate(T.defaultViewport.x??0,T.defaultViewport.y??0).scale(wT(T.defaultViewport.zoom??1,T.minZoom,T.maxZoom)),K=n.viewportRef.getBoundingClientRect(),z=[[0,0],[K.width,K.height]],Se=n.d3Zoom.constrain()(B,z,T.translateExtent);n.d3Zoom.transform(n.d3Selection,Se)}rn(T)},$destroy:()=>{}}}const R_r=["data-id","data-handleid","data-nodeid","data-handlepos"],A_r={name:"Handle",compatConfig:{MODE:3}},XN=ic({...A_r,props:{id:{default:null},type:{},position:{default:()=>mi.Top},isValidConnection:{type:Function},connectable:{type:[Boolean,Number,String,Function],default:void 0},connectableStart:{type:Boolean,default:!0},connectableEnd:{type:Boolean,default:!0}},setup(n,{expose:r}){const o=kWt(n,["position","connectable","connectableStart","connectableEnd","id"]),l=Vu(()=>o.type??"source"),h=Vu(()=>o.isValidConnection??null),{connectionStartHandle:b,connectionClickStartHandle:g,connectionEndHandle:m,vueFlowRef:S,nodesConnectable:_,noDragClassName:k,noPanClassName:I}=Vc(),{id:C,node:A,nodeEl:M,connectedEdges:D}=YZt(),H=fa(),G=Vu(()=>typeof n.connectableStart<"u"?n.connectableStart:!0),Y=Vu(()=>typeof n.connectableEnd<"u"?n.connectableEnd:!0),F=Vu(()=>{var qe,et,fe,L,ve,ye;return((qe=b.value)==null?void 0:qe.nodeId)===C&&((et=b.value)==null?void 0:et.handleId)===n.id&&((fe=b.value)==null?void 0:fe.type)===l.value||((L=m.value)==null?void 0:L.nodeId)===C&&((ve=m.value)==null?void 0:ve.handleId)===n.id&&((ye=m.value)==null?void 0:ye.type)===l.value}),Q=Vu(()=>{var qe,et,fe;return((qe=g.value)==null?void 0:qe.nodeId)===C&&((et=g.value)==null?void 0:et.handleId)===n.id&&((fe=g.value)==null?void 0:fe.type)===l.value}),{handlePointerDown:ne,handleClick:be}=JZt({nodeId:C,handleId:n.id,isValidConnection:h,type:l}),De=Fo(()=>typeof n.connectable=="string"&&n.connectable==="single"?!D.value.some(qe=>{const et=qe[`${l.value}Handle`];return qe[l.value]!==C?!1:et?et===n.id:!0}):typeof n.connectable=="number"?D.value.filter(qe=>{const et=qe[`${l.value}Handle`];return qe[l.value]!==C?!1:et?et===n.id:!0}).length{var qe;if(!A.dimensions.width||!A.dimensions.height)return;const et=(qe=A.handleBounds[l.value])==null?void 0:qe.find(Be=>Be.id===n.id);if(!S.value||et)return;const fe=S.value.querySelector(".vue-flow__transformationpane");if(!M.value||!H.value||!fe||!n.id)return;const L=M.value.getBoundingClientRect(),ve=H.value.getBoundingClientRect(),ye=window.getComputedStyle(fe),{m22:me}=new window.DOMMatrixReadOnly(ye.transform),je={id:n.id,position:n.position,x:(ve.left-L.left)/me,y:(ve.top-L.top)/me,...Ofe(H.value)};A.handleBounds[l.value]=[...A.handleBounds[l.value]??[],je]}),tce(()=>{const qe=A.handleBounds[l.value];qe&&(A.handleBounds[l.value]=qe.filter(et=>et.id!==n.id))});function Ee(qe){const et=xLe(qe);De.value&&G.value&&(et&&qe.button===0||!et)&&ne(qe)}function Ae(qe){!C||!g.value&&!G.value||De.value&&be(qe)}return r({handleClick:be,handlePointerDown:ne,onClick:Ae,onPointerDown:Ee}),(qe,et)=>(Qe(),jt("div",{ref_key:"handle",ref:H,"data-id":`${ii(C)}-${n.id}-${l.value}`,"data-handleid":n.id,"data-nodeid":ii(C),"data-handlepos":qe.position,class:Oo(["vue-flow__handle",[`vue-flow__handle-${qe.position}`,`vue-flow__handle-${n.id}`,ii(k),ii(I),l.value,{connectable:De.value,connecting:Q.value,connectablestart:G.value,connectableend:Y.value,connectionindicator:De.value&&(G.value&&!F.value||Y.value&&F.value)}]]),onMousedown:Ee,onTouchstartPassive:Ee,onClick:Ae},[li(qe.$slots,"default",{id:qe.id})],42,R_r))}}),Lfe=function({sourcePosition:n=mi.Bottom,targetPosition:r=mi.Top,label:o,connectable:l=!0,isValidTargetPos:h,isValidSourcePos:b,data:g}){const m=g.label||o;return[Hl(XN,{type:"target",position:r,connectable:l,isValidConnection:h}),typeof m!="string"&&m?Hl(m):Hl(fi,[m]),Hl(XN,{type:"source",position:n,connectable:l,isValidConnection:b})]};Lfe.props=["sourcePosition","targetPosition","label","isValidTargetPos","isValidSourcePos","connectable","data"];Lfe.inheritAttrs=!1;Lfe.compatConfig={MODE:3};const C_r=Lfe,jfe=function({targetPosition:n=mi.Top,label:r,connectable:o=!0,isValidTargetPos:l,data:h}){const b=h.label||r;return[Hl(XN,{type:"target",position:n,connectable:o,isValidConnection:l}),typeof b!="string"&&b?Hl(b):Hl(fi,[b])]};jfe.props=["targetPosition","label","isValidTargetPos","connectable","data"];jfe.inheritAttrs=!1;jfe.compatConfig={MODE:3};const x_r=jfe,Ffe=function({sourcePosition:n=mi.Bottom,label:r,connectable:o=!0,isValidSourcePos:l,data:h}){const b=h.label||r;return[typeof b!="string"&&b?Hl(b):Hl(fi,[b]),Hl(XN,{type:"source",position:n,connectable:o,isValidConnection:l})]};Ffe.props=["sourcePosition","label","isValidSourcePos","connectable","data"];Ffe.inheritAttrs=!1;Ffe.compatConfig={MODE:3};const $_r=Ffe,I_r=["transform"],T_r=["width","height","x","y","rx","ry"],P_r=["y"],O_r={name:"EdgeText",compatConfig:{MODE:3}},N_r=ic({...O_r,props:{x:{},y:{},label:{},labelStyle:{default:()=>({})},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{default:()=>({})},labelBgPadding:{default:()=>[2,4]},labelBgBorderRadius:{default:2}},setup(n){const r=fa({x:0,y:0,width:0,height:0}),o=fa(null),l=Fo(()=>`translate(${n.x-r.value.width/2} ${n.y-r.value.height/2})`);dw(h),ua([()=>n.x,()=>n.y,o,()=>n.label],h);function h(){if(!o.value)return;const b=o.value.getBBox();(b.width!==r.value.width||b.height!==r.value.height)&&(r.value=b)}return(b,g)=>(Qe(),jt("g",{transform:l.value,class:"vue-flow__edge-textwrapper"},[b.labelShowBg?(Qe(),jt("rect",{key:0,class:"vue-flow__edge-textbg",width:`${r.value.width+2*b.labelBgPadding[0]}px`,height:`${r.value.height+2*b.labelBgPadding[1]}px`,x:-b.labelBgPadding[0],y:-b.labelBgPadding[1],style:_g(b.labelBgStyle),rx:b.labelBgBorderRadius,ry:b.labelBgBorderRadius},null,12,T_r)):kr("",!0),Mr("text",Ot(b.$attrs,{ref_key:"el",ref:o,class:"vue-flow__edge-text",y:r.value.height/2,dy:"0.3em",style:b.labelStyle}),[li(b.$slots,"default",{},()=>[typeof b.label!="string"?(Qe(),On(Bo(b.label),{key:0})):(Qe(),jt(fi,{key:1},[pk(ll(b.label),1)],64))])],16,P_r)],8,I_r))}}),M_r=["id","d","marker-end","marker-start"],D_r=["d","stroke-width"],L_r={name:"BaseEdge",inheritAttrs:!1,compatConfig:{MODE:3}},AK=ic({...L_r,props:{id:{},labelX:{},labelY:{},path:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{default:20},style:{},labelStyle:{},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{}},setup(n,{expose:r}){const o=kWt(n,["interactionWidth","labelShowBg"]),l=fa(null),h=fa(null),b=fa(null),g=uTn();return r({pathEl:l,interactionEl:h,labelEl:b}),(m,S)=>(Qe(),jt(fi,null,[Mr("path",{id:m.id,ref_key:"pathEl",ref:l,d:m.path,style:_g(o.style),class:Oo(["vue-flow__edge-path",ii(g).class]),"marker-end":m.markerEnd,"marker-start":m.markerStart},null,14,M_r),m.interactionWidth?(Qe(),jt("path",{key:0,ref_key:"interactionEl",ref:h,fill:"none",d:m.path,"stroke-width":m.interactionWidth,"stroke-opacity":0,class:"vue-flow__edge-interaction"},null,8,D_r)):kr("",!0),m.label&&m.labelX&&m.labelY?(Qe(),On(N_r,{key:1,ref_key:"labelEl",ref:b,x:m.labelX,y:m.labelY,label:m.label,"label-show-bg":m.labelShowBg,"label-bg-style":m.labelBgStyle,"label-bg-padding":m.labelBgPadding,"label-bg-border-radius":m.labelBgBorderRadius,"label-style":m.labelStyle},null,8,["x","y","label","label-show-bg","label-bg-style","label-bg-padding","label-bg-border-radius","label-style"])):kr("",!0)],64))}});function een({sourceX:n,sourceY:r,targetX:o,targetY:l}){const h=Math.abs(o-n)/2,b=o=0?.5*n:r*25*Math.sqrt(-n)}function BBt({pos:n,x1:r,y1:o,x2:l,y2:h,c:b}){let g,m;switch(n){case mi.Left:g=r-Gse(r-l,b),m=o;break;case mi.Right:g=r+Gse(l-r,b),m=o;break;case mi.Top:g=r,m=o-Gse(o-h,b);break;case mi.Bottom:g=r,m=o+Gse(h-o,b);break}return[g,m]}function ILe(n){const{sourceX:r,sourceY:o,sourcePosition:l=mi.Bottom,targetX:h,targetY:b,targetPosition:g=mi.Top,curvature:m=.25}=n,[S,_]=BBt({pos:l,x1:r,y1:o,x2:h,y2:b,c:m}),[k,I]=BBt({pos:g,x1:h,y1:b,x2:r,y2:o,c:m}),[C,A,M,D]=ten({sourceX:r,sourceY:o,targetX:h,targetY:b,sourceControlX:S,sourceControlY:_,targetControlX:k,targetControlY:I});return[`M${r},${o} C${S},${_} ${k},${I} ${h},${b}`,C,A,M,D]}function HBt({pos:n,x1:r,y1:o,x2:l,y2:h}){let b,g;switch(n){case mi.Left:case mi.Right:b=.5*(r+l),g=o;break;case mi.Top:case mi.Bottom:b=r,g=.5*(o+h);break}return[b,g]}function nen(n){const{sourceX:r,sourceY:o,sourcePosition:l=mi.Bottom,targetX:h,targetY:b,targetPosition:g=mi.Top}=n,[m,S]=HBt({pos:l,x1:r,y1:o,x2:h,y2:b}),[_,k]=HBt({pos:g,x1:h,y1:b,x2:r,y2:o}),[I,C,A,M]=ten({sourceX:r,sourceY:o,targetX:h,targetY:b,sourceControlX:m,sourceControlY:S,targetControlX:_,targetControlY:k});return[`M${r},${o} C${m},${S} ${_},${k} ${h},${b}`,I,C,A,M]}const WBt={[mi.Left]:{x:-1,y:0},[mi.Right]:{x:1,y:0},[mi.Top]:{x:0,y:-1},[mi.Bottom]:{x:0,y:1}};function j_r({source:n,sourcePosition:r=mi.Bottom,target:o}){return r===mi.Left||r===mi.Right?n.xn[I]?-1:1)*ve:G[I]=(_[I]>o[I]?-1:1)*ve}}if(r!==l){const L=I==="x"?"y":"x",ve=g[I]===m[L],ye=S[L]>_[L],me=S[L]<_[L];(g[I]===1&&(!ve&&ye||ve&&me)||g[I]!==1&&(!ve&&me||ve&&ye))&&(A=I==="x"?De:Ee)}const Ae={x:S.x+H.x,y:S.y+H.y},qe={x:_.x+G.x,y:_.y+G.y},et=Math.max(Math.abs(Ae.x-A[0].x),Math.abs(qe.x-A[0].x)),fe=Math.max(Math.abs(Ae.y-A[0].y),Math.abs(qe.y-A[0].y));et>=fe?(M=(Ae.x+qe.x)/2,D=A[0].y):(M=A[0].x,D=(Ae.y+qe.y)/2)}return[[n,{x:S.x+H.x,y:S.y+H.y},...A,{x:_.x+G.x,y:_.y+G.y},o],M,D,Q,ne]}function B_r(n,r,o,l){const h=Math.min(UBt(n,r)/2,UBt(r,o)/2,l),{x:b,y:g}=r;if(n.x===b&&b===o.x||n.y===g&&g===o.y)return`L${b} ${g}`;if(n.y===g){const _=n.x{let Q;return F>0&&F{const[o,l,h]=H_r(n);return Hl(AK,{path:o,labelX:l,labelY:h,...r,...n})}}}),U_r=W_r,V_r=ic({name:"SmoothStepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","borderRadius","markerEnd","markerStart","interactionWidth","offset"],compatConfig:{MODE:3},setup(n,{attrs:r}){return()=>{const[o,l,h]=sNe({...n,sourcePosition:n.sourcePosition??mi.Bottom,targetPosition:n.targetPosition??mi.Top});return Hl(AK,{path:o,labelX:l,labelY:h,...r,...n})}}}),ren=V_r,G_r=ic({name:"StepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],setup(n,{attrs:r}){return()=>Hl(ren,{...n,...r,borderRadius:0})}}),K_r=G_r,z_r=ic({name:"BezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","curvature","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(n,{attrs:r}){return()=>{const[o,l,h]=ILe({...n,sourcePosition:n.sourcePosition??mi.Bottom,targetPosition:n.targetPosition??mi.Top});return Hl(AK,{path:o,labelX:l,labelY:h,...r,...n})}}}),q_r=z_r,X_r=ic({name:"SimpleBezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(n,{attrs:r}){return()=>{const[o,l,h]=nen({...n,sourcePosition:n.sourcePosition??mi.Bottom,targetPosition:n.targetPosition??mi.Top});return Hl(AK,{path:o,labelX:l,labelY:h,...r,...n})}}}),J_r=X_r,Y_r={input:$_r,default:C_r,output:x_r},Q_r={default:q_r,straight:U_r,step:K_r,smoothstep:ren,simplebezier:J_r};function Z_r(n,r,o){const l=Fo(()=>D=>r.value.get(D)),h=Fo(()=>D=>o.value.get(D)),b=Fo(()=>{const D={...Q_r,...n.edgeTypes},H=Object.keys(D);for(const G of n.edges)G.type&&!H.includes(G.type)&&(D[G.type]=G.type);return D}),g=Fo(()=>{const D={...Y_r,...n.nodeTypes},H=Object.keys(D);for(const G of n.nodes)G.type&&!H.includes(G.type)&&(D[G.type]=G.type);return D}),m=Fo(()=>n.onlyRenderVisibleElements?FZt(n.nodes,{x:0,y:0,width:n.dimensions.width,height:n.dimensions.height},n.viewport,!0):n.nodes),S=Fo(()=>{if(n.onlyRenderVisibleElements){const D=[];for(const H of n.edges){const G=r.value.get(H.source),Y=r.value.get(H.target);t_r({sourcePos:G.computedPosition||{x:0,y:0},targetPos:Y.computedPosition||{x:0,y:0},sourceWidth:G.dimensions.width,sourceHeight:G.dimensions.height,targetWidth:Y.dimensions.width,targetHeight:Y.dimensions.height,width:n.dimensions.width,height:n.dimensions.height,viewport:n.viewport})&&D.push(H)}return D}return n.edges}),_=Fo(()=>[...m.value,...S.value]),k=Fo(()=>{const D=[];for(const H of n.nodes)H.selected&&D.push(H);return D}),I=Fo(()=>{const D=[];for(const H of n.edges)H.selected&&D.push(H);return D}),C=Fo(()=>[...k.value,...I.value]),A=Fo(()=>{const D=[];for(const H of n.nodes)H.dimensions.width&&H.dimensions.height&&H.handleBounds!==void 0&&D.push(H);return D}),M=Fo(()=>m.value.length>0&&A.value.length===m.value.length);return{getNode:l,getEdge:h,getElements:_,getEdgeTypes:b,getNodeTypes:g,getEdges:S,getNodes:m,getSelectedElements:C,getSelectedNodes:k,getSelectedEdges:I,getNodesInitialized:A,areNodesInitialized:M}}class NI{constructor(){this.currentId=0,this.flows=new Map}static getInstance(){var r;const o=(r=B6())==null?void 0:r.appContext.app,l=(o==null?void 0:o.config.globalProperties.$vueFlowStorage)??NI.instance;return NI.instance=l??new NI,o&&(o.config.globalProperties.$vueFlowStorage=NI.instance),NI.instance}set(r,o){return this.flows.set(r,o)}get(r){return this.flows.get(r)}remove(r){return this.flows.delete(r)}create(r,o){const l=ZZt(),h=VG(l),b={};for(const[C,A]of Object.entries(h.hooks)){const M=`on${C.charAt(0).toUpperCase()+C.slice(1)}`;b[M]=A.on}const g={};for(const[C,A]of Object.entries(h.hooks))g[C]=A.trigger;const m=Fo(()=>{const C=new Map;for(const A of h.nodes)C.set(A.id,A);return C}),S=Fo(()=>{const C=new Map;for(const A of h.edges)C.set(A.id,A);return C}),_=Z_r(h,m,S),k=k_r(h,m,S);k.setState({...h,...o});const I={...b,..._,...k,...rmr(h),nodeLookup:m,edgeLookup:S,emits:g,id:r,vueFlowVersion:"1.41.5",$destroy:()=>{this.remove(r)}};return this.set(r,I),I}getId(){return`vue-flow-${this.currentId++}`}}function Vc(n){const r=NI.getInstance(),o=kNe(),l=typeof n=="object",h=l?n:{id:n},b=h.id,g=b??(o==null?void 0:o.vueFlowId);let m;if(o){const S=RS(FBt,null);typeof S<"u"&&S!==null&&(!g||S.id===g)&&(m=S)}if(m||g&&(m=r.get(g)),!m||g&&m.id!==g){const S=b??r.getId(),_=r.create(S,h);m=_,(o??WHt(!0)).run(()=>{ua(_.applyDefault,(I,C,A)=>{const M=H=>{_.applyNodeChanges(H)},D=H=>{_.applyEdgeChanges(H)};I?(_.onNodesChange(M),_.onEdgesChange(D)):(_.hooks.value.nodesChange.off(M),_.hooks.value.edgesChange.off(D)),A(()=>{_.hooks.value.nodesChange.off(M),_.hooks.value.edgesChange.off(D)})},{immediate:!0}),xfe(()=>{if(m){const I=r.get(m.id);I?I.$destroy():Mfe(`No store instance found for id ${m.id} in storage.`)}})})}else l&&m.setState(h);if(o&&(rT(FBt,m),o.vueFlowId=m.id),l){const S=B6();(S==null?void 0:S.type.name)!=="VueFlow"&&m.emits.error(new th(Ed.USEVUEFLOW_OPTIONS))}return m}function eSr(n){const{emits:r,dimensions:o}=Vc();let l;dw(()=>{const h=n.value,b=()=>{if(!h)return;const g=Ofe(h);(g.width===0||g.height===0)&&r.error(new th(Ed.MISSING_VIEWPORT_DIMENSIONS)),o.value={width:g.width||500,height:g.height||500}};b(),window.addEventListener("resize",b),h&&(l=new ResizeObserver(()=>b()),l.observe(h)),ece(()=>{window.removeEventListener("resize",b),l&&h&&l.unobserve(h)})})}const tSr={name:"UserSelection",compatConfig:{MODE:3}},nSr=ic({...tSr,props:{userSelectionRect:{}},setup(n){return(r,o)=>(Qe(),jt("div",{class:"vue-flow__selection vue-flow__container",style:_g({width:`${r.userSelectionRect.width}px`,height:`${r.userSelectionRect.height}px`,transform:`translate(${r.userSelectionRect.x}px, ${r.userSelectionRect.y}px)`})},null,4))}}),rSr=["tabIndex"],iSr={name:"NodesSelection",compatConfig:{MODE:3}},oSr=ic({...iSr,setup(n){const{emits:r,viewport:o,getSelectedNodes:l,noPanClassName:h,disableKeyboardA11y:b,userSelectionActive:g}=Vc(),m=QZt(),S=fa(null),_=XZt({el:S,onStart(M){r.selectionDragStart(M)},onDrag(M){r.selectionDrag(M)},onStop(M){r.selectionDragStop(M)}});dw(()=>{var M;b.value||(M=S.value)==null||M.focus({preventScroll:!0})});const k=Fo(()=>jZt(l.value)),I=Fo(()=>({width:`${k.value.width}px`,height:`${k.value.height}px`,top:`${k.value.y}px`,left:`${k.value.x}px`}));function C(M){r.selectionContextMenu({event:M,nodes:l.value})}function A(M){b||$N[M.key]&&m({x:$N[M.key].x,y:$N[M.key].y},M.shiftKey)}return(M,D)=>!ii(g)&&k.value.width&&k.value.height?(Qe(),jt("div",{key:0,class:Oo(["vue-flow__nodesselection vue-flow__container",ii(h)]),style:_g({transform:`translate(${ii(o).x}px,${ii(o).y}px) scale(${ii(o).zoom})`})},[Mr("div",{ref_key:"el",ref:S,class:Oo([{dragging:ii(_)},"vue-flow__nodesselection-rect"]),style:_g(I.value),tabIndex:ii(b)?void 0:-1,onContextmenu:C,onKeydown:A},null,46,rSr)],6)):kr("",!0)}});function sSr(n,r){return{x:n.clientX-r.left,y:n.clientY-r.top}}const aSr={name:"Pane",compatConfig:{MODE:3}},lSr=ic({...aSr,props:{isSelecting:{type:Boolean},selectionKeyPressed:{type:Boolean}},setup(n){const{vueFlowRef:r,nodes:o,viewport:l,emits:h,userSelectionActive:b,removeSelectedElements:g,panOnDrag:m,userSelectionRect:S,elementsSelectable:_,nodesSelectionActive:k,getSelectedEdges:I,getSelectedNodes:C,removeNodes:A,removeEdges:M,selectionMode:D,deleteKeyCode:H,multiSelectionKeyCode:G,multiSelectionActive:Y,edgeLookup:F,nodeLookup:Q}=Vc(),ne=fa(null),be=fa(0),De=fa(0),Ee=fa(),Ae=fa(new Map),qe=Vu(()=>_.value&&(n.isSelecting||b.value));let et=!1,fe=!1;const L=YV(H,{actInsideInputWithModifier:!1}),ve=YV(G);ua(L,se=>{se&&(A(C.value),M(I.value),k.value=!1)}),ua(ve,se=>{Y.value=se});function ye(se,Me){return ft=>{ft.target===Me&&(se==null||se(ft))}}function me(){b.value=!1,S.value=null,be.value=0,De.value=0}function je(se){if(et){et=!1;return}h.paneClick(se),g(),k.value=!1}function Be(se){var Me;if(Array.isArray(m.value)&&((Me=m.value)!=null&&Me.includes(2))){se.preventDefault();return}h.paneContextMenu(se)}function ze(se){h.paneScroll(se)}function Ze(se){var Me,ft,st,at,yt;if(Ee.value=(Me=r.value)==null?void 0:Me.getBoundingClientRect(),!_.value||!n.isSelecting||se.button!==0||se.target!==ne.value||!Ee.value)return;(st=(ft=se.target)==null?void 0:ft.setPointerCapture)==null||st.call(ft,se.pointerId);const{x:Mt,y:rn}=sSr(se,Ee.value);fe=!0,et=!1,Ae.value=new Map;for(const[$e,Te]of F.value)Ae.value.set(Te.source,((at=Ae.value.get(Te.source))==null?void 0:at.add($e))||new Set([$e])),Ae.value.set(Te.target,((yt=Ae.value.get(Te.target))==null?void 0:yt.add($e))||new Set([$e]));g(),S.value={width:0,height:0,startX:Mt,startY:rn,x:Mt,y:rn},h.selectionStart(se)}function Le(se){if(!Ee.value||!S.value)return;et=!0;const{x:Me,y:ft}=gk(se,Ee.value),{startX:st=0,startY:at=0}=S.value,yt={startX:st,startY:at,x:Me0&&(k.value=!0),me(),h.selectionEnd(se),n.selectionKeyPressed&&(et=!1),fe=!1)}return(se,Me)=>(Qe(),jt("div",{ref_key:"container",ref:ne,class:Oo(["vue-flow__pane vue-flow__container",{selection:se.isSelecting}]),onClick:Me[0]||(Me[0]=ft=>qe.value?void 0:ye(je,ne.value)(ft)),onContextmenu:Me[1]||(Me[1]=ft=>ye(Be,ne.value)(ft)),onWheelPassive:Me[2]||(Me[2]=ft=>ye(ze,ne.value)(ft)),onPointerenter:Me[3]||(Me[3]=ft=>qe.value?void 0:ii(h).paneMouseEnter(ft)),onPointerdown:Me[4]||(Me[4]=ft=>qe.value?Ze(ft):ii(h).paneMouseMove(ft)),onPointermove:Me[5]||(Me[5]=ft=>qe.value?Le(ft):ii(h).paneMouseMove(ft)),onPointerup:Me[6]||(Me[6]=ft=>qe.value?Ut(ft):void 0),onPointerleave:Me[7]||(Me[7]=ft=>ii(h).paneMouseLeave(ft))},[li(se.$slots,"default"),ii(b)&&ii(S)?(Qe(),On(nSr,{key:0,"user-selection-rect":ii(S)},null,8,["user-selection-rect"])):kr("",!0),ii(k)&&ii(C).length?(Qe(),On(oSr,{key:1})):kr("",!0)],34))}}),cSr={name:"Transform",compatConfig:{MODE:3}},uSr=ic({...cSr,setup(n){const{viewport:r,fitViewOnInit:o,fitViewOnInitDone:l}=Vc(),h=Fo(()=>o.value?!l.value:!1),b=Fo(()=>`translate(${r.value.x}px,${r.value.y}px) scale(${r.value.zoom})`);return(g,m)=>(Qe(),jt("div",{class:"vue-flow__transformationpane vue-flow__container",style:_g({transform:b.value,opacity:h.value?0:void 0})},[li(g.$slots,"default")],4))}}),fSr={name:"Viewport",compatConfig:{MODE:3}},dSr=ic({...fSr,setup(n){const{minZoom:r,maxZoom:o,defaultViewport:l,translateExtent:h,zoomActivationKeyCode:b,selectionKeyCode:g,panActivationKeyCode:m,panOnScroll:S,panOnScrollMode:_,panOnScrollSpeed:k,panOnDrag:I,zoomOnDoubleClick:C,zoomOnPinch:A,zoomOnScroll:M,preventScrolling:D,noWheelClassName:H,noPanClassName:G,emits:Y,connectionStartHandle:F,userSelectionActive:Q,paneDragging:ne,d3Zoom:be,d3Selection:De,d3ZoomHandler:Ee,viewport:Ae,viewportRef:qe,paneClickDistance:et}=Vc();eSr(qe);const fe=fa(!1),L=fa(!1);let ve=null,ye=!1,me=0,je={x:0,y:0,zoom:0};const Be=YV(m),ze=YV(g),Ze=YV(b),Le=Vu(()=>(!ze.value||ze.value&&g.value===!0)&&(Be.value||I.value)),Ut=Vu(()=>Be.value||S.value),se=Vu(()=>ze.value||g.value===!0&&Le.value!==!0);dw(()=>{if(!qe.value){Mfe("Viewport element is missing");return}const Mt=qe.value,rn=Mt.getBoundingClientRect(),$e=j2r().clickDistance(et.value).scaleExtent([r.value,o.value]).translateExtent(h.value),Te=f2(Mt).call($e),P=Te.on("wheel.zoom"),T=qN.translate(l.value.x??0,l.value.y??0).scale(wT(l.value.zoom??1,r.value,o.value)),B=[[0,0],[rn.width,rn.height]],K=$e.constrain()(T,B,h.value);$e.transform(Te,K),$e.wheelDelta(ft),be.value=$e,De.value=Te,Ee.value=P,Ae.value={x:K.x,y:K.y,zoom:K.k},$e.on("start",z=>{var Se;if(!z.sourceEvent)return null;me=z.sourceEvent.button,fe.value=!0;const _e=at(z.transform);((Se=z.sourceEvent)==null?void 0:Se.type)==="mousedown"&&(ne.value=!0),je=_e,Y.viewportChangeStart(_e),Y.moveStart({event:z,flowTransform:_e})}),$e.on("end",z=>{if(!z.sourceEvent)return null;if(fe.value=!1,ne.value=!1,Me(Le.value,me??0)&&!ye&&Y.paneContextMenu(z.sourceEvent),ye=!1,st(je,z.transform)){const Se=at(z.transform);je=Se,Y.viewportChangeEnd(Se),Y.moveEnd({event:z,flowTransform:Se})}}),$e.filter(z=>{var Se,_e,Pe;const mt=Ze.value||M.value,de=A.value&&z.ctrlKey,zt=z.button;if((Le.value===!0||Array.isArray(Le.value)&&Le.value.includes(1))&&zt===1&&z.type==="mousedown"&&((Se=z.target)!=null&&Se.closest(".vue-flow__node")||(_e=z.target)!=null&&_e.closest(".vue-flow__edge")))return!0;if(!Le.value&&!mt&&!Ut.value&&!C.value&&!A.value||Q.value||!C.value&&z.type==="dblclick"||yt(z,H.value)&&z.type==="wheel"||yt(z,G.value)&&(z.type!=="wheel"||Ut.value&&z.type==="wheel"&&!Ze.value)||!A.value&&z.ctrlKey&&z.type==="wheel"||!mt&&!Ut.value&&!de&&z.type==="wheel")return!1;if(!A&&z.type==="touchstart"&&((Pe=z.touches)==null?void 0:Pe.length)>1)return z.preventDefault(),!1;if(!Le.value&&(z.type==="mousedown"||z.type==="touchstart")||g.value===!0&&Array.isArray(I.value)&&I.value.includes(0)&&zt===0||Array.isArray(Le.value)&&!Le.value.includes(zt)&&(z.type==="mousedown"||z.type==="touchstart"))return!1;const Jt=Array.isArray(Le.value)&&Le.value.includes(zt)||g.value===!0&&Array.isArray(Le.value)&&!Le.value.includes(0)||!zt||zt<=1;return(!z.ctrlKey||z.type==="wheel")&&Jt}),ua([Q,Le],()=>{Q.value&&!fe.value?$e.on("zoom",null):Q.value||$e.on("zoom",z=>{Ae.value={x:z.transform.x,y:z.transform.y,zoom:z.transform.k};const Se=at(z.transform);ye=Me(Le.value,me??0),Y.viewportChange(Se),Y.move({event:z,flowTransform:Se})})},{immediate:!0}),ua([Q,Ut,_,Ze,A,D,H],()=>{Ut.value&&!Ze.value&&!Q.value?Te.on("wheel.zoom",z=>{if(yt(z,H.value))return!1;const Se=Ze.value||M.value,_e=A.value&&z.ctrlKey;if(!(!D.value||Ut.value||Se||_e))return!1;z.preventDefault(),z.stopImmediatePropagation();const mt=Te.property("__zoom").k||1,de=Wle();if(z.ctrlKey&&A.value&&de){const Ce=yS(z),ae=ft(z),ce=mt*2**ae;$e.scaleTo(Te,ce,Ce,z);return}const zt=z.deltaMode===1?20:1;let Jt=_.value===JV.Vertical?0:z.deltaX*zt,In=_.value===JV.Horizontal?0:z.deltaY*zt;!de&&z.shiftKey&&_.value!==JV.Vertical&&!Jt&&In&&(Jt=In,In=0),$e.translateBy(Te,-(Jt/mt)*k.value,-(In/mt)*k.value);const vr=at(Te.property("__zoom"));ve&&clearTimeout(ve),L.value?(Y.move({event:z,flowTransform:vr}),Y.viewportChange(vr),ve=setTimeout(()=>{Y.moveEnd({event:z,flowTransform:vr}),Y.viewportChangeEnd(vr),L.value=!1},150)):(L.value=!0,Y.moveStart({event:z,flowTransform:vr}),Y.viewportChangeStart(vr))},{passive:!1}):typeof P<"u"&&Te.on("wheel.zoom",function(z,Se){const _e=!D.value&&z.type==="wheel"&&!z.ctrlKey,Pe=Ze.value||M.value,mt=A.value&&z.ctrlKey;if(!Pe&&!S.value&&!mt&&z.type==="wheel"||_e||yt(z,H.value))return null;z.preventDefault(),P.call(this,z,Se)},{passive:!1})},{immediate:!0})});function Me(Mt,rn){return rn===2&&Array.isArray(Mt)&&Mt.includes(2)}function ft(Mt){const rn=Mt.ctrlKey&&Wle()?10:1;return-Mt.deltaY*(Mt.deltaMode===1?.05:Mt.deltaMode?1:.002)*rn}function st(Mt,rn){return Mt.x!==rn.x&&!Number.isNaN(rn.x)||Mt.y!==rn.y&&!Number.isNaN(rn.y)||Mt.zoom!==rn.k&&!Number.isNaN(rn.k)}function at(Mt){return{x:Mt.x,y:Mt.y,zoom:Mt.k}}function yt(Mt,rn){return Mt.target.closest(`.${rn}`)}return(Mt,rn)=>(Qe(),jt("div",{ref_key:"viewportRef",ref:qe,class:"vue-flow__viewport vue-flow__container"},[eo(lSr,{"is-selecting":se.value,"selection-key-pressed":ii(ze),class:Oo({connecting:!!ii(F),dragging:ii(ne),draggable:ii(I)===!0||Array.isArray(ii(I))&&ii(I).includes(0)})},{default:Xi(()=>[eo(uSr,null,{default:Xi(()=>[li(Mt.$slots,"default")]),_:3})]),_:3},8,["is-selecting","selection-key-pressed","class"])],512))}}),hSr=["id"],bSr=["id"],pSr=["id"],gSr={name:"A11yDescriptions",compatConfig:{MODE:3}},wSr=ic({...gSr,setup(n){const{id:r,disableKeyboardA11y:o,ariaLiveMessage:l}=Vc();return(h,b)=>(Qe(),jt(fi,null,[Mr("div",{id:`${ii($Zt)}-${ii(r)}`,style:{display:"none"}}," Press enter or space to select a node. "+ll(ii(o)?"":"You can then use the arrow keys to move the node around.")+" You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ",9,hSr),Mr("div",{id:`${ii(IZt)}-${ii(r)}`,style:{display:"none"}}," Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ",8,bSr),ii(o)?kr("",!0):(Qe(),jt("div",{key:0,id:`${ii(W2r)}-${ii(r)}`,"aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(100%)"}},ll(ii(l)),9,pSr))],64))}});function mSr(){const n=Vc();ua(()=>n.viewportHelper.value.viewportInitialized,r=>{r&&setTimeout(()=>{n.emits.init(n),n.emits.paneReady(n)},1)})}function ySr(n,r,o){return o===mi.Left?n-r:o===mi.Right?n+r:n}function vSr(n,r,o){return o===mi.Top?n-r:o===mi.Bottom?n+r:n}const TLe=function({radius:n=10,centerX:r=0,centerY:o=0,position:l=mi.Top,type:h}){return Hl("circle",{class:`vue-flow__edgeupdater vue-flow__edgeupdater-${h}`,cx:ySr(r,n,l),cy:vSr(o,n,l),r:n,stroke:"transparent",fill:"transparent"})};TLe.props=["radius","centerX","centerY","position","type"];TLe.compatConfig={MODE:3};const VBt=TLe,_Sr=ic({name:"Edge",compatConfig:{MODE:3},props:["id"],setup(n){const{id:r,addSelectedEdges:o,connectionMode:l,edgeUpdaterRadius:h,emits:b,nodesSelectionActive:g,noPanClassName:m,getEdgeTypes:S,removeSelectedEdges:_,findEdge:k,findNode:I,isValidConnection:C,multiSelectionActive:A,disableKeyboardA11y:M,elementsSelectable:D,edgesUpdatable:H,edgesFocusable:G,hooks:Y}=Vc(),F=Fo(()=>k(n.id)),{emit:Q,on:ne}=h_r(F.value,b),be=RS(Dfe),De=B6(),Ee=fa(!1),Ae=fa(!1),qe=fa(""),et=fa(null),fe=fa("source"),L=fa(null),ve=Vu(()=>typeof F.value.selectable>"u"?D.value:F.value.selectable),ye=Vu(()=>typeof F.value.updatable>"u"?H.value:F.value.updatable),me=Vu(()=>typeof F.value.focusable>"u"?G.value:F.value.focusable);rT(u_r,n.id),rT(f_r,L);const je=Fo(()=>F.value.class instanceof Function?F.value.class(F.value):F.value.class),Be=Fo(()=>F.value.style instanceof Function?F.value.style(F.value):F.value.style),ze=Fo(()=>{const B=F.value.type||"default",K=be==null?void 0:be[`edge-${B}`];if(K)return K;let z=F.value.template??S.value[B];if(typeof z=="string"&&De){const Se=Object.keys(De.appContext.components);Se&&Se.includes(B)&&(z=Ii(B,!1))}return z&&typeof z!="string"?z:(b.error(new th(Ed.EDGE_TYPE_MISSING,z)),!1)}),{handlePointerDown:Ze}=JZt({nodeId:qe,handleId:et,type:fe,isValidConnection:C,edgeUpdaterType:fe,onEdgeUpdate:se,onEdgeUpdateEnd:Me});return()=>{const B=I(F.value.source),K=I(F.value.target),z="pathOptions"in F.value?F.value.pathOptions:{};if(!B&&!K)return b.error(new th(Ed.EDGE_SOURCE_TARGET_MISSING,F.value.id,F.value.source,F.value.target)),null;if(!B)return b.error(new th(Ed.EDGE_SOURCE_MISSING,F.value.id,F.value.source)),null;if(!K)return b.error(new th(Ed.EDGE_TARGET_MISSING,F.value.id,F.value.target)),null;if(!F.value||F.value.hidden||B.hidden||K.hidden)return null;let Se;l.value===gT.Strict?Se=B.handleBounds.source:Se=[...B.handleBounds.source||[],...B.handleBounds.target||[]];const _e=TBt(Se,F.value.sourceHandle);let Pe;l.value===gT.Strict?Pe=K.handleBounds.target:Pe=[...K.handleBounds.target||[],...K.handleBounds.source||[]];const mt=TBt(Pe,F.value.targetHandle),de=(_e==null?void 0:_e.position)||mi.Bottom,zt=(mt==null?void 0:mt.position)||mi.Top,{x:Jt,y:In}=Hle(B,_e,de),{x:vr,y:Ce}=Hle(K,mt,zt);return F.value.sourceX=Jt,F.value.sourceY=In,F.value.targetX=vr,F.value.targetY=Ce,Hl("g",{ref:L,key:n.id,"data-id":n.id,class:["vue-flow__edge",`vue-flow__edge-${ze.value===!1?"default":F.value.type||"default"}`,m.value,je.value,{updating:Ee.value,selected:F.value.selected,animated:F.value.animated,inactive:!ve.value&&!Y.value.edgeClick.hasListeners()}],onClick:st,onContextmenu:at,onDblclick:yt,onMouseenter:Mt,onMousemove:rn,onMouseleave:$e,onKeyDown:me.value?T:void 0,tabIndex:me.value?0:void 0,"aria-label":F.value.ariaLabel===null?void 0:F.value.ariaLabel||`Edge from ${F.value.source} to ${F.value.target}`,"aria-describedby":me.value?`${IZt}-${r}`:void 0,role:me.value?"button":"img"},[Ae.value?null:Hl(ze.value===!1?S.value.default:ze.value,{id:n.id,sourceNode:B,targetNode:K,source:F.value.source,target:F.value.target,type:F.value.type,updatable:ye.value,selected:F.value.selected,animated:F.value.animated,label:F.value.label,labelStyle:F.value.labelStyle,labelShowBg:F.value.labelShowBg,labelBgStyle:F.value.labelBgStyle,labelBgPadding:F.value.labelBgPadding,labelBgBorderRadius:F.value.labelBgBorderRadius,data:F.value.data,events:{...F.value.events,...ne},style:Be.value,markerStart:`url('#${yG(F.value.markerStart,r)}')`,markerEnd:`url('#${yG(F.value.markerEnd,r)}')`,sourcePosition:de,targetPosition:zt,sourceX:Jt,sourceY:In,targetX:vr,targetY:Ce,sourceHandleId:F.value.sourceHandle,targetHandleId:F.value.targetHandle,interactionWidth:F.value.interactionWidth,...z}),[ye.value==="source"||ye.value===!0?[Hl("g",{onMousedown:Te,onMouseenter:Le,onMouseout:Ut},Hl(VBt,{position:de,centerX:Jt,centerY:In,radius:h.value,type:"source","data-type":"source"}))]:null,ye.value==="target"||ye.value===!0?[Hl("g",{onMousedown:P,onMouseenter:Le,onMouseout:Ut},Hl(VBt,{position:zt,centerX:vr,centerY:Ce,radius:h.value,type:"target","data-type":"target"}))]:null]])};function Le(){Ee.value=!0}function Ut(){Ee.value=!1}function se(B,K){Q.update({event:B,edge:F.value,connection:K})}function Me(B){Q.updateEnd({event:B,edge:F.value}),Ae.value=!1}function ft(B,K){B.button===0&&(Ae.value=!0,qe.value=K?F.value.target:F.value.source,et.value=(K?F.value.targetHandle:F.value.sourceHandle)??"",fe.value=K?"target":"source",Q.updateStart({event:B,edge:F.value}),Ze(B))}function st(B){var K;const z={event:B,edge:F.value};ve.value&&(g.value=!1,F.value.selected&&A.value?(_([F.value]),(K=L.value)==null||K.blur()):o([F.value])),Q.click(z)}function at(B){Q.contextMenu({event:B,edge:F.value})}function yt(B){Q.doubleClick({event:B,edge:F.value})}function Mt(B){Q.mouseEnter({event:B,edge:F.value})}function rn(B){Q.mouseMove({event:B,edge:F.value})}function $e(B){Q.mouseLeave({event:B,edge:F.value})}function Te(B){ft(B,!0)}function P(B){ft(B,!1)}function T(B){var K;!M.value&&TZt.includes(B.key)&&ve.value&&(B.key==="Escape"?((K=L.value)==null||K.blur(),_([k(n.id)])):o([k(n.id)]))}}}),SSr=_Sr,ESr={[mi.Left]:mi.Right,[mi.Right]:mi.Left,[mi.Top]:mi.Bottom,[mi.Bottom]:mi.Top},kSr=ic({name:"ConnectionLine",compatConfig:{MODE:3},setup(){var n;const{id:r,connectionMode:o,connectionStartHandle:l,connectionEndHandle:h,connectionPosition:b,connectionLineType:g,connectionLineStyle:m,connectionLineOptions:S,connectionStatus:_,viewport:k,findNode:I}=Vc(),C=(n=RS(Dfe))==null?void 0:n["connection-line"],A=Fo(()=>{var Y;return I((Y=l.value)==null?void 0:Y.nodeId)}),M=Fo(()=>{var Y;return I((Y=h.value)==null?void 0:Y.nodeId)??null}),D=Fo(()=>({x:(b.value.x-k.value.x)/k.value.zoom,y:(b.value.y-k.value.y)/k.value.zoom})),H=Fo(()=>S.value.markerStart?`url(#${yG(S.value.markerStart,r)})`:""),G=Fo(()=>S.value.markerEnd?`url(#${yG(S.value.markerEnd,r)})`:"");return()=>{var Y,F,Q,ne;if(!A.value||!l.value)return null;const be=l.value.handleId,De=l.value.type,Ee=A.value.handleBounds;let Ae=(Ee==null?void 0:Ee[De])||[];if(o.value===gT.Loose){const ze=(Ee==null?void 0:Ee[De==="source"?"target":"source"])||[];Ae=[...Ae,...ze]}if(!Ae)return null;const qe=(be?Ae.find(ze=>ze.id===be):Ae[0])??null,et=(qe==null?void 0:qe.position)||mi.Top,{x:fe,y:L}=Hle(A.value,qe,et);let ve=null;M.value&&((Y=h.value)!=null&&Y.handleId)&&(o.value===gT.Strict?ve=((F=M.value.handleBounds[De==="source"?"target":"source"])==null?void 0:F.find(ze=>{var Ze;return ze.id===((Ze=h.value)==null?void 0:Ze.handleId)}))||null:ve=((Q=[...M.value.handleBounds.source||[],...M.value.handleBounds.target||[]])==null?void 0:Q.find(ze=>{var Ze;return ze.id===((Ze=h.value)==null?void 0:Ze.handleId)}))||null);const ye=((ne=h.value)==null?void 0:ne.position)??(et?ESr[et]:null);if(!et||!ye)return null;const me=g.value??S.value.type??OI.Bezier;let je="";const Be={sourceX:fe,sourceY:L,sourcePosition:et,targetX:D.value.x,targetY:D.value.y,targetPosition:ye};return me===OI.Bezier?[je]=ILe(Be):me===OI.Step?[je]=sNe({...Be,borderRadius:0}):me===OI.SmoothStep?[je]=sNe(Be):me===OI.SimpleBezier?[je]=nen(Be):je=`M${fe},${L} ${D.value.x},${D.value.y}`,Hl("svg",{class:"vue-flow__edges vue-flow__connectionline vue-flow__container"},Hl("g",{class:"vue-flow__connection"},C?Hl(C,{sourceX:fe,sourceY:L,sourcePosition:et,targetX:D.value.x,targetY:D.value.y,targetPosition:ye,sourceNode:A.value,sourceHandle:qe,targetNode:M.value,targetHandle:ve,markerEnd:G.value,markerStart:H.value,connectionStatus:_.value}):Hl("path",{d:je,class:[S.value.class,_,"vue-flow__connection-path"],style:{...m.value,...S.value.style},"marker-end":G.value,"marker-start":H.value})))}}}),RSr=kSr,ASr=["id","markerWidth","markerHeight","markerUnits","orient"],CSr={name:"MarkerType",compatConfig:{MODE:3}},xSr=ic({...CSr,props:{id:{},type:{},color:{default:"none"},width:{default:12.5},height:{default:12.5},markerUnits:{default:"strokeWidth"},orient:{default:"auto-start-reverse"},strokeWidth:{default:1}},setup(n){return(r,o)=>(Qe(),jt("marker",{id:r.id,class:"vue-flow__arrowhead",viewBox:"-10 -10 20 20",refX:"0",refY:"0",markerWidth:`${r.width}`,markerHeight:`${r.height}`,markerUnits:r.markerUnits,orient:r.orient},[r.type===ii(Ble).ArrowClosed?(Qe(),jt("polyline",{key:0,style:_g({stroke:r.color,fill:r.color,strokeWidth:r.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",points:"-5,-4 0,0 -5,4 -5,-4"},null,4)):kr("",!0),r.type===ii(Ble).Arrow?(Qe(),jt("polyline",{key:1,style:_g({stroke:r.color,strokeWidth:r.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",points:"-5,-4 0,0 -5,4"},null,4)):kr("",!0)],8,ASr))}}),$Sr={class:"vue-flow__marker vue-flow__container"},ISr={name:"MarkerDefinitions",compatConfig:{MODE:3}},TSr=ic({...ISr,setup(n){const{id:r,edges:o,connectionLineOptions:l,defaultMarkerColor:h}=Vc(),b=Fo(()=>{const g=new Set,m=[],S=_=>{if(_){const k=yG(_,r);g.has(k)||(typeof _=="object"?m.push({..._,id:k,color:_.color||h.value}):m.push({id:k,color:h.value,type:_}),g.add(k))}};for(const _ of[l.value.markerEnd,l.value.markerStart])S(_);for(const _ of o.value)for(const k of[_.markerStart,_.markerEnd])S(k);return m.sort((_,k)=>_.id.localeCompare(k.id))});return(g,m)=>(Qe(),jt("svg",$Sr,[Mr("defs",null,[(Qe(!0),jt(fi,null,Wc(b.value,S=>(Qe(),On(xSr,{id:S.id,key:S.id,type:S.type,color:S.color,width:S.width,height:S.height,markerUnits:S.markerUnits,"stroke-width":S.strokeWidth,orient:S.orient},null,8,["id","type","color","width","height","markerUnits","stroke-width","orient"]))),128))])]))}}),PSr={name:"Edges",compatConfig:{MODE:3}},OSr=ic({...PSr,setup(n){const{findNode:r,getEdges:o,elevateEdgesOnSelect:l}=Vc();return(h,b)=>(Qe(),jt(fi,null,[eo(TSr),(Qe(!0),jt(fi,null,Wc(ii(o),g=>(Qe(),jt("svg",{key:g.id,class:"vue-flow__edges vue-flow__container",style:_g({zIndex:ii(n_r)(g,ii(r),ii(l))})},[eo(ii(SSr),{id:g.id},null,8,["id"])],4))),128)),eo(ii(RSr))],64))}}),NSr=ic({name:"Node",compatConfig:{MODE:3},props:["id","resizeObserver"],setup(n){const{id:r,noPanClassName:o,selectNodesOnDrag:l,nodesSelectionActive:h,multiSelectionActive:b,emits:g,removeSelectedNodes:m,addSelectedNodes:S,updateNodeDimensions:_,onUpdateNodeInternals:k,getNodeTypes:I,nodeExtent:C,elevateNodesOnSelect:A,disableKeyboardA11y:M,ariaLiveMessage:D,snapToGrid:H,snapGrid:G,nodeDragThreshold:Y,nodesDraggable:F,elementsSelectable:Q,nodesConnectable:ne,nodesFocusable:be,hooks:De}=Vc(),Ee=fa(null);rT(qZt,Ee),rT(zZt,n.id);const Ae=RS(Dfe),qe=B6(),et=QZt(),{node:fe,parentNode:L}=YZt(n.id),{emit:ve,on:ye}=w_r(fe,g),me=Vu(()=>typeof fe.draggable>"u"?F.value:fe.draggable),je=Vu(()=>typeof fe.selectable>"u"?Q.value:fe.selectable),Be=Vu(()=>typeof fe.connectable>"u"?ne.value:fe.connectable),ze=Vu(()=>typeof fe.focusable>"u"?be.value:fe.focusable),Ze=Vu(()=>je.value||me.value||De.value.nodeClick.hasListeners()||De.value.nodeDoubleClick.hasListeners()||De.value.nodeMouseEnter.hasListeners()||De.value.nodeMouseMove.hasListeners()||De.value.nodeMouseLeave.hasListeners()),Le=Vu(()=>!!fe.dimensions.width&&!!fe.dimensions.height),Ut=Fo(()=>{const K=fe.type||"default",z=Ae==null?void 0:Ae[`node-${K}`];if(z)return z;let Se=fe.template||I.value[K];if(typeof Se=="string"&&qe){const _e=Object.keys(qe.appContext.components);_e&&_e.includes(K)&&(Se=Ii(K,!1))}return Se&&typeof Se!="string"?Se:(g.error(new th(Ed.NODE_TYPE_MISSING,Se)),!1)}),se=XZt({id:n.id,el:Ee,disabled:()=>!me.value,selectable:je,dragHandle:()=>fe.dragHandle,onStart(K){ve.dragStart(K)},onDrag(K){ve.drag(K)},onStop(K){ve.dragStop(K)},onClick(K){T(K)}}),Me=Fo(()=>fe.class instanceof Function?fe.class(fe):fe.class),ft=Fo(()=>{const K=(fe.style instanceof Function?fe.style(fe):fe.style)||{},z=fe.width instanceof Function?fe.width(fe):fe.width,Se=fe.height instanceof Function?fe.height(fe):fe.height;return!K.width&&z&&(K.width=typeof z=="string"?z:`${z}px`),!K.height&&Se&&(K.height=typeof Se=="string"?Se:`${Se}px`),K}),st=Vu(()=>Number(fe.zIndex??ft.value.zIndex??0));return k(K=>{(K.includes(n.id)||!K.length)&&yt()}),dw(()=>{ua(()=>fe.hidden,(K=!1,z,Se)=>{!K&&Ee.value&&(n.resizeObserver.observe(Ee.value),Se(()=>{Ee.value&&n.resizeObserver.unobserve(Ee.value)}))},{immediate:!0,flush:"post"})}),ua([()=>fe.type,()=>fe.sourcePosition,()=>fe.targetPosition],()=>{p2(()=>{_([{id:n.id,nodeElement:Ee.value,forceUpdate:!0}])})}),ua([()=>fe.position.x,()=>fe.position.y,()=>{var K;return(K=L.value)==null?void 0:K.computedPosition.x},()=>{var K;return(K=L.value)==null?void 0:K.computedPosition.y},()=>{var K;return(K=L.value)==null?void 0:K.computedPosition.z},st,()=>fe.selected,()=>fe.dimensions.height,()=>fe.dimensions.width,()=>{var K;return(K=L.value)==null?void 0:K.dimensions.height},()=>{var K;return(K=L.value)==null?void 0:K.dimensions.width}],([K,z,Se,_e,Pe,mt])=>{const de={x:K,y:z,z:mt+(A.value&&fe.selected?1e3:0)};typeof Se<"u"&&typeof _e<"u"?fe.computedPosition=J2r({x:Se,y:_e,z:Pe},de):fe.computedPosition=de},{flush:"post",immediate:!0}),ua([()=>fe.extent,C],([K,z],[Se,_e])=>{(K!==Se||z!==_e)&&at()}),fe.extent==="parent"||typeof fe.extent=="object"&&"range"in fe.extent&&fe.extent.range==="parent"?z9e(()=>Le).toBe(!0).then(at):at(),()=>fe.hidden?null:Hl("div",{ref:Ee,"data-id":fe.id,class:["vue-flow__node",`vue-flow__node-${Ut.value===!1?"default":fe.type||"default"}`,{[o.value]:me.value,dragging:se==null?void 0:se.value,draggable:me.value,selected:fe.selected,selectable:je.value,parent:fe.isParent},Me.value],style:{visibility:Le.value?"visible":"hidden",zIndex:fe.computedPosition.z??st.value,transform:`translate(${fe.computedPosition.x}px,${fe.computedPosition.y}px)`,pointerEvents:Ze.value?"all":"none",...ft.value},tabIndex:ze.value?0:void 0,role:ze.value?"button":void 0,"aria-describedby":M.value?void 0:`${$Zt}-${r}`,"aria-label":fe.ariaLabel,onMouseenter:Mt,onMousemove:rn,onMouseleave:$e,onContextmenu:Te,onClick:T,onDblclick:P,onKeydown:B},[Hl(Ut.value===!1?I.value.default:Ut.value,{id:fe.id,type:fe.type,data:fe.data,events:{...fe.events,...ye},selected:fe.selected,resizing:fe.resizing,dragging:se.value,connectable:Be.value,position:fe.computedPosition,dimensions:fe.dimensions,isValidTargetPos:fe.isValidTargetPos,isValidSourcePos:fe.isValidSourcePos,parent:fe.parentNode,parentNodeId:fe.parentNode,zIndex:fe.computedPosition.z??st.value,targetPosition:fe.targetPosition,sourcePosition:fe.sourcePosition,label:fe.label,dragHandle:fe.dragHandle,onUpdateNodeInternals:yt})]);function at(){const K=fe.computedPosition,{computedPosition:z,position:Se}=CLe(fe,H.value?Nfe(K,G.value):K,g.error,C.value,L.value);(fe.computedPosition.x!==z.x||fe.computedPosition.y!==z.y)&&(fe.computedPosition={...fe.computedPosition,...z}),(fe.position.x!==Se.x||fe.position.y!==Se.y)&&(fe.position=Se)}function yt(){Ee.value&&_([{id:n.id,nodeElement:Ee.value,forceUpdate:!0}])}function Mt(K){se!=null&&se.value||ve.mouseEnter({event:K,node:fe})}function rn(K){se!=null&&se.value||ve.mouseMove({event:K,node:fe})}function $e(K){se!=null&&se.value||ve.mouseLeave({event:K,node:fe})}function Te(K){return ve.contextMenu({event:K,node:fe})}function P(K){return ve.doubleClick({event:K,node:fe})}function T(K){je.value&&(!l.value||!me.value||Y.value>0)&&oNe(fe,b.value,S,m,h,!1,Ee.value),ve.click({event:K,node:fe})}function B(K){if(!(nNe(K)||M.value))if(TZt.includes(K.key)&&je.value){const z=K.key==="Escape";oNe(fe,b.value,S,m,h,z,Ee.value)}else me.value&&fe.selected&&$N[K.key]&&(D.value=`Moved selected node ${K.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~fe.position.x}, y: ${~~fe.position.y}`,et({x:$N[K.key].x,y:$N[K.key].y},K.shiftKey))}}}),MSr=NSr;function DSr(n={includeHiddenNodes:!1}){const{nodes:r}=Vc();return Fo(()=>{if(r.value.length===0)return!1;for(const o of r.value)if((n.includeHiddenNodes||!o.hidden)&&((o==null?void 0:o.handleBounds)===void 0||o.dimensions.width===0||o.dimensions.height===0))return!1;return!0})}const LSr={class:"vue-flow__nodes vue-flow__container"},jSr={name:"Nodes",compatConfig:{MODE:3}},FSr=ic({...jSr,setup(n){const{getNodes:r,updateNodeDimensions:o,emits:l}=Vc(),h=DSr(),b=fa();return ua(h,g=>{g&&p2(()=>{l.nodesInitialized(r.value)})},{immediate:!0}),dw(()=>{b.value=new ResizeObserver(g=>{const m=g.map(S=>({id:S.target.getAttribute("data-id"),nodeElement:S.target,forceUpdate:!0}));p2(()=>o(m))})}),ece(()=>{var g;return(g=b.value)==null?void 0:g.disconnect()}),(g,m)=>(Qe(),jt("div",LSr,[b.value?(Qe(!0),jt(fi,{key:0},Wc(ii(r),(S,_,k,I)=>{const C=[S.id];if(I&&I.key===S.id&&qTn(I,C))return I;const A=(Qe(),On(ii(MSr),{id:S.id,key:S.id,"resize-observer":b.value},null,8,["id","resize-observer"]));return A.memo=C,A},m,0),128)):kr("",!0)]))}});function BSr(){const{emits:n}=Vc();dw(()=>{if(KZt()){const r=document.querySelector(".vue-flow__pane");r&&window.getComputedStyle(r).zIndex!=="1"&&n.error(new th(Ed.MISSING_STYLES))}})}const HSr=Mr("div",{class:"vue-flow__edge-labels"},null,-1),WSr={name:"VueFlow",compatConfig:{MODE:3}},USr=ic({...WSr,props:{id:{},modelValue:{},nodes:{},edges:{},edgeTypes:{},nodeTypes:{},connectionMode:{},connectionLineType:{},connectionLineStyle:{default:void 0},connectionLineOptions:{default:void 0},connectionRadius:{},isValidConnection:{type:[Function,null],default:void 0},deleteKeyCode:{default:void 0},selectionKeyCode:{type:[Boolean,null],default:void 0},multiSelectionKeyCode:{default:void 0},zoomActivationKeyCode:{default:void 0},panActivationKeyCode:{default:void 0},snapToGrid:{type:Boolean,default:void 0},snapGrid:{},onlyRenderVisibleElements:{type:Boolean,default:void 0},edgesUpdatable:{type:[Boolean,String],default:void 0},nodesDraggable:{type:Boolean,default:void 0},nodesConnectable:{type:Boolean,default:void 0},nodeDragThreshold:{},elementsSelectable:{type:Boolean,default:void 0},selectNodesOnDrag:{type:Boolean,default:void 0},panOnDrag:{type:[Boolean,Array],default:void 0},minZoom:{},maxZoom:{},defaultViewport:{},translateExtent:{},nodeExtent:{},defaultMarkerColor:{},zoomOnScroll:{type:Boolean,default:void 0},zoomOnPinch:{type:Boolean,default:void 0},panOnScroll:{type:Boolean,default:void 0},panOnScrollSpeed:{},panOnScrollMode:{},paneClickDistance:{},zoomOnDoubleClick:{type:Boolean,default:void 0},preventScrolling:{type:Boolean,default:void 0},selectionMode:{},edgeUpdaterRadius:{},fitViewOnInit:{type:Boolean,default:void 0},connectOnClick:{type:Boolean,default:void 0},applyDefault:{type:Boolean,default:void 0},autoConnect:{type:[Boolean,Function],default:void 0},noDragClassName:{},noWheelClassName:{},noPanClassName:{},defaultEdgeOptions:{},elevateEdgesOnSelect:{type:Boolean,default:void 0},elevateNodesOnSelect:{type:Boolean,default:void 0},disableKeyboardA11y:{type:Boolean,default:void 0},edgesFocusable:{type:Boolean,default:void 0},nodesFocusable:{type:Boolean,default:void 0},autoPanOnConnect:{type:Boolean,default:void 0},autoPanOnNodeDrag:{type:Boolean,default:void 0},autoPanSpeed:{}},emits:["nodesChange","edgesChange","nodesInitialized","paneReady","init","updateNodeInternals","error","connect","connectStart","connectEnd","clickConnectStart","clickConnectEnd","moveStart","move","moveEnd","selectionDragStart","selectionDrag","selectionDragStop","selectionContextMenu","selectionStart","selectionEnd","viewportChangeStart","viewportChange","viewportChangeEnd","paneScroll","paneClick","paneContextMenu","paneMouseEnter","paneMouseMove","paneMouseLeave","edgeUpdate","edgeContextMenu","edgeMouseEnter","edgeMouseMove","edgeMouseLeave","edgeDoubleClick","edgeClick","edgeUpdateStart","edgeUpdateEnd","nodeContextMenu","nodeMouseEnter","nodeMouseMove","nodeMouseLeave","nodeDoubleClick","nodeClick","nodeDragStart","nodeDrag","nodeDragStop","miniMapNodeClick","miniMapNodeDoubleClick","miniMapNodeMouseEnter","miniMapNodeMouseMove","miniMapNodeMouseLeave","update:modelValue","update:nodes","update:edges"],setup(n,{expose:r,emit:o}){const l=n,h=cTn(),b=X7e(l,"modelValue",o),g=X7e(l,"nodes",o),m=X7e(l,"edges",o),S=Vc(l),_=v_r({modelValue:b,nodes:g,edges:m},l,S);return S_r(o,S.hooks),mSr(),BSr(),rT(Dfe,h),tce(()=>{_()}),r(S),(k,I)=>(Qe(),jt("div",{ref:ii(S).vueFlowRef,class:"vue-flow"},[eo(dSr,null,{default:Xi(()=>[eo(OSr),HSr,eo(FSr),li(k.$slots,"zoom-pane")]),_:3}),li(k.$slots,"default"),eo(wSr)],512))}});function GBt(n,r){const{dimensions:{width:o,height:l},computedPosition:h}=n,b=r.computedPosition,g=o/2,m=l/2,S=h.x+g,_=h.y+m,k=b.x+g,I=b.y+m,C=(k-S)/(2*g)-(I-_)/(2*m),A=(k-S)/(2*g)+(I-_)/(2*m),M=1/(Math.abs(C)+Math.abs(A)),D=M*C,H=M*A,G=g*(D+H)+S,Y=m*(-D+H)+_;return{x:G,y:Y}}function KBt(n,r){const o={...n.computedPosition,...n.dimensions},l=Math.round(o.x),h=Math.round(o.y),b=Math.round(r.x),g=Math.round(r.y);return b<=l+1?mi.Left:b>=l+o.width-1?mi.Right:g<=h+1?mi.Top:g>=o.y+o.height-1?mi.Bottom:mi.Top}function VSr(n,r){const o=GBt(n,r),l=GBt(r,n),h=KBt(n,o),b=KBt(r,l);return{sx:o.x,sy:o.y,tx:l.x,ty:l.y,sourcePos:h,targetPos:b}}const GSr=ic({__name:"FloatingEdge",props:{id:{},source:{},target:{},markerEndId:{},sourceNode:{},targetNode:{},style:{},markerEnd:{},markerStart:{},type:{},label:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{}},setup(n){const r=n,o=Fo(()=>VSr(r.sourceNode,r.targetNode)),l=Fo(()=>{if(!o.value.sx)return"";const h=r.sourceX(Qe(),On(ii(AK),{id:h.id,path:l.value[0],"marker-start":h.markerStart,"marker-end":h.markerEnd,style:_g(h.style)},null,8,["id","path","marker-start","marker-end","style"]))}});function Kse(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ien={exports:{}};(function(n,r){(function(o){n.exports=o()})(function(){return function(){function o(l,h,b){function g(_,k){if(!h[_]){if(!l[_]){var I=typeof Kse=="function"&&Kse;if(!k&&I)return I(_,!0);if(m)return m(_,!0);var C=new Error("Cannot find module '"+_+"'");throw C.code="MODULE_NOT_FOUND",C}var A=h[_]={exports:{}};l[_][0].call(A.exports,function(M){var D=l[_][1][M];return g(D||M)},A,A.exports,o,l,h,b)}return h[_].exports}for(var m=typeof Kse=="function"&&Kse,S=0;S0&&arguments[0]!==void 0?arguments[0]:{},C=I.defaultLayoutOptions,A=C===void 0?{}:C,M=I.algorithms,D=M===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:M,H=I.workerFactory,G=I.workerUrl;if(g(this,_),this.defaultLayoutOptions=A,this.initialized=!1,typeof G>"u"&&typeof H>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Y=H;typeof G<"u"&&typeof H>"u"&&(Y=function(ne){return new Worker(ne)});var F=Y(G);if(typeof F.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new S(F),this.worker.postMessage({cmd:"register",algorithms:D}).then(function(Q){return k.initialized=!0}).catch(console.err)}return b(_,[{key:"layout",value:function(I){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=C.layoutOptions,M=A===void 0?this.defaultLayoutOptions:A,D=C.logging,H=D===void 0?!1:D,G=C.measureExecutionTime,Y=G===void 0?!1:G;return I?this.worker.postMessage({cmd:"layout",graph:I,layoutOptions:M,options:{logging:H,measureExecutionTime:Y}}):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&&this.worker.terminate()}}]),_}();h.default=m;var S=function(){function _(k){var I=this;if(g(this,_),k===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=k,this.worker.onmessage=function(C){setTimeout(function(){I.receive(I,C)},0)}}return b(_,[{key:"postMessage",value:function(I){var C=this.id||0;this.id=C+1,I.id=C;var A=this;return new Promise(function(M,D){A.resolvers[C]=function(H,G){H?(A.convertGwtStyleError(H),D(H)):M(G)},A.worker.postMessage(I)})}},{key:"receive",value:function(I,C){var A=C.data,M=I.resolvers[A.id];M&&(delete I.resolvers[A.id],A.error?M(A.error):M(null,A.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(I){if(I){var C=I.__java$exception;C&&(C.cause&&C.cause.backingJsObject&&(I.cause=C.cause.backingJsObject,this.convertGwtStyleError(I.cause)),delete I.__java$exception)}}}]),_}()},{}],2:[function(o,l,h){(function(b){(function(){var g;typeof window<"u"?g=window:typeof b<"u"?g=b:typeof self<"u"&&(g=self);var m;function S(){}function _(){}function k(){}function I(){}function C(){}function A(){}function M(){}function D(){}function H(){}function G(){}function Y(){}function F(){}function Q(){}function ne(){}function be(){}function De(){}function Ee(){}function Ae(){}function qe(){}function et(){}function fe(){}function L(){}function ve(){}function ye(){}function me(){}function je(){}function Be(){}function ze(){}function Ze(){}function Le(){}function Ut(){}function se(){}function Me(){}function ft(){}function st(){}function at(){}function yt(){}function Mt(){}function rn(){}function $e(){}function Te(){}function P(){}function T(){}function B(){}function K(){}function z(){}function Se(){}function _e(){}function Pe(){}function mt(){}function de(){}function zt(){}function Jt(){}function In(){}function vr(){}function Ce(){}function ae(){}function ce(){}function Ye(){}function pt(){}function qt(){}function pn(){}function Kr(){}function Ho(){}function Ti(){}function to(){}function xi(){}function El(){}function Yf(){}function kl(){}function Bs(){}function Qf(){}function Zf(){}function Hs(){}function Rl(){}function E(){}function R(){}function ee(){}function te(){}function he(){}function cn(){}function Pn(){}function Al(){}function Ur(){}function Cl(){}function ed(){}function xl(){}function $l(){}function Ws(){}function Us(){}function Vs(){}function Ui(){}function Vr(){}function _r(){}function WLe(){}function ULe(){}function $K(){}function IK(){}function kM(){}function VLe(){}function GLe(){}function TK(){}function KLe(){}function zLe(){}function qLe(){}function RM(){}function XLe(){}function JLe(){}function YLe(){}function QLe(){}function ZLe(){}function eje(){}function tje(){}function nje(){}function rje(){}function Ufe(){}function ije(){}function oje(){}function Vfe(){}function sje(){}function aje(){}function lje(){}function cje(){}function uje(){}function fje(){}function dje(){}function hje(){}function bje(){}function pje(){}function gje(){}function wje(){}function mje(){}function PK(){}function yje(){}function vje(){}function _je(){}function Sje(){}function Eje(){}function kje(){}function Rje(){}function Aje(){}function Cje(){}function Gfe(){}function Kfe(){}function xje(){}function $je(){}function Ije(){}function Tje(){}function Pje(){}function Oje(){}function Nje(){}function Mje(){}function Dje(){}function Lje(){}function jje(){}function Fje(){}function Bje(){}function Hje(){}function Wje(){}function Uje(){}function Vje(){}function Gje(){}function Kje(){}function zje(){}function qje(){}function Xje(){}function Jje(){}function Yje(){}function Qje(){}function Zje(){}function eFe(){}function tFe(){}function nFe(){}function rFe(){}function iFe(){}function oFe(){}function sFe(){}function aFe(){}function lFe(){}function cFe(){}function uFe(){}function fFe(){}function dFe(){}function hFe(){}function bFe(){}function pFe(){}function gFe(){}function wFe(){}function mFe(){}function yFe(){}function vFe(){}function _Fe(){}function SFe(){}function EFe(){}function kFe(){}function RFe(){}function AFe(){}function CFe(){}function xFe(){}function $Fe(){}function IFe(){}function TFe(){}function PFe(){}function OFe(){}function NFe(){}function MFe(){}function DFe(){}function LFe(){}function jFe(){}function FFe(){}function BFe(){}function HFe(){}function WFe(){}function UFe(){}function VFe(){}function GFe(){}function KFe(){}function zFe(){}function qFe(){}function XFe(){}function JFe(){}function YFe(){}function QFe(){}function ZFe(){}function eBe(){}function tBe(){}function nBe(){}function rBe(){}function iBe(){}function oBe(){}function sBe(){}function aBe(){}function lBe(){}function cBe(){}function uBe(){}function fBe(){}function dBe(){}function hBe(){}function bBe(){}function pBe(){}function gBe(){}function wBe(){}function mBe(){}function yBe(){}function zfe(){}function vBe(){}function _Be(){}function SBe(){}function EBe(){}function kBe(){}function RBe(){}function ABe(){}function CBe(){}function xBe(){}function $Be(){}function IBe(){}function TBe(){}function PBe(){}function OBe(){}function NBe(){}function MBe(){}function DBe(){}function LBe(){}function jBe(){}function FBe(){}function BBe(){}function HBe(){}function WBe(){}function UBe(){}function VBe(){}function GBe(){}function KBe(){}function zBe(){}function qBe(){}function XBe(){}function JBe(){}function YBe(){}function QBe(){}function ZBe(){}function eHe(){}function tHe(){}function nHe(){}function rHe(){}function iHe(){}function oHe(){}function sHe(){}function aHe(){}function lHe(){}function cHe(){}function uHe(){}function fHe(){}function dHe(){}function hHe(){}function bHe(){}function pHe(){}function gHe(){}function wHe(){}function mHe(){}function yHe(){}function vHe(){}function _He(){}function SHe(){}function EHe(){}function kHe(){}function RHe(){}function AHe(){}function CHe(){}function xHe(){}function $He(){}function IHe(){}function THe(){}function PHe(){}function OHe(){}function NHe(){}function MHe(){}function DHe(){}function LHe(){}function jHe(){}function qfe(){}function FHe(){}function BHe(){}function HHe(){}function WHe(){}function UHe(){}function VHe(){}function GHe(){}function KHe(){}function zHe(){}function qHe(){}function Xfe(){}function XHe(){}function JHe(){}function YHe(){}function QHe(){}function ZHe(){}function eWe(){}function Jfe(){}function Yfe(){}function tWe(){}function Qfe(){}function Zfe(){}function nWe(){}function rWe(){}function iWe(){}function oWe(){}function sWe(){}function aWe(){}function lWe(){}function cWe(){}function uWe(){}function fWe(){}function dWe(){}function ede(){}function hWe(){}function bWe(){}function pWe(){}function gWe(){}function wWe(){}function mWe(){}function yWe(){}function vWe(){}function _We(){}function SWe(){}function EWe(){}function kWe(){}function RWe(){}function AWe(){}function CWe(){}function xWe(){}function $We(){}function IWe(){}function TWe(){}function PWe(){}function OWe(){}function NWe(){}function MWe(){}function DWe(){}function LWe(){}function jWe(){}function FWe(){}function BWe(){}function HWe(){}function WWe(){}function UWe(){}function VWe(){}function GWe(){}function KWe(){}function zWe(){}function qWe(){}function XWe(){}function JWe(){}function YWe(){}function QWe(){}function ZWe(){}function eUe(){}function tUe(){}function nUe(){}function rUe(){}function iUe(){}function oUe(){}function sUe(){}function aUe(){}function lUe(){}function cUe(){}function uUe(){}function fUe(){}function dUe(){}function hUe(){}function bUe(){}function pUe(){}function gUe(){}function wUe(){}function mUe(){}function yUe(){}function vUe(){}function _Ue(){}function SUe(){}function EUe(){}function kUe(){}function RUe(){}function AUe(){}function CUe(){}function xUe(){}function $Ue(){}function IUe(){}function TUe(){}function PUe(){}function OUe(){}function NUe(){}function MUe(){}function DUe(){}function LUe(){}function jUe(){}function FUe(){}function BUe(){}function HUe(){}function WUe(){}function UUe(){}function VUe(){}function ttn(){}function GUe(){}function KUe(){}function zUe(){}function qUe(){}function XUe(){}function JUe(){}function YUe(){}function QUe(){}function ZUe(){}function eVe(){}function tVe(){}function nVe(){}function rVe(){}function iVe(){}function oVe(){}function sVe(){}function aVe(){}function lVe(){}function cVe(){}function uVe(){}function fVe(){}function dVe(){}function hVe(){}function bVe(){}function pVe(){}function gVe(){}function wVe(){}function OK(){}function NK(){}function mVe(){}function MK(){}function yVe(){}function vVe(){}function _Ve(){}function SVe(){}function EVe(){}function kVe(){}function RVe(){}function AVe(){}function CVe(){}function xVe(){}function tde(){}function $Ve(){}function IVe(){}function TVe(){}function ntn(){}function PVe(){}function OVe(){}function NVe(){}function MVe(){}function DVe(){}function LVe(){}function jVe(){}function J1(){}function FVe(){}function rE(){}function nde(){}function BVe(){}function HVe(){}function WVe(){}function UVe(){}function VVe(){}function GVe(){}function KVe(){}function zVe(){}function qVe(){}function XVe(){}function JVe(){}function YVe(){}function QVe(){}function ZVe(){}function eGe(){}function tGe(){}function nGe(){}function rGe(){}function iGe(){}function vt(){}function oGe(){}function sGe(){}function aGe(){}function lGe(){}function cGe(){}function uGe(){}function fGe(){}function dGe(){}function hGe(){}function bGe(){}function pGe(){}function gGe(){}function wGe(){}function DK(){}function mGe(){}function yGe(){}function vGe(){}function AM(){}function _Ge(){}function LK(){}function CM(){}function SGe(){}function rde(){}function EGe(){}function kGe(){}function RGe(){}function AGe(){}function CGe(){}function xGe(){}function xM(){}function $Ge(){}function IGe(){}function $M(){}function TGe(){}function IM(){}function PGe(){}function ide(){}function OGe(){}function jK(){}function ode(){}function NGe(){}function MGe(){}function DGe(){}function LGe(){}function rtn(){}function jGe(){}function FGe(){}function BGe(){}function HGe(){}function WGe(){}function UGe(){}function VGe(){}function GGe(){}function KGe(){}function zGe(){}function tR(){}function FK(){}function qGe(){}function XGe(){}function JGe(){}function YGe(){}function QGe(){}function ZGe(){}function eKe(){}function tKe(){}function nKe(){}function rKe(){}function iKe(){}function oKe(){}function sKe(){}function aKe(){}function lKe(){}function cKe(){}function uKe(){}function fKe(){}function dKe(){}function hKe(){}function bKe(){}function pKe(){}function gKe(){}function wKe(){}function mKe(){}function yKe(){}function vKe(){}function _Ke(){}function SKe(){}function EKe(){}function kKe(){}function RKe(){}function AKe(){}function CKe(){}function xKe(){}function $Ke(){}function IKe(){}function TKe(){}function PKe(){}function OKe(){}function NKe(){}function MKe(){}function DKe(){}function LKe(){}function jKe(){}function FKe(){}function BKe(){}function HKe(){}function WKe(){}function UKe(){}function VKe(){}function GKe(){}function KKe(){}function zKe(){}function qKe(){}function XKe(){}function JKe(){}function YKe(){}function QKe(){}function ZKe(){}function eze(){}function tze(){}function nze(){}function rze(){}function ize(){}function oze(){}function sze(){}function aze(){}function lze(){}function cze(){}function uze(){}function fze(){}function dze(){}function hze(){}function bze(){}function pze(){}function gze(){}function wze(){}function mze(){}function yze(){}function vze(){}function _ze(){}function Sze(){}function Eze(){}function kze(){}function Rze(){}function Aze(){}function Cze(){}function xze(){}function $ze(){}function Ize(){}function Tze(){}function Pze(){}function Oze(){}function Nze(){}function Mze(){}function Dze(){}function Lze(){}function jze(){}function Fze(){}function Bze(){}function sde(){}function Hze(){}function Wze(){}function BK(){oC()}function Uze(){f8()}function Vze(){wF()}function Gze(){KJ()}function Kze(){I5()}function zze(){bye()}function qze(){Nf()}function Xze(){kme()}function Jze(){Y7()}function Yze(){d8()}function Qze(){B8()}function Zze(){Ctt()}function eqe(){VE()}function tqe(){tft()}function nqe(){E0e()}function rqe(){Ult()}function iqe(){k0e()}function oqe(){Pft()}function sqe(){Wlt()}function aqe(){f4()}function lqe(){pht()}function cqe(){bht()}function uqe(){jct()}function fqe(){ght()}function dqe(){t1()}function hqe(){iD()}function bqe(){h2e()}function pqe(){dt()}function gqe(){wht()}function wqe(){Vht()}function mqe(){Vlt()}function yqe(){p1t()}function vqe(){Glt()}function _qe(){$yt()}function Sqe(){Gye()}function Eqe(){jb()}function kqe(){Ipt()}function Rqe(){ba()}function Aqe(){ect()}function Cqe(){UE()}function xqe(){Cve()}function $qe(){n1()}function Iqe(){xve()}function Tqe(){jd()}function Pqe(){nP()}function Oqe(){mQ()}function Nqe(){CY()}function td(){Iot()}function Mqe(){rj()}function Dqe(){EF()}function ade(){br()}function Lqe(){Fj()}function jqe(){eme()}function lde(){CJ()}function cde(){GF()}function Fqe(){Fve()}function ude(e){gn(e)}function Bqe(e){this.a=e}function TM(e){this.a=e}function Hqe(e){this.a=e}function Wqe(e){this.a=e}function Uqe(e){this.a=e}function Vqe(e){this.a=e}function Gqe(e){this.a=e}function Kqe(e){this.a=e}function fde(e){this.a=e}function dde(e){this.a=e}function zqe(e){this.a=e}function qqe(e){this.a=e}function HK(e){this.a=e}function Xqe(e){this.a=e}function Jqe(e){this.a=e}function WK(e){this.a=e}function UK(e){this.a=e}function Yqe(e){this.a=e}function VK(e){this.a=e}function Qqe(e){this.a=e}function Zqe(e){this.a=e}function eXe(e){this.a=e}function hde(e){this.b=e}function tXe(e){this.c=e}function nXe(e){this.a=e}function rXe(e){this.a=e}function iXe(e){this.a=e}function oXe(e){this.a=e}function sXe(e){this.a=e}function aXe(e){this.a=e}function lXe(e){this.a=e}function cXe(e){this.a=e}function uXe(e){this.a=e}function fXe(e){this.a=e}function dXe(e){this.a=e}function hXe(e){this.a=e}function bXe(e){this.a=e}function bde(e){this.a=e}function pde(e){this.a=e}function PM(e){this.a=e}function YT(e){this.a=e}function Y1(){this.a=[]}function pXe(e,t){e.a=t}function itn(e,t){e.a=t}function otn(e,t){e.b=t}function stn(e,t){e.b=t}function atn(e,t){e.b=t}function gde(e,t){e.j=t}function ltn(e,t){e.g=t}function ctn(e,t){e.i=t}function utn(e,t){e.c=t}function ftn(e,t){e.c=t}function dtn(e,t){e.d=t}function htn(e,t){e.d=t}function Q1(e,t){e.k=t}function btn(e,t){e.c=t}function wde(e,t){e.c=t}function mde(e,t){e.a=t}function ptn(e,t){e.a=t}function gtn(e,t){e.f=t}function wtn(e,t){e.a=t}function mtn(e,t){e.b=t}function GK(e,t){e.d=t}function OM(e,t){e.i=t}function yde(e,t){e.o=t}function ytn(e,t){e.r=t}function vtn(e,t){e.a=t}function _tn(e,t){e.b=t}function gXe(e,t){e.e=t}function Stn(e,t){e.f=t}function vde(e,t){e.g=t}function Etn(e,t){e.e=t}function ktn(e,t){e.f=t}function Rtn(e,t){e.f=t}function KK(e,t){e.a=t}function zK(e,t){e.b=t}function Atn(e,t){e.n=t}function Ctn(e,t){e.a=t}function xtn(e,t){e.c=t}function $tn(e,t){e.c=t}function Itn(e,t){e.c=t}function Ttn(e,t){e.a=t}function Ptn(e,t){e.a=t}function Otn(e,t){e.d=t}function Ntn(e,t){e.d=t}function Mtn(e,t){e.e=t}function Dtn(e,t){e.e=t}function Ltn(e,t){e.g=t}function jtn(e,t){e.f=t}function Ftn(e,t){e.j=t}function Btn(e,t){e.a=t}function Htn(e,t){e.a=t}function Wtn(e,t){e.b=t}function wXe(e){e.b=e.a}function mXe(e){e.c=e.d.d}function _de(e){this.a=e}function Sde(e){this.a=e}function Ede(e){this.a=e}function Z1(e){this.a=e}function e0(e){this.a=e}function QT(e){this.a=e}function yXe(e){this.a=e}function kde(e){this.a=e}function ZT(e){this.a=e}function NM(e){this.a=e}function Rb(e){this.a=e}function vy(e){this.a=e}function vXe(e){this.a=e}function _Xe(e){this.a=e}function qK(e){this.b=e}function nR(e){this.b=e}function rR(e){this.b=e}function XK(e){this.a=e}function SXe(e){this.a=e}function JK(e){this.c=e}function J(e){this.c=e}function EXe(e){this.c=e}function Q6(e){this.d=e}function Rde(e){this.a=e}function Jn(e){this.a=e}function kXe(e){this.a=e}function Ade(e){this.a=e}function Cde(e){this.a=e}function xde(e){this.a=e}function $de(e){this.a=e}function Ide(e){this.a=e}function Tde(e){this.a=e}function iR(e){this.a=e}function RXe(e){this.a=e}function AXe(e){this.a=e}function oR(e){this.a=e}function CXe(e){this.a=e}function xXe(e){this.a=e}function $Xe(e){this.a=e}function IXe(e){this.a=e}function TXe(e){this.a=e}function PXe(e){this.a=e}function OXe(e){this.a=e}function NXe(e){this.a=e}function MXe(e){this.a=e}function DXe(e){this.a=e}function LXe(e){this.a=e}function jXe(e){this.a=e}function FXe(e){this.a=e}function BXe(e){this.a=e}function HXe(e){this.a=e}function Z6(e){this.a=e}function WXe(e){this.a=e}function UXe(e){this.a=e}function VXe(e){this.a=e}function GXe(e){this.a=e}function MM(e){this.a=e}function KXe(e){this.a=e}function zXe(e){this.a=e}function sR(e){this.a=e}function Pde(e){this.a=e}function qXe(e){this.a=e}function XXe(e){this.a=e}function JXe(e){this.a=e}function YXe(e){this.a=e}function QXe(e){this.a=e}function ZXe(e){this.a=e}function Ode(e){this.a=e}function Nde(e){this.a=e}function Mde(e){this.a=e}function eC(e){this.a=e}function DM(e){this.e=e}function aR(e){this.a=e}function eJe(e){this.a=e}function iE(e){this.a=e}function Dde(e){this.a=e}function tJe(e){this.a=e}function nJe(e){this.a=e}function rJe(e){this.a=e}function iJe(e){this.a=e}function oJe(e){this.a=e}function sJe(e){this.a=e}function aJe(e){this.a=e}function lJe(e){this.a=e}function cJe(e){this.a=e}function uJe(e){this.a=e}function fJe(e){this.a=e}function Lde(e){this.a=e}function dJe(e){this.a=e}function hJe(e){this.a=e}function bJe(e){this.a=e}function pJe(e){this.a=e}function gJe(e){this.a=e}function wJe(e){this.a=e}function mJe(e){this.a=e}function yJe(e){this.a=e}function vJe(e){this.a=e}function _Je(e){this.a=e}function SJe(e){this.a=e}function EJe(e){this.a=e}function kJe(e){this.a=e}function RJe(e){this.a=e}function AJe(e){this.a=e}function CJe(e){this.a=e}function xJe(e){this.a=e}function $Je(e){this.a=e}function IJe(e){this.a=e}function TJe(e){this.a=e}function PJe(e){this.a=e}function OJe(e){this.a=e}function NJe(e){this.a=e}function MJe(e){this.a=e}function DJe(e){this.a=e}function LJe(e){this.a=e}function jJe(e){this.a=e}function FJe(e){this.a=e}function BJe(e){this.a=e}function HJe(e){this.a=e}function WJe(e){this.a=e}function UJe(e){this.a=e}function VJe(e){this.a=e}function GJe(e){this.a=e}function KJe(e){this.a=e}function zJe(e){this.a=e}function qJe(e){this.a=e}function XJe(e){this.a=e}function JJe(e){this.c=e}function YJe(e){this.b=e}function QJe(e){this.a=e}function ZJe(e){this.a=e}function eYe(e){this.a=e}function tYe(e){this.a=e}function nYe(e){this.a=e}function rYe(e){this.a=e}function iYe(e){this.a=e}function oYe(e){this.a=e}function sYe(e){this.a=e}function aYe(e){this.a=e}function lYe(e){this.a=e}function cYe(e){this.a=e}function uYe(e){this.a=e}function fYe(e){this.a=e}function dYe(e){this.a=e}function hYe(e){this.a=e}function bYe(e){this.a=e}function pYe(e){this.a=e}function gYe(e){this.a=e}function wYe(e){this.a=e}function mYe(e){this.a=e}function yYe(e){this.a=e}function vYe(e){this.a=e}function _Ye(e){this.a=e}function SYe(e){this.a=e}function EYe(e){this.a=e}function kYe(e){this.a=e}function Ab(e){this.a=e}function y2(e){this.a=e}function RYe(e){this.a=e}function AYe(e){this.a=e}function CYe(e){this.a=e}function xYe(e){this.a=e}function $Ye(e){this.a=e}function IYe(e){this.a=e}function TYe(e){this.a=e}function PYe(e){this.a=e}function OYe(e){this.a=e}function NYe(e){this.a=e}function MYe(e){this.a=e}function DYe(e){this.a=e}function LYe(e){this.a=e}function jYe(e){this.a=e}function FYe(e){this.a=e}function BYe(e){this.a=e}function HYe(e){this.a=e}function WYe(e){this.a=e}function UYe(e){this.a=e}function VYe(e){this.a=e}function GYe(e){this.a=e}function KYe(e){this.a=e}function zYe(e){this.a=e}function qYe(e){this.a=e}function XYe(e){this.a=e}function JYe(e){this.a=e}function LM(e){this.a=e}function YYe(e){this.f=e}function QYe(e){this.a=e}function ZYe(e){this.a=e}function eQe(e){this.a=e}function tQe(e){this.a=e}function nQe(e){this.a=e}function rQe(e){this.a=e}function iQe(e){this.a=e}function oQe(e){this.a=e}function sQe(e){this.a=e}function aQe(e){this.a=e}function lQe(e){this.a=e}function cQe(e){this.a=e}function uQe(e){this.a=e}function fQe(e){this.a=e}function dQe(e){this.a=e}function hQe(e){this.a=e}function bQe(e){this.a=e}function pQe(e){this.a=e}function gQe(e){this.a=e}function wQe(e){this.a=e}function mQe(e){this.a=e}function yQe(e){this.a=e}function vQe(e){this.a=e}function _Qe(e){this.a=e}function SQe(e){this.a=e}function EQe(e){this.a=e}function kQe(e){this.a=e}function RQe(e){this.a=e}function YK(e){this.a=e}function jde(e){this.a=e}function jr(e){this.b=e}function AQe(e){this.a=e}function CQe(e){this.a=e}function xQe(e){this.a=e}function $Qe(e){this.a=e}function IQe(e){this.a=e}function TQe(e){this.a=e}function PQe(e){this.a=e}function OQe(e){this.b=e}function NQe(e){this.a=e}function e8(e){this.a=e}function MQe(e){this.a=e}function DQe(e){this.a=e}function Fde(e){this.c=e}function jM(e){this.e=e}function FM(e){this.a=e}function BM(e){this.a=e}function QK(e){this.a=e}function LQe(e){this.d=e}function jQe(e){this.a=e}function Bde(e){this.a=e}function Hde(e){this.a=e}function gw(e){this.e=e}function Utn(){this.a=0}function Dn(){ac(this)}function it(){dq(this)}function ZK(){Eat(this)}function FQe(){}function ww(){this.c=zxe}function BQe(e,t){e.b+=t}function Vtn(e,t){t.Wb(e)}function Gtn(e){return e.a}function Ktn(e){return e.a}function ztn(e){return e.a}function qtn(e){return e.a}function Xtn(e){return e.a}function Z(e){return e.e}function Jtn(){return null}function Ytn(){return null}function Qtn(){Ahe(),Txn()}function Ztn(e){e.b.Of(e.e)}function HQe(e){e.b=new yz}function tC(e,t){e.b=t-e.b}function nC(e,t){e.a=t-e.a}function en(e,t){e.push(t)}function WQe(e,t){e.sort(t)}function UQe(e,t){t.jd(e.a)}function enn(e,t){Qi(t,e)}function tnn(e,t,i){e.Yd(i,t)}function t8(e,t){e.e=t,t.b=e}function Wde(e){lh(),this.a=e}function VQe(e){lh(),this.a=e}function GQe(e){lh(),this.a=e}function ez(e){Fw(),this.a=e}function KQe(e){LR(),Ute.le(e)}function Ude(){Ude=L,new Dn}function t0(){hit.call(this)}function Vde(){hit.call(this)}function Gde(){t0.call(this)}function tz(){t0.call(this)}function zQe(){t0.call(this)}function n8(){t0.call(this)}function Wl(){t0.call(this)}function oE(){t0.call(this)}function Zn(){t0.call(this)}function gu(){t0.call(this)}function qQe(){t0.call(this)}function ea(){t0.call(this)}function XQe(){t0.call(this)}function JQe(){this.a=this}function HM(){this.Bb|=256}function YQe(){this.b=new srt}function _y(e,t){e.length=t}function WM(e,t){ot(e.a,t)}function nnn(e,t){gye(e.c,t)}function rnn(e,t){Vi(e.b,t)}function inn(e,t){fF(e.a,t)}function onn(e,t){eY(e.a,t)}function lR(e,t){Ir(e.e,t)}function sE(e){CF(e.c,e.b)}function snn(e,t){e.kc().Nb(t)}function Kde(e){this.a=Q0n(e)}function Ni(){this.a=new Dn}function QQe(){this.a=new Dn}function zde(){this.a=new ytt}function UM(){this.a=new it}function nz(){this.a=new it}function qde(){this.a=new it}function Gu(){this.a=new kl}function n0(){this.a=new Xut}function Xde(){this.a=new Ufe}function Jde(){this.a=new Hlt}function Yde(){this.a=new Zit}function ZQe(){this.a=new it}function eZe(){this.a=new it}function tZe(){this.a=new it}function Qde(){this.a=new it}function nZe(){this.d=new it}function rZe(){this.a=new act}function iZe(){this.a=new Ni}function oZe(){this.a=new Dn}function sZe(){this.b=new Dn}function aZe(){this.b=new it}function Zde(){this.e=new it}function lZe(){this.a=new dqe}function cZe(){this.d=new it}function uZe(){dlt.call(this)}function fZe(){dlt.call(this)}function dZe(){it.call(this)}function ehe(){Gde.call(this)}function the(){UM.call(this)}function hZe(){qD.call(this)}function bZe(){Qde.call(this)}function rC(){FQe.call(this)}function rz(){rC.call(this)}function aE(){FQe.call(this)}function nhe(){aE.call(this)}function pZe(){she.call(this)}function gZe(){she.call(this)}function wZe(){she.call(this)}function mZe(){ahe.call(this)}function iC(){_Ge.call(this)}function rhe(){_Ge.call(this)}function Ul(){ei.call(this)}function yZe(){NZe.call(this)}function vZe(){NZe.call(this)}function _Ze(){Dn.call(this)}function SZe(){Dn.call(this)}function EZe(){Dn.call(this)}function iz(){vht.call(this)}function kZe(){Ni.call(this)}function RZe(){HM.call(this)}function oz(){Bbe.call(this)}function ihe(){Dn.call(this)}function sz(){Bbe.call(this)}function az(){Dn.call(this)}function AZe(){Dn.call(this)}function ohe(){IM.call(this)}function CZe(){ohe.call(this)}function xZe(){IM.call(this)}function $Ze(){sde.call(this)}function she(){this.a=new Ni}function IZe(){this.a=new Dn}function TZe(){this.a=new it}function ahe(){this.a=new Dn}function lE(){this.a=new ei}function PZe(){this.j=new it}function OZe(){this.a=new Oet}function NZe(){this.a=new TGe}function lhe(){this.a=new dVe}function oC(){oC=L,Mte=new _}function lz(){lz=L,Dte=new DZe}function cz(){cz=L,Lte=new MZe}function MZe(){WK.call(this,"")}function DZe(){WK.call(this,"")}function LZe(e){Udt.call(this,e)}function jZe(e){Udt.call(this,e)}function che(e){fde.call(this,e)}function uhe(e){ltt.call(this,e)}function ann(e){ltt.call(this,e)}function lnn(e){uhe.call(this,e)}function cnn(e){uhe.call(this,e)}function unn(e){uhe.call(this,e)}function FZe(e){HX.call(this,e)}function BZe(e){HX.call(this,e)}function HZe(e){_ot.call(this,e)}function WZe(e){Ohe.call(this,e)}function sC(e){eD.call(this,e)}function fhe(e){eD.call(this,e)}function UZe(e){eD.call(this,e)}function dhe(e){P_n.call(this,e)}function hhe(e){dhe.call(this,e)}function ta(e){Wst.call(this,e)}function VZe(e){ta.call(this,e)}function cE(){YT.call(this,{})}function GZe(){GZe=L,xkt=new et}function VM(){VM=L,Bte=new Urt}function KZe(){KZe=L,c3e=new S}function bhe(){bhe=L,u3e=new ne}function GM(){GM=L,Nx=new Ee}function uz(e){vR(),this.a=e}function fz(e){H0e(),this.a=e}function mw(e){Xq(),this.f=e}function dz(e){Xq(),this.f=e}function zZe(e){$ot(),this.a=e}function qZe(e){e.b=null,e.c=0}function fnn(e,t){e.e=t,$mt(e,t)}function dnn(e,t){e.a=t,ySn(e)}function hz(e,t,i){e.a[t.g]=i}function hnn(e,t,i){Nvn(i,e,t)}function bnn(e,t){csn(t.i,e.n)}function XZe(e,t){O1n(e).Cd(t)}function pnn(e,t){e.a.ec().Mc(t)}function JZe(e,t){return e.g-t.g}function gnn(e,t){return e*e/t}function bt(e){return gn(e),e}function Re(e){return gn(e),e}function r8(e){return gn(e),e}function wnn(e){return new PM(e)}function mnn(e){return new My(e)}function phe(e){return gn(e),e}function ynn(e){return gn(e),e}function KM(e){ta.call(this,e)}function vs(e){ta.call(this,e)}function YZe(e){ta.call(this,e)}function bz(e){Wst.call(this,e)}function cR(e){ta.call(this,e)}function un(e){ta.call(this,e)}function _s(e){ta.call(this,e)}function QZe(e){ta.call(this,e)}function uE(e){ta.call(this,e)}function yp(e){ta.call(this,e)}function vp(e){ta.call(this,e)}function fE(e){ta.call(this,e)}function nh(e){ta.call(this,e)}function pz(e){ta.call(this,e)}function rr(e){ta.call(this,e)}function oc(e){gn(e),this.a=e}function ghe(e){return S0(e),e}function aC(e){xge(e,e.length)}function lC(e){return e.b==e.c}function Sy(e){return!!e&&e.b}function vnn(e){return!!e&&e.k}function _nn(e){return!!e&&e.j}function Snn(e,t,i){e.c.Ef(t,i)}function ZZe(e,t){e.be(t),t.ae(e)}function dE(e){lh(),this.a=Qn(e)}function gz(){this.a=tr(Qn(Jo))}function eet(){throw Z(new Zn)}function Enn(){throw Z(new Zn)}function whe(){throw Z(new Zn)}function tet(){throw Z(new Zn)}function knn(){throw Z(new Zn)}function Rnn(){throw Z(new Zn)}function zM(){zM=L,LR()}function _p(){QT.call(this,"")}function cC(){QT.call(this,"")}function Pg(){QT.call(this,"")}function hE(){QT.call(this,"")}function mhe(e){vs.call(this,e)}function yhe(e){vs.call(this,e)}function rh(e){un.call(this,e)}function uR(e){rR.call(this,e)}function net(e){uR.call(this,e)}function wz(e){UD.call(this,e)}function mz(e){Qbe.call(this,e,0)}function yz(){u1e.call(this,12,3)}function re(e,t){return Mlt(e,t)}function qM(e,t){return nJ(e,t)}function Ann(e,t){return e.a-t.a}function Cnn(e,t){return e.a-t.a}function xnn(e,t){return e.a-t.a}function $nn(e,t){return t in e.a}function ret(e){return e.a?e.b:0}function Inn(e){return e.a?e.b:0}function Tnn(e,t,i){t.Cd(e.a[i])}function Pnn(e,t,i){t.Pe(e.a[i])}function Onn(e,t){e.b=new qo(t)}function Nnn(e,t){return e.b=t,e}function iet(e,t){return e.c=t,e}function oet(e,t){return e.f=t,e}function Mnn(e,t){return e.g=t,e}function vhe(e,t){return e.a=t,e}function _he(e,t){return e.f=t,e}function Dnn(e,t){return e.k=t,e}function She(e,t){return e.a=t,e}function Lnn(e,t){return e.e=t,e}function Ehe(e,t){return e.e=t,e}function jnn(e,t){return e.f=t,e}function Fnn(e,t){e.b=!0,e.d=t}function Bnn(e,t){return e.b-t.b}function Hnn(e,t){return e.g-t.g}function Wnn(e,t){return e?0:t-1}function set(e,t){return e?0:t-1}function Unn(e,t){return e?t-1:0}function Vnn(e,t){return e.s-t.s}function Gnn(e,t){return t.rg(e)}function yw(e,t){return e.b=t,e}function XM(e,t){return e.a=t,e}function vw(e,t){return e.c=t,e}function _w(e,t){return e.d=t,e}function Sw(e,t){return e.e=t,e}function khe(e,t){return e.f=t,e}function uC(e,t){return e.a=t,e}function fR(e,t){return e.b=t,e}function dR(e,t){return e.c=t,e}function St(e,t){return e.c=t,e}function Bt(e,t){return e.b=t,e}function Et(e,t){return e.d=t,e}function kt(e,t){return e.e=t,e}function Knn(e,t){return e.f=t,e}function Rt(e,t){return e.g=t,e}function At(e,t){return e.a=t,e}function Ct(e,t){return e.i=t,e}function xt(e,t){return e.j=t,e}function znn(e,t){t1(),ra(t,e)}function qnn(e,t,i){ucn(e.a,t,i)}function JM(e){Iq.call(this,e)}function aet(e){hwn.call(this,e)}function cet(e){Uat.call(this,e)}function Rhe(e){Uat.call(this,e)}function Og(e){Xw.call(this,e)}function uet(e){yX.call(this,e)}function fet(e){yX.call(this,e)}function det(){Nbe.call(this,"")}function mo(){this.a=0,this.b=0}function het(){this.b=0,this.a=0}function bet(e,t){e.b=0,Gy(e,t)}function pet(e,t){return e.k=t,e}function Xnn(e,t){return e.j=t,e}function Jnn(e,t){e.c=t,e.b=!0}function get(){get=L,Hkt=a2n()}function Ng(){Ng=L,NTt=mvn()}function wet(){wet=L,uo=I2n()}function Ahe(){Ahe=L,C1=QR()}function hR(){hR=L,Kxe=yvn()}function met(){met=L,m8t=vvn()}function Che(){Che=L,Ca=gSn()}function nd(e){return e.e&&e.e()}function yet(e){return e.l|e.m<<22}function vet(e,t){return e.c._b(t)}function _et(e,t){return ypt(e.b,t)}function vz(e){return e?e.d:null}function Ynn(e){return e?e.g:null}function Qnn(e){return e?e.i:null}function r0(e){return $b(e),e.o}function v2(e,t){return e.a+=t,e}function _z(e,t){return e.a+=t,e}function Sp(e,t){return e.a+=t,e}function Ew(e,t){return e.a+=t,e}function xhe(e,t){for(;e.Bd(t););}function YM(e){this.a=new bE(e)}function Eet(){throw Z(new Zn)}function ket(){throw Z(new Zn)}function Ret(){throw Z(new Zn)}function Aet(){throw Z(new Zn)}function Cet(){throw Z(new Zn)}function xet(){throw Z(new Zn)}function Ep(e){this.a=new Qq(e)}function $et(){this.a=new G5(H6e)}function Iet(){this.b=new G5(s6e)}function Tet(){this.a=new G5(fCe)}function Pet(){this.b=new G5(Pie)}function Oet(){this.b=new G5(Pie)}function QM(e){this.a=0,this.b=e}function $he(e){a2t(),Vxn(this,e)}function bR(e){return Wg(e),e.a}function i8(e){return e.b!=e.d.c}function Ihe(e,t){return e.d[t.p]}function Net(e,t){return aRn(e,t)}function The(e,t,i){e.splice(t,i)}function _2(e,t){for(;e.Re(t););}function Met(e){e.c?zmt(e):qmt(e)}function Det(){throw Z(new Zn)}function Let(){throw Z(new Zn)}function jet(){throw Z(new Zn)}function Fet(){throw Z(new Zn)}function Bet(){throw Z(new Zn)}function Het(){throw Z(new Zn)}function Wet(){throw Z(new Zn)}function Uet(){throw Z(new Zn)}function Vet(){throw Z(new Zn)}function Get(){throw Z(new Zn)}function Znn(){throw Z(new ea)}function ern(){throw Z(new ea)}function o8(e){this.a=new Ket(e)}function Ket(e){ign(this,e,D_n())}function s8(e){return!e||Sat(e)}function a8(e){return Zd[e]!=-1}function trn(){uH!=0&&(uH=0),fH=-1}function zet(){Nte==null&&(Nte=[])}function l8(e,t){M2.call(this,e,t)}function pR(e,t){l8.call(this,e,t)}function qet(e,t){this.a=e,this.b=t}function Xet(e,t){this.a=e,this.b=t}function Jet(e,t){this.a=e,this.b=t}function Yet(e,t){this.a=e,this.b=t}function Qet(e,t){this.a=e,this.b=t}function Zet(e,t){this.a=e,this.b=t}function ett(e,t){this.a=e,this.b=t}function gR(e,t){this.e=e,this.d=t}function Phe(e,t){this.b=e,this.c=t}function ttt(e,t){this.b=e,this.a=t}function ntt(e,t){this.b=e,this.a=t}function rtt(e,t){this.b=e,this.a=t}function itt(e,t){this.b=e,this.a=t}function ott(e,t){this.a=e,this.b=t}function Sz(e,t){this.a=e,this.b=t}function stt(e,t){this.a=e,this.f=t}function kw(e,t){this.g=e,this.i=t}function Kn(e,t){this.f=e,this.g=t}function att(e,t){this.b=e,this.c=t}function ltt(e){Wbe(e.dc()),this.c=e}function nrn(e,t){this.a=e,this.b=t}function ctt(e,t){this.a=e,this.b=t}function utt(e){this.a=u(Qn(e),15)}function Ohe(e){this.a=u(Qn(e),15)}function ftt(e){this.a=u(Qn(e),85)}function ZM(e){this.b=u(Qn(e),85)}function eD(e){this.b=u(Qn(e),51)}function tD(){this.q=new g.Date}function Ez(e,t){this.a=e,this.b=t}function dtt(e,t){return fl(e.b,t)}function c8(e,t){return e.b.Hc(t)}function htt(e,t){return e.b.Ic(t)}function btt(e,t){return e.b.Qc(t)}function ptt(e,t){return e.b.Hc(t)}function gtt(e,t){return e.c.uc(t)}function wtt(e,t){return Tr(e.c,t)}function rd(e,t){return e.a._b(t)}function mtt(e,t){return e>t&&t0}function $z(e,t){return $a(e,t)<0}function Ntt(e,t){return Gq(e.a,t)}function _rn(e,t){Dlt.call(this,e,t)}function Bhe(e){uX(),_ot.call(this,e)}function Hhe(e,t){$st(e,e.length,t)}function h8(e,t){rat(e,e.length,t)}function mC(e,t){return e.a.get(t)}function Mtt(e,t){return fl(e.e,t)}function Whe(e){return gn(e),!1}function Uhe(e){this.a=u(Qn(e),229)}function uD(e){Wt.call(this,e,21)}function fD(e,t){Kn.call(this,e,t)}function Iz(e,t){Kn.call(this,e,t)}function Dtt(e,t){this.b=e,this.a=t}function dD(e,t){this.d=e,this.e=t}function Ltt(e,t){this.a=e,this.b=t}function jtt(e,t){this.a=e,this.b=t}function Ftt(e,t){this.a=e,this.b=t}function Btt(e,t){this.a=e,this.b=t}function gE(e,t){this.a=e,this.b=t}function Htt(e,t){this.b=e,this.a=t}function Vhe(e,t){this.b=e,this.a=t}function Ghe(e,t){Kn.call(this,e,t)}function Khe(e,t){Kn.call(this,e,t)}function S2(e,t){Kn.call(this,e,t)}function Tz(e,t){Kn.call(this,e,t)}function Pz(e,t){Kn.call(this,e,t)}function Oz(e,t){Kn.call(this,e,t)}function hD(e,t){Kn.call(this,e,t)}function zhe(e,t){this.b=e,this.a=t}function bD(e,t){Kn.call(this,e,t)}function qhe(e,t){this.b=e,this.a=t}function pD(e,t){Kn.call(this,e,t)}function Wtt(e,t){this.b=e,this.a=t}function Xhe(e,t){Kn.call(this,e,t)}function Nz(e,t){Kn.call(this,e,t)}function b8(e,t){Kn.call(this,e,t)}function yC(e,t,i){e.splice(t,0,i)}function Srn(e,t,i){e.Mb(i)&&t.Cd(i)}function Ern(e,t,i){t.Pe(e.a.Ye(i))}function krn(e,t,i){t.Dd(e.a.Ze(i))}function Rrn(e,t,i){t.Cd(e.a.Kb(i))}function Arn(e,t){return Gl(e.c,t)}function Crn(e,t){return Gl(e.e,t)}function gD(e,t){Kn.call(this,e,t)}function wD(e,t){Kn.call(this,e,t)}function vC(e,t){Kn.call(this,e,t)}function Jhe(e,t){Kn.call(this,e,t)}function Mi(e,t){Kn.call(this,e,t)}function mD(e,t){Kn.call(this,e,t)}function Utt(e,t){this.a=e,this.b=t}function Vtt(e,t){this.a=e,this.b=t}function Gtt(e,t){this.a=e,this.b=t}function Ktt(e,t){this.a=e,this.b=t}function ztt(e,t){this.a=e,this.b=t}function qtt(e,t){this.a=e,this.b=t}function Xtt(e,t){this.b=e,this.a=t}function Jtt(e,t){this.b=e,this.a=t}function Yhe(e,t){this.b=e,this.a=t}function yR(e,t){this.c=e,this.d=t}function Ytt(e,t){this.e=e,this.d=t}function Qtt(e,t){this.a=e,this.b=t}function Ztt(e,t){this.a=e,this.b=t}function ent(e,t){this.a=e,this.b=t}function tnt(e,t){this.b=e,this.a=t}function nnt(e,t){this.b=t,this.c=e}function yD(e,t){Kn.call(this,e,t)}function p8(e,t){Kn.call(this,e,t)}function Mz(e,t){Kn.call(this,e,t)}function Qhe(e,t){Kn.call(this,e,t)}function _C(e,t){Kn.call(this,e,t)}function Dz(e,t){Kn.call(this,e,t)}function Lz(e,t){Kn.call(this,e,t)}function g8(e,t){Kn.call(this,e,t)}function Zhe(e,t){Kn.call(this,e,t)}function jz(e,t){Kn.call(this,e,t)}function SC(e,t){Kn.call(this,e,t)}function ebe(e,t){Kn.call(this,e,t)}function EC(e,t){Kn.call(this,e,t)}function kC(e,t){Kn.call(this,e,t)}function ky(e,t){Kn.call(this,e,t)}function Fz(e,t){Kn.call(this,e,t)}function Bz(e,t){Kn.call(this,e,t)}function tbe(e,t){Kn.call(this,e,t)}function w8(e,t){Kn.call(this,e,t)}function E2(e,t){Kn.call(this,e,t)}function Hz(e,t){Kn.call(this,e,t)}function vD(e,t){Kn.call(this,e,t)}function m8(e,t){Kn.call(this,e,t)}function Ry(e,t){Kn.call(this,e,t)}function _D(e,t){Kn.call(this,e,t)}function nbe(e,t){Kn.call(this,e,t)}function Wz(e,t){Kn.call(this,e,t)}function Uz(e,t){Kn.call(this,e,t)}function Vz(e,t){Kn.call(this,e,t)}function Gz(e,t){Kn.call(this,e,t)}function Kz(e,t){Kn.call(this,e,t)}function zz(e,t){Kn.call(this,e,t)}function qz(e,t){Kn.call(this,e,t)}function rnt(e,t){this.b=e,this.a=t}function rbe(e,t){Kn.call(this,e,t)}function int(e,t){this.a=e,this.b=t}function ont(e,t){this.a=e,this.b=t}function snt(e,t){this.a=e,this.b=t}function ibe(e,t){Kn.call(this,e,t)}function obe(e,t){Kn.call(this,e,t)}function ant(e,t){this.a=e,this.b=t}function xrn(e,t){return AR(),t!=e}function y8(e){return Cn(e.a),e.b}function Xz(e){return MEn(e,e.c),e}function lnt(){return get(),new Hkt}function cnt(){ZD(),this.a=new Spe}function unt(){DF(),this.a=new Ni}function fnt(){$X(),this.b=new Ni}function dnt(e,t){this.b=e,this.d=t}function hnt(e,t){this.a=e,this.b=t}function bnt(e,t){this.a=e,this.b=t}function pnt(e,t){this.a=e,this.b=t}function gnt(e,t){this.b=e,this.a=t}function sbe(e,t){Kn.call(this,e,t)}function abe(e,t){Kn.call(this,e,t)}function SD(e,t){Kn.call(this,e,t)}function Cw(e,t){Kn.call(this,e,t)}function Jz(e,t){Kn.call(this,e,t)}function ED(e,t){Kn.call(this,e,t)}function lbe(e,t){Kn.call(this,e,t)}function cbe(e,t){Kn.call(this,e,t)}function v8(e,t){Kn.call(this,e,t)}function ube(e,t){Kn.call(this,e,t)}function Yz(e,t){Kn.call(this,e,t)}function kD(e,t){Kn.call(this,e,t)}function Qz(e,t){Kn.call(this,e,t)}function Zz(e,t){Kn.call(this,e,t)}function eq(e,t){Kn.call(this,e,t)}function tq(e,t){Kn.call(this,e,t)}function fbe(e,t){Kn.call(this,e,t)}function nq(e,t){Kn.call(this,e,t)}function dbe(e,t){Kn.call(this,e,t)}function _8(e,t){Kn.call(this,e,t)}function rq(e,t){Kn.call(this,e,t)}function hbe(e,t){Kn.call(this,e,t)}function S8(e,t){Kn.call(this,e,t)}function bbe(e,t){Kn.call(this,e,t)}function wnt(e,t){this.b=e,this.a=t}function mnt(e,t){this.b=e,this.a=t}function ynt(e,t){this.b=e,this.a=t}function vnt(e,t){this.b=e,this.a=t}function pbe(e,t){this.a=e,this.b=t}function _nt(e,t){this.a=e,this.b=t}function Snt(e,t){this.a=e,this.b=t}function Xe(e,t){this.a=e,this.b=t}function RC(e,t){Kn.call(this,e,t)}function E8(e,t){Kn.call(this,e,t)}function wE(e,t){Kn.call(this,e,t)}function AC(e,t){Kn.call(this,e,t)}function k8(e,t){Kn.call(this,e,t)}function iq(e,t){Kn.call(this,e,t)}function RD(e,t){Kn.call(this,e,t)}function CC(e,t){Kn.call(this,e,t)}function oq(e,t){Kn.call(this,e,t)}function AD(e,t){Kn.call(this,e,t)}function k2(e,t){Kn.call(this,e,t)}function R8(e,t){Kn.call(this,e,t)}function xC(e,t){Kn.call(this,e,t)}function $C(e,t){Kn.call(this,e,t)}function A8(e,t){Kn.call(this,e,t)}function CD(e,t){Kn.call(this,e,t)}function R2(e,t){Kn.call(this,e,t)}function sq(e,t){Kn.call(this,e,t)}function Ent(e,t){Kn.call(this,e,t)}function xD(e,t){Kn.call(this,e,t)}function knt(e,t){this.a=e,this.b=t}function Rnt(e,t){this.a=e,this.b=t}function Ant(e,t){this.a=e,this.b=t}function Cnt(e,t){this.a=e,this.b=t}function xnt(e,t){this.a=e,this.b=t}function $nt(e,t){this.a=e,this.b=t}function Ji(e,t){this.a=e,this.b=t}function Int(e,t){this.a=e,this.b=t}function Tnt(e,t){this.a=e,this.b=t}function Pnt(e,t){this.a=e,this.b=t}function Ont(e,t){this.a=e,this.b=t}function Nnt(e,t){this.a=e,this.b=t}function Mnt(e,t){this.a=e,this.b=t}function Dnt(e,t){this.b=e,this.a=t}function Lnt(e,t){this.b=e,this.a=t}function jnt(e,t){this.b=e,this.a=t}function Fnt(e,t){this.b=e,this.a=t}function Bnt(e,t){this.a=e,this.b=t}function Hnt(e,t){this.a=e,this.b=t}function $D(e,t){Kn.call(this,e,t)}function Wnt(e,t){this.a=e,this.b=t}function Unt(e,t){this.a=e,this.b=t}function mE(e,t){Kn.call(this,e,t)}function Vnt(e,t){this.f=e,this.c=t}function gbe(e,t){return Gl(e.g,t)}function $rn(e,t){return Gl(t.b,e)}function Gnt(e,t){return uY(e.a,t)}function Irn(e,t){return-e.b.af(t)}function Trn(e,t){e&&wr(p9,e,t)}function wbe(e,t){e.i=null,Rj(e,t)}function Prn(e,t,i){D1t(t,nQ(e,i))}function Orn(e,t,i){D1t(t,nQ(e,i))}function Nrn(e,t){lkn(e.a,u(t,58))}function Knt(e,t){ipn(e.a,u(t,12))}function ID(e,t){this.a=e,this.b=t}function znt(e,t){this.a=e,this.b=t}function qnt(e,t){this.a=e,this.b=t}function Xnt(e,t){this.a=e,this.b=t}function Jnt(e,t){this.a=e,this.b=t}function Ynt(e,t){this.d=e,this.b=t}function Qnt(e,t){this.e=e,this.a=t}function C8(e,t){this.b=e,this.c=t}function mbe(e,t){this.i=e,this.g=t}function ybe(e,t){this.d=e,this.e=t}function Mrn(e,t){ypn(new vn(e),t)}function TD(e){return V7(e.c,e.b)}function Ts(e){return e?e.md():null}function xe(e){return e??null}function fo(e){return typeof e===XQ}function Ay(e){return typeof e===o3}function Cy(e){return typeof e===p2e}function xw(e,t){return $a(e,t)==0}function PD(e,t){return $a(e,t)>=0}function IC(e,t){return $a(e,t)!=0}function OD(e,t){return Dgn(e.Kc(),t)}function Lg(e,t){return e.Rd().Xb(t)}function Znt(e){return Sc(e),e.d.gc()}function ND(e){return WC(e==null),e}function TC(e,t){return e.a+=""+t,e}function ps(e,t){return e.a+=""+t,e}function PC(e,t){return e.a+=""+t,e}function Fa(e,t){return e.a+=""+t,e}function lr(e,t){return e.a+=""+t,e}function vbe(e,t){return e.a+=""+t,e}function Drn(e){return""+(gn(e),e)}function ert(e){ac(this),b5(this,e)}function trt(){c1e(),pge.call(this)}function nrt(e,t){vge.call(this,e,t)}function rrt(e,t){vge.call(this,e,t)}function MD(e,t){vge.call(this,e,t)}function zo(e,t){gi(e,t,e.c.b,e.c)}function A2(e,t){gi(e,t,e.a,e.a.a)}function _be(e){return Kt(e,0),null}function irt(){this.b=0,this.a=!1}function ort(){this.b=0,this.a=!1}function srt(){this.b=new bE(Uy(12))}function art(){art=L,MRt=qn(wY())}function lrt(){lrt=L,rAt=qn(mmt())}function crt(){crt=L,Axt=qn(Yht())}function Sbe(){Sbe=L,Ude(),f3e=new Dn}function id(e){return e.a=0,e.b=0,e}function urt(e,t){return e.a=t.g+1,e}function aq(e,t){Py.call(this,e,t)}function Dt(e,t){di.call(this,e,t)}function C2(e,t){mbe.call(this,e,t)}function frt(e,t){T8.call(this,e,t)}function lq(e,t){i4.call(this,e,t)}function pr(e,t){lD(),wr(AU,e,t)}function drt(e,t){e.q.setTime(b0(t))}function Lrn(e){g.clearTimeout(e)}function jrn(e){return Qn(e),new OC(e)}function hrt(e,t){return xe(e)===xe(t)}function brt(e,t){return e.a.a.a.cc(t)}function cq(e,t){return _u(e.a,0,t)}function Ebe(e){return Hcn(u(e,74))}function yE(e){return Yi((gn(e),e))}function Frn(e){return Yi((gn(e),e))}function prt(e){return ul(e.l,e.m,e.h)}function kbe(e,t){return xa(e.a,t.a)}function Brn(e,t){return tat(e.a,t.a)}function Hrn(e,t){return Hr(e.a,t.a)}function ih(e,t){return e.indexOf(t)}function Wrn(e,t){return e.j[t.p]==2}function $w(e,t){return e==t?0:e?1:-1}function DD(e){return e<10?"0"+e:""+e}function Gs(e){return typeof e===p2e}function Urn(e){return e==Rm||e==Sv}function Vrn(e){return e==Rm||e==_v}function grt(e,t){return xa(e.g,t.g)}function Rbe(e){return Ns(e.b.b,e,0)}function wrt(){cL.call(this,0,0,0,0)}function oh(){Ade.call(this,new Ip)}function Abe(e,t){UR(e,0,e.length,t)}function Grn(e,t){return ot(e.a,t),t}function Krn(e,t){return Cf(),t.a+=e}function zrn(e,t){return Cf(),t.a+=e}function qrn(e,t){return Cf(),t.c+=e}function Xrn(e,t){return ot(e.c,t),e}function Cbe(e,t){return Zc(e.a,t),e}function mrt(e){this.a=lnt(),this.b=e}function yrt(e){this.a=lnt(),this.b=e}function qo(e){this.a=e.a,this.b=e.b}function OC(e){this.a=e,BK.call(this)}function vrt(e){this.a=e,BK.call(this)}function vE(){vu.call(this,0,0,0,0)}function LD(e){return Zc(new Li,e)}function _rt(e){return CL(u(e,123))}function Pc(e){return e.vh()&&e.wh()}function x2(e){return e!=Jd&&e!=k1}function xb(e){return e==xs||e==js}function $2(e){return e==ju||e==qd}function Srt(e){return e==F_||e==j_}function Jrn(e,t){return xa(e.g,t.g)}function Ert(e,t){return new i4(t,e)}function Yrn(e,t){return new i4(t,e)}function xbe(e){return mln(e.b.Kc(),e.a)}function uq(e,t){d4(e,t),YR(e,e.D)}function fq(e,t,i){wj(e,t),gj(e,i)}function I2(e,t,i){Yw(e,t),Jw(e,i)}function wu(e,t,i){hl(e,t),bl(e,i)}function x8(e,t,i){zR(e,t),XR(e,i)}function $8(e,t,i){qR(e,t),JR(e,i)}function krt(e,t,i){upe.call(this,e,t,i)}function $be(e){Vnt.call(this,e,!0)}function Rrt(){fD.call(this,"Tail",3)}function Art(){fD.call(this,"Head",1)}function jg(e){ph(),Pgn.call(this,e)}function Iw(e){cL.call(this,e,e,e,e)}function dq(e){e.c=Ne(io,Zt,1,0,5,1)}function Ibe(e){return e.b&&TQ(e),e.a}function Tbe(e){return e.b&&TQ(e),e.c}function Qrn(e,t){Ud||(e.b=t)}function Zrn(e,t){return e[e.length]=t}function ein(e,t){return e[e.length]=t}function tin(e,t){return Vy(t,Cd(e))}function nin(e,t){return Vy(t,Cd(e))}function rin(e,t){return Sj(lX(e.d),t)}function iin(e,t){return Sj(lX(e.g),t)}function oin(e,t){return Sj(lX(e.j),t)}function yo(e,t){di.call(this,e.b,t)}function sin(e,t){Wn(Na(e.a),zlt(t))}function ain(e,t){Wn(_c(e.a),qlt(t))}function lin(e,t,i){wu(i,i.i+e,i.j+t)}function Crt(e,t,i){pi(e.c[t.g],t.g,i)}function cin(e,t,i){u(e.c,71).Gi(t,i)}function hq(e,t,i){return pi(e,t,i),i}function xrt(e){dl(e.Sf(),new GXe(e))}function T2(e){return e!=null?zr(e):0}function uin(e){return e==null?0:zr(e)}function NC(e){Cr(),gw.call(this,e)}function $rt(e){this.a=e,Gpe.call(this,e)}function Rd(){Rd=L,g.Math.log(2)}function mu(){mu=L,fb=(Ptt(),BTt)}function Irt(){Irt=L,zre=new C5(aoe)}function er(){er=L,new Trt,new it}function Trt(){new Dn,new Dn,new Dn}function fin(){throw Z(new yp(dkt))}function din(){throw Z(new yp(dkt))}function hin(){throw Z(new yp(hkt))}function bin(){throw Z(new yp(hkt))}function bq(e){this.a=e,ZM.call(this,e)}function pq(e){this.a=e,ZM.call(this,e)}function Prt(e,t){Fw(),this.a=e,this.b=t}function pin(e,t){Qn(t),L2(e).Jc(new G)}function Pi(e,t){Kq(e.c,e.c.length,t)}function na(e){return e.at?1:0}function Obe(e,t){return $a(e,t)>0?e:t}function ul(e,t,i){return{l:e,m:t,h:i}}function gin(e,t){e.a!=null&&Knt(t,e.a)}function win(e){Wo(e,null),po(e,null)}function min(e,t,i){return wr(e.g,i,t)}function P2(e,t,i){return nme(t,i,e.c)}function yin(e,t,i){return wr(e.k,i,t)}function vin(e,t,i){return o5n(e,t,i),i}function _in(e,t){return qc(),t.n.b+=e}function Nrt(e){n1e.call(this),this.b=e}function Nbe(e){_pe.call(this),this.a=e}function Mrt(){fD.call(this,"Range",2)}function jD(e){this.b=e,this.a=new it}function Drt(e){this.b=new qLe,this.a=e}function Lrt(e){e.a=new ft,e.c=new ft}function jrt(e){e.a=new Dn,e.d=new Dn}function Frt(e){IX(e,null),TX(e,null)}function Brt(e,t){return a5n(e.a,t,null)}function Sin(e,t){return wr(e.a,t.a,t)}function Ro(e){return new Xe(e.a,e.b)}function Mbe(e){return new Xe(e.c,e.d)}function Ein(e){return new Xe(e.c,e.d)}function MC(e,t){return yCn(e.c,e.b,t)}function pe(e,t){return e!=null&&_Y(e,t)}function gq(e,t){return d1n(e.Kc(),t)!=-1}function FD(e){return e.Ob()?e.Pb():null}function kin(e){this.b=(Gt(),new JK(e))}function Dbe(e){this.a=e,Dn.call(this)}function Hrt(){T8.call(this,null,null)}function Wrt(){KD.call(this,null,null)}function Urt(){Kn.call(this,"INSTANCE",0)}function Vrt(){Mme(),this.a=new G5(Pke)}function Grt(e){return dh(e,0,e.length)}function Rin(e,t){return new cit(e.Kc(),t)}function Lbe(e,t){return e.a.Bc(t)!=null}function Krt(e,t){Hn(e),e.Gc(u(t,15))}function Ain(e,t,i){e.c.bd(t,u(i,136))}function Cin(e,t,i){e.c.Ui(t,u(i,136))}function zrt(e,t){e.c&&(ige(t),ylt(t))}function xin(e,t){e.q.setHours(t),J5(e,t)}function $in(e,t){Ow(t,e.a.a.a,e.a.a.b)}function Iin(e,t,i,s){pi(e.a[t.g],i.g,s)}function wq(e,t,i){return e.a[t.g][i.g]}function Tin(e,t){return e.e[t.c.p][t.p]}function Pin(e,t){return e.c[t.c.p][t.p]}function Ad(e,t){return e.a[t.c.p][t.p]}function Oin(e,t){return e.j[t.p]=V3n(t)}function mq(e,t){return e.a.Bc(t)!=null}function Nin(e,t){return Re(Oe(t.a))<=e}function Min(e,t){return Re(Oe(t.a))>=e}function Din(e,t){return H1e(e.f,t.Pg())}function _E(e,t){return e.a*t.a+e.b*t.b}function Lin(e,t){return e.a0?t/(e*e):t*100}function lon(e,t){return e>0?t*t/e:t*t*100}function xy(e,t){return u(Od(e.a,t),34)}function con(e,t){return t1(),Ht(e,t.e,t)}function uon(e,t,i){return oD(),i.Mg(e,t)}function fon(e){return jb(),e.e.a+e.f.a/2}function don(e,t,i){return jb(),i.e.a-e*t}function hon(e){return jb(),e.e.b+e.f.b/2}function bon(e,t,i){return jb(),i.e.b-e*t}function Eit(e){e.d=new vit(e),e.e=new Dn}function kit(){this.a=new Gw,this.b=new Gw}function Rit(e){this.c=e,this.a=1,this.b=1}function Ait(e){zQ(),HQe(this),this.Ff(e)}function pon(e,t,i){rj(),e.pf(t)&&i.Cd(e)}function gon(e,t,i){return ot(t,Lpt(e,i))}function Ow(e,t,i){return e.a+=t,e.b+=i,e}function won(e,t,i){return e.a*=t,e.b*=i,e}function tpe(e,t){return e.a=t.a,e.b=t.b,e}function zD(e){return e.a=-e.a,e.b=-e.b,e}function FC(e,t,i){return e.a-=t,e.b-=i,e}function Cit(e){ei.call(this),u5(this,e)}function xit(){Kn.call(this,"GROW_TREE",0)}function $it(){Kn.call(this,"POLYOMINO",0)}function Nc(e,t,i){ql.call(this,e,t,i,2)}function mon(e,t,i){R5(Na(e.a),t,zlt(i))}function Iit(e,t){wC(),T8.call(this,e,t)}function npe(e,t){kp(),KD.call(this,e,t)}function Tit(e,t){kp(),npe.call(this,e,t)}function Pit(e,t){kp(),KD.call(this,e,t)}function yon(e,t){return e.c.Fc(u(t,136))}function von(e,t,i){R5(_c(e.a),t,qlt(i))}function Oit(e){this.c=e,hl(e,0),bl(e,0)}function kq(e,t){mu(),dL.call(this,e,t)}function Nit(e,t){mu(),kq.call(this,e,t)}function rpe(e,t){mu(),kq.call(this,e,t)}function ipe(e,t){mu(),dL.call(this,e,t)}function Mit(e,t){mu(),rpe.call(this,e,t)}function Dit(e,t){mu(),ipe.call(this,e,t)}function Lit(e,t){mu(),dL.call(this,e,t)}function _on(e,t,i){return t.zl(e.e,e.c,i)}function Son(e,t,i){return t.Al(e.e,e.c,i)}function ope(e,t,i){return qF(w7(e,t),i)}function Rq(e,t){return Jg(e.e,u(t,54))}function Eon(e){return e==null?null:q5n(e)}function kon(e){return e==null?null:H_n(e)}function Ron(e){return e==null?null:zs(e)}function Aon(e){return e==null?null:zs(e)}function ht(e){return WC(e==null||Ay(e)),e}function Oe(e){return WC(e==null||Cy(e)),e}function tr(e){return WC(e==null||fo(e)),e}function $b(e){e.o==null&&y3n(e)}function spe(e){if(!e)throw Z(new n8)}function Con(e){if(!e)throw Z(new tz)}function Cn(e){if(!e)throw Z(new ea)}function $y(e){if(!e)throw Z(new Wl)}function jit(e){if(!e)throw Z(new gu)}function kR(){kR=L,w9=new yZe,new vZe}function D2(){D2=L,W_=new jr("root")}function ape(){vht.call(this),this.Bb|=ts}function xon(e,t){this.d=e,mXe(this),this.b=t}function lpe(e,t){QX.call(this,e),this.a=t}function cpe(e,t){QX.call(this,e),this.a=t}function upe(e,t,i){ZL.call(this,e,t,i,null)}function Fit(e,t,i){ZL.call(this,e,t,i,null)}function N8(e,t){this.c=e,gR.call(this,e,t)}function BC(e,t){this.a=e,N8.call(this,e,t)}function fpe(e){this.q=new g.Date(b0(e))}function Bit(e){return e>8?0:e+1}function Hit(e,t){Ud||ot(e.a,t)}function $on(e,t){return d8(),r4(t.d.i,e)}function Ion(e,t){return VE(),new wyt(t,e)}function Ton(e,t,i){return e.Ne(t,i)<=0?i:t}function Pon(e,t,i){return e.Ne(t,i)<=0?t:i}function Oon(e,t){return u(Od(e.b,t),143)}function Non(e,t){return u(Od(e.c,t),233)}function Aq(e){return u(gt(e.a,e.b),294)}function Wit(e){return new Xe(e.c,e.d+e.a)}function Uit(e){return gn(e),e?1231:1237}function Vit(e){return qc(),Srt(u(e,203))}function Iy(){Iy=L,ske=Tt((jc(),nw))}function Mon(e,t){t.a?FEn(e,t):mq(e.a,t.b)}function M8(e,t,i){++e.j,e.tj(),YX(e,t,i)}function Git(e,t,i){++e.j,e.qj(t,e.Zi(t,i))}function Kit(e,t,i){var s;s=e.fd(t),s.Rb(i)}function dpe(e,t,i){return i=nu(e,t,6,i),i}function hpe(e,t,i){return i=nu(e,t,3,i),i}function bpe(e,t,i){return i=nu(e,t,9,i),i}function ah(e,t){return Q8(t,j2e),e.f=t,e}function ppe(e,t){return(t&xr)%e.d.length}function zit(e,t,i){return qve(e.c,e.b,t,i)}function qit(e,t){this.c=e,Xw.call(this,t)}function Xit(e,t){this.a=e,OQe.call(this,t)}function D8(e,t){this.a=e,OQe.call(this,t)}function di(e,t){jr.call(this,e),this.a=t}function gpe(e,t){Fde.call(this,e),this.a=t}function Cq(e,t){Fde.call(this,e),this.a=t}function Don(e){Jwe.call(this,0,0),this.f=e}function Jit(e,t,i){return e.a+=dh(t,0,i),e}function L8(e){return!e.a&&(e.a=new qe),e.a}function wpe(e,t){var i;return i=e.e,e.e=t,i}function mpe(e,t){var i;return i=t,!!e.Fe(i)}function Lon(e,t){return on(),e==t?0:e?1:-1}function Ty(e,t){e.a.bd(e.b,t),++e.b,e.c=-1}function j8(e){e.b?j8(e.b):e.f.c.zc(e.e,e.d)}function Yit(e){ac(e.e),e.d.b=e.d,e.d.a=e.d}function jon(e,t,i){i0(),pXe(e,t.Ve(e.a,i))}function ype(e,t,i){return TE(e,u(t,22),i)}function Af(e,t){return qM(new Array(t),e)}function Fon(e){return Yn(Bg(e,32))^Yn(e)}function xq(e){return String.fromCharCode(e)}function Bon(e){return e==null?null:e.message}function Hon(e,t,i){return e.apply(t,i)}function Won(e,t){var i;i=e[CZ],i.call(e,t)}function Uon(e,t){var i;i=e[CZ],i.call(e,t)}function Von(e,t){return d8(),!r4(t.d.i,e)}function vpe(e,t,i,s){cL.call(this,e,t,i,s)}function Qit(){qD.call(this),this.a=new mo}function _pe(){this.n=new mo,this.o=new mo}function Zit(){this.b=new mo,this.c=new it}function eot(){this.a=new it,this.b=new it}function tot(){this.a=new Ufe,this.b=new YQe}function Spe(){this.b=new Ip,this.a=new Ip}function not(){this.b=new Ni,this.a=new Ni}function rot(){this.b=new Dn,this.a=new Dn}function iot(){this.b=new Iet,this.a=new tUe}function oot(){this.a=new hqe,this.b=new KHe}function sot(){this.a=new it,this.d=new it}function qD(){this.n=new aE,this.i=new vE}function aot(e){this.a=(Qc(e,uv),new nl(e))}function lot(e){this.a=(Qc(e,uv),new nl(e))}function Gon(e){return e<100?null:new Og(e)}function Kon(e,t){return e.n.a=(gn(t),t+10)}function zon(e,t){return e.n.a=(gn(t),t+10)}function qon(e,t){return t==e||A4(TF(t),e)}function cot(e,t){return wr(e.a,t,"")==null}function Xon(e,t){var i;return i=t.qi(e.a),i}function $r(e,t){return e.a+=t.a,e.b+=t.b,e}function no(e,t){return e.a-=t.a,e.b-=t.b,e}function Jon(e){return _y(e.j.c,0),e.a=-1,e}function Epe(e,t,i){return i=nu(e,t,11,i),i}function Yon(e,t,i){i!=null&&Ej(t,PY(e,i))}function Qon(e,t,i){i!=null&&kj(t,PY(e,i))}function kE(e,t,i,s){We.call(this,e,t,i,s)}function kpe(e,t,i,s){We.call(this,e,t,i,s)}function uot(e,t,i,s){kpe.call(this,e,t,i,s)}function fot(e,t,i,s){yL.call(this,e,t,i,s)}function $q(e,t,i,s){yL.call(this,e,t,i,s)}function Rpe(e,t,i,s){yL.call(this,e,t,i,s)}function dot(e,t,i,s){$q.call(this,e,t,i,s)}function Ape(e,t,i,s){$q.call(this,e,t,i,s)}function Xt(e,t,i,s){Rpe.call(this,e,t,i,s)}function hot(e,t,i,s){Ape.call(this,e,t,i,s)}function bot(e,t,i,s){kge.call(this,e,t,i,s)}function Py(e,t){vs.call(this,Rx+e+L0+t)}function Cpe(e,t){return e.jk().wi().ri(e,t)}function xpe(e,t){return e.jk().wi().ti(e,t)}function pot(e,t){return gn(e),xe(e)===xe(t)}function Ft(e,t){return gn(e),xe(e)===xe(t)}function Zon(e,t){return e.b.Bd(new jtt(e,t))}function esn(e,t){return e.b.Bd(new Ftt(e,t))}function got(e,t){return e.b.Bd(new Btt(e,t))}function tsn(e,t){return e.e=u(e.d.Kb(t),159)}function $pe(e,t,i){return e.lastIndexOf(t,i)}function nsn(e,t,i){return Hr(e[t.a],e[i.a])}function rsn(e,t){return Ue(t,(dt(),$O),e)}function isn(e,t){return xa(t.a.d.p,e.a.d.p)}function osn(e,t){return xa(e.a.d.p,t.a.d.p)}function ssn(e,t){return Hr(e.c-e.s,t.c-t.s)}function asn(e,t){return Hr(e.b.e.a,t.b.e.a)}function lsn(e,t){return Hr(e.c.e.a,t.c.e.a)}function wot(e){return e.c?Ns(e.c.a,e,0):-1}function RE(e){return e==tw||e==cb||e==Ja}function Ipe(e,t){this.c=e,nX.call(this,e,t)}function mot(e,t,i){this.a=e,Qbe.call(this,t,i)}function yot(e){this.c=e,MD.call(this,xP,0)}function vot(e,t,i){this.c=t,this.b=i,this.a=e}function F8(e){AR(),this.d=e,this.a=new N2}function _ot(e){lh(),this.a=(Gt(),new uR(e))}function csn(e,t){xb(e.f)?f3n(e,t):W2n(e,t)}function Sot(e,t){Sln.call(this,e,e.length,t)}function usn(e,t){Ud||t&&(e.d=t)}function Eot(e,t){return pe(t,15)&&Ymt(e.c,t)}function fsn(e,t,i){return u(e.c,71).Wk(t,i)}function XD(e,t,i){return u(e.c,71).Xk(t,i)}function dsn(e,t,i){return _on(e,u(t,343),i)}function Tpe(e,t,i){return Son(e,u(t,343),i)}function hsn(e,t,i){return V1t(e,u(t,343),i)}function kot(e,t,i){return t_n(e,u(t,343),i)}function HC(e,t){return t==null?null:qy(e.b,t)}function Ppe(e){return Cy(e)?(gn(e),e):e.ue()}function JD(e){return!isNaN(e)&&!isFinite(e)}function Iq(e){Lrt(this),zc(this),Eo(this,e)}function sc(e){dq(this),qpe(this.c,0,e.Pc())}function yu(e,t,i){this.a=e,this.b=t,this.c=i}function Rot(e,t,i){this.a=e,this.b=t,this.c=i}function Aot(e,t,i){this.d=e,this.b=i,this.a=t}function Cot(e){this.a=e,Cb(),Ra(Date.now())}function xot(e){Dc(e.a),z1e(e.c,e.b),e.b=null}function Tq(){Tq=L,O3e=new st,Wkt=new at}function $ot(){$ot=L,GTt=Ne(io,Zt,1,0,5,1)}function Iot(){Iot=L,c8t=Ne(io,Zt,1,0,5,1)}function Ope(){Ope=L,u8t=Ne(io,Zt,1,0,5,1)}function lh(){lh=L,new Wde((Gt(),Gt(),Qo))}function bsn(e){return VR(),zn((Dft(),Gkt),e)}function psn(e){return uc(),zn((Aft(),Ykt),e)}function gsn(e){return rF(),zn((fut(),rRt),e)}function wsn(e){return uj(),zn((dut(),iRt),e)}function msn(e){return FF(),zn((fbt(),oRt),e)}function ysn(e){return ud(),zn((kft(),lRt),e)}function vsn(e){return cc(),zn((Eft(),uRt),e)}function _sn(e){return Ol(),zn((Rft(),dRt),e)}function Ssn(e){return ZF(),zn((art(),MRt),e)}function Esn(e){return tm(),zn((jft(),LRt),e)}function ksn(e){return JE(),zn((Bft(),FRt),e)}function Rsn(e){return P5(),zn((Fft(),WRt),e)}function Asn(e){return rD(),zn((Lct(),URt),e)}function Csn(e){return fj(),zn((hut(),s4t),e)}function xsn(e){return l5(),zn((Cft(),P4t),e)}function $sn(e){return Mo(),zn((_dt(),D4t),e)}function Isn(e){return s4(),zn((Wft(),H4t),e)}function Tsn(e){return k0(),zn((Hft(),z4t),e)}function Npe(e,t){if(!e)throw Z(new un(t))}function RR(e){if(!e)throw Z(new _s(g2e))}function Pq(e,t){if(e!=t)throw Z(new gu)}function Tot(e,t,i){this.a=e,this.b=t,this.c=i}function Mpe(e,t,i){this.a=e,this.b=t,this.c=i}function Pot(e,t,i){this.a=e,this.b=t,this.c=i}function YD(e,t,i){this.b=e,this.a=t,this.c=i}function Dpe(e,t,i){this.b=e,this.c=t,this.a=i}function Lpe(e,t,i){this.a=e,this.b=t,this.c=i}function QD(e,t,i){this.e=t,this.b=e,this.d=i}function Oot(e,t,i){this.b=e,this.a=t,this.c=i}function Psn(e,t,i){return i0(),e.a.Yd(t,i),t}function Oq(e){var t;return t=new Bs,t.e=e,t}function jpe(e){var t;return t=new nZe,t.b=e,t}function B8(){B8=L,$H=new _Fe,IH=new SFe}function ZD(){ZD=L,lAt=new XFe,aAt=new JFe}function Cf(){Cf=L,hAt=new iHe,bAt=new oHe}function Osn(e){return Zw(),zn((ift(),kAt),e)}function Nsn(e){return Go(),zn((lrt(),rAt),e)}function Msn(e){return Dj(),zn((Vft(),sAt),e)}function Dsn(e){return Md(),zn((Uft(),wAt),e)}function Lsn(e){return Zy(),zn((Sdt(),yAt),e)}function jsn(e){return LF(),zn((Jht(),RAt),e)}function Fsn(e){return e3(),zn((zdt(),AAt),e)}function Bsn(e){return nj(),zn((vut(),CAt),e)}function Hsn(e){return f5(),zn((nft(),xAt),e)}function Wsn(e){return yj(),zn((rft(),$At),e)}function Usn(e){return Bp(),zn((Edt(),IAt),e)}function Vsn(e){return S7(),zn((gut(),TAt),e)}function Gsn(e){return x4(),zn((Jdt(),LAt),e)}function Ksn(e){return cs(),zn((Cbt(),jAt),e)}function zsn(e){return o4(),zn((sft(),FAt),e)}function qsn(e){return Lb(),zn((aft(),HAt),e)}function Xsn(e){return GL(),zn((put(),WAt),e)}function Jsn(e){return tP(),zn((Xdt(),DAt),e)}function Ysn(e){return _0(),zn((oft(),OAt),e)}function Qsn(e){return kF(),zn((qdt(),NAt),e)}function Zsn(e){return p7(),zn((wut(),MAt),e)}function ean(e){return Iu(),zn((Rdt(),UAt),e)}function tan(e){return Gp(),zn((lbt(),h5t),e)}function nan(e){return _5(),zn((lft(),b5t),e)}function ran(e){return Yy(),zn((Gft(),p5t),e)}function ian(e){return T5(),zn((kdt(),g5t),e)}function oan(e){return Yu(),zn((xbt(),w5t),e)}function san(e){return hh(),zn((Kft(),m5t),e)}function aan(e){return v7(),zn((mut(),y5t),e)}function lan(e){return ls(),zn((fft(),_5t),e)}function can(e){return Oj(),zn((cft(),S5t),e)}function uan(e){return m5(),zn((uft(),E5t),e)}function fan(e){return h4(),zn((dft(),k5t),e)}function dan(e){return mj(),zn((hft(),R5t),e)}function han(e){return Lj(),zn((bft(),A5t),e)}function ban(e){return Qw(),zn((Sft(),W5t),e)}function pan(e){return o5(),zn((yut(),z5t),e)}function gan(e){return uh(),zn((Eut(),ext),e)}function wan(e){return xd(),zn((kut(),nxt),e)}function man(e){return ad(),zn((Rut(),wxt),e)}function yan(e){return Kw(),zn((Aut(),kxt),e)}function van(e){return ZE(),zn((Zft(),Rxt),e)}function _an(e){return q5(),zn((crt(),Axt),e)}function San(e){return y5(),zn((pft(),Cxt),e)}function Ean(e){return v5(),zn((Qft(),Jxt),e)}function kan(e){return WL(),zn((_ut(),Yxt),e)}function Ran(e){return Aj(),zn((Sut(),n$t),e)}function Aan(e){return vF(),zn((Adt(),i$t),e)}function Can(e){return D7(),zn((gft(),s$t),e)}function xan(e){return ij(),zn((Cut(),o$t),e)}function $an(e){return hF(),zn((Yft(),A$t),e)}function Ian(e){return Pj(),zn((wft(),C$t),e)}function Tan(e){return Qj(),zn((mft(),x$t),e)}function Pan(e){return cF(),zn((yft(),I$t),e)}function Oan(e){return Kj(),zn((vft(),O$t),e)}function Nan(e){return JL(),zn((xut(),eIt),e)}function Man(e){return e4(),zn((but(),nAt),e)}function Dan(e){return hn(),zn((Ydt(),Y4t),e)}function Lan(e){return oj(),zn((_ft(),tIt),e)}function jan(e){return $J(),zn(($ut(),nIt),e)}function Fan(e){return V5(),zn((Cdt(),iIt),e)}function Ban(e){return sD(),zn((Gct(),sIt),e)}function Han(e){return W7(),zn(($ft(),oIt),e)}function Wan(e){return aD(),zn((Kct(),lIt),e)}function Uan(e){return u7(),zn((Iut(),cIt),e)}function Van(e){return rP(),zn((xdt(),uIt),e)}function Gan(e){return bC(),zn((zct(),AIt),e)}function Kan(e){return P7(),zn((Tut(),CIt),e)}function zan(e){return dd(),zn((Idt(),OIt),e)}function qan(e){return Vp(),zn((qht(),MIt),e)}function Xan(e){return Kh(),zn((Qdt(),DIt),e)}function Jan(e){return A0(),zn((Zdt(),WIt),e)}function Yan(e){return Fi(),zn(($dt(),aTt),e)}function Qan(e){return Nd(),zn((Ift(),lTt),e)}function Zan(e){return Hb(),zn((edt(),cTt),e)}function eln(e){return SF(),zn((eht(),uTt),e)}function tln(e){return Bb(),zn((xft(),dTt),e)}function nln(e){return eu(),zn((tdt(),bTt),e)}function rln(e){return rv(),zn((ubt(),pTt),e)}function iln(e){return q2(),zn((Tdt(),gTt),e)}function oln(e){return go(),zn((tht(),wTt),e)}function sln(e){return fc(),zn((nht(),mTt),e)}function aln(e){return ct(),zn((Pdt(),yTt),e)}function lln(e){return jc(),zn((ndt(),kTt),e)}function cln(e){return kc(),zn((cbt(),RTt),e)}function uln(e){return zE(),zn((Tft(),ATt),e)}function fln(e,t){return gn(e),e+(gn(t),t)}function dln(e){return Nq(),zn((Put(),CTt),e)}function hln(e){return qj(),zn((rdt(),xTt),e)}function bln(e){return jj(),zn((idt(),TTt),e)}function AR(){AR=L,i6e=(ct(),bn),MW=yn}function Nq(){Nq=L,_xe=new cst,Sxe=new qst}function pln(e){return!e.e&&(e.e=new it),e.e}function Mq(e,t){this.c=e,this.a=t,this.b=t-e}function Not(e,t,i){this.a=e,this.b=t,this.c=i}function Dq(e,t,i){this.a=e,this.b=t,this.c=i}function Fpe(e,t,i){this.a=e,this.b=t,this.c=i}function Bpe(e,t,i){this.a=e,this.b=t,this.c=i}function Mot(e,t,i){this.a=e,this.b=t,this.c=i}function Dot(e,t,i){this.a=e,this.b=t,this.c=i}function Ap(e,t,i){this.e=e,this.a=t,this.c=i}function Lot(e,t,i){mu(),i1e.call(this,e,t,i)}function Lq(e,t,i){mu(),Hge.call(this,e,t,i)}function Hpe(e,t,i){mu(),Hge.call(this,e,t,i)}function Wpe(e,t,i){mu(),Hge.call(this,e,t,i)}function jot(e,t,i){mu(),Lq.call(this,e,t,i)}function Upe(e,t,i){mu(),Lq.call(this,e,t,i)}function Fot(e,t,i){mu(),Upe.call(this,e,t,i)}function Bot(e,t,i){mu(),Hpe.call(this,e,t,i)}function Hot(e,t,i){mu(),Wpe.call(this,e,t,i)}function jq(e){cL.call(this,e.d,e.c,e.a,e.b)}function Vpe(e){cL.call(this,e.d,e.c,e.a,e.b)}function Gpe(e){this.d=e,mXe(this),this.b=bcn(e.d)}function gln(e){return I4(),zn((Xht(),VTt),e)}function H8(e,t){return Qn(e),Qn(t),new Xet(e,t)}function AE(e,t){return Qn(e),Qn(t),new est(e,t)}function wln(e,t){return Qn(e),Qn(t),new tst(e,t)}function mln(e,t){return Qn(e),Qn(t),new itt(e,t)}function Fq(e){return Cn(e.b!=0),Ru(e,e.a.a)}function yln(e){return Cn(e.b!=0),Ru(e,e.c.b)}function vln(e){return!e.c&&(e.c=new tR),e.c}function CR(e){var t;return t=new it,cJ(t,e),t}function _ln(e){var t;return t=new Ni,cJ(t,e),t}function Wot(e){var t;return t=new zde,SJ(t,e),t}function W8(e){var t;return t=new ei,SJ(t,e),t}function u(e,t){return WC(e==null||_Y(e,t)),e}function Sln(e,t,i){Hst.call(this,t,i),this.a=e}function Uot(e,t){this.c=e,this.b=t,this.a=!1}function Vot(){this.a=";,;",this.b="",this.c=""}function Got(e,t,i){this.b=e,nrt.call(this,t,i)}function Kpe(e,t,i){this.c=e,dD.call(this,t,i)}function zpe(e,t,i){yR.call(this,e,t),this.b=i}function qpe(e,t,i){Bye(i,0,e,t,i.length,!1)}function Bh(e,t,i,s,a){e.b=t,e.c=i,e.d=s,e.a=a}function Xpe(e,t,i,s,a){e.d=t,e.c=i,e.a=s,e.b=a}function Eln(e,t){t&&(e.b=t,e.a=(Wg(t),t.a))}function U8(e,t){if(!e)throw Z(new un(t))}function CE(e,t){if(!e)throw Z(new _s(t))}function Jpe(e,t){if(!e)throw Z(new YZe(t))}function kln(e,t){return iD(),xa(e.d.p,t.d.p)}function Rln(e,t){return jb(),Hr(e.e.b,t.e.b)}function Aln(e,t){return jb(),Hr(e.e.a,t.e.a)}function Cln(e,t){return xa(sst(e.d),sst(t.d))}function eL(e,t){return t&&kL(e,t.d)?t:null}function xln(e,t){return t==(ct(),bn)?e.c:e.d}function Ype(e){return zg(Ccn(Gs(e)?qu(e):e))}function $ln(e){return new Xe(e.c+e.b,e.d+e.a)}function Kot(e){return e!=null&&!sY(e,F$,B$)}function Iln(e,t){return(kpt(e)<<4|kpt(t))&Bi}function zot(e,t,i,s,a){e.c=t,e.d=i,e.b=s,e.a=a}function Qpe(e){var t,i;t=e.b,i=e.c,e.b=i,e.c=t}function Zpe(e){var t,i;i=e.d,t=e.a,e.d=t,e.a=i}function Tln(e,t){var i;return i=e.c,T0e(e,t),i}function ege(e,t){return t<0?e.g=-1:e.g=t,e}function tL(e,t){return Fpn(e),e.a*=t,e.b*=t,e}function qot(e,t,i){Wdt.call(this,t,i),this.d=e}function V8(e,t,i){ybe.call(this,e,t),this.c=i}function nL(e,t,i){ybe.call(this,e,t),this.c=i}function tge(e){Ope(),IM.call(this),this.ci(e)}function Xot(){HR(),Qcn.call(this,(Mg(),uf))}function Jot(e){return Cr(),new Hh(0,e)}function Yot(){Yot=L,Soe=(Gt(),new XK(Rte))}function rL(){rL=L,new dme((cz(),Lte),(lz(),Dte))}function Qot(){Qot=L,y3e=Ne(Io,tt,17,256,0,1)}function Zot(){this.b=Re(Oe(ut((Nf(),gne))))}function Bq(e){this.b=e,this.a=s0(this.b.a).Od()}function est(e,t){this.b=e,this.a=t,BK.call(this)}function tst(e,t){this.a=e,this.b=t,BK.call(this)}function nst(e,t,i){this.a=e,C2.call(this,t,i)}function rst(e,t,i){this.a=e,C2.call(this,t,i)}function xR(e,t,i){var s;s=new My(i),cd(e,t,s)}function nge(e,t,i){var s;return s=e[t],e[t]=i,s}function iL(e){var t;return t=e.slice(),nJ(t,e)}function oL(e){var t;return t=e.n,e.a.b+t.d+t.a}function ist(e){var t;return t=e.n,e.e.b+t.d+t.a}function rge(e){var t;return t=e.n,e.e.a+t.b+t.c}function ige(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function sr(e,t){return gi(e,t,e.c.b,e.c),!0}function Pln(e){return e.a?e.a:bX(e)}function Oln(e){return ME(),zh(e)==oi(Zg(e))}function Nln(e){return ME(),Zg(e)==oi(zh(e))}function Nw(e,t){return D5(e,new yR(t.a,t.b))}function Mln(e,t){return AL(),$Y(e,t),new Aat(e,t)}function Dln(e,t){return e.c=t)throw Z(new ehe)}function Oy(e,t){return B7(e,(gn(t),new RXe(t)))}function $E(e,t){return B7(e,(gn(t),new AXe(t)))}function Ust(e,t,i){return l$n(e,u(t,12),u(i,12))}function Vst(e){return Xl(),u(e,12).g.c.length!=0}function Gst(e){return Xl(),u(e,12).e.c.length!=0}function vcn(e,t){return VE(),Hr(t.a.o.a,e.a.o.a)}function _cn(e,t){t.Bb&Aa&&!e.a.o&&(e.a.o=t)}function Scn(e,t){t.Ug("General 'Rotator",1),D5n(e)}function Ecn(e,t,i){t.qf(i,Re(Oe(_n(e.b,i)))*e.a)}function Kst(e,t,i){return i_(),t4(e,t)&&t4(e,i)}function KC(e){return fc(),!e.Hc(tp)&&!e.Hc(R1)}function kcn(e){return e.e?G1e(e.e):null}function zC(e){return Gs(e)?""+e:Jmt(e)}function Ege(e){var t;for(t=e;t.f;)t=t.f;return t}function Rcn(e,t,i){return pi(t,0,cge(t[0],i[0])),t}function Cp(e,t,i,s){var a;a=e.i,a.i=t,a.a=i,a.b=s}function We(e,t,i,s){Di.call(this,e,t,i),this.b=s}function lo(e,t,i,s,a){eJ.call(this,e,t,i,s,a,-1)}function qC(e,t,i,s,a){d7.call(this,e,t,i,s,a,-1)}function yL(e,t,i,s){V8.call(this,e,t,i),this.b=s}function zst(e){Vnt.call(this,e,!1),this.a=!1}function qst(){Ent.call(this,"LOOKAHEAD_LAYOUT",1)}function Xst(e){this.b=e,SE.call(this,e),eit(this)}function Jst(e){this.b=e,P8.call(this,e),tit(this)}function Ny(e,t,i){this.a=e,kE.call(this,t,i,5,6)}function kge(e,t,i,s){this.b=e,Di.call(this,t,i,s)}function Yst(e,t){this.b=e,tXe.call(this,e.b),this.a=t}function Qst(e){this.a=Mgt(e.a),this.b=new sc(e.b)}function Rge(e,t){Fw(),nrn.call(this,e,Wj(new oc(t)))}function vL(e,t){return Cr(),new Bge(e,t,0)}function Zq(e,t){return Cr(),new Bge(6,e,t)}function Ao(e,t){for(gn(t);e.Ob();)t.Cd(e.Pb())}function fl(e,t){return fo(t)?SX(e,t):!!as(e.f,t)}function eX(e,t){return t.Vh()?Jg(e.b,u(t,54)):t}function Acn(e,t){return Ft(e.substr(0,t.length),t)}function Wh(e){return new Sn(new Kbe(e.a.length,e.a))}function _L(e){return new Xe(e.c+e.b/2,e.d+e.a/2)}function Ccn(e){return ul(~e.l&Rc,~e.m&Rc,~e.h&qb)}function tX(e){return typeof e===kP||typeof e===JQ}function ac(e){e.f=new mrt(e),e.i=new yrt(e),++e.g}function Zst(e){if(!e)throw Z(new ea);return e.d}function IE(e){var t;return t=w5(e),Cn(t!=null),t}function xcn(e){var t;return t=V0n(e),Cn(t!=null),t}function IR(e,t){var i;return i=e.a.gc(),B1e(t,i),i-t}function Vi(e,t){var i;return i=e.a.zc(t,e),i==null}function K8(e,t){return e.a.zc(t,(on(),f1))==null}function Age(e){return new Lt(null,Ocn(e,e.length))}function Cge(e,t,i){return vvt(e,u(t,42),u(i,176))}function TE(e,t,i){return Tf(e.a,t),nge(e.b,t.g,i)}function $cn(e,t,i){$R(i,e.a.c.length),Eu(e.a,i,t)}function Ie(e,t,i,s){Ybt(t,i,e.length),Icn(e,t,i,s)}function Icn(e,t,i,s){var a;for(a=t;a0?g.Math.log(e/t):-100}function tat(e,t){return $a(e,t)<0?-1:$a(e,t)>0?1:0}function z8(e,t){Krt(e,pe(t,160)?t:u(t,2036).Rl())}function Tge(e,t){if(e==null)throw Z(new uE(t))}function Ocn(e,t){return Mpn(t,e.length),new lst(e,t)}function Pge(e,t){return t?Eo(e,t):!1}function Ncn(){return VM(),oe(re(_kt,1),Ve,549,0,[Bte])}function JC(e){return e.e==0?e:new l0(-e.e,e.d,e.a)}function Mcn(e,t){return Hr(e.c.c+e.c.b,t.c.c+t.c.b)}function q8(e,t){gi(e.d,t,e.b.b,e.b),++e.a,e.c=null}function nat(e,t){return e.c?nat(e.c,t):ot(e.b,t),e}function Dcn(e,t,i){var s;return s=Wy(e,t),jX(e,t,i),s}function rat(e,t,i){var s;for(s=0;s=e.g}function pi(e,t,i){return Con(i==null||_An(e,i)),e[t]=i}function Lge(e,t){return fn(t,e.length+1),e.substr(t)}function fX(e,t){for(gn(t);e.c=e?new Nhe:ogn(e-1)}function Co(e){return!e.a&&e.c?e.c.b:e.a}function Wge(e){return pe(e,616)?e:new Slt(e)}function Wg(e){e.c?Wg(e.c):(Yg(e),e.d=!0)}function ZC(e){e.c?e.c.$e():(e.d=!0,Ekn(e))}function Eat(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function kat(e){var t,i;return t=e.c.i.c,i=e.d.i.c,t==i}function tun(e,t){var i;i=e.Ih(t),i>=0?e.ki(i):Tye(e,t)}function Rat(e,t){e.c<0||e.b.b0;)e=e<<1|(e<0?1:0);return e}function Oat(e,t){var i;return i=new Ba(e),en(t.c,i),i}function Nat(e,t){e.u.Hc((fc(),tp))&&sEn(e,t),kbn(e,t)}function ka(e,t){return xe(e)===xe(t)||e!=null&&Tr(e,t)}function gs(e,t){return Gq(e.a,t)?e.b[u(t,22).g]:null}function bun(){return rD(),oe(re(cke,1),Ve,489,0,[cne])}function pun(){return sD(),oe(re(LCe,1),Ve,490,0,[Oie])}function gun(){return aD(),oe(re(aIt,1),Ve,558,0,[Nie])}function wun(){return bC(),oe(re(i5e,1),Ve,539,0,[zO])}function CL(e){return!e.n&&(e.n=new We(ys,e,1,7)),e.n}function hX(e){return!e.c&&(e.c=new We(gc,e,9,9)),e.c}function Kge(e){return!e.c&&(e.c=new Xt(Tn,e,5,8)),e.c}function mun(e){return!e.b&&(e.b=new Xt(Tn,e,4,7)),e.b}function X8(e){return e.j.c.length=0,qge(e.c),Jon(e.a),e}function MR(e){return e.e==uA&&Dtn(e,dmn(e.g,e.b)),e.e}function J8(e){return e.f==uA&&jtn(e,rvn(e.g,e.b)),e.f}function mr(e,t,i,s){return rbt(e,t,i,!1),Uj(e,s),e}function Mat(e,t){this.b=e,nX.call(this,e,t),eit(this)}function Dat(e,t){this.b=e,Ipe.call(this,e,t),tit(this)}function e5(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function zge(e,t){this.b=e,this.c=t,this.a=new pE(this.b)}function No(e,t){return fn(t,e.length),e.charCodeAt(t)}function yun(e,t){Nwe(e,Re(Fb(t,"x")),Re(Fb(t,"y")))}function vun(e,t){Nwe(e,Re(Fb(t,"x")),Re(Fb(t,"y")))}function Pr(e,t){return Yg(e),new Lt(e,new i0e(t,e.a))}function Ps(e,t){return Yg(e),new Lt(e,new U1e(t,e.a))}function Dy(e,t){return Yg(e),new lpe(e,new Gut(t,e.a))}function xL(e,t){return Yg(e),new cpe(e,new Kut(t,e.a))}function _un(e,t){return new slt(u(Qn(e),50),u(Qn(t),50))}function Sun(e,t){return Hr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function Lat(e,t,i){i.a?bl(e,t.b-e.f/2):hl(e,t.a-e.g/2)}function Eun(e,t){return Hr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function kun(e,t){return Lhe(),Hr((gn(e),e),(gn(t),t))}function Run(e){return e!=null&&c8(CU,e.toLowerCase())}function qge(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function L2(e){var t;return t=e.b,!t&&(e.b=t=new zqe(e)),t}function bX(e){var t;return t=cgn(e),t||null}function jat(e,t){var i,s;return i=e/t,s=Yi(i),i>s&&++s,s}function Aun(e,t,i){var s;s=u(e.d.Kb(i),159),s&&s.Nb(t)}function Cun(e,t,i){$6n(e.a,i),s1n(i),JEn(e.b,i),X6n(t,i)}function $L(e,t,i,s){this.a=e,this.c=t,this.b=i,this.d=s}function Xge(e,t,i,s){this.c=e,this.b=t,this.a=i,this.d=s}function Fat(e,t,i,s){this.c=e,this.b=t,this.d=i,this.a=s}function vu(e,t,i,s){this.c=e,this.d=t,this.b=i,this.a=s}function Bat(e,t,i,s){this.a=e,this.d=t,this.c=i,this.b=s}function pX(e,t,i,s){this.a=e,this.e=t,this.d=i,this.c=s}function Hat(e,t,i,s){this.a=e,this.c=t,this.d=i,this.b=s}function gX(e,t,i){this.a=S2e,this.d=e,this.b=t,this.c=i}function OE(e,t,i,s){Kn.call(this,e,t),this.a=i,this.b=s}function Wat(e,t){this.d=(gn(e),e),this.a=16449,this.c=t}function Uat(e){this.a=new it,this.e=Ne(Gn,tt,53,e,0,2)}function xun(e){e.Ug("No crossing minimization",1),e.Vg()}function Vat(){ta.call(this,"There is no more element.")}function Gat(e,t,i,s){this.a=e,this.b=t,this.c=i,this.d=s}function Kat(e,t,i,s){this.a=e,this.b=t,this.c=i,this.d=s}function u0(e,t,i,s){this.e=e,this.a=t,this.c=i,this.d=s}function zat(e,t,i,s){this.a=e,this.c=t,this.d=i,this.b=s}function qat(e,t,i,s){mu(),zut.call(this,t,i,s),this.a=e}function Xat(e,t,i,s){mu(),zut.call(this,t,i,s),this.a=e}function wX(e,t,i){var s,a;return s=l2e(e),a=t.ti(i,s),a}function Ib(e){var t,i;return i=(t=new ww,t),KR(i,e),i}function mX(e){var t,i;return i=(t=new ww,t),fye(i,e),i}function $un(e,t){var i;return i=_n(e.f,t),V0e(t,i),null}function Jat(e){return!e.b&&(e.b=new We(Ci,e,12,3)),e.b}function Yat(e){return WC(e==null||tX(e)&&e.Tm!==fe),e}function IL(e){return e.n&&(e.e!==Q2t&&e.je(),e.j=null),e}function DR(e){if(Sc(e.d),e.d.d!=e.c)throw Z(new gu)}function Jge(e){return Cn(e.b0&&$1t(this)}function Qat(e,t){this.a=e,xon.call(this,e,u(e.d,15).fd(t))}function Iun(e,t){return Hr(Kl(e)*Mc(e),Kl(t)*Mc(t))}function Tun(e,t){return Hr(Kl(e)*Mc(e),Kl(t)*Mc(t))}function Pun(e){return lm(e)&&bt(ht(Ge(e,(dt(),G0))))}function Oun(e,t){return Ht(e,u(U(t,(dt(),IA)),17),t)}function Nun(e,t){return u(U(e,(Je(),x3)),15).Fc(t),t}function Yge(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function Zat(e,t,i,s){this.b=e,this.c=s,MD.call(this,t,i)}function Mun(e,t,i){e.i=0,e.e=0,t!=i&&Dbt(e,t,i)}function Dun(e,t,i){e.i=0,e.e=0,t!=i&&Lbt(e,t,i)}function Lun(e,t,i){return hC(),uwn(u(_n(e.e,t),529),i)}function NE(e){var t;return t=e.f,t||(e.f=new gR(e,e.c))}function elt(e,t){return z2(e.j,t.s,t.c)+z2(t.e,e.s,e.c)}function tlt(e,t){e.e&&!e.e.a&&(BQe(e.e,t),tlt(e.e,t))}function nlt(e,t){e.d&&!e.d.a&&(BQe(e.d,t),nlt(e.d,t))}function jun(e,t){return-Hr(Kl(e)*Mc(e),Kl(t)*Mc(t))}function Fun(e){return u(e.ld(),149).Pg()+":"+zs(e.md())}function rlt(){YY(this,new cde),this.wb=(Hg(),sn),hR()}function ilt(e){this.b=new it,Gi(this.b,this.b),this.a=e}function Qge(e,t){new ei,this.a=new Ul,this.b=e,this.c=t}function Uw(){Uw=L,T3e=new Le,qte=new Le,P3e=new Ut}function Gt(){Gt=L,Qo=new me,nb=new Be,pH=new ze}function Zge(){Zge=L,eRt=new Ti,nRt=new bge,tRt=new to}function ME(){ME=L,EH=new it,hne=new Dn,dne=new it}function TL(e,t){if(e==null)throw Z(new uE(t));return e}function PL(e){return!e.a&&(e.a=new We(Er,e,10,11)),e.a}function Dr(e){return!e.q&&(e.q=new We(cf,e,11,10)),e.q}function Fe(e){return!e.s&&(e.s=new We(Fl,e,21,17)),e.s}function Bun(e){return Qn(e),Ggt(new Sn(kn(e.a.Kc(),new M)))}function Hun(e,t){return Lc(e),Lc(t),JZe(u(e,22),u(t,22))}function f0(e,t,i){var s,a;s=Ppe(i),a=new PM(s),cd(e,t,a)}function vX(e,t,i,s,a,c){d7.call(this,e,t,i,s,a,c?-2:-1)}function olt(e,t,i,s){ybe.call(this,t,i),this.b=e,this.a=s}function slt(e,t){lnn.call(this,new Qq(e)),this.a=e,this.b=t}function e1e(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function Wun(e){Cf();var t;t=u(e.g,10),t.n.a=e.d.c+t.d.b}function LR(){LR=L;var e,t;t=!Xwn(),e=new De,Ute=t?new be:e}function _X(e){return Gt(),pe(e,59)?new wz(e):new UD(e)}function OL(e){return pe(e,16)?new UC(u(e,16)):_ln(e.Kc())}function Uun(e){return new rit(e,e.e.Rd().gc()*e.c.Rd().gc())}function Vun(e){return new iit(e,e.e.Rd().gc()*e.c.Rd().gc())}function t1e(e){return e&&e.hashCode?e.hashCode():Pw(e)}function SX(e,t){return t==null?!!as(e.f,null):scn(e.i,t)}function Gun(e,t){var i;return i=Lbe(e.a,t),i&&(t.d=null),i}function alt(e,t,i){return e.f?e.f.ef(t,i):!1}function Y8(e,t,i,s){pi(e.c[t.g],i.g,s),pi(e.c[i.g],t.g,s)}function EX(e,t,i,s){pi(e.c[t.g],t.g,i),pi(e.b[t.g],t.g,s)}function Kun(e,t,i){return Re(Oe(i.a))<=e&&Re(Oe(i.b))>=t}function llt(e,t){this.g=e,this.d=oe(re(ib,1),zp,10,0,[t])}function clt(e){this.c=e,this.b=new Ep(u(Qn(new xi),50))}function ult(e){this.c=e,this.b=new Ep(u(Qn(new bje),50))}function flt(e){this.b=e,this.a=new Ep(u(Qn(new zLe),50))}function dlt(){this.b=new Ni,this.d=new ei,this.e=new the}function n1e(){this.c=new mo,this.d=new mo,this.e=new mo}function Vw(){this.a=new Ul,this.b=(Qc(3,uv),new nl(3))}function xp(e,t){this.e=e,this.a=io,this.b=dyt(t),this.c=t}function NL(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function hlt(e,t,i,s,a,c){this.a=e,pJ.call(this,t,i,s,a,c)}function blt(e,t,i,s,a,c){this.a=e,pJ.call(this,t,i,s,a,c)}function Ug(e,t,i,s,a,c,d){return new BX(e.e,t,i,s,a,c,d)}function zun(e,t,i){return i>=0&&Ft(e.substr(i,t.length),t)}function plt(e,t){return pe(t,149)&&Ft(e.b,u(t,149).Pg())}function qun(e,t){return e.a?t.Gh().Kc():u(t.Gh(),71).Ii()}function glt(e,t){var i;return i=e.b.Qc(t),uut(i,e.b.gc()),i}function Q8(e,t){if(e==null)throw Z(new uE(t));return e}function Os(e){return e.u||(vc(e),e.u=new Xit(e,e)),e.u}function kX(e){this.a=(Gt(),pe(e,59)?new wz(e):new UD(e))}function Tl(e){var t;return t=u(ln(e,16),29),t||e.ii()}function ML(e,t){var i;return i=r0(e.Rm),t==null?i:i+": "+t}function _u(e,t,i){return So(t,i,e.length),e.substr(t,i-t)}function wlt(e,t){qD.call(this),h0e(this),this.a=e,this.c=t}function Xun(e){e&&ML(e,e.ie())}function Jun(e){zM(),g.setTimeout(function(){throw e},0)}function Yun(){return rF(),oe(re(B3e,1),Ve,436,0,[nne,F3e])}function Qun(){return uj(),oe(re(W3e,1),Ve,435,0,[H3e,rne])}function Zun(){return fj(),oe(re(gke,1),Ve,432,0,[bne,kH])}function efn(){return e4(),oe(re(tAt,1),Ve,517,0,[mO,xne])}function tfn(){return GL(),oe(re(ZRe,1),Ve,429,0,[ire,QRe])}function nfn(){return S7(),oe(re(LRe,1),Ve,428,0,[eW,DRe])}function rfn(){return nj(),oe(re($Re,1),Ve,431,0,[xRe,Une])}function ifn(){return v7(),oe(re(GAe,1),Ve,430,0,[Fre,Bre])}function ofn(){return o5(),oe(re(K5t,1),Ve,531,0,[c$,l$])}function sfn(){return Aj(),oe(re(H6e,1),Ve,501,0,[VW,U_])}function afn(){return uh(),oe(re(Z5t,1),Ve,523,0,[Fm,eg])}function lfn(){return xd(),oe(re(txt,1),Ve,522,0,[J0,Kd])}function cfn(){return ad(),oe(re(gxt,1),Ve,528,0,[jv,m1])}function ufn(){return p7(),oe(re(BRe,1),Ve,488,0,[FRe,nW])}function ffn(){return JL(),oe(re(ICe,1),Ve,491,0,[Iie,$Ce])}function dfn(){return $J(),oe(re(DCe,1),Ve,492,0,[NCe,MCe])}function hfn(){return WL(),oe(re(B6e,1),Ve,433,0,[lie,F6e])}function bfn(){return ij(),oe(re(U6e,1),Ve,434,0,[W6e,bie])}function pfn(){return Kw(),oe(re(Ext,1),Ve,465,0,[y1,B_])}function gfn(){return u7(),oe(re(jCe,1),Ve,438,0,[Mie,tU])}function wfn(){return P7(),oe(re(s5e,1),Ve,437,0,[rU,o5e])}function mfn(){return Nq(),oe(re(mU,1),Ve,347,0,[_xe,Sxe])}function DL(e,t,i,s){return i>=0?e.Uh(t,i,s):e.Ch(null,i,s)}function Z8(e){return e.b.b==0?e.a.sf():Fq(e.b)}function yfn(e){if(e.p!=5)throw Z(new Wl);return Yn(e.f)}function vfn(e){if(e.p!=5)throw Z(new Wl);return Yn(e.k)}function r1e(e){return xe(e.a)===xe((CJ(),yoe))&&mCn(e),e.a}function _fn(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=uL(e.c,e.b,e.a))}function Sfn(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=uL(e.c,e.b,e.a))}function mlt(e,t){vtn(this,new Xe(e.a,e.b)),_tn(this,W8(t))}function Gw(){cnn.call(this,new bE(Uy(12))),Wbe(!0),this.a=2}function RX(e,t,i){Cr(),gw.call(this,e),this.b=t,this.a=i}function i1e(e,t,i){mu(),jM.call(this,t),this.a=e,this.b=i}function ylt(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Efn(e){return e.b==0?null:(Cn(e.b!=0),Ru(e,e.a.a))}function Ha(e,t){return t==null?Ts(as(e.f,null)):mC(e.i,t)}function vlt(e,t,i,s,a){return new ZY(e,(VR(),Qte),t,i,s,a)}function LL(e,t){return aut(t),zpn(e,Ne(Gn,ur,28,t,15,1),t)}function jL(e,t){return TL(e,"set1"),TL(t,"set2"),new ctt(e,t)}function kfn(e,t){var i=Wte[e.charCodeAt(0)];return i??e}function _lt(e,t){var i,s;return i=t,s=new Mt,qvt(e,i,s),s.d}function AX(e,t,i,s){var a;a=new Qit,t.a[i.g]=a,TE(e.b,s,a)}function Rfn(e,t){var i;return i=Vpn(e.f,t),$r(zD(i),e.f.d)}function e7(e){var t;tgn(e.a),xrt(e.a),t=new MM(e.a),Vwe(t)}function Afn(e,t){nyt(e,!0),dl(e.e.Rf(),new Dpe(e,!0,t))}function Cfn(e,t){return ME(),e==oi(zh(t))||e==oi(Zg(t))}function xfn(e,t){return jb(),u(U(t,(ba(),Ih)),17).a==e}function Yi(e){return Math.max(Math.min(e,xr),-2147483648)|0}function Slt(e){this.a=u(Qn(e),277),this.b=(Gt(),new Xbe(e))}function Elt(e,t,i){this.i=new it,this.b=e,this.g=t,this.a=i}function o1e(e,t,i){this.a=new it,this.e=e,this.f=t,this.c=i}function FL(e,t,i){this.c=new it,this.e=e,this.f=t,this.b=i}function klt(e){qD.call(this),h0e(this),this.a=e,this.c=!0}function $fn(e){function t(){}return t.prototype=e||{},new t}function Ifn(e){if(e.Ae())return null;var t=e.n;return cH[t]}function t7(e){return e.Db>>16!=3?null:u(e.Cb,27)}function Cd(e){return e.Db>>16!=9?null:u(e.Cb,27)}function Rlt(e){return e.Db>>16!=6?null:u(e.Cb,74)}function Kw(){Kw=L,y1=new abe(u3,0),B_=new abe(f3,1)}function uh(){uh=L,Fm=new ibe(f3,0),eg=new ibe(u3,1)}function xd(){xd=L,J0=new obe(DZ,0),Kd=new obe("UP",1)}function Alt(){Alt=L,Skt=qn((VM(),oe(re(_kt,1),Ve,549,0,[Bte])))}function Clt(e){var t;return t=new YM(Uy(e.length)),rwe(t,e),t}function xlt(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function Tfn(e,t){return bbt(e,t)?(uht(e),!0):!1}function Tb(e,t){if(t==null)throw Z(new oE);return Ywn(e,t)}function n7(e,t){var i;i=e.q.getHours(),e.q.setDate(t),J5(e,i)}function s1e(e,t,i){var s;s=e.Ih(t),s>=0?e.bi(s,i):ive(e,t,i)}function $lt(e,t){var i;return i=e.Ih(t),i>=0?e.Wh(i):oQ(e,t)}function Ilt(e,t){var i;for(Qn(t),i=e.a;i;i=i.c)t.Yd(i.g,i.i)}function CX(e,t,i){var s;s=Nbt(e,t,i),e.b=new xj(s.c.length)}function j2(e,t,i){BL(),e&&wr(goe,e,t),e&&wr(p9,e,i)}function Pfn(e,t){return ZD(),on(),u(t.a,17).a0}function a1e(e){var t;return t=e.d,t=e.bj(e.f),Wn(e,t),t.Ob()}function Tlt(e,t){var i;return i=new fge(t),n0t(i,e),new sc(i)}function Mfn(e){if(e.p!=0)throw Z(new Wl);return IC(e.f,0)}function Dfn(e){if(e.p!=0)throw Z(new Wl);return IC(e.k,0)}function Plt(e){return e.Db>>16!=7?null:u(e.Cb,241)}function jR(e){return e.Db>>16!=6?null:u(e.Cb,241)}function Olt(e){return e.Db>>16!=7?null:u(e.Cb,167)}function oi(e){return e.Db>>16!=11?null:u(e.Cb,27)}function Ly(e){return e.Db>>16!=17?null:u(e.Cb,29)}function Nlt(e){return e.Db>>16!=3?null:u(e.Cb,155)}function l1e(e){var t;return Yg(e),t=new Ni,Pr(e,new jXe(t))}function Mlt(e,t){var i=e.a=e.a||[];return i[t]||(i[t]=e.ve(t))}function Lfn(e,t){var i;i=e.q.getHours(),e.q.setMonth(t),J5(e,i)}function Dlt(e,t){HD(this),this.f=t,this.g=e,IL(this),this.je()}function Llt(e,t){this.a=e,this.c=Ro(this.a),this.b=new NL(t)}function jlt(e,t,i){this.a=t,this.c=e,this.b=(Qn(i),new sc(i))}function Flt(e,t,i){this.a=t,this.c=e,this.b=(Qn(i),new sc(i))}function Blt(e){this.a=e,this.b=Ne(U5t,tt,2043,e.e.length,0,2)}function Hlt(){this.a=new oh,this.e=new Ni,this.g=0,this.i=0}function BL(){BL=L,goe=new Dn,p9=new Dn,Trn(Bkt,new xGe)}function Wlt(){Wlt=L,C5t=zl(new Li,(Mo(),Ls),(Go(),yO))}function c1e(){c1e=L,x5t=zl(new Li,(Mo(),Ls),(Go(),yO))}function Ult(){Ult=L,I5t=zl(new Li,(Mo(),Ls),(Go(),yO))}function Vlt(){Vlt=L,q5t=cr(new Li,(Mo(),Ls),(Go(),Hx))}function qc(){qc=L,Y5t=cr(new Li,(Mo(),Ls),(Go(),Hx))}function Glt(){Glt=L,Q5t=cr(new Li,(Mo(),Ls),(Go(),Hx))}function $X(){$X=L,rxt=cr(new Li,(Mo(),Ls),(Go(),Hx))}function t5(e,t,i,s,a,c){return new Db(e.e,t,e.Lj(),i,s,a,c)}function Ss(e,t,i){return t==null?ol(e.f,null,i):nm(e.i,t,i)}function Wo(e,t){e.c&&Pl(e.c.g,e),e.c=t,e.c&&ot(e.c.g,e)}function vo(e,t){e.c&&Pl(e.c.a,e),e.c=t,e.c&&ot(e.c.a,e)}function ra(e,t){e.i&&Pl(e.i.j,e),e.i=t,e.i&&ot(e.i.j,e)}function po(e,t){e.d&&Pl(e.d.e,e),e.d=t,e.d&&ot(e.d.e,e)}function IX(e,t){e.a&&Pl(e.a.k,e),e.a=t,e.a&&ot(e.a.k,e)}function TX(e,t){e.b&&Pl(e.b.f,e),e.b=t,e.b&&ot(e.b.f,e)}function Klt(e,t){Xcn(e,e.b,e.c),u(e.b.b,68),t&&u(t.b,68).b}function jfn(e,t){return Hr(u(e.c,65).c.e.b,u(t.c,65).c.e.b)}function Ffn(e,t){return Hr(u(e.c,65).c.e.a,u(t.c,65).c.e.a)}function Bfn(e){return zJ(),on(),u(e.a,86).d.e!=0}function HL(e,t){pe(e.Cb,184)&&(u(e.Cb,184).tb=null),rl(e,t)}function PX(e,t){pe(e.Cb,90)&&nv(vc(u(e.Cb,90)),4),rl(e,t)}function Hfn(e,t){Mwe(e,t),pe(e.Cb,90)&&nv(vc(u(e.Cb,90)),2)}function Wfn(e,t){var i,s;i=t.c,s=i!=null,s&&PE(e,new My(t.c))}function zlt(e){var t,i;return i=(hR(),t=new ww,t),KR(i,e),i}function qlt(e){var t,i;return i=(hR(),t=new ww,t),KR(i,e),i}function Xlt(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function Ufn(e,t,i){return ot(e.a,(AL(),$Y(t,i),new kw(t,i))),e}function Wa(e,t){return is(),aJ(t)?new sL(t,e):new C8(t,e)}function r7(e){return ph(),$a(e,0)>=0?Qg(e):JC(Qg(Op(e)))}function Vfn(e){var t;return t=u(iL(e.b),9),new yu(e.a,t,e.c)}function Jlt(e,t){var i;return i=u(qy(NE(e.a),t),16),i?i.gc():0}function Ylt(e,t,i){var s;Spt(t,i,e.c.length),s=i-t,The(e.c,t,s)}function $p(e,t,i){Spt(t,i,e.gc()),this.c=e,this.a=t,this.b=i-t}function DE(e){this.c=new ei,this.b=e.b,this.d=e.c,this.a=e.a}function OX(e){this.a=g.Math.cos(e),this.b=g.Math.sin(e)}function d0(e,t,i,s){this.c=e,this.d=s,IX(this,t),TX(this,i)}function u1e(e,t){ann.call(this,new bE(Uy(e))),Qc(t,K2t),this.a=t}function Qlt(e,t,i){return new ZY(e,(VR(),Yte),null,!1,t,i)}function Zlt(e,t,i){return new ZY(e,(VR(),Zte),t,i,null,!1)}function Gfn(){return uc(),oe(re(As,1),Ve,108,0,[j3e,Xs,yv])}function Kfn(){return Ol(),oe(re(fRt,1),Ve,472,0,[pd,h1,Lf])}function zfn(){return cc(),oe(re(cRt,1),Ve,471,0,[Ch,d1,Df])}function qfn(){return ud(),oe(re(vv,1),Ve,237,0,[wa,sl,ma])}function Xfn(){return l5(),oe(re(Tke,1),Ve,391,0,[mne,wne,yne])}function Jfn(){return Zw(),oe(re(Nne,1),Ve,372,0,[Cm,b1,Am])}function Yfn(){return f5(),oe(re(TRe,1),Ve,322,0,[Ux,SO,IRe])}function Qfn(){return yj(),oe(re(ORe,1),Ve,351,0,[PRe,ZH,Vne])}function Zfn(){return _0(),oe(re(PAt,1),Ve,460,0,[zne,kA,x_])}function edn(){return o4(),oe(re(rre,1),Ve,299,0,[tre,nre,EO])}function tdn(){return Lb(),oe(re(BAt,1),Ve,311,0,[kO,I_,R3])}function ndn(){return _5(),oe(re(MAe,1),Ve,390,0,[Pre,NAe,IW])}function rdn(){return ls(),oe(re(v5t,1),Ve,463,0,[o$,hc,al])}function idn(){return Oj(),oe(re(qAe,1),Ve,387,0,[KAe,Hre,zAe])}function odn(){return m5(),oe(re(XAe,1),Ve,349,0,[Ure,Wre,MO])}function sdn(){return h4(),oe(re(YAe,1),Ve,350,0,[Vre,JAe,s$])}function adn(){return mj(),oe(re(e6e,1),Ve,352,0,[ZAe,Gre,QAe])}function ldn(){return Lj(),oe(re(t6e,1),Ve,388,0,[Kre,LA,Lv])}function cdn(){return Qw(),oe(re(H5t,1),Ve,464,0,[DO,a$,NW])}function $d(e){return oa(oe(re(ao,1),tt,8,0,[e.i.n,e.n,e.a]))}function udn(){return y5(),oe(re(m6e,1),Ve,392,0,[w6e,Xre,jO])}function ect(){ect=L,Qxt=zl(new Li,(ZE(),f$),(q5(),l6e))}function WL(){WL=L,lie=new lbe("DFS",0),F6e=new lbe("BFS",1)}function tct(e,t,i){var s;s=new DWe,s.b=t,s.a=i,++t.b,ot(e.d,s)}function fdn(e,t,i){var s;s=new qo(i.d),$r(s,e),Nwe(t,s.a,s.b)}function ddn(e,t){qrt(e,Yn(ro(Dw(t,24),rB)),Yn(ro(t,rB)))}function jy(e,t){if(e<0||e>t)throw Z(new vs(T2e+e+P2e+t))}function Kt(e,t){if(e<0||e>=t)throw Z(new vs(T2e+e+P2e+t))}function fn(e,t){if(e<0||e>=t)throw Z(new mhe(T2e+e+P2e+t))}function Wt(e,t){this.b=(gn(e),e),this.a=t&fv?t:t|64|wh}function f1e(e){var t;return Yg(e),t=(Uw(),Uw(),qte),bj(e,t)}function hdn(e,t,i){var s;return s=Z5(e,t,!1),s.b<=t&&s.a<=i}function bdn(){return oj(),oe(re(OCe,1),Ve,439,0,[Tie,PCe,TCe])}function pdn(){return Kj(),oe(re(bCe,1),Ve,394,0,[hCe,Aie,dCe])}function gdn(){return Qj(),oe(re(fCe,1),Ve,445,0,[UO,qW,vie])}function wdn(){return cF(),oe(re($$t,1),Ve,456,0,[_ie,Eie,Sie])}function mdn(){return D7(),oe(re(K6e,1),Ve,393,0,[GW,V6e,G6e])}function ydn(){return Pj(),oe(re(uCe,1),Ve,300,0,[yie,cCe,lCe])}function vdn(){return Bb(),oe(re(hxe,1),Ve,346,0,[fU,ig,I$])}function _dn(){return W7(),oe(re(Pie,1),Ve,444,0,[QW,ZW,eU])}function Sdn(){return Nd(),oe(re(txe,1),Ve,278,0,[VA,Wv,GA])}function Edn(){return zE(),oe(re(vxe,1),Ve,280,0,[yxe,Vv,wU])}function zw(e){return Qn(e),pe(e,16)?new sc(u(e,16)):CR(e.Kc())}function d1e(e,t){return e&&e.equals?e.equals(t):xe(e)===xe(t)}function ro(e,t){return zg(pcn(Gs(e)?qu(e):e,Gs(t)?qu(t):t))}function sd(e,t){return zg(gcn(Gs(e)?qu(e):e,Gs(t)?qu(t):t))}function NX(e,t){return zg(wcn(Gs(e)?qu(e):e,Gs(t)?qu(t):t))}function kdn(e,t){var i;return i=(gn(e),e).g,spe(!!i),gn(t),i(t)}function nct(e,t){var i,s;return s=IR(e,t),i=e.a.fd(s),new att(e,i)}function Rdn(e){return e.Db>>16!=6?null:u(lQ(e),241)}function Adn(e){if(e.p!=2)throw Z(new Wl);return Yn(e.f)&Bi}function Cdn(e){if(e.p!=2)throw Z(new Wl);return Yn(e.k)&Bi}function X(e){return Cn(e.as?1:0}function sct(e,t){var i,s;return i=rJ(t),s=i,u(_n(e.c,s),17).a}function MX(e,t,i){var s;s=e.d[t.p],e.d[t.p]=e.d[i.p],e.d[i.p]=s}function jdn(e,t,i){var s;e.n&&t&&i&&(s=new yGe,ot(e.e,s))}function DX(e,t){if(Vi(e.a,t),t.d)throw Z(new ta(p_t));t.d=e}function p1e(e,t){this.a=new it,this.d=new it,this.f=e,this.c=t}function act(){this.c=new Vrt,this.a=new Jut,this.b=new sZe,Att()}function lct(){GE(),this.b=new Dn,this.a=new Dn,this.c=new it}function cct(e,t,i){this.d=e,this.j=t,this.e=i,this.o=-1,this.p=3}function uct(e,t,i){this.d=e,this.k=t,this.f=i,this.o=-1,this.p=5}function fct(e,t,i,s,a,c){p0e.call(this,e,t,i,s,a),c&&(this.o=-2)}function dct(e,t,i,s,a,c){g0e.call(this,e,t,i,s,a),c&&(this.o=-2)}function hct(e,t,i,s,a,c){O1e.call(this,e,t,i,s,a),c&&(this.o=-2)}function bct(e,t,i,s,a,c){y0e.call(this,e,t,i,s,a),c&&(this.o=-2)}function pct(e,t,i,s,a,c){N1e.call(this,e,t,i,s,a),c&&(this.o=-2)}function gct(e,t,i,s,a,c){w0e.call(this,e,t,i,s,a),c&&(this.o=-2)}function wct(e,t,i,s,a,c){m0e.call(this,e,t,i,s,a),c&&(this.o=-2)}function mct(e,t,i,s,a,c){M1e.call(this,e,t,i,s,a),c&&(this.o=-2)}function yct(e,t,i,s){jM.call(this,i),this.b=e,this.c=t,this.d=s}function vct(e,t){this.f=e,this.a=(HR(),IU),this.c=IU,this.b=t}function _ct(e,t){this.g=e,this.d=(HR(),TU),this.a=TU,this.b=t}function g1e(e,t){!e.c&&(e.c=new _i(e,0)),zF(e.c,(Fr(),W$),t)}function Fdn(e,t){return _3n(e,t,pe(t,102)&&(u(t,19).Bb&ts)!=0)}function Bdn(e,t){return tat(Ra(e.q.getTime()),Ra(t.q.getTime()))}function Sct(e){return Wq(e.e.Rd().gc()*e.c.Rd().gc(),16,new Vqe(e))}function Hdn(e){return!!e.u&&Na(e.u.a).i!=0&&!(e.n&&RY(e.n))}function Wdn(e){return!!e.a&&_c(e.a.a).i!=0&&!(e.b&&AY(e.b))}function w1e(e,t){return t==0?!!e.o&&e.o.f!=0:yY(e,t)}function Udn(e,t,i){var s;return s=u(e.Zb().xc(t),16),!!s&&s.Hc(i)}function Ect(e,t,i){var s;return s=u(e.Zb().xc(t),16),!!s&&s.Mc(i)}function kct(e,t){var i;return i=1-t,e.a[i]=Cj(e.a[i],i),Cj(e,t)}function Rct(e,t){var i,s;return s=ro(e,us),i=xf(t,32),sd(i,s)}function Act(e,t,i){var s;s=(Qn(e),new sc(e)),Gyn(new jlt(s,t,i))}function i7(e,t,i){var s;s=(Qn(e),new sc(e)),Kyn(new Flt(s,t,i))}function da(e,t,i,s,a,c){return rbt(e,t,i,c),Awe(e,s),Cwe(e,a),e}function Cct(e,t,i,s){return e.a+=""+_u(t==null?Ml:zs(t),i,s),e}function _o(e,t){this.a=e,Q6.call(this,e),jy(t,e.gc()),this.b=t}function xct(e){this.a=Ne(io,Zt,1,Z0e(g.Math.max(8,e))<<1,5,1)}function o7(e){return u(Dd(e,Ne(ib,zp,10,e.c.length,0,1)),199)}function fh(e){return u(Dd(e,Ne(Ane,ZZ,18,e.c.length,0,1)),483)}function $ct(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function n5(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function Ict(e){return Cn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function Vdn(e,t,i){e.a=t,e.c=i,e.b.a.$b(),zc(e.d),_y(e.e.a.c,0)}function Tct(e,t){var i;e.e=new lhe,i=iv(t),Pi(i,e.c),Gmt(e,i,0)}function ji(e,t,i,s){var a;a=new nde,a.a=t,a.b=i,a.c=s,sr(e.a,a)}function nt(e,t,i,s){var a;a=new nde,a.a=t,a.b=i,a.c=s,sr(e.b,a)}function Pct(e,t,i){if(e<0||ti)throw Z(new vs(rSn(e,t,i)))}function s7(e,t){if(e<0||e>=t)throw Z(new vs(NSn(e,t)));return e}function Gdn(e){if(!("stack"in e))try{throw e}catch{}return e}function F2(e){return hC(),pe(e.g,10)?u(e.g,10):null}function Kdn(e){return L2(e).dc()?!1:(pin(e,new Y),!0)}function b0(e){var t;return Gs(e)?(t=e,t==-0?0:t):apn(e)}function Oct(e,t){return pe(t,44)?TY(e.a,u(t,44)):!1}function Nct(e,t){return pe(t,44)?TY(e.a,u(t,44)):!1}function Mct(e,t){return pe(t,44)?TY(e.a,u(t,44)):!1}function m1e(e){var t;return Wg(e),t=new se,_2(e.a,new MXe(t)),t}function y1e(){var e,t,i;return t=(i=(e=new ww,e),i),ot(n$e,t),t}function UL(e){var t;return Wg(e),t=new Me,_2(e.a,new DXe(t)),t}function zdn(e,t){return e.a<=e.b?(t.Dd(e.a++),!0):!1}function Dct(e){kJ.call(this,e,(VR(),Jte),null,!1,null,!1)}function Lct(){Lct=L,URt=qn((rD(),oe(re(cke,1),Ve,489,0,[cne])))}function jct(){jct=L,r6e=Iat(rt(1),rt(4)),n6e=Iat(rt(1),rt(2))}function qdn(e,t){return new Dq(t,FC(Ro(t.e),e,e),(on(),!0))}function VL(e){return new nl((Qc(e,eZ),dj(Uo(Uo(5,e),e/10|0))))}function Xdn(e){return Wq(e.e.Rd().gc()*e.c.Rd().gc(),273,new Uqe(e))}function Fct(e){return u(Dd(e,Ne(Q4t,z_t,12,e.c.length,0,1)),2042)}function Jdn(e){return qc(),!es(e)&&!(!es(e)&&e.c.i.c==e.d.i.c)}function Ydn(e,t){return UE(),u(U(t,(ba(),H_)),17).a>=e.gc()}function r5(e,t){Oxn(t,e),Qpe(e.d),Qpe(u(U(e,(dt(),EW)),214))}function LX(e,t){Nxn(t,e),Zpe(e.d),Zpe(u(U(e,(dt(),EW)),214))}function Qdn(e,t,i){e.d&&Pl(e.d.e,e),e.d=t,e.d&&Mw(e.d.e,i,e)}function Zdn(e,t,i){return i.f.c.length>0?Cge(e.a,t,i):Cge(e.b,t,i)}function ehn(e,t,i){var s;s=wmn();try{return Hon(e,t,i)}finally{Khn(s)}}function qw(e,t){var i,s;return i=Tb(e,t),s=null,i&&(s=i.pe()),s}function i5(e,t){var i,s;return i=Tb(e,t),s=null,i&&(s=i.se()),s}function FR(e,t){var i,s;return i=Wy(e,t),s=null,i&&(s=i.se()),s}function Pb(e,t){var i,s;return i=Tb(e,t),s=null,i&&(s=mye(i)),s}function thn(e,t,i){var s;return s=_4(i),WF(e.g,s,t),WF(e.i,t,i),t}function v1e(e,t,i){this.d=new qJe(this),this.e=e,this.i=t,this.f=i}function Bct(e,t,i,s){this.e=null,this.c=e,this.d=t,this.a=i,this.b=s}function Hct(e,t,i,s){jrt(this),this.c=e,this.e=t,this.f=i,this.b=s}function _1e(e,t,i,s){this.d=e,this.n=t,this.g=i,this.o=s,this.p=-1}function Wct(e,t,i,s){return pe(i,59)?new mit(e,t,i,s):new _ge(e,t,i,s)}function BR(e){return pe(e,16)?u(e,16).dc():!e.Kc().Ob()}function Uct(e){if(e.e.g!=e.b)throw Z(new gu);return!!e.c&&e.d>0}function Ln(e){return Cn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function S1e(e,t){gn(t),pi(e.a,e.c,t),e.c=e.c+1&e.a.length-1,f1t(e)}function Vg(e,t){gn(t),e.b=e.b-1&e.a.length-1,pi(e.a,e.b,t),f1t(e)}function Vct(e){var t;t=e.Gh(),this.a=pe(t,71)?u(t,71).Ii():t.Kc()}function nhn(e){return new Wt(Hpn(u(e.a.md(),16).gc(),e.a.ld()),16)}function Gct(){Gct=L,sIt=qn((sD(),oe(re(LCe,1),Ve,490,0,[Oie])))}function Kct(){Kct=L,lIt=qn((aD(),oe(re(aIt,1),Ve,558,0,[Nie])))}function zct(){zct=L,AIt=qn((bC(),oe(re(i5e,1),Ve,539,0,[zO])))}function rhn(){return k0(),oe(re(Mke,1),Ve,389,0,[Ev,Nke,kne,Rne])}function ihn(){return VR(),oe(re(gH,1),Ve,304,0,[Jte,Yte,Qte,Zte])}function ohn(){return JE(),oe(re(jRt,1),Ve,332,0,[fO,uO,dO,hO])}function shn(){return P5(),oe(re(HRt,1),Ve,406,0,[bO,vH,_H,pO])}function ahn(){return tm(),oe(re(DRt,1),Ve,417,0,[cO,lO,ane,lne])}function lhn(){return s4(),oe(re(B4t,1),Ve,416,0,[Rm,Sv,_v,E_])}function chn(){return Md(),oe(re(gAt,1),Ve,421,0,[k3,wA,mA,One])}function uhn(){return Dj(),oe(re(oAt,1),Ve,371,0,[Pne,zH,qH,vO])}function fhn(){return Yy(),oe(re(Nre,1),Ve,203,0,[TW,Ore,F_,j_])}function dhn(){return hh(),oe(re(VAe,1),Ve,284,0,[Zp,UAe,Lre,jre])}function hhn(e){var t;return e.j==(ct(),Mn)&&(t=Owt(e),Gl(t,yn))}function bhn(e,t){var i;i=t.a,Wo(i,t.c.d),po(i,t.d.d),Ky(i.a,e.n)}function E1e(e,t){var i;return i=u(Od(e.b,t),67),!i&&(i=new ei),i}function jE(e){return hC(),pe(e.g,154)?u(e.g,154):null}function phn(e){e.a=null,e.e=null,_y(e.b.c,0),_y(e.f.c,0),e.c=null}function GL(){GL=L,ire=new tbe(X4,0),QRe=new tbe("TOP_LEFT",1)}function o5(){o5=L,c$=new rbe("UPPER",0),l$=new rbe("LOWER",1)}function ghn(e,t){return _E(new Xe(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function qct(e,t){return u(Oc(Oy(u(Or(e.k,t),15).Oc(),R_)),113)}function Xct(e,t){return u(Oc($E(u(Or(e.k,t),15).Oc(),R_)),113)}function whn(){return ZE(),oe(re(s6e,1),Ve,405,0,[jW,u$,f$,d$])}function mhn(){return v5(),oe(re(j6e,1),Ve,353,0,[aie,UW,sie,oie])}function yhn(){return hF(),oe(re(aCe,1),Ve,354,0,[mie,oCe,sCe,iCe])}function vhn(){return jc(),oe(re(M$,1),Ve,386,0,[c9,nw,l9,Uv])}function _hn(){return eu(),oe(re(hTt,1),Ve,291,0,[o9,ab,S1,i9])}function Shn(){return Hb(),oe(re(aoe,1),Ve,223,0,[soe,r9,KA,F3])}function Ehn(){return qj(),oe(re(Axe,1),Ve,320,0,[uoe,Exe,Rxe,kxe])}function khn(){return jj(),oe(re(ITt,1),Ve,415,0,[foe,xxe,Cxe,$xe])}function Rhn(e){return BL(),fl(goe,e)?u(_n(goe,e),341).Qg():null}function Su(e,t,i){return t<0?oQ(e,i):u(i,69).wk().Bk(e,e.hi(),t)}function Ahn(e,t,i){var s;return s=_4(i),WF(e.j,s,t),wr(e.k,t,i),t}function Chn(e,t,i){var s;return s=_4(i),WF(e.d,s,t),wr(e.e,t,i),t}function Jct(e){var t,i;return t=(Ng(),i=new LK,i),e&&PF(t,e),t}function k1e(e){var t;return t=e.aj(e.i),e.i>0&&Da(e.g,0,t,0,e.i),t}function Yct(e,t){var i;for(i=e.j.c.length;i>24}function $hn(e){if(e.p!=1)throw Z(new Wl);return Yn(e.k)<<24>>24}function Ihn(e){if(e.p!=7)throw Z(new Wl);return Yn(e.k)<<16>>16}function Thn(e){if(e.p!=7)throw Z(new Wl);return Yn(e.f)<<16>>16}function B2(e,t){return t.e==0||e.e==0?Dx:(O4(),bQ(e,t))}function eut(e,t){return xe(t)===xe(e)?"(this Map)":t==null?Ml:zs(t)}function Phn(e,t,i){return Yq(Oe(Ts(as(e.f,t))),Oe(Ts(as(e.f,i))))}function Ohn(e,t,i){var s;s=u(_n(e.g,i),60),ot(e.a.c,new Ji(t,s))}function tut(e,t,i){e.i=0,e.e=0,t!=i&&(Lbt(e,t,i),Dbt(e,t,i))}function Nhn(e,t,i,s,a){var c;c=M3n(a,i,s),ot(t,CSn(a,c)),m_n(e,a,t)}function R1e(e,t,i,s,a){this.i=e,this.a=t,this.e=i,this.j=s,this.f=a}function nut(e,t){n1e.call(this),this.a=e,this.b=t,ot(this.a.b,this)}function rut(e){this.b=new Dn,this.c=new Dn,this.d=new Dn,this.a=e}function iut(e,t){var i;return i=new hE,e.Gd(i),i.a+="..",t.Hd(i),i.a}function out(e,t){var i;for(i=t;i;)Ow(e,i.i,i.j),i=oi(i);return e}function sut(e,t,i){var s;return s=_4(i),wr(e.b,s,t),wr(e.c,t,i),t}function Ob(e){var t;for(t=0;e.Ob();)e.Pb(),t=Uo(t,1);return dj(t)}function Vh(e,t){is();var i;return i=u(e,69).vk(),N_n(i,t),i.xl(t)}function Mhn(e,t,i){if(i){var s=i.oe();e.a[t]=s(i)}else delete e.a[t]}function A1e(e,t){var i;i=e.q.getHours(),e.q.setFullYear(t+o1),J5(e,i)}function Dhn(e,t){return u(t==null?Ts(as(e.f,null)):mC(e.i,t),288)}function C1e(e,t){return e==(hn(),Ai)&&t==Ai?4:e==Ai||t==Ai?8:32}function KL(e,t,i){return VF(e,t,i,pe(t,102)&&(u(t,19).Bb&ts)!=0)}function Lhn(e,t,i){return L4(e,t,i,pe(t,102)&&(u(t,19).Bb&ts)!=0)}function jhn(e,t,i){return x3n(e,t,i,pe(t,102)&&(u(t,19).Bb&ts)!=0)}function x1e(e){e.b!=e.c&&(e.a=Ne(io,Zt,1,8,5,1),e.b=0,e.c=0)}function s5(e){return Cn(e.a=0&&e.a[i]===t[i];i--);return i<0}function zL(e){var t;return e?new fge(e):(t=new oh,SJ(t,e),t)}function Ghn(e,t){var i,s;s=!1;do i=Abt(e,t),s=s|i;while(i);return s}function Khn(e){e&&mpn((bhe(),u3e)),--uH,e&&fH!=-1&&(Lrn(fH),fH=-1)}function qL(e){nye(),qrt(this,Yn(ro(Dw(e,24),rB)),Yn(ro(e,rB)))}function fut(){fut=L,rRt=qn((rF(),oe(re(B3e,1),Ve,436,0,[nne,F3e])))}function dut(){dut=L,iRt=qn((uj(),oe(re(W3e,1),Ve,435,0,[H3e,rne])))}function hut(){hut=L,s4t=qn((fj(),oe(re(gke,1),Ve,432,0,[bne,kH])))}function but(){but=L,nAt=qn((e4(),oe(re(tAt,1),Ve,517,0,[mO,xne])))}function put(){put=L,WAt=qn((GL(),oe(re(ZRe,1),Ve,429,0,[ire,QRe])))}function gut(){gut=L,TAt=qn((S7(),oe(re(LRe,1),Ve,428,0,[eW,DRe])))}function wut(){wut=L,MAt=qn((p7(),oe(re(BRe,1),Ve,488,0,[FRe,nW])))}function mut(){mut=L,y5t=qn((v7(),oe(re(GAe,1),Ve,430,0,[Fre,Bre])))}function yut(){yut=L,z5t=qn((o5(),oe(re(K5t,1),Ve,531,0,[c$,l$])))}function vut(){vut=L,CAt=qn((nj(),oe(re($Re,1),Ve,431,0,[xRe,Une])))}function _ut(){_ut=L,Yxt=qn((WL(),oe(re(B6e,1),Ve,433,0,[lie,F6e])))}function Sut(){Sut=L,n$t=qn((Aj(),oe(re(H6e,1),Ve,501,0,[VW,U_])))}function Eut(){Eut=L,ext=qn((uh(),oe(re(Z5t,1),Ve,523,0,[Fm,eg])))}function kut(){kut=L,nxt=qn((xd(),oe(re(txt,1),Ve,522,0,[J0,Kd])))}function Rut(){Rut=L,wxt=qn((ad(),oe(re(gxt,1),Ve,528,0,[jv,m1])))}function Aut(){Aut=L,kxt=qn((Kw(),oe(re(Ext,1),Ve,465,0,[y1,B_])))}function Cut(){Cut=L,o$t=qn((ij(),oe(re(U6e,1),Ve,434,0,[W6e,bie])))}function xut(){xut=L,eIt=qn((JL(),oe(re(ICe,1),Ve,491,0,[Iie,$Ce])))}function $ut(){$ut=L,nIt=qn(($J(),oe(re(DCe,1),Ve,492,0,[NCe,MCe])))}function Iut(){Iut=L,cIt=qn((u7(),oe(re(jCe,1),Ve,438,0,[Mie,tU])))}function Tut(){Tut=L,CIt=qn((P7(),oe(re(s5e,1),Ve,437,0,[rU,o5e])))}function Put(){Put=L,CTt=qn((Nq(),oe(re(mU,1),Ve,347,0,[_xe,Sxe])))}function zhn(){return Fi(),oe(re(x$,1),Ve,88,0,[Xd,js,xs,qd,ju])}function qhn(){return ct(),oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn])}function Xhn(e,t,i){return u(t==null?ol(e.f,null,i):nm(e.i,t,i),288)}function Jhn(e){return(e.k==(hn(),Ai)||e.k==Oi)&&Jr(e,(Je(),zx))}function WX(e){return e.c&&e.d?b1e(e.c)+"->"+b1e(e.d):"e_"+Pw(e)}function xo(e,t){var i,s;for(gn(t),s=e.Kc();s.Ob();)i=s.Pb(),t.Cd(i)}function Yhn(e,t){var i;i=new cE,f0(i,"x",t.a),f0(i,"y",t.b),PE(e,i)}function Qhn(e,t){var i;i=new cE,f0(i,"x",t.a),f0(i,"y",t.b),PE(e,i)}function Out(e,t){var i;for(i=t;i;)Ow(e,-i.i,-i.j),i=oi(i);return e}function I1e(e,t){var i,s;for(i=t,s=0;i>0;)s+=e.a[i],i-=i&-i;return s}function Eu(e,t,i){var s;return s=(Kt(t,e.c.length),e.c[t]),e.c[t]=i,s}function T1e(e,t,i){e.a.c.length=0,ECn(e,t,i),e.a.c.length==0||J4n(e,t)}function a7(e){e.i=0,h8(e.b,null),h8(e.c,null),e.a=null,e.e=null,++e.g}function XL(){XL=L,Ud=!0,zkt=!1,qkt=!1,Jkt=!1,Xkt=!1}function UX(e){XL(),!Ud&&(this.c=e,this.e=!0,this.a=new it)}function Nut(e,t){this.c=0,this.b=t,rrt.call(this,e,17493),this.a=this.c}function Mut(e){L2t(),HQe(this),this.a=new ei,uwe(this,e),sr(this.a,e)}function Dut(){dq(this),this.b=new Xe(si,si),this.a=new Xe(Ki,Ki)}function JL(){JL=L,Iie=new fbe(a_e,0),$Ce=new fbe("TARGET_WIDTH",1)}function H2(e,t){return(Yg(e),bR(new Lt(e,new i0e(t,e.a)))).Bd(_3)}function Zhn(){return Mo(),oe(re(Pke,1),Ve,367,0,[jf,rb,La,za,Ls])}function ebn(){return Zy(),oe(re(mAt,1),Ve,375,0,[_O,YH,QH,JH,XH])}function tbn(){return Bp(),oe(re(MRe,1),Ve,348,0,[Gne,NRe,Kne,EA,SA])}function nbn(){return T5(),oe(re(LAe,1),Ve,323,0,[DAe,Mre,Dre,r$,i$])}function rbn(){return Iu(),oe(re(d4e,1),Ve,171,0,[xO,Xx,g1,Jx,xv])}function ibn(){return vF(),oe(re(r$t,1),Ve,368,0,[die,cie,hie,uie,fie])}function obn(){return V5(),oe(re(rIt,1),Ve,373,0,[V_,N3,_$,v$,KO])}function sbn(){return rP(),oe(re(WCe,1),Ve,324,0,[FCe,Die,HCe,Lie,BCe])}function abn(){return dd(),oe(re(sb,1),Ve,170,0,[Qt,Zi,Th,Y0,ng])}function lbn(){return q2(),oe(re(P$,1),Ve,256,0,[E1,s9,bxe,T$,pxe])}function cbn(e){return zM(),function(){return ehn(e,this,arguments)}}function es(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function P1e(e,t){return pe(t,143)?Ft(e.c,u(t,143).c):!1}function vc(e){return e.t||(e.t=new TQe(e),R5(new zZe(e),0,e.t)),e.t}function Lut(e){this.b=e,vn.call(this,e),this.a=u(ln(this.b.a,4),129)}function jut(e){this.b=e,EE.call(this,e),this.a=u(ln(this.b.a,4),129)}function $f(e,t,i,s,a){qut.call(this,t,s,a),this.c=e,this.b=i}function O1e(e,t,i,s,a){cct.call(this,t,s,a),this.c=e,this.a=i}function N1e(e,t,i,s,a){uct.call(this,t,s,a),this.c=e,this.a=i}function M1e(e,t,i,s,a){qut.call(this,t,s,a),this.c=e,this.a=i}function VX(e,t){var i;return i=u(Od(e.d,t),23),i||u(Od(e.e,t),23)}function Fut(e,t){var i,s;return i=t.ld(),s=e.Fe(i),!!s&&ka(s.e,t.md())}function But(e,t){var i;return i=t.ld(),new kw(i,e.e.pc(i,u(t.md(),16)))}function ubn(e,t){var i;return i=e.a.get(t),i??Ne(io,Zt,1,0,5,1)}function Hut(e){var t;return t=e.length,Ft(mn.substr(mn.length-t,t),e)}function $n(e){if(Bn(e))return e.c=e.a,e.a.Pb();throw Z(new ea)}function D1e(e,t){return t==0||e.e==0?e:t>0?Imt(e,t):egt(e,-t)}function FE(e,t){return t==0||e.e==0?e:t>0?egt(e,t):Imt(e,-t)}function L1e(e){_rn.call(this,e==null?Ml:zs(e),pe(e,82)?u(e,82):null)}function Wut(e){var t;return e.c||(t=e.r,pe(t,90)&&(e.c=u(t,29))),e.c}function GX(e){var t;return t=new Vw,Ms(t,e),Ue(t,(dt(),Cs),null),t}function Uut(e){var t,i;return t=e.c.i,i=e.d.i,t.k==(hn(),Oi)&&i.k==Oi}function KX(e){var t,i,s;return t=e&Rc,i=e>>22&Rc,s=e<0?qb:0,ul(t,i,s)}function fbn(e){var t,i,s,a;for(i=e,s=0,a=i.length;s=0?e.Lh(s,i,!0):cm(e,t,i)}function hbn(e,t,i){return Hr(_E(E4(e),Ro(t.b)),_E(E4(e),Ro(i.b)))}function bbn(e,t,i){return Hr(_E(E4(e),Ro(t.e)),_E(E4(e),Ro(i.e)))}function pbn(e,t){return g.Math.min(Gg(t.a,e.d.d.c),Gg(t.b,e.d.d.c))}function l7(e,t){e._i(e.i+1),DC(e,e.i,e.Zi(e.i,t)),e.Mi(e.i++,t),e.Ni()}function a5(e){var t,i;++e.j,t=e.g,i=e.i,e.g=null,e.i=0,e.Oi(i,t),e.Ni()}function Vut(e,t,i){var s;s=new Dbe(e.a),b5(s,e.a.a),ol(s.f,t,i),e.a.a=s}function j1e(e,t,i,s){var a;for(a=0;at)throw Z(new vs(Cye(e,t,"index")));return e}function Tp(e,t){var i;return i=(Kt(t,e.c.length),e.c[t]),The(e.c,t,1),i}function H1e(e,t){var i,s;return i=(gn(e),e),s=(gn(t),t),i==s?0:it.p?-1:0}function Qut(e){var t;return e.a||(t=e.r,pe(t,156)&&(e.a=u(t,156))),e.a}function _bn(e,t,i){var s;return++e.e,--e.f,s=u(e.d[t].gd(i),136),s.md()}function Sbn(e){var t,i;return t=e.ld(),i=u(e.md(),16),H8(i.Nc(),new Kqe(t))}function Zut(e,t){return fl(e.a,t)?(BE(e.a,t),!0):!1}function HE(e,t,i){return s7(t,e.e.Rd().gc()),s7(i,e.c.Rd().gc()),e.a[t][i]}function QL(e,t,i){this.a=e,this.b=t,this.c=i,ot(e.t,this),ot(t.i,this)}function ZL(e,t,i,s){this.f=e,this.e=t,this.d=i,this.b=s,this.c=s?s.d:null}function c7(){this.b=new ei,this.a=new ei,this.b=new ei,this.a=new ei}function HR(){HR=L;var e,t;IU=(hR(),t=new HM,t),TU=(e=new iz,e)}function Ebn(e){var t;return Yg(e),t=new Got(e,e.a.e,e.a.d|4),new lpe(e,t)}function eft(e){var t;for(Wg(e),t=0;e.a.Bd(new pt);)t=Uo(t,1);return t}function ej(e,t){return gn(t),e.c=0,"Initial capacity must not be negative")}function tj(){tj=L,S$=new jr("org.eclipse.elk.labels.labelManager")}function tft(){tft=L,ERe=new di("separateLayerConnections",(Dj(),Pne))}function ad(){ad=L,jv=new sbe("REGULAR",0),m1=new sbe("CRITICAL",1)}function u7(){u7=L,Mie=new hbe("FIXED",0),tU=new hbe("CENTER_NODE",1)}function nj(){nj=L,xRe=new Qhe("QUADRATIC",0),Une=new Qhe("SCANLINE",1)}function nft(){nft=L,xAt=qn((f5(),oe(re(TRe,1),Ve,322,0,[Ux,SO,IRe])))}function rft(){rft=L,$At=qn((yj(),oe(re(ORe,1),Ve,351,0,[PRe,ZH,Vne])))}function ift(){ift=L,kAt=qn((Zw(),oe(re(Nne,1),Ve,372,0,[Cm,b1,Am])))}function oft(){oft=L,OAt=qn((_0(),oe(re(PAt,1),Ve,460,0,[zne,kA,x_])))}function sft(){sft=L,FAt=qn((o4(),oe(re(rre,1),Ve,299,0,[tre,nre,EO])))}function aft(){aft=L,HAt=qn((Lb(),oe(re(BAt,1),Ve,311,0,[kO,I_,R3])))}function lft(){lft=L,b5t=qn((_5(),oe(re(MAe,1),Ve,390,0,[Pre,NAe,IW])))}function cft(){cft=L,S5t=qn((Oj(),oe(re(qAe,1),Ve,387,0,[KAe,Hre,zAe])))}function uft(){uft=L,E5t=qn((m5(),oe(re(XAe,1),Ve,349,0,[Ure,Wre,MO])))}function fft(){fft=L,_5t=qn((ls(),oe(re(v5t,1),Ve,463,0,[o$,hc,al])))}function dft(){dft=L,k5t=qn((h4(),oe(re(YAe,1),Ve,350,0,[Vre,JAe,s$])))}function hft(){hft=L,R5t=qn((mj(),oe(re(e6e,1),Ve,352,0,[ZAe,Gre,QAe])))}function bft(){bft=L,A5t=qn((Lj(),oe(re(t6e,1),Ve,388,0,[Kre,LA,Lv])))}function pft(){pft=L,Cxt=qn((y5(),oe(re(m6e,1),Ve,392,0,[w6e,Xre,jO])))}function gft(){gft=L,s$t=qn((D7(),oe(re(K6e,1),Ve,393,0,[GW,V6e,G6e])))}function wft(){wft=L,C$t=qn((Pj(),oe(re(uCe,1),Ve,300,0,[yie,cCe,lCe])))}function mft(){mft=L,x$t=qn((Qj(),oe(re(fCe,1),Ve,445,0,[UO,qW,vie])))}function yft(){yft=L,I$t=qn((cF(),oe(re($$t,1),Ve,456,0,[_ie,Eie,Sie])))}function vft(){vft=L,O$t=qn((Kj(),oe(re(bCe,1),Ve,394,0,[hCe,Aie,dCe])))}function _ft(){_ft=L,tIt=qn((oj(),oe(re(OCe,1),Ve,439,0,[Tie,PCe,TCe])))}function Sft(){Sft=L,W5t=qn((Qw(),oe(re(H5t,1),Ve,464,0,[DO,a$,NW])))}function Eft(){Eft=L,uRt=qn((cc(),oe(re(cRt,1),Ve,471,0,[Ch,d1,Df])))}function kft(){kft=L,lRt=qn((ud(),oe(re(vv,1),Ve,237,0,[wa,sl,ma])))}function Rft(){Rft=L,dRt=qn((Ol(),oe(re(fRt,1),Ve,472,0,[pd,h1,Lf])))}function Aft(){Aft=L,Ykt=qn((uc(),oe(re(As,1),Ve,108,0,[j3e,Xs,yv])))}function Cft(){Cft=L,P4t=qn((l5(),oe(re(Tke,1),Ve,391,0,[mne,wne,yne])))}function xft(){xft=L,dTt=qn((Bb(),oe(re(hxe,1),Ve,346,0,[fU,ig,I$])))}function $ft(){$ft=L,oIt=qn((W7(),oe(re(Pie,1),Ve,444,0,[QW,ZW,eU])))}function Ift(){Ift=L,lTt=qn((Nd(),oe(re(txe,1),Ve,278,0,[VA,Wv,GA])))}function Tft(){Tft=L,ATt=qn((zE(),oe(re(vxe,1),Ve,280,0,[yxe,Vv,wU])))}function Pd(e,t){return!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),uY(e.o,t)}function kbn(e,t){var i;e.C&&(i=u(gs(e.b,t),127).n,i.d=e.C.d,i.a=e.C.a)}function K1e(e){var t,i,s,a;a=e.d,t=e.a,i=e.b,s=e.c,e.d=i,e.a=s,e.b=a,e.c=t}function Rbn(e){return!e.g&&(e.g=new $M),!e.g.b&&(e.g.b=new CQe(e)),e.g.b}function f7(e){return!e.g&&(e.g=new $M),!e.g.c&&(e.g.c=new IQe(e)),e.g.c}function Abn(e){return!e.g&&(e.g=new $M),!e.g.d&&(e.g.d=new xQe(e)),e.g.d}function Cbn(e){return!e.g&&(e.g=new $M),!e.g.a&&(e.g.a=new $Qe(e)),e.g.a}function xbn(e,t,i,s){return i&&(s=i.Rh(t,ui(i.Dh(),e.c.uk()),null,s)),s}function $bn(e,t,i,s){return i&&(s=i.Th(t,ui(i.Dh(),e.c.uk()),null,s)),s}function JX(e,t,i,s){var a;return a=Ne(Gn,ur,28,t+1,15,1),OAn(a,e,t,i,s),a}function Ne(e,t,i,s,a,c){var d;return d=n1t(a,s),a!=10&&oe(re(e,c),t,i,a,d),d}function Ibn(e,t,i){var s,a;for(a=new i4(t,e),s=0;si||t=0?e.Lh(i,!0,!0):cm(e,t,!0)}function zbn(e,t,i){var s;return s=Nbt(e,t,i),e.b=new xj(s.c.length),pve(e,s)}function qbn(e){if(e.b<=0)throw Z(new ea);return--e.b,e.a-=e.c.c,rt(e.a)}function Xbn(e){var t;if(!e.a)throw Z(new Vat);return t=e.a,e.a=oi(e.a),t}function Jbn(e){for(;!e.a;)if(!got(e.c,new LXe(e)))return!1;return!0}function WE(e){var t;return Qn(e),pe(e,204)?(t=u(e,204),t):new eXe(e)}function Ybn(e){rj(),u(e.of((br(),Hv)),181).Fc((fc(),a9)),e.qf(roe,null)}function rj(){rj=L,IIt=new DVe,PIt=new LVe,TIt=F1n((br(),roe),IIt,_1,PIt)}function ij(){ij=L,W6e=new ube("LEAF_NUMBER",0),bie=new ube("NODE_SIZE",1)}function tJ(e){e.a=Ne(Gn,ur,28,e.b+1,15,1),e.c=Ne(Gn,ur,28,e.b,15,1),e.d=0}function Qbn(e,t){e.a.Ne(t.d,e.b)>0&&(ot(e.c,new zpe(t.c,t.d,e.d)),e.b=t.d)}function n0e(e,t){if(e.g==null||t>=e.i)throw Z(new aq(t,e.i));return e.g[t]}function Mft(e,t,i){if(u4(e,i),i!=null&&!e.fk(i))throw Z(new tz);return i}function nJ(e,t){return _7(t)!=10&&oe(Lc(t),t.Sm,t.__elementTypeId$,_7(t),e),e}function UR(e,t,i,s){var a;s=(Uw(),s||T3e),a=e.slice(t,i),xye(a,e,t,i,-t,s)}function ku(e,t,i,s,a){return t<0?cm(e,i,s):u(i,69).wk().yk(e,e.hi(),t,s,a)}function Zbn(e,t){return Hr(Re(Oe(U(e,(Je(),Im)))),Re(Oe(U(t,Im))))}function Dft(){Dft=L,Gkt=qn((VR(),oe(re(gH,1),Ve,304,0,[Jte,Yte,Qte,Zte])))}function VR(){VR=L,Jte=new fD("All",0),Yte=new Art,Qte=new Mrt,Zte=new Rrt}function cc(){cc=L,Ch=new Pz(u3,0),d1=new Pz(X4,1),Df=new Pz(f3,2)}function Lft(){Lft=L,GF(),u$e=si,O8t=Ki,f$e=new ZT(si),N8t=new ZT(Ki)}function jft(){jft=L,LRt=qn((tm(),oe(re(DRt,1),Ve,417,0,[cO,lO,ane,lne])))}function Fft(){Fft=L,WRt=qn((P5(),oe(re(HRt,1),Ve,406,0,[bO,vH,_H,pO])))}function Bft(){Bft=L,FRt=qn((JE(),oe(re(jRt,1),Ve,332,0,[fO,uO,dO,hO])))}function Hft(){Hft=L,z4t=qn((k0(),oe(re(Mke,1),Ve,389,0,[Ev,Nke,kne,Rne])))}function Wft(){Wft=L,H4t=qn((s4(),oe(re(B4t,1),Ve,416,0,[Rm,Sv,_v,E_])))}function Uft(){Uft=L,wAt=qn((Md(),oe(re(gAt,1),Ve,421,0,[k3,wA,mA,One])))}function Vft(){Vft=L,sAt=qn((Dj(),oe(re(oAt,1),Ve,371,0,[Pne,zH,qH,vO])))}function Gft(){Gft=L,p5t=qn((Yy(),oe(re(Nre,1),Ve,203,0,[TW,Ore,F_,j_])))}function Kft(){Kft=L,m5t=qn((hh(),oe(re(VAe,1),Ve,284,0,[Zp,UAe,Lre,jre])))}function p7(){p7=L,FRe=new ebe(Sh,0),nW=new ebe("IMPROVE_STRAIGHTNESS",1)}function zft(e,t){var i,s;return s=t/e.c.Rd().gc()|0,i=t%e.c.Rd().gc(),HE(e,s,i)}function qft(e){var t;if(e.nl())for(t=e.i-1;t>=0;--t)we(e,t);return k1e(e)}function r0e(e){var t,i;if(!e.b)return null;for(i=e.b;t=i.a[0];)i=t;return i}function Xft(e){var t,i;if(!e.b)return null;for(i=e.b;t=i.a[1];)i=t;return i}function epn(e){return pe(e,180)?""+u(e,180).a:e==null?null:zs(e)}function tpn(e){return pe(e,180)?""+u(e,180).a:e==null?null:zs(e)}function Jft(e,t){if(t.a)throw Z(new ta(p_t));Vi(e.a,t),t.a=e,!e.j&&(e.j=t)}function i0e(e,t){MD.call(this,t.zd(),t.yd()&-16449),gn(e),this.a=e,this.c=t}function npn(e,t){return new Dq(t,Ow(Ro(t.e),t.f.a+e,t.f.b+e),(on(),!1))}function rpn(e,t){return AR(),ot(e,new Ji(t,rt(t.e.c.length+t.g.c.length)))}function ipn(e,t){return AR(),ot(e,new Ji(t,rt(t.e.c.length+t.g.c.length)))}function Yft(){Yft=L,A$t=qn((hF(),oe(re(aCe,1),Ve,354,0,[mie,oCe,sCe,iCe])))}function Qft(){Qft=L,Jxt=qn((v5(),oe(re(j6e,1),Ve,353,0,[aie,UW,sie,oie])))}function Zft(){Zft=L,Rxt=qn((ZE(),oe(re(s6e,1),Ve,405,0,[jW,u$,f$,d$])))}function edt(){edt=L,cTt=qn((Hb(),oe(re(aoe,1),Ve,223,0,[soe,r9,KA,F3])))}function tdt(){tdt=L,bTt=qn((eu(),oe(re(hTt,1),Ve,291,0,[o9,ab,S1,i9])))}function ndt(){ndt=L,kTt=qn((jc(),oe(re(M$,1),Ve,386,0,[c9,nw,l9,Uv])))}function rdt(){rdt=L,xTt=qn((qj(),oe(re(Axe,1),Ve,320,0,[uoe,Exe,Rxe,kxe])))}function idt(){idt=L,TTt=qn((jj(),oe(re(ITt,1),Ve,415,0,[foe,xxe,Cxe,$xe])))}function oj(){oj=L,Tie=new nq(OSt,0),PCe=new nq(ASe,1),TCe=new nq(Sh,2)}function Hy(e,t,i,s,a){return gn(e),gn(t),gn(i),gn(s),gn(a),new $ge(e,t,s)}function odt(e,t){var i;return i=u(BE(e.e,t),400),i?(ige(i),i.e):null}function Pl(e,t){var i;return i=Ns(e,t,0),i==-1?!1:(Tp(e,i),!0)}function sdt(e,t,i){var s;return Wg(e),s=new ce,s.a=t,e.a.Nb(new Htt(s,i)),s.a}function opn(e){var t;return Wg(e),t=Ne(bo,ms,28,0,15,1),_2(e.a,new NXe(t)),t}function o0e(e){var t;if(!mJ(e))throw Z(new ea);return e.e=1,t=e.d,e.d=null,t}function Op(e){var t;return Gs(e)&&(t=0-e,!isNaN(t))?t:zg(l4(e))}function Ns(e,t,i){for(;i=0?aF(e,i,!0,!0):cm(e,t,!0)}function a0e(e){var t;return t=g0(ln(e,32)),t==null&&(pl(e),t=g0(ln(e,32))),t}function l0e(e){var t;return e.Oh()||(t=xn(e.Dh())-e.ji(),e.$h().Mk(t)),e.zh()}function ddt(e,t){ake=new RM,BRt=t,jx=e,u(jx.b,68),X1e(jx,ake,null),Cvt(jx)}function l5(){l5=L,mne=new Nz("XY",0),wne=new Nz("X",1),yne=new Nz("Y",2)}function Ol(){Ol=L,pd=new Oz("TOP",0),h1=new Oz(X4,1),Lf=new Oz(F2e,2)}function Lb(){Lb=L,kO=new Bz(Sh,0),I_=new Bz("TOP",1),R3=new Bz(F2e,2)}function v7(){v7=L,Fre=new nbe("INPUT_ORDER",0),Bre=new nbe("PORT_DEGREE",1)}function GR(){GR=L,d3e=ul(Rc,Rc,524287),$kt=ul(0,0,TP),h3e=KX(1),KX(2),b3e=KX(0)}function aJ(e){var t;return e.d!=e.r&&(t=Ju(e),e.e=!!t&&t.lk()==$3t,e.d=t),e.e}function lJ(e,t,i){var s;return s=e.g[t],DC(e,t,e.Zi(t,i)),e.Ri(t,i,s),e.Ni(),s}function cj(e,t){var i;return i=e.dd(t),i>=0?(e.gd(i),!0):!1}function cJ(e,t){var i;for(Qn(e),Qn(t),i=!1;t.Ob();)i=i|e.Fc(t.Pb());return i}function Od(e,t){var i;return i=u(_n(e.e,t),400),i?(zrt(e,i),i.e):null}function hdt(e){var t,i;return t=e/60|0,i=e%60,i==0?""+t:""+t+":"+(""+i)}function Wy(e,t){var i=e.a[t],s=(MJ(),Vte)[typeof i];return s?s(i):wwe(typeof i)}function ia(e,t){var i,s;return Yg(e),s=new U1e(t,e.a),i=new yot(s),new Lt(e,i)}function uJ(e){var t;return t=e.b.c.length==0?null:gt(e.b,0),t!=null&&vJ(e,0),t}function cpn(e,t){var i,s,a;a=t.c.i,i=u(_n(e.f,a),60),s=i.d.c-i.e.c,B0e(t.a,s,0)}function c0e(e,t){var i;for(++e.d,++e.c[t],i=t+1;i=0;)++t[0]}function upn(e,t){hl(e,t==null||JD((gn(t),t))||isNaN((gn(t),t))?0:(gn(t),t))}function fpn(e,t){bl(e,t==null||JD((gn(t),t))||isNaN((gn(t),t))?0:(gn(t),t))}function dpn(e,t){Yw(e,t==null||JD((gn(t),t))||isNaN((gn(t),t))?0:(gn(t),t))}function hpn(e,t){Jw(e,t==null||JD((gn(t),t))||isNaN((gn(t),t))?0:(gn(t),t))}function bpn(e,t,i){return _E(new Xe(i.e.a+i.f.a/2,i.e.b+i.f.b/2),e)==(gn(t),t)}function ppn(e,t){return pe(t,102)&&u(t,19).Bb&ts?new lq(t,e):new i4(t,e)}function gpn(e,t){return pe(t,102)&&u(t,19).Bb&ts?new lq(t,e):new i4(t,e)}function _7(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function gdt(e,t){return t==(Tq(),Tq(),Wkt)?e.toLocaleLowerCase():e.toLowerCase()}function wdt(e){if(!e.e)throw Z(new ea);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function u0e(e){if(!e.c)throw Z(new ea);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function mdt(e){var t;for(++e.a,t=e.c.a.length;e.ae.a[s]&&(s=i);return s}function ydt(e){var t;return t=u(U(e,(Je(),xm)),313),t?t.a==e:!1}function vdt(e){var t;return t=u(U(e,(Je(),xm)),313),t?t.i==e:!1}function _dt(){_dt=L,D4t=qn((Mo(),oe(re(Pke,1),Ve,367,0,[jf,rb,La,za,Ls])))}function Sdt(){Sdt=L,yAt=qn((Zy(),oe(re(mAt,1),Ve,375,0,[_O,YH,QH,JH,XH])))}function Edt(){Edt=L,IAt=qn((Bp(),oe(re(MRe,1),Ve,348,0,[Gne,NRe,Kne,EA,SA])))}function kdt(){kdt=L,g5t=qn((T5(),oe(re(LAe,1),Ve,323,0,[DAe,Mre,Dre,r$,i$])))}function Rdt(){Rdt=L,UAt=qn((Iu(),oe(re(d4e,1),Ve,171,0,[xO,Xx,g1,Jx,xv])))}function Adt(){Adt=L,i$t=qn((vF(),oe(re(r$t,1),Ve,368,0,[die,cie,hie,uie,fie])))}function Cdt(){Cdt=L,iIt=qn((V5(),oe(re(rIt,1),Ve,373,0,[V_,N3,_$,v$,KO])))}function xdt(){xdt=L,uIt=qn((rP(),oe(re(WCe,1),Ve,324,0,[FCe,Die,HCe,Lie,BCe])))}function $dt(){$dt=L,aTt=qn((Fi(),oe(re(x$,1),Ve,88,0,[Xd,js,xs,qd,ju])))}function Idt(){Idt=L,OIt=qn((dd(),oe(re(sb,1),Ve,170,0,[Qt,Zi,Th,Y0,ng])))}function Tdt(){Tdt=L,gTt=qn((q2(),oe(re(P$,1),Ve,256,0,[E1,s9,bxe,T$,pxe])))}function Pdt(){Pdt=L,yTt=qn((ct(),oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn])))}function uj(){uj=L,H3e=new Khe("BY_SIZE",0),rne=new Khe("BY_SIZE_AND_SHAPE",1)}function fj(){fj=L,bne=new Xhe("EADES",0),kH=new Xhe("FRUCHTERMAN_REINGOLD",1)}function S7(){S7=L,eW=new Zhe("READING_DIRECTION",0),DRe=new Zhe("ROTATION",1)}function c5(){c5=L,V4t=new wje,G4t=new vje,W4t=new _je,U4t=new yje,K4t=new Sje}function Odt(e){this.b=new it,this.a=new it,this.c=new it,this.d=new it,this.e=e}function Ndt(e){this.g=e,this.f=new it,this.a=g.Math.min(this.g.c.c,this.g.d.c)}function Mdt(e,t,i){qD.call(this),h0e(this),this.a=e,this.c=i,this.b=t.d,this.f=t.e}function Spn(e,t,i){var s,a;for(a=new J(i);a.a=0&&t0?t-1:t,pet(Xnn(oht(ege(new lE,i),e.n),e.j),e.k)}function ks(e){var t,i;i=(t=new oz,t),Wn((!e.q&&(e.q=new We(cf,e,11,10)),e.q),i)}function f0e(e){return(e.i&2?"interface ":e.i&1?"":"class ")+($b(e),e.o)}function dj(e){return $a(e,xr)>0?xr:$a(e,Do)<0?Do:Yn(e)}function Uy(e){return e<3?(Qc(e,J2t),e+1):e=-.01&&e.a<=Bd&&(e.a=0),e.b>=-.01&&e.b<=Bd&&(e.b=0),e}function W2(e){i_();var t,i;for(i=$Se,t=0;ti&&(i=e[t]);return i}function Fdt(e,t){var i;if(i=dP(e.Dh(),t),!i)throw Z(new un(c1+t+rte));return i}function Vy(e,t){var i;for(i=e;oi(i);)if(i=oi(i),i==t)return!0;return!1}function Opn(e,t){var i,s,a;for(s=t.a.ld(),i=u(t.a.md(),16).gc(),a=0;ae||e>t)throw Z(new yhe("fromIndex: 0, toIndex: "+e+C2e+t))}function Xw(e){if(e<0)throw Z(new un("Illegal Capacity: "+e));this.g=this.aj(e)}function d0e(e,t){return Rd(),If(i1),g.Math.abs(e-t)<=i1||e==t||isNaN(e)&&isNaN(t)}function hJ(e,t){var i,s,a,c;for(s=e.d,a=0,c=s.length;a0&&(e.a/=t,e.b/=t),e}function Jc(e){var t;return e.w?e.w:(t=Rdn(e),t&&!t.Vh()&&(e.w=t),t)}function KR(e,t){var i,s;s=e.a,i=$0n(e,t,null),s!=t&&!e.e&&(i=B4(e,t,i)),i&&i.oj()}function Vdt(e,t,i){var s,a;s=t;do a=Re(e.p[s.p])+i,e.p[s.p]=a,s=e.a[s.p];while(s!=t)}function Gdt(e,t,i){var s=function(){return e.apply(s,arguments)};return t.apply(s,i),s}function Bpn(e){var t;return e==null?null:(t=u(e,195),Q2n(t,t.length))}function we(e,t){if(e.g==null||t>=e.i)throw Z(new aq(t,e.i));return e.Wi(t,e.g[t])}function Hpn(e,t){Gt();var i,s;for(s=new it,i=0;i=14&&t<=16))),e}function zn(e,t){var i;return gn(t),i=e[":"+t],U8(!!i,"Enum constant undefined: "+t),i}function jn(e,t,i,s,a,c){var d;return d=cX(e,t),sht(i,d),d.i=a?8:0,d.f=s,d.e=a,d.g=c,d}function p0e(e,t,i,s,a){this.d=t,this.k=s,this.f=a,this.o=-1,this.p=1,this.c=e,this.a=i}function g0e(e,t,i,s,a){this.d=t,this.k=s,this.f=a,this.o=-1,this.p=2,this.c=e,this.a=i}function w0e(e,t,i,s,a){this.d=t,this.k=s,this.f=a,this.o=-1,this.p=6,this.c=e,this.a=i}function m0e(e,t,i,s,a){this.d=t,this.k=s,this.f=a,this.o=-1,this.p=7,this.c=e,this.a=i}function y0e(e,t,i,s,a){this.d=t,this.j=s,this.e=a,this.o=-1,this.p=4,this.c=e,this.a=i}function aht(e,t){var i,s,a,c;for(s=t,a=0,c=s.length;a=0))throw Z(new un("tolerance ("+e+") must be >= 0"));return e}function cht(e,t){var i;return pe(t,44)?e.c.Mc(t):(i=uY(e,t),Zj(e,t),i)}function ws(e,t,i){return E0(e,t),rl(e,i),Np(e,0),Gy(e,1),Fp(e,!0),jp(e,!0),e}function k7(e,t){var i;if(i=e.gc(),t<0||t>i)throw Z(new Py(t,i));return new Ipe(e,t)}function vj(e,t){e.b=g.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),ot(e.a,t)}function uht(e){$y(e.c>=0),tmn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function _j(e){var t,i;for(i=e.c.Cc().Kc();i.Ob();)t=u(i.Pb(),16),t.$b();e.c.$b(),e.d=0}function Ypn(e){var t,i,s,a;for(i=e.a,s=0,a=i.length;s=0}function A0e(e,t){e.r>0&&e.c0&&e.g!=0&&A0e(e.i,t/e.r*e.i.d))}function C0e(e,t){var i;i=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,1,i,e.c))}function gJ(e,t){var i;i=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,4,i,e.c))}function ZR(e,t){var i;i=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,2,i,e.k))}function wJ(e,t){var i;i=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,2,i,e.D))}function Ej(e,t){var i;i=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,8,i,e.f))}function kj(e,t){var i;i=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,7,i,e.i))}function x0e(e,t){var i;i=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,8,i,e.a))}function $0e(e,t){var i;i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,0,i,e.b))}function I0e(e,t){var i;i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,0,i,e.b))}function T0e(e,t){var i;i=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,1,i,e.c))}function P0e(e,t){var i;i=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,1,i,e.d))}function ign(e,t,i){var s;e.b=t,e.a=i,s=(e.a&512)==512?new $Ze:new sde,e.c=mRn(s,e.b,e.a)}function Sht(e,t){return Kb(e.e,t)?(is(),aJ(t)?new sL(t,e):new C8(t,e)):new Jnt(t,e)}function ogn(e){var t,i;return 0>e?new Nhe:(t=e+1,i=new Nut(t,e),new cpe(null,i))}function sgn(e,t){Gt();var i;return i=new bE(1),fo(e)?Ss(i,e,t):ol(i.f,e,t),new JK(i)}function agn(e,t){var i,s;return i=e.c,s=t.e[e.p],s>0?u(gt(i.a,s-1),10):null}function lgn(e,t){var i,s;return i=e.o+e.p,s=t.o+t.p,it?(t<<=1,t>0?t:rx):t}function mJ(e){switch(Ube(e.e!=3),e.e){case 2:return!1;case 0:return!0}return wbn(e)}function kht(e,t){var i;return pe(t,8)?(i=u(t,8),e.a==i.a&&e.b==i.b):!1}function ugn(e,t){var i;i=new RM,u(t.b,68),u(t.b,68),u(t.b,68),dl(t.a,new Bpe(e,i,t))}function Rht(e,t){var i,s;for(s=t.vc().Kc();s.Ob();)i=u(s.Pb(),44),Z7(e,i.ld(),i.md())}function O0e(e,t){var i;i=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,11,i,e.d))}function Rj(e,t){var i;i=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,13,i,e.j))}function N0e(e,t){var i;i=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,21,i,e.b))}function fgn(e,t){(XL(),Ud?null:t.c).length==0&&Hit(t,new Te),Ss(e.a,Ud?null:t.c,t)}function dgn(e,t){t.Ug("Hierarchical port constraint processing",1),Imn(e),Jxn(e),t.Vg()}function Zw(){Zw=L,Cm=new Mz("START",0),b1=new Mz("MIDDLE",1),Am=new Mz("END",2)}function Aj(){Aj=L,VW=new cbe("P1_NODE_PLACEMENT",0),U_=new cbe("P2_EDGE_ROUTING",1)}function Kg(){Kg=L,E3=new jr(Q2e),CH=new jr(B_t),Bx=new jr(H_t),gO=new jr(W_t)}function em(e){var t;return Pq(e.f.g,e.d),Cn(e.b),e.c=e.a,t=u(e.a.Pb(),44),e.b=z0e(e),t}function M0e(e){var t;return e.b==null?(kp(),kp(),m9):(t=e.ul()?e.tl():e.sl(),t)}function Aht(e,t){var i;return i=t==null?-1:Ns(e.b,t,0),i<0?!1:(vJ(e,i),!0)}function Tf(e,t){var i;return gn(t),i=t.g,e.b[i]?!1:(pi(e.b,i,t),++e.c,!0)}function Cj(e,t){var i,s;return i=1-t,s=e.a[i],e.a[i]=s.a[t],s.a[t]=e,e.b=!0,s.b=!1,s}function hgn(e,t){var i,s;for(s=t.Kc();s.Ob();)i=u(s.Pb(),272),e.b=!0,Vi(e.e,i),i.b=e}function bgn(e,t){var i,s;return i=u(U(e,(dt(),Nv)),8),s=u(U(t,Nv),8),Hr(i.b,s.b)}function yJ(e,t,i){var s,a,c;return c=t>>5,a=t&31,s=ro(Bg(e.n[i][c],Yn(xf(a,1))),3),s}function Cht(e,t,i){var s,a,c;for(c=e.a.length-1,a=e.b,s=0;s0?1:0:(!e.c&&(e.c=r7(Ra(e.f))),e.c).e}function Dht(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function mgn(e,t){return s4(),e==Rm&&t==Sv||e==Sv&&t==Rm||e==E_&&t==_v||e==_v&&t==E_}function ygn(e,t){return s4(),e==Rm&&t==_v||e==Rm&&t==E_||e==Sv&&t==E_||e==Sv&&t==_v}function Lht(e,t){return Rd(),If(Bd),g.Math.abs(0-t)<=Bd||t==0||isNaN(0)&&isNaN(t)?0:e/t}function jht(e,t){return Re(Oe(Oc(B7(Ps(new Lt(null,new Wt(e.c.b,16)),new UJe(e)),t))))}function F0e(e,t){return Re(Oe(Oc(B7(Ps(new Lt(null,new Wt(e.c.b,16)),new WJe(e)),t))))}function vgn(){return cs(),oe(re(ere,1),Ve,259,0,[iW,Lu,Gx,oW,CA,$_,Kx,RA,AA,sW])}function _gn(){return Yu(),oe(re(WAe,1),Ve,243,0,[PW,OO,NO,FAe,BAe,jAe,HAe,OW,jm,Dv])}function Sgn(e,t){var i;t.Ug("General Compactor",1),i=Cwn(u(Ge(e,(n1(),gie)),393)),i.Cg(e)}function Egn(e,t){var i,s;return i=u(Ge(e,(n1(),KW)),17),s=u(Ge(t,KW),17),xa(i.a,s.a)}function B0e(e,t,i){var s,a;for(a=Fn(e,0);a.b!=a.d.c;)s=u(Ln(a),8),s.a+=t,s.b+=i;return e}function d5(e,t,i){var s;for(s=e.b[i&e.f];s;s=s.b)if(i==s.a&&ch(t,s.g))return s;return null}function h5(e,t,i){var s;for(s=e.c[i&e.f];s;s=s.d)if(i==s.f&&ch(t,s.i))return s;return null}function kgn(e,t,i){var s,a,c;for(s=0,a=0;a>>31;s!=0&&(e[i]=s)}function kJ(e,t,i,s,a,c){var d;this.c=e,d=new it,yme(e,d,t,e.b,i,s,a,c),this.a=new _o(d,0)}function Fht(){this.c=new QM(0),this.b=new QM(xSe),this.d=new QM(ASt),this.a=new QM(KZ)}function Au(e,t,i,s,a,c,d){Kn.call(this,e,t),this.d=i,this.e=s,this.c=a,this.b=c,this.a=Id(d)}function ki(e,t,i,s,a,c,d,p,w,y,v,x,N){return V0t(e,t,i,s,a,c,d,p,w,y,v,x,N),rY(e,!1),e}function Rgn(e){return e.b.c.i.k==(hn(),Oi)?u(U(e.b.c.i,(Je(),Nr)),12):e.b.c}function Bht(e){return e.b.d.i.k==(hn(),Oi)?u(U(e.b.d.i,(Je(),Nr)),12):e.b.d}function Agn(e){var t;return t=UL(e),xw(t.a,0)?(nD(),nD(),Ukt):(nD(),new _it(t.b))}function RJ(e){var t;return t=m1e(e),xw(t.a,0)?(Ey(),Ey(),Xte):(Ey(),new Sq(t.b))}function AJ(e){var t;return t=m1e(e),xw(t.a,0)?(Ey(),Ey(),Xte):(Ey(),new Sq(t.c))}function Hht(e){switch(e.g){case 2:return ct(),bn;case 4:return ct(),yn;default:return e}}function Wht(e){switch(e.g){case 1:return ct(),Mn;case 3:return ct(),dn;default:return e}}function Uht(e){switch(e.g){case 0:return new EVe;case 1:return new kVe;default:return null}}function VE(){VE=L,Tne=new di("edgelabelcenterednessanalysis.includelabel",(on(),f1))}function H0e(){H0e=L,B5t=bh(urt(cr(cr(new Li,(Mo(),La),(Go(),FH)),za,NH),Ls),jH)}function Vht(){Vht=L,V5t=bh(urt(cr(cr(new Li,(Mo(),La),(Go(),FH)),za,NH),Ls),jH)}function CJ(){CJ=L,H$=new kZe,yoe=oe(re(Fl,1),y_,179,0,[]),f8t=oe(re(cf,1),zEe,62,0,[])}function e4(){e4=L,mO=new Jhe("TO_INTERNAL_LTR",0),xne=new Jhe("TO_INPUT_DIRECTION",1)}function Xl(){Xl=L,Hke=new xje,Fke=new $je,Bke=new Ije,jke=new Tje,Wke=new Pje,Uke=new Oje}function Cgn(e,t){t.Ug(rSt,1),Vwe(frn(new MM((dC(),new pX(e,!1,!1,new Gfe))))),t.Vg()}function xgn(e,t,i){i.Ug("DFS Treeifying phase",1),Gwn(e,t),Ukn(e,t),e.a=null,e.b=null,i.Vg()}function R7(e,t){return on(),fo(e)?H1e(e,tr(t)):Cy(e)?Yq(e,Oe(t)):Ay(e)?mcn(e,ht(t)):e.Fd(t)}function b5(e,t){var i,s;for(gn(t),s=t.vc().Kc();s.Ob();)i=u(s.Pb(),44),e.zc(i.ld(),i.md())}function $gn(e,t,i){var s;for(s=i.Kc();s.Ob();)if(!KL(e,t,s.Pb()))return!1;return!0}function Ign(e,t,i,s,a){var c;return i&&(c=ui(t.Dh(),e.c),a=i.Rh(t,-1-(c==-1?s:c),null,a)),a}function Tgn(e,t,i,s,a){var c;return i&&(c=ui(t.Dh(),e.c),a=i.Th(t,-1-(c==-1?s:c),null,a)),a}function Ght(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function Pgn(e){if(gn(e),e.length==0)throw Z(new rh("Zero length BigInteger"));L4n(this,e)}function W0e(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}function Kht(e,t,i){this.g=e,this.d=t,this.e=i,this.a=new it,VSn(this),Gt(),Pi(this.a,null)}function U0e(e,t){t.q=e,e.d=g.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),ot(e.a,t)}function t4(e,t){var i,s,a,c;return a=e.c,i=e.c+e.b,c=e.d,s=e.d+e.a,t.a>a&&t.ac&&t.ba?i=a:fn(t,i+1),e.a=_u(e.a,0,t)+(""+s)+Lge(e.a,i)}function tbt(e,t){e.a=Uo(e.a,1),e.c=g.Math.min(e.c,t),e.b=g.Math.max(e.b,t),e.d=Uo(e.d,t)}function Fgn(e,t){return t1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw Z(new ea)}function obt(e){switch(e.a.g){case 1:return new unt;case 3:return new u1t;default:return new _qe}}function G0e(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return w1e(e,t)}function Ra(e){return PP>22),a=e.h+t.h+(s>>22),ul(i&Rc,s&Rc,a&qb)}function hbt(e,t){var i,s,a;return i=e.l-t.l,s=e.m-t.m+(i>>22),a=e.h-t.h+(s>>22),ul(i&Rc,s&Rc,a&qb)}function s1n(e){var t,i;for(Z5n(e),i=new J(e.d);i.as)throw Z(new Py(t,s));return e.Si()&&(i=Tlt(e,i)),e.Ei(t,i)}function a4(e,t,i,s,a){var c,d;for(d=i;d<=a;d++)for(c=t;c<=s;c++)J2(e,c,d)||HF(e,c,d,!0,!1)}function v1n(e){i_();var t,i,s;for(i=Ne(ao,tt,8,2,0,1),s=0,t=0;t<2;t++)s+=.5,i[t]=hyn(s,e);return i}function l4(e){var t,i,s;return t=~e.l+1&Rc,i=~e.m+(t==0?1:0)&Rc,s=~e.h+(t==0&&i==0?1:0)&qb,ul(t,i,s)}function Z0e(e){var t;if(e<0)return Do;if(e==0)return 0;for(t=rx;!(t&e);t>>=1);return t}function NJ(e,t,i){return e>=128?!1:e<64?IC(ro(xf(1,e),i),0):IC(ro(xf(1,e-64),t),0)}function N7(e,t,i){return i==null?(!e.q&&(e.q=new Dn),BE(e.q,t)):(!e.q&&(e.q=new Dn),wr(e.q,t,i)),e}function Ue(e,t,i){return i==null?(!e.q&&(e.q=new Dn),BE(e.q,t)):(!e.q&&(e.q=new Dn),wr(e.q,t,i)),e}function kbt(e){var t,i;return i=new YL,Ms(i,e),Ue(i,(Kg(),E3),e),t=new Dn,XAn(e,i,t),E5n(e,i,t),i}function Rbt(e){var t,i;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,i=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||i}function Abt(e,t){var i,s,a,c;for(i=!1,s=e.a[t].length,c=0;c=0,"Negative initial capacity"),U8(t>=0,"Non-positive load factor"),ac(this)}function S1n(e,t,i,s,a){var c,d;if(d=e.length,c=i.length,t<0||s<0||a<0||t+a>d||s+a>c)throw Z(new Gde)}function rwe(e,t){Gt();var i,s,a,c,d;for(d=!1,s=t,a=0,c=s.length;a1||t>=0&&e.b<3)}function LJ(e){var t,i,s;t=~e.l+1&Rc,i=~e.m+(t==0?1:0)&Rc,s=~e.h+(t==0&&i==0?1:0)&qb,e.l=t,e.m=i,e.h=s}function swe(e){Gt();var t,i,s;for(s=1,i=e.Kc();i.Ob();)t=i.Pb(),s=31*s+(t!=null?zr(t):0),s=s|0;return s}function C1n(e,t,i,s,a){var c;return c=Xye(e,t),i&&LJ(c),a&&(e=vyn(e,t),s?u1=l4(e):u1=ul(e.l,e.m,e.h)),c}function Dbt(e,t,i){e.g=tQ(e,t,(ct(),yn),e.b),e.d=tQ(e,i,yn,e.b),!(e.g.c==0||e.d.c==0)&&h0t(e)}function Lbt(e,t,i){e.g=tQ(e,t,(ct(),bn),e.j),e.d=tQ(e,i,bn,e.j),!(e.g.c==0||e.d.c==0)&&h0t(e)}function awe(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return Gwe(e,t)}function x1n(e,t){switch(t.g){case 0:pe(e.b,641)||(e.b=new ebt);break;case 1:pe(e.b,642)||(e.b=new Zot)}}function jbt(e){switch(e.g){case 0:return new $Ve;default:throw Z(new un(HB+(e.f!=null?e.f:""+e.g)))}}function Fbt(e){switch(e.g){case 0:return new xVe;default:throw Z(new un(HB+(e.f!=null?e.f:""+e.g)))}}function $1n(e,t,i){return!bR(Pr(new Lt(null,new Wt(e.c,16)),new oR(new Rnt(t,i)))).Bd((i0(),_3))}function Bbt(e,t){return _E(E4(u(U(t,(ba(),Bm)),88)),new Xe(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function I1n(e,t){for(;e.g==null&&!e.c?a1e(e):e.g==null||e.i!=0&&u(e.g[e.i-1],51).Ob();)Nrn(t,$F(e))}function S0(e){var t,i;for(i=new J(e.a.b);i.as?1:0}function O1n(e){return ot(e.c,(GE(),$It)),d0e(e.a,Re(Oe(ut((cY(),xW)))))?new pGe:new qYe(e)}function N1n(e){for(;!e.d||!e.d.Ob();)if(e.b&&!lC(e.b))e.d=u(IE(e.b),51);else return null;return e.d}function cwe(e){switch(e.g){case 1:return ASt;default:case 2:return 0;case 3:return KZ;case 4:return xSe}}function M1n(){Cr();var e;return Roe||(e=ton(r1("M",!0)),e=fL(r1("M",!1),e),Roe=e,Roe)}function jj(){jj=L,foe=new $D("ELK",0),xxe=new $D("JSON",1),Cxe=new $D("DOT",2),$xe=new $D("SVG",3)}function m5(){m5=L,Ure=new Vz("STACKED",0),Wre=new Vz("REVERSE_STACKED",1),MO=new Vz("SEQUENCED",2)}function y5(){y5=L,w6e=new Jz(Sh,0),Xre=new Jz("MIDDLE_TO_MIDDLE",1),jO=new Jz("AVOID_OVERLAP",2)}function f4(){f4=L,RRe=new fBe,ARe=new dBe,fAt=new cBe,uAt=new hBe,cAt=new uBe,kRe=(gn(cAt),new Ze)}function Fj(){Fj=L,dxe=new Iw(15),fTt=new yo((br(),rg),dxe),$$=D3,lxe=VIt,cxe=Z0,fxe=Y_,uxe=Bv}function V2(e,t){var i,s,a,c,d;for(s=t,a=0,c=s.length;a=e.b.c.length||(fwe(e,2*t+1),i=2*t+2,i0&&(t.Cd(i),i.i&&L0n(i))}function dwe(e,t,i){var s;for(s=i-1;s>=0&&e[s]===t[s];s--);return s<0?0:$z(ro(e[s],us),ro(t[s],us))?-1:1}function Ubt(e,t,i){var s,a;this.g=e,this.c=t,this.a=this,this.d=this,a=Eht(i),s=Ne(Ekt,$P,227,a,0,1),this.b=s}function WJ(e,t,i,s,a){var c,d;for(d=i;d<=a;d++)for(c=t;c<=s;c++)if(J2(e,c,d))return!0;return!1}function H1n(e,t){var i,s;for(s=e.Zb().Cc().Kc();s.Ob();)if(i=u(s.Pb(),16),i.Hc(t))return!0;return!1}function Vbt(e,t,i){var s,a,c,d;for(gn(i),d=!1,c=e.fd(t),a=i.Kc();a.Ob();)s=a.Pb(),c.Rb(s),d=!0;return d}function UJ(e,t){var i,s;return s=u(ln(e.a,4),129),i=Ne(woe,vte,424,t,0,1),s!=null&&Da(s,0,i,0,s.length),i}function Gbt(e,t){var i;return i=new wQ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(i.c=e),i}function W1n(e,t){var i;return e===t?!0:pe(t,85)?(i=u(t,85),pye(s0(e),i.vc())):!1}function Kbt(e,t,i){var s,a;for(a=i.Kc();a.Ob();)if(s=u(a.Pb(),44),e.Be(t,s.md()))return!0;return!1}function zbt(e,t,i){return e.d[t.p][i.p]||(Gmn(e,t,i),e.d[t.p][i.p]=!0,e.d[i.p][t.p]=!0),e.a[t.p][i.p]}function U1n(e,t){var i;return!e||e==t||!Jr(t,(Je(),$m))?!1:(i=u(U(t,(Je(),$m)),10),i!=e)}function VJ(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}function qbt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}function Xbt(e){Dlt.call(this,"The given string does not match the expected format for individual spacings.",e)}function V1n(e,t){var i;t.Ug("Min Size Preprocessing",1),i=kye(e),Lr(e,(qh(),w$),i.a),Lr(e,XW,i.b),t.Vg()}function G1n(e){var t,i,s;for(t=0,s=Ne(ao,tt,8,e.b,0,1),i=Fn(e,0);i.b!=i.d.c;)s[t++]=u(Ln(i),8);return s}function GJ(e,t,i){var s,a,c;for(s=new ei,c=Fn(i,0);c.b!=c.d.c;)a=u(Ln(c),8),sr(s,new qo(a));Vbt(e,t,s)}function K1n(e,t){var i;return i=Uo(e,t),$z(NX(e,t),0)|PD(NX(e,i),0)?i:Uo(xP,NX(Bg(i,63),1))}function z1n(e,t){var i,s;return i=u(e.d.Bc(t),16),i?(s=e.e.hc(),s.Gc(i),e.e.d-=i.gc(),i.$b(),s):null}function Jbt(e){var t;if(t=e.a.c.length,t>0)return $R(t-1,e.a.c.length),Tp(e.a,t-1);throw Z(new qQe)}function Ybt(e,t,i){if(e>t)throw Z(new un(iB+e+d_t+t));if(e<0||t>i)throw Z(new yhe(iB+e+I2e+t+C2e+i))}function d4(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),wJ(e,t==null?null:(gn(t),t)),e.C&&e.hl(null)}function q1n(e,t){var i;i=ut((cY(),xW))!=null&&t.Sg()!=null?Re(Oe(t.Sg()))/Re(Oe(ut(xW))):1,wr(e.b,t,i)}function hwe(e,t){var i,s;if(s=e.c[t],s!=0)for(e.c[t]=0,e.d-=s,i=t+1;iNB?e-i>NB:i-e>NB}function lpt(e,t){var i;for(i=0;ia&&(j1t(t.q,a),s=i!=t.q.d)),s}function cpt(e,t){var i,s,a,c,d,p,w,y;return w=t.i,y=t.j,s=e.f,a=s.i,c=s.j,d=w-a,p=y-c,i=g.Math.sqrt(d*d+p*p),i}function ywe(e,t){var i,s;return s=eF(e),s||(i=(FQ(),Jwt(t)),s=new LQe(i),Wn(s.El(),e)),s}function j7(e,t){var i,s;return i=u(e.c.Bc(t),16),i?(s=e.hc(),s.Gc(i),e.d-=i.gc(),i.$b(),e.mc(s)):e.jc()}function o0n(e,t){var i,s;for(s=Ec(e.d,1)!=0,i=!0;i;)i=!1,i=t.c.mg(t.e,s),i=i|hP(e,t,s,!1),s=!s;L0e(e)}function upt(e,t,i,s){var a,c;e.a=t,c=s?0:1,e.f=(a=new E0t(e.c,e.a,i,c),new tyt(i,e.a,a,e.e,e.b,e.c==(Qw(),a$)))}function Hj(e){var t;return Cn(e.a!=e.b),t=e.d.a[e.a],jit(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function fpt(e){var t;if(e.c!=0)return e.c;for(t=0;t=e.c.b:e.a<=e.c.b))throw Z(new ea);return t=e.a,e.a+=e.c.c,++e.b,rt(t)}function JJ(e){var t;return t=new Nbe(e.a),Ms(t,e),Ue(t,(Je(),Nr),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function YJ(e){return(ct(),Ll).Hc(e.j)?Re(Oe(U(e,(Je(),xA)))):oa(oe(re(ao,1),tt,8,0,[e.i.n,e.n,e.a])).b}function a0n(e){var t;return t=LD(F5t),u(U(e,(Je(),Xa)),21).Hc((cs(),CA))&&cr(t,(Mo(),La),(Go(),WH)),t}function l0n(e){var t,i,s,a;for(a=new Ni,s=new J(e);s.a=0?t:-t;s>0;)s%2==0?(i*=i,s=s/2|0):(a*=i,s-=1);return t<0?1/a:a}function h0n(e,t){var i,s,a;for(a=1,i=e,s=t>=0?t:-t;s>0;)s%2==0?(i*=i,s=s/2|0):(a*=i,s-=1);return t<0?1/a:a}function Jg(e,t){var i,s,a,c;return c=(a=e?eF(e):null,K0t((s=t,a&&a.Gl(),s))),c==t&&(i=eF(e),i&&i.Gl()),c}function dpt(e,t,i){var s,a;return a=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(s=new lo(e,1,0,a,t),i?i.nj(s):i=s),i}function hpt(e,t,i){var s,a;return a=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(s=new lo(e,1,3,a,t),i?i.nj(s):i=s),i}function _we(e,t,i){var s,a;return a=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(s=new lo(e,1,1,a,t),i?i.nj(s):i=s),i}function bpt(e){var t,i;if(e!=null)for(i=0;i=s||t-129&&e<128?(Qot(),t=e+128,i=y3e[t],!i&&(i=y3e[t]=new _de(e)),i):new _de(e)}function b4(e){var t,i;return e>-129&&e<128?(pst(),t=e+128,i=E3e[t],!i&&(i=E3e[t]=new Ede(e)),i):new Ede(e)}function wpt(e,t){var i;e.a.c.length>0&&(i=u(gt(e.a,e.a.c.length-1),579),uwe(i,t))||ot(e.a,new Mut(t))}function y0n(e){Cf();var t,i;t=e.d.c-e.e.c,i=u(e.g,154),dl(i.b,new IJe(t)),dl(i.c,new TJe(t)),xo(i.i,new PJe(t))}function mpt(e){var t;return t=new Pg,t.a+="VerticalSegment ",Fa(t,e.e),t.a+=" ",lr(t,Hbe(new gz,new J(e.k))),t.a}function QJ(e,t){var i,s,a;for(i=0,a=sa(e,t).Kc();a.Ob();)s=u(a.Pb(),12),i+=U(s,(Je(),dc))!=null?1:0;return i}function z2(e,t,i){var s,a,c;for(s=0,c=Fn(e,0);c.b!=c.d.c&&(a=Re(Oe(Ln(c))),!(a>i));)a>=t&&++s;return s}function ypt(e,t){Qn(e);try{return e._b(t)}catch(i){if(i=ci(i),pe(i,212)||pe(i,169))return!1;throw Z(i)}}function Ewe(e,t){Qn(e);try{return e.Hc(t)}catch(i){if(i=ci(i),pe(i,212)||pe(i,169))return!1;throw Z(i)}}function v0n(e,t){Qn(e);try{return e.Mc(t)}catch(i){if(i=ci(i),pe(i,212)||pe(i,169))return!1;throw Z(i)}}function qy(e,t){Qn(e);try{return e.xc(t)}catch(i){if(i=ci(i),pe(i,212)||pe(i,169))return null;throw Z(i)}}function _0n(e,t){Qn(e);try{return e.Bc(t)}catch(i){if(i=ci(i),pe(i,212)||pe(i,169))return null;throw Z(i)}}function S5(e,t){switch(t.g){case 2:case 1:return sa(e,t);case 3:case 4:return $u(sa(e,t))}return Gt(),Gt(),Qo}function E5(e){var t;return e.Db&64?Pf(e):(t=new Ku(Pf(e)),t.a+=" (name: ",ps(t,e.zb),t.a+=")",t.a)}function S0n(e){var t;return t=u(Od(e.c.c,""),233),t||(t=new DE(dR(fR(new rE,""),"Other")),Hp(e.c.c,"",t)),t}function kwe(e,t,i){var s,a;return a=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(s=new lo(e,1,4,a,t),i?i.nj(s):i=s),i}function Rwe(e,t,i){var s,a;return a=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(s=new lo(e,1,8,a,e.r),i?i.nj(s):i=s),i}function E0n(e,t,i){var s,a;return s=new Db(e.e,4,13,(a=t.c,a||(Vt(),Qd)),null,Wp(e,t),!1),i?i.nj(s):i=s,i}function k0n(e,t,i){var s,a;return s=new Db(e.e,3,13,null,(a=t.c,a||(Vt(),Qd)),Wp(e,t),!1),i?i.nj(s):i=s,i}function Lp(e,t){var i,s;return i=u(t,691),s=i.el(),!s&&i.fl(s=pe(t,90)?new Ynt(e,u(t,29)):new vct(e,u(t,156))),s}function F7(e,t,i){var s;e._i(e.i+1),s=e.Zi(t,i),t!=e.i&&Da(e.g,t,e.g,t+1,e.i-t),pi(e.g,t,s),++e.i,e.Mi(t,i),e.Ni()}function R0n(e,t){var i;return t.a&&(i=t.a.a.length,e.a?lr(e.a,e.b):e.a=new Kc(e.d),Cct(e.a,t.a,t.d.length,i)),e}function A0n(e,t){var i;e.c=t,e.a=Twn(t),e.a<54&&(e.f=(i=t.d>1?Rct(t.a[0],t.a[1]):Rct(t.a[0],0),b0(t.e>0?i:Op(i))))}function B7(e,t){var i;return i=new ce,e.a.Bd(i)?(vR(),new uz(gn(sdt(e,i.a,t)))):(Wg(e),vR(),vR(),N3e)}function vpt(e,t){var i;e.c.length!=0&&(i=u(Dd(e,Ne(ib,zp,10,e.c.length,0,1)),199),Abe(i,new wFe),hwt(i,t))}function _pt(e,t){var i;e.c.length!=0&&(i=u(Dd(e,Ne(ib,zp,10,e.c.length,0,1)),199),Abe(i,new mFe),hwt(i,t))}function Tr(e,t){return fo(e)?Ft(e,t):Cy(e)?pot(e,t):Ay(e)?(gn(e),xe(e)===xe(t)):yge(e)?e.Fb(t):dge(e)?hrt(e,t):d1e(e,t)}function Cu(e,t,i){if(t<0)Tye(e,i);else{if(!i.rk())throw Z(new un(c1+i.xe()+Sx));u(i,69).wk().Ek(e,e.hi(),t)}}function Spt(e,t,i){if(e<0||t>i)throw Z(new vs(iB+e+I2e+t+", size: "+i));if(e>t)throw Z(new un(iB+e+d_t+t))}function Ept(e){var t;return e.Db&64?Pf(e):(t=new Ku(Pf(e)),t.a+=" (source: ",ps(t,e.d),t.a+=")",t.a)}function kpt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function C0n(e){ZF();var t,i,s,a;for(i=wY(),s=0,a=i.length;s=0?Qg(e):JC(Qg(Op(e))))}function Cpt(e,t,i,s,a,c){this.e=new it,this.f=(ls(),o$),ot(this.e,e),this.d=t,this.a=i,this.b=s,this.f=a,this.c=c}function I0n(e,t,i){e.n=o0(P1,[tt,EZ],[376,28],14,[i,Yi(g.Math.ceil(t/32))],2),e.o=t,e.p=i,e.j=t-1>>1,e.k=i-1>>1}function xpt(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function $pt(e,t){var i,s;for(s=new vn(e);s.e!=s.i.gc();)if(i=u(Rn(s),142),xe(t)===xe(i))return!0;return!1}function T0n(e,t,i){var s,a,c;return c=(a=T4(e.b,t),a),c&&(s=u(qF(w7(e,c),""),29),s)?Zye(e,s,t,i):null}function ZJ(e,t,i){var s,a,c;return c=(a=T4(e.b,t),a),c&&(s=u(qF(w7(e,c),""),29),s)?eve(e,s,t,i):null}function P0n(e,t){var i;if(i=U2(e.i,t),i==null)throw Z(new nh("Node did not exist in input."));return V0e(t,i),null}function O0n(e,t){var i;if(i=dP(e,t),pe(i,331))return u(i,35);throw Z(new un(c1+t+"' is not a valid attribute"))}function R5(e,t,i){var s;if(s=e.gc(),t>s)throw Z(new Py(t,s));if(e.Si()&&e.Hc(i))throw Z(new un(ZP));e.Gi(t,i)}function N0n(e,t){t.Ug("Sort end labels",1),Ei(Pr(ia(new Lt(null,new Wt(e.b,16)),new tFe),new nFe),new rFe),t.Vg()}function Fi(){Fi=L,Xd=new k8(lx,0),js=new k8(f3,1),xs=new k8(u3,2),qd=new k8(DZ,3),ju=new k8("UP",4)}function W7(){W7=L,QW=new rq("P1_STRUCTURE",0),ZW=new rq("P2_PROCESSING_ORDER",1),eU=new rq("P3_EXECUTION",2)}function Ipt(){Ipt=L,e$t=bh(bh(gC(bh(bh(gC(cr(new Li,(ZE(),u$),(q5(),qre)),f$),h6e),p6e),d$),c6e),g6e)}function M0n(e){switch(u(U(e,(Je(),W0)),311).g){case 1:Ue(e,W0,(Lb(),R3));break;case 2:Ue(e,W0,(Lb(),I_))}}function D0n(e){switch(e){case 0:return new wZe;case 1:return new pZe;case 2:return new gZe;default:throw Z(new n8)}}function Tpt(e){switch(e.g){case 2:return js;case 1:return xs;case 4:return qd;case 3:return ju;default:return Xd}}function $we(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new vu(t.d,0,t.a,t.b);default:return null}}function Iwe(e){switch(e.g){case 1:return bn;case 2:return dn;case 3:return yn;case 4:return Mn;default:return la}}function U7(e){switch(e.g){case 1:return Mn;case 2:return bn;case 3:return dn;case 4:return yn;default:return la}}function Vj(e){switch(e.g){case 1:return yn;case 2:return Mn;case 3:return bn;case 4:return dn;default:return la}}function Twe(e,t,i,s){switch(t){case 1:return!e.n&&(e.n=new We(ys,e,1,7)),e.n;case 2:return e.k}return Eme(e,t,i,s)}function A5(e,t,i){var s,a;return e.Pj()?(a=e.Qj(),s=sQ(e,t,i),e.Jj(e.Ij(7,rt(i),s,t,a)),s):sQ(e,t,i)}function eY(e,t){var i,s,a;e.d==null?(++e.e,--e.f):(a=t.ld(),i=t.Bi(),s=(i&xr)%e.d.length,_bn(e,s,emt(e,s,i,a)))}function p4(e,t){var i;i=(e.Bb&Mf)!=0,t?e.Bb|=Mf:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,10,i,t))}function g4(e,t){var i;i=(e.Bb&fv)!=0,t?e.Bb|=fv:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,12,i,t))}function w4(e,t){var i;i=(e.Bb&Zl)!=0,t?e.Bb|=Zl:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,15,i,t))}function m4(e,t){var i;i=(e.Bb&mv)!=0,t?e.Bb|=mv:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,11,i,t))}function L0n(e){var t;e.g&&(t=e.c.kg()?e.f:e.a,hve(t.a,e.o,!0),hve(t.a,e.o,!1),Ue(e.o,(dt(),Si),(go(),tw)))}function j0n(e){var t;if(!e.a)throw Z(new _s("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,nlt(e,t),tlt(e,t)}function F0n(e,t){var i;if(i=_n(e.k,t),i==null)throw Z(new nh("Port did not exist in input."));return V0e(t,i),null}function B0n(e){var t,i;for(i=Ywt(Jc(e)).Kc();i.Ob();)if(t=tr(i.Pb()),X5(e,t))return Hhn((Ott(),ZTt),t);return null}function Ppt(e){var t,i;for(i=e.p.a.ec().Kc();i.Ob();)if(t=u(i.Pb(),218),t.f&&e.b[t.c]<-1e-10)return t;return null}function H0n(e){var t,i;for(i=c0(new Pg,91),t=!0;e.Ob();)t||(i.a+=Jo),t=!1,Fa(i,e.Pb());return(i.a+="]",i).a}function W0n(e){var t,i,s;for(t=new it,s=new J(e.b);s.at?1:e==t?e==0?Hr(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function V0n(e){var t;return t=e.a[e.c-1&e.a.length-1],t==null?null:(e.c=e.c-1&e.a.length-1,pi(e.a,e.c,null),t)}function G0n(e){var t,i,s;for(s=0,i=e.length,t=0;t=1?js:qd):i}function X0n(e){switch(u(U(e,(dt(),Zb)),223).g){case 1:return new WHe;case 3:return new zHe;default:return new HHe}}function Yg(e){if(e.c)Yg(e.c);else if(e.d)throw Z(new _s("Stream already terminated, can't be modified or used"))}function nm(e,t,i){var s;return s=e.a.get(t),e.a.set(t,i===void 0?null:i),s===void 0?(++e.c,++e.b.g):++e.d,s}function J0n(e,t,i){var s,a;for(a=e.a.ec().Kc();a.Ob();)if(s=u(a.Pb(),10),I7(i,u(gt(t,s.p),16)))return s;return null}function Owe(e,t,i){var s;return s=0,t&&($2(e.a)?s+=t.f.a/2:s+=t.f.b/2),i&&($2(e.a)?s+=i.f.a/2:s+=i.f.b/2),s}function Y0n(e,t,i){var s;s=i,!s&&(s=ege(new lE,0)),s.Ug(V_t,2),Lgt(e.b,t,s.eh(1)),dCn(e,t,s.eh(1)),pxn(t,s.eh(1)),s.Vg()}function Nwe(e,t,i){var s,a;return s=(Ng(),a=new AM,a),wj(s,t),gj(s,i),e&&Wn((!e.a&&(e.a=new Di(uu,e,5)),e.a),s),s}function nY(e){var t;return e.Db&64?Pf(e):(t=new Ku(Pf(e)),t.a+=" (identifier: ",ps(t,e.k),t.a+=")",t.a)}function rY(e,t){var i;i=(e.Bb&Aa)!=0,t?e.Bb|=Aa:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,18,i,t))}function Mwe(e,t){var i;i=(e.Bb&Aa)!=0,t?e.Bb|=Aa:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,18,i,t))}function y4(e,t){var i;i=(e.Bb&wh)!=0,t?e.Bb|=wh:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,16,i,t))}function Dwe(e,t){var i;i=(e.Bb&ts)!=0,t?e.Bb|=ts:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&Ir(e,new $f(e,1,20,i,t))}function Lwe(e){var t;return t=Ne(Hu,mh,28,2,15,1),e-=ts,t[0]=(e>>10)+OP&Bi,t[1]=(e&1023)+56320&Bi,dh(t,0,t.length)}function Q0n(e){var t;return t=ev(e),t>34028234663852886e22?si:t<-34028234663852886e22?Ki:t}function Uo(e,t){var i;return Gs(e)&&Gs(t)&&(i=e+t,PP"+h0(t.c):"e_"+zr(t),e.b&&e.c?h0(e.b)+"->"+h0(e.c):"e_"+zr(e))}function twn(e,t){return Ft(t.b&&t.c?h0(t.b)+"->"+h0(t.c):"e_"+zr(t),e.b&&e.c?h0(e.b)+"->"+h0(e.c):"e_"+zr(e))}function rm(e,t){return Rd(),If(i1),g.Math.abs(e-t)<=i1||e==t||isNaN(e)&&isNaN(t)?0:et?1:$w(isNaN(e),isNaN(t))}function Hb(){Hb=L,soe=new RD(lx,0),r9=new RD("POLYLINE",1),KA=new RD("ORTHOGONAL",2),F3=new RD("SPLINES",3)}function Kj(){Kj=L,hCe=new tq("ASPECT_RATIO_DRIVEN",0),Aie=new tq("MAX_SCALE_DRIVEN",1),dCe=new tq("AREA_DRIVEN",2)}function nwn(e,t,i){var s;try{R1n(e,t,i)}catch(a){throw a=ci(a),pe(a,606)?(s=a,Z(new L1e(s))):Z(a)}return t}function rwn(e){var t,i,s;for(i=0,s=e.length;it&&s.Ne(e[c-1],e[c])>0;--c)d=e[c],pi(e,c,e[c-1]),pi(e,c-1,d)}function $t(e,t){var i,s,a,c,d;if(i=t.f,Hp(e.c.d,i,t),t.g!=null)for(a=t.g,c=0,d=a.length;ct){Ict(i);break}}q8(i,t)}function awn(e,t){var i,s,a;s=F2(t),a=Re(Oe(Jy(s,(dt(),Ff)))),i=g.Math.max(0,a/2-.5),M5(t,i,1),ot(e,new Xtt(t,i))}function lwn(e,t,i){var s;i.Ug("Straight Line Edge Routing",1),i.dh(t,jSe),s=u(Ge(t,(D2(),W_)),27),mvt(e,s),i.dh(t,LB)}function jwe(e,t){e.n.c.length==0&&ot(e.n,new FL(e.s,e.t,e.i)),ot(e.b,t),mme(u(gt(e.n,e.n.c.length-1),209),t),evt(e,t)}function C5(e){var t;this.a=(t=u(e.e&&e.e(),9),new yu(t,u(Af(t,t.length),9),0)),this.b=Ne(io,Zt,1,this.a.a.length,5,1)}function zs(e){var t;return Array.isArray(e)&&e.Tm===fe?r0(Lc(e))+"@"+(t=zr(e)>>>0,t.toString(16)):e.toString()}function cwn(e,t){return e.h==TP&&e.m==0&&e.l==0?(t&&(u1=ul(0,0,0)),prt((GR(),h3e))):(t&&(u1=ul(e.l,e.m,e.h)),ul(0,0,0))}function uwn(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function Dpt(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function Fwe(e,t,i,s){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return Twe(e,t,i,s)}function zj(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw Z(new un("Node "+t+" not part of edge "+e))}function fwn(e,t){var i;if(i=dP(e.Dh(),t),pe(i,102))return u(i,19);throw Z(new un(c1+t+"' is not a valid reference"))}function xu(e,t,i,s){if(t<0)ive(e,i,s);else{if(!i.rk())throw Z(new un(c1+i.xe()+Sx));u(i,69).wk().Ck(e,e.hi(),t,s)}}function Sc(e){var t;if(e.b){if(Sc(e.b),e.b.d!=e.c)throw Z(new gu)}else e.d.dc()&&(t=u(e.f.c.xc(e.e),16),t&&(e.d=t))}function dwn(e){Iy();var t,i,s,a;for(t=e.o.b,s=u(u(Or(e.r,(ct(),Mn)),21),87).Kc();s.Ob();)i=u(s.Pb(),117),a=i.e,a.b+=t}function hwn(e){var t,i,s;for(this.a=new oh,s=new J(e);s.a=a)return t.c+i;return t.c+t.b.gc()}function pwn(e,t){kR();var i,s,a,c;for(s=qft(e),a=t,UR(s,0,s.length,a),i=0;i0&&(s+=a,++i);return i>1&&(s+=e.d*(i-1)),s}function wwn(e){var t,i,s,a,c;return c=rye(e),i=s8(e.c),s=!i,s&&(a=new Y1,cd(c,"knownLayouters",a),t=new kQe(a),xo(e.c,t)),c}function Wwe(e){var t,i,s;for(s=new _p,s.a+="[",t=0,i=e.gc();t0&&(fn(t-1,e.length),e.charCodeAt(t-1)==58)&&!sY(e,F$,B$))}function Uwe(e,t){var i;return xe(e)===xe(t)?!0:pe(t,92)?(i=u(t,92),e.e==i.e&&e.d==i.d&&Vhn(e,i.a)):!1}function qE(e){switch(ct(),e.g){case 4:return dn;case 1:return yn;case 3:return Mn;case 2:return bn;default:return la}}function _wn(e){var t,i;if(e.b)return e.b;for(i=Ud?null:e.d;i;){if(t=Ud?null:i.b,t)return t;i=Ud?null:i.d}return mR(),L3e}function Vwe(e){var t,i,s;for(s=Re(Oe(e.a.of((br(),lU)))),i=new J(e.a.Sf());i.a>5,t=e&31,s=Ne(Gn,ur,28,i+1,15,1),s[i]=1<3;)a*=10,--c;e=(e+(a>>1))/a|0}return s.i=e,!0}function ui(e,t){var i,s,a;if(i=(e.i==null&&gh(e),e.i),s=t.Lj(),s!=-1){for(a=i.length;s=0;--s)for(t=i[s],a=0;a>1,this.k=t-1>>1}function Dwn(e){rj(),u(e.of((br(),_1)),181).Hc((kc(),pU))&&(u(e.of(Hv),181).Fc((fc(),B3)),u(e.of(_1),181).Mc(pU))}function Upt(e){var t,i;t=e.d==(e3(),yA),i=zme(e),t&&!i||!t&&i?Ue(e.a,(dt(),xh),(Kh(),XO)):Ue(e.a,(dt(),xh),(Kh(),qO))}function cY(){cY=L,oD(),xW=(dt(),Lm),d5t=Id(oe(re(Wie,1),RSe,149,0,[TO,Ff,D_,Dm,Mv,Rre,OA,NA,Are,t$,M_,X0,L_]))}function Lwn(e,t){var i;return i=u(Ks(e,lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),i.Qc(ust(i.gc()))}function Vpt(e,t){var i,s;if(s=new iR(e.a.ad(t,!0)),s.a.gc()<=1)throw Z(new oE);return i=s.a.ec().Kc(),i.Pb(),u(i.Pb(),40)}function jwn(e,t,i){var s,a;return s=Re(e.p[t.i.p])+Re(e.d[t.i.p])+t.n.b+t.a.b,a=Re(e.p[i.i.p])+Re(e.d[i.i.p])+i.n.b+i.a.b,a-s}function Ywe(e,t){var i;return e.i>0&&(t.lengthe.i&&pi(t,e.i,null),t}function Xj(e){var t;return e.Db&64?E5(e):(t=new Ku(E5(e)),t.a+=" (instanceClassName: ",ps(t,e.D),t.a+=")",t.a)}function Jj(e){var t,i,s,a;for(a=0,i=0,s=e.length;i0?(e._j(),s=t==null?0:zr(t),a=(s&xr)%e.d.length,i=emt(e,a,s,t),i!=-1):!1}function Gpt(e,t){var i,s;e.a=Uo(e.a,1),e.c=g.Math.min(e.c,t),e.b=g.Math.max(e.b,t),e.d+=t,i=t-e.f,s=e.e+i,e.f=s-e.e-i,e.e=s}function Qwe(e,t){switch(t){case 3:Jw(e,0);return;case 4:Yw(e,0);return;case 5:hl(e,0);return;case 6:bl(e,0);return}Swe(e,t)}function im(e,t){switch(t.g){case 1:return AE(e.j,(Xl(),Fke));case 2:return AE(e.j,(Xl(),Hke));default:return Gt(),Gt(),Qo}}function Zwe(e){Fw();var t;switch(t=e.Pc(),t.length){case 0:return jte;case 1:return new Uq(Qn(t[0]));default:return new kX(rwn(t))}}function Kpt(e,t){e.Xj();try{e.d.bd(e.e++,t),e.f=e.d.j,e.g=-1}catch(i){throw i=ci(i),pe(i,77)?Z(new gu):Z(i)}}function fY(){fY=L,_oe=new FGe,qxe=new BGe,Xxe=new HGe,Jxe=new WGe,Yxe=new UGe,Qxe=new VGe,Zxe=new GGe,e$e=new KGe,t$e=new zGe}function Yj(e,t){Sbe();var i,s;return i=L8((GM(),GM(),Nx)),s=null,t==i&&(s=u(Ha(f3e,e),624)),s||(s=new fat(e),t==i&&Ss(f3e,e,s)),s}function zpt(e){Yy();var t;return(e.q?e.q:(Gt(),Gt(),nb))._b((dt(),Nm))?t=u(U(e,Nm),203):t=u(U(Co(e),e$),203),t}function Jy(e,t){var i,s;return s=null,Jr(e,(dt(),AW))&&(i=u(U(e,AW),96),i.pf(t)&&(s=i.of(t))),s==null&&(s=U(Co(e),t)),s}function qpt(e,t){var i,s,a;return pe(t,44)?(i=u(t,44),s=i.ld(),a=qy(e.Rc(),s),ch(a,i.md())&&(a!=null||e.Rc()._b(s))):!1}function fd(e,t){var i,s,a;return e.f>0&&(e._j(),s=t==null?0:zr(t),a=(s&xr)%e.d.length,i=jye(e,a,s,t),i)?i.md():null}function il(e,t,i){var s,a,c;return e.Pj()?(s=e.i,c=e.Qj(),F7(e,s,t),a=e.Ij(3,null,t,s,c),i?i.nj(a):i=a):F7(e,e.i,t),i}function Bwn(e,t,i){var s,a;return s=new Db(e.e,4,10,(a=t.c,pe(a,90)?u(a,29):(Vt(),ff)),null,Wp(e,t),!1),i?i.nj(s):i=s,i}function Hwn(e,t,i){var s,a;return s=new Db(e.e,3,10,null,(a=t.c,pe(a,90)?u(a,29):(Vt(),ff)),Wp(e,t),!1),i?i.nj(s):i=s,i}function Xpt(e){Iy();var t;return t=new qo(u(e.e.of((br(),Y_)),8)),e.B.Hc((kc(),qA))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Qg(e){ph();var t,i;return i=Yn(e),t=Yn(Bg(e,32)),t!=0?new rct(i,t):i>10||i<0?new Nb(1,i):Mkt[i]}function G7(e,t){var i;return Gs(e)&&Gs(t)&&(i=e%t,PP=0?c=c.a[1]:(a=c,c=c.a[0])}return a}function z7(e,t,i){var s,a,c;for(a=null,c=e.b;c;){if(s=e.a.Ne(t,c.d),i&&s==0)return c;s<=0?c=c.a[0]:(a=c,c=c.a[1])}return a}function zwn(e,t,i,s){var a,c,d;return a=!1,JCn(e.f,i,s)&&(pmn(e.f,e.a[t][i],e.a[t][s]),c=e.a[t],d=c[s],c[s]=c[i],c[i]=d,a=!0),a}function Zpt(e,t,i){var s,a,c,d;for(a=u(_n(e.b,i),183),s=0,d=new J(t.j);d.a>5,t&=31,a=e.d+i+(t==0?0:1),s=Ne(Gn,ur,28,a,15,1),G2n(s,e.a,i,t),c=new l0(e.e,a,s),n5(c),c}function qwn(e,t){var i,s,a;for(s=new Sn(kn($i(e).a.Kc(),new M));Bn(s);)if(i=u($n(s),18),a=i.d.i,a.c==t)return!1;return!0}function nme(e,t,i){var s,a,c,d,p;return d=e.k,p=t.k,s=i[d.g][p.g],a=Oe(Jy(e,s)),c=Oe(Jy(t,s)),g.Math.max((gn(a),a),(gn(c),c))}function Xwn(){return Error.stackTraceLimit>0?(g.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Jwn(e,t){return Rd(),Rd(),If(i1),(g.Math.abs(e-t)<=i1||e==t||isNaN(e)&&isNaN(t)?0:et?1:$w(isNaN(e),isNaN(t)))>0}function rme(e,t){return Rd(),Rd(),If(i1),(g.Math.abs(e-t)<=i1||e==t||isNaN(e)&&isNaN(t)?0:et?1:$w(isNaN(e),isNaN(t)))<0}function tgt(e,t){return Rd(),Rd(),If(i1),(g.Math.abs(e-t)<=i1||e==t||isNaN(e)&&isNaN(t)?0:et?1:$w(isNaN(e),isNaN(t)))<=0}function hY(e,t){for(var i=0;!t[i]||t[i]=="";)i++;for(var s=t[i++];i0&&this.b>0&&(this.g=uL(this.c,this.b,this.a))}function Ywn(e,t){var i=e.a,s;t=String(t),i.hasOwnProperty(t)&&(s=i[t]);var a=(MJ(),Vte)[typeof s],c=a?a(s):wwe(typeof s);return c}function _4(e){var t,i,s;if(s=null,t=Rh in e.a,i=!t,i)throw Z(new nh("Every element must have an id."));return s=t3(Tb(e,Rh)),s}function om(e){var t,i;for(i=C0t(e),t=null;e.c==2;)Rr(e),t||(t=(Cr(),Cr(),new NC(2)),x0(t,i),i=t),i.Jm(C0t(e));return i}function Zj(e,t){var i,s,a;return e._j(),s=t==null?0:zr(t),a=(s&xr)%e.d.length,i=jye(e,a,s,t),i?(cht(e,i),i.md()):null}function lgt(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+g.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function Qwn(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Z(new un("Input edge is not connected to the input port."))}function Zwn(e){if(tF(sA,e))return on(),hA;if(tF(ete,e))return on(),f1;throw Z(new un("Expecting true or false"))}function sme(e){switch(typeof e){case XQ:return Mp(e);case p2e:return yE(e);case o3:return Uit(e);default:return e==null?0:Pw(e)}}function bh(e,t){if(e.a<0)throw Z(new _s("Did not call before(...) or after(...) before calling add(...)."));return epe(e,e.a,t),e}function ame(e){return BL(),pe(e,162)?u(_n(p9,Bkt),295).Rg(e):fl(p9,Lc(e))?u(_n(p9,Lc(e)),295).Rg(e):null}function pl(e){var t,i;return e.Db&32||(i=(t=u(ln(e,16),29),xn(t||e.ii())-xn(e.ii())),i!=0&&XE(e,32,Ne(io,Zt,1,i,5,1))),e}function XE(e,t,i){var s;e.Db&t?i==null?DEn(e,t):(s=NY(e,t),s==-1?e.Eb=i:pi(g0(e.Eb),s,i)):i!=null&&oRn(e,t,i)}function emn(e,t,i,s){var a,c;t.c.length!=0&&(a=X3n(i,s),c=JSn(t),Ei(bj(new Lt(null,new Wt(c,1)),new KWe),new Bat(e,i,a,s)))}function tmn(e,t){var i,s,a,c;return s=e.a.length-1,i=t-e.b&s,c=e.c-t&s,a=e.c-e.b&s,jit(i=c?(Z1n(e,t),-1):(Q1n(e,t),1)}function eF(e){var t,i,s;if(s=e.Jh(),!s)for(t=0,i=e.Ph();i;i=i.Ph()){if(++t>kZ)return i.Qh();if(s=i.Jh(),s||i==e)break}return s}function ugt(e,t){var i;return xe(t)===xe(e)?!0:!pe(t,21)||(i=u(t,21),i.gc()!=e.gc())?!1:e.Ic(i)}function nmn(e,t){return e.et.e?1:e.ft.f?1:zr(e)-zr(t)}function tF(e,t){return gn(e),t==null?!1:Ft(e,t)?!0:e.length==t.length&&Ft(e.toLowerCase(),t.toLowerCase())}function Ub(e){var t,i;return $a(e,-129)>0&&$a(e,128)<0?(bst(),t=Yn(e)+128,i=v3e[t],!i&&(i=v3e[t]=new Sde(e)),i):new Sde(e)}function k0(){k0=L,Ev=new wD(Sh,0),Nke=new wD("INSIDE_PORT_SIDE_GROUPS",1),kne=new wD("GROUP_MODEL_ORDER",2),Rne=new wD(i_e,3)}function rmn(e){var t;return e.b||Jnn(e,(t=Xon(e.e,e.a),!t||!Ft(ete,fd((!t.b&&(t.b=new Nc((Vt(),rs),va,t)),t.b),"qualified")))),e.c}function imn(e,t){var i,s;for(i=(fn(t,e.length),e.charCodeAt(t)),s=t+1;s2e3&&(Rkt=e,fH=g.setTimeout(trn,10))),uH++==0?(wpn((bhe(),u3e)),!0):!1}function mmn(e,t,i){var s;(zkt?(_wn(e),!0):qkt||Jkt?(mR(),!0):Xkt&&(mR(),!1))&&(s=new Cot(t),s.b=i,A_n(e,s))}function pY(e,t){var i;i=!e.A.Hc((jc(),nw))||e.q==(go(),Ja),e.u.Hc((fc(),tp))?i?axn(e,t):o2t(e,t):e.u.Hc(R1)&&(i?C5n(e,t):v2t(e,t))}function ggt(e){var t;xe(Ge(e,(br(),X_)))===xe((Bb(),fU))&&(oi(e)?(t=u(Ge(oi(e),X_),346),Lr(e,X_,t)):Lr(e,X_,I$))}function ymn(e){var t,i;return Jr(e.d.i,(dt(),IA))?(t=u(U(e.c.i,IA),17),i=u(U(e.d.i,IA),17),xa(t.a,i.a)>0):!1}function wgt(e,t,i){return new vu(g.Math.min(e.a,t.a)-i/2,g.Math.min(e.b,t.b)-i/2,g.Math.abs(e.a-t.a)+i,g.Math.abs(e.b-t.b)+i)}function mgt(e){var t;this.d=new it,this.j=new mo,this.g=new mo,t=e.g.b,this.f=u(U(Co(t),(dt(),su)),88),this.e=Re(Oe(oF(t,Mv)))}function ygt(e){this.d=new it,this.e=new Ip,this.c=Ne(Gn,ur,28,(ct(),oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn])).length,15,1),this.b=e}function ume(e,t,i){var s;switch(s=i[e.g][t],e.g){case 1:case 3:return new Xe(0,s);case 2:case 4:return new Xe(s,0);default:return null}}function vgt(e,t,i){var s,a;a=u(Z8(t.f),205);try{a.rf(e,i),Rat(t.f,a)}catch(c){throw c=ci(c),pe(c,103)?(s=c,Z(s)):Z(c)}}function _gt(e,t,i){var s,a,c,d,p,w;return s=null,p=t2e(QR(),t),c=null,p&&(a=null,w=Zve(p,i),d=null,w!=null&&(d=e.qf(p,w)),a=d,c=a),s=c,s}function gY(e,t,i,s){var a;if(a=e.length,t>=a)return a;for(t=t>0?t:0;ts&&pi(t,s,null),t}function Sgt(e,t){var i,s;for(s=e.a.length,t.lengths&&pi(t,s,null),t}function S4(e,t){var i,s;if(++e.j,t!=null&&(i=(s=e.a.Cb,pe(s,99)?u(s,99).th():null),kEn(t,i))){XE(e.a,4,i);return}XE(e.a,4,u(t,129))}function vmn(e){var t;if(e==null)return null;if(t=R3n(Va(e,!0)),t==null)throw Z(new pz("Invalid hexBinary value: '"+e+"'"));return t}function nF(e,t,i){var s;t.a.length>0&&(ot(e.b,new Uot(t.a,i)),s=t.a.length,0s&&(t.a+=Grt(Ne(Hu,mh,28,-s,15,1))))}function Egt(e,t,i){var s,a,c;if(!i[t.d])for(i[t.d]=!0,a=new J(K2(t));a.a=e.b>>1)for(s=e.c,i=e.b;i>t;--i)s=s.b;else for(s=e.a.a,i=0;i=0?e.Wh(a):oQ(e,s)):i<0?oQ(e,s):u(s,69).wk().Bk(e,e.hi(),i)}function Cgt(e){var t,i,s;for(s=(!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),e.o),i=s.c.Kc();i.e!=i.i.gc();)t=u(i.Yj(),44),t.md();return f7(s)}function ut(e){var t;if(pe(e.a,4)){if(t=ame(e.a),t==null)throw Z(new _s(XSt+e.b+"'. "+qSt+($b(g9),g9.k)+gEe));return t}else return e.a}function xmn(e,t){var i,s;if(e.j.length!=t.j.length)return!1;for(i=0,s=e.j.length;i=64&&t<128&&(a=sd(a,xf(1,t-64)));return a}function oF(e,t){var i,s;return s=null,Jr(e,(br(),L3))&&(i=u(U(e,L3),96),i.pf(t)&&(s=i.of(t))),s==null&&Co(e)&&(s=U(Co(e),t)),s}function $mn(e,t){var i;return i=u(U(e,(dt(),Cs)),75),gq(t,q4t)?i?zc(i):(i=new Ul,Ue(e,Cs,i)):i&&Ue(e,Cs,null),i}function I5(){I5=L,bke=(br(),G5e),fne=R5e,zRt=K_,hke=rg,YRt=(wF(),K3e),JRt=V3e,QRt=q3e,XRt=U3e,qRt=(KJ(),uke),une=VRt,dke=GRt,SH=KRt}function sF(e){switch(Lhe(),this.c=new it,this.d=e,e.g){case 0:case 2:this.a=Gge(Oke),this.b=si;break;case 3:case 1:this.a=Oke,this.b=Ki}}function Imn(e){var t;RE(u(U(e,(dt(),Si)),101))&&(t=e.b,pwt((Kt(0,t.c.length),u(t.c[0],30))),pwt(u(gt(t,t.c.length-1),30)))}function Tmn(e,t){t.Ug("Self-Loop post-processing",1),Ei(Pr(Pr(ia(new Lt(null,new Wt(e.b,16)),new _Be),new SBe),new EBe),new kBe),t.Vg()}function xgt(e,t,i){var s,a;if(e.c)hl(e.c,e.c.i+t),bl(e.c,e.c.j+i);else for(a=new J(e.b);a.a=0&&(i.d=e.t);break;case 3:e.t>=0&&(i.a=e.t)}e.C&&(i.b=e.C.b,i.c=e.C.c)}function T5(){T5=L,DAe=new m8(ASe,0),Mre=new m8(ree,1),Dre=new m8("LINEAR_SEGMENTS",2),r$=new m8("BRANDES_KOEPF",3),i$=new m8(ESt,4)}function P5(){P5=L,bO=new pD(sB,0),vH=new pD(LZ,1),_H=new pD(jZ,2),pO=new pD(FZ,3),bO.a=!1,vH.a=!0,_H.a=!1,pO.a=!0}function JE(){JE=L,fO=new bD(sB,0),uO=new bD(LZ,1),dO=new bD(jZ,2),hO=new bD(FZ,3),fO.a=!1,uO.a=!0,dO.a=!1,hO.a=!0}function YE(e,t,i,s){var a;return i>=0?e.Sh(t,i,s):(e.Ph()&&(s=(a=e.Fh(),a>=0?e.Ah(s):e.Ph().Th(e,-1-a,null,s))),e.Ch(t,i,s))}function fme(e,t){switch(t){case 7:!e.e&&(e.e=new Xt(Ci,e,7,4)),Hn(e.e);return;case 8:!e.d&&(e.d=new Xt(Ci,e,8,5)),Hn(e.d);return}Qwe(e,t)}function Lr(e,t,i){return i==null?(!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),Zj(e.o,t)):(!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),Z7(e.o,t,i)),e}function Pgt(e,t){Gt();var i,s,a,c;for(i=e,c=t,pe(e,21)&&!pe(t,21)&&(i=t,c=e),a=i.Kc();a.Ob();)if(s=a.Pb(),c.Hc(s))return!1;return!0}function Dmn(e,t,i,s){if(t.ai.b)return!0}return!1}function _Y(e,t){return fo(e)?!!mkt[t]:e.Sm?!!e.Sm[t]:Cy(e)?!!wkt[t]:Ay(e)?!!gkt[t]:!1}function Lmn(e){var t;t=e.a;do t=u($n(new Sn(kn(so(t).a.Kc(),new M))),18).c.i,t.k==(hn(),co)&&e.b.Fc(t);while(t.k==(hn(),co));e.b=$u(e.b)}function Ogt(e,t){var i,s,a;for(a=e,s=new Sn(kn(so(t).a.Kc(),new M));Bn(s);)i=u($n(s),18),i.c.i.c&&(a=g.Math.max(a,i.c.i.c.p));return a}function jmn(e,t){var i,s,a;for(a=0,s=u(u(Or(e.r,t),21),87).Kc();s.Ob();)i=u(s.Pb(),117),a+=i.d.d+i.b.Mf().b+i.d.a,s.Ob()&&(a+=e.w);return a}function Fmn(e,t){var i,s,a;for(a=0,s=u(u(Or(e.r,t),21),87).Kc();s.Ob();)i=u(s.Pb(),117),a+=i.d.b+i.b.Mf().a+i.d.c,s.Ob()&&(a+=e.w);return a}function Ngt(e){var t,i,s,a;if(s=0,a=iv(e),a.c.length==0)return 1;for(i=new J(a);i.a=0?e.Lh(d,i,!0):cm(e,c,i)):u(c,69).wk().yk(e,e.hi(),a,i,s)}function Umn(e,t,i,s){var a,c;c=t.pf((br(),J_))?u(t.of(J_),21):e.j,a=C0n(c),a!=(ZF(),sne)&&(i&&!ime(a)||gye(A3n(e,a,s),t))}function Vmn(e){switch(e.g){case 1:return tm(),cO;case 3:return tm(),lO;case 2:return tm(),lne;case 4:return tm(),ane;default:return null}}function Gmn(e,t,i){if(e.e)switch(e.b){case 1:Mun(e.c,t,i);break;case 0:Dun(e.c,t,i)}else tut(e.c,t,i);e.a[t.p][i.p]=e.c.i,e.a[i.p][t.p]=e.c.e}function Mgt(e){var t,i;if(e==null)return null;for(i=Ne(ib,tt,199,e.length,0,2),t=0;t=0)return a;if(e.ol()){for(s=0;s=a)throw Z(new Py(t,a));if(e.Si()&&(s=e.dd(i),s>=0&&s!=t))throw Z(new un(ZP));return e.Xi(t,i)}function dme(e,t){if(this.a=u(Qn(e),253),this.b=u(Qn(t),253),e.Ed(t)>0||e==(lz(),Dte)||t==(cz(),Lte))throw Z(new un("Invalid range: "+iut(e,t)))}function Dgt(e){var t,i;for(this.b=new it,this.c=e,this.a=!1,i=new J(e.a);i.a0),(t&-t)==t)return Yi(t*Ec(e,31)*4656612873077393e-25);do i=Ec(e,31),s=i%t;while(i-s+(t-1)<0);return Yi(s)}function Ymn(e,t,i){switch(i.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function q7(e,t,i,s){var a,c;for(a=t;a1&&(c=zmn(e,t)),c}function Fgt(e){var t;return t=Re(Oe(Ge(e,(br(),n9))))*g.Math.sqrt((!e.a&&(e.a=new We(Er,e,10,11)),e.a).i),new Xe(t,t/Re(Oe(Ge(e,cU))))}function EY(e){var t;return e.f&&e.f.Vh()&&(t=u(e.f,54),e.f=u(Jg(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,9,8,t,e.f))),e.f}function kY(e){var t;return e.i&&e.i.Vh()&&(t=u(e.i,54),e.i=u(Jg(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,9,7,t,e.i))),e.i}function os(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=u(Jg(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,9,21,t,e.b))),e.b}function fF(e,t){var i,s,a;e.d==null?(++e.e,++e.f):(s=t.Bi(),vkn(e,e.f+1),a=(s&xr)%e.d.length,i=e.d[a],!i&&(i=e.d[a]=e.dk()),i.Fc(t),++e.f)}function pme(e,t,i){var s;return t.tk()?!1:t.Ik()!=-2?(s=t.ik(),s==null?i==null:Tr(s,i)):t.qk()==e.e.Dh()&&i==null}function dF(){var e;Qc(16,J2t),e=Eht(16),this.b=Ne(Fte,$P,303,e,0,1),this.c=Ne(Fte,$P,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Vb(e){_pe.call(this),this.k=(hn(),Ai),this.j=(Qc(6,uv),new nl(6)),this.b=(Qc(2,uv),new nl(2)),this.d=new rz,this.f=new nhe,this.a=e}function Zmn(e){var t,i;e.c.length<=1||(t=Umt(e,(ct(),Mn)),I0t(e,u(t.a,17).a,u(t.b,17).a),i=Umt(e,bn),I0t(e,u(i.a,17).a,u(i.b,17).a))}function eyn(e,t,i){var s,a;for(a=e.a.b,s=a.c.length;s102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function $Y(e,t){if(e==null)throw Z(new uE("null key in entry: null="+t));if(t==null)throw Z(new uE("null value in entry: "+e+"=null"))}function ryn(e,t){for(var i,s;e.Ob();)if(!t.Ob()||(i=e.Pb(),s=t.Pb(),!(xe(i)===xe(s)||i!=null&&Tr(i,s))))return!1;return!t.Ob()}function Wgt(e,t){var i;return i=oe(re(bo,1),ms,28,15,[qJ(e.a[0],t),qJ(e.a[1],t),qJ(e.a[2],t)]),e.d&&(i[0]=g.Math.max(i[0],i[2]),i[2]=i[0]),i}function Ugt(e,t){var i;return i=oe(re(bo,1),ms,28,15,[Bj(e.a[0],t),Bj(e.a[1],t),Bj(e.a[2],t)]),e.d&&(i[0]=g.Math.max(i[0],i[2]),i[2]=i[0]),i}function wme(e,t,i){RE(u(U(t,(dt(),Si)),101))||(T1e(e,t,Up(t,i)),T1e(e,t,Up(t,(ct(),Mn))),T1e(e,t,Up(t,dn)),Gt(),Pi(t.j,new zJe(e)))}function Vgt(e){var t,i;for(e.c||SCn(e),i=new Ul,t=new J(e.a),X(t);t.a0&&(fn(0,t.length),t.charCodeAt(0)==43)?(fn(1,t.length+1),t.substr(1)):t))}function wyn(e){var t;return e==null?null:new jg((t=Va(e,!0),t.length>0&&(fn(0,t.length),t.charCodeAt(0)==43)?(fn(1,t.length+1),t.substr(1)):t))}function yme(e,t,i,s,a,c,d,p){var w,y;s&&(w=s.a[0],w&&yme(e,t,i,w,a,c,d,p),jY(e,i,s.d,a,c,d,p)&&t.Fc(s),y=s.a[1],y&&yme(e,t,i,y,a,c,d,p))}function J2(e,t,i){try{return xw(yJ(e,t,i),1)}catch(s){throw s=ci(s),pe(s,333)?Z(new vs(BZ+e.o+"*"+e.p+HZ+t+Jo+i+WZ)):Z(s)}}function Xgt(e,t,i){try{return xw(yJ(e,t,i),0)}catch(s){throw s=ci(s),pe(s,333)?Z(new vs(BZ+e.o+"*"+e.p+HZ+t+Jo+i+WZ)):Z(s)}}function Jgt(e,t,i){try{return xw(yJ(e,t,i),2)}catch(s){throw s=ci(s),pe(s,333)?Z(new vs(BZ+e.o+"*"+e.p+HZ+t+Jo+i+WZ)):Z(s)}}function Ygt(e,t){if(e.g==-1)throw Z(new Wl);e.Xj();try{e.d.hd(e.g,t),e.f=e.d.j}catch(i){throw i=ci(i),pe(i,77)?Z(new gu):Z(i)}}function myn(e){var t,i,s,a,c;for(s=new J(e.b);s.ac&&pi(t,c,null),t}function yyn(e,t){var i,s;if(s=e.gc(),t==null){for(i=0;i0&&(w+=a),y[v]=d,d+=p*(w+s)}function Zgt(e){var t,i,s;for(s=e.f,e.n=Ne(bo,ms,28,s,15,1),e.d=Ne(bo,ms,28,s,15,1),t=0;t0?e.c:0),++a;e.b=s,e.d=c}function i1t(e,t){var i;return i=oe(re(bo,1),ms,28,15,[bme(e,(ud(),wa),t),bme(e,sl,t),bme(e,ma,t)]),e.f&&(i[0]=g.Math.max(i[0],i[2]),i[2]=i[0]),i}function Cyn(e,t,i){var s;try{HF(e,t+e.j,i+e.k,!1,!0)}catch(a){throw a=ci(a),pe(a,77)?(s=a,Z(new vs(s.g+lB+t+Jo+i+")."))):Z(a)}}function xyn(e,t,i){var s;try{HF(e,t+e.j,i+e.k,!0,!1)}catch(a){throw a=ci(a),pe(a,77)?(s=a,Z(new vs(s.g+lB+t+Jo+i+")."))):Z(a)}}function o1t(e){var t;Jr(e,(dt(),Om))&&(t=u(U(e,Om),21),t.Hc((rv(),Hf))?(t.Mc(Hf),t.Fc(Wf)):t.Hc(Wf)&&(t.Mc(Wf),t.Fc(Hf)))}function s1t(e){var t;Jr(e,(dt(),Om))&&(t=u(U(e,Om),21),t.Hc((rv(),Vf))?(t.Mc(Vf),t.Fc(sf)):t.Hc(sf)&&(t.Mc(sf),t.Fc(Vf)))}function MY(e,t,i,s){var a,c,d,p;return e.a==null&&I_n(e,t),d=t.b.j.c.length,c=i.d.p,p=s.d.p,a=p-1,a<0&&(a=d-1),c<=a?e.a[a]-e.a[c]:e.a[d-1]-e.a[c]+e.a[a]}function $yn(e){var t,i;if(!e.b)for(e.b=VL(u(e.f,27).kh().i),i=new vn(u(e.f,27).kh());i.e!=i.i.gc();)t=u(Rn(i),135),ot(e.b,new dz(t));return e.b}function Iyn(e){var t,i;if(!e.e)for(e.e=VL(hX(u(e.f,27)).i),i=new vn(hX(u(e.f,27)));i.e!=i.i.gc();)t=u(Rn(i),123),ot(e.e,new YYe(t));return e.e}function a1t(e){var t,i;if(!e.a)for(e.a=VL(PL(u(e.f,27)).i),i=new vn(PL(u(e.f,27)));i.e!=i.i.gc();)t=u(Rn(i),27),ot(e.a,new vq(e,t));return e.a}function am(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=w5n(e),t)e.hl(t);else try{e.hl(null)}catch(i){if(i=ci(i),!pe(i,63))throw Z(i)}return e.C}function Tyn(e){switch(e.q.g){case 5:T1t(e,(ct(),dn)),T1t(e,Mn);break;case 4:Ovt(e,(ct(),dn)),Ovt(e,Mn);break;default:D0t(e,(ct(),dn)),D0t(e,Mn)}}function Pyn(e){switch(e.q.g){case 5:P1t(e,(ct(),yn)),P1t(e,bn);break;case 4:Nvt(e,(ct(),yn)),Nvt(e,bn);break;default:L0t(e,(ct(),yn)),L0t(e,bn)}}function Y2(e,t){var i,s,a;for(a=new mo,s=e.Kc();s.Ob();)i=u(s.Pb(),36),N4(i,a.a,0),a.a+=i.f.a+t,a.b=g.Math.max(a.b,i.f.b);return a.b>0&&(a.b+=t),a}function pF(e,t){var i,s,a;for(a=new mo,s=e.Kc();s.Ob();)i=u(s.Pb(),36),N4(i,0,a.b),a.b+=i.f.b+t,a.a=g.Math.max(a.a,i.f.a);return a.a>0&&(a.a+=t),a}function l1t(e){var t,i,s;for(s=xr,i=new J(e.a);i.a>16==6?e.Cb.Th(e,5,md,t):(s=os(u(Yt((i=u(ln(e,16),29),i||e.ii()),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function Oyn(e){LR();var t=e.e;if(t&&t.stack){var i=t.stack,s=t+` +`;return i.substring(0,s.length)==s&&(i=i.substring(s.length)),i.split(` +`)}return[]}function Nyn(e){var t;return t=(dht(),Ikt),t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function f1t(e){var t,i,s;e.b==e.c&&(s=e.a.length,i=Z0e(g.Math.max(8,s))<<1,e.b!=0?(t=Af(e.a,i),Cht(e,t,s),e.a=t,e.b=0):_y(e.a,i),e.c=s)}function Myn(e,t){var i;return i=e.b,i.pf((br(),xc))?i.ag()==(ct(),bn)?-i.Mf().a-Re(Oe(i.of(xc))):t+Re(Oe(i.of(xc))):i.ag()==(ct(),bn)?-i.Mf().a:t}function J7(e){var t;return e.b.c.length!=0&&u(gt(e.b,0),72).a?u(gt(e.b,0),72).a:(t=bX(e),t??""+(e.c?Ns(e.c.a,e,0):-1))}function gF(e){var t;return e.f.c.length!=0&&u(gt(e.f,0),72).a?u(gt(e.f,0),72).a:(t=bX(e),t??""+(e.i?Ns(e.i.j,e,0):-1))}function Dyn(e,t){var i,s;if(t<0||t>=e.gc())return null;for(i=t;i0?e.c:0),a=g.Math.max(a,t.d),++s;e.e=c,e.b=a}function jyn(e){var t,i;if(!e.b)for(e.b=VL(u(e.f,123).kh().i),i=new vn(u(e.f,123).kh());i.e!=i.i.gc();)t=u(Rn(i),135),ot(e.b,new dz(t));return e.b}function Fyn(e,t){var i,s,a;if(t.dc())return kR(),kR(),w9;for(i=new qit(e,t.gc()),a=new vn(e);a.e!=a.i.gc();)s=Rn(a),t.Hc(s)&&Wn(i,s);return i}function Eme(e,t,i,s){return t==0?s?(!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),e.o):(!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),f7(e.o)):aF(e,t,i,s)}function LY(e){var t,i;if(e.rb)for(t=0,i=e.rb.i;t>22),a+=s>>22,a<0)?!1:(e.l=i&Rc,e.m=s&Rc,e.h=a&qb,!0)}function jY(e,t,i,s,a,c,d){var p,w;return!(t.Te()&&(w=e.a.Ne(i,s),w<0||!a&&w==0)||t.Ue()&&(p=e.a.Ne(i,c),p>0||!d&&p==0))}function Uyn(e,t){f4();var i;if(i=e.j.g-t.j.g,i!=0)return 0;switch(e.j.g){case 2:return iY(t,ARe)-iY(e,ARe);case 4:return iY(e,RRe)-iY(t,RRe)}return 0}function Vyn(e){switch(e.g){case 0:return qne;case 1:return Xne;case 2:return Jne;case 3:return Yne;case 4:return tW;case 5:return Qne;default:return null}}function Rs(e,t,i){var s,a;return s=(a=new sz,E0(a,t),rl(a,i),Wn((!e.c&&(e.c=new We(Wm,e,12,10)),e.c),a),a),Np(s,0),Gy(s,1),Fp(s,!0),jp(s,!0),s}function QE(e,t){var i,s;if(t>=e.i)throw Z(new aq(t,e.i));return++e.j,i=e.g[t],s=e.i-t-1,s>0&&Da(e.g,t+1,e.g,t,s),pi(e.g,--e.i,null),e.Qi(t,i),e.Ni(),i}function d1t(e,t){var i,s;return e.Db>>16==17?e.Cb.Th(e,21,lf,t):(s=os(u(Yt((i=u(ln(e,16),29),i||e.ii()),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function Gyn(e){var t,i,s,a;for(Gt(),Pi(e.c,e.a),a=new J(e.c);a.ai.a.c.length))throw Z(new un("index must be >= 0 and <= layer node count"));e.c&&Pl(e.c.a,e),e.c=i,i&&Mw(i.a,t,e)}function w1t(e,t){var i,s,a;for(s=new Sn(kn(Wb(e).a.Kc(),new M));Bn(s);)return i=u($n(s),18),a=u(t.Kb(i),10),new TM(Qn(a.n.b+a.o.b/2));return oC(),oC(),Mte}function m1t(e,t){this.c=new Dn,this.a=e,this.b=t,this.d=u(U(e,(Je(),O_)),312),xe(U(e,(dt(),uAe)))===xe((p7(),nW))?this.e=new fZe:this.e=new uZe}function N5(e,t){var i,s;return s=null,e.pf((br(),L3))&&(i=u(e.of(L3),96),i.pf(t)&&(s=i.of(t))),s==null&&e.Tf()&&(s=e.Tf().of(t)),s==null&&(s=ut(t)),s}function FY(e,t){var i,s;i=e.fd(t);try{return s=i.Pb(),i.Qb(),s}catch(a){throw a=ci(a),pe(a,112)?Z(new vs("Can't remove element "+t)):Z(a)}}function Zyn(e,t){var i,s,a;if(s=new tD,a=new nwe(s.q.getFullYear()-o1,s.q.getMonth(),s.q.getDate()),i=u6n(e,t,a),i==0||i0?t:0),++i;return new Xe(s,a)}function xme(e,t){var i,s;return e.Db>>16==6?e.Cb.Th(e,6,Ci,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Ia(),yU)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function $me(e,t){var i,s;return e.Db>>16==7?e.Cb.Th(e,1,d9,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Ia(),Txe)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function Ime(e,t){var i,s;return e.Db>>16==9?e.Cb.Th(e,9,Er,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Ia(),Oxe)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function _1t(e,t){var i,s;return e.Db>>16==5?e.Cb.Th(e,9,xU,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Vt(),ag)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function S1t(e,t){var i,s;return e.Db>>16==7?e.Cb.Th(e,6,md,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Vt(),cg)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function Tme(e,t){var i,s;return e.Db>>16==3?e.Cb.Th(e,0,b9,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Vt(),sg)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function E1t(){this.a=new AGe,this.g=new dF,this.j=new dF,this.b=new Dn,this.d=new dF,this.i=new dF,this.k=new Dn,this.c=new Dn,this.e=new Dn,this.f=new Dn}function nvn(e,t,i){var s,a,c;for(i<0&&(i=0),c=e.i,a=i;akZ)return k4(e,s);if(s==e)return!0}}return!1}function ivn(e){switch(GD(),e.q.g){case 5:owt(e,(ct(),dn)),owt(e,Mn);break;case 4:smt(e,(ct(),dn)),smt(e,Mn);break;default:c2t(e,(ct(),dn)),c2t(e,Mn)}}function ovn(e){switch(GD(),e.q.g){case 5:kwt(e,(ct(),yn)),kwt(e,bn);break;case 4:$gt(e,(ct(),yn)),$gt(e,bn);break;default:u2t(e,(ct(),yn)),u2t(e,bn)}}function svn(e){var t,i;t=u(U(e,(Nf(),p4t)),17),t?(i=t.a,i==0?Ue(e,(Kg(),CH),new lY):Ue(e,(Kg(),CH),new qL(i))):Ue(e,(Kg(),CH),new qL(1))}function avn(e,t){var i;switch(i=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-i.o.a;case 3:return e.n.b-i.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function lvn(e,t){switch(e.g){case 0:return t==(Iu(),g1)?zH:qH;case 1:return t==(Iu(),g1)?zH:vO;case 2:return t==(Iu(),g1)?vO:qH;default:return vO}}function Q7(e,t){var i,s,a;for(Pl(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=FSe,s=new J(e.a);s.a>16==3?e.Cb.Th(e,12,Er,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Ia(),Ixe)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function Ome(e,t){var i,s;return e.Db>>16==11?e.Cb.Th(e,10,Er,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Ia(),Pxe)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function k1t(e,t){var i,s;return e.Db>>16==10?e.Cb.Th(e,11,lf,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Vt(),lg)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function R1t(e,t){var i,s;return e.Db>>16==10?e.Cb.Th(e,12,cf,t):(s=os(u(Yt((i=u(ln(e,16),29),i||(Vt(),Xv)),e.Db>>16),19)),e.Cb.Th(e,s.n,s.f,t))}function Ju(e){var t;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(t=u(e.r,54),e.r=u(Jg(e,t),142),e.r!=t&&e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,9,8,t,e.r))),e.r}function BY(e,t,i){var s;return s=oe(re(bo,1),ms,28,15,[oye(e,(ud(),wa),t,i),oye(e,sl,t,i),oye(e,ma,t,i)]),e.f&&(s[0]=g.Math.max(s[0],s[2]),s[2]=s[0]),s}function cvn(e,t){var i,s,a;if(a=Omn(e,t),a.c.length!=0)for(Pi(a,new WFe),i=a.c.length,s=0;s>19,y=t.h>>19,w!=y?y-w:(a=e.h,p=t.h,a!=p?a-p:(s=e.m,d=t.m,s!=d?s-d:(i=e.l,c=t.l,i-c)))}function wF(){wF=L,X3e=(FF(),ine),q3e=new Dt(O2e,X3e),z3e=(uj(),rne),K3e=new Dt(N2e,z3e),G3e=(rF(),nne),V3e=new Dt(M2e,G3e),U3e=new Dt(D2e,(on(),!0))}function M5(e,t,i){var s,a;s=t*i,pe(e.g,154)?(a=jE(e),a.f.d?a.f.a||(e.d.a+=s+Bd):(e.d.d-=s+Bd,e.d.a+=s+Bd)):pe(e.g,10)&&(e.d.d-=s,e.d.a+=2*s)}function A1t(e,t,i){var s,a,c,d,p;for(a=e[i.g],p=new J(t.d);p.a0?e.b:0),++i;t.b=s,t.e=a}function C1t(e){var t,i,s;if(s=e.b,mtt(e.i,s.length)){for(i=s.length*2,e.b=Ne(Fte,$P,303,i,0,1),e.c=Ne(Fte,$P,303,i,0,1),e.f=i-1,e.i=0,t=e.a;t;t=t.c)aP(e,t,t);++e.g}}function gvn(e,t,i,s){var a,c,d,p;for(a=0;ad&&(p=d/s),a>c&&(w=c/a),sh(e,g.Math.min(p,w)),e}function mvn(){GF();var e,t;try{if(t=u(Vme((Mg(),uf),lA),2113),t)return t}catch(i){if(i=ci(i),pe(i,103))e=i,Oge((er(),e));else throw Z(i)}return new SGe}function yvn(){GF();var e,t;try{if(t=u(Vme((Mg(),uf),ef),2040),t)return t}catch(i){if(i=ci(i),pe(i,103))e=i,Oge((er(),e));else throw Z(i)}return new qGe}function vvn(){Lft();var e,t;try{if(t=u(Vme((Mg(),uf),F0),2122),t)return t}catch(i){if(i=ci(i),pe(i,103))e=i,Oge((er(),e));else throw Z(i)}return new HKe}function _vn(e,t,i){var s,a;return a=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(s=new lo(e,1,4,a,t),i?i.nj(s):i=s),a!=t&&(t?i=B4(e,IF(e,t),i):i=B4(e,e.a,i)),i}function x1t(){tD.call(this),this.e=-1,this.a=!1,this.p=Do,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=Do}function Svn(e,t){var i,s,a;if(s=e.b.d.d,e.a||(s+=e.b.d.a),a=t.b.d.d,t.a||(a+=t.b.d.a),i=Hr(s,a),i==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return i}function Evn(e,t){var i,s,a;if(s=e.b.b.d,e.a||(s+=e.b.b.a),a=t.b.b.d,t.a||(a+=t.b.b.a),i=Hr(s,a),i==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return i}function kvn(e,t){var i,s,a;if(s=e.b.g.d,e.a||(s+=e.b.g.a),a=t.b.g.d,t.a||(a+=t.b.g.a),i=Hr(s,a),i==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return i}function Mme(){Mme=L,O4t=zl(cr(cr(cr(new Li,(Mo(),za),(Go(),fRe)),za,dRe),Ls,hRe),Ls,eRe),M4t=cr(cr(new Li,za,zke),za,tRe),N4t=zl(new Li,Ls,rRe)}function Rvn(e){var t,i,s,a,c;for(t=u(U(e,(Je(),zx)),85),c=e.n,s=t.Cc().Kc();s.Ob();)i=u(s.Pb(),314),a=i.i,a.c+=c.a,a.d+=c.b,i.c?zmt(i):qmt(i);Ue(e,zx,null)}function Avn(e,t,i){var s,a;switch(a=e.b,s=a.d,t.g){case 1:return-s.d-i;case 2:return a.o.a+s.c+i;case 3:return a.o.b+s.a+i;case 4:return-s.b-i;default:return-1}}function Cvn(e,t,i){var s,a;for(i.Ug("Interactive node placement",1),e.a=u(U(t,(Je(),O_)),312),a=new J(t.b);a.a0&&(d=(c&xr)%e.d.length,a=jye(e,d,c,t),a)?(p=a.nd(i),p):(s=e.ck(c,t,i),e.c.Fc(s),null)}function jme(e,t){var i,s,a,c;switch(Lp(e,t).Kl()){case 3:case 2:{for(i=s_(t),a=0,c=i.i;a=0;s--)if(Ft(e[s].d,t)||Ft(e[s].d,i)){e.length>=s+1&&e.splice(0,s+1);break}return e}function eP(e,t){var i;return Gs(e)&&Gs(t)&&(i=e/t,PP0&&(e.b+=2,e.a+=s):(e.b+=1,e.a+=g.Math.min(s,a))}function M1t(e){var t;t=u(U(u(Tu(e.b,0),40),(ba(),P6e)),107),Ue(e,(Gr(),jA),new Xe(0,0)),Ayt(new c7,e,t.b+t.c-Re(Oe(U(e,Zre))),t.d+t.a-Re(Oe(U(e,eie))))}function D1t(e,t){var i,s;if(s=!1,fo(t)&&(s=!0,PE(e,new My(tr(t)))),s||pe(t,242)&&(s=!0,PE(e,(i=Ppe(u(t,242)),new PM(i)))),!s)throw Z(new bz(MEe))}function Vvn(e,t,i,s){var a,c,d;return a=new Db(e.e,1,10,(d=t.c,pe(d,90)?u(d,29):(Vt(),ff)),(c=i.c,pe(c,90)?u(c,29):(Vt(),ff)),Wp(e,t),!1),s?s.nj(a):s=a,s}function Hme(e){var t,i;switch(u(U(Co(e),(dt(),rAe)),429).g){case 0:return t=e.n,i=e.o,new Xe(t.a+i.a/2,t.b+i.b/2);case 1:return new qo(e.n);default:return null}}function tP(){tP=L,rW=new EC(Sh,0),WRe=new EC("LEFTUP",1),VRe=new EC("RIGHTUP",2),HRe=new EC("LEFTDOWN",3),URe=new EC("RIGHTDOWN",4),Zne=new EC("BALANCED",5)}function Gvn(e,t,i){var s,a,c;if(s=Hr(e.a[t.p],e.a[i.p]),s==0){if(a=u(U(t,(Je(),x3)),15),c=u(U(i,x3),15),a.Hc(i))return-1;if(c.Hc(t))return 1}return s}function Kvn(e){switch(e.g){case 1:return new rVe;case 2:return new iVe;case 3:return new nVe;case 0:return null;default:throw Z(new un(Bee+(e.f!=null?e.f:""+e.g)))}}function Wme(e,t,i){switch(t){case 1:!e.n&&(e.n=new We(ys,e,1,7)),Hn(e.n),!e.n&&(e.n=new We(ys,e,1,7)),vi(e.n,u(i,16));return;case 2:ZR(e,tr(i));return}lwe(e,t,i)}function Ume(e,t,i){switch(t){case 3:Jw(e,Re(Oe(i)));return;case 4:Yw(e,Re(Oe(i)));return;case 5:hl(e,Re(Oe(i)));return;case 6:bl(e,Re(Oe(i)));return}Wme(e,t,i)}function mF(e,t,i){var s,a,c;c=(s=new sz,s),a=Ld(c,t,null),a&&a.oj(),rl(c,i),Wn((!e.c&&(e.c=new We(Wm,e,12,10)),e.c),c),Np(c,0),Gy(c,1),Fp(c,!0),jp(c,!0)}function Vme(e,t){var i,s,a;return i=mC(e.i,t),pe(i,241)?(a=u(i,241),a.zi()==null,a.wi()):pe(i,507)?(s=u(i,2037),a=s.b,a):null}function zvn(e,t,i,s){var a,c;return Qn(t),Qn(i),c=u(HC(e.d,t),17),cdt(!!c,"Row %s not in %s",t,e.e),a=u(HC(e.b,i),17),cdt(!!a,"Column %s not in %s",i,e.c),vbt(e,c.a,a.a,s)}function L1t(e,t,i,s,a,c,d){var p,w,y,v,x;if(v=a[c],y=c==d-1,p=y?s:0,x=n1t(p,v),s!=10&&oe(re(e,d-c),t[c],i[c],p,x),!y)for(++c,w=0;w1||p==-1?(c=u(w,15),a.Wb(Iwn(e,c))):a.Wb(RQ(e,u(w,58)))))}function e2n(e,t,i,s){zet();var a=Nte;function c(){for(var d=0;d0)return!1;return!0}function r2n(e){var t,i,s,a,c;for(s=new y0(new e0(e.b).a);s.b;)i=em(s),t=u(i.ld(),10),c=u(u(i.md(),42).a,10),a=u(u(i.md(),42).b,8),$r(id(t.n),$r(Ro(c.n),a))}function i2n(e){switch(u(U(e.b,(dt(),J4e)),387).g){case 1:Ei(Ps(ia(new Lt(null,new Wt(e.d,16)),new NHe),new MHe),new DHe);break;case 2:ZRn(e);break;case 0:TSn(e)}}function o2n(e,t,i){var s,a,c;for(s=i,!s&&(s=new lE),s.Ug("Layout",e.a.c.length),c=new J(e.a);c.aDee)return i;a>-1e-6&&++i}return i}function Kme(e,t){var i;t!=e.b?(i=null,e.b&&(i=DL(e.b,e,-4,i)),t&&(i=YE(t,e,-4,i)),i=hpt(e,t,i),i&&i.oj()):e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,3,t,t))}function B1t(e,t){var i;t!=e.f?(i=null,e.f&&(i=DL(e.f,e,-1,i)),t&&(i=YE(t,e,-1,i)),i=dpt(e,t,i),i&&i.oj()):e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,0,t,t))}function c2n(e,t,i,s){var a,c,d,p;return Pc(e.e)&&(a=t.Lk(),p=t.md(),c=i.md(),d=Ug(e,1,a,p,c,a.Jk()?L4(e,a,c,pe(a,102)&&(u(a,19).Bb&ts)!=0):-1,!0),s?s.nj(d):s=d),s}function H1t(e){var t,i,s;if(e==null)return null;if(i=u(e,15),i.dc())return"";for(s=new _p,t=i.Kc();t.Ob();)ps(s,(Fr(),tr(t.Pb()))),s.a+=" ";return cq(s,s.a.length-1)}function W1t(e){var t,i,s;if(e==null)return null;if(i=u(e,15),i.dc())return"";for(s=new _p,t=i.Kc();t.Ob();)ps(s,(Fr(),tr(t.Pb()))),s.a+=" ";return cq(s,s.a.length-1)}function u2n(e,t,i){var s,a;return s=e.c[t.c.p][t.p],a=e.c[i.c.p][i.p],s.a!=null&&a.a!=null?Yq(s.a,a.a):s.a!=null?-1:a.a!=null?1:0}function f2n(e,t,i){return i.Ug("Tree layout",1),X8(e.b),od(e.b,(ZE(),jW),jW),od(e.b,u$,u$),od(e.b,f$,f$),od(e.b,d$,d$),e.a=_P(e.b,t),o2n(e,t,i.eh(1)),i.Vg(),t}function d2n(e,t){var i,s,a,c,d,p;if(t)for(c=t.a.length,i=new a0(c),p=(i.b-i.a)*i.c<0?(Dg(),T1):new Fg(i);p.Ob();)d=u(p.Pb(),17),a=FR(t,d.a),s=new aQe(e),vun(s.a,a)}function h2n(e,t){var i,s,a,c,d,p;if(t)for(c=t.a.length,i=new a0(c),p=(i.b-i.a)*i.c<0?(Dg(),T1):new Fg(i);p.Ob();)d=u(p.Pb(),17),a=FR(t,d.a),s=new QYe(e),yun(s.a,a)}function b2n(e){var t;if(e!=null&&e.length>0&&No(e,e.length-1)==33)try{return t=Jwt(_u(e,0,e.length-1)),t.e==null}catch(i){if(i=ci(i),!pe(i,33))throw Z(i)}return!1}function p2n(e,t,i){var s,a,c;switch(s=Co(t),a=Gj(s),c=new Ma,ra(c,t),i.g){case 1:Qi(c,U7(qE(a)));break;case 2:Qi(c,qE(a))}return Ue(c,(dt(),Pv),Oe(U(e,Pv))),c}function zme(e){var t,i;return t=u($n(new Sn(kn(so(e.a).a.Kc(),new M))),18),i=u($n(new Sn(kn($i(e.a).a.Kc(),new M))),18),bt(ht(U(t,(Je(),Gd))))||bt(ht(U(i,Gd)))}function Zy(){Zy=L,_O=new p8("ONE_SIDE",0),YH=new p8("TWO_SIDES_CORNER",1),QH=new p8("TWO_SIDES_OPPOSING",2),JH=new p8("THREE_SIDES",3),XH=new p8("FOUR_SIDES",4)}function U1t(e,t){var i,s,a,c;for(c=new it,a=0,s=t.Kc();s.Ob();){for(i=rt(u(s.Pb(),17).a+a);i.a=e.f)break;en(c.c,i)}return c}function g2n(e,t){var i,s,a,c,d;for(c=new J(t.a);c.a0&&h1t(this,this.c-1,(ct(),yn)),this.c0&&e[0].length>0&&(this.c=bt(ht(U(Co(e[0][0]),(Je(),o4e))))),this.a=Ne(L5t,tt,2117,e.length,0,2),this.b=Ne(j5t,tt,2118,e.length,0,2),this.d=new apt}function _2n(e){return e.c.length==0?!1:(Kt(0,e.c.length),u(e.c[0],18)).c.i.k==(hn(),co)?!0:H2(Ps(new Lt(null,new Wt(e,16)),new pWe),new gWe)}function K1t(e,t){var i,s,a,c,d,p,w;for(p=iv(t),c=t.f,w=t.g,d=g.Math.sqrt(c*c+w*w),a=0,s=new J(p);s.a=0?(i=eP(e,nB),s=G7(e,nB)):(t=Bg(e,1),i=eP(t,5e8),s=G7(t,5e8),s=Uo(xf(s,1),ro(e,1))),sd(xf(s,32),ro(i,us))}function X1t(e,t,i){var s,a;switch(s=(Cn(t.b!=0),u(Ru(t,t.a.a),8)),i.g){case 0:s.b=0;break;case 2:s.b=e.f;break;case 3:s.a=0;break;default:s.a=e.g}return a=Fn(t,0),q8(a,s),t}function J1t(e,t,i,s){var a,c,d,p,w;switch(w=e.b,c=t.d,d=c.j,p=ume(d,w.d[d.g],i),a=$r(Ro(c.n),c.a),c.j.g){case 1:case 3:p.a+=a.a;break;case 2:case 4:p.b+=a.b}gi(s,p,s.c.b,s.c)}function O2n(e,t,i){var s,a,c,d;for(d=Ns(e.e,t,0),c=new Zde,c.b=i,s=new _o(e.e,d);s.b1;t>>=1)t&1&&(s=B2(s,i)),i.d==1?i=B2(i,i):i=new dgt(Pyt(i.a,i.d,Ne(Gn,ur,28,i.d<<1,15,1)));return s=B2(s,i),s}function nye(){nye=L;var e,t,i,s;for(M3e=Ne(bo,ms,28,25,15,1),D3e=Ne(bo,ms,28,33,15,1),s=152587890625e-16,t=32;t>=0;t--)D3e[t]=s,s*=.5;for(i=1,e=24;e>=0;e--)M3e[e]=i,i*=.5}function F2n(e){var t,i;if(bt(ht(Ge(e,(dt(),Tv))))){for(i=new Sn(kn(Gb(e).a.Kc(),new M));Bn(i);)if(t=u($n(i),74),lm(t)&&bt(ht(Ge(t,G0))))return!0}return!1}function Y1t(e,t){var i,s,a;Vi(e.f,t)&&(t.b=e,s=t.c,Ns(e.j,s,0)!=-1||ot(e.j,s),a=t.d,Ns(e.j,a,0)!=-1||ot(e.j,a),i=t.a.b,i.c.length!=0&&(!e.i&&(e.i=new mgt(e)),Vgn(e.i,i)))}function B2n(e){var t,i,s,a,c;return i=e.c.d,s=i.j,a=e.d.d,c=a.j,s==c?i.p=0&&Ft(e.substr(t,3),"GMT")||t>=0&&Ft(e.substr(t,3),"UTC"))&&(i[0]=t+3),Mve(e,i,s)}function W2n(e,t){var i,s,a,c,d;for(c=e.g.a,d=e.g.b,s=new J(e.d);s.ai;c--)e[c]|=t[c-i-1]>>>d,e[c-1]=t[c-i-1]<0&&Da(e.g,t,e.g,t+s,p),d=i.Kc(),e.i+=s,a=0;a>4&15,c=e[s]&15,d[a++]=Nxe[i],d[a++]=Nxe[c];return dh(d,0,d.length)}function Nl(e){var t,i;return e>=ts?(t=OP+(e-ts>>10&1023)&Bi,i=56320+(e-ts&1023)&Bi,String.fromCharCode(t)+(""+String.fromCharCode(i))):String.fromCharCode(e&Bi)}function Z2n(e,t){Iy();var i,s,a,c;return a=u(u(Or(e.r,t),21),87),a.gc()>=2?(s=u(a.Kc().Pb(),117),i=e.u.Hc((fc(),N$)),c=e.u.Hc(B3),!s.a&&!i&&(a.gc()==2||c)):!1}function e0t(e,t,i,s,a){var c,d,p;for(c=Fmt(e,t,i,s,a),p=!1;!c;)xF(e,a,!0),p=!0,c=Fmt(e,t,i,s,a);p&&xF(e,a,!1),d=OJ(a),d.c.length!=0&&(e.d&&e.d.Gg(d),e0t(e,a,i,s,d))}function SF(){SF=L,loe=new CC(Sh,0),ixe=new CC("DIRECTED",1),sxe=new CC("UNDIRECTED",2),nxe=new CC("ASSOCIATION",3),oxe=new CC("GENERALIZATION",4),rxe=new CC("DEPENDENCY",5)}function e_n(e,t){var i;if(!Cd(e))throw Z(new _s(gEt));switch(i=Cd(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-i.g;case 3:return e.j-i.f;case 4:return-(e.i+e.g)}return 0}function t_n(e,t,i){var s,a,c;return s=t.Lk(),c=t.md(),a=s.Jk()?Ug(e,4,s,c,null,L4(e,s,c,pe(s,102)&&(u(s,19).Bb&ts)!=0),!0):Ug(e,s.tk()?2:1,s,c,s.ik(),-1,!0),i?i.nj(a):i=a,i}function C4(e,t){var i,s;for(gn(t),s=e.b.c.length,ot(e.b,t);s>0;){if(i=s,s=(s-1)/2|0,e.a.Ne(gt(e.b,s),t)<=0)return Eu(e.b,i,t),!0;Eu(e.b,i,gt(e.b,s))}return Eu(e.b,s,t),!0}function oye(e,t,i,s){var a,c;if(a=0,i)a=Bj(e.a[i.g][t.g],s);else for(c=0;c=p)}function t0t(e){switch(e.g){case 0:return new mVe;case 1:return new yVe;default:throw Z(new un("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function sye(e,t,i,s){var a;if(a=!1,fo(s)&&(a=!0,xR(t,i,tr(s))),a||Ay(s)&&(a=!0,sye(e,t,i,s)),a||pe(s,242)&&(a=!0,f0(t,i,u(s,242))),!a)throw Z(new bz(MEe))}function r_n(e,t){var i,s,a;if(i=t.qi(e.a),i&&(a=fd((!i.b&&(i.b=new Nc((Vt(),rs),va,i)),i.b),Zu),a!=null)){for(s=1;s<(Jl(),i$e).length;++s)if(Ft(i$e[s],a))return s}return 0}function i_n(e,t){var i,s,a;if(i=t.qi(e.a),i&&(a=fd((!i.b&&(i.b=new Nc((Vt(),rs),va,i)),i.b),Zu),a!=null)){for(s=1;s<(Jl(),o$e).length;++s)if(Ft(o$e[s],a))return s}return 0}function n0t(e,t){var i,s,a,c;if(gn(t),c=e.a.gc(),c0?1:0;c.a[a]!=i;)c=c.a[a],a=e.a.Ne(i.d,c.d)>0?1:0;c.a[a]=s,s.b=i.b,s.a[0]=i.a[0],s.a[1]=i.a[1],i.a[0]=null,i.a[1]=null}function a_n(e){var t,i,s,a;for(t=new it,i=Ne($c,eb,28,e.a.c.length,16,1),xge(i,i.length),a=new J(e.a);a.a0&&xyt((Kt(0,i.c.length),u(i.c[0],30)),e),i.c.length>1&&xyt(u(gt(i,i.c.length-1),30),e),t.Vg()}function c_n(e){fc();var t,i;return t=Yr(tp,oe(re(dU,1),Ve,279,0,[R1])),!(C7(jL(t,e))>1||(i=Yr(N$,oe(re(dU,1),Ve,279,0,[O$,B3])),C7(jL(i,e))>1))}function lye(e,t){var i;i=Ha((Mg(),uf),e),pe(i,507)?Ss(uf,e,new qnt(this,t)):Ss(uf,e,this),YY(this,t),t==(hR(),Kxe)?(this.wb=u(this,2038),u(t,2040)):this.wb=(Hg(),sn)}function u_n(e){var t,i,s;if(e==null)return null;for(t=null,i=0;i=Kp?"error":s>=900?"warn":s>=800?"info":"log"),pat(i,e.a),e.b&&uve(t,i,e.b,"Exception: ",!0))}function U(e,t){var i,s;return s=(!e.q&&(e.q=new Dn),_n(e.q,t)),s??(i=t.Sg(),pe(i,4)&&(i==null?(!e.q&&(e.q=new Dn),BE(e.q,t)):(!e.q&&(e.q=new Dn),wr(e.q,t,i))),i)}function Mo(){Mo=L,jf=new b8("P1_CYCLE_BREAKING",0),rb=new b8("P2_LAYERING",1),La=new b8("P3_NODE_ORDERING",2),za=new b8("P4_NODE_PLACEMENT",3),Ls=new b8("P5_EDGE_ROUTING",4)}function f_n(e,t){c5();var i;if(e.c==t.c){if(e.b==t.b||mgn(e.b,t.b)){if(i=Urn(e.b)?1:-1,e.a&&!t.a)return i;if(!e.a&&t.a)return-i}return xa(e.b.g,t.b.g)}else return Hr(e.c,t.c)}function a0t(e,t){var i,s,a;if(uye(e,t))return!0;for(s=new J(t);s.a=a||t<0)throw Z(new vs(bte+t+L0+a));if(i>=a||i<0)throw Z(new vs(pte+i+L0+a));return t!=i?s=(c=e.Cj(i),e.qj(t,c),c):s=e.xj(i),s}function u0t(e){var t,i,s;if(s=e,e)for(t=0,i=e.Eh();i;i=i.Eh()){if(++t>kZ)return u0t(i);if(s=i,i==e)throw Z(new _s("There is a cycle in the containment hierarchy of "+e))}return s}function e1(e){var t,i,s;for(s=new v0(Jo,"[","]"),i=e.Kc();i.Ob();)t=i.Pb(),Mb(s,xe(t)===xe(e)?"(this Collection)":t==null?Ml:zs(t));return s.a?s.e.length==0?s.a.a:s.a.a+(""+s.e):s.c}function uye(e,t){var i,s;if(s=!1,t.gc()<2)return!1;for(i=0;i1&&(e.j.b+=e.e)):(e.j.a+=i.a,e.j.b=g.Math.max(e.j.b,i.b),e.d.c.length>1&&(e.j.a+=e.e))}function t1(){t1=L,_At=oe(re(ns,1),Ta,64,0,[(ct(),dn),yn,Mn]),vAt=oe(re(ns,1),Ta,64,0,[yn,Mn,bn]),SAt=oe(re(ns,1),Ta,64,0,[Mn,bn,dn]),EAt=oe(re(ns,1),Ta,64,0,[bn,dn,yn])}function h_n(e,t,i,s){var a,c,d,p,w,y,v;if(d=e.c.d,p=e.d.d,d.j!=p.j)for(v=e.b,a=d.j,w=null;a!=p.j;)w=t==0?Vj(a):Iwe(a),c=ume(a,v.d[a.g],i),y=ume(w,v.d[w.g],i),sr(s,$r(c,y)),a=w}function b_n(e,t,i,s){var a,c,d,p,w;return d=b1t(e.a,t,i),p=u(d.a,17).a,c=u(d.b,17).a,s&&(w=u(U(t,(Je(),dc)),10),a=u(U(i,dc),10),w&&a&&(tut(e.b,w,a),p+=e.b.i,c+=e.b.e)),p>c}function d0t(e){var t,i,s,a,c,d,p,w,y;for(this.a=Mgt(e),this.b=new it,i=e,s=0,a=i.length;sAq(e.d).c?(e.i+=e.g.c,dY(e.d)):Aq(e.d).c>Aq(e.g).c?(e.e+=e.d.c,dY(e.g)):(e.i+=Est(e.g),e.e+=Est(e.d),dY(e.g),dY(e.d))}function m_n(e,t,i){var s,a,c,d;for(c=t.q,d=t.r,new d0((ad(),m1),t,c,1),new d0(m1,c,d,1),a=new J(i);a.ap&&(w=p/s),a>c&&(y=c/a),d=g.Math.min(w,y),e.a+=d*(t.a-e.a),e.b+=d*(t.b-e.b)}function S_n(e,t,i,s,a){var c,d;for(d=!1,c=u(gt(i.b,0),27);YAn(e,t,c,s,a)&&(d=!0,Qvn(i,c),i.b.c.length!=0);)c=u(gt(i.b,0),27);return i.b.c.length==0&&Q7(i.j,i),d&&bF(t.q),d}function E_n(e,t){i_();var i,s,a,c;if(t.b<2)return!1;for(c=Fn(t,0),i=u(Ln(c),8),s=i;c.b!=c.d.c;){if(a=u(Ln(c),8),hQ(e,s,a))return!0;s=a}return!!hQ(e,s,i)}function dye(e,t,i,s){var a,c;return i==0?(!e.o&&(e.o=new ql((Ia(),ub),og,e,0)),XD(e.o,t,s)):(c=u(Yt((a=u(ln(e,16),29),a||e.ii()),i),69),c.wk().Ak(e,pl(e),i-xn(e.ii()),t,s))}function YY(e,t){var i;t!=e.sb?(i=null,e.sb&&(i=u(e.sb,54).Th(e,1,L$,i)),t&&(i=u(t,54).Rh(e,1,L$,i)),i=kwe(e,t,i),i&&i.oj()):e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,4,t,t))}function k_n(e,t){var i,s,a,c;if(t)a=Fb(t,"x"),i=new iQe(e),zR(i.a,(gn(a),a)),c=Fb(t,"y"),s=new oQe(e),XR(s.a,(gn(c),c));else throw Z(new nh("All edge sections need an end point."))}function R_n(e,t){var i,s,a,c;if(t)a=Fb(t,"x"),i=new tQe(e),qR(i.a,(gn(a),a)),c=Fb(t,"y"),s=new nQe(e),JR(s.a,(gn(c),c));else throw Z(new nh("All edge sections need a start point."))}function A_n(e,t){var i,s,a,c,d,p,w;for(s=Wbt(e),c=0,p=s.length;c>22-t,a=e.h<>22-t):t<44?(i=0,s=e.l<>44-t):(i=0,s=0,a=e.l<e)throw Z(new un("k must be smaller than n"));return t==0||t==e?1:e==0?0:Fme(e)/(Fme(t)*Fme(e-t))}function hye(e,t){var i,s,a,c;for(i=new $be(e);i.g==null&&!i.c?a1e(i):i.g==null||i.i!=0&&u(i.g[i.i-1],51).Ob();)if(c=u($F(i),58),pe(c,167))for(s=u(c,167),a=0;a>4],t[i*2+1]=OU[c&15];return dh(t,0,t.length)}function W_n(e){AL();var t,i,s;switch(s=e.c.length,s){case 0:return ykt;case 1:return t=u(Z0t(new J(e)),44),Mln(t.ld(),t.md());default:return i=u(Dd(e,Ne(B0,eB,44,e.c.length,0,1)),173),new dhe(i)}}function U_n(e){var t,i,s,a,c,d;for(t=new N2,i=new N2,Vg(t,e),Vg(i,e);i.b!=i.c;)for(a=u(IE(i),36),d=new J(a.a);d.a0&&pP(e,i,t),a):TEn(e,t,i)}function n1(){n1=L,k$t=(br(),D3),R$t=ew,v$t=Z0,_$t=Y_,S$t=_1,y$t=J_,Q6e=e9,E$t=Hv,pie=(Cve(),l$t),gie=c$t,eCe=h$t,wie=g$t,tCe=b$t,nCe=p$t,Z6e=u$t,KW=f$t,zW=d$t,WO=w$t,rCe=m$t,Y6e=a$t}function v0t(e,t){var i,s,a,c,d;if(e.e<=t||hdn(e,e.g,t))return e.g;for(c=e.r,s=e.g,d=e.r,a=(c-s)/2+s;s+11&&(e.e.b+=e.a)):(e.e.a+=i.a,e.e.b=g.Math.max(e.e.b,i.b),e.d.c.length>1&&(e.e.a+=e.a))}function q_n(e){var t,i,s,a;switch(a=e.i,t=a.b,s=a.j,i=a.g,a.a.g){case 0:i.a=(e.g.b.o.a-s.a)/2;break;case 1:i.a=t.d.n.a+t.d.a.a;break;case 2:i.a=t.d.n.a+t.d.a.a-s.a;break;case 3:i.b=t.d.n.b+t.d.a.b}}function X_n(e,t,i){var s,a,c;for(a=new Sn(kn(Wb(i).a.Kc(),new M));Bn(a);)s=u($n(a),18),!es(s)&&!(!es(s)&&s.c.i.c==s.d.i.c)&&(c=umt(e,s,i,new dZe),c.c.length>1&&en(t.c,c))}function S0t(e,t,i,s,a){if(ss&&(e.a=s),e.ba&&(e.b=a),e}function J_n(e){if(pe(e,143))return Ckn(u(e,143));if(pe(e,233))return wwn(u(e,233));if(pe(e,23))return x_n(u(e,23));throw Z(new un(DEe+e1(new oc(oe(re(io,1),Zt,1,5,[e])))))}function Y_n(e,t,i,s,a){var c,d,p;for(c=!0,d=0;d>>a|i[d+s+1]<>>a,++d}return c}function wye(e,t,i,s){var a,c,d;if(t.k==(hn(),co)){for(c=new Sn(kn(so(t).a.Kc(),new M));Bn(c);)if(a=u($n(c),18),d=a.c.i.k,d==co&&e.c.a[a.c.i.c.p]==s&&e.c.a[t.c.p]==i)return!0}return!1}function Q_n(e,t){var i,s,a,c;return t&=63,i=e.h&qb,t<22?(c=i>>>t,a=e.m>>t|i<<22-t,s=e.l>>t|e.m<<22-t):t<44?(c=0,a=i>>>t-22,s=e.m>>t-22|e.h<<44-t):(c=0,a=0,s=i>>>t-44),ul(s&Rc,a&Rc,c&qb)}function E0t(e,t,i,s){var a;this.b=s,this.e=e==(Qw(),a$),a=t[i],this.d=o0($c,[tt,eb],[183,28],16,[a.length,a.length],2),this.a=o0(Gn,[tt,ur],[53,28],15,[a.length,a.length],2),this.c=new Qme(t,i)}function Z_n(e){var t,i,s;for(e.k=new u1e((ct(),oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn])).length,e.j.c.length),s=new J(e.j);s.a=i)return $4(e,t,s.p),!0;return!1}function e_(e,t,i,s){var a,c,d,p,w,y;for(d=i.length,c=0,a=-1,y=gdt((fn(t,e.length+1),e.substr(t)),(Tq(),O3e)),p=0;pc&&Acn(y,gdt(i[p],O3e))&&(a=p,c=w);return a>=0&&(s[0]=t+c),a}function R0t(e){var t;return e.Db&64?QY(e):(t=new Kc(REe),!e.a||lr(lr((t.a+=' "',t),e.a),'"'),lr(Ew(lr(Ew(lr(Ew(lr(Ew((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function A0t(e,t,i){var s,a,c,d,p;for(p=gl(e.e.Dh(),t),a=u(e.g,124),s=0,d=0;di?Cye(e,i,"start index"):t<0||t>i?Cye(t,i,"end index"):z5("end index (%s) must not be less than start index (%s)",oe(re(io,1),Zt,1,5,[rt(t),rt(e)]))}function x0t(e,t){var i,s,a,c;for(s=0,a=e.length;s0&&$0t(e,c,i));t.p=0}function _t(e){var t;this.c=new ei,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(t=u(nd(sb),9),new yu(t,u(Af(t,t.length),9),0)),this.g=e.f}function oSn(e){var t,i,s,a;for(t=c0(lr(new Kc("Predicates."),"and"),40),i=!0,a=new Q6(e);a.b0?p[d-1]:Ne(ib,zp,10,0,0,1),a=p[d],y=d=0?e.ki(a):Tye(e,s);else throw Z(new un(c1+s.xe()+Sx));else throw Z(new un(CEt+t+xEt));else Cu(e,i,s)}function mye(e){var t,i;if(i=null,t=!1,pe(e,211)&&(t=!0,i=u(e,211).a),t||pe(e,263)&&(t=!0,i=""+u(e,263).a),t||pe(e,493)&&(t=!0,i=""+u(e,493).a),!t)throw Z(new bz(MEe));return i}function yye(e,t,i){var s,a,c,d,p,w;for(w=gl(e.e.Dh(),t),s=0,p=e.i,a=u(e.g,124),d=0;d=e.d.b.c.length&&(t=new Ba(e.d),t.p=s.p-1,ot(e.d.b,t),i=new Ba(e.d),i.p=s.p,ot(e.d.b,i)),vo(s,u(gt(e.d.b,s.p),30))}function Sye(e,t,i){var s,a,c;if(!e.b[t.g]){for(e.b[t.g]=!0,s=i,!s&&(s=new c7),sr(s.b,t),c=e.a[t.g].Kc();c.Ob();)a=u(c.Pb(),65),a.b!=t&&Sye(e,a.b,s),a.c!=t&&Sye(e,a.c,s),sr(s.a,a);return s}return null}function cSn(e){switch(e.g){case 0:case 1:case 2:return ct(),dn;case 3:case 4:case 5:return ct(),Mn;case 6:case 7:case 8:return ct(),bn;case 9:case 10:case 11:return ct(),yn;default:return ct(),la}}function uSn(e,t){var i;return e.c.length==0?!1:(i=zpt((Kt(0,e.c.length),u(e.c[0],18)).c.i),qc(),i==(Yy(),F_)||i==j_?!0:H2(Ps(new Lt(null,new Wt(e,16)),new wWe),new fYe(t)))}function nQ(e,t){if(pe(t,207))return iin(e,u(t,27));if(pe(t,193))return oin(e,u(t,123));if(pe(t,452))return rin(e,u(t,166));throw Z(new un(DEe+e1(new oc(oe(re(io,1),Zt,1,5,[t])))))}function M0t(e,t,i){var s,a;if(this.f=e,s=u(_n(e.b,t),260),a=s?s.a:0,B1e(i,a),i>=(a/2|0))for(this.e=s?s.c:null,this.d=a;i++0;)u0e(this);this.b=t,this.a=null}function fSn(e,t){var i,s;t.a?Gkn(e,t):(i=u(Rz(e.b,t.b),60),i&&i==e.a[t.b.f]&&i.a&&i.a!=t.b.a&&i.c.Fc(t.b),s=u(kz(e.b,t.b),60),s&&e.a[s.f]==t.b&&s.a&&s.a!=t.b.a&&t.b.c.Fc(s),mq(e.b,t.b))}function D0t(e,t){var i,s;if(i=u(gs(e.b,t),127),u(u(Or(e.r,t),21),87).dc()){i.n.b=0,i.n.c=0;return}i.n.b=e.C.b,i.n.c=e.C.c,e.A.Hc((jc(),nw))&&lyt(e,t),s=Fmn(e,t),pQ(e,t)==(q2(),E1)&&(s+=2*e.w),i.a.a=s}function L0t(e,t){var i,s;if(i=u(gs(e.b,t),127),u(u(Or(e.r,t),21),87).dc()){i.n.d=0,i.n.a=0;return}i.n.d=e.C.d,i.n.a=e.C.a,e.A.Hc((jc(),nw))&&cyt(e,t),s=jmn(e,t),pQ(e,t)==(q2(),E1)&&(s+=2*e.w),i.a.b=s}function dSn(e,t){var i,s,a,c;for(c=new it,s=new J(t);s.as&&(fn(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return s>0||ti.a&&(s.Hc((A0(),E$))?a=(t.a-i.a)/2:s.Hc(k$)&&(a=t.a-i.a)),t.b>i.b&&(s.Hc((A0(),A$))?c=(t.b-i.b)/2:s.Hc(R$)&&(c=t.b-i.b)),aye(e,a,c)}function V0t(e,t,i,s,a,c,d,p,w,y,v,x,N){pe(e.Cb,90)&&nv(vc(u(e.Cb,90)),4),rl(e,i),e.f=d,g4(e,p),m4(e,w),p4(e,y),w4(e,v),Fp(e,x),y4(e,N),jp(e,!0),Np(e,a),e.Zk(c),E0(e,t),s!=null&&(e.i=null,Rj(e,s))}function Cye(e,t,i){if(e<0)return z5(H2t,oe(re(io,1),Zt,1,5,[i,rt(e)]));if(t<0)throw Z(new un(W2t+t));return z5("%s (%s) must not be greater than size (%s)",oe(re(io,1),Zt,1,5,[i,rt(e),rt(t)]))}function xye(e,t,i,s,a,c){var d,p,w,y;if(d=s-i,d<7){swn(t,i,s,c);return}if(w=i+a,p=s+a,y=w+(p-w>>1),xye(t,e,w,y,-a,c),xye(t,e,y,p,-a,c),c.Ne(e[y-1],e[y])<=0){for(;i=0?e.bi(c,i):ive(e,a,i);else throw Z(new un(c1+a.xe()+Sx));else throw Z(new un(CEt+t+xEt));else xu(e,s,a,i)}function G0t(e){var t,i;if(e.f){for(;e.n>0;){if(t=u(e.k.Xb(e.n-1),76),i=t.Lk(),pe(i,102)&&u(i,19).Bb&Aa&&(!e.e||i.pk()!=XA||i.Lj()!=0)&&t.md()!=null)return!0;--e.n}return!1}else return e.n>0}function K0t(e){var t,i,s,a;if(i=u(e,54)._h(),i)try{if(s=null,t=T4((Mg(),uf),Tyt(mwn(i))),t&&(a=t.ai(),a&&(s=a.Fl(ynn(i.e)))),s&&s!=e)return K0t(s)}catch(c){if(c=ci(c),!pe(c,63))throw Z(c)}return e}function xSn(e,t,i){var s,a,c;i.Ug("Remove overlaps",1),i.dh(t,jSe),s=u(Ge(t,(D2(),W_)),27),e.f=s,e.a=SY(u(Ge(t,(n1(),WO)),300)),a=Oe(Ge(t,(br(),ew))),vde(e,(gn(a),a)),c=iv(s),Zvt(e,t,c,i),i.dh(t,LB)}function $Sn(e){var t,i,s;if(bt(ht(Ge(e,(br(),QO))))){for(s=new it,i=new Sn(kn(Gb(e).a.Kc(),new M));Bn(i);)t=u($n(i),74),lm(t)&&bt(ht(Ge(t,Jie)))&&en(s.c,t);return s}else return Gt(),Gt(),Qo}function z0t(e){if(!e)return GZe(),xkt;var t=e.valueOf?e.valueOf():e;if(t!==e){var i=Vte[typeof t];return i?i(t):wwe(typeof t)}else return e instanceof Array||e instanceof g.Array?new bde(e):new YT(e)}function q0t(e,t,i){var s,a,c;switch(c=e.o,s=u(gs(e.p,i),252),a=s.i,a.b=B5(s),a.a=F5(s),a.b=g.Math.max(a.b,c.a),a.b>c.a&&!t&&(a.b=c.a),a.c=-(a.b-c.a)/2,i.g){case 1:a.d=-a.a;break;case 3:a.d=c.b}xQ(s),$Q(s)}function X0t(e,t,i){var s,a,c;switch(c=e.o,s=u(gs(e.p,i),252),a=s.i,a.b=B5(s),a.a=F5(s),a.a=g.Math.max(a.a,c.b),a.a>c.b&&!t&&(a.a=c.b),a.d=-(a.a-c.b)/2,i.g){case 4:a.c=-a.b;break;case 2:a.c=c.a}xQ(s),$Q(s)}function ISn(e,t){var i,s,a,c,d;if(!t.dc()){if(a=u(t.Xb(0),131),t.gc()==1){Amt(e,a,a,1,0,t);return}for(i=1;i0)try{a=tu(t,Do,xr)}catch(c){throw c=ci(c),pe(c,130)?(s=c,Z(new sj(s))):Z(c)}return i=(!e.a&&(e.a=new QK(e)),e.a),a=0?u(we(i,a),58):null}function NSn(e,t){if(e<0)return z5(H2t,oe(re(io,1),Zt,1,5,["index",rt(e)]));if(t<0)throw Z(new un(W2t+t));return z5("%s (%s) must be less than size (%s)",oe(re(io,1),Zt,1,5,["index",rt(e),rt(t)]))}function MSn(e){var t,i,s,a,c;if(e==null)return Ml;for(c=new v0(Jo,"[","]"),i=e,s=0,a=i.length;s=0?e.Lh(i,!0,!0):cm(e,a,!0),160)),u(s,220).Zl(t);else throw Z(new un(c1+t.xe()+Sx))}function Pye(e){var t,i;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),i=Yi(g.Math.floor(g.Math.log(e)/.6931471805599453)),(!t||e!=g.Math.pow(2,i))&&++i,i):dbt(Ra(e))}function JSn(e){var t,i,s,a,c,d,p;for(c=new oh,i=new J(e);i.a2&&p.e.b+p.j.b<=2&&(a=p,s=d),c.a.zc(a,c),a.q=s);return c}function YSn(e,t,i){i.Ug("Eades radial",1),i.dh(t,LB),e.d=u(Ge(t,(D2(),W_)),27),e.c=Re(Oe(Ge(t,(n1(),zW)))),e.e=SY(u(Ge(t,WO),300)),e.a=Awn(u(Ge(t,rCe),434)),e.b=Kvn(u(Ge(t,Z6e),354)),xvn(e),i.dh(t,LB)}function QSn(e,t){if(t.Ug("Target Width Setter",1),Pd(e,(jd(),$ie)))Lr(e,(qh(),Fv),Oe(Ge(e,$ie)));else throw Z(new vp("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Vg()}function ewt(e,t){var i,s,a;return s=new Vb(e),Ms(s,t),Ue(s,(Je(),uW),t),Ue(s,(dt(),Si),(go(),Ja)),Ue(s,xh,(Kh(),oU)),Q1(s,(hn(),Oi)),i=new Ma,ra(i,s),Qi(i,(ct(),bn)),a=new Ma,ra(a,s),Qi(a,yn),s}function twt(e){switch(e.g){case 0:return new fz((Qw(),DO));case 1:return new gqe;case 2:return new wqe;default:throw Z(new un("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function nwt(e,t){var i,s,a,c,d;for(e.c[t.p]=!0,ot(e.a,t),d=new J(t.j);d.a=c)d.$b();else for(a=d.Kc(),s=0;s0?whe():d<0&&swt(e,t,-d),!0):!1}function F5(e){var t,i,s,a,c,d,p;if(p=0,e.b==0){for(d=Wgt(e,!0),t=0,s=d,a=0,c=s.length;a0&&(p+=i,++t);t>1&&(p+=e.c*(t-1))}else p=ret(RJ(Dy(Pr(Age(e.a),new Hs),new Rl)));return p>0?p+e.n.d+e.n.a:0}function B5(e){var t,i,s,a,c,d,p;if(p=0,e.b==0)p=ret(RJ(Dy(Pr(Age(e.a),new Qf),new Zf)));else{for(d=Ugt(e,!0),t=0,s=d,a=0,c=s.length;a0&&(p+=i,++t);t>1&&(p+=e.c*(t-1))}return p>0?p+e.n.b+e.n.c:0}function oEn(e){var t,i;if(e.c.length!=2)throw Z(new _s("Order only allowed for two paths."));t=(Kt(0,e.c.length),u(e.c[0],18)),i=(Kt(1,e.c.length),u(e.c[1],18)),t.d.i!=i.c.i&&(e.c.length=0,en(e.c,i),en(e.c,t))}function awt(e,t,i){var s;for(I2(i,t.g,t.f),wu(i,t.i,t.j),s=0;s<(!t.a&&(t.a=new We(Er,t,10,11)),t.a).i;s++)awt(e,u(we((!t.a&&(t.a=new We(Er,t,10,11)),t.a),s),27),u(we((!i.a&&(i.a=new We(Er,i,10,11)),i.a),s),27))}function sEn(e,t){var i,s,a,c;for(c=u(gs(e.b,t),127),i=c.a,a=u(u(Or(e.r,t),21),87).Kc();a.Ob();)s=u(a.Pb(),117),s.c&&(i.a=g.Math.max(i.a,rge(s.c)));if(i.a>0)switch(t.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function aEn(e,t){var i,s,a;return i=u(U(t,(Nf(),S3)),17).a-u(U(e,S3),17).a,i==0?(s=no(Ro(u(U(e,(Kg(),gO)),8)),u(U(e,Bx),8)),a=no(Ro(u(U(t,gO),8)),u(U(t,Bx),8)),Hr(s.a*s.b,a.a*a.b)):i}function lEn(e,t){var i,s,a;return i=u(U(t,(ba(),WW)),17).a-u(U(e,WW),17).a,i==0?(s=no(Ro(u(U(e,(Gr(),FO)),8)),u(U(e,jA),8)),a=no(Ro(u(U(t,FO),8)),u(U(t,jA),8)),Hr(s.a*s.b,a.a*a.b)):i}function lwt(e){var t,i;return i=new Pg,i.a+="e_",t=t1n(e),t!=null&&(i.a+=""+t),e.c&&e.d&&(lr((i.a+=" ",i),gF(e.c)),lr(Fa((i.a+="[",i),e.c.i),"]"),lr((i.a+=QZ,i),gF(e.d)),lr(Fa((i.a+="[",i),e.d.i),"]")),i.a}function cwt(e){switch(e.g){case 0:return new Aqe;case 1:return new Cqe;case 2:return new kqe;case 3:return new Eqe;default:throw Z(new un("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Mye(e,t,i,s,a){var c;switch(c=0,a.g){case 1:c=g.Math.max(0,t.b+e.b-(i.b+s));break;case 3:c=g.Math.max(0,-e.b-s);break;case 2:c=g.Math.max(0,-e.a-s);break;case 4:c=g.Math.max(0,t.a+e.a-(i.a+s))}return c}function cEn(e,t,i){var s,a,c,d,p;if(i)for(a=i.a.length,s=new a0(a),p=(s.b-s.a)*s.c<0?(Dg(),T1):new Fg(s);p.Ob();)d=u(p.Pb(),17),c=FR(i,d.a),$Ee in c.a||dte in c.a?E4n(e,c,t):Wxn(e,c,t),Hin(u(_n(e.b,_4(c)),74))}function Dye(e){var t,i;switch(e.b){case-1:return!0;case 0:return i=e.t,i>1||i==-1?(e.b=-1,!0):(t=Ju(e),t&&(is(),t.lk()==$3t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function Lye(e,t){var i,s,a,c;if(Rr(e),e.c!=0||e.a!=123)throw Z(new rr(or((er(),YEt))));if(c=t==112,s=e.d,i=_R(e.i,125,s),i<0)throw Z(new rr(or((er(),QEt))));return a=_u(e.i,s,i),e.d=i+1,Oft(a,c,(e.e&512)==512)}function uwt(e){var t,i,s,a,c,d,p;if(s=e.a.c.length,s>0)for(d=e.c.d,p=e.d.d,a=sh(no(new Xe(p.a,p.b),d),1/(s+1)),c=new Xe(d.a,d.b),i=new J(e.a);i.a=0&&s=0?e.Lh(i,!0,!0):cm(e,a,!0),160)),u(s,220).Wl(t);throw Z(new un(c1+t.xe()+rte))}function hEn(){Fhe();var e;return h8t?u(T4((Mg(),uf),ef),2038):(pr(B0,new OKe),l5n(),e=u(pe(Ha((Mg(),uf),ef),560)?Ha(uf,ef):new Cat,560),h8t=!0,c$n(e),g$n(e),wr((jhe(),Gxe),e,new XGe),Ss(uf,ef,e),e)}function bEn(e,t){var i,s,a,c;e.j=-1,Pc(e.e)?(i=e.i,c=e.i!=0,l7(e,t),s=new Db(e.e,3,e.c,null,t,i,c),a=t.zl(e.e,e.c,null),a=V1t(e,t,a),a?(a.nj(s),a.oj()):Ir(e.e,s)):(l7(e,t),a=t.zl(e.e,e.c,null),a&&a.oj())}function AF(e,t){var i,s,a;if(a=0,s=t[0],s>=e.length)return-1;for(i=(fn(s,e.length),e.charCodeAt(s));i>=48&&i<=57&&(a=a*10+(i-48),++s,!(s>=e.length));)i=(fn(s,e.length),e.charCodeAt(s));return s>t[0]?t[0]=s:a=-1,a}function pEn(e){var t,i,s,a,c;return a=u(e.a,17).a,c=u(e.b,17).a,i=a,s=c,t=g.Math.max(g.Math.abs(a),g.Math.abs(c)),a<=0&&a==c?(i=0,s=c-1):a==-t&&c!=t?(i=c,s=a,c>=0&&++i):(i=-c,s=a),new Ji(rt(i),rt(s))}function gEn(e,t,i,s){var a,c,d,p,w,y;for(a=0;a=0&&y>=0&&w=e.i)throw Z(new vs(bte+t+L0+e.i));if(i>=e.i)throw Z(new vs(pte+i+L0+e.i));return s=e.g[i],t!=i&&(t>16),t=s>>16&16,i=16-t,e=e>>t,s=e-256,t=s>>16&8,i+=t,e<<=t,s=e-fv,t=s>>16&4,i+=t,e<<=t,s=e-wh,t=s>>16&2,i+=t,e<<=t,s=e>>14,t=s&~(s>>1),i+2-t)}function mEn(e){ME();var t,i,s,a;for(EH=new it,hne=new Dn,dne=new it,t=(!e.a&&(e.a=new We(Er,e,10,11)),e.a),lxn(t),a=new vn(t);a.e!=a.i.gc();)s=u(Rn(a),27),Ns(EH,s,0)==-1&&(i=new it,ot(dne,i),bgt(s,i));return dne}function yEn(e,t,i){var s,a,c,d;e.a=i.b.d,pe(t,326)?(a=r_(u(t,74),!1,!1),c=iP(a),s=new JXe(e),xo(c,s),mP(c,a),t.of((br(),Hm))!=null&&xo(u(t.of(Hm),75),s)):(d=u(t,422),d.rh(d.nh()+e.a.a),d.sh(d.oh()+e.a.b))}function vEn(e,t){var i,s,a;for(a=new it,s=Fn(t.a,0);s.b!=s.d.c;)i=u(Ln(s),65),i.c.g==e.g&&xe(U(i.b,(ba(),Ih)))!==xe(U(i.c,Ih))&&!H2(new Lt(null,new Wt(a,16)),new EYe(i))&&en(a.c,i);return Pi(a,new rUe),a}function dwt(e,t,i){var s,a,c,d;return pe(t,153)&&pe(i,153)?(c=u(t,153),d=u(i,153),e.a[c.a][d.a]+e.a[d.a][c.a]):pe(t,250)&&pe(i,250)&&(s=u(t,250),a=u(i,250),s.a==a.a)?u(U(a.a,(Nf(),S3)),17).a:0}function hwt(e,t){var i,s,a,c,d,p,w,y;for(y=Re(Oe(U(t,(dt(),t$)))),w=e[0].n.a+e[0].o.a+e[0].d.c+y,p=1;p=0?i:(p=QC(no(new Xe(d.c+d.b/2,d.d+d.a/2),new Xe(c.c+c.b/2,c.d+c.a/2))),-(Fyt(c,d)-1)*p)}function SEn(e,t,i){var s;Ei(new Lt(null,(!i.a&&(i.a=new We(ti,i,6,6)),new Wt(i.a,16))),new xnt(e,t)),Ei(new Lt(null,(!i.n&&(i.n=new We(ys,i,1,7)),new Wt(i.n,16))),new $nt(e,t)),s=u(Ge(i,(br(),Hm)),75),s&&B0e(s,e,t)}function cm(e,t,i){var s,a,c;if(c=a_((Jl(),To),e.Dh(),t),c)return is(),u(c,69).xk()||(c=LE(Es(To,c))),a=(s=e.Ih(c),u(s>=0?e.Lh(s,!0,!0):cm(e,c,!0),160)),u(a,220).Sl(t,i);throw Z(new un(c1+t.xe()+rte))}function jye(e,t,i,s){var a,c,d,p,w;if(a=e.d[t],a){if(c=a.g,w=a.i,s!=null){for(p=0;p=i&&(s=t,y=(w.c+w.a)/2,d=y-i,w.c<=y-i&&(a=new Mq(w.c,d),Mw(e,s++,a)),p=y+i,p<=w.a&&(c=new Mq(p,w.a),jy(s,e.c.length),yC(e.c,s,c)))}function gwt(e,t,i){var s,a,c,d,p,w;if(!t.dc()){for(a=new ei,w=t.Kc();w.Ob();)for(p=u(w.Pb(),40),wr(e.a,rt(p.g),rt(i)),d=(s=Fn(new Ab(p).a.d,0),new y2(s));i8(d.a);)c=u(Ln(d.a),65).c,gi(a,c,a.c.b,a.c);gwt(e,a,i+1)}}function Fye(e){var t;if(!e.c&&e.g==null)e.d=e.bj(e.f),Wn(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=u(e.g[e.i-1],51)}return t==e.b&&null.Vm>=null.Um()?($F(e),Fye(e)):t.Ob()}function wwt(e){if(this.a=e,e.c.i.k==(hn(),Oi))this.c=e.c,this.d=u(U(e.c.i,(Je(),ya)),64);else if(e.d.i.k==Oi)this.c=e.d,this.d=u(U(e.d.i,(Je(),ya)),64);else throw Z(new un("Edge "+e+" is not an external edge."))}function mwt(e,t){var i,s,a;a=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,3,a,e.b)),t?t!=e&&(rl(e,t.zb),bJ(e,t.d),i=(s=t.c,s??t.zb),gJ(e,i==null||Ft(i,t.zb)?null:i)):(rl(e,null),bJ(e,0),gJ(e,null))}function ywt(e,t){var i;this.e=(Fw(),Qn(e),Fw(),Zwe(e)),this.c=(Qn(t),Zwe(t)),Wbe(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Npt(this.e),this.b=Npt(this.c),i=o0(io,[tt,Zt],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=i,Ypn(this)}function vwt(e){!Wte&&(Wte=vxn());var t=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(i){return kfn(i)});return'"'+t+'"'}function Bye(e,t,i,s,a,c){var d,p,w,y,v;if(a!=0)for(xe(e)===xe(i)&&(e=e.slice(t,t+a),t=0),w=i,p=t,y=t+a;p=d)throw Z(new Py(t,d));return a=i[t],d==1?s=null:(s=Ne(woe,vte,424,d-1,0,1),Da(i,0,s,0,t),c=d-t-1,c>0&&Da(i,t+1,s,t,c)),S4(e,s),U0t(e,t,a),a}function Swt(e){var t,i;if(e.f){for(;e.n0?c=qE(i):c=U7(qE(i))),Lr(t,TA,c)}function $En(e,t){var i;t.Ug("Partition preprocessing",1),i=u(Ks(Pr(ia(Pr(new Lt(null,new Wt(e.a,16)),new oBe),new sBe),new aBe),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),Ei(i.Oc(),new lBe),t.Vg()}function IEn(e,t){var i,s,a,c,d;for(d=e.j,t.a!=t.b&&Pi(d,new jHe),a=d.c.length/2|0,s=0;s0&&pP(e,i,t),c):s.a!=null?(pP(e,t,i),-1):a.a!=null?(pP(e,i,t),1):0}function PEn(e,t){var i,s,a,c,d;for(a=t.b.b,e.a=Ne(Du,dv,15,a,0,1),e.b=Ne($c,eb,28,a,16,1),d=Fn(t.b,0);d.b!=d.d.c;)c=u(Ln(d),40),e.a[c.g]=new ei;for(s=Fn(t.a,0);s.b!=s.d.c;)i=u(Ln(s),65),e.a[i.b.g].Fc(i),e.a[i.c.g].Fc(i)}function Awt(e,t){var i,s,a,c;e.Pj()?(i=e.Ej(),c=e.Qj(),++e.j,e.qj(i,e.Zi(i,t)),s=e.Ij(3,null,t,i,c),e.Mj()?(a=e.Nj(t,null),a?(a.nj(s),a.oj()):e.Jj(s)):e.Jj(s)):(gat(e,t),e.Mj()&&(a=e.Nj(t,null),a&&a.oj()))}function Hye(e,t,i){var s,a,c;e.Pj()?(c=e.Qj(),F7(e,t,i),s=e.Ij(3,null,i,t,c),e.Mj()?(a=e.Nj(i,null),e.Tj()&&(a=e.Uj(i,a)),a?(a.nj(s),a.oj()):e.Jj(s)):e.Jj(s)):(F7(e,t,i),e.Mj()&&(a=e.Nj(i,null),a&&a.oj()))}function CF(e,t){var i,s,a,c,d;for(d=gl(e.e.Dh(),t),a=new xM,i=u(e.g,124),c=e.i;--c>=0;)s=i[c],d.am(s.Lk())&&Wn(a,s);!_2t(e,a)&&Pc(e.e)&&lR(e,t.Jk()?Ug(e,6,t,(Gt(),Qo),null,-1,!1):Ug(e,t.tk()?2:1,t,null,null,-1,!1))}function OEn(e,t){var i,s,a,c,d;return e.a==(x4(),Vx)?!0:(c=t.a.c,i=t.a.c+t.a.b,!(t.j&&(s=t.A,d=s.c.c.a-s.o.a/2,a=c-(s.n.a+s.o.a),a>d)||t.q&&(s=t.C,d=s.c.c.a-s.o.a/2,a=s.n.a-i,a>d)))}function Cwt(e){$X();var t,i,s,a,c,d,p;for(i=new Ip,a=new J(e.e.b);a.a1?e.e*=Re(e.a):e.f/=Re(e.a),t0n(e),amn(e),i4n(e),Ue(e.b,(I5(),SH),e.g)}function Twt(e,t,i){var s,a,c,d,p,w;for(s=0,w=i,t||(s=i*(e.c.length-1),w*=-1),c=new J(e);c.a=0?e.Ah(null):e.Ph().Th(e,-1-t,null,null)),e.Bh(u(a,54),i),s&&s.oj(),e.vh()&&e.wh()&&i>-1&&Ir(e,new lo(e,9,i,c,a)),a):c}function Vye(e,t){var i,s,a,c,d;for(c=e.b.Ce(t),s=(i=e.a.get(c),i??Ne(io,Zt,1,0,5,1)),d=0;d>5,a>=e.d)return e.e<0;if(i=e.a[a],t=1<<(t&31),e.e<0){if(s=Ght(e),a>16)),15).dd(c),p0&&(!(xb(e.a.c)&&t.n.d)&&!($2(e.a.c)&&t.n.b)&&(t.g.d+=g.Math.max(0,s/2-.5)),!(xb(e.a.c)&&t.n.a)&&!($2(e.a.c)&&t.n.c)&&(t.g.a-=s-1))}function Bwt(e){var t,i,s,a,c;if(a=new it,c=Myt(e,a),t=u(U(e,(Je(),dc)),10),t)for(s=new J(t.j);s.a>t,c=e.m>>t|i<<22-t,a=e.l>>t|e.m<<22-t):t<44?(d=s?qb:0,c=i>>t-22,a=e.m>>t-22|i<<44-t):(d=s?qb:0,c=s?Rc:0,a=i>>t-44),ul(a&Rc,c&Rc,d&qb)}function cQ(e){var t,i,s,a,c,d;for(this.c=new it,this.d=e,s=si,a=si,t=Ki,i=Ki,d=Fn(e,0);d.b!=d.d.c;)c=u(Ln(d),8),s=g.Math.min(s,c.a),a=g.Math.min(a,c.b),t=g.Math.max(t,c.a),i=g.Math.max(i,c.b);this.a=new vu(s,a,t-s,i-a)}function Wwt(e,t){var i,s,a,c,d,p;for(c=new J(e.b);c.a0&&pe(t,44)&&(e.a._j(),y=u(t,44),w=y.ld(),c=w==null?0:zr(w),d=ppe(e.a,c),i=e.a.d[d],i)){for(s=u(i.g,379),v=i.i,p=0;p=2)for(i=a.Kc(),t=Oe(i.Pb());i.Ob();)c=t,t=Oe(i.Pb()),s=g.Math.min(s,(gn(t),t-(gn(c),c)));return s}function t3n(e,t){var i,s,a;for(a=new it,s=Fn(t.a,0);s.b!=s.d.c;)i=u(Ln(s),65),i.b.g==e.g&&!Ft(i.b.c,MB)&&xe(U(i.b,(ba(),Ih)))!==xe(U(i.c,Ih))&&!H2(new Lt(null,new Wt(a,16)),new kYe(i))&&en(a.c,i);return Pi(a,new aUe),a}function n3n(e,t){var i,s,a;if(xe(t)===xe(Qn(e)))return!0;if(!pe(t,15)||(s=u(t,15),a=e.gc(),a!=s.gc()))return!1;if(pe(s,59)){for(i=0;i0&&(a=i),d=new J(e.f.e);d.a0?(t-=1,i-=1):s>=0&&a<0?(t+=1,i+=1):s>0&&a>=0?(t-=1,i+=1):(t+=1,i-=1),new Ji(rt(t),rt(i))}function g3n(e,t){return e.ct.c?1:e.bt.b?1:e.a!=t.a?zr(e.a)-zr(t.a):e.d==(o5(),c$)&&t.d==l$?-1:e.d==l$&&t.d==c$?1:0}function Xwt(e,t){var i,s,a,c,d;return c=t.a,c.c.i==t.b?d=c.d:d=c.c,c.c.i==t.b?s=c.c:s=c.d,a=jwn(e.a,d,s),a>0&&a0):a<0&&-a0):!1}function w3n(e,t,i,s){var a,c,d,p,w,y,v,x;for(a=(t-e.d)/e.c.c.length,c=0,e.a+=i,e.d=t,x=new J(e.c);x.a>24;return d}function y3n(e){if(e.ze()){var t=e.c;t.Ae()?e.o="["+t.n:t.ze()?e.o="["+t.xe():e.o="[L"+t.xe()+";",e.b=t.we()+"[]",e.k=t.ye()+"[]";return}var i=e.j,s=e.d;s=s.split("/"),e.o=hY(".",[i,hY("$",s)]),e.b=hY(".",[i,hY(".",s)]),e.k=s[s.length-1]}function v3n(e,t){var i,s,a,c,d;for(d=null,c=new J(e.e.a);c.a=0;t-=2)for(i=0;i<=t;i+=2)(e.b[i]>e.b[i+2]||e.b[i]===e.b[i+2]&&e.b[i+1]>e.b[i+3])&&(s=e.b[i+2],e.b[i+2]=e.b[i],e.b[i]=s,s=e.b[i+3],e.b[i+3]=e.b[i+1],e.b[i+1]=s);e.c=!0}}function E3n(e,t){var i,s,a,c,d,p,w,y,v;for(y=-1,v=0,d=e,p=0,w=d.length;p0&&++v;++y}return v}function Pf(e){var t,i;return i=new Kc(r0(e.Rm)),i.a+="@",lr(i,(t=zr(e)>>>0,t.toString(16))),e.Vh()?(i.a+=" (eProxyURI: ",Fa(i,e._h()),e.Kh()&&(i.a+=" eClass: ",Fa(i,e.Kh())),i.a+=")"):e.Kh()&&(i.a+=" (eClass: ",Fa(i,e.Kh()),i.a+=")"),i.a}function U5(e){var t,i,s,a;if(e.e)throw Z(new _s(($b(tne),PZ+tne.k+OZ)));for(e.d==(Fi(),Xd)&&XF(e,xs),i=new J(e.a.a);i.a>24}return i}function A3n(e,t,i){var s,a,c;if(a=u(gs(e.i,t),314),!a)if(a=new Mdt(e.d,t,i),TE(e.i,t,a),ime(t))Iin(e.a,t.c,t.b,a);else switch(c=cSn(t),s=u(gs(e.p,c),252),c.g){case 1:case 3:a.j=!0,hz(s,t.b,a);break;case 4:case 2:a.k=!0,hz(s,t.c,a)}return a}function C3n(e,t){var i,s,a,c,d,p,w,y,v;for(w=Fh(e.c-e.b&e.a.length-1),y=null,v=null,c=new e5(e);c.a!=c.b;)a=u(Hj(c),10),i=(p=u(U(a,(Je(),gd)),12),p?p.i:null),s=(d=u(U(a,rf),12),d?d.i:null),(y!=i||v!=s)&&(Pwt(w,t),y=i,v=s),en(w.c,a);Pwt(w,t)}function x3n(e,t,i,s){var a,c,d,p,w,y;if(p=new xM,w=gl(e.e.Dh(),t),a=u(e.g,124),is(),u(t,69).xk())for(d=0;d=0)return a;for(c=1,p=new J(t.j);p.a=0)return a;for(c=1,p=new J(t.j);p.a0&&t.Ne((Kt(a-1,e.c.length),u(e.c[a-1],10)),c)>0;)Eu(e,a,(Kt(a-1,e.c.length),u(e.c[a-1],10))),--a;Kt(a,e.c.length),e.c[a]=c}i.a=new Dn,i.b=new Dn}function $3n(e,t,i){var s,a,c,d,p,w,y,v;for(v=(s=u(t.e&&t.e(),9),new yu(s,u(Af(s,s.length),9),0)),w=av(i,"[\\[\\]\\s,]+"),c=w,d=0,p=c.length;d=0?(t||(t=new cC,s>0&&ps(t,(So(0,s,e.length),e.substr(0,s)))),t.a+="\\",PR(t,i&Bi)):t&&PR(t,i&Bi);return t?t.a:e}function T3n(e){var t,i,s;for(i=new J(e.a.a.b);i.a0&&(!(xb(e.a.c)&&t.n.d)&&!($2(e.a.c)&&t.n.b)&&(t.g.d-=g.Math.max(0,s/2-.5)),!(xb(e.a.c)&&t.n.a)&&!($2(e.a.c)&&t.n.c)&&(t.g.a+=g.Math.max(0,s-1)))}function imt(e,t,i){var s,a;if((e.c-e.b&e.a.length-1)==2)t==(ct(),dn)||t==yn?(hj(u(w5(e),15),(eu(),ab)),hj(u(w5(e),15),S1)):(hj(u(w5(e),15),(eu(),S1)),hj(u(w5(e),15),ab));else for(a=new e5(e);a.a!=a.b;)s=u(Hj(a),15),hj(s,i)}function P3n(e,t){var i,s,a,c,d,p,w;for(a=CR(new jde(e)),p=new _o(a,a.c.length),c=CR(new jde(t)),w=new _o(c,c.c.length),d=null;p.b>0&&w.b>0&&(i=(Cn(p.b>0),u(p.a.Xb(p.c=--p.b),27)),s=(Cn(w.b>0),u(w.a.Xb(w.c=--w.b),27)),i==s);)d=i;return d}function omt(e,t,i){var s,a,c,d;sct(e,t)>sct(e,i)?(s=sa(i,(ct(),yn)),e.d=s.dc()?0:Hq(u(s.Xb(0),12)),d=sa(t,bn),e.b=d.dc()?0:Hq(u(d.Xb(0),12))):(a=sa(i,(ct(),bn)),e.d=a.dc()?0:Hq(u(a.Xb(0),12)),c=sa(t,yn),e.b=c.dc()?0:Hq(u(c.Xb(0),12)))}function smt(e,t){var i,s,a,c;for(i=e.o.a,c=u(u(Or(e.r,t),21),87).Kc();c.Ob();)a=u(c.Pb(),117),a.e.a=i*Re(Oe(a.b.of(yH))),a.e.b=(s=a.b,s.pf((br(),xc))?s.ag()==(ct(),dn)?-s.Mf().b-Re(Oe(s.of(xc))):Re(Oe(s.of(xc))):s.ag()==(ct(),dn)?-s.Mf().b:0)}function O3n(e,t){var i,s,a,c;for(t.Ug("Self-Loop pre-processing",1),s=new J(e.a);s.ae.c));d++)a.a>=e.s&&(c<0&&(c=d),p=d);return w=(e.s+e.c)/2,c>=0&&(s=_4n(e,t,c,p),w=yrn((Kt(s,t.c.length),u(t.c[s],339))),AEn(t,s,i)),w}function Xn(e,t,i){var s,a,c,d,p,w,y;for(d=(c=new ide,c),P0e(d,(gn(t),t)),y=(!d.b&&(d.b=new Nc((Vt(),rs),va,d)),d.b),w=1;w0&&wCn(this,a)}function tve(e,t,i,s,a,c){var d,p,w;if(!a[t.a]){for(a[t.a]=!0,d=s,!d&&(d=new YL),ot(d.e,t),w=c[t.a].Kc();w.Ob();)p=u(w.Pb(),290),!(p.d==i||p.c==i)&&(p.c!=t&&tve(e,p.c,t,d,a,c),p.d!=t&&tve(e,p.d,t,d,a,c),ot(d.c,p),Gi(d.d,p.b));return d}return null}function D3n(e){var t,i,s,a,c,d,p;for(t=0,a=new J(e.e);a.a=2}function L3n(e,t,i,s,a){var c,d,p,w,y,v;for(c=e.c.d.j,d=u(Tu(i,0),8),v=1;v1||(t=Yr(Hf,oe(re(hs,1),Ve,95,0,[ep,Wf])),C7(jL(t,e))>1)||(s=Yr(Vf,oe(re(hs,1),Ve,95,0,[lb,sf])),C7(jL(s,e))>1))}function nve(e,t,i){var s,a,c;for(c=new J(e.t);c.a0&&(s.b.n-=s.c,s.b.n<=0&&s.b.u>0&&sr(t,s.b));for(a=new J(e.i);a.a0&&(s.a.u-=s.c,s.a.u<=0&&s.a.n>0&&sr(i,s.a))}function $F(e){var t,i,s,a,c;if(e.g==null&&(e.d=e.bj(e.f),Wn(e,e.d),e.c))return c=e.f,c;if(t=u(e.g[e.i-1],51),a=t.Pb(),e.e=t,i=e.bj(a),i.Ob())e.d=i,Wn(e,i);else for(e.d=null;!t.Ob()&&(pi(e.g,--e.i,null),e.i!=0);)s=u(e.g[e.i-1],51),t=s;return a}function F3n(e,t){var i,s,a,c,d,p;if(s=t,a=s.Lk(),Kb(e.e,a)){if(a.Si()&&KL(e,a,s.md()))return!1}else for(p=gl(e.e.Dh(),a),i=u(e.g,124),c=0;c1||i>1)return 2;return t+i==1?2:0}function Ec(e,t){var i,s,a,c,d,p;return c=e.a*xZ+e.b*1502,p=e.b*xZ+11,i=g.Math.floor(p*MP),c+=i,p-=i*A2e,c%=A2e,e.a=c,e.b=p,t<=24?g.Math.floor(e.a*M3e[t]):(a=e.a*(1<=2147483648&&(s-=4294967296),s)}function fmt(e,t,i){var s,a,c,d,p,w,y;for(c=new it,y=new ei,d=new ei,a6n(e,y,d,t),FCn(e,y,d,t,i),w=new J(e);w.as.b.g&&en(c.c,s);return c}function G3n(e,t,i){var s,a,c,d,p,w;for(p=e.c,d=(i.q?i.q:(Gt(),Gt(),nb)).vc().Kc();d.Ob();)c=u(d.Pb(),44),s=!bR(Pr(new Lt(null,new Wt(p,16)),new oR(new _nt(t,c)))).Bd((i0(),_3)),s&&(w=c.md(),pe(w,4)&&(a=ame(w),a!=null&&(w=a)),t.qf(u(c.ld(),149),w))}function K3n(e,t,i){var s,a;if(X8(e.b),od(e.b,(W7(),QW),(bC(),zO)),od(e.b,ZW,t.g),od(e.b,eU,t.a),e.a=_P(e.b,t),i.Ug("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(a=new J(e.a);a.a=0?e.Lh(s,!0,!0):cm(e,c,!0),160)),u(a,220).Xl(t,i)}else throw Z(new un(c1+t.xe()+Sx))}function IF(e,t){var i,s,a,c,d;if(t){for(c=pe(e.Cb,90)||pe(e.Cb,102),d=!c&&pe(e.Cb,331),s=new vn((!t.a&&(t.a=new VC(t,bs,t)),t.a));s.e!=s.i.gc();)if(i=u(Rn(s),89),a=UF(i),c?pe(a,90):d?pe(a,156):a)return a;return c?(Vt(),ff):(Vt(),Qd)}else return null}function z3n(e,t){var i,s,a,c;for(t.Ug("Resize child graph to fit parent.",1),s=new J(e.b);s.a=2*t&&ot(i,new Mq(d[s-1]+t,d[s]-t));return i}function J3n(e,t,i){var s,a,c,d,p,w,y,v;if(i)for(c=i.a.length,s=new a0(c),p=(s.b-s.a)*s.c<0?(Dg(),T1):new Fg(s);p.Ob();)d=u(p.Pb(),17),a=FR(i,d.a),a&&(w=Ahn(e,(y=(Ng(),v=new rhe,v),t&&ove(y,t),y),a),ZR(w,Pb(a,Rh)),_F(a,w),$ye(a,w),DJ(e,a,w))}function TF(e){var t,i,s,a,c,d;if(!e.j){if(d=new LGe,t=H$,c=t.a.zc(e,t),c==null){for(s=new vn(Os(e));s.e!=s.i.gc();)i=u(Rn(s),29),a=TF(i),vi(d,a),Wn(d,i);t.a.Bc(e)!=null}zy(d),e.j=new C2((u(we(Fe((Hg(),sn).o),11),19),d.i),d.g),vc(e).b&=-33}return e.j}function Y3n(e){var t,i,s,a;if(e==null)return null;if(s=Va(e,!0),a=oO.length,Ft(s.substr(s.length-a,a),oO)){if(i=s.length,i==4){if(t=(fn(0,s.length),s.charCodeAt(0)),t==43)return f$e;if(t==45)return N8t}else if(i==3)return f$e}return new Kde(s)}function Q3n(e){var t,i,s;return i=e.l,i&i-1||(s=e.m,s&s-1)||(t=e.h,t&t-1)||t==0&&s==0&&i==0?-1:t==0&&s==0&&i!=0?S0e(i):t==0&&s!=0&&i==0?S0e(s)+22:t!=0&&s==0&&i==0?S0e(t)+44:-1}function n_(e,t){var i,s,a,c,d;for(a=t.a&e.f,c=null,s=e.b[a];;s=s.b){if(s==t){c?c.b=t.b:e.b[a]=t.b;break}c=s}for(d=t.f&e.f,c=null,i=e.c[d];;i=i.d){if(i==t){c?c.d=t.d:e.c[d]=t.d;break}c=i}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function Z3n(e,t){var i;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(i=u(zu(u(BE(e.b,t.a),260)),260),i.a=0,++e.c):(i=u(zu(u(_n(e.b,t.a),260)),260),--i.a,t.e?t.e.c=t.c:i.b=u(zu(t.c),511),t.c?t.c.e=t.e:i.c=u(zu(t.e),511)),--e.d}function ekn(e){var t,i,s,a,c,d,p,w,y,v;for(i=e.o,t=e.p,d=xr,a=Do,p=xr,c=Do,y=0;y0),c.a.Xb(c.c=--c.b),Ty(c,a),Cn(c.b3&&Gh(e,0,t-3))}function nkn(e){var t,i,s,a;return xe(U(e,(dt(),Iv)))===xe((Bb(),ig))?!e.e&&xe(U(e,$O))!==xe((o4(),EO)):(s=u(U(e,gre),299),a=bt(ht(U(e,wre)))||xe(U(e,Qx))===xe((f5(),SO)),t=u(U(e,V4e),17).a,i=e.a.c.length,!a&&s!=(o4(),EO)&&(t==0||t>i))}function rkn(e){var t,i;for(i=0;i0);i++);if(i>0&&i0);t++);return t>0&&i>16!=6&&t){if(k4(e,t))throw Z(new un(Ex+xwt(e)));s=null,e.Cb&&(s=(i=e.Db>>16,i>=0?xme(e,s):e.Cb.Th(e,-1-i,null,s))),t&&(s=YE(t,e,6,s)),s=dpe(e,t,s),s&&s.oj()}else e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,6,t,t))}function PF(e,t){var i,s;if(t!=e.Cb||e.Db>>16!=3&&t){if(k4(e,t))throw Z(new un(Ex+pvt(e)));s=null,e.Cb&&(s=(i=e.Db>>16,i>=0?Pme(e,s):e.Cb.Th(e,-1-i,null,s))),t&&(s=YE(t,e,12,s)),s=hpe(e,t,s),s&&s.oj()}else e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,3,t,t))}function ove(e,t){var i,s;if(t!=e.Cb||e.Db>>16!=9&&t){if(k4(e,t))throw Z(new un(Ex+hyt(e)));s=null,e.Cb&&(s=(i=e.Db>>16,i>=0?Ime(e,s):e.Cb.Th(e,-1-i,null,s))),t&&(s=YE(t,e,9,s)),s=bpe(e,t,s),s&&s.oj()}else e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,9,t,t))}function P4(e){var t,i,s,a,c;if(s=Ju(e),c=e.j,c==null&&s)return e.Jk()?null:s.ik();if(pe(s,156)){if(i=s.jk(),i&&(a=i.wi(),a!=e.i)){if(t=u(s,156),t.nk())try{e.g=a.ti(t,c)}catch(d){if(d=ci(d),pe(d,82))e.g=null;else throw Z(d)}e.i=a}return e.g}return null}function pmt(e){var t;return t=new it,ot(t,new gE(new Xe(e.c,e.d),new Xe(e.c+e.b,e.d))),ot(t,new gE(new Xe(e.c,e.d),new Xe(e.c,e.d+e.a))),ot(t,new gE(new Xe(e.c+e.b,e.d+e.a),new Xe(e.c+e.b,e.d))),ot(t,new gE(new Xe(e.c+e.b,e.d+e.a),new Xe(e.c,e.d+e.a))),t}function ikn(e){var t,i,s;if(e==null)return Ml;try{return zs(e)}catch(a){if(a=ci(a),pe(a,103))return t=a,s=r0(Lc(e))+"@"+(i=(Cb(),sme(e)>>>0),i.toString(16)),mmn(r1n(),(mR(),"Exception during lenientFormat for "+s),t),"<"+s+" threw "+r0(t.Rm)+">";throw Z(a)}}function okn(e,t,i){var s,a,c;for(c=t.a.ec().Kc();c.Ob();)a=u(c.Pb(),74),s=u(_n(e.b,a),272),!s&&(oi(zh(a))==oi(Zg(a))?Kkn(e,a,i):zh(a)==oi(Zg(a))?_n(e.c,a)==null&&_n(e.b,Zg(a))!=null&&zvt(e,a,i,!1):_n(e.d,a)==null&&_n(e.b,zh(a))!=null&&zvt(e,a,i,!0))}function skn(e,t){var i,s,a,c,d,p,w;for(a=e.Kc();a.Ob();)for(s=u(a.Pb(),10),p=new Ma,ra(p,s),Qi(p,(ct(),yn)),Ue(p,(Je(),fW),(on(),!0)),d=t.Kc();d.Ob();)c=u(d.Pb(),10),w=new Ma,ra(w,c),Qi(w,bn),Ue(w,fW,!0),i=new Vw,Ue(i,fW,!0),Wo(i,p),po(i,w)}function akn(e,t,i,s){var a,c,d,p;a=Zpt(e,t,i),c=Zpt(e,i,t),d=u(_n(e.c,t),118),p=u(_n(e.c,i),118),a1)for(t=Tw((i=new n0,++e.b,i),e.d),p=Fn(c,0);p.b!=p.d.c;)d=u(Ln(p),125),Of(Ef(Sf(kf(_f(new Gu,1),0),t),d))}function ukn(e,t,i){var s,a,c,d,p;for(i.Ug("Breaking Point Removing",1),e.a=u(U(t,(dt(),Zb)),223),c=new J(t.b);c.a>16!=11&&t){if(k4(e,t))throw Z(new un(Ex+Rve(e)));s=null,e.Cb&&(s=(i=e.Db>>16,i>=0?Ome(e,s):e.Cb.Th(e,-1-i,null,s))),t&&(s=YE(t,e,10,s)),s=Epe(e,t,s),s&&s.oj()}else e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,11,t,t))}function fkn(e){var t,i,s,a;for(s=new y0(new e0(e.b).a);s.b;)i=em(s),a=u(i.ld(),12),t=u(i.md(),10),Ue(t,(Je(),Nr),a),Ue(a,dc,t),Ue(a,AO,(on(),!0)),Qi(a,u(U(t,ya),64)),U(t,ya),Ue(a.i,(dt(),Si),(go(),zA)),u(U(Co(a.i),Xa),21).Fc((cs(),CA))}function dkn(e,t,i){var s,a,c,d,p,w;if(c=0,d=0,e.c)for(w=new J(e.d.i.j);w.ac.a?-1:a.aw){for(v=e.d,e.d=Ne(Dxe,GEe,66,2*w+4,0,1),c=0;c=9223372036854776e3?(GR(),d3e):(a=!1,e<0&&(a=!0,e=-e),s=0,e>=I0&&(s=Yi(e/I0),e-=s*I0),i=0,e>=c3&&(i=Yi(e/c3),e-=i*c3),t=Yi(e),c=ul(t,i,s),a&&LJ(c),c)}function Ekn(e){var t,i,s,a,c;if(c=new it,dl(e.b,new HXe(c)),e.b.c.length=0,c.c.length!=0){for(t=(Kt(0,c.c.length),u(c.c[0],82)),i=1,s=c.c.length;i=-t&&s==t?new Ji(rt(i-1),rt(s)):new Ji(rt(i),rt(s-1))}function mmt(){return Go(),oe(re(M$n,1),Ve,81,0,[Zke,Jke,k_,$ne,mRe,MH,GH,Rv,gRe,aRe,bRe,kv,wRe,iRe,yRe,Vke,FH,Ine,OH,WH,_Re,HH,Gke,pRe,SRe,UH,vRe,NH,tRe,dRe,fRe,KH,qke,PH,LH,zke,gA,cRe,oRe,hRe,Hx,Yke,Xke,uRe,sRe,jH,VH,Kke,BH,lRe,DH,nRe,eRe,yO,TH,rRe,Qke])}function Akn(e,t,i){e.d=0,e.b=0,t.k==(hn(),qa)&&i.k==qa&&u(U(t,(Je(),Nr)),10)==u(U(i,Nr),10)&&(rJ(t).j==(ct(),dn)?omt(e,t,i):omt(e,i,t)),t.k==qa&&i.k==co?rJ(t).j==(ct(),dn)?e.d=1:e.b=1:i.k==qa&&t.k==co&&(rJ(i).j==(ct(),dn)?e.b=1:e.d=1),uyn(e,t,i)}function Ckn(e){var t,i,s,a,c,d,p,w,y,v,x;return x=rye(e),t=e.a,w=t!=null,w&&xR(x,"category",e.a),a=s8(new Z1(e.d)),d=!a,d&&(y=new Y1,cd(x,"knownOptions",y),i=new SQe(y),xo(new Z1(e.d),i)),c=s8(e.g),p=!c,p&&(v=new Y1,cd(x,"supportedFeatures",v),s=new EQe(v),xo(e.g,s)),x}function xkn(e){var t,i,s,a,c,d,p,w,y;for(s=!1,t=336,i=0,c=new aot(e.length),p=e,w=0,y=p.length;w>16!=7&&t){if(k4(e,t))throw Z(new un(Ex+R0t(e)));s=null,e.Cb&&(s=(i=e.Db>>16,i>=0?$me(e,s):e.Cb.Th(e,-1-i,null,s))),t&&(s=u(t,54).Rh(e,1,d9,s)),s=gge(e,t,s),s&&s.oj()}else e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,7,t,t))}function ymt(e,t){var i,s;if(t!=e.Cb||e.Db>>16!=3&&t){if(k4(e,t))throw Z(new un(Ex+Ept(e)));s=null,e.Cb&&(s=(i=e.Db>>16,i>=0?Tme(e,s):e.Cb.Th(e,-1-i,null,s))),t&&(s=u(t,54).Rh(e,0,b9,s)),s=wge(e,t,s),s&&s.oj()}else e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,3,t,t))}function bQ(e,t){O4();var i,s,a,c,d,p,w,y,v;return t.d>e.d&&(p=e,e=t,t=p),t.d<63?gRn(e,t):(d=(e.d&-2)<<4,y=D1e(e,d),v=D1e(t,d),s=NQ(e,FE(y,d)),a=NQ(t,FE(v,d)),w=bQ(y,v),i=bQ(s,a),c=bQ(NQ(y,s),NQ(a,v)),c=HQ(HQ(c,w),i),c=FE(c,d),w=FE(w,d<<1),HQ(HQ(w,c),i))}function Gp(){Gp=L,Tre=new E2(ESt,0),IAe=new E2("LONGEST_PATH",1),TAe=new E2("LONGEST_PATH_SOURCE",2),Ire=new E2("COFFMAN_GRAHAM",3),$Ae=new E2(ree,4),PAe=new E2("STRETCH_WIDTH",5),$W=new E2("MIN_WIDTH",6),MA=new E2("BF_MODEL_ORDER",7),DA=new E2("DF_MODEL_ORDER",8)}function Ikn(e,t,i){var s,a,c,d,p;for(d=S5(e,i),p=Ne(ib,zp,10,t.length,0,1),s=0,c=d.Kc();c.Ob();)a=u(c.Pb(),12),bt(ht(U(a,(Je(),AO))))&&(p[s++]=u(U(a,dc),10));if(s=0;c+=i?1:-1)d=d|t.c.lg(w,c,i,s&&!bt(ht(U(t.j,(Je(),p1))))&&!bt(ht(U(t.j,(Je(),P_))))),d=d|t.q.ug(w,c,i),d=d|syt(e,w[c],i,s);return Vi(e.c,t),d}function MF(e,t,i){var s,a,c,d,p,w,y,v,x,N;for(v=Fct(e.j),x=0,N=v.length;x1&&(e.a=!0),ccn(u(i.b,68),$r(Ro(u(t.b,68).c),sh(no(Ro(u(i.b,68).a),u(t.b,68).a),a))),Klt(e,t),vmt(e,i)}function _mt(e){var t,i,s,a,c,d,p;for(c=new J(e.a.a);c.a0&&c>0?d.p=t++:s>0?d.p=i++:c>0?d.p=a++:d.p=i++}Gt(),Pi(e.j,new eBe)}function Mkn(e){var t,i;i=null,t=u(gt(e.g,0),18);do{if(i=t.d.i,Jr(i,(Je(),rf)))return u(U(i,rf),12).i;if(i.k!=(hn(),Ai)&&Bn(new Sn(kn($i(i).a.Kc(),new M))))t=u($n(new Sn(kn($i(i).a.Kc(),new M))),18);else if(i.k!=Ai)return null}while(i&&i.k!=(hn(),Ai));return i}function Dkn(e,t){var i,s,a,c,d,p,w,y,v;for(p=t.j,d=t.g,w=u(gt(p,p.c.length-1),113),v=(Kt(0,p.c.length),u(p.c[0],113)),y=MY(e,d,w,v),c=1;cy&&(w=i,v=a,y=s);t.a=v,t.c=w}function Lkn(e,t,i){var s,a,c,d,p,w,y;for(y=new Ep(new sYe(e)),d=oe(re(Q4t,1),z_t,12,0,[t,i]),p=0,w=d.length;pw-e.b&&pw-e.a&&p0?c.a?(p=c.b.Mf().a,i>p&&(a=(i-p)/2,c.d.b=a,c.d.c=a)):c.d.c=e.s+i:KC(e.u)&&(s=iye(c.b),s.c<0&&(c.d.b=-s.c),s.c+s.b>c.b.Mf().a&&(c.d.c=s.c+s.b-c.b.Mf().a))}function eRn(e,t){var i,s,a,c,d;d=new it,i=t;do c=u(_n(e.b,i),131),c.B=i.c,c.D=i.d,en(d.c,c),i=u(_n(e.k,i),18);while(i);return s=(Kt(0,d.c.length),u(d.c[0],131)),s.j=!0,s.A=u(s.d.a.ec().Kc().Pb(),18).c.i,a=u(gt(d,d.c.length-1),131),a.q=!0,a.C=u(a.d.a.ec().Kc().Pb(),18).d.i,d}function tRn(e){var t,i;if(t=u(e.a,17).a,i=u(e.b,17).a,t>=0){if(t==i)return new Ji(rt(-t-1),rt(-t-1));if(t==-i)return new Ji(rt(-t),rt(i+1))}return g.Math.abs(t)>g.Math.abs(i)?t<0?new Ji(rt(-t),rt(i)):new Ji(rt(-t),rt(i+1)):new Ji(rt(t+1),rt(i))}function nRn(e){var t,i;i=u(U(e,(dt(),yl)),171),t=u(U(e,(Je(),W0)),311),i==(Iu(),g1)?(Ue(e,yl,xO),Ue(e,W0,(Lb(),I_))):i==xv?(Ue(e,yl,xO),Ue(e,W0,(Lb(),R3))):t==(Lb(),I_)?(Ue(e,yl,g1),Ue(e,W0,kO)):t==R3&&(Ue(e,yl,xv),Ue(e,W0,kO))}function DF(){DF=L,LO=new BWe,fxt=cr(new Li,(Mo(),La),(Go(),OH)),bxt=zl(cr(new Li,La,HH),Ls,BH),pxt=bh(bh(gC(zl(cr(new Li,jf,GH),Ls,VH),za),UH),KH),dxt=zl(cr(cr(cr(new Li,rb,MH),za,LH),za,gA),Ls,DH),hxt=zl(cr(cr(new Li,za,gA),za,PH),Ls,TH)}function K5(){K5=L,mxt=cr(zl(new Li,(Mo(),Ls),(Go(),nRe)),La,OH),Sxt=bh(bh(gC(zl(cr(new Li,jf,GH),Ls,VH),za),UH),KH),yxt=zl(cr(cr(cr(new Li,rb,MH),za,LH),za,gA),Ls,DH),_xt=cr(cr(new Li,La,HH),Ls,BH),vxt=zl(cr(cr(new Li,za,gA),za,PH),Ls,TH)}function rRn(e,t,i,s,a){var c,d;(!es(t)&&t.c.i.c==t.d.i.c||!kht(oa(oe(re(ao,1),tt,8,0,[a.i.n,a.n,a.a])),i))&&!es(t)&&(t.c==a?SR(t.a,0,new qo(i)):sr(t.a,new qo(i)),s&&!rd(e.a,i)&&(d=u(U(t,(dt(),Cs)),75),d||(d=new Ul,Ue(t,Cs,d)),c=new qo(i),gi(d,c,d.c.b,d.c),Vi(e.a,c)))}function kmt(e,t){var i,s,a,c;for(c=Yn(Vo(Yh,Uh(Yn(Vo(t==null?0:zr(t),Qh)),15))),i=c&e.b.length-1,a=null,s=e.b[i];s;a=s,s=s.a)if(s.d==c&&ch(s.i,t))return a?a.a=s.a:e.b[i]=s.a,ZZe(u(zu(s.c),604),u(zu(s.f),604)),t8(u(zu(s.b),227),u(zu(s.e),227)),--e.f,++e.e,!0;return!1}function iRn(e){var t,i;for(i=new Sn(kn(so(e).a.Kc(),new M));Bn(i);)if(t=u($n(i),18),t.c.i.k!=(hn(),Oa))throw Z(new vp(nee+J7(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function oRn(e,t,i){var s,a,c,d,p,w,y;if(a=xpt(e.Db&254),a==0)e.Eb=i;else{if(a==1)p=Ne(io,Zt,1,2,5,1),c=NY(e,t),c==0?(p[0]=i,p[1]=e.Eb):(p[0]=e.Eb,p[1]=i);else for(p=Ne(io,Zt,1,a+1,5,1),d=g0(e.Eb),s=2,w=0,y=0;s<=128;s<<=1)s==t?p[y++]=i:e.Db&s&&(p[y++]=d[w++]);e.Eb=p}e.Db|=t}function Rmt(e,t,i){var s,a,c,d;for(this.b=new it,a=0,s=0,d=new J(e);d.a0&&(c=u(gt(this.b,0),176),a+=c.o,s+=c.p),a*=2,s*=2,t>1?a=Yi(g.Math.ceil(a*t)):s=Yi(g.Math.ceil(s/t)),this.a=new Jwe(a,s)}function Amt(e,t,i,s,a,c){var d,p,w,y,v,x,N,j,W,V,q,ie;for(v=s,t.j&&t.o?(j=u(_n(e.f,t.A),60),V=j.d.c+j.d.b,--v):V=t.a.c+t.a.b,x=a,i.q&&i.o?(j=u(_n(e.f,i.C),60),y=j.d.c,++x):y=i.a.c,q=y-V,w=g.Math.max(2,x-v),p=q/w,W=V+p,N=v;N=0;d+=a?1:-1){for(p=t[d],w=s==(ct(),yn)?a?sa(p,s):$u(sa(p,s)):a?$u(sa(p,s)):sa(p,s),c&&(e.c[p.p]=w.gc()),x=w.Kc();x.Ob();)v=u(x.Pb(),12),e.d[v.p]=y++;Gi(i,w)}}function xmt(e,t,i){var s,a,c,d,p,w,y,v;for(c=Re(Oe(e.b.Kc().Pb())),y=Re(Oe(n1n(t.b))),s=sh(Ro(e.a),y-i),a=sh(Ro(t.a),i-c),v=$r(s,a),sh(v,1/(y-c)),this.a=v,this.b=new it,p=!0,d=e.b.Kc(),d.Pb();d.Ob();)w=Re(Oe(d.Pb())),p&&w-i>Dee&&(this.b.Fc(i),p=!1),this.b.Fc(w);p&&this.b.Fc(i)}function sRn(e){var t,i,s,a;if(k4n(e,e.n),e.d.c.length>0){for(aC(e.c);zye(e,u(X(new J(e.e.a)),125))>5,t&=31,s>=e.d)return e.e<0?(ph(),Nkt):(ph(),Dx);if(c=e.d-s,a=Ne(Gn,ur,28,c+1,15,1),Y_n(a,c,e.a,s,t),e.e<0){for(i=0;i0&&e.a[i]<<32-t){for(i=0;i=0?!1:(i=a_((Jl(),To),a,t),i?(s=i.Ik(),(s>1||s==-1)&&Ww(Es(To,i))!=3):!0)):!1}function uRn(e,t,i,s){var a,c,d,p,w;return p=Ds(u(we((!t.b&&(t.b=new Xt(Tn,t,4,7)),t.b),0),84)),w=Ds(u(we((!t.c&&(t.c=new Xt(Tn,t,5,8)),t.c),0),84)),oi(p)==oi(w)||Vy(w,p)?null:(d=t7(t),d==i?s:(c=u(_n(e.a,d),10),c&&(a=c.e,a)?a:null))}function fRn(e,t,i){var s,a,c,d,p;for(i.Ug("Longest path to source layering",1),e.a=t,p=e.a.a,e.b=Ne(Gn,ur,28,p.c.length,15,1),s=0,d=new J(p);d.a0&&(i[0]+=e.d,d-=i[0]),i[2]>0&&(i[2]+=e.d,d-=i[2]),c=g.Math.max(0,d),i[1]=g.Math.max(i[1],d),j1e(e,sl,a.c+s.b+i[0]-(i[1]-d)/2,i),t==sl&&(e.c.b=c,e.c.c=a.c+s.b+(c-d)/2)}function jmt(){this.c=Ne(bo,ms,28,(ct(),oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn])).length,15,1),this.b=Ne(bo,ms,28,oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn]).length,15,1),this.a=Ne(bo,ms,28,oe(re(ns,1),Ta,64,0,[la,dn,yn,Mn,bn]).length,15,1),Hhe(this.c,si),Hhe(this.b,Ki),Hhe(this.a,Ki)}function Ua(e,t,i){var s,a,c,d;if(t<=i?(a=t,c=i):(a=i,c=t),s=0,e.b==null)e.b=Ne(Gn,ur,28,2,15,1),e.b[0]=a,e.b[1]=c,e.c=!0;else{if(s=e.b.length,e.b[s-1]+1==a){e.b[s-1]=c;return}d=Ne(Gn,ur,28,s+2,15,1),Da(e.b,0,d,0,s),e.b=d,e.b[s-1]>=a&&(e.c=!1,e.a=!1),e.b[s++]=a,e.b[s]=c,e.c||t_(e)}}function wRn(e,t,i){var s,a,c,d,p,w,y;for(y=t.d,e.a=new nl(y.c.length),e.c=new Dn,p=new J(y);p.a=0?e.Lh(y,!1,!0):cm(e,i,!1),61));e:for(c=x.Kc();c.Ob();){for(a=u(c.Pb(),58),v=0;v1;)ov(a,a.i-1);return s}function Bmt(e,t){var i,s,a,c,d,p,w;for(i=new N2,c=new J(e.b);c.ae.d[d.p]&&(i+=I1e(e.b,c),Vg(e.a,rt(c)));for(;!lC(e.a);)c0e(e.b,u(IE(e.a),17).a)}return i}function ERn(e){var t,i,s,a,c,d,p,w,y;for(e.a=new Spe,y=0,a=0,s=new J(e.i.b);s.ap.d&&(v=p.d+p.a+y));i.c.d=v,t.a.zc(i,t),w=g.Math.max(w,i.c.d+i.c.a)}return w}function cs(){cs=L,iW=new ky("COMMENTS",0),Lu=new ky("EXTERNAL_PORTS",1),Gx=new ky("HYPEREDGES",2),oW=new ky("HYPERNODES",3),CA=new ky("NON_FREE_PORTS",4),$_=new ky("NORTH_SOUTH_PORTS",5),Kx=new ky(fSt,6),RA=new ky("CENTER_LABELS",7),AA=new ky("END_LABELS",8),sW=new ky("PARTITIONS",9)}function RRn(e,t,i,s,a){return s<0?(s=e_(e,a,oe(re(wt,1),tt,2,6,[rZ,iZ,oZ,sZ,a3,aZ,lZ,cZ,uZ,fZ,dZ,hZ]),t),s<0&&(s=e_(e,a,oe(re(wt,1),tt,2,6,["Jan","Feb","Mar","Apr",a3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),s<0?!1:(i.k=s,!0)):s>0?(i.k=s-1,!0):!1}function ARn(e,t,i,s,a){return s<0?(s=e_(e,a,oe(re(wt,1),tt,2,6,[rZ,iZ,oZ,sZ,a3,aZ,lZ,cZ,uZ,fZ,dZ,hZ]),t),s<0&&(s=e_(e,a,oe(re(wt,1),tt,2,6,["Jan","Feb","Mar","Apr",a3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),s<0?!1:(i.k=s,!0)):s>0?(i.k=s-1,!0):!1}function CRn(e,t,i,s,a,c){var d,p,w,y;if(p=32,s<0){if(t[0]>=e.length||(p=No(e,t[0]),p!=43&&p!=45)||(++t[0],s=AF(e,t),s<0))return!1;p==45&&(s=-s)}return p==32&&t[0]-i==2&&a.b==2&&(w=new tD,y=w.q.getFullYear()-o1+o1-80,d=y%100,c.a=s==d,s+=(y/100|0)*100+(s=0?Qg(e):JC(Qg(Op(e)))),Lx[t]=PD(xf(e,t),0)?Qg(xf(e,t)):JC(Qg(Op(xf(e,t)))),e=Vo(e,5);for(;t=y&&(w=s);w&&(v=g.Math.max(v,w.a.o.a)),v>N&&(x=y,N=v)}return x}function ORn(e){var t,i,s,a,c,d,p;for(c=new Ep(u(Qn(new Cl),50)),p=Ki,i=new J(e.d);i.aLSt?Pi(w,e.b):s<=LSt&&s>jSt?Pi(w,e.d):s<=jSt&&s>FSt?Pi(w,e.c):s<=FSt&&Pi(w,e.a),c=Gmt(e,w,c);return a}function Kmt(e,t,i,s){var a,c,d,p,w,y;for(a=(s.c+s.a)/2,zc(t.j),sr(t.j,a),zc(i.e),sr(i.e,a),y=new het,p=new J(e.f);p.a1,p&&(s=new Xe(a,i.b),sr(t.a,s)),u5(t.a,oe(re(ao,1),tt,8,0,[N,x]))}function gve(e,t,i){var s,a;for(t=48;i--)G$[i]=i-48<<24>>24;for(s=70;s>=65;s--)G$[s]=s-65+10<<24>>24;for(a=102;a>=97;a--)G$[a]=a-97+10<<24>>24;for(c=0;c<10;c++)OU[c]=48+c&Bi;for(e=10;e<=15;e++)OU[e]=65+e-10&Bi}function LRn(e,t){t.Ug("Process graph bounds",1),Ue(e,(Gr(),Zre),y8(AJ(Dy(new Lt(null,new Wt(e.b,16)),new wUe)))),Ue(e,eie,y8(AJ(Dy(new Lt(null,new Wt(e.b,16)),new mUe)))),Ue(e,_6e,y8(RJ(Dy(new Lt(null,new Wt(e.b,16)),new yUe)))),Ue(e,S6e,y8(RJ(Dy(new Lt(null,new Wt(e.b,16)),new vUe)))),t.Vg()}function jRn(e){var t,i,s,a,c;a=u(U(e,(dt(),z0)),21),c=u(U(e,RW),21),i=new Xe(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new qo(i),a.Hc((jc(),Uv))&&(s=u(U(e,$A),8),c.Hc((kc(),qA))&&(s.a<=0&&(s.a=20),s.b<=0&&(s.b=20)),t.a=g.Math.max(i.a,s.a),t.b=g.Math.max(i.b,s.b)),bt(ht(U(e,Ere)))||b6n(e,i,t)}function FRn(e,t){var i,s,a,c;for(c=sa(t,(ct(),Mn)).Kc();c.Ob();)s=u(c.Pb(),12),i=u(U(s,(Je(),dc)),10),i&&Of(Ef(Sf(kf(_f(new Gu,0),.1),e.i[t.p].d),e.i[i.p].a));for(a=sa(t,dn).Kc();a.Ob();)s=u(a.Pb(),12),i=u(U(s,(Je(),dc)),10),i&&Of(Ef(Sf(kf(_f(new Gu,0),.1),e.i[i.p].d),e.i[t.p].a))}function gQ(e){var t,i,s,a,c,d;if(!e.c){if(d=new OGe,t=H$,c=t.a.zc(e,t),c==null){for(s=new vn(Na(e));s.e!=s.i.gc();)i=u(Rn(s),89),a=UF(i),pe(a,90)&&vi(d,gQ(u(a,29))),Wn(d,i);t.a.Bc(e)!=null,t.a.gc()==0}Nwn(d),zy(d),e.c=new C2((u(we(Fe((Hg(),sn).o),15),19),d.i),d.g),vc(e).b&=-33}return e.c}function mve(e){var t;if(e.c!=10)throw Z(new rr(or((er(),qB))));switch(t=e.a,t){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Z(new rr(or((er(),Mu))))}return t}function Jmt(e){var t,i,s,a,c;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==TP&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+Jmt(l4(e));for(i=e,s="";!(i.l==0&&i.m==0&&i.h==0);){if(a=KX(nB),i=Qve(i,a,!0),t=""+yet(u1),!(i.l==0&&i.m==0&&i.h==0))for(c=9-t.length;c>0;c--)t="0"+t;s=t+s}return s}function BRn(e){var t,i,s,a,c,d,p;for(t=!1,i=0,a=new J(e.d.b);a.a=e.a||!eye(t,i))return-1;if(BR(u(s.Kb(t),20)))return 1;for(a=0,d=u(s.Kb(t),20).Kc();d.Ob();)if(c=u(d.Pb(),18),w=c.c.i==t?c.d.i:c.c.i,p=yve(e,w,i,s),p==-1||(a=g.Math.max(a,p),a>e.c-1))return-1;return a+1}function Ymt(e,t){var i,s,a,c,d,p;if(xe(t)===xe(e))return!0;if(!pe(t,15)||(s=u(t,15),p=e.gc(),s.gc()!=p))return!1;if(d=s.Kc(),e.Yi()){for(i=0;i0){if(e._j(),t!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw Z(new rh("Invalid hexadecimal"))}}function FF(){FF=L,rke=new S2("SPIRAL",0),Z3e=new S2("LINE_BY_LINE",1),eke=new S2("MANHATTAN",2),Q3e=new S2("JITTER",3),ine=new S2("QUADRANTS_LINE_BY_LINE",4),nke=new S2("QUADRANTS_MANHATTAN",5),tke=new S2("QUADRANTS_JITTER",6),Y3e=new S2("COMBINE_LINE_BY_LINE_MANHATTAN",7),J3e=new S2("COMBINE_JITTER_MANHATTAN",8)}function Zmt(e,t,i,s){var a,c,d,p,w,y;for(w=HY(e,i),y=HY(t,i),a=!1;w&&y&&(s||Lyn(w,y,i));)d=HY(w,i),p=HY(y,i),g7(t),g7(e),c=w.c,WQ(w,!1),WQ(y,!1),i?(Qy(t,y.p,c),t.p=y.p,Qy(e,w.p+1,c),e.p=w.p):(Qy(e,w.p,c),e.p=w.p,Qy(t,y.p+1,c),t.p=y.p),vo(w,null),vo(y,null),w=d,y=p,a=!0;return a}function eyt(e){switch(e.g){case 0:return new fqe;case 1:return new cqe;case 3:return new xtt;case 4:return new sWe;case 5:return new not;case 6:return new uqe;case 2:return new lqe;case 7:return new nqe;case 8:return new iqe;default:throw Z(new un("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function KRn(e,t,i,s){var a,c,d,p,w;for(a=!1,c=!1,p=new J(s.j);p.a=t.length)throw Z(new vs("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new F8(s),_J(this.e,this.c,(ct(),bn)),this.i=new F8(s),_J(this.i,this.c,yn),this.f=new yst(this.c),this.a=!c&&a.i&&!a.s&&this.c[0].k==(hn(),Oi),this.a&&sSn(this,e,t.length)}function nyt(e,t){var i,s,a,c,d,p;c=!e.B.Hc((kc(),u9)),d=e.B.Hc(coe),e.a=new Wpt(d,c,e.c),e.n&&Yge(e.a.n,e.n),hz(e.g,(ud(),sl),e.a),t||(s=new $5(1,c,e.c),s.n.a=e.k,TE(e.p,(ct(),dn),s),a=new $5(1,c,e.c),a.n.d=e.k,TE(e.p,Mn,a),p=new $5(0,c,e.c),p.n.c=e.k,TE(e.p,bn,p),i=new $5(0,c,e.c),i.n.b=e.k,TE(e.p,yn,i))}function qRn(e){var t,i,s;switch(t=u(U(e.d,(dt(),Zb)),223),t.g){case 2:i=Dxn(e);break;case 3:i=(s=new it,Ei(Pr(Ps(ia(ia(new Lt(null,new Wt(e.d.b,16)),new gHe),new wHe),new mHe),new rHe),new DJe(s)),s);break;default:throw Z(new _s("Compaction not supported for "+t+" edges."))}iCn(e,i),xo(new Z1(e.g),new NJe(e))}function XRn(e,t){var i,s,a,c,d,p,w;if(t.Ug("Process directions",1),i=u(U(e,(ba(),Bm)),88),i!=(Fi(),qd))for(a=Fn(e.b,0);a.b!=a.d.c;){switch(s=u(Ln(a),40),p=u(U(s,(Gr(),BO)),17).a,w=u(U(s,HO),17).a,i.g){case 4:w*=-1;break;case 1:c=p,p=w,w=c;break;case 2:d=p,p=-w,w=d}Ue(s,BO,rt(p)),Ue(s,HO,rt(w))}t.Vg()}function JRn(e,t){var i;return i=new TK,t&&Ms(i,u(_n(e.a,d9),96)),pe(t,422)&&Ms(i,u(_n(e.a,h9),96)),pe(t,366)?(Ms(i,u(_n(e.a,ys),96)),i):(pe(t,84)&&Ms(i,u(_n(e.a,Tn),96)),pe(t,207)?(Ms(i,u(_n(e.a,Er),96)),i):pe(t,193)?(Ms(i,u(_n(e.a,gc),96)),i):(pe(t,326)&&Ms(i,u(_n(e.a,Ci),96)),i))}function YRn(e){var t,i,s,a,c,d,p,w;for(w=new Dut,p=new J(e.a);p.a0&&t=0)return!1;if(t.p=i.b,ot(i.e,t),a==(hn(),co)||a==qa){for(d=new J(t.j);d.ae.d[p.p]&&(i+=I1e(e.b,c),Vg(e.a,rt(c)))):++d;for(i+=e.b.d*d;!lC(e.a);)c0e(e.b,u(IE(e.a),17).a)}return i}function dyt(e){var t,i,s,a,c,d;return c=0,t=Ju(e),t.kk()&&(c|=4),e.Bb&Zl&&(c|=2),pe(e,102)?(i=u(e,19),a=os(i),i.Bb&Aa&&(c|=32),a&&(xn(Ly(a)),c|=8,d=a.t,(d>1||d==-1)&&(c|=16),a.Bb&Aa&&(c|=64)),i.Bb&ts&&(c|=mv),c|=Mf):pe(t,469)?c|=512:(s=t.kk(),s&&s.i&1&&(c|=256)),e.Bb&512&&(c|=128),c}function c4n(e,t){var i;return e.f==Soe?(i=Ww(Es((Jl(),To),t)),e.e?i==4&&t!=(n3(),U3)&&t!=(n3(),W3)&&t!=(n3(),Eoe)&&t!=(n3(),koe):i==2):e.d&&(e.d.Hc(t)||e.d.Hc(LE(Es((Jl(),To),t)))||e.d.Hc(a_((Jl(),To),e.b,t)))?!0:e.f&&sve((Jl(),e.f),J8(Es(To,t)))?(i=Ww(Es(To,t)),e.e?i==4:i==2):!1}function u4n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j;for(N=-1,j=0,y=e,v=0,x=y.length;v0&&++j;++N}return j}function f4n(e,t,i,s){var a,c,d,p,w,y,v,x;return d=u(Ge(i,(br(),D3)),8),w=d.a,v=d.b+e,a=g.Math.atan2(v,w),a<0&&(a+=M0),a+=t,a>M0&&(a-=M0),p=u(Ge(s,D3),8),y=p.a,x=p.b+e,c=g.Math.atan2(x,y),c<0&&(c+=M0),c+=t,c>M0&&(c-=M0),Rd(),If(1e-10),g.Math.abs(a-c)<=1e-10||a==c||isNaN(a)&&isNaN(c)?0:ac?1:$w(isNaN(a),isNaN(c))}function yQ(e){var t,i,s,a,c,d,p;for(p=new Dn,s=new J(e.a.b);s.a=e.o)throw Z(new ehe);p=t>>5,d=t&31,c=xf(1,Yn(xf(d,1))),a?e.n[i][p]=sd(e.n[i][p],c):e.n[i][p]=ro(e.n[i][p],Ype(c)),c=xf(c,1),s?e.n[i][p]=sd(e.n[i][p],c):e.n[i][p]=ro(e.n[i][p],Ype(c))}catch(w){throw w=ci(w),pe(w,333)?Z(new vs(BZ+e.o+"*"+e.p+HZ+t+Jo+i+WZ)):Z(w)}}function b4n(e,t,i,s){var a,c,d,p,w,y,v,x,N;for(N=new Ep(new oYe(e)),p=oe(re(ib,1),zp,10,0,[t,i]),w=0,y=p.length;w0&&(s=(!e.n&&(e.n=new We(ys,e,1,7)),u(we(e.n,0),135)).a,!s||lr(lr((t.a+=' "',t),s),'"'))),lr(Ew(lr(Ew(lr(Ew(lr(Ew((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function hyt(e){var t,i,s;return e.Db&64?QY(e):(t=new Kc(CEe),i=e.k,i?lr(lr((t.a+=' "',t),i),'"'):(!e.n&&(e.n=new We(ys,e,1,7)),e.n.i>0&&(s=(!e.n&&(e.n=new We(ys,e,1,7)),u(we(e.n,0),135)).a,!s||lr(lr((t.a+=' "',t),s),'"'))),lr(Ew(lr(Ew(lr(Ew(lr(Ew((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function w4n(e,t){var i,s,a,c,d;for(t==(m5(),Wre)&&oP(u(Or(e.a,(Zy(),_O)),15)),a=u(Or(e.a,(Zy(),_O)),15).Kc();a.Ob();)switch(s=u(a.Pb(),105),i=u(gt(s.j,0),113).d.j,c=new sc(s.j),Pi(c,new RHe),t.g){case 2:KY(e,c,i,(Zw(),b1),1);break;case 1:case 0:d=rkn(c),KY(e,new $p(c,0,d),i,(Zw(),b1),0),KY(e,new $p(c,d,c.c.length),i,b1,1)}}function _Q(e,t){var i,s,a,c,d,p,w;if(t==null||t.length==0)return null;if(a=u(Ha(e.a,t),143),!a){for(s=(p=new Rb(e.b).a.vc().Kc(),new vy(p));s.a.Ob();)if(i=(c=u(s.a.Pb(),44),u(c.md(),143)),d=i.c,w=t.length,Ft(d.substr(d.length-w,w),t)&&(t.length==d.length||No(d,d.length-t.length-1)==46)){if(a)return null;a=i}a&&Ss(e.a,t,a)}return a}function m4n(e,t){var i,s,a,c;return i=new Vs,s=u(Ks(Ps(new Lt(null,new Wt(e.f,16)),i),Hy(new z,new Se,new In,new vr,oe(re(As,1),Ve,108,0,[(uc(),yv),Xs]))),21),a=s.gc(),s=u(Ks(Ps(new Lt(null,new Wt(t.f,16)),i),Hy(new z,new Se,new In,new vr,oe(re(As,1),Ve,108,0,[yv,Xs]))),21),c=s.gc(),aa.p?(Qi(c,Mn),c.d&&(p=c.o.b,t=c.a.b,c.a.b=p-t)):c.j==Mn&&a.p>e.p&&(Qi(c,dn),c.d&&(p=c.o.b,t=c.a.b,c.a.b=-(p-t)));break}return a}function bP(e,t,i,s,a){var c,d,p,w,y,v,x;if(!(pe(t,207)||pe(t,366)||pe(t,193)))throw Z(new un("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return d=e.a/2,w=t.i+s-d,v=t.j+a-d,y=w+t.g+e.a,x=v+t.f+e.a,c=new Ul,sr(c,new Xe(w,v)),sr(c,new Xe(w,x)),sr(c,new Xe(y,x)),sr(c,new Xe(y,v)),p=new cQ(c),Ms(p,t),i&&wr(e.b,t,p),p}function N4(e,t,i){var s,a,c,d,p,w,y,v,x,N;for(c=new Xe(t,i),v=new J(e.a);v.a1,p&&(s=new Xe(a,i.b),sr(t.a,s)),u5(t.a,oe(re(ao,1),tt,8,0,[N,x]))}function Yu(){Yu=L,PW=new Ry(Sh,0),OO=new Ry("NIKOLOV",1),NO=new Ry("NIKOLOV_PIXEL",2),FAe=new Ry("NIKOLOV_IMPROVED",3),BAe=new Ry("NIKOLOV_IMPROVED_PIXEL",4),jAe=new Ry("DUMMYNODE_PERCENTAGE",5),HAe=new Ry("NODECOUNT_PERCENTAGE",6),OW=new Ry("NO_BOUNDARY",7),jm=new Ry("MODEL_ORDER_LEFT_TO_RIGHT",8),Dv=new Ry("MODEL_ORDER_RIGHT_TO_LEFT",9)}function x4n(e){var t,i,s,a,c;for(s=e.length,t=new cC,c=0;c=40,d&&$An(e),L6n(e),sRn(e),i=Ppt(e),s=0;i&&s0&&sr(e.f,c)):(e.c[d]-=y+1,e.c[d]<=0&&e.a[d]>0&&sr(e.e,c))))}function Ayt(e,t,i,s){var a,c,d,p,w,y,v;for(w=new Xe(i,s),no(w,u(U(t,(Gr(),jA)),8)),v=Fn(t.b,0);v.b!=v.d.c;)y=u(Ln(v),40),$r(y.e,w),sr(e.b,y);for(p=u(Ks(l1e(new Lt(null,new Wt(t.a,16))),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15).Kc();p.Ob();){for(d=u(p.Pb(),65),c=Fn(d.a,0);c.b!=c.d.c;)a=u(Ln(c),8),a.a+=w.a,a.b+=w.b;sr(e.a,d)}}function Nve(e,t){var i,s,a,c;if(0<(pe(e,16)?u(e,16).gc():Ob(e.Kc()))){if(a=t,1=0&&wc*2?(v=new pj(x),y=Kl(d)/Mc(d),w=KQ(v,t,new aE,i,s,a,y),$r(id(v.e),w),x.c.length=0,c=0,en(x.c,v),en(x.c,d),c=Kl(v)*Mc(v)+Kl(d)*Mc(d)):(en(x.c,d),c+=Kl(d)*Mc(d));return x}function xyt(e,t){var i,s,a,c,d,p;if(p=u(U(t,(dt(),Si)),101),p==(go(),cb)||p==Ja)for(a=new Xe(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,d=new J(e.a);d.ai?t:i;y<=x;++y)y==i?p=s++:(c=a[y],v=W.am(c.Lk()),y==t&&(w=y==x&&!v?s-1:s),v&&++s);return N=u(A5(e,t,i),76),p!=w&&lR(e,new d7(e.e,7,d,rt(p),j.md(),w)),N}}else return u(sQ(e,t,i),76);return u(A5(e,t,i),76)}function z4n(e,t){var i,s,a,c,d,p,w;for(t.Ug("Port order processing",1),w=u(U(e,(dt(),wAe)),430),s=new J(e.b);s.a=0&&(p=Wyn(e,d),!(p&&(y<22?w.l|=1<>>1,d.m=v>>>1|(x&1)<<21,d.l=N>>>1|(v&1)<<21,--y;return i&&LJ(w),c&&(s?(u1=l4(e),a&&(u1=hbt(u1,(GR(),h3e)))):u1=ul(e.l,e.m,e.h)),w}function J4n(e,t){var i,s,a,c,d,p,w,y,v,x;for(y=e.e[t.c.p][t.p]+1,w=t.c.a.c.length+1,p=new J(e.a);p.a0&&(fn(0,e.length),e.charCodeAt(0)==45||(fn(0,e.length),e.charCodeAt(0)==43))?1:0,s=d;si)throw Z(new rh(pm+e+'"'));return p}function Y4n(e){var t,i,s,a,c,d,p;for(d=new ei,c=new J(e.a);c.a1)&&t==1&&u(e.a[e.b],10).k==(hn(),Oa)?i3(u(e.a[e.b],10),(eu(),ab)):s&&(!i||(e.c-e.b&e.a.length-1)>1)&&t==1&&u(e.a[e.c-1&e.a.length-1],10).k==(hn(),Oa)?i3(u(e.a[e.c-1&e.a.length-1],10),(eu(),S1)):(e.c-e.b&e.a.length-1)==2?(i3(u(w5(e),10),(eu(),ab)),i3(u(w5(e),10),S1)):C3n(e,a),x1e(e)}function eAn(e,t,i){var s,a,c,d,p;for(c=0,a=new vn((!e.a&&(e.a=new We(Er,e,10,11)),e.a));a.e!=a.i.gc();)s=u(Rn(a),27),d="",(!s.n&&(s.n=new We(ys,s,1,7)),s.n).i==0||(d=u(we((!s.n&&(s.n=new We(ys,s,1,7)),s.n),0),135).a),p=new jJ(c++,t,d),Ms(p,s),Ue(p,(Gr(),b$),s),p.e.b=s.j+s.f/2,p.f.a=g.Math.max(s.g,1),p.e.a=s.i+s.g/2,p.f.b=g.Math.max(s.f,1),sr(t.b,p),ol(i.f,s,p)}function tAn(e){var t,i,s,a,c;s=u(U(e,(Je(),Nr)),27),c=u(Ge(s,(dt(),z0)),181).Hc((jc(),nw)),e.e||(a=u(U(e,Xa),21),t=new Xe(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),a.Hc((cs(),Lu))?(Lr(s,Si,(go(),Ja)),dm(s,t.a,t.b,!1,!0)):bt(ht(Ge(s,Ere)))||dm(s,t.a,t.b,!0,!0)),c?Lr(s,z0,Tt(nw)):Lr(s,z0,(i=u(nd(M$),9),new yu(i,u(Af(i,i.length),9),0)))}function Mve(e,t,i){var s,a,c,d;if(t[0]>=e.length)return i.o=0,!0;switch(No(e,t[0])){case 43:a=1;break;case 45:a=-1;break;default:return i.o=0,!0}if(++t[0],c=t[0],d=AF(e,t),d==0&&t[0]==c)return!1;if(t[0]p&&(p=a,v.c.length=0),a==p&&ot(v,new Ji(i.c.i,i)));Gt(),Pi(v,e.c),Mw(e.b,w.p,v)}}function oAn(e,t){var i,s,a,c,d,p,w,y,v;for(d=new J(t.b);d.ap&&(p=a,v.c.length=0),a==p&&ot(v,new Ji(i.d.i,i)));Gt(),Pi(v,e.c),Mw(e.f,w.p,v)}}function sAn(e,t){var i,s,a,c,d,p,w,y;if(y=ht(U(t,(ba(),Gxt))),y==null||(gn(y),y)){for(PEn(e,t),a=new it,w=Fn(t.b,0);w.b!=w.d.c;)d=u(Ln(w),40),i=Sye(e,d,null),i&&(Ms(i,t),en(a.c,i));if(e.a=null,e.b=null,a.c.length>1)for(s=new J(a);s.a=0&&p!=i&&(c=new lo(e,1,p,d,null),s?s.nj(c):s=c),i>=0&&(c=new lo(e,1,i,p==i?d:null,t),s?s.nj(c):s=c)),s}function Tyt(e){var t,i,s;if(e.b==null){if(s=new _p,e.i!=null&&(ps(s,e.i),s.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(Run(e.i)||(s.a+="//"),ps(s,e.a)),e.d!=null&&(s.a+="/",ps(s,e.d)),e.f&16&&(s.a+="/"),t=0,i=e.j.length;tN?!1:(x=(w=Z5(s,N,!1),w.a),v+p+x<=t.b&&(h7(i,c-i.s),i.c=!0,h7(s,c-i.s),X7(s,i.s,i.t+i.d+p),s.k=!0,U0e(i.q,s),j=!0,a&&(vj(t,s),s.j=t,e.c.length>d&&(Q7((Kt(d,e.c.length),u(e.c[d],186)),s),(Kt(d,e.c.length),u(e.c[d],186)).a.c.length==0&&Tp(e,d)))),j)}function hAn(e,t){var i,s,a,c,d,p;if(t.Ug("Partition midprocessing",1),a=new Gw,Ei(Pr(new Lt(null,new Wt(e.a,16)),new nBe),new EJe(a)),a.d!=0){for(p=u(Ks(f1e((c=a.i,new Lt(null,(c||(a.i=new M2(a,a.c))).Nc()))),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),s=p.Kc(),i=u(s.Pb(),17);s.Ob();)d=u(s.Pb(),17),skn(u(Or(a,i),21),u(Or(a,d),21)),i=d;t.Vg()}}function Nyt(e,t,i){var s,a,c,d,p,w,y,v;if(t.p==0){for(t.p=1,d=i,d||(a=new it,c=(s=u(nd(ns),9),new yu(s,u(Af(s,s.length),9),0)),d=new Ji(a,c)),u(d.a,15).Fc(t),t.k==(hn(),Oi)&&u(d.b,21).Fc(u(U(t,(Je(),ya)),64)),w=new J(t.j);w.a0){if(a=u(e.Ab.g,2033),t==null){for(c=0;ci.s&&pd)return ct(),yn;break;case 4:case 3:if(v<0)return ct(),dn;if(v+i>c)return ct(),Mn}return w=(y+p/2)/d,s=(v+i/2)/c,w+s<=1&&w-s<=0?(ct(),bn):w+s>=1&&w-s>=0?(ct(),yn):s<.5?(ct(),dn):(ct(),Mn)}function mAn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V;for(i=!1,v=Re(Oe(U(t,(dt(),Lm)))),W=i1*v,a=new J(t.b);a.aw+W&&(V=x.g+N.g,N.a=(N.g*N.a+x.g*x.a)/V,N.g=V,x.f=N,i=!0)),c=p,x=N;return i}function jyt(e,t,i,s,a,c,d){var p,w,y,v,x,N;for(N=new vE,y=t.Kc();y.Ob();)for(p=u(y.Pb(),853),x=new J(p.Rf());x.a0?p.a?(y=p.b.Mf().b,a>y&&(e.v||p.c.d.c.length==1?(d=(a-y)/2,p.d.d=d,p.d.a=d):(i=u(gt(p.c.d,0),187).Mf().b,s=(i-y)/2,p.d.d=g.Math.max(0,s),p.d.a=a-s-y))):p.d.a=e.t+a:KC(e.u)&&(c=iye(p.b),c.d<0&&(p.d.d=-c.d),c.d+c.a>p.b.Mf().b&&(p.d.a=c.d+c.a-p.b.Mf().b))}function Nf(){Nf=L,S3=new yo((br(),t9),rt(1)),AH=new yo(ew,80),w4t=new yo(K5e,5),a4t=new yo(K_,Y4),p4t=new yo(ioe,rt(1)),g4t=new yo(ooe,(on(),!0)),vke=new Iw(50),h4t=new yo(rg,vke),wke=ZO,_ke=C$,l4t=new yo(qie,!1),yke=e9,f4t=Bv,d4t=_1,u4t=Z0,c4t=J_,b4t=Hv,mke=(bye(),e4t),gne=i4t,RH=ZRt,pne=t4t,Ske=r4t,v4t=UA,_4t=uU,y4t=n9,m4t=cU,Eke=(zE(),Vv),new yo(j3,Eke)}function _An(e,t){var i;switch(_7(e)){case 6:return fo(t);case 7:return Cy(t);case 8:return Ay(t);case 3:return Array.isArray(t)&&(i=_7(t),!(i>=14&&i<=16));case 11:return t!=null&&typeof t===JQ;case 12:return t!=null&&(typeof t===kP||typeof t==JQ);case 0:return _Y(t,e.__elementTypeId$);case 2:return tX(t)&&t.Tm!==fe;case 1:return tX(t)&&t.Tm!==fe||_Y(t,e.__elementTypeId$);default:return!0}}function SAn(e){var t,i,s,a;s=e.o,Iy(),e.A.dc()||Tr(e.A,ske)?a=s.a:(e.D?a=g.Math.max(s.a,B5(e.f)):a=B5(e.f),e.A.Hc((jc(),l9))&&!e.B.Hc((kc(),D$))&&(a=g.Math.max(a,B5(u(gs(e.p,(ct(),dn)),252))),a=g.Math.max(a,B5(u(gs(e.p,Mn),252)))),t=Zht(e),t&&(a=g.Math.max(a,t.a))),bt(ht(e.e.Tf().of((br(),Bv))))?s.a=g.Math.max(s.a,a):s.a=a,i=e.f.i,i.c=0,i.b=a,xQ(e.f)}function Fyt(e,t){var i,s,a,c;return s=g.Math.min(g.Math.abs(e.c-(t.c+t.b)),g.Math.abs(e.c+e.b-t.c)),c=g.Math.min(g.Math.abs(e.d-(t.d+t.a)),g.Math.abs(e.d+e.a-t.d)),i=g.Math.abs(e.c+e.b/2-(t.c+t.b/2)),i>e.b/2+t.b/2||(a=g.Math.abs(e.d+e.a/2-(t.d+t.a/2)),a>e.a/2+t.a/2)?1:i==0&&a==0?0:i==0?c/a+1:a==0?s/i+1:g.Math.min(s/i,c/a)+1}function EAn(e,t){var i,s,a,c,d,p,w;for(c=0,p=0,w=0,a=new J(e.f.e);a.a0&&e.d!=(l5(),yne)&&(p+=d*(s.d.a+e.a[t.a][s.a]*(t.d.a-s.d.a)/i)),i>0&&e.d!=(l5(),wne)&&(w+=d*(s.d.b+e.a[t.a][s.a]*(t.d.b-s.d.b)/i)));switch(e.d.g){case 1:return new Xe(p/c,t.d.b);case 2:return new Xe(t.d.a,w/c);default:return new Xe(p/c,w/c)}}function Byt(e){var t,i,s,a,c,d;for(i=(!e.a&&(e.a=new Di(uu,e,5)),e.a).i+2,d=new nl(i),ot(d,new Xe(e.j,e.k)),Ei(new Lt(null,(!e.a&&(e.a=new Di(uu,e,5)),new Wt(e.a,16))),new XYe(d)),ot(d,new Xe(e.b,e.c)),t=1;t0&&(O7(w,!1,(Fi(),xs)),O7(w,!0,js)),dl(t.g,new ent(e,i)),wr(e.g,t,i)}function Uyt(){Uyt=L;var e;for(_3e=oe(re(Gn,1),ur,28,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]),Gte=Ne(Gn,ur,28,37,15,1),Tkt=oe(re(Gn,1),ur,28,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]),S3e=Ne(P1,EZ,28,37,14,1),e=2;e<=36;e++)Gte[e]=Yi(g.Math.pow(e,_3e[e])),S3e[e]=eP(xP,Gte[e])}function kAn(e){var t;if((!e.a&&(e.a=new We(ti,e,6,6)),e.a).i!=1)throw Z(new un(wEt+(!e.a&&(e.a=new We(ti,e,6,6)),e.a).i));return t=new Ul,T7(u(we((!e.b&&(e.b=new Xt(Tn,e,4,7)),e.b),0),84))&&Eo(t,T2t(e,T7(u(we((!e.b&&(e.b=new Xt(Tn,e,4,7)),e.b),0),84)),!1)),T7(u(we((!e.c&&(e.c=new Xt(Tn,e,5,8)),e.c),0),84))&&Eo(t,T2t(e,T7(u(we((!e.c&&(e.c=new Xt(Tn,e,5,8)),e.c),0),84)),!0)),t}function Vyt(e,t){var i,s,a,c,d;for(t.d?a=e.a.c==(uh(),Fm)?so(t.b):$i(t.b):a=e.a.c==(uh(),eg)?so(t.b):$i(t.b),c=!1,s=new Sn(kn(a.a.Kc(),new M));Bn(s);)if(i=u($n(s),18),d=bt(e.a.f[e.a.g[t.b.p].p]),!(!d&&!es(i)&&i.c.i.c==i.d.i.c)&&!(bt(e.a.n[e.a.g[t.b.p].p])||bt(e.a.n[e.a.g[t.b.p].p]))&&(c=!0,rd(e.b,e.a.g[kyn(i,t.b).p])))return t.c=!0,t.a=i,t;return t.c=c,t.a=null,t}function Lve(e,t,i){var s,a,c,d,p,w,y;if(s=i.gc(),s==0)return!1;if(e.Pj())if(w=e.Qj(),Kwe(e,t,i),d=s==1?e.Ij(3,null,i.Kc().Pb(),t,w):e.Ij(5,null,i,t,w),e.Mj()){for(p=s<100?null:new Og(s),c=t+s,a=t;a0){for(d=0;d>16==-15&&e.Cb.Yh()&&oJ(new eJ(e.Cb,9,13,i,e.c,Wp(_c(u(e.Cb,62)),e))):pe(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(t=e.c,pe(t,90)||(t=(Vt(),ff)),pe(i,90)||(i=(Vt(),ff)),oJ(new eJ(e.Cb,9,10,i,t,Wp(Na(u(e.Cb,29)),e)))))),e.c}function CAn(e,t,i){var s,a,c,d,p,w,y,v,x;for(i.Ug("Hyperedge merging",1),YEn(e,t),w=new _o(t.b,0);w.b0,p=zj(t,c),Jbe(i?p.b:p.g,t),K2(p).c.length==1&&gi(s,p,s.c.b,s.c),a=new Ji(c,t),Vg(e.o,a),Pl(e.e.a,c))}function Yyt(e,t){var i,s,a,c,d,p,w;return s=g.Math.abs(_L(e.b).a-_L(t.b).a),p=g.Math.abs(_L(e.b).b-_L(t.b).b),a=0,w=0,i=1,d=1,s>e.b.b/2+t.b.b/2&&(a=g.Math.min(g.Math.abs(e.b.c-(t.b.c+t.b.b)),g.Math.abs(e.b.c+e.b.b-t.b.c)),i=1-a/s),p>e.b.a/2+t.b.a/2&&(w=g.Math.min(g.Math.abs(e.b.d-(t.b.d+t.b.a)),g.Math.abs(e.b.d+e.b.a-t.b.d)),d=1-w/p),c=g.Math.min(i,d),(1-c)*g.Math.sqrt(s*s+p*p)}function IAn(e){var t,i,s,a;for(GQ(e,e.e,e.f,(Kw(),y1),!0,e.c,e.i),GQ(e,e.e,e.f,y1,!1,e.c,e.i),GQ(e,e.e,e.f,B_,!0,e.c,e.i),GQ(e,e.e,e.f,B_,!1,e.c,e.i),AAn(e,e.c,e.e,e.f,e.i),s=new _o(e.i,0);s.b=65;i--)Zd[i]=i-65<<24>>24;for(s=122;s>=97;s--)Zd[s]=s-97+26<<24>>24;for(a=57;a>=48;a--)Zd[a]=a-48+52<<24>>24;for(Zd[43]=62,Zd[47]=63,c=0;c<=25;c++)ug[c]=65+c&Bi;for(d=26,w=0;d<=51;++d,w++)ug[d]=97+w&Bi;for(e=52,p=0;e<=61;++e,p++)ug[e]=48+p&Bi;ug[62]=43,ug[63]=47}function Qyt(e,t){var i,s,a,c,d,p;return a=j0e(e),p=j0e(t),a==p?e.e==t.e&&e.a<54&&t.a<54?e.ft.f?1:0:(s=e.e-t.e,i=(e.d>0?e.d:g.Math.floor((e.a-1)*o_t)+1)-(t.d>0?t.d:g.Math.floor((t.a-1)*o_t)+1),i>s+1?a:i0&&(d=B2(d,cvt(s))),lgt(c,d))):ay&&(N=0,j+=w+t,w=0),N4(d,N,j),i=g.Math.max(i,N+v.a),w=g.Math.max(w,v.b),N+=v.a+t;return new Xe(i+t,j+w+t)}function Hve(e,t){var i,s,a,c,d,p,w;if(!Cd(e))throw Z(new _s(gEt));if(s=Cd(e),c=s.g,a=s.f,c<=0&&a<=0)return ct(),la;switch(p=e.i,w=e.j,t.g){case 2:case 1:if(p<0)return ct(),bn;if(p+e.g>c)return ct(),yn;break;case 4:case 3:if(w<0)return ct(),dn;if(w+e.f>a)return ct(),Mn}return d=(p+e.g/2)/c,i=(w+e.f/2)/a,d+i<=1&&d-i<=0?(ct(),bn):d+i>=1&&d-i>=0?(ct(),yn):i<.5?(ct(),dn):(ct(),Mn)}function OAn(e,t,i,s,a){var c,d;if(c=Uo(ro(t[0],us),ro(s[0],us)),e[0]=Yn(c),c=Dw(c,32),i>=a){for(d=1;d0&&(a.b[d++]=0,a.b[d++]=c.b[0]-1),t=1;t0&&(GK(w,w.d-a.d),a.c==(ad(),m1)&&wtn(w,w.a-a.d),w.d<=0&&w.i>0&&gi(t,w,t.c.b,t.c)));for(c=new J(e.f);c.a0&&(OM(p,p.i-a.d),a.c==(ad(),m1)&&mtn(p,p.b-a.d),p.i<=0&&p.d>0&&gi(i,p,i.c.b,i.c)))}function DAn(e,t,i,s,a){var c,d,p,w,y,v,x,N,j;for(Gt(),Pi(e,new cGe),d=W8(e),j=new it,N=new it,p=null,w=0;d.b!=0;)c=u(d.b==0?null:(Cn(d.b!=0),Ru(d,d.a.a)),163),!p||Kl(p)*Mc(p)/21&&(w>Kl(p)*Mc(p)/2||d.b==0)&&(x=new pj(N),v=Kl(p)/Mc(p),y=KQ(x,t,new aE,i,s,a,v),$r(id(x.e),y),p=x,en(j.c,x),w=0,N.c.length=0));return Gi(j,N),j}function Da(e,t,i,s,a){Cb();var c,d,p,w,y,v,x;if(Tge(e,"src"),Tge(i,"dest"),x=Lc(e),w=Lc(i),Jpe((x.i&4)!=0,"srcType is not an array"),Jpe((w.i&4)!=0,"destType is not an array"),v=x.c,d=w.c,Jpe(v.i&1?v==d:(d.i&1)==0,"Array types don't match"),S1n(e,t,i,s,a),!(v.i&1)&&x!=w)if(y=g0(e),c=g0(i),xe(e)===xe(i)&&ts;)pi(c,p,y[--t]);else for(p=s+a;s0),s.a.Xb(s.c=--s.b),x>N+w&&Dc(s);for(d=new J(j);d.a0),s.a.Xb(s.c=--s.b)}}function jAn(){Cr();var e,t,i,s,a,c;if(Aoe)return Aoe;for(e=new Xc(4),lv(e,r1(Pte,!0)),nx(e,r1("M",!0)),nx(e,r1("C",!0)),c=new Xc(4),s=0;s<11;s++)Ua(c,s,s);return t=new Xc(4),lv(t,r1("M",!0)),Ua(t,4448,4607),Ua(t,65438,65439),a=new NC(2),x0(a,e),x0(a,z$),i=new NC(2),i.Jm(fL(c,r1("L",!0))),i.Jm(t),i=new Fy(3,i),i=new Ige(a,i),Aoe=i,Aoe}function av(e,t){var i,s,a,c,d,p,w,y;for(i=new RegExp(t,"g"),w=Ne(wt,tt,2,0,6,1),s=0,y=e,c=null;;)if(p=i.exec(y),p==null||y==""){w[s]=y;break}else d=p.index,w[s]=(So(0,d,y.length),y.substr(0,d)),y=_u(y,d+p[0].length,y.length),i.lastIndex=0,c==y&&(w[s]=(So(0,1,y.length),y.substr(0,1)),y=(fn(1,y.length+1),y.substr(1))),c=y,++s;if(e.length>0){for(a=w.length;a>0&&w[a-1]=="";)--a;a0&&(x-=s[0]+e.c,s[0]+=e.c),s[2]>0&&(x-=s[2]+e.c),s[1]=g.Math.max(s[1],x),pL(e.a[1],i.c+t.b+s[0]-(s[1]-x)/2,s[1]);for(c=e.a,p=0,y=c.length;p0?(e.n.c.length-1)*e.i:0,s=new J(e.n);s.a1)for(s=Fn(a,0);s.b!=s.d.c;)for(i=u(Ln(s),235),c=0,w=new J(i.e);w.a0&&(t[0]+=e.c,x-=t[0]),t[2]>0&&(x-=t[2]+e.c),t[1]=g.Math.max(t[1],x),gL(e.a[1],s.d+i.d+t[0]-(t[1]-x)/2,t[1]);else for(W=s.d+i.d,j=s.a-i.d-i.a,d=e.a,w=0,v=d.length;w0||rm(a.b.d,e.b.d+e.b.a)==0&&s.b<0||rm(a.b.d+a.b.a,e.b.d)==0&&s.b>0){p=0;break}}else p=g.Math.min(p,Y0t(e,a,s));p=g.Math.min(p,nvt(e,c,p,s))}return p}function mP(e,t){var i,s,a,c,d,p,w;if(e.b<2)throw Z(new un("The vector chain must contain at least a source and a target point."));for(a=(Cn(e.b!=0),u(e.a.a.c,8)),$8(t,a.a,a.b),w=new SE((!t.a&&(t.a=new Di(uu,t,5)),t.a)),d=Fn(e,1);d.a=0&&c!=i))throw Z(new un(ZP));for(a=0,w=0;wRe(Ad(d.g,d.d[0]).a)?(Cn(w.b>0),w.a.Xb(w.c=--w.b),Ty(w,d),a=!0):p.e&&p.e.gc()>0&&(c=(!p.e&&(p.e=new it),p.e).Mc(t),y=(!p.e&&(p.e=new it),p.e).Mc(i),(c||y)&&((!p.e&&(p.e=new it),p.e).Fc(d),++d.c));a||en(s.c,d)}function GAn(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie;return x=e.a.i+e.a.g/2,N=e.a.i+e.a.g/2,W=t.i+t.g/2,q=t.j+t.f/2,p=new Xe(W,q),y=u(Ge(t,(br(),D3)),8),y.a=y.a+x,y.b=y.b+N,c=(p.b-y.b)/(p.a-y.a),s=p.b-c*p.a,V=i.i+i.g/2,ie=i.j+i.f/2,w=new Xe(V,ie),v=u(Ge(i,D3),8),v.a=v.a+x,v.b=v.b+N,d=(w.b-v.b)/(w.a-v.a),a=w.b-d*w.a,j=(s-a)/(d-c),y.a>>0,"0"+t.toString(16)),s="\\x"+_u(i,i.length-2,i.length)):e>=ts?(i=(t=e>>>0,"0"+t.toString(16)),s="\\v"+_u(i,i.length-6,i.length)):s=""+String.fromCharCode(e&Bi)}return s}function svt(e){var t,i,s;if(x2(u(U(e,(dt(),Si)),101)))for(i=new J(e.j);i.a=t.o&&i.f<=t.f||t.a*.5<=i.f&&t.a*1.5>=i.f){if(d=u(gt(t.n,t.n.c.length-1),209),d.e+d.d+i.g+a<=s&&(c=u(gt(t.n,t.n.c.length-1),209),c.f-e.f+i.f<=e.b||e.a.c.length==1))return jwe(t,i),!0;if(t.s+i.g<=s&&(t.t+t.d+i.f+a<=e.b||e.a.c.length==1))return ot(t.b,i),p=u(gt(t.n,t.n.c.length-1),209),ot(t.n,new FL(t.s,p.f+p.a+t.i,t.i)),mme(u(gt(t.n,t.n.c.length-1),209),i),evt(t,i),!0}return!1}function lvt(e,t,i){var s,a,c,d;return e.Pj()?(a=null,c=e.Qj(),s=e.Ij(1,d=lJ(e,t,i),i,t,c),e.Mj()&&!(e.Yi()&&d!=null?Tr(d,i):xe(d)===xe(i))?(d!=null&&(a=e.Oj(d,a)),a=e.Nj(i,a),e.Tj()&&(a=e.Wj(d,i,a)),a?(a.nj(s),a.oj()):e.Jj(s)):(e.Tj()&&(a=e.Wj(d,i,a)),a?(a.nj(s),a.oj()):e.Jj(s)),d):(d=lJ(e,t,i),e.Mj()&&!(e.Yi()&&d!=null?Tr(d,i):xe(d)===xe(i))&&(a=null,d!=null&&(a=e.Oj(d,null)),a=e.Nj(i,a),a&&a.oj()),d)}function QAn(e,t){var i,s,a,c,d;if(t.Ug("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Vg();return}if(a=new qye(e),d=(a.i==null&&(a.i=F0e(a,new Jfe)),Re(a.i)*a.f),i=d/(a.i==null&&(a.i=F0e(a,new Jfe)),Re(a.i)),a.b>i){t.Vg();return}switch(u(U(e,(dt(),xre)),351).g){case 2:c=new Qfe;break;case 0:c=new Xfe;break;default:c=new Zfe}if(s=c.og(e,a),!c.pg())switch(u(U(e,CW),352).g){case 2:s=Q0t(a,s);break;case 1:s=U1t(a,s)}z6n(e,a,s),t.Vg()}function J5(e,t){var i,s,a,c,d,p,w,y;t%=24,e.q.getHours()!=t&&(s=new g.Date(e.q.getTime()),s.setDate(s.getDate()+1),p=e.q.getTimezoneOffset()-s.getTimezoneOffset(),p>0&&(w=p/60|0,y=p%60,a=e.q.getDate(),i=e.q.getHours(),i+w>=24&&++a,c=new g.Date(e.q.getFullYear(),e.q.getMonth(),a,t+w,e.q.getMinutes()+y,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),d=e.q.getTime(),e.q.setTime(d+36e5),e.q.getHours()!=t&&e.q.setTime(d)}function ZAn(e,t){var i,s,a,c;if(ddn(e.d,e.e),e.c.a.$b(),Re(Oe(U(t.j,(dt(),pW))))!=0||Re(Oe(U(t.j,pW)))!=0)for(i=h_,xe(U(t.j,ob))!==xe((hh(),Zp))&&Ue(t.j,(Je(),p1),(on(),!0)),c=u(U(t.j,n$),17).a,a=0;aa&&++y,ot(d,(Kt(p+y,t.c.length),u(t.c[p+y],17))),w+=(Kt(p+y,t.c.length),u(t.c[p+y],17)).a-s,++i;i=q&&e.e[w.p]>W*e.b||ge>=i*q)&&(en(N.c,p),p=new it,Eo(d,c),c.a.$b(),y-=v,j=g.Math.max(j,y*e.b+V),y+=ge,ue=ge,ge=0,v=0,V=0);return new Ji(j,N)}function IQ(e){var t,i,s,a,c,d,p;if(!e.d){if(p=new MGe,t=H$,c=t.a.zc(e,t),c==null){for(s=new vn(Os(e));s.e!=s.i.gc();)i=u(Rn(s),29),vi(p,IQ(i));t.a.Bc(e)!=null,t.a.gc()==0}for(d=p.i,a=(!e.q&&(e.q=new We(cf,e,11,10)),new vn(e.q));a.e!=a.i.gc();++d)u(Rn(a),411);vi(p,(!e.q&&(e.q=new We(cf,e,11,10)),e.q)),zy(p),e.d=new C2((u(we(Fe((Hg(),sn).o),9),19),p.i),p.g),e.e=u(p.g,688),e.e==null&&(e.e=f8t),vc(e).b&=-17}return e.d}function L4(e,t,i,s){var a,c,d,p,w,y;if(y=gl(e.e.Dh(),t),w=0,a=u(e.g,124),is(),u(t,69).xk()){for(d=0;d1||W==-1)if(x=u(V,71),N=u(v,71),x.dc())N.$b();else for(d=!!os(t),c=0,p=e.a?x.Kc():x.Ii();p.Ob();)y=u(p.Pb(),58),a=u(Od(e,y),58),a?(d?(w=N.dd(a),w==-1?N.Gi(c,a):c!=w&&N.Ui(c,a)):N.Gi(c,a),++c):e.b&&!d&&(N.Gi(c,y),++c);else V==null?v.Wb(null):(a=Od(e,V),a==null?e.b&&!os(t)&&v.Wb(V):v.Wb(a))}function i6n(e,t){var i,s,a,c,d,p,w,y;for(i=new vFe,a=new Sn(kn(so(t).a.Kc(),new M));Bn(a);)if(s=u($n(a),18),!es(s)&&(p=s.c.i,eye(p,IH))){if(y=yve(e,p,IH,$H),y==-1)continue;i.b=g.Math.max(i.b,y),!i.a&&(i.a=new it),ot(i.a,p)}for(d=new Sn(kn($i(t).a.Kc(),new M));Bn(d);)if(c=u($n(d),18),!es(c)&&(w=c.d.i,eye(w,$H))){if(y=yve(e,w,$H,IH),y==-1)continue;i.d=g.Math.max(i.d,y),!i.c&&(i.c=new it),ot(i.c,w)}return i}function o6n(e,t,i,s){var a,c,d,p,w,y,v;if(i.d.i!=t.i){for(a=new Vb(e),Q1(a,(hn(),co)),Ue(a,(Je(),Nr),i),Ue(a,(dt(),Si),(go(),Ja)),en(s.c,a),d=new Ma,ra(d,a),Qi(d,(ct(),bn)),p=new Ma,ra(p,a),Qi(p,yn),v=i.d,po(i,d),c=new Vw,Ms(c,i),Ue(c,Cs,null),Wo(c,p),po(c,v),y=new _o(i.b,0);y.b1e6)throw Z(new KM("power of ten too big"));if(e<=xr)return FE(cP(v3[1],t),t);for(s=cP(v3[1],xr),a=s,i=Ra(e-xr),t=Yi(e%xr);$a(i,xr)>0;)a=B2(a,s),i=Xu(i,xr);for(a=B2(a,cP(v3[1],t)),a=FE(a,xr),i=Ra(e-xr);$a(i,xr)>0;)a=FE(a,xr),i=Xu(i,xr);return a=FE(a,t),a}function uvt(e){var t,i,s,a,c,d,p,w,y,v;for(w=new J(e.a);w.ay&&s>y)v=p,y=Re(t.p[p.p])+Re(t.d[p.p])+p.o.b+p.d.a;else{a=!1,i._g()&&i.bh("bk node placement breaks on "+p+" which should have been after "+v);break}if(!a)break}return i._g()&&i.bh(t+" is feasible: "+a),a}function Gve(e,t,i,s){var a,c,d,p,w,y,v,x,N;if(c=new Vb(e),Q1(c,(hn(),qa)),Ue(c,(dt(),Si),(go(),Ja)),a=0,t){for(d=new Ma,Ue(d,(Je(),Nr),t),Ue(c,Nr,t.i),Qi(d,(ct(),bn)),ra(d,c),N=fh(t.e),y=N,v=0,x=y.length;v0){if(a<0&&v.a&&(a=w,c=y[0],s=0),a>=0){if(p=v.b,w==a&&(p-=s++,p==0))return 0;if(!b2t(t,y,v,p,d)){w=a-1,y[0]=c;continue}}else if(a=-1,!b2t(t,y,v,0,d))return 0}else{if(a=-1,No(v.c,0)==32){if(x=y[0],pdt(t,y),y[0]>x)continue}else if(zun(t,v.c,y[0])){y[0]+=v.c.length;continue}return 0}return X5n(d,i)?y[0]:0}function f6n(e,t,i){var s,a,c,d,p,w,y,v,x,N;for(v=new mL(new YXe(i)),p=Ne($c,eb,28,e.f.e.c.length,16,1),xge(p,p.length),i[t.a]=0,y=new J(e.f.e);y.a=0&&!J2(e,v,x);)--x;a[v]=x}for(j=0;j=0&&!J2(e,p,W);)--p;c[W]=p}for(w=0;wt[N]&&Ns[w]&&HF(e,w,N,!1,!0)}function Kve(e){var t,i,s,a,c,d,p,w;i=bt(ht(U(e,(Nf(),l4t)))),c=e.a.c.d,p=e.a.d.d,i?(d=sh(no(new Xe(p.a,p.b),c),.5),w=sh(Ro(e.e),.5),t=no($r(new Xe(c.a,c.b),d),w),tpe(e.d,t)):(a=Re(Oe(U(e.a,w4t))),s=e.d,c.a>=p.a?c.b>=p.b?(s.a=p.a+(c.a-p.a)/2+a,s.b=p.b+(c.b-p.b)/2-a-e.e.b):(s.a=p.a+(c.a-p.a)/2+a,s.b=c.b+(p.b-c.b)/2+a):c.b>=p.b?(s.a=c.a+(p.a-c.a)/2+a,s.b=p.b+(c.b-p.b)/2+a):(s.a=c.a+(p.a-c.a)/2+a,s.b=c.b+(p.b-c.b)/2-a-e.e.b))}function Q5(e){var t,i,s,a,c,d,p,w;if(!e.f){if(w=new ode,p=new ode,t=H$,d=t.a.zc(e,t),d==null){for(c=new vn(Os(e));c.e!=c.i.gc();)a=u(Rn(c),29),vi(w,Q5(a));t.a.Bc(e)!=null,t.a.gc()==0}for(s=(!e.s&&(e.s=new We(Fl,e,21,17)),new vn(e.s));s.e!=s.i.gc();)i=u(Rn(s),179),pe(i,102)&&Wn(p,u(i,19));zy(p),e.r=new nst(e,(u(we(Fe((Hg(),sn).o),6),19),p.i),p.g),vi(w,e.r),zy(w),e.f=new C2((u(we(Fe(sn.o),5),19),w.i),w.g),vc(e).b&=-3}return e.f}function dvt(e){Rw(e,new C0(Sw(yw(_w(vw(new J1,O0),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new YLe))),nt(e,O0,VZ,ut(bke)),nt(e,O0,GZ,ut(fne)),nt(e,O0,h3,ut(zRt)),nt(e,O0,gm,ut(hke)),nt(e,O0,N2e,ut(YRt)),nt(e,O0,M2e,ut(JRt)),nt(e,O0,O2e,ut(QRt)),nt(e,O0,D2e,ut(XRt)),nt(e,O0,U2e,ut(qRt)),nt(e,O0,V2e,ut(une)),nt(e,O0,G2e,ut(dke)),nt(e,O0,K2e,ut(SH))}function GF(){GF=L,Nxe=oe(re(Hu,1),mh,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),HTt=new RegExp(`[ +\r\f]+`);try{j$=oe(re(z$n,1),Zt,2114,0,[new e8((Sbe(),Yj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",L8((GM(),GM(),Nx))))),new e8(Yj("yyyy-MM-dd'T'HH:mm:ss'.'SSS",L8(Nx))),new e8(Yj("yyyy-MM-dd'T'HH:mm:ss",L8(Nx))),new e8(Yj("yyyy-MM-dd'T'HH:mm",L8(Nx))),new e8(Yj("yyyy-MM-dd",L8(Nx)))])}catch(e){if(e=ci(e),!pe(e,82))throw Z(e)}}function h6n(e,t){var i,s,a,c;if(a=Ec(e.d,1)!=0,s=Ave(e,t),s==0&&bt(ht(U(t.j,(Je(),p1)))))return 0;!bt(ht(U(t.j,(Je(),p1))))&&!bt(ht(U(t.j,P_)))||xe(U(t.j,(dt(),ob)))===xe((hh(),Zp))?t.c.mg(t.e,a):a=bt(ht(U(t.j,p1))),hP(e,t,a,!0),bt(ht(U(t.j,P_)))&&Ue(t.j,P_,(on(),!1)),bt(ht(U(t.j,p1)))&&(Ue(t.j,p1,(on(),!1)),Ue(t.j,P_,!0)),i=Ave(e,t);do{if(L0e(e),i==0)return 0;a=!a,c=i,hP(e,t,a,!1),i=Ave(e,t)}while(c>i);return c}function hvt(e,t){var i,s,a,c;if(a=Ec(e.d,1)!=0,s=RF(e,t),s==0&&bt(ht(U(t.j,(Je(),p1)))))return 0;!bt(ht(U(t.j,(Je(),p1))))&&!bt(ht(U(t.j,P_)))||xe(U(t.j,(dt(),ob)))===xe((hh(),Zp))?t.c.mg(t.e,a):a=bt(ht(U(t.j,p1))),hP(e,t,a,!0),bt(ht(U(t.j,P_)))&&Ue(t.j,P_,(on(),!1)),bt(ht(U(t.j,p1)))&&(Ue(t.j,p1,(on(),!1)),Ue(t.j,P_,!0)),i=RF(e,t);do{if(L0e(e),i==0)return 0;a=!a,c=i,hP(e,t,a,!1),i=RF(e,t)}while(c>i);return c}function zve(e,t,i,s){var a,c,d,p,w,y,v,x,N;return w=no(new Xe(i.a,i.b),e),y=w.a*t.b-w.b*t.a,v=t.a*s.b-t.b*s.a,x=(w.a*s.b-w.b*s.a)/v,N=y/v,v==0?y==0?(a=$r(new Xe(i.a,i.b),sh(new Xe(s.a,s.b),.5)),c=Gg(e,a),d=Gg($r(new Xe(e.a,e.b),t),a),p=g.Math.sqrt(s.a*s.a+s.b*s.b)*.5,c=0&&x<=1&&N>=0&&N<=1?$r(new Xe(e.a,e.b),sh(new Xe(t.a,t.b),x)):null}function b6n(e,t,i){var s,a,c,d,p;if(s=u(U(e,(dt(),pre)),21),i.a>t.a&&(s.Hc((A0(),E$))?e.c.a+=(i.a-t.a)/2:s.Hc(k$)&&(e.c.a+=i.a-t.a)),i.b>t.b&&(s.Hc((A0(),A$))?e.c.b+=(i.b-t.b)/2:s.Hc(R$)&&(e.c.b+=i.b-t.b)),u(U(e,(Je(),Xa)),21).Hc((cs(),Lu))&&(i.a>t.a||i.b>t.b))for(p=new J(e.a);p.at.a&&(s.Hc((A0(),E$))?e.c.a+=(i.a-t.a)/2:s.Hc(k$)&&(e.c.a+=i.a-t.a)),i.b>t.b&&(s.Hc((A0(),A$))?e.c.b+=(i.b-t.b)/2:s.Hc(R$)&&(e.c.b+=i.b-t.b)),u(U(e,(Je(),Xa)),21).Hc((cs(),Lu))&&(i.a>t.a||i.b>t.b))for(d=new J(e.a);d.a0?e.i:0)>t&&w>0&&(c=0,d+=w+e.i,a=g.Math.max(a,N),s+=w+e.i,w=0,N=0,i&&(++x,ot(e.n,new FL(e.s,d,e.i))),p=0),N+=y.g+(p>0?e.i:0),w=g.Math.max(w,y.f),i&&mme(u(gt(e.n,x),209),y),c+=y.g+(p>0?e.i:0),++p;return a=g.Math.max(a,N),s+=w,i&&(e.r=a,e.d=s,Sme(e.j)),new vu(e.s,e.t,a,s)}function TQ(e){var t,i,s,a,c,d,p,w,y,v,x,N;for(e.b=!1,x=si,w=Ki,N=si,y=Ki,s=e.e.a.ec().Kc();s.Ob();)for(i=u(s.Pb(),272),a=i.a,x=g.Math.min(x,a.c),w=g.Math.max(w,a.c+a.b),N=g.Math.min(N,a.d),y=g.Math.max(y,a.d+a.a),d=new J(i.c);d.ae.o.a&&(v=(w-e.o.a)/2,p.b=g.Math.max(p.b,v),p.c=g.Math.max(p.c,v))}}function m6n(e){var t,i,s,a,c,d,p,w;for(c=new lct,Xrn(c,(GE(),xIt)),s=(a=EJ(e,Ne(wt,tt,2,0,6,1)),new Q6(new oc(new Ez(e,a).b)));s.bp?1:-1:dwe(e.a,t.a,c),a==-1)x=-w,v=d==w?qX(t.a,p,e.a,c):JX(t.a,p,e.a,c);else if(x=d,d==w){if(a==0)return ph(),Dx;v=qX(e.a,c,t.a,p)}else v=JX(e.a,c,t.a,p);return y=new l0(x,v.length,v),n5(y),y}function y6n(e,t){var i,s,a,c;if(c=Jyt(t),!t.c&&(t.c=new We(gc,t,9,9)),Ei(new Lt(null,(!t.c&&(t.c=new We(gc,t,9,9)),new Wt(t.c,16))),new tJe(c)),a=u(U(c,(Je(),Xa)),21),f5n(t,a),a.Hc((cs(),Lu)))for(s=new vn((!t.c&&(t.c=new We(gc,t,9,9)),t.c));s.e!=s.i.gc();)i=u(Rn(s),123),B5n(e,t,c,i);return u(Ge(t,(dt(),z0)),181).gc()!=0&&Wmt(t,c),bt(ht(U(c,bAe)))&&a.Fc(sW),Jr(c,IO)&&XZe(new Xwe(Re(Oe(U(c,IO)))),c),xe(Ge(t,Iv))===xe((Bb(),ig))?u$n(e,t,c):qxn(e,t,c),c}function v6n(e){var t,i,s,a,c,d,p,w;for(a=new J(e.b);a.a0?_u(i.a,0,c-1):""):(So(0,c-1,e.length),e.substr(0,c-1)):i?i.a:e}function _6n(e,t){var i,s,a,c,d,p,w;for(t.Ug("Sort By Input Model "+U(e,(dt(),ob)),1),a=0,s=new J(e.b);s.a=e.b.length?(c[a++]=d.b[s++],c[a++]=d.b[s++]):s>=d.b.length?(c[a++]=e.b[i++],c[a++]=e.b[i++]):d.b[s]0?e.i:0)),++t;for(Pwe(e.n,w),e.d=i,e.r=s,e.g=0,e.f=0,e.e=0,e.o=si,e.p=si,c=new J(e.b);c.a0&&(a=(!e.n&&(e.n=new We(ys,e,1,7)),u(we(e.n,0),135)).a,!a||lr(lr((t.a+=' "',t),a),'"'))),i=(!e.b&&(e.b=new Xt(Tn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Xt(Tn,e,5,8)),e.c.i<=1))),i?t.a+=" [":t.a+=" ",lr(t,Hbe(new gz,new vn(e.b))),i&&(t.a+="]"),t.a+=QZ,i&&(t.a+="["),lr(t,Hbe(new gz,new vn(e.c))),i&&(t.a+="]"),t.a)}function E6n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn;for(He=e.c,Ke=t.c,i=Ns(He.a,e,0),s=Ns(Ke.a,t,0),ge=u(im(e,(ls(),hc)).Kc().Pb(),12),It=u(im(e,al).Kc().Pb(),12),ke=u(im(t,hc).Kc().Pb(),12),tn=u(im(t,al).Kc().Pb(),12),ie=fh(ge.e),lt=fh(It.g),ue=fh(ke.e),Pt=fh(tn.g),Qy(e,s,Ke),d=ue,v=0,W=d.length;vv?new d0((ad(),jv),i,t,y-v):y>0&&v>0&&(new d0((ad(),jv),t,i,0),new d0(jv,i,t,0))),d)}function A6n(e,t,i){var s,a,c;for(e.a=new it,c=Fn(t.b,0);c.b!=c.d.c;){for(a=u(Ln(c),40);u(U(a,(ba(),Ih)),17).a>e.a.c.length-1;)ot(e.a,new Ji(h_,$Se));s=u(U(a,Ih),17).a,i==(Fi(),xs)||i==js?(a.e.aRe(Oe(u(gt(e.a,s),42).b))&&zK(u(gt(e.a,s),42),a.e.a+a.f.a)):(a.e.bRe(Oe(u(gt(e.a,s),42).b))&&zK(u(gt(e.a,s),42),a.e.b+a.f.b))}}function gvt(e,t,i,s){var a,c,d,p,w,y,v;if(c=Gj(s),p=bt(ht(U(s,(dt(),lAe)))),(p||bt(ht(U(e,vW))))&&!x2(u(U(e,Si),101)))a=qE(c),w=Dve(e,i,i==(ls(),al)?a:U7(a));else switch(w=new Ma,ra(w,e),t?(v=w.n,v.a=t.a-e.n.a,v.b=t.b-e.n.b,S0t(v,0,0,e.o.a,e.o.b),Qi(w,Lyt(w,c))):(a=qE(c),Qi(w,i==(ls(),al)?a:U7(a))),d=u(U(s,(Je(),Xa)),21),y=w.j,c.g){case 2:case 1:(y==(ct(),dn)||y==Mn)&&d.Fc((cs(),$_));break;case 4:case 3:(y==(ct(),yn)||y==bn)&&d.Fc((cs(),$_))}return w}function wvt(e,t){var i,s,a,c,d,p;for(d=new y0(new e0(e.f.b).a);d.b;){if(c=em(d),a=u(c.ld(),602),t==1){if(a.Af()!=(Fi(),ju)&&a.Af()!=qd)continue}else if(a.Af()!=(Fi(),xs)&&a.Af()!=js)continue;switch(s=u(u(c.md(),42).b,86),p=u(u(c.md(),42).a,194),i=p.c,a.Af().g){case 2:s.g.c=e.e.a,s.g.b=g.Math.max(1,s.g.b+i);break;case 1:s.g.c=s.g.c+i,s.g.b=g.Math.max(1,s.g.b-i);break;case 4:s.g.d=e.e.b,s.g.a=g.Math.max(1,s.g.a+i);break;case 3:s.g.d=s.g.d+i,s.g.a=g.Math.max(1,s.g.a-i)}}}function C6n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V;for(p=Ne(Gn,ur,28,t.b.c.length,15,1),y=Ne(Cne,Ve,273,t.b.c.length,0,1),w=Ne(ib,zp,10,t.b.c.length,0,1),x=e.a,N=0,j=x.length;N0&&w[s]&&(W=P2(e.b,w[s],a)),V=g.Math.max(V,a.c.c.b+W);for(c=new J(v.e);c.a1)throw Z(new un(iO));w||(c=Vh(t,s.Kc().Pb()),d.Fc(c))}return Q0e(e,yye(e,t,i),d)}function zF(e,t,i){var s,a,c,d,p,w,y,v;if(Kb(e.e,t))w=(is(),u(t,69).xk()?new sL(t,e):new C8(t,e)),CF(w.c,w.b),MC(w,u(i,16));else{for(v=gl(e.e.Dh(),t),s=u(e.g,124),d=0;d"}w!=null&&(t.a+=""+w)}else e.e?(p=e.e.zb,p!=null&&(t.a+=""+p)):(t.a+="?",e.b?(t.a+=" super ",DQ(e.b,t)):e.f&&(t.a+=" extends ",DQ(e.f,t)))}function P6n(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function O6n(e){var t,i,s,a;if(s=qQ((!e.c&&(e.c=r7(Ra(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return s;if(t=j0e(e)<0?1:0,i=e.e,a=(s.length+1+g.Math.abs(Yi(e.e)),new hE),t==1&&(a.a+="-"),e.e>0)if(i-=s.length-t,i>=0){for(a.a+="0.";i>H0.length;i-=H0.length)dst(a,H0);Jit(a,H0,Yi(i)),lr(a,(fn(t,s.length+1),s.substr(t)))}else i=t-i,lr(a,_u(s,t,Yi(i))),a.a+=".",lr(a,Lge(s,Yi(i)));else{for(lr(a,(fn(t,s.length+1),s.substr(t)));i<-H0.length;i+=H0.length)dst(a,H0);Jit(a,H0,Yi(-i))}return a.a}function LQ(e){var t,i,s,a,c,d,p,w,y;return!(e.k!=(hn(),Ai)||e.j.c.length<=1||(c=u(U(e,(dt(),Si)),101),c==(go(),Ja))||(a=(Yy(),(e.q?e.q:(Gt(),Gt(),nb))._b(Nm)?s=u(U(e,Nm),203):s=u(U(Co(e),e$),203),s),a==TW)||!(a==F_||a==j_)&&(d=Re(Oe(Jy(e,t$))),t=u(U(e,PO),140),!t&&(t=new vpe(d,d,d,d)),y=sa(e,(ct(),bn)),w=t.d+t.a+(y.gc()-1)*d,w>e.o.b||(i=sa(e,yn),p=t.d+t.a+(i.gc()-1)*d,p>e.o.b)))}function N6n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q;t.Ug("Orthogonal edge routing",1),y=Re(Oe(U(e,(dt(),L_)))),i=Re(Oe(U(e,M_))),s=Re(Oe(U(e,X0))),N=new sX(0,i),q=0,d=new _o(e.b,0),p=null,v=null,w=null,x=null;do v=d.b0?(j=(W-1)*i,p&&(j+=s),v&&(j+=s),jt||bt(ht(Ge(w,(jd(),GO)))))&&(a=0,c+=v.b+i,en(x.c,v),v=new p1e(c,i),s=new FJ(0,v.f,v,i),vj(v,s),a=0),s.b.c.length==0||!bt(ht(Ge(oi(w),(jd(),xie))))&&(w.f>=s.o&&w.f<=s.f||s.a*.5<=w.f&&s.a*1.5>=w.f)?jwe(s,w):(d=new FJ(s.s+s.r+i,v.f,v,i),vj(v,d),jwe(d,w)),a=w.i+w.g;return en(x.c,v),x}function ex(e){var t,i,s,a;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,a=0;a=e.b[a+1])a+=2;else if(i0)for(s=new sc(u(Or(e.a,c),21)),Gt(),Pi(s,new Mde(t)),a=new _o(c.b,0);a.b0&&s>=-6?s>=0?I8(c,i-Yi(e.e),"."):(xJ(c,t-1,t-1,"0."),I8(c,t+1,dh(H0,0,-Yi(s)-1))):(i-t>=1&&(I8(c,t,"."),++i),I8(c,i,"E"),s>0&&I8(c,++i,"+"),I8(c,++i,""+zC(Ra(s)))),e.g=c.a,e.g))}function V6n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt;s=Re(Oe(U(t,(dt(),fAe)))),He=u(U(t,n$),17).a,N=4,a=3,Ke=20/He,j=!1,w=0,d=xr;do{for(c=w!=1,x=w!=0,lt=0,q=e.a,ue=0,ke=q.length;ueHe)?(w=2,d=xr):w==0?(w=1,d=lt):(w=0,d=lt)):(j=lt>=d||d-lt0?1:$w(isNaN(s),isNaN(0)))>=0^(If(kh),(g.Math.abs(p)<=kh||p==0||isNaN(p)&&isNaN(0)?0:p<0?-1:p>0?1:$w(isNaN(p),isNaN(0)))>=0)?g.Math.max(p,s):(If(kh),(g.Math.abs(s)<=kh||s==0||isNaN(s)&&isNaN(0)?0:s<0?-1:s>0?1:$w(isNaN(s),isNaN(0)))>0?g.Math.sqrt(p*p+s*s):-g.Math.sqrt(p*p+s*s))}function x0(e,t){var i,s,a,c,d,p;if(t){if(!e.a&&(e.a=new UM),e.e==2){WM(e.a,t);return}if(t.e==1){for(a=0;a=ts?ps(i,Lwe(s)):PR(i,s&Bi),d=new RX(10,null,0),$cn(e.a,d,p-1)):(i=(d.Mm().length+c,new cC),ps(i,d.Mm())),t.e==0?(s=t.Km(),s>=ts?ps(i,Lwe(s)):PR(i,s&Bi)):ps(i,t.Mm()),u(d,530).b=i.a}}function z6n(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q;if(!i.dc()){for(p=0,N=0,s=i.Kc(),W=u(s.Pb(),17).a;p1&&(w=y.Hg(w,e.a,p));return w.c.length==1?u(gt(w,w.c.length-1),238):w.c.length==2?D6n((Kt(0,w.c.length),u(w.c[0],238)),(Kt(1,w.c.length),u(w.c[1],238)),d,c):null}function Q6n(e,t,i){var s,a,c,d,p,w,y;for(i.Ug("Find roots",1),e.a.c.length=0,a=Fn(t.b,0);a.b!=a.d.c;)s=u(Ln(a),40),s.b.b==0&&(Ue(s,(Gr(),v1),(on(),!0)),ot(e.a,s));switch(e.a.c.length){case 0:c=new jJ(0,t,"DUMMY_ROOT"),Ue(c,(Gr(),v1),(on(),!0)),Ue(c,Yre,!0),sr(t.b,c);break;case 1:break;default:for(d=new jJ(0,t,MB),w=new J(e.a);w.a=g.Math.abs(s.b)?(s.b=0,c.d+c.a>d.d&&c.dd.c&&c.c0){if(t=new mbe(e.i,e.g),i=e.i,c=i<100?null:new Og(i),e.Tj())for(s=0;s0){for(p=e.g,y=e.i,a5(e),c=y<100?null:new Og(y),s=0;s>13|(e.m&15)<<9,a=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,d=(e.h&1048320)>>8,p=t.l&8191,w=t.l>>13|(t.m&15)<<9,y=t.m>>4&8191,v=t.m>>17|(t.h&255)<<5,x=(t.h&1048320)>>8,Pt=i*p,It=s*p,tn=a*p,nn=c*p,An=d*p,w!=0&&(It+=i*w,tn+=s*w,nn+=a*w,An+=c*w),y!=0&&(tn+=i*y,nn+=s*y,An+=a*y),v!=0&&(nn+=i*v,An+=s*v),x!=0&&(An+=i*x),j=Pt&Rc,W=(It&511)<<13,N=j+W,q=Pt>>22,ie=It>>9,ue=(tn&262143)<<4,ge=(nn&31)<<17,V=q+ie+ue+ge,He=tn>>18,Ke=nn>>5,lt=(An&4095)<<8,ke=He+Ke+lt,V+=N>>22,N&=Rc,ke+=V>>22,V&=Rc,ke&=qb,ul(N,V,ke)}function xvt(e){var t,i,s,a,c,d,p;if(p=u(gt(e.j,0),12),p.g.c.length!=0&&p.e.c.length!=0)throw Z(new _s("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(p.g.c.length!=0){for(c=si,i=new J(p.g);i.a4)if(e.fk(t)){if(e.al()){if(a=u(t,54),s=a.Eh(),w=s==e.e&&(e.ml()?a.yh(a.Fh(),e.il())==e.jl():-1-a.Fh()==e.Lj()),e.nl()&&!w&&!s&&a.Jh()){for(c=0;c0&&$0t(e,p,x);for(a=new J(x);a.ae.d[d.p]&&(i+=I1e(e.b,c)*u(w.b,17).a,Vg(e.a,rt(c)));for(;!lC(e.a);)c0e(e.b,u(IE(e.a),17).a)}return i}function rCn(e,t){var i,s,a,c,d,p,w,y,v,x;if(v=u(U(e,(Je(),ya)),64),s=u(gt(e.j,0),12),v==(ct(),dn)?Qi(s,Mn):v==Mn&&Qi(s,dn),u(U(t,(dt(),z0)),181).Hc((jc(),nw))){if(w=Re(Oe(U(e,OA))),y=Re(Oe(U(e,NA))),d=Re(Oe(U(e,Mv))),p=u(U(t,Ov),21),p.Hc((fc(),tp)))for(i=y,x=e.o.a/2-s.n.a,c=new J(s.f);c.a0&&(y=e.n.a/c);break;case 2:case 4:a=e.i.o.b,a>0&&(y=e.n.b/a)}Ue(e,(Je(),Im),y)}if(w=e.o,d=e.a,s)d.a=s.a,d.b=s.b,e.d=!0;else if(t!=Jd&&t!=k1&&p!=la)switch(p.g){case 1:d.a=w.a/2;break;case 2:d.a=w.a,d.b=w.b/2;break;case 3:d.a=w.a/2,d.b=w.b;break;case 4:d.b=w.b/2}else d.a=w.a/2,d.b=w.b/2}function tx(e){var t,i,s,a,c,d,p,w,y,v;if(e.Pj())if(v=e.Ej(),w=e.Qj(),v>0)if(t=new W0e(e.pj()),i=v,c=i<100?null:new Og(i),M8(e,i,t.g),a=i==1?e.Ij(4,we(t,0),null,0,w):e.Ij(6,t,null,-1,w),e.Mj()){for(s=new vn(t);s.e!=s.i.gc();)c=e.Oj(Rn(s),c);c?(c.nj(a),c.oj()):e.Jj(a)}else c?(c.nj(a),c.oj()):e.Jj(a);else M8(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(Gt(),Qo),null,-1,w));else if(e.Mj())if(v=e.Ej(),v>0){for(p=e.Fj(),y=v,M8(e,v,p),c=y<100?null:new Og(y),s=0;s1&&Kl(d)*Mc(d)/2>p[0]){for(c=0;cp[c];)++c;W=new $p(V,0,c+1),x=new pj(W),v=Kl(d)/Mc(d),w=KQ(x,t,new aE,i,s,a,v),$r(id(x.e),w),CE(C4(N,x),z4),j=new $p(V,c+1,V.c.length),Ame(N,j),V.c.length=0,y=0,$st(p,p.length,0)}else q=N.b.c.length==0?null:gt(N.b,0),q!=null&&vJ(N,0),y>0&&(p[y]=p[y-1]),p[y]+=Kl(d)*Mc(d),++y,en(V.c,d);return V}function cCn(e,t){var i,s,a,c;i=t.b,c=new sc(i.j),a=0,s=i.j,s.c.length=0,Lw(u(m0(e.b,(ct(),dn),(Zw(),Cm)),15),i),a=q7(c,a,new CHe,s),Lw(u(m0(e.b,dn,b1),15),i),a=q7(c,a,new vHe,s),Lw(u(m0(e.b,dn,Am),15),i),Lw(u(m0(e.b,yn,Cm),15),i),Lw(u(m0(e.b,yn,b1),15),i),a=q7(c,a,new xHe,s),Lw(u(m0(e.b,yn,Am),15),i),Lw(u(m0(e.b,Mn,Cm),15),i),a=q7(c,a,new $He,s),Lw(u(m0(e.b,Mn,b1),15),i),a=q7(c,a,new IHe,s),Lw(u(m0(e.b,Mn,Am),15),i),Lw(u(m0(e.b,bn,Cm),15),i),a=q7(c,a,new EHe,s),Lw(u(m0(e.b,bn,b1),15),i),Lw(u(m0(e.b,bn,Am),15),i)}function uCn(e,t,i){var s,a,c,d,p,w,y,v,x,N,j;for(p=new J(t);p.a.5?ie-=d*2*(W-.5):W<.5&&(ie+=c*2*(.5-W)),a=p.d.b,ieq.a-V-v&&(ie=q.a-V-v),p.n.a=t+ie}}function bCn(e){var t,i,s,a,c;if(s=u(U(e,(dt(),yl)),171),s==(Iu(),g1)){for(i=new Sn(kn(so(e).a.Kc(),new M));Bn(i);)if(t=u($n(i),18),!Uut(t))throw Z(new vp(nee+J7(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(s==xv){for(c=new Sn(kn($i(e).a.Kc(),new M));Bn(c);)if(a=u($n(c),18),!Uut(a))throw Z(new vp(nee+J7(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function _P(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W;if(e.e&&e.c.c>19&&(t=l4(t),w=!w),d=Q3n(t),c=!1,a=!1,s=!1,e.h==TP&&e.m==0&&e.l==0)if(a=!0,c=!0,d==-1)e=prt((GR(),d3e)),s=!0,w=!w;else return p=Xye(e,d),w&&LJ(p),i&&(u1=ul(0,0,0)),p;else e.h>>19&&(c=!0,e=l4(e),s=!0,w=!w);return d!=-1?C1n(e,d,w,c,i):Nme(e,t)<0?(i&&(c?u1=l4(e):u1=ul(e.l,e.m,e.h)),ul(0,0,0)):X4n(s?e:ul(e.l,e.m,e.h),t,w,c,a,i)}function HQ(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W;if(d=e.e,w=t.e,d==0)return t;if(w==0)return e;if(c=e.d,p=t.d,c+p==2)return i=ro(e.a[0],us),s=ro(t.a[0],us),d==w?(v=Uo(i,s),W=Yn(v),j=Yn(Bg(v,32)),j==0?new Nb(d,W):new l0(d,2,oe(re(Gn,1),ur,28,15,[W,j]))):(ph(),PD(d<0?Xu(s,i):Xu(i,s),0)?Qg(d<0?Xu(s,i):Xu(i,s)):JC(Qg(Op(d<0?Xu(s,i):Xu(i,s)))));if(d==w)N=d,x=c>=p?JX(e.a,c,t.a,p):JX(t.a,p,e.a,c);else{if(a=c!=p?c>p?1:-1:dwe(e.a,t.a,c),a==0)return ph(),Dx;a==1?(N=d,x=qX(e.a,c,t.a,p)):(N=w,x=qX(t.a,p,e.a,c))}return y=new l0(N,x.length,x),n5(y),y}function gCn(e,t){var i,s,a,c,d,p,w;if(!(e.g>t.f||t.g>e.f)){for(i=0,s=0,d=e.w.a.ec().Kc();d.Ob();)a=u(d.Pb(),12),XJ(oa(oe(re(ao,1),tt,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&++i;for(p=e.r.a.ec().Kc();p.Ob();)a=u(p.Pb(),12),XJ(oa(oe(re(ao,1),tt,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&--i;for(w=t.w.a.ec().Kc();w.Ob();)a=u(w.Pb(),12),XJ(oa(oe(re(ao,1),tt,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&++s;for(c=t.r.a.ec().Kc();c.Ob();)a=u(c.Pb(),12),XJ(oa(oe(re(ao,1),tt,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&--s;i=0)return i;switch(Ww(Es(e,i))){case 2:{if(Ft("",Lp(e,i.qk()).xe())){if(w=J8(Es(e,i)),p=MR(Es(e,i)),v=Zye(e,t,w,p),v)return v;for(a=$ve(e,t),d=0,x=a.gc();d1)throw Z(new un(iO));for(v=gl(e.e.Dh(),t),s=u(e.g,124),d=0;d1,y=new Td(N.b);na(y.a)||na(y.b);)w=u(na(y.a)?X(y.a):X(y.b),18),x=w.c==N?w.d:w.c,g.Math.abs(oa(oe(re(ao,1),tt,8,0,[x.i.n,x.n,x.a])).b-d.b)>1&&rRn(e,w,d,c,N)}}function SCn(e){var t,i,s,a,c,d;if(a=new _o(e.e,0),s=new _o(e.a,0),e.d)for(i=0;iDee;){for(c=t,d=0;g.Math.abs(t-c)0),a.a.Xb(a.c=--a.b),LAn(e,e.b-d,c,s,a),Cn(a.b0),s.a.Xb(s.c=--s.b)}if(!e.d)for(i=0;i0?(e.f[v.p]=j/(v.e.c.length+v.g.c.length),e.c=g.Math.min(e.c,e.f[v.p]),e.b=g.Math.max(e.b,e.f[v.p])):p&&(e.f[v.p]=j)}}function kCn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function RCn(e,t,i){var s,a,c,d;for(i.Ug("Graph transformation ("+e.a+")",1),d=zw(t.a),c=new J(t.b);c.a=p.b.c)&&(p.b=t),(!p.c||t.c<=p.c.c)&&(p.d=p.c,p.c=t),(!p.e||t.d>=p.e.d)&&(p.e=t),(!p.f||t.d<=p.f.d)&&(p.f=t);return s=new sF((s4(),Rm)),i7(e,G4t,new oc(oe(re(wO,1),Zt,382,0,[s]))),d=new sF(Sv),i7(e,V4t,new oc(oe(re(wO,1),Zt,382,0,[d]))),a=new sF(_v),i7(e,U4t,new oc(oe(re(wO,1),Zt,382,0,[a]))),c=new sF(E_),i7(e,W4t,new oc(oe(re(wO,1),Zt,382,0,[c]))),dQ(s.c,Rm),dQ(a.c,_v),dQ(c.c,E_),dQ(d.c,Sv),p.a.c.length=0,Gi(p.a,s.c),Gi(p.a,$u(a.c)),Gi(p.a,c.c),Gi(p.a,$u(d.c)),p}function xCn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W;for(t.Ug(USt,1),j=Re(Oe(Ge(e,(qh(),Fv)))),d=Re(Oe(Ge(e,(jd(),y$)))),p=u(Ge(e,m$),107),D0e((!e.a&&(e.a=new We(Er,e,10,11)),e.a)),v=kvt((!e.a&&(e.a=new We(Er,e,10,11)),e.a),j,d),!e.a&&(e.a=new We(Er,e,10,11)),y=new J(v);y.a0&&(e.a=w+(j-1)*c,t.c.b+=e.a,t.f.b+=e.a)),W.a.gc()!=0&&(N=new sX(1,c),j=n2e(N,t,W,V,t.f.b+w-t.c.b),j>0&&(t.f.b+=w+(j-1)*c))}function Tvt(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;for(v=Re(Oe(U(e,(dt(),Dm)))),s=Re(Oe(U(e,_Ae))),N=new DK,Ue(N,Dm,v+s),y=t,ie=y.d,V=y.c.i,ue=y.d.i,q=Rbe(V.c),ge=Rbe(ue.c),a=new it,x=q;x<=ge;x++)p=new Vb(e),Q1(p,(hn(),co)),Ue(p,(Je(),Nr),y),Ue(p,Si,(go(),Ja)),Ue(p,AW,N),j=u(gt(e.b,x),30),x==q?Qy(p,j.a.c.length-i,j):vo(p,j),ke=Re(Oe(U(y,Yp))),ke<0&&(ke=0,Ue(y,Yp,ke)),p.o.b=ke,W=g.Math.floor(ke/2),d=new Ma,Qi(d,(ct(),bn)),ra(d,p),d.n.b=W,w=new Ma,Qi(w,yn),ra(w,p),w.n.b=W,po(y,d),c=new Vw,Ms(c,y),Ue(c,Cs,null),Wo(c,w),po(c,ie),wvn(p,y,c),en(a.c,c),y=c;return a}function WQ(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge;for(w=u(Up(e,(ct(),bn)).Kc().Pb(),12).e,j=u(Up(e,yn).Kc().Pb(),12).g,p=w.c.length,ge=$d(u(gt(e.j,0),12));p-- >0;){for(V=(Kt(0,w.c.length),u(w.c[0],18)),a=(Kt(0,j.c.length),u(j.c[0],18)),ue=a.d.e,c=Ns(ue,a,0),Qdn(V,a.d,c),Wo(a,null),po(a,null),W=V.a,t&&sr(W,new qo(ge)),s=Fn(a.a,0);s.b!=s.d.c;)i=u(Ln(s),8),sr(W,new qo(i));for(ie=V.b,N=new J(a.b);N.ad)&&Vi(e.b,u(q.b,18));++p}c=d}}}function Zve(e,t){var i;if(t==null||Ft(t,Ml)||t.length==0&&e.k!=(Vp(),M3))return null;switch(e.k.g){case 1:return tF(t,sA)?(on(),hA):tF(t,ete)?(on(),f1):null;case 2:try{return rt(tu(t,Do,xr))}catch(s){if(s=ci(s),pe(s,130))return null;throw Z(s)}case 4:try{return ev(t)}catch(s){if(s=ci(s),pe(s,130))return null;throw Z(s)}case 3:return t;case 5:return Qbt(e),fwt(e,t);case 6:return Qbt(e),$3n(e,e.a,t);case 7:try{return i=BEn(e),i.cg(t),i}catch(s){if(s=ci(s),pe(s,33))return null;throw Z(s)}default:throw Z(new _s("Invalid type set for this layout option."))}}function e2e(e){var t;switch(e.d){case 1:{if(e.Sj())return e.o!=-2;break}case 2:{if(e.Sj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.Rj(),e.p){case 0:return t!=null&&bt(ht(t))!=IC(e.k,0);case 1:return t!=null&&u(t,222).a!=Yn(e.k)<<24>>24;case 2:return t!=null&&u(t,180).a!=(Yn(e.k)&Bi);case 6:return t!=null&&IC(u(t,168).a,e.k);case 5:return t!=null&&u(t,17).a!=Yn(e.k);case 7:return t!=null&&u(t,191).a!=Yn(e.k)<<16>>16;case 3:return t!=null&&Re(Oe(t))!=e.j;case 4:return t!=null&&u(t,161).a!=e.j;default:return t==null?e.n!=null:!Tr(t,e.n)}}function SP(e,t,i){var s,a,c,d;return e.ol()&&e.nl()&&(d=eX(e,u(i,58)),xe(d)!==xe(i))?(e.xj(t),e.Dj(t,Mft(e,t,d)),e.al()&&(c=(a=u(i,54),e.ml()?e.kl()?a.Th(e.b,os(u(Yt(Tl(e.b),e.Lj()),19)).n,u(Yt(Tl(e.b),e.Lj()).Hk(),29).kk(),null):a.Th(e.b,ui(a.Dh(),os(u(Yt(Tl(e.b),e.Lj()),19))),null,null):a.Th(e.b,-1-e.Lj(),null,null)),!u(d,54).Ph()&&(c=(s=u(d,54),e.ml()?e.kl()?s.Rh(e.b,os(u(Yt(Tl(e.b),e.Lj()),19)).n,u(Yt(Tl(e.b),e.Lj()).Hk(),29).kk(),c):s.Rh(e.b,ui(s.Dh(),os(u(Yt(Tl(e.b),e.Lj()),19))),null,c):s.Rh(e.b,-1-e.Lj(),null,c))),c&&c.oj()),Pc(e.b)&&e.Jj(e.Ij(9,i,d,t,!1)),d):i}function Pvt(e){var t,i,s,a,c,d,p,w,y,v;for(s=new it,d=new J(e.e.a);d.a0&&(d=g.Math.max(d,Lht(e.C.b+s.d.b,a))),v=s,x=a,N=c;e.C&&e.C.c>0&&(j=N+e.C.c,y&&(j+=v.d.c),d=g.Math.max(d,(Rd(),If(Bd),g.Math.abs(x-1)<=Bd||x==1||isNaN(x)&&isNaN(1)?0:j/(1-x)))),i.n.b=0,i.a.a=d}function Nvt(e,t){var i,s,a,c,d,p,w,y,v,x,N,j;if(i=u(gs(e.b,t),127),w=u(u(Or(e.r,t),21),87),w.dc()){i.n.d=0,i.n.a=0;return}for(y=e.u.Hc((fc(),tp)),d=0,e.A.Hc((jc(),nw))&&cyt(e,t),p=w.Kc(),v=null,N=0,x=0;p.Ob();)s=u(p.Pb(),117),c=Re(Oe(s.b.of((GD(),yH)))),a=s.b.Mf().b,v?(j=x+v.d.a+e.w+s.d.d,d=g.Math.max(d,(Rd(),If(Bd),g.Math.abs(N-c)<=Bd||N==c||isNaN(N)&&isNaN(c)?0:j/(c-N)))):e.C&&e.C.d>0&&(d=g.Math.max(d,Lht(e.C.d+s.d.d,c))),v=s,N=c,x=a;e.C&&e.C.a>0&&(j=x+e.C.a,y&&(j+=v.d.a),d=g.Math.max(d,(Rd(),If(Bd),g.Math.abs(N-1)<=Bd||N==1||isNaN(N)&&isNaN(1)?0:j/(1-N)))),i.n.d=0,i.a.b=d}function TCn(e,t,i,s,a,c,d,p){var w,y,v,x,N,j,W,V,q,ie;if(W=!1,y=ave(i.q,t.f+t.b-i.q.f),j=s.f>t.b&&p,ie=a-(i.q.e+y-d),x=(w=Z5(s,ie,!1),w.a),j&&x>s.f)return!1;if(j){for(N=0,q=new J(t.d);q.a=(Kt(c,e.c.length),u(e.c[c],186)).e,!j&&x>t.b&&!v)?!1:((v||j||x<=t.b)&&(v&&x>t.b?(i.d=x,h7(i,v0t(i,x))):(j1t(i.q,y),i.c=!0),h7(s,a-(i.s+i.r)),X7(s,i.q.e+i.q.d,t.f),vj(t,s),e.c.length>c&&(Q7((Kt(c,e.c.length),u(e.c[c],186)),s),(Kt(c,e.c.length),u(e.c[c],186)).a.c.length==0&&Tp(e,c)),W=!0),W)}function Mvt(e,t,i){var s,a,c,d,p,w;for(this.g=e,p=t.d.length,w=i.d.length,this.d=Ne(ib,zp,10,p+w,0,1),d=0;d0?hJ(this,this.f/this.a):Ad(t.g,t.d[0]).a!=null&&Ad(i.g,i.d[0]).a!=null?hJ(this,(Re(Ad(t.g,t.d[0]).a)+Re(Ad(i.g,i.d[0]).a))/2):Ad(t.g,t.d[0]).a!=null?hJ(this,Ad(t.g,t.d[0]).a):Ad(i.g,i.d[0]).a!=null&&hJ(this,Ad(i.g,i.d[0]).a)}function PCn(e,t){var i,s,a,c,d,p,w,y,v,x;for(e.a=new bat(b1n(x$)),s=new J(t.a);s.a=1&&(q-d>0&&x>=0?(w.n.a+=V,w.n.b+=c*d):q-d<0&&v>=0&&(w.n.a+=V*q,w.n.b+=c));e.o.a=t.a,e.o.b=t.b,Ue(e,(dt(),z0),(jc(),s=u(nd(M$),9),new yu(s,u(Af(s,s.length),9),0)))}function MCn(e,t,i,s,a,c){var d;if(!(t==null||!sY(t,Wxe,Uxe)))throw Z(new un("invalid scheme: "+t));if(!e&&!(i!=null&&ih(i,Nl(35))==-1&&i.length>0&&(fn(0,i.length),i.charCodeAt(0)!=47)))throw Z(new un("invalid opaquePart: "+i));if(e&&!(t!=null&&c8(CU,t.toLowerCase()))&&!(i==null||!sY(i,F$,B$)))throw Z(new un(w3t+i));if(e&&t!=null&&c8(CU,t.toLowerCase())&&!b2n(i))throw Z(new un(w3t+i));if(!vwn(s))throw Z(new un("invalid device: "+s));if(!i0n(a))throw d=a==null?"invalid segments: null":"invalid segment: "+e0n(a),Z(new un(d));if(!(c==null||ih(c,Nl(35))==-1))throw Z(new un("invalid query: "+c))}function DCn(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie;if(i.Ug("Network simplex layering",1),e.b=t,ie=u(U(t,(dt(),n$)),17).a*4,q=e.b.a,q.c.length<1){i.Vg();return}for(c=O4n(e,q),V=null,a=Fn(c,0);a.b!=a.d.c;){for(s=u(Ln(a),15),p=ie*Yi(g.Math.sqrt(s.gc())),d=q4n(s),kQ(vhe(Dnn(_he(Oq(d),p),V),!0),i.eh(1)),N=e.b.b,W=new J(d.a);W.a1)for(V=Ne(Gn,ur,28,e.b.b.c.length,15,1),x=0,y=new J(e.b.b);y.a0){nF(e,i,0),i.a+=String.fromCharCode(s),a=imn(t,c),nF(e,i,a),c+=a-1;continue}s==39?c+10&&W.a<=0){w.c.length=0,en(w.c,W);break}j=W.i-W.d,j>=p&&(j>p&&(w.c.length=0,p=j),en(w.c,W))}w.c.length!=0&&(d=u(gt(w,uF(a,w.c.length)),118),ge.a.Bc(d)!=null,d.g=v++,Wve(d,t,i,s),w.c.length=0)}for(q=e.c.length+1,N=new J(e);N.aKi||t.o==J0&&v=p&&a<=w)p<=a&&c<=w?(i[v++]=a,i[v++]=c,s+=2):p<=a?(i[v++]=a,i[v++]=w,e.b[s]=w+1,d+=2):c<=w?(i[v++]=p,i[v++]=c,s+=2):(i[v++]=p,i[v++]=w,e.b[s]=w+1);else if(wi1)&&p<10);Ehe(e.c,new fje),Fvt(e),Tcn(e.c),ACn(e.f)}function GCn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V;for(i=u(U(e,(dt(),Si)),101),d=e.f,c=e.d,p=d.a+c.b+c.c,w=0-c.d-e.c.b,v=d.b+c.d+c.a-e.c.b,y=new it,x=new it,a=new J(t);a.a=2){for(w=Fn(i,0),d=u(Ln(w),8),p=u(Ln(w),8);p.a0&&O7(y,!0,(Fi(),js)),p.k==(hn(),Oi)&&Eat(y),wr(e.f,p,t)}}function qCn(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;for(a=u(U(e,(Gr(),b$)),27),y=xr,v=xr,p=Do,w=Do,ge=Fn(e.b,0);ge.b!=ge.d.c;)ie=u(Ln(ge),40),j=ie.e,W=ie.f,y=g.Math.min(y,j.a-W.a/2),v=g.Math.min(v,j.b-W.b/2),p=g.Math.max(p,j.a+W.a/2),w=g.Math.max(w,j.b+W.b/2);for(N=u(Ge(a,(ba(),P6e)),107),ue=Fn(e.b,0);ue.b!=ue.d.c;)ie=u(Ln(ue),40),x=U(ie,b$),pe(x,207)&&(c=u(x,27),wu(c,ie.e.a,ie.e.b),fP(c,ie));for(q=Fn(e.a,0);q.b!=q.d.c;)V=u(Ln(q),65),s=u(U(V,b$),74),s&&(t=V.a,i=r_(s,!0,!0),mP(t,i));ke=p-y+(N.b+N.c),d=w-v+(N.d+N.a),bt(ht(Ge(a,(br(),Bv))))||dm(a,ke,d,!1,!1),Lr(a,q_,ke-(N.b+N.c)),Lr(a,z_,d-(N.d+N.a))}function Hvt(e,t){var i,s,a,c,d,p,w,y,v,x;for(w=!0,a=0,y=e.g[t.p],v=t.o.b+e.o,i=e.d[t.p][2],Eu(e.b,y,rt(u(gt(e.b,y),17).a-1+i)),Eu(e.c,y,Re(Oe(gt(e.c,y)))-v+i*e.f),++y,y>=e.j?(++e.j,ot(e.b,rt(1)),ot(e.c,v)):(s=e.d[t.p][1],Eu(e.b,y,rt(u(gt(e.b,y),17).a+1-s)),Eu(e.c,y,Re(Oe(gt(e.c,y)))+v-s*e.f)),(e.r==(Yu(),OO)&&(u(gt(e.b,y),17).a>e.k||u(gt(e.b,y-1),17).a>e.k)||e.r==NO&&(Re(Oe(gt(e.c,y)))>e.n||Re(Oe(gt(e.c,y-1)))>e.n))&&(w=!1),d=new Sn(kn(so(t).a.Kc(),new M));Bn(d);)c=u($n(d),18),p=c.c.i,e.g[p.p]==y&&(x=Hvt(e,p),a=a+u(x.a,17).a,w=w&&bt(ht(x.b)));return e.g[t.p]=y,a=a+e.d[t.p][0],new Ji(rt(a),(on(),!!w))}function Wvt(e,t){var i,s,a,c,d;i=Re(Oe(U(t,(dt(),Ff)))),i<2&&Ue(t,Ff,2),s=u(U(t,su),88),s==(Fi(),Xd)&&Ue(t,su,Gj(t)),a=u(U(t,o5t),17),a.a==0?Ue(t,(Je(),I3),new lY):Ue(t,(Je(),I3),new qL(a.a)),c=ht(U(t,Zx)),c==null&&Ue(t,Zx,(on(),xe(U(t,Zb))===xe((Hb(),KA)))),Ei(new Lt(null,new Wt(t.a,16)),new Ode(e)),Ei(ia(new Lt(null,new Wt(t.b,16)),new Vfe),new Nde(e)),d=new Dvt(t),Ue(t,(Je(),O_),d),X8(e.a),od(e.a,(Mo(),jf),u(U(t,V0),188)),od(e.a,rb,u(U(t,K0),188)),od(e.a,La,u(U(t,Qx),188)),od(e.a,za,u(U(t,kW),188)),od(e.a,Ls,qgn(u(U(t,Zb),223))),Cbe(e.a,Uxn(t)),Ue(t,ure,_P(e.a,t))}function n2e(e,t,i,s,a){var c,d,p,w,y,v,x,N,j,W,V,q,ie;for(x=new Dn,d=new it,H0t(e,i,e.d.Ag(),d,x),H0t(e,s,e.d.Bg(),d,x),e.b=.2*(V=Kwt(ia(new Lt(null,new Wt(d,16)),new JWe)),q=Kwt(ia(new Lt(null,new Wt(d,16)),new YWe)),g.Math.min(V,q)),c=0,p=0;p=2&&(ie=fmt(d,!0,N),!e.e&&(e.e=new vYe(e)),emn(e.e,ie,d,e.b)),q1t(d,N),e5n(d),j=-1,v=new J(d);v.ap)}function Uvt(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue;for(y=si,v=si,p=Ki,w=Ki,N=new J(t.i);N.a-1){for(a=Fn(p,0);a.b!=a.d.c;)s=u(Ln(a),131),s.v=d;for(;p.b!=0;)for(s=u(FY(p,0),131),i=new J(s.i);i.a-1){for(c=new J(p);c.a0)&&(yde(w,g.Math.min(w.o,a.o-1)),OM(w,w.i-1),w.i==0&&en(p.c,w))}}function Gvt(e,t,i,s,a){var c,d,p,w;return w=si,d=!1,p=zve(e,no(new Xe(t.a,t.b),e),$r(new Xe(i.a,i.b),a),no(new Xe(s.a,s.b),i)),c=!!p&&!(g.Math.abs(p.a-e.a)<=ym&&g.Math.abs(p.b-e.b)<=ym||g.Math.abs(p.a-t.a)<=ym&&g.Math.abs(p.b-t.b)<=ym),p=zve(e,no(new Xe(t.a,t.b),e),i,a),p&&((g.Math.abs(p.a-e.a)<=ym&&g.Math.abs(p.b-e.b)<=ym)==(g.Math.abs(p.a-t.a)<=ym&&g.Math.abs(p.b-t.b)<=ym)||c?w=g.Math.min(w,QC(no(p,i))):d=!0),p=zve(e,no(new Xe(t.a,t.b),e),s,a),p&&(d||(g.Math.abs(p.a-e.a)<=ym&&g.Math.abs(p.b-e.b)<=ym)==(g.Math.abs(p.a-t.a)<=ym&&g.Math.abs(p.b-t.b)<=ym)||c)&&(w=g.Math.min(w,QC(no(p,s)))),w}function Kvt(e){Rw(e,new C0(XM(Sw(yw(_w(vw(new J1,s1),U_t),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new sje),wl))),nt(e,s1,fx,ut(xke)),nt(e,s1,dB,(on(),!0)),nt(e,s1,b_,ut(x4t)),nt(e,s1,p3,ut($4t)),nt(e,s1,b3,ut(I4t)),nt(e,s1,Z4,ut(C4t)),nt(e,s1,dx,ut(Ike)),nt(e,s1,eA,ut(T4t)),nt(e,s1,Z2e,ut(Cke)),nt(e,s1,t_e,ut(Rke)),nt(e,s1,n_e,ut(Ake)),nt(e,s1,r_e,ut($ke)),nt(e,s1,e_e,ut(xH))}function t5n(e){var t,i,s,a,c,d,p,w;for(t=null,s=new J(e);s.a0&&i.c==0&&(!t&&(t=new it),en(t.c,i));if(t)for(;t.c.length!=0;){if(i=u(Tp(t,0),239),i.b&&i.b.c.length>0){for(c=(!i.b&&(i.b=new it),new J(i.b));c.aNs(e,i,0))return new Ji(a,i)}else if(Re(Ad(a.g,a.d[0]).a)>Re(Ad(i.g,i.d[0]).a))return new Ji(a,i)}for(p=(!i.e&&(i.e=new it),i.e).Kc();p.Ob();)d=u(p.Pb(),239),w=(!d.b&&(d.b=new it),d.b),jy(0,w.c.length),yC(w.c,0,i),d.c==w.c.length&&en(t.c,d)}return null}function n5n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie;for(t.Ug("Interactive crossing minimization",1),d=0,c=new J(e.b);c.a0&&(i+=w.n.a+w.o.a/2,++x),W=new J(w.j);W.a0&&(i/=x),ie=Ne(bo,ms,28,s.a.c.length,15,1),p=0,y=new J(s.a);y.a=p&&a<=w)p<=a&&c<=w?s+=2:p<=a?(e.b[s]=w+1,d+=2):c<=w?(i[v++]=a,i[v++]=p-1,s+=2):(i[v++]=a,i[v++]=p-1,e.b[s]=w+1,d+=2);else if(w2?(v=new it,Gi(v,new $p(ie,1,ie.b)),c=O2t(v,ge+e.a),ue=new cQ(c),Ms(ue,t),en(i.c,ue)):s?ue=u(_n(e.b,zh(t)),272):ue=u(_n(e.b,Zg(t)),272),w=zh(t),s&&(w=Zg(t)),d=tSn(q,w),y=ge+e.a,d.a?(y+=g.Math.abs(q.b-x.b),V=new Xe(x.a,(x.b+q.b)/2)):(y+=g.Math.abs(q.a-x.a),V=new Xe((x.a+q.a)/2,x.b)),s?wr(e.d,t,new vme(ue,d,V,y)):wr(e.c,t,new vme(ue,d,V,y)),wr(e.b,t,ue),W=(!t.n&&(t.n=new We(ys,t,1,7)),t.n),j=new vn(W);j.e!=j.i.gc();)N=u(Rn(j),135),a=bP(e,N,!0,0,0),en(i.c,a)}function r5n(e){var t,i,s,a,c,d,p;if(!e.A.dc()){if(e.A.Hc((jc(),c9))&&(u(gs(e.b,(ct(),dn)),127).k=!0,u(gs(e.b,Mn),127).k=!0,t=e.q!=(go(),cb)&&e.q!=Ja,gde(u(gs(e.b,yn),127),t),gde(u(gs(e.b,bn),127),t),gde(e.g,t),e.A.Hc(nw)&&(u(gs(e.b,dn),127).j=!0,u(gs(e.b,Mn),127).j=!0,u(gs(e.b,yn),127).k=!0,u(gs(e.b,bn),127).k=!0,e.g.k=!0)),e.A.Hc(l9))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,p=e.B.Hc((kc(),D$)),a=wY(),c=0,d=a.length;c0),u(v.a.Xb(v.c=--v.b),18));c!=s&&v.b>0;)e.a[c.p]=!0,e.a[s.p]=!0,c=(Cn(v.b>0),u(v.a.Xb(v.c=--v.b),18));v.b>0&&Dc(v)}}function qvt(e,t,i){var s,a,c,d,p,w,y,v,x,N,j;if(!e.b)return!1;for(d=null,N=null,w=new ZX(null,null),a=1,w.a[1]=e.b,x=w;x.a[a];)y=a,p=N,N=x,x=x.a[a],s=e.a.Ne(t,x.d),a=s<0?0:1,s==0&&(!i.c||ka(x.e,i.d))&&(d=x),!(x&&x.b)&&!Sy(x.a[a])&&(Sy(x.a[1-a])?N=N.a[y]=Cj(x,a):Sy(x.a[1-a])||(j=N.a[1-y],j&&(!Sy(j.a[1-y])&&!Sy(j.a[y])?(N.b=!1,j.b=!0,x.b=!0):(c=p.a[1]==N?1:0,Sy(j.a[y])?p.a[c]=kct(N,y):Sy(j.a[1-y])&&(p.a[c]=Cj(N,y)),x.b=p.a[c].b=!0,p.a[c].a[0].b=!1,p.a[c].a[1].b=!1))));return d&&(i.b=!0,i.d=d.e,x!=d&&(v=new ZX(x.d,x.e),s_n(e,w,d,v),N==d&&(N=v)),N.a[N.a[1]==x?1:0]=x.a[x.a[0]?0:1],--e.c),e.b=w.a[1],e.b&&(e.b.b=!1),i.b}function s5n(e){var t,i,s,a,c,d,p,w,y,v,x,N;for(a=new J(e.a.a.b);a.a0?a-=864e5:a+=864e5,w=new fpe(Uo(Ra(t.q.getTime()),a))),v=new hE,y=e.a.length,c=0;c=97&&s<=122||s>=65&&s<=90){for(d=c+1;d=y)throw Z(new un("Missing trailing '"));d+1=14&&v<=16))?t.a._b(s)?(i.a?lr(i.a,i.b):i.a=new Kc(i.d),PC(i.a,"[...]")):(p=g0(s),y=new UC(t),Mb(i,Jvt(p,y))):pe(s,183)?Mb(i,jSn(u(s,183))):pe(s,195)?Mb(i,E2n(u(s,195))):pe(s,201)?Mb(i,O_n(u(s,201))):pe(s,2111)?Mb(i,k2n(u(s,2111))):pe(s,53)?Mb(i,LSn(u(s,53))):pe(s,376)?Mb(i,tEn(u(s,376))):pe(s,846)?Mb(i,DSn(u(s,846))):pe(s,109)&&Mb(i,MSn(u(s,109))):Mb(i,s==null?Ml:zs(s));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function F4(e,t){var i,s,a,c;c=e.F,t==null?(e.F=null,d4(e,null)):(e.F=(gn(t),t),s=ih(t,Nl(60)),s!=-1?(a=(So(0,s,t.length),t.substr(0,s)),ih(t,Nl(46))==-1&&!Ft(a,o3)&&!Ft(a,Ax)&&!Ft(a,JB)&&!Ft(a,Cx)&&!Ft(a,xx)&&!Ft(a,$x)&&!Ft(a,Ix)&&!Ft(a,Tx)&&(a=I3t),i=WD(t,Nl(62)),i!=-1&&(a+=""+(fn(i+1,t.length+1),t.substr(i+1))),d4(e,a)):(a=t,ih(t,Nl(46))==-1&&(s=ih(t,Nl(91)),s!=-1&&(a=(So(0,s,t.length),t.substr(0,s))),!Ft(a,o3)&&!Ft(a,Ax)&&!Ft(a,JB)&&!Ft(a,Cx)&&!Ft(a,xx)&&!Ft(a,$x)&&!Ft(a,Ix)&&!Ft(a,Tx)?(a=I3t,s!=-1&&(a+=""+(fn(s,t.length+1),t.substr(s)))):a=t),d4(e,a),a==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&Ir(e,new lo(e,1,5,c,t))}function Yvt(e,t){var i,s,a,c,d,p,w,y,v,x;if(w=t.length-1,p=(fn(w,t.length),t.charCodeAt(w)),p==93){if(d=ih(t,Nl(91)),d>=0)return a=fwn(e,(So(1,d,t.length),t.substr(1,d-1))),v=(So(d+1,w,t.length),t.substr(d+1,w-(d+1))),Lxn(e,v,a)}else{if(i=-1,w3e==null&&(w3e=new RegExp("\\d")),w3e.test(String.fromCharCode(p))&&(i=$pe(t,Nl(46),w-1),i>=0)){s=u(zX(e,Fdt(e,(So(1,i,t.length),t.substr(1,i-1))),!1),61),y=0;try{y=tu((fn(i+1,t.length+1),t.substr(i+1)),Do,xr)}catch(N){throw N=ci(N),pe(N,130)?(c=N,Z(new sj(c))):Z(N)}if(y>16==-10?i=u(e.Cb,292).Yk(t,i):e.Db>>16==-15&&(!t&&(t=(Vt(),Qd)),!y&&(y=(Vt(),Qd)),e.Cb.Yh()&&(w=new Db(e.Cb,1,13,y,t,Wp(_c(u(e.Cb,62)),e),!1),i?i.nj(w):i=w));else if(pe(e.Cb,90))e.Db>>16==-23&&(pe(t,90)||(t=(Vt(),ff)),pe(y,90)||(y=(Vt(),ff)),e.Cb.Yh()&&(w=new Db(e.Cb,1,10,y,t,Wp(Na(u(e.Cb,29)),e),!1),i?i.nj(w):i=w));else if(pe(e.Cb,457))for(p=u(e.Cb,850),d=(!p.b&&(p.b=new FM(new az)),p.b),c=(s=new y0(new e0(d.a).a),new BM(s));c.a.b;)a=u(em(c.a).ld(),89),i=B4(a,IF(a,p),i)}return i}function f5n(e,t){var i,s,a,c,d,p,w,y,v,x,N;for(d=bt(ht(Ge(e,(dt(),Tv)))),N=u(Ge(e,Ov),21),w=!1,y=!1,x=new vn((!e.c&&(e.c=new We(gc,e,9,9)),e.c));x.e!=x.i.gc()&&(!w||!y);){for(c=u(Rn(x),123),p=0,a=Wh(Yc(oe(re(ou,1),Zt,20,0,[(!c.d&&(c.d=new Xt(Ci,c,8,5)),c.d),(!c.e&&(c.e=new Xt(Ci,c,7,4)),c.e)])));Bn(a)&&(s=u($n(a),74),v=d&&lm(s)&&bt(ht(Ge(s,G0))),i=$vt((!s.b&&(s.b=new Xt(Tn,s,4,7)),s.b),c)?e==oi(Ds(u(we((!s.c&&(s.c=new Xt(Tn,s,5,8)),s.c),0),84))):e==oi(Ds(u(we((!s.b&&(s.b=new Xt(Tn,s,4,7)),s.b),0),84))),!((v||i)&&(++p,p>1))););(p>0||N.Hc((fc(),tp))&&(!c.n&&(c.n=new We(ys,c,1,7)),c.n).i>0)&&(w=!0),p>1&&(y=!0)}w&&t.Fc((cs(),Lu)),y&&t.Fc((cs(),Gx))}function Qvt(e){var t,i,s,a,c,d,p,w,y,v,x,N;if(N=u(Ge(e,(br(),Z0)),21),N.dc())return null;if(p=0,d=0,N.Hc((jc(),c9))){for(v=u(Ge(e,C$),101),s=2,i=2,a=2,c=2,t=oi(e)?u(Ge(oi(e),Q0),88):u(Ge(e,Q0),88),y=new vn((!e.c&&(e.c=new We(gc,e,9,9)),e.c));y.e!=y.i.gc();)if(w=u(Rn(y),123),x=u(Ge(w,Q_),64),x==(ct(),la)&&(x=Hve(w,t),Lr(w,Q_,x)),v==(go(),Ja))switch(x.g){case 1:s=g.Math.max(s,w.i+w.g);break;case 2:i=g.Math.max(i,w.j+w.f);break;case 3:a=g.Math.max(a,w.i+w.g);break;case 4:c=g.Math.max(c,w.j+w.f)}else switch(x.g){case 1:s+=w.g+2;break;case 2:i+=w.f+2;break;case 3:a+=w.g+2;break;case 4:c+=w.f+2}p=g.Math.max(s,a),d=g.Math.max(i,c)}return dm(e,p,d,!0,!0)}function UQ(e,t,i,s,a){var c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;for(ue=u(Ks(bj(Pr(new Lt(null,new Wt(t.d,16)),new BJe(i)),new HJe(i)),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),x=xr,v=Do,w=new J(t.b.j);w.a0,y?y&&(N=ie.p,d?++N:--N,x=u(gt(ie.c.a,N),10),s=Sbt(x),j=!(hQ(s,Ke,i[0])||Kst(s,Ke,i[0]))):j=!0),W=!1,He=t.D.i,He&&He.c&&p.e&&(v=d&&He.p>0||!d&&He.p=0){for(w=null,p=new _o(v.a,y+1);p.bd?1:$w(isNaN(0),isNaN(d)))<0&&(If(kh),(g.Math.abs(d-1)<=kh||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:$w(isNaN(d),isNaN(1)))<0)&&(If(kh),(g.Math.abs(0-p)<=kh||p==0||isNaN(0)&&isNaN(p)?0:0p?1:$w(isNaN(0),isNaN(p)))<0)&&(If(kh),(g.Math.abs(p-1)<=kh||p==1||isNaN(p)&&isNaN(1)?0:p<1?-1:p>1?1:$w(isNaN(p),isNaN(1)))<0)),c)}function w5n(e){var t,i,s,a;if(i=e.D!=null?e.D:e.B,t=ih(i,Nl(91)),t!=-1){s=(So(0,t,i.length),i.substr(0,t)),a=new _p;do a.a+="[";while((t=_R(i,91,++t))!=-1);Ft(s,o3)?a.a+="Z":Ft(s,Ax)?a.a+="B":Ft(s,JB)?a.a+="C":Ft(s,Cx)?a.a+="D":Ft(s,xx)?a.a+="F":Ft(s,$x)?a.a+="I":Ft(s,Ix)?a.a+="J":Ft(s,Tx)?a.a+="S":(a.a+="L",a.a+=""+s,a.a+=";");try{return null}catch(c){if(c=ci(c),!pe(c,63))throw Z(c)}}else if(ih(i,Nl(46))==-1){if(Ft(i,o3))return $c;if(Ft(i,Ax))return tc;if(Ft(i,JB))return Hu;if(Ft(i,Cx))return bo;if(Ft(i,xx))return Yv;if(Ft(i,$x))return Gn;if(Ft(i,Ix))return P1;if(Ft(i,Tx))return iS}return null}function m5n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt;for(e.e=t,p=mEn(t),Ke=new it,s=new J(p);s.a=0&&V=y.c.c.length?v=C1e((hn(),Ai),co):v=C1e((hn(),co),co),v*=2,c=i.a.g,i.a.g=g.Math.max(c,c+(v-c)),d=i.b.g,i.b.g=g.Math.max(d,d+(v-d)),a=t}}function S5n(e){var t,i,s,a;for(Ei(Pr(new Lt(null,new Wt(e.a.b,16)),new sHe),new aHe),r2n(e),Ei(Pr(new Lt(null,new Wt(e.a.b,16)),new lHe),new cHe),e.c==(Hb(),F3)&&(Ei(Pr(ia(new Lt(null,new Wt(new Z1(e.f),1)),new uHe),new fHe),new OJe(e)),Ei(Pr(Ps(ia(ia(new Lt(null,new Wt(e.d.b,16)),new dHe),new hHe),new bHe),new pHe),new MJe(e))),a=new Xe(si,si),t=new Xe(Ki,Ki),s=new J(e.a.b);s.a0&&(t.a+=Jo),JF(u(Rn(p),167),t);for(t.a+=QZ,w=new SE((!s.c&&(s.c=new Xt(Tn,s,5,8)),s.c));w.e!=w.i.gc();)w.e>0&&(t.a+=Jo),JF(u(Rn(w),167),t);t.a+=")"}}function E5n(e,t,i){var s,a,c,d,p,w,y,v;for(w=new vn((!e.a&&(e.a=new We(Er,e,10,11)),e.a));w.e!=w.i.gc();)for(p=u(Rn(w),27),a=new Sn(kn(Gb(p).a.Kc(),new M));Bn(a);){if(s=u($n(a),74),!s.b&&(s.b=new Xt(Tn,s,4,7)),!(s.b.i<=1&&(!s.c&&(s.c=new Xt(Tn,s,5,8)),s.c.i<=1)))throw Z(new fE("Graph must not contain hyperedges."));if(!W5(s)&&p!=Ds(u(we((!s.c&&(s.c=new Xt(Tn,s,5,8)),s.c),0),84)))for(y=new eot,Ms(y,s),Ue(y,(Kg(),E3),s),utn(y,u(Ts(as(i.f,p)),153)),htn(y,u(_n(i,Ds(u(we((!s.c&&(s.c=new Xt(Tn,s,5,8)),s.c),0),84))),153)),ot(t.c,y),d=new vn((!s.n&&(s.n=new We(ys,s,1,7)),s.n));d.e!=d.i.gc();)c=u(Rn(d),135),v=new nut(y,c.a),Ms(v,c),Ue(v,E3,c),v.e.a=g.Math.max(c.g,1),v.e.b=g.Math.max(c.f,1),Kve(v),ot(t.d,v)}}function k5n(e,t,i){var s,a,c,d,p,w,y,v,x,N;switch(i.Ug("Node promotion heuristic",1),e.i=t,e.r=u(U(t,(dt(),w1)),243),e.r!=(Yu(),jm)&&e.r!=Dv?Y5n(e):ERn(e),v=u(U(e.i,aAe),17).a,c=new YFe,e.r.g){case 2:case 1:j4(e,c);break;case 3:for(e.r=OW,j4(e,c),w=0,p=new J(e.b);p.ae.k&&(e.r=OO,j4(e,c));break;case 4:for(e.r=OW,j4(e,c),y=0,a=new J(e.c);a.ae.n&&(e.r=NO,j4(e,c));break;case 6:N=Yi(g.Math.ceil(e.g.length*v/100)),j4(e,new _Je(N));break;case 5:x=Yi(g.Math.ceil(e.e*v/100)),j4(e,new SJe(x));break;case 8:D2t(e,!0);break;case 9:D2t(e,!1);break;default:j4(e,c)}e.r!=jm&&e.r!=Dv?zkn(e,t):h4n(e,t),i.Vg()}function R5n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge;for(x=e.b,v=new _o(x,0),Ty(v,new Ba(e)),ue=!1,d=1;v.b0&&(N.d+=v.n.d,N.d+=v.d),N.a>0&&(N.a+=v.n.a,N.a+=v.d),N.b>0&&(N.b+=v.n.b,N.b+=v.d),N.c>0&&(N.c+=v.n.c,N.c+=v.d),N}function e2t(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W;for(N=i.d,x=i.c,c=new Xe(i.f.a+i.d.b+i.d.c,i.f.b+i.d.d+i.d.a),d=c.b,y=new J(e.a);y.a0&&(e.c[t.c.p][t.p].d+=Ec(e.i,24)*MP*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function x5n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q;for(W=new J(e);W.as.d,s.d=g.Math.max(s.d,t),p&&i&&(s.d=g.Math.max(s.d,s.a),s.a=s.d+a);break;case 3:i=t>s.a,s.a=g.Math.max(s.a,t),p&&i&&(s.a=g.Math.max(s.a,s.d),s.d=s.a+a);break;case 2:i=t>s.c,s.c=g.Math.max(s.c,t),p&&i&&(s.c=g.Math.max(s.b,s.c),s.b=s.c+a);break;case 4:i=t>s.b,s.b=g.Math.max(s.b,t),p&&i&&(s.b=g.Math.max(s.b,s.c),s.c=s.b+a)}}}function n2t(e,t){var i,s,a,c,d,p,w,y,v;return y="",t.length==0?e.ne(S2e,tZ,-1,-1):(v=tv(t),Ft(v.substr(0,3),"at ")&&(v=(fn(3,v.length+1),v.substr(3))),v=v.replace(/\[.*?\]/g,""),d=v.indexOf("("),d==-1?(d=v.indexOf("@"),d==-1?(y=v,v=""):(y=tv((fn(d+1,v.length+1),v.substr(d+1))),v=tv((So(0,d,v.length),v.substr(0,d))))):(i=v.indexOf(")",d),y=(So(d+1,i,v.length),v.substr(d+1,i-(d+1))),v=tv((So(0,d,v.length),v.substr(0,d)))),d=ih(v,Nl(46)),d!=-1&&(v=(fn(d+1,v.length+1),v.substr(d+1))),(v.length==0||Ft(v,"Anonymous function"))&&(v=tZ),p=WD(y,Nl(58)),a=$pe(y,Nl(58),p-1),w=-1,s=-1,c=S2e,p!=-1&&a!=-1&&(c=(So(0,a,y.length),y.substr(0,a)),w=yit((So(a+1,p,y.length),y.substr(a+1,p-(a+1)))),s=yit((fn(p+1,y.length+1),y.substr(p+1)))),e.ne(c,v,w,s))}function T5n(e){var t,i,s,a,c,d,p,w,y,v,x;for(y=new J(e);y.a0||v.j==bn&&v.e.c.length-v.g.c.length<0)){t=!1;break}for(a=new J(v.g);a.a=y&&He>=q&&(N+=W.n.b+V.n.b+V.a.b-ke,++p));if(i)for(d=new J(ue.e);d.a=y&&He>=q&&(N+=W.n.b+V.n.b+V.a.b-ke,++p))}p>0&&(Ke+=N/p,++j)}j>0?(t.a=a*Ke/j,t.g=j):(t.a=0,t.g=0)}function O5n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt;for(c=e.f.b,N=c.a,v=c.b,W=e.e.g,j=e.e.f,I2(e.e,c.a,c.b),Ke=N/W,lt=v/j,y=new vn(CL(e.e));y.e!=y.i.gc();)w=u(Rn(y),135),hl(w,w.i*Ke),bl(w,w.j*lt);for(ue=new vn(hX(e.e));ue.e!=ue.i.gc();)ie=u(Rn(ue),123),ke=ie.i,He=ie.j,ke>0&&hl(ie,ke*Ke),He>0&&bl(ie,He*lt);for(p5(e.b,new rje),t=new it,p=new y0(new e0(e.c).a);p.b;)d=em(p),s=u(d.ld(),74),i=u(d.md(),407).a,a=r_(s,!1,!1),x=X1t(zh(s),iP(a),i),mP(x,a),ge=l0t(s),ge&&Ns(t,ge,0)==-1&&(en(t.c,ge),Lat(ge,(Cn(x.b!=0),u(x.a.a.c,8)),i));for(q=new y0(new e0(e.d).a);q.b;)V=em(q),s=u(V.ld(),74),i=u(V.md(),407).a,a=r_(s,!1,!1),x=X1t(Zg(s),M7(iP(a)),i),x=M7(x),mP(x,a),ge=c0t(s),ge&&Ns(t,ge,0)==-1&&(en(t.c,ge),Lat(ge,(Cn(x.b!=0),u(x.c.b.c,8)),i))}function r2t(e,t,i,s){var a,c,d,p,w;return p=new s2e(t),kkn(p,s),a=!0,e&&e.pf((br(),Q0))&&(c=u(e.of((br(),Q0)),88),a=c==(Fi(),Xd)||c==xs||c==js),nyt(p,!1),dl(p.e.Rf(),new Dpe(p,!1,a)),AX(p,p.f,(ud(),wa),(ct(),dn)),AX(p,p.f,ma,Mn),AX(p,p.g,wa,bn),AX(p,p.g,ma,yn),Tgt(p,dn),Tgt(p,Mn),Nat(p,yn),Nat(p,bn),Iy(),d=p.A.Hc((jc(),Uv))&&p.B.Hc((kc(),f9))?Xpt(p):null,d&&Onn(p.a,d),I5n(p),Tyn(p),Pyn(p),r5n(p),SAn(p),ivn(p),pY(p,dn),pY(p,Mn),l4n(p),J6n(p),i&&(dwn(p),ovn(p),pY(p,yn),pY(p,bn),w=p.B.Hc((kc(),D$)),q0t(p,w,dn),q0t(p,w,Mn),X0t(p,w,yn),X0t(p,w,bn),Ei(new Lt(null,new Wt(new Rb(p.i),0)),new ee),Ei(Pr(new Lt(null,Nge(p.r).a.oc()),new te),new he),y2n(p),p.e.Pf(p.o),Ei(new Lt(null,Nge(p.r).a.oc()),new cn)),p.o}function N5n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V;for(y=si,s=new J(e.a.b);s.a1)for(j=new Jve(W,ge,s),xo(ge,new hnt(e,j)),en(d.c,j),x=ge.a.ec().Kc();x.Ob();)v=u(x.Pb(),42),Pl(c,v.b);if(p.a.gc()>1)for(j=new Jve(W,p,s),xo(p,new bnt(e,j)),en(d.c,j),x=p.a.ec().Kc();x.Ob();)v=u(x.Pb(),42),Pl(c,v.b)}}function j5n(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie;if(V=e.n,q=e.o,N=e.d,x=Re(Oe(Jy(e,(dt(),kre)))),t){for(v=x*(t.gc()-1),j=0,w=t.Kc();w.Ob();)d=u(w.Pb(),10),v+=d.o.a,j=g.Math.max(j,d.o.b);for(ie=V.a-(v-q.a)/2,c=V.b-N.d+j,s=q.a/(t.gc()+1),a=s,p=t.Kc();p.Ob();)d=u(p.Pb(),10),d.n.a=ie,d.n.b=c-d.o.b,ie+=d.o.a+x,y=dmt(d),y.n.a=d.o.a/2-y.a.a,y.n.b=d.o.b,W=u(U(d,(Je(),aW)),12),W.e.c.length+W.g.c.length==1&&(W.n.a=a-W.a.a,W.n.b=0,ra(W,e)),a+=s}if(i){for(v=x*(i.gc()-1),j=0,w=i.Kc();w.Ob();)d=u(w.Pb(),10),v+=d.o.a,j=g.Math.max(j,d.o.b);for(ie=V.a-(v-q.a)/2,c=V.b+q.b+N.a-j,s=q.a/(i.gc()+1),a=s,p=i.Kc();p.Ob();)d=u(p.Pb(),10),d.n.a=ie,d.n.b=c,ie+=d.o.a+x,y=dmt(d),y.n.a=d.o.a/2-y.a.a,y.n.b=0,W=u(U(d,(Je(),aW)),12),W.e.c.length+W.g.c.length==1&&(W.n.a=a-W.a.a,W.n.b=q.b,ra(W,e)),a+=s}}function F5n(e,t){var i,s,a,c,d,p;if(u(U(t,(Je(),Xa)),21).Hc((cs(),Lu))){for(p=new J(t.a);p.a=0&&d0&&(u(gs(e.b,t),127).a.b=i)}function V5n(e,t,i,s){var a,c,d,p,w,y,v,x,N,j,W,V;if(N=Re(Oe(U(e,(dt(),OA)))),j=Re(Oe(U(e,NA))),x=Re(Oe(U(e,Mv))),p=e.o,c=u(gt(e.j,0),12),d=c.n,V=aSn(c,x),!!V){if(t.Hc((fc(),tp)))switch(u(U(e,(Je(),ya)),64).g){case 1:V.c=(p.a-V.b)/2-d.a,V.d=j;break;case 3:V.c=(p.a-V.b)/2-d.a,V.d=-j-V.a;break;case 2:i&&c.e.c.length==0&&c.g.c.length==0?(v=s?V.a:u(gt(c.f,0),72).o.b,V.d=(p.b-v)/2-d.b):V.d=p.b+j-d.b,V.c=-N-V.b;break;case 4:i&&c.e.c.length==0&&c.g.c.length==0?(v=s?V.a:u(gt(c.f,0),72).o.b,V.d=(p.b-v)/2-d.b):V.d=p.b+j-d.b,V.c=N}else if(t.Hc(R1))switch(u(U(e,(Je(),ya)),64).g){case 1:case 3:V.c=d.a+N;break;case 2:case 4:i&&!c.c?(v=s?V.a:u(gt(c.f,0),72).o.b,V.d=(p.b-v)/2-d.b):V.d=d.b+j}for(a=V.d,y=new J(c.f);y.a=t.length)return{done:!0};var a=t[s++];return{value:[a,i.get(a)],done:!1}}}},HRn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,i){this.obj[":"+t]=i},e.prototype[CZ]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var i in this.obj)i.charCodeAt(0)==58&&t.push(i.substring(1));return t}),e}function Gr(){Gr=L,b$=new jr(Q2e),new di("DEPTH",rt(0)),Qre=new di("FAN",rt(0)),v6e=new di($St,rt(0)),v1=new di("ROOT",(on(),!1)),tie=new di("LEFTNEIGHBOR",null),xxt=new di("RIGHTNEIGHBOR",null),BW=new di("LEFTSIBLING",null),nie=new di("RIGHTSIBLING",null),Yre=new di("DUMMY",!1),new di("LEVEL",rt(0)),E6e=new di("REMOVABLE_EDGES",new ei),BO=new di("XCOOR",rt(0)),HO=new di("YCOOR",rt(0)),HW=new di("LEVELHEIGHT",0),wd=new di("LEVELMIN",0),Bf=new di("LEVELMAX",0),Zre=new di("GRAPH_XMIN",0),eie=new di("GRAPH_YMIN",0),_6e=new di("GRAPH_XMAX",0),S6e=new di("GRAPH_YMAX",0),y6e=new di("COMPACT_LEVEL_ASCENSION",!1),Jre=new di("COMPACT_CONSTRAINTS",new it),h$=new di("ID",""),p$=new di("POSITION",rt(0)),tg=new di("PRELIM",0),FA=new di("MODIFIER",0),jA=new jr(H_t),FO=new jr(W_t)}function q5n(e){Bve();var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q;if(e==null)return null;if(x=e.length*8,x==0)return"";for(p=x%24,j=x/24|0,N=p!=0?j+1:j,c=null,c=Ne(Hu,mh,28,N*4,15,1),y=0,v=0,t=0,i=0,s=0,d=0,a=0,w=0;w>24,y=(t&3)<<24>>24,W=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,V=i&-128?(i>>4^240)<<24>>24:i>>4<<24>>24,q=s&-128?(s>>6^252)<<24>>24:s>>6<<24>>24,c[d++]=ug[W],c[d++]=ug[V|y<<4],c[d++]=ug[v<<2|q],c[d++]=ug[s&63];return p==8?(t=e[a],y=(t&3)<<24>>24,W=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,c[d++]=ug[W],c[d++]=ug[y<<4],c[d++]=61,c[d++]=61):p==16&&(t=e[a],i=e[a+1],v=(i&15)<<24>>24,y=(t&3)<<24>>24,W=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,V=i&-128?(i>>4^240)<<24>>24:i>>4<<24>>24,c[d++]=ug[W],c[d++]=ug[V|y<<4],c[d++]=ug[v<<2],c[d++]=61),dh(c,0,c.length)}function X5n(e,t){var i,s,a,c,d,p,w;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Do&&A1e(t,e.p-o1),d=t.q.getDate(),n7(t,1),e.k>=0&&Lfn(t,e.k),e.c>=0?n7(t,e.c):e.k>=0?(w=new nwe(t.q.getFullYear()-o1,t.q.getMonth(),35),s=35-w.q.getDate(),n7(t,g.Math.min(s,d))):n7(t,d),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),xin(t,e.f==24&&e.g?0:e.f),e.j>=0&&ybn(t,e.j),e.n>=0&&Tbn(t,e.n),e.i>=0&&drt(t,Uo(Vo(eP(Ra(t.q.getTime()),Kp),Kp),e.i)),e.a&&(a=new tD,A1e(a,a.q.getFullYear()-o1-80),$z(Ra(t.q.getTime()),Ra(a.q.getTime()))&&A1e(t,a.q.getFullYear()-o1+100)),e.d>=0){if(e.c==-1)i=(7+e.d-t.q.getDay())%7,i>3&&(i-=7),p=t.q.getMonth(),n7(t,t.q.getDate()+i),t.q.getMonth()!=p&&n7(t,t.q.getDate()+(i>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>Do&&(c=t.q.getTimezoneOffset(),drt(t,Uo(Ra(t.q.getTime()),(e.o-c)*60*Kp))),!0}function l2t(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;if(a=U(t,(Je(),Nr)),!!pe(a,207)){for(W=u(a,27),V=t.e,N=new qo(t.c),c=t.d,N.a+=c.b,N.b+=c.d,ke=u(Ge(W,(dt(),RW)),181),Gl(ke,(kc(),hU))&&(j=u(Ge(W,dAe),107),itn(j,c.a),dtn(j,c.d),otn(j,c.b),ftn(j,c.c)),i=new it,v=new J(t.a);v.as.c.length-1;)ot(s,new Ji(h_,$Se));i=u(U(a,Ih),17).a,xb(u(U(e,Bm),88))?(a.e.aRe(Oe((Kt(i,s.c.length),u(s.c[i],42)).b))&&zK((Kt(i,s.c.length),u(s.c[i],42)),a.e.a+a.f.a)):(a.e.bRe(Oe((Kt(i,s.c.length),u(s.c[i],42)).b))&&zK((Kt(i,s.c.length),u(s.c[i],42)),a.e.b+a.f.b))}for(c=Fn(e.b,0);c.b!=c.d.c;)a=u(Ln(c),40),i=u(U(a,(ba(),Ih)),17).a,Ue(a,(Gr(),wd),Oe((Kt(i,s.c.length),u(s.c[i],42)).a)),Ue(a,Bf,Oe((Kt(i,s.c.length),u(s.c[i],42)).b));t.Vg()}function Y5n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V;for(e.o=Re(Oe(U(e.i,(dt(),Lm)))),e.f=Re(Oe(U(e.i,X0))),e.j=e.i.b.c.length,p=e.j-1,N=0,e.k=0,e.n=0,e.b=Id(Ne(Io,tt,17,e.j,0,1)),e.c=Id(Ne(Wi,tt,345,e.j,7,1)),d=new J(e.i.b);d.a0&&ot(e.q,v),ot(e.p,v);t-=s,j=w+t,y+=t*e.f,Eu(e.b,p,rt(j)),Eu(e.c,p,y),e.k=g.Math.max(e.k,j),e.n=g.Math.max(e.n,y),e.e+=t,t+=V}}function ct(){ct=L;var e;la=new A8(lx,0),dn=new A8(sB,1),yn=new A8(LZ,2),Mn=new A8(jZ,3),bn=new A8(FZ,4),Yd=(Gt(),new uR((e=u(nd(ns),9),new yu(e,u(Af(e,e.length),9),0)))),Gf=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[]))),Fu=Dp(Yr(yn,oe(re(ns,1),Ta,64,0,[]))),lu=Dp(Yr(Mn,oe(re(ns,1),Ta,64,0,[]))),af=Dp(Yr(bn,oe(re(ns,1),Ta,64,0,[]))),Ll=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[Mn]))),vl=Dp(Yr(yn,oe(re(ns,1),Ta,64,0,[bn]))),Kf=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[bn]))),bc=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[yn]))),cu=Dp(Yr(Mn,oe(re(ns,1),Ta,64,0,[bn]))),Bu=Dp(Yr(yn,oe(re(ns,1),Ta,64,0,[Mn]))),pc=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[yn,bn]))),Dl=Dp(Yr(yn,oe(re(ns,1),Ta,64,0,[Mn,bn]))),jl=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[Mn,bn]))),ec=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[yn,Mn]))),Ya=Dp(Yr(dn,oe(re(ns,1),Ta,64,0,[yn,Mn,bn])))}function Q5n(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt;for(t.Ug(lSt,1),V=new it,Ke=new it,y=new J(e.b);y.a0&&(ge-=j),Yve(d,ge),v=0,N=new J(d.a);N.a0),p.a.Xb(p.c=--p.b)),w=.4*s*v,!c&&p.b0&&(w=(fn(0,t.length),t.charCodeAt(0)),w!=64)){if(w==37&&(x=t.lastIndexOf("%"),y=!1,x!=0&&(x==N-1||(y=(fn(x+1,t.length),t.charCodeAt(x+1)==46))))){if(d=(So(1,x,t.length),t.substr(1,x-1)),ge=Ft("%",d)?null:l2e(d),s=0,y)try{s=tu((fn(x+2,t.length+1),t.substr(x+2)),Do,xr)}catch(ke){throw ke=ci(ke),pe(ke,130)?(p=ke,Z(new sj(p))):Z(ke)}for(q=M0e(e.Gh());q.Ob();)if(W=Nj(q),pe(W,519)&&(a=u(W,598),ue=a.d,(ge==null?ue==null:Ft(ge,ue))&&s--==0))return a;return null}if(v=t.lastIndexOf("."),j=v==-1?t:(So(0,v,t.length),t.substr(0,v)),i=0,v!=-1)try{i=tu((fn(v+1,t.length+1),t.substr(v+1)),Do,xr)}catch(ke){if(ke=ci(ke),pe(ke,130))j=t;else throw Z(ke)}for(j=Ft("%",j)?null:l2e(j),V=M0e(e.Gh());V.Ob();)if(W=Nj(V),pe(W,197)&&(c=u(W,197),ie=c.xe(),(j==null?ie==null:Ft(j,ie))&&i--==0))return c;return null}return Yvt(e,t)}function sxn(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue;for(v=new Dn,w=new Gw,s=new J(e.a.a.b);s.at.d.c){if(j=e.c[t.a.d],q=e.c[x.a.d],j==q)continue;Of(Ef(Sf(kf(_f(new Gu,1),100),j),q))}}}}}function axn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke;if(N=u(u(Or(e.r,t),21),87),t==(ct(),yn)||t==bn){o2t(e,t);return}for(c=t==dn?(tm(),lO):(tm(),cO),ke=t==dn?(Ol(),pd):(Ol(),Lf),i=u(gs(e.b,t),127),s=i.i,a=s.c+W2(oe(re(bo,1),ms,28,15,[i.n.b,e.C.b,e.k])),ie=s.c+s.b-W2(oe(re(bo,1),ms,28,15,[i.n.c,e.C.c,e.k])),d=She(jpe(c),e.t),ue=t==dn?Ki:si,x=N.Kc();x.Ob();)y=u(x.Pb(),117),!(!y.c||y.c.d.c.length<=0)&&(q=y.b.Mf(),V=y.e,j=y.c,W=j.i,W.b=(w=j.n,j.e.a+w.b+w.c),W.a=(p=j.n,j.e.b+p.d+p.a),Q8(ke,j2e),j.f=ke,ld(j,(cc(),Df)),W.c=V.a-(W.b-q.a)/2,He=g.Math.min(a,V.a),Ke=g.Math.max(ie,V.a+q.a),W.cKe&&(W.c=Ke-W.b),ot(d.d,new qq(W,$we(d,W))),ue=t==dn?g.Math.max(ue,V.b+y.b.Mf().b):g.Math.min(ue,V.b));for(ue+=t==dn?e.t:-e.t,ge=qwe((d.e=ue,d)),ge>0&&(u(gs(e.b,t),127).a.b=ge),v=N.Kc();v.Ob();)y=u(v.Pb(),117),!(!y.c||y.c.d.c.length<=0)&&(W=y.c.i,W.c-=y.e.a,W.d-=y.e.b)}function lxn(e){var t,i,s,a,c,d,p,w,y,v,x,N,j;for(t=new Dn,w=new vn(e);w.e!=w.i.gc();){for(p=u(Rn(w),27),i=new Ni,wr(hne,p,i),j=new QLe,a=u(Ks(new Lt(null,new jw(new Sn(kn(uP(p).a.Kc(),new M)))),xst(j,lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)])))),85),lht(i,u(a.xc((on(),!0)),16),new ZLe),s=u(Ks(Pr(u(a.xc(!1),15).Lc(),new eje),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs]))),15),d=s.Kc();d.Ob();)c=u(d.Pb(),74),N=l0t(c),N&&(y=u(Ts(as(t.f,N)),21),y||(y=Tmt(N),ol(t.f,N,y)),Eo(i,y));for(a=u(Ks(new Lt(null,new jw(new Sn(kn(Gb(p).a.Kc(),new M)))),xst(j,lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs])))),85),lht(i,u(a.xc(!0),16),new tje),s=u(Ks(Pr(u(a.xc(!1),15).Lc(),new nje),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs]))),15),x=s.Kc();x.Ob();)v=u(x.Pb(),74),N=c0t(v),N&&(y=u(Ts(as(t.f,N)),21),y||(y=Tmt(N),ol(t.f,N,y)),Eo(i,y))}}function cxn(e,t){OQ();var i,s,a,c,d,p,w,y,v,x,N,j,W,V;if(w=$a(e,0)<0,w&&(e=Op(e)),$a(e,0)==0)switch(t){case 0:return"0";case 1:return K4;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 Pg,t<0?j.a+="0E+":j.a+="0E",j.a+=t==Do?"2147483648":""+-t,j.a}v=18,x=Ne(Hu,mh,28,v+1,15,1),i=v,V=e;do y=V,V=eP(V,10),x[--i]=Yn(Uo(48,Xu(y,Vo(V,10))))&Bi;while($a(V,0)!=0);if(a=Xu(Xu(Xu(v,i),t),1),t==0)return w&&(x[--i]=45),dh(x,i,v-i);if(t>0&&$a(a,-6)>=0){if($a(a,0)>=0){for(c=i+Yn(a),p=v-1;p>=c;p--)x[p+1]=x[p];return x[++c]=46,w&&(x[--i]=45),dh(x,i,v-i+1)}for(d=2;$z(d,Uo(Op(a),1));d++)x[--i]=48;return x[--i]=46,x[--i]=48,w&&(x[--i]=45),dh(x,i,v-i)}return W=i+1,s=v,N=new hE,w&&(N.a+="-"),s-W>=1?(c0(N,x[i]),N.a+=".",N.a+=dh(x,i+1,v-i-1)):N.a+=dh(x,i,v-i),N.a+="E",$a(a,0)>0&&(N.a+="+"),N.a+=""+zC(a),N.a}function dm(e,t,i,s,a){var c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke;if(q=new Xe(e.g,e.f),V=kye(e),V.a=g.Math.max(V.a,t),V.b=g.Math.max(V.b,i),Ke=V.a/q.a,v=V.b/q.b,ke=V.a-q.a,w=V.b-q.b,s)for(d=oi(e)?u(Ge(oi(e),(br(),Q0)),88):u(Ge(e,(br(),Q0)),88),p=xe(Ge(e,(br(),C$)))===xe((go(),Ja)),ue=new vn((!e.c&&(e.c=new We(gc,e,9,9)),e.c));ue.e!=ue.i.gc();)switch(ie=u(Rn(ue),123),ge=u(Ge(ie,Q_),64),ge==(ct(),la)&&(ge=Hve(ie,d),Lr(ie,Q_,ge)),ge.g){case 1:p||hl(ie,ie.i*Ke);break;case 2:hl(ie,ie.i+ke),p||bl(ie,ie.j*v);break;case 3:p||hl(ie,ie.i*Ke),bl(ie,ie.j+w);break;case 4:p||bl(ie,ie.j*v)}if(I2(e,V.a,V.b),a)for(N=new vn((!e.n&&(e.n=new We(ys,e,1,7)),e.n));N.e!=N.i.gc();)x=u(Rn(N),135),j=x.i+x.g/2,W=x.j+x.f/2,He=j/q.a,y=W/q.b,He+y>=1&&(He-y>0&&W>=0?(hl(x,x.i+ke),bl(x,x.j+w*y)):He-y<0&&j>=0&&(hl(x,x.i+ke*He),bl(x,x.j+w)));return Lr(e,(br(),Z0),(jc(),c=u(nd(M$),9),new yu(c,u(Af(c,c.length),9),0))),new Xe(Ke,v)}function d2t(e){Rw(e,new C0(XM(Sw(yw(_w(vw(new J1,Ou),"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 aVe),Ou))),nt(e,Ou,TB,ut(k$t)),nt(e,Ou,hv,ut(R$t)),nt(e,Ou,b_,ut(v$t)),nt(e,Ou,p3,ut(_$t)),nt(e,Ou,b3,ut(S$t)),nt(e,Ou,Z4,ut(y$t)),nt(e,Ou,dx,ut(Q6e)),nt(e,Ou,eA,ut(E$t)),nt(e,Ou,Wee,ut(pie)),nt(e,Ou,Hee,ut(gie)),nt(e,Ou,jB,ut(eCe)),nt(e,Ou,Uee,ut(wie)),nt(e,Ou,Vee,ut(tCe)),nt(e,Ou,qSe,ut(nCe)),nt(e,Ou,zSe,ut(Z6e)),nt(e,Ou,USe,ut(KW)),nt(e,Ou,VSe,ut(zW)),nt(e,Ou,GSe,ut(WO)),nt(e,Ou,KSe,ut(rCe)),nt(e,Ou,WSe,ut(Y6e))}function YF(e){var t,i,s,a,c,d,p,w,y,v,x;if(e==null)throw Z(new rh(Ml));if(y=e,c=e.length,w=!1,c>0&&(t=(fn(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(fn(1,e.length+1),e.substr(1)),--c,w=t==45)),c==0)throw Z(new rh(pm+y+'"'));for(;e.length>0&&(fn(0,e.length),e.charCodeAt(0)==48);)e=(fn(1,e.length+1),e.substr(1)),--c;if(c>(Uyt(),Tkt)[10])throw Z(new rh(pm+y+'"'));for(a=0;a0&&(x=-parseInt((So(0,s,e.length),e.substr(0,s)),10),e=(fn(s,e.length+1),e.substr(s)),c-=s,i=!1);c>=d;){if(s=parseInt((So(0,d,e.length),e.substr(0,d)),10),e=(fn(d,e.length+1),e.substr(d)),c-=d,i)i=!1;else{if($a(x,p)<0)throw Z(new rh(pm+y+'"'));x=Vo(x,v)}x=Xu(x,s)}if($a(x,0)>0)throw Z(new rh(pm+y+'"'));if(!w&&(x=Op(x),$a(x,0)<0))throw Z(new rh(pm+y+'"'));return x}function l2e(e){FQ();var t,i,s,a,c,d,p,w;if(e==null)return null;if(a=ih(e,Nl(37)),a<0)return e;for(w=new Kc((So(0,a,e.length),e.substr(0,a))),t=Ne(tc,m_,28,4,15,1),p=0,s=0,d=e.length;aa+2&&NJ((fn(a+1,e.length),e.charCodeAt(a+1)),Bxe,Hxe)&&NJ((fn(a+2,e.length),e.charCodeAt(a+2)),Bxe,Hxe))if(i=Iln((fn(a+1,e.length),e.charCodeAt(a+1)),(fn(a+2,e.length),e.charCodeAt(a+2))),a+=2,s>0?(i&192)==128?t[p++]=i<<24>>24:s=0:i>=128&&((i&224)==192?(t[p++]=i<<24>>24,s=2):(i&240)==224?(t[p++]=i<<24>>24,s=3):(i&248)==240&&(t[p++]=i<<24>>24,s=4)),s>0){if(p==s){switch(p){case 2:{c0(w,((t[0]&31)<<6|t[1]&63)&Bi);break}case 3:{c0(w,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Bi);break}}p=0,s=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new We(ti,e,6,6)),e.a).i==0)i=(Ng(),a=new CM,a),Wn((!e.a&&(e.a=new We(ti,e,6,6)),e.a),i);else if((!e.a&&(e.a=new We(ti,e,6,6)),e.a).i>1)for(N=new SE((!e.a&&(e.a=new We(ti,e,6,6)),e.a));N.e!=N.i.gc();)L5(N);mP(t,u(we((!e.a&&(e.a=new We(ti,e,6,6)),e.a),0),166))}if(x)for(s=new vn((!e.a&&(e.a=new We(ti,e,6,6)),e.a));s.e!=s.i.gc();)for(i=u(Rn(s),166),y=new vn((!i.a&&(i.a=new Di(uu,i,5)),i.a));y.e!=y.i.gc();)w=u(Rn(y),377),p.a=g.Math.max(p.a,w.a),p.b=g.Math.max(p.b,w.b);for(d=new vn((!e.n&&(e.n=new We(ys,e,1,7)),e.n));d.e!=d.i.gc();)c=u(Rn(d),135),v=u(Ge(c,$$),8),v&&wu(c,v.a,v.b),x&&(p.a=g.Math.max(p.a,c.i+c.g),p.b=g.Math.max(p.b,c.j+c.f));return p}function b2t(e,t,i,s,a){var c,d,p;if(pdt(e,t),d=t[0],c=No(i.c,0),p=-1,owe(i))if(s>0){if(d+s>e.length)return!1;p=AF((So(0,d+s,e.length),e.substr(0,d+s)),t)}else p=AF(e,t);switch(c){case 71:return p=e_(e,d,oe(re(wt,1),tt,2,6,[Z2t,e_t]),t),a.e=p,!0;case 77:return RRn(e,t,a,p,d);case 76:return ARn(e,t,a,p,d);case 69:return wSn(e,t,d,a);case 99:return mSn(e,t,d,a);case 97:return p=e_(e,d,oe(re(wt,1),tt,2,6,["AM","PM"]),t),a.b=p,!0;case 121:return CRn(e,t,d,p,i,a);case 100:return p<=0?!1:(a.c=p,!0);case 83:return p<0?!1:Own(p,d,t[0],a);case 104:p==12&&(p=0);case 75:case 72:return p<0?!1:(a.f=p,a.g=!1,!0);case 107:return p<0?!1:(a.f=p,a.g=!0,!0);case 109:return p<0?!1:(a.j=p,!0);case 115:return p<0?!1:(a.n=p,!0);case 90:if(dPt[w]&&(q=w),x=new J(e.a.b);x.a1;){if(a=mkn(t),x=c.g,W=u(Ge(t,m$),107),V=Re(Oe(Ge(t,YW))),(!t.a&&(t.a=new We(Er,t,10,11)),t.a).i>1&&Re(Oe(Ge(t,(qh(),Rie))))!=si&&(c.c+(W.b+W.c))/(c.b+(W.d+W.a))1&&Re(Oe(Ge(t,(qh(),kie))))!=si&&(c.c+(W.b+W.c))/(c.b+(W.d+W.a))>V&&Lr(a,(qh(),Fv),g.Math.max(Re(Oe(Ge(t,w$))),Re(Oe(Ge(a,Fv)))-Re(Oe(Ge(t,kie))))),j=new pbe(s,v),w=N2t(j,a,N),y=w.g,y>=x&&y==y){for(d=0;d<(!a.a&&(a.a=new We(Er,a,10,11)),a.a).i;d++)awt(e,u(we((!a.a&&(a.a=new We(Er,a,10,11)),a.a),d),27),u(we((!t.a&&(t.a=new We(Er,t,10,11)),t.a),d),27));Hdt(t,j),Sfn(c,w.c),_fn(c,w.b)}--p}Lr(t,(qh(),BA),c.b),Lr(t,O3,c.c),i.Vg()}function hxn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue;for(t.Ug("Interactive node layering",1),i=new it,N=new J(e.a);N.a=p){Cn(ue.b>0),ue.a.Xb(ue.c=--ue.b);break}else q.a>w&&(s?(Gi(s.b,q.b),s.a=g.Math.max(s.a,q.a),Dc(ue)):(ot(q.b,v),q.c=g.Math.min(q.c,w),q.a=g.Math.max(q.a,p),s=q));s||(s=new aZe,s.c=w,s.a=p,Ty(ue,s),ot(s.b,v))}for(d=e.b,y=0,ie=new J(i);ie.aj&&(c&&(zo(Ke,N),zo(Pt,rt(y.b-1))),Ar=i.b,hi+=N+t,N=0,v=g.Math.max(v,i.b+i.c+An)),hl(p,Ar),bl(p,hi),v=g.Math.max(v,Ar+An+i.c),N=g.Math.max(N,x),Ar+=An+t;if(v=g.Math.max(v,s),nn=hi+N+i.a,nn_h,It=g.Math.abs(N.b-W.b)>_h,(!i&&Pt&&It||i&&(Pt||It))&&sr(q.a,ke)),Eo(q.a,s),s.b==0?N=ke:N=(Cn(s.b!=0),u(s.c.b.c,8)),Zgn(j,x,V),Bht(a)==lt&&(Co(lt.i)!=a.a&&(V=new mo,vye(V,Co(lt.i),ue)),Ue(q,dre,V)),M_n(j,q,ue),v.a.zc(j,v);Wo(q,He),po(q,lt)}for(y=v.a.ec().Kc();y.Ob();)w=u(y.Pb(),18),Wo(w,null),po(w,null);t.Vg()}function gxn(e,t){var i,s,a,c,d,p,w,y,v,x,N;for(a=u(U(e,(ba(),Bm)),88),v=a==(Fi(),xs)||a==js?qd:js,i=u(Ks(Pr(new Lt(null,new Wt(e.b,16)),new hUe),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),w=u(Ks(Ps(i.Oc(),new xYe(t)),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs]))),15),w.Gc(u(Ks(Ps(i.Oc(),new $Ye(t)),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs]))),16)),w.jd(new IYe(v)),N=new Ep(new TYe(a)),s=new Dn,p=w.Kc();p.Ob();)d=u(p.Pb(),240),y=u(d.a,40),bt(ht(d.c))?(N.a.zc(y,(on(),f1))==null,new iR(N.a.Zc(y,!1)).a.gc()>0&&wr(s,y,u(new iR(N.a.Zc(y,!1)).a.Vc(),40)),new iR(N.a.ad(y,!0)).a.gc()>1&&wr(s,Vpt(N,y),y)):(new iR(N.a.Zc(y,!1)).a.gc()>0&&(c=u(new iR(N.a.Zc(y,!1)).a.Vc(),40),xe(c)===xe(Ts(as(s.f,y)))&&u(U(y,(Gr(),Jre)),15).Fc(c)),new iR(N.a.ad(y,!0)).a.gc()>1&&(x=Vpt(N,y),xe(Ts(as(s.f,x)))===xe(y)&&u(U(x,(Gr(),Jre)),15).Fc(y)),N.a.Bc(y)!=null)}function p2t(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new YL;for(a=e.Kc();a.Ob();){for(i=u(a.Pb(),235),W=0,v=xr,x=xr,w=Do,y=Do,j=new J(i.e);j.ap&&(ge=0,ke+=d+ie,d=0),W4n(V,i,ge,ke),t=g.Math.max(t,ge+q.a),d=g.Math.max(d,q.b),ge+=q.a+ie;return V}function wxn(e){Bve();var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q;if(e==null||(c=lj(e),W=G0n(c),W%4!=0))return null;if(V=W/4|0,V==0)return Ne(tc,m_,28,0,15,1);for(x=null,t=0,i=0,s=0,a=0,d=0,p=0,w=0,y=0,j=0,N=0,v=0,x=Ne(tc,m_,28,V*3,15,1);j>4)<<24>>24,x[N++]=((i&15)<<4|s>>2&15)<<24>>24,x[N++]=(s<<6|a)<<24>>24}return!a8(d=c[v++])||!a8(p=c[v++])?null:(t=Zd[d],i=Zd[p],w=c[v++],y=c[v++],Zd[w]==-1||Zd[y]==-1?w==61&&y==61?i&15?null:(q=Ne(tc,m_,28,j*3+1,15,1),Da(x,0,q,0,j*3),q[N]=(t<<2|i>>4)<<24>>24,q):w!=61&&y==61?(s=Zd[w],s&3?null:(q=Ne(tc,m_,28,j*3+2,15,1),Da(x,0,q,0,j*3),q[N++]=(t<<2|i>>4)<<24>>24,q[N]=((i&15)<<4|s>>2&15)<<24>>24,q)):null:(s=Zd[w],a=Zd[y],x[N++]=(t<<2|i>>4)<<24>>24,x[N++]=((i&15)<<4|s>>2&15)<<24>>24,x[N++]=(s<<6|a)<<24>>24,x))}function mxn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He;for(t.Ug(lSt,1),W=u(U(e,(dt(),Zb)),223),a=new J(e.b);a.a=2){for(V=!0,N=new J(c.j),i=u(X(N),12),j=null;N.a0)if(s=x.gc(),y=Yi(g.Math.floor((s+1)/2))-1,a=Yi(g.Math.ceil((s+1)/2))-1,t.o==Kd)for(v=a;v>=y;v--)t.a[ke.p]==ke&&(V=u(x.Xb(v),42),W=u(V.a,10),!rd(i,V.b)&&j>e.b.e[W.p]&&(t.a[W.p]=ke,t.g[ke.p]=t.g[W.p],t.a[ke.p]=t.g[ke.p],t.f[t.g[ke.p].p]=(on(),!!(bt(t.f[t.g[ke.p].p])&ke.k==(hn(),co))),j=e.b.e[W.p]));else for(v=y;v<=a;v++)t.a[ke.p]==ke&&(ie=u(x.Xb(v),42),q=u(ie.a,10),!rd(i,ie.b)&&j0&&(a=u(gt(q.c.a,Ke-1),10),d=e.i[a.p],Pt=g.Math.ceil(P2(e.n,a,q)),c=He.a.e-q.d.d-(d.a.e+a.o.b+a.d.a)-Pt),y=si,Ke0&<.a.e.e-lt.a.a-(lt.b.e.e-lt.b.a)<0,W=ge.a.e.e-ge.a.a-(ge.b.e.e-ge.b.a)<0&<.a.e.e-lt.a.a-(lt.b.e.e-lt.b.a)>0,j=ge.a.e.e+ge.b.alt.b.e.e+lt.a.a,ke=0,!V&&!W&&(N?c+x>0?ke=x:y-s>0&&(ke=s):j&&(c+p>0?ke=p:y-ue>0&&(ke=ue))),He.a.e+=ke,He.b&&(He.d.e+=ke),!1))}function w2t(e,t,i){var s,a,c,d,p,w,y,v,x,N;if(s=new vu(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),a=new vE,e.c)for(d=new J(t.Rf());d.ay&&(s.a+=Grt(Ne(Hu,mh,28,-y,15,1))),s.a+="Is",ih(w,Nl(32))>=0)for(a=0;a=s.o.b/2}else ue=!x;ue?(ie=u(U(s,(Je(),T3)),15),ie?N?c=ie:(a=u(U(s,A3),15),a?ie.gc()<=a.gc()?c=ie:c=a:(c=new it,Ue(s,A3,c))):(c=new it,Ue(s,T3,c))):(a=u(U(s,(Je(),A3)),15),a?x?c=a:(ie=u(U(s,T3),15),ie?a.gc()<=ie.gc()?c=a:c=ie:(c=new it,Ue(s,T3,c))):(c=new it,Ue(s,A3,c))),c.Fc(e),Ue(e,(Je(),aW),i),t.d==i?(po(t,null),i.e.c.length+i.g.c.length==0&&ra(i,null),D1n(i)):(Wo(t,null),i.e.c.length+i.g.c.length==0&&ra(i,null)),zc(t.a)}function Sxn(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An,Ar,hi;for(i.Ug("MinWidth layering",1),j=t.b,lt=t.a,hi=u(U(t,(dt(),oAe)),17).a,p=u(U(t,sAe),17).a,e.b=Re(Oe(U(t,Ff))),e.d=si,ke=new J(lt);ke.a0?(y=0,q&&(y+=p),y+=(It-1)*d,ge&&(y+=p),Pt&&ge&&(y=g.Math.max(y,Wkn(ge,d,ue,lt))),y=e.a&&(s=i6n(e,ue),v=g.Math.max(v,s.b),ke=g.Math.max(ke,s.d),ot(p,new Ji(ue,s)));for(Pt=new it,y=0;y0),q.a.Xb(q.c=--q.b),It=new Ba(e.b),Ty(q,It),Cn(q.b0){for(N=v<100?null:new Og(v),y=new W0e(t),W=y.g,ie=Ne(Gn,ur,28,v,15,1),s=0,ke=new Xw(v),a=0;a=0;)if(j!=null?Tr(j,W[w]):xe(j)===xe(W[w])){ie.length<=s&&(q=ie,ie=Ne(Gn,ur,28,2*ie.length,15,1),Da(q,0,ie,0,s)),ie[s++]=a,Wn(ke,W[w]);break e}if(j=j,xe(j)===xe(p))break}}if(y=ke,W=ke.g,v=s,s>ie.length&&(q=ie,ie=Ne(Gn,ur,28,s,15,1),Da(q,0,ie,0,s)),s>0){for(ge=!0,c=0;c=0;)QE(e,ie[d]);if(s!=v){for(a=v;--a>=s;)QE(y,a);q=ie,ie=Ne(Gn,ur,28,s,15,1),Da(q,0,ie,0,s)}t=y}}}else for(t=Fyn(e,t),a=e.i;--a>=0;)t.Hc(e.g[a])&&(QE(e,a),ge=!0);if(ge){if(ie!=null){for(i=t.gc(),x=i==1?t5(e,4,t.Kc().Pb(),null,ie[0],V):t5(e,6,t,ie,ie[0],V),N=i<100?null:new Og(i),a=t.Kc();a.Ob();)j=a.Pb(),N=Tpe(e,u(j,76),N);N?(N.nj(x),N.oj()):Ir(e.e,x)}else{for(N=Gon(t.gc()),a=t.Kc();a.Ob();)j=a.Pb(),N=Tpe(e,u(j,76),N);N&&N.oj()}return!0}else return!1}function Rxn(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge;for(i=new Dgt(t),i.a||Z4n(t),y=YRn(t),w=new Gw,q=new jmt,V=new J(t.a);V.a0||i.o==Kd&&a=i}function Cxn(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An;for(ge=t,ue=new Gw,ke=new Gw,v=qw(ge,IEe),s=new Gat(e,i,ue,ke),z_n(s.a,s.b,s.c,s.d,v),w=(lt=ue.i,lt||(ue.i=new M2(ue,ue.c))),It=w.Kc();It.Ob();)for(Pt=u(It.Pb(),166),a=u(Or(ue,Pt),21),V=a.Kc();V.Ob();)if(W=V.Pb(),He=u(U2(e.d,W),166),He)p=(!Pt.e&&(Pt.e=new Xt(ti,Pt,10,9)),Pt.e),Wn(p,He);else throw d=Pb(ge,Rh),N=MEt+W+DEt+d,j=N+cA,Z(new nh(j));for(y=(Ke=ke.i,Ke||(ke.i=new M2(ke,ke.c))),nn=y.Kc();nn.Ob();)for(tn=u(nn.Pb(),166),c=u(Or(ke,tn),21),ie=c.Kc();ie.Ob();)if(q=ie.Pb(),He=u(U2(e.d,q),166),He)x=(!tn.g&&(tn.g=new Xt(ti,tn,9,10)),tn.g),Wn(x,He);else throw d=Pb(ge,Rh),N=MEt+q+DEt+d,j=N+cA,Z(new nh(j));!i.b&&(i.b=new Xt(Tn,i,4,7)),i.b.i!=0&&(!i.c&&(i.c=new Xt(Tn,i,5,8)),i.c.i!=0)&&(!i.b&&(i.b=new Xt(Tn,i,4,7)),i.b.i<=1&&(!i.c&&(i.c=new Xt(Tn,i,5,8)),i.c.i<=1))&&(!i.a&&(i.a=new We(ti,i,6,6)),i.a).i==1&&(An=u(we((!i.a&&(i.a=new We(ti,i,6,6)),i.a),0),166),!EY(An)&&!kY(An)&&(Ej(An,u(we((!i.b&&(i.b=new Xt(Tn,i,4,7)),i.b),0),84)),kj(An,u(we((!i.c&&(i.c=new Xt(Tn,i,5,8)),i.c),0),84))))}function xxn(e){var t,i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn;for(ge=e.a,ke=0,He=ge.length;ke0?(x=u(gt(N.c.a,d-1),10),Pt=P2(e.b,N,x),q=N.n.b-N.d.d-(x.n.b+x.o.b+x.d.a+Pt)):q=N.n.b-N.d.d,y=g.Math.min(q,y),d1&&(d=g.Math.min(d,g.Math.abs(u(Tu(p.a,1),8).b-v.b)))));else for(V=new J(t.j);V.aa&&(c=N.a-a,d=xr,s.c.length=0,a=N.a),N.a>=a&&(en(s.c,p),p.a.b>1&&(d=g.Math.min(d,g.Math.abs(u(Tu(p.a,p.a.b-2),8).b-N.b)))));if(s.c.length!=0&&c>t.o.a/2&&d>t.o.b/2){for(j=new Ma,ra(j,t),Qi(j,(ct(),dn)),j.n.a=t.o.a/2,ie=new Ma,ra(ie,t),Qi(ie,Mn),ie.n.a=t.o.a/2,ie.n.b=t.o.b,w=new J(s);w.a=y.b?Wo(p,ie):Wo(p,j)):(y=u(yln(p.a),8),q=p.a.b==0?$d(p.c):u(Rf(p.a),8),q.b>=y.b?po(p,ie):po(p,j)),x=u(U(p,(dt(),Cs)),75),x&&Xy(x,y,!0);t.n.a=a-t.o.a/2}}function Ixn(e,t,i){var s,a,c,d,p,w,y,v,x,N;for(p=Fn(e.b,0);p.b!=p.d.c;)if(d=u(Ln(p),40),!Ft(d.c,MB))for(y=t3n(d,e),t==(Fi(),xs)||t==js?Pi(y,new jUe):Pi(y,new FUe),w=y.c.length,s=0;s=0?j=qE(p):j=U7(qE(p)),e.qf(TA,j)),y=new mo,N=!1,e.pf(Mm)?(tpe(y,u(e.of(Mm),8)),N=!0):Bin(y,d.a/2,d.b/2),j.g){case 4:Ue(v,yl,(Iu(),g1)),Ue(v,cW,(_0(),x_)),v.o.b=d.b,V<0&&(v.o.a=-V),Qi(x,(ct(),yn)),N||(y.a=d.a),y.a-=d.a;break;case 2:Ue(v,yl,(Iu(),xv)),Ue(v,cW,(_0(),kA)),v.o.b=d.b,V<0&&(v.o.a=-V),Qi(x,(ct(),bn)),N||(y.a=0);break;case 1:Ue(v,W0,(Lb(),I_)),v.o.a=d.a,V<0&&(v.o.b=-V),Qi(x,(ct(),Mn)),N||(y.b=d.b),y.b-=d.b;break;case 3:Ue(v,W0,(Lb(),R3)),v.o.a=d.a,V<0&&(v.o.b=-V),Qi(x,(ct(),dn)),N||(y.b=0)}if(tpe(x.n,y),Ue(v,Mm,y),t==tw||t==cb||t==Ja){if(W=0,t==tw&&e.pf(Qp))switch(j.g){case 1:case 2:W=u(e.of(Qp),17).a;break;case 3:case 4:W=-u(e.of(Qp),17).a}else switch(j.g){case 4:case 2:W=c.b,t==cb&&(W/=a.b);break;case 1:case 3:W=c.a,t==cb&&(W/=a.a)}Ue(v,Im,W)}return Ue(v,ya,j),v}function Txn(){Ahe();function e(s){var a=this;this.dispatch=function(c){var d=c.data;switch(d.cmd){case"algorithms":var p=zwe((Gt(),new rR(new Rb(C1.b))));s.postMessage({id:d.id,data:p});break;case"categories":var w=zwe((Gt(),new rR(new Rb(C1.c))));s.postMessage({id:d.id,data:w});break;case"options":var y=zwe((Gt(),new rR(new Rb(C1.d))));s.postMessage({id:d.id,data:y});break;case"register":NCn(d.algorithms),s.postMessage({id:d.id});break;case"layout":c6n(d.graph,d.layoutOptions||{},d.options||{}),s.postMessage({id:d.id,data:d.graph});break}},this.saveDispatch=function(c){try{a.dispatch(c)}catch(d){s.postMessage({id:c.data.id,error:d})}}}function t(s){var a=this;this.dispatcher=new e({postMessage:function(c){a.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){a.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===TZ&&typeof self!==TZ){var i=new e(self);self.onmessage=i.saveDispatch}else typeof l!==TZ&&l.exports&&(Object.defineProperty(h,"__esModule",{value:!0}),l.exports={default:t,Worker:t})}function E2t(e,t,i){var s,a,c,d,p,w,y,v,x,N;for(v=new Vb(i),Ms(v,t),Ue(v,(Je(),Nr),t),v.o.a=t.g,v.o.b=t.f,v.n.a=t.i,v.n.b=t.j,ot(i.a,v),wr(e.a,t,v),((!t.a&&(t.a=new We(Er,t,10,11)),t.a).i!=0||bt(ht(Ge(t,(dt(),Tv)))))&&Ue(v,t4e,(on(),!0)),y=u(U(i,Xa),21),x=u(U(v,(dt(),Si)),101),x==(go(),k1)?Ue(v,Si,Jd):x!=Jd&&y.Fc((cs(),CA)),N=0,s=u(U(i,su),88),w=new vn((!t.c&&(t.c=new We(gc,t,9,9)),t.c));w.e!=w.i.gc();)p=u(Rn(w),123),a=oi(t),(xe(Ge(a,ob))!==xe((hh(),Zp))||xe(Ge(a,V0))===xe((Bp(),EA))||xe(Ge(a,V0))===xe((Bp(),SA))||bt(ht(Ge(a,Pm)))||xe(Ge(a,$v))!==xe((k0(),Ev))||xe(Ge(a,w1))===xe((Yu(),jm))||xe(Ge(a,w1))===xe((Yu(),Dv))||xe(Ge(a,K0))===xe((Gp(),MA))||xe(Ge(a,K0))===xe((Gp(),DA)))&&!bt(ht(Ge(t,gW)))&&Lr(p,Br,rt(N++)),bt(ht(Ge(p,q0)))||H5n(e,p,v,y,s,x);for(d=new vn((!t.n&&(t.n=new We(ys,t,1,7)),t.n));d.e!=d.i.gc();)c=u(Rn(d),135),!bt(ht(Ge(c,q0)))&&c.a&&ot(v.b,JJ(c));return bt(ht(U(v,Yx)))&&y.Fc((cs(),iW)),bt(ht(U(v,vW)))&&(y.Fc((cs(),oW)),y.Fc(Gx),Ue(v,Si,Jd)),v}function KQ(e,t,i,s,a,c,d){var p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An,Ar,hi;for(V=0,tn=0,y=new J(e.b);y.aV&&(c&&(zo(Ke,j),zo(Pt,rt(v.b-1)),ot(e.d,W),p.c.length=0),Ar=i.b,hi+=j+t,j=0,x=g.Math.max(x,i.b+i.c+An)),en(p.c,w),xgt(w,Ar,hi),x=g.Math.max(x,Ar+An+i.c),j=g.Math.max(j,N),Ar+=An+t,W=w;if(Gi(e.a,p),ot(e.d,u(gt(p,p.c.length-1),163)),x=g.Math.max(x,s),nn=hi+j+i.a,nna.d.d+a.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))),s.b!=s.d.c&&(t=i);v&&(c=u(_n(e.f,d.d.i),60),t.bc.d.d+c.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(p=new Sn(kn(so(j).a.Kc(),new M));Bn(p);)d=u($n(p),18),d.a.b!=0&&(t=u(Rf(d.a),8),d.d.j==(ct(),dn)&&(q=new Y5(t,new Xe(t.a,a.d.d),a,d),q.f.a=!0,q.a=d.d,en(V.c,q)),d.d.j==Mn&&(q=new Y5(t,new Xe(t.a,a.d.d+a.d.a),a,d),q.f.d=!0,q.a=d.d,en(V.c,q)))}return V}function Lxn(e,t,i){var s,a,c,d,p,w,y,v,x,N;for(w=new it,x=t.length,d=iwe(i),y=0;y=W&&(ue>W&&(j.c.length=0,W=ue),en(j.c,d));j.c.length!=0&&(N=u(gt(j,uF(t,j.c.length)),131),nn.a.Bc(N)!=null,N.s=V++,nve(N,It,Ke),j.c.length=0)}for(ke=e.c.length+1,p=new J(e);p.atn.s&&(Dc(i),Pl(tn.i,s),s.c>0&&(s.a=tn,ot(tn.t,s),s.b=lt,ot(lt.i,s)))}function k2t(e,t,i,s,a){var c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn;for(V=new nl(t.b),ke=new nl(t.b),N=new nl(t.b),Pt=new nl(t.b),q=new nl(t.b),lt=Fn(t,0);lt.b!=lt.d.c;)for(He=u(Ln(lt),12),p=new J(He.g);p.a0,ie=He.g.c.length>0,y&&ie?en(N.c,He):y?en(V.c,He):ie&&en(ke.c,He);for(W=new J(V);W.aue.nh()-y.b&&(N=ue.nh()-y.b),j>ue.oh()-y.d&&(j=ue.oh()-y.d),v0){for(ge=Fn(e.f,0);ge.b!=ge.d.c;)ue=u(Ln(ge),10),ue.p+=N-e.e;_ye(e),zc(e.f),gve(e,s,j)}else{for(sr(e.f,j),j.p=s,e.e=g.Math.max(e.e,s),c=new Sn(kn(so(j).a.Kc(),new M));Bn(c);)a=u($n(c),18),!a.c.i.c&&a.c.i.k==(hn(),Oa)&&(sr(e.f,a.c.i),a.c.i.p=s-1);e.c=s}else _ye(e),zc(e.f),s=0,Bn(new Sn(kn(so(j).a.Kc(),new M)))?(N=0,N=Ogt(N,j),s=N+2,gve(e,s,j)):(sr(e.f,j),j.p=0,e.e=g.Math.max(e.e,0),e.b=u(gt(e.d.b,0),30),e.c=0);for(e.f.b==0||_ye(e),e.d.a.c.length=0,ie=new it,y=new J(e.d.b);y.a=48&&t<=57){for(s=t-48;a=48&&t<=57;)if(s=s*10+t-48,s<0)throw Z(new rr(or((er(),UEe))))}else throw Z(new rr(or((er(),l3t))));if(i=s,t==44){if(a>=e.j)throw Z(new rr(or((er(),u3t))));if((t=No(e.i,a++))>=48&&t<=57){for(i=t-48;a=48&&t<=57;)if(i=i*10+t-48,i<0)throw Z(new rr(or((er(),UEe))));if(s>i)throw Z(new rr(or((er(),f3t))))}else i=-1}if(t!=125)throw Z(new rr(or((er(),c3t))));e.bm(a)?(c=(Cr(),Cr(),new Fy(9,c)),e.d=a+1):(c=(Cr(),Cr(),new Fy(3,c)),e.d=a),c.Om(s),c.Nm(i),Rr(e)}}return c}function Uxn(e){var t,i,s,a,c;switch(i=u(U(e,(Je(),Xa)),21),t=LD(O4t),a=u(U(e,(dt(),Iv)),346),a==(Bb(),ig)&&Zc(t,N4t),bt(ht(U(e,_re)))?cr(t,(Mo(),jf),(Go(),Ine)):cr(t,(Mo(),La),(Go(),Ine)),U(e,(tj(),S$))!=null&&Zc(t,M4t),(bt(ht(U(e,nAe)))||bt(ht(U(e,Q4e))))&&zl(t,(Mo(),Ls),(Go(),Yke)),u(U(e,su),88).g){case 2:case 3:case 4:zl(cr(t,(Mo(),jf),(Go(),Zke)),Ls,Qke)}switch(i.Hc((cs(),iW))&&zl(cr(cr(t,(Mo(),jf),(Go(),Jke)),za,qke),Ls,Xke),xe(U(e,w1))!==xe((Yu(),PW))&&cr(t,(Mo(),La),(Go(),bRe)),i.Hc(sW)&&(cr(t,(Mo(),jf),(Go(),mRe)),cr(t,rb,gRe),cr(t,La,wRe)),xe(U(e,bW))!==xe((x4(),Vx))&&xe(U(e,Zb))!==xe((Hb(),r9))&&zl(t,(Mo(),Ls),(Go(),lRe)),bt(ht(U(e,eAe)))&&cr(t,(Mo(),La),(Go(),aRe)),bt(ht(U(e,wre)))&&cr(t,(Mo(),La),(Go(),yRe)),nkn(e)&&(xe(U(e,Iv))===xe(ig)?s=u(U(e,$O),299):s=u(U(e,gre),299),c=s==(o4(),tre)?(Go(),pRe):(Go(),SRe),cr(t,(Mo(),za),c)),u(U(e,xAe),388).g){case 1:cr(t,(Mo(),za),(Go(),vRe));break;case 2:zl(cr(cr(t,(Mo(),La),(Go(),Vke)),za,Gke),Ls,Kke)}return xe(U(e,ob))!==xe((hh(),Zp))&&cr(t,(Mo(),La),(Go(),_Re)),t}function x2t(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge;if(fl(e.a,t)){if(rd(u(_n(e.a,t),49),i))return 1}else wr(e.a,t,new Ni);if(fl(e.a,i)){if(rd(u(_n(e.a,i),49),t))return-1}else wr(e.a,i,new Ni);if(fl(e.e,t)){if(rd(u(_n(e.e,t),49),i))return-1}else wr(e.e,t,new Ni);if(fl(e.e,i)){if(rd(u(_n(e.a,i),49),t))return 1}else wr(e.e,i,new Ni);if(e.c==(hh(),Lre)||!Jr(t,(Je(),Br))||!Jr(i,(Je(),Br))){for(x=null,y=new J(t.j);y.ad?M4(e,t,i):M4(e,i,t),ad?1:0}return s=u(U(t,(Je(),Br)),17).a,c=u(U(i,Br),17).a,s>c?M4(e,t,i):M4(e,i,t),sc?1:0}function hm(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q;if(i==null)return null;if(e.a!=t.jk())throw Z(new un(aA+t.xe()+_m));if(pe(t,469)){if(q=NRn(u(t,685),i),!q)throw Z(new un(ite+i+"' is not a valid enumerator of '"+t.xe()+"'"));return q}switch(Lp((Jl(),To),t).Nl()){case 2:{i=Va(i,!1);break}case 3:{i=Va(i,!0);break}}if(s=Lp(To,t).Jl(),s)return s.jk().wi().ti(s,i);if(N=Lp(To,t).Ll(),N){for(q=new it,y=HJ(i),v=0,x=y.length;v1)for(W=new SE((!e.a&&(e.a=new We(ti,e,6,6)),e.a));W.e!=W.i.gc();)L5(W);for(d=u(we((!e.a&&(e.a=new We(ti,e,6,6)),e.a),0),166),q=Ar,Ar>He+ke?q=He+ke:ArKe+V?ie=Ke+V:hiHe-ke&&qKe-V&&ieAr+An?Pt=Ar+An:Hehi+lt?It=hi+lt:KeAr-An&&Pthi-lt&&Iti&&(N=i-1),j=fg+Ec(t,24)*MP*x-x/2,j<0?j=1:j>s&&(j=s-1),a=(Ng(),w=new AM,w),wj(a,N),gj(a,j),Wn((!d.a&&(d.a=new Di(uu,d,5)),d.a),a)}function $2t(e){Rw(e,new C0(Sw(yw(_w(vw(new J1,Ac),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new wVe))),nt(e,Ac,h3,1.3),nt(e,Ac,Q4,(on(),!1)),nt(e,Ac,gm,SCe),nt(e,Ac,hv,15),nt(e,Ac,IB,ut(K$t)),nt(e,Ac,b_,ut(X$t)),nt(e,Ac,p3,ut(Y$t)),nt(e,Ac,b3,ut(Q$t)),nt(e,Ac,Z4,ut(q$t)),nt(e,Ac,dx,ut(Cie)),nt(e,Ac,eA,ut(Z$t)),nt(e,Ac,rEe,ut(ACe)),nt(e,Ac,iEe,ut(RCe)),nt(e,Ac,nEe,ut($ie)),nt(e,Ac,tEe,ut(CCe)),nt(e,Ac,oEe,ut(_Ce)),nt(e,Ac,sEe,ut(xie)),nt(e,Ac,aEe,ut(vCe)),nt(e,Ac,lEe,ut(kCe)),nt(e,Ac,fx,ut(yCe)),nt(e,Ac,PB,ut(z$t)),nt(e,Ac,ZSe,ut(VO)),nt(e,Ac,QSe,ut(mCe)),nt(e,Ac,eEe,ut(GO)),nt(e,Ac,YSe,ut(ECe))}function qQ(e,t){OQ();var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt;if(ge=e.e,v=e.d,a=e.a,ge==0)switch(t){case 0:return"0";case 1:return K4;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 ie=new Pg,ie.a+="0E",ie.a+=-t,ie.a}if(V=v*10+1+7,q=Ne(Hu,mh,28,V+1,15,1),i=V,v==1)if(c=a[0],c<0){lt=ro(c,us);do x=lt,lt=eP(lt,10),q[--i]=48+Yn(Xu(x,Vo(lt,10)))&Bi;while($a(lt,0)!=0)}else{lt=c;do x=lt,lt=lt/10|0,q[--i]=48+(x-lt*10)&Bi;while(lt!=0)}else{ke=Ne(Gn,ur,28,v,15,1),Ke=v,Da(a,0,ke,0,Ke);e:for(;;){for(ue=0,p=Ke-1;p>=0;p--)He=Uo(xf(ue,32),ro(ke[p],us)),j=P2n(He),ke[p]=Yn(j),ue=Yn(Dw(j,32));W=Yn(ue),N=i;do q[--i]=48+W%10&Bi;while((W=W/10|0)!=0&&i!=0);for(s=9-N+i,d=0;d0;d++)q[--i]=48;for(w=Ke-1;ke[w]==0;w--)if(w==0)break e;Ke=w+1}for(;q[i]==48;)++i}return y=ge<0,y&&(q[--i]=45),dh(q,i,V-i)}function I2t(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke;switch(e.c=t,e.g=new Dn,i=(Aw(),new mw(e.c)),s=new MM(i),Vwe(s),ge=tr(Ge(e.c,(nP(),KCe))),w=u(Ge(e.c,Fie),324),He=u(Ge(e.c,Bie),437),d=u(Ge(e.c,UCe),490),ke=u(Ge(e.c,jie),438),e.j=Re(Oe(Ge(e.c,hIt))),p=e.a,w.g){case 0:p=e.a;break;case 1:p=e.b;break;case 2:p=e.i;break;case 3:p=e.e;break;case 4:p=e.f;break;default:throw Z(new un(HB+(w.f!=null?w.f:""+w.g)))}if(e.d=new Elt(p,He,d),Ue(e.d,(n4(),Fx),ht(Ge(e.c,fIt))),e.d.c=bt(ht(Ge(e.c,VCe))),PL(e.c).i==0)return e.d;for(x=new vn(PL(e.c));x.e!=x.i.gc();){for(v=u(Rn(x),27),j=v.g/2,N=v.f/2,Ke=new Xe(v.i+j,v.j+N);fl(e.g,Ke);)Ow(Ke,(g.Math.random()-.5)*_h,(g.Math.random()-.5)*_h);V=u(Ge(v,(br(),WA)),140),q=new Llt(Ke,new vu(Ke.a-j-e.j/2-V.b,Ke.b-N-e.j/2-V.d,v.g+e.j+(V.b+V.c),v.f+e.j+(V.d+V.a))),ot(e.d.i,q),wr(e.g,Ke,new Ji(q,v))}switch(ke.g){case 0:if(ge==null)e.d.d=u(gt(e.d.i,0),68);else for(ue=new J(e.d.i);ue.a0?An+1:1);for(d=new J(Ke.g);d.a0?An+1:1)}e.c[y]==0?sr(e.e,V):e.a[y]==0&&sr(e.f,V),++y}for(W=-1,j=1,x=new it,e.d=u(U(t,(Je(),I3)),234);fu>0;){for(;e.e.b!=0;)hi=u(Fq(e.e),10),e.b[hi.p]=W--,Ove(e,hi),--fu;for(;e.f.b!=0;)wc=u(Fq(e.f),10),e.b[wc.p]=j++,Ove(e,wc),--fu;if(fu>0){for(N=Do,ue=new J(ge);ue.a=N&&(ke>N&&(x.c.length=0,N=ke),en(x.c,V)));v=e.sg(x),e.b[v.p]=j++,Ove(e,v),--fu}}for(Ar=ge.c.length+1,y=0;ye.b[$s]&&(fm(s,!0),Ue(t,RO,(on(),!0)));e.a=null,e.c=null,e.b=null,zc(e.f),zc(e.e),i.Vg()}function T2t(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke;for(He=u(we((!e.a&&(e.a=new We(ti,e,6,6)),e.a),0),166),v=new Ul,ke=new Dn,Ke=Byt(He),ol(ke.f,He,Ke),N=new Dn,s=new ei,W=Wh(Yc(oe(re(ou,1),Zt,20,0,[(!t.d&&(t.d=new Xt(Ci,t,8,5)),t.d),(!t.e&&(t.e=new Xt(Ci,t,7,4)),t.e)])));Bn(W);){if(j=u($n(W),74),(!e.a&&(e.a=new We(ti,e,6,6)),e.a).i!=1)throw Z(new un(wEt+(!e.a&&(e.a=new We(ti,e,6,6)),e.a).i));j!=e&&(q=u(we((!j.a&&(j.a=new We(ti,j,6,6)),j.a),0),166),gi(s,q,s.c.b,s.c),V=u(Ts(as(ke.f,q)),13),V||(V=Byt(q),ol(ke.f,q,V)),x=i?no(new qo(u(gt(Ke,Ke.c.length-1),8)),u(gt(V,V.c.length-1),8)):no(new qo((Kt(0,Ke.c.length),u(Ke.c[0],8))),(Kt(0,V.c.length),u(V.c[0],8))),ol(N.f,q,x))}if(s.b!=0)for(ie=u(gt(Ke,i?Ke.c.length-1:0),8),y=1;y1&&gi(v,ie,v.c.b,v.c),dJ(a)));ie=ue}return v}function P2t(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn;for(i.Ug(PSt,1),tn=u(Ks(Pr(new Lt(null,new Wt(t,16)),new KUe),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),v=u(Ks(Pr(new Lt(null,new Wt(t,16)),new OYe(t)),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs]))),15),W=u(Ks(Pr(new Lt(null,new Wt(t,16)),new PYe(t)),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[Xs]))),15),V=Ne(FW,DB,40,t.gc(),0,1),d=0;d=0&&It=0&&!V[j]){V[j]=a,v.gd(p),--p;break}if(j=It-N,j=0&&!V[j]){V[j]=a,v.gd(p),--p;break}}for(W.jd(new zUe),w=V.length-1;w>=0;w--)!V[w]&&!W.dc()&&(V[w]=u(W.Xb(0),40),W.gd(0));for(y=0;y=0;w--)sr(i,(Kt(w,d.c.length),u(d.c[w],8)));return i}function N2t(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;for(ge=Re(Oe(Ge(t,(qh(),Fv)))),j=Re(Oe(Ge(t,w$))),N=Re(Oe(Ge(t,XW))),D0e((!t.a&&(t.a=new We(Er,t,10,11)),t.a)),ie=kvt((!t.a&&(t.a=new We(Er,t,10,11)),t.a),ge,e.b),q=0;qN&&Q7((Kt(N,t.c.length),u(t.c[N],186)),v),v=null;t.c.length>N&&(Kt(N,t.c.length),u(t.c[N],186)).a.c.length==0;)Pl(t,(Kt(N,t.c.length),t.c[N]));if(!v){--d;continue}if(!bt(ht(u(gt(v.b,0),27).of((jd(),GO))))&&dAn(t,W,c,v,q,i,N,s)){V=!0;continue}if(q){if(j=W.b,x=v.f,!bt(ht(u(gt(v.b,0),27).of(GO)))&&TCn(t,W,c,v,i,N,s,a)){if(V=!0,j=e.j){e.a=-1,e.c=1;return}if(t=No(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(s=10,e.d>=e.j)throw Z(new rr(or((er(),qB))));e.a=No(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||No(e.i,e.d)!=63)break;if(++e.d>=e.j)throw Z(new rr(or((er(),wte))));switch(t=No(e.i,e.d++),t){case 58:s=13;break;case 61:s=14;break;case 33:s=15;break;case 91:s=19;break;case 62:s=18;break;case 60:if(e.d>=e.j)throw Z(new rr(or((er(),wte))));if(t=No(e.i,e.d++),t==61)s=16;else if(t==33)s=17;else throw Z(new rr(or((er(),VEt))));break;case 35:for(;e.d=e.j)throw Z(new rr(or((er(),qB))));e.a=No(e.i,e.d++);break;default:s=0}e.c=s}function Zxn(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q;if(i.Ug("Process compaction",1),!!bt(ht(U(t,(ba(),C6e))))){for(a=u(U(t,Bm),88),j=Re(Oe(U(t,iie))),A6n(e,t,a),gxn(t,j/2/2),W=t.b,w0(W,new RYe(a)),y=Fn(W,0);y.b!=y.d.c;)if(w=u(Ln(y),40),!bt(ht(U(w,(Gr(),v1))))){if(s=QRn(w,a),V=zAn(w,t),x=0,N=0,s)switch(q=s.e,a.g){case 2:x=q.a-j-w.f.a,V.e.a-j-w.f.ax&&(x=V.e.a+V.f.a+j),N=x+w.f.a;break;case 4:x=q.b-j-w.f.b,V.e.b-j-w.f.bx&&(x=V.e.b+V.f.b+j),N=x+w.f.b}else if(V)switch(a.g){case 2:x=V.e.a-j-w.f.a,N=x+w.f.a;break;case 1:x=V.e.a+V.f.a+j,N=x+w.f.a;break;case 4:x=V.e.b-j-w.f.b,N=x+w.f.b;break;case 3:x=V.e.b+V.f.b+j,N=x+w.f.b}xe(U(t,rie))===xe((y5(),jO))?(c=x,d=N,p=c4(Pr(new Lt(null,new Wt(e.a,16)),new gnt(c,d))),p.a!=null?a==(Fi(),xs)||a==js?w.e.a=x:w.e.b=x:(a==(Fi(),xs)||a==ju?p=c4(Pr(Kdt(new Lt(null,new Wt(e.a,16))),new AYe(c))):p=c4(Pr(Kdt(new Lt(null,new Wt(e.a,16))),new CYe(c))),p.a!=null&&(a==xs||a==js?w.e.a=Re(Oe((Cn(p.a!=null),u(p.a,42)).a)):w.e.b=Re(Oe((Cn(p.a!=null),u(p.a,42)).a)))),p.a!=null&&(v=Ns(e.a,(Cn(p.a!=null),p.a),0),v>0&&v!=u(U(w,Ih),17).a&&(Ue(w,y6e,(on(),!0)),Ue(w,Ih,rt(v))))):a==(Fi(),xs)||a==js?w.e.a=x:w.e.b=x}i.Vg()}}function M2t(e){var t,i,s,a,c,d,p,w,y;for(e.b=1,Rr(e),t=null,e.c==0&&e.a==94?(Rr(e),t=(Cr(),Cr(),new Xc(4)),Ua(t,0,fA),p=new Xc(4)):p=(Cr(),Cr(),new Xc(4)),a=!0;(y=e.c)!=1;){if(y==0&&e.a==93&&!a){t&&(nx(t,p),p=t);break}if(i=e.a,s=!1,y==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:lv(p,D4(i)),s=!0;break;case 105:case 73:case 99:case 67:i=(lv(p,D4(i)),-1),i<0&&(s=!0);break;case 112:case 80:if(w=Lye(e,i),!w)throw Z(new rr(or((er(),mte))));lv(p,w),s=!0;break;default:i=mve(e)}else if(y==24&&!a){if(t&&(nx(t,p),p=t),c=M2t(e),nx(p,c),e.c!=0||e.a!=93)throw Z(new rr(or((er(),e3t))));break}if(Rr(e),!s){if(y==0){if(i==91)throw Z(new rr(or((er(),HEe))));if(i==93)throw Z(new rr(or((er(),WEe))));if(i==45&&!a&&e.a!=93)throw Z(new rr(or((er(),yte))))}if(e.c!=0||e.a!=45||i==45&&a)Ua(p,i,i);else{if(Rr(e),(y=e.c)==1)throw Z(new rr(or((er(),XB))));if(y==0&&e.a==93)Ua(p,i,i),Ua(p,45,45);else{if(y==0&&e.a==93||y==24)throw Z(new rr(or((er(),yte))));if(d=e.a,y==0){if(d==91)throw Z(new rr(or((er(),HEe))));if(d==93)throw Z(new rr(or((er(),WEe))));if(d==45)throw Z(new rr(or((er(),yte))))}else y==10&&(d=mve(e));if(Rr(e),i>d)throw Z(new rr(or((er(),r3t))));Ua(p,i,d)}}}a=!1}if(e.c==1)throw Z(new rr(or((er(),XB))));return t_(p),ex(p),e.b=0,Rr(e),p}function e$n(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He;if(i.Ug("Coffman-Graham Layering",1),t.a.c.length==0){i.Vg();return}for(He=u(U(t,(dt(),iAe)),17).a,w=0,d=0,N=new J(t.a);N.a=He||!qwn(ie,s))&&(s=Oat(t,v)),vo(ie,s),c=new Sn(kn(so(ie).a.Kc(),new M));Bn(c);)a=u($n(c),18),!e.a[a.p]&&(V=a.c.i,--e.e[V.p],e.e[V.p]==0&&CE(C4(j,V),z4));for(y=v.c.length-1;y>=0;--y)ot(t.b,(Kt(y,v.c.length),u(v.c[y],30)));t.a.c.length=0,i.Vg()}function D2t(e,t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke;ke=!1;do for(ke=!1,c=t?new Z1(e.a.b).a.gc()-2:1;t?c>=0:cu(U(q,Br),17).a)&&(ge=!1);if(ge){for(w=t?c+1:c-1,p=E1e(e.a,rt(w)),d=!1,ue=!0,s=!1,v=Fn(p,0);v.b!=v.d.c;)y=u(Ln(v),10),Jr(y,Br)?y.p!=x.p&&(d=d|(t?u(U(y,Br),17).au(U(x,Br),17).a),ue=!1):!d&&ue&&y.k==(hn(),Oa)&&(s=!0,t?N=u($n(new Sn(kn(so(y).a.Kc(),new M))),18).c.i:N=u($n(new Sn(kn($i(y).a.Kc(),new M))),18).d.i,N==x&&(t?i=u($n(new Sn(kn($i(y).a.Kc(),new M))),18).d.i:i=u($n(new Sn(kn(so(y).a.Kc(),new M))),18).c.i,(t?u(xy(e.a,i),17).a-u(xy(e.a,N),17).a:u(xy(e.a,N),17).a-u(xy(e.a,i),17).a)<=2&&(ue=!1)));if(s&&ue&&(t?i=u($n(new Sn(kn($i(x).a.Kc(),new M))),18).d.i:i=u($n(new Sn(kn(so(x).a.Kc(),new M))),18).c.i,(t?u(xy(e.a,i),17).a-u(xy(e.a,x),17).a:u(xy(e.a,x),17).a-u(xy(e.a,i),17).a)<=2&&i.k==(hn(),Ai)&&(ue=!1)),d||ue){for(V=hmt(e,x,t);V.a.gc()!=0;)W=u(V.a.ec().Kc().Pb(),10),V.a.Bc(W)!=null,Eo(V,hmt(e,W,t));--j,ke=!0}}}while(ke)}function t$n(e){Xn(e.c,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#decimal"])),Xn(e.d,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#integer"])),Xn(e.e,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#boolean"])),Xn(e.f,ar,oe(re(wt,1),tt,2,6,[Lo,"EBoolean",Sr,"EBoolean:Object"])),Xn(e.i,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#byte"])),Xn(e.g,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Xn(e.j,ar,oe(re(wt,1),tt,2,6,[Lo,"EByte",Sr,"EByte:Object"])),Xn(e.n,ar,oe(re(wt,1),tt,2,6,[Lo,"EChar",Sr,"EChar:Object"])),Xn(e.t,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#double"])),Xn(e.u,ar,oe(re(wt,1),tt,2,6,[Lo,"EDouble",Sr,"EDouble:Object"])),Xn(e.F,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#float"])),Xn(e.G,ar,oe(re(wt,1),tt,2,6,[Lo,"EFloat",Sr,"EFloat:Object"])),Xn(e.I,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#int"])),Xn(e.J,ar,oe(re(wt,1),tt,2,6,[Lo,"EInt",Sr,"EInt:Object"])),Xn(e.N,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#long"])),Xn(e.O,ar,oe(re(wt,1),tt,2,6,[Lo,"ELong",Sr,"ELong:Object"])),Xn(e.Z,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#short"])),Xn(e.$,ar,oe(re(wt,1),tt,2,6,[Lo,"EShort",Sr,"EShort:Object"])),Xn(e._,ar,oe(re(wt,1),tt,2,6,[Lo,"http://www.w3.org/2001/XMLSchema#string"]))}function n$n(e,t,i,s,a,c,d){var p,w,y,v,x,N,j,W;return N=u(s.a,17).a,j=u(s.b,17).a,x=e.b,W=e.c,p=0,v=0,t==(Fi(),xs)||t==js?(v=y8(Apt(Dy(Ps(new Lt(null,new Wt(i.b,16)),new XUe),new TUe))),x.e.b+x.f.b/2>v?(y=++j,p=Re(Oe(Oc(Oy(Ps(new Lt(null,new Wt(i.b,16)),new ynt(a,y)),new PUe))))):(w=++N,p=Re(Oe(Oc($E(Ps(new Lt(null,new Wt(i.b,16)),new vnt(a,w)),new OUe)))))):(v=y8(Apt(Dy(Ps(new Lt(null,new Wt(i.b,16)),new LUe),new IUe))),x.e.a+x.f.a/2>v?(y=++j,p=Re(Oe(Oc(Oy(Ps(new Lt(null,new Wt(i.b,16)),new wnt(a,y)),new NUe))))):(w=++N,p=Re(Oe(Oc($E(Ps(new Lt(null,new Wt(i.b,16)),new mnt(a,w)),new MUe)))))),t==xs?(zo(e.a,new Xe(Re(Oe(U(x,(Gr(),wd))))-a,p)),zo(e.a,new Xe(W.e.a+W.f.a+a+c,p)),zo(e.a,new Xe(W.e.a+W.f.a+a+c,W.e.b+W.f.b/2)),zo(e.a,new Xe(W.e.a+W.f.a,W.e.b+W.f.b/2))):t==js?(zo(e.a,new Xe(Re(Oe(U(x,(Gr(),Bf))))+a,x.e.b+x.f.b/2)),zo(e.a,new Xe(x.e.a+x.f.a+a,p)),zo(e.a,new Xe(W.e.a-a-c,p)),zo(e.a,new Xe(W.e.a-a-c,W.e.b+W.f.b/2)),zo(e.a,new Xe(W.e.a,W.e.b+W.f.b/2))):t==ju?(zo(e.a,new Xe(p,Re(Oe(U(x,(Gr(),wd))))-a)),zo(e.a,new Xe(p,W.e.b+W.f.b+a+c)),zo(e.a,new Xe(W.e.a+W.f.a/2,W.e.b+W.f.b+a+c)),zo(e.a,new Xe(W.e.a+W.f.a/2,W.e.b+W.f.b+a))):(e.a.b==0||(u(Rf(e.a),8).b=Re(Oe(U(x,(Gr(),Bf))))+a*u(d.b,17).a),zo(e.a,new Xe(p,Re(Oe(U(x,(Gr(),Bf))))+a*u(d.b,17).a)),zo(e.a,new Xe(p,W.e.b-a*u(d.a,17).a-c))),new Ji(rt(N),rt(j))}function r$n(e){var t,i,s,a,c,d,p,w,y,v,x,N,j;if(d=!0,x=null,s=null,a=null,t=!1,j=JTt,y=null,c=null,p=0,w=gY(e,p,Wxe,Uxe),w=0&&Ft(e.substr(p,2),"//")?(p+=2,w=gY(e,p,F$,B$),s=(So(p,w,e.length),e.substr(p,w-p)),p=w):x!=null&&(p==e.length||(fn(p,e.length),e.charCodeAt(p)!=47))&&(d=!1,w=zbe(e,Nl(35),p),w==-1&&(w=e.length),s=(So(p,w,e.length),e.substr(p,w-p)),p=w);if(!i&&p0&&No(v,v.length-1)==58&&(a=v,p=w)),pfQ(c))&&(x=c);for(!x&&(x=(Kt(0,q.c.length),u(q.c[0],185))),V=new J(t.b);V.ax&&(nn=0,An+=v+lt,v=0),Ayt(He,d,nn,An),t=g.Math.max(t,nn+Ke.a),v=g.Math.max(v,Ke.b),nn+=Ke.a+lt;for(ke=new Dn,i=new Dn,It=new J(e);It.a=-1900?1:0,i>=4?lr(e,oe(re(wt,1),tt,2,6,[Z2t,e_t])[p]):lr(e,oe(re(wt,1),tt,2,6,["BC","AD"])[p]);break;case 121:Emn(e,i,s);break;case 77:H4n(e,i,s);break;case 107:w=a.q.getHours(),w==0?Gh(e,24,i):Gh(e,w,i);break;case 83:tkn(e,i,a);break;case 69:v=s.q.getDay(),i==5?lr(e,oe(re(wt,1),tt,2,6,["S","M","T","W","T","F","S"])[v]):i==4?lr(e,oe(re(wt,1),tt,2,6,[bZ,pZ,gZ,wZ,mZ,yZ,vZ])[v]):lr(e,oe(re(wt,1),tt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[v]);break;case 97:a.q.getHours()>=12&&a.q.getHours()<24?lr(e,oe(re(wt,1),tt,2,6,["AM","PM"])[1]):lr(e,oe(re(wt,1),tt,2,6,["AM","PM"])[0]);break;case 104:x=a.q.getHours()%12,x==0?Gh(e,12,i):Gh(e,x,i);break;case 75:N=a.q.getHours()%12,Gh(e,N,i);break;case 72:j=a.q.getHours(),Gh(e,j,i);break;case 99:W=s.q.getDay(),i==5?lr(e,oe(re(wt,1),tt,2,6,["S","M","T","W","T","F","S"])[W]):i==4?lr(e,oe(re(wt,1),tt,2,6,[bZ,pZ,gZ,wZ,mZ,yZ,vZ])[W]):i==3?lr(e,oe(re(wt,1),tt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[W]):Gh(e,W,1);break;case 76:V=s.q.getMonth(),i==5?lr(e,oe(re(wt,1),tt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[V]):i==4?lr(e,oe(re(wt,1),tt,2,6,[rZ,iZ,oZ,sZ,a3,aZ,lZ,cZ,uZ,fZ,dZ,hZ])[V]):i==3?lr(e,oe(re(wt,1),tt,2,6,["Jan","Feb","Mar","Apr",a3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[V]):Gh(e,V+1,i);break;case 81:q=s.q.getMonth()/3|0,i<4?lr(e,oe(re(wt,1),tt,2,6,["Q1","Q2","Q3","Q4"])[q]):lr(e,oe(re(wt,1),tt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[q]);break;case 100:ie=s.q.getDate(),Gh(e,ie,i);break;case 109:y=a.q.getMinutes(),Gh(e,y,i);break;case 115:d=a.q.getSeconds(),Gh(e,d,i);break;case 122:i<4?lr(e,c.c[0]):lr(e,c.c[1]);break;case 118:lr(e,c.b);break;case 90:i<3?lr(e,qSn(c)):i==3?lr(e,ZSn(c)):lr(e,eEn(c.a));break;default:return!1}return!0}function d2e(e,t,i,s){var a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An,Ar;if(pyt(t),w=u(we((!t.b&&(t.b=new Xt(Tn,t,4,7)),t.b),0),84),v=u(we((!t.c&&(t.c=new Xt(Tn,t,5,8)),t.c),0),84),p=Ds(w),y=Ds(v),d=(!t.a&&(t.a=new We(ti,t,6,6)),t.a).i==0?null:u(we((!t.a&&(t.a=new We(ti,t,6,6)),t.a),0),166),lt=u(_n(e.a,p),10),nn=u(_n(e.a,y),10),Pt=null,An=null,pe(w,193)&&(Ke=u(_n(e.a,w),305),pe(Ke,12)?Pt=u(Ke,12):pe(Ke,10)&&(lt=u(Ke,10),Pt=u(gt(lt.j,0),12))),pe(v,193)&&(tn=u(_n(e.a,v),305),pe(tn,12)?An=u(tn,12):pe(tn,10)&&(nn=u(tn,10),An=u(gt(nn.j,0),12))),!lt||!nn)throw Z(new fE("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(V=new Vw,Ms(V,t),Ue(V,(Je(),Nr),t),Ue(V,(dt(),Cs),null),j=u(U(s,Xa),21),lt==nn&&j.Fc((cs(),Kx)),Pt||(He=(ls(),al),It=null,d&&x2(u(U(lt,Si),101))&&(It=new Xe(d.j,d.k),out(It,t7(t)),Out(It,i),Vy(y,p)&&(He=hc,$r(It,lt.n))),Pt=gvt(lt,It,He,s)),An||(He=(ls(),hc),Ar=null,d&&x2(u(U(nn,Si),101))&&(Ar=new Xe(d.b,d.c),out(Ar,t7(t)),Out(Ar,i)),An=gvt(nn,Ar,He,Co(nn))),Wo(V,Pt),po(V,An),(Pt.e.c.length>1||Pt.g.c.length>1||An.e.c.length>1||An.g.c.length>1)&&j.Fc((cs(),Gx)),N=new vn((!t.n&&(t.n=new We(ys,t,1,7)),t.n));N.e!=N.i.gc();)if(x=u(Rn(N),135),!bt(ht(Ge(x,q0)))&&x.a)switch(q=JJ(x),ot(V.b,q),u(U(q,$h),278).g){case 1:case 2:j.Fc((cs(),AA));break;case 0:j.Fc((cs(),RA)),Ue(q,$h,(Nd(),VA))}if(c=u(U(s,Qx),322),ie=u(U(s,kW),323),a=c==(f5(),SO)||ie==(T5(),Mre),d&&(!d.a&&(d.a=new Di(uu,d,5)),d.a).i!=0&&a){for(ue=iP(d),W=new Ul,ke=Fn(ue,0);ke.b!=ke.d.c;)ge=u(Ln(ke),8),sr(W,new qo(ge));Ue(V,s4e,W)}return V}function a$n(e,t,i,s){var a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An,Ar,hi;for(It=0,tn=0,lt=new Dn,He=u(Oc(Oy(Ps(new Lt(null,new Wt(e.b,16)),new DUe),new VUe)),17).a+1,Pt=Ne(Gn,ur,28,He,15,1),q=Ne(Gn,ur,28,He,15,1),V=0;V1)for(p=An+1;py.b.e.b*(1-ie)+y.c.e.b*ie));W++);if(Ke.gc()>0&&(Ar=y.a.b==0?Ro(y.b.e):u(Rf(y.a),8),ge=$r(Ro(u(Ke.Xb(Ke.gc()-1),40).e),u(Ke.Xb(Ke.gc()-1),40).f),N=$r(Ro(u(Ke.Xb(0),40).e),u(Ke.Xb(0),40).f),W>=Ke.gc()-1&&Ar.b>ge.b&&y.c.e.b>ge.b||W<=0&&Ar.by.b.e.a*(1-ie)+y.c.e.a*ie));W++);if(Ke.gc()>0&&(Ar=y.a.b==0?Ro(y.b.e):u(Rf(y.a),8),ge=$r(Ro(u(Ke.Xb(Ke.gc()-1),40).e),u(Ke.Xb(Ke.gc()-1),40).f),N=$r(Ro(u(Ke.Xb(0),40).e),u(Ke.Xb(0),40).f),W>=Ke.gc()-1&&Ar.a>ge.a&&y.c.e.a>ge.a||W<=0&&Ar.a=Re(Oe(U(e,(Gr(),S6e))))&&++tn):(j.f&&j.d.e.a<=Re(Oe(U(e,(Gr(),Zre))))&&++It,j.g&&j.c.e.a+j.c.f.a>=Re(Oe(U(e,(Gr(),_6e))))&&++tn)}else ke==0?Nye(y):ke<0&&(++Pt[An],++q[hi],nn=n$n(y,t,e,new Ji(rt(It),rt(tn)),i,s,new Ji(rt(q[hi]),rt(Pt[An]))),It=u(nn.a,17).a,tn=u(nn.b,17).a)}function l$n(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue;if(s=t,w=i,e.b&&s.j==(ct(),bn)&&w.j==(ct(),bn)&&(ue=s,s=w,w=ue),fl(e.a,s)){if(rd(u(_n(e.a,s),49),w))return 1}else wr(e.a,s,new Ni);if(fl(e.a,w)){if(rd(u(_n(e.a,w),49),s))return-1}else wr(e.a,w,new Ni);if(fl(e.d,s)){if(rd(u(_n(e.d,s),49),w))return-1}else wr(e.d,s,new Ni);if(fl(e.d,w)){if(rd(u(_n(e.a,w),49),s))return 1}else wr(e.d,w,new Ni);if(s.j!=w.j)return ie=Jrn(s.j,w.j),ie==-1?Pu(e,w,s):Pu(e,s,w),ie;if(s.e.c.length!=0&&w.e.c.length!=0){if(e.b&&(ie=ept(s,w),ie!=0))return ie==-1?Pu(e,w,s):ie==1&&Pu(e,s,w),ie;if(c=u(gt(s.e,0),18).c.i,v=u(gt(w.e,0),18).c.i,c==v)return a=u(U(u(gt(s.e,0),18),(Je(),Br)),17).a,y=u(U(u(gt(w.e,0),18),Br),17).a,a>y?Pu(e,s,w):Pu(e,w,s),ay?1:0;for(W=e.c,V=0,q=W.length;Vy?Pu(e,s,w):Pu(e,w,s),ay?1:0):e.b&&(ie=ept(s,w),ie!=0)?(ie==-1?Pu(e,w,s):ie==1&&Pu(e,s,w),ie):(d=0,x=0,Jr(u(gt(s.g,0),18),Br)&&(d=u(U(u(gt(s.g,0),18),Br),17).a),Jr(u(gt(w.g,0),18),Br)&&(x=u(U(u(gt(s.g,0),18),Br),17).a),p&&p==N?bt(ht(U(u(gt(s.g,0),18),Gd)))&&!bt(ht(U(u(gt(w.g,0),18),Gd)))?(Pu(e,s,w),1):!bt(ht(U(u(gt(s.g,0),18),Gd)))&&bt(ht(U(u(gt(w.g,0),18),Gd)))?(Pu(e,w,s),-1):(d>x?Pu(e,s,w):Pu(e,w,s),dx?1:0):(e.f&&(e.f._b(p)&&(d=u(e.f.xc(p),17).a),e.f._b(N)&&(x=u(e.f.xc(N),17).a)),d>x?Pu(e,s,w):Pu(e,w,s),dx?1:0))):s.e.c.length!=0&&w.g.c.length!=0?(Pu(e,s,w),1):s.g.c.length!=0&&w.e.c.length!=0?(Pu(e,w,s),-1):Jr(s,(Je(),Br))&&Jr(w,Br)?(a=u(U(s,Br),17).a,y=u(U(w,Br),17).a,a>y?Pu(e,s,w):Pu(e,w,s),ay?1:0):(Pu(e,w,s),-1)}function c$n(e){e.gb||(e.gb=!0,e.b=ha(e,0),wi(e.b,18),Qr(e.b,19),e.a=ha(e,1),wi(e.a,1),Qr(e.a,2),Qr(e.a,3),Qr(e.a,4),Qr(e.a,5),e.o=ha(e,2),wi(e.o,8),wi(e.o,9),Qr(e.o,10),Qr(e.o,11),Qr(e.o,12),Qr(e.o,13),Qr(e.o,14),Qr(e.o,15),Qr(e.o,16),Qr(e.o,17),Qr(e.o,18),Qr(e.o,19),Qr(e.o,20),Qr(e.o,21),Qr(e.o,22),Qr(e.o,23),ks(e.o),ks(e.o),ks(e.o),ks(e.o),ks(e.o),ks(e.o),ks(e.o),ks(e.o),ks(e.o),ks(e.o),e.p=ha(e,3),wi(e.p,2),wi(e.p,3),wi(e.p,4),wi(e.p,5),Qr(e.p,6),Qr(e.p,7),ks(e.p),ks(e.p),e.q=ha(e,4),wi(e.q,8),e.v=ha(e,5),Qr(e.v,9),ks(e.v),ks(e.v),ks(e.v),e.w=ha(e,6),wi(e.w,2),wi(e.w,3),wi(e.w,4),Qr(e.w,5),e.B=ha(e,7),Qr(e.B,1),ks(e.B),ks(e.B),ks(e.B),e.Q=ha(e,8),Qr(e.Q,0),ks(e.Q),e.R=ha(e,9),wi(e.R,1),e.S=ha(e,10),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),ks(e.S),e.T=ha(e,11),Qr(e.T,10),Qr(e.T,11),Qr(e.T,12),Qr(e.T,13),Qr(e.T,14),ks(e.T),ks(e.T),e.U=ha(e,12),wi(e.U,2),wi(e.U,3),Qr(e.U,4),Qr(e.U,5),Qr(e.U,6),Qr(e.U,7),ks(e.U),e.V=ha(e,13),Qr(e.V,10),e.W=ha(e,14),wi(e.W,18),wi(e.W,19),wi(e.W,20),Qr(e.W,21),Qr(e.W,22),Qr(e.W,23),e.bb=ha(e,15),wi(e.bb,10),wi(e.bb,11),wi(e.bb,12),wi(e.bb,13),wi(e.bb,14),wi(e.bb,15),wi(e.bb,16),Qr(e.bb,17),ks(e.bb),ks(e.bb),e.eb=ha(e,16),wi(e.eb,2),wi(e.eb,3),wi(e.eb,4),wi(e.eb,5),wi(e.eb,6),wi(e.eb,7),Qr(e.eb,8),Qr(e.eb,9),e.ab=ha(e,17),wi(e.ab,0),wi(e.ab,1),e.H=ha(e,18),Qr(e.H,0),Qr(e.H,1),Qr(e.H,2),Qr(e.H,3),Qr(e.H,4),Qr(e.H,5),ks(e.H),e.db=ha(e,19),Qr(e.db,2),e.c=yr(e,20),e.d=yr(e,21),e.e=yr(e,22),e.f=yr(e,23),e.i=yr(e,24),e.g=yr(e,25),e.j=yr(e,26),e.k=yr(e,27),e.n=yr(e,28),e.r=yr(e,29),e.s=yr(e,30),e.t=yr(e,31),e.u=yr(e,32),e.fb=yr(e,33),e.A=yr(e,34),e.C=yr(e,35),e.D=yr(e,36),e.F=yr(e,37),e.G=yr(e,38),e.I=yr(e,39),e.J=yr(e,40),e.L=yr(e,41),e.M=yr(e,42),e.N=yr(e,43),e.O=yr(e,44),e.P=yr(e,45),e.X=yr(e,46),e.Y=yr(e,47),e.Z=yr(e,48),e.$=yr(e,49),e._=yr(e,50),e.cb=yr(e,51),e.K=yr(e,52))}function u$n(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An;for(d=new ei,Ke=u(U(i,(dt(),su)),88),V=0,Eo(d,(!t.a&&(t.a=new We(Er,t,10,11)),t.a));d.b!=0;)v=u(d.b==0?null:(Cn(d.b!=0),Ru(d,d.a.a)),27),y=oi(v),(xe(Ge(y,ob))!==xe((hh(),Zp))||xe(Ge(y,V0))===xe((Bp(),EA))||xe(Ge(y,V0))===xe((Bp(),SA))||bt(ht(Ge(y,Pm)))||xe(Ge(y,$v))!==xe((k0(),Ev))||xe(Ge(y,w1))===xe((Yu(),jm))||xe(Ge(y,w1))===xe((Yu(),Dv))||xe(Ge(y,K0))===xe((Gp(),MA))||xe(Ge(y,K0))===xe((Gp(),DA)))&&!bt(ht(Ge(v,gW)))&&Lr(v,(Je(),Br),rt(V++)),ie=!bt(ht(Ge(v,q0))),ie&&(N=(!v.a&&(v.a=new We(Er,v,10,11)),v.a).i!=0,W=F2n(v),j=xe(Ge(v,Iv))===xe((Bb(),ig)),An=!Pd(v,(br(),HA))||Hut(tr(Ge(v,HA))),ke=null,An&&j&&(N||W)&&(ke=Jyt(v),Ue(ke,su,Ke),Jr(ke,IO)&&XZe(new Xwe(Re(Oe(U(ke,IO)))),ke),u(Ge(v,z0),181).gc()!=0&&(x=ke,Ei(new Lt(null,(!v.c&&(v.c=new We(gc,v,9,9)),new Wt(v.c,16))),new nJe(x)),Wmt(v,ke))),lt=i,Pt=u(_n(e.a,oi(v)),10),Pt&&(lt=Pt.e),ge=E2t(e,v,lt),ke&&(ge.e=ke,ke.e=ge,Eo(d,(!v.a&&(v.a=new We(Er,v,10,11)),v.a))));for(V=0,gi(d,t,d.c.b,d.c);d.b!=0;){for(c=u(d.b==0?null:(Cn(d.b!=0),Ru(d,d.a.a)),27),w=new vn((!c.b&&(c.b=new We(Ci,c,12,3)),c.b));w.e!=w.i.gc();)p=u(Rn(w),74),pyt(p),(xe(Ge(t,ob))!==xe((hh(),Zp))||xe(Ge(t,V0))===xe((Bp(),EA))||xe(Ge(t,V0))===xe((Bp(),SA))||bt(ht(Ge(t,Pm)))||xe(Ge(t,$v))!==xe((k0(),Ev))||xe(Ge(t,w1))===xe((Yu(),jm))||xe(Ge(t,w1))===xe((Yu(),Dv))||xe(Ge(t,K0))===xe((Gp(),MA))||xe(Ge(t,K0))===xe((Gp(),DA)))&&Lr(p,(Je(),Br),rt(V++)),tn=Ds(u(we((!p.b&&(p.b=new Xt(Tn,p,4,7)),p.b),0),84)),nn=Ds(u(we((!p.c&&(p.c=new Xt(Tn,p,5,8)),p.c),0),84)),!(bt(ht(Ge(p,q0)))||bt(ht(Ge(tn,q0)))||bt(ht(Ge(nn,q0))))&&(q=lm(p)&&bt(ht(Ge(tn,Tv)))&&bt(ht(Ge(p,G0))),He=c,q||Vy(nn,tn)?He=tn:Vy(tn,nn)&&(He=nn),lt=i,Pt=u(_n(e.a,He),10),Pt&&(lt=Pt.e),ue=d2e(e,p,He,lt),Ue(ue,(Je(),n4e),uRn(e,p,t,i)));if(j=xe(Ge(c,Iv))===xe((Bb(),ig)),j)for(a=new vn((!c.a&&(c.a=new We(Er,c,10,11)),c.a));a.e!=a.i.gc();)s=u(Rn(a),27),An=!Pd(s,(br(),HA))||Hut(tr(Ge(s,HA))),It=xe(Ge(s,Iv))===xe(ig),An&&It&&gi(d,s,d.c.b,d.c)}}function Je(){Je=L;var e,t;Nr=new jr(Q2e),n4e=new jr("coordinateOrigin"),ure=new jr("processors"),t4e=new di("compoundNode",(on(),!1)),AO=new di("insideConnections",!1),s4e=new jr("originalBendpoints"),a4e=new jr("originalDummyNodePosition"),l4e=new jr("originalLabelEdge"),qx=new jr("representedLabels"),zx=new jr("endLabels"),C3=new jr("endLabel.origin"),$3=new di("labelSide",(eu(),o9)),T_=new di("maxEdgeThickness",0),Gd=new di("reversed",!1),I3=new jr(B_t),gd=new di("longEdgeSource",null),rf=new di("longEdgeTarget",null),Cv=new di("longEdgeHasLabelDummies",!1),CO=new di("longEdgeBeforeLabelDummy",!1),cW=new di("edgeConstraint",(_0(),zne)),$m=new jr("inLayerLayoutUnit"),W0=new di("inLayerConstraint",(Lb(),kO)),x3=new di("inLayerSuccessorConstraint",new it),o4e=new di("inLayerSuccessorConstraintBetweenNonDummies",!1),dc=new jr("portDummy"),lW=new di("crossingHint",rt(0)),Xa=new di("graphProperties",(t=u(nd(ere),9),new yu(t,u(Af(t,t.length),9),0))),ya=new di("externalPortSide",(ct(),la)),i4e=new di("externalPortSize",new mo),ore=new jr("externalPortReplacedDummies"),uW=new jr("externalPortReplacedDummy"),Qb=new di("externalPortConnections",(e=u(nd(ns),9),new yu(e,u(Af(e,e.length),9),0))),Im=new di(T_t,0),e4e=new jr("barycenterAssociates"),T3=new jr("TopSideComments"),A3=new jr("BottomSideComments"),aW=new jr("CommentConnectionPort"),are=new di("inputCollect",!1),cre=new di("outputCollect",!1),RO=new di("cyclic",!1),r4e=new jr("crossHierarchyMap"),dre=new jr("targetOffset"),new di("splineLabelSize",new mo),O_=new jr("spacings"),fW=new di("partitionConstraint",!1),xm=new jr("breakingPoint.info"),f4e=new jr("splines.survivingEdge"),U0=new jr("splines.route.start"),N_=new jr("splines.edgeChain"),u4e=new jr("originalPortConstraints"),Tm=new jr("selfLoopHolder"),xA=new jr("splines.nsPortY"),Br=new jr("modelOrder"),lre=new jr("longEdgeTargetNode"),p1=new di(dSt,!1),P_=new di(dSt,!1),sre=new jr("layerConstraints.hiddenNodes"),c4e=new jr("layerConstraints.opposidePort"),fre=new jr("targetNode.modelOrder")}function f$n(e,t,i,s){var a,c,d,p,w,y,v,x,N,j,W;for(x=Fn(e.b,0);x.b!=x.d.c;)if(v=u(Ln(x),40),!Ft(v.c,MB))for(c=u(Ks(new Lt(null,new Wt(vEn(v,e),16)),lc(new K,new B,new Jt,oe(re(As,1),Ve,108,0,[(uc(),Xs)]))),15),t==(Fi(),xs)||t==js?c.jd(new BUe):c.jd(new HUe),W=c.gc(),a=0;a0&&(p=u(Rf(u(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,w=u(Rf(u(c.Xb(a),65).a),8).b,j=v.e.b+v.f.b/2,s>0&&g.Math.abs(w-j)/(g.Math.abs(p-N)/40)>50&&(j>w?zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a+s/5.3,v.e.b+v.f.b*d-s/2)):zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a+s/5.3,v.e.b+v.f.b*d+s/2)))),zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a,v.e.b+v.f.b*d))):t==js?(y=Re(Oe(U(v,(Gr(),wd)))),v.e.a-s>y?zo(u(c.Xb(a),65).a,new Xe(y-i,v.e.b+v.f.b*d)):u(c.Xb(a),65).a.b>0&&(p=u(Rf(u(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,w=u(Rf(u(c.Xb(a),65).a),8).b,j=v.e.b+v.f.b/2,s>0&&g.Math.abs(w-j)/(g.Math.abs(p-N)/40)>50&&(j>w?zo(u(c.Xb(a),65).a,new Xe(v.e.a-s/5.3,v.e.b+v.f.b*d-s/2)):zo(u(c.Xb(a),65).a,new Xe(v.e.a-s/5.3,v.e.b+v.f.b*d+s/2)))),zo(u(c.Xb(a),65).a,new Xe(v.e.a,v.e.b+v.f.b*d))):t==ju?(y=Re(Oe(U(v,(Gr(),Bf)))),v.e.b+v.f.b+s0&&(p=u(Rf(u(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,w=u(Rf(u(c.Xb(a),65).a),8).b,j=v.e.b+v.f.b/2,s>0&&g.Math.abs(p-N)/(g.Math.abs(w-j)/40)>50&&(N>p?zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d-s/2,v.e.b+s/5.3+v.f.b)):zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d+s/2,v.e.b+s/5.3+v.f.b)))),zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d,v.e.b+v.f.b))):(y=Re(Oe(U(v,(Gr(),wd)))),Bbt(u(c.Xb(a),65),e)?zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d,u(Rf(u(c.Xb(a),65).a),8).b)):v.e.b-s>y?zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d,y-i)):u(c.Xb(a),65).a.b>0&&(p=u(Rf(u(c.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,w=u(Rf(u(c.Xb(a),65).a),8).b,j=v.e.b+v.f.b/2,s>0&&g.Math.abs(p-N)/(g.Math.abs(w-j)/40)>50&&(N>p?zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d-s/2,v.e.b-s/5.3)):zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d+s/2,v.e.b-s/5.3)))),zo(u(c.Xb(a),65).a,new Xe(v.e.a+v.f.a*d,v.e.b)))}function br(){br=L;var e,t;HA=new jr(YSt),Z_=new jr(QSt),m5e=(Kh(),Uie),UIt=new Dt(sSe,m5e),K_=new Dt(h3,null),VIt=new jr(yEe),v5e=(A0(),Yr(Kie,oe(re(zie,1),Ve,298,0,[Gie]))),JO=new Dt(IB,v5e),YO=new Dt(XP,(on(),!1)),_5e=(Fi(),Xd),Q0=new Dt(Tee,_5e),k5e=(Hb(),soe),E5e=new Dt(qP,k5e),zIt=new Dt(wEe,!1),C5e=(Bb(),fU),X_=new Dt($B,C5e),D5e=new Iw(12),rg=new Dt(gm,D5e),ZO=new Dt(fx,!1),Yie=new Dt(PB,!1),e9=new Dt(dx,!1),H5e=(go(),k1),C$=new Dt(YZ,H5e),D3=new jr(TB),t9=new jr(FP),ioe=new jr(fB),ooe=new jr(ux),x5e=new Ul,Hm=new Dt(wSe,x5e),KIt=new Dt(vSe,!1),qIt=new Dt(_Se,!1),$5e=new rC,WA=new Dt(ESe,$5e),aU=new Dt(iSe,!1),QIt=new Dt(ZSt,1),q_=new jr(eEt),z_=new jr(tEt),UA=new Dt(BP,!1),new Dt(nEt,!0),rt(0),new Dt(rEt,rt(100)),new Dt(iEt,!1),rt(0),new Dt(oEt,rt(4e3)),rt(0),new Dt(sEt,rt(400)),new Dt(aEt,!1),new Dt(lEt,!1),new Dt(cEt,!0),new Dt(uEt,!1),y5e=(qj(),uoe),GIt=new Dt(mEe,y5e),ZIt=new Dt(z_e,10),eTt=new Dt(q_e,10),G5e=new Dt(VZ,20),tTt=new Dt(X_e,10),K5e=new Dt(JZ,2),z5e=new Dt(Iee,10),q5e=new Dt(J_e,0),lU=new Dt(Z_e,5),X5e=new Dt(Y_e,1),J5e=new Dt(Q_e,1),ew=new Dt(hv,20),nTt=new Dt(eSe,10),Z5e=new Dt(tSe,10),L3=new jr(nSe),Q5e=new wrt,Y5e=new Dt(kSe,Q5e),JIt=new jr(Oee),L5e=!1,XIt=new Dt(Pee,L5e),T5e=new Iw(5),I5e=new Dt(cSe,T5e),P5e=(rv(),t=u(nd(hs),9),new yu(t,u(Af(t,t.length),9),0)),J_=new Dt(Z4,P5e),F5e=(q2(),E1),j5e=new Dt(dSe,F5e),Zie=new jr(hSe),eoe=new jr(bSe),toe=new jr(pSe),Qie=new jr(gSe),O5e=(e=u(nd(M$),9),new yu(e,u(Af(e,e.length),9),0)),Z0=new Dt(b_,O5e),M5e=Tt((kc(),qA)),_1=new Dt(b3,M5e),N5e=new Xe(0,0),Y_=new Dt(p3,N5e),Bv=new Dt(Q4,!1),S5e=(Nd(),VA),Xie=new Dt(mSe,S5e),qie=new Dt(dB,!1),rt(1),new Dt(fEt,null),B5e=new jr(SSe),noe=new jr(ySe),V5e=(ct(),la),Q_=new Dt(oSe,V5e),xc=new jr(rSe),W5e=(fc(),Tt(R1)),Hv=new Dt(eA,W5e),roe=new Dt(uSe,!1),U5e=new Dt(fSe,!0),uU=new Dt(HP,1),exe=new Dt(vEe,null),n9=new Dt(WP,150),cU=new Dt(UP,1.414),j3=new Dt(wm,null),rTt=new Dt(_Ee,1),QO=new Dt(aSe,!1),Jie=new Dt(lSe,!1),R5e=new Dt(GZ,1),A5e=(SF(),loe),new Dt(dEt,A5e),YIt=!0,oTt=(zE(),Vv),sTt=Vv,iTt=Vv}function Go(){Go=L,Zke=new Mi("DIRECTION_PREPROCESSOR",0),Jke=new Mi("COMMENT_PREPROCESSOR",1),k_=new Mi("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),$ne=new Mi("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),mRe=new Mi("PARTITION_PREPROCESSOR",4),MH=new Mi("LABEL_DUMMY_INSERTER",5),GH=new Mi("SELF_LOOP_PREPROCESSOR",6),Rv=new Mi("LAYER_CONSTRAINT_PREPROCESSOR",7),gRe=new Mi("PARTITION_MIDPROCESSOR",8),aRe=new Mi("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),bRe=new Mi("NODE_PROMOTION",10),kv=new Mi("LAYER_CONSTRAINT_POSTPROCESSOR",11),wRe=new Mi("PARTITION_POSTPROCESSOR",12),iRe=new Mi("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),yRe=new Mi("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Vke=new Mi("BREAKING_POINT_INSERTER",15),FH=new Mi("LONG_EDGE_SPLITTER",16),Ine=new Mi("PORT_SIDE_PROCESSOR",17),OH=new Mi("INVERTED_PORT_PROCESSOR",18),WH=new Mi("PORT_LIST_SORTER",19),_Re=new Mi("SORT_BY_INPUT_ORDER_OF_MODEL",20),HH=new Mi("NORTH_SOUTH_PORT_PREPROCESSOR",21),Gke=new Mi("BREAKING_POINT_PROCESSOR",22),pRe=new Mi(iSt,23),SRe=new Mi(oSt,24),UH=new Mi("SELF_LOOP_PORT_RESTORER",25),vRe=new Mi("SINGLE_EDGE_GRAPH_WRAPPER",26),NH=new Mi("IN_LAYER_CONSTRAINT_PROCESSOR",27),tRe=new Mi("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),dRe=new Mi("LABEL_AND_NODE_SIZE_PROCESSOR",29),fRe=new Mi("INNERMOST_NODE_MARGIN_CALCULATOR",30),KH=new Mi("SELF_LOOP_ROUTER",31),qke=new Mi("COMMENT_NODE_MARGIN_CALCULATOR",32),PH=new Mi("END_LABEL_PREPROCESSOR",33),LH=new Mi("LABEL_DUMMY_SWITCHER",34),zke=new Mi("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),gA=new Mi("LABEL_SIDE_SELECTOR",36),cRe=new Mi("HYPEREDGE_DUMMY_MERGER",37),oRe=new Mi("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),hRe=new Mi("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),Hx=new Mi("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Yke=new Mi("CONSTRAINTS_POSTPROCESSOR",41),Xke=new Mi("COMMENT_POSTPROCESSOR",42),uRe=new Mi("HYPERNODE_PROCESSOR",43),sRe=new Mi("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),jH=new Mi("LONG_EDGE_JOINER",45),VH=new Mi("SELF_LOOP_POSTPROCESSOR",46),Kke=new Mi("BREAKING_POINT_REMOVER",47),BH=new Mi("NORTH_SOUTH_PORT_POSTPROCESSOR",48),lRe=new Mi("HORIZONTAL_COMPACTOR",49),DH=new Mi("LABEL_DUMMY_REMOVER",50),nRe=new Mi("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),eRe=new Mi("END_LABEL_SORTER",52),yO=new Mi("REVERSED_EDGE_RESTORER",53),TH=new Mi("END_LABEL_POSTPROCESSOR",54),rRe=new Mi("HIERARCHICAL_NODE_RESIZER",55),Qke=new Mi("DIRECTION_POSTPROCESSOR",56)}function h2e(){h2e=L,S4e=(S7(),eW),m6t=new Dt(l_e,S4e),I6t=new Dt(c_e,(on(),!1)),x4e=(GL(),ire),M6t=new Dt(gB,x4e),J6t=new Dt(u_e,!1),Y6t=new Dt(f_e,!0),VAt=new Dt(d_e,!1),D4e=(v7(),Fre),dCt=new Dt(h_e,D4e),rt(1),vCt=new Dt(b_e,rt(7)),_Ct=new Dt(p_e,!1),T6t=new Dt(g_e,!1),_4e=(Bp(),Gne),w6t=new Dt(iee,_4e),T4e=(Gp(),Tre),X6t=new Dt(zP,T4e),$4e=(Iu(),xO),H6t=new Dt(w_e,$4e),rt(-1),B6t=new Dt(m_e,null),rt(-1),W6t=new Dt(y_e,rt(-1)),rt(-1),U6t=new Dt(oee,rt(4)),rt(-1),G6t=new Dt(see,rt(2)),I4e=(Yu(),PW),q6t=new Dt(aee,I4e),rt(0),z6t=new Dt(lee,rt(0)),j6t=new Dt(cee,rt(xr)),v4e=(f5(),Ux),g6t=new Dt(px,v4e),t6t=new Dt(v_e,!1),l6t=new Dt(uee,.1),b6t=new Dt(fee,!1),u6t=new Dt(__e,null),f6t=new Dt(S_e,null),rt(-1),d6t=new Dt(E_e,null),rt(-1),h6t=new Dt(k_e,rt(-1)),rt(0),n6t=new Dt(R_e,rt(40)),y4e=(o4(),nre),s6t=new Dt(dee,y4e),m4e=EO,r6t=new Dt(wB,m4e),M4e=(T5(),r$),fCt=new Dt(p_,M4e),nCt=new jr(mB),P4e=(p7(),nW),Q6t=new Dt(hee,P4e),O4e=(tP(),rW),eCt=new Dt(bee,O4e),oCt=new Dt(pee,.3),aCt=new jr(gee),N4e=(Yy(),TW),lCt=new Dt(wee,N4e),R4e=(Oj(),Hre),E6t=new Dt(A_e,R4e),A4e=(m5(),Ure),k6t=new Dt(C_e,A4e),C4e=(h4(),s$),R6t=new Dt(yB,C4e),C6t=new Dt(vB,.2),_6t=new Dt(mee,2),gCt=new Dt(x_e,null),mCt=new Dt($_e,10),wCt=new Dt(I_e,10),yCt=new Dt(T_e,20),rt(0),hCt=new Dt(P_e,rt(0)),rt(0),bCt=new Dt(O_e,rt(0)),rt(0),pCt=new Dt(N_e,rt(0)),GAt=new Dt(yee,!1),b4e=(x4(),Vx),zAt=new Dt(M_e,b4e),h4e=(nj(),Une),KAt=new Dt(D_e,h4e),O6t=new Dt(_B,!1),rt(0),P6t=new Dt(vee,rt(16)),rt(0),N6t=new Dt(_ee,rt(5)),F4e=(Lj(),Kre),HCt=new Dt(Xb,F4e),SCt=new Dt(SB,10),RCt=new Dt(EB,1),j4e=(yj(),ZH),PCt=new Dt(gx,j4e),xCt=new jr(See),L4e=rt(1),rt(0),ICt=new Dt(Eee,L4e),B4e=(mj(),Gre),GCt=new Dt(kB,B4e),WCt=new jr(RB),LCt=new Dt(AB,!0),MCt=new Dt(CB,2),FCt=new Dt(kee,!0),k4e=(kF(),tW),v6t=new Dt(L_e,k4e),E4e=(e3(),vA),y6t=new Dt(j_e,E4e),w4e=(hh(),Zp),e6t=new Dt(xB,w4e),ZAt=new Dt(F_e,!1),QAt=new Dt(B_e,!1),p4e=(k0(),Ev),qAt=new Dt(Ree,p4e),g4e=(_5(),Pre),YAt=new Dt(H_e,g4e),XAt=new Dt(Aee,0),JAt=new Dt(Cee,0),L6t=Kne,D6t=SO,V6t=$W,K6t=$W,F6t=Ire,c6t=(Bb(),ig),p6t=Ux,a6t=Ux,i6t=Ux,o6t=ig,rCt=i$,iCt=r$,Z6t=r$,tCt=r$,sCt=Dre,uCt=i$,cCt=i$,A6t=(Hb(),F3),x6t=F3,$6t=s$,S6t=r9,ECt=LA,kCt=Lv,ACt=LA,CCt=Lv,OCt=LA,NCt=Lv,$Ct=Vne,TCt=ZH,KCt=LA,zCt=Lv,UCt=LA,VCt=Lv,jCt=Lv,DCt=Lv,BCt=Lv}function d$n(e,t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn,nn,An,Ar,hi,wc,$s,fu,oS,fg,zf,qf,iw,G3,O1,K3,Ph,db,Km,z3,sS,Oh,ow,rp,z8t,E$e,zm,q$,Coe,q3,X$,Qv,J$,xoe,q8t;for(E$e=0,Ar=t,$s=0,fg=Ar.length;$s0&&(e.a[Ph.p]=E$e++)}for(X$=0,hi=i,fu=0,zf=hi.length;fu0;){for(Ph=(Cn(sS.b>0),u(sS.a.Xb(sS.c=--sS.b),12)),z3=0,p=new J(Ph.e);p.a0&&(Ph.j==(ct(),dn)?(e.a[Ph.p]=X$,++X$):(e.a[Ph.p]=X$+qf+G3,++G3))}X$+=G3}for(Km=new Dn,W=new oh,An=t,wc=0,oS=An.length;wcy.b&&(y.b=Oh)):Ph.i.c==z8t&&(Ohy.c&&(y.c=Oh));for(UR(V,0,V.length,null),q3=Ne(Gn,ur,28,V.length,15,1),s=Ne(Gn,ur,28,X$+1,15,1),ie=0;ie0;)lt%2>0&&(a+=xoe[lt+1]),lt=(lt-1)/2|0,++xoe[lt];for(It=Ne(G5t,Zt,374,V.length*2,0,1),ke=0;ke0&&Z8(wc.f),Ge(ie,exe)!=null&&(p=u(Ge(ie,exe),347),Km=p.Tg(ie),I2(ie,g.Math.max(ie.g,Km.a),g.Math.max(ie.f,Km.b)));if(zf=u(Ge(t,rg),107),j=t.g-(zf.b+zf.c),N=t.f-(zf.d+zf.a),Oh.bh("Available Child Area: ("+j+"|"+N+")"),Lr(t,K_,j/N),vgt(t,a,s.eh(oS)),u(Ge(t,j3),280)==wU&&(c2e(t),I2(t,zf.b+Re(Oe(Ge(t,q_)))+zf.c,zf.d+Re(Oe(Ge(t,z_)))+zf.a)),Oh.bh("Executed layout algorithm: "+tr(Ge(t,HA))+" on node "+t.k),u(Ge(t,j3),280)==Vv){if(j<0||N<0)throw Z(new vp("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+t.k));for(Pd(t,q_)||Pd(t,z_)||c2e(t),V=Re(Oe(Ge(t,q_))),W=Re(Oe(Ge(t,z_))),Oh.bh("Desired Child Area: ("+V+"|"+W+")"),iw=j/V,G3=N/W,qf=g.Math.min(iw,g.Math.min(G3,Re(Oe(Ge(t,rTt))))),Lr(t,uU,qf),Oh.bh(t.k+" -- Local Scale Factor (X|Y): ("+iw+"|"+G3+")"),ke=u(Ge(t,JO),21),c=0,d=0,qf'?":Ft(VEt,e)?"'(?<' or '(? toIndex: ",I2e=", toIndex: ",T2e="Index: ",P2e=", Size: ",q4="org.eclipse.elk.alg.common",ir={50:1},h_t="org.eclipse.elk.alg.common.compaction",b_t="Scanline/EventHandler",Zh="org.eclipse.elk.alg.common.compaction.oned",p_t="CNode belongs to another CGroup.",g_t="ISpacingsHandler/1",PZ="The ",OZ=" instance has been finished already.",w_t="The direction ",m_t=" is not supported by the CGraph instance.",y_t="OneDimensionalCompactor",v_t="OneDimensionalCompactor/lambda$0$Type",__t="Quadruplet",S_t="ScanlineConstraintCalculator",E_t="ScanlineConstraintCalculator/ConstraintsScanlineHandler",k_t="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",R_t="ScanlineConstraintCalculator/Timestamp",A_t="ScanlineConstraintCalculator/lambda$0$Type",yh={178:1,46:1},NZ="org.eclipse.elk.alg.common.compaction.options",aa="org.eclipse.elk.core.data",O2e="org.eclipse.elk.polyomino.traversalStrategy",N2e="org.eclipse.elk.polyomino.lowLevelSort",M2e="org.eclipse.elk.polyomino.highLevelSort",D2e="org.eclipse.elk.polyomino.fill",Qu={134:1},MZ="polyomino",ax="org.eclipse.elk.alg.common.networksimplex",eb={183:1,3:1,4:1},C_t="org.eclipse.elk.alg.common.nodespacing",T0="org.eclipse.elk.alg.common.nodespacing.cellsystem",X4="CENTER",x_t={217:1,336:1},L2e={3:1,4:1,5:1,603:1},u3="LEFT",f3="RIGHT",j2e="Vertical alignment cannot be null",F2e="BOTTOM",oB="org.eclipse.elk.alg.common.nodespacing.internal",lx="UNDEFINED",Bd=.01,DP="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",$_t="LabelPlacer/lambda$0$Type",I_t="LabelPlacer/lambda$1$Type",T_t="portRatioOrPosition",J4="org.eclipse.elk.alg.common.overlaps",DZ="DOWN",vh="org.eclipse.elk.alg.common.polyomino",sB="NORTH",LZ="EAST",jZ="SOUTH",FZ="WEST",aB="org.eclipse.elk.alg.common.polyomino.structures",B2e="Direction",BZ="Grid is only of size ",HZ=". Requested point (",WZ=") is out of bounds.",lB=" Given center based coordinates were (",LP="org.eclipse.elk.graph.properties",P_t="IPropertyHolder",H2e={3:1,96:1,137:1},d3="org.eclipse.elk.alg.common.spore",O_t="org.eclipse.elk.alg.common.utils",P0={205:1},f_="org.eclipse.elk.core",N_t="Connected Components Compaction",M_t="org.eclipse.elk.alg.disco",cB="org.eclipse.elk.alg.disco.graph",UZ="org.eclipse.elk.alg.disco.options",W2e="CompactionStrategy",U2e="org.eclipse.elk.disco.componentCompaction.strategy",V2e="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",G2e="org.eclipse.elk.disco.debug.discoGraph",K2e="org.eclipse.elk.disco.debug.discoPolys",D_t="componentCompaction",O0="org.eclipse.elk.disco",VZ="org.eclipse.elk.spacing.componentComponent",GZ="org.eclipse.elk.edge.thickness",h3="org.eclipse.elk.aspectRatio",gm="org.eclipse.elk.padding",d_="org.eclipse.elk.alg.disco.transform",KZ=1.5707963267948966,h_=17976931348623157e292,dv={3:1,4:1,5:1,198:1},L_t={3:1,6:1,4:1,5:1,100:1,115:1},zZ="org.eclipse.elk.alg.force",z2e="ComponentsProcessor",j_t="ComponentsProcessor/1",q2e="ElkGraphImporter/lambda$0$Type",jP="org.eclipse.elk.alg.force.graph",F_t="Component Layout",X2e="org.eclipse.elk.alg.force.model",uB="org.eclipse.elk.force.model",J2e="org.eclipse.elk.force.iterations",Y2e="org.eclipse.elk.force.repulsivePower",qZ="org.eclipse.elk.force.temperature",_h=.001,XZ="org.eclipse.elk.force.repulsion",cx="org.eclipse.elk.alg.force.options",Y4=1.600000023841858,wl="org.eclipse.elk.force",FP="org.eclipse.elk.priority",hv="org.eclipse.elk.spacing.nodeNode",JZ="org.eclipse.elk.spacing.edgeLabel",fB="org.eclipse.elk.randomSeed",ux="org.eclipse.elk.separateConnectedComponents",fx="org.eclipse.elk.interactive",YZ="org.eclipse.elk.portConstraints",dB="org.eclipse.elk.edgeLabels.inline",dx="org.eclipse.elk.omitNodeMicroLayout",Q4="org.eclipse.elk.nodeSize.fixedGraphSize",b3="org.eclipse.elk.nodeSize.options",b_="org.eclipse.elk.nodeSize.constraints",Z4="org.eclipse.elk.nodeLabels.placement",eA="org.eclipse.elk.portLabels.placement",BP="org.eclipse.elk.topdownLayout",HP="org.eclipse.elk.topdown.scaleFactor",WP="org.eclipse.elk.topdown.hierarchicalNodeWidth",UP="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",wm="org.eclipse.elk.topdown.nodeType",Q2e="origin",B_t="random",H_t="boundingBox.upLeft",W_t="boundingBox.lowRight",Z2e="org.eclipse.elk.stress.fixed",e_e="org.eclipse.elk.stress.desiredEdgeLength",t_e="org.eclipse.elk.stress.dimension",n_e="org.eclipse.elk.stress.epsilon",r_e="org.eclipse.elk.stress.iterationLimit",s1="org.eclipse.elk.stress",U_t="ELK Stress",p3="org.eclipse.elk.nodeSize.minimum",hB="org.eclipse.elk.alg.force.stress",V_t="Layered layout",g3="org.eclipse.elk.alg.layered",VP="org.eclipse.elk.alg.layered.compaction.components",hx="org.eclipse.elk.alg.layered.compaction.oned",bB="org.eclipse.elk.alg.layered.compaction.oned.algs",N0="org.eclipse.elk.alg.layered.compaction.recthull",Hd="org.eclipse.elk.alg.layered.components",Sh="NONE",i_e="MODEL_ORDER",Ta={3:1,6:1,4:1,9:1,5:1,126:1},G_t={3:1,6:1,4:1,5:1,150:1,100:1,115:1},pB="org.eclipse.elk.alg.layered.compound",qr={47:1},Ga="org.eclipse.elk.alg.layered.graph",QZ=" -> ",K_t="Not supported by LGraph",o_e="Port side is undefined",ZZ={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},zp={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},z_t={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},q_t=`([{"' \r +`,X_t=`)]}"' \r +`,J_t="The given string contains parts that cannot be parsed as numbers.",GP="org.eclipse.elk.core.math",Y_t={3:1,4:1,140:1,214:1,423:1},Q_t={3:1,4:1,107:1,214:1,423:1},qp="org.eclipse.elk.alg.layered.graph.transform",Z_t="ElkGraphImporter",eSt="ElkGraphImporter/lambda$1$Type",tSt="ElkGraphImporter/lambda$2$Type",nSt="ElkGraphImporter/lambda$4$Type",wn="org.eclipse.elk.alg.layered.intermediate",rSt="Node margin calculation",iSt="ONE_SIDED_GREEDY_SWITCH",oSt="TWO_SIDED_GREEDY_SWITCH",eee="No implementation is available for the layout processor ",tee="IntermediateProcessorStrategy",nee="Node '",sSt="FIRST_SEPARATE",aSt="LAST_SEPARATE",lSt="Odd port side processing",qi="org.eclipse.elk.alg.layered.intermediate.compaction",bx="org.eclipse.elk.alg.layered.intermediate.greedyswitch",tb="org.eclipse.elk.alg.layered.p3order.counting",KP={230:1},w3="org.eclipse.elk.alg.layered.intermediate.loops",iu="org.eclipse.elk.alg.layered.intermediate.loops.ordering",a1="org.eclipse.elk.alg.layered.intermediate.loops.routing",s_e="org.eclipse.elk.alg.layered.intermediate.preserveorder",Eh="org.eclipse.elk.alg.layered.intermediate.wrapping",Pa="org.eclipse.elk.alg.layered.options",ree="INTERACTIVE",a_e="GREEDY",cSt="DEPTH_FIRST",uSt="EDGE_LENGTH",fSt="SELF_LOOPS",dSt="firstTryWithInitialOrder",l_e="org.eclipse.elk.layered.directionCongruency",c_e="org.eclipse.elk.layered.feedbackEdges",gB="org.eclipse.elk.layered.interactiveReferencePoint",u_e="org.eclipse.elk.layered.mergeEdges",f_e="org.eclipse.elk.layered.mergeHierarchyEdges",d_e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",h_e="org.eclipse.elk.layered.portSortingStrategy",b_e="org.eclipse.elk.layered.thoroughness",p_e="org.eclipse.elk.layered.unnecessaryBendpoints",g_e="org.eclipse.elk.layered.generatePositionAndLayerIds",iee="org.eclipse.elk.layered.cycleBreaking.strategy",zP="org.eclipse.elk.layered.layering.strategy",w_e="org.eclipse.elk.layered.layering.layerConstraint",m_e="org.eclipse.elk.layered.layering.layerChoiceConstraint",y_e="org.eclipse.elk.layered.layering.layerId",oee="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",see="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",aee="org.eclipse.elk.layered.layering.nodePromotion.strategy",lee="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",cee="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",px="org.eclipse.elk.layered.crossingMinimization.strategy",v_e="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",uee="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",fee="org.eclipse.elk.layered.crossingMinimization.semiInteractive",__e="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",S_e="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",E_e="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",k_e="org.eclipse.elk.layered.crossingMinimization.positionId",R_e="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",dee="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",wB="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",p_="org.eclipse.elk.layered.nodePlacement.strategy",mB="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",hee="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",bee="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",pee="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",gee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",wee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",A_e="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",C_e="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",yB="org.eclipse.elk.layered.edgeRouting.splines.mode",vB="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",mee="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",x_e="org.eclipse.elk.layered.spacing.baseValue",$_e="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",I_e="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",T_e="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",P_e="org.eclipse.elk.layered.priority.direction",O_e="org.eclipse.elk.layered.priority.shortness",N_e="org.eclipse.elk.layered.priority.straightness",yee="org.eclipse.elk.layered.compaction.connectedComponents",M_e="org.eclipse.elk.layered.compaction.postCompaction.strategy",D_e="org.eclipse.elk.layered.compaction.postCompaction.constraints",_B="org.eclipse.elk.layered.highDegreeNodes.treatment",vee="org.eclipse.elk.layered.highDegreeNodes.threshold",_ee="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Xb="org.eclipse.elk.layered.wrapping.strategy",SB="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",EB="org.eclipse.elk.layered.wrapping.correctionFactor",gx="org.eclipse.elk.layered.wrapping.cutting.strategy",See="org.eclipse.elk.layered.wrapping.cutting.cuts",Eee="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",kB="org.eclipse.elk.layered.wrapping.validify.strategy",RB="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",AB="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",CB="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",kee="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",L_e="org.eclipse.elk.layered.edgeLabels.sideSelection",j_e="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",xB="org.eclipse.elk.layered.considerModelOrder.strategy",F_e="org.eclipse.elk.layered.considerModelOrder.portModelOrder",B_e="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Ree="org.eclipse.elk.layered.considerModelOrder.components",H_e="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Aee="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Cee="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",xee="layering",hSt="layering.minWidth",bSt="layering.nodePromotion",tA="crossingMinimization",$B="org.eclipse.elk.hierarchyHandling",pSt="crossingMinimization.greedySwitch",gSt="nodePlacement",wSt="nodePlacement.bk",mSt="edgeRouting",qP="org.eclipse.elk.edgeRouting",Wd="spacing",W_e="priority",U_e="compaction",ySt="compaction.postCompaction",vSt="Specifies whether and how post-process compaction is applied.",V_e="highDegreeNodes",G_e="wrapping",_St="wrapping.cutting",SSt="wrapping.validify",K_e="wrapping.multiEdge",$ee="edgeLabels",wx="considerModelOrder",z_e="org.eclipse.elk.spacing.commentComment",q_e="org.eclipse.elk.spacing.commentNode",X_e="org.eclipse.elk.spacing.edgeEdge",Iee="org.eclipse.elk.spacing.edgeNode",J_e="org.eclipse.elk.spacing.labelLabel",Y_e="org.eclipse.elk.spacing.labelPortHorizontal",Q_e="org.eclipse.elk.spacing.labelPortVertical",Z_e="org.eclipse.elk.spacing.labelNode",eSe="org.eclipse.elk.spacing.nodeSelfLoop",tSe="org.eclipse.elk.spacing.portPort",nSe="org.eclipse.elk.spacing.individual",rSe="org.eclipse.elk.port.borderOffset",iSe="org.eclipse.elk.noLayout",oSe="org.eclipse.elk.port.side",XP="org.eclipse.elk.debugMode",sSe="org.eclipse.elk.alignment",aSe="org.eclipse.elk.insideSelfLoops.activate",lSe="org.eclipse.elk.insideSelfLoops.yo",Tee="org.eclipse.elk.direction",cSe="org.eclipse.elk.nodeLabels.padding",uSe="org.eclipse.elk.portLabels.nextToPortIfPossible",fSe="org.eclipse.elk.portLabels.treatAsGroup",dSe="org.eclipse.elk.portAlignment.default",hSe="org.eclipse.elk.portAlignment.north",bSe="org.eclipse.elk.portAlignment.south",pSe="org.eclipse.elk.portAlignment.west",gSe="org.eclipse.elk.portAlignment.east",IB="org.eclipse.elk.contentAlignment",wSe="org.eclipse.elk.junctionPoints",mSe="org.eclipse.elk.edgeLabels.placement",ySe="org.eclipse.elk.port.index",vSe="org.eclipse.elk.commentBox",_Se="org.eclipse.elk.hypernode",SSe="org.eclipse.elk.port.anchor",Pee="org.eclipse.elk.partitioning.activate",Oee="org.eclipse.elk.partitioning.partition",TB="org.eclipse.elk.position",ESe="org.eclipse.elk.margins",kSe="org.eclipse.elk.spacing.portsSurrounding",PB="org.eclipse.elk.interactiveLayout",ga="org.eclipse.elk.core.util",RSe={3:1,4:1,5:1,601:1},ESt="NETWORK_SIMPLEX",ASe="SIMPLE",fs={106:1,47:1},OB="org.eclipse.elk.alg.layered.p1cycles",Jb="org.eclipse.elk.alg.layered.p2layers",CSe={413:1,230:1},kSt={846:1,3:1,4:1},Ql="org.eclipse.elk.alg.layered.p3order",ds="org.eclipse.elk.alg.layered.p4nodes",RSt={3:1,4:1,5:1,854:1},kh=1e-5,l1="org.eclipse.elk.alg.layered.p4nodes.bk",Nee="org.eclipse.elk.alg.layered.p5edges",hd="org.eclipse.elk.alg.layered.p5edges.orthogonal",Mee="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Dee=1e-6,bv="org.eclipse.elk.alg.layered.p5edges.splines",Lee=.09999999999999998,NB=1e-8,ASt=4.71238898038469,xSe=3.141592653589793,Yb="org.eclipse.elk.alg.mrtree",jee=.10000000149011612,MB="SUPER_ROOT",mx="org.eclipse.elk.alg.mrtree.graph",$Se=-17976931348623157e292,Ka="org.eclipse.elk.alg.mrtree.intermediate",CSt="Processor compute fanout",DB={3:1,6:1,4:1,5:1,534:1,100:1,115:1},xSt="Set neighbors in level",JP="org.eclipse.elk.alg.mrtree.options",$St="DESCENDANTS",ISe="org.eclipse.elk.mrtree.compaction",TSe="org.eclipse.elk.mrtree.edgeEndTextureLength",PSe="org.eclipse.elk.mrtree.treeLevel",OSe="org.eclipse.elk.mrtree.positionConstraint",NSe="org.eclipse.elk.mrtree.weighting",MSe="org.eclipse.elk.mrtree.edgeRoutingMode",DSe="org.eclipse.elk.mrtree.searchOrder",ISt="Position Constraint",ml="org.eclipse.elk.mrtree",TSt="org.eclipse.elk.tree",PSt="Processor arrange level",nA="org.eclipse.elk.alg.mrtree.p2order",Fc="org.eclipse.elk.alg.mrtree.p4route",LSe="org.eclipse.elk.alg.radial",M0=6.283185307179586,jSe="Before",FSe=5e-324,LB="After",BSe="org.eclipse.elk.alg.radial.intermediate",OSt="COMPACTION",Fee="org.eclipse.elk.alg.radial.intermediate.compaction",NSt={3:1,4:1,5:1,100:1},HSe="org.eclipse.elk.alg.radial.intermediate.optimization",Bee="No implementation is available for the layout option ",yx="org.eclipse.elk.alg.radial.options",WSe="org.eclipse.elk.radial.centerOnRoot",USe="org.eclipse.elk.radial.orderId",VSe="org.eclipse.elk.radial.radius",jB="org.eclipse.elk.radial.rotate",Hee="org.eclipse.elk.radial.compactor",Wee="org.eclipse.elk.radial.compactionStepSize",GSe="org.eclipse.elk.radial.sorter",KSe="org.eclipse.elk.radial.wedgeCriteria",zSe="org.eclipse.elk.radial.optimizationCriteria",Uee="org.eclipse.elk.radial.rotation.targetAngle",Vee="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",qSe="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",MSt="Compaction",XSe="rotation",Ou="org.eclipse.elk.radial",DSt="org.eclipse.elk.alg.radial.p1position.wedge",JSe="org.eclipse.elk.alg.radial.sorting",LSt=5.497787143782138,jSt=3.9269908169872414,FSt=2.356194490192345,BSt="org.eclipse.elk.alg.rectpacking",FB="org.eclipse.elk.alg.rectpacking.intermediate",Gee="org.eclipse.elk.alg.rectpacking.options",YSe="org.eclipse.elk.rectpacking.trybox",QSe="org.eclipse.elk.rectpacking.currentPosition",ZSe="org.eclipse.elk.rectpacking.desiredPosition",eEe="org.eclipse.elk.rectpacking.inNewRow",tEe="org.eclipse.elk.rectpacking.widthApproximation.strategy",nEe="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",rEe="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",iEe="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",oEe="org.eclipse.elk.rectpacking.packing.strategy",sEe="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",aEe="org.eclipse.elk.rectpacking.packing.compaction.iterations",lEe="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",Kee="widthApproximation",HSt="Compaction Strategy",WSt="packing.compaction",Ac="org.eclipse.elk.rectpacking",rA="org.eclipse.elk.alg.rectpacking.p1widthapproximation",BB="org.eclipse.elk.alg.rectpacking.p2packing",USt="No Compaction",cEe="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",YP="org.eclipse.elk.alg.rectpacking.util",HB="No implementation available for ",pv="org.eclipse.elk.alg.spore",gv="org.eclipse.elk.alg.spore.options",mm="org.eclipse.elk.sporeCompaction",zee="org.eclipse.elk.underlyingLayoutAlgorithm",uEe="org.eclipse.elk.processingOrder.treeConstruction",fEe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",qee="org.eclipse.elk.processingOrder.preferredRoot",Xee="org.eclipse.elk.processingOrder.rootSelection",Jee="org.eclipse.elk.structure.structureExtractionStrategy",dEe="org.eclipse.elk.compaction.compactionStrategy",hEe="org.eclipse.elk.compaction.orthogonal",bEe="org.eclipse.elk.overlapRemoval.maxIterations",pEe="org.eclipse.elk.overlapRemoval.runScanline",Yee="processingOrder",VSt="overlapRemoval",iA="org.eclipse.elk.sporeOverlap",GSt="org.eclipse.elk.alg.spore.p1structure",Qee="org.eclipse.elk.alg.spore.p2processingorder",Zee="org.eclipse.elk.alg.spore.p3execution",KSt="Topdown Layout",zSt="Invalid index: ",oA="org.eclipse.elk.core.alg",g_={341:1},wv={295:1},qSt="Make sure its type is registered with the ",gEe=" utility class.",sA="true",ete="false",XSt="Couldn't clone property '",ym=.05,Cc="org.eclipse.elk.core.options",JSt=1.2999999523162842,vm="org.eclipse.elk.box",wEe="org.eclipse.elk.expandNodes",mEe="org.eclipse.elk.box.packingMode",YSt="org.eclipse.elk.algorithm",QSt="org.eclipse.elk.resolvedAlgorithm",yEe="org.eclipse.elk.bendPoints",w$n="org.eclipse.elk.labelManager",ZSt="org.eclipse.elk.scaleFactor",eEt="org.eclipse.elk.childAreaWidth",tEt="org.eclipse.elk.childAreaHeight",nEt="org.eclipse.elk.animate",rEt="org.eclipse.elk.animTimeFactor",iEt="org.eclipse.elk.layoutAncestors",oEt="org.eclipse.elk.maxAnimTime",sEt="org.eclipse.elk.minAnimTime",aEt="org.eclipse.elk.progressBar",lEt="org.eclipse.elk.validateGraph",cEt="org.eclipse.elk.validateOptions",uEt="org.eclipse.elk.zoomToFit",m$n="org.eclipse.elk.font.name",fEt="org.eclipse.elk.font.size",vEe="org.eclipse.elk.topdown.sizeApproximator",_Ee="org.eclipse.elk.topdown.scaleCap",dEt="org.eclipse.elk.edge.type",hEt="partitioning",bEt="nodeLabels",WB="portAlignment",tte="nodeSize",nte="port",SEe="portLabels",QP="topdown",pEt="insideSelfLoops",vx="org.eclipse.elk.fixed",UB="org.eclipse.elk.random",EEe={3:1,34:1,22:1,347:1},gEt="port must have a parent node to calculate the port side",wEt="The edge needs to have exactly one edge section. Found: ",_x="org.eclipse.elk.core.util.adapters",Nu="org.eclipse.emf.ecore",w_="org.eclipse.elk.graph",mEt="EMapPropertyHolder",yEt="ElkBendPoint",vEt="ElkGraphElement",_Et="ElkConnectableShape",kEe="ElkEdge",SEt="ElkEdgeSection",EEt="EModelElement",kEt="ENamedElement",REe="ElkLabel",AEe="ElkNode",CEe="ElkPort",REt={94:1,93:1},m3="org.eclipse.emf.common.notify.impl",c1="The feature '",Sx="' is not a valid changeable feature",AEt="Expecting null",rte="' is not a valid feature",CEt="The feature ID",xEt=" is not a valid feature ID",Aa=32768,$Et={110:1,94:1,93:1,58:1,54:1,99:1},an="org.eclipse.emf.ecore.impl",D0="org.eclipse.elk.graph.impl",Ex="Recursive containment not allowed for ",aA="The datatype '",_m="' is not a valid classifier",ite="The value '",m_={195:1,3:1,4:1},ote="The class '",lA="http://www.eclipse.org/elk/ElkGraph",xEe="property",kx="value",ste="source",IEt="properties",TEt="identifier",ate="height",lte="width",cte="parent",ute="text",fte="children",PEt="hierarchical",$Ee="sources",dte="targets",IEe="sections",VB="bendPoints",TEe="outgoingShape",PEe="incomingShape",OEe="outgoingSections",NEe="incomingSections",Yo="org.eclipse.emf.common.util",MEe="Severe implementation error in the Json to ElkGraph importer.",Rh="id",$o="org.eclipse.elk.graph.json",DEe="Unhandled parameter types: ",OEt="startPoint",NEt="An edge must have at least one source and one target (edge id: '",cA="').",MEt="Referenced edge section does not exist: ",DEt=" (edge id: '",LEe="target",LEt="sourcePoint",jEt="targetPoint",GB="group",Sr="name",FEt="connectableShape cannot be null",BEt="edge cannot be null",hte="Passed edge is not 'simple'.",KB="org.eclipse.elk.graph.util",ZP="The 'no duplicates' constraint is violated",bte="targetIndex=",L0=", size=",pte="sourceIndex=",Ah={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},gte={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},zB="logging",HEt="measureExecutionTime",WEt="parser.parse.1",UEt="parser.parse.2",qB="parser.next.1",wte="parser.next.2",VEt="parser.next.3",GEt="parser.next.4",j0="parser.factor.1",jEe="parser.factor.2",KEt="parser.factor.3",zEt="parser.factor.4",qEt="parser.factor.5",XEt="parser.factor.6",JEt="parser.atom.1",YEt="parser.atom.2",QEt="parser.atom.3",FEe="parser.atom.4",mte="parser.atom.5",BEe="parser.cc.1",XB="parser.cc.2",ZEt="parser.cc.3",e3t="parser.cc.5",HEe="parser.cc.6",WEe="parser.cc.7",yte="parser.cc.8",t3t="parser.ope.1",n3t="parser.ope.2",r3t="parser.ope.3",Xp="parser.descape.1",i3t="parser.descape.2",o3t="parser.descape.3",s3t="parser.descape.4",a3t="parser.descape.5",Mu="parser.process.1",l3t="parser.quantifier.1",c3t="parser.quantifier.2",u3t="parser.quantifier.3",f3t="parser.quantifier.4",UEe="parser.quantifier.5",d3t="org.eclipse.emf.common.notify",VEe={424:1,686:1},h3t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},eO={378:1,152:1},Rx="index=",vte={3:1,4:1,5:1,129:1},b3t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},GEe={3:1,6:1,4:1,5:1,198:1},p3t={3:1,4:1,5:1,173:1,379:1},g3t=";/?:@&=+$,",w3t="invalid authority: ",m3t="EAnnotation",y3t="ETypedElement",v3t="EStructuralFeature",_3t="EAttribute",S3t="EClassifier",E3t="EEnumLiteral",k3t="EGenericType",R3t="EOperation",A3t="EParameter",C3t="EReference",x3t="ETypeParameter",ri="org.eclipse.emf.ecore.util",_te={79:1},KEe={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},$3t="org.eclipse.emf.ecore.util.FeatureMap$Entry",Zl=8192,mv=2048,Ax="byte",JB="char",Cx="double",xx="float",$x="int",Ix="long",Tx="short",I3t="java.lang.Object",y_={3:1,4:1,5:1,254:1},zEe={3:1,4:1,5:1,688:1},T3t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},qs={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},tO="mixed",ar="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Zu="kind",P3t={3:1,4:1,5:1,689:1},qEe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},YB={20:1,31:1,56:1,16:1,15:1,61:1,71:1},QB={51:1,128:1,287:1},ZB={76:1,343:1},eH="The value of type '",tH="' must be of type '",v_=1352,ef="http://www.eclipse.org/emf/2002/Ecore",nH=-32768,Sm="constraints",Lo="baseType",O3t="getEStructuralFeature",N3t="getFeatureID",Px="feature",M3t="getOperationID",XEe="operation",D3t="defaultValue",L3t="eTypeParameters",j3t="isInstance",F3t="getEEnumLiteral",B3t="eContainingClass",gr={57:1},H3t={3:1,4:1,5:1,124:1},W3t="org.eclipse.emf.ecore.resource",U3t={94:1,93:1,599:1,2034:1},Ste="org.eclipse.emf.ecore.resource.impl",JEe="unspecified",nO="simple",rH="attribute",V3t="attributeWildcard",iH="element",Ete="elementWildcard",bd="collapse",kte="itemType",oH="namespace",rO="##targetNamespace",tf="whiteSpace",YEe="wildcards",F0="http://www.eclipse.org/emf/2003/XMLType",Rte="##any",uA="uninitialized",iO="The multiplicity constraint is violated",sH="org.eclipse.emf.ecore.xml.type",G3t="ProcessingInstruction",K3t="SimpleAnyType",z3t="XMLTypeDocumentRoot",Hi="org.eclipse.emf.ecore.xml.type.impl",oO="INF",q3t="processing",X3t="ENTITIES_._base",QEe="minLength",ZEe="ENTITY",aH="NCName",J3t="IDREFS_._base",e3e="integer",Ate="token",Cte="pattern",Y3t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",t3e="\\i\\c*",Q3t="[\\i-[:]][\\c-[:]]*",Z3t="nonPositiveInteger",sO="maxInclusive",n3e="NMTOKEN",ekt="NMTOKENS_._base",r3e="nonNegativeInteger",aO="minInclusive",tkt="normalizedString",nkt="unsignedByte",rkt="unsignedInt",ikt="18446744073709551615",okt="unsignedShort",skt="processingInstruction",Jp="org.eclipse.emf.ecore.xml.type.internal",fA=1114111,akt="Internal Error: shorthands: \\u",Ox="xml:isDigit",xte="xml:isWord",$te="xml:isSpace",Ite="xml:isNameChar",Tte="xml:isInitialNameChar",lkt="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",ckt="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",ukt="Private Use",Pte="ASSIGNED",Ote="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",i3e="UNASSIGNED",dA={3:1,122:1},fkt="org.eclipse.emf.ecore.xml.type.util",lH={3:1,4:1,5:1,381:1},o3e="org.eclipse.xtext.xbase.lib",dkt="Cannot add elements to a Range",hkt="Cannot set elements in a Range",bkt="Cannot remove elements from a Range",pkt="user.agent",f,cH,Nte;g.goog=g.goog||{},g.goog.global=g.goog.global||g,cH={},$(1,null,{},S),f.Fb=function(t){return hrt(this,t)},f.Gb=function(){return this.Rm},f.Hb=function(){return Pw(this)},f.Ib=function(){var t;return r0(Lc(this))+"@"+(t=zr(this)>>>0,t.toString(16))},f.equals=function(e){return this.Fb(e)},f.hashCode=function(){return this.Hb()},f.toString=function(){return this.Ib()};var gkt,wkt,mkt;$(297,1,{297:1,2124:1},ewe),f.ve=function(t){var i;return i=new ewe,i.i=4,t>1?i.c=Mlt(this,t-1):i.c=this,i},f.we=function(){return $b(this),this.b},f.xe=function(){return r0(this)},f.ye=function(){return $b(this),this.k},f.ze=function(){return(this.i&4)!=0},f.Ae=function(){return(this.i&1)!=0},f.Ib=function(){return f0e(this)},f.i=0;var io=O(pa,"Object",1),s3e=O(pa,"Class",297);$(2096,1,RP),O(AP,"Optional",2096),$(1191,2096,RP,_),f.Fb=function(t){return t===this},f.Hb=function(){return 2040732332},f.Ib=function(){return"Optional.absent()"},f.Jb=function(t){return Qn(t),oC(),Mte};var Mte;O(AP,"Absent",1191),$(636,1,{},gz),O(AP,"Joiner",636);var y$n=bi(AP,"Predicate");$(589,1,{178:1,589:1,3:1,46:1},Bqe),f.Mb=function(t){return Mbt(this,t)},f.Lb=function(t){return Mbt(this,t)},f.Fb=function(t){var i;return pe(t,589)?(i=u(t,589),Yye(this.a,i.a)):!1},f.Hb=function(){return swe(this.a)+306654252},f.Ib=function(){return oSn(this.a)},O(AP,"Predicates/AndPredicate",589),$(419,2096,{419:1,3:1},TM),f.Fb=function(t){var i;return pe(t,419)?(i=u(t,419),Tr(this.a,i.a)):!1},f.Hb=function(){return 1502476572+zr(this.a)},f.Ib=function(){return U2t+this.a+")"},f.Jb=function(t){return new TM(TL(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},O(AP,"Present",419),$(204,1,H4),f.Nb=function(t){Ao(this,t)},f.Qb=function(){eet()},O(Nt,"UnmodifiableIterator",204),$(2076,204,W4),f.Qb=function(){eet()},f.Rb=function(t){throw Z(new Zn)},f.Wb=function(t){throw Z(new Zn)},O(Nt,"UnmodifiableListIterator",2076),$(399,2076,W4),f.Ob=function(){return this.c0},f.Pb=function(){if(this.c>=this.d)throw Z(new ea);return this.Xb(this.c++)},f.Tb=function(){return this.c},f.Ub=function(){if(this.c<=0)throw Z(new ea);return this.Xb(--this.c)},f.Vb=function(){return this.c-1},f.c=0,f.d=0,O(Nt,"AbstractIndexedListIterator",399),$(713,204,H4),f.Ob=function(){return mJ(this)},f.Pb=function(){return o0e(this)},f.e=1,O(Nt,"AbstractIterator",713),$(2084,1,{229:1}),f.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},f.Fb=function(t){return BJ(this,t)},f.Hb=function(){return zr(this.Zb())},f.dc=function(){return this.gc()==0},f.ec=function(){return xE(this)},f.Ib=function(){return zs(this.Zb())},O(Nt,"AbstractMultimap",2084),$(742,2084,$0),f.$b=function(){_j(this)},f._b=function(t){return vet(this,t)},f.ac=function(){return new gR(this,this.c)},f.ic=function(t){return this.hc()},f.bc=function(){return new M2(this,this.c)},f.jc=function(){return this.mc(this.hc())},f.kc=function(){return new jZe(this)},f.lc=function(){return XY(this.c.vc().Nc(),new I,64,this.d)},f.cc=function(t){return Or(this,t)},f.fc=function(t){return j7(this,t)},f.gc=function(){return this.d},f.mc=function(t){return Gt(),new rR(t)},f.nc=function(){return new LZe(this)},f.oc=function(){return XY(this.c.Cc().Nc(),new k,64,this.d)},f.pc=function(t,i){return new ZL(this,t,i,null)},f.d=0,O(Nt,"AbstractMapBasedMultimap",742),$(1696,742,$0),f.hc=function(){return new nl(this.a)},f.jc=function(){return Gt(),Gt(),Qo},f.cc=function(t){return u(Or(this,t),15)},f.fc=function(t){return u(j7(this,t),15)},f.Zb=function(){return NE(this)},f.Fb=function(t){return BJ(this,t)},f.qc=function(t){return u(Or(this,t),15)},f.rc=function(t){return u(j7(this,t),15)},f.mc=function(t){return _X(u(t,15))},f.pc=function(t,i){return Wct(this,t,u(i,15),null)},O(Nt,"AbstractListMultimap",1696),$(748,1,ho),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return this.c.Ob()||this.e.Ob()},f.Pb=function(){var t;return this.e.Ob()||(t=u(this.c.Pb(),44),this.b=t.ld(),this.a=u(t.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},f.Qb=function(){this.e.Qb(),u(zu(this.a),16).dc()&&this.c.Qb(),--this.d.d},O(Nt,"AbstractMapBasedMultimap/Itr",748),$(1129,748,ho,LZe),f.sc=function(t,i){return i},O(Nt,"AbstractMapBasedMultimap/1",1129),$(1130,1,{},k),f.Kb=function(t){return u(t,16).Nc()},O(Nt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),$(1131,748,ho,jZe),f.sc=function(t,i){return new kw(t,i)},O(Nt,"AbstractMapBasedMultimap/2",1131);var a3e=bi(Nn,"Map");$(2065,1,bm),f.wc=function(t){p5(this,t)},f.yc=function(t,i,s){return oY(this,t,i,s)},f.$b=function(){this.vc().$b()},f.tc=function(t){return TY(this,t)},f._b=function(t){return!!Xme(this,t,!1)},f.uc=function(t){var i,s,a;for(s=this.vc().Kc();s.Ob();)if(i=u(s.Pb(),44),a=i.md(),xe(t)===xe(a)||t!=null&&Tr(t,a))return!0;return!1},f.Fb=function(t){var i,s,a;if(t===this)return!0;if(!pe(t,85)||(a=u(t,85),this.gc()!=a.gc()))return!1;for(s=a.vc().Kc();s.Ob();)if(i=u(s.Pb(),44),!this.tc(i))return!1;return!0},f.xc=function(t){return Ts(Xme(this,t,!1))},f.Hb=function(){return J0e(this.vc())},f.dc=function(){return this.gc()==0},f.ec=function(){return new Z1(this)},f.zc=function(t,i){throw Z(new yp("Put not supported on this map"))},f.Ac=function(t){b5(this,t)},f.Bc=function(t){return Ts(Xme(this,t,!0))},f.gc=function(){return this.vc().gc()},f.Ib=function(){return z1t(this)},f.Cc=function(){return new Rb(this)},O(Nn,"AbstractMap",2065),$(2085,2065,bm),f.bc=function(){return new ZM(this)},f.vc=function(){return jst(this)},f.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},f.Cc=function(){var t;return t=this.i,t||(this.i=new ftt(this))},O(Nt,"Maps/ViewCachingAbstractMap",2085),$(402,2085,bm,gR),f.xc=function(t){return kpn(this,t)},f.Bc=function(t){return z1n(this,t)},f.$b=function(){this.d==this.e.c?this.e.$b():lL(new lge(this))},f._b=function(t){return ypt(this.d,t)},f.Ec=function(){return new Hqe(this)},f.Dc=function(){return this.Ec()},f.Fb=function(t){return this===t||Tr(this.d,t)},f.Hb=function(){return zr(this.d)},f.ec=function(){return this.e.ec()},f.gc=function(){return this.d.gc()},f.Ib=function(){return zs(this.d)},O(Nt,"AbstractMapBasedMultimap/AsMap",402);var ou=bi(pa,"Iterable");$(31,1,cv),f.Jc=function(t){xo(this,t)},f.Lc=function(){return this.Oc()},f.Nc=function(){return new Wt(this,0)},f.Oc=function(){return new Lt(null,this.Nc())},f.Fc=function(t){throw Z(new yp("Add not supported on this collection"))},f.Gc=function(t){return Eo(this,t)},f.$b=function(){qge(this)},f.Hc=function(t){return Xy(this,t,!1)},f.Ic=function(t){return I7(this,t)},f.dc=function(){return this.gc()==0},f.Mc=function(t){return Xy(this,t,!0)},f.Pc=function(){return mge(this)},f.Qc=function(t){return O5(this,t)},f.Ib=function(){return e1(this)},O(Nn,"AbstractCollection",31);var nf=bi(Nn,"Set");$(Fd,31,Yl),f.Nc=function(){return new Wt(this,1)},f.Fb=function(t){return ugt(this,t)},f.Hb=function(){return J0e(this)},O(Nn,"AbstractSet",Fd),$(2068,Fd,Yl),O(Nt,"Sets/ImprovedAbstractSet",2068),$(2069,2068,Yl),f.$b=function(){this.Rc().$b()},f.Hc=function(t){return qpt(this,t)},f.dc=function(){return this.Rc().dc()},f.Mc=function(t){var i;return this.Hc(t)&&pe(t,44)?(i=u(t,44),this.Rc().ec().Mc(i.ld())):!1},f.gc=function(){return this.Rc().gc()},O(Nt,"Maps/EntrySet",2069),$(1127,2069,Yl,Hqe),f.Hc=function(t){return Ewe(this.a.d.vc(),t)},f.Kc=function(){return new lge(this.a)},f.Rc=function(){return this.a},f.Mc=function(t){var i;return Ewe(this.a.d.vc(),t)?(i=u(zu(u(t,44)),44),dbn(this.a.e,i.ld()),!0):!1},f.Nc=function(){return H8(this.a.d.vc().Nc(),new Wqe(this.a))},O(Nt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),$(1128,1,{},Wqe),f.Kb=function(t){return But(this.a,u(t,44))},O(Nt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),$(746,1,ho,lge),f.Nb=function(t){Ao(this,t)},f.Pb=function(){var t;return t=u(this.b.Pb(),44),this.a=u(t.md(),16),But(this.c,t)},f.Ob=function(){return this.b.Ob()},f.Qb=function(){RR(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},O(Nt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),$(542,2068,Yl,ZM),f.$b=function(){this.b.$b()},f.Hc=function(t){return this.b._b(t)},f.Jc=function(t){Qn(t),this.b.wc(new oXe(t))},f.dc=function(){return this.b.dc()},f.Kc=function(){return new sC(this.b.vc().Kc())},f.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},f.gc=function(){return this.b.gc()},O(Nt,"Maps/KeySet",542),$(327,542,Yl,M2),f.$b=function(){var t;lL((t=this.b.vc().Kc(),new Phe(this,t)))},f.Ic=function(t){return this.b.ec().Ic(t)},f.Fb=function(t){return this===t||Tr(this.b.ec(),t)},f.Hb=function(){return zr(this.b.ec())},f.Kc=function(){var t;return t=this.b.vc().Kc(),new Phe(this,t)},f.Mc=function(t){var i,s;return s=0,i=u(this.b.Bc(t),16),i&&(s=i.gc(),i.$b(),this.a.d-=s),s>0},f.Nc=function(){return this.b.ec().Nc()},O(Nt,"AbstractMapBasedMultimap/KeySet",327),$(747,1,ho,Phe),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return this.c.Ob()},f.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},f.Qb=function(){var t;RR(!!this.a),t=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},O(Nt,"AbstractMapBasedMultimap/KeySet/1",747),$(503,402,{85:1,133:1},N8),f.bc=function(){return this.Sc()},f.ec=function(){return this.Uc()},f.Sc=function(){return new l8(this.c,this.Wc())},f.Tc=function(){return this.Wc().Tc()},f.Uc=function(){var t;return t=this.b,t||(this.b=this.Sc())},f.Vc=function(){return this.Wc().Vc()},f.Wc=function(){return u(this.d,133)},O(Nt,"AbstractMapBasedMultimap/SortedAsMap",503),$(446,503,w2e,BC),f.bc=function(){return new pR(this.a,u(u(this.d,133),139))},f.Sc=function(){return new pR(this.a,u(u(this.d,133),139))},f.ec=function(){var t;return t=this.b,u(t||(this.b=new pR(this.a,u(u(this.d,133),139))),277)},f.Uc=function(){var t;return t=this.b,u(t||(this.b=new pR(this.a,u(u(this.d,133),139))),277)},f.Wc=function(){return u(u(this.d,133),139)},f.Xc=function(t){return u(u(this.d,133),139).Xc(t)},f.Yc=function(t){return u(u(this.d,133),139).Yc(t)},f.Zc=function(t,i){return new BC(this.a,u(u(this.d,133),139).Zc(t,i))},f.$c=function(t){return u(u(this.d,133),139).$c(t)},f._c=function(t){return u(u(this.d,133),139)._c(t)},f.ad=function(t,i){return new BC(this.a,u(u(this.d,133),139).ad(t,i))},O(Nt,"AbstractMapBasedMultimap/NavigableAsMap",446),$(502,327,V2t,l8),f.Nc=function(){return this.b.ec().Nc()},O(Nt,"AbstractMapBasedMultimap/SortedKeySet",502),$(401,502,m2e,pR),O(Nt,"AbstractMapBasedMultimap/NavigableKeySet",401),$(551,31,cv,ZL),f.Fc=function(t){var i,s;return Sc(this),s=this.d.dc(),i=this.d.Fc(t),i&&(++this.f.d,s&&j8(this)),i},f.Gc=function(t){var i,s,a;return t.dc()?!1:(a=(Sc(this),this.d.gc()),i=this.d.Gc(t),i&&(s=this.d.gc(),this.f.d+=s-a,a==0&&j8(this)),i)},f.$b=function(){var t;t=(Sc(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,bL(this))},f.Hc=function(t){return Sc(this),this.d.Hc(t)},f.Ic=function(t){return Sc(this),this.d.Ic(t)},f.Fb=function(t){return t===this?!0:(Sc(this),Tr(this.d,t))},f.Hb=function(){return Sc(this),zr(this.d)},f.Kc=function(){return Sc(this),new Gpe(this)},f.Mc=function(t){var i;return Sc(this),i=this.d.Mc(t),i&&(--this.f.d,bL(this)),i},f.gc=function(){return Znt(this)},f.Nc=function(){return Sc(this),this.d.Nc()},f.Ib=function(){return Sc(this),zs(this.d)},O(Nt,"AbstractMapBasedMultimap/WrappedCollection",551);var Du=bi(Nn,"List");$(744,551,{20:1,31:1,16:1,15:1},_ge),f.jd=function(t){w0(this,t)},f.Nc=function(){return Sc(this),this.d.Nc()},f.bd=function(t,i){var s;Sc(this),s=this.d.dc(),u(this.d,15).bd(t,i),++this.a.d,s&&j8(this)},f.cd=function(t,i){var s,a,c;return i.dc()?!1:(c=(Sc(this),this.d.gc()),s=u(this.d,15).cd(t,i),s&&(a=this.d.gc(),this.a.d+=a-c,c==0&&j8(this)),s)},f.Xb=function(t){return Sc(this),u(this.d,15).Xb(t)},f.dd=function(t){return Sc(this),u(this.d,15).dd(t)},f.ed=function(){return Sc(this),new $rt(this)},f.fd=function(t){return Sc(this),new Qat(this,t)},f.gd=function(t){var i;return Sc(this),i=u(this.d,15).gd(t),--this.a.d,bL(this),i},f.hd=function(t,i){return Sc(this),u(this.d,15).hd(t,i)},f.kd=function(t,i){return Sc(this),Wct(this.a,this.e,u(this.d,15).kd(t,i),this.b?this.b:this)},O(Nt,"AbstractMapBasedMultimap/WrappedList",744),$(1126,744,{20:1,31:1,16:1,15:1,59:1},mit),O(Nt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),$(628,1,ho,Gpe),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return DR(this),this.b.Ob()},f.Pb=function(){return DR(this),this.b.Pb()},f.Qb=function(){nit(this)},O(Nt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),$(745,628,Xh,$rt,Qat),f.Qb=function(){nit(this)},f.Rb=function(t){var i;i=Znt(this.a)==0,(DR(this),u(this.b,128)).Rb(t),++this.a.a.d,i&&j8(this.a)},f.Sb=function(){return(DR(this),u(this.b,128)).Sb()},f.Tb=function(){return(DR(this),u(this.b,128)).Tb()},f.Ub=function(){return(DR(this),u(this.b,128)).Ub()},f.Vb=function(){return(DR(this),u(this.b,128)).Vb()},f.Wb=function(t){(DR(this),u(this.b,128)).Wb(t)},O(Nt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),$(743,551,V2t,upe),f.Nc=function(){return Sc(this),this.d.Nc()},O(Nt,"AbstractMapBasedMultimap/WrappedSortedSet",743),$(1125,743,m2e,krt),O(Nt,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),$(1124,551,Yl,Fit),f.Nc=function(){return Sc(this),this.d.Nc()},O(Nt,"AbstractMapBasedMultimap/WrappedSet",1124),$(1133,1,{},I),f.Kb=function(t){return Sbn(u(t,44))},O(Nt,"AbstractMapBasedMultimap/lambda$1$Type",1133),$(1132,1,{},Kqe),f.Kb=function(t){return new kw(this.a,t)},O(Nt,"AbstractMapBasedMultimap/lambda$2$Type",1132);var B0=bi(Nn,"Map/Entry");$(358,1,YQ),f.Fb=function(t){var i;return pe(t,44)?(i=u(t,44),ch(this.ld(),i.ld())&&ch(this.md(),i.md())):!1},f.Hb=function(){var t,i;return t=this.ld(),i=this.md(),(t==null?0:zr(t))^(i==null?0:zr(i))},f.nd=function(t){throw Z(new Zn)},f.Ib=function(){return this.ld()+"="+this.md()},O(Nt,G2t,358),$(2086,31,cv),f.$b=function(){this.od().$b()},f.Hc=function(t){var i;return pe(t,44)?(i=u(t,44),Udn(this.od(),i.ld(),i.md())):!1},f.Mc=function(t){var i;return pe(t,44)?(i=u(t,44),Ect(this.od(),i.ld(),i.md())):!1},f.gc=function(){return this.od().d},O(Nt,"Multimaps/Entries",2086),$(749,2086,cv,fde),f.Kc=function(){return this.a.kc()},f.od=function(){return this.a},f.Nc=function(){return this.a.lc()},O(Nt,"AbstractMultimap/Entries",749),$(750,749,Yl,che),f.Nc=function(){return this.a.lc()},f.Fb=function(t){return pye(this,t)},f.Hb=function(){return Nht(this)},O(Nt,"AbstractMultimap/EntrySet",750),$(751,31,cv,dde),f.$b=function(){this.a.$b()},f.Hc=function(t){return H1n(this.a,t)},f.Kc=function(){return this.a.nc()},f.gc=function(){return this.a.d},f.Nc=function(){return this.a.oc()},O(Nt,"AbstractMultimap/Values",751),$(2087,31,{849:1,20:1,31:1,16:1}),f.Jc=function(t){Qn(t),L2(this).Jc(new fXe(t))},f.Nc=function(){var t;return t=L2(this).Nc(),XY(t,new F,64|t.yd()&1296,this.a.d)},f.Fc=function(t){return whe(),!0},f.Gc=function(t){return Qn(this),Qn(t),pe(t,552)?Kdn(u(t,849)):!t.dc()&&cJ(this,t.Kc())},f.Hc=function(t){var i;return i=u(qy(NE(this.a),t),16),(i?i.gc():0)>0},f.Fb=function(t){return b3n(this,t)},f.Hb=function(){return zr(L2(this))},f.dc=function(){return L2(this).dc()},f.Mc=function(t){return swt(this,t,1)>0},f.Ib=function(){return zs(L2(this))},O(Nt,"AbstractMultiset",2087),$(2089,2068,Yl),f.$b=function(){_j(this.a.a)},f.Hc=function(t){var i,s;return pe(t,504)?(s=u(t,425),u(s.a.md(),16).gc()<=0?!1:(i=Jlt(this.a,s.a.ld()),i==u(s.a.md(),16).gc())):!1},f.Mc=function(t){var i,s,a,c;return pe(t,504)&&(s=u(t,425),i=s.a.ld(),a=u(s.a.md(),16).gc(),a!=0)?(c=this.a,iEn(c,i,a)):!1},O(Nt,"Multisets/EntrySet",2089),$(1139,2089,Yl,zqe),f.Kc=function(){return new UZe(jst(NE(this.a.a)).Kc())},f.gc=function(){return NE(this.a.a).gc()},O(Nt,"AbstractMultiset/EntrySet",1139),$(627,742,$0),f.hc=function(){return this.pd()},f.jc=function(){return this.qd()},f.cc=function(t){return this.rd(t)},f.fc=function(t){return this.sd(t)},f.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},f.qd=function(){return Gt(),Gt(),pH},f.Fb=function(t){return BJ(this,t)},f.rd=function(t){return u(Or(this,t),21)},f.sd=function(t){return u(j7(this,t),21)},f.mc=function(t){return Gt(),new uR(u(t,21))},f.pc=function(t,i){return new Fit(this,t,u(i,21))},O(Nt,"AbstractSetMultimap",627),$(1723,627,$0),f.hc=function(){return new Ep(this.b)},f.pd=function(){return new Ep(this.b)},f.jc=function(){return Wge(new Ep(this.b))},f.qd=function(){return Wge(new Ep(this.b))},f.cc=function(t){return u(u(Or(this,t),21),87)},f.rd=function(t){return u(u(Or(this,t),21),87)},f.fc=function(t){return u(u(j7(this,t),21),87)},f.sd=function(t){return u(u(j7(this,t),21),87)},f.mc=function(t){return pe(t,277)?Wge(u(t,277)):(Gt(),new Xbe(u(t,87)))},f.Zb=function(){var t;return t=this.f,t||(this.f=pe(this.c,139)?new BC(this,u(this.c,139)):pe(this.c,133)?new N8(this,u(this.c,133)):new gR(this,this.c))},f.pc=function(t,i){return pe(i,277)?new krt(this,t,u(i,277)):new upe(this,t,u(i,87))},O(Nt,"AbstractSortedSetMultimap",1723),$(1724,1723,$0),f.Zb=function(){var t;return t=this.f,u(u(t||(this.f=pe(this.c,139)?new BC(this,u(this.c,139)):pe(this.c,133)?new N8(this,u(this.c,133)):new gR(this,this.c)),133),139)},f.ec=function(){var t;return t=this.i,u(u(t||(this.i=pe(this.c,139)?new pR(this,u(this.c,139)):pe(this.c,133)?new l8(this,u(this.c,133)):new M2(this,this.c)),87),277)},f.bc=function(){return pe(this.c,139)?new pR(this,u(this.c,139)):pe(this.c,133)?new l8(this,u(this.c,133)):new M2(this,this.c)},O(Nt,"AbstractSortedKeySortedSetMultimap",1724),$(2109,1,{2046:1}),f.Fb=function(t){return Fvn(this,t)},f.Hb=function(){var t;return J0e((t=this.g,t||(this.g=new HK(this))))},f.Ib=function(){var t;return z1t((t=this.f,t||(this.f=new Gbe(this))))},O(Nt,"AbstractTable",2109),$(679,Fd,Yl,HK),f.$b=function(){tet()},f.Hc=function(t){var i,s;return pe(t,479)?(i=u(t,697),s=u(qy(lat(this.a),Lg(i.c.e,i.b)),85),!!s&&Ewe(s.vc(),new kw(Lg(i.c.c,i.a),HE(i.c,i.b,i.a)))):!1},f.Kc=function(){return Uun(this.a)},f.Mc=function(t){var i,s;return pe(t,479)?(i=u(t,697),s=u(qy(lat(this.a),Lg(i.c.e,i.b)),85),!!s&&v0n(s.vc(),new kw(Lg(i.c.c,i.a),HE(i.c,i.b,i.a)))):!1},f.gc=function(){return fst(this.a)},f.Nc=function(){return Xdn(this.a)},O(Nt,"AbstractTable/CellSet",679),$(2025,31,cv,Xqe),f.$b=function(){tet()},f.Hc=function(t){return T2n(this.a,t)},f.Kc=function(){return Vun(this.a)},f.gc=function(){return fst(this.a)},f.Nc=function(){return Sct(this.a)},O(Nt,"AbstractTable/Values",2025),$(1697,1696,$0),O(Nt,"ArrayListMultimapGwtSerializationDependencies",1697),$(520,1697,$0,yz,u1e),f.hc=function(){return new nl(this.a)},f.a=0,O(Nt,"ArrayListMultimap",520),$(678,2109,{678:1,2046:1,3:1},ywt),O(Nt,"ArrayTable",678),$(2021,399,W4,rit),f.Xb=function(t){return new twe(this.a,t)},O(Nt,"ArrayTable/1",2021),$(2022,1,{},Uqe),f.td=function(t){return new twe(this.a,t)},O(Nt,"ArrayTable/1methodref$getCell$Type",2022),$(2110,1,{697:1}),f.Fb=function(t){var i;return t===this?!0:pe(t,479)?(i=u(t,697),ch(Lg(this.c.e,this.b),Lg(i.c.e,i.b))&&ch(Lg(this.c.c,this.a),Lg(i.c.c,i.a))&&ch(HE(this.c,this.b,this.a),HE(i.c,i.b,i.a))):!1},f.Hb=function(){return L7(oe(re(io,1),Zt,1,5,[Lg(this.c.e,this.b),Lg(this.c.c,this.a),HE(this.c,this.b,this.a)]))},f.Ib=function(){return"("+Lg(this.c.e,this.b)+","+Lg(this.c.c,this.a)+")="+HE(this.c,this.b,this.a)},O(Nt,"Tables/AbstractCell",2110),$(479,2110,{479:1,697:1},twe),f.a=0,f.b=0,f.d=0,O(Nt,"ArrayTable/2",479),$(2024,1,{},Vqe),f.td=function(t){return zft(this.a,t)},O(Nt,"ArrayTable/2methodref$getValue$Type",2024),$(2023,399,W4,iit),f.Xb=function(t){return zft(this.a,t)},O(Nt,"ArrayTable/3",2023),$(2077,2065,bm),f.$b=function(){lL(this.kc())},f.vc=function(){return new iXe(this)},f.lc=function(){return new Wat(this.kc(),this.gc())},O(Nt,"Maps/IteratorBasedAbstractMap",2077),$(842,2077,bm),f.$b=function(){throw Z(new Zn)},f._b=function(t){return _et(this.c,t)},f.kc=function(){return new oit(this,this.c.b.c.gc())},f.lc=function(){return Wq(this.c.b.c.gc(),16,new Gqe(this))},f.xc=function(t){var i;return i=u(HC(this.c,t),17),i?this.vd(i.a):null},f.dc=function(){return this.c.b.c.dc()},f.ec=function(){return Jq(this.c)},f.zc=function(t,i){var s;if(s=u(HC(this.c,t),17),!s)throw Z(new un(this.ud()+" "+t+" not in "+Jq(this.c)));return this.wd(s.a,i)},f.Bc=function(t){throw Z(new Zn)},f.gc=function(){return this.c.b.c.gc()},O(Nt,"ArrayTable/ArrayMap",842),$(2020,1,{},Gqe),f.td=function(t){return uat(this.a,t)},O(Nt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),$(2018,358,YQ,qet),f.ld=function(){return ron(this.a,this.b)},f.md=function(){return this.a.vd(this.b)},f.nd=function(t){return this.a.wd(this.b,t)},f.b=0,O(Nt,"ArrayTable/ArrayMap/1",2018),$(2019,399,W4,oit),f.Xb=function(t){return uat(this.a,t)},O(Nt,"ArrayTable/ArrayMap/2",2019),$(2017,842,bm,Yst),f.ud=function(){return"Column"},f.vd=function(t){return HE(this.b,this.a,t)},f.wd=function(t,i){return vbt(this.b,this.a,t,i)},f.a=0,O(Nt,"ArrayTable/Row",2017),$(843,842,bm,Gbe),f.vd=function(t){return new Yst(this.a,t)},f.zc=function(t,i){return u(i,85),knn()},f.wd=function(t,i){return u(i,85),Rnn()},f.ud=function(){return"Row"},O(Nt,"ArrayTable/RowMap",843),$(1157,1,ru,Xet),f.Ad=function(t){return(this.a.yd()&-262&t)!=0},f.yd=function(){return this.a.yd()&-262},f.zd=function(){return this.a.zd()},f.Nb=function(t){this.a.Nb(new Yet(t,this.b))},f.Bd=function(t){return this.a.Bd(new Jet(t,this.b))},O(Nt,"CollectSpliterators/1",1157),$(1158,1,En,Jet),f.Cd=function(t){this.a.Cd(this.b.Kb(t))},O(Nt,"CollectSpliterators/1/lambda$0$Type",1158),$(1159,1,En,Yet),f.Cd=function(t){this.a.Cd(this.b.Kb(t))},O(Nt,"CollectSpliterators/1/lambda$1$Type",1159),$(1154,1,ru,vot),f.Ad=function(t){return((16464|this.b)&t)!=0},f.yd=function(){return 16464|this.b},f.zd=function(){return this.a.zd()},f.Nb=function(t){this.a.Qe(new Zet(t,this.c))},f.Bd=function(t){return this.a.Re(new Qet(t,this.c))},f.b=0,O(Nt,"CollectSpliterators/1WithCharacteristics",1154),$(1155,1,CP,Qet),f.Dd=function(t){this.a.Cd(this.b.td(t))},O(Nt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),$(1156,1,CP,Zet),f.Dd=function(t){this.a.Cd(this.b.td(t))},O(Nt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),$(1150,1,ru),f.Ad=function(t){return(this.a&t)!=0},f.yd=function(){return this.a},f.zd=function(){return this.e&&(this.b=Obe(this.b,this.e.zd())),Obe(this.b,0)},f.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new ett(this,t)),this.b=0},f.Bd=function(t){for(;;){if(this.e&&this.e.Bd(t))return IC(this.b,xP)&&(this.b=Xu(this.b,1)),!0;if(this.e=null,!this.c.Bd(new Jqe(this)))return!1}},f.a=0,f.b=0,O(Nt,"CollectSpliterators/FlatMapSpliterator",1150),$(1152,1,En,Jqe),f.Cd=function(t){tsn(this.a,t)},O(Nt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),$(1153,1,En,ett),f.Cd=function(t){Aun(this.a,this.b,t)},O(Nt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),$(1151,1150,ru,Bct),O(Nt,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),$(253,1,QQ),f.Fd=function(t){return this.Ed(u(t,253))},f.Ed=function(t){var i;return t==(cz(),Lte)?1:t==(lz(),Dte)?-1:(i=(rL(),R7(this.a,t.a)),i!=0?i:pe(this,526)==pe(t,526)?0:pe(this,526)?1:-1)},f.Id=function(){return this.a},f.Fb=function(t){return _me(this,t)},O(Nt,"Cut",253),$(1823,253,QQ,DZe),f.Ed=function(t){return t==this?0:1},f.Gd=function(t){throw Z(new Vde)},f.Hd=function(t){t.a+="+∞)"},f.Id=function(){throw Z(new _s(z2t))},f.Hb=function(){return Cb(),sme(this)},f.Jd=function(t){return!1},f.Ib=function(){return"+∞"};var Dte;O(Nt,"Cut/AboveAll",1823),$(526,253,{253:1,526:1,3:1,34:1},fit),f.Gd=function(t){Fa((t.a+="(",t),this.a)},f.Hd=function(t){c0(Fa(t,this.a),93)},f.Hb=function(){return~zr(this.a)},f.Jd=function(t){return rL(),R7(this.a,t)<0},f.Ib=function(){return"/"+this.a+"\\"},O(Nt,"Cut/AboveValue",526),$(1822,253,QQ,MZe),f.Ed=function(t){return t==this?0:-1},f.Gd=function(t){t.a+="(-∞"},f.Hd=function(t){throw Z(new Vde)},f.Id=function(){throw Z(new _s(z2t))},f.Hb=function(){return Cb(),sme(this)},f.Jd=function(t){return!0},f.Ib=function(){return"-∞"};var Lte;O(Nt,"Cut/BelowAll",1822),$(1824,253,QQ,dit),f.Gd=function(t){Fa((t.a+="[",t),this.a)},f.Hd=function(t){c0(Fa(t,this.a),41)},f.Hb=function(){return zr(this.a)},f.Jd=function(t){return rL(),R7(this.a,t)<=0},f.Ib=function(){return"\\"+this.a+"/"},O(Nt,"Cut/BelowValue",1824),$(547,1,Jh),f.Jc=function(t){xo(this,t)},f.Ib=function(){return H0n(u(TL(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},O(Nt,"FluentIterable",547),$(442,547,Jh,OC),f.Kc=function(){return new Sn(kn(this.a.Kc(),new M))},O(Nt,"FluentIterable/2",442),$(1059,547,Jh,vrt),f.Kc=function(){return Wh(this)},O(Nt,"FluentIterable/3",1059),$(724,399,W4,Kbe),f.Xb=function(t){return this.a[t].Kc()},O(Nt,"FluentIterable/3/1",724),$(2070,1,{}),f.Ib=function(){return zs(this.Kd().b)},O(Nt,"ForwardingObject",2070),$(2071,2070,q2t),f.Kd=function(){return this.Ld()},f.Jc=function(t){xo(this,t)},f.Lc=function(){return this.Oc()},f.Nc=function(){return new Wt(this,0)},f.Oc=function(){return new Lt(null,this.Nc())},f.Fc=function(t){return this.Ld(),ket()},f.Gc=function(t){return this.Ld(),Ret()},f.$b=function(){this.Ld(),Aet()},f.Hc=function(t){return this.Ld().Hc(t)},f.Ic=function(t){return this.Ld().Ic(t)},f.dc=function(){return this.Ld().b.dc()},f.Kc=function(){return this.Ld().Kc()},f.Mc=function(t){return this.Ld(),Cet()},f.gc=function(){return this.Ld().b.gc()},f.Pc=function(){return this.Ld().Pc()},f.Qc=function(t){return this.Ld().Qc(t)},O(Nt,"ForwardingCollection",2071),$(2078,31,y2e),f.Kc=function(){return this.Od()},f.Fc=function(t){throw Z(new Zn)},f.Gc=function(t){throw Z(new Zn)},f.Md=function(){var t;return t=this.c,t||(this.c=this.Nd())},f.$b=function(){throw Z(new Zn)},f.Hc=function(t){return t!=null&&Xy(this,t,!1)},f.Nd=function(){switch(this.gc()){case 0:return Fw(),Fw(),jte;case 1:return Fw(),new Uq(Qn(this.Od().Pb()));default:return new Rge(this,this.Pc())}},f.Mc=function(t){throw Z(new Zn)},O(Nt,"ImmutableCollection",2078),$(727,2078,y2e,Wde),f.Kc=function(){return WE(this.a.Kc())},f.Hc=function(t){return t!=null&&this.a.Hc(t)},f.Ic=function(t){return this.a.Ic(t)},f.dc=function(){return this.a.dc()},f.Od=function(){return WE(this.a.Kc())},f.gc=function(){return this.a.gc()},f.Pc=function(){return this.a.Pc()},f.Qc=function(t){return this.a.Qc(t)},f.Ib=function(){return zs(this.a)},O(Nt,"ForwardingImmutableCollection",727),$(307,2078,U4),f.Kc=function(){return this.Od()},f.ed=function(){return this.Pd(0)},f.fd=function(t){return this.Pd(t)},f.jd=function(t){w0(this,t)},f.Nc=function(){return new Wt(this,16)},f.kd=function(t,i){return this.Qd(t,i)},f.bd=function(t,i){throw Z(new Zn)},f.cd=function(t,i){throw Z(new Zn)},f.Md=function(){return this},f.Fb=function(t){return n3n(this,t)},f.Hb=function(){return Jgn(this)},f.dd=function(t){return t==null?-1:yyn(this,t)},f.Od=function(){return this.Pd(0)},f.Pd=function(t){return _q(this,t)},f.gd=function(t){throw Z(new Zn)},f.hd=function(t,i){throw Z(new Zn)},f.Qd=function(t,i){var s;return Wj((s=new utt(this),new $p(s,t,i)))};var jte;O(Nt,"ImmutableList",307),$(2105,307,U4),f.Kc=function(){return WE(this.Rd().Kc())},f.kd=function(t,i){return Wj(this.Rd().kd(t,i))},f.Hc=function(t){return t!=null&&this.Rd().Hc(t)},f.Ic=function(t){return this.Rd().Ic(t)},f.Fb=function(t){return Tr(this.Rd(),t)},f.Xb=function(t){return Lg(this,t)},f.Hb=function(){return zr(this.Rd())},f.dd=function(t){return this.Rd().dd(t)},f.dc=function(){return this.Rd().dc()},f.Od=function(){return WE(this.Rd().Kc())},f.gc=function(){return this.Rd().gc()},f.Qd=function(t,i){return Wj(this.Rd().kd(t,i))},f.Pc=function(){return this.Rd().Qc(Ne(io,Zt,1,this.Rd().gc(),5,1))},f.Qc=function(t){return this.Rd().Qc(t)},f.Ib=function(){return zs(this.Rd())},O(Nt,"ForwardingImmutableList",2105),$(729,1,V4),f.vc=function(){return s0(this)},f.wc=function(t){p5(this,t)},f.ec=function(){return Jq(this)},f.yc=function(t,i,s){return oY(this,t,i,s)},f.Cc=function(){return this.Vd()},f.$b=function(){throw Z(new Zn)},f._b=function(t){return this.xc(t)!=null},f.uc=function(t){return this.Vd().Hc(t)},f.Td=function(){return new VQe(this)},f.Ud=function(){return new GQe(this)},f.Fb=function(t){return W1n(this,t)},f.Hb=function(){return s0(this).Hb()},f.dc=function(){return this.gc()==0},f.zc=function(t,i){return Enn()},f.Bc=function(t){throw Z(new Zn)},f.Ib=function(){return $_n(this)},f.Vd=function(){return this.e?this.e:this.e=this.Ud()},f.c=null,f.d=null,f.e=null;var ykt;O(Nt,"ImmutableMap",729),$(730,729,V4),f._b=function(t){return _et(this,t)},f.uc=function(t){return gtt(this.b,t)},f.Sd=function(){return gpt(new qqe(this))},f.Td=function(){return gpt(Pat(this.b))},f.Ud=function(){return lh(),new Wde(Tat(this.b))},f.Fb=function(t){return wtt(this.b,t)},f.xc=function(t){return HC(this,t)},f.Hb=function(){return zr(this.b.c)},f.dc=function(){return this.b.c.dc()},f.gc=function(){return this.b.c.gc()},f.Ib=function(){return zs(this.b.c)},O(Nt,"ForwardingImmutableMap",730),$(2072,2071,ZQ),f.Kd=function(){return this.Wd()},f.Ld=function(){return this.Wd()},f.Nc=function(){return new Wt(this,1)},f.Fb=function(t){return t===this||this.Wd().Fb(t)},f.Hb=function(){return this.Wd().Hb()},O(Nt,"ForwardingSet",2072),$(1085,2072,ZQ,qqe),f.Kd=function(){return NR(this.a.b)},f.Ld=function(){return NR(this.a.b)},f.Hc=function(t){if(pe(t,44)&&u(t,44).ld()==null)return!1;try{return ptt(NR(this.a.b),t)}catch(i){if(i=ci(i),pe(i,212))return!1;throw Z(i)}},f.Wd=function(){return NR(this.a.b)},f.Qc=function(t){var i;return i=glt(NR(this.a.b),t),NR(this.a.b).b.gc()=0?"+":"")+(s/60|0),i=DD(g.Math.abs(s)%60),(o0t(),jkt)[this.q.getDay()]+" "+Fkt[this.q.getMonth()]+" "+DD(this.q.getDate())+" "+DD(this.q.getHours())+":"+DD(this.q.getMinutes())+":"+DD(this.q.getSeconds())+" GMT"+t+i+" "+this.q.getFullYear()};var dH=O(Nn,"Date",206);$(2015,206,r_t,x1t),f.a=!1,f.b=0,f.c=0,f.d=0,f.e=0,f.f=0,f.g=!1,f.i=0,f.j=0,f.k=0,f.n=0,f.o=0,f.p=0,O("com.google.gwt.i18n.shared.impl","DateRecord",2015),$(2064,1,{}),f.pe=function(){return null},f.qe=function(){return null},f.re=function(){return null},f.se=function(){return null},f.te=function(){return null},O(l3,"JSONValue",2064),$(221,2064,{221:1},Y1,bde),f.Fb=function(t){return pe(t,221)?d1e(this.a,u(t,221).a):!1},f.oe=function(){return qtn},f.Hb=function(){return t1e(this.a)},f.pe=function(){return this},f.Ib=function(){var t,i,s;for(s=new Kc("["),i=0,t=this.a.length;i0&&(s.a+=","),Fa(s,Wy(this,i));return s.a+="]",s.a},O(l3,"JSONArray",221),$(493,2064,{493:1},pde),f.oe=function(){return Xtn},f.qe=function(){return this},f.Ib=function(){return on(),""+this.a},f.a=!1;var Akt,Ckt;O(l3,"JSONBoolean",493),$(997,63,zb,VZe),O(l3,"JSONException",997),$(1036,2064,{},et),f.oe=function(){return Jtn},f.Ib=function(){return Ml};var xkt;O(l3,"JSONNull",1036),$(263,2064,{263:1},PM),f.Fb=function(t){return pe(t,263)?this.a==u(t,263).a:!1},f.oe=function(){return Ktn},f.Hb=function(){return yE(this.a)},f.re=function(){return this},f.Ib=function(){return this.a+""},f.a=0,O(l3,"JSONNumber",263),$(190,2064,{190:1},cE,YT),f.Fb=function(t){return pe(t,190)?d1e(this.a,u(t,190).a):!1},f.oe=function(){return ztn},f.Hb=function(){return t1e(this.a)},f.se=function(){return this},f.Ib=function(){var t,i,s,a,c,d,p;for(p=new Kc("{"),t=!0,d=EJ(this,Ne(wt,tt,2,0,6,1)),s=d,a=0,c=s.length;a=0?":"+this.c:"")+")"},f.c=0;var k3e=O(pa,"StackTraceElement",319);mkt={3:1,484:1,34:1,2:1};var wt=O(pa,v2e,2);$(111,427,{484:1},_p,cC,Ku),O(pa,"StringBuffer",111),$(104,427,{484:1},Pg,hE,Kc),O(pa,"StringBuilder",104),$(702,77,SZ,mhe),O(pa,"StringIndexOutOfBoundsException",702),$(2145,1,{});var Pkt;$(48,63,{3:1,103:1,63:1,82:1,48:1},Zn,yp),O(pa,"UnsupportedOperationException",48),$(247,242,{3:1,34:1,242:1,247:1},H7,$he),f.Fd=function(t){return Qyt(this,u(t,247))},f.ue=function(){return ev(Avt(this))},f.Fb=function(t){var i;return this===t?!0:pe(t,247)?(i=u(t,247),this.e==i.e&&Qyt(this,i)==0):!1},f.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Ra(this.f),this.b=Yn(ro(t,-1)),this.b=33*this.b+Yn(ro(Dw(t,32),-1)),this.b=17*this.b+Yi(this.e),this.b):(this.b=17*fpt(this.c)+Yi(this.e),this.b)},f.Ib=function(){return Avt(this)},f.a=0,f.b=0,f.d=0,f.e=0,f.f=0;var Okt,H0,R3e,A3e,C3e,x3e,$3e,I3e,Kte=O("java.math","BigDecimal",247);$(92,242,{3:1,34:1,242:1,92:1},Nb,rct,l0,dgt,jg),f.Fd=function(t){return lgt(this,u(t,92))},f.ue=function(){return ev(qQ(this,0))},f.Fb=function(t){return Uwe(this,t)},f.Hb=function(){return fpt(this)},f.Ib=function(){return qQ(this,0)},f.b=-2,f.c=0,f.d=0,f.e=0;var Nkt,hH,Mkt,zte,bH,Dx,__=O("java.math","BigInteger",92),Dkt,Lkt,v3,Lx;$(498,2065,bm),f.$b=function(){ac(this)},f._b=function(t){return fl(this,t)},f.uc=function(t){return Kbt(this,t,this.i)||Kbt(this,t,this.f)},f.vc=function(){return new e0(this)},f.xc=function(t){return _n(this,t)},f.zc=function(t,i){return wr(this,t,i)},f.Bc=function(t){return BE(this,t)},f.gc=function(){return fC(this)},f.g=0,O(Nn,"AbstractHashMap",498),$(267,Fd,Yl,e0),f.$b=function(){this.a.$b()},f.Hc=function(t){return Oct(this,t)},f.Kc=function(){return new y0(this.a)},f.Mc=function(t){var i;return Oct(this,t)?(i=u(t,44).ld(),this.a.Bc(i),!0):!1},f.gc=function(){return this.a.gc()},O(Nn,"AbstractHashMap/EntrySet",267),$(268,1,ho,y0),f.Nb=function(t){Ao(this,t)},f.Pb=function(){return em(this)},f.Ob=function(){return this.b},f.Qb=function(){ldt(this)},f.b=!1,f.d=0,O(Nn,"AbstractHashMap/EntrySetIterator",268),$(426,1,ho,Q6),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return Cz(this)},f.Pb=function(){return Jge(this)},f.Qb=function(){Dc(this)},f.b=0,f.c=-1,O(Nn,"AbstractList/IteratorImpl",426),$(98,426,Xh,_o),f.Qb=function(){Dc(this)},f.Rb=function(t){Ty(this,t)},f.Sb=function(){return this.b>0},f.Tb=function(){return this.b},f.Ub=function(){return Cn(this.b>0),this.a.Xb(this.c=--this.b)},f.Vb=function(){return this.b-1},f.Wb=function(t){$y(this.c!=-1),this.a.hd(this.c,t)},O(Nn,"AbstractList/ListIteratorImpl",98),$(244,56,G4,$p),f.bd=function(t,i){jy(t,this.b),this.c.bd(this.a+t,i),++this.b},f.Xb=function(t){return Kt(t,this.b),this.c.Xb(this.a+t)},f.gd=function(t){var i;return Kt(t,this.b),i=this.c.gd(this.a+t),--this.b,i},f.hd=function(t,i){return Kt(t,this.b),this.c.hd(this.a+t,i)},f.gc=function(){return this.b},f.a=0,f.b=0,O(Nn,"AbstractList/SubList",244),$(266,Fd,Yl,Z1),f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a._b(t)},f.Kc=function(){var t;return t=this.a.vc().Kc(),new NM(t)},f.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},f.gc=function(){return this.a.gc()},O(Nn,"AbstractMap/1",266),$(541,1,ho,NM),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return this.a.Ob()},f.Pb=function(){var t;return t=u(this.a.Pb(),44),t.ld()},f.Qb=function(){this.a.Qb()},O(Nn,"AbstractMap/1/1",541),$(231,31,cv,Rb),f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a.uc(t)},f.Kc=function(){var t;return t=this.a.vc().Kc(),new vy(t)},f.gc=function(){return this.a.gc()},O(Nn,"AbstractMap/2",231),$(301,1,ho,vy),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return this.a.Ob()},f.Pb=function(){var t;return t=u(this.a.Pb(),44),t.md()},f.Qb=function(){this.a.Qb()},O(Nn,"AbstractMap/2/1",301),$(494,1,{494:1,44:1}),f.Fb=function(t){var i;return pe(t,44)?(i=u(t,44),ka(this.d,i.ld())&&ka(this.e,i.md())):!1},f.ld=function(){return this.d},f.md=function(){return this.e},f.Hb=function(){return T2(this.d)^T2(this.e)},f.nd=function(t){return wpe(this,t)},f.Ib=function(){return this.d+"="+this.e},O(Nn,"AbstractMap/AbstractEntry",494),$(397,494,{494:1,397:1,44:1},dD),O(Nn,"AbstractMap/SimpleEntry",397),$(2082,1,RZ),f.Fb=function(t){var i;return pe(t,44)?(i=u(t,44),ka(this.ld(),i.ld())&&ka(this.md(),i.md())):!1},f.Hb=function(){return T2(this.ld())^T2(this.md())},f.Ib=function(){return this.ld()+"="+this.md()},O(Nn,G2t,2082),$(2090,2065,w2e),f.Xc=function(t){return vz(this.Ee(t))},f.tc=function(t){return Fut(this,t)},f._b=function(t){return mpe(this,t)},f.vc=function(){return new qK(this)},f.Tc=function(){return Zst(this.Ge())},f.Yc=function(t){return vz(this.He(t))},f.xc=function(t){var i;return i=t,Ts(this.Fe(i))},f.$c=function(t){return vz(this.Ie(t))},f.ec=function(){return new vXe(this)},f.Vc=function(){return Zst(this.Je())},f._c=function(t){return vz(this.Ke(t))},O(Nn,"AbstractNavigableMap",2090),$(629,Fd,Yl,qK),f.Hc=function(t){return pe(t,44)&&Fut(this.b,u(t,44))},f.Kc=function(){return this.b.De()},f.Mc=function(t){var i;return pe(t,44)?(i=u(t,44),this.b.Le(i)):!1},f.gc=function(){return this.b.gc()},O(Nn,"AbstractNavigableMap/EntrySet",629),$(1146,Fd,m2e,vXe),f.Nc=function(){return new uD(this)},f.$b=function(){this.a.$b()},f.Hc=function(t){return mpe(this.a,t)},f.Kc=function(){var t;return t=this.a.vc().b.De(),new _Xe(t)},f.Mc=function(t){return mpe(this.a,t)?(this.a.Bc(t),!0):!1},f.gc=function(){return this.a.gc()},O(Nn,"AbstractNavigableMap/NavigableKeySet",1146),$(1147,1,ho,_Xe),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return Cz(this.a.a)},f.Pb=function(){var t;return t=Sit(this.a),t.ld()},f.Qb=function(){xot(this.a)},O(Nn,"AbstractNavigableMap/NavigableKeySet/1",1147),$(2103,31,cv),f.Fc=function(t){return CE(C4(this,t),z4),!0},f.Gc=function(t){return gn(t),U8(t!=this,"Can't add a queue to itself"),Eo(this,t)},f.$b=function(){for(;uJ(this)!=null;);},O(Nn,"AbstractQueue",2103),$(310,31,{4:1,20:1,31:1,16:1},N2,xct),f.Fc=function(t){return S1e(this,t),!0},f.$b=function(){x1e(this)},f.Hc=function(t){return bbt(new e5(this),t)},f.dc=function(){return lC(this)},f.Kc=function(){return new e5(this)},f.Mc=function(t){return Tfn(new e5(this),t)},f.gc=function(){return this.c-this.b&this.a.length-1},f.Nc=function(){return new Wt(this,272)},f.Qc=function(t){var i;return i=this.c-this.b&this.a.length-1,t.lengthi&&pi(t,i,null),t},f.b=0,f.c=0,O(Nn,"ArrayDeque",310),$(459,1,ho,e5),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return this.a!=this.b},f.Pb=function(){return Hj(this)},f.Qb=function(){uht(this)},f.a=0,f.b=0,f.c=-1,O(Nn,"ArrayDeque/IteratorImpl",459),$(13,56,s_t,it,nl,sc),f.bd=function(t,i){Mw(this,t,i)},f.Fc=function(t){return ot(this,t)},f.cd=function(t,i){return pwe(this,t,i)},f.Gc=function(t){return Gi(this,t)},f.$b=function(){_y(this.c,0)},f.Hc=function(t){return Ns(this,t,0)!=-1},f.Jc=function(t){dl(this,t)},f.Xb=function(t){return gt(this,t)},f.dd=function(t){return Ns(this,t,0)},f.dc=function(){return this.c.length==0},f.Kc=function(){return new J(this)},f.gd=function(t){return Tp(this,t)},f.Mc=function(t){return Pl(this,t)},f.ce=function(t,i){Ylt(this,t,i)},f.hd=function(t,i){return Eu(this,t,i)},f.gc=function(){return this.c.length},f.jd=function(t){Pi(this,t)},f.Pc=function(){return iL(this.c)},f.Qc=function(t){return Dd(this,t)};var v$n=O(Nn,"ArrayList",13);$(7,1,ho,J),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return na(this)},f.Pb=function(){return X(this)},f.Qb=function(){XC(this)},f.a=0,f.b=-1,O(Nn,"ArrayList/1",7),$(2112,g.Function,{},ye),f.Me=function(t,i){return Hr(t,i)},$(151,56,a_t,oc),f.Hc=function(t){return fht(this,t)!=-1},f.Jc=function(t){var i,s,a,c;for(gn(t),s=this.a,a=0,c=s.length;a0)throw Z(new un(x2e+t+" greater than "+this.e));return this.f.Te()?vlt(this.c,this.b,this.a,t,i):Qlt(this.c,t,i)},f.zc=function(t,i){if(!jY(this.c,this.f,t,this.b,this.a,this.e,this.d))throw Z(new un(t+" outside the range "+this.b+" to "+this.e));return Tbt(this.c,t,i)},f.Bc=function(t){var i;return i=t,jY(this.c,this.f,i,this.b,this.a,this.e,this.d)?_lt(this.c,i):null},f.Le=function(t){return kL(this,t.ld())&&z1e(this.c,t)},f.gc=function(){var t,i,s;if(this.f.Te()?this.a?i=v4(this.c,this.b,!0):i=v4(this.c,this.b,!1):i=r0e(this.c),!(i&&kL(this,i.d)&&i))return 0;for(t=0,s=new kJ(this.c,this.f,this.b,this.a,this.e,this.d);Cz(s.a);s.b=u(Jge(s.a),44))++t;return t},f.ad=function(t,i){if(this.f.Te()&&this.c.a.Ne(t,this.b)<0)throw Z(new un(x2e+t+u_t+this.b));return this.f.Ue()?vlt(this.c,t,i,this.e,this.d):Zlt(this.c,t,i)},f.a=!1,f.d=!1,O(Nn,"TreeMap/SubMap",631),$(304,22,$Z,fD),f.Te=function(){return!1},f.Ue=function(){return!1};var Jte,Yte,Qte,Zte,gH=jn(Nn,"TreeMap/SubMapType",304,Vn,ihn,bsn);$(1143,304,$Z,Art),f.Ue=function(){return!0},jn(Nn,"TreeMap/SubMapType/1",1143,gH,null,null),$(1144,304,$Z,Mrt),f.Te=function(){return!0},f.Ue=function(){return!0},jn(Nn,"TreeMap/SubMapType/2",1144,gH,null,null),$(1145,304,$Z,Rrt),f.Te=function(){return!0},jn(Nn,"TreeMap/SubMapType/3",1145,gH,null,null);var Gkt;$(157,Fd,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},zde,Ep,iR),f.Nc=function(){return new uD(this)},f.Fc=function(t){return K8(this,t)},f.$b=function(){this.a.$b()},f.Hc=function(t){return this.a._b(t)},f.Kc=function(){return this.a.ec().Kc()},f.Mc=function(t){return mq(this,t)},f.gc=function(){return this.a.gc()};var A$n=O(Nn,"TreeSet",157);$(1082,1,{},RXe),f.Ve=function(t,i){return Ton(this.a,t,i)},O(IZ,"BinaryOperator/lambda$0$Type",1082),$(1083,1,{},AXe),f.Ve=function(t,i){return Pon(this.a,t,i)},O(IZ,"BinaryOperator/lambda$1$Type",1083),$(952,1,{},rn),f.Kb=function(t){return t},O(IZ,"Function/lambda$0$Type",952),$(395,1,nr,oR),f.Mb=function(t){return!this.a.Mb(t)},O(IZ,"Predicate/lambda$2$Type",395),$(581,1,{581:1});var Kkt=O(sx,"Handler",581);$(2107,1,RP),f.xe=function(){return"DUMMY"},f.Ib=function(){return this.xe()};var L3e;O(sx,"Level",2107),$(1706,2107,RP,$e),f.xe=function(){return"INFO"},O(sx,"Level/LevelInfo",1706),$(1843,1,{},QQe);var ene;O(sx,"LogManager",1843),$(1896,1,RP,Cot),f.b=null,O(sx,"LogRecord",1896),$(525,1,{525:1},UX),f.e=!1;var zkt=!1,qkt=!1,Ud=!1,Xkt=!1,Jkt=!1;O(sx,"Logger",525),$(835,581,{581:1},Te),O(sx,"SimpleConsoleLogHandler",835),$(108,22,{3:1,34:1,22:1,108:1},Iz);var j3e,Xs,yv,As=jn(zi,"Collector/Characteristics",108,Vn,Gfn,psn),Ykt;$(758,1,{},$ge),O(zi,"CollectorImpl",758),$(1074,1,{},P),f.Ve=function(t,i){return R0n(u(t,213),u(i,213))},O(zi,"Collectors/10methodref$merge$Type",1074),$(1075,1,{},T),f.Kb=function(t){return $ct(u(t,213))},O(zi,"Collectors/11methodref$toString$Type",1075),$(1076,1,{},CXe),f.Kb=function(t){return on(),!!Ebe(t)},O(zi,"Collectors/12methodref$test$Type",1076),$(144,1,{},B),f.Yd=function(t,i){u(t,16).Fc(i)},O(zi,"Collectors/20methodref$add$Type",144),$(146,1,{},K),f.Xe=function(){return new it},O(zi,"Collectors/21methodref$ctor$Type",146),$(359,1,{},z),f.Xe=function(){return new Ni},O(zi,"Collectors/23methodref$ctor$Type",359),$(360,1,{},Se),f.Yd=function(t,i){Vi(u(t,49),i)},O(zi,"Collectors/24methodref$add$Type",360),$(1069,1,{},_e),f.Ve=function(t,i){return vtt(u(t,15),u(i,16))},O(zi,"Collectors/4methodref$addAll$Type",1069),$(1073,1,{},Pe),f.Yd=function(t,i){Mb(u(t,213),u(i,484))},O(zi,"Collectors/9methodref$add$Type",1073),$(1072,1,{},Vot),f.Xe=function(){return new v0(this.a,this.b,this.c)},O(zi,"Collectors/lambda$15$Type",1072),$(1077,1,{},mt),f.Xe=function(){var t;return t=new Ip,Hp(t,(on(),!1),new it),Hp(t,!0,new it),t},O(zi,"Collectors/lambda$22$Type",1077),$(1078,1,{},xXe),f.Xe=function(){return oe(re(io,1),Zt,1,5,[this.a])},O(zi,"Collectors/lambda$25$Type",1078),$(1079,1,{},$Xe),f.Yd=function(t,i){Yln(this.a,g0(t))},O(zi,"Collectors/lambda$26$Type",1079),$(1080,1,{},IXe),f.Ve=function(t,i){return Rcn(this.a,g0(t),g0(i))},O(zi,"Collectors/lambda$27$Type",1080),$(1081,1,{},de),f.Kb=function(t){return g0(t)[0]},O(zi,"Collectors/lambda$28$Type",1081),$(728,1,{},zt),f.Ve=function(t,i){return cge(t,i)},O(zi,"Collectors/lambda$4$Type",728),$(145,1,{},Jt),f.Ve=function(t,i){return srn(u(t,16),u(i,16))},O(zi,"Collectors/lambda$42$Type",145),$(361,1,{},In),f.Ve=function(t,i){return arn(u(t,49),u(i,49))},O(zi,"Collectors/lambda$50$Type",361),$(362,1,{},vr),f.Kb=function(t){return u(t,49)},O(zi,"Collectors/lambda$51$Type",362),$(1068,1,{},TXe),f.Yd=function(t,i){T1n(this.a,u(t,85),i)},O(zi,"Collectors/lambda$7$Type",1068),$(1070,1,{},Ce),f.Ve=function(t,i){return a1n(u(t,85),u(i,85),new _e)},O(zi,"Collectors/lambda$8$Type",1070),$(1071,1,{},PXe),f.Kb=function(t){return iwn(this.a,u(t,85))},O(zi,"Collectors/lambda$9$Type",1071),$(550,1,{}),f.$e=function(){ZC(this)},f.d=!1,O(zi,"TerminatableStream",550),$(827,550,$2e,lpe),f.$e=function(){ZC(this)},O(zi,"DoubleStreamImpl",827),$(1847,736,ru,Got),f.Re=function(t){return ayn(this,u(t,189))},f.a=null,O(zi,"DoubleStreamImpl/2",1847),$(1848,1,NP,OXe),f.Pe=function(t){ein(this.a,t)},O(zi,"DoubleStreamImpl/2/lambda$0$Type",1848),$(1845,1,NP,NXe),f.Pe=function(t){Zrn(this.a,t)},O(zi,"DoubleStreamImpl/lambda$0$Type",1845),$(1846,1,NP,MXe),f.Pe=function(t){Gpt(this.a,t)},O(zi,"DoubleStreamImpl/lambda$2$Type",1846),$(1397,735,ru,Nut),f.Re=function(t){return zdn(this,u(t,202))},f.a=0,f.b=0,f.c=0,O(zi,"IntStream/5",1397),$(806,550,$2e,cpe),f.$e=function(){ZC(this)},f._e=function(){return Wg(this),this.a},O(zi,"IntStreamImpl",806),$(807,550,$2e,Nhe),f.$e=function(){ZC(this)},f._e=function(){return Wg(this),Vbe(),Vkt},O(zi,"IntStreamImpl/Empty",807),$(1687,1,CP,DXe),f.Dd=function(t){tbt(this.a,t)},O(zi,"IntStreamImpl/lambda$4$Type",1687);var C$n=bi(zi,"Stream");$(26,550,{533:1,687:1,848:1},Lt),f.$e=function(){ZC(this)};var _3;O(zi,"StreamImpl",26),$(1102,500,ru,yot),f.Bd=function(t){for(;Jbn(this);){if(this.a.Bd(t))return!0;ZC(this.b),this.b=null,this.a=null}return!1},O(zi,"StreamImpl/1",1102),$(1103,1,En,LXe),f.Cd=function(t){Eln(this.a,u(t,848))},O(zi,"StreamImpl/1/lambda$0$Type",1103),$(1104,1,nr,jXe),f.Mb=function(t){return Vi(this.a,t)},O(zi,"StreamImpl/1methodref$add$Type",1104),$(1105,500,ru,Zat),f.Bd=function(t){var i;return this.a||(i=new it,this.b.a.Nb(new FXe(i)),Gt(),Pi(i,this.c),this.a=new Wt(i,16)),Ddt(this.a,t)},f.a=null,O(zi,"StreamImpl/5",1105),$(1106,1,En,FXe),f.Cd=function(t){ot(this.a,t)},O(zi,"StreamImpl/5/2methodref$add$Type",1106),$(737,500,ru,i0e),f.Bd=function(t){for(this.b=!1;!this.b&&this.c.Bd(new Ltt(this,t)););return this.b},f.b=!1,O(zi,"StreamImpl/FilterSpliterator",737),$(1096,1,En,Ltt),f.Cd=function(t){ycn(this.a,this.b,t)},O(zi,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),$(1091,736,ru,Gut),f.Re=function(t){return Zon(this,u(t,189))},O(zi,"StreamImpl/MapToDoubleSpliterator",1091),$(1095,1,En,jtt),f.Cd=function(t){Ern(this.a,this.b,t)},O(zi,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),$(1090,735,ru,Kut),f.Re=function(t){return esn(this,u(t,202))},O(zi,"StreamImpl/MapToIntSpliterator",1090),$(1094,1,En,Ftt),f.Cd=function(t){krn(this.a,this.b,t)},O(zi,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),$(734,500,ru,U1e),f.Bd=function(t){return got(this,t)},O(zi,"StreamImpl/MapToObjSpliterator",734),$(1093,1,En,Btt),f.Cd=function(t){Rrn(this.a,this.b,t)},O(zi,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),$(1092,500,ru,_ht),f.Bd=function(t){for(;xz(this.b,0);){if(!this.a.Bd(new ae))return!1;this.b=Xu(this.b,1)}return this.a.Bd(t)},f.b=0,O(zi,"StreamImpl/SkipSpliterator",1092),$(1097,1,En,ae),f.Cd=function(t){},O(zi,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),$(626,1,En,ce),f.Cd=function(t){pXe(this,t)},O(zi,"StreamImpl/ValueConsumer",626),$(1098,1,En,Ye),f.Cd=function(t){i0()},O(zi,"StreamImpl/lambda$0$Type",1098),$(1099,1,En,pt),f.Cd=function(t){i0()},O(zi,"StreamImpl/lambda$1$Type",1099),$(1100,1,{},BXe),f.Ve=function(t,i){return Psn(this.a,t,i)},O(zi,"StreamImpl/lambda$4$Type",1100),$(1101,1,En,Htt),f.Cd=function(t){jon(this.b,this.a,t)},O(zi,"StreamImpl/lambda$5$Type",1101),$(1107,1,En,HXe),f.Cd=function(t){Xgn(this.a,u(t,380))},O(zi,"TerminatableStream/lambda$0$Type",1107),$(2142,1,{}),$(2014,1,{},qt),O("javaemul.internal","ConsoleLogger",2014);var x$n=0;$(2134,1,{}),$(1830,1,En,pn),f.Cd=function(t){u(t,317)},O(q4,"BowyerWatsonTriangulation/lambda$0$Type",1830),$(1831,1,En,WXe),f.Cd=function(t){Eo(this.a,u(t,317).e)},O(q4,"BowyerWatsonTriangulation/lambda$1$Type",1831),$(1832,1,En,Kr),f.Cd=function(t){u(t,177)},O(q4,"BowyerWatsonTriangulation/lambda$2$Type",1832),$(1827,1,ir,UXe),f.Ne=function(t,i){return Phn(this.a,u(t,177),u(i,177))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(q4,"NaiveMinST/lambda$0$Type",1827),$(449,1,{},Z6),O(q4,"NodeMicroLayout",449),$(177,1,{177:1},gE),f.Fb=function(t){var i;return pe(t,177)?(i=u(t,177),ka(this.a,i.a)&&ka(this.b,i.b)||ka(this.a,i.b)&&ka(this.b,i.a)):!1},f.Hb=function(){return T2(this.a)+T2(this.b)};var $$n=O(q4,"TEdge",177);$(317,1,{317:1},Uve),f.Fb=function(t){var i;return pe(t,317)?(i=u(t,317),aj(this,i.a)&&aj(this,i.b)&&aj(this,i.c)):!1},f.Hb=function(){return T2(this.a)+T2(this.b)+T2(this.c)},O(q4,"TTriangle",317),$(225,1,{225:1},jD),O(q4,"Tree",225),$(1218,1,{},jlt),O(h_t,"Scanline",1218);var Qkt=bi(h_t,b_t);$(1758,1,{},Odt),O(Zh,"CGraph",1758),$(316,1,{316:1},Hlt),f.b=0,f.c=0,f.d=0,f.g=0,f.i=0,f.k=Ki,O(Zh,"CGroup",316),$(830,1,{},Jde),O(Zh,"CGroup/CGroupBuilder",830),$(60,1,{60:1},Zit),f.Ib=function(){var t;return this.j?tr(this.j.Kb(this)):($b(wH),wH.o+"@"+(t=Pw(this)>>>0,t.toString(16)))},f.f=0,f.i=Ki;var wH=O(Zh,"CNode",60);$(829,1,{},Yde),O(Zh,"CNode/CNodeBuilder",829);var Zkt;$(1590,1,{},Ho),f.ff=function(t,i){return 0},f.gf=function(t,i){return 0},O(Zh,g_t,1590),$(1853,1,{},Ti),f.cf=function(t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q;for(v=si,a=new J(t.a.b);a.aa.d.c||a.d.c==d.d.c&&a.d.b0?t+this.n.d+this.n.a:0},f.kf=function(){var t,i,s,a,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=Hwe(this,BY(this,null,!0));else for(i=(ud(),oe(re(vv,1),Ve,237,0,[wa,sl,ma])),s=0,a=i.length;s0?c+this.n.b+this.n.c:0},f.lf=function(){var t,i,s,a,c;if(this.g)for(t=BY(this,null,!1),s=(ud(),oe(re(vv,1),Ve,237,0,[wa,sl,ma])),a=0,c=s.length;a0&&(a[0]+=this.d,s-=a[0]),a[2]>0&&(a[2]+=this.d,s-=a[2]),this.c.a=g.Math.max(0,s),this.c.d=i.d+t.d+(this.c.a-s)/2,a[1]=g.Math.max(a[1],s),F1e(this,sl,i.d+t.d+a[0]-(a[1]-s)/2,a)},f.b=null,f.d=0,f.e=!1,f.f=!1,f.g=!1;var one=0,mH=0;O(T0,"GridContainerCell",1538),$(471,22,{3:1,34:1,22:1,471:1},Pz);var d1,Ch,Df,cRt=jn(T0,"HorizontalLabelAlignment",471,Vn,zfn,vsn),uRt;$(314,217,{217:1,314:1},klt,Mdt,wlt),f.jf=function(){return ist(this)},f.kf=function(){return rge(this)},f.a=0,f.c=!1;var I$n=O(T0,"LabelCell",314);$(252,336,{217:1,336:1,252:1},$5),f.jf=function(){return F5(this)},f.kf=function(){return B5(this)},f.lf=function(){xQ(this)},f.mf=function(){$Q(this)},f.b=0,f.c=0,f.d=!1,O(T0,"StripContainerCell",252),$(1691,1,nr,Qf),f.Mb=function(t){return vnn(u(t,217))},O(T0,"StripContainerCell/lambda$0$Type",1691),$(1692,1,{},Zf),f.Ye=function(t){return u(t,217).kf()},O(T0,"StripContainerCell/lambda$1$Type",1692),$(1693,1,nr,Hs),f.Mb=function(t){return _nn(u(t,217))},O(T0,"StripContainerCell/lambda$2$Type",1693),$(1694,1,{},Rl),f.Ye=function(t){return u(t,217).jf()},O(T0,"StripContainerCell/lambda$3$Type",1694),$(472,22,{3:1,34:1,22:1,472:1},Oz);var Lf,h1,pd,fRt=jn(T0,"VerticalLabelAlignment",472,Vn,Kfn,_sn),dRt;$(800,1,{},s2e),f.c=0,f.d=0,f.k=0,f.s=0,f.t=0,f.v=!1,f.w=0,f.D=!1,f.F=!1,O(oB,"NodeContext",800),$(1536,1,ir,E),f.Ne=function(t,i){return grt(u(t,64),u(i,64))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(oB,"NodeContext/0methodref$comparePortSides$Type",1536),$(1537,1,ir,R),f.Ne=function(t,i){return J2n(u(t,117),u(i,117))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(oB,"NodeContext/1methodref$comparePortContexts$Type",1537),$(164,22,{3:1,34:1,22:1,164:1},Au);var hRt,bRt,pRt,gRt,wRt,mRt,yRt,vRt,_Rt,SRt,ERt,kRt,RRt,ARt,CRt,xRt,$Rt,IRt,TRt,PRt,ORt,sne,NRt=jn(oB,"NodeLabelLocation",164,Vn,wY,Ssn),MRt;$(117,1,{117:1},Ewt),f.a=!1,O(oB,"PortContext",117),$(1541,1,En,ee),f.Cd=function(t){Met(u(t,314))},O(DP,$_t,1541),$(1542,1,nr,te),f.Mb=function(t){return!!u(t,117).c},O(DP,I_t,1542),$(1543,1,En,he),f.Cd=function(t){Met(u(t,117).c)},O(DP,"LabelPlacer/lambda$2$Type",1543);var ske;$(1540,1,En,cn),f.Cd=function(t){Iy(),Ztn(u(t,117))},O(DP,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),$(801,1,En,Dpe),f.Cd=function(t){hrn(this.b,this.c,this.a,u(t,187))},f.a=!1,f.c=!1,O(DP,"NodeLabelCellCreator/lambda$0$Type",801),$(1539,1,En,KXe),f.Cd=function(t){nnn(this.a,u(t,187))},O(DP,"PortContextCreator/lambda$0$Type",1539);var yH;$(1902,1,{},Pn),O(J4,"GreedyRectangleStripOverlapRemover",1902),$(1903,1,ir,Al),f.Ne=function(t,i){return Gin(u(t,226),u(i,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(J4,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),$(1849,1,{},nZe),f.a=5,f.e=0,O(J4,"RectangleStripOverlapRemover",1849),$(1850,1,ir,Ur),f.Ne=function(t,i){return Kin(u(t,226),u(i,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(J4,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),$(1852,1,ir,Cl),f.Ne=function(t,i){return Mcn(u(t,226),u(i,226))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(J4,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),$(417,22,{3:1,34:1,22:1,417:1},hD);var lO,ane,lne,cO,DRt=jn(J4,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Vn,ahn,Esn),LRt;$(226,1,{226:1},qq),O(J4,"RectangleStripOverlapRemover/RectangleNode",226),$(1851,1,En,zXe),f.Cd=function(t){Syn(this.a,u(t,226))},O(J4,"RectangleStripOverlapRemover/lambda$1$Type",1851),$(1323,1,ir,ed),f.Ne=function(t,i){return H6n(u(t,176),u(i,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(vh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),$(1326,1,{},xl),f.Kb=function(t){return u(t,334).a},O(vh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),$(1327,1,nr,$l),f.Mb=function(t){return u(t,332).a},O(vh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),$(1328,1,nr,Ws),f.Mb=function(t){return u(t,332).a},O(vh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),$(1321,1,ir,Us),f.Ne=function(t,i){return m4n(u(t,176),u(i,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(vh,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),$(1324,1,{},Vs),f.Kb=function(t){return u(t,334).a},O(vh,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),$(781,1,ir,Ui),f.Ne=function(t,i){return e1n(u(t,176),u(i,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(vh,"PolyominoCompactor/MinNumOfExtensionsComparator",781),$(1319,1,ir,Vr),f.Ne=function(t,i){return lgn(u(t,330),u(i,330))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(vh,"PolyominoCompactor/MinPerimeterComparator",1319),$(1320,1,ir,_r),f.Ne=function(t,i){return Kmn(u(t,330),u(i,330))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(vh,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),$(1322,1,ir,WLe),f.Ne=function(t,i){return j4n(u(t,176),u(i,176))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(vh,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),$(1325,1,{},ULe),f.Kb=function(t){return u(t,334).a},O(vh,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),$(782,1,{},zhe),f.Ve=function(t,i){return Zdn(this,u(t,42),u(i,176))},O(vh,"SuccessorCombination",782),$(649,1,{},$K),f.Ve=function(t,i){var s;return pEn((s=u(t,42),u(i,176),s))},O(vh,"SuccessorJitter",649),$(648,1,{},IK),f.Ve=function(t,i){var s;return tRn((s=u(t,42),u(i,176),s))},O(vh,"SuccessorLineByLine",648),$(573,1,{},kM),f.Ve=function(t,i){var s;return p3n((s=u(t,42),u(i,176),s))},O(vh,"SuccessorManhattan",573),$(1344,1,{},VLe),f.Ve=function(t,i){var s;return Rkn((s=u(t,42),u(i,176),s))},O(vh,"SuccessorMaxNormWindingInMathPosSense",1344),$(409,1,{},sR),f.Ve=function(t,i){return Cge(this,t,i)},f.c=!1,f.d=!1,f.e=!1,f.f=!1,O(vh,"SuccessorQuadrantsGeneric",409),$(1345,1,{},GLe),f.Kb=function(t){return u(t,334).a},O(vh,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),$(332,22,{3:1,34:1,22:1,332:1},bD),f.a=!1;var uO,fO,dO,hO,jRt=jn(aB,B2e,332,Vn,ohn,ksn),FRt;$(1317,1,{}),f.Ib=function(){var t,i,s,a,c,d;for(s=" ",t=rt(0),c=0;c=0?"b"+t+"["+WX(this.a)+"]":"b["+WX(this.a)+"]"):"b_"+Pw(this)},O(jP,"FBendpoint",250),$(290,137,{3:1,290:1,96:1,137:1},eot),f.Ib=function(){return WX(this)},O(jP,"FEdge",290),$(235,137,{3:1,235:1,96:1,137:1},YL);var P$n=O(jP,"FGraph",235);$(454,309,{3:1,454:1,309:1,96:1,137:1},nut),f.Ib=function(){return this.b==null||this.b.length==0?"l["+WX(this.a)+"]":"l_"+this.b},O(jP,"FLabel",454),$(153,309,{3:1,153:1,309:1,96:1,137:1},Nrt),f.Ib=function(){return b1e(this)},f.a=0,O(jP,"FNode",153),$(2100,1,{}),f.vf=function(t){jve(this,t)},f.wf=function(){r1t(this)},f.d=0,O(X2e,"AbstractForceModel",2100),$(641,2100,{641:1},ebt),f.uf=function(t,i){var s,a,c,d,p;return Ivt(this.f,t,i),c=no(Ro(i.d),t.d),p=g.Math.sqrt(c.a*c.a+c.b*c.b),a=g.Math.max(0,p-QC(t.e)/2-QC(i.e)/2),s=dwt(this.e,t,i),s>0?d=-Pcn(a,this.c)*s:d=aon(a,this.b)*u(U(t,(Nf(),S3)),17).a,sh(c,d/p),c},f.vf=function(t){jve(this,t),this.a=u(U(t,(Nf(),RH)),17).a,this.c=Re(Oe(U(t,AH))),this.b=Re(Oe(U(t,pne)))},f.xf=function(t){return t0&&(d-=gnn(a,this.a)*s),sh(c,d*this.b/p),c},f.vf=function(t){var i,s,a,c,d,p,w;for(jve(this,t),this.b=Re(Oe(U(t,(Nf(),gne)))),this.c=this.b/u(U(t,RH),17).a,a=t.e.c.length,d=0,c=0,w=new J(t.e);w.a0},f.a=0,f.b=0,f.c=0,O(X2e,"FruchtermanReingoldModel",642),$(860,1,Qu,zze),f.hf=function(t){$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,uB),""),"Force Model"),"Determines the model for force calculation."),pke),(Vp(),ai)),gke),Tt((dd(),Qt))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,J2e),""),"Iterations"),"The number of iterations on the force model."),rt(300)),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Y2e),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),rt(0)),Js),Io),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,qZ),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),_h),jo),Wi),Tt(Qt)))),ji(t,qZ,uB,o4t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,XZ),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),jo),Wi),Tt(Qt)))),ji(t,XZ,uB,n4t),m2t((new qze,t))};var ZRt,e4t,pke,t4t,n4t,r4t,i4t,o4t;O(cx,"ForceMetaDataProvider",860),$(432,22,{3:1,34:1,22:1,432:1},Xhe);var bne,kH,gke=jn(cx,"ForceModelStrategy",432,Vn,Zun,Csn),s4t;$(Kp,1,Qu,qze),f.hf=function(t){m2t(t)};var a4t,l4t,wke,RH,mke,c4t,u4t,f4t,d4t,yke,h4t,vke,_ke,b4t,S3,p4t,pne,Ske,g4t,w4t,AH,gne,m4t,y4t,v4t,Eke,_4t;O(cx,"ForceOptions",Kp),$(1001,1,{},lje),f.sf=function(){var t;return t=new Xde,t},f.tf=function(t){},O(cx,"ForceOptions/ForceFactory",1001);var gO,Bx,E3,CH;$(861,1,Qu,Xze),f.hf=function(t){$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Z2e),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(on(),!1)),(Vp(),oo)),Ri),Tt((dd(),Zi))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,e_e),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),jo),Wi),Yr(Qt,oe(re(sb,1),Ve,170,0,[Th]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,t_e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),kke),ai),Tke),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,n_e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),_h),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,r_e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),rt(xr)),Js),Io),Tt(Qt)))),Kvt((new Jze,t))};var S4t,E4t,kke,k4t,R4t,A4t;O(cx,"StressMetaDataProvider",861),$(1004,1,Qu,Jze),f.hf=function(t){Kvt(t)};var xH,Rke,Ake,Cke,xke,$ke,C4t,x4t,$4t,I4t,Ike,T4t;O(cx,"StressOptions",1004),$(1005,1,{},sje),f.sf=function(){var t;return t=new tot,t},f.tf=function(t){},O(cx,"StressOptions/StressFactory",1005),$(1110,205,P0,tot),f.rf=function(t,i){var s,a,c,d,p;for(i.Ug(U_t,1),bt(ht(Ge(t,(Y7(),xke))))?bt(ht(Ge(t,Ike)))||e7((s=new Z6((Aw(),new mw(t))),s)):cmt(new Xde,t,i.eh(1)),c=kbt(t),a=tvt(this.a,c),p=a.Kc();p.Ob();)d=u(p.Pb(),235),!(d.e.c.length<=1)&&(j6n(this.b,d),u3n(this.b),dl(d.d,new aje));c=p2t(a),R2t(c),i.Vg()},O(hB,"StressLayoutProvider",1110),$(1111,1,En,aje),f.Cd=function(t){Kve(u(t,454))},O(hB,"StressLayoutProvider/lambda$0$Type",1111),$(1002,1,{},YQe),f.c=0,f.e=0,f.g=0,O(hB,"StressMajorization",1002),$(391,22,{3:1,34:1,22:1,391:1},Nz);var wne,mne,yne,Tke=jn(hB,"StressMajorization/Dimension",391,Vn,Xfn,xsn),P4t;$(1003,1,ir,YXe),f.Ne=function(t,i){return nsn(this.a,u(t,153),u(i,153))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(hB,"StressMajorization/lambda$0$Type",1003),$(1192,1,{},act),O(g3,"ElkLayered",1192),$(1193,1,En,QXe),f.Cd=function(t){FSn(this.a,u(t,36))},O(g3,"ElkLayered/lambda$0$Type",1193),$(1194,1,En,ZXe),f.Cd=function(t){rsn(this.a,u(t,36))},O(g3,"ElkLayered/lambda$1$Type",1194),$(1281,1,{},Vrt);var O4t,N4t,M4t;O(g3,"GraphConfigurator",1281),$(770,1,En,Ode),f.Cd=function(t){g0t(this.a,u(t,10))},O(g3,"GraphConfigurator/lambda$0$Type",770),$(771,1,{},Vfe),f.Kb=function(t){return Mme(),new Lt(null,new Wt(u(t,30).a,16))},O(g3,"GraphConfigurator/lambda$1$Type",771),$(772,1,En,Nde),f.Cd=function(t){g0t(this.a,u(t,10))},O(g3,"GraphConfigurator/lambda$2$Type",772),$(1109,205,P0,rZe),f.rf=function(t,i){var s;s=y6n(new oZe,t),xe(Ge(t,(dt(),Iv)))===xe((Bb(),ig))?Y0n(this.a,s,i):s3n(this.a,s,i),i.$g()||l2t(new Yze,s)},O(g3,"LayeredLayoutProvider",1109),$(367,22,{3:1,34:1,22:1,367:1},b8);var jf,rb,La,za,Ls,Pke=jn(g3,"LayeredPhases",367,Vn,Zhn,$sn),D4t;$(1717,1,{},mht),f.i=0;var L4t;O(VP,"ComponentsToCGraphTransformer",1717);var j4t;$(1718,1,{},oje),f.yf=function(t,i){return g.Math.min(t.a!=null?Re(t.a):t.c.i,i.a!=null?Re(i.a):i.c.i)},f.zf=function(t,i){return g.Math.min(t.a!=null?Re(t.a):t.c.i,i.a!=null?Re(i.a):i.c.i)},O(VP,"ComponentsToCGraphTransformer/1",1718),$(86,1,{86:1}),f.i=0,f.k=!0,f.o=Ki;var vne=O(hx,"CNode",86);$(470,86,{470:1,86:1},Zbe,cme),f.Ib=function(){return""},O(VP,"ComponentsToCGraphTransformer/CRectNode",470),$(1688,1,{},cje);var _ne,Sne;O(VP,"OneDimensionalComponentsCompaction",1688),$(1689,1,{},uje),f.Kb=function(t){return Bfn(u(t,42))},f.Fb=function(t){return this===t},O(VP,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),$(1690,1,{},fje),f.Kb=function(t){return Z0n(u(t,42))},f.Fb=function(t){return this===t},O(VP,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),$(1720,1,{},bat),O(hx,"CGraph",1720),$(194,1,{194:1},bY),f.b=0,f.c=0,f.e=0,f.g=!0,f.i=Ki,O(hx,"CGroup",194),$(1719,1,{},dje),f.yf=function(t,i){return g.Math.max(t.a!=null?Re(t.a):t.c.i,i.a!=null?Re(i.a):i.c.i)},f.zf=function(t,i){return g.Math.max(t.a!=null?Re(t.a):t.c.i,i.a!=null?Re(i.a):i.c.i)},O(hx,g_t,1719),$(1721,1,{},bwt),f.d=!1;var F4t,Ene=O(hx,y_t,1721);$(1722,1,{},hje),f.Kb=function(t){return Dhe(),on(),u(u(t,42).a,86).d.e!=0},f.Fb=function(t){return this===t},O(hx,v_t,1722),$(833,1,{},uge),f.a=!1,f.b=!1,f.c=!1,f.d=!1,O(hx,__t,833),$(1898,1,{},Ist),O(bB,S_t,1898);var wO=bi(N0,b_t);$(1899,1,{382:1},ult),f.bf=function(t){bRn(this,u(t,476))},O(bB,E_t,1899),$(o1,1,ir,bje),f.Ne=function(t,i){return Eun(u(t,86),u(i,86))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(bB,k_t,o1),$(476,1,{476:1},Yhe),f.a=!1,O(bB,R_t,476),$(1901,1,ir,pje),f.Ne=function(t,i){return kvn(u(t,476),u(i,476))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(bB,A_t,1901),$(148,1,{148:1},yR,zpe),f.Fb=function(t){var i;return t==null||O$n!=Lc(t)?!1:(i=u(t,148),ka(this.c,i.c)&&ka(this.d,i.d))},f.Hb=function(){return L7(oe(re(io,1),Zt,1,5,[this.c,this.d]))},f.Ib=function(){return"("+this.c+Jo+this.d+(this.a?"cx":"")+this.b+")"},f.a=!0,f.c=0,f.d=0;var O$n=O(N0,"Point",148);$(416,22,{3:1,34:1,22:1,416:1},gD);var Rm,_v,E_,Sv,B4t=jn(N0,"Point/Quadrant",416,Vn,lhn,Isn),H4t;$(1708,1,{},tZe),f.b=null,f.c=null,f.d=null,f.e=null,f.f=null;var W4t,U4t,V4t,G4t,K4t;O(N0,"RectilinearConvexHull",1708),$(583,1,{382:1},sF),f.bf=function(t){Qbn(this,u(t,148))},f.b=0;var Oke;O(N0,"RectilinearConvexHull/MaximalElementsEventHandler",583),$(1710,1,ir,gje),f.Ne=function(t,i){return kun(Oe(t),Oe(i))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(N0,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),$(1709,1,{382:1},Ndt),f.bf=function(t){$kn(this,u(t,148))},f.a=0,f.b=null,f.c=null,f.d=null,f.e=null,O(N0,"RectilinearConvexHull/RectangleEventHandler",1709),$(1711,1,ir,wje),f.Ne=function(t,i){return Pdn(u(t,148),u(i,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(N0,"RectilinearConvexHull/lambda$0$Type",1711),$(1712,1,ir,vje),f.Ne=function(t,i){return Odn(u(t,148),u(i,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(N0,"RectilinearConvexHull/lambda$1$Type",1712),$(1713,1,ir,_je),f.Ne=function(t,i){return Tdn(u(t,148),u(i,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(N0,"RectilinearConvexHull/lambda$2$Type",1713),$(1714,1,ir,yje),f.Ne=function(t,i){return Ndn(u(t,148),u(i,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(N0,"RectilinearConvexHull/lambda$3$Type",1714),$(1715,1,ir,Sje),f.Ne=function(t,i){return f_n(u(t,148),u(i,148))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(N0,"RectilinearConvexHull/lambda$4$Type",1715),$(1716,1,{},Flt),O(N0,"Scanline",1716),$(2104,1,{}),O(Hd,"AbstractGraphPlacer",2104),$(335,1,{335:1},Ait),f.Ff=function(t){return this.Gf(t)?(Ht(this.b,u(U(t,(Je(),Qb)),21),t),!0):!1},f.Gf=function(t){var i,s,a,c;for(i=u(U(t,(Je(),Qb)),21),c=u(Or(Wr,i),21),a=c.Kc();a.Ob();)if(s=u(a.Pb(),21),!u(Or(this.b,s),15).dc())return!1;return!0};var Wr;O(Hd,"ComponentGroup",335),$(779,2104,{},Qde),f.Hf=function(t){var i,s;for(s=new J(this.a);s.as&&(x=0,N+=w+a,w=0),y=d.c,N4(d,x+y.a,N+y.b),id(y),c=g.Math.max(c,x+v.a),w=g.Math.max(w,v.b),x+=v.a+a;i.f.a=c,i.f.b=N+w},f.Jf=function(t,i){var s,a,c,d,p;if(xe(U(i,(dt(),$v)))===xe((k0(),Ev))){for(a=t.Kc();a.Ob();){for(s=u(a.Pb(),36),p=0,d=new J(s.a);d.as&&!u(U(d,(Je(),Qb)),21).Hc((ct(),dn))||y&&u(U(y,(Je(),Qb)),21).Hc((ct(),yn))||u(U(d,(Je(),Qb)),21).Hc((ct(),bn)))&&(j=N,W+=w+a,w=0),v=d.c,u(U(d,(Je(),Qb)),21).Hc((ct(),dn))&&(j=c+a),N4(d,j+v.a,W+v.b),c=g.Math.max(c,j+x.a),u(U(d,Qb),21).Hc(Mn)&&(N=g.Math.max(N,j+x.a+a)),id(v),w=g.Math.max(w,x.b),j+=x.a+a,y=d;i.f.a=c,i.f.b=W+w},f.Jf=function(t,i){},O(Hd,"ModelOrderRowGraphPlacer",1313),$(1311,1,ir,Rje),f.Ne=function(t,i){return Ygn(u(t,36),u(i,36))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Hd,"SimpleRowGraphPlacer/1",1311);var q4t;$(1280,1,yh,Aje),f.Lb=function(t){var i;return i=u(U(u(t,249).b,(dt(),Cs)),75),!!i&&i.b!=0},f.Fb=function(t){return this===t},f.Mb=function(t){var i;return i=u(U(u(t,249).b,(dt(),Cs)),75),!!i&&i.b!=0},O(pB,"CompoundGraphPostprocessor/1",1280),$(1279,1,qr,sZe),f.Kf=function(t,i){Lgt(this,u(t,36),i)},O(pB,"CompoundGraphPreprocessor",1279),$(453,1,{453:1},Cpt),f.c=!1,O(pB,"CompoundGraphPreprocessor/ExternalPort",453),$(249,1,{249:1},YD),f.Ib=function(){return Eq(this.c)+":"+lwt(this.b)},O(pB,"CrossHierarchyEdge",249),$(777,1,ir,Mde),f.Ne=function(t,i){return Qyn(this,u(t,249),u(i,249))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(pB,"CrossHierarchyEdgeComparator",777),$(305,137,{3:1,305:1,96:1,137:1}),f.p=0,O(Ga,"LGraphElement",305),$(18,305,{3:1,18:1,305:1,96:1,137:1},Vw),f.Ib=function(){return lwt(this)};var Ane=O(Ga,"LEdge",18);$(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},R0e),f.Jc=function(t){xo(this,t)},f.Kc=function(){return new J(this.b)},f.Ib=function(){return this.b.c.length==0?"G-unlayered"+e1(this.a):this.a.c.length==0?"G-layered"+e1(this.b):"G[layerless"+e1(this.a)+", layers"+e1(this.b)+"]"};var X4t=O(Ga,"LGraph",36),J4t;$(666,1,{}),f.Lf=function(){return this.e.n},f.of=function(t){return U(this.e,t)},f.Mf=function(){return this.e.o},f.Nf=function(){return this.e.p},f.pf=function(t){return Jr(this.e,t)},f.Of=function(t){this.e.n.a=t.a,this.e.n.b=t.b},f.Pf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},f.Qf=function(t){this.e.p=t},O(Ga,"LGraphAdapters/AbstractLShapeAdapter",666),$(474,1,{853:1},eC),f.Rf=function(){var t,i;if(!this.b)for(this.b=Fh(this.a.b.c.length),i=new J(this.a.b);i.a0&&ipt((fn(i-1,t.length),t.charCodeAt(i-1)),X_t);)--i;if(d> ",t),gF(s)),lr(Fa((t.a+="[",t),s.i),"]")),t.a},f.c=!0,f.d=!1;var jke,Fke,Bke,Hke,Wke,Uke,Q4t=O(Ga,"LPort",12);$(408,1,Jh,aR),f.Jc=function(t){xo(this,t)},f.Kc=function(){var t;return t=new J(this.a.e),new eJe(t)},O(Ga,"LPort/1",408),$(1309,1,ho,eJe),f.Nb=function(t){Ao(this,t)},f.Pb=function(){return u(X(this.a),18).c},f.Ob=function(){return na(this.a)},f.Qb=function(){XC(this.a)},O(Ga,"LPort/1/1",1309),$(369,1,Jh,iE),f.Jc=function(t){xo(this,t)},f.Kc=function(){var t;return t=new J(this.a.g),new Dde(t)},O(Ga,"LPort/2",369),$(776,1,ho,Dde),f.Nb=function(t){Ao(this,t)},f.Pb=function(){return u(X(this.a),18).d},f.Ob=function(){return na(this.a)},f.Qb=function(){XC(this.a)},O(Ga,"LPort/2/1",776),$(1302,1,Jh,Gtt),f.Jc=function(t){xo(this,t)},f.Kc=function(){return new Td(this)},O(Ga,"LPort/CombineIter",1302),$(208,1,ho,Td),f.Nb=function(t){Ao(this,t)},f.Qb=function(){Eet()},f.Ob=function(){return jC(this)},f.Pb=function(){return na(this.a)?X(this.a):X(this.b)},O(Ga,"LPort/CombineIter/1",208),$(1303,1,yh,xje),f.Lb=function(t){return Vst(t)},f.Fb=function(t){return this===t},f.Mb=function(t){return Xl(),u(t,12).g.c.length!=0},O(Ga,"LPort/lambda$0$Type",1303),$(1304,1,yh,$je),f.Lb=function(t){return Gst(t)},f.Fb=function(t){return this===t},f.Mb=function(t){return Xl(),u(t,12).e.c.length!=0},O(Ga,"LPort/lambda$1$Type",1304),$(1305,1,yh,Ije),f.Lb=function(t){return Xl(),u(t,12).j==(ct(),dn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Xl(),u(t,12).j==(ct(),dn)},O(Ga,"LPort/lambda$2$Type",1305),$(1306,1,yh,Tje),f.Lb=function(t){return Xl(),u(t,12).j==(ct(),yn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Xl(),u(t,12).j==(ct(),yn)},O(Ga,"LPort/lambda$3$Type",1306),$(1307,1,yh,Pje),f.Lb=function(t){return Xl(),u(t,12).j==(ct(),Mn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Xl(),u(t,12).j==(ct(),Mn)},O(Ga,"LPort/lambda$4$Type",1307),$(1308,1,yh,Oje),f.Lb=function(t){return Xl(),u(t,12).j==(ct(),bn)},f.Fb=function(t){return this===t},f.Mb=function(t){return Xl(),u(t,12).j==(ct(),bn)},O(Ga,"LPort/lambda$5$Type",1308),$(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},Ba),f.Jc=function(t){xo(this,t)},f.Kc=function(){return new J(this.a)},f.Ib=function(){return"L_"+Ns(this.b.b,this,0)+e1(this.a)},O(Ga,"Layer",30),$(1330,1,{},oZe),O(qp,Z_t,1330),$(1334,1,{},Nje),f.Kb=function(t){return Ds(u(t,84))},O(qp,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),$(1337,1,{},Mje),f.Kb=function(t){return Ds(u(t,84))},O(qp,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),$(1331,1,En,tJe),f.Cd=function(t){Rwt(this.a,u(t,123))},O(qp,q2e,1331),$(1332,1,En,nJe),f.Cd=function(t){Rwt(this.a,u(t,123))},O(qp,eSt,1332),$(1333,1,{},Dje),f.Kb=function(t){return new Lt(null,new Wt(Kge(u(t,74)),16))},O(qp,tSt,1333),$(1335,1,nr,rJe),f.Mb=function(t){return tin(this.a,u(t,27))},O(qp,nSt,1335),$(1336,1,{},Lje),f.Kb=function(t){return new Lt(null,new Wt(mun(u(t,74)),16))},O(qp,"ElkGraphImporter/lambda$5$Type",1336),$(1338,1,nr,iJe),f.Mb=function(t){return nin(this.a,u(t,27))},O(qp,"ElkGraphImporter/lambda$7$Type",1338),$(1339,1,nr,jje),f.Mb=function(t){return Pun(u(t,74))},O(qp,"ElkGraphImporter/lambda$8$Type",1339),$(1297,1,{},Yze);var Z4t;O(qp,"ElkGraphLayoutTransferrer",1297),$(1298,1,nr,oJe),f.Mb=function(t){return Von(this.a,u(t,18))},O(qp,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),$(1299,1,En,sJe),f.Cd=function(t){d8(),ot(this.a,u(t,18))},O(qp,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),$(1300,1,nr,aJe),f.Mb=function(t){return $on(this.a,u(t,18))},O(qp,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),$(1301,1,En,lJe),f.Cd=function(t){d8(),ot(this.a,u(t,18))},O(qp,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),$(819,1,{},Spe),O(wn,"BiLinkedHashMultiMap",819),$(1550,1,qr,Fje),f.Kf=function(t,i){wgn(u(t,36),i)},O(wn,"CommentNodeMarginCalculator",1550),$(1551,1,{},Bje),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"CommentNodeMarginCalculator/lambda$0$Type",1551),$(1552,1,En,Hje),f.Cd=function(t){w6n(u(t,10))},O(wn,"CommentNodeMarginCalculator/lambda$1$Type",1552),$(1553,1,qr,Wje),f.Kf=function(t,i){_Rn(u(t,36),i)},O(wn,"CommentPostprocessor",1553),$(1554,1,qr,Uje),f.Kf=function(t,i){U5n(u(t,36),i)},O(wn,"CommentPreprocessor",1554),$(1555,1,qr,Vje),f.Kf=function(t,i){jkn(u(t,36),i)},O(wn,"ConstraintsPostprocessor",1555),$(1556,1,qr,Gje),f.Kf=function(t,i){Ggn(u(t,36),i)},O(wn,"EdgeAndLayerConstraintEdgeReverser",1556),$(1557,1,qr,Kje),f.Kf=function(t,i){Mwn(u(t,36),i)},O(wn,"EndLabelPostprocessor",1557),$(1558,1,{},zje),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"EndLabelPostprocessor/lambda$0$Type",1558),$(1559,1,nr,qje),f.Mb=function(t){return Jhn(u(t,10))},O(wn,"EndLabelPostprocessor/lambda$1$Type",1559),$(1560,1,En,Xje),f.Cd=function(t){Rvn(u(t,10))},O(wn,"EndLabelPostprocessor/lambda$2$Type",1560),$(1561,1,qr,Jje),f.Kf=function(t,i){hSn(u(t,36),i)},O(wn,"EndLabelPreprocessor",1561),$(1562,1,{},Yje),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"EndLabelPreprocessor/lambda$0$Type",1562),$(1563,1,En,Pot),f.Cd=function(t){brn(this.a,this.b,this.c,u(t,10))},f.a=0,f.b=0,f.c=!1,O(wn,"EndLabelPreprocessor/lambda$1$Type",1563),$(1564,1,nr,Qje),f.Mb=function(t){return xe(U(u(t,72),(dt(),$h)))===xe((Nd(),GA))},O(wn,"EndLabelPreprocessor/lambda$2$Type",1564),$(1565,1,En,cJe),f.Cd=function(t){sr(this.a,u(t,72))},O(wn,"EndLabelPreprocessor/lambda$3$Type",1565),$(1566,1,nr,Zje),f.Mb=function(t){return xe(U(u(t,72),(dt(),$h)))===xe((Nd(),Wv))},O(wn,"EndLabelPreprocessor/lambda$4$Type",1566),$(1567,1,En,uJe),f.Cd=function(t){sr(this.a,u(t,72))},O(wn,"EndLabelPreprocessor/lambda$5$Type",1567),$(1615,1,qr,Uze),f.Kf=function(t,i){N0n(u(t,36),i)};var eAt;O(wn,"EndLabelSorter",1615),$(1616,1,ir,eFe),f.Ne=function(t,i){return hmn(u(t,466),u(i,466))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"EndLabelSorter/1",1616),$(466,1,{466:1},ilt),O(wn,"EndLabelSorter/LabelGroup",466),$(1617,1,{},tFe),f.Kb=function(t){return f8(),new Lt(null,new Wt(u(t,30).a,16))},O(wn,"EndLabelSorter/lambda$0$Type",1617),$(1618,1,nr,nFe),f.Mb=function(t){return f8(),u(t,10).k==(hn(),Ai)},O(wn,"EndLabelSorter/lambda$1$Type",1618),$(1619,1,En,rFe),f.Cd=function(t){C_n(u(t,10))},O(wn,"EndLabelSorter/lambda$2$Type",1619),$(1620,1,nr,iFe),f.Mb=function(t){return f8(),xe(U(u(t,72),(dt(),$h)))===xe((Nd(),Wv))},O(wn,"EndLabelSorter/lambda$3$Type",1620),$(1621,1,nr,oFe),f.Mb=function(t){return f8(),xe(U(u(t,72),(dt(),$h)))===xe((Nd(),GA))},O(wn,"EndLabelSorter/lambda$4$Type",1621),$(1568,1,qr,sFe),f.Kf=function(t,i){T6n(this,u(t,36))},f.b=0,f.c=0,O(wn,"FinalSplineBendpointsCalculator",1568),$(1569,1,{},aFe),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),$(1570,1,{},lFe),f.Kb=function(t){return new Lt(null,new jw(new Sn(kn($i(u(t,10)).a.Kc(),new M))))},O(wn,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),$(1571,1,nr,cFe),f.Mb=function(t){return!es(u(t,18))},O(wn,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),$(1572,1,nr,uFe),f.Mb=function(t){return Jr(u(t,18),(Je(),U0))},O(wn,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),$(1573,1,En,fJe),f.Cd=function(t){B4n(this.a,u(t,131))},O(wn,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),$(1574,1,En,fFe),f.Cd=function(t){oP(u(t,18).a)},O(wn,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),$(803,1,qr,Lde),f.Kf=function(t,i){RCn(this,u(t,36),i)},O(wn,"GraphTransformer",803),$(517,22,{3:1,34:1,22:1,517:1},Jhe);var xne,mO,tAt=jn(wn,"GraphTransformer/Mode",517,Vn,efn,Man),nAt;$(1575,1,qr,dFe),f.Kf=function(t,i){z3n(u(t,36),i)},O(wn,"HierarchicalNodeResizingProcessor",1575),$(1576,1,qr,hFe),f.Kf=function(t,i){dgn(u(t,36),i)},O(wn,"HierarchicalPortConstraintProcessor",1576),$(1577,1,ir,bFe),f.Ne=function(t,i){return Nmn(u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"HierarchicalPortConstraintProcessor/NodeComparator",1577),$(1578,1,qr,pFe),f.Kf=function(t,i){MAn(u(t,36),i)},O(wn,"HierarchicalPortDummySizeProcessor",1578),$(1579,1,qr,gFe),f.Kf=function(t,i){GRn(this,u(t,36),i)},f.a=0,O(wn,"HierarchicalPortOrthogonalEdgeRouter",1579),$(1580,1,ir,wFe),f.Ne=function(t,i){return zin(u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"HierarchicalPortOrthogonalEdgeRouter/1",1580),$(1581,1,ir,mFe),f.Ne=function(t,i){return Zbn(u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"HierarchicalPortOrthogonalEdgeRouter/2",1581),$(1582,1,qr,yFe),f.Kf=function(t,i){l_n(u(t,36),i)},O(wn,"HierarchicalPortPositionProcessor",1582),$(1583,1,qr,Qze),f.Kf=function(t,i){kxn(this,u(t,36))},f.a=0,f.c=0;var $H,IH;O(wn,"HighDegreeNodeLayeringProcessor",1583),$(580,1,{580:1},vFe),f.b=-1,f.d=-1,O(wn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),$(1584,1,{},_Fe),f.Kb=function(t){return B8(),so(u(t,10))},f.Fb=function(t){return this===t},O(wn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),$(1585,1,{},SFe),f.Kb=function(t){return B8(),$i(u(t,10))},f.Fb=function(t){return this===t},O(wn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),$(1591,1,qr,EFe),f.Kf=function(t,i){CAn(this,u(t,36),i)},O(wn,"HyperedgeDummyMerger",1591),$(804,1,{},Lpe),f.a=!1,f.b=!1,f.c=!1,O(wn,"HyperedgeDummyMerger/MergeState",804),$(1592,1,{},kFe),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"HyperedgeDummyMerger/lambda$0$Type",1592),$(1593,1,{},RFe),f.Kb=function(t){return new Lt(null,new Wt(u(t,10).j,16))},O(wn,"HyperedgeDummyMerger/lambda$1$Type",1593),$(1594,1,En,AFe),f.Cd=function(t){u(t,12).p=-1},O(wn,"HyperedgeDummyMerger/lambda$2$Type",1594),$(1595,1,qr,CFe),f.Kf=function(t,i){RAn(u(t,36),i)},O(wn,"HypernodesProcessor",1595),$(1596,1,qr,xFe),f.Kf=function(t,i){NAn(u(t,36),i)},O(wn,"InLayerConstraintProcessor",1596),$(1597,1,qr,$Fe),f.Kf=function(t,i){Cgn(u(t,36),i)},O(wn,"InnermostNodeMarginCalculator",1597),$(1598,1,qr,IFe),f.Kf=function(t,i){F5n(this,u(t,36))},f.a=Ki,f.b=Ki,f.c=si,f.d=si;var N$n=O(wn,"InteractiveExternalPortPositioner",1598);$(1599,1,{},TFe),f.Kb=function(t){return u(t,18).d.i},f.Fb=function(t){return this===t},O(wn,"InteractiveExternalPortPositioner/lambda$0$Type",1599),$(1600,1,{},dJe),f.Kb=function(t){return qin(this.a,Oe(t))},f.Fb=function(t){return this===t},O(wn,"InteractiveExternalPortPositioner/lambda$1$Type",1600),$(1601,1,{},PFe),f.Kb=function(t){return u(t,18).c.i},f.Fb=function(t){return this===t},O(wn,"InteractiveExternalPortPositioner/lambda$2$Type",1601),$(1602,1,{},hJe),f.Kb=function(t){return Xin(this.a,Oe(t))},f.Fb=function(t){return this===t},O(wn,"InteractiveExternalPortPositioner/lambda$3$Type",1602),$(1603,1,{},bJe),f.Kb=function(t){return Kon(this.a,Oe(t))},f.Fb=function(t){return this===t},O(wn,"InteractiveExternalPortPositioner/lambda$4$Type",1603),$(1604,1,{},pJe),f.Kb=function(t){return zon(this.a,Oe(t))},f.Fb=function(t){return this===t},O(wn,"InteractiveExternalPortPositioner/lambda$5$Type",1604),$(81,22,{3:1,34:1,22:1,81:1,196:1},Mi),f.dg=function(){switch(this.g){case 15:return new XHe;case 22:return new JHe;case 47:return new ZHe;case 28:case 35:return new UFe;case 32:return new Fje;case 42:return new Wje;case 1:return new Uje;case 41:return new Vje;case 56:return new Lde((e4(),mO));case 0:return new Lde((e4(),xne));case 2:return new Gje;case 54:return new Kje;case 33:return new Jje;case 51:return new sFe;case 55:return new dFe;case 13:return new hFe;case 38:return new pFe;case 44:return new gFe;case 40:return new yFe;case 9:return new Qze;case 49:return new wit;case 37:return new EFe;case 43:return new CFe;case 27:return new xFe;case 30:return new $Fe;case 3:return new IFe;case 18:return new NFe;case 29:return new MFe;case 5:return new Zze;case 50:return new OFe;case 34:return new eqe;case 36:return new VFe;case 52:return new Uze;case 11:return new GFe;case 7:return new tqe;case 39:return new KFe;case 45:return new zFe;case 16:return new qFe;case 10:return new cnt;case 48:return new QFe;case 21:return new ZFe;case 23:return new fz((Qw(),a$));case 8:return new tBe;case 12:return new rBe;case 4:return new iBe;case 19:return new aqe;case 17:return new bBe;case 53:return new pBe;case 6:return new CBe;case 25:return new lZe;case 46:return new vBe;case 31:return new oot;case 14:return new MBe;case 26:return new nWe;case 20:return new BBe;case 24:return new fz((Qw(),NW));default:throw Z(new un(eee+(this.f!=null?this.f:""+this.g)))}};var Vke,Gke,Kke,zke,qke,Xke,Jke,Yke,Qke,Zke,k_,TH,PH,eRe,tRe,nRe,rRe,iRe,oRe,sRe,Hx,aRe,lRe,cRe,uRe,fRe,$ne,OH,NH,dRe,MH,DH,LH,gA,kv,Rv,hRe,jH,FH,bRe,BH,HH,pRe,gRe,wRe,mRe,WH,Ine,yO,UH,VH,GH,KH,yRe,vRe,_Re,SRe,M$n=jn(wn,tee,81,Vn,mmt,Nsn),rAt;$(1605,1,qr,NFe),f.Kf=function(t,i){L5n(u(t,36),i)},O(wn,"InvertedPortProcessor",1605),$(1606,1,qr,MFe),f.Kf=function(t,i){P4n(u(t,36),i)},O(wn,"LabelAndNodeSizeProcessor",1606),$(1607,1,nr,DFe),f.Mb=function(t){return u(t,10).k==(hn(),Ai)},O(wn,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),$(1608,1,nr,LFe),f.Mb=function(t){return u(t,10).k==(hn(),Oi)},O(wn,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),$(1609,1,En,Oot),f.Cd=function(t){prn(this.b,this.a,this.c,u(t,10))},f.a=!1,f.c=!1,O(wn,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),$(1610,1,qr,Zze),f.Kf=function(t,i){c5n(u(t,36),i)};var iAt;O(wn,"LabelDummyInserter",1610),$(1611,1,yh,jFe),f.Lb=function(t){return xe(U(u(t,72),(dt(),$h)))===xe((Nd(),VA))},f.Fb=function(t){return this===t},f.Mb=function(t){return xe(U(u(t,72),(dt(),$h)))===xe((Nd(),VA))},O(wn,"LabelDummyInserter/1",1611),$(1612,1,qr,OFe),f.Kf=function(t,i){YCn(u(t,36),i)},O(wn,"LabelDummyRemover",1612),$(1613,1,nr,FFe),f.Mb=function(t){return bt(ht(U(u(t,72),(dt(),mre))))},O(wn,"LabelDummyRemover/lambda$0$Type",1613),$(1378,1,qr,eqe),f.Kf=function(t,i){UCn(this,u(t,36),i)},f.a=null;var Tne;O(wn,"LabelDummySwitcher",1378),$(293,1,{293:1},wyt),f.c=0,f.d=null,f.f=0,O(wn,"LabelDummySwitcher/LabelDummyInfo",293),$(1379,1,{},BFe),f.Kb=function(t){return VE(),new Lt(null,new Wt(u(t,30).a,16))},O(wn,"LabelDummySwitcher/lambda$0$Type",1379),$(1380,1,nr,HFe),f.Mb=function(t){return VE(),u(t,10).k==(hn(),Oa)},O(wn,"LabelDummySwitcher/lambda$1$Type",1380),$(1381,1,{},gJe),f.Kb=function(t){return Ion(this.a,u(t,10))},O(wn,"LabelDummySwitcher/lambda$2$Type",1381),$(1382,1,En,wJe),f.Cd=function(t){Jcn(this.a,u(t,293))},O(wn,"LabelDummySwitcher/lambda$3$Type",1382),$(1383,1,ir,WFe),f.Ne=function(t,i){return vcn(u(t,293),u(i,293))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"LabelDummySwitcher/lambda$4$Type",1383),$(802,1,qr,UFe),f.Kf=function(t,i){Pbn(u(t,36),i)},O(wn,"LabelManagementProcessor",802),$(1614,1,qr,VFe),f.Kf=function(t,i){cRn(u(t,36),i)},O(wn,"LabelSideSelector",1614),$(1622,1,qr,GFe),f.Kf=function(t,i){JAn(u(t,36),i)},O(wn,"LayerConstraintPostprocessor",1622),$(1623,1,qr,tqe),f.Kf=function(t,i){GEn(u(t,36),i)};var ERe;O(wn,"LayerConstraintPreprocessor",1623),$(371,22,{3:1,34:1,22:1,371:1},mD);var vO,zH,qH,Pne,oAt=jn(wn,"LayerConstraintPreprocessor/HiddenNodeConnections",371,Vn,uhn,Msn),sAt;$(1624,1,qr,KFe),f.Kf=function(t,i){hCn(u(t,36),i)},O(wn,"LayerSizeAndGraphHeightCalculator",1624),$(1625,1,qr,zFe),f.Kf=function(t,i){q3n(u(t,36),i)},O(wn,"LongEdgeJoiner",1625),$(1626,1,qr,qFe),f.Kf=function(t,i){W6n(u(t,36),i)},O(wn,"LongEdgeSplitter",1626),$(1627,1,qr,cnt),f.Kf=function(t,i){k5n(this,u(t,36),i)},f.e=0,f.f=0,f.j=0,f.k=0,f.n=0,f.o=0;var aAt,lAt;O(wn,"NodePromotion",1627),$(1628,1,ir,XFe),f.Ne=function(t,i){return L1n(u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"NodePromotion/1",1628),$(1629,1,ir,JFe),f.Ne=function(t,i){return j1n(u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"NodePromotion/2",1629),$(1630,1,{},YFe),f.Kb=function(t){return u(t,42),ZD(),on(),!0},f.Fb=function(t){return this===t},O(wn,"NodePromotion/lambda$0$Type",1630),$(1631,1,{},_Je),f.Kb=function(t){return Ofn(this.a,u(t,42))},f.Fb=function(t){return this===t},f.a=0,O(wn,"NodePromotion/lambda$1$Type",1631),$(1632,1,{},SJe),f.Kb=function(t){return Pfn(this.a,u(t,42))},f.Fb=function(t){return this===t},f.a=0,O(wn,"NodePromotion/lambda$2$Type",1632),$(1633,1,qr,QFe),f.Kf=function(t,i){mxn(u(t,36),i)},O(wn,"NorthSouthPortPostprocessor",1633),$(1634,1,qr,ZFe),f.Kf=function(t,i){Q5n(u(t,36),i)},O(wn,"NorthSouthPortPreprocessor",1634),$(1635,1,ir,eBe),f.Ne=function(t,i){return Qgn(u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"NorthSouthPortPreprocessor/lambda$0$Type",1635),$(1636,1,qr,tBe),f.Kf=function(t,i){hAn(u(t,36),i)},O(wn,"PartitionMidprocessor",1636),$(1637,1,nr,nBe),f.Mb=function(t){return Jr(u(t,10),(dt(),IA))},O(wn,"PartitionMidprocessor/lambda$0$Type",1637),$(1638,1,En,EJe),f.Cd=function(t){Oun(this.a,u(t,10))},O(wn,"PartitionMidprocessor/lambda$1$Type",1638),$(1639,1,qr,rBe),f.Kf=function(t,i){pkn(u(t,36),i)},O(wn,"PartitionPostprocessor",1639),$(1640,1,qr,iBe),f.Kf=function(t,i){$En(u(t,36),i)},O(wn,"PartitionPreprocessor",1640),$(1641,1,nr,oBe),f.Mb=function(t){return Jr(u(t,10),(dt(),IA))},O(wn,"PartitionPreprocessor/lambda$0$Type",1641),$(1642,1,{},sBe),f.Kb=function(t){return new Lt(null,new jw(new Sn(kn($i(u(t,10)).a.Kc(),new M))))},O(wn,"PartitionPreprocessor/lambda$1$Type",1642),$(1643,1,nr,aBe),f.Mb=function(t){return ymn(u(t,18))},O(wn,"PartitionPreprocessor/lambda$2$Type",1643),$(1644,1,En,lBe),f.Cd=function(t){p1n(u(t,18))},O(wn,"PartitionPreprocessor/lambda$3$Type",1644),$(1645,1,qr,aqe),f.Kf=function(t,i){z4n(u(t,36),i)};var kRe,cAt,uAt,fAt,RRe,ARe;O(wn,"PortListSorter",1645),$(1648,1,ir,cBe),f.Ne=function(t,i){return lut(u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"PortListSorter/lambda$0$Type",1648),$(1650,1,ir,uBe),f.Ne=function(t,i){return Hyt(u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"PortListSorter/lambda$1$Type",1650),$(1646,1,{},fBe),f.Kb=function(t){return f4(),u(t,12).e},O(wn,"PortListSorter/lambda$2$Type",1646),$(1647,1,{},dBe),f.Kb=function(t){return f4(),u(t,12).g},O(wn,"PortListSorter/lambda$3$Type",1647),$(1649,1,ir,hBe),f.Ne=function(t,i){return Uyn(u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"PortListSorter/lambda$4$Type",1649),$(1651,1,qr,bBe),f.Kf=function(t,i){i3n(u(t,36),i)},O(wn,"PortSideProcessor",1651),$(1652,1,qr,pBe),f.Kf=function(t,i){o4n(u(t,36),i)},O(wn,"ReversedEdgeRestorer",1652),$(1657,1,qr,lZe),f.Kf=function(t,i){Ryn(this,u(t,36),i)},O(wn,"SelfLoopPortRestorer",1657),$(1658,1,{},gBe),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"SelfLoopPortRestorer/lambda$0$Type",1658),$(1659,1,nr,wBe),f.Mb=function(t){return u(t,10).k==(hn(),Ai)},O(wn,"SelfLoopPortRestorer/lambda$1$Type",1659),$(1660,1,nr,mBe),f.Mb=function(t){return Jr(u(t,10),(Je(),Tm))},O(wn,"SelfLoopPortRestorer/lambda$2$Type",1660),$(1661,1,{},yBe),f.Kb=function(t){return u(U(u(t,10),(Je(),Tm)),337)},O(wn,"SelfLoopPortRestorer/lambda$3$Type",1661),$(1662,1,En,yJe),f.Cd=function(t){B_n(this.a,u(t,337))},O(wn,"SelfLoopPortRestorer/lambda$4$Type",1662),$(805,1,En,zfe),f.Cd=function(t){Z_n(u(t,105))},O(wn,"SelfLoopPortRestorer/lambda$5$Type",805),$(1663,1,qr,vBe),f.Kf=function(t,i){Tmn(u(t,36),i)},O(wn,"SelfLoopPostProcessor",1663),$(1664,1,{},_Be),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"SelfLoopPostProcessor/lambda$0$Type",1664),$(1665,1,nr,SBe),f.Mb=function(t){return u(t,10).k==(hn(),Ai)},O(wn,"SelfLoopPostProcessor/lambda$1$Type",1665),$(1666,1,nr,EBe),f.Mb=function(t){return Jr(u(t,10),(Je(),Tm))},O(wn,"SelfLoopPostProcessor/lambda$2$Type",1666),$(1667,1,En,kBe),f.Cd=function(t){Wvn(u(t,10))},O(wn,"SelfLoopPostProcessor/lambda$3$Type",1667),$(1668,1,{},RBe),f.Kb=function(t){return new Lt(null,new Wt(u(t,105).f,1))},O(wn,"SelfLoopPostProcessor/lambda$4$Type",1668),$(1669,1,En,mJe),f.Cd=function(t){bhn(this.a,u(t,340))},O(wn,"SelfLoopPostProcessor/lambda$5$Type",1669),$(1670,1,nr,ABe),f.Mb=function(t){return!!u(t,105).i},O(wn,"SelfLoopPostProcessor/lambda$6$Type",1670),$(1671,1,En,vJe),f.Cd=function(t){bnn(this.a,u(t,105))},O(wn,"SelfLoopPostProcessor/lambda$7$Type",1671),$(1653,1,qr,CBe),f.Kf=function(t,i){O3n(u(t,36),i)},O(wn,"SelfLoopPreProcessor",1653),$(1654,1,{},xBe),f.Kb=function(t){return new Lt(null,new Wt(u(t,105).f,1))},O(wn,"SelfLoopPreProcessor/lambda$0$Type",1654),$(1655,1,{},$Be),f.Kb=function(t){return u(t,340).a},O(wn,"SelfLoopPreProcessor/lambda$1$Type",1655),$(1656,1,En,IBe),f.Cd=function(t){win(u(t,18))},O(wn,"SelfLoopPreProcessor/lambda$2$Type",1656),$(1672,1,qr,oot),f.Kf=function(t,i){__n(this,u(t,36),i)},O(wn,"SelfLoopRouter",1672),$(1673,1,{},TBe),f.Kb=function(t){return new Lt(null,new Wt(u(t,30).a,16))},O(wn,"SelfLoopRouter/lambda$0$Type",1673),$(1674,1,nr,PBe),f.Mb=function(t){return u(t,10).k==(hn(),Ai)},O(wn,"SelfLoopRouter/lambda$1$Type",1674),$(1675,1,nr,OBe),f.Mb=function(t){return Jr(u(t,10),(Je(),Tm))},O(wn,"SelfLoopRouter/lambda$2$Type",1675),$(1676,1,{},NBe),f.Kb=function(t){return u(U(u(t,10),(Je(),Tm)),337)},O(wn,"SelfLoopRouter/lambda$3$Type",1676),$(1677,1,En,Utt),f.Cd=function(t){Cun(this.a,this.b,u(t,337))},O(wn,"SelfLoopRouter/lambda$4$Type",1677),$(1678,1,qr,MBe),f.Kf=function(t,i){Ykn(u(t,36),i)},O(wn,"SemiInteractiveCrossMinProcessor",1678),$(1679,1,nr,DBe),f.Mb=function(t){return u(t,10).k==(hn(),Ai)},O(wn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),$(1680,1,nr,LBe),f.Mb=function(t){return Sst(u(t,10))._b((dt(),Nv))},O(wn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),$(1681,1,ir,jBe),f.Ne=function(t,i){return bgn(u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(wn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),$(1682,1,{},FBe),f.Ve=function(t,i){return Nun(u(t,10),u(i,10))},O(wn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),$(1684,1,qr,BBe),f.Kf=function(t,i){_6n(u(t,36),i)},O(wn,"SortByInputModelProcessor",1684),$(1685,1,nr,HBe),f.Mb=function(t){return u(t,12).g.c.length!=0},O(wn,"SortByInputModelProcessor/lambda$0$Type",1685),$(1686,1,En,kJe),f.Cd=function(t){iSn(this.a,u(t,12))},O(wn,"SortByInputModelProcessor/lambda$1$Type",1686),$(1759,817,{},Pht),f.df=function(t){var i,s,a,c;switch(this.c=t,this.a.g){case 2:i=new it,Ei(Pr(new Lt(null,new Wt(this.c.a.b,16)),new tHe),new Qtt(this,i)),sP(this,new UBe),dl(i,new VBe),i.c.length=0,Ei(Pr(new Lt(null,new Wt(this.c.a.b,16)),new GBe),new AJe(i)),sP(this,new KBe),dl(i,new zBe),i.c.length=0,s=Ort(AJ(Dy(new Lt(null,new Wt(this.c.a.b,16)),new CJe(this))),new qBe),Ei(new Lt(null,new Wt(this.c.a.a,16)),new Ktt(s,i)),sP(this,new JBe),dl(i,new YBe),i.c.length=0;break;case 3:a=new it,sP(this,new WBe),c=Ort(AJ(Dy(new Lt(null,new Wt(this.c.a.b,16)),new RJe(this))),new XBe),Ei(Pr(new Lt(null,new Wt(this.c.a.b,16)),new QBe),new qtt(c,a)),sP(this,new ZBe),dl(a,new eHe),a.c.length=0;break;default:throw Z(new XQe)}},f.b=0,O(qi,"EdgeAwareScanlineConstraintCalculation",1759),$(1760,1,yh,WBe),f.Lb=function(t){return pe(u(t,60).g,154)},f.Fb=function(t){return this===t},f.Mb=function(t){return pe(u(t,60).g,154)},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),$(1761,1,{},RJe),f.Ye=function(t){return HSn(this.a,u(t,60))},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),$(1769,1,tB,Vtt),f.de=function(){M5(this.a,this.b,-1)},f.b=0,O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),$(1771,1,yh,UBe),f.Lb=function(t){return pe(u(t,60).g,154)},f.Fb=function(t){return this===t},f.Mb=function(t){return pe(u(t,60).g,154)},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),$(1772,1,En,VBe),f.Cd=function(t){u(t,380).de()},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),$(1773,1,nr,GBe),f.Mb=function(t){return pe(u(t,60).g,10)},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),$(1775,1,En,AJe),f.Cd=function(t){awn(this.a,u(t,60))},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),$(1774,1,tB,Xtt),f.de=function(){M5(this.b,this.a,-1)},f.a=0,O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),$(1776,1,yh,KBe),f.Lb=function(t){return pe(u(t,60).g,10)},f.Fb=function(t){return this===t},f.Mb=function(t){return pe(u(t,60).g,10)},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),$(1777,1,En,zBe),f.Cd=function(t){u(t,380).de()},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),$(1778,1,{},CJe),f.Ye=function(t){return WSn(this.a,u(t,60))},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),$(1779,1,{},qBe),f.We=function(){return 0},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),$(1762,1,{},XBe),f.We=function(){return 0},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),$(1781,1,En,Ktt),f.Cd=function(t){dcn(this.a,this.b,u(t,316))},f.a=0,O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),$(1780,1,tB,ztt),f.de=function(){zwt(this.a,this.b,-1)},f.b=0,O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),$(1782,1,yh,JBe),f.Lb=function(t){return u(t,60),!0},f.Fb=function(t){return this===t},f.Mb=function(t){return u(t,60),!0},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),$(1783,1,En,YBe),f.Cd=function(t){u(t,380).de()},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),$(1763,1,nr,QBe),f.Mb=function(t){return pe(u(t,60).g,10)},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),$(1765,1,En,qtt),f.Cd=function(t){hcn(this.a,this.b,u(t,60))},f.a=0,O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),$(1764,1,tB,Jtt),f.de=function(){M5(this.b,this.a,-1)},f.a=0,O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),$(1766,1,yh,ZBe),f.Lb=function(t){return u(t,60),!0},f.Fb=function(t){return this===t},f.Mb=function(t){return u(t,60),!0},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),$(1767,1,En,eHe),f.Cd=function(t){u(t,380).de()},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),$(1768,1,nr,tHe),f.Mb=function(t){return pe(u(t,60).g,154)},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),$(1770,1,En,Qtt),f.Cd=function(t){Tpn(this.a,this.b,u(t,60))},O(qi,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),$(1586,1,qr,wit),f.Kf=function(t,i){q6n(this,u(t,36),i)};var dAt;O(qi,"HorizontalGraphCompactor",1586),$(1587,1,{},xJe),f.ff=function(t,i){var s,a,c;return s0e(t,i)||(s=F2(t),a=F2(i),s&&s.k==(hn(),Oi)||a&&a.k==(hn(),Oi))?0:(c=u(U(this.a.a,(Je(),O_)),312),Zin(c,s?s.k:(hn(),co),a?a.k:(hn(),co)))},f.gf=function(t,i){var s,a,c;return s0e(t,i)?1:(s=F2(t),a=F2(i),c=u(U(this.a.a,(Je(),O_)),312),Ybe(c,s?s.k:(hn(),co),a?a.k:(hn(),co)))},O(qi,"HorizontalGraphCompactor/1",1587),$(1588,1,{},nHe),f.ef=function(t,i){return hC(),t.a.i==0},O(qi,"HorizontalGraphCompactor/lambda$0$Type",1588),$(1589,1,{},$Je),f.ef=function(t,i){return Lun(this.a,t,i)},O(qi,"HorizontalGraphCompactor/lambda$1$Type",1589),$(1730,1,{},adt);var hAt,bAt;O(qi,"LGraphToCGraphTransformer",1730),$(1738,1,nr,rHe),f.Mb=function(t){return t!=null},O(qi,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),$(1731,1,{},iHe),f.Kb=function(t){return Cf(),zs(U(u(u(t,60).g,10),(Je(),Nr)))},O(qi,"LGraphToCGraphTransformer/lambda$0$Type",1731),$(1732,1,{},oHe),f.Kb=function(t){return Cf(),mpt(u(u(t,60).g,154))},O(qi,"LGraphToCGraphTransformer/lambda$1$Type",1732),$(1741,1,nr,sHe),f.Mb=function(t){return Cf(),pe(u(t,60).g,10)},O(qi,"LGraphToCGraphTransformer/lambda$10$Type",1741),$(1742,1,En,aHe),f.Cd=function(t){Wun(u(t,60))},O(qi,"LGraphToCGraphTransformer/lambda$11$Type",1742),$(1743,1,nr,lHe),f.Mb=function(t){return Cf(),pe(u(t,60).g,154)},O(qi,"LGraphToCGraphTransformer/lambda$12$Type",1743),$(1747,1,En,cHe),f.Cd=function(t){y0n(u(t,60))},O(qi,"LGraphToCGraphTransformer/lambda$13$Type",1747),$(1744,1,En,IJe),f.Cd=function(t){Krn(this.a,u(t,8))},f.a=0,O(qi,"LGraphToCGraphTransformer/lambda$14$Type",1744),$(1745,1,En,TJe),f.Cd=function(t){qrn(this.a,u(t,116))},f.a=0,O(qi,"LGraphToCGraphTransformer/lambda$15$Type",1745),$(1746,1,En,PJe),f.Cd=function(t){zrn(this.a,u(t,8))},f.a=0,O(qi,"LGraphToCGraphTransformer/lambda$16$Type",1746),$(1748,1,{},uHe),f.Kb=function(t){return Cf(),new Lt(null,new jw(new Sn(kn($i(u(t,10)).a.Kc(),new M))))},O(qi,"LGraphToCGraphTransformer/lambda$17$Type",1748),$(1749,1,nr,fHe),f.Mb=function(t){return Cf(),es(u(t,18))},O(qi,"LGraphToCGraphTransformer/lambda$18$Type",1749),$(1750,1,En,OJe),f.Cd=function(t){cpn(this.a,u(t,18))},O(qi,"LGraphToCGraphTransformer/lambda$19$Type",1750),$(1734,1,En,NJe),f.Cd=function(t){Ddn(this.a,u(t,154))},O(qi,"LGraphToCGraphTransformer/lambda$2$Type",1734),$(1751,1,{},dHe),f.Kb=function(t){return Cf(),new Lt(null,new Wt(u(t,30).a,16))},O(qi,"LGraphToCGraphTransformer/lambda$20$Type",1751),$(1752,1,{},hHe),f.Kb=function(t){return Cf(),new Lt(null,new jw(new Sn(kn($i(u(t,10)).a.Kc(),new M))))},O(qi,"LGraphToCGraphTransformer/lambda$21$Type",1752),$(1753,1,{},bHe),f.Kb=function(t){return Cf(),u(U(u(t,18),(Je(),U0)),15)},O(qi,"LGraphToCGraphTransformer/lambda$22$Type",1753),$(1754,1,nr,pHe),f.Mb=function(t){return eon(u(t,15))},O(qi,"LGraphToCGraphTransformer/lambda$23$Type",1754),$(1755,1,En,MJe),f.Cd=function(t){ISn(this.a,u(t,15))},O(qi,"LGraphToCGraphTransformer/lambda$24$Type",1755),$(1733,1,En,Ztt),f.Cd=function(t){Ohn(this.a,this.b,u(t,154))},O(qi,"LGraphToCGraphTransformer/lambda$3$Type",1733),$(1735,1,{},gHe),f.Kb=function(t){return Cf(),new Lt(null,new Wt(u(t,30).a,16))},O(qi,"LGraphToCGraphTransformer/lambda$4$Type",1735),$(1736,1,{},wHe),f.Kb=function(t){return Cf(),new Lt(null,new jw(new Sn(kn($i(u(t,10)).a.Kc(),new M))))},O(qi,"LGraphToCGraphTransformer/lambda$5$Type",1736),$(1737,1,{},mHe),f.Kb=function(t){return Cf(),u(U(u(t,18),(Je(),U0)),15)},O(qi,"LGraphToCGraphTransformer/lambda$6$Type",1737),$(1739,1,En,DJe),f.Cd=function(t){USn(this.a,u(t,15))},O(qi,"LGraphToCGraphTransformer/lambda$8$Type",1739),$(1740,1,En,ent),f.Cd=function(t){min(this.a,this.b,u(t,154))},O(qi,"LGraphToCGraphTransformer/lambda$9$Type",1740),$(1729,1,{},yHe),f.cf=function(t){var i,s,a,c,d;for(this.a=t,this.d=new nz,this.c=Ne(oke,Zt,125,this.a.a.a.c.length,0,1),this.b=0,s=new J(this.a.a.a);s.a=q&&(ot(d,rt(x)),ge=g.Math.max(ge,ke[x-1]-N),w+=V,ie+=ke[x-1]-ie,N=ke[x-1],V=y[x]),V=g.Math.max(V,y[x]),++x;w+=V}W=g.Math.min(1/ge,1/i.b/w),W>a&&(a=W,s=d)}return s},f.pg=function(){return!1},O(Eh,"MSDCutIndexHeuristic",816),$(1683,1,qr,nWe),f.Kf=function(t,i){QAn(u(t,36),i)},O(Eh,"SingleEdgeGraphWrapper",1683),$(232,22,{3:1,34:1,22:1,232:1},_C);var A_,yA,vA,Av,Wx,C_,_A=jn(Pa,"CenterEdgeLabelPlacementStrategy",232,Vn,Lbn,Fsn),AAt;$(431,22,{3:1,34:1,22:1,431:1},Qhe);var xRe,Une,$Re=jn(Pa,"ConstraintCalculationStrategy",431,Vn,rfn,Bsn),CAt;$(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},Dz),f.dg=function(){return twt(this)},f.qg=function(){return twt(this)};var SO,Ux,IRe,TRe=jn(Pa,"CrossingMinimizationStrategy",322,Vn,Yfn,Hsn),xAt;$(351,22,{3:1,34:1,22:1,351:1},Lz);var PRe,Vne,ZH,ORe=jn(Pa,"CuttingStrategy",351,Vn,Qfn,Wsn),$At;$(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},g8),f.dg=function(){return Gwt(this)},f.qg=function(){return Gwt(this)};var NRe,Gne,SA,Kne,EA,MRe=jn(Pa,"CycleBreakingStrategy",348,Vn,tbn,Usn),IAt;$(428,22,{3:1,34:1,22:1,428:1},Zhe);var eW,DRe,LRe=jn(Pa,"DirectionCongruency",428,Vn,nfn,Vsn),TAt;$(460,22,{3:1,34:1,22:1,460:1},jz);var kA,zne,x_,PAt=jn(Pa,"EdgeConstraint",460,Vn,Zfn,Ysn),OAt;$(283,22,{3:1,34:1,22:1,283:1},SC);var qne,Xne,Jne,Yne,tW,Qne,jRe=jn(Pa,"EdgeLabelSideSelection",283,Vn,Nbn,Qsn),NAt;$(488,22,{3:1,34:1,22:1,488:1},ebe);var nW,FRe,BRe=jn(Pa,"EdgeStraighteningStrategy",488,Vn,ufn,Zsn),MAt;$(281,22,{3:1,34:1,22:1,281:1},EC);var Zne,HRe,WRe,rW,URe,VRe,GRe=jn(Pa,"FixedAlignment",281,Vn,Mbn,Jsn),DAt;$(282,22,{3:1,34:1,22:1,282:1},kC);var KRe,zRe,qRe,XRe,Vx,JRe,YRe=jn(Pa,"GraphCompactionStrategy",282,Vn,Dbn,Gsn),LAt;$(259,22,{3:1,34:1,22:1,259:1},ky);var RA,iW,AA,Lu,Gx,oW,CA,$_,sW,Kx,ere=jn(Pa,"GraphProperties",259,Vn,vgn,Ksn),jAt;$(299,22,{3:1,34:1,22:1,299:1},Fz);var EO,tre,nre,rre=jn(Pa,"GreedySwitchType",299,Vn,edn,zsn),FAt;$(311,22,{3:1,34:1,22:1,311:1},Bz);var R3,kO,I_,BAt=jn(Pa,"InLayerConstraint",311,Vn,tdn,qsn),HAt;$(429,22,{3:1,34:1,22:1,429:1},tbe);var ire,QRe,ZRe=jn(Pa,"InteractiveReferencePoint",429,Vn,tfn,Xsn),WAt,e4e,A3,xm,aW,t4e,n4e,lW,r4e,RO,cW,zx,C3,Qb,ore,uW,ya,i4e,p1,Xa,sre,are,AO,W0,$m,x3,o4e,$3,CO,Cv,gd,rf,lre,T_,Br,Nr,s4e,a4e,l4e,c4e,u4e,cre,fW,dc,Im,ure,I3,qx,Gd,P_,Tm,O_,N_,xA,U0,f4e,fre,dre,T3;$(171,22,{3:1,34:1,22:1,171:1},w8);var Xx,g1,Jx,xv,xO,d4e=jn(Pa,"LayerConstraint",171,Vn,rbn,ean),UAt;$(859,1,Qu,bqe),f.hf=function(t){$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,l_e),""),"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."),S4e),(Vp(),ai)),LRe),Tt((dd(),Qt))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,c_e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(on(),!1)),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,gB),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),x4e),ai),ZRe),Tt(Qt)))),ji(t,gB,iee,L6t),ji(t,gB,px,D6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,u_e),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,f_e),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Knn(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,d_e),""),"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),oo),Ri),Tt(Y0)),oe(re(wt,1),tt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,h_e),""),"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."),D4e),ai),GAe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,b_e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),rt(7)),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,p_e),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,g_e),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,iee),"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)."),_4e),ai),MRe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,zP),xee),"Node Layering Strategy"),"Strategy for node layering."),T4e),ai),OAe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,w_e),xee),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),$4e),ai),d4e),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,m_e),xee),"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."),null),Js),Io),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,y_e),xee),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),rt(-1)),Js),Io),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,oee),hSt),"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."),rt(4)),Js),Io),Tt(Qt)))),ji(t,oee,zP,V6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,see),hSt),"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."),rt(2)),Js),Io),Tt(Qt)))),ji(t,see,zP,K6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,aee),bSt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),I4e),ai),WAe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,lee),bSt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),rt(0)),Js),Io),Tt(Qt)))),ji(t,lee,aee,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,cee),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),rt(xr)),Js),Io),Tt(Qt)))),ji(t,cee,zP,F6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,px),tA),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),v4e),ai),TRe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,v_e),tA),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,uee),tA),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),jo),Wi),Tt(Qt)))),ji(t,uee,$B,c6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,fee),tA),"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),oo),Ri),Tt(Qt)))),ji(t,fee,px,p6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,__e),tA),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),G_),wt),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,S_e),tA),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),G_),wt),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,E_e),tA),"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."),null),Js),Io),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,k_e),tA),"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."),rt(-1)),Js),Io),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,R_e),pSt),"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."),rt(40)),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,dee),pSt),"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."),y4e),ai),rre),Tt(Qt)))),ji(t,dee,px,a6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,wB),"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."),m4e),ai),rre),Tt(Qt)))),ji(t,wB,px,i6t),ji(t,wB,$B,o6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,p_),gSt),"Node Placement Strategy"),"Strategy for node placement."),M4e),ai),LAe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,mB),gSt),"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."),oo),Ri),Tt(Qt)))),ji(t,mB,p_,rCt),ji(t,mB,p_,iCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,hee),wSt),"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."),P4e),ai),BRe),Tt(Qt)))),ji(t,hee,p_,Z6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,bee),wSt),"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."),O4e),ai),GRe),Tt(Qt)))),ji(t,bee,p_,tCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,pee),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),jo),Wi),Tt(Qt)))),ji(t,pee,p_,sCt),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,gee),"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."),ai),Nre),Tt(Zi)))),ji(t,gee,p_,uCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,wee),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),N4e),ai),Nre),Tt(Qt)))),ji(t,wee,p_,cCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,A_e),mSt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),R4e),ai),qAe),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,C_e),mSt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),A4e),ai),XAe),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,yB),"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."),C4e),ai),YAe),Tt(Qt)))),ji(t,yB,qP,A6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,vB),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),jo),Wi),Tt(Qt)))),ji(t,vB,qP,x6t),ji(t,vB,yB,$6t),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,mee),"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),jo),Wi),Tt(Qt)))),ji(t,mee,qP,S6t),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,x_e),Wd),"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."),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,$_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,I_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,T_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,P_e),W_e),"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."),rt(0)),Js),Io),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,O_e),W_e),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),rt(0)),Js),Io),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,N_e),W_e),"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."),rt(0)),Js),Io),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,yee),U_e),N_t),"Tries to further compact components (disconnected sub-graphs)."),!1),oo),Ri),Tt(Qt)))),ji(t,yee,ux,!0),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,M_e),ySt),"Post Compaction Strategy"),vSt),b4e),ai),YRe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,D_e),ySt),"Post Compaction Constraint Calculation"),vSt),h4e),ai),$Re),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,_B),V_e),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,vee),V_e),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),rt(16)),Js),Io),Tt(Qt)))),ji(t,vee,_B,!0),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,_ee),V_e),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),rt(5)),Js),Io),Tt(Qt)))),ji(t,_ee,_B,!0),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Xb),G_e),"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'."),F4e),ai),t6e),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,SB),G_e),"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),jo),Wi),Tt(Qt)))),ji(t,SB,Xb,ECt),ji(t,SB,Xb,kCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,EB),G_e),"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),jo),Wi),Tt(Qt)))),ji(t,EB,Xb,ACt),ji(t,EB,Xb,CCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,gx),_St),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),j4e),ai),ORe),Tt(Qt)))),ji(t,gx,Xb,OCt),ji(t,gx,Xb,NCt),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,See),_St),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),zd),Du),Tt(Qt)))),ji(t,See,gx,$Ct),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Eee),"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."),L4e),Js),Io),Tt(Qt)))),ji(t,Eee,gx,TCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,kB),SSt),"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."),B4e),ai),e6e),Tt(Qt)))),ji(t,kB,Xb,KCt),ji(t,kB,Xb,zCt),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,RB),SSt),"Valid Indices for Wrapping"),null),zd),Du),Tt(Qt)))),ji(t,RB,Xb,UCt),ji(t,RB,Xb,VCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,AB),K_e),"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),oo),Ri),Tt(Qt)))),ji(t,AB,Xb,jCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,CB),K_e),"Distance Penalty When Improving Cuts"),null),2),jo),Wi),Tt(Qt)))),ji(t,CB,Xb,DCt),ji(t,CB,AB,!0),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,kee),K_e),"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),oo),Ri),Tt(Qt)))),ji(t,kee,Xb,BCt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,L_e),$ee),"Edge Label Side Selection"),"Method to decide on edge label sides."),k4e),ai),jRe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,j_e),$ee),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),E4e),ai),_A),Yr(Qt,oe(re(sb,1),Ve,170,0,[ng]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,xB),wx),"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."),w4e),ai),VAe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,F_e),wx),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,B_e),wx),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),oo),Ri),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Ree),wx),"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."),p4e),ai),Mke),Tt(Qt)))),ji(t,Ree,ux,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,H_e),wx),"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."),g4e),ai),MAe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Aee),wx),"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),jo),Wi),Tt(Qt)))),ji(t,Aee,xB,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Cee),wx),"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),jo),Wi),Tt(Qt)))),ji(t,Cee,xB,null),F2t((new pqe,t))};var VAt,GAt,KAt,h4e,zAt,b4e,qAt,p4e,XAt,JAt,YAt,g4e,QAt,ZAt,e6t,w4e,t6t,n6t,r6t,m4e,i6t,o6t,s6t,y4e,a6t,l6t,c6t,u6t,f6t,d6t,h6t,b6t,p6t,g6t,v4e,w6t,_4e,m6t,S4e,y6t,E4e,v6t,k4e,_6t,S6t,E6t,R4e,k6t,A4e,R6t,C4e,A6t,C6t,x6t,$6t,I6t,T6t,P6t,O6t,N6t,M6t,x4e,D6t,L6t,j6t,F6t,B6t,H6t,$4e,W6t,U6t,V6t,G6t,K6t,z6t,q6t,I4e,X6t,T4e,J6t,Y6t,Q6t,P4e,Z6t,eCt,O4e,tCt,nCt,rCt,iCt,oCt,sCt,aCt,lCt,N4e,cCt,uCt,fCt,M4e,dCt,D4e,hCt,bCt,pCt,gCt,wCt,mCt,yCt,vCt,_Ct,SCt,ECt,kCt,RCt,ACt,CCt,xCt,$Ct,ICt,L4e,TCt,PCt,j4e,OCt,NCt,MCt,DCt,LCt,jCt,FCt,BCt,HCt,F4e,WCt,UCt,VCt,GCt,B4e,KCt,zCt;O(Pa,"LayeredMetaDataProvider",859),$(998,1,Qu,pqe),f.hf=function(t){F2t(t)};var xh,hre,dW,Yx,hW,H4e,bW,$v,pW,W4e,U4e,gW,bre,ob,pre,Pm,V4e,$O,gre,G4e,qCt,XCt,JCt,wW,wre,Qx,V0,YCt,su,K4e,z4e,mW,mre,$h,yW,Zb,q4e,X4e,J4e,yre,vre,Y4e,Yp,_re,Q4e,Iv,Z4e,eAe,tAe,vW,Tv,G0,nAe,rAe,Cs,iAe,QCt,yl,_W,oAe,sAe,aAe,w1,K0,SW,lAe,cAe,EW,Om,uAe,Sre,Zx,fAe,Nm,e$,kW,z0,Ere,$A,RW,q0,dAe,hAe,bAe,IA,pAe,ZCt,e5t,t5t,n5t,Mm,Pv,Si,Qp,r5t,Ov,gAe,TA,wAe,Nv,i5t,PA,mAe,P3,o5t,s5t,IO,kre,yAe,TO,Ff,M_,D_,Dm,X0,AW,Mv,Rre,OA,NA,Lm,L_,Are,PO,t$,n$,a5t,l5t,c5t,vAe,u5t,Cre,_Ae,SAe,EAe,kAe,xre,RAe,AAe,CAe,xAe,$re,CW;O(Pa,"LayeredOptions",998),$(999,1,{},rWe),f.sf=function(){var t;return t=new rZe,t},f.tf=function(t){},O(Pa,"LayeredOptions/LayeredFactory",999),$(1391,1,{}),f.a=0;var f5t;O(ga,"ElkSpacings/AbstractSpacingsBuilder",1391),$(792,1391,{},Xwe);var xW,d5t;O(Pa,"LayeredSpacings/LayeredSpacingsBuilder",792),$(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},E2),f.dg=function(){return eyt(this)},f.qg=function(){return eyt(this)};var MA,Ire,DA,$Ae,IAe,TAe,$W,Tre,PAe,OAe=jn(Pa,"LayeringStrategy",265,Vn,Jpn,tan),h5t;$(390,22,{3:1,34:1,22:1,390:1},Hz);var Pre,NAe,IW,MAe=jn(Pa,"LongEdgeOrderingStrategy",390,Vn,ndn,nan),b5t;$(203,22,{3:1,34:1,22:1,203:1},vD);var j_,F_,TW,Ore,Nre=jn(Pa,"NodeFlexibility",203,Vn,fhn,ran),p5t;$(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},m8),f.dg=function(){return Vwt(this)},f.qg=function(){return Vwt(this)};var r$,Mre,Dre,i$,DAe,LAe=jn(Pa,"NodePlacementStrategy",323,Vn,nbn,ian),g5t;$(243,22,{3:1,34:1,22:1,243:1},Ry);var jAe,jm,Dv,OO,FAe,BAe,NO,HAe,PW,OW,WAe=jn(Pa,"NodePromotionStrategy",243,Vn,_gn,oan),w5t;$(284,22,{3:1,34:1,22:1,284:1},_D);var UAe,Zp,Lre,jre,VAe=jn(Pa,"OrderingStrategy",284,Vn,dhn,san),m5t;$(430,22,{3:1,34:1,22:1,430:1},nbe);var Fre,Bre,GAe=jn(Pa,"PortSortingStrategy",430,Vn,ifn,aan),y5t;$(463,22,{3:1,34:1,22:1,463:1},Wz);var hc,al,o$,v5t=jn(Pa,"PortType",463,Vn,rdn,lan),_5t;$(387,22,{3:1,34:1,22:1,387:1},Uz);var KAe,Hre,zAe,qAe=jn(Pa,"SelfLoopDistributionStrategy",387,Vn,idn,can),S5t;$(349,22,{3:1,34:1,22:1,349:1},Vz);var Wre,MO,Ure,XAe=jn(Pa,"SelfLoopOrderingStrategy",349,Vn,odn,uan),E5t;$(312,1,{312:1},Dvt),O(Pa,"Spacings",312),$(350,22,{3:1,34:1,22:1,350:1},Gz);var Vre,JAe,s$,YAe=jn(Pa,"SplineRoutingMode",350,Vn,sdn,fan),k5t;$(352,22,{3:1,34:1,22:1,352:1},Kz);var Gre,QAe,ZAe,e6e=jn(Pa,"ValidifyStrategy",352,Vn,adn,dan),R5t;$(388,22,{3:1,34:1,22:1,388:1},zz);var Lv,Kre,LA,t6e=jn(Pa,"WrappingStrategy",388,Vn,ldn,han),A5t;$(1398,1,fs,sqe),f.rg=function(t){return u(t,36),C5t},f.Kf=function(t,i){G6n(this,u(t,36),i)};var C5t;O(OB,"DepthFirstCycleBreaker",1398),$(793,1,fs,pge),f.rg=function(t){return u(t,36),x5t},f.Kf=function(t,i){Xxn(this,u(t,36),i)},f.sg=function(t){return u(gt(t,uF(this.d,t.c.length)),10)};var x5t;O(OB,"GreedyCycleBreaker",793),$(1401,793,fs,trt),f.sg=function(t){var i,s,a,c;for(c=null,i=xr,a=new J(t);a.a1&&(bt(ht(U(Co((Kt(0,t.c.length),u(t.c[0],10))),(dt(),Pm))))?rmt(t,this.d,u(this,669)):(Gt(),Pi(t,this.d)),ibt(this.e,t))},f.lg=function(t,i,s,a){var c,d,p,w,y,v,x;for(i!=_st(s,t.length)&&(d=t[i-(s?1:-1)],V1e(this.f,d,s?(ls(),al):(ls(),hc))),c=t[i][0],x=!a||c.k==(hn(),Oi),v=Id(t[i]),this.vg(v,x,!1,s),p=0,y=new J(v);y.a"),t0?CX(this.a,t[i-1],t[i]):!s&&i1&&(bt(ht(U(Co((Kt(0,t.c.length),u(t.c[0],10))),(dt(),Pm))))?rmt(t,this.d,this):(Gt(),Pi(t,this.d)),bt(ht(U(Co((Kt(0,t.c.length),u(t.c[0],10))),Pm)))||ibt(this.e,t))},O(Ql,"ModelOrderBarycenterHeuristic",669),$(1866,1,ir,nYe),f.Ne=function(t,i){return G_n(this.a,u(t,10),u(i,10))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ql,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),$(1423,1,fs,wqe),f.rg=function(t){var i;return u(t,36),i=LD(V5t),cr(i,(Mo(),La),(Go(),WH)),i},f.Kf=function(t,i){xun((u(t,36),i))};var V5t;O(Ql,"NoCrossingMinimizer",1423),$(809,413,CSe,Rhe),f.tg=function(t,i,s){var a,c,d,p,w,y,v,x,N,j,W;switch(N=this.g,s.g){case 1:{for(c=0,d=0,x=new J(t.j);x.a1&&(c.j==(ct(),yn)?this.b[t]=!0:c.j==bn&&t>0&&(this.b[t-1]=!0))},f.f=0,O(tb,"AllCrossingsCounter",1861),$(595,1,{},xj),f.b=0,f.d=0,O(tb,"BinaryIndexedTree",595),$(532,1,{},F8);var i6e,MW;O(tb,"CrossingsCounter",532),$(1950,1,ir,rYe),f.Ne=function(t,i){return ecn(this.a,u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(tb,"CrossingsCounter/lambda$0$Type",1950),$(1951,1,ir,iYe),f.Ne=function(t,i){return tcn(this.a,u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(tb,"CrossingsCounter/lambda$1$Type",1951),$(1952,1,ir,oYe),f.Ne=function(t,i){return ncn(this.a,u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(tb,"CrossingsCounter/lambda$2$Type",1952),$(1953,1,ir,sYe),f.Ne=function(t,i){return rcn(this.a,u(t,12),u(i,12))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(tb,"CrossingsCounter/lambda$3$Type",1953),$(1954,1,En,aYe),f.Cd=function(t){rpn(this.a,u(t,12))},O(tb,"CrossingsCounter/lambda$4$Type",1954),$(1955,1,nr,lYe),f.Mb=function(t){return xrn(this.a,u(t,12))},O(tb,"CrossingsCounter/lambda$5$Type",1955),$(1956,1,En,cYe),f.Cd=function(t){Knt(this,t)},O(tb,"CrossingsCounter/lambda$6$Type",1956),$(1957,1,En,rnt),f.Cd=function(t){var i;AR(),Vg(this.b,(i=this.a,u(t,12),i))},O(tb,"CrossingsCounter/lambda$7$Type",1957),$(839,1,yh,ede),f.Lb=function(t){return AR(),Jr(u(t,12),(Je(),dc))},f.Fb=function(t){return this===t},f.Mb=function(t){return AR(),Jr(u(t,12),(Je(),dc))},O(tb,"CrossingsCounter/lambda$8$Type",839),$(1949,1,{},uYe),O(tb,"HyperedgeCrossingsCounter",1949),$(478,1,{34:1,478:1},sot),f.Fd=function(t){return nmn(this,u(t,478))},f.b=0,f.c=0,f.e=0,f.f=0;var D$n=O(tb,"HyperedgeCrossingsCounter/Hyperedge",478);$(374,1,{34:1,374:1},$L),f.Fd=function(t){return g3n(this,u(t,374))},f.b=0,f.c=0;var G5t=O(tb,"HyperedgeCrossingsCounter/HyperedgeCorner",374);$(531,22,{3:1,34:1,22:1,531:1},rbe);var l$,c$,K5t=jn(tb,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Vn,ofn,pan),z5t;$(1425,1,fs,mqe),f.rg=function(t){return u(U(u(t,36),(Je(),Xa)),21).Hc((cs(),Lu))?q5t:null},f.Kf=function(t,i){Cvn(this,u(t,36),i)};var q5t;O(ds,"InteractiveNodePlacer",1425),$(1426,1,fs,yqe),f.rg=function(t){return u(U(u(t,36),(Je(),Xa)),21).Hc((cs(),Lu))?X5t:null},f.Kf=function(t,i){fyn(this,u(t,36),i)};var X5t,DW,LW;O(ds,"LinearSegmentsNodePlacer",1426),$(261,1,{34:1,261:1},Zde),f.Fd=function(t){return Bnn(this,u(t,261))},f.Fb=function(t){var i;return pe(t,261)?(i=u(t,261),this.b==i.b):!1},f.Hb=function(){return this.b},f.Ib=function(){return"ls"+e1(this.e)},f.a=0,f.b=0,f.c=-1,f.d=-1,f.g=0;var J5t=O(ds,"LinearSegmentsNodePlacer/LinearSegment",261);$(1428,1,fs,Tst),f.rg=function(t){return u(U(u(t,36),(Je(),Xa)),21).Hc((cs(),Lu))?Y5t:null},f.Kf=function(t,i){Bxn(this,u(t,36),i)},f.b=0,f.g=0;var Y5t;O(ds,"NetworkSimplexPlacer",1428),$(1447,1,ir,hWe),f.Ne=function(t,i){return xa(u(t,17).a,u(i,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(ds,"NetworkSimplexPlacer/0methodref$compare$Type",1447),$(1449,1,ir,bWe),f.Ne=function(t,i){return xa(u(t,17).a,u(i,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(ds,"NetworkSimplexPlacer/1methodref$compare$Type",1449),$(655,1,{655:1},int);var L$n=O(ds,"NetworkSimplexPlacer/EdgeRep",655);$(412,1,{412:1},Xge),f.b=!1;var j$n=O(ds,"NetworkSimplexPlacer/NodeRep",412);$(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},dZe),O(ds,"NetworkSimplexPlacer/Path",515),$(1429,1,{},pWe),f.Kb=function(t){return u(t,18).d.i.k},O(ds,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),$(1430,1,nr,gWe),f.Mb=function(t){return u(t,273)==(hn(),co)},O(ds,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),$(1431,1,{},wWe),f.Kb=function(t){return u(t,18).d.i},O(ds,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),$(1432,1,nr,fYe),f.Mb=function(t){return Vit(zpt(u(t,10)))},O(ds,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),$(1433,1,nr,mWe),f.Mb=function(t){return jln(u(t,12))},O(ds,"NetworkSimplexPlacer/lambda$0$Type",1433),$(1434,1,En,ont),f.Cd=function(t){yin(this.a,this.b,u(t,12))},O(ds,"NetworkSimplexPlacer/lambda$1$Type",1434),$(1443,1,En,dYe),f.Cd=function(t){GSn(this.a,u(t,18))},O(ds,"NetworkSimplexPlacer/lambda$10$Type",1443),$(1444,1,{},yWe),f.Kb=function(t){return qc(),new Lt(null,new Wt(u(t,30).a,16))},O(ds,"NetworkSimplexPlacer/lambda$11$Type",1444),$(1445,1,En,hYe),f.Cd=function(t){FRn(this.a,u(t,10))},O(ds,"NetworkSimplexPlacer/lambda$12$Type",1445),$(1446,1,{},vWe),f.Kb=function(t){return qc(),rt(u(t,125).e)},O(ds,"NetworkSimplexPlacer/lambda$13$Type",1446),$(1448,1,{},_We),f.Kb=function(t){return qc(),rt(u(t,125).e)},O(ds,"NetworkSimplexPlacer/lambda$15$Type",1448),$(1450,1,nr,SWe),f.Mb=function(t){return qc(),u(t,412).c.k==(hn(),Ai)},O(ds,"NetworkSimplexPlacer/lambda$17$Type",1450),$(1451,1,nr,EWe),f.Mb=function(t){return qc(),u(t,412).c.j.c.length>1},O(ds,"NetworkSimplexPlacer/lambda$18$Type",1451),$(1452,1,En,Fat),f.Cd=function(t){kwn(this.c,this.b,this.d,this.a,u(t,412))},f.c=0,f.d=0,O(ds,"NetworkSimplexPlacer/lambda$19$Type",1452),$(1435,1,{},kWe),f.Kb=function(t){return qc(),new Lt(null,new Wt(u(t,30).a,16))},O(ds,"NetworkSimplexPlacer/lambda$2$Type",1435),$(1453,1,En,bYe),f.Cd=function(t){_in(this.a,u(t,12))},f.a=0,O(ds,"NetworkSimplexPlacer/lambda$20$Type",1453),$(1454,1,{},RWe),f.Kb=function(t){return qc(),new Lt(null,new Wt(u(t,30).a,16))},O(ds,"NetworkSimplexPlacer/lambda$21$Type",1454),$(1455,1,En,pYe),f.Cd=function(t){Oin(this.a,u(t,10))},O(ds,"NetworkSimplexPlacer/lambda$22$Type",1455),$(1456,1,nr,AWe),f.Mb=function(t){return Vit(t)},O(ds,"NetworkSimplexPlacer/lambda$23$Type",1456),$(1457,1,{},CWe),f.Kb=function(t){return qc(),new Lt(null,new Wt(u(t,30).a,16))},O(ds,"NetworkSimplexPlacer/lambda$24$Type",1457),$(1458,1,nr,gYe),f.Mb=function(t){return Wrn(this.a,u(t,10))},O(ds,"NetworkSimplexPlacer/lambda$25$Type",1458),$(1459,1,En,snt),f.Cd=function(t){X_n(this.a,this.b,u(t,10))},O(ds,"NetworkSimplexPlacer/lambda$26$Type",1459),$(1460,1,nr,xWe),f.Mb=function(t){return qc(),!es(u(t,18))},O(ds,"NetworkSimplexPlacer/lambda$27$Type",1460),$(1461,1,nr,$We),f.Mb=function(t){return qc(),!es(u(t,18))},O(ds,"NetworkSimplexPlacer/lambda$28$Type",1461),$(1462,1,{},wYe),f.Ve=function(t,i){return vin(this.a,u(t,30),u(i,30))},O(ds,"NetworkSimplexPlacer/lambda$29$Type",1462),$(1436,1,{},IWe),f.Kb=function(t){return qc(),new Lt(null,new jw(new Sn(kn($i(u(t,10)).a.Kc(),new M))))},O(ds,"NetworkSimplexPlacer/lambda$3$Type",1436),$(1437,1,nr,TWe),f.Mb=function(t){return qc(),Jdn(u(t,18))},O(ds,"NetworkSimplexPlacer/lambda$4$Type",1437),$(1438,1,En,mYe),f.Cd=function(t){qAn(this.a,u(t,18))},O(ds,"NetworkSimplexPlacer/lambda$5$Type",1438),$(1439,1,{},PWe),f.Kb=function(t){return qc(),new Lt(null,new Wt(u(t,30).a,16))},O(ds,"NetworkSimplexPlacer/lambda$6$Type",1439),$(1440,1,nr,OWe),f.Mb=function(t){return qc(),u(t,10).k==(hn(),Ai)},O(ds,"NetworkSimplexPlacer/lambda$7$Type",1440),$(1441,1,{},NWe),f.Kb=function(t){return qc(),new Lt(null,new jw(new Sn(kn(Wb(u(t,10)).a.Kc(),new M))))},O(ds,"NetworkSimplexPlacer/lambda$8$Type",1441),$(1442,1,nr,MWe),f.Mb=function(t){return qc(),Lln(u(t,18))},O(ds,"NetworkSimplexPlacer/lambda$9$Type",1442),$(1424,1,fs,vqe),f.rg=function(t){return u(U(u(t,36),(Je(),Xa)),21).Hc((cs(),Lu))?Q5t:null},f.Kf=function(t,i){x6n(u(t,36),i)};var Q5t;O(ds,"SimpleNodePlacer",1424),$(185,1,{185:1},o_),f.Ib=function(){var t;return t="",this.c==(uh(),Fm)?t+=f3:this.c==eg&&(t+=u3),this.o==(xd(),J0)?t+=DZ:this.o==Kd?t+="UP":t+="BALANCED",t},O(l1,"BKAlignedLayout",185),$(523,22,{3:1,34:1,22:1,523:1},ibe);var eg,Fm,Z5t=jn(l1,"BKAlignedLayout/HDirection",523,Vn,afn,gan),ext;$(522,22,{3:1,34:1,22:1,522:1},obe);var J0,Kd,txt=jn(l1,"BKAlignedLayout/VDirection",522,Vn,lfn,wan),nxt;$(1699,1,{},ant),O(l1,"BKAligner",1699),$(1702,1,{},m1t),O(l1,"BKCompactor",1702),$(663,1,{663:1},DWe),f.a=0,O(l1,"BKCompactor/ClassEdge",663),$(467,1,{467:1},cZe),f.a=null,f.b=0,O(l1,"BKCompactor/ClassNode",467),$(1427,1,fs,fnt),f.rg=function(t){return u(U(u(t,36),(Je(),Xa)),21).Hc((cs(),Lu))?rxt:null},f.Kf=function(t,i){i$n(this,u(t,36),i)},f.d=!1;var rxt;O(l1,"BKNodePlacer",1427),$(1700,1,{},LWe),f.d=0,O(l1,"NeighborhoodInformation",1700),$(1701,1,ir,yYe),f.Ne=function(t,i){return Ppn(this,u(t,42),u(i,42))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(l1,"NeighborhoodInformation/NeighborComparator",1701),$(823,1,{}),O(l1,"ThresholdStrategy",823),$(1825,823,{},uZe),f.wg=function(t,i,s){return this.a.o==(xd(),Kd)?si:Ki},f.xg=function(){},O(l1,"ThresholdStrategy/NullThresholdStrategy",1825),$(587,1,{587:1},dnt),f.c=!1,f.d=!1,O(l1,"ThresholdStrategy/Postprocessable",587),$(1826,823,{},fZe),f.wg=function(t,i,s){var a,c,d;return c=i==s,a=this.a.a[s.p]==i,c||a?(d=t,this.a.c==(uh(),Fm)?(c&&(d=MQ(this,i,!0)),!isNaN(d)&&!isFinite(d)&&a&&(d=MQ(this,s,!1))):(c&&(d=MQ(this,i,!0)),!isNaN(d)&&!isFinite(d)&&a&&(d=MQ(this,s,!1))),d):t},f.xg=function(){for(var t,i,s,a,c;this.d.b!=0;)c=u(Efn(this.d),587),a=Vyt(this,c),a.a&&(t=a.a,s=bt(this.a.f[this.a.g[c.b.p].p]),!(!s&&!es(t)&&t.c.i.c==t.d.i.c)&&(i=Xwt(this,c),i||Grn(this.e,c)));for(;this.e.a.c.length!=0;)Xwt(this,u(Jbt(this.e),587))},O(l1,"ThresholdStrategy/SimpleThresholdStrategy",1826),$(645,1,{645:1,188:1,196:1},jWe),f.dg=function(){return obt(this)},f.qg=function(){return obt(this)};var zre;O(Nee,"EdgeRouterFactory",645),$(1485,1,fs,_qe),f.rg=function(t){return pRn(u(t,36))},f.Kf=function(t,i){N6n(u(t,36),i)};var ixt,oxt,sxt,axt,lxt,o6e,cxt,uxt;O(Nee,"OrthogonalEdgeRouter",1485),$(1478,1,fs,unt),f.rg=function(t){return Lvn(u(t,36))},f.Kf=function(t,i){ixn(this,u(t,36),i)};var fxt,dxt,hxt,bxt,LO,pxt;O(Nee,"PolylineEdgeRouter",1478),$(1479,1,yh,BWe),f.Lb=function(t){return K0e(u(t,10))},f.Fb=function(t){return this===t},f.Mb=function(t){return K0e(u(t,10))},O(Nee,"PolylineEdgeRouter/1",1479),$(1872,1,nr,HWe),f.Mb=function(t){return u(t,132).c==(ad(),m1)},O(hd,"HyperEdgeCycleDetector/lambda$0$Type",1872),$(1873,1,{},WWe),f.Ze=function(t){return u(t,132).d},O(hd,"HyperEdgeCycleDetector/lambda$1$Type",1873),$(1874,1,nr,UWe),f.Mb=function(t){return u(t,132).c==(ad(),m1)},O(hd,"HyperEdgeCycleDetector/lambda$2$Type",1874),$(1875,1,{},VWe),f.Ze=function(t){return u(t,132).d},O(hd,"HyperEdgeCycleDetector/lambda$3$Type",1875),$(1876,1,{},GWe),f.Ze=function(t){return u(t,132).d},O(hd,"HyperEdgeCycleDetector/lambda$4$Type",1876),$(1877,1,{},FWe),f.Ze=function(t){return u(t,132).d},O(hd,"HyperEdgeCycleDetector/lambda$5$Type",1877),$(118,1,{34:1,118:1},x7),f.Fd=function(t){return Hnn(this,u(t,118))},f.Fb=function(t){var i;return pe(t,118)?(i=u(t,118),this.g==i.g):!1},f.Hb=function(){return this.g},f.Ib=function(){var t,i,s,a;for(t=new Kc("{"),a=new J(this.n);a.a"+this.b+" ("+son(this.c)+")"},f.d=0,O(hd,"HyperEdgeSegmentDependency",132),$(528,22,{3:1,34:1,22:1,528:1},sbe);var m1,jv,gxt=jn(hd,"HyperEdgeSegmentDependency/DependencyType",528,Vn,cfn,man),wxt;$(1878,1,{},vYe),O(hd,"HyperEdgeSegmentSplitter",1878),$(1879,1,{},het),f.a=0,f.b=0,O(hd,"HyperEdgeSegmentSplitter/AreaRating",1879),$(339,1,{339:1},Mq),f.a=0,f.b=0,f.c=0,O(hd,"HyperEdgeSegmentSplitter/FreeArea",339),$(1880,1,ir,KWe),f.Ne=function(t,i){return ssn(u(t,118),u(i,118))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(hd,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),$(1881,1,En,Bat),f.Cd=function(t){Nhn(this.a,this.d,this.c,this.b,u(t,118))},f.b=0,O(hd,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),$(1882,1,{},zWe),f.Kb=function(t){return new Lt(null,new Wt(u(t,118).e,16))},O(hd,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),$(1883,1,{},qWe),f.Kb=function(t){return new Lt(null,new Wt(u(t,118).j,16))},O(hd,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),$(1884,1,{},XWe),f.Ye=function(t){return Re(Oe(t))},O(hd,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),$(664,1,{},sX),f.a=0,f.b=0,f.c=0,O(hd,"OrthogonalRoutingGenerator",664),$(1703,1,{},JWe),f.Kb=function(t){return new Lt(null,new Wt(u(t,118).e,16))},O(hd,"OrthogonalRoutingGenerator/lambda$0$Type",1703),$(1704,1,{},YWe),f.Kb=function(t){return new Lt(null,new Wt(u(t,118).j,16))},O(hd,"OrthogonalRoutingGenerator/lambda$1$Type",1704),$(670,1,{}),O(Mee,"BaseRoutingDirectionStrategy",670),$(1870,670,{},pZe),f.yg=function(t,i,s){var a,c,d,p,w,y,v,x,N,j,W,V,q;if(!(t.r&&!t.q))for(x=i+t.o*s,v=new J(t.n);v.a_h&&(d=x,c=t,a=new Xe(N,d),sr(p.a,a),um(this,p,c,a,!1),j=t.r,j&&(W=Re(Oe(Tu(j.e,0))),a=new Xe(W,d),sr(p.a,a),um(this,p,c,a,!1),d=i+j.o*s,c=j,a=new Xe(W,d),sr(p.a,a),um(this,p,c,a,!1)),a=new Xe(q,d),sr(p.a,a),um(this,p,c,a,!1)))},f.zg=function(t){return t.i.n.a+t.n.a+t.a.a},f.Ag=function(){return ct(),Mn},f.Bg=function(){return ct(),dn},O(Mee,"NorthToSouthRoutingStrategy",1870),$(1871,670,{},gZe),f.yg=function(t,i,s){var a,c,d,p,w,y,v,x,N,j,W,V,q;if(!(t.r&&!t.q))for(x=i-t.o*s,v=new J(t.n);v.a_h&&(d=x,c=t,a=new Xe(N,d),sr(p.a,a),um(this,p,c,a,!1),j=t.r,j&&(W=Re(Oe(Tu(j.e,0))),a=new Xe(W,d),sr(p.a,a),um(this,p,c,a,!1),d=i-j.o*s,c=j,a=new Xe(W,d),sr(p.a,a),um(this,p,c,a,!1)),a=new Xe(q,d),sr(p.a,a),um(this,p,c,a,!1)))},f.zg=function(t){return t.i.n.a+t.n.a+t.a.a},f.Ag=function(){return ct(),dn},f.Bg=function(){return ct(),Mn},O(Mee,"SouthToNorthRoutingStrategy",1871),$(1869,670,{},wZe),f.yg=function(t,i,s){var a,c,d,p,w,y,v,x,N,j,W,V,q;if(!(t.r&&!t.q))for(x=i+t.o*s,v=new J(t.n);v.a_h&&(d=x,c=t,a=new Xe(d,N),sr(p.a,a),um(this,p,c,a,!0),j=t.r,j&&(W=Re(Oe(Tu(j.e,0))),a=new Xe(d,W),sr(p.a,a),um(this,p,c,a,!0),d=i+j.o*s,c=j,a=new Xe(d,W),sr(p.a,a),um(this,p,c,a,!0)),a=new Xe(d,q),sr(p.a,a),um(this,p,c,a,!0)))},f.zg=function(t){return t.i.n.b+t.n.b+t.a.b},f.Ag=function(){return ct(),yn},f.Bg=function(){return ct(),bn},O(Mee,"WestToEastRoutingStrategy",1869),$(828,1,{},Vve),f.Ib=function(){return e1(this.a)},f.b=0,f.c=!1,f.d=!1,f.f=0,O(bv,"NubSpline",828),$(418,1,{418:1},xmt,mlt),O(bv,"NubSpline/PolarCP",418),$(1480,1,fs,u1t),f.rg=function(t){return A2n(u(t,36))},f.Kf=function(t,i){Exn(this,u(t,36),i)};var mxt,yxt,vxt,_xt,Sxt;O(bv,"SplineEdgeRouter",1480),$(274,1,{274:1},QL),f.Ib=function(){return this.a+" ->("+this.c+") "+this.b},f.c=0,O(bv,"SplineEdgeRouter/Dependency",274),$(465,22,{3:1,34:1,22:1,465:1},abe);var y1,B_,Ext=jn(bv,"SplineEdgeRouter/SideToProcess",465,Vn,pfn,yan),kxt;$(1481,1,nr,QWe),f.Mb=function(t){return K5(),!u(t,131).o},O(bv,"SplineEdgeRouter/lambda$0$Type",1481),$(1482,1,{},ZWe),f.Ze=function(t){return K5(),u(t,131).v+1},O(bv,"SplineEdgeRouter/lambda$1$Type",1482),$(1483,1,En,hnt),f.Cd=function(t){Hln(this.a,this.b,u(t,42))},O(bv,"SplineEdgeRouter/lambda$2$Type",1483),$(1484,1,En,bnt),f.Cd=function(t){Wln(this.a,this.b,u(t,42))},O(bv,"SplineEdgeRouter/lambda$3$Type",1484),$(131,1,{34:1,131:1},W0t,Jve),f.Fd=function(t){return Vnn(this,u(t,131))},f.b=0,f.e=!1,f.f=0,f.g=0,f.j=!1,f.k=!1,f.n=0,f.o=!1,f.p=!1,f.q=!1,f.s=0,f.u=0,f.v=0,f.F=0,O(bv,"SplineSegment",131),$(468,1,{468:1},eUe),f.a=0,f.b=!1,f.c=!1,f.d=!1,f.e=!1,f.f=0,O(bv,"SplineSegment/EdgeInformation",468),$(1198,1,{},tUe),O(Yb,z2e,1198),$(1199,1,ir,nUe),f.Ne=function(t,i){return lEn(u(t,121),u(i,121))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Yb,j_t,1199),$(1197,1,{},Iet),O(Yb,"MrTree",1197),$(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},SD),f.dg=function(){return cwt(this)},f.qg=function(){return cwt(this)};var jW,u$,f$,d$,s6e=jn(Yb,"TreeLayoutPhases",405,Vn,whn,van),Rxt;$(1112,205,P0,iot),f.rf=function(t,i){var s,a,c,d,p,w,y,v;for(bt(ht(Ge(t,(ba(),T6e))))||e7((s=new Z6((Aw(),new mw(t))),s)),p=i.eh(jee),p.Ug("build tGraph",1),w=(y=new c7,Ms(y,t),Ue(y,(Gr(),b$),t),v=new Dn,eAn(t,y,v),yAn(t,y,v),y),p.Vg(),p=i.eh(jee),p.Ug("Split graph",1),d=sAn(this.a,w),p.Vg(),c=new J(d);c.a"+h0(this.c):"e_"+zr(this)},O(mx,"TEdge",65),$(121,137,{3:1,121:1,96:1,137:1},c7),f.Ib=function(){var t,i,s,a,c;for(c=null,a=Fn(this.b,0);a.b!=a.d.c;)s=u(Ln(a),40),c+=(s.c==null||s.c.length==0?"n_"+s.g:"n_"+s.c)+` +`;for(i=Fn(this.a,0);i.b!=i.d.c;)t=u(Ln(i),65),c+=(t.b&&t.c?h0(t.b)+"->"+h0(t.c):"e_"+zr(t))+` +`;return c};var F$n=O(mx,"TGraph",121);$(643,508,{3:1,508:1,643:1,96:1,137:1}),O(mx,"TShape",643),$(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},jJ),f.Ib=function(){return h0(this)};var FW=O(mx,"TNode",40);$(236,1,Jh,Ab),f.Jc=function(t){xo(this,t)},f.Kc=function(){var t;return t=Fn(this.a.d,0),new y2(t)},O(mx,"TNode/2",236),$(329,1,ho,y2),f.Nb=function(t){Ao(this,t)},f.Pb=function(){return u(Ln(this.a),65).c},f.Ob=function(){return i8(this.a)},f.Qb=function(){dJ(this.a)},O(mx,"TNode/2/1",329),$(1923,1,qr,cUe),f.Kf=function(t,i){Zxn(this,u(t,121),i)},O(Ka,"CompactionProcessor",1923),$(1924,1,ir,RYe),f.Ne=function(t,i){return Bgn(this.a,u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$0$Type",1924),$(1925,1,nr,gnt),f.Mb=function(t){return Kun(this.b,this.a,u(t,42))},f.a=0,f.b=0,O(Ka,"CompactionProcessor/lambda$1$Type",1925),$(1934,1,ir,uUe),f.Ne=function(t,i){return Lcn(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$10$Type",1934),$(1935,1,ir,fUe),f.Ne=function(t,i){return Yin(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$11$Type",1935),$(1936,1,ir,dUe),f.Ne=function(t,i){return jcn(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$12$Type",1936),$(1926,1,nr,AYe),f.Mb=function(t){return Nin(this.a,u(t,42))},f.a=0,O(Ka,"CompactionProcessor/lambda$2$Type",1926),$(1927,1,nr,CYe),f.Mb=function(t){return Min(this.a,u(t,42))},f.a=0,O(Ka,"CompactionProcessor/lambda$3$Type",1927),$(1928,1,nr,hUe),f.Mb=function(t){return u(t,40).c.indexOf(MB)==-1},O(Ka,"CompactionProcessor/lambda$4$Type",1928),$(1929,1,{},xYe),f.Kb=function(t){return qdn(this.a,u(t,40))},f.a=0,O(Ka,"CompactionProcessor/lambda$5$Type",1929),$(1930,1,{},$Ye),f.Kb=function(t){return npn(this.a,u(t,40))},f.a=0,O(Ka,"CompactionProcessor/lambda$6$Type",1930),$(1931,1,ir,IYe),f.Ne=function(t,i){return hbn(this.a,u(t,240),u(i,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$7$Type",1931),$(1932,1,ir,TYe),f.Ne=function(t,i){return bbn(this.a,u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$8$Type",1932),$(1933,1,ir,bUe),f.Ne=function(t,i){return Qin(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Ka,"CompactionProcessor/lambda$9$Type",1933),$(1921,1,qr,pUe),f.Kf=function(t,i){XRn(u(t,121),i)},O(Ka,"DirectionProcessor",1921),$(1913,1,qr,rot),f.Kf=function(t,i){wAn(this,u(t,121),i)},O(Ka,"FanProcessor",1913),$(1937,1,qr,gUe),f.Kf=function(t,i){LRn(u(t,121),i)},O(Ka,"GraphBoundsProcessor",1937),$(1938,1,{},wUe),f.Ye=function(t){return u(t,40).e.a},O(Ka,"GraphBoundsProcessor/lambda$0$Type",1938),$(1939,1,{},mUe),f.Ye=function(t){return u(t,40).e.b},O(Ka,"GraphBoundsProcessor/lambda$1$Type",1939),$(1940,1,{},yUe),f.Ye=function(t){return wrn(u(t,40))},O(Ka,"GraphBoundsProcessor/lambda$2$Type",1940),$(1941,1,{},vUe),f.Ye=function(t){return grn(u(t,40))},O(Ka,"GraphBoundsProcessor/lambda$3$Type",1941),$(262,22,{3:1,34:1,22:1,262:1,196:1},Cw),f.dg=function(){switch(this.g){case 0:return new TZe;case 1:return new rot;case 2:return new IZe;case 3:return new RUe;case 4:return new SUe;case 8:return new _Ue;case 5:return new pUe;case 6:return new CUe;case 7:return new cUe;case 9:return new gUe;case 10:return new xUe;default:throw Z(new un(eee+(this.f!=null?this.f:""+this.g)))}};var a6e,l6e,c6e,u6e,f6e,d6e,h6e,b6e,p6e,g6e,qre,B$n=jn(Ka,tee,262,Vn,Yht,_an),Axt;$(1920,1,qr,_Ue),f.Kf=function(t,i){J5n(u(t,121),i)},O(Ka,"LevelCoordinatesProcessor",1920),$(1918,1,qr,SUe),f.Kf=function(t,i){wkn(this,u(t,121),i)},f.a=0,O(Ka,"LevelHeightProcessor",1918),$(1919,1,Jh,EUe),f.Jc=function(t){xo(this,t)},f.Kc=function(){return Gt(),wR(),pA},O(Ka,"LevelHeightProcessor/1",1919),$(1914,1,qr,IZe),f.Kf=function(t,i){TRn(this,u(t,121),i)},O(Ka,"LevelProcessor",1914),$(1915,1,nr,kUe),f.Mb=function(t){return bt(ht(U(u(t,40),(Gr(),v1))))},O(Ka,"LevelProcessor/lambda$0$Type",1915),$(1916,1,qr,RUe),f.Kf=function(t,i){bSn(this,u(t,121),i)},f.a=0,O(Ka,"NeighborsProcessor",1916),$(1917,1,Jh,AUe),f.Jc=function(t){xo(this,t)},f.Kc=function(){return Gt(),wR(),pA},O(Ka,"NeighborsProcessor/1",1917),$(1922,1,qr,CUe),f.Kf=function(t,i){gAn(this,u(t,121),i)},f.a=0,O(Ka,"NodePositionProcessor",1922),$(1912,1,qr,TZe),f.Kf=function(t,i){Q6n(this,u(t,121),i)},O(Ka,"RootProcessor",1912),$(1942,1,qr,xUe),f.Kf=function(t,i){qmn(u(t,121),i)},O(Ka,"Untreeifyer",1942),$(392,22,{3:1,34:1,22:1,392:1},Jz);var jO,Xre,w6e,m6e=jn(JP,"EdgeRoutingMode",392,Vn,udn,San),Cxt,FO,jA,Jre,y6e,v6e,Yre,Qre,_6e,Zre,S6e,eie,h$,tie,BW,HW,Bf,wd,FA,b$,p$,tg,E6e,xxt,nie,v1,BO,HO;$(862,1,Qu,Sqe),f.hf=function(t){$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,ISe),""),ISt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(on(),!1)),(Vp(),oo)),Ri),Tt((dd(),Qt))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,TSe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,PSe),""),"Tree Level"),"The index for the tree level the node is in"),rt(0)),Js),Io),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,OSe),""),ISt),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),rt(-1)),Js),Io),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,NSe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),A6e),ai),j6e),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,MSe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),k6e),ai),m6e),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,DSe),""),"Search Order"),"Which search order to use when computing a spanning tree."),R6e),ai),B6e),Tt(Qt)))),y2t((new Rqe,t))};var $xt,Ixt,Txt,k6e,Pxt,Oxt,R6e,Nxt,Mxt,A6e;O(JP,"MrTreeMetaDataProvider",862),$(1006,1,Qu,Rqe),f.hf=function(t){y2t(t)};var Dxt,C6e,x6e,Bm,$6e,I6e,rie,Lxt,jxt,Fxt,Bxt,Hxt,Wxt,Uxt,T6e,P6e,O6e,Vxt,H_,WW,N6e,Gxt,M6e,iie,Kxt,zxt,qxt,D6e,Xxt,Ih,L6e;O(JP,"MrTreeOptions",1006),$(1007,1,{},$Ue),f.sf=function(){var t;return t=new iot,t},f.tf=function(t){},O(JP,"MrTreeOptions/MrtreeFactory",1007),$(353,22,{3:1,34:1,22:1,353:1},ED);var oie,UW,sie,aie,j6e=jn(JP,"OrderWeighting",353,Vn,mhn,Ean),Jxt;$(433,22,{3:1,34:1,22:1,433:1},lbe);var F6e,lie,B6e=jn(JP,"TreeifyingOrder",433,Vn,hfn,kan),Yxt;$(1486,1,fs,Aqe),f.rg=function(t){return u(t,121),Qxt},f.Kf=function(t,i){xgn(this,u(t,121),i)};var Qxt;O("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),$(1487,1,fs,Cqe),f.rg=function(t){return u(t,121),Zxt},f.Kf=function(t,i){MRn(this,u(t,121),i)};var Zxt;O(nA,"NodeOrderer",1487),$(1494,1,{},ttn),f.td=function(t){return ust(t)},O(nA,"NodeOrderer/0methodref$lambda$6$Type",1494),$(1488,1,nr,GUe),f.Mb=function(t){return UE(),bt(ht(U(u(t,40),(Gr(),v1))))},O(nA,"NodeOrderer/lambda$0$Type",1488),$(1489,1,nr,KUe),f.Mb=function(t){return UE(),u(U(u(t,40),(ba(),H_)),17).a<0},O(nA,"NodeOrderer/lambda$1$Type",1489),$(1490,1,nr,OYe),f.Mb=function(t){return rgn(this.a,u(t,40))},O(nA,"NodeOrderer/lambda$2$Type",1490),$(1491,1,nr,PYe),f.Mb=function(t){return Ydn(this.a,u(t,40))},O(nA,"NodeOrderer/lambda$3$Type",1491),$(1492,1,ir,zUe),f.Ne=function(t,i){return Apn(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(nA,"NodeOrderer/lambda$4$Type",1492),$(1493,1,nr,qUe),f.Mb=function(t){return UE(),u(U(u(t,40),(Gr(),Qre)),17).a!=0},O(nA,"NodeOrderer/lambda$5$Type",1493),$(1495,1,fs,kqe),f.rg=function(t){return u(t,121),e$t},f.Kf=function(t,i){U4n(this,u(t,121),i)},f.b=0;var e$t;O("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),$(1496,1,fs,Eqe),f.rg=function(t){return u(t,121),t$t},f.Kf=function(t,i){R4n(u(t,121),i)};var t$t,H$n=O(Fc,"EdgeRouter",1496);$(1498,1,ir,VUe),f.Ne=function(t,i){return xa(u(t,17).a,u(i,17).a)},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/0methodref$compare$Type",1498),$(1503,1,{},TUe),f.Ye=function(t){return Re(Oe(t))},O(Fc,"EdgeRouter/1methodref$doubleValue$Type",1503),$(1505,1,ir,PUe),f.Ne=function(t,i){return Hr(Re(Oe(t)),Re(Oe(i)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/2methodref$compare$Type",1505),$(1507,1,ir,OUe),f.Ne=function(t,i){return Hr(Re(Oe(t)),Re(Oe(i)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/3methodref$compare$Type",1507),$(1509,1,{},IUe),f.Ye=function(t){return Re(Oe(t))},O(Fc,"EdgeRouter/4methodref$doubleValue$Type",1509),$(1511,1,ir,NUe),f.Ne=function(t,i){return Hr(Re(Oe(t)),Re(Oe(i)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/5methodref$compare$Type",1511),$(1513,1,ir,MUe),f.Ne=function(t,i){return Hr(Re(Oe(t)),Re(Oe(i)))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/6methodref$compare$Type",1513),$(1497,1,{},DUe),f.Kb=function(t){return jb(),u(U(u(t,40),(ba(),Ih)),17)},O(Fc,"EdgeRouter/lambda$0$Type",1497),$(1508,1,{},LUe),f.Kb=function(t){return fon(u(t,40))},O(Fc,"EdgeRouter/lambda$11$Type",1508),$(1510,1,{},wnt),f.Kb=function(t){return Fln(this.b,this.a,u(t,40))},f.a=0,f.b=0,O(Fc,"EdgeRouter/lambda$13$Type",1510),$(1512,1,{},mnt),f.Kb=function(t){return don(this.b,this.a,u(t,40))},f.a=0,f.b=0,O(Fc,"EdgeRouter/lambda$15$Type",1512),$(1514,1,ir,jUe),f.Ne=function(t,i){return kmn(u(t,65),u(i,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/lambda$17$Type",1514),$(1515,1,ir,FUe),f.Ne=function(t,i){return Rmn(u(t,65),u(i,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/lambda$18$Type",1515),$(1516,1,ir,BUe),f.Ne=function(t,i){return Cmn(u(t,65),u(i,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/lambda$19$Type",1516),$(1499,1,nr,NYe),f.Mb=function(t){return xfn(this.a,u(t,40))},f.a=0,O(Fc,"EdgeRouter/lambda$2$Type",1499),$(1517,1,ir,HUe),f.Ne=function(t,i){return Amn(u(t,65),u(i,65))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/lambda$20$Type",1517),$(1500,1,ir,WUe),f.Ne=function(t,i){return Rln(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/lambda$3$Type",1500),$(1501,1,ir,UUe),f.Ne=function(t,i){return Aln(u(t,40),u(i,40))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"EdgeRouter/lambda$4$Type",1501),$(1502,1,{},XUe),f.Kb=function(t){return hon(u(t,40))},O(Fc,"EdgeRouter/lambda$5$Type",1502),$(1504,1,{},ynt),f.Kb=function(t){return Bln(this.b,this.a,u(t,40))},f.a=0,f.b=0,O(Fc,"EdgeRouter/lambda$7$Type",1504),$(1506,1,{},vnt),f.Kb=function(t){return bon(this.b,this.a,u(t,40))},f.a=0,f.b=0,O(Fc,"EdgeRouter/lambda$9$Type",1506),$(675,1,{675:1},Qgt),f.e=0,f.f=!1,f.g=!1,O(Fc,"MultiLevelEdgeNodeNodeGap",675),$(1943,1,ir,JUe),f.Ne=function(t,i){return jfn(u(t,240),u(i,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),$(1944,1,ir,YUe),f.Ne=function(t,i){return Ffn(u(t,240),u(i,240))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(Fc,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var W_;$(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},cbe),f.dg=function(){return jpt(this)},f.qg=function(){return jpt(this)};var VW,U_,H6e=jn(LSe,"RadialLayoutPhases",501,Vn,sfn,Ran),n$t;$(1113,205,P0,$et),f.rf=function(t,i){var s,a,c,d,p,w;if(s=Emt(this,t),i.Ug("Radial layout",s.c.length),bt(ht(Ge(t,(n1(),Q6e))))||e7((a=new Z6((Aw(),new mw(t))),a)),w=$2n(t),Lr(t,(D2(),W_),w),!w)throw Z(new un("The given graph is not a tree!"));for(c=Re(Oe(Ge(t,zW))),c==0&&(c=rwt(t)),Lr(t,zW,c),p=new J(Emt(this,t));p.a=3)for(Ke=u(we(ke,0),27),lt=u(we(ke,1),27),d=0;d+2=Ke.f+lt.f+x||lt.f>=He.f+Ke.f+x){Pt=!0;break}else++d;else Pt=!0;if(!Pt){for(j=ke.i,w=new vn(ke);w.e!=w.i.gc();)p=u(Rn(w),27),Lr(p,(br(),t9),rt(j)),--j;Zyt(t,new lE),i.Vg();return}for(s=(X8(this.a),od(this.a,(Qj(),UO),u(Ge(t,CCe),188)),od(this.a,qW,u(Ge(t,_Ce),188)),od(this.a,vie,u(Ge(t,kCe),188)),Cbe(this.a,(tn=new Li,cr(tn,UO,(cF(),Eie)),cr(tn,qW,Sie),bt(ht(Ge(t,yCe)))&&cr(tn,UO,_ie),tn)),_P(this.a,t)),v=1/s.c.length,V=new J(s);V.a0&&lpt((fn(i-1,t.length),t.charCodeAt(i-1)),X_t);)--i;if(a>=i)throw Z(new un("The given string does not contain any numbers."));if(c=av((So(a,i,t.length),t.substr(a,i-a)),`,|;|\r| +`),c.length!=2)throw Z(new un("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=ev(tv(c[0])),this.b=ev(tv(c[1]))}catch(d){throw d=ci(d),pe(d,130)?(s=d,Z(new un(J_t+s))):Z(d)}},f.Ib=function(){return"("+this.a+","+this.b+")"},f.a=0,f.b=0;var ao=O(GP,"KVector",8);$(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Ul,JM,Cit),f.Pc=function(){return G1n(this)},f.cg=function(t){var i,s,a,c,d,p;a=av(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),zc(this);try{for(s=0,d=0,c=0,p=0;s0&&(d%2==0?c=ev(a[s]):p=ev(a[s]),d>0&&d%2!=0&&sr(this,new Xe(c,p)),++d),++s}catch(w){throw w=ci(w),pe(w,130)?(i=w,Z(new un("The given string does not match the expected format for vectors."+i))):Z(w)}},f.Ib=function(){var t,i,s;for(t=new Kc("("),i=Fn(this,0);i.b!=i.d.c;)s=u(Ln(i),8),lr(t,s.a+","+s.b),i.b!=i.d.c&&(t.a+="; ");return(t.a+=")",t).a};var u5e=O(GP,"KVectorChain",75);$(255,22,{3:1,34:1,22:1,255:1},RC);var Uie,iU,oU,qO,XO,sU,f5e=jn(Cc,"Alignment",255,Vn,Wbn,Xan),DIt;$(991,1,Qu,Dqe),f.hf=function(t){Dyt(t)};var d5e,Vie,LIt,h5e,b5e,jIt,p5e,FIt,BIt,g5e,w5e,HIt;O(Cc,"BoxLayouterOptions",991),$(992,1,{},oGe),f.sf=function(){var t;return t=new lGe,t},f.tf=function(t){},O(Cc,"BoxLayouterOptions/BoxFactory",992),$(298,22,{3:1,34:1,22:1,298:1},AC);var E$,Gie,k$,R$,A$,Kie,zie=jn(Cc,"ContentAlignment",298,Vn,Ubn,Jan),WIt;$(699,1,Qu,ade),f.hf=function(t){$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,YSt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Vp(),G_)),wt),Tt((dd(),Qt))))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,QSt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),zd),V$n),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,sSe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),m5e),ai),f5e),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,h3),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,yEe),""),"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."),zd),u5e),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,IB),""),"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."),v5e),M3),zie),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,XP),""),"Debug Mode"),"Whether additional debug information shall be generated."),(on(),!1)),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Tee),""),B2e),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),_5e),ai),x$),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,qP),""),"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."),k5e),ai),aoe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,wEe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,$B),""),"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`."),C5e),ai),hxe),Yr(Qt,oe(re(sb,1),Ve,170,0,[Zi]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,gm),""),"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."),D5e),zd),Lke),Yr(Qt,oe(re(sb,1),Ve,170,0,[Zi]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,fx),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,PB),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,dx),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,YZ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),H5e),ai),gxe),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,TB),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),zd),ao),Yr(Zi,oe(re(sb,1),Ve,170,0,[Y0,ng]))))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,FP),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Js),Io),Yr(Zi,oe(re(sb,1),Ve,170,0,[Th]))))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,fB),""),"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)."),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,ux),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,wSe),""),"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."),x5e),zd),u5e),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,vSe),""),"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),oo),Ri),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,_Se),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),oo),Ri),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,w$n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),zd),X$n),Yr(Qt,oe(re(sb,1),Ve,170,0,[ng]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,ESe),""),"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."),$5e),zd),Dke),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,iSe),""),"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),oo),Ri),Yr(Zi,oe(re(sb,1),Ve,170,0,[Th,Y0,ng]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,ZSt),""),"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),jo),Wi),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,eEt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,tEt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,BP),""),KSt),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),oo),Ri),Tt(Qt)))),ji(t,BP,wm,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,nEt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,rEt),""),"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'."),rt(100)),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,iEt),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,oEt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),rt(4e3)),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,sEt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),rt(400)),Js),Io),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,aEt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,lEt),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,cEt),""),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,uEt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,mEe),"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."),y5e),ai),Axe),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,z_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,q_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,VZ),Wd),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,X_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,JZ),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Iee),Wd),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,J_e),Wd),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Z_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Y_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Q_e),Wd),"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),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,hv),Wd),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,eSe),Wd),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),jo),Wi),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,tSe),Wd),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),jo),Wi),Yr(Qt,oe(re(sb,1),Ve,170,0,[Zi]))))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,nSe),Wd),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),zd),$Tt),Yr(Zi,oe(re(sb,1),Ve,170,0,[Th,Y0,ng]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,kSe),Wd),"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."),Q5e),zd),Dke),Tt(Qt)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,Oee),hEt),"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)."),Js),Io),Yr(Qt,oe(re(sb,1),Ve,170,0,[Zi]))))),ji(t,Oee,Pee,YIt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Pee),hEt),"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."),L5e),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,cSe),bEt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),T5e),zd),Lke),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Z4),bEt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),P5e),M3),hs),Yr(Zi,oe(re(sb,1),Ve,170,0,[ng]))))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,dSe),WB),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),F5e),ai),P$),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,hSe),WB),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ai),P$),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,bSe),WB),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ai),P$),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,pSe),WB),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ai),P$),Tt(Zi)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,gSe),WB),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ai),P$),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,b_),tte),"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."),O5e),M3),M$),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,b3),tte),"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."),M5e),M3),mxe),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,p3),tte),"Node Size Minimum"),"The minimal size to which a node can be reduced."),N5e),zd),ao),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,Q4),tte),"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),oo),Ri),Tt(Qt)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,mSe),$ee),"Edge Label Placement"),"Gives a hint on where to put edge labels."),S5e),ai),txe),Tt(ng)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,dB),$ee),"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),oo),Ri),Tt(ng)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,m$n),"font"),"Font Name"),"Font name used for a label."),G_),wt),Tt(ng)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,fEt),"font"),"Font Size"),"Font size used for a label."),Js),Io),Tt(ng)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,SSe),nte),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),zd),ao),Tt(Y0)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,ySe),nte),"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."),Js),Io),Tt(Y0)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,oSe),nte),"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."),V5e),ai),ns),Tt(Y0)))),$t(t,new _t(Ct(At(xt(St(Rt(Et(kt(new vt,rSe),nte),"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."),jo),Wi),Tt(Y0)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,eA),SEe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),W5e),M3),dU),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,uSe),SEe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),oo),Ri),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,fSe),SEe),"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),oo),Ri),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,HP),QP),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),jo),Wi),Tt(Qt)))),ji(t,HP,wm,oTt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,vEe),QP),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),ai),mU),Tt(Zi)))),ji(t,vEe,wm,sTt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,WP),QP),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),jo),Wi),Yr(Qt,oe(re(sb,1),Ve,170,0,[Zi]))))),ji(t,WP,wm,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,UP),QP),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),jo),Wi),Yr(Qt,oe(re(sb,1),Ve,170,0,[Zi]))))),ji(t,UP,wm,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,wm),QP),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),ai),vxe),Tt(Zi)))),ji(t,wm,Q4,null),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,_Ee),QP),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),jo),Wi),Tt(Qt)))),ji(t,_Ee,wm,iTt),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,aSe),pEt),"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),oo),Ri),Tt(Zi)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,lSe),pEt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),oo),Ri),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,GZ),"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),jo),Wi),Tt(Th)))),$t(t,new _t(Ct(At(xt(Bt(St(Rt(Et(kt(new vt,dEt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),A5e),ai),axe),Tt(Th)))),pC(t,new DE(uC(dR(fR(new rE,mn),"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.'))),pC(t,new DE(uC(dR(fR(new rE,"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.`))),pC(t,new DE(uC(dR(fR(new rE,wl),"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."))),pC(t,new DE(uC(dR(fR(new rE,"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."))),pC(t,new DE(uC(dR(fR(new rE,TSt),"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."))),pC(t,new DE(uC(dR(fR(new rE,"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."))),pC(t,new DE(uC(dR(fR(new rE,Ou),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),_yt((new Lqe,t)),Dyt((new Dqe,t)),Xmt((new jqe,t))};var HA,UIt,m5e,K_,VIt,GIt,y5e,z_,q_,KIt,JO,v5e,YO,Q0,_5e,qie,Xie,S5e,E5e,k5e,R5e,A5e,zIt,X_,C5e,qIt,QO,Jie,ZO,Yie,Hm,x5e,WA,$5e,I5e,T5e,J_,P5e,Z0,O5e,Bv,Y_,N5e,_1,M5e,aU,e9,rg,D5e,XIt,L5e,JIt,YIt,j5e,F5e,Qie,Zie,eoe,toe,B5e,xc,C$,H5e,noe,roe,Hv,W5e,U5e,Q_,V5e,D3,t9,ioe,Z_,QIt,ooe,ZIt,eTt,G5e,tTt,K5e,z5e,L3,q5e,lU,X5e,J5e,ew,nTt,Y5e,Q5e,Z5e,cU,n9,UA,j3,rTt,iTt,uU,oTt,exe,sTt;O(Cc,"CoreOptions",699),$(88,22,{3:1,34:1,22:1,88:1},k8);var qd,xs,js,Xd,ju,x$=jn(Cc,B2e,88,Vn,zhn,Yan),aTt;$(278,22,{3:1,34:1,22:1,278:1},iq);var VA,Wv,GA,txe=jn(Cc,"EdgeLabelPlacement",278,Vn,Sdn,Qan),lTt;$(223,22,{3:1,34:1,22:1,223:1},RD);var KA,r9,F3,soe,aoe=jn(Cc,"EdgeRouting",223,Vn,Shn,Zan),cTt;$(321,22,{3:1,34:1,22:1,321:1},CC);var nxe,rxe,ixe,oxe,loe,sxe,axe=jn(Cc,"EdgeType",321,Vn,Hbn,eln),uTt;$(989,1,Qu,Lqe),f.hf=function(t){_yt(t)};var lxe,cxe,uxe,fxe,fTt,dxe,$$;O(Cc,"FixedLayouterOptions",989),$(990,1,{},sGe),f.sf=function(){var t;return t=new wGe,t},f.tf=function(t){},O(Cc,"FixedLayouterOptions/FixedFactory",990),$(346,22,{3:1,34:1,22:1,346:1},oq);var ig,fU,I$,hxe=jn(Cc,"HierarchyHandling",346,Vn,vdn,tln),dTt;$(291,22,{3:1,34:1,22:1,291:1},AD);var ab,S1,i9,o9,hTt=jn(Cc,"LabelSide",291,Vn,_hn,nln),bTt;$(95,22,{3:1,34:1,22:1,95:1},k2);var ep,Hf,of,Wf,au,Uf,sf,lb,Vf,hs=jn(Cc,"NodeLabelPlacement",95,Vn,Wpn,rln),pTt;$(256,22,{3:1,34:1,22:1,256:1},R8);var bxe,T$,E1,pxe,s9,P$=jn(Cc,"PortAlignment",256,Vn,lbn,iln),gTt;$(101,22,{3:1,34:1,22:1,101:1},xC);var tw,Ja,cb,zA,Jd,k1,gxe=jn(Cc,"PortConstraints",101,Vn,Bbn,oln),wTt;$(279,22,{3:1,34:1,22:1,279:1},$C);var O$,N$,tp,a9,R1,B3,dU=jn(Cc,"PortLabelPlacement",279,Vn,Fbn,sln),mTt;$(64,22,{3:1,34:1,22:1,64:1},A8);var yn,dn,Fu,Bu,Dl,vl,Yd,Gf,bc,ec,Ya,pc,Ll,jl,Kf,lu,cu,af,Mn,la,bn,ns=jn(Cc,"PortSide",64,Vn,qhn,aln),yTt;$(993,1,Qu,jqe),f.hf=function(t){Xmt(t)};var vTt,_Tt,wxe,STt,ETt;O(Cc,"RandomLayouterOptions",993),$(994,1,{},aGe),f.sf=function(){var t;return t=new bGe,t},f.tf=function(t){},O(Cc,"RandomLayouterOptions/RandomFactory",994),$(386,22,{3:1,34:1,22:1,386:1},CD);var Uv,l9,c9,nw,M$=jn(Cc,"SizeConstraint",386,Vn,vhn,lln),kTt;$(264,22,{3:1,34:1,22:1,264:1},R2);var u9,hU,qA,coe,f9,D$,bU,pU,gU,mxe=jn(Cc,"SizeOptions",264,Vn,egn,cln),RTt;$(280,22,{3:1,34:1,22:1,280:1},sq);var Vv,yxe,wU,vxe=jn(Cc,"TopdownNodeTypes",280,Vn,Edn,uln),ATt;$(347,22,EEe);var _xe,Sxe,mU=jn(Cc,"TopdownSizeApproximator",347,Vn,mfn,dln);$(987,347,EEe,cst),f.Tg=function(t){return Fgt(t)},jn(Cc,"TopdownSizeApproximator/1",987,mU,null,null),$(988,347,EEe,qst),f.Tg=function(t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It,tn;for(i=u(Ge(t,(br(),Z_)),143),lt=(Ng(),W=new iC,W),fP(lt,t),Pt=new Dn,d=new vn((!t.a&&(t.a=new We(Er,t,10,11)),t.a));d.e!=d.i.gc();)a=u(Rn(d),27),ge=(j=new iC,j),OF(ge,lt),fP(ge,a),tn=Fgt(a),I2(ge,g.Math.max(a.g,tn.a),g.Math.max(a.f,tn.b)),ol(Pt.f,a,ge);for(c=new vn((!t.a&&(t.a=new We(Er,t,10,11)),t.a));c.e!=c.i.gc();)for(a=u(Rn(c),27),x=new vn((!a.e&&(a.e=new Xt(Ci,a,7,4)),a.e));x.e!=x.i.gc();)v=u(Rn(x),74),He=u(Ts(as(Pt.f,a)),27),Ke=u(_n(Pt,we((!v.c&&(v.c=new Xt(Tn,v,5,8)),v.c),0)),27),ke=(N=new LK,N),Wn((!ke.b&&(ke.b=new Xt(Tn,ke,4,7)),ke.b),He),Wn((!ke.c&&(ke.c=new Xt(Tn,ke,5,8)),ke.c),Ke),PF(ke,oi(He)),fP(ke,v);q=u(Z8(i.f),205);try{q.rf(lt,new vGe),Rat(i.f,q)}catch(nn){throw nn=ci(nn),pe(nn,103)?(V=nn,Z(V)):Z(nn)}return Pd(lt,q_)||Pd(lt,z_)||c2e(lt),y=Re(Oe(Ge(lt,q_))),w=Re(Oe(Ge(lt,z_))),p=y/w,s=Re(Oe(Ge(lt,n9)))*g.Math.sqrt((!lt.a&&(lt.a=new We(Er,lt,10,11)),lt.a).i),It=u(Ge(lt,rg),107),ue=It.b+It.c+1,ie=It.d+It.a+1,new Xe(g.Math.max(ue,s),g.Math.max(ie,s/p))},jn(Cc,"TopdownSizeApproximator/2",988,mU,null,null);var CTt;$(344,1,{871:1},lE),f.Ug=function(t,i){return Q1t(this,t,i)},f.Vg=function(){_0t(this)},f.Wg=function(){return this.q},f.Xg=function(){return this.f?_X(this.f):null},f.Yg=function(){return _X(this.a)},f.Zg=function(){return this.p},f.$g=function(){return!1},f._g=function(){return this.n},f.ah=function(){return this.p!=null&&!this.b},f.bh=function(t){var i;this.n&&(i=t,ot(this.f,i))},f.dh=function(t,i){var s,a;this.n&&t&&jdn(this,(s=new sat,a=RQ(s,t),y5n(s),a),(jj(),foe))},f.eh=function(t){var i;return this.b?null:(i=Epn(this,this.g),sr(this.a,i),i.i=this,this.d=t,i)},f.fh=function(t){t>0&&!this.b&&A0e(this,t)},f.b=!1,f.c=0,f.d=-1,f.e=null,f.f=null,f.g=-1,f.j=!1,f.k=!1,f.n=!1,f.o=0,f.q=0,f.r=0,O(ga,"BasicProgressMonitor",344),$(717,205,P0,lGe),f.rf=function(t,i){Zyt(t,i)},O(ga,"BoxLayoutProvider",717),$(983,1,ir,KYe),f.Ne=function(t,i){return ykn(this,u(t,27),u(i,27))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},f.a=!1,O(ga,"BoxLayoutProvider/1",983),$(163,1,{163:1},pj,Oit),f.Ib=function(){return this.c?Rve(this.c):e1(this.b)},O(ga,"BoxLayoutProvider/Group",163),$(320,22,{3:1,34:1,22:1,320:1},xD);var Exe,kxe,Rxe,uoe,Axe=jn(ga,"BoxLayoutProvider/PackingMode",320,Vn,Ehn,hln),xTt;$(984,1,ir,cGe),f.Ne=function(t,i){return jun(u(t,163),u(i,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(ga,"BoxLayoutProvider/lambda$0$Type",984),$(985,1,ir,uGe),f.Ne=function(t,i){return Iun(u(t,163),u(i,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(ga,"BoxLayoutProvider/lambda$1$Type",985),$(986,1,ir,fGe),f.Ne=function(t,i){return Tun(u(t,163),u(i,163))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(ga,"BoxLayoutProvider/lambda$2$Type",986),$(1384,1,{845:1},dGe),f.Mg=function(t,i){return oD(),!pe(i,167)||Net((GE(),u(t,167)),i)},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),$(1385,1,En,zYe),f.Cd=function(t){q1n(this.a,u(t,149))},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),$(1386,1,En,pGe),f.Cd=function(t){u(t,96),oD()},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),$(1390,1,En,qYe),f.Cd=function(t){ggn(this.a,u(t,96))},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),$(1388,1,nr,knt),f.Mb=function(t){return $1n(this.a,this.b,u(t,149))},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),$(1387,1,nr,Rnt),f.Mb=function(t){return uon(this.a,this.b,u(t,845))},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),$(1389,1,En,Ant),f.Cd=function(t){Ecn(this.a,this.b,u(t,149))},O(ga,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),$(947,1,{},gGe),f.Kb=function(t){return _rt(t)},f.Fb=function(t){return this===t},O(ga,"ElkUtil/lambda$0$Type",947),$(948,1,En,Cnt),f.Cd=function(t){SEn(this.a,this.b,u(t,74))},f.a=0,f.b=0,O(ga,"ElkUtil/lambda$1$Type",948),$(949,1,En,xnt),f.Cd=function(t){hnn(this.a,this.b,u(t,166))},f.a=0,f.b=0,O(ga,"ElkUtil/lambda$2$Type",949),$(950,1,En,$nt),f.Cd=function(t){lin(this.a,this.b,u(t,135))},f.a=0,f.b=0,O(ga,"ElkUtil/lambda$3$Type",950),$(951,1,En,XYe),f.Cd=function(t){Vln(this.a,u(t,377))},O(ga,"ElkUtil/lambda$4$Type",951),$(325,1,{34:1,325:1},Utn),f.Fd=function(t){return Lin(this,u(t,242))},f.Fb=function(t){var i;return pe(t,325)?(i=u(t,325),this.a==i.a):!1},f.Hb=function(){return Yi(this.a)},f.Ib=function(){return this.a+" (exclusive)"},f.a=0,O(ga,"ExclusiveBounds/ExclusiveLowerBound",325),$(1119,205,P0,wGe),f.rf=function(t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue,ge,ke,He,Ke,lt,Pt,It;for(i.Ug("Fixed Layout",1),d=u(Ge(t,(br(),E5e)),223),N=0,j=0,ge=new vn((!t.a&&(t.a=new We(Er,t,10,11)),t.a));ge.e!=ge.i.gc();){for(ie=u(Rn(ge),27),It=u(Ge(ie,(Fj(),$$)),8),It&&(wu(ie,It.a,It.b),u(Ge(ie,cxe),181).Hc((jc(),Uv))&&(W=u(Ge(ie,fxe),8),W.a>0&&W.b>0&&dm(ie,W.a,W.b,!0,!0))),N=g.Math.max(N,ie.i+ie.g),j=g.Math.max(j,ie.j+ie.f),v=new vn((!ie.n&&(ie.n=new We(ys,ie,1,7)),ie.n));v.e!=v.i.gc();)w=u(Rn(v),135),It=u(Ge(w,$$),8),It&&wu(w,It.a,It.b),N=g.Math.max(N,ie.i+w.i+w.g),j=g.Math.max(j,ie.j+w.j+w.f);for(Ke=new vn((!ie.c&&(ie.c=new We(gc,ie,9,9)),ie.c));Ke.e!=Ke.i.gc();)for(He=u(Rn(Ke),123),It=u(Ge(He,$$),8),It&&wu(He,It.a,It.b),lt=ie.i+He.i,Pt=ie.j+He.j,N=g.Math.max(N,lt+He.g),j=g.Math.max(j,Pt+He.f),y=new vn((!He.n&&(He.n=new We(ys,He,1,7)),He.n));y.e!=y.i.gc();)w=u(Rn(y),135),It=u(Ge(w,$$),8),It&&wu(w,It.a,It.b),N=g.Math.max(N,lt+w.i+w.g),j=g.Math.max(j,Pt+w.j+w.f);for(c=new Sn(kn(Gb(ie).a.Kc(),new M));Bn(c);)s=u($n(c),74),x=h2t(s),N=g.Math.max(N,x.a),j=g.Math.max(j,x.b);for(a=new Sn(kn(uP(ie).a.Kc(),new M));Bn(a);)s=u($n(a),74),oi(zh(s))!=t&&(x=h2t(s),N=g.Math.max(N,x.a),j=g.Math.max(j,x.b))}if(d==(Hb(),KA))for(ue=new vn((!t.a&&(t.a=new We(Er,t,10,11)),t.a));ue.e!=ue.i.gc();)for(ie=u(Rn(ue),27),a=new Sn(kn(Gb(ie).a.Kc(),new M));Bn(a);)s=u($n(a),74),p=kAn(s),p.b==0?Lr(s,Hm,null):Lr(s,Hm,p);bt(ht(Ge(t,(Fj(),uxe))))||(ke=u(Ge(t,fTt),107),q=N+ke.b+ke.c,V=j+ke.d+ke.a,dm(t,q,V,!0,!0)),i.Vg()},O(ga,"FixedLayoutProvider",1119),$(385,137,{3:1,423:1,385:1,96:1,137:1},DK,fdt),f.cg=function(t){var i,s,a,c,d,p,w,y,v;if(t)try{for(y=av(t,";,;"),d=y,p=0,w=d.length;p>16&Bi|i^a<<16},f.Kc=function(){return new JYe(this)},f.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+zs(this.b)+")":this.b==null?"pair("+zs(this.a)+",null)":"pair("+zs(this.a)+","+zs(this.b)+")"},O(ga,"Pair",42),$(995,1,ho,JYe),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},f.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw Z(new ea)},f.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),Z(new Wl)},f.b=!1,f.c=!1,O(ga,"Pair/1",995),$(455,1,{455:1},Hat),f.Fb=function(t){return ka(this.a,u(t,455).a)&&ka(this.c,u(t,455).c)&&ka(this.d,u(t,455).d)&&ka(this.b,u(t,455).b)},f.Hb=function(){return L7(oe(re(io,1),Zt,1,5,[this.a,this.c,this.d,this.b]))},f.Ib=function(){return"("+this.a+Jo+this.c+Jo+this.d+Jo+this.b+")"},O(ga,"Quadruple",455),$(1108,205,P0,bGe),f.rf=function(t,i){var s,a,c,d,p;if(i.Ug("Random Layout",1),(!t.a&&(t.a=new We(Er,t,10,11)),t.a).i==0){i.Vg();return}d=u(Ge(t,(eme(),STt)),17),d&&d.a!=0?c=new qL(d.a):c=new lY,s=r8(Oe(Ge(t,vTt))),p=r8(Oe(Ge(t,ETt))),a=u(Ge(t,_Tt),107),W5n(t,c,s,p,a),i.Vg()},O(ga,"RandomLayoutProvider",1108),$(240,1,{240:1},Dq),f.Fb=function(t){return ka(this.a,u(t,240).a)&&ka(this.b,u(t,240).b)&&ka(this.c,u(t,240).c)},f.Hb=function(){return L7(oe(re(io,1),Zt,1,5,[this.a,this.b,this.c]))},f.Ib=function(){return"("+this.a+Jo+this.b+Jo+this.c+")"},O(ga,"Triple",240);var PTt;$(562,1,{}),f.Lf=function(){return new Xe(this.f.i,this.f.j)},f.of=function(t){return plt(t,(br(),xc))?Ge(this.f,OTt):Ge(this.f,t)},f.Mf=function(){return new Xe(this.f.g,this.f.f)},f.Nf=function(){return this.g},f.pf=function(t){return Pd(this.f,t)},f.Of=function(t){hl(this.f,t.a),bl(this.f,t.b)},f.Pf=function(t){Yw(this.f,t.a),Jw(this.f,t.b)},f.Qf=function(t){this.g=t},f.g=0;var OTt;O(_x,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),$(563,1,{853:1},LM),f.Rf=function(){var t,i;if(!this.b)for(this.b=VL(CL(this.a).i),i=new vn(CL(this.a));i.e!=i.i.gc();)t=u(Rn(i),135),ot(this.b,new dz(t));return this.b},f.b=null,O(_x,"ElkGraphAdapters/ElkEdgeAdapter",563),$(289,562,{},mw),f.Sf=function(){return a1t(this)},f.a=null,O(_x,"ElkGraphAdapters/ElkGraphAdapter",289),$(640,562,{187:1},dz),O(_x,"ElkGraphAdapters/ElkLabelAdapter",640),$(639,562,{695:1},vq),f.Rf=function(){return $yn(this)},f.Vf=function(){var t;return t=u(Ge(this.f,(br(),WA)),140),!t&&(t=new rC),t},f.Xf=function(){return Iyn(this)},f.Zf=function(t){var i;i=new jq(t),Lr(this.f,(br(),WA),i)},f.$f=function(t){Lr(this.f,(br(),rg),new Vpe(t))},f.Tf=function(){return this.d},f.Uf=function(){var t,i;if(!this.a)for(this.a=new it,i=new Sn(kn(uP(u(this.f,27)).a.Kc(),new M));Bn(i);)t=u($n(i),74),ot(this.a,new LM(t));return this.a},f.Wf=function(){var t,i;if(!this.c)for(this.c=new it,i=new Sn(kn(Gb(u(this.f,27)).a.Kc(),new M));Bn(i);)t=u($n(i),74),ot(this.c,new LM(t));return this.c},f.Yf=function(){return PL(u(this.f,27)).i!=0||bt(ht(u(this.f,27).of((br(),QO))))},f._f=function(){lpn(this,(Aw(),PTt))},f.a=null,f.b=null,f.c=null,f.d=null,f.e=null,O(_x,"ElkGraphAdapters/ElkNodeAdapter",639),$(1284,562,{852:1},YYe),f.Rf=function(){return jyn(this)},f.Uf=function(){var t,i;if(!this.a)for(this.a=Fh(u(this.f,123).hh().i),i=new vn(u(this.f,123).hh());i.e!=i.i.gc();)t=u(Rn(i),74),ot(this.a,new LM(t));return this.a},f.Wf=function(){var t,i;if(!this.c)for(this.c=Fh(u(this.f,123).ih().i),i=new vn(u(this.f,123).ih());i.e!=i.i.gc();)t=u(Rn(i),74),ot(this.c,new LM(t));return this.c},f.ag=function(){return u(u(this.f,123).of((br(),Q_)),64)},f.bg=function(){var t,i,s,a,c,d,p,w;for(a=Cd(u(this.f,123)),s=new vn(u(this.f,123).ih());s.e!=s.i.gc();)for(t=u(Rn(s),74),w=new vn((!t.c&&(t.c=new Xt(Tn,t,5,8)),t.c));w.e!=w.i.gc();){if(p=u(Rn(w),84),Vy(Ds(p),a))return!0;if(Ds(p)==a&&bt(ht(Ge(t,(br(),Jie)))))return!0}for(i=new vn(u(this.f,123).hh());i.e!=i.i.gc();)for(t=u(Rn(i),74),d=new vn((!t.b&&(t.b=new Xt(Tn,t,4,7)),t.b));d.e!=d.i.gc();)if(c=u(Rn(d),84),Vy(Ds(c),a))return!0;return!1},f.a=null,f.b=null,f.c=null,O(_x,"ElkGraphAdapters/ElkPortAdapter",1284),$(1285,1,ir,hGe),f.Ne=function(t,i){return g4n(u(t,123),u(i,123))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(_x,"ElkGraphAdapters/PortComparator",1285);var A1=bi(Nu,"EObject"),XA=bi(w_,mEt),uu=bi(w_,yEt),d9=bi(w_,vEt),h9=bi(w_,"ElkShape"),Tn=bi(w_,_Et),Ci=bi(w_,kEe),ti=bi(w_,SEt),b9=bi(Nu,EEt),L$=bi(Nu,"EFactory"),NTt,doe=bi(Nu,kEt),md=bi(Nu,"EPackage"),uo,MTt,DTt,Ixe,yU,LTt,Txe,Pxe,Oxe,ub,jTt,FTt,ys=bi(w_,REe),Er=bi(w_,AEe),gc=bi(w_,CEe);$(93,1,REt),f.th=function(){return this.uh(),null},f.uh=function(){return null},f.vh=function(){return this.uh(),!1},f.wh=function(){return!1},f.xh=function(t){Ir(this,t)},O(m3,"BasicNotifierImpl",93),$(99,93,$Et),f.Yh=function(){return Pc(this)},f.yh=function(t,i){return t},f.zh=function(){throw Z(new Zn)},f.Ah=function(t){var i;return i=os(u(Yt(this.Dh(),this.Fh()),19)),this.Ph().Th(this,i.n,i.f,t)},f.Bh=function(t,i){throw Z(new Zn)},f.Ch=function(t,i,s){return nu(this,t,i,s)},f.Dh=function(){var t;return this.zh()&&(t=this.zh().Nk(),t)?t:this.ii()},f.Eh=function(){return lQ(this)},f.Fh=function(){throw Z(new Zn)},f.Gh=function(){var t,i;return i=this.$h().Ok(),!i&&this.zh().Tk(i=(wC(),t=r1e(gh(this.Dh())),t==null?voe:new T8(this,t))),i},f.Hh=function(t,i){return t},f.Ih=function(t){var i;return i=t.pk(),i?t.Lj():ui(this.Dh(),t)},f.Jh=function(){var t;return t=this.zh(),t?t.Qk():null},f.Kh=function(){return this.zh()?this.zh().Nk():null},f.Lh=function(t,i,s){return aF(this,t,i,s)},f.Mh=function(t){return WR(this,t)},f.Nh=function(t,i){return zX(this,t,i)},f.Oh=function(){var t;return t=this.zh(),!!t&&t.Rk()},f.Ph=function(){throw Z(new Zn)},f.Qh=function(){return eF(this)},f.Rh=function(t,i,s,a){return YE(this,t,i,a)},f.Sh=function(t,i,s){var a;return a=u(Yt(this.Dh(),i),69),a.wk().zk(this,this.hi(),i-this.ji(),t,s)},f.Th=function(t,i,s,a){return DL(this,t,i,a)},f.Uh=function(t,i,s){var a;return a=u(Yt(this.Dh(),i),69),a.wk().Ak(this,this.hi(),i-this.ji(),t,s)},f.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},f.Wh=function(t){return yY(this,t)},f.Xh=function(t){return $lt(this,t)},f.Zh=function(t){return Yvt(this,t)},f.$h=function(){throw Z(new Zn)},f._h=function(){return this.zh()?this.zh().Pk():null},f.ai=function(){return eF(this)},f.bi=function(t,i){rQ(this,t,i)},f.ci=function(t){this.$h().Sk(t)},f.di=function(t){this.$h().Vk(t)},f.ei=function(t){this.$h().Uk(t)},f.fi=function(t,i){var s,a,c,d;return d=this.Jh(),d&&t&&(i=Xo(d.El(),this,i),d.Il(this)),a=this.Ph(),a&&(SQ(this,this.Ph(),this.Fh()).Bb&ts?(c=a.Qh(),c&&(t?!d&&c.Il(this):c.Hl(this))):(i=(s=this.Fh(),s>=0?this.Ah(i):this.Ph().Th(this,-1-s,null,i)),i=this.Ch(null,-1,i))),this.di(t),i},f.gi=function(t){var i,s,a,c,d,p,w,y;if(s=this.Dh(),d=ui(s,t),i=this.ji(),d>=i)return u(t,69).wk().Dk(this,this.hi(),d-i);if(d<=-1)if(p=a_((Jl(),To),s,t),p){if(is(),u(p,69).xk()||(p=LE(Es(To,p))),c=(a=this.Ih(p),u(a>=0?this.Lh(a,!0,!0):cm(this,p,!0),160)),y=p.Ik(),y>1||y==-1)return u(u(c,220).Sl(t,!1),79)}else throw Z(new un(c1+t.xe()+rte));else if(t.Jk())return a=this.Ih(t),u(a>=0?this.Lh(a,!1,!0):cm(this,t,!1),79);return w=new znt(this,t),w},f.hi=function(){return l0e(this)},f.ii=function(){return(Hg(),sn).S},f.ji=function(){return xn(this.ii())},f.ki=function(t){eQ(this,t)},f.Ib=function(){return Pf(this)},O(an,"BasicEObjectImpl",99);var BTt;$(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),f.li=function(t){var i;return i=a0e(this),i[t]},f.mi=function(t,i){var s;s=a0e(this),pi(s,t,i)},f.ni=function(t){var i;i=a0e(this),pi(i,t,null)},f.th=function(){return u(ln(this,4),129)},f.uh=function(){throw Z(new Zn)},f.vh=function(){return(this.Db&4)!=0},f.zh=function(){throw Z(new Zn)},f.oi=function(t){XE(this,2,t)},f.Bh=function(t,i){this.Db=i<<16|this.Db&255,this.oi(t)},f.Dh=function(){return Tl(this)},f.Fh=function(){return this.Db>>16},f.Gh=function(){var t,i;return wC(),i=r1e(gh((t=u(ln(this,16),29),t||this.ii()))),i==null?voe:new T8(this,i)},f.wh=function(){return(this.Db&1)==0},f.Jh=function(){return u(ln(this,128),2034)},f.Kh=function(){return u(ln(this,16),29)},f.Oh=function(){return(this.Db&32)!=0},f.Ph=function(){return u(ln(this,2),54)},f.Vh=function(){return(this.Db&64)!=0},f.$h=function(){throw Z(new Zn)},f._h=function(){return u(ln(this,64),288)},f.ci=function(t){XE(this,16,t)},f.di=function(t){XE(this,128,t)},f.ei=function(t){XE(this,64,t)},f.hi=function(){return pl(this)},f.Db=0,O(an,"MinimalEObjectImpl",119),$(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.oi=function(t){this.Cb=t},f.Ph=function(){return this.Cb},O(an,"MinimalEObjectImpl/Container",120),$(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,i,s){return Eme(this,t,i,s)},f.Uh=function(t,i,s){return dye(this,t,i,s)},f.Wh=function(t){return w1e(this,t)},f.bi=function(t,i){lwe(this,t,i)},f.ii=function(){return Ia(),FTt},f.ki=function(t){Y0e(this,t)},f.nf=function(){return Cgt(this)},f.gh=function(){return!this.o&&(this.o=new ql((Ia(),ub),og,this,0)),this.o},f.of=function(t){return Ge(this,t)},f.pf=function(t){return Pd(this,t)},f.qf=function(t,i){return Lr(this,t,i)},O(D0,"EMapPropertyHolderImpl",2083),$(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},AM),f.Lh=function(t,i,s){switch(t){case 0:return this.a;case 1:return this.b}return aF(this,t,i,s)},f.Wh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return yY(this,t)},f.bi=function(t,i){switch(t){case 0:wj(this,Re(Oe(i)));return;case 1:gj(this,Re(Oe(i)));return}rQ(this,t,i)},f.ii=function(){return Ia(),MTt},f.ki=function(t){switch(t){case 0:wj(this,0);return;case 1:gj(this,0);return}eQ(this,t)},f.Ib=function(){var t;return this.Db&64?Pf(this):(t=new Ku(Pf(this)),t.a+=" (x: ",v2(t,this.a),t.a+=", y: ",v2(t,this.b),t.a+=")",t.a)},f.a=0,f.b=0,O(D0,"ElkBendPointImpl",572),$(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,i,s){return Twe(this,t,i,s)},f.Sh=function(t,i,s){return zY(this,t,i,s)},f.Uh=function(t,i,s){return IJ(this,t,i,s)},f.Wh=function(t){return G0e(this,t)},f.bi=function(t,i){Wme(this,t,i)},f.ii=function(){return Ia(),LTt},f.ki=function(t){Swe(this,t)},f.jh=function(){return this.k},f.kh=function(){return CL(this)},f.Ib=function(){return nY(this)},f.k=null,O(D0,"ElkGraphElementImpl",739),$(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,i,s){return Fwe(this,t,i,s)},f.Wh=function(t){return Gwe(this,t)},f.bi=function(t,i){Ume(this,t,i)},f.ii=function(){return Ia(),jTt},f.ki=function(t){Qwe(this,t)},f.lh=function(){return this.f},f.mh=function(){return this.g},f.nh=function(){return this.i},f.oh=function(){return this.j},f.ph=function(t,i){I2(this,t,i)},f.qh=function(t,i){wu(this,t,i)},f.rh=function(t){hl(this,t)},f.sh=function(t){bl(this,t)},f.Ib=function(){return QY(this)},f.f=0,f.g=0,f.i=0,f.j=0,O(D0,"ElkShapeImpl",740),$(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),f.Lh=function(t,i,s){return gme(this,t,i,s)},f.Sh=function(t,i,s){return Dme(this,t,i,s)},f.Uh=function(t,i,s){return Lme(this,t,i,s)},f.Wh=function(t){return awe(this,t)},f.bi=function(t,i){Jye(this,t,i)},f.ii=function(){return Ia(),DTt},f.ki=function(t){fme(this,t)},f.hh=function(){return!this.d&&(this.d=new Xt(Ci,this,8,5)),this.d},f.ih=function(){return!this.e&&(this.e=new Xt(Ci,this,7,4)),this.e},O(D0,"ElkConnectableShapeImpl",741),$(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},LK),f.Ah=function(t){return Pme(this,t)},f.Lh=function(t,i,s){switch(t){case 3:return t7(this);case 4:return!this.b&&(this.b=new Xt(Tn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Xt(Tn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new We(ti,this,6,6)),this.a;case 7:return on(),!this.b&&(this.b=new Xt(Tn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Xt(Tn,this,5,8)),this.c.i<=1));case 8:return on(),!!W5(this);case 9:return on(),!!lm(this);case 10:return on(),!this.b&&(this.b=new Xt(Tn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Xt(Tn,this,5,8)),this.c.i!=0)}return Twe(this,t,i,s)},f.Sh=function(t,i,s){var a;switch(i){case 3:return this.Cb&&(s=(a=this.Db>>16,a>=0?Pme(this,s):this.Cb.Th(this,-1-a,null,s))),hpe(this,u(t,27),s);case 4:return!this.b&&(this.b=new Xt(Tn,this,4,7)),il(this.b,t,s);case 5:return!this.c&&(this.c=new Xt(Tn,this,5,8)),il(this.c,t,s);case 6:return!this.a&&(this.a=new We(ti,this,6,6)),il(this.a,t,s)}return zY(this,t,i,s)},f.Uh=function(t,i,s){switch(i){case 3:return hpe(this,null,s);case 4:return!this.b&&(this.b=new Xt(Tn,this,4,7)),Xo(this.b,t,s);case 5:return!this.c&&(this.c=new Xt(Tn,this,5,8)),Xo(this.c,t,s);case 6:return!this.a&&(this.a=new We(ti,this,6,6)),Xo(this.a,t,s)}return IJ(this,t,i,s)},f.Wh=function(t){switch(t){case 3:return!!t7(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new Xt(Tn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Xt(Tn,this,5,8)),this.c.i<=1));case 8:return W5(this);case 9:return lm(this);case 10:return!this.b&&(this.b=new Xt(Tn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Xt(Tn,this,5,8)),this.c.i!=0)}return G0e(this,t)},f.bi=function(t,i){switch(t){case 3:PF(this,u(i,27));return;case 4:!this.b&&(this.b=new Xt(Tn,this,4,7)),Hn(this.b),!this.b&&(this.b=new Xt(Tn,this,4,7)),vi(this.b,u(i,16));return;case 5:!this.c&&(this.c=new Xt(Tn,this,5,8)),Hn(this.c),!this.c&&(this.c=new Xt(Tn,this,5,8)),vi(this.c,u(i,16));return;case 6:!this.a&&(this.a=new We(ti,this,6,6)),Hn(this.a),!this.a&&(this.a=new We(ti,this,6,6)),vi(this.a,u(i,16));return}Wme(this,t,i)},f.ii=function(){return Ia(),Ixe},f.ki=function(t){switch(t){case 3:PF(this,null);return;case 4:!this.b&&(this.b=new Xt(Tn,this,4,7)),Hn(this.b);return;case 5:!this.c&&(this.c=new Xt(Tn,this,5,8)),Hn(this.c);return;case 6:!this.a&&(this.a=new We(ti,this,6,6)),Hn(this.a);return}Swe(this,t)},f.Ib=function(){return pvt(this)},O(D0,"ElkEdgeImpl",326),$(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},CM),f.Ah=function(t){return xme(this,t)},f.Lh=function(t,i,s){switch(t){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 Di(uu,this,5)),this.a;case 6:return Rlt(this);case 7:return i?kY(this):this.i;case 8:return i?EY(this):this.f;case 9:return!this.g&&(this.g=new Xt(ti,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Xt(ti,this,10,9)),this.e;case 11:return this.d}return Eme(this,t,i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 6:return this.Cb&&(s=(c=this.Db>>16,c>=0?xme(this,s):this.Cb.Th(this,-1-c,null,s))),dpe(this,u(t,74),s);case 9:return!this.g&&(this.g=new Xt(ti,this,9,10)),il(this.g,t,s);case 10:return!this.e&&(this.e=new Xt(ti,this,10,9)),il(this.e,t,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Ia(),yU)),i),69),d.wk().zk(this,pl(this),i-xn((Ia(),yU)),t,s)},f.Uh=function(t,i,s){switch(i){case 5:return!this.a&&(this.a=new Di(uu,this,5)),Xo(this.a,t,s);case 6:return dpe(this,null,s);case 9:return!this.g&&(this.g=new Xt(ti,this,9,10)),Xo(this.g,t,s);case 10:return!this.e&&(this.e=new Xt(ti,this,10,9)),Xo(this.e,t,s)}return dye(this,t,i,s)},f.Wh=function(t){switch(t){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!Rlt(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return w1e(this,t)},f.bi=function(t,i){switch(t){case 1:qR(this,Re(Oe(i)));return;case 2:JR(this,Re(Oe(i)));return;case 3:zR(this,Re(Oe(i)));return;case 4:XR(this,Re(Oe(i)));return;case 5:!this.a&&(this.a=new Di(uu,this,5)),Hn(this.a),!this.a&&(this.a=new Di(uu,this,5)),vi(this.a,u(i,16));return;case 6:bmt(this,u(i,74));return;case 7:kj(this,u(i,84));return;case 8:Ej(this,u(i,84));return;case 9:!this.g&&(this.g=new Xt(ti,this,9,10)),Hn(this.g),!this.g&&(this.g=new Xt(ti,this,9,10)),vi(this.g,u(i,16));return;case 10:!this.e&&(this.e=new Xt(ti,this,10,9)),Hn(this.e),!this.e&&(this.e=new Xt(ti,this,10,9)),vi(this.e,u(i,16));return;case 11:O0e(this,tr(i));return}lwe(this,t,i)},f.ii=function(){return Ia(),yU},f.ki=function(t){switch(t){case 1:qR(this,0);return;case 2:JR(this,0);return;case 3:zR(this,0);return;case 4:XR(this,0);return;case 5:!this.a&&(this.a=new Di(uu,this,5)),Hn(this.a);return;case 6:bmt(this,null);return;case 7:kj(this,null);return;case 8:Ej(this,null);return;case 9:!this.g&&(this.g=new Xt(ti,this,9,10)),Hn(this.g);return;case 10:!this.e&&(this.e=new Xt(ti,this,10,9)),Hn(this.e);return;case 11:O0e(this,null);return}Y0e(this,t)},f.Ib=function(){return xwt(this)},f.b=0,f.c=0,f.d=null,f.j=0,f.k=0,O(D0,"ElkEdgeSectionImpl",452),$(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),f.Lh=function(t,i,s){var a;return t==0?(!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab):ku(this,t-xn(this.ii()),Yt((a=u(ln(this,16),29),a||this.ii()),t),i,s)},f.Sh=function(t,i,s){var a,c;return i==0?(!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s)):(c=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),c.wk().zk(this,pl(this),i-xn(this.ii()),t,s))},f.Uh=function(t,i,s){var a,c;return i==0?(!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s)):(c=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),c.wk().Ak(this,pl(this),i-xn(this.ii()),t,s))},f.Wh=function(t){var i;return t==0?!!this.Ab&&this.Ab.i!=0:Su(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.Zh=function(t){return a2e(this,t)},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return}xu(this,t-xn(this.ii()),Yt((s=u(ln(this,16),29),s||this.ii()),t),i)},f.di=function(t){XE(this,128,t)},f.ii=function(){return Vt(),i8t},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return}Cu(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.pi=function(){this.Bb|=1},f.qi=function(t){return X5(this,t)},f.Bb=0,O(an,"EModelElementImpl",158),$(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},cde),f.ri=function(t,i){return Vvt(this,t,i)},f.si=function(t){var i,s,a,c,d;if(this.a!=Jc(t)||t.Bb&256)throw Z(new un(ote+t.zb+_m));for(a=Os(t);Na(a.a).i!=0;){if(s=u(SP(a,0,(i=u(we(Na(a.a),0),89),d=i.c,pe(d,90)?u(d,29):(Vt(),ff))),29),am(s))return c=Jc(s).wi().si(s),u(c,54).ci(t),c;a=Os(s)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new ast(t):new tge(t)},f.ti=function(t,i){return hm(this,t,i)},f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.a}return ku(this,t-xn((Vt(),I1)),Yt((a=u(ln(this,16),29),a||I1),t),i,s)},f.Sh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 1:return this.a&&(s=u(this.a,54).Th(this,4,md,s)),_we(this,u(t,241),s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),I1)),i),69),c.wk().zk(this,pl(this),i-xn((Vt(),I1)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 1:return _we(this,null,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),I1)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),I1)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Su(this,t-xn((Vt(),I1)),Yt((i=u(ln(this,16),29),i||I1),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:f0t(this,u(i,241));return}xu(this,t-xn((Vt(),I1)),Yt((s=u(ln(this,16),29),s||I1),t),i)},f.ii=function(){return Vt(),I1},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:f0t(this,null);return}Cu(this,t-xn((Vt(),I1)),Yt((i=u(ln(this,16),29),i||I1),t))};var j$,Nxe,HTt;O(an,"EFactoryImpl",720),$(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},SGe),f.ri=function(t,i){switch(t.hk()){case 12:return u(i,149).Pg();case 13:return zs(i);default:throw Z(new un(aA+t.xe()+_m))}},f.si=function(t){var i,s,a,c,d,p,w,y;switch(t.G==-1&&(t.G=(i=Jc(t),i?Wp(i.vi(),t):-1)),t.G){case 4:return d=new rde,d;case 6:return p=new iC,p;case 7:return w=new rhe,w;case 8:return a=new LK,a;case 9:return s=new AM,s;case 10:return c=new CM,c;case 11:return y=new EGe,y;default:throw Z(new un(ote+t.zb+_m))}},f.ti=function(t,i){switch(t.hk()){case 13:case 12:return null;default:throw Z(new un(aA+t.xe()+_m))}},O(D0,"ElkGraphFactoryImpl",1037),$(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),f.Gh=function(){var t,i;return i=(t=u(ln(this,16),29),r1e(gh(t||this.ii()))),i==null?(wC(),wC(),voe):new Iit(this,i)},f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.xe()}return ku(this,t-xn(this.ii()),Yt((a=u(ln(this,16),29),a||this.ii()),t),i,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Su(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:this.ui(tr(i));return}xu(this,t-xn(this.ii()),Yt((s=u(ln(this,16),29),s||this.ii()),t),i)},f.ii=function(){return Vt(),o8t},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:this.ui(null);return}Cu(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.xe=function(){return this.zb},f.ui=function(t){rl(this,t)},f.Ib=function(){return E5(this)},f.zb=null,O(an,"ENamedElementImpl",448),$(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},rlt),f.Ah=function(t){return S1t(this,t)},f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,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 Ny(this,yd,this)),this.rb;case 6:return!this.vb&&(this.vb=new kE(md,this,6,7)),this.vb;case 7:return i?this.Db>>16==7?u(this.Cb,241):null:Plt(this)}return ku(this,t-xn((Vt(),cg)),Yt((a=u(ln(this,16),29),a||cg),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 4:return this.sb&&(s=u(this.sb,54).Th(this,1,L$,s)),kwe(this,u(t,480),s);case 5:return!this.rb&&(this.rb=new Ny(this,yd,this)),il(this.rb,t,s);case 6:return!this.vb&&(this.vb=new kE(md,this,6,7)),il(this.vb,t,s);case 7:return this.Cb&&(s=(c=this.Db>>16,c>=0?S1t(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,7,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),cg)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),cg)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 4:return kwe(this,null,s);case 5:return!this.rb&&(this.rb=new Ny(this,yd,this)),Xo(this.rb,t,s);case 6:return!this.vb&&(this.vb=new kE(md,this,6,7)),Xo(this.vb,t,s);case 7:return nu(this,null,7,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),cg)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),cg)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!Plt(this)}return Su(this,t-xn((Vt(),cg)),Yt((i=u(ln(this,16),29),i||cg),t))},f.Zh=function(t){var i;return i=Tkn(this,t),i||a2e(this,t)},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:rl(this,tr(i));return;case 2:Ij(this,tr(i));return;case 3:$j(this,tr(i));return;case 4:YY(this,u(i,480));return;case 5:!this.rb&&(this.rb=new Ny(this,yd,this)),Hn(this.rb),!this.rb&&(this.rb=new Ny(this,yd,this)),vi(this.rb,u(i,16));return;case 6:!this.vb&&(this.vb=new kE(md,this,6,7)),Hn(this.vb),!this.vb&&(this.vb=new kE(md,this,6,7)),vi(this.vb,u(i,16));return}xu(this,t-xn((Vt(),cg)),Yt((s=u(ln(this,16),29),s||cg),t),i)},f.ei=function(t){var i,s;if(t&&this.rb)for(s=new vn(this.rb);s.e!=s.i.gc();)i=Rn(s),pe(i,364)&&(u(i,364).w=null);XE(this,64,t)},f.ii=function(){return Vt(),cg},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:rl(this,null);return;case 2:Ij(this,null);return;case 3:$j(this,null);return;case 4:YY(this,null);return;case 5:!this.rb&&(this.rb=new Ny(this,yd,this)),Hn(this.rb);return;case 6:!this.vb&&(this.vb=new kE(md,this,6,7)),Hn(this.vb);return}Cu(this,t-xn((Vt(),cg)),Yt((i=u(ln(this,16),29),i||cg),t))},f.pi=function(){LY(this)},f.vi=function(){return!this.rb&&(this.rb=new Ny(this,yd,this)),this.rb},f.wi=function(){return this.sb},f.xi=function(){return this.ub},f.yi=function(){return this.xb},f.zi=function(){return this.yb},f.Ai=function(t){this.ub=t},f.Ib=function(){var t;return this.Db&64?E5(this):(t=new Ku(E5(this)),t.a+=" (nsURI: ",ps(t,this.yb),t.a+=", nsPrefix: ",ps(t,this.xb),t.a+=")",t.a)},f.xb=null,f.yb=null,O(an,"EPackageImpl",184),$(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Lwt),f.q=!1,f.r=!1;var WTt=!1;O(D0,"ElkGraphPackageImpl",569),$(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},rde),f.Ah=function(t){return $me(this,t)},f.Lh=function(t,i,s){switch(t){case 7:return Olt(this);case 8:return this.a}return Fwe(this,t,i,s)},f.Sh=function(t,i,s){var a;switch(i){case 7:return this.Cb&&(s=(a=this.Db>>16,a>=0?$me(this,s):this.Cb.Th(this,-1-a,null,s))),gge(this,u(t,167),s)}return zY(this,t,i,s)},f.Uh=function(t,i,s){return i==7?gge(this,null,s):IJ(this,t,i,s)},f.Wh=function(t){switch(t){case 7:return!!Olt(this);case 8:return!Ft("",this.a)}return Gwe(this,t)},f.bi=function(t,i){switch(t){case 7:cve(this,u(i,167));return;case 8:x0e(this,tr(i));return}Ume(this,t,i)},f.ii=function(){return Ia(),Txe},f.ki=function(t){switch(t){case 7:cve(this,null);return;case 8:x0e(this,"");return}Qwe(this,t)},f.Ib=function(){return R0t(this)},f.a="",O(D0,"ElkLabelImpl",366),$(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},iC),f.Ah=function(t){return Ome(this,t)},f.Lh=function(t,i,s){switch(t){case 9:return!this.c&&(this.c=new We(gc,this,9,9)),this.c;case 10:return!this.a&&(this.a=new We(Er,this,10,11)),this.a;case 11:return oi(this);case 12:return!this.b&&(this.b=new We(Ci,this,12,3)),this.b;case 13:return on(),!this.a&&(this.a=new We(Er,this,10,11)),this.a.i>0}return gme(this,t,i,s)},f.Sh=function(t,i,s){var a;switch(i){case 9:return!this.c&&(this.c=new We(gc,this,9,9)),il(this.c,t,s);case 10:return!this.a&&(this.a=new We(Er,this,10,11)),il(this.a,t,s);case 11:return this.Cb&&(s=(a=this.Db>>16,a>=0?Ome(this,s):this.Cb.Th(this,-1-a,null,s))),Epe(this,u(t,27),s);case 12:return!this.b&&(this.b=new We(Ci,this,12,3)),il(this.b,t,s)}return Dme(this,t,i,s)},f.Uh=function(t,i,s){switch(i){case 9:return!this.c&&(this.c=new We(gc,this,9,9)),Xo(this.c,t,s);case 10:return!this.a&&(this.a=new We(Er,this,10,11)),Xo(this.a,t,s);case 11:return Epe(this,null,s);case 12:return!this.b&&(this.b=new We(Ci,this,12,3)),Xo(this.b,t,s)}return Lme(this,t,i,s)},f.Wh=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!oi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new We(Er,this,10,11)),this.a.i>0}return awe(this,t)},f.bi=function(t,i){switch(t){case 9:!this.c&&(this.c=new We(gc,this,9,9)),Hn(this.c),!this.c&&(this.c=new We(gc,this,9,9)),vi(this.c,u(i,16));return;case 10:!this.a&&(this.a=new We(Er,this,10,11)),Hn(this.a),!this.a&&(this.a=new We(Er,this,10,11)),vi(this.a,u(i,16));return;case 11:OF(this,u(i,27));return;case 12:!this.b&&(this.b=new We(Ci,this,12,3)),Hn(this.b),!this.b&&(this.b=new We(Ci,this,12,3)),vi(this.b,u(i,16));return}Jye(this,t,i)},f.ii=function(){return Ia(),Pxe},f.ki=function(t){switch(t){case 9:!this.c&&(this.c=new We(gc,this,9,9)),Hn(this.c);return;case 10:!this.a&&(this.a=new We(Er,this,10,11)),Hn(this.a);return;case 11:OF(this,null);return;case 12:!this.b&&(this.b=new We(Ci,this,12,3)),Hn(this.b);return}fme(this,t)},f.Ib=function(){return Rve(this)},O(D0,"ElkNodeImpl",207),$(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},rhe),f.Ah=function(t){return Ime(this,t)},f.Lh=function(t,i,s){return t==9?Cd(this):gme(this,t,i,s)},f.Sh=function(t,i,s){var a;switch(i){case 9:return this.Cb&&(s=(a=this.Db>>16,a>=0?Ime(this,s):this.Cb.Th(this,-1-a,null,s))),bpe(this,u(t,27),s)}return Dme(this,t,i,s)},f.Uh=function(t,i,s){return i==9?bpe(this,null,s):Lme(this,t,i,s)},f.Wh=function(t){return t==9?!!Cd(this):awe(this,t)},f.bi=function(t,i){switch(t){case 9:ove(this,u(i,27));return}Jye(this,t,i)},f.ii=function(){return Ia(),Oxe},f.ki=function(t){switch(t){case 9:ove(this,null);return}fme(this,t)},f.Ib=function(){return hyt(this)},O(D0,"ElkPortImpl",193);var UTt=bi(Yo,"BasicEMap/Entry");$(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},EGe),f.Fb=function(t){return this===t},f.ld=function(){return this.b},f.Hb=function(){return Pw(this)},f.Di=function(t){$0e(this,u(t,149))},f.Lh=function(t,i,s){switch(t){case 0:return this.b;case 1:return this.c}return aF(this,t,i,s)},f.Wh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return yY(this,t)},f.bi=function(t,i){switch(t){case 0:$0e(this,u(i,149));return;case 1:C0e(this,i);return}rQ(this,t,i)},f.ii=function(){return Ia(),ub},f.ki=function(t){switch(t){case 0:$0e(this,null);return;case 1:C0e(this,null);return}eQ(this,t)},f.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?zr(t):0),this.a},f.md=function(){return this.c},f.Ci=function(t){this.a=t},f.nd=function(t){var i;return i=this.c,C0e(this,t),i},f.Ib=function(){var t;return this.Db&64?Pf(this):(t=new Pg,lr(lr(lr(t,this.b?this.b.Pg():Ml),QZ),LC(this.c)),t.a)},f.a=-1,f.c=null;var og=O(D0,"ElkPropertyToValueMapEntryImpl",1122);$(996,1,{},AGe),O($o,"JsonAdapter",996),$(216,63,zb,nh),O($o,"JsonImportException",216),$(868,1,{},E1t),O($o,"JsonImporter",868),$(903,1,{},Int),O($o,"JsonImporter/lambda$0$Type",903),$(904,1,{},Tnt),O($o,"JsonImporter/lambda$1$Type",904),$(912,1,{},QYe),O($o,"JsonImporter/lambda$10$Type",912),$(914,1,{},Pnt),O($o,"JsonImporter/lambda$11$Type",914),$(915,1,{},Ont),O($o,"JsonImporter/lambda$12$Type",915),$(921,1,{},Gat),O($o,"JsonImporter/lambda$13$Type",921),$(920,1,{},Kat),O($o,"JsonImporter/lambda$14$Type",920),$(916,1,{},Nnt),O($o,"JsonImporter/lambda$15$Type",916),$(917,1,{},Mnt),O($o,"JsonImporter/lambda$16$Type",917),$(918,1,{},Dnt),O($o,"JsonImporter/lambda$17$Type",918),$(919,1,{},Lnt),O($o,"JsonImporter/lambda$18$Type",919),$(924,1,{},ZYe),O($o,"JsonImporter/lambda$19$Type",924),$(905,1,{},eQe),O($o,"JsonImporter/lambda$2$Type",905),$(922,1,{},tQe),O($o,"JsonImporter/lambda$20$Type",922),$(923,1,{},nQe),O($o,"JsonImporter/lambda$21$Type",923),$(927,1,{},rQe),O($o,"JsonImporter/lambda$22$Type",927),$(925,1,{},iQe),O($o,"JsonImporter/lambda$23$Type",925),$(926,1,{},oQe),O($o,"JsonImporter/lambda$24$Type",926),$(929,1,{},sQe),O($o,"JsonImporter/lambda$25$Type",929),$(928,1,{},aQe),O($o,"JsonImporter/lambda$26$Type",928),$(930,1,En,jnt),f.Cd=function(t){Gbn(this.b,this.a,tr(t))},O($o,"JsonImporter/lambda$27$Type",930),$(931,1,En,Fnt),f.Cd=function(t){Kbn(this.b,this.a,tr(t))},O($o,"JsonImporter/lambda$28$Type",931),$(932,1,{},Bnt),O($o,"JsonImporter/lambda$29$Type",932),$(908,1,{},lQe),O($o,"JsonImporter/lambda$3$Type",908),$(933,1,{},Hnt),O($o,"JsonImporter/lambda$30$Type",933),$(934,1,{},cQe),O($o,"JsonImporter/lambda$31$Type",934),$(935,1,{},uQe),O($o,"JsonImporter/lambda$32$Type",935),$(936,1,{},fQe),O($o,"JsonImporter/lambda$33$Type",936),$(937,1,{},dQe),O($o,"JsonImporter/lambda$34$Type",937),$(870,1,{},hQe),O($o,"JsonImporter/lambda$35$Type",870),$(941,1,{},Mot),O($o,"JsonImporter/lambda$36$Type",941),$(938,1,En,bQe),f.Cd=function(t){Yhn(this.a,u(t,377))},O($o,"JsonImporter/lambda$37$Type",938),$(939,1,En,Wnt),f.Cd=function(t){Prn(this.a,this.b,u(t,166))},O($o,"JsonImporter/lambda$38$Type",939),$(940,1,En,Unt),f.Cd=function(t){Orn(this.a,this.b,u(t,166))},O($o,"JsonImporter/lambda$39$Type",940),$(906,1,{},pQe),O($o,"JsonImporter/lambda$4$Type",906),$(942,1,En,gQe),f.Cd=function(t){Qhn(this.a,u(t,8))},O($o,"JsonImporter/lambda$40$Type",942),$(907,1,{},wQe),O($o,"JsonImporter/lambda$5$Type",907),$(911,1,{},mQe),O($o,"JsonImporter/lambda$6$Type",911),$(909,1,{},yQe),O($o,"JsonImporter/lambda$7$Type",909),$(910,1,{},vQe),O($o,"JsonImporter/lambda$8$Type",910),$(913,1,{},_Qe),O($o,"JsonImporter/lambda$9$Type",913),$(961,1,En,SQe),f.Cd=function(t){PE(this.a,new My(tr(t)))},O($o,"JsonMetaDataConverter/lambda$0$Type",961),$(962,1,En,EQe),f.Cd=function(t){Ucn(this.a,u(t,245))},O($o,"JsonMetaDataConverter/lambda$1$Type",962),$(963,1,En,kQe),f.Cd=function(t){Wfn(this.a,u(t,143))},O($o,"JsonMetaDataConverter/lambda$2$Type",963),$(964,1,En,RQe),f.Cd=function(t){Vcn(this.a,u(t,170))},O($o,"JsonMetaDataConverter/lambda$3$Type",964),$(245,22,{3:1,34:1,22:1,245:1},mE);var vU,_U,hoe,SU,EU,kU,boe,poe,RU=jn(LP,"GraphFeature",245,Vn,Cpn,gln),VTt;$(11,1,{34:1,149:1},jr,di,Dt,yo),f.Fd=function(t){return jin(this,u(t,149))},f.Fb=function(t){return plt(this,t)},f.Sg=function(){return ut(this)},f.Pg=function(){return this.b},f.Hb=function(){return Mp(this.b)},f.Ib=function(){return this.b},O(LP,"Property",11),$(671,1,ir,YK),f.Ne=function(t,i){return q0n(this,u(t,96),u(i,96))},f.Fb=function(t){return this===t},f.Oe=function(){return new Jn(this)},O(LP,"PropertyHolderComparator",671),$(709,1,ho,jde),f.Nb=function(t){Ao(this,t)},f.Pb=function(){return Xbn(this)},f.Qb=function(){Eet()},f.Ob=function(){return!!this.a},O(KB,"ElkGraphUtil/AncestorIterator",709);var Mxe=bi(Yo,"EList");$(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),f.bd=function(t,i){R5(this,t,i)},f.Fc=function(t){return Wn(this,t)},f.cd=function(t,i){return Q0e(this,t,i)},f.Gc=function(t){return vi(this,t)},f.Ii=function(){return new EE(this)},f.Ji=function(){return new P8(this)},f.Ki=function(t){return k7(this,t)},f.Li=function(){return!0},f.Mi=function(t,i){},f.Ni=function(){},f.Oi=function(t,i){YX(this,t,i)},f.Pi=function(t,i,s){},f.Qi=function(t,i){},f.Ri=function(t,i,s){},f.Fb=function(t){return Ymt(this,t)},f.Hb=function(){return q0e(this)},f.Si=function(){return!1},f.Kc=function(){return new vn(this)},f.ed=function(){return new SE(this)},f.fd=function(t){var i;if(i=this.gc(),t<0||t>i)throw Z(new Py(t,i));return new nX(this,t)},f.Ui=function(t,i){this.Ti(t,this.dd(i))},f.Mc=function(t){return cj(this,t)},f.Wi=function(t,i){return i},f.hd=function(t,i){return X2(this,t,i)},f.Ib=function(){return Wwe(this)},f.Yi=function(){return!0},f.Zi=function(t,i){return u4(this,i)},O(Yo,"AbstractEList",70),$(66,70,Ah,xM,Xw,W0e),f.Ei=function(t,i){return qY(this,t,i)},f.Fi=function(t){return qgt(this,t)},f.Gi=function(t,i){F7(this,t,i)},f.Hi=function(t){l7(this,t)},f.$i=function(t){return n0e(this,t)},f.$b=function(){a5(this)},f.Hc=function(t){return A4(this,t)},f.Xb=function(t){return we(this,t)},f._i=function(t){var i,s,a;++this.j,s=this.g==null?0:this.g.length,t>s&&(a=this.g,i=s+(s/2|0)+4,i=0?(this.gd(i),!0):!1},f.Xi=function(t,i){return this.Dj(t,this.Zi(t,i))},f.gc=function(){return this.Ej()},f.Pc=function(){return this.Fj()},f.Qc=function(t){return this.Gj(t)},f.Ib=function(){return this.Hj()},O(Yo,"DelegatingEList",2093),$(2094,2093,h3t),f.Ei=function(t,i){return Lve(this,t,i)},f.Fi=function(t){return this.Ei(this.Ej(),t)},f.Gi=function(t,i){jwt(this,t,i)},f.Hi=function(t){Awt(this,t)},f.Li=function(){return!this.Mj()},f.$b=function(){tx(this)},f.Ij=function(t,i,s,a,c){return new blt(this,t,i,s,a,c)},f.Jj=function(t){Ir(this.jj(),t)},f.Kj=function(){return null},f.Lj=function(){return-1},f.jj=function(){return null},f.Mj=function(){return!1},f.Nj=function(t,i){return i},f.Oj=function(t,i){return i},f.Pj=function(){return!1},f.Qj=function(){return!this.Aj()},f.Ti=function(t,i){var s,a;return this.Pj()?(a=this.Qj(),s=cye(this,t,i),this.Jj(this.Ij(7,rt(i),s,t,a)),s):cye(this,t,i)},f.gd=function(t){var i,s,a,c;return this.Pj()?(s=null,a=this.Qj(),i=this.Ij(4,c=aL(this,t),null,t,a),this.Mj()&&c?(s=this.Oj(c,s),s?(s.nj(i),s.oj()):this.Jj(i)):s?(s.nj(i),s.oj()):this.Jj(i),c):(c=aL(this,t),this.Mj()&&c&&(s=this.Oj(c,null),s&&s.oj()),c)},f.Xi=function(t,i){return Gyt(this,t,i)},O(m3,"DelegatingNotifyingListImpl",2094),$(152,1,eO),f.nj=function(t){return qme(this,t)},f.oj=function(){oJ(this)},f.gj=function(){return this.d},f.Kj=function(){return null},f.Rj=function(){return null},f.hj=function(t){return-1},f.ij=function(){return Pmt(this)},f.jj=function(){return null},f.kj=function(){return bve(this)},f.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},f.Sj=function(){return!1},f.mj=function(t){var i,s,a,c,d,p,w,y,v,x,N;switch(this.d){case 1:case 2:switch(c=t.gj(),c){case 1:case 2:if(d=t.jj(),xe(d)===xe(this.jj())&&this.hj(null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0}case 4:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),xe(d)===xe(this.jj())&&this.hj(null)==t.hj(null))return v=e2e(this),y=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,p=t.lj(),this.d=6,N=new Xw(2),y<=p?(Wn(N,this.n),Wn(N,t.kj()),this.g=oe(re(Gn,1),ur,28,15,[this.o=y,p+1])):(Wn(N,t.kj()),Wn(N,this.n),this.g=oe(re(Gn,1),ur,28,15,[this.o=p,y])),this.n=N,v||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),xe(d)===xe(this.jj())&&this.hj(null)==t.hj(null)){for(v=e2e(this),p=t.lj(),x=u(this.g,53),a=Ne(Gn,ur,28,x.length+1,15,1),i=0;i>>0,i.toString(16))),a.a+=" (eventType: ",this.d){case 1:{a.a+="SET";break}case 2:{a.a+="UNSET";break}case 3:{a.a+="ADD";break}case 5:{a.a+="ADD_MANY";break}case 4:{a.a+="REMOVE";break}case 6:{a.a+="REMOVE_MANY";break}case 7:{a.a+="MOVE";break}case 8:{a.a+="REMOVING_ADAPTER";break}case 9:{a.a+="RESOLVE";break}default:{_z(a,this.d);break}}if(yyt(this)&&(a.a+=", touch: true"),a.a+=", position: ",_z(a,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),a.a+=", notifier: ",TC(a,this.jj()),a.a+=", feature: ",TC(a,this.Kj()),a.a+=", oldValue: ",TC(a,bve(this)),a.a+=", newValue: ",this.d==6&&pe(this.g,53)){for(s=u(this.g,53),a.a+="[",t=0;t10?((!this.b||this.c.j!=this.a)&&(this.b=new UC(this),this.a=this.j),rd(this.b,t)):A4(this,t)},f.Yi=function(){return!0},f.a=0,O(Yo,"AbstractEList/1",966),$(302,77,SZ,Py),O(Yo,"AbstractEList/BasicIndexOutOfBoundsException",302),$(37,1,ho,vn),f.Nb=function(t){Ao(this,t)},f.Xj=function(){if(this.i.j!=this.f)throw Z(new gu)},f.Yj=function(){return Rn(this)},f.Ob=function(){return this.e!=this.i.gc()},f.Pb=function(){return this.Yj()},f.Qb=function(){L5(this)},f.e=0,f.f=0,f.g=-1,O(Yo,"AbstractEList/EIterator",37),$(286,37,Xh,SE,nX),f.Qb=function(){L5(this)},f.Rb=function(t){Kpt(this,t)},f.Zj=function(){var t;try{return t=this.d.Xb(--this.e),this.Xj(),this.g=this.e,t}catch(i){throw i=ci(i),pe(i,77)?(this.Xj(),Z(new ea)):Z(i)}},f.$j=function(t){Ygt(this,t)},f.Sb=function(){return this.e!=0},f.Tb=function(){return this.e},f.Ub=function(){return this.Zj()},f.Vb=function(){return this.e-1},f.Wb=function(t){this.$j(t)},O(Yo,"AbstractEList/EListIterator",286),$(355,37,ho,EE),f.Yj=function(){return vY(this)},f.Qb=function(){throw Z(new Zn)},O(Yo,"AbstractEList/NonResolvingEIterator",355),$(398,286,Xh,P8,Ipe),f.Rb=function(t){throw Z(new Zn)},f.Yj=function(){var t;try{return t=this.c.Vi(this.e),this.Xj(),this.g=this.e++,t}catch(i){throw i=ci(i),pe(i,77)?(this.Xj(),Z(new ea)):Z(i)}},f.Zj=function(){var t;try{return t=this.c.Vi(--this.e),this.Xj(),this.g=this.e,t}catch(i){throw i=ci(i),pe(i,77)?(this.Xj(),Z(new ea)):Z(i)}},f.Qb=function(){throw Z(new Zn)},f.Wb=function(t){throw Z(new Zn)},O(Yo,"AbstractEList/NonResolvingEListIterator",398),$(2080,70,b3t),f.Ei=function(t,i){var s,a,c,d,p,w,y,v,x,N,j;if(c=i.gc(),c!=0){for(v=u(ln(this.a,4),129),x=v==null?0:v.length,j=x+c,a=UJ(this,j),N=x-t,N>0&&Da(v,t,a,t+c,N),y=i.Kc(),p=0;ps)throw Z(new Py(t,s));return new Dat(this,t)},f.$b=function(){var t,i;++this.j,t=u(ln(this.a,4),129),i=t==null?0:t.length,S4(this,null),YX(this,i,t)},f.Hc=function(t){var i,s,a,c,d;if(i=u(ln(this.a,4),129),i!=null){if(t!=null){for(a=i,c=0,d=a.length;c=s)throw Z(new Py(t,s));return i[t]},f.dd=function(t){var i,s,a;if(i=u(ln(this.a,4),129),i!=null){if(t!=null){for(s=0,a=i.length;ss)throw Z(new Py(t,s));return new Mat(this,t)},f.Ti=function(t,i){var s,a,c;if(s=ngt(this),c=s==null?0:s.length,t>=c)throw Z(new vs(bte+t+L0+c));if(i>=c)throw Z(new vs(pte+i+L0+c));return a=s[i],t!=i&&(t0&&Da(t,0,i,0,s),i},f.Qc=function(t){var i,s,a;return i=u(ln(this.a,4),129),a=i==null?0:i.length,a>0&&(t.lengtha&&pi(t,a,null),t};var GTt;O(Yo,"ArrayDelegatingEList",2080),$(1051,37,ho,Lut),f.Xj=function(){if(this.b.j!=this.f||xe(u(ln(this.b.a,4),129))!==xe(this.a))throw Z(new gu)},f.Qb=function(){L5(this),this.a=u(ln(this.b.a,4),129)},O(Yo,"ArrayDelegatingEList/EIterator",1051),$(722,286,Xh,Xst,Mat),f.Xj=function(){if(this.b.j!=this.f||xe(u(ln(this.b.a,4),129))!==xe(this.a))throw Z(new gu)},f.$j=function(t){Ygt(this,t),this.a=u(ln(this.b.a,4),129)},f.Qb=function(){L5(this),this.a=u(ln(this.b.a,4),129)},O(Yo,"ArrayDelegatingEList/EListIterator",722),$(1052,355,ho,jut),f.Xj=function(){if(this.b.j!=this.f||xe(u(ln(this.b.a,4),129))!==xe(this.a))throw Z(new gu)},O(Yo,"ArrayDelegatingEList/NonResolvingEIterator",1052),$(723,398,Xh,Jst,Dat),f.Xj=function(){if(this.b.j!=this.f||xe(u(ln(this.b.a,4),129))!==xe(this.a))throw Z(new gu)},O(Yo,"ArrayDelegatingEList/NonResolvingEListIterator",723),$(615,302,SZ,aq),O(Yo,"BasicEList/BasicIndexOutOfBoundsException",615),$(710,66,Ah,mbe),f.bd=function(t,i){throw Z(new Zn)},f.Fc=function(t){throw Z(new Zn)},f.cd=function(t,i){throw Z(new Zn)},f.Gc=function(t){throw Z(new Zn)},f.$b=function(){throw Z(new Zn)},f._i=function(t){throw Z(new Zn)},f.Kc=function(){return this.Ii()},f.ed=function(){return this.Ji()},f.fd=function(t){return this.Ki(t)},f.Ti=function(t,i){throw Z(new Zn)},f.Ui=function(t,i){throw Z(new Zn)},f.gd=function(t){throw Z(new Zn)},f.Mc=function(t){throw Z(new Zn)},f.hd=function(t,i){throw Z(new Zn)},O(Yo,"BasicEList/UnmodifiableEList",710),$(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),f.bd=function(t,i){Ain(this,t,u(i,44))},f.Fc=function(t){return yon(this,u(t,44))},f.Jc=function(t){xo(this,t)},f.Xb=function(t){return u(we(this.c,t),136)},f.Ti=function(t,i){return u(this.c.Ti(t,i),44)},f.Ui=function(t,i){Cin(this,t,u(i,44))},f.Lc=function(){return new Lt(null,new Wt(this,16))},f.gd=function(t){return u(this.c.gd(t),44)},f.hd=function(t,i){return Wcn(this,t,u(i,44))},f.jd=function(t){w0(this,t)},f.Nc=function(){return new Wt(this,16)},f.Oc=function(){return new Lt(null,new Wt(this,16))},f.cd=function(t,i){return this.c.cd(t,i)},f.Gc=function(t){return this.c.Gc(t)},f.$b=function(){this.c.$b()},f.Hc=function(t){return this.c.Hc(t)},f.Ic=function(t){return I7(this.c,t)},f._j=function(){var t,i,s;if(this.d==null){for(this.d=Ne(Dxe,GEe,66,2*this.f+1,0,1),s=this.e,this.f=0,i=this.c.Kc();i.e!=i.i.gc();)t=u(i.Yj(),136),fF(this,t);this.e=s}},f.Fb=function(t){return Eot(this,t)},f.Hb=function(){return q0e(this.c)},f.dd=function(t){return this.c.dd(t)},f.ak=function(){this.c=new AQe(this)},f.dc=function(){return this.f==0},f.Kc=function(){return this.c.Kc()},f.ed=function(){return this.c.ed()},f.fd=function(t){return this.c.fd(t)},f.bk=function(){return f7(this)},f.ck=function(t,i,s){return new Dot(t,i,s)},f.dk=function(){return new IGe},f.Mc=function(t){return cht(this,t)},f.gc=function(){return this.f},f.kd=function(t,i){return new $p(this.c,t,i)},f.Pc=function(){return this.c.Pc()},f.Qc=function(t){return this.c.Qc(t)},f.Ib=function(){return Wwe(this.c)},f.e=0,f.f=0,O(Yo,"BasicEMap",721),$(1046,66,Ah,AQe),f.Mi=function(t,i){inn(this,u(i,136))},f.Pi=function(t,i,s){var a;++(a=this,u(i,136),a).a.e},f.Qi=function(t,i){onn(this,u(i,136))},f.Ri=function(t,i,s){ion(this,u(i,136),u(s,136))},f.Oi=function(t,i){nbt(this.a)},O(Yo,"BasicEMap/1",1046),$(1047,66,Ah,IGe),f.aj=function(t){return Ne(K$n,p3t,621,t,0,1)},O(Yo,"BasicEMap/2",1047),$(1048,Fd,Yl,CQe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){return uY(this.a,t)},f.Kc=function(){return this.a.f==0?(kR(),w9.a):new uet(this.a)},f.Mc=function(t){var i;return i=this.a.f,Zj(this.a,t),this.a.f!=i},f.gc=function(){return this.a.f},O(Yo,"BasicEMap/3",1048),$(1049,31,cv,xQe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){return Qmt(this.a,t)},f.Kc=function(){return this.a.f==0?(kR(),w9.a):new fet(this.a)},f.gc=function(){return this.a.f},O(Yo,"BasicEMap/4",1049),$(1050,Fd,Yl,$Qe),f.$b=function(){this.a.c.$b()},f.Hc=function(t){var i,s,a,c,d,p,w,y,v;if(this.a.f>0&&pe(t,44)&&(this.a._j(),y=u(t,44),w=y.ld(),c=w==null?0:zr(w),d=ppe(this.a,c),i=this.a.d[d],i)){for(s=u(i.g,379),v=i.i,p=0;p"+this.c},f.a=0;var K$n=O(Yo,"BasicEMap/EntryImpl",621);$(546,1,{},$M),O(Yo,"BasicEMap/View",546);var w9;$(783,1,{}),f.Fb=function(t){return Yye((Gt(),Qo),t)},f.Hb=function(){return swe((Gt(),Qo))},f.Ib=function(){return e1((Gt(),Qo))},O(Yo,"ECollections/BasicEmptyUnmodifiableEList",783),$(1348,1,Xh,TGe),f.Nb=function(t){Ao(this,t)},f.Rb=function(t){throw Z(new Zn)},f.Ob=function(){return!1},f.Sb=function(){return!1},f.Pb=function(){throw Z(new ea)},f.Tb=function(){return 0},f.Ub=function(){throw Z(new ea)},f.Vb=function(){return-1},f.Qb=function(){throw Z(new Zn)},f.Wb=function(t){throw Z(new Zn)},O(Yo,"ECollections/BasicEmptyUnmodifiableEList/1",1348),$(1346,783,{20:1,16:1,15:1,61:1},yZe),f.bd=function(t,i){Det()},f.Fc=function(t){return Let()},f.cd=function(t,i){return jet()},f.Gc=function(t){return Fet()},f.$b=function(){Bet()},f.Hc=function(t){return!1},f.Ic=function(t){return!1},f.Jc=function(t){xo(this,t)},f.Xb=function(t){return _be((Gt(),t)),null},f.dd=function(t){return-1},f.dc=function(){return!0},f.Kc=function(){return this.a},f.ed=function(){return this.a},f.fd=function(t){return this.a},f.Ti=function(t,i){return Het()},f.Ui=function(t,i){Wet()},f.Lc=function(){return new Lt(null,new Wt(this,16))},f.gd=function(t){return Uet()},f.Mc=function(t){return Vet()},f.hd=function(t,i){return Get()},f.gc=function(){return 0},f.jd=function(t){w0(this,t)},f.Nc=function(){return new Wt(this,16)},f.Oc=function(){return new Lt(null,new Wt(this,16))},f.kd=function(t,i){return Gt(),new $p(Qo,t,i)},f.Pc=function(){return mge((Gt(),Qo))},f.Qc=function(t){return Gt(),O5(Qo,t)},O(Yo,"ECollections/EmptyUnmodifiableEList",1346),$(1347,783,{20:1,16:1,15:1,61:1,597:1},vZe),f.bd=function(t,i){Det()},f.Fc=function(t){return Let()},f.cd=function(t,i){return jet()},f.Gc=function(t){return Fet()},f.$b=function(){Bet()},f.Hc=function(t){return!1},f.Ic=function(t){return!1},f.Jc=function(t){xo(this,t)},f.Xb=function(t){return _be((Gt(),t)),null},f.dd=function(t){return-1},f.dc=function(){return!0},f.Kc=function(){return this.a},f.ed=function(){return this.a},f.fd=function(t){return this.a},f.Ti=function(t,i){return Het()},f.Ui=function(t,i){Wet()},f.Lc=function(){return new Lt(null,new Wt(this,16))},f.gd=function(t){return Uet()},f.Mc=function(t){return Vet()},f.hd=function(t,i){return Get()},f.gc=function(){return 0},f.jd=function(t){w0(this,t)},f.Nc=function(){return new Wt(this,16)},f.Oc=function(){return new Lt(null,new Wt(this,16))},f.kd=function(t,i){return Gt(),new $p(Qo,t,i)},f.Pc=function(){return mge((Gt(),Qo))},f.Qc=function(t){return Gt(),O5(Qo,t)},f.bk=function(){return Gt(),Gt(),nb},O(Yo,"ECollections/EmptyUnmodifiableEMap",1347);var jxe=bi(Yo,"Enumerator"),AU;$(288,1,{288:1},wQ),f.Fb=function(t){var i;return this===t?!0:pe(t,288)?(i=u(t,288),this.f==i.f&&icn(this.i,i.i)&&Vq(this.a,this.f&256?i.f&256?i.a:null:i.f&256?null:i.a)&&Vq(this.d,i.d)&&Vq(this.g,i.g)&&Vq(this.e,i.e)&&xmn(this,i)):!1},f.Hb=function(){return this.f},f.Ib=function(){return Tyt(this)},f.f=0;var KTt=0,zTt=0,qTt=0,XTt=0,Fxe=0,Bxe=0,Hxe=0,Wxe=0,Uxe=0,JTt,F$=0,B$=0,YTt=0,QTt=0,CU,Vxe;O(Yo,"URI",288),$(1121,45,u_,_Ze),f.zc=function(t,i){return u(Ss(this,tr(t),u(i,288)),288)},O(Yo,"URI/URICache",1121),$(506,66,Ah,RGe,hL),f.Si=function(){return!0},O(Yo,"UniqueEList",506),$(590,63,zb,sj),O(Yo,"WrappedException",590);var dr=bi(Nu,m3t),Gv=bi(Nu,y3t),Fl=bi(Nu,v3t),Kv=bi(Nu,_3t),yd=bi(Nu,S3t),lf=bi(Nu,"EClass"),moe=bi(Nu,"EDataType"),ZTt;$(1233,45,u_,SZe),f.xc=function(t){return fo(t)?Ha(this,t):Ts(as(this.f,t))},O(Nu,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var xU=bi(Nu,"EEnum"),np=bi(Nu,E3t),bs=bi(Nu,k3t),cf=bi(Nu,R3t),uf,Wm=bi(Nu,A3t),zv=bi(Nu,C3t);$(1042,1,{},kGe),f.Ib=function(){return"NIL"},O(Nu,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var e8t;$(1041,45,u_,EZe),f.xc=function(t){return fo(t)?Ha(this,t):Ts(as(this.f,t))},O(Nu,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var _l=bi(Nu,x3t),H3=bi(Nu,"EValidator/PatternMatcher"),Gxe,Kxe,sn,sg,qv,x1,t8t,n8t,r8t,$1,ag,I1,Um,Qd,i8t,o8t,ff,lg,s8t,cg,Xv,eS,rs,a8t,l8t,Vm,$U=bi(ri,"FeatureMap/Entry");$(545,1,{76:1},ID),f.Lk=function(){return this.a},f.md=function(){return this.b},O(an,"BasicEObjectImpl/1",545),$(1040,1,_te,znt),f.Fk=function(t){return zX(this.a,this.b,t)},f.Qj=function(){return $lt(this.a,this.b)},f.Wb=function(t){s1e(this.a,this.b,t)},f.Gk=function(){tun(this.a,this.b)},O(an,"BasicEObjectImpl/4",1040),$(2081,1,{114:1}),f.Mk=function(t){this.e=t==0?c8t:Ne(io,Zt,1,t,5,1)},f.li=function(t){return this.e[t]},f.mi=function(t,i){this.e[t]=i},f.ni=function(t){this.e[t]=null},f.Nk=function(){return this.c},f.Ok=function(){throw Z(new Zn)},f.Pk=function(){throw Z(new Zn)},f.Qk=function(){return this.d},f.Rk=function(){return this.e!=null},f.Sk=function(t){this.c=t},f.Tk=function(t){throw Z(new Zn)},f.Uk=function(t){throw Z(new Zn)},f.Vk=function(t){this.d=t};var c8t;O(an,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),$(192,2081,{114:1},td),f.Ok=function(){return this.a},f.Pk=function(){return this.b},f.Tk=function(t){this.a=t},f.Uk=function(t){this.b=t},O(an,"BasicEObjectImpl/EPropertiesHolderImpl",192),$(516,99,$Et,IM),f.uh=function(){return this.f},f.zh=function(){return this.k},f.Bh=function(t,i){this.g=t,this.i=i},f.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},f.Fh=function(){return this.i},f.wh=function(){return(this.j&1)!=0},f.Ph=function(){return this.g},f.Vh=function(){return(this.j&4)!=0},f.$h=function(){return!this.k&&(this.k=new td),this.k},f.ci=function(t){this.$h().Sk(t),t?this.j|=2:this.j&=-3},f.ei=function(t){this.$h().Uk(t),t?this.j|=4:this.j&=-5},f.ii=function(){return(Hg(),sn).S},f.i=0,f.j=1,O(an,"EObjectImpl",516),$(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},tge),f.li=function(t){return this.e[t]},f.mi=function(t,i){this.e[t]=i},f.ni=function(t){this.e[t]=null},f.Dh=function(){return this.d},f.Ih=function(t){return ui(this.d,t)},f.Kh=function(){return this.d},f.Oh=function(){return this.e!=null},f.$h=function(){return!this.k&&(this.k=new PGe),this.k},f.ci=function(t){this.d=t},f.hi=function(){var t;return this.e==null&&(t=xn(this.d),this.e=t==0?u8t:Ne(io,Zt,1,t,5,1)),this},f.ji=function(){return 0};var u8t;O(an,"DynamicEObjectImpl",798),$(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},ast),f.Fb=function(t){return this===t},f.Hb=function(){return Pw(this)},f.ci=function(t){this.d=t,this.b=dP(t,"key"),this.c=dP(t,kx)},f.Bi=function(){var t;return this.a==-1&&(t=sJ(this,this.b),this.a=t==null?0:zr(t)),this.a},f.ld=function(){return sJ(this,this.b)},f.md=function(){return sJ(this,this.c)},f.Ci=function(t){this.a=t},f.Di=function(t){s1e(this,this.b,t)},f.nd=function(t){var i;return i=sJ(this,this.c),s1e(this,this.c,t),i},f.a=0,O(an,"DynamicEObjectImpl/BasicEMapEntry",1522),$(1523,1,{114:1},PGe),f.Mk=function(t){throw Z(new Zn)},f.li=function(t){throw Z(new Zn)},f.mi=function(t,i){throw Z(new Zn)},f.ni=function(t){throw Z(new Zn)},f.Nk=function(){throw Z(new Zn)},f.Ok=function(){return this.a},f.Pk=function(){return this.b},f.Qk=function(){return this.c},f.Rk=function(){throw Z(new Zn)},f.Sk=function(t){throw Z(new Zn)},f.Tk=function(t){this.a=t},f.Uk=function(t){this.b=t},f.Vk=function(t){this.c=t},O(an,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),$(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},ide),f.Ah=function(t){return Tme(this,t)},f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.d;case 2:return s?(!this.b&&(this.b=new Nc((Vt(),rs),va,this)),this.b):(!this.b&&(this.b=new Nc((Vt(),rs),va,this)),f7(this.b));case 3:return Nlt(this);case 4:return!this.a&&(this.a=new Di(A1,this,4)),this.a;case 5:return!this.c&&(this.c=new O2(A1,this,5)),this.c}return ku(this,t-xn((Vt(),sg)),Yt((a=u(ln(this,16),29),a||sg),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 3:return this.Cb&&(s=(c=this.Db>>16,c>=0?Tme(this,s):this.Cb.Th(this,-1-c,null,s))),wge(this,u(t,155),s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),sg)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),sg)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 2:return!this.b&&(this.b=new Nc((Vt(),rs),va,this)),XD(this.b,t,s);case 3:return wge(this,null,s);case 4:return!this.a&&(this.a=new Di(A1,this,4)),Xo(this.a,t,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),sg)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),sg)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!Nlt(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Su(this,t-xn((Vt(),sg)),Yt((i=u(ln(this,16),29),i||sg),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:Gln(this,tr(i));return;case 2:!this.b&&(this.b=new Nc((Vt(),rs),va,this)),Tj(this.b,i);return;case 3:ymt(this,u(i,155));return;case 4:!this.a&&(this.a=new Di(A1,this,4)),Hn(this.a),!this.a&&(this.a=new Di(A1,this,4)),vi(this.a,u(i,16));return;case 5:!this.c&&(this.c=new O2(A1,this,5)),Hn(this.c),!this.c&&(this.c=new O2(A1,this,5)),vi(this.c,u(i,16));return}xu(this,t-xn((Vt(),sg)),Yt((s=u(ln(this,16),29),s||sg),t),i)},f.ii=function(){return Vt(),sg},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:P0e(this,null);return;case 2:!this.b&&(this.b=new Nc((Vt(),rs),va,this)),this.b.c.$b();return;case 3:ymt(this,null);return;case 4:!this.a&&(this.a=new Di(A1,this,4)),Hn(this.a);return;case 5:!this.c&&(this.c=new O2(A1,this,5)),Hn(this.c);return}Cu(this,t-xn((Vt(),sg)),Yt((i=u(ln(this,16),29),i||sg),t))},f.Ib=function(){return Ept(this)},f.d=null,O(an,"EAnnotationImpl",519),$(141,721,KEe,ql),f.Gi=function(t,i){cin(this,t,u(i,44))},f.Wk=function(t,i){return fsn(this,u(t,44),i)},f.$i=function(t){return u(u(this.c,71).$i(t),136)},f.Ii=function(){return u(this.c,71).Ii()},f.Ji=function(){return u(this.c,71).Ji()},f.Ki=function(t){return u(this.c,71).Ki(t)},f.Xk=function(t,i){return XD(this,t,i)},f.Fk=function(t){return u(this.c,79).Fk(t)},f.ak=function(){},f.Qj=function(){return u(this.c,79).Qj()},f.ck=function(t,i,s){var a;return a=u(Jc(this.b).wi().si(this.b),136),a.Ci(t),a.Di(i),a.nd(s),a},f.dk=function(){return new Bde(this)},f.Wb=function(t){Tj(this,t)},f.Gk=function(){u(this.c,79).Gk()},O(ri,"EcoreEMap",141),$(165,141,KEe,Nc),f._j=function(){var t,i,s,a,c,d;if(this.d==null){for(d=Ne(Dxe,GEe,66,2*this.f+1,0,1),s=this.c.Kc();s.e!=s.i.gc();)i=u(s.Yj(),136),a=i.Bi(),c=(a&xr)%d.length,t=d[c],!t&&(t=d[c]=new Bde(this)),t.Fc(i);this.d=d}},O(an,"EAnnotationImpl/1",165),$(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),f.Lh=function(t,i,s){var a,c;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return on(),!!(this.Bb&256);case 3:return on(),!!(this.Bb&512);case 4:return rt(this.s);case 5:return rt(this.t);case 6:return on(),!!this.Jk();case 7:return on(),c=this.s,c>=1;case 8:return i?Ju(this):this.r;case 9:return this.q}return ku(this,t-xn(this.ii()),Yt((a=u(ln(this,16),29),a||this.ii()),t),i,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 9:return oX(this,s)}return c=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),c.wk().Ak(this,pl(this),i-xn(this.ii()),t,s)},f.Wh=function(t){var i,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return s=this.s,s>=1;case 8:return!!this.r&&!this.q.e&&Bw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Bw(this.q).i==0)}return Su(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.bi=function(t,i){var s,a;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:this.ui(tr(i));return;case 2:jp(this,bt(ht(i)));return;case 3:Fp(this,bt(ht(i)));return;case 4:Np(this,u(i,17).a);return;case 5:this.Zk(u(i,17).a);return;case 8:E0(this,u(i,142));return;case 9:a=Ld(this,u(i,89),null),a&&a.oj();return}xu(this,t-xn(this.ii()),Yt((s=u(ln(this,16),29),s||this.ii()),t),i)},f.ii=function(){return Vt(),l8t},f.ki=function(t){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:this.ui(null);return;case 2:jp(this,!0);return;case 3:Fp(this,!0);return;case 4:Np(this,0);return;case 5:this.Zk(1);return;case 8:E0(this,null);return;case 9:s=Ld(this,null,null),s&&s.oj();return}Cu(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.pi=function(){Ju(this),this.Bb|=1},f.Hk=function(){return Ju(this)},f.Ik=function(){return this.t},f.Jk=function(){var t;return t=this.t,t>1||t==-1},f.Si=function(){return(this.Bb&512)!=0},f.Yk=function(t,i){return Rwe(this,t,i)},f.Zk=function(t){Gy(this,t)},f.Ib=function(){return Wye(this)},f.s=0,f.t=1,O(an,"ETypedElementImpl",292),$(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),f.Ah=function(t){return d1t(this,t)},f.Lh=function(t,i,s){var a,c;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return on(),!!(this.Bb&256);case 3:return on(),!!(this.Bb&512);case 4:return rt(this.s);case 5:return rt(this.t);case 6:return on(),!!this.Jk();case 7:return on(),c=this.s,c>=1;case 8:return i?Ju(this):this.r;case 9:return this.q;case 10:return on(),!!(this.Bb&Mf);case 11:return on(),!!(this.Bb&mv);case 12:return on(),!!(this.Bb&fv);case 13:return this.j;case 14:return P4(this);case 15:return on(),!!(this.Bb&Zl);case 16:return on(),!!(this.Bb&wh);case 17:return Ly(this)}return ku(this,t-xn(this.ii()),Yt((a=u(ln(this,16),29),a||this.ii()),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 17:return this.Cb&&(s=(c=this.Db>>16,c>=0?d1t(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,17,s)}return d=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),d.wk().zk(this,pl(this),i-xn(this.ii()),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 9:return oX(this,s);case 17:return nu(this,null,17,s)}return c=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),c.wk().Ak(this,pl(this),i-xn(this.ii()),t,s)},f.Wh=function(t){var i,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return s=this.s,s>=1;case 8:return!!this.r&&!this.q.e&&Bw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Bw(this.q).i==0);case 10:return(this.Bb&Mf)==0;case 11:return(this.Bb&mv)!=0;case 12:return(this.Bb&fv)!=0;case 13:return this.j!=null;case 14:return P4(this)!=null;case 15:return(this.Bb&Zl)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Ly(this)}return Su(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.bi=function(t,i){var s,a;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:PX(this,tr(i));return;case 2:jp(this,bt(ht(i)));return;case 3:Fp(this,bt(ht(i)));return;case 4:Np(this,u(i,17).a);return;case 5:this.Zk(u(i,17).a);return;case 8:E0(this,u(i,142));return;case 9:a=Ld(this,u(i,89),null),a&&a.oj();return;case 10:p4(this,bt(ht(i)));return;case 11:m4(this,bt(ht(i)));return;case 12:g4(this,bt(ht(i)));return;case 13:wbe(this,tr(i));return;case 15:w4(this,bt(ht(i)));return;case 16:y4(this,bt(ht(i)));return}xu(this,t-xn(this.ii()),Yt((s=u(ln(this,16),29),s||this.ii()),t),i)},f.ii=function(){return Vt(),a8t},f.ki=function(t){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:pe(this.Cb,90)&&nv(vc(u(this.Cb,90)),4),rl(this,null);return;case 2:jp(this,!0);return;case 3:Fp(this,!0);return;case 4:Np(this,0);return;case 5:this.Zk(1);return;case 8:E0(this,null);return;case 9:s=Ld(this,null,null),s&&s.oj();return;case 10:p4(this,!0);return;case 11:m4(this,!1);return;case 12:g4(this,!1);return;case 13:this.i=null,Rj(this,null);return;case 15:w4(this,!1);return;case 16:y4(this,!1);return}Cu(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.pi=function(){MR(Es((Jl(),To),this)),Ju(this),this.Bb|=1},f.pk=function(){return this.f},f.ik=function(){return P4(this)},f.qk=function(){return Ly(this)},f.uk=function(){return null},f.$k=function(){return this.k},f.Lj=function(){return this.n},f.vk=function(){return yF(this)},f.wk=function(){var t,i,s,a,c,d,p,w,y;return this.p||(s=Ly(this),(s.i==null&&gh(s),s.i).length,a=this.uk(),a&&xn(Ly(a)),c=Ju(this),p=c.kk(),t=p?p.i&1?p==$c?Ri:p==Gn?Io:p==Yv?bA:p==bo?Wi:p==P1?Em:p==iS?km:p==tc?y3:Mx:p:null,i=P4(this),w=c.ik(),own(this),this.Bb&wh&&((d=jme((Jl(),To),s))&&d!=this||(d=LE(Es(To,this))))?this.p=new Xnt(this,d):this.Jk()?this.al()?a?this.Bb&Zl?t?this.bl()?this.p=new u0(47,t,this,a):this.p=new u0(5,t,this,a):this.bl()?this.p=new p0(46,this,a):this.p=new p0(4,this,a):t?this.bl()?this.p=new u0(49,t,this,a):this.p=new u0(7,t,this,a):this.bl()?this.p=new p0(48,this,a):this.p=new p0(6,this,a):this.Bb&Zl?t?t==B0?this.p=new Ap(50,UTt,this):this.bl()?this.p=new Ap(43,t,this):this.p=new Ap(1,t,this):this.bl()?this.p=new xp(42,this):this.p=new xp(0,this):t?t==B0?this.p=new Ap(41,UTt,this):this.bl()?this.p=new Ap(45,t,this):this.p=new Ap(3,t,this):this.bl()?this.p=new xp(44,this):this.p=new xp(2,this):pe(c,156)?t==$U?this.p=new xp(40,this):this.Bb&512?this.Bb&Zl?t?this.p=new Ap(9,t,this):this.p=new xp(8,this):t?this.p=new Ap(11,t,this):this.p=new xp(10,this):this.Bb&Zl?t?this.p=new Ap(13,t,this):this.p=new xp(12,this):t?this.p=new Ap(15,t,this):this.p=new xp(14,this):a?(y=a.t,y>1||y==-1?this.bl()?this.Bb&Zl?t?this.p=new u0(25,t,this,a):this.p=new p0(24,this,a):t?this.p=new u0(27,t,this,a):this.p=new p0(26,this,a):this.Bb&Zl?t?this.p=new u0(29,t,this,a):this.p=new p0(28,this,a):t?this.p=new u0(31,t,this,a):this.p=new p0(30,this,a):this.bl()?this.Bb&Zl?t?this.p=new u0(33,t,this,a):this.p=new p0(32,this,a):t?this.p=new u0(35,t,this,a):this.p=new p0(34,this,a):this.Bb&Zl?t?this.p=new u0(37,t,this,a):this.p=new p0(36,this,a):t?this.p=new u0(39,t,this,a):this.p=new p0(38,this,a)):this.bl()?this.Bb&Zl?t?this.p=new Ap(17,t,this):this.p=new xp(16,this):t?this.p=new Ap(19,t,this):this.p=new xp(18,this):this.Bb&Zl?t?this.p=new Ap(21,t,this):this.p=new xp(20,this):t?this.p=new Ap(23,t,this):this.p=new xp(22,this):this._k()?this.bl()?this.p=new Lot(u(c,29),this,a):this.p=new i1e(u(c,29),this,a):pe(c,156)?t==$U?this.p=new xp(40,this):this.Bb&Zl?t?this.p=new Dst(i,w,this,(fY(),p==Gn?Zxe:p==$c?qxe:p==P1?e$e:p==Yv?Qxe:p==bo?Yxe:p==iS?t$e:p==tc?Xxe:p==Hu?Jxe:_oe)):this.p=new Xat(u(c,156),i,w,this):t?this.p=new Mst(i,w,this,(fY(),p==Gn?Zxe:p==$c?qxe:p==P1?e$e:p==Yv?Qxe:p==bo?Yxe:p==iS?t$e:p==tc?Xxe:p==Hu?Jxe:_oe)):this.p=new qat(u(c,156),i,w,this):this.al()?a?this.Bb&Zl?this.bl()?this.p=new Fot(u(c,29),this,a):this.p=new Upe(u(c,29),this,a):this.bl()?this.p=new jot(u(c,29),this,a):this.p=new Lq(u(c,29),this,a):this.Bb&Zl?this.bl()?this.p=new Mit(u(c,29),this):this.p=new rpe(u(c,29),this):this.bl()?this.p=new Nit(u(c,29),this):this.p=new kq(u(c,29),this):this.bl()?a?this.Bb&Zl?this.p=new Bot(u(c,29),this,a):this.p=new Hpe(u(c,29),this,a):this.Bb&Zl?this.p=new Dit(u(c,29),this):this.p=new ipe(u(c,29),this):a?this.Bb&Zl?this.p=new Hot(u(c,29),this,a):this.p=new Wpe(u(c,29),this,a):this.Bb&Zl?this.p=new Lit(u(c,29),this):this.p=new dL(u(c,29),this)),this.p},f.rk=function(){return(this.Bb&Mf)!=0},f._k=function(){return!1},f.al=function(){return!1},f.sk=function(){return(this.Bb&wh)!=0},f.xk=function(){return aJ(this)},f.bl=function(){return!1},f.tk=function(){return(this.Bb&Zl)!=0},f.cl=function(t){this.k=t},f.ui=function(t){PX(this,t)},f.Ib=function(){return BF(this)},f.e=!1,f.n=0,O(an,"EStructuralFeatureImpl",462),$(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},iz),f.Lh=function(t,i,s){var a,c;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return on(),!!(this.Bb&256);case 3:return on(),!!(this.Bb&512);case 4:return rt(this.s);case 5:return rt(this.t);case 6:return on(),!!Dye(this);case 7:return on(),c=this.s,c>=1;case 8:return i?Ju(this):this.r;case 9:return this.q;case 10:return on(),!!(this.Bb&Mf);case 11:return on(),!!(this.Bb&mv);case 12:return on(),!!(this.Bb&fv);case 13:return this.j;case 14:return P4(this);case 15:return on(),!!(this.Bb&Zl);case 16:return on(),!!(this.Bb&wh);case 17:return Ly(this);case 18:return on(),!!(this.Bb&Aa);case 19:return i?TJ(this):Qut(this)}return ku(this,t-xn((Vt(),qv)),Yt((a=u(ln(this,16),29),a||qv),t),i,s)},f.Wh=function(t){var i,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Dye(this);case 7:return s=this.s,s>=1;case 8:return!!this.r&&!this.q.e&&Bw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Bw(this.q).i==0);case 10:return(this.Bb&Mf)==0;case 11:return(this.Bb&mv)!=0;case 12:return(this.Bb&fv)!=0;case 13:return this.j!=null;case 14:return P4(this)!=null;case 15:return(this.Bb&Zl)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Ly(this);case 18:return(this.Bb&Aa)!=0;case 19:return!!Qut(this)}return Su(this,t-xn((Vt(),qv)),Yt((i=u(ln(this,16),29),i||qv),t))},f.bi=function(t,i){var s,a;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:PX(this,tr(i));return;case 2:jp(this,bt(ht(i)));return;case 3:Fp(this,bt(ht(i)));return;case 4:Np(this,u(i,17).a);return;case 5:bet(this,u(i,17).a);return;case 8:E0(this,u(i,142));return;case 9:a=Ld(this,u(i,89),null),a&&a.oj();return;case 10:p4(this,bt(ht(i)));return;case 11:m4(this,bt(ht(i)));return;case 12:g4(this,bt(ht(i)));return;case 13:wbe(this,tr(i));return;case 15:w4(this,bt(ht(i)));return;case 16:y4(this,bt(ht(i)));return;case 18:rY(this,bt(ht(i)));return}xu(this,t-xn((Vt(),qv)),Yt((s=u(ln(this,16),29),s||qv),t),i)},f.ii=function(){return Vt(),qv},f.ki=function(t){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:pe(this.Cb,90)&&nv(vc(u(this.Cb,90)),4),rl(this,null);return;case 2:jp(this,!0);return;case 3:Fp(this,!0);return;case 4:Np(this,0);return;case 5:this.b=0,Gy(this,1);return;case 8:E0(this,null);return;case 9:s=Ld(this,null,null),s&&s.oj();return;case 10:p4(this,!0);return;case 11:m4(this,!1);return;case 12:g4(this,!1);return;case 13:this.i=null,Rj(this,null);return;case 15:w4(this,!1);return;case 16:y4(this,!1);return;case 18:rY(this,!1);return}Cu(this,t-xn((Vt(),qv)),Yt((i=u(ln(this,16),29),i||qv),t))},f.pi=function(){TJ(this),MR(Es((Jl(),To),this)),Ju(this),this.Bb|=1},f.Jk=function(){return Dye(this)},f.Yk=function(t,i){return this.b=0,this.a=null,Rwe(this,t,i)},f.Zk=function(t){bet(this,t)},f.Ib=function(){var t;return this.Db&64?BF(this):(t=new Ku(BF(this)),t.a+=" (iD: ",Sp(t,(this.Bb&Aa)!=0),t.a+=")",t.a)},f.b=0,O(an,"EAttributeImpl",331),$(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),f.dl=function(t){return t.Dh()==this},f.Ah=function(t){return DY(this,t)},f.Bh=function(t,i){this.w=null,this.Db=i<<16|this.Db&255,this.Cb=t},f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return am(this);case 4:return this.ik();case 5:return this.F;case 6:return i?Jc(this):jR(this);case 7:return!this.A&&(this.A=new Vl(_l,this,7)),this.A}return ku(this,t-xn(this.ii()),Yt((a=u(ln(this,16),29),a||this.ii()),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 6:return this.Cb&&(s=(c=this.Db>>16,c>=0?DY(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,6,s)}return d=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),d.wk().zk(this,pl(this),i-xn(this.ii()),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 6:return nu(this,null,6,s);case 7:return!this.A&&(this.A=new Vl(_l,this,7)),Xo(this.A,t,s)}return c=u(Yt((a=u(ln(this,16),29),a||this.ii()),i),69),c.wk().Ak(this,pl(this),i-xn(this.ii()),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!am(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!jR(this);case 7:return!!this.A&&this.A.i!=0}return Su(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:HL(this,tr(i));return;case 2:uq(this,tr(i));return;case 5:F4(this,tr(i));return;case 7:!this.A&&(this.A=new Vl(_l,this,7)),Hn(this.A),!this.A&&(this.A=new Vl(_l,this,7)),vi(this.A,u(i,16));return}xu(this,t-xn(this.ii()),Yt((s=u(ln(this,16),29),s||this.ii()),t),i)},f.ii=function(){return Vt(),t8t},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:pe(this.Cb,184)&&(u(this.Cb,184).tb=null),rl(this,null);return;case 2:d4(this,null),YR(this,this.D);return;case 5:F4(this,null);return;case 7:!this.A&&(this.A=new Vl(_l,this,7)),Hn(this.A);return}Cu(this,t-xn(this.ii()),Yt((i=u(ln(this,16),29),i||this.ii()),t))},f.hk=function(){var t;return this.G==-1&&(this.G=(t=Jc(this),t?Wp(t.vi(),this):-1)),this.G},f.ik=function(){return null},f.jk=function(){return Jc(this)},f.el=function(){return this.v},f.kk=function(){return am(this)},f.lk=function(){return this.D!=null?this.D:this.B},f.mk=function(){return this.F},f.fk=function(t){return AQ(this,t)},f.fl=function(t){this.v=t},f.gl=function(t){Dht(this,t)},f.hl=function(t){this.C=t},f.ui=function(t){HL(this,t)},f.Ib=function(){return Xj(this)},f.C=null,f.D=null,f.G=-1,O(an,"EClassifierImpl",364),$(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},lde),f.dl=function(t){return qon(this,t.Dh())},f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return am(this);case 4:return null;case 5:return this.F;case 6:return i?Jc(this):jR(this);case 7:return!this.A&&(this.A=new Vl(_l,this,7)),this.A;case 8:return on(),!!(this.Bb&256);case 9:return on(),!!(this.Bb&512);case 10:return Os(this);case 11:return!this.q&&(this.q=new We(cf,this,11,10)),this.q;case 12:return s_(this);case 13:return Q5(this);case 14:return Q5(this),this.r;case 15:return s_(this),this.k;case 16:return Rye(this);case 17:return IQ(this);case 18:return gh(this);case 19:return TF(this);case 20:return s_(this),this.o;case 21:return!this.s&&(this.s=new We(Fl,this,21,17)),this.s;case 22:return Na(this);case 23:return gQ(this)}return ku(this,t-xn((Vt(),x1)),Yt((a=u(ln(this,16),29),a||x1),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 6:return this.Cb&&(s=(c=this.Db>>16,c>=0?DY(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,6,s);case 11:return!this.q&&(this.q=new We(cf,this,11,10)),il(this.q,t,s);case 21:return!this.s&&(this.s=new We(Fl,this,21,17)),il(this.s,t,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),x1)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),x1)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 6:return nu(this,null,6,s);case 7:return!this.A&&(this.A=new Vl(_l,this,7)),Xo(this.A,t,s);case 11:return!this.q&&(this.q=new We(cf,this,11,10)),Xo(this.q,t,s);case 21:return!this.s&&(this.s=new We(Fl,this,21,17)),Xo(this.s,t,s);case 22:return Xo(Na(this),t,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),x1)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),x1)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!am(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!jR(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Na(this.u.a).i!=0&&!(this.n&&RY(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return s_(this).i!=0;case 13:return Q5(this).i!=0;case 14:return Q5(this),this.r.i!=0;case 15:return s_(this),this.k.i!=0;case 16:return Rye(this).i!=0;case 17:return IQ(this).i!=0;case 18:return gh(this).i!=0;case 19:return TF(this).i!=0;case 20:return s_(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&RY(this.n);case 23:return gQ(this).i!=0}return Su(this,t-xn((Vt(),x1)),Yt((i=u(ln(this,16),29),i||x1),t))},f.Zh=function(t){var i;return i=this.i==null||this.q&&this.q.i!=0?null:dP(this,t),i||a2e(this,t)},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:HL(this,tr(i));return;case 2:uq(this,tr(i));return;case 5:F4(this,tr(i));return;case 7:!this.A&&(this.A=new Vl(_l,this,7)),Hn(this.A),!this.A&&(this.A=new Vl(_l,this,7)),vi(this.A,u(i,16));return;case 8:Awe(this,bt(ht(i)));return;case 9:Cwe(this,bt(ht(i)));return;case 10:tx(Os(this)),vi(Os(this),u(i,16));return;case 11:!this.q&&(this.q=new We(cf,this,11,10)),Hn(this.q),!this.q&&(this.q=new We(cf,this,11,10)),vi(this.q,u(i,16));return;case 21:!this.s&&(this.s=new We(Fl,this,21,17)),Hn(this.s),!this.s&&(this.s=new We(Fl,this,21,17)),vi(this.s,u(i,16));return;case 22:Hn(Na(this)),vi(Na(this),u(i,16));return}xu(this,t-xn((Vt(),x1)),Yt((s=u(ln(this,16),29),s||x1),t),i)},f.ii=function(){return Vt(),x1},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:pe(this.Cb,184)&&(u(this.Cb,184).tb=null),rl(this,null);return;case 2:d4(this,null),YR(this,this.D);return;case 5:F4(this,null);return;case 7:!this.A&&(this.A=new Vl(_l,this,7)),Hn(this.A);return;case 8:Awe(this,!1);return;case 9:Cwe(this,!1);return;case 10:this.u&&tx(this.u);return;case 11:!this.q&&(this.q=new We(cf,this,11,10)),Hn(this.q);return;case 21:!this.s&&(this.s=new We(Fl,this,21,17)),Hn(this.s);return;case 22:this.n&&Hn(this.n);return}Cu(this,t-xn((Vt(),x1)),Yt((i=u(ln(this,16),29),i||x1),t))},f.pi=function(){var t,i;if(s_(this),Q5(this),Rye(this),IQ(this),gh(this),TF(this),gQ(this),a5(vln(vc(this))),this.s)for(t=0,i=this.s.i;t=0;--i)we(this,i);return Ywe(this,t)},f.Gk=function(){Hn(this)},f.Zi=function(t,i){return iht(this,t,i)},O(ri,"EcoreEList",632),$(505,632,qs,V8),f.Li=function(){return!1},f.Lj=function(){return this.c},f.Mj=function(){return!1},f.ol=function(){return!0},f.Si=function(){return!0},f.Wi=function(t,i){return i},f.Yi=function(){return!1},f.c=0,O(ri,"EObjectEList",505),$(83,505,qs,Di),f.Mj=function(){return!0},f.ml=function(){return!1},f.al=function(){return!0},O(ri,"EObjectContainmentEList",83),$(555,83,qs,BD),f.Ni=function(){this.b=!0},f.Qj=function(){return this.b},f.Gk=function(){var t;Hn(this),Pc(this.e)?(t=this.b,this.b=!1,Ir(this.e,new $f(this.e,2,this.c,t,!1))):this.b=!1},f.b=!1,O(ri,"EObjectContainmentEList/Unsettable",555),$(1161,555,qs,Ost),f.Ti=function(t,i){var s,a;return s=u(A5(this,t,i),89),Pc(this.e)&&lR(this,new d7(this.a,7,(Vt(),n8t),rt(i),(a=s.c,pe(a,90)?u(a,29):ff),t)),s},f.Uj=function(t,i){return Hwn(this,u(t,89),i)},f.Vj=function(t,i){return Bwn(this,u(t,89),i)},f.Wj=function(t,i,s){return Vvn(this,u(t,89),u(i,89),s)},f.Ij=function(t,i,s,a,c){switch(t){case 3:return t5(this,t,i,s,a,this.i>1);case 5:return t5(this,t,i,s,a,this.i-u(s,15).gc()>0);default:return new Db(this.e,t,this.c,i,s,a,!0)}},f.Tj=function(){return!0},f.Qj=function(){return RY(this)},f.Gk=function(){Hn(this)},O(an,"EClassImpl/1",1161),$(1175,1174,VEe),f.dj=function(t){var i,s,a,c,d,p,w;if(s=t.gj(),s!=8){if(a=Smn(t),a==0)switch(s){case 1:case 9:{w=t.kj(),w!=null&&(i=vc(u(w,482)),!i.c&&(i.c=new tR),cj(i.c,t.jj())),p=t.ij(),p!=null&&(c=u(p,482),c.Bb&1||(i=vc(c),!i.c&&(i.c=new tR),Wn(i.c,u(t.jj(),29))));break}case 3:{p=t.ij(),p!=null&&(c=u(p,482),c.Bb&1||(i=vc(c),!i.c&&(i.c=new tR),Wn(i.c,u(t.jj(),29))));break}case 5:{if(p=t.ij(),p!=null)for(d=u(p,16).Kc();d.Ob();)c=u(d.Pb(),482),c.Bb&1||(i=vc(c),!i.c&&(i.c=new tR),Wn(i.c,u(t.jj(),29)));break}case 4:{w=t.kj(),w!=null&&(c=u(w,482),c.Bb&1||(i=vc(c),!i.c&&(i.c=new tR),cj(i.c,t.jj())));break}case 6:{if(w=t.kj(),w!=null)for(d=u(w,16).Kc();d.Ob();)c=u(d.Pb(),482),c.Bb&1||(i=vc(c),!i.c&&(i.c=new tR),cj(i.c,t.jj()));break}}this.ql(a)}},f.ql=function(t){oyt(this,t)},f.b=63,O(an,"ESuperAdapter",1175),$(1176,1175,VEe,TQe),f.ql=function(t){nv(this,t)},O(an,"EClassImpl/10",1176),$(1165,710,qs),f.Ei=function(t,i){return qY(this,t,i)},f.Fi=function(t){return qgt(this,t)},f.Gi=function(t,i){F7(this,t,i)},f.Hi=function(t){l7(this,t)},f.$i=function(t){return n0e(this,t)},f.Xi=function(t,i){return lJ(this,t,i)},f.Wk=function(t,i){throw Z(new Zn)},f.Ii=function(){return new EE(this)},f.Ji=function(){return new P8(this)},f.Ki=function(t){return k7(this,t)},f.Xk=function(t,i){throw Z(new Zn)},f.Fk=function(t){return this},f.Qj=function(){return this.i!=0},f.Wb=function(t){throw Z(new Zn)},f.Gk=function(){throw Z(new Zn)},O(ri,"EcoreEList/UnmodifiableEList",1165),$(328,1165,qs,C2),f.Yi=function(){return!1},O(ri,"EcoreEList/UnmodifiableEList/FastCompare",328),$(1168,328,qs,$bt),f.dd=function(t){var i,s,a;if(pe(t,179)&&(i=u(t,179),s=i.Lj(),s!=-1)){for(a=this.i;s4)if(this.fk(t)){if(this.al()){if(a=u(t,54),s=a.Eh(),w=s==this.b&&(this.ml()?a.yh(a.Fh(),u(Yt(Tl(this.b),this.Lj()).Hk(),29).kk())==os(u(Yt(Tl(this.b),this.Lj()),19)).n:-1-a.Fh()==this.Lj()),this.nl()&&!w&&!s&&a.Jh()){for(c=0;c1||a==-1)):!1},f.ml=function(){var t,i,s;return i=Yt(Tl(this.b),this.Lj()),pe(i,102)?(t=u(i,19),s=os(t),!!s):!1},f.nl=function(){var t,i;return i=Yt(Tl(this.b),this.Lj()),pe(i,102)?(t=u(i,19),(t.Bb&ts)!=0):!1},f.dd=function(t){var i,s,a,c;if(a=this.zj(t),a>=0)return a;if(this.ol()){for(s=0,c=this.Ej();s=0;--t)SP(this,t,this.xj(t));return this.Fj()},f.Qc=function(t){var i;if(this.nl())for(i=this.Ej()-1;i>=0;--i)SP(this,i,this.xj(i));return this.Gj(t)},f.Gk=function(){tx(this)},f.Zi=function(t,i){return Mft(this,t,i)},O(ri,"DelegatingEcoreEList",756),$(1171,756,qEe,Xit),f.qj=function(t,i){mon(this,t,u(i,29))},f.rj=function(t){sin(this,u(t,29))},f.xj=function(t){var i,s;return i=u(we(Na(this.a),t),89),s=i.c,pe(s,90)?u(s,29):(Vt(),ff)},f.Cj=function(t){var i,s;return i=u(ov(Na(this.a),t),89),s=i.c,pe(s,90)?u(s,29):(Vt(),ff)},f.Dj=function(t,i){return pyn(this,t,u(i,29))},f.Li=function(){return!1},f.Ij=function(t,i,s,a,c){return null},f.sj=function(){return new NQe(this)},f.tj=function(){Hn(Na(this.a))},f.uj=function(t){return Rpt(this,t)},f.vj=function(t){var i,s;for(s=t.Kc();s.Ob();)if(i=s.Pb(),!Rpt(this,i))return!1;return!0},f.wj=function(t){var i,s,a;if(pe(t,15)&&(a=u(t,15),a.gc()==Na(this.a).i)){for(i=a.Kc(),s=new vn(this);i.Ob();)if(xe(i.Pb())!==xe(Rn(s)))return!1;return!0}return!1},f.yj=function(){var t,i,s,a,c;for(s=1,i=new vn(Na(this.a));i.e!=i.i.gc();)t=u(Rn(i),89),a=(c=t.c,pe(c,90)?u(c,29):(Vt(),ff)),s=31*s+(a?Pw(a):0);return s},f.zj=function(t){var i,s,a,c;for(a=0,s=new vn(Na(this.a));s.e!=s.i.gc();){if(i=u(Rn(s),89),xe(t)===xe((c=i.c,pe(c,90)?u(c,29):(Vt(),ff))))return a;++a}return-1},f.Aj=function(){return Na(this.a).i==0},f.Bj=function(){return null},f.Ej=function(){return Na(this.a).i},f.Fj=function(){var t,i,s,a,c,d;for(d=Na(this.a).i,c=Ne(io,Zt,1,d,5,1),s=0,i=new vn(Na(this.a));i.e!=i.i.gc();)t=u(Rn(i),89),c[s++]=(a=t.c,pe(a,90)?u(a,29):(Vt(),ff));return c},f.Gj=function(t){var i,s,a,c,d,p,w;for(w=Na(this.a).i,t.lengthw&&pi(t,w,null),a=0,s=new vn(Na(this.a));s.e!=s.i.gc();)i=u(Rn(s),89),d=(p=i.c,pe(p,90)?u(p,29):(Vt(),ff)),pi(t,a++,d);return t},f.Hj=function(){var t,i,s,a,c;for(c=new _p,c.a+="[",t=Na(this.a),i=0,a=Na(this.a).i;i>16,c>=0?DY(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,6,s);case 9:return!this.a&&(this.a=new We(np,this,9,5)),il(this.a,t,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),$1)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),$1)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 6:return nu(this,null,6,s);case 7:return!this.A&&(this.A=new Vl(_l,this,7)),Xo(this.A,t,s);case 9:return!this.a&&(this.a=new We(np,this,9,5)),Xo(this.a,t,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),$1)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),$1)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!am(this);case 4:return!!bwe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!jR(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Su(this,t-xn((Vt(),$1)),Yt((i=u(ln(this,16),29),i||$1),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:HL(this,tr(i));return;case 2:uq(this,tr(i));return;case 5:F4(this,tr(i));return;case 7:!this.A&&(this.A=new Vl(_l,this,7)),Hn(this.A),!this.A&&(this.A=new Vl(_l,this,7)),vi(this.A,u(i,16));return;case 8:Uj(this,bt(ht(i)));return;case 9:!this.a&&(this.a=new We(np,this,9,5)),Hn(this.a),!this.a&&(this.a=new We(np,this,9,5)),vi(this.a,u(i,16));return}xu(this,t-xn((Vt(),$1)),Yt((s=u(ln(this,16),29),s||$1),t),i)},f.ii=function(){return Vt(),$1},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:pe(this.Cb,184)&&(u(this.Cb,184).tb=null),rl(this,null);return;case 2:d4(this,null),YR(this,this.D);return;case 5:F4(this,null);return;case 7:!this.A&&(this.A=new Vl(_l,this,7)),Hn(this.A);return;case 8:Uj(this,!0);return;case 9:!this.a&&(this.a=new We(np,this,9,5)),Hn(this.a);return}Cu(this,t-xn((Vt(),$1)),Yt((i=u(ln(this,16),29),i||$1),t))},f.pi=function(){var t,i;if(this.a)for(t=0,i=this.a.i;t>16==5?u(this.Cb,685):null}return ku(this,t-xn((Vt(),ag)),Yt((a=u(ln(this,16),29),a||ag),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 5:return this.Cb&&(s=(c=this.Db>>16,c>=0?_1t(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,5,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),ag)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),ag)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 5:return nu(this,null,5,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),ag)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),ag)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,685))}return Su(this,t-xn((Vt(),ag)),Yt((i=u(ln(this,16),29),i||ag),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:rl(this,tr(i));return;case 2:bJ(this,u(i,17).a);return;case 3:mwt(this,u(i,2039));return;case 4:gJ(this,tr(i));return}xu(this,t-xn((Vt(),ag)),Yt((s=u(ln(this,16),29),s||ag),t),i)},f.ii=function(){return Vt(),ag},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:rl(this,null);return;case 2:bJ(this,0);return;case 3:mwt(this,null);return;case 4:gJ(this,null);return}Cu(this,t-xn((Vt(),ag)),Yt((i=u(ln(this,16),29),i||ag),t))},f.Ib=function(){var t;return t=this.c,t??this.zb},f.b=null,f.c=null,f.d=0,O(an,"EEnumLiteralImpl",582);var z$n=bi(an,"EFactoryImpl/InternalEDateTimeFormat");$(499,1,{2114:1},e8),O(an,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),$(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},ww),f.Ch=function(t,i,s){var a;return s=nu(this,t,i,s),this.e&&pe(t,179)&&(a=IF(this,this.e),a!=this.c&&(s=B4(this,a,s))),s},f.Lh=function(t,i,s){var a;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Di(bs,this,1)),this.d;case 2:return i?UF(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return i?xY(this):this.a}return ku(this,t-xn((Vt(),Um)),Yt((a=u(ln(this,16),29),a||Um),t),i,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return dpt(this,null,s);case 1:return!this.d&&(this.d=new Di(bs,this,1)),Xo(this.d,t,s);case 3:return hpt(this,null,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),Um)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),Um)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Su(this,t-xn((Vt(),Um)),Yt((i=u(ln(this,16),29),i||Um),t))},f.bi=function(t,i){var s;switch(t){case 0:B1t(this,u(i,89));return;case 1:!this.d&&(this.d=new Di(bs,this,1)),Hn(this.d),!this.d&&(this.d=new Di(bs,this,1)),vi(this.d,u(i,16));return;case 3:Kme(this,u(i,89));return;case 4:fye(this,u(i,850));return;case 5:KR(this,u(i,142));return}xu(this,t-xn((Vt(),Um)),Yt((s=u(ln(this,16),29),s||Um),t),i)},f.ii=function(){return Vt(),Um},f.ki=function(t){var i;switch(t){case 0:B1t(this,null);return;case 1:!this.d&&(this.d=new Di(bs,this,1)),Hn(this.d);return;case 3:Kme(this,null);return;case 4:fye(this,null);return;case 5:KR(this,null);return}Cu(this,t-xn((Vt(),Um)),Yt((i=u(ln(this,16),29),i||Um),t))},f.Ib=function(){var t;return t=new Kc(Pf(this)),t.a+=" (expression: ",DQ(this,t),t.a+=")",t.a};var zxe;O(an,"EGenericTypeImpl",248),$(2067,2062,YB),f.Gi=function(t,i){Kit(this,t,i)},f.Wk=function(t,i){return Kit(this,this.gc(),t),i},f.$i=function(t){return Tu(this.pj(),t)},f.Ii=function(){return this.Ji()},f.pj=function(){return new jQe(this)},f.Ji=function(){return this.Ki(0)},f.Ki=function(t){return this.pj().fd(t)},f.Xk=function(t,i){return Xy(this,t,!0),i},f.Ti=function(t,i){var s,a;return a=FY(this,i),s=this.fd(t),s.Rb(a),a},f.Ui=function(t,i){var s;Xy(this,i,!0),s=this.fd(t),s.Rb(i)},O(ri,"AbstractSequentialInternalEList",2067),$(496,2067,YB,T8),f.$i=function(t){return Tu(this.pj(),t)},f.Ii=function(){return this.b==null?(kp(),kp(),m9):this.sl()},f.pj=function(){return new frt(this.a,this.b)},f.Ji=function(){return this.b==null?(kp(),kp(),m9):this.sl()},f.Ki=function(t){var i,s;if(this.b==null){if(t<0||t>1)throw Z(new vs(Rx+t+", size=0"));return kp(),kp(),m9}for(s=this.sl(),i=0;i0;)if(i=this.c[--this.d],(!this.e||i.pk()!=XA||i.Lj()!=0)&&(!this.vl()||this.b.Xh(i))){if(d=this.b.Nh(i,this.ul()),this.f=(is(),u(i,69).xk()),this.f||i.Jk()){if(this.ul()?(a=u(d,15),this.k=a):(a=u(d,71),this.k=this.j=a),pe(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?N0t(this,this.p):G0t(this))return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=u(c,76),t.Lk(),s=t.md(),this.i=s):(s=c,this.i=s),this.g=-3,!0}else if(d!=null)return this.k=null,this.p=null,s=d,this.i=s,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=u(c,76),t.Lk(),s=t.md(),this.i=s):(s=c,this.i=s),this.g=-3,!0}},f.Pb=function(){return Nj(this)},f.Tb=function(){return this.a},f.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw Z(new ea)},f.Vb=function(){return this.a-1},f.Qb=function(){throw Z(new Zn)},f.ul=function(){return!1},f.Wb=function(t){throw Z(new Zn)},f.vl=function(){return!0},f.a=0,f.d=0,f.f=!1,f.g=0,f.n=0,f.o=0;var m9;O(ri,"EContentsEList/FeatureIteratorImpl",287),$(711,287,QB,npe),f.ul=function(){return!0},O(ri,"EContentsEList/ResolvingFeatureIteratorImpl",711),$(1178,711,QB,Tit),f.vl=function(){return!1},O(an,"ENamedElementImpl/1/1",1178),$(1179,287,QB,Pit),f.vl=function(){return!1},O(an,"ENamedElementImpl/1/2",1179),$(39,152,eO,By,FX,lo,eJ,Db,$f,p0e,fct,g0e,dct,O1e,hct,y0e,bct,N1e,pct,w0e,gct,qC,d7,vX,m0e,wct,M1e,mct),f.Kj=function(){return Q1e(this)},f.Rj=function(){var t;return t=Q1e(this),t?t.ik():null},f.hj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,t)},f.jj=function(){return this.c},f.Sj=function(){var t;return t=Q1e(this),t?t.tk():!1},f.b=-1,O(an,"ENotificationImpl",39),$(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},oz),f.Ah=function(t){return k1t(this,t)},f.Lh=function(t,i,s){var a,c,d;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return on(),!!(this.Bb&256);case 3:return on(),!!(this.Bb&512);case 4:return rt(this.s);case 5:return rt(this.t);case 6:return on(),d=this.t,d>1||d==-1;case 7:return on(),c=this.s,c>=1;case 8:return i?Ju(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new Vl(_l,this,11)),this.d;case 12:return!this.c&&(this.c=new We(Wm,this,12,10)),this.c;case 13:return!this.a&&(this.a=new D8(this,this)),this.a;case 14:return _c(this)}return ku(this,t-xn((Vt(),lg)),Yt((a=u(ln(this,16),29),a||lg),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 10:return this.Cb&&(s=(c=this.Db>>16,c>=0?k1t(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,10,s);case 12:return!this.c&&(this.c=new We(Wm,this,12,10)),il(this.c,t,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),lg)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),lg)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 9:return oX(this,s);case 10:return nu(this,null,10,s);case 11:return!this.d&&(this.d=new Vl(_l,this,11)),Xo(this.d,t,s);case 12:return!this.c&&(this.c=new We(Wm,this,12,10)),Xo(this.c,t,s);case 14:return Xo(_c(this),t,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),lg)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),lg)),t,s)},f.Wh=function(t){var i,s,a;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return a=this.t,a>1||a==-1;case 7:return s=this.s,s>=1;case 8:return!!this.r&&!this.q.e&&Bw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Bw(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&_c(this.a.a).i!=0&&!(this.b&&AY(this.b));case 14:return!!this.b&&AY(this.b)}return Su(this,t-xn((Vt(),lg)),Yt((i=u(ln(this,16),29),i||lg),t))},f.bi=function(t,i){var s,a;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:rl(this,tr(i));return;case 2:jp(this,bt(ht(i)));return;case 3:Fp(this,bt(ht(i)));return;case 4:Np(this,u(i,17).a);return;case 5:Gy(this,u(i,17).a);return;case 8:E0(this,u(i,142));return;case 9:a=Ld(this,u(i,89),null),a&&a.oj();return;case 11:!this.d&&(this.d=new Vl(_l,this,11)),Hn(this.d),!this.d&&(this.d=new Vl(_l,this,11)),vi(this.d,u(i,16));return;case 12:!this.c&&(this.c=new We(Wm,this,12,10)),Hn(this.c),!this.c&&(this.c=new We(Wm,this,12,10)),vi(this.c,u(i,16));return;case 13:!this.a&&(this.a=new D8(this,this)),tx(this.a),!this.a&&(this.a=new D8(this,this)),vi(this.a,u(i,16));return;case 14:Hn(_c(this)),vi(_c(this),u(i,16));return}xu(this,t-xn((Vt(),lg)),Yt((s=u(ln(this,16),29),s||lg),t),i)},f.ii=function(){return Vt(),lg},f.ki=function(t){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:rl(this,null);return;case 2:jp(this,!0);return;case 3:Fp(this,!0);return;case 4:Np(this,0);return;case 5:Gy(this,1);return;case 8:E0(this,null);return;case 9:s=Ld(this,null,null),s&&s.oj();return;case 11:!this.d&&(this.d=new Vl(_l,this,11)),Hn(this.d);return;case 12:!this.c&&(this.c=new We(Wm,this,12,10)),Hn(this.c);return;case 13:this.a&&tx(this.a);return;case 14:this.b&&Hn(this.b);return}Cu(this,t-xn((Vt(),lg)),Yt((i=u(ln(this,16),29),i||lg),t))},f.pi=function(){var t,i;if(this.c)for(t=0,i=this.c.i;tw&&pi(t,w,null),a=0,s=new vn(_c(this.a));s.e!=s.i.gc();)i=u(Rn(s),89),d=(p=i.c,p||(Vt(),Qd)),pi(t,a++,d);return t},f.Hj=function(){var t,i,s,a,c;for(c=new _p,c.a+="[",t=_c(this.a),i=0,a=_c(this.a).i;i1);case 5:return t5(this,t,i,s,a,this.i-u(s,15).gc()>0);default:return new Db(this.e,t,this.c,i,s,a,!0)}},f.Tj=function(){return!0},f.Qj=function(){return AY(this)},f.Gk=function(){Hn(this)},O(an,"EOperationImpl/2",1377),$(507,1,{2037:1,507:1},qnt),O(an,"EPackageImpl/1",507),$(14,83,qs,We),f.il=function(){return this.d},f.jl=function(){return this.b},f.ml=function(){return!0},f.b=0,O(ri,"EObjectContainmentWithInverseEList",14),$(365,14,qs,kE),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectContainmentWithInverseEList/Resolving",365),$(308,365,qs,Ny),f.Ni=function(){this.a.tb=null},O(an,"EPackageImpl/2",308),$(1278,1,{},rtn),O(an,"EPackageImpl/3",1278),$(733,45,u_,ihe),f._b=function(t){return fo(t)?SX(this,t):!!as(this.f,t)},O(an,"EPackageRegistryImpl",733),$(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},sz),f.Ah=function(t){return R1t(this,t)},f.Lh=function(t,i,s){var a,c,d;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return on(),!!(this.Bb&256);case 3:return on(),!!(this.Bb&512);case 4:return rt(this.s);case 5:return rt(this.t);case 6:return on(),d=this.t,d>1||d==-1;case 7:return on(),c=this.s,c>=1;case 8:return i?Ju(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return ku(this,t-xn((Vt(),Xv)),Yt((a=u(ln(this,16),29),a||Xv),t),i,s)},f.Sh=function(t,i,s){var a,c,d;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),il(this.Ab,t,s);case 10:return this.Cb&&(s=(c=this.Db>>16,c>=0?R1t(this,s):this.Cb.Th(this,-1-c,null,s))),nu(this,t,10,s)}return d=u(Yt((a=u(ln(this,16),29),a||(Vt(),Xv)),i),69),d.wk().zk(this,pl(this),i-xn((Vt(),Xv)),t,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 9:return oX(this,s);case 10:return nu(this,null,10,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),Xv)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),Xv)),t,s)},f.Wh=function(t){var i,s,a;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return a=this.t,a>1||a==-1;case 7:return s=this.s,s>=1;case 8:return!!this.r&&!this.q.e&&Bw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Bw(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Su(this,t-xn((Vt(),Xv)),Yt((i=u(ln(this,16),29),i||Xv),t))},f.ii=function(){return Vt(),Xv},O(an,"EParameterImpl",518),$(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},ape),f.Lh=function(t,i,s){var a,c,d,p;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return on(),!!(this.Bb&256);case 3:return on(),!!(this.Bb&512);case 4:return rt(this.s);case 5:return rt(this.t);case 6:return on(),p=this.t,p>1||p==-1;case 7:return on(),c=this.s,c>=1;case 8:return i?Ju(this):this.r;case 9:return this.q;case 10:return on(),!!(this.Bb&Mf);case 11:return on(),!!(this.Bb&mv);case 12:return on(),!!(this.Bb&fv);case 13:return this.j;case 14:return P4(this);case 15:return on(),!!(this.Bb&Zl);case 16:return on(),!!(this.Bb&wh);case 17:return Ly(this);case 18:return on(),!!(this.Bb&Aa);case 19:return on(),d=os(this),!!(d&&d.Bb&Aa);case 20:return on(),!!(this.Bb&ts);case 21:return i?os(this):this.b;case 22:return i?iwe(this):Wut(this);case 23:return!this.a&&(this.a=new O2(Kv,this,23)),this.a}return ku(this,t-xn((Vt(),eS)),Yt((a=u(ln(this,16),29),a||eS),t),i,s)},f.Wh=function(t){var i,s,a,c;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return s=this.s,s>=1;case 8:return!!this.r&&!this.q.e&&Bw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Bw(this.q).i==0);case 10:return(this.Bb&Mf)==0;case 11:return(this.Bb&mv)!=0;case 12:return(this.Bb&fv)!=0;case 13:return this.j!=null;case 14:return P4(this)!=null;case 15:return(this.Bb&Zl)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Ly(this);case 18:return(this.Bb&Aa)!=0;case 19:return a=os(this),!!a&&(a.Bb&Aa)!=0;case 20:return(this.Bb&ts)==0;case 21:return!!this.b;case 22:return!!Wut(this);case 23:return!!this.a&&this.a.i!=0}return Su(this,t-xn((Vt(),eS)),Yt((i=u(ln(this,16),29),i||eS),t))},f.bi=function(t,i){var s,a;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:PX(this,tr(i));return;case 2:jp(this,bt(ht(i)));return;case 3:Fp(this,bt(ht(i)));return;case 4:Np(this,u(i,17).a);return;case 5:Gy(this,u(i,17).a);return;case 8:E0(this,u(i,142));return;case 9:a=Ld(this,u(i,89),null),a&&a.oj();return;case 10:p4(this,bt(ht(i)));return;case 11:m4(this,bt(ht(i)));return;case 12:g4(this,bt(ht(i)));return;case 13:wbe(this,tr(i));return;case 15:w4(this,bt(ht(i)));return;case 16:y4(this,bt(ht(i)));return;case 18:Hfn(this,bt(ht(i)));return;case 20:Dwe(this,bt(ht(i)));return;case 21:N0e(this,u(i,19));return;case 23:!this.a&&(this.a=new O2(Kv,this,23)),Hn(this.a),!this.a&&(this.a=new O2(Kv,this,23)),vi(this.a,u(i,16));return}xu(this,t-xn((Vt(),eS)),Yt((s=u(ln(this,16),29),s||eS),t),i)},f.ii=function(){return Vt(),eS},f.ki=function(t){var i,s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:pe(this.Cb,90)&&nv(vc(u(this.Cb,90)),4),rl(this,null);return;case 2:jp(this,!0);return;case 3:Fp(this,!0);return;case 4:Np(this,0);return;case 5:Gy(this,1);return;case 8:E0(this,null);return;case 9:s=Ld(this,null,null),s&&s.oj();return;case 10:p4(this,!0);return;case 11:m4(this,!1);return;case 12:g4(this,!1);return;case 13:this.i=null,Rj(this,null);return;case 15:w4(this,!1);return;case 16:y4(this,!1);return;case 18:Mwe(this,!1),pe(this.Cb,90)&&nv(vc(u(this.Cb,90)),2);return;case 20:Dwe(this,!0);return;case 21:N0e(this,null);return;case 23:!this.a&&(this.a=new O2(Kv,this,23)),Hn(this.a);return}Cu(this,t-xn((Vt(),eS)),Yt((i=u(ln(this,16),29),i||eS),t))},f.pi=function(){iwe(this),MR(Es((Jl(),To),this)),Ju(this),this.Bb|=1},f.uk=function(){return os(this)},f._k=function(){var t;return t=os(this),!!t&&(t.Bb&Aa)!=0},f.al=function(){return(this.Bb&Aa)!=0},f.bl=function(){return(this.Bb&ts)!=0},f.Yk=function(t,i){return this.c=null,Rwe(this,t,i)},f.Ib=function(){var t;return this.Db&64?BF(this):(t=new Ku(BF(this)),t.a+=" (containment: ",Sp(t,(this.Bb&Aa)!=0),t.a+=", resolveProxies: ",Sp(t,(this.Bb&ts)!=0),t.a+=")",t.a)},O(an,"EReferenceImpl",102),$(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},jGe),f.Fb=function(t){return this===t},f.ld=function(){return this.b},f.md=function(){return this.c},f.Hb=function(){return Pw(this)},f.Di=function(t){Kln(this,tr(t))},f.nd=function(t){return Tln(this,tr(t))},f.Lh=function(t,i,s){var a;switch(t){case 0:return this.b;case 1:return this.c}return ku(this,t-xn((Vt(),rs)),Yt((a=u(ln(this,16),29),a||rs),t),i,s)},f.Wh=function(t){var i;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return Su(this,t-xn((Vt(),rs)),Yt((i=u(ln(this,16),29),i||rs),t))},f.bi=function(t,i){var s;switch(t){case 0:zln(this,tr(i));return;case 1:T0e(this,tr(i));return}xu(this,t-xn((Vt(),rs)),Yt((s=u(ln(this,16),29),s||rs),t),i)},f.ii=function(){return Vt(),rs},f.ki=function(t){var i;switch(t){case 0:I0e(this,null);return;case 1:T0e(this,null);return}Cu(this,t-xn((Vt(),rs)),Yt((i=u(ln(this,16),29),i||rs),t))},f.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:Mp(t)),this.a},f.Ci=function(t){this.a=t},f.Ib=function(){var t;return this.Db&64?Pf(this):(t=new Ku(Pf(this)),t.a+=" (key: ",ps(t,this.b),t.a+=", value: ",ps(t,this.c),t.a+=")",t.a)},f.a=-1,f.b=null,f.c=null;var va=O(an,"EStringToStringMapEntryImpl",561),d8t=bi(ri,"FeatureMap/Entry/Internal");$(576,1,ZB),f.xl=function(t){return this.yl(u(t,54))},f.yl=function(t){return this.xl(t)},f.Fb=function(t){var i,s;return this===t?!0:pe(t,76)?(i=u(t,76),i.Lk()==this.c?(s=this.md(),s==null?i.md()==null:Tr(s,i.md())):!1):!1},f.Lk=function(){return this.c},f.Hb=function(){var t;return t=this.md(),zr(this.c)^(t==null?0:zr(t))},f.Ib=function(){var t,i;return t=this.c,i=Jc(t.qk()).yi(),t.xe(),(i!=null&&i.length!=0?i+":"+t.xe():t.xe())+"="+this.md()},O(an,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),$(791,576,ZB,gpe),f.yl=function(t){return new gpe(this.c,t)},f.md=function(){return this.a},f.zl=function(t,i,s){return Ign(this,t,this.a,i,s)},f.Al=function(t,i,s){return Tgn(this,t,this.a,i,s)},O(an,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),$(1350,1,{},Xnt),f.yk=function(t,i,s,a,c){var d;return d=u(WR(t,this.b),220),d.Yl(this.a).Fk(a)},f.zk=function(t,i,s,a,c){var d;return d=u(WR(t,this.b),220),d.Pl(this.a,a,c)},f.Ak=function(t,i,s,a,c){var d;return d=u(WR(t,this.b),220),d.Ql(this.a,a,c)},f.Bk=function(t,i,s){var a;return a=u(WR(t,this.b),220),a.Yl(this.a).Qj()},f.Ck=function(t,i,s,a){var c;c=u(WR(t,this.b),220),c.Yl(this.a).Wb(a)},f.Dk=function(t,i,s){return u(WR(t,this.b),220).Yl(this.a)},f.Ek=function(t,i,s){var a;a=u(WR(t,this.b),220),a.Yl(this.a).Gk()},O(an,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),$(91,1,{},Ap,u0,xp,p0),f.yk=function(t,i,s,a,c){var d;if(d=i.li(s),d==null&&i.mi(s,d=QF(this,t)),!c)switch(this.e){case 50:case 41:return u(d,597).bk();case 40:return u(d,220).Vl()}return d},f.zk=function(t,i,s,a,c){var d,p;return p=i.li(s),p==null&&i.mi(s,p=QF(this,t)),d=u(p,71).Wk(a,c),d},f.Ak=function(t,i,s,a,c){var d;return d=i.li(s),d!=null&&(c=u(d,71).Xk(a,c)),c},f.Bk=function(t,i,s){var a;return a=i.li(s),a!=null&&u(a,79).Qj()},f.Ck=function(t,i,s,a){var c;c=u(i.li(s),79),!c&&i.mi(s,c=QF(this,t)),c.Wb(a)},f.Dk=function(t,i,s){var a,c;return c=i.li(s),c==null&&i.mi(s,c=QF(this,t)),pe(c,79)?u(c,79):(a=u(i.li(s),15),new DQe(a))},f.Ek=function(t,i,s){var a;a=u(i.li(s),79),!a&&i.mi(s,a=QF(this,t)),a.Gk()},f.b=0,f.e=0,O(an,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),$(512,1,{}),f.zk=function(t,i,s,a,c){throw Z(new Zn)},f.Ak=function(t,i,s,a,c){throw Z(new Zn)},f.Dk=function(t,i,s){return new zat(this,t,i,s)};var fb;O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),$(1367,1,_te,zat),f.Fk=function(t){return this.a.yk(this.c,this.d,this.b,t,!0)},f.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},f.Wb=function(t){this.a.Ck(this.c,this.d,this.b,t)},f.Gk=function(){this.a.Ek(this.c,this.d,this.b)},f.b=0,O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),$(784,512,{},i1e),f.yk=function(t,i,s,a,c){return SQ(t,t.Ph(),t.Fh())==this.b?this.bl()&&a?lQ(t):t.Ph():null},f.zk=function(t,i,s,a,c){var d,p;return t.Ph()&&(c=(d=t.Fh(),d>=0?t.Ah(c):t.Ph().Th(t,-1-d,null,c))),p=ui(t.Dh(),this.e),t.Ch(a,p,c)},f.Ak=function(t,i,s,a,c){var d;return d=ui(t.Dh(),this.e),t.Ch(null,d,c)},f.Bk=function(t,i,s){var a;return a=ui(t.Dh(),this.e),!!t.Ph()&&t.Fh()==a},f.Ck=function(t,i,s,a){var c,d,p,w,y;if(a!=null&&!AQ(this.a,a))throw Z(new cR(eH+(pe(a,58)?Gme(u(a,58).Dh()):f0e(Lc(a)))+tH+this.a+"'"));if(c=t.Ph(),p=ui(t.Dh(),this.e),xe(a)!==xe(c)||t.Fh()!=p&&a!=null){if(k4(t,u(a,58)))throw Z(new un(Ex+t.Ib()));y=null,c&&(y=(d=t.Fh(),d>=0?t.Ah(y):t.Ph().Th(t,-1-d,null,y))),w=u(a,54),w&&(y=w.Rh(t,ui(w.Dh(),this.b),null,y)),y=t.Ch(w,p,y),y&&y.oj()}else t.vh()&&t.wh()&&Ir(t,new lo(t,1,p,a,a))},f.Ek=function(t,i,s){var a,c,d,p;a=t.Ph(),a?(p=(c=t.Fh(),c>=0?t.Ah(null):t.Ph().Th(t,-1-c,null,null)),d=ui(t.Dh(),this.e),p=t.Ch(null,d,p),p&&p.oj()):t.vh()&&t.wh()&&Ir(t,new qC(t,1,this.e,null,null))},f.bl=function(){return!1},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),$(1351,784,{},Lot),f.bl=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),$(574,512,{}),f.yk=function(t,i,s,a,c){var d;return d=i.li(s),d==null?this.b:xe(d)===xe(fb)?null:d},f.Bk=function(t,i,s){var a;return a=i.li(s),a!=null&&(xe(a)===xe(fb)||!Tr(a,this.b))},f.Ck=function(t,i,s,a){var c,d;t.vh()&&t.wh()?(c=(d=i.li(s),d==null?this.b:xe(d)===xe(fb)?null:d),a==null?this.c!=null?(i.mi(s,null),a=this.b):this.b!=null?i.mi(s,fb):i.mi(s,null):(this.Bl(a),i.mi(s,a)),Ir(t,this.d.Cl(t,1,this.e,c,a))):a==null?this.c!=null?i.mi(s,null):this.b!=null?i.mi(s,fb):i.mi(s,null):(this.Bl(a),i.mi(s,a))},f.Ek=function(t,i,s){var a,c;t.vh()&&t.wh()?(a=(c=i.li(s),c==null?this.b:xe(c)===xe(fb)?null:c),i.ni(s),Ir(t,this.d.Cl(t,1,this.e,a,this.b))):i.ni(s)},f.Bl=function(t){throw Z(new zQe)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),$(v_,1,{},FGe),f.Cl=function(t,i,s,a,c){return new qC(t,i,s,a,c)},f.Dl=function(t,i,s,a,c,d){return new vX(t,i,s,a,c,d)};var qxe,Xxe,Jxe,Yxe,Qxe,Zxe,e$e,_oe,t$e;O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",v_),$(1368,v_,{},BGe),f.Cl=function(t,i,s,a,c){return new M1e(t,i,s,bt(ht(a)),bt(ht(c)))},f.Dl=function(t,i,s,a,c,d){return new mct(t,i,s,bt(ht(a)),bt(ht(c)),d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),$(1369,v_,{},HGe),f.Cl=function(t,i,s,a,c){return new p0e(t,i,s,u(a,222).a,u(c,222).a)},f.Dl=function(t,i,s,a,c,d){return new fct(t,i,s,u(a,222).a,u(c,222).a,d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),$(1370,v_,{},WGe),f.Cl=function(t,i,s,a,c){return new g0e(t,i,s,u(a,180).a,u(c,180).a)},f.Dl=function(t,i,s,a,c,d){return new dct(t,i,s,u(a,180).a,u(c,180).a,d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),$(1371,v_,{},UGe),f.Cl=function(t,i,s,a,c){return new O1e(t,i,s,Re(Oe(a)),Re(Oe(c)))},f.Dl=function(t,i,s,a,c,d){return new hct(t,i,s,Re(Oe(a)),Re(Oe(c)),d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),$(1372,v_,{},VGe),f.Cl=function(t,i,s,a,c){return new y0e(t,i,s,u(a,161).a,u(c,161).a)},f.Dl=function(t,i,s,a,c,d){return new bct(t,i,s,u(a,161).a,u(c,161).a,d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),$(1373,v_,{},GGe),f.Cl=function(t,i,s,a,c){return new N1e(t,i,s,u(a,17).a,u(c,17).a)},f.Dl=function(t,i,s,a,c,d){return new pct(t,i,s,u(a,17).a,u(c,17).a,d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),$(1374,v_,{},KGe),f.Cl=function(t,i,s,a,c){return new w0e(t,i,s,u(a,168).a,u(c,168).a)},f.Dl=function(t,i,s,a,c,d){return new gct(t,i,s,u(a,168).a,u(c,168).a,d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),$(1375,v_,{},zGe),f.Cl=function(t,i,s,a,c){return new m0e(t,i,s,u(a,191).a,u(c,191).a)},f.Dl=function(t,i,s,a,c,d){return new wct(t,i,s,u(a,191).a,u(c,191).a,d)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),$(1353,574,{},qat),f.Bl=function(t){if(!this.a.fk(t))throw Z(new cR(eH+Lc(t)+tH+this.a+"'"))},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),$(1354,574,{},Mst),f.Bl=function(t){},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),$(785,574,{}),f.Bk=function(t,i,s){var a;return a=i.li(s),a!=null},f.Ck=function(t,i,s,a){var c,d;t.vh()&&t.wh()?(c=!0,d=i.li(s),d==null?(c=!1,d=this.b):xe(d)===xe(fb)&&(d=null),a==null?this.c!=null?(i.mi(s,null),a=this.b):i.mi(s,fb):(this.Bl(a),i.mi(s,a)),Ir(t,this.d.Dl(t,1,this.e,d,a,!c))):a==null?this.c!=null?i.mi(s,null):i.mi(s,fb):(this.Bl(a),i.mi(s,a))},f.Ek=function(t,i,s){var a,c;t.vh()&&t.wh()?(a=!0,c=i.li(s),c==null?(a=!1,c=this.b):xe(c)===xe(fb)&&(c=null),i.ni(s),Ir(t,this.d.Dl(t,2,this.e,c,this.b,a))):i.ni(s)},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),$(1355,785,{},Xat),f.Bl=function(t){if(!this.a.fk(t))throw Z(new cR(eH+Lc(t)+tH+this.a+"'"))},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),$(1356,785,{},Dst),f.Bl=function(t){},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),$(410,512,{},dL),f.yk=function(t,i,s,a,c){var d,p,w,y,v;if(v=i.li(s),this.tk()&&xe(v)===xe(fb))return null;if(this.bl()&&a&&v!=null){if(w=u(v,54),w.Vh()&&(y=Jg(t,w),w!=y)){if(!AQ(this.a,y))throw Z(new cR(eH+Lc(y)+tH+this.a+"'"));i.mi(s,v=y),this.al()&&(d=u(y,54),p=w.Th(t,this.b?ui(w.Dh(),this.b):-1-ui(t.Dh(),this.e),null,null),!d.Ph()&&(p=d.Rh(t,this.b?ui(d.Dh(),this.b):-1-ui(t.Dh(),this.e),null,p)),p&&p.oj()),t.vh()&&t.wh()&&Ir(t,new qC(t,9,this.e,w,y))}return v}else return v},f.zk=function(t,i,s,a,c){var d,p;return p=i.li(s),xe(p)===xe(fb)&&(p=null),i.mi(s,a),this.Mj()?xe(p)!==xe(a)&&p!=null&&(d=u(p,54),c=d.Th(t,ui(d.Dh(),this.b),null,c)):this.al()&&p!=null&&(c=u(p,54).Th(t,-1-ui(t.Dh(),this.e),null,c)),t.vh()&&t.wh()&&(!c&&(c=new Og(4)),c.nj(new qC(t,1,this.e,p,a))),c},f.Ak=function(t,i,s,a,c){var d;return d=i.li(s),xe(d)===xe(fb)&&(d=null),i.ni(s),t.vh()&&t.wh()&&(!c&&(c=new Og(4)),this.tk()?c.nj(new qC(t,2,this.e,d,null)):c.nj(new qC(t,1,this.e,d,null))),c},f.Bk=function(t,i,s){var a;return a=i.li(s),a!=null},f.Ck=function(t,i,s,a){var c,d,p,w,y;if(a!=null&&!AQ(this.a,a))throw Z(new cR(eH+(pe(a,58)?Gme(u(a,58).Dh()):f0e(Lc(a)))+tH+this.a+"'"));y=i.li(s),w=y!=null,this.tk()&&xe(y)===xe(fb)&&(y=null),p=null,this.Mj()?xe(y)!==xe(a)&&(y!=null&&(c=u(y,54),p=c.Th(t,ui(c.Dh(),this.b),null,p)),a!=null&&(c=u(a,54),p=c.Rh(t,ui(c.Dh(),this.b),null,p))):this.al()&&xe(y)!==xe(a)&&(y!=null&&(p=u(y,54).Th(t,-1-ui(t.Dh(),this.e),null,p)),a!=null&&(p=u(a,54).Rh(t,-1-ui(t.Dh(),this.e),null,p))),a==null&&this.tk()?i.mi(s,fb):i.mi(s,a),t.vh()&&t.wh()?(d=new vX(t,1,this.e,y,a,this.tk()&&!w),p?(p.nj(d),p.oj()):Ir(t,d)):p&&p.oj()},f.Ek=function(t,i,s){var a,c,d,p,w;w=i.li(s),p=w!=null,this.tk()&&xe(w)===xe(fb)&&(w=null),d=null,w!=null&&(this.Mj()?(a=u(w,54),d=a.Th(t,ui(a.Dh(),this.b),null,d)):this.al()&&(d=u(w,54).Th(t,-1-ui(t.Dh(),this.e),null,d))),i.ni(s),t.vh()&&t.wh()?(c=new vX(t,this.tk()?2:1,this.e,w,null,p),d?(d.nj(c),d.oj()):Ir(t,c)):d&&d.oj()},f.Mj=function(){return!1},f.al=function(){return!1},f.bl=function(){return!1},f.tk=function(){return!1},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),$(575,410,{},kq),f.al=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),$(1359,575,{},Nit),f.bl=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),$(787,575,{},rpe),f.tk=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),$(1361,787,{},Mit),f.bl=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),$(650,575,{},Lq),f.Mj=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),$(1360,650,{},jot),f.bl=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),$(788,650,{},Upe),f.tk=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),$(1362,788,{},Fot),f.bl=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),$(651,410,{},ipe),f.bl=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),$(1363,651,{},Dit),f.tk=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),$(789,651,{},Hpe),f.Mj=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),$(1364,789,{},Bot),f.tk=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),$(1357,410,{},Lit),f.tk=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),$(786,410,{},Wpe),f.Mj=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),$(1358,786,{},Hot),f.tk=function(){return!0},O(an,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),$(790,576,ZB,Fge),f.yl=function(t){return new Fge(this.a,this.c,t)},f.md=function(){return this.b},f.zl=function(t,i,s){return xbn(this,t,this.b,s)},f.Al=function(t,i,s){return $bn(this,t,this.b,s)},O(an,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),$(1365,1,_te,DQe),f.Fk=function(t){return this.a},f.Qj=function(){return pe(this.a,97)?u(this.a,97).Qj():!this.a.dc()},f.Wb=function(t){this.a.$b(),this.a.Gc(u(t,15))},f.Gk=function(){pe(this.a,97)?u(this.a,97).Gk():this.a.$b()},O(an,"EStructuralFeatureImpl/SettingMany",1365),$(1366,576,ZB,cut),f.xl=function(t){return new Cq((Fr(),V$),this.b.ri(this.a,t))},f.md=function(){return null},f.zl=function(t,i,s){return s},f.Al=function(t,i,s){return s},O(an,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),$(652,576,ZB,Cq),f.xl=function(t){return new Cq(this.c,t)},f.md=function(){return this.a},f.zl=function(t,i,s){return s},f.Al=function(t,i,s){return s},O(an,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),$(403,506,Ah,tR),f.aj=function(t){return Ne(lf,Zt,29,t,0,1)},f.Yi=function(){return!1},O(an,"ESuperAdapter/1",403),$(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},FK),f.Lh=function(t,i,s){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new VC(this,bs,this)),this.a}return ku(this,t-xn((Vt(),Vm)),Yt((a=u(ln(this,16),29),a||Vm),t),i,s)},f.Uh=function(t,i,s){var a,c;switch(i){case 0:return!this.Ab&&(this.Ab=new We(dr,this,0,3)),Xo(this.Ab,t,s);case 2:return!this.a&&(this.a=new VC(this,bs,this)),Xo(this.a,t,s)}return c=u(Yt((a=u(ln(this,16),29),a||(Vt(),Vm)),i),69),c.wk().Ak(this,pl(this),i-xn((Vt(),Vm)),t,s)},f.Wh=function(t){var i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Su(this,t-xn((Vt(),Vm)),Yt((i=u(ln(this,16),29),i||Vm),t))},f.bi=function(t,i){var s;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab),!this.Ab&&(this.Ab=new We(dr,this,0,3)),vi(this.Ab,u(i,16));return;case 1:rl(this,tr(i));return;case 2:!this.a&&(this.a=new VC(this,bs,this)),Hn(this.a),!this.a&&(this.a=new VC(this,bs,this)),vi(this.a,u(i,16));return}xu(this,t-xn((Vt(),Vm)),Yt((s=u(ln(this,16),29),s||Vm),t),i)},f.ii=function(){return Vt(),Vm},f.ki=function(t){var i;switch(t){case 0:!this.Ab&&(this.Ab=new We(dr,this,0,3)),Hn(this.Ab);return;case 1:rl(this,null);return;case 2:!this.a&&(this.a=new VC(this,bs,this)),Hn(this.a);return}Cu(this,t-xn((Vt(),Vm)),Yt((i=u(ln(this,16),29),i||Vm),t))},O(an,"ETypeParameterImpl",457),$(458,83,qs,VC),f.Nj=function(t,i){return U2n(this,u(t,89),i)},f.Oj=function(t,i){return V2n(this,u(t,89),i)},O(an,"ETypeParameterImpl/1",458),$(647,45,u_,az),f.ec=function(){return new FM(this)},O(an,"ETypeParameterImpl/2",647),$(570,Fd,Yl,FM),f.Fc=function(t){return cot(this,u(t,89))},f.Gc=function(t){var i,s,a;for(a=!1,s=t.Kc();s.Ob();)i=u(s.Pb(),89),wr(this.a,i,"")==null&&(a=!0);return a},f.$b=function(){ac(this.a)},f.Hc=function(t){return fl(this.a,t)},f.Kc=function(){var t;return t=new y0(new e0(this.a).a),new BM(t)},f.Mc=function(t){return Zut(this,t)},f.gc=function(){return fC(this.a)},O(an,"ETypeParameterImpl/2/1",570),$(571,1,ho,BM),f.Nb=function(t){Ao(this,t)},f.Pb=function(){return u(em(this.a).ld(),89)},f.Ob=function(){return this.a.b},f.Qb=function(){ldt(this.a)},O(an,"ETypeParameterImpl/2/1/1",571),$(1329,45,u_,AZe),f._b=function(t){return fo(t)?SX(this,t):!!as(this.f,t)},f.xc=function(t){var i,s;return i=fo(t)?Ha(this,t):Ts(as(this.f,t)),pe(i,851)?(s=u(i,851),i=s.Kk(),wr(this,u(t,241),i),i):i??(t==null?(Az(),b8t):null)},O(an,"EValidatorRegistryImpl",1329),$(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},qGe),f.ri=function(t,i){switch(t.hk()){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 i==null?null:zs(i);case 25:return Bpn(i);case 27:return epn(i);case 28:return tpn(i);case 29:return i==null?null:Brt(j$[0],u(i,206));case 41:return i==null?"":r0(u(i,297));case 42:return zs(i);case 50:return tr(i);default:throw Z(new un(aA+t.xe()+_m))}},f.si=function(t){var i,s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie;switch(t.G==-1&&(t.G=(j=Jc(t),j?Wp(j.vi(),t):-1)),t.G){case 0:return s=new iz,s;case 1:return i=new ide,i;case 2:return a=new lde,a;case 4:return c=new HM,c;case 5:return d=new RZe,d;case 6:return p=new JQe,p;case 7:return w=new cde,w;case 10:return v=new IM,v;case 11:return x=new oz,x;case 12:return N=new rlt,N;case 13:return W=new sz,W;case 14:return V=new ape,V;case 17:return q=new jGe,q;case 18:return y=new ww,y;case 19:return ie=new FK,ie;default:throw Z(new un(ote+t.zb+_m))}},f.ti=function(t,i){switch(t.hk()){case 20:return i==null?null:new $he(i);case 21:return i==null?null:new jg(i);case 23:case 22:return i==null?null:Zwn(i);case 26:case 24:return i==null?null:y7(tu(i,-128,127)<<24>>24);case 25:return m3n(i);case 27:return Byn(i);case 28:return Hyn(i);case 29:return u_n(i);case 32:case 31:return i==null?null:ev(i);case 38:case 37:return i==null?null:new Kde(i);case 40:case 39:return i==null?null:rt(tu(i,Do,xr));case 41:return null;case 42:return i==null,null;case 44:case 43:return i==null?null:Ub(YF(i));case 49:case 48:return i==null?null:b4(tu(i,nH,32767)<<16>>16);case 50:return i;default:throw Z(new un(aA+t.xe()+_m))}},O(an,"EcoreFactoryImpl",1349),$(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},Cat),f.gb=!1,f.hb=!1;var n$e,h8t=!1;O(an,"EcorePackageImpl",560),$(1234,1,{851:1},XGe),f.Kk=function(){return Zrt(),p8t},O(an,"EcorePackageImpl/1",1234),$(1243,1,gr,JGe),f.fk=function(t){return pe(t,155)},f.gk=function(t){return Ne(b9,Zt,155,t,0,1)},O(an,"EcorePackageImpl/10",1243),$(1244,1,gr,YGe),f.fk=function(t){return pe(t,197)},f.gk=function(t){return Ne(doe,Zt,197,t,0,1)},O(an,"EcorePackageImpl/11",1244),$(1245,1,gr,QGe),f.fk=function(t){return pe(t,58)},f.gk=function(t){return Ne(A1,Zt,58,t,0,1)},O(an,"EcorePackageImpl/12",1245),$(1246,1,gr,ZGe),f.fk=function(t){return pe(t,411)},f.gk=function(t){return Ne(cf,zEe,62,t,0,1)},O(an,"EcorePackageImpl/13",1246),$(1247,1,gr,eKe),f.fk=function(t){return pe(t,241)},f.gk=function(t){return Ne(md,Zt,241,t,0,1)},O(an,"EcorePackageImpl/14",1247),$(1248,1,gr,tKe),f.fk=function(t){return pe(t,518)},f.gk=function(t){return Ne(Wm,Zt,2116,t,0,1)},O(an,"EcorePackageImpl/15",1248),$(1249,1,gr,nKe),f.fk=function(t){return pe(t,102)},f.gk=function(t){return Ne(zv,y_,19,t,0,1)},O(an,"EcorePackageImpl/16",1249),$(1250,1,gr,rKe),f.fk=function(t){return pe(t,179)},f.gk=function(t){return Ne(Fl,y_,179,t,0,1)},O(an,"EcorePackageImpl/17",1250),$(1251,1,gr,iKe),f.fk=function(t){return pe(t,481)},f.gk=function(t){return Ne(Gv,Zt,481,t,0,1)},O(an,"EcorePackageImpl/18",1251),$(1252,1,gr,oKe),f.fk=function(t){return pe(t,561)},f.gk=function(t){return Ne(va,p3t,561,t,0,1)},O(an,"EcorePackageImpl/19",1252),$(1235,1,gr,sKe),f.fk=function(t){return pe(t,331)},f.gk=function(t){return Ne(Kv,y_,35,t,0,1)},O(an,"EcorePackageImpl/2",1235),$(1253,1,gr,aKe),f.fk=function(t){return pe(t,248)},f.gk=function(t){return Ne(bs,P3t,89,t,0,1)},O(an,"EcorePackageImpl/20",1253),$(1254,1,gr,lKe),f.fk=function(t){return pe(t,457)},f.gk=function(t){return Ne(_l,Zt,850,t,0,1)},O(an,"EcorePackageImpl/21",1254),$(1255,1,gr,cKe),f.fk=function(t){return Ay(t)},f.gk=function(t){return Ne(Ri,tt,485,t,8,1)},O(an,"EcorePackageImpl/22",1255),$(1256,1,gr,uKe),f.fk=function(t){return pe(t,195)},f.gk=function(t){return Ne(tc,tt,195,t,0,2)},O(an,"EcorePackageImpl/23",1256),$(1257,1,gr,fKe),f.fk=function(t){return pe(t,222)},f.gk=function(t){return Ne(y3,tt,222,t,0,1)},O(an,"EcorePackageImpl/24",1257),$(1258,1,gr,dKe),f.fk=function(t){return pe(t,180)},f.gk=function(t){return Ne(Mx,tt,180,t,0,1)},O(an,"EcorePackageImpl/25",1258),$(1259,1,gr,hKe),f.fk=function(t){return pe(t,206)},f.gk=function(t){return Ne(dH,tt,206,t,0,1)},O(an,"EcorePackageImpl/26",1259),$(1260,1,gr,bKe),f.fk=function(t){return!1},f.gk=function(t){return Ne(v$e,Zt,2215,t,0,1)},O(an,"EcorePackageImpl/27",1260),$(1261,1,gr,pKe),f.fk=function(t){return Cy(t)},f.gk=function(t){return Ne(Wi,tt,345,t,7,1)},O(an,"EcorePackageImpl/28",1261),$(1262,1,gr,gKe),f.fk=function(t){return pe(t,61)},f.gk=function(t){return Ne(Mxe,dv,61,t,0,1)},O(an,"EcorePackageImpl/29",1262),$(1236,1,gr,wKe),f.fk=function(t){return pe(t,519)},f.gk=function(t){return Ne(dr,{3:1,4:1,5:1,2033:1},598,t,0,1)},O(an,"EcorePackageImpl/3",1236),$(1263,1,gr,mKe),f.fk=function(t){return pe(t,582)},f.gk=function(t){return Ne(jxe,Zt,2039,t,0,1)},O(an,"EcorePackageImpl/30",1263),$(1264,1,gr,yKe),f.fk=function(t){return pe(t,160)},f.gk=function(t){return Ne(a$e,dv,160,t,0,1)},O(an,"EcorePackageImpl/31",1264),$(1265,1,gr,vKe),f.fk=function(t){return pe(t,76)},f.gk=function(t){return Ne($U,H3t,76,t,0,1)},O(an,"EcorePackageImpl/32",1265),$(1266,1,gr,_Ke),f.fk=function(t){return pe(t,161)},f.gk=function(t){return Ne(bA,tt,161,t,0,1)},O(an,"EcorePackageImpl/33",1266),$(1267,1,gr,SKe),f.fk=function(t){return pe(t,17)},f.gk=function(t){return Ne(Io,tt,17,t,0,1)},O(an,"EcorePackageImpl/34",1267),$(1268,1,gr,EKe),f.fk=function(t){return pe(t,297)},f.gk=function(t){return Ne(s3e,Zt,297,t,0,1)},O(an,"EcorePackageImpl/35",1268),$(1269,1,gr,kKe),f.fk=function(t){return pe(t,168)},f.gk=function(t){return Ne(Em,tt,168,t,0,1)},O(an,"EcorePackageImpl/36",1269),$(1270,1,gr,RKe),f.fk=function(t){return pe(t,85)},f.gk=function(t){return Ne(a3e,Zt,85,t,0,1)},O(an,"EcorePackageImpl/37",1270),$(1271,1,gr,AKe),f.fk=function(t){return pe(t,599)},f.gk=function(t){return Ne(r$e,Zt,599,t,0,1)},O(an,"EcorePackageImpl/38",1271),$(1272,1,gr,CKe),f.fk=function(t){return!1},f.gk=function(t){return Ne(_$e,Zt,2216,t,0,1)},O(an,"EcorePackageImpl/39",1272),$(1237,1,gr,xKe),f.fk=function(t){return pe(t,90)},f.gk=function(t){return Ne(lf,Zt,29,t,0,1)},O(an,"EcorePackageImpl/4",1237),$(1273,1,gr,$Ke),f.fk=function(t){return pe(t,191)},f.gk=function(t){return Ne(km,tt,191,t,0,1)},O(an,"EcorePackageImpl/40",1273),$(1274,1,gr,IKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(an,"EcorePackageImpl/41",1274),$(1275,1,gr,TKe),f.fk=function(t){return pe(t,596)},f.gk=function(t){return Ne(Lxe,Zt,596,t,0,1)},O(an,"EcorePackageImpl/42",1275),$(1276,1,gr,PKe),f.fk=function(t){return!1},f.gk=function(t){return Ne(S$e,tt,2217,t,0,1)},O(an,"EcorePackageImpl/43",1276),$(1277,1,gr,OKe),f.fk=function(t){return pe(t,44)},f.gk=function(t){return Ne(B0,eB,44,t,0,1)},O(an,"EcorePackageImpl/44",1277),$(1238,1,gr,NKe),f.fk=function(t){return pe(t,142)},f.gk=function(t){return Ne(yd,Zt,142,t,0,1)},O(an,"EcorePackageImpl/5",1238),$(1239,1,gr,MKe),f.fk=function(t){return pe(t,156)},f.gk=function(t){return Ne(moe,Zt,156,t,0,1)},O(an,"EcorePackageImpl/6",1239),$(1240,1,gr,DKe),f.fk=function(t){return pe(t,469)},f.gk=function(t){return Ne(xU,Zt,685,t,0,1)},O(an,"EcorePackageImpl/7",1240),$(1241,1,gr,LKe),f.fk=function(t){return pe(t,582)},f.gk=function(t){return Ne(np,Zt,694,t,0,1)},O(an,"EcorePackageImpl/8",1241),$(1242,1,gr,jKe),f.fk=function(t){return pe(t,480)},f.gk=function(t){return Ne(L$,Zt,480,t,0,1)},O(an,"EcorePackageImpl/9",1242),$(1038,2080,b3t,zZe),f.Mi=function(t,i){x0n(this,u(i,424))},f.Qi=function(t,i){U0t(this,t,u(i,424))},O(an,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),$(1039,152,eO,wat),f.jj=function(){return this.a.a},O(an,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),$(1067,1066,{},Trt),O("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var r$e=bi(W3t,"Resource");$(799,1524,U3t),f.Hl=function(t){},f.Il=function(t){},f.El=function(){return!this.a&&(this.a=new QK(this)),this.a},f.Fl=function(t){var i,s,a,c,d;if(a=t.length,a>0)if(fn(0,t.length),t.charCodeAt(0)==47){for(d=new nl(4),c=1,i=1;i0&&(t=(So(0,s,t.length),t.substr(0,s))));return rEn(this,t)},f.Gl=function(){return this.c},f.Ib=function(){var t;return r0(this.Rm)+"@"+(t=zr(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},f.b=!1,O(Ste,"ResourceImpl",799),$(1525,799,U3t,LQe),O(Ste,"BinaryResourceImpl",1525),$(1190,708,gte),f.bj=function(t){return pe(t,58)?qun(this,u(t,58)):pe(t,599)?new vn(u(t,599).El()):xe(t)===xe(this.f)?u(t,16).Kc():(kR(),w9.a)},f.Ob=function(){return Fye(this)},f.a=!1,O(ri,"EcoreUtil/ContentTreeIterator",1190),$(1526,1190,gte,zst),f.bj=function(t){return xe(t)===xe(this.f)?u(t,15).Kc():new Vct(u(t,58))},O(Ste,"ResourceImpl/5",1526),$(658,2092,T3t,QK),f.Hc=function(t){return this.i<=4?A4(this,t):pe(t,54)&&u(t,54).Jh()==this.a},f.Mi=function(t,i){t==this.i-1&&(this.a.b||(this.a.b=!0))},f.Oi=function(t,i){t==0?this.a.b||(this.a.b=!0):YX(this,t,i)},f.Qi=function(t,i){},f.Ri=function(t,i,s){},f.Lj=function(){return 2},f.jj=function(){return this.a},f.Mj=function(){return!0},f.Nj=function(t,i){var s;return s=u(t,54),i=s.fi(this.a,i),i},f.Oj=function(t,i){var s;return s=u(t,54),s.fi(null,i)},f.Pj=function(){return!1},f.Si=function(){return!0},f.aj=function(t){return Ne(A1,Zt,58,t,0,1)},f.Yi=function(){return!1},O(Ste,"ResourceImpl/ContentsEList",658),$(970,2062,G4,jQe),f.fd=function(t){return this.a.Ki(t)},f.gc=function(){return this.a.gc()},O(ri,"AbstractSequentialInternalEList/1",970);var i$e,o$e,To,s$e;$(634,1,{},Xot);var IU,TU;O(ri,"BasicExtendedMetaData",634),$(1181,1,{},Ynt),f.Jl=function(){return null},f.Kl=function(){return this.a==-2&&Ctn(this,r_n(this.d,this.b)),this.a},f.Ll=function(){return null},f.Ml=function(){return Gt(),Gt(),Qo},f.xe=function(){return this.c==uA&&xtn(this,hgt(this.d,this.b)),this.c},f.Nl=function(){return 0},f.a=-2,f.c=uA,O(ri,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),$(1182,1,{},vct),f.Jl=function(){return this.a==(HR(),IU)&&Ttn(this,n4n(this.f,this.b)),this.a},f.Kl=function(){return 0},f.Ll=function(){return this.c==(HR(),IU)&&$tn(this,r4n(this.f,this.b)),this.c},f.Ml=function(){return!this.d&&Otn(this,HAn(this.f,this.b)),this.d},f.xe=function(){return this.e==uA&&Mtn(this,hgt(this.f,this.b)),this.e},f.Nl=function(){return this.g==-2&&Ltn(this,S2n(this.f,this.b)),this.g},f.e=uA,f.g=-2,O(ri,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),$(1180,1,{},Qnt),f.b=!1,f.c=!1,O(ri,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),$(1183,1,{},_ct),f.c=-2,f.e=uA,f.f=uA,O(ri,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),$(593,632,qs,nL),f.Lj=function(){return this.c},f.ol=function(){return!1},f.Wi=function(t,i){return i},f.c=0,O(ri,"EDataTypeEList",593);var a$e=bi(ri,"FeatureMap");$(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},_i),f.bd=function(t,i){_kn(this,t,u(i,76))},f.Fc=function(t){return F3n(this,u(t,76))},f.Hi=function(t){Gcn(this,u(t,76))},f.Nj=function(t,i){return dsn(this,u(t,76),i)},f.Oj=function(t,i){return Tpe(this,u(t,76),i)},f.Ti=function(t,i){return K4n(this,t,i)},f.Wi=function(t,i){return OCn(this,t,u(i,76))},f.hd=function(t,i){return lRn(this,t,u(i,76))},f.Uj=function(t,i){return hsn(this,u(t,76),i)},f.Vj=function(t,i){return kot(this,u(t,76),i)},f.Wj=function(t,i,s){return c2n(this,u(t,76),u(i,76),s)},f.Zi=function(t,i){return GY(this,t,u(i,76))},f.Ol=function(t,i){return Ive(this,t,i)},f.cd=function(t,i){var s,a,c,d,p,w,y,v,x;for(v=new Xw(i.gc()),c=i.Kc();c.Ob();)if(a=u(c.Pb(),76),d=a.Lk(),Kb(this.e,d))(!d.Si()||!KL(this,d,a.md())&&!A4(v,a))&&Wn(v,a);else{for(x=gl(this.e.Dh(),d),s=u(this.g,124),p=!0,w=0;w=0;)if(i=t[this.c],this.k.am(i.Lk()))return this.j=this.f?i:i.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},O(ri,"BasicFeatureMap/FeatureEIterator",420),$(676,420,Xh,lq),f.ul=function(){return!0},O(ri,"BasicFeatureMap/ResolvingFeatureEIterator",676),$(968,496,YB,Hrt),f.pj=function(){return this},O(ri,"EContentsEList/1",968),$(969,496,YB,frt),f.ul=function(){return!1},O(ri,"EContentsEList/2",969),$(967,287,QB,Wrt),f.wl=function(t){},f.Ob=function(){return!1},f.Sb=function(){return!1},O(ri,"EContentsEList/FeatureIteratorImpl/1",967),$(840,593,qs,jbe),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;Hn(this),Pc(this.e)?(t=this.a,this.a=!1,Ir(this.e,new $f(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,O(ri,"EDataTypeEList/Unsettable",840),$(1958,593,qs,Xrt),f.Si=function(){return!0},O(ri,"EDataTypeUniqueEList",1958),$(1959,840,qs,Jrt),f.Si=function(){return!0},O(ri,"EDataTypeUniqueEList/Unsettable",1959),$(147,83,qs,Vl),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectContainmentEList/Resolving",147),$(1184,555,qs,Yrt),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectContainmentEList/Unsettable/Resolving",1184),$(766,14,qs,kpe),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;Hn(this),Pc(this.e)?(t=this.a,this.a=!1,Ir(this.e,new $f(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,O(ri,"EObjectContainmentWithInverseEList/Unsettable",766),$(1222,766,qs,uot),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),$(757,505,qs,Fbe),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;Hn(this),Pc(this.e)?(t=this.a,this.a=!1,Ir(this.e,new $f(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,O(ri,"EObjectEList/Unsettable",757),$(338,505,qs,O2),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectResolvingEList",338),$(1844,757,qs,Qrt),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectResolvingEList/Unsettable",1844),$(1527,1,{},FKe);var b8t;O(ri,"EObjectValidator",1527),$(559,505,qs,yL),f.il=function(){return this.d},f.jl=function(){return this.b},f.Mj=function(){return!0},f.ml=function(){return!0},f.b=0,O(ri,"EObjectWithInverseEList",559),$(1225,559,qs,fot),f.ll=function(){return!0},O(ri,"EObjectWithInverseEList/ManyInverse",1225),$(635,559,qs,$q),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;Hn(this),Pc(this.e)?(t=this.a,this.a=!1,Ir(this.e,new $f(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,O(ri,"EObjectWithInverseEList/Unsettable",635),$(1224,635,qs,dot),f.ll=function(){return!0},O(ri,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),$(767,559,qs,Rpe),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectWithInverseResolvingEList",767),$(32,767,qs,Xt),f.ll=function(){return!0},O(ri,"EObjectWithInverseResolvingEList/ManyInverse",32),$(768,635,qs,Ape),f.nl=function(){return!0},f.Wi=function(t,i){return r3(this,t,u(i,58))},O(ri,"EObjectWithInverseResolvingEList/Unsettable",768),$(1223,768,qs,hot),f.ll=function(){return!0},O(ri,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),$(1185,632,qs),f.Li=function(){return(this.b&1792)==0},f.Ni=function(){this.b|=1},f.kl=function(){return(this.b&4)!=0},f.Mj=function(){return(this.b&40)!=0},f.ll=function(){return(this.b&16)!=0},f.ml=function(){return(this.b&8)!=0},f.nl=function(){return(this.b&mv)!=0},f.al=function(){return(this.b&32)!=0},f.ol=function(){return(this.b&Mf)!=0},f.fk=function(t){return this.d?Zct(this.d,t):this.Lk().Hk().fk(t)},f.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},f.Si=function(){return(this.b&128)!=0},f.Gk=function(){var t;Hn(this),this.b&2&&(Pc(this.e)?(t=(this.b&1)!=0,this.b&=-2,lR(this,new $f(this.e,2,ui(this.e.Dh(),this.Lk()),t,!1))):this.b&=-2)},f.Yi=function(){return(this.b&1536)==0},f.b=0,O(ri,"EcoreEList/Generic",1185),$(1186,1185,qs,olt),f.Lk=function(){return this.a},O(ri,"EcoreEList/Dynamic",1186),$(765,66,Ah,Bde),f.aj=function(t){return E7(this.a.a,t)},O(ri,"EcoreEMap/1",765),$(764,83,qs,kge),f.Mi=function(t,i){fF(this.b,u(i,136))},f.Oi=function(t,i){nbt(this.b)},f.Pi=function(t,i,s){var a;++(a=this.b,u(i,136),a).e},f.Qi=function(t,i){eY(this.b,u(i,136))},f.Ri=function(t,i,s){eY(this.b,u(s,136)),xe(s)===xe(i)&&u(s,136).Ci(uin(u(i,136).ld())),fF(this.b,u(i,136))},O(ri,"EcoreEMap/DelegateEObjectContainmentEList",764),$(1220,141,KEe,yht),O(ri,"EcoreEMap/Unsettable",1220),$(1221,764,qs,bot),f.Ni=function(){this.a=!0},f.Qj=function(){return this.a},f.Gk=function(){var t;Hn(this),Pc(this.e)?(t=this.a,this.a=!1,Ir(this.e,new $f(this.e,2,this.c,t,!1))):this.a=!1},f.a=!1,O(ri,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),$(1189,215,u_,sat),f.a=!1,f.b=!1,O(ri,"EcoreUtil/Copier",1189),$(759,1,ho,Vct),f.Nb=function(t){Ao(this,t)},f.Ob=function(){return Qpt(this)},f.Pb=function(){var t;return Qpt(this),t=this.b,this.b=null,t},f.Qb=function(){this.a.Qb()},O(ri,"EcoreUtil/ProperContentIterator",759),$(1528,1527,{},Fqe);var p8t;O(ri,"EcoreValidator",1528);var g8t;bi(ri,"FeatureMapUtil/Validator"),$(1295,1,{2041:1},BKe),f.am=function(t){return!0},O(ri,"FeatureMapUtil/1",1295),$(773,1,{2041:1},o2e),f.am=function(t){var i;return this.c==t?!0:(i=ht(_n(this.a,t)),i==null?c4n(this,t)?(Vut(this.a,t,(on(),hA)),!0):(Vut(this.a,t,(on(),f1)),!1):i==(on(),hA))},f.e=!1;var Soe;O(ri,"FeatureMapUtil/BasicValidator",773),$(774,45,u_,Dbe),O(ri,"FeatureMapUtil/BasicValidator/Cache",774),$(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},C8),f.bd=function(t,i){Omt(this.c,this.b,t,i)},f.Fc=function(t){return Ive(this.c,this.b,t)},f.cd=function(t,i){return I6n(this.c,this.b,t,i)},f.Gc=function(t){return MC(this,t)},f.Gi=function(t,i){Rpn(this.c,this.b,t,i)},f.Wk=function(t,i){return Sve(this.c,this.b,t,i)},f.$i=function(t){return KF(this.c,this.b,t,!1)},f.Ii=function(){return Ert(this.c,this.b)},f.Ji=function(){return Yrn(this.c,this.b)},f.Ki=function(t){return Ibn(this.c,this.b,t)},f.Xk=function(t,i){return zit(this,t,i)},f.$b=function(){sE(this)},f.Hc=function(t){return KL(this.c,this.b,t)},f.Ic=function(t){return $gn(this.c,this.b,t)},f.Xb=function(t){return KF(this.c,this.b,t,!0)},f.Fk=function(t){return this},f.dd=function(t){return Lhn(this.c,this.b,t)},f.dc=function(){return TD(this)},f.Qj=function(){return!V7(this.c,this.b)},f.Kc=function(){return ppn(this.c,this.b)},f.ed=function(){return gpn(this.c,this.b)},f.fd=function(t){return z0n(this.c,this.b,t)},f.Ti=function(t,i){return qyt(this.c,this.b,t,i)},f.Ui=function(t,i){Obn(this.c,this.b,t,i)},f.gd=function(t){return A0t(this.c,this.b,t)},f.Mc=function(t){return T4n(this.c,this.b,t)},f.hd=function(t,i){return rvt(this.c,this.b,t,i)},f.Wb=function(t){CF(this.c,this.b),MC(this,u(t,15))},f.gc=function(){return K0n(this.c,this.b)},f.Pc=function(){return Fdn(this.c,this.b)},f.Qc=function(t){return jhn(this.c,this.b,t)},f.Ib=function(){var t,i;for(i=new _p,i.a+="[",t=Ert(this.c,this.b);VJ(t);)ps(i,LC(lF(t))),VJ(t)&&(i.a+=Jo);return i.a+="]",i.a},f.Gk=function(){CF(this.c,this.b)},O(ri,"FeatureMapUtil/FeatureEList",509),$(644,39,eO,BX),f.hj=function(t){return k5(this,t)},f.mj=function(t){var i,s,a,c,d,p,w;switch(this.d){case 1:case 2:{if(d=t.jj(),xe(d)===xe(this.c)&&k5(this,null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0;break}case 3:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),xe(d)===xe(this.c)&&k5(this,null)==t.hj(null))return this.d=5,i=new Xw(2),Wn(i,this.g),Wn(i,t.ij()),this.g=i,!0;break}}break}case 5:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),xe(d)===xe(this.c)&&k5(this,null)==t.hj(null))return s=u(this.g,16),s.Fc(t.ij()),!0;break}}break}case 4:{switch(c=t.gj(),c){case 3:{if(d=t.jj(),xe(d)===xe(this.c)&&k5(this,null)==t.hj(null))return this.d=1,this.g=t.ij(),!0;break}case 4:{if(d=t.jj(),xe(d)===xe(this.c)&&k5(this,null)==t.hj(null))return this.d=6,w=new Xw(2),Wn(w,this.n),Wn(w,t.kj()),this.n=w,p=oe(re(Gn,1),ur,28,15,[this.o,t.lj()]),this.g=p,!0;break}}break}case 6:{switch(c=t.gj(),c){case 4:{if(d=t.jj(),xe(d)===xe(this.c)&&k5(this,null)==t.hj(null))return s=u(this.n,16),s.Fc(t.kj()),p=u(this.g,53),a=Ne(Gn,ur,28,p.length+1,15,1),Da(p,0,a,0,p.length),a[p.length]=t.lj(),this.g=a,!0;break}}break}}return!1},O(ri,"FeatureMapUtil/FeatureENotificationImpl",644),$(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},sL),f.Ol=function(t,i){return Ive(this.c,t,i)},f.Pl=function(t,i,s){return Sve(this.c,t,i,s)},f.Ql=function(t,i,s){return qve(this.c,t,i,s)},f.Rl=function(){return this},f.Sl=function(t,i){return vP(this.c,t,i)},f.Tl=function(t){return u(KF(this.c,this.b,t,!1),76).Lk()},f.Ul=function(t){return u(KF(this.c,this.b,t,!1),76).md()},f.Vl=function(){return this.a},f.Wl=function(t){return!V7(this.c,t)},f.Xl=function(t,i){zF(this.c,t,i)},f.Yl=function(t){return Sht(this.c,t)},f.Zl=function(t){e1t(this.c,t)},O(ri,"FeatureMapUtil/FeatureFeatureMap",564),$(1294,1,_te,Jnt),f.Fk=function(t){return KF(this.b,this.a,-1,t)},f.Qj=function(){return!V7(this.b,this.a)},f.Wb=function(t){zF(this.b,this.a,t)},f.Gk=function(){CF(this.b,this.a)},O(ri,"FeatureMapUtil/FeatureValue",1294);var W3,Eoe,koe,U3,w8t,y9=bi(sH,"AnyType");$(680,63,zb,pz),O(sH,"InvalidDatatypeValueException",680);var PU=bi(sH,G3t),v9=bi(sH,K3t),l$e=bi(sH,z3t),m8t,Ca,c$e,rw,y8t,v8t,_8t,S8t,E8t,k8t,R8t,A8t,C8t,x8t,$8t,tS,I8t,nS,W$,T8t,Gm,_9,S9,P8t,U$,V$;$(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},ohe),f.Lh=function(t,i,s){switch(t){case 0:return s?(!this.c&&(this.c=new _i(this,0)),this.c):(!this.c&&(this.c=new _i(this,0)),this.c.b);case 1:return s?(!this.c&&(this.c=new _i(this,0)),u(Wa(this.c,(Fr(),rw)),160)):(!this.c&&(this.c=new _i(this,0)),u(u(Wa(this.c,(Fr(),rw)),160),220)).Vl();case 2:return s?(!this.b&&(this.b=new _i(this,2)),this.b):(!this.b&&(this.b=new _i(this,2)),this.b.b)}return ku(this,t-xn(this.ii()),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():this.ii(),t),i,s)},f.Uh=function(t,i,s){var a;switch(i){case 0:return!this.c&&(this.c=new _i(this,0)),gP(this.c,t,s);case 1:return(!this.c&&(this.c=new _i(this,0)),u(u(Wa(this.c,(Fr(),rw)),160),71)).Xk(t,s);case 2:return!this.b&&(this.b=new _i(this,2)),gP(this.b,t,s)}return a=u(Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():this.ii(),i),69),a.wk().Ak(this,l0e(this),i-xn(this.ii()),t,s)},f.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new _i(this,0)),u(Wa(this.c,(Fr(),rw)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return Su(this,t-xn(this.ii()),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():this.ii(),t))},f.bi=function(t,i){switch(t){case 0:!this.c&&(this.c=new _i(this,0)),z8(this.c,i);return;case 1:(!this.c&&(this.c=new _i(this,0)),u(u(Wa(this.c,(Fr(),rw)),160),220)).Wb(i);return;case 2:!this.b&&(this.b=new _i(this,2)),z8(this.b,i);return}xu(this,t-xn(this.ii()),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():this.ii(),t),i)},f.ii=function(){return Fr(),c$e},f.ki=function(t){switch(t){case 0:!this.c&&(this.c=new _i(this,0)),Hn(this.c);return;case 1:(!this.c&&(this.c=new _i(this,0)),u(Wa(this.c,(Fr(),rw)),160)).$b();return;case 2:!this.b&&(this.b=new _i(this,2)),Hn(this.b);return}Cu(this,t-xn(this.ii()),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():this.ii(),t))},f.Ib=function(){var t;return this.j&4?Pf(this):(t=new Ku(Pf(this)),t.a+=" (mixed: ",TC(t,this.c),t.a+=", anyAttribute: ",TC(t,this.b),t.a+=")",t.a)},O(Hi,"AnyTypeImpl",844),$(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},YKe),f.Lh=function(t,i,s){switch(t){case 0:return this.a;case 1:return this.b}return ku(this,t-xn((Fr(),tS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():tS,t),i,s)},f.Wh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return Su(this,t-xn((Fr(),tS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():tS,t))},f.bi=function(t,i){switch(t){case 0:Btn(this,tr(i));return;case 1:Wtn(this,tr(i));return}xu(this,t-xn((Fr(),tS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():tS,t),i)},f.ii=function(){return Fr(),tS},f.ki=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}Cu(this,t-xn((Fr(),tS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():tS,t))},f.Ib=function(){var t;return this.j&4?Pf(this):(t=new Ku(Pf(this)),t.a+=" (data: ",ps(t,this.a),t.a+=", target: ",ps(t,this.b),t.a+=")",t.a)},f.a=null,f.b=null,O(Hi,"ProcessingInstructionImpl",681),$(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},CZe),f.Lh=function(t,i,s){switch(t){case 0:return s?(!this.c&&(this.c=new _i(this,0)),this.c):(!this.c&&(this.c=new _i(this,0)),this.c.b);case 1:return s?(!this.c&&(this.c=new _i(this,0)),u(Wa(this.c,(Fr(),rw)),160)):(!this.c&&(this.c=new _i(this,0)),u(u(Wa(this.c,(Fr(),rw)),160),220)).Vl();case 2:return s?(!this.b&&(this.b=new _i(this,2)),this.b):(!this.b&&(this.b=new _i(this,2)),this.b.b);case 3:return!this.c&&(this.c=new _i(this,0)),tr(vP(this.c,(Fr(),W$),!0));case 4:return xpe(this.a,(!this.c&&(this.c=new _i(this,0)),tr(vP(this.c,(Fr(),W$),!0))));case 5:return this.a}return ku(this,t-xn((Fr(),nS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():nS,t),i,s)},f.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new _i(this,0)),u(Wa(this.c,(Fr(),rw)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new _i(this,0)),tr(vP(this.c,(Fr(),W$),!0))!=null;case 4:return xpe(this.a,(!this.c&&(this.c=new _i(this,0)),tr(vP(this.c,(Fr(),W$),!0))))!=null;case 5:return!!this.a}return Su(this,t-xn((Fr(),nS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():nS,t))},f.bi=function(t,i){switch(t){case 0:!this.c&&(this.c=new _i(this,0)),z8(this.c,i);return;case 1:(!this.c&&(this.c=new _i(this,0)),u(u(Wa(this.c,(Fr(),rw)),160),220)).Wb(i);return;case 2:!this.b&&(this.b=new _i(this,2)),z8(this.b,i);return;case 3:g1e(this,tr(i));return;case 4:g1e(this,Cpe(this.a,i));return;case 5:Htn(this,u(i,156));return}xu(this,t-xn((Fr(),nS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():nS,t),i)},f.ii=function(){return Fr(),nS},f.ki=function(t){switch(t){case 0:!this.c&&(this.c=new _i(this,0)),Hn(this.c);return;case 1:(!this.c&&(this.c=new _i(this,0)),u(Wa(this.c,(Fr(),rw)),160)).$b();return;case 2:!this.b&&(this.b=new _i(this,2)),Hn(this.b);return;case 3:!this.c&&(this.c=new _i(this,0)),zF(this.c,(Fr(),W$),null);return;case 4:g1e(this,Cpe(this.a,null));return;case 5:this.a=null;return}Cu(this,t-xn((Fr(),nS)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():nS,t))},O(Hi,"SimpleAnyTypeImpl",682),$(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},xZe),f.Lh=function(t,i,s){switch(t){case 0:return s?(!this.a&&(this.a=new _i(this,0)),this.a):(!this.a&&(this.a=new _i(this,0)),this.a.b);case 1:return s?(!this.b&&(this.b=new ql((Vt(),rs),va,this,1)),this.b):(!this.b&&(this.b=new ql((Vt(),rs),va,this,1)),f7(this.b));case 2:return s?(!this.c&&(this.c=new ql((Vt(),rs),va,this,2)),this.c):(!this.c&&(this.c=new ql((Vt(),rs),va,this,2)),f7(this.c));case 3:return!this.a&&(this.a=new _i(this,0)),Wa(this.a,(Fr(),_9));case 4:return!this.a&&(this.a=new _i(this,0)),Wa(this.a,(Fr(),S9));case 5:return!this.a&&(this.a=new _i(this,0)),Wa(this.a,(Fr(),U$));case 6:return!this.a&&(this.a=new _i(this,0)),Wa(this.a,(Fr(),V$))}return ku(this,t-xn((Fr(),Gm)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():Gm,t),i,s)},f.Uh=function(t,i,s){var a;switch(i){case 0:return!this.a&&(this.a=new _i(this,0)),gP(this.a,t,s);case 1:return!this.b&&(this.b=new ql((Vt(),rs),va,this,1)),XD(this.b,t,s);case 2:return!this.c&&(this.c=new ql((Vt(),rs),va,this,2)),XD(this.c,t,s);case 5:return!this.a&&(this.a=new _i(this,0)),zit(Wa(this.a,(Fr(),U$)),t,s)}return a=u(Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():(Fr(),Gm),i),69),a.wk().Ak(this,l0e(this),i-xn((Fr(),Gm)),t,s)},f.Wh=function(t){switch(t){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new _i(this,0)),!TD(Wa(this.a,(Fr(),_9)));case 4:return!this.a&&(this.a=new _i(this,0)),!TD(Wa(this.a,(Fr(),S9)));case 5:return!this.a&&(this.a=new _i(this,0)),!TD(Wa(this.a,(Fr(),U$)));case 6:return!this.a&&(this.a=new _i(this,0)),!TD(Wa(this.a,(Fr(),V$)))}return Su(this,t-xn((Fr(),Gm)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():Gm,t))},f.bi=function(t,i){switch(t){case 0:!this.a&&(this.a=new _i(this,0)),z8(this.a,i);return;case 1:!this.b&&(this.b=new ql((Vt(),rs),va,this,1)),Tj(this.b,i);return;case 2:!this.c&&(this.c=new ql((Vt(),rs),va,this,2)),Tj(this.c,i);return;case 3:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),_9))),!this.a&&(this.a=new _i(this,0)),MC(Wa(this.a,_9),u(i,16));return;case 4:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),S9))),!this.a&&(this.a=new _i(this,0)),MC(Wa(this.a,S9),u(i,16));return;case 5:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),U$))),!this.a&&(this.a=new _i(this,0)),MC(Wa(this.a,U$),u(i,16));return;case 6:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),V$))),!this.a&&(this.a=new _i(this,0)),MC(Wa(this.a,V$),u(i,16));return}xu(this,t-xn((Fr(),Gm)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():Gm,t),i)},f.ii=function(){return Fr(),Gm},f.ki=function(t){switch(t){case 0:!this.a&&(this.a=new _i(this,0)),Hn(this.a);return;case 1:!this.b&&(this.b=new ql((Vt(),rs),va,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new ql((Vt(),rs),va,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),_9)));return;case 4:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),S9)));return;case 5:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),U$)));return;case 6:!this.a&&(this.a=new _i(this,0)),sE(Wa(this.a,(Fr(),V$)));return}Cu(this,t-xn((Fr(),Gm)),Yt(this.j&2?(!this.k&&(this.k=new td),this.k).Nk():Gm,t))},f.Ib=function(){var t;return this.j&4?Pf(this):(t=new Ku(Pf(this)),t.a+=" (mixed: ",TC(t,this.a),t.a+=")",t.a)},O(Hi,"XMLTypeDocumentRootImpl",683),$(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},HKe),f.ri=function(t,i){switch(t.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return i==null?null:zs(i);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return tr(i);case 6:return Eon(u(i,195));case 12:case 47:case 49:case 11:return Vvt(this,t,i);case 13:return i==null?null:O6n(u(i,247));case 15:case 14:return i==null?null:Fcn(Re(Oe(i)));case 17:return H1t((Fr(),i));case 18:return H1t(i);case 21:case 20:return i==null?null:Bcn(u(i,161).a);case 27:return kon(u(i,195));case 30:return t1t((Fr(),u(i,15)));case 31:return t1t(u(i,15));case 40:return Aon((Fr(),i));case 42:return W1t((Fr(),i));case 43:return W1t(i);case 59:case 48:return Ron((Fr(),i));default:throw Z(new un(aA+t.xe()+_m))}},f.si=function(t){var i,s,a,c,d;switch(t.G==-1&&(t.G=(s=Jc(t),s?Wp(s.vi(),t):-1)),t.G){case 0:return i=new ohe,i;case 1:return a=new YKe,a;case 2:return c=new CZe,c;case 3:return d=new xZe,d;default:throw Z(new un(ote+t.zb+_m))}},f.ti=function(t,i){var s,a,c,d,p,w,y,v,x,N,j,W,V,q,ie,ue;switch(t.hk()){case 5:case 52:case 4:return i;case 6:return Pmn(i);case 8:case 7:return i==null?null:m2n(i);case 9:return i==null?null:y7(tu((a=Va(i,!0),a.length>0&&(fn(0,a.length),a.charCodeAt(0)==43)?(fn(1,a.length+1),a.substr(1)):a),-128,127)<<24>>24);case 10:return i==null?null:y7(tu((c=Va(i,!0),c.length>0&&(fn(0,c.length),c.charCodeAt(0)==43)?(fn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return tr(hm(this,(Fr(),_8t),i));case 12:return tr(hm(this,(Fr(),S8t),i));case 13:return i==null?null:new $he(Va(i,!0));case 15:case 14:return H3n(i);case 16:return tr(hm(this,(Fr(),E8t),i));case 17:return rgt((Fr(),i));case 18:return rgt(i);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Va(i,!0);case 21:case 20:return Y3n(i);case 22:return tr(hm(this,(Fr(),k8t),i));case 23:return tr(hm(this,(Fr(),R8t),i));case 24:return tr(hm(this,(Fr(),A8t),i));case 25:return tr(hm(this,(Fr(),C8t),i));case 26:return tr(hm(this,(Fr(),x8t),i));case 27:return vmn(i);case 30:return igt((Fr(),i));case 31:return igt(i);case 32:return i==null?null:rt(tu((x=Va(i,!0),x.length>0&&(fn(0,x.length),x.charCodeAt(0)==43)?(fn(1,x.length+1),x.substr(1)):x),Do,xr));case 33:return i==null?null:new jg((N=Va(i,!0),N.length>0&&(fn(0,N.length),N.charCodeAt(0)==43)?(fn(1,N.length+1),N.substr(1)):N));case 34:return i==null?null:rt(tu((j=Va(i,!0),j.length>0&&(fn(0,j.length),j.charCodeAt(0)==43)?(fn(1,j.length+1),j.substr(1)):j),Do,xr));case 36:return i==null?null:Ub(YF((W=Va(i,!0),W.length>0&&(fn(0,W.length),W.charCodeAt(0)==43)?(fn(1,W.length+1),W.substr(1)):W)));case 37:return i==null?null:Ub(YF((V=Va(i,!0),V.length>0&&(fn(0,V.length),V.charCodeAt(0)==43)?(fn(1,V.length+1),V.substr(1)):V)));case 40:return wyn((Fr(),i));case 42:return ogt((Fr(),i));case 43:return ogt(i);case 44:return i==null?null:new jg((q=Va(i,!0),q.length>0&&(fn(0,q.length),q.charCodeAt(0)==43)?(fn(1,q.length+1),q.substr(1)):q));case 45:return i==null?null:new jg((ie=Va(i,!0),ie.length>0&&(fn(0,ie.length),ie.charCodeAt(0)==43)?(fn(1,ie.length+1),ie.substr(1)):ie));case 46:return Va(i,!1);case 47:return tr(hm(this,(Fr(),$8t),i));case 59:case 48:return gyn((Fr(),i));case 49:return tr(hm(this,(Fr(),I8t),i));case 50:return i==null?null:b4(tu((ue=Va(i,!0),ue.length>0&&(fn(0,ue.length),ue.charCodeAt(0)==43)?(fn(1,ue.length+1),ue.substr(1)):ue),nH,32767)<<16>>16);case 51:return i==null?null:b4(tu((d=Va(i,!0),d.length>0&&(fn(0,d.length),d.charCodeAt(0)==43)?(fn(1,d.length+1),d.substr(1)):d),nH,32767)<<16>>16);case 53:return tr(hm(this,(Fr(),T8t),i));case 55:return i==null?null:b4(tu((p=Va(i,!0),p.length>0&&(fn(0,p.length),p.charCodeAt(0)==43)?(fn(1,p.length+1),p.substr(1)):p),nH,32767)<<16>>16);case 56:return i==null?null:b4(tu((w=Va(i,!0),w.length>0&&(fn(0,w.length),w.charCodeAt(0)==43)?(fn(1,w.length+1),w.substr(1)):w),nH,32767)<<16>>16);case 57:return i==null?null:Ub(YF((y=Va(i,!0),y.length>0&&(fn(0,y.length),y.charCodeAt(0)==43)?(fn(1,y.length+1),y.substr(1)):y)));case 58:return i==null?null:Ub(YF((v=Va(i,!0),v.length>0&&(fn(0,v.length),v.charCodeAt(0)==43)?(fn(1,v.length+1),v.substr(1)):v)));case 60:return i==null?null:rt(tu((s=Va(i,!0),s.length>0&&(fn(0,s.length),s.charCodeAt(0)==43)?(fn(1,s.length+1),s.substr(1)):s),Do,xr));case 61:return i==null?null:rt(tu(Va(i,!0),Do,xr));default:throw Z(new un(aA+t.xe()+_m))}};var O8t,u$e,N8t,f$e;O(Hi,"XMLTypeFactoryImpl",2028),$(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},xat),f.N=!1,f.O=!1;var M8t=!1;O(Hi,"XMLTypePackageImpl",594),$(1961,1,{851:1},WKe),f.Kk=function(){return Fve(),V8t},O(Hi,"XMLTypePackageImpl/1",1961),$(1970,1,gr,UKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/10",1970),$(1971,1,gr,VKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/11",1971),$(1972,1,gr,GKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/12",1972),$(1973,1,gr,KKe),f.fk=function(t){return Cy(t)},f.gk=function(t){return Ne(Wi,tt,345,t,7,1)},O(Hi,"XMLTypePackageImpl/13",1973),$(1974,1,gr,zKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/14",1974),$(1975,1,gr,qKe),f.fk=function(t){return pe(t,15)},f.gk=function(t){return Ne(Du,dv,15,t,0,1)},O(Hi,"XMLTypePackageImpl/15",1975),$(1976,1,gr,XKe),f.fk=function(t){return pe(t,15)},f.gk=function(t){return Ne(Du,dv,15,t,0,1)},O(Hi,"XMLTypePackageImpl/16",1976),$(1977,1,gr,JKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/17",1977),$(1978,1,gr,QKe),f.fk=function(t){return pe(t,161)},f.gk=function(t){return Ne(bA,tt,161,t,0,1)},O(Hi,"XMLTypePackageImpl/18",1978),$(1979,1,gr,ZKe),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/19",1979),$(1962,1,gr,eze),f.fk=function(t){return pe(t,857)},f.gk=function(t){return Ne(y9,Zt,857,t,0,1)},O(Hi,"XMLTypePackageImpl/2",1962),$(1980,1,gr,tze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/20",1980),$(1981,1,gr,nze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/21",1981),$(1982,1,gr,rze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/22",1982),$(1983,1,gr,ize),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/23",1983),$(1984,1,gr,oze),f.fk=function(t){return pe(t,195)},f.gk=function(t){return Ne(tc,tt,195,t,0,2)},O(Hi,"XMLTypePackageImpl/24",1984),$(1985,1,gr,sze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/25",1985),$(1986,1,gr,aze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/26",1986),$(1987,1,gr,lze),f.fk=function(t){return pe(t,15)},f.gk=function(t){return Ne(Du,dv,15,t,0,1)},O(Hi,"XMLTypePackageImpl/27",1987),$(1988,1,gr,cze),f.fk=function(t){return pe(t,15)},f.gk=function(t){return Ne(Du,dv,15,t,0,1)},O(Hi,"XMLTypePackageImpl/28",1988),$(1989,1,gr,uze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/29",1989),$(1963,1,gr,fze),f.fk=function(t){return pe(t,681)},f.gk=function(t){return Ne(PU,Zt,2119,t,0,1)},O(Hi,"XMLTypePackageImpl/3",1963),$(1990,1,gr,dze),f.fk=function(t){return pe(t,17)},f.gk=function(t){return Ne(Io,tt,17,t,0,1)},O(Hi,"XMLTypePackageImpl/30",1990),$(1991,1,gr,hze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/31",1991),$(1992,1,gr,bze),f.fk=function(t){return pe(t,168)},f.gk=function(t){return Ne(Em,tt,168,t,0,1)},O(Hi,"XMLTypePackageImpl/32",1992),$(1993,1,gr,pze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/33",1993),$(1994,1,gr,gze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/34",1994),$(1995,1,gr,wze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/35",1995),$(1996,1,gr,mze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/36",1996),$(1997,1,gr,yze),f.fk=function(t){return pe(t,15)},f.gk=function(t){return Ne(Du,dv,15,t,0,1)},O(Hi,"XMLTypePackageImpl/37",1997),$(1998,1,gr,vze),f.fk=function(t){return pe(t,15)},f.gk=function(t){return Ne(Du,dv,15,t,0,1)},O(Hi,"XMLTypePackageImpl/38",1998),$(1999,1,gr,_ze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/39",1999),$(1964,1,gr,Sze),f.fk=function(t){return pe(t,682)},f.gk=function(t){return Ne(v9,Zt,2120,t,0,1)},O(Hi,"XMLTypePackageImpl/4",1964),$(2e3,1,gr,Eze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/40",2e3),$(2001,1,gr,kze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/41",2001),$(2002,1,gr,Rze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/42",2002),$(2003,1,gr,Aze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/43",2003),$(2004,1,gr,Cze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/44",2004),$(2005,1,gr,xze),f.fk=function(t){return pe(t,191)},f.gk=function(t){return Ne(km,tt,191,t,0,1)},O(Hi,"XMLTypePackageImpl/45",2005),$(2006,1,gr,$ze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/46",2006),$(2007,1,gr,Ize),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/47",2007),$(2008,1,gr,Tze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/48",2008),$(2009,1,gr,Pze),f.fk=function(t){return pe(t,191)},f.gk=function(t){return Ne(km,tt,191,t,0,1)},O(Hi,"XMLTypePackageImpl/49",2009),$(1965,1,gr,Oze),f.fk=function(t){return pe(t,683)},f.gk=function(t){return Ne(l$e,Zt,2121,t,0,1)},O(Hi,"XMLTypePackageImpl/5",1965),$(2010,1,gr,Nze),f.fk=function(t){return pe(t,168)},f.gk=function(t){return Ne(Em,tt,168,t,0,1)},O(Hi,"XMLTypePackageImpl/50",2010),$(2011,1,gr,Mze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/51",2011),$(2012,1,gr,Dze),f.fk=function(t){return pe(t,17)},f.gk=function(t){return Ne(Io,tt,17,t,0,1)},O(Hi,"XMLTypePackageImpl/52",2012),$(1966,1,gr,Lze),f.fk=function(t){return fo(t)},f.gk=function(t){return Ne(wt,tt,2,t,6,1)},O(Hi,"XMLTypePackageImpl/6",1966),$(1967,1,gr,jze),f.fk=function(t){return pe(t,195)},f.gk=function(t){return Ne(tc,tt,195,t,0,2)},O(Hi,"XMLTypePackageImpl/7",1967),$(1968,1,gr,Fze),f.fk=function(t){return Ay(t)},f.gk=function(t){return Ne(Ri,tt,485,t,8,1)},O(Hi,"XMLTypePackageImpl/8",1968),$(1969,1,gr,Bze),f.fk=function(t){return pe(t,222)},f.gk=function(t){return Ne(y3,tt,222,t,0,1)},O(Hi,"XMLTypePackageImpl/9",1969);var Zd,ug,G$,OU,le;$(55,63,zb,rr),O(Jp,"RegEx/ParseException",55),$(836,1,{},sde),f.bm=function(t){return ts*16)throw Z(new rr(or((er(),i3t))));s=s*16+c}while(!0);if(this.a!=125)throw Z(new rr(or((er(),o3t))));if(s>fA)throw Z(new rr(or((er(),s3t))));t=s}else{if(c=0,this.c!=0||(c=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(s=c,Rr(this),this.c!=0||(c=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));s=s*16+c,t=s}break;case 117:if(a=0,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));i=i*16+a,t=i;break;case 118:if(Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,Rr(this),this.c!=0||(a=R0(this.a))<0)throw Z(new rr(or((er(),Xp))));if(i=i*16+a,i>fA)throw Z(new rr(or((er(),"parser.descappe.4"))));t=i;break;case 65:case 90:case 122:throw Z(new rr(or((er(),a3t))))}return t},f.dm=function(t){var i,s;switch(t){case 100:s=(this.e&32)==32?r1("Nd",!0):(Cr(),NU);break;case 68:s=(this.e&32)==32?r1("Nd",!1):(Cr(),w$e);break;case 119:s=(this.e&32)==32?r1("IsWord",!0):(Cr(),QA);break;case 87:s=(this.e&32)==32?r1("IsWord",!1):(Cr(),y$e);break;case 115:s=(this.e&32)==32?r1("IsSpace",!0):(Cr(),V3);break;case 83:s=(this.e&32)==32?r1("IsSpace",!1):(Cr(),m$e);break;default:throw Z(new ta((i=t,akt+i.toString(16))))}return s},f.em=function(t){var i,s,a,c,d,p,w,y,v,x,N,j;for(this.b=1,Rr(this),i=null,this.c==0&&this.a==94?(Rr(this),t?x=(Cr(),Cr(),new Xc(5)):(i=(Cr(),Cr(),new Xc(4)),Ua(i,0,fA),x=new Xc(4))):x=(Cr(),Cr(),new Xc(4)),c=!0;(j=this.c)!=1&&!(j==0&&this.a==93&&!c);){if(c=!1,s=this.a,a=!1,j==10)switch(s){case 100:case 68:case 119:case 87:case 115:case 83:lv(x,this.dm(s)),a=!0;break;case 105:case 73:case 99:case 67:s=this.um(x,s),s<0&&(a=!0);break;case 112:case 80:if(N=Lye(this,s),!N)throw Z(new rr(or((er(),mte))));lv(x,N),a=!0;break;default:s=this.cm()}else if(j==20){if(p=_R(this.i,58,this.d),p<0)throw Z(new rr(or((er(),BEe))));if(w=!0,No(this.i,this.d)==94&&(++this.d,w=!1),d=_u(this.i,this.d,p),y=Oft(d,w,(this.e&512)==512),!y)throw Z(new rr(or((er(),ZEt))));if(lv(x,y),a=!0,p+1>=this.j||No(this.i,p+1)!=93)throw Z(new rr(or((er(),BEe))));this.d=p+2}if(Rr(this),!a)if(this.c!=0||this.a!=45)Ua(x,s,s);else{if(Rr(this),(j=this.c)==1)throw Z(new rr(or((er(),XB))));j==0&&this.a==93?(Ua(x,s,s),Ua(x,45,45)):(v=this.a,j==10&&(v=this.cm()),Rr(this),Ua(x,s,v))}(this.e&Mf)==Mf&&this.c==0&&this.a==44&&Rr(this)}if(this.c==1)throw Z(new rr(or((er(),XB))));return i&&(nx(i,x),x=i),t_(x),ex(x),this.b=0,Rr(this),x},f.fm=function(){var t,i,s,a;for(s=this.em(!1);(a=this.c)!=7;)if(t=this.a,a==0&&(t==45||t==38)||a==4){if(Rr(this),this.c!=9)throw Z(new rr(or((er(),t3t))));if(i=this.em(!1),a==4)lv(s,i);else if(t==45)nx(s,i);else if(t==38)Bvt(s,i);else throw Z(new ta("ASSERT"))}else throw Z(new rr(or((er(),n3t))));return Rr(this),s},f.gm=function(){var t,i;return t=this.a-48,i=(Cr(),Cr(),new RX(12,null,t)),!this.g&&(this.g=new UM),WM(this.g,new Hde(t)),Rr(this),i},f.hm=function(){return Rr(this),Cr(),j8t},f.im=function(){return Rr(this),Cr(),L8t},f.jm=function(){throw Z(new rr(or((er(),Mu))))},f.km=function(){throw Z(new rr(or((er(),Mu))))},f.lm=function(){return Rr(this),M1n()},f.mm=function(){return Rr(this),Cr(),B8t},f.nm=function(){return Rr(this),Cr(),W8t},f.om=function(){var t;if(this.d>=this.j||((t=No(this.i,this.d++))&65504)!=64)throw Z(new rr(or((er(),JEt))));return Rr(this),Cr(),Cr(),new Hh(0,t-64)},f.pm=function(){return Rr(this),jAn()},f.qm=function(){return Rr(this),Cr(),U8t},f.rm=function(){var t;return t=(Cr(),Cr(),new Hh(0,105)),Rr(this),t},f.sm=function(){return Rr(this),Cr(),H8t},f.tm=function(){return Rr(this),Cr(),F8t},f.um=function(t,i){return this.cm()},f.vm=function(){return Rr(this),Cr(),p$e},f.wm=function(){var t,i,s,a,c;if(this.d+1>=this.j)throw Z(new rr(or((er(),zEt))));if(a=-1,i=null,t=No(this.i,this.d),49<=t&&t<=57){if(a=t-48,!this.g&&(this.g=new UM),WM(this.g,new Hde(a)),++this.d,No(this.i,this.d)!=41)throw Z(new rr(or((er(),j0))));++this.d}else switch(t==63&&--this.d,Rr(this),i=u2e(this),i.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw Z(new rr(or((er(),j0))));break;default:throw Z(new rr(or((er(),qEt))))}if(Rr(this),c=om(this),s=null,c.e==2){if(c.Pm()!=2)throw Z(new rr(or((er(),XEt))));s=c.Lm(1),c=c.Lm(0)}if(this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),Cr(),Cr(),new bdt(a,i,c,s)},f.xm=function(){return Rr(this),Cr(),g$e},f.ym=function(){var t;if(Rr(this),t=vL(24,om(this)),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.zm=function(){var t;if(Rr(this),t=vL(20,om(this)),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.Am=function(){var t;if(Rr(this),t=vL(22,om(this)),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.Bm=function(){var t,i,s,a,c;for(t=0,s=0,i=-1;this.d=this.j)throw Z(new rr(or((er(),jEe))));if(i==45){for(++this.d;this.d=this.j)throw Z(new rr(or((er(),jEe))))}if(i==58){if(++this.d,Rr(this),a=cat(om(this),t,s),this.c!=7)throw Z(new rr(or((er(),j0))));Rr(this)}else if(i==41)++this.d,Rr(this),a=cat(om(this),t,s);else throw Z(new rr(or((er(),KEt))));return a},f.Cm=function(){var t;if(Rr(this),t=vL(21,om(this)),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.Dm=function(){var t;if(Rr(this),t=vL(23,om(this)),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.Em=function(){var t,i;if(Rr(this),t=this.f++,i=Zq(om(this),t),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),i},f.Fm=function(){var t;if(Rr(this),t=Zq(om(this),0),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.Gm=function(t){return Rr(this),this.c==5?(Rr(this),fL(t,(Cr(),Cr(),new Fy(9,t)))):fL(t,(Cr(),Cr(),new Fy(3,t)))},f.Hm=function(t){var i;return Rr(this),i=(Cr(),Cr(),new NC(2)),this.c==5?(Rr(this),x0(i,z$),x0(i,t)):(x0(i,t),x0(i,z$)),i},f.Im=function(t){return Rr(this),this.c==5?(Rr(this),Cr(),Cr(),new Fy(9,t)):(Cr(),Cr(),new Fy(3,t))},f.a=0,f.b=0,f.c=0,f.d=0,f.e=0,f.f=1,f.g=null,f.j=0,O(Jp,"RegEx/RegexParser",836),$(1947,836,{},$Ze),f.bm=function(t){return!1},f.cm=function(){return mve(this)},f.dm=function(t){return D4(t)},f.em=function(t){return M2t(this)},f.fm=function(){throw Z(new rr(or((er(),Mu))))},f.gm=function(){throw Z(new rr(or((er(),Mu))))},f.hm=function(){throw Z(new rr(or((er(),Mu))))},f.im=function(){throw Z(new rr(or((er(),Mu))))},f.jm=function(){return Rr(this),D4(67)},f.km=function(){return Rr(this),D4(73)},f.lm=function(){throw Z(new rr(or((er(),Mu))))},f.mm=function(){throw Z(new rr(or((er(),Mu))))},f.nm=function(){throw Z(new rr(or((er(),Mu))))},f.om=function(){return Rr(this),D4(99)},f.pm=function(){throw Z(new rr(or((er(),Mu))))},f.qm=function(){throw Z(new rr(or((er(),Mu))))},f.rm=function(){return Rr(this),D4(105)},f.sm=function(){throw Z(new rr(or((er(),Mu))))},f.tm=function(){throw Z(new rr(or((er(),Mu))))},f.um=function(t,i){return lv(t,D4(i)),-1},f.vm=function(){return Rr(this),Cr(),Cr(),new Hh(0,94)},f.wm=function(){throw Z(new rr(or((er(),Mu))))},f.xm=function(){return Rr(this),Cr(),Cr(),new Hh(0,36)},f.ym=function(){throw Z(new rr(or((er(),Mu))))},f.zm=function(){throw Z(new rr(or((er(),Mu))))},f.Am=function(){throw Z(new rr(or((er(),Mu))))},f.Bm=function(){throw Z(new rr(or((er(),Mu))))},f.Cm=function(){throw Z(new rr(or((er(),Mu))))},f.Dm=function(){throw Z(new rr(or((er(),Mu))))},f.Em=function(){var t;if(Rr(this),t=Zq(om(this),0),this.c!=7)throw Z(new rr(or((er(),j0))));return Rr(this),t},f.Fm=function(){throw Z(new rr(or((er(),Mu))))},f.Gm=function(t){return Rr(this),fL(t,(Cr(),Cr(),new Fy(3,t)))},f.Hm=function(t){var i;return Rr(this),i=(Cr(),Cr(),new NC(2)),x0(i,t),x0(i,z$),i},f.Im=function(t){return Rr(this),Cr(),Cr(),new Fy(3,t)};var rS=null,JA=null;O(Jp,"RegEx/ParserForXMLSchema",1947),$(122,1,dA,gw),f.Jm=function(t){throw Z(new ta("Not supported."))},f.Km=function(){return-1},f.Lm=function(t){return null},f.Mm=function(){return null},f.Nm=function(t){},f.Om=function(t){},f.Pm=function(){return 0},f.Ib=function(){return this.Qm(0)},f.Qm=function(t){return this.e==11?".":""},f.e=0;var d$e,YA,K$,D8t,h$e,Jv=null,NU,Roe=null,b$e,z$,Aoe=null,p$e,g$e,w$e,m$e,y$e,L8t,V3,j8t,F8t,B8t,H8t,QA,W8t,U8t,q$n=O(Jp,"RegEx/Token",122);$(138,122,{3:1,138:1,122:1},Xc),f.Qm=function(t){var i,s,a;if(this.e==4)if(this==b$e)s=".";else if(this==NU)s="\\d";else if(this==QA)s="\\w";else if(this==V3)s="\\s";else{for(a=new _p,a.a+="[",i=0;i0&&(a.a+=","),this.b[i]===this.b[i+1]?ps(a,yP(this.b[i])):(ps(a,yP(this.b[i])),a.a+="-",ps(a,yP(this.b[i+1])));a.a+="]",s=a.a}else if(this==w$e)s="\\D";else if(this==y$e)s="\\W";else if(this==m$e)s="\\S";else{for(a=new _p,a.a+="[^",i=0;i0&&(a.a+=","),this.b[i]===this.b[i+1]?ps(a,yP(this.b[i])):(ps(a,yP(this.b[i])),a.a+="-",ps(a,yP(this.b[i+1])));a.a+="]",s=a.a}return s},f.a=!1,f.c=!1,O(Jp,"RegEx/RangeToken",138),$(592,1,{592:1},Hde),f.a=0,O(Jp,"RegEx/RegexParser/ReferencePosition",592),$(591,1,{3:1,591:1},Ket),f.Fb=function(t){var i;return t==null||!pe(t,591)?!1:(i=u(t,591),Ft(this.b,i.b)&&this.a==i.a)},f.Hb=function(){return Mp(this.b+"/"+fve(this.a))},f.Ib=function(){return this.c.Qm(this.a)},f.a=0,O(Jp,"RegEx/RegularExpression",591),$(228,122,dA,Hh),f.Km=function(){return this.a},f.Qm=function(t){var i,s,a;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:a="\\"+xq(this.a&Bi);break;case 12:a="\\f";break;case 10:a="\\n";break;case 13:a="\\r";break;case 9:a="\\t";break;case 27:a="\\e";break;default:this.a>=ts?(s=(i=this.a>>>0,"0"+i.toString(16)),a="\\v"+_u(s,s.length-6,s.length)):a=""+xq(this.a&Bi)}break;case 8:this==p$e||this==g$e?a=""+xq(this.a&Bi):a="\\"+xq(this.a&Bi);break;default:a=null}return a},f.a=0,O(Jp,"RegEx/Token/CharToken",228),$(318,122,dA,Fy),f.Lm=function(t){return this.a},f.Nm=function(t){this.b=t},f.Om=function(t){this.c=t},f.Pm=function(){return 1},f.Qm=function(t){var i;if(this.e==3)if(this.c<0&&this.b<0)i=this.a.Qm(t)+"*";else if(this.c==this.b)i=this.a.Qm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)i=this.a.Qm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)i=this.a.Qm(t)+"{"+this.c+",}";else throw Z(new ta("Token#toString(): CLOSURE "+this.c+Jo+this.b));else if(this.c<0&&this.b<0)i=this.a.Qm(t)+"*?";else if(this.c==this.b)i=this.a.Qm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)i=this.a.Qm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)i=this.a.Qm(t)+"{"+this.c+",}?";else throw Z(new ta("Token#toString(): NONGREEDYCLOSURE "+this.c+Jo+this.b));return i},f.b=0,f.c=0,O(Jp,"RegEx/Token/ClosureToken",318),$(837,122,dA,Ige),f.Lm=function(t){return t==0?this.a:this.b},f.Pm=function(){return 2},f.Qm=function(t){var i;return this.b.e==3&&this.b.Lm(0)==this.a?i=this.a.Qm(t)+"+":this.b.e==9&&this.b.Lm(0)==this.a?i=this.a.Qm(t)+"+?":i=this.a.Qm(t)+(""+this.b.Qm(t)),i},O(Jp,"RegEx/Token/ConcatToken",837),$(1945,122,dA,bdt),f.Lm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw Z(new ta("Internal Error: "+t))},f.Pm=function(){return this.b?2:1},f.Qm=function(t){var i;return this.c>0?i="(?("+this.c+")":this.a.e==8?i="(?("+this.a+")":i="(?"+this.a,this.b?i+=this.d+"|"+this.b+")":i+=this.d+")",i},f.c=0,O(Jp,"RegEx/Token/ConditionToken",1945),$(1946,122,dA,ict),f.Lm=function(t){return this.b},f.Pm=function(){return 1},f.Qm=function(t){return"(?"+(this.a==0?"":fve(this.a))+(this.c==0?"":fve(this.c))+":"+this.b.Qm(t)+")"},f.a=0,f.c=0,O(Jp,"RegEx/Token/ModifierToken",1946),$(838,122,dA,Bge),f.Lm=function(t){return this.a},f.Pm=function(){return 1},f.Qm=function(t){var i;switch(i=null,this.e){case 6:this.b==0?i="(?:"+this.a.Qm(t)+")":i="("+this.a.Qm(t)+")";break;case 20:i="(?="+this.a.Qm(t)+")";break;case 21:i="(?!"+this.a.Qm(t)+")";break;case 22:i="(?<="+this.a.Qm(t)+")";break;case 23:i="(?"+this.a.Qm(t)+")"}return i},f.b=0,O(Jp,"RegEx/Token/ParenToken",838),$(530,122,{3:1,122:1,530:1},RX),f.Mm=function(){return this.b},f.Qm=function(t){return this.e==12?"\\"+this.a:I3n(this.b)},f.a=0,O(Jp,"RegEx/Token/StringToken",530),$(477,122,dA,NC),f.Jm=function(t){x0(this,t)},f.Lm=function(t){return u(Hw(this.a,t),122)},f.Pm=function(){return this.a?this.a.a.c.length:0},f.Qm=function(t){var i,s,a,c,d;if(this.e==1){if(this.a.a.c.length==2)i=u(Hw(this.a,0),122),s=u(Hw(this.a,1),122),s.e==3&&s.Lm(0)==i?c=i.Qm(t)+"+":s.e==9&&s.Lm(0)==i?c=i.Qm(t)+"+?":c=i.Qm(t)+(""+s.Qm(t));else{for(d=new _p,a=0;a=this.c.b:this.a<=this.c.b},f.Sb=function(){return this.b>0},f.Tb=function(){return this.b},f.Vb=function(){return this.b-1},f.Qb=function(){throw Z(new yp(bkt))},f.a=0,f.b=0,O(o3e,"ExclusiveRange/RangeIterator",258);var Hu=OR(JB,"C"),Gn=OR($x,"I"),$c=OR(o3,"Z"),P1=OR(Ix,"J"),tc=OR(Ax,"B"),bo=OR(Cx,"D"),Yv=OR(xx,"F"),iS=OR(Tx,"S"),X$n=bi("org.eclipse.elk.core.labels","ILabelManager"),v$e=bi(Yo,"DiagnosticChain"),_$e=bi(W3t,"ResourceSet"),S$e=O(Yo,"InvocationTargetException",null),G8t=(zM(),cbn),K8t=K8t=e2n;ngn(Qtn),Qpn("permProps",[[["locale","default"],[pkt,"gecko1_8"]],[["locale","default"],[pkt,"safari"]]]),K8t(null,"elk",null)}).call(this)}).call(this,typeof window<"u"?window:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(o,l,h){function b(k,I){if(!(k instanceof I))throw new TypeError("Cannot call a class as a function")}function g(k,I){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I&&(typeof I=="object"||typeof I=="function")?I:k}function m(k,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof I);k.prototype=Object.create(I&&I.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),I&&(Object.setPrototypeOf?Object.setPrototypeOf(k,I):k.__proto__=I)}var S=o("./elk-api.js").default,_=function(k){m(I,k);function I(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};b(this,I);var A=Object.assign({},C),M=!1;try{o.resolve("web-worker"),M=!0}catch{}if(C.workerUrl)if(M){var D=o("web-worker");A.workerFactory=function(Y){return new D(Y)}}else console.warn(`Web worker requested but 'web-worker' package not installed. Consider installing the package or pass your own 'workerFactory' to ELK's constructor. -... Falling back to non-web worker version.`);}}if(!ee.workerFactory){var Me=w("./elk-worker.min.js"),oe=Me.Worker;ee.workerFactory=function(ke){return new oe(ke);};}return p(this,(K.__proto__||Object.getPrototypeOf(K)).call(this,ee));}return K;}(C);Object.defineProperty(g.exports,"__esModule",{value:!0}),g.exports=$,$.default=$;},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(w,g,v){g.exports=Worker;},{}]},{},[3])(3);});})(Zmn);var A1t=Zmn.exports;const $1t=I5(A1t),L1t=76,dgn=52,D1t=800,R1t=800;function B1t(){const{findNode:l}=gs(),a=su(new Ume.graphlib.Graph);function w(v,_,p){const j=new Ume.graphlib.Graph;j.setDefaultEdgeLabel(()=>({}));const C=p==="LR"||p==="RL",$={rankdir:p,nodesep:600,ranksep:300,marginx:100,marginy:100,ranker:"network-simplex"};j.setGraph($);for(const A of v){const K=l(A.id);j.setNode(A.id,{width:(K==null?void 0:K.dimensions.width)||D1t,height:(K==null?void 0:K.dimensions.height)||R1t});}for(const A of _){j.setEdge(A.source,A.target);}Ume.layout(j);for(const A of _){const K=j.node(A.source),Q=j.node(A.target);if(K.x{const K=j.node(A.id);return{...A,targetPosition:C?Ui.Left:Ui.Top,sourcePosition:C?Ui.Right:Ui.Bottom,position:{x:K.x,y:K.y}};});}async function g(v,_){const p={algorithm:"mrtree","org.eclipse.elk.direction":"RIGHT","org.eclipse.elk.spacing.nodeNode":"400","org.eclipse.elk.spacing.edgeEdge":"20","org.eclipse.elk.spacing.edgeNode":"30","org.eclipse.elk.mrtree.spacing.level":"500","org.eclipse.elk.mrtree.compaction.strategy":"DOWN","org.eclipse.elk.mrtree.nodePlacement.strategy":"SIMPLE","org.eclipse.elk.mrtree.nodePlacement.bk.fixedAlignment":"BALANCED"};p["org.eclipse.elk.direction"];const j=v.map(K=>({id:K.id,width:1e3,height:L1t+dgn*K.data.resource.properties.length,labels:[{text:K.data.resource.name}],properties:K.data.resource.properties.map(Q=>({id:Q.id,width:1e3,height:dgn,labels:[{text:Q.name}]}))})),C=_.map(K=>({id:`${K.source}-${K.target}`,sources:[K.source],targets:[K.target]})),$={id:"root",layoutOptions:p,children:j,edges:C};return new $1t().layout($).then(K=>{const Q=v.map(ee=>{const Y=K.children.find(Ie=>Ie.id===ee.id);return ee.position={x:Y.x,y:Y.y},ee;});for(const ee of _){const Y=Q.find(Me=>Me.id===ee.source),Ie=Q.find(Me=>Me.id===ee.target);if(Y.position.xTX(a.term)),g=nc(()=>a.term.termType!=="Literal"?null:a.term.language??null);nc(()=>{const _=a.term;if(_.termType==="Literal"){const p=_.datatype?`^^${TX(_.datatype)}`:"",j=_.language?`@${_.language}`:"";return`${_.value}${p}${j}`;}return _.value;});function v(_){_.stopPropagation();}return(_,p)=>(Wi(),uc("div",null,[Is("span",{class:"term",onMousedown:v},[Gve(j5(w.value),1),g.value?(Wi(),uc("small",F1t,"@"+j5(g.value),1)):Ia("",!0)],32)]));}}),evn=(l,a)=>{const w=l.__vccOpts||l;for(const[g,v]of a){w[g]=v;}return w;},H1t=evn(K1t,[["__scopeId","data-v-fe267915"]]),q1t={class:"resource-card"},U1t={class:"resource-card-header"},G1t={class:"resource-title"},z1t={class:"table-container"},V1t=["data-id"],W1t={class:"predicate"},X1t={class:"object"},Y1t=["onDblclick"],J1t=Bu({__name:"ResourceNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(l){const{fitView:a,nodeLookup:w}=gs(),g=l;function v(_){if(!(_.termType==="NamedNode"||_.termType==="BlankNode")){return;}const p=w.value.get(_.value);p&&a({nodes:[p.id],duration:1e3,padding:.3});}return(_,p)=>(Wi(),uc("div",null,[Is("div",q1t,[Is("header",U1t,[Is("h3",G1t,j5(g.data.resource.name),1)]),Is("div",z1t,[(Wi(!0),uc(Ps,null,B9(g.data.resource.properties,(j,C)=>(Wi(),uc("div",{key:C,"data-id":j.id,class:"table-row"},[Is("div",null,[(Wi(!0),uc(Ps,null,B9(j.values,$=>(Wi(),uc("div",{key:$.value,style:{position:"relative"}},[$.termType==="NamedNode"||$.termType==="BlankNode"?(Wi(),lh(Xi(XT),{key:0,type:"source",position:Xi(Ui).Left,id:`${g.data.resource.id}-${j.id}-left`,style:{opacity:"0"}},null,8,["position","id"])):Ia("",!0)]))),128))]),Is("div",W1t,j5(j.name),1),Is("div",X1t,[(Wi(!0),uc(Ps,null,B9(j.values,$=>(Wi(),uc("div",{key:$.value,onDblclick:A=>v($)},[zo(H1t,{term:$,env:g.data.env},null,8,["term","env"])],40,Y1t))),128))]),(Wi(!0),uc(Ps,null,B9(j.values,$=>(Wi(),uc("div",{key:$.value,style:{position:"relative"}},[$.termType==="NamedNode"||$.termType==="BlankNode"?(Wi(),lh(Xi(XT),{key:0,type:"source",position:Xi(Ui).Right,id:`${g.data.resource.id}-${j.id}-right`,style:{opacity:"0"}},null,8,["position","id"])):Ia("",!0)]))),128))],8,V1t))),128))])])]));}}),Q1t=evn(J1t,[["__scopeId","data-v-7e3cd7d8"]]),Z1t={style:{position:"absolute",top:0,left:0}},edt={name:"GraphView"},ndt=Bu({...edt,props:{dataset:{},env:{}},setup(l){const a=l;console.log("props.dataset",a.dataset);const{elkLayout:w}=B1t(),{fitView:g,nodeLookup:v}=gs(),_=nc(()=>{const A=uit(a.dataset);return console.log("computed resources",A),A;}),p=nc(()=>{const A=sit(_.value);return console.log("computed links",A),A;}),j=su([]),C=su([]);uu(_,async A=>{console.log("watch triggered",A);const K=A.map(Y=>({id:Y.id,type:"custom",position:{x:0,y:0},data:{resource:Y,env:a.env}})),Q=p.value.map(Y=>({id:`${Y.source}-${Y.sourceProperty}-${Y.target}`,source:Y.source,target:Y.target,sourceHandle:`${Y.source}-${Y.sourceProperty}-right`,animated:!1,data:Y,type:"custom",markerEnd:"logo",markerStart:"logo"})),ee=await w(K,Q);j.value=ee.nodes,C.value=ee.edges,console.log("nodes",j.value),console.log("edges",C.value),await s2(),g();});function $(A){const K=A.node;C.value.filter(Me=>Me.source===K.id).flatMap(Me=>v.value.get(Me.target)).forEach(Me=>{(Me==null?void 0:Me.position.x)ke.source===K.id&&ke.target===Me.id).forEach(ke=>{var Ce;const fe=ke.sourceHandle;fe!=null&&fe.endsWith("-right")&&(ke.sourceHandle=`${K.id}-${(Ce=ke.data)==null?void 0:Ce.sourceProperty}-left`);}):C.value.filter(ke=>ke.source===K.id&&ke.target===Me.id).forEach(ke=>{var Ce;const fe=ke.sourceHandle;fe!=null&&fe.endsWith("-left")&&(ke.sourceHandle=`${K.id}-${(Ce=ke.data)==null?void 0:Ce.sourceProperty}-right`);});}),C.value.filter(Me=>Me.target===K.id).flatMap(Me=>{const oe=v.value.get(Me.source);return oe?[oe]:[];}).forEach(Me=>{Me.position.xke.target===K.id&&ke.source===Me.id).forEach(ke=>{const fe=ke.sourceHandle;fe&&fe.endsWith("-left")&&(ke.sourceHandle=`${Me.id}-${ke.data.sourceProperty}-right`);}):C.value.filter(ke=>ke.target===K.id&&ke.source===Me.id).forEach(ke=>{const fe=ke.sourceHandle;fe&&(fe!=null&&fe.endsWith("-right"))&&(ke.sourceHandle=`${Me.id}-${ke.data.sourceProperty}-left`);});}),C.value=[...C.value];}return(A,K)=>(Wi(),uc(Ps,null,[(Wi(),uc("svg",Z1t,K[0]||(K[0]=[Is("defs",null,[Is("marker",{id:"logo",viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse"},[Is("path",{d:"M 0 0 L 10 5 L 0 10 z",style:{stroke:"red",fill:"red"}})])],-1)]))),zo(Xi(ift),{nodes:j.value,edges:C.value,"min-zoom":.05,"max-zoom":10,onNodeDrag:$},{"node-custom":mg(Q=>[zo(Q1t,ewn(eve(Q)),null,16)]),"edge-custom":mg(Q=>[zo(uft,ewn(eve(Q)),null,16)]),default:mg(()=>[zo(Xi(Rft))]),_:1},8,["nodes","edges"])],64));}}),tdt={style:{height:"100vh",width:"100vw"}},idt=Bu({__name:"AppVscode",setup(l){const a=i2.dataset();a.add(i2.quad(i2.namedNode("https://example.org/subject"),i2.namedNode("https://example.org/predicate"),i2.literal("object"))),a.add(i2.quad(i2.namedNode("https://example.org/subject"),i2.namedNode("https://example.org/dd"),i2.namedNode("https://example.org/e")));const w=su(i2.dataset());return l2(()=>{w.value=a;}),(g,v)=>(Wi(),uc("div",tdt,[zo(ndt,{dataset:w.value,env:null},null,8,["dataset"])]));}}),rdt=dYn(idt);rdt.mount("#app"); +... Falling back to non-web worker version.`);if(!A.workerFactory){var H=o("./elk-worker.min.js"),G=H.Worker;A.workerFactory=function(Y){return new G(Y)}}return g(this,(I.__proto__||Object.getPrototypeOf(I)).call(this,A))}return I}(S);Object.defineProperty(l.exports,"__esModule",{value:!0}),l.exports=_,_.default=_},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(o,l,h){l.exports=Worker},{}]},{},[3])(3)})})(ien);var KSr=ien.exports;const zSr=KS(KSr),qSr=76,zBt=52;function XSr(){async function n(r,o){const l={algorithm:"mrtree","org.eclipse.elk.direction":"RIGHT","org.eclipse.elk.spacing.nodeNode":"400","org.eclipse.elk.spacing.edgeEdge":"20","org.eclipse.elk.spacing.edgeNode":"30","org.eclipse.elk.mrtree.spacing.level":"500","org.eclipse.elk.mrtree.compaction.strategy":"DOWN","org.eclipse.elk.mrtree.nodePlacement.strategy":"SIMPLE","org.eclipse.elk.mrtree.nodePlacement.bk.fixedAlignment":"BALANCED"},h=r.map(S=>({id:S.id,width:1e3,height:qSr+zBt*S.data.resource.properties.length,labels:[{text:S.data.resource.name}],properties:S.data.resource.properties.map(_=>({id:_.id,width:1e3,height:zBt,labels:[{text:_.name}]}))})),b=o.map(S=>({id:`${S.source}-${S.target}`,sources:[S.source],targets:[S.target]})),g={id:"root",layoutOptions:l,children:h,edges:b};return new zSr().layout(g).then(S=>{const _=r.map(k=>{const I=S.children.find(C=>C.id===k.id);return k.position={x:I.x,y:I.y},k});for(const k of o){const I=_.find(A=>A.id===k.source),C=_.find(A=>A.id===k.target);if(I.position.xAN(r.term)),l=Fo(()=>r.term.termType!=="Literal"?null:r.term.language??null);function h(b){b.stopPropagation()}return(b,g)=>(Qe(),jt("div",null,[r.term.termType==="NamedNode"?(Qe(),jt("span",{key:0,class:"term",onMousedown:h,style:{cursor:"pointer"}},ll(o.value),33)):kr("",!0),r.term.termType==="BlankNode"?(Qe(),jt("span",{key:1,class:"term",onMousedown:h,style:{cursor:"pointer"}},"["+ll(o.value)+"]",33)):kr("",!0),r.term.termType==="Literal"?(Qe(),jt("span",{key:2,class:"term literal",onMousedown:h},[pk(ll(o.value),1),l.value?(Qe(),jt("small",JSr,"@"+ll(l.value),1)):kr("",!0)],32)):kr("",!0)]))}}),PLe=(n,r)=>{const o=n.__vccOpts||n;for(const[l,h]of r)o[l]=h;return o},QSr=PLe(YSr,[["__scopeId","data-v-3bf480c8"]]),ZSr={class:"resource-card"},eEr={class:"resource-card-header"},tEr={class:"resource-title"},nEr={class:"table-container"},rEr=["data-id"],iEr={class:"predicate"},oEr={class:"object"},sEr=["onClick"],aEr=ic({__name:"ResourceNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(n){const{fitView:r,nodeLookup:o}=Vc(),l=n;function h(b){if(!(b.termType==="NamedNode"||b.termType==="BlankNode"))return;const g=o.value.get(b.value);g&&r({nodes:[g.id],duration:1e3,padding:.3})}return(b,g)=>(Qe(),jt("div",null,[Mr("div",ZSr,[Mr("header",eEr,[Mr("h3",tEr,ll(l.data.resource.name),1)]),Mr("div",nEr,[(Qe(!0),jt(fi,null,Wc(l.data.resource.properties,(m,S)=>(Qe(),jt("div",{key:S,"data-id":m.id,class:"table-row"},[Mr("div",null,[(Qe(!0),jt(fi,null,Wc(m.values,_=>(Qe(),jt("div",{key:_.value,style:{position:"relative"}},[_.termType==="NamedNode"||_.termType==="BlankNode"?(Qe(),On(ii(XN),{key:0,type:"source",position:ii(mi).Left,id:`${l.data.resource.id}-${m.id}-left`,style:{opacity:"0"},connectable:!1},null,8,["position","id"])):kr("",!0)]))),128))]),Mr("div",iEr,ll(m.name),1),Mr("div",oEr,[(Qe(!0),jt(fi,null,Wc(m.values,_=>(Qe(),jt("div",{key:_.value,onClick:k=>h(_)},[eo(QSr,{term:_,env:l.data.env},null,8,["term","env"])],8,sEr))),128))]),(Qe(!0),jt(fi,null,Wc(m.values,_=>(Qe(),jt("div",{key:_.value,style:{position:"relative"}},[_.termType==="NamedNode"||_.termType==="BlankNode"?(Qe(),On(ii(XN),{key:0,type:"source",position:ii(mi).Right,id:`${l.data.resource.id}-${m.id}-right`,style:{opacity:"0"},connectable:!1},null,8,["position","id"])):kr("",!0)]))),128))],8,rEr))),128))])])]))}}),lEr=PLe(aEr,[["__scopeId","data-v-0fcec032"]]),cEr={style:{height:"100%",width:"100%"}},uEr=ic({__name:"GraphView",props:{dataset:{}},setup(n){const r=n,{elkLayout:o}=XSr(),{fitView:l,nodeLookup:h}=Vc(),b=Fo(()=>zwr(r.dataset)),g=Fo(()=>qwr(b.value)),m=fa([]),S=fa([]);ua(b,async I=>{const C=I.map(D=>({id:D.id,type:"custom",position:{x:0,y:0},data:{resource:D}})),A=g.value.map(D=>({id:`${D.source}-${D.sourceProperty}-${D.target}`,source:D.source,target:D.target,sourceHandle:`${D.source}-${D.sourceProperty}-right`,animated:!1,data:D,type:"custom",markerEnd:Ble.ArrowClosed})),M=await o(C,A);m.value=M.nodes,S.value=M.edges,setTimeout(()=>{l()},0)});function _(I){const C=I.node;S.value.filter(G=>G.source===C.id).flatMap(G=>h.value.get(G.target)).forEach(G=>{(G==null?void 0:G.position.x)F.source===C.id&&F.target===G.id).forEach(F=>{var ne;const Q=F.sourceHandle;Q!=null&&Q.endsWith("-right")&&(F.sourceHandle=`${C.id}-${(ne=F.data)==null?void 0:ne.sourceProperty}-left`)}):S.value.filter(F=>F.source===C.id&&F.target===G.id).forEach(F=>{var ne;const Q=F.sourceHandle;Q!=null&&Q.endsWith("-left")&&(F.sourceHandle=`${C.id}-${(ne=F.data)==null?void 0:ne.sourceProperty}-right`)})}),S.value.filter(G=>G.target===C.id).flatMap(G=>{const Y=h.value.get(G.source);return Y?[Y]:[]}).forEach(G=>{G.position.xF.target===C.id&&F.source===G.id).forEach(F=>{const Q=F.sourceHandle;Q&&Q.endsWith("-left")&&(F.sourceHandle=`${G.id}-${F.data.sourceProperty}-right`)}):S.value.filter(F=>F.target===C.id&&F.source===G.id).forEach(F=>{const Q=F.sourceHandle;Q&&(Q!=null&&Q.endsWith("-right"))&&(F.sourceHandle=`${G.id}-${F.data.sourceProperty}-left`)})}),S.value=[...S.value]}function k(I){l({nodes:[I.edge.sourceNode.id],duration:1e3,padding:.3})}return(I,C)=>(Qe(),jt("div",cEr,[eo(ii(USr),{nodes:m.value,edges:S.value,"min-zoom":.05,"max-zoom":10,onNodeDrag:_,onEdgeClick:k},{"node-custom":Xi(A=>[eo(lEr,TN(pPe(A)),null,16)]),"edge-custom":Xi(A=>[eo(GSr,TN(pPe(A)),null,16)]),_:1},8,["nodes","edges"])]))}}),fEr="sketch.updateContent";var dEr=pEr;const hEr=ZNe;class bEr extends hEr.Readable{constructor(r,o){super(),this._str=r,this._encoding=o||"utf8"}_read(){this.ended||(ca.nextTick(()=>{this.push(Xr.Buffer.from(this._str,this._encoding)),this.push(null)}),this.ended=!0)}}function pEr(n,r){return new bEr(n,r)}const gEr=KS(dEr);var A6={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(r){return this._loadedStyleNames.has(r)},setLoadedStyleName:function(r){this._loadedStyleNames.add(r)},deleteLoadedStyleName:function(r){this._loadedStyleNames.delete(r)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}},qBt=Ys.extend({name:"common"});function vG(n){"@babel/helpers - typeof";return vG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vG(n)}function wEr(n){return aen(n)||mEr(n)||sen(n)||oen()}function mEr(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function rV(n,r){return aen(n)||yEr(n,r)||sen(n,r)||oen()}function oen(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sen(n,r){if(n){if(typeof n=="string")return XBt(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?XBt(n,r):void 0}}function XBt(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o1?o-1:0),h=1;h0&&arguments[0]!==void 0?arguments[0]:function(){};A6.clearLoadedStyleNames(),l2.on("theme:change",r)},_getHostInstance:function(r){return r?this.$options.hostName?r.$.type.name===this.$options.hostName?r:this._getHostInstance(r.$parentInstance):r.$parentInstance:void 0},_getPropValue:function(r){var o;return this[r]||((o=this._getHostInstance(this))===null||o===void 0?void 0:o[r])},_getOptionValue:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return FNe(r,o,l)},_getPTValue:function(){var r,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,g=/./g.test(l)&&!!h[l.split(".")[0]],m=this._getPropValue("ptOptions")||((r=this.$primevueConfig)===null||r===void 0?void 0:r.ptOptions)||{},S=m.mergeSections,_=S===void 0?!0:S,k=m.mergeProps,I=k===void 0?!1:k,C=b?g?this._useGlobalPT(this._getPTClassValue,l,h):this._useDefaultPT(this._getPTClassValue,l,h):void 0,A=g?void 0:this._getPTSelf(o,this._getPTClassValue,l,_a(_a({},h),{},{global:C||{}})),M=this._getPTDatasets(l);return _||!_&&A?I?this._mergeProps(I,C,A,M):_a(_a(_a({},C),A),M):_a(_a({},A),M)},_getPTSelf:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length,l=new Array(o>1?o-1:0),h=1;h0&&arguments[0]!==void 0?arguments[0]:"",h="data-pc-",b=l==="root"&&ss((r=this.pt)===null||r===void 0?void 0:r["data-pc-section"]);return l!=="transition"&&_a(_a({},l==="root"&&_a(_a(kV({},"".concat(h,"name"),c2(b?(o=this.pt)===null||o===void 0?void 0:o["data-pc-section"]:this.$.type.name)),b&&kV({},"".concat(h,"extend"),c2(this.$.type.name))),GNe()&&kV({},"".concat(this.$attrSelector),""))),{},kV({},"".concat(h,"section"),c2(l)))},_getPTClassValue:function(){var r=this._getOptionValue.apply(this,arguments);return B1(r)||zG(r)?{class:r}:r},_getPT:function(r){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",h=arguments.length>2?arguments[2]:void 0,b=function(m){var S,_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=h?h(m):m,I=c2(l),C=c2(o.$name);return(S=_?I!==C?k==null?void 0:k[I]:void 0:k==null?void 0:k[I])!==null&&S!==void 0?S:k};return r!=null&&r.hasOwnProperty("_usept")?{_usept:r._usept,originalValue:b(r.originalValue),value:b(r.value)}:b(r,!0)},_usePT:function(r,o,l,h){var b=function(D){return o(D,l,h)};if(r!=null&&r.hasOwnProperty("_usept")){var g,m=r._usept||((g=this.$primevueConfig)===null||g===void 0?void 0:g.ptOptions)||{},S=m.mergeSections,_=S===void 0?!0:S,k=m.mergeProps,I=k===void 0?!1:k,C=b(r.originalValue),A=b(r.value);return C===void 0&&A===void 0?void 0:B1(A)?A:B1(C)?C:_||!_&&A?I?this._mergeProps(I,C,A):_a(_a({},C),A):A}return b(r)},_useGlobalPT:function(r,o,l){return this._usePT(this.globalPT,r,o,l)},_useDefaultPT:function(r,o,l){return this._usePT(this.defaultPT,r,o,l)},ptm:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,r,_a(_a({},this.$params),o))},ptmi:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ot(this.$_attrsWithoutPT,this.ptm(r,o))},ptmo:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(r,o,_a({instance:this},l),!1)},cx:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,r,_a(_a({},this.$params),o))},sx:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(o){var h=this._getOptionValue(this.$style.inlineStyles,r,_a(_a({},this.$params),l)),b=this._getOptionValue(qBt.inlineStyles,r,_a(_a({},this.$params),l));return[b,h]}}},computed:{globalPT:function(){var r,o=this;return this._getPT((r=this.$primevueConfig)===null||r===void 0?void 0:r.pt,void 0,function(l){return ny(l,{instance:o})})},defaultPT:function(){var r,o=this;return this._getPT((r=this.$primevueConfig)===null||r===void 0?void 0:r.pt,void 0,function(l){return o._getOptionValue(l,o.$name,_a({},o.$params))||ny(l,_a({},o.$params))})},isUnstyled:function(){var r;return this.unstyled!==void 0?this.unstyled:(r=this.$primevueConfig)===null||r===void 0?void 0:r.unstyled},$inProps:function(){var r,o=Object.keys(((r=this.$.vnode)===null||r===void 0?void 0:r.props)||{});return Object.fromEntries(Object.entries(this.$props).filter(function(l){var h=rV(l,1),b=h[0];return o==null?void 0:o.includes(b)}))},$theme:function(){var r;return(r=this.$primevueConfig)===null||r===void 0?void 0:r.theme},$style:function(){return _a(_a({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var r;return{nonce:(r=this.$primevueConfig)===null||r===void 0||(r=r.csp)===null||r===void 0?void 0:r.nonce}},$primevueConfig:function(){var r;return(r=this.$primevue)===null||r===void 0?void 0:r.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var r=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:r,props:r==null?void 0:r.$props,state:r==null?void 0:r.$data,attrs:r==null?void 0:r.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(r){var o=rV(r,1),l=o[0];return l==null?void 0:l.startsWith("pt:")}).reduce(function(r,o){var l=rV(o,2),h=l[0],b=l[1],g=h.split(":"),m=wEr(g),S=m.slice(1);return S==null||S.reduce(function(_,k,I,C){return!_[k]&&(_[k]=I===C.length-1?b:{}),_[k]},r),r},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(r){var o=rV(r,1),l=o[0];return!(l!=null&&l.startsWith("pt:"))}).reduce(function(r,o){var l=rV(o,2),h=l[0],b=l[1];return r[h]=b,r},{})}}},SEr=` +.p-icon { + display: inline-block; + vertical-align: baseline; +} + +.p-icon-spin { + -webkit-animation: p-icon-spin 2s infinite linear; + animation: p-icon-spin 2s infinite linear; +} + +@-webkit-keyframes p-icon-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@keyframes p-icon-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +`,EEr=Ys.extend({name:"baseicon",css:SEr});function _G(n){"@babel/helpers - typeof";return _G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_G(n)}function YBt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function QBt(n){for(var r=1;rn.length)&&(r=n.length);for(var o=0,l=Array(r);o0&&arguments[0]!==void 0?arguments[0]:{},h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,S=function(){var Y=Fs._getOptionValue.apply(Fs,arguments);return B1(Y)||zG(Y)?{class:Y}:Y},_=((r=l.binding)===null||r===void 0||(r=r.value)===null||r===void 0?void 0:r.ptOptions)||((o=l.$primevueConfig)===null||o===void 0?void 0:o.ptOptions)||{},k=_.mergeSections,I=k===void 0?!0:k,C=_.mergeProps,A=C===void 0?!1:C,M=m?Fs._useDefaultPT(l,l.defaultPT(),S,b,g):void 0,D=Fs._usePT(l,Fs._getPT(h,l.$name),S,b,ja(ja({},g),{},{global:M||{}})),H=Fs._getPTDatasets(l,b);return I||!I&&D?A?Fs._mergeProps(l,A,M,D,H):ja(ja(ja({},M),D),H):ja(ja({},D),H)},_getPTDatasets:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l="data-pc-";return ja(ja({},o==="root"&&aNe({},"".concat(l,"name"),c2(r.$name))),{},aNe({},"".concat(l,"section"),c2(o)))},_getPT:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=arguments.length>2?arguments[2]:void 0,h=function(g){var m,S=l?l(g):g,_=c2(o);return(m=S==null?void 0:S[_])!==null&&m!==void 0?m:S};return r!=null&&r.hasOwnProperty("_usept")?{_usept:r._usept,originalValue:h(r.originalValue),value:h(r.value)}:h(r)},_usePT:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,h=arguments.length>3?arguments[3]:void 0,b=arguments.length>4?arguments[4]:void 0,g=function(H){return l(H,h,b)};if(o!=null&&o.hasOwnProperty("_usept")){var m,S=o._usept||((m=r.$primevueConfig)===null||m===void 0?void 0:m.ptOptions)||{},_=S.mergeSections,k=_===void 0?!0:_,I=S.mergeProps,C=I===void 0?!1:I,A=g(o.originalValue),M=g(o.value);return A===void 0&&M===void 0?void 0:B1(M)?M:B1(A)?A:k||!k&&M?C?Fs._mergeProps(r,C,A,M):ja(ja({},A),M):M}return g(o)},_useDefaultPT:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0,h=arguments.length>3?arguments[3]:void 0,b=arguments.length>4?arguments[4]:void 0;return Fs._usePT(r,o,l,h,b)},_loadStyles:function(r,o,l){var h,b=Fs._getConfig(o,l),g={nonce:b==null||(h=b.csp)===null||h===void 0?void 0:h.nonce};Fs._loadCoreStyles(r.$instance,g),Fs._loadThemeStyles(r.$instance,g),Fs._loadScopedThemeStyles(r.$instance,g),Fs._themeChangeListener(function(){return Fs._loadThemeStyles(r.$instance,g)})},_loadCoreStyles:function(){var r,o,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=arguments.length>1?arguments[1]:void 0;if(!A6.isStyleNameLoaded((r=l.$style)===null||r===void 0?void 0:r.name)&&(o=l.$style)!==null&&o!==void 0&&o.name){var b;Ys.loadCSS(h),(b=l.$style)===null||b===void 0||b.loadCSS(h),A6.setLoadedStyleName(l.$style.name)}},_loadThemeStyles:function(){var r,o,l,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=arguments.length>1?arguments[1]:void 0;if(!(h!=null&&h.isUnstyled()||(h==null||(r=h.theme)===null||r===void 0?void 0:r.call(h))==="none")){if(!nc.isStyleNameLoaded("common")){var g,m,S=((g=h.$style)===null||g===void 0||(m=g.getCommonTheme)===null||m===void 0?void 0:m.call(g))||{},_=S.primitive,k=S.semantic,I=S.global,C=S.style;Ys.load(_==null?void 0:_.css,ja({name:"primitive-variables"},b)),Ys.load(k==null?void 0:k.css,ja({name:"semantic-variables"},b)),Ys.load(I==null?void 0:I.css,ja({name:"global-variables"},b)),Ys.loadTheme(ja({name:"global-style"},b),C),nc.setLoadedStyleName("common")}if(!nc.isStyleNameLoaded((o=h.$style)===null||o===void 0?void 0:o.name)&&(l=h.$style)!==null&&l!==void 0&&l.name){var A,M,D,H,G=((A=h.$style)===null||A===void 0||(M=A.getDirectiveTheme)===null||M===void 0?void 0:M.call(A))||{},Y=G.css,F=G.style;(D=h.$style)===null||D===void 0||D.load(Y,ja({name:"".concat(h.$style.name,"-variables")},b)),(H=h.$style)===null||H===void 0||H.loadTheme(ja({name:"".concat(h.$style.name,"-style")},b),F),nc.setLoadedStyleName(h.$style.name)}if(!nc.isStyleNameLoaded("layer-order")){var Q,ne,be=(Q=h.$style)===null||Q===void 0||(ne=Q.getLayerOrderThemeCSS)===null||ne===void 0?void 0:ne.call(Q);Ys.load(be,ja({name:"layer-order",first:!0},b)),nc.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,l=r.preset();if(l&&r.$attrSelector){var h,b,g,m=((h=r.$style)===null||h===void 0||(b=h.getPresetTheme)===null||b===void 0?void 0:b.call(h,l,"[".concat(r.$attrSelector,"]")))||{},S=m.css,_=(g=r.$style)===null||g===void 0?void 0:g.load(S,ja({name:"".concat(r.$attrSelector,"-").concat(r.$style.name)},o));r.scopedStyleEl=_.el}},_themeChangeListener:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};A6.clearLoadedStyleNames(),l2.on("theme:change",r)},_hook:function(r,o,l,h,b,g){var m,S,_="on".concat(F8n(o)),k=Fs._getConfig(h,b),I=l==null?void 0:l.$instance,C=Fs._usePT(I,Fs._getPT(h==null||(m=h.value)===null||m===void 0?void 0:m.pt,r),Fs._getOptionValue,"hooks.".concat(_)),A=Fs._useDefaultPT(I,k==null||(S=k.pt)===null||S===void 0||(S=S.directives)===null||S===void 0?void 0:S[r],Fs._getOptionValue,"hooks.".concat(_)),M={el:l,binding:h,vnode:b,prevVnode:g};C==null||C(I,M),A==null||A(I,M)},_mergeProps:function(){for(var r=arguments.length>1?arguments[1]:void 0,o=arguments.length,l=new Array(o>2?o-2:0),h=2;h1&&arguments[1]!==void 0?arguments[1]:{},l=function(g,m,S,_,k){var I,C,A,M;m._$instances=m._$instances||{};var D=Fs._getConfig(S,_),H=m._$instances[r]||{},G=oy(H)?ja(ja({},o),o==null?void 0:o.methods):{};m._$instances[r]=ja(ja({},H),{},{$name:r,$host:m,$binding:S,$modifiers:S==null?void 0:S.modifiers,$value:S==null?void 0:S.value,$el:H.$el||m||void 0,$style:ja({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},o==null?void 0:o.style),$primevueConfig:D,$attrSelector:(I=m.$pd)===null||I===void 0||(I=I[r])===null||I===void 0?void 0:I.attrSelector,defaultPT:function(){return Fs._getPT(D==null?void 0:D.pt,void 0,function(F){var Q;return F==null||(Q=F.directives)===null||Q===void 0?void 0:Q[r]})},isUnstyled:function(){var F,Q;return((F=m.$instance)===null||F===void 0||(F=F.$binding)===null||F===void 0||(F=F.value)===null||F===void 0?void 0:F.unstyled)!==void 0?(Q=m.$instance)===null||Q===void 0||(Q=Q.$binding)===null||Q===void 0||(Q=Q.value)===null||Q===void 0?void 0:Q.unstyled:D==null?void 0:D.unstyled},theme:function(){var F;return(F=m.$instance)===null||F===void 0||(F=F.$primevueConfig)===null||F===void 0?void 0:F.theme},preset:function(){var F;return(F=m.$instance)===null||F===void 0||(F=F.$binding)===null||F===void 0||(F=F.value)===null||F===void 0?void 0:F.dt},ptm:function(){var F,Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fs._getPTValue(m.$instance,(F=m.$instance)===null||F===void 0||(F=F.$binding)===null||F===void 0||(F=F.value)===null||F===void 0?void 0:F.pt,Q,ja({},ne))},ptmo:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Fs._getPTValue(m.$instance,F,Q,ne,!1)},cx:function(){var F,Q,ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(F=m.$instance)!==null&&F!==void 0&&F.isUnstyled()?void 0:Fs._getOptionValue((Q=m.$instance)===null||Q===void 0||(Q=Q.$style)===null||Q===void 0?void 0:Q.classes,ne,ja({},be))},sx:function(){var F,Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ne?Fs._getOptionValue((F=m.$instance)===null||F===void 0||(F=F.$style)===null||F===void 0?void 0:F.inlineStyles,Q,ja({},be)):void 0}},G),m.$instance=m._$instances[r],(C=(A=m.$instance)[g])===null||C===void 0||C.call(A,m,S,_,k),m["$".concat(r)]=m.$instance,Fs._hook(r,g,m,S,_,k),m.$pd||(m.$pd={}),m.$pd[r]=ja(ja({},(M=m.$pd)===null||M===void 0?void 0:M[r]),{},{name:r,instance:m.$instance})},h=function(g){var m,S,_,k,I,C=(m=g.$instance)===null||m===void 0?void 0:m.watch;C==null||(S=C.config)===null||S===void 0||S.call(g.$instance,(_=g.$instance)===null||_===void 0?void 0:_.$primevueConfig),Q9.on("config:change",function(A){var M,D=A.newValue,H=A.oldValue;return C==null||(M=C.config)===null||M===void 0?void 0:M.call(g.$instance,D,H)}),C==null||(k=C["config.ripple"])===null||k===void 0||k.call(g.$instance,(I=g.$instance)===null||I===void 0||(I=I.$primevueConfig)===null||I===void 0?void 0:I.ripple),Q9.on("config:ripple:change",function(A){var M,D=A.newValue,H=A.oldValue;return C==null||(M=C["config.ripple"])===null||M===void 0?void 0:M.call(g.$instance,D,H)})};return{created:function(g,m,S,_){g.$pd||(g.$pd={}),g.$pd[r]={name:r,attrSelector:zNe("pd")},l("created",g,m,S,_)},beforeMount:function(g,m,S,_){Fs._loadStyles(g,m,S),l("beforeMount",g,m,S,_),h(g)},mounted:function(g,m,S,_){Fs._loadStyles(g,m,S),l("mounted",g,m,S,_)},beforeUpdate:function(g,m,S,_){l("beforeUpdate",g,m,S,_)},updated:function(g,m,S,_){Fs._loadStyles(g,m,S),l("updated",g,m,S,_)},beforeUnmount:function(g,m,S,_){l("beforeUnmount",g,m,S,_)},unmounted:function(g,m,S,_){var k;(k=g.$instance)===null||k===void 0||(k=k.scopedStyleEl)===null||k===void 0||(k=k.value)===null||k===void 0||k.remove(),l("unmounted",g,m,S,_)}}},extend:function(){var r=Fs._getMeta.apply(Fs,arguments),o=ZBt(r,2),l=o[0],h=o[1];return ja({extend:function(){var g=Fs._getMeta.apply(Fs,arguments),m=ZBt(g,2),S=m[0],_=m[1];return Fs.extend(S,ja(ja(ja({},h),h==null?void 0:h.methods),_))}},Fs._extend(l,h))}},FEr=function(r){var o=r.dt;return` +.p-ink { + display: block; + position: absolute; + background: `.concat(o("ripple.background"),`; + border-radius: 100%; + transform: scale(0); + pointer-events: none; +} + +.p-ink-active { + animation: ripple 0.4s linear; +} + +@keyframes ripple { + 100% { + opacity: 0; + transform: scale(2.5); + } +} +`)},BEr={root:"p-ink"},HEr=Ys.extend({name:"ripple-directive",theme:FEr,classes:BEr}),WEr=Fs.extend({style:HEr});function EG(n){"@babel/helpers - typeof";return EG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},EG(n)}function UEr(n){return zEr(n)||KEr(n)||GEr(n)||VEr()}function VEr(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GEr(n,r){if(n){if(typeof n=="string")return lNe(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?lNe(n,r):void 0}}function KEr(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function zEr(n){if(Array.isArray(n))return lNe(n)}function lNe(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o1&&arguments[1]!==void 0?arguments[1]:function(){};r3r(this,n),this.element=r,this.listener=o}return o3r(n,[{key:"bindScrollListener",value:function(){this.scrollableParents=i7n(this.element);for(var o=0;on.length)&&(r=n.length);for(var o=0,l=Array(r);o0&&arguments[0]!==void 0?arguments[0]:[],h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],b=[];return h.forEach(function(g){g.children instanceof Array?b=b.concat(o._recursive(b,g.children)):g.type.name===o.type?b.push(g):ss(g.key)&&(b=b.concat(l.filter(function(m){return o._isMatched(m,g.key)}).map(function(m){return m.vnode})))}),b}}])}();function YN(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return zNe(n)}function jk(n,r){if(n){var o=n.props;if(o){var l=r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),h=Object.prototype.hasOwnProperty.call(o,l)?l:r;return n.type.extends.props[r].type===Boolean&&o[h]===""?!0:o[h]}}return null}var w3r=function(r){var o=r.dt;return` +.p-splitter { + display: flex; + flex-wrap: nowrap; + border: 1px solid `.concat(o("splitter.border.color"),`; + background: `).concat(o("splitter.background"),`; + border-radius: `).concat(o("border.radius.md"),`; + color: `).concat(o("splitter.color"),`; +} + +.p-splitter-vertical { + flex-direction: column; +} + +.p-splitter-gutter { + flex-grow: 0; + flex-shrink: 0; + display: flex; + align-items: center; + justify-content: center; + z-index: 1; + background: `).concat(o("splitter.gutter.background"),`; +} + +.p-splitter-gutter-handle { + border-radius: `).concat(o("splitter.handle.border.radius"),`; + background: `).concat(o("splitter.handle.background"),`; + transition: outline-color `).concat(o("splitter.transition.duration"),", box-shadow ").concat(o("splitter.transition.duration"),`; + outline-color: transparent; +} + +.p-splitter-gutter-handle:focus-visible { + box-shadow: `).concat(o("splitter.handle.focus.ring.shadow"),`; + outline: `).concat(o("splitter.handle.focus.ring.width")," ").concat(o("splitter.handle.focus.ring.style")," ").concat(o("splitter.handle.focus.ring.color"),`; + outline-offset: `).concat(o("splitter.handle.focus.ring.offset"),`; +} + +.p-splitter-horizontal.p-splitter-resizing { + cursor: col-resize; + user-select: none; +} + +.p-splitter-vertical.p-splitter-resizing { + cursor: row-resize; + user-select: none; +} + +.p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle { + height: `).concat(o("splitter.handle.size"),`; + width: 100%; +} + +.p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle { + width: `).concat(o("splitter.handle.size"),`; + height: 100%; +} + +.p-splitter-horizontal > .p-splitter-gutter { + cursor: col-resize; +} + +.p-splitter-vertical > .p-splitter-gutter { + cursor: row-resize; +} + +.p-splitterpanel { + flex-grow: 1; + overflow: hidden; +} + +.p-splitterpanel-nested { + display: flex; +} + +.p-splitterpanel .p-splitter { + flex-grow: 1; + border: 0 none; +} +`)},m3r={root:function(r){var o=r.props;return["p-splitter p-component","p-splitter-"+o.layout]},gutter:"p-splitter-gutter",gutterHandle:"p-splitter-gutter-handle"},y3r={root:function(r){var o=r.props;return[{display:"flex","flex-wrap":"nowrap"},o.layout==="vertical"?{"flex-direction":"column"}:""]}},v3r=Ys.extend({name:"splitter",theme:w3r,classes:m3r,inlineStyles:y3r}),_3r={name:"BaseSplitter",extends:tl,props:{layout:{type:String,default:"horizontal"},gutterSize:{type:Number,default:4},stateKey:{type:String,default:null},stateStorage:{type:String,default:"session"},step:{type:Number,default:5}},style:v3r,provide:function(){return{$pcSplitter:this,$parentInstance:this}}};function iHt(n){return R3r(n)||k3r(n)||E3r(n)||S3r()}function S3r(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E3r(n,r){if(n){if(typeof n=="string")return uNe(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?uNe(n,r):void 0}}function k3r(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function R3r(n){if(Array.isArray(n))return uNe(n)}function uNe(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o100||r<0||o>100||o<0)return!1;var l=jk(this.panels[this.prevPanelIndex],"minSize");if(this.panels[this.prevPanelIndex].props&&l&&l>r)return!1;var h=jk(this.panels[this.prevPanelIndex+1],"minSize");return!(this.panels[this.prevPanelIndex+1].props&&h&&h>o)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){zG(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var r=this,o=this.getStorage(),l=o.getItem(this.stateKey);if(l){this.panelSizes=JSON.parse(l);var h=iHt(this.$el.children).filter(function(b){return b.getAttribute("data-pc-name")==="splitterpanel"});return h.forEach(function(b,g){b.style.flexBasis="calc("+r.panelSizes[g]+"% - "+(r.panels.length-1)*r.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var r=this,o=[];return this.$slots.default().forEach(function(l){r.isSplitterPanel(l)?o.push(l):l.children instanceof Array&&l.children.forEach(function(h){r.isSplitterPanel(h)&&o.push(h)})}),o},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var r;return{context:{nested:(r=this.$parentInstance)===null||r===void 0?void 0:r.nestedState}}}}},A3r=["onMousedown","onTouchstart","onTouchmove","onTouchend"],C3r=["aria-orientation","aria-valuenow","onKeydown"];function x3r(n,r,o,l,h,b){return Qe(),jt("div",Ot({class:n.cx("root"),style:n.sx("root"),"data-p-resizing":!1},n.ptmi("root",b.getPTOptions)),[(Qe(!0),jt(fi,null,Wc(b.panels,function(g,m){return Qe(),jt(fi,{key:m},[(Qe(),On(Bo(g),{tabindex:"-1"})),m!==b.panels.length-1?(Qe(),jt("div",Ot({key:0,ref_for:!0,ref:"gutter",class:n.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(_){return b.onGutterMouseDown(_,m)},onTouchstart:function(_){return b.onGutterTouchStart(_,m)},onTouchmove:function(_){return b.onGutterTouchMove(_,m)},onTouchend:function(_){return b.onGutterTouchEnd(_,m)},"data-p-gutter-resizing":!1},n.ptm("gutter")),[Mr("div",Ot({class:n.cx("gutterHandle"),tabindex:"0",style:[b.gutterStyle],"aria-orientation":n.layout,"aria-valuenow":h.prevSize,onKeyup:r[0]||(r[0]=function(){return b.onGutterKeyUp&&b.onGutterKeyUp.apply(b,arguments)}),onKeydown:function(_){return b.onGutterKeyDown(_,m)},ref_for:!0},n.ptm("gutterHandle")),null,16,C3r)],16,A3r)):kr("",!0)],64)}),128))],16)}uen.render=x3r;var $3r={root:function(r){var o=r.instance;return["p-splitterpanel",{"p-splitterpanel-nested":o.isNested}]}},I3r=Ys.extend({name:"splitterpanel",classes:$3r}),T3r={name:"BaseSplitterPanel",extends:tl,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:I3r,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},fNe={name:"SplitterPanel",extends:T3r,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var r=this;return this.$slots.default().some(function(o){return r.nestedState=o.type.name==="Splitter"?!0:null,r.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function P3r(n,r,o,l,h,b){return Qe(),jt("div",Ot({ref:"container",class:n.cx("root")},n.ptmi("root",b.getPTOptions)),[li(n.$slots,"default")],16)}fNe.render=P3r;var fen={name:"ArrowDownIcon",extends:Gc};function O3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",fill:"currentColor"},null,-1)]),16)}fen.render=O3r;var den={name:"ArrowUpIcon",extends:Gc};function N3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",fill:"currentColor"},null,-1)]),16)}den.render=N3r;function CG(n){"@babel/helpers - typeof";return CG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},CG(n)}function M3r(n,r,o){return(r=D3r(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n}function D3r(n){var r=L3r(n,"string");return CG(r)=="symbol"?r:r+""}function L3r(n,r){if(CG(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var l=o.call(n,r||"default");if(CG(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}var j3r=function(r){var o=r.dt;return` +.p-paginator { + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + background: `.concat(o("paginator.background"),`; + color: `).concat(o("paginator.color"),`; + padding: `).concat(o("paginator.padding"),`; + border-radius: `).concat(o("paginator.border.radius"),`; + gap: `).concat(o("paginator.gap"),`; +} + +.p-paginator-content { + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + gap: `).concat(o("paginator.gap"),`; +} + +.p-paginator-content-start { + margin-inline-end: auto; +} + +.p-paginator-content-end { + margin-inline-start: auto; +} + +.p-paginator-page, +.p-paginator-next, +.p-paginator-last, +.p-paginator-first, +.p-paginator-prev { + cursor: pointer; + display: inline-flex; + align-items: center; + justify-content: center; + line-height: 1; + user-select: none; + overflow: hidden; + position: relative; + background: `).concat(o("paginator.nav.button.background"),`; + border: 0 none; + color: `).concat(o("paginator.nav.button.color"),`; + min-width: `).concat(o("paginator.nav.button.width"),`; + height: `).concat(o("paginator.nav.button.height"),`; + transition: background `).concat(o("paginator.transition.duration"),", color ").concat(o("paginator.transition.duration"),", outline-color ").concat(o("paginator.transition.duration"),", box-shadow ").concat(o("paginator.transition.duration"),`; + border-radius: `).concat(o("paginator.nav.button.border.radius"),`; + padding: 0; + margin: 0; +} + +.p-paginator-page:focus-visible, +.p-paginator-next:focus-visible, +.p-paginator-last:focus-visible, +.p-paginator-first:focus-visible, +.p-paginator-prev:focus-visible { + box-shadow: `).concat(o("paginator.nav.button.focus.ring.shadow"),`; + outline: `).concat(o("paginator.nav.button.focus.ring.width")," ").concat(o("paginator.nav.button.focus.ring.style")," ").concat(o("paginator.nav.button.focus.ring.color"),`; + outline-offset: `).concat(o("paginator.nav.button.focus.ring.offset"),`; +} + +.p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover, +.p-paginator-first:not(.p-disabled):hover, +.p-paginator-prev:not(.p-disabled):hover, +.p-paginator-next:not(.p-disabled):hover, +.p-paginator-last:not(.p-disabled):hover { + background: `).concat(o("paginator.nav.button.hover.background"),`; + color: `).concat(o("paginator.nav.button.hover.color"),`; +} + +.p-paginator-page.p-paginator-page-selected { + background: `).concat(o("paginator.nav.button.selected.background"),`; + color: `).concat(o("paginator.nav.button.selected.color"),`; +} + +.p-paginator-current { + color: `).concat(o("paginator.current.page.report.color"),`; +} + +.p-paginator-pages { + display: flex; + align-items: center; + gap: `).concat(o("paginator.gap"),`; +} + +.p-paginator-jtp-input .p-inputtext { + max-width: `).concat(o("paginator.jump.to.page.input.max.width"),`; +} + +.p-paginator-first:dir(rtl), +.p-paginator-prev:dir(rtl), +.p-paginator-next:dir(rtl), +.p-paginator-last:dir(rtl) { + transform: rotate(180deg); +} +`)},F3r={paginator:function(r){var o=r.instance,l=r.key;return["p-paginator p-component",M3r({"p-paginator-default":!o.hasBreakpoints()},"p-paginator-".concat(l),o.hasBreakpoints())]},content:"p-paginator-content",contentStart:"p-paginator-content-start",contentEnd:"p-paginator-content-end",first:function(r){var o=r.instance;return["p-paginator-first",{"p-disabled":o.$attrs.disabled}]},firstIcon:"p-paginator-first-icon",prev:function(r){var o=r.instance;return["p-paginator-prev",{"p-disabled":o.$attrs.disabled}]},prevIcon:"p-paginator-prev-icon",next:function(r){var o=r.instance;return["p-paginator-next",{"p-disabled":o.$attrs.disabled}]},nextIcon:"p-paginator-next-icon",last:function(r){var o=r.instance;return["p-paginator-last",{"p-disabled":o.$attrs.disabled}]},lastIcon:"p-paginator-last-icon",pages:"p-paginator-pages",page:function(r){var o=r.props,l=r.pageLink;return["p-paginator-page",{"p-paginator-page-selected":l-1===o.page}]},current:"p-paginator-current",pcRowPerPageDropdown:"p-paginator-rpp-dropdown",pcJumpToPageDropdown:"p-paginator-jtp-dropdown",pcJumpToPageInputText:"p-paginator-jtp-input"},B3r=Ys.extend({name:"paginator",theme:j3r,classes:F3r}),hen={name:"AngleDoubleLeftIcon",extends:Gc};function H3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z",fill:"currentColor"},null,-1)]),16)}hen.render=H3r;var ben={name:"BlankIcon",extends:Gc};function W3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}ben.render=W3r;var EM={name:"CheckIcon",extends:Gc};function U3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}EM.render=U3r;var Hfe={name:"ChevronDownIcon",extends:Gc};function V3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1)]),16)}Hfe.render=V3r;var pen={name:"SearchIcon",extends:Gc};function G3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1)]),16)}pen.render=G3r;var NLe={name:"TimesIcon",extends:Gc};function K3r(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}NLe.render=K3r;var z3r=function(r){var o=r.dt;return` +.p-iconfield { + position: relative; +} + +.p-inputicon { + position: absolute; + top: 50%; + margin-top: calc(-1 * (`.concat(o("icon.size"),` / 2)); + color: `).concat(o("iconfield.icon.color"),`; + line-height: 1; +} + +.p-iconfield .p-inputicon:first-child { + inset-inline-start: `).concat(o("form.field.padding.x"),`; +} + +.p-iconfield .p-inputicon:last-child { + inset-inline-end: `).concat(o("form.field.padding.x"),`; +} + +.p-iconfield .p-inputtext:not(:first-child) { + padding-inline-start: calc((`).concat(o("form.field.padding.x")," * 2) + ").concat(o("icon.size"),`); +} + +.p-iconfield .p-inputtext:not(:last-child) { + padding-inline-end: calc((`).concat(o("form.field.padding.x")," * 2) + ").concat(o("icon.size"),`); +} + +.p-iconfield:has(.p-inputfield-sm) .p-inputicon { + font-size: `).concat(o("form.field.sm.font.size"),`; + width: `).concat(o("form.field.sm.font.size"),`; + height: `).concat(o("form.field.sm.font.size"),`; + margin-top: calc(-1 * (`).concat(o("form.field.sm.font.size"),` / 2)); +} + +.p-iconfield:has(.p-inputfield-lg) .p-inputicon { + font-size: `).concat(o("form.field.lg.font.size"),`; + width: `).concat(o("form.field.lg.font.size"),`; + height: `).concat(o("form.field.lg.font.size"),`; + margin-top: calc(-1 * (`).concat(o("form.field.lg.font.size"),` / 2)); +} +`)},q3r={root:"p-iconfield"},X3r=Ys.extend({name:"iconfield",theme:z3r,classes:q3r}),J3r={name:"BaseIconField",extends:tl,style:X3r,provide:function(){return{$pcIconField:this,$parentInstance:this}}},gen={name:"IconField",extends:J3r,inheritAttrs:!1};function Y3r(n,r,o,l,h,b){return Qe(),jt("div",Ot({class:n.cx("root")},n.ptmi("root")),[li(n.$slots,"default")],16)}gen.render=Y3r;var Q3r={root:"p-inputicon"},Z3r=Ys.extend({name:"inputicon",classes:Q3r}),ekr={name:"BaseInputIcon",extends:tl,style:Z3r,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},wen={name:"InputIcon",extends:ekr,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function tkr(n,r,o,l,h,b){return Qe(),jt("span",Ot({class:b.containerClass},n.ptmi("root")),[li(n.$slots,"default")],16)}wen.render=tkr;var nkr={name:"BaseEditableHolder",extends:tl,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(r){this.d_value=r},defaultValue:function(r){this.d_value=r},$formName:{immediate:!0,handler:function(r){var o,l;this.formField=((o=this.$pcForm)===null||o===void 0||(l=o.register)===null||l===void 0?void 0:l.call(o,r,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(r){var o,l;this.formField=((o=this.$pcForm)===null||o===void 0||(l=o.register)===null||l===void 0?void 0:l.call(o,this.$formName,r))||{}}},$formDefaultValue:{immediate:!0,handler:function(r){this.d_value!==r&&(this.d_value=r)}}},formField:{},methods:{writeValue:function(r,o){var l,h;this.controlled&&(this.d_value=r,this.$emit("update:modelValue",r)),this.$emit("value-change",r),(l=(h=this.formField).onChange)===null||l===void 0||l.call(h,{originalEvent:o,value:r})}},computed:{$filled:function(){return ss(this.d_value)},$invalid:function(){var r,o,l,h;return(r=(o=this.invalid)!==null&&o!==void 0?o:(l=this.$pcFormField)===null||l===void 0||(l=l.$field)===null||l===void 0?void 0:l.invalid)!==null&&r!==void 0?r:(h=this.$pcForm)===null||h===void 0||(h=h.states)===null||h===void 0||(h=h[this.$formName])===null||h===void 0?void 0:h.invalid},$formName:function(){var r;return this.name||((r=this.$formControl)===null||r===void 0?void 0:r.name)},$formControl:function(){var r;return this.formControl||((r=this.$pcFormField)===null||r===void 0?void 0:r.formControl)},$formDefaultValue:function(){var r,o,l,h;return(r=(o=this.d_value)!==null&&o!==void 0?o:(l=this.$pcFormField)===null||l===void 0?void 0:l.initialValue)!==null&&r!==void 0?r:(h=this.$pcForm)===null||h===void 0||(h=h.initialValues)===null||h===void 0?void 0:h[this.$formName]},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},xK={name:"BaseInput",extends:nkr,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var r;return(r=this.variant)!==null&&r!==void 0?r:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var r;return(r=this.fluid)!==null&&r!==void 0?r:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},rkr=function(r){var o=r.dt;return` +.p-inputtext { + font-family: inherit; + font-feature-settings: inherit; + font-size: 1rem; + color: `.concat(o("inputtext.color"),`; + background: `).concat(o("inputtext.background"),`; + padding-block: `).concat(o("inputtext.padding.y"),`; + padding-inline: `).concat(o("inputtext.padding.x"),`; + border: 1px solid `).concat(o("inputtext.border.color"),`; + transition: background `).concat(o("inputtext.transition.duration"),", color ").concat(o("inputtext.transition.duration"),", border-color ").concat(o("inputtext.transition.duration"),", outline-color ").concat(o("inputtext.transition.duration"),", box-shadow ").concat(o("inputtext.transition.duration"),`; + appearance: none; + border-radius: `).concat(o("inputtext.border.radius"),`; + outline-color: transparent; + box-shadow: `).concat(o("inputtext.shadow"),`; +} + +.p-inputtext:enabled:hover { + border-color: `).concat(o("inputtext.hover.border.color"),`; +} + +.p-inputtext:enabled:focus { + border-color: `).concat(o("inputtext.focus.border.color"),`; + box-shadow: `).concat(o("inputtext.focus.ring.shadow"),`; + outline: `).concat(o("inputtext.focus.ring.width")," ").concat(o("inputtext.focus.ring.style")," ").concat(o("inputtext.focus.ring.color"),`; + outline-offset: `).concat(o("inputtext.focus.ring.offset"),`; +} + +.p-inputtext.p-invalid { + border-color: `).concat(o("inputtext.invalid.border.color"),`; +} + +.p-inputtext.p-variant-filled { + background: `).concat(o("inputtext.filled.background"),`; +} + +.p-inputtext.p-variant-filled:enabled:hover { + background: `).concat(o("inputtext.filled.hover.background"),`; +} + +.p-inputtext.p-variant-filled:enabled:focus { + background: `).concat(o("inputtext.filled.focus.background"),`; +} + +.p-inputtext:disabled { + opacity: 1; + background: `).concat(o("inputtext.disabled.background"),`; + color: `).concat(o("inputtext.disabled.color"),`; +} + +.p-inputtext::placeholder { + color: `).concat(o("inputtext.placeholder.color"),`; +} + +.p-inputtext.p-invalid::placeholder { + color: `).concat(o("inputtext.invalid.placeholder.color"),`; +} + +.p-inputtext-sm { + font-size: `).concat(o("inputtext.sm.font.size"),`; + padding-block: `).concat(o("inputtext.sm.padding.y"),`; + padding-inline: `).concat(o("inputtext.sm.padding.x"),`; +} + +.p-inputtext-lg { + font-size: `).concat(o("inputtext.lg.font.size"),`; + padding-block: `).concat(o("inputtext.lg.padding.y"),`; + padding-inline: `).concat(o("inputtext.lg.padding.x"),`; +} + +.p-inputtext-fluid { + width: 100%; +} +`)},ikr={root:function(r){var o=r.instance,l=r.props;return["p-inputtext p-component",{"p-filled":o.$filled,"p-inputtext-sm p-inputfield-sm":l.size==="small","p-inputtext-lg p-inputfield-lg":l.size==="large","p-invalid":o.$invalid,"p-variant-filled":o.$variant==="filled","p-inputtext-fluid":o.$fluid}]}},okr=Ys.extend({name:"inputtext",theme:rkr,classes:ikr}),skr={name:"BaseInputText",extends:xK,style:okr,provide:function(){return{$pcInputText:this,$parentInstance:this}}},jI={name:"InputText",extends:skr,inheritAttrs:!1,methods:{onInput:function(r){this.writeValue(r.target.value,r)}},computed:{attrs:function(){return Ot(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},akr=["value","disabled","aria-invalid"];function lkr(n,r,o,l,h,b){return Qe(),jt("input",Ot({type:"text",class:n.cx("root"),value:n.d_value,disabled:n.disabled,"aria-invalid":n.$invalid||void 0,onInput:r[0]||(r[0]=function(){return b.onInput&&b.onInput.apply(b,arguments)})},b.attrs),null,16,akr)}jI.render=lkr;var P6=BNe(),MLe={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=GNe()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function ckr(n,r,o,l,h,b){return b.inline?li(n.$slots,"default",{key:0}):h.mounted?(Qe(),On(qIn,{key:1,to:o.appendTo},[li(n.$slots,"default")],8,["to"])):kr("",!0)}MLe.render=ckr;var ukr=function(r){var o=r.dt;return` +.p-virtualscroller-loader { + background: `.concat(o("virtualscroller.loader.mask.background"),`; + color: `).concat(o("virtualscroller.loader.mask.color"),`; +} + +.p-virtualscroller-loading-icon { + font-size: `).concat(o("virtualscroller.loader.icon.size"),`; + width: `).concat(o("virtualscroller.loader.icon.size"),`; + height: `).concat(o("virtualscroller.loader.icon.size"),`; +} +`)},fkr=` +.p-virtualscroller { + position: relative; + overflow: auto; + contain: strict; + transform: translateZ(0); + will-change: scroll-position; + outline: 0 none; +} + +.p-virtualscroller-content { + position: absolute; + top: 0; + left: 0; + min-height: 100%; + min-width: 100%; + will-change: transform; +} + +.p-virtualscroller-spacer { + position: absolute; + top: 0; + left: 0; + height: 1px; + width: 1px; + transform-origin: 0 0; + pointer-events: none; +} + +.p-virtualscroller-loader { + position: sticky; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.p-virtualscroller-loader-mask { + display: flex; + align-items: center; + justify-content: center; +} + +.p-virtualscroller-horizontal > .p-virtualscroller-content { + display: flex; +} + +.p-virtualscroller-inline .p-virtualscroller-content { + position: static; +} +`,oHt=Ys.extend({name:"virtualscroller",css:fkr,theme:ukr}),dkr={name:"BaseVirtualScroller",extends:tl,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:oHt,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var r;oHt.loadCSS({nonce:(r=this.$primevueConfig)===null||r===void 0||(r=r.csp)===null||r===void 0?void 0:r.nonce})}};function xG(n){"@babel/helpers - typeof";return xG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xG(n)}function sHt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function iV(n){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:"auto",h=this.isBoth(),b=this.isHorizontal(),g=h?r.every(function(De){return De>-1}):r>-1;if(g){var m=this.first,S=this.element,_=S.scrollTop,k=_===void 0?0:_,I=S.scrollLeft,C=I===void 0?0:I,A=this.calculateNumItems(),M=A.numToleratedItems,D=this.getContentPosition(),H=this.itemSize,G=function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ae=arguments.length>1?arguments[1]:void 0;return Ee<=Ae?0:Ee},Y=function(Ee,Ae,qe){return Ee*Ae+qe},F=function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return o.scrollTo({left:Ee,top:Ae,behavior:l})},Q=h?{rows:0,cols:0}:0,ne=!1,be=!1;h?(Q={rows:G(r[0],M[0]),cols:G(r[1],M[1])},F(Y(Q.cols,H[1],D.left),Y(Q.rows,H[0],D.top)),be=this.lastScrollPos.top!==k||this.lastScrollPos.left!==C,ne=Q.rows!==m.rows||Q.cols!==m.cols):(Q=G(r,M),b?F(Y(Q,H,D.left),k):F(C,Y(Q,H,D.top)),be=this.lastScrollPos!==(b?C:k),ne=Q!==m),this.isRangeChanged=ne,be&&(this.first=Q)}},scrollInView:function(r,o){var l=this,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(o){var b=this.isBoth(),g=this.isHorizontal(),m=b?r.every(function(H){return H>-1}):r>-1;if(m){var S=this.getRenderedRange(),_=S.first,k=S.viewport,I=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return l.scrollTo({left:G,top:Y,behavior:h})},C=o==="to-start",A=o==="to-end";if(C){if(b)k.first.rows-_.rows>r[0]?I(k.first.cols*this.itemSize[1],(k.first.rows-1)*this.itemSize[0]):k.first.cols-_.cols>r[1]&&I((k.first.cols-1)*this.itemSize[1],k.first.rows*this.itemSize[0]);else if(k.first-_>r){var M=(k.first-1)*this.itemSize;g?I(M,0):I(0,M)}}else if(A){if(b)k.last.rows-_.rows<=r[0]+1?I(k.first.cols*this.itemSize[1],(k.first.rows+1)*this.itemSize[0]):k.last.cols-_.cols<=r[1]+1&&I((k.first.cols+1)*this.itemSize[1],k.first.rows*this.itemSize[0]);else if(k.last-_<=r+1){var D=(k.first+1)*this.itemSize;g?I(D,0):I(0,D)}}}}else this.scrollToIndex(r,h)},getRenderedRange:function(){var r=function(I,C){return Math.floor(I/(C||I))},o=this.first,l=0;if(this.element){var h=this.isBoth(),b=this.isHorizontal(),g=this.element,m=g.scrollTop,S=g.scrollLeft;if(h)o={rows:r(m,this.itemSize[0]),cols:r(S,this.itemSize[1])},l={rows:o.rows+this.numItemsInViewport.rows,cols:o.cols+this.numItemsInViewport.cols};else{var _=b?S:m;o=r(_,this.itemSize),l=o+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:o,last:l}}},calculateNumItems:function(){var r=this.isBoth(),o=this.isHorizontal(),l=this.itemSize,h=this.getContentPosition(),b=this.element?this.element.offsetWidth-h.left:0,g=this.element?this.element.offsetHeight-h.top:0,m=function(C,A){return Math.ceil(C/(A||C))},S=function(C){return Math.ceil(C/2)},_=r?{rows:m(g,l[0]),cols:m(b,l[1])}:m(o?b:g,l),k=this.d_numToleratedItems||(r?[S(_.rows),S(_.cols)]:S(_));return{numItemsInViewport:_,numToleratedItems:k}},calculateOptions:function(){var r=this,o=this.isBoth(),l=this.first,h=this.calculateNumItems(),b=h.numItemsInViewport,g=h.numToleratedItems,m=function(k,I,C){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return r.getLast(k+I+(k0&&arguments[0]!==void 0?arguments[0]:0,h=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(h?((r=this.columns||this.items[0])===null||r===void 0?void 0:r.length)||0:((o=this.items)===null||o===void 0?void 0:o.length)||0,l):0},getContentPosition:function(){if(this.content){var r=getComputedStyle(this.content),o=parseFloat(r.paddingLeft)+Math.max(parseFloat(r.left)||0,0),l=parseFloat(r.paddingRight)+Math.max(parseFloat(r.right)||0,0),h=parseFloat(r.paddingTop)+Math.max(parseFloat(r.top)||0,0),b=parseFloat(r.paddingBottom)+Math.max(parseFloat(r.bottom)||0,0);return{left:o,right:l,top:h,bottom:b,x:o+l,y:h+b}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var r=this;if(this.element){var o=this.isBoth(),l=this.isHorizontal(),h=this.element.parentElement,b=this.scrollWidth||"".concat(this.element.offsetWidth||h.offsetWidth,"px"),g=this.scrollHeight||"".concat(this.element.offsetHeight||h.offsetHeight,"px"),m=function(_,k){return r.element.style[_]=k};o||l?(m("height",g),m("width",b)):m("height",g)}},setSpacerSize:function(){var r=this,o=this.items;if(o){var l=this.isBoth(),h=this.isHorizontal(),b=this.getContentPosition(),g=function(S,_,k){var I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return r.spacerStyle=iV(iV({},r.spacerStyle),men({},"".concat(S),(_||[]).length*k+I+"px"))};l?(g("height",o,this.itemSize[0],b.y),g("width",this.columns||o[1],this.itemSize[1],b.x)):h?g("width",this.columns||o,this.itemSize,b.x):g("height",o,this.itemSize,b.y)}},setContentPosition:function(r){var o=this;if(this.content&&!this.appendOnly){var l=this.isBoth(),h=this.isHorizontal(),b=r?r.first:this.first,g=function(k,I){return k*I},m=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return o.contentStyle=iV(iV({},o.contentStyle),{transform:"translate3d(".concat(k,"px, ").concat(I,"px, 0)")})};if(l)m(g(b.cols,this.itemSize[1]),g(b.rows,this.itemSize[0]));else{var S=g(b,this.itemSize);h?m(S,0):m(0,S)}}},onScrollPositionChange:function(r){var o=this,l=r.target,h=this.isBoth(),b=this.isHorizontal(),g=this.getContentPosition(),m=function(et,fe){return et?et>fe?et-fe:et:0},S=function(et,fe){return Math.floor(et/(fe||et))},_=function(et,fe,L,ve,ye,me){return et<=ye?ye:me?L-ve-ye:fe+ye-1},k=function(et,fe,L,ve,ye,me,je){return et<=me?0:Math.max(0,je?etfe?L:et-2*me)},I=function(et,fe,L,ve,ye,me){var je=fe+ve+2*ye;return et>=ye&&(je+=ye+1),o.getLast(je,me)},C=m(l.scrollTop,g.top),A=m(l.scrollLeft,g.left),M=h?{rows:0,cols:0}:0,D=this.last,H=!1,G=this.lastScrollPos;if(h){var Y=this.lastScrollPos.top<=C,F=this.lastScrollPos.left<=A;if(!this.appendOnly||this.appendOnly&&(Y||F)){var Q={rows:S(C,this.itemSize[0]),cols:S(A,this.itemSize[1])},ne={rows:_(Q.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],Y),cols:_(Q.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],F)};M={rows:k(Q.rows,ne.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],Y),cols:k(Q.cols,ne.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],F)},D={rows:I(Q.rows,M.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:I(Q.cols,M.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},H=M.rows!==this.first.rows||D.rows!==this.last.rows||M.cols!==this.first.cols||D.cols!==this.last.cols||this.isRangeChanged,G={top:C,left:A}}}else{var be=b?A:C,De=this.lastScrollPos<=be;if(!this.appendOnly||this.appendOnly&&De){var Ee=S(be,this.itemSize),Ae=_(Ee,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,De);M=k(Ee,Ae,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,De),D=I(Ee,M,this.last,this.numItemsInViewport,this.d_numToleratedItems),H=M!==this.first||D!==this.last||this.isRangeChanged,G=be}}return{first:M,last:D,isRangeChanged:H,scrollPos:G}},onScrollChange:function(r){var o=this.onScrollPositionChange(r),l=o.first,h=o.last,b=o.isRangeChanged,g=o.scrollPos;if(b){var m={first:l,last:h};if(this.setContentPosition(m),this.first=l,this.last=h,this.lastScrollPos=g,this.$emit("scroll-index-change",m),this.lazy&&this.isPageChanged(l)){var S,_,k={first:this.step?Math.min(this.getPageByFirst(l)*this.step,(((S=this.items)===null||S===void 0?void 0:S.length)||0)-this.step):l,last:Math.min(this.step?(this.getPageByFirst(l)+1)*this.step:h,((_=this.items)===null||_===void 0?void 0:_.length)||0)},I=this.lazyLoadState.first!==k.first||this.lazyLoadState.last!==k.last;I&&this.$emit("lazy-load",k),this.lazyLoadState=k}}},onScroll:function(r){var o=this;if(this.$emit("scroll",r),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var l=this.onScrollPositionChange(r),h=l.isRangeChanged,b=h||(this.step?this.isPageChanged():!1);b&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){o.onScrollChange(r),o.d_loading&&o.showLoader&&(!o.lazy||o.loading===void 0)&&(o.d_loading=!1,o.page=o.getPageByFirst())},this.delay)}}else this.onScrollChange(r)},onResize:function(){var r=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(Kae(r.element)){var o=r.isBoth(),l=r.isVertical(),h=r.isHorizontal(),b=[E6(r.element),S6(r.element)],g=b[0],m=b[1],S=g!==r.defaultWidth,_=m!==r.defaultHeight,k=o?S||_:h?S:l?_:!1;k&&(r.d_numToleratedItems=r.numToleratedItems,r.defaultWidth=g,r.defaultHeight=m,r.defaultContentWidth=E6(r.content),r.defaultContentHeight=S6(r.content),r.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(r){var o=(this.items||[]).length,l=this.isBoth()?this.first.rows+r:this.first+r;return{index:l,count:o,first:l===0,last:l===o-1,even:l%2===0,odd:l%2!==0}},getLoaderOptions:function(r,o){var l=this.loaderArr.length;return iV({index:r,count:l,first:r===0,last:r===l-1,even:r%2===0,odd:r%2!==0},o)},getPageByFirst:function(r){return Math.floor(((r??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(r){return this.step&&!this.lazy?this.page!==this.getPageByFirst(r??this.first):!0},setContentEl:function(r){this.content=r||this.content||x6(this.element,'[data-pc-section="content"]')},elementRef:function(r){this.element=r},contentRef:function(r){this.content=r}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var r=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(o){return r.columns?o:o.slice(r.appendOnly?0:r.first.cols,r.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var r=this.isBoth(),o=this.isHorizontal();if(r||o)return this.d_loading&&this.loaderDisabled?r?this.loaderArr[0]:this.loaderArr:this.columns.slice(r?this.first.cols:this.first,r?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:CK}},pkr=["tabindex"];function gkr(n,r,o,l,h,b){var g=Ii("SpinnerIcon");return n.disabled?(Qe(),jt(fi,{key:1},[li(n.$slots,"default"),li(n.$slots,"content",{items:n.items,rows:n.items,columns:b.loadedColumns})],64)):(Qe(),jt("div",Ot({key:0,ref:b.elementRef,class:b.containerClass,tabindex:n.tabindex,style:n.style,onScroll:r[0]||(r[0]=function(){return b.onScroll&&b.onScroll.apply(b,arguments)})},n.ptmi("root")),[li(n.$slots,"content",{styleClass:b.contentClass,items:b.loadedItems,getItemOptions:b.getOptions,loading:h.d_loading,getLoaderOptions:b.getLoaderOptions,itemSize:n.itemSize,rows:b.loadedRows,columns:b.loadedColumns,contentRef:b.contentRef,spacerStyle:h.spacerStyle,contentStyle:h.contentStyle,vertical:b.isVertical(),horizontal:b.isHorizontal(),both:b.isBoth()},function(){return[Mr("div",Ot({ref:b.contentRef,class:b.contentClass,style:h.contentStyle},n.ptm("content")),[(Qe(!0),jt(fi,null,Wc(b.loadedItems,function(m,S){return li(n.$slots,"item",{key:S,item:m,options:b.getOptions(S)})}),128))],16)]}),n.showSpacer?(Qe(),jt("div",Ot({key:0,class:"p-virtualscroller-spacer",style:h.spacerStyle},n.ptm("spacer")),null,16)):kr("",!0),!n.loaderDisabled&&n.showLoader&&h.d_loading?(Qe(),jt("div",Ot({key:1,class:b.loaderClass},n.ptm("loader")),[n.$slots&&n.$slots.loader?(Qe(!0),jt(fi,{key:0},Wc(h.loaderArr,function(m,S){return li(n.$slots,"loader",{key:S,options:b.getLoaderOptions(S,b.isBoth()&&{numCols:n.d_numItemsInViewport.cols})})}),128)):kr("",!0),li(n.$slots,"loadingicon",{},function(){return[eo(g,Ot({spin:"",class:"p-virtualscroller-loading-icon"},n.ptm("loadingIcon")),null,16)]})],16)):kr("",!0)],16,pkr))}DLe.render=gkr;var wkr=function(r){var o=r.dt;return` +.p-select { + display: inline-flex; + cursor: pointer; + position: relative; + user-select: none; + background: `.concat(o("select.background"),`; + border: 1px solid `).concat(o("select.border.color"),`; + transition: background `).concat(o("select.transition.duration"),", color ").concat(o("select.transition.duration"),", border-color ").concat(o("select.transition.duration"),`, + outline-color `).concat(o("select.transition.duration"),", box-shadow ").concat(o("select.transition.duration"),`; + border-radius: `).concat(o("select.border.radius"),`; + outline-color: transparent; + box-shadow: `).concat(o("select.shadow"),`; +} + +.p-select:not(.p-disabled):hover { + border-color: `).concat(o("select.hover.border.color"),`; +} + +.p-select:not(.p-disabled).p-focus { + border-color: `).concat(o("select.focus.border.color"),`; + box-shadow: `).concat(o("select.focus.ring.shadow"),`; + outline: `).concat(o("select.focus.ring.width")," ").concat(o("select.focus.ring.style")," ").concat(o("select.focus.ring.color"),`; + outline-offset: `).concat(o("select.focus.ring.offset"),`; +} + +.p-select.p-variant-filled { + background: `).concat(o("select.filled.background"),`; +} + +.p-select.p-variant-filled:not(.p-disabled):hover { + background: `).concat(o("select.filled.hover.background"),`; +} + +.p-select.p-variant-filled:not(.p-disabled).p-focus { + background: `).concat(o("select.filled.focus.background"),`; +} + +.p-select.p-invalid { + border-color: `).concat(o("select.invalid.border.color"),`; +} + +.p-select.p-disabled { + opacity: 1; + background: `).concat(o("select.disabled.background"),`; +} + +.p-select-clear-icon { + position: absolute; + top: 50%; + margin-top: -0.5rem; + color: `).concat(o("select.clear.icon.color"),`; + inset-inline-end: `).concat(o("select.dropdown.width"),`; +} + +.p-select-dropdown { + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + background: transparent; + color: `).concat(o("select.dropdown.color"),`; + width: `).concat(o("select.dropdown.width"),`; + border-start-end-radius: `).concat(o("select.border.radius"),`; + border-end-end-radius: `).concat(o("select.border.radius"),`; +} + +.p-select-label { + display: block; + white-space: nowrap; + overflow: hidden; + flex: 1 1 auto; + width: 1%; + padding: `).concat(o("select.padding.y")," ").concat(o("select.padding.x"),`; + text-overflow: ellipsis; + cursor: pointer; + color: `).concat(o("select.color"),`; + background: transparent; + border: 0 none; + outline: 0 none; +} + +.p-select-label.p-placeholder { + color: `).concat(o("select.placeholder.color"),`; +} + +.p-select.p-invalid .p-select-label.p-placeholder { + color: `).concat(o("select.invalid.placeholder.color"),`; +} + +.p-select:has(.p-select-clear-icon) .p-select-label { + padding-inline-end: calc(1rem + `).concat(o("select.padding.x"),`); +} + +.p-select.p-disabled .p-select-label { + color: `).concat(o("select.disabled.color"),`; +} + +.p-select-label-empty { + overflow: hidden; + opacity: 0; +} + +input.p-select-label { + cursor: default; +} + +.p-select .p-select-overlay { + min-width: 100%; +} + +.p-select-overlay { + position: absolute; + top: 0; + left: 0; + background: `).concat(o("select.overlay.background"),`; + color: `).concat(o("select.overlay.color"),`; + border: 1px solid `).concat(o("select.overlay.border.color"),`; + border-radius: `).concat(o("select.overlay.border.radius"),`; + box-shadow: `).concat(o("select.overlay.shadow"),`; +} + +.p-select-header { + padding: `).concat(o("select.list.header.padding"),`; +} + +.p-select-filter { + width: 100%; +} + +.p-select-list-container { + overflow: auto; +} + +.p-select-option-group { + cursor: auto; + margin: 0; + padding: `).concat(o("select.option.group.padding"),`; + background: `).concat(o("select.option.group.background"),`; + color: `).concat(o("select.option.group.color"),`; + font-weight: `).concat(o("select.option.group.font.weight"),`; +} + +.p-select-list { + margin: 0; + padding: 0; + list-style-type: none; + padding: `).concat(o("select.list.padding"),`; + gap: `).concat(o("select.list.gap"),`; + display: flex; + flex-direction: column; +} + +.p-select-option { + cursor: pointer; + font-weight: normal; + white-space: nowrap; + position: relative; + overflow: hidden; + display: flex; + align-items: center; + padding: `).concat(o("select.option.padding"),`; + border: 0 none; + color: `).concat(o("select.option.color"),`; + background: transparent; + transition: background `).concat(o("select.transition.duration"),", color ").concat(o("select.transition.duration"),", border-color ").concat(o("select.transition.duration"),`, + box-shadow `).concat(o("select.transition.duration"),", outline-color ").concat(o("select.transition.duration"),`; + border-radius: `).concat(o("select.option.border.radius"),`; +} + +.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { + background: `).concat(o("select.option.focus.background"),`; + color: `).concat(o("select.option.focus.color"),`; +} + +.p-select-option.p-select-option-selected { + background: `).concat(o("select.option.selected.background"),`; + color: `).concat(o("select.option.selected.color"),`; +} + +.p-select-option.p-select-option-selected.p-focus { + background: `).concat(o("select.option.selected.focus.background"),`; + color: `).concat(o("select.option.selected.focus.color"),`; +} + +.p-select-option-check-icon { + position: relative; + margin-inline-start: `).concat(o("select.checkmark.gutter.start"),`; + margin-inline-end: `).concat(o("select.checkmark.gutter.end"),`; + color: `).concat(o("select.checkmark.color"),`; +} + +.p-select-empty-message { + padding: `).concat(o("select.empty.message.padding"),`; +} + +.p-select-fluid { + display: flex; +} + +.p-select-sm .p-select-label { + font-size: `).concat(o("select.sm.font.size"),`; + padding-block: `).concat(o("select.sm.padding.y"),`; + padding-inline: `).concat(o("select.sm.padding.x"),`; +} + +.p-select-sm .p-select-dropdown .p-icon { + font-size: `).concat(o("select.sm.font.size"),`; + width: `).concat(o("select.sm.font.size"),`; + height: `).concat(o("select.sm.font.size"),`; +} + +.p-select-lg .p-select-label { + font-size: `).concat(o("select.lg.font.size"),`; + padding-block: `).concat(o("select.lg.padding.y"),`; + padding-inline: `).concat(o("select.lg.padding.x"),`; +} + +.p-select-lg .p-select-dropdown .p-icon { + font-size: `).concat(o("select.lg.font.size"),`; + width: `).concat(o("select.lg.font.size"),`; + height: `).concat(o("select.lg.font.size"),`; +} +`)},mkr={root:function(r){var o=r.instance,l=r.props,h=r.state;return["p-select p-component p-inputwrapper",{"p-disabled":l.disabled,"p-invalid":o.$invalid,"p-variant-filled":o.$variant==="filled","p-focus":h.focused,"p-inputwrapper-filled":o.$filled,"p-inputwrapper-focus":h.focused||h.overlayVisible,"p-select-open":h.overlayVisible,"p-select-fluid":o.$fluid,"p-select-sm p-inputfield-sm":l.size==="small","p-select-lg p-inputfield-lg":l.size==="large"}]},label:function(r){var o=r.instance,l=r.props;return["p-select-label",{"p-placeholder":!l.editable&&o.label===l.placeholder,"p-select-label-empty":!l.editable&&!o.$slots.value&&(o.label==="p-emptylabel"||o.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(r){var o=r.instance,l=r.props,h=r.state,b=r.option,g=r.focusedOption;return["p-select-option",{"p-select-option-selected":o.isSelected(b)&&l.highlightOnSelect,"p-focus":h.focusedOptionIndex===g,"p-disabled":o.isOptionDisabled(b)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},ykr=Ys.extend({name:"select",theme:wkr,classes:mkr}),vkr={name:"BaseSelect",extends:xK,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:ykr,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function $G(n){"@babel/helpers - typeof";return $G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$G(n)}function _kr(n){return Rkr(n)||kkr(n)||Ekr(n)||Skr()}function Skr(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ekr(n,r){if(n){if(typeof n=="string")return dNe(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?dNe(n,r):void 0}}function kkr(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Rkr(n){if(Array.isArray(n))return dNe(n)}function dNe(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o2&&arguments[2]!==void 0?arguments[2]:!0,h=this.getOptionValue(o);this.updateModel(r,h),l&&this.hide(!0)},onOptionMouseMove:function(r,o){this.focusOnHover&&this.changeFocusedOptionIndex(r,o)},onFilterChange:function(r){var o=r.target.value;this.filterValue=o,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:r,value:o}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(r){if(!r.isComposing)switch(r.code){case"ArrowDown":this.onArrowDownKey(r);break;case"ArrowUp":this.onArrowUpKey(r,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(r,!0);break;case"Home":this.onHomeKey(r,!0);break;case"End":this.onEndKey(r,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(r);break;case"Escape":this.onEscapeKey(r);break;case"Tab":this.onTabKey(r,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(r){P6.emit("overlay-click",{originalEvent:r,target:this.$el})},onOverlayKeyDown:function(r){switch(r.code){case"Escape":this.onEscapeKey(r);break}},onArrowDownKey:function(r){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(r,this.findSelectedOptionIndex());else{var o=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(r,o)}r.preventDefault()},onArrowUpKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(r.altKey&&!o)this.focusedOptionIndex!==-1&&this.onOptionSelect(r,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),r.preventDefault();else{var l=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(r,l),!this.overlayVisible&&this.show(),r.preventDefault()}},onArrowLeftKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o&&(this.focusedOptionIndex=-1)},onHomeKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o){var l=r.currentTarget;r.shiftKey?l.setSelectionRange(0,r.target.selectionStart):(l.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(r,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();r.preventDefault()},onEndKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o){var l=r.currentTarget;if(r.shiftKey)l.setSelectionRange(r.target.selectionStart,l.value.length);else{var h=l.value.length;l.setSelectionRange(h,h),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(r,this.findLastOptionIndex()),!this.overlayVisible&&this.show();r.preventDefault()},onPageUpKey:function(r){this.scrollInView(0),r.preventDefault()},onPageDownKey:function(r){this.scrollInView(this.visibleOptions.length-1),r.preventDefault()},onEnterKey:function(r){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(r,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(r)),r.preventDefault()},onSpaceKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!o&&this.onEnterKey(r)},onEscapeKey:function(r){this.overlayVisible&&this.hide(!0),r.preventDefault(),r.stopPropagation()},onTabKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o||(this.overlayVisible&&this.hasFocusableElements()?(L1(this.$refs.firstHiddenFocusableElementOnOverlay),r.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(r,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o&&!this.overlayVisible&&this.show()},onOverlayEnter:function(r){var o=this;uN.set("overlay",r,this.$primevue.config.zIndex.overlay),Vae(r,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){o.autoFilterFocus&&o.filter&&L1(o.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var r=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){L1(r.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(r){uN.clear(r)},alignOverlay:function(){this.appendTo==="self"?t7n(this.overlay,this.$el):(this.overlay.style.minWidth=cp(this.$el)+"px",rUt(this.overlay,this.$el))},bindOutsideClickListener:function(){var r=this;this.outsideClickListener||(this.outsideClickListener=function(o){r.overlayVisible&&r.overlay&&!r.$el.contains(o.target)&&!r.overlay.contains(o.target)&&r.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var r=this;this.scrollHandler||(this.scrollHandler=new len(this.$refs.container,function(){r.overlayVisible&&r.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var r=this;this.resizeListener||(this.resizeListener=function(){r.overlayVisible&&!lUt()&&r.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var r=this;if(!this.editable&&!this.labelClickListener){var o=document.querySelector('label[for="'.concat(this.labelId,'"]'));o&&Kae(o)&&(this.labelClickListener=function(){L1(r.$refs.focusInput)},o.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var r=document.querySelector('label[for="'.concat(this.labelId,'"]'));r&&Kae(r)&&r.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return HNe(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(r){var o;return this.isValidOption(r)&&typeof this.getOptionLabel(r)=="string"&&((o=this.getOptionLabel(r))===null||o===void 0?void 0:o.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(r){return ss(r)&&!(this.isOptionDisabled(r)||this.isOptionGroup(r))},isValidSelectedOption:function(r){return this.isValidOption(r)&&this.isSelected(r)},isSelected:function(r){return mT(this.d_value,this.getOptionValue(r),this.equalityKey)},findFirstOptionIndex:function(){var r=this;return this.visibleOptions.findIndex(function(o){return r.isValidOption(o)})},findLastOptionIndex:function(){var r=this;return D7t(this.visibleOptions,function(o){return r.isValidOption(o)})},findNextOptionIndex:function(r){var o=this,l=r-1?l+r+1:r},findPrevOptionIndex:function(r){var o=this,l=r>0?D7t(this.visibleOptions.slice(0,r),function(h){return o.isValidOption(h)}):-1;return l>-1?l:r},findSelectedOptionIndex:function(){var r=this;return this.$filled?this.visibleOptions.findIndex(function(o){return r.isValidSelectedOption(o)}):-1},findFirstFocusedOptionIndex:function(){var r=this.findSelectedOptionIndex();return r<0?this.findFirstOptionIndex():r},findLastFocusedOptionIndex:function(){var r=this.findSelectedOptionIndex();return r<0?this.findLastOptionIndex():r},searchOptions:function(r,o){var l=this;this.searchValue=(this.searchValue||"")+o;var h=-1,b=!1;return ss(this.searchValue)&&(this.focusedOptionIndex!==-1?(h=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(g){return l.isOptionMatched(g)}),h=h===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(g){return l.isOptionMatched(g)}):h+this.focusedOptionIndex):h=this.visibleOptions.findIndex(function(g){return l.isOptionMatched(g)}),h!==-1&&(b=!0),h===-1&&this.focusedOptionIndex===-1&&(h=this.findFirstFocusedOptionIndex()),h!==-1&&this.changeFocusedOptionIndex(r,h)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){l.searchValue="",l.searchTimeout=null},500),b},changeFocusedOptionIndex:function(r,o){this.focusedOptionIndex!==o&&(this.focusedOptionIndex=o,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(r,this.visibleOptions[o],!1))},scrollInView:function(){var r=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var l=o!==-1?"".concat(r.id,"_").concat(o):r.focusedOptionId,h=x6(r.list,'li[id="'.concat(l,'"]'));h?h.scrollIntoView&&h.scrollIntoView({block:"nearest",inline:"start"}):r.virtualScrollerDisabled||r.virtualScroller&&r.virtualScroller.scrollToIndex(o!==-1?o:r.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(r,o){this.writeValue(o,r),this.$emit("change",{originalEvent:r,value:o})},flatOptions:function(r){var o=this;return(r||[]).reduce(function(l,h,b){l.push({optionGroup:h,group:!0,index:b});var g=o.getOptionGroupChildren(h);return g&&g.forEach(function(m){return l.push(m)}),l},[])},overlayRef:function(r){this.overlay=r},listRef:function(r,o){this.list=r,o&&o(r)},virtualScrollerRef:function(r){this.virtualScroller=r}},computed:{visibleOptions:function(){var r=this,o=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var l=vPe.filter(o,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var h=this.options||[],b=[];return h.forEach(function(g){var m=r.getOptionGroupChildren(g),S=m.filter(function(_){return l.includes(_)});S.length>0&&b.push(lHt(lHt({},g),{},yen({},typeof r.optionGroupChildren=="string"?r.optionGroupChildren:"items",_kr(S))))}),this.flatOptions(b)}return l}return o},hasSelectedOption:function(){return this.$filled},label:function(){var r=this.findSelectedOptionIndex();return r!==-1?this.getOptionLabel(this.visibleOptions[r]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var r=this.findSelectedOptionIndex();return r!==-1?this.getOptionLabel(this.visibleOptions[r]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return ss(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var r=this;return this.visibleOptions.filter(function(o){return!r.isOptionGroup(o)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&ss(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Y6},components:{InputText:jI,VirtualScroller:DLe,Portal:MLe,InputIcon:wen,IconField:gen,TimesIcon:NLe,ChevronDownIcon:Hfe,SpinnerIcon:CK,SearchIcon:pen,CheckIcon:EM,BlankIcon:ben}},xkr=["id"],$kr=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],Ikr=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],Tkr=["id"],Pkr=["id"],Okr=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function Nkr(n,r,o,l,h,b){var g=Ii("SpinnerIcon"),m=Ii("InputText"),S=Ii("SearchIcon"),_=Ii("InputIcon"),k=Ii("IconField"),I=Ii("CheckIcon"),C=Ii("BlankIcon"),A=Ii("VirtualScroller"),M=Ii("Portal"),D=Wk("ripple");return Qe(),jt("div",Ot({ref:"container",id:h.id,class:n.cx("root"),onClick:r[11]||(r[11]=function(){return b.onContainerClick&&b.onContainerClick.apply(b,arguments)})},n.ptmi("root")),[n.editable?(Qe(),jt("input",Ot({key:0,ref:"focusInput",id:n.labelId||n.inputId,type:"text",class:[n.cx("label"),n.inputClass,n.labelClass],style:[n.inputStyle,n.labelStyle],value:b.editableInputValue,placeholder:n.placeholder,tabindex:n.disabled?-1:n.tabindex,disabled:n.disabled,autocomplete:"off",role:"combobox","aria-label":n.ariaLabel,"aria-labelledby":n.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":h.overlayVisible,"aria-controls":h.id+"_list","aria-activedescendant":h.focused?b.focusedOptionId:void 0,"aria-invalid":n.invalid||void 0,onFocus:r[0]||(r[0]=function(){return b.onFocus&&b.onFocus.apply(b,arguments)}),onBlur:r[1]||(r[1]=function(){return b.onBlur&&b.onBlur.apply(b,arguments)}),onKeydown:r[2]||(r[2]=function(){return b.onKeyDown&&b.onKeyDown.apply(b,arguments)}),onInput:r[3]||(r[3]=function(){return b.onEditableInput&&b.onEditableInput.apply(b,arguments)})},n.ptm("label")),null,16,$kr)):(Qe(),jt("span",Ot({key:1,ref:"focusInput",id:n.labelId||n.inputId,class:[n.cx("label"),n.inputClass,n.labelClass],style:[n.inputStyle,n.labelStyle],tabindex:n.disabled?-1:n.tabindex,role:"combobox","aria-label":n.ariaLabel||(b.label==="p-emptylabel"?void 0:b.label),"aria-labelledby":n.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":h.overlayVisible,"aria-controls":h.id+"_list","aria-activedescendant":h.focused?b.focusedOptionId:void 0,"aria-disabled":n.disabled,onFocus:r[4]||(r[4]=function(){return b.onFocus&&b.onFocus.apply(b,arguments)}),onBlur:r[5]||(r[5]=function(){return b.onBlur&&b.onBlur.apply(b,arguments)}),onKeydown:r[6]||(r[6]=function(){return b.onKeyDown&&b.onKeyDown.apply(b,arguments)})},n.ptm("label")),[li(n.$slots,"value",{value:n.d_value,placeholder:n.placeholder},function(){var H;return[pk(ll(b.label==="p-emptylabel"?" ":(H=b.label)!==null&&H!==void 0?H:"empty"),1)]})],16,Ikr)),b.isClearIconVisible?li(n.$slots,"clearicon",{key:2,class:Oo(n.cx("clearIcon")),clearCallback:b.onClearClick},function(){return[(Qe(),On(Bo(n.clearIcon?"i":"TimesIcon"),Ot({ref:"clearIcon",class:[n.cx("clearIcon"),n.clearIcon],onClick:b.onClearClick},n.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):kr("",!0),Mr("div",Ot({class:n.cx("dropdown")},n.ptm("dropdown")),[n.loading?li(n.$slots,"loadingicon",{key:0,class:Oo(n.cx("loadingIcon"))},function(){return[n.loadingIcon?(Qe(),jt("span",Ot({key:0,class:[n.cx("loadingIcon"),"pi-spin",n.loadingIcon],"aria-hidden":"true"},n.ptm("loadingIcon")),null,16)):(Qe(),On(g,Ot({key:1,class:n.cx("loadingIcon"),spin:"","aria-hidden":"true"},n.ptm("loadingIcon")),null,16,["class"]))]}):li(n.$slots,"dropdownicon",{key:1,class:Oo(n.cx("dropdownIcon"))},function(){return[(Qe(),On(Bo(n.dropdownIcon?"span":"ChevronDownIcon"),Ot({class:[n.cx("dropdownIcon"),n.dropdownIcon],"aria-hidden":"true"},n.ptm("dropdownIcon")),null,16,["class"]))]})],16),eo(M,{appendTo:n.appendTo},{default:Xi(function(){return[eo(qWt,Ot({name:"p-connected-overlay",onEnter:b.onOverlayEnter,onAfterEnter:b.onOverlayAfterEnter,onLeave:b.onOverlayLeave,onAfterLeave:b.onOverlayAfterLeave},n.ptm("transition")),{default:Xi(function(){return[h.overlayVisible?(Qe(),jt("div",Ot({key:0,ref:b.overlayRef,class:[n.cx("overlay"),n.panelClass,n.overlayClass],style:[n.panelStyle,n.overlayStyle],onClick:r[9]||(r[9]=function(){return b.onOverlayClick&&b.onOverlayClick.apply(b,arguments)}),onKeydown:r[10]||(r[10]=function(){return b.onOverlayKeyDown&&b.onOverlayKeyDown.apply(b,arguments)})},n.ptm("overlay")),[Mr("span",Ot({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:r[7]||(r[7]=function(){return b.onFirstHiddenFocus&&b.onFirstHiddenFocus.apply(b,arguments)})},n.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),li(n.$slots,"header",{value:n.d_value,options:b.visibleOptions}),n.filter?(Qe(),jt("div",Ot({key:0,class:n.cx("header")},n.ptm("header")),[eo(k,{unstyled:n.unstyled,pt:n.ptm("pcFilterContainer")},{default:Xi(function(){return[eo(m,{ref:"filterInput",type:"text",value:h.filterValue,onVnodeMounted:b.onFilterUpdated,onVnodeUpdated:b.onFilterUpdated,class:Oo(n.cx("pcFilter")),placeholder:n.filterPlaceholder,variant:n.variant,unstyled:n.unstyled,role:"searchbox",autocomplete:"off","aria-owns":h.id+"_list","aria-activedescendant":b.focusedOptionId,onKeydown:b.onFilterKeyDown,onBlur:b.onFilterBlur,onInput:b.onFilterChange,pt:n.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),eo(_,{unstyled:n.unstyled,pt:n.ptm("pcFilterIconContainer")},{default:Xi(function(){return[li(n.$slots,"filtericon",{},function(){return[n.filterIcon?(Qe(),jt("span",Ot({key:0,class:n.filterIcon},n.ptm("filterIcon")),null,16)):(Qe(),On(S,TN(Ot({key:1},n.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),Mr("span",Ot({role:"status","aria-live":"polite",class:"p-hidden-accessible"},n.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),ll(b.filterResultMessageText),17)],16)):kr("",!0),Mr("div",Ot({class:n.cx("listContainer"),style:{"max-height":b.virtualScrollerDisabled?n.scrollHeight:""}},n.ptm("listContainer")),[eo(A,Ot({ref:b.virtualScrollerRef},n.virtualScrollerOptions,{items:b.visibleOptions,style:{height:n.scrollHeight},tabindex:-1,disabled:b.virtualScrollerDisabled,pt:n.ptm("virtualScroller")}),nG({content:Xi(function(H){var G=H.styleClass,Y=H.contentRef,F=H.items,Q=H.getItemOptions,ne=H.contentStyle,be=H.itemSize;return[Mr("ul",Ot({ref:function(Ee){return b.listRef(Ee,Y)},id:h.id+"_list",class:[n.cx("list"),G],style:ne,role:"listbox"},n.ptm("list")),[(Qe(!0),jt(fi,null,Wc(F,function(De,Ee){return Qe(),jt(fi,{key:b.getOptionRenderKey(De,b.getOptionIndex(Ee,Q))},[b.isOptionGroup(De)?(Qe(),jt("li",Ot({key:0,id:h.id+"_"+b.getOptionIndex(Ee,Q),style:{height:be?be+"px":void 0},class:n.cx("optionGroup"),role:"option",ref_for:!0},n.ptm("optionGroup")),[li(n.$slots,"optiongroup",{option:De.optionGroup,index:b.getOptionIndex(Ee,Q)},function(){return[Mr("span",Ot({class:n.cx("optionGroupLabel"),ref_for:!0},n.ptm("optionGroupLabel")),ll(b.getOptionGroupLabel(De.optionGroup)),17)]})],16,Pkr)):Bk((Qe(),jt("li",Ot({key:1,id:h.id+"_"+b.getOptionIndex(Ee,Q),class:n.cx("option",{option:De,focusedOption:b.getOptionIndex(Ee,Q)}),style:{height:be?be+"px":void 0},role:"option","aria-label":b.getOptionLabel(De),"aria-selected":b.isSelected(De),"aria-disabled":b.isOptionDisabled(De),"aria-setsize":b.ariaSetSize,"aria-posinset":b.getAriaPosInset(b.getOptionIndex(Ee,Q)),onClick:function(qe){return b.onOptionSelect(qe,De)},onMousemove:function(qe){return b.onOptionMouseMove(qe,b.getOptionIndex(Ee,Q))},"data-p-selected":b.isSelected(De),"data-p-focused":h.focusedOptionIndex===b.getOptionIndex(Ee,Q),"data-p-disabled":b.isOptionDisabled(De),ref_for:!0},b.getPTItemOptions(De,Q,Ee,"option")),[n.checkmark?(Qe(),jt(fi,{key:0},[b.isSelected(De)?(Qe(),On(I,Ot({key:0,class:n.cx("optionCheckIcon"),ref_for:!0},n.ptm("optionCheckIcon")),null,16,["class"])):(Qe(),On(C,Ot({key:1,class:n.cx("optionBlankIcon"),ref_for:!0},n.ptm("optionBlankIcon")),null,16,["class"]))],64)):kr("",!0),li(n.$slots,"option",{option:De,selected:b.isSelected(De),index:b.getOptionIndex(Ee,Q)},function(){return[Mr("span",Ot({class:n.cx("optionLabel"),ref_for:!0},n.ptm("optionLabel")),ll(b.getOptionLabel(De)),17)]})],16,Okr)),[[D]])],64)}),128)),h.filterValue&&(!F||F&&F.length===0)?(Qe(),jt("li",Ot({key:0,class:n.cx("emptyMessage"),role:"option"},n.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[li(n.$slots,"emptyfilter",{},function(){return[pk(ll(b.emptyFilterMessageText),1)]})],16)):!n.options||n.options&&n.options.length===0?(Qe(),jt("li",Ot({key:1,class:n.cx("emptyMessage"),role:"option"},n.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[li(n.$slots,"empty",{},function(){return[pk(ll(b.emptyMessageText),1)]})],16)):kr("",!0)],16,Tkr)]}),_:2},[n.$slots.loader?{name:"loader",fn:Xi(function(H){var G=H.options;return[li(n.$slots,"loader",{options:G})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),li(n.$slots,"footer",{value:n.d_value,options:b.visibleOptions}),!n.options||n.options&&n.options.length===0?(Qe(),jt("span",Ot({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},n.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),ll(b.emptyMessageText),17)):kr("",!0),Mr("span",Ot({role:"status","aria-live":"polite",class:"p-hidden-accessible"},n.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),ll(b.selectedMessageText),17),Mr("span",Ot({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:r[8]||(r[8]=function(){return b.onLastHiddenFocus&&b.onLastHiddenFocus.apply(b,arguments)})},n.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):kr("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,xkr)}Wfe.render=Nkr;var ven={name:"AngleDownIcon",extends:Gc};function Mkr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z",fill:"currentColor"},null,-1)]),16)}ven.render=Mkr;var _en={name:"AngleUpIcon",extends:Gc};function Dkr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z",fill:"currentColor"},null,-1)]),16)}_en.render=Dkr;var Lkr=function(r){var o=r.dt;return` +.p-inputnumber { + display: inline-flex; + position: relative; +} + +.p-inputnumber-button { + display: flex; + align-items: center; + justify-content: center; + flex: 0 0 auto; + cursor: pointer; + background: `.concat(o("inputnumber.button.background"),`; + color: `).concat(o("inputnumber.button.color"),`; + width: `).concat(o("inputnumber.button.width"),`; + transition: background `).concat(o("inputnumber.transition.duration"),", color ").concat(o("inputnumber.transition.duration"),", border-color ").concat(o("inputnumber.transition.duration"),", outline-color ").concat(o("inputnumber.transition.duration"),`; +} + +.p-inputnumber-button:hover { + background: `).concat(o("inputnumber.button.hover.background"),`; + color: `).concat(o("inputnumber.button.hover.color"),`; +} + +.p-inputnumber-button:active { + background: `).concat(o("inputnumber.button.active.background"),`; + color: `).concat(o("inputnumber.button.active.color"),`; +} + +.p-inputnumber-stacked .p-inputnumber-button { + position: relative; + border: 0 none; +} + +.p-inputnumber-stacked .p-inputnumber-button-group { + display: flex; + flex-direction: column; + position: absolute; + inset-block-start: 1px; + inset-inline-end: 1px; + height: calc(100% - 2px); + z-index: 1; +} + +.p-inputnumber-stacked .p-inputnumber-increment-button { + padding: 0; + border-start-end-radius: calc(`).concat(o("inputnumber.button.border.radius"),` - 1px); +} + +.p-inputnumber-stacked .p-inputnumber-decrement-button { + padding: 0; + border-end-end-radius: calc(`).concat(o("inputnumber.button.border.radius"),` - 1px); +} + +.p-inputnumber-stacked .p-inputnumber-button { + flex: 1 1 auto; + border: 0 none; +} + +.p-inputnumber-horizontal .p-inputnumber-button { + border: 1px solid `).concat(o("inputnumber.button.border.color"),`; +} + +.p-inputnumber-horizontal .p-inputnumber-button:hover { + border-color: `).concat(o("inputnumber.button.hover.border.color"),`; +} + +.p-inputnumber-horizontal .p-inputnumber-button:active { + border-color: `).concat(o("inputnumber.button.active.border.color"),`; +} + +.p-inputnumber-horizontal .p-inputnumber-increment-button { + order: 3; + border-start-end-radius: `).concat(o("inputnumber.button.border.radius"),`; + border-end-end-radius: `).concat(o("inputnumber.button.border.radius"),`; + border-inline-start: 0 none; +} + +.p-inputnumber-horizontal .p-inputnumber-input { + order: 2; + border-radius: 0; +} + +.p-inputnumber-horizontal .p-inputnumber-decrement-button { + order: 1; + border-start-start-radius: `).concat(o("inputnumber.button.border.radius"),`; + border-end-start-radius: `).concat(o("inputnumber.button.border.radius"),`; + border-inline-end: 0 none; +} + +.p-floatlabel:has(.p-inputnumber-horizontal) label { + margin-inline-start: `).concat(o("inputnumber.button.width"),`; +} + +.p-inputnumber-vertical { + flex-direction: column; +} + +.p-inputnumber-vertical .p-inputnumber-button { + border: 1px solid `).concat(o("inputnumber.button.border.color"),`; + padding: `).concat(o("inputnumber.button.vertical.padding"),`; +} + +.p-inputnumber-vertical .p-inputnumber-button:hover { + border-color: `).concat(o("inputnumber.button.hover.border.color"),`; +} + +.p-inputnumber-vertical .p-inputnumber-button:active { + border-color: `).concat(o("inputnumber.button.active.border.color"),`; +} + +.p-inputnumber-vertical .p-inputnumber-increment-button { + order: 1; + border-start-start-radius: `).concat(o("inputnumber.button.border.radius"),`; + border-start-end-radius: `).concat(o("inputnumber.button.border.radius"),`; + width: 100%; + border-block-end: 0 none; +} + +.p-inputnumber-vertical .p-inputnumber-input { + order: 2; + border-radius: 0; + text-align: center; +} + +.p-inputnumber-vertical .p-inputnumber-decrement-button { + order: 3; + border-end-start-radius: `).concat(o("inputnumber.button.border.radius"),`; + border-end-end-radius: `).concat(o("inputnumber.button.border.radius"),`; + width: 100%; + border-block-start: 0 none; +} + +.p-inputnumber-input { + flex: 1 1 auto; +} + +.p-inputnumber-fluid { + width: 100%; +} + +.p-inputnumber-fluid .p-inputnumber-input { + width: 1%; +} + +.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input { + width: 100%; +} + +.p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon { + font-size: `).concat(o("form.field.sm.font.size"),`; + width: `).concat(o("form.field.sm.font.size"),`; + height: `).concat(o("form.field.sm.font.size"),`; +} + +.p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon { + font-size: `).concat(o("form.field.lg.font.size"),`; + width: `).concat(o("form.field.lg.font.size"),`; + height: `).concat(o("form.field.lg.font.size"),`; +} +`)},jkr={root:function(r){var o=r.instance,l=r.props;return["p-inputnumber p-component p-inputwrapper",{"p-inputwrapper-filled":o.$filled||l.allowEmpty===!1,"p-inputwrapper-focus":o.focused,"p-inputnumber-stacked":l.showButtons&&l.buttonLayout==="stacked","p-inputnumber-horizontal":l.showButtons&&l.buttonLayout==="horizontal","p-inputnumber-vertical":l.showButtons&&l.buttonLayout==="vertical","p-inputnumber-fluid":o.$fluid}]},pcInputText:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:function(r){var o=r.instance,l=r.props;return["p-inputnumber-button p-inputnumber-increment-button",{"p-disabled":l.showButtons&&l.max!==null&&o.maxBoundry()}]},decrementButton:function(r){var o=r.instance,l=r.props;return["p-inputnumber-button p-inputnumber-decrement-button",{"p-disabled":l.showButtons&&l.min!==null&&o.minBoundry()}]}},Fkr=Ys.extend({name:"inputnumber",theme:Lkr,classes:jkr}),Bkr={name:"BaseInputNumber",extends:xK,props:{format:{type:Boolean,default:!0},showButtons:{type:Boolean,default:!1},buttonLayout:{type:String,default:"stacked"},incrementButtonClass:{type:String,default:null},decrementButtonClass:{type:String,default:null},incrementButtonIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementButtonIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},locale:{type:String,default:void 0},localeMatcher:{type:String,default:void 0},mode:{type:String,default:"decimal"},prefix:{type:String,default:null},suffix:{type:String,default:null},currency:{type:String,default:void 0},currencyDisplay:{type:String,default:void 0},useGrouping:{type:Boolean,default:!0},minFractionDigits:{type:Number,default:void 0},maxFractionDigits:{type:Number,default:void 0},roundingMode:{type:String,default:"halfExpand",validator:function(r){return["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"].includes(r)}},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},allowEmpty:{type:Boolean,default:!0},highlightOnFocus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Fkr,provide:function(){return{$pcInputNumber:this,$parentInstance:this}}};function IG(n){"@babel/helpers - typeof";return IG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},IG(n)}function cHt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function uHt(n){for(var r=1;rn.length)&&(r=n.length);for(var o=0,l=Array(r);o1){var S=this.isNumeralChar(b.charAt(o))?o+1:o+2;this.$refs.input.$el.setSelectionRange(S,S)}else this.isNumeralChar(b.charAt(o-1))||r.preventDefault();break;case"ArrowRight":if(h>1){var _=l-1;this.$refs.input.$el.setSelectionRange(_,_)}else this.isNumeralChar(b.charAt(o))||r.preventDefault();break;case"Tab":case"Enter":case"NumpadEnter":g=this.validateValue(this.parseValue(b)),this.$refs.input.$el.value=this.formatValue(g),this.$refs.input.$el.setAttribute("aria-valuenow",g),this.updateModel(r,g);break;case"Backspace":{if(r.preventDefault(),o===l){var k=b.charAt(o-1),I=this.getDecimalCharIndexes(b),C=I.decimalCharIndex,A=I.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(k)){var M=this.getDecimalLength(b);if(this._group.test(k))this._group.lastIndex=0,g=b.slice(0,o-2)+b.slice(o-1);else if(this._decimal.test(k))this._decimal.lastIndex=0,M?this.$refs.input.$el.setSelectionRange(o-1,o-1):g=b.slice(0,o-1)+b.slice(o);else if(C>0&&o>C){var D=this.isDecimalMode()&&(this.minFractionDigits||0)0?g:""):g=b.slice(0,o-1)+b.slice(o)}this.updateValue(r,g,null,"delete-single")}else g=this.deleteRange(b,o,l),this.updateValue(r,g,null,"delete-range");break}case"Delete":if(r.preventDefault(),o===l){var H=b.charAt(o),G=this.getDecimalCharIndexes(b),Y=G.decimalCharIndex,F=G.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(H)){var Q=this.getDecimalLength(b);if(this._group.test(H))this._group.lastIndex=0,g=b.slice(0,o)+b.slice(o+2);else if(this._decimal.test(H))this._decimal.lastIndex=0,Q?this.$refs.input.$el.setSelectionRange(o+1,o+1):g=b.slice(0,o)+b.slice(o+1);else if(Y>0&&o>Y){var ne=this.isDecimalMode()&&(this.minFractionDigits||0)0?g:""):g=b.slice(0,o)+b.slice(o+1)}this.updateValue(r,g,null,"delete-back-single")}else g=this.deleteRange(b,o,l),this.updateValue(r,g,null,"delete-range");break;case"Home":r.preventDefault(),ss(this.min)&&this.updateModel(r,this.min);break;case"End":r.preventDefault(),ss(this.max)&&this.updateModel(r,this.max);break}}},onInputKeyPress:function(r){if(!this.readonly){var o=r.key,l=this.isDecimalSign(o),h=this.isMinusSign(o);r.code!=="Enter"&&r.preventDefault(),(Number(o)>=0&&Number(o)<=9||h||l)&&this.insert(r,o,{isDecimalSign:l,isMinusSign:h})}},onPaste:function(r){r.preventDefault();var o=(r.clipboardData||window.clipboardData).getData("Text");if(o){var l=this.parseValue(o);l!=null&&this.insert(r,l.toString())}},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(r){return this._minusSign.test(r)||r==="-"?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(r){return this._decimal.test(r)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode==="decimal"},getDecimalCharIndexes:function(r){var o=r.search(this._decimal);this._decimal.lastIndex=0;var l=r.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,""),h=l.search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:o,decimalCharIndexWithoutPrefix:h}},getCharIndexes:function(r){var o=r.search(this._decimal);this._decimal.lastIndex=0;var l=r.search(this._minusSign);this._minusSign.lastIndex=0;var h=r.search(this._suffix);this._suffix.lastIndex=0;var b=r.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:o,minusCharIndex:l,suffixCharIndex:h,currencyCharIndex:b}},insert:function(r,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},h=o.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&h!==-1)){var b=this.$refs.input.$el.selectionStart,g=this.$refs.input.$el.selectionEnd,m=this.$refs.input.$el.value.trim(),S=this.getCharIndexes(m),_=S.decimalCharIndex,k=S.minusCharIndex,I=S.suffixCharIndex,C=S.currencyCharIndex,A;if(l.isMinusSign)b===0&&(A=m,(k===-1||g!==0)&&(A=this.insertText(m,o,0,g)),this.updateValue(r,A,o,"insert"));else if(l.isDecimalSign)_>0&&b===_?this.updateValue(r,m,o,"insert"):_>b&&_0&&b>_){if(b+o.length-(_+1)<=M){var H=C>=b?C-1:I>=b?I:m.length;A=m.slice(0,b)+o+m.slice(b+o.length,H)+m.slice(H),this.updateValue(r,A,o,D)}}else A=this.insertText(m,o,b,g),this.updateValue(r,A,o,D)}}},insertText:function(r,o,l,h){var b=o==="."?o:o.split(".");if(b.length===2){var g=r.slice(l,h).search(this._decimal);return this._decimal.lastIndex=0,g>0?r.slice(0,l)+this.formatValue(o)+r.slice(h):this.formatValue(o)||r}else return h-l===r.length?this.formatValue(o):l===0?o+r.slice(h):h===r.length?r.slice(0,l)+o:r.slice(0,l)+o+r.slice(h)},deleteRange:function(r,o,l){var h;return l-o===r.length?h="":o===0?h=r.slice(l):l===r.length?h=r.slice(0,o):h=r.slice(0,o)+r.slice(l),h},initCursor:function(){var r=this.$refs.input.$el.selectionStart,o=this.$refs.input.$el.value,l=o.length,h=null,b=(this.prefixChar||"").length;o=o.replace(this._prefix,""),r=r-b;var g=o.charAt(r);if(this.isNumeralChar(g))return r+b;for(var m=r-1;m>=0;)if(g=o.charAt(m),this.isNumeralChar(g)){h=m+b;break}else m--;if(h!==null)this.$refs.input.$el.setSelectionRange(h+1,h+1);else{for(m=r;mthis.max?this.max:r},updateInput:function(r,o,l,h){o=o||"";var b=this.$refs.input.$el.value,g=this.formatValue(r),m=b.length;if(g!==h&&(g=this.concatValues(g,h)),m===0){this.$refs.input.$el.value=g,this.$refs.input.$el.setSelectionRange(0,0);var S=this.initCursor(),_=S+o.length;this.$refs.input.$el.setSelectionRange(_,_)}else{var k=this.$refs.input.$el.selectionStart,I=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=g;var C=g.length;if(l==="range-insert"){var A=this.parseValue((b||"").slice(0,k)),M=A!==null?A.toString():"",D=M.split("").join("(".concat(this.groupChar,")?")),H=new RegExp(D,"g");H.test(g);var G=o.split("").join("(".concat(this.groupChar,")?")),Y=new RegExp(G,"g");Y.test(g.slice(H.lastIndex)),I=H.lastIndex+Y.lastIndex,this.$refs.input.$el.setSelectionRange(I,I)}else if(C===m)l==="insert"||l==="delete-back-single"?this.$refs.input.$el.setSelectionRange(I+1,I+1):l==="delete-single"?this.$refs.input.$el.setSelectionRange(I-1,I-1):(l==="delete-range"||l==="spin")&&this.$refs.input.$el.setSelectionRange(I,I);else if(l==="delete-back-single"){var F=b.charAt(I-1),Q=b.charAt(I),ne=m-C,be=this._group.test(Q);be&&ne===1?I+=1:!be&&this.isNumeralChar(F)&&(I+=-1*ne+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(I,I)}else if(b==="-"&&l==="insert"){this.$refs.input.$el.setSelectionRange(0,0);var De=this.initCursor(),Ee=De+o.length+1;this.$refs.input.$el.setSelectionRange(Ee,Ee)}else I=I+(C-m),this.$refs.input.$el.setSelectionRange(I,I)}this.$refs.input.$el.setAttribute("aria-valuenow",r)},concatValues:function(r,o){if(r&&o){var l=o.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?l!==-1?r.replace(this.suffixChar,"").split(this._decimal)[0]+o.replace(this.suffixChar,"").slice(l)+this.suffixChar:r:l!==-1?r.split(this._decimal)[0]+o.slice(l):r}return r},getDecimalLength:function(r){if(r){var o=r.split(this._decimal);if(o.length===2)return o[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0},updateModel:function(r,o){this.writeValue(o,r)},onInputFocus:function(r){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==U7t()&&this.highlightOnFocus&&r.target.select(),this.$emit("focus",r)},onInputBlur:function(r){var o,l;this.focused=!1;var h=r.target,b=this.validateValue(this.parseValue(h.value));this.$emit("blur",{originalEvent:r,value:h.value}),(o=(l=this.formField).onBlur)===null||o===void 0||o.call(l,r),h.value=this.formatValue(b),h.setAttribute("aria-valuenow",b),this.updateModel(r,b),!this.disabled&&!this.readonly&&this.highlightOnFocus&&tae()},clearTimer:function(){this.timer&&clearInterval(this.timer)},maxBoundry:function(){return this.d_value>=this.max},minBoundry:function(){return this.d_value<=this.min}},computed:{upButtonListeners:function(){var r=this;return{mousedown:function(l){return r.onUpButtonMouseDown(l)},mouseup:function(l){return r.onUpButtonMouseUp(l)},mouseleave:function(l){return r.onUpButtonMouseLeave(l)},keydown:function(l){return r.onUpButtonKeyDown(l)},keyup:function(l){return r.onUpButtonKeyUp(l)}}},downButtonListeners:function(){var r=this;return{mousedown:function(l){return r.onDownButtonMouseDown(l)},mouseup:function(l){return r.onDownButtonMouseUp(l)},mouseleave:function(l){return r.onDownButtonMouseLeave(l)},keydown:function(l){return r.onDownButtonKeyDown(l)},keyup:function(l){return r.onDownButtonKeyUp(l)}}},formattedValue:function(){var r=!this.d_value&&!this.allowEmpty?0:this.d_value;return this.formatValue(r)},getFormatter:function(){return this.numberFormat}},components:{InputText:jI,AngleUpIcon:_en,AngleDownIcon:ven}},Xkr=["disabled"],Jkr=["disabled"],Ykr=["disabled"],Qkr=["disabled"];function Zkr(n,r,o,l,h,b){var g=Ii("InputText");return Qe(),jt("span",Ot({class:n.cx("root")},n.ptmi("root")),[eo(g,{ref:"input",id:n.inputId,role:"spinbutton",class:Oo([n.cx("pcInputText"),n.inputClass]),style:_g(n.inputStyle),value:b.formattedValue,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.d_value,inputmode:n.mode==="decimal"&&!n.minFractionDigits?"numeric":"decimal",disabled:n.disabled,readonly:n.readonly,placeholder:n.placeholder,"aria-labelledby":n.ariaLabelledby,"aria-label":n.ariaLabel,size:n.size,invalid:n.invalid,variant:n.variant,onInput:b.onUserInput,onKeydown:b.onInputKeyDown,onKeypress:b.onInputKeyPress,onPaste:b.onPaste,onClick:b.onInputClick,onFocus:b.onInputFocus,onBlur:b.onInputBlur,pt:n.ptm("pcInputText"),unstyled:n.unstyled},null,8,["id","class","style","value","aria-valuemin","aria-valuemax","aria-valuenow","inputmode","disabled","readonly","placeholder","aria-labelledby","aria-label","size","invalid","variant","onInput","onKeydown","onKeypress","onPaste","onClick","onFocus","onBlur","pt","unstyled"]),n.showButtons&&n.buttonLayout==="stacked"?(Qe(),jt("span",Ot({key:0,class:n.cx("buttonGroup")},n.ptm("buttonGroup")),[li(n.$slots,"incrementbutton",{listeners:b.upButtonListeners},function(){return[Mr("button",Ot({class:[n.cx("incrementButton"),n.incrementButtonClass]},Noe(b.upButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("incrementButton")),[li(n.$slots,n.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(Qe(),On(Bo(n.incrementIcon||n.incrementButtonIcon?"span":"AngleUpIcon"),Ot({class:[n.incrementIcon,n.incrementButtonIcon]},n.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,Xkr)]}),li(n.$slots,"decrementbutton",{listeners:b.downButtonListeners},function(){return[Mr("button",Ot({class:[n.cx("decrementButton"),n.decrementButtonClass]},Noe(b.downButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("decrementButton")),[li(n.$slots,n.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(Qe(),On(Bo(n.decrementIcon||n.decrementButtonIcon?"span":"AngleDownIcon"),Ot({class:[n.decrementIcon,n.decrementButtonIcon]},n.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,Jkr)]})],16)):kr("",!0),li(n.$slots,"incrementbutton",{listeners:b.upButtonListeners},function(){return[n.showButtons&&n.buttonLayout!=="stacked"?(Qe(),jt("button",Ot({key:0,class:[n.cx("incrementButton"),n.incrementButtonClass]},Noe(b.upButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("incrementButton")),[li(n.$slots,n.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(Qe(),On(Bo(n.incrementIcon||n.incrementButtonIcon?"span":"AngleUpIcon"),Ot({class:[n.incrementIcon,n.incrementButtonIcon]},n.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,Ykr)):kr("",!0)]}),li(n.$slots,"decrementbutton",{listeners:b.downButtonListeners},function(){return[n.showButtons&&n.buttonLayout!=="stacked"?(Qe(),jt("button",Ot({key:0,class:[n.cx("decrementButton"),n.decrementButtonClass]},Noe(b.downButtonListeners),{disabled:n.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},n.ptm("decrementButton")),[li(n.$slots,n.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(Qe(),On(Bo(n.decrementIcon||n.decrementButtonIcon?"span":"AngleDownIcon"),Ot({class:[n.decrementIcon,n.decrementButtonIcon]},n.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,Qkr)):kr("",!0)]})],16)}Sen.render=Zkr;var Een={name:"AngleDoubleRightIcon",extends:Gc};function eRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z",fill:"currentColor"},null,-1)]),16)}Een.render=eRr;var ken={name:"AngleRightIcon",extends:Gc};function tRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z",fill:"currentColor"},null,-1)]),16)}ken.render=tRr;var Ren={name:"AngleLeftIcon",extends:Gc};function nRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z",fill:"currentColor"},null,-1)]),16)}Ren.render=nRr;var rRr={name:"BasePaginator",extends:tl,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:B3r,provide:function(){return{$pcPaginator:this,$parentInstance:this}}},Aen={name:"CurrentPageReport",hostName:"Paginator",extends:tl,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var r=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return r}}};function iRr(n,r,o,l,h,b){return Qe(),jt("span",Ot({class:n.cx("current")},n.ptm("current")),ll(b.text),17)}Aen.render=iRr;var Cen={name:"FirstPageLink",hostName:"Paginator",extends:tl,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(r){return this.ptm(r,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:hen},directives:{ripple:Y6}};function oRr(n,r,o,l,h,b){var g=Wk("ripple");return Bk((Qe(),jt("button",Ot({class:n.cx("first"),type:"button"},b.getPTOptions("first"),{"data-pc-group-section":"pagebutton"}),[(Qe(),On(Bo(o.template||"AngleDoubleLeftIcon"),Ot({class:n.cx("firstIcon")},b.getPTOptions("firstIcon")),null,16,["class"]))],16)),[[g]])}Cen.render=oRr;var xen={name:"JumpToPageDropdown",hostName:"Paginator",extends:tl,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(r){this.$emit("page-change",r)}},computed:{pageOptions:function(){for(var r=[],o=0;on.length)&&(r=n.length);for(var o=0,l=Array(r);o0&&r&&this.d_first>=r&&this.changePage(this.pageCount-1)}},mounted:function(){this.createStyle()},methods:{changePage:function(r){var o=this.pageCount;if(r>=0&&r0?this.page+1:0},last:function(){return Math.min(this.d_first+this.rows,this.totalRecords)}},components:{CurrentPageReport:Aen,FirstPageLink:Cen,LastPageLink:Ien,NextPageLink:Ten,PageLinks:Pen,PrevPageLink:Oen,RowsPerPageDropdown:Nen,JumpToPageDropdown:xen,JumpToPageInput:$en}};function mRr(n,r,o,l,h,b){var g=Ii("FirstPageLink"),m=Ii("PrevPageLink"),S=Ii("NextPageLink"),_=Ii("LastPageLink"),k=Ii("PageLinks"),I=Ii("CurrentPageReport"),C=Ii("RowsPerPageDropdown"),A=Ii("JumpToPageDropdown"),M=Ii("JumpToPageInput");return n.alwaysShow||b.pageLinks&&b.pageLinks.length>1?(Qe(),jt("nav",TN(Ot({key:0},n.ptmi("paginatorContainer"))),[(Qe(!0),jt(fi,null,Wc(b.templateItems,function(D,H){return Qe(),jt("div",Ot({key:H,ref_for:!0,ref:"paginator",class:n.cx("paginator",{key:H})},n.ptm("root")),[n.$slots.container?li(n.$slots,"container",{key:0,first:h.d_first+1,last:b.last,rows:h.d_rows,page:b.page,pageCount:b.pageCount,totalRecords:n.totalRecords,firstPageCallback:b.changePageToFirst,lastPageCallback:b.changePageToLast,prevPageCallback:b.changePageToPrev,nextPageCallback:b.changePageToNext,rowChangeCallback:b.onRowChange}):(Qe(),jt(fi,{key:1},[n.$slots.start?(Qe(),jt("div",Ot({key:0,class:n.cx("contentStart"),ref_for:!0},n.ptm("contentStart")),[li(n.$slots,"start",{state:b.currentState})],16)):kr("",!0),Mr("div",Ot({class:n.cx("content"),ref_for:!0},n.ptm("content")),[(Qe(!0),jt(fi,null,Wc(D,function(G){return Qe(),jt(fi,{key:G},[G==="FirstPageLink"?(Qe(),On(g,{key:0,"aria-label":b.getAriaLabel("firstPageLabel"),template:n.$slots.firsticon||n.$slots.firstpagelinkicon,onClick:r[0]||(r[0]=function(Y){return b.changePageToFirst(Y)}),disabled:b.isFirstPage||b.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):G==="PrevPageLink"?(Qe(),On(m,{key:1,"aria-label":b.getAriaLabel("prevPageLabel"),template:n.$slots.previcon||n.$slots.prevpagelinkicon,onClick:r[1]||(r[1]=function(Y){return b.changePageToPrev(Y)}),disabled:b.isFirstPage||b.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):G==="NextPageLink"?(Qe(),On(S,{key:2,"aria-label":b.getAriaLabel("nextPageLabel"),template:n.$slots.nexticon||n.$slots.nextpagelinkicon,onClick:r[2]||(r[2]=function(Y){return b.changePageToNext(Y)}),disabled:b.isLastPage||b.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):G==="LastPageLink"?(Qe(),On(_,{key:3,"aria-label":b.getAriaLabel("lastPageLabel"),template:n.$slots.lasticon||n.$slots.lastpagelinkicon,onClick:r[3]||(r[3]=function(Y){return b.changePageToLast(Y)}),disabled:b.isLastPage||b.empty,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):G==="PageLinks"?(Qe(),On(k,{key:4,"aria-label":b.getAriaLabel("pageLabel"),value:b.pageLinks,page:b.page,onClick:r[4]||(r[4]=function(Y){return b.changePageLink(Y)}),unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","value","page","unstyled","pt"])):G==="CurrentPageReport"?(Qe(),On(I,{key:5,"aria-live":"polite",template:n.currentPageReportTemplate,currentPage:b.currentPage,page:b.page,pageCount:b.pageCount,first:h.d_first,rows:h.d_rows,totalRecords:n.totalRecords,unstyled:n.unstyled,pt:n.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):G==="RowsPerPageDropdown"&&n.rowsPerPageOptions?(Qe(),On(C,{key:6,"aria-label":b.getAriaLabel("rowsPerPageLabel"),rows:h.d_rows,options:n.rowsPerPageOptions,onRowsChange:r[5]||(r[5]=function(Y){return b.onRowChange(Y)}),disabled:b.empty,templates:n.$slots,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):G==="JumpToPageDropdown"?(Qe(),On(A,{key:7,"aria-label":b.getAriaLabel("jumpToPageDropdownLabel"),page:b.page,pageCount:b.pageCount,onPageChange:r[6]||(r[6]=function(Y){return b.changePage(Y)}),disabled:b.empty,templates:n.$slots,unstyled:n.unstyled,pt:n.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):G==="JumpToPageInput"?(Qe(),On(M,{key:8,page:b.currentPage,onPageChange:r[7]||(r[7]=function(Y){return b.changePage(Y)}),disabled:b.empty,unstyled:n.unstyled,pt:n.pt},null,8,["page","disabled","unstyled","pt"])):kr("",!0)],64)}),128))],16),n.$slots.end?(Qe(),jt("div",Ot({key:1,class:n.cx("contentEnd"),ref_for:!0},n.ptm("contentEnd")),[li(n.$slots,"end",{state:b.currentState})],16)):kr("",!0)],64))],16)}),128))],16)):kr("",!0)}Men.render=mRr;var yRr=function(r){var o=r.dt;return` +.p-datatable { + position: relative; +} + +.p-datatable-table { + border-spacing: 0; + border-collapse: separate; + width: 100%; +} + +.p-datatable-scrollable > .p-datatable-table-container { + position: relative; +} + +.p-datatable-scrollable-table > .p-datatable-thead { + inset-block-start: 0; + z-index: 1; +} + +.p-datatable-scrollable-table > .p-datatable-frozen-tbody { + position: sticky; + z-index: 1; +} + +.p-datatable-scrollable-table > .p-datatable-tfoot { + inset-block-end: 0; + z-index: 1; +} + +.p-datatable-scrollable .p-datatable-frozen-column { + position: sticky; + background: `.concat(o("datatable.header.cell.background"),`; +} + +.p-datatable-scrollable th.p-datatable-frozen-column { + z-index: 1; +} + +.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead, +.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead { + background: `).concat(o("datatable.header.cell.background"),`; +} + +.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot, +.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot { + background: `).concat(o("datatable.footer.cell.background"),`; +} + +.p-datatable-flex-scrollable { + display: flex; + flex-direction: column; + height: 100%; +} + +.p-datatable-flex-scrollable > .p-datatable-table-container { + display: flex; + flex-direction: column; + flex: 1; + height: 100%; +} + +.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header { + position: sticky; + z-index: 1; +} + +.p-datatable-resizable-table > .p-datatable-thead > tr > th, +.p-datatable-resizable-table > .p-datatable-tfoot > tr > td, +.p-datatable-resizable-table > .p-datatable-tbody > tr > td { + overflow: hidden; + white-space: nowrap; +} + +.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) { + background-clip: padding-box; + position: relative; +} + +.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer { + display: none; +} + +.p-datatable-column-resizer { + display: block; + position: absolute; + inset-block-start: 0; + inset-inline-end: 0; + margin: 0; + width: `).concat(o("datatable.column.resizer.width"),`; + height: 100%; + padding: 0; + cursor: col-resize; + border: 1px solid transparent; +} + +.p-datatable-column-header-content { + display: flex; + align-items: center; + gap: `).concat(o("datatable.header.cell.gap"),`; +} + +.p-datatable-column-resize-indicator { + width: `).concat(o("datatable.resize.indicator.width"),`; + position: absolute; + z-index: 10; + display: none; + background: `).concat(o("datatable.resize.indicator.color"),`; +} + +.p-datatable-row-reorder-indicator-up, +.p-datatable-row-reorder-indicator-down { + position: absolute; + display: none; +} + +.p-datatable-reorderable-column, +.p-datatable-reorderable-row-handle { + cursor: move; +} + +.p-datatable-mask { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + z-index: 2; +} + +.p-datatable-inline-filter { + display: flex; + align-items: center; + width: 100%; + gap: `).concat(o("datatable.filter.inline.gap"),`; +} + +.p-datatable-inline-filter .p-datatable-filter-element-container { + flex: 1 1 auto; + width: 1%; +} + +.p-datatable-filter-overlay { + background: `).concat(o("datatable.filter.overlay.select.background"),`; + color: `).concat(o("datatable.filter.overlay.select.color"),`; + border: 1px solid `).concat(o("datatable.filter.overlay.select.border.color"),`; + border-radius: `).concat(o("datatable.filter.overlay.select.border.radius"),`; + box-shadow: `).concat(o("datatable.filter.overlay.select.shadow"),`; + min-width: 12.5rem; +} + +.p-datatable-filter-constraint-list { + margin: 0; + list-style: none; + display: flex; + flex-direction: column; + padding: `).concat(o("datatable.filter.constraint.list.padding"),`; + gap: `).concat(o("datatable.filter.constraint.list.gap"),`; +} + +.p-datatable-filter-constraint { + padding: `).concat(o("datatable.filter.constraint.padding"),`; + color: `).concat(o("datatable.filter.constraint.color"),`; + border-radius: `).concat(o("datatable.filter.constraint.border.radius"),`; + cursor: pointer; + transition: background `).concat(o("datatable.transition.duration"),", color ").concat(o("datatable.transition.duration"),", border-color ").concat(o("datatable.transition.duration"),`, + box-shadow `).concat(o("datatable.transition.duration"),`; +} + +.p-datatable-filter-constraint-selected { + background: `).concat(o("datatable.filter.constraint.selected.background"),`; + color: `).concat(o("datatable.filter.constraint.selected.color"),`; +} + +.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover { + background: `).concat(o("datatable.filter.constraint.focus.background"),`; + color: `).concat(o("datatable.filter.constraint.focus.color"),`; +} + +.p-datatable-filter-constraint:focus-visible { + outline: 0 none; + background: `).concat(o("datatable.filter.constraint.focus.background"),`; + color: `).concat(o("datatable.filter.constraint.focus.color"),`; +} + +.p-datatable-filter-constraint-selected:focus-visible { + outline: 0 none; + background: `).concat(o("datatable.filter.constraint.selected.focus.background"),`; + color: `).concat(o("datatable.filter.constraint.selected.focus.color"),`; +} + +.p-datatable-filter-constraint-separator { + border-block-start: 1px solid `).concat(o("datatable.filter.constraint.separator.border.color"),`; +} + +.p-datatable-popover-filter { + display: inline-flex; + margin-inline-start: auto; +} + +.p-datatable-filter-overlay-popover { + background: `).concat(o("datatable.filter.overlay.popover.background"),`; + color: `).concat(o("datatable.filter.overlay.popover.color"),`; + border: 1px solid `).concat(o("datatable.filter.overlay.popover.border.color"),`; + border-radius: `).concat(o("datatable.filter.overlay.popover.border.radius"),`; + box-shadow: `).concat(o("datatable.filter.overlay.popover.shadow"),`; + min-width: 12.5rem; + padding: `).concat(o("datatable.filter.overlay.popover.padding"),`; + display: flex; + flex-direction: column; + gap: `).concat(o("datatable.filter.overlay.popover.gap"),`; +} + +.p-datatable-filter-operator-dropdown { + width: 100%; +} + +.p-datatable-filter-rule-list, +.p-datatable-filter-rule { + display: flex; + flex-direction: column; + gap: `).concat(o("datatable.filter.overlay.popover.gap"),`; +} + +.p-datatable-filter-rule { + border-block-end: 1px solid `).concat(o("datatable.filter.rule.border.color"),`; + padding-bottom: `).concat(o("datatable.filter.overlay.popover.gap"),`; +} + +.p-datatable-filter-rule:last-child { + border-block-end: 0 none; + padding-bottom: 0; +} + +.p-datatable-filter-add-rule-button { + width: 100%; +} + +.p-datatable-filter-remove-rule-button { + width: 100%; +} + +.p-datatable-filter-buttonbar { + padding: 0; + display: flex; + align-items: center; + justify-content: space-between; +} + +.p-datatable-virtualscroller-spacer { + display: flex; +} + +.p-datatable .p-virtualscroller .p-virtualscroller-loading { + transform: none !important; + min-height: 0; + position: sticky; + inset-block-start: 0; + inset-inline-start: 0; +} + +.p-datatable-paginator-top { + border-color: `).concat(o("datatable.paginator.top.border.color"),`; + border-style: solid; + border-width: `).concat(o("datatable.paginator.top.border.width"),`; +} + +.p-datatable-paginator-bottom { + border-color: `).concat(o("datatable.paginator.bottom.border.color"),`; + border-style: solid; + border-width: `).concat(o("datatable.paginator.bottom.border.width"),`; +} + +.p-datatable-header { + background: `).concat(o("datatable.header.background"),`; + color: `).concat(o("datatable.header.color"),`; + border-color: `).concat(o("datatable.header.border.color"),`; + border-style: solid; + border-width: `).concat(o("datatable.header.border.width"),`; + padding: `).concat(o("datatable.header.padding"),`; +} + +.p-datatable-footer { + background: `).concat(o("datatable.footer.background"),`; + color: `).concat(o("datatable.footer.color"),`; + border-color: `).concat(o("datatable.footer.border.color"),`; + border-style: solid; + border-width: `).concat(o("datatable.footer.border.width"),`; + padding: `).concat(o("datatable.footer.padding"),`; +} + +.p-datatable-header-cell { + padding: `).concat(o("datatable.header.cell.padding"),`; + background: `).concat(o("datatable.header.cell.background"),`; + border-color: `).concat(o("datatable.header.cell.border.color"),`; + border-style: solid; + border-width: 0 0 1px 0; + color: `).concat(o("datatable.header.cell.color"),`; + font-weight: normal; + text-align: start; + transition: background `).concat(o("datatable.transition.duration"),", color ").concat(o("datatable.transition.duration"),", border-color ").concat(o("datatable.transition.duration"),`, + outline-color `).concat(o("datatable.transition.duration"),", box-shadow ").concat(o("datatable.transition.duration"),`; +} + +.p-datatable-column-title { + font-weight: `).concat(o("datatable.column.title.font.weight"),`; +} + +.p-datatable-tbody > tr { + outline-color: transparent; + background: `).concat(o("datatable.row.background"),`; + color: `).concat(o("datatable.row.color"),`; + transition: background `).concat(o("datatable.transition.duration"),", color ").concat(o("datatable.transition.duration"),", border-color ").concat(o("datatable.transition.duration"),`, + outline-color `).concat(o("datatable.transition.duration"),", box-shadow ").concat(o("datatable.transition.duration"),`; +} + +.p-datatable-tbody > tr > td { + text-align: start; + border-color: `).concat(o("datatable.body.cell.border.color"),`; + border-style: solid; + border-width: 0 0 1px 0; + padding: `).concat(o("datatable.body.cell.padding"),`; +} + +.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { + background: `).concat(o("datatable.row.hover.background"),`; + color: `).concat(o("datatable.row.hover.color"),`; +} + +.p-datatable-tbody > tr.p-datatable-row-selected { + background: `).concat(o("datatable.row.selected.background"),`; + color: `).concat(o("datatable.row.selected.color"),`; +} + +.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td { + border-block-end-color: `).concat(o("datatable.body.cell.selected.border.color"),`; +} + +.p-datatable-tbody > tr.p-datatable-row-selected > td { + border-block-end-color: `).concat(o("datatable.body.cell.selected.border.color"),`; +} + +.p-datatable-tbody > tr:focus-visible, +.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected { + box-shadow: `).concat(o("datatable.row.focus.ring.shadow"),`; + outline: `).concat(o("datatable.row.focus.ring.width")," ").concat(o("datatable.row.focus.ring.style")," ").concat(o("datatable.row.focus.ring.color"),`; + outline-offset: `).concat(o("datatable.row.focus.ring.offset"),`; +} + +.p-datatable-tfoot > tr > td { + text-align: start; + padding: `).concat(o("datatable.footer.cell.padding"),`; + border-color: `).concat(o("datatable.footer.cell.border.color"),`; + border-style: solid; + border-width: 0 0 1px 0; + color: `).concat(o("datatable.footer.cell.color"),`; + background: `).concat(o("datatable.footer.cell.background"),`; +} + +.p-datatable-column-footer { + font-weight: `).concat(o("datatable.column.footer.font.weight"),`; +} + +.p-datatable-sortable-column { + cursor: pointer; + user-select: none; + outline-color: transparent; +} + +.p-datatable-column-title, +.p-datatable-sort-icon, +.p-datatable-sort-badge { + vertical-align: middle; +} + +.p-datatable-sort-icon { + color: `).concat(o("datatable.sort.icon.color"),`; + font-size: `).concat(o("datatable.sort.icon.size"),`; + width: `).concat(o("datatable.sort.icon.size"),`; + height: `).concat(o("datatable.sort.icon.size"),`; + transition: color `).concat(o("datatable.transition.duration"),`; +} + +.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover { + background: `).concat(o("datatable.header.cell.hover.background"),`; + color: `).concat(o("datatable.header.cell.hover.color"),`; +} + +.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon { + color: `).concat(o("datatable.sort.icon.hover.color"),`; +} + +.p-datatable-column-sorted { + background: `).concat(o("datatable.header.cell.selected.background"),`; + color: `).concat(o("datatable.header.cell.selected.color"),`; +} + +.p-datatable-column-sorted .p-datatable-sort-icon { + color: `).concat(o("datatable.header.cell.selected.color"),`; +} + +.p-datatable-sortable-column:focus-visible { + box-shadow: `).concat(o("datatable.header.cell.focus.ring.shadow"),`; + outline: `).concat(o("datatable.header.cell.focus.ring.width")," ").concat(o("datatable.header.cell.focus.ring.style")," ").concat(o("datatable.header.cell.focus.ring.color"),`; + outline-offset: `).concat(o("datatable.header.cell.focus.ring.offset"),`; +} + +.p-datatable-hoverable .p-datatable-selectable-row { + cursor: pointer; +} + +.p-datatable-tbody > tr.p-datatable-dragpoint-top > td { + box-shadow: inset 0 2px 0 0 `).concat(o("datatable.drop.point.color"),`; +} + +.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td { + box-shadow: inset 0 -2px 0 0 `).concat(o("datatable.drop.point.color"),`; +} + +.p-datatable-loading-icon { + font-size: `).concat(o("datatable.loading.icon.size"),`; + width: `).concat(o("datatable.loading.icon.size"),`; + height: `).concat(o("datatable.loading.icon.size"),`; +} + +.p-datatable-gridlines .p-datatable-header { + border-width: 1px 1px 0 1px; +} + +.p-datatable-gridlines .p-datatable-footer { + border-width: 0 1px 1px 1px; +} + +.p-datatable-gridlines .p-datatable-paginator-top { + border-width: 1px 1px 0 1px; +} + +.p-datatable-gridlines .p-datatable-paginator-bottom { + border-width: 0 1px 1px 1px; +} + +.p-datatable-gridlines .p-datatable-thead > tr > th { + border-width: 1px 0 1px 1px; +} + +.p-datatable-gridlines .p-datatable-thead > tr > th:last-child { + border-width: 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr > td { + border-width: 1px 0 0 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child { + border-width: 1px 1px 0 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td { + border-width: 1px 0 1px 1px; +} + +.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child { + border-width: 1px; +} + +.p-datatable-gridlines .p-datatable-tfoot > tr > td { + border-width: 1px 0 1px 1px; +} + +.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child { + border-width: 1px 1px 1px 1px; +} + +.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td { + border-width: 0 0 1px 1px; +} + +.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child { + border-width: 0 1px 1px 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td { + border-width: 0 0 1px 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child { + border-width: 0 1px 1px 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td { + border-width: 0 0 0 1px; +} + +.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { + border-width: 0 1px 0 1px; +} + +.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { + background: `).concat(o("datatable.row.striped.background"),`; +} + +.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected { + background: `).concat(o("datatable.row.selected.background"),`; + color: `).concat(o("datatable.row.selected.color"),`; +} + +.p-datatable-striped.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { + background: `).concat(o("datatable.row.hover.background"),`; + color: `).concat(o("datatable.row.hover.color"),`; +} + +.p-datatable.p-datatable-sm .p-datatable-header { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-thead > tr > th { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-sm .p-datatable-footer { + padding: 0.375rem 0.5rem; +} + +.p-datatable.p-datatable-lg .p-datatable-header { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-thead > tr > th { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td { + padding: 1rem 1.25rem; +} + +.p-datatable.p-datatable-lg .p-datatable-footer { + padding: 1rem 1.25rem; +} + +.p-datatable-row-toggle-button { + display: inline-flex; + align-items: center; + justify-content: center; + overflow: hidden; + position: relative; + width: `).concat(o("datatable.row.toggle.button.size"),`; + height: `).concat(o("datatable.row.toggle.button.size"),`; + color: `).concat(o("datatable.row.toggle.button.color"),`; + border: 0 none; + background: transparent; + cursor: pointer; + border-radius: `).concat(o("datatable.row.toggle.button.border.radius"),`; + transition: background `).concat(o("datatable.transition.duration"),", color ").concat(o("datatable.transition.duration"),", border-color ").concat(o("datatable.transition.duration"),`, + outline-color `).concat(o("datatable.transition.duration"),", box-shadow ").concat(o("datatable.transition.duration"),`; + outline-color: transparent; + user-select: none; +} + +.p-datatable-row-toggle-button:enabled:hover { + color: `).concat(o("datatable.row.toggle.button.hover.color"),`; + background: `).concat(o("datatable.row.toggle.button.hover.background"),`; +} + +.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover { + background: `).concat(o("datatable.row.toggle.button.selected.hover.background"),`; + color: `).concat(o("datatable.row.toggle.button.selected.hover.color"),`; +} + +.p-datatable-row-toggle-button:focus-visible { + box-shadow: `).concat(o("datatable.row.toggle.button.focus.ring.shadow"),`; + outline: `).concat(o("datatable.row.toggle.button.focus.ring.width")," ").concat(o("datatable.row.toggle.button.focus.ring.style")," ").concat(o("datatable.row.toggle.button.focus.ring.color"),`; + outline-offset: `).concat(o("datatable.row.toggle.button.focus.ring.offset"),`; +} + +.p-datatable-row-toggle-icon:dir(rtl) { + transform: rotate(180deg); +} +`)},vRr={root:function(r){var o=r.props;return["p-datatable p-component",{"p-datatable-hoverable":o.rowHover||o.selectionMode,"p-datatable-resizable":o.resizableColumns,"p-datatable-resizable-fit":o.resizableColumns&&o.columnResizeMode==="fit","p-datatable-scrollable":o.scrollable,"p-datatable-flex-scrollable":o.scrollable&&o.scrollHeight==="flex","p-datatable-striped":o.stripedRows,"p-datatable-gridlines":o.showGridlines,"p-datatable-sm":o.size==="small","p-datatable-lg":o.size==="large"}]},mask:"p-datatable-mask p-overlay-mask",loadingIcon:"p-datatable-loading-icon",header:"p-datatable-header",pcPaginator:function(r){var o=r.position;return"p-datatable-paginator-"+o},tableContainer:"p-datatable-table-container",table:function(r){var o=r.props;return["p-datatable-table",{"p-datatable-scrollable-table":o.scrollable,"p-datatable-resizable-table":o.resizableColumns,"p-datatable-resizable-table-fit":o.resizableColumns&&o.columnResizeMode==="fit"}]},thead:"p-datatable-thead",headerCell:function(r){var o=r.instance,l=r.props,h=r.column;return h&&!o.columnProp(h,"hidden")&&(l.rowGroupMode!=="subheader"||l.groupRowsBy!==o.columnProp(h,"field"))?["p-datatable-header-cell",{"p-datatable-frozen-column":o.columnProp(h,"frozen")}]:["p-datatable-header-cell",{"p-datatable-sortable-column":o.columnProp("sortable"),"p-datatable-resizable-column":o.resizableColumns,"p-datatable-column-sorted":o.isColumnSorted(),"p-datatable-frozen-column":o.columnProp("frozen"),"p-datatable-reorderable-column":l.reorderableColumns}]},columnResizer:"p-datatable-column-resizer",columnHeaderContent:"p-datatable-column-header-content",columnTitle:"p-datatable-column-title",columnFooter:"p-datatable-column-footer",sortIcon:"p-datatable-sort-icon",pcSortBadge:"p-datatable-sort-badge",filter:function(r){var o=r.props;return["p-datatable-filter",{"p-datatable-inline-filter":o.display==="row","p-datatable-popover-filter":o.display==="menu"}]},filterElementContainer:"p-datatable-filter-element-container",pcColumnFilterButton:"p-datatable-column-filter-button",pcColumnFilterClearButton:"p-datatable-column-filter-clear-button",filterOverlay:function(r){r.instance;var o=r.props;return["p-datatable-filter-overlay p-component",{"p-datatable-filter-overlay-popover":o.display==="menu"}]},filterConstraintList:"p-datatable-filter-constraint-list",filterConstraint:function(r){var o=r.instance,l=r.matchMode;return["p-datatable-filter-constraint",{"p-datatable-filter-constraint-selected":l&&o.isRowMatchModeSelected(l.value)}]},filterConstraintSeparator:"p-datatable-filter-constraint-separator",filterOperator:"p-datatable-filter-operator",pcFilterOperatorDropdown:"p-datatable-filter-operator-dropdown",filterRuleList:"p-datatable-filter-rule-list",filterRule:"p-datatable-filter-rule",pcFilterConstraintDropdown:"p-datatable-filter-constraint-dropdown",pcFilterRemoveRuleButton:"p-datatable-filter-remove-rule-button",pcFilterAddRuleButton:"p-datatable-filter-add-rule-button",filterButtonbar:"p-datatable-filter-buttonbar",pcFilterClearButton:"p-datatable-filter-clear-button",pcFilterApplyButton:"p-datatable-filter-apply-button",tbody:function(r){var o=r.props;return o.frozenRow?"p-datatable-tbody p-datatable-frozen-tbody":"p-datatable-tbody"},rowGroupHeader:"p-datatable-row-group-header",rowToggleButton:"p-datatable-row-toggle-button",rowToggleIcon:"p-datatable-row-toggle-icon",row:function(r){var o=r.instance,l=r.props,h=r.index,b=r.columnSelectionMode,g=[];return l.selectionMode&&g.push("p-datatable-selectable-row"),l.selection&&g.push({"p-datatable-row-selected":b?o.isSelected&&o.$parentInstance.$parentInstance.highlightOnSelect:o.isSelected}),l.contextMenuSelection&&g.push({"p-datatable-contextmenu-row-selected":o.isSelectedWithContextMenu}),g.push(h%2===0?"p-row-even":"p-row-odd"),g},rowExpansion:"p-datatable-row-expansion",rowGroupFooter:"p-datatable-row-group-footer",emptyMessage:"p-datatable-empty-message",bodyCell:function(r){var o=r.instance;return[{"p-datatable-frozen-column":o.columnProp("frozen")}]},reorderableRowHandle:"p-datatable-reorderable-row-handle",pcRowEditorInit:"p-datatable-row-editor-init",pcRowEditorSave:"p-datatable-row-editor-save",pcRowEditorCancel:"p-datatable-row-editor-cancel",tfoot:"p-datatable-tfoot",footerCell:function(r){var o=r.instance;return[{"p-datatable-frozen-column":o.columnProp("frozen")}]},virtualScrollerSpacer:"p-datatable-virtualscroller-spacer",footer:"p-datatable-footer",columnResizeIndicator:"p-datatable-column-resize-indicator",rowReorderIndicatorUp:"p-datatable-row-reorder-indicator-up",rowReorderIndicatorDown:"p-datatable-row-reorder-indicator-down"},_Rr={tableContainer:{overflow:"auto"},thead:{position:"sticky"},tfoot:{position:"sticky"}},SRr=Ys.extend({name:"datatable",theme:yRr,classes:vRr,inlineStyles:_Rr}),LLe={name:"ChevronRightIcon",extends:Gc};function ERr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1)]),16)}LLe.render=ERr;var Den={name:"BarsIcon",extends:Gc};function kRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",fill:"currentColor"},null,-1)]),16)}Den.render=kRr;var Len={name:"PencilIcon",extends:Gc};function RRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M0.609628 13.959C0.530658 13.9599 0.452305 13.9451 0.379077 13.9156C0.305849 13.8861 0.239191 13.8424 0.18294 13.787C0.118447 13.7234 0.0688234 13.6464 0.0376166 13.5614C0.00640987 13.4765 -0.00560954 13.3857 0.00241768 13.2956L0.25679 10.1501C0.267698 10.0041 0.331934 9.86709 0.437312 9.76516L9.51265 0.705715C10.0183 0.233014 10.6911 -0.0203041 11.3835 0.00127367C12.0714 0.00660201 12.7315 0.27311 13.2298 0.746671C13.7076 1.23651 13.9824 1.88848 13.9992 2.57201C14.0159 3.25554 13.7733 3.92015 13.32 4.4327L4.23648 13.5331C4.13482 13.6342 4.0017 13.6978 3.85903 13.7133L0.667067 14L0.609628 13.959ZM1.43018 10.4696L1.25787 12.714L3.50619 12.5092L12.4502 3.56444C12.6246 3.35841 12.7361 3.10674 12.7714 2.83933C12.8067 2.57193 12.7644 2.30002 12.6495 2.05591C12.5346 1.8118 12.3519 1.60575 12.1231 1.46224C11.8943 1.31873 11.6291 1.2438 11.3589 1.24633C11.1813 1.23508 11.0033 1.25975 10.8355 1.31887C10.6677 1.37798 10.5136 1.47033 10.3824 1.59036L1.43018 10.4696Z",fill:"currentColor"},null,-1)]),16)}Len.render=RRr;var jen={name:"MinusIcon",extends:Gc};function ARr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1)]),16)}jen.render=ARr;var CRr=function(r){var o=r.dt;return` +.p-checkbox { + position: relative; + display: inline-flex; + user-select: none; + vertical-align: bottom; + width: `.concat(o("checkbox.width"),`; + height: `).concat(o("checkbox.height"),`; +} + +.p-checkbox-input { + cursor: pointer; + appearance: none; + position: absolute; + inset-block-start: 0; + inset-inline-start: 0; + width: 100%; + height: 100%; + padding: 0; + margin: 0; + opacity: 0; + z-index: 1; + outline: 0 none; + border: 1px solid transparent; + border-radius: `).concat(o("checkbox.border.radius"),`; +} + +.p-checkbox-box { + display: flex; + justify-content: center; + align-items: center; + border-radius: `).concat(o("checkbox.border.radius"),`; + border: 1px solid `).concat(o("checkbox.border.color"),`; + background: `).concat(o("checkbox.background"),`; + width: `).concat(o("checkbox.width"),`; + height: `).concat(o("checkbox.height"),`; + transition: background `).concat(o("checkbox.transition.duration"),", color ").concat(o("checkbox.transition.duration"),", border-color ").concat(o("checkbox.transition.duration"),", box-shadow ").concat(o("checkbox.transition.duration"),", outline-color ").concat(o("checkbox.transition.duration"),`; + outline-color: transparent; + box-shadow: `).concat(o("checkbox.shadow"),`; +} + +.p-checkbox-icon { + transition-duration: `).concat(o("checkbox.transition.duration"),`; + color: `).concat(o("checkbox.icon.color"),`; + font-size: `).concat(o("checkbox.icon.size"),`; + width: `).concat(o("checkbox.icon.size"),`; + height: `).concat(o("checkbox.icon.size"),`; +} + +.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { + border-color: `).concat(o("checkbox.hover.border.color"),`; +} + +.p-checkbox-checked .p-checkbox-box { + border-color: `).concat(o("checkbox.checked.border.color"),`; + background: `).concat(o("checkbox.checked.background"),`; +} + +.p-checkbox-checked .p-checkbox-icon { + color: `).concat(o("checkbox.icon.checked.color"),`; +} + +.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { + background: `).concat(o("checkbox.checked.hover.background"),`; + border-color: `).concat(o("checkbox.checked.hover.border.color"),`; +} + +.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon { + color: `).concat(o("checkbox.icon.checked.hover.color"),`; +} + +.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { + border-color: `).concat(o("checkbox.focus.border.color"),`; + box-shadow: `).concat(o("checkbox.focus.ring.shadow"),`; + outline: `).concat(o("checkbox.focus.ring.width")," ").concat(o("checkbox.focus.ring.style")," ").concat(o("checkbox.focus.ring.color"),`; + outline-offset: `).concat(o("checkbox.focus.ring.offset"),`; +} + +.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { + border-color: `).concat(o("checkbox.checked.focus.border.color"),`; +} + +.p-checkbox.p-invalid > .p-checkbox-box { + border-color: `).concat(o("checkbox.invalid.border.color"),`; +} + +.p-checkbox.p-variant-filled .p-checkbox-box { + background: `).concat(o("checkbox.filled.background"),`; +} + +.p-checkbox-checked.p-variant-filled .p-checkbox-box { + background: `).concat(o("checkbox.checked.background"),`; +} + +.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { + background: `).concat(o("checkbox.checked.hover.background"),`; +} + +.p-checkbox.p-disabled { + opacity: 1; +} + +.p-checkbox.p-disabled .p-checkbox-box { + background: `).concat(o("checkbox.disabled.background"),`; + border-color: `).concat(o("checkbox.checked.disabled.border.color"),`; +} + +.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { + color: `).concat(o("checkbox.icon.disabled.color"),`; +} + +.p-checkbox-sm, +.p-checkbox-sm .p-checkbox-box { + width: `).concat(o("checkbox.sm.width"),`; + height: `).concat(o("checkbox.sm.height"),`; +} + +.p-checkbox-sm .p-checkbox-icon { + font-size: `).concat(o("checkbox.icon.sm.size"),`; + width: `).concat(o("checkbox.icon.sm.size"),`; + height: `).concat(o("checkbox.icon.sm.size"),`; +} + +.p-checkbox-lg, +.p-checkbox-lg .p-checkbox-box { + width: `).concat(o("checkbox.lg.width"),`; + height: `).concat(o("checkbox.lg.height"),`; +} + +.p-checkbox-lg .p-checkbox-icon { + font-size: `).concat(o("checkbox.icon.lg.size"),`; + width: `).concat(o("checkbox.icon.lg.size"),`; + height: `).concat(o("checkbox.icon.lg.size"),`; +} +`)},xRr={root:function(r){var o=r.instance,l=r.props;return["p-checkbox p-component",{"p-checkbox-checked":o.checked,"p-disabled":l.disabled,"p-invalid":o.$pcCheckboxGroup?o.$pcCheckboxGroup.$invalid:o.$invalid,"p-variant-filled":o.$variant==="filled","p-checkbox-sm p-inputfield-sm":l.size==="small","p-checkbox-lg p-inputfield-lg":l.size==="large"}]},box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},$Rr=Ys.extend({name:"checkbox",theme:CRr,classes:xRr}),IRr={name:"BaseCheckbox",extends:xK,props:{value:null,binary:Boolean,indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:$Rr,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function TRr(n){return MRr(n)||NRr(n)||ORr(n)||PRr()}function PRr(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ORr(n,r){if(n){if(typeof n=="string")return pNe(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?pNe(n,r):void 0}}function NRr(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function MRr(n){if(Array.isArray(n))return pNe(n)}function pNe(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o .p-radiobutton-box { + border-color: `).concat(o("radiobutton.invalid.border.color"),`; +} + +.p-radiobutton.p-variant-filled .p-radiobutton-box { + background: `).concat(o("radiobutton.filled.background"),`; +} + +.p-radiobutton.p-variant-filled.p-radiobutton-checked .p-radiobutton-box { + background: `).concat(o("radiobutton.checked.background"),`; +} + +.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box { + background: `).concat(o("radiobutton.checked.hover.background"),`; +} + +.p-radiobutton.p-disabled { + opacity: 1; +} + +.p-radiobutton.p-disabled .p-radiobutton-box { + background: `).concat(o("radiobutton.disabled.background"),`; + border-color: `).concat(o("radiobutton.checked.disabled.border.color"),`; +} + +.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon { + background: `).concat(o("radiobutton.icon.disabled.color"),`; +} + +.p-radiobutton-sm, +.p-radiobutton-sm .p-radiobutton-box { + width: `).concat(o("radiobutton.sm.width"),`; + height: `).concat(o("radiobutton.sm.height"),`; +} + +.p-radiobutton-sm .p-radiobutton-icon { + font-size: `).concat(o("radiobutton.icon.sm.size"),`; + width: `).concat(o("radiobutton.icon.sm.size"),`; + height: `).concat(o("radiobutton.icon.sm.size"),`; +} + +.p-radiobutton-lg, +.p-radiobutton-lg .p-radiobutton-box { + width: `).concat(o("radiobutton.lg.width"),`; + height: `).concat(o("radiobutton.lg.height"),`; +} + +.p-radiobutton-lg .p-radiobutton-icon { + font-size: `).concat(o("radiobutton.icon.lg.size"),`; + width: `).concat(o("radiobutton.icon.lg.size"),`; + height: `).concat(o("radiobutton.icon.lg.size"),`; +} +`)},BRr={root:function(r){var o=r.instance,l=r.props;return["p-radiobutton p-component",{"p-radiobutton-checked":o.checked,"p-disabled":l.disabled,"p-invalid":o.$pcRadioButtonGroup?o.$pcRadioButtonGroup.$invalid:o.$invalid,"p-variant-filled":o.$variant==="filled","p-radiobutton-sm p-inputfield-sm":l.size==="small","p-radiobutton-lg p-inputfield-lg":l.size==="large"}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"},HRr=Ys.extend({name:"radiobutton",theme:FRr,classes:BRr}),WRr={name:"BaseRadioButton",extends:xK,props:{value:null,binary:Boolean,readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:HRr,provide:function(){return{$pcRadioButton:this,$parentInstance:this}}},Fen={name:"RadioButton",extends:WRr,inheritAttrs:!1,emits:["change","focus","blur"],inject:{$pcRadioButtonGroup:{default:void 0}},methods:{getPTOptions:function(r){var o=r==="root"?this.ptmi:this.ptm;return o(r,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(r){if(!this.disabled&&!this.readonly){var o=this.binary?!this.checked:this.value;this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.writeValue(o,r):this.writeValue(o,r),this.$emit("change",r)}},onFocus:function(r){this.$emit("focus",r)},onBlur:function(r){var o,l;this.$emit("blur",r),(o=(l=this.formField).onBlur)===null||o===void 0||o.call(l,r)}},computed:{groupName:function(){return this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.groupName:this.$formName},checked:function(){var r=this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.d_value:this.d_value;return r!=null&&(this.binary?!!r:mT(r,this.value))}}},URr=["data-p-checked","data-p-disabled"],VRr=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label","aria-invalid"];function GRr(n,r,o,l,h,b){return Qe(),jt("div",Ot({class:n.cx("root")},b.getPTOptions("root"),{"data-p-checked":b.checked,"data-p-disabled":n.disabled}),[Mr("input",Ot({id:n.inputId,type:"radio",class:[n.cx("input"),n.inputClass],style:n.inputStyle,value:n.value,name:b.groupName,checked:b.checked,tabindex:n.tabindex,disabled:n.disabled,readonly:n.readonly,"aria-labelledby":n.ariaLabelledby,"aria-label":n.ariaLabel,"aria-invalid":n.invalid||void 0,onFocus:r[0]||(r[0]=function(){return b.onFocus&&b.onFocus.apply(b,arguments)}),onBlur:r[1]||(r[1]=function(){return b.onBlur&&b.onBlur.apply(b,arguments)}),onChange:r[2]||(r[2]=function(){return b.onChange&&b.onChange.apply(b,arguments)})},b.getPTOptions("input")),null,16,VRr),Mr("div",Ot({class:n.cx("box")},b.getPTOptions("box")),[Mr("div",Ot({class:n.cx("icon")},b.getPTOptions("icon")),null,16)],16)],16,URr)}Fen.render=GRr;var Ben={name:"FilterIcon",extends:Gc};function KRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1)]),16)}Ben.render=KRr;var Hen={name:"FilterSlashIcon",extends:Gc};function zRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z",fill:"currentColor"},null,-1)]),16)}Hen.render=zRr;var Wen={name:"PlusIcon",extends:Gc};function qRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{d:"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z",fill:"currentColor"},null,-1)]),16)}Wen.render=qRr;var Uen={name:"TrashIcon",extends:Gc};function XRr(n,r,o,l,h,b){return Qe(),jt("svg",Ot({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.pti()),r[0]||(r[0]=[Mr("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z",fill:"currentColor"},null,-1)]),16)}Uen.render=XRr;var JRr=Ys.extend({name:"focustrap-directive"}),YRr=Fs.extend({style:JRr});function TG(n){"@babel/helpers - typeof";return TG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},TG(n)}function hHt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function bHt(n){for(var r=1;r=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(_){throw _},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b,g=!0,m=!1;return{s:function(){o=o.call(n)},n:function(){var _=o.next();return g=_.done,_},e:function(_){m=!0,b=_},f:function(){try{g||o.return==null||o.return()}finally{if(m)throw b}}}}function p4r(n,r){if(n){if(typeof n=="string")return gHt(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?gHt(n,r):void 0}}function gHt(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o-1:this.groupRowsBy===o:!1},findIndexInSelection:function(r){return this.findIndex(r,this.selection)},findIndex:function(r,o){var l=-1;if(o&&o.length){for(var h=0;h-1:!1},isRowGroupExpanded:function(){if(this.expandableRowGroups&&this.expandedRowGroups){var r=Ea(this.rowData,this.groupRowsBy);return this.expandedRowGroups.indexOf(r)>-1}return!1},isSelected:function(){return this.rowData&&this.selection?this.dataKey?this.selectionKeys?this.selectionKeys[Ea(this.rowData,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(this.rowData)>-1:this.equals(this.rowData,this.selection):!1},isSelectedWithContextMenu:function(){return this.rowData&&this.contextMenuSelection?this.equals(this.rowData,this.contextMenuSelection,this.dataKey):!1},shouldRenderRowGroupHeader:function(){var r=Ea(this.rowData,this.groupRowsBy),o=this.value[this.rowIndex-1];if(o){var l=Ea(o,this.groupRowsBy);return r!==l}else return!0},shouldRenderRowGroupFooter:function(){if(this.expandableRowGroups&&!this.isRowGroupExpanded)return!1;var r=Ea(this.rowData,this.groupRowsBy),o=this.value[this.rowIndex+1];if(o){var l=Ea(o,this.groupRowsBy);return r!==l}else return!0},columnsLength:function(){var r=this;if(this.columns){var o=0;return this.columns.forEach(function(l){r.columnProp(l,"selectionMode")==="single"&&o--,r.columnProp(l,"hidden")&&o++}),this.columns.length-o}return 0}},components:{DTBodyCell:Ken,ChevronDownIcon:Hfe,ChevronRightIcon:LLe}};function NG(n){"@babel/helpers - typeof";return NG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},NG(n)}function yHt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function n6(n){for(var r=1;r=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(_){throw _},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b,g=!0,m=!1;return{s:function(){o=o.call(n)},n:function(){var _=o.next();return g=_.done,_},e:function(_){m=!0,b=_},f:function(){try{g||o.return==null||o.return()}finally{if(m)throw b}}}}function D4r(n,r){if(n){if(typeof n=="string")return SHt(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?SHt(n,r):void 0}}function SHt(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);o1},removeRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.removeRule:void 0},addRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.addRule:void 0},isShowAddConstraint:function(){return this.showAddButton&&this.filters[this.field].operator&&this.fieldConstraints&&this.fieldConstraints.length-1?r:r+1},isMultiSorted:function(){return this.sortMode==="multiple"&&this.columnProp("sortable")&&this.getMultiSortMetaIndex()>-1},isColumnSorted:function(){return this.sortMode==="single"?this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")):this.isMultiSorted()},updateStickyPosition:function(){if(this.columnProp("frozen")){var r=this.columnProp("alignFrozen");if(r==="right"){var o=0,l=UNe(this.$el,'[data-p-frozen-column="true"]');l&&(o=cp(l)+parseFloat(l.style.right||0)),this.styleObject.insetInlineEnd=o+"px"}else{var h=0,b=VNe(this.$el,'[data-p-frozen-column="true"]');b&&(h=cp(b)+parseFloat(b.style.left||0)),this.styleObject.insetInlineStart=h+"px"}var g=this.$el.parentElement.nextElementSibling;if(g){var m=nae(this.$el);g.children[m]&&(g.children[m].style.left=this.styleObject.left,g.children[m].style.right=this.styleObject.right)}}},onHeaderCheckboxChange:function(r){this.$emit("checkbox-change",r)}},computed:{containerClass:function(){return[this.cx("headerCell"),this.filterColumn?this.columnProp("filterHeaderClass"):this.columnProp("headerClass"),this.columnProp("class")]},containerStyle:function(){var r=this.filterColumn?this.columnProp("filterHeaderStyle"):this.columnProp("headerStyle"),o=this.columnProp("style");return this.columnProp("frozen")?[o,r,this.styleObject]:[o,r]},sortState:function(){var r=!1,o=null;if(this.sortMode==="single")r=this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")),o=r?this.sortOrder:0;else if(this.sortMode==="multiple"){var l=this.getMultiSortMetaIndex();l>-1&&(r=!0,o=this.multiSortMeta[l].order)}return{sorted:r,sortOrder:o}},sortableColumnIcon:function(){var r=this.sortState,o=r.sorted,l=r.sortOrder;if(o){if(o&&l>0)return mNe;if(o&&l<0)return wNe}else return gNe;return null},ariaSort:function(){if(this.columnProp("sortable")){var r=this.sortState,o=r.sorted,l=r.sortOrder;return o&&l<0?"descending":o&&l>0?"ascending":"none"}else return null}},components:{Badge:OLe,DTHeaderCheckbox:BLe,DTColumnFilter:FLe,SortAltIcon:gNe,SortAmountUpAltIcon:mNe,SortAmountDownIcon:wNe}};function FG(n){"@babel/helpers - typeof";return FG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},FG(n)}function AHt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function CHt(n){for(var r=1;r=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(_){throw _},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b,g=!0,m=!1;return{s:function(){o=o.call(n)},n:function(){var _=o.next();return g=_.done,_},e:function(_){m=!0,b=_},f:function(){try{g||o.return==null||o.return()}finally{if(m)throw b}}}}function hu(n){return wAr(n)||gAr(n)||HLe(n)||pAr()}function pAr(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HLe(n,r){if(n){if(typeof n=="string")return yNe(n,r);var o={}.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yNe(n,r):void 0}}function gAr(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function wAr(n){if(Array.isArray(n))return yNe(n)}function yNe(n,r){(r==null||r>n.length)&&(r=n.length);for(var o=0,l=Array(r);ol?this.multisortField(r,o,l+1):0:F7t(h,b,this.d_multiSortMeta[l].order,g,this.d_nullSortOrder)},addMultiSortField:function(r){var o=this.d_multiSortMeta.findIndex(function(l){return l.field===r});o>=0?this.removableSort&&this.d_multiSortMeta[o].order*-1===this.defaultSortOrder?this.d_multiSortMeta.splice(o,1):this.d_multiSortMeta[o]={field:r,order:this.d_multiSortMeta[o].order*-1}:this.d_multiSortMeta.push({field:r,order:this.defaultSortOrder}),this.d_multiSortMeta=hu(this.d_multiSortMeta)},getActiveFilters:function(r){var o=function(g){var m=IHt(g,2),S=m[0],_=m[1];if(_.constraints){var k=_.constraints.filter(function(I){return I.value!==null});if(k.length>0)return[S,aw(aw({},_),{},{constraints:k})]}else if(_.value!==null)return[S,_]},l=function(g){return g!==void 0},h=Object.entries(r).map(o).filter(l);return Object.fromEntries(h)},filter:function(r){var o=this;if(r){this.clearEditingMetaData();var l=this.getActiveFilters(this.filters),h;l.global&&(h=this.globalFilterFields||this.columns.map(function(Q){return o.columnProp(Q,"filterField")||o.columnProp(Q,"field")}));for(var b=[],g=0;g=g.length?g.length-1:l+1;this.onRowClick({originalEvent:r,data:g[m],index:m})}r.preventDefault()},onArrowUpKey:function(r,o,l,h){var b=this.findPrevSelectableRow(o);if(b&&this.focusRowChange(o,b),r.shiftKey){var g=this.dataToRender(h.rows),m=l-1<=0?0:l-1;this.onRowClick({originalEvent:r,data:g[m],index:m})}r.preventDefault()},onHomeKey:function(r,o,l,h){var b=this.findFirstSelectableRow();if(b&&this.focusRowChange(o,b),r.ctrlKey&&r.shiftKey){var g=this.dataToRender(h.rows);this.$emit("update:selection",g.slice(0,l+1))}r.preventDefault()},onEndKey:function(r,o,l,h){var b=this.findLastSelectableRow();if(b&&this.focusRowChange(o,b),r.ctrlKey&&r.shiftKey){var g=this.dataToRender(h.rows);this.$emit("update:selection",g.slice(l,g.length))}r.preventDefault()},onEnterKey:function(r,o,l){this.onRowClick({originalEvent:r,data:o,index:l}),r.preventDefault()},onSpaceKey:function(r,o,l,h){if(this.onEnterKey(r,o,l),r.shiftKey&&this.selection!==null){var b=this.dataToRender(h.rows),g;if(this.selection.length>0){var m,S;m=H$e(this.selection[0],b),S=H$e(this.selection[this.selection.length-1],b),g=l<=m?S:m}else g=H$e(this.selection,b);var _=g!==l?b.slice(Math.min(g,l),Math.max(g,l)+1):o;this.$emit("update:selection",_)}},onTabKey:function(r,o){var l=this.$refs.bodyRef&&this.$refs.bodyRef.$el,h=D9(l,'tr[data-p-selectable-row="true"]');if(r.code==="Tab"&&h&&h.length>0){var b=x6(l,'tr[data-p-selected="true"]'),g=x6(l,'tr[data-p-selectable-row="true"][tabindex="0"]');b?(b.tabIndex="0",g&&g!==b&&(g.tabIndex="-1")):(h[0].tabIndex="0",g!==h[0]&&(h[o].tabIndex="-1"))}},findNextSelectableRow:function(r){var o=r.nextElementSibling;return o?Mh(o,"data-p-selectable-row")===!0?o:this.findNextSelectableRow(o):null},findPrevSelectableRow:function(r){var o=r.previousElementSibling;return o?Mh(o,"data-p-selectable-row")===!0?o:this.findPrevSelectableRow(o):null},findFirstSelectableRow:function(){var r=x6(this.$refs.table,'tr[data-p-selectable-row="true"]');return r},findLastSelectableRow:function(){var r=D9(this.$refs.table,'tr[data-p-selectable-row="true"]');return r?r[r.length-1]:null},focusRowChange:function(r,o){r.tabIndex="-1",o.tabIndex="0",L1(o)},toggleRowWithRadio:function(r){var o=r.data;this.isSelected(o)?(this.$emit("update:selection",null),this.$emit("row-unselect",{originalEvent:r.originalEvent,data:o,index:r.index,type:"radiobutton"})):(this.$emit("update:selection",o),this.$emit("row-select",{originalEvent:r.originalEvent,data:o,index:r.index,type:"radiobutton"}))},toggleRowWithCheckbox:function(r){var o=r.data;if(this.isSelected(o)){var l=this.findIndexInSelection(o),h=this.selection.filter(function(g,m){return m!=l});this.$emit("update:selection",h),this.$emit("row-unselect",{originalEvent:r.originalEvent,data:o,index:r.index,type:"checkbox"})}else{var b=this.selection?hu(this.selection):[];b=[].concat(hu(b),[o]),this.$emit("update:selection",b),this.$emit("row-select",{originalEvent:r.originalEvent,data:o,index:r.index,type:"checkbox"})}},toggleRowsWithCheckbox:function(r){if(this.selectAll!==null)this.$emit("select-all-change",r);else{var o=r.originalEvent,l=r.checked,h=[];l?(h=this.frozenValue?[].concat(hu(this.frozenValue),hu(this.processedData)):this.processedData,this.$emit("row-select-all",{originalEvent:o,data:h})):this.$emit("row-unselect-all",{originalEvent:o}),this.$emit("update:selection",h)}},isSingleSelectionMode:function(){return this.selectionMode==="single"},isMultipleSelectionMode:function(){return this.selectionMode==="multiple"},isSelected:function(r){return r&&this.selection?this.dataKey?this.d_selectionKeys?this.d_selectionKeys[Ea(r,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(r)>-1:this.equals(r,this.selection):!1},findIndexInSelection:function(r){return this.findIndex(r,this.selection)},findIndex:function(r,o){var l=-1;if(o&&o.length){for(var h=0;hthis.anchorRowIndex?(o=this.anchorRowIndex,l=this.rangeRowIndex):this.rangeRowIndexparseInt(h,10)){if(this.columnResizeMode==="fit"){var b=this.resizeColumnElement.nextElementSibling,g=b.offsetWidth-r;l>15&&g>15&&this.resizeTableCells(l,g)}else if(this.columnResizeMode==="expand"){var m=this.$refs.table.offsetWidth+r+"px",S=function(C){C&&(C.style.width=C.style.minWidth=m)};if(this.resizeTableCells(l),S(this.$refs.table),!this.virtualScrollerDisabled){var _=this.$refs.bodyRef&&this.$refs.bodyRef.$el,k=this.$refs.frozenBodyRef&&this.$refs.frozenBodyRef.$el;S(_),S(k)}}this.$emit("column-resize-end",{element:this.resizeColumnElement,delta:r})}this.$refs.resizeHelper.style.display="none",this.resizeColumn=null,this.$el.removeAttribute("data-p-unselectable-text"),!this.isUnstyled&&(this.$el.style["user-select"]=""),this.unbindColumnResizeEvents(),this.isStateful()&&this.saveState()},resizeTableCells:function(r,o){var l=nae(this.resizeColumnElement),h=[],b=D9(this.$refs.table,'thead[data-pc-section="thead"] > tr > th');b.forEach(function(S){return h.push(cp(S))}),this.destroyStyleElement(),this.createStyleElement();var g="",m='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');h.forEach(function(S,_){var k=_===l?r:o&&_===l+1?o:S,I="width: ".concat(k,"px !important; max-width: ").concat(k,"px !important");g+=` + `.concat(m,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(_+1,`), + `).concat(m,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(_+1,`), + `).concat(m,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(_+1,`) { + `).concat(I,` + } + `)}),this.styleElement.innerHTML=g},bindColumnResizeEvents:function(){var r=this;this.documentColumnResizeListener||(this.documentColumnResizeListener=document.addEventListener("mousemove",function(){r.columnResizing&&r.onColumnResize(event)})),this.documentColumnResizeEndListener||(this.documentColumnResizeEndListener=document.addEventListener("mouseup",function(){r.columnResizing&&(r.columnResizing=!1,r.onColumnResizeEnd())}))},unbindColumnResizeEvents:function(){this.documentColumnResizeListener&&(document.removeEventListener("document",this.documentColumnResizeListener),this.documentColumnResizeListener=null),this.documentColumnResizeEndListener&&(document.removeEventListener("document",this.documentColumnResizeEndListener),this.documentColumnResizeEndListener=null)},onColumnHeaderMouseDown:function(r){var o=r.originalEvent,l=r.column;this.reorderableColumns&&this.columnProp(l,"reorderableColumn")!==!1&&(o.target.nodeName==="INPUT"||o.target.nodeName==="TEXTAREA"||Mh(o.target,'[data-pc-section="columnresizer"]')?o.currentTarget.draggable=!1:o.currentTarget.draggable=!0)},onColumnHeaderDragStart:function(r){var o=r.originalEvent,l=r.column;if(this.columnResizing){o.preventDefault();return}this.colReorderIconWidth=r7n(this.$refs.reorderIndicatorUp),this.colReorderIconHeight=n7n(this.$refs.reorderIndicatorUp),this.draggedColumn=l,this.draggedColumnElement=this.findParentHeader(o.target),o.dataTransfer.setData("text","b")},onColumnHeaderDragOver:function(r){var o=r.originalEvent,l=r.column,h=this.findParentHeader(o.target);if(this.reorderableColumns&&this.draggedColumnElement&&h&&!this.columnProp(l,"frozen")){o.preventDefault();var b=L9(this.$el),g=L9(h);if(this.draggedColumnElement!==h){var m=g.left-b.left,S=g.left+h.offsetWidth/2;this.$refs.reorderIndicatorUp.style.top=g.top-b.top-(this.colReorderIconHeight-1)+"px",this.$refs.reorderIndicatorDown.style.top=g.top-b.top+h.offsetHeight+"px",o.pageX>S?(this.$refs.reorderIndicatorUp.style.left=m+h.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=m+h.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=1):(this.$refs.reorderIndicatorUp.style.left=m-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=m-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=-1),this.$refs.reorderIndicatorUp.style.display="block",this.$refs.reorderIndicatorDown.style.display="block"}}},onColumnHeaderDragLeave:function(r){var o=r.originalEvent;this.reorderableColumns&&this.draggedColumnElement&&(o.preventDefault(),this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none")},onColumnHeaderDrop:function(r){var o=this,l=r.originalEvent,h=r.column;if(l.preventDefault(),this.draggedColumnElement){var b=nae(this.draggedColumnElement),g=nae(this.findParentHeader(l.target)),m=b!==g;if(m&&(g-b===1&&this.dropPosition===-1||g-b===-1&&this.dropPosition===1)&&(m=!1),m){var S=function(G,Y){return o.columnProp(G,"columnKey")||o.columnProp(Y,"columnKey")?o.columnProp(G,"columnKey")===o.columnProp(Y,"columnKey"):o.columnProp(G,"field")===o.columnProp(Y,"field")},_=this.columns.findIndex(function(H){return S(H,o.draggedColumn)}),k=this.columns.findIndex(function(H){return S(H,h)}),I=[],C=D9(this.$el,'thead[data-pc-section="thead"] > tr > th');C.forEach(function(H){return I.push(cp(H))});var A=I.find(function(H,G){return G===_}),M=I.filter(function(H,G){return G!==_}),D=[].concat(hu(M.slice(0,k)),[A],hu(M.slice(k)));this.addColumnWidthStyles(D),k<_&&this.dropPosition===1&&k++,k>_&&this.dropPosition===-1&&k--,j7t(this.columns,_,k),this.updateReorderableColumns(),this.$emit("column-reorder",{originalEvent:l,dragIndex:_,dropIndex:k})}this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none",this.draggedColumnElement.draggable=!1,this.draggedColumnElement=null,this.draggedColumn=null,this.dropPosition=null}},findParentHeader:function(r){if(r.nodeName==="TH")return r;for(var o=r.parentElement;o.nodeName!=="TH"&&(o=o.parentElement,!!o););return o},findColumnByKey:function(r,o){if(r&&r.length)for(var l=0;lthis.droppedRowIndex?this.droppedRowIndex:this.droppedRowIndex===0?0:this.droppedRowIndex-1,l=hu(this.processedData);j7t(l,this.draggedRowIndex+this.d_first,o+this.d_first),this.$emit("row-reorder",{originalEvent:r,dragIndex:this.draggedRowIndex,dropIndex:o,value:l})}this.onRowDragLeave(r),this.onRowDragEnd(r),r.preventDefault()},toggleRow:function(r){var o=this,l=r.expanded,h=aAr(r,sAr),b=r.data,g;if(this.dataKey){var m=Ea(b,this.dataKey);g=this.expandedRows?aw({},this.expandedRows):{},l?g[m]=!0:delete g[m]}else g=this.expandedRows?hu(this.expandedRows):[],l?g.push(b):g=g.filter(function(S){return!o.equals(b,S)});this.$emit("update:expandedRows",g),l?this.$emit("row-expand",h):this.$emit("row-collapse",h)},toggleRowGroup:function(r){var o=r.originalEvent,l=r.data,h=Ea(l,this.groupRowsBy),b=this.expandedRowGroups?hu(this.expandedRowGroups):[];this.isRowGroupExpanded(l)?(b=b.filter(function(g){return g!==h}),this.$emit("update:expandedRowGroups",b),this.$emit("rowgroup-collapse",{originalEvent:o,data:h})):(b.push(h),this.$emit("update:expandedRowGroups",b),this.$emit("rowgroup-expand",{originalEvent:o,data:h}))},isRowGroupExpanded:function(r){if(this.expandableRowGroups&&this.expandedRowGroups){var o=Ea(r,this.groupRowsBy);return this.expandedRowGroups.indexOf(o)>-1}return!1},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){var r=this.getStorage(),o={};this.paginator&&(o.first=this.d_first,o.rows=this.d_rows),this.d_sortField&&(o.sortField=this.d_sortField,o.sortOrder=this.d_sortOrder),this.d_multiSortMeta&&(o.multiSortMeta=this.d_multiSortMeta),this.hasFilters&&(o.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(o),this.reorderableColumns&&(o.columnOrder=this.d_columnOrder),this.expandedRows&&(o.expandedRows=this.expandedRows),this.expandedRowGroups&&(o.expandedRowGroups=this.expandedRowGroups),this.selection&&(o.selection=this.selection,o.selectionKeys=this.d_selectionKeys),Object.keys(o).length&&r.setItem(this.stateKey,JSON.stringify(o)),this.$emit("state-save",o)},restoreState:function(){var r=this.getStorage(),o=r.getItem(this.stateKey),l=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,h=function(m,S){return typeof S=="string"&&l.test(S)?new Date(S):S};if(o){var b=JSON.parse(o,h);this.paginator&&(this.d_first=b.first,this.d_rows=b.rows),b.sortField&&(this.d_sortField=b.sortField,this.d_sortOrder=b.sortOrder),b.multiSortMeta&&(this.d_multiSortMeta=b.multiSortMeta),b.filters&&this.$emit("update:filters",b.filters),this.resizableColumns&&(this.columnWidthsState=b.columnWidths,this.tableWidthState=b.tableWidth),this.reorderableColumns&&(this.d_columnOrder=b.columnOrder),b.expandedRows&&this.$emit("update:expandedRows",b.expandedRows),b.expandedRowGroups&&this.$emit("update:expandedRowGroups",b.expandedRowGroups),b.selection&&(this.d_selectionKeys=b.d_selectionKeys,this.$emit("update:selection",b.selection)),this.$emit("state-restore",b)}},saveColumnWidths:function(r){var o=[],l=D9(this.$el,'thead[data-pc-section="thead"] > tr > th');l.forEach(function(h){return o.push(cp(h))}),r.columnWidths=o.join(","),this.columnResizeMode==="expand"&&(r.tableWidth=cp(this.$refs.table)+"px")},addColumnWidthStyles:function(r){this.createStyleElement();var o="",l='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');r.forEach(function(h,b){var g="width: ".concat(h,"px !important; max-width: ").concat(h,"px !important");o+=` + `.concat(l,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(b+1,`), + `).concat(l,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(b+1,`), + `).concat(l,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(b+1,`) { + `).concat(g,` + } + `)}),this.styleElement.innerHTML=o},restoreColumnWidths:function(){if(this.columnWidthsState){var r=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),ss(r)&&this.addColumnWidthStyles(r)}},onCellEditInit:function(r){this.$emit("cell-edit-init",r)},onCellEditComplete:function(r){this.$emit("cell-edit-complete",r)},onCellEditCancel:function(r){this.$emit("cell-edit-cancel",r)},onRowEditInit:function(r){var o=this.editingRows?hu(this.editingRows):[];o.push(r.data),this.$emit("update:editingRows",o),this.$emit("row-edit-init",r)},onRowEditSave:function(r){var o=hu(this.editingRows);o.splice(this.findIndex(r.data,o),1),this.$emit("update:editingRows",o),this.$emit("row-edit-save",r)},onRowEditCancel:function(r){var o=hu(this.editingRows);o.splice(this.findIndex(r.data,o),1),this.$emit("update:editingRows",o),this.$emit("row-edit-cancel",r)},onEditingMetaChange:function(r){var o=r.data,l=r.field,h=r.index,b=r.editing,g=aw({},this.d_editingMeta),m=g[h];if(b)!m&&(m=g[h]={data:aw({},o),fields:[]}),m.fields.push(l);else if(m){var S=m.fields.filter(function(_){return _!==l});S.length?m.fields=S:delete g[h]}this.d_editingMeta=g},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(r){return{originalEvent:r,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(r){this.d_filters=r},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(){var r={};return this.filters&&Object.entries(this.filters).forEach(function(o){var l=IHt(o,2),h=l[0],b=l[1];r[h]=b.operator?{operator:b.operator,constraints:b.constraints.map(function(g){return aw({},g)})}:aw({},b)}),r},updateReorderableColumns:function(){var r=this,o=[];this.columns.forEach(function(l){return o.push(r.columnProp(l,"columnKey")||r.columnProp(l,"field"))}),this.d_columnOrder=o},createStyleElement:function(){var r;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",KNe(this.styleElement,"nonce",(r=this.$primevue)===null||r===void 0||(r=r.config)===null||r===void 0||(r=r.csp)===null||r===void 0?void 0:r.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(r){var o=r||this.processedData;if(o&&this.paginator){var l=this.lazy?0:this.d_first;return o.slice(l,l+this.d_rows)}return o},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(r){return ss(r)}},computed:{columns:function(){var r=this.d_columns.get(this);if(this.reorderableColumns&&this.d_columnOrder){var o=[],l=oV(this.d_columnOrder),h;try{for(l.s();!(h=l.n()).done;){var b=h.value,g=this.findColumnByKey(r,b);g&&!this.columnProp(g,"hidden")&&o.push(g)}}catch(m){l.e(m)}finally{l.f()}return[].concat(o,hu(r.filter(function(m){return o.indexOf(m)<0})))}return r},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var r,o=this;return(r=this.columnGroups)===null||r===void 0?void 0:r.find(function(l){return o.columnProp(l,"type")==="header"})},footerColumnGroup:function(){var r,o=this;return(r=this.columnGroups)===null||r===void 0?void 0:r.find(function(l){return o.columnProp(l,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var r,o=this.value||[];return!this.lazy&&!((r=this.virtualScrollerOptions)!==null&&r!==void 0&&r.lazy)&&o&&o.length&&(this.hasFilters&&(o=this.filter(o)),this.sorted&&(this.sortMode==="single"?o=this.sortSingle(o):this.sortMode==="multiple"&&(o=this.sortMultiple(o)))),o},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var r=this.processedData;return r?r.length:0},empty:function(){var r=this.processedData;return!r||r.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var r=this;if(this.selectAll!==null)return this.selectAll;var o=this.frozenValue?[].concat(hu(this.frozenValue),hu(this.processedData)):this.processedData;return ss(o)&&this.selection&&Array.isArray(this.selection)&&o.every(function(l){return r.selection.some(function(h){return r.equals(h,l)})})},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return aw(aw({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:aw({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:aw({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return aw(aw({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return oy(this.virtualScrollerOptions)||!this.scrollable}},components:{DTPaginator:Men,DTTableHeader:Qen,DTTableBody:qen,DTTableFooter:Jen,DTVirtualScroller:DLe,ArrowDownIcon:fen,ArrowUpIcon:den,SpinnerIcon:CK}};function WG(n){"@babel/helpers - typeof";return WG=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},WG(n)}function THt(n,r){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(n,h).enumerable})),o.push.apply(o,l)}return o}function PHt(n){for(var r=1;r{const S=[];return o.dataset.forEach(_=>{S.push({subject:AN(_.subject),subjectTerm:_.subject,predicate:AN(_.predicate),predicateTerm:_.predicate,object:AN(_.object),objectTerm:_.object,context:_.graph.value})}),S}),b=Fo(()=>h.value.some(S=>S.context!=="")),g=fa({global:{value:null,matchMode:Uu.CONTAINS},subject:{value:null,matchMode:Uu.CONTAINS},predicate:{value:null,matchMode:Uu.CONTAINS},object:{value:null,matchMode:Uu.CONTAINS},context:{value:null,matchMode:Uu.CONTAINS}});function m(S){l("selected",S)}return(S,_)=>(Qe(),On(ii(Zen),{filters:g.value,"onUpdate:filters":_[0]||(_[0]=k=>g.value=k),filterDisplay:"row",value:h.value,scrollable:"",scrollHeight:"flex"},{default:Xi(()=>[eo(ii(Xse),{field:"subject",header:"Subject",style:{width:"20%"}},{filter:Xi(({filterModel:k,filterCallback:I})=>[eo(ii(jI),{size:"small",modelValue:k.value,"onUpdate:modelValue":C=>k.value=C,type:"text",onInput:C=>I(),placeholder:"Search Subject"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:Xi(({data:k})=>[Mr("span",{onClick:I=>m(k.subjectTerm),class:"node-link"},ll(k.subject),9,kAr)]),_:1}),eo(ii(Xse),{field:"predicate",header:"Predicate",style:{width:"20%"}},{filter:Xi(({filterModel:k,filterCallback:I})=>[eo(ii(jI),{size:"small",modelValue:k.value,"onUpdate:modelValue":C=>k.value=C,type:"text",onInput:C=>I(),placeholder:"Search Predicate"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:Xi(({data:k})=>[Mr("span",{onClick:I=>m(k.subjectTerm),class:"node-link"},ll(k.predicate),9,RAr)]),_:1}),eo(ii(Xse),{field:"object",header:"Object",style:{width:"20%"}},{filter:Xi(({filterModel:k,filterCallback:I})=>[eo(ii(jI),{size:"small",modelValue:k.value,"onUpdate:modelValue":C=>k.value=C,type:"text",onInput:C=>I(),placeholder:"Search Object"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),body:Xi(({data:k})=>[k.predicateTerm.value==="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"||k.objectTerm.termType==="Literal"?(Qe(),jt("span",AAr,ll(k.object),1)):(Qe(),jt("span",{key:1,onClick:I=>m(k.objectTerm),class:"node-link"},ll(k.object),9,CAr))]),_:1}),b.value?(Qe(),On(ii(Xse),{key:0,field:"context",header:"Context",style:{width:"20%"}},{filter:Xi(({filterModel:k,filterCallback:I})=>[eo(ii(jI),{modelValue:k.value,"onUpdate:modelValue":C=>k.value=C,type:"text",onInput:C=>I(),placeholder:"Search Context aka Named Graph"},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:1})):kr("",!0)]),_:1},8,["filters","value"]))}}),$Ar=PLe(xAr,[["__scopeId","data-v-ff7b29fe"]]),IAr={style:{height:"100%",width:"100%"}},TAr={class:"search"},PAr=ic({__name:"AppVscode",setup(n){const{fitView:r,nodeLookup:o}=Vc();let l=null;const h=fa(Iae.dataset()),b=fa(!0);window.addEventListener(fEr,async S=>{const _=S;if(!_||!_.detail){console.error("Invalid event",S);return}const k=_.detail,I=gEr(k.rdfString),C=Iae.formats.parsers.import(k.contentType,I),A=[];if(C==null||C.on("prefix",(M,D)=>{A.push({prefix:M,uri:D.value})}),C==null||C.on("end",()=>{QQt.update(A)}),C===null){console.error("Failed to parse RDF content",k);return}try{const M=await Iae.dataset().import(C);h.value=M}catch(M){console.error("Failed to import RDF content",M);return}});function g(){b.value=!b.value}function m(S){if(!(S.termType==="NamedNode"||S.termType==="BlankNode"))return;const _=o.value.get(S.value);_&&r({nodes:[_.id],duration:1e3,padding:.3})}return dw(()=>{const S=()=>{const _=document.body.classList,k=document.documentElement;_.contains("vscode-dark")?k.classList.add("vscode-dark"):k.classList.remove("vscode-dark")};S(),l=new MutationObserver(S),l.observe(document.body,{attributes:!0,attributeFilter:["class"]})}),PNe(()=>{l&&(console.log("Disconnecting observer"),l.disconnect())}),(S,_)=>(Qe(),jt(fi,null,[eo(ii(Bfe),{style:{position:"absolute",top:"15px",left:"15px","z-index":"9000"},class:"mr-2",severity:"secondary",onClick:g,rounded:"",text:""},{default:Xi(()=>_[0]||(_[0]=[Mr("svg",{width:"15",height:"15",viewBox:"0 0 20 20","aria-hidden":"true",class:"DocSearch-Search-Icon"},[Mr("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),_:1}),eo(ii(uen),{unstyled:!0,style:{height:"100vh",width:"100vw"},layout:"vertical"},{default:Xi(()=>[eo(ii(fNe),null,{default:Xi(()=>[Mr("div",IAr,[eo(uEr,{dataset:h.value},null,8,["dataset"])])]),_:1}),b.value?kr("",!0):(Qe(),On(ii(fNe),{key:0},{default:Xi(()=>[Mr("div",TAr,[eo($Ar,{dataset:h.value,onSelected:m},null,8,["dataset"])])]),_:1}))]),_:1})],64))}}),etn=A8n(PAr);etn.use(N7n,{theme:{preset:yOn,options:{darkModeSelector:".vscode-dark",cssLayer:!1}}});etn.mount("#app"); diff --git a/src-vscode/media/favicon.ico b/src-vscode/media/favicon.ico index 6eb10c3..48b6344 100644 Binary files a/src-vscode/media/favicon.ico and b/src-vscode/media/favicon.ico differ diff --git a/src-vscode/media/img/icons/android-chrome-192x192.png b/src-vscode/media/img/icons/android-chrome-192x192.png deleted file mode 100644 index 8dacaf1..0000000 Binary files a/src-vscode/media/img/icons/android-chrome-192x192.png and /dev/null differ diff --git a/src-vscode/media/img/icons/android-chrome-512x512.png b/src-vscode/media/img/icons/android-chrome-512x512.png deleted file mode 100644 index f77cb94..0000000 Binary files a/src-vscode/media/img/icons/android-chrome-512x512.png and /dev/null differ diff --git a/src-vscode/media/img/icons/apple-touch-icon.png b/src-vscode/media/img/icons/apple-touch-icon.png deleted file mode 100644 index fd579e5..0000000 Binary files a/src-vscode/media/img/icons/apple-touch-icon.png and /dev/null differ diff --git a/src-vscode/media/img/icons/browserconfig.xml b/src-vscode/media/img/icons/browserconfig.xml deleted file mode 100644 index 963f1fc..0000000 --- a/src-vscode/media/img/icons/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #ffb15e - - - diff --git a/src-vscode/media/img/icons/favicon-16x16.png b/src-vscode/media/img/icons/favicon-16x16.png deleted file mode 100644 index afe650c..0000000 Binary files a/src-vscode/media/img/icons/favicon-16x16.png and /dev/null differ diff --git a/src-vscode/media/img/icons/favicon-32x32.png b/src-vscode/media/img/icons/favicon-32x32.png deleted file mode 100644 index f46fda0..0000000 Binary files a/src-vscode/media/img/icons/favicon-32x32.png and /dev/null differ diff --git a/src-vscode/media/img/icons/favicon.ico b/src-vscode/media/img/icons/favicon.ico deleted file mode 100644 index 23adc2e..0000000 Binary files a/src-vscode/media/img/icons/favicon.ico and /dev/null differ diff --git a/src-vscode/media/img/icons/mstile-144x144.png b/src-vscode/media/img/icons/mstile-144x144.png deleted file mode 100644 index 2cde5e6..0000000 Binary files a/src-vscode/media/img/icons/mstile-144x144.png and /dev/null differ diff --git a/src-vscode/media/img/icons/mstile-150x150.png b/src-vscode/media/img/icons/mstile-150x150.png deleted file mode 100644 index 5f31af2..0000000 Binary files a/src-vscode/media/img/icons/mstile-150x150.png and /dev/null differ diff --git a/src-vscode/media/img/icons/mstile-310x150.png b/src-vscode/media/img/icons/mstile-310x150.png deleted file mode 100644 index debe19d..0000000 Binary files a/src-vscode/media/img/icons/mstile-310x150.png and /dev/null differ diff --git a/src-vscode/media/img/icons/mstile-310x310.png b/src-vscode/media/img/icons/mstile-310x310.png deleted file mode 100644 index 7155ec8..0000000 Binary files a/src-vscode/media/img/icons/mstile-310x310.png and /dev/null differ diff --git a/src-vscode/media/img/icons/mstile-70x70.png b/src-vscode/media/img/icons/mstile-70x70.png deleted file mode 100644 index 4a45063..0000000 Binary files a/src-vscode/media/img/icons/mstile-70x70.png and /dev/null differ diff --git a/src-vscode/media/img/icons/safari-pinned-tab.svg b/src-vscode/media/img/icons/safari-pinned-tab.svg deleted file mode 100644 index 1a5f655..0000000 --- a/src-vscode/media/img/icons/safari-pinned-tab.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - diff --git a/src-vscode/media/img/icons/site.webmanifest b/src-vscode/media/img/icons/site.webmanifest deleted file mode 100644 index 3e533fe..0000000 --- a/src-vscode/media/img/icons/site.webmanifest +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "", - "short_name": "", - "icons": [ - { - "src": "/img/icons/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/img/icons/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffb15e", - "background_color": "#ffb15e", - "display": "standalone" -} diff --git a/src-vscode/media/vscode/index.html b/src-vscode/media/vscode/index.html index 6aee8f4..0579fc0 100644 --- a/src-vscode/media/vscode/index.html +++ b/src-vscode/media/vscode/index.html @@ -2,17 +2,354 @@ - - - - VSCode Web View + + + + VSCode Web View -
+
+ + \ No newline at end of file diff --git a/src-vscode/package.json b/src-vscode/package.json index 4b6da2b..307040c 100644 --- a/src-vscode/package.json +++ b/src-vscode/package.json @@ -2,27 +2,30 @@ "name": "vscode-rdf-sketch", "displayName": "RDF Sketch", "description": "Graphical rendering of RDF data", - "version": "0.0.9", - "license": "SEE LICENSE IN LICENSE.md", + "version": "1.0.0", + "license": "MIT", "icon": "images/zazuko.png", "publisher": "Zazuko", "engines": { "vscode": "^1.95.0" }, "categories": [ - "Other" + "Visualization", + "Data Science", + "Education" ], "keywords": [ - "rdf" + "RDF", + "Turtle", + "Preview" ], + "repository": { + "url": "https://github.com/zazuko/rdf-sketch" + }, "activationEvents": [], "main": "./dist/extension.js", "contributes": { "commands": [ - { - "command": "rdf-sketch.helloWorld", - "title": "Hello World" - }, { "command": "rdf-sketch.openPreview", "title": "RDF: Open preview", @@ -32,23 +35,37 @@ "menus": { "editor/title": [ { - "when": "resourceLangId == turtle || resourceLangId == json-ld || resourceLangId == ntriples || resourceLangId == rdf-xml", + "when": "resourceLangId == turtle || resourceLangId === n-quads || resourceLangId == jsonld || resourceLangId == ntriples || resourceLangId == rdf-xml || resourceLangId == trig", + "command": "rdf-sketch.openPreview", + "group": "navigation", + "icon": "$(open-preview)", + "arguments": [ + { + "uri": "${resource}" + } + ] + } + ], + "commandPalette": [ + { "command": "rdf-sketch.openPreview", - "group": "navigation" + "when": "false" } ] } }, "scripts": { - "vscode:prepublish": "npm run package", + "vscode:prepublish": "npm run build", "compile": "webpack", "watch": "webpack --watch", - "package": "webpack --mode production --devtool hidden-source-map", + "build": "cd .. && npm run build:vscode && cd src-vscode && webpack --mode production --devtool hidden-source-map", "compile-tests": "tsc -p . --outDir out", "watch-tests": "tsc -p . -w --outDir out", "pretest": "npm run compile-tests && npm run compile && npm run lint", "lint": "eslint src --ext ts", - "test": "vscode-test" + "test": "vscode-test", + "package": "npx vsce package", + "publish": "npx vsce publish" }, "devDependencies": { "@types/vscode": "^1.95.0", diff --git a/src-vscode/src/constant/rdf-formats.ts b/src-vscode/src/constant/rdf-formats.ts new file mode 100644 index 0000000..001543f --- /dev/null +++ b/src-vscode/src/constant/rdf-formats.ts @@ -0,0 +1,64 @@ +export enum RdfSerializationType { + JsonLD = 'application/ld+json', + Trig = 'application/trig', + NQuads = 'application/n-quads', + NTriples = 'application/n-triples', + // N3 = 'text/n3', + Turtle = 'text/turtle', + RdfXML = 'application/rdf+xml', +} + +export const rdfFormats: RdfFormat[] = [ + { + contentType: RdfSerializationType.Turtle, + name: 'Turtle', + type: RdfSerializationType.Turtle, + vscodeLanguageId: 'turtle', + }, + { + contentType: RdfSerializationType.JsonLD, + name: 'JSON-LD', + type: RdfSerializationType.JsonLD, + vscodeLanguageId: 'jsonld', + }, + { + contentType: RdfSerializationType.Trig, + name: 'TriG', + type: RdfSerializationType.Trig, + vscodeLanguageId: 'trig', + }, + { + contentType: RdfSerializationType.NQuads, + name: 'N-Quads', + type: RdfSerializationType.NQuads, + vscodeLanguageId: 'n-quads', + }, + { + contentType: RdfSerializationType.NTriples, + name: 'N-Triples', + type: RdfSerializationType.NTriples, + vscodeLanguageId: 'ntriples', + }, + /* { + contentType: RdfSerializationType.N3, + name: 'N3', + type: RdfSerializationType.N3, + },*/ + /* + { + contentType: RdfSerializationType.RdfXML, + name: 'RDF/XML', + type: RdfSerializationType.RdfXML, + + } + */ +]; + + +export interface RdfFormat { + contentType: string; + name: string; + type: RdfSerializationType; + vscodeLanguageId: string; +} + diff --git a/src-vscode/src/constant/update-event-type.ts b/src-vscode/src/constant/update-event-type.ts new file mode 100644 index 0000000..bcdc141 --- /dev/null +++ b/src-vscode/src/constant/update-event-type.ts @@ -0,0 +1,5 @@ +/** + * Keep that in sync with the `updateEventType` in `src/vscode-webview/constant/update-event-type.ts` + */ + +export const updateEventType = 'sketch.updateContent'; \ No newline at end of file diff --git a/src-vscode/src/extension.ts b/src-vscode/src/extension.ts index 36017d6..e167094 100644 --- a/src-vscode/src/extension.ts +++ b/src-vscode/src/extension.ts @@ -1,21 +1,40 @@ -import { ExtensionContext, commands, window } from 'vscode'; +import { ExtensionContext, commands, window, Uri } from 'vscode'; import { RdfPreviewPanel } from './rdf-preview-panel'; export function activate(context: ExtensionContext) { + const rdfPreviewPanels = new Map(); + + const webViewDisposable = commands.registerCommand('rdf-sketch.openPreview', (uri: Uri) => { + const rdfEditor = window.visibleTextEditors.find(editor => editor.document.uri.toString() === uri.toString()); + if (!rdfEditor) { + window.showErrorMessage('Please open an RDF file first'); + return; + } + + const uriString = uri.toString(); + let rdfPreviewPanel = rdfPreviewPanels.get(uriString); + + if (!rdfPreviewPanel) { + rdfPreviewPanel = new RdfPreviewPanel(context, rdfEditor); + rdfPreviewPanels.set(uriString, rdfPreviewPanel); + + const disposeListener = rdfPreviewPanel.onDidDispose(() => { + rdfPreviewPanels.delete(uriString); + disposeListener.dispose(); + }); + } + + if (!rdfPreviewPanel.hasExistingPanel) { + rdfPreviewPanel.createPanel(); + } else { + window.showInformationMessage('RDF Preview exists.'); + } + - // dummy - let disposable = commands.registerCommand('rdf-sketch.helloWorld', () => { - // The code you place here will be executed every time your command is executed - // Display a message box to the user - window.showInformationMessage('Hello World from rdf-sketch!'); - }); - context.subscriptions.push(disposable); - const webViewDisposable = commands.registerCommand('rdf-sketch.openPreview', () => { - RdfPreviewPanel.show(context.extensionUri); }); context.subscriptions.push(webViewDisposable); diff --git a/src-vscode/src/model/update-message.ts b/src-vscode/src/model/update-message.ts new file mode 100644 index 0000000..5b973f0 --- /dev/null +++ b/src-vscode/src/model/update-message.ts @@ -0,0 +1,7 @@ +/** + * Keep that in sync with the `UpdateMessage` in `src/vscode-webview/model/update-message.ts` + */ +export interface UpdateMessage { + rdfString: string, + contentType: string +}; \ No newline at end of file diff --git a/src-vscode/src/rdf-preview-panel.ts b/src-vscode/src/rdf-preview-panel.ts index ffa4e8e..31cdd47 100644 --- a/src-vscode/src/rdf-preview-panel.ts +++ b/src-vscode/src/rdf-preview-panel.ts @@ -5,84 +5,178 @@ import { TextDocument, workspace, TextDocumentChangeEvent, - Webview + Webview, + WebviewPanel, + ExtensionContext, + TextEditor, + EventEmitter, + Disposable } from "vscode"; +import { rdfFormats } from "./constant/rdf-formats"; +import { UpdateMessage } from "./model/update-message"; +import { updateEventType } from "./constant/update-event-type"; + export class RdfPreviewPanel { - public static readonly viewType = 'rdfPreview'; + readonly viewType = 'rdfPreview'; + + #lastMessage: UpdateMessage | null = null; + #panel: WebviewPanel | null = null; + #context: ExtensionContext; + #textEditor: TextEditor; + readonly #onDidDispose = new EventEmitter(); + readonly #disposables: Disposable[] = []; - public static show(extensionUri: Uri) { - const column = window.activeTextEditor - ? window.activeTextEditor.viewColumn - : undefined; - const editor = window.activeTextEditor?.document; + constructor(context: ExtensionContext, editor: TextEditor) { + this.#context = context; + this.#textEditor = editor; + } + + get hasExistingPanel() { + return this.#panel !== null; + } - const panel = window.createWebviewPanel( - RdfPreviewPanel.viewType, - 'RDF preview', + get onDidDispose() { + return this.#onDidDispose.event; + } + + createPanel() { + const column = window.activeTextEditor ? window.activeTextEditor.viewColumn : undefined; + + this.#panel = window.createWebviewPanel( + this.viewType, + 'RDF Sketch', { preserveFocus: true, viewColumn: column ? column + 1 : ViewColumn.One, }, { - // Enable scripts in the webview enableScripts: true } ); - const updateWebview = (document: TextDocument) => { - const content = document.getText(); - }; - - workspace.onDidChangeTextDocument((textDocumentChangeEvent: TextDocumentChangeEvent) => { - if (textDocumentChangeEvent.document !== editor) { + if (textDocumentChangeEvent.document !== this.#textEditor.document) { return; } - - updateWebview(textDocumentChangeEvent.document); + this.updateWebviewContent(textDocumentChangeEvent.document); }); - if (editor) { - updateWebview(editor); + + if (this.#textEditor) { + this.updateWebview(this.#textEditor.document); } + + this.#disposables.push( + this.#panel.onDidChangeViewState(e => { + const panel = e.webviewPanel; + if (panel.visible && this.#lastMessage !== null) { + this.#panel!.webview.postMessage({ type: 'updateContentVsCodeEvent', content: this.#lastMessage }); + } + } + ) + ); + + this.#disposables.push( + this.#panel.onDidDispose(() => { + this.dispose(); + }) + ); + + + + } - private static _getHtmlForWebview(webview: Webview, extensionUri: Uri, content: string) { + updateWebview(document: TextDocument) { + const content = document.getText(); + this.#panel!.webview.html = this.#getHtmlForWebview(this.#panel!.webview, this.#context.extensionUri, content); + setTimeout(() => { + this.updateWebviewContent(document); + }, 1); + }; + + updateWebviewContent = (document: TextDocument) => { + const rdfString = document.getText(); + const language = document.languageId; + const rdfFormatForVscodeLanguage = rdfFormats.find((format) => format.vscodeLanguageId === language); + + + if (!rdfFormatForVscodeLanguage) { + window.showErrorMessage(`No RDF format found for language ${language}`); + return; + } + + const content: UpdateMessage = { + rdfString, + contentType: rdfFormatForVscodeLanguage.contentType + }; + this.#lastMessage = content; + this.#panel!.webview.postMessage({ type: 'updateContentVsCodeEvent', content: content }); + }; + + + #getHtmlForWebview(webview: Webview, extensionUri: Uri, content: string): string { // Get resource paths const stylesUri = webview.asWebviewUri(Uri.joinPath(extensionUri, 'media', 'assets', 'main.css')); const appUri = webview.asWebviewUri(Uri.joinPath(extensionUri, 'media', 'assets', 'main.js')); // const vendorUri = webview.asWebviewUri(vscode.Uri.joinPath(extensionUri, 'media', 'js', 'chunk-vendors.js')); - const nonce = this.getNonce(); + const nonce = this.#getNonce(); const themeClass = window.activeColorTheme.kind === 2 ? 'dark' : 'light'; return ` - - - - - - - RDF Sketch preview - - -
- - - `; + + + + + + + RDF Sketch preview + + +
+ + + + `; } - public static getNonce(): string { + #getNonce(): string { let text = ''; const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; for (let i = 0; i < 32; i++) { text += possible.charAt(Math.floor(Math.random() * possible.length)); } return text; + } + dispose() { + this.#panel = null; + this.#onDidDispose.fire(); + this.#onDidDispose.dispose(); + while (this.#disposables.length) { + const disposable = this.#disposables.pop(); + if (disposable) { + disposable.dispose(); + } + } } -} \ No newline at end of file + +} diff --git a/src/components/GraphView.vue b/src/components/GraphView.vue index aedb158..bbb5d6f 100644 --- a/src/components/GraphView.vue +++ b/src/components/GraphView.vue @@ -1,6 +1,5 @@ + if (bodyClassList.contains('vscode-dark')) { + htmlElement.classList.add('vscode-dark'); + } else { + htmlElement.classList.remove('vscode-dark'); + } + }; + + // Initial update + updateHtmlClass(); + + // Create a MutationObserver to watch for class changes on the element + observer = new MutationObserver(updateHtmlClass); + + // Observe changes to the class attribute of the element + observer.observe(document.body, { attributes: true, attributeFilter: ['class'] }); -